import{g as m}from"./api.59a010f9.js";import{u as c}from"./index.0f9c2c1a.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.ac6cd083.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.b24e5ccf.js";import{a as w}from"./asyncComputed.9193ddba.js";import{W as I}from"./WidgetsFrame.d5b05b7d.js";import"./runnerData.a38c774f.js";import"./url.d933d93f.js";import"./fetch.69934b32.js";import"./pubsub.ead516dd.js";import"./CircularLoading.a69bc135.js";import"./index.a7fed03e.js";import"./PhArrowClockwise.vue.ee44c8b3.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]="346a118d-53f2-4395-83b1-e5aa9a12deb7",e._sentryDebugIdIdentifier="sentry-dbid-346a118d-53f2-4395-83b1-e5aa9a12deb7")}catch{}})();const k=f({__name:"Login",setup(e){const t=p(),r=u(),{result:o}=w(m),i=async()=>{await c.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.6d589632.js.map
