import{g as m}from"./api.8ecad6bb.js";import{u as d}from"./index.ac9b4c61.js";import{d as p,eK as u,eE as _,b as i,ew as f,e as l,u as a,c as y,w as b,ey as g,f as h,x as w}from"./outputWidgets.7dd23d3d.js";import{_ as v}from"./Login.vue_vue_type_script_setup_true_lang.f149680f.js";import{a as k}from"./asyncComputed.8f047c40.js";import{W as x}from"./WidgetsFrame.22445284.js";import"./runnerData.13e158ee.js";import"./url.6301f7e9.js";import"./fetch.55a475bd.js";import"./pubsub.692bcdfa.js";import"./Link.ffd51525.js";import"./Base.4bf9624b.js";import"./index.dad58b70.js";import"./CircularLoading.deaf8cef.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]="aa7c22ee-5591-4be0-b2e2-0b732787bd9c",e._sentryDebugIdIdentifier="sentry-dbid-aa7c22ee-5591-4be0-b2e2-0b732787bd9c")}catch{}})();const I={class:"login"},C=p({__name:"Login",setup(e){const t=u(),r=_(),{result:o}=k(m),c=async()=>{await d.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(),f("div",null,[l("div",I,[a(o)?(i(),y(x,{key:0,"main-color":a(o).mainColor,theme:a(o).theme,"font-family":a(o).fontFamily,style:{width:"100vw"}},{default:b(()=>[h(v,{onDone:c})]),_:1},8,["main-color","theme","font-family"])):g("",!0)])]))}});const $=w(C,[["__scopeId","data-v-ad80aeaa"]]);export{$ as default};
//# sourceMappingURL=Login.4b49ede6.js.map
