PageSourceSearch

https://klaria.ai/_astro/index.824M7s96.js

js klaria.ai collected 2026-10-05 12:35:29 UTC 2,337 bytes, 1 lines download raw bytes

1import{u as d}from"./RouteContext.Dm31mY7s.js";import{R as i}from"./Route.DD_ueQLE.js";import{S as k}from"./Switch.IrOL4n2s.js";import{S as T,u,T as C,a as S,b as v}from"./SessionTasks.yIyKbK3A.js";import{F as p}from"./Flow.D0OrI0IN.js";import{withCardStateProvider as R}from"./index.Bbp5PTm7.js";import{C as o}from"./index.BivjhZzS.js";import{L as f}from"./LoadingCard.DFZAN6h3.js";import{TaskChooseOrganization as x}from"./index.Dkr7xDW3.js";import{TaskResetPassword as A}from"./index.B7b_TuDP.js";import{TaskSetupMFA as O}from"./index.BQn-i0Y_.js";import{r as m}from"./index.B0sWPVoi.js";import{j as e,e as h,f as P,b as l}from"./AccountLayout.astro_astro_type_script_index_0_lang.B6CyRnse.js";import{I as a}from"./sessionTasks.DtNVRN5i.js";globalThis.process??={};globalThis.process.env??={};const U=()=>{const r=h(),{navigate:t}=d(),{redirectUrlComplete:n}=u();return m.useEffect(()=>{const c=setTimeout(()=>{const s=r.session?.currentTask?.key;s&&t(`./${a[s]}`)},500);return()=>clearTimeout(c)},[t,r,n]),e(p.Part,{part:"start",children:l(o.Root,{children:[e(
1o.Content,{children:e(f,{})}),e(o.Footer,{})]})})};function g(){const r=u(),t=h(),{navigate:n,currentPath:c}=d();return m.useEffect(()=>{const s=t.session?.currentTask;if(!s||t.session?.status==="active"){r.redirectOnActiveSession?.current&&n(r.redirectUrlComplete);return}t.telemetry?.record(P("SessionTask",{task:s.key}))},[t,c,n,r.redirectUrlComplete,r.redirectOnActiveSession]),!t.session?.currentTask&&r.redirectOnActiveSession?.current?l(o.Root,{children:[e(o.Content,{sx:()=>({flex:1}),children:e(f,{})}),e(o.Footer,{})]}):e(p.Root,{flow:"tasks",children:l(k,{children:[e(i,{path:a["choose-organization"],children:e(C.Provider,{value:{componentName:"TaskChooseOrganization",redirectUrlComplete:r.redirectUrlComplete},children:e(x,{})})}),e(i,{path:a["reset-password"],children:e(S.Provider,{value:{componentName:"TaskResetPassword",redirectUrlComplete:r.redirectUrlComplete},children:e(A,{})})}),e(i,{path:a["setup-mfa"],children:e(v.Provider,{value:{componentName:"TaskSetupMFA",redirectUrlComplete:r.redirectUrlComplete},children:e(O,{})})}),e(i,{index:!0,children:e(U,{})})]})})}const B=R(({redirectUrlComplete:r})=>{const t=m.useRef(!0);return e(T.Provider,{value:{redirectUrlComplete:r,redirectOnActiveSession:t},children:e(g,{})})});export{B as SessionTasks};

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.