uawdijnntqw1x1x1
IP : 3.12.149.139
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.
/
.trash
/
js.2
/
..
/
litespeed
/
js
/
.
/
99e05dabbecc587845867600548702a7.js
/
/
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[18],{1:function(e,t){e.exports=googlesitekit.i18n},100:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(89),s=n(1),u=n(21),l=n(102);function SourceLink(t){var n=t.name,a=t.href,r=t.className,i=t.external;return Object(l.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",r)},Object(c.a)(Object(s.sprintf)(Object(s.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(u.a,{key:"link",href:a,external:i,inherit:!0})}))}SourceLink.propTypes={name:r.a.string,href:r.a.string,className:r.a.string,external:r.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(3))},102:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(23),r=n(19);function i(){var e=Object(r.a)();return e===a.i||e===a.m}},103:function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var a,r=n(6),i=n.n(r),o=n(33),c=n(118),s=n(124),u=n(125),l=(a={},i()(a,o.c.QUARTER,3),i()(a,o.c.HALF,6),i()(a,o.c.FULL,12),a),d="googlesitekit-hidden",m=[u.a,s.a,c.a]},105:function(e,t,n){"use strict";n.d(t,"a",(function(){return a.a})),n.d(t,"b",(function(){return r.a})),n.d(t,"c",(function(){return i.a})),n.d(t,"e",(function(){return o.a})),n.d(t,"d",(function(){return c.a})),n.d(t,"f",(function(){return s.a})),n.d(t,"g",(function(){return u.a})),n.d(t,"k",(function(){return l.a})),n.d(t,"i",(function(){return d.a})),n.d(t,"l",(function(){return m.a})),n.d(t,"m",(function(){return g.a})),n.d(t,"n",(function(){return f.a})),n.d(t,"o",(function(){return p.c})),n.d(t,"h",(function(){return y.a})),n.d(t,"j",(function(){return b.a})),n.d(t,"p",(function(){return ZeroDataMessage}));var a=n(362),r=n(363),i=n(364),o=n(365),c=n(346),s=n(366),u=n(367),l=n(368),d=n(311),m=n(369),g=n(370),f=n(371),p=n(312),y=(n(313),n(372)),b=n(293),v=n(0),h=n.n(v),_=n(1),S=n(4),A=n.n(S),E=n(15),O=A.a.useSelect;function ZeroDataMessage(e){var t=e.skipPrefix,n=O((function(e){return e(E.c).getCurrentEntityURL()}));return t?n?Object(_.__)("Your page hasn’t received any visitors yet","google-site-kit"):Object(_.__)("Your site hasn’t received any visitors yet","google-site-kit"):n?Object(_.__)("No data to display: your page hasn’t received any visitors yet","google-site-kit"):Object(_.__)("No data to display: your site hasn’t received any visitors yet","google-site-kit")}ZeroDataMessage.propTypes={skipPrefix:h.a.bool}},107:function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(0),o=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}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){r()(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,a=t.style,r=void 0===a?{}:a;return e.createElement("span",{className:"spinner",style:s({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},r)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(3))},109:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var a=n(16),r=n.n(a),i=n(6),o=n.n(i),c=n(17),s=n.n(c),u=n(0),l=n.n(u),d=n(9),m=n.n(d);function Cell(t){var n,a=t.className,i=t.alignTop,c=t.alignMiddle,u=t.alignBottom,l=t.alignRight,d=t.alignLeft,g=t.smAlignRight,f=t.mdAlignRight,p=t.lgAlignRight,y=t.smSize,b=t.smStart,v=t.smOrder,h=t.mdSize,_=t.mdStart,S=t.mdOrder,A=t.lgSize,E=t.lgStart,O=t.lgOrder,T=t.size,k=t.children,N=s()(t,["className","alignTop","alignMiddle","alignBottom","alignRight","alignLeft","smAlignRight","mdAlignRight","lgAlignRight","smSize","smStart","smOrder","mdSize","mdStart","mdOrder","lgSize","lgStart","lgOrder","size","children"]);return e.createElement("div",r()({},N,{className:m()(a,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":i,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":u,"mdc-layout-grid__cell--align-right":l,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":g,"mdc-layout-grid__cell--align-right-tablet":f,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(T),12>=T&&T>0),o()(n,"mdc-layout-grid__cell--span-".concat(A,"-desktop"),12>=A&&A>0),o()(n,"mdc-layout-grid__cell--start-".concat(E,"-desktop"),12>=E&&E>0),o()(n,"mdc-layout-grid__cell--order-".concat(O,"-desktop"),12>=O&&O>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-tablet"),8>=h&&h>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(S,"-tablet"),8>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-phone"),4>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(b,"-phone"),4>=b&&b>0),o()(n,"mdc-layout-grid__cell--order-".concat(v,"-phone"),4>=v&&v>0),n))}),k)}Cell.propTypes={smSize:l.a.number,smStart:l.a.number,smOrder:l.a.number,mdSize:l.a.number,mdStart:l.a.number,mdOrder:l.a.number,lgSize:l.a.number,lgStart:l.a.number,lgOrder:l.a.number,size:l.a.number,alignTop:l.a.bool,alignMiddle:l.a.bool,alignBottom:l.a.bool,alignRight:l.a.bool,alignLeft:l.a.bool,smAlignRight:l.a.bool,mdAlignRight:l.a.bool,lgAlignRight:l.a.bool,className:l.a.string,children:l.a.node},Cell.defaultProps={className:"",size:0,smSize:0,smStart:0,smOrder:0,mdSize:0,mdStart:0,mdOrder:0,lgSize:0,lgStart:0,lgOrder:0}}).call(this,n(3))},11:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"h",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return s})),n.d(t,"k",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"s",(function(){return m})),n.d(t,"r",(function(){return g})),n.d(t,"t",(function(){return f})),n.d(t,"p",(function(){return p})),n.d(t,"q",(function(){return y})),n.d(t,"n",(function(){return b})),n.d(t,"o",(function(){return v})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return _})),n.d(t,"j",(function(){return S})),n.d(t,"i",(function(){return A}));var a="modules/analytics",r="account_create",i="property_create",o="profile_create",c="analyticsAccountCreate",s="analyticsSetup",u="https://www.googleapis.com/auth/analytics.provision",l="https://www.googleapis.com/auth/analytics.edit",d=1,m="dashboardAllTrafficWidgetDimensionName",g="dashboardAllTrafficWidgetDimensionColor",f="dashboardAllTrafficWidgetDimensionValue",p="dashboardAllTrafficWidgetActiveRowIndex",y="dashboardAllTrafficWidgetLoaded",b="legacy",v="ua",h="ga4",_="ga4-transitional",S="ua",A="ga4"},110:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Row}));var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),u=n(9),l=n.n(u);function Row(t){var n=t.className,a=t.children,i=o()(t,["className","children"]);return e.createElement("div",r()({className:l()("mdc-layout-grid__inner",n)},i),a)}Row.propTypes={className:s.a.string,children:s.a.node},Row.defaultProps={className:""}}).call(this,n(3))},1109:function(e,t,n){"use strict";n.r(t);var a,r=n(4),i=n.n(r),o=n(142),c=n.n(o),s=n(314),u=n.n(s),l=n(5),d=n.n(l),m=n(14),g=n.n(m),f=n(1),p=n(119),y=(n(517),n(521),n(522),n(523),n(524),n(525),n(678)),b=(n(526),n(461),n(514)),v=(n(425),n(527),n(532),n(533),n(529),n(530),n(531),n(528),n(679)),h=(n(534),n(680)),_=n(681),S=(n(535),n(682)),A=n(688),E=n(689),O=n(690),T=n(536),k=n(691),N=n(392),I=n(25),j=n(325),C=n(33),w=n(29),D=n(6),R=n.n(D),P=n(10),M=n.n(P),Z=n(160),L=n(219),G=n(74);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B=i.a.commonActions,F=i.a.createRegistryControl,W={originalAccountStatus:void 0,originalUseSnippet:void 0},H={completeAccountSetup:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"COMPLETE_ACCOUNT_SETUP"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),completeSiteSetup:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"COMPLETE_SITE_SETUP"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),receiveOriginalAccountStatus:function(e){return M()(e,"originalAccountStatus is required."),{payload:{originalAccountStatus:e},type:"RECEIVE_ORIGINAL_ACCOUNT_STATUS"}},receiveOriginalUseSnippet:function(e){return M()(e,"originalUseSnippet is required."),{payload:{originalUseSnippet:e},type:"RECEIVE_ORIGINAL_USE_SNIPPET"}}},z=(a={},R()(a,"COMPLETE_ACCOUNT_SETUP",F((function(e){return g()(d.a.mark((function t(){var n;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(I.f).setAccountSetupComplete(!0);case 2:if(e.select(I.f).canSubmitChanges()){t.next=6;break}return t.next=5,e.dispatch(I.f).setAccountSetupComplete(!1);case 5:return t.abrupt("return",!1);case 6:return t.next=8,e.dispatch(I.f).submitChanges();case 8:if(n=t.sent,!n.error){t.next=14;break}return t.next=13,e.dispatch(I.f).setAccountSetupComplete(!1);case 13:return t.abrupt("return",!1);case 14:return t.abrupt("return",!0);case 15:case"end":return t.stop()}}),t)})))}))),R()(a,"COMPLETE_SITE_SETUP",F((function(e){return g()(d.a.mark((function t(){var n;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.dispatch(I.f).setSiteSetupComplete(!0);case 2:if(e.select(I.f).canSubmitChanges()){t.next=6;break}return t.next=5,e.dispatch(I.f).setSiteSetupComplete(!1);case 5:return t.abrupt("return",!1);case 6:return t.next=8,e.dispatch(I.f).submitChanges();case 8:if(n=t.sent,!n.error){t.next=14;break}return t.next=13,e.dispatch(I.f).setSiteSetupComplete(!1);case 13:return t.abrupt("return",!1);case 14:return t.abrupt("return",!0);case 15:case"end":return t.stop()}}),t)})))}))),a),q={getOriginalAccountStatus:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B.getRegistry();case 2:if(t=e.sent,void 0===t.select(I.f).getOriginalAccountStatus()){e.next=6;break}return e.abrupt("return");case 6:t.select(I.f).getSettings();case 7:case"end":return e.stop()}}),e)})),getOriginalUseSnippet:d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,B.getRegistry();case 2:if(t=e.sent,void 0===t.select(I.f).getOriginalUseSnippet()){e.next=6;break}return e.abrupt("return");case 6:t.select(I.f).getSettings();case 7:case"end":return e.stop()}}),e)}))},K={isDoingSaveUseSnippet:function(e){return Object.values(e.isFetchingSaveUseSnippet).some(Boolean)},getOriginalAccountStatus:function(e){return e.originalAccountStatus},getOriginalUseSnippet:function(e){return e.originalUseSnippet}};var V=i.a.combineStores({initialState:W,actions:H,controls:z,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_ORIGINAL_ACCOUNT_STATUS":var r=a.originalAccountStatus;return U(U({},e),{},{originalAccountStatus:r});case"RECEIVE_ORIGINAL_USE_SNIPPET":var i=a.originalUseSnippet;return U(U({},e),{},{originalUseSnippet:i});case"RECEIVE_GET_SETTINGS":var o=a.response,c=o.accountStatus,s=o.useSnippet;return U(U(U({},e),void 0===e.originalAccountStatus&&{originalAccountStatus:c}),void 0===e.originalUseSnippet&&{originalUseSnippet:s});default:return e}},resolvers:q,selectors:K}),Y=(V.initialState,V.actions,V.controls,V.reducer,V.resolvers,V.selectors,V),$=c.a.createModuleStore("adsense",{storeName:I.f,settingSlugs:["accountID","clientID","useSnippet","accountStatus","siteStatus","accountSetupComplete","siteSetupComplete","ownerID","webStoriesAdUnit","autoAdsDisabled"],adminPage:Object(w.b)("unifiedDashboard")?void 0:"googlesitekit-module-adsense",validateCanSubmitChanges:function(e){var t=Object(G.e)(e)(I.f),n=t.getAccountID,a=t.getClientID,r=t.getAccountStatus,i=t.haveSettingsChanged,o=t.isDoingSubmitChanges;M()(!o(),Z.a),M()(i(),Z.b),M()(r(),"require an account status to be present");var c=n();M()(""===c||Object(L.b)(c),"require account ID to be either empty (if impossible to determine) or valid");var s=a();M()(""===s||Object(L.c)(s),"require client ID to be either empty (if impossible to determine) or valid")},validateIsSetupBlocked:function(e){if(e(I.f).isAdBlockerActive())throw new Error("Ad blocker detected")}}),J=n(24),Q=n.n(J),X=n(34),ee=n.n(X),te=n(48),ne=n(54);function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ie=Object(te.a)({baseName:"getAccounts",controlCallback:function(){return ee.a.get("modules","adsense","accounts",void 0,{useCache:!1})},reducerCallback:function(e,t){return re(re({},e),{},{accounts:Q()(t)})}}),oe={accounts:void 0},ce={resetAccounts:d.a.mark((function e(){var t,n;return d.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,n=t.dispatch,e.next=6,{payload:{},type:"RESET_ACCOUNTS"};case 6:return e.next=8,ne.a.clearErrors("getAccounts");case 8:return e.abrupt("return",n(I.f).invalidateResolutionForStoreSelector("getAccounts"));case 9:case"end":return e.stop()}}),e)}))},se={getAccounts:d.a.mark((function e(){var t;return d.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,!t.select(I.f).getAccounts()){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,ie.actions.fetchGetAccounts();case 8:case"end":return e.stop()}}),e)}))},ue=i.a.combineStores(ie,{initialState:oe,actions:ce,reducer:function(e,t){switch(t.type){case"RESET_ACCOUNTS":var n=e.savedSettings||{},a=n.accountID,r=n.clientID,i=n.accountStatus,o=n.siteStatus,c=n.accountSetupComplete,s=n.siteSetupComplete;return re(re({},e),{},{accounts:oe.accounts,settings:re(re({},e.settings||{}),{},{accountID:a,clientID:r,accountStatus:i,siteStatus:o,accountSetupComplete:c,siteSetupComplete:s})});default:return e}},resolvers:se,selectors:{getAccounts:function(e){return e.accounts}}}),le=(ue.initialState,ue.actions,ue.controls,ue.reducer,ue.resolvers,ue.selectors,ue);function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=Object(te.a)({baseName:"getAdUnits",controlCallback:function(e){var t=e.accountID,n=e.clientID;return ee.a.get("modules","adsense","adunits",{accountID:t,clientID:n},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID,r=n.clientID;return me(me({},e),{},{adunits:me(me({},e.adunits),{},R()({},"".concat(a,"::").concat(r),t))})},argsToParams:function(e,t){return{accountID:e,clientID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.clientID;M()(t,"accountID is required."),M()(n,"clientID is required.")}}),fe={getAdUnits:d.a.mark((function e(t,n){var a;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&void 0!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,i.a.commonActions.getRegistry();case 4:if(a=e.sent,!a.select(I.f).getAdUnits(t,n)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,ge.actions.fetchGetAdUnits(t,n);case 10:case"end":return e.stop()}}),e)}))},pe={getAdUnits:function(e,t,n){if(void 0!==t&&void 0!==n)return e.adunits["".concat(t,"::").concat(n)]}},ye=i.a.combineStores(ge,{initialState:{adunits:{}},actions:{},reducer:function(e,t){t.type;return e},resolvers:fe,selectors:pe}),be=(ye.initialState,ye.actions,ye.controls,ye.reducer,ye.resolvers,ye.selectors,ye);function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _e=Object(te.a)({baseName:"getAlerts",controlCallback:function(e){var t=e.accountID;return ee.a.get("modules","adsense","alerts",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID;return he(he({},e),{},{alerts:he(he({},e.alerts),{},R()({},a,Q()(t)))})},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;M()(t,"accountID is required.")}}),Se={resetAlerts:d.a.mark((function e(){var t,n;return d.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,n=t.dispatch,e.next=6,{payload:{},type:"RESET_ALERTS"};case 6:return e.next=8,ne.a.clearErrors("getAlerts");case 8:return e.abrupt("return",n(I.f).invalidateResolutionForStoreSelector("getAlerts"));case 9:case"end":return e.stop()}}),e)}))},Ae={getAlerts:d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&Object(L.b)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,i.a.commonActions.getRegistry();case 4:if(n=e.sent,!n.select(I.f).getAlerts(t)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,_e.actions.fetchGetAlerts(t);case 10:case"end":return e.stop()}}),e)}))},Ee={getAlerts:function(e,t){if(void 0!==t)return e.alerts[t]}},Oe=i.a.combineStores(_e,{initialState:{alerts:{}},actions:Se,reducer:function(e,t){switch(t.type){case"RESET_ALERTS":var n=e.savedSettings||{},a=n.accountStatus,r=n.siteStatus,i=n.accountSetupComplete,o=n.siteSetupComplete;return he(he({},e),{},{alerts:Te.alerts,settings:he(he({},e.settings||{}),{},{accountStatus:a,siteStatus:r,accountSetupComplete:i,siteSetupComplete:o})});default:return e}},resolvers:Ae,selectors:Ee}),Te=Oe.initialState,ke=(Oe.actions,Oe.controls,Oe.reducer,Oe.resolvers,Oe.selectors,Oe);function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var je=i.a.createRegistrySelector,Ce=Object(te.a)({baseName:"getClients",controlCallback:function(e){var t=e.accountID;return ee.a.get("modules","adsense","clients",{accountID:t},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID;return Array.isArray(t)?Ie(Ie({},e),{},{clients:Ie(Ie({},e.clients),{},R()({},a,Q()(t)))}):e},argsToParams:function(e){return{accountID:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID;M()(t,"accountID is required.")}}),we={resetClients:d.a.mark((function e(){var t,n;return d.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,n=t.dispatch,e.next=6,{payload:{},type:"RESET_CLIENTS"};case 6:return e.next=8,ne.a.clearErrors("getClients");case 8:return e.abrupt("return",n(I.f).invalidateResolutionForStoreSelector("getClients"));case 9:case"end":return e.stop()}}),e)}))},De={getClients:d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&Object(L.b)(t)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,i.a.commonActions.getRegistry();case 4:if(n=e.sent,!n.select(I.f).getClients(t)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,Ce.actions.fetchGetClients(t);case 10:case"end":return e.stop()}}),e)}))},Re={getClients:function(e,t){if(void 0!==t)return e.clients[t]},getAFCClient:je((function(e){return function(t,n){if(void 0!==n){var a=e(I.f).getClients(n);if(void 0!==a){var r=a.filter((function(e){return"AFC"===e.productCode}));return r.length?r[0]:null}}}}))},Pe=i.a.combineStores(Ce,{initialState:{clients:{}},actions:we,reducer:function(e,t){switch(t.type){case"RESET_CLIENTS":var n=e.savedSettings||{},a=n.clientID,r=n.accountStatus,i=n.siteStatus,o=n.accountSetupComplete,c=n.siteSetupComplete;return Ie(Ie({},e),{},{clients:Me.clients,settings:Ie(Ie({},e.settings||{}),{},{clientID:a,accountStatus:r,siteStatus:i,accountSetupComplete:o,siteSetupComplete:c})});default:return e}},resolvers:De,selectors:Re}),Me=Pe.initialState,Ze=(Pe.actions,Pe.controls,Pe.reducer,Pe.resolvers,Pe.selectors,Pe),Le=n(57),Ge=n.n(Le),xe=n(7),Ue=n(298),Be=n(444),Fe=n.n(Be),We=["ACTIVE_VIEW_MEASURABILITY","ACTIVE_VIEW_TIME","ACTIVE_VIEW_VIEWABILITY","AD_REQUESTS_COVERAGE","AD_REQUESTS_CTR","AD_REQUESTS_RPM","AD_REQUESTS_SPAM_RATIO","AD_REQUESTS","ADS_PER_IMPRESSION","CLICKS_SPAM_RATIO","CLICKS","COST_PER_CLICK","ESTIMATED_EARNINGS","IMPRESSIONS_CTR","IMPRESSIONS_RPM","IMPRESSIONS_SPAM_RATIO","IMPRESSIONS","INDIVIDUAL_AD_IMPRESSIONS_CTR","INDIVIDUAL_AD_IMPRESSIONS_RPM","INDIVIDUAL_AD_IMPRESSIONS_SPAM_RATIO","INDIVIDUAL_AD_IMPRESSIONS","MATCHED_AD_REQUESTS_CTR","MATCHED_AD_REQUESTS_RPM","MATCHED_AD_REQUESTS_SPAM_RATIO","MATCHED_AD_REQUESTS","METRIC_UNSPECIFIED","PAGE_VIEWS_CTR","PAGE_VIEWS_RPM","PAGE_VIEWS_SPAM_RATIO","PAGE_VIEWS","TOTAL_EARNINGS","TOTAL_IMPRESSIONS","WEBSEARCH_RESULT_PAGES"],He=["ACCOUNT_NAME","AD_CLIENT_ID","AD_FORMAT_CODE","AD_FORMAT_NAME","AD_PLACEMENT_CODE","AD_PLACEMENT_NAME","AD_UNIT_ID","AD_UNIT_NAME","AD_UNIT_SIZE_CODE","AD_UNIT_SIZE_NAME","BID_TYPE_CODE","BID_TYPE_NAME","BUYER_NETWORK_ID","BUYER_NETWORK_NAME","CONTENT_PLATFORM_CODE","CONTENT_PLATFORM_NAME","COUNTRY_CODE","COUNTRY_NAME","CREATIVE_SIZE_CODE","CREATIVE_SIZE_NAME","CUSTOM_CHANNEL_ID","CUSTOM_CHANNEL_NAME","CUSTOM_SEARCH_STYLE_ID","CUSTOM_SEARCH_STYLE_NAME","DATE","DIMENSION_UNSPECIFIED","DOMAIN_CODE","DOMAIN_NAME","DOMAIN_REGISTRANT","MONTH","OWNED_SITE_DOMAIN_NAME","OWNED_SITE_ID","PLATFORM_TYPE_CODE","PLATFORM_TYPE_NAME","PRODUCT_CODE","PRODUCT_NAME","REQUESTED_AD_TYPE_CODE","REQUESTED_AD_TYPE_NAME","SERVED_AD_TYPE_CODE","SERVED_AD_TYPE_NAME","TARGETING_TYPE_CODE","TARGETING_TYPE_NAME","URL_CHANNEL_ID","URL_CHANNEL_NAME","WEBSEARCH_QUERY_STRING","WEEK"];function ze(e){var t=Fe()(e);M()(t.length,"at least one metric is required.");var n=t.filter((function(e){return!We.includes(e)}));M()(0===n.length,"invalid AdSense metrics requested: ".concat(n.toString()))}function qe(e){var t=Fe()(e);M()(t.length,"at least one dimension is required.");var n=t.filter((function(e){return!He.includes(e)}));M()(0===n.length,"invalid AdSense dimensions requested: ".concat(n.toString()))}function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ye=Object(te.a)({baseName:"getReport",controlCallback:function(e){var t=e.options;return ee.a.get("modules","adsense","earnings",t)},reducerCallback:function(e,t,n){var a=n.options;return Ve(Ve({},e),{},{reports:Ve(Ve({},e.reports),{},R()({},Object(xe.y)(a),t))})},argsToParams:function(e){return{options:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.options;M()(Ge()(t),"options must be an object."),M()("today"===t.dateRange||Object(Ue.a)(t),"Either date range or start/end dates must be provided for AdSense report.");var n=t.orderby,a=t.metrics,r=t.dimensions;M()(Object(Ue.d)(a),"Metrics for an AdSense report must be either a string or an array of strings."),ze(a),r&&(M()(Object(Ue.d)(r),"Dimensions for an AdSense report must be either a string or an array of strings."),qe(r)),n&&M()(Object(Ue.b)(n),'Orders for an AdSense report must be either an object or an array of objects where each object should have "fieldName" and "sortOrder" properties.')}}),$e={getReport:d.a.mark((function e(){var t,n,a=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:{},e.next=3,i.a.commonActions.getRegistry();case 3:if(n=e.sent,!n.select(I.f).getReport(t)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,Ye.actions.fetchGetReport(t);case 9:case"end":return e.stop()}}),e)}))},Je={getReport:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.reports;return n[Object(xe.y)(t)]}},Qe=i.a.combineStores(Ye,{initialState:{reports:{}},resolvers:$e,selectors:Je}),Xe=(Qe.initialState,Qe.actions,Qe.controls,Qe.reducer,Qe.resolvers,Qe.selectors,Qe),et=n(337),tt=Object(et.a)({storeName:I.f,tagMatchers:[/google_ad_client: ?["|'](.*?)["|']/,/<(?:script|amp-auto-ads)[^>]*data-ad-client="([^"]+)"/],isValidTag:L.c});function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rt=Object(te.a)({baseName:"getURLChannels",controlCallback:function(e){var t=e.accountID,n=e.clientID;return ee.a.get("modules","adsense","urlchannels",{accountID:t,clientID:n},{useCache:!1})},reducerCallback:function(e,t,n){var a=n.accountID,r=n.clientID;return at(at({},e),{},{urlchannels:at(at({},e.urlchannels),{},R()({},"".concat(a,"::").concat(r),Q()(t)))})},argsToParams:function(e,t){return{accountID:e,clientID:t}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.accountID,n=e.clientID;M()(t,"accountID is required."),M()(n,"clientID is required.")}}),it={resetURLChannels:d.a.mark((function e(){var t,n;return d.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,n=t.dispatch,e.next=6,{payload:{},type:"RESET_URLCHANNELS"};case 6:return e.next=8,ne.a.clearErrors("getURLChannels");case 8:return e.abrupt("return",n(I.f).invalidateResolutionForStoreSelector("getURLChannels"));case 9:case"end":return e.stop()}}),e)}))},ot={getURLChannels:d.a.mark((function e(t,n){var a,r,o;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t&&void 0!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,i.a.commonActions.getRegistry();case 4:if(a=e.sent,!a.select(I.f).getURLChannels(t,n)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,rt.actions.fetchGetURLChannels(t,n);case 10:if(r=e.sent,!(o=r.error)){e.next=15;break}return e.next=15,ne.a.receiveError(o,"getURLChannels",[t,n]);case 15:case"end":return e.stop()}}),e)}))},ct={getURLChannels:function(e,t,n){if(void 0!==t&&void 0!==n)return e.urlchannels["".concat(t,"::").concat(n)]}},st=i.a.combineStores(rt,{initialState:{urlchannels:{}},actions:it,reducer:function(e,t){switch(t.type){case"RESET_URLCHANNELS":var n=e.savedSettings||{},a=n.siteStatus,r=n.siteSetupComplete;return at(at({},e),{},{urlchannels:ut.urlchannels,settings:at(at({},e.settings||{}),{},{siteStatus:a,siteSetupComplete:r})});default:return e}},resolvers:ot,selectors:ct}),ut=st.initialState,lt=(st.actions,st.controls,st.reducer,st.resolvers,st.selectors,st),dt=n(777),mt=n(22);function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ft(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pt={isAdBlockerActive:void 0},yt={checkAdBlocker:d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CHECK_ADBLOCKER"};case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),receiveIsAdBlockerActive:function(e){return M()("boolean"==typeof e,"isAdBlockerActive must be boolean."),{payload:{isAdBlockerActive:e},type:"RECEIVE_IS_ADBLOCKER_ACTIVE"}}},bt=R()({},"CHECK_ADBLOCKER",g()(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(dt.detectAnyAdblocker)();case 2:if(!e.sent){e.next=4;break}return e.abrupt("return",!0);case 4:return e.prev=4,t=["google-site-kit=/adsense/pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","timestamp=".concat(Date.now())],e.next=8,fetch("/favicon.ico?".concat(t.join("&")),{credentials:"omit",redirect:"manual"});case 8:e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(4),e.abrupt("return",!0);case 13:return e.abrupt("return",!1);case 14:case"end":return e.stop()}}),e,null,[[4,10]])})))),vt={isAdBlockerActive:d.a.mark((function(){var e,t,n;return d.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,i.a.commonActions.getRegistry();case 2:if(e=a.sent,t=e.select(I.f).isAdBlockerActive(),void 0===t){a.next=6;break}return a.abrupt("return");case 6:return a.next=8,yt.checkAdBlocker();case 8:return n=a.sent,a.next=11,yt.receiveIsAdBlockerActive(n);case 11:case"end":return a.stop()}}),t)}))},ht={isAdBlockerActive:function(e){var t=e.isAdBlockerActive;return t},getAdBlockerWarningMessage:i.a.createRegistrySelector((function(e){return function(){var t=e(I.f).isAdBlockerActive();if(void 0!==t)return t?e(mt.a).isModuleConnected("adsense")?Object(f.__)("Ad blocker detected;please disable it to get the latest AdSense data","google-site-kit"):Object(f.__)("Ad blocker detected;please disable it to set up AdSense","google-site-kit"):null}}))},_t={initialState:pt,actions:yt,controls:bt,reducer:function(e,t){var n=t.payload;switch(t.type){case"RECEIVE_IS_ADBLOCKER_ACTIVE":var a=n.isAdBlockerActive;return ft(ft({},e),{},{isAdBlockerActive:a});default:return e}},resolvers:vt,selectors:ht},St=n(310),At=n(12),Et=n(15),Ot=n(408);function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){R()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nt=i.a.createRegistrySelector,It={selectors:{getServiceURL:Nt((function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.path,r=n.query,i=e(At.a).getEmail();if(void 0!==i){var o="https:Object(i.__)("%s Gathering Data","google-site-kit"),null==a?void 0:a.name),description:Object(i.sprintf)(Object(i.__)("%s data is not yet available, please check back later","google-site-kit"),null==a?void 0:a.name)})}ReportZero.propTypes={moduleSlug:r.a.string.isRequired}}).call(this,n(3))},119:function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_DASHBOARD_ALL_TRAFFIC",(function(){return a})),n.d(t,"AREA_DASHBOARD_SEARCH_FUNNEL",(function(){return r})),n.d(t,"AREA_DASHBOARD_ACQUISITION",(function(){return i})),n.d(t,"AREA_DASHBOARD_SPEED",(function(){return o})),n.d(t,"AREA_DASHBOARD_EARNINGS",(function(){return c})),n.d(t,"AREA_PAGE_DASHBOARD_SEARCH_FUNNEL",(function(){return s})),n.d(t,"AREA_PAGE_DASHBOARD_ALL_TRAFFIC",(function(){return u})),n.d(t,"AREA_PAGE_DASHBOARD_ACQUISITION",(function(){return l})),n.d(t,"AREA_PAGE_DASHBOARD_SPEED",(function(){return d})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return m})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return g})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return f})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return p})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return y})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return b})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return v})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return h}));var a="dashboardAllTraffic",r="dashboardSearchFunnel",i="dashboardAcquisition",o="dashboardSpeed",c="dashboardEarnings",s="pageDashboardSearchFunnel",u="pageDashboardAllTraffic",l="pageDashboardAcquisition",d="pageDashboardSpeed",m="mainDashboardTrafficPrimary",g="mainDashboardContentPrimary",f="mainDashboardSpeedPrimary",p="mainDashboardMonetizationPrimary",y="entityDashboardTrafficPrimary",b="entityDashboardContentPrimary",v="entityDashboardSpeedPrimary",h="entityDashboardMonetizationPrimary";t.default={AREA_DASHBOARD_ALL_TRAFFIC:a,AREA_DASHBOARD_SEARCH_FUNNEL:r,AREA_DASHBOARD_ACQUISITION:i,AREA_DASHBOARD_SPEED:o,AREA_DASHBOARD_EARNINGS:c,AREA_PAGE_DASHBOARD_SEARCH_FUNNEL:s,AREA_PAGE_DASHBOARD_ALL_TRAFFIC:u,AREA_PAGE_DASHBOARD_ACQUISITION:l,AREA_PAGE_DASHBOARD_SPEED:d,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:m,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:g,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:f,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:p,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:y,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:b,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:v,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:h}},12:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return l}));var a="core/user",r="connected_url_mismatch",i="googlesitekit_authenticate",o="googlesitekit_setup",c="googlesitekit_view_dashboard",s="googlesitekit_view_shared_dashboard",u="googlesitekit_manage_options",l="googlesitekit_read_shared_module_data"},124:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(1),o=n(83),c=n(4),s=n.n(c),u=n(22),l=n(191),d=s.a.useSelect,m=function CompleteModuleActivationCTA(t){var n=t.moduleSlug,a=t.title,r=t.description,c=d((function(e){return e(u.a).getModule(n)})),s=Object(l.a)(n);return s?e.createElement(o.a,{title:a||Object(i.sprintf)(Object(i.__)("Complete %s activation","google-site-kit"),c.name),description:r||Object(i.sprintf)(Object(i.__)("%s module setup needs to be completed","google-site-kit"),c.name),ctaLabel:Object(i.__)("Complete setup","google-site-kit"),"aria-label":Object(i.sprintf)(Object(i.__)("Complete %s setup","google-site-kit"),c.name),onClick:s}):null};m.propTypes={moduleSlug:r.a.string.isRequired,title:r.a.string,description:r.a.string},t.a=m}).call(this,n(3))},125:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ActivateModuleCTA}));var a=n(0),r=n.n(a),i=n(1),o=n(4),c=n.n(o),s=n(22),u=n(192),l=n(83),d=c.a.useSelect;function ActivateModuleCTA(t){var n=t.moduleSlug,a=t.title,r=t.description,o=d((function(e){return e(s.a).getModule(n)})),c=Object(u.a)(n);if(!c)return null;var m=a,g=r;switch(n){case"analytics":a||(m=Object(i.__)("Learn more about what visitors do on your site","google-site-kit")),r||(g=Object(i.__)("Connect with Google Analytics to see unique visitors, goal completions, top pages and more","google-site-kit"));break;case"pagespeed-insights":r||(g=Object(i.__)("Google PageSpeed Insights gives you metrics about performance, accessibility, SEO and PWA","google-site-kit"))}return e.createElement(l.a,{title:m||Object(i.sprintf)(Object(i.__)("Activate %s","google-site-kit"),o.name),description:g||Object(i.sprintf)(Object(i.__)("%s module needs to be configured","google-site-kit"),o.name),ctaLabel:Object(i.sprintf)(Object(i.__)("Set up %s","google-site-kit"),o.name),onClick:c})}ActivateModuleCTA.propTypes={moduleSlug:r.a.string.isRequired,title:r.a.string,description:r.a.string}}).call(this,n(3))},126:function(e,t,n){"use strict";var a=n(674);n.d(t,"a",(function(){return a.a}));var r=n(376);n.d(t,"b",(function(){return r.a}));var i=n(675);n.d(t,"d",(function(){return i.a}));n(424);var o=n(676);n.d(t,"f",(function(){return o.a}));var c=n(677);n.d(t,"e",(function(){return c.a}));n(519);var s=n(342);n.d(t,"c",(function(){return s.c}));n(520)},127:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(225),o=n.n(i),c=n(9),s=n.n(c),u=n(139),l=n(2),d=n(1),m=n(18),g=n(21),f=n(8),p=n(107),y=function Dialog(t){var n=t.dialogActive,a=t.handleDialog,r=t.title,i=t.provides,c=t.handleConfirm,y=t.subtitle,b=t.confirmButton,v=t.dependentModules,h=t.danger,_=t.inProgress,S=void 0!==_&&_,A=Object(l.useCallback)((function(e){null!==e&&f.h.attachTo(e)}),[]),E=Object(u.a)(Dialog),O="googlesitekit-dialog-label-".concat(E),T="googlesitekit-dialog-description-".concat(E),k=!(!i||!i.length);return e.createElement("div",{ref:A,className:s()("mdc-dialog",{"mdc-dialog--open":n}),role:"alertdialog","aria-modal":"true","aria-labelledby":r?O:void 0,"aria-describedby":k?T:void 0,"aria-hidden":n?"false":"true",tabIndex:"-1"},e.createElement("div",{className:"mdc-dialog__scrim"}," "),e.createElement(o.a,{active:n},e.createElement("div",null,e.createElement("div",{className:"mdc-dialog__container"},e.createElement("div",{className:"mdc-dialog__surface"},r&&e.createElement("h2",{id:O,className:"mdc-dialog__title"},r),y&&e.createElement("p",{className:"mdc-dialog__lead"},y),k&&e.createElement("section",{id:T,className:"mdc-dialog__content"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},i.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),v&&e.createElement("p",{className:"mdc-dialog__dependecies"},e.createElement("strong",null,Object(d.__)("Note: ","google-site-kit")),v),e.createElement("footer",{className:"mdc-dialog__actions"},e.createElement(m.a,{onClick:c,danger:h,disabled:S},b||Object(d.__)("Disconnect","google-site-kit")),e.createElement(p.a,{isSaving:S}),e.createElement(g.a,{className:"googlesitekit-margin-left-auto mdc-dialog__cancel-button",onClick:a,inherit:!0,disabled:S},Object(d.__)("Cancel","google-site-kit"))))))))};y.displayName="Dialog",y.propTypes={dialogActive:r.a.bool,handleDialog:r.a.func,handleConfirm:r.a.func.isRequired,title:r.a.string,description:r.a.string,confirmButton:r.a.string,danger:r.a.bool},y.defaultProps={dialogActive:!1,handleDialog:null,title:null,description:null,confirmButton:null,danger:!1},t.a=y}).call(this,n(3))},131:function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},132:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"j",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"g",(function(){return c})),n.d(t,"k",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return d})),n.d(t,"f",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"l",(function(){return f})),n.d(t,"n",(function(){return p})),n.d(t,"r",(function(){return y})),n.d(t,"m",(function(){return b})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return h})),n.d(t,"o",(function(){return _})),n.d(t,"t",(function(){return S})),n.d(t,"v",(function(){return A})),n.d(t,"s",(function(){return E})),n.d(t,"u",(function(){return O})),n.d(t,"x",(function(){return T})),n.d(t,"w",(function(){return k}));var a="disapproved",r="graylisted",i="pending",o="approved",c="needs-attention",s="ready",u="client-requires-review",l="client-getting-ready",d="none",m="multiple",g="no-client",f="added",p="needs-attention",y="requires-review",b="getting-ready",v="ready",h="ready-no-auto-ads",_="none";function S(e){var t=e.accounts,n=e.clients,a=e.alerts,i=e.urlChannels,c=e.accountsError,s=e.alertsError,u=e.urlChannelsError,l=e.previousAccountID,f=e.previousClientID;return void 0===t||void 0===l?N(c):E({accounts:t,previousAccountID:l})?void 0!==n&&void 0!==f?void 0===a?I(s):a.some((function(e){return"graylisted-publisher"===e.type}))?r:O({clients:n,previousClientID:f})?void 0===i?j(u):o:g:void 0:t.length?m:d}var A=function(e){var t=e.urlChannels,n=e.siteURL;if(void 0!==t&&void 0!==n){var a=n.toLowerCase();return t.some((function(e){return 0<=a.indexOf(e.uriPattern.toLowerCase())}))?f:_}},E=function(e){var t=e.accounts,n=e.previousAccountID;if(void 0!==t&&t.length){if(t.length>1){if(!n)return;return t.reduce((function(e,t){return t._id===n?n:e}),void 0)}return t[0]._id}},O=function(e){var t=e.clients,n=e.previousClientID;if(void 0!==t){var a=t.filter((function(e){return"AFC"===e.productCode}));if(a.length){if(a.length>1&&n){var r=a.reduce((function(e,t){return t._id===n?n:e}),"");if(r)return r}return a[0]._id}}},T=function(e){return e===r||e===i},k=function(e){return N(e)||I(e)||j(e)},N=function(e){return C(e,"noAdSenseAccount")?d:C(e,"disapprovedAccount")?a:void 0},I=function(e){if(C(e,"accountPendingReview"))return i};function j(e){if((null==e?void 0:e.message)&&"ad client not found."===e.message.toLowerCase())return i}var C=function(e,t){return!(!e||!e.data)&&t===e.data.reason}},138:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(139),s=n(2),u=n(59),l=n(8),d=function Switch(t){var n=t.onClick,a=t.label,r=t.checked,i=t.disabled,d=t.hideLabel,m=Object(c.a)(Switch),g=Object(s.useCallback)((function(e){null!==e&&l.m.attachTo(e)}),[]),f=Object(s.useCallback)((function(e){"function"==typeof n&&u.c===e.keyCode&&n(e)}),[n]),p="googlesitekit-switch-".concat(m);return e.createElement(s.Fragment,null,e.createElement("div",{"aria-checked":r?"true":"false",className:o()("mdc-switch",{"mdc-switch--checked":r,"mdc-switch--disabled":i}),onClick:n,onKeyDown:f,role:"switch",ref:g,tabIndex:0},e.createElement("div",{className:"mdc-switch__track"}," "),e.createElement("div",{className:"mdc-switch__thumb-underlay"},e.createElement("div",{className:"mdc-switch__thumb"},e.createElement("input",{type:"checkbox",id:p,className:"mdc-switch__native-control",role:"switch",checked:r,disabled:i,readOnly:!0})))),e.createElement("label",{className:o()({"screen-reader-only":d}),htmlFor:p},a))};d.propTypes={id:r.a.string,onClick:r.a.func,label:r.a.node.isRequired,checked:r.a.bool,disabled:r.a.bool,hideLabel:r.a.bool},d.defaultProps={checked:!1,disabled:!1,hideLabel:!0},t.a=d}).call(this,n(3))},140:function(e,t,n){"use strict";n.d(t,"c",(function(){return b})),n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return h})),n.d(t,"d",(function(){return S}));var a=n(6),r=n.n(a),i=n(2);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var c=i.createElement("path",{d:"M10 15.27L16.18 19l-1.64-7.03L20 7.24l-7.19-.61L10 0 7.19 6.63 0 7.24l5.46 4.73L3.82 19 10 15.27z"});var s=function SvgInfoIcon(e){return i.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var l=i.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d=function SvgSuggestionIcon(e){return i.createElement("svg",u({viewBox:"0 0 2 11"},e),l)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=i.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var f,p=function SvgWarningIcon(e){return i.createElement("svg",m({viewBox:"0 0 2 12"},e),g)},y=n(131),b="warning",v="info",h="suggestion",_=(f={},r()(f,v,s),r()(f,b,p),r()(f,h,d),f),S=function(e){return _[e]||y.a}},142:function(e,t){e.exports=googlesitekit.modules},143:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s}));var a=n(4),r=n.n(a),i=n(22),o=n(76),c=r.a.useSelect;function s(t){var n=t.moduleName,a=t.FallbackComponent,r=t.IncompleteComponent;return function(t){var s=function WhenActiveComponent(o){var s=c((function(e){return e(i.a).getModule(n)}),[n]);if(!s)return null;var u=a||o.WidgetNull||null;if(!1===s.active)return u&&e.createElement(u,o);if(!1===s.connected){var l=r||u;return l&&e.createElement(l,o)}return e.createElement(t,o)};return s.displayName="When".concat(Object(o.c)(n),"Active"),(t.displayName||t.name)&&(s.displayName+="(".concat(t.displayName||t.name,")")),s}}}).call(this,n(3))},145:function(e,t,n){"use strict";var a=n(2);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("path",{d:"M3.332 24.75h21.335c2.182 0 3.542-2.366 2.451-4.25L16.451 2.07C15.36.184 12.64.184 11.549 2.07L.882 20.5c-1.091 1.884.269 4.25 2.45 4.25zM14 14.833a1.42 1.42 0 01-1.417-1.416v-2.834c0-.779.638-1.416 1.417-1.416.78 0 1.417.637 1.417 1.416v2.834A1.42 1.42 0 0114 14.833zm1.417 5.667h-2.834v-2.833h2.834V20.5z",fill:"currentColor",fillRule:"nonzero"});t.a=function SvgError(e){return a.createElement("svg",r({viewBox:"0 0 28 25"},e),i)}},146:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(10),r=n.n(a),i=function(e,t){var n=t.dateRangeLength;r()(Array.isArray(e),"report must be an array to partition."),r()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var a=-1*n;return{currentRange:e.slice(a),compareRange:e.slice(2*a,a)}}},149:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(1);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.slug,i=void 0===r?"":r,o=n.name,c=void 0===o?"":o,s=n.owner,u=void 0===s?{}:s;if(!i||!c)return e;var l="",d="";return"analytics"===i?e.match(/account/i)?l=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics account, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/property/i)?l=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"):e.match(/view/i)&&(l=Object(a.__)("Your Google account does not have sufficient permissions for this Analytics view, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")):"search-console"===i&&(l=Object(a.__)("Your Google account does not have sufficient permissions for this Search Console property, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit")),l||(l=Object(a.sprintf)(Object(a.__)("Your Google account does not have sufficient permissions to access %s data, so you won’t be able to see stats from it on the Site Kit dashboard.","google-site-kit"),c)),u&&u.login&&(d=Object(a.sprintf)(Object(a.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),u.login)),d||(d=Object(a.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(l," ").concat(d)}},15:function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var a="core/site",r="primary",i="secondary"},155:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(10),r=n.n(a),i=n(41),o=function(e){var t=e.startDate,n=e.endDate,a=e.compareStartDate,o=e.compareEndDate;r()(Object(i.a)(t),"A valid startDate is required."),r()(Object(i.a)(n),"A valid endDate is required.");var c={"_u.date00":t.replace(/-/g,""),"_u.date01":n.replace(/-/g,"")};return(a||o)&&(r()(Object(i.a)(a)&&Object(i.a)(o),"Valid compareStartDate and compareEndDate values are required."),c["_u.date10"]=a.replace(/-/g,""),c["_u.date11"]=o.replace(/-/g,"")),c}},160:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return j})),n.d(t,"c",(function(){return C})),n.d(t,"f",(function(){return w})),n.d(t,"e",(function(){return D})),n.d(t,"d",(function(){return R}));var a=n(14),r=n.n(a),i=n(5),o=n.n(i),c=n(6),s=n.n(c),u=n(10),l=n.n(u),d=n(57),m=n.n(d),g=n(161),f=n.n(g),p=n(34),y=n.n(p),b=n(4),v=n.n(b),h=n(74),_=n(76),S=n(48),A=n(54);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=v.a.createRegistrySelector,k=A.a.clearError,N=A.a.receiveError,I="cannot submit changes while submitting changes",j="cannot submit changes if settings have not changed",C=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=a.storeName,i=void 0===r?void 0:r,c=a.settingSlugs,u=void 0===c?[]:c;l()(e,"type is required."),l()(t,"identifier is required."),l()(n,"datapoint is required.");var d=i||"".concat(e,"/").concat(t),g={settings:void 0,savedSettings:void 0},p=Object(S.a)({baseName:"getSettings",controlCallback:function(){return y.a.get(e,t,n,{},{useCache:!1})},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O(O({},t),e.settings||{})})}}),b=Object(S.a)({baseName:"saveSettings",controlCallback:function(a){var r=a.values;return y.a.set(e,t,n,r)},reducerCallback:function(e,t){return O(O({},e),{},{savedSettings:O({},t),settings:O({},t)})},argsToParams:function(e){return{values:e}},validateParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.values;l()(m()(t),"values is required.")}}),h={},A={setSettings:function(e){return l()(m()(e),"values is required."),{payload:{values:e},type:"SET_SETTINGS"}},rollbackSettings:function(){return{payload:{},type:"ROLLBACK_SETTINGS"}},saveSettings:o.a.mark((function e(){var t,n,a,r,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.a.commonActions.getRegistry();case 2:return t=e.sent,e.next=5,k("saveSettings",[]);case 5:return n=t.select(d).getSettings(),e.next=8,b.actions.fetchSaveSettings(n);case 8:if(a=e.sent,r=a.response,!(i=a.error)){e.next=14;break}return e.next=14,N(i,"saveSettings",[]);case 14:return e.abrupt("return",{response:r,error:i});case 15:case"end":return e.stop()}}),e)}))},E={},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"SET_SETTINGS":var r=a.values;return O(O({},e),{},{settings:O(O({},e.settings||{}),r)});case"ROLLBACK_SETTINGS":return O(O({},e),{},{settings:e.savedSettings});default:return void 0!==h[n]?h[n](e,{type:n,payload:a}):e}},j={getSettings:o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.a.commonActions.getRegistry();case 2:if(t=e.sent,t.select(d).getSettings()){e.next=7;break}return e.next=7,p.actions.fetchGetSettings();case 7:case"end":return e.stop()}}),e)}))},C={getSettings:function(e){return e.settings},haveSettingsChanged:function(e){var t=e.settings,n=e.savedSettings;return!f()(t,n)},hasSettingChanged:function(e,t){l()(t,"setting is required.");var n=e.settings,a=e.savedSettings;return!(!n||!a)&&!f()(n[t],a[t])},isDoingSaveSettings:function(e){return Object.values(e.isFetchingSaveSettings).some(Boolean)}};u.forEach((function(e){var t=Object(_.b)(e),n=Object(_.a)(e);A["set".concat(t)]=function(e){return l()(void 0!==e,"value is required for calls to set".concat(t,"().")),{payload:{value:e},type:"SET_".concat(n)}},h["SET_".concat(n)]=function(t,n){var a=n.payload.value;return O(O({},t),{},{settings:O(O({},t.settings||{}),{},s()({},e,a))})},C["get".concat(t)]=T((function(t){return function(){return(t(d).getSettings()||{})[e]}}))}));var w=v.a.combineStores(v.a.commonStore,p,b,{initialState:g,actions:A,controls:E,reducer:I,resolvers:j,selectors:C});return O(O({},w),{},{STORE_NAME:d})};function w(e,t){return function(){var n=r()(o.a.mark((function n(a){var r,i,c,s;return o.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=a.select,i=a.dispatch,!r(t).haveSettingsChanged()){n.next=8;break}return n.next=4,i(t).saveSettings();case 4:if(c=n.sent,!(s=c.error)){n.next=8;break}return n.abrupt("return",{error:s});case 8:return n.next=10,y.a.invalidateCache("modules",e);case 10:return n.abrupt("return",{});case 11:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}function D(e){return function(t){var n=t.select,a=t.dispatch;return n(e).haveSettingsChanged()?a(e).rollbackSettings():{}}}function R(e){return function(t){var n=Object(h.e)(t)(e),a=n.haveSettingsChanged,r=n.isDoingSubmitChanges;l()(!r(),I),l()(a(),j)}}},18:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(9),s=n.n(c),u=n(0),l=n.n(u),d=n(129),m=n(264),g=n(2),f=n(1),p=n(8),y=Object(g.forwardRef)((function(t,n){var a=t.children,i=t.href,c=t.text,u=t.className,l=t.danger,y=t.disabled,b=t.target,v=t.icon,h=t.trailingIcon,_=t["aria-label"],S=t.title,A=t.tooltip,E=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","tooltip"]),O=Object(g.useCallback)((function(e){null!==e&&p.l.attachTo(e)}),[]),T=Object(d.a)(n,O),k=i&&!y?"a":"button",N=e.createElement(k,r()({className:s()("mdc-button",u,{"mdc-button--raised":!c,"mdc-button--danger":l}),href:y?void 0:i,ref:T,disabled:!!y,"aria-label":function(){var e=_;if("_blank"!==b)return e;var t=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit");return"string"==typeof a&&(e=e||a),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===k?"button":void 0},E),v,a&&e.createElement("span",{className:"mdc-button__label"},a),h);return A&&(S||_)||v&&(S||_)&&void 0===a?e.createElement(m.a,{title:S||_,classes:{popper:"googlesitekit-tooltip-popper",tooltip:"googlesitekit-tooltip"}},N):N}));y.displayName="Button",y.propTypes={onClick:l.a.func,children:l.a.node,href:l.a.string,text:l.a.bool,className:l.a.string,danger:l.a.bool,disabled:l.a.bool,icon:l.a.element,trailingIcon:l.a.element,title:l.a.string,tooltip:l.a.bool},y.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,tooltip:!1},t.a=y}).call(this,n(3))},19:function(e,t,n){"use strict";var a=n(2),r=n(68);t.a=function(){return Object(a.useContext)(r.b)}},191:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var a=n(2),r=n(4),i=n.n(r),o=n(12),c=n(22),s=n(37),u=i.a.useSelect,l=i.a.useDispatch;function d(e){var t=u((function(e){return e(o.a).hasCapability(o.d)})),n=u((function(t){return t(c.a).getModuleStoreName(e)})),r=u((function(e){var t;return null===(t=e(n))||void 0===t?void 0:t.getAdminReauthURL()})),i=l(s.a).navigateTo,d=Object(a.useCallback)((function(){return i(r)}),[r,i]);return r&&t?d:null}},192:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(2),s=n(4),u=n.n(s),l=n(15),d=n(12),m=n(22),g=n(37),f=n(30),p=n(19),y=u.a.useSelect,b=u.a.useDispatch;function v(e){var t=Object(p.a)(),n=y((function(t){return t(m.a).getModule(e)})),a=y((function(e){return e(d.a).hasCapability(d.d)})),i=b(m.a).activateModule,s=b(g.a).navigateTo,u=b(l.c).setInternalServerError,v=Object(c.useCallback)(o()(r.a.mark((function n(){var a,o,c;return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,i(e);case 2:if(a=n.sent,o=a.error,c=a.response,o){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:s(c.moduleReauthURL),n.next=12;break;case 11:u({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[i,e,s,u,t]);return(null==n?void 0:n.name)&&a?v:null}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var a=n(26),r=[{countryCode:"AF",displayName:"Afghanistan",defaultTimeZoneId:"Asia/Kabul",timeZone:[{timeZoneId:"Asia/Kabul",displayName:"(GMT+04:30) Afghanistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AL",displayName:"Albania",defaultTimeZoneId:"Europe/Tirane",timeZone:[{timeZoneId:"Europe/Tirane",displayName:"(GMT+02:00) Albania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DZ",displayName:"Algeria",defaultTimeZoneId:"Africa/Algiers",timeZone:[{timeZoneId:"Africa/Algiers",displayName:"(GMT+01:00) Algeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AS",displayName:"American Samoa",defaultTimeZoneId:"Pacific/Pago_Pago",timeZone:[{timeZoneId:"Pacific/Pago_Pago",displayName:"(GMT-11:00) American Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AD",displayName:"Andorra",defaultTimeZoneId:"Europe/Andorra",timeZone:[{timeZoneId:"Europe/Andorra",displayName:"(GMT+02:00) Andorra Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AQ",displayName:"Antarctica",defaultTimeZoneId:"Antarctica/Palmer",timeZone:[{timeZoneId:"Antarctica/Palmer",displayName:"(GMT-03:00) Palmer Time"},{timeZoneId:"Antarctica/Rothera",displayName:"(GMT-03:00) Rothera Time"},{timeZoneId:"Antarctica/Syowa",displayName:"(GMT+03:00) Syowa Time"},{timeZoneId:"Antarctica/Mawson",displayName:"(GMT+05:00) Mawson Time"},{timeZoneId:"Antarctica/Vostok",displayName:"(GMT+06:00) Vostok Time"},{timeZoneId:"Antarctica/Davis",displayName:"(GMT+07:00) Davis Time"},{timeZoneId:"Antarctica/Casey",displayName:"(GMT+08:00) Casey Time"},{timeZoneId:"Antarctica/DumontDUrville",displayName:"(GMT+10:00) Dumont d’Urville Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AR",displayName:"Argentina",defaultTimeZoneId:"America/Buenos_Aires",timeZone:[{timeZoneId:"America/Buenos_Aires",displayName:"(GMT-03:00) Buenos Aires Time"},{timeZoneId:"America/Cordoba",displayName:"(GMT-03:00) Cordoba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"AM",displayName:"Armenia",defaultTimeZoneId:"Asia/Yerevan",timeZone:[{timeZoneId:"Asia/Yerevan",displayName:"(GMT+04:00) Armenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AU",displayName:"Australia",defaultTimeZoneId:"Australia/Perth",timeZone:[{timeZoneId:"Australia/Perth",displayName:"(GMT+08:00) Perth Time"},{timeZoneId:"Australia/Adelaide",displayName:"(GMT+09:30) Adelaide Time"},{timeZoneId:"Australia/Darwin",displayName:"(GMT+09:30) Darwin Time"},{timeZoneId:"Australia/Brisbane",displayName:"(GMT+10:00) Brisbane Time"},{timeZoneId:"Australia/Hobart",displayName:"(GMT+10:00) Hobart Time"},{timeZoneId:"Australia/Melbourne",displayName:"(GMT+10:00) Melbourne Time"},{timeZoneId:"Australia/Sydney",displayName:"(GMT+10:00) Sydney Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"AT",displayName:"Austria",defaultTimeZoneId:"Europe/Vienna",timeZone:[{timeZoneId:"Europe/Vienna",displayName:"(GMT+02:00) Austria Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"AZ",displayName:"Azerbaijan",defaultTimeZoneId:"Asia/Baku",timeZone:[{timeZoneId:"Asia/Baku",displayName:"(GMT+04:00) Azerbaijan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BS",displayName:"Bahamas",defaultTimeZoneId:"America/Nassau",timeZone:[{timeZoneId:"America/Nassau",displayName:"(GMT-04:00) Bahamas Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BD",displayName:"Bangladesh",defaultTimeZoneId:"Asia/Dhaka",timeZone:[{timeZoneId:"Asia/Dhaka",displayName:"(GMT+06:00) Bangladesh Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BB",displayName:"Barbados",defaultTimeZoneId:"America/Barbados",timeZone:[{timeZoneId:"America/Barbados",displayName:"(GMT-04:00) Barbados Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BY",displayName:"Belarus",defaultTimeZoneId:"Europe/Minsk",timeZone:[{timeZoneId:"Europe/Minsk",displayName:"(GMT+03:00) Belarus Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BE",displayName:"Belgium",defaultTimeZoneId:"Europe/Brussels",timeZone:[{timeZoneId:"Europe/Brussels",displayName:"(GMT+02:00) Belgium Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"BZ",displayName:"Belize",defaultTimeZoneId:"America/Belize",timeZone:[{timeZoneId:"America/Belize",displayName:"(GMT-06:00) Belize Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BM",displayName:"Bermuda",defaultTimeZoneId:"Atlantic/Bermuda",timeZone:[{timeZoneId:"Atlantic/Bermuda",displayName:"(GMT-03:00) Bermuda Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BT",displayName:"Bhutan",defaultTimeZoneId:"Asia/Thimphu",timeZone:[{timeZoneId:"Asia/Thimphu",displayName:"(GMT+06:00) Bhutan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BO",displayName:"Bolivia",defaultTimeZoneId:"America/La_Paz",timeZone:[{timeZoneId:"America/La_Paz",displayName:"(GMT-04:00) Bolivia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"BA",displayName:"Bosnia & Herzegovina",defaultTimeZoneId:"Europe/Sarajevo",timeZone:[{timeZoneId:"Europe/Sarajevo",displayName:"(GMT+02:00) Bosnia & Herzegovina Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BR",displayName:"Brazil",defaultTimeZoneId:"America/Rio_Branco",timeZone:[{timeZoneId:"America/Rio_Branco",displayName:"(GMT-05:00) Rio Branco Time"},{timeZoneId:"America/Boa_Vista",displayName:"(GMT-04:00) Boa Vista Time"},{timeZoneId:"America/Campo_Grande",displayName:"(GMT-04:00) Campo Grande Time"},{timeZoneId:"America/Cuiaba",displayName:"(GMT-04:00) Cuiaba Time"},{timeZoneId:"America/Manaus",displayName:"(GMT-04:00) Manaus Time"},{timeZoneId:"America/Porto_Velho",displayName:"(GMT-04:00) Porto Velho Time"},{timeZoneId:"America/Araguaina",displayName:"(GMT-03:00) Araguaina Time"},{timeZoneId:"America/Bahia",displayName:"(GMT-03:00) Bahia Time"},{timeZoneId:"America/Belem",displayName:"(GMT-03:00) Belem Time"},{timeZoneId:"America/Fortaleza",displayName:"(GMT-03:00) Fortaleza Time"},{timeZoneId:"America/Maceio",displayName:"(GMT-03:00) Maceio Time"},{timeZoneId:"America/Recife",displayName:"(GMT-03:00) Recife Time"},{timeZoneId:"America/Sao_Paulo",displayName:"(GMT-03:00) Sao Paulo Time"},{timeZoneId:"America/Noronha",displayName:"(GMT-02:00) Noronha Time"}],tosLocale:{language:"pt",country:"BR"}},{countryCode:"IO",displayName:"British Indian Ocean Territory",defaultTimeZoneId:"Indian/Chagos",timeZone:[{timeZoneId:"Indian/Chagos",displayName:"(GMT+06:00) British Indian Ocean Territory Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"BN",displayName:"Brunei",defaultTimeZoneId:"Asia/Brunei",timeZone:[{timeZoneId:"Asia/Brunei",displayName:"(GMT+08:00) Brunei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"BG",displayName:"Bulgaria",defaultTimeZoneId:"Europe/Sofia",timeZone:[{timeZoneId:"Europe/Sofia",displayName:"(GMT+03:00) Bulgaria Time"}],tosLocale:{language:"bg",country:"BG"}},{countryCode:"CA",displayName:"Canada",defaultTimeZoneId:"America/Dawson",timeZone:[{timeZoneId:"America/Dawson",displayName:"(GMT-07:00) Dawson Time"},{timeZoneId:"America/Vancouver",displayName:"(GMT-07:00) Vancouver Time"},{timeZoneId:"America/Whitehorse",displayName:"(GMT-07:00) Whitehorse Time"},{timeZoneId:"America/Edmonton",displayName:"(GMT-06:00) Edmonton Time"},{timeZoneId:"America/Yellowknife",displayName:"(GMT-06:00) Yellowknife Time"},{timeZoneId:"America/Dawson_Creek",displayName:"(GMT-07:00) Dawson Creek Time"},{timeZoneId:"America/Winnipeg",displayName:"(GMT-05:00) Winnipeg Time"},{timeZoneId:"America/Regina",displayName:"(GMT-06:00) Regina Time"},{timeZoneId:"America/Iqaluit",displayName:"(GMT-04:00) Iqaluit Time"},{timeZoneId:"America/Toronto",displayName:"(GMT-04:00) Toronto Time"},{timeZoneId:"America/Halifax",displayName:"(GMT-03:00) Halifax Time"},{timeZoneId:"America/St_Johns",displayName:"(GMT-02:30) St. John’s Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CV",displayName:"Cape Verde",defaultTimeZoneId:"Atlantic/Cape_Verde",timeZone:[{timeZoneId:"Atlantic/Cape_Verde",displayName:"(GMT-01:00) Cape Verde Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TD",displayName:"Chad",defaultTimeZoneId:"Africa/Ndjamena",timeZone:[{timeZoneId:"Africa/Ndjamena",displayName:"(GMT+01:00) Chad Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"CL",displayName:"Chile",defaultTimeZoneId:"Pacific/Easter",timeZone:[{timeZoneId:"Pacific/Easter",displayName:"(GMT-06:00) Easter Time"},{timeZoneId:"America/Santiago",displayName:"(GMT-04:00) Chile Time"},{timeZoneId:"America/Punta_Arenas",displayName:"(GMT-03:00) Punta Arenas Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CN",displayName:"China",defaultTimeZoneId:"Asia/Shanghai",timeZone:[{timeZoneId:"Asia/Shanghai",displayName:"(GMT+08:00) China Time"}],tosLocale:{language:"zh",country:"CN"}},{countryCode:"CX",displayName:"Christmas Island",defaultTimeZoneId:"Indian/Christmas",timeZone:[{timeZoneId:"Indian/Christmas",displayName:"(GMT+07:00) Christmas Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CC",displayName:"Cocos (Keeling) Islands",defaultTimeZoneId:"Indian/Cocos",timeZone:[{timeZoneId:"Indian/Cocos",displayName:"(GMT+06:30) Cocos (Keeling) Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CO",displayName:"Colombia",defaultTimeZoneId:"America/Bogota",timeZone:[{timeZoneId:"America/Bogota",displayName:"(GMT-05:00) Colombia Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CK",displayName:"Cook Islands",defaultTimeZoneId:"Pacific/Rarotonga",timeZone:[{timeZoneId:"Pacific/Rarotonga",displayName:"(GMT-10:00) Cook Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CR",displayName:"Costa Rica",defaultTimeZoneId:"America/Costa_Rica",timeZone:[{timeZoneId:"America/Costa_Rica",displayName:"(GMT-06:00) Costa Rica Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CI",displayName:"Côte d’Ivoire",defaultTimeZoneId:"Africa/Abidjan",timeZone:[{timeZoneId:"Africa/Abidjan",displayName:"(GMT+00:00) Côte d’Ivoire Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"HR",displayName:"Croatia",defaultTimeZoneId:"Europe/Zagreb",timeZone:[{timeZoneId:"Europe/Zagreb",displayName:"(GMT+02:00) Croatia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CU",displayName:"Cuba",defaultTimeZoneId:"America/Havana",timeZone:[{timeZoneId:"America/Havana",displayName:"(GMT-04:00) Cuba Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"CW",displayName:"Curaçao",defaultTimeZoneId:"America/Curacao",timeZone:[{timeZoneId:"America/Curacao",displayName:"(GMT-04:00) Curaçao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"CY",displayName:"Cyprus",defaultTimeZoneId:"Asia/Nicosia",timeZone:[{timeZoneId:"Asia/Nicosia",displayName:"(GMT+03:00) Nicosia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"CZ",displayName:"Czechia",defaultTimeZoneId:"Europe/Prague",timeZone:[{timeZoneId:"Europe/Prague",displayName:"(GMT+02:00) Czechia Time"}],tosLocale:{language:"cs",country:"CZ"}},{countryCode:"DK",displayName:"Denmark",defaultTimeZoneId:"Europe/Copenhagen",timeZone:[{timeZoneId:"Europe/Copenhagen",displayName:"(GMT+02:00) Denmark Time"}],tosLocale:{language:"da",country:"DK"}},{countryCode:"DO",displayName:"Dominican Republic",defaultTimeZoneId:"America/Santo_Domingo",timeZone:[{timeZoneId:"America/Santo_Domingo",displayName:"(GMT-04:00) Dominican Republic Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EC",displayName:"Ecuador",defaultTimeZoneId:"Pacific/Galapagos",timeZone:[{timeZoneId:"Pacific/Galapagos",displayName:"(GMT-06:00) Galapagos Time"},{timeZoneId:"America/Guayaquil",displayName:"(GMT-05:00) Ecuador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EG",displayName:"Egypt",defaultTimeZoneId:"Africa/Cairo",timeZone:[{timeZoneId:"Africa/Cairo",displayName:"(GMT+02:00) Egypt Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SV",displayName:"El Salvador",defaultTimeZoneId:"America/El_Salvador",timeZone:[{timeZoneId:"America/El_Salvador",displayName:"(GMT-06:00) El Salvador Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"EE",displayName:"Estonia",defaultTimeZoneId:"Europe/Tallinn",timeZone:[{timeZoneId:"Europe/Tallinn",displayName:"(GMT+03:00) Estonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FK",displayName:"Falkland Islands (Islas Malvinas)",defaultTimeZoneId:"Atlantic/Stanley",timeZone:[{timeZoneId:"Atlantic/Stanley",displayName:"(GMT-03:00) Falkland Islands (Islas Malvinas) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FO",displayName:"Faroe Islands",defaultTimeZoneId:"Atlantic/Faeroe",timeZone:[{timeZoneId:"Atlantic/Faeroe",displayName:"(GMT+01:00) Faroe Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"FJ",displayName:"Fiji",defaultTimeZoneId:"Pacific/Fiji",timeZone:[{timeZoneId:"Pacific/Fiji",displayName:"(GMT+12:00) Fiji Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"FI",displayName:"Finland",defaultTimeZoneId:"Europe/Helsinki",timeZone:[{timeZoneId:"Europe/Helsinki",displayName:"(GMT+03:00) Finland Time"}],tosLocale:{language:"fi",country:"FI"}},{countryCode:"FR",displayName:"France",defaultTimeZoneId:"Europe/Paris",timeZone:[{timeZoneId:"Europe/Paris",displayName:"(GMT+02:00) France Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GF",displayName:"French Guiana",defaultTimeZoneId:"America/Cayenne",timeZone:[{timeZoneId:"America/Cayenne",displayName:"(GMT-03:00) French Guiana Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"PF",displayName:"French Polynesia",defaultTimeZoneId:"Pacific/Tahiti",timeZone:[{timeZoneId:"Pacific/Tahiti",displayName:"(GMT-10:00) Tahiti Time"},{timeZoneId:"Pacific/Marquesas",displayName:"(GMT-09:30) Marquesas Time"},{timeZoneId:"Pacific/Gambier",displayName:"(GMT-09:00) Gambier Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"TF",displayName:"French Southern Territories",defaultTimeZoneId:"Indian/Kerguelen",timeZone:[{timeZoneId:"Indian/Kerguelen",displayName:"(GMT+05:00) French Southern Territories Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GE",displayName:"Georgia",defaultTimeZoneId:"Asia/Tbilisi",timeZone:[{timeZoneId:"Asia/Tbilisi",displayName:"(GMT+04:00) Georgia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"DE",displayName:"Germany",defaultTimeZoneId:"Europe/Berlin",timeZone:[{timeZoneId:"Europe/Berlin",displayName:"(GMT+02:00) Germany Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"GH",displayName:"Ghana",defaultTimeZoneId:"Africa/Accra",timeZone:[{timeZoneId:"Africa/Accra",displayName:"(GMT+00:00) Ghana Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GI",displayName:"Gibraltar",defaultTimeZoneId:"Europe/Gibraltar",timeZone:[{timeZoneId:"Europe/Gibraltar",displayName:"(GMT+02:00) Gibraltar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GR",displayName:"Greece",defaultTimeZoneId:"Europe/Athens",timeZone:[{timeZoneId:"Europe/Athens",displayName:"(GMT+03:00) Greece Time"}],tosLocale:{language:"el",country:"GR"}},{countryCode:"GL",displayName:"Greenland",defaultTimeZoneId:"America/Thule",timeZone:[{timeZoneId:"America/Thule",displayName:"(GMT-03:00) Thule Time"},{timeZoneId:"America/Godthab",displayName:"(GMT-02:00) Nuuk Time"},{timeZoneId:"America/Scoresbysund",displayName:"(GMT+00:00) Ittoqqortoormiit Time"},{timeZoneId:"America/Danmarkshavn",displayName:"(GMT+00:00) Danmarkshavn Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GU",displayName:"Guam",defaultTimeZoneId:"Pacific/Guam",timeZone:[{timeZoneId:"Pacific/Guam",displayName:"(GMT+10:00) Guam Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"GT",displayName:"Guatemala",defaultTimeZoneId:"America/Guatemala",timeZone:[{timeZoneId:"America/Guatemala",displayName:"(GMT-06:00) Guatemala Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"GW",displayName:"Guinea-Bissau",defaultTimeZoneId:"Africa/Bissau",timeZone:[{timeZoneId:"Africa/Bissau",displayName:"(GMT+00:00) Guinea-Bissau Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"GY",displayName:"Guyana",defaultTimeZoneId:"America/Guyana",timeZone:[{timeZoneId:"America/Guyana",displayName:"(GMT-04:00) Guyana Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HT",displayName:"Haiti",defaultTimeZoneId:"America/Port-au-Prince",timeZone:[{timeZoneId:"America/Port-au-Prince",displayName:"(GMT-04:00) Haiti Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HN",displayName:"Honduras",defaultTimeZoneId:"America/Tegucigalpa",timeZone:[{timeZoneId:"America/Tegucigalpa",displayName:"(GMT-06:00) Honduras Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"HK",displayName:"Hong Kong",defaultTimeZoneId:"Asia/Hong_Kong",timeZone:[{timeZoneId:"Asia/Hong_Kong",displayName:"(GMT+08:00) Hong Kong Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"HU",displayName:"Hungary",defaultTimeZoneId:"Europe/Budapest",timeZone:[{timeZoneId:"Europe/Budapest",displayName:"(GMT+02:00) Hungary Time"}],tosLocale:{language:"hu",country:"HU"}},{countryCode:"IS",displayName:"Iceland",defaultTimeZoneId:"Atlantic/Reykjavik",timeZone:[{timeZoneId:"Atlantic/Reykjavik",displayName:"(GMT+00:00) Iceland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IN",displayName:"India",defaultTimeZoneId:"Asia/Calcutta",timeZone:[{timeZoneId:"Asia/Calcutta",displayName:"(GMT+05:30) India Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ID",displayName:"Indonesia",defaultTimeZoneId:"Asia/Jakarta",timeZone:[{timeZoneId:"Asia/Jakarta",displayName:"(GMT+07:00) Jakarta Time"},{timeZoneId:"Asia/Makassar",displayName:"(GMT+08:00) Makassar Time"},{timeZoneId:"Asia/Jayapura",displayName:"(GMT+09:00) Jayapura Time"}],tosLocale:{language:"in",country:"ID"}},{countryCode:"IR",displayName:"Iran",defaultTimeZoneId:"Asia/Tehran",timeZone:[{timeZoneId:"Asia/Tehran",displayName:"(GMT+04:30) Iran Time"}]},{countryCode:"IQ",displayName:"Iraq",defaultTimeZoneId:"Asia/Baghdad",timeZone:[{timeZoneId:"Asia/Baghdad",displayName:"(GMT+03:00) Iraq Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IE",displayName:"Ireland",defaultTimeZoneId:"Europe/Dublin",timeZone:[{timeZoneId:"Europe/Dublin",displayName:"(GMT+01:00) Ireland Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IL",displayName:"Israel",defaultTimeZoneId:"Asia/Jerusalem",timeZone:[{timeZoneId:"Asia/Jerusalem",displayName:"(GMT+03:00) Israel Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"IT",displayName:"Italy",defaultTimeZoneId:"Europe/Rome",timeZone:[{timeZoneId:"Europe/Rome",displayName:"(GMT+02:00) Italy Time"}],tosLocale:{language:"it",country:"IT"}},{countryCode:"JM",displayName:"Jamaica",defaultTimeZoneId:"America/Jamaica",timeZone:[{timeZoneId:"America/Jamaica",displayName:"(GMT-05:00) Jamaica Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"JP",displayName:"Japan",defaultTimeZoneId:"Asia/Tokyo",timeZone:[{timeZoneId:"Asia/Tokyo",displayName:"(GMT+09:00) Japan Time"}],tosLocale:{language:"ja",country:"JP"}},{countryCode:"JO",displayName:"Jordan",defaultTimeZoneId:"Asia/Amman",timeZone:[{timeZoneId:"Asia/Amman",displayName:"(GMT+03:00) Jordan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KZ",displayName:"Kazakhstan",defaultTimeZoneId:"Asia/Aqtau",timeZone:[{timeZoneId:"Asia/Aqtau",displayName:"(GMT+05:00) Aqtau Time"},{timeZoneId:"Asia/Aqtobe",displayName:"(GMT+05:00) Aqtobe Time"},{timeZoneId:"Asia/Almaty",displayName:"(GMT+06:00) Almaty Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KE",displayName:"Kenya",defaultTimeZoneId:"Africa/Nairobi",timeZone:[{timeZoneId:"Africa/Nairobi",displayName:"(GMT+03:00) Kenya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"KI",displayName:"Kiribati",defaultTimeZoneId:"Pacific/Tarawa",timeZone:[{timeZoneId:"Pacific/Tarawa",displayName:"(GMT+12:00) Tarawa Time"},{timeZoneId:"Pacific/Enderbury",displayName:"(GMT+13:00) Enderbury Time"},{timeZoneId:"Pacific/Kiritimati",displayName:"(GMT+14:00) Kiritimati Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KG",displayName:"Kyrgyzstan",defaultTimeZoneId:"Asia/Bishkek",timeZone:[{timeZoneId:"Asia/Bishkek",displayName:"(GMT+06:00) Kyrgyzstan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"LV",displayName:"Latvia",defaultTimeZoneId:"Europe/Riga",timeZone:[{timeZoneId:"Europe/Riga",displayName:"(GMT+03:00) Latvia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LB",displayName:"Lebanon",defaultTimeZoneId:"Asia/Beirut",timeZone:[{timeZoneId:"Asia/Beirut",displayName:"(GMT+03:00) Lebanon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LR",displayName:"Liberia",defaultTimeZoneId:"Africa/Monrovia",timeZone:[{timeZoneId:"Africa/Monrovia",displayName:"(GMT+00:00) Liberia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LY",displayName:"Libya",defaultTimeZoneId:"Africa/Tripoli",timeZone:[{timeZoneId:"Africa/Tripoli",displayName:"(GMT+02:00) Libya Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"LT",displayName:"Lithuania",defaultTimeZoneId:"Europe/Vilnius",timeZone:[{timeZoneId:"Europe/Vilnius",displayName:"(GMT+03:00) Lithuania Time"}],tosLocale:{language:"lt",country:"LT"}},{countryCode:"LU",displayName:"Luxembourg",defaultTimeZoneId:"Europe/Luxembourg",timeZone:[{timeZoneId:"Europe/Luxembourg",displayName:"(GMT+02:00) Luxembourg Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MO",displayName:"Macao",defaultTimeZoneId:"Asia/Macau",timeZone:[{timeZoneId:"Asia/Macau",displayName:"(GMT+08:00) Macao Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MY",displayName:"Malaysia",defaultTimeZoneId:"Asia/Kuala_Lumpur",timeZone:[{timeZoneId:"Asia/Kuala_Lumpur",displayName:"(GMT+08:00) Malaysia Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MV",displayName:"Maldives",defaultTimeZoneId:"Indian/Maldives",timeZone:[{timeZoneId:"Indian/Maldives",displayName:"(GMT+05:00) Maldives Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MT",displayName:"Malta",defaultTimeZoneId:"Europe/Malta",timeZone:[{timeZoneId:"Europe/Malta",displayName:"(GMT+02:00) Malta Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MH",displayName:"Marshall Islands",defaultTimeZoneId:"Pacific/Kwajalein",timeZone:[{timeZoneId:"Pacific/Kwajalein",displayName:"(GMT+12:00) Kwajalein Time"},{timeZoneId:"Pacific/Majuro",displayName:"(GMT+12:00) Marshall Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MQ",displayName:"Martinique",defaultTimeZoneId:"America/Martinique",timeZone:[{timeZoneId:"America/Martinique",displayName:"(GMT-04:00) Martinique Time"}],tosLocale:{language:"fr",country:"FR"}},{countryCode:"MU",displayName:"Mauritius",defaultTimeZoneId:"Indian/Mauritius",timeZone:[{timeZoneId:"Indian/Mauritius",displayName:"(GMT+04:00) Mauritius Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MX",displayName:"Mexico",defaultTimeZoneId:"America/Tijuana",timeZone:[{timeZoneId:"America/Tijuana",displayName:"(GMT-07:00) Tijuana Time"},{timeZoneId:"America/Mazatlan",displayName:"(GMT-06:00) Mazatlan Time"},{timeZoneId:"America/Hermosillo",displayName:"(GMT-07:00) Hermosillo Time"},{timeZoneId:"America/Mexico_City",displayName:"(GMT-05:00) Mexico City Time"},{timeZoneId:"America/Cancun",displayName:"(GMT-05:00) Cancun Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"FM",displayName:"Micronesia",defaultTimeZoneId:"Pacific/Truk",timeZone:[{timeZoneId:"Pacific/Truk",displayName:"(GMT+10:00) Chuuk Time"},{timeZoneId:"Pacific/Kosrae",displayName:"(GMT+11:00) Kosrae Time"},{timeZoneId:"Pacific/Ponape",displayName:"(GMT+11:00) Pohnpei Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MD",displayName:"Moldova",defaultTimeZoneId:"Europe/Chisinau",timeZone:[{timeZoneId:"Europe/Chisinau",displayName:"(GMT+03:00) Moldova Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MC",displayName:"Monaco",defaultTimeZoneId:"Europe/Monaco",timeZone:[{timeZoneId:"Europe/Monaco",displayName:"(GMT+02:00) Monaco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MN",displayName:"Mongolia",defaultTimeZoneId:"Asia/Hovd",timeZone:[{timeZoneId:"Asia/Hovd",displayName:"(GMT+07:00) Hovd Time"},{timeZoneId:"Asia/Choibalsan",displayName:"(GMT+08:00) Choibalsan Time"},{timeZoneId:"Asia/Ulaanbaatar",displayName:"(GMT+08:00) Ulaanbaatar Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"MA",displayName:"Morocco",defaultTimeZoneId:"Africa/Casablanca",timeZone:[{timeZoneId:"Africa/Casablanca",displayName:"(GMT+01:00) Morocco Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MZ",displayName:"Mozambique",defaultTimeZoneId:"Africa/Maputo",timeZone:[{timeZoneId:"Africa/Maputo",displayName:"(GMT+02:00) Mozambique Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"MM",displayName:"Myanmar (Burma)",defaultTimeZoneId:"Asia/Rangoon",timeZone:[{timeZoneId:"Asia/Rangoon",displayName:"(GMT+06:30) Myanmar (Burma) Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NA",displayName:"Namibia",defaultTimeZoneId:"Africa/Windhoek",timeZone:[{timeZoneId:"Africa/Windhoek",displayName:"(GMT+02:00) Namibia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NR",displayName:"Nauru",defaultTimeZoneId:"Pacific/Nauru",timeZone:[{timeZoneId:"Pacific/Nauru",displayName:"(GMT+12:00) Nauru Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NP",displayName:"Nepal",defaultTimeZoneId:"Asia/Katmandu",timeZone:[{timeZoneId:"Asia/Katmandu",displayName:"(GMT+05:45) Nepal Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NL",displayName:"Netherlands",defaultTimeZoneId:"Europe/Amsterdam",timeZone:[{timeZoneId:"Europe/Amsterdam",displayName:"(GMT+02:00) Netherlands Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"NC",displayName:"New Caledonia",defaultTimeZoneId:"Pacific/Noumea",timeZone:[{timeZoneId:"Pacific/Noumea",displayName:"(GMT+11:00) New Caledonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NZ",displayName:"New Zealand",defaultTimeZoneId:"Pacific/Auckland",timeZone:[{timeZoneId:"Pacific/Auckland",displayName:"(GMT+12:00) New Zealand Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NI",displayName:"Nicaragua",defaultTimeZoneId:"America/Managua",timeZone:[{timeZoneId:"America/Managua",displayName:"(GMT-06:00) Nicaragua Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"NG",displayName:"Nigeria",defaultTimeZoneId:"Africa/Lagos",timeZone:[{timeZoneId:"Africa/Lagos",displayName:"(GMT+01:00) Nigeria Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NU",displayName:"Niue",defaultTimeZoneId:"Pacific/Niue",timeZone:[{timeZoneId:"Pacific/Niue",displayName:"(GMT-11:00) Niue Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"NF",displayName:"Norfolk Island",defaultTimeZoneId:"Pacific/Norfolk",timeZone:[{timeZoneId:"Pacific/Norfolk",displayName:"(GMT+11:00) Norfolk Island Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KP",displayName:"North Korea",defaultTimeZoneId:"Asia/Pyongyang",timeZone:[{timeZoneId:"Asia/Pyongyang",displayName:"(GMT+09:00) North Korea Time"}]},{countryCode:"MK",displayName:"North Macedonia",defaultTimeZoneId:"Europe/Skopje",timeZone:[{timeZoneId:"Europe/Skopje",displayName:"(GMT+02:00) North Macedonia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"NO",displayName:"Norway",defaultTimeZoneId:"Europe/Oslo",timeZone:[{timeZoneId:"Europe/Oslo",displayName:"(GMT+02:00) Norway Time"}],tosLocale:{language:"no",country:"NO"}},{countryCode:"PK",displayName:"Pakistan",defaultTimeZoneId:"Asia/Karachi",timeZone:[{timeZoneId:"Asia/Karachi",displayName:"(GMT+05:00) Pakistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PW",displayName:"Palau",defaultTimeZoneId:"Pacific/Palau",timeZone:[{timeZoneId:"Pacific/Palau",displayName:"(GMT+09:00) Palau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PS",displayName:"Palestine",defaultTimeZoneId:"Asia/Gaza",timeZone:[{timeZoneId:"Asia/Gaza",displayName:"(GMT+03:00) Gaza Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PA",displayName:"Panama",defaultTimeZoneId:"America/Panama",timeZone:[{timeZoneId:"America/Panama",displayName:"(GMT-05:00) Panama Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PG",displayName:"Papua New Guinea",defaultTimeZoneId:"Pacific/Port_Moresby",timeZone:[{timeZoneId:"Pacific/Port_Moresby",displayName:"(GMT+10:00) Port Moresby Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PY",displayName:"Paraguay",defaultTimeZoneId:"America/Asuncion",timeZone:[{timeZoneId:"America/Asuncion",displayName:"(GMT-04:00) Paraguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PE",displayName:"Peru",defaultTimeZoneId:"America/Lima",timeZone:[{timeZoneId:"America/Lima",displayName:"(GMT-05:00) Peru Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"PH",displayName:"Philippines",defaultTimeZoneId:"Asia/Manila",timeZone:[{timeZoneId:"Asia/Manila",displayName:"(GMT+08:00) Philippines Time"}],tosLocale:{language:"tl",country:"PH"}},{countryCode:"PN",displayName:"Pitcairn Islands",defaultTimeZoneId:"Pacific/Pitcairn",timeZone:[{timeZoneId:"Pacific/Pitcairn",displayName:"(GMT-08:00) Pitcairn Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"PL",displayName:"Poland",defaultTimeZoneId:"Europe/Warsaw",timeZone:[{timeZoneId:"Europe/Warsaw",displayName:"(GMT+02:00) Poland Time"}],tosLocale:{language:"pl",country:"PL"}},{countryCode:"PT",displayName:"Portugal",defaultTimeZoneId:"Atlantic/Azores",timeZone:[{timeZoneId:"Atlantic/Azores",displayName:"(GMT+00:00) Azores Time"},{timeZoneId:"Europe/Lisbon",displayName:"(GMT+01:00) Portugal Time"}],tosLocale:{language:"pt",country:"PT"}},{countryCode:"PR",displayName:"Puerto Rico",defaultTimeZoneId:"America/Puerto_Rico",timeZone:[{timeZoneId:"America/Puerto_Rico",displayName:"(GMT-04:00) Puerto Rico Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"QA",displayName:"Qatar",defaultTimeZoneId:"Asia/Qatar",timeZone:[{timeZoneId:"Asia/Qatar",displayName:"(GMT+03:00) Qatar Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RE",displayName:"Réunion",defaultTimeZoneId:"Indian/Reunion",timeZone:[{timeZoneId:"Indian/Reunion",displayName:"(GMT+04:00) Réunion Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RO",displayName:"Romania",defaultTimeZoneId:"Europe/Bucharest",timeZone:[{timeZoneId:"Europe/Bucharest",displayName:"(GMT+03:00) Romania Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RU",displayName:"Russia",defaultTimeZoneId:"Europe/Kaliningrad",timeZone:[{timeZoneId:"Europe/Kaliningrad",displayName:"(GMT+02:00) Kaliningrad Time"},{timeZoneId:"Europe/Moscow",displayName:"(GMT+03:00) Moscow Time"},{timeZoneId:"Europe/Samara",displayName:"(GMT+04:00) Samara Time"},{timeZoneId:"Asia/Yekaterinburg",displayName:"(GMT+05:00) Yekaterinburg Time"},{timeZoneId:"Asia/Omsk",displayName:"(GMT+06:00) Omsk Time"},{timeZoneId:"Asia/Krasnoyarsk",displayName:"(GMT+07:00) Krasnoyarsk Time"},{timeZoneId:"Asia/Irkutsk",displayName:"(GMT+08:00) Irkutsk Time"},{timeZoneId:"Asia/Yakutsk",displayName:"(GMT+09:00) Yakutsk Time"},{timeZoneId:"Asia/Vladivostok",displayName:"(GMT+10:00) Vladivostok Time"},{timeZoneId:"Asia/Magadan",displayName:"(GMT+11:00) Magadan Time"},{timeZoneId:"Asia/Kamchatka",displayName:"(GMT+12:00) Kamchatka Time"}],tosLocale:{language:"ru",country:"RU"}},{countryCode:"WS",displayName:"Samoa",defaultTimeZoneId:"Pacific/Apia",timeZone:[{timeZoneId:"Pacific/Apia",displayName:"(GMT+13:00) Samoa Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SM",displayName:"San Marino",defaultTimeZoneId:"Europe/San_Marino",timeZone:[{timeZoneId:"Europe/San_Marino",displayName:"(GMT+02:00) San Marino Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"ST",displayName:"São Tomé & Príncipe",defaultTimeZoneId:"Africa/Sao_Tome",timeZone:[{timeZoneId:"Africa/Sao_Tome",displayName:"(GMT+00:00) São Tomé & Príncipe Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SA",displayName:"Saudi Arabia",defaultTimeZoneId:"Asia/Riyadh",timeZone:[{timeZoneId:"Asia/Riyadh",displayName:"(GMT+03:00) Saudi Arabia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"RS",displayName:"Serbia",defaultTimeZoneId:"Europe/Belgrade",timeZone:[{timeZoneId:"Europe/Belgrade",displayName:"(GMT+02:00) Serbia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SC",displayName:"Seychelles",defaultTimeZoneId:"Indian/Mahe",timeZone:[{timeZoneId:"Indian/Mahe",displayName:"(GMT+04:00) Seychelles Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SG",displayName:"Singapore",defaultTimeZoneId:"Asia/Singapore",timeZone:[{timeZoneId:"Asia/Singapore",displayName:"(GMT+08:00) Singapore Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"SK",displayName:"Slovakia",defaultTimeZoneId:"Europe/Bratislava",timeZone:[{timeZoneId:"Europe/Bratislava",displayName:"(GMT+02:00) Slovakia Time"}],tosLocale:{language:"sk",country:"SK"}},{countryCode:"SI",displayName:"Slovenia",defaultTimeZoneId:"Europe/Ljubljana",timeZone:[{timeZoneId:"Europe/Ljubljana",displayName:"(GMT+02:00) Slovenia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SB",displayName:"Solomon Islands",defaultTimeZoneId:"Pacific/Guadalcanal",timeZone:[{timeZoneId:"Pacific/Guadalcanal",displayName:"(GMT+11:00) Solomon Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"ZA",displayName:"South Africa",defaultTimeZoneId:"Africa/Johannesburg",timeZone:[{timeZoneId:"Africa/Johannesburg",displayName:"(GMT+02:00) South Africa Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GS",displayName:"South Georgia & South Sandwich Islands",defaultTimeZoneId:"Atlantic/South_Georgia",timeZone:[{timeZoneId:"Atlantic/South_Georgia",displayName:"(GMT-02:00) South Georgia & South Sandwich Islands Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"KR",displayName:"South Korea",defaultTimeZoneId:"Asia/Seoul",timeZone:[{timeZoneId:"Asia/Seoul",displayName:"(GMT+09:00) South Korea Time"}],tosLocale:{language:"ko",country:"KR"}},{countryCode:"ES",displayName:"Spain",defaultTimeZoneId:"Atlantic/Canary",timeZone:[{timeZoneId:"Atlantic/Canary",displayName:"(GMT+01:00) Canary Time"},{timeZoneId:"Africa/Ceuta",displayName:"(GMT+02:00) Ceuta Time"},{timeZoneId:"Europe/Madrid",displayName:"(GMT+02:00) Spain Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"LK",displayName:"Sri Lanka",defaultTimeZoneId:"Asia/Colombo",timeZone:[{timeZoneId:"Asia/Colombo",displayName:"(GMT+05:30) Sri Lanka Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"PM",displayName:"St. Pierre & Miquelon",defaultTimeZoneId:"America/Miquelon",timeZone:[{timeZoneId:"America/Miquelon",displayName:"(GMT-02:00) St. Pierre & Miquelon Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SD",displayName:"Sudan",defaultTimeZoneId:"Africa/Khartoum",timeZone:[{timeZoneId:"Africa/Khartoum",displayName:"(GMT+02:00) Sudan Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SR",displayName:"Suriname",defaultTimeZoneId:"America/Paramaribo",timeZone:[{timeZoneId:"America/Paramaribo",displayName:"(GMT-03:00) Suriname Time"}],tosLocale:{language:"nl",country:"NL"}},{countryCode:"SJ",displayName:"Svalbard & Jan Mayen",defaultTimeZoneId:"Arctic/Longyearbyen",timeZone:[{timeZoneId:"Arctic/Longyearbyen",displayName:"(GMT+02:00) Svalbard & Jan Mayen Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"SE",displayName:"Sweden",defaultTimeZoneId:"Europe/Stockholm",timeZone:[{timeZoneId:"Europe/Stockholm",displayName:"(GMT+02:00) Sweden Time"}],tosLocale:{language:"sv",country:"SE"}},{countryCode:"CH",displayName:"Switzerland",defaultTimeZoneId:"Europe/Zurich",timeZone:[{timeZoneId:"Europe/Zurich",displayName:"(GMT+02:00) Switzerland Time"}],tosLocale:{language:"de",country:"DE"}},{countryCode:"SY",displayName:"Syria",defaultTimeZoneId:"Asia/Damascus",timeZone:[{timeZoneId:"Asia/Damascus",displayName:"(GMT+03:00) Syria Time"}]},{countryCode:"TW",displayName:"Taiwan",defaultTimeZoneId:"Asia/Taipei",timeZone:[{timeZoneId:"Asia/Taipei",displayName:"(GMT+08:00) Taiwan Time"}],tosLocale:{language:"zh",country:"TW"}},{countryCode:"TJ",displayName:"Tajikistan",defaultTimeZoneId:"Asia/Dushanbe",timeZone:[{timeZoneId:"Asia/Dushanbe",displayName:"(GMT+05:00) Tajikistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TH",displayName:"Thailand",defaultTimeZoneId:"Asia/Bangkok",timeZone:[{timeZoneId:"Asia/Bangkok",displayName:"(GMT+07:00) Thailand Time"}],tosLocale:{language:"th",country:"TH"}},{countryCode:"TL",displayName:"Timor-Leste",defaultTimeZoneId:"Asia/Dili",timeZone:[{timeZoneId:"Asia/Dili",displayName:"(GMT+09:00) Timor-Leste Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TK",displayName:"Tokelau",defaultTimeZoneId:"Pacific/Fakaofo",timeZone:[{timeZoneId:"Pacific/Fakaofo",displayName:"(GMT+13:00) Tokelau Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TO",displayName:"Tonga",defaultTimeZoneId:"Pacific/Tongatapu",timeZone:[{timeZoneId:"Pacific/Tongatapu",displayName:"(GMT+13:00) Tonga Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TT",displayName:"Trinidad & Tobago",defaultTimeZoneId:"America/Port_of_Spain",timeZone:[{timeZoneId:"America/Port_of_Spain",displayName:"(GMT-04:00) Trinidad & Tobago Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TN",displayName:"Tunisia",defaultTimeZoneId:"Africa/Tunis",timeZone:[{timeZoneId:"Africa/Tunis",displayName:"(GMT+01:00) Tunisia Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TR",displayName:"Turkey",defaultTimeZoneId:"Europe/Istanbul",timeZone:[{timeZoneId:"Europe/Istanbul",displayName:"(GMT+03:00) Turkey Time"}],tosLocale:{language:"tr",country:"TR"}},{countryCode:"TM",displayName:"Turkmenistan",defaultTimeZoneId:"Asia/Ashgabat",timeZone:[{timeZoneId:"Asia/Ashgabat",displayName:"(GMT+05:00) Turkmenistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"TC",displayName:"Turks & Caicos Islands",defaultTimeZoneId:"America/Grand_Turk",timeZone:[{timeZoneId:"America/Grand_Turk",displayName:"(GMT-04:00) Turks & Caicos Islands Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"TV",displayName:"Tuvalu",defaultTimeZoneId:"Pacific/Funafuti",timeZone:[{timeZoneId:"Pacific/Funafuti",displayName:"(GMT+12:00) Tuvalu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UM",displayName:"U.S. Outlying Islands",defaultTimeZoneId:"Pacific/Wake",timeZone:[{timeZoneId:"Pacific/Wake",displayName:"(GMT+12:00) Wake Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UA",displayName:"Ukraine",defaultTimeZoneId:"Europe/Kiev",timeZone:[{timeZoneId:"Europe/Kiev",displayName:"(GMT+03:00) Ukraine Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"AE",displayName:"United Arab Emirates",defaultTimeZoneId:"Asia/Dubai",timeZone:[{timeZoneId:"Asia/Dubai",displayName:"(GMT+04:00) United Arab Emirates Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"GB",displayName:"United Kingdom",defaultTimeZoneId:"Etc/GMT",timeZone:[{timeZoneId:"Etc/GMT",displayName:"(GMT+00:00) GMT"},{timeZoneId:"Europe/London",displayName:"(GMT+01:00) United Kingdom Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"US",displayName:"United States",defaultTimeZoneId:"America/Los_Angeles",timeZone:[{timeZoneId:"Pacific/Honolulu",displayName:"(GMT-10:00) Honolulu Time"},{timeZoneId:"America/Anchorage",displayName:"(GMT-08:00) Anchorage Time"},{timeZoneId:"America/Los_Angeles",displayName:"(GMT-07:00) Los Angeles Time"},{timeZoneId:"America/Boise",displayName:"(GMT-06:00) Boise Time"},{timeZoneId:"America/Denver",displayName:"(GMT-06:00) Denver Time"},{timeZoneId:"America/Phoenix",displayName:"(GMT-07:00) Phoenix Time"},{timeZoneId:"America/Chicago",displayName:"(GMT-05:00) Chicago Time"},{timeZoneId:"America/Detroit",displayName:"(GMT-04:00) Detroit Time"},{timeZoneId:"America/New_York",displayName:"(GMT-04:00) New York Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"UY",displayName:"Uruguay",defaultTimeZoneId:"America/Montevideo",timeZone:[{timeZoneId:"America/Montevideo",displayName:"(GMT-03:00) Uruguay Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"UZ",displayName:"Uzbekistan",defaultTimeZoneId:"Asia/Tashkent",timeZone:[{timeZoneId:"Asia/Tashkent",displayName:"(GMT+05:00) Uzbekistan Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VU",displayName:"Vanuatu",defaultTimeZoneId:"Pacific/Efate",timeZone:[{timeZoneId:"Pacific/Efate",displayName:"(GMT+11:00) Vanuatu Time"}],tosLocale:{language:"en",country:"US"}},{countryCode:"VA",displayName:"Vatican City",defaultTimeZoneId:"Europe/Vatican",timeZone:[{timeZoneId:"Europe/Vatican",displayName:"(GMT+02:00) Vatican City Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"VE",displayName:"Venezuela",defaultTimeZoneId:"America/Caracas",timeZone:[{timeZoneId:"America/Caracas",displayName:"(GMT-04:00) Venezuela Time"}],tosLocale:{language:"es",country:"ES"}},{countryCode:"VN",displayName:"Vietnam",defaultTimeZoneId:"Asia/Saigon",timeZone:[{timeZoneId:"Asia/Saigon",displayName:"(GMT+07:00) Vietnam Time"}],tosLocale:{language:"vi",country:"VN"}},{countryCode:"WF",displayName:"Wallis & Futuna",defaultTimeZoneId:"Pacific/Wallis",timeZone:[{timeZoneId:"Pacific/Wallis",displayName:"(GMT+12:00) Wallis & Futuna Time"}],tosLocale:{language:"en",country:"GB"}},{countryCode:"EH",displayName:"Western Sahara",defaultTimeZoneId:"Africa/El_Aaiun",timeZone:[{timeZoneId:"Africa/El_Aaiun",displayName:"(GMT+01:00) Western Sahara Time"}],tosLocale:{language:"en",country:"GB"}}],i=r.reduce((function(e,t){return e[t.countryCode]=t.timeZone,e}),{}),o=Object(a.keyBy)(r,"countryCode"),c=r.reduce((function(e,t){return t.timeZone.forEach((function(n){var a=n.timeZoneId;return e[a]=t.countryCode})),e}),{})},197:function(e,t,n){"use strict";function a(e){var t,n,a,r,i,o,c,s;if(void 0!==e)return!(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.rows)||void 0===a?void 0:a.length)||!(null==e||null===(r=e[0])||void 0===r||null===(i=r.data)||void 0===i||null===(o=i.totals)||void 0===o||null===(c=o[0])||void 0===c||null===(s=c.values)||void 0===s?void 0:s.length)||!e[0].data.totals.some((function(e){return e.values.some((function(e){return e>0}))}))}n.d(t,"a",(function(){return a}))},198:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var a=n(0),r=n.n(a),i=n(92),o=n(99);function ErrorNotice(t){var n,a=t.error,r=t.shouldDisplayError,c=void 0===r?function(){return!0}:r;return a&&!Object(i.c)(a)&&c(a)?e.createElement(o.a,{message:a.message,reconnectURL:null===(n=a.data)||void 0===n?void 0:n.reconnectURL}):null}ErrorNotice.propTypes={error:r.a.shape({message:r.a.string}),shouldDisplayError:r.a.func}}).call(this,n(3))},202:function(e,t,n){"use strict";t.a=function(e){if("string"==typeof e&&e.match(/[0-9]{8}/)){var t=e.slice(0,4),n=Number(e.slice(4,6))-1,a=e.slice(6,8);return new Date(t,n.toString(),a)}return!1}},203:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=function DisplaySetting(e){return e.value||" "};i.propTypes={value:r.a.oneOfType([r.a.string,r.a.bool,r.a.number])},t.a=i},205:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(82);function PreviewTable(t){for(var n=t.rows,a=t.rowHeight,r=t.padding,i=[],s=0;n>s;s++)i.push(e.createElement("div",{className:"googlesitekit-preview-table__row",key:"table-row-"+s},e.createElement(c.a,{width:"100%",height:a+"px"})));return e.createElement("div",{className:o()("googlesitekit-preview-table",{"googlesitekit-preview-table--padding":r})},i)}PreviewTable.propTypes={rows:r.a.number,rowHeight:r.a.number,padding:r.a.bool},PreviewTable.defaultProps={rows:11,rowHeight:35,padding:!1},t.a=PreviewTable}).call(this,n(3))},206:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GoogleChart}));var a=n(6),r=n.n(a),i=n(16),o=n.n(i),c=n(24),s=n.n(c),u=n(13),l=n.n(u),d=n(17),m=n.n(d),g=(n(459),n(9)),f=n.n(g),p=n(0),y=n.n(p),b=n(357),v=n(308),h=n.n(v),_=n(297),S=n.n(_),A=n(2),E=n(82),O=n(35),T=n(12),k=n(62),N=n(4);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var C=n.n(N).a.useSelect;function GoogleChart(t){var n=t.chartEvents,a=t.chartType,r=t.children,i=t.className,c=t.data,u=t.getChartWrapper,d=t.height,g=t.loaded,p=t.loadingHeight,y=t.loadingWidth,v=t.onMouseOver,_=t.onMouseOut,N=t.onReady,I=t.onSelect,j=t.selectedStats,w=t.width,D=t.options,R=t.gatheringData,P=void 0!==R&&R,M=m()(t,["chartEvents","chartType","children","className","data","getChartWrapper","height","loaded","loadingHeight","loadingWidth","onMouseOver","onMouseOut","onReady","onSelect","selectedStats","width","options","gatheringData"]),Z=Object(O.a)("zeroDataStates"),L=C((function(e){return e(T.a).getDateRangeDates()})),G=L.startDate,x=L.endDate,U=Object(A.useState)(!1),B=l()(U,2),F=B[0],W=B[1],H=[];(null==c?void 0:c.length)&&(H=c[0].reduce((function(e,t,n){return(null==t?void 0:t.role)?[].concat(s()(e),[n]):e}),[]));var z=c;(null==j?void 0:j.length)>0&&(z=c.map((function(e){return e.filter((function(e,t){return 0===t||j.includes(t-1)||H.includes(t-1)}))})));var q=p||d,K=y||w;q&&!K&&(K="100%"),K&&!q&&(q="100%");var V="PieChart"===a?"circular":"square",Y=e.createElement("div",{className:"googlesitekit-chart-loading"},e.createElement(E.a,{className:"googlesitekit-chart-loading__wrapper",height:q,shape:V,width:K})),$=Object(A.useRef)(),J=Object(A.useRef)();if(Object(A.useEffect)((function(){return function(){if(J.current&&$.current){var e=J.current.visualization.events;e.removeAllListeners($.current.getChart()),e.removeAllListeners($.current)}}}),[]),Object(A.useLayoutEffect)((function(){var e,t;v&&(null===(e=J.current)||void 0===e||e.visualization.events.addListener($.current.getChart(),"onmouseover",(function(e){v(e,{chartWrapper:$.current,google:J.current})})));_&&(null===(t=J.current)||void 0===t||t.visualization.events.addListener($.current.getChart(),"onmouseout",(function(e){_(e,{chartWrapper:$.current,google:J.current})})))}),[v,_]),!g)return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart-loading__forced",i)},Y);var Q=s()(n||[]);N&&Q.push({eventName:"ready",callback:N}),I&&Q.push({eventName:"select",callback:I});var X,ee,te,ne,ae,re,ie,oe,ce=S()(D);Z&&P&&"LineChart"===a&&((null==D||null===(X=D.vAxis)||void 0===X||null===(ee=X.viewWindow)||void 0===ee?void 0:ee.min)||h()(ce,"vAxis.viewWindow.min",0),(null==D||null===(te=D.vAxis)||void 0===te||null===(ne=te.viewWindow)||void 0===ne?void 0:ne.max)||h()(ce,"vAxis.viewWindow.max",100),(null==D||null===(ae=D.hAxis)||void 0===ae||null===(re=ae.viewWindow)||void 0===re?void 0:re.min)||(h()(ce,"hAxis.viewWindow.min",new Date(G)),delete ce.hAxis.ticks),(null==D||null===(ie=D.hAxis)||void 0===ie||null===(oe=ie.viewWindow)||void 0===oe?void 0:oe.max)||(h()(ce,"hAxis.viewWindow.max",new Date(x)),delete ce.hAxis.ticks));return e.createElement("div",{className:f()("googlesitekit-chart","googlesitekit-chart--".concat(a),i),tabIndex:-1},e.createElement(b.a,o()({className:"googlesitekit-chart__inner",chartEvents:Q,chartType:a,chartVersion:"49",data:z,loader:Y,height:d,getChartWrapper:function(e,t){var n,a,r;(F||W(!0),e!==$.current)&&(null===(n=J.current)||void 0===n||n.visualization.events.removeAllListeners(null===(a=$.current)||void 0===a?void 0:a.getChart()),null===(r=J.current)||void 0===r||r.visualization.events.removeAllListeners($.current));$.current=e,J.current=t,u&&u(e,t)},width:w,options:ce},M)),Z&&P&&F&&e.createElement(k.b,{style:k.a.OVERLAY}),r)}GoogleChart.propTypes={className:y.a.string,children:y.a.node,chartEvents:y.a.arrayOf(y.a.shape({eventName:y.a.string,callback:y.a.func})),chartType:y.a.oneOf(["LineChart","PieChart"]).isRequired,data:y.a.array,getChartWrapper:y.a.func,height:y.a.string,loaded:y.a.bool,loadingHeight:y.a.string,loadingWidth:y.a.string,onMouseOut:y.a.func,onMouseOver:y.a.func,onReady:y.a.func,onSelect:y.a.func,selectedStats:y.a.arrayOf(y.a.number),width:y.a.string,options:y.a.object,gatheringData:y.a.bool},GoogleChart.defaultProps=j(j({},b.a.defaultProps),{},{loaded:!0})}).call(this,n(3))},207:function(e,t,n){"use strict";var a=n(334);n.d(t,"b",(function(){return a.a}));var r=n(140);n.d(t,"a",(function(){return r.a}))},21:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),u=n(9),l=n.n(u),d=n(133),m=n(1),g=n(2),f=Object(g.forwardRef)((function(t,n){var a,i=t["aria-label"],c=t.arrow,s=t.back,u=t.caps,g=t.children,f=t.className,p=t.danger,y=t.disabled,b=t.external,v=t.hideExternalIndicator,h=t.href,_=t.inherit,S=t.inverse,A=t.onClick,E=t.small,O=t.to,T=o()(t,["aria-label","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inherit","inverse","onClick","small","to"]),k=h||O||!A?O?"ROUTER_LINK":b?"EXTERNAL_LINK":"LINK":y?"BUTTON_DISABLED":"BUTTON",N="BUTTON"===k||"BUTTON_DISABLED"===k?"button":"ROUTER_LINK"===k?d.b:"a",I=("EXTERNAL_LINK"===k&&(a=Object(m._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===k&&(a=Object(m._x)("(disabled)","screen reader text","google-site-kit")),a?i?"".concat(i," ").concat(a):"string"==typeof g?"".concat(g," ").concat(a):void 0:i);return e.createElement(N,r()({"aria-label":I,className:l()("googlesitekit-cta-link",f,{"googlesitekit-cta-link--arrow":c,"googlesitekit-cta-link--external":b&&!v,"googlesitekit-cta-link--inverse":S,"googlesitekit-cta-link--back":s,"googlesitekit-cta-link--small":E,"googlesitekit-cta-link--inherit":_,"googlesitekit-cta-link--caps":u,"googlesitekit-cta-link--danger":p,"googlesitekit-cta-link--disabled":y}),disabled:y,href:"LINK"===k||"EXTERNAL_LINK"===k?h:void 0,onClick:A,rel:"EXTERNAL_LINK"===k?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===k?"_blank":void 0,to:O},T),g)}));f.propTypes={arrow:s.a.bool,back:s.a.bool,caps:s.a.bool,children:s.a.node,className:s.a.string,danger:s.a.bool,disabled:s.a.bool,external:s.a.bool,hideExternalIndicator:s.a.bool,href:s.a.string,inherit:s.a.bool,inverse:s.a.bool,onClick:s.a.func,small:s.a.bool,to:s.a.string},f.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=f}).call(this,n(3))},219:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m.a})),n.d(t,"c",(function(){return m.b})),n.d(t,"e",(function(){return g}));var a=n(394),r=n.n(a);function i(e){var t;if(void 0!==e){var n=e||{},a=n.rows,r=n.totals;return!(null==a?void 0:a.length)||(!(null==r||null===(t=r.cells)||void 0===t?void 0:t.length)||!r.cells.some((function(e){return(null==e?void 0:e.value)>0})))}}n(319);var o=n(9),c=n.n(o),s=n(1),u=n(7);function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.year,n=void 0===t?0:t,a=e.month,r=void 0===a?1:a,i=e.day,o=void 0===i?0:i;return new Date(n,r-1,o)}function d(e,t,n,a,r){for(var i=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:"number",label:n},{type:"number",label:Object(s.__)("Previous period","google-site-kit")}]],o=function(e){var t=new Date(e);return t.setDate(e.getDate()+1),t},d=function(e){return function(t){return e.getTime()===Object(u.x)(t.cells[0].value).getTime()}},m=l(e.startDate),g=l(t.startDate),f=l(e.endDate),p=Object(u.m)(),y={weekday:"short",month:"short",day:"numeric"};m<=f;){var b,v,h,_,S,A,E=parseFloat((null===(b=((null==e?void 0:e.rows)||[]).find(d(m)))||void 0===b||null===(v=b.cells)||void 0===v||null===(h=v[a])||void 0===h?void 0:h.value)||0),O=parseFloat((null===(_=((null==t?void 0:t.rows)||[]).find(d(g)))||void 0===_||null===(S=_.cells)||void 0===S||null===(A=S[a])||void 0===A?void 0:A.value)||0),T=Object(u.e)(E,O),k=Object(u.k)(T),N=Object(s.sprintf)(Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),m.toLocaleDateString(p,y),g.toLocaleDateString(p,y)),I=Object(u.u)(E,null==r?void 0:r.currencyCode);"METRIC_RATIO"===(null==r?void 0:r.type)&&(I=Object(u.u)(E,"%"));var j=Object(s.sprintf)(Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s%%</em>","Stat information for chart tooltip","google-site-kit"),n,I,k,Math.abs(T).toFixed(2).replace(/(.00|0)$/,""));i.push([m,'<div class="'.concat(c()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":T>0,"googlesitekit-visualization-tooltip--down":T<0}),'">\n\t\t\t\t<p>').concat(N,"</p>\n\t\t\t\t<p>").concat(j,"</p>\n\t\t\t</div>"),E,O]),m=o(m),g=o(g)}return i}n(132);var m=n(518);n(408);function g(e){var t=[[{type:"date",label:"Day"},{type:"number",label:"RPM"},{type:"number",label:"Earnings"},{type:"number",label:"Impressions"}]];return r()(e,(function(e){var n=new Date(e.cells[0].value);t.push([n,e.cells[2].value,e.cells[1].value,e.cells[3].value])})),{dataMap:t}}},22:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="core/modules",r="insufficient_module_dependencies"},23:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"l",(function(){return r})),n.d(t,"i",(function(){return i})),n.d(t,"m",(function(){return o})),n.d(t,"n",(function(){return c})),n.d(t,"p",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"o",(function(){return m})),n.d(t,"j",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"k",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return h}));var a="dashboard",r="pageDashboard",i="dashboardViewOnly",o="pageDashboardViewOnly",c="postsList",s="userInput",u="activation",l="splash",d="adminBar",m="settings",g="module",f="wpDashboard",p="moduleSetup",y="traffic",b="content",v="speed",h="monetization"},236:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CreateAccountField}));var a=n(8),r=n(9),i=n.n(r);function CreateAccountField(t){var n=t.hasError,r=t.value,o=t.setValue,c=t.name,s=t.label;return void 0===r?null:e.createElement(a.q,{className:i()("mdc-text-field",{"mdc-text-field--error":n}),label:s,name:c,onChange:function(e){o(e.target.value,c)},outlined:!0,required:!0},e.createElement(a.g,{name:c,value:r,id:"googlesitekit_analytics_account_create_".concat(c)}))}}).call(this,n(3))},237:function(e,t,n){"use strict";(function(e){var a=n(0),r=function WidgetHeaderTitle(t){var n=t.title;return e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-widget__header-title"},n)};r.propTypes={title:n.n(a).a.string.isRequired},t.a=r}).call(this,n(3))},248:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportTable}));var a=n(9),r=n.n(a),i=n(303),o=n.n(i),c=n(10),s=n.n(c),u=n(0),l=n.n(u),d=n(35),m=n(62);function ReportTable(t){var n=t.rows,a=t.columns,i=t.className,c=t.limit,u=t.zeroState,l=t.gatheringData,g=void 0!==l&&l,f=Object(d.a)("zeroDataStates");s()(Array.isArray(n),"rows must be an array."),s()(Array.isArray(a),"columns must be an array."),a.forEach((function(e){var t=e.Component,n=e.field,a=void 0===n?null:n;s()(t||null!==a,"each column must define a Component and/or a field.")})),s()(Number.isInteger(c)||void 0===c,"limit must be an integer, if provided.");var p=a.filter((function(e){return!e.hideOnMobile}));return e.createElement("div",{className:r()("googlesitekit-table","googlesitekit-table--with-list",{"googlesitekit-table--gathering-data":g},i)},e.createElement("table",{className:r()("googlesitekit-table__wrapper","googlesitekit-table__wrapper--".concat(a.length,"-col"),"googlesitekit-table__wrapper--mobile-".concat(p.length,"-col"))},e.createElement("thead",{className:"googlesitekit-table__head"},e.createElement("tr",{className:"googlesitekit-table__head-row"},a.map((function(t,n){var a=t.title,i=t.description,o=t.primary,c=t.hideOnMobile,s=t.className;return e.createElement("th",{className:r()("googlesitekit-table__head-item",{"googlesitekit-table__head-item--primary":o},{"hidden-on-mobile":c},s),"data-tooltip":i,key:"googlesitekit-table__head-row-".concat(n)},a)})))),e.createElement("tbody",{className:"googlesitekit-table__body"},f&&g&&e.createElement("tr",{className:"googlesitekit-table__body-row"},e.createElement("td",{className:"googlesitekit-table__body-item googlesitekit-table__body-item-wrap",colSpan:a.length},e.createElement(m.b,null))),(!f||!g)&&!(null==n?void 0:n.length)&&u&&e.createElement("tr",{className:"googlesitekit-table__body-row"},e.createElement("td",{className:"googlesitekit-table__body-item googlesitekit-table__body-item-wrap",colSpan:a.length},e.createElement(u,null))),!g&&n.slice(0,c).map((function(t,n){return e.createElement("tr",{className:"googlesitekit-table__body-row",key:"googlesitekit-table__body-row-".concat(n)},a.map((function(n,a){var i=n.Component,c=n.field,s=n.hideOnMobile,u=n.className,l=void 0!==c?o()(t,c):void 0;return e.createElement("td",{key:"googlesitekit-table__body-item-".concat(a),className:r()("googlesitekit-table__body-item",{"hidden-on-mobile":s},u)},e.createElement("div",{className:"googlesitekit-table__body-item-content"},i&&e.createElement(i,{row:t,fieldValue:l}),!i&&l))})))})))))}ReportTable.propTypes={rows:l.a.arrayOf(l.a.oneOfType([l.a.array,l.a.object])).isRequired,columns:l.a.arrayOf(l.a.shape({title:l.a.string,description:l.a.string,primary:l.a.bool,className:l.a.string,field:l.a.string,hideOnMobile:l.a.bool,Component:l.a.componentType})).isRequired,className:l.a.string,limit:l.a.number,zeroState:l.a.func,gatheringData:l.a.bool}}).call(this,n(3))},25:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"e",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return c})),n.d(t,"a",(function(){return s}));var a="modules/adsense",r=1,i="READY",o="NEEDS_ATTENTION",c="REQUIRES_REVIEW",s="GETTING_READY"},258:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return y}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(10),s=n.n(c),u=n(339),l=n.n(u),d=n(265),m=n(113),g=n(310),f=n(15),p=function(e,t){var n=t.find((function(t){return t.test(e)}));return!!n&&n.exec(e)[1]},y=l()(function(){var e=o()(r.a.mark((function e(t){var n,a,i,o;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.homeURL,a=t.ampMode,s()(Object(m.a)(n),"homeURL must be valid URL"),i=[n],f.b!==a){e.next=14;break}return e.prev=4,e.next=7,Object(d.default)({path:"/wp/v2/posts?per_page=1"}).then((function(e){return e.slice(0,1).map((function(e){return Object(g.a)(e.link,{amp:1})})).pop()}));case 7:(o=e.sent)&&i.push(o),e.next=14;break;case 11:return e.prev=11,e.t0=e.catch(4),e.abrupt("return",i);case 14:return e.abrupt("return",i);case 15:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(t){return e.apply(this,arguments)}}())},260:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(206);function Sparkline(t){var n=t.change,a=t.data,r=t.invertChangeColor,o=t.loadingHeight;if(!a)return null;var c=[];if(null===n)c.push("green");else{var s=r?"red":"green",u=r?"green":"red";c.push(0<=(parseFloat(n)||0)?s:u)}var l={title:"",backgroundColor:"transparent",curveType:"line",width:"100%",height:"50",enableInteractivity:!1,chartArea:{height:"100%",width:"100%"},legend:{position:"none"},axisFontSize:0,hAxis:{baselineColor:"none",ticks:[]},vAxis:{baselineColor:"none",ticks:[]},axes:[],colors:c};return a.slice(1).some((function(e){return e[1]>0}))||(l.vAxis.minValue=0,l.vAxis.maxValue=1),e.createElement("div",{className:"googlesitekit-analytics-sparkline-chart-wrap"},e.createElement(i.a,{chartType:"LineChart",data:a,loadingHeight:o,options:l}))}Sparkline.propTypes={invertChangeColor:r.a.bool,loadingHeight:r.a.string},Sparkline.defaultProps={invertChangeColor:!1,loadingHeight:"46px"},t.a=Sparkline}).call(this,n(3))},265:function(e,t,n){"use strict";(function(e){var a=n(61),r=n.n(a),i=n(266),o=e._googlesitekitAPIFetchData||{},c=o.nonce,s=o.nonceEndpoint,u=o.preloadedData,l=o.rootURL;r.a.nonceEndpoint=s,r.a.nonceMiddleware=r.a.createNonceMiddleware(c),r.a.rootURLMiddleware=r.a.createRootURLMiddleware(l),r.a.preloadingMiddleware=Object(i.a)(u),r.a.use(r.a.nonceMiddleware),r.a.use(r.a.mediaUploadMiddleware),r.a.use(r.a.rootURLMiddleware),r.a.use(r.a.preloadingMiddleware),t.default=r.a}).call(this,n(20))},266:function(e,t,n){"use strict";var a=n(249);t.a=function(e){var t=Object.keys(e).reduce((function(t,n){return t[Object(a.getStablePath)(n)]=e[n],t}),{}),n=!1;return function(e,r){if(n)return r(e);setTimeout((function(){n=!0}),1e3);var i=e.parse,o=void 0===i||i,c=e.path;if("string"==typeof e.path){var s,u=(null===(s=e.method)||void 0===s?void 0:s.toUpperCase())||"GET",l=Object(a.getStablePath)(c);if(o&&"GET"===u&&t[l]){var d=Promise.resolve(t[l].body);return delete t[l],d}if("OPTIONS"===u&&t[u]&&t[u][l]){var m=Promise.resolve(t[u][l]);return delete t[u][l],m}}return r(e)}}},27:function(e,t,n){"use strict";n.d(t,"g",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return l}));var a="modules/tagmanager",r="account_create",i="container_create",o="web",c="amp",s="tagmanagerSetup",u="https://www.googleapis.com/auth/tagmanager.edit.containers",l="SETUP_WITH_ANALYTICS"},28:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a="_googlesitekitDataLayer",r="data-googlesitekit-gtag"},29:function(e,t,n){"use strict";(function(e){var a,r;n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i=new Set((null===(a=e)||void 0===a||null===(r=a._googlesitekitBaseData)||void 0===r?void 0:r.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(20))},291:function(e,t,n){"use strict";(function(e,a){var r=n(13),i=n.n(r),o=n(0),c=n.n(o),s=n(26),u=n(9),l=n.n(u),d=n(2);function TableOverflowContainer(t){var n=t.children,r=Object(d.useState)(!1),o=i()(r,2),c=o[0],u=o[1],m=Object(d.useRef)();Object(d.useEffect)((function(){g();var t=Object(s.debounce)(g,100);return e.addEventListener("resize",t),function(){return e.removeEventListener("resize",t)}}),[]);var g=function(){if(m.current){var e=m.current,t=e.scrollLeft,n=e.scrollWidth-e.offsetWidth;u(t<n-16&&0<n-16)}};return a.createElement("div",{onScroll:Object(s.debounce)(g,100),className:l()("googlesitekit-table-overflow",{"googlesitekit-table-overflow--gradient":c})},a.createElement("div",{ref:m,className:"googlesitekit-table-overflow__container"},n))}TableOverflowContainer.propTypes={children:c.a.element},t.a=TableOverflowContainer}).call(this,n(20),n(3))},293:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4PropertyNotice}));var a=n(0),r=n.n(a),i=n(1),o=n(207),c=n(21);function GA4PropertyNotice(t){var n=t.notice,a=t.children;return e.createElement(o.b,{type:o.a,LearnMore:function LearnMore(){return e.createElement(c.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0,inherit:!0},Object(i.__)("Learn more","google-site-kit"))},notice:n},a)}GA4PropertyNotice.propTypes={children:r.a.node,notice:r.a.string.isRequired}}).call(this,n(3))},295:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(21),o=function WidgetHeaderCTA(t){var n=t.href,a=t.label,r=t.external;return e.createElement("div",{className:"googlesitekit-widget__header--cta"},e.createElement(i.a,{href:n,external:r},a))};o.propTypes={href:r.a.string,label:r.a.string.isRequired,external:r.a.bool},o.defaultProps={href:"",external:!0},t.a=o}).call(this,n(3))},298:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return s}));var a=n(31),r=n.n(a);function i(e,t){return"string"==typeof e||(!("object"!==r()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e||"object"===r()(e)&&t(e)})))}function o(e){var t=e.dateRange,n=e.startDate,a=e.endDate,r=n&&n.match(/^\d{4}-\d{2}-\d{2}$/),i=a&&a.match(/^\d{4}-\d{2}-\d{2}$/),o=t&&t.match(/^last-\d+-days$/);return r&&i||o}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&e.sortOrder.toString().match(/(ASCENDING|DESCENDING)/i);return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===r()(e)&&t(e)})):"object"===r()(e)&&t(e)}function s(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},30:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return v}));var a=n(86),r=e._googlesitekitBaseData||{},i=r.activeModules,o=void 0===i?[]:i,c=r.isSiteKitScreen,s=r.trackingEnabled,u=r.trackingID,l=r.referenceSiteURL,d=r.userIDHash,m=r.isAuthenticated,g={activeModules:o,trackingEnabled:s,trackingID:u,referenceSiteURL:l,userIDHash:d,isSiteKitScreen:c,userRoles:r.userRoles,isAuthenticated:m,pluginVersion:"1.75.0"},f=Object(a.a)(g),p=f.enableTracking,y=f.disableTracking,b=(f.isTrackingEnabled,f.initializeSnippet),v=f.trackEvent;function h(e){e?p():y()}c&&s&&b()}).call(this,n(20))},311:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4Notice}));var a=n(1),r=n(207),i=n(21);function GA4Notice(){return e.createElement(r.b,{type:r.a,LearnMore:function LearnMore(){return e.createElement(i.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0,inherit:!0},Object(a.__)("Learn more here.","google-site-kit"))},notice:Object(a.__)("Got a Google Analytics 4 (GA4) property and want to find out how to use it with Site Kit?","google-site-kit")})}}).call(this,n(3))},312:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return TrackingExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),u=n.n(s),l=n(11),d=n(138),m=u.a.useSelect,g=u.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users that can write posts","google-site-kit")),a);function TrackingExclusionSwitches(){var t,n=m((function(e){return e(l.f).getTrackingDisabled()})),a=g(l.f).setTrackingDisabled;t=n&&n.includes(f)?Object(c.__)("All logged-in users will be excluded from Analytics tracking","google-site-kit"):n&&n.includes(p)?Object(c.__)("Users that can write posts will be excluded from Analytics tracking","google-site-kit"):Object(c.__)("All logged-in users will be included in Analytics tracking","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-trackingdisabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Analytics","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},313:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(0),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(11),l=n(138),d=n(7),m=n(19),g=s.a.useSelect,f=s.a.useDispatch;function UseSnippetSwitch(t){var n=t.description,a=Object(m.a)(),r=g((function(e){return e(u.f).getUseSnippet()})),c=g((function(e){return e(u.f).getCanUseSnippet()})),s=g((function(e){return e(u.f).hasExistingTag()})),p=f(u.f).setUseSnippet,y=Object(i.useCallback)((function(){var e=!r;p(e),Object(d.z)("".concat(a,"_analytics"),e?"enable_tag":"disable_tag","ua")}),[r,p,a]);return void 0===r||void 0===s?null:e.createElement("div",{className:"googlesitekit-analytics-usesnippet"},e.createElement(l.a,{label:Object(o.__)("Place Universal Analytics code","google-site-kit"),checked:!1!==c&&r,onClick:y,hideLabel:!1,disabled:!1===c}),n)}UseSnippetSwitch.propTypes={description:r.a.node}}).call(this,n(3))},314:function(e,t){e.exports=googlesitekit.widgets},319:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(518);function r(e){if(Object(a.b)(e))return e.match(/pub-\d+$/)[0]}},325:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a="adblocker_active",r="moduleAdsense",i="moduleAdsenseMain",o="adsense-connect-cta"},33:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i}));var a={BOXES:"boxes",COMPOSITE:"composite"},r={QUARTER:"quarter",HALF:"half",FULL:"full"},i="core/widgets"},334:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNotice}));var a=n(9),r=n.n(a),i=n(0),o=n.n(i),c=n(335),s=n(336),u=n(140);function SettingsNotice(t){var n=t.children,a=t.type,i=t.Icon,o=void 0===i?Object(u.d)(a):i,l=n?s.a:c.a;return e.createElement("div",{className:r()("googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(a),{"googlesitekit-settings-notice--single-row":!n,"googlesitekit-settings-notice--multi-row":n})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(o,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(l,t)))}SettingsNotice.propTypes={children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([u.a,u.c,u.b]),Icon:o.a.elementType,LearnMore:o.a.elementType},SettingsNotice.defaultProps={type:u.a}}).call(this,n(3))},335:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeSingleRow(t){var n=t.notice,a=t.LearnMore;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null)))}SettingsNoticeSingleRow.propTypes={notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},336:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var a=n(0),r=n.n(a),i=n(2);function SettingsNoticeMultiRow(t){var n=t.notice,a=t.LearnMore,r=t.children;return e.createElement(i.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),e.createElement("div",{className:"googlesitekit-settings-notice__inner-row"},e.createElement("div",{className:"googlesitekit-settings-notice__children-container"},r),a&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(a,null))))}SettingsNoticeMultiRow.propTypes={children:r.a.node.isRequired,notice:r.a.node.isRequired,LearnMore:r.a.elementType}}).call(this,n(3))},337:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var a=n(6),r=n.n(a),i=n(14),o=n.n(i),c=n(5),s=n.n(c),u=n(10),l=n.n(u),d=n(4),m=n.n(d),g=n(15),f=n(258);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(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){r()(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}function b(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 v(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 v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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 v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var h=m.a.createRegistryControl,_=m.a.createRegistrySelector,S=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storeName,a=t.isValidTag,i=t.tagMatchers;l()("string"==typeof n&&n,"storeName is required."),l()("function"==typeof a,"isValidTag must be a function."),l()(Array.isArray(i),"tagMatchers must be an Array.");var c={existingTag:void 0},u={fetchGetExistingTag:function(){return{payload:{},type:"FETCH_GET_EXISTING_TAG"}},receiveGetExistingTag:function(e){return l()(null===e||"string"==typeof e,"existingTag must be a tag string or null."),{payload:{existingTag:a(e)?e:null},type:"RECEIVE_GET_EXISTING_TAG"}},waitForExistingTag:s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"WAIT_FOR_EXISTING_TAG"};case 2:case"end":return e.stop()}}),e)}))},d=(e={},r()(e,"FETCH_GET_EXISTING_TAG",h((function(e){return o()(s.a.mark((function t(){var n,a,r,o,c,u,l,d;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.select(g.c).getHomeURL(),a=e.select(g.c).getAMPMode(),t.next=4,Object(f.b)({homeURL:n,ampMode:a});case 4:r=t.sent,o=b(r),t.prev=6,o.s();case 8:if((c=o.n()).done){t.next=18;break}return u=c.value,t.next=12,e.dispatch(g.c).waitForHTMLForURL(u);case 12:if(l=e.select(g.c).getHTMLForURL(u),!(d=Object(f.a)(l,i))){t.next=16;break}return t.abrupt("return",d);case 16:t.next=8;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(6),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:return t.abrupt("return",null);case 27:case"end":return t.stop()}}),t,null,[[6,20,23,26]])})))}))),r()(e,"WAIT_FOR_EXISTING_TAG",h((function(e){return function(){var t=function(){return void 0!==e.select(n).getExistingTag()};return!!t()||new Promise((function(n){var a=e.subscribe((function(){t()&&(a(),n())}))}))}}))),e),p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,n=t.type,a=t.payload;switch(n){case"RECEIVE_GET_EXISTING_TAG":var r=a.existingTag;return y(y({},e),{},{existingTag:r});default:return e}},v={getExistingTag:s.a.mark((function e(){var t,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.a.commonActions.getRegistry();case 2:if(void 0!==(t=e.sent).select(n).getExistingTag()){e.next=8;break}return e.next=6,u.fetchGetExistingTag();case 6:a=e.sent,t.dispatch(n).receiveGetExistingTag(a);case 8:case"end":return e.stop()}}),e)}))},S={getExistingTag:function(e){return e.existingTag},hasExistingTag:_((function(e){return function(){var t=e(n).getExistingTag();if(void 0!==t)return!!t}}))},A={initialState:c,actions:u,controls:d,reducer:p,resolvers:v,selectors:S};return y(y({},A),{},{STORE_NAME:n})}},34:function(e,t){e.exports=googlesitekit.api},342:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return AutoAdExclusionSwitches}));var a,r=n(6),i=n.n(r),o=n(2),c=n(1),s=n(4),u=n.n(s),l=n(25),d=n(138),m=u.a.useSelect,g=u.a.useDispatch,f="loggedinUsers",p="contentCreators",y=(a={},i()(a,f,Object(c.__)("All logged-in users","google-site-kit")),i()(a,p,Object(c.__)("Users who can write posts","google-site-kit")),a);function AutoAdExclusionSwitches(){var t,n=m((function(e){return e(l.f).getAutoAdsDisabled()})),a=g(l.f).setAutoAdsDisabled;t=n&&n.includes(f)?Object(c.__)("Ads will not be displayed for all logged-in users","google-site-kit"):n&&n.includes(p)?Object(c.__)("Ads will not be displayed for users that can write posts","google-site-kit"):Object(c.__)("Ads will be displayed for all users","google-site-kit");var r=Object(o.useCallback)((function(e,t){var r=t?n.concat(e):n.filter((function(t){return t!==e}));a(r)}),[n,a]),i=Object(o.useCallback)((function(e){var t=e.target.checked;r(p,t)}),[r]),s=Object(o.useCallback)((function(e){var t=e.target.checked;r(f,t)}),[r]);return Array.isArray(n)?e.createElement("fieldset",{className:"googlesitekit-analytics-auto-ads-disabled"},e.createElement("legend",{className:"googlesitekit-setup-module__text"},Object(c.__)("Exclude from Ads","google-site-kit")),e.createElement("div",{className:"googlesitekit-settings-module__inline-items"},e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[f],checked:n.includes(f),onClick:s,hideLabel:!1})),!n.includes(f)&&e.createElement("div",{className:"googlesitekit-settings-module__inline-item"},e.createElement(d.a,{label:y[p],checked:n.includes(p),onClick:i,hideLabel:!1}))),e.createElement("p",{className:"googlesitekit-margin-top-0"},t)):null}}).call(this,n(3))},346:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdSenseLinkCTA}));var a=n(1),r=n(4),i=n.n(r),o=n(83),c=n(15),s=i.a.useSelect;function AdSenseLinkCTA(){var t=s((function(e){return e(c.c).getGoogleSupportURL({path:"/adsense/answer/6084409"})}));return e.createElement(o.a,{title:Object(a.__)("Link Analytics and AdSense","google-site-kit"),description:Object(a.__)("Get reports for your top earning pages by linking your Analytics and AdSense accounts","google-site-kit"),ctaLink:t,ctaLabel:Object(a.__)("Learn more","google-site-kit"),ctaLinkExternal:!0})}}).call(this,n(3))},35:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),r=n(96),i=n(29),o=function(e){var t=Object(a.useContext)(r.a);return Object(i.b)(e,t)}},355:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(303),r=n.n(a);function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e.map((function(e,a){return[r()(e,n),r()(e,t,0===a?"":0)]}))}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return e instanceof Date&&!isNaN(e)}},362:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountCreate}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(13),s=n.n(c),u=n(1),l=n(2),d=n(4),m=n.n(d),g=n(11),f=n(15),p=n(12),y=n(38),b=n(37),v=n(92),h=n(7),_=n(377),S=n(8),A=n(18),E=n(21),O=n(55),T=n(116),k=n(293),N=n(378),I=n(379),j=n(380),C=n(381),w=n(382),D=n(19),R=m.a.useDispatch,P=m.a.useSelect;function AccountCreate(){var t=Object(l.useState)(!1),n=s()(t,2),a=n[0],i=n[1],c=P((function(e){return{accounts:e(g.f).getAccounts(),hasResolvedAccounts:e(g.f).hasFinishedResolution("getAccounts")}})),d=c.accounts,m=c.hasResolvedAccounts,M=P((function(e){return e(g.f).getAccountTicketTermsOfServiceURL()})),Z=P((function(e){return e(g.f).canSubmitAccountCreate()})),L=P((function(e){return e(g.f).isDoingCreateAccount()})),G=P((function(e){return e(p.a).hasScope(g.k)})),x=P((function(e){return e(p.a).hasScope(g.c)})),U=P((function(e){return e(y.a).hasForm(g.d)})),B=P((function(e){return e(y.a).getValue(g.d,"autoSubmit")})),F=P((function(e){return e(f.c).getReferenceSiteURL()})),W=P((function(e){return e(f.c).getSiteName()})),H=P((function(e){return e(f.c).getTimezone()})),z=Object(D.a)(),q=R(y.a).setValues,K=R(b.a).navigateTo,V=R(g.f).createAccount,Y=R(p.a).setPermissionScopeError;Object(l.useEffect)((function(){M&&K(M)}),[M,K]),Object(l.useEffect)((function(){U||q(g.d,Object(_.a)({siteName:W,siteURL:F,timezone:H}))}),[U,W,F,H,q]);var $=Object(l.useCallback)(o()(r.a.mark((function e(){var t,n;return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],G&&x||(t.push(g.k),t.push(g.c)),!(t.length>0)){e.next=6;break}return q(g.d,{autoSubmit:!0}),Y({code:v.a,message:Object(u.__)("Additional permissions are required to create a new Analytics account.","google-site-kit"),data:{status:403,scopes:t,skipModal:!0}}),e.abrupt("return");case 6:return q(g.d,{autoSubmit:!1}),e.next=9,Object(h.z)("".concat(z,"_analytics"),"create_account","proxy");case 9:return e.next=11,V();case 11:n=e.sent,n.error||i(!0);case 14:case"end":return e.stop()}}),e)}))),[V,i,G,x,Y,q,z]);Object(l.useEffect)((function(){G&&B&&$()}),[G,B,$]);var J=R(g.f).rollbackSettings,Q=Object(l.useCallback)((function(){return J()}),[J]);return L||a||!m||void 0===G?e.createElement(O.a,null):e.createElement("div",null,e.createElement(T.a,{moduleSlug:"analytics",storeName:g.f}),e.createElement("h3",{className:"googlesitekit-heading-4"},Object(u.__)("Create your Analytics account","google-site-kit")),e.createElement("p",null,Object(u.__)("We’ve pre-filled the required information for your new account. Confirm or edit any details:","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(S.a,{size:6},e.createElement(I.a,null)),e.createElement(S.a,{size:6},e.createElement(j.a,null)),e.createElement(S.a,{size:6},e.createElement(C.a,null))),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(w.a,null),e.createElement(N.a,null)),e.createElement("p",null,G&&e.createElement("span",null,Object(u.__)("You will be redirected to Google Analytics to accept the terms of service.","google-site-kit")),!G&&e.createElement("span",null,Object(u.__)("You will need to give Site Kit permission to create an Analytics account on your behalf and also accept the Google Analytics terms of service.","google-site-kit"))),e.createElement(k.a,{notice:Object(u.__)("This will create both a Google Analytics 4 and Universal Analytics property.","google-site-kit")}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(A.a,{disabled:!Z,onClick:$},Object(u.__)("Create Account","google-site-kit")),d&&!!d.length&&e.createElement(E.a,{className:"googlesitekit-setup-module__sub-action",onClick:Q},Object(u.__)("Back","google-site-kit"))))}}).call(this,n(3))},363:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AccountCreateLegacy}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(2),u=n(1),l=n(4),d=n.n(l),m=n(18),g=n(21),f=n(55),p=n(7),y=n(11),b=n(116),v=n(311),h=n(19),_=d.a.useSelect,S=d.a.useDispatch;function AccountCreateLegacy(){var t=_((function(e){return{accounts:e(y.f).getAccounts(),hasResolvedAccounts:e(y.f).hasFinishedResolution("getAccounts")}})),n=t.accounts,r=t.hasResolvedAccounts,o=_((function(e){return e(y.f).getAccountID()})),l=y.a===o,d=_((function(e){return e(y.f).getServiceURL({path:"/provision/SignUp"})})),A=Object(h.a)(),E=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(n){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,Object(p.z)("".concat(A,"_analytics"),"create_account","custom-oauth");case 3:e.open(d,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[d,A]),O=S(y.f).resetAccounts,T=Object(s.useCallback)((function(){O()}),[O]);return r?a.createElement("div",null,a.createElement(v.a,null),a.createElement(b.a,{moduleSlug:"analytics",storeName:y.f}),!l&&n&&0===n.length&&a.createElement("p",null,Object(u.__)('Looks like you don\'t have an Analytics account yet. Once you create it, click on "Re-fetch my account" and Site Kit will locate it.',"google-site-kit")),l&&a.createElement(s.Fragment,null,a.createElement("p",null,Object(u.__)("To create a new account, click the button below which will open the Google Analytics account creation screen in a new window.","google-site-kit")),a.createElement("p",null,Object(u.__)("Once completed, click the link below to re-fetch your accounts to continue.","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(m.a,{onClick:E},Object(u.__)("Create an account","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__sub-action"},a.createElement(g.a,{onClick:T},Object(u.__)("Re-fetch My Account","google-site-kit"))))):a.createElement(f.a,null)}}).call(this,n(20),n(3))},364:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(55),s=n(8),u=n(11),l=n(7),d=n(19),m=o.a.useSelect,g=o.a.useDispatch;function AccountSelect(){var t=Object(d.a)(),n=m((function(e){return e(u.f).getAccountID()})),i=m((function(e){return{accounts:e(u.f).getAccounts(),hasResolvedAccounts:e(u.f).hasFinishedResolution("getAccounts")}})),o=i.accounts,f=i.hasResolvedAccounts,p=g(u.f).selectAccount,y=Object(a.useCallback)((function(e,a){var r=a.dataset.value;if(n!==r){p(r);var i=r===u.a?"change_account_new":"change_account";Object(l.z)("".concat(t,"_analytics"),i)}}),[n,p,t]);return f?e.createElement(s.p,{className:"googlesitekit-analytics__select-account",label:Object(r.__)("Account","google-site-kit"),value:n,onEnhancedChange:y,enhanced:!0,outlined:!0},(o||[]).concat({id:u.a,name:Object(r.__)("Set up a new account","google-site-kit")}).map((function(t,n){var a=t.id,r=t.name;return e.createElement(s.n,{key:n,value:a},r)}))):e.createElement(c.a,{small:!0})}}).call(this,n(3))},365:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdsConversionIDTextField}));var a=n(9),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(8),l=n(11),d=n(56),m=n(63),g=s.a.useSelect,f=s.a.useDispatch;function AdsConversionIDTextField(){var t=g((function(e){return e(l.f).getAdsConversionID()})),n=g((function(e){return e(l.f).getCanUseSnippet()&&e(l.f).getUseSnippet()})),a=f(l.f).setAdsConversionID,c=Object(i.useCallback)((function(e){var n=e.currentTarget.value.trim().toUpperCase();"AW-".length<n.length&&!/^AW-/.test(n)&&(n="AW-".concat(n)),n!==t&&a(n)}),[t,a]),s=Boolean(!t||Object(m.f)(t));return s&&!n?null:e.createElement("div",null,e.createElement(u.q,{label:Object(o.__)("Ads Conversion ID","google-site-kit"),className:r()({"mdc-text-field--error":!s}),helperText:!s&&e.createElement(u.f,{persistent:!0},Object(o.__)("Conversion IDs must be in the format: AW-XXXXX","google-site-kit")),trailingIcon:!s&&e.createElement("span",{className:"googlesitekit-text-field-icon--error"},e.createElement(d.a,null,Object(o.__)("Error","google-site-kit"))),outlined:!0},e.createElement(u.g,{value:t,onChange:c})),e.createElement("p",null,Object(o.__)("If you’re using Google Ads, insert your Ads conversion ID if you’d like Site Kit to place the snippet on your site","google-site-kit")))}}).call(this,n(3))},366:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AnonymizeIPSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(11),s=n(15),u=n(138),l=n(21),d=o.a.useSelect,m=o.a.useDispatch;function AnonymizeIPSwitch(){var t=d((function(e){return e(c.f).getAnonymizeIP()})),n=d((function(e){return e(c.f).getUseSnippet()})),i=d((function(e){return e(s.c).getAMPMode()})),o=d((function(e){return e(s.c).getGoogleSupportURL({path:"/analytics/answer/2763052"})})),g=m(c.f).setAnonymizeIP,f=Object(a.useCallback)((function(){g(!t)}),[t,g]);return n&&"primary"!==i&&void 0!==t?e.createElement("div",{className:"googlesitekit-analytics-anonymizeip"},e.createElement(u.a,{label:Object(r.__)("Anonymize IP addresses","google-site-kit"),onClick:f,checked:t,hideLabel:!1}),e.createElement("p",null,t?Object(r.__)("IP addresses will be anonymized.","google-site-kit"):Object(r.__)("IP addresses will not be anonymized.","google-site-kit")," ",e.createElement(l.a,{href:o,external:!0,inherit:!0,"aria-label":Object(r.__)("Learn more about IP anonymization.","google-site-kit")},Object(r.__)("Learn more","google-site-kit")))):null}}).call(this,n(3))},367:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ExistingGTMPropertyNotice}));var a=n(1),r=n(4),i=n.n(r),o=n(11),c=n(27),s=i.a.useSelect;function ExistingGTMPropertyNotice(){var t=s((function(e){return e(o.f).getPropertyID()})),n=s((function(e){return e(c.g).getSingleAnalyticsPropertyID()}));return n?n===t?e.createElement("p",null,Object(a.sprintf)(Object(a.__)("An existing Google Tag Manager property was found on your site with the ID %s. Since it refers to the same property selected here, Site Kit will not place its own tag and rely on the existing one. If later on you decide to remove this property, Site Kit can place a new tag for you.","google-site-kit"),n)):e.createElement("p",null,Object(a.sprintf)(Object(a.__)("An existing Google Tag Manager property was found on your site with the ID %s.","google-site-kit"),n)):null}}).call(this,n(3))},368:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProfileNameTextField}));var a=n(97),r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(38),u=n(8),l=n(11),d=n(56),m=c.a.useSelect,g=c.a.useDispatch;function ProfileNameTextField(){var t,n,o=m((function(e){return e(l.f).getAccountID()})),c=m((function(e){return e(l.f).getPropertyID()})),f=m((function(e){return e(l.f).getProfiles(o,c)})),p=m((function(e){return e(l.f).getProfileID()})),y=m((function(e){return e(s.a).getValue(l.e,"profileName")})),b=g(s.a).setValues,v=Object(r.useCallback)((function(e){var t=e.currentTarget;b(l.e,{profileName:t.value})}),[b]);return Object(a.a)((function(){y||b(l.e,{profileName:Object(i._x)("All Web Site Data","default Analytics view name","google-site-kit")})})),p!==l.g?null:(Array.isArray(f)&&f.some((function(e){return e.name===y}))&&(t=e.createElement(u.f,{persistent:!0},Object(i.__)("A view with this name already exists.","google-site-kit")),n=e.createElement("span",{className:"googlesitekit-text-field-icon--warning"},e.createElement(d.a,null,Object(i.__)("Warning","google-site-kit")))),e.createElement("div",{className:"googlesitekit-analytics-profilename"},e.createElement(u.q,{label:Object(i.__)("View Name","google-site-kit"),outlined:!0,helperText:t,trailingIcon:n},e.createElement(u.g,{value:y,onChange:v})),e.createElement("p",null,Object(i.__)("You can make changes to this view (e.g. exclude URL query parameters) in Google Analytics.","google-site-kit"))))}}).call(this,n(3))},369:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProfileSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(8),s=n(55),u=n(11),l=n(63),d=n(7),m=n(19),g=o.a.useSelect,f=o.a.useDispatch;function ProfileSelect(){var t=g((function(e){return e(u.f).getAccountID()})),n=g((function(e){return e(u.f).getPropertyID()})),i=g((function(e){return e(u.f).getProfileID()})),o=g((function(e){return e(u.f).getProfiles(t,n)})),p=g((function(e){return!e(u.f).hasFinishedResolution("getAccounts")||e(u.f).isResolving("getProperties",[t])||e(u.f).isResolving("getProfiles",[t,n])})),y=f(u.f).setProfileID,b=Object(m.a)(),v=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(i!==n){y(t.dataset.value);var a=n===u.g?"change_profile_new":"change_profile";Object(d.z)("".concat(b,"_analytics"),a)}}),[i,y,b]);return Object(l.e)(t)&&Object(l.k)(n)?p?e.createElement(s.a,{small:!0}):e.createElement(c.p,{className:"googlesitekit-analytics__select-profile",label:Object(r.__)("View","google-site-kit"),value:i,onEnhancedChange:v,enhanced:!0,outlined:!0},(o||[]).concat({id:u.g,name:Object(r.__)("Set up a new view","google-site-kit")}).map((function(t,n){var a=t.id,r=t.name;return e.createElement(c.n,{key:n,value:a},r)}))):null}}).call(this,n(3))},37:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/location"},370:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(8),s=n(55),u=n(11),l=n(63),d=n(7),m=n(19),g=o.a.useSelect,f=o.a.useDispatch;function PropertySelect(){var t=g((function(e){var t={accountID:e(u.f).getAccountID(),properties:[],isResolvingProperties:!1};return t.accountID&&(t.properties=e(u.f).getProperties(t.accountID),t.isResolvingProperties=e(u.f).isResolving("getProperties",[t.accountID])),t})),n=t.accountID,i=t.properties,o=t.isResolvingProperties,p=g((function(e){return e(u.f).getPropertyID()})),y=g((function(e){return e(u.f).hasFinishedResolution("getAccounts")})),b=f(u.f).selectProperty,v=Object(m.a)(),h=Object(a.useCallback)((function(e,t){var n=t.dataset.value;if(p!==n){b(n,t.dataset.internalId);var a=n===u.h?"change_property_new":"change_property";Object(d.z)("".concat(v,"_analytics"),a,"ua")}}),[p,b,v]);return Object(l.e)(n)?!y||o?e.createElement(s.a,{small:!0}):e.createElement(c.p,{className:"googlesitekit-analytics__select-property",label:Object(r.__)("Property","google-site-kit"),value:p,onEnhancedChange:h,enhanced:!0,outlined:!0},(i||[]).concat({id:u.h,name:Object(r.__)("Set up a new property","google-site-kit")}).map((function(t,n){var a=t.id,i=t.name,o=t.internalWebPropertyId;return e.createElement(c.n,{key:n,value:a,"data-internal-id":o},o?Object(r.sprintf)(Object(r._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),i,a):i)}))):null}}).call(this,n(3))},371:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertySelectIncludingGA4}));var a=n(6),r=n.n(a),i=n(5),o=n.n(i),c=n(14),s=n.n(c),u=n(2),l=n(1),d=n(4),m=n.n(d),g=n(8),f=n(55),p=n(40),y=n(11),b=n(63),v=n(7),h=n(19);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){r()(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 A=m.a.useSelect,E=m.a.useDispatch;function PropertySelectIncludingGA4(){var t=A((function(e){return e(y.f).getAccountID()})),n=A((function(e){return e(y.f).getPropertiesIncludingGA4(t)||[]})),a=A((function(e){return e(p.b).getPropertyID()})),r=A((function(e){return e(y.f).getPropertyID()})),i=A((function(e){var n=!e(y.f).hasFinishedResolution("getAccounts"),a=!e(p.b).hasFinishedResolution("getProperties",[t]),r=!e(y.f).hasFinishedResolution("getProperties",[t]);return n||r||a})),c=A((function(e){return e(y.f).getPrimaryPropertyType()}))===y.i?a:r,d=E(p.b),m=E(y.f),_=Object(h.a)(),O=Object(u.useCallback)(function(){var e=s()(o.a.mark((function e(n,a){var r,i,s,u,l,g,f,p,b,h,S;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=a.dataset.value,i=a.dataset.internalId,c!==r){e.next=4;break}return e.abrupt("return");case 4:if(r===y.h?Object(v.z)("".concat(_,"_analytics"),"change_property_new","ua"):(s=i?"ua":"ga4",Object(v.z)("".concat(_,"_analytics"),"change_property",s)),!i&&r!==y.h){e.next=20;break}return e.next=8,d.matchAccountProperty(t);case 8:if(!(null==(f=e.sent)?void 0:f._id)){e.next=13;break}return e.next=12,d.matchWebDataStream(f._id);case 12:p=e.sent;case 13:m.selectProperty(r,i),m.setPrimaryPropertyType(y.j),d.setPropertyID((null==f?void 0:f._id)||""),d.setWebDataStreamID((null===(u=p)||void 0===u?void 0:u._id)||""),d.setMeasurementID((null===(l=p)||void 0===l||null===(g=l.webStreamData)||void 0===g?void 0:g.measurementId)||""),e.next=32;break;case 20:return e.next=22,m.findMatchedProperty(t);case 22:if(!(null==(h=e.sent)?void 0:h.id)){e.next=27;break}return e.next=26,m.findPropertyProfile(t,h.id,h.defaultProfileId);case 26:S=e.sent;case 27:d.selectProperty(r),m.setPrimaryPropertyType(y.i),m.setPropertyID((null==h?void 0:h.id)||""),m.setInternalWebPropertyID((null==h?void 0:h.internalWebPropertyId)||""),m.setProfileID((null===(b=S)||void 0===b?void 0:b.id)||"");case 32:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,c,d,m,_]);if(!Object(b.d)(t))return null;if(i)return e.createElement(f.a,{small:!0});var T=n.map((function(e){return S(S({},e),{},{id:e._id||e.id,name:e.displayName||e.name})}));return e.createElement(g.p,{className:"googlesitekit-analytics__select-property",label:Object(l.__)("Property","google-site-kit"),value:c,onEnhancedChange:O,enhanced:!0,outlined:!0},(T||[]).concat({id:y.h,name:Object(l.__)("Set up a new property","google-site-kit")}).map((function(t){var n=t.id,a=t.name,r=t.internalWebPropertyId;return e.createElement(g.n,{key:n,value:n,"data-internal-id":r},n===y.h?a:Object(l.sprintf)(Object(l._x)("%1$s (%2$s)","Analytics property name and ID","google-site-kit"),a,n))})))}}).call(this,n(3))},372:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GA4ActivateSwitch}));var a=n(0),r=n.n(a),i=n(1),o=n(2),c=n(4),s=n.n(c),u=n(38),l=n(11),d=n(7),m=n(138),g=n(21),f=n(19),p=s.a.useSelect,y=s.a.useDispatch;function GA4ActivateSwitch(t){var n=t.onActivate,a=Object(f.a)(),r=p((function(e){return e(u.a).getValue(l.e,"enableGA4")})),c=y(u.a).setValues,s=Object(o.useCallback)((function(){c(l.e,{enableGA4:!0}),Object(d.z)("".concat(a,"_analytics"),"activate_ga4"),"function"==typeof n&&n()}),[c,n,a]);return e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement(m.a,{label:e.createElement(o.Fragment,null,Object(i.__)("Activate Google Analytics 4 and place code on your site.","google-site-kit")," ",e.createElement(g.a,{href:"https://sitekit.withgoogle.com/documentation/using-site-kit/ga4/",external:!0,inherit:!0},Object(i.__)("Learn more","google-site-kit"))),checked:r,onClick:s,hideLabel:!1}))}GA4ActivateSwitch.propTypes={onActivate:r.a.func}}).call(this,n(3))},376:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var a=n(6),r=n.n(a),i=n(0),o=n.n(i),c=n(9),s=n.n(c),u=n(4),l=n.n(u),d=n(145),m=n(25),g=l.a.useSelect;function AdBlockerWarning(t){var n=t.context,a=g((function(e){return e(m.f).getAdBlockerWarningMessage()}));return a?e.createElement("div",{className:s()("googlesitekit-settings-module-warning",r()({},"googlesitekit-settings-module-warning--".concat(n),n))},e.createElement(d.a,{height:"20",width:"23"})," ",a):null}AdBlockerWarning.propTypes={context:o.a.string},AdBlockerWarning.defaultProps={context:""}}).call(this,n(3))},377:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(10),r=n.n(a),i=n(1),o=n(113),c=n(195);function s(e){var t=e.siteName,n=e.siteURL,a=e.timezone,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Intl.DateTimeFormat().resolvedOptions().timeZone;r()(Object(o.a)(n),"a valid siteURL is required.");var u=new URL(n),l=u.hostname,d=u.pathname,m=c.c[a]?a:s;return{accountName:t||l,propertyName:"".concat(l).concat(d).replace(/\/$/,""),profileName:Object(i._x)("All Web Site Data","default Analytics view name","google-site-kit"),countryCode:c.c[m],timezone:m}}},378:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TimezoneSelect}));var a=n(2),r=n(1),i=n(8),o=n(195),c=n(4),s=n.n(c),u=n(11),l=n(38),d=s.a.useSelect,m=s.a.useDispatch;function TimezoneSelect(){var t=d((function(e){return e(l.a).getValue(u.d,"countryCode")})),n=d((function(e){return e(l.a).getValue(u.d,"timezone")})),c=m(l.a).setValues,s=Object(a.useCallback)((function(e,t){c(u.d,{timezone:t.dataset.value})}),[c]);return e.createElement(i.p,{className:"googlesitekit-analytics__select-timezone",label:Object(r.__)("Timezone","google-site-kit"),value:n,onEnhancedChange:s,disabled:!t,enhanced:!0,outlined:!0},(o.d[t]||[]).map((function(t,n){var a=t.timeZoneId,r=t.displayName;return e.createElement(i.n,{key:n,value:a},r)})))}}).call(this,n(3))},379:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountField}));var a=n(2),r=n(1),i=n(236),o=n(4),c=n.n(o),s=n(11),u=n(38),l=c.a.useSelect,d=c.a.useDispatch;function AccountField(){var t=l((function(e){return e(u.a).getValue(s.d,"accountName")})),n=d(u.a).setValues,o=Object(a.useCallback)((function(e){n(s.d,{accountName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Account","google-site-kit"),hasError:!t,value:t,setValue:o,name:"account"})}}).call(this,n(3))},38:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a="core/forms"},380:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PropertyField}));var a=n(2),r=n(1),i=n(236),o=n(4),c=n.n(o),s=n(11),u=n(38),l=c.a.useSelect,d=c.a.useDispatch;function PropertyField(){var t=l((function(e){return e(u.a).getValue(s.d,"propertyName")})),n=d(u.a).setValues,o=Object(a.useCallback)((function(e){n(s.d,{propertyName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("Property","google-site-kit"),value:t,hasError:!t,setValue:o,name:"property"})}}).call(this,n(3))},381:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProfileField}));var a=n(2),r=n(1),i=n(236),o=n(4),c=n.n(o),s=n(11),u=n(38),l=c.a.useSelect,d=c.a.useDispatch;function ProfileField(){var t=l((function(e){return e(u.a).getValue(s.d,"profileName")})),n=d(u.a).setValues,o=Object(a.useCallback)((function(e){n(s.d,{profileName:e})}),[n]);return e.createElement(i.a,{label:Object(r.__)("View","google-site-kit"),value:t,hasError:!t,setValue:o,name:"profile"})}}).call(this,n(3))},382:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CountrySelect}));var a=n(2),r=n(1),i=n(8),o=n(195),c=n(4),s=n.n(c),u=n(11),l=n(38),d=s.a.useSelect,m=s.a.useDispatch;function CountrySelect(){var t=d((function(e){return e(l.a).getValue(u.d,"countryCode")})),n=m(l.a).setValues,c=Object(a.useCallback)((function(e,a){var r=a.dataset.value;r!==t&&o.b[r]&&n(u.d,{countryCode:r,timezone:o.b[r].defaultTimeZoneId})}),[n,t]);return e.createElement(i.p,{className:"googlesitekit-analytics__select-country",label:Object(r.__)("Country","google-site-kit"),value:t,onEnhancedChange:c,enhanced:!0,outlined:!0},o.a.map((function(t,n){var a=t.countryCode,r=t.displayName;return e.createElement(i.n,{key:n,value:a},r)})))}}).call(this,n(3))},392:function(e,t,n){"use strict";var a=n(2);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var i=a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M107.91 41.72c7.73-13.22 3.14-30.12-10.24-37.75C84.29-3.66 67.18.87 59.45 14.09c-.35.59-.66 1.2-.96 1.81l-26.1 44.66a27.172 27.172 0 00-1.6 2.75L3.67 110.1l48.45 27.16 26.98-46.4c.29-.44.57-.89.84-1.35.27-.46.52-.93.76-1.39l26.11-44.67c.38-.57.76-1.14 1.1-1.73z",fill:"#FBBC04"}),a.createElement("path",{d:"M52.34 137.11c-7.68 13.43-25 18.38-38.31 10.62-13.31-7.76-18.02-24.57-10.34-38s24.86-18.39 38.16-10.64c13.3 7.75 18.18 24.59 10.49 38.02z",fill:"#34A853"}),a.createElement("path",{d:"M158.79 51.86c-13.23-7.62-30.15-3.1-37.79 10.1l-27.66 47.8c-7.64 13.2-3.11 30.08 10.13 37.7 13.23 7.62 30.15 3.1 37.79-10.1l27.66-47.8c7.63-13.2 3.1-30.08-10.13-37.7z",fill:"#4285F4"}));t.a=function SvgAdsense(e){return a.createElement("svg",r({viewBox:"0 0 173 152"},e),i)}},393:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSiteUI}));var a=n(0),r=n.n(a),i=n(2),o=n(18),c=n(126),s=n(425),u=n(21);function SetupAccountSiteUI(t){var n=t.heading,a=t.description,r=t.primaryButton,l=t.secondaryButton;return e.createElement(i.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},n),e.createElement(c.d,null),e.createElement("p",null,a),e.createElement(s.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(o.a,{onClick:r.onClick,href:r.href},r.label),l&&e.createElement("div",{className:"googlesitekit-setup-module__sub-action"},e.createElement(u.a,{onClick:l.onClick},l.label))))}SetupAccountSiteUI.propTypes={heading:r.a.string.isRequired,description:r.a.string.isRequired,primaryButton:r.a.shape({label:r.a.string,href:r.a.string,onClick:r.a.func}).isRequired,secondaryButton:r.a.shape({label:r.a.string,onClick:r.a.func})}}).call(this,n(3))},4:function(e,t){e.exports=googlesitekit.data},40:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return o}));var a="modules/analytics-4",r="property_create",i="webdatastream_create",o=10},408:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(771),r=function(e){var t=new URL(e);return Object(a.parse)(t.hostname).domain}},41:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(36),r=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(a.a)(new Date(e))}},424:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SiteSteps}));var a=n(1),r=n(4),i=n.n(r),o=n(21),c=n(25),s=i.a.useSelect;function SiteSteps(){var t=s((function(e){return e(c.f).getServiceAccountManageSitesURL()})),n=s((function(e){return e(c.f).getServiceAccountSiteAdsPreviewURL()})),r=[{linkText:Object(a.__)("Enabled auto ads for your site","google-site-kit"),linkURL:n},{linkText:Object(a.__)('Verified that your site is marked as "Ready"',"google-site-kit"),linkURL:t}];return e.createElement("div",{className:"googlesitekit-setup-module__list-wrapper"},e.createElement("ol",{className:"googlesitekit-setup-module__list"},r.map((function(t,n){return e.createElement("li",{className:"googlesitekit-setup-module__list-item",key:n},e.createElement(o.a,{href:t.linkURL,external:!0,inherit:!0},t.linkText))}))))}}).call(this,n(3))},425:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupUseSnippetSwitch}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(25),s=n(319),u=n(126),l=o.a.useSelect,d=o.a.useDispatch;function SetupUseSnippetSwitch(){var t,n,i=l((function(e){return e(c.f).getOriginalUseSnippet()})),o=l((function(e){return e(c.f).getExistingTag()})),m=l((function(e){return e(c.f).getClientID()})),g=d(c.f),f=g.setUseSnippet,p=g.saveSettings,y=Boolean(o);if(Object(a.useEffect)((function(){y&&(f(!1),p())}),[y,p,f]),i&&!o||void 0===o||void 0===i)return null;var b=Object(r.__)("Make sure to remove the existing AdSense code to avoid conflicts with the code placed by Site Kit.","google-site-kit");return o===m?(n=Object(r.__)("You’ve already got an AdSense code on your site for this account. We recommend you use Site Kit to place the code to get the most out of AdSense.","google-site-kit"),t="".concat(n," ").concat(b)):o?(n=Object(r.sprintf)(Object(r.__)("Site Kit detected AdSense code for a different account %1$s on your site. In order to configure AdSense for your current account %2$s, we recommend you use Site Kit to place the code instead.","google-site-kit"),Object(s.a)(o),Object(s.a)(m)),t="".concat(n," ").concat(b)):t=b,e.createElement(u.e,{checkedMessage:t,uncheckedMessage:n,saveOnChange:!0})}}).call(this,n(3))},432:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(10),r=n.n(a),i=n(41),o=function(e){r()(e,"A dates object is required.");var t=e.startDate,n=e.endDate;return r()(Object(i.a)(t),"A valid startDate is required."),r()(Object(i.a)(n),"A valid endDate is required."),{d:"".concat(t.replace(/-/g,"/"),"-").concat(n.replace(/-/g,"/"))}}},433:function(e,t,n){"use strict";function a(e,t){var n,a;return!(400!==(null==e?void 0:e.code)||!(null===(n=e.message)||void 0===n||null===(a=n.startsWith)||void 0===a?void 0:a.call(n,"Restricted metric")))&&(!(t instanceof RegExp||"string"==typeof t)||e.message.match(/ga:[a-z]+/gi).some((function(e){return e.match(t)})))}n.d(t,"a",(function(){return a}))},44:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return s}));var a=n(130),r="xlarge",i="desktop",o="tablet",c="small";function s(){var e=Object(a.a)();return e>1280?r:e>960?i:e>600?o:c}},446:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(25),s=n(12),u=n(11),l=n(155),d=n(237),m=n(295),g=o.a.useSelect;function Header(){var t=g((function(e){var t=e(s.a).getDateRangeDates({offsetDays:c.e}),n=t.startDate,a=t.endDate;return{currentDayCount:e(s.a).getDateRangeNumberOfDays(),analyticsMainURL:e(u.f).getServiceReportURL("content-publisher-overview",Object(l.a)({startDate:n,endDate:a}))}})),n=t.currentDayCount,i=t.analyticsMainURL,o=Object(a.sprintf)(Object(a._n)("Performance by page over the last %s day","Performance by page over the last %s days",n,"google-site-kit"),n),f=Object(a.sprintf)(Object(a.__)("See full stats in %s","google-site-kit"),Object(a._x)("Analytics","Service name","google-site-kit"));return e.createElement(r.Fragment,null,e.createElement(d.a,{title:o}),e.createElement(m.a,{href:i,label:f,external:!0}))}}).call(this,n(3))},459:function(e,t,n){(function(e){Object.prototype.hasOwnProperty.call(e,"google")||(e.google=void 0)}).call(this,n(20))},461:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSiteAdded}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(0),s=n.n(c),u=n(2),l=n(1),d=n(4),m=n.n(d),g=n(18),f=n(25),p=n(424),y=n(126),b=m.a.useSelect,v=m.a.useDispatch;function SetupSiteAdded(t){var n=t.finishSetup,a=b((function(e){return e(f.f).isDoingSubmitChanges()})),i=v(f.f).completeSiteSetup,c=Object(u.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,i();case 4:e.sent&&n();case 6:case"end":return e.stop()}}),e)}))),[a,n,i]);return e.createElement(u.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(l.__)("Let’s get your site ready for ads","google-site-kit")),e.createElement(y.d,null),e.createElement("p",null,Object(l.__)("In order for your site to display ads, make sure you’ve completed these steps in AdSense","google-site-kit")),e.createElement(p.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(g.a,{onClick:c,disabled:a},Object(l.__)("Continue","google-site-kit"))))}SetupSiteAdded.propTypes={finishSetup:s.a.func},SetupSiteAdded.defaultProps={finishSetup:function(){}}}).call(this,n(3))},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var a=n(5),r=n.n(a),i=n(6),o=n.n(i),c=n(10),s=n.n(c),u=n(57),l=n.n(u),d=n(54),m=n(76),g=n(7);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=function(e){return e},b=function(){return{}},v=function(){},h=d.a.clearError,_=d.a.receiveError,S=function(e){var t,n,a=r.a.mark(M),i=e.baseName,c=e.controlCallback,u=e.reducerCallback,d=void 0===u?y:u,f=e.argsToParams,S=void 0===f?b:f,A=e.validateParams,E=void 0===A?v:A;s()(i,"baseName is required."),s()("function"==typeof c,"controlCallback is required and must be a function."),s()("function"==typeof d,"reducerCallback must be a function."),s()("function"==typeof S,"argsToParams must be a function."),s()("function"==typeof E,"validateParams must be a function.");try{E(S()),n=!1}catch(e){n=!0}var O=Object(m.b)(i),T=Object(m.a)(i),k="FETCH_".concat(T),N="START_".concat(k),I="FINISH_".concat(k),j="CATCH_".concat(k),C="RECEIVE_".concat(T),w="fetch".concat(O),D="receive".concat(O),R="isFetching".concat(O),P=o()({},R,{});function M(e,t){var n,o;return r.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,{payload:{params:e},type:N};case 2:return a.next=4,h(i,t);case 4:return a.prev=4,a.next=7,{payload:{params:e},type:k};case 7:return n=a.sent,a.next=10,Z[D](n,e);case 10:return a.next=12,{payload:{params:e},type:I};case 12:a.next=23;break;case 14:return a.prev=14,a.t0=a.catch(4),o=a.t0,a.next=19,_(o,i,t);case 19:return a.next=21,_(o);case 21:return a.next=23,{payload:{params:e},type:j};case 23:return a.abrupt("return",{response:n,error:o});case 24:case"end":return a.stop()}}),a,null,[[4,14]])}var Z=(t={},o()(t,w,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=S.apply(void 0,t);return E(a),M(a,t)})),o()(t,D,(function(e,t){return s()(void 0!==e,"response is required."),n?(s()(l()(t),"params is required."),E(t)):t={},{payload:{response:e,params:t},type:C}})),t),L=o()({},k,(function(e){var t=e.payload;return c(t.params)})),G=o()({},R,(function(e){if(void 0===e[R])return!1;var t;try{for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];t=S.apply(void 0,a),E(t)}catch(e){return!1}return!!e[R][Object(g.y)(t)]}));return{initialState:P,actions:Z,controls:L,reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case N:var r=a.params;return p(p({},e),{},o()({},R,p(p({},e[R]),{},o()({},Object(g.y)(r),!0))));case C:var i=a.response,c=a.params;return d(e,i,c);case I:var s=a.params;return p(p({},e),{},o()({},R,p(p({},e[R]),{},o()({},Object(g.y)(s),!1))));case j:var u=a.params;return p(p({},e),{},o()({},R,p(p({},e[R]),{},o()({},Object(g.y)(u),!1))));default:return e}},resolvers:{},selectors:G}}},50:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return s}));var a=n(113);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 o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e){return/^#\w[A-Za-z0-9-_]*$/.test(e)}function s(e,t){if(!Object(a.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),r=e.replace(n.origin,"");if(r.length<t)return r;var i=r.length-Math.floor(t)+1;return"…"+r.substr(i)}},51:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(28);function r(e){return function(){e[a.a]=e[a.a]||[],e[a.a].push(arguments)}}},514:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupMain}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(13),u=n.n(s),l=n(414),d=n(0),m=n.n(d),g=n(1),f=n(2),p=n(4),y=n.n(p),b=n(55),v=n(392),h=n(527),_=n(532),S=n(533),A=n(7),E=n(126),O=n(25),T=n(12),k=n(15),N=n(132),I=n(19),j=y.a.useSelect,C=y.a.useDispatch;function SetupMain(t){var n,r=t.finishSetup,o=Object(I.a)(),s="".concat(o,"_adsense"),d=C(O.f),m=d.clearError,p=d.resetAccounts,y=d.resetAlerts,w=d.resetClients,D=d.resetSites,R=d.setAccountID,P=d.setAccountStatus,M=d.submitChanges,Z=Object(f.useState)(!1),L=u()(Z,2),G=L[0],x=L[1],U=Object(f.useState)(!1),B=u()(U,2),F=B[0],W=B[1],H=j((function(e){return e(O.f).isAdBlockerActive()})),z=j((function(e){return e(O.f).getAccounts()})),q=j((function(e){return e(O.f).getAccountID()})),K=j((function(e){return e(O.f).hasSettingChanged("accountID")})),V=j((function(e){return e(O.f).hasSettingChanged("clientID")})),Y=j((function(e){return e(O.f).canSubmitChanges()})),$=j((function(e){return e(O.f).getClientID()})),J=j((function(e){return e(O.f).getAccountStatus()})),Q=j((function(e){return e(O.f).hasSettingChanged("accountStatus")})),X=j((function(e){return e(O.f).getSiteStatus()})),ee=j((function(e){return e(O.f).hasSettingChanged("siteStatus")})),te=j((function(e){return e(O.f).hasErrors()})),ne=j((function(e){return e(O.f).hasFinishedResolution("getAccounts")})),ae=j((function(e){return e(T.a).getEmail()})),re=j((function(e){return e(k.c).getReferenceSiteURL()})),ie=j((function(e){return e(O.f).getExistingTag()})),oe=null==z?void 0:z.find((function(e){return e._id===q}));return Object(l.a)((function(){(K&&void 0!==q||V&&void 0!==$||Q&&void 0!==J||ee&&void 0!==X)&&x(!0)}),[q,K,$,V,J,Q,X,ee]),Object(f.useEffect)((function(){var e;Array.isArray(z)&&(1!==z.length||q&&z[0]._id===q?0===z.length&&q&&(e=""):e=z[0]._id,void 0!==e&&(R(e),x(!0)))}),[z,q,R]),Object(f.useEffect)((function(){0===(null==z?void 0:z.length)?P(N.h):(null==z?void 0:z.length)>1&&!q&&P(N.f)}),[P,q,z]),Object(f.useEffect)((function(){G&&!F&&Y&&(x(!1),c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return W(!0),e.next=3,M();case 3:W(!1);case 4:case"end":return e.stop()}}),e)})))())}),[G,F,Y,M]),Object(f.useEffect)((function(){var t,n=!1,a=function(){t=e.setTimeout((function(){n=!0}),15e3)},r=function(){e.clearTimeout(t),n&&(n=!1,void 0!==J&&N.k!==J&&(m(),p(),y(),w(),D()))};return e.addEventListener("focus",r),e.addEventListener("blur",a),function(){e.removeEventListener("focus",r),e.removeEventListener("blur",a),e.clearTimeout(t)}}),[J,m,p,y,w,D]),Object(f.useEffect)((function(){void 0!==J&&Object(A.z)(s,"receive_account_state",J)}),[s,J]),Object(f.useEffect)((function(){void 0!==X&&Object(A.z)(s,"receive_site_state",X)}),[s,X]),n=ne&&void 0!==q&&void 0!==ae&&void 0!==re&&void 0!==ie?te?a.createElement(E.d,null):(null==z?void 0:z.length)?q?a.createElement(h.a,{account:oe,finishSetup:r}):a.createElement(S.a,null):a.createElement(_.a,null):a.createElement(b.a,null),a.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},a.createElement("div",{className:"googlesitekit-setup-module__step"},a.createElement("div",{className:"googlesitekit-setup-module__logo"},a.createElement(v.a,{width:"33",height:"33"})),a.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g._x)("AdSense","Service name","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__step"},a.createElement(E.b,null),!H&&n))}SetupMain.propTypes={finishSetup:m.a.func}}).call(this,n(20),n(3))},517:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountApproved}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(2),s=n(1),u=n(4),l=n.n(u),d=n(18),m=n(25),g=n(319),f=n(132),p=n(126),y=l.a.useSelect,b=l.a.useDispatch;function SetupAccountApproved(){var t=y((function(e){return e(m.f).getExistingTag()})),n=y((function(e){return e(m.f).getClientID()})),a=y((function(e){return e(m.f).getOriginalAccountStatus()})),i=y((function(e){return e(m.f).isDoingSubmitChanges()})),u=t===n,l=b(m.f).completeAccountSetup,v=Object(c.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,l();case 4:case"end":return e.stop()}}),e)}))),[i,l]);if(void 0===t||void 0===a)return null;var h,_,S,A,E=""===a||f.a===a;return h=E?Object(s.__)("Let Site Kit place AdSense code on your site to get your site approved","google-site-kit"):Object(s.__)("Keep AdSense code placed by Site Kit","google-site-kit"),t&&u?(_=!1,A=S=Object(s.__)("You’ve already got an AdSense code on your site for this account, we recommend you use Site Kit to place code to get the most out of AdSense.","google-site-kit")):t?(_=!0,S=Object(s.sprintf)(Object(s.__)("Site Kit detected AdSense code for a different account %s on your site. For a better ads experience, you should remove AdSense code that’s not linked to this AdSense account.","google-site-kit"),Object(g.a)(t)),A=Object(s.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code.","google-site-kit")):(_=!1,A=Object(s.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code.","google-site-kit")),e.createElement(c.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},E&&e.createElement("span",null,Object(s.__)("Looks like you’re already using AdSense","google-site-kit")),!E&&e.createElement("span",null,Object(s.__)("Your account is ready to use AdSense","google-site-kit"))),e.createElement(p.d,null),e.createElement("p",null,E&&e.createElement("span",null,Object(s.__)("Site Kit will place AdSense code on your site to connect your site to AdSense and help you get the most out of ads. This means Google will automatically place ads for you in all the best places.","google-site-kit")),!E&&e.createElement("span",null,Object(s.__)("Site Kit has placed AdSense code on your site to connect your site to AdSense and help you get the most out of ads. This means Google will automatically place ads for you in all the best places.","google-site-kit"))),_&&e.createElement(p.f,null),e.createElement(p.e,{label:h,checkedMessage:S,uncheckedMessage:A,saveOnChange:!0}),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(d.a,{onClick:v,disabled:i},Object(s.__)("Continue","google-site-kit"))))}}).call(this,n(3))},518:function(e,t,n){"use strict";function a(e){return"string"==typeof e&&/^pub-\d+$/.test(e)}function r(e){return"string"==typeof e&&/^ca-pub-\d+$/.test(e)}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}))},519:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WebStoriesAdUnitSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(8),s=n(55),u=n(25),l=o.a.useSelect,d=o.a.useDispatch;function WebStoriesAdUnitSelect(){var t=l((function(e){return e(u.f).getAccountID()})),n=l((function(e){return e(u.f).getClientID()})),i=l((function(e){return e(u.f).getWebStoriesAdUnit()})),o=l((function(e){return{adunits:e(u.f).getAdUnits(t,n),hasResolvedAdUnits:e(u.f).hasFinishedResolution("getAdUnits",[t,n])}})),m=o.adunits,g=o.hasResolvedAdUnits,f=d(u.f).setWebStoriesAdUnit,p=Object(a.useCallback)((function(e,t){var n=t.dataset.value;i!==n&&f(n)}),[i,f]);return g?e.createElement(c.p,{className:"googlesitekit-adsense__select-field",label:Object(r.__)("Web Stories Ad Unit","google-site-kit"),value:i,onEnhancedChange:p,enhanced:!0,outlined:!0},e.createElement(c.n,{value:""},Object(r.__)("Select ad unit","google-site-kit")),(m||[]).map((function(t){var n=t._id,a=t.displayName;return e.createElement(c.n,{key:n,value:n},a)}))):e.createElement(s.a,{small:!0})}}).call(this,n(3))},520:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return AdSenseConnectCTA}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(13),u=n.n(s),l=n(361),d=n(1),m=n(59),g=n(2),f=n(89),p=n(4),y=n.n(p),b=n(25),v=n(8),h=n(325),_=n(12),S=n(15),A=n(22),E=n(37),O=n(7),T=n(21),k=n(18),N=n(95),I=n(127),j=n(392),C=n(19),w=y.a.useSelect,D=y.a.useDispatch;function AdSenseConnectCTA(){var t=Object(g.useState)(!1),n=u()(t,2),r=n[0],o=n[1],s=D(_.a).dismissItem,p=D(E.a).navigateTo,y=D(A.a).activateModule,R=D(S.c).setInternalServerError,P=Object(C.a)(),M=Object(g.useRef)(),Z=Object(g.useState)(!1),L=u()(Z,2),G=L[0],x=L[1],U=Object(l.a)(M,{threshold:.25}),B=!!(null==U?void 0:U.intersectionRatio);Object(g.useEffect)((function(){B&&!G&&(Object(O.z)("".concat(P,"_adsense-cta-widget"),"widget_view"),x(!0))}),[B,P,G]);var F=w((function(e){return e(S.c).getGoogleSupportURL({path:"/adsense/answer/9724"})})),W=w((function(e){return e(b.f).getAdminReauthURL()})),H=w((function(e){return e(_.a).isDismissingItem(h.a)})),z=w((function(e){return e(A.a).isModuleActive("adsense")})),q=w((function(e){return e(A.a).isModuleConnected("adsense")})),K=Object(g.useCallback)(c()(i.a.mark((function e(){var t,n,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y("adsense");case 2:if(t=e.sent,n=t.response,!(a=t.error)){e.next=8;break}return R({id:"setup-module-error",description:a.message}),e.abrupt("return",null);case 8:return e.next=10,Object(O.z)("".concat(P,"_adsense-cta-widget"),"activate_module","adsense");case 10:p(n.moduleReauthURL);case 11:case"end":return e.stop()}}),e)}))),[y,p,R,P]),V=Object(g.useCallback)((function(){return p(W)}),[W,p]),Y=Object(g.useCallback)((function(){Object(O.z)("".concat(P,"_adsense-cta-widget"),"dismiss_widget"),o(!0)}),[P]),$=Object(g.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,Object(O.z)("".concat(P,"_adsense-cta-widget"),"dismiss_dialog_confirm");case 2:return e.next=4,s(h.a);case 4:case"end":return e.stop()}}),e)}))),[s,P]),J=Object(g.useCallback)((function(){Object(O.z)("".concat(P,"_adsense-cta-widget"),"dismiss_dialog_cancel"),o(!1)}),[P]);return Object(g.useEffect)((function(){var t=function(e){m.d===e.keyCode&&o(!1)};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]),a.createElement("section",{className:"googlesitekit-setup__wrapper googlesitekit-setup__wrapper--adsense-connect",ref:M},a.createElement(v.e,null,a.createElement(v.o,null,a.createElement(v.a,{size:12},a.createElement("p",{className:"googlesitekit-setup__intro-title"},Object(d.__)("Connect Service","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},a.createElement("div",{className:"googlesitekit-setup-module__step"},a.createElement("div",{className:"googlesitekit-setup-module__logo"},a.createElement(j.a,{width:"33",height:"33"})),a.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(d._x)("AdSense","Service name","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__step"},a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},a.createElement("span",null,Object(d.__)("Monetization metrics are powered by Google AdSense","google-site-kit"))),a.createElement("p",null,Object(d.__)("Earn money by placing ads on your site. Google AdSense will help you place ads in exactly the right places to optimize how much you earn from your content.","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__action"},!z&&a.createElement(k.a,{onClick:K},Object(d.__)("Connect","google-site-kit")),z&&!q&&a.createElement(k.a,{onClick:V},Object(d.__)("Complete setup","google-site-kit")),a.createElement(T.a,{onClick:Y,inherit:!0},Object(d.__)("Maybe later","google-site-kit"))),a.createElement("p",{className:"googlesitekit-setup-module__footer-text"},Object(f.a)(Object(d.__)("AdSense accounts are <a>subject to review and approval</a> by the Google AdSense team.","google-site-kit"),{a:a.createElement(T.a,{href:F,external:!0,hideExternalIndicator:!0,inherit:!0})})),a.createElement(N.a,null,a.createElement(I.a,{dialogActive:r,handleConfirm:$,handleDialog:J,title:Object(d.__)("This will remove the Monetization section from your dashboard","google-site-kit"),confirmButton:Object(d.__)("Yes, remove","google-site-kit"),dependentModules:Object(d.__)("You can always reactivate it by connecting Google AdSense in Settings","google-site-kit"),inProgress:H}))))))))}}).call(this,n(20),n(3))},521:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupAccountCreate}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(2),u=n(1),l=n(4),d=n.n(l),m=n(18),g=n(21),f=n(7),p=n(319),y=n(25),b=n(15),v=n(12),h=n(126),_=n(19),S=d.a.useSelect;function SetupAccountCreate(){var t=Object(_.a)(),n="".concat(t,"_adsense"),r=S((function(e){return e(b.c).getReferenceSiteURL()})),o=S((function(e){return e(v.a).getEmail()})),l=S((function(e){return e(y.f).getExistingTag()})),d=S((function(e){return e(y.f).getServiceCreateAccountURL()})),A=S((function(e){return e(b.c).getGoogleSupportURL({path:"/adsense/answer/2659101"})})),E=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(a){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.preventDefault(),t.next=3,Object(f.z)(n,"create_account");case 3:e.open(d,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[d,n]);return r&&o&&void 0!==l?a.createElement(s.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(u.__)("Create your AdSense account","google-site-kit")),a.createElement(h.d,null),a.createElement("p",null,Object(u.__)("Site Kit will place AdSense code on every page across your site. This means Google will automatically place ads for you in all the best places.","google-site-kit")),a.createElement(h.f,null),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(m.a,{onClick:E,href:d},Object(u.__)("Create AdSense Account","google-site-kit"))),a.createElement("p",{className:"googlesitekit-setup-module__footer-text"},l&&Object(u.sprintf)(Object(u.__)("Site Kit detected AdSense code %1$s on your page. We recommend you remove that code or add %2$s as a user to the AdSense account %3$s.","google-site-kit"),l,o,Object(p.a)(l)),!l&&Object(u.sprintf)(Object(u.__)("Already use AdSense? Add %s as a user to an existing AdSense account.","google-site-kit"),o)," ",a.createElement(g.a,{href:A,inherit:!0,external:!0,"aria-label":Object(u.__)("Learn more about adding a user to an existing AdSense account","google-site-kit")},Object(u.__)("Learn more","google-site-kit")))):null}}).call(this,n(20),n(3))},522:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountDisapproved}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(21),s=n(25),u=n(126),l=o.a.useSelect;function SetupAccountDisapproved(){var t=l((function(e){return e(s.f).getAccountID()})),n=l((function(e){return e(s.f).getServiceAccountURL()}));return void 0!==t&&n?e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Your site isn’t ready to show ads yet","google-site-kit")),e.createElement(u.d,null),e.createElement("p",null,Object(r.__)("You need to fix some things before we can connect Site Kit to your AdSense account.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.a,{href:n,external:!0},Object(r.__)("Go to AdSense to find out how to fix the issue","google-site-kit")))):null}}).call(this,n(3))},523:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountNoClient}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(21),s=n(126),u=n(15),l=o.a.useSelect;function SetupAccountNoClient(){var t=l((function(e){return e(u.c).getGoogleSupportURL({path:"/adsense/answer/6023158"})}));return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Looks like you have an AdMob account","google-site-kit")),e.createElement(s.d,null),e.createElement("p",null,Object(r.__)("To start using AdSense, you need to update your account so that you can connect your site to AdSense.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.a,{href:t,external:!0,"aria-label":Object(r.__)("Learn more about updating your AdSense account","google-site-kit")},Object(r.__)("Learn more","google-site-kit"))))}}).call(this,n(3))},524:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountPending}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(21),s=n(25),u=n(126),l=o.a.useSelect;function SetupAccountPending(){var t=l((function(e){return e(s.f).getServiceAccountManageSiteURL()}));return t?e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Your account is getting ready","google-site-kit")),e.createElement(u.d,null),e.createElement("p",null,Object(r.__)("Site Kit has placed AdSense code on every page across your site.","google-site-kit")," ",Object(r.__)("After you’ve finished setting up your account, we’ll let you know when your site is ready to show ads. This usually takes less than a day, but it can sometimes take a bit longer.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(c.a,{href:t,external:!0},Object(r.__)("Go to your AdSense account to check on your site’s status or to complete setting up","google-site-kit")))):null}}).call(this,n(3))},525:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSelect}));var a=n(2),r=n(1),i=n(126);function SetupAccountSelect(){return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Select your AdSense account","google-site-kit")),e.createElement(i.d,null),e.createElement("p",null,Object(r.__)("Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(i.a,null)))}}).call(this,n(3))},526:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupSiteAdd}));var r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(18),u=n(25),l=n(126),d=c.a.useSelect;function SetupSiteAdd(){var t=d((function(e){return e(u.f).getAccountID()})),n=d((function(e){return e(u.f).getServiceAccountManageSiteURL()})),o=Object(r.useCallback)((function(t){t.preventDefault(),e.open(n,"_blank")}),[n]);return t&&n?a.createElement(r.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Add site to your AdSense account","google-site-kit")),a.createElement(l.d,null),a.createElement("p",null,Object(i.__)("We’ve detected that you haven’t added this site to your AdSense account yet.","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(s.a,{onClick:o,href:n},Object(i.__)("Add site to AdSense","google-site-kit")))):null}}).call(this,n(20),n(3))},527:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccount}));var a=n(0),r=n.n(a),i=n(2),o=n(4),c=n.n(o),s=n(25),u=n(132),l=n(55),d=n(528),m=n(529),g=n(530),f=n(531),p=c.a.useSelect,y=c.a.useDispatch;function SetupAccount(t){var n=t.account,a=t.finishSetup,r=n._id,o=n.state,c=p((function(e){return e(s.f).getClientID()})),b=p((function(e){return e(s.f).getCurrentSite(r)})),v=p((function(e){return e(s.f).getAFCClient(r)})),h=y(s.f),_=h.setClientID,S=h.setAccountStatus,A=h.setSiteStatus;return Object(i.useEffect)((function(){(null==v?void 0:v._id)&&c!==v._id?_(v._id):null===v&&c&&_("")}),[v,c,_]),Object(i.useEffect)((function(){null===b&&A(u.o)}),[A,b]),Object(i.useEffect)((function(){void 0!==b&&(c?o===s.b?S(u.g):(null==v?void 0:v.state)===s.d?S(u.c):(null==v?void 0:v.state)===s.a?S(u.b):S(u.k):S(u.i))}),[o,v,c,S,b]),void 0===b?e.createElement(l.a,null):c?null===b?e.createElement(g.a,null):o===s.b||(null==v?void 0:v.state)===s.d||(null==v?void 0:v.state)===s.a?e.createElement(f.a,null):e.createElement(d.a,{site:b,finishSetup:a}):e.createElement(m.a,null)}SetupAccount.propTypes={account:r.a.shape({_id:r.a.string,state:r.a.string}),finishSetup:r.a.func}}).call(this,n(3))},528:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountSite}));var a=n(0),r=n.n(a),i=n(2),o=n(1),c=n(4),s=n.n(c),u=n(25),l=n(132),d=n(767),m=n(768),g=n(769),f=n(770),p=n(99),y=s.a.useDispatch;function SetupAccountSite(t){var n=t.site,a=t.finishSetup,r=n.autoAdsEnabled,c=n.state,s=y(u.f).setSiteStatus;switch(Object(i.useEffect)((function(){var e;switch(c){case u.b:e=l.n;break;case u.d:e=l.r;break;case u.a:e=l.m;break;case u.c:e=r?l.p:l.q}e&&s(e)}),[r,s,c]),c){case u.b:return e.createElement(d.a,null);case u.d:return e.createElement(g.a,null);case u.a:return e.createElement(m.a,null);case u.c:return e.createElement(f.a,{site:n,finishSetup:a});default:return e.createElement(p.a,{message:Object(o.sprintf)(Object(o.__)("Invalid site state %s","google-site-kit"),c)})}}SetupAccountSite.propTypes={site:r.a.shape({autoAdsEnabled:r.a.bool,state:r.a.string}).isRequired,finishSetup:r.a.func}}).call(this,n(3))},529:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountNoClient}));var a=n(2),r=n(89),i=n(1),o=n(4),c=n.n(o),s=n(18),u=n(21),l=n(126),d=n(7),m=n(15),g=n(19),f=c.a.useSelect;function SetupAccountNoClient(){var t=Object(g.a)(),n=f((function(e){return e(m.c).getGoogleSupportURL({path:"/adsense/answer/6023158"})})),o=Object(a.useCallback)((function(){Object(d.z)("".concat(t,"_adsense"),"apply_afc")}),[t]);return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Looks like you need to upgrade your AdSense account","google-site-kit")),e.createElement(l.d,null),e.createElement("p",null,Object(r.a)(Object(i.__)("To start using AdSense on your website, you need to upgrade your account to add “AdSense for content”. <a>Learn more</a>","google-site-kit"),{a:e.createElement(u.a,{href:n,external:!0,inherit:!0,"aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(s.a,{href:"https://www.google.com/adsense",target:"_blank","aria-label":Object(i.__)("Learn more about updating your AdSense account","google-site-kit"),onClick:o},Object(i.__)("Apply now","google-site-kit"))))}}).call(this,n(3))},530:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupAccountCreateSite}));var r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(18),u=n(25),l=n(126),d=n(7),m=n(19),g=c.a.useSelect;function SetupAccountCreateSite(){var t=Object(m.a)(),n=g((function(e){return e(u.f).getServiceAccountManageSiteURL()})),o=Object(r.useCallback)((function(a){a.preventDefault(),Object(d.z)("".concat(t,"_adsense"),"create_site"),e.open(n,"_blank")}),[n,t]);return a.createElement(r.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(i.__)("Add this site to your AdSense account","google-site-kit")),a.createElement(l.d,null),a.createElement("p",null,Object(i.__)("We’ve detected that you haven’t added this site to your AdSense account yet.","google-site-kit")),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(s.a,{onClick:o,href:n},Object(i.__)("Add site to AdSense","google-site-kit"))))}}).call(this,n(20),n(3))},531:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupAccountPendingTasks}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(425),s=n(18),u=n(25),l=n(126),d=n(7),m=n(19),g=o.a.useSelect;function SetupAccountPendingTasks(){var t=Object(m.a)(),n=Object(a.useCallback)((function(){Object(d.z)("".concat(t,"_adsense"),"review_tasks")}),[t]),i=g((function(e){return e(u.f).getServiceAccountURL()}));return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Your account isn’t ready to show ads yet","google-site-kit")),e.createElement(l.d,null),e.createElement("p",null,Object(r.__)("You need to fix some things before we can connect Site Kit to your AdSense account.","google-site-kit")),e.createElement(c.a,null),e.createElement("div",{className:"googlesitekit-setup-module__action"},e.createElement(s.a,{onClick:n,href:i},Object(r.__)("Review AdSense account","google-site-kit"))))}}).call(this,n(3))},532:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupCreateAccount}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(2),u=n(89),l=n(1),d=n(4),m=n.n(d),g=n(18),f=n(21),p=n(7),y=n(319),b=n(25),v=n(15),h=n(12),_=n(126),S=n(19),A=m.a.useSelect;function SetupCreateAccount(){var t=Object(S.a)(),n="".concat(t,"_adsense"),r=A((function(e){return e(h.a).getEmail()})),o=A((function(e){return e(b.f).getExistingTag()})),d=A((function(e){return e(b.f).getServiceCreateAccountURL()})),m=A((function(e){return e(v.c).getGoogleSupportURL({path:"/adsense/answer/2659101"})})),E=Object(s.useCallback)(function(){var t=c()(i.a.mark((function t(a){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a.preventDefault(),t.next=3,Object(p.z)(n,"create_account");case 3:e.open(d,"_blank");case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[d,n]);return a.createElement(s.Fragment,null,a.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(l.__)("Create your AdSense account","google-site-kit")),a.createElement(_.d,null),a.createElement("p",null,Object(l.__)("Once you create your account, Site Kit will place AdSense code on every page across your site. This means your site will be automatically optimized to help you earn money from your content.","google-site-kit")),a.createElement(_.f,null),a.createElement("div",{className:"googlesitekit-setup-module__action"},a.createElement(g.a,{onClick:E,href:d},Object(l.__)("Create AdSense account","google-site-kit"))),a.createElement("p",{className:"googlesitekit-setup-module__footer-text"},o&&Object(l.sprintf)(Object(l.__)("Site Kit detected AdSense code %1$s on your page. We recommend you remove that code or add %2$s as a user to the AdSense account %3$s.","google-site-kit"),o,r,Object(y.a)(o)),!o&&Object(u.a)(Object(l.sprintf)(Object(l.__)("Already use AdSense? Add %s as a user to an existing AdSense account. <a>Learn more</a>","google-site-kit"),r),{a:a.createElement(f.a,{href:m,inherit:!0,external:!0,"aria-label":Object(l.__)("Learn more about adding a user to an existing AdSense account","google-site-kit")})})))}}).call(this,n(20),n(3))},533:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSelectAccount}));var a=n(2),r=n(1),i=n(126);function SetupSelectAccount(){return e.createElement(a.Fragment,null,e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(r.__)("Select your AdSense account","google-site-kit")),e.createElement(i.d,null),e.createElement("p",null,Object(r.__)("Looks like you have multiple AdSense accounts associated with your Google account. Select the account to use with Site Kit below.","google-site-kit")),e.createElement("div",{className:"googlesitekit-setup-module__inputs"},e.createElement(i.a,null)))}}).call(this,n(3))},534:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsForm}));var a=n(1),r=n(2),i=n(4),o=n.n(i),c=n(25),s=n(319),u=n(126),l=n(55),d=n(519),m=n(21),g=n(15),f=o.a.useSelect;function SettingsForm(){var t,n,i=f((function(e){return e(g.c).isWebStoriesActive()})),o=f((function(e){return e(c.f).getClientID()})),p=f((function(e){return{existingTag:e(c.f).getExistingTag(),hasResolvedGetExistingTag:e(c.f).hasFinishedResolution("getExistingTag")}})),y=p.existingTag;if(!p.hasResolvedGetExistingTag)return e.createElement(l.a,null);y&&y===o?n=t=Object(a.__)("You’ve already got an AdSense code on your site for this account, we recommend you use Site Kit to place code to get the most out of AdSense.","google-site-kit"):y?(t=Object(a.sprintf)(Object(a.__)("Site Kit detected AdSense code for a different account %s on your site. For a better ads experience, you should remove AdSense code that’s not linked to this AdSense account.","google-site-kit"),Object(s.a)(y)),n=Object(a.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code.","google-site-kit")):n=Object(a.__)("Please note that AdSense will not show ads on your website unless you’ve already placed the code.","google-site-kit");return e.createElement("div",{className:"googlesitekit-adsense-settings-fields"},e.createElement(u.d,null),e.createElement(u.e,{checkedMessage:t,uncheckedMessage:n}),i&&e.createElement(r.Fragment,null,e.createElement(d.a,null),e.createElement("p",null,Object(a.__)("This ad unit will be used for your Web Stories.","google-site-kit")," ",e.createElement(m.a,{href:"https://support.google.com/adsense/answer/10175505#create-an-ad-unit-for-web-stories",external:!0,inherit:!0,"aria-label":Object(a.__)("Learn more about Ad Sense Web Stories.","google-site-kit")},Object(a.__)("Learn more","google-site-kit")))),e.createElement(u.c,null))}}).call(this,n(3))},535:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardZeroData}));var a=n(1),r=n(8),i=n(424);function DashboardZeroData(){return e.createElement(r.e,{fill:!0},e.createElement(r.o,null,e.createElement(r.a,{size:12},e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-setup-module__title"},Object(a.__)("No ad impressions yet","google-site-kit")),e.createElement("p",null,Object(a.__)("You don’t have any ad impressions yet. Make sure you’ve completed these steps in AdSense:","google-site-kit")),e.createElement(i.a,null))))}}).call(this,n(3))},536:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(297),o=n.n(i),c=n(4),s=n.n(c),u=n(205),l=n(346),d=n(25),m=n(12),g=n(11),f=n(197),p=n(143),y=n(433),b=n(446),v=n(773),h=s.a.useSelect,_=s.a.useInViewSelect;function ModuleTopEarningPagesWidget(t){var n,a,r,i=t.Widget,c=t.WidgetReportZero,s=t.WidgetReportError,p=h((function(e){return e(m.a).getDateRangeDates({offsetDays:d.e})})),S={startDate:p.startDate,endDate:p.endDate,dimensions:["ga:pagePath"],metrics:[{expression:"ga:adsenseRevenue",alias:"Earnings"},{expression:"ga:adsenseECPM",alias:"Page RPM"},{expression:"ga:adsensePageImpressions",alias:"Impressions"}],orderby:{fieldName:"ga:adsenseRevenue",sortOrder:"DESCENDING"},limit:10},A=h((function(e){return{isAdSenseLinked:e(g.f).getAdsenseLinked(),error:e(g.f).getErrorForSelector("getReport",[S])}})),E=A.isAdSenseLinked,O=A.error,T=_((function(e){return e(g.f).getReport(S)})),k=_((function(e){return e(g.f).getPageTitles(T,S)})),N=h((function(e){return!((void 0!==O||void 0!==k)&&e(g.f).hasFinishedResolution("getReport",[S]))}));return E?N?e.createElement(i,{noPadding:!0,Header:b.a},e.createElement(u.a,{padding:!0})):O&&!Object(y.a)(O)?e.createElement(i,{Header:b.a},e.createElement(s,{error:O,moduleSlug:"adsense"})):Object(f.a)(T)||Object(y.a)(O)?e.createElement(i,{Header:b.a},e.createElement(c,{moduleSlug:"adsense"})):(((null==T||null===(n=T[0])||void 0===n||null===(a=n.data)||void 0===a||null===(r=a.rows)||void 0===r?void 0:r.length)?o()(T[0].data.rows):[]).forEach((function(e){var t=e.dimensions[0];e.dimensions.unshift(k[t])})),e.createElement(i,{noPadding:!0,Header:b.a},e.createElement(v.a,{report:T}))):e.createElement(i,{Header:b.a},e.createElement(l.a,null))}ModuleTopEarningPagesWidget.propTypes={Widget:r.a.func.isRequired,WidgetReportZero:r.a.func.isRequired,WidgetReportError:r.a.func.isRequired},t.a=Object(p.a)({moduleName:"analytics"})(ModuleTopEarningPagesWidget)}).call(this,n(3))},54:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return y}));var a=n(6),r=n.n(a),i=n(31),o=n.n(i),c=n(10),s=n.n(c),u=n(79),l=n.n(u),d=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function g(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){r()(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}function f(e,t){if(t&&Array.isArray(t)){var n=t.map((function(e){return"object"===o()(e)?Object(d.y)(e):e}));return"".concat(e,"::").concat(l()(JSON.stringify(n)))}return e}var p={receiveError:function(e,t,n){return s()(e,"error is required."),t&&s()(n&&Array.isArray(n),"args is required (and must be an array) when baseName is specified."),{type:"RECEIVE_ERROR",payload:{error:e,baseName:t,args:n}}},clearError:function(e,t){return e&&s()(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 y(){var e={getErrorForSelector:function(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"selectorName is required."),e.getError(t,n,a)},getErrorForAction:function(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return s()(n,"actionName is required."),e.getError(t,n,a)},getError:function(e,t,n){var a=e.error,r=e.errors;return t||n?(s()(t,"baseName is required."),r[f(t,n)]):a},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:p,controls:{},reducer:function(e,t){var n=t.type,a=t.payload;switch(n){case"RECEIVE_ERROR":var i=a.baseName,o=a.args,c=a.error;return g(g({},e),{},i?{errors:g(g({},e.errors||{}),{},r()({},f(i,o),c))}:{error:c});case"CLEAR_ERROR":var s=a.baseName,u=a.args,l=g({},e);if(s){var d=f(s,u);l.errors=g({},e.errors||{}),delete l.errors[d]}else l.error=void 0;return l;case"CLEAR_ERRORS":var m=a.baseName,p=g({},e);if(m)for(var y in p.errors=g({},e.errors||{}),p.errors)(y===m||y.startsWith("".concat(m,"::")))&&delete p.errors[y];else p.errors={},p.error=void 0;return p;default:return e}},resolvers:{},selectors:e}}},55:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ProgressBar}));var a=n(0),r=n.n(a),i=n(9),o=n.n(i);function ProgressBar(t){var n=t.className,a=t.small,r=t.compress,i=t.indeterminate,c=t.height,s=t.progress,u=void 0!==c?Math.round(c/2):void 0,l=s?"scaleX(".concat(s,")"):void 0;return e.createElement("div",{role:"progressbar",style:{marginTop:u,marginBottom:u},className:o()("mdc-linear-progress",n,{"mdc-linear-progress--indeterminate":i,"mdc-linear-progress--small":a,"mdc-linear-progress--compress":r})},e.createElement("div",{className:"mdc-linear-progress__buffering-dots"}),e.createElement("div",{className:"mdc-linear-progress__buffer"}),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__primary-bar",style:{transform:l}},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})),e.createElement("div",{className:"mdc-linear-progress__bar mdc-linear-progress__secondary-bar"},e.createElement("span",{className:"mdc-linear-progress__bar-inner"})))}ProgressBar.propTypes={className:r.a.string,small:r.a.bool,compress:r.a.bool,indeterminate:r.a.bool,progress:r.a.number,height:r.a.number},ProgressBar.defaultProps={className:"",small:!1,compress:!1,indeterminate:!0,progress:0}}).call(this,n(3))},56:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(17),o=n.n(i),c=n(0),s=n.n(c),u=n(9),l=n.n(u);function VisuallyHidden(t){var n=t.className,a=t.children,i=o()(t,["className","children"]);return a?e.createElement("span",r()({},i,{className:l()("screen-reader-text",n)}),a):null}VisuallyHidden.propTypes={className:s.a.string,children:s.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(3))},565:function(e,t,n){"use strict";function a(e){var t,n=null==e||null===(t=e.headers)||void 0===t?void 0:t[0].currencyCode;return n?{style:"currency",currency:n}:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2}}n.d(t,"a",(function(){return a}))},58:function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return b})),n.d(t,"k",(function(){return f.a})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return _})),n.d(t,"l",(function(){return p}));var a="Invalid dateString parameter, it must be a string.",r='Invalid date range, it must be a string with the format "last-x-days".',i=3600,o=86400,c=604800,s=n(10),u=n.n(s),l=n(36),d=function(e){var t=new Date(e);u()(Object(l.a)(t),"Date param must construct to a valid date instance or be a valid date instance itself.");var n="".concat(t.getMonth()+1),a="".concat(t.getDate());return[t.getFullYear(),n.length<2?"0".concat(n):n,a.length<2?"0".concat(a):a].join("-")},m=n(13),g=n.n(m),f=n(41),p=function(e){u()(Object(f.a)(e),a);var t=e.split("-"),n=g()(t,3),r=n[0],i=n[1],o=n[2];return new Date(r,i-1,o)},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=p(e);return n.setDate(n.getDate()-t),d(n)},b=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 h=n(1);function _(){var e=function(e){return Object(h.sprintf)(Object(h._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}}}},586:function(e,t,n){"use strict";(function(e){var a=n(2),r=n(1),i=n(25),o=n(12),c=n(35),s=n(432),u=n(237),l=n(295),d=n(4),m=n.n(d).a.useSelect;t.a=function Header(){var t=Object(c.a)("unifiedDashboard"),n=m((function(e){return e(o.a).getDateRangeDates({offsetDays:i.e})})),d=m((function(e){return e(i.f).getServiceReportURL(Object(s.a)(n))})),g=m((function(e){return e(o.a).getDateRangeNumberOfDays()}));return e.createElement(a.Fragment,null,e.createElement(u.a,{title:Object(r.sprintf)(Object(r._n)("Performance over the last %s day","Performance over the last %s days",g,"google-site-kit"),g)}),!t&&e.createElement(l.a,{href:d,label:Object(r.sprintf)(Object(r.__)("See full stats in %s","google-site-kit"),Object(r._x)("AdSense","Service name","google-site-kit"))}))}}).call(this,n(3))},62:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var a=n(6),r=n.n(a),i=n(0),o=n.n(i),c=n(9),s=n.n(c),u=n(1),l={DEFAULT:"default",OVERLAY:"overlay",SMALL:"small",SMALL_OVERLAY:"small-overlay",LARGE:"large"};function GatheringDataNotice(t){var n=t.style;return e.createElement("div",{className:s()("googlesitekit-gathering-data-notice",r()({},"googlesitekit-gathering-data-notice--has-style-".concat(n),!!n))},e.createElement("span",null,Object(u.__)("Gathering data…","google-site-kit")))}GatheringDataNotice.propTypes={style:o.a.oneOf(Object.values(l))},t.b=GatheringDataNotice}).call(this,n(3))},63:function(e,t,n){"use strict";n.d(t,"n",(function(){return E})),n.d(t,"l",(function(){return O.a})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"j",(function(){return v})),n.d(t,"k",(function(){return h})),n.d(t,"i",(function(){return _})),n.d(t,"h",(function(){return S})),n.d(t,"g",(function(){return y})),n.d(t,"f",(function(){return A})),n.d(t,"c",(function(){return T})),n.d(t,"m",(function(){return j})),n.d(t,"b",(function(){return C})),n.d(t,"a",(function(){return D}));var a=n(24),r=n.n(a),i=n(26),o=n(9),c=n.n(o),s=n(1),u=n(73),l=n(202),d=n(7),m=n(146),g=n(13),f=n.n(g),p=n(11),y=function(e){return(parseInt(e,10)||0)>0};function b(e){return e===p.a||y(e)}function v(e){return"string"==typeof e&&/^UA-\d+-\d+$/.test(e)}function h(e){return e===p.h||v(e)}function _(e){return e===p.g||y(e)}function S(e){return"string"==typeof e&&e.trim().length>0}function A(e){return"string"==typeof e&&/^AW-[0-9]+$/.test(e)}function E(e){if(!v(e))return!1;var t=e.match(/^UA-(\d+)-(\d+)/),n=f()(t,3);return{accountID:n[1],propertyID:e,number:n[2]}}var O=n(197);function T(e,t){for(var n=1;n<e.length;n++){var a,r;if(null===(a=e[n])||void 0===a||null===(r=a[t])||void 0===r?void 0:r[0])return"HH:mm:ss"}return"mm:ss"}var k=n(50);function N(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 I(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 I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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 I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function j(e,t){var n,a=(Array.isArray(t)?t:[t]).map(k.d),r=N(e);try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.websiteUrl;if(o){var c,s=N(a);try{for(s.s();!(c=s.n()).done;){if(c.value===Object(k.d)(o))return i}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){r.e(e)}finally{r.f()}return null}function C(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.keyColumnIndex,i=void 0===r?0:r,o=a.maxSlices,c=a.withOthers,u=void 0!==c&&c,l=a.tooltipCallback,d=(null==e?void 0:e[0])||{},m=d.data,g=void 0===m?{}:m,f=g.rows,p=void 0===f?[]:f,y=g.totals,b=void 0===y?[]:y,v="function"==typeof l,h=["Source","Percent"];v&&h.push({type:"string",role:"tooltip",p:{html:!0}});var _=(null==b||null===(t=b[0])||void 0===t||null===(n=t.values)||void 0===n?void 0:n[i])||0,S=[h],A=u,E=p.length,O=1;o>0?(A=u&&p.length>o,E=Math.min(p.length,A?o-1:o)):(A=!1,E=p.length);for(var T=0;T<E;T++){var k=p[T],N=k.metrics[0].values[i],I=_>0?N/_:0;O-=I;var j=[k.dimensions[0],I];v&&j.push(l(k,j)),S.push(j)}if(A&&O>0){var C=[Object(s.__)("Others","google-site-kit"),O];v&&C.push(l(null,C)),S.push(C)}return S}function w(e,t,n){var a=[];return Object(i.each)(e,(function(e){if(e.metrics){var r=e.metrics[t].values,i=e.dimensions[0],o=Object(l.a)(i);a.push([o,r[n]])}})),a}function D(e,t,n){var a,o,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,f=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[Object(s.__)("Users","google-site-kit"),Object(s.__)("Sessions","google-site-kit"),Object(s.__)("Bounce Rate %","google-site-kit"),Object(s.__)("Session Duration","google-site-kit")],p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(d.u)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(d.u)(e,"s")}];if(!Array.isArray(null===(a=e[0])||void 0===a||null===(o=a.data)||void 0===o?void 0:o.rows))return!1;var y=r()(e[0].data.rows),b=y.length;if(2*n>b){for(var v=new Date,h=0;n>h;h++){var _=(v.getMonth()+1).toString(),S=v.getDate().toString(),A=v.getFullYear().toString()+(2>_.length?"0":"")+_+(2>S.length?"0":"")+S;if(h>b){var E={dimensions:[A],metrics:[{values:[0,0,0,0,0]}]};y.unshift(E)}v.setDate(v.getDate()-1)}y.push([0,0])}var O=f[t]===Object(s.__)("Session Duration","google-site-kit"),T=O?"timeofday":"number",k=[[{type:"date",label:Object(s.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:T,label:f[t]},{type:T,label:Object(s.__)("Previous period","google-site-kit")}]],N=Object(m.a)(y,{dateRangeLength:n}),I=N.compareRange,j=N.currentRange,C=w(j,l,t),D=w(I,g,t),R=Object(u.a)(),P={weekday:"short",month:"short",day:"numeric"};return Object(i.each)(C,(function(e,n){if(e[0]&&e[1]&&D[n]){var a=parseFloat(D[n][1]),r=Object(d.e)(e[1],a),i=Object(d.k)(r),o=Object(s.sprintf)(Object(s._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(R,P),D[n][0].toLocaleDateString(R,P)),u=Object(s.sprintf)(Object(s._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),f[t],p[t](e[1]),i,Object(d.u)(Math.abs(r),"%"));k.push([e[0],'<div class="'.concat(c()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":r>0,"googlesitekit-visualization-tooltip--down":r<0}),'">\n\t\t\t\t<p>').concat(o,"</p>\n\t\t\t\t<p>").concat(u,"</p>\n\t\t\t</div>"),O?Object(d.g)(e[1]):e[1],O?Object(d.g)(D[n][1]):D[n][1]])}})),k}},64:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i);function ChangeArrow(t){var n=t.direction,a=t.invertColor,r=t.width,i=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":a}),width:r,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:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(3))},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var a=n(31),r=n.n(a),i=n(70),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"===r()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},66:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2),r=function(e){return function(t){return function FilteredComponent(n){return Object(a.createElement)(a.Fragment,{},"",Object(a.createElement)(t,n),e)}}}},674:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AccountSelect}));var a=n(2),r=n(1),i=n(4),o=n.n(i),c=n(8),s=n(7),u=n(55),l=n(25),d=n(19),m=o.a.useSelect,g=o.a.useDispatch;function AccountSelect(){var t=Object(d.a)(),n="".concat(t,"_adsense"),i=m((function(e){return e(l.f).getAccountID()})),o=m((function(e){return{accounts:e(l.f).getAccounts(),hasResolvedAccounts:e(l.f).hasFinishedResolution("getAccounts")}})),f=o.accounts,p=o.hasResolvedAccounts,y=g(l.f).setAccountID,b=Object(a.useCallback)((function(e,t){var a=t.dataset.value;i!==a&&(y(a),Object(s.z)(n,"change_account"))}),[i,n,y]);return p?e.createElement(c.p,{className:"googlesitekit-adsense__select-account",label:Object(r.__)("Account","google-site-kit"),value:i,onEnhancedChange:b,enhanced:!0,outlined:!0},(f||[]).map((function(t,n){var a=t._id,r=t.displayName;return e.createElement(c.n,{key:n,value:a},r)}))):e.createElement(u.a,{small:!0})}}).call(this,n(3))},675:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotices}));var a=n(2),r=n(25),i=n(132),o=n(116),c=n(35);function ErrorNotices(){var t=Object(a.useCallback)((function(e){return void 0===Object(i.w)(e)}),[]),n=Object(c.a)("adsenseSetupV2");return e.createElement(o.a,{moduleSlug:"adsense",storeName:r.f,shouldDisplayError:n?void 0:t})}}).call(this,n(3))},676:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserProfile}));var a=n(4),r=n.n(a),i=n(55),o=n(12),c=r.a.useSelect;function UserProfile(){var t=c((function(e){return e(o.a).getEmail()})),n=c((function(e){return e(o.a).getPicture()}));return c((function(e){return e(o.a).hasFinishedResolution("getUser")}))?e.createElement("p",{className:"googlesitekit-setup-module__user"},e.createElement("img",{className:"googlesitekit-setup-module__user-image",src:n,alt:""}),e.createElement("span",{className:"googlesitekit-setup-module__user-email"},t)):e.createElement(i.a,{small:!0})}}).call(this,n(3))},677:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UseSnippetSwitch}));var a=n(5),r=n.n(a),i=n(14),o=n.n(i),c=n(0),s=n.n(c),u=n(414),l=n(2),d=n(1),m=n(4),g=n.n(m),f=n(138),p=n(207),y=n(7),b=n(25),v=n(19),h=g.a.useSelect,_=g.a.useDispatch;function UseSnippetSwitch(t){var n=t.label,a=void 0===n?Object(d.__)("Let Site Kit place AdSense code on your site","google-site-kit"):n,i=t.checkedMessage,c=t.uncheckedMessage,s=t.saveOnChange,m=Object(v.a)(),g="".concat(m,"_adsense"),S=h((function(e){return e(b.f).getUseSnippet()})),A=h((function(e){return e(b.f).isDoingSubmitChanges()})),E=_(b.f),O=E.setUseSnippet,T=E.saveSettings,k=Object(l.useCallback)(o()(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(O(!S),!s){e.next=4;break}return e.next=4,T();case 4:case"end":return e.stop()}}),e)}))),[S,s,O,T]);return Object(u.a)((function(){Object(y.z)(g,S?"enable_tag":"disable_tag")}),[g,S]),void 0===S?null:e.createElement(l.Fragment,null,e.createElement("div",{className:"googlesitekit-setup-module__switch"},e.createElement(f.a,{label:a,onClick:k,checked:S,disabled:A,hideLabel:!1})," ",e.createElement("span",{className:"googlesitekit-recommended"},Object(d.__)("Recommended","google-site-kit"))),S&&i&&e.createElement(p.b,{notice:i}),!S&&c&&e.createElement(p.b,{notice:c}))}UseSnippetSwitch.propTypes={label:s.a.string,checkedMessage:s.a.string,uncheckedMessage:s.a.string,saveOnChange:s.a.bool},UseSnippetSwitch.defaultProps={saveOnChange:!1}}).call(this,n(3))},678:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return SetupMain}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(13),u=n.n(s),l=n(0),d=n.n(l),m=n(2),g=n(1),f=n(4),p=n.n(f),y=n(392),b=n(55),v=n(99),h=n(25),_=n(15),S=n(37),A=n(132),E=n(7),O=n(521),T=n(525),k=n(522),N=n(524),I=n(523),j=n(517),C=n(526),w=n(461),D=n(126),R=n(19),P=p.a.useSelect,M=p.a.useDispatch;function SetupMain(t){var n=t.finishSetup,r=Object(R.a)(),o="".concat(r,"_adsense"),s=P((function(e){return e(_.c).getReferenceSiteURL()})),l=P((function(e){return e(S.a).isNavigating()})),d=P((function(e){return e(h.f).getAccountID()})),f=P((function(e){return e(h.f).getClientID()})),p=P((function(e){return e(h.f).getAccountStatus()})),Z=P((function(e){return e(h.f).getSiteStatus()})),L=P((function(e){return e(h.f).getAccountSetupComplete()})),G=P((function(e){return e(h.f).getSiteSetupComplete()})),x=P((function(e){return e(h.f).isDoingSubmitChanges()})),U=P((function(e){return e(h.f).canSubmitChanges()})),B=P((function(e){return e(h.f).getAccounts()})),F=Object(A.s)({accounts:B,previousAccountID:d}),W=P((function(e){return e(h.f).getClients(F)})),H=Object(A.u)({clients:W,previousClientID:f}),z=P((function(e){return e(h.f).getAlerts(F)})),q=P((function(e){return e(h.f).getURLChannels(F,H)})),K=P((function(e){return e(h.f).getErrorForSelector("getURLChannels",[F,H])})),V=P((function(e){return e(h.f).getError("getAccounts",[])})),Y=P((function(e){return e(h.f).getError("getAlerts",[F])})),$=P((function(e){return e(h.f).hasErrors()})),J=Object(A.t)({accounts:B,clients:W,alerts:z,urlChannels:q,accountsError:V,alertsError:Y,urlChannelsError:K,previousAccountID:d,previousClientID:f}),Q=Object(A.v)({urlChannels:q,siteURL:s}),X=M(h.f),ee=X.clearError,te=X.setAccountID,ne=X.setClientID,ae=X.setAccountStatus,re=X.setSiteStatus,ie=X.setAccountSetupComplete,oe=X.setSiteSetupComplete,ce=X.setUseSnippet,se=X.submitChanges,ue=X.resetAccounts,le=X.resetAlerts,de=X.resetClients,me=X.resetURLChannels,ge=Object(m.useState)(!1),fe=u()(ge,2),pe=fe[0],ye=fe[1];Object(m.useEffect)((function(){void 0!==d&&void 0!==F&&d!==F&&(te(F),ye(!0))}),[d,F,te]),Object(m.useEffect)((function(){void 0!==f&&void 0!==H&&f!==H&&(ne(H),ye(!0))}),[f,H,ne]),Object(m.useEffect)((function(){void 0!==p&&void 0!==J&&p!==J&&(J!==A.a&&(ie(!1),oe(!1),ce(!0)),ae(J),ye(!0))}),[p,J,ie,oe,ce,ae]),Object(m.useEffect)((function(){void 0!==Z&&void 0!==Q&&Z!==Q&&(Q!==A.l&&oe(!1),re(Q),ye(!0))}),[Z,Q,oe,re]);var be=Object(m.useState)(!1),ve=u()(be,2),he=ve[0],_e=ve[1];Object(m.useEffect)((function(){pe&&!he&&U&&(ye(!1),c()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return _e(!0),e.next=3,se();case 3:_e(!1);case 4:case"end":return e.stop()}}),e)})))())}),[pe,he,U,se]);var Se=P((function(e){return e(h.f).isAdBlockerActive()}));Object(m.useEffect)((function(){var t,n=0,a=function(){t=e.setInterval((function(){n++}),1e3)},r=function(){e.clearTimeout(t),n<15?n=0:(n=0,void 0!==J&&A.a!==J&&(ee(),ue(),le(),de(),me()))};return e.addEventListener("focus",r),e.addEventListener("blur",a),function(){e.removeEventListener("focus",r),e.removeEventListener("blur",a),e.clearTimeout(t)}}),[J,ee,ue,le,de,me]);var Ae,Ee=P((function(e){return e(h.f).getExistingTag()}));if(Object(m.useEffect)((function(){void 0!==J&&Object(E.z)(o,"receive_account_status",J)}),[o,J]),Object(m.useEffect)((function(){void 0!==Q&&Object(E.z)(o,"receive_site_status",Q)}),[o,Q]),void 0===J&&!$||void 0===Ee||x&&!he||l)Ae=a.createElement(b.a,null);else if(J===A.a&&L)if(void 0===Q)Ae=a.createElement(b.a,null);else if(Q===A.l&&G)Ae=a.createElement(w.a,{finishSetup:n});else switch(Q){case A.o:Ae=a.createElement(C.a,null);break;case A.l:Ae=a.createElement(w.a,{finishSetup:n});break;default:Ae=$?a.createElement(D.d,null):a.createElement(v.a,{message:Object(g.sprintf)(Object(g.__)("Invalid site status: %s","google-site-kit"),Q)})}else switch(J){case A.h:Ae=a.createElement(O.a,null);break;case A.f:Ae=a.createElement(T.a,null);break;case A.d:Ae=a.createElement(k.a,null);break;case A.e:case A.j:Ae=a.createElement(N.a,null);break;case A.i:Ae=a.createElement(I.a,null);break;case A.a:Ae=a.createElement(j.a,null);break;default:Ae=$?a.createElement(D.d,null):a.createElement(v.a,{message:Object(g.sprintf)(Object(g.__)("Invalid account status: %s","google-site-kit"),J)})}return a.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},a.createElement("div",{className:"googlesitekit-setup-module__step"},a.createElement("div",{className:"googlesitekit-setup-module__logo"},a.createElement(y.a,{width:"33",height:"33"})),a.createElement("h2",{className:"googlesitekit-heading-3 googlesitekit-setup-module__title"},Object(g._x)("AdSense","Service name","google-site-kit"))),a.createElement("div",{className:"googlesitekit-setup-module__step"},a.createElement(D.b,null),!Se&&Ae))}SetupMain.propTypes={finishSetup:d.a.func},SetupMain.defaultProps={finishSetup:function(){}}}).call(this,n(20),n(3))},679:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsEdit}));var a=n(4),r=n.n(a),i=n(25),o=n(534),c=n(55),s=r.a.useSelect;function SettingsEdit(){var t;return t=s((function(e){return e(i.f).isDoingSubmitChanges()}))?e.createElement(c.a,null):e.createElement(o.a,null),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},t)}}).call(this,n(3))},68:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(2),r=Object(a.createContext)(""),i=(r.Consumer,r.Provider);t.b=r},680:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsSetupIncomplete}));var a=n(2),r=n(89),i=n(1),o=n(4),c=n.n(o),s=n(21),u=n(25),l=n(132),d=n(126),m=c.a.useSelect;function SettingsSetupIncomplete(){var t,n,o=m((function(e){return e(u.f).getAccountStatus()})),c=Object(l.x)(o),g=m((function(e){return e(u.f).getAdminReauthURL()}));return c?(t=Object(i.__)("Site Kit has placed AdSense code on your site: %s","google-site-kit"),n=Object(i.__)("check module page","google-site-kit")):(t=Object(i.__)("Setup incomplete: %s","google-site-kit"),n=Object(i.__)("continue module setup","google-site-kit")),e.createElement(a.Fragment,null,e.createElement(d.b,null),Object(r.a)(Object(i.sprintf)(t,"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{className:"googlesitekit-settings-module__edit-button",href:g,inherit:!0})}))}}).call(this,n(3))},681:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsView}));var a=n(1),r=n(4),i=n.n(r),o=n(203),c=n(21),s=n(15),u=n(342),l=n(25),d=n(132),m=n(126),g=i.a.useSelect;function SettingsView(){var t,n,r=g((function(e){return e(l.f).getAccountID()})),i=g((function(e){return e(l.f).getClientID()})),f=g((function(e){return e(l.f).getAccountStatus()})),p=g((function(e){return e(l.f).getUseSnippet()})),y=g((function(e){return e(l.f).getExistingTag()})),b=g((function(e){return e(l.f).getServiceAccountManageSitesURL()})),v=g((function(e){return e(s.c).isWebStoriesActive()})),h=g((function(e){return e(l.f).getWebStoriesAdUnit()})),_=g((function(e){return e(l.f).getAutoAdsDisabled()||[]}));switch(f){case d.a:t=Object(a.__)("Your account has been approved","google-site-kit");break;case d.j:case d.e:t=Object(a.__)("We’re getting your site ready for ads. This usually takes less than a day, but it can sometimes take a bit longer","google-site-kit");break;case d.i:case d.d:t=Object(a.__)("You need to fix some issues before your account is approved. Go to AdSense to find out how to fix it","google-site-kit");break;default:t=Object(a.__)("Your site isn’t ready to show ads yet","google-site-kit")}n=p?Object(a.__)("The AdSense code has been placed on your site","google-site-kit"):y&&y===i?Object(a.__)("The AdSense code has been placed by another plugin or theme","google-site-kit"):Object(a.__)("The AdSense code has not been placed on your site","google-site-kit");var S=Object(a.__)("Ads are currently displayed for all visitors","google-site-kit");return _.includes(u.b)&&_.includes(u.a)?S=Object(a.__)("All logged-in users and users who can write posts","google-site-kit"):_.includes(u.b)?S=u.d[u.b]:_.includes(u.a)&&(S=u.d[u.a]),e.createElement("div",{className:"googlesitekit-setup-module googlesitekit-setup-module--adsense"},e.createElement(m.d,null),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Publisher ID","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(o.a,{value:r}))),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Account Status","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},t)),e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Site Status","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},e.createElement(c.a,{href:b,className:"googlesitekit-settings-module__cta-button",inherit:!0,external:!0},Object(a.__)("Check your site status","google-site-kit"))))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("AdSense Code","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},n))),e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Excluded from ads","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},S))),v&&e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item"},e.createElement("h5",{className:"googlesitekit-settings-module__meta-item-type"},Object(a.__)("Web Stories Ad Unit","google-site-kit")),e.createElement("p",{className:"googlesitekit-settings-module__meta-item-data"},!h&&e.createElement("span",null,Object(a.__)("None","google-site-kit")),h&&e.createElement(o.a,{value:h}))))))}}).call(this,n(3))},682:function(e,t,n){"use strict";(function(e){var a=n(6),r=n.n(a),i=n(1),o=n(4),c=n.n(o),s=n(25),u=n(12),l=n(219),d=n(355),m=n(143),g=n(8),f=n(82),p=n(75),y=n(260),b=n(432),v=n(376);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=c.a.useSelect,A=c.a.useInViewSelect;t.a=Object(m.a)({moduleName:"adsense"})((function DashboardSummaryWidget(t){var n,a,r,o,c,m,h,E,O,T=t.Widget,k=t.WidgetReportZero,N=t.WidgetReportError,I=S((function(e){return e(u.a).getDateRangeDates({offsetDays:s.e,compare:!0})})),j=I.startDate,C=I.endDate,w={startDate:I.compareStartDate,endDate:I.compareEndDate,metrics:["ESTIMATED_EARNINGS","PAGE_VIEWS_RPM","IMPRESSIONS"]},D={startDate:j,endDate:C,metrics:["ESTIMATED_EARNINGS","PAGE_VIEWS_RPM","IMPRESSIONS"]},R=_(_({},D),{},{dimensions:["DATE"]}),P=Object(b.a)({startDate:j,endDate:C}),M=S((function(e){return{loading:!e(s.f).hasFinishedResolution("getReport",[D])||!e(s.f).hasFinishedResolution("getReport",[w])||!e(s.f).hasFinishedResolution("getReport",[R]),error:e(s.f).getErrorForSelector("getReport",[D])||e(s.f).getErrorForSelector("getReport",[w])||e(s.f).getErrorForSelector("getReport",[R]),rpmReportURL:e(s.f).getServiceReportURL(_(_({},P),{},{gm:"pageViewsRpm"})),earningsURL:e(s.f).getServiceReportURL(_(_({},P),{},{gm:"earnings"})),impressionsURL:e(s.f).getServiceReportURL(_(_({},P),{},{gm:"monetizableImpressions"})),isAdblockerActive:e(s.f).isAdBlockerActive()}})),Z=M.error,L=M.loading,G=M.rpmReportURL,x=M.earningsURL,U=M.impressionsURL,B=M.isAdblockerActive,F=A((function(e){return e(s.f).getReport(D)})),W=A((function(e){return e(s.f).getReport(w)})),H=A((function(e){return e(s.f).getReport(R)}));if(B)return e.createElement(T,null,e.createElement(v.a,null));if(L)return e.createElement(T,null,e.createElement(f.a,{width:"100%",height:"276px"}));if(Z)return e.createElement(T,null,e.createElement(N,{moduleSlug:"adsense",error:Z}));if(Object(l.d)(W)&&Object(l.d)(F)&&Object(l.d)(H))return e.createElement(T,null,e.createElement(k,{moduleSlug:"adsense"}));var z=Object(l.e)((null==H?void 0:H.rows)||[]),q=F.headers.find((function(e){return null!==e.currencyCode&&0<e.currencyCode.length})),K=!!q&&q.currencyCode;return e.createElement(T,{className:"googlesitekit-dashboard-adsense-stats",noPadding:!0},e.createElement(g.e,null,e.createElement(g.o,null,e.createElement(g.a,{size:12},e.createElement(p.a,{className:"overview-adsense-rpm",title:Object(i.__)("Page RPM","google-site-kit"),datapoint:(null===(n=F.totals)||void 0===n?void 0:n.cells[1].value)||0,datapointUnit:K,change:(null===(a=F.totals)||void 0===a?void 0:a.cells[1].value)||0-(null===(r=W.totals)||void 0===r?void 0:r.cells[1].value)||0,changeDataUnit:K,source:{name:Object(i._x)("AdSense","Service name","google-site-kit"),link:G,external:!0},sparkline:H&&e.createElement(y.a,{data:Object(d.a)(z.dataMap,2),change:1}),context:"compact"})),e.createElement(g.a,{size:12},e.createElement(p.a,{className:"overview-adsense-earnings",title:Object(i.__)("Total Earnings","google-site-kit"),datapoint:(null===(o=F.totals)||void 0===o?void 0:o.cells[0].value)||0,datapointUnit:K,source:{name:Object(i._x)("AdSense","Service name","google-site-kit"),link:x,external:!0},change:(null===(c=F.totals)||void 0===c?void 0:c.cells[0].value)||0-(null===(m=W.totals)||void 0===m?void 0:m.cells[0].value)||0,changeDataUnit:K,sparkline:H&&e.createElement(y.a,{data:Object(d.a)(z.dataMap,1),change:1}),context:"compact"})),e.createElement(g.a,{size:12},e.createElement(p.a,{className:"overview-adsense-impressions",title:Object(i.__)("Ad Impressions","google-site-kit"),datapoint:(null===(h=F.totals)||void 0===h?void 0:h.cells[2].value)||0,change:(null===(E=F.totals)||void 0===E?void 0:E.cells[2].value)||0-(null===(O=W.totals)||void 0===O?void 0:O.cells[2].value)||0,changeDataUnit:!0,source:{name:Object(i._x)("AdSense","Service name","google-site-kit"),link:U,external:!0},sparkline:H&&e.createElement(y.a,{data:Object(d.a)(z.dataMap,3),change:1}),context:"compact"})))))}))}).call(this,n(3))},688:function(e,t,n){"use strict";(function(e){var a=n(13),r=n.n(a),i=n(1),o=n(635),c=n(4),s=n.n(c),u=n(11),l=n(12),d=n(25),m=n(143),g=n(205),f=n(100),p=n(63),y=n(291),b=n(248),v=n(21),h=n(376),_=n(155),S=n(105),A=n(7),E=n(565),O=n(35),T=s.a.useSelect,k=s.a.useInViewSelect;t.a=Object(o.a)(Object(m.a)({moduleName:"adsense"}),Object(m.a)({moduleName:"analytics"}))((function DashboardTopEarningPagesWidget(t){var n,a,o=t.Widget,c=t.WidgetReportZero,s=t.WidgetReportError,m=Object(O.a)("zeroDataStates"),N=k((function(e){return e(u.f).isGatheringData()})),I=T((function(e){return e(l.a).getDateRangeDates({offsetDays:u.b})})),j=I.startDate,C=I.endDate,w={startDate:j,endDate:C,dimensions:["ga:pageTitle","ga:pagePath"],metrics:[{expression:"ga:adsenseRevenue",alias:"Earnings"},{expression:"ga:adsenseECPM",alias:"Page RPM"},{expression:"ga:adsensePageImpressions",alias:"Impressions"}],orderby:{fieldName:"ga:adsenseRevenue",sortOrder:"DESCENDING"},limit:5},D=k((function(e){return e(u.f).getReport(w)})),R=k((function(e){return e(d.f).getReport({startDate:j,endDate:C,metrics:"ESTIMATED_EARNINGS"})})),P=T((function(e){return{analyticsMainURL:e(u.f).getServiceReportURL("content-publisher-overview",Object(_.a)({startDate:j,endDate:C})),error:e(u.f).getErrorForSelector("getReport",[w]),loading:!e(u.f).hasFinishedResolution("getReport",[w]),isAdSenseLinked:e(u.f).getAdsenseLinked(),isAdblockerActive:e(d.f).isAdBlockerActive()}})),M=P.analyticsMainURL,Z=P.error,L=P.loading,G=P.isAdSenseLinked,x=P.isAdblockerActive,U=Object(E.a)(R),B=function Footer(){return e.createElement(f.a,{className:"googlesitekit-data-block__source",name:Object(i._x)("Analytics","Service name","google-site-kit"),href:M,external:!0})};if(x)return e.createElement(o,{Footer:B},e.createElement(h.a,null));if(L||void 0===N)return e.createElement(o,{noPadding:!0,Footer:B},e.createElement(g.a,{rows:5,padding:!0}));if(!G)return e.createElement(o,{Footer:B},e.createElement(S.d,null));if(Z)return e.createElement(o,{Footer:B},e.createElement(s,{moduleSlug:"analytics",error:Z}));if(!m&&N&&Object(p.l)(D))return e.createElement(o,{Footer:B},e.createElement(c,{moduleSlug:"analytics"}));var F=[{title:Object(i.__)("Top Earning Pages","google-site-kit"),tooltip:Object(i.__)("Top Earning Pages","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=r()(n.dimensions,2),i=a[0],o=a[1];return e.createElement(v.a,{href:o,children:i,external:!0,inherit:!0})}},{title:Object(i.__)("Earnings","google-site-kit"),tooltip:Object(i.__)("Earnings","google-site-kit"),field:"metrics.0.values.0",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(A.u)(n,U))}}];return e.createElement(o,{noPadding:!0,Footer:B},e.createElement(y.a,null,e.createElement(b.a,{rows:(null==D||null===(n=D[0])||void 0===n||null===(a=n.data)||void 0===a?void 0:a.rows)||[],columns:F,zeroState:S.p,gatheringData:N})))}))}).call(this,n(3))},689:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(4),o=n.n(i),c=n(25),s=n(376),u=n(143),l=o.a.useSelect;function AdBlockerWarningWidget(t){var n=t.Widget,a=t.WidgetNull;return l((function(e){return e(c.f).isAdBlockerActive()}))?e.createElement(n,{noPadding:!0},e.createElement(s.a,null)):e.createElement(a,null)}AdBlockerWarningWidget.propTypes={Widget:r.a.elementType.isRequired},t.a=Object(u.a)({moduleName:"adsense"})(AdBlockerWarningWidget)}).call(this,n(3))},690:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(4),o=n.n(i),c=n(520),s=n(325),u=n(12),l=n(22),d=o.a.useSelect;function AdSenseConnectCTAWidget(t){var n=t.Widget,a=t.WidgetNull,r=d((function(e){return e(l.a).isModuleConnected("adsense")})),i=d((function(e){return e(u.a).isItemDismissed(s.a)}));return r||i?e.createElement(a,null):e.createElement(n,{noPadding:!0},e.createElement(c.a,null))}AdSenseConnectCTAWidget.propTypes={Widget:r.a.elementType.isRequired},t.a=AdSenseConnectCTAWidget}).call(this,n(3))},691:function(e,t,n){"use strict";(function(e){var a=n(16),r=n.n(a),i=n(6),o=n.n(i),c=n(13),s=n.n(c),u=n(0),l=n.n(u),d=n(2),m=n(1),g=n(25),f=n(12),p=n(35),y=n(219),b=n(535),v=n(103),h=n(82),_=n(143),S=n(586),A=n(774),E=n(775),O=n(776),T=n(4),k=n.n(T);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=k.a.useSelect,C=k.a.useInViewSelect,w=function ModuleOverviewWidget(t){var n=t.Widget,a=t.WidgetReportZero,i=t.WidgetReportError,o=Object(p.a)("unifiedDashboard"),c=Object(d.useState)(0),u=s()(c,2),l=u[0],m=u[1],_=j((function(e){return e(f.a).getDateRangeDates({compare:!0})})),T=_.startDate,k=_.endDate,N=_.compareStartDate,w=_.compareEndDate,D={metrics:Object.keys(ModuleOverviewWidget.metrics),startDate:T,endDate:k},R={metrics:Object.keys(ModuleOverviewWidget.metrics),startDate:N,endDate:w},P=I(I({},D),{},{dimensions:["DATE"]}),M=I(I({},R),{},{dimensions:["DATE"]}),Z=C((function(e){return e(g.f).getReport(D)})),L=C((function(e){return e(g.f).getReport(R)})),G=C((function(e){return e(g.f).getReport(P)})),x=C((function(e){return e(g.f).getReport(M)})),U=j((function(e){return!(e(g.f).hasFinishedResolution("getReport",[D])&&e(g.f).hasFinishedResolution("getReport",[R])&&e(g.f).hasFinishedResolution("getReport",[P])&&e(g.f).hasFinishedResolution("getReport",[M]))})),B=j((function(e){return e(g.f).getErrorForSelector("getReport",[D])||e(g.f).getErrorForSelector("getReport",[R])||e(g.f).getErrorForSelector("getReport",[P])||e(g.f).getErrorForSelector("getReport",[M])})),F=o?{Footer:A.a}:{};return U?e.createElement(n,r()({Header:S.a},F,{noPadding:!0}),e.createElement(h.a,{width:"100%",height:"190px",padding:!0}),e.createElement(h.a,{width:"100%",height:"270px",padding:!0})):B?e.createElement(n,r()({Header:S.a},F),e.createElement(i,{moduleSlug:"adsense",error:B})):Object(y.d)(Z)||Object(y.d)(G)?e.createElement(n,{noPadding:!0},e.createElement(b.a,null),e.createElement("div",{className:v.a},e.createElement(a,{moduleSlug:"adsense"}))):e.createElement(n,r()({noPadding:!0,Header:S.a},F),e.createElement(E.a,{metrics:ModuleOverviewWidget.metrics,currentRangeData:Z,previousRangeData:L,selectedStats:l,handleStatsSelection:m}),e.createElement(O.a,{metrics:ModuleOverviewWidget.metrics,currentRangeData:G,previousRangeData:x,selectedStats:l}))};w.propTypes={Widget:l.a.elementType.isRequired,WidgetReportZero:l.a.elementType.isRequired,WidgetReportError:l.a.elementType.isRequired},w.metrics={ESTIMATED_EARNINGS:Object(m.__)("Earnings","google-site-kit"),PAGE_VIEWS_RPM:Object(m.__)("Page RPM","google-site-kit"),IMPRESSIONS:Object(m.__)("Impressions","google-site-kit"),PAGE_VIEWS_CTR:Object(m.__)("Page CTR","google-site-kit")},t.a=Object(_.a)({moduleName:"adsense"})(w)}).call(this,n(3))},7:function(e,t,n){"use strict";n.d(t,"z",(function(){return c.b})),n.d(t,"w",(function(){return s.a})),n.d(t,"A",(function(){return s.b})),n.d(t,"y",(function(){return g})),n.d(t,"f",(function(){return f.b})),n.d(t,"n",(function(){return f.c})),n.d(t,"u",(function(){return p.c})),n.d(t,"v",(function(){return p.d})),n.d(t,"r",(function(){return p.b})),n.d(t,"m",(function(){return p.a})),n.d(t,"h",(function(){return y.a})),n.d(t,"s",(function(){return _})),n.d(t,"g",(function(){return S})),n.d(t,"b",(function(){return A.b})),n.d(t,"a",(function(){return A.a})),n.d(t,"c",(function(){return A.e})),n.d(t,"j",(function(){return A.f})),n.d(t,"x",(function(){return A.l})),n.d(t,"k",(function(){return E.b})),n.d(t,"q",(function(){return E.c})),n.d(t,"e",(function(){return E.a})),n.d(t,"p",(function(){return O.b})),n.d(t,"l",(function(){return O.a})),n.d(t,"t",(function(){return O.d})),n.d(t,"o",(function(){return T})),n.d(t,"d",(function(){return k})),n.d(t,"B",(function(){return N})),n.d(t,"i",(function(){return I}));var a=n(121),r=n.n(a),i=n(117),o=n.n(i),c=n(30),s=n(65),u=n(31),l=n.n(u),d=n(79),m=n.n(d),g=function(e){return m()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(a){var r=t[a];r&&"object"===l()(r)&&!Array.isArray(r)&&(r=e(r)),n[a]=r})),n}(e)))};var f=n(81),p=(n(84),n(73)),y=n(66);function b(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 h(e){return e.replace(/\n/gi,"<br>")}function _(e){for(var t=e,n=0,a=[b,v,h];n<a.length;n++){t=(0,a[n])(t)}return t}var S=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)]},A=n(58),E=n(85),O=n(50),T=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}},k=function(e,t){if("0"===e||0===e||isNaN(e))return null;var n=(t-e)/e;return isNaN(n)||!r()(n)?null:n},N=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)}},70:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));var a=n(122),r=n.n(a)()(e)}).call(this,n(20))},73:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return E})),n.d(t,"b",(function(){return O})),n.d(t,"a",(function(){return T}));var a=n(13),r=n.n(a),i=n(31),o=n.n(i),c=n(6),s=n.n(c),u=n(17),l=n.n(u),d=n(26),m=n(69),g=n.n(m),f=n(1);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function y(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){s()(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=v(e,t),a=n.formatUnit,r=n.formatDecimal;try{return a()}catch(e){return r()}},v=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),a=Math.floor(e/60%60),r=Math.floor(e%60);return{hours:n,minutes:a,seconds:r,formatUnit:function(){var i=t.unitDisplay,o=y(y({unitDisplay:void 0===i?"short":i},l()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?E(r,y(y({},o),{},{unit:"second"})):Object(f.sprintf)(Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),r?E(r,y(y({},o),{},{unit:"second"})):"",a?E(a,y(y({},o),{},{unit:"minute"})):"",n?E(n,y(y({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(f.sprintf)(Object(f.__)("%ds","google-site-kit"),r);if(0===e)return t;var i=Object(f.sprintf)(Object(f.__)("%dm","google-site-kit"),a),o=Object(f.sprintf)(Object(f.__)("%dh","google-site-kit"),n);return Object(f.sprintf)(Object(f._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),r?t:"",a?i:"",n?o:"").trim()}}},h=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},_=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(f.sprintf)(Object(f.__)("%sM","google-site-kit"),E(h(e),e%10==0?{}:t)):1e4<=e?Object(f.sprintf)(Object(f.__)("%sK","google-site-kit"),E(h(e))):1e3<=e?Object(f.sprintf)(Object(f.__)("%sK","google-site-kit"),E(h(e),e%10==0?{}:t)):E(e,{signDisplay:"never",maximumFractionDigits:1})},S=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=y({},t))}var a=n,r=a.style,i=void 0===r?"metric":r;return"metric"===i?_(e):"duration"===i?b(e,t):E(e,n)},A=g()(console.warn),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?T():n,i=l()(t,["locale"]);try{return new Intl.NumberFormat(a,i).format(e)}catch(t){A("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(a),", ").concat(JSON.stringify(i)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},s=["signDisplay","compactDisplay"],u={},d=0,m=Object.entries(i);d<m.length;d++){var g=r()(m[d],2),f=g[0],p=g[1];c[f]&&p===c[f]||(s.includes(f)||(u[f]=p))}try{return new Intl.NumberFormat(a,u).format(e)}catch(t){return new Intl.NumberFormat(a).format(e)}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,a=void 0===n?T():n,r=t.style,i=void 0===r?"long":r,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var s=new Intl.ListFormat(a,{style:i,type:c});return s.format(e)}var u=Object(f.__)(", ","google-site-kit");return e.join(u)},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var a=n.match(/^(\w{2})?(_)?(\w{2})/);if(a&&a[0])return a[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(20))},74:function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return D})),n.d(t,"g",(function(){return P})),n.d(t,"f",(function(){return M}));var a,r=n(5),i=n.n(r),o=n(24),c=n.n(o),s=n(6),u=n.n(s),l=n(10),d=n.n(l),m=n(214),g=n.n(m),f=n(69),p=n.n(f),y=n(108);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){u()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t.reduce((function(e,t){return v(v({},e),t)}),{}),r=t.reduce((function(e,t){return[].concat(c()(e),c()(Object.keys(t)))}),[]),i=C(r);return d()(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.")),a},_=h,S=h,A=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a,r=[].concat(t);return"function"!=typeof r[0]&&(a=r.shift()),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.reduce((function(e,n){return n(e,t)}),e)}},E=h,O=h,T=h,k=function(e){return e},N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=T.apply(void 0,c()(t.map((function(e){return e.initialState||{}}))));return{initialState:a,controls:S.apply(void 0,c()(t.map((function(e){return e.controls||{}})))),actions:_.apply(void 0,c()(t.map((function(e){return e.actions||{}})))),reducer:A.apply(void 0,[a].concat(c()(t.map((function(e){return e.reducer||k}))))),resolvers:E.apply(void 0,c()(t.map((function(e){return e.resolvers||{}})))),selectors:O.apply(void 0,c()(t.map((function(e){return e.selectors||{}}))))}},I={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)}))},j=(a={},u()(a,"GET_REGISTRY",Object(y.d)((function(e){return function(){return e}}))),u()(a,"AWAIT",(function(e){return e.payload.value})),a),C=function(e){for(var t=[],n={},a=0;a<e.length;a++){var r=e[a];n[r]=n[r]>=1?n[r]+1:1,n[r]>1&&t.push(r)}return t},w={actions:I,controls:j,reducer:k},D=function(e){return function(t){return R(e(t))}},R=p()((function(e){return g()(e,(function(e,t){return function(){var n=e.apply(void 0,arguments);return d()(void 0!==n,"".concat(t,"(...) is not resolved")),n}}))}));function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.negate,a=void 0!==n&&n,r=Object(y.e)((function(t){return function(n){var r=!a,i=!!a;try{for(var o=arguments.length,c=new Array(o>1?o-1:0),s=1;s<o;s++)c[s-1]=arguments[s];return e.apply(void 0,[t,n].concat(c)),r}catch(e){return i}}})),i=Object(y.e)((function(t){return function(n){for(var a=arguments.length,r=new Array(a>1?a-1:0),i=1;i<a;i++)r[i-1]=arguments[i];e.apply(void 0,[t,n].concat(r))}}));return{safeSelector:r,dangerousSelector:i}}function M(e,t){return d()("function"==typeof e,"a validator function is required."),d()("function"==typeof t,"an action creator function is required."),d()("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)}}},75:function(e,t,n){"use strict";(function(e){var a=n(46),r=n.n(a),i=n(47),o=n.n(i),c=n(78),s=n.n(c),u=n(71),l=n.n(u),d=n(72),m=n.n(d),g=n(49),f=n.n(g),p=n(0),y=n.n(p),b=n(9),v=n.n(b),h=n(2),_=n(1),S=n(64),A=n(100),E=n(62),O=n(29),T=n(7);function k(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,a=f()(e);if(t){var r=f()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return m()(this,n)}}var N=function(t){l()(DataBlock,t);var n=k(DataBlock);function DataBlock(e){var t;return r()(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,a=t.handleStatSelection;"Enter"!==e.key&&" "!==e.key||a(n)}},{key:"render",value:function(){var t=this.props,n=t.className,a=t.title,r=t.datapoint,i=t.datapointUnit,o=t.change,c=t.changeDataUnit,s=t.context,u=t.period,l=t.selected,d=t.handleStatSelection,m=t.source,g=t.sparkline,f=t.invertChangeColor,p=t.gatheringData,y=t.gatheringDataNoticeStyle,b="button"===s?"button":"",k=g;k&&f&&(k=Object(h.cloneElement)(g,{invertChangeColor:f}));var N=o;c&&(N="%"===c?Object(T.u)(o,{style:"percent",signDisplay:"never",maximumFractionDigits:1}):Object(T.u)(o,c)),u&&(N=Object(_.sprintf)(u,N));var I=void 0===r?r:Object(T.u)(r,i||void 0),j=Object(O.b)("zeroDataStates");return e.createElement("div",{className:v()("googlesitekit-data-block",n,"googlesitekit-data-block--".concat(s),{"googlesitekit-data-block--selected":l,"googlesitekit-data-block--is-gathering-data":p}),tabIndex:"button"!==s||p?"-1":"0",role:d&&b,onClick:p?void 0:d&&this.handleClick,onKeyPress:p?void 0:d&&this.handleKeyPress,"aria-disabled":p||void 0,"aria-label":d&&a,"aria-pressed":d&&l},e.createElement("div",{className:"googlesitekit-data-block__title-datapoint-wrapper"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-data-block__title "},a),!p&&e.createElement("div",{className:"googlesitekit-data-block__datapoint"},I)),!p&&e.createElement(h.Fragment,null,k&&e.createElement("div",{className:"googlesitekit-data-block__sparkline"},k),e.createElement("div",{className:"googlesitekit-data-block__change-source-wrapper"},e.createElement("div",{className:v()("googlesitekit-data-block__change",{"googlesitekit-data-block__change--no-change":!o})},e.createElement(h.Fragment,null,!!o&&e.createElement("span",{className:"googlesitekit-data-block__arrow"},e.createElement(S.a,{direction:0<parseFloat(o)?"up":"down",invertColor:f})),e.createElement("span",{className:"googlesitekit-data-block__value"},N))),m&&e.createElement(A.a,{className:"googlesitekit-data-block__source",name:m.name,href:m.link,external:null==m?void 0:m.external}))),p&&j&&e.createElement(E.b,{style:y}))}}]),DataBlock}(h.Component);N.propTypes={stat:y.a.number,onClick:y.a.func,className:y.a.string,title:y.a.string,datapoint:y.a.oneOfType([y.a.string,y.a.number]),datapointUnit:y.a.string,change:y.a.oneOfType([y.a.string,y.a.number]),changeDataUnit:y.a.oneOfType([y.a.string,y.a.bool]),context:y.a.string,period:y.a.string,selected:y.a.bool,handleStatSelection:y.a.func,invertChangeColor:y.a.bool,gatheringData:y.a.bool,gatheringDataNoticeStyle:y.a.oneOf(Object.values(E.a))},N.defaultProps={stat:null,onClick:null,className:"",title:"",datapoint:null,datapointUnit:"",change:null,changeDataUnit:"",context:"default",period:"",selected:!1,handleStatSelection:null,invertChangeColor:!1,gatheringData:!1,gatheringDataNoticeStyle:E.a.DEFAULT},t.a=N}).call(this,n(3))},76:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i}));var a=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},r=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("")}},767:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return NeedsAttention}));var r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(68),u=n(7),l=n(25),d=n(393),m=c.a.useSelect;function NeedsAttention(){var t=Object(r.useContext)(s.b),n=m((function(e){return e(l.f).getServiceAccountManageSitesURL()})),o=Object(r.useCallback)((function(a){a.preventDefault(),Object(u.z)("".concat(t,"_adsense"),"review_site_state","needs_attention"),e.open(n,"_blank")}),[n,t]),c=Object(i.__)("Your site isn’t ready to show ads yet","google-site-kit"),g=Object(i.__)("You need to fix some things with this site before we can connect Site Kit to your AdSense account.","google-site-kit"),f={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:o};return a.createElement(d.a,{heading:c,description:g,primaryButton:f})}}).call(this,n(20),n(3))},768:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return GettingReady}));var r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(68),u=n(7),l=n(25),d=n(393),m=c.a.useSelect;function GettingReady(){var t=Object(r.useContext)(s.b),n=m((function(e){return e(l.f).getServiceAccountManageSitesURL()})),o=Object(r.useCallback)((function(a){a.preventDefault(),Object(u.z)("".concat(t,"_adsense"),"review_site_state","getting_ready"),e.open(n,"_blank")}),[n,t]),c=Object(i.__)("Your site is getting ready","google-site-kit"),g=Object(i.__)("This usually takes a few days, but in some cases can take up to 2 weeks. You’ll get an email from AdSense as soon as they have run some checks on your site.","google-site-kit"),f={label:Object(i.__)("Review site in AdSense","google-site-kit"),href:n,onClick:o};return a.createElement(d.a,{heading:c,description:g,primaryButton:f})}}).call(this,n(20),n(3))},769:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return RequiresReview}));var r=n(2),i=n(1),o=n(4),c=n.n(o),s=n(68),u=n(7),l=n(25),d=n(393),m=c.a.useSelect;function RequiresReview(){var t=Object(r.useContext)(s.b),n=m((function(e){return e(l.f).getServiceAccountManageSitesURL()})),o=Object(r.useCallback)((function(a){a.preventDefault(),Object(u.z)("".concat(t,"_adsense"),"review_site_state","requires_review"),e.open(n,"_blank")}),[n,t]),c=Object(i.__)("Your site requires review","google-site-kit"),g=Object(i.__)("To start serving ads, your site needs to be approved first. Go to AdSense to request the review.","google-site-kit"),f={label:Object(i.__)("Request review in AdSense","google-site-kit"),href:n,onClick:o};return a.createElement(d.a,{heading:c,description:g,primaryButton:f})}}).call(this,n(20),n(3))},770:function(e,t,n){"use strict";(function(e,a){n.d(t,"a",(function(){return Ready}));var r=n(5),i=n.n(r),o=n(14),c=n.n(o),s=n(13),u=n.n(s),l=n(2),d=n(1),m=n(4),g=n.n(m),f=n(68),p=n(7),y=n(25),b=n(393),v=g.a.useSelect,h=g.a.useDispatch;function Ready(t){var n=t.site,r=t.finishSetup,o=Object(l.useState)(!1),s=u()(o,2),m=s[0],g=s[1],_=Object(l.useContext)(f.b),S=v((function(e){return e(y.f).getExistingTag()})),A=v((function(e){return e(y.f).getServiceAccountSiteAdsPreviewURL()})),E=v((function(e){return e(y.f).isDoingSubmitChanges()})),O=h(y.f),T=O.completeSiteSetup,k=O.completeAccountSetup,N=Object(l.useCallback)((function(t){t.preventDefault(),Object(p.z)("".concat(_,"_adsense"),"enable_auto_ads"),e.open(A,"_blank")}),[A,_]),I=Object(l.useCallback)((function(e){e.preventDefault(),Object(p.z)("".concat(_,"_adsense"),"disable_auto_ads"),g(!0)}),[_]),j=Object(l.useCallback)(c()(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!E){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,T();case 4:return t=e.sent,e.next=7,k();case 7:n=e.sent,t&&n&&"function"==typeof r&&r();case 9:case"end":return e.stop()}}),e)}))),[E,r,T,k]),C={};return n.autoAdsEnabled||m?(C.heading=S?Object(d.__)("Your AdSense account is ready to connect to Site Kit","google-site-kit"):Object(d.__)("Your site is ready to use AdSense","google-site-kit"),C.description=S?Object(d.__)("Connect your AdSense account to see stats on your overall earnings, page CTR, and top earning pages.","google-site-kit"):Object(d.__)("Site Kit has placed AdSense code on your site to connect your site to AdSense and help you get the most out of ads.","google-site-kit"),C.primaryButton={label:Object(d.__)("Configure AdSense","google-site-kit"),onClick:j}):(C.heading=Object(d.__)("Enable auto ads for your site","google-site-kit"),C.description=Object(d.__)("To start serving ads via Site Kit, you need to activate auto ads first. Go to AdSense and enable auto ads for your site.","google-site-kit"),C.primaryButton={label:Object(d.__)("Enable auto ads","google-site-kit"),href:A,onClick:N},S&&(C.description=Object(d.__)("Site Kit recommends enabling auto ads. If your existing AdSense setup relies on individual ad units, you can proceed without enabling auto ads.","google-site-kit"),C.secondaryButton={label:Object(d.__)("Proceed without enabling auto ads","google-site-kit"),onClick:I})),a.createElement(b.a,C)}}).call(this,n(20),n(3))},773:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Table}));var a=n(6),r=n.n(a),i=n(13),o=n.n(i),c=n(1),s=n(0),u=n.n(s),l=n(4),d=n.n(l),m=n(248),g=n(291),f=n(21),p=n(11),y=n(25),b=n(12),v=n(565),h=n(7),_=n(155),S=n(105);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var E=d.a.useSelect,O=d.a.useInViewSelect;function Table(t){var n,a,i=t.report,s=E((function(e){return e(b.a).getDateRangeDates({offsetDays:p.b})})),u=s.startDate,l=s.endDate,d=O((function(e){return e(y.f).getReport({startDate:u,endDate:l,metrics:"ESTIMATED_EARNINGS"})})),T=Object(v.a)(d),k=[{title:Object(c.__)("Page Title","google-site-kit"),description:Object(c.__)("Page Title","google-site-kit"),primary:!0,Component:function Component(t){var n=t.row,a=o()(n.dimensions,2),i=a[0],c=a[1],s=E((function(e){return e(b.a).getDateRangeDates({offsetDays:p.b})})),u=E((function(e){return e(p.f).getServiceReportURL("content-pages",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({"explorer-table.plotKeys":"[]","_r.drilldown":"analytics.pagePath:".concat(c)},Object(_.a)(s)))}));return e.createElement(f.a,{href:u,external:!0,inherit:!0},i)}},{title:Object(c.__)("Earnings","google-site-kit"),description:Object(c.__)("Earnings","google-site-kit"),field:"metrics.0.values.0",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(h.u)(n,T))}},{title:Object(c.__)("Page RPM","google-site-kit"),description:Object(c.__)("Page RPM","google-site-kit"),field:"metrics.0.values.1",Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(h.u)(n,T))}},{title:Object(c.__)("Impressions","google-site-kit"),description:Object(c.__)("Impressions","google-site-kit"),field:"metrics.0.values.2",hideOnMobile:!0,Component:function Component(t){var n=t.fieldValue;return e.createElement("span",null,Object(h.u)(n,{style:"decimal"}))}}];return e.createElement(g.a,null,e.createElement(m.a,{rows:(null==i||null===(n=i[0])||void 0===n||null===(a=n.data)||void 0===a?void 0:a.rows)||[],columns:k,zeroState:S.p}))}Table.propTypes={report:u.a.arrayOf(u.a.object).isRequired}}).call(this,n(3))},774:function(e,t,n){"use strict";(function(e){var a=n(1),r=n(25),i=n(12),o=n(432),c=n(100),s=n(4),u=n.n(s).a.useSelect;t.a=function Footer(){var t=u((function(e){return e(i.a).getDateRangeDates({offsetDays:r.e})})),n=u((function(e){return e(r.f).getServiceReportURL(Object(o.a)(t))}));return e.createElement(c.a,{href:n,name:Object(a._x)("AdSense","Service name","google-site-kit"),external:!0})}}).call(this,n(3))},775:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(8),o=n(7),c=n(75),s=function Overview(t){var n,a,r=t.metrics,s=t.currentRangeData,u=t.previousRangeData,l=t.selectedStats,d=t.handleStatsSelection,m=s.totals,g=s.headers,f=u.totals,p={smSize:2,mdSize:2,lgSize:3};return e.createElement(i.e,null,e.createElement(i.o,null,e.createElement(i.a,p,e.createElement(c.a,{stat:0,className:"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-1",title:r[g[0].name],datapoint:(null==m?void 0:m.cells[0].value)||0,datapointUnit:null===(n=g[0])||void 0===n?void 0:n.currencyCode,change:Object(o.d)((null==f?void 0:f.cells[0].value)||0,(null==m?void 0:m.cells[0].value)||0),changeDataUnit:"%",context:"button",selected:0===l,handleStatSelection:d})),e.createElement(i.a,p,e.createElement(c.a,{stat:1,className:"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-2",title:r[g[1].name],datapoint:(null==m?void 0:m.cells[1].value)||0,datapointUnit:null===(a=g[1])||void 0===a?void 0:a.currencyCode,change:Object(o.d)((null==f?void 0:f.cells[1].value)||0,(null==m?void 0:m.cells[1].value)||0),changeDataUnit:"%",context:"button",selected:1===l,handleStatSelection:d})),e.createElement(i.a,p,e.createElement(c.a,{stat:2,className:"googlesitekit-data-block--page-rpm googlesitekit-data-block--button-3",title:r[g[2].name],datapoint:(null==m?void 0:m.cells[2].value)||0,change:Object(o.d)((null==f?void 0:f.cells[2].value)||0,(null==m?void 0:m.cells[2].value)||0),changeDataUnit:"%",context:"button",selected:2===l,handleStatSelection:d})),e.createElement(i.a,p,e.createElement(c.a,{stat:3,className:"googlesitekit-data-block--impression googlesitekit-data-block--button-4",title:r[g[3].name],datapoint:(null==m?void 0:m.cells[3].value)||0,datapointUnit:"%",change:Object(o.d)((null==f?void 0:f.cells[3].value)||0,(null==m?void 0:m.cells[3].value)||0),changeDataUnit:"%",context:"button",selected:3===l,handleStatSelection:d}))))};s.propTypes={metrics:r.a.object,currentRangeData:r.a.object,previousRangeData:r.a.object,selectedStats:r.a.number.isRequired,handleStatsSelection:r.a.func.isRequired},t.a=s}).call(this,n(3))},776:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Stats}));var a=n(13),r=n.n(a),i=n(0),o=n.n(i),c=n(219),s=n(8),u=n(206);function Stats(t){var n=t.metrics,a=t.currentRangeData,i=t.previousRangeData,o=t.selectedStats,l=Object(c.a)(a,i,Object.values(n)[o],o+1,a.headers[o+1]),d=["#4285f4","#27bcd4","#1b9688","#673ab7"],m={curveType:"function",height:270,width:"100%",chartArea:{height:"80%",width:"100%",left:60},legend:{position:"top",textStyle:{color:"#616161",fontSize:12}},hAxis:{format:"M/d/yy",gridlines:{color:"#fff"},textStyle:{color:"#616161",fontSize:12},ticks:l.slice(1).map((function(e){return r()(e,1)[0]}))},vAxis:{format:{METRIC_TALLY:void 0,METRIC_CURRENCY:"currency",METRIC_RATIO:"percent",METRIC_DECIMAL:"decimal",METRIC_MILLISECONDS:void 0}[a.headers[o+1].type],gridlines:{color:"#eee"},minorGridlines:{color:"#eee"},textStyle:{color:"#616161",fontSize:12},titleTextStyle:{color:"#616161",fontSize:12,italic:!1},viewWindow:{min:0}},focusTarget:"category",crosshair:{color:"gray",opacity:.1,orientation:"vertical",trigger:"both"},tooltip:{isHtml:!0,trigger:"both"},series:{0:{color:d[o],targetAxisIndex:0},1:{color:d[o],targetAxisIndex:0,lineDashStyle:[3,3],lineWidth:1}}};return Object(c.d)(a)&&Object(c.d)(i)?m.vAxis.viewWindow.max=100:m.vAxis.viewWindow.max=void 0,e.createElement(s.e,{className:"googlesitekit-adsense-site-stats"},e.createElement(s.o,null,e.createElement(s.a,{size:12},e.createElement(u.a,{chartType:"LineChart",data:l,loadingHeight:"270px",loadingWidth:"100%",options:m}))))}Stats.propTypes={metrics:o.a.object,currentRangeData:o.a.object,previousRangeData:o.a.object,selectedStats:o.a.number.isRequired}}).call(this,n(3))},8:function(e,t,n){"use strict";var a=n(90),r=n.n(a);n.d(t,"q",(function(){return r.a})),n.d(t,"f",(function(){return a.HelperText})),n.d(t,"g",(function(){return a.Input}));var i=n(201);n.d(t,"l",(function(){return i.a}));var o=n(245);n.d(t,"i",(function(){return o.a}));var c=n(246);n.d(t,"k",(function(){return c.a}));var s=n(114),u=n.n(s);n.d(t,"p",(function(){return u.a})),n.d(t,"n",(function(){return s.Option}));var l=n(247);n.d(t,"m",(function(){return l.a}));var d=n(244);n.d(t,"h",(function(){return d.a}));var m=n(243);n.d(t,"j",(function(){return m.a}));var g=n(91),f=n.n(g);n.d(t,"b",(function(){return f.a})),n.d(t,"c",(function(){return g.DialogContent})),n.d(t,"d",(function(){return g.DialogFooter}));var p=n(94);n.d(t,"a",(function(){return p.a})),n.d(t,"e",(function(){return p.b})),n.d(t,"o",(function(){return p.c}))},81:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d}));var a=n(13),r=n.n(a),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 a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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,a=new Array(t);n<t;n++)a[n]=e[n];return a}var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=null,n=null,a=document.querySelector("#toplevel_page_googlesitekit-dashboard .googlesitekit-notifications-counter"),r=document.querySelector("#wp-admin-bar-google-site-kit .googlesitekit-notifications-counter");if(a&&r)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)(Object(i._n)("%d notification","%d notifications",e,"google-site-kit"),e),o.appendChild(c),o.appendChild(s),t&&null===a&&t.appendChild(o),n&&null===r&&n.appendChild(o),o},u=function(){e.localStorage&&e.localStorage.clear(),e.sessionStorage&&e.sessionStorage.clear()},l=function(e){for(var t=location.search.substr(1).split("&"),n={},a=0;a<t.length;a++)n[t[a].split("=")[0]]=decodeURIComponent(t[a].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):l(e);var a,i={},c=o(n.searchParams.entries());try{for(c.s();!(a=c.n()).done;){var s=r()(a.value,2),u=s[0],d=s[1];i[u]=d}}catch(e){c.e(e)}finally{c.f()}return i}}).call(this,n(20))},82:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(44);function PreviewBlock(t){var n=t.className,a=t.width,r=t.height,i=t.shape,s=t.padding,u=t.smallWidth,l=t.smallHeight,d=t.tabletWidth,m=t.tabletHeight,g=t.desktopWidth,f=t.desktopHeight,p=Object(c.e)(),y=a,b=r;return c.b===p&&u&&l&&(y=u,b=l),c.c===p&&d&&m&&(y=d,b=m),(c.d===p||c.a===p)&&g&&f&&(y=g,b=f),e.createElement("div",{className:o()("googlesitekit-preview-block",n,{"googlesitekit-preview-block--padding":s}),style:{width:y,height:b}},e.createElement("div",{className:o()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===i})}))}PreviewBlock.propTypes={className:r.a.string,width:r.a.string,height:r.a.string,shape:r.a.string,padding:r.a.bool,smallWidth:r.a.string,smallHeight:r.a.string,tabletWidth:r.a.string,tabletHeight:r.a.string,desktopWidth:r.a.string,desktopHeight:r.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))},83:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(9),o=n.n(i),c=n(21),s=function CTA(t){var n=t.title,a=t.description,r=t.ctaLink,i=t.ctaLabel,s=t.ctaLinkExternal,u=t.error,l=t.onClick,d=t["aria-label"];return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":u})},n&&e.createElement("h3",{className:"googlesitekit-cta__title"},n),a&&"string"==typeof a&&e.createElement("p",{className:"googlesitekit-cta__description"},a),a&&"string"!=typeof a&&e.createElement("div",{className:"googlesitekit-cta__description"},a),i&&e.createElement(c.a,{href:r,onClick:l,inverse:!u,caps:!0,arrow:!0,"aria-label":d,external:s,hideExternalIndicator:s},i))};s.propTypes={title:r.a.string.isRequired,description:r.a.oneOfType([r.a.string,r.a.node]),ctaLink:r.a.string,ctaLinkExternal:r.a.bool,ctaLabel:r.a.string,"aria-label":r.a.string,error:r.a.bool,onClick:r.a.func},s.defaultProps={title:"",description:"",ctaLink:"",ctaLabel:"",error:!1,onClick:function(){}},t.a=s}).call(this,n(3))},84:function(e,t,n){"use strict";(function(e){n(46),n(47)}).call(this,n(20))},85: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 a=n(200),r=n(64),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(a.a)(e.createElement(r.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e){var t,n,a,r,i,o,c,s,u,l,d,m,g,f,p;if(void 0!==e)return 1===(null==e||null===(t=e[0])||void 0===t||null===(n=t.data)||void 0===n||null===(a=n.rows)||void 0===a?void 0:a.length)||(null==e||null===(r=e[0])||void 0===r||null===(i=r.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===(u=s[0])||void 0===u||null===(l=u.values)||void 0===l?void 0:l[0])===(null==e||null===(d=e[0])||void 0===d||null===(m=d.data)||void 0===m||null===(g=m.totals)||void 0===g||null===(f=g[0])||void 0===f||null===(p=f.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))},86:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l}));var a=n(6),r=n.n(a),i=n(87),o=n(88);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}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){r()(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 u={activeModules:[],isAuthenticated:!1,referenceSiteURL:"",trackingEnabled:!1,trackingID:"",userIDHash:"",userRoles:[]};function l(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=s(s({},u),t);r.referenceSiteURL&&(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\/+$/,""));var c=Object(i.a)(r,n);return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:c,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:Object(o.a)(r,n,c,a)}}}).call(this,n(20))},87:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var a=n(51),r=n(28);function i(t,n){var i,o=Object(a.a)(n);return function(){var n=e.document;if(void 0===i&&(i=!!n.querySelector("script[".concat(r.b,"]"))),!i){var a=n.createElement("script");a.setAttribute(r.b,""),a.async=!0,a.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(r.a),n.head.appendChild(a),o("js",new Date),o("config",t.trackingID,{send_page_view:t.isSiteKitScreen}),i=!0}}}}).call(this,n(20))},88:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n(5),r=n.n(a),i=n(6),o=n.n(i),c=n(14),s=n.n(c),u=n(51),l=n(29);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function m(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(e,t,n,a){var i=Object(u.a)(t);return function(){var t=s()(r.a.mark((function t(o,c,s,u){var d,g,f,p,y,b,v,h,_,S;return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(d=e.activeModules,g=e.referenceSiteURL,f=e.trackingEnabled,p=e.trackingID,y=e.userIDHash,b=e.userRoles,v=void 0===b?[]:b,h=e.isAuthenticated,_=e.pluginVersion,f){t.next=3;break}return t.abrupt("return");case 3:return n(),S={send_to:p,event_category:o,event_label:s,value:u,dimension1:g,dimension2:v.join(","),dimension3:y,dimension4:_||"",dimension5:Array.from(l.a).join(","),dimension6:d.join(","),dimension7:h?1:0},t.abrupt("return",new Promise((function(e){var t,n,r=setTimeout((function(){a.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),s=function(){clearTimeout(r),e()};i("event",c,m(m({},S),{},{event_callback:s})),(null===(t=a._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&s()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,a,r){return t.apply(this,arguments)}}()}},92:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c}));n(57);var a="missing_required_scopes",r="insufficientPermissions",i="forbidden";function o(e){return(null==e?void 0:e.code)===a}function c(e){var t;return[r,i].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}},94:function(e,t,n){"use strict";var a=n(109);n.d(t,"a",(function(){return a.a}));var r=n(110);n.d(t,"c",(function(){return r.a}));var i=n(111);n.d(t,"b",(function(){return i.a}))},95:function(e,t,n){"use strict";var a=n(13),r=n.n(a),i=n(309),o=n(0),c=n.n(o),s=n(2),u=n(115);function Portal(e){var t=e.children,n=e.slug,a=Object(s.useState)(document.createElement("div")),o=r()(a,1)[0];return Object(i.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(u.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},96:function(e,t,n){"use strict";var a=n(2),r=n(29),i=Object(a.createContext)(r.a);t.a=i},99:function(e,t,n){"use strict";(function(e){var a=n(0),r=n.n(a),i=n(113),o=n(1),c=n(7);function ErrorText(t){var n=t.message,a=t.reconnectURL;if(!n)return null;var r=Object(o.sprintf)(Object(o.__)("Error: %s","google-site-kit"),n);a&&Object(i.a)(a)&&(r=r+" "+Object(o.sprintf)(Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),a));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.w)(r,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:r.a.string.isRequired,reconnectURL:r.a.string},ErrorText.defaultProps={reconnectURL:""},t.a=ErrorText}).call(this,n(3))}},[[1109,1,0]]]) ;
/home/sudancam/./.trash/js.2/../litespeed/js/./99e05dabbecc587845867600548702a7.js