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