(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{621:function(e,t,n){"use strict";function r(e){return{root:Object.assign({borderRadius:"4px",fontWeight:"400"},e.customSemanticElevations.control),rootPressed:Object.assign({},e.customSemanticElevations.controlPressed)}}function o(e,t){return{flexContainer:{maxWidth:"180px",minHeight:"30px"},label:{fontWeight:"400",lineHeight:"inherit",margin:"5px 0"},root:Object.assign({height:"auto",minWidth:"120px"},t&&e.customSemanticElevations.controlOnAccent),rootHovered:Object.assign({},t&&e.customSemanticElevations.controlHoverOnAccent),rootPressed:Object.assign({},t&&e.customSemanticElevations.controlPressedOnAccent)}}function c(){return{root:{minWidth:"150px"}}}n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o}),n.d(t,"c",function(){return c})},622:function(e,t,n){"use strict";var r=n(662),o=n(773),c=n(10),a=n(44);function i(e,t,n,r){return{root:{color:t,marginBottom:n,textAlign:r||"center"}}}n.d(t,"a",function(){return s});var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const s=e=>{var{children:t,color:n,marginBottom:s,textAlign:f,styles:u}=e,O=l(e,["children","color","marginBottom","textAlign","styles"]);Object(r.a)();return a.default.createElement(o.a,Object.assign({},O,{styles:Object(c.i)(i(0,n,s,f),u)}),t)}},623:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(662),o=n(728),c=n(10),a=n(694),i=n(44),l=n(621),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const f=e=>{var{primary:t=!1,styles:n}=e,f=s(e,["primary","styles"]);const u=Object(r.a)();return t?i.default.createElement(o.a,Object.assign({},f,{styles:Object(c.i)(Object(l.a)(u),Object(l.b)(u,t),n)})):i.default.createElement(a.a,Object.assign({},f,{styles:Object(c.i)(Object(l.a)(u),Object(l.b)(u,t),n)}))}},625:function(e,t,n){"use strict";var r=n(44);function o(e){return{display:"grid",gap:e.childrenGap,gridTemplateColumns:`repeat(${e.columns}, 1fr)`}}n.d(t,"a",function(){return c});const c=({tokens:e,children:t})=>r.default.createElement("div",{style:o(e)},t)},776:function(e,t,n){"use strict";n.r(t);var r=n(662),o=n(656),c=n(764),a=n(664),i=n(44),l=n(66),s=n(50),f=n(22),u=n(623),O=n(621),b=n(625),d=n(622);var g=n(627),m=n(626);t.default=(e=>{const t=Object(m.b)(),n=async()=>{try{const[e,t]=await Promise.all([Object(l.e)(),Object(s.d)()]);Object(g.c)("cta-offline",e,t)}catch(e){console.error("An error occurred while handling the window shown:",e)}},j=()=>{Object(g.b)("cta-offline")};Object(i.useEffect)(()=>(Object(g.a)("cta-offline"),Object(s.b)(n,j),Object(s.c)().then(e=>{e&&n()},e=>{}),()=>{Object(s.h)(n,j)}),[]);const p=Object(r.a)(),h={imageFit:o.b.contain,src:p.customImages.globalOfflineImage},y=Object(f.a)().CTAOfflinePage_OfflineErrorMessage+" "+Object(f.a)().CTAOfflinePage_OfflineErrorSubtext;return i.default.createElement("div",{onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,t)},style:{height:"100%"}},i.default.createElement(c.a,{id:"cta-offline-page","aria-label":y,horizontalAlign:"center",verticalAlign:"center",styles:{root:{height:"100%",width:"100%"}}},i.default.createElement(a.a,Object.assign({},h,{id:"offline-logo",alt:"",styles:{root:{height:"287px",width:"345px"}}})),i.default.createElement(d.a,{variant:"xxLarge",marginBottom:"12px",role:"heading","aria-level":"1"},Object(f.a)().CTAOfflinePage_OfflineErrorMessage),i.default.createElement(d.a,{variant:"medium",marginBottom:"28px"},Object(f.a)().CTAOfflinePage_OfflineErrorSubtext),i.default.createElement(b.a,{tokens:{childrenGap:15,columns:2}},i.default.createElement(u.a,{id:"cancel-button",onClick:()=>t.setIsMeteredConnectionUsageAllowedSetting(!1),styles:Object(O.c)()},Object(f.a)().CTAOfflinePage_CancelButtonText),i.default.createElement(u.a,{id:"turnon-button",primary:!0,styles:Object(O.c)(),onClick:()=>t.setIsMeteredConnectionUsageAllowedSetting(!0)},Object(f.a)().CTAOfflinePage_TurnOnButtonText))))})}}]);