@axium/server 0.15.4 → 0.16.1

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.
Files changed (112) hide show
  1. package/assets/styles.css +11 -0
  2. package/build/client/_app/immutable/chunks/{CYcs1YWd.js → B6bJ2J9c.js} +8 -8
  3. package/build/client/_app/immutable/chunks/B6bJ2J9c.js.br +0 -0
  4. package/build/client/_app/immutable/chunks/B6bJ2J9c.js.gz +0 -0
  5. package/build/client/_app/immutable/chunks/{ChvOu7Q4.js → CB2OwAYZ.js} +1 -1
  6. package/build/client/_app/immutable/chunks/CB2OwAYZ.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/CB2OwAYZ.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/D7jZ8tkO.js +3 -0
  9. package/build/client/_app/immutable/chunks/D7jZ8tkO.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/D7jZ8tkO.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/{CKy4x8h4.js → va0AyaMb.js} +1 -1
  12. package/build/client/_app/immutable/chunks/va0AyaMb.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/va0AyaMb.js.gz +0 -0
  14. package/build/client/_app/immutable/entry/{app.fX_gwy_D.js → app.Bvdb2_D-.js} +2 -2
  15. package/build/client/_app/immutable/entry/app.Bvdb2_D-.js.br +0 -0
  16. package/build/client/_app/immutable/entry/app.Bvdb2_D-.js.gz +0 -0
  17. package/build/client/_app/immutable/entry/start.BMymADIb.js +1 -0
  18. package/build/client/_app/immutable/entry/start.BMymADIb.js.br +2 -0
  19. package/build/client/_app/immutable/entry/start.BMymADIb.js.gz +0 -0
  20. package/build/client/_app/immutable/nodes/{1.AYSQHMSU.js → 1.CFY9RcSg.js} +1 -1
  21. package/build/client/_app/immutable/nodes/1.CFY9RcSg.js.br +0 -0
  22. package/build/client/_app/immutable/nodes/1.CFY9RcSg.js.gz +0 -0
  23. package/build/client/_app/immutable/nodes/3.DxWigyAu.js +1 -0
  24. package/build/client/_app/immutable/nodes/3.DxWigyAu.js.br +0 -0
  25. package/build/client/_app/immutable/nodes/3.DxWigyAu.js.gz +0 -0
  26. package/build/client/_app/immutable/nodes/{4.C_8QCdU7.js → 4.Ccim6yLz.js} +1 -1
  27. package/build/client/_app/immutable/nodes/4.Ccim6yLz.js.br +0 -0
  28. package/build/client/_app/immutable/nodes/4.Ccim6yLz.js.gz +0 -0
  29. package/build/client/_app/immutable/nodes/5.B8judf7B.js +1 -0
  30. package/build/client/_app/immutable/nodes/5.B8judf7B.js.br +0 -0
  31. package/build/client/_app/immutable/nodes/5.B8judf7B.js.gz +0 -0
  32. package/build/client/_app/immutable/nodes/{6.C6Hz75CP.js → 6.CToMfX8V.js} +1 -1
  33. package/build/client/_app/immutable/nodes/6.CToMfX8V.js.br +0 -0
  34. package/build/client/_app/immutable/nodes/6.CToMfX8V.js.gz +0 -0
  35. package/build/client/_app/version.json +1 -1
  36. package/build/client/_app/version.json.br +0 -0
  37. package/build/client/_app/version.json.gz +0 -0
  38. package/build/client/styles.css +11 -0
  39. package/build/client/styles.css.br +0 -0
  40. package/build/client/styles.css.gz +0 -0
  41. package/build/server/chunks/{1-C7eeWWIB.js → 1-CZScwOJx.js} +3 -3
  42. package/build/server/chunks/{1-C7eeWWIB.js.map → 1-CZScwOJx.js.map} +1 -1
  43. package/build/server/chunks/{3-JR1BkdWh.js → 3-DCNWYLpF.js} +3 -3
  44. package/build/server/chunks/{3-JR1BkdWh.js.map → 3-DCNWYLpF.js.map} +1 -1
  45. package/build/server/chunks/{4-h2-G_Biw.js → 4-C7PNZsEA.js} +3 -3
  46. package/build/server/chunks/{4-h2-G_Biw.js.map → 4-C7PNZsEA.js.map} +1 -1
  47. package/build/server/chunks/{5-D09v-0W6.js → 5-BBFz_rnA.js} +3 -3
  48. package/build/server/chunks/{5-D09v-0W6.js.map → 5-BBFz_rnA.js.map} +1 -1
  49. package/build/server/chunks/{6-knNUojh8.js → 6-cMUWQBTN.js} +3 -3
  50. package/build/server/chunks/{6-knNUojh8.js.map → 6-cMUWQBTN.js.map} +1 -1
  51. package/build/server/chunks/{Logout-4Od8dYV1.js → Logout-jfPnYBz7.js} +4 -4
  52. package/build/server/chunks/Logout-jfPnYBz7.js.map +1 -0
  53. package/build/server/chunks/{_page.svelte-B_EP3jbH.js → _page.svelte-BUYPMfbS.js} +19 -7
  54. package/build/server/chunks/_page.svelte-BUYPMfbS.js.map +1 -0
  55. package/build/server/chunks/_page.svelte-C5KWK5D-.js +12 -0
  56. package/build/server/chunks/{_page.svelte-DJRLEvxc.js.map → _page.svelte-C5KWK5D-.js.map} +1 -1
  57. package/build/server/chunks/{_page.svelte-BcjlHMhi.js → _page.svelte-CPmgKX2f.js} +4 -4
  58. package/build/server/chunks/_page.svelte-CPmgKX2f.js.map +1 -0
  59. package/build/server/chunks/{_page.svelte-I9fcckyX.js → _page.svelte-D1Tk1-7i.js} +4 -4
  60. package/build/server/chunks/_page.svelte-D1Tk1-7i.js.map +1 -0
  61. package/build/server/chunks/{client-D5FV-LOu.js → client-C5BesWYV.js} +2 -2
  62. package/build/server/chunks/{client-D5FV-LOu.js.map → client-C5BesWYV.js.map} +1 -1
  63. package/build/server/chunks/{error.svelte-cLGudrL-.js → error.svelte-Crm_85Km.js} +3 -3
  64. package/build/server/chunks/{error.svelte-cLGudrL-.js.map → error.svelte-Crm_85Km.js.map} +1 -1
  65. package/build/server/chunks/{exports-BObzsBSm.js → exports-DeY8o0ws.js} +3 -3
  66. package/build/server/chunks/exports-DeY8o0ws.js.map +1 -0
  67. package/build/server/chunks/{user-HWeBtNq4.js → user-C2RJxOZ2.js} +3 -3
  68. package/build/server/chunks/{user-HWeBtNq4.js.map → user-C2RJxOZ2.js.map} +1 -1
  69. package/build/server/index.js +2 -2
  70. package/build/server/index.js.map +1 -1
  71. package/build/server/manifest.js +6 -6
  72. package/build/server/manifest.js.map +1 -1
  73. package/dist/cli.js +9 -1
  74. package/dist/config.d.ts +4 -4
  75. package/dist/config.js +11 -2
  76. package/package.json +1 -1
  77. package/web/lib/Icon.svelte +2 -2
  78. package/web/lib/Popover.svelte +24 -0
  79. package/web/lib/index.ts +1 -1
  80. package/build/client/_app/immutable/chunks/CKy4x8h4.js.br +0 -0
  81. package/build/client/_app/immutable/chunks/CKy4x8h4.js.gz +0 -0
  82. package/build/client/_app/immutable/chunks/CYcs1YWd.js.br +0 -0
  83. package/build/client/_app/immutable/chunks/CYcs1YWd.js.gz +0 -0
  84. package/build/client/_app/immutable/chunks/ChvOu7Q4.js.br +0 -0
  85. package/build/client/_app/immutable/chunks/ChvOu7Q4.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/XObnkuSP.js +0 -3
  87. package/build/client/_app/immutable/chunks/XObnkuSP.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/XObnkuSP.js.gz +0 -0
  89. package/build/client/_app/immutable/entry/app.fX_gwy_D.js.br +0 -10
  90. package/build/client/_app/immutable/entry/app.fX_gwy_D.js.gz +0 -0
  91. package/build/client/_app/immutable/entry/start.WX5PS93W.js +0 -1
  92. package/build/client/_app/immutable/entry/start.WX5PS93W.js.br +0 -2
  93. package/build/client/_app/immutable/entry/start.WX5PS93W.js.gz +0 -0
  94. package/build/client/_app/immutable/nodes/1.AYSQHMSU.js.br +0 -0
  95. package/build/client/_app/immutable/nodes/1.AYSQHMSU.js.gz +0 -0
  96. package/build/client/_app/immutable/nodes/3.CSsn9Wqr.js +0 -1
  97. package/build/client/_app/immutable/nodes/3.CSsn9Wqr.js.br +0 -0
  98. package/build/client/_app/immutable/nodes/3.CSsn9Wqr.js.gz +0 -0
  99. package/build/client/_app/immutable/nodes/4.C_8QCdU7.js.br +0 -0
  100. package/build/client/_app/immutable/nodes/4.C_8QCdU7.js.gz +0 -0
  101. package/build/client/_app/immutable/nodes/5.Drw7hCv3.js +0 -1
  102. package/build/client/_app/immutable/nodes/5.Drw7hCv3.js.br +0 -0
  103. package/build/client/_app/immutable/nodes/5.Drw7hCv3.js.gz +0 -0
  104. package/build/client/_app/immutable/nodes/6.C6Hz75CP.js.br +0 -0
  105. package/build/client/_app/immutable/nodes/6.C6Hz75CP.js.gz +0 -0
  106. package/build/server/chunks/Logout-4Od8dYV1.js.map +0 -1
  107. package/build/server/chunks/_page.svelte-B_EP3jbH.js.map +0 -1
  108. package/build/server/chunks/_page.svelte-BcjlHMhi.js.map +0 -1
  109. package/build/server/chunks/_page.svelte-DJRLEvxc.js +0 -12
  110. package/build/server/chunks/_page.svelte-I9fcckyX.js.map +0 -1
  111. package/build/server/chunks/exports-BObzsBSm.js.map +0 -1
  112. package/web/lib/MenuToggle.svelte +0 -66
