import{g as m}from"./api.a048edcc.js";import{u as p}from"./index.ad042616.js";import{d,eK as u,eE as f,b as c,ew as _,u as r,c as l,w as y,ey as g,f as h,x as w}from"./outputWidgets.aedb9989.js";import{_ as b}from"./Login.vue_vue_type_script_setup_true_lang.f1e3893f.js";import{a as k}from"./asyncComputed.710d44a6.js";import{W as v}from"./WidgetsFrame.79c3abdb.js";import"./runnerData.64e03784.js";import"./url.c520dda4.js";import"./fetch.b0fc3d69.js";import"./pubsub.96a03d8f.js";import"./Link.e5074027.js";import"./Base.1e4eebff.js";import"./index.a8361507.js";import"./PhArrowClockwise.vue.659af3b2.js";import"./CircularLoading.eca3bb5d.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]="282ecc27-78e1-4806-938c-726949c6a1c6",e._sentryDebugIdIdentifier="sentry-dbid-282ecc27-78e1-4806-938c-726949c6a1c6")}catch{}})();const x={class:"login"},I=d({__name:"Login",setup(e){const t=u(),s=f(),{result:o}=k(m),i=async()=>{await p.signUp();const{redirect:a,...n}=s.query;if(a){t.push({path:a,query:n,params:s.params});return}t.push({name:"playerThreads",query:n})};return(a,n)=>(c(),_("div",x,[r(o)?(c(),l(v,{key:0,"main-color":r(o).mainColor,theme:r(o).theme,"font-family":r(o).fontFamily,style:{width:"100vw"}},{default:y(()=>[h(b,{onDone:i})]),_:1},8,["main-color","theme","font-family"])):g("",!0)]))}});const $=w(I,[["__scopeId","data-v-eac71f44"]]);export{$ as default};
//# sourceMappingURL=Login.73580afa.js.map
