@axium/server 0.12.6 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/chunks/{C7-J7XrS.js → BTL0bUBR.js} +2 -2
- package/build/client/_app/immutable/chunks/BTL0bUBR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTL0bUBR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CJNteba2.js → Bb1FLBYy.js} +1 -1
- package/build/client/_app/immutable/chunks/Bb1FLBYy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bb1FLBYy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D5yCkbIu.js → CVa83dr8.js} +1 -1
- package/build/client/_app/immutable/chunks/CVa83dr8.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVa83dr8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BuQsdvxH.js → D1Bh_mwl.js} +1 -1
- package/build/client/_app/immutable/chunks/D1Bh_mwl.js.br +0 -0
- package/build/client/_app/immutable/chunks/{BuQsdvxH.js.gz → D1Bh_mwl.js.gz} +0 -0
- package/build/client/_app/immutable/chunks/DiwI9kUA.js +3 -0
- package/build/client/_app/immutable/chunks/DiwI9kUA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DiwI9kUA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{nXp3Dhop.js → DsTLXD2g.js} +1 -1
- package/build/client/_app/immutable/chunks/DsTLXD2g.js.br +0 -0
- package/build/client/_app/immutable/chunks/DsTLXD2g.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{XS99-ehg.js → e8wRVKCT.js} +13 -13
- package/build/client/_app/immutable/chunks/e8wRVKCT.js.br +0 -0
- package/build/client/_app/immutable/chunks/e8wRVKCT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hjeMeV6C.js +1 -0
- package/build/client/_app/immutable/chunks/hjeMeV6C.js.br +4 -0
- package/build/client/_app/immutable/chunks/hjeMeV6C.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.DqyxPFe4.js → app.Bj9AgMfp.js} +2 -2
- package/build/client/_app/immutable/entry/app.Bj9AgMfp.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Bj9AgMfp.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.D3D0blII.js +1 -0
- package/build/client/_app/immutable/entry/start.D3D0blII.js.br +2 -0
- package/build/client/_app/immutable/entry/start.D3D0blII.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.qBSjDH9J.js → 0.B5tIZ8Ux.js} +1 -1
- package/build/client/_app/immutable/nodes/0.B5tIZ8Ux.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.B5tIZ8Ux.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.CrX7v8qS.js → 1.CgvMyPD2.js} +1 -1
- package/build/client/_app/immutable/nodes/1.CgvMyPD2.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CgvMyPD2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.UKc0Z14i.js → 2.CxWCdWnk.js} +1 -1
- package/build/client/_app/immutable/nodes/2.CxWCdWnk.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CxWCdWnk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.DsLAarCn.js → 3.Cxnd1eBj.js} +1 -1
- package/build/client/_app/immutable/nodes/3.Cxnd1eBj.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.Cxnd1eBj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.BBmDy2XN.js +1 -0
- package/build/client/_app/immutable/nodes/4.BBmDy2XN.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.BBmDy2XN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Dji23mCj.js +1 -0
- package/build/client/_app/immutable/nodes/5.Dji23mCj.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.Dji23mCj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.C0l7G2Ig.js +1 -0
- package/build/client/_app/immutable/nodes/6.C0l7G2Ig.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.C0l7G2Ig.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/server/chunks/{0-50xswu-B.js → 0-DoFQPg1a.js} +2 -2
- package/build/server/chunks/{0-50xswu-B.js.map → 0-DoFQPg1a.js.map} +1 -1
- package/build/server/chunks/1-BWAH9TGW.js +9 -0
- package/build/server/chunks/{1-BHfg-zFZ.js.map → 1-BWAH9TGW.js.map} +1 -1
- package/build/server/chunks/{2-BV8AWU0U.js → 2-D6Jxv35X.js} +2 -2
- package/build/server/chunks/{2-BV8AWU0U.js.map → 2-D6Jxv35X.js.map} +1 -1
- package/build/server/chunks/3-Cgt_tntw.js +9 -0
- package/build/server/chunks/{3-CxaE7W1t.js.map → 3-Cgt_tntw.js.map} +1 -1
- package/build/server/chunks/4-jkxSmP_D.js +9 -0
- package/build/server/chunks/{4-DtGoKtkn.js.map → 4-jkxSmP_D.js.map} +1 -1
- package/build/server/chunks/5-D2gy-tmt.js +9 -0
- package/build/server/chunks/{5-CmkqM8n0.js.map → 5-D2gy-tmt.js.map} +1 -1
- package/build/server/chunks/6-CN2cq92f.js +9 -0
- package/build/server/chunks/{6-plvFwdJJ.js.map → 6-CN2cq92f.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-CR8Oo7e9.js → _page.svelte-BWZAX8uM.js} +2 -2
- package/build/server/chunks/{_page.svelte-CR8Oo7e9.js.map → _page.svelte-BWZAX8uM.js.map} +1 -1
- package/build/server/chunks/{_page.svelte-B3384cfj.js → _page.svelte-CDrMZ0qp.js} +12 -9
- package/build/server/chunks/_page.svelte-CDrMZ0qp.js.map +1 -0
- package/build/server/chunks/{_page.svelte-BgEfD3kA.js → _page.svelte-DNN9oylU.js} +12 -9
- package/build/server/chunks/_page.svelte-DNN9oylU.js.map +1 -0
- package/build/server/chunks/{user-DYj9NpWz.js → user-Bf_pHH7Y.js} +3 -1
- package/build/server/chunks/{user-DYj9NpWz.js.map → user-Bf_pHH7Y.js.map} +1 -1
- package/build/server/index.js +1 -1
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +8 -8
- package/build/server/manifest.js.map +1 -1
- package/package.json +1 -1
- package/routes/login/+page.svelte +2 -18
- package/routes/register/+page.svelte +2 -14
- package/routes/tsconfig.json +4 -0
- package/web/lib/Login.svelte +21 -0
- package/web/lib/Register.svelte +17 -0
- package/build/client/_app/immutable/chunks/BuQsdvxH.js.br +0 -0
- package/build/client/_app/immutable/chunks/C7-J7XrS.js.br +0 -0
- package/build/client/_app/immutable/chunks/C7-J7XrS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJNteba2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJNteba2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUPhaxtP.js +0 -3
- package/build/client/_app/immutable/chunks/CUPhaxtP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUPhaxtP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5yCkbIu.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5yCkbIu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/UmPEH60o.js +0 -1
- package/build/client/_app/immutable/chunks/UmPEH60o.js.br +0 -1
- package/build/client/_app/immutable/chunks/UmPEH60o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XS99-ehg.js.br +0 -0
- package/build/client/_app/immutable/chunks/XS99-ehg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nXp3Dhop.js.br +0 -0
- package/build/client/_app/immutable/chunks/nXp3Dhop.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.DqyxPFe4.js.br +0 -0
- package/build/client/_app/immutable/entry/app.DqyxPFe4.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.C7jF39kH.js +0 -1
- package/build/client/_app/immutable/entry/start.C7jF39kH.js.br +0 -2
- package/build/client/_app/immutable/entry/start.C7jF39kH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.qBSjDH9J.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.qBSjDH9J.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CrX7v8qS.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CrX7v8qS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.UKc0Z14i.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.UKc0Z14i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DsLAarCn.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DsLAarCn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DyVYivYI.js +0 -1
- package/build/client/_app/immutable/nodes/4.DyVYivYI.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DyVYivYI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BiHRhRBp.js +0 -1
- package/build/client/_app/immutable/nodes/5.BiHRhRBp.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BiHRhRBp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.B2YlXtdw.js +0 -1
- package/build/client/_app/immutable/nodes/6.B2YlXtdw.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.B2YlXtdw.js.gz +0 -0
- package/build/server/chunks/1-BHfg-zFZ.js +0 -9
- package/build/server/chunks/3-CxaE7W1t.js +0 -9
- package/build/server/chunks/4-DtGoKtkn.js +0 -9
- package/build/server/chunks/5-CmkqM8n0.js +0 -9
- package/build/server/chunks/6-plvFwdJJ.js +0 -9
- package/build/server/chunks/_page.svelte-B3384cfj.js.map +0 -1
- package/build/server/chunks/_page.svelte-BgEfD3kA.js.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as _,h as i,i as d,j as l,k as u,l as h,E as m,m as v,n as g,o as y,q as c,u as E}from"./D1Bh_mwl.js";function R(t,n,...s){var a=t,e=g,r;_(()=>{e!==(e=n())&&(r&&(y(r),r=null),r=v(()=>e(a,...s)))},m),i&&(a=c)}function T(t){return(n,...s)=>{var f;var a=t(...s),e;if(i)e=c,d();else{var r=a.render().trim(),p=l(r);e=E(p),n.before(e)}const o=(f=a.setup)==null?void 0:f.call(a,e);u(e,e),typeof o=="function"&&h(o)}}export{T as c,R as s};
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
var U=t=>{throw TypeError(t)};var W=(t,e,r)=>e.has(t)||U("Cannot "+r);var d=(t,e,r)=>(W(t,e,"read from private field"),r?r.call(t):e.get(t)),S=(t,e,r)=>e.has(t)?U("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),C=(t,e,r,n)=>(W(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{h as G,i as Q,g as X,E as Z,m as M,C as $,
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.B5tIZ8Ux.js","../chunks/CWj6FrbW.js","../chunks/D1Bh_mwl.js","../chunks/hjeMeV6C.js","../nodes/1.CgvMyPD2.js","../chunks/DsTLXD2g.js","../chunks/Bb1FLBYy.js","../chunks/DiwI9kUA.js","../nodes/2.CxWCdWnk.js","../nodes/3.Cxnd1eBj.js","../chunks/CVa83dr8.js","../chunks/BTL0bUBR.js","../assets/FormDialog.Cbakz6hh.css","../chunks/e8wRVKCT.js","../assets/3.KnidqurY.css","../nodes/4.BBmDy2XN.js","../nodes/5.Dji23mCj.js","../nodes/6.C0l7G2Ig.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var U=t=>{throw TypeError(t)};var W=(t,e,r)=>e.has(t)||U("Cannot "+r);var d=(t,e,r)=>(W(t,e,"read from private field"),r?r.call(t):e.get(t)),S=(t,e,r)=>e.has(t)?U("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),C=(t,e,r,n)=>(W(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r);import{h as G,i as Q,g as X,E as Z,m as M,C as $,q as ee,N as T,W as te,L as g,ak as re,a1 as se,aq as ae,p as ne,ar as oe,ah as ie,as as p,ap as ce,b as z,f as A,s as le,a as k,d as ue,c as D,e as fe,r as de,at as I,au as me,t as _e}from"../chunks/D1Bh_mwl.js";import{a as he,m as ve,u as ge,o as Ee,s as ye}from"../chunks/DsTLXD2g.js";import"../chunks/CWj6FrbW.js";import{p as V,i as j,b as q}from"../chunks/CVa83dr8.js";function B(t,e,r){G&&Q();var n=t,o,l;X(()=>{o!==(o=e())&&(l&&($(l),l=null),o&&(l=M(()=>r(n,o))))},Z),G&&(n=ee)}function be(t){return class extends Pe{constructor(e){super({component:t,...e})}}}var E,m;class Pe{constructor(e){S(this,E);S(this,m);var l;var r=new Map,n=(a,s)=>{var c=ae(s,!1,!1);return r.set(a,c),c};const o=new Proxy({...e.props||{},$$events:{}},{get(a,s){return g(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===te?!0:(g(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,c){return T(r.get(s)??n(s,c),c),Reflect.set(a,s,c)}});C(this,m,(e.hydrate?he:ve)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((l=e==null?void 0:e.props)!=null&&l.$$host)||e.sync===!1)&&re(),C(this,E,o.$$events);for(const a of Object.keys(d(this,m)))a==="$set"||a==="$destroy"||a==="$on"||se(this,a,{get(){return d(this,m)[a]},set(s){d(this,m)[a]=s},enumerable:!0});d(this,m).$set=a=>{Object.assign(o,a)},d(this,m).$destroy=()=>{ge(d(this,m))}}$set(e){d(this,m).$set(e)}$on(e,r){d(this,E)[e]=d(this,E)[e]||[];const n=(...o)=>r.call(this,...o);return d(this,E)[e].push(n),()=>{d(this,E)[e]=d(this,E)[e].filter(o=>o!==n)}}$destroy(){d(this,m).$destroy()}}E=new WeakMap,m=new WeakMap;const Re="modulepreload",ke=function(t,e){return new URL(t,e).href},Y={},P=function(e,r,n){let o=Promise.resolve();if(r&&r.length>0){let a=function(u){return Promise.all(u.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),w=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));o=a(r.map(u=>{if(u=ke(u,n),u in Y)return;Y[u]=!0;const v=u.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(!!n)for(let i=s.length-1;i>=0;i--){const f=s[i];if(f.href===u&&(!v||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${y}`))return;const h=document.createElement("link");if(h.rel=v?"stylesheet":Re,v||(h.as="script"),h.crossOrigin="",h.href=u,w&&h.setAttribute("nonce",w),document.head.appendChild(h),v)return new Promise((i,f)=>{h.addEventListener("load",i),h.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}function l(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&l(s.reason);return e().catch(l)})},Ve={};var we=z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Le=z("<!> <!>",1);function Oe(t,e){ne(e,!0);let r=V(e,"components",23,()=>[]),n=V(e,"data_0",3,null),o=V(e,"data_1",3,null);oe(()=>e.stores.page.set(e.page)),ie(()=>{e.stores,e.page,e.constructors,r(),e.form,n(),o(),e.stores.page.notify()});let l=p(!1),a=p(!1),s=p(null);Ee(()=>{const i=e.stores.page.subscribe(()=>{g(l)&&(T(a,!0),ce().then(()=>{T(s,document.title||"untitled page",!0)}))});return T(l,!0),i});const c=I(()=>e.constructors[1]);var w=Le(),u=A(w);{var v=i=>{var f=D();const L=I(()=>e.constructors[0]);var O=A(f);B(O,()=>g(L),(b,R)=>{q(R(b,{get data(){return n()},get form(){return e.form},children:(_,Te)=>{var N=D(),H=A(N);B(H,()=>g(c),(J,K)=>{q(K(J,{get data(){return o()},get form(){return e.form}}),x=>r()[1]=x,()=>{var x;return(x=r())==null?void 0:x[1]})}),k(_,N)},$$slots:{default:!0}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),k(i,f)},y=i=>{var f=D();const L=I(()=>e.constructors[0]);var O=A(f);B(O,()=>g(L),(b,R)=>{q(R(b,{get data(){return n()},get form(){return e.form}}),_=>r()[0]=_,()=>{var _;return(_=r())==null?void 0:_[0]})}),k(i,f)};j(u,i=>{e.constructors[1]?i(v):i(y,!1)})}var F=le(u,2);{var h=i=>{var f=we(),L=fe(f);{var O=b=>{var R=me();_e(()=>ye(R,g(s))),k(b,R)};j(L,b=>{g(a)&&b(O)})}de(f),k(i,f)};j(F,i=>{g(l)&&i(h)})}k(t,w),ue()}const je=be(Oe),qe=[()=>P(()=>import("../nodes/0.B5tIZ8Ux.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>P(()=>import("../nodes/1.CgvMyPD2.js"),__vite__mapDeps([4,1,2,5,3,6,7]),import.meta.url),()=>P(()=>import("../nodes/2.CxWCdWnk.js"),__vite__mapDeps([8,1,2]),import.meta.url),()=>P(()=>import("../nodes/3.Cxnd1eBj.js"),__vite__mapDeps([9,1,2,5,3,10,11,7,6,12,13,14]),import.meta.url),()=>P(()=>import("../nodes/4.BBmDy2XN.js"),__vite__mapDeps([15,1,2,5,3,10,11,7,6,12,13]),import.meta.url),()=>P(()=>import("../nodes/5.Dji23mCj.js"),__vite__mapDeps([16,1,2,5,3,7,13]),import.meta.url),()=>P(()=>import("../nodes/6.C0l7G2Ig.js"),__vite__mapDeps([17,1,2,5,3,10,11,7,6,12,13]),import.meta.url)],Be=[],Fe={"/_axium/default":[2],"/account":[3],"/login":[4],"/logout":[5],"/register":[6]},xe={handleError:({error:t})=>{console.error(t)},reroute:()=>{},transport:{}},Ae=Object.fromEntries(Object.entries(xe.transport).map(([t,e])=>[t,e.decode])),Ne=!1,Ue=(t,e)=>Ae[t](e);export{Ue as decode,Ae as decoders,Fe as dictionary,Ne as hash,xe as hooks,Ve as matchers,qe as nodes,je as root,Be as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/DiwI9kUA.js";export{o as load_css,r as start};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/CWj6FrbW.js";import{c as n,f as m,a as p}from"../chunks/
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{c as n,f as m,a as p}from"../chunks/D1Bh_mwl.js";import{s as e}from"../chunks/hjeMeV6C.js";function f(a,r){var o=n(),t=m(o);e(t,()=>r.children),p(a,o)}export{f as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/CWj6FrbW.js";import{p as u,b as v,f as c,t as l,a as _,d,e,r as p,s as g}from"../chunks/
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{p as u,b as v,f as c,t as l,a as _,d,e,r as p,s as g}from"../chunks/D1Bh_mwl.js";import{s as o}from"../chunks/DsTLXD2g.js";import{p as m}from"../chunks/Bb1FLBYy.js";var x=v("<h1> </h1> <p> </p>",1);function q(f,i){u(i,!0);var t=x(),r=c(t),h=e(r,!0);p(r);var a=g(r,2),n=e(a,!0);p(a),l(()=>{var s;o(h,m.status),o(n,(s=m.error)==null?void 0:s.message)}),_(f,t),d()}export{q as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/CWj6FrbW.js";import{b as o,a as l}from"../chunks/
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{b as o,a as l}from"../chunks/D1Bh_mwl.js";var t=o(`<div class="main"><h1>It works!</h1> <p>This is the default Axium page. You'll want to change it.</p> <h3>Helpful links</h3> <ul><li><a href="/register">Register</a></li> <li><a href="/login">Login</a></li> <li><a href="/logout">Logout</a></li> <li><a href="/account">Account</a></li></ul></div>`);function n(i){var a=t();l(i,a)}export{n as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/CWj6FrbW.js";import{g as yt,h as R,i as gt,aD as it,x as bt,y as Ye,z as ge,A as fe,U as lt,aE as me,aF as be,G as wt,u as ae,Z as we,Y as xe,aG as ot,af as Ft,B as Ee,m as ke,C as ye,ak as Rt,v as Vt,F as qt,L as s,Q as xt,w as zt,a5 as Ht,a9 as Bt,ad as Et,a2 as Gt,aq as Yt,aH as Fe,a0 as Te,aI as Wt,aJ as Kt,ac as Qt,aK as Zt,q as Jt,aL as Xt,aM as jt,a6 as ea,E as ta,aN as aa,aO as ra,D as na,I as sa,aP as ia,V as la,o as re,_ as oa,p as Ke,aQ as va,e as x,r as g,t as F,at as j,a as A,d as Qe,aR as ua,b as $,as as J,N as B,M as Re,c as ca,f as Ve,$ as fa,s as w,n as da,aS as _a}from"../chunks/BuQsdvxH.js";import{f as pa,w as ha,d as kt,h as ma,s as U}from"../chunks/nXp3Dhop.js";import{p as ya,i as X}from"../chunks/D5yCkbIu.js";import{s as ce,F as Z,r as qe,a as ze,b as vt}from"../chunks/C7-J7XrS.js";import{g as _e}from"../chunks/CUPhaxtP.js";import{d as ga,c as ba,b as wa,g as xa,u as Ea,e as ka,f as Ta,h as Ca,i as Aa,s as $a,j as Ia,k as Na,m as Pa}from"../chunks/XS99-ehg.js";const He=0,pe=1,Be=2;function La(l,e,a,i,h){R&>();var y=l,c=Ft,_=lt,o,r,t,v=be(void 0),d=be(void 0),m=!1;function u(n,f){m=!0,f&&(we(p),xe(p),ot(c));try{n===pe&&i&&(r?Ee(r):r=ke(()=>i(y,v))),n===Be&&h&&(t?Ee(t):t=ke(()=>h(y,d))),n!==He&&o&&ye(o,()=>o=null),n!==pe&&r&&ye(r,()=>r=null),n!==Be&&t&&ye(t,()=>t=null)}finally{f&&(ot(null),xe(null),we(null),Rt())}}var p=yt(()=>{if(_===(_=e()))return;let n=R&&it(_)===(y.data===bt);if(n&&(y=Ye(),ge(y),fe(!1),n=!0),it(_)){var f=_;m=!1,f.then(E=>{f===_&&(me(v,E),u(pe,!0))},E=>{if(f===_&&(me(d,E),u(Be,!0),!h))throw d.v}),R||wt(()=>{m||u(He,!0)})}else me(v,_),u(pe,!1);return n&&fe(!0),()=>_=lt});R&&(y=ae)}function ue(l,e){R&&ge(Vt(l)),qt(()=>{var a=e();for(var i in a){var h=a[i];h?l.style.setProperty(i,h):l.style.removeProperty(i)}})}function ut(l,e){return e}function Sa(l,e,a,i){for(var h=[],y=e.length,c=0;c<y;c++)Kt(e[c].e,h,!0);var _=y>0&&h.length===0&&a!==null;if(_){var o=a.parentNode;Qt(o),o.append(a),i.clear(),Q(l,e[0].prev,e[y-1].next)}Zt(h,()=>{for(var r=0;r<y;r++){var t=e[r];_||(i.delete(t.k),Q(l,t.prev,t.next)),Jt(t.e,!_)}})}function ct(l,e,a,i,h,y=null){var c=l,_={flags:e,items:new Map,first:null};R&>();var o=null,r=!1,t=xt(()=>{var v=a();return Gt(v)?v:v==null?[]:Et(v)});yt(()=>{var v=s(t),d=v.length;if(r&&d===0)return;r=d===0;let m=!1;if(R){var u=zt(c)===bt;u!==(d===0)&&(c=Ye(),ge(c),fe(!1),m=!0)}if(R){for(var p=null,n,f=0;f<d;f++){if(ae.nodeType===Ht&&ae.data===Bt){c=ae,m=!0,fe(!1);break}var E=v[f],k=i(E,f);n=Tt(ae,_,p,null,E,k,f,h,e,a),_.items.set(k,n),p=n}d>0&&ge(Ye())}R||Da(v,_,c,h,e,i,a),y!==null&&(d===0?o?Ee(o):o=ke(()=>y(c)):o!==null&&ye(o,()=>{o=null})),m&&fe(!0),s(t)}),R&&(c=ae)}function Da(l,e,a,i,h,y,c){var _=l.length,o=e.items,r=e.first,t=r,v,d=null,m=[],u=[],p,n,f,E;for(E=0;E<_;E+=1){if(p=l[E],n=y(p,E),f=o.get(n),f===void 0){var k=t?t.e.nodes_start:a;d=Tt(k,e,d,d===null?e.first:d.next,p,n,E,i,h,c),o.set(n,d),m=[],u=[],t=d.next;continue}if(Oa(f,p,E),(f.e.f&Fe)!==0&&Ee(f.e),f!==t){if(v!==void 0&&v.has(f)){if(m.length<u.length){var S=u[0],I;d=S.prev;var Y=m[0],W=m[m.length-1];for(I=0;I<m.length;I+=1)ft(m[I],S,a);for(I=0;I<u.length;I+=1)v.delete(u[I]);Q(e,Y.prev,W.next),Q(e,d,Y),Q(e,W,S),t=S,d=W,E-=1,m=[],u=[]}else v.delete(f),ft(f,t,a),Q(e,f.prev,f.next),Q(e,f,d===null?e.first:d.next),Q(e,d,f),d=f;continue}for(m=[],u=[];t!==null&&t.k!==n;)(t.e.f&Fe)===0&&(v??(v=new Set)).add(t),u.push(t),t=t.next;if(t===null)continue;f=t}m.push(f),d=f,t=f.next}if(t!==null||v!==void 0){for(var q=v===void 0?[]:Et(v);t!==null;)(t.e.f&Fe)===0&&q.push(t),t=t.next;var V=q.length;if(V>0){var ne=null;Sa(e,q,ne,o)}}Te.first=e.first&&e.first.e,Te.last=d&&d.e}function Oa(l,e,a,i){me(l.v,e),l.i=a}function Tt(l,e,a,i,h,y,c,_,o,r){var t=(o&Xt)!==0,v=(o&jt)===0,d=t?v?Yt(h,!1,!1):be(h):h,m=(o&Wt)===0?c:be(c),u={i:m,v:d,k:y,a:null,e:null,prev:a,next:i};try{return u.e=ke(()=>_(l,d,m,r),R),u.e.prev=a&&a.e,u.e.next=i&&i.e,a===null?e.first=u:(a.next=u,a.e.next=u.e),i!==null&&(i.prev=u,i.e.prev=u.e),u}finally{}}function ft(l,e,a){for(var i=l.next?l.next.e.nodes_start:a,h=e?e.e.nodes_start:a,y=l.e.nodes_start;y!==i;){var c=ea(y);h.before(y),y=c}}function Q(l,e,a){e===null?l.first=a:(e.next=a,e.e.next=a&&a.e),a!==null&&(a.prev=e,a.e.prev=e&&e.e)}const Ma=()=>performance.now(),G={tick:l=>requestAnimationFrame(l),now:()=>Ma(),tasks:new Set};function Ct(){const l=G.now();G.tasks.forEach(e=>{e.c(l)||(G.tasks.delete(e),e.f())}),G.tasks.size!==0&&G.tick(Ct)}function Ua(l){let e;return G.tasks.size===0&&G.tick(Ct),{promise:new Promise(a=>{G.tasks.add(e={c:l,f:a})}),abort(){G.tasks.delete(e)}}}function he(l,e){ha(()=>{l.dispatchEvent(new CustomEvent(e))})}function Fa(l){if(l==="float")return"cssFloat";if(l==="offset")return"cssOffset";if(l.startsWith("--"))return l;const e=l.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(a=>a[0].toUpperCase()+a.slice(1)).join("")}function dt(l){const e={},a=l.split(";");for(const i of a){const[h,y]=i.split(":");if(!h||y===void 0)break;const c=Fa(h.trim());e[c]=y.trim()}return e}const Ra=l=>l;function _t(l,e,a,i){var h=(l&ia)!==0,y="both",c,_=e.inert,o=e.style.overflow,r,t;function v(){var n=oa,f=Te;xe(null),we(null);try{return c??(c=a()(e,(i==null?void 0:i())??{},{direction:y}))}finally{xe(n),we(f)}}var d={is_global:h,in(){e.inert=_,he(e,"introstart"),r=We(e,v(),t,1,()=>{he(e,"introend"),r==null||r.abort(),r=c=void 0,e.style.overflow=o})},out(n){e.inert=!0,he(e,"outrostart"),t=We(e,v(),r,0,()=>{he(e,"outroend"),n==null||n()})},stop:()=>{r==null||r.abort(),t==null||t.abort()}},m=Te;if((m.transitions??(m.transitions=[])).push(d),pa){var u=h;if(!u){for(var p=m.parent;p&&(p.f&ta)!==0;)for(;(p=p.parent)&&(p.f&aa)===0;);u=!p||(p.f&ra)!==0}u&&na(()=>{sa(()=>d.in())})}}function We(l,e,a,i,h){var y=i===1;if(la(e)){var c,_=!1;return wt(()=>{if(!_){var n=e({direction:y?"in":"out"});c=We(l,n,a,i,h)}}),{abort:()=>{_=!0,c==null||c.abort()},deactivate:()=>c.deactivate(),reset:()=>c.reset(),t:()=>c.t()}}if(a==null||a.deactivate(),!(e!=null&&e.duration))return h(),{abort:re,deactivate:re,reset:re,t:()=>i};const{delay:o=0,css:r,tick:t,easing:v=Ra}=e;var d=[];if(y&&a===void 0&&(t&&t(0,1),r)){var m=dt(r(0,1));d.push(m,m)}var u=()=>1-i,p=l.animate(d,{duration:o,fill:"forwards"});return p.onfinish=()=>{p.cancel();var n=(a==null?void 0:a.t())??1-i;a==null||a.abort();var f=i-n,E=e.duration*Math.abs(f),k=[];if(E>0){var S=!1;if(r)for(var I=Math.ceil(E/16.666666666666668),Y=0;Y<=I;Y+=1){var W=n+f*v(Y/I),q=dt(r(W,1-W));k.push(q),S||(S=q.overflow==="hidden")}S&&(l.style.overflow="hidden"),u=()=>{var V=p.currentTime;return n+f*v(V/E)},t&&Ua(()=>{if(p.playState!=="running")return!1;var V=u();return t(V,1-V),!0})}p=l.animate(k,{duration:E,fill:"forwards"}),p.onfinish=()=>{u=()=>i,t==null||t(i,1-i),h()}},{abort:()=>{p&&(p.cancel(),p.effect=null,p.onfinish=re)},deactivate:()=>{h=re},reset:()=>{i===0&&(t==null||t(1,0))},t:()=>u()}}const Va=l=>l;function pt(l,{delay:e=0,duration:a=400,easing:i=Va}={}){const h=+getComputedStyle(l).opacity;return{delay:e,duration:a,easing:i,css:y=>`opacity: ${y*h}`}}var Ge={exports:{}},ht;function qa(){return ht||(ht=1,function(l){var e=Object.prototype.hasOwnProperty,a="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(a=!1));function h(o,r,t){this.fn=o,this.context=r,this.once=t||!1}function y(o,r,t,v,d){if(typeof t!="function")throw new TypeError("The listener must be a function");var m=new h(t,v||o,d),u=a?a+r:r;return o._events[u]?o._events[u].fn?o._events[u]=[o._events[u],m]:o._events[u].push(m):(o._events[u]=m,o._eventsCount++),o}function c(o,r){--o._eventsCount===0?o._events=new i:delete o._events[r]}function _(){this._events=new i,this._eventsCount=0}_.prototype.eventNames=function(){var r=[],t,v;if(this._eventsCount===0)return r;for(v in t=this._events)e.call(t,v)&&r.push(a?v.slice(1):v);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},_.prototype.listeners=function(r){var t=a?a+r:r,v=this._events[t];if(!v)return[];if(v.fn)return[v.fn];for(var d=0,m=v.length,u=new Array(m);d<m;d++)u[d]=v[d].fn;return u},_.prototype.listenerCount=function(r){var t=a?a+r:r,v=this._events[t];return v?v.fn?1:v.length:0},_.prototype.emit=function(r,t,v,d,m,u){var p=a?a+r:r;if(!this._events[p])return!1;var n=this._events[p],f=arguments.length,E,k;if(n.fn){switch(n.once&&this.removeListener(r,n.fn,void 0,!0),f){case 1:return n.fn.call(n.context),!0;case 2:return n.fn.call(n.context,t),!0;case 3:return n.fn.call(n.context,t,v),!0;case 4:return n.fn.call(n.context,t,v,d),!0;case 5:return n.fn.call(n.context,t,v,d,m),!0;case 6:return n.fn.call(n.context,t,v,d,m,u),!0}for(k=1,E=new Array(f-1);k<f;k++)E[k-1]=arguments[k];n.fn.apply(n.context,E)}else{var S=n.length,I;for(k=0;k<S;k++)switch(n[k].once&&this.removeListener(r,n[k].fn,void 0,!0),f){case 1:n[k].fn.call(n[k].context);break;case 2:n[k].fn.call(n[k].context,t);break;case 3:n[k].fn.call(n[k].context,t,v);break;case 4:n[k].fn.call(n[k].context,t,v,d);break;default:if(!E)for(I=1,E=new Array(f-1);I<f;I++)E[I-1]=arguments[I];n[k].fn.apply(n[k].context,E)}}return!0},_.prototype.on=function(r,t,v){return y(this,r,t,v,!1)},_.prototype.once=function(r,t,v){return y(this,r,t,v,!0)},_.prototype.removeListener=function(r,t,v,d){var m=a?a+r:r;if(!this._events[m])return this;if(!t)return c(this,m),this;var u=this._events[m];if(u.fn)u.fn===t&&(!d||u.once)&&(!v||u.context===v)&&c(this,m);else{for(var p=0,n=[],f=u.length;p<f;p++)(u[p].fn!==t||d&&!u[p].once||v&&u[p].context!==v)&&n.push(u[p]);n.length?this._events[m]=n.length===1?n[0]:n:c(this,m)}return this},_.prototype.removeAllListeners=function(r){var t;return r?(t=a?a+r:r,this._events[t]&&c(this,t)):(this._events=new i,this._eventsCount=0),this},_.prototype.off=_.prototype.removeListener,_.prototype.addListener=_.prototype.on,_.prefixed=a,_.EventEmitter=_,l.exports=_}(Ge)),Ge.exports}qa();function za(l){return new Promise(e=>setTimeout(e,l))}const mt=Intl.NumberFormat("en",{notation:"compact"});mt.format.bind(mt);new TextEncoder;new TextDecoder;var Ha=va('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" class="svelte-ylmrta"><use></use></svg>');function H(l,e){Ke(e,!0);const a=j(()=>e.i.includes("/")?e.i.split("/"):["solid",e.i]),i=j(()=>ua(s(a),2)),h=j(()=>s(i)[0]),y=j(()=>s(i)[1]),c=j(()=>`/icons/${s(h)}.svg#${s(y)}`);var _=Ha(),o=x(_);g(_),F(()=>ce(o,"href",s(c))),A(l,_),Qe()}async function Ba(l,e,a,i){const h=new Blob([e.value],{type:a()}),y=new ClipboardItem({[a()]:h});await navigator.clipboard.write([y]),B(i,!0),await za(3e3),B(i,!1)}var Ga=$('<span class="svelte-g409dh"><!></span>'),Ya=$('<span class="svelte-g409dh"><!></span>'),Wa=$('<button class="svelte-g409dh"><!></button>');function Ka(l,e){Ke(e,!0);const a=ya(e,"type",3,"text/plain");let i=J(!1);var h=Wa();h.__click=[Ba,e,a,i];var y=x(h);{var c=o=>{var r=Ga(),t=x(r);H(t,{i:"check"}),g(r),_t(3,r,()=>pt),A(o,r)},_=o=>{var r=Ya(),t=x(r);H(t,{i:"copy"}),g(r),_t(3,r,()=>pt),A(o,r)};X(y,o=>{s(i)?o(c):o(_,!1)})}g(h),A(l,h),Qe()}kt(["click"]);var Qa=(l,e,a)=>e[a()].showModal(),Za=$('<button class="svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),Ja=$('<div class="svelte-yn085l"><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),Xa=$("<dfn><!></dfn>"),ja=(l,e,a)=>$a(s(e).id).then(()=>B(a,!0)),er=$("<button> </button>"),tr=$('<div class="svelte-yn085l"><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),ar=(l,e)=>e.delete.showModal(),rr=$("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),nr=$("<p> </p>"),sr=$('<p class="subtle"><i>Unnamed</i></p>'),ir=$('<dfn title="You must have at least one passkey" class="disabled svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),lr=$('<div class="svelte-yn085l"><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),or=$(`<p class="svelte-yn085l">Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>`),vr=$('<div class="item passkey svelte-yn085l"><dfn class="svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <dfn class="svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <!> <p> </p> <!> <!></div> <!> <!>',1),ur=(l,e,a)=>ba(s(e).id).then(s(a).push.bind(s(a))),cr=$('<span class="current svelte-yn085l">Current</span>'),fr=$('<span class="elevated svelte-yn085l">Elevated</span>'),dr=$('<p class="svelte-yn085l">Are you sure you want to log out this session?</p>'),_r=$('<div class="item session svelte-yn085l"><p> <!> <!></p> <p> </p> <p> </p> <!></div> <!>',1),pr=(l,e)=>e.logout_all.showModal(),hr=$("<p>Are you sure you want to log out all sessions?</p>"),mr=$(`<div class="Account flex-content"><img class="pfp svelte-yn085l" alt="User profile"/> <p class="greeting svelte-yn085l"> </p> <div class="section main svelte-yn085l"><h3 class="svelte-yn085l">Personal Information</h3> <div class="item info svelte-yn085l"><p class="subtle svelte-yn085l">Name</p> <p class="svelte-yn085l"> </p> <!></div> <!> <div class="item info svelte-yn085l"><p class="subtle svelte-yn085l">Email</p> <p class="svelte-yn085l"> <!></p> <!></div> <!> <div class="item info svelte-yn085l"><p class="subtle svelte-yn085l">User ID <dfn title="This is your UUID. It can't be changed."><!></dfn></p> <p class="svelte-yn085l"> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <span><a class="signout svelte-yn085l" href="/logout"><button>Sign out</button></a> <button class="danger">Delete Account</button> <!></span></div> <div class="section main svelte-yn085l"><h3 class="svelte-yn085l">Passkeys</h3> <!> <span><button><!> Create</button></span></div> <div class="section main svelte-yn085l"><h3 class="svelte-yn085l">Sessions</h3> <!> <span><button class="danger">Logout All</button></span> <!></div></div>`),yr=$('<div class="error"><h3>Failed to load account</h3> <p> </p></div>');function Cr(l,e){Ke(e,!0);const a=(u,p=re,n)=>{let f=xt(()=>_a(n==null?void 0:n(),"pen"));var E=Za();E.__click=[Qa,i,p],vt(E,"",{},{display:"contents"});var k=x(E);ue(k,()=>({"--size":"16px"})),H(k.lastChild,{get i(){return s(f)}}),g(k),g(E),A(u,E)},i=Re({});let h=J(!1),y=J(void 0),c=J(void 0),_=J(!1),o=J(Re([])),r=J(Re([]));async function t(){B(y,await ka().catch(()=>(_e("/login?after=/account"),null)),!0),B(c,s(y).user,!0),B(o,await Ta(s(c).id),!0),B(r,await Ca(s(c).id),!0),B(_,await Aa(s(c).id),!0)}async function v(u){const p=await Ea(s(c).id,u);B(c,p,!0)}var d=ca();ma(u=>{fa.title="Account"});var m=Ve(d);La(m,t,null,u=>{var p=mr(),n=x(p),f=w(n,2),E=x(f);g(f);var k=w(f,2),S=w(x(k),2),I=w(x(S),2),Y=x(I,!0);g(I);var W=w(I,2);a(W,()=>"edit_name"),g(S);var q=w(S,2);Z(q,{submit:v,submitText:"Change",get dialog(){return i.edit_name},set dialog(T){i.edit_name=T},children:(T,b)=>{var N=Ja(),P=w(x(N),2);qe(P),g(N),F(()=>ze(P,s(c).name||"")),A(T,N)},$$slots:{default:!0}});var V=w(q,2),ne=w(x(V),2),Ze=x(ne),At=w(Ze);{var $t=T=>{var b=Xa(),N=x(b);H(N,{i:"regular/circle-check"}),g(b),F(P=>ce(b,"title",`Email verified on ${P??""}`),[()=>s(c).emailVerified.toLocaleDateString()]),A(T,b)},It=(T,b)=>{{var N=P=>{var D=er();D.__click=[ja,c,h];var z=x(D,!0);g(D),F(()=>U(z,s(h)?"Verification email sent":"Verify")),A(P,D)};X(T,P=>{s(_)&&P(N)},b)}};X(At,T=>{s(c).emailVerified?T($t):T(It,!1)})}g(ne);var Nt=w(ne,2);a(Nt,()=>"edit_email"),g(V);var Je=w(V,2);Z(Je,{submit:v,submitText:"Change",get dialog(){return i.edit_email},set dialog(T){i.edit_email=T},children:(T,b)=>{var N=tr(),P=w(x(N),2);qe(P),g(N),F(()=>ze(P,s(c).email||"")),A(T,N)},$$slots:{default:!0}});var Ce=w(Je,2),Ae=x(Ce),Xe=w(x(Ae)),Pt=x(Xe);H(Pt,{i:"regular/circle-info"}),g(Xe),g(Ae);var $e=w(Ae,2),Lt=x($e,!0);g($e);var Ie=w($e,2);ue(Ie,()=>({"--size":"16px"})),Ka(Ie.lastChild,{get value(){return s(c).id}}),g(Ie),g(Ce);var je=w(Ce,2),Ne=w(x(je),2);Ne.__click=[ar,i],vt(Ne,"",{},{cursor:"pointer"});var St=w(Ne,2);Z(St,{submit:()=>ga(s(c).id).then(()=>_e("/")),submitText:"Delete Account",submitDanger:!0,get dialog(){return i.delete},set dialog(T){i.delete=T},children:(T,b)=>{var N=rr();A(T,N)},$$slots:{default:!0}}),g(je),g(k);var Pe=w(k,2),et=w(x(Pe),2);ct(et,17,()=>s(o),ut,(T,b,N)=>{var P=vr(),D=Ve(P),z=x(D),ee=x(z);const De=j(()=>s(b).deviceType=="multiDevice"?"laptop-mobile":"mobile");ue(ee,()=>({"--size":"16px"})),H(ee.lastChild,{get i(){return s(De)}}),g(ee),g(z);var te=w(z,2),se=x(te);const ie=j(()=>s(b).backedUp?"circle-check":"circle-xmark");ue(se,()=>({"--size":"16px"})),H(se.lastChild,{get i(){return s(ie)}}),g(se),g(te);var de=w(te,2);{var le=C=>{var O=nr(),M=x(O,!0);g(O),F(()=>U(M,s(b).name)),A(C,O)},Oe=C=>{var O=sr();A(C,O)};X(de,C=>{s(b).name?C(le):C(Oe,!1)})}var oe=w(de,2),Me=x(oe);g(oe);var L=w(oe,2);a(L,()=>"edit_passkey#"+s(b).id);var K=w(L,2);{var ve=C=>{a(C,()=>"delete_passkey#"+s(b).id,()=>"trash")},Ue=C=>{var O=ir(),M=x(O);ue(M,()=>({"--fill":"#888","--size":"16px"})),H(M.lastChild,{i:"trash-slash"}),g(M),g(O),A(C,O)};X(K,C=>{s(o).length>1?C(ve):C(Ue,!1)})}g(D);var nt=w(D,2);Z(nt,{submit:C=>{if(typeof C.name!="string")throw"Passkey name must be a string";return s(b).name=C.name,Ia(s(b).id,C)},submitText:"Change",get dialog(){return i["edit_passkey#"+s(b).id]},set dialog(C){i["edit_passkey#"+s(b).id]=C},children:(C,O)=>{var M=lr(),st=w(x(M),2);qe(st),g(M),F(()=>ze(st,s(b).name||"")),A(C,M)},$$slots:{default:!0}});var Ut=w(nt,2);Z(Ut,{submit:()=>Na(s(b).id).then(()=>s(o).splice(s(o).indexOf(s(b)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return i["delete_passkey#"+s(b).id]},set dialog(C){i["delete_passkey#"+s(b).id]=C},children:(C,O)=>{var M=or();A(C,M)},$$slots:{default:!0}}),F(C=>{ce(z,"title",s(b).deviceType=="multiDevice"?"Multiple devices":"Single device"),ce(te,"title",`This passkey is ${s(b).backedUp?"":"not "}backed up`),U(Me,`Created ${C??""}`)},[()=>s(b).createdAt.toLocaleString()]),A(T,P)});var tt=w(et,2),Le=x(tt);Le.__click=[ur,c,o];var Dt=x(Le);H(Dt,{i:"plus"}),da(),g(Le),g(tt),g(Pe);var at=w(Pe,2),rt=w(x(at),2);ct(rt,17,()=>s(r),ut,(T,b)=>{var N=_r(),P=Ve(N),D=x(P),z=x(D),ee=w(z);{var De=L=>{var K=cr();A(L,K)};X(ee,L=>{s(b).id==s(y).id&&L(De)})}var te=w(ee,2);{var se=L=>{var K=fr();A(L,K)};X(te,L=>{s(b).elevated&&L(se)})}g(D);var ie=w(D,2),de=x(ie);g(ie);var le=w(ie,2),Oe=x(le);g(le);var oe=w(le,2);a(oe,()=>"logout#"+s(b).id,()=>"right-from-bracket"),g(P);var Me=w(P,2);Z(Me,{submit:async()=>{await Pa(s(c).id,s(b).id),i["logout#"+s(b).id].remove(),s(r).splice(s(r).indexOf(s(b)),1),s(b).id==s(y).id&&_e("/")},submitText:"Logout",get dialog(){return i["logout#"+s(b).id]},set dialog(L){i["logout#"+s(b).id]=L},children:(L,K)=>{var ve=dr();A(L,ve)},$$slots:{default:!0}}),F((L,K,ve,Ue)=>{U(z,`${L??""}...${K??""} `),U(de,`Created ${ve??""}`),U(Oe,`Expires ${Ue??""}`)},[()=>s(b).id.slice(0,4),()=>s(b).id.slice(-4),()=>s(b).created.toLocaleString(),()=>s(b).expires.toLocaleString()]),A(T,N)});var Se=w(rt,2),Ot=x(Se);Ot.__click=[pr,i],g(Se);var Mt=w(Se,2);Z(Mt,{submit:()=>wa(s(c).id).then(()=>_e("/")),submitText:"Logout All Sessions",submitDanger:!0,get dialog(){return i.logout_all},set dialog(T){i.logout_all=T},children:(T,b)=>{var N=hr();A(T,N)},$$slots:{default:!0}}),g(at),g(p),F(T=>{ce(n,"src",T),U(E,`Welcome, ${s(c).name??""}`),U(Y,s(c).name),U(Ze,`${s(c).email??""} `),U(Lt,s(c).id)},[()=>xa(s(c))]),A(u,p)},(u,p)=>{var n=yr(),f=w(x(n),2),E=x(f,!0);g(f),g(n),F(()=>U(E,"message"in s(p)?s(p).message:s(p))),A(u,n)}),A(l,d),Qe()}kt(["click"]);export{Cr as component};
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{g as yt,h as R,i as gt,aD as it,x as bt,y as Ye,z as ge,A as fe,U as lt,aE as me,aF as be,G as wt,q as ae,Z as we,Y as xe,aG as ot,af as Ft,B as Ee,m as ke,C as ye,ak as Rt,u as Vt,F as qt,L as s,Q as xt,w as zt,a5 as Ht,a9 as Bt,ad as Et,a2 as Gt,aq as Yt,aH as Fe,a0 as Te,aI as Wt,aJ as Kt,ac as Qt,aK as Zt,o as Jt,aL as Xt,aM as jt,a6 as ea,E as ta,aN as aa,aO as ra,D as na,I as sa,aP as ia,V as la,n as re,_ as oa,p as Ke,aQ as va,e as x,r as g,t as F,at as j,a as A,d as Qe,aR as ua,b as $,as as J,N as B,M as Re,c as ca,f as Ve,$ as fa,s as w,v as da,aS as _a}from"../chunks/D1Bh_mwl.js";import{f as pa,w as ha,d as kt,h as ma,s as U}from"../chunks/DsTLXD2g.js";import{p as ya,i as X}from"../chunks/CVa83dr8.js";import{s as ce,F as Z,r as qe,a as ze,b as vt}from"../chunks/BTL0bUBR.js";import{g as _e}from"../chunks/DiwI9kUA.js";import{d as ga,c as ba,b as wa,g as xa,u as Ea,e as ka,f as Ta,h as Ca,i as Aa,s as $a,j as Ia,k as Na,m as Pa}from"../chunks/e8wRVKCT.js";const He=0,pe=1,Be=2;function La(l,e,a,i,h){R&>();var y=l,c=Ft,_=lt,o,r,t,v=be(void 0),d=be(void 0),m=!1;function u(n,f){m=!0,f&&(we(p),xe(p),ot(c));try{n===pe&&i&&(r?Ee(r):r=ke(()=>i(y,v))),n===Be&&h&&(t?Ee(t):t=ke(()=>h(y,d))),n!==He&&o&&ye(o,()=>o=null),n!==pe&&r&&ye(r,()=>r=null),n!==Be&&t&&ye(t,()=>t=null)}finally{f&&(ot(null),xe(null),we(null),Rt())}}var p=yt(()=>{if(_===(_=e()))return;let n=R&&it(_)===(y.data===bt);if(n&&(y=Ye(),ge(y),fe(!1),n=!0),it(_)){var f=_;m=!1,f.then(E=>{f===_&&(me(v,E),u(pe,!0))},E=>{if(f===_&&(me(d,E),u(Be,!0),!h))throw d.v}),R||wt(()=>{m||u(He,!0)})}else me(v,_),u(pe,!1);return n&&fe(!0),()=>_=lt});R&&(y=ae)}function ue(l,e){R&&ge(Vt(l)),qt(()=>{var a=e();for(var i in a){var h=a[i];h?l.style.setProperty(i,h):l.style.removeProperty(i)}})}function ut(l,e){return e}function Sa(l,e,a,i){for(var h=[],y=e.length,c=0;c<y;c++)Kt(e[c].e,h,!0);var _=y>0&&h.length===0&&a!==null;if(_){var o=a.parentNode;Qt(o),o.append(a),i.clear(),Q(l,e[0].prev,e[y-1].next)}Zt(h,()=>{for(var r=0;r<y;r++){var t=e[r];_||(i.delete(t.k),Q(l,t.prev,t.next)),Jt(t.e,!_)}})}function ct(l,e,a,i,h,y=null){var c=l,_={flags:e,items:new Map,first:null};R&>();var o=null,r=!1,t=xt(()=>{var v=a();return Gt(v)?v:v==null?[]:Et(v)});yt(()=>{var v=s(t),d=v.length;if(r&&d===0)return;r=d===0;let m=!1;if(R){var u=zt(c)===bt;u!==(d===0)&&(c=Ye(),ge(c),fe(!1),m=!0)}if(R){for(var p=null,n,f=0;f<d;f++){if(ae.nodeType===Ht&&ae.data===Bt){c=ae,m=!0,fe(!1);break}var E=v[f],k=i(E,f);n=Tt(ae,_,p,null,E,k,f,h,e,a),_.items.set(k,n),p=n}d>0&&ge(Ye())}R||Da(v,_,c,h,e,i,a),y!==null&&(d===0?o?Ee(o):o=ke(()=>y(c)):o!==null&&ye(o,()=>{o=null})),m&&fe(!0),s(t)}),R&&(c=ae)}function Da(l,e,a,i,h,y,c){var _=l.length,o=e.items,r=e.first,t=r,v,d=null,m=[],u=[],p,n,f,E;for(E=0;E<_;E+=1){if(p=l[E],n=y(p,E),f=o.get(n),f===void 0){var k=t?t.e.nodes_start:a;d=Tt(k,e,d,d===null?e.first:d.next,p,n,E,i,h,c),o.set(n,d),m=[],u=[],t=d.next;continue}if(Oa(f,p,E),(f.e.f&Fe)!==0&&Ee(f.e),f!==t){if(v!==void 0&&v.has(f)){if(m.length<u.length){var S=u[0],I;d=S.prev;var Y=m[0],W=m[m.length-1];for(I=0;I<m.length;I+=1)ft(m[I],S,a);for(I=0;I<u.length;I+=1)v.delete(u[I]);Q(e,Y.prev,W.next),Q(e,d,Y),Q(e,W,S),t=S,d=W,E-=1,m=[],u=[]}else v.delete(f),ft(f,t,a),Q(e,f.prev,f.next),Q(e,f,d===null?e.first:d.next),Q(e,d,f),d=f;continue}for(m=[],u=[];t!==null&&t.k!==n;)(t.e.f&Fe)===0&&(v??(v=new Set)).add(t),u.push(t),t=t.next;if(t===null)continue;f=t}m.push(f),d=f,t=f.next}if(t!==null||v!==void 0){for(var q=v===void 0?[]:Et(v);t!==null;)(t.e.f&Fe)===0&&q.push(t),t=t.next;var V=q.length;if(V>0){var ne=null;Sa(e,q,ne,o)}}Te.first=e.first&&e.first.e,Te.last=d&&d.e}function Oa(l,e,a,i){me(l.v,e),l.i=a}function Tt(l,e,a,i,h,y,c,_,o,r){var t=(o&Xt)!==0,v=(o&jt)===0,d=t?v?Yt(h,!1,!1):be(h):h,m=(o&Wt)===0?c:be(c),u={i:m,v:d,k:y,a:null,e:null,prev:a,next:i};try{return u.e=ke(()=>_(l,d,m,r),R),u.e.prev=a&&a.e,u.e.next=i&&i.e,a===null?e.first=u:(a.next=u,a.e.next=u.e),i!==null&&(i.prev=u,i.e.prev=u.e),u}finally{}}function ft(l,e,a){for(var i=l.next?l.next.e.nodes_start:a,h=e?e.e.nodes_start:a,y=l.e.nodes_start;y!==i;){var c=ea(y);h.before(y),y=c}}function Q(l,e,a){e===null?l.first=a:(e.next=a,e.e.next=a&&a.e),a!==null&&(a.prev=e,a.e.prev=e&&e.e)}const Ma=()=>performance.now(),G={tick:l=>requestAnimationFrame(l),now:()=>Ma(),tasks:new Set};function Ct(){const l=G.now();G.tasks.forEach(e=>{e.c(l)||(G.tasks.delete(e),e.f())}),G.tasks.size!==0&&G.tick(Ct)}function Ua(l){let e;return G.tasks.size===0&&G.tick(Ct),{promise:new Promise(a=>{G.tasks.add(e={c:l,f:a})}),abort(){G.tasks.delete(e)}}}function he(l,e){ha(()=>{l.dispatchEvent(new CustomEvent(e))})}function Fa(l){if(l==="float")return"cssFloat";if(l==="offset")return"cssOffset";if(l.startsWith("--"))return l;const e=l.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(a=>a[0].toUpperCase()+a.slice(1)).join("")}function dt(l){const e={},a=l.split(";");for(const i of a){const[h,y]=i.split(":");if(!h||y===void 0)break;const c=Fa(h.trim());e[c]=y.trim()}return e}const Ra=l=>l;function _t(l,e,a,i){var h=(l&ia)!==0,y="both",c,_=e.inert,o=e.style.overflow,r,t;function v(){var n=oa,f=Te;xe(null),we(null);try{return c??(c=a()(e,(i==null?void 0:i())??{},{direction:y}))}finally{xe(n),we(f)}}var d={is_global:h,in(){e.inert=_,he(e,"introstart"),r=We(e,v(),t,1,()=>{he(e,"introend"),r==null||r.abort(),r=c=void 0,e.style.overflow=o})},out(n){e.inert=!0,he(e,"outrostart"),t=We(e,v(),r,0,()=>{he(e,"outroend"),n==null||n()})},stop:()=>{r==null||r.abort(),t==null||t.abort()}},m=Te;if((m.transitions??(m.transitions=[])).push(d),pa){var u=h;if(!u){for(var p=m.parent;p&&(p.f&ta)!==0;)for(;(p=p.parent)&&(p.f&aa)===0;);u=!p||(p.f&ra)!==0}u&&na(()=>{sa(()=>d.in())})}}function We(l,e,a,i,h){var y=i===1;if(la(e)){var c,_=!1;return wt(()=>{if(!_){var n=e({direction:y?"in":"out"});c=We(l,n,a,i,h)}}),{abort:()=>{_=!0,c==null||c.abort()},deactivate:()=>c.deactivate(),reset:()=>c.reset(),t:()=>c.t()}}if(a==null||a.deactivate(),!(e!=null&&e.duration))return h(),{abort:re,deactivate:re,reset:re,t:()=>i};const{delay:o=0,css:r,tick:t,easing:v=Ra}=e;var d=[];if(y&&a===void 0&&(t&&t(0,1),r)){var m=dt(r(0,1));d.push(m,m)}var u=()=>1-i,p=l.animate(d,{duration:o,fill:"forwards"});return p.onfinish=()=>{p.cancel();var n=(a==null?void 0:a.t())??1-i;a==null||a.abort();var f=i-n,E=e.duration*Math.abs(f),k=[];if(E>0){var S=!1;if(r)for(var I=Math.ceil(E/16.666666666666668),Y=0;Y<=I;Y+=1){var W=n+f*v(Y/I),q=dt(r(W,1-W));k.push(q),S||(S=q.overflow==="hidden")}S&&(l.style.overflow="hidden"),u=()=>{var V=p.currentTime;return n+f*v(V/E)},t&&Ua(()=>{if(p.playState!=="running")return!1;var V=u();return t(V,1-V),!0})}p=l.animate(k,{duration:E,fill:"forwards"}),p.onfinish=()=>{u=()=>i,t==null||t(i,1-i),h()}},{abort:()=>{p&&(p.cancel(),p.effect=null,p.onfinish=re)},deactivate:()=>{h=re},reset:()=>{i===0&&(t==null||t(1,0))},t:()=>u()}}const Va=l=>l;function pt(l,{delay:e=0,duration:a=400,easing:i=Va}={}){const h=+getComputedStyle(l).opacity;return{delay:e,duration:a,easing:i,css:y=>`opacity: ${y*h}`}}var Ge={exports:{}},ht;function qa(){return ht||(ht=1,function(l){var e=Object.prototype.hasOwnProperty,a="~";function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(a=!1));function h(o,r,t){this.fn=o,this.context=r,this.once=t||!1}function y(o,r,t,v,d){if(typeof t!="function")throw new TypeError("The listener must be a function");var m=new h(t,v||o,d),u=a?a+r:r;return o._events[u]?o._events[u].fn?o._events[u]=[o._events[u],m]:o._events[u].push(m):(o._events[u]=m,o._eventsCount++),o}function c(o,r){--o._eventsCount===0?o._events=new i:delete o._events[r]}function _(){this._events=new i,this._eventsCount=0}_.prototype.eventNames=function(){var r=[],t,v;if(this._eventsCount===0)return r;for(v in t=this._events)e.call(t,v)&&r.push(a?v.slice(1):v);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(t)):r},_.prototype.listeners=function(r){var t=a?a+r:r,v=this._events[t];if(!v)return[];if(v.fn)return[v.fn];for(var d=0,m=v.length,u=new Array(m);d<m;d++)u[d]=v[d].fn;return u},_.prototype.listenerCount=function(r){var t=a?a+r:r,v=this._events[t];return v?v.fn?1:v.length:0},_.prototype.emit=function(r,t,v,d,m,u){var p=a?a+r:r;if(!this._events[p])return!1;var n=this._events[p],f=arguments.length,E,k;if(n.fn){switch(n.once&&this.removeListener(r,n.fn,void 0,!0),f){case 1:return n.fn.call(n.context),!0;case 2:return n.fn.call(n.context,t),!0;case 3:return n.fn.call(n.context,t,v),!0;case 4:return n.fn.call(n.context,t,v,d),!0;case 5:return n.fn.call(n.context,t,v,d,m),!0;case 6:return n.fn.call(n.context,t,v,d,m,u),!0}for(k=1,E=new Array(f-1);k<f;k++)E[k-1]=arguments[k];n.fn.apply(n.context,E)}else{var S=n.length,I;for(k=0;k<S;k++)switch(n[k].once&&this.removeListener(r,n[k].fn,void 0,!0),f){case 1:n[k].fn.call(n[k].context);break;case 2:n[k].fn.call(n[k].context,t);break;case 3:n[k].fn.call(n[k].context,t,v);break;case 4:n[k].fn.call(n[k].context,t,v,d);break;default:if(!E)for(I=1,E=new Array(f-1);I<f;I++)E[I-1]=arguments[I];n[k].fn.apply(n[k].context,E)}}return!0},_.prototype.on=function(r,t,v){return y(this,r,t,v,!1)},_.prototype.once=function(r,t,v){return y(this,r,t,v,!0)},_.prototype.removeListener=function(r,t,v,d){var m=a?a+r:r;if(!this._events[m])return this;if(!t)return c(this,m),this;var u=this._events[m];if(u.fn)u.fn===t&&(!d||u.once)&&(!v||u.context===v)&&c(this,m);else{for(var p=0,n=[],f=u.length;p<f;p++)(u[p].fn!==t||d&&!u[p].once||v&&u[p].context!==v)&&n.push(u[p]);n.length?this._events[m]=n.length===1?n[0]:n:c(this,m)}return this},_.prototype.removeAllListeners=function(r){var t;return r?(t=a?a+r:r,this._events[t]&&c(this,t)):(this._events=new i,this._eventsCount=0),this},_.prototype.off=_.prototype.removeListener,_.prototype.addListener=_.prototype.on,_.prefixed=a,_.EventEmitter=_,l.exports=_}(Ge)),Ge.exports}qa();function za(l){return new Promise(e=>setTimeout(e,l))}const mt=Intl.NumberFormat("en",{notation:"compact"});mt.format.bind(mt);new TextEncoder;new TextDecoder;var Ha=va('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" class="svelte-ylmrta"><use></use></svg>');function H(l,e){Ke(e,!0);const a=j(()=>e.i.includes("/")?e.i.split("/"):["solid",e.i]),i=j(()=>ua(s(a),2)),h=j(()=>s(i)[0]),y=j(()=>s(i)[1]),c=j(()=>`/icons/${s(h)}.svg#${s(y)}`);var _=Ha(),o=x(_);g(_),F(()=>ce(o,"href",s(c))),A(l,_),Qe()}async function Ba(l,e,a,i){const h=new Blob([e.value],{type:a()}),y=new ClipboardItem({[a()]:h});await navigator.clipboard.write([y]),B(i,!0),await za(3e3),B(i,!1)}var Ga=$('<span class="svelte-g409dh"><!></span>'),Ya=$('<span class="svelte-g409dh"><!></span>'),Wa=$('<button class="svelte-g409dh"><!></button>');function Ka(l,e){Ke(e,!0);const a=ya(e,"type",3,"text/plain");let i=J(!1);var h=Wa();h.__click=[Ba,e,a,i];var y=x(h);{var c=o=>{var r=Ga(),t=x(r);H(t,{i:"check"}),g(r),_t(3,r,()=>pt),A(o,r)},_=o=>{var r=Ya(),t=x(r);H(t,{i:"copy"}),g(r),_t(3,r,()=>pt),A(o,r)};X(y,o=>{s(i)?o(c):o(_,!1)})}g(h),A(l,h),Qe()}kt(["click"]);var Qa=(l,e,a)=>e[a()].showModal(),Za=$('<button class="svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),Ja=$('<div class="svelte-yn085l"><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),Xa=$("<dfn><!></dfn>"),ja=(l,e,a)=>$a(s(e).id).then(()=>B(a,!0)),er=$("<button> </button>"),tr=$('<div class="svelte-yn085l"><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),ar=(l,e)=>e.delete.showModal(),rr=$("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),nr=$("<p> </p>"),sr=$('<p class="subtle"><i>Unnamed</i></p>'),ir=$('<dfn title="You must have at least one passkey" class="disabled svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),lr=$('<div class="svelte-yn085l"><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),or=$(`<p class="svelte-yn085l">Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>`),vr=$('<div class="item passkey svelte-yn085l"><dfn class="svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <dfn class="svelte-yn085l"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <!> <p> </p> <!> <!></div> <!> <!>',1),ur=(l,e,a)=>ba(s(e).id).then(s(a).push.bind(s(a))),cr=$('<span class="current svelte-yn085l">Current</span>'),fr=$('<span class="elevated svelte-yn085l">Elevated</span>'),dr=$('<p class="svelte-yn085l">Are you sure you want to log out this session?</p>'),_r=$('<div class="item session svelte-yn085l"><p> <!> <!></p> <p> </p> <p> </p> <!></div> <!>',1),pr=(l,e)=>e.logout_all.showModal(),hr=$("<p>Are you sure you want to log out all sessions?</p>"),mr=$(`<div class="Account flex-content"><img class="pfp svelte-yn085l" alt="User profile"/> <p class="greeting svelte-yn085l"> </p> <div class="section main svelte-yn085l"><h3 class="svelte-yn085l">Personal Information</h3> <div class="item info svelte-yn085l"><p class="subtle svelte-yn085l">Name</p> <p class="svelte-yn085l"> </p> <!></div> <!> <div class="item info svelte-yn085l"><p class="subtle svelte-yn085l">Email</p> <p class="svelte-yn085l"> <!></p> <!></div> <!> <div class="item info svelte-yn085l"><p class="subtle svelte-yn085l">User ID <dfn title="This is your UUID. It can't be changed."><!></dfn></p> <p class="svelte-yn085l"> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <span><a class="signout svelte-yn085l" href="/logout"><button>Sign out</button></a> <button class="danger">Delete Account</button> <!></span></div> <div class="section main svelte-yn085l"><h3 class="svelte-yn085l">Passkeys</h3> <!> <span><button><!> Create</button></span></div> <div class="section main svelte-yn085l"><h3 class="svelte-yn085l">Sessions</h3> <!> <span><button class="danger">Logout All</button></span> <!></div></div>`),yr=$('<div class="error"><h3>Failed to load account</h3> <p> </p></div>');function Cr(l,e){Ke(e,!0);const a=(u,p=re,n)=>{let f=xt(()=>_a(n==null?void 0:n(),"pen"));var E=Za();E.__click=[Qa,i,p],vt(E,"",{},{display:"contents"});var k=x(E);ue(k,()=>({"--size":"16px"})),H(k.lastChild,{get i(){return s(f)}}),g(k),g(E),A(u,E)},i=Re({});let h=J(!1),y=J(void 0),c=J(void 0),_=J(!1),o=J(Re([])),r=J(Re([]));async function t(){B(y,await ka().catch(()=>(_e("/login?after=/account"),null)),!0),B(c,s(y).user,!0),B(o,await Ta(s(c).id),!0),B(r,await Ca(s(c).id),!0),B(_,await Aa(s(c).id),!0)}async function v(u){const p=await Ea(s(c).id,u);B(c,p,!0)}var d=ca();ma(u=>{fa.title="Account"});var m=Ve(d);La(m,t,null,u=>{var p=mr(),n=x(p),f=w(n,2),E=x(f);g(f);var k=w(f,2),S=w(x(k),2),I=w(x(S),2),Y=x(I,!0);g(I);var W=w(I,2);a(W,()=>"edit_name"),g(S);var q=w(S,2);Z(q,{submit:v,submitText:"Change",get dialog(){return i.edit_name},set dialog(T){i.edit_name=T},children:(T,b)=>{var N=Ja(),P=w(x(N),2);qe(P),g(N),F(()=>ze(P,s(c).name||"")),A(T,N)},$$slots:{default:!0}});var V=w(q,2),ne=w(x(V),2),Ze=x(ne),At=w(Ze);{var $t=T=>{var b=Xa(),N=x(b);H(N,{i:"regular/circle-check"}),g(b),F(P=>ce(b,"title",`Email verified on ${P??""}`),[()=>s(c).emailVerified.toLocaleDateString()]),A(T,b)},It=(T,b)=>{{var N=P=>{var D=er();D.__click=[ja,c,h];var z=x(D,!0);g(D),F(()=>U(z,s(h)?"Verification email sent":"Verify")),A(P,D)};X(T,P=>{s(_)&&P(N)},b)}};X(At,T=>{s(c).emailVerified?T($t):T(It,!1)})}g(ne);var Nt=w(ne,2);a(Nt,()=>"edit_email"),g(V);var Je=w(V,2);Z(Je,{submit:v,submitText:"Change",get dialog(){return i.edit_email},set dialog(T){i.edit_email=T},children:(T,b)=>{var N=tr(),P=w(x(N),2);qe(P),g(N),F(()=>ze(P,s(c).email||"")),A(T,N)},$$slots:{default:!0}});var Ce=w(Je,2),Ae=x(Ce),Xe=w(x(Ae)),Pt=x(Xe);H(Pt,{i:"regular/circle-info"}),g(Xe),g(Ae);var $e=w(Ae,2),Lt=x($e,!0);g($e);var Ie=w($e,2);ue(Ie,()=>({"--size":"16px"})),Ka(Ie.lastChild,{get value(){return s(c).id}}),g(Ie),g(Ce);var je=w(Ce,2),Ne=w(x(je),2);Ne.__click=[ar,i],vt(Ne,"",{},{cursor:"pointer"});var St=w(Ne,2);Z(St,{submit:()=>ga(s(c).id).then(()=>_e("/")),submitText:"Delete Account",submitDanger:!0,get dialog(){return i.delete},set dialog(T){i.delete=T},children:(T,b)=>{var N=rr();A(T,N)},$$slots:{default:!0}}),g(je),g(k);var Pe=w(k,2),et=w(x(Pe),2);ct(et,17,()=>s(o),ut,(T,b,N)=>{var P=vr(),D=Ve(P),z=x(D),ee=x(z);const De=j(()=>s(b).deviceType=="multiDevice"?"laptop-mobile":"mobile");ue(ee,()=>({"--size":"16px"})),H(ee.lastChild,{get i(){return s(De)}}),g(ee),g(z);var te=w(z,2),se=x(te);const ie=j(()=>s(b).backedUp?"circle-check":"circle-xmark");ue(se,()=>({"--size":"16px"})),H(se.lastChild,{get i(){return s(ie)}}),g(se),g(te);var de=w(te,2);{var le=C=>{var O=nr(),M=x(O,!0);g(O),F(()=>U(M,s(b).name)),A(C,O)},Oe=C=>{var O=sr();A(C,O)};X(de,C=>{s(b).name?C(le):C(Oe,!1)})}var oe=w(de,2),Me=x(oe);g(oe);var L=w(oe,2);a(L,()=>"edit_passkey#"+s(b).id);var K=w(L,2);{var ve=C=>{a(C,()=>"delete_passkey#"+s(b).id,()=>"trash")},Ue=C=>{var O=ir(),M=x(O);ue(M,()=>({"--fill":"#888","--size":"16px"})),H(M.lastChild,{i:"trash-slash"}),g(M),g(O),A(C,O)};X(K,C=>{s(o).length>1?C(ve):C(Ue,!1)})}g(D);var nt=w(D,2);Z(nt,{submit:C=>{if(typeof C.name!="string")throw"Passkey name must be a string";return s(b).name=C.name,Ia(s(b).id,C)},submitText:"Change",get dialog(){return i["edit_passkey#"+s(b).id]},set dialog(C){i["edit_passkey#"+s(b).id]=C},children:(C,O)=>{var M=lr(),st=w(x(M),2);qe(st),g(M),F(()=>ze(st,s(b).name||"")),A(C,M)},$$slots:{default:!0}});var Ut=w(nt,2);Z(Ut,{submit:()=>Na(s(b).id).then(()=>s(o).splice(s(o).indexOf(s(b)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return i["delete_passkey#"+s(b).id]},set dialog(C){i["delete_passkey#"+s(b).id]=C},children:(C,O)=>{var M=or();A(C,M)},$$slots:{default:!0}}),F(C=>{ce(z,"title",s(b).deviceType=="multiDevice"?"Multiple devices":"Single device"),ce(te,"title",`This passkey is ${s(b).backedUp?"":"not "}backed up`),U(Me,`Created ${C??""}`)},[()=>s(b).createdAt.toLocaleString()]),A(T,P)});var tt=w(et,2),Le=x(tt);Le.__click=[ur,c,o];var Dt=x(Le);H(Dt,{i:"plus"}),da(),g(Le),g(tt),g(Pe);var at=w(Pe,2),rt=w(x(at),2);ct(rt,17,()=>s(r),ut,(T,b)=>{var N=_r(),P=Ve(N),D=x(P),z=x(D),ee=w(z);{var De=L=>{var K=cr();A(L,K)};X(ee,L=>{s(b).id==s(y).id&&L(De)})}var te=w(ee,2);{var se=L=>{var K=fr();A(L,K)};X(te,L=>{s(b).elevated&&L(se)})}g(D);var ie=w(D,2),de=x(ie);g(ie);var le=w(ie,2),Oe=x(le);g(le);var oe=w(le,2);a(oe,()=>"logout#"+s(b).id,()=>"right-from-bracket"),g(P);var Me=w(P,2);Z(Me,{submit:async()=>{await Pa(s(c).id,s(b).id),i["logout#"+s(b).id].remove(),s(r).splice(s(r).indexOf(s(b)),1),s(b).id==s(y).id&&_e("/")},submitText:"Logout",get dialog(){return i["logout#"+s(b).id]},set dialog(L){i["logout#"+s(b).id]=L},children:(L,K)=>{var ve=dr();A(L,ve)},$$slots:{default:!0}}),F((L,K,ve,Ue)=>{U(z,`${L??""}...${K??""} `),U(de,`Created ${ve??""}`),U(Oe,`Expires ${Ue??""}`)},[()=>s(b).id.slice(0,4),()=>s(b).id.slice(-4),()=>s(b).created.toLocaleString(),()=>s(b).expires.toLocaleString()]),A(T,N)});var Se=w(rt,2),Ot=x(Se);Ot.__click=[pr,i],g(Se);var Mt=w(Se,2);Z(Mt,{submit:()=>wa(s(c).id).then(()=>_e("/")),submitText:"Logout All Sessions",submitDanger:!0,get dialog(){return i.logout_all},set dialog(T){i.logout_all=T},children:(T,b)=>{var N=hr();A(T,N)},$$slots:{default:!0}}),g(at),g(p),F(T=>{ce(n,"src",T),U(E,`Welcome, ${s(c).name??""}`),U(Y,s(c).name),U(Ze,`${s(c).email??""} `),U(Lt,s(c).id)},[()=>xa(s(c))]),A(u,p)},(u,p)=>{var n=yr(),f=w(x(n),2),E=x(f,!0);g(f),g(n),F(()=>U(E,"message"in s(p)?s(p).message:s(p))),A(u,n)}),A(l,d),Qe()}kt(["click"]);export{Cr as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{p as n,d as u,b as p,a as f,$ as s}from"../chunks/D1Bh_mwl.js";import{h as g}from"../chunks/DsTLXD2g.js";import{p as t}from"../chunks/CVa83dr8.js";import{F as d}from"../chunks/BTL0bUBR.js";import{a as h}from"../chunks/e8wRVKCT.js";var c=p('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');function b(e,a){n(a,!0);let i=t(a,"dialog",15),r=t(a,"fullPage",3,!1);function l(o){if(typeof o.email!="string")throw"Tried to upload a file for an email. Huh?!";return h(o.email)}d(e,{submitText:"Login",submit:l,get pageMode(){return r()},get dialog(){return i()},set dialog(o){i(o)},children:(o,v)=>{var m=c();f(o,m)},$$slots:{default:!0}}),u()}function E(e){g(a=>{s.title="Login"}),b(e,{fullPage:!0})}export{E as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{p as s,b as i,s as e,a as n,d as p,$ as u,e as l,r as m}from"../chunks/D1Bh_mwl.js";import{d as c,h as d}from"../chunks/DsTLXD2g.js";import{g}from"../chunks/DiwI9kUA.js";import{l as f}from"../chunks/e8wRVKCT.js";var v=()=>f().finally(()=>g("/")),h=i('<div class="main"><p>Are you sure you want to log out?</p> <button>Log Out</button></div>');function w(t,a){s(a,!0);var o=h();d(b=>{u.title="Logout"});var r=e(l(o),2);r.__click=[v],m(o),n(t,o),p()}c(["click"]);export{w as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunks/CWj6FrbW.js";import{p as m,d as n,b as p,a as s,v as u,$ as g}from"../chunks/D1Bh_mwl.js";import{h as d}from"../chunks/DsTLXD2g.js";import{p as i}from"../chunks/CVa83dr8.js";import{F as f}from"../chunks/BTL0bUBR.js";import{r as b}from"../chunks/e8wRVKCT.js";var v=p('<div><label for="name">Display Name</label> <input name="name" type="text" required/></div> <div><label for="email">Email</label> <input name="email" type="email" required/></div>',1);function c(a,e){m(e,!0);let r=i(e,"dialog",15),o=i(e,"fullPage",3,!1);f(a,{submitText:"Register",get submit(){return b},get pageMode(){return o()},get dialog(){return r()},set dialog(t){r(t)},children:(t,h)=>{var l=v();u(2),s(t,l)},$$slots:{default:!0}}),n()}function D(a){d(e=>{g.title="Sign Up"}),c(a,{fullPage:!0})}export{D as component};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1752513082355"}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 0;
|
|
2
2
|
let component_cache;
|
|
3
3
|
const component = async () => component_cache ??= (await import('./layout.svelte-4V-_rMCU.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/0.
|
|
4
|
+
const imports = ["_app/immutable/nodes/0.B5tIZ8Ux.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js","_app/immutable/chunks/hjeMeV6C.js"];
|
|
5
5
|
const stylesheets = [];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=0-
|
|
9
|
+
//# sourceMappingURL=0-DoFQPg1a.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0-
|
|
1
|
+
{"version":3,"file":"0-DoFQPg1a.js","sources":["../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/layout.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/0.B5tIZ8Ux.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\",\"_app/immutable/chunks/hjeMeV6C.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,6BAAuC,CAAC,EAAE;AACrG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5J,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 1;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./error.svelte-xp9OLkmb.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.CgvMyPD2.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js","_app/immutable/chunks/DsTLXD2g.js","_app/immutable/chunks/hjeMeV6C.js","_app/immutable/chunks/Bb1FLBYy.js","_app/immutable/chunks/DiwI9kUA.js"];
|
|
5
|
+
const stylesheets = [];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=1-BWAH9TGW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"1-
|
|
1
|
+
{"version":3,"file":"1-BWAH9TGW.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.CgvMyPD2.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\",\"_app/immutable/chunks/DsTLXD2g.js\",\"_app/immutable/chunks/hjeMeV6C.js\",\"_app/immutable/chunks/Bb1FLBYy.js\",\"_app/immutable/chunks/DiwI9kUA.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const index = 2;
|
|
2
2
|
let component_cache;
|
|
3
3
|
const component = async () => component_cache ??= (await import('./_page.svelte-CTxNa7SS.js')).default;
|
|
4
|
-
const imports = ["_app/immutable/nodes/2.
|
|
4
|
+
const imports = ["_app/immutable/nodes/2.CxWCdWnk.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js"];
|
|
5
5
|
const stylesheets = [];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
8
8
|
export { component, fonts, imports, index, stylesheets };
|
|
9
|
-
//# sourceMappingURL=2-
|
|
9
|
+
//# sourceMappingURL=2-D6Jxv35X.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2-
|
|
1
|
+
{"version":3,"file":"2-D6Jxv35X.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_axium/default/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.CxWCdWnk.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAiD,CAAC,EAAE;AAC/G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC;AACxH,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 3;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-BWZAX8uM.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/3.Cxnd1eBj.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js","_app/immutable/chunks/DsTLXD2g.js","_app/immutable/chunks/hjeMeV6C.js","_app/immutable/chunks/CVa83dr8.js","_app/immutable/chunks/BTL0bUBR.js","_app/immutable/chunks/DiwI9kUA.js","_app/immutable/chunks/Bb1FLBYy.js","_app/immutable/chunks/e8wRVKCT.js"];
|
|
5
|
+
const stylesheets = ["_app/immutable/assets/FormDialog.Cbakz6hh.css","_app/immutable/assets/3.KnidqurY.css"];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=3-Cgt_tntw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3-
|
|
1
|
+
{"version":3,"file":"3-Cgt_tntw.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/account/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/3.Cxnd1eBj.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\",\"_app/immutable/chunks/DsTLXD2g.js\",\"_app/immutable/chunks/hjeMeV6C.js\",\"_app/immutable/chunks/CVa83dr8.js\",\"_app/immutable/chunks/BTL0bUBR.js\",\"_app/immutable/chunks/DiwI9kUA.js\",\"_app/immutable/chunks/Bb1FLBYy.js\",\"_app/immutable/chunks/e8wRVKCT.js\"];\nexport const stylesheets = [\"_app/immutable/assets/FormDialog.Cbakz6hh.css\",\"_app/immutable/assets/3.KnidqurY.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA0C,CAAC,EAAE;AACxG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpX,MAAC,WAAW,GAAG,CAAC,+CAA+C,CAAC,sCAAsC;AACtG,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 4;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-DNN9oylU.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/4.BBmDy2XN.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js","_app/immutable/chunks/DsTLXD2g.js","_app/immutable/chunks/hjeMeV6C.js","_app/immutable/chunks/CVa83dr8.js","_app/immutable/chunks/BTL0bUBR.js","_app/immutable/chunks/DiwI9kUA.js","_app/immutable/chunks/Bb1FLBYy.js","_app/immutable/chunks/e8wRVKCT.js"];
|
|
5
|
+
const stylesheets = ["_app/immutable/assets/FormDialog.Cbakz6hh.css"];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=4-jkxSmP_D.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"4-
|
|
1
|
+
{"version":3,"file":"4-jkxSmP_D.js","sources":["../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/login/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/4.BBmDy2XN.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\",\"_app/immutable/chunks/DsTLXD2g.js\",\"_app/immutable/chunks/hjeMeV6C.js\",\"_app/immutable/chunks/CVa83dr8.js\",\"_app/immutable/chunks/BTL0bUBR.js\",\"_app/immutable/chunks/DiwI9kUA.js\",\"_app/immutable/chunks/Bb1FLBYy.js\",\"_app/immutable/chunks/e8wRVKCT.js\"];\nexport const stylesheets = [\"_app/immutable/assets/FormDialog.Cbakz6hh.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwC,CAAC,EAAE;AACtG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpX,MAAC,WAAW,GAAG,CAAC,+CAA+C;AAC/D,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 5;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-DRiG-AM0.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/5.Dji23mCj.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js","_app/immutable/chunks/DsTLXD2g.js","_app/immutable/chunks/hjeMeV6C.js","_app/immutable/chunks/DiwI9kUA.js","_app/immutable/chunks/e8wRVKCT.js"];
|
|
5
|
+
const stylesheets = [];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=5-D2gy-tmt.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"5-
|
|
1
|
+
{"version":3,"file":"5-D2gy-tmt.js","sources":["../../../.svelte-kit/adapter-node/nodes/5.js"],"sourcesContent":["\n\nexport const index = 5;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/logout/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/5.Dji23mCj.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\",\"_app/immutable/chunks/DsTLXD2g.js\",\"_app/immutable/chunks/hjeMeV6C.js\",\"_app/immutable/chunks/DiwI9kUA.js\",\"_app/immutable/chunks/e8wRVKCT.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE;AACvG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACxQ,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const index = 6;
|
|
2
|
+
let component_cache;
|
|
3
|
+
const component = async () => component_cache ??= (await import('./_page.svelte-CDrMZ0qp.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/6.C0l7G2Ig.js","_app/immutable/chunks/CWj6FrbW.js","_app/immutable/chunks/D1Bh_mwl.js","_app/immutable/chunks/DsTLXD2g.js","_app/immutable/chunks/hjeMeV6C.js","_app/immutable/chunks/CVa83dr8.js","_app/immutable/chunks/BTL0bUBR.js","_app/immutable/chunks/DiwI9kUA.js","_app/immutable/chunks/Bb1FLBYy.js","_app/immutable/chunks/e8wRVKCT.js"];
|
|
5
|
+
const stylesheets = ["_app/immutable/assets/FormDialog.Cbakz6hh.css"];
|
|
6
|
+
const fonts = [];
|
|
7
|
+
|
|
8
|
+
export { component, fonts, imports, index, stylesheets };
|
|
9
|
+
//# sourceMappingURL=6-CN2cq92f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"6-
|
|
1
|
+
{"version":3,"file":"6-CN2cq92f.js","sources":["../../../.svelte-kit/adapter-node/nodes/6.js"],"sourcesContent":["\n\nexport const index = 6;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/register/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/6.C0l7G2Ig.js\",\"_app/immutable/chunks/CWj6FrbW.js\",\"_app/immutable/chunks/D1Bh_mwl.js\",\"_app/immutable/chunks/DsTLXD2g.js\",\"_app/immutable/chunks/hjeMeV6C.js\",\"_app/immutable/chunks/CVa83dr8.js\",\"_app/immutable/chunks/BTL0bUBR.js\",\"_app/immutable/chunks/DiwI9kUA.js\",\"_app/immutable/chunks/Bb1FLBYy.js\",\"_app/immutable/chunks/e8wRVKCT.js\"];\nexport const stylesheets = [\"_app/immutable/assets/FormDialog.Cbakz6hh.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA2C,CAAC,EAAE;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AACpX,MAAC,WAAW,GAAG,CAAC,+CAA+C;AAC/D,MAAC,KAAK,GAAG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { P as push, a7 as copy_payload, a8 as assign_payload, T as pop, a9 as head, aa as await_block, ab as ensure_array_like, ac as attr, a5 as escape_html, ad as stringify, ae as css_props, af as attr_style } from './exports-Bdi6Ec6W.js';
|
|
2
2
|
import { g as goto } from './client2-CDtZFfLJ.js';
|
|
3
|
-
import { g as getCurrentSession, a as getPasskeys, b as getSessions, e as emailVerificationEnabled, F as FormDialog, d as deleteUser, u as updatePasskey, c as deletePasskey, l as logout, f as logoutAll, h as updateUser } from './user-
|
|
3
|
+
import { g as getCurrentSession, a as getPasskeys, b as getSessions, e as emailVerificationEnabled, F as FormDialog, d as deleteUser, u as updatePasskey, c as deletePasskey, l as logout, f as logoutAll, h as updateUser } from './user-Bf_pHH7Y.js';
|
|
4
4
|
import { g as getUserImage } from './user2-D249re2A.js';
|
|
5
5
|
import './client-Bm0tawqd.js';
|
|
6
6
|
|
|
@@ -638,4 +638,4 @@ function _page($$payload, $$props) {
|
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
export { _page as default };
|
|
641
|
-
//# sourceMappingURL=_page.svelte-
|
|
641
|
+
//# sourceMappingURL=_page.svelte-BWZAX8uM.js.map
|