@@ -1 +1 @@
1
- import"./DsnmJJEf.js";import{p,d as c,b as m,s as d,f as b,a as u}from"./B3bf7yrh.js";import{d as _}from"./D5lcOOwR.js";import{p as g,i as v}from"./ct9jA5hl.js";import{g as k}from"./XObnkuSP.js";import{F as h,l as y}from"./CYcs1YWd.js";var L=(t,o)=>{t.preventDefault(),o().close(),history.back()},P=m("<button>Take me back</button>"),x=m("<p>Are you sure you want to log out?</p> <!>",1);function O(t,o){p(o,!0);let a=g(o,"dialog",15),l=g(o,"fullPage",3,!1);h(t,{get pageMode(){return l()},submitText:"Log Out",submit:()=>y().then(()=>k("/")),get dialog(){return a()},set dialog(r){a(r)},children:(r,D)=>{var s=x(),n=d(b(s),2);{var f=e=>{var i=P();i.__click=[L,a],u(e,i)};v(n,e=>{l()&&e(f)})}u(r,s)},$$slots:{default:!0}}),c()}_(["click"]);export{O as L};
1
+ import"./DsnmJJEf.js";import{p,d as c,b as m,s as d,f as b,a as u}from"./B3bf7yrh.js";import{d as _}from"./D5lcOOwR.js";import{p as g,i as v}from"./ct9jA5hl.js";import{g as k}from"./D7jZ8tkO.js";import{F as h,l as y}from"./B6bJ2J9c.js";var L=(t,o)=>{t.preventDefault(),o().close(),history.back()},P=m("<button>Take me back</button>"),x=m("<p>Are you sure you want to log out?</p> <!>",1);function O(t,o){p(o,!0);let a=g(o,"dialog",15),l=g(o,"fullPage",3,!1);h(t,{get pageMode(){return l()},submitText:"Log Out",submit:()=>y().then(()=>k("/")),get dialog(){return a()},set dialog(r){a(r)},children:(r,D)=>{var s=x(),n=d(b(s),2);{var f=e=>{var i=P();i.__click=[L,a],u(e,i)};v(n,e=>{l()&&e(f)})}u(r,s)},$$slots:{default:!0}}),c()}_(["click"]);export{O as L};
@@ -0,0 +1,3 @@
1
+ import{o as Fe,g as yt}from"./D5lcOOwR.js";import{n as me,aZ as wt,ax as T,N as x,Q as P}from"./B3bf7yrh.js";const B=[];function Re(e,t=me){let n=null;const r=new Set;function a(o){if(wt(e,o)&&(e=o,n)){const c=!B.length;for(const l of r)l[1](),B.push(l,e);if(c){for(let l=0;l<B.length;l+=2)B[l][0](B[l+1]);B.length=0}}}function s(o){a(o(e))}function i(o,c=me){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,s)||me),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:s,subscribe:i}}class fe{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ie{constructor(t,n){this.status=t,this.location=n}}class Ue extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function vt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function bt(e){return e.split("%25").map(decodeURI).join("%25")}function At(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}function St(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return l=>(n(l),i[o](l));t();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function kt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}function Et(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n.buffer}const Rt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&H.delete(Le(e)),Rt(e,t));const H=new Map;function It(e,t){const n=Le(e,t),r=document.querySelector(n);if(r?.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&H.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Et(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function Ut(e,t,n){if(H.size>0){const r=Le(e,n),a=H.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);H.delete(r)}}return window.fetch(t,n)}function Le(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${kt(...a)}"]`}return r}const Lt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Tt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return we(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return we(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const d=Lt.exec(c),[,h,u,f,p]=d;return t.push({name:f,matcher:p,optional:!!h,rest:!!u,chained:u?l===1&&i[0]==="":!1}),u?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return we(c)}).join("")}).join("")}/?$`),params:t}}function xt(e){return!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(xt)}function Ct(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-i];if(c.chained&&c.rest&&i&&(l=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[o+1],h=a[o+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function we(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Nt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,d]])=>{const{pattern:h,params:u}=Tt(o),f={id:o,exec:p=>{const m=h.exec(p);if(m)return Ct(m,u,r)},errors:[1,...d||[]].map(p=>e[p]),layouts:[0,...l||[]].map(i),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function Je(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ve(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const U=globalThis.__sveltekit_djcnf6?.base??"",Ot=globalThis.__sveltekit_djcnf6?.assets??U,jt="1753291895966",Xe="sveltekit:snapshot",Ze="sveltekit:scroll",Qe="sveltekit:states",$t="sveltekit:pageurl",V="sveltekit:history",z="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Q=location.origin;function Te(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ue(){return{x:pageXOffset,y:pageYOffset}}function F(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const qe={...j,"":j.hover};function et(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function tt(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=et(e)}}function Ae(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||de(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===Q&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function ne(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=F(o,"preload-code")),a===null&&(a=F(o,"preload-data")),t===null&&(t=F(o,"keepfocus")),n===null&&(n=F(o,"noscroll")),s===null&&(s=F(o,"reload")),i===null&&(i=F(o,"replacestate")),o=et(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:qe[r??"off"],preload_data:qe[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Me(e){const t=Re(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const nt={v:()=>{}};function Dt(){const{set:e,subscribe:t}=Re(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ot}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==jt;return i&&(e(!0),nt.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function de(e,t,n){return e.origin!==Q||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function Sn(e){}function Ge(e){const t=Ft(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const Bt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Ft(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=Bt.indexOf(e[a]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Vt=-1,qt=-2,Mt=-3,Gt=-4,Ht=-5,Kt=-6;function Wt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(s,i=!1){if(s===Vt)return;if(s===Mt)return NaN;if(s===Gt)return 1/0;if(s===Ht)return-1/0;if(s===Kt)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],l=t?.[c];if(l)return r[s]=l(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const d=new Set;r[s]=d;for(let f=1;f<o.length;f+=1)d.add(a(o[f]));break;case"Map":const h=new Map;r[s]=h;for(let f=1;f<o.length;f+=2)h.set(a(o[f]),a(o[f+1]));break;case"RegExp":r[s]=new RegExp(o[1],o[2]);break;case"Object":r[s]=Object(o[1]);break;case"BigInt":r[s]=BigInt(o[1]);break;case"null":const u=Object.create(null);r[s]=u;for(let f=1;f<o.length;f+=2)u[o[f]]=a(o[f+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const f=globalThis[c],p=o[1],m=Ge(p),_=new f(m);r[s]=_;break}case"ArrayBuffer":{const f=o[1],p=Ge(f);r[s]=p;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(o.length);r[s]=c;for(let l=0;l<o.length;l+=1){const d=o[l];d!==qt&&(c[l]=a(d))}}else{const c={};r[s]=c;for(const l in o){const d=o[l];c[l]=a(d)}}return r[s]}return a(0)}const rt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...rt];const Yt=new Set([...rt]);[...Yt];function zt(e){return e.filter(t=>t!=null)}const Jt="x-sveltekit-invalidated",Xt="x-sveltekit-trailing-slash";function re(e){return e instanceof fe||e instanceof Ue?e.status:500}function Zt(e){return e instanceof Ue?e.text:"Internal Error"}let k,J,ve;const Qt=Fe.toString().includes("$$")||/function \w+\(\) \{\}/.test(Fe.toString());Qt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},ve={current:!1}):(k=new class{#e=T({});get data(){return x(this.#e)}set data(t){P(this.#e,t)}#t=T(null);get form(){return x(this.#t)}set form(t){P(this.#t,t)}#n=T(null);get error(){return x(this.#n)}set error(t){P(this.#n,t)}#r=T({});get params(){return x(this.#r)}set params(t){P(this.#r,t)}#a=T({id:null});get route(){return x(this.#a)}set route(t){P(this.#a,t)}#o=T({});get state(){return x(this.#o)}set state(t){P(this.#o,t)}#s=T(-1);get status(){return x(this.#s)}set status(t){P(this.#s,t)}#i=T(new URL("https://example.com"));get url(){return x(this.#i)}set url(t){P(this.#i,t)}},J=new class{#e=T(null);get current(){return x(this.#e)}set current(t){P(this.#e,t)}},ve=new class{#e=T(!1);get current(){return x(this.#e)}set current(t){P(this.#e,t)}},nt.v=()=>ve.current=!0);function en(e){Object.assign(k,e)}const tn="/__data.json",nn=".html__data.json";function rn(e){return e.endsWith(".html")?e.replace(/\.html$/,nn):e.replace(/\/$/,"")+tn}const{tick:an}=yt,on=new Set(["icon","shortcut icon","apple-touch-icon"]),D=Je(Ze)??{},X=Je(Xe)??{},O={url:Me({}),page:Me({}),navigating:Re(null),updated:Dt()};function xe(e){D[e]=ue()}function sn(e,t){let n=e+1;for(;D[n];)delete D[n],n+=1;for(n=t+1;X[n];)delete X[n],n+=1}function M(e){return location.href=e.href,new Promise(()=>{})}async function at(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function He(){}let Pe,Se,ae,C,ke,v;const oe=[],se=[];let N=null;const te=new Map,ot=new Set,cn=new Set,K=new Set;let w={branch:[],error:null,url:null},Ce=!1,ie=!1,Ke=!0,Z=!1,G=!1,st=!1,Ne=!1,it,A,I,$;const W=new Set;async function In(e,t,n){document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Pe=Nt(e),C=document.documentElement,ke=t,Se=e.nodes[0],ae=e.nodes[1],Se(),ae(),A=history.state?.[V],I=history.state?.[z],A||(A=I=Date.now(),history.replaceState({...history.state,[V]:A,[z]:I},""));const r=D[A];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await yn(ke,n)):(await Y({type:"enter",url:Te(v.hash?vn(new URL(location.href)):location.href),replace_state:!0}),a()),mn()}function ln(){oe.length=0,Ne=!1}function ct(e){se.some(t=>t?.snapshot)&&(X[e]=se.map(t=>t?.snapshot?.capture()))}function lt(e){X[e]?.forEach((t,n)=>{se[n]?.snapshot?.restore(t)})}function We(){xe(A),Ve(Ze,D),ct(I),Ve(Xe,X)}async function Oe(e,t,n,r){return Y({type:"goto",url:Te(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ne=!0),t.invalidate&&t.invalidate.forEach(_n)}})}async function fn(e){if(e.id!==N?.id){const t={};W.add(t),N={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(W.delete(t),n.type==="loaded"&&n.state.error&&(N=null),n))}}return N.promise}async function be(e){const t=(await pe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function ft(e,t,n){w=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(k,e.props.page),it=new v.root({target:t,props:{...e.props,stores:O,components:se},hydrate:n,sync:!1}),lt(I),n){const a={from:null,to:{params:w.params,route:{id:w.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};K.forEach(s=>s(a))}ie=!0}function ce({url:e,params:t,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(U&&(e.pathname===U||e.pathname===U+"/"))o="always";else for(const f of n)f?.slash!==void 0&&(o=f.slash);e.pathname=vt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:zt(n).map(f=>f.node.component),page:Be(k)}};i!==void 0&&(c.props.form=i);let l={},d=!k,h=0;for(let f=0;f<Math.max(n.length,w.branch.length);f+=1){const p=n[f],m=w.branch[f];p?.data!==m?.data&&(d=!0),p&&(l={...l,...p.data},d&&(c.props[`data_${h}`]=l),h+=1)}return(!w.url||e.href!==w.url.href||w.error!==a||i!==void 0&&i!==k.form||d)&&(c.props.page={error:a,params:t,route:{id:s?.id??null},state:{},status:r,url:new URL(e),form:i??null,data:d?l:k.data}),c}async function je({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...u){for(const f of u){const{href:p}=new URL(f,n);c.dependencies.add(p)}};const h={route:new Proxy(a,{get:(u,f)=>(o&&(c.route=!0),u[f])}),params:new Proxy(r,{get:(u,f)=>(o&&c.params.add(f),u[f])}),data:s?.data??null,url:St(n,()=>{o&&(c.url=!0)},u=>{o&&c.search_params.add(u)},v.hash),async fetch(u,f){u instanceof Request&&(f={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...f});const{resolved:p,promise:m}=ut(u,f,n);return o&&d(p.href),m},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await l.universal.load.call(null,h)??null}return{node:l,loader:e,server:s,universal:l.universal?.load?{type:"data",data:i,uses:c}:null,data:i??s?.data??null,slash:l.universal?.trailingSlash??s?.slash}}function ut(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=ie?Ut(r,a.href,t):It(r,t);return{resolved:a,promise:s}}function Ye(e,t,n,r,a,s){if(Ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==w.params[i])return!0;for(const i of a.dependencies)if(oe.some(o=>o(new URL(i))))return!0;return!1}function $e(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function un(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function ze({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Be(k),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(N?.id===e)return W.delete(N.token),N.promise;const{errors:i,layouts:o,leaf:c}=a,l=[...o,c];i.forEach(g=>g?.().catch(()=>{})),l.forEach(g=>g?.[1]().catch(()=>{}));let d=null;const h=w.url?e!==le(w.url):!1,u=w.route?a.id!==w.route.id:!1,f=un(w.url,n);let p=!1;const m=l.map((g,y)=>{const b=w.branch[y],S=!!g?.[0]&&(b?.loader!==g[1]||Ye(p,u,h,f,b.server?.uses,r));return S&&(p=!0),S});if(m.some(Boolean)){try{d=await gt(n,m)}catch(g){const y=await q(g,{url:n,params:r,route:{id:e}});return W.has(s)?ze({error:y,url:n,params:r,route:a}):he({status:re(g),error:y,url:n,route:a})}if(d.type==="redirect")return d}const _=d?.nodes;let R=!1;const E=l.map(async(g,y)=>{if(!g)return;const b=w.branch[y],S=_?.[y];if((!S||S.type==="skip")&&g[1]===b?.loader&&!Ye(R,u,h,f,b.universal?.uses,r))return b;if(R=!0,S?.type==="error")throw S;return je({loader:g[1],url:n,params:r,route:a,parent:async()=>{const ge={};for(let _e=0;_e<y;_e+=1)Object.assign(ge,(await E[_e])?.data);return ge},server_data_node:$e(S===void 0&&g[0]?{type:"skip"}:S??null,g[0]?b?.server:void 0)})});for(const g of E)g.catch(()=>{});const L=[];for(let g=0;g<l.length;g+=1)if(l[g])try{L.push(await E[g])}catch(y){if(y instanceof Ie)return{type:"redirect",location:y.location};if(W.has(s))return ze({error:await q(y,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=re(y),S;if(_?.includes(y))b=y.status??b,S=y.error;else if(y instanceof fe)S=y.body;else{if(await O.updated.check())return await at(),await M(n);S=await q(y,{params:r,url:n,route:{id:a.id}})}const ee=await dn(g,L,i);return ee?ce({url:n,params:r,branch:L.slice(0,ee.idx).concat(ee.node),status:b,error:S,route:a}):await pt(n,{id:a.id},S,b)}else L.push(void 0);return ce({url:n,params:r,branch:L,status:200,error:null,route:a,form:t?void 0:null})}async function dn(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function he({status:e,error:t,url:n,route:r}){const a={};let s=null;if(v.server_loads[0]===0)try{const o=await gt(n,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;s=o.nodes[0]??null}catch{(n.origin!==Q||n.pathname!==location.pathname||Ce)&&await M(n)}try{const o=await je({loader:Se,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:$e(s)}),c={node:await ae(),loader:ae,universal:null,server:null,data:null};return ce({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Ie)return Oe(new URL(o.location,location.href),{},0);throw o}}async function hn(e){const t=e.href;if(te.has(t))return te.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(s,i)=>ut(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);v.hash?s.hash=a:s.pathname=a,a=s}return a})();te.set(t,r),n=await r}catch{te.delete(t);return}return n}async function pe(e,t){if(e&&!de(e,U,v.hash)){const n=await hn(e);if(!n)return;const r=pn(n);for(const a of Pe){const s=a.exec(r);if(s)return{id:le(e),invalidating:t,route:a,params:At(s),url:e}}}}function pn(e){return bt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(U.length))||"/"}function le(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r}){let a=!1;const s=De(w,n,e,t);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return Z||ot.forEach(o=>o(i)),a?null:s}async function Y({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:l=He,block:d=He}){const h=$;$=c;const u=await pe(t,!1),f=e==="enter"?De(w,u,t,e):ht({url:t,type:e,delta:n?.delta,intent:u});if(!f){d(),$===c&&($=h);return}const p=A,m=I;l(),Z=!0,ie&&f.navigation.type!=="enter"&&O.navigating.set(J.current=f.navigation);let _=u&&await dt(u);if(!_){if(de(t,U,v.hash))return await M(t);_=await pt(t,{id:null},await q(new Ue(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=u?.url||t,$!==c)return f.reject(new Error("navigation aborted")),!1;if(_.type==="redirect")if(o>=20)_=await he({status:500,error:await q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return await Oe(new URL(_.location,t).href,{},o+1,c),!1;else _.props.page.status>=400&&await O.updated.check()&&(await at(),await M(t));if(ln(),xe(p),ct(m),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,y={[V]:A+=g,[z]:I+=g,[Qe]:i};(s?history.replaceState:history.pushState).call(history,y,"",t),s||sn(A,I)}if(N=null,_.props.page.state=i,ie){w=_.state,_.props.page&&(_.props.page.url=t);const g=(await Promise.all(Array.from(cn,y=>y(f.navigation)))).filter(y=>typeof y=="function");if(g.length>0){let y=function(){g.forEach(b=>{K.delete(b)})};g.push(y),g.forEach(b=>{K.add(b)})}it.$set(_.props),en(_.props.page),st=!0}else ft(_,ke,!1);const{activeElement:R}=document;await an();const E=n?n.scroll:a?ue():null;if(Ke){const g=t.hash&&document.getElementById(mt(t));E?scrollTo(E.x,E.y):g?g.scrollIntoView():scrollTo(0,0)}const L=document.activeElement!==R&&document.activeElement!==document.body;!r&&!L&&wn(t),Ke=!0,_.props.page&&Object.assign(k,_.props.page),Z=!1,e==="popstate"&&lt(I),f.fulfil(void 0),K.forEach(g=>g(f.navigation)),O.navigating.set(J.current=null)}async function pt(e,t,n,r){return e.origin===Q&&e.pathname===location.pathname&&!Ce?await he({status:r,error:n,url:e,route:t}):await M(e)}function gn(){let e,t,n;C.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{s(c,j.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],j.tap)}C.addEventListener("mousedown",r),C.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(be(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(o,c){const l=tt(o,C),d=l===t&&c>=n;if(!l||d)return;const{url:h,external:u,download:f}=Ae(l,U,v.hash);if(u||f)return;const p=ne(l),m=h&&le(w.url)===le(h);if(!(p.reload||m))if(c<=p.preload_data){t=l,n=j.tap;const _=await pe(h,!1);if(!_)return;fn(_)}else c<=p.preload_code&&(t=l,n=c,be(h))}function i(){a.disconnect();for(const o of C.querySelectorAll("a")){const{url:c,external:l,download:d}=Ae(o,U,v.hash);if(l||d)continue;const h=ne(o);h.reload||(h.preload_code===j.viewport&&a.observe(o),h.preload_code===j.eager&&be(c))}}K.add(i),i()}function q(e,t){if(e instanceof fe)return e.body;const n=re(e),r=Zt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Un(e,t={}){return e=new URL(Te(e)),e.origin!==Q?Promise.reject(new Error("goto: invalid URL")):Oe(e,t,0)}function _n(e){if(typeof e=="function")oe.push(e);else{const{href:t}=new URL(e,location.href);oe.push(n=>n.href===t)}}function mn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(We(),!Z){const r=De(w,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};ot.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&We()}),navigator.connection?.saveData||gn(),C.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=tt(t.composedPath()[0],C);if(!n)return;const{url:r,external:a,target:s,download:i}=Ae(n,U,v.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=ne(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[l,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=l===ye(location);if(a||o.reload&&(!h||!d)){ht({url:r,type:"link"})?Z=!0:t.preventDefault();return}if(d!==void 0&&h){const[,u]=w.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(d));f&&(f.scrollIntoView(),f.focus())}return}if(G=!0,xe(A),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await Y({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href})}),C.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(de(i,U,!1))return;const o=t.target,c=ne(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o),d=r?.getAttribute("name");d&&l.append(d,r?.getAttribute("value")??""),i.search=new URLSearchParams(l).toString(),Y({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[V]){const n=t.state[V];if($={},n===A)return;const r=D[n],a=t.state[Qe]??{},s=new URL(t.state[$t]??location.href),i=t.state[z],o=w.url?ye(location)===ye(w.url):!1;if(i===I&&(st||o)){a!==k.state&&(k.state=a),e(s),D[A]=ue(),r&&scrollTo(r.x,r.y),A=n;return}const l=n-A;await Y({type:"popstate",url:s,popped:{state:a,scroll:r,delta:l},accept:()=>{A=n,I=i},block:()=>{history.go(-l)},nav_token:$})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[V]:++A,[z]:I},"",location.href))});for(const t of document.querySelectorAll("link"))on.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&O.navigating.set(J.current=null)});function e(t){w.url=k.url=t,O.page.set(Be(k)),O.page.notify()}}async function yn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Ce=!0;const l=new URL(location.href);let d;({params:a={},route:s={id:null}}=await pe(l,!1)||{}),d=Pe.find(({id:f})=>f===s.id);let h,u=!0;try{const f=r.map(async(m,_)=>{const R=o[_];return R?.uses&&(R.uses=_t(R.uses)),je({loader:v.nodes[m],url:l,params:a,route:s,parent:async()=>{const E={};for(let L=0;L<_;L+=1)Object.assign(E,(await f[L]).data);return E},server_data_node:$e(R)})}),p=await Promise.all(f);if(d){const m=d.layouts;for(let _=0;_<m.length;_++)m[_]||p.splice(_,0,void 0)}h=ce({url:l,params:a,branch:p,status:t,error:n,form:c,route:d??null})}catch(f){if(f instanceof Ie){await M(new URL(f.location,location.href));return}h=await he({status:re(f),error:await q(f,{url:l,params:a,route:s}),url:l,route:s}),e.textContent="",u=!1}h.props.page&&(h.props.page.state={}),ft(h,e,u)}async function gt(e,t){const n=new URL(e);n.pathname=rn(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(Xt,"1"),n.searchParams.append(Jt,t.map(s=>s?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let s;throw a.headers.get("content-type")?.includes("application/json")?s=await a.json():a.status===404?s="Not Found":a.status===500&&(s="Internal Error"),new fe(a.status,s)}return new Promise(async s=>{const i=new Map,o=a.body.getReader(),c=new TextDecoder;function l(h){return Wt(h,{...v.decoders,Promise:u=>new Promise((f,p)=>{i.set(u,{fulfil:f,reject:p})})})}let d="";for(;;){const{done:h,value:u}=await o.read();if(h&&!d)break;for(d+=!u&&d?`
2
+ `:c.decode(u,{stream:!0});;){const f=d.indexOf(`
3
+ `);if(f===-1)break;const p=JSON.parse(d.slice(0,f));if(d=d.slice(f+1),p.type==="redirect")return s(p);if(p.type==="data")p.nodes?.forEach(m=>{m?.type==="data"&&(m.uses=_t(m.uses),m.data=l(m.data))}),s(p);else if(p.type==="chunk"){const{id:m,data:_,error:R}=p,E=i.get(m);i.delete(m),R?E.reject(l(R)):E.fulfil(l(_))}}}})}function _t(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ee=!1;function wn(e){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=mt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=ue();setTimeout(()=>{const i=history.state;Ee=!0,location.replace(`#${n}`),v.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(a,s),Ee=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s<r.rangeCount;s+=1)a.push(r.getRangeAt(s));setTimeout(()=>{if(r.rangeCount===a.length){for(let s=0;s<r.rangeCount;s+=1){const i=a[s],o=r.getRangeAt(s);if(i.commonAncestorContainer!==o.commonAncestorContainer||i.startContainer!==o.startContainer||i.endContainer!==o.endContainer||i.startOffset!==o.startOffset||i.endOffset!==o.endOffset)return}r.removeAllRanges()}})}}}function De(e,t,n,r){let a,s;const i=new Promise((c,l)=>{a=c,s=l});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:s}}function Be(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function vn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function mt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{In as a,Un as g,Sn as l,k as p,O as s};
@@ -1 +1 @@
1
- import{s as e,p as r}from"./XObnkuSP.js";const t={get error(){return r.error},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
1
+ import{s as e,p as r}from"./D7jZ8tkO.js";const t={get error(){return r.error},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BbGefPez.js","../chunks/DsnmJJEf.js","../chunks/B3bf7yrh.js","../chunks/DCs3KlJy.js","../nodes/1.AYSQHMSU.js","../chunks/D5lcOOwR.js","../chunks/CKy4x8h4.js","../chunks/XObnkuSP.js","../nodes/2._Jmh03he.js","../nodes/3.CSsn9Wqr.js","../chunks/ct9jA5hl.js","../chunks/CYcs1YWd.js","../assets/user.Cbakz6hh.css","../chunks/ChvOu7Q4.js","../assets/3.C2J9FN5q.css","../assets/Login.C58W2qGZ.css","../nodes/4.C_8QCdU7.js","../nodes/5.Drw7hCv3.js","../nodes/6.C6Hz75CP.js"])))=>i.map(i=>d[i]);
2
- import{h as V,i as U,g as z,E as G,A as Q,m as W,B as Y,C as H,q as J,F as K,Q as x,_ as X,N as m,ao as Z,a5 as $,av as ee,p as te,aw as re,al as ae,ax as k,au as se,b as N,f as w,s as ne,a as b,d as oe,c as A,e as ie,r as ce,ay as O,az as le,t as ue}from"../chunks/B3bf7yrh.js";import{a as fe,m as de,u as me,o as _e,s as he}from"../chunks/D5lcOOwR.js";import"../chunks/DsnmJJEf.js";import{p as L,i as T,b as C}from"../chunks/ct9jA5hl.js";function S(l,e,s){V&&U();var i=l,n,r,t=null,a=null;function _(){r&&(K(r),r=null),t&&(t.lastChild.remove(),i.before(t),t=null),r=a,a=null}z(()=>{if(n!==(n=e())){var h=H();if(n){var c=i;h&&(t=document.createDocumentFragment(),t.append(c=Q())),a=W(()=>s(c,n))}h?Y.add_callback(_):_()}},G),V&&(i=J)}function ve(l){return class extends ge{constructor(e){super({component:l,...e})}}}class ge{#t;#e;constructor(e){var s=new Map,i=(r,t)=>{var a=ee(t,!1,!1);return s.set(r,a),a};const n=new Proxy({...e.props||{},$$events:{}},{get(r,t){return m(s.get(t)??i(t,Reflect.get(r,t)))},has(r,t){return t===X?!0:(m(s.get(t)??i(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,a){return x(s.get(t)??i(t,a),a),Reflect.set(r,t,a)}});this.#e=(e.hydrate?fe:de)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Z(),this.#t=n.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||$(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(n,r)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...n)=>s.call(this,...n);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(n=>n!==i)}}$destroy(){this.#e.$destroy()}}const ye="modulepreload",Ee=function(l,e){return new URL(l,e).href},j={},y=function(e,s,i){let n=Promise.resolve();if(s&&s.length>0){let h=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const t=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),_=a?.nonce||a?.getAttribute("nonce");n=h(s.map(c=>{if(c=Ee(c,i),c in j)return;j[c]=!0;const d=c.endsWith(".css"),v=d?'[rel="stylesheet"]':"";if(!!i)for(let o=t.length-1;o>=0;o--){const u=t[o];if(u.href===c&&(!d||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${v}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":ye,d||(f.as="script"),f.crossOrigin="",f.href=c,_&&f.setAttribute("nonce",_),document.head.appendChild(f),d)return new Promise((o,u)=>{f.addEventListener("load",o),f.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(t){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=t,window.dispatchEvent(a),!a.defaultPrevented)throw t}return n.then(t=>{for(const a of t||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},Te={};var be=N('<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>'),pe=N("<!> <!>",1);function Pe(l,e){te(e,!0);let s=L(e,"components",23,()=>[]),i=L(e,"data_0",3,null),n=L(e,"data_1",3,null);re(()=>e.stores.page.set(e.page)),ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),n(),e.stores.page.notify()});let r=k(!1),t=k(!1),a=k(null);_e(()=>{const o=e.stores.page.subscribe(()=>{m(r)&&(x(t,!0),se().then(()=>{x(a,document.title||"untitled page",!0)}))});return x(r,!0),o});const _=O(()=>e.constructors[1]);var h=pe(),c=w(h);{var d=o=>{var u=A();const p=O(()=>e.constructors[0]);var P=w(u);S(P,()=>m(p),(g,E)=>{C(E(g,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(R,xe)=>{var I=A(),B=w(I);S(B,()=>m(_),(F,q)=>{C(q(F,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),M=>s()[1]=M,()=>s()?.[1])}),b(R,I)},$$slots:{default:!0}}),R=>s()[0]=R,()=>s()?.[0])}),b(o,u)},v=o=>{var u=A();const p=O(()=>e.constructors[0]);var P=w(u);S(P,()=>m(p),(g,E)=>{C(E(g,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),R=>s()[0]=R,()=>s()?.[0])}),b(o,u)};T(c,o=>{e.constructors[1]?o(d):o(v,!1)})}var D=ne(c,2);{var f=o=>{var u=be(),p=ie(u);{var P=g=>{var E=le();ue(()=>he(E,m(a))),b(g,E)};T(p,g=>{m(t)&&g(P)})}ce(u),b(o,u)};T(D,o=>{m(r)&&o(f)})}b(l,h),oe()}const Ce=ve(Pe),Se=[()=>y(()=>import("../nodes/0.BbGefPez.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>y(()=>import("../nodes/1.AYSQHMSU.js"),__vite__mapDeps([4,1,2,5,3,6,7]),import.meta.url),()=>y(()=>import("../nodes/2._Jmh03he.js"),__vite__mapDeps([8,1,2]),import.meta.url),()=>y(()=>import("../nodes/3.CSsn9Wqr.js"),__vite__mapDeps([9,1,2,5,3,10,11,7,6,12,13,14,15]),import.meta.url),()=>y(()=>import("../nodes/4.C_8QCdU7.js"),__vite__mapDeps([16,1,2,5,3,10,11,7,6,12,15]),import.meta.url),()=>y(()=>import("../nodes/5.Drw7hCv3.js"),__vite__mapDeps([17,1,13,2,5,3,10,7,11,6,12]),import.meta.url),()=>y(()=>import("../nodes/6.C6Hz75CP.js"),__vite__mapDeps([18,1,2,5,3,10,11,7,6,12,15]),import.meta.url)],De=[],Ie={"/_axium/default":[2],"/account":[3],"/login":[4],"/logout":[5],"/register":[6]},Re={handleError:({error:l})=>{console.error(l)},reroute:()=>{},transport:{}},we=Object.fromEntries(Object.entries(Re.transport).map(([l,e])=>[l,e.decode])),Ve=!1,je=(l,e)=>we[l](e);export{je as decode,we as decoders,Ie as dictionary,Ve as hash,Re as hooks,Te as matchers,Se as nodes,Ce as root,De as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BbGefPez.js","../chunks/DsnmJJEf.js","../chunks/B3bf7yrh.js","../chunks/DCs3KlJy.js","../nodes/1.CFY9RcSg.js","../chunks/D5lcOOwR.js","../chunks/va0AyaMb.js","../chunks/D7jZ8tkO.js","../nodes/2._Jmh03he.js","../nodes/3.DxWigyAu.js","../chunks/ct9jA5hl.js","../chunks/B6bJ2J9c.js","../assets/user.Cbakz6hh.css","../chunks/CB2OwAYZ.js","../assets/3.C2J9FN5q.css","../assets/Login.C58W2qGZ.css","../nodes/4.Ccim6yLz.js","../nodes/5.B8judf7B.js","../nodes/6.CToMfX8V.js"])))=>i.map(i=>d[i]);
2
+ import{h as V,i as U,g as z,E as G,A as Q,m as W,B as Y,C as H,q as J,F as K,Q as x,_ as X,N as m,ao as Z,a5 as $,av as ee,p as te,aw as re,al as ae,ax as k,au as se,b as N,f as w,s as ne,a as b,d as oe,c as A,e as ie,r as ce,ay as O,az as le,t as ue}from"../chunks/B3bf7yrh.js";import{a as fe,m as de,u as me,o as _e,s as he}from"../chunks/D5lcOOwR.js";import"../chunks/DsnmJJEf.js";import{p as L,i as T,b as C}from"../chunks/ct9jA5hl.js";function S(l,e,s){V&&U();var i=l,n,r,t=null,a=null;function _(){r&&(K(r),r=null),t&&(t.lastChild.remove(),i.before(t),t=null),r=a,a=null}z(()=>{if(n!==(n=e())){var h=H();if(n){var c=i;h&&(t=document.createDocumentFragment(),t.append(c=Q())),a=W(()=>s(c,n))}h?Y.add_callback(_):_()}},G),V&&(i=J)}function ve(l){return class extends ge{constructor(e){super({component:l,...e})}}}class ge{#t;#e;constructor(e){var s=new Map,i=(r,t)=>{var a=ee(t,!1,!1);return s.set(r,a),a};const n=new Proxy({...e.props||{},$$events:{}},{get(r,t){return m(s.get(t)??i(t,Reflect.get(r,t)))},has(r,t){return t===X?!0:(m(s.get(t)??i(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,a){return x(s.get(t)??i(t,a),a),Reflect.set(r,t,a)}});this.#e=(e.hydrate?fe:de)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Z(),this.#t=n.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||$(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(n,r)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...n)=>s.call(this,...n);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(n=>n!==i)}}$destroy(){this.#e.$destroy()}}const ye="modulepreload",Ee=function(l,e){return new URL(l,e).href},j={},y=function(e,s,i){let n=Promise.resolve();if(s&&s.length>0){let h=function(c){return Promise.all(c.map(d=>Promise.resolve(d).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const t=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),_=a?.nonce||a?.getAttribute("nonce");n=h(s.map(c=>{if(c=Ee(c,i),c in j)return;j[c]=!0;const d=c.endsWith(".css"),v=d?'[rel="stylesheet"]':"";if(!!i)for(let o=t.length-1;o>=0;o--){const u=t[o];if(u.href===c&&(!d||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${v}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":ye,d||(f.as="script"),f.crossOrigin="",f.href=c,_&&f.setAttribute("nonce",_),document.head.appendChild(f),d)return new Promise((o,u)=>{f.addEventListener("load",o),f.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(t){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=t,window.dispatchEvent(a),!a.defaultPrevented)throw t}return n.then(t=>{for(const a of t||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},Te={};var be=N('<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>'),pe=N("<!> <!>",1);function Pe(l,e){te(e,!0);let s=L(e,"components",23,()=>[]),i=L(e,"data_0",3,null),n=L(e,"data_1",3,null);re(()=>e.stores.page.set(e.page)),ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),n(),e.stores.page.notify()});let r=k(!1),t=k(!1),a=k(null);_e(()=>{const o=e.stores.page.subscribe(()=>{m(r)&&(x(t,!0),se().then(()=>{x(a,document.title||"untitled page",!0)}))});return x(r,!0),o});const _=O(()=>e.constructors[1]);var h=pe(),c=w(h);{var d=o=>{var u=A();const p=O(()=>e.constructors[0]);var P=w(u);S(P,()=>m(p),(g,E)=>{C(E(g,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(R,xe)=>{var I=A(),B=w(I);S(B,()=>m(_),(F,q)=>{C(q(F,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),M=>s()[1]=M,()=>s()?.[1])}),b(R,I)},$$slots:{default:!0}}),R=>s()[0]=R,()=>s()?.[0])}),b(o,u)},v=o=>{var u=A();const p=O(()=>e.constructors[0]);var P=w(u);S(P,()=>m(p),(g,E)=>{C(E(g,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),R=>s()[0]=R,()=>s()?.[0])}),b(o,u)};T(c,o=>{e.constructors[1]?o(d):o(v,!1)})}var D=ne(c,2);{var f=o=>{var u=be(),p=ie(u);{var P=g=>{var E=le();ue(()=>he(E,m(a))),b(g,E)};T(p,g=>{m(t)&&g(P)})}ce(u),b(o,u)};T(D,o=>{m(r)&&o(f)})}b(l,h),oe()}const Ce=ve(Pe),Se=[()=>y(()=>import("../nodes/0.BbGefPez.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>y(()=>import("../nodes/1.CFY9RcSg.js"),__vite__mapDeps([4,1,2,5,3,6,7]),import.meta.url),()=>y(()=>import("../nodes/2._Jmh03he.js"),__vite__mapDeps([8,1,2]),import.meta.url),()=>y(()=>import("../nodes/3.DxWigyAu.js"),__vite__mapDeps([9,1,2,5,3,10,11,7,6,12,13,14,15]),import.meta.url),()=>y(()=>import("../nodes/4.Ccim6yLz.js"),__vite__mapDeps([16,1,2,5,3,10,11,7,6,12,15]),import.meta.url),()=>y(()=>import("../nodes/5.B8judf7B.js"),__vite__mapDeps([17,1,13,2,5,3,10,7,11,6,12]),import.meta.url),()=>y(()=>import("../nodes/6.CToMfX8V.js"),__vite__mapDeps([18,1,2,5,3,10,11,7,6,12,15]),import.meta.url)],De=[],Ie={"/_axium/default":[2],"/account":[3],"/login":[4],"/logout":[5],"/register":[6]},Re={handleError:({error:l})=>{console.error(l)},reroute:()=>{},transport:{}},we=Object.fromEntries(Object.entries(Re.transport).map(([l,e])=>[l,e.decode])),Ve=!1,je=(l,e)=>we[l](e);export{je as decode,we as decoders,Ie as dictionary,Ve as hash,Re as hooks,Te as matchers,Se as nodes,Ce as root,De as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/D7jZ8tkO.js";export{o as load_css,r as start};
@@ -0,0 +1,2 @@
1
+ )�import{l as o,a as r}from"../chunks/D7jZ8tkO.js";export{o as load_css,r as start};
2
+ 
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{p as n,b as u,f as v,t as c,a as l,d as _,e as s,r as e,s as d}from"../chunks/B3bf7yrh.js";import{s as p}from"../chunks/D5lcOOwR.js";import{p as o}from"../chunks/CKy4x8h4.js";var g=u("<h1> </h1> <p> </p>",1);function k(m,f){n(f,!0);var t=g(),r=v(t),i=s(r,!0);e(r);var a=d(r,2),h=s(a,!0);e(a),c(()=>{p(i,o.status),p(h,o.error?.message)}),l(m,t),_()}export{k as component};
1
+ import"../chunks/DsnmJJEf.js";import{p as n,b as u,f as v,t as c,a as l,d as _,e as s,r as e,s as d}from"../chunks/B3bf7yrh.js";import{s as p}from"../chunks/D5lcOOwR.js";import{p as o}from"../chunks/va0AyaMb.js";var g=u("<h1> </h1> <p> </p>",1);function k(m,f){n(f,!0);var t=g(),r=v(t),i=s(r,!0);e(r);var a=d(r,2),h=s(a,!0);e(a),c(()=>{p(i,o.status),p(h,o.error?.message)}),l(m,t),_()}export{k as component};
@@ -0,0 +1 @@
1
+ import"../chunks/DsnmJJEf.js";import{g as Tt,h as H,i as $t,aA as ct,H as zt,x as Je,y as ke,z as de,U as ft,aB as xe,aC as Te,J as Ct,q as oe,a3 as dt,a2 as _t,aD as pt,aj as Ht,D as $e,m as _e,F as Ee,ao as Vt,u as Bt,I as Gt,N as n,W as At,w as Wt,a8 as Kt,ad as Yt,C as Jt,B as Zt,ah as jt,a6 as Qt,A as Xt,av as ea,aE as ta,aF as qe,o as It,aG as aa,aH as ra,aa as sa,aI as na,ag as ia,aJ as oa,R as Lt,E as la,aK as va,aL as ua,G as ca,K as fa,aM as da,Z as _a,n as le,p as Xe,aN as pa,e as E,r as g,t as q,ay as re,a as A,d as et,aO as ma,b as j,ax as te,Q as K,O as He,c as mt,f as ge,$ as ha,s as w,v as ga,aP as ya}from"../chunks/B3bf7yrh.js";import{b as ba,w as Nt,d as pe,h as wa,s as R}from"../chunks/D5lcOOwR.js";import{r as xa,p as Ea,i as ae}from"../chunks/ct9jA5hl.js";import{b as ka,s as fe,F as ee,c as Ve,d as Be,e as ht,f as Ta,g as $a,h as za,i as Ca,u as Aa,j as ja,k as Ia,m as La,n as Na,o as Pa,p as Sa,q as Da,t as Oa}from"../chunks/B6bJ2J9c.js";import{g as ye}from"../chunks/D7jZ8tkO.js";/* empty css */import{L as Ma}from"../chunks/CB2OwAYZ.js";/* empty css */const Ge=0,be=1,We=2;function Fa(o,t,e,a,_){H&&$t();var h=o,c=Ht,p=ft,u,s,l,m=Te(void 0),f=Te(void 0),b=!1;function v(r,k){b=!0,k&&(dt(i),_t(i),pt(c));try{r===be&&a&&(s?$e(s):s=_e(()=>a(h,m))),r===We&&_&&(l?$e(l):l=_e(()=>_(h,f))),r!==Ge&&u&&Ee(u,()=>u=null),r!==be&&s&&Ee(s,()=>s=null),r!==We&&l&&Ee(l,()=>l=null)}finally{k&&(pt(null),_t(null),dt(null),Vt())}}var i=Tt(()=>{if(p===(p=t()))return;let r=H&&ct(p)===(h.data===zt);if(r&&(h=Je(),ke(h),de(!1),r=!0),ct(p)){var k=p;b=!1,k.then(x=>{k===p&&(xe(m,x),v(be,!0))},x=>{if(k===p&&(xe(f,x),v(We,!0),!_))throw f.v}),H||Ct(()=>{b||v(Ge,!0)})}else xe(m,p),v(be,!1);return r&&de(!0),()=>p=ft});H&&(h=oe)}function ce(o,t){H&&ke(Bt(o)),Gt(()=>{var e=t();for(var a in e){var _=e[a];_?o.style.setProperty(a,_):o.style.removeProperty(a)}})}function gt(o,t){return t}function Ua(o,t,e){for(var a=o.items,_=[],h=t.length,c=0;c<h;c++)na(t[c].e,_,!0);var p=h>0&&_.length===0&&e!==null;if(p){var u=e.parentNode;ia(u),u.append(e),a.clear(),V(o,t[0].prev,t[h-1].next)}oa(_,()=>{for(var s=0;s<h;s++){var l=t[s];p||(a.delete(l.k),V(o,l.prev,l.next)),It(l.e,!p)}})}function yt(o,t,e,a,_,h=null){var c=o,p={flags:t,items:new Map,first:null};H&&$t();var u=null,s=!1,l=new Map,m=At(()=>{var i=e();return Qt(i)?i:i==null?[]:jt(i)}),f,b;function v(){Ra(b,f,p,l,c,_,t,a,e),h!==null&&(f.length===0?u?$e(u):u=_e(()=>h(c)):u!==null&&Ee(u,()=>{u=null}))}Tt(()=>{b??=Lt,f=n(m);var i=f.length;if(s&&i===0)return;s=i===0;let r=!1;if(H){var k=Wt(c)===zt;k!==(i===0)&&(c=Je(),ke(c),de(!1),r=!0)}if(H){for(var x=null,d,$=0;$<i;$++){if(oe.nodeType===Kt&&oe.data===Yt){c=oe,r=!0,de(!1);break}var C=f[$],I=a(C,$);d=Ze(oe,p,x,null,C,I,$,_,t,e),p.items.set(I,d),x=d}i>0&&ke(Je())}if(H)i===0&&h&&(u=_e(()=>h(c)));else if(Jt()){var B=new Set,D=Zt;for($=0;$<i;$+=1){C=f[$],I=a(C,$);var L=p.items.get(I)??l.get(I);L?Pt(L,C,$):(d=Ze(null,p,null,null,C,I,$,_,t,e,!0),l.set(I,d)),B.add(I)}for(const[J,G]of p.items)B.has(J)||D.skipped_effects.add(G.e);D.add_callback(v)}else v();r&&de(!0),n(m)}),H&&(c=oe)}function Ra(o,t,e,a,_,h,c,p,u){var s=t.length,l=e.items,m=e.first,f=m,b,v=null,i=[],r=[],k,x,d,$;for($=0;$<s;$+=1){if(k=t[$],x=p(k,$),d=l.get(x),d===void 0){var C=a.get(x);if(C!==void 0){a.delete(x),l.set(x,C);var I=v?v.next:f;V(e,v,C),V(e,C,I),Ke(C,I,_),v=C}else{var B=f?f.e.nodes_start:_;v=Ze(B,e,v,v===null?e.first:v.next,k,x,$,h,c,u)}l.set(x,v),i=[],r=[],f=v.next;continue}if(Pt(d,k,$),(d.e.f&qe)!==0&&$e(d.e),d!==f){if(b!==void 0&&b.has(d)){if(i.length<r.length){var D=r[0],L;v=D.prev;var J=i[0],G=i[i.length-1];for(L=0;L<i.length;L+=1)Ke(i[L],D,_);for(L=0;L<r.length;L+=1)b.delete(r[L]);V(e,J.prev,G.next),V(e,v,J),V(e,G,D),f=D,v=G,$-=1,i=[],r=[]}else b.delete(d),Ke(d,f,_),V(e,d.prev,d.next),V(e,d,v===null?e.first:v.next),V(e,v,d),v=d;continue}for(i=[],r=[];f!==null&&f.k!==x;)(f.e.f&qe)===0&&(b??=new Set).add(f),r.push(f),f=f.next;if(f===null)continue;d=f}i.push(d),v=d,f=d.next}if(f!==null||b!==void 0){for(var se=b===void 0?[]:jt(b);f!==null;)(f.e.f&qe)===0&&se.push(f),f=f.next;var ze=se.length;if(ze>0){var Ce=null;Ua(e,se,Ce)}}o.first=e.first&&e.first.e,o.last=v&&v.e;for(var Ae of a.values())It(Ae.e);a.clear()}function Pt(o,t,e,a){xe(o.v,t),o.i=e}function Ze(o,t,e,a,_,h,c,p,u,s,l){var m=(u&aa)!==0,f=(u&ra)===0,b=m?f?ea(_,!1,!1):Te(_):_,v=(u&ta)===0?c:Te(c),i={i:v,v:b,k:h,a:null,e:null,prev:e,next:a};try{if(o===null){var r=document.createDocumentFragment();r.append(o=Xt())}return i.e=_e(()=>p(o,b,v,s),H),i.e.prev=e&&e.e,i.e.next=a&&a.e,e===null?l||(t.first=i):(e.next=i,e.e.next=i.e),a!==null&&(a.prev=i,a.e.prev=i.e),i}finally{}}function Ke(o,t,e){for(var a=o.next?o.next.e.nodes_start:e,_=t?t.e.nodes_start:e,h=o.e.nodes_start;h!==null&&h!==a;){var c=sa(h);_.before(h),h=c}}function V(o,t,e){t===null?o.first=e:(t.next=e,t.e.next=e&&e.e),e!==null&&(e.prev=t,e.e.prev=t&&t.e)}const qa=()=>performance.now(),Y={tick:o=>requestAnimationFrame(o),now:()=>qa(),tasks:new Set};function St(){const o=Y.now();Y.tasks.forEach(t=>{t.c(o)||(Y.tasks.delete(t),t.f())}),Y.tasks.size!==0&&Y.tick(St)}function Ha(o){let t;return Y.tasks.size===0&&Y.tick(St),{promise:new Promise(e=>{Y.tasks.add(t={c:o,f:e})}),abort(){Y.tasks.delete(t)}}}function we(o,t){Nt(()=>{o.dispatchEvent(new CustomEvent(t))})}function Va(o){if(o==="float")return"cssFloat";if(o==="offset")return"cssOffset";if(o.startsWith("--"))return o;const t=o.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function bt(o){const t={},e=o.split(";");for(const a of e){const[_,h]=a.split(":");if(!_||h===void 0)break;const c=Va(_.trim());t[c]=h.trim()}return t}const Ba=o=>o;function wt(o,t,e,a){var _=(o&da)!==0,h="both",c,p=t.inert,u=t.style.overflow,s,l;function m(){return Nt(()=>c??=e()(t,a?.()??{},{direction:h}))}var f={is_global:_,in(){t.inert=p,we(t,"introstart"),s=Qe(t,m(),l,1,()=>{we(t,"introend"),s?.abort(),s=c=void 0,t.style.overflow=u})},out(r){t.inert=!0,we(t,"outrostart"),l=Qe(t,m(),s,0,()=>{we(t,"outroend"),r?.()})},stop:()=>{s?.abort(),l?.abort()}},b=Lt;if((b.transitions??=[]).push(f),ba){var v=_;if(!v){for(var i=b.parent;i&&(i.f&la)!==0;)for(;(i=i.parent)&&(i.f&va)===0;);v=!i||(i.f&ua)!==0}v&&ca(()=>{fa(()=>f.in())})}}function Qe(o,t,e,a,_){var h=a===1;if(_a(t)){var c,p=!1;return Ct(()=>{if(!p){var r=t({direction:h?"in":"out"});c=Qe(o,r,e,a,_)}}),{abort:()=>{p=!0,c?.abort()},deactivate:()=>c.deactivate(),reset:()=>c.reset(),t:()=>c.t()}}if(e?.deactivate(),!t?.duration)return _(),{abort:le,deactivate:le,reset:le,t:()=>a};const{delay:u=0,css:s,tick:l,easing:m=Ba}=t;var f=[];if(h&&e===void 0&&(l&&l(0,1),s)){var b=bt(s(0,1));f.push(b,b)}var v=()=>1-a,i=o.animate(f,{duration:u,fill:"forwards"});return i.onfinish=()=>{i.cancel();var r=e?.t()??1-a;e?.abort();var k=a-r,x=t.duration*Math.abs(k),d=[];if(x>0){var $=!1;if(s)for(var C=Math.ceil(x/16.666666666666668),I=0;I<=C;I+=1){var B=r+k*m(I/C),D=bt(s(B,1-B));d.push(D),$||=D.overflow==="hidden"}$&&(o.style.overflow="hidden"),v=()=>{var L=i.currentTime;return r+k*m(L/x)},l&&Ha(()=>{if(i.playState!=="running")return!1;var L=v();return l(L,1-L),!0})}i=o.animate(d,{duration:x,fill:"forwards"}),i.onfinish=()=>{v=()=>a,l?.(a,1-a),_()}},{abort:()=>{i&&(i.cancel(),i.effect=null,i.onfinish=le)},deactivate:()=>{_=le},reset:()=>{a===0&&l?.(1,0)},t:()=>v()}}const Ga=o=>o;function xt(o,{delay:t=0,duration:e=400,easing:a=Ga}={}){const _=+getComputedStyle(o).opacity;return{delay:t,duration:e,easing:a,css:h=>`opacity: ${h*_}`}}var Ye={exports:{}},Et;function Wa(){return Et||(Et=1,function(o){var t=Object.prototype.hasOwnProperty,e="~";function a(){}Object.create&&(a.prototype=Object.create(null),new a().__proto__||(e=!1));function _(u,s,l){this.fn=u,this.context=s,this.once=l||!1}function h(u,s,l,m,f){if(typeof l!="function")throw new TypeError("The listener must be a function");var b=new _(l,m||u,f),v=e?e+s:s;return u._events[v]?u._events[v].fn?u._events[v]=[u._events[v],b]:u._events[v].push(b):(u._events[v]=b,u._eventsCount++),u}function c(u,s){--u._eventsCount===0?u._events=new a:delete u._events[s]}function p(){this._events=new a,this._eventsCount=0}p.prototype.eventNames=function(){var s=[],l,m;if(this._eventsCount===0)return s;for(m in l=this._events)t.call(l,m)&&s.push(e?m.slice(1):m);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(l)):s},p.prototype.listeners=function(s){var l=e?e+s:s,m=this._events[l];if(!m)return[];if(m.fn)return[m.fn];for(var f=0,b=m.length,v=new Array(b);f<b;f++)v[f]=m[f].fn;return v},p.prototype.listenerCount=function(s){var l=e?e+s:s,m=this._events[l];return m?m.fn?1:m.length:0},p.prototype.emit=function(s,l,m,f,b,v){var i=e?e+s:s;if(!this._events[i])return!1;var r=this._events[i],k=arguments.length,x,d;if(r.fn){switch(r.once&&this.removeListener(s,r.fn,void 0,!0),k){case 1:return r.fn.call(r.context),!0;case 2:return r.fn.call(r.context,l),!0;case 3:return r.fn.call(r.context,l,m),!0;case 4:return r.fn.call(r.context,l,m,f),!0;case 5:return r.fn.call(r.context,l,m,f,b),!0;case 6:return r.fn.call(r.context,l,m,f,b,v),!0}for(d=1,x=new Array(k-1);d<k;d++)x[d-1]=arguments[d];r.fn.apply(r.context,x)}else{var $=r.length,C;for(d=0;d<$;d++)switch(r[d].once&&this.removeListener(s,r[d].fn,void 0,!0),k){case 1:r[d].fn.call(r[d].context);break;case 2:r[d].fn.call(r[d].context,l);break;case 3:r[d].fn.call(r[d].context,l,m);break;case 4:r[d].fn.call(r[d].context,l,m,f);break;default:if(!x)for(C=1,x=new Array(k-1);C<k;C++)x[C-1]=arguments[C];r[d].fn.apply(r[d].context,x)}}return!0},p.prototype.on=function(s,l,m){return h(this,s,l,m,!1)},p.prototype.once=function(s,l,m){return h(this,s,l,m,!0)},p.prototype.removeListener=function(s,l,m,f){var b=e?e+s:s;if(!this._events[b])return this;if(!l)return c(this,b),this;var v=this._events[b];if(v.fn)v.fn===l&&(!f||v.once)&&(!m||v.context===m)&&c(this,b);else{for(var i=0,r=[],k=v.length;i<k;i++)(v[i].fn!==l||f&&!v[i].once||m&&v[i].context!==m)&&r.push(v[i]);r.length?this._events[b]=r.length===1?r[0]:r:c(this,b)}return this},p.prototype.removeAllListeners=function(s){var l;return s?(l=e?e+s:s,this._events[l]&&c(this,l)):(this._events=new a,this._eventsCount=0),this},p.prototype.off=p.prototype.removeListener,p.prototype.addListener=p.prototype.on,p.prefixed=e,p.EventEmitter=p,o.exports=p}(Ye)),Ye.exports}Wa();function Ka(o){return new Promise(t=>setTimeout(t,o))}const kt=Intl.NumberFormat("en",{notation:"compact"});kt.format.bind(kt);new TextEncoder;new TextDecoder;var Ya=pa("<svg><use></use></svg>");function W(o,t){Xe(t,!0);const e=xa(t,["$$slots","$$events","$$legacy","i"]),a=re(()=>t.i.includes("/")?t.i.split("/"):["solid",t.i]),_=re(()=>ma(n(a),2)),h=re(()=>n(_)[0]),c=re(()=>n(_)[1]),p=re(()=>`/icons/${n(h)}.svg#${n(c)}`);var u=Ya();ka(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"1em",height:"1em",...e}),void 0,void 0,"svelte-ylmrta");var s=E(u);g(u),q(()=>fe(s,"href",n(p))),A(o,u),et()}async function Ja(o,t,e,a){const _=new Blob([t.value],{type:e()}),h=new ClipboardItem({[e()]:_});await navigator.clipboard.write([h]),K(a,!0),await Ka(3e3),K(a,!1)}var Za=j('<span class="svelte-g409dh"><!></span>'),Qa=j('<span class="svelte-g409dh"><!></span>'),Xa=j('<button class="svelte-g409dh"><!></button>');function er(o,t){Xe(t,!0);const e=Ea(t,"type",3,"text/plain");let a=te(!1);var _=Xa();_.__click=[Ja,t,e,a];var h=E(_);{var c=u=>{var s=Za(),l=E(s);W(l,{i:"check"}),g(s),wt(3,s,()=>xt),A(u,s)},p=u=>{var s=Qa(),l=E(s);W(l,{i:"copy"}),g(s),wt(3,s,()=>xt),A(u,s)};ae(h,u=>{n(a)?u(c):u(p,!1)})}g(_),A(o,_),et()}pe(["click"]);pe(["click"]);pe(["click"]);pe(["contextmenu"]);var tr=(o,t,e)=>t[e()].showModal(),ar=j('<button class="svelte-11mz0yj"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></button>'),rr=j('<div class="svelte-11mz0yj"><label for="name">What do you want to be called?</label> <input name="name" type="text" required/></div>'),sr=j("<dfn><!></dfn>"),nr=(o,t,e)=>Pa(n(t).id).then(()=>K(e,!0)),ir=j("<button> </button>"),or=j('<div class="svelte-11mz0yj"><label for="email">Email Address</label> <input name="email" type="email" required/></div>'),lr=(o,t)=>t.logout.showModal(),vr=(o,t)=>t.delete.showModal(),ur=j("<p>Are you sure you want to delete your account?<br/>This action can't be undone.</p>"),cr=j("<p> </p>"),fr=j('<p class="subtle"><i>Unnamed</i></p>'),dr=j('<dfn title="You must have at least one passkey" class="disabled svelte-11mz0yj"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn>'),_r=j('<div class="svelte-11mz0yj"><label for="name">Passkey Name</label> <input name="name" type="text"/></div>'),pr=j(`<p class="svelte-11mz0yj">Are you sure you want to delete this passkey?<br/>This action can't be undone.</p>`),mr=j('<div class="item passkey svelte-11mz0yj"><dfn class="svelte-11mz0yj"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <dfn class="svelte-11mz0yj"><svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></dfn> <!> <p> </p> <!> <!></div> <!> <!>',1),hr=(o,t,e)=>$a(n(t).id).then(n(e).push.bind(n(e))),gr=j('<span class="current svelte-11mz0yj">Current</span>'),yr=j('<span class="elevated svelte-11mz0yj">Elevated</span>'),br=j('<p class="svelte-11mz0yj">Are you sure you want to log out this session?</p>'),wr=j('<div class="item session svelte-11mz0yj"><p> <!> <!></p> <p> </p> <p> </p> <!></div> <!>',1),xr=(o,t)=>t.logout_all.showModal(),Er=j("<p>Are you sure you want to log out all sessions?</p>"),kr=j(`<div class="Account flex-content"><div id="pfp-container" class="svelte-11mz0yj"><img id="pfp" alt="User profile" width="100px" height="100px" class="svelte-11mz0yj"/></div> <p class="greeting svelte-11mz0yj"> </p> <div class="section main svelte-11mz0yj"><h3 class="svelte-11mz0yj">Personal Information</h3> <div class="item info svelte-11mz0yj"><p class="subtle svelte-11mz0yj">Name</p> <p class="svelte-11mz0yj"> </p> <!></div> <!> <div class="item info svelte-11mz0yj"><p class="subtle svelte-11mz0yj">Email</p> <p class="svelte-11mz0yj"> <!></p> <!></div> <!> <div class="item info svelte-11mz0yj"><p class="subtle svelte-11mz0yj">User ID <dfn title="This is your UUID. It can't be changed."><!></dfn></p> <p class="svelte-11mz0yj"> </p> <svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper></div> <span><button class="signout svelte-11mz0yj">Sign Out</button> <button class="danger">Delete Account</button> <!> <!></span></div> <div class="section main svelte-11mz0yj"><h3 class="svelte-11mz0yj">Passkeys</h3> <!> <span><button><!> Create</button></span></div> <div class="section main svelte-11mz0yj"><h3 class="svelte-11mz0yj">Sessions</h3> <!> <span><button class="danger">Logout All</button></span> <!></div></div>`),Tr=j('<div class="error"><h3>Failed to load account</h3> <p> </p></div>');function Sr(o,t){Xe(t,!0);const e=(v,i=le,r)=>{let k=At(()=>ya(r?.(),"pen"));var x=ar();x.__click=[tr,a,i],ht(x,"",{},{display:"contents"});var d=E(x);ce(d,()=>({"--size":"16px"})),W(d.lastChild,{get i(){return n(k)}}),g(d),g(x),A(v,x)},a=He({});let _=te(!1),h=te(void 0),c=te(void 0),p=te(!1),u=te(He([])),s=te(He([]));async function l(){K(h,await ja().catch(()=>(ye("/login?after=/account"),null)),!0),K(c,n(h).user,!0),K(u,await Ia(n(c).id),!0),K(s,await La(n(c).id),!0),K(p,await Na(n(c).id),!0)}async function m(v){const i=await Aa(n(c).id,v);K(c,i,!0)}var f=mt();wa(v=>{ha.title="Account"});var b=ge(f);Fa(b,l,null,v=>{var i=kr(),r=E(i),k=E(r);g(r);var x=w(r,2),d=E(x);g(x);var $=w(x,2),C=w(E($),2),I=w(E(C),2),B=E(I,!0);g(I);var D=w(I,2);e(D,()=>"edit_name"),g(C);var L=w(C,2);ee(L,{submit:m,submitText:"Change",get dialog(){return a.edit_name},set dialog(z){a.edit_name=z},children:(z,y)=>{var N=rr(),P=w(E(N),2);Ve(P),g(N),q(()=>Be(P,n(c).name||"")),A(z,N)},$$slots:{default:!0}});var J=w(L,2),G=w(E(J),2),se=E(G),ze=w(se);{var Ce=z=>{var y=sr(),N=E(y);W(N,{i:"regular/circle-check"}),g(y),q(P=>fe(y,"title",`Email verified on ${P??""}`),[()=>n(c).emailVerified.toLocaleDateString()]),A(z,y)},Ae=z=>{var y=mt(),N=ge(y);{var P=M=>{var O=ir();O.__click=[nr,c,_];var Z=E(O,!0);g(O),q(()=>R(Z,n(_)?"Verification email sent":"Verify")),A(M,O)};ae(N,M=>{n(p)&&M(P)},!0)}A(z,y)};ae(ze,z=>{n(c).emailVerified?z(Ce):z(Ae,!1)})}g(G);var Dt=w(G,2);e(Dt,()=>"edit_email"),g(J);var tt=w(J,2);ee(tt,{submit:m,submitText:"Change",get dialog(){return a.edit_email},set dialog(z){a.edit_email=z},children:(z,y)=>{var N=or(),P=w(E(N),2);Ve(P),g(N),q(()=>Be(P,n(c).email||"")),A(z,N)},$$slots:{default:!0}});var je=w(tt,2),Ie=E(je),at=w(E(Ie)),Ot=E(at);W(Ot,{i:"regular/circle-info"}),g(at),g(Ie);var Le=w(Ie,2),Mt=E(Le,!0);g(Le);var Ne=w(Le,2);ce(Ne,()=>({"--size":"16px"})),er(Ne.lastChild,{get value(){return n(c).id}}),g(Ne),g(je);var rt=w(je,2),st=E(rt);st.__click=[lr,a];var Pe=w(st,2);Pe.__click=[vr,a],ht(Pe,"",{},{cursor:"pointer"});var nt=w(Pe,2);Ma(nt,{get dialog(){return a.logout},set dialog(z){a.logout=z}});var Ft=w(nt,2);ee(Ft,{submit:()=>Ta(n(c).id).then(()=>ye("/")),submitText:"Delete Account",submitDanger:!0,get dialog(){return a.delete},set dialog(z){a.delete=z},children:(z,y)=>{var N=ur();A(z,N)},$$slots:{default:!0}}),g(rt),g($);var Se=w($,2),it=w(E(Se),2);yt(it,17,()=>n(u),gt,(z,y,N)=>{var P=mr(),M=ge(P),O=E(M),Z=E(O);{let T=re(()=>n(y).deviceType=="multiDevice"?"laptop-mobile":"mobile");ce(Z,()=>({"--size":"16px"})),W(Z.lastChild,{get i(){return n(T)}}),g(Z)}g(O);var ne=w(O,2),ve=E(ne);{let T=re(()=>n(y).backedUp?"circle-check":"circle-xmark");ce(ve,()=>({"--size":"16px"})),W(ve.lastChild,{get i(){return n(T)}}),g(ve)}g(ne);var me=w(ne,2);{var ue=T=>{var F=cr(),U=E(F,!0);g(F),q(()=>R(U,n(y).name)),A(T,F)},Me=T=>{var F=fr();A(T,F)};ae(me,T=>{n(y).name?T(ue):T(Me,!1)})}var X=w(me,2),Fe=E(X);g(X);var he=w(X,2);e(he,()=>"edit_passkey#"+n(y).id);var Ue=w(he,2);{var S=T=>{e(T,()=>"delete_passkey#"+n(y).id,()=>"trash")},Q=T=>{var F=dr(),U=E(F);ce(U,()=>({"--fill":"#888","--size":"16px"})),W(U.lastChild,{i:"trash-slash"}),g(U),g(F),A(T,F)};ae(Ue,T=>{n(u).length>1?T(S):T(Q,!1)})}g(M);var ie=w(M,2);ee(ie,{submit:T=>{if(typeof T.name!="string")throw"Passkey name must be a string";return n(y).name=T.name,Sa(n(y).id,T)},submitText:"Change",get dialog(){return a["edit_passkey#"+n(y).id]},set dialog(T){a["edit_passkey#"+n(y).id]=T},children:(T,F)=>{var U=_r(),ut=w(E(U),2);Ve(ut),g(U),q(()=>Be(ut,n(y).name||"")),A(T,U)},$$slots:{default:!0}});var Re=w(ie,2);ee(Re,{submit:()=>Da(n(y).id).then(()=>n(u).splice(n(u).indexOf(n(y)),1)),submitText:"Delete",submitDanger:!0,get dialog(){return a["delete_passkey#"+n(y).id]},set dialog(T){a["delete_passkey#"+n(y).id]=T},children:(T,F)=>{var U=pr();A(T,U)},$$slots:{default:!0}}),q(T=>{fe(O,"title",n(y).deviceType=="multiDevice"?"Multiple devices":"Single device"),fe(ne,"title",`This passkey is ${n(y).backedUp?"":"not "}backed up`),R(Fe,`Created ${T??""}`)},[()=>n(y).createdAt.toLocaleString()]),A(z,P)});var ot=w(it,2),De=E(ot);De.__click=[hr,c,u];var Ut=E(De);W(Ut,{i:"plus"}),ga(),g(De),g(ot),g(Se);var lt=w(Se,2),vt=w(E(lt),2);yt(vt,17,()=>n(s),gt,(z,y)=>{var N=wr(),P=ge(N),M=E(P),O=E(M),Z=w(O);{var ne=S=>{var Q=gr();A(S,Q)};ae(Z,S=>{n(y).id==n(h).id&&S(ne)})}var ve=w(Z,2);{var me=S=>{var Q=yr();A(S,Q)};ae(ve,S=>{n(y).elevated&&S(me)})}g(M);var ue=w(M,2),Me=E(ue);g(ue);var X=w(ue,2),Fe=E(X);g(X);var he=w(X,2);e(he,()=>"logout#"+n(y).id,()=>"right-from-bracket"),g(P);var Ue=w(P,2);ee(Ue,{submit:async()=>{await Oa(n(c).id,n(y).id),a["logout#"+n(y).id].remove(),n(s).splice(n(s).indexOf(n(y)),1),n(y).id==n(h).id&&ye("/")},submitText:"Logout",get dialog(){return a["logout#"+n(y).id]},set dialog(S){a["logout#"+n(y).id]=S},children:(S,Q)=>{var ie=br();A(S,ie)},$$slots:{default:!0}}),q((S,Q,ie,Re)=>{R(O,`${S??""}...${Q??""} `),R(Me,`Created ${ie??""}`),R(Fe,`Expires ${Re??""}`)},[()=>n(y).id.slice(0,4),()=>n(y).id.slice(-4),()=>n(y).created.toLocaleString(),()=>n(y).expires.toLocaleString()]),A(z,N)});var Oe=w(vt,2),Rt=E(Oe);Rt.__click=[xr,a],g(Oe);var qt=w(Oe,2);ee(qt,{submit:()=>za(n(c).id).then(()=>ye("/")),submitText:"Logout All Sessions",submitDanger:!0,get dialog(){return a.logout_all},set dialog(z){a.logout_all=z},children:(z,y)=>{var N=Er();A(z,N)},$$slots:{default:!0}}),g(lt),g(i),q(z=>{fe(k,"src",z),R(d,`Welcome, ${n(c).name??""}`),R(B,n(c).name),R(se,`${n(c).email??""} `),R(Mt,n(c).id)},[()=>Ca(n(c))]),A(v,i)},(v,i)=>{var r=Tr(),k=w(E(r),2),x=E(k,!0);g(k),g(r),q(()=>R(x,"message"in n(i)?n(i).message:n(i))),A(v,r)}),A(o,f),et()}pe(["click"]);export{Sr as component};
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{p as c,d as v,b as d,a as m,c as h,f as _,$ as b}from"../chunks/B3bf7yrh.js";import{h as P}from"../chunks/D5lcOOwR.js";import{p as n,i as $}from"../chunks/ct9jA5hl.js";import{F as y,a as L}from"../chunks/CYcs1YWd.js";/* empty css */var q=d('<div class="footer svelte-16cw95q"><a href="/register">Register instead</a></div>'),w=d('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');function x(a,o){c(o,!0);let s=n(o,"dialog",15),f=n(o,"fullPage",3,!1);function u(r){if(typeof r.email!="string")throw"Tried to upload a file for an email. Huh?!";return L(r.email)}y(a,{submitText:"Login",submit:u,get pageMode(){return f()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var t=h(),i=_(t);{var g=l=>{var p=q();m(l,p)};$(i,l=>{f()&&l(g)})}m(e,t)},children:(e,t)=>{var i=w();m(e,i)},$$slots:{footer:!0,default:!0}}),v()}function H(a){P(o=>{b.title="Login"}),x(a,{fullPage:!0})}export{H as component};
1
+ import"../chunks/DsnmJJEf.js";import{p as c,d as v,b as d,a as m,c as h,f as _,$ as b}from"../chunks/B3bf7yrh.js";import{h as P}from"../chunks/D5lcOOwR.js";import{p as n,i as $}from"../chunks/ct9jA5hl.js";import{F as y,a as L}from"../chunks/B6bJ2J9c.js";/* empty css */var q=d('<div class="footer svelte-16cw95q"><a href="/register">Register instead</a></div>'),w=d('<div><label for="email">Email</label> <input name="email" type="email" required/></div>');function x(a,o){c(o,!0);let s=n(o,"dialog",15),f=n(o,"fullPage",3,!1);function u(r){if(typeof r.email!="string")throw"Tried to upload a file for an email. Huh?!";return L(r.email)}y(a,{submitText:"Login",submit:u,get pageMode(){return f()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var t=h(),i=_(t);{var g=l=>{var p=q();m(l,p)};$(i,l=>{f()&&l(g)})}m(e,t)},children:(e,t)=>{var i=w();m(e,i)},$$slots:{footer:!0,default:!0}}),v()}function H(a){P(o=>{b.title="Login"}),x(a,{fullPage:!0})}export{H as component};
@@ -0,0 +1 @@
1
+ import"../chunks/DsnmJJEf.js";import{L as t}from"../chunks/CB2OwAYZ.js";function r(o){t(o,{fullPage:!0})}export{r as component};
@@ -1 +1 @@
1
- import"../chunks/DsnmJJEf.js";import{p as g,d as u,b as f,a as l,c as v,f as c,v as b,$ as h}from"../chunks/B3bf7yrh.js";import{h as _}from"../chunks/D5lcOOwR.js";import{p as n,i as x}from"../chunks/ct9jA5hl.js";import{F as P,r as $}from"../chunks/CYcs1YWd.js";/* empty css */var q=f('<div class="footer svelte-16cw95q"><a href="/login">Login instead</a></div>'),y=f('<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 D(t,a){g(a,!0);let s=n(a,"dialog",15),m=n(a,"fullPage",3,!1);P(t,{submitText:"Register",get submit(){return $},get pageMode(){return m()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var r=v(),o=c(r);{var d=i=>{var p=q();l(i,p)};x(o,i=>{m()&&i(d)})}l(e,r)},children:(e,r)=>{var o=y();b(2),l(e,o)},$$slots:{footer:!0,default:!0}}),u()}function N(t){_(a=>{h.title="Sign Up"}),D(t,{fullPage:!0})}export{N as component};
1
+ import"../chunks/DsnmJJEf.js";import{p as g,d as u,b as f,a as l,c as v,f as c,v as b,$ as h}from"../chunks/B3bf7yrh.js";import{h as _}from"../chunks/D5lcOOwR.js";import{p as n,i as x}from"../chunks/ct9jA5hl.js";import{F as P,r as $}from"../chunks/B6bJ2J9c.js";/* empty css */var q=f('<div class="footer svelte-16cw95q"><a href="/login">Login instead</a></div>'),y=f('<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 D(t,a){g(a,!0);let s=n(a,"dialog",15),m=n(a,"fullPage",3,!1);P(t,{submitText:"Register",get submit(){return $},get pageMode(){return m()},get dialog(){return s()},set dialog(e){s(e)},footer:e=>{var r=v(),o=c(r);{var d=i=>{var p=q();l(i,p)};x(o,i=>{m()&&i(d)})}l(e,r)},children:(e,r)=>{var o=y();b(2),l(e,o)},$$slots:{footer:!0,default:!0}}),u()}function N(t){_(a=>{h.title="Sign Up"}),D(t,{fullPage:!0})}export{N as component};
@@ -1 +1 @@
1
- {"version":"1753135286588"}
1
+ {"version":"1753291895966"}
Binary file
Binary file
@@ -100,3 +100,14 @@ button:hover {
100
100
  .disabled {
101
101
  cursor: not-allowed;
102
102
  }
103
+
104
+ :popover-open {
105
+ border: 1px solid #99a;
106
+ background-color: #111a;
107
+ border-radius: 0.5em;
108
+ padding: 0.5em;
109
+ inset: unset;
110
+ display: flex;
111
+ flex-direction: column;
112
+ gap: 0.5em;
113
+ }
Binary file
Binary file
@@ -1,9 +1,9 @@
1
1
  const index = 1;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./error.svelte-cLGudrL-.js')).default;
4
- const imports = ["_app/immutable/nodes/1.AYSQHMSU.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/CKy4x8h4.js","_app/immutable/chunks/XObnkuSP.js"];
3
+ const component = async () => component_cache ??= (await import('./error.svelte-Crm_85Km.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.CFY9RcSg.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/va0AyaMb.js","_app/immutable/chunks/D7jZ8tkO.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=1-C7eeWWIB.js.map
9
+ //# sourceMappingURL=1-CZScwOJx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1-C7eeWWIB.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.AYSQHMSU.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/CKy4x8h4.js\",\"_app/immutable/chunks/XObnkuSP.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
+ {"version":3,"file":"1-CZScwOJx.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.CFY9RcSg.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/va0AyaMb.js\",\"_app/immutable/chunks/D7jZ8tkO.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 = 3;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-B_EP3jbH.js')).default;
4
- const imports = ["_app/immutable/nodes/3.CSsn9Wqr.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/CYcs1YWd.js","_app/immutable/chunks/XObnkuSP.js","_app/immutable/chunks/CKy4x8h4.js","_app/immutable/chunks/ChvOu7Q4.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-BUYPMfbS.js')).default;
4
+ const imports = ["_app/immutable/nodes/3.DxWigyAu.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/B6bJ2J9c.js","_app/immutable/chunks/D7jZ8tkO.js","_app/immutable/chunks/va0AyaMb.js","_app/immutable/chunks/CB2OwAYZ.js"];
5
5
  const stylesheets = ["_app/immutable/assets/user.Cbakz6hh.css","_app/immutable/assets/3.C2J9FN5q.css","_app/immutable/assets/Login.C58W2qGZ.css"];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=3-JR1BkdWh.js.map
9
+ //# sourceMappingURL=3-DCNWYLpF.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"3-JR1BkdWh.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.CSsn9Wqr.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/CYcs1YWd.js\",\"_app/immutable/chunks/XObnkuSP.js\",\"_app/immutable/chunks/CKy4x8h4.js\",\"_app/immutable/chunks/ChvOu7Q4.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.Cbakz6hh.css\",\"_app/immutable/assets/3.C2J9FN5q.css\",\"_app/immutable/assets/Login.C58W2qGZ.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,yCAAyC,CAAC,sCAAsC,CAAC,0CAA0C;AAC3I,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"3-DCNWYLpF.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.DxWigyAu.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/B6bJ2J9c.js\",\"_app/immutable/chunks/D7jZ8tkO.js\",\"_app/immutable/chunks/va0AyaMb.js\",\"_app/immutable/chunks/CB2OwAYZ.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.Cbakz6hh.css\",\"_app/immutable/assets/3.C2J9FN5q.css\",\"_app/immutable/assets/Login.C58W2qGZ.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,yCAAyC,CAAC,sCAAsC,CAAC,0CAA0C;AAC3I,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 4;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-I9fcckyX.js')).default;
4
- const imports = ["_app/immutable/nodes/4.C_8QCdU7.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/CYcs1YWd.js","_app/immutable/chunks/XObnkuSP.js","_app/immutable/chunks/CKy4x8h4.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-D1Tk1-7i.js')).default;
4
+ const imports = ["_app/immutable/nodes/4.Ccim6yLz.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/B6bJ2J9c.js","_app/immutable/chunks/D7jZ8tkO.js","_app/immutable/chunks/va0AyaMb.js"];
5
5
  const stylesheets = ["_app/immutable/assets/user.Cbakz6hh.css","_app/immutable/assets/Login.C58W2qGZ.css"];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=4-h2-G_Biw.js.map
9
+ //# sourceMappingURL=4-C7PNZsEA.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"4-h2-G_Biw.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.C_8QCdU7.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/CYcs1YWd.js\",\"_app/immutable/chunks/XObnkuSP.js\",\"_app/immutable/chunks/CKy4x8h4.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.Cbakz6hh.css\",\"_app/immutable/assets/Login.C58W2qGZ.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;AAChV,MAAC,WAAW,GAAG,CAAC,yCAAyC,CAAC,0CAA0C;AACpG,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"4-C7PNZsEA.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.Ccim6yLz.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/B6bJ2J9c.js\",\"_app/immutable/chunks/D7jZ8tkO.js\",\"_app/immutable/chunks/va0AyaMb.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.Cbakz6hh.css\",\"_app/immutable/assets/Login.C58W2qGZ.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;AAChV,MAAC,WAAW,GAAG,CAAC,yCAAyC,CAAC,0CAA0C;AACpG,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 5;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-DJRLEvxc.js')).default;
4
- const imports = ["_app/immutable/nodes/5.Drw7hCv3.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/ChvOu7Q4.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/XObnkuSP.js","_app/immutable/chunks/CYcs1YWd.js","_app/immutable/chunks/CKy4x8h4.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-C5KWK5D-.js')).default;
4
+ const imports = ["_app/immutable/nodes/5.B8judf7B.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/CB2OwAYZ.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/D7jZ8tkO.js","_app/immutable/chunks/B6bJ2J9c.js","_app/immutable/chunks/va0AyaMb.js"];
5
5
  const stylesheets = ["_app/immutable/assets/user.Cbakz6hh.css"];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=5-D09v-0W6.js.map
9
+ //# sourceMappingURL=5-BBFz_rnA.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"5-D09v-0W6.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.Drw7hCv3.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/ChvOu7Q4.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/XObnkuSP.js\",\"_app/immutable/chunks/CYcs1YWd.js\",\"_app/immutable/chunks/CKy4x8h4.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.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,4BAAyC,CAAC,EAAE;AACvG,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,yCAAyC;AACzD,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"5-BBFz_rnA.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.B8judf7B.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/CB2OwAYZ.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/D7jZ8tkO.js\",\"_app/immutable/chunks/B6bJ2J9c.js\",\"_app/immutable/chunks/va0AyaMb.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.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,4BAAyC,CAAC,EAAE;AACvG,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,yCAAyC;AACzD,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 6;
2
2
  let component_cache;
3
- const component = async () => component_cache ??= (await import('./_page.svelte-BcjlHMhi.js')).default;
4
- const imports = ["_app/immutable/nodes/6.C6Hz75CP.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/CYcs1YWd.js","_app/immutable/chunks/XObnkuSP.js","_app/immutable/chunks/CKy4x8h4.js"];
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-CPmgKX2f.js')).default;
4
+ const imports = ["_app/immutable/nodes/6.CToMfX8V.js","_app/immutable/chunks/DsnmJJEf.js","_app/immutable/chunks/B3bf7yrh.js","_app/immutable/chunks/D5lcOOwR.js","_app/immutable/chunks/DCs3KlJy.js","_app/immutable/chunks/ct9jA5hl.js","_app/immutable/chunks/B6bJ2J9c.js","_app/immutable/chunks/D7jZ8tkO.js","_app/immutable/chunks/va0AyaMb.js"];
5
5
  const stylesheets = ["_app/immutable/assets/user.Cbakz6hh.css","_app/immutable/assets/Login.C58W2qGZ.css"];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=6-knNUojh8.js.map
9
+ //# sourceMappingURL=6-cMUWQBTN.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"6-knNUojh8.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.C6Hz75CP.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/CYcs1YWd.js\",\"_app/immutable/chunks/XObnkuSP.js\",\"_app/immutable/chunks/CKy4x8h4.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.Cbakz6hh.css\",\"_app/immutable/assets/Login.C58W2qGZ.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;AAChV,MAAC,WAAW,GAAG,CAAC,yCAAyC,CAAC,0CAA0C;AACpG,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"6-cMUWQBTN.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.CToMfX8V.js\",\"_app/immutable/chunks/DsnmJJEf.js\",\"_app/immutable/chunks/B3bf7yrh.js\",\"_app/immutable/chunks/D5lcOOwR.js\",\"_app/immutable/chunks/DCs3KlJy.js\",\"_app/immutable/chunks/ct9jA5hl.js\",\"_app/immutable/chunks/B6bJ2J9c.js\",\"_app/immutable/chunks/D7jZ8tkO.js\",\"_app/immutable/chunks/va0AyaMb.js\"];\nexport const stylesheets = [\"_app/immutable/assets/user.Cbakz6hh.css\",\"_app/immutable/assets/Login.C58W2qGZ.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;AAChV,MAAC,WAAW,GAAG,CAAC,yCAAyC,CAAC,0CAA0C;AACpG,MAAC,KAAK,GAAG;;;;"}
@@ -1,6 +1,6 @@
1
- import { T as push, a9 as copy_payload, aa as assign_payload, ai as bind_props, W as pop } from './exports-BObzsBSm.js';
2
- import { g as goto } from './client-D5FV-LOu.js';
3
- import { F as FormDialog, k as logoutCurrentSession } from './user-HWeBtNq4.js';
1
+ import { T as push, a9 as copy_payload, aa as assign_payload, aj as bind_props, W as pop } from './exports-DeY8o0ws.js';
2
+ import { g as goto } from './client-C5BesWYV.js';
3
+ import { F as FormDialog, k as logoutCurrentSession } from './user-C2RJxOZ2.js';
4
4
 
5
5
  function Logout($$payload, $$props) {
6
6
  push();
@@ -43,4 +43,4 @@ function Logout($$payload, $$props) {
43
43
  }
44
44
 
45
45
  export { Logout as L };
46
- //# sourceMappingURL=Logout-4Od8dYV1.js.map
46
+ //# sourceMappingURL=Logout-jfPnYBz7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logout-jfPnYBz7.js","sources":["../../../.svelte-kit/adapter-node/chunks/Logout.js"],"sourcesContent":["import { $ as copy_payload, a0 as assign_payload, a7 as bind_props, W as pop, T as push } from \"./index.js\";\nimport { g as goto } from \"./client.js\";\nimport { F as FormDialog, k as logoutCurrentSession } from \"./user.js\";\nfunction Logout($$payload, $$props) {\n push();\n let { dialog = void 0, fullPage = false } = $$props;\n let $$settled = true;\n let $$inner_payload;\n function $$render_inner($$payload2) {\n FormDialog($$payload2, {\n pageMode: fullPage,\n submitText: \"Log Out\",\n submit: () => logoutCurrentSession().then(() => goto()),\n get dialog() {\n return dialog;\n },\n set dialog($$value) {\n dialog = $$value;\n $$settled = false;\n },\n children: ($$payload3) => {\n $$payload3.out.push(`<p>Are you sure you want to log out?</p> `);\n if (fullPage) {\n $$payload3.out.push(\"<!--[-->\");\n $$payload3.out.push(`<button>Take me back</button>`);\n } else {\n $$payload3.out.push(\"<!--[!-->\");\n }\n $$payload3.out.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n }\n do {\n $$settled = true;\n $$inner_payload = copy_payload($$payload);\n $$render_inner($$inner_payload);\n } while (!$$settled);\n assign_payload($$payload, $$inner_payload);\n bind_props($$props, { dialog });\n pop();\n}\nexport {\n Logout as L\n};\n"],"names":[],"mappings":";;;;AAGA,SAAS,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE;AACpC,EAAE,IAAI,EAAE;AACR,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,QAAQ,GAAG,KAAK,EAAE,GAAG,OAAO;AACrD,EAAE,IAAI,SAAS,GAAG,IAAI;AACtB,EAAE,IAAI,eAAe;AACrB,EAAE,SAAS,cAAc,CAAC,UAAU,EAAE;AACtC,IAAI,UAAU,CAAC,UAAU,EAAE;AAC3B,MAAM,QAAQ,EAAE,QAAQ;AACxB,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,MAAM,EAAE,MAAM,oBAAoB,EAAE,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;AAC7D,MAAM,IAAI,MAAM,GAAG;AACnB,QAAQ,OAAO,MAAM;AACrB,MAAM,CAAC;AACP,MAAM,IAAI,MAAM,CAAC,OAAO,EAAE;AAC1B,QAAQ,MAAM,GAAG,OAAO;AACxB,QAAQ,SAAS,GAAG,KAAK;AACzB,MAAM,CAAC;AACP,MAAM,QAAQ,EAAE,CAAC,UAAU,KAAK;AAChC,QAAQ,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,yCAAyC,CAAC,CAAC;AACxE,QAAQ,IAAI,QAAQ,EAAE;AACtB,UAAU,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC;AACzC,UAAU,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,6BAA6B,CAAC,CAAC;AAC9D,QAAQ,CAAC,MAAM;AACf,UAAU,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;AAC1C,QAAQ;AACR,QAAQ,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;AACvC,MAAM,CAAC;AACP,MAAM,OAAO,EAAE,EAAE,OAAO,EAAE,IAAI;AAC9B,KAAK,CAAC;AACN,EAAE;AACF,EAAE,GAAG;AACL,IAAI,SAAS,GAAG,IAAI;AACpB,IAAI,eAAe,GAAG,YAAY,CAAC,SAAS,CAAC;AAC7C,IAAI,cAAc,CAAC,eAAe,CAAC;AACnC,EAAE,CAAC,QAAQ,CAAC,SAAS;AACrB,EAAE,cAAc,CAAC,SAAS,EAAE,eAAe,CAAC;AAC5C,EAAE,UAAU,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC;AACjC,EAAE,GAAG,EAAE;AACP;;;;"}
@@ -1,7 +1,7 @@
1
- import { T as push, a9 as copy_payload, aa as assign_payload, W as pop, ab as head, ac as await_block, ad as ensure_array_like, ae as attr, a7 as escape_html, af as stringify, ag as css_props, ah as attr_style } from './exports-BObzsBSm.js';
2
- import { g as goto } from './client-D5FV-LOu.js';
3
- import { g as getCurrentSession, a as getPasskeys, b as getSessions, e as emailVerificationEnabled, c as getUserImage, F as FormDialog, d as deleteUser, u as updatePasskey, f as deletePasskey, l as logout, h as logoutAll, i as updateUser } from './user-HWeBtNq4.js';
4
- import { L as Logout } from './Logout-4Od8dYV1.js';
1
+ import { T as push, a9 as copy_payload, aa as assign_payload, W as pop, ab as head, ac as await_block, ad as ensure_array_like, ae as attr, a7 as escape_html, af as stringify, ag as css_props, ah as attr_style, ai as spread_attributes } from './exports-DeY8o0ws.js';
2
+ import { g as goto } from './client-C5BesWYV.js';
3
+ import { g as getCurrentSession, a as getPasskeys, b as getSessions, e as emailVerificationEnabled, c as getUserImage, F as FormDialog, d as deleteUser, u as updatePasskey, f as deletePasskey, l as logout, h as logoutAll, i as updateUser } from './user-C2RJxOZ2.js';
4
+ import { L as Logout } from './Logout-jfPnYBz7.js';
5
5
  import '@sveltejs/kit/internal';
6
6
 
7
7
  var eventemitter3 = {exports: {}};
@@ -361,10 +361,22 @@ new TextDecoder();
361
361
 
362
362
  function Icon($$payload, $$props) {
363
363
  push();
364
- const { i } = $$props;
364
+ const { i, $$slots, $$events, ...rest } = $$props;
365
365
  const [style, id] = i.includes("/") ? i.split("/") : ["solid", i];
366
366
  const href = `/icons/${style}.svg#${id}`;
367
- $$payload.out.push(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" class="svelte-ylmrta"><use${attr("href", href)}></use></svg>`);
367
+ $$payload.out.push(`<svg${spread_attributes(
368
+ {
369
+ xmlns: "http://www.w3.org/2000/svg",
370
+ viewBox: "0 0 512 512",
371
+ width: "1em",
372
+ height: "1em",
373
+ ...rest
374
+ },
375
+ "svelte-ylmrta",
376
+ void 0,
377
+ void 0,
378
+ 3
379
+ )}><use${attr("href", href)}></use></svg>`);
368
380
  pop();
369
381
  }
370
382
  function ClipboardCopy($$payload, $$props) {
@@ -652,4 +664,4 @@ function _page($$payload, $$props) {
652
664
  }
653
665
 
654
666
  export { _page as default };
655
- //# sourceMappingURL=_page.svelte-B_EP3jbH.js.map
667
+ //# sourceMappingURL=_page.svelte-BUYPMfbS.js.map