import{s}from"./utils.62547028.js";import{w as a,a as l,j as r}from"./index.2b3b4b39.js";function c(i){const t=()=>{let e=decodeURIComponent(i.location.search.split("redirect=")[1]).split("&"),n=e[0];const o=e.length>=2?JSON.parse(e[1]):{};s.set("token","eyJhbGciOiJIUzUxMiJ9.eyJtb2JpbGUiOiIxMzI3NzA4MjY3OCIsImV4cCI6MTYzNDM0NTcwMywidXNlcklkIjoiMjMyMl9fMl8wXzE2MzQyNTkzMDMifQ.pCmWnB_Gx00RaDAIX1gm8GbevL_B6U7N_xbVH1xf6pa1dY3TudnRcHNkMf4T9rBzaOGMyUbCvJn8FPFfQ9jXCw"),i.history.replace({pathname:n,...o})};return l("div",{className:"login",children:["login",r("button",{onClick:()=>{t()},children:"\u767B\u5F55"})]})}var p=a(c);export{p as default};