(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3988],{28471:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/innstillinger",function(){return n(11694)}])},79322:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var i=n(85893),r=n(76556);let u=(0,n(69105).k)(e=>({centeredLoader:{height:"100vh",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",[e.other.mobile]:{height:"100svh"}}}));function l(e){let{classes:t}=u();return(0,i.jsx)("div",{className:t.centeredLoader,style:{...e.style},children:(0,i.jsx)(r.a,{color:"spindrift.4",size:"xl"})})}},56942:function(e,t,n){"use strict";n.d(t,{W:function(){return d},X:function(){return s}});var i=n(85893),r=n(43078),u=n(67294),l=n(95420);function s(e){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.W,{p:0,m:0,fluid:!0,style:{minHeight:"100vh"},children:(0,i.jsx)(c,{children:e})})})}let o=(0,u.createContext)(void 0);function c(e){let[t,n]=(0,u.useState)({isLoggedIn:!1,timedOut:!1});return(0,u.useEffect)(()=>{let e=setTimeout(()=>n(e=>({...e,timedOut:!0})),4e3);return()=>clearTimeout(e)},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.g,{onLoggedIn:()=>n(e=>({...e,isLoggedIn:!0}))}),(0,i.jsx)(o.Provider,{value:t,children:e.children})]})}function d(e){let t=(0,u.useContext)(o);(0,u.useEffect)(()=>{((null==t?void 0:t.isLoggedIn)||(null==t?void 0:t.timedOut))&&(window.location.href=e)},[null==t?void 0:t.isLoggedIn,null==t?void 0:t.timedOut])}},11694:function(e,t,n){"use strict";n.r(t);var i=n(85893),r=n(56942),u=n(79322),l=n(88836);let s=()=>{let e=(0,l.z8)();return(0,r.W)("".concat(e,"/settings")),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(u.l,{})})};s.getLayout=r.X,t.default=s}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=28471)}),_N_E=e.O()}]);