import{g as c}from"./api.57088a6e.js";import{u as m}from"./index.93c872c5.js";import{d as f,f7 as p,f1 as u,u as a,b as d,c as _,w as l,eX as y,f as g,E as b}from"./outputWidgets.b408cd47.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.d280de95.js";import{a as w}from"./asyncComputed.a7fc1aad.js";import{W as I}from"./WidgetsFrame.6aab915e.js";import"./runnerData.d52f67ef.js";import"./url.266b2c44.js";import"./fetch.c6b0f555.js";import"./pubsub.e8c4900b.js";import"./CircularLoading.e547703a.js";import"./index.8601379e.js";import"./PhArrowClockwise.vue.53e44dd5.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]="0c3f9854-2abe-4090-9aee-217598c8db5a",e._sentryDebugIdIdentifier="sentry-dbid-0c3f9854-2abe-4090-9aee-217598c8db5a")}catch{}})();const k=f({__name:"Login",setup(e){const t=p(),r=u(),{result:o}=w(c),i=async()=>{await m.signUp();const{redirect:s,...n}=r.query;if(s){await t.push({path:s,query:n,params:r.params});return}t.push({name:"playerHome",query:n})};return(s,n)=>a(o)?(d(),_(I,{key:0,"main-color":a(o).mainColor,theme:a(o).theme,"font-family":a(o).fontFamily,class:"runner"},{default:l(()=>[g(h,{onDone:i})]),_:1},8,["main-color","theme","font-family"])):y("",!0)}});const H=b(k,[["__scopeId","data-v-b7ca18fc"]]);export{H as default};
//# sourceMappingURL=Login.d4d72241.js.map
