import{g as m}from"./api.81454d28.js";import{u as f}from"./index.5efb03fa.js";import{d as p,eK as d,eE as u,b as i,ew as _,u as a,c as l,w as y,ey as g,f as b,x as h}from"./outputWidgets.eb68177a.js";import{_ as w}from"./Login.vue_vue_type_script_setup_true_lang.7c1e6a89.js";import{a as k}from"./asyncComputed.d7d35a9b.js";import{W as v}from"./WidgetsFrame.f4d94fb2.js";import"./runnerData.fcb41115.js";import"./url.1bbc2ec6.js";import"./fetch.48bfa89a.js";import"./pubsub.bf42621d.js";import"./Link.59e40dde.js";import"./Base.20dd2a14.js";import"./CircularLoading.b65c70bb.js";import"./index.9e24d2fa.js";import"./PhArrowClockwise.vue.ffa991d1.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]="baaa1fbd-1ce1-47a0-9562-c24957ff38a7",e._sentryDebugIdIdentifier="sentry-dbid-baaa1fbd-1ce1-47a0-9562-c24957ff38a7")}catch{}})();const x={class:"login"},I=p({__name:"Login",setup(e){const t=d(),r=u(),{result:o}=k(m),c=async()=>{await f.signUp();const{redirect:s,...n}=r.query;if(s){t.push({path:s,query:n,params:r.params});return}t.push({name:"playerThreads",query:n})};return(s,n)=>(i(),_("div",x,[a(o)?(i(),l(v,{key:0,"main-color":a(o).mainColor,theme:a(o).theme,"font-family":a(o).fontFamily,style:{width:"100vw"}},{default:y(()=>[b(w,{onDone:c})]),_:1},8,["main-color","theme","font-family"])):g("",!0)]))}});const $=h(I,[["__scopeId","data-v-eac71f44"]]);export{$ as default};
//# sourceMappingURL=Login.881ad47c.js.map
