import{g as c}from"./api.699355f9.js";import{u as d}from"./index.1a150dc1.js";import{d as p,eK as f,eE as u,b as i,ew as _,u as r,c as l,w as y,ey as g,f as h,x as w}from"./outputWidgets.2c936b33.js";import{_ as b}from"./Login.vue_vue_type_script_setup_true_lang.2ef2f027.js";import{a as k}from"./asyncComputed.b227690c.js";import{W as v}from"./WidgetsFrame.f274e686.js";import"./runnerData.02c403dc.js";import"./url.a282f1d5.js";import"./fetch.5fc14eb3.js";import"./pubsub.4c454988.js";import"./Link.bdb77d32.js";import"./Base.7b44942c.js";import"./index.427b14e9.js";import"./PhArrowClockwise.vue.4b77ddf8.js";import"./CircularLoading.04c4bb5e.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]="b1f91701-e6ad-4620-83c3-941fd3992532",e._sentryDebugIdIdentifier="sentry-dbid-b1f91701-e6ad-4620-83c3-941fd3992532")}catch{}})();const x={class:"login"},I=p({__name:"Login",setup(e){const t=f(),s=u(),{result:o}=k(c),m=async()=>{await d.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)=>(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(()=>[h(b,{onDone:m})]),_:1},8,["main-color","theme","font-family"])):g("",!0)]))}});const $=w(I,[["__scopeId","data-v-eac71f44"]]);export{$ as default};
//# sourceMappingURL=Login.4e2f6ed5.js.map
