1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5090],{93703:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sign-out",function(){return i(26750)}])},26750:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return d}});var n=i(85893),s=i(11163),l=i(67294),c=i(2116),o=i(6381);let r=e=>{let{children:t,className:i,...s}=e;return(0,n.jsx)("button",{className:"text-white font-semibold underline text-lg ".concat(i),...s,children:t})};var a=i(12701);let u=e=>{let{}=e;(0,a.X)("Sign out",!0);let[t,i]=(0,o.uM)(e=>[!!e.accessToken,e.setTokens]),{replace:u}=(0,s.useRouter)(),{user:d,setUser:f}=(0,l.useContext)(c.S);return f(null),(0,l.useEffect)(()=>{t||d||setTimeout(()=>u("/"),100)},[t,u,d]),(0,l.useEffect)(()=>{t&&i({accessToken:"",sessId:""})},[]),(0,n.jsxs)("div",{className:"flex h-screen w-full flex-col items-center justify-center text-center",children:[(0,n.jsx)("div",{className:"justify-self-center",children:(0,n.jsx)("h1",{className:"text-white text-2xl",children:"Logging you out..."})}),(0,n.jsx)(r,{onClick:()=>i({accessToken:"",sessId:""}),children:"Click here if you are not automatically redirected"})]})};u.disableShell=!0;var d=u},12701:function(e,t,i){"use strict";i.d(t,{X:function(){return u}});var n=i(67294),s=i(14671),l=i(38597),c=i(87585),o=i(6381);let r=(0,s.Z)((0,l.$e)({lastActivity:null},e=>({setLastActivity:t=>e({lastActivity:t})}))),a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={activity:e},{accessToken:n,sessId:s}=o.uM.getState();if(t){var l;if("undefined"==typeof getDeviceResult)throw Error("please disable your adblocker");let{result:e}=await getDeviceResult();if(!e||!e.session_id||!(null===(l=e.device_intelligence)||void 0===l?void 0:l.shield_id))throw Error("Failed to retrieve session data (1)");i={...i,shieldId:e.device_intelligence.shield_id,platform:e.platform}}await fetch("".concat(c.ny,"/user/activity"),{method:"POST",headers:{"Content-Type":"application/json","access-token":n,"sess-id":s},body:JSON.stringify(i)})},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{lastActivity:i,setLastActivity:s}=r();return(0,n.useEffect)(()=>{let n=async e=>{try{await a(e,t)}catch(e){console.error("Failed to log",e)}};e&&e!==i&&(s(e),n(e))},[e,i,s]),{lastActivity:i}}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=93703)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.