PageSourceSearch

https://meeting.ai/assets/auth-CQZKrvig.js

js meeting.ai collected 2026-09-24 18:28:30 UTC 7,406 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/client-DhzMzcND.js","assets/start-vendor-CWIW64zN.js","assets/rolldown-runtime-DnRgBSZt.js","assets/start-vendor-RrUsGHTR.js","assets/react-vendor-CXYdPthH.js","assets/user-CZx8_FIZ.js","assets/ws-connection-registry-ByXkFK66.js","assets/active-workspace-Dem2gJtu.js"])))=>i.map(i=>d[i]);
2(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`[email protected]+789601b`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`83868acb-42ef-4b82-895c-7798a76a4f73`,e._sentryDebugIdIdentifier=`sentry-dbid-83868acb-42ef-4b82-895c-7798a76a4f73`)}catch{}})();import{t as e}from"./start-vendor-RrUsGHTR.js";import{Dh as t,Gp as n,St as r,Th as i,Wh as a,Yp as o,Zp as s,ft as c,hm as l,ht as u,mc as d,mt as f,yt as p}from"./start-vendor-CWIW64zN.js";import{r as m}from"./anonymous-id-wLVQKMrh.js";import{n as h,t as g}from"./identity-CCqvoM43.js";import{t as _}from"./profile-write-queue-CrNv9M7g.js";import{t as v}from"./started-marker-iRf8IuKm.js";import{t as y}from"./user-language-write-session-DLP1hWGt.js";function b(){let e=m();return e?{attribution_anonymous_id:e}:{}}async function x(e){return n.post(`/auth/otp/request`,{email:e},{auth:!1,autoRetry:!1})}async function S(e){return n.post(`/auth/login/email`,{login:{email:e.email,otp:e.otp,challenge_id:e.challengeId,grantType:`mail_otp`,platform:`web`},recaptcha:{token:e.recaptchaToken},user:{timezone:Intl.DateTimeFormat().resolvedOptions().timeZone},device_info:l(),...b(),...e.invitationToken?{invitation:{invitation_token:e.invitationToken}}:{}},{auth:!1,autoRetry:!1})}async function C(e){return n.post(`/auth/login/email`,{login:{email:e.email,password:e.password,grantType:`password`,platform:`web`},recaptcha:{token:e.recaptchaToken},user:{timezone:Intl.DateTimeFormat().resolvedOptions().timeZone},device_info:l(),...b(),...e.invitationToken?{invitation:{invitation_token:e.invitationToken}}:{}},{auth:!1,autoRetry:!1})}async function w(e){return n.post(`/auth/verify`,{emailVerifyToken:e},{auth:!0})}async function T(){return n.post(`/auth/resend-verification`,{},{auth:!0})}async function E(e){return n.post(`/auth/authorize/google`,{google:{code:e.code,clientId:e.clientId,register_ref_id:e.refId??`neo-auth`,...e.redirectUri?{redirect_uri:e.redirectUri}:{}},user:{timezone:Intl.DateTimeFormat().resolvedOptions().timeZone},platform:`web`,device_info:l(),...b(),...e.invitationToken?{invitation:{invitation_token:e.invitationToken}}:{}},{auth:!1})}async function D(e){return n.post(`/auth/authorize/apple`,{apple:{state:{refId:e.refId},code:e.code,id_token:e.idToken,...e.redirectUri?{redirect_uri:e.redirectUri}:{},...e.name?{name:e.name}:{}},user:{timezone:Intl.DateTimeFormat().resolvedOptions().timeZone},platform:`web`,device_info:l(),...b(),...e.invitationToken?{invitation:{invitation_token:e.invitationToken}}:{}},{auth:!1})}async function O(e){return n.post(`/auth/authorize/microsoft`,{microsoft:{code:e.code,register_ref_id:e.refId??`neo-auth`,redirect_uri:e.redirectUri},user:{timezone:Intl.DateTimeFormat().resolvedOptions().timeZone},platform:`web`,device_info:l(),...b(),...e.invitationToken?{invitation:{invitation_token:e.invitationToken}}:{}},{auth:!1})}async function k(e){return n.post(`/auth/mfa/verify`,{mfa:{session_id:e.sessionId,challenge_id:e.challengeId,method:e.method,...e.password===void 0?{}:{password:e.password},...e.totp===void 0?{}:{totp:e.totp},...e.webauthn===void 0?{}:{webauthn:e.webauthn}},platform:`web`,device_info:l()},{auth:!1,autoRetry:!1})}async function A(e){return n.post(`/user/me/add-email`,{user:{email:e.email,password:e.password}},{auth:!0})}async function j(e,t){let r=e===`google`?{google:{code:t.code,...t.clientId?{clientId:t.clientId}:{},...t.redirectUri?{redirect_uri:t.redirectUri}:{}}}:{microsoft:{code:t.code,...t.redirectUri?{redirect_uri:t.redirectUri}:{}}};return n.post(`/user/me/connected-auth/${e}`,r,{auth:!0})}async function M(e){return n.post(`/auth/mfa`,{mfa:{session_id:e.sessionId,...e.mfaId?{id:e.mfaId}:{}}},{auth:!1,autoRetry:!1})}function N(){if(typeof window>`u`)return null;let e=new URLSearchParams(window.location.search);return e.get(`redirectPath`)??e.get(`path`)}function P(e){return!e||!e.startsWith(`/`)||e.startsWith(`//`)?null:e===`/auth/onboarding`||e.startsWith(`/auth/onboarding/`)||e.startsWith(`/auth/onboarding?`)?e:e===`/auth`||e.startsWith(`/auth/`)||e.startsWith(`/auth?`)||e.startsWith(`/auth#`)?null:e}function F(e,t){let n=P(t);if(n)return n;let r=P(N());if(r)return r;if(e.is_new_user){v();try{localStorage.removeItem(`meetingai_profile`)}catch{}return`/auth/onboarding`}return`/`}async function I(e,n){if(e.jwt){_(),y(),v(),await o(e.jwt),a.set(d,e.user);let r=t(e.user);r!==null&&h(r,g(e.user)),n?.method&&i.track(`auth.login_succeeded`,{method:n.method}),p(),u(),c();let s=F(e,n?.redirectPath??null);return window.location.replace(s),{kind:`logged-in`,dest:s}}let s=e.session_id,l=e.challenge?.challenge_id,m=e.challenge?.challenge_type;if(e.mfa_required&&s&&l&&m){let t=N(),i=e.mfa?.id,a=e.user?.email,o=P(n?.redirectPath??t),c=e.challenge?.webauthn,u=c?JSON.stringify(c):null;return r({sessionId:s,challengeId:l,type:m,mfaId:i??null,redirectPath:o??null,webauthn:u}),a&&f(a),{kind:`mfa-required`}}throw Error(`Login succeeded but no JWT and no MFA challenge — backend response invalid.`)}async function L(e){return n.post(`/auth/forgot-password`,{email:e.email,...e.recaptchaToken?{recaptcha:{token:e.recaptchaToken}}:{}},{auth:!1,autoRetry:!1})}async function R(e){return n.post(`/auth/verify-token`,{verifyToken:{type:`resetPassword`,token:e}},{auth:!1})}async function z(e){return n.post(`/auth/reset-password`,{code:e.code,email:e.email,newPassword:e.newPassword},{auth:!1})}var B=`meetingai.logout`,V=[`meeting-ai:`,`meetingai:`],H=new Set([`meetingai:cookie-consent`]);function U(){if(typeof window>`u`)return;let e=[];for(let t=0;t<window.localStorage.length;t++){let n=window.localStorage.key(t);n&&(H.has(n)||V.some(e=>n.startsWith(e))&&e.push(n))}for(let t of e)window.localStorage.removeItem(t)}async function W(t){i.track(`auth.logout`,{reason:`user`}),y();try{await n.post(`/user/logout`,void 0,{auth:!0})}catch{}i.reset();let{clearTokens:r}=await e(async()=>{let{clearTokens:e}=await import(`./client-DhzMzcND.js`);return{clearTokens:e}},__vite__mapDeps([0,1,2,3,4]));await r(),a.set(d,null),_(),v(),s(),t?.queryClient?.clear(),U();let{resetOnboarding:o}=await e(async()=>{let{resetOnboarding:e}=await import(`./user-CZx8_FIZ.js`);return{resetOnboarding:e}},__vite__mapDeps([5,1,2,3,4]));o();let{clearWsConnectionRegistry:c}=await e(async()=>{let{clearWsConnectionRegistry:e}=await import(`./ws-connection-registry-ByXkFK66.js`);return{clearWsConnectionRegistry:e}},__vite__mapDeps([6,1,2,3,4]));c();let{clearActiveWorkspaceCookie:l}=await e(async()=>{let{clearActiveWorkspaceCookie:e}=await import(`./active-workspace-Dem2gJtu.js`);return{clearActiveWorkspaceCookie:e}},__vite__mapDeps([7,1,2,3,4]));if(l(),typeof window<`u`)try{window.sessionStorage.clear()}catch{}if(t?.broadcast!==!1&&typeof window<`u`)try{window.localStorage.setItem(B,String(Date.now()))}catch{}}export{k as _,I as a,E as c,x as d,L as f,w as g,W as h,M as i,O as l,z as m,A as n,D as o,T as p,j as r,C as s,B as t,N as u,S as v,R as y};

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.