import{_ as i,d as _,ak as u,m as d,n as l,x as p,Z as e,aj as v,H as m,o as f,c as k,a0 as x}from"./index.js";const E={class:"w-[100vw] h-[100vh]","element-loading-text":"\u767B\u5F55\u4E2D"},g=_({__name:"index",setup(h){const{loginByToken:c}=u(),{query:a}=d(),{push:o}=l(),{VITE_SECRET_KEY:r}=x();return p(async()=>{try{const t=e.enc.Base64.parse(a.t).toString(e.enc.Utf8),n=e.AES.decrypt(t,r).toString(e.enc.Utf8),{token:s}=JSON.parse(n);await c(s),o("/welcome")}catch{o("/login")}}),(t,n)=>{const s=v("loading");return m((f(),k("div",E,null,512)),[[s,!0]])}}});var S=i(g,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/accept/index.vue"]]);export{S as default};
