Site Kit by Google - Version 1.48.1

Version Description

Fixed

  • Revert fix to prevent minification of already minified JS files by other plugins as it caused JS translations to no longer be delivered by wordpress.org. Props kebbet. See #4592.
Download this release

Release Info

Developer flixos90
Plugin Icon 128x128 Site Kit by Google
Version 1.48.1
Comparing to
See all releases

Code changes from version 1.48.0 to 1.48.1

Files changed (18) hide show
  1. dist/assets/js/{33-7f02c6e07c68622f6d15.min.js → 33-7f02c6e07c68622f6d15.js} +0 -0
  2. dist/assets/js/{analytics-advanced-tracking-d6bb0f7a0837e2922a8b.min.js → analytics-advanced-tracking-d6bb0f7a0837e2922a8b.js} +0 -0
  3. dist/assets/js/{googlesitekit-activation-48dbbcb8a451cb528db3.min.js → googlesitekit-activation-9f04fcd5704e5049b5c8.js} +2 -2
  4. dist/assets/js/{googlesitekit-adminbar-272f94df7c93c41b382c.min.js → googlesitekit-adminbar-2e3c962b6fd11dea95f0.js} +2 -2
  5. dist/assets/js/{googlesitekit-api-a4e7d97cdf32b7f325d7.min.js → googlesitekit-api-26ce8eaec5dba8b68ca9.js} +2 -2
  6. dist/assets/js/{googlesitekit-base-5be84891ed6904b20b97.min.js → googlesitekit-base-5be84891ed6904b20b97.js} +0 -0
  7. dist/assets/js/{googlesitekit-dashboard-e016bf828367e326fd4c.min.js → googlesitekit-dashboard-a6c4cb7ad99b89c9f948.js} +2 -2
  8. dist/assets/js/{googlesitekit-dashboard-details-9a4b80629b1a69dcc8c7.min.js → googlesitekit-dashboard-details-c4049fd3768085aaf080.js} +2 -2
  9. dist/assets/js/{googlesitekit-dashboard-splash-a8e8b9c5680996f2c4ef.min.js → googlesitekit-dashboard-splash-0c6f03c7faac84ca0f83.js} +2 -2
  10. dist/assets/js/{googlesitekit-data-884a2d384ac0a449a4b2.min.js → googlesitekit-data-884a2d384ac0a449a4b2.js} +0 -0
  11. dist/assets/js/{googlesitekit-datastore-forms-c221e0c71c37063eed29.min.js → googlesitekit-datastore-forms-06d002580a7e3db5b04f.js} +2 -2
  12. dist/assets/js/{googlesitekit-datastore-location-cc0660ff997d2d15b672.min.js → googlesitekit-datastore-location-cc0660ff997d2d15b672.js} +0 -0
  13. dist/assets/js/{googlesitekit-datastore-site-386f538ab431760840fc.min.js → googlesitekit-datastore-site-41e7382bd4ad73775716.js} +1 -1
  14. dist/assets/js/{googlesitekit-datastore-ui-6c3902738a8838c2fdb2.min.js → googlesitekit-datastore-ui-dd60c354893fb66414cb.js} +2 -2
  15. dist/assets/js/{googlesitekit-datastore-user-0e427009b456c145d158.min.js → googlesitekit-datastore-user-6c13ae5bc196094b97d9.js} +2 -2
  16. dist/assets/js/{googlesitekit-i18n-67d1c132a4d2e46fbb9f.min.js → googlesitekit-i18n-67d1c132a4d2e46fbb9f.js} +0 -0
  17. dist/assets/js/{googlesitekit-idea-hub-notice-622bf58aaac3ca9c58a0.min.js → googlesitekit-idea-hub-notice-f93f02759590da900e01.js} +1 -1
  18. dist/assets/js/{googlesitekit-idea-hub-post-list-82eda9bb847c936a68ac.min.js → googlesitekit-idea-hub-post-list-d0f440ba807fbe10ed7c.js} +1 -2
dist/assets/js/{33-7f02c6e07c68622f6d15.min.js → 33-7f02c6e07c68622f6d15.js} RENAMED
File without changes
dist/assets/js/{analytics-advanced-tracking-d6bb0f7a0837e2922a8b.min.js → analytics-advanced-tracking-d6bb0f7a0837e2922a8b.js} RENAMED
File without changes
dist/assets/js/{googlesitekit-activation-48dbbcb8a451cb528db3.min.js → googlesitekit-activation-9f04fcd5704e5049b5c8.js} RENAMED
@@ -6,7 +6,7 @@ Object(p.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement
6
  /* translators: %s: Option name */
7
  Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.n,null,e.createElement(l.d,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:i,disabled:!p}))))};u.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=u}).call(this,n(3))},181:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),i=n(112),a=n(4),o=n.n(a),c=n(15),l=n(21),s=o.a.useSelect;function SurveyTerms(){var t=s((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=s((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(l.a,{href:t,inherit:!0,external:!0}),terms:e.createElement(l.a,{href:n,inherit:!0,external:!0})}))}}).call(this,n(3))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},195:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var r=n(4),i=n.n(r),a=n(19),o=n(9),c=n.n(o),l=n(113),s=i.a.useSelect;function ModuleSettingsWarning(t){var n=t.slug,r=s((function(e){var t;return null===(t=e(a.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return r?e.createElement("div",{className:c()("googlesitekit-settings-module-warning","googlesitekit-settings-module-warning--modules-list")},e.createElement(l.a,{height:"20",width:"23"})," ",r.message):null}}).call(this,n(3))},197:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(15),s=n(11),u=n(218),d=c.a.useSelect;t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],o=n[1],c=Object(a.useState)(!1),f=i()(c,2),g=f[0],m=f[1],p=Object(a.useRef)(Date.now()),v=d((function(e){return e(s.a).getCurrentSurvey()})),b=d((function(e){return e(l.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){g||o(!0)}),5e3);return function(){clearTimeout(e)}}),[g]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&v&&m(!0)}),[p,v,m]),Array.isArray(b)&&r&&!g?b.map((function(t){return e.createElement(u.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(3))},198:function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(13),c=n.n(o),l=n(99),s=n(2),u=n(1),d=n(309),f=n(4),g=n.n(f),m=n(8),p=n(42),v=n(219),b=n(221),h=n(222),y=n(19),_=n(15),k=n(22),E=n(11),O=n(30),w=g.a.useSelect;t.a=function SetupSuccessBannerNotification(){var t,n=Object(m.j)("slug"),i=w((function(e){return e(y.a).getModules()})),o=w((function(e){return e(E.a).hasCapability(E.c)})),f=w((function(e){return e(_.c).hasMultipleAdmins()})),g=w((function(e){return e(_.c).isUsingProxy()})),j=w((function(e){var t,r=null==i||null===(t=i[n])||void 0===t?void 0:t.storeName;if(!r)return null;var a=e(r).getSetupSuccessContent;return a?a():null}));Object(l.a)((function(){Object(O.b)("".concat(k.g,"_authentication-success-notification"),"view_notification"),null===n&&(Object(O.b)("".concat(k.g,"_authentication-success-notification"),"complete_user_setup",g?"proxy":"custom-oauth"),f||Object(O.b)("".concat(k.g,"_authentication-success-notification"),"complete_site_setup",g?"proxy":"custom-oauth"))}));var S=Object(s.useCallback)(c()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(O.b)("".concat(k.g,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(d.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[]);if(void 0===i)return null;var x=Object(m.j)("notification");if(!x||""===x)return null;var N={id:"connected-successfully",setupTitle:Object(u.__)("Site Kit","google-site-kit"),description:Object(u.__)("Now you’ll be able to see how your site is doing in search. To get even more detailed stats, activate more modules. Here are our recommendations for what to include in your Site Kit:","google-site-kit"),learnMore:{label:"",url:"",description:""}};switch(x){case"authentication_success":if(!o)return null;if(n&&!(null===(t=i[n])||void 0===t?void 0:t.active))return null;if(i[n]&&(N.id="".concat(N.id,"-").concat(n),N.setupTitle=i[n].name,N.description=Object(u.__)("Here are some other services you can connect to see even more stats:","google-site-kit"),j)){var C=j.description,D=j.learnMore;N.description=C,N.learnMore=D}var T={link:"",label:""};return"pagespeed-insights"===n?(T.link="#googlesitekit-pagespeed-header",T.label=Object(u.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")):"idea-hub"===n&&(T.link="#googlesitekit-idea-hub-widget",T.label=Object(u.__)("Jump directly to Idea Hub to see topic suggestions for your site","google-site-kit")),r.createElement(s.Fragment,null,r.createElement(p.a,{id:N.id,title:Object(u.sprintf)(
8
  /* translators: %s: the name of a module that setup was completed for */
9
- Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),N.setupTitle),description:N.description,handleDismiss:function(){},WinImageSVG:b.a,dismiss:Object(u.__)("OK, Got it!","google-site-kit"),onDismiss:S,format:"large",type:"win-success",learnMoreLabel:N.learnMore.label,learnMoreDescription:N.learnMore.description,learnMoreURL:N.learnMore.url,anchorLink:T.link,anchorLinkLabel:T.label},r.createElement(v.a,{moduleSlugs:["search-console","adsense","analytics","pagespeed-insights"]})));case"user_input_success":return r.createElement(h.a,null)}}}).call(this,n(18),n(3))},199:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(8),s=n(205),u=n(23),d=n(11),f=c.a.useSelect;t.a=function UserInputPromptBannerNotification(){var t=Object(a.useContext)(u.b),n=f((function(e){return e(d.a).getUserInputState()})),r="".concat(t,"_user-input-prompt-notification"),o=Object(a.useState)(!1),c=i()(o,2),g=c[0],m=c[1];Object(a.useEffect)((function(){g||void 0===n||"completed"===n||Object(l.v)(r,"view_notification").finally((function(){return m(!0)}))}),[r,n,g]);return e.createElement(s.a,{isDismissible:!0,onCTAClick:function(){Object(l.v)(r,"confirm_notification")},onDismiss:function(){Object(l.v)(r,"dismiss_notification")}})}}).call(this,n(3))},20:function(e,t,n){"use strict";(function(e){var r=n(17),i=n.n(r),a=n(16),o=n.n(a),c=n(9),l=n.n(c),s=n(0),u=n.n(s),d=n(115),f=n(277),g=n(2),m=n(1),p=n(14),v=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],k=t.title,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title"]),O=Object(g.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),w=Object(d.a)(n,O),j=a&&!v?"a":"button",S=e.createElement(j,i()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:a,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===j?"button":void 0},E),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return h&&(k||_)&&void 0===r?e.createElement(f.a,{title:k||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},S):S}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null},t.a=v}).call(this,n(3))},200:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IdeaHubPromptBannerNotification}));var r=n(5),i=n.n(r),a=n(13),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n(2),d=n(4),f=n.n(d),g=n(225),m=n(19),p=n(11),v=n(34),b=n(15),h=n(37),y=n(22),_=n(8),k=n(42),E=f.a.useSelect,O=f.a.useDispatch;function IdeaHubPromptBannerNotification(){var t=Object(u.useState)(!1),n=l()(t,2),r=n[0],a=n[1],c=O(p.a).dismissItem,d=O(m.a).activateModule,f=O(v.a).navigateTo,w=O(b.c).setInternalServerError,j=E((function(e){return e(m.a).isModuleActive("idea-hub")})),S=E((function(e){return e(p.a).isItemDismissed("idea-hub-module-notification")})),x=E((function(e){var t;return null===(t=e(h.p))||void 0===t?void 0:t.getAdminReauthURL()})),N=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c("idea-hub-module-notification");case 2:Object(_.v)("".concat(y.g,"_module-activation-notification"),"dismiss_notification","idea-hub");case 3:case"end":return e.stop()}}),e)}))),[c]),C=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,d("idea-hub");case 3:if(n=e.sent,r=n.error,a=n.response,!r){e.next=8;break}return e.abrupt("return",w({id:"idea-hub-setup-error",description:r.message}));case 8:return e.next=10,Object(_.v)("".concat(y.g,"_module-activation-notification"),"confirm_notification","idea-hub");case 10:return e.next=12,Object(_.v)("".concat(y.g,"_module-activation-notification"),"activate_module","idea-hub");case 12:f(a.moduleReauthURL);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[d,f,w]),D=j||void 0===j||S||void 0===S;return Object(u.useEffect)((function(){D||!1!==r||(Object(_.v)("".concat(y.g,"_module-activation-notification"),"view_notification","idea-hub"),a(!0))}),[D,r,a]),D?null:e.createElement(k.a,{id:"idea-hub-module-notification",title:Object(s.__)("Get new ideas to write about based on what people are searching for","google-site-kit"),description:Object(s.__)("Set up Idea Hub to get topic suggestions based on unanswered searches that match your site’s topics.","google-site-kit"),ctaLabel:Object(s.__)("Set up","google-site-kit"),ctaLink:x,SmallImageSVG:g.a,format:"small",type:"win-success",dismiss:Object(s.__)("Dismiss","google-site-kit"),onDismiss:N,onCTAClick:C})}}).call(this,n(3))},205:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSettings}));var r=n(0),i=n.n(r),a=n(122),o=n(1),c=n(4),l=n.n(c),s=n(42),u=n(8),d=n(11),f=n(15),g=n(224),m=l.a.useSelect;function UserInputSettings(t){var n=t.onCTAClick,r=t.onDismiss,i=t.isDismissible,c=Object(a.a)(UserInputSettings),l=m((function(e){return e(f.c).getAdminURL("googlesitekit-user-input")}));return"completed"===m((function(e){return e(d.a).getUserInputState()}))?null:e.createElement(s.a,{id:"user-input-settings-notification-".concat(c),className:"googlesitekit-user-input__notification",title:Object(o.__)("Customize Site Kit to match your goals","google-site-kit"),description:Object(o.__)("Answer 5 questions and Site Kit will customize your dashboard with specific metrics and opportunities that match your site’s goals","google-site-kit"),format:"large",dismissExpires:3*Object(u.k)("hour"),ctaLink:l,ctaLabel:Object(o.__)("Let’s go","google-site-kit"),onCTAClick:n,dismiss:Object(o.__)("Remind me later","google-site-kit"),WinImageSVG:g.a,isDismissible:i,onDismiss:r})}UserInputSettings.propTypes={onCTAClick:i.a.func,onDismiss:i.a.func,isDismissible:i.a.bool}}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(17),i=n.n(r),a=n(16),o=n.n(a),c=n(0),l=n.n(c),s=n(9),u=n.n(s),d=n(119),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,m=t.className,p=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inherit,k=t.inverse,E=t.onClick,O=t.small,w=t.to,j=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||w||!E?w?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",N=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:a);return e.createElement(x,i()({"aria-label":N,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":O,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:E,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:w},j),g)}));m.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},m.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=m}).call(this,n(3))},218:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(2),c=n(4),l=n.n(c),s=n(42),u=n(15),d=l.a.useDispatch,f=function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,c=t.dismissLabel,l=t.dismissible,f=t.id,g=t.learnMoreLabel,m=t.learnMoreURL,p=t.title,v=d(u.c),b=v.dismissNotification,h=v.acceptNotification,y=Object(o.useCallback)((function(){h(f)}),[f,h]),_=Object(o.useCallback)((function(){b(f)}),[f,b]);return e.createElement(s.a,{key:f,id:f,title:p,description:n,learnMoreURL:m,learnMoreLabel:g,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:c,isDismissible:l,onCTAClick:y,onDismiss:_})};f.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},f.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=f}).call(this,n(3))},219:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModulesList}));var r=n(6),i=n.n(r),a=n(5),o=n.n(a),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(4),g=n.n(f),m=n(15),p=n(19),v=n(34),b=n(22),h=n(8),y=n(220);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=g.a.useSelect,O=g.a.useDispatch;function ModulesList(t){var n=t.moduleSlugs,r=O(p.a).activateModule,a=O(v.a).navigateTo,c=O(m.c).setInternalServerError,s=E((function(e){return e(p.a).getModules()})),u=Object(d.useCallback)(function(){var e=l()(o.a.mark((function e(t){var n,i,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(t);case 2:if(n=e.sent,i=n.response,!(l=n.error)){e.next=8;break}return c({id:"setup-module-error",description:l.message}),e.abrupt("return",null);case 8:return e.next=10,Object(h.v)("".concat(b.g,"_authentication-success-notification"),"activate_module",t);case 10:a(i.moduleReauthURL);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,a,c]);if(void 0===s)return null;var f=Array.isArray(n)&&n.length?n.filter((function(e){return s[e]})).reduce((function(e,t){return k(k({},e),{},i()({},t,s[t]))}),{}):s,g=Object.values(f).filter((function(e){return!e.internal&&0===e.dependencies.length})).sort((function(e,t){return e.order-t.order}));return e.createElement("div",{className:"googlesitekit-modules-list"},g.map((function(t){return e.createElement(y.a,{key:t.slug,module:t,handleSetupModule:u})})))}ModulesList.propTypes={moduleSlugs:u.a.arrayOf(u.a.string).isRequired}}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return i})),n.d(t,"l",(function(){return a})),n.d(t,"n",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r="dashboard",i="pageDashboard",a="postsList",o="userInput",c="activation",l="splash",s="adminBar",u="settings",d="module",f="wpDashboard",g="moduleSetup",m="traffic",p="content",v="speed",b="monetization"},220:function(e,t,n){"use strict";(function(e){var r=n(9),i=n.n(r),a=n(1),o=n(21),c=n(118),l=n(195),s=n(4),u=n.n(s),d=n(19),f=u.a.useSelect;t.a=function ModulesListItem(t){var n=t.module,r=t.handleSetupModule,s=n.slug,u=n.name,g=n.connected,m=n.active,p=g&&m,v=f((function(e){return e(d.a).canActivateModule(s)}));return e.createElement("div",{className:i()("googlesitekit-modules-list__module","googlesitekit-modules-list__module--".concat(s),{"googlesitekit-settings-connect-module--disabled":!p&&!v})},e.createElement("div",{className:"googlesitekit-settings-connect-module__wrapper"},e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(c.a,{slug:s})),e.createElement("h3",{className:"googlesitekit-settings-connect-module__title"},u)),!p&&e.createElement(l.a,{slug:s,context:"modules-list"}),p&&e.createElement("span",{className:"googlesitekit-settings-module__status"},e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--connected"}),Object(a.__)("Connected","google-site-kit")),!p&&e.createElement(o.a,{onClick:function(){return r(s)},arrow:!0,small:!0,inherit:!0,disabled:!v},Object(a.__)("Connect Service","google-site-kit")))}}).call(this,n(3))},221:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),o=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),c=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),l=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),f=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),g=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,l,s,u,d,f,g)}},222:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSuccessBannerNotification}));var r=n(1),i=n(2),a=n(42),o=n(223),c=n(8),l=n(23);function UserInputSuccessBannerNotification(){var t=Object(i.useContext)(l.b),n="".concat(t,"_user-input-success-notification");Object(i.useEffect)((function(){Object(c.v)(n,"view_notification")}),[n]);return e.createElement(a.a,{id:"user-input-success",title:Object(r.__)("Congrats! You set your site goals","google-site-kit"),description:Object(r.__)("Now Site Kit will begin suggesting metrics to add to your dashboard that are relevant specifically to you, based on the goals you shared","google-site-kit"),SmallImageSVG:o.a,dismiss:Object(r.__)("OK, got it!","google-site-kit"),format:"small",onDismiss:function(){Object(c.v)(n,"confirm_notification")}})}}).call(this,n(3))},223:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("path",{d:"M154.32 135.43c-10.56 8.65-20.59 16.68-30.15 23.63-5.07 3.7-14.21-1.31-15.28-8.16-1.86-12.85-3-26.17-3.63-39.8-12.15-7.93-24.13-15.53-35.44-22.35-6.11-3.63-4.22-12.48 3-15.39 13.28-5.23 26.64-10.44 40-15.38 4.23-13.83 8.45-27.77 12.11-41.4 2-7.39 10.41-8.93 14.89-2.73 8.25 11.45 17.13 23 26 34.42 14.22-.1 28.56 0 42.84.22 7.73.18 12.64 7.79 8.2 13.35-8.15 10.38-16.67 21.73-25.21 33.45 4.25 13 7.89 25.84 10.7 38.51 1.43 6.79-5.34 14.71-11.39 13-11.49-3.06-23.71-7.03-36.64-11.37z",fill:"#FBBC04"}),c=r.createElement("path",{d:"M205.44 73.7c10.67 26.59 20.64 47.74 16.58 76.8-4.67 33.43-33.31 70.54-68.1 75.46-17.34 2.45-35.57-2.42-47.85-15-12-12.26-18.78-29.18-21.81-45.85-3.25-17.94-2.2-36.87 3.91-54.11a77.26 77.26 0 014.71-10.76",stroke:"#4285F4",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:6}),l=r.createElement("g",{clipPath:"url(#milestone-blue_svg__clip0)",strokeLinejoin:"round",strokeWidth:6},r.createElement("path",{d:"M151.73 225.81L144 246.63a35.18 35.18 0 00.07 24.7l6.51 12.51h-8.34",stroke:"#1967D2"}),r.createElement("path",{stroke:"#185ABC",d:"M151.73 225.81l-5.6 15.04"}),r.createElement("path",{stroke:"#1967D2",d:"M164.04 231.67v52.17h7.76"}),r.createElement("path",{stroke:"#185ABC",d:"M164.04 221.67v20.1"})),s=r.createElement("path",{d:"M161.08 235.06a36.17 36.17 0 0026.08-44L117.07 209a36.17 36.17 0 0044.01 26.06z",fill:"#1A73E8"}),u=r.createElement("path",{d:"M142.64 217.51c5.53 7.83 16.11 10.61 24.45 1.64M145.07 215.59c-2.58.66-2.41 3.54-5.51 4.88",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:3}),d=r.createElement("path",{stroke:"#FEEFC3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,d:"M101.3 47.04L75.8 22.68M60.45 68.72l-34.37-6.91M208.28 22.68l-18.86 17.87M265.17 73.7l-32.36 3.02M66.15 109.02l-49.01 15.36"}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"milestone-blue_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgMilestoneBlue(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,l,s,u,d,f)}},224:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M294.5 39.35h244.69v251.12a7.5 7.5 0 01-7.5 7.5H302a7.5 7.5 0 01-7.5-7.5V39.35z",fill:"#F1F3F4"}),o=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 68.28h45.25v45.25H314.5zM314.5 146.04h45.25v45.25H314.5z"}),c=r.createElement("path",{d:"M313.38 145.1c14.28 17.62 17.8 21.42 32.08 39",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5}),l=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 223.79h45.25v45.25H314.5z"}),s=r.createElement("ellipse",{cx:149.01,cy:322.24,rx:72.28,ry:7.51,fill:"#F1F3F4"}),u=r.createElement("path",{d:"M302 10h229.69a7.5 7.5 0 017.5 7.5v21.85H294.5V17.5A7.5 7.5 0 01302 10z",fill:"#80868B"}),d=r.createElement("circle",{cx:314.91,cy:24.68,r:5.32,fill:"#FFF"}),f=r.createElement("circle",{cx:336.18,cy:24.68,r:5.32,fill:"#FFF"}),g=r.createElement("path",{d:"M232.78 231.28c42.24.91 55.06-20.59 39.78-70.34",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),m=r.createElement("path",{d:"M158.93 241.76c-2.23 25.53-1.22 59.63 6.93 80.6H184M126.69 241.76c-2.29 25-.62 58.69 6.93 80.6H116.8",stroke:"#188038",strokeLinejoin:"round",strokeWidth:8.03}),p=r.createElement("path",{d:"M158.93 241.76a244.31 244.31 0 00-1 26.13M126.69 241.76c-.57 6.24-.9 17.52-1 23.59",stroke:"#137333",strokeLinejoin:"round",strokeWidth:8.03}),v=r.createElement("path",{d:"M36.83 277.33c-9.72-9.09-13.91-26.06-8.22-38.36 4.92-10.64 20.49-22.29 31.69-23.47",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),b=r.createElement("path",{fill:"#1E8E3E",d:"M151.1 160.94l93.85 6.87-6.87 93.85-93.85-6.87-93.85-6.87 6.87-93.85 93.85 6.87z"}),h=r.createElement("path",{d:"M181.25 219.25c-18.11 15.64-48.49 18.13-68.47-5",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5.74}),y=r.createElement("path",{stroke:"#DADCE0",strokeLinejoin:"round",strokeWidth:20,d:"M380.07 90.91h139.12M380.07 168.66h139.12M380.07 246.42h139.12"}),_=r.createElement("path",{fill:"#FBBC04",d:"M319.603 184.523l-155.3-70.055 8.98-19.908 155.3 70.055z"}),k=r.createElement("path",{fill:"#DADCE0",d:"M328.59 164.62l25.17 22.94-34.15-3.03 8.98-19.91z"}),E=r.createElement("path",{fill:"#5F6368",d:"M344.35 186.72l9.41.84-6.92-6.29-2.49 5.45z"}),O=r.createElement("path",{d:"M164.22 114.43h.09L175 119.3l9-19.91-10.7-4.84h-.09a10.92 10.92 0 00-9 19.91z",fill:"#EE675C"}),w=r.createElement("path",{fill:"#DADCE0",d:"M176.772 120.092l-4.557-2.056 8.984-19.917 4.558 2.056z"}),j=r.createElement("path",{stroke:"#F29900",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4,d:"M318.21 172.07l-130.15-58.71"}),S=r.createElement("path",{d:"M307.33 65.64a267 267 0 0064.05 58M312.39 117.93l40.77-54.45",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5});t.a=function SvgUserInputPrompt(e){return r.createElement("svg",i({viewBox:"0 0 570 336",fill:"none"},e),a,o,c,l,s,u,d,f,g,m,p,v,b,h,y,_,k,E,O,w,j,S)}},225:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:72,cy:72,r:72,fill:"#FDE9CC"}),o=r.createElement("g",{clipPath:"url(#idea-hub-notification_svg__clip0)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.755 64.393c1.844 1.18 2.421 3.625 1.33 5.519l-.073.12L67.567 83.6H79.02c3.314 0 5.194 3.82 3.254 6.5l-.076.103-14.014 18.223a3.993 3.993 0 01-5.657.709c-1.717-1.359-2.054-3.849-.784-5.623l.085-.115 8.936-11.62H60.256c-3.13 0-5.05-3.452-3.475-6.158l.067-.113 12.348-19.839a3.997 3.997 0 015.56-1.274zm16.02-18.441l.044.027.023.014a4.071 4.071 0 011.287 5.575l-4.313 7a3.995 3.995 0 01-5.498 1.306l-.043-.027-.023-.014a4.071 4.071 0 01-1.286-5.575l4.312-7a3.996 3.996 0 015.497-1.306zm-36.837 0a3.996 3.996 0 015.498 1.306l4.312 7a4.071 4.071 0 01-1.287 5.575l-.023.014-.043.027a3.995 3.995 0 01-5.497-1.306l-4.313-7a4.071 4.071 0 011.287-5.575l.023-.014.043-.027zM72.34 34c2.183 0 3.96 1.76 4.03 3.956l.001.132v14.138c0 2.258-1.804 4.088-4.03 4.088-2.183 0-3.96-1.76-4.029-3.956l-.002-.132V38.088c0-2.258 1.805-4.088 4.03-4.088z",fill:"url(#idea-hub-notification_svg__paint0_linear)"})),c=r.createElement("defs",null,r.createElement("linearGradient",{id:"idea-hub-notification_svg__paint0_linear",x1:76.563,y1:27.817,x2:53.123,y2:106.964,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#FAA900"}),r.createElement("stop",{offset:1,stopColor:"#F57F00"})),r.createElement("clipPath",{id:"idea-hub-notification_svg__clip0"},r.createElement("path",{fill:"#fff",transform:"translate(52 34)",d:"M0 0h40.714v76H0z"})));t.a=function SvgIdeaHubNotification(e){return r.createElement("svg",i({viewBox:"0 0 144 144",fill:"none"},e),a,o,c)}},226:function(e,t,n){"use strict";(function(e){var r=n(1),i=n(86),a=n(227),o=n(52);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(3))},227:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),i=n(51),a=n(8),o=n(197),c=n(198),l=n(199),s=n(200),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(78),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33: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(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return v})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return h})),n.d(t,"m",(function(){return y}));var r=n(22),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),p="".concat(r.o,"_idea-hub-saved-ideas-notification"),v="".concat(r.l,"_idea-hub"),b="new-ideas",h="saved-ideas",y="draft-ideas"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),i=n.n(r),a=n(13),o=n.n(a);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return p.apply(this,arguments)}function p(){return(p=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,l,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,l=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},o=a.ttl,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(35),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(5),o=n.n(a),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),m=n.n(g),p=n(230),v=n.n(p),b=n(99),h=n(2),y=n(86),_=n(58),k=n(73),E=n(20),O=n(154),w=n(113),j=n(21),S=n(118),x=n(38),N=n(8),C=n(22);function BannerNotification(t){var n,r=t.anchorLink,a=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,D=t.description,T=t.dismiss,M=t.dismissExpires,P=t.format,R=t.id,L=t.isDismissible,A=t.learnMoreDescription,I=t.learnMoreLabel,q=t.learnMoreURL,z=t.logo,F=t.module,U=t.moduleName,B=t.onCTAClick,H=t.onDismiss,V=t.pageIndex,K=t.showOnce,W=t.SmallImageSVG,G=t.title,Q=t.type,$=t.WinImageSVG,J=Object(h.useState)(!1),X=u()(J,2),Y=X[0],Z=X[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ie=Object(h.useRef)(),ae="notification::dismissed::".concat(R),oe=function(){return Object(x.d)(ae,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(N.v)("".concat(C.g,"_site-notification"),"dismiss_notification",R);case 4:if(!H){e.next=7;break}return e.next=7,H(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ie.current;Z(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"confirm_notification",R);case 3:if(!B){e.next=6;break}return e.next=6,B(t);case 6:L&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"click_learn_more_link",R);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.b)(ae);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(M,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(x.a)(ae);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.v)("".concat(C.g,"_site-notification"),"view_notification",R);case 2:if(!(M>0)){e.next=5;break}return e.next=5,de();case 5:if(!L){e.next=11;break}return e.next=8,Object(x.b)(ae);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!K){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),L&&(void 0===ne||ne))return null;var ge,me=Y?"is-closed":"is-open",pe="large"===P&&"win-stats-increase"===Q,ve="mdc-layout-grid__cell--span-12";"large"===P?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",pe&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===P&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===Q?e.createElement(O.a,{width:34}):"win-error"===Q?e.createElement(w.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":pe,"mdc-layout-grid__cell--span-4-desktop":!pe})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(k.a,t)))})))),he=e.createElement(h.Fragment,null,G&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},G),r&&a&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(j.a,{href:r},a)),D&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(D)?D:e.createElement("span",{dangerouslySetInnerHTML:Object(_.a)(D,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(h.Fragment,null," ",e.createElement(j.a,{onClick:function(e){return ue.apply(this,arguments)},href:q,external:!0,inherit:!0},I),A),V&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},V))),s),ye=F?e.createElement(S.a,{slug:F,size:19}):e.createElement(y.a,{height:"34",width:"32"});return e.createElement("section",{id:R,ref:ie,className:m()(d,"googlesitekit-publisher-win",(n={},i()(n,"googlesitekit-publisher-win--".concat(P),P),i()(n,"googlesitekit-publisher-win--".concat(Q),Q),i()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":pe,"mdc-layout-grid__cell--order-1-tablet":pe})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},ye),U&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},U)),W&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(W,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",ve)},pe?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(E.a,{className:"googlesitekit-notification__cta",href:g,target:p,onClick:function(e){return se.apply(this,arguments)}},f),L&&T&&e.createElement(j.a,{onClick:function(e){return ce.apply(this,arguments)}},T)),$&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement($,null))),("win-error"===Q||"win-warning"===Q)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),i=n.n(r),a=n(16),o=n.n(a),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(9),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))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),i=n.n(r),a=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},63:function(e,t,n){"use strict";function r(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}))},65:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(109),i=n.n(r)()(e)}).call(this,n(18))},68:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return O})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return j}));var r=n(12),i=n.n(r),a=n(28),o=n.n(a),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(26),f=n(64),g=n.n(f),m=n(1);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:n,minutes:r,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=v(v({unitDisplay:void 0===a?"short":a},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?O(i,v(v({},o),{},{unit:"second"})):Object(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -21,6 +21,6 @@ Object(m.__)("%sK","google-site-kit"),O(y(e))):1e3<=e?Object(m.sprintf)(// trans
21
  Object(m.__)("%sK","google-site-kit"),O(y(e),e%10==0?{}:t)):O(e,{signDisplay:"never",maximumFractionDigits:1})},k=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,i=r.style,a=void 0===i?"metric":i;return"metric"===a?_(e):"duration"===a?b(e,t):O(e,n)},E=g()(console.warn),O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(a);d<f.length;d++){var g=i()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():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)}
22
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},j=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(9),h=n.n(b),y=n(2),_=n(1),k=n(56),E=n(94),O=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var j=function(t){u()(DataBlock,t);var n=w(DataBlock);function DataBlock(e){var t;return i()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,i=t.datapoint,a=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(y.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(O.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(O.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var w=void 0===i?i:Object(O.q)(i,a||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},w)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(y.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(k.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(E.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(y.Component);j.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},j.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=j}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),i=n.n(r),a=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(a.sprintf)(
23
  /* translators: %d is the number of notifications */
24
- Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),i=n(56),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},787:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivationApp}));var r=n(5),i=n.n(r),a=n(13),o=n.n(a),c=n(99),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(20),g=n(226),m=n(14),p=n(22),v=n(8),b=n(15),h=n(11),y=n(34),_=d.a.useSelect,k=d.a.useDispatch;function ActivationApp(){var t=k(y.a).navigateTo,n=_((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),r=_((function(e){return e(b.c).getAdminURL("googlesitekit-splash")})),a=_((function(e){return e(h.a).hasCapability(h.e)}));Object(c.a)((function(){Object(v.v)(p.e,"view_notification")}));var u=a?n:r,d=a?Object(s.__)("Go to Dashboard","google-site-kit"):Object(s.__)("Start setup","google-site-kit"),E=Object(l.useCallback)(function(){var e=o()(i.a.mark((function e(n){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),r=a?"dashboard":"splash",e.next=4,Object(v.v)(p.e,"confirm_notification",r);case 4:t(u);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[u,a,t]);return u?e.createElement(m.b,null,e.createElement(m.l,null,e.createElement(m.a,{size:12},e.createElement(g.a,null),e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-activation__title"},Object(s.__)("Congratulations, the Site Kit plugin is now activated.","google-site-kit")),e.createElement(f.a,{id:"start-setup-link",className:"googlesitekit-start-setup",onClick:E},d)))):null}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"f",(function(){return k.c})),n.d(t,"t",(function(){return k.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return O.b})),n.d(t,"h",(function(){return O.a})),n.d(t,"p",(function(){return O.c})),n.d(t,"k",(function(){return w})),n.d(t,"a",(function(){return j})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return x}));var r=n(108),i=n.n(r),a=n(107),o=n.n(a),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===u()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};var m=n(74),p=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var _=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)]},k=n(53),E=n(77),O=n(63),w=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!i()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},x=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,y,_,k,E;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),k=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],E={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:k.join(","),dimension3:_,dimension4:"1.48.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},E),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},88:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},90:function(e,t,n){"use strict";var r=n(12),i=n.n(r),a=n(289),o=n(0),c=n.n(o),l=n(2),s=n(104);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},91:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r=n(16),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(7),u=n.n(s),d=n(4),f=n.n(d),g=n(38),m=f.a.createRegistryControl,p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",m((function(t){return function(){return Object(g.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.b)("datastore::cache::".concat(e),3600)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().restoreSnapshot()})))}},94:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(9),o=n.n(a),c=n(112),l=n(1),s=n(21);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)(
25
  /* translators: %s: source link */
26
  Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a,inherit:!0})}))}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))},95:function(e,t,n){"use strict";var r=n(2),i=n(33),a=Object(r.createContext)(i.a);t.a=a},96:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(0),o=n.n(a);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Spinner(t){var n=t.isSaving,r=t.style,i=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:l({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},i)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))}},[[1028,1,0]]]);
6
  /* translators: %s: Option name */
7
  Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.n,null,e.createElement(l.d,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:i,disabled:!p}))))};u.propTypes={choice:i.a.shape({answer_ordinal:i.a.oneOfType([i.a.string,i.a.number]),text:i.a.string,write_in:i.a.bool}),value:i.a.string.isRequired,setValue:i.a.func.isRequired,writeIn:i.a.string.isRequired,setWriteIn:i.a.func.isRequired},t.a=u}).call(this,n(3))},181:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),i=n(112),a=n(4),o=n.n(a),c=n(15),l=n(21),s=o.a.useSelect;function SurveyTerms(){var t=s((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=s((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(i.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(l.a,{href:t,inherit:!0,external:!0}),terms:e.createElement(l.a,{href:n,inherit:!0,external:!0})}))}}).call(this,n(3))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},195:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var r=n(4),i=n.n(r),a=n(19),o=n(9),c=n.n(o),l=n(113),s=i.a.useSelect;function ModuleSettingsWarning(t){var n=t.slug,r=s((function(e){var t;return null===(t=e(a.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return r?e.createElement("div",{className:c()("googlesitekit-settings-module-warning","googlesitekit-settings-module-warning--modules-list")},e.createElement(l.a,{height:"20",width:"23"})," ",r.message):null}}).call(this,n(3))},197:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(15),s=n(11),u=n(218),d=c.a.useSelect;t.a=function CoreSiteBannerNotifications(){var t=Object(a.useState)(!1),n=i()(t,2),r=n[0],o=n[1],c=Object(a.useState)(!1),f=i()(c,2),g=f[0],m=f[1],p=Object(a.useRef)(Date.now()),v=d((function(e){return e(s.a).getCurrentSurvey()})),b=d((function(e){return e(l.c).getNotifications()}));return Object(a.useEffect)((function(){var e=setTimeout((function(){g||o(!0)}),5e3);return function(){clearTimeout(e)}}),[g]),Object(a.useEffect)((function(){Math.floor((Date.now()-p.current)/1e3)<5&&v&&m(!0)}),[p,v,m]),Array.isArray(b)&&r&&!g?b.map((function(t){return e.createElement(u.a,{content:t.content,ctaLabel:t.ctaLabel,ctaTarget:t.ctaTarget,ctaURL:t.ctaURL,dismissLabel:t.dismissLabel,dismissible:t.dismissible,id:t.id,key:t.id,learnMoreLabel:t.learnMoreLabel,learnMoreURL:t.learnMoreURL,title:t.title})})):null}}).call(this,n(3))},198:function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(13),c=n.n(o),l=n(99),s=n(2),u=n(1),d=n(309),f=n(4),g=n.n(f),m=n(8),p=n(42),v=n(219),b=n(221),h=n(222),y=n(19),_=n(15),k=n(22),E=n(11),O=n(30),w=g.a.useSelect;t.a=function SetupSuccessBannerNotification(){var t,n=Object(m.j)("slug"),i=w((function(e){return e(y.a).getModules()})),o=w((function(e){return e(E.a).hasCapability(E.c)})),f=w((function(e){return e(_.c).hasMultipleAdmins()})),g=w((function(e){return e(_.c).isUsingProxy()})),j=w((function(e){var t,r=null==i||null===(t=i[n])||void 0===t?void 0:t.storeName;if(!r)return null;var a=e(r).getSetupSuccessContent;return a?a():null}));Object(l.a)((function(){Object(O.b)("".concat(k.g,"_authentication-success-notification"),"view_notification"),null===n&&(Object(O.b)("".concat(k.g,"_authentication-success-notification"),"complete_user_setup",g?"proxy":"custom-oauth"),f||Object(O.b)("".concat(k.g,"_authentication-success-notification"),"complete_site_setup",g?"proxy":"custom-oauth"))}));var S=Object(s.useCallback)(c()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(O.b)("".concat(k.g,"_authentication-success-notification"),"confirm_notification");case 2:n=Object(d.a)(e.location.href,"notification"),e.history.replaceState(null,"",n);case 4:case"end":return t.stop()}}),t)}))),[]);if(void 0===i)return null;var x=Object(m.j)("notification");if(!x||""===x)return null;var N={id:"connected-successfully",setupTitle:Object(u.__)("Site Kit","google-site-kit"),description:Object(u.__)("Now you’ll be able to see how your site is doing in search. To get even more detailed stats, activate more modules. Here are our recommendations for what to include in your Site Kit:","google-site-kit"),learnMore:{label:"",url:"",description:""}};switch(x){case"authentication_success":if(!o)return null;if(n&&!(null===(t=i[n])||void 0===t?void 0:t.active))return null;if(i[n]&&(N.id="".concat(N.id,"-").concat(n),N.setupTitle=i[n].name,N.description=Object(u.__)("Here are some other services you can connect to see even more stats:","google-site-kit"),j)){var C=j.description,D=j.learnMore;N.description=C,N.learnMore=D}var T={link:"",label:""};return"pagespeed-insights"===n?(T.link="#googlesitekit-pagespeed-header",T.label=Object(u.__)("Jump to the bottom of the dashboard to see how fast your home page is","google-site-kit")):"idea-hub"===n&&(T.link="#googlesitekit-idea-hub-widget",T.label=Object(u.__)("Jump directly to Idea Hub to see topic suggestions for your site","google-site-kit")),r.createElement(s.Fragment,null,r.createElement(p.a,{id:N.id,title:Object(u.sprintf)(
8
  /* translators: %s: the name of a module that setup was completed for */
9
+ Object(u.__)("Congrats on completing the setup for %s!","google-site-kit"),N.setupTitle),description:N.description,handleDismiss:function(){},WinImageSVG:b.a,dismiss:Object(u.__)("OK, Got it!","google-site-kit"),onDismiss:S,format:"large",type:"win-success",learnMoreLabel:N.learnMore.label,learnMoreDescription:N.learnMore.description,learnMoreURL:N.learnMore.url,anchorLink:T.link,anchorLinkLabel:T.label},r.createElement(v.a,{moduleSlugs:["search-console","adsense","analytics","pagespeed-insights"]})));case"user_input_success":return r.createElement(h.a,null)}}}).call(this,n(18),n(3))},199:function(e,t,n){"use strict";(function(e){var r=n(12),i=n.n(r),a=n(2),o=n(4),c=n.n(o),l=n(8),s=n(205),u=n(23),d=n(11),f=c.a.useSelect;t.a=function UserInputPromptBannerNotification(){var t=Object(a.useContext)(u.b),n=f((function(e){return e(d.a).getUserInputState()})),r="".concat(t,"_user-input-prompt-notification"),o=Object(a.useState)(!1),c=i()(o,2),g=c[0],m=c[1];Object(a.useEffect)((function(){g||void 0===n||"completed"===n||Object(l.v)(r,"view_notification").finally((function(){return m(!0)}))}),[r,n,g]);return e.createElement(s.a,{isDismissible:!0,onCTAClick:function(){Object(l.v)(r,"confirm_notification")},onDismiss:function(){Object(l.v)(r,"dismiss_notification")}})}}).call(this,n(3))},20:function(e,t,n){"use strict";(function(e){var r=n(17),i=n.n(r),a=n(16),o=n.n(a),c=n(9),l=n.n(c),s=n(0),u=n.n(s),d=n(115),f=n(277),g=n(2),m=n(1),p=n(14),v=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],k=t.title,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title"]),O=Object(g.useCallback)((function(e){null!==e&&p.i.attachTo(e)}),[]),w=Object(d.a)(n,O),j=a&&!v?"a":"button",S=e.createElement(j,i()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:a,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===j?"button":void 0},E),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return h&&(k||_)&&void 0===r?e.createElement(f.a,{title:k||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},S):S}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null},t.a=v}).call(this,n(3))},200:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IdeaHubPromptBannerNotification}));var r=n(5),i=n.n(r),a=n(13),o=n.n(a),c=n(12),l=n.n(c),s=n(1),u=n(2),d=n(4),f=n.n(d),g=n(225),m=n(19),p=n(11),v=n(34),b=n(15),h=n(37),y=n(22),_=n(8),k=n(42),E=f.a.useSelect,O=f.a.useDispatch;function IdeaHubPromptBannerNotification(){var t=Object(u.useState)(!1),n=l()(t,2),r=n[0],a=n[1],c=O(p.a).dismissItem,d=O(m.a).activateModule,f=O(v.a).navigateTo,w=O(b.c).setInternalServerError,j=E((function(e){return e(m.a).isModuleActive("idea-hub")})),S=E((function(e){return e(p.a).isItemDismissed("idea-hub-module-notification")})),x=E((function(e){var t;return null===(t=e(h.p))||void 0===t?void 0:t.getAdminReauthURL()})),N=Object(u.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c("idea-hub-module-notification");case 2:Object(_.v)("".concat(y.g,"_module-activation-notification"),"dismiss_notification","idea-hub");case 3:case"end":return e.stop()}}),e)}))),[c]),C=Object(u.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,d("idea-hub");case 3:if(n=e.sent,r=n.error,a=n.response,!r){e.next=8;break}return e.abrupt("return",w({id:"idea-hub-setup-error",description:r.message}));case 8:return e.next=10,Object(_.v)("".concat(y.g,"_module-activation-notification"),"confirm_notification","idea-hub");case 10:return e.next=12,Object(_.v)("".concat(y.g,"_module-activation-notification"),"activate_module","idea-hub");case 12:f(a.moduleReauthURL);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[d,f,w]),D=j||void 0===j||S||void 0===S;return Object(u.useEffect)((function(){D||!1!==r||(Object(_.v)("".concat(y.g,"_module-activation-notification"),"view_notification","idea-hub"),a(!0))}),[D,r,a]),D?null:e.createElement(k.a,{id:"idea-hub-module-notification",title:Object(s.__)("Get new ideas to write about based on what people are searching for","google-site-kit"),description:Object(s.__)("Set up Idea Hub to get topic suggestions based on unanswered searches that match your site’s topics.","google-site-kit"),ctaLabel:Object(s.__)("Set up","google-site-kit"),ctaLink:x,SmallImageSVG:g.a,format:"small",type:"win-success",dismiss:Object(s.__)("Dismiss","google-site-kit"),onDismiss:N,onCTAClick:C})}}).call(this,n(3))},205:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSettings}));var r=n(0),i=n.n(r),a=n(122),o=n(1),c=n(4),l=n.n(c),s=n(42),u=n(8),d=n(11),f=n(15),g=n(224),m=l.a.useSelect;function UserInputSettings(t){var n=t.onCTAClick,r=t.onDismiss,i=t.isDismissible,c=Object(a.a)(UserInputSettings),l=m((function(e){return e(f.c).getAdminURL("googlesitekit-user-input")}));return"completed"===m((function(e){return e(d.a).getUserInputState()}))?null:e.createElement(s.a,{id:"user-input-settings-notification-".concat(c),className:"googlesitekit-user-input__notification",title:Object(o.__)("Customize Site Kit to match your goals","google-site-kit"),description:Object(o.__)("Answer 5 questions and Site Kit will customize your dashboard with specific metrics and opportunities that match your site’s goals","google-site-kit"),format:"large",dismissExpires:3*Object(u.k)("hour"),ctaLink:l,ctaLabel:Object(o.__)("Let’s go","google-site-kit"),onCTAClick:n,dismiss:Object(o.__)("Remind me later","google-site-kit"),WinImageSVG:g.a,isDismissible:i,onDismiss:r})}UserInputSettings.propTypes={onCTAClick:i.a.func,onDismiss:i.a.func,isDismissible:i.a.bool}}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(17),i=n.n(r),a=n(16),o=n.n(a),c=n(0),l=n.n(c),s=n(9),u=n.n(s),d=n(119),f=n(1),g=n(2),m=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,m=t.className,p=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inherit,k=t.inverse,E=t.onClick,O=t.small,w=t.to,j=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||w||!E?w?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",N=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:a);return e.createElement(x,i()({"aria-label":N,className:u()("googlesitekit-cta-link",m,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":O,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:E,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:w},j),g)}));m.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},m.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=m}).call(this,n(3))},218:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(2),c=n(4),l=n.n(c),s=n(42),u=n(15),d=l.a.useDispatch,f=function CoreSiteBannerNotification(t){var n=t.content,r=t.ctaLabel,i=t.ctaTarget,a=t.ctaURL,c=t.dismissLabel,l=t.dismissible,f=t.id,g=t.learnMoreLabel,m=t.learnMoreURL,p=t.title,v=d(u.c),b=v.dismissNotification,h=v.acceptNotification,y=Object(o.useCallback)((function(){h(f)}),[f,h]),_=Object(o.useCallback)((function(){b(f)}),[f,b]);return e.createElement(s.a,{key:f,id:f,title:p,description:n,learnMoreURL:m,learnMoreLabel:g,ctaLink:a,ctaLabel:r,ctaTarget:i,dismiss:c,isDismissible:l,onCTAClick:y,onDismiss:_})};f.propTypes={content:i.a.string,ctaLabel:i.a.string,ctaTarget:i.a.string,ctaURL:i.a.string,dismissLabel:i.a.string,dismissible:i.a.bool,id:i.a.string.isRequired,learnMoreLabel:i.a.string,learnMoreURL:i.a.string,title:i.a.string.isRequired},f.defaultProps={content:"",ctaLabel:"",ctaTarget:"",ctaURL:"",dismissLabel:Object(a.__)("OK, Got it!","google-site-kit"),dismissible:!0,learnMoreLabel:"",learnMoreURL:""},t.a=f}).call(this,n(3))},219:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModulesList}));var r=n(6),i=n.n(r),a=n(5),o=n.n(a),c=n(13),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(4),g=n.n(f),m=n(15),p=n(19),v=n(34),b=n(22),h=n(8),y=n(220);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=g.a.useSelect,O=g.a.useDispatch;function ModulesList(t){var n=t.moduleSlugs,r=O(p.a).activateModule,a=O(v.a).navigateTo,c=O(m.c).setInternalServerError,s=E((function(e){return e(p.a).getModules()})),u=Object(d.useCallback)(function(){var e=l()(o.a.mark((function e(t){var n,i,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(t);case 2:if(n=e.sent,i=n.response,!(l=n.error)){e.next=8;break}return c({id:"setup-module-error",description:l.message}),e.abrupt("return",null);case 8:return e.next=10,Object(h.v)("".concat(b.g,"_authentication-success-notification"),"activate_module",t);case 10:a(i.moduleReauthURL);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,a,c]);if(void 0===s)return null;var f=Array.isArray(n)&&n.length?n.filter((function(e){return s[e]})).reduce((function(e,t){return k(k({},e),{},i()({},t,s[t]))}),{}):s,g=Object.values(f).filter((function(e){return!e.internal&&0===e.dependencies.length})).sort((function(e,t){return e.order-t.order}));return e.createElement("div",{className:"googlesitekit-modules-list"},g.map((function(t){return e.createElement(y.a,{key:t.slug,module:t,handleSetupModule:u})})))}ModulesList.propTypes={moduleSlugs:u.a.arrayOf(u.a.string).isRequired}}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return i})),n.d(t,"l",(function(){return a})),n.d(t,"n",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r="dashboard",i="pageDashboard",a="postsList",o="userInput",c="activation",l="splash",s="adminBar",u="settings",d="module",f="wpDashboard",g="moduleSetup",m="traffic",p="content",v="speed",b="monetization"},220:function(e,t,n){"use strict";(function(e){var r=n(9),i=n.n(r),a=n(1),o=n(21),c=n(118),l=n(195),s=n(4),u=n.n(s),d=n(19),f=u.a.useSelect;t.a=function ModulesListItem(t){var n=t.module,r=t.handleSetupModule,s=n.slug,u=n.name,g=n.connected,m=n.active,p=g&&m,v=f((function(e){return e(d.a).canActivateModule(s)}));return e.createElement("div",{className:i()("googlesitekit-modules-list__module","googlesitekit-modules-list__module--".concat(s),{"googlesitekit-settings-connect-module--disabled":!p&&!v})},e.createElement("div",{className:"googlesitekit-settings-connect-module__wrapper"},e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(c.a,{slug:s})),e.createElement("h3",{className:"googlesitekit-settings-connect-module__title"},u)),!p&&e.createElement(l.a,{slug:s,context:"modules-list"}),p&&e.createElement("span",{className:"googlesitekit-settings-module__status"},e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--connected"}),Object(a.__)("Connected","google-site-kit")),!p&&e.createElement(o.a,{onClick:function(){return r(s)},arrow:!0,small:!0,inherit:!0,disabled:!v},Object(a.__)("Connect Service","google-site-kit")))}}).call(this,n(3))},221:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M200 10v31.42M105 35.46l15.71 27.2M35.46 105l27.2 15.71M10 200h31.42M35.46 295l27.2-15.71M364.54 295l-27.2-15.71M390 200h-31.42M364.54 105l-27.2 15.71M295 35.46l-15.71 27.2"}),o=r.createElement("path",{d:"M251.2 51.21c-.67-1 10.33-9.56 11.16-10.16 5.81-4.22 12.64-8 19.94-8.46 7.91-.53 15.45 2.58 23 4.58 10.31 2.77 21.44 3.8 32.09 1.69 9.59-1.9 20.83-5.9 27.87-12.93-.24.24.3 2.83.33 3.18a65.31 65.31 0 010 8.51 59.1 59.1 0 01-7 25.06 43.41 43.41 0 01-18.94 18.13C329.14 86 317.78 88.93 307 93.41c-6.7 2.79-18.11 7.23-18.11 16.07z",fill:"#F439A0"}),c=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M248.83 47.55l93.63 144.69"}),l=r.createElement("path",{d:"M279.89 172.88c18.52 6.68 53.35 9.87 64.53-10.87 14.77-27.39-23.47-38.52-43.87-34.53M88.94 145C13 233.15 70 296.93 119 267.62",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{d:"M234.54 260.65c59.23 111 7.37 98-23.53 93.23l2 20.19M186.58 274.6c31.93 144.76-28.4 65.93-35.58 53.33l-12.25 14.36",stroke:"#188038",strokeLinejoin:"round",strokeWidth:9}),u=r.createElement("path",{d:"M234.54 260.65q3.92 7.32 7.19 14M186.58 274.6q2.19 9.88 3.81 18.42",stroke:"#137333",strokeLinejoin:"round",strokeWidth:9}),d=r.createElement("path",{fill:"#1E8E3E",d:"M170.71 172.85l-98 39.35 39.35 98 98-39.35 98-39.35-39.35-98-98 39.35z"}),f=r.createElement("path",{d:"M158.45 268.63c-16.25 2.37-32.52-5.2-43.75-18.63l83.92-22.8",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),g=r.createElement("path",{stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:7,d:"M316.62 152.31l25.84 39.93"});t.a=function SvgSuccessGreen(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,l,s,u,d,f,g)}},222:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSuccessBannerNotification}));var r=n(1),i=n(2),a=n(42),o=n(223),c=n(8),l=n(23);function UserInputSuccessBannerNotification(){var t=Object(i.useContext)(l.b),n="".concat(t,"_user-input-success-notification");Object(i.useEffect)((function(){Object(c.v)(n,"view_notification")}),[n]);return e.createElement(a.a,{id:"user-input-success",title:Object(r.__)("Congrats! You set your site goals","google-site-kit"),description:Object(r.__)("Now Site Kit will begin suggesting metrics to add to your dashboard that are relevant specifically to you, based on the goals you shared","google-site-kit"),SmallImageSVG:o.a,dismiss:Object(r.__)("OK, got it!","google-site-kit"),format:"small",onDismiss:function(){Object(c.v)(n,"confirm_notification")}})}}).call(this,n(3))},223:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("path",{d:"M154.32 135.43c-10.56 8.65-20.59 16.68-30.15 23.63-5.07 3.7-14.21-1.31-15.28-8.16-1.86-12.85-3-26.17-3.63-39.8-12.15-7.93-24.13-15.53-35.44-22.35-6.11-3.63-4.22-12.48 3-15.39 13.28-5.23 26.64-10.44 40-15.38 4.23-13.83 8.45-27.77 12.11-41.4 2-7.39 10.41-8.93 14.89-2.73 8.25 11.45 17.13 23 26 34.42 14.22-.1 28.56 0 42.84.22 7.73.18 12.64 7.79 8.2 13.35-8.15 10.38-16.67 21.73-25.21 33.45 4.25 13 7.89 25.84 10.7 38.51 1.43 6.79-5.34 14.71-11.39 13-11.49-3.06-23.71-7.03-36.64-11.37z",fill:"#FBBC04"}),c=r.createElement("path",{d:"M205.44 73.7c10.67 26.59 20.64 47.74 16.58 76.8-4.67 33.43-33.31 70.54-68.1 75.46-17.34 2.45-35.57-2.42-47.85-15-12-12.26-18.78-29.18-21.81-45.85-3.25-17.94-2.2-36.87 3.91-54.11a77.26 77.26 0 014.71-10.76",stroke:"#4285F4",strokeLinecap:"square",strokeLinejoin:"round",strokeWidth:6}),l=r.createElement("g",{clipPath:"url(#milestone-blue_svg__clip0)",strokeLinejoin:"round",strokeWidth:6},r.createElement("path",{d:"M151.73 225.81L144 246.63a35.18 35.18 0 00.07 24.7l6.51 12.51h-8.34",stroke:"#1967D2"}),r.createElement("path",{stroke:"#185ABC",d:"M151.73 225.81l-5.6 15.04"}),r.createElement("path",{stroke:"#1967D2",d:"M164.04 231.67v52.17h7.76"}),r.createElement("path",{stroke:"#185ABC",d:"M164.04 221.67v20.1"})),s=r.createElement("path",{d:"M161.08 235.06a36.17 36.17 0 0026.08-44L117.07 209a36.17 36.17 0 0044.01 26.06z",fill:"#1A73E8"}),u=r.createElement("path",{d:"M142.64 217.51c5.53 7.83 16.11 10.61 24.45 1.64M145.07 215.59c-2.58.66-2.41 3.54-5.51 4.88",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:3}),d=r.createElement("path",{stroke:"#FEEFC3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:6,d:"M101.3 47.04L75.8 22.68M60.45 68.72l-34.37-6.91M208.28 22.68l-18.86 17.87M265.17 73.7l-32.36 3.02M66.15 109.02l-49.01 15.36"}),f=r.createElement("defs",null,r.createElement("clipPath",{id:"milestone-blue_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgMilestoneBlue(e){return r.createElement("svg",i({viewBox:"0 0 300 300",fill:"none"},e),a,o,c,l,s,u,d,f)}},224:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M294.5 39.35h244.69v251.12a7.5 7.5 0 01-7.5 7.5H302a7.5 7.5 0 01-7.5-7.5V39.35z",fill:"#F1F3F4"}),o=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 68.28h45.25v45.25H314.5zM314.5 146.04h45.25v45.25H314.5z"}),c=r.createElement("path",{d:"M313.38 145.1c14.28 17.62 17.8 21.42 32.08 39",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5}),l=r.createElement("path",{fill:"#FFF",stroke:"#DADCE0",strokeMiterlimit:10,strokeWidth:1.5,d:"M314.5 223.79h45.25v45.25H314.5z"}),s=r.createElement("ellipse",{cx:149.01,cy:322.24,rx:72.28,ry:7.51,fill:"#F1F3F4"}),u=r.createElement("path",{d:"M302 10h229.69a7.5 7.5 0 017.5 7.5v21.85H294.5V17.5A7.5 7.5 0 01302 10z",fill:"#80868B"}),d=r.createElement("circle",{cx:314.91,cy:24.68,r:5.32,fill:"#FFF"}),f=r.createElement("circle",{cx:336.18,cy:24.68,r:5.32,fill:"#FFF"}),g=r.createElement("path",{d:"M232.78 231.28c42.24.91 55.06-20.59 39.78-70.34",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),m=r.createElement("path",{d:"M158.93 241.76c-2.23 25.53-1.22 59.63 6.93 80.6H184M126.69 241.76c-2.29 25-.62 58.69 6.93 80.6H116.8",stroke:"#188038",strokeLinejoin:"round",strokeWidth:8.03}),p=r.createElement("path",{d:"M158.93 241.76a244.31 244.31 0 00-1 26.13M126.69 241.76c-.57 6.24-.9 17.52-1 23.59",stroke:"#137333",strokeLinejoin:"round",strokeWidth:8.03}),v=r.createElement("path",{d:"M36.83 277.33c-9.72-9.09-13.91-26.06-8.22-38.36 4.92-10.64 20.49-22.29 31.69-23.47",stroke:"#34A853",strokeLinejoin:"round",strokeWidth:8.03}),b=r.createElement("path",{fill:"#1E8E3E",d:"M151.1 160.94l93.85 6.87-6.87 93.85-93.85-6.87-93.85-6.87 6.87-93.85 93.85 6.87z"}),h=r.createElement("path",{d:"M181.25 219.25c-18.11 15.64-48.49 18.13-68.47-5",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:5.74}),y=r.createElement("path",{stroke:"#DADCE0",strokeLinejoin:"round",strokeWidth:20,d:"M380.07 90.91h139.12M380.07 168.66h139.12M380.07 246.42h139.12"}),_=r.createElement("path",{fill:"#FBBC04",d:"M319.603 184.523l-155.3-70.055 8.98-19.908 155.3 70.055z"}),k=r.createElement("path",{fill:"#DADCE0",d:"M328.59 164.62l25.17 22.94-34.15-3.03 8.98-19.91z"}),E=r.createElement("path",{fill:"#5F6368",d:"M344.35 186.72l9.41.84-6.92-6.29-2.49 5.45z"}),O=r.createElement("path",{d:"M164.22 114.43h.09L175 119.3l9-19.91-10.7-4.84h-.09a10.92 10.92 0 00-9 19.91z",fill:"#EE675C"}),w=r.createElement("path",{fill:"#DADCE0",d:"M176.772 120.092l-4.557-2.056 8.984-19.917 4.558 2.056z"}),j=r.createElement("path",{stroke:"#F29900",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4,d:"M318.21 172.07l-130.15-58.71"}),S=r.createElement("path",{d:"M307.33 65.64a267 267 0 0064.05 58M312.39 117.93l40.77-54.45",stroke:"#9AA0A6",strokeLinejoin:"round",strokeWidth:5});t.a=function SvgUserInputPrompt(e){return r.createElement("svg",i({viewBox:"0 0 570 336",fill:"none"},e),a,o,c,l,s,u,d,f,g,m,p,v,b,h,y,_,k,E,O,w,j,S)}},225:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("circle",{cx:72,cy:72,r:72,fill:"#FDE9CC"}),o=r.createElement("g",{clipPath:"url(#idea-hub-notification_svg__clip0)"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.755 64.393c1.844 1.18 2.421 3.625 1.33 5.519l-.073.12L67.567 83.6H79.02c3.314 0 5.194 3.82 3.254 6.5l-.076.103-14.014 18.223a3.993 3.993 0 01-5.657.709c-1.717-1.359-2.054-3.849-.784-5.623l.085-.115 8.936-11.62H60.256c-3.13 0-5.05-3.452-3.475-6.158l.067-.113 12.348-19.839a3.997 3.997 0 015.56-1.274zm16.02-18.441l.044.027.023.014a4.071 4.071 0 011.287 5.575l-4.313 7a3.995 3.995 0 01-5.498 1.306l-.043-.027-.023-.014a4.071 4.071 0 01-1.286-5.575l4.312-7a3.996 3.996 0 015.497-1.306zm-36.837 0a3.996 3.996 0 015.498 1.306l4.312 7a4.071 4.071 0 01-1.287 5.575l-.023.014-.043.027a3.995 3.995 0 01-5.497-1.306l-4.313-7a4.071 4.071 0 011.287-5.575l.023-.014.043-.027zM72.34 34c2.183 0 3.96 1.76 4.03 3.956l.001.132v14.138c0 2.258-1.804 4.088-4.03 4.088-2.183 0-3.96-1.76-4.029-3.956l-.002-.132V38.088c0-2.258 1.805-4.088 4.03-4.088z",fill:"url(#idea-hub-notification_svg__paint0_linear)"})),c=r.createElement("defs",null,r.createElement("linearGradient",{id:"idea-hub-notification_svg__paint0_linear",x1:76.563,y1:27.817,x2:53.123,y2:106.964,gradientUnits:"userSpaceOnUse"},r.createElement("stop",{stopColor:"#FAA900"}),r.createElement("stop",{offset:1,stopColor:"#F57F00"})),r.createElement("clipPath",{id:"idea-hub-notification_svg__clip0"},r.createElement("path",{fill:"#fff",transform:"translate(52 34)",d:"M0 0h40.714v76H0z"})));t.a=function SvgIdeaHubNotification(e){return r.createElement("svg",i({viewBox:"0 0 144 144",fill:"none"},e),a,o,c)}},226:function(e,t,n){"use strict";(function(e){var r=n(1),i=n(86),a=n(227),o=n(52);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(3))},227:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),i=n(51),a=n(8),o=n(197),c=n(198),l=n(199),s=n(200),u=Object(a.j)("notification"),d=Object(i.a)(e.createElement(o.a,null)),f=Object(i.a)(e.createElement(c.a,null)),g=Object(i.a)(e.createElement(l.a,null)),m=Object(i.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(78),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33: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(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return v})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return h})),n.d(t,"m",(function(){return y}));var r=n(22),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),p="".concat(r.o,"_idea-hub-saved-ideas-notification"),v="".concat(r.l,"_idea-hub"),b="new-ideas",h="saved-ideas",y="draft-ideas"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),i=n.n(r),a=n(13),o=n.n(a);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return p.apply(this,arguments)}function p(){return(p=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(a);case 11:if(!t.sent){t.next=13;break}s=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,l,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,l=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(i.a.mark((function t(n,r){var a,o,c,l,s,d,f,g,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},o=a.ttl,c=void 0===o?3600:o,l=a.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=a.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(i.a.mark((function t(n){var r;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(35),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(5),o=n.n(a),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),m=n.n(g),p=n(230),v=n.n(p),b=n(99),h=n(2),y=n(86),_=n(58),k=n(73),E=n(20),O=n(154),w=n(113),j=n(21),S=n(118),x=n(38),N=n(8),C=n(22);function BannerNotification(t){var n,r=t.anchorLink,a=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,D=t.description,T=t.dismiss,M=t.dismissExpires,P=t.format,R=t.id,L=t.isDismissible,A=t.learnMoreDescription,I=t.learnMoreLabel,q=t.learnMoreURL,z=t.logo,F=t.module,U=t.moduleName,B=t.onCTAClick,H=t.onDismiss,V=t.pageIndex,K=t.showOnce,W=t.SmallImageSVG,G=t.title,Q=t.type,$=t.WinImageSVG,J=Object(h.useState)(!1),X=u()(J,2),Y=X[0],Z=X[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ie=Object(h.useRef)(),ae="notification::dismissed::".concat(R),oe=function(){return Object(x.d)(ae,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(N.v)("".concat(C.g,"_site-notification"),"dismiss_notification",R);case 4:if(!H){e.next=7;break}return e.next=7,H(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ie.current;Z(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"confirm_notification",R);case 3:if(!B){e.next=6;break}return e.next=6,B(t);case 6:L&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"click_learn_more_link",R);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.b)(ae);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(M,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(x.a)(ae);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.v)("".concat(C.g,"_site-notification"),"view_notification",R);case 2:if(!(M>0)){e.next=5;break}return e.next=5,de();case 5:if(!L){e.next=11;break}return e.next=8,Object(x.b)(ae);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!K){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),L&&(void 0===ne||ne))return null;var ge,me=Y?"is-closed":"is-open",pe="large"===P&&"win-stats-increase"===Q,ve="mdc-layout-grid__cell--span-12";"large"===P?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",pe&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===P&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===Q?e.createElement(O.a,{width:34}):"win-error"===Q?e.createElement(w.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":pe,"mdc-layout-grid__cell--span-4-desktop":!pe})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(k.a,t)))})))),he=e.createElement(h.Fragment,null,G&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},G),r&&a&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(j.a,{href:r},a)),D&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(D)?D:e.createElement("span",{dangerouslySetInnerHTML:Object(_.a)(D,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(h.Fragment,null," ",e.createElement(j.a,{onClick:function(e){return ue.apply(this,arguments)},href:q,external:!0,inherit:!0},I),A),V&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},V))),s),ye=F?e.createElement(S.a,{slug:F,size:19}):e.createElement(y.a,{height:"34",width:"32"});return e.createElement("section",{id:R,ref:ie,className:m()(d,"googlesitekit-publisher-win",(n={},i()(n,"googlesitekit-publisher-win--".concat(P),P),i()(n,"googlesitekit-publisher-win--".concat(Q),Q),i()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":pe,"mdc-layout-grid__cell--order-1-tablet":pe})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},ye),U&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},U)),W&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(W,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",ve)},pe?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(E.a,{className:"googlesitekit-notification__cta",href:g,target:p,onClick:function(e){return se.apply(this,arguments)}},f),L&&T&&e.createElement(j.a,{onClick:function(e){return ce.apply(this,arguments)}},T)),$&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement($,null))),("win-error"===Q||"win-warning"===Q)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(27);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),i=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),i=n.n(r),a=n(16),o=n.n(a),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=n(7),o=n.n(a),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),i=n[0],a=n[1],c=n[2];return new Date(i,a-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
10
  /* translators: %s: number of days */
11
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(a.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:i.a.string.isRequired,dismissSurvey:i.a.func.isRequired},t.a=u}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(9),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))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),i=n.n(r),a=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},63:function(e,t,n){"use strict";function r(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}))},65:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(109),i=n.n(r)()(e)}).call(this,n(18))},68:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return O})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return j}));var r=n(12),i=n.n(r),a=n(28),o=n.n(a),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(26),f=n(64),g=n.n(f),m=n(1);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:n,minutes:r,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=v(v({unitDisplay:void 0===a?"short":a},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?O(i,v(v({},o),{},{unit:"second"})):Object(m.sprintf)(
12
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
21
  Object(m.__)("%sK","google-site-kit"),O(y(e),e%10==0?{}:t)):O(e,{signDisplay:"never",maximumFractionDigits:1})},k=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,i=r.style,a=void 0===i?"metric":i;return"metric"===a?_(e):"duration"===a?b(e,t):O(e,n)},E=g()(console.warn),O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(a);d<f.length;d++){var g=i()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():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)}
22
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},j=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),i=n.n(r),a=n(45),o=n.n(a),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(9),h=n.n(b),y=n(2),_=n(1),k=n(56),E=n(94),O=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var i=m()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f()(this,n)}}var j=function(t){u()(DataBlock,t);var n=w(DataBlock);function DataBlock(e){var t;return i()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,i=t.datapoint,a=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(y.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(O.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(O.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var w=void 0===i?i:Object(O.q)(i,a||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},w)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(y.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(k.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(E.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(y.Component);j.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},j.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=j}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),i=n.n(r),a=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(a.sprintf)(
23
  /* translators: %d is the number of notifications */
24
+ Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===i&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,a={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=i()(r.value,2),s=l[0],d=l[1];a[s]=d}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),i=n(56),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,i,a,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),i=n.n(r),a=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=l(l({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,n);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,n,c,r)}}}).call(this,n(18))},787:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivationApp}));var r=n(5),i=n.n(r),a=n(13),o=n.n(a),c=n(99),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(20),g=n(226),m=n(14),p=n(22),v=n(8),b=n(15),h=n(11),y=n(34),_=d.a.useSelect,k=d.a.useDispatch;function ActivationApp(){var t=k(y.a).navigateTo,n=_((function(e){return e(b.c).getAdminURL("googlesitekit-dashboard")})),r=_((function(e){return e(b.c).getAdminURL("googlesitekit-splash")})),a=_((function(e){return e(h.a).hasCapability(h.e)}));Object(c.a)((function(){Object(v.v)(p.e,"view_notification")}));var u=a?n:r,d=a?Object(s.__)("Go to Dashboard","google-site-kit"):Object(s.__)("Start setup","google-site-kit"),E=Object(l.useCallback)(function(){var e=o()(i.a.mark((function e(n){var r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),r=a?"dashboard":"splash",e.next=4,Object(v.v)(p.e,"confirm_notification",r);case 4:t(u);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[u,a,t]);return u?e.createElement(m.b,null,e.createElement(m.l,null,e.createElement(m.a,{size:12},e.createElement(g.a,null),e.createElement("h3",{className:"googlesitekit-heading-3 googlesitekit-activation__title"},Object(s.__)("Congratulations, the Site Kit plugin is now activated.","google-site-kit")),e.createElement(f.a,{id:"start-setup-link",className:"googlesitekit-start-setup",onClick:E},d)))):null}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(47),i=n(27);function a(t,n){var a,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===a&&(a=!!n.querySelector("script[".concat(i.b,"]"))),!a){var r=n.createElement("script");r.setAttribute(i.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return y})),n.d(t,"d",(function(){return _})),n.d(t,"f",(function(){return k.c})),n.d(t,"t",(function(){return k.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return O.b})),n.d(t,"h",(function(){return O.a})),n.d(t,"p",(function(){return O.c})),n.d(t,"k",(function(){return w})),n.d(t,"a",(function(){return j})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return x}));var r=n(108),i=n.n(r),a=n(107),o=n.n(a),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===u()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};var m=n(74),p=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var _=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)]},k=n(53),E=n(77),O=n(63),w=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!i()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},x=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,a){var o=Object(s.a)(n);return function(){var n=l()(i.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,y,_,k,E;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,_=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),k=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],E={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:k.join(","),dimension3:_,dimension4:"1.48.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(r),e()};o("event",l,f(f({},E),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&i()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,i){return n.apply(this,arguments)}}()}}).call(this,n(18))},86:function(e,t,n){"use strict";var r=n(2);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},88:function(e,t,n){"use strict";var r=n(100);n.d(t,"a",(function(){return r.a}));var i=n(101);n.d(t,"c",(function(){return i.a}));var a=n(102);n.d(t,"b",(function(){return a.a}))},90:function(e,t,n){"use strict";var r=n(12),i=n.n(r),a=n(289),o=n(0),c=n.n(o),l=n(2),s=n(104);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},91:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return h}));var r=n(16),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(7),u=n.n(s),d=n(4),f=n.n(d),g=n(38),m=f.a.createRegistryControl,p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(g.a)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",m((function(t){return function(){return Object(g.d)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(g.b)("datastore::cache::".concat(e),3600)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().createSnapshot()})))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.a;return Promise.all(v(e).map((function(e){return e.getActions().restoreSnapshot()})))}},94:function(e,t,n){"use strict";(function(e){var r=n(0),i=n.n(r),a=n(9),o=n.n(a),c=n(112),l=n(1),s=n(21);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)(
25
  /* translators: %s: source link */
26
  Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a,inherit:!0})}))}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))},95:function(e,t,n){"use strict";var r=n(2),i=n(33),a=Object(r.createContext)(i.a);t.a=a},96:function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(0),o=n.n(a);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Spinner(t){var n=t.isSaving,r=t.style,i=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:l({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},i)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))}},[[1028,1,0]]]);
dist/assets/js/{googlesitekit-adminbar-272f94df7c93c41b382c.min.js → googlesitekit-adminbar-2e3c962b6fd11dea95f0.js} RENAMED
@@ -32,7 +32,7 @@ Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(
32
  /* translators: %s: module name */
33
  Object(i.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name),m=a.message;Object(s.b)(a)&&(c=Object(i.sprintf)(
34
  /* translators: %s: module name */
35
- Object(i.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),m=Object(u.a)(m,o));var v=null==a||null===(n=a.data)||void 0===n?void 0:n.reconnectURL,b=v?e.createElement(f.a,{message:m,reconnectURL:v}):d.a.sanitize(m,{ALLOWED_TAGS:[]});return e.createElement(g.a,{title:c,description:b,error:!0})}ReportError.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.object.isRequired}}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s),d=n(119),f=n(1),g=n(2),p=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,p=t.className,m=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,O=t.inherit,_=t.inverse,k=t.onClick,E=t.small,j=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||j||!k?j?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",N="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",x=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:i);return e.createElement(N,a()({"aria-label":x,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":_,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":O,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:k,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:j},w),g)}));p.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=p}).call(this,n(3))},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(17),a=n.n(r),i=n(64),o=n.n(i),c=n(228),l=n(292),s=n(293),u=n(294),d=n(295),f=n(296),g=o()((function(e){return{Widget:p(e)(c.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetActivateModuleCTA:p(e)(u.a),WidgetCompleteModuleActivationCTA:p(e)(d.a),WidgetNull:p(e)(f.a)}}));function p(t){return function(n){var r=function WithWidgetSlug(r){return e.createElement(n,a()({},r,{widgetSlug:t}))};return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var m=function(t){var n=g(t);return function(t){var r=function DecoratedComponent(r){return e.createElement(t,a()({},r,n))};return r.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(r.displayName+="(".concat(t.displayName||t.name,")")),r}}}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r="dashboard",a="pageDashboard",i="postsList",o="userInput",c="activation",l="splash",s="adminBar",u="settings",d="module",f="wpDashboard",g="moduleSetup",p="traffic",m="content",v="speed",b="monetization"},228:function(e,t,n){"use strict";(function(e){var r=n(9),a=n.n(r),i=n(0),o=n.n(i),c=function Widget(t){var n=t.children,r=t.className,i=t.widgetSlug,o=t.noPadding,c=t.Header,l=t.Footer;return e.createElement("div",{className:a()("googlesitekit-widget","googlesitekit-widget--".concat(i),{"googlesitekit-widget--no-padding":o},r)},c&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(c,null)),e.createElement("div",{className:"googlesitekit-widget__body"},n),l&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(l,null)))};c.defaultProps={children:void 0,noPadding:!1},c.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=c}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},233:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(395),a=n.n(r);function i(e,t){return a()(e,t)||0}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},278:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7),a=n.n(r),i=n(39),o=function(e){var t=e.startDate,n=e.endDate;return a()(Object(i.a)(t),"A valid startDate is required."),a()(Object(i.a)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}}},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(129);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(203);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(128);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(127);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(121),l=n(126);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),p=u.trackEvent;function m(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,p();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),p=n.n(g),m=n(230),v=n.n(m),b=n(99),h=n(2),y=n(86),O=n(58),_=n(73),k=n(20),E=n(154),j=n(113),w=n(21),S=n(118),N=n(38),x=n(8),C=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,m=t.ctaTarget,R=t.description,P=t.dismiss,T=t.dismissExpires,D=t.format,A=t.id,L=t.isDismissible,q=t.learnMoreDescription,I=t.learnMoreLabel,M=t.learnMoreURL,z=t.logo,B=t.module,U=t.moduleName,F=t.onCTAClick,W=t.onDismiss,H=t.pageIndex,K=t.showOnce,V=t.SmallImageSVG,Q=t.title,G=t.type,$=t.WinImageSVG,Z=Object(h.useState)(!1),J=u()(Z,2),X=J[0],Y=J[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(h.useRef)(),ie="notification::dismissed::".concat(A),oe=function(){return Object(N.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(x.v)("".concat(C.g,"_site-notification"),"dismiss_notification",A);case 4:if(!W){e.next=7;break}return e.next=7,W(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;Y(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(C.g,"_site-notification"),"confirm_notification",A);case 3:if(!F){e.next=6;break}return e.next=6,F(t);case 6:L&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(C.g,"_site-notification"),"click_learn_more_link",A);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(T,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.v)("".concat(C.g,"_site-notification"),"view_notification",A);case 2:if(!(T>0)){e.next=5;break}return e.next=5,de();case 5:if(!L){e.next=11;break}return e.next=8,Object(N.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!K){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),L&&(void 0===ne||ne))return null;var ge,pe=X?"is-closed":"is-open",me="large"===D&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===D?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",me&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===D&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(E.a,{width:34}):"win-error"===G?e.createElement(j.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:p()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":me,"mdc-layout-grid__cell--span-4-desktop":!me})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(_.a,t)))})))),he=e.createElement(h.Fragment,null,Q&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},Q),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(w.a,{href:r},i)),R&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(R)?R:e.createElement("span",{dangerouslySetInnerHTML:Object(O.a)(R,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(h.Fragment,null," ",e.createElement(w.a,{onClick:function(e){return ue.apply(this,arguments)},href:M,external:!0,inherit:!0},I),q),H&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},H))),s),ye=B?e.createElement(S.a,{slug:B,size:19}):e.createElement(y.a,{height:"34",width:"32"});return e.createElement("section",{id:A,ref:ae,className:p()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(D),D),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(pe),pe),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:p()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":me,"mdc-layout-grid__cell--order-1-tablet":me})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},ye),U&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},U)),V&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(V,null)),e.createElement("div",{className:p()("mdc-layout-grid__cell",ve)},me?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(k.a,{className:"googlesitekit-notification__cta",href:g,target:m,onClick:function(e){return se.apply(this,arguments)}},f),L&&P&&e.createElement(w.a,{onClick:function(e){return ce.apply(this,arguments)}},P)),$&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement($,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
36
  /* translators: %s: number of days */
37
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},55:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/search-console",a=1},56:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},63:function(e,t,n){"use strict";function r(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 i(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}))},65:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(109),a=n.n(r)()(e)}).call(this,n(18))},68:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(26),f=n(64),g=n.n(f),p=n(1);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
38
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -49,7 +49,7 @@ Object(p.__)("%sK","google-site-kit"),E(y(e),e%10==0?{}:t)):E(e,{signDisplay:"ne
49
  /* translators: %d is the number of notifications */
50
  Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,p,m;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(p=g[0])||void 0===p||null===(m=p.values)||void 0===m?void 0:m[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},789:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarApp}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(2),l=n(1),s=n(4),u=n.n(s),d=n(21),f=n(15),g=n(11),p=n(8),m=n(22),v=n(790),b=u.a.useSelect;function AdminBarApp(){var t=b((function(e){return e(f.c).getCurrentEntityURL()})),n=b((function(e){return e(f.c).getCurrentEntityTitle()})),r=b((function(e){return e(f.c).getAdminURL("googlesitekit-dashboard",{permaLink:t})})),i=b((function(e){return e(g.a).getDateRangeNumberOfDays()})),s=Object(c.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.v)(m.f,"open_urldetails");case 2:document.location.assign(r);case 3:case"end":return e.stop()}}),e)}))),[r]);return r&&t?e.createElement(c.Fragment,null,e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-3 mdc-layout-grid__cell--align-middle "},e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(l.__)("Stats for","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__title"},n?Object(p.e)(n):t,e.createElement("p",{className:"googlesitekit-adminbar__title--date-range"},Object(l.sprintf)(
51
  /* translators: %s: number of days */
52
- Object(l._n)("over the last %s day","over the last %s days",i,"google-site-kit"),i)))),e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--align-middle "},e.createElement(v.a,null)),e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-2 mdc-layout-grid__cell--align-middle "},e.createElement(d.a,{className:"googlesitekit-adminbar__link",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))))),e.createElement(d.a,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))):null}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},790:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarWidgets}));var r=n(6),a=n.n(r),i=n(9),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(791),d=n(792),f=n(793),g=n(794),p=n(128),m=n(127),v=n(795),b=n(19),h=n(14),y=n(36),O=n(103),_=n(129),k=n(211),E=s.a.useSelect,j=Object(k.b)("adminBarImpressions")(u.a),w=Object(k.b)("adminBarClicks")(d.a),S=Object(k.b)("adminBarUniqueVisitors")(f.a),N=Object(k.b)("adminBarSessions")(g.a);function AdminBarWidgets(){var t=E((function(e){return e(b.a).isModuleConnected("analytics")})),n=E((function(e){return e(b.a).isModuleActive("analytics")})),r=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarImpressions"))||void 0===t?void 0:t.Component)===_.a&&(null===(n=e(y.a).getWidgetState("adminBarClicks"))||void 0===n?void 0:n.Component)===_.a})),i=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarUniqueVisitors"))||void 0===t?void 0:t.Component)===_.a&&(null===(n=e(y.a).getWidgetState("adminBarSessions"))||void 0===n?void 0:n.Component)===_.a})),l=r&&i||r&&!t;return e.createElement(c.Fragment,null,l&&e.createElement(v.a,null),e.createElement(h.l,{className:o()(a()({},O.a,l))},e.createElement(h.a,{lgSize:r?6:3,mdSize:r?4:2},e.createElement(j,null)),e.createElement(h.a,{lgSize:3,mdSize:2,className:o()(a()({},O.a,r))},e.createElement(w,null)),t&&n&&e.createElement(c.Fragment,null,e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(S,null)),e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(N,null))),(!t||!n)&&e.createElement(h.a,{lgSize:6,mdSize:4},!n&&e.createElement(p.a,{moduleSlug:"analytics"}),n&&!t&&e.createElement(m.a,{moduleSlug:"analytics"}))))}}).call(this,n(3))},791:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(73),c=n(81),l=n(11),s=n(15),u=n(55),d=n(8),f=n(132),g=n(233),p=n(136),m=i.a.useSelect;t.a=function AdminBarImpressions(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(u.b).isGatheringData()})),v=m((function(e){return e(s.c).getCurrentEntityURL()})),b=m((function(e){return e(l.a).getDateRangeDates({compare:!0,offsetDays:u.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(l.a).getDateRangeNumberOfDays()})),_={startDate:h,endDate:y,dimensions:"date",url:v},k=m((function(e){return e(u.b).getReport(_)})),E=m((function(e){return e(u.b).hasFinishedResolution("getReport",[_])})),j=m((function(e){return e(u.b).getErrorForSelector("getReport",[_])}));if(!E||void 0===i)return e.createElement(c.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(f.e)(k)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(k,{dateRangeLength:O}),S=w.compareRange,N=w.currentRange,x=Object(g.a)(N,"impressions"),C=Object(g.a)(S,"impressions"),R=Object(d.a)(C,x);return e.createElement(o.a,{className:"overview-total-impressions",title:Object(r.__)("Total Impressions","google-site-kit"),datapoint:x,change:R,changeDataUnit:"%"})}}).call(this,n(3))},792:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(11),c=n(15),l=n(55),s=n(8),u=n(132),d=n(81),f=n(73),g=n(233),p=n(136),m=i.a.useSelect;t.a=function AdminBarClicks(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(l.b).isGatheringData()})),v=m((function(e){return e(c.c).getCurrentEntityURL()})),b=m((function(e){return e(o.a).getDateRangeDates({compare:!0,offsetDays:l.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(o.a).getDateRangeNumberOfDays()})),_={startDate:h,endDate:y,dimensions:"date",url:v},k=m((function(e){return e(l.b).getReport(_)})),E=m((function(e){return e(l.b).hasFinishedResolution("getReport",[_])})),j=m((function(e){return e(l.b).getErrorForSelector("getReport",[_])}));if(!E||void 0===i)return e.createElement(d.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(u.e)(k)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(k,{dateRangeLength:O}),S=w.compareRange,N=w.currentRange,x=Object(g.a)(N,"clicks"),C=Object(g.a)(S,"clicks"),R=Object(s.a)(C,x);return e.createElement(f.a,{className:"overview-total-clicks",title:Object(r.__)("Total Clicks","google-site-kit"),datapoint:x,change:R,changeDataUnit:"%"})}}).call(this,n(3))},793:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(73),c=n(4),l=n.n(c),s=n(81),u=n(11),d=n(15),f=n(10),g=n(8),p=n(182);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=l.a.useSelect;t.a=function AdminBarUniqueVisitors(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),c=b((function(e){return e(d.c).getCurrentEntityURL()})),l=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{metrics:[{expression:"ga:users",alias:"Total Users"}],url:c}),m=b((function(e){return e(f.f).getReport(l)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[l])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[l])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,_=O[0].values,k=O[1].values,E=_[0],j=k[0];return e.createElement(o.a,{className:"overview-total-users",title:Object(i.__)("Total Users","google-site-kit"),datapoint:E,change:Object(g.a)(j,E),changeDataUnit:"%"})}}).call(this,n(3))},794:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(4),c=n.n(o),l=n(73),s=n(81),u=n(11),d=n(15),f=n(10),g=n(8),p=n(182);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=c.a.useSelect;t.a=function AdminBarSessions(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),o=b((function(e){return e(d.c).getCurrentEntityURL()})),c=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{dimensions:"ga:date",limit:10,metrics:[{expression:"ga:sessions",alias:"Sessions"}],url:o}),m=b((function(e){return e(f.f).getReport(c)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[c])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[c])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,_=O[0].values,k=O[1].values,E=_[0],j=Object(g.a)(k[0],_[0]);return e.createElement(l.a,{className:"overview-total-sessions",title:Object(i.__)("Total Sessions","google-site-kit"),datapoint:E,change:j,changeDataUnit:"%"})}}).call(this,n(3))},795:function(e,t,n){"use strict";(function(e){var r=n(1);t.a=function AdminBarZeroData(){return e.createElement("div",null,e.createElement("div",{className:"googlesitekit-adminbar__subtitle googlesitekit-font-weight-bold"},Object(r.__)("No data available yet","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(r.__)("There is no data available for this content yet. This could be because it was recently created or because nobody has accessed it so far.","google-site-kit")))}}).call(this,n(3))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return p.b})),n.d(t,"j",(function(){return p.c})),n.d(t,"q",(function(){return m.c})),n.d(t,"r",(function(){return m.d})),n.d(t,"n",(function(){return m.b})),n.d(t,"i",(function(){return m.a})),n.d(t,"o",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"f",(function(){return _.c})),n.d(t,"t",(function(){return _.i})),n.d(t,"g",(function(){return k.b})),n.d(t,"m",(function(){return k.c})),n.d(t,"b",(function(){return k.a})),n.d(t,"l",(function(){return E.b})),n.d(t,"h",(function(){return E.a})),n.d(t,"p",(function(){return E.c})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return N}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var p=n(74),m=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var O=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)]},_=n(53),k=n(77),E=n(63),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},w=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},N=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,p,m,v,b,h,y,O,_,k;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,O=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),_=null!==(g=null===(p=e._googlesitekitUserData)||void 0===p||null===(m=p.user)||void 0===m?void 0:m.roles)&&void 0!==g?g:[],k={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:_.join(","),dimension3:O,dimension4:"1.48.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},k),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},81:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i),c=n(135);function PreviewBlock(t){var n=t.className,r=t.width,a=t.height,i=t.shape,l=t.padding,s=t.smallWidth,u=t.smallHeight,d=t.tabletWidth,f=t.tabletHeight,g=t.desktopWidth,p=t.desktopHeight,m=Object(c.a)(),v=r,b=a;return"small"===m&&s&&u&&(v=s,b=u),"tablet"===m&&d&&f&&(v=d,b=f),("xlarge"===m||"desktop"===m)&&g&&p&&(v=g,b=p),e.createElement("div",{className:o()("googlesitekit-preview-block",n,{"googlesitekit-preview-block--padding":l}),style:{width:v,height:b}},e.createElement("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===i})}))}PreviewBlock.propTypes={className:a.a.string,width:a.a.string,height:a.a.string,shape:a.a.string,padding:a.a.bool,smallWidth:a.a.string,smallHeight:a.a.string,tabletWidth:a.a.string,tabletHeight:a.a.string,desktopWidth:a.a.string,desktopHeight:a.a.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},t.a=PreviewBlock}).call(this,n(3))},84:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(157),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
53
  /* translators: %s: Error message */
54
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(i.a)(r)&&(a=a+" "+Object(o.sprintf)(
55
  /* translators: %s: Reconnect URL */
32
  /* translators: %s: module name */
33
  Object(i.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name),m=a.message;Object(s.b)(a)&&(c=Object(i.sprintf)(
34
  /* translators: %s: module name */
35
+ Object(i.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),m=Object(u.a)(m,o));var v=null==a||null===(n=a.data)||void 0===n?void 0:n.reconnectURL,b=v?e.createElement(f.a,{message:m,reconnectURL:v}):d.a.sanitize(m,{ALLOWED_TAGS:[]});return e.createElement(g.a,{title:c,description:b,error:!0})}ReportError.propTypes={moduleSlug:a.a.string.isRequired,error:a.a.object.isRequired}}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s),d=n(119),f=n(1),g=n(2),p=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,p=t.className,m=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,O=t.inherit,_=t.inverse,k=t.onClick,E=t.small,j=t.to,w=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||j||!k?j?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",N="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",x=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:i);return e.createElement(N,a()({"aria-label":x,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":_,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":O,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:k,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:j},w),g)}));p.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=p}).call(this,n(3))},211:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(17),a=n.n(r),i=n(64),o=n.n(i),c=n(228),l=n(292),s=n(293),u=n(294),d=n(295),f=n(296),g=o()((function(e){return{Widget:p(e)(c.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetActivateModuleCTA:p(e)(u.a),WidgetCompleteModuleActivationCTA:p(e)(d.a),WidgetNull:p(e)(f.a)}}));function p(t){return function(n){var r=function WithWidgetSlug(r){return e.createElement(n,a()({},r,{widgetSlug:t}))};return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var m=function(t){var n=g(t);return function(t){var r=function DecoratedComponent(r){return e.createElement(t,a()({},r,n))};return r.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(r.displayName+="(".concat(t.displayName||t.name,")")),r}}}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r="dashboard",a="pageDashboard",i="postsList",o="userInput",c="activation",l="splash",s="adminBar",u="settings",d="module",f="wpDashboard",g="moduleSetup",p="traffic",m="content",v="speed",b="monetization"},228:function(e,t,n){"use strict";(function(e){var r=n(9),a=n.n(r),i=n(0),o=n.n(i),c=function Widget(t){var n=t.children,r=t.className,i=t.widgetSlug,o=t.noPadding,c=t.Header,l=t.Footer;return e.createElement("div",{className:a()("googlesitekit-widget","googlesitekit-widget--".concat(i),{"googlesitekit-widget--no-padding":o},r)},c&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(c,null)),e.createElement("div",{className:"googlesitekit-widget__body"},n),l&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(l,null)))};c.defaultProps={children:void 0,noPadding:!1},c.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=c}).call(this,n(3))},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},233:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(395),a=n.n(r);function i(e,t){return a()(e,t)||0}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},278:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(7),a=n.n(r),i=n(39),o=function(e){var t=e.startDate,n=e.endDate;return a()(Object(i.a)(t),"A valid startDate is required."),a()(Object(i.a)(n),"A valid endDate is required."),{start_date:t.replace(/-/g,""),end_date:n.replace(/-/g,"")}}},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(129);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(203);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(128);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(127);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(121),l=n(126);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),p=u.trackEvent;function m(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,p();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),p=n.n(g),m=n(230),v=n.n(m),b=n(99),h=n(2),y=n(86),O=n(58),_=n(73),k=n(20),E=n(154),j=n(113),w=n(21),S=n(118),N=n(38),x=n(8),C=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,m=t.ctaTarget,R=t.description,P=t.dismiss,T=t.dismissExpires,D=t.format,A=t.id,L=t.isDismissible,q=t.learnMoreDescription,I=t.learnMoreLabel,M=t.learnMoreURL,z=t.logo,B=t.module,U=t.moduleName,F=t.onCTAClick,W=t.onDismiss,H=t.pageIndex,K=t.showOnce,V=t.SmallImageSVG,Q=t.title,G=t.type,$=t.WinImageSVG,Z=Object(h.useState)(!1),J=u()(Z,2),X=J[0],Y=J[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(h.useRef)(),ie="notification::dismissed::".concat(A),oe=function(){return Object(N.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(x.v)("".concat(C.g,"_site-notification"),"dismiss_notification",A);case 4:if(!W){e.next=7;break}return e.next=7,W(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;Y(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(C.g,"_site-notification"),"confirm_notification",A);case 3:if(!F){e.next=6;break}return e.next=6,F(t);case 6:L&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(x.v)("".concat(C.g,"_site-notification"),"click_learn_more_link",A);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(T,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.v)("".concat(C.g,"_site-notification"),"view_notification",A);case 2:if(!(T>0)){e.next=5;break}return e.next=5,de();case 5:if(!L){e.next=11;break}return e.next=8,Object(N.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!K){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),L&&(void 0===ne||ne))return null;var ge,pe=X?"is-closed":"is-open",me="large"===D&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===D?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",me&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===D&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(E.a,{width:34}):"win-error"===G?e.createElement(j.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:p()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":me,"mdc-layout-grid__cell--span-4-desktop":!me})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(_.a,t)))})))),he=e.createElement(h.Fragment,null,Q&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},Q),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(w.a,{href:r},i)),R&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(R)?R:e.createElement("span",{dangerouslySetInnerHTML:Object(O.a)(R,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(h.Fragment,null," ",e.createElement(w.a,{onClick:function(e){return ue.apply(this,arguments)},href:M,external:!0,inherit:!0},I),q),H&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},H))),s),ye=B?e.createElement(S.a,{slug:B,size:19}):e.createElement(y.a,{height:"34",width:"32"});return e.createElement("section",{id:A,ref:ae,className:p()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(D),D),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(pe),pe),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:p()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":me,"mdc-layout-grid__cell--order-1-tablet":me})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},ye),U&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},U)),V&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(V,null)),e.createElement("div",{className:p()("mdc-layout-grid__cell",ve)},me?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(k.a,{className:"googlesitekit-notification__cta",href:g,target:m,onClick:function(e){return se.apply(this,arguments)}},f),L&&P&&e.createElement(w.a,{onClick:function(e){return ce.apply(this,arguments)}},P)),$&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement($,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
36
  /* translators: %s: number of days */
37
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},55:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/search-console",a=1},56:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},63:function(e,t,n){"use strict";function r(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 i(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}))},65:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(109),a=n.n(r)()(e)}).call(this,n(18))},68:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return w}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(26),f=n(64),g=n.n(f),p=n(1);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
38
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
49
  /* translators: %d is the number of notifications */
50
  Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,p,m;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(p=g[0])||void 0===p||null===(m=p.values)||void 0===m?void 0:m[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},789:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarApp}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(2),l=n(1),s=n(4),u=n.n(s),d=n(21),f=n(15),g=n(11),p=n(8),m=n(22),v=n(790),b=u.a.useSelect;function AdminBarApp(){var t=b((function(e){return e(f.c).getCurrentEntityURL()})),n=b((function(e){return e(f.c).getCurrentEntityTitle()})),r=b((function(e){return e(f.c).getAdminURL("googlesitekit-dashboard",{permaLink:t})})),i=b((function(e){return e(g.a).getDateRangeNumberOfDays()})),s=Object(c.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(p.v)(m.f,"open_urldetails");case 2:document.location.assign(r);case 3:case"end":return e.stop()}}),e)}))),[r]);return r&&t?e.createElement(c.Fragment,null,e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-3 mdc-layout-grid__cell--align-middle "},e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(l.__)("Stats for","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__title"},n?Object(p.e)(n):t,e.createElement("p",{className:"googlesitekit-adminbar__title--date-range"},Object(l.sprintf)(
51
  /* translators: %s: number of days */
52
+ Object(l._n)("over the last %s day","over the last %s days",i,"google-site-kit"),i)))),e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--align-middle "},e.createElement(v.a,null)),e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-2 mdc-layout-grid__cell--align-middle "},e.createElement(d.a,{className:"googlesitekit-adminbar__link",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))))),e.createElement(d.a,{className:"googlesitekit-adminbar__link googlesitekit-adminbar__link--mobile",href:"#",onClick:s},Object(l.__)("More details","google-site-kit"))):null}}).call(this,n(3))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},790:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminBarWidgets}));var r=n(6),a=n.n(r),i=n(9),o=n.n(i),c=n(2),l=n(4),s=n.n(l),u=n(791),d=n(792),f=n(793),g=n(794),p=n(128),m=n(127),v=n(795),b=n(19),h=n(14),y=n(36),O=n(103),_=n(129),k=n(211),E=s.a.useSelect,j=Object(k.b)("adminBarImpressions")(u.a),w=Object(k.b)("adminBarClicks")(d.a),S=Object(k.b)("adminBarUniqueVisitors")(f.a),N=Object(k.b)("adminBarSessions")(g.a);function AdminBarWidgets(){var t=E((function(e){return e(b.a).isModuleConnected("analytics")})),n=E((function(e){return e(b.a).isModuleActive("analytics")})),r=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarImpressions"))||void 0===t?void 0:t.Component)===_.a&&(null===(n=e(y.a).getWidgetState("adminBarClicks"))||void 0===n?void 0:n.Component)===_.a})),i=E((function(e){var t,n;return(null===(t=e(y.a).getWidgetState("adminBarUniqueVisitors"))||void 0===t?void 0:t.Component)===_.a&&(null===(n=e(y.a).getWidgetState("adminBarSessions"))||void 0===n?void 0:n.Component)===_.a})),l=r&&i||r&&!t;return e.createElement(c.Fragment,null,l&&e.createElement(v.a,null),e.createElement(h.l,{className:o()(a()({},O.a,l))},e.createElement(h.a,{lgSize:r?6:3,mdSize:r?4:2},e.createElement(j,null)),e.createElement(h.a,{lgSize:3,mdSize:2,className:o()(a()({},O.a,r))},e.createElement(w,null)),t&&n&&e.createElement(c.Fragment,null,e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(S,null)),e.createElement(h.a,{lgSize:3,mdSize:2},e.createElement(N,null))),(!t||!n)&&e.createElement(h.a,{lgSize:6,mdSize:4},!n&&e.createElement(p.a,{moduleSlug:"analytics"}),n&&!t&&e.createElement(m.a,{moduleSlug:"analytics"}))))}}).call(this,n(3))},791:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(73),c=n(81),l=n(11),s=n(15),u=n(55),d=n(8),f=n(132),g=n(233),p=n(136),m=i.a.useSelect;t.a=function AdminBarImpressions(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(u.b).isGatheringData()})),v=m((function(e){return e(s.c).getCurrentEntityURL()})),b=m((function(e){return e(l.a).getDateRangeDates({compare:!0,offsetDays:u.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(l.a).getDateRangeNumberOfDays()})),_={startDate:h,endDate:y,dimensions:"date",url:v},k=m((function(e){return e(u.b).getReport(_)})),E=m((function(e){return e(u.b).hasFinishedResolution("getReport",[_])})),j=m((function(e){return e(u.b).getErrorForSelector("getReport",[_])}));if(!E||void 0===i)return e.createElement(c.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(f.e)(k)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(k,{dateRangeLength:O}),S=w.compareRange,N=w.currentRange,x=Object(g.a)(N,"impressions"),C=Object(g.a)(S,"impressions"),R=Object(d.a)(C,x);return e.createElement(o.a,{className:"overview-total-impressions",title:Object(r.__)("Total Impressions","google-site-kit"),datapoint:x,change:R,changeDataUnit:"%"})}}).call(this,n(3))},792:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(4),i=n.n(a),o=n(11),c=n(15),l=n(55),s=n(8),u=n(132),d=n(81),f=n(73),g=n(233),p=n(136),m=i.a.useSelect;t.a=function AdminBarClicks(t){var n=t.WidgetReportZero,a=t.WidgetReportError,i=m((function(e){return e(l.b).isGatheringData()})),v=m((function(e){return e(c.c).getCurrentEntityURL()})),b=m((function(e){return e(o.a).getDateRangeDates({compare:!0,offsetDays:l.a})})),h=b.compareStartDate,y=b.endDate,O=m((function(e){return e(o.a).getDateRangeNumberOfDays()})),_={startDate:h,endDate:y,dimensions:"date",url:v},k=m((function(e){return e(l.b).getReport(_)})),E=m((function(e){return e(l.b).hasFinishedResolution("getReport",[_])})),j=m((function(e){return e(l.b).getErrorForSelector("getReport",[_])}));if(!E||void 0===i)return e.createElement(d.a,{width:"auto",height:"59px"});if(j)return e.createElement(a,{moduleSlug:"search-console",error:j});if(Object(u.e)(k)&&i)return e.createElement(n,{moduleSlug:"search-console"});var w=Object(p.a)(k,{dateRangeLength:O}),S=w.compareRange,N=w.currentRange,x=Object(g.a)(N,"clicks"),C=Object(g.a)(S,"clicks"),R=Object(s.a)(C,x);return e.createElement(f.a,{className:"overview-total-clicks",title:Object(r.__)("Total Clicks","google-site-kit"),datapoint:x,change:R,changeDataUnit:"%"})}}).call(this,n(3))},793:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(73),c=n(4),l=n.n(c),s=n(81),u=n(11),d=n(15),f=n(10),g=n(8),p=n(182);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=l.a.useSelect;t.a=function AdminBarUniqueVisitors(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),c=b((function(e){return e(d.c).getCurrentEntityURL()})),l=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{metrics:[{expression:"ga:users",alias:"Total Users"}],url:c}),m=b((function(e){return e(f.f).getReport(l)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[l])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[l])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,_=O[0].values,k=O[1].values,E=_[0],j=k[0];return e.createElement(o.a,{className:"overview-total-users",title:Object(i.__)("Total Users","google-site-kit"),datapoint:E,change:Object(g.a)(j,E),changeDataUnit:"%"})}}).call(this,n(3))},794:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(1),o=n(4),c=n.n(o),l=n(73),s=n(81),u=n(11),d=n(15),f=n(10),g=n(8),p=n(182);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=c.a.useSelect;t.a=function AdminBarSessions(t){var n=t.WidgetReportZero,r=t.WidgetReportError,a=b((function(e){return e(f.f).isGatheringData()})),o=b((function(e){return e(d.c).getCurrentEntityURL()})),c=v(v({},b((function(e){return e(u.a).getDateRangeDates({compare:!0,offsetDays:f.b})}))),{},{dimensions:"ga:date",limit:10,metrics:[{expression:"ga:sessions",alias:"Sessions"}],url:o}),m=b((function(e){return e(f.f).getReport(c)})),h=b((function(e){return e(f.f).hasFinishedResolution("getReport",[c])})),y=b((function(e){return e(f.f).getErrorForSelector("getReport",[c])}));if(!h||void 0===a)return e.createElement(s.a,{width:"auto",height:"59px"});if(y)return e.createElement(r,{moduleSlug:"analytics",error:y});if(Object(p.a)(m)&&a)return e.createElement(n,{moduleSlug:"analytics"});var O=m[0].data.totals,_=O[0].values,k=O[1].values,E=_[0],j=Object(g.a)(k[0],_[0]);return e.createElement(l.a,{className:"overview-total-sessions",title:Object(i.__)("Total Sessions","google-site-kit"),datapoint:E,change:j,changeDataUnit:"%"})}}).call(this,n(3))},795:function(e,t,n){"use strict";(function(e){var r=n(1);t.a=function AdminBarZeroData(){return e.createElement("div",null,e.createElement("div",{className:"googlesitekit-adminbar__subtitle googlesitekit-font-weight-bold"},Object(r.__)("No data available yet","google-site-kit")),e.createElement("div",{className:"googlesitekit-adminbar__subtitle"},Object(r.__)("There is no data available for this content yet. This could be because it was recently created or because nobody has accessed it so far.","google-site-kit")))}}).call(this,n(3))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return p.b})),n.d(t,"j",(function(){return p.c})),n.d(t,"q",(function(){return m.c})),n.d(t,"r",(function(){return m.d})),n.d(t,"n",(function(){return m.b})),n.d(t,"i",(function(){return m.a})),n.d(t,"o",(function(){return y})),n.d(t,"d",(function(){return O})),n.d(t,"f",(function(){return _.c})),n.d(t,"t",(function(){return _.i})),n.d(t,"g",(function(){return k.b})),n.d(t,"m",(function(){return k.c})),n.d(t,"b",(function(){return k.a})),n.d(t,"l",(function(){return E.b})),n.d(t,"h",(function(){return E.a})),n.d(t,"p",(function(){return E.c})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return N}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var p=n(74),m=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function y(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var O=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)]},_=n(53),k=n(77),E=n(63),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},w=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},N=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,p,m,v,b,h,y,O,_,k;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,y=t.trackingID,O=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),_=null!==(g=null===(p=e._googlesitekitUserData)||void 0===p||null===(m=p.user)||void 0===m?void 0:m.roles)&&void 0!==g?g:[],k={send_to:y,event_category:c,event_label:s,value:d,dimension1:b,dimension2:_.join(","),dimension3:O,dimension4:"1.48.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},k),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},81:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i),c=n(135);function PreviewBlock(t){var n=t.className,r=t.width,a=t.height,i=t.shape,l=t.padding,s=t.smallWidth,u=t.smallHeight,d=t.tabletWidth,f=t.tabletHeight,g=t.desktopWidth,p=t.desktopHeight,m=Object(c.a)(),v=r,b=a;return"small"===m&&s&&u&&(v=s,b=u),"tablet"===m&&d&&f&&(v=d,b=f),("xlarge"===m||"desktop"===m)&&g&&p&&(v=g,b=p),e.createElement("div",{className:o()("googlesitekit-preview-block",n,{"googlesitekit-preview-block--padding":l}),style:{width:v,height:b}},e.createElement("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===i})}))}PreviewBlock.propTypes={className:a.a.string,width:a.a.string,height:a.a.string,shape:a.a.string,padding:a.a.bool,smallWidth:a.a.string,smallHeight:a.a.string,tabletWidth:a.a.string,tabletHeight:a.a.string,desktopWidth:a.a.string,desktopHeight:a.a.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},t.a=PreviewBlock}).call(this,n(3))},84:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(157),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
53
  /* translators: %s: Error message */
54
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(i.a)(r)&&(a=a+" "+Object(o.sprintf)(
55
  /* translators: %s: Reconnect URL */
dist/assets/js/{googlesitekit-api-a4e7d97cdf32b7f325d7.min.js → googlesitekit-api-26ce8eaec5dba8b68ca9.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},11:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return c}));var r="core/user",a="connected_url_mismatch",i="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},216:function(t,e,n){"use strict";(function(t){var r=n(48),a=n.n(r),i=n(217),o=t._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=u,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(l),a.a.preloadingMiddleware=Object(i.a)(s),a.a.use(a.a.nonceMiddleware),a.a.use(a.a.mediaUploadMiddleware),a.a.use(a.a.rootURLMiddleware),a.a.use(a.a.preloadingMiddleware),e.default=a.a}).call(this,n(18))},217:function(t,e,n){"use strict";var r=n(209);e.a=function(t){var e=Object.keys(t).reduce((function(e,n){return e[Object(r.getStablePath)(n)]=t[n],e}),{}),n=!1;return function(t,a){if(n)return a(t);setTimeout((function(){n=!0}),1e3);var i=t.parse,o=void 0===i||i,c=t.path;if("string"==typeof t.path){var u,s=(null===(u=t.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===s&&e[l]){var f=Promise.resolve(e[l].body);return delete e[l],f}if("OPTIONS"===s&&e[s]&&e[s][l]){var d=Promise.resolve(e[s][l]);return delete e[s][l],d}}return a(t)}}},27:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return p}));var r=n(78),a=t._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(r.a)(s),f=l.enableTracking,d=l.disableTracking,v=(l.isTrackingEnabled,l.initializeSnippet),p=l.trackEvent;function g(t){t?f():d()}c&&u&&v()}).call(this,n(18))},33:function(t,e,n){"use strict";(function(t){var r,a;n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var i=new Set((null===(r=t)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e instanceof Set&&e.has(t)}}).call(this,n(18))},35:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,l="googlesitekit_".concat("1.48.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),v=function(){var e=o()(a.a.mark((function e(n){var r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t[n]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==r.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function p(){return g.apply(this,arguments)}function g(){return(g=o()(a.a.mark((function e(){var n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:n=c(d),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=15;break}if(i=r.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,v(i);case 11:if(!e.sent){e.next=13;break}s=t[i];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),n.e(e.t0);case 20:return e.prev=20,n.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=o()(a.a.mark((function t(e){var n,r,i,o,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=10;break}if(!(r=n.getItem("".concat(l).concat(e)))){t.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,u=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=o()(a.a.mark((function e(n,r){var i,o,c,u,s,f,d,v,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=g.length>2&&void 0!==g[2]?g[2]:{},o=i.ttl,c=void 0===o?3600:o,u=i.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,d=void 0!==f&&f,e.next=3,p();case 3:if(!(v=e.sent)){e.next=14;break}return e.prev=5,v.setItem("".concat(l).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,n){return e.apply(this,arguments)}}(),m=function(){var e=o()(a.a.mark((function e(n){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(r=e.sent)){e.next=13;break}return e.prev=4,r.removeItem("".concat(l).concat(n)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=o()(a.a.mark((function e(){var n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=14;break}for(e.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(l)&&r.push(o.substring(l.length));return e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(18))},387:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(7),u=n.n(c),s=n(216),l=n(276),f=n(38),d=n(8),v=n(89),p=n(428),g=n(11),b=!0,h=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[t,e,n].filter((function(t){return!!t&&t.length}));return 3===a.length&&r&&r.constructor===Object&&Object.keys(r).length&&a.push(Object(d.u)(r)),a.join("::")},m=function(e){var n,r,a,i,o=null===(n=t.googlesitekit)||void 0===n||null===(r=n.data)||void 0===r||null===(a=r.dispatch)||void 0===a?void 0:a.call(r,g.a);o&&(e.code===v.a?o.setPermissionScopeError(e):(null===(i=e.data)||void 0===i?void 0:i.reconnectURL)&&o.setAuthError(e))},y=function(){var e=o()(a.a.mark((function e(n,r,i){var o,c,d,v,g,b,y,w,O,j,_,x,S,D,E,P,I,N=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=N.length>3&&void 0!==N[3]?N[3]:{},c=o.bodyParams,d=o.cacheTTL,v=void 0===d?3600:d,g=o.method,b=void 0===g?"GET":g,y=o.queryParams,w=o.useCache,O=void 0===w?void 0:w,j=o.signal,u()(n,"`type` argument for requests is required."),u()(r,"`identifier` argument for requests is required."),u()(i,"`datapoint` argument for requests is required."),_="GET"===b&&(void 0!==O?O:k()),x=h(n,r,i,y),!_){e.next=18;break}return e.next=9,Object(f.b)(x);case 9:if(S=e.sent,D=S.cacheHit,E=S.value,!S.isError){e.next=16;break}throw m(E),E;case 16:if(!D){e.next=18;break}return e.abrupt("return",E);case 18:return e.prev=18,e.next=21,Object(s.default)({data:c,method:b,signal:j,path:Object(l.a)("/google-site-kit/v1/".concat(n,"/").concat(r,"/data/").concat(i),y)});case 21:if(P=e.sent,!_){e.next=25;break}return e.next=25,Object(f.d)(x,P,{ttl:v});case 25:return e.abrupt("return",P);case 28:if(e.prev=28,e.t0=e.catch(18),!(null===e.t0||void 0===e.t0||null===(I=e.t0.data)||void 0===I?void 0:I.cacheTTL)){e.next=33;break}return e.next=33,Object(f.d)(x,e.t0,{ttl:e.t0.data.cacheTTL,isError:!0});case 33:throw Object(p.a)({method:b,datapoint:i,type:n,identifier:r,error:e.t0}),m(e.t0),t.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(i),"type:".concat(n),"identifier:".concat(r),'error:"'.concat(e.t0.message,'"')),e.t0;case 37:case"end":return e.stop()}}),e,null,[[18,28]])})));return function(t,n,r){return e.apply(this,arguments)}}(),w=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,t.abrupt("return",y(e,n,r,{cacheTTL:u,queryParams:i,useCache:l,signal:f}));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,t.next=3,y(e,n,r,{bodyParams:{data:i},method:u,queryParams:l,useCache:!1});case 3:return f=t.sent,t.next=6,j(e,n,r);case 6:return t.abrupt("return",f);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),k=function(){return b},j=function(){var t=o()(a.a.mark((function t(e,n,r){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h(e,n,r),t.next=3,Object(f.c)();case 3:t.sent.forEach((function(t){0===t.indexOf(i)&&Object(f.a)(t)}));case 5:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),_={invalidateCache:j,get:w,set:O,setUsingCache:function(t){return b=!!t},usingCache:k};e.b=_}).call(this,n(18))},39:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(35),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var n=t.split("-");return 3===n.length&&Object(r.a)(new Date(t))}},428:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(8),u=["fetch_error"];function s(t){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(e){var n,r,i,o,s,l,f,d;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.method,o=e.type,s=e.identifier,l=e.datapoint,(f=e.error)&&!u.includes(null==f?void 0:f.code)){t.next=3;break}return t.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(n=f.data)||void 0===n?void 0:n.reason)&&(d+=", reason: ".concat(f.data.reason)),t.next=7,Object(c.v)("api_error","".concat(i,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(r=f.data)||void 0===r?void 0:r.status)||f.code);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},47:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(27);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},51:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(2),a=function(t){return function(e){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(e,n),t)}}}},53:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return f.a})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return h})),n.d(e,"i",(function(){return d}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),u=function(t){var e=new Date(t);o()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),l=n.n(s),f=n(39),d=function(t){o()(Object(f.a)(t),r);var e=t.split("-"),n=l()(e,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=d(t);return n.setDate(n.getDate()-e),u(n)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=n(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},56:function(t,e,n){"use strict";(function(t){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(e){var n=e.direction,r=e.invertColor,a=e.width,i=e.height;return t.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,n(3))},58:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,e)}};function c(t){var e,n="object"===a()(t)?t.toString():t;return null==n||null===(e=n.replace)||void 0===e?void 0:e.call(n,/\/+$/,"")}},63:function(t,e,n){"use strict";function r(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function i(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return i}))},65:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(109),a=n.n(r)()(t)}).call(this,n(18))},68:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return j})),n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return x}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),u=n.n(c),s=n(16),l=n.n(s),f=n(26),d=n(64),v=n.n(d),p=n(1);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){u()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(t,e),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(t){return a()}},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var n=Math.floor(t/60/60),r=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=e.unitDisplay,o=b(b({unitDisplay:void 0===i?"short":i},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?j(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(p.__)("%sK","google-site-kit"),j(y(t))):1e3<=t?Object(p.sprintf)(// trans
13
  Object(p.__)("%sK","google-site-kit"),j(y(t),t%10==0?{}:e)):j(t,{signDisplay:"never",maximumFractionDigits:1})},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var n={};if("%"===e)n={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?n={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(n=b({},e))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?w(t):"duration"===i?h(t,e):j(t,n)},k=v()(console.warn),j=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,i=l()(e,["locale"]);try{return new Intl.NumberFormat(r,i).format(t)}catch(e){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(i);f<d.length;f++){var v=a()(d[f],2),p=v[0],g=v[1];c[p]&&g===c[p]||(u.includes(p)||(s[p]=g))}try{return new Intl.NumberFormat(r,s).format(t)}catch(e){return new Intl.NumberFormat(r).format(t)}},_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,a=e.style,i=void 0===a?"long":a,o=e.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(r,{style:i,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return t.join(s)},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,n(18))},74:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return f}));var r=n(12),a=n.n(r),i=n(1);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(i._n)("%d notification","%d notifications",t,"google-site-kit"),t),o.appendChild(c),o.appendChild(u),e&&null===r&&e.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),n={},r=0;r<e.length;r++)n[e[r].split("=")[0]]=decodeURIComponent(e[r].split("=")[1]);return t?n.hasOwnProperty(t)?decodeURIComponent(n[t].replace(/\+/g," ")):"":n},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(e.href);if(t)return n.searchParams&&n.searchParams.get?n.searchParams.get(t):l(t);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var u=a()(r.value,2),s=u[0],f=u[1];i[s]=f}}catch(t){c.e(t)}finally{c.f()}return i}}).call(this,n(18))},76:function(t,e,n){"use strict";(function(t){n(44),n(45)}).call(this,n(18))},77:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(184),a=n(56),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:o}))},o=function(t){var e,n,r,a,i,o,c,u,s,l,f,d,v,p,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==t||null===(a=t[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(v=d.totals)||void 0===v||null===(p=v[0])||void 0===p||null===(g=p.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,n(3))},78:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(47),a=n(27);function i(e,n){var i,o=Object(r.a)(n);return function(){var n=t.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(t,e,n){"use strict";n.d(e,"v",(function(){return c.b})),n.d(e,"s",(function(){return u.a})),n.d(e,"w",(function(){return u.b})),n.d(e,"u",(function(){return v})),n.d(e,"c",(function(){return p.b})),n.d(e,"j",(function(){return p.c})),n.d(e,"q",(function(){return g.c})),n.d(e,"r",(function(){return g.d})),n.d(e,"n",(function(){return g.b})),n.d(e,"i",(function(){return g.a})),n.d(e,"o",(function(){return y})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return O.c})),n.d(e,"t",(function(){return O.i})),n.d(e,"g",(function(){return k.b})),n.d(e,"m",(function(){return k.c})),n.d(e,"b",(function(){return k.a})),n.d(e,"l",(function(){return j.b})),n.d(e,"h",(function(){return j.a})),n.d(e,"p",(function(){return j.c})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return x})),n.d(e,"x",(function(){return S})),n.d(e,"e",(function(){return D}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),u=n(58),s=n(28),l=n.n(s),f=n(72),d=n.n(f),v=function(t){return d()(JSON.stringify(function t(e){var n={};return Object.keys(e).sort().forEach((function(r){var a=e[r];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),n[r]=a})),n}(t)))};var p=n(74),g=(n(76),n(68));n(51);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var e=t,n=0,r=[b,h,m];n<r.length;n++){e=(0,r[n])(e)}return e}var w=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},O=n(53),k=n(77),j=n(63),_=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},x=function(t,e){if("0"===t||0===t||isNaN(t))return null;var n=(e-t)/t;return isNaN(n)||!a()(n)?null:n},S=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return o()(e)}},80:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),u=n.n(c),s=n(47),l=n(33);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(e,n,r,i){var o=Object(s.a)(n);return function(){var n=u()(a.a.mark((function n(c,u,s,f){var v,p,g,b,h,m,y,w,O,k;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,m=e.trackingEnabled,y=e.trackingID,w=e.userIDHash,m){n.next=3;break}return n.abrupt("return");case 3:return r(),O=null!==(v=null===(p=t._googlesitekitUserData)||void 0===p||null===(g=p.user)||void 0===g?void 0:g.roles)&&void 0!==v?v:[],k={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:O.join(","),dimension3:w,dimension4:"1.48.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},n.abrupt("return",new Promise((function(t){var e,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(r),t()};o("event",u,d(d({},k),{},{event_callback:a})),(null===(e=i._gaUserPrefs)||void 0===e||null===(n=e.ioo)||void 0===n?void 0:n.call(e))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(t,e,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},853:function(t,e,n){"use strict";n.r(e),function(t){var r=n(387);void 0===t.googlesitekit&&(t.googlesitekit={}),void 0===t.googlesitekit.api&&(t.googlesitekit.api=r.b),e.default=r.b}.call(this,n(18))},89:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i}));n(50);var r="missing_required_scopes";function a(t){return(null==t?void 0:t.code)===r}function i(t){var e;return"insufficientPermissions"===(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}}},[[853,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},11:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"c",(function(){return c}));var r="core/user",a="connected_url_mismatch",i="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},216:function(t,e,n){"use strict";(function(t){var r=n(48),a=n.n(r),i=n(217),o=t._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;a.a.nonceEndpoint=u,a.a.nonceMiddleware=a.a.createNonceMiddleware(c),a.a.rootURLMiddleware=a.a.createRootURLMiddleware(l),a.a.preloadingMiddleware=Object(i.a)(s),a.a.use(a.a.nonceMiddleware),a.a.use(a.a.mediaUploadMiddleware),a.a.use(a.a.rootURLMiddleware),a.a.use(a.a.preloadingMiddleware),e.default=a.a}).call(this,n(18))},217:function(t,e,n){"use strict";var r=n(209);e.a=function(t){var e=Object.keys(t).reduce((function(e,n){return e[Object(r.getStablePath)(n)]=t[n],e}),{}),n=!1;return function(t,a){if(n)return a(t);setTimeout((function(){n=!0}),1e3);var i=t.parse,o=void 0===i||i,c=t.path;if("string"==typeof t.path){var u,s=(null===(u=t.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(r.getStablePath)(c);if(o&&"GET"===s&&e[l]){var f=Promise.resolve(e[l].body);return delete e[l],f}if("OPTIONS"===s&&e[s]&&e[s][l]){var d=Promise.resolve(e[s][l]);return delete e[s][l],d}}return a(t)}}},27:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return g})),n.d(e,"b",(function(){return p}));var r=n(78),a=t._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(r.a)(s),f=l.enableTracking,d=l.disableTracking,v=(l.isTrackingEnabled,l.initializeSnippet),p=l.trackEvent;function g(t){t?f():d()}c&&u&&v()}).call(this,n(18))},33:function(t,e,n){"use strict";(function(t){var r,a;n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var i=new Set((null===(r=t)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return e instanceof Set&&e.has(t)}}).call(this,n(18))},35:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return b})),n.d(e,"d",(function(){return h})),n.d(e,"a",(function(){return m})),n.d(e,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){c=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s,l="googlesitekit_".concat("1.48.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),v=function(){var e=o()(a.a.mark((function e(n){var r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t[n]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==r.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function p(){return g.apply(this,arguments)}function g(){return(g=o()(a.a.mark((function e(){var n,r,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:n=c(d),e.prev=3,n.s();case 5:if((r=n.n()).done){e.next=15;break}if(i=r.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,v(i);case 11:if(!e.sent){e.next=13;break}s=t[i];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),n.e(e.t0);case 20:return e.prev=20,n.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=o()(a.a.mark((function t(e){var n,r,i,o,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=10;break}if(!(r=n.getItem("".concat(l).concat(e)))){t.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,u=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=o()(a.a.mark((function e(n,r){var i,o,c,u,s,f,d,v,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=g.length>2&&void 0!==g[2]?g[2]:{},o=i.ttl,c=void 0===o?3600:o,u=i.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=i.isError,d=void 0!==f&&f,e.next=3,p();case 3:if(!(v=e.sent)){e.next=14;break}return e.prev=5,v.setItem("".concat(l).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,n){return e.apply(this,arguments)}}(),m=function(){var e=o()(a.a.mark((function e(n){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(r=e.sent)){e.next=13;break}return e.prev=4,r.removeItem("".concat(l).concat(n)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=o()(a.a.mark((function e(){var n,r,i,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=14;break}for(e.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(l)&&r.push(o.substring(l.length));return e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(18))},387:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(7),u=n.n(c),s=n(216),l=n(276),f=n(38),d=n(8),v=n(89),p=n(428),g=n(11),b=!0,h=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[t,e,n].filter((function(t){return!!t&&t.length}));return 3===a.length&&r&&r.constructor===Object&&Object.keys(r).length&&a.push(Object(d.u)(r)),a.join("::")},m=function(e){var n,r,a,i,o=null===(n=t.googlesitekit)||void 0===n||null===(r=n.data)||void 0===r||null===(a=r.dispatch)||void 0===a?void 0:a.call(r,g.a);o&&(e.code===v.a?o.setPermissionScopeError(e):(null===(i=e.data)||void 0===i?void 0:i.reconnectURL)&&o.setAuthError(e))},y=function(){var e=o()(a.a.mark((function e(n,r,i){var o,c,d,v,g,b,y,w,O,j,_,x,S,D,E,P,I,N=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=N.length>3&&void 0!==N[3]?N[3]:{},c=o.bodyParams,d=o.cacheTTL,v=void 0===d?3600:d,g=o.method,b=void 0===g?"GET":g,y=o.queryParams,w=o.useCache,O=void 0===w?void 0:w,j=o.signal,u()(n,"`type` argument for requests is required."),u()(r,"`identifier` argument for requests is required."),u()(i,"`datapoint` argument for requests is required."),_="GET"===b&&(void 0!==O?O:k()),x=h(n,r,i,y),!_){e.next=18;break}return e.next=9,Object(f.b)(x);case 9:if(S=e.sent,D=S.cacheHit,E=S.value,!S.isError){e.next=16;break}throw m(E),E;case 16:if(!D){e.next=18;break}return e.abrupt("return",E);case 18:return e.prev=18,e.next=21,Object(s.default)({data:c,method:b,signal:j,path:Object(l.a)("/google-site-kit/v1/".concat(n,"/").concat(r,"/data/").concat(i),y)});case 21:if(P=e.sent,!_){e.next=25;break}return e.next=25,Object(f.d)(x,P,{ttl:v});case 25:return e.abrupt("return",P);case 28:if(e.prev=28,e.t0=e.catch(18),!(null===e.t0||void 0===e.t0||null===(I=e.t0.data)||void 0===I?void 0:I.cacheTTL)){e.next=33;break}return e.next=33,Object(f.d)(x,e.t0,{ttl:e.t0.data.cacheTTL,isError:!0});case 33:throw Object(p.a)({method:b,datapoint:i,type:n,identifier:r,error:e.t0}),m(e.t0),t.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(i),"type:".concat(n),"identifier:".concat(r),'error:"'.concat(e.t0.message,'"')),e.t0;case 37:case"end":return e.stop()}}),e,null,[[18,28]])})));return function(t,n,r){return e.apply(this,arguments)}}(),w=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,t.abrupt("return",y(e,n,r,{cacheTTL:u,queryParams:i,useCache:l,signal:f}));case 2:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),O=function(){var t=o()(a.a.mark((function t(e,n,r,i){var o,c,u,s,l,f,d=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,t.next=3,y(e,n,r,{bodyParams:{data:i},method:u,queryParams:l,useCache:!1});case 3:return f=t.sent,t.next=6,j(e,n,r);case 6:return t.abrupt("return",f);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,a){return t.apply(this,arguments)}}(),k=function(){return b},j=function(){var t=o()(a.a.mark((function t(e,n,r){var i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=h(e,n,r),t.next=3,Object(f.c)();case 3:t.sent.forEach((function(t){0===t.indexOf(i)&&Object(f.a)(t)}));case 5:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}(),_={invalidateCache:j,get:w,set:O,setUsingCache:function(t){return b=!!t},usingCache:k};e.b=_}).call(this,n(18))},39:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(35),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var n=t.split("-");return 3===n.length&&Object(r.a)(new Date(t))}},428:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(8),u=["fetch_error"];function s(t){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(e){var n,r,i,o,s,l,f,d;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.method,o=e.type,s=e.identifier,l=e.datapoint,(f=e.error)&&!u.includes(null==f?void 0:f.code)){t.next=3;break}return t.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(n=f.data)||void 0===n?void 0:n.reason)&&(d+=", reason: ".concat(f.data.reason)),t.next=7,Object(c.v)("api_error","".concat(i,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(r=f.data)||void 0===r?void 0:r.status)||f.code);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},47:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(27);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},51:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(2),a=function(t){return function(e){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(e,n),t)}}}},53:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return v})),n.d(e,"g",(function(){return p})),n.d(e,"h",(function(){return f.a})),n.d(e,"d",(function(){return g})),n.d(e,"c",(function(){return h})),n.d(e,"i",(function(){return d}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),u=function(t){var e=new Date(t);o()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(e.getMonth()+1),r="".concat(e.getDate());return[e.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),l=n.n(s),f=n(39),d=function(t){o()(Object(f.a)(t),r);var e=t.split("-"),n=l()(e,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=d(t);return n.setDate(n.getDate()-e),u(n)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=n(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},56:function(t,e,n){"use strict";(function(t){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(e){var n=e.direction,r=e.invertColor,a=e.width,i=e.height;return t.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,n(3))},58:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(t,e)}};function c(t){var e,n="object"===a()(t)?t.toString():t;return null==n||null===(e=n.replace)||void 0===e?void 0:e.call(n,/\/+$/,"")}},63:function(t,e,n){"use strict";function r(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function i(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return i}))},65:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(109),a=n.n(r)()(t)}).call(this,n(18))},68:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return j})),n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return x}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),u=n.n(c),s=n(16),l=n.n(s),f=n(26),d=n(64),v=n.n(d),p=n(1);function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){u()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(t,e),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(t){return a()}},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var n=Math.floor(t/60/60),r=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=e.unitDisplay,o=b(b({unitDisplay:void 0===i?"short":i},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?j(a,b(b({},o),{},{unit:"second"})):Object(p.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(p.__)("%sK","google-site-kit"),j(y(t),t%10==0?{}:e)):j(t,{signDisplay:"never",maximumFractionDigits:1})},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,o()(t)),t=0);var n={};if("%"===e)n={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?n={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(n=b({},e))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?w(t):"duration"===i?h(t,e):j(t,n)},k=v()(console.warn),j=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,i=l()(e,["locale"]);try{return new Intl.NumberFormat(r,i).format(t)}catch(e){k("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(i);f<d.length;f++){var v=a()(d[f],2),p=v[0],g=v[1];c[p]&&g===c[p]||(u.includes(p)||(s[p]=g))}try{return new Intl.NumberFormat(r,s).format(t)}catch(e){return new Intl.NumberFormat(r).format(t)}},_=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?x():n,a=e.style,i=void 0===a?"long":a,o=e.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(r,{style:i,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return t.join(s)},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,n(18))},74:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return f}));var r=n(12),a=n.n(r),i=n(1);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,a=function(){};return{s:a,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return o=t.done,t},e:function(t){u=!0,i=t},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(i._n)("%d notification","%d notifications",t,"google-site-kit"),t),o.appendChild(c),o.appendChild(u),e&&null===r&&e.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),n={},r=0;r<e.length;r++)n[e[r].split("=")[0]]=decodeURIComponent(e[r].split("=")[1]);return t?n.hasOwnProperty(t)?decodeURIComponent(n[t].replace(/\+/g," ")):"":n},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(e.href);if(t)return n.searchParams&&n.searchParams.get?n.searchParams.get(t):l(t);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var u=a()(r.value,2),s=u[0],f=u[1];i[s]=f}}catch(t){c.e(t)}finally{c.f()}return i}}).call(this,n(18))},76:function(t,e,n){"use strict";(function(t){n(44),n(45)}).call(this,n(18))},77:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n(184),a=n(56),i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:o}))},o=function(t){var e,n,r,a,i,o,c,u,s,l,f,d,v,p,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==t||null===(a=t[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(v=d.totals)||void 0===v||null===(p=v[0])||void 0===p||null===(g=p.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,n(3))},78:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return l}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(47),a=n(27);function i(e,n){var i,o=Object(r.a)(n);return function(){var n=t.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(t,e,n){"use strict";n.d(e,"v",(function(){return c.b})),n.d(e,"s",(function(){return u.a})),n.d(e,"w",(function(){return u.b})),n.d(e,"u",(function(){return v})),n.d(e,"c",(function(){return p.b})),n.d(e,"j",(function(){return p.c})),n.d(e,"q",(function(){return g.c})),n.d(e,"r",(function(){return g.d})),n.d(e,"n",(function(){return g.b})),n.d(e,"i",(function(){return g.a})),n.d(e,"o",(function(){return y})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return O.c})),n.d(e,"t",(function(){return O.i})),n.d(e,"g",(function(){return k.b})),n.d(e,"m",(function(){return k.c})),n.d(e,"b",(function(){return k.a})),n.d(e,"l",(function(){return j.b})),n.d(e,"h",(function(){return j.a})),n.d(e,"p",(function(){return j.c})),n.d(e,"k",(function(){return _})),n.d(e,"a",(function(){return x})),n.d(e,"x",(function(){return S})),n.d(e,"e",(function(){return D}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),u=n(58),s=n(28),l=n.n(s),f=n(72),d=n.n(f),v=function(t){return d()(JSON.stringify(function t(e){var n={};return Object.keys(e).sort().forEach((function(r){var a=e[r];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),n[r]=a})),n}(t)))};var p=n(74),g=(n(76),n(68));n(51);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var e=t,n=0,r=[b,h,m];n<r.length;n++){e=(0,r[n])(e)}return e}var w=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},O=n(53),k=n(77),j=n(63),_=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},x=function(t,e){if("0"===t||0===t||isNaN(t))return null;var n=(e-t)/t;return isNaN(n)||!a()(n)?null:n},S=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return o()(e)}},80:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),u=n.n(c),s=n(47),l=n(33);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){o()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(e,n,r,i){var o=Object(s.a)(n);return function(){var n=u()(a.a.mark((function n(c,u,s,f){var v,p,g,b,h,m,y,w,O,k;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,m=e.trackingEnabled,y=e.trackingID,w=e.userIDHash,m){n.next=3;break}return n.abrupt("return");case 3:return r(),O=null!==(v=null===(p=t._googlesitekitUserData)||void 0===p||null===(g=p.user)||void 0===g?void 0:g.roles)&&void 0!==v?v:[],k={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:O.join(","),dimension3:w,dimension4:"1.48.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},n.abrupt("return",new Promise((function(t){var e,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(r),t()};o("event",u,d(d({},k),{},{event_callback:a})),(null===(e=i._gaUserPrefs)||void 0===e||null===(n=e.ioo)||void 0===n?void 0:n.call(e))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(t,e,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},853:function(t,e,n){"use strict";n.r(e),function(t){var r=n(387);void 0===t.googlesitekit&&(t.googlesitekit={}),void 0===t.googlesitekit.api&&(t.googlesitekit.api=r.b),e.default=r.b}.call(this,n(18))},89:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return i}));n(50);var r="missing_required_scopes";function a(t){return(null==t?void 0:t.code)===r}function i(t){var e;return"insufficientPermissions"===(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}}},[[853,1,0]]]);
dist/assets/js/{googlesitekit-base-5be84891ed6904b20b97.min.js → googlesitekit-base-5be84891ed6904b20b97.js} RENAMED
File without changes
dist/assets/js/{googlesitekit-dashboard-e016bf828367e326fd4c.min.js → googlesitekit-dashboard-a6c4cb7ad99b89c9f948.js} RENAMED
@@ -36,7 +36,7 @@ Object(l.__)("Site Kit can’t access all relevant data because you haven’t gr
36
  /* translators: %1$s: Product name */
37
  Object(l.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),t[0]);break;case"generic":n=Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(12),i=n.n(a),o=n(141),c=n(99),l=n(2),s=n(1),u=n(309),d=n(4),f=n.n(d),g=n(22),m=n(36),p=n(82),v=n(131),b=n(135),h=n(266),_=n(267),O=n(268),y=n(269),E=n(193),k=f.a.useSelect;function DashboardNavigation(){var t=Object(v.b)(),n=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_TRAFFIC:p.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_CONTENT:p.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),d=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_SPEED:p.CONTEXT_ENTITY_DASHBOARD_SPEED)})),f=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_MONETIZATION:p.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),j=Object(b.a)(),S=Object(l.useState)([e.location.hash.substr(1)]),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useCallback)((function(t){var n=i()(t,1)[0];n?(e.history.replaceState({},"","#".concat(n)),e.scrollTo({top:n!==g.d?Object(E.a)(n,j):0,behavior:"smooth"})):e.history.replaceState({},"",Object(u.a)(e.location.href)),C(t)}),[j]);return Object(c.a)((function(){""!==e.location.hash&&setTimeout((function(){var t=e.location.hash.substr(1);e.scrollTo({top:t!==g.d?Object(E.a)(t,j):0,behavior:"smooth"})}),10)})),r.createElement(o.ChipSet,{className:"googlesitekit-navigation",selectedChipIds:N,handleSelect:T,choice:!0},n&&r.createElement(o.Chip,{id:g.d,label:Object(s.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"})}),a&&r.createElement(o.Chip,{id:g.a,label:Object(s.__)("Content","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"18"})}),d&&r.createElement(o.Chip,{id:g.c,label:Object(s.__)("Speed","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"20",height:"16"})}),f&&r.createElement(o.Chip,{id:g.b,label:Object(s.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"16"})}))}}).call(this,n(18),n(3))},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},268:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(2),i=n(112),o=n(4),c=n.n(o),l=n(23),s=n(22),u=n(20),d=n(15),f=n(271),g=n(34),m=n(21),p=c.a.useSelect,v=c.a.useDispatch;t.a=function EntityHeaderBanner(){var t=Object(a.useContext)(l.b),n=p((function(e){return e(d.c).getCurrentEntityTitle()})),o=p((function(e){return e(d.c).getCurrentEntityURL()})),c=v(g.a).navigateTo,b=p((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),h=Object(a.useCallback)((function(){c(b)}),[b,c]);return s.k!==t||null===o||null===n?null:e.createElement("div",{className:"googlesitekit-entity-header-banner"},e.createElement(u.a,{icon:e.createElement(f.a,{width:24,height:24}),"aria-label":Object(r.__)("Return to dashboard","google-site-kit"),onClick:h,className:"googlesitekit-entity-header-banner__back",text:!0},Object(r.__)("Return to dashboard","google-site-kit")),e.createElement("div",{className:"googlesitekit-entity-header-banner__details"},e.createElement("p",null,Object(i.a)(Object(r.sprintf)(
38
  /* translators: %s: page title of the page whose stats we're showing */
39
- Object(r.__)("<strong>Detailed page stats for:</strong> “%s”","google-site-kit"),n),{strong:e.createElement("strong",null)})),e.createElement(m.a,{href:o,external:!0,inherit:!0},o)))}}).call(this,n(3))},271:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},272:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},274:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(9),a=n.n(r),i=n(0),o=n.n(i);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,c=t.statusText,l=t.fullWidth,s=t.children,u=l?"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-12\n\t\t":"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-4-phone\n\t\tmdc-layout-grid__cell--span-4-tablet\n\t\tmdc-layout-grid__cell--span-6-desktop\n\t\t",d=""!==o||Boolean(s);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:u},r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),d&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--align-bottom mdc-layout-grid__cell--align-right-tablet mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-6-desktop "},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:a()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},c),s))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(3))},275:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),a=n.n(r),i=n(24),o=n.n(i),c=n(103),l=n(297);function s(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var i=0,o=0,d=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(i,m),b=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==u(v.sort(d)[0].counter,b).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var h=v[0].width;if(r.push(o),(i+=c.c[h])>12){if(i-=c.c[h],r[p]++,9===i){var _=s(n,i),O=a()(_,2);n=O[0],i=O[1]}i=c.c[h],o++}else 12===i&&(i=0,o++);n.push(c.c[h])})),9===i){var m=s(n,i),p=a()(m,2);n=p[0],i=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(206),g=n.n(f);function m(e,t,n){var r=n.columnWidths,a=n.rowIndexes,i=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:i};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var a,i=e[r],o=null==t?void 0:t[i.slug],l=null==o?void 0:o.Component,s=null==o||null===(a=o.metadata)||void 0===a?void 0:a.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,m,p,v;if(i.push(null),s=t[n.slug],u=a[o],s)if(f=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,v=a[o+1],p===v&&g()(f,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var b=d.reduce((function(e,t){return e+t}),0);i[o]=s,l[o]=b,d=[]}})),{gridColumnWidths:l,overrideComponents:i}}var p=n(211)},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(129);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(203);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(128);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 WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(127);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 WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(121),l=n(126);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(126);function a(e){return!!e&&e.Component===r.a}},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),a=n(51),i=n(8),o=n(197),c=n(198),l=n(199),s=n(200),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),g=Object(a.a)(e.createElement(l.a,null)),m=Object(a.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},31:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/adsense",a=1},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),a=n.n(r),i=n(290),o=n(9),c=n.n(o),l=n(2),s=n(71),u=n(4),d=n.n(u),f=n(352),g=n(11),m=n(143),p=n(53),v=n(23),b=n(142),h=n(20),_=n(8),O=n(85),y=d.a.useSelect,E=d.a.useDispatch;function DateRangeSelector(){var t,n=Object(O.a)("unifiedDashboard"),r=Object(p.c)(),o=y((function(e){return e(g.a).getDateRange()})),u=E(g.a).setDateRange,d=Object(l.useState)(!1),k=a()(d,2),j=k[0],S=k[1],w=Object(l.useRef)(),N=Object(l.useContext)(v.b);Object(i.a)(w,(function(){return S(!1)})),Object(m.a)([s.c,s.d],w,(function(){return S(!1)}));var C=Object(l.useCallback)((function(){S(!j)}),[j]),T=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(N,"_headerbar"),"change_daterange",t),u(t),S(!1)}),[r,u,N,o]),D=null===(t=r[o])||void 0===t?void 0:t.label,x=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:w,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(h.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:C,icon:e.createElement(f.a,{width:"18",height:"20"}),"aria-haspopup":"menu","aria-expanded":j,"aria-controls":"date-range-selector-menu"},D),e.createElement(b.a,{menuOpen:j,menuItems:x,onSelected:T,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},338:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(117);Object(c.c)("googlesitekit.winCallbacks",{});function l(){return s.apply(this,arguments)}function s(){return(s=o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},341:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),a=n.n(r),i=n(0),o=n.n(i),c=n(189),l=n(2),s=n(1),u=n(71),d=n(32),f=n.n(d),g=n(4),m=n.n(g),p=n(342),v=n(85),b=n(15),h=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.setMatch,i=t.isLoading,o=t.setIsLoading,d=t.autoFocus,g=t.setCanSubmit,m=void 0===g?function(){}:g,_=t.onClose,O=void 0===_?function(){}:_,y=t.placeholder,E=void 0===y?"":y,k=Object(l.useState)(""),j=a()(k,2),S=j[0],w=j[1],N=Object(p.a)(S,200),C=Object(l.useState)([]),T=a()(C,2),D=T[0],x=T[1],A=Object(s.__)("No results found","google-site-kit"),R=Object(v.a)("unifiedDashboard"),M=h((function(e){return e(b.c).getCurrentEntityTitle()})),P=Object(l.useCallback)((function(e){if(Array.isArray(D)&&e!==A){var t=D.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t&&(m(!0),r(t),w(t.post_title))}else m(!1)}),[D,m,r,A,w]),L=Object(l.useCallback)((function(e){m(!1),w(e.target.value)}),[m]);Object(l.useEffect)((function(){if(""!==N&&N!==M){null==o||o(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(N)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return x(e)})).catch((function(){return x([])})).finally((function(){return null==o?void 0:o(!1)})),function(){return null==e?void 0:e.abort()}}}),[N,o,M]),Object(l.useEffect)((function(){S||x([])}),[S]),Object(l.useEffect)((function(){M&&w(M)}),[M]);var I=Object(l.useCallback)((function(e){if(R)return e.keyCode===u.c?O():e.keyCode===u.b?P(S):void 0}),[O,P,S,R]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:P},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onChange:L,placeholder:E,onKeyDown:I,value:S,autoFocus:d}),(!R||!i)&&N!==M&&""!==N&&0===D.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:A,className:"autocomplete__option"}))),""!==N&&N!==M&&D.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},D.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},342:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},349:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(9),l=n.n(c),s=n(364),u=n(2),d=n(4),f=n.n(d),g=n(103),m=n(36),p=n(350),v=n(275),b=n(14),h=n(351),_=n(138),O=n(85),y=f.a.useSelect;function WidgetAreaRenderer(t){var n,r=t.slug,i=t.totalAreas,o=Object(O.a)("unifiedDashboard"),c=Object(u.useRef)(),d=Object(s.a)(c,{rootMargin:"0px",threshold:0}),f=y((function(e){return e(m.a).getWidgetArea(r)})),E=y((function(e){return e(m.a).getWidgets(r)})),k=y((function(e){return e(m.a).getWidgetStates()})),j=y((function(e){return e(m.a).isWidgetAreaActive(r)})),S=Object(v.c)(E,k),w=S.columnWidths,N=S.rowIndexes,C=Object(v.a)(E,k,{columnWidths:w,rowIndexes:N}),T=C.gridColumnWidths,D=C.overrideComponents,x=E.map((function(t,n){return e.createElement(h.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:T[n]},e.createElement(p.a,{OverrideComponent:D[n]?function(){var t=D[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),A=f.Icon,R=f.title,M=f.style,P=f.subtitle;return j?e.createElement(_.a,{value:!!(null==d?void 0:d.intersectionRatio)},e.createElement(b.b,{className:l()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(M)),ref:c},(o||i>1)&&e.createElement(b.l,null,e.createElement(b.a,{className:"googlesitekit-widget-area-header",size:12},A&&e.createElement(A,{width:33,height:33}),R&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},R),P&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},P))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(b.l,null,M===m.b.BOXES&&x,M===m.b.COMPOSITE&&e.createElement(b.a,{size:12},e.createElement(b.b,null,e.createElement(b.l,null,x))))))):e.createElement(b.b,{className:l()(g.a,"googlesitekit-widget-area",(n={},a()(n,"googlesitekit-widget-area--".concat(r),!!r),a()(n,"googlesitekit-widget-area--".concat(M),!!M),n)),ref:c},x)}WidgetAreaRenderer.propTypes={slug:o.a.string.isRequired}}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},350:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(36),s=n(228),u=n(275),d=n(103),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!a)return e.createElement(g,null);var m=a.Component,p=a.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(i.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=g}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(103),o=n(14),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},352:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",a({viewBox:"0 0 18 20"},e),i)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return v})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return h})),n.d(t,"m",(function(){return _}));var r=n(22),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),p="".concat(r.o,"_idea-hub-saved-ideas-notification"),v="".concat(r.l,"_idea-hub"),b="new-ideas",h="saved-ideas",_="draft-ideas"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return p.apply(this,arguments)}function p(){return(p=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,p=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),m=n.n(g),p=n(230),v=n.n(p),b=n(99),h=n(2),_=n(86),O=n(58),y=n(73),E=n(20),k=n(154),j=n(113),S=n(21),w=n(118),N=n(38),C=n(8),T=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,D=t.description,x=t.dismiss,A=t.dismissExpires,R=t.format,M=t.id,P=t.isDismissible,L=t.learnMoreDescription,I=t.learnMoreLabel,H=t.learnMoreURL,z=t.logo,B=t.module,F=t.moduleName,q=t.onCTAClick,U=t.onDismiss,W=t.pageIndex,V=t.showOnce,K=t.SmallImageSVG,X=t.title,G=t.type,Q=t.WinImageSVG,Y=Object(h.useState)(!1),$=u()(Y,2),Z=$[0],J=$[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(h.useRef)(),ie="notification::dismissed::".concat(M),oe=function(){return Object(N.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(C.v)("".concat(T.g,"_site-notification"),"dismiss_notification",M);case 4:if(!U){e.next=7;break}return e.next=7,U(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;J(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"confirm_notification",M);case 3:if(!q){e.next=6;break}return e.next=6,q(t);case 6:P&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"click_learn_more_link",M);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(A,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(C.v)("".concat(T.g,"_site-notification"),"view_notification",M);case 2:if(!(A>0)){e.next=5;break}return e.next=5,de();case 5:if(!P){e.next=11;break}return e.next=8,Object(N.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),P&&(void 0===ne||ne))return null;var ge,me=Z?"is-closed":"is-open",pe="large"===R&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===R?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",pe&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===R&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(k.a,{width:34}):"win-error"===G?e.createElement(j.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":pe,"mdc-layout-grid__cell--span-4-desktop":!pe})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(y.a,t)))})))),he=e.createElement(h.Fragment,null,X&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(S.a,{href:r},i)),D&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(D)?D:e.createElement("span",{dangerouslySetInnerHTML:Object(O.a)(D,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(h.Fragment,null," ",e.createElement(S.a,{onClick:function(e){return ue.apply(this,arguments)},href:H,external:!0,inherit:!0},I),L),W&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},W))),s),_e=B?e.createElement(w.a,{slug:B,size:19}):e.createElement(_.a,{height:"34",width:"32"});return e.createElement("section",{id:M,ref:ae,className:m()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(R),R),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":pe,"mdc-layout-grid__cell--order-1-tablet":pe})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},_e),F&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},F)),K&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(K,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",ve)},pe?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(E.a,{className:"googlesitekit-notification__cta",href:g,target:p,onClick:function(e){return se.apply(this,arguments)}},f),P&&x&&e.createElement(S.a,{onClick:function(e){return ce.apply(this,arguments)}},x)),Q&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(Q,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},440:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(99),u=n(2),d=n(1),f=n(4),g=n.n(f),m=n(15),p=n(19),v=n(34),b=n(8),h=n(187),_=n(145),O=n(186),y=n(21),E=g.a.useSelect,k=g.a.useDispatch;function ModuleSetup(t){var n=t.moduleSlug,r=k(v.a).navigateTo,i=E((function(e){return e(m.c).getAdminURL("googlesitekit-settings")})),c=E((function(e){return e(p.a).getModule(n)})),l={notification:"authentication_success"};n&&(l.slug=n);var f=E((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard",l)})),g=Object(u.useCallback)(function(){var e=o()(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.v)("moduleSetup","complete_module_setup",n);case 2:r(t||f);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[f,r,n]),j=Object(u.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.v)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(s.a)((function(){Object(b.v)("moduleSetup","view_module_setup",n)})),!(null==c?void 0:c.SetupComponent))return null;var S=c.SetupComponent;return e.createElement(u.Fragment,null,e.createElement(O.a,null,e.createElement(h.a,null,"adsense"===n&&e.createElement(_.a,{href:"https://support.google.com/adsense/"},Object(d.__)("Get help with AdSense","google-site-kit")))),e.createElement("div",{className:"googlesitekit-setup"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-12 "},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-12 "},e.createElement("p",{className:" googlesitekit-setup__intro-title googlesitekit-overline "},Object(d.__)("Connect Service","google-site-kit")),e.createElement(S,{module:c,finishSetup:g})))),e.createElement("div",{className:"googlesitekit-setup__footer"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-2-phone mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-6-desktop "},e.createElement(y.a,{id:"setup-".concat(c.slug,"-cancel"),href:i,onClick:j},Object(d.__)("Cancel","google-site-kit"))))))))))))}ModuleSetup.propTypes={moduleSlug:l.a.string.isRequired}}).call(this,n(3))},441:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(99),o=n(407),c=n(122),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(20),g=n(61),m=n(52),p=n(442),v=n(443),b=n(341),h=n(23),_=n(15),O=n(22),y=n(34),E=n(8),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],S=Object(l.useState)(!1),w=a()(S,2),N=w[0],C=w[1],T=Object(l.useRef)(),D=Object(l.useCallback)((function(){d(!0)}),[]),x=Object(l.useCallback)((function(){d(!1)}),[]),A=Object(l.useState)({}),R=a()(A,2),M=R[0],P=R[1],L=Object(l.useContext)(h.b),I=k((function(e){return(null==M?void 0:M.permalink)?e(_.c).getAdminURL("googlesitekit-dashboard",{permaLink:M.permalink}):null})),H=j(y.a).navigateTo;return Object(l.useEffect)((function(){I&&Object(E.v)("".concat(L,"_headerbar"),"open_urldetails").finally((function(){H(I)}))}),[I,H,L]),Object(i.a)((function(){L===O.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==T||null===(e=T.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,setMatch:P,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,onClose:x,autoFocus:!0}),N&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:x,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",text:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{onClick:D,text:!0,ref:T,trailingIcon:e.createElement(p.a,{width:"16",height:"16"})},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},442:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.758 9.395L16 14.637 14.637 16l-5.242-5.242c-.979.705-2.159 1.135-3.449 1.135a5.946 5.946 0 115.947-5.947c0 1.29-.43 2.47-1.135 3.45zM5.946 1.83A4.111 4.111 0 001.83 5.946a4.111 4.111 0 004.116 4.117 4.111 4.111 0 004.117-4.117A4.111 4.111 0 005.946 1.83z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",a({fill:"none"},e),i)}},443:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"#5F6368"});t.a=function SvgCloseDark(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},444:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(12),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(85),s=n(19),u=n(245),d=n(198),f=n(197),g=n(200),m=n(199),p=n(445),v=c.a.useSelect;function BannerNotifications(){var t=v((function(e){return e(s.a).isModuleActive("adsense")})),n=Object(l.a)("ideaHubModule"),r=Object(l.a)("userInput"),o=Object(u.a)("notification"),c=a()(o,1)[0];return"authentication_success"===c||"user_input_success"===c?e.createElement(d.a,null):e.createElement(i.Fragment,null,r&&e.createElement(m.a,null),n&&e.createElement(g.a,null),t&&e.createElement(p.a,null),e.createElement(f.a,null))}}).call(this,n(3))},445:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(1),i=n(4),o=n.n(i),c=n(19),l=n(31),s=n(446),u=n(42),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(l.b).getAccountID()})),i=d((function(e){return e(l.b).getNotifications()}));return t&&n&&void 0!==i?e.createElement(r.Fragment,null,i.map((function(t){return e.createElement(u.a,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(s.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(a.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(a._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},446:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),f=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",a({viewBox:"0 0 300 300",fill:"none"},e),i,o,c,l,s,u,d,f,g)}},447:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(9),v=n.n(p),b=n(104),h=n(2),_=n(1),O=n(338),y=n(52);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var k=function(t){u()(NotificationCounter,t);var n=E(NotificationCounter);function NotificationCounter(e){var t;return a()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(l()(t)),t.handleDecrement=t.handleDecrement.bind(l()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(O.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(O.c)}},{key:"handleDecrement",value:function(){this.setState(O.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(_.sprintf)(
40
  /* translators: %d: the number of notifications */
41
  Object(_._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:v()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(y.a,null,n));return Object(b.createPortal)(r,t)}}]),NotificationCounter}(h.Component);t.a=k}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
42
  /* translators: %s: number of days */
@@ -53,7 +53,7 @@ Object(m.__)("%sK","google-site-kit"),k(_(e))):1e3<=e?Object(m.sprintf)(// trans
53
  Object(m.__)("%sK","google-site-kit"),k(_(e),e%10==0?{}:t)):k(e,{signDisplay:"never",maximumFractionDigits:1})},y=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?O(e):"duration"===i?b(e,t):k(e,n)},E=g()(console.warn),k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)}
54
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(9),h=n.n(b),_=n(2),O=n(1),y=n(56),E=n(94),k=n(8);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var S=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(_.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(k.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(k.q)(o,c)),s&&(b=Object(O.sprintf)(s,b));var j=void 0===a?a:Object(k.q)(a,i||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(_.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(y.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(E.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(_.Component);S.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},S.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=S}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(i.sprintf)(
55
  /* translators: %d is the number of notifications */
56
- Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return _})),n.d(t,"d",(function(){return O})),n.d(t,"f",(function(){return y.c})),n.d(t,"t",(function(){return y.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return k.b})),n.d(t,"h",(function(){return k.a})),n.d(t,"p",(function(){return k.c})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return S})),n.d(t,"x",(function(){return w})),n.d(t,"e",(function(){return N}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var m=n(74),p=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var O=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)]},y=n(53),E=n(77),k=n(63),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},S=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},w=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},N=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,_,O,y,E;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,_=t.trackingID,O=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),y=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],E={send_to:_,event_category:c,event_label:s,value:d,dimension1:b,dimension2:y.join(","),dimension3:O,dimension4:"1.48.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},E),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},812:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(0),a=n.n(r),i=n(2),o=n(85),c=n(440),l=n(813),s=n(817),u=n(447);function DashboardEntryPoint(t){var n=t.setupModuleSlug,r=Object(o.a)("unifiedDashboard");return n?e.createElement(c.a,{moduleSlug:n}):r?e.createElement(s.a,null):e.createElement(i.Fragment,null,e.createElement(u.a,null),e.createElement(l.a,null))}DashboardEntryPoint.propTypes={setupModuleSlug:a.a.string}}).call(this,n(3))},813:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardApp}));var r=n(2),a=n(249),i=n(814),o=n(815),c=n(186),l=n(311),s=n(187),u=n(816);function DashboardApp(){return e.createElement(r.Fragment,null,e.createElement(c.a,null,e.createElement(s.a,null),e.createElement(l.a,null)),e.createElement(o.a,null),e.createElement(a.a,{slug:"dashboard",className:"googlesitekit-module-page googlesitekit-dashboard",Header:i.a}),e.createElement(u.a,{triggerID:"view_dashboard",ttl:3600}))}}).call(this,n(3))},814:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardHeader}));var r=n(1),a=n(274);function DashboardHeader(){return e.createElement(a.a,{className:"googlesitekit-heading-2 googlesitekit-dashboard__heading",title:Object(r.__)("Site Overview","google-site-kit")})}}).call(this,n(3))},815:function(e,t,n){"use strict";var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),l=n.n(c),s=n(67),u=n.n(s),d=n(46),f=n.n(d),g=n(1054),m=n(2);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var v=function(e){l()(DashboardNotifications,e);var t=p(DashboardNotifications);function DashboardNotifications(){return a()(this,DashboardNotifications),t.apply(this,arguments)}return o()(DashboardNotifications,[{key:"render",value:function(){return null}}]),DashboardNotifications}(m.Component);t.a=Object(g.a)("googlesitekit.DashboardNotifications")(v)},816:function(e,t,n){"use strict";var r=n(99),a=n(0),i=n.n(a),o=n(4),c=n.n(o),l=n(15),s=n(11),u=c.a.useSelect,d=c.a.useDispatch,f=function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,a=u((function(e){return e(l.c).isUsingProxy()})),i=d(s.a).triggerSurvey;return Object(r.a)((function(){a&&i(t,{ttl:n})})),null};f.propTypes={triggerID:i.a.string.isRequired,ttl:i.a.number},f.defaultProps={ttl:0},t.a=f},817:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(82),i=n(186),o=n(249),c=n(441),l=n(311),s=n(187),u=n(444),d=n(22);t.a=function DashboardMainApp(){return e.createElement(r.Fragment,null,e.createElement(i.a,{subHeader:e.createElement(u.a,null),showNavigation:!0},e.createElement(c.a,null),e.createElement(l.a,null),e.createElement(s.a,null)),e.createElement(o.a,{id:d.d,slug:a.CONTEXT_MAIN_DASHBOARD_TRAFFIC}),e.createElement(o.a,{id:d.a,slug:a.CONTEXT_MAIN_DASHBOARD_CONTENT}),e.createElement(o.a,{id:d.c,slug:a.CONTEXT_MAIN_DASHBOARD_SPEED}),e.createElement(o.a,{id:d.b,slug:a.CONTEXT_MAIN_DASHBOARD_MONETIZATION}))}}).call(this,n(3))},82:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return a})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return i})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return g})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return p}));var r="dashboard",a="pageDashboard",i="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",l="mainDashboardTraffic",s="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",g="entityDashboardContent",m="entityDashboardSpeed",p="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:a,CONTEXT_MODULE_SEARCH_CONSOLE:i,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:l,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:p}},84:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(157),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
57
  /* translators: %s: Error message */
58
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(i.a)(r)&&(a=a+" "+Object(o.sprintf)(
59
  /* translators: %s: Reconnect URL */
36
  /* translators: %1$s: Product name */
37
  Object(l.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),t[0]);break;case"generic":n=Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(12),i=n.n(a),o=n(141),c=n(99),l=n(2),s=n(1),u=n(309),d=n(4),f=n.n(d),g=n(22),m=n(36),p=n(82),v=n(131),b=n(135),h=n(266),_=n(267),O=n(268),y=n(269),E=n(193),k=f.a.useSelect;function DashboardNavigation(){var t=Object(v.b)(),n=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_TRAFFIC:p.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_CONTENT:p.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),d=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_SPEED:p.CONTEXT_ENTITY_DASHBOARD_SPEED)})),f=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_MONETIZATION:p.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),j=Object(b.a)(),S=Object(l.useState)([e.location.hash.substr(1)]),w=i()(S,2),N=w[0],C=w[1],T=Object(l.useCallback)((function(t){var n=i()(t,1)[0];n?(e.history.replaceState({},"","#".concat(n)),e.scrollTo({top:n!==g.d?Object(E.a)(n,j):0,behavior:"smooth"})):e.history.replaceState({},"",Object(u.a)(e.location.href)),C(t)}),[j]);return Object(c.a)((function(){""!==e.location.hash&&setTimeout((function(){var t=e.location.hash.substr(1);e.scrollTo({top:t!==g.d?Object(E.a)(t,j):0,behavior:"smooth"})}),10)})),r.createElement(o.ChipSet,{className:"googlesitekit-navigation",selectedChipIds:N,handleSelect:T,choice:!0},n&&r.createElement(o.Chip,{id:g.d,label:Object(s.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"})}),a&&r.createElement(o.Chip,{id:g.a,label:Object(s.__)("Content","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"18"})}),d&&r.createElement(o.Chip,{id:g.c,label:Object(s.__)("Speed","google-site-kit"),leadingIcon:r.createElement(O.a,{width:"20",height:"16"})}),f&&r.createElement(o.Chip,{id:g.b,label:Object(s.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"16"})}))}}).call(this,n(18),n(3))},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},268:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(2),i=n(112),o=n(4),c=n.n(o),l=n(23),s=n(22),u=n(20),d=n(15),f=n(271),g=n(34),m=n(21),p=c.a.useSelect,v=c.a.useDispatch;t.a=function EntityHeaderBanner(){var t=Object(a.useContext)(l.b),n=p((function(e){return e(d.c).getCurrentEntityTitle()})),o=p((function(e){return e(d.c).getCurrentEntityURL()})),c=v(g.a).navigateTo,b=p((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),h=Object(a.useCallback)((function(){c(b)}),[b,c]);return s.k!==t||null===o||null===n?null:e.createElement("div",{className:"googlesitekit-entity-header-banner"},e.createElement(u.a,{icon:e.createElement(f.a,{width:24,height:24}),"aria-label":Object(r.__)("Return to dashboard","google-site-kit"),onClick:h,className:"googlesitekit-entity-header-banner__back",text:!0},Object(r.__)("Return to dashboard","google-site-kit")),e.createElement("div",{className:"googlesitekit-entity-header-banner__details"},e.createElement("p",null,Object(i.a)(Object(r.sprintf)(
38
  /* translators: %s: page title of the page whose stats we're showing */
39
+ Object(r.__)("<strong>Detailed page stats for:</strong> “%s”","google-site-kit"),n),{strong:e.createElement("strong",null)})),e.createElement(m.a,{href:o,external:!0,inherit:!0},o)))}}).call(this,n(3))},271:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},272:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},274:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(9),a=n.n(r),i=n(0),o=n.n(i);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,c=t.statusText,l=t.fullWidth,s=t.children,u=l?"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-12\n\t\t":"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-4-phone\n\t\tmdc-layout-grid__cell--span-4-tablet\n\t\tmdc-layout-grid__cell--span-6-desktop\n\t\t",d=""!==o||Boolean(s);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:u},r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),d&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--align-bottom mdc-layout-grid__cell--align-right-tablet mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-6-desktop "},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:a()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},c),s))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(3))},275:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),a=n.n(r),i=n(24),o=n.n(i),c=n(103),l=n(297);function s(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var i=0,o=0,d=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(i,m),b=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==u(v.sort(d)[0].counter,b).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var h=v[0].width;if(r.push(o),(i+=c.c[h])>12){if(i-=c.c[h],r[p]++,9===i){var _=s(n,i),O=a()(_,2);n=O[0],i=O[1]}i=c.c[h],o++}else 12===i&&(i=0,o++);n.push(c.c[h])})),9===i){var m=s(n,i),p=a()(m,2);n=p[0],i=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(206),g=n.n(f);function m(e,t,n){var r=n.columnWidths,a=n.rowIndexes,i=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:i};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var a,i=e[r],o=null==t?void 0:t[i.slug],l=null==o?void 0:o.Component,s=null==o||null===(a=o.metadata)||void 0===a?void 0:a.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,m,p,v;if(i.push(null),s=t[n.slug],u=a[o],s)if(f=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,v=a[o+1],p===v&&g()(f,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var b=d.reduce((function(e,t){return e+t}),0);i[o]=s,l[o]=b,d=[]}})),{gridColumnWidths:l,overrideComponents:i}}var p=n(211)},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(129);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(203);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(128);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 WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(127);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 WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(121),l=n(126);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(126);function a(e){return!!e&&e.Component===r.a}},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),a=n(51),i=n(8),o=n(197),c=n(198),l=n(199),s=n(200),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),g=Object(a.a)(e.createElement(l.a,null)),m=Object(a.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},31:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/adsense",a=1},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),a=n.n(r),i=n(290),o=n(9),c=n.n(o),l=n(2),s=n(71),u=n(4),d=n.n(u),f=n(352),g=n(11),m=n(143),p=n(53),v=n(23),b=n(142),h=n(20),_=n(8),O=n(85),y=d.a.useSelect,E=d.a.useDispatch;function DateRangeSelector(){var t,n=Object(O.a)("unifiedDashboard"),r=Object(p.c)(),o=y((function(e){return e(g.a).getDateRange()})),u=E(g.a).setDateRange,d=Object(l.useState)(!1),k=a()(d,2),j=k[0],S=k[1],w=Object(l.useRef)(),N=Object(l.useContext)(v.b);Object(i.a)(w,(function(){return S(!1)})),Object(m.a)([s.c,s.d],w,(function(){return S(!1)}));var C=Object(l.useCallback)((function(){S(!j)}),[j]),T=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(N,"_headerbar"),"change_daterange",t),u(t),S(!1)}),[r,u,N,o]),D=null===(t=r[o])||void 0===t?void 0:t.label,x=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:w,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(h.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:C,icon:e.createElement(f.a,{width:"18",height:"20"}),"aria-haspopup":"menu","aria-expanded":j,"aria-controls":"date-range-selector-menu"},D),e.createElement(b.a,{menuOpen:j,menuItems:x,onSelected:T,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},338:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(117);Object(c.c)("googlesitekit.winCallbacks",{});function l(){return s.apply(this,arguments)}function s(){return(s=o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},341:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),a=n.n(r),i=n(0),o=n.n(i),c=n(189),l=n(2),s=n(1),u=n(71),d=n(32),f=n.n(d),g=n(4),m=n.n(g),p=n(342),v=n(85),b=n(15),h=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.setMatch,i=t.isLoading,o=t.setIsLoading,d=t.autoFocus,g=t.setCanSubmit,m=void 0===g?function(){}:g,_=t.onClose,O=void 0===_?function(){}:_,y=t.placeholder,E=void 0===y?"":y,k=Object(l.useState)(""),j=a()(k,2),S=j[0],w=j[1],N=Object(p.a)(S,200),C=Object(l.useState)([]),T=a()(C,2),D=T[0],x=T[1],A=Object(s.__)("No results found","google-site-kit"),R=Object(v.a)("unifiedDashboard"),M=h((function(e){return e(b.c).getCurrentEntityTitle()})),P=Object(l.useCallback)((function(e){if(Array.isArray(D)&&e!==A){var t=D.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t&&(m(!0),r(t),w(t.post_title))}else m(!1)}),[D,m,r,A,w]),L=Object(l.useCallback)((function(e){m(!1),w(e.target.value)}),[m]);Object(l.useEffect)((function(){if(""!==N&&N!==M){null==o||o(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(N)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return x(e)})).catch((function(){return x([])})).finally((function(){return null==o?void 0:o(!1)})),function(){return null==e?void 0:e.abort()}}}),[N,o,M]),Object(l.useEffect)((function(){S||x([])}),[S]),Object(l.useEffect)((function(){M&&w(M)}),[M]);var I=Object(l.useCallback)((function(e){if(R)return e.keyCode===u.c?O():e.keyCode===u.b?P(S):void 0}),[O,P,S,R]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:P},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onChange:L,placeholder:E,onKeyDown:I,value:S,autoFocus:d}),(!R||!i)&&N!==M&&""!==N&&0===D.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:A,className:"autocomplete__option"}))),""!==N&&N!==M&&D.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},D.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},342:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},349:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(9),l=n.n(c),s=n(364),u=n(2),d=n(4),f=n.n(d),g=n(103),m=n(36),p=n(350),v=n(275),b=n(14),h=n(351),_=n(138),O=n(85),y=f.a.useSelect;function WidgetAreaRenderer(t){var n,r=t.slug,i=t.totalAreas,o=Object(O.a)("unifiedDashboard"),c=Object(u.useRef)(),d=Object(s.a)(c,{rootMargin:"0px",threshold:0}),f=y((function(e){return e(m.a).getWidgetArea(r)})),E=y((function(e){return e(m.a).getWidgets(r)})),k=y((function(e){return e(m.a).getWidgetStates()})),j=y((function(e){return e(m.a).isWidgetAreaActive(r)})),S=Object(v.c)(E,k),w=S.columnWidths,N=S.rowIndexes,C=Object(v.a)(E,k,{columnWidths:w,rowIndexes:N}),T=C.gridColumnWidths,D=C.overrideComponents,x=E.map((function(t,n){return e.createElement(h.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:T[n]},e.createElement(p.a,{OverrideComponent:D[n]?function(){var t=D[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),A=f.Icon,R=f.title,M=f.style,P=f.subtitle;return j?e.createElement(_.a,{value:!!(null==d?void 0:d.intersectionRatio)},e.createElement(b.b,{className:l()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(M)),ref:c},(o||i>1)&&e.createElement(b.l,null,e.createElement(b.a,{className:"googlesitekit-widget-area-header",size:12},A&&e.createElement(A,{width:33,height:33}),R&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},R),P&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},P))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(b.l,null,M===m.b.BOXES&&x,M===m.b.COMPOSITE&&e.createElement(b.a,{size:12},e.createElement(b.b,null,e.createElement(b.l,null,x))))))):e.createElement(b.b,{className:l()(g.a,"googlesitekit-widget-area",(n={},a()(n,"googlesitekit-widget-area--".concat(r),!!r),a()(n,"googlesitekit-widget-area--".concat(M),!!M),n)),ref:c},x)}WidgetAreaRenderer.propTypes={slug:o.a.string.isRequired}}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},350:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(36),s=n(228),u=n(275),d=n(103),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!a)return e.createElement(g,null);var m=a.Component,p=a.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(i.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=g}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(103),o=n(14),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},352:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",a({viewBox:"0 0 18 20"},e),i)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return v})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return h})),n.d(t,"m",(function(){return _}));var r=n(22),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),p="".concat(r.o,"_idea-hub-saved-ideas-notification"),v="".concat(r.l,"_idea-hub"),b="new-ideas",h="saved-ideas",_="draft-ideas"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return p.apply(this,arguments)}function p(){return(p=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,p=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),m=n.n(g),p=n(230),v=n.n(p),b=n(99),h=n(2),_=n(86),O=n(58),y=n(73),E=n(20),k=n(154),j=n(113),S=n(21),w=n(118),N=n(38),C=n(8),T=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,D=t.description,x=t.dismiss,A=t.dismissExpires,R=t.format,M=t.id,P=t.isDismissible,L=t.learnMoreDescription,I=t.learnMoreLabel,H=t.learnMoreURL,z=t.logo,B=t.module,F=t.moduleName,q=t.onCTAClick,U=t.onDismiss,W=t.pageIndex,V=t.showOnce,K=t.SmallImageSVG,X=t.title,G=t.type,Q=t.WinImageSVG,Y=Object(h.useState)(!1),$=u()(Y,2),Z=$[0],J=$[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(h.useRef)(),ie="notification::dismissed::".concat(M),oe=function(){return Object(N.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(C.v)("".concat(T.g,"_site-notification"),"dismiss_notification",M);case 4:if(!U){e.next=7;break}return e.next=7,U(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;J(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"confirm_notification",M);case 3:if(!q){e.next=6;break}return e.next=6,q(t);case 6:P&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"click_learn_more_link",M);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(A,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(C.v)("".concat(T.g,"_site-notification"),"view_notification",M);case 2:if(!(A>0)){e.next=5;break}return e.next=5,de();case 5:if(!P){e.next=11;break}return e.next=8,Object(N.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),P&&(void 0===ne||ne))return null;var ge,me=Z?"is-closed":"is-open",pe="large"===R&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===R?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",pe&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===R&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(k.a,{width:34}):"win-error"===G?e.createElement(j.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":pe,"mdc-layout-grid__cell--span-4-desktop":!pe})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(y.a,t)))})))),he=e.createElement(h.Fragment,null,X&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(S.a,{href:r},i)),D&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(D)?D:e.createElement("span",{dangerouslySetInnerHTML:Object(O.a)(D,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(h.Fragment,null," ",e.createElement(S.a,{onClick:function(e){return ue.apply(this,arguments)},href:H,external:!0,inherit:!0},I),L),W&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},W))),s),_e=B?e.createElement(w.a,{slug:B,size:19}):e.createElement(_.a,{height:"34",width:"32"});return e.createElement("section",{id:M,ref:ae,className:m()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(R),R),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":pe,"mdc-layout-grid__cell--order-1-tablet":pe})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},_e),F&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},F)),K&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(K,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",ve)},pe?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(E.a,{className:"googlesitekit-notification__cta",href:g,target:p,onClick:function(e){return se.apply(this,arguments)}},f),P&&x&&e.createElement(S.a,{onClick:function(e){return ce.apply(this,arguments)}},x)),Q&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(Q,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},440:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSetup}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(0),l=n.n(c),s=n(99),u=n(2),d=n(1),f=n(4),g=n.n(f),m=n(15),p=n(19),v=n(34),b=n(8),h=n(187),_=n(145),O=n(186),y=n(21),E=g.a.useSelect,k=g.a.useDispatch;function ModuleSetup(t){var n=t.moduleSlug,r=k(v.a).navigateTo,i=E((function(e){return e(m.c).getAdminURL("googlesitekit-settings")})),c=E((function(e){return e(p.a).getModule(n)})),l={notification:"authentication_success"};n&&(l.slug=n);var f=E((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard",l)})),g=Object(u.useCallback)(function(){var e=o()(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.v)("moduleSetup","complete_module_setup",n);case 2:r(t||f);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[f,r,n]),j=Object(u.useCallback)(o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(b.v)("moduleSetup","cancel_module_setup",n);case 2:case"end":return e.stop()}}),e)}))),[n]);if(Object(s.a)((function(){Object(b.v)("moduleSetup","view_module_setup",n)})),!(null==c?void 0:c.SetupComponent))return null;var S=c.SetupComponent;return e.createElement(u.Fragment,null,e.createElement(O.a,null,e.createElement(h.a,null,"adsense"===n&&e.createElement(_.a,{href:"https://support.google.com/adsense/"},Object(d.__)("Get help with AdSense","google-site-kit")))),e.createElement("div",{className:"googlesitekit-setup"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-12 "},e.createElement("section",{className:"googlesitekit-setup__wrapper"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-12 "},e.createElement("p",{className:" googlesitekit-setup__intro-title googlesitekit-overline "},Object(d.__)("Connect Service","google-site-kit")),e.createElement(S,{module:c,finishSetup:g})))),e.createElement("div",{className:"googlesitekit-setup__footer"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-2-phone mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-6-desktop "},e.createElement(y.a,{id:"setup-".concat(c.slug,"-cancel"),href:i,onClick:j},Object(d.__)("Cancel","google-site-kit"))))))))))))}ModuleSetup.propTypes={moduleSlug:l.a.string.isRequired}}).call(this,n(3))},441:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(99),o=n(407),c=n(122),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(20),g=n(61),m=n(52),p=n(442),v=n(443),b=n(341),h=n(23),_=n(15),O=n(22),y=n(34),E=n(8),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],S=Object(l.useState)(!1),w=a()(S,2),N=w[0],C=w[1],T=Object(l.useRef)(),D=Object(l.useCallback)((function(){d(!0)}),[]),x=Object(l.useCallback)((function(){d(!1)}),[]),A=Object(l.useState)({}),R=a()(A,2),M=R[0],P=R[1],L=Object(l.useContext)(h.b),I=k((function(e){return(null==M?void 0:M.permalink)?e(_.c).getAdminURL("googlesitekit-dashboard",{permaLink:M.permalink}):null})),H=j(y.a).navigateTo;return Object(l.useEffect)((function(){I&&Object(E.v)("".concat(L,"_headerbar"),"open_urldetails").finally((function(){H(I)}))}),[I,H,L]),Object(i.a)((function(){L===O.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==T||null===(e=T.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(b.a,{id:t,setMatch:P,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,onClose:x,autoFocus:!0}),N&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:x,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",text:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{onClick:D,text:!0,ref:T,trailingIcon:e.createElement(p.a,{width:"16",height:"16"})},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},442:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.758 9.395L16 14.637 14.637 16l-5.242-5.242c-.979.705-2.159 1.135-3.449 1.135a5.946 5.946 0 115.947-5.947c0 1.29-.43 2.47-1.135 3.45zM5.946 1.83A4.111 4.111 0 001.83 5.946a4.111 4.111 0 004.116 4.117 4.111 4.111 0 004.117-4.117A4.111 4.111 0 005.946 1.83z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",a({fill:"none"},e),i)}},443:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"#5F6368"});t.a=function SvgCloseDark(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},444:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(12),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(85),s=n(19),u=n(245),d=n(198),f=n(197),g=n(200),m=n(199),p=n(445),v=c.a.useSelect;function BannerNotifications(){var t=v((function(e){return e(s.a).isModuleActive("adsense")})),n=Object(l.a)("ideaHubModule"),r=Object(l.a)("userInput"),o=Object(u.a)("notification"),c=a()(o,1)[0];return"authentication_success"===c||"user_input_success"===c?e.createElement(d.a,null):e.createElement(i.Fragment,null,r&&e.createElement(m.a,null),n&&e.createElement(g.a,null),t&&e.createElement(p.a,null),e.createElement(f.a,null))}}).call(this,n(3))},445:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(1),i=n(4),o=n.n(i),c=n(19),l=n(31),s=n(446),u=n(42),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(l.b).getAccountID()})),i=d((function(e){return e(l.b).getNotifications()}));return t&&n&&void 0!==i?e.createElement(r.Fragment,null,i.map((function(t){return e.createElement(u.a,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(s.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(a.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(a._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},446:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),f=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",a({viewBox:"0 0 300 300",fill:"none"},e),i,o,c,l,s,u,d,f,g)}},447:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(9),v=n.n(p),b=n(104),h=n(2),_=n(1),O=n(338),y=n(52);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var k=function(t){u()(NotificationCounter,t);var n=E(NotificationCounter);function NotificationCounter(e){var t;return a()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(l()(t)),t.handleDecrement=t.handleDecrement.bind(l()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(O.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(O.c)}},{key:"handleDecrement",value:function(){this.setState(O.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(_.sprintf)(
40
  /* translators: %d: the number of notifications */
41
  Object(_._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:v()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(y.a,null,n));return Object(b.createPortal)(r,t)}}]),NotificationCounter}(h.Component);t.a=k}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
42
  /* translators: %s: number of days */
53
  Object(m.__)("%sK","google-site-kit"),k(_(e),e%10==0?{}:t)):k(e,{signDisplay:"never",maximumFractionDigits:1})},y=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?O(e):"duration"===i?b(e,t):k(e,n)},E=g()(console.warn),k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?S():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)}
54
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),b=n(9),h=n.n(b),_=n(2),O=n(1),y=n(56),E=n(94),k=n(8);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var S=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(_.cloneElement)(g,{invertChangeColor:m}));var b=o;c&&(b="%"===c?Object(k.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(k.q)(o,c)),s&&(b=Object(O.sprintf)(s,b));var j=void 0===a?a:Object(k.q)(a,i||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(_.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(y.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(E.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(_.Component);S.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},S.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=S}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(i.sprintf)(
55
  /* translators: %d is the number of notifications */
56
+ Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return _})),n.d(t,"d",(function(){return O})),n.d(t,"f",(function(){return y.c})),n.d(t,"t",(function(){return y.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return k.b})),n.d(t,"h",(function(){return k.a})),n.d(t,"p",(function(){return k.c})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return S})),n.d(t,"x",(function(){return w})),n.d(t,"e",(function(){return N}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var m=n(74),p=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function b(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function h(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,r=[v,b,h];n<r.length;n++){t=(0,r[n])(t)}return t}var O=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)]},y=n(53),E=n(77),k=n(63),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},S=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},w=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},N=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,m,p,v,b,h,_,O,y,E;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,b=t.referenceSiteURL,h=t.trackingEnabled,_=t.trackingID,O=t.userIDHash,h){n.next=3;break}return n.abrupt("return");case 3:return r(),y=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],E={send_to:_,event_category:c,event_label:s,value:d,dimension1:b,dimension2:y.join(","),dimension3:O,dimension4:"1.48.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},E),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},812:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardEntryPoint}));var r=n(0),a=n.n(r),i=n(2),o=n(85),c=n(440),l=n(813),s=n(817),u=n(447);function DashboardEntryPoint(t){var n=t.setupModuleSlug,r=Object(o.a)("unifiedDashboard");return n?e.createElement(c.a,{moduleSlug:n}):r?e.createElement(s.a,null):e.createElement(i.Fragment,null,e.createElement(u.a,null),e.createElement(l.a,null))}DashboardEntryPoint.propTypes={setupModuleSlug:a.a.string}}).call(this,n(3))},813:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardApp}));var r=n(2),a=n(249),i=n(814),o=n(815),c=n(186),l=n(311),s=n(187),u=n(816);function DashboardApp(){return e.createElement(r.Fragment,null,e.createElement(c.a,null,e.createElement(s.a,null),e.createElement(l.a,null)),e.createElement(o.a,null),e.createElement(a.a,{slug:"dashboard",className:"googlesitekit-module-page googlesitekit-dashboard",Header:i.a}),e.createElement(u.a,{triggerID:"view_dashboard",ttl:3600}))}}).call(this,n(3))},814:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardHeader}));var r=n(1),a=n(274);function DashboardHeader(){return e.createElement(a.a,{className:"googlesitekit-heading-2 googlesitekit-dashboard__heading",title:Object(r.__)("Site Overview","google-site-kit")})}}).call(this,n(3))},815:function(e,t,n){"use strict";var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),l=n.n(c),s=n(67),u=n.n(s),d=n(46),f=n.n(d),g=n(1054),m=n(2);function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var v=function(e){l()(DashboardNotifications,e);var t=p(DashboardNotifications);function DashboardNotifications(){return a()(this,DashboardNotifications),t.apply(this,arguments)}return o()(DashboardNotifications,[{key:"render",value:function(){return null}}]),DashboardNotifications}(m.Component);t.a=Object(g.a)("googlesitekit.DashboardNotifications")(v)},816:function(e,t,n){"use strict";var r=n(99),a=n(0),i=n.n(a),o=n(4),c=n.n(o),l=n(15),s=n(11),u=c.a.useSelect,d=c.a.useDispatch,f=function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,a=u((function(e){return e(l.c).isUsingProxy()})),i=d(s.a).triggerSurvey;return Object(r.a)((function(){a&&i(t,{ttl:n})})),null};f.propTypes={triggerID:i.a.string.isRequired,ttl:i.a.number},f.defaultProps={ttl:0},t.a=f},817:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(82),i=n(186),o=n(249),c=n(441),l=n(311),s=n(187),u=n(444),d=n(22);t.a=function DashboardMainApp(){return e.createElement(r.Fragment,null,e.createElement(i.a,{subHeader:e.createElement(u.a,null),showNavigation:!0},e.createElement(c.a,null),e.createElement(l.a,null),e.createElement(s.a,null)),e.createElement(o.a,{id:d.d,slug:a.CONTEXT_MAIN_DASHBOARD_TRAFFIC}),e.createElement(o.a,{id:d.a,slug:a.CONTEXT_MAIN_DASHBOARD_CONTENT}),e.createElement(o.a,{id:d.c,slug:a.CONTEXT_MAIN_DASHBOARD_SPEED}),e.createElement(o.a,{id:d.b,slug:a.CONTEXT_MAIN_DASHBOARD_MONETIZATION}))}}).call(this,n(3))},82:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return a})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return i})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return g})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return p}));var r="dashboard",a="pageDashboard",i="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",l="mainDashboardTraffic",s="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",g="entityDashboardContent",m="entityDashboardSpeed",p="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:a,CONTEXT_MODULE_SEARCH_CONSOLE:i,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:l,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:p}},84:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(157),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
57
  /* translators: %s: Error message */
58
  Object(o.__)("Error: %s","google-site-kit"),n);r&&Object(i.a)(r)&&(a=a+" "+Object(o.sprintf)(
59
  /* translators: %s: Reconnect URL */
dist/assets/js/{googlesitekit-dashboard-details-9a4b80629b1a69dcc8c7.min.js → googlesitekit-dashboard-details-c4049fd3768085aaf080.js} RENAMED
@@ -36,7 +36,7 @@ Object(l.__)("Site Kit can’t access all relevant data because you haven’t gr
36
  /* translators: %1$s: Product name */
37
  Object(l.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),t[0]);break;case"generic":n=Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(12),i=n.n(a),o=n(141),c=n(99),l=n(2),s=n(1),u=n(309),d=n(4),f=n.n(d),g=n(22),m=n(36),p=n(82),v=n(131),h=n(135),b=n(266),_=n(267),y=n(268),E=n(269),O=n(193),k=f.a.useSelect;function DashboardNavigation(){var t=Object(v.b)(),n=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_TRAFFIC:p.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_CONTENT:p.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),d=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_SPEED:p.CONTEXT_ENTITY_DASHBOARD_SPEED)})),f=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_MONETIZATION:p.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),j=Object(h.a)(),w=Object(l.useState)([e.location.hash.substr(1)]),S=i()(w,2),N=S[0],C=S[1],T=Object(l.useCallback)((function(t){var n=i()(t,1)[0];n?(e.history.replaceState({},"","#".concat(n)),e.scrollTo({top:n!==g.d?Object(O.a)(n,j):0,behavior:"smooth"})):e.history.replaceState({},"",Object(u.a)(e.location.href)),C(t)}),[j]);return Object(c.a)((function(){""!==e.location.hash&&setTimeout((function(){var t=e.location.hash.substr(1);e.scrollTo({top:t!==g.d?Object(O.a)(t,j):0,behavior:"smooth"})}),10)})),r.createElement(o.ChipSet,{className:"googlesitekit-navigation",selectedChipIds:N,handleSelect:T,choice:!0},n&&r.createElement(o.Chip,{id:g.d,label:Object(s.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"})}),a&&r.createElement(o.Chip,{id:g.a,label:Object(s.__)("Content","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"18"})}),d&&r.createElement(o.Chip,{id:g.c,label:Object(s.__)("Speed","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"20",height:"16"})}),f&&r.createElement(o.Chip,{id:g.b,label:Object(s.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"18",height:"16"})}))}}).call(this,n(18),n(3))},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},268:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(2),i=n(112),o=n(4),c=n.n(o),l=n(23),s=n(22),u=n(20),d=n(15),f=n(271),g=n(34),m=n(21),p=c.a.useSelect,v=c.a.useDispatch;t.a=function EntityHeaderBanner(){var t=Object(a.useContext)(l.b),n=p((function(e){return e(d.c).getCurrentEntityTitle()})),o=p((function(e){return e(d.c).getCurrentEntityURL()})),c=v(g.a).navigateTo,h=p((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),b=Object(a.useCallback)((function(){c(h)}),[h,c]);return s.k!==t||null===o||null===n?null:e.createElement("div",{className:"googlesitekit-entity-header-banner"},e.createElement(u.a,{icon:e.createElement(f.a,{width:24,height:24}),"aria-label":Object(r.__)("Return to dashboard","google-site-kit"),onClick:b,className:"googlesitekit-entity-header-banner__back",text:!0},Object(r.__)("Return to dashboard","google-site-kit")),e.createElement("div",{className:"googlesitekit-entity-header-banner__details"},e.createElement("p",null,Object(i.a)(Object(r.sprintf)(
38
  /* translators: %s: page title of the page whose stats we're showing */
39
- Object(r.__)("<strong>Detailed page stats for:</strong> “%s”","google-site-kit"),n),{strong:e.createElement("strong",null)})),e.createElement(m.a,{href:o,external:!0,inherit:!0},o)))}}).call(this,n(3))},271:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},272:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},274:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(9),a=n.n(r),i=n(0),o=n.n(i);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,c=t.statusText,l=t.fullWidth,s=t.children,u=l?"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-12\n\t\t":"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-4-phone\n\t\tmdc-layout-grid__cell--span-4-tablet\n\t\tmdc-layout-grid__cell--span-6-desktop\n\t\t",d=""!==o||Boolean(s);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:u},r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),d&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--align-bottom mdc-layout-grid__cell--align-right-tablet mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-6-desktop "},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:a()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},c),s))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(3))},275:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),a=n.n(r),i=n(24),o=n.n(i),c=n(103),l=n(297);function s(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var i=0,o=0,d=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(i,m),h=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==h&&0!==u(v.sort(d)[0].counter,h).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var b=v[0].width;if(r.push(o),(i+=c.c[b])>12){if(i-=c.c[b],r[p]++,9===i){var _=s(n,i),y=a()(_,2);n=y[0],i=y[1]}i=c.c[b],o++}else 12===i&&(i=0,o++);n.push(c.c[b])})),9===i){var m=s(n,i),p=a()(m,2);n=p[0],i=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(206),g=n.n(f);function m(e,t,n){var r=n.columnWidths,a=n.rowIndexes,i=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:i};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var a,i=e[r],o=null==t?void 0:t[i.slug],l=null==o?void 0:o.Component,s=null==o||null===(a=o.metadata)||void 0===a?void 0:a.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,m,p,v;if(i.push(null),s=t[n.slug],u=a[o],s)if(f=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,v=a[o+1],p===v&&g()(f,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var h=d.reduce((function(e,t){return e+t}),0);i[o]=s,l[o]=h,d=[]}})),{gridColumnWidths:l,overrideComponents:i}}var p=n(211)},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(129);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(203);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(128);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 WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(127);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 WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(121),l=n(126);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(126);function a(e){return!!e&&e.Component===r.a}},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),a=n(51),i=n(8),o=n(197),c=n(198),l=n(199),s=n(200),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),g=Object(a.a)(e.createElement(l.a,null)),m=Object(a.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},31:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/adsense",a=1},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),a=n.n(r),i=n(290),o=n(9),c=n.n(o),l=n(2),s=n(71),u=n(4),d=n.n(u),f=n(352),g=n(11),m=n(143),p=n(53),v=n(23),h=n(142),b=n(20),_=n(8),y=n(85),E=d.a.useSelect,O=d.a.useDispatch;function DateRangeSelector(){var t,n=Object(y.a)("unifiedDashboard"),r=Object(p.c)(),o=E((function(e){return e(g.a).getDateRange()})),u=O(g.a).setDateRange,d=Object(l.useState)(!1),k=a()(d,2),j=k[0],w=k[1],S=Object(l.useRef)(),N=Object(l.useContext)(v.b);Object(i.a)(S,(function(){return w(!1)})),Object(m.a)([s.c,s.d],S,(function(){return w(!1)}));var C=Object(l.useCallback)((function(){w(!j)}),[j]),T=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(N,"_headerbar"),"change_daterange",t),u(t),w(!1)}),[r,u,N,o]),D=null===(t=r[o])||void 0===t?void 0:t.label,x=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:S,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(b.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:C,icon:e.createElement(f.a,{width:"18",height:"20"}),"aria-haspopup":"menu","aria-expanded":j,"aria-controls":"date-range-selector-menu"},D),e.createElement(h.a,{menuOpen:j,menuItems:x,onSelected:T,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},341:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),a=n.n(r),i=n(0),o=n.n(i),c=n(189),l=n(2),s=n(1),u=n(71),d=n(32),f=n.n(d),g=n(4),m=n.n(g),p=n(342),v=n(85),h=n(15),b=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.setMatch,i=t.isLoading,o=t.setIsLoading,d=t.autoFocus,g=t.setCanSubmit,m=void 0===g?function(){}:g,_=t.onClose,y=void 0===_?function(){}:_,E=t.placeholder,O=void 0===E?"":E,k=Object(l.useState)(""),j=a()(k,2),w=j[0],S=j[1],N=Object(p.a)(w,200),C=Object(l.useState)([]),T=a()(C,2),D=T[0],x=T[1],A=Object(s.__)("No results found","google-site-kit"),R=Object(v.a)("unifiedDashboard"),L=b((function(e){return e(h.c).getCurrentEntityTitle()})),M=Object(l.useCallback)((function(e){if(Array.isArray(D)&&e!==A){var t=D.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t&&(m(!0),r(t),S(t.post_title))}else m(!1)}),[D,m,r,A,S]),P=Object(l.useCallback)((function(e){m(!1),S(e.target.value)}),[m]);Object(l.useEffect)((function(){if(""!==N&&N!==L){null==o||o(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(N)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return x(e)})).catch((function(){return x([])})).finally((function(){return null==o?void 0:o(!1)})),function(){return null==e?void 0:e.abort()}}}),[N,o,L]),Object(l.useEffect)((function(){w||x([])}),[w]),Object(l.useEffect)((function(){L&&S(L)}),[L]);var I=Object(l.useCallback)((function(e){if(R)return e.keyCode===u.c?y():e.keyCode===u.b?M(w):void 0}),[y,M,w,R]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:M},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onChange:P,placeholder:O,onKeyDown:I,value:w,autoFocus:d}),(!R||!i)&&N!==L&&""!==N&&0===D.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:A,className:"autocomplete__option"}))),""!==N&&N!==L&&D.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},D.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},342:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},347:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),l=n.n(c),s=n(67),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(9),v=n.n(p),h=n(2),b=n(21);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){l()(LayoutHeader,t);var n=_(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,a=t.ctaLink;return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:v()("mdc-layout-grid__cell","mdc-layout-grid__cell--align-middle","mdc-layout-grid__cell--span-4-phone",{"mdc-layout-grid__cell--span-6-desktop":a,"mdc-layout-grid__cell--span-12-desktop":!a,"mdc-layout-grid__cell--span-8-tablet":!a})},e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),a&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--align-middle mdc-layout-grid__cell--align-right-tablet "},e.createElement(b.a,{href:a,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(h.Component);y.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},y.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(3))},348:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),l=n.n(c),s=n(67),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(2),v=n(94);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var b=function(t){l()(LayoutFooter,t);var n=h(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-12"},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(p.Component);b.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=b}).call(this,n(3))},349:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(9),l=n.n(c),s=n(364),u=n(2),d=n(4),f=n.n(d),g=n(103),m=n(36),p=n(350),v=n(275),h=n(14),b=n(351),_=n(138),y=n(85),E=f.a.useSelect;function WidgetAreaRenderer(t){var n,r=t.slug,i=t.totalAreas,o=Object(y.a)("unifiedDashboard"),c=Object(u.useRef)(),d=Object(s.a)(c,{rootMargin:"0px",threshold:0}),f=E((function(e){return e(m.a).getWidgetArea(r)})),O=E((function(e){return e(m.a).getWidgets(r)})),k=E((function(e){return e(m.a).getWidgetStates()})),j=E((function(e){return e(m.a).isWidgetAreaActive(r)})),w=Object(v.c)(O,k),S=w.columnWidths,N=w.rowIndexes,C=Object(v.a)(O,k,{columnWidths:S,rowIndexes:N}),T=C.gridColumnWidths,D=C.overrideComponents,x=O.map((function(t,n){return e.createElement(b.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:T[n]},e.createElement(p.a,{OverrideComponent:D[n]?function(){var t=D[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),A=f.Icon,R=f.title,L=f.style,M=f.subtitle;return j?e.createElement(_.a,{value:!!(null==d?void 0:d.intersectionRatio)},e.createElement(h.b,{className:l()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(L)),ref:c},(o||i>1)&&e.createElement(h.l,null,e.createElement(h.a,{className:"googlesitekit-widget-area-header",size:12},A&&e.createElement(A,{width:33,height:33}),R&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},R),M&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},M))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(h.l,null,L===m.b.BOXES&&x,L===m.b.COMPOSITE&&e.createElement(h.a,{size:12},e.createElement(h.b,null,e.createElement(h.l,null,x))))))):e.createElement(h.b,{className:l()(g.a,"googlesitekit-widget-area",(n={},a()(n,"googlesitekit-widget-area--".concat(r),!!r),a()(n,"googlesitekit-widget-area--".concat(L),!!L),n)),ref:c},x)}WidgetAreaRenderer.propTypes={slug:o.a.string.isRequired}}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},350:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(36),s=n(228),u=n(275),d=n(103),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!a)return e.createElement(g,null);var m=a.Component,p=a.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(i.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=g}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(103),o=n(14),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},352:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",a({viewBox:"0 0 18 20"},e),i)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return v})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return b})),n.d(t,"m",(function(){return _}));var r=n(22),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),p="".concat(r.o,"_idea-hub-saved-ideas-notification"),v="".concat(r.l,"_idea-hub"),h="new-ideas",b="saved-ideas",_="draft-ideas"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return p.apply(this,arguments)}function p(){return(p=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,p=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),m=n.n(g),p=n(230),v=n.n(p),h=n(99),b=n(2),_=n(86),y=n(58),E=n(73),O=n(20),k=n(154),j=n(113),w=n(21),S=n(118),N=n(38),C=n(8),T=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,D=t.description,x=t.dismiss,A=t.dismissExpires,R=t.format,L=t.id,M=t.isDismissible,P=t.learnMoreDescription,I=t.learnMoreLabel,H=t.learnMoreURL,z=t.logo,F=t.module,B=t.moduleName,q=t.onCTAClick,U=t.onDismiss,W=t.pageIndex,V=t.showOnce,K=t.SmallImageSVG,X=t.title,G=t.type,Y=t.WinImageSVG,Q=Object(b.useState)(!1),$=u()(Q,2),Z=$[0],J=$[1],ee=Object(b.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(b.useRef)(),ie="notification::dismissed::".concat(L),oe=function(){return Object(N.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(C.v)("".concat(T.g,"_site-notification"),"dismiss_notification",L);case 4:if(!U){e.next=7;break}return e.next=7,U(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;J(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"confirm_notification",L);case 3:if(!q){e.next=6;break}return e.next=6,q(t);case 6:M&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"click_learn_more_link",L);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(A,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(h.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(C.v)("".concat(T.g,"_site-notification"),"view_notification",L);case 2:if(!(A>0)){e.next=5;break}return e.next=5,de();case 5:if(!M){e.next=11;break}return e.next=8,Object(N.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),M&&(void 0===ne||ne))return null;var ge,me=Z?"is-closed":"is-open",pe="large"===R&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===R?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",pe&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===R&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(k.a,{width:34}):"win-error"===G?e.createElement(j.a,{width:28}):"";var he=e.createElement(b.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":pe,"mdc-layout-grid__cell--span-4-desktop":!pe})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(E.a,t)))})))),be=e.createElement(b.Fragment,null,X&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(w.a,{href:r},i)),D&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(b.isValidElement)(D)?D:e.createElement("span",{dangerouslySetInnerHTML:Object(y.a)(D,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(b.Fragment,null," ",e.createElement(w.a,{onClick:function(e){return ue.apply(this,arguments)},href:H,external:!0,inherit:!0},I),P),W&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},W))),s),_e=F?e.createElement(S.a,{slug:F,size:19}):e.createElement(_.a,{height:"34",width:"32"});return e.createElement("section",{id:L,ref:ae,className:m()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(R),R),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":pe,"mdc-layout-grid__cell--order-1-tablet":pe})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},_e),B&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},B)),K&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(K,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",ve)},pe?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},be),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},he)):e.createElement(b.Fragment,null,be,he),g&&e.createElement(O.a,{className:"googlesitekit-notification__cta",href:g,target:p,onClick:function(e){return se.apply(this,arguments)}},f),M&&x&&e.createElement(w.a,{onClick:function(e){return ce.apply(this,arguments)}},x)),Y&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(Y,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},441:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(99),o=n(407),c=n(122),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(20),g=n(61),m=n(52),p=n(442),v=n(443),h=n(341),b=n(23),_=n(15),y=n(22),E=n(34),O=n(8),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],w=Object(l.useState)(!1),S=a()(w,2),N=S[0],C=S[1],T=Object(l.useRef)(),D=Object(l.useCallback)((function(){d(!0)}),[]),x=Object(l.useCallback)((function(){d(!1)}),[]),A=Object(l.useState)({}),R=a()(A,2),L=R[0],M=R[1],P=Object(l.useContext)(b.b),I=k((function(e){return(null==L?void 0:L.permalink)?e(_.c).getAdminURL("googlesitekit-dashboard",{permaLink:L.permalink}):null})),H=j(E.a).navigateTo;return Object(l.useEffect)((function(){I&&Object(O.v)("".concat(P,"_headerbar"),"open_urldetails").finally((function(){H(I)}))}),[I,H,P]),Object(i.a)((function(){P===y.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==T||null===(e=T.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(h.a,{id:t,setMatch:M,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,onClose:x,autoFocus:!0}),N&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:x,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",text:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{onClick:D,text:!0,ref:T,trailingIcon:e.createElement(p.a,{width:"16",height:"16"})},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},442:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.758 9.395L16 14.637 14.637 16l-5.242-5.242c-.979.705-2.159 1.135-3.449 1.135a5.946 5.946 0 115.947-5.947c0 1.29-.43 2.47-1.135 3.45zM5.946 1.83A4.111 4.111 0 001.83 5.946a4.111 4.111 0 004.116 4.117 4.111 4.111 0 004.117-4.117A4.111 4.111 0 005.946 1.83z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",a({fill:"none"},e),i)}},443:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"#5F6368"});t.a=function SvgCloseDark(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},444:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(12),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(85),s=n(19),u=n(245),d=n(198),f=n(197),g=n(200),m=n(199),p=n(445),v=c.a.useSelect;function BannerNotifications(){var t=v((function(e){return e(s.a).isModuleActive("adsense")})),n=Object(l.a)("ideaHubModule"),r=Object(l.a)("userInput"),o=Object(u.a)("notification"),c=a()(o,1)[0];return"authentication_success"===c||"user_input_success"===c?e.createElement(d.a,null):e.createElement(i.Fragment,null,r&&e.createElement(m.a,null),n&&e.createElement(g.a,null),t&&e.createElement(p.a,null),e.createElement(f.a,null))}}).call(this,n(3))},445:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(1),i=n(4),o=n.n(i),c=n(19),l=n(31),s=n(446),u=n(42),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(l.b).getAccountID()})),i=d((function(e){return e(l.b).getNotifications()}));return t&&n&&void 0!==i?e.createElement(r.Fragment,null,i.map((function(t){return e.createElement(u.a,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(s.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(a.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(a._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},446:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),f=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",a({viewBox:"0 0 300 300",fill:"none"},e),i,o,c,l,s,u,d,f,g)}},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return h})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function h(){var e=function(e){return Object(v.sprintf)(
40
  /* translators: %s: number of days */
41
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},584:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsHeader}));var r=n(2),a=n(112),i=n(1),o=n(4),c=n.n(o),l=n(8),s=n(21),u=n(274),d=n(52),f=n(208),g=n(88),m=n(15),p=c.a.useSelect;function DashboardDetailsHeader(){var t=p((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard")})),n=p((function(e){return e(m.c).getCurrentEntityURL()})),o=p((function(e){return e(m.c).getCurrentEntityTitle()})),c=p((function(e){return e(m.c).getPermaLinkParam()}));return e.createElement(r.Fragment,null,e.createElement(s.a,{href:t,inherit:!0,back:!0,small:!0},Object(i.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(u.a,{title:Object(i.__)("Detailed Page Stats","google-site-kit"),className:" googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading ",fullWidth:!0}),e.createElement(f.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(g.b,null,e.createElement(g.c,null,e.createElement(g.a,{size:12},n&&e.createElement(r.Fragment,null,e.createElement("h3",{className:" googlesitekit-heading-3 googlesitekit-dashboard-single-url__title "},o&&Object(l.e)(o)),e.createElement(s.a,{href:n,inherit:!0,external:!0},n)),!n&&e.createElement("p",null,Object(a.a)(Object(i.sprintf)(
42
  /* translators: %s: current entity URL. */
@@ -53,7 +53,7 @@ Object(m.__)("%sK","google-site-kit"),k(_(e))):1e3<=e?Object(m.sprintf)(// trans
53
  Object(m.__)("%sK","google-site-kit"),k(_(e),e%10==0?{}:t)):k(e,{signDisplay:"never",maximumFractionDigits:1})},E=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return h(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?y(e):"duration"===i?h(e,t):k(e,n)},O=g()(console.warn),k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){O("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)}
54
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},w=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),h=n(9),b=n.n(h),_=n(2),y=n(1),E=n(56),O=n(94),k=n(8);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var w=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(_.cloneElement)(g,{invertChangeColor:m}));var h=o;c&&(h="%"===c?Object(k.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(k.q)(o,c)),s&&(h=Object(y.sprintf)(s,h));var j=void 0===a?a:Object(k.q)(a,i||void 0);return e.createElement("div",{className:b()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:b()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(_.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(E.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},h))),f&&e.createElement(O.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(_.Component);w.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},w.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=w}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(i.sprintf)(
55
  /* translators: %d is the number of notifications */
56
- Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return _})),n.d(t,"d",(function(){return y})),n.d(t,"f",(function(){return E.c})),n.d(t,"t",(function(){return E.i})),n.d(t,"g",(function(){return O.b})),n.d(t,"m",(function(){return O.c})),n.d(t,"b",(function(){return O.a})),n.d(t,"l",(function(){return k.b})),n.d(t,"h",(function(){return k.a})),n.d(t,"p",(function(){return k.c})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return N}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var m=n(74),p=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function b(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,r=[v,h,b];n<r.length;n++){t=(0,r[n])(t)}return t}var y=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},E=n(53),O=n(77),k=n(63),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},w=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},N=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,m,p,v,h,b,_,y,E,O;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,h=t.referenceSiteURL,b=t.trackingEnabled,_=t.trackingID,y=t.userIDHash,b){n.next=3;break}return n.abrupt("return");case 3:return r(),E=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],O={send_to:_,event_category:c,event_label:s,value:d,dimension1:h,dimension2:E.join(","),dimension3:y,dimension4:"1.48.0",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},O),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},818:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsApp}));var r=n(2),a=n(4),i=n.n(a),o=n(249),c=n(584),l=n(186),s=n(311),u=n(15),d=n(187),f=n(14),g=i.a.useSelect;function DashboardDetailsApp(){var t=g((function(e){return e(u.c).getAdminURL("googlesitekit-dashboard")})),n=g((function(e){return e(u.c).getCurrentEntityURL()}));return t?e.createElement(r.Fragment,null,e.createElement(l.a,null,e.createElement(d.a,null),n&&e.createElement(s.a,null)),n?e.createElement(o.a,{slug:"pageDashboard",className:"googlesitekit-module-page googlesitekit-dashboard-single-url",Header:c.a}):e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(f.b,null,e.createElement(f.l,null,e.createElement(f.a,{size:12},e.createElement(c.a,null)))))):null}}).call(this,n(3))},819:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(112),i=n(1),o=n(4),c=n.n(o),l=n(186),s=n(82),u=n(249),d=n(441),f=n(311),g=n(187),m=n(22),p=n(444),v=n(15),h=n(21),b=n(52),_=n(14),y=n(274),E=n(208),O=c.a.useSelect;t.a=function DashboardEntityApp(){var t=O((function(e){return e(v.c).getCurrentEntityURL()})),n=O((function(e){return e(v.c).getPermaLinkParam()})),o=O((function(e){return e(v.c).getAdminURL("googlesitekit-dashboard")}));return null===t?e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement(r.Fragment,null,e.createElement(h.a,{href:o,inherit:!0,back:!0,small:!0},Object(i.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(y.a,{title:Object(i.__)("Detailed Page Stats","google-site-kit"),className:"googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading",fullWidth:!0}),e.createElement(E.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement("p",null,Object(a.a)(Object(i.sprintf)(
57
  /* translators: %s: current entity URL. */
58
  Object(i.__)("It looks like the URL %s is not part of this site or is not based on standard WordPress content types, therefore there is no data available to display. Visit our <link1>support forums</link1> or <link2><VisuallyHidden>Site Kit </VisuallyHidden>website</link2> for support or further information.","google-site-kit"),"<strong>".concat(n,"</strong>")),{strong:e.createElement("strong",null),link1:e.createElement(h.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,inherit:!0}),link2:e.createElement(h.a,{href:"https://sitekit.withgoogle.com/documentation/troubleshooting/dashboard/#url-not-part-of-this-site",external:!0,inherit:!0}),VisuallyHidden:e.createElement(b.a,null)}))))))))))):e.createElement(r.Fragment,null,e.createElement(l.a,{subHeader:e.createElement(p.a,null),showNavigation:!0},e.createElement(d.a,null),e.createElement(f.a,null),e.createElement(g.a,null)),e.createElement(u.a,{id:m.d,slug:s.CONTEXT_ENTITY_DASHBOARD_TRAFFIC}),e.createElement(u.a,{id:m.a,slug:s.CONTEXT_ENTITY_DASHBOARD_CONTENT}),e.createElement(u.a,{id:m.c,slug:s.CONTEXT_ENTITY_DASHBOARD_SPEED}),e.createElement(u.a,{id:m.b,slug:s.CONTEXT_ENTITY_DASHBOARD_MONETIZATION}))}}).call(this,n(3))},82:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return a})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return i})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return g})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return p}));var r="dashboard",a="pageDashboard",i="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",l="mainDashboardTraffic",s="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",g="entityDashboardContent",m="entityDashboardSpeed",p="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:a,CONTEXT_MODULE_SEARCH_CONSOLE:i,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:l,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:p}},84:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(157),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
59
  /* translators: %s: Error message */
36
  /* translators: %1$s: Product name */
37
  Object(l.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),t[0]);break;case"generic":n=Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.a,{id:"authentication error",title:Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:s,ctaLabel:Object(l.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(12),i=n.n(a),o=n(141),c=n(99),l=n(2),s=n(1),u=n(309),d=n(4),f=n.n(d),g=n(22),m=n(36),p=n(82),v=n(131),h=n(135),b=n(266),_=n(267),y=n(268),E=n(269),O=n(193),k=f.a.useSelect;function DashboardNavigation(){var t=Object(v.b)(),n=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_TRAFFIC:p.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_CONTENT:p.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),d=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_SPEED:p.CONTEXT_ENTITY_DASHBOARD_SPEED)})),f=k((function(e){return e(m.a).isWidgetContextActive(t===v.a?p.CONTEXT_MAIN_DASHBOARD_MONETIZATION:p.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),j=Object(h.a)(),w=Object(l.useState)([e.location.hash.substr(1)]),S=i()(w,2),N=S[0],C=S[1],T=Object(l.useCallback)((function(t){var n=i()(t,1)[0];n?(e.history.replaceState({},"","#".concat(n)),e.scrollTo({top:n!==g.d?Object(O.a)(n,j):0,behavior:"smooth"})):e.history.replaceState({},"",Object(u.a)(e.location.href)),C(t)}),[j]);return Object(c.a)((function(){""!==e.location.hash&&setTimeout((function(){var t=e.location.hash.substr(1);e.scrollTo({top:t!==g.d?Object(O.a)(t,j):0,behavior:"smooth"})}),10)})),r.createElement(o.ChipSet,{className:"googlesitekit-navigation",selectedChipIds:N,handleSelect:T,choice:!0},n&&r.createElement(o.Chip,{id:g.d,label:Object(s.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"})}),a&&r.createElement(o.Chip,{id:g.a,label:Object(s.__)("Content","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"18"})}),d&&r.createElement(o.Chip,{id:g.c,label:Object(s.__)("Speed","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"20",height:"16"})}),f&&r.createElement(o.Chip,{id:g.b,label:Object(s.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"18",height:"16"})}))}}).call(this,n(18),n(3))},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},268:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(2),i=n(112),o=n(4),c=n.n(o),l=n(23),s=n(22),u=n(20),d=n(15),f=n(271),g=n(34),m=n(21),p=c.a.useSelect,v=c.a.useDispatch;t.a=function EntityHeaderBanner(){var t=Object(a.useContext)(l.b),n=p((function(e){return e(d.c).getCurrentEntityTitle()})),o=p((function(e){return e(d.c).getCurrentEntityURL()})),c=v(g.a).navigateTo,h=p((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),b=Object(a.useCallback)((function(){c(h)}),[h,c]);return s.k!==t||null===o||null===n?null:e.createElement("div",{className:"googlesitekit-entity-header-banner"},e.createElement(u.a,{icon:e.createElement(f.a,{width:24,height:24}),"aria-label":Object(r.__)("Return to dashboard","google-site-kit"),onClick:b,className:"googlesitekit-entity-header-banner__back",text:!0},Object(r.__)("Return to dashboard","google-site-kit")),e.createElement("div",{className:"googlesitekit-entity-header-banner__details"},e.createElement("p",null,Object(i.a)(Object(r.sprintf)(
38
  /* translators: %s: page title of the page whose stats we're showing */
39
+ Object(r.__)("<strong>Detailed page stats for:</strong> “%s”","google-site-kit"),n),{strong:e.createElement("strong",null)})),e.createElement(m.a,{href:o,external:!0,inherit:!0},o)))}}).call(this,n(3))},271:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},272:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},274:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(9),a=n.n(r),i=n(0),o=n.n(i);function PageHeader(t){var n=t.title,r=t.icon,i=t.className,o=t.status,c=t.statusText,l=t.fullWidth,s=t.children,u=l?"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-12\n\t\t":"\n\t\tmdc-layout-grid__cell\n\t\tmdc-layout-grid__cell--span-4-phone\n\t\tmdc-layout-grid__cell--span-4-tablet\n\t\tmdc-layout-grid__cell--span-6-desktop\n\t\t",d=""!==o||Boolean(s);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:u},r,e.createElement("h1",{className:a()("googlesitekit-page-header__title",i)},n)),d&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--align-bottom mdc-layout-grid__cell--align-right-tablet mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--span-4-tablet mdc-layout-grid__cell--span-6-desktop "},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:a()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},c),s))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(3))},275:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p.a}));var r=n(12),a=n.n(r),i=n(24),o=n.n(i),c=n(103),l=n(297);function s(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function u(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function d(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var i=0,o=0,d=function(e,t){return e.counter-t.counter},f=function(e,t){var n=e.counter;return t.counter-n},g=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(Object(l.a)(t[m.slug]))return n.push(0),void r.push(o);var v=u(i,m),h=function(e,t,n){for(;++e<t.length;)if(!Object(l.a)(n[t[e].slug]))return t[e];return null}(p,e,t);null!==h&&0!==u(v.sort(d)[0].counter,h).filter(g).length||v.some(g)&&(v=(v=v.sort(f)).filter(g));var b=v[0].width;if(r.push(o),(i+=c.c[b])>12){if(i-=c.c[b],r[p]++,9===i){var _=s(n,i),y=a()(_,2);n=y[0],i=y[1]}i=c.c[b],o++}else 12===i&&(i=0,o++);n.push(c.c[b])})),9===i){var m=s(n,i),p=a()(m,2);n=p[0],i=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(206),g=n.n(f);function m(e,t,n){var r=n.columnWidths,a=n.rowIndexes,i=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:i};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var a,i=e[r],o=null==t?void 0:t[i.slug],l=null==o?void 0:o.Component,s=null==o||null===(a=o.metadata)||void 0===a?void 0:a.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var f=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(f))}}return e.forEach((function(n,o){var c,f,m,p,v;if(i.push(null),s=t[n.slug],u=a[o],s)if(f=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,v=a[o+1],p===v&&g()(f,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var h=d.reduce((function(e,t){return e+t}),0);i[o]=s,l[o]=h,d=[]}})),{gridColumnWidths:l,overrideComponents:i}}var p=n(211)},292:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(129);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(203);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(3))},294:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetActivateModuleCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(128);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 WidgetActivateModuleCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetActivateModuleCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetCompleteModuleActivationCTA}));var r=n(6),a=n.n(r),i=n(17),o=n.n(i),c=n(16),l=n.n(c),s=n(0),u=n.n(s),d=n(2),f=n(121),g=n(127);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 WidgetCompleteModuleActivationCTA(t){var n=t.widgetSlug,r=t.moduleSlug,a=l()(t,["widgetSlug","moduleSlug"]),i=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(f.a)(n,g.a,i),e.createElement(g.a,o()({moduleSlug:r},a))}WidgetCompleteModuleActivationCTA.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},g.a.propTypes)}).call(this,n(3))},296:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(121),l=n(126);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(3))},297:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(126);function a(e){return!!e&&e.Component===r.a}},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),a=n(51),i=n(8),o=n(197),c=n(198),l=n(199),s=n(200),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),g=Object(a.a)(e.createElement(l.a,null)),m=Object(a.a)(e.createElement(s.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",g,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function p(e){e?d():f()}c&&l&&g()}).call(this,n(18))},31:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="modules/adsense",a=1},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DateRangeSelector}));var r=n(12),a=n.n(r),i=n(290),o=n(9),c=n.n(o),l=n(2),s=n(71),u=n(4),d=n.n(u),f=n(352),g=n(11),m=n(143),p=n(53),v=n(23),h=n(142),b=n(20),_=n(8),y=n(85),E=d.a.useSelect,O=d.a.useDispatch;function DateRangeSelector(){var t,n=Object(y.a)("unifiedDashboard"),r=Object(p.c)(),o=E((function(e){return e(g.a).getDateRange()})),u=O(g.a).setDateRange,d=Object(l.useState)(!1),k=a()(d,2),j=k[0],w=k[1],S=Object(l.useRef)(),N=Object(l.useContext)(v.b);Object(i.a)(S,(function(){return w(!1)})),Object(m.a)([s.c,s.d],S,(function(){return w(!1)}));var C=Object(l.useCallback)((function(){w(!j)}),[j]),T=Object(l.useCallback)((function(e){var t=Object.values(r)[e].slug;o!==t&&Object(_.v)("".concat(N,"_headerbar"),"change_daterange",t),u(t),w(!1)}),[r,u,N,o]),D=null===(t=r[o])||void 0===t?void 0:t.label,x=Object.values(r).map((function(e){return e.label}));return e.createElement("div",{ref:S,className:"googlesitekit-date-range-selector googlesitekit-dropdown-menu mdc-menu-surface--anchor"},e.createElement(b.a,{className:c()("mdc-button--dropdown","googlesitekit-header__dropdown","googlesitekit-header__date-range-selector-menu",{"googlesitekit-header__date-range-selector-menu--has-unified-dashboard":n}),text:!0,onClick:C,icon:e.createElement(f.a,{width:"18",height:"20"}),"aria-haspopup":"menu","aria-expanded":j,"aria-controls":"date-range-selector-menu"},D),e.createElement(h.a,{menuOpen:j,menuItems:x,onSelected:T,id:"date-range-selector-menu",className:"googlesitekit-width-auto"}))}}).call(this,n(3))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},341:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PostSearcherAutoSuggest}));var r=n(12),a=n.n(r),i=n(0),o=n.n(i),c=n(189),l=n(2),s=n(1),u=n(71),d=n(32),f=n.n(d),g=n(4),m=n.n(g),p=n(342),v=n(85),h=n(15),b=m.a.useSelect;function PostSearcherAutoSuggest(t){var n=t.id,r=t.setMatch,i=t.isLoading,o=t.setIsLoading,d=t.autoFocus,g=t.setCanSubmit,m=void 0===g?function(){}:g,_=t.onClose,y=void 0===_?function(){}:_,E=t.placeholder,O=void 0===E?"":E,k=Object(l.useState)(""),j=a()(k,2),w=j[0],S=j[1],N=Object(p.a)(w,200),C=Object(l.useState)([]),T=a()(C,2),D=T[0],x=T[1],A=Object(s.__)("No results found","google-site-kit"),R=Object(v.a)("unifiedDashboard"),L=b((function(e){return e(h.c).getCurrentEntityTitle()})),M=Object(l.useCallback)((function(e){if(Array.isArray(D)&&e!==A){var t=D.find((function(t){return t.post_title.toLowerCase()===e.toLowerCase()}));t&&(m(!0),r(t),S(t.post_title))}else m(!1)}),[D,m,r,A,S]),P=Object(l.useCallback)((function(e){m(!1),S(e.target.value)}),[m]);Object(l.useEffect)((function(){if(""!==N&&N!==L){null==o||o(!0);var e="undefined"==typeof AbortController?void 0:new AbortController;return f.a.get("core","search","post-search",{query:encodeURIComponent(N)},{useCache:!1,signal:null==e?void 0:e.signal}).then((function(e){return x(e)})).catch((function(){return x([])})).finally((function(){return null==o?void 0:o(!1)})),function(){return null==e?void 0:e.abort()}}}),[N,o,L]),Object(l.useEffect)((function(){w||x([])}),[w]),Object(l.useEffect)((function(){L&&S(L)}),[L]);var I=Object(l.useCallback)((function(e){if(R)return e.keyCode===u.c?y():e.keyCode===u.b?M(w):void 0}),[y,M,w,R]);return e.createElement(c.a,{className:"autocomplete__wrapper",onSelect:M},e.createElement(c.b,{id:n,className:"autocomplete__input autocomplete__input--default",type:"text",onChange:P,placeholder:O,onKeyDown:I,value:w,autoFocus:d}),(!R||!i)&&N!==L&&""!==N&&0===D.length&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},e.createElement(c.d,{value:A,className:"autocomplete__option"}))),""!==N&&N!==L&&D.length>0&&e.createElement(c.e,{portal:!1},e.createElement(c.c,{className:"autocomplete__menu autocomplete__menu--inline"},D.map((function(t){var n=t.ID,r=t.post_title;return e.createElement(c.d,{key:n,value:r,className:"autocomplete__option"})})))))}PostSearcherAutoSuggest.propTypes={id:o.a.string,setCanSubmit:o.a.func,setMatch:o.a.func,isLoading:o.a.bool,setIsLoading:o.a.func,onKeyDown:o.a.func,autoFocus:o.a.bool,placeholder:o.a.string}}).call(this,n(3))},342:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(12),a=n.n(r),i=n(2);function o(e,t){var n=Object(i.useState)(e),r=a()(n,2),o=r[0],c=r[1];return Object(i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),o}},347:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),l=n.n(c),s=n(67),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(9),v=n.n(p),h=n(2),b=n(21);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var y=function(t){l()(LayoutHeader,t);var n=_(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,a=t.ctaLink;return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:v()("mdc-layout-grid__cell","mdc-layout-grid__cell--align-middle","mdc-layout-grid__cell--span-4-phone",{"mdc-layout-grid__cell--span-6-desktop":a,"mdc-layout-grid__cell--span-12-desktop":!a,"mdc-layout-grid__cell--span-8-tablet":!a})},e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),a&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--align-middle mdc-layout-grid__cell--align-right-tablet "},e.createElement(b.a,{href:a,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(h.Component);y.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},y.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=y}).call(this,n(3))},348:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),l=n.n(c),s=n(67),u=n.n(s),d=n(46),f=n.n(d),g=n(0),m=n.n(g),p=n(2),v=n(94);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var b=function(t){l()(LayoutFooter,t);var n=h(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-12"},r&&n&&e.createElement(v.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(p.Component);b.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=b}).call(this,n(3))},349:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetAreaRenderer}));var r=n(6),a=n.n(r),i=n(0),o=n.n(i),c=n(9),l=n.n(c),s=n(364),u=n(2),d=n(4),f=n.n(d),g=n(103),m=n(36),p=n(350),v=n(275),h=n(14),b=n(351),_=n(138),y=n(85),E=f.a.useSelect;function WidgetAreaRenderer(t){var n,r=t.slug,i=t.totalAreas,o=Object(y.a)("unifiedDashboard"),c=Object(u.useRef)(),d=Object(s.a)(c,{rootMargin:"0px",threshold:0}),f=E((function(e){return e(m.a).getWidgetArea(r)})),O=E((function(e){return e(m.a).getWidgets(r)})),k=E((function(e){return e(m.a).getWidgetStates()})),j=E((function(e){return e(m.a).isWidgetAreaActive(r)})),w=Object(v.c)(O,k),S=w.columnWidths,N=w.rowIndexes,C=Object(v.a)(O,k,{columnWidths:S,rowIndexes:N}),T=C.gridColumnWidths,D=C.overrideComponents,x=O.map((function(t,n){return e.createElement(b.a,{key:"".concat(t.slug,"-wrapper"),gridColumnWidth:T[n]},e.createElement(p.a,{OverrideComponent:D[n]?function(){var t=D[n],r=t.Component,a=t.metadata;return e.createElement(r,a)}:void 0,slug:t.slug}))})),A=f.Icon,R=f.title,L=f.style,M=f.subtitle;return j?e.createElement(_.a,{value:!!(null==d?void 0:d.intersectionRatio)},e.createElement(h.b,{className:l()("googlesitekit-widget-area","googlesitekit-widget-area--".concat(r),"googlesitekit-widget-area--".concat(L)),ref:c},(o||i>1)&&e.createElement(h.l,null,e.createElement(h.a,{className:"googlesitekit-widget-area-header",size:12},A&&e.createElement(A,{width:33,height:33}),R&&e.createElement("h3",{className:"googlesitekit-widget-area-header__title googlesitekit-heading-3"},R),M&&e.createElement("h4",{className:"googlesitekit-widget-area-header__subtitle"},M))),e.createElement("div",{className:"googlesitekit-widget-area-widgets"},e.createElement(h.l,null,L===m.b.BOXES&&x,L===m.b.COMPOSITE&&e.createElement(h.a,{size:12},e.createElement(h.b,null,e.createElement(h.l,null,x))))))):e.createElement(h.b,{className:l()(g.a,"googlesitekit-widget-area",(n={},a()(n,"googlesitekit-widget-area--".concat(r),!!r),a()(n,"googlesitekit-widget-area--".concat(L),!!L),n)),ref:c},x)}WidgetAreaRenderer.propTypes={slug:o.a.string.isRequired}}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},350:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(36),s=n(228),u=n(275),d=n(103),f=c.a.useSelect,g=function WidgetRenderer(t){var n=t.slug,r=t.OverrideComponent,a=f((function(e){return e(l.a).getWidget(n)})),o=Object(u.b)(n),c=o.Widget,g=o.WidgetNull;if(!a)return e.createElement(g,null);var m=a.Component,p=a.wrapWidget,v=e.createElement(m,o);return r?v=e.createElement(i.Fragment,null,e.createElement(s.a,{widgetSlug:"overridden"},e.createElement(r,null)),e.createElement("div",{className:d.a},v)):p&&(v=e.createElement(c,null,v)),v};g.propTypes={slug:a.a.string.isRequired,OverrideComponent:a.a.elementType},t.a=g}).call(this,n(3))},351:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(103),o=n(14),c=function WidgetCellWrapper(t){var n=t.gridColumnWidth,r=t.children;return 0===n?e.createElement("div",{className:i.a},r):n<6?e.createElement(o.a,{lgSize:n,mdSize:4,smSize:2},r):n<8?e.createElement(o.a,{lgSize:n,mdSize:8},r):e.createElement(o.a,{size:n},r)};c.propTypes={gridColumnWidth:a.a.number.isRequired,children:a.a.element.isRequired},t.a=c}).call(this,n(3))},352:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M6 9H4v2h2V9zm4 0H8v2h2V9zm4 0h-2v2h2V9zm2-7h-1V0h-2v2H5V0H3v2H2C.89 2 .01 2.9.01 4L0 18a2 2 0 002 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 16H2V7h14v11z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgDateRange(e){return r.createElement("svg",a({viewBox:"0 0 18 20"},e),i)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"i",(function(){return v})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return b})),n.d(t,"m",(function(){return _}));var r=n(22),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",l="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",g="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),p="".concat(r.o,"_idea-hub-saved-ideas-notification"),v="".concat(r.l,"_idea-hub"),h="new-ideas",b="saved-ideas",_="draft-ideas"},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return h})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return p.apply(this,arguments)}function p(){return(p=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,p=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),m=n.n(g),p=n(230),v=n.n(p),h=n(99),b=n(2),_=n(86),y=n(58),E=n(73),O=n(20),k=n(154),j=n(113),w=n(21),S=n(118),N=n(38),C=n(8),T=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,p=t.ctaTarget,D=t.description,x=t.dismiss,A=t.dismissExpires,R=t.format,L=t.id,M=t.isDismissible,P=t.learnMoreDescription,I=t.learnMoreLabel,H=t.learnMoreURL,z=t.logo,F=t.module,B=t.moduleName,q=t.onCTAClick,U=t.onDismiss,W=t.pageIndex,V=t.showOnce,K=t.SmallImageSVG,X=t.title,G=t.type,Y=t.WinImageSVG,Q=Object(b.useState)(!1),$=u()(Q,2),Z=$[0],J=$[1],ee=Object(b.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(b.useRef)(),ie="notification::dismissed::".concat(L),oe=function(){return Object(N.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(C.v)("".concat(T.g,"_site-notification"),"dismiss_notification",L);case 4:if(!U){e.next=7;break}return e.next=7,U(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;J(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"confirm_notification",L);case 3:if(!q){e.next=6;break}return e.next=6,q(t);case 6:M&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(C.v)("".concat(T.g,"_site-notification"),"click_learn_more_link",L);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(A,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(N.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(h.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(C.v)("".concat(T.g,"_site-notification"),"view_notification",L);case 2:if(!(A>0)){e.next=5;break}return e.next=5,de();case 5:if(!M){e.next=11;break}return e.next=8,Object(N.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),M&&(void 0===ne||ne))return null;var ge,me=Z?"is-closed":"is-open",pe="large"===R&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===R?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",pe&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===R&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(k.a,{width:34}):"win-error"===G?e.createElement(j.a,{width:28}):"";var he=e.createElement(b.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":pe,"mdc-layout-grid__cell--span-4-desktop":!pe})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(E.a,t)))})))),be=e.createElement(b.Fragment,null,X&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},X),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(w.a,{href:r},i)),D&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(b.isValidElement)(D)?D:e.createElement("span",{dangerouslySetInnerHTML:Object(y.a)(D,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),I&&e.createElement(b.Fragment,null," ",e.createElement(w.a,{onClick:function(e){return ue.apply(this,arguments)},href:H,external:!0,inherit:!0},I),P),W&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},W))),s),_e=F?e.createElement(S.a,{slug:F,size:19}):e.createElement(_.a,{height:"34",width:"32"});return e.createElement("section",{id:L,ref:ae,className:m()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(R),R),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":pe,"mdc-layout-grid__cell--order-1-tablet":pe})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},_e),B&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},B)),K&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(K,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",ve)},pe?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},be),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},he)):e.createElement(b.Fragment,null,be,he),g&&e.createElement(O.a,{className:"googlesitekit-notification__cta",href:g,target:p,onClick:function(e){return se.apply(this,arguments)}},f),M&&x&&e.createElement(w.a,{onClick:function(e){return ce.apply(this,arguments)}},x)),Y&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(Y,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},441:function(e,t,n){"use strict";(function(e){var r=n(12),a=n.n(r),i=n(99),o=n(407),c=n(122),l=n(2),s=n(1),u=n(4),d=n.n(u),f=n(20),g=n(61),m=n(52),p=n(442),v=n(443),h=n(341),b=n(23),_=n(15),y=n(22),E=n(34),O=n(8),k=d.a.useSelect,j=d.a.useDispatch;t.a=function EntitySearchInput(){var t=Object(c.a)(EntitySearchInput,"EntitySearchInput"),n=Object(l.useState)(!1),r=a()(n,2),u=r[0],d=r[1],w=Object(l.useState)(!1),S=a()(w,2),N=S[0],C=S[1],T=Object(l.useRef)(),D=Object(l.useCallback)((function(){d(!0)}),[]),x=Object(l.useCallback)((function(){d(!1)}),[]),A=Object(l.useState)({}),R=a()(A,2),L=R[0],M=R[1],P=Object(l.useContext)(b.b),I=k((function(e){return(null==L?void 0:L.permalink)?e(_.c).getAdminURL("googlesitekit-dashboard",{permaLink:L.permalink}):null})),H=j(E.a).navigateTo;return Object(l.useEffect)((function(){I&&Object(O.v)("".concat(P,"_headerbar"),"open_urldetails").finally((function(){H(I)}))}),[I,H,P]),Object(i.a)((function(){P===y.k&&d(!0)})),Object(o.a)((function(){var e;u||(null==T||null===(e=T.current)||void 0===e||e.focus())}),[u]),u?e.createElement("div",{className:"googlesitekit-entity-search googlesitekit-entity-search--is-open"},e.createElement(m.a,null,e.createElement("label",{htmlFor:t},Object(s.__)("Page/URL Search","google-site-kit"))),e.createElement(h.a,{id:t,setMatch:M,placeholder:Object(s.__)("Enter title or URL…","google-site-kit"),isLoading:N,setIsLoading:C,onClose:x,autoFocus:!0}),N&&e.createElement(g.a,{className:"googlesitekit-entity-search__loading",compress:!0}),e.createElement("div",{className:"googlesitekit-entity-search__actions"},e.createElement(f.a,{onClick:x,trailingIcon:e.createElement(v.a,{width:"30",height:"20"}),className:"googlesitekit-entity-search__close",text:!0}))):e.createElement("div",{className:"googlesitekit-entity-search"},e.createElement(f.a,{onClick:D,text:!0,ref:T,trailingIcon:e.createElement(p.a,{width:"16",height:"16"})},Object(s.__)("URL Search","google-site-kit")))}}).call(this,n(3))},442:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.758 9.395L16 14.637 14.637 16l-5.242-5.242c-.979.705-2.159 1.135-3.449 1.135a5.946 5.946 0 115.947-5.947c0 1.29-.43 2.47-1.135 3.45zM5.946 1.83A4.111 4.111 0 001.83 5.946a4.111 4.111 0 004.116 4.117 4.111 4.111 0 004.117-4.117A4.111 4.111 0 005.946 1.83z",fill:"currentColor"});t.a=function SvgMagnifyingGlass(e){return r.createElement("svg",a({fill:"none"},e),i)}},443:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M15.833 5.342l-1.175-1.175L10 8.825 5.342 4.167 4.167 5.342 8.825 10l-4.658 4.658 1.175 1.175L10 11.175l4.658 4.658 1.175-1.175L11.175 10l4.658-4.658z",fill:"#5F6368"});t.a=function SvgCloseDark(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},444:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerNotifications}));var r=n(12),a=n.n(r),i=n(2),o=n(4),c=n.n(o),l=n(85),s=n(19),u=n(245),d=n(198),f=n(197),g=n(200),m=n(199),p=n(445),v=c.a.useSelect;function BannerNotifications(){var t=v((function(e){return e(s.a).isModuleActive("adsense")})),n=Object(l.a)("ideaHubModule"),r=Object(l.a)("userInput"),o=Object(u.a)("notification"),c=a()(o,1)[0];return"authentication_success"===c||"user_input_success"===c?e.createElement(d.a,null):e.createElement(i.Fragment,null,r&&e.createElement(m.a,null),n&&e.createElement(g.a,null),t&&e.createElement(p.a,null),e.createElement(f.a,null))}}).call(this,n(3))},445:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(1),i=n(4),o=n.n(i),c=n(19),l=n(31),s=n(446),u=n(42),d=o.a.useSelect;t.a=function AdSenseAlerts(){var t=d((function(e){return e(c.a).isModuleConnected("adsense")})),n=d((function(e){return e(l.b).getAccountID()})),i=d((function(e){return e(l.b).getNotifications()}));return t&&n&&void 0!==i?e.createElement(r.Fragment,null,i.map((function(t){return e.createElement(u.a,{key:t.id,id:t.id,title:t.title||"",description:t.description||"",blockData:t.blockData||[],WinImageSVG:function WinImageSVG(){return e.createElement(s.a,{height:"136"})},format:t.format||"small",learnMoreURL:t.learnMoreURL||"",learnMoreDescription:t.learnMoreDescription||"",learnMoreLabel:t.learnMoreLabel||"",ctaLink:t.ctaURL||"",ctaLabel:t.ctaLabel||"",ctaTarget:t.ctaTarget||"",type:t.severity||"",dismiss:t.dismiss||Object(a.__)("OK, Got it!","google-site-kit"),isDismissible:t.isDismissable||!0,logo:t.logo||!0,module:"adsense",moduleName:Object(a._x)("AdSense","Service name","google-site-kit"),pageIndex:t.pageIndex||"",dismissExpires:t.dismissExpires||0,showOnce:t.showOnce||!1})}))):null}}).call(this,n(3))},446:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("circle",{cx:150,cy:150,r:100,fill:"#D2E3FC"}),o=r.createElement("g",{clipPath:"url(#notification-alert_svg__clip0)",strokeMiterlimit:10,strokeWidth:15},r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15s44.18-11.1 65.14-20.18c9.91-4.3 20.07-8.62 30.85-9.31s22.46 2.9 28.7 11.71a24 24 0 013.78 17.65",stroke:"#4285F4"}),r.createElement("path",{d:"M9.05 157.71c13.32 18.56 38.17 25.89 61 24.15",stroke:"#1A73E8"})),c=r.createElement("path",{stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33l-67.86 256.23"}),l=r.createElement("path",{stroke:"#A50E0E",strokeMiterlimit:10,strokeWidth:10,d:"M225.13 32.33L193.97 150"}),s=r.createElement("path",{d:"M221.3 13l-94.69 95.2a10 10 0 004.53 16.72L261 159.3a10 10 0 0012.18-12.3L238 17.39A10 10 0 00221.3 13z",fill:"#D93025"}),u=r.createElement("path",{d:"M137.37 111.56l87.36-87.87a3 3 0 015 1.33l32.42 119.6a3 3 0 01-3.66 3.68l-119.76-31.72a3 3 0 01-1.36-5.02z",stroke:"#C5221F",strokeMiterlimit:10,strokeWidth:2}),d=r.createElement("path",{d:"M196.78 118.35a7.38 7.38 0 01-.78-5.84 7.25 7.25 0 013.56-4.64 7.46 7.46 0 015.83-.73 7.51 7.51 0 015.4 9.29 7.51 7.51 0 01-3.52 4.7 7.27 7.27 0 01-5.8.8 7.44 7.44 0 01-4.69-3.58zm12.05-46.1l5.56-21 10.82 2.87-5.55 21-8 25.41-8.6-2.28z",fill:"#FFF"}),f=r.createElement("path",{d:"M198.47 181.73a23.18 23.18 0 01-8.2 14.28c-9.2 7.58-24.24 6.67-32.46-2",stroke:"#4285F4",strokeMiterlimit:10,strokeWidth:15}),g=r.createElement("defs",null,r.createElement("clipPath",{id:"notification-alert_svg__clip0"},r.createElement("circle",{cx:150,cy:150,r:100})));t.a=function SvgNotificationAlert(e){return r.createElement("svg",a({viewBox:"0 0 300 300",fill:"none"},e),i,o,c,l,s,u,d,f,g)}},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return h})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function p(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function h(){var e=function(e){return Object(v.sprintf)(
40
  /* translators: %s: number of days */
41
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},584:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsHeader}));var r=n(2),a=n(112),i=n(1),o=n(4),c=n.n(o),l=n(8),s=n(21),u=n(274),d=n(52),f=n(208),g=n(88),m=n(15),p=c.a.useSelect;function DashboardDetailsHeader(){var t=p((function(e){return e(m.c).getAdminURL("googlesitekit-dashboard")})),n=p((function(e){return e(m.c).getCurrentEntityURL()})),o=p((function(e){return e(m.c).getCurrentEntityTitle()})),c=p((function(e){return e(m.c).getPermaLinkParam()}));return e.createElement(r.Fragment,null,e.createElement(s.a,{href:t,inherit:!0,back:!0,small:!0},Object(i.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(u.a,{title:Object(i.__)("Detailed Page Stats","google-site-kit"),className:" googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading ",fullWidth:!0}),e.createElement(f.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(g.b,null,e.createElement(g.c,null,e.createElement(g.a,{size:12},n&&e.createElement(r.Fragment,null,e.createElement("h3",{className:" googlesitekit-heading-3 googlesitekit-dashboard-single-url__title "},o&&Object(l.e)(o)),e.createElement(s.a,{href:n,inherit:!0,external:!0},n)),!n&&e.createElement("p",null,Object(a.a)(Object(i.sprintf)(
42
  /* translators: %s: current entity URL. */
53
  Object(m.__)("%sK","google-site-kit"),k(_(e),e%10==0?{}:t)):k(e,{signDisplay:"never",maximumFractionDigits:1})},E=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return h(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?y(e):"duration"===i?h(e,t):k(e,n)},O=g()(console.warn),k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){O("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(f[d],2),m=g[0],p=g[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?w():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)}
54
  /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},w=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),m=n.n(g),p=n(0),v=n.n(p),h=n(9),b=n.n(h),_=n(2),y=n(1),E=n(56),O=n(94),k=n(8);function j(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var w=function(t){u()(DataBlock,t);var n=j(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,m=t.invertChangeColor,p="button"===l?"button":"",v=g;v&&m&&(v=Object(_.cloneElement)(g,{invertChangeColor:m}));var h=o;c&&(h="%"===c?Object(k.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(k.q)(o,c)),s&&(h=Object(y.sprintf)(s,h));var j=void 0===a?a:Object(k.q)(a,i||void 0);return e.createElement("div",{className:b()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&p,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},j)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:b()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(_.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(E.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},h))),f&&e.createElement(O.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(_.Component);w.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},w.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=w}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(i.sprintf)(
55
  /* translators: %d is the number of notifications */
56
+ Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(l),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var l=a()(r.value,2),s=l[0],d=l[1];i[s]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,l,s,u,d,f,g,m,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(l=c.metrics)||void 0===l||null===(s=l[0])||void 0===s||null===(u=s.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(g=f.totals)||void 0===g||null===(m=g[0])||void 0===m||null===(p=m.values)||void 0===p?void 0:p[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l(l({},s),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return l.a})),n.d(t,"w",(function(){return l.b})),n.d(t,"u",(function(){return g})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return p.c})),n.d(t,"r",(function(){return p.d})),n.d(t,"n",(function(){return p.b})),n.d(t,"i",(function(){return p.a})),n.d(t,"o",(function(){return _})),n.d(t,"d",(function(){return y})),n.d(t,"f",(function(){return E.c})),n.d(t,"t",(function(){return E.i})),n.d(t,"g",(function(){return O.b})),n.d(t,"m",(function(){return O.c})),n.d(t,"b",(function(){return O.a})),n.d(t,"l",(function(){return k.b})),n.d(t,"h",(function(){return k.a})),n.d(t,"p",(function(){return k.c})),n.d(t,"k",(function(){return j})),n.d(t,"a",(function(){return w})),n.d(t,"x",(function(){return S})),n.d(t,"e",(function(){return N}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),l=n(58),s=n(28),u=n.n(s),d=n(72),f=n.n(d),g=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var m=n(74),p=(n(76),n(68));n(51);function v(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function b(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,r=[v,h,b];n<r.length;n++){t=(0,r[n])(t)}return t}var y=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},E=n(53),O=n(77),k=n(63),j=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},w=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},S=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},N=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),l=n.n(c),s=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(t,n,r,i){var o=Object(s.a)(n);return function(){var n=l()(a.a.mark((function n(c,l,s,d){var g,m,p,v,h,b,_,y,E,O;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(v=t.activeModules,h=t.referenceSiteURL,b=t.trackingEnabled,_=t.trackingID,y=t.userIDHash,b){n.next=3;break}return n.abrupt("return");case 3:return r(),E=null!==(g=null===(m=e._googlesitekitUserData)||void 0===m||null===(p=m.user)||void 0===p?void 0:p.roles)&&void 0!==g?g:[],O={send_to:_,event_category:c,event_label:s,value:d,dimension1:h,dimension2:E.join(","),dimension3:y,dimension4:"1.48.1",dimension5:Array.from(u.a).join(","),dimension6:v.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(l,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",l,f(f({},O),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},818:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardDetailsApp}));var r=n(2),a=n(4),i=n.n(a),o=n(249),c=n(584),l=n(186),s=n(311),u=n(15),d=n(187),f=n(14),g=i.a.useSelect;function DashboardDetailsApp(){var t=g((function(e){return e(u.c).getAdminURL("googlesitekit-dashboard")})),n=g((function(e){return e(u.c).getCurrentEntityURL()}));return t?e.createElement(r.Fragment,null,e.createElement(l.a,null,e.createElement(d.a,null),n&&e.createElement(s.a,null)),n?e.createElement(o.a,{slug:"pageDashboard",className:"googlesitekit-module-page googlesitekit-dashboard-single-url",Header:c.a}):e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(f.b,null,e.createElement(f.l,null,e.createElement(f.a,{size:12},e.createElement(c.a,null)))))):null}}).call(this,n(3))},819:function(e,t,n){"use strict";(function(e){var r=n(2),a=n(112),i=n(1),o=n(4),c=n.n(o),l=n(186),s=n(82),u=n(249),d=n(441),f=n(311),g=n(187),m=n(22),p=n(444),v=n(15),h=n(21),b=n(52),_=n(14),y=n(274),E=n(208),O=c.a.useSelect;t.a=function DashboardEntityApp(){var t=O((function(e){return e(v.c).getCurrentEntityURL()})),n=O((function(e){return e(v.c).getPermaLinkParam()})),o=O((function(e){return e(v.c).getAdminURL("googlesitekit-dashboard")}));return null===t?e.createElement("div",{className:"googlesitekit-widget-context googlesitekit-module-page googlesitekit-dashboard-single-url"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement(r.Fragment,null,e.createElement(h.a,{href:o,inherit:!0,back:!0,small:!0},Object(i.__)("Back to the Site Kit Dashboard","google-site-kit")),e.createElement(y.a,{title:Object(i.__)("Detailed Page Stats","google-site-kit"),className:"googlesitekit-heading-2 googlesitekit-dashboard-single-url__heading",fullWidth:!0}),e.createElement(E.a,{className:"googlesitekit-dashboard-single-url__entity-header"},e.createElement(_.b,null,e.createElement(_.l,null,e.createElement(_.a,{size:12},e.createElement("p",null,Object(a.a)(Object(i.sprintf)(
57
  /* translators: %s: current entity URL. */
58
  Object(i.__)("It looks like the URL %s is not part of this site or is not based on standard WordPress content types, therefore there is no data available to display. Visit our <link1>support forums</link1> or <link2><VisuallyHidden>Site Kit </VisuallyHidden>website</link2> for support or further information.","google-site-kit"),"<strong>".concat(n,"</strong>")),{strong:e.createElement("strong",null),link1:e.createElement(h.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0,inherit:!0}),link2:e.createElement(h.a,{href:"https://sitekit.withgoogle.com/documentation/troubleshooting/dashboard/#url-not-part-of-this-site",external:!0,inherit:!0}),VisuallyHidden:e.createElement(b.a,null)}))))))))))):e.createElement(r.Fragment,null,e.createElement(l.a,{subHeader:e.createElement(p.a,null),showNavigation:!0},e.createElement(d.a,null),e.createElement(f.a,null),e.createElement(g.a,null)),e.createElement(u.a,{id:m.d,slug:s.CONTEXT_ENTITY_DASHBOARD_TRAFFIC}),e.createElement(u.a,{id:m.a,slug:s.CONTEXT_ENTITY_DASHBOARD_CONTENT}),e.createElement(u.a,{id:m.c,slug:s.CONTEXT_ENTITY_DASHBOARD_SPEED}),e.createElement(u.a,{id:m.b,slug:s.CONTEXT_ENTITY_DASHBOARD_MONETIZATION}))}}).call(this,n(3))},82:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return a})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return i})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return g})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return p}));var r="dashboard",a="pageDashboard",i="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",l="mainDashboardTraffic",s="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",g="entityDashboardContent",m="entityDashboardSpeed",p="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:a,CONTEXT_MODULE_SEARCH_CONSOLE:i,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:l,CONTEXT_MAIN_DASHBOARD_CONTENT:s,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:g,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:p}},84:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(157),o=n(1),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL;if(!n)return null;var a=Object(o.sprintf)(
59
  /* translators: %s: Error message */
dist/assets/js/{googlesitekit-dashboard-splash-a8e8b9c5680996f2c4ef.min.js → googlesitekit-dashboard-splash-0c6f03c7faac84ca0f83.js} RENAMED
@@ -12,7 +12,7 @@ Object(s.__)("Site Kit can’t access all relevant data because you haven’t gr
12
  /* translators: %1$s: Product name */
13
  Object(s.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),t[0]);break;case"generic":n=Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.a,{id:"authentication error",title:Object(s.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:l,ctaLabel:Object(s.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(12),i=n.n(a),o=n(141),c=n(99),s=n(2),l=n(1),u=n(309),d=n(4),f=n.n(d),p=n(22),m=n(36),g=n(82),h=n(131),v=n(135),b=n(266),_=n(267),k=n(268),y=n(269),E=n(193),O=f.a.useSelect;function DashboardNavigation(){var t=Object(h.b)(),n=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_TRAFFIC:g.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_CONTENT:g.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),d=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_SPEED:g.CONTEXT_ENTITY_DASHBOARD_SPEED)})),f=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_MONETIZATION:g.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),S=Object(v.a)(),j=Object(s.useState)([e.location.hash.substr(1)]),w=i()(j,2),C=w[0],N=w[1],x=Object(s.useCallback)((function(t){var n=i()(t,1)[0];n?(e.history.replaceState({},"","#".concat(n)),e.scrollTo({top:n!==p.d?Object(E.a)(n,S):0,behavior:"smooth"})):e.history.replaceState({},"",Object(u.a)(e.location.href)),N(t)}),[S]);return Object(c.a)((function(){""!==e.location.hash&&setTimeout((function(){var t=e.location.hash.substr(1);e.scrollTo({top:t!==p.d?Object(E.a)(t,S):0,behavior:"smooth"})}),10)})),r.createElement(o.ChipSet,{className:"googlesitekit-navigation",selectedChipIds:C,handleSelect:x,choice:!0},n&&r.createElement(o.Chip,{id:p.d,label:Object(l.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"})}),a&&r.createElement(o.Chip,{id:p.a,label:Object(l.__)("Content","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"18"})}),d&&r.createElement(o.Chip,{id:p.c,label:Object(l.__)("Speed","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"20",height:"16"})}),f&&r.createElement(o.Chip,{id:p.b,label:Object(l.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"16"})}))}}).call(this,n(18),n(3))},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},268:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(2),i=n(112),o=n(4),c=n.n(o),s=n(23),l=n(22),u=n(20),d=n(15),f=n(271),p=n(34),m=n(21),g=c.a.useSelect,h=c.a.useDispatch;t.a=function EntityHeaderBanner(){var t=Object(a.useContext)(s.b),n=g((function(e){return e(d.c).getCurrentEntityTitle()})),o=g((function(e){return e(d.c).getCurrentEntityURL()})),c=h(p.a).navigateTo,v=g((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),b=Object(a.useCallback)((function(){c(v)}),[v,c]);return l.k!==t||null===o||null===n?null:e.createElement("div",{className:"googlesitekit-entity-header-banner"},e.createElement(u.a,{icon:e.createElement(f.a,{width:24,height:24}),"aria-label":Object(r.__)("Return to dashboard","google-site-kit"),onClick:b,className:"googlesitekit-entity-header-banner__back",text:!0},Object(r.__)("Return to dashboard","google-site-kit")),e.createElement("div",{className:"googlesitekit-entity-header-banner__details"},e.createElement("p",null,Object(i.a)(Object(r.sprintf)(
14
  /* translators: %s: page title of the page whose stats we're showing */
15
- Object(r.__)("<strong>Detailed page stats for:</strong> “%s”","google-site-kit"),n),{strong:e.createElement("strong",null)})),e.createElement(m.a,{href:o,external:!0,inherit:!0},o)))}}).call(this,n(3))},271:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},272:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),a=n(51),i=n(8),o=n(197),c=n(198),s=n(199),l=n(200),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),p=Object(a.a)(e.createElement(s.a,null)),m=Object(a.a)(e.createElement(l.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",p,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l={activeModules:o,trackingEnabled:s,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(l),d=u.enableTracking,f=u.disableTracking,p=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function g(e){e?d():f()}c&&s&&p()}).call(this,n(18))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},338:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(117);Object(c.c)("googlesitekit.winCallbacks",{});function s(){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},347:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),s=n.n(c),l=n(67),u=n.n(l),d=n(46),f=n.n(d),p=n(0),m=n.n(p),g=n(9),h=n.n(g),v=n(2),b=n(21);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){s()(LayoutHeader,t);var n=_(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,a=t.ctaLink;return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:h()("mdc-layout-grid__cell","mdc-layout-grid__cell--align-middle","mdc-layout-grid__cell--span-4-phone",{"mdc-layout-grid__cell--span-6-desktop":a,"mdc-layout-grid__cell--span-12-desktop":!a,"mdc-layout-grid__cell--span-8-tablet":!a})},e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),a&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--align-middle mdc-layout-grid__cell--align-right-tablet "},e.createElement(b.a,{href:a,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(v.Component);k.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},k.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=k}).call(this,n(3))},348:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),s=n.n(c),l=n(67),u=n.n(l),d=n(46),f=n.n(d),p=n(0),m=n.n(p),g=n(2),h=n(94);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var b=function(t){s()(LayoutFooter,t);var n=v(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-12"},r&&n&&e.createElement(h.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(g.Component);b.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=b}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},361:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in"},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return h})),n.d(t,"n",(function(){return v})),n.d(t,"o",(function(){return b})),n.d(t,"m",(function(){return _}));var r=n(22),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",s="IDEA_HUB_BUTTON_UNPIN",l="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),g="".concat(r.o,"_idea-hub-saved-ideas-notification"),h="".concat(r.l,"_idea-hub"),v="new-ideas",b="saved-ideas",_="draft-ideas"},370:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l),d=n(2),f=n(112),p=n(1),m=n(4),g=n.n(m),h=n(11),v=n(30),b=n(123),_=n(21),k=n(23),y=g.a.useSelect,E=g.a.useDispatch;function OptIn(t){var n=t.id,r=t.name,i=t.className,c=y((function(e){return e(h.a).isTrackingEnabled()})),s=y((function(e){return e(h.a).isSavingTrackingEnabled()})),l=y((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!c])})),m=E(h.a).setTrackingEnabled,g=Object(d.useContext)(k.b),O=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(g,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[m,g]);return e.createElement("div",{className:u()("googlesitekit-opt-in",i)},e.createElement(b.a,{id:n,name:r,value:"1",checked:c,disabled:s,onChange:O,loading:void 0===c},e.createElement("span",null,Object(p.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")," "),e.createElement("span",null,Object(f.a)(Object(p.__)("All collected data is treated in accordance with the <a>Google Privacy Policy.</a>","google-site-kit"),{a:e.createElement(_.a,{key:"link",href:"https://policies.google.com/privacy",external:!0,inherit:!0})}))),(null==l?void 0:l.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==l?void 0:l.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string},OptIn.defaultProps={id:"googlesitekit-opt-in",name:"optIn"}}).call(this,n(3))},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l,u="googlesitekit_".concat("1.48.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),p=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return g.apply(this,arguments)}function g(){return(g=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}l=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,s,l,d,f,p,g=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=g.length>2&&void 0!==g[2]?g[2]:{},o=i.ttl,c=void 0===o?3600:o,s=i.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(u).concat(n),JSON.stringify({timestamp:l,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},405:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(32),s=n.n(c),l=n(15),u=n(827),d=n(234);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/,g=/\.(example|invalid|localhost|test)$/,h=[{subnet:"10.0.0.0",mask:8},{subnet:"127.0.0.0",mask:8},{subnet:"172.16.0.0",mask:12},{subnet:"192.168.0.0",mask:16}],v=function(){var t=o()(a.a.mark((function t(){var n,r,i,o,c,s,l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.location,r=n.hostname,!n.port){t.next=3;break}throw d.f;case 3:if(!m.test(r)){t.next=23;break}i=f(h),t.prev=5,i.s();case 7:if((o=i.n()).done){t.next=13;break}if(c=o.value,s=c.mask,l=c.subnet,!Object(u.a)(r,l,s)){t.next=11;break}throw d.f;case 11:t.next=7;break;case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(5),i.e(t.t0);case 18:return t.prev=18,i.f(),t.finish(18);case 21:t.next=25;break;case 23:if(r.includes(".")&&!r.match(g)){t.next=25;break}throw d.f;case 25:case"end":return t.stop()}}),t,null,[[5,15,18,21]])})));return function(){return t.apply(this,arguments)}}(),b=function(e){return o()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(l.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.g;case 5:case"end":return t.stop()}}),t)})))},_=function(){var e=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("core","site","health-checks",void 0,{useCache:!1}).catch((function(e){if("fetch_error"===e.code)throw d.d;throw d.c}));case 2:if(null==(r=e.sent)||null===(t=r.checks)||void 0===t||null===(n=t.googleAPI)||void 0===n?void 0:n.pass){e.next=5;break}throw d.e;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(d.a).catch((function(){throw d.b}));case 2:if(e.sent.ok){e.next=5;break}throw d.b;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e._googlesitekitBaseData||{},!((r=n.wpVersion)&&r.major<5)){t.next=3;break}throw d.h;case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),s=n.n(c),l=n(12),u=n.n(l),d=n(0),f=n.n(d),p=n(9),m=n.n(p),g=n(230),h=n.n(g),v=n(99),b=n(2),_=n(86),k=n(58),y=n(73),E=n(20),O=n(154),S=n(113),j=n(21),w=n(118),C=n(38),N=n(8),x=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,l=t.children,d=t.className,f=t.ctaLabel,p=t.ctaLink,g=t.ctaTarget,R=t.description,M=t.dismiss,T=t.dismissExpires,A=t.format,D=t.id,L=t.isDismissible,z=t.learnMoreDescription,P=t.learnMoreLabel,I=t.learnMoreURL,F=t.logo,B=t.module,U=t.moduleName,q=t.onCTAClick,H=t.onDismiss,W=t.pageIndex,V=t.showOnce,K=t.SmallImageSVG,G=t.title,X=t.type,Y=t.WinImageSVG,Q=Object(b.useState)(!1),$=u()(Q,2),J=$[0],Z=$[1],ee=Object(b.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(b.useRef)(),ie="notification::dismissed::".concat(D),oe=function(){return Object(C.d)(ie,new Date,{ttl:null})};function ce(){return(ce=s()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(N.v)("".concat(x.g,"_site-notification"),"dismiss_notification",D);case 4:if(!H){e.next=7;break}return e.next=7,H(t);case 7:se();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function se(){var e=ae.current;Z(!0),setTimeout(s()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function le(){return(le=s()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(x.g,"_site-notification"),"confirm_notification",D);case 3:if(!q){e.next=6;break}return e.next=6,q(t);case 6:L&&se();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=s()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(x.g,"_site-notification"),"click_learn_more_link",D);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=s()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(C.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(T,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(C.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(v.a)(s()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.v)("".concat(x.g,"_site-notification"),"view_notification",D);case 2:if(!(T>0)){e.next=5;break}return e.next=5,de();case 5:if(!L){e.next=11;break}return e.next=8,Object(C.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),L&&(void 0===ne||ne))return null;var pe,me=J?"is-closed":"is-open",ge="large"===A&&"win-stats-increase"===X,he="mdc-layout-grid__cell--span-12";"large"===A?(he="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",ge&&(he="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===A&&(he="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),pe="win-warning"===X?e.createElement(O.a,{width:34}):"win-error"===X?e.createElement(S.a,{width:28}):"";var ve=e.createElement(b.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},h()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":ge,"mdc-layout-grid__cell--span-4-desktop":!ge})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(y.a,t)))})))),be=e.createElement(b.Fragment,null,G&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},G),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(j.a,{href:r},i)),R&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(b.isValidElement)(R)?R:e.createElement("span",{dangerouslySetInnerHTML:Object(k.a)(R,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),P&&e.createElement(b.Fragment,null," ",e.createElement(j.a,{onClick:function(e){return ue.apply(this,arguments)},href:I,external:!0,inherit:!0},P),z),W&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},W))),l),_e=B?e.createElement(w.a,{slug:B,size:19}):e.createElement(_.a,{height:"34",width:"32"});return e.createElement("section",{id:D,ref:ae,className:m()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(A),A),a()(n,"googlesitekit-publisher-win--".concat(X),X),a()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},F&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":ge,"mdc-layout-grid__cell--order-1-tablet":ge})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},_e),U&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},U)),K&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(K,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",he)},ge?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},be),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},ve)):e.createElement(b.Fragment,null,be,ve),p&&e.createElement(E.a,{className:"googlesitekit-notification__cta",href:p,target:g,onClick:function(e){return le.apply(this,arguments)}},f),L&&M&&e.createElement(j.a,{onClick:function(e){return ce.apply(this,arguments)}},M)),Y&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(Y,null))),("win-error"===X||"win-warning"===X)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},pe)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},438:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(13),c=n.n(o),s=n(12),l=n.n(s),u=n(1),d=n(2),f=n(112),p=n(71),m=n(439),g=n(4),h=n.n(g),v=n(8),b=n(111),_=n(90),k=n(21),y=n(15),E=n(34),O=n(30),S=n(23),j=h.a.useSelect,w=h.a.useDispatch;t.a=function ResetButton(t){var n=t.children,a=j((function(e){return e(y.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=j((function(e){return e(y.c).isDoingReset()})),s=j((function(e){return e(E.a).isNavigatingTo(a||"")})),g=Object(d.useState)(!1),h=l()(g,2),C=h[0],N=h[1],x=Object(d.useState)(!1),R=l()(x,2),M=R[0],T=R[1],A=Object(m.a)(N,3e3);Object(d.useEffect)((function(){o||s?N(!0):A(!1)}),[o,s,A]),Object(d.useEffect)((function(){var t=function(e){p.c===e.keyCode&&T(!1)};return M&&e.addEventListener("keyup",t,!1),function(){M&&e.removeEventListener("keyup",t)}}),[M]);var D=w(y.c).reset,L=w(E.a).navigateTo,z=Object(d.useContext)(S.b),P=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D();case 2:return Object(v.c)(),e.next=5,Object(O.b)(z,"reset_plugin");case 5:L(a);case 6:case"end":return e.stop()}}),e)}))),[L,a,D,z]),I=Object(d.useCallback)((function(){T(!M)}),[M]),F=Object(d.useCallback)((function(){T(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(k.a,{className:"googlesitekit-reset-button",onClick:F,inherit:!0},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(_.a,null,r.createElement(b.a,{dialogActive:M,handleConfirm:P,handleDialog:I,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(f.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:r.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,inProgress:C})))}}).call(this,n(18),n(3))},439:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(534),a=n(26),i=n(2);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.a)((function(){return a.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},447:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),s=n.n(c),l=n(66),u=n.n(l),d=n(67),f=n.n(d),p=n(46),m=n.n(p),g=n(9),h=n.n(g),v=n(104),b=n(2),_=n(1),k=n(338),y=n(52);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var O=function(t){u()(NotificationCounter,t);var n=E(NotificationCounter);function NotificationCounter(e){var t;return a()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(s()(t)),t.handleDecrement=t.handleDecrement.bind(s()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(k.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(k.c)}},{key:"handleDecrement",value:function(){this.setState(k.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(_.sprintf)(
16
  /* translators: %d: the number of notifications */
17
  Object(_._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:h()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(y.a,null,n));return Object(v.createPortal)(r,t)}}]),NotificationCounter}(b.Component);t.a=O}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return v})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),s=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},l=n(12),u=n.n(l),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),s(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function g(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var h=n(1);function v(){var e=function(e){return Object(h.sprintf)(
18
  /* translators: %s: number of days */
@@ -33,7 +33,7 @@ Object(m.__)("%sK","google-site-kit"),O(_(e))):1e3<=e?Object(m.sprintf)(// trans
33
  Object(m.__)("%sK","google-site-kit"),O(_(e),e%10==0?{}:t)):O(e,{signDisplay:"never",maximumFractionDigits:1})},y=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return v(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=h({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?k(e):"duration"===i?v(e,t):O(e,n)},E=p()(console.warn),O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,f=Object.entries(i);d<f.length;d++){var p=a()(f[d],2),m=p[0],g=p[1];c[m]&&g===c[m]||(s.includes(m)||(l[m]=g))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:i,type:c});return s.format(e)}
34
  /* translators: used between list items, there is a space after the comma. */var l=Object(m.__)(", ","google-site-kit");return e.join(l)},j=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),s=n.n(c),l=n(66),u=n.n(l),d=n(67),f=n.n(d),p=n(46),m=n.n(p),g=n(0),h=n.n(g),v=n(9),b=n.n(v),_=n(2),k=n(1),y=n(56),E=n(94),O=n(8);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var j=function(t){u()(DataBlock,t);var n=S(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(s()(t)),t.handleKeyPress=t.handleKeyPress.bind(s()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,s=t.context,l=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,p=t.sparkline,m=t.invertChangeColor,g="button"===s?"button":"",h=p;h&&m&&(h=Object(_.cloneElement)(p,{invertChangeColor:m}));var v=o;c&&(v="%"===c?Object(O.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(O.q)(o,c)),l&&(v=Object(k.sprintf)(l,v));var S=void 0===a?a:Object(O.q)(a,i||void 0);return e.createElement("div",{className:b()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(s),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===s?"0":"-1",role:d&&g,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},S)),h&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},h),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:b()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(_.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(y.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},v))),f&&e.createElement(E.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(_.Component);j.propTypes={stat:h.a.number,onClick:h.a.func,className:h.a.string,title:h.a.string,datapoint:h.a.oneOfType([h.a.string,h.a.number]),datapointUnit:h.a.string,change:h.a.oneOfType([h.a.string,h.a.number]),changeDataUnit:h.a.oneOfType([h.a.string,h.a.bool]),context:h.a.string,period:h.a.string,selected:h.a.bool,handleStatSelection:h.a.func,invertChangeColor:h.a.bool},j.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=j}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var s=document.createElement("span");return s.setAttribute("class","screen-reader-text"),s.textContent=Object(i.sprintf)(
35
  /* translators: %d is the number of notifications */
36
- Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(s),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},l=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var s=a()(r.value,2),l=s[0],d=s[1];i[l]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,s,l,u,d,f,p,m,g;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.metrics)||void 0===s||null===(l=s[0])||void 0===l||null===(u=l.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(p=f.totals)||void 0===p||null===(m=p[0])||void 0===m||null===(g=m.values)||void 0===g?void 0:g[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=s(s({},l),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return s.a})),n.d(t,"w",(function(){return s.b})),n.d(t,"u",(function(){return p})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return g.c})),n.d(t,"r",(function(){return g.d})),n.d(t,"n",(function(){return g.b})),n.d(t,"i",(function(){return g.a})),n.d(t,"o",(function(){return _})),n.d(t,"d",(function(){return k})),n.d(t,"f",(function(){return y.c})),n.d(t,"t",(function(){return y.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return O.b})),n.d(t,"h",(function(){return O.a})),n.d(t,"p",(function(){return O.c})),n.d(t,"k",(function(){return S})),n.d(t,"a",(function(){return j})),n.d(t,"x",(function(){return w})),n.d(t,"e",(function(){return C}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),s=n(58),l=n(28),u=n.n(l),d=n(72),f=n.n(d),p=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var m=n(74),g=(n(76),n(68));n(51);function h(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function v(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function b(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,r=[h,v,b];n<r.length;n++){t=(0,r[n])(t)}return t}var k=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},y=n(53),E=n(77),O=n(63),S=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},w=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},C=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),s=n.n(c),l=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(t,n,r,i){var o=Object(l.a)(n);return function(){var n=s()(a.a.mark((function n(c,s,l,d){var p,m,g,h,v,b,_,k,y,E;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(h=t.activeModules,v=t.referenceSiteURL,b=t.trackingEnabled,_=t.trackingID,k=t.userIDHash,b){n.next=3;break}return n.abrupt("return");case 3:return r(),y=null!==(p=null===(m=e._googlesitekitUserData)||void 0===m||null===(g=m.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],E={send_to:_,event_category:c,event_label:l,value:d,dimension1:v,dimension2:y.join(","),dimension3:k,dimension4:"1.48.0",dimension5:Array.from(u.a).join(","),dimension6:h.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(s,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",s,f(f({},E),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},82:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return a})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return i})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return p})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return g}));var r="dashboard",a="pageDashboard",i="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",s="mainDashboardTraffic",l="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",p="entityDashboardContent",m="entityDashboardSpeed",g="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:a,CONTEXT_MODULE_SEARCH_CONSOLE:i,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:s,CONTEXT_MAIN_DASHBOARD_CONTENT:l,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:p,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:g}},820:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSplashApp}));var r=n(4),a=n.n(r),i=n(15),o=n(821),c=n(830),s=a.a.useSelect;function DashboardSplashApp(){var t=s((function(e){return e(i.c).isUsingProxy()}));return!0===t?e.createElement(o.a,null):!1===t?e.createElement(c.a,null):null}}).call(this,n(3))},821:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(13),c=n.n(o),s=n(569),l=n.n(s),u=n(9),d=n.n(u),f=n(2),p=n(1),m=n(276),g=n(363),h=n(4),v=n.n(h),b=n(22),_=n(822),k=n(823),y=n(8),E=n(186),O=n(20),S=n(438),j=n(208),w=n(42),C=n(370),N=n(824),x=n(15),R=n(11),M=n(34),T=n(19),A=n(40),D=n(85),L=n(14),z=n(361),P=n(187),I=n(828),F=v.a.useSelect,B=v.a.useDispatch;t.a=function SetupUsingProxy(){var t,n,a=Object(D.a)("serviceSetupV2"),o=F((function(e){return e(T.a).isModuleActive("analytics")})),s=F((function(e){return e(A.a).getValue(z.b,z.a)})),u=F((function(e){var t=e(x.c),n=e(R.a);return{isSecondAdmin:t.hasConnectedAdmins(),isResettable:t.isResettable(),siteURL:t.getReferenceSiteURL(),proxySetupURL:t.getProxySetupURL(),disconnectedReason:n.getDisconnectedReason(),connectedProxyURL:Object(y.w)(n.getConnectedProxyURL()),homeURL:Object(y.w)(t.getHomeURL()),isConnected:t.isConnected()}})),h=u.isSecondAdmin,v=u.isResettable,U=u.siteURL,q=u.proxySetupURL,H=u.disconnectedReason,W=u.isConnected,V=u.connectedProxyURL,K=u.homeURL,G=B(M.a).navigateTo,X=B(T.a).activateModule,Y=Object(f.useCallback)(function(){var e=c()(i.a.mark((function e(t){var n,r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!s){e.next=11;break}return e.next=4,X("analytics");case 4:if(r=e.sent,a=r.error,o=r.response,a){e.next=11;break}return e.next=10,Object(y.v)(b.h,"start_setup_with_analytics");case 10:n=o.moduleReauthURL;case 11:if(!q){e.next=14;break}return e.next=14,Object(y.v)(b.h,"start_user_setup","proxy");case 14:if(!q||W){e.next=17;break}return e.next=17,Object(y.v)(b.h,"start_site_setup","proxy");case 17:G(n&&q?Object(m.a)(q,{redirect:n}):q);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[q,G,W,X,s]),Q=e._googlesitekitLegacyData.setup.errorMessage,$={smSize:4,mdSize:8,lgSize:a?6:12};return!o&&a&&($={smSize:4,mdSize:8,lgSize:8}),"revoked"===Object(g.a)(location.href,"googlesitekit_context")?(t=Object(p.sprintf)(
37
  /* translators: %s is the site's hostname. (e.g. example.com) */
38
  Object(p.__)("You revoked access to Site Kit for %s","google-site-kit"),l.a.toUnicode(new URL(U).hostname)),n=Object(p.__)('Site Kit will no longer have access to your account. If you’d like to reconnect Site Kit, click "Sign in with Google" below to generate new credentials.',"google-site-kit")):R.b===H?(t=Object(p.__)("Reconnect Site Kit","google-site-kit"),n=Object(p.__)("Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL.","google-site-kit")):h?(t=Object(p.__)("Connect your Google account to Site Kit","google-site-kit"),n=Object(p.__)("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, you’ll see stats from all activated Google products.","google-site-kit")):(t=Object(p.__)("Set up Site Kit","google-site-kit"),n=Object(p.__)("Get insights on how people find your site, as well as how to improve and monetize your site’s content, directly in your WordPress dashboard.","google-site-kit")),r.createElement(f.Fragment,null,r.createElement(E.a,null,r.createElement(P.a,null)),Q&&r.createElement(w.a,{id:"setup_error",type:"win-error",title:Object(p.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:Q,isDismissible:!1}),"reset_success"===Object(g.a)(location.href,"notification")&&r.createElement(w.a,{id:"reset_success",title:Object(p.__)("Site Kit by Google was successfully reset.","google-site-kit"),isDismissible:!1}),r.createElement("div",{className:"googlesitekit-setup"},r.createElement(L.b,null,r.createElement(L.l,null,r.createElement(L.a,{size:12},r.createElement(j.a,null,r.createElement("section",{className:"googlesitekit-setup__splash"},r.createElement(L.b,null,r.createElement(L.l,{className:d()({"googlesitekit-setup__content":a})},a&&r.createElement(L.a,{smSize:4,mdSize:8,lgSize:o?6:4,className:"googlesitekit-setup__icon"},o&&r.createElement(_.a,{width:"570",height:"336"}),!o&&r.createElement(k.a,{height:"167",width:"175"})),r.createElement(L.a,$,r.createElement("h1",{className:"googlesitekit-setup__title"},t),r.createElement("p",{className:"googlesitekit-setup__description"},n),R.b===H&&V!==K&&r.createElement("p",null,Object(p.sprintf)(
39
  /* translators: %s: Previous Connected Proxy URL */
12
  /* translators: %1$s: Product name */
13
  Object(s.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),t[0]);break;case"generic":n=Object(s.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(d.a,{id:"authentication error",title:Object(s.__)("Site Kit can’t access necessary data","google-site-kit"),description:n,format:"small",type:"win-error",isDismissible:!1,ctaLink:l,ctaLabel:Object(s.__)("Redo setup","google-site-kit")})}}).call(this,n(18),n(3))},264:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(4),a=n.n(r),i=n(15),o=n(42),c=a.a.useSelect;function InternalServerError(){var t=c((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(o.a,t):null}}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return DashboardNavigation}));var a=n(12),i=n.n(a),o=n(141),c=n(99),s=n(2),l=n(1),u=n(309),d=n(4),f=n.n(d),p=n(22),m=n(36),g=n(82),h=n(131),v=n(135),b=n(266),_=n(267),k=n(268),y=n(269),E=n(193),O=f.a.useSelect;function DashboardNavigation(){var t=Object(h.b)(),n=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_TRAFFIC:g.CONTEXT_ENTITY_DASHBOARD_TRAFFIC)})),a=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_CONTENT:g.CONTEXT_ENTITY_DASHBOARD_CONTENT)})),d=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_SPEED:g.CONTEXT_ENTITY_DASHBOARD_SPEED)})),f=O((function(e){return e(m.a).isWidgetContextActive(t===h.a?g.CONTEXT_MAIN_DASHBOARD_MONETIZATION:g.CONTEXT_ENTITY_DASHBOARD_MONETIZATION)})),S=Object(v.a)(),j=Object(s.useState)([e.location.hash.substr(1)]),w=i()(j,2),C=w[0],N=w[1],x=Object(s.useCallback)((function(t){var n=i()(t,1)[0];n?(e.history.replaceState({},"","#".concat(n)),e.scrollTo({top:n!==p.d?Object(E.a)(n,S):0,behavior:"smooth"})):e.history.replaceState({},"",Object(u.a)(e.location.href)),N(t)}),[S]);return Object(c.a)((function(){""!==e.location.hash&&setTimeout((function(){var t=e.location.hash.substr(1);e.scrollTo({top:t!==p.d?Object(E.a)(t,S):0,behavior:"smooth"})}),10)})),r.createElement(o.ChipSet,{className:"googlesitekit-navigation",selectedChipIds:C,handleSelect:x,choice:!0},n&&r.createElement(o.Chip,{id:p.d,label:Object(l.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"})}),a&&r.createElement(o.Chip,{id:p.a,label:Object(l.__)("Content","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"18"})}),d&&r.createElement(o.Chip,{id:p.c,label:Object(l.__)("Speed","google-site-kit"),leadingIcon:r.createElement(k.a,{width:"20",height:"16"})}),f&&r.createElement(o.Chip,{id:p.b,label:Object(l.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(y.a,{width:"18",height:"16"})}))}}).call(this,n(18),n(3))},266:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 16",fill:"none"},e),i)}},267:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",a({viewBox:"0 0 18 18",fill:"none"},e),i)}},268:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",a({viewBox:"0 0 20 16",fill:"none"},e),i,o)}},269:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",a({viewBox:"0 0 23 12",fill:"none"},e),i)}},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},270:function(e,t,n){"use strict";(function(e){var r=n(1),a=n(2),i=n(112),o=n(4),c=n.n(o),s=n(23),l=n(22),u=n(20),d=n(15),f=n(271),p=n(34),m=n(21),g=c.a.useSelect,h=c.a.useDispatch;t.a=function EntityHeaderBanner(){var t=Object(a.useContext)(s.b),n=g((function(e){return e(d.c).getCurrentEntityTitle()})),o=g((function(e){return e(d.c).getCurrentEntityURL()})),c=h(p.a).navigateTo,v=g((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),b=Object(a.useCallback)((function(){c(v)}),[v,c]);return l.k!==t||null===o||null===n?null:e.createElement("div",{className:"googlesitekit-entity-header-banner"},e.createElement(u.a,{icon:e.createElement(f.a,{width:24,height:24}),"aria-label":Object(r.__)("Return to dashboard","google-site-kit"),onClick:b,className:"googlesitekit-entity-header-banner__back",text:!0},Object(r.__)("Return to dashboard","google-site-kit")),e.createElement("div",{className:"googlesitekit-entity-header-banner__details"},e.createElement("p",null,Object(i.a)(Object(r.sprintf)(
14
  /* translators: %s: page title of the page whose stats we're showing */
15
+ Object(r.__)("<strong>Detailed page stats for:</strong> “%s”","google-site-kit"),n),{strong:e.createElement("strong",null)})),e.createElement(m.a,{href:o,external:!0,inherit:!0},o)))}}).call(this,n(3))},271:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",a({viewBox:"0 0 24 24"},e),i,o)}},272:function(e,t,n){"use strict";var r=n(2);function a(){return(a=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 i=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",a({viewBox:"0 0 20 20",fill:"none"},e),i)}},299:function(e,t,n){"use strict";(function(e){var t=n(117),r=n(33),a=n(51),i=n(8),o=n(197),c=n(198),s=n(199),l=n(200),u=Object(i.j)("notification"),d=Object(a.a)(e.createElement(o.a,null)),f=Object(a.a)(e.createElement(c.a,null)),p=Object(a.a)(e.createElement(s.a,null)),m=Object(a.a)(e.createElement(l.a,null));Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",d,10),Object(r.b)("userInput")&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.UserInputSettings",p,1),Object(r.b)("ideaHubModule")&&"authentication_success"!==u&&"authentication_failure"!==u&&Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.IdeaHubModule",m,1),"authentication_success"!==u&&"authentication_failure"!==u&&"user_input_success"!==u||Object(t.b)("googlesitekit.DashboardNotifications","googlesitekit.SetupNotification",f,1)}).call(this,n(3))},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,s=a.trackingEnabled,l={activeModules:o,trackingEnabled:s,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(l),d=u.enableTracking,f=u.disableTracking,p=(u.isTrackingEnabled,u.initializeSnippet),m=u.trackEvent;function g(e){e?d():f()}c&&s&&p()}).call(this,n(18))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},338:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(117);Object(c.c)("googlesitekit.winCallbacks",{});function s(){return l.apply(this,arguments)}function l(){return(l=o()(a.a.mark((function t(){var n;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((n=e._googlesitekitLegacyData.setup).isSiteKitConnected&&(n.isAuthenticated||n.isVerified)){t.next=3;break}return t.abrupt("return",0);case 3:return 0,e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",0),t.abrupt("return",0);case 6:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var u=function(t){var n=Math.abs(t.count)+1;return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}},d=function(t){var n=Math.max(0,Math.abs(t.count)-1);return e.localStorage&&e.localStorage.setItem("googlesitekit::total-notifications",n),{count:n}}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},347:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),s=n.n(c),l=n(67),u=n.n(l),d=n(46),f=n.n(d),p=n(0),m=n.n(p),g=n(9),h=n.n(g),v=n(2),b=n(21);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var k=function(t){s()(LayoutHeader,t);var n=_(LayoutHeader);function LayoutHeader(){return a()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.ctaLabel,a=t.ctaLink;return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},n&&e.createElement("div",{className:h()("mdc-layout-grid__cell","mdc-layout-grid__cell--align-middle","mdc-layout-grid__cell--span-4-phone",{"mdc-layout-grid__cell--span-6-desktop":a,"mdc-layout-grid__cell--span-12-desktop":!a,"mdc-layout-grid__cell--span-8-tablet":!a})},e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n)),a&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4-phone mdc-layout-grid__cell--align-middle mdc-layout-grid__cell--align-right-tablet "},e.createElement(b.a,{href:a,external:!0,inherit:!0},r)))))}}]),LayoutHeader}(v.Component);k.propTypes={title:m.a.string,ctaLabel:m.a.string,ctaLink:m.a.string},k.defaultProps={title:"",ctaLabel:"",ctaLink:""},t.a=k}).call(this,n(3))},348:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(66),s=n.n(c),l=n(67),u=n.n(l),d=n(46),f=n.n(d),p=n(0),m=n.n(p),g=n(2),h=n(94);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var a=f()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u()(this,n)}}var b=function(t){s()(LayoutFooter,t);var n=v(LayoutFooter);function LayoutFooter(){return a()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,a=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-12"},r&&n&&e.createElement(h.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),a))))}}]),LayoutFooter}(g.Component);b.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=b}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},36:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var r={BOXES:"boxes",COMPOSITE:"composite"},a={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},361:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r="connect-analytics-setup-splash",a="analytics-setup-opt-in"},37:function(e,t,n){"use strict";n.d(t,"p",(function(){return a})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return o})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"l",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return h})),n.d(t,"n",(function(){return v})),n.d(t,"o",(function(){return b})),n.d(t,"m",(function(){return _}));var r=n(22),a="modules/idea-hub",i="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",s="IDEA_HUB_BUTTON_UNPIN",l="IDEA_HUB_BUTTON_DELETE",u=5,d="IDEA_HUB_ACTIVITY_CREATING_DRAFT",f="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_PROCESSING",m="".concat(r.g,"_idea-hub-widget"),g="".concat(r.o,"_idea-hub-saved-ideas-notification"),h="".concat(r.l,"_idea-hub"),v="new-ideas",b="saved-ideas",_="draft-ideas"},370:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l),d=n(2),f=n(112),p=n(1),m=n(4),g=n.n(m),h=n(11),v=n(30),b=n(123),_=n(21),k=n(23),y=g.a.useSelect,E=g.a.useDispatch;function OptIn(t){var n=t.id,r=t.name,i=t.className,c=y((function(e){return e(h.a).isTrackingEnabled()})),s=y((function(e){return e(h.a).isSavingTrackingEnabled()})),l=y((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!c])})),m=E(h.a).setTrackingEnabled,g=Object(d.useContext)(k.b),O=Object(d.useCallback)(function(){var e=o()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(v.a)(r.enabled),r.enabled&&Object(v.b)(g,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[m,g]);return e.createElement("div",{className:u()("googlesitekit-opt-in",i)},e.createElement(b.a,{id:n,name:r,value:"1",checked:c,disabled:s,onChange:O,loading:void 0===c},e.createElement("span",null,Object(p.__)("Help us improve Site Kit by sharing anonymous usage data.","google-site-kit")," "),e.createElement("span",null,Object(f.a)(Object(p.__)("All collected data is treated in accordance with the <a>Google Privacy Policy.</a>","google-site-kit"),{a:e.createElement(_.a,{key:"link",href:"https://policies.google.com/privacy",external:!0,inherit:!0})}))),(null==l?void 0:l.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==l?void 0:l.message))}OptIn.propTypes={id:s.a.string,name:s.a.string,className:s.a.string},OptIn.defaultProps={id:"googlesitekit-opt-in",name:"optIn"}}).call(this,n(3))},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l,u="googlesitekit_".concat("1.48.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),p=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function m(){return g.apply(this,arguments)}function g(){return(g=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===l){t.next=2;break}return t.abrupt("return",l);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!l){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(i);case 11:if(!t.sent){t.next=13;break}l=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===l&&(l=null),t.abrupt("return",l);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,s=i.value,l=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:s,isError:l});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,s,l,d,f,p,g=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=g.length>2&&void 0!==g[2]?g[2]:{},o=i.ttl,c=void 0===o?3600:o,s=i.timestamp,l=void 0===s?Math.round(Date.now()/1e3):s,d=i.isError,f=void 0!==d&&d,t.next=3,m();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(u).concat(n),JSON.stringify({timestamp:l,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),_=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,m();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},405:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return v})),n.d(t,"e",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i),c=n(32),s=n.n(c),l=n(15),u=n(827),d=n(234);function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=/^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$/,g=/\.(example|invalid|localhost|test)$/,h=[{subnet:"10.0.0.0",mask:8},{subnet:"127.0.0.0",mask:8},{subnet:"172.16.0.0",mask:12},{subnet:"192.168.0.0",mask:16}],v=function(){var t=o()(a.a.mark((function t(){var n,r,i,o,c,s,l;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.location,r=n.hostname,!n.port){t.next=3;break}throw d.f;case 3:if(!m.test(r)){t.next=23;break}i=f(h),t.prev=5,i.s();case 7:if((o=i.n()).done){t.next=13;break}if(c=o.value,s=c.mask,l=c.subnet,!Object(u.a)(r,l,s)){t.next=11;break}throw d.f;case 11:t.next=7;break;case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(5),i.e(t.t0);case 18:return t.prev=18,i.f(),t.finish(18);case 21:t.next=25;break;case 23:if(r.includes(".")&&!r.match(g)){t.next=25;break}throw d.f;case 25:case"end":return t.stop()}}),t,null,[[5,15,18,21]])})));return function(){return t.apply(this,arguments)}}(),b=function(e){return o()(a.a.mark((function t(){return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(l.c).checkForSetupTag();case 2:if(!t.sent.error){t.next=5;break}throw d.g;case 5:case"end":return t.stop()}}),t)})))},_=function(){var e=o()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.a.get("core","site","health-checks",void 0,{useCache:!1}).catch((function(e){if("fetch_error"===e.code)throw d.d;throw d.c}));case 2:if(null==(r=e.sent)||null===(t=r.checks)||void 0===t||null===(n=t.googleAPI)||void 0===n?void 0:n.pass){e.next=5;break}throw d.e;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var e=o()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(d.a).catch((function(){throw d.b}));case 2:if(e.sent.ok){e.next=5;break}throw d.b;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e._googlesitekitBaseData||{},!((r=n.wpVersion)&&r.major<5)){t.next=3;break}throw d.h;case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),s=n.n(c),l=n(12),u=n.n(l),d=n(0),f=n.n(d),p=n(9),m=n.n(p),g=n(230),h=n.n(g),v=n(99),b=n(2),_=n(86),k=n(58),y=n(73),E=n(20),O=n(154),S=n(113),j=n(21),w=n(118),C=n(38),N=n(8),x=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,l=t.children,d=t.className,f=t.ctaLabel,p=t.ctaLink,g=t.ctaTarget,R=t.description,M=t.dismiss,T=t.dismissExpires,A=t.format,D=t.id,L=t.isDismissible,z=t.learnMoreDescription,P=t.learnMoreLabel,I=t.learnMoreURL,F=t.logo,B=t.module,U=t.moduleName,q=t.onCTAClick,H=t.onDismiss,W=t.pageIndex,V=t.showOnce,K=t.SmallImageSVG,G=t.title,X=t.type,Y=t.WinImageSVG,Q=Object(b.useState)(!1),$=u()(Q,2),J=$[0],Z=$[1],ee=Object(b.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(b.useRef)(),ie="notification::dismissed::".concat(D),oe=function(){return Object(C.d)(ie,new Date,{ttl:null})};function ce(){return(ce=s()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(N.v)("".concat(x.g,"_site-notification"),"dismiss_notification",D);case 4:if(!H){e.next=7;break}return e.next=7,H(t);case 7:se();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function se(){var e=ae.current;Z(!0),setTimeout(s()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function le(){return(le=s()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(x.g,"_site-notification"),"confirm_notification",D);case 3:if(!q){e.next=6;break}return e.next=6,q(t);case 6:L&&se();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=s()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(x.g,"_site-notification"),"click_learn_more_link",D);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=s()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(C.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(T,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(C.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(v.a)(s()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.v)("".concat(x.g,"_site-notification"),"view_notification",D);case 2:if(!(T>0)){e.next=5;break}return e.next=5,de();case 5:if(!L){e.next=11;break}return e.next=8,Object(C.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),L&&(void 0===ne||ne))return null;var pe,me=J?"is-closed":"is-open",ge="large"===A&&"win-stats-increase"===X,he="mdc-layout-grid__cell--span-12";"large"===A?(he="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",ge&&(he="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===A&&(he="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),pe="win-warning"===X?e.createElement(O.a,{width:34}):"win-error"===X?e.createElement(S.a,{width:28}):"";var ve=e.createElement(b.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},h()(c,(function(t,n){return e.createElement("div",{key:n,className:m()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":ge,"mdc-layout-grid__cell--span-4-desktop":!ge})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(y.a,t)))})))),be=e.createElement(b.Fragment,null,G&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},G),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(j.a,{href:r},i)),R&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(b.isValidElement)(R)?R:e.createElement("span",{dangerouslySetInnerHTML:Object(k.a)(R,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),P&&e.createElement(b.Fragment,null," ",e.createElement(j.a,{onClick:function(e){return ue.apply(this,arguments)},href:I,external:!0,inherit:!0},P),z),W&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},W))),l),_e=B?e.createElement(w.a,{slug:B,size:19}):e.createElement(_.a,{height:"34",width:"32"});return e.createElement("section",{id:D,ref:ae,className:m()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(A),A),a()(n,"googlesitekit-publisher-win--".concat(X),X),a()(n,"googlesitekit-publisher-win--".concat(me),me),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},F&&e.createElement("div",{className:m()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":ge,"mdc-layout-grid__cell--order-1-tablet":ge})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},_e),U&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},U)),K&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(K,null)),e.createElement("div",{className:m()("mdc-layout-grid__cell",he)},ge?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},be),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},ve)):e.createElement(b.Fragment,null,be,ve),p&&e.createElement(E.a,{className:"googlesitekit-notification__cta",href:p,target:g,onClick:function(e){return le.apply(this,arguments)}},f),L&&M&&e.createElement(j.a,{onClick:function(e){return ce.apply(this,arguments)}},M)),Y&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(Y,null))),("win-error"===X||"win-warning"===X)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},pe)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},438:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(13),c=n.n(o),s=n(12),l=n.n(s),u=n(1),d=n(2),f=n(112),p=n(71),m=n(439),g=n(4),h=n.n(g),v=n(8),b=n(111),_=n(90),k=n(21),y=n(15),E=n(34),O=n(30),S=n(23),j=h.a.useSelect,w=h.a.useDispatch;t.a=function ResetButton(t){var n=t.children,a=j((function(e){return e(y.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=j((function(e){return e(y.c).isDoingReset()})),s=j((function(e){return e(E.a).isNavigatingTo(a||"")})),g=Object(d.useState)(!1),h=l()(g,2),C=h[0],N=h[1],x=Object(d.useState)(!1),R=l()(x,2),M=R[0],T=R[1],A=Object(m.a)(N,3e3);Object(d.useEffect)((function(){o||s?N(!0):A(!1)}),[o,s,A]),Object(d.useEffect)((function(){var t=function(e){p.c===e.keyCode&&T(!1)};return M&&e.addEventListener("keyup",t,!1),function(){M&&e.removeEventListener("keyup",t)}}),[M]);var D=w(y.c).reset,L=w(E.a).navigateTo,z=Object(d.useContext)(S.b),P=Object(d.useCallback)(c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D();case 2:return Object(v.c)(),e.next=5,Object(O.b)(z,"reset_plugin");case 5:L(a);case 6:case"end":return e.stop()}}),e)}))),[L,a,D,z]),I=Object(d.useCallback)((function(){T(!M)}),[M]),F=Object(d.useCallback)((function(){T(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(k.a,{className:"googlesitekit-reset-button",onClick:F,inherit:!0},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(_.a,null,r.createElement(b.a,{dialogActive:M,handleConfirm:P,handleDialog:I,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(f.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:r.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,inProgress:C})))}}).call(this,n(18),n(3))},439:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(534),a=n(26),i=n(2);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.a)((function(){return a.debounce.apply(void 0,t)}),t);return Object(i.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},447:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),s=n.n(c),l=n(66),u=n.n(l),d=n(67),f=n.n(d),p=n(46),m=n.n(p),g=n(9),h=n.n(g),v=n(104),b=n(2),_=n(1),k=n(338),y=n(52);function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var O=function(t){u()(NotificationCounter,t);var n=E(NotificationCounter);function NotificationCounter(e){var t;return a()(this,NotificationCounter),(t=n.call(this,e)).state={count:0},t.handleIncrement=t.handleIncrement.bind(s()(t)),t.handleDecrement=t.handleDecrement.bind(s()(t)),t}return o()(NotificationCounter,[{key:"componentDidMount",value:function(){var e=this;Object(k.b)().then((function(t){e.setState({count:t})})),document.addEventListener("notificationDismissed",this.handleDecrement,!1)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("notificationDismissed",this.handleDecrement)}},{key:"handleIncrement",value:function(){this.setState(k.c)}},{key:"handleDecrement",value:function(){this.setState(k.a)}},{key:"render",value:function(){var t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name");if(!t)return null;var n=Object(_.sprintf)(
16
  /* translators: %d: the number of notifications */
17
  Object(_._n)("%d notification","%d notifications",this.state.count,"google-site-kit"),this.state.count),r=e.createElement("span",{className:h()("googlesitekit-notifications-counter","update-plugins","count-".concat(this.state.count))},e.createElement("span",{className:"plugin-count","aria-hidden":"true"},this.state.count),e.createElement(y.a,null,n));return Object(v.createPortal)(r,t)}}]),NotificationCounter}(b.Component);t.a=O}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),s=n.n(c),l=n(9),u=n.n(l);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return g})),n.d(t,"c",(function(){return v})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),s=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},l=n(12),u=n.n(l),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),s(n)},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function g(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var h=n(1);function v(){var e=function(e){return Object(h.sprintf)(
18
  /* translators: %s: number of days */
33
  Object(m.__)("%sK","google-site-kit"),O(_(e),e%10==0?{}:t)):O(e,{signDisplay:"never",maximumFractionDigits:1})},y=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return v(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=h({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?k(e):"duration"===i?v(e,t):O(e,n)},E=p()(console.warn),O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],l={},d=0,f=Object.entries(i);d<f.length;d++){var p=a()(f[d],2),m=p[0],g=p[1];c[m]&&g===c[m]||(s.includes(m)||(l[m]=g))}try{return new Intl.NumberFormat(r,l).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(r,{style:i,type:c});return s.format(e)}
34
  /* translators: used between list items, there is a space after the comma. */var l=Object(m.__)(", ","google-site-kit");return e.join(l)},j=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),s=n.n(c),l=n(66),u=n.n(l),d=n(67),f=n.n(d),p=n(46),m=n.n(p),g=n(0),h=n.n(g),v=n(9),b=n.n(v),_=n(2),k=n(1),y=n(56),E=n(94),O=n(8);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var j=function(t){u()(DataBlock,t);var n=S(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(s()(t)),t.handleKeyPress=t.handleKeyPress.bind(s()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,s=t.context,l=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,p=t.sparkline,m=t.invertChangeColor,g="button"===s?"button":"",h=p;h&&m&&(h=Object(_.cloneElement)(p,{invertChangeColor:m}));var v=o;c&&(v="%"===c?Object(O.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(O.q)(o,c)),l&&(v=Object(k.sprintf)(l,v));var S=void 0===a?a:Object(O.q)(a,i||void 0);return e.createElement("div",{className:b()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(s),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===s?"0":"-1",role:d&&g,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},S)),h&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},h),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:b()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(_.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(y.a,{direction:0<parseFloat(o)?"up":"down",invertColor:m})),e.createElement("span",{className:"googlesitekit-data-block__value"},v))),f&&e.createElement(E.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(_.Component);j.propTypes={stat:h.a.number,onClick:h.a.func,className:h.a.string,title:h.a.string,datapoint:h.a.oneOfType([h.a.string,h.a.number]),datapointUnit:h.a.string,change:h.a.oneOfType([h.a.string,h.a.number]),changeDataUnit:h.a.oneOfType([h.a.string,h.a.bool]),context:h.a.string,period:h.a.string,selected:h.a.bool,handleStatSelection:h.a.func,invertChangeColor:h.a.bool},j.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=j}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var s=document.createElement("span");return s.setAttribute("class","screen-reader-text"),s.textContent=Object(i.sprintf)(
35
  /* translators: %d is the number of notifications */
36
+ Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(s),t&&null===r&&t.appendChild(o),n&&null===a&&n.appendChild(o),o},l=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},u=function(e){for(var t=location.search.substr(1).split("&"),n={},r=0;r<t.length;r++)n[t[r].split("=")[0]]=decodeURIComponent(t[r].split("=")[1]);return e?n.hasOwnProperty(e)?decodeURIComponent(n[e].replace(/\+/g," ")):"":n},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,n=new URL(t.href);if(e)return n.searchParams&&n.searchParams.get?n.searchParams.get(e):u(e);var r,i={},c=o(n.searchParams.entries());try{for(c.s();!(r=c.n()).done;){var s=a()(r.value,2),l=s[0],d=s[1];i[l]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(18))},76:function(e,t,n){"use strict";(function(e){n(44),n(45)}).call(this,n(18))},77:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return c}));var r=n(184),a=n(56),i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=n.invertColor,o=void 0!==i&&i;return Object(r.a)(e.createElement(a.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,r,a,i,o,c,s,l,u,d,f,p,m,g;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==e||null===(a=e[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.metrics)||void 0===s||null===(l=s[0])||void 0===l||null===(u=l.values)||void 0===u?void 0:u[0])===(null==e||null===(d=e[0])||void 0===d||null===(f=d.data)||void 0===f||null===(p=f.totals)||void 0===p||null===(m=p[0])||void 0===m||null===(g=m.values)||void 0===g?void 0:g[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(3))},78:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u}));var r=n(6),a=n.n(r),i=n(79),o=n(80);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function u(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=s(s({},l),t);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(a,n);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(o.a)(a,n,c,r)}}}).call(this,n(18))},79:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(47),a=n(27);function i(t,n){var i,o=Object(r.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(a.b,"]"))),!i){var r=n.createElement("script");r.setAttribute(a.b,""),r.async=!0,r.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(a.a),n.head.appendChild(r),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(18))},8:function(e,t,n){"use strict";n.d(t,"v",(function(){return c.b})),n.d(t,"s",(function(){return s.a})),n.d(t,"w",(function(){return s.b})),n.d(t,"u",(function(){return p})),n.d(t,"c",(function(){return m.b})),n.d(t,"j",(function(){return m.c})),n.d(t,"q",(function(){return g.c})),n.d(t,"r",(function(){return g.d})),n.d(t,"n",(function(){return g.b})),n.d(t,"i",(function(){return g.a})),n.d(t,"o",(function(){return _})),n.d(t,"d",(function(){return k})),n.d(t,"f",(function(){return y.c})),n.d(t,"t",(function(){return y.i})),n.d(t,"g",(function(){return E.b})),n.d(t,"m",(function(){return E.c})),n.d(t,"b",(function(){return E.a})),n.d(t,"l",(function(){return O.b})),n.d(t,"h",(function(){return O.a})),n.d(t,"p",(function(){return O.c})),n.d(t,"k",(function(){return S})),n.d(t,"a",(function(){return j})),n.d(t,"x",(function(){return w})),n.d(t,"e",(function(){return C}));var r=n(108),a=n.n(r),i=n(107),o=n.n(i),c=n(30),s=n(58),l=n(28),u=n.n(l),d=n(72),f=n.n(d),p=function(e){return f()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var a=t[r];a&&"object"===u()(a)&&!Array.isArray(a)&&(a=e(a)),n[r]=a})),n}(e)))};var m=n(74),g=(n(76),n(68));n(51);function h(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function v(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function b(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,r=[h,v,b];n<r.length;n++){t=(0,r[n])(t)}return t}var k=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},y=n(53),E=n(77),O=n(63),S=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!a()(n)?null:n},w=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},C=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var r=n(5),a=n.n(r),i=n(6),o=n.n(i),c=n(13),s=n.n(c),l=n(47),u=n(33);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(t,n,r,i){var o=Object(l.a)(n);return function(){var n=s()(a.a.mark((function n(c,s,l,d){var p,m,g,h,v,b,_,k,y,E;return a.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(h=t.activeModules,v=t.referenceSiteURL,b=t.trackingEnabled,_=t.trackingID,k=t.userIDHash,b){n.next=3;break}return n.abrupt("return");case 3:return r(),y=null!==(p=null===(m=e._googlesitekitUserData)||void 0===m||null===(g=m.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],E={send_to:_,event_category:c,event_label:l,value:d,dimension1:v,dimension2:y.join(","),dimension3:k,dimension4:"1.48.1",dimension5:Array.from(u.a).join(","),dimension6:h.join(",")},n.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){i.console.warn('Tracking event "'.concat(s,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),a=function(){clearTimeout(r),e()};o("event",s,f(f({},E),{},{event_callback:a})),(null===(t=i._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&a()})));case 7:case"end":return n.stop()}}),n)})));return function(e,t,r,a){return n.apply(this,arguments)}}()}}).call(this,n(18))},82:function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_DASHBOARD",(function(){return r})),n.d(t,"CONTEXT_PAGE_DASHBOARD",(function(){return a})),n.d(t,"CONTEXT_MODULE_SEARCH_CONSOLE",(function(){return i})),n.d(t,"CONTEXT_MODULE_ANALYTICS",(function(){return o})),n.d(t,"CONTEXT_MODULE_ADSENSE",(function(){return c})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return s})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return l})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return d})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return f})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return p})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return m})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return g}));var r="dashboard",a="pageDashboard",i="moduleSearchConsole",o="moduleAnalytics",c="moduleAdsense",s="mainDashboardTraffic",l="mainDashboardContent",u="mainDashboardSpeed",d="mainDashboardMonetization",f="entityDashboardTraffic",p="entityDashboardContent",m="entityDashboardSpeed",g="entityDashboardMonetization";t.default={CONTEXT_DASHBOARD:r,CONTEXT_PAGE_DASHBOARD:a,CONTEXT_MODULE_SEARCH_CONSOLE:i,CONTEXT_MODULE_ANALYTICS:o,CONTEXT_MODULE_ADSENSE:c,CONTEXT_MAIN_DASHBOARD_TRAFFIC:s,CONTEXT_MAIN_DASHBOARD_CONTENT:l,CONTEXT_MAIN_DASHBOARD_SPEED:u,CONTEXT_MAIN_DASHBOARD_MONETIZATION:d,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:f,CONTEXT_ENTITY_DASHBOARD_CONTENT:p,CONTEXT_ENTITY_DASHBOARD_SPEED:m,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:g}},820:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardSplashApp}));var r=n(4),a=n.n(r),i=n(15),o=n(821),c=n(830),s=a.a.useSelect;function DashboardSplashApp(){var t=s((function(e){return e(i.c).isUsingProxy()}));return!0===t?e.createElement(o.a,null):!1===t?e.createElement(c.a,null):null}}).call(this,n(3))},821:function(e,t,n){"use strict";(function(e,r){var a=n(5),i=n.n(a),o=n(13),c=n.n(o),s=n(569),l=n.n(s),u=n(9),d=n.n(u),f=n(2),p=n(1),m=n(276),g=n(363),h=n(4),v=n.n(h),b=n(22),_=n(822),k=n(823),y=n(8),E=n(186),O=n(20),S=n(438),j=n(208),w=n(42),C=n(370),N=n(824),x=n(15),R=n(11),M=n(34),T=n(19),A=n(40),D=n(85),L=n(14),z=n(361),P=n(187),I=n(828),F=v.a.useSelect,B=v.a.useDispatch;t.a=function SetupUsingProxy(){var t,n,a=Object(D.a)("serviceSetupV2"),o=F((function(e){return e(T.a).isModuleActive("analytics")})),s=F((function(e){return e(A.a).getValue(z.b,z.a)})),u=F((function(e){var t=e(x.c),n=e(R.a);return{isSecondAdmin:t.hasConnectedAdmins(),isResettable:t.isResettable(),siteURL:t.getReferenceSiteURL(),proxySetupURL:t.getProxySetupURL(),disconnectedReason:n.getDisconnectedReason(),connectedProxyURL:Object(y.w)(n.getConnectedProxyURL()),homeURL:Object(y.w)(t.getHomeURL()),isConnected:t.isConnected()}})),h=u.isSecondAdmin,v=u.isResettable,U=u.siteURL,q=u.proxySetupURL,H=u.disconnectedReason,W=u.isConnected,V=u.connectedProxyURL,K=u.homeURL,G=B(M.a).navigateTo,X=B(T.a).activateModule,Y=Object(f.useCallback)(function(){var e=c()(i.a.mark((function e(t){var n,r,a,o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),!s){e.next=11;break}return e.next=4,X("analytics");case 4:if(r=e.sent,a=r.error,o=r.response,a){e.next=11;break}return e.next=10,Object(y.v)(b.h,"start_setup_with_analytics");case 10:n=o.moduleReauthURL;case 11:if(!q){e.next=14;break}return e.next=14,Object(y.v)(b.h,"start_user_setup","proxy");case 14:if(!q||W){e.next=17;break}return e.next=17,Object(y.v)(b.h,"start_site_setup","proxy");case 17:G(n&&q?Object(m.a)(q,{redirect:n}):q);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[q,G,W,X,s]),Q=e._googlesitekitLegacyData.setup.errorMessage,$={smSize:4,mdSize:8,lgSize:a?6:12};return!o&&a&&($={smSize:4,mdSize:8,lgSize:8}),"revoked"===Object(g.a)(location.href,"googlesitekit_context")?(t=Object(p.sprintf)(
37
  /* translators: %s is the site's hostname. (e.g. example.com) */
38
  Object(p.__)("You revoked access to Site Kit for %s","google-site-kit"),l.a.toUnicode(new URL(U).hostname)),n=Object(p.__)('Site Kit will no longer have access to your account. If you’d like to reconnect Site Kit, click "Sign in with Google" below to generate new credentials.',"google-site-kit")):R.b===H?(t=Object(p.__)("Reconnect Site Kit","google-site-kit"),n=Object(p.__)("Looks like the URL of your site has changed. In order to continue using Site Kit, you’ll need to reconnect, so that your plugin settings are updated with the new URL.","google-site-kit")):h?(t=Object(p.__)("Connect your Google account to Site Kit","google-site-kit"),n=Object(p.__)("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, you’ll see stats from all activated Google products.","google-site-kit")):(t=Object(p.__)("Set up Site Kit","google-site-kit"),n=Object(p.__)("Get insights on how people find your site, as well as how to improve and monetize your site’s content, directly in your WordPress dashboard.","google-site-kit")),r.createElement(f.Fragment,null,r.createElement(E.a,null,r.createElement(P.a,null)),Q&&r.createElement(w.a,{id:"setup_error",type:"win-error",title:Object(p.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:Q,isDismissible:!1}),"reset_success"===Object(g.a)(location.href,"notification")&&r.createElement(w.a,{id:"reset_success",title:Object(p.__)("Site Kit by Google was successfully reset.","google-site-kit"),isDismissible:!1}),r.createElement("div",{className:"googlesitekit-setup"},r.createElement(L.b,null,r.createElement(L.l,null,r.createElement(L.a,{size:12},r.createElement(j.a,null,r.createElement("section",{className:"googlesitekit-setup__splash"},r.createElement(L.b,null,r.createElement(L.l,{className:d()({"googlesitekit-setup__content":a})},a&&r.createElement(L.a,{smSize:4,mdSize:8,lgSize:o?6:4,className:"googlesitekit-setup__icon"},o&&r.createElement(_.a,{width:"570",height:"336"}),!o&&r.createElement(k.a,{height:"167",width:"175"})),r.createElement(L.a,$,r.createElement("h1",{className:"googlesitekit-setup__title"},t),r.createElement("p",{className:"googlesitekit-setup__description"},n),R.b===H&&V!==K&&r.createElement("p",null,Object(p.sprintf)(
39
  /* translators: %s: Previous Connected Proxy URL */
dist/assets/js/{googlesitekit-data-884a2d384ac0a449a4b2.min.js → googlesitekit-data-884a2d384ac0a449a4b2.js} RENAMED
File without changes
dist/assets/js/{googlesitekit-datastore-forms-c221e0c71c37063eed29.min.js → googlesitekit-datastore-forms-06d002580a7e3db5b04f.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},1049:function(t,r,e){"use strict";e.r(r);var n=e(4),o=e.n(n),a=e(49),i=e(91),c=e(6),u=e.n(c),s=e(7),l=e.n(s),f=e(50),d=e.n(f);function p(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?p(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var g={initialState:{},actions:{setValues:function(t,r){return l()(t&&"string"==typeof t,"a valid formName is required for setting values."),l()(d()(r),"formData must be an object."),{payload:{formName:t,formData:r},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"SET_FORM_VALUES":var o=n.formName,a=n.formData;return v(v({},t),{},u()({},o,v(v({},t[o]||{}),a)));default:return t}},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},b=e(40),h=o.a.combineStores(o.a.commonStore,g,Object(i.a)(b.a),Object(a.b)());h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;o.a.registerStore(b.a,h)},27:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},30:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return v}));var n=e(78),o=t._googlesitekitBaseData||{},a=o.activeModules,i=void 0===a?[]:a,c=o.isSiteKitScreen,u=o.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:o.trackingID,referenceSiteURL:o.referenceSiteURL,userIDHash:o.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,e(18))},33:function(t,r,e){"use strict";(function(t){var n,o;e.d(r,"a",(function(){return a})),e.d(r,"b",(function(){return i}));var a=new Set((null===(n=t)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return r instanceof Set&&r.has(t)}}).call(this,e(18))},35:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return b})),e.d(r,"d",(function(){return h})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return y}));var n=e(5),o=e.n(n),a=e(13),i=e.n(a);e(24);function c(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw a}}}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var s,l="googlesitekit_".concat("1.48.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var r=i()(o.a.mark((function r(e){var n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t[e]){r.next=3;break}return r.abrupt("return",!1);case 3:return r.prev=3,a="__storage_test__",n.setItem(a,a),n.removeItem(a),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(3),r.abrupt("return",r.t0 instanceof DOMException&&(22===r.t0.code||1014===r.t0.code||"QuotaExceededError"===r.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===r.t0.name)&&0!==n.length);case 13:case"end":return r.stop()}}),r,null,[[3,10]])})));return function(t){return r.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(o.a.mark((function r(){var e,n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===s){r.next=2;break}return r.abrupt("return",s);case 2:e=c(d),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(a=n.value,!s){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,p(a);case 11:if(!r.sent){r.next=13;break}s=t[a];case 13:r.next=5;break;case 15:r.next=20;break;case 17:r.prev=17,r.t0=r.catch(3),e.e(r.t0);case 20:return r.prev=20,e.f(),r.finish(20);case 23:return void 0===s&&(s=null),r.abrupt("return",s);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(o.a.mark((function t(r){var e,n,a,i,c,u,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(l).concat(r)))){t.next=10;break}if(a=JSON.parse(n),i=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}(),h=function(){var r=i()(o.a.mark((function r(e,n){var a,i,c,u,s,f,d,p,g=arguments;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=g.length>2&&void 0!==g[2]?g[2]:{},i=a.ttl,c=void 0===i?3600:i,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,r.next=3,v();case 3:if(!(p=r.sent)){r.next=14;break}return r.prev=5,p.setItem("".concat(l).concat(e),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(5),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[5,10]])})));return function(t,e){return r.apply(this,arguments)}}(),m=function(){var r=i()(o.a.mark((function r(e){var n;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(l).concat(e)),r.abrupt("return",!0);case 9:return r.prev=9,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 13:return r.abrupt("return",!1);case 14:case"end":return r.stop()}}),r,null,[[4,9]])})));return function(t){return r.apply(this,arguments)}}(),y=function(){var r=i()(o.a.mark((function r(){var e,n,a,i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],a=0;a<e.length;a++)0===(i=e.key(a)).indexOf(l)&&n.push(i.substring(l.length));return r.abrupt("return",n);case 10:return r.prev=10,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",[]);case 14:return r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,10]])})));return function(){return r.apply(this,arguments)}}()}).call(this,e(18))},39:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(35),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r="string"==typeof t;if(!r)return!1;var e=t.split("-");return 3===e.length&&Object(n.a)(new Date(t))}},4:function(t,r){t.exports=googlesitekit.data},40:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n="core/forms"},47:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(27);function o(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),o=e.n(n),a=e(28),i=e.n(a),c=e(7),u=e.n(c),s=e(72),l=e.n(s),f=e(8);function d(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function v(t,r){if(r&&Array.isArray(r)){var e=r.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var g={receiveError:function(t,r,e){return u()(t,"error is required."),r&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:r,args:e}}},clearError:function(t,r){return t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:r}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"selectorName is required."),t.getError(r,e,n)},getErrorForAction:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),t.getError(r,e,n)},getError:function(t,r,e){var n=t.error,o=t.errors;return r||e?(u()(r,"baseName is required."),o[v(r,e)]):n},getErrors:function(t){var r=new Set(Object.values(t.errors));return void 0!==t.error&&r.add(t.error),Array.from(r)},hasErrors:function(r){return t.getErrors(r).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"RECEIVE_ERROR":var a=n.baseName,i=n.args,c=n.error;return p(p({},t),{},a?{errors:p(p({},t.errors||{}),{},o()({},v(a,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},51:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(2),o=function(t){return function(r){return function FilteredComponent(e){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(r,e),t)}}}},53:function(t,r,e){"use strict";e.d(r,"a",(function(){return o})),e.d(r,"b",(function(){return n})),e.d(r,"e",(function(){return u})),e.d(r,"f",(function(){return p})),e.d(r,"g",(function(){return v})),e.d(r,"h",(function(){return f.a})),e.d(r,"d",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",o='Invalid date range, it must be a string with the format "last-x-days".',a=e(7),i=e.n(a),c=e(35),u=function(t){var r=new Date(t);i()(Object(c.a)(r),"Date param must construct to a valid date instance or be a valid date instance itself.");var e="".concat(r.getMonth()+1),n="".concat(r.getDate());return[r.getFullYear(),e.length<2?"0".concat(e):e,n.length<2?"0".concat(n):n].join("-")},s=e(12),l=e.n(s),f=e(39),d=function(t){i()(Object(f.a)(t),n);var r=t.split("-"),e=l()(r,3),o=e[0],a=e[1],c=e[2];return new Date(o,a-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=d(t);return e.setDate(e.getDate()-r),u(e)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=t.split("-");return 3===r.length&&"last"===r[0]&&!Number.isNaN(r[1])&&!Number.isNaN(parseFloat(r[1]))&&"days"===r[2]};function g(t){var r=t.match(/last-(\d+)-days/);if(r&&r[1])return parseInt(r[1],10);throw new Error("Unrecognized date range slug.")}var b=e(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},56:function(t,r,e){"use strict";(function(t){var n=e(0),o=e.n(n),a=e(9),i=e.n(a);function ChangeArrow(r){var e=r.direction,n=r.invertColor,o=r.width,a=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},r.a=ChangeArrow}).call(this,e(3))},58:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(28),o=e.n(n),a=e(65),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(t,r)}};function c(t){var r,e="object"===o()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},63:function(t,r,e){"use strict";function n(t){try{return new URL(t).pathname}catch(t){}return null}function o(t,r){try{return new URL(r,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof r?r:"")}function a(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}e.d(r,"b",(function(){return n})),e.d(r,"a",(function(){return o})),e.d(r,"c",(function(){return a}))},65:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return o}));var n=e(109),o=e.n(n)()(t)}).call(this,e(18))},68:function(t,r,e){"use strict";(function(t){e.d(r,"c",(function(){return w})),e.d(r,"d",(function(){return S})),e.d(r,"b",(function(){return E})),e.d(r,"a",(function(){return k}));var n=e(12),o=e.n(n),a=e(28),i=e.n(a),c=e(6),u=e.n(c),s=e(16),l=e.n(s),f=e(26),d=e(64),p=e.n(d),v=e(1);function g(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function b(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?g(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=m(t,r),n=e.formatUnit,o=e.formatDecimal;try{return n()}catch(t){return o()}},m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var e=Math.floor(t/60/60),n=Math.floor(t/60%60),o=Math.floor(t%60);return{hours:e,minutes:n,seconds:o,formatUnit:function(){var a=r.unitDisplay,i=b(b({unitDisplay:void 0===a?"short":a},l()(r,["unitDisplay"])),{},{style:"unit"});return 0===t?S(o,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(v.__)("%sK","google-site-kit"),S(y(t))):1e3<=t?Object(v.sprintf)(// trans
13
  Object(v.__)("%sK","google-site-kit"),S(y(t),t%10==0?{}:r)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var e={};if("%"===r)e={style:"percent",maximumFractionDigits:2};else{if("s"===r)return h(t,{unitDisplay:"narrow"});r&&"string"==typeof r?e={style:"currency",currency:r}:Object(f.isPlainObject)(r)&&(e=b({},r))}var n=e,o=n.style,a=void 0===o?"metric":o;return"metric"===a?O(t):"duration"===a?h(t,r):S(t,e)},j=p()(console.warn),S=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,a=l()(r,["locale"]);try{return new Intl.NumberFormat(n,a).format(t)}catch(r){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(i()(t)," )"),r.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=o()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(r){return new Intl.NumberFormat(n).format(t)}},E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,o=r.style,a=void 0===o?"long":o,i=r.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(f.get)(r,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return r.navigator.language}}).call(this,e(18))},74:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return u})),e.d(r,"b",(function(){return s})),e.d(r,"c",(function(){return f}));var n=e(12),o=e.n(n),a=e(1);function i(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw a}}}}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=null,e=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(r=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),e=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===r&&null===e)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(a._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),r&&null===n&&r.appendChild(i),e&&null===o&&e.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var r=location.search.substr(1).split("&"),e={},n=0;n<r.length;n++)e[r[n].split("=")[0]]=decodeURIComponent(r[n].split("=")[1]);return t?e.hasOwnProperty(t)?decodeURIComponent(e[t].replace(/\+/g," ")):"":e},f=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,e=new URL(r.href);if(t)return e.searchParams&&e.searchParams.get?e.searchParams.get(t):l(t);var n,a={},c=i(e.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(t){c.e(t)}finally{c.f()}return a}}).call(this,e(18))},76:function(t,r,e){"use strict";(function(t){e(44),e(45)}).call(this,e(18))},77:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return a})),e.d(r,"c",(function(){return i})),e.d(r,"a",(function(){return c}));var n=e(184),o=e(56),a=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(r)))return"";var a=e.invertColor,i=void 0!==a&&a;return Object(n.a)(t.createElement(o.a,{direction:r>0?"up":"down",invertColor:i}))},i=function(t){var r,e,n,o,a,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(r=t[0])||void 0===r||null===(e=r.data)||void 0===e||null===(n=e.rows)||void 0===n?void 0:n.length)||(null==t||null===(o=t[0])||void 0===o||null===(a=o.data)||void 0===a||null===(i=a.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,r){return t>0&&r>0?t/r-1:t>0?1:r>0?-1:0}}).call(this,e(3))},78:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n=e(6),o=e.n(n),a=e(79),i=e(80);function c(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?c(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=u(u({},s),r);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(o,e);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(i.a)(o,e,c,n)}}}).call(this,e(18))},79:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return a}));var n=e(47),o=e(27);function a(r,e){var a,i=Object(n.a)(e);return function(){var e=t.document;if(void 0===a&&(a=!!e.querySelector("script[".concat(o.b,"]"))),!a){var n=e.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(o.a),e.head.appendChild(n),i("js",new Date),i("config",r.trackingID,{send_page_view:r.isSiteKitScreen}),a=!0}}}}).call(this,e(18))},8:function(t,r,e){"use strict";e.d(r,"v",(function(){return c.b})),e.d(r,"s",(function(){return u.a})),e.d(r,"w",(function(){return u.b})),e.d(r,"u",(function(){return p})),e.d(r,"c",(function(){return v.b})),e.d(r,"j",(function(){return v.c})),e.d(r,"q",(function(){return g.c})),e.d(r,"r",(function(){return g.d})),e.d(r,"n",(function(){return g.b})),e.d(r,"i",(function(){return g.a})),e.d(r,"o",(function(){return y})),e.d(r,"d",(function(){return O})),e.d(r,"f",(function(){return w.c})),e.d(r,"t",(function(){return w.i})),e.d(r,"g",(function(){return j.b})),e.d(r,"m",(function(){return j.c})),e.d(r,"b",(function(){return j.a})),e.d(r,"l",(function(){return S.b})),e.d(r,"h",(function(){return S.a})),e.d(r,"p",(function(){return S.c})),e.d(r,"k",(function(){return E})),e.d(r,"a",(function(){return k})),e.d(r,"x",(function(){return _})),e.d(r,"e",(function(){return D}));var n=e(108),o=e.n(n),a=e(107),i=e.n(a),c=e(30),u=e(58),s=e(28),l=e.n(s),f=e(72),d=e.n(f),p=function(t){return d()(JSON.stringify(function t(r){var e={};return Object.keys(r).sort().forEach((function(n){var o=r[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=t(o)),e[n]=o})),e}(t)))};var v=e(74),g=(e(76),e(68));e(51);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var r=t,e=0,n=[b,h,m];e<n.length;e++){r=(0,n[e])(r)}return r}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=e(53),j=e(77),S=e(63),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,r){if("0"===t||0===t||isNaN(t))return null;var e=(r-t)/t;return isNaN(e)||!o()(e)?null:e},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var r=t.replace(/&#(\d+);/g,(function(t,r){return String.fromCharCode(r)})).replace(/(\\)/g,"");return i()(r)}},80:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return p}));var n=e(5),o=e.n(n),a=e(6),i=e.n(a),c=e(13),u=e.n(c),s=e(47),l=e(33);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?f(Object(e),!0).forEach((function(r){i()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function p(r,e,n,a){var i=Object(s.a)(e);return function(){var e=u()(o.a.mark((function e(c,u,s,f){var p,v,g,b,h,m,y,O,w,j;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b=r.activeModules,h=r.referenceSiteURL,m=r.trackingEnabled,y=r.trackingID,O=r.userIDHash,m){e.next=3;break}return e.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.48.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},e.abrupt("return",new Promise((function(t){var r,e,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),o=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:o})),(null===(r=a._gaUserPrefs)||void 0===r||null===(e=r.ioo)||void 0===e?void 0:e.call(r))&&o()})));case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}()}}).call(this,e(18))},91:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"b",(function(){return m}));var n=e(16),o=e.n(n),a=e(6),i=e.n(a),c=e(5),u=e.n(c),s=e(7),l=e.n(s),f=e(4),d=e.n(f),p=e(38),v=d.a.createRegistryControl,g=function(t){var r;l()(t,"storeName is required to create a snapshot store.");var e={},n={deleteSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var r,e,n,o,a,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>0&&void 0!==c[0]?c[0]:{},e=r.clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(o=t.sent,a=o.cacheHit,i=o.value,!a){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",a);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))},a=(r={},i()(r,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(r,"CREATE_SNAPSHOT",v((function(r){return function(){return Object(p.d)("datastore::cache::".concat(t),r.stores[t].store.getState())}}))),i()(r,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),r);return{initialState:e,actions:n,controls:a,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=a.snapshot,c=(i.error,o()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1049,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},1049:function(t,r,e){"use strict";e.r(r);var n=e(4),o=e.n(n),a=e(49),i=e(91),c=e(6),u=e.n(c),s=e(7),l=e.n(s),f=e(50),d=e.n(f);function p(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?p(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var g={initialState:{},actions:{setValues:function(t,r){return l()(t&&"string"==typeof t,"a valid formName is required for setting values."),l()(d()(r),"formData must be an object."),{payload:{formName:t,formData:r},type:"SET_FORM_VALUES"}}},controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"SET_FORM_VALUES":var o=n.formName,a=n.formData;return v(v({},t),{},u()({},o,v(v({},t[o]||{}),a)));default:return t}},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},b=e(40),h=o.a.combineStores(o.a.commonStore,g,Object(i.a)(b.a),Object(a.b)());h.initialState,h.actions,h.controls,h.reducer,h.resolvers,h.selectors;o.a.registerStore(b.a,h)},27:function(t,r,e){"use strict";e.d(r,"a",(function(){return n})),e.d(r,"b",(function(){return o}));var n="_googlesitekitDataLayer",o="data-googlesitekit-gtag"},30:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return v}));var n=e(78),o=t._googlesitekitBaseData||{},a=o.activeModules,i=void 0===a?[]:a,c=o.isSiteKitScreen,u=o.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:o.trackingID,referenceSiteURL:o.referenceSiteURL,userIDHash:o.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,e(18))},33:function(t,r,e){"use strict";(function(t){var n,o;e.d(r,"a",(function(){return a})),e.d(r,"b",(function(){return i}));var a=new Set((null===(n=t)||void 0===n||null===(o=n._googlesitekitBaseData)||void 0===o?void 0:o.enabledFeatures)||[]),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return r instanceof Set&&r.has(t)}}).call(this,e(18))},35:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return b})),e.d(r,"d",(function(){return h})),e.d(r,"a",(function(){return m})),e.d(r,"c",(function(){return y}));var n=e(5),o=e.n(n),a=e(13),i=e.n(a);e(24);function c(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return u(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return u(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){c=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(c)throw a}}}}function u(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var s,l="googlesitekit_".concat("1.48.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var r=i()(o.a.mark((function r(e){var n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t[e]){r.next=3;break}return r.abrupt("return",!1);case 3:return r.prev=3,a="__storage_test__",n.setItem(a,a),n.removeItem(a),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(3),r.abrupt("return",r.t0 instanceof DOMException&&(22===r.t0.code||1014===r.t0.code||"QuotaExceededError"===r.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===r.t0.name)&&0!==n.length);case 13:case"end":return r.stop()}}),r,null,[[3,10]])})));return function(t){return r.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(o.a.mark((function r(){var e,n,a;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0===s){r.next=2;break}return r.abrupt("return",s);case 2:e=c(d),r.prev=3,e.s();case 5:if((n=e.n()).done){r.next=15;break}if(a=n.value,!s){r.next=9;break}return r.abrupt("continue",13);case 9:return r.next=11,p(a);case 11:if(!r.sent){r.next=13;break}s=t[a];case 13:r.next=5;break;case 15:r.next=20;break;case 17:r.prev=17,r.t0=r.catch(3),e.e(r.t0);case 20:return r.prev=20,e.f(),r.finish(20);case 23:return void 0===s&&(s=null),r.abrupt("return",s);case 25:case"end":return r.stop()}}),r,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(o.a.mark((function t(r){var e,n,a,i,c,u,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem("".concat(l).concat(r)))){t.next=10;break}if(a=JSON.parse(n),i=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(r){return t.apply(this,arguments)}}(),h=function(){var r=i()(o.a.mark((function r(e,n){var a,i,c,u,s,f,d,p,g=arguments;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return a=g.length>2&&void 0!==g[2]?g[2]:{},i=a.ttl,c=void 0===i?3600:i,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,r.next=3,v();case 3:if(!(p=r.sent)){r.next=14;break}return r.prev=5,p.setItem("".concat(l).concat(e),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),r.abrupt("return",!0);case 10:return r.prev=10,r.t0=r.catch(5),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 14:return r.abrupt("return",!1);case 15:case"end":return r.stop()}}),r,null,[[5,10]])})));return function(t,e){return r.apply(this,arguments)}}(),m=function(){var r=i()(o.a.mark((function r(e){var n;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(n=r.sent)){r.next=13;break}return r.prev=4,n.removeItem("".concat(l).concat(e)),r.abrupt("return",!0);case 9:return r.prev=9,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",!1);case 13:return r.abrupt("return",!1);case 14:case"end":return r.stop()}}),r,null,[[4,9]])})));return function(t){return r.apply(this,arguments)}}(),y=function(){var r=i()(o.a.mark((function r(){var e,n,a,i;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,v();case 2:if(!(e=r.sent)){r.next=14;break}for(r.prev=4,n=[],a=0;a<e.length;a++)0===(i=e.key(a)).indexOf(l)&&n.push(i.substring(l.length));return r.abrupt("return",n);case 10:return r.prev=10,r.t0=r.catch(4),t.console.warn("Encountered an unexpected storage error:",r.t0),r.abrupt("return",[]);case 14:return r.abrupt("return",[]);case 15:case"end":return r.stop()}}),r,null,[[4,10]])})));return function(){return r.apply(this,arguments)}}()}).call(this,e(18))},39:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(35),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r="string"==typeof t;if(!r)return!1;var e=t.split("-");return 3===e.length&&Object(n.a)(new Date(t))}},4:function(t,r){t.exports=googlesitekit.data},40:function(t,r,e){"use strict";e.d(r,"a",(function(){return n}));var n="core/forms"},47:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(27);function o(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"b",(function(){return b}));var n=e(6),o=e.n(n),a=e(28),i=e.n(a),c=e(7),u=e.n(c),s=e(72),l=e.n(s),f=e(8);function d(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function p(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?d(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):d(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function v(t,r){if(r&&Array.isArray(r)){var e=r.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(e)))}return t}var g={receiveError:function(t,r,e){return u()(t,"error is required."),r&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:r,args:e}}},clearError:function(t,r){return t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:r}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"selectorName is required."),t.getError(r,e,n)},getErrorForAction:function(r,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(e,"actionName is required."),t.getError(r,e,n)},getError:function(t,r,e){var n=t.error,o=t.errors;return r||e?(u()(r,"baseName is required."),o[v(r,e)]):n},getErrors:function(t){var r=new Set(Object.values(t.errors));return void 0!==t.error&&r.add(t.error),Array.from(r)},hasErrors:function(r){return t.getErrors(r).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case"RECEIVE_ERROR":var a=n.baseName,i=n.args,c=n.error;return p(p({},t),{},a?{errors:p(p({},t.errors||{}),{},o()({},v(a,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},51:function(t,r,e){"use strict";e.d(r,"a",(function(){return o}));var n=e(2),o=function(t){return function(r){return function FilteredComponent(e){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(r,e),t)}}}},53:function(t,r,e){"use strict";e.d(r,"a",(function(){return o})),e.d(r,"b",(function(){return n})),e.d(r,"e",(function(){return u})),e.d(r,"f",(function(){return p})),e.d(r,"g",(function(){return v})),e.d(r,"h",(function(){return f.a})),e.d(r,"d",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",o='Invalid date range, it must be a string with the format "last-x-days".',a=e(7),i=e.n(a),c=e(35),u=function(t){var r=new Date(t);i()(Object(c.a)(r),"Date param must construct to a valid date instance or be a valid date instance itself.");var e="".concat(r.getMonth()+1),n="".concat(r.getDate());return[r.getFullYear(),e.length<2?"0".concat(e):e,n.length<2?"0".concat(n):n].join("-")},s=e(12),l=e.n(s),f=e(39),d=function(t){i()(Object(f.a)(t),n);var r=t.split("-"),e=l()(r,3),o=e[0],a=e[1],c=e[2];return new Date(o,a-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,e=d(t);return e.setDate(e.getDate()-r),u(e)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=t.split("-");return 3===r.length&&"last"===r[0]&&!Number.isNaN(r[1])&&!Number.isNaN(parseFloat(r[1]))&&"days"===r[2]};function g(t){var r=t.match(/last-(\d+)-days/);if(r&&r[1])return parseInt(r[1],10);throw new Error("Unrecognized date range slug.")}var b=e(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},56:function(t,r,e){"use strict";(function(t){var n=e(0),o=e.n(n),a=e(9),i=e.n(a);function ChangeArrow(r){var e=r.direction,n=r.invertColor,o=r.width,a=r.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(e),{"googlesitekit-change-arrow--inverted-color":n}),width:o,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:o.a.string,invertColor:o.a.bool,width:o.a.number,height:o.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},r.a=ChangeArrow}).call(this,e(3))},58:function(t,r,e){"use strict";e.d(r,"a",(function(){return i})),e.d(r,"b",(function(){return c}));var n=e(28),o=e.n(n),a=e(65),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(t,r)}};function c(t){var r,e="object"===o()(t)?t.toString():t;return null==e||null===(r=e.replace)||void 0===r?void 0:r.call(e,/\/+$/,"")}},63:function(t,r,e){"use strict";function n(t){try{return new URL(t).pathname}catch(t){}return null}function o(t,r){try{return new URL(r,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof r?r:"")}function a(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}e.d(r,"b",(function(){return n})),e.d(r,"a",(function(){return o})),e.d(r,"c",(function(){return a}))},65:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return o}));var n=e(109),o=e.n(n)()(t)}).call(this,e(18))},68:function(t,r,e){"use strict";(function(t){e.d(r,"c",(function(){return w})),e.d(r,"d",(function(){return S})),e.d(r,"b",(function(){return E})),e.d(r,"a",(function(){return k}));var n=e(12),o=e.n(n),a=e(28),i=e.n(a),c=e(6),u=e.n(c),s=e(16),l=e.n(s),f=e(26),d=e(64),p=e.n(d),v=e(1);function g(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function b(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?g(Object(e),!0).forEach((function(r){u()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=m(t,r),n=e.formatUnit,o=e.formatDecimal;try{return n()}catch(t){return o()}},m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var e=Math.floor(t/60/60),n=Math.floor(t/60%60),o=Math.floor(t%60);return{hours:e,minutes:n,seconds:o,formatUnit:function(){var a=r.unitDisplay,i=b(b({unitDisplay:void 0===a?"short":a},l()(r,["unitDisplay"])),{},{style:"unit"});return 0===t?S(o,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(v.__)("%sK","google-site-kit"),S(y(t),t%10==0?{}:r)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var e={};if("%"===r)e={style:"percent",maximumFractionDigits:2};else{if("s"===r)return h(t,{unitDisplay:"narrow"});r&&"string"==typeof r?e={style:"currency",currency:r}:Object(f.isPlainObject)(r)&&(e=b({},r))}var n=e,o=n.style,a=void 0===o?"metric":o;return"metric"===a?O(t):"duration"===a?h(t,r):S(t,e)},j=p()(console.warn),S=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,a=l()(r,["locale"]);try{return new Intl.NumberFormat(n,a).format(t)}catch(r){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(i()(t)," )"),r.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=o()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(r){return new Intl.NumberFormat(n).format(t)}},E=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?k():e,o=r.style,a=void 0===o?"long":o,i=r.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,e=Object(f.get)(r,["_googlesitekitLegacyData","locale"]);if(e){var n=e.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return r.navigator.language}}).call(this,e(18))},74:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return u})),e.d(r,"b",(function(){return s})),e.d(r,"c",(function(){return f}));var n=e(12),o=e.n(n),a=e(1);function i(t,r){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(!t)return;if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(t,r)}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return i=t.done,t},e:function(t){u=!0,a=t},f:function(){try{i||null==e.return||e.return()}finally{if(u)throw a}}}}function c(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=null,e=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(r=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),e=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===r&&null===e)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(a._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),r&&null===n&&r.appendChild(i),e&&null===o&&e.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var r=location.search.substr(1).split("&"),e={},n=0;n<r.length;n++)e[r[n].split("=")[0]]=decodeURIComponent(r[n].split("=")[1]);return t?e.hasOwnProperty(t)?decodeURIComponent(e[t].replace(/\+/g," ")):"":e},f=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,e=new URL(r.href);if(t)return e.searchParams&&e.searchParams.get?e.searchParams.get(t):l(t);var n,a={},c=i(e.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(t){c.e(t)}finally{c.f()}return a}}).call(this,e(18))},76:function(t,r,e){"use strict";(function(t){e(44),e(45)}).call(this,e(18))},77:function(t,r,e){"use strict";(function(t){e.d(r,"b",(function(){return a})),e.d(r,"c",(function(){return i})),e.d(r,"a",(function(){return c}));var n=e(184),o=e(56),a=function(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(r)))return"";var a=e.invertColor,i=void 0!==a&&a;return Object(n.a)(t.createElement(o.a,{direction:r>0?"up":"down",invertColor:i}))},i=function(t){var r,e,n,o,a,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(r=t[0])||void 0===r||null===(e=r.data)||void 0===e||null===(n=e.rows)||void 0===n?void 0:n.length)||(null==t||null===(o=t[0])||void 0===o||null===(a=o.data)||void 0===a||null===(i=a.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,r){return t>0&&r>0?t/r-1:t>0?1:r>0?-1:0}}).call(this,e(3))},78:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return l}));var n=e(6),o=e.n(n),a=e(79),i=e(80);function c(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function u(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?c(Object(e),!0).forEach((function(r){o()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(r){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=u(u({},s),r);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(o,e);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(i.a)(o,e,c,n)}}}).call(this,e(18))},79:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return a}));var n=e(47),o=e(27);function a(r,e){var a,i=Object(n.a)(e);return function(){var e=t.document;if(void 0===a&&(a=!!e.querySelector("script[".concat(o.b,"]"))),!a){var n=e.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(r.trackingID,"&l=").concat(o.a),e.head.appendChild(n),i("js",new Date),i("config",r.trackingID,{send_page_view:r.isSiteKitScreen}),a=!0}}}}).call(this,e(18))},8:function(t,r,e){"use strict";e.d(r,"v",(function(){return c.b})),e.d(r,"s",(function(){return u.a})),e.d(r,"w",(function(){return u.b})),e.d(r,"u",(function(){return p})),e.d(r,"c",(function(){return v.b})),e.d(r,"j",(function(){return v.c})),e.d(r,"q",(function(){return g.c})),e.d(r,"r",(function(){return g.d})),e.d(r,"n",(function(){return g.b})),e.d(r,"i",(function(){return g.a})),e.d(r,"o",(function(){return y})),e.d(r,"d",(function(){return O})),e.d(r,"f",(function(){return w.c})),e.d(r,"t",(function(){return w.i})),e.d(r,"g",(function(){return j.b})),e.d(r,"m",(function(){return j.c})),e.d(r,"b",(function(){return j.a})),e.d(r,"l",(function(){return S.b})),e.d(r,"h",(function(){return S.a})),e.d(r,"p",(function(){return S.c})),e.d(r,"k",(function(){return E})),e.d(r,"a",(function(){return k})),e.d(r,"x",(function(){return _})),e.d(r,"e",(function(){return D}));var n=e(108),o=e.n(n),a=e(107),i=e.n(a),c=e(30),u=e(58),s=e(28),l=e.n(s),f=e(72),d=e.n(f),p=function(t){return d()(JSON.stringify(function t(r){var e={};return Object.keys(r).sort().forEach((function(n){var o=r[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=t(o)),e[n]=o})),e}(t)))};var v=e(74),g=(e(76),e(68));e(51);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(t){return t.replace(/\n/gi,"<br>")}function y(t){for(var r=t,e=0,n=[b,h,m];e<n.length;e++){r=(0,n[e])(r)}return r}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=e(53),j=e(77),S=e(63),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,r){if("0"===t||0===t||isNaN(t))return null;var e=(r-t)/t;return isNaN(e)||!o()(e)?null:e},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var r=t.replace(/&#(\d+);/g,(function(t,r){return String.fromCharCode(r)})).replace(/(\\)/g,"");return i()(r)}},80:function(t,r,e){"use strict";(function(t){e.d(r,"a",(function(){return p}));var n=e(5),o=e.n(n),a=e(6),i=e.n(a),c=e(13),u=e.n(c),s=e(47),l=e(33);function f(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?f(Object(e),!0).forEach((function(r){i()(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):f(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function p(r,e,n,a){var i=Object(s.a)(e);return function(){var e=u()(o.a.mark((function e(c,u,s,f){var p,v,g,b,h,m,y,O,w,j;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b=r.activeModules,h=r.referenceSiteURL,m=r.trackingEnabled,y=r.trackingID,O=r.userIDHash,m){e.next=3;break}return e.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:y,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.48.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},e.abrupt("return",new Promise((function(t){var r,e,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),o=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:o})),(null===(r=a._gaUserPrefs)||void 0===r||null===(e=r.ioo)||void 0===e?void 0:e.call(r))&&o()})));case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,o){return e.apply(this,arguments)}}()}}).call(this,e(18))},91:function(t,r,e){"use strict";e.d(r,"a",(function(){return g})),e.d(r,"c",(function(){return h})),e.d(r,"b",(function(){return m}));var n=e(16),o=e.n(n),a=e(6),i=e.n(a),c=e(5),u=e.n(c),s=e(7),l=e.n(s),f=e(4),d=e.n(f),p=e(38),v=d.a.createRegistryControl,g=function(t){var r;l()(t,"storeName is required to create a snapshot store.");var e={},n={deleteSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var r,e,n,o,a,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=c.length>0&&void 0!==c[0]?c[0]:{},e=r.clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(o=t.sent,a=o.cacheHit,i=o.value,!a){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",a);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var r;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return r=t.sent,t.abrupt("return",r);case 4:case"end":return t.stop()}}),t)}))},a=(r={},i()(r,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(r,"CREATE_SNAPSHOT",v((function(r){return function(){return Object(p.d)("datastore::cache::".concat(t),r.stores[t].store.getState())}}))),i()(r,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),r);return{initialState:e,actions:n,controls:a,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,n=r.type,a=r.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=a.snapshot,c=(i.error,o()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1049,1,0]]]);
dist/assets/js/{googlesitekit-datastore-location-cc0660ff997d2d15b672.min.js → googlesitekit-datastore-location-cc0660ff997d2d15b672.js} RENAMED
File without changes
dist/assets/js/{googlesitekit-datastore-site-386f538ab431760840fc.min.js → googlesitekit-datastore-site-41e7382bd4ad73775716.js} RENAMED
@@ -13,4 +13,4 @@ Object(v.__)("%sK","google-site-kit"),S(O(e))):1e3<=e?Object(v.sprintf)(// trans
13
  Object(v.__)("%sK","google-site-kit"),S(O(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,o=n.style,i=void 0===o?"metric":o;return"metric"===i?h(e):"duration"===i?y(e,t):S(e,r)},w=d()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,i=l()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,p=Object.entries(i);f<p.length;f++){var d=o()(p[f],2),v=d[0],g=d[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,o=t.style,i=void 0===o?"long":o,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:i,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return e.join(s)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},69:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return L})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return x})),r.d(t,"e",(function(){return A})),r.d(t,"g",(function(){return N})),r.d(t,"f",(function(){return I}));var n,o=r(5),i=r.n(o),a=r(24),c=r.n(a),u=r(6),s=r.n(u),l=r(7),f=r.n(l),p=r(202),d=r.n(p),v=r(64),g=r.n(v),b=r(98);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),o=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=_(o);return f()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),n},h=O,j=O,w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=[].concat(t);return"function"!=typeof o[0]&&(n=o.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(e,r){return r(e,t)}),e)}},S=O,R=O,P=O,E=function(e){return e},k=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=P.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:j.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:h.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:w.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||E}))))),resolvers:S.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:R.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},L={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),_=function(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},x={actions:L,controls:D,reducer:E},A=function(e){return function(t){return U(e(t))}},U=g()((function(e){return d()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function N(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.apply(void 0,[t,r].concat(o)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.apply(void 0,[t,r].concat(o))}}))}}function I(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},697:function(e,t,r){"use strict";(function(e){var n=r(16),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(7),l=r.n(s),f=r(698),p=r.n(f),d=r(276),v=r(363),g=r(4),b=r.n(g),y=r(15),m=r(8);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=b.a.createRegistrySelector;function w(e){return j((function(t){return function(){return(t(y.c).getSiteInfo()||{})[e]}}))}var S={siteInfo:void 0,permaLink:!1},R={receiveSiteInfo:function(e){return l()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return l()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}}},P={getSiteInfo:a.a.mark((function t(){var r,n,o,i,c,u,s,l,f,p,d,v,g,m,O,h;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.a.commonActions.getRegistry();case 2:if(!t.sent.select(y.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return r=e._googlesitekitBaseData,n=r.adminURL,o=r.ampMode,i=r.homeURL,c=r.proxyPermissionsURL,u=r.proxySetupURL,s=r.referenceSiteURL,l=r.siteName,f=r.timezone,p=r.usingProxy,d=r.webStoriesActive,v=e._googlesitekitEntityData,g=v.currentEntityID,m=v.currentEntityTitle,O=v.currentEntityType,h=v.currentEntityURL,t.next=12,R.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:g,currentEntityTitle:m,currentEntityType:O,currentEntityURL:h,homeURL:i,proxyPermissionsURL:c,proxySetupURL:u,referenceSiteURL:s,siteName:l,timezone:f,usingProxy:!!p,webStoriesActive:d});case 12:case"end":return t.stop()}}),t)}))},E={getSiteInfo:function(e){return e.siteInfo},getAdminURL:j((function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e(y.c).getSiteInfo()||{},a=i.adminURL;if(void 0===a||void 0===r)return a;var c="/"===a[a.length-1]?a:"".concat(a,"/"),u=r,s="admin.php";if(-1!==r.indexOf(".php?")){var l=r.split("?");if(!(u=p.a.parse(l.pop()).page))return a;s=l.shift()}n.page;var f=o()(n,["page"]);return Object(d.a)("".concat(c).concat(s),h({page:u},f))}})),getAMPMode:w("ampMode"),getCurrentEntityID:w("currentEntityID"),getCurrentEntityTitle:w("currentEntityTitle"),getCurrentEntityType:w("currentEntityType"),getCurrentEntityURL:w("currentEntityURL"),getHomeURL:w("homeURL"),getReferenceSiteURL:w("referenceSiteURL"),getProxySetupURL:w("proxySetupURL"),getProxyPermissionsURL:w("proxyPermissionsURL"),getCurrentReferenceURL:j((function(e){return function(){var t=e(y.c).getCurrentEntityURL();return null!==t?t:e(y.c).getReferenceSiteURL()}})),isAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.a}})),isSecondaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.b}})),getTimezone:w("timezone"),isUsingProxy:w("usingProxy"),getSiteName:w("siteName"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(v.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:w("webStoriesActive"),isSiteURLMatch:j((function(e){return function(t,r){var n=e(y.c).getReferenceSiteURL();return Object(m.p)(n)===Object(m.p)(r)}})),getSiteURLPermutations:j((function(e){return function(){var t=e(y.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(m.w)(n)),n.protocol="https",r.push(Object(m.w)(n)),n.hostname="www."+n.hostname,r.push(Object(m.w)(n)),n.protocol="http",r.push(Object(m.w)(n)),r}}))};t.a={initialState:S,actions:R,controls:{},reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var n=r.siteInfo,o=n.adminURL,i=n.ampMode,a=n.currentEntityID,c=n.currentEntityTitle,u=n.currentEntityType,s=n.currentEntityURL,l=n.homeURL,f=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,v=n.siteName,g=n.timezone,b=n.usingProxy,y=n.webStoriesActive;return h(h({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:u,currentEntityURL:s,homeURL:l,proxyPermissionsURL:f,proxySetupURL:p,referenceSiteURL:d,siteName:v,timezone:g,usingProxy:b,webStoriesActive:y}});case"RECEIVE_PERMALINK_PARAM":var m=r.permaLink;return h(h({},e),{},{permaLink:m});default:return e}},resolvers:P,selectors:E}}).call(this,r(18))},70:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},o=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},74:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),o=r.n(n),i=r(1);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var a=document.createElement("span");a.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),a.appendChild(c),a.appendChild(u),t&&null===n&&t.appendChild(a),r&&null===o&&r.appendChild(a),a},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,i={},c=a(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];i[s]=f}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,r(18))},76:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},77:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return c}));var n=r(184),o=r(56),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,a=void 0!==i&&i;return Object(n.a)(e.createElement(o.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e){var t,r,n,o,i,a,c,u,s,l,f,p,d,v,g;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(o=e[0])||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.rows)||void 0===a||null===(c=a[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(p=f.data)||void 0===p||null===(d=p.totals)||void 0===d||null===(v=d[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},78:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),o=r.n(n),i=r(79),a=r(80);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=u(u({},s),t);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(o,r);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(a.a)(o,r,c,n)}}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(47),o=r(27);function i(t,r){var i,a=Object(n.a)(r);return function(){var r=e.document;if(void 0===i&&(i=!!r.querySelector("script[".concat(o.b,"]"))),!i){var n=r.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a),r.head.appendChild(n),a("js",new Date),a("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,r(18))},8:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return d})),r.d(t,"c",(function(){return v.b})),r.d(t,"j",(function(){return v.c})),r.d(t,"q",(function(){return g.c})),r.d(t,"r",(function(){return g.d})),r.d(t,"n",(function(){return g.b})),r.d(t,"i",(function(){return g.a})),r.d(t,"o",(function(){return O})),r.d(t,"d",(function(){return h})),r.d(t,"f",(function(){return j.c})),r.d(t,"t",(function(){return j.i})),r.d(t,"g",(function(){return w.b})),r.d(t,"m",(function(){return w.c})),r.d(t,"b",(function(){return w.a})),r.d(t,"l",(function(){return S.b})),r.d(t,"h",(function(){return S.a})),r.d(t,"p",(function(){return S.c})),r.d(t,"k",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"x",(function(){return E})),r.d(t,"e",(function(){return k}));var n=r(108),o=r.n(n),i=r(107),a=r.n(i),c=r(30),u=r(58),s=r(28),l=r.n(s),f=r(72),p=r.n(f),d=function(e){return p()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var o=t[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};var v=r(74),g=(r(76),r(68));r(51);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function O(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(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)]},j=r(53),w=r(77),S=r(63),R=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},P=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!o()(r)?null:r},E=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 a()(t)}},80:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return d}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(13),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(t,r,n,i){var a=Object(s.a)(r);return function(){var r=u()(o.a.mark((function r(c,u,s,f){var d,v,g,b,y,m,O,h,j,w;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,O=t.trackingID,h=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),j=null!==(d=null===(v=e._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==d?d:[],w={send_to:O,event_category:c,event_label:s,value:f,dimension1:y,dimension2:j.join(","),dimension3:h,dimension4:"1.48.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),o=function(){clearTimeout(n),e()};a("event",u,p(p({},w),{},{event_callback:o})),(null===(t=i._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&o()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,o){return r.apply(this,arguments)}}()}}).call(this,r(18))}},[[1042,1,0]]]);
13
  Object(v.__)("%sK","google-site-kit"),S(O(e),e%10==0?{}:t)):S(e,{signDisplay:"never",maximumFractionDigits:1})},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,a()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,o=n.style,i=void 0===o?"metric":o;return"metric"===i?h(e):"duration"===i?y(e,t):S(e,r)},w=d()(console.warn),S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,i=l()(t,["locale"]);try{return new Intl.NumberFormat(n,i).format(e)}catch(t){w("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(i)," ).format( ").concat(a()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,p=Object.entries(i);f<p.length;f++){var d=o()(p[f],2),v=d[0],g=d[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?P():r,o=t.style,i=void 0===o?"long":o,a=t.type,c=void 0===a?"conjunction":a;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:i,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return e.join(s)},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},69:function(e,t,r){"use strict";r.d(t,"a",(function(){return k})),r.d(t,"b",(function(){return L})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return x})),r.d(t,"e",(function(){return A})),r.d(t,"g",(function(){return N})),r.d(t,"f",(function(){return I}));var n,o=r(5),i=r.n(o),a=r(24),c=r.n(a),u=r(6),s=r.n(u),l=r(7),f=r.n(l),p=r(202),d=r.n(p),v=r(64),g=r.n(v),b=r(98);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var O=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),o=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=_(o);return f()(0===i.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(i.join(", "),". Check your data stores for duplicates.")),n},h=O,j=O,w=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=[].concat(t);return"function"!=typeof o[0]&&(n=o.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.reduce((function(e,r){return r(e,t)}),e)}},S=O,R=O,P=O,E=function(e){return e},k=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=P.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:j.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:h.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:w.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||E}))))),resolvers:S.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:R.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},L={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),_=function(e){for(var t=[],r={},n=0;n<e.length;n++){var o=e[n];r[o]=r[o]>=1?r[o]+1:1,r[o]>1&&t.push(o)}return t},x={actions:L,controls:D,reducer:E},A=function(e){return function(t){return U(e(t))}},U=g()((function(e){return d()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function N(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e.apply(void 0,[t,r].concat(o)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.apply(void 0,[t,r].concat(o))}}))}}function I(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},697:function(e,t,r){"use strict";(function(e){var n=r(16),o=r.n(n),i=r(5),a=r.n(i),c=r(6),u=r.n(c),s=r(7),l=r.n(s),f=r(698),p=r.n(f),d=r(276),v=r(363),g=r(4),b=r.n(g),y=r(15),m=r(8);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var j=b.a.createRegistrySelector;function w(e){return j((function(t){return function(){return(t(y.c).getSiteInfo()||{})[e]}}))}var S={siteInfo:void 0,permaLink:!1},R={receiveSiteInfo:function(e){return l()(e,"siteInfo is required."),{payload:{siteInfo:e},type:"RECEIVE_SITE_INFO"}},receivePermaLinkParam:function(e){return l()(e,"permaLink is required."),{payload:{permaLink:e},type:"RECEIVE_PERMALINK_PARAM"}}},P={getSiteInfo:a.a.mark((function t(){var r,n,o,i,c,u,s,l,f,p,d,v,g,m,O,h;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,b.a.commonActions.getRegistry();case 2:if(!t.sent.select(y.c).getSiteInfo()){t.next=5;break}return t.abrupt("return");case 5:if(e._googlesitekitBaseData&&e._googlesitekitEntityData){t.next=8;break}return e.console.error("Could not load core/site info."),t.abrupt("return");case 8:return r=e._googlesitekitBaseData,n=r.adminURL,o=r.ampMode,i=r.homeURL,c=r.proxyPermissionsURL,u=r.proxySetupURL,s=r.referenceSiteURL,l=r.siteName,f=r.timezone,p=r.usingProxy,d=r.webStoriesActive,v=e._googlesitekitEntityData,g=v.currentEntityID,m=v.currentEntityTitle,O=v.currentEntityType,h=v.currentEntityURL,t.next=12,R.receiveSiteInfo({adminURL:n,ampMode:o,currentEntityID:g,currentEntityTitle:m,currentEntityType:O,currentEntityURL:h,homeURL:i,proxyPermissionsURL:c,proxySetupURL:u,referenceSiteURL:s,siteName:l,timezone:f,usingProxy:!!p,webStoriesActive:d});case 12:case"end":return t.stop()}}),t)}))},E={getSiteInfo:function(e){return e.siteInfo},getAdminURL:j((function(e){return function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e(y.c).getSiteInfo()||{},a=i.adminURL;if(void 0===a||void 0===r)return a;var c="/"===a[a.length-1]?a:"".concat(a,"/"),u=r,s="admin.php";if(-1!==r.indexOf(".php?")){var l=r.split("?");if(!(u=p.a.parse(l.pop()).page))return a;s=l.shift()}n.page;var f=o()(n,["page"]);return Object(d.a)("".concat(c).concat(s),h({page:u},f))}})),getAMPMode:w("ampMode"),getCurrentEntityID:w("currentEntityID"),getCurrentEntityTitle:w("currentEntityTitle"),getCurrentEntityType:w("currentEntityType"),getCurrentEntityURL:w("currentEntityURL"),getHomeURL:w("homeURL"),getReferenceSiteURL:w("referenceSiteURL"),getProxySetupURL:w("proxySetupURL"),getProxyPermissionsURL:w("proxyPermissionsURL"),getCurrentReferenceURL:j((function(e){return function(){var t=e(y.c).getCurrentEntityURL();return null!==t?t:e(y.c).getReferenceSiteURL()}})),isAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return!!t}})),isPrimaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.a}})),isSecondaryAMP:j((function(e){return function(){var t=e(y.c).getAMPMode();if(void 0!==t)return t===y.b}})),getTimezone:w("timezone"),isUsingProxy:w("usingProxy"),getSiteName:w("siteName"),getPermaLinkParam:function(t){if(t.permaLink)return t.permaLink;var r=Object(v.a)(e.location.href,"permaLink");return r||!1},isWebStoriesActive:w("webStoriesActive"),isSiteURLMatch:j((function(e){return function(t,r){var n=e(y.c).getReferenceSiteURL();return Object(m.p)(n)===Object(m.p)(r)}})),getSiteURLPermutations:j((function(e){return function(){var t=e(y.c).getReferenceSiteURL(),r=[],n=new URL(t);return n.hostname=n.hostname.replace(/^www\./i,""),n.protocol="http",r.push(Object(m.w)(n)),n.protocol="https",r.push(Object(m.w)(n)),n.hostname="www."+n.hostname,r.push(Object(m.w)(n)),n.protocol="http",r.push(Object(m.w)(n)),r}}))};t.a={initialState:S,actions:R,controls:{},reducer:function(e,t){var r=t.payload;switch(t.type){case"RECEIVE_SITE_INFO":var n=r.siteInfo,o=n.adminURL,i=n.ampMode,a=n.currentEntityID,c=n.currentEntityTitle,u=n.currentEntityType,s=n.currentEntityURL,l=n.homeURL,f=n.proxyPermissionsURL,p=n.proxySetupURL,d=n.referenceSiteURL,v=n.siteName,g=n.timezone,b=n.usingProxy,y=n.webStoriesActive;return h(h({},e),{},{siteInfo:{adminURL:o,ampMode:i,currentEntityID:parseInt(a,10),currentEntityTitle:c,currentEntityType:u,currentEntityURL:s,homeURL:l,proxyPermissionsURL:f,proxySetupURL:p,referenceSiteURL:d,siteName:v,timezone:g,usingProxy:b,webStoriesActive:y}});case"RECEIVE_PERMALINK_PARAM":var m=r.permaLink;return h(h({},e),{},{permaLink:m});default:return e}},resolvers:P,selectors:E}}).call(this,r(18))},70:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return o})),r.d(t,"c",(function(){return i}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},o=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function i(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},74:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),o=r.n(n),i=r(1);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),o=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&o)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var a=document.createElement("span");a.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(i.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),a.appendChild(c),a.appendChild(u),t&&null===n&&t.appendChild(a),r&&null===o&&r.appendChild(a),a},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,i={},c=a(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=o()(n.value,2),s=u[0],f=u[1];i[s]=f}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,r(18))},76:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},77:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return c}));var n=r(184),o=r(56),i=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var i=r.invertColor,a=void 0!==i&&i;return Object(n.a)(e.createElement(o.a,{direction:t>0?"up":"down",invertColor:a}))},a=function(e){var t,r,n,o,i,a,c,u,s,l,f,p,d,v,g;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(o=e[0])||void 0===o||null===(i=o.data)||void 0===i||null===(a=i.rows)||void 0===a||null===(c=a[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(p=f.data)||void 0===p||null===(d=p.totals)||void 0===d||null===(v=d[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},78:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),o=r.n(n),i=r(79),a=r(80);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=u(u({},s),t);o.referenceSiteURL&&(o.referenceSiteURL=o.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(o,r);return{enableTracking:function(){o.trackingEnabled=!0},disableTracking:function(){o.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!o.trackingEnabled},trackEvent:Object(a.a)(o,r,c,n)}}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(47),o=r(27);function i(t,r){var i,a=Object(n.a)(r);return function(){var r=e.document;if(void 0===i&&(i=!!r.querySelector("script[".concat(o.b,"]"))),!i){var n=r.createElement("script");n.setAttribute(o.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(o.a),r.head.appendChild(n),a("js",new Date),a("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,r(18))},8:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return d})),r.d(t,"c",(function(){return v.b})),r.d(t,"j",(function(){return v.c})),r.d(t,"q",(function(){return g.c})),r.d(t,"r",(function(){return g.d})),r.d(t,"n",(function(){return g.b})),r.d(t,"i",(function(){return g.a})),r.d(t,"o",(function(){return O})),r.d(t,"d",(function(){return h})),r.d(t,"f",(function(){return j.c})),r.d(t,"t",(function(){return j.i})),r.d(t,"g",(function(){return w.b})),r.d(t,"m",(function(){return w.c})),r.d(t,"b",(function(){return w.a})),r.d(t,"l",(function(){return S.b})),r.d(t,"h",(function(){return S.a})),r.d(t,"p",(function(){return S.c})),r.d(t,"k",(function(){return R})),r.d(t,"a",(function(){return P})),r.d(t,"x",(function(){return E})),r.d(t,"e",(function(){return k}));var n=r(108),o=r.n(n),i=r(107),a=r.n(i),c=r(30),u=r(58),s=r(28),l=r.n(s),f=r(72),p=r.n(f),d=function(e){return p()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var o=t[n];o&&"object"===l()(o)&&!Array.isArray(o)&&(o=e(o)),r[n]=o})),r}(e)))};var v=r(74),g=(r(76),r(68));r(51);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function O(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(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)]},j=r(53),w=r(77),S=r(63),R=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},P=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!o()(r)?null:r},E=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 a()(t)}},80:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return d}));var n=r(5),o=r.n(n),i=r(6),a=r.n(i),c=r(13),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){a()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(t,r,n,i){var a=Object(s.a)(r);return function(){var r=u()(o.a.mark((function r(c,u,s,f){var d,v,g,b,y,m,O,h,j,w;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,O=t.trackingID,h=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),j=null!==(d=null===(v=e._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==d?d:[],w={send_to:O,event_category:c,event_label:s,value:f,dimension1:y,dimension2:j.join(","),dimension3:h,dimension4:"1.48.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){i.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),o=function(){clearTimeout(n),e()};a("event",u,p(p({},w),{},{event_callback:o})),(null===(t=i._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&o()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,o){return r.apply(this,arguments)}}()}}).call(this,r(18))}},[[1042,1,0]]]);
dist/assets/js/{googlesitekit-datastore-ui-6c3902738a8838c2fdb2.min.js → googlesitekit-datastore-ui-dd60c354893fb66414cb.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{1:function(t,e){t.exports=googlesitekit.i18n},1050:function(t,e,r){"use strict";r.r(e);var n=r(4),a=r.n(n),o=r(49),i=r(91),c=r(6),u=r.n(c),s=r(5),l=r.n(s),f=r(7),d=r.n(f),p=r(50),v=r.n(p),g=r(60);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var y={resetInViewHook:l.a.mark((function t(){var e,r;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:return e=t.sent,r=e.select(g.a).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",r+1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})),setValues:function(t){return d()(v()(t),"values must be an object."),{payload:{values:t},type:"SET_VALUES"}},setValue:function(t,e){return d()(t,"key is required."),{payload:{key:t,value:e},type:"SET_VALUE"}}},m={initialState:{useInViewResetCount:0},actions:y,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"SET_VALUES":var a=n.values;return h(h({},t),a);case"SET_VALUE":var o=n.key,i=n.value;return h(h({},t),{},u()({},o,i));default:return t}},resolvers:{},selectors:{getValue:function(t,e){return t[e]},getInViewResetHook:function(t){return t.useInViewResetCount}}},O=a.a.combineStores(a.a.commonStore,m,Object(i.a)(g.a),Object(o.b)());O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(g.a,O)},27:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return v}));var n=r(78),a=t._googlesitekitBaseData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,r(18))},33:function(t,e,r){"use strict";(function(t){var n,a;r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));var o=new Set((null===(n=t)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return e instanceof Set&&e.has(t)}}).call(this,r(18))},35:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return b})),r.d(e,"d",(function(){return h})),r.d(e,"a",(function(){return y})),r.d(e,"c",(function(){return m}));var n=r(5),a=r.n(n),o=r(13),i=r.n(o);r(24);function c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s,l="googlesitekit_".concat("1.48.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var e=i()(a.a.mark((function e(r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t[r]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==n.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(a.a.mark((function e(){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:r=c(d),e.prev=3,r.s();case 5:if((n=r.n()).done){e.next=15;break}if(o=n.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,p(o);case 11:if(!e.sent){e.next=13;break}s=t[o];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(a.a.mark((function t(e){var r,n,o,i,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=10;break}if(!(n=r.getItem("".concat(l).concat(e)))){t.next=10;break}if(o=JSON.parse(n),i=o.timestamp,c=o.ttl,u=o.value,s=o.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=i()(a.a.mark((function e(r,n){var o,i,c,u,s,f,d,p,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=g.length>2&&void 0!==g[2]?g[2]:{},i=o.ttl,c=void 0===i?3600:i,u=o.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=o.isError,d=void 0!==f&&f,e.next=3,v();case 3:if(!(p=e.sent)){e.next=14;break}return e.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,r){return e.apply(this,arguments)}}(),y=function(){var e=i()(a.a.mark((function e(r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=13;break}return e.prev=4,n.removeItem("".concat(l).concat(r)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=i()(a.a.mark((function e(){var r,n,o,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(r=e.sent)){e.next=14;break}for(e.prev=4,n=[],o=0;o<r.length;o++)0===(i=r.key(o)).indexOf(l)&&n.push(i.substring(l.length));return e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(18))},39:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(35),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var r=t.split("-");return 3===r.length&&Object(n.a)(new Date(t))}},4:function(t,e){t.exports=googlesitekit.data},47:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(27);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return b}));var n=r(6),a=r.n(n),o=r(28),i=r.n(o),c=r(7),u=r.n(c),s=r(72),l=r.n(s),f=r(8);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e){if(e&&Array.isArray(e)){var r=e.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(r)))}return t}var g={receiveError:function(t,e,r){return u()(t,"error is required."),e&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:e,args:r}}},clearError:function(t,e){return t&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:e}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(t,e,r){var n=t.error,a=t.errors;return e||r?(u()(e,"baseName is required."),a[v(e,r)]):n},getErrors:function(t){var e=new Set(Object.values(t.errors));return void 0!==t.error&&e.add(t.error),Array.from(e)},hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"RECEIVE_ERROR":var o=n.baseName,i=n.args,c=n.error;return p(p({},t),{},o?{errors:p(p({},t.errors||{}),{},a()({},v(o,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},51:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(2),a=function(t){return function(e){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(e,r),t)}}}},53:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return n})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return v})),r.d(e,"h",(function(){return f.a})),r.d(e,"d",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',o=r(7),i=r.n(o),c=r(35),u=function(t){var e=new Date(t);i()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(39),d=function(t){i()(Object(f.a)(t),n);var e=t.split("-"),r=l()(e,3),a=r[0],o=r[1],c=r[2];return new Date(a,o-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r=d(t);return r.setDate(r.getDate()-e),u(r)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},56:function(t,e,r){"use strict";(function(t){var n=r(0),a=r.n(n),o=r(9),i=r.n(o);function ChangeArrow(e){var r=e.direction,n=e.invertColor,a=e.width,o=e.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,r(3))},58:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return c}));var n=r(28),a=r.n(n),o=r(65),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,e)}};function c(t){var e,r="object"===a()(t)?t.toString():t;return null==r||null===(e=r.replace)||void 0===e?void 0:e.call(r,/\/+$/,"")}},60:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n="core/ui"},63:function(t,e,r){"use strict";function n(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function o(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return o}))},65:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return a}));var n=r(109),a=r.n(n)()(t)}).call(this,r(18))},68:function(t,e,r){"use strict";(function(t){r.d(e,"c",(function(){return w})),r.d(e,"d",(function(){return S})),r.d(e,"b",(function(){return E})),r.d(e,"a",(function(){return k}));var n=r(12),a=r.n(n),o=r(28),i=r.n(o),c=r(6),u=r.n(c),s=r(16),l=r.n(s),f=r(26),d=r(64),p=r.n(d),v=r(1);function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=y(t,e),n=r.formatUnit,a=r.formatDecimal;try{return n()}catch(t){return a()}},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var r=Math.floor(t/60/60),n=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:r,minutes:n,seconds:a,formatUnit:function(){var o=e.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?S(a,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(v.__)("%sK","google-site-kit"),S(m(t))):1e3<=t?Object(v.sprintf)(// trans
13
  Object(v.__)("%sK","google-site-kit"),S(m(t),t%10==0?{}:e)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var r={};if("%"===e)r={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?r={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(r=b({},e))}var n=r,a=n.style,o=void 0===a?"metric":a;return"metric"===o?O(t):"duration"===o?h(t,e):S(t,r)},j=p()(console.warn),S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,o=l()(e,["locale"]);try{return new Intl.NumberFormat(n,o).format(t)}catch(e){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(i()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(o);f<d.length;f++){var p=a()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(e){return new Intl.NumberFormat(n).format(t)}},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,a=e.style,o=void 0===a?"long":a,i=e.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:o,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,r(18))},74:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return f}));var n=r(12),a=r.n(n),o=r(1);function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===r)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(o.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(o._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),e&&null===n&&e.appendChild(i),r&&null===a&&r.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),r={},n=0;n<e.length;n++)r[e[n].split("=")[0]]=decodeURIComponent(e[n].split("=")[1]);return t?r.hasOwnProperty(t)?decodeURIComponent(r[t].replace(/\+/g," ")):"":r},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(e.href);if(t)return r.searchParams&&r.searchParams.get?r.searchParams.get(t):l(t);var n,o={},c=i(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=a()(n.value,2),s=u[0],f=u[1];o[s]=f}}catch(t){c.e(t)}finally{c.f()}return o}}).call(this,r(18))},76:function(t,e,r){"use strict";(function(t){r(44),r(45)}).call(this,r(18))},77:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return c}));var n=r(184),a=r(56),o=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var o=r.invertColor,i=void 0!==o&&o;return Object(n.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:i}))},i=function(t){var e,r,n,a,o,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(r=e.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==t||null===(a=t[0])||void 0===a||null===(o=a.data)||void 0===o||null===(i=o.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,r(3))},78:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return l}));var n=r(6),a=r.n(n),o=r(79),i=r(80);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(o.a)(a,r);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(i.a)(a,r,c,n)}}}).call(this,r(18))},79:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return o}));var n=r(47),a=r(27);function o(e,r){var o,i=Object(n.a)(r);return function(){var r=t.document;if(void 0===o&&(o=!!r.querySelector("script[".concat(a.b,"]"))),!o){var n=r.createElement("script");n.setAttribute(a.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),r.head.appendChild(n),i("js",new Date),i("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),o=!0}}}}).call(this,r(18))},8:function(t,e,r){"use strict";r.d(e,"v",(function(){return c.b})),r.d(e,"s",(function(){return u.a})),r.d(e,"w",(function(){return u.b})),r.d(e,"u",(function(){return p})),r.d(e,"c",(function(){return v.b})),r.d(e,"j",(function(){return v.c})),r.d(e,"q",(function(){return g.c})),r.d(e,"r",(function(){return g.d})),r.d(e,"n",(function(){return g.b})),r.d(e,"i",(function(){return g.a})),r.d(e,"o",(function(){return m})),r.d(e,"d",(function(){return O})),r.d(e,"f",(function(){return w.c})),r.d(e,"t",(function(){return w.i})),r.d(e,"g",(function(){return j.b})),r.d(e,"m",(function(){return j.c})),r.d(e,"b",(function(){return j.a})),r.d(e,"l",(function(){return S.b})),r.d(e,"h",(function(){return S.a})),r.d(e,"p",(function(){return S.c})),r.d(e,"k",(function(){return E})),r.d(e,"a",(function(){return k})),r.d(e,"x",(function(){return _})),r.d(e,"e",(function(){return D}));var n=r(108),a=r.n(n),o=r(107),i=r.n(o),c=r(30),u=r(58),s=r(28),l=r.n(s),f=r(72),d=r.n(f),p=function(t){return d()(JSON.stringify(function t(e){var r={};return Object.keys(e).sort().forEach((function(n){var a=e[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),r[n]=a})),r}(t)))};var v=r(74),g=(r(76),r(68));r(51);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function y(t){return t.replace(/\n/gi,"<br>")}function m(t){for(var e=t,r=0,n=[b,h,y];r<n.length;r++){e=(0,n[r])(e)}return e}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=r(53),j=r(77),S=r(63),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,e){if("0"===t||0===t||isNaN(t))return null;var r=(e-t)/t;return isNaN(r)||!a()(r)?null:r},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return i()(e)}},80:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return p}));var n=r(5),a=r.n(n),o=r(6),i=r.n(o),c=r(13),u=r.n(c),s=r(47),l=r(33);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){i()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(e,r,n,o){var i=Object(s.a)(r);return function(){var r=u()(a.a.mark((function r(c,u,s,f){var p,v,g,b,h,y,m,O,w,j;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,y=e.trackingEnabled,m=e.trackingID,O=e.userIDHash,y){r.next=3;break}return r.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:m,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.48.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(t){var e,r,n=setTimeout((function(){o.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:a})),(null===(e=o._gaUserPrefs)||void 0===e||null===(r=e.ioo)||void 0===r?void 0:r.call(e))&&a()})));case 7:case"end":return r.stop()}}),r)})));return function(t,e,n,a){return r.apply(this,arguments)}}()}}).call(this,r(18))},91:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"b",(function(){return y}));var n=r(16),a=r.n(n),o=r(6),i=r.n(o),c=r(5),u=r.n(c),s=r(7),l=r.n(s),f=r(4),d=r.n(f),p=r(38),v=d.a.createRegistryControl,g=function(t){var e;l()(t,"storeName is required to create a snapshot store.");var r={},n={deleteSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var e,r,n,a,o,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},r=e.clearAfterRestore,n=void 0===r||r,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=t.sent,o=a.cacheHit,i=a.value,!o){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",o);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)}))},o=(e={},i()(e,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(e,"CREATE_SNAPSHOT",v((function(e){return function(){return Object(p.d)("datastore::cache::".concat(t),e.stores[t].store.getState())}}))),i()(e,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),e);return{initialState:r,actions:n,controls:o,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,e=arguments.length>1?arguments[1]:void 0,n=e.type,o=e.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=o.snapshot,c=(i.error,a()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1050,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[13],{1:function(t,e){t.exports=googlesitekit.i18n},1050:function(t,e,r){"use strict";r.r(e);var n=r(4),a=r.n(n),o=r(49),i=r(91),c=r(6),u=r.n(c),s=r(5),l=r.n(s),f=r(7),d=r.n(f),p=r(50),v=r.n(p),g=r(60);function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var y={resetInViewHook:l.a.mark((function t(){var e,r;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.a.commonActions.getRegistry();case 2:return e=t.sent,r=e.select(g.a).getValue("useInViewResetCount"),t.next=6,y.setValue("useInViewResetCount",r+1);case 6:return t.abrupt("return",t.sent);case 7:case"end":return t.stop()}}),t)})),setValues:function(t){return d()(v()(t),"values must be an object."),{payload:{values:t},type:"SET_VALUES"}},setValue:function(t,e){return d()(t,"key is required."),{payload:{key:t,value:e},type:"SET_VALUE"}}},m={initialState:{useInViewResetCount:0},actions:y,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"SET_VALUES":var a=n.values;return h(h({},t),a);case"SET_VALUE":var o=n.key,i=n.value;return h(h({},t),{},u()({},o,i));default:return t}},resolvers:{},selectors:{getValue:function(t,e){return t[e]},getInViewResetHook:function(t){return t.useInViewResetCount}}},O=a.a.combineStores(a.a.commonStore,m,Object(i.a)(g.a),Object(o.b)());O.initialState,O.actions,O.controls,O.reducer,O.resolvers,O.selectors;a.a.registerStore(g.a,O)},27:function(t,e,r){"use strict";r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return a}));var n="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return v}));var n=r(78),a=t._googlesitekitBaseData||{},o=a.activeModules,i=void 0===o?[]:o,c=a.isSiteKitScreen,u=a.trackingEnabled,s={activeModules:i,trackingEnabled:u,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),v=l.trackEvent;function g(t){t?f():d()}c&&u&&p()}).call(this,r(18))},33:function(t,e,r){"use strict";(function(t){var n,a;r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i}));var o=new Set((null===(n=t)||void 0===n||null===(a=n._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;return e instanceof Set&&e.has(t)}}).call(this,r(18))},35:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(t){return t instanceof Date&&!isNaN(t)}},38:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return b})),r.d(e,"d",(function(){return h})),r.d(e,"a",(function(){return y})),r.d(e,"c",(function(){return m}));var n=r(5),a=r.n(n),o=r(13),i=r.n(o);r(24);function c(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){c=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s,l="googlesitekit_".concat("1.48.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var e=i()(a.a.mark((function e(r){var n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t[r]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,o="__storage_test__",n.setItem(o,o),n.removeItem(o),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==n.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function v(){return g.apply(this,arguments)}function g(){return(g=i()(a.a.mark((function e(){var r,n,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:r=c(d),e.prev=3,r.s();case 5:if((n=r.n()).done){e.next=15;break}if(o=n.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,p(o);case 11:if(!e.sent){e.next=13;break}s=t[o];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var t=i()(a.a.mark((function t(e){var r,n,o,i,c,u,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=10;break}if(!(n=r.getItem("".concat(l).concat(e)))){t.next=10;break}if(o=JSON.parse(n),i=o.timestamp,c=o.ttl,u=o.value,s=o.isError,!i||c&&!(Math.round(Date.now()/1e3)-i<c)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),h=function(){var e=i()(a.a.mark((function e(r,n){var o,i,c,u,s,f,d,p,g=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=g.length>2&&void 0!==g[2]?g[2]:{},i=o.ttl,c=void 0===i?3600:i,u=o.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=o.isError,d=void 0!==f&&f,e.next=3,v();case 3:if(!(p=e.sent)){e.next=14;break}return e.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,r){return e.apply(this,arguments)}}(),y=function(){var e=i()(a.a.mark((function e(r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=13;break}return e.prev=4,n.removeItem("".concat(l).concat(r)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),m=function(){var e=i()(a.a.mark((function e(){var r,n,o,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(r=e.sent)){e.next=14;break}for(e.prev=4,n=[],o=0;o<r.length;o++)0===(i=r.key(o)).indexOf(l)&&n.push(i.substring(l.length));return e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(18))},39:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(35),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e="string"==typeof t;if(!e)return!1;var r=t.split("-");return 3===r.length&&Object(n.a)(new Date(t))}},4:function(t,e){t.exports=googlesitekit.data},47:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(27);function a(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"b",(function(){return b}));var n=r(6),a=r.n(n),o=r(28),i=r.n(o),c=r(7),u=r.n(c),s=r(72),l=r.n(s),f=r(8);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function v(t,e){if(e&&Array.isArray(e)){var r=e.map((function(t){return"object"===i()(t)?Object(f.u)(t):t}));return"".concat(t,"::").concat(l()(JSON.stringify(r)))}return t}var g={receiveError:function(t,e,r){return u()(t,"error is required."),e&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:t,baseName:e,args:r}}},clearError:function(t,e){return t&&u()(e&&Array.isArray(e),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:t,args:e}}},clearErrors:function(t){return{type:"CLEAR_ERRORS",payload:{baseName:t}}}};function b(){var t={getErrorForSelector:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),t.getError(e,r,n)},getErrorForAction:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),t.getError(e,r,n)},getError:function(t,e,r){var n=t.error,a=t.errors;return e||r?(u()(e,"baseName is required."),a[v(e,r)]):n},getErrors:function(t){var e=new Set(Object.values(t.errors));return void 0!==t.error&&e.add(t.error),Array.from(e)},hasErrors:function(e){return t.getErrors(e).length>0}};return{initialState:{errors:{},error:void 0},actions:g,controls:{},reducer:function(t,e){var r=e.type,n=e.payload;switch(r){case"RECEIVE_ERROR":var o=n.baseName,i=n.args,c=n.error;return p(p({},t),{},o?{errors:p(p({},t.errors||{}),{},a()({},v(o,i),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},t);if(u){var f=v(u,s);l.errors=p({},t.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,g=p({},t);if(d)for(var b in g.errors=p({},t.errors||{}),g.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete g.errors[b];else g.errors={},g.error=void 0;return g;default:return t}},resolvers:{},selectors:t}}},51:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));var n=r(2),a=function(t){return function(e){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(e,r),t)}}}},53:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return n})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return v})),r.d(e,"h",(function(){return f.a})),r.d(e,"d",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',o=r(7),i=r.n(o),c=r(35),u=function(t){var e=new Date(t);i()(Object(c.a)(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(39),d=function(t){i()(Object(f.a)(t),n);var e=t.split("-"),r=l()(e,3),a=r[0],o=r[1],c=r[2];return new Date(a,o-1,c)},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,r=d(t);return r.setDate(r.getDate()-e),u(r)},v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split("-");return 3===e.length&&"last"===e[0]&&!Number.isNaN(e[1])&&!Number.isNaN(parseFloat(e[1]))&&"days"===e[2]};function g(t){var e=t.match(/last-(\d+)-days/);if(e&&e[1])return parseInt(e[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function h(){var t=function(t){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._n)("Last %s day","Last %s days",t,"google-site-kit"),t)};return{"last-7-days":{slug:"last-7-days",label:t(7),days:7},"last-14-days":{slug:"last-14-days",label:t(14),days:14},"last-28-days":{slug:"last-28-days",label:t(28),days:28},"last-90-days":{slug:"last-90-days",label:t(90),days:90}}}},56:function(t,e,r){"use strict";(function(t){var n=r(0),a=r.n(n),o=r(9),i=r.n(o);function ChangeArrow(e){var r=e.direction,n=e.invertColor,a=e.width,o=e.height;return t.createElement("svg",{className:i()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),width:a,height:o,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},e.a=ChangeArrow}).call(this,r(3))},58:function(t,e,r){"use strict";r.d(e,"a",(function(){return i})),r.d(e,"b",(function(){return c}));var n=r(28),a=r.n(n),o=r(65),i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:o.a.sanitize(t,e)}};function c(t){var e,r="object"===a()(t)?t.toString():t;return null==r||null===(e=r.replace)||void 0===e?void 0:e.call(r,/\/+$/,"")}},60:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n="core/ui"},63:function(t,e,r){"use strict";function n(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,e){try{return new URL(e,t).href}catch(t){}return("string"==typeof t?t:"")+("string"==typeof e?e:"")}function o(t){return"string"!=typeof t?t:t.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return a})),r.d(e,"c",(function(){return o}))},65:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return a}));var n=r(109),a=r.n(n)()(t)}).call(this,r(18))},68:function(t,e,r){"use strict";(function(t){r.d(e,"c",(function(){return w})),r.d(e,"d",(function(){return S})),r.d(e,"b",(function(){return E})),r.d(e,"a",(function(){return k}));var n=r(12),a=r.n(n),o=r(28),i=r.n(o),c=r(6),u=r.n(c),s=r(16),l=r.n(s),f=r(26),d=r(64),p=r.n(d),v=r(1);function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){u()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=y(t,e),n=r.formatUnit,a=r.formatDecimal;try{return n()}catch(t){return a()}},y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=parseInt(t,10),Number.isNaN(t)&&(t=0);var r=Math.floor(t/60/60),n=Math.floor(t/60%60),a=Math.floor(t%60);return{hours:r,minutes:n,seconds:a,formatUnit:function(){var o=e.unitDisplay,i=b(b({unitDisplay:void 0===o?"short":o},l()(e,["unitDisplay"])),{},{style:"unit"});return 0===t?S(a,b(b({},i),{},{unit:"second"})):Object(v.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(v.__)("%sK","google-site-kit"),S(m(t),t%10==0?{}:e)):S(t,{signDisplay:"never",maximumFractionDigits:1})},w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object(f.isFinite)(t)?t:Number(t),Object(f.isFinite)(t)||(console.warn("Invalid number",t,i()(t)),t=0);var r={};if("%"===e)r={style:"percent",maximumFractionDigits:2};else{if("s"===e)return h(t,{unitDisplay:"narrow"});e&&"string"==typeof e?r={style:"currency",currency:e}:Object(f.isPlainObject)(e)&&(r=b({},e))}var n=r,a=n.style,o=void 0===a?"metric":a;return"metric"===o?O(t):"duration"===o?h(t,e):S(t,r)},j=p()(console.warn),S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,o=l()(e,["locale"]);try{return new Intl.NumberFormat(n,o).format(t)}catch(e){j("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(o)," ).format( ").concat(i()(t)," )"),e.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(o);f<d.length;f++){var p=a()(d[f],2),v=p[0],g=p[1];c[v]&&g===c[v]||(u.includes(v)||(s[v]=g))}try{return new Intl.NumberFormat(n,s).format(t)}catch(e){return new Intl.NumberFormat(n).format(t)}},E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.locale,n=void 0===r?k():r,a=e.style,o=void 0===a?"long":a,i=e.type,c=void 0===i?"conjunction":i;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:o,type:c});return u.format(t)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(v.__)(", ","google-site-kit");return t.join(s)},k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=Object(f.get)(e,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return e.navigator.language}}).call(this,r(18))},74:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return s})),r.d(e,"c",(function(){return f}));var n=r(12),a=r.n(n),o=r(1);function i(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return i=t.done,t},e:function(t){u=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&a)return!1;if(e=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===e&&null===r)return!1;var i=document.createElement("span");i.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(t));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=t;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(o.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(o._n)("%d notification","%d notifications",t,"google-site-kit"),t),i.appendChild(c),i.appendChild(u),e&&null===n&&e.appendChild(i),r&&null===a&&r.appendChild(i),i},s=function(){t.localStorage&&t.localStorage.clear(),t.sessionStorage&&t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split("&"),r={},n=0;n<e.length;n++)r[e[n].split("=")[0]]=decodeURIComponent(e[n].split("=")[1]);return t?r.hasOwnProperty(t)?decodeURIComponent(r[t].replace(/\+/g," ")):"":r},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(e.href);if(t)return r.searchParams&&r.searchParams.get?r.searchParams.get(t):l(t);var n,o={},c=i(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=a()(n.value,2),s=u[0],f=u[1];o[s]=f}}catch(t){c.e(t)}finally{c.f()}return o}}).call(this,r(18))},76:function(t,e,r){"use strict";(function(t){r(44),r(45)}).call(this,r(18))},77:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return i})),r.d(e,"a",(function(){return c}));var n=r(184),a=r(56),o=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(e)))return"";var o=r.invertColor,i=void 0!==o&&o;return Object(n.a)(t.createElement(a.a,{direction:e>0?"up":"down",invertColor:i}))},i=function(t){var e,r,n,a,o,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(r=e.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==t||null===(a=t[0])||void 0===a||null===(o=a.data)||void 0===o||null===(i=o.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},c=function(t,e){return t>0&&e>0?t/e-1:t>0?1:e>0?-1:0}}).call(this,r(3))},78:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return l}));var n=r(6),a=r.n(n),o=r(79),i=r(80);function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){a()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,a=u(u({},s),e);a.referenceSiteURL&&(a.referenceSiteURL=a.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(o.a)(a,r);return{enableTracking:function(){a.trackingEnabled=!0},disableTracking:function(){a.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!a.trackingEnabled},trackEvent:Object(i.a)(a,r,c,n)}}}).call(this,r(18))},79:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return o}));var n=r(47),a=r(27);function o(e,r){var o,i=Object(n.a)(r);return function(){var r=t.document;if(void 0===o&&(o=!!r.querySelector("script[".concat(a.b,"]"))),!o){var n=r.createElement("script");n.setAttribute(a.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(e.trackingID,"&l=").concat(a.a),r.head.appendChild(n),i("js",new Date),i("config",e.trackingID,{send_page_view:e.isSiteKitScreen}),o=!0}}}}).call(this,r(18))},8:function(t,e,r){"use strict";r.d(e,"v",(function(){return c.b})),r.d(e,"s",(function(){return u.a})),r.d(e,"w",(function(){return u.b})),r.d(e,"u",(function(){return p})),r.d(e,"c",(function(){return v.b})),r.d(e,"j",(function(){return v.c})),r.d(e,"q",(function(){return g.c})),r.d(e,"r",(function(){return g.d})),r.d(e,"n",(function(){return g.b})),r.d(e,"i",(function(){return g.a})),r.d(e,"o",(function(){return m})),r.d(e,"d",(function(){return O})),r.d(e,"f",(function(){return w.c})),r.d(e,"t",(function(){return w.i})),r.d(e,"g",(function(){return j.b})),r.d(e,"m",(function(){return j.c})),r.d(e,"b",(function(){return j.a})),r.d(e,"l",(function(){return S.b})),r.d(e,"h",(function(){return S.a})),r.d(e,"p",(function(){return S.c})),r.d(e,"k",(function(){return E})),r.d(e,"a",(function(){return k})),r.d(e,"x",(function(){return _})),r.d(e,"e",(function(){return D}));var n=r(108),a=r.n(n),o=r(107),i=r.n(o),c=r(30),u=r(58),s=r(28),l=r.n(s),f=r(72),d=r.n(f),p=function(t){return d()(JSON.stringify(function t(e){var r={};return Object.keys(e).sort().forEach((function(n){var a=e[n];a&&"object"===l()(a)&&!Array.isArray(a)&&(a=t(a)),r[n]=a})),r}(t)))};var v=r(74),g=(r(76),r(68));r(51);function b(t){return t.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function h(t){return"<p>".concat(t.replace(/\n{2,}/g,"</p><p>"),"</p>")}function y(t){return t.replace(/\n/gi,"<br>")}function m(t){for(var e=t,r=0,n=[b,h,y];r<n.length;r++){e=(0,n[r])(e)}return e}var O=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},w=r(53),j=r(77),S=r(63),E=function(t){switch(t){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},k=function(t,e){if("0"===t||0===t||isNaN(t))return null;var r=(e-t)/t;return isNaN(r)||!a()(r)?null:r},_=function(t){try{return JSON.parse(t)&&!!t}catch(t){return!1}},D=function(t){if(!t)return"";var e=t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/(\\)/g,"");return i()(e)}},80:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return p}));var n=r(5),a=r.n(n),o=r(6),i=r.n(o),c=r(13),u=r.n(c),s=r(47),l=r(33);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){i()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(e,r,n,o){var i=Object(s.a)(r);return function(){var r=u()(a.a.mark((function r(c,u,s,f){var p,v,g,b,h,y,m,O,w,j;return a.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=e.activeModules,h=e.referenceSiteURL,y=e.trackingEnabled,m=e.trackingID,O=e.userIDHash,y){r.next=3;break}return r.abrupt("return");case 3:return n(),w=null!==(p=null===(v=t._googlesitekitUserData)||void 0===v||null===(g=v.user)||void 0===g?void 0:g.roles)&&void 0!==p?p:[],j={send_to:m,event_category:c,event_label:s,value:f,dimension1:h,dimension2:w.join(","),dimension3:O,dimension4:"1.48.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(t){var e,r,n=setTimeout((function(){o.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),t()}),1e3),a=function(){clearTimeout(n),t()};i("event",u,d(d({},j),{},{event_callback:a})),(null===(e=o._gaUserPrefs)||void 0===e||null===(r=e.ioo)||void 0===r?void 0:r.call(e))&&a()})));case 7:case"end":return r.stop()}}),r)})));return function(t,e,n,a){return r.apply(this,arguments)}}()}}).call(this,r(18))},91:function(t,e,r){"use strict";r.d(e,"a",(function(){return g})),r.d(e,"c",(function(){return h})),r.d(e,"b",(function(){return y}));var n=r(16),a=r.n(n),o=r(6),i=r.n(o),c=r(5),u=r.n(c),s=r(7),l=r.n(s),f=r(4),d=r.n(f),p=r(38),v=d.a.createRegistryControl,g=function(t){var e;l()(t,"storeName is required to create a snapshot store.");var r={},n={deleteSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)})),restoreSnapshot:u.a.mark((function t(){var e,r,n,a,o,i,c=arguments;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=c.length>0&&void 0!==c[0]?c[0]:{},r=e.clearAfterRestore,n=void 0===r||r,t.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(a=t.sent,o=a.cacheHit,i=a.value,!o){t.next=13;break}return t.next=10,{payload:{snapshot:i},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!n){t.next=13;break}return t.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return t.abrupt("return",o);case 14:case"end":return t.stop()}}),t)})),createSnapshot:u.a.mark((function t(){var e;return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return e=t.sent,t.abrupt("return",e);case 4:case"end":return t.stop()}}),t)}))},o=(e={},i()(e,"DELETE_SNAPSHOT",(function(){return Object(p.a)("datastore::cache::".concat(t))})),i()(e,"CREATE_SNAPSHOT",v((function(e){return function(){return Object(p.d)("datastore::cache::".concat(t),e.stores[t].store.getState())}}))),i()(e,"RESTORE_SNAPSHOT",(function(){return Object(p.b)("datastore::cache::".concat(t),3600)})),e);return{initialState:r,actions:n,controls:o,reducer:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,e=arguments.length>1?arguments[1]:void 0,n=e.type,o=e.payload;switch(n){case"SET_STATE_FROM_SNAPSHOT":var i=o.snapshot,c=(i.error,a()(i,["error"]));return c;default:return t}}}},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Object.values(t.stores).filter((function(t){return Object.keys(t.getActions()).includes("restoreSnapshot")}))},h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().createSnapshot()})))},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.a;return Promise.all(b(t).map((function(t){return t.getActions().restoreSnapshot()})))}}},[[1050,1,0]]]);
dist/assets/js/{googlesitekit-datastore-user-0e427009b456c145d158.min.js → googlesitekit-datastore-user-6c13ae5bc196094b97d9.js} RENAMED
@@ -1,4 +1,4 @@
1
- (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t,r){"use strict";r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"g",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"k",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return f})),r.d(t,"s",(function(){return d})),r.d(t,"r",(function(){return p})),r.d(t,"t",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"q",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return m})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return O})),r.d(t,"j",(function(){return S})),r.d(t,"i",(function(){return E}));var n="modules/analytics",i="account_create",a="property_create",o="profile_create",c="analyticsAccountCreate",u="analyticsSetup",s="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",f=1,d="dashboardAllTrafficWidgetDimensionName",p="dashboardAllTrafficWidgetDimensionColor",g="dashboardAllTrafficWidgetDimensionValue",v="dashboardAllTrafficWidgetActiveRowIndex",b="dashboardAllTrafficWidgetLoaded",y="legacy",m="ua",h="ga4",O="ga4-transitional",S="ua",E="ga4"},1040:function(e,t,r){"use strict";r.r(t);var n=r(4),i=r.n(n),a=r(49),o=r(5),c=r.n(o),u=r(6),s=r.n(u),l=r(32),f=r.n(l),d=r(11),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=i.a.createRegistrySelector;function y(e){return b((function(t){return function(){return(t(d.a).getAuthentication()||{})[e]}}))}var m=Object(p.a)({baseName:"getAuthentication",controlCallback:function(){return f.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return v(v({},e),{},{authentication:t})}}),h={authentication:void 0,authError:null},O={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},S={getAuthentication:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(d.a).getAuthentication()){e.next=7;break}return e.next=7,m.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},E={getAuthentication:function(e){return e.authentication},hasScope:b((function(e){return function(t,r){var n=e(d.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:y("authenticated"),getGrantedScopes:y("grantedScopes"),getRequiredScopes:y("requiredScopes"),getUnsatisfiedScopes:y("unsatisfiedScopes"),needsReauthentication:y("needsReauthentication"),getDisconnectedReason:y("disconnectedReason"),getConnectedProxyURL:y("connectedProxyURL"),getPreviousConnectedProxyURL:y("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},w=i.a.combineStores(m,{initialState:h,actions:O,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return v(v({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return v(v({},e),{},{authError:null});default:return e}},resolvers:S,selectors:E}),_=(w.initialState,w.actions,w.controls,w.reducer,w.resolvers,w.selectors,w),j=r(7),k=r.n(j),I=r(53);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={dateRange:"last-28-days",referenceDate:Object(I.e)(new Date)};var R={getDateRange:function(e){return e.dateRange},getDateRangeDates:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.compare,n=void 0!==r&&r,i=t.offsetDays,a=void 0===i?0:i,o=t.referenceDate,c=void 0===o?e.referenceDate:o,u=R.getDateRange(e),s=Object(I.f)(c,a),l=u.match("-(.*)-"),f=Number(l?l[1]:28),d=Object(I.f)(s,f-1),p={startDate:d,endDate:s};if(n){var g=Object(I.f)(d,1),v=Object(I.f)(g,f-1);p.compareStartDate=v,p.compareEndDate=g}return p},getDateRangeNumberOfDays:function(e){var t=R.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}},P={initialState:x,actions:{setDateRange:function(e){return k()(e,"Date range slug is required."),k()(Object(I.g)(e),I.a),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return k()(e,"Date string is required."),k()(Object(I.h)(e),I.b),{type:"SET_REFERENCE_DATE",payload:{dateString:e}}}},controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_DATE_RANGE":return D(D({},e),{},{dateRange:n.slug});case"SET_REFERENCE_DATE":return D(D({},e),{},{referenceDate:n.dateString});default:return e}},resolvers:{},selectors:R};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N=i.a.createRegistrySelector,U=Object(p.a)({baseName:"disconnect",controlCallback:function(){return f.a.set("core","user","disconnect")},reducerCallback:function(e,t){return C(C({},e),{},{disconnected:t})}}),L={disconnected:void 0},F={disconnect:c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U.actions.fetchDisconnect();case 2:case"end":return e.stop()}}),e)}))},q={isDoingDisconnect:N((function(e){return function(){return e(d.a).isFetchingDisconnect()}}))},V=i.a.combineStores(U,{initialState:L,actions:F,selectors:q}),M=(V.initialState,V.actions,V.controls,V.reducer,V.resolvers,V.selectors,V),G=r(69);function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=i.a.createRegistrySelector,$=i.a.commonActions.getRegistry;function W(e,t){return B(B({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var Y,J,z=Object(p.a)({baseName:"getDismissedItems",controlCallback:function(){return f.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:W}),Q=Object(p.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return f.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:W,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;k()(t,"slug is required."),k()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),Z={dismissedItems:void 0},X={dismissItem:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;k()(e,"A tour slug is required to dismiss a tour."),k()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),c.a.mark((function e(t){var r,n,i,a=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},n=r.expiresInSeconds,i=void 0===n?0:n,e.next=4,Q.actions.fetchDismissItem(t,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},ee={getDismissedItems:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedItems()){e.next=8;break}return e.next=8,z.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},te={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:K((function(e){return function(t,r){var n;return null===(n=e(d.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:K((function(e){return function(t,r){return e(d.a).isFetchingDismissItem(r)}}))},re=i.a.combineStores({initialState:Z,actions:X,resolvers:ee,selectors:te},Q,z),ne={actions:re.actions,controls:re.controls,initialState:re.initialState,reducer:re.reducer,resolvers:re.resolvers,selectors:re.selectors},ie=r(13),ae=r.n(ie),oe=r(699),ce=r.n(oe),ue=r(1),se=r(22),le=r(60),fe=r(19),de=r(10),pe={slug:"helpVisibility",contexts:[se.g,se.k],version:"1.29.0",gaEventCategory:function(e){return"".concat(e,"_headerbar_helpmenu")},steps:[{target:".googlesitekit-help-menu",title:Object(ue.__)("Need help?","google-site-kit"),content:Object(ue.__)("Access the Site Kit docs or ask a question in our support forum from here.","google-site-kit"),placement:"bottom-start"}]},ge=r(700),ve=r(37),be={slug:"ideaHubPostsTable",contexts:[se.l],version:"1.43.0",gaEventCategory:ve.i,checkRequirements:(Y=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.querySelector(".googlesitekit-idea-hub__post")){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,t.__experimentalResolveSelect(fe.a).getModules();case 4:return e.abrupt("return",t.select(fe.a).isModuleConnected("idea-hub"));case 5:case"end":return e.stop()}}),e)}))),function(e){return Y.apply(this,arguments)}),steps:[{target:".googlesitekit-idea-hub__post",title:Object(ue.__)("Get started writing about your saved ideas","google-site-kit"),content:Object(ue.__)("Drafts you created from Idea Hub within Site Kit appear here for easy access.","google-site-kit")}]},ye=[{slug:"allTrafficWidget",contexts:[se.g],version:"1.25.0",gaEventCategory:"".concat(se.g,"_all-traffic-widget"),checkRequirements:function(){var e=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(fe.a).getModules();case 2:if(t.select(fe.a).isModuleConnected("analytics")){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,new Promise((function(e){setTimeout((function r(){t.select(le.a).getValue(de.q)?e():setTimeout(r,250)}),250)}));case 6:return e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),steps:[{target:".googlesitekit-widget--analyticsAllTraffic__totals",title:Object(ue.__)("It’s now easier to see your site’s traffic at a glance","google-site-kit"),content:Object(ue.__)("Check the trend graph to see how your traffic changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-widget--analyticsAllTraffic__dimensions",title:Object(ue.__)("See where your visitors come from","google-site-kit"),content:Object(ue.__)("Click on the chart slices to see how each segment has changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-header__date-range-selector-menu",title:Object(ue.__)("Check how your traffic changed since you last looked","google-site-kit"),content:Object(ue.__)("Select a time frame to see the comparison with the previous time period","google-site-kit")}]},pe,ge.a,be],me=r(38);function he(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oe(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var we,_e=i.a.createRegistrySelector,je=i.a.createRegistryControl,ke=i.a.commonActions.getRegistry,Ie=Object(p.a)({baseName:"getDismissedTours",controlCallback:function(){return f.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})}}),Te=Object(p.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return f.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})},argsToParams:function(e){return{slug:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug;k()(t,"slug is required.")}}),De={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:ye,viewTours:{}},xe={dismissTour:Object(G.f)((function(e){k()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:if(r=e.sent,!(n=r.select)(d.a).isFetchingDismissTour(t)){e.next=7;break}return i=n(d.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:i,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,Ne.setLastDismissedAt(Date.now());case 11:return e.next=13,Te.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return k()(Array.isArray(e),"viewTours must be an array."),k()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return k()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return k()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(G.f)((function(e){k()(e,"A timestamp is required.")}),c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"CACHE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 2:return e.next=4,{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 4:case"end":return e.stop()}}),e)})))},Re=(J={},s()(J,"CHECK_TOUR_REQUIREMENTS",je((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,i=n.tour,a=n.viewContext,i.contexts.includes(a)){t.next=4;break}return t.abrupt("return",!1);case 4:if(o=e.select(d.a).getInitialSiteKitVersion()){t.next=9;break}return t.abrupt("return",!1);case 9:if(!ce.a.compare(o,i.version,">=")){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,e.__experimentalResolveSelect(d.a).getDismissedFeatureTourSlugs();case 13:if(!e.select(d.a).isTourDismissed(i.slug)){t.next=15;break}return t.abrupt("return",!1);case 15:if(!i.checkRequirements){t.next=19;break}return t.next=18,i.checkRequirements(e);case 18:return t.abrupt("return",!!t.sent);case 19:return t.abrupt("return",!0);case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),s()(J,"CACHE_LAST_DISMISSED_AT",(we=ae()(c.a.mark((function e(t){var r,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.timestamp,e.next=4,Object(me.d)("feature_tour_last_dismissed_at",n,{ttl:7200});case 4:case"end":return e.stop()}}),e)}))),function(e){return we.apply(this,arguments)})),J),Pe={getDismissedFeatureTourSlugs:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,Ie.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),getFeatureToursForView:c.a.mark((function e(t){var r,n,i,a,o,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:r=e.sent,n=r.select(d.a).getAllFeatureTours(),i=[],a=he(n),e.prev=6,a.s();case 8:if((o=a.n()).done){e.next=16;break}return u=o.value,e.next=12,{payload:{tour:u,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 12:e.sent&&i.push(u);case 14:e.next=8;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),a.e(e.t0);case 21:return e.prev=21,a.f(),e.finish(21);case 24:return e.next=26,Ne.receiveFeatureToursForView(i,{viewContext:t});case 26:case"end":return e.stop()}}),e,null,[[6,18,21,24]])})),getLastDismissedAt:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.await(Object(me.b)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,Ne.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},Ae={getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getFeatureToursForView:function(e,t){return e.viewTours[t]},getAllFeatureTours:function(e){return e.tours},isTourDismissed:_e((function(e){return function(t,r){var n=e(d.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:_e((function(e){return function(){var t=e(d.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},Ce=i.a.combineStores({initialState:De,actions:xe,controls:Re,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var i=n.slug,a=e.dismissedTourSlugs,o=void 0===a?[]:a;return o.includes(i)?e:Ee(Ee({},e),{},{dismissedTourSlugs:o.concat(i)});case"RECEIVE_READY_TOURS":var c=n.viewContext,u=n.viewTours;return Ee(Ee({},e),{},{viewTours:Ee(Ee({},e.viewTours),{},s()({},c,u))});case"RECEIVE_TOURS":return Ee(Ee({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return Ee(Ee({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:Pe,selectors:Ae},Te,Ie),Ne=Ce.actions,Ue=Ce.controls,Le=Ce.initialState,Fe=Ce.reducer,qe=Ce.resolvers,Ve=Ce.selectors,Me={actions:Ne,controls:Ue,initialState:Le,reducer:Fe,resolvers:qe,selectors:Ve},Ge=r(340),He=Object(Ge.a)("core","user","notifications",{server:!1}),Be=r(704),Ke=r(50),$e=r.n(Ke),We=r(387);function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ze=i.a.createRegistrySelector,Qe=Object(p.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return f.a.set("core","user","survey-trigger",{triggerID:t})},argsToParams:function(e){return{triggerID:e}},reducerCallback:function(e,t){var r=t.survey_payload,n=t.session;return et.getCurrentSurvey(e)?e:Je(Je({},e),{},{currentSurvey:r,currentSurveySession:n})},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;k()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),Ze=Object(p.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return f.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),Xe={triggerSurvey:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ttl,n=void 0===r?0:r;k()("string"==typeof e&&e.length,"triggerID is required and must be a string"),k()($e()(t),"options must be an object"),k()("number"==typeof n,"options.ttl must be a number")}),c.a.mark((function e(t){var r,n,a,o,u,s,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=r.ttl,a=void 0===n?0:n,e.next=4,i.a.commonActions.getRegistry();case 4:if(o=e.sent,!(0,o.select)(d.a).getCurrentSurvey()){e.next=8;break}return e.abrupt("return",{});case 8:return u=Object(We.a)("core","user","survey-trigger",{triggerID:t}),e.next=11,i.a.commonActions.await(Object(me.b)(u));case 11:if(s=e.sent,!1!==s.cacheHit){e.next=22;break}return e.next=16,Qe.actions.fetchTriggerSurvey(t);case 16:if(l=e.sent,f=l.response,!(p=l.error)){e.next=21;break}return e.abrupt("return",{response:f,error:p});case 21:a>0&&setTimeout(ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(me.d)(u,{},{ttl:a});case 2:case"end":return e.stop()}}),e)}))),3e4);case 22:return e.abrupt("return",{response:{},error:!1});case 23:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k()("string"==typeof e&&e.length,"eventID is required and must be a string"),k()($e()(t),"eventData must be an object")}),c.a.mark((function e(t){var r,n,a,o,u,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=s()({},t,r),e.next=4,i.a.commonActions.getRegistry();case 4:if(a=e.sent,o=a.select,!(u=o(d.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,Ze.actions.fetchSendSurveyEvent(n,u);case 10:return l=e.sent,f=l.response,p=l.error,e.abrupt("return",{response:f,error:p});case 14:case"end":return e.stop()}}),e)})))},et={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}}))},tt=i.a.combineStores(Qe,Ze,{initialState:{currentSurvey:null,currentSurveySession:null},actions:Xe,selectors:et}),rt=(tt.initialState,tt.actions,tt.selectors,tt);function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var at,ot=a.a.receiveError,ct=a.a.clearError,ut=function(e,t){return it(it({},e),{},{tracking:t})},st=Object(p.a)({baseName:"getTracking",controlCallback:function(){return f.a.get("core","user","tracking")},reducerCallback:ut}),lt=Object(p.a)({baseName:"setTracking",controlCallback:function(e){return f.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:ut,argsToParams:function(e){return e}}),ft={tracking:void 0,isSavingTrackingEnabled:!1},dt={setTrackingEnabled:c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ct("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,lt.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(i=r.error)){e.next=12;break}return e.next=12,ot(i,"setTrackingEnabled",[t]);case 12:return e.next=14,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!1}};case 14:return e.abrupt("return",{response:n,error:i});case 15:case"end":return e.stop()}}),e)}))},pt={isTrackingEnabled:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(d.a).isTrackingEnabled()){e.next=7;break}return e.next=7,st.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},gt=i.a.combineStores(st,lt,{initialState:ft,actions:dt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return it(it({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:pt,selectors:{isSavingTrackingEnabled:function(e){return!!(null==e?void 0:e.isSavingTrackingEnabled)},isTrackingEnabled:function(e){var t=e.tracking;return null==t?void 0:t.enabled}}}),vt=(gt.initialState,gt.actions,gt.controls,gt.reducer,gt.resolvers,gt.selectors,gt),bt=r(705);function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ht=i.a.commonActions,Ot=i.a.createRegistryControl,St=i.a.createRegistrySelector,Et=a.a.receiveError,wt=a.a.clearError;function _t(e,t){return mt(mt({},e),{},{inputSettings:t})}var jt,kt=Object(p.a)({baseName:"getUserInputSettings",controlCallback:(jt=ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f.a.get("core","user","user-input-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)}))),function(){return jt.apply(this,arguments)}),reducerCallback:_t}),It=Object(p.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return f.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:_t,argsToParams:function(e){return e},validateParams:function(e){k()($e()(e),"valid settings are required.")}}),Tt={inputSettings:void 0,isSavingInputSettings:!1},Dt={setUserInputSettingsFromCache:c.a.mark((function e(){var t,r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"GET_CACHED_USER_INPUT_SETTINGS",payload:{}};case 2:if(!(t=e.sent).cacheHit){e.next=12;break}r=0,n=Object.keys(t.value);case 5:if(!(r<n.length)){e.next=12;break}return i=n[r],e.next=9,Dt.setUserInputSetting(i,t.value[i].values);case 9:r++,e.next=5;break;case 12:return e.abrupt("return",t.cacheHit?t.value:{});case 13:case"end":return e.stop()}}),e)})),setUserInputSetting:c.a.mark((function e(t,r){var n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(n=e.sent,a=r.map((function(e){return e.trim()})),"completed"===n.select(d.a).getUserInputState()){e.next=7;break}return e.next=7,{type:"SET_CACHED_USER_INPUT_SETTING",payload:{settingID:t,values:a}};case 7:return e.abrupt("return",{type:"SET_USER_INPUT_SETTING",payload:{settingID:t,values:a}});case 8:case"end":return e.stop()}}),e)})),saveUserInputSettings:c.a.mark((function e(){var t,r,n,a,o,u,l,f;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,wt("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},a=t.select(d.a).getUserInputSettings(),o=Object.keys(a).reduce((function(e,t){var i;return mt(mt({},e),{},s()({},t,((null===(i=a[t])||void 0===i?void 0:i.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,It.actions.fetchSaveUserInputSettings(o);case 13:if(u=e.sent,l=u.response,!(f=u.error)){e.next=19;break}return e.next=19,Et(f,"saveUserInputSettings",[]);case 19:return e.next=21,{type:"DELETE_CACHED_USER_INPUT_SETTINGS",payload:{}};case 21:return e.next=23,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!1}};case 23:return e.abrupt("return",{response:l,error:f});case 24:case"end":return e.stop()}}),e)}))},xt=(at={},s()(at,"DELETE_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.a)("userInputSettings")})),s()(at,"GET_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.b)("userInputSettings")})),s()(at,"SET_CACHED_USER_INPUT_SETTING",Ot((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,i=n.settingID,a=n.values,(o=e.select(d.a).getUserInputSettings()||{})[i]={values:a},t.abrupt("return",Object(me.d)("userInputSettings",o));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),at),Rt={getUserInputSettings:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ht.getRegistry();case 2:if(t=e.sent,(r=t.select)(d.a).getUserInputSettings()){e.next=7;break}return e.next=7,kt.actions.fetchGetUserInputSettings();case 7:if("completed"===r(d.a).getUserInputState()){e.next=10;break}return e.next=10,Dt.setUserInputSettingsFromCache();case 10:case"end":return e.stop()}}),e)}))},Pt={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:St((function(e){return function(t,r){var n,i=null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(i)?i:[]}})),getUserInputSettingScope:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}}))},At=i.a.combineStores(kt,It,{initialState:Tt,actions:Dt,controls:xt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return mt(mt({},e),{},{inputSettings:mt(mt({},e.inputSettings),{},s()({},n.settingID,mt(mt({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return mt(mt({},e),{},{isSavingInputSettings:n.isSaving});default:return e}},resolvers:Rt,selectors:Pt}),Ct=(At.initialState,At.actions,At.controls,At.reducer,At.resolvers,At.selectors,At),Nt=i.a.combineStores(i.a.commonStore,Object(a.b)(),_,P,M,ne,Me,He,Be.a,rt,vt,bt.a,Ct);Nt.initialState,Nt.actions,Nt.controls,Nt.reducer,Nt.resolvers,Nt.selectors;i.a.registerStore(d.a,Nt)},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"c",(function(){return c}));var n="core/user",i="connected_url_mismatch",a="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},216:function(e,t,r){"use strict";(function(e){var n=r(48),i=r.n(n),a=r(217),o=e._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;i.a.nonceEndpoint=u,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(l),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,r(18))},217:function(e,t,r){"use strict";var n=r(209);t.a=function(e){var t=Object.keys(e).reduce((function(t,r){return t[Object(n.getStablePath)(r)]=e[r],t}),{}),r=!1;return function(e,i){if(r)return i(e);setTimeout((function(){r=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var u,s=(null===(u=e.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(n.getStablePath)(c);if(o&&"GET"===s&&t[l]){var f=Promise.resolve(t[l].body);return delete t[l],f}if("OPTIONS"===s&&t[s]&&t[s][l]){var d=Promise.resolve(t[s][l]);return delete t[s][l],d}}return i(e)}}},22:function(e,t,r){"use strict";r.d(t,"g",(function(){return n})),r.d(t,"k",(function(){return i})),r.d(t,"l",(function(){return a})),r.d(t,"n",(function(){return o})),r.d(t,"e",(function(){return c})),r.d(t,"h",(function(){return u})),r.d(t,"f",(function(){return s})),r.d(t,"m",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"o",(function(){return d})),r.d(t,"j",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"a",(function(){return v})),r.d(t,"c",(function(){return b})),r.d(t,"b",(function(){return y}));var n="dashboard",i="pageDashboard",a="postsList",o="userInput",c="activation",u="splash",s="adminBar",l="settings",f="module",d="wpDashboard",p="moduleSetup",g="traffic",v="content",b="speed",y="monetization"},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},30:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return g}));var n=r(78),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,u=i.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),g=l.trackEvent;function v(e){e?f():d()}c&&u&&p()}).call(this,r(18))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var a=new Set((null===(n=e)||void 0===n||null===(i=n._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,r(18))},340:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(32),l=r.n(s),f=r(4),d=r.n(f),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.client,s=void 0===c||c,f=a.server,g=void 0===f||f,b=a.storeName,y=void 0===b?void 0:b;u()(t,"type is required."),u()(r,"identifier is required."),u()(n,"datapoint is required.");var m=y||"".concat(t,"/").concat(r),h={serverNotifications:g?void 0:{},clientNotifications:s?void 0:{}},O=Object(p.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return v(v({},e),{},{serverNotifications:t.reduce((function(e,t){return v(v({},e),{},o()({},t.id,t))}),{})})}}),S={addNotification:function(e){return u()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return u()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var a=i.notification;return v(v({},t),{},{clientNotifications:v(v({},t.clientNotifications||{}),{},o()({},a.id,a))});case"REMOVE_NOTIFICATION":var c=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var u=v({},t.clientNotifications);return delete u[c],v(v({},t),{},{clientNotifications:u});default:return t}},_={getNotifications:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};g||delete _.getNotifications;var j={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(v(v({},t||{}),r||{}))}},k=d.a.combineStores(O,{initialState:h,actions:S,controls:E,reducer:w,resolvers:_,selectors:j});return v(v({},k),{},{STORE_NAME:m})}}).call(this,r(18))},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},37:function(e,t,r){"use strict";r.d(t,"p",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"h",(function(){return o})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return u})),r.d(t,"e",(function(){return s})),r.d(t,"l",(function(){return l})),r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"j",(function(){return g})),r.d(t,"k",(function(){return v})),r.d(t,"i",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return m})),r.d(t,"m",(function(){return h}));var n=r(22),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",u="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",l=5,f="IDEA_HUB_ACTIVITY_CREATING_DRAFT",d="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_PROCESSING",g="".concat(n.g,"_idea-hub-widget"),v="".concat(n.o,"_idea-hub-saved-ideas-notification"),b="".concat(n.l,"_idea-hub"),y="new-ideas",m="saved-ideas",h="draft-ideas"},38:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return b})),r.d(t,"d",(function(){return y})),r.d(t,"a",(function(){return m})),r.d(t,"c",(function(){return h}));var n=r(5),i=r.n(n),a=r(13),o=r.n(a);r(24);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s,l="googlesitekit_".concat("1.48.0","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var t=o()(i.a.mark((function t(r){var n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",n.setItem(a,a),n.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function g(){return v.apply(this,arguments)}function v(){return(v=o()(i.a.mark((function t(){var r,n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:r=c(d),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(a=n.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}s=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(i.a.mark((function e(t){var r,n,a,o,c,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(l).concat(t)))){e.next=10;break}if(a=JSON.parse(n),o=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var t=o()(i.a.mark((function t(r,n){var a,o,c,u,s,f,d,p,v=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=v.length>2&&void 0!==v[2]?v[2]:{},o=a.ttl,c=void 0===o?3600:o,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,t.next=3,g();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),m=function(){var t=o()(i.a.mark((function t(r){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(n=t.sent)){t.next=13;break}return t.prev=4,n.removeItem("".concat(l).concat(r)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=o()(i.a.mark((function t(){var r,n,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],a=0;a<r.length;a++)0===(o=r.key(a)).indexOf(l)&&n.push(o.substring(l.length));return t.abrupt("return",n);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,r(18))},387:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y}));var n=r(5),i=r.n(n),a=r(13),o=r.n(a),c=r(7),u=r.n(c),s=r(216),l=r(276),f=r(38),d=r(8),p=r(89),g=r(428),v=r(11),b=!0,y=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=[e,t,r].filter((function(e){return!!e&&e.length}));return 3===i.length&&n&&n.constructor===Object&&Object.keys(n).length&&i.push(Object(d.u)(n)),i.join("::")},m=function(t){var r,n,i,a,o=null===(r=e.googlesitekit)||void 0===r||null===(n=r.data)||void 0===n||null===(i=n.dispatch)||void 0===i?void 0:i.call(n,v.a);o&&(t.code===p.a?o.setPermissionScopeError(t):(null===(a=t.data)||void 0===a?void 0:a.reconnectURL)&&o.setAuthError(t))},h=function(){var t=o()(i.a.mark((function t(r,n,a){var o,c,d,p,v,b,h,O,S,w,_,j,k,I,T,D,x,R=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=R.length>3&&void 0!==R[3]?R[3]:{},c=o.bodyParams,d=o.cacheTTL,p=void 0===d?3600:d,v=o.method,b=void 0===v?"GET":v,h=o.queryParams,O=o.useCache,S=void 0===O?void 0:O,w=o.signal,u()(r,"`type` argument for requests is required."),u()(n,"`identifier` argument for requests is required."),u()(a,"`datapoint` argument for requests is required."),_="GET"===b&&(void 0!==S?S:E()),j=y(r,n,a,h),!_){t.next=18;break}return t.next=9,Object(f.b)(j);case 9:if(k=t.sent,I=k.cacheHit,T=k.value,!k.isError){t.next=16;break}throw m(T),T;case 16:if(!I){t.next=18;break}return t.abrupt("return",T);case 18:return t.prev=18,t.next=21,Object(s.default)({data:c,method:b,signal:w,path:Object(l.a)("/google-site-kit/v1/".concat(r,"/").concat(n,"/data/").concat(a),h)});case 21:if(D=t.sent,!_){t.next=25;break}return t.next=25,Object(f.d)(j,D,{ttl:p});case 25:return t.abrupt("return",D);case 28:if(t.prev=28,t.t0=t.catch(18),!(null===t.t0||void 0===t.t0||null===(x=t.t0.data)||void 0===x?void 0:x.cacheTTL)){t.next=33;break}return t.next=33,Object(f.d)(j,t.t0,{ttl:t.t0.data.cacheTTL,isError:!0});case 33:throw Object(g.a)({method:b,datapoint:a,type:r,identifier:n,error:t.t0}),m(t.t0),e.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(a),"type:".concat(r),"identifier:".concat(n),'error:"'.concat(t.t0.message,'"')),t.t0;case 37:case"end":return t.stop()}}),t,null,[[18,28]])})));return function(e,r,n){return t.apply(this,arguments)}}(),O=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,e.abrupt("return",h(t,r,n,{cacheTTL:u,queryParams:a,useCache:l,signal:f}));case 2:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),S=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,e.next=3,h(t,r,n,{bodyParams:{data:a},method:u,queryParams:l,useCache:!1});case 3:return f=e.sent,e.next=6,w(t,r,n);case 6:return e.abrupt("return",f);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),E=function(){return b},w=function(){var e=o()(i.a.mark((function e(t,r,n){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=y(t,r,n),e.next=3,Object(f.c)();case 3:e.sent.forEach((function(e){0===e.indexOf(a)&&Object(f.a)(e)}));case 5:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}(),_={invalidateCache:w,get:O,set:S,setUsingCache:function(e){return b=!!e},usingCache:E};t.b=_}).call(this,r(18))},39:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(35),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var r=e.split("-");return 3===r.length&&Object(n.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},428:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(5),i=r.n(n),a=r(13),o=r.n(a),c=r(8),u=["fetch_error"];function s(e){return l.apply(this,arguments)}function l(){return(l=o()(i.a.mark((function e(t){var r,n,a,o,s,l,f,d;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.method,o=t.type,s=t.identifier,l=t.datapoint,(f=t.error)&&!u.includes(null==f?void 0:f.code)){e.next=3;break}return e.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(r=f.data)||void 0===r?void 0:r.reason)&&(d+=", reason: ".concat(f.data.reason)),e.next=7,Object(c.v)("api_error","".concat(a,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(n=f.data)||void 0===n?void 0:n.status)||f.code);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},43:function(e,t,r){"use strict";r.d(t,"a",(function(){return S}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(50),l=r.n(s),f=r(49),d=r(70),p=r(8);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(e){return e},y=function(){return{}},m=function(){},h=f.a.clearError,O=f.a.receiveError,S=function(e){var t,r,n=i.a.mark(N),a=e.baseName,c=e.controlCallback,s=e.reducerCallback,f=void 0===s?b:s,g=e.argsToParams,S=void 0===g?y:g,E=e.validateParams,w=void 0===E?m:E;u()(a,"baseName is required."),u()("function"==typeof c,"controlCallback is required and must be a function."),u()("function"==typeof f,"reducerCallback must be a function."),u()("function"==typeof S,"argsToParams must be a function."),u()("function"==typeof w,"validateParams must be a function.");try{w(S()),r=!1}catch(e){r=!0}var _=Object(d.b)(a),j=Object(d.a)(a),k="FETCH_".concat(j),I="START_".concat(k),T="FINISH_".concat(k),D="CATCH_".concat(k),x="RECEIVE_".concat(j),R="fetch".concat(_),P="receive".concat(_),A="isFetching".concat(_),C=o()({},A,{});function N(e,t){var r,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:I};case 2:return n.next=4,h(a,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:k};case 7:return r=n.sent,n.next=10,U[P](r,e);case 10:return n.next=12,{payload:{params:e},type:T};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,O(o,a,t);case 19:return n.next=21,O(o);case 21:return n.next=23,{payload:{params:e},type:D};case 23:return n.abrupt("return",{response:r,error:o});case 24:case"end":return n.stop()}}),n,null,[[4,14]])}var U=(t={},o()(t,R,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return w(n),N(n,t)})),o()(t,P,(function(e,t){return u()(void 0!==e,"response is required."),r?(u()(l()(t),"params is required."),w(t)):t={},{payload:{response:e,params:t},type:x}})),t),L=o()({},k,(function(e){var t=e.payload;return c(t.params)})),F=o()({},A,(function(e){if(void 0===e[A])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t=S.apply(void 0,n),w(t)}catch(e){return!1}return!!e[A][Object(p.u)(t)]}));return{initialState:C,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case I:var i=n.params;return v(v({},e),{},o()({},A,v(v({},e[A]),{},o()({},Object(p.u)(i),!0))));case x:var a=n.response,c=n.params;return f(e,a,c);case T:var u=n.params;return v(v({},e),{},o()({},A,v(v({},e[A]),{},o()({},Object(p.u)(u),!1))));case D:var s=n.params;return v(v({},e),{},o()({},A,v(v({},e[A]),{},o()({},Object(p.u)(s),!1))));default:return e}},resolvers:{},selectors:F}}},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(27);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return b}));var n=r(6),i=r.n(n),a=r(28),o=r.n(a),c=r(7),u=r.n(c),s=r(72),l=r.n(s),f=r(8);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(f.u)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(r)))}return e}var v={receiveError:function(e,t,r){return u()(e,"error is required."),t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e,t){return e&&u()(t&&Array.isArray(t),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function b(){var e={getErrorForSelector:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),e.getError(t,r,n)},getErrorForAction:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),e.getError(t,r,n)},getError:function(e,t,r){var n=e.error,i=e.errors;return t||r?(u()(t,"baseName is required."),i[g(t,r)]):n},getErrors:function(e){var t=new Set(Object.values(e.errors));return void 0!==e.error&&t.add(e.error),Array.from(t)},hasErrors:function(t){return e.getErrors(t).length>0}};return{initialState:{errors:{},error:void 0},actions:v,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var a=n.baseName,o=n.args,c=n.error;return p(p({},e),{},a?{errors:p(p({},e.errors||{}),{},i()({},g(a,o),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},e);if(u){var f=g(u,s);l.errors=p({},e.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,v=p({},e);if(d)for(var b in v.errors=p({},e.errors||{}),v.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete v.errors[b];else v.errors={},v.error=void 0;return v;default:return e}},resolvers:{},selectors:e}}},51:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2),i=function(e){return function(t){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(t,r),e)}}}},53:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return n})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return p})),r.d(t,"g",(function(){return g})),r.d(t,"h",(function(){return f.a})),r.d(t,"d",(function(){return v})),r.d(t,"c",(function(){return y})),r.d(t,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=r(7),o=r.n(a),c=r(35),u=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(t.getMonth()+1),n="".concat(t.getDate());return[t.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(39),d=function(e){o()(Object(f.a)(e),n);var t=e.split("-"),r=l()(t,3),i=r[0],a=r[1],c=r[2];return new Date(i,a-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=d(e);return r.setDate(r.getDate()-t),u(r)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function v(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function y(){var e=function(e){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._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}}}},56:function(e,t,r){"use strict";(function(e){var n=r(0),i=r.n(n),a=r(9),o=r.n(a);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),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,r(3))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(28),i=r.n(n),a=r(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},60:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/ui"},63:function(e,t,r){"use strict";function n(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}))},65:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(109),i=r.n(n)()(e)}).call(this,r(18))},68:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return S})),r.d(t,"d",(function(){return w})),r.d(t,"b",(function(){return _})),r.d(t,"a",(function(){return j}));var n=r(12),i=r.n(n),a=r(28),o=r.n(a),c=r(6),u=r.n(c),s=r(16),l=r.n(s),f=r(26),d=r(64),p=r.n(d),g=r(1);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var r=Math.floor(e/60/60),n=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:r,minutes:n,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=b(b({unitDisplay:void 0===a?"short":a},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,b(b({},o),{},{unit:"second"})):Object(g.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -13,4 +13,4 @@ Object(g.__)("%sK","google-site-kit"),w(h(e))):1e3<=e?Object(g.sprintf)(// trans
13
  Object(g.__)("%sK","google-site-kit"),w(h(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,i=n.style,a=void 0===i?"metric":i;return"metric"===a?O(e):"duration"===a?y(e,t):w(e,r)},E=p()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,a=l()(t,["locale"]);try{return new Intl.NumberFormat(n,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=i()(d[f],2),g=p[0],v=p[1];c[g]&&v===c[g]||(u.includes(g)||(s[g]=v))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(g.__)(", ","google-site-kit");return e.join(s)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},69:function(e,t,r){"use strict";r.d(t,"a",(function(){return I})),r.d(t,"b",(function(){return T})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return R})),r.d(t,"e",(function(){return P})),r.d(t,"g",(function(){return C})),r.d(t,"f",(function(){return N}));var n,i=r(5),a=r.n(i),o=r(24),c=r.n(o),u=r(6),s=r.n(u),l=r(7),f=r.n(l),d=r(202),p=r.n(d),g=r(64),v=r.n(g),b=r(98);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=x(i);return f()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),n},O=h,S=h,E=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},w=h,_=h,j=h,k=function(e){return e},I=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=j.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:S.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:w.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:_.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},T={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),x=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},R={actions:T,controls:D,reducer:k},P=function(e){return function(t){return A(e(t))}},A=v()((function(e){return p()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function C(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return e.apply(void 0,[t,r].concat(i)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];e.apply(void 0,[t,r].concat(i))}}))}}function N(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},70:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},700:function(e,t,r){"use strict";(function(e){var n,i=r(5),a=r.n(i),o=r(13),c=r.n(o),u=r(29),s=r(1),l=r(22),f=r(19),d=r(37),p={slug:"ideaHubModule",contexts:[l.g],version:"1.43.0",checkRequirements:(n=c()(a.a.mark((function e(t){var r,n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(f.a).getModules();case 2:if(r=t.select(f.a).isModuleActive("idea-hub"),n=t.select(f.a).isModuleConnected("idea-hub"),r&&n){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,t.__experimentalResolveSelect(d.p).getNewIdeas();case 8:return i=e.sent,e.abrupt("return",!!i.length);case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),steps:[{target:".googlesitekit-widget--ideaHubIdeas",title:Object(s.__)("Get inspiration for new topics to write about!","google-site-kit"),content:Object(s.__)("These ideas are based on unanswered searches related to the content of your site. They are organized by topics and will refresh every 2-3 days.","google-site-kit")},{target:".googlesitekit-idea-hub__actions--create",title:Object(s.__)("Start a draft","google-site-kit"),content:Object(s.__)("Found an interesting idea you want to write about? Create a draft! You can always get back to it later on the Posts page.","google-site-kit")},{target:".googlesitekit-idea-hub__idea--single",title:Object(s.__)("Save for later or dismiss","google-site-kit"),content:Object(s.__)('If you’re not ready to create a draft about an idea just yet, add it to your "Saved" list and revisit later. If you don’t like an idea, you can dismiss it from your list.',"google-site-kit"),placement:"top"}],gaEventCategory:d.j,callback:function(t){var r=t.type,n=t.index;if([u.b.STEP_BEFORE,u.b.STEP_AFTER].includes(r)&&2===n){var i="googlesitekit-idea-hub__actions--unhide",a=e.document.querySelector(".googlesitekit-idea-hub__actions--pin"),o=e.document.querySelector(".googlesitekit-idea-hub__actions--delete");a&&o&&(r===u.b.STEP_BEFORE&&(a.classList.add(i),o.classList.add(i)),r===u.b.STEP_AFTER&&(a.classList.remove(i),o.classList.remove(i)))}}};t.a=p}).call(this,r(18))},704:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(4),l=r.n(s),f=r(11);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var g=l.a.createRegistrySelector,v={permissionError:null,capabilities:void 0},b={clearPermissionScopeError:function(){return{payload:{},type:"CLEAR_PERMISSION_SCOPE_ERROR"}},setPermissionScopeError:function(e){return u()(e,"permissionError is required."),{payload:{permissionError:e},type:"SET_PERMISSION_SCOPE_ERROR"}},receiveCapabilities:function(e){return{type:"RECEIVE_CAPABILITIES",payload:{capabilities:e}}}},y={getCapabilities:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.a.commonActions.getRegistry();case 2:if(!t.sent.select(f.a).getCapabilities()){t.next=5;break}return t.abrupt("return");case 5:return(null===(r=e._googlesitekitUserData)||void 0===r?void 0:r.permissions)||e.console.error("Could not load core/user permissions."),t.next=8,b.receiveCapabilities(null===(n=e._googlesitekitUserData)||void 0===n?void 0:n.permissions);case 8:case"end":return t.stop()}}),t)}))},m={getPermissionScopeError:function(e){return e.permissionError},getCapabilities:function(e){return e.capabilities},hasCapability:g((function(e){return function(t,r){var n=e(f.a).getCapabilities();if(n)return!!n[r]}}))};t.a={initialState:v,actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"CLEAR_PERMISSION_SCOPE_ERROR":return p(p({},e),{},{permissionError:null});case"SET_PERMISSION_SCOPE_ERROR":var i=n.permissionError;return p(p({},e),{},{permissionError:i});case"RECEIVE_CAPABILITIES":var a=n.capabilities;return p(p({},e),{},{capabilities:a});default:return e}},resolvers:y,selectors:m}}).call(this,r(18))},705:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(276),l=r(4),f=r.n(l),d=r(11);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=f.a.createRegistrySelector,b={connectURL:void 0,initialVersion:void 0,user:void 0,verified:void 0},y={receiveConnectURL:function(e){return u()(e,"connectURL is required."),{payload:{connectURL:e},type:"RECEIVE_CONNECT_URL"}},receiveUserInfo:function(e){return u()(e,"userInfo is required."),{payload:{user:e},type:"RECEIVE_USER_INFO"}},receiveInitialSiteKitVersion:function(e){return u()(e,"initialVersion is required."),{payload:{initialVersion:e},type:"RECEIVE_USER_INITIAL_SITE_KIT_VERSION"}},receiveUserIsVerified:function(e){return u()(void 0!==e,"userIsVerified is required."),{payload:{verified:e},type:"RECEIVE_USER_IS_VERIFIED"}},receiveUserInputState:function(e){return u()(e,"userInputState is required."),{payload:{userInputState:e},type:"RECEIVE_USER_INPUT_STATE"}}},m={getConnectURL:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getConnectURL()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.connectURL,t.next=12,y.receiveConnectURL(n);case 12:case"end":return t.stop()}}),t)})),getUser:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getUser()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.user,t.next=12,y.receiveUserInfo(n);case 12:case"end":return t.stop()}}),t)})),getInitialSiteKitVersion:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getInitialSiteKitVersion()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:if(!(n=e._googlesitekitUserData.initialVersion)){t.next=13;break}return t.next=13,y.receiveInitialSiteKitVersion(n);case 13:case"end":return t.stop()}}),t)})),isVerified:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).isVerified()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.verified,t.next=12,y.receiveUserIsVerified(n);case 12:case"end":return t.stop()}}),t)})),getUserInputState:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getUserInputState()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.userInputState,t.next=12,y.receiveUserInputState(n);case 12:case"end":return t.stop()}}),t)}))},h={getUser:function(e){return e.user},getConnectURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.additionalScopes,n=void 0===r?[]:r,i=t.redirectURL,a=void 0===i?void 0:i,o=e.connectURL,c={redirect:a};if(void 0!==o){if(null==n?void 0:n.length){var u=n.map((function(e){return e.replace(/^http(s)?:/,"gttp$1:")}));return Object(s.a)(o,g(g({},c),{},{additional_scopes:u}))}return Object(s.a)(o,c)}},getID:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.id:t}})),getName:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.name:t}})),getEmail:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.email:t}})),getPicture:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.picture:t}})),getInitialSiteKitVersion:function(e){return e.initialVersion},isVerified:function(e){return e.verified},getUserInputState:function(e){return e.userInputState}};t.a={initialState:b,actions:y,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_CONNECT_URL":var i=n.connectURL;return g(g({},e),{},{connectURL:i});case"RECEIVE_USER_INFO":var a=n.user;return g(g({},e),{},{user:a});case"RECEIVE_USER_INITIAL_SITE_KIT_VERSION":var o=n.initialVersion;return g(g({},e),{},{initialVersion:o});case"RECEIVE_USER_IS_VERIFIED":var c=n.verified;return g(g({},e),{},{verified:c});case"RECEIVE_USER_INPUT_STATE":var u=n.userInputState;return g(g({},e),{},{userInputState:u});default:return e}},resolvers:m,selectors:h}}).call(this,r(18))},74:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),i=r.n(n),a=r(1);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
- Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(u),t&&null===n&&t.appendChild(o),r&&null===i&&r.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,a={},c=o(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=i()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,r(18))},76:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},77:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return c}));var n=r(184),i=r(56),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=r.invertColor,o=void 0!==a&&a;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,r,n,i,a,o,c,u,s,l,f,d,p,g,v;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(g=p[0])||void 0===g||null===(v=g.values)||void 0===v?void 0:v[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},78:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),i=r.n(n),a=r(79),o=r(80);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,r);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,r,c,n)}}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(47),i=r(27);function a(t,r){var a,o=Object(n.a)(r);return function(){var r=e.document;if(void 0===a&&(a=!!r.querySelector("script[".concat(i.b,"]"))),!a){var n=r.createElement("script");n.setAttribute(i.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(n),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,r(18))},8:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return p})),r.d(t,"c",(function(){return g.b})),r.d(t,"j",(function(){return g.c})),r.d(t,"q",(function(){return v.c})),r.d(t,"r",(function(){return v.d})),r.d(t,"n",(function(){return v.b})),r.d(t,"i",(function(){return v.a})),r.d(t,"o",(function(){return h})),r.d(t,"d",(function(){return O})),r.d(t,"f",(function(){return S.c})),r.d(t,"t",(function(){return S.i})),r.d(t,"g",(function(){return E.b})),r.d(t,"m",(function(){return E.c})),r.d(t,"b",(function(){return E.a})),r.d(t,"l",(function(){return w.b})),r.d(t,"h",(function(){return w.a})),r.d(t,"p",(function(){return w.c})),r.d(t,"k",(function(){return _})),r.d(t,"a",(function(){return j})),r.d(t,"x",(function(){return k})),r.d(t,"e",(function(){return I}));var n=r(108),i=r.n(n),a=r(107),o=r.n(a),c=r(30),u=r(58),s=r(28),l=r.n(s),f=r(72),d=r.n(f),p=function(e){return d()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===l()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};var g=r(74),v=(r(76),r(68));r(51);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function h(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(t)}return t}var O=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)]},S=r(53),E=r(77),w=r(63),_=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!i()(r)?null:r},k=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},I=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(13),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(t,r,n,a){var o=Object(s.a)(r);return function(){var r=u()(i.a.mark((function r(c,u,s,f){var p,g,v,b,y,m,h,O,S,E;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,h=t.trackingID,O=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),S=null!==(p=null===(g=e._googlesitekitUserData)||void 0===g||null===(v=g.user)||void 0===v?void 0:v.roles)&&void 0!==p?p:[],E={send_to:h,event_category:c,event_label:s,value:f,dimension1:y,dimension2:S.join(","),dimension3:O,dimension4:"1.48.0",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(n),e()};o("event",u,d(d({},E),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&i()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,i){return r.apply(this,arguments)}}()}}).call(this,r(18))},89:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return a}));r(50);var n="missing_required_scopes";function i(e){return(null==e?void 0:e.code)===n}function a(e){var t;return"insufficientPermissions"===(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}}},[[1040,1,0]]]);
1
+ (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[14],{1:function(e,t){e.exports=googlesitekit.i18n},10:function(e,t,r){"use strict";r.d(t,"f",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"h",(function(){return a})),r.d(t,"g",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"k",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return f})),r.d(t,"s",(function(){return d})),r.d(t,"r",(function(){return p})),r.d(t,"t",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"q",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return m})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return O})),r.d(t,"j",(function(){return S})),r.d(t,"i",(function(){return E}));var n="modules/analytics",i="account_create",a="property_create",o="profile_create",c="analyticsAccountCreate",u="analyticsSetup",s="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",f=1,d="dashboardAllTrafficWidgetDimensionName",p="dashboardAllTrafficWidgetDimensionColor",g="dashboardAllTrafficWidgetDimensionValue",v="dashboardAllTrafficWidgetActiveRowIndex",b="dashboardAllTrafficWidgetLoaded",y="legacy",m="ua",h="ga4",O="ga4-transitional",S="ua",E="ga4"},1040:function(e,t,r){"use strict";r.r(t);var n=r(4),i=r.n(n),a=r(49),o=r(5),c=r.n(o),u=r(6),s=r.n(u),l=r(32),f=r.n(l),d=r(11),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=i.a.createRegistrySelector;function y(e){return b((function(t){return function(){return(t(d.a).getAuthentication()||{})[e]}}))}var m=Object(p.a)({baseName:"getAuthentication",controlCallback:function(){return f.a.get("core","user","authentication",void 0,{useCache:!1})},reducerCallback:function(e,t){return v(v({},e),{},{authentication:t})}}),h={authentication:void 0,authError:null},O={setAuthError:function(e){return{payload:{error:e},type:"SET_AUTH_ERROR"}},clearAuthError:function(){return{payload:{},type:"CLEAR_AUTH_ERROR"}}},S={getAuthentication:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,(0,t.select)(d.a).getAuthentication()){e.next=7;break}return e.next=7,m.actions.fetchGetAuthentication();case 7:case"end":return e.stop()}}),e)}))},E={getAuthentication:function(e){return e.authentication},hasScope:b((function(e){return function(t,r){var n=e(d.a).getGrantedScopes(t);if(void 0!==n)return n.includes(r)}})),isAuthenticated:y("authenticated"),getGrantedScopes:y("grantedScopes"),getRequiredScopes:y("requiredScopes"),getUnsatisfiedScopes:y("unsatisfiedScopes"),needsReauthentication:y("needsReauthentication"),getDisconnectedReason:y("disconnectedReason"),getConnectedProxyURL:y("connectedProxyURL"),getPreviousConnectedProxyURL:y("previousConnectedProxyURL"),getAuthError:function(e){return e.authError}},w=i.a.combineStores(m,{initialState:h,actions:O,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_AUTH_ERROR":return v(v({},e),{},{authError:n.error});case"CLEAR_AUTH_ERROR":return v(v({},e),{},{authError:null});default:return e}},resolvers:S,selectors:E}),_=(w.initialState,w.actions,w.controls,w.reducer,w.resolvers,w.selectors,w),j=r(7),k=r.n(j),I=r(53);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var x={dateRange:"last-28-days",referenceDate:Object(I.e)(new Date)};var R={getDateRange:function(e){return e.dateRange},getDateRangeDates:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.compare,n=void 0!==r&&r,i=t.offsetDays,a=void 0===i?0:i,o=t.referenceDate,c=void 0===o?e.referenceDate:o,u=R.getDateRange(e),s=Object(I.f)(c,a),l=u.match("-(.*)-"),f=Number(l?l[1]:28),d=Object(I.f)(s,f-1),p={startDate:d,endDate:s};if(n){var g=Object(I.f)(d,1),v=Object(I.f)(g,f-1);p.compareStartDate=v,p.compareEndDate=g}return p},getDateRangeNumberOfDays:function(e){var t=R.getDateRange(e).match(/-(\d+)-/);return parseInt(t?t[1]:28,10)},getReferenceDate:function(e){return e.referenceDate}},P={initialState:x,actions:{setDateRange:function(e){return k()(e,"Date range slug is required."),k()(Object(I.g)(e),I.a),{type:"SET_DATE_RANGE",payload:{slug:e}}},setReferenceDate:function(e){return k()(e,"Date string is required."),k()(Object(I.h)(e),I.b),{type:"SET_REFERENCE_DATE",payload:{dateString:e}}}},controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_DATE_RANGE":return D(D({},e),{},{dateRange:n.slug});case"SET_REFERENCE_DATE":return D(D({},e),{},{referenceDate:n.dateString});default:return e}},resolvers:{},selectors:R};function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var N=i.a.createRegistrySelector,U=Object(p.a)({baseName:"disconnect",controlCallback:function(){return f.a.set("core","user","disconnect")},reducerCallback:function(e,t){return C(C({},e),{},{disconnected:t})}}),L={disconnected:void 0},F={disconnect:c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,U.actions.fetchDisconnect();case 2:case"end":return e.stop()}}),e)}))},q={isDoingDisconnect:N((function(e){return function(){return e(d.a).isFetchingDisconnect()}}))},V=i.a.combineStores(U,{initialState:L,actions:F,selectors:q}),M=(V.initialState,V.actions,V.controls,V.reducer,V.resolvers,V.selectors,V),G=r(69);function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var K=i.a.createRegistrySelector,$=i.a.commonActions.getRegistry;function W(e,t){return B(B({},e),{},{dismissedItems:Array.isArray(t)?t:[]})}var Y,J,z=Object(p.a)({baseName:"getDismissedItems",controlCallback:function(){return f.a.get("core","user","dismissed-items",{},{useCache:!1})},reducerCallback:W}),Q=Object(p.a)({baseName:"dismissItem",controlCallback:function(e){var t=e.slug,r=e.expiresInSeconds;return f.a.set("core","user","dismiss-item",{slug:t,expiration:r})},reducerCallback:W,argsToParams:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{slug:e,expiresInSeconds:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug,r=e.expiresInSeconds;k()(t,"slug is required."),k()(Number.isInteger(r),"expiresInSeconds must be an integer.")}}),Z={dismissedItems:void 0},X={dismissItem:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.expiresInSeconds,n=void 0===r?0:r;k()(e,"A tour slug is required to dismiss a tour."),k()(Number.isInteger(n),"expiresInSeconds must be an integer.")}),c.a.mark((function e(t){var r,n,i,a=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:{},n=r.expiresInSeconds,i=void 0===n?0:n,e.next=4,Q.actions.fetchDismissItem(t,i);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))},ee={getDismissedItems:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedItems()){e.next=8;break}return e.next=8,z.actions.fetchGetDismissedItems();case 8:case"end":return e.stop()}}),e)}))},te={getDismissedItems:function(e){return e.dismissedItems},isItemDismissed:K((function(e){return function(t,r){var n;return null===(n=e(d.a).getDismissedItems())||void 0===n?void 0:n.includes(r)}})),isDismissingItem:K((function(e){return function(t,r){return e(d.a).isFetchingDismissItem(r)}}))},re=i.a.combineStores({initialState:Z,actions:X,resolvers:ee,selectors:te},Q,z),ne={actions:re.actions,controls:re.controls,initialState:re.initialState,reducer:re.reducer,resolvers:re.resolvers,selectors:re.selectors},ie=r(13),ae=r.n(ie),oe=r(699),ce=r.n(oe),ue=r(1),se=r(22),le=r(60),fe=r(19),de=r(10),pe={slug:"helpVisibility",contexts:[se.g,se.k],version:"1.29.0",gaEventCategory:function(e){return"".concat(e,"_headerbar_helpmenu")},steps:[{target:".googlesitekit-help-menu",title:Object(ue.__)("Need help?","google-site-kit"),content:Object(ue.__)("Access the Site Kit docs or ask a question in our support forum from here.","google-site-kit"),placement:"bottom-start"}]},ge=r(700),ve=r(37),be={slug:"ideaHubPostsTable",contexts:[se.l],version:"1.43.0",gaEventCategory:ve.i,checkRequirements:(Y=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.querySelector(".googlesitekit-idea-hub__post")){e.next=2;break}return e.abrupt("return",!1);case 2:return e.next=4,t.__experimentalResolveSelect(fe.a).getModules();case 4:return e.abrupt("return",t.select(fe.a).isModuleConnected("idea-hub"));case 5:case"end":return e.stop()}}),e)}))),function(e){return Y.apply(this,arguments)}),steps:[{target:".googlesitekit-idea-hub__post",title:Object(ue.__)("Get started writing about your saved ideas","google-site-kit"),content:Object(ue.__)("Drafts you created from Idea Hub within Site Kit appear here for easy access.","google-site-kit")}]},ye=[{slug:"allTrafficWidget",contexts:[se.g],version:"1.25.0",gaEventCategory:"".concat(se.g,"_all-traffic-widget"),checkRequirements:function(){var e=ae()(c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(fe.a).getModules();case 2:if(t.select(fe.a).isModuleConnected("analytics")){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,new Promise((function(e){setTimeout((function r(){t.select(le.a).getValue(de.q)?e():setTimeout(r,250)}),250)}));case 6:return e.abrupt("return",!0);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),steps:[{target:".googlesitekit-widget--analyticsAllTraffic__totals",title:Object(ue.__)("It’s now easier to see your site’s traffic at a glance","google-site-kit"),content:Object(ue.__)("Check the trend graph to see how your traffic changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-widget--analyticsAllTraffic__dimensions",title:Object(ue.__)("See where your visitors come from","google-site-kit"),content:Object(ue.__)("Click on the chart slices to see how each segment has changed over time","google-site-kit"),placement:"top"},{target:".googlesitekit-header__date-range-selector-menu",title:Object(ue.__)("Check how your traffic changed since you last looked","google-site-kit"),content:Object(ue.__)("Select a time frame to see the comparison with the previous time period","google-site-kit")}]},pe,ge.a,be],me=r(38);function he(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Oe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oe(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function Oe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ee(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Se(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var we,_e=i.a.createRegistrySelector,je=i.a.createRegistryControl,ke=i.a.commonActions.getRegistry,Ie=Object(p.a)({baseName:"getDismissedTours",controlCallback:function(){return f.a.get("core","user","dismissed-tours",{},{useCache:!1})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})}}),Te=Object(p.a)({baseName:"dismissTour",controlCallback:function(e){var t=e.slug;return f.a.set("core","user","dismiss-tour",{slug:t})},reducerCallback:function(e,t){return Ee(Ee({},e),{},{dismissedTourSlugs:t})},argsToParams:function(e){return{slug:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.slug;k()(t,"slug is required.")}}),De={lastDismissedAt:void 0,dismissedTourSlugs:void 0,tours:ye,viewTours:{}},xe={dismissTour:Object(G.f)((function(e){k()(e,"A tour slug is required to dismiss a tour.")}),c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:if(r=e.sent,!(n=r.select)(d.a).isFetchingDismissTour(t)){e.next=7;break}return i=n(d.a).getDismissedFeatureTourSlugs(),e.abrupt("return",{response:i,error:void 0});case 7:return e.next=9,{type:"DISMISS_TOUR",payload:{slug:t}};case 9:return e.next=11,Ne.setLastDismissedAt(Date.now());case 11:return e.next=13,Te.actions.fetchDismissTour(t);case 13:return e.abrupt("return",e.sent);case 14:case"end":return e.stop()}}),e)}))),receiveFeatureToursForView:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.viewContext;return k()(Array.isArray(e),"viewTours must be an array."),k()(r,"viewContext is required."),{payload:{viewTours:e,viewContext:r},type:"RECEIVE_READY_TOURS"}},receiveAllFeatureTours:function(e){return k()(Array.isArray(e),"tours must be an array."),{payload:{tours:e},type:"RECEIVE_TOURS"}},receiveLastDismissedAt:function(e){return k()(void 0!==e,"A timestamp is required."),{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:e}}},setLastDismissedAt:Object(G.f)((function(e){k()(e,"A timestamp is required.")}),c.a.mark((function e(t){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"CACHE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 2:return e.next=4,{type:"RECEIVE_LAST_DISMISSED_AT",payload:{timestamp:t}};case 4:case"end":return e.stop()}}),e)})))},Re=(J={},s()(J,"CHECK_TOUR_REQUIREMENTS",je((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.payload,i=n.tour,a=n.viewContext,i.contexts.includes(a)){t.next=4;break}return t.abrupt("return",!1);case 4:if(o=e.select(d.a).getInitialSiteKitVersion()){t.next=9;break}return t.abrupt("return",!1);case 9:if(!ce.a.compare(o,i.version,">=")){t.next=11;break}return t.abrupt("return",!1);case 11:return t.next=13,e.__experimentalResolveSelect(d.a).getDismissedFeatureTourSlugs();case 13:if(!e.select(d.a).isTourDismissed(i.slug)){t.next=15;break}return t.abrupt("return",!1);case 15:if(!i.checkRequirements){t.next=19;break}return t.next=18,i.checkRequirements(e);case 18:return t.abrupt("return",!!t.sent);case 19:return t.abrupt("return",!0);case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),s()(J,"CACHE_LAST_DISMISSED_AT",(we=ae()(c.a.mark((function e(t){var r,n;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n=r.timestamp,e.next=4,Object(me.d)("feature_tour_last_dismissed_at",n,{ttl:7200});case 4:case"end":return e.stop()}}),e)}))),function(e){return we.apply(this,arguments)})),J),Pe={getDismissedFeatureTourSlugs:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:if(t=e.sent,r=t.select,void 0!==r(d.a).getDismissedFeatureTourSlugs()){e.next=8;break}return e.next=8,Ie.actions.fetchGetDismissedTours();case 8:case"end":return e.stop()}}),e)})),getFeatureToursForView:c.a.mark((function e(t){var r,n,i,a,o,u;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ke();case 2:r=e.sent,n=r.select(d.a).getAllFeatureTours(),i=[],a=he(n),e.prev=6,a.s();case 8:if((o=a.n()).done){e.next=16;break}return u=o.value,e.next=12,{payload:{tour:u,viewContext:t},type:"CHECK_TOUR_REQUIREMENTS"};case 12:e.sent&&i.push(u);case 14:e.next=8;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(6),a.e(e.t0);case 21:return e.prev=21,a.f(),e.finish(21);case 24:return e.next=26,Ne.receiveFeatureToursForView(i,{viewContext:t});case 26:case"end":return e.stop()}}),e,null,[[6,18,21,24]])})),getLastDismissedAt:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.await(Object(me.b)("feature_tour_last_dismissed_at"));case 2:return t=e.sent,r=t.value,e.next=6,Ne.receiveLastDismissedAt(r||null);case 6:case"end":return e.stop()}}),e)}))},Ae={getDismissedFeatureTourSlugs:function(e){return e.dismissedTourSlugs},getFeatureToursForView:function(e,t){return e.viewTours[t]},getAllFeatureTours:function(e){return e.tours},isTourDismissed:_e((function(e){return function(t,r){var n=e(d.a).getDismissedFeatureTourSlugs();if(void 0!==n)return n.includes(r)}})),getLastDismissedAt:function(e){return e.lastDismissedAt},areFeatureToursOnCooldown:_e((function(e){return function(){var t=e(d.a).getLastDismissedAt();if(void 0!==t){if(null===t)return!1;var r=t+72e5;return Date.now()<r}}}))},Ce=i.a.combineStores({initialState:De,actions:xe,controls:Re,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"DISMISS_TOUR":var i=n.slug,a=e.dismissedTourSlugs,o=void 0===a?[]:a;return o.includes(i)?e:Ee(Ee({},e),{},{dismissedTourSlugs:o.concat(i)});case"RECEIVE_READY_TOURS":var c=n.viewContext,u=n.viewTours;return Ee(Ee({},e),{},{viewTours:Ee(Ee({},e.viewTours),{},s()({},c,u))});case"RECEIVE_TOURS":return Ee(Ee({},e),{},{tours:n.tours});case"RECEIVE_LAST_DISMISSED_AT":return Ee(Ee({},e),{},{lastDismissedAt:n.timestamp});default:return e}},resolvers:Pe,selectors:Ae},Te,Ie),Ne=Ce.actions,Ue=Ce.controls,Le=Ce.initialState,Fe=Ce.reducer,qe=Ce.resolvers,Ve=Ce.selectors,Me={actions:Ne,controls:Ue,initialState:Le,reducer:Fe,resolvers:qe,selectors:Ve},Ge=r(340),He=Object(Ge.a)("core","user","notifications",{server:!1}),Be=r(704),Ke=r(50),$e=r.n(Ke),We=r(387);function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ze=i.a.createRegistrySelector,Qe=Object(p.a)({baseName:"triggerSurvey",controlCallback:function(e){var t=e.triggerID;return f.a.set("core","user","survey-trigger",{triggerID:t})},argsToParams:function(e){return{triggerID:e}},reducerCallback:function(e,t){var r=t.survey_payload,n=t.session;return et.getCurrentSurvey(e)?e:Je(Je({},e),{},{currentSurvey:r,currentSurveySession:n})},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.triggerID;k()("string"==typeof t&&t.length,"triggerID is required and must be a string")}}),Ze=Object(p.a)({baseName:"sendSurveyEvent",controlCallback:function(e){var t=e.event,r=e.session;return f.a.set("core","user","survey-event",{event:t,session:r})},argsToParams:function(e,t){return{event:e,session:t}}}),Xe={triggerSurvey:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.ttl,n=void 0===r?0:r;k()("string"==typeof e&&e.length,"triggerID is required and must be a string"),k()($e()(t),"options must be an object"),k()("number"==typeof n,"options.ttl must be a number")}),c.a.mark((function e(t){var r,n,a,o,u,s,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=r.ttl,a=void 0===n?0:n,e.next=4,i.a.commonActions.getRegistry();case 4:if(o=e.sent,!(0,o.select)(d.a).getCurrentSurvey()){e.next=8;break}return e.abrupt("return",{});case 8:return u=Object(We.a)("core","user","survey-trigger",{triggerID:t}),e.next=11,i.a.commonActions.await(Object(me.b)(u));case 11:if(s=e.sent,!1!==s.cacheHit){e.next=22;break}return e.next=16,Qe.actions.fetchTriggerSurvey(t);case 16:if(l=e.sent,f=l.response,!(p=l.error)){e.next=21;break}return e.abrupt("return",{response:f,error:p});case 21:a>0&&setTimeout(ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(me.d)(u,{},{ttl:a});case 2:case"end":return e.stop()}}),e)}))),3e4);case 22:return e.abrupt("return",{response:{},error:!1});case 23:case"end":return e.stop()}}),e)}))),sendSurveyEvent:Object(G.f)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k()("string"==typeof e&&e.length,"eventID is required and must be a string"),k()($e()(t),"eventData must be an object")}),c.a.mark((function e(t){var r,n,a,o,u,l,f,p,g=arguments;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:{},n=s()({},t,r),e.next=4,i.a.commonActions.getRegistry();case 4:if(a=e.sent,o=a.select,!(u=o(d.a).getCurrentSurveySession())){e.next=14;break}return e.next=10,Ze.actions.fetchSendSurveyEvent(n,u);case 10:return l=e.sent,f=l.response,p=l.error,e.abrupt("return",{response:f,error:p});case 14:case"end":return e.stop()}}),e)})))},et={getCurrentSurvey:function(e){return e.currentSurvey},getCurrentSurveySession:function(e){return e.currentSurveySession},getCurrentSurveyCompletions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.completion)||null}})),getCurrentSurveyQuestions:ze((function(e){return function(){var t=e(d.a).getCurrentSurvey();return(null==t?void 0:t.question)||null}}))},tt=i.a.combineStores(Qe,Ze,{initialState:{currentSurvey:null,currentSurveySession:null},actions:Xe,selectors:et}),rt=(tt.initialState,tt.actions,tt.selectors,tt);function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var at,ot=a.a.receiveError,ct=a.a.clearError,ut=function(e,t){return it(it({},e),{},{tracking:t})},st=Object(p.a)({baseName:"getTracking",controlCallback:function(){return f.a.get("core","user","tracking")},reducerCallback:ut}),lt=Object(p.a)({baseName:"setTracking",controlCallback:function(e){return f.a.set("core","user","tracking",{enabled:!!e})},reducerCallback:ut,argsToParams:function(e){return e}}),ft={tracking:void 0,isSavingTrackingEnabled:!1},dt={setTrackingEnabled:c.a.mark((function e(t){var r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ct("setTrackingEnabled",[t]);case 2:return e.next=4,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!0}};case 4:return e.next=6,lt.actions.fetchSetTracking(t);case 6:if(r=e.sent,n=r.response,!(i=r.error)){e.next=12;break}return e.next=12,ot(i,"setTrackingEnabled",[t]);case 12:return e.next=14,{type:"SET_TRACKING_ENABLED_SAVING_ACTION",payload:{isSaving:!1}};case 14:return e.abrupt("return",{response:n,error:i});case 15:case"end":return e.stop()}}),e)}))},pt={isTrackingEnabled:c.a.mark((function e(){var t;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(t=e.sent,void 0!==(0,t.select)(d.a).isTrackingEnabled()){e.next=7;break}return e.next=7,st.actions.fetchGetTracking();case 7:case"end":return e.stop()}}),e)}))},gt=i.a.combineStores(st,lt,{initialState:ft,actions:dt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_TRACKING_ENABLED_SAVING_ACTION":return it(it({},e),{},{isSavingTrackingEnabled:n.isSaving});default:return e}},resolvers:pt,selectors:{isSavingTrackingEnabled:function(e){return!!(null==e?void 0:e.isSavingTrackingEnabled)},isTrackingEnabled:function(e){var t=e.tracking;return null==t?void 0:t.enabled}}}),vt=(gt.initialState,gt.actions,gt.controls,gt.reducer,gt.resolvers,gt.selectors,gt),bt=r(705);function yt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):yt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ht=i.a.commonActions,Ot=i.a.createRegistryControl,St=i.a.createRegistrySelector,Et=a.a.receiveError,wt=a.a.clearError;function _t(e,t){return mt(mt({},e),{},{inputSettings:t})}var jt,kt=Object(p.a)({baseName:"getUserInputSettings",controlCallback:(jt=ae()(c.a.mark((function e(){return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",f.a.get("core","user","user-input-settings",void 0,{useCache:!1}));case 1:case"end":return e.stop()}}),e)}))),function(){return jt.apply(this,arguments)}),reducerCallback:_t}),It=Object(p.a)({baseName:"saveUserInputSettings",controlCallback:function(e){return f.a.set("core","user","user-input-settings",{settings:e})},reducerCallback:_t,argsToParams:function(e){return e},validateParams:function(e){k()($e()(e),"valid settings are required.")}}),Tt={inputSettings:void 0,isSavingInputSettings:!1},Dt={setUserInputSettingsFromCache:c.a.mark((function e(){var t,r,n,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{type:"GET_CACHED_USER_INPUT_SETTINGS",payload:{}};case 2:if(!(t=e.sent).cacheHit){e.next=12;break}r=0,n=Object.keys(t.value);case 5:if(!(r<n.length)){e.next=12;break}return i=n[r],e.next=9,Dt.setUserInputSetting(i,t.value[i].values);case 9:r++,e.next=5;break;case 12:return e.abrupt("return",t.cacheHit?t.value:{});case 13:case"end":return e.stop()}}),e)})),setUserInputSetting:c.a.mark((function e(t,r){var n,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:if(n=e.sent,a=r.map((function(e){return e.trim()})),"completed"===n.select(d.a).getUserInputState()){e.next=7;break}return e.next=7,{type:"SET_CACHED_USER_INPUT_SETTING",payload:{settingID:t,values:a}};case 7:return e.abrupt("return",{type:"SET_USER_INPUT_SETTING",payload:{settingID:t,values:a}});case 8:case"end":return e.stop()}}),e)})),saveUserInputSettings:c.a.mark((function e(){var t,r,n,a,o,u,l,f;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,wt("saveUserInputSettings",[]);case 5:return r=function(e){return e.trim()},n=function(e){return e.length>0},a=t.select(d.a).getUserInputSettings(),o=Object.keys(a).reduce((function(e,t){var i;return mt(mt({},e),{},s()({},t,((null===(i=a[t])||void 0===i?void 0:i.values)||[]).map(r).filter(n)))}),{}),e.next=11,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!0}};case 11:return e.next=13,It.actions.fetchSaveUserInputSettings(o);case 13:if(u=e.sent,l=u.response,!(f=u.error)){e.next=19;break}return e.next=19,Et(f,"saveUserInputSettings",[]);case 19:return e.next=21,{type:"DELETE_CACHED_USER_INPUT_SETTINGS",payload:{}};case 21:return e.next=23,{type:"SET_USER_INPUT_SETTINGS_SAVING_FLAG",payload:{isSaving:!1}};case 23:return e.abrupt("return",{response:l,error:f});case 24:case"end":return e.stop()}}),e)}))},xt=(at={},s()(at,"DELETE_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.a)("userInputSettings")})),s()(at,"GET_CACHED_USER_INPUT_SETTINGS",(function(){return Object(me.b)("userInputSettings")})),s()(at,"SET_CACHED_USER_INPUT_SETTING",Ot((function(e){return function(){var t=ae()(c.a.mark((function t(r){var n,i,a,o;return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.payload,i=n.settingID,a=n.values,(o=e.select(d.a).getUserInputSettings()||{})[i]={values:a},t.abrupt("return",Object(me.d)("userInputSettings",o));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}))),at),Rt={getUserInputSettings:c.a.mark((function e(){var t,r;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ht.getRegistry();case 2:if(t=e.sent,(r=t.select)(d.a).getUserInputSettings()){e.next=7;break}return e.next=7,kt.actions.fetchGetUserInputSettings();case 7:if("completed"===r(d.a).getUserInputState()){e.next=10;break}return e.next=10,Dt.setUserInputSettingsFromCache();case 10:case"end":return e.stop()}}),e)}))},Pt={isSavingUserInputSettings:function(e){return!!(null==e?void 0:e.isSavingInputSettings)},getUserInputSettings:function(e){return e.inputSettings},getUserInputSetting:St((function(e){return function(t,r){var n,i=null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.values;return Array.isArray(i)?i:[]}})),getUserInputSettingScope:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.scope}})),getUserInputSettingAuthor:St((function(e){return function(t,r){var n;return null===(n=(e(d.a).getUserInputSettings()||{})[r])||void 0===n?void 0:n.author}}))},At=i.a.combineStores(kt,It,{initialState:Tt,actions:Dt,controls:xt,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"SET_USER_INPUT_SETTING":return mt(mt({},e),{},{inputSettings:mt(mt({},e.inputSettings),{},s()({},n.settingID,mt(mt({},(e.inputSettings||{})[n.settingID]||{}),{},{values:n.values})))});case"SET_USER_INPUT_SETTINGS_SAVING_FLAG":return mt(mt({},e),{},{isSavingInputSettings:n.isSaving});default:return e}},resolvers:Rt,selectors:Pt}),Ct=(At.initialState,At.actions,At.controls,At.reducer,At.resolvers,At.selectors,At),Nt=i.a.combineStores(i.a.commonStore,Object(a.b)(),_,P,M,ne,Me,He,Be.a,rt,vt,bt.a,Ct);Nt.initialState,Nt.actions,Nt.controls,Nt.reducer,Nt.resolvers,Nt.selectors;i.a.registerStore(d.a,Nt)},11:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"e",(function(){return o})),r.d(t,"c",(function(){return c}));var n="core/user",i="connected_url_mismatch",a="googlesitekit_setup",o="googlesitekit_view_dashboard",c="googlesitekit_manage_options"},19:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="core/modules",i="insufficient_module_dependencies"},216:function(e,t,r){"use strict";(function(e){var n=r(48),i=r.n(n),a=r(217),o=e._googlesitekitAPIFetchData||{},c=o.nonce,u=o.nonceEndpoint,s=o.preloadedData,l=o.rootURL;i.a.nonceEndpoint=u,i.a.nonceMiddleware=i.a.createNonceMiddleware(c),i.a.rootURLMiddleware=i.a.createRootURLMiddleware(l),i.a.preloadingMiddleware=Object(a.a)(s),i.a.use(i.a.nonceMiddleware),i.a.use(i.a.mediaUploadMiddleware),i.a.use(i.a.rootURLMiddleware),i.a.use(i.a.preloadingMiddleware),t.default=i.a}).call(this,r(18))},217:function(e,t,r){"use strict";var n=r(209);t.a=function(e){var t=Object.keys(e).reduce((function(t,r){return t[Object(n.getStablePath)(r)]=e[r],t}),{}),r=!1;return function(e,i){if(r)return i(e);setTimeout((function(){r=!0}),1e3);var a=e.parse,o=void 0===a||a,c=e.path;if("string"==typeof e.path){var u,s=(null===(u=e.method)||void 0===u?void 0:u.toUpperCase())||"GET",l=Object(n.getStablePath)(c);if(o&&"GET"===s&&t[l]){var f=Promise.resolve(t[l].body);return delete t[l],f}if("OPTIONS"===s&&t[s]&&t[s][l]){var d=Promise.resolve(t[s][l]);return delete t[s][l],d}}return i(e)}}},22:function(e,t,r){"use strict";r.d(t,"g",(function(){return n})),r.d(t,"k",(function(){return i})),r.d(t,"l",(function(){return a})),r.d(t,"n",(function(){return o})),r.d(t,"e",(function(){return c})),r.d(t,"h",(function(){return u})),r.d(t,"f",(function(){return s})),r.d(t,"m",(function(){return l})),r.d(t,"i",(function(){return f})),r.d(t,"o",(function(){return d})),r.d(t,"j",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"a",(function(){return v})),r.d(t,"c",(function(){return b})),r.d(t,"b",(function(){return y}));var n="dashboard",i="pageDashboard",a="postsList",o="userInput",c="activation",u="splash",s="adminBar",l="settings",f="module",d="wpDashboard",p="moduleSetup",g="traffic",v="content",b="speed",y="monetization"},27:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},30:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return g}));var n=r(78),i=e._googlesitekitBaseData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,u=i.trackingEnabled,s={activeModules:o,trackingEnabled:u,trackingID:i.trackingID,referenceSiteURL:i.referenceSiteURL,userIDHash:i.userIDHash,isSiteKitScreen:c},l=Object(n.a)(s),f=l.enableTracking,d=l.disableTracking,p=(l.isTrackingEnabled,l.initializeSnippet),g=l.trackEvent;function v(e){e?f():d()}c&&u&&p()}).call(this,r(18))},32:function(e,t){e.exports=googlesitekit.api},33:function(e,t,r){"use strict";(function(e){var n,i;r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return o}));var a=new Set((null===(n=e)||void 0===n||null===(i=n._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,r(18))},340:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(32),l=r.n(s),f=r(4),d=r.n(f),p=r(43);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.client,s=void 0===c||c,f=a.server,g=void 0===f||f,b=a.storeName,y=void 0===b?void 0:b;u()(t,"type is required."),u()(r,"identifier is required."),u()(n,"datapoint is required.");var m=y||"".concat(t,"/").concat(r),h={serverNotifications:g?void 0:{},clientNotifications:s?void 0:{}},O=Object(p.a)({baseName:"getNotifications",controlCallback:function(){return l.a.get(t,r,n)},reducerCallback:function(e,t){return v(v({},e),{},{serverNotifications:t.reduce((function(e,t){return v(v({},e),{},o()({},t.id,t))}),{})})}}),S={addNotification:function(e){return u()(e,"notification is required."),{payload:{notification:e},type:"ADD_NOTIFICATION"}},removeNotification:function(e){return u()(e,"id is required."),{payload:{id:e},type:"REMOVE_NOTIFICATION"}}},E={},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,r=arguments.length>1?arguments[1]:void 0,n=r.type,i=r.payload;switch(n){case"ADD_NOTIFICATION":var a=i.notification;return v(v({},t),{},{clientNotifications:v(v({},t.clientNotifications||{}),{},o()({},a.id,a))});case"REMOVE_NOTIFICATION":var c=i.id;if(void 0===t.clientNotifications||void 0===t.clientNotifications[c])return void 0!==t.serverNotifications&&void 0!==t.serverNotifications[c]&&e.console.warn('Cannot remove server-side notification with ID "'.concat(c,'"; this may be changed in a future release.')),t;var u=v({},t.clientNotifications);return delete u[c],v(v({},t),{},{clientNotifications:u});default:return t}},_={getNotifications:i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O.actions.fetchGetNotifications();case 2:case"end":return e.stop()}}),e)}))};g||delete _.getNotifications;var j={getNotifications:function(e){var t=e.serverNotifications,r=e.clientNotifications;return void 0===t&&void 0===r?t:Object.values(v(v({},t||{}),r||{}))}},k=d.a.combineStores(O,{initialState:h,actions:S,controls:E,reducer:w,resolvers:_,selectors:j});return v(v({},k),{},{STORE_NAME:m})}}).call(this,r(18))},35:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=function(e){return e instanceof Date&&!isNaN(e)}},37:function(e,t,r){"use strict";r.d(t,"p",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"h",(function(){return o})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return u})),r.d(t,"e",(function(){return s})),r.d(t,"l",(function(){return l})),r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return d})),r.d(t,"c",(function(){return p})),r.d(t,"j",(function(){return g})),r.d(t,"k",(function(){return v})),r.d(t,"i",(function(){return b})),r.d(t,"n",(function(){return y})),r.d(t,"o",(function(){return m})),r.d(t,"m",(function(){return h}));var n=r(22),i="modules/idea-hub",a="IDEA_HUB_BUTTON_CREATE",o="IDEA_HUB_BUTTON_VIEW",c="IDEA_HUB_BUTTON_PIN",u="IDEA_HUB_BUTTON_UNPIN",s="IDEA_HUB_BUTTON_DELETE",l=5,f="IDEA_HUB_ACTIVITY_CREATING_DRAFT",d="IDEA_HUB_ACTIVITY_DRAFT_CREATED",p="IDEA_HUB_ACTIVITY_IS_PROCESSING",g="".concat(n.g,"_idea-hub-widget"),v="".concat(n.o,"_idea-hub-saved-ideas-notification"),b="".concat(n.l,"_idea-hub"),y="new-ideas",m="saved-ideas",h="draft-ideas"},38:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return b})),r.d(t,"d",(function(){return y})),r.d(t,"a",(function(){return m})),r.d(t,"c",(function(){return h}));var n=r(5),i=r.n(n),a=r(13),o=r.n(a);r(24);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw a}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s,l="googlesitekit_".concat("1.48.1","_"),f=["sessionStorage","localStorage"],d=[].concat(f),p=function(){var t=o()(i.a.mark((function t(r){var n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e[r]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",n.setItem(a,a),n.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==n.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function g(){return v.apply(this,arguments)}function v(){return(v=o()(i.a.mark((function t(){var r,n,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:r=c(d),t.prev=3,r.s();case 5:if((n=r.n()).done){t.next=15;break}if(a=n.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}s=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var b=function(){var e=o()(i.a.mark((function e(t){var r,n,a,o,c,u,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g();case 2:if(!(r=e.sent)){e.next=10;break}if(!(n=r.getItem("".concat(l).concat(t)))){e.next=10;break}if(a=JSON.parse(n),o=a.timestamp,c=a.ttl,u=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:u,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var t=o()(i.a.mark((function t(r,n){var a,o,c,u,s,f,d,p,v=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=v.length>2&&void 0!==v[2]?v[2]:{},o=a.ttl,c=void 0===o?3600:o,u=a.timestamp,s=void 0===u?Math.round(Date.now()/1e3):u,f=a.isError,d=void 0!==f&&f,t.next=3,g();case 3:if(!(p=t.sent)){t.next=14;break}return t.prev=5,p.setItem("".concat(l).concat(r),JSON.stringify({timestamp:s,ttl:c,value:n,isError:d})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,r){return t.apply(this,arguments)}}(),m=function(){var t=o()(i.a.mark((function t(r){var n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(n=t.sent)){t.next=13;break}return t.prev=4,n.removeItem("".concat(l).concat(r)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),h=function(){var t=o()(i.a.mark((function t(){var r,n,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,g();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,n=[],a=0;a<r.length;a++)0===(o=r.key(a)).indexOf(l)&&n.push(o.substring(l.length));return t.abrupt("return",n);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,r(18))},387:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return y}));var n=r(5),i=r.n(n),a=r(13),o=r.n(a),c=r(7),u=r.n(c),s=r(216),l=r(276),f=r(38),d=r(8),p=r(89),g=r(428),v=r(11),b=!0,y=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=[e,t,r].filter((function(e){return!!e&&e.length}));return 3===i.length&&n&&n.constructor===Object&&Object.keys(n).length&&i.push(Object(d.u)(n)),i.join("::")},m=function(t){var r,n,i,a,o=null===(r=e.googlesitekit)||void 0===r||null===(n=r.data)||void 0===n||null===(i=n.dispatch)||void 0===i?void 0:i.call(n,v.a);o&&(t.code===p.a?o.setPermissionScopeError(t):(null===(a=t.data)||void 0===a?void 0:a.reconnectURL)&&o.setAuthError(t))},h=function(){var t=o()(i.a.mark((function t(r,n,a){var o,c,d,p,v,b,h,O,S,w,_,j,k,I,T,D,x,R=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=R.length>3&&void 0!==R[3]?R[3]:{},c=o.bodyParams,d=o.cacheTTL,p=void 0===d?3600:d,v=o.method,b=void 0===v?"GET":v,h=o.queryParams,O=o.useCache,S=void 0===O?void 0:O,w=o.signal,u()(r,"`type` argument for requests is required."),u()(n,"`identifier` argument for requests is required."),u()(a,"`datapoint` argument for requests is required."),_="GET"===b&&(void 0!==S?S:E()),j=y(r,n,a,h),!_){t.next=18;break}return t.next=9,Object(f.b)(j);case 9:if(k=t.sent,I=k.cacheHit,T=k.value,!k.isError){t.next=16;break}throw m(T),T;case 16:if(!I){t.next=18;break}return t.abrupt("return",T);case 18:return t.prev=18,t.next=21,Object(s.default)({data:c,method:b,signal:w,path:Object(l.a)("/google-site-kit/v1/".concat(r,"/").concat(n,"/data/").concat(a),h)});case 21:if(D=t.sent,!_){t.next=25;break}return t.next=25,Object(f.d)(j,D,{ttl:p});case 25:return t.abrupt("return",D);case 28:if(t.prev=28,t.t0=t.catch(18),!(null===t.t0||void 0===t.t0||null===(x=t.t0.data)||void 0===x?void 0:x.cacheTTL)){t.next=33;break}return t.next=33,Object(f.d)(j,t.t0,{ttl:t.t0.data.cacheTTL,isError:!0});case 33:throw Object(g.a)({method:b,datapoint:a,type:r,identifier:n,error:t.t0}),m(t.t0),e.console.error("Google Site Kit API Error","method:".concat(b),"datapoint:".concat(a),"type:".concat(r),"identifier:".concat(n),'error:"'.concat(t.t0.message,'"')),t.t0;case 37:case"end":return t.stop()}}),t,null,[[18,28]])})));return function(e,r,n){return t.apply(this,arguments)}}(),O=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.cacheTTL,u=void 0===c?3600:c,s=o.useCache,l=void 0===s?void 0:s,f=o.signal,e.abrupt("return",h(t,r,n,{cacheTTL:u,queryParams:a,useCache:l,signal:f}));case 2:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),S=function(){var e=o()(i.a.mark((function e(t,r,n,a){var o,c,u,s,l,f,d=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=d.length>4&&void 0!==d[4]?d[4]:{},c=o.method,u=void 0===c?"POST":c,s=o.queryParams,l=void 0===s?{}:s,e.next=3,h(t,r,n,{bodyParams:{data:a},method:u,queryParams:l,useCache:!1});case 3:return f=e.sent,e.next=6,w(t,r,n);case 6:return e.abrupt("return",f);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}(),E=function(){return b},w=function(){var e=o()(i.a.mark((function e(t,r,n){var a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=y(t,r,n),e.next=3,Object(f.c)();case 3:e.sent.forEach((function(e){0===e.indexOf(a)&&Object(f.a)(e)}));case 5:case"end":return e.stop()}}),e)})));return function(t,r,n){return e.apply(this,arguments)}}(),_={invalidateCache:w,get:O,set:S,setUsingCache:function(e){return b=!!e},usingCache:E};t.b=_}).call(this,r(18))},39:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(35),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var r=e.split("-");return 3===r.length&&Object(n.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},428:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(5),i=r.n(n),a=r(13),o=r.n(a),c=r(8),u=["fetch_error"];function s(e){return l.apply(this,arguments)}function l(){return(l=o()(i.a.mark((function e(t){var r,n,a,o,s,l,f,d;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.method,o=t.type,s=t.identifier,l=t.datapoint,(f=t.error)&&!u.includes(null==f?void 0:f.code)){e.next=3;break}return e.abrupt("return");case 3:return d="code: ".concat(f.code),(null===(r=f.data)||void 0===r?void 0:r.reason)&&(d+=", reason: ".concat(f.data.reason)),e.next=7,Object(c.v)("api_error","".concat(a,":").concat(o,"/").concat(s,"/data/").concat(l),"".concat(f.message," (").concat(d,")"),(null===(n=f.data)||void 0===n?void 0:n.status)||f.code);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},43:function(e,t,r){"use strict";r.d(t,"a",(function(){return S}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(50),l=r.n(s),f=r(49),d=r(70),p=r(8);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var b=function(e){return e},y=function(){return{}},m=function(){},h=f.a.clearError,O=f.a.receiveError,S=function(e){var t,r,n=i.a.mark(N),a=e.baseName,c=e.controlCallback,s=e.reducerCallback,f=void 0===s?b:s,g=e.argsToParams,S=void 0===g?y:g,E=e.validateParams,w=void 0===E?m:E;u()(a,"baseName is required."),u()("function"==typeof c,"controlCallback is required and must be a function."),u()("function"==typeof f,"reducerCallback must be a function."),u()("function"==typeof S,"argsToParams must be a function."),u()("function"==typeof w,"validateParams must be a function.");try{w(S()),r=!1}catch(e){r=!0}var _=Object(d.b)(a),j=Object(d.a)(a),k="FETCH_".concat(j),I="START_".concat(k),T="FINISH_".concat(k),D="CATCH_".concat(k),x="RECEIVE_".concat(j),R="fetch".concat(_),P="receive".concat(_),A="isFetching".concat(_),C=o()({},A,{});function N(e,t){var r,o;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,{payload:{params:e},type:I};case 2:return n.next=4,h(a,t);case 4:return n.prev=4,n.next=7,{payload:{params:e},type:k};case 7:return r=n.sent,n.next=10,U[P](r,e);case 10:return n.next=12,{payload:{params:e},type:T};case 12:n.next=23;break;case 14:return n.prev=14,n.t0=n.catch(4),o=n.t0,n.next=19,O(o,a,t);case 19:return n.next=21,O(o);case 21:return n.next=23,{payload:{params:e},type:D};case 23:return n.abrupt("return",{response:r,error:o});case 24:case"end":return n.stop()}}),n,null,[[4,14]])}var U=(t={},o()(t,R,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=S.apply(void 0,t);return w(n),N(n,t)})),o()(t,P,(function(e,t){return u()(void 0!==e,"response is required."),r?(u()(l()(t),"params is required."),w(t)):t={},{payload:{response:e,params:t},type:x}})),t),L=o()({},k,(function(e){var t=e.payload;return c(t.params)})),F=o()({},A,(function(e){if(void 0===e[A])return!1;var t;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t=S.apply(void 0,n),w(t)}catch(e){return!1}return!!e[A][Object(p.u)(t)]}));return{initialState:C,actions:U,controls:L,reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case I:var i=n.params;return v(v({},e),{},o()({},A,v(v({},e[A]),{},o()({},Object(p.u)(i),!0))));case x:var a=n.response,c=n.params;return f(e,a,c);case T:var u=n.params;return v(v({},e),{},o()({},A,v(v({},e[A]),{},o()({},Object(p.u)(u),!1))));case D:var s=n.params;return v(v({},e),{},o()({},A,v(v({},e[A]),{},o()({},Object(p.u)(s),!1))));default:return e}},resolvers:{},selectors:F}}},47:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(27);function i(e){return function(){e[n.a]=e[n.a]||[],e[n.a].push(arguments)}}},49:function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return b}));var n=r(6),i=r.n(n),a=r(28),o=r.n(a),c=r(7),u=r.n(c),s=r(72),l=r.n(s),f=r(8);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function g(e,t){if(t&&Array.isArray(t)){var r=t.map((function(e){return"object"===o()(e)?Object(f.u)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(r)))}return e}var v={receiveError:function(e,t,r){return u()(e,"error is required."),t&&u()(r&&Array.isArray(r),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:r}}},clearError:function(e,t){return e&&u()(t&&Array.isArray(t),"args is required (and must be an array) when baseName is specified."),{type:"CLEAR_ERROR",payload:{baseName:e,args:t}}},clearErrors:function(e){return{type:"CLEAR_ERRORS",payload:{baseName:e}}}};function b(){var e={getErrorForSelector:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"selectorName is required."),e.getError(t,r,n)},getErrorForAction:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return u()(r,"actionName is required."),e.getError(t,r,n)},getError:function(e,t,r){var n=e.error,i=e.errors;return t||r?(u()(t,"baseName is required."),i[g(t,r)]):n},getErrors:function(e){var t=new Set(Object.values(e.errors));return void 0!==e.error&&t.add(e.error),Array.from(t)},hasErrors:function(t){return e.getErrors(t).length>0}};return{initialState:{errors:{},error:void 0},actions:v,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_ERROR":var a=n.baseName,o=n.args,c=n.error;return p(p({},e),{},a?{errors:p(p({},e.errors||{}),{},i()({},g(a,o),c))}:{error:c});case"CLEAR_ERROR":var u=n.baseName,s=n.args,l=p({},e);if(u){var f=g(u,s);l.errors=p({},e.errors||{}),delete l.errors[f]}else l.error=void 0;return l;case"CLEAR_ERRORS":var d=n.baseName,v=p({},e);if(d)for(var b in v.errors=p({},e.errors||{}),v.errors)(b===d||b.startsWith("".concat(d,"::")))&&delete v.errors[b];else v.errors={},v.error=void 0;return v;default:return e}},resolvers:{},selectors:e}}},51:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(2),i=function(e){return function(t){return function FilteredComponent(r){return Object(n.createElement)(n.Fragment,{},"",Object(n.createElement)(t,r),e)}}}},53:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return n})),r.d(t,"e",(function(){return u})),r.d(t,"f",(function(){return p})),r.d(t,"g",(function(){return g})),r.d(t,"h",(function(){return f.a})),r.d(t,"d",(function(){return v})),r.d(t,"c",(function(){return y})),r.d(t,"i",(function(){return d}));var n="Invalid dateString parameter, it must be a string.",i='Invalid date range, it must be a string with the format "last-x-days".',a=r(7),o=r.n(a),c=r(35),u=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var r="".concat(t.getMonth()+1),n="".concat(t.getDate());return[t.getFullYear(),r.length<2?"0".concat(r):r,n.length<2?"0".concat(n):n].join("-")},s=r(12),l=r.n(s),f=r(39),d=function(e){o()(Object(f.a)(e),n);var t=e.split("-"),r=l()(t,3),i=r[0],a=r[1],c=r[2];return new Date(i,a-1,c)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=d(e);return r.setDate(r.getDate()-t),u(r)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function v(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var b=r(1);function y(){var e=function(e){return Object(b.sprintf)(
2
  /* translators: %s: number of days */
3
  Object(b._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}}}},56:function(e,t,r){"use strict";(function(e){var n=r(0),i=r.n(n),a=r(9),o=r.n(a);function ChangeArrow(t){var r=t.direction,n=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(r),{"googlesitekit-change-arrow--inverted-color":n}),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,r(3))},58:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return c}));var n=r(28),i=r.n(n),a=r(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,r="object"===i()(e)?e.toString():e;return null==r||null===(t=r.replace)||void 0===t?void 0:t.call(r,/\/+$/,"")}},60:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n="core/ui"},63:function(e,t,r){"use strict";function n(e){try{return new URL(e).pathname}catch(e){}return null}function i(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function a(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}))},65:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return i}));var n=r(109),i=r.n(n)()(e)}).call(this,r(18))},68:function(e,t,r){"use strict";(function(e){r.d(t,"c",(function(){return S})),r.d(t,"d",(function(){return w})),r.d(t,"b",(function(){return _})),r.d(t,"a",(function(){return j}));var n=r(12),i=r.n(n),a=r(28),o=r.n(a),c=r(6),u=r.n(c),s=r(16),l=r.n(s),f=r(26),d=r(64),p=r.n(d),g=r(1);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){u()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=m(e,t),n=r.formatUnit,i=r.formatDecimal;try{return n()}catch(e){return i()}},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var r=Math.floor(e/60/60),n=Math.floor(e/60%60),i=Math.floor(e%60);return{hours:r,minutes:n,seconds:i,formatUnit:function(){var a=t.unitDisplay,o=b(b({unitDisplay:void 0===a?"short":a},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(i,b(b({},o),{},{unit:"second"})):Object(g.sprintf)(
4
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
13
  Object(g.__)("%sK","google-site-kit"),w(h(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object(f.isFinite)(e)?e:Number(e),Object(f.isFinite)(e)||(console.warn("Invalid number",e,o()(e)),e=0);var r={};if("%"===t)r={style:"percent",maximumFractionDigits:2};else{if("s"===t)return y(e,{unitDisplay:"narrow"});t&&"string"==typeof t?r={style:"currency",currency:t}:Object(f.isPlainObject)(t)&&(r=b({},t))}var n=r,i=n.style,a=void 0===i?"metric":i;return"metric"===a?O(e):"duration"===a?y(e,t):w(e,r)},E=p()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,a=l()(t,["locale"]);try{return new Intl.NumberFormat(n,a).format(e)}catch(t){E("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(n),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},u=["signDisplay","compactDisplay"],s={},f=0,d=Object.entries(a);f<d.length;f++){var p=i()(d[f],2),g=p[0],v=p[1];c[g]&&v===c[g]||(u.includes(g)||(s[g]=v))}try{return new Intl.NumberFormat(n,s).format(e)}catch(t){return new Intl.NumberFormat(n).format(e)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.locale,n=void 0===r?j():r,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var u=new Intl.ListFormat(n,{style:a,type:c});return u.format(e)}
14
  /* translators: used between list items, there is a space after the comma. */var s=Object(g.__)(", ","google-site-kit");return e.join(s)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=Object(f.get)(t,["_googlesitekitLegacyData","locale"]);if(r){var n=r.match(/^(\w{2})?(_)?(\w{2})/);if(n&&n[0])return n[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,r(18))},69:function(e,t,r){"use strict";r.d(t,"a",(function(){return I})),r.d(t,"b",(function(){return T})),r.d(t,"c",(function(){return D})),r.d(t,"d",(function(){return R})),r.d(t,"e",(function(){return P})),r.d(t,"g",(function(){return C})),r.d(t,"f",(function(){return N}));var n,i=r(5),a=r.n(i),o=r(24),c=r.n(o),u=r(6),s=r.n(u),l=r(7),f=r.n(l),d=r(202),p=r.n(d),g=r(64),v=r.n(g),b=r(98);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){s()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.reduce((function(e,t){return m(m({},e),t)}),{}),i=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),a=x(i);return f()(0===a.length,"collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: ".concat(a.join(", "),". Check your data stores for duplicates.")),n},O=h,S=h,E=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,i=[].concat(t);return"function"!=typeof i[0]&&(n=i.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.reduce((function(e,r){return r(e,t)}),e)}},w=h,_=h,j=h,k=function(e){return e},I=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=j.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:n,controls:S.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:O.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:E.apply(void 0,[n].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:w.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:_.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},T={getRegistry:function(){return{payload:{},type:"GET_REGISTRY"}},await:a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{payload:{value:t},type:"AWAIT"});case 1:case"end":return e.stop()}}),e)}))},D=(n={},s()(n,"GET_REGISTRY",Object(b.d)((function(e){return function(){return e}}))),s()(n,"AWAIT",(function(e){return e.payload.value})),n),x=function(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n];r[i]=r[i]>=1?r[i]+1:1,r[i]>1&&t.push(i)}return t},R={actions:T,controls:D,reducer:k},P=function(e){return function(t){return A(e(t))}},A=v()((function(e){return p()(e,(function(e,t){return function(){var r=e.apply(void 0,arguments);return f()(void 0!==r,"".concat(t,"(...) is not resolved")),r}}))}));function C(e){return{safeSelector:Object(b.e)((function(t){return function(r){try{for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return e.apply(void 0,[t,r].concat(i)),!0}catch(e){return!1}}})),dangerousSelector:Object(b.e)((function(t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];e.apply(void 0,[t,r].concat(i))}}))}}function N(e,t){return f()("function"==typeof e,"a validator function is required."),f()("function"==typeof t,"an action creator function is required."),f()("Generator"!==e[Symbol.toStringTag]&&"GeneratorFunction"!==e[Symbol.toStringTag],"an action’s validator function must not be a generator."),function(){return e.apply(void 0,arguments),t.apply(void 0,arguments)}}},70:function(e,t,r){"use strict";r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a}));var n=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},700:function(e,t,r){"use strict";(function(e){var n,i=r(5),a=r.n(i),o=r(13),c=r.n(o),u=r(29),s=r(1),l=r(22),f=r(19),d=r(37),p={slug:"ideaHubModule",contexts:[l.g],version:"1.43.0",checkRequirements:(n=c()(a.a.mark((function e(t){var r,n,i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.__experimentalResolveSelect(f.a).getModules();case 2:if(r=t.select(f.a).isModuleActive("idea-hub"),n=t.select(f.a).isModuleConnected("idea-hub"),r&&n){e.next=6;break}return e.abrupt("return",!1);case 6:return e.next=8,t.__experimentalResolveSelect(d.p).getNewIdeas();case 8:return i=e.sent,e.abrupt("return",!!i.length);case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)}),steps:[{target:".googlesitekit-widget--ideaHubIdeas",title:Object(s.__)("Get inspiration for new topics to write about!","google-site-kit"),content:Object(s.__)("These ideas are based on unanswered searches related to the content of your site. They are organized by topics and will refresh every 2-3 days.","google-site-kit")},{target:".googlesitekit-idea-hub__actions--create",title:Object(s.__)("Start a draft","google-site-kit"),content:Object(s.__)("Found an interesting idea you want to write about? Create a draft! You can always get back to it later on the Posts page.","google-site-kit")},{target:".googlesitekit-idea-hub__idea--single",title:Object(s.__)("Save for later or dismiss","google-site-kit"),content:Object(s.__)('If you’re not ready to create a draft about an idea just yet, add it to your "Saved" list and revisit later. If you don’t like an idea, you can dismiss it from your list.',"google-site-kit"),placement:"top"}],gaEventCategory:d.j,callback:function(t){var r=t.type,n=t.index;if([u.b.STEP_BEFORE,u.b.STEP_AFTER].includes(r)&&2===n){var i="googlesitekit-idea-hub__actions--unhide",a=e.document.querySelector(".googlesitekit-idea-hub__actions--pin"),o=e.document.querySelector(".googlesitekit-idea-hub__actions--delete");a&&o&&(r===u.b.STEP_BEFORE&&(a.classList.add(i),o.classList.add(i)),r===u.b.STEP_AFTER&&(a.classList.remove(i),o.classList.remove(i)))}}};t.a=p}).call(this,r(18))},704:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(4),l=r.n(s),f=r(11);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var g=l.a.createRegistrySelector,v={permissionError:null,capabilities:void 0},b={clearPermissionScopeError:function(){return{payload:{},type:"CLEAR_PERMISSION_SCOPE_ERROR"}},setPermissionScopeError:function(e){return u()(e,"permissionError is required."),{payload:{permissionError:e},type:"SET_PERMISSION_SCOPE_ERROR"}},receiveCapabilities:function(e){return{type:"RECEIVE_CAPABILITIES",payload:{capabilities:e}}}},y={getCapabilities:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.a.commonActions.getRegistry();case 2:if(!t.sent.select(f.a).getCapabilities()){t.next=5;break}return t.abrupt("return");case 5:return(null===(r=e._googlesitekitUserData)||void 0===r?void 0:r.permissions)||e.console.error("Could not load core/user permissions."),t.next=8,b.receiveCapabilities(null===(n=e._googlesitekitUserData)||void 0===n?void 0:n.permissions);case 8:case"end":return t.stop()}}),t)}))},m={getPermissionScopeError:function(e){return e.permissionError},getCapabilities:function(e){return e.capabilities},hasCapability:g((function(e){return function(t,r){var n=e(f.a).getCapabilities();if(n)return!!n[r]}}))};t.a={initialState:v,actions:b,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"CLEAR_PERMISSION_SCOPE_ERROR":return p(p({},e),{},{permissionError:null});case"SET_PERMISSION_SCOPE_ERROR":var i=n.permissionError;return p(p({},e),{},{permissionError:i});case"RECEIVE_CAPABILITIES":var a=n.capabilities;return p(p({},e),{},{capabilities:a});default:return e}},resolvers:y,selectors:m}}).call(this,r(18))},705:function(e,t,r){"use strict";(function(e){var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(7),u=r.n(c),s=r(276),l=r(4),f=r.n(l),d=r(11);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=f.a.createRegistrySelector,b={connectURL:void 0,initialVersion:void 0,user:void 0,verified:void 0},y={receiveConnectURL:function(e){return u()(e,"connectURL is required."),{payload:{connectURL:e},type:"RECEIVE_CONNECT_URL"}},receiveUserInfo:function(e){return u()(e,"userInfo is required."),{payload:{user:e},type:"RECEIVE_USER_INFO"}},receiveInitialSiteKitVersion:function(e){return u()(e,"initialVersion is required."),{payload:{initialVersion:e},type:"RECEIVE_USER_INITIAL_SITE_KIT_VERSION"}},receiveUserIsVerified:function(e){return u()(void 0!==e,"userIsVerified is required."),{payload:{verified:e},type:"RECEIVE_USER_IS_VERIFIED"}},receiveUserInputState:function(e){return u()(e,"userInputState is required."),{payload:{userInputState:e},type:"RECEIVE_USER_INPUT_STATE"}}},m={getConnectURL:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getConnectURL()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.connectURL,t.next=12,y.receiveConnectURL(n);case 12:case"end":return t.stop()}}),t)})),getUser:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getUser()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.user,t.next=12,y.receiveUserInfo(n);case 12:case"end":return t.stop()}}),t)})),getInitialSiteKitVersion:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).getInitialSiteKitVersion()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:if(!(n=e._googlesitekitUserData.initialVersion)){t.next=13;break}return t.next=13,y.receiveInitialSiteKitVersion(n);case 13:case"end":return t.stop()}}),t)})),isVerified:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,void 0===(0,r.select)(d.a).isVerified()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.verified,t.next=12,y.receiveUserIsVerified(n);case 12:case"end":return t.stop()}}),t)})),getUserInputState:i.a.mark((function t(){var r,n;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.a.commonActions.getRegistry();case 2:if(r=t.sent,!(0,r.select)(d.a).getUserInputState()){t.next=6;break}return t.abrupt("return");case 6:if(e._googlesitekitUserData){t.next=9;break}return e.console.error("Could not load core/user info."),t.abrupt("return");case 9:return n=e._googlesitekitUserData.userInputState,t.next=12,y.receiveUserInputState(n);case 12:case"end":return t.stop()}}),t)}))},h={getUser:function(e){return e.user},getConnectURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.additionalScopes,n=void 0===r?[]:r,i=t.redirectURL,a=void 0===i?void 0:i,o=e.connectURL,c={redirect:a};if(void 0!==o){if(null==n?void 0:n.length){var u=n.map((function(e){return e.replace(/^http(s)?:/,"gttp$1:")}));return Object(s.a)(o,g(g({},c),{},{additional_scopes:u}))}return Object(s.a)(o,c)}},getID:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.id:t}})),getName:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.name:t}})),getEmail:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.email:t}})),getPicture:v((function(e){return function(){var t=e(d.a).getUser();return void 0!==t?t.picture:t}})),getInitialSiteKitVersion:function(e){return e.initialVersion},isVerified:function(e){return e.verified},getUserInputState:function(e){return e.userInputState}};t.a={initialState:b,actions:y,controls:{},reducer:function(e,t){var r=t.type,n=t.payload;switch(r){case"RECEIVE_CONNECT_URL":var i=n.connectURL;return g(g({},e),{},{connectURL:i});case"RECEIVE_USER_INFO":var a=n.user;return g(g({},e),{},{user:a});case"RECEIVE_USER_INITIAL_SITE_KIT_VERSION":var o=n.initialVersion;return g(g({},e),{},{initialVersion:o});case"RECEIVE_USER_IS_VERIFIED":var c=n.verified;return g(g({},e),{},{verified:c});case"RECEIVE_USER_INPUT_STATE":var u=n.userInputState;return g(g({},e),{},{userInputState:u});default:return e}},resolvers:m,selectors:h}}).call(this,r(18))},74:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return u})),r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return f}));var n=r(12),i=r.n(n),a=r(1);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,r=null,n=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),i=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(n&&i)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),r=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===r)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var u=document.createElement("span");return u.setAttribute("class","screen-reader-text"),u.textContent=Object(a.sprintf)(
15
  /* translators: %d is the number of notifications */
16
+ Object(a._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(u),t&&null===n&&t.appendChild(o),r&&null===i&&r.appendChild(o),o},s=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),r={},n=0;n<t.length;n++)r[t[n].split("=")[0]]=decodeURIComponent(t[n].split("=")[1]);return e?r.hasOwnProperty(e)?decodeURIComponent(r[e].replace(/\+/g," ")):"":r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:location,r=new URL(t.href);if(e)return r.searchParams&&r.searchParams.get?r.searchParams.get(e):l(e);var n,a={},c=o(r.searchParams.entries());try{for(c.s();!(n=c.n()).done;){var u=i()(n.value,2),s=u[0],f=u[1];a[s]=f}}catch(e){c.e(e)}finally{c.f()}return a}}).call(this,r(18))},76:function(e,t,r){"use strict";(function(e){r(44),r(45)}).call(this,r(18))},77:function(e,t,r){"use strict";(function(e){r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return c}));var n=r(184),i=r(56),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=r.invertColor,o=void 0!==a&&a;return Object(n.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,r,n,i,a,o,c,u,s,l,f,d,p,g,v;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(r=t.data)||void 0===r||null===(n=r.rows)||void 0===n?void 0:n.length)||(null==e||null===(i=e[0])||void 0===i||null===(a=i.data)||void 0===a||null===(o=a.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==e||null===(f=e[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(g=p[0])||void 0===g||null===(v=g.values)||void 0===v?void 0:v[0])},c=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,r(3))},78:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return l}));var n=r(6),i=r.n(n),a=r(79),o=r(80);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var s={currentUserRoles:[],activeModules:[],trackingEnabled:!1,trackingID:"",referenceSiteURL:"",userIDHash:""};function l(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=u(u({},s),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(a.a)(i,r);return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:Object(o.a)(i,r,c,n)}}}).call(this,r(18))},79:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return a}));var n=r(47),i=r(27);function a(t,r){var a,o=Object(n.a)(r);return function(){var r=e.document;if(void 0===a&&(a=!!r.querySelector("script[".concat(i.b,"]"))),!a){var n=r.createElement("script");n.setAttribute(i.b,""),n.async=!0,n.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),r.head.appendChild(n),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),a=!0}}}}).call(this,r(18))},8:function(e,t,r){"use strict";r.d(t,"v",(function(){return c.b})),r.d(t,"s",(function(){return u.a})),r.d(t,"w",(function(){return u.b})),r.d(t,"u",(function(){return p})),r.d(t,"c",(function(){return g.b})),r.d(t,"j",(function(){return g.c})),r.d(t,"q",(function(){return v.c})),r.d(t,"r",(function(){return v.d})),r.d(t,"n",(function(){return v.b})),r.d(t,"i",(function(){return v.a})),r.d(t,"o",(function(){return h})),r.d(t,"d",(function(){return O})),r.d(t,"f",(function(){return S.c})),r.d(t,"t",(function(){return S.i})),r.d(t,"g",(function(){return E.b})),r.d(t,"m",(function(){return E.c})),r.d(t,"b",(function(){return E.a})),r.d(t,"l",(function(){return w.b})),r.d(t,"h",(function(){return w.a})),r.d(t,"p",(function(){return w.c})),r.d(t,"k",(function(){return _})),r.d(t,"a",(function(){return j})),r.d(t,"x",(function(){return k})),r.d(t,"e",(function(){return I}));var n=r(108),i=r.n(n),a=r(107),o=r.n(a),c=r(30),u=r(58),s=r(28),l=r.n(s),f=r(72),d=r.n(f),p=function(e){return d()(JSON.stringify(function e(t){var r={};return Object.keys(t).sort().forEach((function(n){var i=t[n];i&&"object"===l()(i)&&!Array.isArray(i)&&(i=e(i)),r[n]=i})),r}(e)))};var g=r(74),v=(r(76),r(68));r(51);function b(e){return e.replace(/\[([^\]]+)\]\((https?:\/\/[^\/]+\.\w+\/?.*?)\)/gi,'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function y(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function h(e){for(var t=e,r=0,n=[b,y,m];r<n.length;r++){t=(0,n[r])(t)}return t}var O=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)]},S=r(53),E=r(77),w=r(63),_=function(e){switch(e){case"minute":return 60;case"hour":return 3600;case"day":return 86400;case"week":return 604800;case"month":return 2592e3;case"year":return 31536e3}},j=function(e,t){if("0"===e||0===e||isNaN(e))return null;var r=(t-e)/e;return isNaN(r)||!i()(r)?null:r},k=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},I=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return o()(t)}},80:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n=r(5),i=r.n(n),a=r(6),o=r.n(a),c=r(13),u=r.n(c),s=r(47),l=r(33);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(t,r,n,a){var o=Object(s.a)(r);return function(){var r=u()(i.a.mark((function r(c,u,s,f){var p,g,v,b,y,m,h,O,S,E;return i.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(b=t.activeModules,y=t.referenceSiteURL,m=t.trackingEnabled,h=t.trackingID,O=t.userIDHash,m){r.next=3;break}return r.abrupt("return");case 3:return n(),S=null!==(p=null===(g=e._googlesitekitUserData)||void 0===g||null===(v=g.user)||void 0===v?void 0:v.roles)&&void 0!==p?p:[],E={send_to:h,event_category:c,event_label:s,value:f,dimension1:y,dimension2:S.join(","),dimension3:O,dimension4:"1.48.1",dimension5:Array.from(l.a).join(","),dimension6:b.join(",")},r.abrupt("return",new Promise((function(e){var t,r,n=setTimeout((function(){a.console.warn('Tracking event "'.concat(u,'" (category "').concat(c,'") took too long to fire.')),e()}),1e3),i=function(){clearTimeout(n),e()};o("event",u,d(d({},E),{},{event_callback:i})),(null===(t=a._gaUserPrefs)||void 0===t||null===(r=t.ioo)||void 0===r?void 0:r.call(t))&&i()})));case 7:case"end":return r.stop()}}),r)})));return function(e,t,n,i){return r.apply(this,arguments)}}()}}).call(this,r(18))},89:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"b",(function(){return a}));r(50);var n="missing_required_scopes";function i(e){return(null==e?void 0:e.code)===n}function a(e){var t;return"insufficientPermissions"===(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}}},[[1040,1,0]]]);
dist/assets/js/{googlesitekit-i18n-67d1c132a4d2e46fbb9f.min.js → googlesitekit-i18n-67d1c132a4d2e46fbb9f.js} RENAMED
File without changes
dist/assets/js/{googlesitekit-idea-hub-notice-622bf58aaac3ca9c58a0.min.js → googlesitekit-idea-hub-notice-f93f02759590da900e01.js} RENAMED
@@ -1,3 +1,3 @@
1
  (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[15],{1:function(t,e){t.exports=googlesitekit.i18n},1026:function(t,e,r){"use strict";r.r(e),function(t){var e=r(5),n=r.n(e),a=r(13),u=r.n(a),c=r(1),o=r(38),i=function(t){return"modules::idea-hub::dismissed-editor-notice-".concat(t)};(function(){var e=u()(n.a.mark((function e(){var r,a,s,p,f,l,d=arguments;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=d.length>0&&void 0!==d[0]?d[0]:t,a=r.wp,s=[],p=function(t){var e=a.data.select("core/notices").getNotices();if(void 0!==e){var r=i(t);return e.some((function(t){return t.id===r}))}},f=function(){var t=u()(n.a.mark((function t(){var e,r,u,f,d;return n.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=null===(e=a.data.select("core/editor"))||void 0===e?void 0:e.getCurrentPostId()){t.next=3;break}return t.abrupt("return");case 3:return u=i(r),t.next=6,Object(o.b)(u);case 6:if(f=t.sent,!f.cacheHit){t.next=11;break}return l(),t.abrupt("return");case 11:if(!1!==p(r)||!s.includes(u)){t.next=15;break}return Object(o.d)(u,!0,{ttl:108e3}),l(),t.abrupt("return");case 15:(null==(d=a.data.select("core/editor").getEditedPostAttribute("meta"))?void 0:d.googlesitekitpersistent_idea_text)&&!s.includes(u)&&(a.data.dispatch("core/notices").createInfoNotice(Object(c.sprintf)(
2
  /* translators: %s: Idea post name */
3
- Object(c.__)("This post was created from an idea you picked in Site Kit’s Idea Hub: %s","google-site-kit"),d.googlesitekitpersistent_idea_text),{id:u}),s.push(u));case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),l=a.data.subscribe(f);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}.call(this,r(18))},38:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return h})),r.d(e,"d",(function(){return x})),r.d(e,"a",(function(){return m})),r.d(e,"c",(function(){return g}));var n=r(5),a=r.n(n),u=r(13),c=r.n(u);r(24);function o(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){o=!0,u=t},f:function(){try{c||null==r.return||r.return()}finally{if(o)throw u}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s,p="googlesitekit_".concat("1.48.0","_"),f=["sessionStorage","localStorage"],l=[].concat(f),d=function(){var e=c()(a.a.mark((function e(r){var n,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t[r]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,u="__storage_test__",n.setItem(u,u),n.removeItem(u),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==n.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function v(){return b.apply(this,arguments)}function b(){return(b=c()(a.a.mark((function e(){var r,n,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:r=o(l),e.prev=3,r.s();case 5:if((n=r.n()).done){e.next=15;break}if(u=n.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,d(u);case 11:if(!e.sent){e.next=13;break}s=t[u];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var t=c()(a.a.mark((function t(e){var r,n,u,c,o,i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=10;break}if(!(n=r.getItem("".concat(p).concat(e)))){t.next=10;break}if(u=JSON.parse(n),c=u.timestamp,o=u.ttl,i=u.value,s=u.isError,!c||o&&!(Math.round(Date.now()/1e3)-c<o)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:i,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),x=function(){var e=c()(a.a.mark((function e(r,n){var u,c,o,i,s,f,l,d,b=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=b.length>2&&void 0!==b[2]?b[2]:{},c=u.ttl,o=void 0===c?3600:c,i=u.timestamp,s=void 0===i?Math.round(Date.now()/1e3):i,f=u.isError,l=void 0!==f&&f,e.next=3,v();case 3:if(!(d=e.sent)){e.next=14;break}return e.prev=5,d.setItem("".concat(p).concat(r),JSON.stringify({timestamp:s,ttl:o,value:n,isError:l})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,r){return e.apply(this,arguments)}}(),m=function(){var e=c()(a.a.mark((function e(r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=13;break}return e.prev=4,n.removeItem("".concat(p).concat(r)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=c()(a.a.mark((function e(){var r,n,u,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(r=e.sent)){e.next=14;break}for(e.prev=4,n=[],u=0;u<r.length;u++)0===(c=r.key(u)).indexOf(p)&&n.push(c.substring(p.length));return e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(18))}},[[1026,1,0]]]);
1
  (window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[15],{1:function(t,e){t.exports=googlesitekit.i18n},1026:function(t,e,r){"use strict";r.r(e),function(t){var e=r(5),n=r.n(e),a=r(13),u=r.n(a),c=r(1),o=r(38),i=function(t){return"modules::idea-hub::dismissed-editor-notice-".concat(t)};(function(){var e=u()(n.a.mark((function e(){var r,a,s,p,f,l,d=arguments;return n.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=d.length>0&&void 0!==d[0]?d[0]:t,a=r.wp,s=[],p=function(t){var e=a.data.select("core/notices").getNotices();if(void 0!==e){var r=i(t);return e.some((function(t){return t.id===r}))}},f=function(){var t=u()(n.a.mark((function t(){var e,r,u,f,d;return n.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=null===(e=a.data.select("core/editor"))||void 0===e?void 0:e.getCurrentPostId()){t.next=3;break}return t.abrupt("return");case 3:return u=i(r),t.next=6,Object(o.b)(u);case 6:if(f=t.sent,!f.cacheHit){t.next=11;break}return l(),t.abrupt("return");case 11:if(!1!==p(r)||!s.includes(u)){t.next=15;break}return Object(o.d)(u,!0,{ttl:108e3}),l(),t.abrupt("return");case 15:(null==(d=a.data.select("core/editor").getEditedPostAttribute("meta"))?void 0:d.googlesitekitpersistent_idea_text)&&!s.includes(u)&&(a.data.dispatch("core/notices").createInfoNotice(Object(c.sprintf)(
2
  /* translators: %s: Idea post name */
3
+ Object(c.__)("This post was created from an idea you picked in Site Kit’s Idea Hub: %s","google-site-kit"),d.googlesitekitpersistent_idea_text),{id:u}),s.push(u));case 17:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),l=a.data.subscribe(f);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}.call(this,r(18))},38:function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return h})),r.d(e,"d",(function(){return x})),r.d(e,"a",(function(){return m})),r.d(e,"c",(function(){return g}));var n=r(5),a=r.n(n),u=r(13),c=r.n(u);r(24);function o(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,c=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){o=!0,u=t},f:function(){try{c||null==r.return||r.return()}finally{if(o)throw u}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var s,p="googlesitekit_".concat("1.48.1","_"),f=["sessionStorage","localStorage"],l=[].concat(f),d=function(){var e=c()(a.a.mark((function e(r){var n,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t[r]){e.next=3;break}return e.abrupt("return",!1);case 3:return e.prev=3,u="__storage_test__",n.setItem(u,u),n.removeItem(u),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",e.t0 instanceof DOMException&&(22===e.t0.code||1014===e.t0.code||"QuotaExceededError"===e.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.t0.name)&&0!==n.length);case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();function v(){return b.apply(this,arguments)}function b(){return(b=c()(a.a.mark((function e(){var r,n,u;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===s){e.next=2;break}return e.abrupt("return",s);case 2:r=o(l),e.prev=3,r.s();case 5:if((n=r.n()).done){e.next=15;break}if(u=n.value,!s){e.next=9;break}return e.abrupt("continue",13);case 9:return e.next=11,d(u);case 11:if(!e.sent){e.next=13;break}s=t[u];case 13:e.next=5;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(3),r.e(e.t0);case 20:return e.prev=20,r.f(),e.finish(20);case 23:return void 0===s&&(s=null),e.abrupt("return",s);case 25:case"end":return e.stop()}}),e,null,[[3,17,20,23]])})))).apply(this,arguments)}var h=function(){var t=c()(a.a.mark((function t(e){var r,n,u,c,o,i,s;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(r=t.sent)){t.next=10;break}if(!(n=r.getItem("".concat(p).concat(e)))){t.next=10;break}if(u=JSON.parse(n),c=u.timestamp,o=u.ttl,i=u.value,s=u.isError,!c||o&&!(Math.round(Date.now()/1e3)-c<o)){t.next=10;break}return t.abrupt("return",{cacheHit:!0,value:i,isError:s});case 10:return t.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),x=function(){var e=c()(a.a.mark((function e(r,n){var u,c,o,i,s,f,l,d,b=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return u=b.length>2&&void 0!==b[2]?b[2]:{},c=u.ttl,o=void 0===c?3600:c,i=u.timestamp,s=void 0===i?Math.round(Date.now()/1e3):i,f=u.isError,l=void 0!==f&&f,e.next=3,v();case 3:if(!(d=e.sent)){e.next=14;break}return e.prev=5,d.setItem("".concat(p).concat(r),JSON.stringify({timestamp:s,ttl:o,value:n,isError:l})),e.abrupt("return",!0);case 10:return e.prev=10,e.t0=e.catch(5),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[5,10]])})));return function(t,r){return e.apply(this,arguments)}}(),m=function(){var e=c()(a.a.mark((function e(r){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(n=e.sent)){e.next=13;break}return e.prev=4,n.removeItem("".concat(p).concat(r)),e.abrupt("return",!0);case 9:return e.prev=9,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",!1);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,9]])})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=c()(a.a.mark((function e(){var r,n,u,c;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:if(!(r=e.sent)){e.next=14;break}for(e.prev=4,n=[],u=0;u<r.length;u++)0===(c=r.key(u)).indexOf(p)&&n.push(c.substring(p.length));return e.abrupt("return",n);case 10:return e.prev=10,e.t0=e.catch(4),t.console.warn("Encountered an unexpected storage error:",e.t0),e.abrupt("return",[]);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}()}).call(this,r(18))}},[[1026,1,0]]]);
dist/assets/js/{googlesitekit-idea-hub-post-list-82eda9bb847c936a68ac.min.js → googlesitekit-idea-hub-post-list-d0f440ba807fbe10ed7c.js} RENAMED
@@ -4,7 +4,7 @@ Object(m.__)("Text input for option %s","google-site-kit"),r))),e.createElement(
4
  /* translators: %s: the number of answers. */
5
  Object(m.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(v.a,{onClick:function(){var e=Object.values(N).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));i({answer:e})},disabled:R},k)))};E.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=E}).call(this,n(3))},179:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(12),o=n.n(i),c=n(0),l=n.n(c),s=n(2),u=n(20),d=n(54),f=n(180);function g(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,i=t.dismissSurvey,c=t.submitButtonText,l=Object(s.useState)(""),g=o()(l,2),m=g[0],v=g[1],b=Object(s.useState)(""),h=o()(b,2),y=h[0],_=h[1],k=r.map((function(e){return p(p({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),O=!!m&&k.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===m&&n})).length>0,E=""===m||O&&""===y;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:i}),e.createElement("div",{className:"googlesitekit-survey__body"},k.map((function(t,n){return e.createElement(f.a,{key:n,value:m,setValue:v,writeIn:y,setWriteIn:_,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.a,{onClick:function(){var e=O?{answer_text:y}:{};a({answer:p({answer_ordinal:Number(m)},e)})},disabled:E},c)))};m.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=m}).call(this,n(3))},180:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(1),c=n(155),l=n(14),s=n(52),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,a=t.writeIn,u=t.setWriteIn,d=t.choice,f=d.answer_ordinal,g=d.text,p=d.write_in,m=n===f,v="googlesitekit-survey__multi-select-".concat(f,"-").concat(g);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.a,{id:g.replace(/ /g,"-"),value:f,checked:m,name:g,onClick:function(){return r(f)}},g),p&&e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:v},Object(o.sprintf)(
6
  /* translators: %s: Option name */
7
- Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.n,null,e.createElement(l.d,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:a,disabled:!m}))))};u.propTypes={choice:a.a.shape({answer_ordinal:a.a.oneOfType([a.a.string,a.a.number]),text:a.a.string,write_in:a.a.bool}),value:a.a.string.isRequired,setValue:a.a.func.isRequired,writeIn:a.a.string.isRequired,setWriteIn:a.a.func.isRequired},t.a=u}).call(this,n(3))},181:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),a=n(112),i=n(4),o=n.n(i),c=n(15),l=n(21),s=o.a.useSelect;function SurveyTerms(){var t=s((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=s((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(a.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(l.a,{href:t,inherit:!0,external:!0}),terms:e.createElement(l.a,{href:n,inherit:!0,external:!0})}))}}).call(this,n(3))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},20:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(9),l=n.n(c),s=n(0),u=n.n(s),d=n(115),f=n(277),g=n(2),p=n(1),m=n(14),v=Object(g.forwardRef)((function(t,n){var r=t.children,i=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],k=t.title,O=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title"]),E=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),w=Object(d.a)(n,E),j=i&&!v?"a":"button",S=e.createElement(j,a()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:i,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===j?"button":void 0},O),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return h&&(k||_)&&void 0===r?e.createElement(f.a,{title:k||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},S):S}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null},t.a=v}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s),d=n(119),f=n(1),g=n(2),p=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,p=t.className,m=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inherit,k=t.inverse,O=t.onClick,E=t.small,w=t.to,j=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||w||!O?w?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",N=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:i);return e.createElement(x,a()({"aria-label":N,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:O,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:w},j),g)}));p.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=p}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r="dashboard",a="pageDashboard",i="postsList",o="userInput",c="activation",l="splash",s="adminBar",u="settings",d="module",f="wpDashboard",g="moduleSetup",p="traffic",m="content",v="speed",b="monetization"},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),p=u.trackEvent;function m(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.0","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,p();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),p=n.n(g),m=n(230),v=n.n(m),b=n(99),h=n(2),y=n(86),_=n(58),k=n(73),O=n(20),E=n(154),w=n(113),j=n(21),S=n(118),x=n(38),N=n(8),C=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,m=t.ctaTarget,T=t.description,P=t.dismiss,D=t.dismissExpires,R=t.format,q=t.id,I=t.isDismissible,A=t.learnMoreDescription,L=t.learnMoreLabel,M=t.learnMoreURL,z=t.logo,F=t.module,B=t.moduleName,U=t.onCTAClick,H=t.onDismiss,K=t.pageIndex,V=t.showOnce,Q=t.SmallImageSVG,$=t.title,G=t.type,J=t.WinImageSVG,W=Object(h.useState)(!1),X=u()(W,2),Y=X[0],Z=X[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(h.useRef)(),ie="notification::dismissed::".concat(q),oe=function(){return Object(x.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(N.v)("".concat(C.g,"_site-notification"),"dismiss_notification",q);case 4:if(!H){e.next=7;break}return e.next=7,H(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;Z(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"confirm_notification",q);case 3:if(!U){e.next=6;break}return e.next=6,U(t);case 6:I&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"click_learn_more_link",q);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(D,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(x.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.v)("".concat(C.g,"_site-notification"),"view_notification",q);case 2:if(!(D>0)){e.next=5;break}return e.next=5,de();case 5:if(!I){e.next=11;break}return e.next=8,Object(x.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),I&&(void 0===ne||ne))return null;var ge,pe=Y?"is-closed":"is-open",me="large"===R&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===R?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",me&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===R&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(E.a,{width:34}):"win-error"===G?e.createElement(w.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:p()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":me,"mdc-layout-grid__cell--span-4-desktop":!me})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(k.a,t)))})))),he=e.createElement(h.Fragment,null,$&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},$),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(j.a,{href:r},i)),T&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(T)?T:e.createElement("span",{dangerouslySetInnerHTML:Object(_.a)(T,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),L&&e.createElement(h.Fragment,null," ",e.createElement(j.a,{onClick:function(e){return ue.apply(this,arguments)},href:M,external:!0,inherit:!0},L),A),K&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},K))),s),ye=F?e.createElement(S.a,{slug:F,size:19}):e.createElement(y.a,{height:"34",width:"32"});return e.createElement("section",{id:q,ref:ae,className:p()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(R),R),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(pe),pe),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:p()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":me,"mdc-layout-grid__cell--order-1-tablet":me})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},ye),B&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},B)),Q&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(Q,null)),e.createElement("div",{className:p()("mdc-layout-grid__cell",ve)},me?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(O.a,{className:"googlesitekit-notification__cta",href:g,target:m,onClick:function(e){return se.apply(this,arguments)}},f),I&&P&&e.createElement(j.a,{onClick:function(e){return ce.apply(this,arguments)}},P)),J&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(J,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
8
  /* translators: %s: number of days */
9
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},63:function(e,t,n){"use strict";function r(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 i(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}))},65:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(109),a=n.n(r)()(e)}).call(this,n(18))},68:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return j}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(26),f=n(64),g=n.n(f),p=n(1);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
10
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
@@ -19,6 +19,6 @@ Object(p.__)("%sK","google-site-kit"),E(y(e))):1e3<=e?Object(p.sprintf)(// trans
19
  Object(p.__)("%sK","google-site-kit"),E(y(e),e%10==0?{}:t)):E(e,{signDisplay:"never",maximumFractionDigits:1})},k=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?_(e):"duration"===i?b(e,t):E(e,n)},O=g()(console.warn),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){O("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(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)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)}
20
  /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return e.join(s)},j=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),p=n.n(g),m=n(0),v=n.n(m),b=n(9),h=n.n(b),y=n(2),_=n(1),k=n(56),O=n(94),E=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var j=function(t){u()(DataBlock,t);var n=w(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,p=t.invertChangeColor,m="button"===l?"button":"",v=g;v&&p&&(v=Object(y.cloneElement)(g,{invertChangeColor:p}));var b=o;c&&(b="%"===c?Object(E.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(E.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var w=void 0===a?a:Object(E.q)(a,i||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&m,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},w)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(y.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(k.a,{direction:0<parseFloat(o)?"up":"down",invertColor:p})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(O.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(y.Component);j.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},j.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=j}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(i.sprintf)(
21
  /* translators: %d is the number of notifications */
22
- Object(i._n)("%d notification","%
4
  /* translators: %s: the number of answers. */
5
  Object(m.__)("Choose at least %s answers","google-site-kit"),u)),e.createElement(v.a,{onClick:function(){var e=Object.values(N).filter((function(e){return e.selected})).map((function(e){var t=e.answer_ordinal,n=e.answer_text;return n?{answer_ordinal:t,answer_text:n}:{answer_ordinal:t}}));i({answer:e})},disabled:R},k)))};E.propTypes={question:u.a.string.isRequired,choices:u.a.arrayOf(u.a.shape({answer_ordinal:u.a.oneOfType([u.a.string,u.a.number]),text:u.a.string,write_in:u.a.bool})).isRequired,answerQuestion:u.a.func.isRequired,dismissSurvey:u.a.func.isRequired,minChoices:u.a.number,maxChoices:u.a.number,submitButtonText:u.a.string.isRequired},t.a=E}).call(this,n(3))},179:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(12),o=n.n(i),c=n(0),l=n.n(c),s=n(2),u=n(20),d=n(54),f=n(180);function g(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function SurveyQuestionSingleSelect(t){var n=t.question,r=t.choices,a=t.answerQuestion,i=t.dismissSurvey,c=t.submitButtonText,l=Object(s.useState)(""),g=o()(l,2),m=g[0],v=g[1],b=Object(s.useState)(""),h=o()(b,2),y=h[0],_=h[1],k=r.map((function(e){return p(p({},e),{},{answer_ordinal:"".concat(e.answer_ordinal)})})),O=!!m&&k.filter((function(e){var t=e.answer_ordinal,n=e.write_in;return t===m&&n})).length>0,E=""===m||O&&""===y;return e.createElement("div",{className:"googlesitekit-single-select"},e.createElement(d.a,{title:n,dismissSurvey:i}),e.createElement("div",{className:"googlesitekit-survey__body"},k.map((function(t,n){return e.createElement(f.a,{key:n,value:m,setValue:v,writeIn:y,setWriteIn:_,choice:t})}))),e.createElement("div",{className:"googlesitekit-survey__footer"},e.createElement(u.a,{onClick:function(){var e=O?{answer_text:y}:{};a({answer:p({answer_ordinal:Number(m)},e)})},disabled:E},c)))};m.propTypes={question:l.a.string.isRequired,choices:l.a.arrayOf(l.a.shape({answer_ordinal:l.a.oneOfType([l.a.string,l.a.number]),text:l.a.string,write_in:l.a.bool})).isRequired,answerQuestion:l.a.func.isRequired,dismissSurvey:l.a.func.isRequired},t.a=m}).call(this,n(3))},180:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(2),o=n(1),c=n(155),l=n(14),s=n(52),u=function SurveyQuestionSingleSelectChoice(t){var n=t.value,r=t.setValue,a=t.writeIn,u=t.setWriteIn,d=t.choice,f=d.answer_ordinal,g=d.text,p=d.write_in,m=n===f,v="googlesitekit-survey__multi-select-".concat(f,"-").concat(g);return e.createElement("div",{className:"googlesitekit-single-select__choice"},e.createElement(c.a,{id:g.replace(/ /g,"-"),value:f,checked:m,name:g,onClick:function(){return r(f)}},g),p&&e.createElement(i.Fragment,null,e.createElement(s.a,null,e.createElement("label",{htmlFor:v},Object(o.sprintf)(
6
  /* translators: %s: Option name */
7
+ Object(o.__)("Text input for option %s","google-site-kit"),g))),e.createElement(l.n,null,e.createElement(l.d,{id:v,onChange:function(e){return u(e.target.value.slice(0,100))},value:a,disabled:!m}))))};u.propTypes={choice:a.a.shape({answer_ordinal:a.a.oneOfType([a.a.string,a.a.number]),text:a.a.string,write_in:a.a.bool}),value:a.a.string.isRequired,setValue:a.a.func.isRequired,writeIn:a.a.string.isRequired,setWriteIn:a.a.func.isRequired},t.a=u}).call(this,n(3))},181:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SurveyTerms}));var r=n(1),a=n(112),i=n(4),o=n.n(i),c=n(15),l=n(21),s=o.a.useSelect;function SurveyTerms(){var t=s((function(e){return e(c.c).getGooglePrivacyPolicyURL()})),n=s((function(e){return e(c.c).getGoogleTermsURL()}));return e.createElement("p",{className:"googlesitekit-survey__terms"},Object(a.a)(Object(r.__)("By continuing, you agree to allow Google to use your answers and account info to improve services, per our <privacy>Privacy</privacy> & <terms>Terms</terms>.","google-site-kit"),{privacy:e.createElement(l.a,{href:t,inherit:!0,external:!0}),terms:e.createElement(l.a,{href:n,inherit:!0,external:!0})}))}}).call(this,n(3))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="core/modules",a="insufficient_module_dependencies"},20:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(9),l=n.n(c),s=n(0),u=n.n(s),d=n(115),f=n(277),g=n(2),p=n(1),m=n(14),v=Object(g.forwardRef)((function(t,n){var r=t.children,i=t.href,c=t.text,s=t.className,u=t.danger,v=t.disabled,b=t.target,h=t.icon,y=t.trailingIcon,_=t["aria-label"],k=t.title,O=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title"]),E=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),w=Object(d.a)(n,E),j=i&&!v?"a":"button",S=e.createElement(j,a()({className:l()("mdc-button",s,{"mdc-button--raised":!c,"mdc-button--danger":u}),href:v?void 0:i,ref:w,disabled:!!v,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(p._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===j?"button":void 0},O),h,r&&e.createElement("span",{className:"mdc-button__label"},r),y);return h&&(k||_)&&void 0===r?e.createElement(f.a,{title:k||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},S):S}));v.displayName="Button",v.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string},v.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null},t.a=v}).call(this,n(3))},21:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s),d=n(119),f=n(1),g=n(2),p=Object(g.forwardRef)((function(t,n){var r,i=t["aria-label"],c=t.arrow,l=t.back,s=t.caps,g=t.children,p=t.className,m=t.danger,v=t.disabled,b=t.external,h=t.hideExternalIndicator,y=t.href,_=t.inherit,k=t.inverse,O=t.onClick,E=t.small,w=t.to,j=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),S=y||w||!O?w?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":v?"BUTTON_DISABLED":"BUTTON",x="BUTTON"===S||"BUTTON_DISABLED"===S?"button":"ROUTER_LINK"===S?d.b:"a",N=("EXTERNAL_LINK"===S&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===S&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?i?"".concat(i," ").concat(r):"string"==typeof g?"".concat(g," ").concat(r):void 0:i);return e.createElement(x,a()({"aria-label":N,className:u()("googlesitekit-cta-link",p,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!h,"googlesitekit-cta-link--inverse":k,"googlesitekit-cta-link--back":l,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":s,"googlesitekit-cta-link--danger":m,"googlesitekit-cta-link--disabled":v}),disabled:v,href:"LINK"===S||"EXTERNAL_LINK"===S?y:void 0,onClick:O,rel:"EXTERNAL_LINK"===S?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===S?"_blank":void 0,to:w},j),g)}));p.propTypes={arrow:l.a.bool,back:l.a.bool,caps:l.a.bool,children:l.a.node,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,external:l.a.bool,hideExternalIndicator:l.a.bool,href:l.a.string,inherit:l.a.bool,inverse:l.a.bool,onClick:l.a.func,small:l.a.bool,to:l.a.string},p.defaultProps={arrow:!1,back:!1,caps:!1,className:"",danger:!1,disabled:!1,external:!1,hideExternalIndicator:!1,href:"",inherit:!1,inverse:!1,small:!1},t.a=p}).call(this,n(3))},22:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"k",(function(){return a})),n.d(t,"l",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"m",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return b}));var r="dashboard",a="pageDashboard",i="postsList",o="userInput",c="activation",l="splash",s="adminBar",u="settings",d="module",f="wpDashboard",g="moduleSetup",p="traffic",m="content",v="speed",b="monetization"},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=Object(r.createContext)(""),i=(a.Consumer,a.Provider);t.b=a},27:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="_googlesitekitDataLayer",a="data-googlesitekit-gtag"},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return p}));var r=n(78),a=e._googlesitekitBaseData||{},i=a.activeModules,o=void 0===i?[]:i,c=a.isSiteKitScreen,l=a.trackingEnabled,s={activeModules:o,trackingEnabled:l,trackingID:a.trackingID,referenceSiteURL:a.referenceSiteURL,userIDHash:a.userIDHash,isSiteKitScreen:c},u=Object(r.a)(s),d=u.enableTracking,f=u.disableTracking,g=(u.isTrackingEnabled,u.initializeSnippet),p=u.trackEvent;function m(e){e?d():f()}c&&l&&g()}).call(this,n(18))},33:function(e,t,n){"use strict";(function(e){var r,a;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(r=e)||void 0===r||null===(a=r._googlesitekitBaseData)||void 0===a?void 0:a.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t instanceof Set&&t.has(e)}}).call(this,n(18))},34:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e instanceof Date&&!isNaN(e)}},38:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return y}));var r=n(5),a=n.n(r),i=n(13),o=n.n(i);n(24);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s,u="googlesitekit_".concat("1.48.1","_"),d=["sessionStorage","localStorage"],f=[].concat(d),g=function(){var t=o()(a.a.mark((function t(n){var r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,i="__storage_test__",r.setItem(i,i),r.removeItem(i),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function t(){var n,r,i;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===s){t.next=2;break}return t.abrupt("return",s);case 2:n=c(f),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(i=r.value,!s){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,g(i);case 11:if(!t.sent){t.next=13;break}s=e[i];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===s&&(s=null),t.abrupt("return",s);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var n,r,i,o,c,l,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(u).concat(t)))){e.next=10;break}if(i=JSON.parse(r),o=i.timestamp,c=i.ttl,l=i.value,s=i.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var t=o()(a.a.mark((function t(n,r){var i,o,c,l,s,d,f,g,m=arguments;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=m.length>2&&void 0!==m[2]?m[2]:{},o=i.ttl,c=void 0===o?3600:o,l=i.timestamp,s=void 0===l?Math.round(Date.now()/1e3):l,d=i.isError,f=void 0!==d&&d,t.next=3,p();case 3:if(!(g=t.sent)){t.next=14;break}return t.prev=5,g.setItem("".concat(u).concat(n),JSON.stringify({timestamp:s,ttl:c,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),h=function(){var t=o()(a.a.mark((function t(n){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=13;break}return t.prev=4,r.removeItem("".concat(u).concat(n)),t.abrupt("return",!0);case 9:return t.prev=9,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 13:return t.abrupt("return",!1);case 14:case"end":return t.stop()}}),t,null,[[4,9]])})));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=o()(a.a.mark((function t(){var n,r,i,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],i=0;i<n.length;i++)0===(o=n.key(i)).indexOf(u)&&r.push(o.substring(u.length));return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}()}).call(this,n(18))},39:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(35),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="string"==typeof e;if(!t)return!1;var n=e.split("-");return 3===n.length&&Object(r.a)(new Date(e))}},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},42:function(e,t,n){"use strict";(function(e){var r=n(6),a=n.n(r),i=n(5),o=n.n(i),c=n(13),l=n.n(c),s=n(12),u=n.n(s),d=n(0),f=n.n(d),g=n(9),p=n.n(g),m=n(230),v=n.n(m),b=n(99),h=n(2),y=n(86),_=n(58),k=n(73),O=n(20),E=n(154),w=n(113),j=n(21),S=n(118),x=n(38),N=n(8),C=n(22);function BannerNotification(t){var n,r=t.anchorLink,i=t.anchorLinkLabel,c=t.blockData,s=t.children,d=t.className,f=t.ctaLabel,g=t.ctaLink,m=t.ctaTarget,T=t.description,P=t.dismiss,D=t.dismissExpires,R=t.format,q=t.id,I=t.isDismissible,A=t.learnMoreDescription,L=t.learnMoreLabel,M=t.learnMoreURL,z=t.logo,F=t.module,B=t.moduleName,U=t.onCTAClick,H=t.onDismiss,K=t.pageIndex,V=t.showOnce,Q=t.SmallImageSVG,$=t.title,G=t.type,J=t.WinImageSVG,W=Object(h.useState)(!1),X=u()(W,2),Y=X[0],Z=X[1],ee=Object(h.useState)(!1),te=u()(ee,2),ne=te[0],re=te[1],ae=Object(h.useRef)(),ie="notification::dismissed::".concat(q),oe=function(){return Object(x.d)(ie,new Date,{ttl:null})};function ce(){return(ce=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),t.preventDefault(),e.next=4,Object(N.v)("".concat(C.g,"_site-notification"),"dismiss_notification",q);case 4:if(!H){e.next=7;break}return e.next=7,H(t);case 7:le();case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function le(){var e=ae.current;Z(!0),setTimeout(l()(o.a.mark((function t(){var n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,oe();case 2:(null==e?void 0:e.style)&&(e.style.display="none"),n=new Event("notificationDismissed"),document.dispatchEvent(n);case 5:case"end":return t.stop()}}),t)}))),350)}function se(){return(se=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"confirm_notification",q);case 3:if(!U){e.next=6;break}return e.next=6,U(t);case 6:I&&le();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(){return(ue=l()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.persist(),e.next=3,Object(N.v)("".concat(C.g,"_site-notification"),"click_learn_more_link",q);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function de(){return fe.apply(this,arguments)}function fe(){return(fe=l()(o.a.mark((function e(){var t,n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(x.b)(ie);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(D,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(x.a)(ie);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}if(Object(b.a)(l()(o.a.mark((function e(){var t,n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.v)("".concat(C.g,"_site-notification"),"view_notification",q);case 2:if(!(D>0)){e.next=5;break}return e.next=5,de();case 5:if(!I){e.next=11;break}return e.next=8,Object(x.b)(ie);case 8:t=e.sent,n=t.cacheHit,re(n);case 11:if(!V){e.next=14;break}return e.next=14,oe();case 14:case"end":return e.stop()}}),e)})))),I&&(void 0===ne||ne))return null;var ge,pe=Y?"is-closed":"is-open",me="large"===R&&"win-stats-increase"===G,ve="mdc-layout-grid__cell--span-12";"large"===R?(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-6-tablet mdc-layout-grid__cell--span-8-desktop ",me&&(ve="mdc-layout-grid__cell--order-2-phone mdc-layout-grid__cell--order-1-tablet mdc-layout-grid__cell--span-5-tablet mdc-layout-grid__cell--span-8-desktop ")):"small"===R&&(ve="mdc-layout-grid__cell--span-11-desktop mdc-layout-grid__cell--span-7-tablet mdc-layout-grid__cell--span-3-phone"),ge="win-warning"===G?e.createElement(E.a,{width:34}):"win-error"===G?e.createElement(w.a,{width:28}):"";var be=e.createElement(h.Fragment,null,c&&e.createElement("div",{className:"mdc-layout-grid__inner"},v()(c,(function(t,n){return e.createElement("div",{key:n,className:p()("mdc-layout-grid__cell",{"mdc-layout-grid__cell--span-5-desktop":me,"mdc-layout-grid__cell--span-4-desktop":!me})},e.createElement("div",{className:"googlesitekit-publisher-win__stats"},e.createElement(k.a,t)))})))),he=e.createElement(h.Fragment,null,$&&e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},$),r&&i&&e.createElement("p",{className:"googlesitekit-publisher-win__link"},e.createElement(j.a,{href:r},i)),T&&e.createElement("div",{className:"googlesitekit-publisher-win__desc"},e.createElement("p",null,Object(h.isValidElement)(T)?T:e.createElement("span",{dangerouslySetInnerHTML:Object(_.a)(T,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})}),L&&e.createElement(h.Fragment,null," ",e.createElement(j.a,{onClick:function(e){return ue.apply(this,arguments)},href:M,external:!0,inherit:!0},L),A),K&&e.createElement("span",{className:"googlesitekit-publisher-win__detect"},K))),s),ye=F?e.createElement(S.a,{slug:F,size:19}):e.createElement(y.a,{height:"34",width:"32"});return e.createElement("section",{id:q,ref:ae,className:p()(d,"googlesitekit-publisher-win",(n={},a()(n,"googlesitekit-publisher-win--".concat(R),R),a()(n,"googlesitekit-publisher-win--".concat(G),G),a()(n,"googlesitekit-publisher-win--".concat(pe),pe),n))},e.createElement("div",{className:"mdc-layout-grid"},e.createElement("div",{className:"mdc-layout-grid__inner"},z&&e.createElement("div",{className:p()("mdc-layout-grid__cell","mdc-layout-grid__cell--span-12",{"mdc-layout-grid__cell--order-2-phone":me,"mdc-layout-grid__cell--order-1-tablet":me})},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},ye),B&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},B)),Q&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 googlesitekit-publisher-win__small-media "},e.createElement(Q,null)),e.createElement("div",{className:p()("mdc-layout-grid__cell",ve)},me?e.createElement("div",{className:"mdc-layout-grid__inner"},e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-5-desktop mdc-layout-grid__cell--span-8-tablet"},he),e.createElement("div",{className:"mdc-layout-grid__cell mdc-layout-grid__cell--span-7-desktop mdc-layout-grid__cell--span-8-tablet mdc-layout-grid__cell--align-bottom"},be)):e.createElement(h.Fragment,null,he,be),g&&e.createElement(O.a,{className:"googlesitekit-notification__cta",href:g,target:m,onClick:function(e){return se.apply(this,arguments)}},f),I&&P&&e.createElement(j.a,{onClick:function(e){return ce.apply(this,arguments)}},P)),J&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--order-1-phone mdc-layout-grid__cell--order-2-tablet mdc-layout-grid__cell--span-2-tablet mdc-layout-grid__cell--span-4-desktop "},e.createElement("div",{className:"googlesitekit-publisher-win__image-large"},e.createElement(J,null))),("win-error"===G||"win-warning"===G)&&e.createElement("div",{className:" mdc-layout-grid__cell mdc-layout-grid__cell--span-1 "},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},ge)))))}BannerNotification.propTypes={id:f.a.string.isRequired,className:f.a.string,title:f.a.string.isRequired,description:f.a.node,learnMoreURL:f.a.string,learnMoreDescription:f.a.string,learnMoreLabel:f.a.string,blockData:f.a.array,WinImageSVG:f.a.elementType,SmallImageSVG:f.a.elementType,format:f.a.string,ctaLink:f.a.string,ctaLabel:f.a.string,type:f.a.string,dismiss:f.a.string,isDismissible:f.a.bool,logo:f.a.bool,module:f.a.string,moduleName:f.a.string,pageIndex:f.a.string,dismissExpires:f.a.number,showOnce:f.a.bool,onCTAClick:f.a.func,onDismiss:f.a.func,anchorLink:f.a.string,anchorLinkLabel:f.a.string},BannerNotification.defaultProps={isDismissible:!0,className:"",dismissExpires:0,showOnce:!1},t.a=BannerNotification}).call(this,n(3))},47:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(27);function a(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),a=function(e){return function(t){return function FilteredComponent(n){return Object(r.createElement)(r.Fragment,{},"",Object(r.createElement)(t,n),e)}}}},52:function(e,t,n){"use strict";(function(e){var r=n(17),a=n.n(r),i=n(16),o=n.n(i),c=n(0),l=n.n(c),s=n(9),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,i=o()(t,["className","children"]);return r?e.createElement("span",a()({},i,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return p})),n.d(t,"h",(function(){return d.a})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return b})),n.d(t,"i",(function(){return f}));var r="Invalid dateString parameter, it must be a string.",a='Invalid date range, it must be a string with the format "last-x-days".',i=n(7),o=n.n(i),c=n(35),l=function(e){var t=new Date(e);o()(Object(c.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),r="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,r.length<2?"0".concat(r):r].join("-")},s=n(12),u=n.n(s),d=n(39),f=function(e){o()(Object(d.a)(e),r);var t=e.split("-"),n=u()(t,3),a=n[0],i=n[1],c=n[2];return new Date(a,i-1,c)},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=f(e);return n.setDate(n.getDate()-t),l(n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]};function m(e){var t=e.match(/last-(\d+)-days/);if(t&&t[1])return parseInt(t[1],10);throw new Error("Unrecognized date range slug.")}var v=n(1);function b(){var e=function(e){return Object(v.sprintf)(
8
  /* translators: %s: number of days */
9
  Object(v._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}}}},54:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(1),o=n(204),c=n(329),l=n(20),s=n(86),u=function SurveyHeader(t){var n=t.title,r=t.dismissSurvey;return e.createElement("div",{className:"googlesitekit-survey__header"},e.createElement("div",{className:"googlesitekit-survey__header-logo"},e.createElement(s.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-survey__header-details"},e.createElement("h3",null,n),e.createElement(l.a,{"aria-label":Object(i.__)("Dismiss","google-site-kit"),icon:e.createElement(o.a,{icon:c.a,size:40}),onClick:r,className:"googlesitekit-survey__header-close"})))};u.propTypes={title:a.a.string.isRequired,dismissSurvey:a.a.func.isRequired},t.a=u}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var r=n(0),a=n.n(r),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,r=t.invertColor,a=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:a,height:i,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:a.a.string,invertColor:a.a.bool,width:a.a.number,height:a.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},58:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(28),a=n.n(r),i=n(65),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:i.a.sanitize(e,t)}};function c(e){var t,n="object"===a()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},60:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/ui"},63:function(e,t,n){"use strict";function r(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 i(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i}))},65:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n(109),a=n.n(r)()(e)}).call(this,n(18))},68:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return j}));var r=n(12),a=n.n(r),i=n(28),o=n.n(i),c=n(6),l=n.n(c),s=n(16),u=n.n(s),d=n(26),f=n(64),g=n.n(f),p=n(1);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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(e,t),r=n.formatUnit,a=n.formatDecimal;try{return r()}catch(e){return a()}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=parseInt(e,10),Number.isNaN(e)&&(e=0);var n=Math.floor(e/60/60),r=Math.floor(e/60%60),a=Math.floor(e%60);return{hours:n,minutes:r,seconds:a,formatUnit:function(){var i=t.unitDisplay,o=v(v({unitDisplay:void 0===i?"short":i},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(a,v(v({},o),{},{unit:"second"})):Object(p.sprintf)(
10
  /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */
19
  Object(p.__)("%sK","google-site-kit"),E(y(e),e%10==0?{}:t)):E(e,{signDisplay:"never",maximumFractionDigits:1})},k=function(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={};if("%"===t)n={style:"percent",maximumFractionDigits:2};else{if("s"===t)return b(e,{unitDisplay:"narrow"});t&&"string"==typeof t?n={style:"currency",currency:t}:Object(d.isPlainObject)(t)&&(n=v({},t))}var r=n,a=r.style,i=void 0===a?"metric":a;return"metric"===i?_(e):"duration"===i?b(e,t):E(e,n)},O=g()(console.warn),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,i=u()(t,["locale"]);try{return new Intl.NumberFormat(r,i).format(e)}catch(t){O("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,f=Object.entries(i);d<f.length;d++){var g=a()(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)}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?j():n,a=t.style,i=void 0===a?"long":a,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:i,type:c});return l.format(e)}
20
  /* translators: used between list items, there is a space after the comma. */var s=Object(p.__)(", ","google-site-kit");return e.join(s)},j=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(18))},73:function(e,t,n){"use strict";(function(e){var r=n(44),a=n.n(r),i=n(45),o=n.n(i),c=n(75),l=n.n(c),s=n(66),u=n.n(s),d=n(67),f=n.n(d),g=n(46),p=n.n(g),m=n(0),v=n.n(m),b=n(9),h=n.n(b),y=n(2),_=n(1),k=n(56),O=n(94),E=n(8);function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var a=p()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f()(this,n)}}var j=function(t){u()(DataBlock,t);var n=w(DataBlock);function DataBlock(e){var t;return a()(this,DataBlock),(t=n.call(this,e)).handleClick=t.handleClick.bind(l()(t)),t.handleKeyPress=t.handleKeyPress.bind(l()(t)),t}return o()(DataBlock,[{key:"handleClick",value:function(){var e=this.props,t=e.stat;(0,e.handleStatSelection)(t)}},{key:"handleKeyPress",value:function(e){e.preventDefault();var t=this.props,n=t.stat,r=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||r(n)}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.title,a=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,l=t.context,s=t.period,u=t.selected,d=t.handleStatSelection,f=t.source,g=t.sparkline,p=t.invertChangeColor,m="button"===l?"button":"",v=g;v&&p&&(v=Object(y.cloneElement)(g,{invertChangeColor:p}));var b=o;c&&(b="%"===c?Object(E.q)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(E.q)(o,c)),s&&(b=Object(_.sprintf)(s,b));var w=void 0===a?a:Object(E.q)(a,i||void 0);return e.createElement("div",{className:h()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(l),{"googlesitekit-data-block--selected":u}),tabIndex:"button"===l?"0":"-1",role:d&&m,onClick:d&&this.handleClick,onKeyPress:d&&this.handleKeyPress,"aria-label":d&&r,"aria-pressed":d&&u},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},r),e.createElement("div",{className:"googlesitekit-data-block__datapoint"},w)),v&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},v),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:h()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(y.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(k.a,{direction:0<parseFloat(o)?"up":"down",invertColor:p})),e.createElement("span",{className:"googlesitekit-data-block__value"},b))),f&&e.createElement(O.a,{className:"googlesitekit-data-block__source",name:f.name,href:f.link,external:null==f?void 0:f.external})))}}]),DataBlock}(y.Component);j.propTypes={stat:v.a.number,onClick:v.a.func,className:v.a.string,title:v.a.string,datapoint:v.a.oneOfType([v.a.string,v.a.number]),datapointUnit:v.a.string,change:v.a.oneOfType([v.a.string,v.a.number]),changeDataUnit:v.a.oneOfType([v.a.string,v.a.bool]),context:v.a.string,period:v.a.string,selected:v.a.bool,handleStatSelection:v.a.func,invertChangeColor:v.a.bool},j.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1},t.a=j}).call(this,n(3))},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d}));var r=n(12),a=n.n(r),i=n(1);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){l=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(l)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,r=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),a=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(r&&a)return!1;if(t=document.querySelector("#toplevel_page_googlesitekit-dashboard .wp-menu-name"),n=document.querySelector("#wp-admin-bar-google-site-kit .ab-item"),null===t&&null===n)return!1;var o=document.createElement("span");o.setAttribute("class","googlesitekit-notifications-counter update-plugins count-".concat(e));var c=document.createElement("span");c.setAttribute("class","plugin-count"),c.setAttribute("aria-hidden","true"),c.textContent=e;var l=document.createElement("span");return l.setAttribute("class","screen-reader-text"),l.textContent=Object(i.sprintf)(
21
  /* translators: %d is the number of notifications */