import{g as m}from"./api.fed40c5d.js";import{_ as d}from"./Login.vue_vue_type_script_setup_true_lang.947f6490.js";import{u}from"./router.142fcc1c.js";import{a as f}from"./asyncComputed.c6a51599.js";import{W as p}from"./WidgetsFrame.002b9951.js";import{d as _,eJ as l,eC as y,u as r,b as g,c as b,w,ew as h,f as C,S as I}from"./vue-router.67809441.js";import"./runnerData.5c6d9896.js";import"./url.bf0f022f.js";import"./CircularLoading.b824a8db.js";import"./index.35943144.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f7d798a0-7371-421b-a681-3dbfc8cd2766",e._sentryDebugIdIdentifier="sentry-dbid-f7d798a0-7371-421b-a681-3dbfc8cd2766")}catch{}})();const k=_({__name:"Login",setup(e){const t=l(),s=y(),{result:o}=f(m),c=u(),i=async()=>{await c.signUp();const{redirect:a,...n}=s.query;if(a){await t.push({path:a,query:n,params:s.params});return}t.push({name:"playerHome",query:n})};return(a,n)=>r(o)?(g(),b(p,{key:0,"main-color":r(o).mainColor,theme:r(o).theme,"font-family":r(o).fontFamily,class:"runner"},{default:w(()=>[C(d,{onDone:i})]),_:1},8,["main-color","theme","font-family"])):h("",!0)}});const R=I(k,[["__scopeId","data-v-ae51cc13"]]);export{R as default};
//# sourceMappingURL=Login.8939ad1e.js.map
