1import{s as h,l as f,f as b,y as g,d as c,m as _,h as v,w as x,k as R,i as d,v as l,c as m,o as k}from"../chunks/scheduler.5ad5fe71.js";import{S as y,i as S}from"../chunks/index.e70da349.js";import{b as T}from"../chunks/brandingStore.b3ba044b.js";import{b as p}from"../chunks/brandTitle.816fa59f.js";import{goto as s}from"../chunks/navigation.4e7ecb6b.js";import{authStore as u}from"../chunks/auth.ed9cfa60.js";import{T as E}from"../chunks/roleHome.7f862da5.js";function H(i){let a,r,t,n='<div class="text-center"><i class="bi bi-arrow-repeat animate-spin text-indigo-600 mx-auto mb-4" style="font-size: 3rem;"></i> <p class="text-gray-600">Redirecting to your dashboard...</p></div>';return document.title=a=p("Redirecting...",i[0],"Redirecting... | PrepGraph"),{c(){r=f(),t=b("div"),t.innerHTML=n,this.h()},l(e){g("svelte-16kpalq",document.head).forEach(c),r=_(e),t=v(e,"DIV",{class:!0,"data-svelte-h":!0}),x(t)!=="svelte-1j26qlc"&&(t.innerHTML=n),this.h()},h(){R(t,"class","min-h-screen flex items-center justify-center")},m(e,o){d(e,r,o),d(e,t,o)},p(e,[o]){o&1&&a!==(a=p("Redirecting...",e[0],"Redirecting... | PrepGraph"))&&(document.title=a)},i:l,o:l,d(e){e&&(c(r),c(t))}}}function M(i,a,r){let t,n;return m(i,u,e=>r(1,t=e)),m(i,T,e=>r(0,n=e)),k(()=>{if(!t.auth){s("/login");return}switch(u.getRole()){case"parent":s("/dashboard/parent");break;case"teacher":s(E);break;case"admin":s("/dashboard/admin");break;case"graduate":s("/graduate");break;case"student":default:s("/dashboard/student")}}),[n]}class z extends y{constructor(a){super(),S(this,a,M,H,h,{})}}export{z as component};
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.