1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="6ce7fcf7-1986-4c44-8564-fb0fbf910b5b",e._sentryDebugIdIdentifier="sentry-dbid-6ce7fcf7-1986-4c44-8564-fb0fbf910b5b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7734],{77243:(e,o,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/finish",function(){return n(70598)}])},70598:(e,o,n)=>{"use strict";n.r(o),n.d(o,{default:()=>b});var l=n(85893),t=n(31955),i=n(67294),u=n(15623),a=n(15810);let s=e=>{if("string"!=typeof e||!e)return console.error("parseQuery: ".concat(e," is not a string")),null;let o=e.substring(1);return JSON.parse('{"'.concat(o.replace(/&/g,'","').replace(/=/g,'":"'),'"}'),(e,o)=>""===e?o:decodeURIComponent(o))};var d=n(57792),r=n(3685);let c=e=>{t.Z.set(null==e?void 0:e.accountAuthCookieName,null==e?void 0:e.accountAuthCookieValue,{expires:1,domain:".sorteonline.com.br"}),t.Z.set(null==e?void 0:e.authCookieName,null==e?void 0:e.authCookieValue,{expires:1,domain:".sorteonline.com.br"}),t.Z.set("clientToken",null==e?void 0:e.authenticationToken,{expires:1,domain:".sorteonline.com.br"}),t.Z.set("authStatus",null==e?void 0:e.authStatus,{expires:1,domain:".sorteonline.com.br"}),t.Z.set("authenticationToken",null==e?void 0:e.authenticationToken,{domain:".sorteonline.com.br",expires:1})},v=()=>{var e,o,n,l;null===(o=window)||void 0===o||null===(e=o.localStorage)||void 0===e||e.setItem("shouldCloseWindow","true"),(null===(n=window)||void 0===n?void 0:n.opener)?null===(l=window)||void 0===l||l.close():window.location.href="/"},f=async e=>{var o,n,l,t,i,s;let f=new Date;f.setDate(f.getDate()+1),c(e);let b=null===(t=(await a.Z.getSession()).data)||void 0===t?void 0:null===(l=t.namespaces)||void 0===l?void 0:null===(n=l.profile)||void 0===n?void 0:null===(o=n.id)||void 0===o?void 0:o.value,h={Name:null==e?void 0:e.authCookieName,Value:null==e?void 0:e.authCookieValue},p={Name:null==e?void 0:e.accountAuthCookieName,Value:null==e?void 0:e.accountAuthCookieValue};if(!b)return;let m={authStatus:"Success",promptMFA:!1,clientToken:null,userId:b,phoneNumber:null,scope:null,authCookie:h,accountAuthCookie:p,expiresIn:f,legalId:null,userStatus:r.cH},w=await (0,d.lQ)(m);m.legalId=(null==w?void 0:null===(i=w.data)||void 0===i?void 0:i.legalId)||null,m.userStatus=(null==w?void 0:null===(s=w.data)||void 0===s?void 0:s.userStatus)||r.cH,m.isFirstLogin=(null==w?void 0:w.status)!=="success",(0,u.pj)("loginInfo",JSON.stringify(m)),v()},b=()=>{var e,o;let n=null===(o=window)||void 0===o?void 0:null===(e=o.location)||void 0===e?void 0:e.search;n||v();let t=s(n);return(0,i.useEffect)(()=>{if(!(null==t?void 0:t.accountAuthCookieName)||(null==t?void 0:t.authStatus)!=="Success"){v();return}f(t)},[t]),(0,l.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",children:(0,l.jsx)("div",{className:"h-10 w-10 animate-spin rounded-full border-4 border-[#5DAB9D] border-t-transparent"})})}}},e=>{var o=o=>e(e.s=o);e.O(0,[2888,9774,179],()=>o(77243)),_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.