import{g as c}from"./api.62525f8e.js";import{u as m}from"./index.d3856463.js";import{d,f7 as p,f1 as f,u as r,b as u,c as _,w as l,eX as y,f as b,E as g}from"./outputWidgets.9e7bd3a6.js";import{_ as h}from"./Login.vue_vue_type_script_setup_true_lang.63fd5916.js";import{a as w}from"./asyncComputed.fb556333.js";import{W as I}from"./WidgetsFrame.d7bbf786.js";import"./runnerData.612b9465.js";import"./url.1f5e31bf.js";import"./fetch.5d8cee62.js";import"./pubsub.f3af3eeb.js";import"./CircularLoading.6029a577.js";import"./index.4ef54852.js";import"./PhArrowClockwise.vue.30e5887d.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]="44697dd0-96cb-45a3-b23d-8734b77c3eb2",e._sentryDebugIdIdentifier="sentry-dbid-44697dd0-96cb-45a3-b23d-8734b77c3eb2")}catch{}})();const k=d({__name:"Login",setup(e){const t=p(),a=f(),{result:o}=w(c),i=async()=>{await m.signUp();const{redirect:s,...n}=a.query;if(s){await t.push({path:s,query:n,params:a.params});return}t.push({name:"playerHome",query:n})};return(s,n)=>r(o)?(u(),_(I,{key:0,"main-color":r(o).mainColor,theme:r(o).theme,"font-family":r(o).fontFamily,class:"runner"},{default:l(()=>[b(h,{onDone:i})]),_:1},8,["main-color","theme","font-family"])):y("",!0)}});const H=g(k,[["__scopeId","data-v-b7ca18fc"]]);export{H as default};
//# sourceMappingURL=Login.9d42de63.js.map
