1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8d827ae7-a8f2-4e6f-8099-820da1bdb5ce",e._sentryDebugIdIdentifier="sentry-dbid-8d827ae7-a8f2-4e6f-8099-820da1bdb5ce")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88614],{9176:(e,t,r)=>{r.d(t,{P:()=>n});let n=(0,r(77805).F3)("Browser",{web:()=>r.e(81234).then(r.bind(r,81234)).then(e=>new e.BrowserWeb)})},17377:(e,t,r)=>{function n(e,t){let r=a(t);return r?`${e}?${"/register"===e?"next":"callbackUrl"}=${encodeURIComponent(r)}`:e}function a(e){return!e||e.includes("\\")||Array.from(e).some(e=>{let t=e.charCodeAt(0);return t<=31||127===t})||!e.startsWith("/")||e.startsWith("//")||e.includes("://")?null:e}r.d(t,{J:()=>n,Q:()=>a})},22164:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(90425).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},25333:(e,t,r)=>{r.d(t,{q:()=>n});let n=(0,r(77805).F3)("App",{web:()=>r.e(32711).then(r.bind(r,32711)).then(e=>new e.AppWeb)})},25822:(e,t,r)=>{function n(e){return"apple"!==(e??"").trim().toLowerCase()}function a(e){return!0!==e.isProvider&&!!(!e.exists||!e.militaryRank||!e.branchOfService||!e.lastName?.trim()&&n(e.oauthProvider))}r.d(t,{$q:()=>n,hg:()=>a})},36990:(e,t,r)=>{r.d(t,{A:()=>s,b:()=>l});let n=[{name:"tiktok",label:"TikTok",needle:"BytedanceWebview"},{name:"tiktok",label:"TikTok",needle:"musical_ly"},{name:"instagram",label:"Instagram",needle:"Instagram"},{name:"facebook",label:"Facebook",needle:"FBAN"},{name:"facebook",label:"Facebook",needle:"FB_IAB"},{name:"twitter",label:"X/Twitter",needle:/Twitter(Android)?/},{name:"linkedin",label:"LinkedIn",needle:"LinkedInApp"},{name:"snapchat",label:"Snapchat",needle:"Snapchat"},{name:"line",label:"LINE",needle:"Line/"},{name:"wechat",label:"WeChat",needle:"MicroMessenger"}],a=/\bAndroid\b.*\bwv\)/,i=/iP(hone|ad|od).*AppleWebKit(?!.*(Safari|CriOS|FxiOS|EdgiOS|GSA))/;function s(e){if(!e)return null;for(let t of n)if("string"==typeof t.needle?e.includes(t.needle):t.needle.test(e))return{name:t.name,label:t.label};return a.test(e)?{name:"android-webview",label:"an app's built-in browser"}:i.test(e)?{name:"ios-webview",label:"an app's built-in browser"}:null}function l(e,t){if(!t||!/iP(hone|ad|od)/.test(t))return null;try{let t=new URL(e);if("https:"!==t.protocol)return null;return`x-safari-https://${t.host}${t.pathname}${t.search}${t.hash}`}catch{return null}}},45459:(e,t,r)=>{r.d(t,{n:()=>d});var n=r(95155),a=r(12115),i=r(68822),s=r(22164),l=r(94514),o=r(67635),c=r(56842);function d({browserLabel:e,openInSafariUrl:t,shareableUrl:r,onContinueWithEmail:d}){let[u,h]=(0,a.useState)(!1),f=async()=>{try{await navigator.clipboard.writeText(r),h(!0),setTimeout(()=>h(!1),2200)}catch{}};return(0,n.jsxs)("div",{role:"region","aria-label":"Google sign-in is unavailable in this browser",className:"mb-6 rounded-xl bg-[#0B2340]/40 border border-[#C9A24A]/30 p-4 sm:p-5",children:[(0,n.jsxs)("div",{className:"flex items-start gap-3",children:[(0,n.jsx)("div",{className:"w-8 h-8 rounded-lg bg-[#C9A24A]/15 flex items-center justify-center flex-shrink-0 ring-1 ring-[#C9A24A]/25",children:(0,n.jsx)(i.A,{className:"w-4 h-4 text-[#C9A24A]","aria-hidden":"true"})}),(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("h2",{className:"text-sm font-semibold text-white",children:"Google sign-in needs a real browser"}),(0,n.jsxs)("p",{className:"mt-1 text-xs sm:text-sm text-gray-300 leading-relaxed",children:["Youâre in ",(0,n.jsx)("span",{className:"font-medium text-white",children:e}),". For security, Google wonât let us sign you in from inside an appâs built-in browser."]})]})]}),(0,n.jsxs)("div",{className:"mt-4 space-y-2.5",children:[t?(0,n.jsxs)("a",{href:t,className:"w-full inline-flex items-center justify-center gap-2 h-11 rounded-lg bg-[#C9A24A] hover:bg-[#B8913A] text-[#0B2340] font-semibold text-sm transition-colors cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-[#0B2340]",children:[(0,n.jsx)(s.A,{className:"w-4 h-4","aria-hidden":"true"}),"Open in Safari"]}):(0,n.jsx)("button",{type:"button",onClick:f,className:"w-full inline-flex items-center justify-center gap-2 h-11 rounded-lg bg-[#C9A24A] hover:bg-[#B8913A] text-[#0B2340] font-semibold text-sm transition-colors cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 focus-visible:ring-offset-[#0B2340]","aria-live":"polite",children:u?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.A,{className:"w-4 h-4","aria-hidden":"true"}),"Link copied â paste in Chrome"]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{className:"w-4 h-4","aria-hidden":"true"}),"Copy link to open in Chrome"]})}),(0,n.jsx)("p",{className:"text-[11px] text-gray-400 break-all select-all font-mono px-1",children:r}),(0,n.jsxs)("button",{type:"button",onClick:d,className:"w-full inline-flex items-center justify-center gap-1.5 text-xs sm:text-sm text-[#C9A24A] hover:text-[#E6BD63] font-medium transition-colors cursor-pointer py-1 focus:outline-none focus-visible:underline",children:["Or continue with email below",(0,n.jsx)(c.A,{className:"w-3.5 h-3.5","aria-hidden":"true"})]})]})]})}},56842:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(90425).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},67635:(e,t,r)=>{r.d(t,{A:()=>n});
1let n=(0,r(90425).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},68753:(e,t,r)=>{r.d(t,{d:()=>a});var n=r(25822);async function a(e,t,r){try{let{data:a}=await e.from("users").select("military_rank, branch_of_service, last_name, is_provider, oauth_provider").eq("id",t).maybeSingle();if((0,n.hg)({exists:!!a,isProvider:a?.is_provider,oauthProvider:a?.oauth_provider,militaryRank:a?.military_rank,branchOfService:a?.branch_of_service,lastName:a?.last_name}))return r&&"/dashboard"!==r?`/profile/complete?next=${encodeURIComponent(r)}`:"/profile/complete";if(a?.is_provider&&(!r||"/dashboard"===r))return"/provider/queue";return r}catch(e){return console.error("Post-login destination check failed:",e),r}}},68822:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(90425).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},76163:(e,t,r)=>{r.d(t,{V:()=>d});var n=r(12115),a=r(73321),i=r(25333),s=r(9176),l=r(17377),o=r(54857),c=r(68753);function d(e,t={}){let r=(0,a.useRouter)();(0,n.useEffect)(()=>{let n=!0,a=async(a,i=!1)=>{let d;if(!n)return;try{d=new URL(a.url)}catch{return}if("com.valor.rating://auth/callback"!=`${d.protocol}//${d.host}${d.pathname}`||d.username||d.password)return;let u=!1,h=!1;try{let a=d.searchParams.get("next"),s=(0,l.Q)(a)||"/dashboard",f=new URLSearchParams(d.hash.substring(1)),b=f.get("access_token"),m=f.get("refresh_token"),p=d.searchParams.get("code");if(!(b&&m)&&!p)return;let w=d.searchParams.get("native_flow");if((i||w||t.requireAttempt)&&!(0,o.Hc)(w))return;if(u=!0,t.onStart?.(),b&&m){let{data:t,error:r}=await e.auth.setSession({access_token:b,refresh_token:m});if(r)throw r;if(!t.session)throw Error("OAuth session was not established")}else if(p){let{data:t,error:r}=await e.auth.exchangeCodeForSession(p);if(r)throw r;if(!t.session||!t.user)throw Error("OAuth session was not established");t.user&&(s=await (0,c.d)(e,t.user.id,s))}n&&(r.push(s),r.refresh(),h=!0)}catch(e){console.error("Deep link session error:",e)}finally{u&&(n&&t.onSettle?.(h),await s.P.close().catch(()=>{}))}},d=i.q.addListener("appUrlOpen",a);return d.then(async()=>{if(!n)return;let e=await i.q.getLaunchUrl();e?.url&&await a({url:e.url},!0)}).catch(()=>{}),()=>{n=!1,d.then(e=>e.remove()).catch(()=>{})}},[])}},94514:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(90425).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])}}]);
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.