From c10b9abb6eec6a397dce7acbadbaa29958c744f0 Mon Sep 17 00:00:00 2001
From: trmazi <66042448+trmazi@users.noreply.github.com>
Date: Tue, 16 Jul 2024 00:33:29 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20PhaseII-?=
=?UTF-8?q?eAmusement-Network/PhaseWeb3-Vue@e6ee1114d845c7b5b7fccdd7970952?=
=?UTF-8?q?10cda5fcac=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
assets/{ArcadeCard.687fa394.js => ArcadeCard.39cecb4a.js} | 2 +-
assets/{ArcadeView.ca56bb0b.js => ArcadeView.d44558ae.js} | 2 +-
assets/{CardsView.8ff89c88.js => CardsView.55035178.js} | 2 +-
assets/{EditView.d1ac0039.js => EditView.0fdd5eaf.js} | 2 +-
assets/{ErrorView.eaeb20fd.js => ErrorView.a1a42e71.js} | 2 +-
assets/{EventView.36f0af1c.js => EventView.9846e62f.js} | 2 +-
...FormCheckRadio.9bd4e29f.js => FormCheckRadio.7997f514.js} | 2 +-
assets/{FormControl.3fead597.js => FormControl.e52bf3bc.js} | 2 +-
assets/{FormField.e32df112.js => FormField.b3adf7d6.js} | 2 +-
assets/{GameView.374a1d70.js => GameView.0fbab29f.js} | 2 +-
.../{GeneralTable.eb99a8fe.js => GeneralTable.6dd16912.js} | 2 +-
...tegrationView.c80d4b84.js => IntegrationView.484306b2.js} | 2 +-
assets/{LayoutGuest.935550c8.js => LayoutGuest.ad451616.js} | 2 +-
assets/{LoginView.51656386.js => LoginView.578be74c.js} | 2 +-
.../{MachinesView.02b687ff.js => MachinesView.1f052a5e.js} | 2 +-
assets/{PaseliView.50188af3.js => PaseliView.78718b88.js} | 2 +-
assets/PlayerView.1cff0c06.js | 5 -----
assets/PlayerView.72ecb6de.js | 5 +++++
assets/{PostView.53949d2c.js => PostView.637e01b6.js} | 2 +-
assets/{ProfileCard.206878f8.js => ProfileCard.b5c0184d.js} | 2 +-
assets/{ProfileView.6c0bacb6.js => ProfileView.4126d4d9.js} | 2 +-
assets/{PublicView.fbfe7a07.js => PublicView.1e1d0752.js} | 2 +-
.../{RegisterView.733022ae.js => RegisterView.46f93855.js} | 2 +-
assets/{RivalsView.ecb93aab.js => RivalsView.2571c2ec.js} | 2 +-
assets/{index.ef6c145a.js => index.245a4617.js} | 2 +-
index.html | 2 +-
26 files changed, 29 insertions(+), 29 deletions(-)
rename assets/{ArcadeCard.687fa394.js => ArcadeCard.39cecb4a.js} (97%)
rename assets/{ArcadeView.ca56bb0b.js => ArcadeView.d44558ae.js} (90%)
rename assets/{CardsView.8ff89c88.js => CardsView.55035178.js} (95%)
rename assets/{EditView.d1ac0039.js => EditView.0fdd5eaf.js} (96%)
rename assets/{ErrorView.eaeb20fd.js => ErrorView.a1a42e71.js} (93%)
rename assets/{EventView.36f0af1c.js => EventView.9846e62f.js} (93%)
rename assets/{FormCheckRadio.9bd4e29f.js => FormCheckRadio.7997f514.js} (92%)
rename assets/{FormControl.3fead597.js => FormControl.e52bf3bc.js} (97%)
rename assets/{FormField.e32df112.js => FormField.b3adf7d6.js} (91%)
rename assets/{GameView.374a1d70.js => GameView.0fbab29f.js} (94%)
rename assets/{GeneralTable.eb99a8fe.js => GeneralTable.6dd16912.js} (91%)
rename assets/{IntegrationView.c80d4b84.js => IntegrationView.484306b2.js} (96%)
rename assets/{LayoutGuest.935550c8.js => LayoutGuest.ad451616.js} (81%)
rename assets/{LoginView.51656386.js => LoginView.578be74c.js} (89%)
rename assets/{MachinesView.02b687ff.js => MachinesView.1f052a5e.js} (89%)
rename assets/{PaseliView.50188af3.js => PaseliView.78718b88.js} (93%)
delete mode 100644 assets/PlayerView.1cff0c06.js
create mode 100644 assets/PlayerView.72ecb6de.js
rename assets/{PostView.53949d2c.js => PostView.637e01b6.js} (96%)
rename assets/{ProfileCard.206878f8.js => ProfileCard.b5c0184d.js} (99%)
rename assets/{ProfileView.6c0bacb6.js => ProfileView.4126d4d9.js} (93%)
rename assets/{PublicView.fbfe7a07.js => PublicView.1e1d0752.js} (94%)
rename assets/{RegisterView.733022ae.js => RegisterView.46f93855.js} (93%)
rename assets/{RivalsView.ecb93aab.js => RivalsView.2571c2ec.js} (92%)
rename assets/{index.ef6c145a.js => index.245a4617.js} (98%)
diff --git a/assets/ArcadeCard.687fa394.js b/assets/ArcadeCard.39cecb4a.js
similarity index 97%
rename from assets/ArcadeCard.687fa394.js
rename to assets/ArcadeCard.39cecb4a.js
index 1c78469..cf00eb4 100644
--- a/assets/ArcadeCard.687fa394.js
+++ b/assets/ArcadeCard.39cecb4a.js
@@ -1,4 +1,4 @@
-import{r as y,a,i as t,b as o,w as k,g as s,t as l,e as c,c as x,R as h,a6 as w,k as u,a7 as v,Y as n,F as d,j as _,f,a8 as S,a2 as $,a9 as p,aa as B,ab as j,ac as C}from"./index.ef6c145a.js";const N={class:"space-y-3 text-center w-full"},V={class:"text-2xl lg:text-3xl font-bold"},A={class:"flex gap-2 justify-center items-center"},E={class:"text-xl md:text-2xl font-bold"},H={class:"flex flex-wrap gap-4 place-content-center"},L=s("hr",{class:"border-t border-1 w-full"},null,-1),M={key:0,class:"text-lg"},T=s("span",{class:"font-normal"}," and",-1),q=s("span",{class:"font-normal"}," and",-1),z={key:1,class:"md:w-full grid grid-cols-1 md:grid-cols-3 gap-3"},D={key:2,class:"w-full flex justify-center"},R={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!1},arcade:{type:Object,required:!0}},setup(e){var g=y(e.arcade.data);function b(m){if(m!==null)return`
+import{r as y,a,i as t,b as o,w as k,g as s,t as l,e as c,c as x,R as h,a6 as w,k as u,a7 as v,Y as n,F as d,j as _,f,a8 as S,a2 as $,a9 as p,aa as B,ab as j,ac as C}from"./index.245a4617.js";const N={class:"space-y-3 text-center w-full"},V={class:"text-2xl lg:text-3xl font-bold"},A={class:"flex gap-2 justify-center items-center"},E={class:"text-xl md:text-2xl font-bold"},H={class:"flex flex-wrap gap-4 place-content-center"},L=s("hr",{class:"border-t border-1 w-full"},null,-1),M={key:0,class:"text-lg"},T=s("span",{class:"font-normal"}," and",-1),q=s("span",{class:"font-normal"}," and",-1),z={key:1,class:"md:w-full grid grid-cols-1 md:grid-cols-3 gap-3"},D={key:2,class:"w-full flex justify-center"},R={__name:"ArcadeCard",props:{useSmall:{type:Boolean,required:!1,default:!1},arcade:{type:Object,required:!0}},setup(e){var g=y(e.arcade.data);function b(m){if(m!==null)return`
background-image: url('${m}');
background-size: cover;
background-repeat: no-repeat;
diff --git a/assets/ArcadeView.ca56bb0b.js b/assets/ArcadeView.d44558ae.js
similarity index 90%
rename from assets/ArcadeView.ca56bb0b.js
rename to assets/ArcadeView.d44558ae.js
index 2403643..53b8d51 100644
--- a/assets/ArcadeView.ca56bb0b.js
+++ b/assets/ArcadeView.d44558ae.js
@@ -1 +1 @@
-import{u as f,r as u,o as v,a as c,c as g,w as l,b as e,i as b,P as x,e as h,a5 as y,_ as d,Q as w,R as $,g as s,f as r,F as S,k,l as V,n as A,p as I}from"./index.ef6c145a.js";import{_ as M}from"./ArcadeCard.687fa394.js";import{_ as n}from"./FormCheckRadio.9bd4e29f.js";const N={class:"grid gap-4 grid-cols-2 md:grid-cols-4 mb-4"},P={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 mb-6"},B=s("h1",{class:"text-lg md:text-xl"},"OpenVPN Configuration",-1),E=s("p",{class:"pb-1 dark:text-white/50"}," Use this to export your VPN config. ",-1),R={__name:"ArcadeView",setup(C){const m=f(),a=u({}),i=u(!0),_=I(),p=parseInt(_.params.id);return v(async()=>{try{const t=await m.getArcade(p);a.value=t,i.value=!1}catch(t){console.log("Failed to fetch arcade data:",t)}}),(t,o)=>(c(),g(A,null,{default:l(()=>[e(V,null,{default:l(()=>[i.value?k("",!0):(c(),b(S,{key:0},[e(M,{class:"mb-6",arcade:a.value},null,8,["arcade"]),e(x,{icon:h(y),title:"Admin Overview",main:""},null,8,["icon"]),e(d,{"is-form":"",class:"mb-6",onSubmit:o[0]||(o[0]=w(()=>{},["prevent"]))},{default:l(()=>[e($,{color:"info",label:"General Settings",class:"mb-4"}),s("div",N,[e(n,{"model-value":a.value.data.paseli_enabled,"input-value":a.value.data.paseli_enabled,name:"paseli_enabled",type:"switch",label:"PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(n,{"model-value":a.value.data.paseli_infinite,"input-value":a.value.data.paseli_infinite,name:"paseli_infinite",type:"switch",label:"Infinite PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(n,{"model-value":a.value.data.maint,"input-value":a.value.data.maint,name:"maint",type:"switch",label:"Maintenance Mode",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"])]),e(r,{color:"success",type:"submit",label:"Save",small:!1})]),_:1}),s("div",P,[e(d,null,{default:l(()=>[B,E,e(r,{small:!1,color:"success",class:"my-2",label:"Export"})]),_:1})])],64))]),_:1})]),_:1}))}};export{R as default};
+import{u as f,r as u,o as v,a as c,c as g,w as l,b as e,i as b,P as x,e as h,a5 as y,_ as d,Q as w,R as $,g as s,f as r,F as S,k,l as V,n as A,p as I}from"./index.245a4617.js";import{_ as M}from"./ArcadeCard.39cecb4a.js";import{_ as n}from"./FormCheckRadio.7997f514.js";const N={class:"grid gap-4 grid-cols-2 md:grid-cols-4 mb-4"},P={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 mb-6"},B=s("h1",{class:"text-lg md:text-xl"},"OpenVPN Configuration",-1),E=s("p",{class:"pb-1 dark:text-white/50"}," Use this to export your VPN config. ",-1),R={__name:"ArcadeView",setup(C){const m=f(),a=u({}),i=u(!0),_=I(),p=parseInt(_.params.id);return v(async()=>{try{const t=await m.getArcade(p);a.value=t,i.value=!1}catch(t){console.log("Failed to fetch arcade data:",t)}}),(t,o)=>(c(),g(A,null,{default:l(()=>[e(V,null,{default:l(()=>[i.value?k("",!0):(c(),b(S,{key:0},[e(M,{class:"mb-6",arcade:a.value},null,8,["arcade"]),e(x,{icon:h(y),title:"Admin Overview",main:""},null,8,["icon"]),e(d,{"is-form":"",class:"mb-6",onSubmit:o[0]||(o[0]=w(()=>{},["prevent"]))},{default:l(()=>[e($,{color:"info",label:"General Settings",class:"mb-4"}),s("div",N,[e(n,{"model-value":a.value.data.paseli_enabled,"input-value":a.value.data.paseli_enabled,name:"paseli_enabled",type:"switch",label:"PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(n,{"model-value":a.value.data.paseli_infinite,"input-value":a.value.data.paseli_infinite,name:"paseli_infinite",type:"switch",label:"Infinite PASELI",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"]),e(n,{"model-value":a.value.data.maint,"input-value":a.value.data.maint,name:"maint",type:"switch",label:"Maintenance Mode",class:"outline outline-gray-400 rounded-xl outline-1 text-sm md:text-md p-2"},null,8,["model-value","input-value"])]),e(r,{color:"success",type:"submit",label:"Save",small:!1})]),_:1}),s("div",P,[e(d,null,{default:l(()=>[B,E,e(r,{small:!1,color:"success",class:"my-2",label:"Export"})]),_:1})])],64))]),_:1})]),_:1}))}};export{R as default};
diff --git a/assets/CardsView.8ff89c88.js b/assets/CardsView.55035178.js
similarity index 95%
rename from assets/CardsView.8ff89c88.js
rename to assets/CardsView.55035178.js
index ef9568b..879216a 100644
--- a/assets/CardsView.8ff89c88.js
+++ b/assets/CardsView.55035178.js
@@ -1 +1 @@
-import{u,r as p,o as g,a as o,c as f,w as i,b as s,O as C,P as h,e as l,$ as b,g as e,i as d,j as x,t as v,f as n,F as k,l as y,n as w}from"./index.ef6c145a.js";import{d as $}from"./userData.bcc92478.js";const D="/assets/passes/generic.png",F=e("div",{class:"text-xl mb-4"},[e("h4",null,"AC = Web Access Code"),e("h4",null,"NFC-ID = Internal ID for card0.txt")],-1),A={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},B={class:"flex justify-between md:grid md:gap-2 mb-4 items-center"},I=e("img",{src:D,class:"w-24 md:w-auto"},null,-1),N={class:"text-xl text-center font-mono"},S={class:"grid grid-cols-3 md:grid-cols-2 gap-2"},O={__name:"CardsView",setup(V){const _=u();var c=p([]);g(async()=>{try{const a=await _.getCards();c.value=a}catch(a){console.error("Failed to fetch card data:",a)}});const r=a=>{navigator.clipboard.writeText(a).then(()=>{alert("Copied to clipboard!")}).catch(()=>{alert("Failed to copy to clipboard!")})};return(a,j)=>(o(),f(w,null,{default:i(()=>[s(y,null,{default:i(()=>[s(C,{class:"mb-6","use-small":"","even-smaller":""}),s(h,{icon:l(b),title:"Login Cards",main:""},null,8,["icon"]),F,e("div",A,[(o(!0),d(k,null,x(l(c),t=>(o(),d("div",{key:t.id,class:"grid dark:bg-slate-900/70 rounded-2xl p-5"},[e("div",B,[I,e("h1",N,v(l($)(t.encoded)),1)]),e("div",S,[s(n,{color:"info",label:"Copy AC",onClick:m=>r(t.encoded)},null,8,["onClick"]),s(n,{color:"info",label:"Copy NFC-ID",onClick:m=>r(t.id)},null,8,["onClick"]),s(n,{color:"danger",label:"Delete"})])]))),128))])]),_:1})]),_:1}))}};export{O as default};
+import{u,r as p,o as g,a as o,c as f,w as i,b as s,O as C,P as h,e as l,$ as b,g as e,i as d,j as x,t as v,f as n,F as k,l as y,n as w}from"./index.245a4617.js";import{d as $}from"./userData.bcc92478.js";const D="/assets/passes/generic.png",F=e("div",{class:"text-xl mb-4"},[e("h4",null,"AC = Web Access Code"),e("h4",null,"NFC-ID = Internal ID for card0.txt")],-1),A={class:"grid grid-cols-1 md:grid-cols-3 gap-6"},B={class:"flex justify-between md:grid md:gap-2 mb-4 items-center"},I=e("img",{src:D,class:"w-24 md:w-auto"},null,-1),N={class:"text-xl text-center font-mono"},S={class:"grid grid-cols-3 md:grid-cols-2 gap-2"},O={__name:"CardsView",setup(V){const _=u();var c=p([]);g(async()=>{try{const a=await _.getCards();c.value=a}catch(a){console.error("Failed to fetch card data:",a)}});const r=a=>{navigator.clipboard.writeText(a).then(()=>{alert("Copied to clipboard!")}).catch(()=>{alert("Failed to copy to clipboard!")})};return(a,j)=>(o(),f(w,null,{default:i(()=>[s(y,null,{default:i(()=>[s(C,{class:"mb-6","use-small":"","even-smaller":""}),s(h,{icon:l(b),title:"Login Cards",main:""},null,8,["icon"]),F,e("div",A,[(o(!0),d(k,null,x(l(c),t=>(o(),d("div",{key:t.id,class:"grid dark:bg-slate-900/70 rounded-2xl p-5"},[e("div",B,[I,e("h1",N,v(l($)(t.encoded)),1)]),e("div",S,[s(n,{color:"info",label:"Copy AC",onClick:m=>r(t.encoded)},null,8,["onClick"]),s(n,{color:"info",label:"Copy NFC-ID",onClick:m=>r(t.id)},null,8,["onClick"]),s(n,{color:"danger",label:"Delete"})])]))),128))])]),_:1})]),_:1}))}};export{O as default};
diff --git a/assets/EditView.d1ac0039.js b/assets/EditView.0fdd5eaf.js
similarity index 96%
rename from assets/EditView.d1ac0039.js
rename to assets/EditView.0fdd5eaf.js
index 59e5406..dc2fee2 100644
--- a/assets/EditView.d1ac0039.js
+++ b/assets/EditView.0fdd5eaf.js
@@ -1,4 +1,4 @@
-import{r as y,s as P,N as S,ar as R,a,c as t,w as f,g as d,b as u,f as k,R as U,i as x,F as j,j as N,_ as Q,u as q,ad as G,o as z,e as h,m as F,k as p,P as A,as as I,ac as K,l as M,n as O,p as D,q as H}from"./index.ef6c145a.js";import{b as L,U as T,_ as J}from"./ProfileCard.206878f8.js";import{_ as C}from"./FormField.e32df112.js";import{_ as W}from"./FormCheckRadio.9bd4e29f.js";import{_ as w}from"./FormControl.3fead597.js";import"./userData.bcc92478.js";const X={class:"grid md:grid-cols-2 space-y-6 align-center"},Y={class:"place-self-center"},Z={class:"space-x-2"},ee={__name:"EmblemCardBox",props:{profile:{type:Object,default:null},version:{type:Number,default:14}},setup(E){var m,B;const i=E,_=y(i.profile),b=y(i.version),c=y(0),r=P(g((B=(m=_.value)==null?void 0:m.last)==null?void 0:B.emblem)),s=y([]);S(()=>i.version,()=>{var e;_.value=i.profile,b.value=i.version,l(),r.value=g((e=_.value.last)==null?void 0:e.emblem)}),S(r,()=>{c.value++},{deep:!0}),l();function l(){R.get(`https://web3.phaseii.network/gameassets/emblems/${b.value}.json`).then(e=>{e.data&&(s.value=e.data)}).catch(e=>{console.log(e.message)})}function g(e){return e?{background:e[0],main:e[1],ornament:e[2],effect:e[3],speech_bubble:e[4]}:{background:0,main:0,ornament:0,effect:0,speech_bubble:0}}function $(e){return e?[e.background,e.main,e.ornament,e.effect,e.speech_bubble]:[0,0,0,0,0]}return(e,n)=>(a(),t(Q,{class:"mt-6"},{footer:f(()=>[d("div",Z,[u(k,{type:"submit",color:"success",label:"Save"}),u(k,{type:"submit",color:"danger",label:"Revert"})])]),default:f(()=>[u(U,{color:"info",label:"Emblem",class:"mb-2"}),d("div",X,[d("div",null,[(a(!0),x(j,null,N(s.value,v=>(a(),t(C,{key:v.id,label:v.name,help:v.help},{default:f(()=>[u(w,{modelValue:r[v.id],"onUpdate:modelValue":V=>r[v.id]=V,options:v.options},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1032,["label","help"]))),128))]),d("div",Y,[(a(),t(L,{key:c.value,version:b.value,profile:{last:{emblem:$(r)}},size:300},null,8,["version","profile"]))])])]),_:1}))}},le={class:"grid md:grid-cols-2 space-y-6 align-center"},se={class:"place-self-center"},ae={class:"space-x-2"},re={__name:"QproCardBox",props:{profile:{type:Object,default:null},version:{type:Number,default:14}},setup(E){var g,$;const i=E,_=y(i.profile),b=y(i.version),c=y(0),r=P(($=(g=_.value)==null?void 0:g.qpro)!=null?$:{head:0,hair:0,face:0,body:0,hand:0}),s=y([]);S(()=>i.version,()=>{var m;_.value=i.profile,l(),r.value=(m=_.value)==null?void 0:m.qpro}),S(()=>i.version,()=>{b.value=i.version}),S(r,()=>{c.value++},{deep:!0}),l();function l(){R.get(`https://web3.phaseii.network/gameassets/qpro/${b.value}.json`).then(m=>{m.data&&(s.value=m.data)}).catch(m=>{console.log(m.message)})}return(m,B)=>(a(),t(Q,{class:"mt-6"},{footer:f(()=>[d("div",ae,[u(k,{type:"submit",color:"success",label:"Save"}),u(k,{type:"submit",color:"danger",label:"Revert"})])]),default:f(()=>[u(U,{color:"info",label:"QPro",class:"mb-2"}),d("div",le,[d("div",null,[(a(!0),x(j,null,N(s.value,e=>(a(),t(C,{key:e.id,label:e.name,help:e.help},{default:f(()=>[u(w,{modelValue:r[e.id],"onUpdate:modelValue":n=>r[e.id]=n,options:e.options},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1032,["label","help"]))),128))]),d("div",se,[(a(),t(T,{key:c.value,version:b.value,profile:{qpro:r},style:{scale:"1.9"},class:"my-16 mb-10"},null,8,["version","profile"]))])])]),_:1}))}},oe={class:"md:flex pb-6 md:justify-between md:items-center"},ne={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},te=d("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ue={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},ie={class:"w-full"},ce={key:2},de={class:"space-x-2"},he={__name:"EditView",setup(E){const i=D(),_=H(),b=q();var c=null,r=null;const s=P({currentVersion:null});S(()=>s.currentVersion,()=>{e()}),c=i.params.game,r=G(c),r||_.push({name:"ErrorPage",params:{catchAll:"404"}}),r.versions||(s.currentVersion=1);const l=y(null);z(()=>{e()});var g=[{id:"name",name:"Username",help:"Set your username for this profile",type:String}];function $(){var n=null;return s.currentVersion?n=`/assets/games/${r.id}/card/${s.currentVersion}.png`:n=r.cardBG,n}function m(){return`
+import{r as y,s as P,N as S,ar as R,a,c as t,w as f,g as d,b as u,f as k,R as U,i as x,F as j,j as N,_ as Q,u as q,ad as G,o as z,e as h,m as F,k as p,P as A,as as I,ac as K,l as M,n as O,p as D,q as H}from"./index.245a4617.js";import{b as L,U as T,_ as J}from"./ProfileCard.b5c0184d.js";import{_ as C}from"./FormField.b3adf7d6.js";import{_ as W}from"./FormCheckRadio.7997f514.js";import{_ as w}from"./FormControl.e52bf3bc.js";import"./userData.bcc92478.js";const X={class:"grid md:grid-cols-2 space-y-6 align-center"},Y={class:"place-self-center"},Z={class:"space-x-2"},ee={__name:"EmblemCardBox",props:{profile:{type:Object,default:null},version:{type:Number,default:14}},setup(E){var m,B;const i=E,_=y(i.profile),b=y(i.version),c=y(0),r=P(g((B=(m=_.value)==null?void 0:m.last)==null?void 0:B.emblem)),s=y([]);S(()=>i.version,()=>{var e;_.value=i.profile,b.value=i.version,l(),r.value=g((e=_.value.last)==null?void 0:e.emblem)}),S(r,()=>{c.value++},{deep:!0}),l();function l(){R.get(`https://web3.phaseii.network/gameassets/emblems/${b.value}.json`).then(e=>{e.data&&(s.value=e.data)}).catch(e=>{console.log(e.message)})}function g(e){return e?{background:e[0],main:e[1],ornament:e[2],effect:e[3],speech_bubble:e[4]}:{background:0,main:0,ornament:0,effect:0,speech_bubble:0}}function $(e){return e?[e.background,e.main,e.ornament,e.effect,e.speech_bubble]:[0,0,0,0,0]}return(e,n)=>(a(),t(Q,{class:"mt-6"},{footer:f(()=>[d("div",Z,[u(k,{type:"submit",color:"success",label:"Save"}),u(k,{type:"submit",color:"danger",label:"Revert"})])]),default:f(()=>[u(U,{color:"info",label:"Emblem",class:"mb-2"}),d("div",X,[d("div",null,[(a(!0),x(j,null,N(s.value,v=>(a(),t(C,{key:v.id,label:v.name,help:v.help},{default:f(()=>[u(w,{modelValue:r[v.id],"onUpdate:modelValue":V=>r[v.id]=V,options:v.options},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1032,["label","help"]))),128))]),d("div",Y,[(a(),t(L,{key:c.value,version:b.value,profile:{last:{emblem:$(r)}},size:300},null,8,["version","profile"]))])])]),_:1}))}},le={class:"grid md:grid-cols-2 space-y-6 align-center"},se={class:"place-self-center"},ae={class:"space-x-2"},re={__name:"QproCardBox",props:{profile:{type:Object,default:null},version:{type:Number,default:14}},setup(E){var g,$;const i=E,_=y(i.profile),b=y(i.version),c=y(0),r=P(($=(g=_.value)==null?void 0:g.qpro)!=null?$:{head:0,hair:0,face:0,body:0,hand:0}),s=y([]);S(()=>i.version,()=>{var m;_.value=i.profile,l(),r.value=(m=_.value)==null?void 0:m.qpro}),S(()=>i.version,()=>{b.value=i.version}),S(r,()=>{c.value++},{deep:!0}),l();function l(){R.get(`https://web3.phaseii.network/gameassets/qpro/${b.value}.json`).then(m=>{m.data&&(s.value=m.data)}).catch(m=>{console.log(m.message)})}return(m,B)=>(a(),t(Q,{class:"mt-6"},{footer:f(()=>[d("div",ae,[u(k,{type:"submit",color:"success",label:"Save"}),u(k,{type:"submit",color:"danger",label:"Revert"})])]),default:f(()=>[u(U,{color:"info",label:"QPro",class:"mb-2"}),d("div",le,[d("div",null,[(a(!0),x(j,null,N(s.value,e=>(a(),t(C,{key:e.id,label:e.name,help:e.help},{default:f(()=>[u(w,{modelValue:r[e.id],"onUpdate:modelValue":n=>r[e.id]=n,options:e.options},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1032,["label","help"]))),128))]),d("div",se,[(a(),t(T,{key:c.value,version:b.value,profile:{qpro:r},style:{scale:"1.9"},class:"my-16 mb-10"},null,8,["version","profile"]))])])]),_:1}))}},oe={class:"md:flex pb-6 md:justify-between md:items-center"},ne={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},te=d("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),ue={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},ie={class:"w-full"},ce={key:2},de={class:"space-x-2"},he={__name:"EditView",setup(E){const i=D(),_=H(),b=q();var c=null,r=null;const s=P({currentVersion:null});S(()=>s.currentVersion,()=>{e()}),c=i.params.game,r=G(c),r||_.push({name:"ErrorPage",params:{catchAll:"404"}}),r.versions||(s.currentVersion=1);const l=y(null);z(()=>{e()});var g=[{id:"name",name:"Username",help:"Set your username for this profile",type:String}];function $(){var n=null;return s.currentVersion?n=`/assets/games/${r.id}/card/${s.currentVersion}.png`:n=r.cardBG,n}function m(){return`
background-image: url('${$()}');
background-size: cover;
background-repeat: no-repeat;
diff --git a/assets/ErrorView.eaeb20fd.js b/assets/ErrorView.a1a42e71.js
similarity index 93%
rename from assets/ErrorView.eaeb20fd.js
rename to assets/ErrorView.a1a42e71.js
index b0cce0a..0fb9203 100644
--- a/assets/ErrorView.eaeb20fd.js
+++ b/assets/ErrorView.a1a42e71.js
@@ -1 +1 @@
-import{a,c as l,w as s,g as e,b as t,f as o,_ as r,z as c}from"./index.ef6c145a.js";import{_ as n}from"./LayoutGuest.935550c8.js";const d={class:"flex md:min-h-screen md:items-center md:justify-center"},i={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Broken since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(a(),l(n,null,{default:s(()=>[e("div",d,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",i,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default};
+import{a,c as l,w as s,g as e,b as t,f as o,_ as r,z as c}from"./index.245a4617.js";import{_ as n}from"./LayoutGuest.ad451616.js";const d={class:"flex md:min-h-screen md:items-center md:justify-center"},i={class:"p-4 flex flex-col w-full space-y-2"},_=e("div",{class:"flex flex-col items-center text-wrap h-full"},[e("img",{src:c,class:"rounded-full shadow-lg mb-2"}),e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")]),e("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Broken since 2021 "),e("hr",{class:"border-t border-1 my-1 w-full"}),e("p",{class:"text-lg relative bottom-0"},"404 - File not found")],-1),m=e("h2",{class:"mb-2"}," The server was unable to locate the page you're trying to go to. ",-1),w={__name:"ErrorView",setup(f){return(u,h)=>(a(),l(n,null,{default:s(()=>[e("div",d,[t(r,{class:"w-full md:w-auto rounded-none md:rounded-xl","has-table":"","is-auth":""},{default:s(()=>[e("div",i,[_,e("div",null,[m,t(o,{label:"Home",color:"info",href:"/"})])])]),_:1})])]),_:1}))}};export{w as default};
diff --git a/assets/EventView.36f0af1c.js b/assets/EventView.9846e62f.js
similarity index 93%
rename from assets/EventView.36f0af1c.js
rename to assets/EventView.9846e62f.js
index 133a228..6b47b70 100644
--- a/assets/EventView.36f0af1c.js
+++ b/assets/EventView.9846e62f.js
@@ -1 +1 @@
-import{u as G,r as g,o as N,s as U,N as w,a as l,c as r,w as d,b as s,i as u,P as E,e as O,a8 as A,_ as F,g as i,k as m,Y as M,t as P,F as h,j,f as D,l as T,n as W,p as L,ad as v,ae as Q}from"./index.ef6c145a.js";import{_ as R}from"./ArcadeCard.687fa394.js";import{_ as y}from"./FormField.e32df112.js";import{_ as c}from"./FormControl.3fead597.js";import{_ as X}from"./FormCheckRadio.9bd4e29f.js";const Y={class:"mb-4"},q={class:"grid md:grid-cols-2 gap-4"},z=i("p",{class:"pb-2 text-lg"},"Game",-1),H={key:0},J=i("p",{class:"pb-2 text-lg"},"Version",-1),K={key:0},Z={class:"text-xl"},ee=i("hr",{class:"pb-1 my-2"},null,-1),ie={__name:"EventView",setup(ae){const b=G(),f=g({}),_=g(!0),V=L(),S=parseInt(V.params.id);N(async()=>{try{const t=await b.getArcade(S);f.value=t,_.value=!1}catch(t){console.log("Failed to fetch arcade data:",t)}});const p=[{id:"iidx",versions:[{id:22,settings:[{id:0,keyId:"coke",type:Boolean,name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:Array,name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]}]},{id:"dm",versions:[{id:18,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]},{id:17,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}]}],o=U({game:null,version:null});function k(){var t=[];for(const a of Q)p.find(n=>n.id==a.id)&&t.push(a.id);return t}function I(){var t=[];const a=k();for(const e of a)t.push({id:e,label:v(e).name});return t}function $(){const t=p.find(e=>e.id==o.game);var a=[];for(const e of t.versions){const n=v(o.game).versions.find(C=>C.id==e.id);a.push({id:e.id,label:n.label})}return a}function x(){return p.find(a=>a.id==o.game).versions.find(a=>a.id==o.version)}function B(){const t=v(o.game),a=t.versions.find(e=>e.id==o.version);return`${t.name} ${a.label}`}return w(()=>o.game,()=>{o.version=null}),(t,a)=>(l(),r(W,null,{default:d(()=>[s(T,null,{default:d(()=>[_.value?m("",!0):(l(),u(h,{key:0},[s(R,{class:"mb-6",arcade:f.value,"use-small":!0},null,8,["arcade"]),s(E,{icon:O(A),title:"Game Event Settings",main:""},null,8,["icon"]),s(F,{class:"mb-6"},{default:d(()=>[i("div",Y,[s(y,{label:"Select Game",help:"Pick a game and version to get started."},{default:d(()=>[i("div",q,[i("div",null,[z,s(c,{modelValue:o.game,"onUpdate:modelValue":a[0]||(a[0]=e=>o.game=e),name:"game",options:I()},null,8,["modelValue","options"])]),o.game?(l(),u("div",H,[J,s(c,{modelValue:o.version,"onUpdate:modelValue":a[1]||(a[1]=e=>o.version=e),name:"version",options:$()},null,8,["modelValue","options"])])):m("",!0)])]),_:1})]),o.game&&o.version?(l(),u("div",K,[i("h2",Z,[M(" Settings for "),i("b",null,P(B()),1)]),ee,(l(!0),u(h,null,j(x().settings,e=>(l(),r(y,{key:e.id,label:e.name,help:e.tooltip},{default:d(()=>[e.type==String?(l(),r(c,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type==Boolean?(l(),r(X,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):m("",!0),e.type==Array?(l(),r(c,{key:2,modelValue:e.options[e.value],"onUpdate:modelValue":n=>e.options[e.value]=n,name:e.keyId,options:e.options,placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):m("",!0)]),_:2},1032,["label","help"]))),128)),s(D,{color:"success",type:"submit",label:"Save",small:!1})])):m("",!0)]),_:1})],64))]),_:1})]),_:1}))}};export{ie as default};
+import{u as G,r as g,o as N,s as U,N as w,a as l,c as r,w as d,b as s,i as u,P as E,e as O,a8 as A,_ as F,g as i,k as m,Y as M,t as P,F as h,j,f as D,l as T,n as W,p as L,ad as v,ae as Q}from"./index.245a4617.js";import{_ as R}from"./ArcadeCard.39cecb4a.js";import{_ as y}from"./FormField.b3adf7d6.js";import{_ as c}from"./FormControl.e52bf3bc.js";import{_ as X}from"./FormCheckRadio.7997f514.js";const Y={class:"mb-4"},q={class:"grid md:grid-cols-2 gap-4"},z=i("p",{class:"pb-2 text-lg"},"Game",-1),H={key:0},J=i("p",{class:"pb-2 text-lg"},"Version",-1),K={key:0},Z={class:"text-xl"},ee=i("hr",{class:"pb-1 my-2"},null,-1),ie={__name:"EventView",setup(ae){const b=G(),f=g({}),_=g(!0),V=L(),S=parseInt(V.params.id);N(async()=>{try{const t=await b.getArcade(S);f.value=t,_.value=!1}catch(t){console.log("Failed to fetch arcade data:",t)}});const p=[{id:"iidx",versions:[{id:22,settings:[{id:0,keyId:"coke",type:Boolean,name:"Enable Coke-X-BEMANI",tooltip:"Enables the long forgotten Coca-Cola event.",value:!0},{id:1,keyId:"phase",type:Array,name:"Current BOSS Phase",tooltip:"Set the main game event.",options:[{id:0,label:"No Event"},{id:1,label:"Chrono Seeker"},{id:2,label:"QPronicle Chord"}],value:1}]}]},{id:"dm",versions:[{id:18,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]},{id:17,settings:[{id:0,keyId:"banner",type:String,name:"Title Screen Banner",tooltip:"Set the text for the banner.",value:""}]}]}],o=U({game:null,version:null});function k(){var t=[];for(const a of Q)p.find(n=>n.id==a.id)&&t.push(a.id);return t}function I(){var t=[];const a=k();for(const e of a)t.push({id:e,label:v(e).name});return t}function $(){const t=p.find(e=>e.id==o.game);var a=[];for(const e of t.versions){const n=v(o.game).versions.find(C=>C.id==e.id);a.push({id:e.id,label:n.label})}return a}function x(){return p.find(a=>a.id==o.game).versions.find(a=>a.id==o.version)}function B(){const t=v(o.game),a=t.versions.find(e=>e.id==o.version);return`${t.name} ${a.label}`}return w(()=>o.game,()=>{o.version=null}),(t,a)=>(l(),r(W,null,{default:d(()=>[s(T,null,{default:d(()=>[_.value?m("",!0):(l(),u(h,{key:0},[s(R,{class:"mb-6",arcade:f.value,"use-small":!0},null,8,["arcade"]),s(E,{icon:O(A),title:"Game Event Settings",main:""},null,8,["icon"]),s(F,{class:"mb-6"},{default:d(()=>[i("div",Y,[s(y,{label:"Select Game",help:"Pick a game and version to get started."},{default:d(()=>[i("div",q,[i("div",null,[z,s(c,{modelValue:o.game,"onUpdate:modelValue":a[0]||(a[0]=e=>o.game=e),name:"game",options:I()},null,8,["modelValue","options"])]),o.game?(l(),u("div",H,[J,s(c,{modelValue:o.version,"onUpdate:modelValue":a[1]||(a[1]=e=>o.version=e),name:"version",options:$()},null,8,["modelValue","options"])])):m("",!0)])]),_:1})]),o.game&&o.version?(l(),u("div",K,[i("h2",Z,[M(" Settings for "),i("b",null,P(B()),1)]),ee,(l(!0),u(h,null,j(x().settings,e=>(l(),r(y,{key:e.id,label:e.name,help:e.tooltip},{default:d(()=>[e.type==String?(l(),r(c,{key:0,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"model-value":e.value,name:e.keyId,placeholder:"Not Set"},null,8,["modelValue","onUpdate:modelValue","model-value","name"])):e.type==Boolean?(l(),r(X,{key:1,modelValue:e.value,"onUpdate:modelValue":n=>e.value=n,"input-value":e.value,type:"switch",name:e.keyId},null,8,["modelValue","onUpdate:modelValue","input-value","name"])):m("",!0),e.type==Array?(l(),r(c,{key:2,modelValue:e.options[e.value],"onUpdate:modelValue":n=>e.options[e.value]=n,name:e.keyId,options:e.options,placeholder:"Select..."},null,8,["modelValue","onUpdate:modelValue","name","options"])):m("",!0)]),_:2},1032,["label","help"]))),128)),s(D,{color:"success",type:"submit",label:"Save",small:!1})])):m("",!0)]),_:1})],64))]),_:1})]),_:1}))}};export{ie as default};
diff --git a/assets/FormCheckRadio.9bd4e29f.js b/assets/FormCheckRadio.7997f514.js
similarity index 92%
rename from assets/FormCheckRadio.9bd4e29f.js
rename to assets/FormCheckRadio.7997f514.js
index 11b2670..02c7c4e 100644
--- a/assets/FormCheckRadio.9bd4e29f.js
+++ b/assets/FormCheckRadio.7997f514.js
@@ -1 +1 @@
-import{A as s,a as d,i as p,B as m,C as y,e as u,g as t,D as h,t as V,y as b}from"./index.ef6c145a.js";const g=["type","name","value"],f=t("span",{class:"check"},null,-1),k={class:"pl-2"},B={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,a=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:b(e.type)},[m(t("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>h(a)?a.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,g),[[y,u(a)]]),f,t("span",k,V(e.label),1)],2))}};export{B as _};
+import{A as s,a as d,i as p,B as m,C as y,e as u,g as t,D as h,t as V,y as b}from"./index.245a4617.js";const g=["type","name","value"],f=t("span",{class:"check"},null,-1),k={class:"pl-2"},B={__name:"FormCheckRadio",props:{name:{type:String,required:!0},type:{type:String,default:"checkbox",validator:e=>["checkbox","radio","switch"].includes(e)},label:{type:String,default:null},modelValue:{type:[Array,String,Number,Boolean],default:null},inputValue:{type:[String,Number,Boolean],required:!0}},emits:["update:modelValue"],setup(e,{emit:i}){const l=e,a=s({get:()=>l.modelValue,set:n=>{i("update:modelValue",n)}}),r=s(()=>l.type==="radio"?"radio":"checkbox");return(n,o)=>(d(),p("label",{class:b(e.type)},[m(t("input",{"onUpdate:modelValue":o[0]||(o[0]=c=>h(a)?a.value=c:null),type:u(r),name:e.name,value:e.inputValue},null,8,g),[[y,u(a)]]),f,t("span",k,V(e.label),1)],2))}};export{B as _};
diff --git a/assets/FormControl.3fead597.js b/assets/FormControl.e52bf3bc.js
similarity index 97%
rename from assets/FormControl.3fead597.js
rename to assets/FormControl.e52bf3bc.js
index cd100f7..8c80bf4 100644
--- a/assets/FormControl.3fead597.js
+++ b/assets/FormControl.e52bf3bc.js
@@ -1 +1 @@
-import{a as r,c as B,H as V,A as m,u as R,r as p,o as w,I as q,i as s,e as a,B as h,J as C,D as g,y as v,F as D,j as M,t as K,K as U,C as A,k as H}from"./index.ef6c145a.js";const I={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},L={class:"relative"},j=["id","name"],z=["value"],N=["id","name","maxlength","placeholder","required"],T=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],J={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-blue-700 dark:border-blue-500 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",L,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(D,null,M(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,z)}),128))],10,j)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,N)),[[U,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,T)),[[A,a(o)]]),e.icon?(r(),B(I,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):H("",!0)]))}};export{J as _};
+import{a as r,c as B,H as V,A as m,u as R,r as p,o as w,I as q,i as s,e as a,B as h,J as C,D as g,y as v,F as D,j as M,t as K,K as U,C as A,k as H}from"./index.245a4617.js";const I={__name:"FormControlIcon",props:{icon:{type:String,default:null},h:{type:String,default:null}},setup(e){return(d,n)=>(r(),B(V,{path:e.icon,w:"w-10",h:e.h,class:"absolute top-0 left-0 z-10 pointer-events-none text-gray-500 dark:text-slate-400"},null,8,["path","h"]))}},L={class:"relative"},j=["id","name"],z=["value"],N=["id","name","maxlength","placeholder","required"],T=["id","name","maxlength","inputmode","autocomplete","required","placeholder","type"],J={__name:"FormControl",props:{name:{type:String,default:null},id:{type:String,default:null},autocomplete:{type:String,default:null},maxlength:{type:String,default:null},placeholder:{type:String,default:null},inputmode:{type:String,default:null},icon:{type:String,default:null},options:{type:Array,default:null},type:{type:String,default:"text"},modelValue:{type:[String,Number,Boolean,Array,Object],default:""},required:Boolean,borderless:Boolean,transparent:Boolean,ctrlKFocus:Boolean},emits:["update:modelValue","setRef"],setup(e,{emit:d}){const n=e,o=m({get:()=>n.modelValue,set:u=>{d("update:modelValue",u)}}),f=m(()=>{const u=["px-3 py-2 max-w-full focus:ring focus:outline-none border-blue-700 dark:border-blue-500 rounded w-full","dark:placeholder-gray-400",i.value==="textarea"?"h-24":"h-12",n.borderless?"border-0":"border",n.transparent?"bg-transparent":"bg-white dark:bg-slate-800"];return n.icon&&u.push("pl-10"),u}),i=m(()=>n.options?"select":n.type),E=m(()=>n.type==="textarea"?"h-full":"h-12"),y=R(),x=p(null),k=p(null),c=p(null);if(w(()=>{x.value?d("setRef",x.value):k.value?d("setRef",k.value):d("setRef",c.value)}),n.ctrlKFocus){const u=l=>{l.ctrlKey&&l.key==="k"?(l.preventDefault(),c.value.focus()):l.key==="Escape"&&c.value.blur()};w(()=>{y.isFieldFocusRegistered||(window.addEventListener("keydown",u),y.isFieldFocusRegistered=!0)}),q(()=>{window.removeEventListener("keydown",u),y.isFieldFocusRegistered=!1})}return(u,l)=>(r(),s("div",L,[a(i)==="select"?h((r(),s("select",{key:0,id:e.id,"onUpdate:modelValue":l[0]||(l[0]=t=>g(o)?o.value=t:null),name:e.name,class:v(a(f))},[(r(!0),s(D,null,M(e.options,t=>{var b,S,F;return r(),s("option",{key:(b=t.id)!=null?b:t,value:(S=t.id)!=null?S:t},K((F=t.label)!=null?F:t),9,z)}),128))],10,j)),[[C,a(o)]]):a(i)==="textarea"?h((r(),s("textarea",{key:1,id:e.id,"onUpdate:modelValue":l[1]||(l[1]=t=>g(o)?o.value=t:null),class:v(a(f)),name:e.name,maxlength:e.maxlength,placeholder:e.placeholder,required:e.required},null,10,N)),[[U,a(o)]]):h((r(),s("input",{key:2,id:e.id,ref_key:"inputEl",ref:c,"onUpdate:modelValue":l[2]||(l[2]=t=>g(o)?o.value=t:null),name:e.name,maxlength:e.maxlength,inputmode:e.inputmode,autocomplete:e.autocomplete,required:e.required,placeholder:e.placeholder,type:a(i),class:v(a(f))},null,10,T)),[[A,a(o)]]),e.icon?(r(),B(I,{key:3,icon:e.icon,h:a(E)},null,8,["icon","h"])):H("",!0)]))}};export{J as _};
diff --git a/assets/FormField.e32df112.js b/assets/FormField.b3adf7d6.js
similarity index 91%
rename from assets/FormField.e32df112.js
rename to assets/FormField.b3adf7d6.js
index 1d4124c..4fc3af1 100644
--- a/assets/FormField.e32df112.js
+++ b/assets/FormField.b3adf7d6.js
@@ -1 +1 @@
-import{E as d,A as i,a as l,i as a,t as o,k as r,g as u,G as m,y as f,e as b}from"./index.ef6c145a.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},k={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:f(b(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{k as _};
+import{E as d,A as i,a as l,i as a,t as o,k as r,g as u,G as m,y as f,e as b}from"./index.245a4617.js";const g={class:"mb-6 last:mb-0"},h=["for"],p={key:1,class:"text-xs text-gray-500 dark:text-slate-400 mt-1"},k={__name:"FormField",props:{label:{type:String,default:null},labelFor:{type:String,default:null},help:{type:String,default:null}},setup(e){const n=d(),c=i(()=>{const t=[],s=n.default().length;return s>1&&t.push("grid grid-cols-1 gap-3"),s===2&&t.push("md:grid-cols-2"),t});return(t,s)=>(l(),a("div",g,[e.label?(l(),a("label",{key:0,for:e.labelFor,class:"block font-bold mb-2"},o(e.label),9,h)):r("",!0),u("div",{class:f(b(c))},[m(t.$slots,"default")],2),e.help?(l(),a("div",p,o(e.help),1)):r("",!0)]))}};export{k as _};
diff --git a/assets/GameView.374a1d70.js b/assets/GameView.0fbab29f.js
similarity index 94%
rename from assets/GameView.374a1d70.js
rename to assets/GameView.0fbab29f.js
index 7bd5ec0..b5b4cf9 100644
--- a/assets/GameView.374a1d70.js
+++ b/assets/GameView.0fbab29f.js
@@ -1,4 +1,4 @@
-import{A as N,E as j,a as c,i as m,g as n,b as u,ai as C,t as L,e as a,G as M,k as d,u as E,s as T,N as q,ad as z,r as k,o as H,c as h,w as g,aj as V,F as U,f as P,ak as O,al as X,ac as J,P as K,am as Q,_ as W,l as Y,n as Z,p as ee,q as se}from"./index.ef6c145a.js";import{_ as te}from"./FormControl.3fead597.js";import{_ as ae}from"./ProfileCard.206878f8.js";import{_ as re}from"./GeneralTable.eb99a8fe.js";import{d as le}from"./userData.bcc92478.js";import{g as S}from"./danClass.233b0381.js";const oe={class:"pt-6 mb-6 flex items-center justify-between"},ne={class:"flex items-center justify-start space-x-2"},ie={class:"text-2xl md:text-3xl leading-tight"},ce={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(v){const y=N(()=>j().default);return(_,x)=>(c(),m("section",oe,[n("div",ne,[u(C,{path:v.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),n("h1",ie,L(v.title),1)]),a(y)?M(_.$slots,"default",{key:0}):d("",!0)]))}},ue={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},de={class:"w-full"},fe={class:"md:flex md:px-5 md:space-x-10 md:justify-between md:items-center"},me={key:0,class:"md:w-1/3 md:text-right"},_e=n("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),pe={key:0,class:"w-full pt-6"},he={class:"grid grid-cols-2 gap-6 pt-6"},ge={key:1,class:"md:w-1/2 grid grid-cols-1 md:grid-cols-2 gap-3"},ve={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},ye={class:"w-full"},Se={__name:"GameView",setup(v){const y=ee(),_=se(),x=E();var i=null,t=null;const l=T({currentVersion:null});q(()=>l.currentVersion,()=>{b()}),i=y.params.id,t=z(i),t==null&&_.push({name:"ErrorPage",params:{catchAll:"404"}});const o=k(null),w=k([]);H(async()=>{try{const e=await x.getGameProfiles(i);w.value=G(e)}catch(e){console.error("Failed to fetch profile data:",e)}b()}),t.versions||(l.currentVersion=1);async function b(){try{o.value=null;const e=await x.getUserProfile(i,l.currentVersion);o.value=e,e&&!l.currentVersion&&(l.currentVersion=e.versions[e.versions.length-1])}catch(e){console.error("Failed to fetch user profile data:",e)}}function I(){var e=null;return l.currentVersion?e=`/assets/games/${t.id}/card/${l.currentVersion}.png`:e=t.cardBG,e}function B(){return`
+import{A as N,E as j,a as c,i as m,g as n,b as u,ai as C,t as L,e as a,G as M,k as d,u as E,s as T,N as q,ad as z,r as k,o as H,c as h,w as g,aj as V,F as U,f as P,ak as O,al as X,ac as J,P as K,am as Q,_ as W,l as Y,n as Z,p as ee,q as se}from"./index.245a4617.js";import{_ as te}from"./FormControl.e52bf3bc.js";import{_ as ae}from"./ProfileCard.b5c0184d.js";import{_ as re}from"./GeneralTable.6dd16912.js";import{d as le}from"./userData.bcc92478.js";import{g as S}from"./danClass.233b0381.js";const oe={class:"pt-6 mb-6 flex items-center justify-between"},ne={class:"flex items-center justify-start space-x-2"},ie={class:"text-2xl md:text-3xl leading-tight"},ce={__name:"GameTitleLine",props:{path:{type:String,default:null},title:{type:String,required:!0}},setup(v){const y=N(()=>j().default);return(_,x)=>(c(),m("section",oe,[n("div",ne,[u(C,{path:v.path,class:"w-12 h-12 p-1 drop-shadow-md"},null,8,["path"]),n("h1",ie,L(v.title),1)]),a(y)?M(_.$slots,"default",{key:0}):d("",!0)]))}},ue={class:"bg-white dark:bg-slate-900/90 rounded-2xl p-3"},de={class:"w-full"},fe={class:"md:flex md:px-5 md:space-x-10 md:justify-between md:items-center"},me={key:0,class:"md:w-1/3 md:text-right"},_e=n("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),pe={key:0,class:"w-full pt-6"},he={class:"grid grid-cols-2 gap-6 pt-6"},ge={key:1,class:"md:w-1/2 grid grid-cols-1 md:grid-cols-2 gap-3"},ve={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},ye={class:"w-full"},Se={__name:"GameView",setup(v){const y=ee(),_=se(),x=E();var i=null,t=null;const l=T({currentVersion:null});q(()=>l.currentVersion,()=>{b()}),i=y.params.id,t=z(i),t==null&&_.push({name:"ErrorPage",params:{catchAll:"404"}});const o=k(null),w=k([]);H(async()=>{try{const e=await x.getGameProfiles(i);w.value=G(e)}catch(e){console.error("Failed to fetch profile data:",e)}b()}),t.versions||(l.currentVersion=1);async function b(){try{o.value=null;const e=await x.getUserProfile(i,l.currentVersion);o.value=e,e&&!l.currentVersion&&(l.currentVersion=e.versions[e.versions.length-1])}catch(e){console.error("Failed to fetch user profile data:",e)}}function I(){var e=null;return l.currentVersion?e=`/assets/games/${t.id}/card/${l.currentVersion}.png`:e=t.cardBG,e}function B(){return`
background-image: url('${I()}');
background-size: cover;
background-repeat: no-repeat;
diff --git a/assets/GeneralTable.eb99a8fe.js b/assets/GeneralTable.6dd16912.js
similarity index 91%
rename from assets/GeneralTable.eb99a8fe.js
rename to assets/GeneralTable.6dd16912.js
index 0d749f2..5ab1ba1 100644
--- a/assets/GeneralTable.eb99a8fe.js
+++ b/assets/GeneralTable.6dd16912.js
@@ -1 +1 @@
-import{af as r,a as i,c as n,w as s,g as e,ag as d}from"./index.ef6c145a.js";const m=e("div",{class:"text-center align-center grid"},[e("img",{class:"rounded-full place-self-center",src:d,width:"60"}),e("h1",{class:"text-lg text-gray-100"},"Loading")],-1),h=e("h1",{class:"text-xl text-gray-100"},"No data to show... \u{1F614}",-1),x={__name:"GeneralTable",props:["headers","items"],emits:["row-clicked"],setup(t,{emit:c}){const o=a=>{c("row-clicked",a)};return(a,_)=>{const l=r("EasyDataTable");return i(),n(l,{headers:t.headers,items:t.items,"theme-color":"#c0c7d2","table-class-name":"customize-table","header-text-direction":"left","body-text-direction":"left",onClickRow:o},{loading:s(()=>[m]),"empty-message":s(()=>[h]),_:1},8,["headers","items"])}}};export{x as _};
+import{af as r,a as i,c as n,w as s,g as e,ag as d}from"./index.245a4617.js";const m=e("div",{class:"text-center align-center grid"},[e("img",{class:"rounded-full place-self-center",src:d,width:"60"}),e("h1",{class:"text-lg text-gray-100"},"Loading")],-1),h=e("h1",{class:"text-xl text-gray-100"},"No data to show... \u{1F614}",-1),x={__name:"GeneralTable",props:["headers","items"],emits:["row-clicked"],setup(t,{emit:c}){const o=a=>{c("row-clicked",a)};return(a,_)=>{const l=r("EasyDataTable");return i(),n(l,{headers:t.headers,items:t.items,"theme-color":"#c0c7d2","table-class-name":"customize-table","header-text-direction":"left","body-text-direction":"left",onClickRow:o},{loading:s(()=>[m]),"empty-message":s(()=>[h]),_:1},8,["headers","items"])}}};export{x as _};
diff --git a/assets/IntegrationView.c80d4b84.js b/assets/IntegrationView.484306b2.js
similarity index 96%
rename from assets/IntegrationView.c80d4b84.js
rename to assets/IntegrationView.484306b2.js
index b15db4f..abebbf2 100644
--- a/assets/IntegrationView.c80d4b84.js
+++ b/assets/IntegrationView.484306b2.js
@@ -1 +1 @@
-import{u as h,r as f,N as b,a,c as l,w as t,b as i,O as y,P as p,e as r,W as g,g as o,_,f as c,k as s,R as m,X as x,i as n,Y as k,t as v,Z as N,l as w,n as D}from"./index.ef6c145a.js";const $={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},S={key:0,class:"text-lg"},V={key:1,class:"text-lg"},B={class:"space-x-2"},K={key:0,class:"text-lg"},R={key:1,class:"text-lg"},C={class:"space-x-2"},U={__name:"IntegrationView",setup(I){const d=h(),e=f(d.userData);return b(()=>d.userData,u=>{e.value=u}),(u,L)=>(a(),l(D,null,{default:t(()=>[i(w,null,{default:t(()=>[i(y,{class:"mb-6","use-small":"","even-smaller":""}),i(p,{icon:r(g),title:"Server Integrations",main:""},null,8,["icon"]),o("div",$,[i(_,null,{footer:t(()=>[o("div",B,[!e.value.discord||!e.value.discord.linked?(a(),l(c,{key:0,type:"submit",color:"success",label:"Link Now"})):s("",!0),e.value.discord&&e.value.discord.linked?(a(),l(c,{key:1,type:"submit",color:"info",label:"Relink"})):s("",!0),e.value.discord&&e.value.discord.linked?(a(),l(c,{key:2,type:"submit",color:"danger",label:"Unlink"})):s("",!0)])]),default:t(()=>[i(m,{color:"info",icon:r(x),label:"Discord",class:"mb-2"},null,8,["icon"]),e.value.discord&&e.value.discord.linked?(a(),n("h1",S,[k(" Discord is linked to "),o("b",null,v(e.value.discord.username),1)])):s("",!0),!e.value.discord||!e.value.discord.linked?(a(),n("h1",V," Discord isn't linked! ")):s("",!0)]),_:1}),i(_,null,{footer:t(()=>[o("div",C,[!e.value.tachi||!e.value.tachi.linked?(a(),l(c,{key:0,type:"submit",color:"success",label:"Link Now"})):s("",!0),e.value.tachi&&e.value.tachi.linked?(a(),l(c,{key:1,type:"submit",color:"info",label:"Relink"})):s("",!0),e.value.tachi&&e.value.tachi.linked?(a(),l(c,{key:2,type:"submit",color:"danger",label:"Unlink"})):s("",!0)])]),default:t(()=>[i(m,{icon:r(N),color:"info",label:"Kamaitachi",class:"mb-2"},null,8,["icon"]),e.value.tachi&&e.value.tachi.linked?(a(),n("h1",K,[k(" Kamaitachi is linked to "),o("b",null,v(e.value.tachi.username),1)])):s("",!0),!e.value.tachi||!e.value.tachi.linked?(a(),n("h1",R," Kamaitachi isn't linked! ")):s("",!0)]),_:1})])]),_:1})]),_:1}))}};export{U as default};
+import{u as h,r as f,N as b,a,c as l,w as t,b as i,O as y,P as p,e as r,W as g,g as o,_,f as c,k as s,R as m,X as x,i as n,Y as k,t as v,Z as N,l as w,n as D}from"./index.245a4617.js";const $={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},S={key:0,class:"text-lg"},V={key:1,class:"text-lg"},B={class:"space-x-2"},K={key:0,class:"text-lg"},R={key:1,class:"text-lg"},C={class:"space-x-2"},U={__name:"IntegrationView",setup(I){const d=h(),e=f(d.userData);return b(()=>d.userData,u=>{e.value=u}),(u,L)=>(a(),l(D,null,{default:t(()=>[i(w,null,{default:t(()=>[i(y,{class:"mb-6","use-small":"","even-smaller":""}),i(p,{icon:r(g),title:"Server Integrations",main:""},null,8,["icon"]),o("div",$,[i(_,null,{footer:t(()=>[o("div",B,[!e.value.discord||!e.value.discord.linked?(a(),l(c,{key:0,type:"submit",color:"success",label:"Link Now"})):s("",!0),e.value.discord&&e.value.discord.linked?(a(),l(c,{key:1,type:"submit",color:"info",label:"Relink"})):s("",!0),e.value.discord&&e.value.discord.linked?(a(),l(c,{key:2,type:"submit",color:"danger",label:"Unlink"})):s("",!0)])]),default:t(()=>[i(m,{color:"info",icon:r(x),label:"Discord",class:"mb-2"},null,8,["icon"]),e.value.discord&&e.value.discord.linked?(a(),n("h1",S,[k(" Discord is linked to "),o("b",null,v(e.value.discord.username),1)])):s("",!0),!e.value.discord||!e.value.discord.linked?(a(),n("h1",V," Discord isn't linked! ")):s("",!0)]),_:1}),i(_,null,{footer:t(()=>[o("div",C,[!e.value.tachi||!e.value.tachi.linked?(a(),l(c,{key:0,type:"submit",color:"success",label:"Link Now"})):s("",!0),e.value.tachi&&e.value.tachi.linked?(a(),l(c,{key:1,type:"submit",color:"info",label:"Relink"})):s("",!0),e.value.tachi&&e.value.tachi.linked?(a(),l(c,{key:2,type:"submit",color:"danger",label:"Unlink"})):s("",!0)])]),default:t(()=>[i(m,{icon:r(N),color:"info",label:"Kamaitachi",class:"mb-2"},null,8,["icon"]),e.value.tachi&&e.value.tachi.linked?(a(),n("h1",K,[k(" Kamaitachi is linked to "),o("b",null,v(e.value.tachi.username),1)])):s("",!0),!e.value.tachi||!e.value.tachi.linked?(a(),n("h1",R," Kamaitachi isn't linked! ")):s("",!0)]),_:1})])]),_:1})]),_:1}))}};export{U as default};
diff --git a/assets/LayoutGuest.935550c8.js b/assets/LayoutGuest.ad451616.js
similarity index 81%
rename from assets/LayoutGuest.935550c8.js
rename to assets/LayoutGuest.ad451616.js
index 0fc747c..58b267b 100644
--- a/assets/LayoutGuest.935550c8.js
+++ b/assets/LayoutGuest.ad451616.js
@@ -1 +1 @@
-import{L as t,a as o,i as n,g as e,G as r,y as _,e as d}from"./index.ef6c145a.js";const l={class:"bg-gray-950 dark:text-slate-100"},c={class:"animated animatedFadeInUp fadeInUp"},m={__name:"LayoutGuest",setup(i){const a=t();return(s,u)=>(o(),n("div",{class:_({dark:d(a).darkMode})},[e("div",l,[e("div",c,[r(s.$slots,"default")])])],2))}};export{m as _};
+import{L as t,a as o,i as n,g as e,G as r,y as _,e as d}from"./index.245a4617.js";const l={class:"bg-gray-950 dark:text-slate-100"},c={class:"animated animatedFadeInUp fadeInUp"},m={__name:"LayoutGuest",setup(i){const a=t();return(s,u)=>(o(),n("div",{class:_({dark:d(a).darkMode})},[e("div",l,[e("div",c,[r(s.$slots,"default")])])],2))}};export{m as _};
diff --git a/assets/LoginView.51656386.js b/assets/LoginView.578be74c.js
similarity index 89%
rename from assets/LoginView.51656386.js
rename to assets/LoginView.578be74c.js
index 6cc3276..75a5759 100644
--- a/assets/LoginView.51656386.js
+++ b/assets/LoginView.578be74c.js
@@ -1 +1 @@
-import{u as _,s as f,a as x,c as b,w as a,g as e,b as o,e as n,v as g,x as h,f as r,y as w,_ as v,z as V,q as y}from"./index.ef6c145a.js";import{_ as $}from"./FormCheckRadio.9bd4e29f.js";import{_ as i}from"./FormField.e32df112.js";import{_ as m}from"./FormControl.3fead597.js";import{_ as k}from"./LayoutGuest.935550c8.js";const U={class:"flex md:min-h-screen md:items-center md:justify-center"},C={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},P={class:"flex flex-col items-center text-wrap h-full md:mt-5"},R=e("img",{src:V,class:"rounded-full shadow-lg mb-2"},null,-1),S=e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")],-1),q=e("hr",{class:"border-r-1 my-1 w-full"},null,-1),B=e("p",{class:"text-lg relative bottom-0"},"Please log in.",-1),I=e("div",{class:"md:border-r"},null,-1),N={class:"flex flex-col gap-2 mt-4"},z=e("hr",{class:"border-t my-4 w-full"},null,-1),A={class:"flex flex-col gap-2 my-4"},L=e("h2",null,"Not Registered?",-1),H={__name:"LoginView",setup(M){const d=y(),u=_(),s=f({login:"",pass:"",remember:!0,spinin:!1}),c=async()=>{if(!s.login||!s.pass){alert("Please fill in all fields.");return}await u.createUserSession(s.login,s.pass,s.remember)&&d.push("/")};return(p,l)=>(x(),b(k,null,{default:a(()=>[e("div",U,[o(v,{class:w(["w-full md:w-auto rounded-none md:rounded-xl md:drop-shadow-xl",s.spinin?"animate-spin":"animate-none"]),"has-table":"","is-auth":""},{default:a(()=>[e("div",C,[e("div",P,[R,S,e("button",{class:"text-sm text-gray-700 dark:text-white/75",onClick:l[0]||(l[0]=t=>s.spinin=!s.spinin)}," Spinnin' since 2021 "),q,B]),I,e("div",null,[o(i,{label:"Username"},{default:a(()=>[o(m,{modelValue:s.login,"onUpdate:modelValue":l[1]||(l[1]=t=>s.login=t),icon:n(g),name:"login",autocomplete:"username",required:""},null,8,["modelValue","icon"])]),_:1}),o(i,{label:"Password"},{default:a(()=>[o(m,{modelValue:s.pass,"onUpdate:modelValue":l[2]||(l[2]=t=>s.pass=t),icon:n(h),type:"password",name:"password",autocomplete:"current-password",required:""},null,8,["modelValue","icon"])]),_:1}),o($,{modelValue:s.remember,"onUpdate:modelValue":l[3]||(l[3]=t=>s.remember=t),name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),e("div",N,[o(r,{label:"Log In",color:"success",onClick:l[4]||(l[4]=t=>c())})]),z,e("div",A,[L,o(r,{label:"Register",color:"info",href:"/#/auth/register"})])])])]),_:1},8,["class"])])]),_:1}))}};export{H as default};
+import{u as _,s as f,a as x,c as b,w as a,g as e,b as o,e as n,v as g,x as h,f as r,y as w,_ as v,z as V,q as y}from"./index.245a4617.js";import{_ as $}from"./FormCheckRadio.7997f514.js";import{_ as i}from"./FormField.b3adf7d6.js";import{_ as m}from"./FormControl.e52bf3bc.js";import{_ as k}from"./LayoutGuest.ad451616.js";const U={class:"flex md:min-h-screen md:items-center md:justify-center"},C={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},P={class:"flex flex-col items-center text-wrap h-full md:mt-5"},R=e("img",{src:V,class:"rounded-full shadow-lg mb-2"},null,-1),S=e("h1",{class:"text-xl"},[e("samp",null,"PhaseII")],-1),q=e("hr",{class:"border-r-1 my-1 w-full"},null,-1),B=e("p",{class:"text-lg relative bottom-0"},"Please log in.",-1),I=e("div",{class:"md:border-r"},null,-1),N={class:"flex flex-col gap-2 mt-4"},z=e("hr",{class:"border-t my-4 w-full"},null,-1),A={class:"flex flex-col gap-2 my-4"},L=e("h2",null,"Not Registered?",-1),H={__name:"LoginView",setup(M){const d=y(),u=_(),s=f({login:"",pass:"",remember:!0,spinin:!1}),c=async()=>{if(!s.login||!s.pass){alert("Please fill in all fields.");return}await u.createUserSession(s.login,s.pass,s.remember)&&d.push("/")};return(p,l)=>(x(),b(k,null,{default:a(()=>[e("div",U,[o(v,{class:w(["w-full md:w-auto rounded-none md:rounded-xl md:drop-shadow-xl",s.spinin?"animate-spin":"animate-none"]),"has-table":"","is-auth":""},{default:a(()=>[e("div",C,[e("div",P,[R,S,e("button",{class:"text-sm text-gray-700 dark:text-white/75",onClick:l[0]||(l[0]=t=>s.spinin=!s.spinin)}," Spinnin' since 2021 "),q,B]),I,e("div",null,[o(i,{label:"Username"},{default:a(()=>[o(m,{modelValue:s.login,"onUpdate:modelValue":l[1]||(l[1]=t=>s.login=t),icon:n(g),name:"login",autocomplete:"username",required:""},null,8,["modelValue","icon"])]),_:1}),o(i,{label:"Password"},{default:a(()=>[o(m,{modelValue:s.pass,"onUpdate:modelValue":l[2]||(l[2]=t=>s.pass=t),icon:n(h),type:"password",name:"password",autocomplete:"current-password",required:""},null,8,["modelValue","icon"])]),_:1}),o($,{modelValue:s.remember,"onUpdate:modelValue":l[3]||(l[3]=t=>s.remember=t),name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),e("div",N,[o(r,{label:"Log In",color:"success",onClick:l[4]||(l[4]=t=>c())})]),z,e("div",A,[L,o(r,{label:"Register",color:"info",href:"/#/auth/register"})])])])]),_:1},8,["class"])])]),_:1}))}};export{H as default};
diff --git a/assets/MachinesView.02b687ff.js b/assets/MachinesView.1f052a5e.js
similarity index 89%
rename from assets/MachinesView.02b687ff.js
rename to assets/MachinesView.1f052a5e.js
index 4210bf6..f3bb64d 100644
--- a/assets/MachinesView.02b687ff.js
+++ b/assets/MachinesView.1f052a5e.js
@@ -1 +1 @@
-import{u as _,r as o,o as m,a as r,c as f,w as s,b as a,i as h,P as p,e as v,a2 as w,_ as b,g as l,F as g,k as x,l as $,n as k,p as B}from"./index.ef6c145a.js";import{_ as y}from"./ArcadeCard.687fa394.js";import{_ as I}from"./GeneralTable.eb99a8fe.js";const M={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},N={class:"w-full"},D={__name:"MachinesView",setup(V){const n=_(),t=o({}),c=o(!0),i=B(),d=parseInt(i.params.id);m(async()=>{try{const e=await n.getArcade(d);t.value=e,c.value=!1}catch(e){console.log("Failed to fetch arcade data:",e)}});const u=[{text:"PCBID",value:"pcbId",width:200},{text:"Name",value:"description",width:200},{text:"Port",value:"port",sortable:!0,width:120},{text:"OTA",value:"ota",sortable:!0,width:120}];return(e,C)=>(r(),f(k,null,{default:s(()=>[a($,null,{default:s(()=>[c.value?x("",!0):(r(),h(g,{key:0},[a(y,{class:"mb-6",arcade:t.value,"use-small":!0},null,8,["arcade"]),a(p,{icon:v(w),title:"Machines",main:""},null,8,["icon"]),a(b,{"has-table":""},{default:s(()=>[l("div",M,[l("div",N,[a(I,{headers:u,items:t.value.machines},null,8,["items"])])])]),_:1})],64))]),_:1})]),_:1}))}};export{D as default};
+import{u as _,r as o,o as m,a as r,c as f,w as s,b as a,i as h,P as p,e as v,a2 as w,_ as b,g as l,F as g,k as x,l as $,n as k,p as B}from"./index.245a4617.js";import{_ as y}from"./ArcadeCard.39cecb4a.js";import{_ as I}from"./GeneralTable.6dd16912.js";const M={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},N={class:"w-full"},D={__name:"MachinesView",setup(V){const n=_(),t=o({}),c=o(!0),i=B(),d=parseInt(i.params.id);m(async()=>{try{const e=await n.getArcade(d);t.value=e,c.value=!1}catch(e){console.log("Failed to fetch arcade data:",e)}});const u=[{text:"PCBID",value:"pcbId",width:200},{text:"Name",value:"description",width:200},{text:"Port",value:"port",sortable:!0,width:120},{text:"OTA",value:"ota",sortable:!0,width:120}];return(e,C)=>(r(),f(k,null,{default:s(()=>[a($,null,{default:s(()=>[c.value?x("",!0):(r(),h(g,{key:0},[a(y,{class:"mb-6",arcade:t.value,"use-small":!0},null,8,["arcade"]),a(p,{icon:v(w),title:"Machines",main:""},null,8,["icon"]),a(b,{"has-table":""},{default:s(()=>[l("div",M,[l("div",N,[a(I,{headers:u,items:t.value.machines},null,8,["items"])])])]),_:1})],64))]),_:1})]),_:1}))}};export{D as default};
diff --git a/assets/PaseliView.50188af3.js b/assets/PaseliView.78718b88.js
similarity index 93%
rename from assets/PaseliView.50188af3.js
rename to assets/PaseliView.78718b88.js
index 5dfbaee..f39c8ff 100644
--- a/assets/PaseliView.50188af3.js
+++ b/assets/PaseliView.78718b88.js
@@ -1 +1 @@
-import{u as y,r as c,o as P,a as m,c as k,w as n,b as a,i as B,P as _,e as f,ah as S,_ as h,g as i,a9 as $,F as A,k as D,l as N,n as C,p as I}from"./index.ef6c145a.js";import{_ as v}from"./GeneralTable.eb99a8fe.js";import{_ as R}from"./ArcadeCard.687fa394.js";const T={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},V={class:"w-full"},E={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},F={class:"w-full"},M={__name:"PaseliView",setup(H){const o=y(),r=c({}),t=c({}),d=c(!0),p=I(),u=parseInt(p.params.id);P(async()=>{try{const e=await o.getArcade(u),s=await o.getPaseliData(u);r.value=e,t.value=s,d.value=!1}catch(e){console.log("Failed to fetch arcade data:",e)}});const g=[{text:"Timestamp",value:"timestamp",width:200},{text:"Amount",value:"data.delta",width:200},{text:"Remaining Balance",value:"data.balance",width:200},{text:"Reason",value:"data.reason",width:200}],w=[{text:"Player",value:"username"},{text:"Balance",value:"balance"}];function b(e){var s=[];for(var l of JSON.parse(JSON.stringify(e))){if(l.timestamp){const x=new Date(l.timestamp*1e3);l.timestamp=x.toLocaleString()}s.push(l)}return s}return(e,s)=>(m(),k(C,null,{default:n(()=>[a(N,null,{default:n(()=>[!d.value&&t.value.balances&&t.value.transactions?(m(),B(A,{key:0},[a(R,{class:"mb-6",arcade:r.value,"use-small":!0},null,8,["arcade"]),a(_,{icon:f(S),title:"Player PASELI Balances",main:""},null,8,["icon"]),a(h,{"has-table":""},{default:n(()=>[i("div",T,[i("div",V,[a(v,{headers:w,items:t.value.balances},null,8,["items"])])])]),_:1}),a(_,{icon:f($),title:"PASELI Transaction History",main:"",class:"pt-6"},null,8,["icon"]),a(h,{"has-table":""},{default:n(()=>[i("div",E,[i("div",F,[a(v,{headers:g,items:b(t.value.transactions)},null,8,["items"])])])]),_:1})],64)):D("",!0)]),_:1})]),_:1}))}};export{M as default};
+import{u as y,r as c,o as P,a as m,c as k,w as n,b as a,i as B,P as _,e as f,ah as S,_ as h,g as i,a9 as $,F as A,k as D,l as N,n as C,p as I}from"./index.245a4617.js";import{_ as v}from"./GeneralTable.6dd16912.js";import{_ as R}from"./ArcadeCard.39cecb4a.js";const T={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},V={class:"w-full"},E={class:"bg-white dark:bg-slate-900/95 rounded-2xl lg:flex lg:justify-between"},F={class:"w-full"},M={__name:"PaseliView",setup(H){const o=y(),r=c({}),t=c({}),d=c(!0),p=I(),u=parseInt(p.params.id);P(async()=>{try{const e=await o.getArcade(u),s=await o.getPaseliData(u);r.value=e,t.value=s,d.value=!1}catch(e){console.log("Failed to fetch arcade data:",e)}});const g=[{text:"Timestamp",value:"timestamp",width:200},{text:"Amount",value:"data.delta",width:200},{text:"Remaining Balance",value:"data.balance",width:200},{text:"Reason",value:"data.reason",width:200}],w=[{text:"Player",value:"username"},{text:"Balance",value:"balance"}];function b(e){var s=[];for(var l of JSON.parse(JSON.stringify(e))){if(l.timestamp){const x=new Date(l.timestamp*1e3);l.timestamp=x.toLocaleString()}s.push(l)}return s}return(e,s)=>(m(),k(C,null,{default:n(()=>[a(N,null,{default:n(()=>[!d.value&&t.value.balances&&t.value.transactions?(m(),B(A,{key:0},[a(R,{class:"mb-6",arcade:r.value,"use-small":!0},null,8,["arcade"]),a(_,{icon:f(S),title:"Player PASELI Balances",main:""},null,8,["icon"]),a(h,{"has-table":""},{default:n(()=>[i("div",T,[i("div",V,[a(v,{headers:w,items:t.value.balances},null,8,["items"])])])]),_:1}),a(_,{icon:f($),title:"PASELI Transaction History",main:"",class:"pt-6"},null,8,["icon"]),a(h,{"has-table":""},{default:n(()=>[i("div",E,[i("div",F,[a(v,{headers:g,items:b(t.value.transactions)},null,8,["items"])])])]),_:1})],64)):D("",!0)]),_:1})]),_:1}))}};export{M as default};
diff --git a/assets/PlayerView.1cff0c06.js b/assets/PlayerView.1cff0c06.js
deleted file mode 100644
index 50e83e0..0000000
--- a/assets/PlayerView.1cff0c06.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import{u as C,ad as F,s as T,N as J,r as G,o as O,a as t,c as u,w as m,l as R,g as f,b as d,e as s,m as z,f as p,i as _,k as o,aq as E,P as M,ak as U,al as q,ac as X,j as H,F as P,aj as y,y as Y,Y as b,t as g,n as K,p as Q,q as W}from"./index.ef6c145a.js";import{_ as Z,g as S,a as ee}from"./ProfileCard.206878f8.js";import{_ as ae}from"./FormControl.3fead597.js";import{g as v}from"./danClass.233b0381.js";import"./userData.bcc92478.js";const le={class:"md:flex pb-6 md:justify-between md:items-center"},se={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},re=f("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),te={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},ne={class:"w-full"},ie={class:"md:w-1/3 grid grid-cols-1 md:grid-cols-2 gap-3"},oe={class:"my-6 grid grid-cols-1 md:grid-cols-4 gap-6"},_e={__name:"PlayerView",setup(ue){const k=Q(),w=W(),N=C();var c=null,i=null,h=null;c=k.params.game,h=k.params.userId,i=F(c),i||w.push({name:"ErrorPage",params:{catchAll:"404"}});const n=T({currentVersion:null});J(()=>n.currentVersion,()=>{V()});const a=G(null);O(async()=>{V()}),i.versions||(n.currentVersion=1);async function V(){try{a.value=null;const e=await N.getUserProfile(c,n.currentVersion,h);a.value=B(e),e&&!n.currentVersion&&(n.currentVersion=e.versions[e.versions.length-1])}catch(e){console.error("Failed to fetch user profile data:",e)}}var $=[{label:"Register Date",type:String,span:"md:col-span-2",key:"first_play_timestamp"},{label:"Last Play",type:String,span:"md:col-span-2",key:"last_play_timestamp"},{label:"First Arcade",type:String,span:"md:col-span-2",key:"first_play_arcade"},{label:"Last Arcade",type:String,span:"md:col-span-2",key:"last_play_arcade"},{label:"Total Plays",type:Number,key:"total_plays"},{label:"EXP",type:Number,key:"exp"},{label:"SP Plays",type:Number,key:"single_plays"},{label:"DP Plays",type:Number,key:"double_plays"},{label:"SP DJPOINT",type:Number,key:"single_dj_points"},{label:"DP DJPOINT",type:Number,key:"double_dj_points"}];function x(){var e=null;return n.currentVersion?e=`/assets/games/${i.id}/card/${n.currentVersion}.png`:e=i.cardBG,e}function D(){return`
- background-image: url('${x()}');
- background-size: cover;
- background-repeat: no-repeat;
- `}function I(e,l){if(l){if(e.isSkill&&l.jubility)return S(l.jubility);if(e.isJubility&&l.records.skill)return ee(l.records.skill)}return""}function j(e){var l=[];for(const r of i.versions)e.includes(r.id)&&l.push(r);return l}function L(e,l){return e.isSkill?l.stats[e.key]/100:e.isJubility?l.stats[e.key]/10:l.stats[e.key]}function A(e,l){return l?e/10:e/100}function B(e){if(e.stats){if(e.stats.first_play_timestamp){const l=new Date(e.stats.first_play_timestamp*1e3);e.stats.first_play_timestamp=l.toLocaleString()}if(e.stats.last_play_timestamp){const l=new Date(e.stats.last_play_timestamp*1e3);e.stats.last_play_timestamp=l.toLocaleString()}e.dp&&e.dp.dan!==void 0&&(e.dp.dan=v(e.dp.dan).short)}return e}return(e,l)=>(t(),u(K,null,{default:m(()=>[a.value?(t(),u(R,{key:0},{default:m(()=>[f("div",le,[d(p,{icon:s(z),href:`/#/games/${s(c)}`,class:"w-full md:w-auto",color:"info",label:`${s(i).shortName?s(i).shortName:s(i).name} Home`},null,8,["icon","href","label"]),s(i).versions&&a.value?(t(),_("div",se,[re,d(ae,{modelValue:n.currentVersion,"onUpdate:modelValue":l[0]||(l[0]=r=>n.currentVersion=r),options:j(a.value.versions)},null,8,["modelValue","options"])])):o("",!0)]),d(M,{icon:s(E),title:"View Profile",main:""},null,8,["icon"]),n.currentVersion&&a.value?(t(),_("div",{key:0,style:X(D()),class:"rounded-2xl mb-6"},[f("div",te,[f("div",ne,[d(Z,{"use-small":"",game:s(c),version:n.currentVersion,profile:a.value},{default:m(()=>[f("div",ie,[d(p,{href:`/#/games/${s(c)}/scores/${a.value.userId}`,icon:s(U),class:"w-full md:w-auto",color:"info",label:"View Scores"},null,8,["href","icon"]),d(p,{href:`/#/games/${s(c)}/records/${a.value.userId}`,icon:s(q),class:"w-full md:w-auto",color:"info",label:"View Records"},null,8,["href","icon"])])]),_:1},8,["game","version","profile"])])])],4)):o("",!0),f("div",oe,[(t(!0),_(P,null,H(s($),r=>(t(),_(P,{key:r},[a.value.stats[r.key]?(t(),u(y,{key:0,class:Y(r.span),label:r.label,number:r.type==Number?L(r,a.value):null,"num-color":I(r)},{default:m(()=>[b(g(r.type==String?a.value.stats[r.key]:null)+" ",1)]),_:2},1032,["class","label","number","num-color"])):o("",!0)],64))),128)),a.value.skill?(t(),u(y,{key:0,label:"Skill Points",number:A(a.value.skill,!1),"num-color":s(S)(a.value.skill)},null,8,["number","num-color"])):o("",!0),a.value.profile_skill?(t(),u(y,{key:1,label:"Skill Level",number:a.value.profile_skill},null,8,["number"])):o("",!0),a.value.deller?(t(),u(y,{key:2,label:"Deller",number:a.value.deller},null,8,["number"])):o("",!0),a.value.sgrade?(t(),u(y,{key:3,label:"SP DAN"},{default:m(()=>[b(g(s(v)(a.value.sgrade).label),1)]),_:1})):o("",!0),a.value.dgrade?(t(),u(y,{key:4,label:"DP DAN"},{default:m(()=>[b(g(s(v)(a.value.dgrade).label),1)]),_:1})):o("",!0)])]),_:1})):o("",!0)]),_:1}))}};export{_e as default};
diff --git a/assets/PlayerView.72ecb6de.js b/assets/PlayerView.72ecb6de.js
new file mode 100644
index 0000000..6cc8f44
--- /dev/null
+++ b/assets/PlayerView.72ecb6de.js
@@ -0,0 +1,5 @@
+import{u as A,ad as B,s as F,N as T,r as G,o as O,a as t,c as u,w as c,l as R,g as p,b as y,e as s,m as U,f as v,i as b,k as n,aq as z,P as E,ak as M,al as q,ac as X,j as H,F as P,aj as m,y as Y,Y as _,t as f,n as K,p as Q,q as W}from"./index.245a4617.js";import{_ as Z,g as S,a as ee}from"./ProfileCard.b5c0184d.js";import{_ as le}from"./FormControl.e52bf3bc.js";import{g}from"./danClass.233b0381.js";import"./userData.bcc92478.js";const ae={class:"md:flex pb-6 md:justify-between md:items-center"},se={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},te=p("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),re={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},ne={class:"w-full"},ie={class:"md:w-1/3 grid grid-cols-1 md:grid-cols-2 gap-3"},ue={class:"my-6 grid grid-cols-1 md:grid-cols-4 gap-6"},fe={__name:"PlayerView",setup(oe){const k=Q(),w=W(),N=A();var d=null,o=null,h=null;d=k.params.game,h=k.params.userId,o=B(d),o||w.push({name:"ErrorPage",params:{catchAll:"404"}});const i=F({currentVersion:null});T(()=>i.currentVersion,()=>{V()});const l=G(null);O(async()=>{V()}),o.versions||(i.currentVersion=1);async function V(){try{l.value=null;const e=await N.getUserProfile(d,i.currentVersion,h);l.value=L(e),e&&!i.currentVersion&&(i.currentVersion=e.versions[e.versions.length-1])}catch(e){console.error("Failed to fetch user profile data:",e)}}var $=[{label:"Register Date",type:String,span:"md:col-span-2",key:"first_play_timestamp"},{label:"Last Play",type:String,span:"md:col-span-2",key:"last_play_timestamp"},{label:"First Arcade",type:String,span:"md:col-span-2",key:"first_play_arcade"},{label:"Last Arcade",type:String,span:"md:col-span-2",key:"last_play_arcade"},{label:"Total Plays",type:Number,key:"total_plays"},{label:"EXP",type:Number,key:"exp"},{label:"SP Plays",type:Number,key:"single_plays"},{label:"DP Plays",type:Number,key:"double_plays"},{label:"SP DJPOINT",type:Number,key:"single_dj_points"},{label:"DP DJPOINT",type:Number,key:"double_dj_points"}];function x(){var e=null;return i.currentVersion?e=`/assets/games/${o.id}/card/${i.currentVersion}.png`:e=o.cardBG,e}function D(){return`
+ background-image: url('${x()}');
+ background-size: cover;
+ background-repeat: no-repeat;
+ `}function j(e,a){if(a){if(e.isSkill&&a.jubility)return S(a.jubility);if(e.isJubility&&a.records.skill)return ee(a.records.skill)}return""}function I(e){var a=[];for(const r of o.versions)e.includes(r.id)&&a.push(r);return a}function J(e,a){return e.isSkill?a.stats[e.key]/100:e.isJubility?a.stats[e.key]/10:a.stats[e.key]}function C(e,a){return a?e/10:e/100}function L(e){if(e.stats){if(e.stats.first_play_timestamp){const a=new Date(e.stats.first_play_timestamp*1e3);e.stats.first_play_timestamp=a.toLocaleString()}if(e.stats.last_play_timestamp){const a=new Date(e.stats.last_play_timestamp*1e3);e.stats.last_play_timestamp=a.toLocaleString()}e.dp&&e.dp.dan!==void 0&&(e.dp.dan=g(e.dp.dan).short)}return e}return(e,a)=>(t(),u(K,null,{default:c(()=>[l.value?(t(),u(R,{key:0},{default:c(()=>[p("div",ae,[y(v,{icon:s(U),href:`/#/games/${s(d)}`,class:"w-full md:w-auto",color:"info",label:`${s(o).shortName?s(o).shortName:s(o).name} Home`},null,8,["icon","href","label"]),s(o).versions&&l.value?(t(),b("div",se,[te,y(le,{modelValue:i.currentVersion,"onUpdate:modelValue":a[0]||(a[0]=r=>i.currentVersion=r),options:I(l.value.versions)},null,8,["modelValue","options"])])):n("",!0)]),y(E,{icon:s(z),title:"View Profile",main:""},null,8,["icon"]),i.currentVersion&&l.value?(t(),b("div",{key:0,style:X(D()),class:"rounded-2xl mb-6"},[p("div",re,[p("div",ne,[y(Z,{"use-small":"",game:s(d),version:i.currentVersion,profile:l.value},{default:c(()=>[p("div",ie,[y(v,{href:`/#/games/${s(d)}/scores/${l.value.userId}`,icon:s(M),class:"w-full md:w-auto",color:"info",label:"View Scores"},null,8,["href","icon"]),y(v,{href:`/#/games/${s(d)}/records/${l.value.userId}`,icon:s(q),class:"w-full md:w-auto",color:"info",label:"View Records"},null,8,["href","icon"])])]),_:1},8,["game","version","profile"])])])],4)):n("",!0),p("div",ue,[(t(!0),b(P,null,H(s($),r=>(t(),b(P,{key:r},[l.value.stats[r.key]?(t(),u(m,{key:0,class:Y(r.span),label:r.label,number:r.type==Number?J(r,l.value):null,"num-color":j(r)},{default:c(()=>[_(f(r.type==String?l.value.stats[r.key]:null)+" ",1)]),_:2},1032,["class","label","number","num-color"])):n("",!0)],64))),128)),l.value.skill?(t(),u(m,{key:0,label:"Skill Points",number:C(l.value.skill,!1),"num-color":s(S)(l.value.skill)},null,8,["number","num-color"])):n("",!0),l.value.profile_skill?(t(),u(m,{key:1,label:"Skill Level",number:l.value.profile_skill},null,8,["number"])):n("",!0),l.value.jubility?(t(),u(m,{key:2,label:"Jubility"},{default:c(()=>[_(f(l.value.jubility/10),1)]),_:1})):n("",!0),l.value.pick_up_jubility?(t(),u(m,{key:3,label:"Pick-Up Jubility"},{default:c(()=>[_(f(l.value.pick_up_jubility/10),1)]),_:1})):n("",!0),l.value.common_jubility?(t(),u(m,{key:4,label:"Common Jubility"},{default:c(()=>[_(f(l.value.common_jubility/10),1)]),_:1})):n("",!0),l.value.deller?(t(),u(m,{key:5,label:"Deller",number:l.value.deller},null,8,["number"])):n("",!0),l.value.sgrade?(t(),u(m,{key:6,label:"SP DAN"},{default:c(()=>[_(f(s(g)(l.value.sgrade).label),1)]),_:1})):n("",!0),l.value.dgrade?(t(),u(m,{key:7,label:"DP DAN"},{default:c(()=>[_(f(s(g)(l.value.dgrade).label),1)]),_:1})):n("",!0)])]),_:1})):n("",!0)]),_:1}))}};export{fe as default};
diff --git a/assets/PostView.53949d2c.js b/assets/PostView.637e01b6.js
similarity index 96%
rename from assets/PostView.53949d2c.js
rename to assets/PostView.637e01b6.js
index 9538fda..e5b8a42 100644
--- a/assets/PostView.53949d2c.js
+++ b/assets/PostView.637e01b6.js
@@ -1,2 +1,2 @@
-import{d as b,h as c,u as k,r as m,o as g,a as n,c as p,w as o,b as i,T as v,e,_ as B,f as $,m as S,g as t,i as d,t as x,F as N,j as C,k as V,l as j,n as A,p as F,q as D}from"./index.ef6c145a.js";const I=b({name:"BaseButtons",props:{noWrap:Boolean,type:{type:String,default:"justify-start"},classAddon:{type:String,default:"mr-3 last:mr-0 mb-3"},mb:{type:String,default:"-mb-3"}},render(){const _=this.$slots&&this.$slots.default,r=["flex","items-center",this.type,this.noWrap?"flex-nowrap":"flex-wrap"];return this.mb&&r.push(this.mb),c("div",{class:r},_?this.$slots.default().map(s=>s&&s.children&&typeof s.children=="object"?c(s,{},s.children.map(u=>c(u,{class:[this.classAddon]}))):c(s,{class:[this.classAddon]})):null)}}),M={class:"flex flex-col items-center"},R=["src"],T={class:"text-left md:text-center"},W={class:"text-2xl"},q=t("hr",{class:"pb-1 my-2"},null,-1),z=t("br",null,null,-1),E={key:1},H=t("h1",{class:"text-2xl"},"News not found...",-1),L=[H],J={__name:"PostView",setup(_){const r=F(),s=D(),u=parseInt(r.params.id),y=k();var a=m({data:{}}),f=m("");g(async()=>{try{const l=await y.fetchNews(u);a.value=l.news,f.value=l.news.body.split(`
+import{d as b,h as c,u as k,r as m,o as g,a as n,c as p,w as o,b as i,T as v,e,_ as B,f as $,m as S,g as t,i as d,t as x,F as N,j as C,k as V,l as j,n as A,p as F,q as D}from"./index.245a4617.js";const I=b({name:"BaseButtons",props:{noWrap:Boolean,type:{type:String,default:"justify-start"},classAddon:{type:String,default:"mr-3 last:mr-0 mb-3"},mb:{type:String,default:"-mb-3"}},render(){const _=this.$slots&&this.$slots.default,r=["flex","items-center",this.type,this.noWrap?"flex-nowrap":"flex-wrap"];return this.mb&&r.push(this.mb),c("div",{class:r},_?this.$slots.default().map(s=>s&&s.children&&typeof s.children=="object"?c(s,{},s.children.map(u=>c(u,{class:[this.classAddon]}))):c(s,{class:[this.classAddon]})):null)}}),M={class:"flex flex-col items-center"},R=["src"],T={class:"text-left md:text-center"},W={class:"text-2xl"},q=t("hr",{class:"pb-1 my-2"},null,-1),z=t("br",null,null,-1),E={key:1},H=t("h1",{class:"text-2xl"},"News not found...",-1),L=[H],J={__name:"PostView",setup(_){const r=F(),s=D(),u=parseInt(r.params.id),y=k();var a=m({data:{}}),f=m("");g(async()=>{try{const l=await y.fetchNews(u);a.value=l.news,f.value=l.news.body.split(`
`)}catch(l){console.error("Failed to fetch news data:",l)}});function w(){s.push("/")}return(l,P)=>(n(),p(A,null,{default:o(()=>[i(j,null,{default:o(()=>[i(v,null,{default:o(()=>[e(a)!={}?(n(),p(B,{key:0,"has-table":""},{footer:o(()=>[i(I,null,{default:o(()=>[i($,{label:"Home",color:"info",icon:e(S),"icon-size":"20",onClick:w},null,8,["icon"])]),_:1})]),default:o(()=>[t("div",M,[t("img",{src:e(a).data.img,class:"rounded-t-2xl md:rounded-2xl md:w-1/2 md:m-4"},null,8,R)]),e(a)?(n(),d("div",{key:e(a).id,class:"flex flex-col items-center p-4"},[t("div",T,[t("h1",W,x(e(a).title),1),q,(n(!0),d(N,null,C(e(f),h=>(n(),d("div",{key:h},[t("p",null,x(h),1),z]))),128))])])):(n(),d("div",E,L))]),_:1})):V("",!0)]),_:1})]),_:1})]),_:1}))}};export{J as default};
diff --git a/assets/ProfileCard.206878f8.js b/assets/ProfileCard.b5c0184d.js
similarity index 99%
rename from assets/ProfileCard.206878f8.js
rename to assets/ProfileCard.b5c0184d.js
index fc32ce2..cdb3678 100644
--- a/assets/ProfileCard.206878f8.js
+++ b/assets/ProfileCard.b5c0184d.js
@@ -1 +1 @@
-var z=Object.defineProperty;var B=(e,t,r)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var y=(e,t,r)=>(B(e,typeof t!="symbol"?t+"":t,r),r);import{r as _,N as w,A as S,a as i,i as x,g as o,F as L,j as N,ac as v,e as l,an as P,ad as R,c as d,k as m,y as U,t as $,ao as F,f as u,ap as A,ak as k,al as q,G as C}from"./index.ef6c145a.js";import{d as H}from"./userData.bcc92478.js";const I={class:"inner"},E=["src"],G={__name:"UserEmblem",props:{profile:{type:Object,default:null},version:{type:Number,default:14},size:{type:Number,default:128}},setup(e){var f;const t=e,r=_(t.profile);r.value.emblem=c((f=r.value.last)==null?void 0:f.emblem);const s=_(t.version);w(()=>t.version,()=>{var a;r.value=t.profile,r.value.emblem=c((a=r.value.last)==null?void 0:a.emblem)}),w(()=>t.version,()=>{s.value=t.version});const n=["background","main","ornament","effect","speech_bubble"],p=S(()=>n.map(a=>{var g;return`https://web3.phaseii.network/gameassets/emblems/${s.value}/${(g=r.value.emblem)==null?void 0:g[a]}.png`}));function c(a){if(a)return{background:a[0],main:a[1],ornament:a[2],effect:a[3],speech_bubble:a[4]}}return(a,h)=>(i(),x("div",I,[o("div",{style:v(`position: relative; width: ${e.size}px; height: ${e.size}px`)},[(i(!0),x(L,null,N(l(p),(g,j)=>(i(),x("div",{key:j,style:{position:"absolute"}},[o("img",{src:g,style:v(`width: ${e.size}px; height: ${e.size}px`),class:"drop-shadow-lg"},null,12,E)]))),128))],4)]))}};const O={class:"qpro-character relative w-full h-full"},M=["src"],Q=["src"],V=["src"],D=["src"],T=["src"],J=["src"],K=["src"],W=["src"],X=["src"],Y=["src"],Z=["src"],ee=["src"],te=["src"],le=["src"],oe=["src"],re=["src"],se=["src"],ae={__name:"UserQpro",props:{profile:{type:Object,default:null},version:{type:Number,default:14},size:{type:Number,default:128}},setup(e){const t=e,r=_(t.profile),s=S(()=>{var p,c,f,a,h;const n=`https://web3.phaseii.network/gameassets/qpro/${t.version}`;return{head:`${n}/head/${(p=r.value.qpro)==null?void 0:p.head}`,hair:`${n}/hair/${(c=r.value.qpro)==null?void 0:c.hair}`,face:`${n}/face/${(f=r.value.qpro)==null?void 0:f.face}`,body:`${n}/body/${(a=r.value.qpro)==null?void 0:a.body}`,hand:`${n}/hand/${(h=r.value.qpro)==null?void 0:h.hand}`}});return(n,p)=>(i(),x("div",{class:"justify-center items-center mb-4 md:mb-0 drop-shadow-xl",style:v({width:`${t.size}px`,height:`${t.size}px`})},[o("div",O,[o("img",{class:"qpro-hair-back absolute",src:l(s).hair+"_b.png",alt:"Hair Back",style:{top:"-22px",left:"6px",width:"90px"}},null,8,M),o("img",{class:"qpro-arm-right-upper absolute",src:l(s).body+"_arm_r_upper.png",alt:"Right Arm Upper",style:{top:"33px",left:"-15px",width:"70px"}},null,8,Q),o("img",{class:"qpro-arm-right-lower absolute",src:l(s).body+"_arm_r_lower.png",alt:"Right Arm Lower",style:{top:"33px",left:"-15px",width:"70px"}},null,8,V),o("img",{class:"qpro-leg-left-upper absolute",src:l(s).body+"_leg_l_upper.png",alt:"Left Leg Upper",style:{top:"70px",left:"42px",width:"55px"}},null,8,D),o("img",{class:"qpro-leg-left-lower absolute",src:l(s).body+"_leg_l_lower.png",alt:"Left Leg Lower",style:{top:"70px",left:"42px",width:"55px"}},null,8,T),o("img",{class:"qpro-leg-right-upper absolute",src:l(s).body+"_leg_r_upper.png",alt:"Right Leg Upper",style:{top:"67px",left:"12px",width:"55px"}},null,8,J),o("img",{class:"qpro-leg-right-lower absolute",src:l(s).body+"_leg_r_lower.png",alt:"Right Leg Lower",style:{top:"67px",left:"12px",width:"55px"}},null,8,K),o("img",{class:"qpro-body-back absolute",src:l(s).body+"_b.png",alt:"Body Back",style:{top:"-45px",left:"-6px",width:"400px"}},null,8,W),o("img",{class:"qpro-body-front absolute",src:l(s).body+"_f.png",alt:"Body Front",style:{top:"-45px",left:"-6px",width:"400px"}},null,8,X),o("img",{class:"qpro-head-back absolute",src:l(s).head+"_b.png",alt:"Head Back",style:{top:"-20px",left:"15px",width:"80px"}},null,8,Y),o("img",{class:"qpro-face absolute",src:l(s).face+".png",alt:"Face",style:{top:"-5px",left:"30px",width:"50px"}},null,8,Z),o("img",{class:"qpro-hair-front absolute",src:l(s).hair+"_f.png",alt:"Hair Front",style:{top:"-23px",left:"9px",width:"96px"}},null,8,ee),o("img",{class:"qpro-arm-left-upper absolute",src:l(s).body+"_arm_l_upper.png",alt:"Left Arm Upper",style:{top:"35px",left:"53px",width:"70px"}},null,8,te),o("img",{class:"qpro-arm-left-lower absolute",src:l(s).body+"_arm_l_lower.png",alt:"Left Arm Lower",style:{top:"35px",left:"53px",width:"70px"}},null,8,le),o("img",{class:"qpro-hand-left absolute",src:l(s).hand+"_l.png",alt:"Left Hand",style:{top:"-25px",left:"45px",width:"70px"}},null,8,oe),o("img",{class:"qpro-hand-right absolute",src:l(s).hand+"_r.png",alt:"Right Hand",style:{top:"0px",left:"-13px",width:"70px"}},null,8,re),o("img",{class:"qpro-head-front absolute",src:l(s).head+"_f.png",alt:"Head Front",style:{top:"-20px",left:"15px",width:"80px"}},null,8,se)])],4))}},ie=P(ae,[["__scopeId","data-v-6e2945b9"]]);class b{}y(b,"gitadoraSkill",[{id:1,min:0,max:99999,color:"text-white"},{id:2,min:1e5,max:149999,color:"text-orange-500"},{id:3,min:15e4,max:199999,color:"text-orange-600"},{id:4,min:2e5,max:249999,color:"text-yellow-400"},{id:5,min:25e4,max:299999,color:"text-yellow-500"},{id:6,min:3e5,max:349999,color:"text-green-500"},{id:7,min:35e4,max:399999,color:"text-lime-500"},{id:8,min:4e5,max:449999,color:"text-blue-500"},{id:9,min:45e4,max:499999,color:"text-cyan-500"},{id:10,min:5e5,max:549999,color:"text-purple-600"},{id:11,min:55e4,max:599999,color:"text-purple-500"},{id:12,min:6e5,max:649999,color:"text-red-500"},{id:13,min:65e4,max:699999,color:"text-red-700"},{id:14,min:7e5,max:749999,color:"text-amber-600"},{id:15,min:75e4,max:799999,color:"text-stone-400"},{id:16,min:8e5,max:849999,color:"text-yellow-500"},{id:17,min:85e4,max:999999,color:"text-transparent bg-clip-text bg-gradient-to-bl from-green-300 via-blue-500 to-purple-600"}]),y(b,"jubilitySkill",[{id:1,min:0,max:2499,color:"text-white"},{id:2,min:2500,max:7499,color:"text-emerald-500"},{id:3,min:7500,max:14999,color:"text-green-500"},{id:4,min:15e3,max:24999,color:"text-sky-500"},{id:5,min:25e3,max:39999,color:"text-blue-500"},{id:6,min:4e4,max:54999,color:"text-violet-600"},{id:7,min:55e3,max:69999,color:"text-purple-600"},{id:8,min:7e4,max:84999,color:"text-pink-300"},{id:9,min:85e3,max:94999,color:"text-orange-600"},{id:10,min:95e3,max:999999,color:"text-yellow-500"}]);function ne(e){var t=b.gitadoraSkill.find(r=>e>=r.min&&r.max>=e);return t.color}function ce(e){var t=b.jubilitySkill.find(r=>e>=r.min&&r.max>=e);return t.color}const de={class:"content-center justify-center items-center"},me={class:"md:flex md:space-x-12 md:justify-center md:items-center grid grid-cols-1 text-center"},pe={class:"drop-shadow-xl"},ue={class:"text-xl font-mono"},fe={class:"space-y-2 text-center md:text-left lg:mx-12 p-2"},xe={class:"pt-2 grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-3"},ye={__name:"ProfileCard",props:{game:{type:String,default:null},version:{type:Number,default:null},profile:{type:Object,required:!0},useSmall:{type:Boolean,default:!1}},setup(e){const t=e;function r(){if(t.profile.jubility)return ce(t.profile.jubility);if(t.profile.records)return ne(t.profile.records.skill)}const s=R(t.game);return(n,p)=>{var c;return i(),x(L,null,[o("div",de,[o("div",me,[e.game=="jubeat"&&e.version>=10&&((c=e.profile.last)==null?void 0:c.emblem)?(i(),d(G,{key:0,version:e.version,profile:e.profile,class:"place-self-center pb-6 md:pb-0"},null,8,["version","profile"])):m("",!0),e.game=="iidx"&&e.version>=20&&e.profile.qpro?(i(),d(ie,{key:1,version:e.version,profile:e.profile,class:"place-self-center pb-6 md:pb-0"},null,8,["version","profile"])):m("",!0),o("div",pe,[o("h1",{class:U([r(),"text-4xl md:text-5xl font-bold"])},$(e.profile.username),3),o("p",ue,$(l(H)(e.profile.extid)),1)])]),o("div",fe,[o("div",xe,[!e.useSmall&&e.game?(i(),d(u,{key:0,icon:l(F),href:`/#/games/${e.game}/profiles/${e.profile.userId}`,outline:!1,color:"info",label:"View Profile"},null,8,["icon","href"])):m("",!0),!e.useSmall&&e.game?(i(),d(u,{key:1,icon:l(A),href:`/#/games/${e.game}/edit`,outline:!1,color:"info",label:"Edit Profile"},null,8,["icon","href"])):m("",!0),!e.useSmall&&!l(s).noScores?(i(),d(u,{key:2,href:`/#/games/${e.game}/scores/${e.profile.userId}`,icon:l(k),outline:!1,color:"info",label:"My Scores"},null,8,["href","icon"])):m("",!0),!e.useSmall&&!l(s).noRecords?(i(),d(u,{key:3,href:`/#/games/${e.game}/records/${e.profile.userId}`,icon:l(q),outline:!1,color:"info",label:"My Records"},null,8,["href","icon"])):m("",!0),!e.useSmall&&!l(s).noScores?(i(),d(u,{key:4,href:`/#/games/${e.game}/scores`,icon:l(k),outline:!1,color:"info",label:"Network Scores"},null,8,["href","icon"])):m("",!0),!e.useSmall&&!l(s).noRecords?(i(),d(u,{key:5,href:`/#/games/${e.game}/records`,icon:l(q),outline:!1,color:"info",label:"Network Records"},null,8,["href","icon"])):m("",!0)])])]),C(n.$slots,"default")],64)}}};export{ie as U,ye as _,ce as a,G as b,ne as g};
+var z=Object.defineProperty;var B=(e,t,r)=>t in e?z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var y=(e,t,r)=>(B(e,typeof t!="symbol"?t+"":t,r),r);import{r as _,N as w,A as S,a as i,i as x,g as o,F as L,j as N,ac as v,e as l,an as P,ad as R,c as d,k as m,y as U,t as $,ao as F,f as u,ap as A,ak as k,al as q,G as C}from"./index.245a4617.js";import{d as H}from"./userData.bcc92478.js";const I={class:"inner"},E=["src"],G={__name:"UserEmblem",props:{profile:{type:Object,default:null},version:{type:Number,default:14},size:{type:Number,default:128}},setup(e){var f;const t=e,r=_(t.profile);r.value.emblem=c((f=r.value.last)==null?void 0:f.emblem);const s=_(t.version);w(()=>t.version,()=>{var a;r.value=t.profile,r.value.emblem=c((a=r.value.last)==null?void 0:a.emblem)}),w(()=>t.version,()=>{s.value=t.version});const n=["background","main","ornament","effect","speech_bubble"],p=S(()=>n.map(a=>{var g;return`https://web3.phaseii.network/gameassets/emblems/${s.value}/${(g=r.value.emblem)==null?void 0:g[a]}.png`}));function c(a){if(a)return{background:a[0],main:a[1],ornament:a[2],effect:a[3],speech_bubble:a[4]}}return(a,h)=>(i(),x("div",I,[o("div",{style:v(`position: relative; width: ${e.size}px; height: ${e.size}px`)},[(i(!0),x(L,null,N(l(p),(g,j)=>(i(),x("div",{key:j,style:{position:"absolute"}},[o("img",{src:g,style:v(`width: ${e.size}px; height: ${e.size}px`),class:"drop-shadow-lg"},null,12,E)]))),128))],4)]))}};const O={class:"qpro-character relative w-full h-full"},M=["src"],Q=["src"],V=["src"],D=["src"],T=["src"],J=["src"],K=["src"],W=["src"],X=["src"],Y=["src"],Z=["src"],ee=["src"],te=["src"],le=["src"],oe=["src"],re=["src"],se=["src"],ae={__name:"UserQpro",props:{profile:{type:Object,default:null},version:{type:Number,default:14},size:{type:Number,default:128}},setup(e){const t=e,r=_(t.profile),s=S(()=>{var p,c,f,a,h;const n=`https://web3.phaseii.network/gameassets/qpro/${t.version}`;return{head:`${n}/head/${(p=r.value.qpro)==null?void 0:p.head}`,hair:`${n}/hair/${(c=r.value.qpro)==null?void 0:c.hair}`,face:`${n}/face/${(f=r.value.qpro)==null?void 0:f.face}`,body:`${n}/body/${(a=r.value.qpro)==null?void 0:a.body}`,hand:`${n}/hand/${(h=r.value.qpro)==null?void 0:h.hand}`}});return(n,p)=>(i(),x("div",{class:"justify-center items-center mb-4 md:mb-0 drop-shadow-xl",style:v({width:`${t.size}px`,height:`${t.size}px`})},[o("div",O,[o("img",{class:"qpro-hair-back absolute",src:l(s).hair+"_b.png",alt:"Hair Back",style:{top:"-22px",left:"6px",width:"90px"}},null,8,M),o("img",{class:"qpro-arm-right-upper absolute",src:l(s).body+"_arm_r_upper.png",alt:"Right Arm Upper",style:{top:"33px",left:"-15px",width:"70px"}},null,8,Q),o("img",{class:"qpro-arm-right-lower absolute",src:l(s).body+"_arm_r_lower.png",alt:"Right Arm Lower",style:{top:"33px",left:"-15px",width:"70px"}},null,8,V),o("img",{class:"qpro-leg-left-upper absolute",src:l(s).body+"_leg_l_upper.png",alt:"Left Leg Upper",style:{top:"70px",left:"42px",width:"55px"}},null,8,D),o("img",{class:"qpro-leg-left-lower absolute",src:l(s).body+"_leg_l_lower.png",alt:"Left Leg Lower",style:{top:"70px",left:"42px",width:"55px"}},null,8,T),o("img",{class:"qpro-leg-right-upper absolute",src:l(s).body+"_leg_r_upper.png",alt:"Right Leg Upper",style:{top:"67px",left:"12px",width:"55px"}},null,8,J),o("img",{class:"qpro-leg-right-lower absolute",src:l(s).body+"_leg_r_lower.png",alt:"Right Leg Lower",style:{top:"67px",left:"12px",width:"55px"}},null,8,K),o("img",{class:"qpro-body-back absolute",src:l(s).body+"_b.png",alt:"Body Back",style:{top:"-45px",left:"-6px",width:"400px"}},null,8,W),o("img",{class:"qpro-body-front absolute",src:l(s).body+"_f.png",alt:"Body Front",style:{top:"-45px",left:"-6px",width:"400px"}},null,8,X),o("img",{class:"qpro-head-back absolute",src:l(s).head+"_b.png",alt:"Head Back",style:{top:"-20px",left:"15px",width:"80px"}},null,8,Y),o("img",{class:"qpro-face absolute",src:l(s).face+".png",alt:"Face",style:{top:"-5px",left:"30px",width:"50px"}},null,8,Z),o("img",{class:"qpro-hair-front absolute",src:l(s).hair+"_f.png",alt:"Hair Front",style:{top:"-23px",left:"9px",width:"96px"}},null,8,ee),o("img",{class:"qpro-arm-left-upper absolute",src:l(s).body+"_arm_l_upper.png",alt:"Left Arm Upper",style:{top:"35px",left:"53px",width:"70px"}},null,8,te),o("img",{class:"qpro-arm-left-lower absolute",src:l(s).body+"_arm_l_lower.png",alt:"Left Arm Lower",style:{top:"35px",left:"53px",width:"70px"}},null,8,le),o("img",{class:"qpro-hand-left absolute",src:l(s).hand+"_l.png",alt:"Left Hand",style:{top:"-25px",left:"45px",width:"70px"}},null,8,oe),o("img",{class:"qpro-hand-right absolute",src:l(s).hand+"_r.png",alt:"Right Hand",style:{top:"0px",left:"-13px",width:"70px"}},null,8,re),o("img",{class:"qpro-head-front absolute",src:l(s).head+"_f.png",alt:"Head Front",style:{top:"-20px",left:"15px",width:"80px"}},null,8,se)])],4))}},ie=P(ae,[["__scopeId","data-v-6e2945b9"]]);class b{}y(b,"gitadoraSkill",[{id:1,min:0,max:99999,color:"text-white"},{id:2,min:1e5,max:149999,color:"text-orange-500"},{id:3,min:15e4,max:199999,color:"text-orange-600"},{id:4,min:2e5,max:249999,color:"text-yellow-400"},{id:5,min:25e4,max:299999,color:"text-yellow-500"},{id:6,min:3e5,max:349999,color:"text-green-500"},{id:7,min:35e4,max:399999,color:"text-lime-500"},{id:8,min:4e5,max:449999,color:"text-blue-500"},{id:9,min:45e4,max:499999,color:"text-cyan-500"},{id:10,min:5e5,max:549999,color:"text-purple-600"},{id:11,min:55e4,max:599999,color:"text-purple-500"},{id:12,min:6e5,max:649999,color:"text-red-500"},{id:13,min:65e4,max:699999,color:"text-red-700"},{id:14,min:7e5,max:749999,color:"text-amber-600"},{id:15,min:75e4,max:799999,color:"text-stone-400"},{id:16,min:8e5,max:849999,color:"text-yellow-500"},{id:17,min:85e4,max:999999,color:"text-transparent bg-clip-text bg-gradient-to-bl from-green-300 via-blue-500 to-purple-600"}]),y(b,"jubilitySkill",[{id:1,min:0,max:2499,color:"text-white"},{id:2,min:2500,max:7499,color:"text-emerald-500"},{id:3,min:7500,max:14999,color:"text-green-500"},{id:4,min:15e3,max:24999,color:"text-sky-500"},{id:5,min:25e3,max:39999,color:"text-blue-500"},{id:6,min:4e4,max:54999,color:"text-violet-600"},{id:7,min:55e3,max:69999,color:"text-purple-600"},{id:8,min:7e4,max:84999,color:"text-pink-300"},{id:9,min:85e3,max:94999,color:"text-orange-600"},{id:10,min:95e3,max:999999,color:"text-yellow-500"}]);function ne(e){var t=b.gitadoraSkill.find(r=>e>=r.min&&r.max>=e);return t.color}function ce(e){var t=b.jubilitySkill.find(r=>e>=r.min&&r.max>=e);return t.color}const de={class:"content-center justify-center items-center"},me={class:"md:flex md:space-x-12 md:justify-center md:items-center grid grid-cols-1 text-center"},pe={class:"drop-shadow-xl"},ue={class:"text-xl font-mono"},fe={class:"space-y-2 text-center md:text-left lg:mx-12 p-2"},xe={class:"pt-2 grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-3"},ye={__name:"ProfileCard",props:{game:{type:String,default:null},version:{type:Number,default:null},profile:{type:Object,required:!0},useSmall:{type:Boolean,default:!1}},setup(e){const t=e;function r(){if(t.profile.jubility)return ce(t.profile.jubility);if(t.profile.records)return ne(t.profile.records.skill)}const s=R(t.game);return(n,p)=>{var c;return i(),x(L,null,[o("div",de,[o("div",me,[e.game=="jubeat"&&e.version>=10&&((c=e.profile.last)==null?void 0:c.emblem)?(i(),d(G,{key:0,version:e.version,profile:e.profile,class:"place-self-center pb-6 md:pb-0"},null,8,["version","profile"])):m("",!0),e.game=="iidx"&&e.version>=20&&e.profile.qpro?(i(),d(ie,{key:1,version:e.version,profile:e.profile,class:"place-self-center pb-6 md:pb-0"},null,8,["version","profile"])):m("",!0),o("div",pe,[o("h1",{class:U([r(),"text-4xl md:text-5xl font-bold"])},$(e.profile.username),3),o("p",ue,$(l(H)(e.profile.extid)),1)])]),o("div",fe,[o("div",xe,[!e.useSmall&&e.game?(i(),d(u,{key:0,icon:l(F),href:`/#/games/${e.game}/profiles/${e.profile.userId}`,outline:!1,color:"info",label:"View Profile"},null,8,["icon","href"])):m("",!0),!e.useSmall&&e.game?(i(),d(u,{key:1,icon:l(A),href:`/#/games/${e.game}/edit`,outline:!1,color:"info",label:"Edit Profile"},null,8,["icon","href"])):m("",!0),!e.useSmall&&!l(s).noScores?(i(),d(u,{key:2,href:`/#/games/${e.game}/scores/${e.profile.userId}`,icon:l(k),outline:!1,color:"info",label:"My Scores"},null,8,["href","icon"])):m("",!0),!e.useSmall&&!l(s).noRecords?(i(),d(u,{key:3,href:`/#/games/${e.game}/records/${e.profile.userId}`,icon:l(q),outline:!1,color:"info",label:"My Records"},null,8,["href","icon"])):m("",!0),!e.useSmall&&!l(s).noScores?(i(),d(u,{key:4,href:`/#/games/${e.game}/scores`,icon:l(k),outline:!1,color:"info",label:"Network Scores"},null,8,["href","icon"])):m("",!0),!e.useSmall&&!l(s).noRecords?(i(),d(u,{key:5,href:`/#/games/${e.game}/records`,icon:l(q),outline:!1,color:"info",label:"Network Records"},null,8,["href","icon"])):m("",!0)])])]),C(n.$slots,"default")],64)}}};export{ie as U,ye as _,ce as a,G as b,ne as g};
diff --git a/assets/ProfileView.6c0bacb6.js b/assets/ProfileView.4126d4d9.js
similarity index 93%
rename from assets/ProfileView.6c0bacb6.js
rename to assets/ProfileView.4126d4d9.js
index 181e99e..8570a1f 100644
--- a/assets/ProfileView.6c0bacb6.js
+++ b/assets/ProfileView.4126d4d9.js
@@ -1 +1 @@
-import{u as y,r as c,N as f,s as w,a as P,c as S,w as s,b as e,O as x,P as C,e as l,v as _,g as E,_ as b,Q as V,f as v,R as U,S as R,x as g,U as k,V as N,l as B,n as F}from"./index.ef6c145a.js";import{_ as n}from"./FormField.e32df112.js";import{_ as t}from"./FormControl.3fead597.js";const M={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Q={__name:"ProfileView",setup(A){const i=y(),u=c(i.userName),d=c(i.userEmail);f(()=>i.userName,m=>{u.value=m}),f(()=>i.userEmail,m=>{d.value=m});const p=w({name:"",email:"",pin:"****"}),r=w({password_current:"",password:"",password_confirmation:""}),$=()=>{i.setUser(p)},q=()=>{};return(m,a)=>(P(),S(F,null,{default:s(()=>[e(B,null,{default:s(()=>[e(x,{class:"mb-6","use-small":"","even-smaller":""}),e(C,{icon:l(_),title:"Profile Settings",main:""},null,8,["icon"]),E("div",M,[e(b,{"is-form":"",class:"row-span-1",onSubmit:V($,["prevent"])},{footer:s(()=>[e(v,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(U,{color:"info",label:"General",class:"mb-2"}),e(n,{label:"Username"},{default:s(()=>[e(t,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=o=>u.value=o),icon:l(_),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"E-mail",help:"Not currently used, but will be soon\u2122\uFE0F"},{default:s(()=>[e(t,{modelValue:d.value,"onUpdate:modelValue":a[1]||(a[1]=o=>d.value=o),icon:l(R),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"PIN",help:"Used when logging into a game"},{default:s(()=>[e(t,{modelValue:p.pin,"onUpdate:modelValue":a[2]||(a[2]=o=>p.pin=o),icon:l(g),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"]),e(b,{"is-form":"",class:"row-span-2",onSubmit:V(q,["prevent"])},{footer:s(()=>[e(v,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(U,{color:"info",label:"Change Password",class:"mb-2"}),e(n,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(t,{modelValue:r.password_current,"onUpdate:modelValue":a[3]||(a[3]=o=>r.password_current=o),icon:l(g),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(k),e(n,{label:"New password",help:"Required. New password"},{default:s(()=>[e(t,{modelValue:r.password,"onUpdate:modelValue":a[4]||(a[4]=o=>r.password=o),icon:l(N),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(t,{modelValue:r.password_confirmation,"onUpdate:modelValue":a[5]||(a[5]=o=>r.password_confirmation=o),icon:l(N),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{Q as default};
+import{u as y,r as c,N as f,s as w,a as P,c as S,w as s,b as e,O as x,P as C,e as l,v as _,g as E,_ as b,Q as V,f as v,R as U,S as R,x as g,U as k,V as N,l as B,n as F}from"./index.245a4617.js";import{_ as n}from"./FormField.b3adf7d6.js";import{_ as t}from"./FormControl.e52bf3bc.js";const M={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Q={__name:"ProfileView",setup(A){const i=y(),u=c(i.userName),d=c(i.userEmail);f(()=>i.userName,m=>{u.value=m}),f(()=>i.userEmail,m=>{d.value=m});const p=w({name:"",email:"",pin:"****"}),r=w({password_current:"",password:"",password_confirmation:""}),$=()=>{i.setUser(p)},q=()=>{};return(m,a)=>(P(),S(F,null,{default:s(()=>[e(B,null,{default:s(()=>[e(x,{class:"mb-6","use-small":"","even-smaller":""}),e(C,{icon:l(_),title:"Profile Settings",main:""},null,8,["icon"]),E("div",M,[e(b,{"is-form":"",class:"row-span-1",onSubmit:V($,["prevent"])},{footer:s(()=>[e(v,{color:"success",type:"submit",label:"Update"})]),default:s(()=>[e(U,{color:"info",label:"General",class:"mb-2"}),e(n,{label:"Username"},{default:s(()=>[e(t,{modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=o=>u.value=o),icon:l(_),name:"username",required:"",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"E-mail",help:"Not currently used, but will be soon\u2122\uFE0F"},{default:s(()=>[e(t,{modelValue:d.value,"onUpdate:modelValue":a[1]||(a[1]=o=>d.value=o),icon:l(R),type:"email",name:"email",required:"",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"PIN",help:"Used when logging into a game"},{default:s(()=>[e(t,{modelValue:p.pin,"onUpdate:modelValue":a[2]||(a[2]=o=>p.pin=o),icon:l(g),type:"password",name:"pin",required:"",autocomplete:"pin"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"]),e(b,{"is-form":"",class:"row-span-2",onSubmit:V(q,["prevent"])},{footer:s(()=>[e(v,{type:"submit",color:"success",label:"Update"})]),default:s(()=>[e(U,{color:"info",label:"Change Password",class:"mb-2"}),e(n,{label:"Current password",help:"Required. Your current password"},{default:s(()=>[e(t,{modelValue:r.password_current,"onUpdate:modelValue":a[3]||(a[3]=o=>r.password_current=o),icon:l(g),name:"password_current",type:"password",required:"",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),e(k),e(n,{label:"New password",help:"Required. New password"},{default:s(()=>[e(t,{modelValue:r.password,"onUpdate:modelValue":a[4]||(a[4]=o=>r.password=o),icon:l(N),name:"password",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1}),e(n,{label:"Confirm password",help:"Required. New password one more time"},{default:s(()=>[e(t,{modelValue:r.password_confirmation,"onUpdate:modelValue":a[5]||(a[5]=o=>r.password_confirmation=o),icon:l(N),name:"password_confirmation",type:"password",required:"",autocomplete:"new-password"},null,8,["modelValue","icon"])]),_:1})]),_:1},8,["onSubmit"])])]),_:1})]),_:1}))}};export{Q as default};
diff --git a/assets/PublicView.fbfe7a07.js b/assets/PublicView.1e1d0752.js
similarity index 94%
rename from assets/PublicView.fbfe7a07.js
rename to assets/PublicView.1e1d0752.js
index 0233208..f8ff7da 100644
--- a/assets/PublicView.fbfe7a07.js
+++ b/assets/PublicView.1e1d0752.js
@@ -1 +1 @@
-import{a as t,c as m,w as n,b as a,P as i,e,v as u,O as r,_,g as o,f as c,a0 as d,a1 as f,a2 as g,a3 as s,a4 as l,l as p,n as A}from"./index.ef6c145a.js";const v={class:"flex gap-4"},b={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},R={__name:"PublicView",setup($){return(w,M)=>(t(),m(A,null,{default:n(()=>[a(p,null,{default:n(()=>[a(i,{icon:e(u),title:"Trmazi's Profile",main:""},null,8,["icon"]),a(r,{class:"mb-6","use-small":""}),a(_,{"is-form":"",class:"mb-6"},{default:n(()=>[o("div",v,[a(c,{color:"success",label:"Add Friend",icon:e(d)},null,8,["icon"]),a(c,{color:"danger",label:"Remove Friend",icon:e(f)},null,8,["icon"])])]),_:1}),a(i,{icon:e(g),title:"Game Stats",main:""},null,8,["icon"]),o("div",b,[a(s,{game:e(l).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),a(s,{game:e(l).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),a(s,{game:e(l).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),a(s,{game:e(l).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])])]),_:1})]),_:1}))}};export{R as default};
+import{a as t,c as m,w as n,b as a,P as i,e,v as u,O as r,_,g as o,f as c,a0 as d,a1 as f,a2 as g,a3 as s,a4 as l,l as p,n as A}from"./index.245a4617.js";const v={class:"flex gap-4"},b={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 gap-5 mb-5"},R={__name:"PublicView",setup($){return(w,M)=>(t(),m(A,null,{default:n(()=>[a(p,null,{default:n(()=>[a(i,{icon:e(u),title:"Trmazi's Profile",main:""},null,8,["icon"]),a(r,{class:"mb-6","use-small":""}),a(_,{"is-form":"",class:"mb-6"},{default:n(()=>[o("div",v,[a(c,{color:"success",label:"Add Friend",icon:e(d)},null,8,["icon"]),a(c,{color:"danger",label:"Remove Friend",icon:e(f)},null,8,["icon"])])]),_:1}),a(i,{icon:e(g),title:"Game Stats",main:""},null,8,["icon"]),o("div",b,[a(s,{game:e(l).DDR,value:"#10 out of 132","profile-name":"DJ. TRMAZI",type:"ranking"},null,8,["game"]),a(s,{game:e(l).POPN_MUSIC,value:300,"profile-name":"TRMAZI",type:"plays"},null,8,["game"]),a(s,{game:e(l).JUBEAT,value:392,"profile-name":"TRMAZI",type:"scores"},null,8,["game"]),a(s,{game:e(l).SDVX,value:"#15 out of 200","profile-name":"TRMAZI",type:"ranking"},null,8,["game"])])]),_:1})]),_:1}))}};export{R as default};
diff --git a/assets/RegisterView.733022ae.js b/assets/RegisterView.46f93855.js
similarity index 93%
rename from assets/RegisterView.733022ae.js
rename to assets/RegisterView.46f93855.js
index 359da64..d768abf 100644
--- a/assets/RegisterView.733022ae.js
+++ b/assets/RegisterView.46f93855.js
@@ -1 +1 @@
-import{s as b,a as x,c as V,w as t,g as o,b as l,e as n,v as i,x as u,f as c,_ as g,z as v,q as y,M as h}from"./index.ef6c145a.js";import{_ as I}from"./FormCheckRadio.9bd4e29f.js";import{_ as d}from"./FormField.e32df112.js";import{_ as m}from"./FormControl.3fead597.js";import{_ as P}from"./LayoutGuest.935550c8.js";const A={class:"flex md:min-h-screen md:items-center md:justify-center"},U={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},$=o("div",{class:"flex flex-col items-center text-wrap h-full md:mt-5"},[o("img",{src:v,class:"rounded-full shadow-lg mb-2"}),o("h1",{class:"text-xl"},[o("samp",null,"PhaseII")]),o("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),o("hr",{class:"border-t border-1 my-1 w-full"}),o("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),k=o("div",{class:"md:border-r md:border-1"},null,-1),C={class:"grid grid-cols-2 gap-x-2"},K={class:"col-span-2"},R={class:"flex flex-col gap-2 mt-4"},S=o("hr",{class:"border-t border-1 my-4 w-full"},null,-1),B={class:"flex flex-col gap-2 my-4"},N=o("h2",null,"Have an Account?",-1),z={__name:"RegisterView",setup(D){const p=y();function f(r){var s=/\S+@\S+\.\S+/;return s.test(r)}const _=async()=>{if(!e.username||!e.email||!e.pass||!e.pass_conf||!e.pin||!e.cardId){alert("Please fill in all fields.");return}if(!f(e.email)){alert("Please use a valid email.");return}if(e.pass!==e.pass_conf){alert("Passwords do not match!");return}const r=await w(e.username,e.pass);r.success?(console.log(r),h.set("userAuthKey",r.authKey,{expires:e.remember?30:0}),p.push("/")):alert("Create failed. Please try again.")},w=async(r,s)=>(await new Promise(a=>setTimeout(a,1e3)),{success:!0,authKey:"generatedAuthKey123"}),e=b({username:"",email:"",pass:"",pass_conf:"",pin:"",cardId:"",remember:!0});return(r,s)=>(x(),V(P,null,{default:t(()=>[o("div",A,[l(g,{class:"w-full md:w-auto rounded-none md:rounded-xl md:drop-shadow-xl","has-table":"","is-auth":""},{default:t(()=>[o("div",U,[$,k,o("div",C,[l(d,{label:"Desired Username"},{default:t(()=>[l(m,{modelValue:e.username,"onUpdate:modelValue":s[0]||(s[0]=a=>e.username=a),icon:n(i),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(m,{modelValue:e.email,"onUpdate:modelValue":s[1]||(s[1]=a=>e.email=a),icon:n(i),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(m,{modelValue:e.pass,"onUpdate:modelValue":s[2]||(s[2]=a=>e.pass=a),icon:n(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(m,{modelValue:e.pass_conf,"onUpdate:modelValue":s[3]||(s[3]=a=>e.pass_conf=a),icon:n(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(m,{modelValue:e.cardId,"onUpdate:modelValue":s[4]||(s[4]=a=>e.cardId=a),icon:n(i),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(m,{modelValue:e.pin,"onUpdate:modelValue":s[5]||(s[5]=a=>e.pin=a),icon:n(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(I,{modelValue:e.remember,"onUpdate:modelValue":s[6]||(s[6]=a=>e.remember=a),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),o("div",K,[o("div",R,[l(c,{label:"Create Account",color:"success",onClick:s[7]||(s[7]=a=>_())})]),S,o("div",B,[N,l(c,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{z as default};
+import{s as b,a as x,c as V,w as t,g as o,b as l,e as n,v as i,x as u,f as c,_ as g,z as v,q as y,M as h}from"./index.245a4617.js";import{_ as I}from"./FormCheckRadio.7997f514.js";import{_ as d}from"./FormField.b3adf7d6.js";import{_ as m}from"./FormControl.e52bf3bc.js";import{_ as P}from"./LayoutGuest.ad451616.js";const A={class:"flex md:min-h-screen md:items-center md:justify-center"},U={class:"p-4 flex flex-col md:flex-row w-full space-y-2 md:space-y-0 md:space-x-4"},$=o("div",{class:"flex flex-col items-center text-wrap h-full md:mt-5"},[o("img",{src:v,class:"rounded-full shadow-lg mb-2"}),o("h1",{class:"text-xl"},[o("samp",null,"PhaseII")]),o("p",{class:"text-sm text-gray-700 dark:text-white/75"}," Spinnin' since 2021 "),o("hr",{class:"border-t border-1 my-1 w-full"}),o("p",{class:"text-lg relative bottom-0"},"Account Registration")],-1),k=o("div",{class:"md:border-r md:border-1"},null,-1),C={class:"grid grid-cols-2 gap-x-2"},K={class:"col-span-2"},R={class:"flex flex-col gap-2 mt-4"},S=o("hr",{class:"border-t border-1 my-4 w-full"},null,-1),B={class:"flex flex-col gap-2 my-4"},N=o("h2",null,"Have an Account?",-1),z={__name:"RegisterView",setup(D){const p=y();function f(r){var s=/\S+@\S+\.\S+/;return s.test(r)}const _=async()=>{if(!e.username||!e.email||!e.pass||!e.pass_conf||!e.pin||!e.cardId){alert("Please fill in all fields.");return}if(!f(e.email)){alert("Please use a valid email.");return}if(e.pass!==e.pass_conf){alert("Passwords do not match!");return}const r=await w(e.username,e.pass);r.success?(console.log(r),h.set("userAuthKey",r.authKey,{expires:e.remember?30:0}),p.push("/")):alert("Create failed. Please try again.")},w=async(r,s)=>(await new Promise(a=>setTimeout(a,1e3)),{success:!0,authKey:"generatedAuthKey123"}),e=b({username:"",email:"",pass:"",pass_conf:"",pin:"",cardId:"",remember:!0});return(r,s)=>(x(),V(P,null,{default:t(()=>[o("div",A,[l(g,{class:"w-full md:w-auto rounded-none md:rounded-xl md:drop-shadow-xl","has-table":"","is-auth":""},{default:t(()=>[o("div",U,[$,k,o("div",C,[l(d,{label:"Desired Username"},{default:t(()=>[l(m,{modelValue:e.username,"onUpdate:modelValue":s[0]||(s[0]=a=>e.username=a),icon:n(i),name:"username",autocomplete:"username"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Email Address"},{default:t(()=>[l(m,{modelValue:e.email,"onUpdate:modelValue":s[1]||(s[1]=a=>e.email=a),icon:n(i),name:"email",autocomplete:"email"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password"},{default:t(()=>[l(m,{modelValue:e.pass,"onUpdate:modelValue":s[2]||(s[2]=a=>e.pass=a),icon:n(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Password Confirmation"},{default:t(()=>[l(m,{modelValue:e.pass_conf,"onUpdate:modelValue":s[3]||(s[3]=a=>e.pass_conf=a),icon:n(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Card ID"},{default:t(()=>[l(m,{modelValue:e.cardId,"onUpdate:modelValue":s[4]||(s[4]=a=>e.cardId=a),icon:n(i),name:"card",autocomplete:"card"},null,8,["modelValue","icon"])]),_:1}),l(d,{label:"Game PIN"},{default:t(()=>[l(m,{modelValue:e.pin,"onUpdate:modelValue":s[5]||(s[5]=a=>e.pin=a),icon:n(u),type:"password",name:"password",autocomplete:"current-password"},null,8,["modelValue","icon"])]),_:1}),l(I,{modelValue:e.remember,"onUpdate:modelValue":s[6]||(s[6]=a=>e.remember=a),class:"col-span-2",name:"remember",label:"Remember Me","input-value":!0},null,8,["modelValue"]),o("div",K,[o("div",R,[l(c,{label:"Create Account",color:"success",onClick:s[7]||(s[7]=a=>_())})]),S,o("div",B,[N,l(c,{label:"Log In",color:"info",href:"/#/auth/login"})])])])])]),_:1})])]),_:1}))}};export{z as default};
diff --git a/assets/RivalsView.ecb93aab.js b/assets/RivalsView.2571c2ec.js
similarity index 92%
rename from assets/RivalsView.ecb93aab.js
rename to assets/RivalsView.2571c2ec.js
index 03962b9..d912b09 100644
--- a/assets/RivalsView.ecb93aab.js
+++ b/assets/RivalsView.2571c2ec.js
@@ -1,4 +1,4 @@
-import{s as p,ad as S,a as i,c as d,w as r,b as t,g as e,e as u,i as m,k as _,ac as B,P as b,at as L,_ as f,j as k,t as g,f as w,F as x,au as A,l as j,n as F,p as G,q as z}from"./index.ef6c145a.js";import{_ as E}from"./ProfileCard.206878f8.js";import{_ as N}from"./FormField.e32df112.js";import{_ as V}from"./FormControl.3fead597.js";import"./userData.bcc92478.js";const P={class:"md:flex md:justify-end pb-6 items-center"},U={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},Y=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),T={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},q={class:"w-full"},H={class:"grid gap-3"},M={class:"flex justify-between items-center"},O={class:"flex"},Z=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),J={class:"grid"},K={class:"text-lg"},Q={class:"text-md font-mono"},W={class:"grid gap-3"},X={class:"flex justify-between items-center"},ee={class:"flex"},se=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),te={class:"grid"},ae={class:"text-lg"},ie={class:"text-md font-mono"},ue={__name:"RivalsView",setup(oe){const y=G(),$=z();var v=null,o=null;const D={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},h=[{id:1,name:"TRMAZI",rivalID:"1234-5678"},{id:2,name:"BLADE",rivalID:"1454-5687"},{id:3,name:"HO!",rivalID:"5364-5568"}],a=p({currentVersion:null}),l=p({filter:null});v=y.params.game,o=S(v),o.versions||(a.currentVersion=1),o||$.push({name:"ErrorPage",params:{catchAll:"404"}});function I(){if(l.filter)return h.filter(n=>n.name.toLowerCase().includes(l.filter.toLowerCase())||n.rivalID.toLowerCase().includes(l.filter.toLowerCase()))}function R(){var n=null;return a.currentVersion?n=`/assets/games/${o.id}/card/${a.currentVersion}.png`:n=o.cardBG,n}function C(){return`
+import{s as p,ad as S,a as i,c as d,w as r,b as t,g as e,e as u,i as m,k as _,ac as B,P as b,at as L,_ as f,j as k,t as g,f as w,F as x,au as A,l as j,n as F,p as G,q as z}from"./index.245a4617.js";import{_ as E}from"./ProfileCard.b5c0184d.js";import{_ as N}from"./FormField.b3adf7d6.js";import{_ as V}from"./FormControl.e52bf3bc.js";import"./userData.bcc92478.js";const P={class:"md:flex md:justify-end pb-6 items-center"},U={key:0,class:"mt-2 md:mt-0 md:w-1/3 md:text-right"},Y=e("h2",{class:"text-md sm:text-lg md:text-xl font-bold p-2"}," Select Version ",-1),T={class:"bg-white dark:bg-slate-900/90 rounded-2xl pt-6 p-3"},q={class:"w-full"},H={class:"grid gap-3"},M={class:"flex justify-between items-center"},O={class:"flex"},Z=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),J={class:"grid"},K={class:"text-lg"},Q={class:"text-md font-mono"},W={class:"grid gap-3"},X={class:"flex justify-between items-center"},ee={class:"flex"},se=e("img",{class:"w-10 mr-3",src:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/"},null,-1),te={class:"grid"},ae={class:"text-lg"},ie={class:"text-md font-mono"},ue={__name:"RivalsView",setup(oe){const y=G(),$=z();var v=null,o=null;const D={id:1,name:"Trmazi",extid:12345678,avatar:"https://static.wikia.nocookie.net/dancedancerevolutionddr/images/3/3b/Yuni_img1.gif/",last:{arcade:"GhettoCade",date:"7/16/2023"}},h=[{id:1,name:"TRMAZI",rivalID:"1234-5678"},{id:2,name:"BLADE",rivalID:"1454-5687"},{id:3,name:"HO!",rivalID:"5364-5568"}],a=p({currentVersion:null}),l=p({filter:null});v=y.params.game,o=S(v),o.versions||(a.currentVersion=1),o||$.push({name:"ErrorPage",params:{catchAll:"404"}});function I(){if(l.filter)return h.filter(n=>n.name.toLowerCase().includes(l.filter.toLowerCase())||n.rivalID.toLowerCase().includes(l.filter.toLowerCase()))}function R(){var n=null;return a.currentVersion?n=`/assets/games/${o.id}/card/${a.currentVersion}.png`:n=o.cardBG,n}function C(){return`
background-image: url('${R()}');
background-size: cover;
background-repeat: no-repeat;
diff --git a/assets/index.ef6c145a.js b/assets/index.245a4617.js
similarity index 98%
rename from assets/index.ef6c145a.js
rename to assets/index.245a4617.js
index 721795d..9a931c5 100644
--- a/assets/index.ef6c145a.js
+++ b/assets/index.245a4617.js
@@ -27,4 +27,4 @@ var Fu=Object.defineProperty;var Vu=(e,t,r)=>t in e?Fu(e,t,{enumerable:!0,config
url('${t.cover}');
background-size: cover;
background-repeat: no-repeat;
- `}function s(){r.push(`/news/${t.id}`)}return(a,i)=>(w(),K("button",{class:"text-left",onClick:s},[J(ps,{class:"mb-2",style:Dt(n(t.cover)),"has-table":""},{default:xe(()=>[C("div",s0,[C("p",a0,ye(t.date),1),i0,C("h2",o0,ye(t.title),1)])]),_:1},8,["style"])]))}},u0={},c0={class:"text-center py-14 text-gray-500 dark:text-slate-400"},d0=C("p",null,"Nothing's here\u2026",-1),f0=[d0];function h0(e,t){return w(),K("div",c0,f0)}const p0=Iu(u0,[["render",h0]]),m0=C("h2",{class:"pb-4 text-4xl lg:text-5xl"},[_t("Welcome to "),C("samp",null,"PhaseII")],-1),g0={key:0,class:"grid gap-4 grid-cols-1 w-full pb-4"},v0={class:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 mb-6"},_0={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-5 mb-5"},b0={__name:"HomeView",setup(e){const t=Xr();var r=Te([]);const n=Te(null),s=()=>{n.value=tg()};Ct(async()=>{s();try{const l=await t.fetchAllNews();r.value=l}catch(l){console.error("Failed to fetch news data:",l)}});function a(l){return new Date(l*1e3).toLocaleString()}const i=Te(t.userProfiles);He(()=>t.userProfiles,l=>{i.value=l});const o=$(()=>i.value.reduce((l,u)=>l+u.data.total_plays,0));function c(l){var u=[];for(const h of l){const f=wu(h.game);f&&!f.skip&&u.push(h)}return u}return(l,u)=>(w(),de(t0,null,{default:xe(()=>[J(sg,null,{default:xe(()=>[m0,J(Zm,{class:"mb-6"}),J(js,{icon:_(mp),title:"Network News",main:""},null,8,["icon"]),_(r).length?(w(),K("div",g0,[(w(!0),K(Re,null,xt(_(r),h=>(w(),de(l0,{id:h.id,key:h.id,title:h.title,content:h.body,date:a(h.timestamp),cover:h.data.img,class:"w-full h-full"},null,8,["id","title","content","date","cover"]))),128))])):he("",!0),!_(r)||!_(r).length?(w(),de(p0,{key:1})):he("",!0),J(js,{icon:_(op),title:"Quick Stats",main:""},null,8,["icon"]),C("div",v0,[J(Oo,{number:_(o),label:"Cumulative Plays"},null,8,["number"]),J(Oo,{number:i.value.length,label:"Games Played"},null,8,["number"])]),J(js,{icon:_(nu),title:"Showcase",main:""},null,8,["icon"]),C("div",_0,[(w(!0),K(Re,null,xt(c(i.value),h=>(w(),de(_g,{key:h.game,game:h.game,value:h.data.total_plays,"profile-name":" ",type:"plays"},null,8,["game","value"]))),128))])]),_:1})]),_:1}))}},y0=[{meta:{title:"Dashboard"},path:"/",name:"dashboard",component:b0},{meta:{title:"News Post"},path:"/news/:id",name:"news_post",component:()=>Ye(()=>import("./PostView.53949d2c.js"),[])},{meta:{title:"Login"},path:"/auth/login",name:"login",component:()=>Ye(()=>import("./LoginView.51656386.js"),["assets/LoginView.51656386.js","assets/FormCheckRadio.9bd4e29f.js","assets/FormField.e32df112.js","assets/FormControl.3fead597.js","assets/LayoutGuest.935550c8.js","assets/LayoutGuest.043bf50e.css"])},{meta:{title:"Register"},path:"/auth/register",name:"register",component:()=>Ye(()=>import("./RegisterView.733022ae.js"),["assets/RegisterView.733022ae.js","assets/FormCheckRadio.9bd4e29f.js","assets/FormField.e32df112.js","assets/FormControl.3fead597.js","assets/LayoutGuest.935550c8.js","assets/LayoutGuest.043bf50e.css"])},{meta:{title:"Profile"},path:"/profile",name:"profile",component:()=>Ye(()=>import("./ProfileView.6c0bacb6.js"),["assets/ProfileView.6c0bacb6.js","assets/FormField.e32df112.js","assets/FormControl.3fead597.js"])},{meta:{title:"Integrations"},path:"/profile/integrate",name:"profile_integrations",component:()=>Ye(()=>import("./IntegrationView.c80d4b84.js"),[])},{meta:{title:"Login Cards"},path:"/profile/cards",name:"profile_cards",component:()=>Ye(()=>import("./CardsView.8ff89c88.js"),["assets/CardsView.8ff89c88.js","assets/userData.bcc92478.js"])},{meta:{title:"View Profile"},path:"/profiles/:id",name:"profile_viewer",component:()=>Ye(()=>import("./PublicView.fbfe7a07.js"),[]),options:{hotReload:!0}},{meta:{title:"Arcade Overview"},path:"/arcade/:id",name:"arcade",component:()=>Ye(()=>import("./ArcadeView.ca56bb0b.js"),["assets/ArcadeView.ca56bb0b.js","assets/ArcadeCard.687fa394.js","assets/FormCheckRadio.9bd4e29f.js"])},{meta:{title:"Event Settings"},path:"/arcade/:id/events",name:"arcade_events",component:()=>Ye(()=>import("./EventView.36f0af1c.js"),["assets/EventView.36f0af1c.js","assets/ArcadeCard.687fa394.js","assets/FormField.e32df112.js","assets/FormControl.3fead597.js","assets/FormCheckRadio.9bd4e29f.js"]),options:{hotReload:!0}},{meta:{title:"Machine List"},path:"/arcade/:id/machines",name:"arcade_machines",component:()=>Ye(()=>import("./MachinesView.02b687ff.js"),["assets/MachinesView.02b687ff.js","assets/ArcadeCard.687fa394.js","assets/GeneralTable.eb99a8fe.js"]),options:{hotReload:!0}},{meta:{title:"PASELI Transactions"},path:"/arcade/:id/paseli",name:"arcade_paseli",component:()=>Ye(()=>import("./PaseliView.50188af3.js"),["assets/PaseliView.50188af3.js","assets/GeneralTable.eb99a8fe.js","assets/ArcadeCard.687fa394.js"]),options:{hotReload:!0}},{meta:{title:"Game Overview"},path:"/games/:id/",name:"game_page",component:()=>Ye(()=>import("./GameView.374a1d70.js"),["assets/GameView.374a1d70.js","assets/FormControl.3fead597.js","assets/ProfileCard.206878f8.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/GeneralTable.eb99a8fe.js","assets/danClass.233b0381.js"]),options:{hotReload:!0}},{meta:{title:"View Profile"},path:"/games/:game/profiles/:userId/",name:"game_profile",component:()=>Ye(()=>import("./PlayerView.1cff0c06.js"),["assets/PlayerView.1cff0c06.js","assets/ProfileCard.206878f8.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/FormControl.3fead597.js","assets/danClass.233b0381.js"]),options:{hotReload:!0}},{meta:{title:"Edit Profile"},path:"/games/:game/edit",name:"edit_profile",component:()=>Ye(()=>import("./EditView.d1ac0039.js"),["assets/EditView.d1ac0039.js","assets/ProfileCard.206878f8.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/FormField.e32df112.js","assets/FormCheckRadio.9bd4e29f.js","assets/FormControl.3fead597.js"]),options:{hotReload:!0}},{meta:{title:"Rivals"},path:"/games/:game/rivals",name:"game_rivals",component:()=>Ye(()=>import("./RivalsView.ecb93aab.js"),["assets/RivalsView.ecb93aab.js","assets/ProfileCard.206878f8.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/FormField.e32df112.js","assets/FormControl.3fead597.js"]),options:{hotReload:!0}},{meta:{title:"Error"},path:"/:catchAll(.*)",name:"ErrorPage",component:()=>Ye(()=>import("./ErrorView.eaeb20fd.js"),["assets/ErrorView.eaeb20fd.js","assets/LayoutGuest.935550c8.js","assets/LayoutGuest.043bf50e.css"])}],Cu=Wh({history:hh(),routes:y0,scrollBehavior(e,t,r){return r||{top:0}}});const Nu=wf(),ms=If(Zh);ms.use(Cu);ms.use(Nu);ms.component("EasyDataTable",Vl);ms.mount("#app");Xr(Nu);const No="PhaseII eAmusement Network";Cu.afterEach(e=>{var t;document.title=(t=e.meta)!=null&&t.title?`${e.meta.title} \u2014 ${No}`:No});export{ap as $,$ as A,hd as B,S0 as C,Ce as D,ss as E,Re as F,Ae as G,nt as H,Zn as I,vf as J,Hi as K,jr as L,Ka as M,He as N,Zm as O,js as P,pr as Q,Vn as R,U0 as S,Bn as T,Hg as U,C0 as V,_p as W,B0 as X,_t as Y,V0 as Z,ps as _,w as a,P0 as a0,R0 as a1,nu as a2,_g as a3,q as a4,X0 as a5,K0 as a6,H0 as a7,$0 as a8,L0 as a9,k0 as aa,Cr as ab,Dt as ac,wu as ad,fa as ae,E0 as af,Eg as ag,I0 as ah,cg as ai,Oo as aj,F0 as ak,N0 as al,w0 as am,Iu as an,x0 as ao,O0 as ap,T0 as aq,Do as ar,M0 as as,gp as at,j0 as au,J as b,de as c,yt as d,_ as e,Ou as f,C as g,dn as h,K as i,xt as j,he as k,sg as l,sp as m,t0 as n,Ct as o,Jh as p,ka as q,Te as r,Br as s,ye as t,Xr as u,tp as v,xe as w,D0 as x,W as y,Xg as z};
+ `}function s(){r.push(`/news/${t.id}`)}return(a,i)=>(w(),K("button",{class:"text-left",onClick:s},[J(ps,{class:"mb-2",style:Dt(n(t.cover)),"has-table":""},{default:xe(()=>[C("div",s0,[C("p",a0,ye(t.date),1),i0,C("h2",o0,ye(t.title),1)])]),_:1},8,["style"])]))}},u0={},c0={class:"text-center py-14 text-gray-500 dark:text-slate-400"},d0=C("p",null,"Nothing's here\u2026",-1),f0=[d0];function h0(e,t){return w(),K("div",c0,f0)}const p0=Iu(u0,[["render",h0]]),m0=C("h2",{class:"pb-4 text-4xl lg:text-5xl"},[_t("Welcome to "),C("samp",null,"PhaseII")],-1),g0={key:0,class:"grid gap-4 grid-cols-1 w-full pb-4"},v0={class:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 mb-6"},_0={class:"grid grid-flow-row auto-rows-auto grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-5 mb-5"},b0={__name:"HomeView",setup(e){const t=Xr();var r=Te([]);const n=Te(null),s=()=>{n.value=tg()};Ct(async()=>{s();try{const l=await t.fetchAllNews();r.value=l}catch(l){console.error("Failed to fetch news data:",l)}});function a(l){return new Date(l*1e3).toLocaleString()}const i=Te(t.userProfiles);He(()=>t.userProfiles,l=>{i.value=l});const o=$(()=>i.value.reduce((l,u)=>l+u.data.total_plays,0));function c(l){var u=[];for(const h of l){const f=wu(h.game);f&&!f.skip&&u.push(h)}return u}return(l,u)=>(w(),de(t0,null,{default:xe(()=>[J(sg,null,{default:xe(()=>[m0,J(Zm,{class:"mb-6"}),J(js,{icon:_(mp),title:"Network News",main:""},null,8,["icon"]),_(r).length?(w(),K("div",g0,[(w(!0),K(Re,null,xt(_(r),h=>(w(),de(l0,{id:h.id,key:h.id,title:h.title,content:h.body,date:a(h.timestamp),cover:h.data.img,class:"w-full h-full"},null,8,["id","title","content","date","cover"]))),128))])):he("",!0),!_(r)||!_(r).length?(w(),de(p0,{key:1})):he("",!0),J(js,{icon:_(op),title:"Quick Stats",main:""},null,8,["icon"]),C("div",v0,[J(Oo,{number:_(o),label:"Cumulative Plays"},null,8,["number"]),J(Oo,{number:i.value.length,label:"Games Played"},null,8,["number"])]),J(js,{icon:_(nu),title:"Showcase",main:""},null,8,["icon"]),C("div",_0,[(w(!0),K(Re,null,xt(c(i.value),h=>(w(),de(_g,{key:h.game,game:h.game,value:h.data.total_plays,"profile-name":" ",type:"plays"},null,8,["game","value"]))),128))])]),_:1})]),_:1}))}},y0=[{meta:{title:"Dashboard"},path:"/",name:"dashboard",component:b0},{meta:{title:"News Post"},path:"/news/:id",name:"news_post",component:()=>Ye(()=>import("./PostView.637e01b6.js"),[])},{meta:{title:"Login"},path:"/auth/login",name:"login",component:()=>Ye(()=>import("./LoginView.578be74c.js"),["assets/LoginView.578be74c.js","assets/FormCheckRadio.7997f514.js","assets/FormField.b3adf7d6.js","assets/FormControl.e52bf3bc.js","assets/LayoutGuest.ad451616.js","assets/LayoutGuest.043bf50e.css"])},{meta:{title:"Register"},path:"/auth/register",name:"register",component:()=>Ye(()=>import("./RegisterView.46f93855.js"),["assets/RegisterView.46f93855.js","assets/FormCheckRadio.7997f514.js","assets/FormField.b3adf7d6.js","assets/FormControl.e52bf3bc.js","assets/LayoutGuest.ad451616.js","assets/LayoutGuest.043bf50e.css"])},{meta:{title:"Profile"},path:"/profile",name:"profile",component:()=>Ye(()=>import("./ProfileView.4126d4d9.js"),["assets/ProfileView.4126d4d9.js","assets/FormField.b3adf7d6.js","assets/FormControl.e52bf3bc.js"])},{meta:{title:"Integrations"},path:"/profile/integrate",name:"profile_integrations",component:()=>Ye(()=>import("./IntegrationView.484306b2.js"),[])},{meta:{title:"Login Cards"},path:"/profile/cards",name:"profile_cards",component:()=>Ye(()=>import("./CardsView.55035178.js"),["assets/CardsView.55035178.js","assets/userData.bcc92478.js"])},{meta:{title:"View Profile"},path:"/profiles/:id",name:"profile_viewer",component:()=>Ye(()=>import("./PublicView.1e1d0752.js"),[]),options:{hotReload:!0}},{meta:{title:"Arcade Overview"},path:"/arcade/:id",name:"arcade",component:()=>Ye(()=>import("./ArcadeView.d44558ae.js"),["assets/ArcadeView.d44558ae.js","assets/ArcadeCard.39cecb4a.js","assets/FormCheckRadio.7997f514.js"])},{meta:{title:"Event Settings"},path:"/arcade/:id/events",name:"arcade_events",component:()=>Ye(()=>import("./EventView.9846e62f.js"),["assets/EventView.9846e62f.js","assets/ArcadeCard.39cecb4a.js","assets/FormField.b3adf7d6.js","assets/FormControl.e52bf3bc.js","assets/FormCheckRadio.7997f514.js"]),options:{hotReload:!0}},{meta:{title:"Machine List"},path:"/arcade/:id/machines",name:"arcade_machines",component:()=>Ye(()=>import("./MachinesView.1f052a5e.js"),["assets/MachinesView.1f052a5e.js","assets/ArcadeCard.39cecb4a.js","assets/GeneralTable.6dd16912.js"]),options:{hotReload:!0}},{meta:{title:"PASELI Transactions"},path:"/arcade/:id/paseli",name:"arcade_paseli",component:()=>Ye(()=>import("./PaseliView.78718b88.js"),["assets/PaseliView.78718b88.js","assets/GeneralTable.6dd16912.js","assets/ArcadeCard.39cecb4a.js"]),options:{hotReload:!0}},{meta:{title:"Game Overview"},path:"/games/:id/",name:"game_page",component:()=>Ye(()=>import("./GameView.0fbab29f.js"),["assets/GameView.0fbab29f.js","assets/FormControl.e52bf3bc.js","assets/ProfileCard.b5c0184d.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/GeneralTable.6dd16912.js","assets/danClass.233b0381.js"]),options:{hotReload:!0}},{meta:{title:"View Profile"},path:"/games/:game/profiles/:userId/",name:"game_profile",component:()=>Ye(()=>import("./PlayerView.72ecb6de.js"),["assets/PlayerView.72ecb6de.js","assets/ProfileCard.b5c0184d.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/FormControl.e52bf3bc.js","assets/danClass.233b0381.js"]),options:{hotReload:!0}},{meta:{title:"Edit Profile"},path:"/games/:game/edit",name:"edit_profile",component:()=>Ye(()=>import("./EditView.0fdd5eaf.js"),["assets/EditView.0fdd5eaf.js","assets/ProfileCard.b5c0184d.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/FormField.b3adf7d6.js","assets/FormCheckRadio.7997f514.js","assets/FormControl.e52bf3bc.js"]),options:{hotReload:!0}},{meta:{title:"Rivals"},path:"/games/:game/rivals",name:"game_rivals",component:()=>Ye(()=>import("./RivalsView.2571c2ec.js"),["assets/RivalsView.2571c2ec.js","assets/ProfileCard.b5c0184d.js","assets/userData.bcc92478.js","assets/ProfileCard.468ce78b.css","assets/FormField.b3adf7d6.js","assets/FormControl.e52bf3bc.js"]),options:{hotReload:!0}},{meta:{title:"Error"},path:"/:catchAll(.*)",name:"ErrorPage",component:()=>Ye(()=>import("./ErrorView.a1a42e71.js"),["assets/ErrorView.a1a42e71.js","assets/LayoutGuest.ad451616.js","assets/LayoutGuest.043bf50e.css"])}],Cu=Wh({history:hh(),routes:y0,scrollBehavior(e,t,r){return r||{top:0}}});const Nu=wf(),ms=If(Zh);ms.use(Cu);ms.use(Nu);ms.component("EasyDataTable",Vl);ms.mount("#app");Xr(Nu);const No="PhaseII eAmusement Network";Cu.afterEach(e=>{var t;document.title=(t=e.meta)!=null&&t.title?`${e.meta.title} \u2014 ${No}`:No});export{ap as $,$ as A,hd as B,S0 as C,Ce as D,ss as E,Re as F,Ae as G,nt as H,Zn as I,vf as J,Hi as K,jr as L,Ka as M,He as N,Zm as O,js as P,pr as Q,Vn as R,U0 as S,Bn as T,Hg as U,C0 as V,_p as W,B0 as X,_t as Y,V0 as Z,ps as _,w as a,P0 as a0,R0 as a1,nu as a2,_g as a3,q as a4,X0 as a5,K0 as a6,H0 as a7,$0 as a8,L0 as a9,k0 as aa,Cr as ab,Dt as ac,wu as ad,fa as ae,E0 as af,Eg as ag,I0 as ah,cg as ai,Oo as aj,F0 as ak,N0 as al,w0 as am,Iu as an,x0 as ao,O0 as ap,T0 as aq,Do as ar,M0 as as,gp as at,j0 as au,J as b,de as c,yt as d,_ as e,Ou as f,C as g,dn as h,K as i,xt as j,he as k,sg as l,sp as m,t0 as n,Ct as o,Jh as p,ka as q,Te as r,Br as s,ye as t,Xr as u,tp as v,xe as w,D0 as x,W as y,Xg as z};
diff --git a/index.html b/index.html
index f77f064..7d85e44 100644
--- a/index.html
+++ b/index.html
@@ -41,7 +41,7 @@
document.addEventListener('keydown', keyHandler, false);
-
+