import{g as m}from"./api.804e2c24.js";import{u as c}from"./index.c3315fab.js";import{d as p,eK as d,eE as u,b as i,ew as _,u as r,c as l,w as y,ey as g,f as b,x as h}from"./outputWidgets.e32c4de9.js";import{_ as w}from"./Login.vue_vue_type_script_setup_true_lang.8b7731e0.js";import{a as k}from"./asyncComputed.cd8e83d5.js";import{W as v}from"./WidgetsFrame.ae5146ea.js";import"./runnerData.9bc53e5d.js";import"./url.b82290c2.js";import"./fetch.c8ae2d51.js";import"./pubsub.574e50fa.js";import"./Link.b760dec6.js";import"./Base.583225bc.js";import"./index.ad13a0c4.js";import"./PhArrowClockwise.vue.f778f63b.js";import"./CircularLoading.044e32d0.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]="ef04240a-eff0-4a3e-8909-292ef5febcb3",e._sentryDebugIdIdentifier="sentry-dbid-ef04240a-eff0-4a3e-8909-292ef5febcb3")}catch{}})();const x={class:"login"},I=p({__name:"Login",setup(e){const t=d(),a=u(),{result:o}=k(m),f=async()=>{await c.signUp();const{redirect:s,...n}=a.query;if(s){t.push({path:s,query:n,params:a.params});return}t.push({name:"playerThreads",query:n})};return(s,n)=>(i(),_("div",x,[r(o)?(i(),l(v,{key:0,"main-color":r(o).mainColor,theme:r(o).theme,"font-family":r(o).fontFamily,style:{width:"100vw"}},{default:y(()=>[b(w,{onDone:f})]),_:1},8,["main-color","theme","font-family"])):g("",!0)]))}});const $=h(I,[["__scopeId","data-v-eac71f44"]]);export{$ as default};
//# sourceMappingURL=Login.df4480c4.js.map
