OwlCyberSecurity - MANAGER
Edit File: googlesitekit-settings-c5ed8a54309d018a6b77.js
(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[26],[,,function(e,t){e.exports=googlesitekit.i18n},function(e,t){e.exports=googlesitekit.data},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"z",(function(){return l})),n.d(t,"E",(function(){return s})),n.d(t,"G",(function(){return u})),n.d(t,"C",(function(){return d})),n.d(t,"D",(function(){return g})),n.d(t,"B",(function(){return f})),n.d(t,"A",(function(){return m})),n.d(t,"F",(function(){return p})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return v})),n.d(t,"j",(function(){return E})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return y})),n.d(t,"o",(function(){return k})),n.d(t,"q",(function(){return j})),n.d(t,"r",(function(){return S})),n.d(t,"s",(function(){return w})),n.d(t,"t",(function(){return x})),n.d(t,"v",(function(){return N})),n.d(t,"k",(function(){return C})),n.d(t,"x",(function(){return A})),n.d(t,"u",(function(){return T})),n.d(t,"y",(function(){return R})),n.d(t,"w",(function(){return D})),n.d(t,"i",(function(){return M})),n.d(t,"p",(function(){return P})),n.d(t,"I",(function(){return I})),n.d(t,"H",(function(){return L}));var r="core/user",i="connected_url_mismatch",a="__global",o="temporary_persist_permission_error",c="adblocker_active",l="googlesitekit_authenticate",s="googlesitekit_setup",u="googlesitekit_view_dashboard",d="googlesitekit_manage_options",g="googlesitekit_read_shared_module_data",f="googlesitekit_manage_module_sharing_options",m="googlesitekit_delegate_module_sharing_management",p="googlesitekit_update_plugins",h="kmAnalyticsAdSenseTopEarningContent",b="kmAnalyticsEngagedTrafficSource",v="kmAnalyticsLeastEngagingPages",E="kmAnalyticsNewVisitors",_="kmAnalyticsPopularAuthors",O="kmAnalyticsPopularContent",y="kmAnalyticsPopularProducts",k="kmAnalyticsReturningVisitors",j="kmAnalyticsTopCities",S="kmAnalyticsTopConvertingTrafficSource",w="kmAnalyticsTopCountries",x="kmAnalyticsTopRecentTrendingPages",N="kmAnalyticsTopTrafficSource",C="kmAnalyticsPagesPerVisit",A="kmAnalyticsVisitLength",T="kmAnalyticsTopReturningVisitorPages",R="kmSearchConsolePopularKeywords",D="kmAnalyticsVisitsPerVisitor",M="kmAnalyticsMostEngagingPages",P="kmAnalyticsTopCategories",I=[h,b,v,E,_,O,y,k,P,j,S,w,x,N,C,A,T,D,M,P],L=[].concat(I,[R])},function(e,t,n){"use strict";n.d(t,"J",(function(){return i.b})),n.d(t,"K",(function(){return i.c})),n.d(t,"G",(function(){return a.a})),n.d(t,"L",(function(){return a.b})),n.d(t,"I",(function(){return u})),n.d(t,"n",(function(){return d.a})),n.d(t,"C",(function(){return d.d})),n.d(t,"D",(function(){return d.e})),n.d(t,"z",(function(){return d.c})),n.d(t,"s",(function(){return d.b})),n.d(t,"A",(function(){return p})),n.d(t,"k",(function(){return h})),n.d(t,"j",(function(){return b})),n.d(t,"d",(function(){return k})),n.d(t,"c",(function(){return j})),n.d(t,"e",(function(){return S})),n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return x})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return C})),n.d(t,"o",(function(){return A})),n.d(t,"x",(function(){return T})),n.d(t,"q",(function(){return R})),n.d(t,"H",(function(){return D})),n.d(t,"t",(function(){return M})),n.d(t,"w",(function(){return P})),n.d(t,"l",(function(){return I})),n.d(t,"p",(function(){return L.b})),n.d(t,"i",(function(){return L.a})),n.d(t,"u",(function(){return F.b})),n.d(t,"r",(function(){return F.a})),n.d(t,"B",(function(){return F.c})),n.d(t,"y",(function(){return B})),n.d(t,"v",(function(){return z})),n.d(t,"F",(function(){return U})),n.d(t,"E",(function(){return V.a})),n.d(t,"h",(function(){return G})),n.d(t,"M",(function(){return q})),n.d(t,"m",(function(){return K}));var r=n(12),i=n(35),a=n(78),o=n(31),c=n.n(o),l=n(94),s=n.n(l),u=function(e){return s()(JSON.stringify(function e(t){var n={};return Object.keys(t).sort().forEach((function(r){var i=t[r];i&&"object"===c()(i)&&!Array.isArray(i)&&(i=e(i)),n[r]=i})),n}(e)))};n(97);var d=n(77);function g(e){return e.replace(new RegExp("\\[([^\\]]+)\\]\\((https?://[^/]+\\.\\w+/?.*?)\\)","gi"),'<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>')}function f(e){return"<p>".concat(e.replace(/\n{2,}/g,"</p><p>"),"</p>")}function m(e){return e.replace(/\n/gi,"<br>")}function p(e){for(var t=e,n=0,r=[g,f,m];n<r.length;n++){t=(0,r[n])(t)}return t}var h=function(e){return e=parseFloat(e),isNaN(e)||0===e?[0,0,0,0]:[Math.floor(e/60/60),Math.floor(e/60%60),Math.floor(e%60),Math.floor(1e3*e)-1e3*Math.floor(e)]},b=function(e){var t=e&&!Number.isInteger(e)?new Date(e).getTime():e;return isNaN(t)||!t?0:t},v=n(15),E=n.n(v),_=n(10),O=n.n(_),y=n(2),k="Invalid dateString parameter, it must be a string.",j='Invalid date range, it must be a string with the format "last-x-days".',S=60,w=60*S,x=24*w,N=7*x,C=30*x;function A(){var e=function(e){return Object(y.sprintf)( /* translators: %s: number of days */ Object(y._n)("Last %s day","Last %s days",e,"google-site-kit"),e)};return{"last-7-days":{slug:"last-7-days",label:e(7),days:7},"last-14-days":{slug:"last-14-days",label:e(14),days:14},"last-28-days":{slug:"last-28-days",label:e(28),days:28},"last-90-days":{slug:"last-90-days",label:e(90),days:90}}}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!Object(r.isString)(e))return!1;var t=e.split("-");if(3!==t.length)return!1;var n=new Date(e);return Object(r.isDate)(n)&&!isNaN(n)}function R(e){O()(Object(r.isDate)(e)&&!isNaN(e),"Date param must construct to a valid date instance or be a valid date instance itself.");var t="".concat(e.getMonth()+1),n="".concat(e.getDate());return[e.getFullYear(),t.length<2?"0".concat(t):t,n.length<2?"0".concat(n):n].join("-")}function D(e){O()(T(e),k);var t=e.split("-"),n=E()(t,3),r=n[0],i=n[1],a=n[2];return new Date(r,i-1,a)}function M(e,t){return R(I(e,t*x))}function P(e){var t=e.split("-");return 3===t.length&&"last"===t[0]&&!Number.isNaN(t[1])&&!Number.isNaN(parseFloat(t[1]))&&"days"===t[2]}function I(e,t){O()(T(e)||Object(r.isDate)(e)&&!isNaN(e),k);var n=T(e)?Date.parse(e):e.getTime();return new Date(n-1e3*t)}var L=n(98),F=n(83);function B(e){var t=parseFloat(e)||0;return!!Number.isInteger(t)&&t>0}function z(e){if("number"==typeof e)return!0;var t=(e||"").toString();return!!t&&!isNaN(t)}var H=n(27),W=n.n(H),U=function(e){return Array.isArray(e)?W()(e).sort():e},V=n(87);function G(e,t){var n=function(e){return"0"===e||0===e};if(n(e)&&n(t))return 0;if(n(e)||Number.isNaN(e))return null;var r=(t-e)/e;return Number.isNaN(r)||!Number.isFinite(r)?null:r}var q=function(e){try{return JSON.parse(e)&&!!e}catch(e){return!1}},K=function(e){if(!e)return"";var t=e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/(\\)/g,"");return Object(r.unescape)(t)}},function(e,t,n){"use strict";n.d(t,"p",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"q",(function(){return a})),n.d(t,"x",(function(){return o})),n.d(t,"m",(function(){return c})),n.d(t,"o",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"n",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return p})),n.d(t,"g",(function(){return h})),n.d(t,"v",(function(){return b})),n.d(t,"u",(function(){return v})),n.d(t,"w",(function(){return E})),n.d(t,"s",(function(){return _})),n.d(t,"t",(function(){return O})),n.d(t,"e",(function(){return y})),n.d(t,"r",(function(){return k})),n.d(t,"b",(function(){return j})),n.d(t,"c",(function(){return S})),n.d(t,"d",(function(){return w}));var r="modules/analytics-4",i="account_create",a="property_create",o="webdatastream_create",c="analyticsSetup",l=10,s=1,u="https://www.googleapis.com/auth/tagmanager.readonly",d="enhanced-measurement-form",g="enhanced-measurement-enabled",f="enhanced-measurement-should-dismiss-activation-banner",m="analyticsAccountCreate",p="analyticsCustomDimensionsCreate",h="https://www.googleapis.com/auth/analytics.edit",b="dashboardAllTrafficWidgetDimensionName",v="dashboardAllTrafficWidgetDimensionColor",E="dashboardAllTrafficWidgetDimensionValue",_="dashboardAllTrafficWidgetActiveRowIndex",O="dashboardAllTrafficWidgetLoaded",y={googlesitekit_post_date:{parameterName:"googlesitekit_post_date",displayName:"WordPress Post Date",description:"Created by Site Kit: Date when a post was published",scope:"EVENT"},googlesitekit_post_author:{parameterName:"googlesitekit_post_author",displayName:"WordPress Post Author",description:"Created by Site Kit: WordPress name of the post author",scope:"EVENT"},googlesitekit_post_categories:{parameterName:"googlesitekit_post_categories",displayName:"WordPress Post Categories",description:"Created by Site Kit: Names of categories assigned to a post",scope:"EVENT"},googlesitekit_post_type:{parameterName:"googlesitekit_post_type",displayName:"WordPress Post Type",description:"Created by Site Kit: Content type of a post",scope:"EVENT"}},k={"new-visitors":{description:"People who visited the site for the first time",displayName:"New visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"new"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:new_visitors"}}}}]}}]}}}}]},"returning-visitors":{description:"People who have visited your site at least once before",displayName:"Returning visitors",membershipDurationDays:-1,filterClauses:[{clauseType:"INCLUDE",simpleFilter:{scope:"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS",filterExpression:{andGroup:{filterExpressions:[{orGroup:{filterExpressions:[{dimensionOrMetricFilter:{fieldName:"newVsReturning",stringFilter:{matchType:"EXACT",value:"returning"}}}]}},{orGroup:{filterExpressions:[{notExpression:{dimensionOrMetricFilter:{fieldName:"groupId",stringFilter:{matchType:"EXACT",value:"created_by_googlesitekit:returning_visitors"}}}}]}}]}}}}]}},j="audiencePermissionsSetup",S="audienceTileCustomDimensionCreate",w={USER_AUDIENCE:0,SITE_KIT_AUDIENCE:1,DEFAULT_AUDIENCE:2}},,function(e,t){e.exports=googlesitekit.components},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r="core/site",i="primary",a="secondary"},,function(e,t,n){"use strict";var r=n(260);n.d(t,"i",(function(){return r.a}));var i=n(336);n.d(t,"f",(function(){return i.a}));var a=n(337);n.d(t,"h",(function(){return a.a}));var o=n(338);n.d(t,"j",(function(){return o.a}));var c=n(335);n.d(t,"g",(function(){return c.a}));var l=n(103),s=n.n(l);n.d(t,"b",(function(){return s.a})),n.d(t,"c",(function(){return l.DialogContent})),n.d(t,"d",(function(){return l.DialogFooter}));var u=n(115);n.d(t,"a",(function(){return u.a})),n.d(t,"e",(function(){return u.b})),n.d(t,"k",(function(){return u.c}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="core/modules",i="insufficient_module_dependencies"},function(e,t,n){"use strict";var r=n(0),i=n(61);t.a=function(){return Object(r.useContext)(i.b)}},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(146),g=n(0),f=n(2),m=n(123),p=n(124),h=n(125),b=n(81),v=n(80),E=Object(g.forwardRef)((function(t,n){var r,a=t["aria-label"],c=t.secondary,s=void 0!==c&&c,u=t.arrow,g=void 0!==u&&u,E=t.back,_=void 0!==E&&E,O=t.caps,y=void 0!==O&&O,k=t.children,j=t.className,S=void 0===j?"":j,w=t.danger,x=void 0!==w&&w,N=t.disabled,C=void 0!==N&&N,A=t.external,T=void 0!==A&&A,R=t.hideExternalIndicator,D=void 0!==R&&R,M=t.href,P=void 0===M?"":M,I=t.inverse,L=void 0!==I&&I,F=t.noFlex,B=void 0!==F&&F,z=t.onClick,H=t.small,W=void 0!==H&&H,U=t.standalone,V=void 0!==U&&U,G=t.linkButton,q=void 0!==G&&G,K=t.to,Y=t.leadingIcon,J=t.trailingIcon,X=o()(t,["aria-label","secondary","arrow","back","caps","children","className","danger","disabled","external","hideExternalIndicator","href","inverse","noFlex","onClick","small","standalone","linkButton","to","leadingIcon","trailingIcon"]),$=P||K||!z?K?"ROUTER_LINK":T?"EXTERNAL_LINK":"LINK":C?"BUTTON_DISABLED":"BUTTON",Z="BUTTON"===$||"BUTTON_DISABLED"===$?"button":"ROUTER_LINK"===$?d.b:"a",Q=("EXTERNAL_LINK"===$&&(r=Object(f._x)("(opens in a new tab)","screen reader text","google-site-kit")),"BUTTON_DISABLED"===$&&(r=Object(f._x)("(disabled)","screen reader text","google-site-kit")),r?a?"".concat(a," ").concat(r):"string"==typeof k?"".concat(k," ").concat(r):void 0:a),ee=Y,te=J;return _&&(ee=e.createElement(h.a,{width:14,height:14})),T&&!D&&(te=e.createElement(b.a,{width:14,height:14})),g&&!L&&(te=e.createElement(m.a,{width:14,height:14})),g&&L&&(te=e.createElement(p.a,{width:14,height:14})),e.createElement(Z,i()({"aria-label":Q,className:l()("googlesitekit-cta-link",S,{"googlesitekit-cta-link--secondary":s,"googlesitekit-cta-link--inverse":L,"googlesitekit-cta-link--small":W,"googlesitekit-cta-link--caps":y,"googlesitekit-cta-link--danger":x,"googlesitekit-cta-link--disabled":C,"googlesitekit-cta-link--standalone":V,"googlesitekit-cta-link--link-button":q,"googlesitekit-cta-link--no-flex":!!B}),disabled:C,href:"LINK"!==$&&"EXTERNAL_LINK"!==$||C?void 0:P,onClick:z,rel:"EXTERNAL_LINK"===$?"noopener noreferrer":void 0,ref:n,target:"EXTERNAL_LINK"===$?"_blank":void 0,to:K},X),!!ee&&e.createElement(v.a,{marginRight:5},ee),e.createElement("span",{className:"googlesitekit-cta-link__contents"},k),!!te&&e.createElement(v.a,{marginLeft:5},te))}));E.propTypes={arrow:u.a.bool,back:u.a.bool,caps:u.a.bool,children:u.a.node,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,external:u.a.bool,hideExternalIndicator:u.a.bool,href:u.a.string,inverse:u.a.bool,leadingIcon:u.a.node,linkButton:u.a.bool,noFlex:u.a.bool,onClick:u.a.func,small:u.a.bool,standalone:u.a.bool,to:u.a.string,trailingIcon:u.a.node},t.a=E}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="core/ui",i="activeContextID"},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"e",(function(){return l}));var r=n(91),i="xlarge",a="desktop",o="tablet",c="small";function l(){var e=Object(r.a)();return e>1280?i:e>960?a:e>600?o:c}},function(e,t,n){"use strict";n.d(t,"n",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"m",(function(){return o})),n.d(t,"s",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"r",(function(){return s})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"q",(function(){return g})),n.d(t,"k",(function(){return f})),n.d(t,"t",(function(){return m})),n.d(t,"u",(function(){return p})),n.d(t,"p",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"e",(function(){return v})),n.d(t,"a",(function(){return E})),n.d(t,"d",(function(){return _})),n.d(t,"c",(function(){return O})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return k}));var r="mainDashboard",i="entityDashboard",a="mainDashboardViewOnly",o="entityDashboardViewOnly",c="userInput",l="activation",s="splash",u="adminBar",d="adminBarViewOnly",g="settings",f="adBlockingRecovery",m="wpDashboard",p="wpDashboardViewOnly",h="moduleSetup",b="key-metrics",v="traffic",E="content",_="speed",O="monetization",y=[r,i,a,o,c,s,g,h],k=[a,o,d,p]},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/forms"},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="core/location"},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(25),i=n(19);function a(){var e=Object(i.a)();return r.g.includes(e)}},function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"h",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"i",(function(){return d}));var r="modules/tagmanager",i="account_create",a="container_create",o="web",c="amp",l="tagmanagerSetup",s="https://www.googleapis.com/auth/tagmanager.readonly",u="https://www.googleapis.com/auth/tagmanager.edit.containers",d="SETUP_WITH_ANALYTICS"},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(99),i=e._googlesitekitTrackingData||{},a=i.activeModules,o=void 0===a?[]:a,c=i.isSiteKitScreen,l=i.trackingEnabled,s=i.trackingID,u=i.referenceSiteURL,d=i.userIDHash,g=i.isAuthenticated,f={activeModules:o,trackingEnabled:l,trackingID:s,referenceSiteURL:u,userIDHash:d,isSiteKitScreen:c,userRoles:i.userRoles,isAuthenticated:g,pluginVersion:"1.134.0"},m=Object(r.a)(f),p=m.enableTracking,h=m.disableTracking,b=(m.isTrackingEnabled,m.initializeSnippet),v=m.trackEvent,E=m.trackEventOnce;function _(e){e?p():h()}c&&l&&b()}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="_googlesitekitDataLayer",i="data-googlesitekit-gtag"},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d}));n(12);var r=n(2),i="missing_required_scopes",a="insufficientPermissions",o="forbidden";function c(e){return(null==e?void 0:e.code)===i}function l(e){var t;return[a,o].includes(null==e||null===(t=e.data)||void 0===t?void 0:t.reason)}function s(e){var t;return!!(null==e||null===(t=e.data)||void 0===t?void 0:t.reconnectURL)}function u(e,t){return!(!(null==t?void 0:t.storeName)||l(e)||c(e)||s(e))}function d(e){return"internal_server_error"===(null==e?void 0:e.code)?Object(r.__)("There was a critical error on this website while fetching data","google-site-kit"):"invalid_json"===(null==e?void 0:e.code)?Object(r.__)("The server provided an invalid response","google-site-kit"):null==e?void 0:e.message}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return v})),n.d(t,"f",(function(){return E})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return O})),n.d(t,"b",(function(){return y}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=(n(27),n(8));function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u,d="googlesitekit_",g="".concat(d).concat("1.134.0","_").concat(e._googlesitekitBaseData.storagePrefix,"_"),f=["sessionStorage","localStorage"],m=[].concat(f),p=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e[n]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,a="__storage_test__",r.setItem(a,a),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt("return",t.t0 instanceof DOMException&&(22===t.t0.code||1014===t.t0.code||"QuotaExceededError"===t.t0.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.t0.name)&&0!==r.length);case 13:case"end":return t.stop()}}),t,null,[[3,10]])})));return function(e){return t.apply(this,arguments)}}();function h(){return b.apply(this,arguments)}function b(){return(b=o()(i.a.mark((function t(){var n,r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:n=l(m),t.prev=3,n.s();case 5:if((r=n.n()).done){t.next=15;break}if(a=r.value,!u){t.next=9;break}return t.abrupt("continue",13);case 9:return t.next=11,p(a);case 11:if(!t.sent){t.next=13;break}u=e[a];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),n.e(t.t0);case 20:return t.prev=20,n.f(),t.finish(20);case 23:return void 0===u&&(u=null),t.abrupt("return",u);case 25:case"end":return t.stop()}}),t,null,[[3,17,20,23]])})))).apply(this,arguments)}var v=function(){var e=o()(i.a.mark((function e(t){var n,r,a,o,c,l,s;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!(n=e.sent)){e.next=10;break}if(!(r=n.getItem("".concat(g).concat(t)))){e.next=10;break}if(a=JSON.parse(r),o=a.timestamp,c=a.ttl,l=a.value,s=a.isError,!o||c&&!(Math.round(Date.now()/1e3)-o<c)){e.next=10;break}return e.abrupt("return",{cacheHit:!0,value:l,isError:s});case 10:return e.abrupt("return",{cacheHit:!1,value:void 0});case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var t=o()(i.a.mark((function t(n,r){var a,o,l,s,u,d,f,m,p=arguments;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=p.length>2&&void 0!==p[2]?p[2]:{},o=a.ttl,l=void 0===o?c.b:o,s=a.timestamp,u=void 0===s?Math.round(Date.now()/1e3):s,d=a.isError,f=void 0!==d&&d,t.next=3,h();case 3:if(!(m=t.sent)){t.next=14;break}return t.prev=5,m.setItem("".concat(g).concat(n),JSON.stringify({timestamp:u,ttl:l,value:r,isError:f})),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(5),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[5,10]])})));return function(e,n){return t.apply(this,arguments)}}(),_=function(){var t=o()(i.a.mark((function t(n){var r,a;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(r=t.sent)){t.next=14;break}return t.prev=4,a=n.startsWith(d)?n:"".concat(g).concat(n),r.removeItem(a),t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",!1);case 14:return t.abrupt("return",!1);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e){return t.apply(this,arguments)}}(),O=function(){var t=o()(i.a.mark((function t(){var n,r,a,o;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,h();case 2:if(!(n=t.sent)){t.next=14;break}for(t.prev=4,r=[],a=0;a<n.length;a++)0===(o=n.key(a)).indexOf(d)&&r.push(o);return t.abrupt("return",r);case 10:return t.prev=10,t.t0=t.catch(4),e.console.warn("Encountered an unexpected storage error:",t.t0),t.abrupt("return",[]);case 14:return t.abrupt("return",[]);case 15:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(){return t.apply(this,arguments)}}(),y=function(){var e=o()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h();case 2:if(!e.sent){e.next=25;break}return e.next=6,O();case 6:t=e.sent,n=l(t),e.prev=8,n.s();case 10:if((r=n.n()).done){e.next=16;break}return a=r.value,e.next=14,_(a);case 14:e.next=10;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(8),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",!0);case 25:return e.abrupt("return",!1);case 26:case"end":return e.stop()}}),e,null,[[8,18,21,24]])})));return function(){return e.apply(this,arguments)}}()}).call(this,n(26))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return u})),n.d(t,"g",(function(){return d}));var r="non_https_site",i="modules/reader-revenue-manager",a="reader-revenue-manager",o={ONBOARDING_COMPLETE:"ONBOARDING_COMPLETE",ONBOARDING_ACTION_REQUIRED:"ONBOARDING_ACTION_REQUIRED",PENDING_VERIFICATION:"PENDING_VERIFICATION",UNSPECIFIED:"ONBOARDING_STATE_UNSPECIFIED"},c="READER_REVENUE_MANAGER_SHOW_PUBLICATION_APPROVED_NOTIFICATION",l="rrm_module_setup_banner_dismissed_key",s="readerRevenueManagerSetupForm",u="showPublicationCreate",d="resetPublications"},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r={BOXES:"boxes",COMPOSITE:"composite"},i={QUARTER:"quarter",HALF:"half",FULL:"full"},a="core/widgets"},,function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(24);function PreviewBlock(t){var n,r,a=t.className,o=t.width,c=t.height,u=t.shape,d=t.padding,g=t.smallWidth,f=t.smallHeight,m=t.tabletWidth,p=t.tabletHeight,h=t.desktopWidth,b=t.desktopHeight,v=Object(s.e)(),E={width:(n={},i()(n,s.b,g),i()(n,s.c,m),i()(n,s.a,h),i()(n,s.d,h),n),height:(r={},i()(r,s.b,f),i()(r,s.c,p),i()(r,s.a,b),i()(r,s.d,h),r)};return e.createElement("div",{className:l()("googlesitekit-preview-block",a,{"googlesitekit-preview-block--padding":d}),style:{width:E.width[v]||o,height:E.height[v]||c}},e.createElement("div",{className:l()("googlesitekit-preview-block__wrapper",{"googlesitekit-preview-block__wrapper--circle":"circular"===u})}))}PreviewBlock.propTypes={className:o.a.string,width:o.a.string,height:o.a.string,shape:o.a.string,padding:o.a.bool,smallWidth:o.a.string,smallHeight:o.a.string,tabletWidth:o.a.string,tabletHeight:o.a.string,desktopWidth:o.a.string,desktopHeight:o.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(4))},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(25),i=n(19),a=r.n,o=r.l;function c(){var e=Object(i.a)();return e===r.n||e===r.o?a:e===r.l||e===r.m?o:null}},,,,function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return BannerNotification}));var r=n(21),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(17),u=n.n(s),d=n(15),g=n.n(d),f=n(1),m=n.n(f),p=n(13),h=n.n(p),b=n(238),v=n(244),E=n(92),_=n(91),O=n(0),y=n(108),k=n(3),j=n(16),S=n(89),w=n(39),x=n(24),N=n(191),C=n(192),A=n(193),T=n(203),R=n(205),D=n(75),M=n(112),P=n(130),I=n(32),L=n(206);function BannerNotification(t){var n,r=t.badgeLabel,a=t.children,c=t.className,s=void 0===c?"":c,d=t.ctaLabel,f=t.ctaLink,m=t.ctaTarget,p=t.description,F=t.dismiss,B=t.dismissExpires,z=void 0===B?0:B,H=t.format,W=void 0===H?"":H,U=t.id,V=t.isDismissible,G=void 0===V||V,q=t.learnMoreDescription,K=t.learnMoreLabel,Y=t.learnMoreURL,J=t.learnMoreTarget,X=void 0===J?D.a.EXTERNAL:J,$=t.logo,Z=t.module,Q=t.moduleName,ee=t.onCTAClick,te=t.onView,ne=t.onDismiss,re=t.onLearnMoreClick,ie=t.showOnce,ae=void 0!==ie&&ie,oe=t.SmallImageSVG,ce=t.title,le=t.type,se=t.WinImageSVG,ue=t.showSmallWinImage,de=void 0===ue||ue,ge=t.smallWinImageSVGWidth,fe=void 0===ge?75:ge,me=t.smallWinImageSVGHeight,pe=void 0===me?75:me,he=t.mediumWinImageSVGWidth,be=void 0===he?105:he,ve=t.mediumWinImageSVGHeight,Ee=void 0===ve?105:ve,_e=t.rounded,Oe=void 0!==_e&&_e,ye=t.footer,ke=t.secondaryPane,je=t.ctaComponent,Se=Object(O.useState)(!1),we=g()(Se,2),xe=we[0],Ne=we[1],Ce=Object(O.useState)(!1),Ae=g()(Ce,2),Te=Ae[0],Re=Ae[1],De="notification::dismissed::".concat(U),Me=function(){return Object(w.f)(De,new Date,{ttl:null})},Pe=Object(_.a)(),Ie=Object(x.e)(),Le=Object(b.a)(),Fe=Object(O.useState)(!1),Be=g()(Fe,2),ze=Be[0],He=Be[1],We=Object(O.useRef)(),Ue=Object(v.a)(We,{rootMargin:"".concat(-Object(P.a)(Object(S.c)(Ie)),"px 0px 0px 0px"),threshold:0});Object(O.useEffect)((function(){!ze&&(null==Ue?void 0:Ue.isIntersecting)&&("function"==typeof te&&te(),He(!0))}),[U,te,ze,Ue]);var Ve=Pe>=600;Object(E.a)(u()(l.a.mark((function e(){var t,n;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(z>0)){e.next=3;break}return e.next=3,$e();case 3:if(!G){e.next=9;break}return e.next=6,Object(w.d)(De);case 6:t=e.sent,n=t.cacheHit,Re(n);case 9:if(!ae){e.next=12;break}return e.next=12,Me();case 12:case"end":return e.stop()}}),e)}))));var Ge=function(){var e=u()(l.a.mark((function e(t){return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),t.preventDefault(),!ne){e.next=5;break}return e.next=5,ne(t);case 5:Ke();case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qe=Object(y.a)(f)&&"_blank"!==m,Ke=function(){return qe||Ne(!0),new Promise((function(e){setTimeout(u()(l.a.mark((function t(){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Me();case 2:Le()&&Re(!0),n=new Event("notificationDismissed"),document.dispatchEvent(n),e();case 6:case"end":return t.stop()}}),t)}))),350)}))},Ye=Object(k.useSelect)((function(e){return!!f&&e(I.a).isNavigatingTo(f)})),Je=Object(k.useDispatch)(I.a).navigateTo,Xe=function(){var e=u()(l.a.mark((function e(t){var n,r,i;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.persist(),qe&&!t.defaultPrevented&&t.preventDefault(),n=!0,!ee){e.next=12;break}return e.next=6,ee(t);case 6:if(e.t0=e.sent,e.t0){e.next=9;break}e.t0={};case 9:r=e.t0,i=r.dismissOnCTAClick,n=void 0===i||i;case 12:if(!G||!n){e.next=15;break}return e.next=15,Ke();case 15:qe&&Je(f);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),$e=function(){var e=u()(l.a.mark((function e(){var t,n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(w.d)(De);case 2:if(t=e.sent,!(n=t.value)){e.next=10;break}if((r=new Date(n)).setSeconds(r.getSeconds()+parseInt(z,10)),!(r<new Date)){e.next=10;break}return e.next=10,Object(w.c)(De);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();if(!Ye&&G&&(void 0===Te||Te))return null;var Ze=!Ye&&xe?"is-closed":"is-open",Qe=Object(M.d)(W),et=Object(M.c)(W),tt=Object(M.a)(W),nt=Object(M.b)({format:W,hasErrorOrWarning:"win-error"===le||"win-warning"===le,hasSmallImageSVG:!!oe,hasWinImageSVG:!!se});return e.createElement(N.a,{id:U,className:h()(s,(n={},o()(n,"googlesitekit-publisher-win--".concat(W),W),o()(n,"googlesitekit-publisher-win--".concat(le),le),o()(n,"googlesitekit-publisher-win--".concat(Ze),Ze),o()(n,"googlesitekit-publisher-win--rounded",Oe),n)),secondaryPane:ke,ref:We},$&&e.createElement(R.a,{module:Z,moduleName:Q}),oe&&e.createElement(j.a,{size:1,className:"googlesitekit-publisher-win__small-media"},e.createElement(oe,null)),e.createElement(j.a,i()({},nt,tt,{className:"googlesitekit-publisher-win__content"}),e.createElement(C.a,{title:ce,badgeLabel:r,smallWinImageSVGHeight:pe,smallWinImageSVGWidth:fe,winImageFormat:W,WinImageSVG:!Ve&&de?se:void 0}),e.createElement(L.a,{description:p,learnMoreURL:Y,learnMoreLabel:K,learnMoreTarget:X,learnMoreDescription:q,onLearnMoreClick:re}),a,e.createElement(A.a,{ctaLink:f,ctaLabel:d,ctaComponent:je,ctaTarget:m,ctaCallback:Xe,dismissLabel:G?F:void 0,dismissCallback:Ge}),ye&&e.createElement("div",{className:"googlesitekit-publisher-win__footer"},ye)),se&&(Ve||!de)&&e.createElement(j.a,i()({},Qe,et,{alignBottom:"larger"===W,className:"googlesitekit-publisher-win__image"}),e.createElement("div",{className:"googlesitekit-publisher-win__image-".concat(W)},e.createElement(se,{style:{maxWidth:be,maxHeight:Ee}}))),e.createElement(T.a,{type:le}))}n.d(t,"a",(function(){return D.a})),BannerNotification.propTypes={id:m.a.string.isRequired,className:m.a.string,title:m.a.string.isRequired,description:m.a.node,learnMoreURL:m.a.string,learnMoreDescription:m.a.string,learnMoreLabel:m.a.string,learnMoreTarget:m.a.oneOf(Object.values(D.a)),WinImageSVG:m.a.elementType,SmallImageSVG:m.a.elementType,format:m.a.string,ctaLink:m.a.string,ctaLabel:m.a.string,type:m.a.string,dismiss:m.a.string,isDismissible:m.a.bool,logo:m.a.bool,module:m.a.string,moduleName:m.a.string,dismissExpires:m.a.number,showOnce:m.a.bool,onCTAClick:m.a.func,onView:m.a.func,onDismiss:m.a.func,onLearnMoreClick:m.a.func,badgeLabel:m.a.string,rounded:m.a.bool,footer:m.a.node,secondaryPane:m.a.node,showSmallWinImage:m.a.bool,smallWinImageSVGWidth:m.a.number,smallWinImageSVGHeight:m.a.number,mediumWinImageSVGWidth:m.a.number,mediumWinImageSVGHeight:m.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r,i;n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a=new Set((null===(r=e)||void 0===r||null===(i=r._googlesitekitBaseData)||void 0===i?void 0:i.enabledFeatures)||[]),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a;return t instanceof Set&&t.has(e)}}).call(this,n(26))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(18),a=n(70);function o(t){var n=t.moduleName,o=t.FallbackComponent,c=t.IncompleteComponent;return function(t){function WhenActiveComponent(a){var l=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!l)return null;var s=o||a.WidgetNull||null;if(!1===l.active)return s&&e.createElement(s,a);if(!1===l.connected){var u=c||s;return u&&e.createElement(u,a)}return e.createElement(t,a)}return WhenActiveComponent.displayName="When".concat(Object(a.c)(n),"Active"),(t.displayName||t.name)&&(WhenActiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenActiveComponent}}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(36);function i(e){return function(){e[r.a]=e[r.a]||[],e[r.a].push(arguments)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var r="modules/search-console",i=1},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=Object(r.createContext)(""),a=(i.Consumer,i.Provider);t.b=i},,function(e,t,n){"use strict";n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return b})),n.d(t,"d",(function(){return E}));var r=n(6),i=n.n(r),a=n(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var c=a.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 l=function SvgInfoIcon(e){return a.createElement("svg",o({viewBox:"0 0 20 20",fill:"currentColor"},e),c)};function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=a.createElement("path",{d:"M0 4h2v7H0zm0-4h2v2H0z",fill:"currentColor",fillRule:"evenodd"});var d,g=function SvgSuggestionIcon(e){return a.createElement("svg",s({viewBox:"0 0 2 11"},e),u)},f=n(177),m=n(73),p="warning",h="info",b="suggestion",v=(d={},i()(d,h,l),i()(d,p,f.a),i()(d,b,g),d),E=function(e){return v[e]||m.a}},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return d}));var r,i=n(6),a=n.n(i),o=n(42),c=n(96),l=n(93),s=(r={},a()(r,o.c.QUARTER,3),a()(r,o.c.HALF,6),a()(r,o.c.FULL,12),r),u="googlesitekit-hidden",d=[c.a,l.a]},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(11),l=n(20);function CTA(t){var n=t.title,r=t.headerText,i=t.headerContent,a=t.description,s=t.ctaLink,u=t.ctaLabel,d=t.ctaLinkExternal,g=t.ctaType,f=t.error,m=t.onClick,p=t["aria-label"],h=t.children;return e.createElement("div",{className:o()("googlesitekit-cta",{"googlesitekit-cta--error":f})},(r||i)&&e.createElement("div",{className:"googlesitekit-cta__header"},r&&e.createElement("h2",{className:"googlesitekit-cta__header_text"},r),i),e.createElement("div",{className:"googlesitekit-cta__body"},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),u&&"button"===g&&e.createElement(c.Button,{"aria-label":p,href:s,onClick:m},u),u&&"link"===g&&e.createElement(l.a,{href:s,onClick:m,"aria-label":p,external:d,hideExternalIndicator:d,arrow:!0},u),h))}CTA.propTypes={title:i.a.string.isRequired,headerText:i.a.string,description:i.a.oneOfType([i.a.string,i.a.node]),ctaLink:i.a.string,ctaLinkExternal:i.a.bool,ctaLabel:i.a.string,ctaType:i.a.string,"aria-label":i.a.string,error:i.a.bool,onClick:i.a.func,children:i.a.node,headerContent:i.a.node},CTA.defaultProps={title:"",headerText:"",headerContent:"",description:"",ctaLink:"",ctaLabel:"",ctaType:"link",error:!1,onClick:function(){}},t.a=CTA}).call(this,n(4))},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a}));var r=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},i=function(e){return e.replace(/([a-z0-9]{1})([A-Z]{1})/g,"$1_$2").toUpperCase()};function a(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(108),o=n(2),c=n(8);function ErrorText(t){var n=t.message,r=t.reconnectURL,i=t.noPrefix;if(!n)return null;var l=n;void 0!==i&&i||(l=Object(o.sprintf)( /* translators: %s: Error message */ Object(o.__)("Error: %s","google-site-kit"),n)),r&&Object(a.a)(r)&&(l=l+" "+Object(o.sprintf)( /* translators: %s: Reconnect URL */ Object(o.__)('To fix this, <a href="%s">redo the plugin setup</a>.',"google-site-kit"),r));return e.createElement("div",{className:"googlesitekit-error-text"},e.createElement("p",{dangerouslySetInnerHTML:Object(c.G)(l,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href"]})}))}ErrorText.propTypes={message:i.a.string.isRequired,reconnectURL:i.a.string,noPrefix:i.a.bool},ErrorText.defaultProps={reconnectURL:"",noPrefix:!1},t.a=ErrorText}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(31),i=n.n(r),a=n(12),o=n(109);function c(e){var t=function(e){return"string"==typeof e&&/^[a-zA-Z0-9_]+$/.test(e)};return"string"==typeof e?e.split(",").every(t):Object(o.c)(e,(function(e){var n=e.hasOwnProperty("name")&&t(e.name);if(!e.hasOwnProperty("expression"))return n;var r="string"==typeof e.expression;return n&&r}),t)}function l(e){return Object(o.c)(e,(function(e){return e.hasOwnProperty("name")&&"string"==typeof e.name}))}function s(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);return r.includes("filterType")&&r.includes("value")}return!1}))}function u(e){var t=["string"];return Object.keys(e).every((function(n){if(t.includes(i()(e[n])))return!0;if(Array.isArray(e[n]))return e[n].every((function(e){return t.includes(i()(e))}));if(Object(a.isPlainObject)(e[n])){var r=Object.keys(e[n]);if(r.includes("filterType")&&!["numericFilter","betweenFilter"].includes(e[n].filterType))return!1;if(r.includes("filterType")&&"numericFilter"===e[n].filterType||!r.includes("filterType"))return!(r.includes("value")&&Object(a.isPlainObject)(e[n].value)&&!Object.keys(e[n].value).includes("int64Value"))&&(r.includes("operation")&&r.includes("value"));if(r.includes("filterType")&&"betweenFilter"===e[n].filterType){var o=["fromValue","toValue"].every((function(t){return!(r.includes(t)&&Object(a.isPlainObject)(e[n][t])&&!Object.keys(e[n][t]).includes("int64Value"))}));return r.includes("fromValue")&&r.includes("toValue")&&o}}return!1}))}function d(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(a.isPlainObject)(e)&&((!e.hasOwnProperty("desc")||"boolean"==typeof e.desc)&&(e.metric?!e.dimension&&"string"==typeof(null===(t=e.metric)||void 0===t?void 0:t.metricName):!!e.dimension&&"string"==typeof(null===(n=e.dimension)||void 0===n?void 0:n.dimensionName)));var t,n}))}},function(e,t,n){"use strict";function Null(){return null}n.d(t,"a",(function(){return Null}))},function(e,t,n){"use strict";n.r(t),n.d(t,"CONTEXT_MAIN_DASHBOARD_KEY_METRICS",(function(){return r})),n.d(t,"CONTEXT_MAIN_DASHBOARD_TRAFFIC",(function(){return i})),n.d(t,"CONTEXT_MAIN_DASHBOARD_CONTENT",(function(){return a})),n.d(t,"CONTEXT_MAIN_DASHBOARD_SPEED",(function(){return o})),n.d(t,"CONTEXT_MAIN_DASHBOARD_MONETIZATION",(function(){return c})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_TRAFFIC",(function(){return l})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_CONTENT",(function(){return s})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_SPEED",(function(){return u})),n.d(t,"CONTEXT_ENTITY_DASHBOARD_MONETIZATION",(function(){return d}));var r="mainDashboardKeyMetrics",i="mainDashboardTraffic",a="mainDashboardContent",o="mainDashboardSpeed",c="mainDashboardMonetization",l="entityDashboardTraffic",s="entityDashboardContent",u="entityDashboardSpeed",d="entityDashboardMonetization";t.default={CONTEXT_MAIN_DASHBOARD_KEY_METRICS:r,CONTEXT_MAIN_DASHBOARD_TRAFFIC:i,CONTEXT_MAIN_DASHBOARD_CONTENT:a,CONTEXT_MAIN_DASHBOARD_SPEED:o,CONTEXT_MAIN_DASHBOARD_MONETIZATION:c,CONTEXT_ENTITY_DASHBOARD_TRAFFIC:l,CONTEXT_ENTITY_DASHBOARD_CONTENT:s,CONTEXT_ENTITY_DASHBOARD_SPEED:u,CONTEXT_ENTITY_DASHBOARD_MONETIZATION:d}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={EXTERNAL:"external",INTERNAL:"internal"}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k})),n.d(t,"d",(function(){return j})),n.d(t,"e",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return N}));var r=n(15),i=n.n(r),a=n(31),o=n.n(a),c=n(6),l=n.n(c),s=n(22),u=n.n(s),d=n(12),g=n(55),f=n.n(g),m=n(2);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=_(e,t),r=n.formatUnit,i=n.formatDecimal;try{return r()}catch(e){return i()}},v=function(e){var t=E(e),n=t.hours,r=t.minutes,i=t.seconds;return i=("0"+i).slice(-2),r=("0"+r).slice(-2),"00"===(n=("0"+n).slice(-2))?"".concat(r,":").concat(i):"".concat(n,":").concat(r,":").concat(i)},E=function(e){return e=parseInt(e,10),Number.isNaN(e)&&(e=0),{hours:Math.floor(e/60/60),minutes:Math.floor(e/60%60),seconds:Math.floor(e%60)}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e),r=n.hours,i=n.minutes,a=n.seconds;return{hours:r,minutes:i,seconds:a,formatUnit:function(){var n=t.unitDisplay,o=h(h({unitDisplay:void 0===n?"short":n},u()(t,["unitDisplay"])),{},{style:"unit"});return 0===e?w(a,h(h({},o),{},{unit:"second"})):Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?w(a,h(h({},o),{},{unit:"second"})):"",i?w(i,h(h({},o),{},{unit:"minute"})):"",r?w(r,h(h({},o),{},{unit:"hour"})):"").trim()},formatDecimal:function(){var t=Object(m.sprintf)(// translators: %s: number of seconds with "s" as the abbreviated unit. Object(m.__)("%ds","google-site-kit"),a);if(0===e)return t;var n=Object(m.sprintf)(// translators: %s: number of minutes with "m" as the abbreviated unit. Object(m.__)("%dm","google-site-kit"),i),o=Object(m.sprintf)(// translators: %s: number of hours with "h" as the abbreviated unit. Object(m.__)("%dh","google-site-kit"),r);return Object(m.sprintf)( /* translators: 1: formatted seconds, 2: formatted minutes, 3: formatted hours */ Object(m._x)("%3$s %2$s %1$s","duration of time: hh mm ss","google-site-kit"),a?t:"",i?n:"",r?o:"").trim()}}},O=function(e){return 1e6<=e?Math.round(e/1e5)/10:1e4<=e?Math.round(e/1e3):1e3<=e?Math.round(e/100)/10:e},y=function(e){var t={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in millions. Object(m.__)("%sM","google-site-kit"),w(O(e),e%10==0?{}:t)):1e4<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e))):1e3<=e?Object(m.sprintf)(// translators: %s: an abbreviated number in thousands. Object(m.__)("%sK","google-site-kit"),w(O(e),e%10==0?{}:t)):w(e,{signDisplay:"never",maximumFractionDigits:1})};function k(e){var t={};return"%"===e?t={style:"percent",maximumFractionDigits:2}:"s"===e?t={style:"duration",unitDisplay:"narrow"}:e&&"string"==typeof e?t={style:"currency",currency:e}:Object(d.isPlainObject)(e)&&(t=h({},e)),t}function j(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=k(t),r=n.style,i=void 0===r?"metric":r;return"metric"===i?y(e):"duration"===i?b(e,n):"durationISO"===i?v(e):w(e,n)}var S=f()(console.warn),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?N():n,a=u()(t,["locale"]);try{return new Intl.NumberFormat(r,a).format(e)}catch(t){S("Site Kit numberFormat error: Intl.NumberFormat( ".concat(JSON.stringify(r),", ").concat(JSON.stringify(a)," ).format( ").concat(o()(e)," )"),t.message)}for(var c={currencyDisplay:"narrow",currencySign:"accounting",style:"unit"},l=["signDisplay","compactDisplay"],s={},d=0,g=Object.entries(a);d<g.length;d++){var f=i()(g[d],2),m=f[0],p=f[1];c[m]&&p===c[m]||(l.includes(m)||(s[m]=p))}try{return new Intl.NumberFormat(r,s).format(e)}catch(t){return new Intl.NumberFormat(r).format(e)}},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?N():n,i=t.style,a=void 0===i?"long":i,o=t.type,c=void 0===o?"conjunction":o;if(Intl.ListFormat){var l=new Intl.ListFormat(r,{style:a,type:c});return l.format(e)} /* translators: used between list items, there is a space after the comma. */var s=Object(m.__)(", ","google-site-kit");return e.join(s)},N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=Object(d.get)(t,["_googlesitekitLegacyData","locale"]);if(n){var r=n.match(/^(\w{2})?(_)?(\w{2})/);if(r&&r[0])return r[0].replace(/_/g,"-")}return t.navigator.language}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c}));var r=n(31),i=n.n(r),a=n(79),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:a.a.sanitize(e,t)}};function c(e){var t,n="object"===i()(e)?e.toString():e;return null==n||null===(t=n.replace)||void 0===t?void 0:t.call(n,/\/+$/,"")}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return i}));var r=n(148),i=n.n(r)()(e)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return IconWrapper}));var r=n(1),i=n.n(r);function IconWrapper(t){var n=t.children,r=t.marginLeft,i=t.marginRight;return e.createElement("span",{className:"googlesitekit-icon-wrapper",style:{marginLeft:r,marginRight:i}},n)}IconWrapper.propTypes={children:i.a.node.isRequired,marginLeft:i.a.number,marginRight:i.a.number}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M5 21a1.99 1.99 0 01-1.425-.575A1.99 1.99 0 013 19V5c0-.55.192-1.017.575-1.4.4-.4.875-.6 1.425-.6h7v2H5v14h14v-7h2v7c0 .55-.2 1.025-.6 1.425-.383.383-.85.575-1.4.575H5zm4.7-5.3l-1.4-1.4L17.6 5H14V3h7v7h-2V6.4l-9.3 9.3z"});t.a=function SvgExternal(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return c}));var r=n(108);function i(e){try{return new URL(e).pathname}catch(e){}return null}function a(e,t){try{return new URL(t,e).href}catch(e){}return("string"==typeof e?e:"")+("string"==typeof t?t:"")}function o(e){return"string"!=typeof e?e:e.replace(/^https?:\/\/(www\.)?/i,"").replace(/\/$/,"")}function c(e,t){if(!Object(r.a)(e))return e;if(e.length<=t)return e;var n=new URL(e),i=e.replace(n.origin,"");if(i.length<t)return i;var a=i.length-Math.floor(t)+1;return"…"+i.substr(a)}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a);function ChangeArrow(t){var n=t.direction,r=t.invertColor,i=t.width,a=t.height;return e.createElement("svg",{className:o()("googlesitekit-change-arrow","googlesitekit-change-arrow--".concat(n),{"googlesitekit-change-arrow--inverted-color":r}),width:i,height:a,viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z",fill:"currentColor"}))}ChangeArrow.propTypes={direction:i.a.string,invertColor:i.a.bool,width:i.a.number,height:i.a.number},ChangeArrow.defaultProps={direction:"up",invertColor:!1,width:9,height:9},t.a=ChangeArrow}).call(this,n(4))},function(e,t,n){"use strict";var r=n(15),i=n.n(r),a=n(262),o=n(1),c=n.n(o),l=n(0),s=n(133);function Portal(e){var t=e.children,n=e.slug,r=Object(l.useState)(document.createElement("div")),o=i()(r,1)[0];return Object(a.a)((function(){n&&o.classList.add("googlesitekit-portal-".concat(n));var e=document.querySelector(".googlesitekit-plugin")||document.body;return e.appendChild(o),function(){return e.removeChild(o)}})),Object(s.createPortal)(t,o)}Portal.propTypes={slug:c.a.string,children:c.a.node},Portal.defaultProps={slug:"",children:null},t.a=Portal},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(3),a=n(42);function o(e,t,n){var o=Object(i.useDispatch)(a.a),c=o.setWidgetState,l=o.unsetWidgetState;Object(r.useEffect)((function(){return c(e,t,n),function(){l(e,t,n)}}),[e,t,n,c,l])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(10),i=n.n(r),a=function(e,t){var n=t.dateRangeLength;i()(Array.isArray(e),"report must be an array to partition."),i()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=-1*n;return{currentRange:e.slice(r),compareRange:e.slice(2*r,r)}}},function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(15),o=n.n(a),c=n(0),l=n(404),s=n(176);t.a=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=Object(c.useState)(Object(l.a)(r.location.href,t)||n),u=o()(a,2),d=u[0],g=u[1],f=function(e){g(e);var n=Object(s.a)(r.location.href,i()({},t,e));r.history.replaceState(null,"",n)};return[d,f]}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c}));var r=n(24),i=n(130);function a(t,n){var r=document.querySelector(t);if(!r)return 0;var i=r.getBoundingClientRect().top,a=o(n);return i+e.scrollY-a}function o(e){var t=c(e),n=document.querySelectorAll(".googlesitekit-navigation, .googlesitekit-entity-header");return t+=Array.from(n).reduce((function(e,t){return e+t.offsetHeight}),0)}function c(t){var n=0,a=document.querySelector(".googlesitekit-header");return n=!!a&&"sticky"===e.getComputedStyle(a).position?function(e){var t=document.querySelector(".googlesitekit-header");if(t){if(e===r.b)return t.offsetHeight;var n=t.getBoundingClientRect().bottom;return n<0?0:n}return 0}(t):function(e){var t=document.querySelector("#wpadminbar");return t&&e!==r.b?t.offsetHeight:0}(t),(n=Object(i.a)(n))<0?0:n}}).call(this,n(26))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"});t.a=function SvgWarning(e){return r.createElement("svg",i({fill:"currentColor",viewBox:"0 0 24 24","aria-labelledby":"warning-title warning-desc"},e),a,o)}},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return RecoverableModules}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(18),l=n(67);function RecoverableModules(t){var n=t.moduleSlugs,r=Object(o.useSelect)((function(e){var t=e(c.a).getModules();if(void 0!==t)return n.map((function(e){return t[e].name}))}));if(void 0===r)return null;var i=1===r.length?Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data was previously shared by an admin who no longer has access. Please contact another admin to restore it.","google-site-kit"),r[0]):Object(a.sprintf)( /* translators: %s: List of module names */ Object(a.__)("The data for the following modules was previously shared by an admin who no longer has access: %s. Please contact another admin to restore it.","google-site-kit"),r.join(Object(a._x)(", ","Recoverable modules","google-site-kit")));return e.createElement(l.a,{title:Object(a.__)("Data Unavailable","google-site-kit"),description:i})}RecoverableModules.propTypes={moduleSlugs:i.a.arrayOf(i.a.string).isRequired}}).call(this,n(4))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportZero}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(18),l=n(67);function ReportZero(t){var n=t.moduleSlug,r=Object(o.useSelect)((function(e){return e(c.a).getModule(n)}));return e.createElement(l.a,{title:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s Gathering Data","google-site-kit"),null==r?void 0:r.name),description:Object(a.sprintf)( /* translators: %s: Module name */ Object(a.__)("%s data is not yet available, please check back later","google-site-kit"),null==r?void 0:r.name)})}ReportZero.propTypes={moduleSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n(48),n(49)}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(226),i=n(84),a=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return"";var a=n.invertColor,o=void 0!==a&&a;return Object(r.a)(e.createElement(i.a,{direction:t>0?"up":"down",invertColor:o}))},o=function(e,t){return e>0&&t>0?e/t-1:e>0?1:t>0?-1:0}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(6),i=n.n(r),a=n(12),o=n(100),c=n(101);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(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 d(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=s(s({},u),t);i.referenceSiteURL&&(i.referenceSiteURL=i.referenceSiteURL.toString().replace(/\/+$/,""));var l=Object(o.a)(i,n),d=Object(c.a)(i,n,l,r),g={},f=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=JSON.stringify(t);g[r]||(g[r]=Object(a.once)(d)),g[r].apply(g,t)};return{enableTracking:function(){i.trackingEnabled=!0},disableTracking:function(){i.trackingEnabled=!1},initializeSnippet:l,isTrackingEnabled:function(){return!!i.trackingEnabled},trackEvent:d,trackEventOnce:f}}}).call(this,n(26))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(58),i=n(36),a=n(51);function o(t,n){var o,c=Object(r.a)(n),l=t.activeModules,s=t.referenceSiteURL,u=t.userIDHash,d=t.userRoles,g=void 0===d?[]:d,f=t.isAuthenticated,m=t.pluginVersion;return function(){var n=e.document;if(void 0===o&&(o=!!n.querySelector("script[".concat(i.b,"]"))),!o){o=!0;var r=(null==g?void 0:g.length)?g.join(","):"";c("js",new Date),c("config",t.trackingID,{groups:"site_kit",send_page_view:t.isSiteKitScreen,domain:s,plugin_version:m||"",enabled_features:Array.from(a.a).join(","),active_modules:l.join(","),authenticated:f?"1":"0",user_properties:{user_roles:r,user_identifier:u}});var d=n.createElement("script");return d.setAttribute(i.b,""),d.async=!0,d.src="https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a),n.head.appendChild(d),{scriptTagSrc:"https://www.googletagmanager.com/gtag/js?id=".concat(t.trackingID,"&l=").concat(i.a)}}}}}).call(this,n(26))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(5),i=n.n(r),a=n(6),o=n.n(a),c=n(17),l=n.n(c),s=n(58);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n,r){var a=Object(s.a)(t);return function(){var t=l()(i.a.mark((function t(o,c,l,s){var u;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.trackingEnabled){t.next=3;break}return t.abrupt("return");case 3:return n(),u={send_to:"site_kit",event_category:o,event_label:l,value:s},t.abrupt("return",new Promise((function(e){var t,n,i=setTimeout((function(){r.console.warn('Tracking event "'.concat(c,'" (category "').concat(o,'") took too long to fire.')),e()}),1e3),l=function(){clearTimeout(i),e()};a("event",c,d(d({},u),{},{event_callback:l})),(null===(t=r._gaUserPrefs)||void 0===t||null===(n=t.ioo)||void 0===n?void 0:n.call(t))&&l()})));case 6:case"end":return t.stop()}}),t)})));return function(e,n,r,i){return t.apply(this,arguments)}}()}},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.label,a=t.className,c=t.hasLeftSpacing,s=void 0!==c&&c,u=o()(t,["label","className","hasLeftSpacing"]);return e.createElement("span",i()({ref:n},u,{className:l()("googlesitekit-badge",a,{"googlesitekit-badge--has-left-spacing":s})}),r)}));g.displayName="Badge",g.propTypes={label:u.a.string.isRequired,hasLeftSpacing:u.a.bool},t.a=g}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportError}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(12),l=n(0),s=n(2),u=n(3),d=n(18),g=n(37),f=n(135),m=n(79),p=n(71),h=n(67),b=n(120),v=n(33);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(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){i()(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}function ReportError(t){var n,r=t.moduleSlug,i=t.error,a=Object(v.a)(),o=Object(u.useSelect)((function(e){return e(d.a).getModule(r)})),E=Array.isArray(i)?i:[i],O=function(e){return Object(g.e)(e)?a?(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Access lost to %s","google-site-kit"),null==o?void 0:o.name),Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("The administrator sharing this module with you has lost access to the %s service, so you won’t be able to see stats from it on the Site Kit dashboard. You can contact them or another administrator to restore access.","google-site-kit"),null==o?void 0:o.name)):(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Insufficient permissions in %s","google-site-kit"),null==o?void 0:o.name),Object(f.a)(e.message,o)):Object(g.b)(e)},y=Object(c.uniqWith)(E.map((function(e){var t;return _(_({},e),{},{message:O(e),reconnectURL:null===(t=e.data)||void 0===t?void 0:t.reconnectURL})})),(function(e,t){return e.message===t.message&&e.reconnectURL===t.reconnectURL})),k=E.some((function(e){return Object(g.e)(e)}));k||1!==y.length?!k&&y.length>1&&(n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data errors in %s","google-site-kit"),null==o?void 0:o.name)):n=Object(s.sprintf)( /* translators: %s: module name */ Object(s.__)("Data error in %s","google-site-kit"),null==o?void 0:o.name);var j=e.createElement(l.Fragment,null,y.map((function(t){var n,r=null==i||null===(n=i.data)||void 0===n?void 0:n.reconnectURL;return r?e.createElement(p.a,{key:t.message,message:t.message,reconnectURL:r}):e.createElement("p",{key:t.message},m.a.sanitize(t.message,{ALLOWED_TAGS:[]}))})));return e.createElement(h.a,{title:n,description:j,error:!0},e.createElement(b.a,{moduleSlug:r,error:i}))}ReportError.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s);function VisuallyHidden(t){var n=t.className,r=t.children,a=o()(t,["className","children"]);return r?e.createElement("span",i()({},a,{className:u()("screen-reader-text",n)}),r):null}VisuallyHidden.propTypes={className:l.a.string,children:l.a.node},VisuallyHidden.defaultProps={className:""},t.a=VisuallyHidden}).call(this,n(4))},function(e,t,n){"use strict";n.r(t),n.d(t,"AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY",(function(){return r})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY",(function(){return i})),n.d(t,"AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION",(function(){return a})),n.d(t,"AREA_MAIN_DASHBOARD_CONTENT_PRIMARY",(function(){return o})),n.d(t,"AREA_MAIN_DASHBOARD_SPEED_PRIMARY",(function(){return c})),n.d(t,"AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY",(function(){return l})),n.d(t,"AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY",(function(){return s})),n.d(t,"AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY",(function(){return u})),n.d(t,"AREA_ENTITY_DASHBOARD_SPEED_PRIMARY",(function(){return d})),n.d(t,"AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY",(function(){return g}));var r="mainDashboardKeyMetricsPrimary",i="mainDashboardTrafficPrimary",a="mainDashboardTrafficAudienceSegmentation",o="mainDashboardContentPrimary",c="mainDashboardSpeedPrimary",l="mainDashboardMonetizationPrimary",s="entityDashboardTrafficPrimary",u="entityDashboardContentPrimary",d="entityDashboardSpeedPrimary",g="entityDashboardMonetizationPrimary";t.default={AREA_MAIN_DASHBOARD_KEY_METRICS_PRIMARY:r,AREA_MAIN_DASHBOARD_TRAFFIC_PRIMARY:i,AREA_MAIN_DASHBOARD_CONTENT_PRIMARY:o,AREA_MAIN_DASHBOARD_SPEED_PRIMARY:c,AREA_MAIN_DASHBOARD_MONETIZATION_PRIMARY:l,AREA_ENTITY_DASHBOARD_TRAFFIC_PRIMARY:s,AREA_ENTITY_DASHBOARD_CONTENT_PRIMARY:u,AREA_ENTITY_DASHBOARD_SPEED_PRIMARY:d,AREA_ENTITY_DASHBOARD_MONETIZATION_PRIMARY:g}},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l}));var r=n(31),i=n.n(r);function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0};return"string"==typeof e?n(e):!("object"!==i()(e)||!t(e))||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e?n(e):"object"===i()(e)&&t(e)}))}function o(e){var t=e.startDate,n=e.endDate,r=t&&t.match(/^\d{4}-\d{2}-\d{2}$/),i=n&&n.match(/^\d{4}-\d{2}-\d{2}$/);return r&&i}function c(e){var t=function(e){var t=e.hasOwnProperty("fieldName")&&!!e.fieldName,n=e.hasOwnProperty("sortOrder")&&/(ASCENDING|DESCENDING)/i.test(e.sortOrder.toString());return t&&n};return Array.isArray(e)?e.every((function(e){return"object"===i()(e)&&t(e)})):"object"===i()(e)&&t(e)}function l(e){return"string"==typeof e||!!Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}},,function(e,t,n){"use strict";(function(e,r){n.d(t,"c",(function(){return v})),n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return TourTooltips}));var i=n(6),a=n.n(i),o=n(92),c=n(30),l=n(1),s=n.n(l),u=n(2),d=n(3),g=n(23),f=n(7),m=n(35),p=n(136),h=n(19);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var v={options:{arrowColor:"#3c7251",backgroundColor:"#3c7251",overlayColor:"rgba(0, 0, 0, 0.6)",textColor:"#fff",zIndex:2e4},spotlight:{border:"2px solid #3c7251",backgroundColor:"#fff"}},E={back:Object(u.__)("Back","google-site-kit"),close:Object(u.__)("Close","google-site-kit"),last:Object(u.__)("Got it","google-site-kit"),next:Object(u.__)("Next","google-site-kit")},_={disableAnimation:!0,styles:{arrow:{length:8,margin:56,spread:16},floater:{filter:"drop-shadow(rgba(60, 64, 67, 0.3) 0px 1px 2px) drop-shadow(rgba(60, 64, 67, 0.15) 0px 2px 6px)"}}},O="feature_tooltip_view",y="feature_tooltip_advance",k="feature_tooltip_return",j="feature_tooltip_dismiss",S="feature_tooltip_complete";function TourTooltips(t){var n=t.steps,i=t.tourID,l=t.gaEventCategory,s=t.callback,u="".concat(i,"-step"),w="".concat(i,"-run"),x=Object(d.useDispatch)(g.b).setValue,N=Object(d.useDispatch)(f.a).dismissTour,C=Object(d.useRegistry)(),A=Object(h.a)(),T=Object(d.useSelect)((function(e){return e(g.b).getValue(u)})),R=Object(d.useSelect)((function(e){return e(g.b).getValue(w)&&!1===e(f.a).isTourDismissed(i)}));Object(o.a)((function(){e.document.body.classList.add("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),x(w,!0)}));var D=n.map((function(e){return function(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){a()(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}({disableBeacon:!0,isFixed:!0,placement:"auto"},e)}));return r.createElement(c.e,{callback:function(t){!function(e){var t=e.index,n=e.action,r=e.lifecycle,i=e.size,a=e.status,o=e.type,s=t+1,u="function"==typeof l?l(A):l;o===c.b.TOOLTIP&&r===c.c.TOOLTIP?Object(m.b)(u,O,s):n===c.a.CLOSE&&r===c.c.COMPLETE?Object(m.b)(u,j,s):n===c.a.NEXT&&a===c.d.FINISHED&&o===c.b.TOUR_END&&i===s&&Object(m.b)(u,S,s),r===c.c.COMPLETE&&a!==c.d.FINISHED&&(n===c.a.PREV&&Object(m.b)(u,k,s),n===c.a.NEXT&&Object(m.b)(u,y,s))}(t);var n=t.action,r=t.index,a=t.status,o=t.step,d=t.type,g=n===c.a.CLOSE,f=!g&&[c.b.STEP_AFTER,c.b.TARGET_NOT_FOUND].includes(d),p=[c.d.FINISHED,c.d.SKIPPED].includes(a),h=g&&d===c.b.STEP_AFTER,b=p||h;if(c.b.STEP_BEFORE===d){var v,E,_=o.target;"string"==typeof o.target&&(_=e.document.querySelector(o.target)),null===(v=_)||void 0===v||null===(E=v.scrollIntoView)||void 0===E||E.call(v,{block:"center"})}f?function(e,t){x(u,e+(t===c.a.PREV?-1:1))}(r,n):b&&(e.document.body.classList.remove("googlesitekit-showing-feature-tour","googlesitekit-showing-feature-tour--".concat(i)),N(i)),s&&s(t,C)},continuous:!0,disableOverlayClose:!0,disableScrolling:!0,floaterProps:_,locale:E,run:R,showProgress:!0,stepIndex:T,steps:D,styles:v,tooltipComponent:p.a})}TourTooltips.propTypes={steps:s.a.arrayOf(s.a.object).isRequired,tourID:s.a.string.isRequired,gaEventCategory:s.a.oneOfType([s.a.string,s.a.func]).isRequired,callback:s.a.func}}).call(this,n(26),n(4))},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 a})),n.d(t,"c",(function(){return o}));function r(e){var t=e.format,n=void 0===t?"small":t,r=e.hasErrorOrWarning,i=e.hasSmallImageSVG,o=e.hasWinImageSVG,c={smSize:4,mdSize:8,lgSize:12},l=a(n);return Object.keys(c).forEach((function(e){var t=c[e];r&&(t-=1),i&&(t-=1),o&&0<t-l[e]&&(t-=l[e]),c[e]=t})),c}var i=function(e){switch(e){case"small":return{};case"larger":return{smOrder:2,mdOrder:2,lgOrder:1};default:return{smOrder:2,mdOrder:1}}},a=function(e){switch(e){case"smaller":return{smSize:4,mdSize:2,lgSize:2};case"larger":return{smSize:4,mdSize:8,lgSize:7};default:return{smSize:4,mdSize:2,lgSize:4}}},o=function(e){switch(e){case"larger":return{smOrder:1,mdOrder:1,lgOrder:2};default:return{smOrder:1,mdOrder:2}}}},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(186),l=n(38),s=n(2),u=n(11),d=n(90);function ModalDialog(t){var n=t.className,r=void 0===n?"":n,i=t.dialogActive,a=void 0!==i&&i,g=t.handleDialog,f=void 0===g?null:g,m=t.onClose,p=void 0===m?null:m,h=t.title,b=void 0===h?null:h,v=t.provides,E=t.handleConfirm,_=t.subtitle,O=t.confirmButton,y=void 0===O?null:O,k=t.dependentModules,j=t.danger,S=void 0!==j&&j,w=t.inProgress,x=void 0!==w&&w,N=t.small,C=void 0!==N&&N,A=t.medium,T=void 0!==A&&A,R=t.buttonLink,D=void 0===R?null:R,M=Object(c.a)(ModalDialog),P="googlesitekit-dialog-description-".concat(M),I=!(!v||!v.length);return e.createElement(u.Dialog,{open:a,onClose:p,"aria-describedby":I?P:void 0,tabIndex:"-1",className:o()(r,{"googlesitekit-dialog-sm":C,"googlesitekit-dialog-md":T})},e.createElement(u.DialogTitle,null,S&&e.createElement(d.a,{width:28,height:28}),b),_?e.createElement("p",{className:"mdc-dialog__lead"},_):[],e.createElement(u.DialogContent,null,I&&e.createElement("section",{id:P,className:"mdc-dialog__provides"},e.createElement("ul",{className:"mdc-list mdc-list--underlined mdc-list--non-interactive"},v.map((function(t){return e.createElement("li",{className:"mdc-list-item",key:t},e.createElement("span",{className:"mdc-list-item__text"},t))})))),k&&e.createElement("p",{className:"mdc-dialog__dependencies"},Object(l.a)(Object(s.sprintf)( /* translators: %s is replaced with the dependent modules. */ Object(s.__)("<strong>Note:</strong> %s","google-site-kit"),k),{strong:e.createElement("strong",null)}))),e.createElement(u.DialogFooter,null,e.createElement(u.Button,{className:"mdc-dialog__cancel-button",tertiary:!0,onClick:f,disabled:x},Object(s.__)("Cancel","google-site-kit")),D?e.createElement(u.Button,{href:D,target:"_blank",danger:S},y):e.createElement(u.SpinnerButton,{onClick:E,danger:S,disabled:x,isSaving:x},y||Object(s.__)("Disconnect","google-site-kit"))))}ModalDialog.displayName="Dialog",ModalDialog.propTypes={className:i.a.string,dialogActive:i.a.bool,handleDialog:i.a.func,handleConfirm:i.a.func.isRequired,title:i.a.string,confirmButton:i.a.string,danger:i.a.bool,small:i.a.bool,medium:i.a.bool,buttonLink:i.a.string},t.a=ModalDialog}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(139);n.d(t,"a",(function(){return r.a}));var i=n(140);n.d(t,"c",(function(){return i.a}));var a=n(141);n.d(t,"b",(function(){return a.a}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotification}));var r=n(1),i=n.n(r),a=n(2),o=n(11),c=n(144),l=n(16);function SubtleNotification(t){var n=t.title,r=t.description,i=t.onDismiss,s=t.additionalCTA,u=void 0!==s&&s;return e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{alignMiddle:!0,size:12,className:"googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(c.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement(o.Button,{tertiary:!0,onClick:i},Object(a.__)("Got it","google-site-kit")),!!u&&u)))}SubtleNotification.propTypes={title:i.a.string.isRequired,description:i.a.node,onDismiss:i.a.func.isRequired,additionalCTA:i.a.oneOfType([i.a.node,i.a.bool])}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ErrorNotice}));var r=n(1),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(11),s=n(37),u=n(71);function ErrorNotice(t){var n,r=t.error,i=t.storeName,d=t.message,g=void 0===d?r.message:d,f=t.noPrefix,m=void 0!==f&&f,p=Object(c.useDispatch)(),h=Object(c.useSelect)((function(e){return i?e(i).getSelectorDataForError(r):null})),b=Object(a.useCallback)((function(){p(h.storeName).invalidateResolution(h.name,h.args)}),[p,h]);if(!r||Object(s.f)(r))return null;var v=Object(s.d)(r,h);return e.createElement(a.Fragment,null,e.createElement(u.a,{message:g,reconnectURL:null===(n=r.data)||void 0===n?void 0:n.reconnectURL,noPrefix:m}),v&&e.createElement(l.Button,{className:"googlesitekit-error-notice__retry-button",onClick:b},Object(o.__)("Retry","google-site-kit")))}ErrorNotice.propTypes={error:i.a.shape({message:i.a.string}),storeName:i.a.string,message:i.a.string,noPrefix:i.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(455),i=function(e,t,n){Object(r.a)((function(n){return e.includes(n.keyCode)&&t.current.contains(n.target)}),n)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ReportErrorActions}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(11),g=n(14),f=n(18),m=n(37),p=n(33),h=n(20);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(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}function ReportErrorActions(t){var n=t.moduleSlug,r=t.error,i=t.GetHelpLink,a=t.hideGetHelpLink,o=t.buttonVariant,b=t.onRetry,E=t.getHelpClassName,_=t.RequestAccessButton,O=t.RetryButton,y=Object(p.a)(),k=Object(u.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),j=Object(u.useSelect)((function(e){var t;return"function"==typeof(null===(t=e(k))||void 0===t?void 0:t.getServiceEntityAccessURL)?e(k).getServiceEntityAccessURL():null})),S=Array.isArray(r)?r:[r],w=Object(u.useSelect)((function(e){return S.map((function(t){var n,r=null===(n=e(k))||void 0===n?void 0:n.getSelectorDataForError(t);return v(v({},t),{},{selectorData:r})}))})),x=null==w?void 0:w.filter((function(e){return Object(m.d)(e,e.selectorData)&&"getReport"===e.selectorData.name})),N=!!x.length,C=Object(u.useSelect)((function(e){var t=v({},N?x[0]:S[0]);return Object(m.e)(t)&&(t.code="".concat(n,"_insufficient_permissions")),e(g.c).getErrorTroubleshootingLinkURL(t)})),A=Object(u.useDispatch)(),T=S.some((function(e){return Object(m.e)(e)})),R=Object(c.useCallback)((function(){x.forEach((function(e){var t=e.selectorData;A(t.storeName).invalidateResolution(t.name,t.args)})),null==b||b()}),[A,x,b]),D=j&&T&&!y;return e.createElement("div",{className:"googlesitekit-report-error-actions"},D&&("function"==typeof _?e.createElement(_,{requestAccessURL:j}):e.createElement(d.Button,{href:j,target:"_blank",danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Request access","google-site-kit"))),N&&e.createElement(c.Fragment,null,"function"==typeof O?e.createElement(O,{handleRetry:R}):e.createElement(d.Button,{onClick:R,danger:"danger"===o,tertiary:"tertiary"===o},Object(s.__)("Retry","google-site-kit")),!a&&e.createElement("span",{className:"googlesitekit-error-retry-text"},Object(l.a)(Object(s.__)("Retry didn’t work? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(h.a,{href:C,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))}))),!N&&!a&&e.createElement("div",{className:E},"function"==typeof i?e.createElement(i,{linkURL:C}):e.createElement(h.a,{href:C,external:!0,hideExternalIndicator:!0},Object(s.__)("Get help","google-site-kit"))))}ReportErrorActions.propTypes={moduleSlug:o.a.string.isRequired,error:o.a.oneOfType([o.a.arrayOf(o.a.object),o.a.object]).isRequired,GetHelpLink:o.a.elementType,hideGetHelpLink:o.a.bool,buttonVariant:o.a.string,onRetry:o.a.func,getHelpClassName:o.a.string,RequestAccessButton:o.a.elementType,RetryButton:o.a.elementType}}).call(this,n(4))},,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"currentColor",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"#FFF"}),".");t.a=function SvgArrow(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{fill:"#FFF",cx:6.5,cy:6.5,r:6.5}),r.createElement("path",{d:"M3.461 6.96h5.15L6.36 9.21a.464.464 0 00.325.79.459.459 0 00.325-.135l3.037-3.038a.459.459 0 000-.65L7.015 3.135a.46.46 0 00-.65.65L8.61 6.039H3.461a.462.462 0 00-.461.46c0 .254.207.462.461.462z",fill:"currentColor"}),".");t.a=function SvgArrowInverse(e){return r.createElement("svg",i({viewBox:"0 0 13 13"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M12 20l-8-8 8-8 1.425 1.4-5.6 5.6H20v2H7.825l5.6 5.6L12 20z"});t.a=function SvgBack(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"currentColor"},e),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return v}));var r=n(22),i=n.n(r),a=n(6),o=n.n(a),c=n(5),l=n.n(c),s=n(10),u=n.n(s),d=n(3),g=n.n(d),f=n(39),m=n(8),p=function(e){var t;u()(e,"storeName is required to create a snapshot store.");var n={},r={deleteSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"DELETE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)})),restoreSnapshot:l.a.mark((function e(){var t,n,r,i,a,o,c=arguments;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.clearAfterRestore,r=void 0===n||n,e.next=4,{payload:{},type:"RESTORE_SNAPSHOT"};case 4:if(i=e.sent,a=i.cacheHit,o=i.value,!a){e.next=13;break}return e.next=10,{payload:{snapshot:o},type:"SET_STATE_FROM_SNAPSHOT"};case 10:if(!r){e.next=13;break}return e.next=13,{payload:{},type:"DELETE_SNAPSHOT"};case 13:return e.abrupt("return",a);case 14:case"end":return e.stop()}}),e)})),createSnapshot:l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,{payload:{},type:"CREATE_SNAPSHOT"};case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))},a=(t={},o()(t,"DELETE_SNAPSHOT",(function(){return Object(f.c)("datastore::cache::".concat(e))})),o()(t,"CREATE_SNAPSHOT",Object(d.createRegistryControl)((function(t){return function(){return Object(f.f)("datastore::cache::".concat(e),t.stores[e].store.getState())}}))),o()(t,"RESTORE_SNAPSHOT",(function(){return Object(f.d)("datastore::cache::".concat(e),m.b)})),t);return{initialState:n,actions:r,controls:a,reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments.length>1?arguments[1]:void 0,r=t.type,a=t.payload;switch(r){case"SET_STATE_FROM_SNAPSHOT":var o=a.snapshot,c=(o.error,i()(o,["error"]));return c;default:return e}}}},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Object.values(e.stores).filter((function(e){return Object.keys(e.getActions()).includes("restoreSnapshot")}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().createSnapshot()})))},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.a;return Promise.all(h(e).map((function(e){return e.getActions().restoreSnapshot()})))}},function(e,t,n){"use strict";var r=n(0),i=n(51),a=Object(r.createContext)(i.a);t.a=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return o}));var r="editing-user-role-select-slug-key",i=[],a="dashboardSharingDialogOpen",o="resetSharingDialogOpen"},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(38),l=n(2),s=n(20),u=n(33);function SourceLink(t){var n=t.name,r=t.href,i=t.className,a=t.external;return Object(u.a)()?null:e.createElement("div",{className:o()("googlesitekit-source-link",i)},Object(c.a)(Object(l.sprintf)( /* translators: %s: source link */ Object(l.__)("Source: %s","google-site-kit"),"<a>".concat(n,"</a>")),{a:e.createElement(s.a,{key:"link",href:r,external:a})}))}SourceLink.propTypes={name:i.a.string,href:i.a.string,className:i.a.string,external:i.a.bool},SourceLink.defaultProps={name:"",href:"",className:"",external:!1},t.a=SourceLink}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12),i=function(e){return Object(r.isFinite)(e)?e:0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n(127),a=n(51),o=function(e){var t=Object(r.useContext)(i.a);return Object(a.b)(e,t)}},function(e,t,n){"use strict";var r=n(245);n.d(t,"b",(function(){return r.a}));var i=n(173);n.d(t,"c",(function(){return i.a}));var a=n(246);n.d(t,"a",(function(){return a.a}))},,function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return g})),n.d(t,"g",(function(){return f}));var r,i=n(6),a=n.n(i),o=n(2),c="purpose",l="postFrequency",s="goals",u=[c,l,s],d=(r={},a()(r,c,1),a()(r,l,1),a()(r,s,3),r),g="googlesitekit-user-input-currently-editing";function f(){return{USER_INPUT_ANSWERS_PURPOSE:{sell_products_or_service:Object(o.__)("Sell products or services","google-site-kit"),monetize_content:Object(o.__)("Monetize content (with ads or affiliate links)","google-site-kit"),publish_blog:Object(o.__)("Publish a blog","google-site-kit"),publish_news:Object(o.__)("Publish news content","google-site-kit"),share_portfolio:Object(o.__)("Share a business card or portfolio to represent me or my company online","google-site-kit"),other:Object(o.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_POST_FREQUENCY:{never:Object(o.__)("Never","google-site-kit"),daily:Object(o.__)("Daily","google-site-kit"),weekly:Object(o.__)("Weekly","google-site-kit"),monthly:Object(o.__)("Monthly","google-site-kit"),other:Object(o.__)("Other","google-site-kit")},USER_INPUT_ANSWERS_GOALS:{retaining_visitors:Object(o.__)("Retain visitors, turn them into loyal readers or customers","google-site-kit"),improving_performance:Object(o.__)("Improve speed and performance","google-site-kit"),finding_new_topics:Object(o.__)("Find new topics to write about that connect with my audience","google-site-kit"),growing_audience:Object(o.__)("Grow my audience","google-site-kit"),expanding_business:Object(o.__)("Expand my business into new cities, states or markets","google-site-kit"),generating_revenue:Object(o.__)("Generate more revenue","google-site-kit"),help_better_rank:Object(o.__)("Help my content rank in a better position in Google search results","google-site-kit"),understanding_content_performance:Object(o.__)("Understand which content is performing best","google-site-kit"),encourage_to_post:Object(o.__)("Tips for generating and posting engaging content updates","google-site-kit"),other:Object(o.__)("Other","google-site-kit")}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},i=n.slug,a=void 0===i?"":i,o=n.name,c=void 0===o?"":o,l=n.owner,s=void 0===l?{}:l;if(!a||!c)return e;var u="",d="";return"analytics-4"===a?e.match(/account/i)?u=Object(r.__)("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)?u=Object(r.__)("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)&&(u=Object(r.__)("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"===a&&(u=Object(r.__)("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")),u||(u=Object(r.sprintf)( /* translators: %s: module name */ Object(r.__)("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)),s&&s.login&&(d=Object(r.sprintf)( /* translators: %s: owner name */ Object(r.__)('This service was originally connected by the administrator "%s" — you can contact them for more information.',"google-site-kit"),s.login)),d||(d=Object(r.__)("This service was originally connected by an administrator — you can contact them for more information.","google-site-kit")),"".concat(u," ").concat(d)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return TourTooltip}));var r=n(21),i=n.n(r),a=n(171),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(11),g=n(174),f=n(142);function TourTooltip(t){var n=t.backProps,r=t.closeProps,c=t.index,s=t.primaryProps,u=t.size,m=t.step,p=t.tooltipProps,h=u>1?Object(g.a)(u):[],b=function(e){return l()("googlesitekit-tooltip-indicator",{active:e===c})};return e.createElement("div",i()({className:l()("googlesitekit-tour-tooltip",m.className)},p),e.createElement(o.a,{className:"googlesitekit-tooltip-card"},e.createElement("div",{className:"googlesitekit-tooltip-body"},e.createElement("h2",{className:"googlesitekit-tooltip-title"},m.title),e.createElement("div",{className:"googlesitekit-tooltip-content"},m.content)),e.createElement(a.CardActions,{className:"googlesitekit-tooltip-actions"},e.createElement("ul",{className:"googlesitekit-tooltip-indicators"},h.map((function(t){return e.createElement("li",{key:"indicator-".concat(t),className:b(t)})}))),e.createElement("div",{className:"googlesitekit-tooltip-buttons"},0!==c&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},n),n.title),m.cta,s.title&&e.createElement(d.Button,i()({className:"googlesitekit-tooltip-button",text:!0},s),s.title))),e.createElement(d.Button,i()({className:"googlesitekit-tooltip-close",text:!0,hideTooltipTitle:!0,icon:e.createElement(f.a,{width:"14",height:"14"})},r))))}TourTooltip.propTypes={backProps:u.a.object.isRequired,closeProps:u.a.object.isRequired,index:u.a.number.isRequired,isLastStep:u.a.bool.isRequired,primaryProps:u.a.object.isRequired,size:u.a.number.isRequired,step:u.a.shape({content:u.a.node,title:u.a.node.isRequired,cta:u.a.oneOfType([u.a.element,u.a.bool]),className:u.a.string}).isRequired,tooltipProps:u.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0),i=Object(r.createContext)(!1);t.a=i},function(e,t,n){"use strict";var r=n(157);n.d(t,"c",(function(){return r.a}));var i=n(63);n.d(t,"b",(function(){return i.c})),n.d(t,"a",(function(){return i.a}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Cell}));var r=n(21),i=n.n(r),a=n(6),o=n.n(a),c=n(22),l=n.n(c),s=n(1),u=n.n(s),d=n(13),g=n.n(d);function Cell(t){var n,r=t.className,a=t.alignTop,c=t.alignMiddle,s=t.alignBottom,u=t.alignRight,d=t.alignLeft,f=t.smAlignRight,m=t.mdAlignRight,p=t.lgAlignRight,h=t.smSize,b=t.smStart,v=t.smOrder,E=t.mdSize,_=t.mdStart,O=t.mdOrder,y=t.lgSize,k=t.lgStart,j=t.lgOrder,S=t.size,w=t.children,x=l()(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",i()({},x,{className:g()(r,"mdc-layout-grid__cell",(n={"mdc-layout-grid__cell--align-top":a,"mdc-layout-grid__cell--align-middle":c,"mdc-layout-grid__cell--align-bottom":s,"mdc-layout-grid__cell--align-right":u,"mdc-layout-grid__cell--align-left":d,"mdc-layout-grid__cell--align-right-phone":f,"mdc-layout-grid__cell--align-right-tablet":m,"mdc-layout-grid__cell--align-right-desktop":p},o()(n,"mdc-layout-grid__cell--span-".concat(S),12>=S&&S>0),o()(n,"mdc-layout-grid__cell--span-".concat(y,"-desktop"),12>=y&&y>0),o()(n,"mdc-layout-grid__cell--start-".concat(k,"-desktop"),12>=k&&k>0),o()(n,"mdc-layout-grid__cell--order-".concat(j,"-desktop"),12>=j&&j>0),o()(n,"mdc-layout-grid__cell--span-".concat(E,"-tablet"),8>=E&&E>0),o()(n,"mdc-layout-grid__cell--start-".concat(_,"-tablet"),8>=_&&_>0),o()(n,"mdc-layout-grid__cell--order-".concat(O,"-tablet"),8>=O&&O>0),o()(n,"mdc-layout-grid__cell--span-".concat(h,"-phone"),4>=h&&h>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))}),w)}Cell.propTypes={smSize:u.a.number,smStart:u.a.number,smOrder:u.a.number,mdSize:u.a.number,mdStart:u.a.number,mdOrder:u.a.number,lgSize:u.a.number,lgStart:u.a.number,lgOrder:u.a.number,size:u.a.number,alignTop:u.a.bool,alignMiddle:u.a.bool,alignBottom:u.a.bool,alignRight:u.a.bool,alignLeft:u.a.bool,smAlignRight:u.a.bool,mdAlignRight:u.a.bool,lgAlignRight:u.a.bool,className:u.a.string,children:u.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(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.className,a=t.children,c=o()(t,["className","children"]);return e.createElement("div",i()({ref:n,className:u()("mdc-layout-grid__inner",r)},c),a)}));g.displayName="Row",g.propTypes={className:l.a.string,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(0),g=Object(d.forwardRef)((function(t,n){var r=t.alignLeft,a=t.fill,c=t.className,l=t.children,s=t.collapsed,d=o()(t,["alignLeft","fill","className","children","collapsed"]);return e.createElement("div",i()({className:u()("mdc-layout-grid",c,{"mdc-layout-grid--align-left":r,"mdc-layout-grid--collapsed":s,"mdc-layout-grid--fill":a})},d,{ref:n}),l)}));g.displayName="Grid",g.propTypes={alignLeft:l.a.bool,fill:l.a.bool,className:l.a.string,collapsed:l.a.bool,children:l.a.node},g.defaultProps={className:""},t.a=g}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M14 1.41L12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41z",fill:"currentColor"});t.a=function SvgClose(e){return r.createElement("svg",i({viewBox:"0 0 14 14",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{d:"M2.253 12.252l7.399 5.658A13.055 13.055 0 009 22c0 1.43.229 2.805.652 4.09l-7.4 5.658A22.02 22.02 0 010 22c0-3.506.81-6.814 2.253-9.748z",fill:"#FBBC05"}),r.createElement("path",{d:"M9.652 17.91l-7.4-5.658A21.935 21.935 0 0122 0c5.6 0 10.6 2.1 14.5 5.5l-6.4 6.4C27.9 10.1 25.1 9 22 9c-5.77 0-10.64 3.725-12.348 8.91z",fill:"#EA4335"}),r.createElement("path",{d:"M2.25 31.742l7.396-5.67A12.975 12.975 0 0022 35c6.1 0 10.7-3.1 11.8-8.5H22V18h20.5c.3 1.3.5 2.7.5 4 0 14-10 22-21 22A21.935 21.935 0 012.25 31.742z",fill:"#34A853"}),r.createElement("path",{d:"M36.34 38.52l-7.025-5.437c2.297-1.45 3.895-3.685 4.485-6.583H22V18h20.5c.3 1.3.5 2.7.5 4 0 7.17-2.623 12.767-6.66 16.52z",fill:"#4285F4"}));t.a=function SvgLogoG(e){return r.createElement("svg",i({viewBox:"0 0 43 44"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1zm4.806 8.592l.592-.806-1.612-1.184-.592.806-3.89 5.296c-.166.226-.36.296-.512.296-.152 0-.346-.07-.512-.296l-1.474-2.007-.592-.806-1.612 1.184.592.806 1.474 2.007C9.191 15.6 9.971 16 10.792 16c.821 0 1.6-.4 2.124-1.112l3.89-5.296z",fill:"#265C3B"});t.a=function SvgCheckFill(e){return r.createElement("svg",i({viewBox:"0 0 24 24",fill:"none"},e),a)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return p.a})),n.d(t,"g",(function(){return p.c})),n.d(t,"a",(function(){return c.a})),n.d(t,"f",(function(){return h})),n.d(t,"e",(function(){return s}));var r=n(15),i=n.n(r),a=n(27),o=n.n(a),c=n(66),l=n(73);function s(e){return!!e&&e.Component===l.a}function u(e,t){if(9!==t)return[e,t];for(var n=(e=o()(e)).length-1;0!==t&&n>=0;)3===e[n]?(t-=3,e[n]=4):6===e[n]&&(t-=6,e[n]=8),n--;return[e,t]}function d(e,t){return(Array.isArray(t.width)?t.width:[t.width]).map((function(t){return{counter:e+c.c[t],width:t}}))}function g(e,t){var n=[],r=[];if(!(null==e?void 0:e.length))return{columnWidths:n,rowIndexes:r};var a=0,o=0,l=function(e,t){return e.counter-t.counter},g=function(e,t){var n=e.counter;return t.counter-n},f=function(e){return e.counter<=12};if(e.forEach((function(m,p){if(s(t[m.slug]))return n.push(0),void r.push(o);var h=d(a,m),b=function(e,t,n){for(;++e<t.length;)if(!s(n[t[e].slug]))return t[e];return null}(p,e,t);null!==b&&0!==d(h.sort(l)[0].counter,b).filter(f).length||h.some(f)&&(h=(h=h.sort(g)).filter(f));var v=h[0].width;if(r.push(o),(a+=c.c[v])>12){if(a-=c.c[v],r[p]++,9===a){var E=u(n,a),_=i()(E,2);n=_[0],a=_[1]}a=c.c[v],o++}else 12===a&&(a=0,o++);n.push(c.c[v])})),9===a){var m=u(n,a),p=i()(m,2);n=p[0],a=p[1]}return{columnWidths:n,rowIndexes:r}}var f=n(12);function m(e,t,n){var r=n.columnWidths,i=n.rowIndexes,a=[],l=o()(r);if(!(null==e?void 0:e.length))return{gridColumnWidths:l,overrideComponents:a};var s=null,u=-1,d=[];if(function(e,t){for(var n={},r=0;r<e.length;r++){var i,a=e[r],o=null==t?void 0:t[a.slug],l=null==o?void 0:o.Component,s=null==o||null===(i=o.metadata)||void 0===i?void 0:i.moduleSlug,u=c.b.includes(l);if(!l||!s||!u)return!1;if(n[s]){if(n[s]!==l)return!1}else n[s]=l}return!(Object.keys(n).length>1)}(e,t)){var g=Array.from({length:e.length-1}).fill(0);return{overrideComponents:[t[e[0].slug]],gridColumnWidths:[12].concat(o()(g))}}return e.forEach((function(n,o){var c,g,m,p,h;if(a.push(null),s=t[n.slug],u=i[o],s)if(g=s,m=t[null===(c=e[o+1])||void 0===c?void 0:c.slug],p=u,h=i[o+1],p===h&&Object(f.isEqual)(g,m))d.push(r[o]),l[o]=0;else if(d.length>0){d.push(r[o]);var b=d.reduce((function(e,t){return e+t}),0);a[o]=s,l[o]=b,d=[]}})),{gridColumnWidths:l,overrideComponents:a}}var p=n(168);function h(e){return(Array.isArray(e)?e:[e]).filter((function(e){return"string"==typeof e&&e.length>0}))}},,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return LoadingWrapper}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(44);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function LoadingWrapper(t){var n=t.loading,r=t.children,i=o()(t,["loading","children"]);return n?e.createElement(s.a,i):r}LoadingWrapper.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({loading:l.a.bool,children:l.a.node},s.a.propTypes)}).call(this,n(4))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(7),d=n(18),g=n(32),f=n(35),m=n(19);function p(e){var t=Object(m.a)(),n=Object(l.useSelect)((function(t){return t(d.a).getModule(e)})),r=Object(l.useSelect)((function(e){return e(u.a).hasCapability(u.C)})),a=Object(l.useDispatch)(d.a).activateModule,p=Object(l.useDispatch)(g.a).navigateTo,h=Object(l.useDispatch)(s.c).setInternalServerError,b=Object(c.useCallback)(o()(i.a.mark((function n(){var r,o,c;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,a(e);case 2:if(r=n.sent,o=r.error,c=r.response,o){n.next=11;break}return n.next=8,Object(f.b)("".concat(t,"_widget-activation-cta"),"activate_module",e);case 8:p(c.moduleReauthURL),n.next=12;break;case 11:h({id:"".concat(e,"-setup-error"),description:o.message});case 12:case"end":return n.stop()}}),n)}))),[a,e,p,h,t]);return(null==n?void 0:n.name)&&r?b:null}},,,,function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(2),l=n(3),s=n(197),u=n(213),d=n(63),g=n(7),f=n(11),m=n(0),p=Object(m.forwardRef)((function(t,n){var r=t.className,a=t.children,o=t.type,m=t.dismiss,p=void 0===m?"":m,h=t.dismissCallback,b=t.dismissLabel,v=void 0===b?Object(c.__)("OK, Got it!","google-site-kit"):b,E=t.Icon,_=void 0===E?Object(d.d)(o):E,O=t.OuterCTA,y=Object(l.useDispatch)(g.a).dismissItem,k=Object(l.useSelect)((function(e){return p?e(g.a).isItemDismissed(p):void 0}));if(p&&k)return null;var j=a?u.a:s.a;return e.createElement("div",{ref:n,className:i()(r,"googlesitekit-settings-notice","googlesitekit-settings-notice--".concat(o),{"googlesitekit-settings-notice--single-row":!a,"googlesitekit-settings-notice--multi-row":a})},e.createElement("div",{className:"googlesitekit-settings-notice__icon"},e.createElement(_,{width:"20",height:"20"})),e.createElement("div",{className:"googlesitekit-settings-notice__body"},e.createElement(j,t)),p&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(f.Button,{tertiary:!0,onClick:function(){y(p),h()}},v)),O&&e.createElement("div",{className:"googlesitekit-settings-notice__button"},e.createElement(O,null)))}));p.propTypes={className:o.a.string,children:o.a.node,notice:o.a.node.isRequired,type:o.a.oneOf([d.a,d.c,d.b]),Icon:o.a.elementType,LearnMore:o.a.elementType,CTA:o.a.elementType,OuterCTA:o.a.elementType,dismissLabel:o.a.string,dismissCallback:o.a.func},p.defaultProps={type:d.a},t.a=p}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(55),l=n.n(c),s=n(12);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=l()((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.metrics,n=e.dimensions,r=o()(e,["metrics","dimensions"]);return d({metrics:f(t),dimensions:m(n)},r)})),f=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))},m=function(e){return Object(s.castArray)(e).map((function(e){return"string"==typeof e?{name:e}:e})).filter((function(e){return Object(s.isPlainObject)(e)}))}},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return GenericErrorHandlerActions}));var r=n(1),i=n.n(r),a=n(2),o=n(20),c=n(188);function GenericErrorHandlerActions(t){var n=t.message,r=t.componentStack;return e.createElement("div",{className:"googlesitekit-generic-error-handler-actions"},e.createElement(c.a,{message:n,componentStack:r}),e.createElement(o.a,{href:"https://wordpress.org/support/plugin/google-site-kit/",external:!0},Object(a.__)("Report this problem","google-site-kit")))}GenericErrorHandlerActions.propTypes={message:i.a.string,componentStack:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25),i=function(e){return r.f.includes(e)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o.a})),n.d(t,"e",(function(){return c.a})),n.d(t,"a",(function(){return l.a}));var r=n(2);function i(e){var t,n,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.keyColumnIndex,c=void 0===o?0:o,l=a.maxSlices,s=a.withOthers,u=void 0!==s&&s,d=a.tooltipCallback,g=e||{},f=g.rows,m=void 0===f?[]:f,p=g.totals,h=void 0===p?[]:p,b="function"==typeof d,v=["Source","Percent"];b&&v.push({type:"string",role:"tooltip",p:{html:!0}});var E=(null==h||null===(t=h[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(i=n[c])||void 0===i?void 0:i.value)||0,_=[v],O=m.filter((function(e){return"date_range_0"===e.dimensionValues[1].value})),y=u,k=O.length,j=1;l>0?(y=u&&O.length>l,k=Math.min(O.length,y?l-1:l)):(y=!1,k=O.length);for(var S=function(e){var t=O[e],n=t.metricValues[c].value,r=E>0?n/E:0;j-=r;var i=[t.dimensionValues[0].value,r];if(b){var a=m.find((function(e){var n=e.dimensionValues;return"date_range_1"===n[1].value&&n[0].value===t.dimensionValues[0].value}));i.push(d(t,a,i))}_.push(i)},w=0;w<k;w++)S(w);if(y&&j>0){var x=[Object(r.__)("Others","google-site-kit"),j];b&&x.push(d(null,null,x)),_.push(x)}return _}var a=function(e){var t,n,r,i,a,o,c;if(void 0!==e){var l=((null==e?void 0:e.rows)||[]).filter((function(e){return"date_range_0"===e.dimensionValues[1].value}));return 1===(null==l?void 0:l.length)||(null==l||null===(t=l[0])||void 0===t||null===(n=t.metricValues)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.value)===(null==e||null===(i=e.totals)||void 0===i||null===(a=i[0])||void 0===a||null===(o=a.metricValues)||void 0===o||null===(c=o[0])||void 0===c?void 0:c.value)}},o=n(210),c=n(158),l=(n(72),n(172),n(212))},,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(20),d=n(8),g=n(19);function HelpMenuLink(t){var n=t.children,r=t.href,a=t.gaEventLabel,c=Object(g.a)(),l=Object(s.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!a){e.next=3;break}return e.next=3,Object(d.J)("".concat(c,"_headerbar_helpmenu"),"click_outgoing_link",a);case 3:case"end":return e.stop()}}),e)}))),[a,c]);return e.createElement("li",{className:"googlesitekit-help-menu-link mdc-list-item",role:"none"},e.createElement(u.a,{className:"mdc-list-item__text",href:r,external:!0,hideExternalIndicator:!0,role:"menuitem",onClick:l},n))}HelpMenuLink.propTypes={children:l.a.node.isRequired,href:l.a.string.isRequired,gaEventLabel:l.a.string},t.a=HelpMenuLink}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return b}));var r=n(21),i=n.n(r),a=n(55),o=n.n(a),c=n(181),l=n(199),s=n(200),u=n(201),d=n(182),g=n(202),f=n(0),m=o()((function(e){return{widgetSlug:e,Widget:p(e)(c.a),WidgetRecoverableModules:p(e)(d.a),WidgetReportZero:p(e)(l.a),WidgetReportError:p(e)(s.a),WidgetNull:p(e)(u.a)}}));function p(t){return function(n){var r=Object(f.forwardRef)((function(r,a){return e.createElement(n,i()({},r,{ref:a,widgetSlug:t}))}));return r.displayName="WithWidgetSlug",(n.displayName||n.name)&&(r.displayName+="(".concat(n.displayName||n.name,")")),r}}var h=function(t){var n=m(t);return function(t){function DecoratedComponent(r){return e.createElement(t,i()({},r,n))}return DecoratedComponent.displayName="WithWidgetComponentProps",(t.displayName||t.name)&&(DecoratedComponent.displayName+="(".concat(t.displayName||t.name,")")),DecoratedComponent}},b=function(t){return function(n){function DecoratedComponent(r){return e.createElement(n,i()({},r,{WPDashboardReportError:p(t)(g.a)}))}return DecoratedComponent.displayName="WithWPDashboardWidgetComponentProps",(n.displayName||n.name)&&(DecoratedComponent.displayName+="(".concat(n.displayName||n.name,")")),DecoratedComponent}}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleIcon}));var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(3),u=n(18);function ModuleIcon(t){var n=t.slug,r=t.size,a=o()(t,["slug","size"]),c=Object(s.useSelect)((function(e){return e(u.a).getModuleIcon(n)}));return c?e.createElement(c,i()({width:r,height:r},a)):null}ModuleIcon.propTypes={slug:l.a.string.isRequired,size:l.a.number},ModuleIcon.defaultProps={size:33}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(240),i=n(12),a=n(0);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object(r.b)((function(){return i.debounce.apply(void 0,t)}),t);return Object(a.useEffect)((function(){return function(){return o.cancel()}}),[o]),o}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(12),i=n(72);function a(e){return!!Array.isArray(e)&&e.every((function(e){return!!Object(r.isPlainObject)(e)&&(!(!e.hasOwnProperty("fieldNames")||!Array.isArray(e.fieldNames)||0===e.fieldNames.length)&&(!(!e.hasOwnProperty("limit")||"number"!=typeof e.limit)&&!(e.hasOwnProperty("orderby")&&!Object(i.e)(e.orderby))))}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(23);function a(e){return Object(r.useSelect)((function(t){return t(i.b).getValue(e)||{isTooltipVisible:!1,rehideAdminMenu:!1,rehideAdminSubMenu:!1}}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return new Array(null!=e?e:0).fill().map((function(e,t){return t}))}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OverlayNotification}));var r=n(442),i=n(13),a=n.n(i),o=n(1),c=n.n(o),l=n(0),s=n(3),u=n(23),d=n(24);function OverlayNotification(t){var n=t.className,i=t.children,o=t.GraphicDesktop,c=t.GraphicMobile,g=t.notificationID,f=t.onShow,m=t.shouldShowNotification,p=Object(d.e)(),h=Object(s.useSelect)((function(e){return e(u.b).isShowingOverlayNotification(g)})),b=Object(s.useDispatch)(u.b).setOverlayNotificationToShow;if(Object(l.useEffect)((function(){m&&!h&&(b(g),null==f||f())}),[h,g,f,b,m]),!m||!h)return null;var v=a()("googlesitekit-overlay-notification",n);return p===d.b?e.createElement("div",{className:v},i,c&&e.createElement(c,null)):e.createElement(r.a,{direction:"up",in:h},e.createElement("div",{className:v},o&&e.createElement(o,null),i))}OverlayNotification.propTypes={className:c.a.string,children:c.a.node,GraphicDesktop:c.a.elementType,GraphicMobile:c.a.elementType,onShow:c.a.func,notificationID:c.a.string.isRequired,shouldShowNotification:c.a.bool}}).call(this,n(4))},,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h2v7H0zm0 10h2v2H0z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgWarningIcon(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},,,,function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(0),l=Object(c.forwardRef)((function(t,n){var r=t.children,a=t.className,o=t.widgetSlug,c=t.noPadding,l=t.Header,s=t.Footer;return e.createElement("div",{className:i()("googlesitekit-widget","googlesitekit-widget--".concat(o),{"googlesitekit-widget--no-padding":c},{"googlesitekit-widget--with-header":l},a),ref:n},l&&e.createElement("div",{className:"googlesitekit-widget__header"},e.createElement(l,null)),e.createElement("div",{className:"googlesitekit-widget__body"},r),s&&e.createElement("div",{className:"googlesitekit-widget__footer"},e.createElement(s,null)))}));l.defaultProps={children:void 0,noPadding:!1},l.propTypes={children:o.a.node,widgetSlug:o.a.string.isRequired,noPadding:o.a.bool,Header:o.a.elementType,Footer:o.a.elementType},t.a=l}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetRecoverableModules}));var r=n(6),i=n.n(r),a=n(21),o=n.n(a),c=n(27),l=n.n(c),s=n(22),u=n.n(s),d=n(1),g=n.n(d),f=n(0),m=n(86),p=n(93);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetRecoverableModules(t){var n=t.widgetSlug,r=t.moduleSlugs,i=u()(t,["widgetSlug","moduleSlugs"]),a=Object(f.useMemo)((function(){return{moduleSlug:l()(r).sort().join(","),moduleSlugs:r}}),[r]);return Object(m.a)(n,p.a,a),e.createElement(p.a,o()({moduleSlugs:r},i))}WidgetRecoverableModules.propTypes=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){i()(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}({widgetSlug:g.a.string.isRequired},p.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(48),i=n.n(r),a=n(49),o=n.n(a),c=n(68),l=n.n(c),s=n(69),u=n.n(s),d=n(47),g=n.n(d),f=n(1),m=n.n(f),p=n(13),h=n.n(p),b=n(0),v=n(327),E=n(328);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var O=function(t){l()(Layout,t);var n=_(Layout);function Layout(){return i()(this,Layout),n.apply(this,arguments)}return o()(Layout,[{key:"render",value:function(){var t=this.props,n=t.header,r=t.footer,i=t.children,a=t.title,o=t.badge,c=t.headerCTALabel,l=t.headerCTALink,s=t.footerCTALabel,u=t.footerCTALink,d=t.footerContent,g=t.className,f=t.fill,m=t.relative,p=t.rounded,b=void 0!==p&&p,_=t.transparent,O=void 0!==_&&_;return e.createElement("div",{className:h()("googlesitekit-layout",g,{"googlesitekit-layout--fill":f,"googlesitekit-layout--relative":m,"googlesitekit-layout--rounded":b,"googlesitekit-layout--transparent":O})},n&&e.createElement(v.a,{title:a,badge:o,ctaLabel:c,ctaLink:l}),i,r&&e.createElement(E.a,{ctaLabel:s,ctaLink:u,footerContent:d}))}}]),Layout}(b.Component);O.propTypes={header:m.a.bool,footer:m.a.bool,children:m.a.node.isRequired,title:m.a.string,badge:m.a.node,headerCTALabel:m.a.string,headerCTALink:m.a.string,footerCTALabel:m.a.string,footerCTALink:m.a.string,footerContent:m.a.node,className:m.a.string,fill:m.a.bool,relative:m.a.bool,rounded:m.a.bool,transparent:m.a.bool},O.defaultProps={header:!1,footer:!1,title:"",badge:null,headerCTALabel:"",headerCTALink:"",footerCTALabel:"",footerCTALink:"",footerContent:null,className:"",fill:!1,relative:!1},t.a=O}).call(this,n(4))},,,,,function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(184),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(249),g=n(405),f=n(406),m=n(11);function ReportErrorButton(t){var n=t.message,r=t.componentStack,a=Object(s.useState)(!1),c=i()(a,2),l=c[0],p=c[1];return e.createElement(m.Button,{"aria-label":l?Object(u.__)("Error message copied to clipboard. Click to copy the error message again.","google-site-kit"):void 0,onClick:function(){o()("`".concat(n,"\n").concat(r,"`")),p(!0)},trailingIcon:e.createElement(d.a,{className:"mdc-button__icon",icon:l?g.a:f.a})},l?Object(u.__)("Copied to clipboard","google-site-kit"):Object(u.__)("Copy error contents","google-site-kit"))}ReportErrorButton.propTypes={message:l.a.string,componentStack:l.a.string},t.a=ReportErrorButton}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return FeatureTours}));var i=n(92),a=n(0),o=n(3),c=n(7),l=n(19),s=n(111);function FeatureTours(){var t=Object(l.a)(),n=Object(o.useDispatch)(c.a).triggerTourForView;Object(i.a)((function(){n(t)}));var u=Object(o.useSelect)((function(e){return e(c.a).getCurrentTour()}));return Object(a.useEffect)((function(){if(u){var t=document.getElementById("js-googlesitekit-main-dashboard");if(t){var n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}}),[u]),u?r.createElement(s.a,{tourID:u.slug,steps:u.steps,gaEventCategory:u.gaEventCategory,callback:u.callback}):null}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(0),l=n(16),s=Object(c.forwardRef)((function(t,n){var r=t.id,i=t.className,a=t.children,s=t.secondaryPane;return e.createElement("section",{id:r,className:o()(i,"googlesitekit-publisher-win"),ref:n},e.createElement(l.e,null,e.createElement(l.k,null,a)),s&&e.createElement(c.Fragment,null,e.createElement("div",{className:"googlesitekit-publisher-win__secondary-pane-divider"}),e.createElement(l.e,{className:"googlesitekit-publisher-win__secondary-pane"},e.createElement(l.k,null,e.createElement(l.a,{className:"googlesitekit-publisher-win__secondary-pane",size:12},s)))))}));s.displayName="Banner",s.propTypes={id:i.a.string,className:i.a.string,secondaryPane:i.a.node},t.a=s}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerTitle}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(102);function BannerTitle(t){var n=t.title,r=t.badgeLabel,a=t.WinImageSVG,o=t.winImageFormat,c=void 0===o?"":o,u=t.smallWinImageSVGWidth,d=void 0===u?75:u,g=t.smallWinImageSVGHeight,f=void 0===g?75:g;return n?e.createElement("div",{className:"googlesitekit-publisher-win__title-image-wrapper"},e.createElement("h3",{className:"googlesitekit-heading-2 googlesitekit-publisher-win__title"},n,r&&e.createElement(s.a,{label:r})),a&&e.createElement("div",{className:l()(i()({},"googlesitekit-publisher-win__image-".concat(c),c))},e.createElement(a,{width:d,height:f}))):null}BannerTitle.propTypes={title:o.a.string,badgeLabel:o.a.string,WinImageSVG:o.a.elementType,winImageFormat:o.a.string,smallWinImageSVGWidth:o.a.number,smallWinImageSVGHeight:o.a.number}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerActions}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(238),g=n(0),f=n(3),m=n(11),p=n(32);function BannerActions(t){var n=t.ctaLink,r=t.ctaLabel,a=t.ctaComponent,c=t.ctaTarget,s=t.ctaCallback,u=t.dismissLabel,h=t.dismissCallback,b=Object(g.useState)(!1),v=l()(b,2),E=v[0],_=v[1],O=Object(d.a)(),y=Object(f.useSelect)((function(e){return!!n&&e(p.a).isNavigatingTo(n)})),k=function(){var e=o()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(_(!0),t=a.length,n=new Array(t),r=0;r<t;r++)n[r]=a[r];return e.next=4,null==s?void 0:s.apply(void 0,n);case 4:O()&&_(!1);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return n||u||a?e.createElement("div",{className:"googlesitekit-publisher-win__actions"},a,r&&e.createElement(m.SpinnerButton,{className:"googlesitekit-notification__cta",href:n,target:c,onClick:k,disabled:E||y,isSaving:E||y},r),u&&e.createElement(m.Button,{tertiary:n||a,onClick:h,disabled:E||y},u)):null}BannerActions.propTypes={ctaLink:u.a.string,ctaLabel:u.a.string,ctaComponent:u.a.element,ctaTarget:u.a.string,ctaCallback:u.a.func,dismissLabel:u.a.string,dismissCallback:u.a.func}}).call(this,n(4))},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,r=e.slice(6,8);return new Date(t,n.toString(),r)}return!1}},,function(e,t,n){"use strict";(function(e){var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(2),l=n(11),s=n(16),u=n(144),d=n(81),g=n(90),f={SUCCESS:"success",WARNING:"warning"};function SubtleNotification(t){var n=t.title,r=t.description,a=t.Icon,o=t.ctaLink,m=t.ctaLabel,p=t.onCTAClick,h=t.isCTALinkExternal,b=t.dismissLabel,v=void 0===b?Object(c.__)("Ok, got it","google-site-kit"):b,E=t.onDismiss,_=t.variant,O=void 0===_?f.SUCCESS:_;return e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{alignMiddle:!0,size:12,className:i()("googlesitekit-subtle-notification",{"googlesitekit-subtle-notification--success":O===f.SUCCESS,"googlesitekit-subtle-notification--warning":O===f.WARNING})},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},a&&e.createElement(a,{width:24,height:24}),!a&&O===f.SUCCESS&&e.createElement(u.a,{width:24,height:24}),!a&&O===f.WARNING&&e.createElement(g.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,n),r&&e.createElement("p",{className:"googlesitekit-subtle-notification__secondary_description"},r)),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(l.Button,{tertiary:!0,onClick:E},v),m&&e.createElement(l.Button,{className:"googlesitekit-subtle-notification__cta",href:o,onClick:p,target:h?"_blank":"_self",trailingIcon:h?e.createElement(d.a,{width:14,height:14}):void 0},m)))))}SubtleNotification.propTypes={title:o.a.string.isRequired,description:o.a.string,Icon:o.a.elementType,ctaLink:o.a.string,ctaLabel:o.a.string,onCTAClick:o.a.func,isCTALinkExternal:o.a.bool,dismissLabel:o.a.string,onDismiss:o.a.func.isRequired,variant:o.a.oneOf(Object.values(f))},t.a=SubtleNotification}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeSingleRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeSingleRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA;return e.createElement(a.Fragment,null,e.createElement("div",{className:"googlesitekit-settings-notice__text"},n),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null)))}SettingsNoticeSingleRow.propTypes={notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportZero}));var r=n(6),i=n.n(r),a=n(21),o=n.n(a),c=n(22),l=n.n(c),s=n(1),u=n.n(s),d=n(0),g=n(86),f=n(96);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportZero(t){var n=t.widgetSlug,r=t.moduleSlug,i=l()(t,["widgetSlug","moduleSlug"]),a=Object(d.useMemo)((function(){return{moduleSlug:r}}),[r]);return Object(g.a)(n,f.a,a),e.createElement(f.a,o()({moduleSlug:r},i))}WidgetReportZero.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:u.a.string.isRequired},f.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetReportError}));var r=n(6),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(104);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function WidgetReportError(t){t.widgetSlug;var n=o()(t,["widgetSlug"]);return e.createElement(s.a,n)}WidgetReportError.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:l.a.string.isRequired},s.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WidgetNull}));var r=n(6),i=n.n(r),a=n(1),o=n.n(a),c=n(86),l=n(73);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u={};function WidgetNull(t){var n=t.widgetSlug;return Object(c.a)(n,l.a,u),e.createElement(l.a,null)}WidgetNull.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({widgetSlug:o.a.string.isRequired},l.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPDashboardReportError}));var r=n(1),i=n.n(r),a=n(392),o=n(186),c=n(3),l=n(23),s=n(104);function WPDashboardReportError(t){var n=t.moduleSlug,r=t.error,i=Object(o.a)(WPDashboardReportError,"WPDashboardReportError"),u=Object(c.useDispatch)(l.b).setValue,d=r.message,g=Object(c.useSelect)((function(e){return e(l.b).getValue("WPDashboardReportError-".concat(n,"-").concat(d))}));return Object(a.a)((function(){u("WPDashboardReportError-".concat(n,"-").concat(d),i)}),(function(){u("WPDashboardReportError-".concat(n,"-").concat(d),void 0)})),g!==i?null:e.createElement(s.a,{moduleSlug:n,error:r})}WPDashboardReportError.propTypes={moduleSlug:i.a.string.isRequired,error:i.a.object.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerIcon}));var r=n(1),i=n.n(r),a=n(90),o=n(204),c=n(16);function BannerIcon(t){var n=t.type;if("win-error"!==n&&"win-warning"!==n)return null;var r="win-warning"===n?e.createElement(a.a,{width:34}):e.createElement(o.a,{width:28});return e.createElement(c.a,{size:1,smOrder:3,mdOrder:3,lgOrder:3},e.createElement("div",{className:"googlesitekit-publisher-win__icons"},r))}BannerIcon.propTypes={type:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"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 r.createElement("svg",i({viewBox:"0 0 28 25"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerLogo}));var r=n(1),i=n.n(r),a=n(16),o=n(143),c=n(169);function BannerLogo(t){var n=t.module,r=t.moduleName;return e.createElement(a.a,{size:12},e.createElement("div",{className:"googlesitekit-publisher-win__logo"},n&&e.createElement(c.a,{slug:n,size:19}),!n&&e.createElement(o.a,{height:"34",width:"32"})),r&&e.createElement("div",{className:"googlesitekit-publisher-win__module-name"},r))}BannerLogo.propTypes={module:i.a.string,moduleName:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return BannerDescription}));var r=n(1),i=n.n(r),a=n(0),o=n(78),c=n(20),l=n(75);function BannerDescription(t){var n=t.description,r=t.learnMoreLabel,i=t.learnMoreURL,s=t.learnMoreTarget,u=t.learnMoreDescription,d=t.onLearnMoreClick;if(!n)return null;var g;return r&&(g=e.createElement(a.Fragment,null,e.createElement(c.a,{onClick:function(e){e.persist(),null==d||d()},href:i,external:s===l.a.EXTERNAL},r),u)),e.createElement("div",{className:"googlesitekit-publisher-win__desc"},Object(a.isValidElement)(n)?e.createElement(a.Fragment,null,n,g&&e.createElement("p",null,g)):e.createElement("p",null,e.createElement("span",{dangerouslySetInnerHTML:Object(o.a)(n,{ALLOWED_TAGS:["strong","em","br","a"],ALLOWED_ATTR:["href"]})})," ",g))}BannerDescription.propTypes={description:i.a.node,learnMoreURL:i.a.string,learnMoreDescription:i.a.string,learnMoreLabel:i.a.string,learnMoreTarget:i.a.oneOf(Object.values(l.a)),onLearnMoreClick:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(137),i=(r.a.Consumer,r.a.Provider);t.a=i},,function(e,t,n){"use strict";n.d(t,"a",(function(){return SurveyViewTrigger}));var r=n(0),i=n(1),a=n.n(i),o=n(3),c=n(14),l=n(7);function SurveyViewTrigger(e){var t=e.triggerID,n=e.ttl,i=void 0===n?0:n,a=Object(o.useSelect)((function(e){return e(c.c).isUsingProxy()})),s=Object(o.useDispatch)(l.a).triggerSurvey;return Object(r.useEffect)((function(){a&&s(t,{ttl:i})}),[a,t,i,s]),null}SurveyViewTrigger.propTypes={triggerID:a.a.string.isRequired,ttl:a.a.number}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12);function i(e){var t;if(void 0!==e)return!((null==e?void 0:e.rows)&&(null==e?void 0:e.totals)&&!(null==e||null===(t=e.totals)||void 0===t?void 0:t.every(r.isEmpty)))||!e.totals.some((function(e){return!!e.metricValues&&e.metricValues.some((function(e){return e.value>0}))}))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return o}));var r="pax",i="_googlesitekitPAXConfig",a={LAUNCH:1,FINISHED:2},o="pax_setup_success_notification"},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(27),i=n.n(r),a=n(13),o=n.n(a),c=n(12),l=n(2),s=n(77),u=n(8),d=n(15),g=n.n(d),f=n(10),m=n.n(f);function p(e,t){var n=t.dateRangeLength;m()(Array.isArray(e),"report must be an array to partition."),m()(Number.isInteger(n)&&n>0,"dateRangeLength must be a positive integer.");var r=function(t){return e.filter((function(e){return g()(e.dimensionValues,2)[1].value===t}))},i=-1*n;return{currentRange:r("date_range_0").slice(i),compareRange:r("date_range_1").slice(2*i,i)}}var h=n(194);function b(e,t){var n=[];return e.forEach((function(e){if(e.metricValues){var r=e.metricValues[t].value,i=e.dimensionValues[0].value,a=Object(h.a)(i);n.push([a,r])}})),n}function v(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[Object(l.__)("Users","google-site-kit"),Object(l.__)("Sessions","google-site-kit"),Object(l.__)("Engagement Rate","google-site-kit"),Object(l.__)("Session Duration","google-site-kit")],d=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[function(e){return parseFloat(e).toLocaleString()},function(e){return parseFloat(e).toLocaleString()},function(e){return Object(u.C)(e/100,{style:"percent",signDisplay:"never",maximumFractionDigits:2})},function(e){return Object(u.C)(e,"s")}],g=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[c.identity,c.identity,function(e){return 100*e},c.identity],f=i()((null==e?void 0:e.rows)||[]),m=f.length;if(2*n>m){for(var h=Object(u.H)(r),v=0;n>v;v++){var E=(h.getMonth()+1).toString(),_=h.getDate().toString(),O=h.getFullYear().toString()+(2>E.length?"0":"")+E+(2>_.length?"0":"")+_;if(v>m){var y=[{dimensionValues:[{value:O},{value:"date_range_0"}],metricValues:[{value:0},{value:0}]},{dimensionValues:[{value:O},{value:"date_range_1"}],metricValues:[{value:0},{value:0}]}];f.unshift.apply(f,y)}h.setDate(h.getDate()-1)}f.push({dimensionValues:[{value:"0"},{value:"date_range_0"}]},{dimensionValues:[{value:"0"},{value:"date_range_1"}]})}var k=a[t]===Object(l.__)("Session Duration","google-site-kit"),j=k?"timeofday":"number",S=[[{type:"date",label:Object(l.__)("Day","google-site-kit")},{type:"string",role:"tooltip",p:{html:!0}},{type:j,label:a[t]},{type:j,label:Object(l.__)("Previous period","google-site-kit")}]],w=p(f,{dateRangeLength:n}),x=w.compareRange,N=w.currentRange,C=b(N,t),A=b(x,t),T=Object(s.b)(),R={weekday:"short",month:"short",day:"numeric"};return C.forEach((function(e,n){if(e[0]&&e[1]&&A[n]){var r=g[t],i=r(e[1]),c=r(A[n][1]),s=parseFloat(c),f=Object(u.i)(i,s),m=Object(u.p)(f),p=Object(l.sprintf)( /* translators: 1: date for user stats, 2: previous date for user stats comparison */ Object(l._x)("%1$s vs %2$s","Date range for chart tooltip","google-site-kit"),e[0].toLocaleDateString(T,R),A[n][0].toLocaleDateString(T,R)),h=Object(l.sprintf)( /* translators: 1: selected stat label, 2: numeric value of selected stat, 3: up or down arrow , 4: different change in percentage */ Object(l._x)("%1$s: <strong>%2$s</strong> <em>%3$s %4$s</em>","Stat information for chart tooltip","google-site-kit"),a[t],d[t](i),m,Object(u.C)(Math.abs(f),"%"));S.push([e[0],'<div class="'.concat(o()("googlesitekit-visualization-tooltip",{"googlesitekit-visualization-tooltip--up":f>0,"googlesitekit-visualization-tooltip--down":f<0}),'">\n\t\t\t\t<p>').concat(p,"</p>\n\t\t\t\t<p>").concat(h,"</p>\n\t\t\t</div>"),k?Object(u.k)(i):i,k?Object(u.k)(c):c])}})),S}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsNoticeMultiRow}));var r=n(1),i=n.n(r),a=n(0);function SettingsNoticeMultiRow(t){var n=t.notice,r=t.LearnMore,i=t.CTA,o=t.children;return e.createElement(a.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"},o),r&&e.createElement("div",{className:"googlesitekit-settings-notice__learn-more"},e.createElement(r,null)),i&&e.createElement("div",{className:"googlesitekit-settings-notice__cta"},e.createElement(i,null))))}SettingsNoticeMultiRow.propTypes={children:i.a.node.isRequired,notice:i.a.node.isRequired,LearnMore:i.a.elementType,CTA:i.a.elementType}}).call(this,n(4))},,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return OptIn}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(0),g=n(38),f=n(2),m=n(3),p=n(11),h=n(7),b=n(35),v=n(20),E=n(19);function OptIn(t){var n=t.id,r=void 0===n?"googlesitekit-opt-in":n,a=t.name,c=void 0===a?"optIn":a,l=t.className,s=t.trackEventCategory,_=t.alignLeftCheckbox,O=void 0!==_&&_,y=Object(m.useSelect)((function(e){return e(h.a).isTrackingEnabled()})),k=Object(m.useSelect)((function(e){return e(h.a).isSavingTrackingEnabled()})),j=Object(m.useSelect)((function(e){return e(h.a).getErrorForAction("setTrackingEnabled",[!y])})),S=Object(m.useDispatch)(h.a).setTrackingEnabled,w=Object(E.a)(),x=Object(d.useCallback)(function(){var e=o()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S(!!t.target.checked);case 2:n=e.sent,r=n.response,n.error||(Object(b.a)(r.enabled),r.enabled&&Object(b.b)(s||w,"tracking_optin"));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[S,s,w]);return e.createElement("div",{className:u()("googlesitekit-opt-in",l)},e.createElement(p.Checkbox,{id:r,name:c,value:"1",checked:y,disabled:k,onChange:x,loading:void 0===y,alignLeft:O},Object(g.a)(Object(f.__)("<span>Help us improve Site Kit by sharing anonymous usage data.</span> <span>All collected data is treated in accordance with the <a>Google Privacy Policy.</a></span>","google-site-kit"),{a:e.createElement(v.a,{key:"link",href:"https://policies.google.com/privacy",external:!0}),span:e.createElement("span",null)})),(null==j?void 0:j.message)&&e.createElement("div",{className:"googlesitekit-error-text"},null==j?void 0:j.message))}OptIn.propTypes={id:l.a.string,name:l.a.string,className:l.a.string,trackEventCategory:l.a.string,alignLeftCheckbox:l.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarning}));var r=n(1),i=n.n(r),a=n(3),o=n(14),c=n(18),l=n(362);function AdBlockerWarning(t){var n=t.moduleSlug,r=t.className,i=Object(a.useSelect)((function(e){return e(c.a).getModuleStoreName(n)})),s=Object(a.useSelect)((function(e){var t;return null===(t=e(i))||void 0===t?void 0:t.getAdBlockerWarningMessage()})),u=Object(a.useSelect)((function(e){return e(o.c).getDocumentationLinkURL("".concat(n,"-ad-blocker-detected"))}));return e.createElement(l.a,{className:r,getHelpLink:u,warningMessage:s})}AdBlockerWarning.propTypes={className:i.a.string,moduleSlug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return JoyrideTooltip}));var i=n(6),a=n.n(i),o=n(15),c=n.n(o),l=n(1),s=n(30),u=n(454),d=n(0),g=n(136),f=n(85),m=n(111);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JoyrideTooltip(t){var n=t.title,i=t.content,a=t.dismissLabel,o=t.target,l=t.cta,p=void 0!==l&&l,b=t.className,v=t.styles,E=void 0===v?{}:v,_=t.slug,O=void 0===_?"":_,y=t.onDismiss,k=void 0===y?function(){}:y,j=t.onView,S=void 0===j?function(){}:j,w=t.onTourStart,x=void 0===w?function(){}:w,N=t.onTourEnd,C=void 0===N?function(){}:N,A=function(){return!!e.document.querySelector(o)},T=Object(d.useState)(A),R=c()(T,2),D=R[0],M=R[1];if(Object(u.a)((function(){A()&&M(!0)}),D?null:250),Object(d.useEffect)((function(){if(D&&e.ResizeObserver){var t=e.document.querySelector(o),n=new ResizeObserver((function(){e.dispatchEvent(new Event("resize"))}));return n.observe(t),function(){n.disconnect()}}}),[o,D]),!D)return null;var P=[{title:n,target:o,content:i,disableBeacon:!0,isFixed:!0,placement:"auto",cta:p,className:b}],I={last:a};return r.createElement(f.a,{slug:O},r.createElement(s.e,{callback:function(t){switch(t.type){case s.b.TOUR_START:x(),e.document.body.classList.add("googlesitekit-showing-tooltip");break;case s.b.TOUR_END:C(),e.document.body.classList.remove("googlesitekit-showing-tooltip");break;case s.b.STEP_AFTER:k();break;case s.b.TOOLTIP:S()}},disableOverlay:!0,disableScrolling:!0,spotlightPadding:0,floaterProps:m.b,locale:I,steps:P,styles:h(h(h({},m.c),E),{},{options:h(h({},m.c.options),null==E?void 0:E.options),spotlight:h(h({},m.c.spotlight),null==E?void 0:E.spotlight)}),tooltipComponent:g.a,run:!0}))}JoyrideTooltip.propTypes={title:l.PropTypes.string.isRequired,content:l.PropTypes.string,dismissLabel:l.PropTypes.string,target:l.PropTypes.string.isRequired,onDismiss:l.PropTypes.func,onShow:l.PropTypes.func,className:l.PropTypes.string,styles:l.PropTypes.object,slug:l.PropTypes.string,onView:l.PropTypes.func}}).call(this,n(26),n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Item}));var r=n(1),i=n.n(r);function Item(t){var n=t.icon,r=t.label;return e.createElement("div",{className:"googlesitekit-user-menu__item"},e.createElement("div",{className:"googlesitekit-user-menu__item-icon"},n),e.createElement("span",{className:"googlesitekit-user-menu__item-label"},r))}Item.propTypes={icon:i.a.node,label:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(268);n.d(t,"a",(function(){return r.a}));var i=n(269);n.d(t,"b",(function(){return i.a}))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Root}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(441),l=n(471),s=n(0),u=n(3),d=n.n(u),g=n(228),f=n(229),m=n(51),p=n(230),h=n(232),b=n(233),v=n(61),E=n(207),_=n(163);function Root(t){var n=t.children,r=t.registry,a=t.viewContext,o=void 0===a?null:a,d=c.a,O=Object(s.useState)({key:"Root",value:!0}),y=i()(O,1)[0];return e.createElement(s.StrictMode,null,e.createElement(E.a,{value:y},e.createElement(u.RegistryProvider,{value:r},e.createElement(f.a,{value:m.a},e.createElement(v.a,{value:o},e.createElement(l.a,{theme:d()},e.createElement(g.a,null,e.createElement(h.a,null,n,o&&e.createElement(b.a,null)),Object(_.a)(o)&&e.createElement(p.a,null))))))))}Root.propTypes={children:o.a.node,registry:o.a.object,viewContext:o.a.string.isRequired},Root.defaultProps={registry:d.a}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(48),a=n.n(i),o=n(49),c=n.n(o),l=n(68),s=n.n(l),u=n(69),d=n.n(u),g=n(47),f=n.n(g),m=n(1),p=n.n(m),h=n(0),b=n(2),v=n(162),E=n(61),_=n(50),O=n(8);function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var i=f()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return d()(this,n)}}var k=function(t){s()(ErrorHandler,t);var n=y(ErrorHandler);function ErrorHandler(e){var t;return a()(this,ErrorHandler),(t=n.call(this,e)).state={error:null,info:null,copied:!1},t}return c()(ErrorHandler,[{key:"componentDidCatch",value:function(t,n){e.console.error("Caught an error:",t,n),this.setState({error:t,info:n}),Object(O.J)("react_error","handle_".concat(this.context||"unknown","_error"),"".concat(null==t?void 0:t.message,"\n").concat(null==n?void 0:n.componentStack).slice(0,500))}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.error,i=t.info;return n?r.createElement(_.b,{id:"googlesitekit-error",className:"googlesitekit-error-handler",title:Object(b.__)("Site Kit encountered an error","google-site-kit"),description:r.createElement(v.a,{message:n.message,componentStack:i.componentStack}),isDismissible:!1,format:"small",type:"win-error"},r.createElement("pre",{className:"googlesitekit-overflow-auto"},n.message,i.componentStack)):e}}]),ErrorHandler}(h.Component);k.contextType=E.b,k.propTypes={children:p.a.node.isRequired},t.a=k}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(127),i=(r.a.Consumer,r.a.Provider);t.a=i},function(e,t,n){"use strict";(function(e){var r=n(3),i=n(231),a=n(7);t.a=function PermissionsModal(){return Object(r.useSelect)((function(e){return e(a.a).isAuthenticated()}))?e.createElement(i.a,null):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(2),s=n(0),u=n(3),d=n(113),g=n(29),f=n(32),m=n(7),p=n(126),h=n(85);t.a=function AuthenticatedPermissionsModal(){var t,n,i,o,b=Object(u.useRegistry)(),v=Object(u.useSelect)((function(e){return e(m.a).getPermissionScopeError()})),E=Object(u.useSelect)((function(e){return e(m.a).getUnsatisfiedScopes()})),_=Object(u.useSelect)((function(t){var n,r;return t(m.a).getConnectURL({additionalScopes:null==v||null===(n=v.data)||void 0===n?void 0:n.scopes,redirectURL:(null==v||null===(r=v.data)||void 0===r?void 0:r.redirectURL)||e.location.href})})),O=Object(u.useDispatch)(m.a).clearPermissionScopeError,y=Object(u.useDispatch)(f.a).navigateTo,k=Object(u.useDispatch)(g.a).setValues,j=Object(s.useCallback)((function(){O()}),[O]),S=Object(s.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(m.d,{permissionsError:v}),e.next=3,Object(p.c)(b);case 3:y(_);case 4:case"end":return e.stop()}}),e)}))),[b,_,y,v,k]);return Object(s.useEffect)((function(){(function(){var e=c()(a.a.mark((function e(){var t,n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null==v||null===(t=v.data)||void 0===t?void 0:t.skipModal)||!(null==v||null===(n=v.data)||void 0===n||null===(r=n.scopes)||void 0===r?void 0:r.length)){e.next=3;break}return e.next=3,S();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[S,v]),v?(null==v||null===(t=v.data)||void 0===t||null===(n=t.scopes)||void 0===n?void 0:n.length)?(null==v||null===(i=v.data)||void 0===i?void 0:i.skipModal)||E&&(null==v||null===(o=v.data)||void 0===o?void 0:o.scopes.every((function(e){return E.includes(e)})))?null:r.createElement(h.a,null,r.createElement(d.a,{title:Object(l.__)("Additional Permissions Required","google-site-kit"),subtitle:v.message,confirmButton:Object(l.__)("Proceed","google-site-kit"),dialogActive:!0,handleConfirm:S,handleDialog:j,medium:!0})):(e.console.warn("permissionsError lacks scopes array to use for redirect, so not showing the PermissionsModal. permissionsError was:",v),null):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(3),d=n(126);t.a=function RestoreSnapshots(e){var t=e.children,n=Object(u.useRegistry)(),r=Object(s.useState)(!1),a=l()(r,2),c=a[0],g=a[1];return Object(s.useEffect)((function(){c||o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(d.b)(n);case 2:g(!0);case 3:case"end":return e.stop()}}),e)})))()}),[n,c]),c?t:null}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return FeatureToursDesktop}));var r=n(6),i=n.n(r),a=n(91),o=n(189);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function FeatureToursDesktop(t){return Object(a.a)()<783?null:e.createElement(o.a,t)}FeatureToursDesktop.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o.a.propTypes)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WarningNotice}));var r=n(13),i=n.n(r),a=n(1),o=n.n(a);function WarningNotice(t){var n=t.children,r=t.className;return e.createElement("div",{className:i()("googlesitekit-warning-notice",r)},n)}WarningNotice.propTypes={children:o.a.node.isRequired,className:o.a.string}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(567),u=n(2),d=n(0),g=n(3),f=n(251),m=n(273),p=n(277),h=n(7),b=n(16),v=n(282),E=n(289),_=n(291),O=n(297),y=n(33),k=n(46),j=n(20),S=n(298),w=n(14),x=n(307);function Header(t){var n,r=t.children,a=t.subHeader,o=t.showNavigation,c=!!Object(k.c)(),N=Object(y.a)();Object(x.a)();var C=Object(g.useSelect)((function(e){return e(w.c).getAdminURL("googlesitekit-dashboard")})),A=Object(g.useSelect)((function(e){return e(h.a).isAuthenticated()})),T=Object(s.a)({childList:!0}),R=i()(T,2),D=R[0],M=!!(null===(n=R[1].target)||void 0===n?void 0:n.childElementCount);return e.createElement(d.Fragment,null,e.createElement("header",{className:l()("googlesitekit-header",{"googlesitekit-header--has-subheader":M,"googlesitekit-header--has-navigation":o})},e.createElement(b.e,null,e.createElement(b.k,null,e.createElement(b.a,{smSize:1,mdSize:2,lgSize:4,className:"googlesitekit-header__logo",alignMiddle:!0},e.createElement(j.a,{"aria-label":Object(u.__)("Go to dashboard","google-site-kit"),className:"googlesitekit-header__logo-link",href:C},e.createElement(f.a,null))),e.createElement(b.a,{smSize:3,mdSize:6,lgSize:8,className:"googlesitekit-header__children",alignMiddle:!0},r,!A&&c&&N&&e.createElement(_.a,null),A&&!N&&e.createElement(m.a,null))))),e.createElement("div",{className:"googlesitekit-subheader",ref:D},e.createElement(p.a,null),e.createElement(O.a,null),a),o&&e.createElement(v.a,null),c&&e.createElement(S.a,null),e.createElement(E.a,null))}Header.displayName="Header",Header.propTypes={children:o.a.node,subHeader:o.a.element,showNavigation:o.a.bool},Header.defaultProps={children:null,subHeader:null},t.a=Header}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return HelpMenu}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(239),l=n(0),s=n(57),u=n(2),d=n(3),g=n(11),f=n(308),m=n(119),p=n(8),h=n(167),b=n(18),v=n(19),E=n(14);function HelpMenu(t){var n=t.children,r=Object(l.useState)(!1),a=i()(r,2),o=a[0],_=a[1],O=Object(l.useRef)(),y=Object(v.a)();Object(c.a)(O,(function(){return _(!1)})),Object(m.a)([s.c,s.f],O,(function(){return _(!1)}));var k=Object(d.useSelect)((function(e){return e(b.a).isModuleActive("adsense")})),j=Object(l.useCallback)((function(){o||Object(p.J)("".concat(y,"_headerbar"),"open_helpmenu"),_(!o)}),[o,y]),S=Object(l.useCallback)((function(){_(!1)}),[]),w=Object(d.useSelect)((function(e){return e(E.c).getDocumentationLinkURL("fix-common-issues")}));return e.createElement("div",{ref:O,className:"googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},e.createElement(g.Button,{"aria-controls":"googlesitekit-help-menu","aria-expanded":o,"aria-label":Object(u.__)("Help","google-site-kit"),"aria-haspopup":"menu",className:"googlesitekit-header__dropdown googlesitekit-border-radius-round googlesitekit-button-icon googlesitekit-help-menu__button mdc-button--dropdown",icon:e.createElement(f.a,{width:"20",height:"20"}),onClick:j,text:!0,tooltipEnterDelayInMS:500}),e.createElement(g.Menu,{className:"googlesitekit-width-auto",menuOpen:o,id:"googlesitekit-help-menu",onSelected:S},n,e.createElement(h.a,{gaEventLabel:"fix_common_issues",href:w},Object(u.__)("Fix common issues","google-site-kit")),e.createElement(h.a,{gaEventLabel:"documentation",href:"https://sitekit.withgoogle.com/documentation/"},Object(u.__)("Read help docs","google-site-kit")),e.createElement(h.a,{gaEventLabel:"support_forum",href:"https://wordpress.org/support/plugin/google-site-kit/"},Object(u.__)("Get support","google-site-kit")),k&&e.createElement(h.a,{gaEventLabel:"adsense_help",href:"https://support.google.com/adsense/"},Object(u.__)("Get help with AdSense","google-site-kit"))))}HelpMenu.propTypes={children:o.a.node}}).call(this,n(4))},,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(23);function d(e){var t=Object(l.useDispatch)(u.b).setValue,n=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.2")})),r=Object(l.useSelect)((function(e){return e(s.c).hasMinimumWordPressVersion("6.4")}));return Object(c.useCallback)(o()(i.a.mark((function a(){var o,c,l,s;return i.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(o=document.querySelector("#adminmenu").offsetHeight>0){i.next=7;break}if(!(c=document.getElementById("wp-admin-bar-menu-toggle"))){i.next=7;break}return c.firstChild.click(),i.next=7,new Promise((function(e){setTimeout(e,0)}));case 7:"#adminmenu [href*='page=googlesitekit-dashboard']",(l=!!document.querySelector("".concat("#adminmenu [href*='page=googlesitekit-dashboard']","[aria-haspopup=true]")))&&document.querySelector("#adminmenu [href*='page=googlesitekit-dashboard']").click(),n&&!r&&(s=document.hasFocus,document.hasFocus=function(){return document.hasFocus=s,!1}),t(e,{isTooltipVisible:!0,rehideAdminMenu:!o,rehideAdminSubMenu:l});case 12:case"end":return i.stop()}}),a)}))),[n,r,t,e])}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdminMenuTooltip}));var r=n(6),i=n.n(r),a=n(21),o=n.n(a),c=n(5),l=n.n(c),s=n(17),u=n.n(s),d=n(22),g=n.n(d),f=n(0),m=n(1),p=n.n(m),h=n(3),b=n(222),v=n(23),E=n(173);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function AdminMenuTooltip(t){var n=t.onDismiss,r=t.tooltipStateKey,i=g()(t,["onDismiss","tooltipStateKey"]),a=Object(h.useDispatch)(v.b).setValue,c=Object(E.a)(r),s=c.rehideAdminMenu,d=c.rehideAdminSubMenu,m=Object(f.useCallback)(u()(l.a.mark((function e(){var t;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s&&document.querySelector("#adminmenu").offsetHeight>0&&(null===(t=document.getElementById("wp-admin-bar-menu-toggle"))||void 0===t||t.click()),d&&document.querySelector("body").click(),e.next=4,null==n?void 0:n();case 4:a(r,void 0);case 5:case"end":return e.stop()}}),e)}))),[n,s,d,a,r]);return e.createElement(b.a,o()({slug:"ga4-activation-banner-admin-menu-tooltip",onDismiss:m},i))}AdminMenuTooltip.propTypes=O(O({},b.a.propTypes),{},{target:p.a.string,tooltipStateKey:p.a.string.isRequired}),AdminMenuTooltip.defaultProps={target:'#adminmenu [href*="page=googlesitekit-settings"]'}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(270);n.d(t,"a",(function(){return r.a}));n(259);var i=n(271);n.d(t,"b",(function(){return i.a}))},,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AudienceErrorModal}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(3),l=n(20),s=n(113),u=n(85),d=n(14),g=n(9),f=n(37);function AudienceErrorModal(t){var n=t.apiErrors,r=t.hasOAuthError,i=t.inProgress,m=t.title,p=t.description,h=t.onCancel,b=void 0===h?function(){}:h,v=t.onRetry,E=void 0===v?function(){}:v,_=Array.isArray(n)?n:[n],O=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"analytics-4_insufficient_permissions"})})),y=Object(c.useSelect)((function(e){return e(g.p).getServiceEntityAccessURL()})),k=Object(c.useSelect)((function(e){return e(d.c).getErrorTroubleshootingLinkURL({code:"access_denied"})}));if(!_.length&&!r)return null;var j,S,w,x,N=_.some((function(e){return Object(f.e)(e)}));return r?(j=Object(o.__)("Analytics update failed","google-site-kit"),S=Object(a.a)(Object(o.__)("Setup was interrupted because you did not grant the necessary permissions. <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:k,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),w=Object(o.__)("Retry","google-site-kit")):N?(j=Object(o.__)("Insufficient permissions","google-site-kit"),S=Object(a.a)(Object(o.__)("You’ll need to contact your administrator. Trouble getting access? <HelpLink />","google-site-kit"),{HelpLink:e.createElement(l.a,{href:O,external:!0,hideExternalIndicator:!0},Object(o.__)("Get help","google-site-kit"))}),w=Object(o.__)("Request access","google-site-kit"),x=y):(j=m||Object(o.__)("Failed to set up visitor groups","google-site-kit"),S=p||Object(o.__)("Oops! Something went wrong. Retry enabling groups.","google-site-kit"),w=Object(o.__)("Retry","google-site-kit")),e.createElement(u.a,null,e.createElement(s.a,{dialogActive:!0,buttonLink:x,title:j,subtitle:S,handleConfirm:E,confirmButton:w,handleDialog:b,onClose:b,danger:!0,inProgress:i}))}AudienceErrorModal.propTypes={apiErrors:i.a.oneOfType([i.a.arrayOf(i.a.object),i.a.object,i.a.array]),hasOAuthError:i.a.bool,inProgress:i.a.bool,onCancel:i.a.func,onRetry:i.a.func}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(2),i=n(143),a=n(252),o=n(105);t.a=function Logo(){return e.createElement("div",{className:"googlesitekit-logo","aria-hidden":"true"},e.createElement(i.a,{className:"googlesitekit-logo__logo-g",height:"34",width:"32"}),e.createElement(a.a,{className:"googlesitekit-logo__logo-sitekit",height:"26",width:"99"}),e.createElement(o.a,null,Object(r.__)("Site Kit by Google Logo","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M62.09 1.664h3.038v.1L58.34 9.593l7.241 10.224v.1H62.7L56.755 11.4 53.95 14.64v5.278h-2.351V1.664h2.35v9.415h.1l8.04-9.415zM69.984 3.117c0 .454-.166.853-.487 1.175-.322.322-.71.488-1.176.488-.455 0-.854-.166-1.175-.488a1.599 1.599 0 01-.488-1.175c0-.466.166-.854.488-1.176.321-.322.71-.488 1.175-.488.455 0 .854.166 1.176.488.332.333.487.72.487 1.176zm-.476 4.313v12.498h-2.351V7.43h2.35zM77.016 20.128c-1.02 0-1.864-.31-2.54-.943-.676-.632-1.02-1.508-1.031-2.628V9.57h-2.196V7.43h2.196V3.603h2.35V7.43h3.061v2.14h-3.06v6.222c0 .831.166 1.397.488 1.696.321.3.687.444 1.097.444.189 0 .366-.022.555-.067.188-.044.344-.1.499-.166l.743 2.096c-.632.222-1.342.333-2.162.333zM2.673 18.952C1.375 18.009.488 16.678 0 14.97l2.883-1.176c.289 1.076.799 1.94 1.542 2.628.732.677 1.619 1.02 2.65 1.02.965 0 1.774-.244 2.45-.742.677-.5 1.01-1.187 1.01-2.052 0-.798-.3-1.453-.887-1.974-.588-.521-1.62-1.042-3.094-1.564l-1.22-.432C4.025 10.224 2.928 9.57 2.04 8.716 1.153 7.862.71 6.742.71 5.346c0-.966.266-1.853.787-2.673C2.018 1.852 2.75 1.209 3.693.72 4.624.244 5.678 0 6.864 0c1.708 0 3.072.41 4.081 1.242 1.02.832 1.697 1.752 2.04 2.795L10.236 5.2c-.2-.621-.576-1.164-1.142-1.63-.565-.477-1.286-.71-2.173-.71s-1.641.222-2.251.676c-.61.455-.91 1.032-.91 1.742 0 .676.278 1.22.82 1.663.544.432 1.398.854 2.563 1.253l1.22.41c1.674.577 2.96 1.342 3.88 2.274.921.931 1.376 2.184 1.376 3.748 0 1.275-.322 2.34-.976 3.193a6.01 6.01 0 01-2.495 1.919 8.014 8.014 0 01-3.116.621c-1.62 0-3.072-.466-4.358-1.408zM15.969 3.449a1.95 1.95 0 01-.588-1.43c0-.566.2-1.043.588-1.431A1.95 1.95 0 0117.399 0c.566 0 1.043.2 1.43.588.389.388.588.865.588 1.43 0 .566-.2 1.043-.587 1.43a1.95 1.95 0 01-1.43.589c-.566-.012-1.043-.2-1.431-.588zm-.067 2.595h2.994v13.883h-2.994V6.044zM25.405 19.85c-.543-.2-.986-.466-1.33-.788-.776-.776-1.176-1.84-1.176-3.182V8.683h-2.428v-2.64h2.428V2.13h2.994v3.926h3.372v2.639h-3.372v6.531c0 .743.145 1.276.433 1.575.277.366.743.543 1.42.543.31 0 .576-.044.82-.122.233-.077.488-.21.765-.399v2.917c-.599.277-1.32.41-2.173.41a5.01 5.01 0 01-1.753-.3zM33.623 19.407a6.63 6.63 0 01-2.529-2.628c-.61-1.12-.909-2.373-.909-3.77 0-1.332.3-2.551.887-3.693.588-1.132 1.409-2.04 2.462-2.706 1.053-.666 2.251-1.01 3.593-1.01 1.397 0 2.606.311 3.637.921a6.123 6.123 0 012.34 2.528c.532 1.076.799 2.274.799 3.627 0 .255-.023.576-.078.953H33.179c.111 1.287.566 2.285 1.375 2.983a4.162 4.162 0 002.817 1.043c.854 0 1.597-.189 2.218-.588a4.266 4.266 0 001.508-1.597l2.528 1.198c-.654 1.142-1.508 2.04-2.561 2.694-1.054.655-2.318.976-3.782.976-1.364.022-2.584-.288-3.66-.931zm7.23-8.051a3.332 3.332 0 00-.466-1.453c-.277-.477-.687-.887-1.242-1.208-.554-.322-1.23-.488-2.03-.488-.964 0-1.773.288-2.439.853-.665.566-1.12 1.342-1.375 2.296h7.552z",fill:"#5F6368"});t.a=function SvgLogoSitekit(e){return r.createElement("svg",i({viewBox:"0 0 80 21",fill:"none"},e),a)}},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="consent-mode-setup-cta-widget"},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(314),o=n(0),c=n(38),l=n(2),s=n(3),u=n(11),d=n(24),g=n(153),f=n(301),m=n(145),p=n(18),h=n(7),b=n(41),v=n(16),E=n(302),_=n(303),O=n(304),y=n(20),k=n(8),j=n(19);function ReaderRevenueManagerSetupCTABanner(t){var n=t.Widget,r=t.WidgetNull,i=Object(j.a)(),a=Object(d.e)(),f=a===d.b,m=a===d.c,S=Object(g.a)(b.d),w=Object(o.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"confirm_notification").finally((function(){S()}))}),[S,i]),x=Object(s.useSelect)((function(e){return e(h.a).isItemDismissed(b.e)})),N=Object(s.useDispatch)(h.a).dismissItem,C=Object(o.useCallback)((function(){Object(k.J)("".concat(i,"_rrm-setup-notification"),"dismiss_notification").finally((function(){N(b.e)}))}),[N,i]),A=Object(s.useSelect)((function(e){return e(p.a).canActivateModule(b.d)})),T=!1===x&&A;return Object(o.useEffect)((function(){T&&Object(k.J)("".concat(i,"_rrm-setup-notification"),"view_notification")}),[T,i]),T?e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(v.e,{className:"googlesitekit-widget-area"},e.createElement(v.k,null,e.createElement(v.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-setup-cta-banner googlesitekit-reader-revenue-manager-setup-cta-widget"},e.createElement(v.e,{collapsed:!0},e.createElement(v.k,null,e.createElement(v.a,{smSize:12,mdSize:8,lgSize:6,className:"googlesitekit-setup-cta-banner__primary-cell"},e.createElement("h4",{className:"googlesitekit-setup-cta-banner__title"},Object(l.__)("Grow your revenue and deepen reader engagement","google-site-kit")),e.createElement("p",{className:"googlesitekit-setup-cta-banner__description"},Object(c.a)(Object(l.__)("Turn casual visitors into loyal readers and earn more from your content with subscriptions, contributions, ad optimization and reader insight tools. <a>Learn more</a>","google-site-kit"),{a:e.createElement(y.a,{href:"https://readerrevenue.withgoogle.com",external:!0,"aria-label":Object(l.__)("Learn more about reader revenue manager","google-site-kit")})})),e.createElement("div",{className:"googlesitekit-setup-cta-banner__actions-wrapper"},e.createElement(u.Button,{className:"googlesitekit-key-metrics-cta-button",onClick:w},Object(l.__)("Set up Reader Revenue Manager","google-site-kit")),e.createElement(u.Button,{tertiary:!0,onClick:C},Object(l.__)("Maybe later","google-site-kit")))),!f&&!m&&e.createElement(v.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8,lgSize:6},e.createElement(E.a,null)),m&&e.createElement(v.a,{className:"googlesitekit-setup-cta-banner__svg-wrapper",mdSize:8},e.createElement(_.a,null)),f&&e.createElement(v.a,{alignBottom:!0,className:"googlesitekit-setup-cta-banner__svg-wrapper",smSize:12},e.createElement(O.a,null))))))))):e.createElement(r,null)}ReaderRevenueManagerSetupCTABanner.propTypes={Widget:i.a.elementType.isRequired,WidgetNull:i.a.elementType.isRequired},t.a=Object(a.a)(Object(f.a)({moduleName:b.d}),Object(m.g)("readerRevenueManagerSetupCTABanner"))(ReaderRevenueManagerSetupCTABanner)}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return AudienceSegmentationSetupSuccessSubtleNotification}));var r=n(2),i=n(3),a=n(7),o=n(11),c=n(116),l=n(33),s=n(46),u="audience_segmentation_setup_success_notification";function AudienceSegmentationSetupSuccessSubtleNotification(){var t=Object(s.c)(),n=Object(l.a)(),d=Object(i.useSelect)((function(e){return e(a.a).getConfiguredAudiences()})),g=Object(i.useSelect)((function(e){return!t||n?null:e(a.a).isItemDismissed(u)})),f=Object(i.useDispatch)(a.a).dismissItem;function m(){f(u)}return t===s.b&&!n&&!g&&Array.isArray(d)?e.createElement(c.a,{title:Object(r.__)("Success! Visitor groups added to your dashboard","google-site-kit"),description:Object(r.__)("Get to know how different types of visitors interact with your site, e.g. which pages they visit and for how long.","google-site-kit"),onDismiss:m,additionalCTA:e.createElement(o.Button,{onClick:function(){m()}},Object(r.__)("Show me","google-site-kit"))}):null}}).call(this,n(4))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(15),i=n.n(r),a=n(408),o=n(311),c=n(0),l=n(137),s=n(23),u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.sticky,n=void 0!==t&&t,r=Object(c.useContext)(l.a),u=Object(c.useState)(!1),d=i()(u,2),g=d[0],f=d[1],m=Object(o.a)((function(e){return e(s.b).getInViewResetCount()})),p=Object(o.a)((function(e){return e(s.b).getValue("forceInView")}));return Object(c.useEffect)((function(){r.value&&!g&&f(!0)}),[g,r,f]),Object(c.useEffect)((function(){p&&f(!0)}),[p]),Object(a.a)((function(){f(!1)}),[m]),!(!n||!g)||!!r.value}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CircularProgress}));var r=n(683);function CircularProgress(t){return e.createElement(r.a,t)}}).call(this,n(4))},,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return PAXSetupSuccessSubtleNotification}));var i=n(15),a=n.n(i),o=n(2),c=n(11),l=n(89),s=n(116),u=n(88),d=n(24),g=n(211);function PAXSetupSuccessSubtleNotification(){var t=Object(d.e)(),n=Object(u.a)("notification"),i=a()(n,2),f=i[0],m=i[1];return g.d!==f?null:r.createElement(s.a,{title:Object(o.__)("Your Ads campaign was successfully set up!","google-site-kit"),description:Object(o.__)("Track your conversions, measure your campaign results and make the most of your ad spend","google-site-kit"),onDismiss:function(){m(void 0)},additionalCTA:r.createElement(c.Button,{onClick:function(n){n.preventDefault(),setTimeout((function(){e.scrollTo({top:Object(l.a)(".googlesitekit-widget--partnerAdsPAX",t),behavior:"smooth"}),m(void 0)}),50)}},Object(o.__)("Show me","google-site-kit"))})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupSuccessSubtleNotification}));var r=n(15),i=n.n(r),a=n(2),o=n(116),c=n(88);function SetupSuccessSubtleNotification(){var t=Object(c.a)("notification"),n=i()(t,2),r=n[0],l=n[1],s=Object(c.a)("slug"),u=i()(s,2),d=u[0],g=u[1];return"authentication_success"!==r||"ads"!==d?null:e.createElement(o.a,{title:Object(a.__)("Success! Your Conversion Tracking ID was added to your site","google-site-kit"),description:Object(a.__)("You can now track conversions for your Ads campaigns","google-site-kit"),onDismiss:function(){l(void 0),g(void 0)}})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PublicationApprovedOverlayNotification}));var r=n(2),i=n(175),a=n(299),o=n(300),c=n(33),l=n(19),s=n(46),u=n(81),d=n(8),g=n(11),f=n(3),m=n(7),p=n(23),h=n(25),b=n(41);function PublicationApprovedOverlayNotification(){var t=Object(l.a)(),n=Object(c.a)(),v=Object(s.c)(),E=Object(f.useSelect)((function(e){return e(m.a).isItemDismissed("rrmPublicationApprovedOverlayNotification")})),_=Object(f.useDispatch)(p.b).dismissOverlayNotification,O=Object(f.useSelect)((function(e){return e(b.b).getServiceURL()})),y=Object(f.useSelect)((function(e){return e(p.b).getValue(b.i)})),k=!1===E&&!0===y&&!n&&v===h.n,j=Object(f.useSelect)((function(e){return e(m.a).isDismissingItem("rrmPublicationApprovedOverlayNotification")})),S=function(){_("rrmPublicationApprovedOverlayNotification")};return e.createElement(i.a,{className:"googlesitekit-reader-revenue-manager-publication-approved-notification",GraphicDesktop:a.a,GraphicMobile:o.a,onShow:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"view_notification")},shouldShowNotification:k,notificationID:"rrmPublicationApprovedOverlayNotification"},e.createElement("div",{className:"googlesitekit-overlay-notification__body"},e.createElement("h3",null,Object(r.__)("Your Reader Revenue Manager publication is approved","google-site-kit")),e.createElement("p",null,Object(r.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups","google-site-kit"))),e.createElement("div",{className:"googlesitekit-overlay-notification__actions"},e.createElement(g.Button,{tertiary:!0,disabled:j,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"dismiss_notification").finally((function(){S()}))}},Object(r.__)("Maybe later","google-site-kit")),e.createElement(g.Button,{disabled:j,href:O,onClick:function(){Object(d.J)("".concat(t,"_rrm-publication-approved-notification"),"confirm_notification").finally((function(){S()}))},trailingIcon:e.createElement(u.a,{width:13,height:13}),target:"_blank"},Object(r.__)("Enable features","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(0),o=n(2),c=n(3),l=n(196),s=n(88),u=n(54),d=n(8),g=n(19),f=n(41),m=f.c.ONBOARDING_COMPLETE,p=f.c.PENDING_VERIFICATION,h=f.c.ONBOARDING_ACTION_REQUIRED,b=[m,p,h];t.a=Object(u.a)({moduleName:f.d})((function RRMSetupSuccessSubtleNotification(){var t=Object(g.a)(),n=Object(s.a)("notification"),r=i()(n,2),u=r[0],v=r[1],E=Object(s.a)("slug"),_=i()(E,2),O=_[0],y=_[1],k=Object(c.useSelect)((function(e){return e(f.b).getPublicationOnboardingState()})),j=Object(c.useSelect)((function(e){return e(f.b).getPublicationID()})),S=Object(c.useSelect)((function(e){return e(f.b).getServiceURL({publicationID:j})})),w="authentication_success"===u&&O===f.d&&void 0!==k,x=function(){b.includes(k)&&Object(d.J)("".concat(t,"_rrm-setup-success-notification"),"dismiss_notification",k),v(void 0),y(void 0)},N=function(){b.includes(k)&&Object(d.J)("".concat(t,"_rrm-setup-success-notification"),"confirm_notification",k)};return Object(a.useEffect)((function(){w&&b.includes(k)&&Object(d.J)("".concat(t,"_rrm-setup-success-notification"),"view_notification",k)}),[k,w,t]),w?k===m?e.createElement(l.a,{title:Object(o.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(o.__)("Unlock your full reader opportunity by enabling features like subscriptions, contributions and newsletter sign ups in the Reader Revenue Manager settings.","google-site-kit"),onDismiss:x,dismissLabel:Object(o.__)("Maybe later","google-site-kit"),ctaLabel:Object(o.__)("Customize settings","google-site-kit"),ctaLink:S,onCTAClick:N,isCTALinkExternal:!0}):k===p?e.createElement(l.a,{title:Object(o.__)("Your Reader Revenue Manager account was successfully set up!","google-site-kit"),description:Object(o.__)("Your publication is still awaiting review, you can check its status in Reader Revenue Manager.","google-site-kit"),onDismiss:x,dismissLabel:Object(o.__)("Got it","google-site-kit"),ctaLabel:Object(o.__)("Check publication status","google-site-kit"),ctaLink:S,onCTAClick:N,isCTALinkExternal:!0}):k===h?e.createElement(l.a,{title:Object(o.__)("Your Reader Revenue Manager account was successfully set up, but your publication still requires further setup in Reader Revenue Manager.","google-site-kit"),onDismiss:x,dismissLabel:Object(o.__)("Got it","google-site-kit"),ctaLabel:Object(o.__)("Complete publication setup","google-site-kit"),ctaLink:S,onCTAClick:N,isCTALinkExternal:!0,variant:"warning"}):null:null}))}).call(this,n(4))},,function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UserMenu}));var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(15),s=n.n(l),u=n(239),d=n(0),g=n(2),f=n(57),m=n(3),p=n(11),h=n(113),b=n(8),v=n(39),E=n(85),_=n(274),O=n(224),y=n(275),k=n(276),j=n(29),S=n(14),w=n(7),x=n(32),N=n(9),C=n(119),A=n(19);function UserMenu(){var t=Object(m.useSelect)((function(e){return e(S.c).getProxyPermissionsURL()})),n=Object(m.useSelect)((function(e){return e(w.a).getEmail()})),i=Object(m.useSelect)((function(e){return e(w.a).getPicture()})),o=Object(m.useSelect)((function(e){return e(w.a).getFullName()})),l=Object(m.useSelect)((function(e){return e(S.c).getAdminURL("googlesitekit-splash",{googlesitekit_context:"revoked"})})),T=Object(m.useSelect)((function(e){return e(j.a).getValue(N.c,"isAutoCreatingCustomDimensionsForAudience")})),R=Object(d.useState)(!1),D=s()(R,2),M=D[0],P=D[1],I=Object(d.useState)(!1),L=s()(I,2),F=L[0],B=L[1],z=Object(d.useRef)(),H=Object(d.useRef)(),W=Object(A.a)(),U=Object(m.useDispatch)(x.a).navigateTo;Object(u.a)(z,(function(){return B(!1)})),Object(C.a)([f.c,f.f],z,(function(){var e;B(!1),null===(e=H.current)||void 0===e||e.focus()})),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&(P(!1),B(!1))};return e.addEventListener("keyup",t),function(){e.removeEventListener("keyup",t)}}),[]);var V,G=Object(d.useCallback)((function(){F||Object(b.J)("".concat(W,"_headerbar"),"open_usermenu"),B(!F)}),[F,W]),q=Object(d.useCallback)((function(){P(!M),B(!1)}),[M]),K=Object(d.useCallback)(function(){var e=c()(a.a.mark((function e(n,r){var i;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.detail.item,e.t0=null==i?void 0:i.id,e.next="manage-sites"===e.t0?4:"disconnect"===e.t0?9:11;break;case 4:if(!t){e.next=8;break}return e.next=7,Object(b.J)("".concat(W,"_headerbar_usermenu"),"manage_sites");case 7:U(t);case 8:return e.abrupt("break",12);case 9:return q(),e.abrupt("break",12);case 11:G();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t,G,q,U,W]),Y=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return P(!1),e.next=3,Object(v.b)();case 3:return e.next=5,Object(b.J)("".concat(W,"_headerbar_usermenu"),"disconnect_user");case 5:U(l);case 6:case"end":return e.stop()}}),e)}))),[l,U,W]);return n?(o&&n&&(V=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name 2: User's email address. */ Object(g.__)("Google Account for %1$s (Email: %2$s)","google-site-kit"),o,n)),o&&!n&&(V=Object(g.sprintf)( /* translators: Account info text. 1: User's (full) name. */ Object(g.__)("Google Account for %1$s","google-site-kit"),o)),!o&&n&&(V=Object(g.sprintf)( /* translators: Account info text. 1: User's email address. */ Object(g.__)("Google Account (Email: %1$s)","google-site-kit"),n)),r.createElement(d.Fragment,null,r.createElement("div",{ref:z,className:"googlesitekit-user-selector googlesitekit-dropdown-menu googlesitekit-dropdown-menu__icon-menu mdc-menu-surface--anchor"},r.createElement(p.Button,{disabled:T,ref:H,className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--tablet googlesitekit-border-radius-round--phone googlesitekit-border-radius-round googlesitekit-button-icon",text:!0,onClick:G,icon:!!i&&r.createElement("i",{className:"mdc-button__icon mdc-button__account","aria-hidden":"true"},r.createElement("img",{className:"mdc-button__icon--image",src:i,alt:Object(g.__)("User Avatar","google-site-kit")})),"aria-haspopup":"menu","aria-expanded":F,"aria-controls":"user-menu","aria-label":T?void 0:Object(g.__)("Account","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500,customizedTooltip:T?null:r.createElement("span",{"aria-label":V},r.createElement("strong",null,Object(g.__)("Google Account","google-site-kit")),r.createElement("br",null),r.createElement("br",null),o,o&&r.createElement("br",null),n)}),r.createElement(p.Menu,{className:"googlesitekit-user-menu",menuOpen:F,onSelected:K,id:"user-menu"},r.createElement("li",null,r.createElement(_.a,null)),!!t&&r.createElement("li",{id:"manage-sites",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(k.a,{width:"22"}),label:Object(g.__)("Manage Sites","google-site-kit")})),r.createElement("li",{id:"disconnect",className:"mdc-list-item",role:"menuitem"},r.createElement(O.a,{icon:r.createElement(y.a,{width:"22"}),label:Object(g.__)("Disconnect","google-site-kit")})))),r.createElement(E.a,null,r.createElement(h.a,{dialogActive:M,handleConfirm:Y,handleDialog:q,title:Object(g.__)("Disconnect","google-site-kit"),subtitle:Object(g.__)("Disconnecting Site Kit by Google will remove your access to all services. After disconnecting, you will need to re-authorize to restore service.","google-site-kit"),confirmButton:Object(g.__)("Disconnect","google-site-kit"),danger:!0,small:!0})))):null}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Details}));var r=n(2),i=n(3),a=n(7);function Details(){var t=Object(i.useSelect)((function(e){return e(a.a).getPicture()})),n=Object(i.useSelect)((function(e){return e(a.a).getFullName()})),o=Object(i.useSelect)((function(e){return e(a.a).getEmail()}));return e.createElement("div",{className:"googlesitekit-user-menu__details","aria-label":Object(r.__)("Google account","google-site-kit")},!!t&&e.createElement("img",{className:"googlesitekit-user-menu__details-avatar",src:t,alt:""}),e.createElement("div",{className:"googlesitekit-user-menu__details-info"},e.createElement("p",{className:"googlesitekit-user-menu__details-info__name"},n),e.createElement("p",{className:"googlesitekit-user-menu__details-info__email","aria-label":Object(r.__)("Email","google-site-kit")},o)))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M6.83 2H20a2 2 0 012 2v12c0 .34-.09.66-.23.94L20 15.17V6h-9.17l-4-4zm13.66 19.31L17.17 18H4a2 2 0 01-2-2V4c0-.34.08-.66.23-.94L.69 1.51 2.1.1l19.8 19.8-1.41 1.41zM15.17 16l-10-10H4v10h11.17z",fill:"#6C726E"});t.a=function SvgDisconnect(e){return r.createElement("svg",i({viewBox:"0 0 22 22",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 0H2C.9 0 0 .9 0 2v12c0 1.1.9 2 2 2h5v2h8v-2h5c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm0 14H2V2h18v12zm-2-9H7v2h11V5zm0 4H7v2h11V9zM6 5H4v2h2V5zm0 4H4v2h2V9z",fill:"#6C726E"});t.a=function SvgManageSites(e){return r.createElement("svg",i({viewBox:"0 0 22 18",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ErrorNotifications}));var i=n(0),a=n(2),o=n(3),c=n(278),l=n(279),s=n(280),u=n(281),d=n(18),g=n(7),f=n(14),m=n(34),p=n(29),h=n(50);function ErrorNotifications(){var t,n=Object(o.useSelect)((function(e){return e(g.a).isAuthenticated()})),b=Object(o.useSelect)((function(e){return e(f.c).getSetupErrorCode()})),v=Object(o.useSelect)((function(e){return e(f.c).getSetupErrorMessage()})),E=Object(o.useSelect)((function(e){return e(p.a).getValue(g.d,"permissionsError")})),_=Object(o.useSelect)((function(t){var r,i;return(null==E?void 0:E.data)?t(g.a).getConnectURL({additionalScopes:null==E||null===(r=E.data)||void 0===r?void 0:r.scopes,redirectURL:(null==E||null===(i=E.data)||void 0===i?void 0:i.redirectURL)||e.location.href}):"access_denied"===b&&!(null==E?void 0:E.data)&&n?null:t(f.c).getSetupErrorRedoURL()})),O=Object(o.useSelect)((function(e){return e(f.c).getErrorTroubleshootingLinkURL({code:b})})),y=Object(o.useSelect)((function(e){return e(d.a).isModuleConnected("analytics-4")})),k=Object(o.useSelect)((function(e){return e(g.a).hasScope(m.h)})),j=y&&!k,S=Object(a.__)("Error connecting Site Kit","google-site-kit"),w=Object(a.__)("Redo the plugin setup","google-site-kit");return"access_denied"===b&&(S=Object(a.__)("Permissions Error","google-site-kit"),(null==E?void 0:E.data)?w=Object(a.__)("Grant permission","google-site-kit"):!(null==E?void 0:E.data)&&n&&(w=null)),(null==E||null===(t=E.data)||void 0===t?void 0:t.skipDefaultErrorNotifications)?null:r.createElement(i.Fragment,null,r.createElement(u.a,null),r.createElement(c.a,null),v&&r.createElement(h.b,{id:"setup_error",type:"win-error",title:S,description:v,isDismissible:!1,ctaLink:_,ctaLabel:w,learnMoreLabel:Object(a.__)("Get help","google-site-kit"),learnMoreURL:O}),!v&&n&&r.createElement(i.Fragment,null,!j&&r.createElement(l.a,null),j&&r.createElement(s.a,null)))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AuthError}));var r=n(2),i=n(3),a=n(7),o=n(50);function AuthError(){var t=Object(i.useSelect)((function(e){return e(a.a).getAuthError()}));return t?e.createElement(o.b,{id:"autherror",title:Object(r.__)("Site Kit can’t access necessary data","google-site-kit"),description:t.message,ctaLink:t.data.reconnectURL,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit")}):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlert}));var i=n(15),a=n.n(i),o=n(12),c=n(0),l=n(2),s=n(3),u=n(50),d=n(8),g=n(7),f=n(32),m=n(18),p=n(29),h={siteverification:"site-verification",webmasters:"search-console",analytics:"analytics-4"};function UnsatisfiedScopesAlert(){var t,n,i,b,v,E=Object(c.useRef)(),_=Object(s.useSelect)((function(e){return e(f.a).isNavigatingTo(new RegExp("//oauth2|action=googlesitekit_connect","i"))})),O=Object(s.useSelect)((function(e){return e(p.a).getValue(g.d,"permissionsError")})),y=Object(s.useSelect)((function(e){return e(g.a).getUnsatisfiedScopes()})),k=(null==O?void 0:O.data)?{additionalScopes:null===(t=O.data)||void 0===t?void 0:t.scopes,redirectURL:(null===(n=O.data)||void 0===n?void 0:n.redirectURL)||e.location.href}:{redirectURL:e.location.href},j=Object(s.useSelect)((function(e){return e(g.a).getConnectURL(k)})),S=Object(s.useSelect)((function(e){return e(m.a).getModules()}));if(_&&!E.current||!(null==y?void 0:y.length)||void 0===j)return null;i=y.some((function(e){return!e.match(new RegExp("^https://www\\.googleapis\\.com/auth/"))}))||!(b=function(e,t){return void 0===t?null:e.map((function(e){return e.match(new RegExp("^https://www\\.googleapis\\.com/auth/([a-z]+)"))})).map((function(e){var t=a()(e,2)[1];return h[t]||t})).map((function(e){var n;return(null===(n=t[e])||void 0===n?void 0:n.name)||!1}))}(y,S))||b.some((function(e){return!1===e}))?"generic":1<(b=Object(o.uniq)(b)).length?"multiple":"single";var w=Object(l.__)("Site Kit can’t access necessary data","google-site-kit"),x=(null==O?void 0:O.data)?Object(l.__)("Grant permission","google-site-kit"):Object(l.__)("Redo setup","google-site-kit");switch(i){case"multiple":v=Object(l.sprintf)( /* translators: %s: List of product names */ Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for: %s – make sure to approve all permissions at the authentication stage.","google-site-kit"),Object(d.z)(b));break;case"single":v=Object(l.sprintf)( /* translators: %s: Product name */ Object(l.__)("Site Kit can’t access the relevant data from %1$s because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup for %1$s – make sure to approve all permissions at the authentication stage.","google-site-kit"),b[0]);break;case"generic":v=Object(l.__)("Site Kit can’t access all relevant data because you haven’t granted all permissions requested during setup. To use Site Kit, you’ll need to redo the setup – make sure to approve all permissions at the authentication stage.","google-site-kit")}return r.createElement(u.b,{id:"authentication error",title:w,description:v,format:"small",type:"win-error",isDismissible:!1,ctaLink:j,onCTAClick:function(){E.current=!0},ctaLabel:x})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return UnsatisfiedScopesAlertGTE}));var i=n(2),a=n(3),o=n(50),c=n(14),l=n(7),s=n(34),u=n(29);function UnsatisfiedScopesAlertGTE(){var t=Object(a.useSelect)((function(e){return e(u.a).getValue(l.d,"permissionsError")})),n=Object(a.useSelect)((function(n){var r;return n(l.a).getConnectURL({additionalScopes:[s.h],redirectURL:(null==t||null===(r=t.data)||void 0===r?void 0:r.redirectURL)||e.location.href})})),d=Object(a.useSelect)((function(e){return e(c.c).getGoogleSupportURL({path:"/tagmanager/answer/11994839"})}));return void 0===n?null:r.createElement(o.b,{id:"authentication-error-gte",title:Object(i.__)("Site Kit needs additional permissions to detect updates to tags on your site","google-site-kit"),description:Object(i.__)("To continue using Analytics with Site Kit, you need to grant permission to check for any changes in your Google tag’s target Analytics property. The Google tag feature was recently updated to allow users to change a tag’s connected Analytics property without editing site code. Because of this change, Site Kit now must regularly check if the tag on your site matches the Analytics property destination.","google-site-kit"),format:"small",type:"win-error",isDismissible:!1,ctaLink:n,ctaLabel:Object(i.__)("Grant permission","google-site-kit"),learnMoreLabel:Object(i.__)("Learn more","google-site-kit"),learnMoreURL:d})}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return InternalServerError}));var r=n(3),i=n(14),a=n(50);function InternalServerError(){var t=Object(r.useSelect)((function(e){return e(i.c).getInternalServerError()}));return t?e.createElement(a.b,t):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return DashboardNavigation}));var r=n(3),i=n(7),a=n(33),o=n(151),c=n(283);function DashboardNavigation(){var t=Object(a.a)(),n=Object(r.useSelect)((function(e){return t?e(i.a).getViewableModules():null})),l=Object(r.useSelect)((function(e){return e(i.a).getKeyMetrics()}));return e.createElement(o.a,{loading:void 0===n||void 0===l,width:"100%",smallHeight:"59px",height:"71px"},e.createElement(c.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return Navigation}));var i=n(27),a=n.n(i),o=n(15),c=n.n(o),l=n(13),s=n.n(l),u=n(12),d=n(92),g=n(155),f=n(0),m=n(2),p=n(3),h=n(284),b=n(285),v=n(286),E=n(287),_=n(288),O=n(25),y=n(7),k=n(42),j=n(23),S=n(74),w=n(46),x=n(24),N=n(89),C=n(8),A=n(19),T=n(33);function R(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 D(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 D(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Navigation(){var t,n=Object(w.c)(),i=Object(f.useRef)(),o=Object(x.e)(),l=null===(t=e.location.hash)||void 0===t?void 0:t.substring(1),D=Object(f.useState)(l),M=c()(D,2),P=M[0],I=M[1],L=Object(f.useState)(l||void 0),F=c()(L,2),B=F[0],z=F[1],H=Object(f.useState)(!1),W=c()(H,2),U=W[0],V=W[1],G=Object(A.a)(),q=Object(T.a)(),K=Object(p.useDispatch)(j.b).setValue,Y=Object(p.useSelect)((function(e){return q?e(y.a).getViewableModules():null})),J=Object(p.useSelect)((function(e){return e(y.a).isKeyMetricsWidgetHidden()})),X={modules:Y||void 0},$=Object(p.useSelect)((function(e){return n===w.b&&!0!==J&&e(k.a).isWidgetContextActive(S.CONTEXT_MAIN_DASHBOARD_KEY_METRICS,X)})),Z=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_TRAFFIC:S.CONTEXT_ENTITY_DASHBOARD_TRAFFIC,X)})),Q=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_CONTENT:S.CONTEXT_ENTITY_DASHBOARD_CONTENT,X)})),ee=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_SPEED:S.CONTEXT_ENTITY_DASHBOARD_SPEED,X)})),te=Object(p.useSelect)((function(e){return e(k.a).isWidgetContextActive(n===w.b?S.CONTEXT_MAIN_DASHBOARD_MONETIZATION:S.CONTEXT_ENTITY_DASHBOARD_MONETIZATION,X)})),ne=Object(f.useCallback)((function(){return $?O.b:q?Z?O.e:Q?O.a:ee?O.d:te?O.c:"":O.e}),[$,Z,Q,ee,te,q]),re=Object(f.useCallback)((function(t){var n,r=t.target.closest(".mdc-chip"),i=null==r||null===(n=r.dataset)||void 0===n?void 0:n.contextId;e.history.replaceState({},"","#".concat(i)),z(i),Object(C.J)("".concat(G,"_navigation"),"tab_select",i),e.scrollTo({top:i!==ne()?Object(N.a)("#".concat(i),o):0,behavior:"smooth"}),setTimeout((function(){K(j.a,i)}),50)}),[o,G,K,ne]);return Object(d.a)((function(){var t=ne();if(!l)return I(t),void setTimeout((function(){return e.history.replaceState({},"","#".concat(t))}));var n=l;(function(e){return!(!$||e!==O.b)||(!(!Z||e!==O.e)||(!(!Q||e!==O.a)||(!(!ee||e!==O.d)||!(!te||e!==O.c))))})(n)||(n=t),K(j.a,n),I(n),setTimeout((function(){var r=n!==t?Object(N.a)("#".concat(n),o):0;e.scrollY!==r?e.scrollTo({top:r,behavior:"smooth"}):K(j.a,void 0)}),50)})),Object(f.useEffect)((function(){var t=function(e){K(j.a,void 0),I(e),z(void 0)},n=Object(u.throttle)((function(n){var r,o,c,l,s=e.scrollY,u=null===(r=document.querySelector(".googlesitekit-entity-header"))||void 0===r||null===(o=r.getBoundingClientRect())||void 0===o?void 0:o.bottom,d=null==i||null===(c=i.current)||void 0===c?void 0:c.getBoundingClientRect(),g=d.bottom,f=d.top,m=[].concat(a()($?[O.b]:[]),a()(Z?[O.e]:[]),a()(Q?[O.a]:[]),a()(ee?[O.d]:[]),a()(te?[O.c]:[])),p=ne();if(0===s)V(!1);else{var h,b=null===(h=document.querySelector(".googlesitekit-header"))||void 0===h?void 0:h.getBoundingClientRect().bottom;V(f===b)}var v,E=R(m);try{for(E.s();!(v=E.n()).done;){var _=v.value,y=document.getElementById(_);if(y){var k=y.getBoundingClientRect().top-20-(u||g||0);k<0&&(void 0===l||l<k)&&(l=k,p=_)}}}catch(e){E.e(e)}finally{E.f()}if(B)B===p&&t(p);else{var j=e.location.hash;p!==(null==j?void 0:j.substring(1))&&(n&&Object(C.J)("".concat(G,"_navigation"),"tab_scroll",p),e.history.replaceState({},"","#".concat(p)),t(p))}}),150);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n)}}),[B,$,Z,Q,ee,te,G,K,ne]),r.createElement("nav",{className:s()("mdc-chip-set","googlesitekit-navigation","googlesitekit-navigation--".concat(n),{"googlesitekit-navigation--is-sticky":U}),ref:i},$&&r.createElement(g.Chip,{id:O.b,label:Object(m.__)("Key metrics","google-site-kit"),leadingIcon:r.createElement(h.a,{width:"18",height:"16"}),onClick:re,selected:P===O.b,"data-context-id":O.b}),Z&&r.createElement(g.Chip,{id:O.e,label:Object(m.__)("Traffic","google-site-kit"),leadingIcon:r.createElement(b.a,{width:"18",height:"16"}),onClick:re,selected:P===O.e,"data-context-id":O.e}),Q&&r.createElement(g.Chip,{id:O.a,label:Object(m.__)("Content","google-site-kit"),leadingIcon:r.createElement(v.a,{width:"18",height:"18"}),onClick:re,selected:P===O.a,"data-context-id":O.a}),ee&&r.createElement(g.Chip,{id:O.d,label:Object(m.__)("Speed","google-site-kit"),leadingIcon:r.createElement(E.a,{width:"20",height:"16"}),onClick:re,selected:P===O.d,"data-context-id":O.d}),te&&r.createElement(g.Chip,{id:O.c,label:Object(m.__)("Monetization","google-site-kit"),leadingIcon:r.createElement(_.a,{width:"18",height:"16"}),onClick:re,selected:P===O.c,"data-context-id":O.c}))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("rect",{x:.5,width:5,height:5,rx:1,fill:"currentColor"}),o=r.createElement("rect",{x:7.5,width:5,height:5,rx:1,fill:"currentColor"}),c=r.createElement("rect",{x:.5,y:7,width:5,height:5,rx:1,fill:"currentColor"}),l=r.createElement("rect",{x:7.5,y:7,width:5,height:5,rx:1,fill:"currentColor"});t.a=function SvgNavKeyMetricsIcon(e){return r.createElement("svg",i({viewBox:"0 0 13 12",fill:"none"},e),a,o,c,l)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0h3.971v16H7V0zM0 8h4v8H0V8zm18-3h-4v11h4V5z",fill:"currentColor"});t.a=function SvgNavTrafficIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 16",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 16V2c0-1.1-1-2-2.222-2H2.222C1 0 0 .9 0 2v14c0 1.1 1 2 2.222 2h13.556C17 18 18 17.1 18 16zM9 7h5V5H9v2zm7-5H2v14h14V2zM4 4h4v4H4V4zm10 7H9v2h5v-2zM4 10h4v4H4v-4z",fill:"currentColor"});t.a=function SvgNavContentIcon(e){return r.createElement("svg",i({viewBox:"0 0 18 18",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M18.378 4.543l-1.232 1.854a8.024 8.024 0 01-.22 7.598H3.043A8.024 8.024 0 014.154 4.49 8.011 8.011 0 0113.57 2.82l1.853-1.233A10.01 10.01 0 003.117 2.758a10.026 10.026 0 00-1.797 12.24A2.004 2.004 0 003.043 16h13.873a2.003 2.003 0 001.742-1.002 10.03 10.03 0 00-.27-10.465l-.01.01z",fill:"currentColor"}),o=r.createElement("path",{d:"M8.572 11.399a2.003 2.003 0 002.835 0l5.669-8.51-8.504 5.673a2.005 2.005 0 000 2.837z",fill:"currentColor"});t.a=function SvgNavSpeedIcon(e){return r.createElement("svg",i({viewBox:"0 0 20 16",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M16.1 0v2h2.967l-5.946 5.17-4.6-4L0 10.59 1.621 12l6.9-6 4.6 4L20.7 3.42V6H23V0h-6.9z",fill:"currentColor"});t.a=function SvgNavMonetizationIcon(e){return r.createElement("svg",i({viewBox:"0 0 23 12",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){var i=n(15),a=n.n(i),o=n(12),c=n(2),l=n(0),s=n(3),u=n(11),d=n(14),g=n(290),f=n(32),m=n(20),p=n(83),h=n(8),b=n(46),v=n(19);t.a=function EntityHeader(){var t=Object(v.a)(),n=Object(b.c)(),i=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityTitle()})),E=Object(s.useSelect)((function(e){return e(d.c).getCurrentEntityURL()})),_=Object(l.useRef)(),O=Object(l.useState)(E),y=a()(O,2),k=y[0],j=y[1];Object(l.useEffect)((function(){var t=function(){if(_.current){var t=_.current.clientWidth-40,n=e.getComputedStyle(_.current.lastChild,null).getPropertyValue("font-size"),r=2*t/parseFloat(n);j(Object(p.d)(E,r))}},n=Object(o.throttle)(t,100);return t(),e.addEventListener("resize",n),function(){e.removeEventListener("resize",n)}}),[E,_,j]);var S=Object(s.useDispatch)(f.a).navigateTo,w=Object(s.useSelect)((function(e){return e(d.c).getAdminURL("googlesitekit-dashboard")})),x=Object(l.useCallback)((function(){Object(h.J)("".concat(t,"_navigation"),"return_to_dashboard"),S(w)}),[w,S,t]);return b.a!==n||null===E||null===i?null:r.createElement("div",{className:"googlesitekit-entity-header"},r.createElement("div",{className:"googlesitekit-entity-header__back"},r.createElement(u.Button,{icon:r.createElement(g.a,{width:24,height:24}),"aria-label":Object(c.__)("Back to dashboard","google-site-kit"),onClick:x,text:!0,tertiary:!0},Object(c.__)("Back to dashboard","google-site-kit"))),r.createElement("div",{ref:_,className:"googlesitekit-entity-header__details"},r.createElement("p",null,i),r.createElement(m.a,{secondary:!0,href:E,"aria-label":E,external:!0},k)))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),o=r.createElement("path",{d:"M21 11H6.83l3.58-3.59L9 6l-6 6 6 6 1.41-1.41L6.83 13H21z",fill:"currentColor"});t.a=function SvgKeyboardBackspace(e){return r.createElement("svg",i({viewBox:"0 0 24 24"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ViewOnlyMenu}));var r=n(15),i=n.n(r),a=n(239),o=n(13),c=n.n(o),l=n(0),s=n(2),u=n(57),d=n(11),g=n(19),f=n(119),m=n(8),p=n(292),h=n(293),b=n(294),v=n(296),E=n(3),_=n(7);function ViewOnlyMenu(){var t=Object(l.useState)(!1),n=i()(t,2),r=n[0],o=n[1],O=Object(l.useRef)(),y=Object(g.a)();Object(a.a)(O,(function(){return o(!1)})),Object(f.a)([u.c,u.f],O,(function(){return o(!1)}));var k=Object(l.useCallback)((function(){r||Object(m.J)("".concat(y,"_headerbar"),"open_viewonly"),o(!r)}),[r,y]),j=Object(E.useSelect)((function(e){return e(_.a).hasCapability(_.z)}));return e.createElement("div",{ref:O,className:c()("googlesitekit-view-only-menu","googlesitekit-dropdown-menu","googlesitekit-dropdown-menu__icon-menu","mdc-menu-surface--anchor",{"googlesitekit-view-only-menu--user-can-authenticate":j})},e.createElement(d.Button,{className:"googlesitekit-header__dropdown mdc-button--dropdown googlesitekit-border-radius-round--phone googlesitekit-button-icon",text:!0,onClick:k,icon:e.createElement("span",{className:"mdc-button__icon","aria-hidden":"true"},e.createElement(p.a,{className:"mdc-button__icon--image"})),"aria-haspopup":"menu","aria-expanded":r,"aria-controls":"view-only-menu","aria-label":Object(s.__)("View only","google-site-kit"),tooltip:!0,tooltipEnterDelayInMS:500},Object(s.__)("View only","google-site-kit")),e.createElement(d.Menu,{menuOpen:r,nonInteractive:!0,onSelected:k,id:"view-only-menu"},e.createElement(h.a,null),e.createElement(b.a,null),e.createElement("li",{className:"mdc-list-divider",role:"separator"}),e.createElement(v.a,null)))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M8 1.333c2.756 0 5.214 1.42 6.415 3.667-1.2 2.247-3.659 3.667-6.415 3.667-2.756 0-5.215-1.42-6.415-3.667C2.785 2.753 5.244 1.333 8 1.333zM8 0C4.364 0 1.258 2.073 0 5c1.258 2.927 4.364 5 8 5s6.742-2.073 8-5c-1.258-2.927-4.364-5-8-5zm0 3.333c1.004 0 1.818.747 1.818 1.667S9.004 6.667 8 6.667 6.182 5.92 6.182 5 6.996 3.333 8 3.333zM8 2C6.196 2 4.727 3.347 4.727 5S6.197 8 8 8c1.804 0 3.273-1.347 3.273-3S9.803 2 8 2z",fill:"currentColor"});t.a=function SvgView(e){return r.createElement("svg",i({viewBox:"0 0 16 10",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Description}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(3),d=n(11),g=n(32),f=n(14),m=n(7),p=n(8),h=n(20),b=n(19),v=n(39);function Description(){var t=Object(b.a)(),n=Object(u.useSelect)((function(e){return e(m.a).hasCapability(m.z)})),r=Object(u.useSelect)((function(e){return e(f.c).getProxySetupURL()})),a=Object(u.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("dashboard-sharing")})),E=Object(u.useDispatch)(g.a).navigateTo,_=Object(c.useCallback)(function(){var e=o()(i.a.mark((function e(n){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.next=3,Promise.all([Object(v.f)("start_user_setup",!0),Object(p.J)("".concat(t,"_headerbar_viewonly"),"start_user_setup",r?"proxy":"custom-oauth")]);case 3:E(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[r,E,t]),O=Object(c.useCallback)((function(){Object(p.J)("".concat(t,"_headerbar_viewonly"),"click_learn_more_link")}),[t]),y=n?Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <strong>Sign in to connect more services and control sharing access.</strong>","google-site-kit"),{strong:e.createElement("strong",null)}):Object(l.a)(Object(s.__)("You can see stats from all shared Google services, but you can't make any changes. <a>Learn more</a>","google-site-kit"),{a:e.createElement(h.a,{href:a,external:!0,onClick:O,"aria-label":Object(s.__)("Learn more about dashboard sharing","google-site-kit")})});return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item googlesitekit-view-only-menu__description"},e.createElement("p",null,y),n&&e.createElement(d.Button,{onClick:_},Object(s.__)("Sign in with Google","google-site-kit")))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SharedServices}));var r=n(2),i=n(3),a=n(7),o=n(295);function SharedServices(){var t=Object(i.useSelect)((function(e){return e(a.a).getViewableModules()}));return void 0===t?null:e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("h4",null,Object(r.__)("Shared services","google-site-kit")),e.createElement("ul",null,t.map((function(t){return e.createElement(o.a,{key:t,module:t})}))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Service}));var r=n(1),i=n.n(r),a=n(38),o=n(2),c=n(3),l=n(18),s=n(7);function Service(t){var n=t.module,r=Object(c.useSelect)((function(e){return e(s.a).hasCapability(s.z)})),i=Object(c.useSelect)((function(e){return e(l.a).getModule(n)||{}})),u=i.name,d=i.owner,g=Object(c.useSelect)((function(e){return e(l.a).getModuleIcon(n)}));return e.createElement("li",{className:"googlesitekit-view-only-menu__service"},e.createElement("span",{className:"googlesitekit-view-only-menu__service--icon"},e.createElement(g,{height:26})),e.createElement("span",{className:"googlesitekit-view-only-menu__service--name"},u),r&&(null==d?void 0:d.login)&&e.createElement("span",{className:"googlesitekit-view-only-menu__service--owner"},Object(a.a)(Object(o.sprintf)( /* translators: %s: module owner Google Account email address */ Object(o.__)("Shared by <strong>%s</strong>","google-site-kit"),d.login),{strong:e.createElement("strong",{title:d.login})})))}Service.propTypes={module:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tracking}));var r=n(38),i=n(2),a=n(220),o=n(19);function Tracking(){var t=Object(o.a)();return e.createElement("li",{className:"googlesitekit-view-only-menu__list-item"},e.createElement("p",null,Object(r.a)(Object(i.__)("Thanks for using Site Kit!<br />Help us make it even better","google-site-kit"),{br:e.createElement("br",null)})),e.createElement(a.a,{trackEventCategory:"".concat(t,"_headerbar_viewonly"),alignCheckboxLeft:!0}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupErrorNotification}));var r=n(2),i=n(3),a=n(50),o=n(14),c=n(29),l=n(7);function SetupErrorNotification(){var t=Object(i.useSelect)((function(e){return e(o.c).getSetupErrorMessage()})),n=Object(i.useSelect)((function(e){return e(o.c).getSetupErrorRedoURL()})),s=Object(i.useSelect)((function(e){return e(c.a).getValue(l.d,"permissionsError")||{}})).data;return!t||(null==s?void 0:s.skipDefaultErrorNotifications)?null:e.createElement(a.b,{id:"setup_error",type:"win-error",title:Object(r.__)("Oops! There was a problem during set up. Please try again.","google-site-kit"),description:t,isDismissible:!1,ctaLabel:Object(r.__)("Redo the plugin setup","google-site-kit"),ctaLink:n})}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SubtleNotifications}));var r=n(0),i=n(131),a=n(225),o=n(261),c=n(247),l=n(305);function SubtleNotifications(){var t=Object(i.a)("audienceSegmentation"),n=Object(i.a)("rrmModule");return e.createElement(r.Fragment,null,t&&e.createElement(o.b,null),e.createElement(l.a,null),e.createElement(a.b,null),n&&e.createElement(c.b,null),e.createElement(a.a,null))}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045)"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045)"},r.createElement("rect",{x:101.5,y:79,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:218,y:108,width:64,height:38,rx:5.161,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045)"},r.createElement("rect",{x:81.5,y:56,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:97,y:85,width:165,height:96,rx:5.161,fill:"#EBEEF0"}),r.createElement("rect",{x:96,y:148,width:59,height:55,rx:5.457,fill:"#EBEEF0"}),r.createElement("rect",{x:167,y:148,width:54,height:10,rx:5,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045)"},r.createElement("rect",{x:61.5,y:30,width:195,height:172,rx:13.764,fill:"#fff"})),r.createElement("rect",{x:76.5,y:50,width:165,height:51,rx:5.161,fill:"#6FD3D3"}),r.createElement("rect",{x:147.5,y:113,width:54,height:14,rx:7,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:135,width:94,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:135,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:124,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:146,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:76.5,y:113,width:59,height:5,rx:2.5,fill:"#EBEEF0"}),r.createElement("rect",{x:147.5,y:146,width:94,height:5,rx:2.5,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter0_d_192_4045",x:91.5,y:73,width:215,height:192,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter1_d_192_4045",x:65.5,y:44,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__filter2_d_192_4045",x:45.5,y:18,width:227,height:204,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_192_4045"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_192_4045",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-desktop_svg__clip0_192_4045"},r.createElement("path",{d:"M0 16C0 7.163 7.163 0 16 0h316c8.837 0 16 7.163 16 16v147H0V16z",fill:"#fff"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicDesktop(e){return r.createElement("svg",i({viewBox:"0 0 348 163",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892)"},r.createElement("path",{d:"M29.447 64.365c-2.4 22.73 4.803 32.78 23.025 59.949 18.222 27.17-7.404 59.277 20.78 89.869 33.527 36.394 150.685 39.364 201.231 24.212 50.546-15.153 63.581-46.473 59.948-75.155C329.5 124.314 302.482 112.077 289.5 93c-19.276-28.325 2.813-54.786-34.5-77.5s-80.086 6.697-120.326 4.388c-23.216-1.332-46.017-5.627-66.626.968-20.832 6.667-36.72 25.428-38.6 43.509z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892)"},r.createElement("rect",{x:108.926,y:53.721,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:203.365,y:77.23,width:51.881,height:30.804,rx:4.184,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892)"},r.createElement("rect",{x:92.713,y:35.077,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:105.277,y:58.585,width:133.755,height:77.821,rx:4.184,fill:"#EBEEF0"}),r.createElement("rect",{x:104.467,y:109.655,width:47.828,height:44.585,rx:4.424,fill:"#EBEEF0"}),r.createElement("rect",{x:162.021,y:109.655,width:43.775,height:8.106,rx:4.053,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892)"},r.createElement("rect",{x:76.5,y:14,width:158.074,height:139.43,rx:11.158,fill:"#fff"})),r.createElement("rect",{x:88.66,y:30.213,width:133.755,height:41.343,rx:4.184,fill:"#6FD3D3"}),r.createElement("rect",{x:146.215,y:81.283,width:43.775,height:11.349,rx:5.674,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:99.117,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:99.117,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:90.2,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:108.034,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:88.66,y:81.283,width:47.828,height:4.053,rx:2.027,fill:"#EBEEF0"}),r.createElement("rect",{x:146.215,y:108.034,width:76.2,height:4.053,rx:2.027,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter0_d_584_3892",x:95.926,y:43.721,width:184.074,height:165.43,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3}),r.createElement("feGaussianBlur",{stdDeviation:6.5}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter1_d_584_3892",x:79.743,y:25.349,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__filter2_d_584_3892",x:63.53,y:4.272,width:184.015,height:165.37,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:3.243}),r.createElement("feGaussianBlur",{stdDeviation:6.485}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_584_3892"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_584_3892",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-introductory-graphic-mobile_svg__clip0_584_3892"},r.createElement("path",{fill:"#fff",d:"M0 0h343v118H0z"})));t.a=function SvgReaderRevenueManagerIntroductoryGraphicMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 118",fill:"none"},e),a,o)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o}));var r=n(3),i=n(18),a=n(70);function o(t){var n=t.moduleName,o=t.FallbackComponent;return function(t){function WhenInactiveComponent(a){var c=Object(r.useSelect)((function(e){return e(i.a).getModule(n)}),[n]);if(!c)return null;var l=o||a.WidgetNull||null;return!0===c.active?l&&e.createElement(l,a):e.createElement(t,a)}return WhenInactiveComponent.displayName="When".concat(Object(a.c)(n),"Inactive"),(t.displayName||t.name)&&(WhenInactiveComponent.displayName+="(".concat(t.displayName||t.name,")")),WhenInactiveComponent}}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M74.032-2.916C70.583 36.886 92.52 48.59 92.52 103.233c0 54.644-91.918 88.181-52.084 179.603 31.917 73.252 194.23 87.748 287.396 67.074 93.167-20.673 127.301-72.44 122.081-122.662-7.085-68.16-44.978-103.341-59.664-164.902-14.686-61.56 10.917-93.72-27.996-124.067-39.469-30.78-75.267-11.025-116.573-11.025-33.439 0-66.088-25.668-114.278-6.874-29.933 11.674-54.665 45.044-57.369 76.704z",fill:"#B8E6CA"}),o=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter0_d_30_1196)"},r.createElement("rect",{x:168.849,y:39.561,width:136,height:270,rx:20,fill:"#fff"}),r.createElement("circle",{cx:54.898,cy:177.171,r:25.926,fill:"#2F9F9F"}),r.createElement("path",{d:"M60.112 170.211c-.678-.753-2.71-2.258-5.42-2.258-3.389 0-5.422 2.258-5.422 4.517 0 6.212 10.842 2.675 10.842 9.035 0 2.259-2.033 4.517-5.42 4.517-2.711 0-4.744-1.506-5.422-2.258M54.69 163.435v27.105",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("circle",{cx:348.514,cy:36.337,r:17.485,fill:"#2F9F9F"}),r.createElement("path",{d:"M352.031 31.643c-.457-.508-1.828-1.523-3.656-1.523-2.285 0-3.656 1.523-3.656 3.046 0 4.19 7.312 1.805 7.312 6.094 0 1.523-1.371 3.047-3.656 3.047-1.828 0-3.199-1.016-3.656-1.524M348.375 27.073v18.28",stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"}),r.createElement("circle",{cx:418.514,cy:149.337,r:21.515,fill:"#2F9F9F"}),r.createElement("path",{d:"M422.841 143.562c-.562-.625-2.249-1.875-4.499-1.875-2.811 0-4.498 1.875-4.498 3.749 0 5.155 8.997 2.22 8.997 7.497 0 1.875-1.687 3.749-4.499 3.749-2.249 0-3.936-1.249-4.498-1.874M418.343 137.939v22.492",stroke:"#fff",strokeWidth:2,strokeLinecap:"round"}),r.createElement("rect",{x:184.94,y:54.47,width:104.361,height:18.417,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:104.458,width:104.361,height:114.008,rx:4,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:228.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:241.482,width:104.361,height:7.016,rx:3.508,fill:"#F3F5F7"}),r.createElement("rect",{x:204.234,y:81.656,width:65.774,height:10.524,rx:5.262,fill:"#F3F5F7"}),r.createElement("rect",{x:184.94,y:82.533,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:86.041,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"}),r.createElement("rect",{x:184.94,y:89.549,width:13.155,height:1.754,rx:.877,fill:"#DEE3E6"})),c=r.createElement("g",{filter:"url(#reader-revenue-manager-setup_svg__filter1_d_30_1196)"},r.createElement("rect",{x:131.451,y:131.057,width:210,height:105,rx:8,fill:"#fff"}),r.createElement("rect",{x:180.451,y:166.057,width:112,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:199.451,y:175.057,width:75,height:5,rx:2.5,fill:"#F3F5F7"}),r.createElement("rect",{x:181.849,y:190.057,width:108,height:20,rx:10,fill:"#6FD3D3"})),l=r.createElement("path",{d:"M236.5 158.266c14.762 0 26.638-12.259 26.638-27.266 0-15.007-11.876-27.266-26.638-27.266-14.762 0-26.638 12.259-26.638 27.266 0 15.007 11.876 27.266 26.638 27.266z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:4.276}),s=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M236.38 123.237l-.038-.009v-.686c0-.408-.157-.751-.472-1.029a1.508 1.508 0 00-1.103-.441c-.437 0-.814.147-1.129.441a1.354 1.354 0 00-.446 1.029v.686c-1.4.327-2.537 1.021-3.412 2.082-.875 1.046-1.313 2.246-1.313 3.602v6.86h-2.1v1.96h16.8v-1.96h-2.1v-6.86c0-.363-.031-.715-.094-1.055a5.002 5.002 0 01-4.593-4.62zm-1.613 17.435a2.169 2.169 0 01-1.496-.564c-.403-.392-.604-.857-.604-1.396h4.2c0 .539-.21 1.004-.63 1.396-.402.376-.892.564-1.47.564zM246.5 121.872h-7v-2h7v2z",fill:"#fff"}),u=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M241.867 124.372v-7h2v7h-2z",fill:"#fff"}),d=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter0_d_30_1196",x:12.972,y:6.852,width:443.057,height:322.709,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:4}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup_svg__filter1_d_30_1196",x:115.451,y:123.057,width:242,height:137,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:8}),r.createElement("feGaussianBlur",{stdDeviation:8}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_30_1196"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_30_1196",result:"shape"})));t.a=function SvgReaderRevenueManagerSetup(e){return r.createElement("svg",i({viewBox:"0 0 479 272",fill:"none"},e),a,o,c,l,s,u,d)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-tablet_svg__clip0_545_5344)"},r.createElement("path",{d:"M134.999 170.5c0-40.522-17.5-50-18-88s26-61.5 47-66 23.5-1.302 51.5 0 39.5-17.5 79.5-14.5 45.5 19 69 25.5c23.874 6.603 33.464 1.321 48.5 21.5 19.001 25.5-2.875 51.848 8 97.5 14.77 62-276.999 64-285.5 24z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344)"},r.createElement("rect",{x:234.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:169.523,cy:104.523,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M172.845 100.088c-.432-.48-1.727-1.44-3.455-1.44-2.159 0-3.454 1.44-3.454 2.879 0 3.959 6.909 1.705 6.909 5.758 0 1.44-1.295 2.879-3.455 2.879-1.727 0-3.023-.959-3.454-1.439M169.391 95.769v17.274",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:105.5,cy:70.5,r:22.5,fill:"#2F9F9F"}),r.createElement("path",{d:"M110.022 64.46c-.588-.653-2.352-1.96-4.704-1.96-2.941 0-4.705 1.96-4.705 3.92 0 5.392 9.409 2.322 9.409 7.841 0 1.96-1.764 3.92-4.704 3.92-2.352 0-4.117-1.306-4.705-1.96M105.318 58.58v23.522",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:359.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M361.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M358.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:411.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M414.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M411.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:457.288,cy:50.288,r:19.288,fill:"#2F9F9F"}),r.createElement("path",{d:"M461.166 45.11c-.504-.56-2.017-1.68-4.033-1.68-2.521 0-4.033 1.68-4.033 3.36 0 4.622 8.066 1.99 8.066 6.722 0 1.68-1.513 3.36-4.033 3.36-2.017 0-3.529-1.12-4.033-1.68M457.131 40.069v20.165",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:244.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:257.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:244.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:244.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344)"},r.createElement("rect",{x:211,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:241.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:254.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:242.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M277.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M277.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM284.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M281.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter0_d_545_5344",x:72.803,y:9.889,width:413.971,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-tablet_svg__filter1_d_545_5344",x:200.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_5344"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_5344",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-tablet_svg__clip0_545_5344"},r.createElement("path",{fill:"#fff",d:"M0 0h553v140H0z"})));t.a=function SvgReaderRevenueManagerSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 140",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#reader-revenue-manager-setup-mobile_svg__clip0_545_3220)"},r.createElement("path",{d:"M48.29 62.984C45.736 92.5 61.979 101.179 61.979 141.7c0 40.523-68.064 65.392-38.567 133.189 23.634 54.322 143.822 65.071 212.81 49.74 68.988-15.331 94.263-53.72 90.398-90.963-5.246-50.546-33.305-76.635-44.18-122.287s8.084-69.5-20.73-92.004c-29.226-22.826-55.734-8.177-86.32-8.177-24.76 0-48.937-19.034-84.62-5.097-22.165 8.657-40.478 33.403-42.48 56.882z",fill:"#B8E6CA"}),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220)"},r.createElement("rect",{x:129.539,y:17.537,width:86.677,height:172.078,rx:12.746,fill:"#fff"}),r.createElement("circle",{cx:49.916,cy:77.24,r:16.523,fill:"#2F9F9F"}),r.createElement("path",{d:"M53.238 72.804c-.432-.48-1.728-1.44-3.455-1.44-2.16 0-3.455 1.44-3.455 2.88 0 3.959 6.91 1.704 6.91 5.757 0 1.44-1.296 2.88-3.455 2.88-1.727 0-3.023-.96-3.455-1.44M49.783 68.485V85.76",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("circle",{cx:254.048,cy:37.482,r:11.144,fill:"#2F9F9F"}),r.createElement("path",{d:"M256.289 34.49c-.291-.323-1.165-.97-2.33-.97-1.456 0-2.33.97-2.33 1.941 0 2.67 4.66 1.15 4.66 3.884 0 .97-.874 1.942-2.33 1.942-1.165 0-2.039-.648-2.33-.971M253.959 31.578v11.65",stroke:"#fff",strokeWidth:.956,strokeLinecap:"round"}),r.createElement("circle",{cx:306.659,cy:109.5,r:13.712,fill:"#2F9F9F"}),r.createElement("path",{d:"M309.416 105.819c-.359-.398-1.434-1.195-2.867-1.195-1.792 0-2.867 1.195-2.867 2.39 0 3.285 5.734 1.414 5.734 4.778 0 1.195-1.075 2.389-2.867 2.389-1.434 0-2.509-.796-2.867-1.194M306.547 102.235v14.335",stroke:"#fff",strokeWidth:1.275,strokeLinecap:"round"}),r.createElement("rect",{x:139.795,y:29.038,width:66.512,height:11.737,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:60.897,width:66.512,height:72.66,rx:2.549,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:137.941,width:66.512,height:4.471,rx:2.236,fill:"#F3F5F7"}),r.createElement("rect",{x:152.094,y:44.365,width:41.919,height:6.707,rx:3.354,fill:"#F3F5F7"}),r.createElement("rect",{x:139.795,y:44.924,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:47.16,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"}),r.createElement("rect",{x:139.795,y:49.396,width:8.384,height:1.118,rx:.559,fill:"#DEE3E6"})),r.createElement("g",{filter:"url(#reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220)"},r.createElement("rect",{x:106,y:64,width:134,height:63,rx:5.099,fill:"#fff"}),r.createElement("rect",{x:136.936,y:86.156,width:71.381,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:149.043,y:91.892,width:47.8,height:3.187,rx:1.593,fill:"#F3F5F7"}),r.createElement("rect",{x:137.826,y:101.452,width:68.831,height:12.746,rx:6.373,fill:"#6FD3D3"})),r.createElement("path",{d:"M172.661 81.19c9.409 0 16.977-7.812 16.977-17.377 0-9.564-7.568-17.377-16.977-17.377-9.408 0-16.977 7.813-16.977 17.377 0 9.565 7.569 17.378 16.977 17.378z",fill:"#6FD3D3",stroke:"#fff",strokeWidth:2.725}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M172.728 57.666a4.675 4.675 0 00-.166-.04v-.429c0-.255-.1-.469-.301-.642a.97.97 0 00-.702-.275c-.279 0-.519.092-.72.275a.837.837 0 00-.284.642v.428c-.892.204-1.617.637-2.175 1.3a3.357 3.357 0 00-.837 2.247v4.28h-1.338v1.223h10.707v-1.223h-1.338v-3.638a3.187 3.187 0 01-2.846-4.148zm-1.169 10.844c-.368 0-.686-.118-.954-.352a1.166 1.166 0 01-.385-.871h2.677c0 .336-.134.626-.402.871a1.336 1.336 0 01-.936.352zM179.032 57.996h-4.462V56.72h4.462v1.275z",fill:"#fff"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M176.077 59.59v-4.462h1.275v4.461h-1.275z",fill:"#fff"})),o=r.createElement("defs",null,r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter0_d_545_3220",x:23.195,y:9.889,width:307.373,height:192.473,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:2.549}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("filter",{id:"reader-revenue-manager-setup-mobile_svg__filter1_d_545_3220",x:95.803,y:58.901,width:154.394,height:83.394,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dy:5.099}),r.createElement("feGaussianBlur",{stdDeviation:5.099}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_545_3220"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_545_3220",result:"shape"})),r.createElement("clipPath",{id:"reader-revenue-manager-setup-mobile_svg__clip0_545_3220"},r.createElement("path",{fill:"#fff",d:"M0 0h343v140H0z"})));t.a=function SvgReaderRevenueManagerSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 140",fill:"none"},e),a,o)}},function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(2),s=n(3),u=n(7),d=n(9),g=n(165),f=n(18),m=n(116),p=n(46),h=n(19),b=n(8),v=n(306);t.a=Object(v.a)({allNonViewOnly:!0})((function GA4AdSenseLinkedNotification(){var t=Object(p.c)(),n=Object(s.useSelect)((function(e){return t?e(f.a).isModuleConnected("adsense"):null})),r=Object(s.useSelect)((function(e){return t?e(f.a).isModuleConnected("analytics-4"):null})),a=Object(s.useSelect)((function(e){return t?e(d.p).getAdSenseLinked():null})),v=n&&r&&a,E=Object(s.useSelect)((function(e){return t?e(u.a).isItemDismissed("ga4_adsense_linked_notification"):null})),_=Object(s.useDispatch)(u.a).dismissItem,O=Object(s.useSelect)((function(e){return e(u.a).getDateRangeDates({offsetDays:d.f})})),y=O.startDate,k=O.endDate,j=Object(h.a)(),S={startDate:y,endDate:k,dimensions:["pagePath"],metrics:[{name:"totalAdRevenue"}],orderby:[{metric:{metricName:"totalAdRevenue"},desc:!0}],limit:3},w=Object(s.useSelect)((function(e){return E||!v?null:e(d.p).getReport(S)})),x=Object(s.useSelect)((function(e){return e(d.p).hasFinishedResolution("getReport",[S])})),N=Object(c.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(b.J)("".concat(j,"_top-earning-pages-success-notification"),"confirm_notification"),e.next=3,_("ga4_adsense_linked_notification");case 3:case"end":return e.stop()}}),e)}))),[_,j]);Object(c.useEffect)((function(){t&&!1===E&&x&&!1===Object(g.d)(w)&&v&&N()}),[w,E,x,v,N,t]);var C=t&&!E&&x&&Object(g.d)(w)&&v;return Object(c.useEffect)((function(){C&&Object(b.J)("".concat(j,"_top-earning-pages-success-notification"),"view_notification")}),[C,j]),C?e.createElement(m.a,{title:Object(l.__)("Your AdSense and Analytics accounts are linked.","google-site-kit"),description:Object(l.__)("We’ll let you know as soon as there’s enough data available.","google-site-kit"),onDismiss:N}):null}))}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return c}));var r=n(10),i=n.n(r),a=n(19),o=n(33);function c(t){var n=t.allViewOnly,r=t.allNonViewOnly,c=t.includeList,l=t.excludeList;return function(t){return function WhenInViewContext(s){var u=Object(o.a)(),d=Object(a.a)();return i()(!(n&&r),"Cannot allow both `allViewOnly` and `allNonViewOnly` contexts; if all contexts are allowed, remove this `whenInViewContext` wrapper."),i()(!(c&&l),"Do not use both an include and exclude lists for `whenInViewContext`"),n&&!u||r&&u||c&&!c.includes(d)||l&&l.includes(d)?null:e.createElement(t,s)}}}}).call(this,n(4))},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(3),s=n(14),u=n(19),d=n(39),g=n(8),f=function(){var e=Object(u.a)(),t=Object(l.useSelect)((function(e){return e(s.c).isUsingProxy()})),n=Object(l.useSelect)((function(e){return e(s.c).getSetupErrorMessage()}));Object(c.useEffect)((function(){n||void 0===t||function(){var n=o()(i.a.mark((function n(){var r,a;return i.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(d.d)("start_user_setup");case 2:return r=n.sent,n.next=5,Object(d.d)("start_site_setup");case 5:if(a=n.sent,!r.cacheHit){n.next=10;break}return n.next=9,Object(d.c)("start_user_setup");case 9:Object(g.J)("".concat(e,"_setup"),"complete_user_setup",t?"proxy":"custom-oauth");case 10:if(!a.cacheHit){n.next=14;break}return n.next=13,Object(d.c)("start_site_setup");case 13:Object(g.J)("".concat(e,"_setup"),"complete_site_setup",t?"proxy":"custom-oauth");case 14:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}()()}),[e,t,n])}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M9 16h2v-2H9v2zm1-16C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14C7.79 4 6 5.79 6 8h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z",fill:"currentColor"});t.a=function SvgHelp(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return SpinnerButton}));var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(340),g=n(266),f={BEFORE:"before",AFTER:"after"};function SpinnerButton(t){var n=t.className,r=t.onClick,a=void 0===r?function(){}:r,c=t.isSaving,l=void 0!==c&&c,s=t.spinnerPosition,m=void 0===s?f.AFTER:s,p=o()(t,["className","onClick","isSaving","spinnerPosition"]);return e.createElement(d.a,i()({className:u()(n,"googlesitekit-button-icon--spinner",{"googlesitekit-button-icon--spinner__running":l,"googlesitekit-button-icon--spinner__before":m===f.BEFORE,"googlesitekit-button-icon--spinner__after":m===f.AFTER}),icon:l&&m===f.BEFORE?e.createElement(g.a,{size:14}):void 0,trailingIcon:l&&m===f.AFTER?e.createElement(g.a,{size:14}):void 0,onClick:a},p))}SpinnerButton.propTypes={className:l.a.string,onClick:l.a.func,isSaving:l.a.bool,spinnerPosition:l.a.oneOf(Object.values(f))}}).call(this,n(4))},,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 6.414L1.415 5l5.292 5.292-1.414 1.415z"}),r.createElement("path",{d:"M14.146.146l1.415 1.414L5.414 11.707 4 10.292z"}));t.a=function SvgConnected(e){return r.createElement("svg",i({viewBox:"0 0 16 12"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{fill:"currentColor",fillRule:"evenodd"},r.createElement("path",{d:"M0 0h2v7H0zM0 10h2v2H0z"}));t.a=function SvgExclamation(e){return r.createElement("svg",i({viewBox:"0 0 2 12"},e),a)}},,,,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 19h22L11 0 0 19zm12-3h-2v-2h2v2zm0-4h-2V8h2v4z",fill:"currentColor"});t.a=function SvgWarningV2(e){return r.createElement("svg",i({viewBox:"0 0 22 19"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(48),i=n.n(r),a=n(49),o=n.n(a),c=n(68),l=n.n(c),s=n(69),u=n.n(s),d=n(47),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(16),b=n(20);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){l()(LayoutHeader,t);var n=v(LayoutHeader);function LayoutHeader(){return i()(this,LayoutHeader),n.apply(this,arguments)}return o()(LayoutHeader,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.badge,i=t.ctaLabel,a=t.ctaLink,o=a?{alignMiddle:!0,smSize:4,lgSize:6}:{alignMiddle:!0,smSize:4,mdSize:8,lgSize:12};return e.createElement("header",{className:"googlesitekit-layout__header"},e.createElement(h.e,null,e.createElement(h.k,null,n&&e.createElement(h.a,o,e.createElement("h3",{className:"googlesitekit-subheading-1 googlesitekit-layout__header-title"},n,r)),a&&e.createElement(h.a,{alignMiddle:!0,mdAlignRight:!0,smSize:4,lgSize:6},e.createElement(b.a,{href:a,external:!0},i)))))}}]),LayoutHeader}(p.Component);E.propTypes={title:m.a.string,badge:m.a.node,ctaLabel:m.a.string,ctaLink:m.a.string},E.defaultProps={title:"",badge:null,ctaLabel:"",ctaLink:""},t.a=E}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(48),i=n.n(r),a=n(49),o=n.n(a),c=n(68),l=n.n(c),s=n(69),u=n.n(s),d=n(47),g=n.n(d),f=n(1),m=n.n(f),p=n(0),h=n(16),b=n(129);function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g()(e);if(t){var i=g()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return u()(this,n)}}var E=function(t){l()(LayoutFooter,t);var n=v(LayoutFooter);function LayoutFooter(){return i()(this,LayoutFooter),n.apply(this,arguments)}return o()(LayoutFooter,[{key:"render",value:function(){var t=this.props,n=t.ctaLabel,r=t.ctaLink,i=t.footerContent;return e.createElement("footer",{className:"googlesitekit-layout__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{size:12},r&&n&&e.createElement(b.a,{className:"googlesitekit-data-block__source",name:n,href:r,external:!0}),i))))}}]),LayoutFooter}(p.Component);E.propTypes={ctaLabel:m.a.string,ctaLink:m.a.string},t.a=E}).call(this,n(4))},,function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(0),l=n(2),s=n(11),u=n(102),d=n(20);function NewBadge(t){var n=t.tooltipTitle,r=t.learnMoreLink,i=t.forceOpen,a=t.hasLeftSpacing,g=t.hasNoSpacing,f=t.onLearnMoreClick,m=void 0===f?function(){}:f,p=e.createElement(u.a,{className:o()("googlesitekit-new-badge",{"googlesitekit-new-badge--has-no-spacing":g}),label:Object(l.__)("New","google-site-kit"),hasLeftSpacing:a});return n?e.createElement(s.Tooltip,{tooltipClassName:"googlesitekit-new-badge__tooltip",title:e.createElement(c.Fragment,null,n,e.createElement("br",null),e.createElement(d.a,{href:r,onClick:m,external:!0,hideExternalIndicator:!0},Object(l.__)("Learn more","google-site-kit"))),placement:"top",enterTouchDelay:0,leaveTouchDelay:5e3,interactive:!0,open:i},p):p}NewBadge.propTypes={tooltipTitle:i.a.string,learnMoreLink:i.a.string,forceOpen:i.a.bool,onLearnMoreClick:i.a.func,hasLeftSpacing:i.a.bool,hasNoSpacing:i.a.bool},t.a=NewBadge}).call(this,n(4))},,,,,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 22c-1.522 0-2.952-.284-4.29-.852a11.303 11.303 0 01-3.493-2.366 11.303 11.303 0 01-2.365-3.492A10.86 10.86 0 01.5 11c0-1.522.284-2.952.853-4.29a11.302 11.302 0 012.364-3.493A10.92 10.92 0 017.21.88 10.567 10.567 0 0111.5 0c1.522 0 2.952.293 4.29.88a10.92 10.92 0 013.492 2.337c.99.99 1.77 2.155 2.338 3.493.587 1.338.88 2.768.88 4.29 0 1.522-.293 2.952-.88 4.29a10.92 10.92 0 01-2.338 3.492c-.99.99-2.154 1.779-3.492 2.366A10.86 10.86 0 0111.5 22zm0-14.3c.312 0 .569-.1.77-.303.22-.22.33-.485.33-.797a.999.999 0 00-.33-.77.999.999 0 00-.77-.33c-.311 0-.577.11-.797.33a1.043 1.043 0 00-.303.77c0 .312.101.578.303.798.22.201.486.302.797.302zm-1.1 8.8V9.9h2.2v6.6h-2.2z",fill:"#161B18"});t.a=function SvgInfoCircle(e){return r.createElement("svg",i({viewBox:"0 0 23 22",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(13),l=n.n(c),s=n(1),u=n.n(s),d=n(397),g=n(0),f=n(2),m=n(16),p=n(341),h=Object(g.forwardRef)((function(t,n){var r=t.children,a=t.href,c=t.text,s=t.className,u=t.danger,h=t.disabled,b=t.target,v=t.icon,E=t.trailingIcon,_=t["aria-label"],O=t.title,y=t.customizedTooltip,k=t.tooltip,j=t.inverse,S=t.hideTooltipTitle,w=void 0!==S&&S,x=t.tooltipEnterDelayInMS,N=void 0===x?100:x,C=t.tertiary,A=void 0!==C&&C,T=t.callout,R=t.calloutStyle,D=o()(t,["children","href","text","className","danger","disabled","target","icon","trailingIcon","aria-label","title","customizedTooltip","tooltip","inverse","hideTooltipTitle","tooltipEnterDelayInMS","tertiary","callout","calloutStyle"]),M=Object(g.useCallback)((function(e){null!==e&&m.i.attachTo(e)}),[]),P=Object(d.a)(n,M),I=a&&!h?"a":"button",L=e.createElement(I,i()({className:l()("mdc-button",s,{"mdc-button--raised":!c&&!A&&!T,"mdc-button--danger":u,"mdc-button--inverse":j,"mdc-button--tertiary":A,"mdc-button--callout":T,"mdc-button--callout-primary":T||"primary"===R,"mdc-button--callout-warning":"warning"===R,"mdc-button--callout-error":"error"===R}),href:h?void 0:a,ref:P,disabled:!!h,"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 r&&(e=e||r),e?"".concat(e," ").concat(t):t}(),target:b||"_self",role:"a"===I?"button":void 0},D),v,r&&e.createElement("span",{className:"mdc-button__label"},r),E),F=w?null:O||y||_;return!h&&(k&&F||v&&F&&void 0===r)?e.createElement(p.a,{title:F,enterDelay:N},L):L}));h.displayName="Button",h.propTypes={onClick:u.a.func,children:u.a.node,href:u.a.string,text:u.a.bool,className:u.a.string,danger:u.a.bool,disabled:u.a.bool,icon:u.a.element,trailingIcon:u.a.element,title:u.a.string,customizedTooltip:u.a.element,tooltip:u.a.bool,inverse:u.a.bool,hideTooltipTitle:u.a.bool,callout:u.a.bool,calloutStyle:u.a.oneOf(["primary","warning","error"])},h.defaultProps={onClick:null,href:null,text:!1,className:"",danger:!1,disabled:!1,icon:null,trailingIcon:null,title:null,customizedTooltip:null,tooltip:!1,inverse:!1,calloutStyle:null,callout:null},t.a=h}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Tooltip}));var r=n(21),i=n.n(r),a=n(22),o=n.n(a),c=n(1),l=n.n(c),s=n(13),u=n.n(s),d=n(684);function Tooltip(t){var n=t.children,r=t.popperClassName,a=t.tooltipClassName,c=o()(t,["children","popperClassName","tooltipClassName"]);return e.createElement(d.a,i()({classes:{popper:u()("googlesitekit-tooltip-popper",r),tooltip:u()("googlesitekit-tooltip",a)},arrow:!0},c),n)}Tooltip.propTypes={children:l.a.node,popperClassName:l.a.string,tooltipClassName:l.a.string}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return AdBlockerWarningMessage}));var r=n(1),i=n.n(r),a=n(2),o=n(38),c=n(20),l=n(234),s=n(363);function AdBlockerWarningMessage(t){var n=t.className,r=void 0===n?"":n,i=t.getHelpLink,u=void 0===i?"":i,d=t.warningMessage,g=void 0===d?null:d;return g?e.createElement(l.a,{className:r},Object(o.a)(Object(a.sprintf)( /* translators: 1: The warning message. 2: "Get help" text. */ Object(a.__)("%1$s. <Link>%2$s</Link>","google-site-kit"),g,Object(a.__)("Get help","google-site-kit")),{Link:e.createElement(c.a,{href:u,external:!0,hideExternalIndicator:!0,trailingIcon:e.createElement(s.a,{width:15,height:15})})})):null}AdBlockerWarningMessage.propTypes={className:i.a.string,getHelpLink:i.a.string,warningMessage:i.a.string}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M4.5 1.5H3a2 2 0 00-2 2v7a2 2 0 002 2h7a2 2 0 002-2V9M7 1.5h5v5M5 8.5L11.5 2",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgExternalRounded(e){return r.createElement("svg",i({viewBox:"0 0 13 14",fill:"none"},e),a)}},,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return PageHeader}));var r=n(13),i=n.n(r),a=n(1),o=n.n(a),c=n(16),l=n(317),s=n(318),u=n(80);function PageHeader(t){var n=t.title,r=t.icon,a=t.className,o=t.status,d=t.statusText,g=t.fullWidth,f=t.children,m=g?{size:12}:{smSize:4,mdSize:4,lgSize:6},p=""!==o||Boolean(f);return e.createElement("header",{className:"googlesitekit-page-header"},e.createElement(c.k,null,n&&e.createElement(c.a,m,r,e.createElement("h1",{className:i()("googlesitekit-page-header__title",a)},n)),p&&e.createElement(c.a,{alignBottom:!0,mdAlignRight:!0,smSize:4,mdSize:4,lgSize:6},e.createElement("div",{className:"googlesitekit-page-header__details"},o&&e.createElement("span",{className:i()("googlesitekit-page-header__status","googlesitekit-page-header__status--".concat(o))},d,e.createElement(u.a,null,"connected"===o?e.createElement(l.a,{width:10,height:8}):e.createElement(s.a,{width:2,height:12}))),f))))}PageHeader.propTypes={title:o.a.string,icon:o.a.node,className:o.a.string,status:o.a.string,statusText:o.a.string,fullWidth:o.a.bool},PageHeader.defaultProps={title:"",icon:null,className:"googlesitekit-heading-3",status:"",statusText:"",fullWidth:!1}}).call(this,n(4))},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return SetupSuccess}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(2),l=n(176),s=n(106),u=n(32),d=n(14),g=n(7),f=n(3),m=n(11),p=n(144),h="settings_visitor_groups_setup_success_notification";function SetupSuccess(){var t=Object(f.useSelect)((function(e){return e(g.a).isItemDismissed(h)})),n=Object(f.useSelect)((function(e){var t=e(d.c).getAdminURL("googlesitekit-dashboard");return Object(l.a)(t,{widgetArea:s.AREA_MAIN_DASHBOARD_TRAFFIC_AUDIENCE_SEGMENTATION})})),r=Object(f.useDispatch)(u.a).navigateTo,a=Object(f.useDispatch)(g.a).dismissItem;function b(){return a(h)}function v(){return(v=o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b();case 2:r(n);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return void 0===t||t?null:e.createElement("div",{className:"googlesitekit-settings-visitor-groups__setup-success googlesitekit-subtle-notification"},e.createElement("div",{className:"googlesitekit-subtle-notification__icon"},e.createElement(p.a,{width:24,height:24})),e.createElement("div",{className:"googlesitekit-subtle-notification__content"},e.createElement("p",null,Object(c.__)("We’ve added the audiences section to your dashboard!","google-site-kit"))),e.createElement("div",{className:"googlesitekit-subtle-notification__action"},e.createElement(m.Button,{tertiary:!0,onClick:b},Object(c.__)("Got it","google-site-kit")),e.createElement(m.Button,{onClick:function(){return v.apply(this,arguments)}},Object(c.__)("Show me","google-site-kit"))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return v}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(238),u=n(2),d=n(0),g=n(176),f=n(3),m=n(29),p=n(7),h=n(37),b=n(9);function v(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.redirectURL,r=t.onSuccess,a=t.onError,c=Object(s.a)(),v=Object(d.useState)([]),E=l()(v,2),_=E[0],O=E[1],y=Object(d.useState)([]),k=l()(y,2),j=k[0],S=k[1],w=Object(d.useState)(!1),x=l()(w,2),N=x[0],C=x[1],A=Object(f.useSelect)((function(e){return e(p.a).hasScope(b.g)})),T=Object(f.useSelect)((function(e){return e(m.a).getValue(b.b,"autoSubmit")})),R=Object(f.useDispatch)(m.a),D=R.setValues,M=Object(f.useDispatch)(p.a),P=M.setPermissionScopeError,I=Object(f.useDispatch)(b.p),L=I.enableAudienceGroup;n||(n=Object(g.a)(e.location.href,{notification:"audience_segmentation"}));var F=Object(d.useCallback)(o()(i.a.mark((function e(){var t,o,l;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(C(!0),A){e.next=5;break}return D(b.b,{autoSubmit:!0}),P({code:h.a,message:Object(u.__)("Additional permissions are required to create new audiences in Analytics.","google-site-kit"),data:{status:403,scopes:[b.g],skipModal:!0,skipDefaultErrorNotifications:!0,redirectURL:n}}),e.abrupt("return");case 5:return D(b.b,{autoSubmit:!1}),e.next=8,L(j);case 8:if(e.t0=e.sent,e.t0){e.next=11;break}e.t0={};case 11:t=e.t0,o=t.error,l=t.failedSiteKitAudienceSlugs,o||l?null==a||a():null==r||r(),c()&&(o?(O([o]),S([])):Array.isArray(l)?(S(l),O([])):(O([]),S([])),C(!1));case 16:case"end":return e.stop()}}),e)}))),[A,D,L,j,c,P,n,a,r]);return Object(d.useEffect)((function(){A&&T&&F()}),[A,T,F]),{apiErrors:_,failedAudiences:j,isSaving:N,onEnableGroups:F}}}).call(this,n(26))},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(2);function i(e){return 0===e.length}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return 0===e.length?1===t?Object(r.__)("Please select an answer","google-site-kit"):Object(r.__)("Please select at least 1 answer","google-site-kit"):null}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return R}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(314),g=n(2),f=n(0),m=n(3),p=n(423),h=n(424),b=n(425),v=n(54),E=n(29),_=n(7),O=n(14),y=n(9),k=n(381),j=n(11),S=n(16),w=n(24),x=n(132),N=n(145),C=n(8),A=n(382),T=n(250),R="audience_segmentation_setup_cta-notification";function AudienceSegmentationSetupCTAWidget(t){var n=t.Widget,r=t.WidgetNull,a=Object(w.e)(),c=a===w.b,s=a===w.c,u=Object(m.useDispatch)(E.a).setValues,d=Object(x.b)(R),v=Object(x.c)(R).isTooltipVisible,N=Object(m.useSelect)((function(e){return e(_.a).isPromptDismissed(R)})),D=Object(m.useSelect)((function(e){return e(_.a).getPromptDismissCount(R)})),M=Object(m.useSelect)((function(e){return e(_.a).getConfiguredAudiences()})),P=Object(m.useSelect)((function(e){return e(E.a).getValue(y.b,"autoSubmit")})),I=Object(f.useState)(!1),L=l()(I,2),F=L[0],B=L[1],z=Object(m.useDispatch)(_.a),H=z.dismissItem,W=z.dismissPrompt,U=Object(A.a)({onSuccess:function(){H(k.a)},onError:function(){B(!0)}}),V=U.apiErrors,G=U.failedAudiences,q=U.isSaving,K=U.onEnableGroups,Y=Object(m.useSelect)((function(e){return e(y.p).isGatheringData(),e(y.p).isDataAvailableOnLoad()})),J=function(){var e=o()(i.a.mark((function e(){var t;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d(),!(D<1)){e.next=7;break}return t=2*C.g,e.next=5,W(R,{expiresInSeconds:t});case 5:e.next=9;break;case 7:return e.next=9,W(R);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),X=Object(m.useDispatch)(_.a).clearPermissionScopeError,$=Object(m.useDispatch)(O.c).setSetupErrorCode,Z=Object(f.useCallback)((function(){u(y.b,{autoSubmit:!1}),X(),$(null),B(!1)}),[X,$,u]),Q=Object(m.useSelect)((function(e){return e(O.c).getSetupErrorCode()})),ee=P&&"access_denied"===Q;return v?e.createElement(f.Fragment,null,e.createElement(r,null),e.createElement(x.a,{title:Object(g.__)("You can always enable groups from Settings later","google-site-kit"),content:Object(g.__)("The visitors group section will be added to your dashboard once you set it up.","google-site-kit"),dismissLabel:Object(g.__)("Got it","google-site-kit"),tooltipStateKey:R})):void 0===M||(null==M?void 0:M.length)||!Y||N?null:e.createElement("div",{className:"googlesitekit-widget-context"},e.createElement(S.e,{className:"googlesitekit-widget-area"},e.createElement(S.k,null,e.createElement(S.a,{size:12},e.createElement(n,{noPadding:!0,className:"googlesitekit-audience-segmentation-setup-cta-widget"},e.createElement(S.e,{collapsed:!0},e.createElement(S.k,null,e.createElement(S.a,{smSize:6,mdSize:8,lgSize:7,className:"googlesitekit-widget-audience-segmentation-primary-cell"},e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-text__wrapper"},e.createElement("h3",{className:"googlesitekit-publisher-win__title"},Object(g.__)("Learn how different types of visitors interact with your site","google-site-kit")),e.createElement("p",null,Object(g.__)('Understand what brings new visitors to your site and keeps them coming back. Site Kit can now group your site visitors into relevant segments like "new" and "returning". To set up these new groups, Site Kit needs to update your Google Analytics property.',"google-site-kit"))),e.createElement("div",{className:"googlesitekit-widget-audience-segmentation-actions__wrapper"},e.createElement(f.Fragment,null,e.createElement(j.SpinnerButton,{className:"googlesitekit-audience-segmentation-cta-button",onClick:K,isSaving:q},q?Object(g.__)("Enabling groups","google-site-kit"):Object(g.__)("Enable groups","google-site-kit")),e.createElement(j.Button,{tertiary:!0,onClick:J},D<1?Object(g.__)("Maybe later","google-site-kit"):Object(g.__)("Don’t show again","google-site-kit"))))),!c&&!s&&e.createElement(S.a,{alignBottom:!0,className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:6,mdSize:3,lgSize:5},e.createElement(p.a,null)),s&&e.createElement(S.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",mdSize:8},e.createElement(h.a,null)),c&&e.createElement(S.a,{className:"googlesitekit-widget-audience-segmentation-svg__wrapper",smSize:8},e.createElement(b.a,null)))))))),(F||ee)&&e.createElement(T.a,{hasOAuthError:ee,apiErrors:V.length?V:G,onRetry:K,inProgress:q,onCancel:ee?Z:function(){return B(!1)}}))}AudienceSegmentationSetupCTAWidget.propTypes={Widget:u.a.elementType.isRequired,WidgetNull:u.a.elementType},t.b=Object(d.a)(Object(v.a)({moduleName:"analytics-4"}),Object(N.g)("audienceSegmentationSetupCTA"))(AudienceSegmentationSetupCTAWidget)}).call(this,n(4))},,,,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-desktop_svg__clip0_1782_21770)"},r.createElement("path",{d:"M39.03 49.706a97.776 97.776 0 019.93-8.943c33.321-26.138 60.851-26.096 98.964-21.325C173.69 22.662 188.743 34.928 223.871 33 259 31.07 268 22.14 311 25c34.038 2.265 49.308 8.985 79.57 24.706 28.007 14.55 53.437 40.114 66.216 73.922 21.906 57.948-17.152 162.243-69.53 167.16-37.953 3.565-69.275-38.468-107.583-28.733-23.599 5.998-37.595 31.155-55.802 47.757-21.241 19.371-66.999 18.153-91.871 7.816-23.702-9.851-46.759-29.374-54.5-58.128-5.893-21.897-7.5-48-24-68-19.968-24.204-32.167-35-39.022-67.872-5.954-28.55 6.856-55.631 24.552-73.922z",fill:"#B8E6CA"}),r.createElement("rect",{x:85,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:104.031,y:126.641,width:53.016,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:111.688,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:160.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:104.031,y:207.703,width:19.031,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 124.602a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:104,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M189.672 173.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("path",{d:"M189.672 220.617a8.836 8.836 0 018.836-8.836h13.594a8.836 8.836 0 110 17.672h-13.594a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:102.672,y:175.656,width:55.734,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M238 89.5H86",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("rect",{x:258,y:41,width:153,height:208,rx:11,fill:"#fff"}),r.createElement("rect",{x:276.955,y:126.641,width:52.805,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:111.688,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:160.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("rect",{x:276.955,y:207.703,width:18.956,height:9.516,rx:4.758,fill:"#EBEEF0"}),r.createElement("path",{d:"M362.256 124.602a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#B8E6CA"}),r.createElement("rect",{x:277,y:62,width:36,height:9,rx:4.5,fill:"#EBEEF0"}),r.createElement("path",{d:"M401 89.5H258",stroke:"#EBEEF0",strokeWidth:2}),r.createElement("path",{d:"M362.256 173.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836zM362.256 220.617a8.836 8.836 0 018.836-8.836h13.47a8.836 8.836 0 018.835 8.836 8.836 8.836 0 01-8.835 8.836h-13.47a8.836 8.836 0 01-8.836-8.836z",fill:"#FFDED3"}),r.createElement("rect",{x:275.602,y:175.656,width:55.513,height:9.516,rx:4.758,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-desktop_svg__clip0_1782_21770"},r.createElement("path",{fill:"#fff",d:"M0 0h496v216H0z"})));t.a=function SvgAudienceSegmentationSetupDesktop(e){return r.createElement("svg",i({viewBox:"0 0 496 216",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-tablet_svg__clip0_1925_26844)"},r.createElement("path",{d:"M67.728 34.59a71.982 71.982 0 017.31-6.584c24.527-19.24 44.792-19.21 72.848-15.698 18.966 2.374 30.047 11.404 55.905 9.984C229.65 20.872 234.5 10.117 271 14.308 307.5 18.5 322.5-1.5 360.5 1.5s52 32 72 42 37 8.5 50 35 4 83.5-36 106-99.355 25.386-122.439 27.553c-27.938 2.624-50.995-28.317-79.194-21.151-17.371 4.415-27.674 22.934-41.076 35.155-15.636 14.258-49.319 13.362-67.627 5.752-17.448-7.25-34.42-21.622-40.118-42.788-4.338-16.119-5.521-35.333-17.667-50.056-14.698-17.816-23.679-25.763-28.725-49.961-4.382-21.016 5.047-40.95 18.074-54.414z",fill:"#93C9A8"}),r.createElement("rect",{x:93,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:107.008,y:92.222,width:39.025,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:81.214,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:107.008,y:117.295,width:14.009,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 90.72a6.504 6.504 0 016.504-6.504h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:106.984,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M170.051 126.802a6.504 6.504 0 016.504-6.505h10.007a6.504 6.504 0 010 13.009h-10.007a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:106.008,y:128.303,width:41.027,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M205.625 64.882H93.736",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("rect",{x:220.348,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:234.301,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:234.301,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M297.094 90.72a6.504 6.504 0 016.504-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:234.332,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M325.613 64.882H220.349",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M297.094 126.802a6.504 6.504 0 016.504-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.504-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:233.305,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:347.695,y:29.181,width:112.625,height:153.111,rx:8.097,fill:"#fff"}),r.createElement("rect",{x:361.648,y:92.222,width:38.871,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:81.214,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("rect",{x:361.648,y:117.295,width:13.954,height:7.005,rx:3.502,fill:"#EBEEF0"}),r.createElement("path",{d:"M424.441 90.72a6.504 6.504 0 016.505-6.504h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#FFDED3"}),r.createElement("rect",{x:361.68,y:44.639,width:26.5,height:6.625,rx:3.313,fill:"#EBEEF0"}),r.createElement("path",{d:"M452.961 64.882H347.697",stroke:"#EBEEF0",strokeWidth:1.472}),r.createElement("path",{d:"M424.441 126.802a6.505 6.505 0 016.505-6.505h9.915a6.504 6.504 0 010 13.009h-9.915a6.504 6.504 0 01-6.505-6.504z",fill:"#B8E6CA"}),r.createElement("rect",{x:360.652,y:128.303,width:40.864,height:7.005,rx:3.502,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("clipPath",{id:"audience-segmentation-setup-tablet_svg__clip0_1925_26844"},r.createElement("path",{fill:"#fff",d:"M0 0h553v158H0z"})));t.a=function SvgAudienceSegmentationSetupTablet(e){return r.createElement("svg",i({viewBox:"0 0 553 146",fill:"none"},e),a,o)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("g",{clipPath:"url(#audience-segmentation-setup-mobile_svg__clip0_1657_37513)"},r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter0_d_1657_37513)"},r.createElement("rect",{x:-16.047,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:-15.682,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:-2.152,y:62.522,width:38.704,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:51.605,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:-2.152,y:90.309,width:13.894,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 61.033a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:-2.176,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M60.367 99.737a6.45 6.45 0 016.45-6.45h9.925a6.45 6.45 0 010 12.9h-9.924a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:-3.145,y:101.226,width:40.689,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M95.648 35.407H-15.319",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter1_d_1657_37513)"},r.createElement("rect",{x:115.648,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:116.013,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:129.488,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:129.488,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M191.762 61.033a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:129.52,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M220.047 35.407H115.65",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M191.762 99.737a6.45 6.45 0 016.45-6.45h9.834a6.451 6.451 0 010 12.9h-9.834a6.45 6.45 0 01-6.45-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:128.5,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("g",{filter:"url(#audience-segmentation-setup-mobile_svg__filter2_d_1657_37513)"},r.createElement("rect",{x:247.348,width:111.697,height:151.85,rx:8.031,fill:"#fff"}),r.createElement("rect",{x:247.713,y:.365,width:110.967,height:151.12,rx:7.665,stroke:"#EBEEF0",strokeWidth:.73})),r.createElement("rect",{x:261.188,y:62.522,width:38.55,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:51.605,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("rect",{x:261.188,y:90.309,width:13.839,height:6.947,rx:3.473,fill:"#EBEEF0"}),r.createElement("path",{d:"M323.461 61.033a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#B8E6CA"}),r.createElement("rect",{x:261.219,y:15.331,width:26.282,height:6.57,rx:3.285,fill:"#EBEEF0"}),r.createElement("path",{d:"M351.746 35.407H247.349",stroke:"#EBEEF0",strokeWidth:1.46}),r.createElement("path",{d:"M323.461 99.737a6.45 6.45 0 016.451-6.45h9.833a6.45 6.45 0 110 12.9h-9.833a6.45 6.45 0 01-6.451-6.45z",fill:"#FFDED3"}),r.createElement("rect",{x:260.199,y:101.226,width:40.527,height:6.947,rx:3.473,fill:"#EBEEF0"})),o=r.createElement("defs",null,r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter0_d_1657_37513",x:-16.047,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter1_d_1657_37513",x:115.648,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("filter",{id:"audience-segmentation-setup-mobile_svg__filter2_d_1657_37513",x:247.348,y:0,width:114.616,height:155.5,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),r.createElement("feOffset",{dx:2.92,dy:3.65}),r.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),r.createElement("feColorMatrix",{values:"0 0 0 0 0.921569 0 0 0 0 0.933333 0 0 0 0 0.941176 0 0 0 1 0"}),r.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1657_37513"}),r.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1657_37513",result:"shape"})),r.createElement("clipPath",{id:"audience-segmentation-setup-mobile_svg__clip0_1657_37513"},r.createElement("path",{fill:"#fff",d:"M0 0h343v157.69H0z"})));t.a=function SvgAudienceSegmentationSetupMobile(e){return r.createElement("svg",i({viewBox:"0 0 343 120",fill:"none"},e),a,o)}},,,,,,,function(e,t,n){"use strict";(function(e){var r=n(6),i=n.n(r),a=n(1),o=n.n(a);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Spinner(t){var n=t.isSaving,r=t.style,i=void 0===r?{}:r;return e.createElement("span",{className:"spinner",style:l({display:n?"inline-block":"none",float:"none",marginTop:"0",visibility:"visible"},i)})}Spinner.propTypes={isSaving:o.a.bool,style:o.a.object},t.a=Spinner}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputSelectOptions}));var r=n(6),i=n.n(r),a=n(27),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(57),d=n(2),g=n(3),f=n(11),m=n(7),p=n(32),h=n(16),b=n(134),v=n(8),E=n(19);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UserInputSelectOptions(t){var n=t.slug,r=t.options,a=t.max,c=t.next,l=t.showInstructions,O=t.alignLeftOptions,y=Object(E.a)(),k=Object(g.useSelect)((function(e){return e(m.a).getUserInputSetting(n)||[]})),j=Object(g.useSelect)((function(e){return e(m.a).isSavingUserInputSettings(k)})),S=Object(g.useSelect)((function(e){return e(p.a).isNavigating()})),w=Object(g.useDispatch)(m.a).setUserInputSetting,x=Object(s.useRef)();Object(s.useEffect)((function(){if(null==x?void 0:x.current){var e=function(e){e&&setTimeout((function(){e.focus()}),50)},t=1===a?"radio":"checkbox",n=x.current.querySelector('input[type="'.concat(t,'"]:checked'));if(n)e(n);else e(x.current.querySelector('input[type="'.concat(t,'"]')))}}),[a]);var N=Object(s.useCallback)((function(e){var t=e.target,r=t.value,i=t.checked,c=new Set([r].concat(o()(k)));i||c.delete(r);var l=n===b.f?"content_frequency_question_answer":"site_".concat(n,"_question_answer"),s=Array.from(c).slice(0,a);Object(v.J)("".concat(y,"_kmw"),l,s.join()),w(n,s)}),[a,w,n,k,y]),C=Object(s.useCallback)((function(e){e.keyCode===u.b&&k.length>0&&k.length<=a&&!k.includes("")&&c&&"function"==typeof c&&c()}),[k,c,a]),A=i()({},a>1?"onChange":"onClick",N),T=1===a?f.Radio:f.Checkbox,R=Object.keys(r).map((function(t){var o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({id:"".concat(n,"-").concat(t),value:t,checked:k.includes(t),onKeyDown:C,alignLeft:O},A);return a>1?(o.disabled=k.length>=a&&!k.includes(t),o.name="".concat(n,"-").concat(t)):o.name=n,(j||S)&&(o.disabled=!0),e.createElement("div",{key:t,className:"googlesitekit-user-input__select-option"},e.createElement(T,o,r[t]))}));return e.createElement(h.a,{className:"googlesitekit-user-input__select-options-wrapper",lgStart:6,lgSize:6,mdSize:8,smSize:4},l&&e.createElement("p",{className:"googlesitekit-user-input__select-instruction"},e.createElement("span",null,Object(d.sprintf)( /* translators: %s: number of answers allowed. */ Object(d._n)("Select only %d answer","Select up to %d answers",a,"google-site-kit"),a))),e.createElement("div",{className:"googlesitekit-user-input__select-options",ref:x},R))}UserInputSelectOptions.propTypes={slug:l.a.string.isRequired,options:l.a.shape({}).isRequired,max:l.a.number,next:l.a.func,showInstructions:l.a.bool,alignLeftOptions:l.a.bool},UserInputSelectOptions.defaultProps={max:1,showInstructions:!1,alignLeftOptions:!1}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputPreviewGroup}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(6),l=n.n(c),s=n(1),u=n.n(s),d=n(13),g=n.n(d),f=n(0),m=n(2),p=n(11),h=n(3),b=n(23),v=n(7),E=n(32),_=n(8),O=n(386),y=n(19),k=n(134),j=n(118),S=n(20),w=n(151),x=n(469),N=n(554),C=n(639);function UserInputPreviewGroup(t){var n=t.slug,r=t.title,a=t.values,c=t.options,s=void 0===c?{}:c,u=t.loading,d=void 0!==u&&u,A=t.settingsView,T=void 0!==A&&A,R=Object(y.a)(),D=Object(h.useSelect)((function(e){return e(E.a).isNavigating()})),M=Object(h.useSelect)((function(e){return e(b.b).getValue(k.a)})),P=Object(h.useSelect)((function(e){return e(v.a).hasUserInputSettingChanged(n)})),I=Object(h.useSelect)((function(e){var t=e(v.a).getUserInputSettings();return e(v.a).isSavingUserInputSettings(t)})),L=Object(h.useSelect)((function(e){return e(v.a).getErrorForAction("saveUserInputSettings",[])})),F=Object(h.useDispatch)(b.b).setValues,B=Object(h.useDispatch)(v.a),z=B.saveUserInputSettings,H=B.resetUserInputSettings,W=M===n,U=I||D,V="".concat(R,"_kmw"),G=Object(f.useCallback)((function(){var e,t;W?(F(l()({},k.a,void 0)),null===(e=Y.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)):(Object(_.J)(V,"question_edit",n),F(l()({},k.a,n)))}),[V,W,F,n]),q=Object(O.a)(a,k.b[n]),K=Object(O.b)(a),Y=Object(f.useRef)(),J=Object(f.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!K){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,z();case 4:e.sent.error||(Object(_.J)(V,"question_update",n),G());case 6:case"end":return e.stop()}}),e)}))),[K,V,z,n,G]),X=Object(f.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!T){e.next=6;break}if(!(U||M&&!W)){e.next=3;break}return e.abrupt("return");case 3:if(!W){e.next=6;break}return e.next=6,H();case 6:G();case 7:case"end":return e.stop()}}),e)}))),[T,U,M,W,H,G]),$=Object(f.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!U){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,H();case 4:G();case 5:case"end":return e.stop()}}),e)}))),[U,H,G]);return e.createElement("div",{className:g()("googlesitekit-user-input__preview-group",{"googlesitekit-user-input__preview-group--editing":W,"googlesitekit-user-input__preview-group--individual-cta":T})},e.createElement("div",{className:"googlesitekit-user-input__preview-group-title"},e.createElement(w.a,{loading:d,width:"340px",height:"21px"},e.createElement("p",null,r)),e.createElement(w.a,{loading:d,className:"googlesitekit-margin-left-auto",width:"60px",height:"26px"},e.createElement(S.a,{secondary:!0,onClick:X,ref:Y,disabled:U||!!M&&!W,linkButton:!0,trailingIcon:e.createElement(C.a,{width:20,height:20})},W&&Object(m.__)("Close","google-site-kit"),!W&&Object(m.__)("Edit","google-site-kit")))),!W&&e.createElement("div",{className:"googlesitekit-user-input__preview-answers"},e.createElement(w.a,{loading:d,width:"340px",height:"36px"},q&&e.createElement("p",{className:"googlesitekit-error-text"},q),!q&&a.map((function(t){return e.createElement("div",{key:t,className:"googlesitekit-user-input__preview-answer"},s[t])})))),W&&e.createElement(f.Fragment,null,e.createElement(x.a,{slug:n,max:k.b[n],options:s,alignLeftOptions:!0}),q&&e.createElement("p",{className:"googlesitekit-error-text"},q),T&&e.createElement(f.Fragment,null,e.createElement(N.a,{slug:n}),L&&e.createElement(j.a,{error:L}),e.createElement("div",{className:"googlesitekit-user-input__preview-actions"},e.createElement(p.SpinnerButton,{disabled:K,onClick:P?J:G,isSaving:U},P||I?Object(m.__)("Apply changes","google-site-kit"):Object(m.__)("Save","google-site-kit")),e.createElement(p.Button,{tertiary:!0,disabled:U,onClick:$},Object(m.__)("Cancel","google-site-kit"))))))}UserInputPreviewGroup.propTypes={slug:u.a.string.isRequired,title:u.a.string.isRequired,values:u.a.arrayOf(u.a.string).isRequired,options:u.a.shape({}),loading:u.a.bool,settingsView:u.a.bool}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ModuleSettingsWarning}));var r=n(3),i=n(18),a=n(7),o=n(234),c=n(221);function ModuleSettingsWarning(t){var n=t.slug,l=Object(r.useSelect)((function(e){var t;return null===(t=e(i.a))||void 0===t?void 0:t.getCheckRequirementsError(n)}));return l?a.c===l.code?e.createElement(c.a,{moduleSlug:n}):e.createElement(o.a,null,l.message):null}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M1 3.838L4.106 7 10 1",stroke:"currentColor",strokeWidth:1.5});t.a=function SvgTick(e){return r.createElement("svg",i({viewBox:"0 0 11 9",fill:"none"},e),a)}},,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionNotice}));var r=n(13),i=n.n(r),a=n(2);function UserInputQuestionNotice(t){var n=t.className;return e.createElement("p",{className:i()(n,"googlesitekit-user-input__question-notice")},Object(a.__)("You can always edit your answers later from Settings","google-site-kit"))}}).call(this,n(4))},,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputQuestionAuthor}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(7);function UserInputQuestionAuthor(t){var n=t.slug,r=Object(o.useSelect)((function(e){return e(c.a).getUserInputSettingAuthor(n)}));return r&&r.photo&&r.login?e.createElement("div",{className:"googlesitekit-user-input__author"},e.createElement("p",null,Object(a.__)("This question has been answered by:","google-site-kit")),e.createElement("div",{className:"googlesitekit-user-input__author-info"},e.createElement("img",{alt:r.login,src:r.photo}),r.login)):null}UserInputQuestionAuthor.propTypes={slug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return CancelUserInputButton}));var r=n(1),i=n.n(r),a=n(2),o=n(3),c=n(11),l=n(14),s=n(32);function CancelUserInputButton(t){var n=t.disabled,r=Object(o.useSelect)((function(e){return e(l.c).getAdminURL("googlesitekit-dashboard")})),i=Object(o.useDispatch)(s.a).navigateTo;return e.createElement(c.Button,{tertiary:!0,className:"googlesitekit-user-input__buttons--cancel",onClick:function(){return i(r)},disabled:n},Object(a.__)("Cancel","google-site-kit"))}CancelUserInputButton.propTypes={disabled:i.a.bool}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M10.6.6L12 2 6 8 0 2 1.4.6 6 5.2z",fill:"currentColor",fillRule:"evenodd"});t.a=function SvgChevronDownV2(e){return r.createElement("svg",i({viewBox:"0 0 12 8"},e),a)}},,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return UserInputPreview}));var r=n(15),i=n.n(r),a=n(1),o=n.n(a),c=n(13),l=n.n(c),s=n(2),u=n(0),d=n(11),g=n(3),f=n(7),m=n(32),p=n(23),h=n(134),b=n(470),v=n(541),E=n(88),_=n(118),O=n(151),y=n(555),k=n(386);function UserInputPreview(t){var n,r,a,o=t.goBack,c=t.submitChanges,j=t.error,S=t.loading,w=void 0!==S&&S,x=t.settingsView,N=void 0!==x&&x,C=Object(u.useRef)(),A=Object(g.useSelect)((function(e){return e(f.a).getUserInputSettings()})),T=Object(g.useSelect)((function(e){return e(f.a).isSavingUserInputSettings(A)})),R=Object(g.useSelect)((function(e){return e(m.a).isNavigating()})),D=Object(g.useSelect)((function(e){return!!e(p.b).getValue(h.a)})),M=T||R,P=Object(h.g)(),I=P.USER_INPUT_ANSWERS_PURPOSE,L=P.USER_INPUT_ANSWERS_POST_FREQUENCY,F=P.USER_INPUT_ANSWERS_GOALS,B=Object(E.a)("page"),z=i()(B,1)[0],H=h.d.some((function(e){var t;return Object(k.b)((null==A||null===(t=A[e])||void 0===t?void 0:t.values)||[])})),W=Object(u.useCallback)((function(){H||M||c()}),[H,M,c]);return Object(u.useEffect)((function(){if((null==C?void 0:C.current)&&!(null==z?void 0:z.startsWith("googlesitekit-settings"))){var e=C.current.querySelector(".mdc-button");e&&setTimeout((function(){e.focus()}),50)}}),[z]),e.createElement("div",{className:l()("googlesitekit-user-input__preview",{"googlesitekit-user-input__preview--editing":D}),ref:C},e.createElement("div",{className:"googlesitekit-user-input__preview-contents"},!N&&e.createElement("p",{className:"googlesitekit-user-input__preview-subheader"},Object(s.__)("Review your answers","google-site-kit")),N&&e.createElement("div",{className:"googlesitekit-settings-user-input__heading-container"},e.createElement(O.a,{loading:w,width:"275px",height:"16px"},e.createElement("p",{className:"googlesitekit-settings-user-input__heading"},Object(s.__)("Edit your answers for more personalized metrics:","google-site-kit")))),e.createElement(b.a,{slug:h.e,title:Object(s.__)("What is the main purpose of this site?","google-site-kit"),values:(null==A||null===(n=A.purpose)||void 0===n?void 0:n.values)||[],options:I,loading:w,settingsView:N}),e.createElement(b.a,{slug:h.f,title:Object(s.__)("How often do you create new content for this site?","google-site-kit"),values:(null==A||null===(r=A.postFrequency)||void 0===r?void 0:r.values)||[],options:L,loading:w,settingsView:N}),e.createElement(b.a,{slug:h.c,title:Object(s.__)("What are your top goals for this site?","google-site-kit"),values:(null==A||null===(a=A.goals)||void 0===a?void 0:a.values)||[],options:F,loading:w,settingsView:N}),j&&e.createElement(_.a,{error:j})),!N&&e.createElement(u.Fragment,null,e.createElement("div",{className:"googlesitekit-user-input__preview-notice"},e.createElement(v.a,null)),e.createElement("div",{className:"googlesitekit-user-input__footer googlesitekit-user-input__buttons"},e.createElement("div",{className:"googlesitekit-user-input__footer-nav"},e.createElement(d.SpinnerButton,{className:"googlesitekit-user-input__buttons--next",onClick:W,disabled:H||M,isSaving:M},Object(s.__)("Save","google-site-kit")),e.createElement(d.Button,{tertiary:!0,className:"googlesitekit-user-input__buttons--back",onClick:o,disabled:M},Object(s.__)("Back","google-site-kit"))),e.createElement("div",{className:"googlesitekit-user-input__footer-cancel"},e.createElement(y.a,{disabled:M})))))}UserInputPreview.propTypes={submitChanges:o.a.func,goBack:o.a.func,error:o.a.object,loading:o.a.bool,settingsView:o.a.bool}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"currentColor",strokeLinecap:"square",strokeWidth:2,d:"M15.835 8.333l-5.834 5-5.833-5"});t.a=function SvgChevronDown(e){return r.createElement("svg",i({viewBox:"0 0 20 20",fill:"none"},e),a)}},,function(e,t,n){"use strict";(function(e,r){var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(15),s=n.n(l),u=n(2),d=n(0),g=n(38),f=n(57),m=n(170),p=n(3),h=n(113),b=n(39),v=n(85),E=n(20),_=n(14),O=n(32),y=n(35),k=n(19);t.a=function ResetButton(t){var n=t.children,i=Object(p.useSelect)((function(e){return e(_.c).getAdminURL("googlesitekit-splash",{notification:"reset_success"})})),o=Object(p.useSelect)((function(e){return e(_.c).isDoingReset()})),l=Object(p.useSelect)((function(e){return e(O.a).isNavigatingTo(i||"")})),j=Object(d.useState)(!1),S=s()(j,2),w=S[0],x=S[1],N=Object(d.useState)(!1),C=s()(N,2),A=C[0],T=C[1],R=Object(m.a)(x,3e3);Object(d.useEffect)((function(){o||l?x(!0):R(!1)}),[o,l,R]),Object(d.useEffect)((function(){var t=function(e){f.c===e.keyCode&&T(!1)};return A&&e.addEventListener("keyup",t,!1),function(){A&&e.removeEventListener("keyup",t)}}),[A]);var D=Object(p.useDispatch)(_.c).reset,M=Object(p.useDispatch)(O.a).navigateTo,P=Object(k.a)(),I=Object(d.useCallback)(c()(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D();case 2:return e.next=4,Object(b.b)();case 4:return e.next=6,Object(y.b)(P,"reset_plugin");case 6:M(i);case 7:case"end":return e.stop()}}),e)}))),[M,i,D,P]),L=Object(d.useCallback)((function(){T(!A)}),[A]),F=Object(d.useCallback)((function(){T(!0)}),[]);return r.createElement(d.Fragment,null,r.createElement(E.a,{className:"googlesitekit-reset-button",onClick:F},n||Object(u.__)("Reset Site Kit","google-site-kit")),r.createElement(v.a,null,r.createElement(h.a,{dialogActive:A,handleConfirm:I,handleDialog:L,title:Object(u.__)("Reset Site Kit","google-site-kit"),subtitle:Object(g.a)(Object(u.__)("Resetting will disconnect all users and remove all Site Kit settings and data within WordPress. <br />You and any other users who wish to use Site Kit will need to reconnect to restore access.","google-site-kit"),{br:r.createElement("br",null)}),confirmButton:Object(u.__)("Reset","google-site-kit"),danger:!0,small:!0,inProgress:w})))}}).call(this,n(26),n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=["ads","reader-revenue-manager"]},,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsActiveModules}));var r=n(3),i=n(18),a=n(183),o=n(999);function SettingsActiveModules(){var t=Object(r.useSelect)((function(e){return e(i.a).getModules()}));if(!t)return null;var n=Object.keys(t).map((function(e){return t[e]})).filter((function(e){var t=e.internal,n=e.active;return!t&&n})).sort((function(e,t){return e.order-t.order}));return e.createElement(a.a,{rounded:!0},n.map((function(t){var n=t.slug;return e.createElement(o.a,{key:n,slug:n})})))}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPConsentAPIRequirement}));var r=n(1),i=n.n(r);function WPConsentAPIRequirement(t){var n=t.title,r=t.description,i=t.footer;return e.createElement("div",{className:"googlesitekit-settings-consent-mode-requirement"},e.createElement("h4",null,n),e.createElement("p",{className:"googlesitekit-settings-consent-mode-requirement__description"},r),e.createElement("footer",{className:"googlesitekit-settings-consent-mode-requirement__footer"},i))}WPConsentAPIRequirement.propTypes={title:i.a.string.isRequired,description:i.a.node.isRequired,footer:i.a.node.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsKeyMetrics}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(0),u=n(2),d=n(11),g=n(3),f=n(7),m=n(16),p=n(44);function SettingsKeyMetrics(t){var n=t.loading,r=void 0!==n&&n,a=Object(g.useSelect)((function(e){return e(f.a).isKeyMetricsWidgetHidden()})),c=Object(g.useSelect)((function(e){return e(f.a).getKeyMetrics()})),l=Object(g.useDispatch)(f.a),h=l.setKeyMetricsSetting,b=l.saveKeyMetricsSettings,v=Object(s.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h("isWidgetHidden",!a);case 2:return e.next=4,b({widgetSlugs:void 0});case 4:case"end":return e.stop()}}),e)}))),[a,b,h]);return r?e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12,className:"googlesitekit-overflow-hidden"},e.createElement(p.a,{width:"260px",height:"21.3px"})))):void 0!==a&&(null==c?void 0:c.length)?e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement(d.Switch,{label:Object(u.__)("Display key metrics in dashboard","google-site-kit"),checked:!a,onClick:v,hideLabel:!1})))):null}SettingsKeyMetrics.propTypes={loading:l.a.bool}}).call(this,n(4))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(15),i=n.n(r),a=n(166),o=n(146),c=n(0),l=n(2),s=n(11),u=n(235),d=n(367),g=n(183),f=n(989),m=n(16),p=n(236),h=n(35),b=n(19);function SettingsApp(){var t=Object(a.h)().pathname.split("/"),n=i()(t,2)[1],r=SettingsApp.basePathToTabIndex[n],v=Object(b.a)(),E=Object(c.useCallback)((function(){Object(h.b)(v,"tab_select",n)}),[n,v]);return e.createElement(c.Fragment,null,e.createElement(u.a,null,e.createElement(p.a,null)),e.createElement("div",{className:"googlesitekit-module-page"},e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement(d.a,{title:Object(l.__)("Settings","google-site-kit")})),e.createElement(m.a,{size:12},e.createElement(g.a,{transparent:!0,rounded:!0},e.createElement(s.TabBar,{activeIndex:r,className:"googlesitekit-tab-bar__settings",handleActiveIndexUpdate:E},e.createElement(s.Tab,{tag:o.b,to:"/connected-services",replace:!1},e.createElement("span",{className:"mdc-tab__text-label"},Object(l.__)("Connected Services","google-site-kit"))),e.createElement(s.Tab,{tag:o.b,to:"/connect-more-services",replace:!1},e.createElement("span",{className:"mdc-tab__text-label"},Object(l.__)("Connect More Services","google-site-kit"))),e.createElement(s.Tab,{tag:o.b,to:"/admin-settings",replace:!1},e.createElement("span",{className:"mdc-tab__text-label"},Object(l.__)("Admin Settings","google-site-kit")))))),e.createElement(m.a,{size:12},e.createElement(f.a,null))))))}SettingsApp.propTypes={},SettingsApp.basePathToTabIndex={"connected-services":0,"connect-more-services":1,"admin-settings":2},t.a=Object(a.j)(SettingsApp)}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(166),i=n(3),a=n(18),o=n(990),c=n(754),l=n(1008);t.a=function SettingsModules(){var t=Object(i.useSelect)((function(e){return e(a.a).getModules()}));return void 0!==t&&Object.values(t).length?e.createElement(r.d,null,e.createElement(r.b,{path:"/connected-services/:moduleSlug/:action"},e.createElement(c.a,null)),e.createElement(r.b,{path:"/connected-services/:moduleSlug"},e.createElement(c.a,null)),e.createElement(r.b,{path:"/connected-services"},e.createElement(c.a,null)),e.createElement(r.b,{path:"/connect-more-services"},e.createElement(l.a,null)),e.createElement(r.b,{path:"/admin-settings"},e.createElement(o.a,null)),e.createElement(r.a,{from:"/settings/:moduleSlug/edit",to:"/connected-services/:moduleSlug/edit"}),e.createElement(r.a,{from:"/settings/:moduleSlug",to:"/connected-services/:moduleSlug"}),e.createElement(r.a,{from:"/settings",to:"/connected-services"}),e.createElement(r.a,{from:"/connect",to:"/connect-more-services"}),e.createElement(r.a,{from:"/admin",to:"/admin-settings"}),e.createElement(r.a,{to:"/connected-services"})):null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsAdmin}));var r=n(2),i=n(3),a=n(18),o=n(59),c=n(9),l=n(183),s=n(16),u=n(220),d=n(641),g=n(991),f=n(995),m=n(996),p=n(317),h=n(44),b=n(997),v=n(131);function SettingsAdmin(){var t=Object(v.a)("audienceSegmentation"),n=Object(i.useSelect)((function(e){return e(a.a).isModuleConnected("analytics-4")})),E=Object(i.useSelect)((function(e){return e(o.b).isGatheringData()})),_=Object(i.useSelect)((function(e){return!!n&&e(c.p).isGatheringData()})),O=n&&!1===E&&!1===_;return Object(i.useSelect)((function(e){return!e(a.a).hasFinishedResolution("isModuleConnected",["analytics-4"])||!1!==n&&(!e(o.b).hasFinishedResolution("isGatheringData")||!e(c.p).hasFinishedResolution("isGatheringData"))}))?e.createElement(s.k,null,e.createElement(s.a,{size:12},e.createElement(h.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"})),e.createElement(s.a,{size:12},e.createElement(h.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"})),e.createElement(s.a,{size:12},e.createElement(h.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"})),e.createElement(s.a,{size:12},e.createElement(h.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"200px"}))):e.createElement(s.k,null,e.createElement(s.a,{size:12},e.createElement(g.a,null)),O&&e.createElement(s.a,{size:12},e.createElement(f.a,null)),t&&n&&e.createElement(s.a,{size:12},e.createElement(b.a,null)),e.createElement(s.a,{size:12},e.createElement(l.a,{title:Object(r.__)("Plugin Status","google-site-kit"),header:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("p",{className:"googlesitekit-settings-module__status"},Object(r.__)("Site Kit is connected","google-site-kit"),e.createElement("span",{className:"googlesitekit-settings-module__status-icon googlesitekit-settings-module__status-icon--connected"},e.createElement(p.a,{width:10,height:8}))))))),e.createElement("footer",{className:"googlesitekit-settings-module__footer"},e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{size:12},e.createElement(d.a,null)))))))),e.createElement(s.a,{size:12},e.createElement(m.a,null)),e.createElement(s.a,{size:12},e.createElement(l.a,{className:"googlesitekit-settings-meta",title:Object(r.__)("Tracking","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(s.e,null,e.createElement(s.k,null,e.createElement(s.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--nomargin"},e.createElement(u.a,null))))))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsCardConsentMode}));var r=n(15),i=n.n(r),a=n(13),o=n.n(a),c=n(244),l=n(0),s=n(2),u=n(3),d=n(14),g=n(7),f=n(16),m=n(102),p=n(992),h=n(994),b=n(183),v=n(138),E=n(8),_=n(19);function SettingsCardConsentMode(){var t=Object(_.a)(),n=Object(u.useSelect)((function(e){return e(d.c).isAdsConnected()})),r=Object(u.useSelect)((function(e){return e(d.c).isConsentModeEnabled()})),a=Object(u.useSelect)((function(e){return e(d.c).getConsentAPIInfo()})),O=Object(u.useSelect)((function(e){var t=e(d.c),n=t.isResolving,r=t.hasFinishedResolution;return!r("getConsentModeSettings")||!r("getConsentAPIInfo")||n("getConsentModeSettings")||n("getConsentAPIInfo")})),y=Object(l.useRef)(),k=Object(c.a)(y,{threshold:.25}),j=Object(l.useState)(!1),S=i()(j,2),w=S[0],x=S[1],N=!!(null==k?void 0:k.intersectionRatio),C=Object(u.useSelect)((function(e){return e(d.c).isUsingProxy()})),A=Object(u.useDispatch)(g.a).triggerSurvey;return Object(l.useEffect)((function(){N&&!w&&(Object(E.J)("".concat(t,"_CoMo"),"view_requirements"),n&&!1===r&&C&&A("view_como_setup_cta",{ttl:E.a}),x(!0))}),[N,w,t,C,A,n,r]),e.createElement(b.a,{title:Object(s.__)("Consent Mode","google-site-kit"),badge:n?e.createElement(m.a,{className:"googlesitekit-badge--primary",label:Object(s.__)("Recommended","google-site-kit")}):null,header:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active googlesitekit-settings-consent-mode",ref:y},e.createElement(f.e,null,e.createElement(f.k,null,e.createElement(f.a,{size:12,className:o()({"googlesitekit-overflow-hidden":O})},e.createElement(p.a,{loading:O}))),!O&&e.createElement(l.Fragment,null,n&&!r&&e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement(v.c,{className:"googlesitekit-settings-consent-mode__recommendation-notice",type:v.a,notice:Object(s.__)("If you have Google Ads campaigns for this site, it’s highly recommended to enable Consent mode - otherwise, you won’t be able to collect any metrics on the effectiveness of your campaigns in regions like the European Economic Area.","google-site-kit")}))),!!a&&r&&e.createElement(f.k,null,e.createElement(f.a,{size:12},e.createElement(h.a,null)))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConsentModeSwitch}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(0),u=n(38),d=n(2),g=n(11),f=n(3),m=n(14),p=n(7),h=n(71),b=n(20),v=n(151),E=n(993),_=n(8),O=n(19),y=n(258);function ConsentModeSwitch(t){var n=t.loading,r=Object(O.a)(),a=Object(s.useState)(null),c=l()(a,2),k=c[0],j=c[1],S=Object(s.useState)(!1),w=l()(S,2),x=w[0],N=w[1],C=Object(f.useSelect)((function(e){return e(m.c).isConsentModeEnabled()})),A=Object(f.useSelect)((function(e){return e(m.c).getDocumentationLinkURL("consent-mode")})),T=Object(f.useSelect)((function(e){return e(m.c).isFetchingSaveConsentModeSettings()})),R=Object(f.useDispatch)(m.c),D=R.setConsentModeEnabled,M=R.saveConsentModeSettings,P=Object(f.useSelect)((function(e){return e(m.c).isUsingProxy()})),I=Object(f.useDispatch)(p.a),L=I.dismissPrompt,F=I.triggerSurvey,B=Object(f.useSelect)((function(e){return e(p.a).isPromptDismissed(y.a)}));function z(){return H.apply(this,arguments)}function H(){return(H=o()(i.a.mark((function e(){var t,n,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(null),t=[M()],P&&t.push(F("enable_como",{ttl:_.a})),e.next=5,Promise.all(t);case 5:if(n=e.sent,r=l()(n,1),!(a=r[0].error)){e.next=11;break}return j(a),e.abrupt("return");case 11:if(B){e.next=14;break}return e.next=14,L(y.a);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return e.createElement(s.Fragment,null,e.createElement("div",null,e.createElement(v.a,{loading:n,width:"180px",height:"21.3px"},e.createElement(g.Switch,{label:Object(d.__)("Enable consent mode","google-site-kit"),checked:C,disabled:n||T,onClick:function(){C?(Object(_.J)("".concat(r,"_CoMo"),"como_disable"),N(!0)):(Object(_.J)("".concat(r,"_CoMo"),"como_enable"),D(!0),z())},hideLabel:!1})),k&&e.createElement(h.a,{message:k.message}),!n&&C&&e.createElement("p",{className:"googlesitekit-settings-consent-mode-switch__enabled-notice"},Object(d.__)("Site Kit added the necessary code to your tag to comply with Consent Mode.","google-site-kit")),e.createElement(v.a,{className:"googlesitekit-settings-consent-mode-switch-description--loading",loading:n,width:"750px",height:"42px",smallWidth:"386px",smallHeight:"84px",tabletWidth:"540px",tabletHeight:"84px"},e.createElement("p",null,Object(u.a)(Object(d.__)("Consent mode will help adjust tracking on your site, so only visitors who have explicitly given consent are tracked. <br />This is required in some parts of the world, like the European Economic Area. <a>Learn more</a>","google-site-kit"),{br:e.createElement("br",null),a:e.createElement(b.a,{href:A,external:!0,"aria-label":Object(d.__)("Learn more about consent mode","google-site-kit"),onClick:o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(r,"_CoMo"),"como_learn_more");case 2:case"end":return e.stop()}}),e)})))})})))),x&&e.createElement(E.a,{onConfirm:function(){Object(_.J)("".concat(r,"_CoMo"),"confirm_disconnect"),D(!1),N(!1),z()},onCancel:function(){Object(_.J)("".concat(r,"_CoMo"),"cancel_disconnect"),N(!1)}}))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return ConfirmDisableConsentModeDialog}));var r=n(27),i=n.n(r),a=n(1),o=n.n(a),c=n(92),l=n(2),s=n(3),u=n(18),d=n(14),g=n(8),f=n(113),m=n(19);function ConfirmDisableConsentModeDialog(t){var n=t.onConfirm,r=t.onCancel,a=Object(m.a)(),o=Object(s.useSelect)((function(e){return e(d.c).isAdsConnected()})),p=Object(s.useSelect)((function(e){return["analytics-4","ads"].reduce((function(t,n){return e(u.a).isModuleConnected(n)?[].concat(i()(t),[e(u.a).getModule(n).name]):t}),[])})),h=p.length>0?Object(l.sprintf)( /* translators: %s: list of dependent modules */ Object(l.__)("these active modules depend on consent mode and will be affected: %s","google-site-kit"),Object(g.z)(p)):null;Object(c.a)((function(){Object(g.J)("".concat(a,"_CoMo"),"view_modal")}));var b=[Object(l.__)("Track how visitors interact with your site","google-site-kit")],v=Object(l.__)("Disabling consent mode may affect your ability in the European Economic Area, the UK and Switzerland to:","google-site-kit");return o&&(b=[Object(l.__)("Performance of your Ad campaigns","google-site-kit"),Object(l.__)("How visitors interact with your site via Analytics","google-site-kit")],v=Object(l.__)("Disabling consent mode may affect your ability to track these in the European Economic Area, the UK and Switzerland:","google-site-kit")),e.createElement(f.a,{dialogActive:!0,title:Object(l.__)("Disable consent mode?","google-site-kit"),subtitle:v,handleConfirm:n,handleDialog:r,provides:b,dependentModules:h,confirmButton:Object(l.__)("Disable","google-site-kit"),danger:!0})}ConfirmDisableConsentModeDialog.propTypes={onConfirm:o.a.func.isRequired,onCancel:o.a.func.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return WPConsentAPIRequirements}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(38),s=n(2),u=n(312),d=n(3),g=n(16),f=n(14),m=n(339),p=n(20),h=n(71),b=n(138),v=n(776),E=n(527),_=n(8),O=n(19);function WPConsentAPIRequirements(){var t,n=Object(O.a)(),r=Object(d.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("wp-consent-api")})),a=Object(d.useSelect)((function(e){return e(f.c).getDocumentationLinkURL("consent-management-platform")})),y=Object(d.useSelect)((function(e){return e(f.c).getConsentAPIInfo()})),k=y.hasConsentAPI,j=y.wpConsentPlugin,S=Object(d.useDispatch)(f.c),w=S.installActivateWPConsentAPI,x=S.activateConsentAPI,N=Object(d.useSelect)((function(e){return e(f.c).getErrorForAction("installActivateWPConsentAPI")})),C=Object(d.useSelect)((function(e){return e(f.c).isApiFetching()})),A=Object(d.useSelect)((function(e){return e(f.c).isFetchingActivateConsentAPI()})),T=Object(d.useSelect)((function(e){return e(f.c).getApiInstallResponse()})),R=(N?N.message:null)||(null==T?void 0:T.error),D={smSize:4,mdSize:4,lgSize:6};return Object(c.useEffect)((function(){k&&Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_active")}),[k,n]),e.createElement(c.Fragment,null,e.createElement("p",{className:"googlesitekit-settings-consent-mode-requirements__description"},Object(s.__)("In order for consent mode to work properly, these requirements must be met:","google-site-kit")),e.createElement(g.e,{className:"googlesitekit-settings-consent-mode-requirements__grid"},e.createElement(g.k,null,e.createElement(g.a,D,e.createElement(v.a,{title:(null==j?void 0:j.installed)?Object(s.__)("Activate WP Consent API","google-site-kit"):Object(s.__)("Install WP Consent API","google-site-kit"),description:Object(l.a)(Object(s.__)("WP Consent API is a plugin that standardizes the communication of accepted consent categories between plugins. <a>Learn more</a>","google-site-kit"),{a:e.createElement(p.a,{href:r,external:!0,"aria-label":Object(s.__)("Learn more about the WP Consent API","google-site-kit"),onClick:o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_learn_more");case 2:case"end":return e.stop()}}),e)})))})}),footer:e.createElement(c.Fragment,null,k&&e.createElement("div",{className:"googlesitekit-settings-consent-mode-requirement__consent-api-detected-wrapper"},e.createElement("span",{className:"googlesitekit-settings-consent-mode-requirement__consent-api-detected-icon"},e.createElement(E.a,null)),Object(s.__)("Site Kit detected WP Consent API for your site","google-site-kit")),!k&&e.createElement(c.Fragment,null,j.installed&&e.createElement(c.Fragment,null,!!(null==T?void 0:T.error)&&e.createElement(h.a,{message:null==T||null===(t=T.error)||void 0===t?void 0:t.message}),e.createElement(u.b,{className:"googlesitekit-settings-consent-mode-requirement__install-button",isSaving:A,disabled:A,onClick:o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(),e.next=3,Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_activate");case 3:case"end":return e.stop()}}),e)})))},(null==T?void 0:T.error)?Object(s.__)("Retry","google-site-kit"):Object(s.__)("Activate","google-site-kit"))),!j.installed&&e.createElement(c.Fragment,null,R&&e.createElement(h.a,{message:R}),e.createElement(u.b,{className:"googlesitekit-settings-consent-mode-requirement__install-button",isSaving:C,disabled:C,onClick:o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(),e.next=3,Object(_.J)("".concat(n,"_CoMo"),"wp_consent_api_install");case 3:case"end":return e.stop()}}),e)})))},R?Object(s.__)("Retry","google-site-kit"):Object(s.__)("Install","google-site-kit")))))})),e.createElement(g.a,D,e.createElement(v.a,{title:Object(s.__)("Install consent management plugin","google-site-kit"),description:Object(l.a)(Object(s.__)("You’ll need a plugin compatible with the WP Consent API to display a notice to site visitors and get their consent for tracking. WordPress offers a variety of consent plugins you can choose from. <a>See suggested plugins</a>","google-site-kit"),{a:e.createElement(p.a,{href:a,external:!0,"aria-label":Object(s.__)("Suggested consent management plugins","google-site-kit"),onClick:o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(n,"_CoMo"),"consent_mgmt_plugin_learn_more");case 2:case"end":return e.stop()}}),e)})))})}),footer:e.createElement(b.c,{className:"googlesitekit-settings-consent-mode-requirement__consent-management-plugin-notice",type:b.a,Icon:m.a,notice:Object(s.__)("Make sure you have installed a plugin compatible with WP Consent API (Site Kit isn't able to verify the compatibility of all WP plugins).","google-site-kit")})})))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsCardKeyMetrics}));var r=n(0),i=n(2),a=n(3),o=n(7),c=n(14),l=n(8),s=n(19),u=n(265),d=n(777),g=n(638),f=n(183),m=n(16),p=n(20),h=n(151),b=n(209),v=n(44);function SettingsCardKeyMetrics(){var t=Object(s.a)(),n=Object(u.a)(),E=Object(a.useSelect)((function(e){return e(o.a).isUserInputCompleted()})),_=Object(a.useSelect)((function(e){return e(c.c).getAdminURL("googlesitekit-user-input")})),O=Object(a.useSelect)((function(e){return e(o.a).getUserInputSettings(),e(o.a).isResolving("getUserInputSettings",[])})),y=Object(a.useSelect)((function(e){return e(o.a).getUserPickedMetrics()})),k=Object(a.useSelect)((function(e){return!e(o.a).hasFinishedResolution("isUserInputCompleted")})),j="".concat(t,"_kmw");Object(r.useEffect)((function(){E&&Object(l.J)(j,"summary_view")}),[E,j]);var S=(null==y?void 0:y.length)?Object(i.__)("Set your site goals","google-site-kit"):Object(i.__)("Personalize your metrics","google-site-kit");return e.createElement(f.a,{title:Object(i.__)("Key Metrics","google-site-kit"),header:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active googlesitekit-settings-user-input"},k&&e.createElement(v.a,{width:"100%",smallHeight:"100px",tabletHeight:"100px",desktopHeight:"117px"}),E&&e.createElement(r.Fragment,null,e.createElement(d.a,{loading:O}),e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{size:12},e.createElement(g.a,{settingsView:!0,loading:O}))))),!1===E&&e.createElement(r.Fragment,null,e.createElement(d.a,null),e.createElement(m.e,null,e.createElement(m.k,null,e.createElement(m.a,{className:"googlesitekit-user-input__notification googlesitekit-overflow-hidden",size:12},e.createElement(h.a,{loading:O,className:"googlesitekit-user-input__notification-text-loading",width:"500px",height:"20.5px",smallWidth:"500px",smallHeight:"41px"},e.createElement("p",null,e.createElement("span",null,Object(i.__)("Answer 3 quick questions to help us show the most relevant data for your site","google-site-kit")))),e.createElement(h.a,{loading:O,width:"200px",height:"20.5px"},e.createElement(p.a,{href:_},S))),n&&e.createElement(b.a,{triggerID:"view_kmw_setup_cta",ttl:l.g}))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsPlugin}));var r=n(2),i=n(0),a=n(3),o=n(11),c=n(14),l=n(16),s=n(183),u=n(8),d=n(19);function SettingsPlugin(){var t=Object(a.useSelect)((function(e){return e(c.c).getShowAdminBar()})),n=Object(a.useDispatch)(c.c).setShowAdminBar,g=Object(d.a)(),f=Object(i.useCallback)((function(e){var t=e.target,r=t.checked?"enable_admin_bar_menu":"disable_admin_bar_menu";n(!!t.checked),Object(u.J)(g,r)}),[n,g]);return e.createElement(s.a,{className:"googlesitekit-settings-meta",title:Object(r.__)("Plugin Settings","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(l.e,null,e.createElement(l.k,null,e.createElement(l.a,{size:12},e.createElement("div",{className:"googlesitekit-settings-module__meta-items"},e.createElement("div",{className:"googlesitekit-settings-module__meta-item googlesitekit-settings-module__meta-item--nomargin"},e.createElement(o.Checkbox,{id:"admin-bar-toggle",name:"admin-bar-toggle",value:"1",checked:t,onChange:f,disabled:void 0===t,loading:void 0===t},e.createElement("span",null,Object(r.__)("Display relevant page stats in the Admin bar","google-site-kit"))))))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsCardVisitorGroups}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(0),l=n(2),s=n(3),u=n(7),d=n(11),g=n(16),f=n(183),m=n(998),p=n(381);function SettingsCardVisitorGroups(){var t=Object(s.useSelect)((function(e){return e(u.a).isAudienceSegmentationWidgetHidden()})),n=Object(s.useSelect)((function(e){return e(u.a).getConfiguredAudiences()})),r=Object(s.useDispatch)(u.a),a=r.setAudienceSegmentationWidgetHidden,h=r.saveAudienceSettings,b=Object(c.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a(!t);case 2:return e.next=4,h();case 4:case"end":return e.stop()}}),e)}))),[t,h,a]);return void 0===n?null:e.createElement(f.a,{className:"googlesitekit-settings-meta",title:Object(l.__)("Visitor groups","google-site-kit"),header:!0,fill:!0,rounded:!0},e.createElement("div",{className:"googlesitekit-settings-module googlesitekit-settings-module--active"},e.createElement(g.e,null,e.createElement(g.k,null,e.createElement(g.a,{size:12},!(null==n?void 0:n.length)&&e.createElement(m.a,null),!!(null==n?void 0:n.length)&&e.createElement(c.Fragment,null,e.createElement(p.b,null),e.createElement(d.Switch,{label:Object(l.__)("Display visitor groups in dashboard","google-site-kit"),checked:!t,onClick:b,hideLabel:!1})))))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return SetupCTA}));var i=n(2),a=n(415),o=n(261),c=n(7),l=n(3),s=n(382),u=n(11),d=n(20);function SetupCTA(){var t=Object(l.useDispatch)(c.a).dismissItem,n=Object(s.a)({redirectURL:e.location.href,onSuccess:function(){t(o.a)}}),g=n.isSaving,f=n.onEnableGroups,m=Object(l.useSelect)((function(e){return e(c.a).isPromptDismissed(a.a)}));return void 0===m||m?null:r.createElement("div",{className:"googlesitekit-settings-visitor-groups__setup"},r.createElement("p",null,Object(i.__)("To set up new visitor groups for your site, Site Kit needs to update your Google Analytics property.","google-site-kit")),g&&r.createElement("div",{className:"googlesitekit-settings-visitor-groups__setup-progress"},r.createElement("p",null,Object(i.__)("Enabling groups","google-site-kit")),r.createElement(u.ProgressBar,{compress:!0})),!g&&r.createElement(d.a,{onClick:f},Object(i.__)("Enable groups","google-site-kit")))}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsActiveModule}));var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(166),l=n(3),s=n(18),u=n(23),d=n(16),g=n(1e3),f=n(1002),m=n(1003),p=n(1004),h=n(1007);function SettingsActiveModule(t){var n=t.slug,r=Object(c.i)(),i=r.action,a=r.moduleSlug,b="edit"===i,v=a===n,E=a!==n&&b,_="module-".concat(n,"-error"),O=Object(l.useSelect)((function(e){return e(s.a).getErrorForAction("deactivateModule",[n])})),y=Object(l.useSelect)((function(e){return e(u.b).getValue(_)}));return e.createElement("div",{className:o()("googlesitekit-settings-module","googlesitekit-settings-module--active","googlesitekit-settings-module--".concat(n),{"googlesitekit-settings-module--error":(y||O)&&b})},E&&e.createElement(g.a,{compress:!v}),e.createElement(m.a,{slug:n}),v&&e.createElement("div",{id:"googlesitekit-settings-module__content--".concat(n),className:"googlesitekit-settings-module__content googlesitekit-settings-module__content--open",role:"tabpanel","aria-labelledby":"googlesitekit-settings-module__header--".concat(n)},e.createElement(d.e,null,e.createElement(d.k,null,e.createElement(d.a,{size:12},e.createElement(f.a,{slug:n})))),e.createElement(p.a,{slug:n})),e.createElement(h.a,{slug:n}))}SettingsActiveModule.propTypes={slug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(2),l=n(1001);function SettingsOverlay(t){var n=t.compress;return e.createElement("div",{className:o()("googlesitekit-overlay",{"googlesitekit-overlay--compress":n})},e.createElement("div",{className:"googlesitekit-overlay__wrapper"},e.createElement("div",{className:"googlesitekit-overlay__icon"},e.createElement(l.a,{width:"22",height:"30"})),e.createElement("h3",{className:" googlesitekit-heading-2 googlesitekit-overlay__title "},Object(c.__)("Section locked while editing","google-site-kit"))))}SettingsOverlay.propTypes={compress:i.a.bool},SettingsOverlay.defaultProps={compress:!1},t.a=SettingsOverlay}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M20 10h-1.429V7.143C18.571 3.2 15.371 0 11.43 0a7.145 7.145 0 00-7.143 7.143V10H2.857A2.866 2.866 0 000 12.857v14.286A2.866 2.866 0 002.857 30H20a2.866 2.866 0 002.857-2.857V12.857A2.866 2.866 0 0020 10zm-8.571 12.857A2.866 2.866 0 018.57 20a2.866 2.866 0 012.858-2.857A2.866 2.866 0 0114.286 20a2.866 2.866 0 01-2.857 2.857zM15.857 10H7V7.143a4.432 4.432 0 014.429-4.429 4.432 4.432 0 014.428 4.429V10z",fill:"currentColor"});t.a=function SvgLock(e){return r.createElement("svg",i({viewBox:"0 0 23 30",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsRenderer}));var r=n(6),i=n.n(r),a=n(15),o=n.n(a),c=n(0),l=n(166),s=n(3),u=n(18);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(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){i()(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 SettingsRenderer(t){var n=t.slug,r=Object(l.i)(),i=r.action,a=r.moduleSlug,d="edit"===i,f=a===n,m=Object(c.useState)(),p=o()(m,2),h=p[0],b=p[1],v=Object(s.useSelect)((function(e){return e(u.a).isDoingSubmitChanges(n)})),E=Object(s.useSelect)((function(e){var t=e(u.a).getModule(n);return g(g({},t),{},{moduleLoaded:!!t})})),_=E.SettingsEditComponent,O=E.SettingsViewComponent,y=E.SettingsSetupIncompleteComponent,k=E.moduleLoaded,j=E.connected;Object(c.useEffect)((function(){k&&void 0===h&&b(j)}),[k,h,j]);var S=Object(s.useDispatch)(u.a).rollbackChanges;return Object(c.useEffect)((function(){v||d||S(n)}),[n,S,v,d]),f&&k?f&&!1===h?e.createElement(y,{slug:n}):d&&_?e.createElement(_,null):O?e.createElement(O,null):null:null}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Header}));var r=n(1),i=n.n(r),a=n(13),o=n.n(a),c=n(166),l=n(0),s=n(57),u=n(2),d=n(3),g=n(11),f=n(18),m=n(128),p=n(739),h=n(16),b=n(119),v=n(169),E=n(102),_=n(330),O=n(8),y=n(19),k=n(317),j=n(326),S=n(636),w=n(80);function Header(t){var n=t.slug,r=Object(y.a)(),i=Object(c.g)(),a=Object(l.useRef)(),x=Object(c.i)().moduleSlug===n,N=Object(d.useSelect)((function(e){return e(f.a).getModuleStoreName(n)})),C=Object(d.useSelect)((function(e){var t,n;return null===(t=e(N))||void 0===t||null===(n=t.getAdminReauthURL)||void 0===n?void 0:n.call(t)})),A=Object(d.useSelect)((function(e){return e(f.a).getModule(n)})),T=Object(d.useSelect)((function(e){var t;return null===(t=e(f.a))||void 0===t?void 0:t.getCheckRequirementsError(n)})),R=Object(l.useCallback)((function(){x||(i.push("/connected-services/".concat(n)),Object(O.J)("".concat(r,"_module-list"),"view_module_settings",n))}),[i,n,r,x]),D=Object(l.useCallback)((function(){x&&(i.push("/connected-services"),Object(O.J)("".concat(r,"_module-list"),"close_module_settings",n))}),[i,n,r,x]),M=Object(l.useCallback)((function(e){return e.stopPropagation()}),[]);Object(b.a)([s.b],a,x?D:R),Object(b.a)([s.c],a,D);var P=A.name,I=A.connected;if(!A)return null;var L=null;return L=I?e.createElement("p",null,Object(u.__)("Connected","google-site-kit")):e.createElement(g.Button,{href:C,onClick:M,disabled:!!T,inverse:!0},Object(u.sprintf)( /* translators: %s: module name. */ Object(u.__)("Complete setup for %s","google-site-kit"),P)),e.createElement("div",{className:o()("googlesitekit-settings-module__header",{"googlesitekit-settings-module__header--open":x}),id:"googlesitekit-settings-module__header--".concat(n),type:"button",role:"tab","aria-selected":x,"aria-expanded":x,"aria-controls":"googlesitekit-settings-module__content--".concat(n),to:"/connected-services".concat(x?"":"/".concat(n)),onClick:x?D:R,ref:a,tabIndex:"0"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{lgSize:6,mdSize:4,smSize:4,className:"googlesitekit-settings-module__heading"},e.createElement(v.a,{slug:n,size:40,className:"googlesitekit-settings-module__heading-icon"}),e.createElement("h3",{className:"googlesitekit-heading-4 googlesitekit-settings-module__title"},P),e.createElement("div",{className:"googlesitekit-settings-module__heading-badges"},m.b.includes(n)&&e.createElement(E.a,{label:Object(u.__)("Experimental","google-site-kit"),hasLeftSpacing:!0}),p.a.includes(n)&&e.createElement(_.a,{hasLeftSpacing:!0}))),e.createElement(h.a,{lgSize:6,mdSize:4,smSize:4,alignMiddle:!0,mdAlignRight:!0},e.createElement("div",{className:o()("googlesitekit-settings-module__status",{"googlesitekit-settings-module__status--connected":I,"googlesitekit-settings-module__status--not-connected":!I})},L,e.createElement("span",{className:o()("googlesitekit-settings-module__status-icon",{"googlesitekit-settings-module__status-icon--connected":I,"googlesitekit-settings-module__status-icon--not-connected":!I})},I?e.createElement(k.a,{width:10,height:8}):e.createElement(j.a,{width:19,height:17})))))),e.createElement(w.a,null,e.createElement(S.a,{width:12,height:8,className:"icon-chevron-down"})))}Header.propTypes={slug:i.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Footer}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(1),l=n.n(c),s=n(166),u=n(12),d=n(2),g=n(0),f=n(11),m=n(3),p=n(18),h=n(16),b=n(1005),v=n(1006),E=n(20),_=n(8),O=n(39),y=n(23),k=n(7),j=n(19);function Footer(t){var n=t.slug,r=Object(j.a)(),a=Object(s.g)(),c=Object(s.i)(),l=c.action,S=c.moduleSlug,w="edit"===l&&S===n,x="module-".concat(n,"-error"),N="module-".concat(n,"-dialogActive"),C="module-".concat(n,"-isSaving"),A=Object(m.useSelect)((function(e){return e(p.a).canSubmitChanges(n)})),T=Object(m.useSelect)((function(e){return e(p.a).haveSettingsChanged(n)})),R=Object(m.useSelect)((function(e){return e(p.a).getModule(n)})),D=Object(m.useSelect)((function(e){return e(p.a).isModuleConnected(n)})),M=Object(m.useSelect)((function(e){return e(y.b).getValue(N)})),P=Object(m.useSelect)((function(e){return e(y.b).getValue(C)})),I=Object(m.useSelect)((function(e){if(R&&!Object(u.isEmpty)(R.homepage))return e(k.a).getAccountChooserURL(R.homepage)})),L=Object(m.useDispatch)(p.a).submitChanges,F=(Object(m.useDispatch)(null==R?void 0:R.storeName)||{}).clearErrors,B=Object(m.useDispatch)(y.b).setValue,z=!!(null==R?void 0:R.SettingsEditComponent),H=Object(g.useCallback)(o()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(_.J)("".concat(r,"_module-list"),"cancel_module_settings",n);case 2:return e.next=4,null==F?void 0:F();case 4:a.push("/connected-services/".concat(n));case 5:case"end":return e.stop()}}),e)}))),[F,a,r,n]),W=Object(g.useCallback)(function(){var e=o()(i.a.mark((function e(t){var o,c;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),B(C,!0),e.next=4,L(n);case 4:if(o=e.sent,c=o.error,B(C,!1),!c){e.next=11;break}B(x,c),e.next=18;break;case 11:return e.next=13,Object(_.J)("".concat(r,"_module-list"),"update_module_settings",n);case 13:return e.next=15,null==F?void 0:F();case 15:return a.push("/connected-services/".concat(n)),e.next=18,Object(O.b)();case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[B,C,L,n,x,F,a,r]),U=Object(g.useCallback)((function(){B(N,!M)}),[M,N,B]),V=Object(g.useCallback)((function(){Object(_.J)("".concat(r,"_module-list"),"edit_module_settings",n)}),[n,r]),G=Object(m.useSelect)((function(e){var t={"analytics-4":"getAccountSummaries",tagmanager:"getAccounts","search-console":"getMatchedProperties"}[n];return!(!R||!t)&&!e(R.storeName).hasFinishedResolution(t)})),q=Object(d.__)("Save","google-site-kit");if(T&&(q=Object(d.__)("Confirm changes","google-site-kit")),P&&(q=Object(d.__)("Saving…","google-site-kit")),!R)return null;var K=R.name,Y=R.forceActive,J=null,X=null;return w||P?J=e.createElement(g.Fragment,null,z&&D?e.createElement(f.SpinnerButton,{disabled:P||G||!A&&T,onClick:W,isSaving:P},q):e.createElement(f.Button,{onClick:H},Object(d.__)("Close","google-site-kit")),z&&e.createElement(f.Button,{tertiary:!0,className:"googlesitekit-settings-module__footer-cancel",onClick:H},Object(d.__)("Cancel","google-site-kit"))):!z&&Y||(J=e.createElement(E.a,{className:"googlesitekit-settings-module__edit-button",to:"/connected-services/".concat(n,"/edit"),onClick:V,"aria-label":Object(d.sprintf)( /* translators: %s: module name */ Object(d.__)("Edit %s settings","google-site-kit"),K),trailingIcon:e.createElement(b.a,{className:"googlesitekit-settings-module__edit-button-icon",width:10,height:10})},Object(d.__)("Edit","google-site-kit"))),w&&!Y?X=e.createElement(E.a,{className:"googlesitekit-settings-module__remove-button",onClick:U,danger:!0,trailingIcon:e.createElement(v.a,{className:"googlesitekit-settings-module__remove-button-icon",width:13,height:13})},Object(d.sprintf)( /* translators: %s: module name */ Object(d.__)("Disconnect %s from Site Kit","google-site-kit"),K)):!w&&I&&(X=e.createElement(E.a,{href:I,className:"googlesitekit-settings-module__cta-button",external:!0},Object(d.sprintf)( /* translators: %s: module name */ Object(d.__)("See full details in %s","google-site-kit"),K))),e.createElement("footer",{className:"googlesitekit-settings-module__footer"},e.createElement(h.e,null,e.createElement(h.k,null,e.createElement(h.a,{lgSize:6,mdSize:8,smSize:4},J),e.createElement(h.a,{lgSize:6,mdSize:8,smSize:4,alignMiddle:!0,lgAlignRight:!0},X))))}Footer.propTypes={slug:l.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M0 7.917V10h2.083l6.144-6.144-2.083-2.083L0 7.917zm9.838-5.671a.553.553 0 000-.784l-1.3-1.3a.553.553 0 00-.784 0L6.738 1.18 8.82 3.262l1.017-1.016z",fill:"currentColor"});t.a=function SvgPencil(e){return r.createElement("svg",i({viewBox:"0 0 10 10",fill:"none"},e),a)}},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{d:"M.722 11.556c0 .794.65 1.444 1.445 1.444h5.777c.795 0 1.445-.65 1.445-1.444V2.889H.722v8.667zM10.112.722H7.582L6.861 0H3.25l-.722.722H0v1.445h10.111V.722z",fill:"currentColor"});t.a=function SvgTrash(e){return r.createElement("svg",i({viewBox:"0 0 11 13",fill:"none"},e),a)}},function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return ConfirmDisconnect}));var i=n(5),a=n.n(i),o=n(17),c=n.n(o),l=n(15),s=n.n(l),u=n(1),d=n.n(u),g=n(2),f=n(0),m=n(57),p=n(3),h=n(113),b=n(32),v=n(18),E=n(14),_=n(23),O=n(39),y=n(8),k=n(19);function ConfirmDisconnect(t){var n=t.slug,i=Object(k.a)(),o=Object(f.useState)(!1),l=s()(o,2),u=l[0],d=l[1],j=Object(p.useDispatch)(_.b).setValue,S="module-".concat(n,"-dialogActive"),w=Object(p.useSelect)((function(e){return e(v.a).getModuleDependantNames(n)})),x=Object(p.useSelect)((function(e){return e(v.a).getModuleFeatures(n)})),N=Object(p.useSelect)((function(e){return e(v.a).getModule(n)})),C=Object(p.useSelect)((function(e){return e(E.c).getAdminURL("googlesitekit-settings")})),A=Object(p.useSelect)((function(e){return e(_.b).getValue(S)})),T=Object(f.useCallback)((function(){j(S,!A)}),[A,S,j]);Object(f.useEffect)((function(){var t=function(e){m.c===e.keyCode&&A&&T()};return e.addEventListener("keydown",t),function(){e.removeEventListener("keydown",t)}}),[A,T]);var R=Object(p.useDispatch)(v.a).deactivateModule,D=Object(p.useDispatch)(b.a).navigateTo,M=Object(f.useCallback)(c()(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!N.forceActive){e.next=2;break}return e.abrupt("return");case 2:return d(!0),e.next=5,R(n);case 5:if(t=e.sent,t.error){e.next=15;break}return e.next=10,Object(O.b)();case 10:return e.next=12,Object(y.J)("".concat(i,"_module-list"),"deactivate_module",n);case 12:D(C),e.next=16;break;case 15:d(!1);case 16:case"end":return e.stop()}}),e)}))),[n,null==N?void 0:N.forceActive,C,R,D,i]);if(!N||!A)return null;var P=N.name,I=Object(g.sprintf)( /* translators: %s: module name */ Object(g.__)("Disconnect %s from Site Kit?","google-site-kit"),P),L=(null==x?void 0:x.length)>0?Object(g.sprintf)( /* translators: %s: module name */ Object(g.__)("By disconnecting the %s module from Site Kit, you will no longer have access to:","google-site-kit"),P):null,F=null;return w.length>0&&(F=Object(g.sprintf)( /* translators: 1: module name, 2: list of dependent modules */ Object(g.__)("these active modules depend on %1$s and will also be disconnected: %2$s","google-site-kit"),P,Object(y.z)(w))),r.createElement(h.a,{className:"googlesitekit-settings-module__confirm-disconnect-modal",dialogActive:!0,handleDialog:T,title:I,subtitle:L,provides:x,handleConfirm:M,dependentModules:F,inProgress:u,danger:!0})}ConfirmDisconnect.propTypes={slug:d.a.string.isRequired}}).call(this,n(26),n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SettingsInactiveModules}));var r=n(2),i=n(18),a=n(3),o=n(183),c=n(50),l=n(1009),s=n(16),u=n(1010);function SettingsInactiveModules(){var t=Object(a.useSelect)((function(e){return e(i.a).getModules()}));if(!t)return null;var n=Object.keys(t).map((function(e){return t[e]})).filter((function(e){var t=e.internal,n=e.active;return!t&&!n})).sort((function(e,t){return e.order-t.order}));return 0===n.length?e.createElement(c.b,{id:"no-more-modules",title:Object(r.__)("Congrats, you’ve connected all services!","google-site-kit"),description:Object(r.__)("We’re working on adding new services to Site Kit by Google all the time, so please check back in the future","google-site-kit"),format:"small",SmallImageSVG:u.a,type:"win-success",rounded:!0}):e.createElement(o.a,{header:!0,title:Object(r.__)("Connect More Services to Gain More Insights","google-site-kit"),rounded:!0,relative:!0},e.createElement(s.e,null,e.createElement(s.k,null,n.map((function(t){var n=t.slug,r=t.name,i=t.description;return e.createElement(s.a,{key:n,size:4},e.createElement(l.a,{slug:n,name:r,description:i}))})))))}}).call(this,n(4))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return SetupModule}));var r=n(5),i=n.n(r),a=n(17),o=n.n(a),c=n(15),l=n.n(c),s=n(1),u=n.n(s),d=n(13),g=n.n(d),f=n(2),m=n(0),p=n(3),h=n(169),b=n(432),v=n(20),E=n(102),_=n(491),O=n(330),y=n(14),k=n(18),j=n(32),S=n(128),w=n(739),x=n(8),N=n(19);function SetupModule(t){var n=t.slug,r=t.name,a=t.description,c=Object(N.a)(),s=Object(m.useState)(!1),u=l()(s,2),d=u[0],C=u[1],A=Object(p.useDispatch)(k.a).activateModule,T=Object(p.useDispatch)(j.a).navigateTo,R=Object(p.useDispatch)(y.c).setInternalServerError,D=Object(m.useCallback)(o()(i.a.mark((function e(){var t,r,a;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),e.next=3,A(n);case 3:if(t=e.sent,r=t.error,a=t.response,r){e.next=12;break}return e.next=9,Object(x.J)("".concat(c,"_module-list"),"activate_module",n);case 9:T(a.moduleReauthURL),e.next=14;break;case 12:R({id:"activate-module-error",description:r.message}),C(!1);case 14:case"end":return e.stop()}}),e)}))),[A,T,R,n,c]),M=Object(p.useSelect)((function(e){return e(k.a).canActivateModule(n)}));return e.createElement("div",{className:g()("googlesitekit-settings-connect-module","googlesitekit-settings-connect-module--".concat(n)),key:n},e.createElement("div",{className:"googlesitekit-settings-connect-module__switch"},e.createElement(b.a,{isSaving:d})),e.createElement("div",{className:"googlesitekit-settings-connect-module__logo"},e.createElement(h.a,{slug:n})),e.createElement("div",{className:"googlesitekit-settings-connect-module__heading"},e.createElement("h3",{className:" googlesitekit-subheading-1 googlesitekit-settings-connect-module__title "},r),e.createElement("div",{className:"googlesitekit-settings-connect-module__badges"},S.b.includes(n)&&e.createElement(E.a,{label:Object(f.__)("Experimental","google-site-kit")}),w.a.includes(n)&&e.createElement(O.a,{hasNoSpacing:!0}))),e.createElement("p",{className:"googlesitekit-settings-connect-module__text"},a),e.createElement("p",{className:"googlesitekit-settings-connect-module__cta"},e.createElement(v.a,{onClick:D,href:"",disabled:!M,arrow:!0},Object(f.sprintf)( /* translators: %s: module name */ Object(f.__)("Set up %s","google-site-kit"),r))),e.createElement(_.a,{slug:n}))}SetupModule.propTypes={slug:u.a.string.isRequired,name:u.a.string.isRequired,description:u.a.string.isRequired}}).call(this,n(4))},function(e,t,n){"use strict";var r=n(0);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var a=r.createElement("path",{stroke:"#E8EAED",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:6,d:"M382 94.2h-20.91M364.25 33.77l-17.59 11.3M197.01 9.74l13.7 15.8M162.97 62.74l20.06 5.88M162.98 125.72l20.06-5.89M316.7 195.86l-8.69-19.02M364.28 154.59l-17.59-11.3"}),o=r.createElement("ellipse",{cx:154.11,cy:381.74,rx:103.5,ry:8.26,fill:"#F1F3F4"}),c=r.createElement("path",{d:"M166.37 181.8c54.51-10.47 66-55.59 28.92-92.64",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9}),l=r.createElement("path",{d:"M148.8 254.55l16.54 51.35a90 90 0 012 47.76l-6.46 28.08h23M125.3 261.45l8.46 34.92a89.84 89.84 0 01-.27 43.48l-10.68 41.83 20 .17",stroke:"#F29900",strokeLinejoin:"round",strokeWidth:9}),s=r.createElement("path",{stroke:"#EA8600",strokeLinejoin:"round",strokeWidth:9,d:"M148.8 254.55l9.53 29.6M128.39 274.19l4.41 17.52"}),u=r.createElement("path",{fill:"#F9AB00",d:"M165.19 159.52L130.41 58.66 29.56 93.45 64.34 194.3l34.79 100.85 100.85-34.78-34.79-100.85z"}),d=r.createElement("path",{d:"M71.7 138.64c16.69 24.27 52.79 17.16 59.56-16.13M75.78 131.55a17.14 17.14 0 01-3.87 6.45 28 28 0 01-7.23 4.93",stroke:"#FFF",strokeMiterlimit:10,strokeWidth:6}),g=r.createElement("path",{stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:20,d:"M269.28 98.8l-24.66 91.66"}),f=r.createElement("path",{d:"M197.37 113.58a11.4 11.4 0 101.41-22.31 38.5 38.5 0 01-8.49-.63 22.81 22.81 0 1128-16.1M324.07 147.67a11.4 11.4 0 1110-20s4.61 2.89 7.65 3.71a22.8 22.8 0 10-16.09-27.95",stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:6}),m=r.createElement("path",{d:"M253.5 157.45c37.27 10 80.69-30.92 97-91.47l-135-36.32c-16.27 60.55.73 117.76 38 127.79z",fill:"#DADCE0"}),p=r.createElement("path",{d:"M224 109.65c-5.87-19.74-6.24-43.45-1.16-67.66M241.18 139.46a54.17 54.17 0 01-11.61-15.67",stroke:"#F1F3F4",strokeMiterlimit:10,strokeWidth:6}),h=r.createElement("path",{d:"M248 177.83c-13.07-3.52-26 2.23-28.83 12.84l47.33 12.73c2.86-10.61-5.42-22.06-18.5-25.57z",fill:"#DADCE0"}),b=r.createElement("path",{d:"M266 110.86l-17.44 3.92a2.18 2.18 0 01-2.46-3l7.5-16.23-9.12-15.37a2.19 2.19 0 012.14-3.28L264.4 79l11.8-13.42a2.18 2.18 0 013.78 1l3.48 17.53 16.41 7.08a2.18 2.18 0 01.2 3.91l-15.6 8.72-1.66 17.79a2.18 2.18 0 01-3.66 1.4z",stroke:"#BDC1C6",strokeMiterlimit:10,strokeWidth:6}),v=r.createElement("path",{d:"M74.48 209.27c74.32 45.28 152.4-1.07 170.14-18.81M87.61 216.33a129.71 129.71 0 0013.13 5.3",stroke:"#FCC934",strokeLinejoin:"round",strokeWidth:9}),E=r.createElement("path",{d:"M74.48 209.27a136.76 136.76 0 0013.13 7.06",stroke:"#FBBC04",strokeLinejoin:"round",strokeWidth:9});t.a=function SvgAward(e){return r.createElement("svg",i({viewBox:"0 0 400 400",fill:"none"},e),a,o,c,l,s,u,d,g,f,m,p,h,b,v,E)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(146),r=n(319),i=n(133),a=n(227),o=n(988),c=n(25);Object(r.a)((function(){var n=document.getElementById("js-googlesitekit-settings");n&&Object(i.render)(e.createElement(a.a,{viewContext:c.q},e.createElement(t.a,null,e.createElement(o.a,null))),n)}))}.call(this,n(4))}],[[1158,1,0]]]);