@toa.io/extensions.exposition 1.0.0-alpha.331 → 1.0.0-alpha.333

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 (69) hide show
  1. package/components/exposition.octets/package.json +2 -2
  2. package/components/identity.federation/package.json +1 -1
  3. package/components/identity.tokens/manifest.toa.yaml +5 -0
  4. package/components/identity.tokens/operations/authenticate.js +10 -3
  5. package/components/identity.tokens/package.json +1 -1
  6. package/components/identity.tokens/source/authenticate.ts +11 -2
  7. package/components/identity.tokens/types/toa.d.ts +3 -1
  8. package/package.json +11 -10
  9. package/transpiled/HTTP/Context.d.ts +4 -0
  10. package/transpiled/HTTP/Context.js +4 -1
  11. package/transpiled/HTTP/Context.js.map +1 -1
  12. package/transpiled/HTTP/Server.d.ts +3 -1
  13. package/transpiled/HTTP/address.d.ts +5 -0
  14. package/transpiled/HTTP/address.js +11 -0
  15. package/transpiled/HTTP/address.js.map +1 -1
  16. package/transpiled/directives/auth/Authorization.js +3 -1
  17. package/transpiled/directives/auth/Authorization.js.map +1 -1
  18. package/transpiled/directives/auth/Refresh.d.ts +16 -0
  19. package/transpiled/directives/auth/Refresh.js +44 -0
  20. package/transpiled/directives/auth/Refresh.js.map +1 -0
  21. package/transpiled/directives/censor/Censor.d.ts +2 -2
  22. package/transpiled/directives/censor/Censor.js +4 -9
  23. package/transpiled/directives/censor/Censor.js.map +1 -1
  24. package/transpiled/directives/map/Client.d.ts +21 -0
  25. package/transpiled/directives/map/Client.js +33 -0
  26. package/transpiled/directives/map/Client.js.map +1 -0
  27. package/transpiled/directives/map/Headers.d.ts +2 -1
  28. package/transpiled/directives/map/Headers.js +2 -2
  29. package/transpiled/directives/map/Headers.js.map +1 -1
  30. package/transpiled/directives/map/Map.js +14 -4
  31. package/transpiled/directives/map/Map.js.map +1 -1
  32. package/transpiled/root.js +26 -0
  33. package/transpiled/root.js.map +1 -1
  34. package/ui/dist/_app/env.js +1 -1
  35. package/ui/dist/_app/immutable/chunks/-39mDws-.js +1 -0
  36. package/ui/dist/_app/immutable/chunks/1WXXcBlU.js +90 -0
  37. package/ui/dist/_app/immutable/chunks/BjwH--Q_.js +1 -0
  38. package/ui/dist/_app/immutable/chunks/Bt6Kyh95.js +2 -0
  39. package/ui/dist/_app/immutable/chunks/C3gnuDhG.js +3 -0
  40. package/ui/dist/_app/immutable/chunks/CRzLMJPS.js +1 -0
  41. package/ui/dist/_app/immutable/chunks/DYI4yOrv.js +6 -0
  42. package/ui/dist/_app/immutable/chunks/XKyaHtl9.js +1 -0
  43. package/ui/dist/_app/immutable/entry/app.C3gvpmYY.js +2 -0
  44. package/ui/dist/_app/immutable/entry/payload.DSmR2FwN.js +1 -0
  45. package/ui/dist/_app/immutable/entry/start.BzTqgs51.js +2 -0
  46. package/ui/dist/_app/immutable/nodes/0.BufbmJeT.js +1 -0
  47. package/ui/dist/_app/immutable/nodes/1.Dn_85faQ.js +1 -0
  48. package/ui/dist/_app/immutable/nodes/2.DCLYeX2U.js +8 -0
  49. package/ui/dist/_app/immutable/nodes/3.aoe4R-SX.js +1 -0
  50. package/ui/dist/_app/immutable/nodes/4.B0CiB3ml.js +1 -0
  51. package/ui/dist/_app/immutable/nodes/5.BUrdbysb.js +1 -0
  52. package/ui/dist/_app/immutable/nodes/6.yNbGQqYT.js +1 -0
  53. package/ui/dist/_app/version.json +1 -1
  54. package/ui/dist/index.html +17 -14
  55. package/ui/dist/_app/immutable/chunks/BDckNUhP.js +0 -1
  56. package/ui/dist/_app/immutable/chunks/BEB0f03Q.js +0 -90
  57. package/ui/dist/_app/immutable/chunks/BVDJTrf4.js +0 -3
  58. package/ui/dist/_app/immutable/chunks/DbLTrkva.js +0 -1
  59. package/ui/dist/_app/immutable/chunks/xZbjwf2l.js +0 -6
  60. package/ui/dist/_app/immutable/chunks/xihTtKlq.js +0 -1
  61. package/ui/dist/_app/immutable/entry/app.DobJ2Iee.js +0 -2
  62. package/ui/dist/_app/immutable/entry/start.5KZbLLPV.js +0 -1
  63. package/ui/dist/_app/immutable/nodes/0.BcmlOx1v.js +0 -1
  64. package/ui/dist/_app/immutable/nodes/1.BzMQT6JK.js +0 -1
  65. package/ui/dist/_app/immutable/nodes/2.CbX5khSR.js +0 -8
  66. package/ui/dist/_app/immutable/nodes/3.BKJAedfV.js +0 -1
  67. package/ui/dist/_app/immutable/nodes/4.C-NuO1rS.js +0 -1
  68. package/ui/dist/_app/immutable/nodes/5.C2tdHzXF.js +0 -1
  69. package/ui/dist/_app/immutable/nodes/6.BWMOa3IU.js +0 -1
@@ -0,0 +1 @@
1
+ export{i as load_css,r as start}from"./Bt6Kyh95.js";
@@ -0,0 +1,2 @@
1
+ import{payload as e}from"../entry/payload.DSmR2FwN.js";import{$ as t,B as n,Et as r,G as i,It as a,Nt as o,O as s,Ot as c,Pt as l,St as u,Ut as d,Wt as f,X as p,Y as m,Yt as h,Z as g,_t as _,at as v,bt as y,c as b,et as x,g as ee,i as S,kt as C,l as w,n as T,nt as te,o as ne,q as re,r as ie,s as ae,t as oe,tt as se,xt as ce,y as le,zt as ue}from"./C3gnuDhG.js";var de=class{constructor(e){this.status=e.status,this.body=e}toString(){return JSON.stringify(this.body)}},fe=class extends de{},pe=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},me=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};new URL(`a://`);function he(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function ge(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function _e({href:e}){return e.split(`#`)[0]}function ve(e,t,n,r=!1){let i=new URL(e);Object.defineProperty(i,"searchParams",{value:new Proxy(i.searchParams,{get(e,r){if(r===`get`||r===`getAll`||r===`has`)return(t,...i)=>(n(t),e[r](t,...i));t();let i=Reflect.get(e,r);return typeof i==`function`?i.bind(e):i}}),enumerable:!0,configurable:!0});let a=[`href`,`pathname`,`search`,`toString`,`toJSON`];r&&a.push(`hash`);for(let n of a)Object.defineProperty(i,n,{get(){return t(),e[n]},enumerable:!0,configurable:!0});return i}function ye(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}function be(e,t){let n=[];return e&&n.push([...new Headers(e)].join(`,`)),t&&n.push(t),ye(...n)}new TextEncoder,new TextDecoder;function xe(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var Se=2**32-1,Ce=Se-1,E=class extends Error{constructor(e,t,n,r){super(e),this.name=`DevalueError`,this.path=t.join(``),this.value=n,this.root=r}},we=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function Te(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===we}function Ee(e){return Object.prototype.toString.call(e).slice(8,-1)}function De(e){return typeof Buffer<`u`&&Buffer.isBuffer(e)}function Oe(e){switch(e){case`"`:return`\\"`;case`<`:return`\\u003C`;case`\\`:return`\\\\`;case`
2
+ `:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;case`\b`:return`\\b`;case`\f`:return`\\f`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return e<` `?`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`:``}}function D(e){let t=``,n=0,r=e.length;for(let i=0;i<r;i+=1){let r=e[i],a=Oe(r);a&&(t+=e.slice(n,i)+a,n=i+1)}return`"${n===0?e:t+e.slice(n)}"`}function ke(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}var Ae=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function je(e){return Ae.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function Me(e){return!(!Number.isInteger(e)||e<0||e>Ce)}function Ne(e){return!(!Number.isInteger(e)||e<0||e>Se)}function Pe(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n<48||n>57)return!1}return Me(+e)}function Fe(e){for(var t=e.length-1;t>=0&&!Pe(e[t]);t--);return t+1}function Ie(e){let t=Object.keys(e);return t.length=Fe(t),t}function Le(e){return new Uint8Array(e).toBase64()}function Re(e){return Uint8Array.fromBase64(e).buffer}function ze(e){return Buffer.from(e).toString(`base64`)}function Be(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function Ve(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e<t.length;e+=r){let i=t.subarray(e,e+r);n+=String.fromCharCode.apply(null,i)}return btoa(n)}function He(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}var Ue=typeof Uint8Array.fromBase64==`function`,We=typeof process==`object`&&process.versions?.node!==void 0,Ge=Ue?Le:We?ze:Ve,Ke=Ue?Re:We?Be:He;function qe(e,t){if(!t)return e;let n={};for(let r of Object.keys(e))n[r]=t[r]??e[r];return n}var Je=Object.freeze({kind:`not-plain`}),Ye=Object.freeze({kind:`symbol-keys`}),Xe=Object.freeze({identify:e=>e,typeOf:e=>e===null?`null`:typeof e,toPrimitive:e=>e,tagOf:e=>Ee(e),isThenable:e=>typeof e.then==`function`,toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?``:e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>(De(e)&&(e=new Uint8Array(e)),{buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>Ie(e),shapeOf:e=>Te(e)?ke(e).length>0?Ye:{kind:Object.getPrototypeOf(e)===null?`null-proto`:`plain`,keys:Object.keys(e)}:Je,get:(e,t)=>e[t]}),Ze=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,`byteLength`).get,Qe=typeof SharedArrayBuffer>`u`?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,`byteLength`).get,$e=Object.freeze({fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e===`URL`?new URL(t):e===`URLSearchParams`?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{try{Ze.call(t)}catch(e){if(!Qe)throw e;Qe.call(t)}let i=globalThis[e];return n===void 0?new i(t):new i(t,n,r)},box:e=>Object(e),createArray:e=>Array(e),createSparseArray:e=>{let t=[];return t[Ce]=void 0,delete t[Ce],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}});function et(e,t,n){return tt(JSON.parse(e),t,n)}function tt(e,t,n){let r=qe($e,n?.operations);if(typeof e==`number`)return s(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let i=e,a=Array(i.length),o=null;function s(e,n=!1){if(e===-1)return r.fromPrimitive(void 0);if(e===-3)return r.fromPrimitive(NaN);if(e===-4)return r.fromPrimitive(1/0);if(e===-5)return r.fromPrimitive(-1/0);if(e===-6)return r.fromPrimitive(-0);if(n||typeof e!=`number`)throw Error(`Invalid input`);if(e in a)return a[e];if(e>=i.length)throw Error(`Invalid input`);let c=i[e];if(!c||typeof c!=`object`)a[e]=r.fromPrimitive(c);else if(Array.isArray(c)){if(typeof c[0]==`string`){let n=c[0],l=t&&Object.hasOwn(t,n)?t[n]:void 0;if(l){let t=c[1];if(typeof t!=`number`&&(t=i.push(c[1])-1),Object.hasOwn(a,t))return a[e]=l(a[t]);if(o??=new Set,o.has(t))throw Error(`Invalid circular reference`);return o.add(t),a[e]=l(s(t)),o.delete(t),a[e]}switch(n){case`Date`:a[e]=r.fromISOString(c[1]);break;case`Set`:let t=r.createSet();a[e]=t;for(let e=1;e<c.length;e+=1)r.addValue(t,s(c[e]));break;case`Map`:let o=r.createMap();a[e]=o;for(let e=1;e<c.length;e+=2)r.addEntry(o,s(c[e]),s(c[e+1]));break;case`RegExp`:a[e]=r.fromRegExpInfo(c[1],c[2]);break;case`Object`:{let t=c[1];if(typeof i[t]==`object`&&i[t][0]!==`BigInt`)throw Error(`Invalid input`);a[e]=r.box(s(t));break}case`BigInt`:a[e]=r.fromPrimitive(BigInt(c[1]));break;case`null`:let l=r.createNullPrototypeObject();a[e]=l;for(let e=1;e<c.length;e+=2){let t=c[e];if(typeof t!=`string`)throw Error(`Cannot parse an object with a non-string key`);if(t===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(l,t,s(c[e+1]))}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:case`DataView`:{if(i[c[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=s(c[1]);a[e]=r.fromViewInfo(n,t,c[2],c[3]);break}case`ArrayBuffer`:{let t=c[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);a[e]=r.fromArrayBuffer(Ke(t));break}case`URL`:case`URLSearchParams`:case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:a[e]=r.fromStringValue(n,c[1]);break;default:throw Error(`Unknown type ${n}`)}}else if(c[0]===-7){let t=c[1];if(!Ne(t))throw Error(`Invalid input`);let n=r.createSparseArray(t);a[e]=n;for(let e=2;e<c.length;e+=2){let i=c[e];if(!Me(i)||i>=t)throw Error(`Invalid input`);r.set(n,i,s(c[e+1]))}}else{let t=r.createArray(c.length);a[e]=t;for(let e=0;e<c.length;e+=1){let n=c[e];n!==-2&&r.set(t,e,s(n))}}}else{let t=r.createObject();a[e]=t;for(let e of Object.keys(c)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(t,e,s(c[e]))}}return a[e]}return s(0)}function nt(e,t,n){let r=rt(!1,e,t,n);return typeof r==`string`?r:`[${r.join(`,`)}]`}function rt(e,t,n,r){let i=qe(Xe,r?.operations),a=[],o=new Map,s=[];if(n)for(let e of Object.getOwnPropertyNames(n))s.push({key:e,fn:n[e]});let c=[],l=0;function u(n,r){let d=i.typeOf(n);if(d===`undefined`)return-1;let f;if(d===`number`){if(f=i.toPrimitive(n),Number.isNaN(f))return-3;if(f===1/0)return-4;if(f===-1/0)return-5;if(f===0&&1/f<0)return-6}let p=i.identify(n);if(o.has(p))return o.get(p);r??=l++,o.set(p,r);for(let{key:e,fn:t}of s){let i=t(n);if(i)return a[r]=`["${e}",${u(i)}]`,r}if(d===`function`)throw new E(`Cannot stringify a function`,c,n,t);if(d===`symbol`)throw new E(`Cannot stringify a Symbol primitive`,c,n,t);let m=``;if(d!==`object`)m=it(d===`number`?f:i.toPrimitive(n));else if(i.isThenable(n)){if(!e)throw new E(`Cannot stringify a Promise or thenable — use stringifyAsync instead`,c,n,t);m=i.toPromise(n).then(e=>{let t=u(e,r);t<0&&(a[r]=t)}),m.catch(()=>{})}else{let e=i.tagOf(n);switch(e){case`Number`:case`String`:case`Boolean`:case`BigInt`:m=`["Object",${u(i.unbox(n))}]`;break;case`Date`:m=`["Date","${i.toISOString(n)}"]`;break;case`URL`:m=`["URL",${D(i.toStringValue(n))}]`;break;case`URLSearchParams`:m=`["URLSearchParams",${D(i.toStringValue(n))}]`;break;case`RegExp`:let{source:r,flags:a}=i.regExpInfo(n);m=a?`["RegExp",${D(r)},"${a}"]`:`["RegExp",${D(r)}]`;break;case`Array`:{let e=!1,t=i.lengthOf(n);m=`[`;for(let r=0;r<t;r+=1)if(r>0&&(m+=`,`),i.hasOwn(n,r))c.push(`[${r}]`),m+=u(i.get(n,r)),c.pop();else if(e)m+=-2;else{let r=i.indicesOf(n),a=r.length,o=String(t).length;if((t-a)*3>4+o+a*(o+1)){m=`[-7,`+t;for(let e=0;e<r.length;e++){let t=r[e];c.push(`[${t}]`),m+=`,`+t+`,`+u(i.get(n,t)),c.pop()}break}e=!0,m+=-2}m+=`]`;break}case`Set`:m=`["Set"`;for(let e of i.valuesOf(n))m+=`,${u(e)}`;m+=`]`;break;case`Map`:m=`["Map"`;for(let[e,t]of i.entriesOf(n)){let n=i.typeOf(e),r=n!==`object`&&n!==`function`&&n!==`symbol`;c.push(`.get(${r?it(i.toPrimitive(e)):`...`})`),m+=`,${u(e)},${u(t)}`,c.pop()}m+=`]`;break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{let t=i.viewInfo(n);m=`["`+e+`",`+u(t.buffer),t.byteLength!==t.bufferByteLength&&(m+=`,${t.byteOffset},${t.length}`),m+=`]`;break}case`DataView`:{let t=i.viewInfo(n);m=`["`+e+`",`+u(t.buffer),t.byteLength!==t.bufferByteLength&&(m+=`,${t.byteOffset},${t.byteLength}`),m+=`]`;break}case`ArrayBuffer`:m=`["ArrayBuffer","${Ge(i.toArrayBuffer(n))}"]`;break;case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:m=`["${e}",${D(i.toStringValue(n))}]`;break;default:{let e=i.shapeOf(n);if(e.kind===`not-plain`)throw new E(`Cannot stringify arbitrary non-POJOs`,c,n,t);if(e.kind===`symbol-keys`)throw new E(`Cannot stringify POJOs with symbolic keys`,c,n,t);if(e.kind===`null-proto`){m=`["null"`;for(let r of e.keys){if(r===`__proto__`)throw new E(`Cannot stringify objects with __proto__ keys`,c,n,t);c.push(je(r)),m+=`,${D(r)},${u(i.get(n,r))}`,c.pop()}m+=`]`}else{m=`{`;let r=!1;for(let a of e.keys){if(a===`__proto__`)throw new E(`Cannot stringify objects with __proto__ keys`,c,n,t);r&&(m+=`,`),r=!0,c.push(je(a)),m+=`${D(a)}:${u(i.get(n,a))}`,c.pop()}m+=`}`}}}}return a[r]=m,r}let d=u(t);return d<0?`${d}`:a}function it(e){let t=typeof e;return t===`string`?D(e):e===void 0?`-1`:e===0&&1/e<0?`-6`:t===`bigint`?`["BigInt","${e}"]`:String(e)}var at=()=>{throw Error(``)},O=()=>{throw Error(``)},ot={},st={};function ct(e){let t=Object.entries(e);t.length,ot=Object.fromEntries(t.map(([e,t])=>[e,t.encode])),st=Object.fromEntries(t.map(([e,t])=>[e,t.decode])),at=e=>nt(e,ot),O=e=>et(e,st)}function lt(e,t){return e.origin===t.origin?e.href.slice(t.origin.length):e.href}function ut(e,t){return e+`/`+t}var dt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&mt(e),dt(e,t));var k=new Map;function ft(e,t){let n=gt(e,t);if(n){let e=document.querySelector(n);if(e?.textContent){e.remove();let{body:t,...r}=JSON.parse(e.textContent);e.getAttribute(`data-b64`)!==null&&(t=xe(t));let i=e.getAttribute(`data-ttl`);return i&&k.set(n,{body:t,init:r,ttl:1e3*Number(i)}),Promise.resolve(new Response(t,r))}}return window.fetch(e,t)}function pt(e,t,n){if(k.size>0){let t=gt(e,n),r=t&&k.get(t);if(r){if(performance.now()<r.ttl&&[`default`,`force-cache`,`only-if-cached`,void 0].includes(n?.cache))return new Response(r.body,r.init);k.delete(t)}}return window.fetch(t,n)}function mt(e){let t=gt(ht(e));for(let e of k.keys())e.startsWith(t)&&k.delete(e)}function ht(e){return lt(new URL(e instanceof Request?e.url:e,location.href),location)}function gt(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=t.body;if(e&&typeof e!=`string`&&!ArrayBuffer.isView(e))return null;n+=`[data-hash="${be(t.headers,e)}"]`}return n}function _t({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=ae(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return ne(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function vt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function yt(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var bt=`sveltekit:snapshot`,xt=`sveltekit:navigation-snapshot`,St=`sveltekit:history-info`,A=`sveltekit:metadata`,j={tap:1,hover:2,viewport:3,eager:4,false:-1},Ct=location.origin;function wt(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function Tt(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var Et={...j,"":j.hover};function Dt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Ot(e,t){for(;e&&e!==t;){if((e instanceof HTMLAnchorElement||e instanceof SVGAElement)&&e.hasAttribute(`href`))return e;e=Dt(e)}}function kt(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||jt(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===Ct&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function At(e){let t=null,n=null,r=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)t===null&&(t=M(o,`preload-code`)),n===null&&(n=M(o,`preload-data`)),r===null&&(r=M(o,`reload`)),i===null&&(i=M(o,`replacestate`)),a===null&&(a=M(o,`reset`)),o=Dt(o);function s(e){switch(e){case``:case`true`:return!0;case`false`:return!1;default:return}}return{preload_code:Et[t??`false`],preload_data:Et[n??`false`],reload:s(r),replace_state:s(i),reset:s(a)??!0}}function jt(e,t,n){return e.origin!==Ct||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Mt(e,t){let n=t?e.hash.split(`#`,3)[2]??``:e.hash.slice(1);return n?document.getElementById(decodeURIComponent(n)):null}function Nt(e){}function Pt(e){let t=document.activeElement;e&&(t instanceof HTMLElement||t instanceof SVGElement)&&t!==document.body&&t.blur()}function Ft(e){let t=e.getAttribute(`tabindex`);e.setAttribute(`tabindex`,`-1`),e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}function It(e){let t=window.parent===window||document.hasFocus(),n=document.querySelector(`[autofocus]`);if(n)t&&n.focus();else{t&&Ft(Mt(e,!1)??document.body);let n=getSelection();if(n&&n.type!==`None`){let e=[];for(let t=0;t<n.rangeCount;t+=1)e.push(n.getRangeAt(t));setTimeout(()=>{if(n.rangeCount===e.length){for(let t=0;t<n.rangeCount;t+=1){let r=e[t],i=n.getRangeAt(t);if(r.commonAncestorContainer!==i.commonAncestorContainer||r.startContainer!==i.startContainer||r.endContainer!==i.endContainer||r.startOffset!==i.startOffset||r.endOffset!==i.endOffset)return}n.removeAllRanges()}})}}}var Lt=!0;function Rt(e,t,n){if(t&&Lt){if(n)scrollTo(n.x,n.y);else{let t=Mt(e,!1);t?t.scrollIntoView():scrollTo(0,0)}}Lt=!0}function zt(e){throw Error(`https://svelte.dev/e/kit/navigation_external_url`)}function Bt(e){throw Error(`https://svelte.dev/e/kit/navigation_route_missing`)}function Vt(e){throw Error(`https://svelte.dev/e/kit/redirect_loop`)}var Ht=vt(`sveltekit:navigation-snapshot`)??{},Ut=new Set;function Wt(){return new Set(Ut)}function Gt(e){Ut.size===0?delete Ht[e]:Ht[e]=Object.fromEntries(Array.from(Ut,({id:e,capture:t})=>[e,at(t())]))}function Kt(e,t){let n=Ht[e];for(let e of Ut)n&&Object.hasOwn(n,e.id)?e.restore(O(n[e.id])):t?.has(e)&&e.reset?.()}function qt(e){delete Ht[e]}function Jt(e){Gt(e),yt(xt,Ht)}var Yt=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);[...Yt],[...new Set([...Yt])];function N(){}var Xt={spanContext(){return Zt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Zt={traceId:``,spanId:``,traceFlags:0},Qt=te(`<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>`),$t=te(`<!> <!>`,1);function en(e,u){f(u,!0);let p=(e,r=h,a=h)=>{let o=(e,t=h)=>{var r=se(),i=l(r);n(i,()=>y(d),(e,n)=>{n(e,{get error(){return t()}})}),x(e,r)},c=C(()=>r().component),d=C(()=>r().error),f=C(()=>r().data);var g=se(),_=l(g);t(_,{get failed(){return y(d)?o:void 0},get onerror(){return y(d)?u.onerror:void 0}},e=>{var t=se(),o=l(t),d=e=>{var t=se(),i=l(t);n(i,()=>y(c),(e,t)=>{s(t(e,{get data(){return y(f)},get form(){return u.form},get params(){return u.page.params},children:(e,t)=>{p(e,()=>r().child,()=>a()+1)},$$slots:{default:!0}}),e=>m()[a()]=e,()=>m()?.[a()])}),x(e,t)},h=e=>{var t=se(),r=l(t);n(r,()=>y(c),(e,t)=>{s(t(e,{get data(){return y(f)},get form(){return u.form},get params(){return u.page.params},get error(){return u.error}}),e=>m()[a()]=e,()=>m()?.[a()])}),x(e,t)};i(o,e=>{r().child?e(d):e(h,-1)}),x(e,t)}),x(e,g)},m=le(u,`components`,7),b=c(!1),ee=c(!1),S=c(``);cr(()=>{y(b)?(r(ee,!0),r(S,document.title||`untitled page`,!0)):r(b,!0)});var w=$t(),T=l(w);p(T,()=>u.tree,()=>0);var te=a(T,2),ne=e=>{var t=Qt(),n=o(t),r=e=>{var t=v();_(()=>g(t,y(S))),x(e,t)};i(n,e=>{y(ee)&&e(r)}),ue(t),x(e,t)};i(te,e=>{y(b)&&e(ne)}),x(e,w),d()}var tn=class{#e;get form(){return y(this.#e)}set form(e){r(this.#e,e)}#t;get error(){return y(this.#t)}set error(e){r(this.#t,e)}page;components=[];tree;onerror;constructor({page:e,tree:t,form:n,error:r,onerror:i=N}){this.page=e,this.tree=t,this.onerror=i,this.#e=c(n),this.#t=c(r)}},nn=class{component;error;#e=c({});get data(){return y(this.#e)}set data(e){r(this.#e,e)}#t=c();get child(){return y(this.#t)}set child(e){r(this.#t,e)}constructor(e,t){this.component=e,this.error=t}};function rn(e,t,n){let r=[void 0],i=-1;for(let a=1;a<e.length;a+=1){if(!e[a])continue;let o=a-1;for(;o>i+1&&t[o]==null;)--o;i=o;let s=t[o];r.push(s==null?void 0:n(s)?.catch(()=>void 0))}return Promise.all(r)}function*an(e,t,n){for(;e--;){let r=n[e];if(r!=null){let n=e;for(;!t[n];)--n;yield{error:r,idx:n+1}}}}var on=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),sn=new Set,P=vt(`sveltekit:history-info`)??{},cn=vt(`sveltekit:snapshot`)??{},F;function I(e){P[e].scroll=Tt()}function ln(e,t){P[e]={...P[e],resetIndex:t.resetIndex}}function un(e,t){qt(e);let n=e+1;for(;P[n];)delete P[n],qt(n),n+=1;for(n=t+1;cn[n];)delete cn[n],n+=1}function L(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(N)}async function dn(){try{if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(b||`/`);e&&await e.update()}}catch{}}var fn,pn,mn,R,hn,z,gn={},_n={},vn=[],B=null;function yn(){B?.fork?.then(e=>e?.discard()),B=null,Q={element:void 0,href:void 0}}var bn=new Map,xn=new Set,Sn=new Set,V=new Set,H={branch:[],error:null,url:null,nav:null},Cn=!1,wn=!1,U=!1,W=null,Tn=!1,En=!1,G,K,q;function Dn(e=history.state){return e?.[A]}var J,Y,On=new Set,kn=new Map,An=new Map;w(async e=>{typeof e==`string`&&(e=new URL(e,location.href));let t=await X(e,!1);return t?{id:t.route.id,params:t.params}:null}),Promise.resolve();function jn(e,t,n){return Nn(e,t,n)}function*Mn(e){for(let[t,n]of e)for(let[e,r]of n)yield[ut(t,e),r]}async function Nn(t,n,r){if(e.data){let{q:t={},p:n={},l:r={},f:i={}}=e.data;for(let e in t)gn[e]=t[e];for(let e in r)gn[e]=r[e];for(let e in i)gn[e]=i[e];for(let e in n)_n[e]=n[e]}document.URL!==location.href&&(location.href=location.href),z=t,ct(z.hooks.transport??{}),await t.hooks.init?.(),fn=_t(t),R=document.documentElement,hn=n,pn=t.nodes[0],mn=t.nodes[1];let[i]=await Promise.all([pn(),mn()]),a=new nn(i.component,void 0);F=new tn({page:oe,tree:a,form:void 0,error:void 0,onerror:(e,t)=>sn.add(t)});let o=Dn();G=o?.historyIndex??0,K=o?.navigationIndex??0,q=o?.resetIndex??0,G||(G=K=q=Date.now(),history.replaceState({...history.state,[A]:{historyIndex:G,navigationIndex:K,state:at({}),persistState:!1,resetIndex:G}},``)),ln(G,Dn());let s=P[G]?.scroll;function c(){s&&(history.scrollRestoration=`manual`,scrollTo(s.x,s.y))}r?(c(),await hr(hn,r)):(await Z({type:`enter`,url:wt(z.hash?vr(new URL(location.href)):location.href),replace_state:!0,state:o?.persistState?O(o.state):{},persist_state:o?.persistState??!1}),c()),mr()}function Pn(){vn.length=0,En=!1}function Fn(e){F.components.some(e=>e?.snapshot)&&(cn[e]=F.components.map(e=>e?.snapshot?.capture()))}function In(e){cn[e]?.forEach((e,t)=>{F.components[t]?.snapshot?.restore(e)})}function Ln(){I(G),yt(St,P),Fn(K),yt(bt,cn),Jt(G)}async function Rn(e,t={},n=0,r={},i){let a,o;t.refreshAll&&yn(),await Z({type:t.type??`goto`,url:wt(e),reset:t.reset,replace_state:t.replace,state:t.state,persist_state:t.persistState,event:t.event,action_result:t.action_result,redirect_count:n,nav_token:r,intent:i,accept:()=>{if(t.refreshAll){En=!0,a=new Set;for(let[e,t]of Mn(kn))t.resource?.reset(),a.add(e);o=new Set;for(let[e]of Mn(An))o.add(e)}t.invalidate&&t.invalidate.forEach(fr)}}),t.refreshAll&&u().then(u).then(()=>{for(let[e,{resource:t}]of Mn(kn))a?.has(e)&&t.start();for(let[e,{resource:t}]of Mn(An))o?.has(e)&&t.reconnect()})}async function zn(e){if(e.id!==B?.id){yn();let t={};On.add(t),B={id:e.id,token:t,promise:Yn({...e,preload:t}).finally(()=>{On.delete(t)}),fork:null},B.promise.catch(yn)}return B.promise}async function Bn(e){await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(([,e])=>e()))}async function Vn(e){let t=(await X(e,!1))?.route;t&&await Bn(t)}async function Hn(e,t,n){let r={params:H.params,route:{id:H.route?.id??null},url:new URL(location.href)};if(H={...e.state,nav:r},yr(e),(n?m:p)(en,{target:t,props:F,transformError:async e=>{let t=await $(e,H.nav);return ie({error:t,status:t.status}),t}}),await Promise.resolve(),n){let e={from:null,to:{...r,scroll:P[G]?.scroll??Tt()},willUnload:!1,type:`enter`,shallow:!1,complete:Promise.resolve()};V.forEach(t=>t(e))}In(K),Kt(G),wn=!0}async function Un({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(b&&(e.pathname===b||e.pathname===b+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=he(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{page:{...oe},tree:{}}};a&&(l.props.error=a),s!==void 0&&(l.props.form=s);let u={},d=!oe,f=r&&await rn(n,r,e=>e().then(e=>e.component)),p=l.props.tree,m=1,h=F.tree;for(let e=0;e<n.length;e+=1){let t=n[e],r=H.branch[e];if(t&&(d||!h||t?.data!==r?.data?(p.data={...u,...t.data},d=!0):p.data=h.data,u=p.data,e<n.length-1)){let t=e+1;for(;t<n.length&&!n[t];)t+=1;let r=n[t];r&&(p=p.child=new nn(r.node.component,f?.[m++]),h=h?.child)}}return(!H.url||e.href!==H.url.href||H.error!==a||s!==void 0&&s!==oe.form||d)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},shallow:null,status:i??a?.status??200,url:new URL(e),form:s??null,data:u}),l}async function Wn({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o=null,s=!0,c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){function e(...e){for(let t of e){let{href:e}=new URL(t,n);c.dependencies.add(e)}}let u={tracing:{enabled:!1,root:Xt,current:Xt},route:new Proxy(i,{get:(e,t)=>(s&&(c.route=!0),e[t])}),params:new Proxy(r,{get:(e,t)=>(s&&c.params.add(t),e[t])}),data:a?.data??null,url:ve(n,()=>{s&&(c.url=!0)},e=>{s&&c.search_params.add(e)},z.hash),async fetch(t,r){t instanceof Request&&(r={body:t.method===`GET`||t.method===`HEAD`?void 0:await t.blob(),cache:t.cache,credentials:t.credentials,headers:[...t.headers].length>0?t?.headers:void 0,integrity:t.integrity,keepalive:t.keepalive,method:t.method,mode:t.mode,redirect:t.redirect,referrer:t.referrer,referrerPolicy:t.referrerPolicy,signal:t.signal,...r});let{resolved:i,promise:a}=Gn(t,r,n);return s&&e(i.href),a},setHeaders:N,depends:e,parent(){return s&&(c.parent=!0),t()},untrack(e){s=!1;try{return e()}finally{s=!0}}};o=await l.universal.load.call(null,u)??null}return{node:l,loader:e,server:a,universal:l.universal?.load?{type:`data`,data:o,uses:c}:null,data:o??a?.data??null,slash:l.universal?.trailingSlash??a?.slash}}function Gn(e,t,n){let r=new URL(e instanceof Request?e.url:e,n),i=lt(r,n);return{resolved:r,promise:wn?pt(i,r.href,t):ft(i,t)}}function Kn(e,t,n,r,i,a){if(En)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==H.params[e])return!0;for(let e of i.dependencies)if(vn.some(t=>t(new URL(e))))return!0;return!1}function qn(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function Jn(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r).sort(),a=t.searchParams.getAll(r).sort();i.length===a.length&&i.every((e,t)=>e===a[t])&&n.delete(r)}return n}async function Yn({id:e,invalidating:t,url:n,params:r,route:i,preload:a,action_result:o}){if(!o&&B?.id===e)return On.delete(B.token),B.promise;let{errors:s,layouts:c,leaf:l}=i,u=[...c,l],d=u.length-1,f=o?.type===`error`;s.forEach(e=>e?.().catch(N)),u.forEach(e=>e?.[1]().catch(N));let p=H.url?e!==tr(H.url):!1,m=!H.route||i.id!==H.route.id,h=Jn(H.url,n),g=!1,_=u.map(async(e,t)=>{if(!e||f&&t===d)return;let a=H.branch[t];return e[1]===a?.loader&&!Kn(g,m,p,h,a.universal?.uses,r)?a:(g=!0,Wn({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await _[n])?.data);return e},server_data_node:qn(e[0]?{type:`skip`}:null,e[0]?a?.server:void 0)}))});for(let e of _)e.catch(N);let v=[];for(let e=0;e<u.length;e+=1)if(u[e])try{v.push(await _[e])}catch(t){if(t instanceof pe)return{type:`redirect`,status:t.status,location:t.location};if(a&&On.has(a))throw await $(t,{params:r,url:n,route:{id:i.id}});let o;if(t instanceof de)o=await $(t,{params:r,url:n,route:{id:i.id}});else{if(await S.check())return await dn(),await L(n);o=await $(t,{params:r,url:n,route:{id:i.id}})}return Zn({i:e,branch:v,errors:s,error:o,url:n,params:r,route:i})}else v.push(void 0);return o?.type===`error`?Zn({i:u.length,branch:v,errors:s,error:o.error,status:o.status,url:n,params:r,route:i}):Un({url:n,params:r,branch:v,errors:s,error:null,route:i,status:o?.status,form:o?.type===`success`||o?.type===`failure`?o.data??null:t?void 0:null})}async function Xn(e,t,n){for(let{error:r,idx:i}of an(e,t,n))try{return t.slice(0,i).concat({node:await r(),loader:r,data:{},server:null,universal:null})}catch{continue}}async function Zn({i:e,branch:t,errors:n,error:r,status:i,url:a,params:o,route:s}){let c=await Xn(e,t,n);return c?Un({url:a,params:o,branch:c,errors:n,error:r,status:i,route:s}):ar(a,{id:s.id},r)}async function Qn({error:e,url:t,route:n}){let r={};try{return Un({url:t,params:r,branch:[await Wn({loader:pn,url:t,params:r,route:n,parent:()=>Promise.resolve({}),server_data_node:qn(null)}),{node:await mn(),loader:mn,universal:null,server:null,data:null}],error:e,errors:[],route:null})}catch(e){if(e instanceof pe){await Rn(new URL(e.location,location.href));return}let i=await z.get_error_template(),a=await $(e,{url:t,params:r,route:n}),o=String(a?.message??``).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`),s=i({status:a.status,message:o}),c=new DOMParser().parseFromString(s,`text/html`);throw document.documentElement.replaceChild(document.adoptNode(c.head),document.head),document.documentElement.replaceChild(document.adoptNode(c.body),document.body),e}}async function $n(e){let t=e.href;if(bn.has(t))return bn.get(t);let n;try{let r=(async()=>{let t=await z.hooks.reroute({url:new URL(e),fetch:async(t,n)=>Gn(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);z.hash?n.hash=t:n.pathname=t,t=n}return t})();bn.set(t,r),n=await r}catch{bn.delete(t);return}return n}async function X(e,t){if(e&&!jt(e,b,z.hash)){let n=await $n(e);if(!n)return;let r=er(n);for(let n of fn){let i=n.exec(r);if(i)return{id:tr(e),invalidating:t,route:n,params:i,url:e}}}}function er(e){return ge(z.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(b.length))||`/`}function tr(e){return(z.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function nr({url:e,type:t,intent:n,delta:r,event:i,scroll:a,shallow:o=!1,target:s}){let c=!1,l=_r(H,n,e,t,a??null,o,s);l.navigation.type===`popstate`&&r!==void 0&&(l.navigation.delta=r),i!==void 0&&(l.navigation.event=i);let u={...l.navigation,cancel:()=>{c=!0,l.reject(Error(`navigation cancelled`))}};return U||xn.forEach(e=>e(u)),c?null:l}async function Z({type:e,url:t,popped:n,reset:r=!0,replace_state:i,state:a={},persist_state:o=!1,redirect_count:s=0,nav_token:c={},accept:l=N,block:u=N,event:d,intent:f,action_result:p}){let m=J,h=Y;J=Y=c,f??=await X(t,!1);let g=e===`enter`?_r(H,f,t,e):nr({url:t,type:e,delta:n?.delta,intent:f,scroll:n?.scroll,shallow:!!n?.shallow,target:n?.shallow??void 0,event:d});if(!g){u(),J===c&&(J=m),Y===c&&(Y=h);return}let _=G,v=K,y=Wt();l(),U=!0,wn&&g.navigation.type!==`enter`&&T(g.navigation);let x=f&&await Yn({...f,action_result:p});if(!x){let e=jt(t,b,z.hash),n=e&&!1;if(e&&!n)return await L(t,i);x=await ar(t,{id:null},await $(new me(404,`Not Found`,`Not found: ${t.pathname}${n?` (did you forget the hash?)`:``}`),{url:t,params:{},route:{id:null}}),i)}if(t=f?.url||t,J!==c){g.reject(Error(`navigation aborted`));return}if(!x)return;if(x.type===`redirect`){if(s<20){B?.id===f?.id&&yn(),await Z({type:e,url:new URL(x.location,t),popped:n,reset:r,replace_state:i,state:a,persist_state:o,redirect_count:s+1,nav_token:c}),g.fulfil(void 0);return}if(x=await Qn({error:await $(ee(()=>Vt({url:t.href})),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!x)return}else if(x.props.page.status>=400&&await S.check())return await dn(),await L(t,i);if(Pn(),n||(I(_),Fn(v),i?qt(_):Gt(_)),x.props.page.url.pathname!==t.pathname&&(t.pathname=x.props.page.url.pathname),n)a=n.state;else{let n=at(a);a=O(n);let s=+!i;e!==`enter`&&r&&(q+=1);let c={[A]:{historyIndex:G+=s,navigationIndex:K+=s,state:n,persistState:o,resetIndex:q}};(i?history.replaceState:history.pushState).call(history,c,``,t),ln(G,c[A]),i||un(G,K)}let C=f&&B?.id===f.id?B.fork:null;B?.fork&&!C?yn():(B=null,Q={element:void 0,href:void 0}),x.props.page.state=a,x.props.page.shallow=n?.shallow??null;let w;if(wn){await rr(g.navigation);let e=n?.shallow?{params:x.state.params,route:{id:x.state.route?.id??null},url:x.state.url}:g.navigation.to;H={...x.state,nav:{params:e.params,route:e.route,url:e.url}},x.props.page&&(x.props.page.url=t),Pt(r);let i=C&&await C;if(i){w=i.commit();for(let e of sn)e();sn.clear()}else yr(x),w=ce().then(()=>{for(let e of sn)e();sn.clear()});Tn=!0}else await Hn(x,hn,!1);await ir(g,c,t,n?.scroll,r,w)&&(e===`popstate`&&In(K),Kt(G,y),T(null))}async function rr(e){let t=(await Promise.all(Array.from(Sn,t=>t(e)))).filter(e=>typeof e==`function`);if(t.length>0){function e(){t.forEach(e=>V.delete(e))}t.push(e),t.forEach(e=>V.add(e))}}async function ir(e,t,n,r,i,a){return await a,J===t?(Rt(n,i,r),i&&document.activeElement===document.body&&It(n),U=!1,e.fulfil(void 0),e.navigation.to&&(e.navigation.to.scroll=Tt()),V.forEach(t=>t(e.navigation)),!0):(e.reject(Error(`navigation aborted`)),!1)}async function ar(e,t,n,r){return e.origin===Ct&&e.pathname===location.pathname&&!Cn?await Qn({error:n,url:e,route:t}):await L(e,r)}var Q={element:void 0,href:void 0};function or(){let e,t,n;function r(){clearTimeout(e),t?.removeEventListener(`mousemove`,i),t?.removeEventListener(`mouseleave`,r),t=void 0}function i(){clearTimeout(e),e=setTimeout(()=>{t&&s(t,j.hover)},20)}R.addEventListener(`mouseover`,e=>{if(!(e.target instanceof Element))return;let n=Ot(e.target,R);if(!n||n===t)return;r(),t=n;let a=At(n);a.preload_code<j.hover&&a.preload_data<j.hover||(n.addEventListener(`mousemove`,i),n.addEventListener(`mouseleave`,r,{once:!0}),i())});function a(e){if(e.defaultPrevented)return;let t=Ot(e.composedPath()[0],R);t&&s(t,j.tap)}R.addEventListener(`mousedown`,a),R.addEventListener(`touchstart`,a,{passive:!0});let o=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(Vn(new URL(t.target.href)),o.unobserve(t.target))},{threshold:0});async function s(e,t){let r=e===Q.element&&e?.href===Q.href&&t>=n;if(!e||r)return;let{url:i,external:a,download:o}=kt(e,b,z.hash);if(a||o)return;let s=At(e),c=i&&tr(H.url)===tr(i);if(!(s.reload||c)){if(t<=s.preload_data){Q={element:e,href:e.href},n=j.tap;let t=await X(i,!1);if(!t)return;zn(t).catch(N)}else t<=s.preload_code&&(Q={element:e,href:e.href},n=t,Vn(i))}}function c(){o.disconnect();for(let e of R.querySelectorAll(`a`)){let{url:t,external:n,download:r}=kt(e,b,z.hash);if(n||r)continue;let i=At(e);i.reload||(i.preload_code===j.viewport&&o.observe(e),i.preload_code===j.eager&&Vn(t))}}V.add(c),c()}async function $(e,t){if(e instanceof fe)return e.body;let n;n=e instanceof de?{kind:`app`,error:e.body}:e instanceof me?{kind:`framework`,error:{status:e.status,message:e.text}}:{kind:`unknown`,error:e};let r=n.kind===`unknown`?{status:500,message:`Internal Error`}:n.error,i={...n,event:t},a=await z.hooks.handleError(i);return{...r,...a}}function sr(e,t){re(()=>(e.add(t),()=>{e.delete(t)}))}function cr(e){sr(V,e)}function lr(e){sr(Sn,e)}async function ur(e,t){let n=new URL(wt(e));n.origin!==Ct&&zt({caller:t,url:String(e)});let r=await X(n,!1);return r||Bt({caller:t,url:String(e)}),r}async function dr(e,t={}){let n=t.replace??t.replaceState??!1,r=await ur(e,`goto`);return t.shallow?pr(r,t.state??{},{replace:n,persist_state:t.persistState??!1,reset:t.reset??!1},`goto`):Rn(r.url,{...t,replace:n,refreshAll:t.refreshAll??t.invalidateAll},0,{},r)}function fr(e){if(typeof e==`function`)vn.push(e);else{let{href:t}=new URL(e,location.href);vn.push(e=>e.href===t)}}async function pr(e,t,{replace:n,persist_state:r,reset:i},a){let o=e.url,s=Wt(),c=a===`goto`?nr({url:o,type:`goto`,intent:e,shallow:!0}):void 0;if(!c&&a===`goto`)return;let l={};c&&(J=Y=l,U=!0,T(c.navigation)),n?qt(G):(I(G),Gt(G)),i&&(q+=1);let u=at(t);t=O(u);let d={[A]:{historyIndex:G+=+!n,navigationIndex:K,pageUrl:oe.url.href,state:u,persistState:r,resetIndex:q}};(n?history.replaceState:history.pushState).call(history,d,``,o),ln(G,d[A]),n||(Tn=!0,un(G,K)),c&&await rr(c.navigation),Pt(i),ie({state:t,shallow:{params:e?.params??null,route:e?{id:e.route.id}:null,url:o}}),(!c||await ir(c,l,o,null,i,ce()))&&(Kt(G,s),c&&T(null))}function mr(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(Ln(),!U){let e=_r(H,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};xn.forEach(e=>e(n))}t&&(e.preventDefault(),e.returnValue=``)}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`?Ln():S.check()}),addEventListener(`focus`,()=>{S.check()}),navigator.connection?.saveData||or(),R.addEventListener(`click`,async t=>{if(t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=Ot(t.composedPath()[0],R);if(!n)return;let{url:r,external:i,target:a,download:o}=kt(n,b,z.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=At(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&r.protocol!==`https:`&&r.protocol!==`http:`||o)return;let[c,l]=(z.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===_e(location);if(i||s.reload&&(!u||!l)){nr({url:r,type:`link`,event:t})?U=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=H.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(W={...Dn(),resetIndex:q+ +!!s.reset},I(G),e(r),!s.replace_state)return;W=null}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)});let d=r.href!==location.href;await Rn(r,{type:`link`,reset:s.reset,replace:s.replace_state??!d,refreshAll:!d,event:t})}),R.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(jt(r,b,!1))return;let i=e.target,a=At(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),Z({type:`form`,url:r,reset:a.reset,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{let n=Dn(t.state);if(n?.historyIndex){let r=n.historyIndex,i=P[G];if(r===G)return;J=Y={};let a=r-G,o=n.resetIndex,s=o!==(i?.resetIndex??q),c=P[r]?.scroll,l=O(n.state),u=new URL(n.pageUrl??location.href),d=n.navigationIndex,f=H.url&&(location.href+H.url.href).includes(`#`)?_e(location)===_e(H.url):!1,p=d===K&&(Tn&&(n.pageUrl===void 0||n.pageUrl===location.href)||f),m=n.pageUrl?new URL(location.href):null,h=G,g=K,_=q;I(h),p||Fn(g),Gt(h),G=r,K=d,q=o;let v=J,y=m?await X(m,!1):void 0;if(J!==v)return;let b=m?{params:y?.params??null,route:y?{id:y.route.id}:null,url:m}:null;if(p){Pt(s),ie({state:l,shallow:b}),e(u),s&&c&&scrollTo(c.x,c.y),Kt(G,Wt()),U=!1,T(null);return}await Z({type:`popstate`,url:u,reset:s,popped:{state:l,scroll:c,delta:a,shallow:b},block:()=>{G=h,K=g,q=_,history.go(-a)},nav_token:v,event:t})}else W||(e(new URL(location.href)),z.hash&&location.reload())}),addEventListener(`hashchange`,()=>{if(W){let e=W;W=null,q=e.resetIndex,history.replaceState({...history.state,[A]:{...e,historyIndex:++G,navigationIndex:K}},``,location.href),ln(G,e)}});for(let e of document.querySelectorAll(`link`))on.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{if(e.persisted){T(null);let e=P[G]?.scroll;e&&scrollTo(e.x,e.y)}});function e(e){H.url=e,ie({url:e})}}async function hr(e,{status:t,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){Cn=!0;let l=new URL(location.href),u;({params:i={},route:a={id:null}}=await X(l,!1)||{}),u=fn.find(({id:e})=>e===a.id);let d,f=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=gr(r.uses)),Wn({loader:z.nodes[t],url:l,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:qn(r)})}),o=await Promise.all(e);if(u){let e=u.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}d=await Un({url:l,params:i,branch:o,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(t){if(t instanceof pe)return await L(new URL(t.location,location.href));d=await Qn({error:await $(t,{url:l,params:i,route:a}),url:l,route:a}),e.textContent=``,f=!1}if(d){if(d.props.page){let e=Dn();d.props.page.state=e?.persistState?O(e.state):{}}await Hn(d,e,f)}}function gr(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??[])}}function _r(e,t,n,r,i=null,a=!1,o){let s,c,l=new Promise((e,t)=>{s=e,c=t});return l.catch(N),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:Tt()},to:n&&{params:o?o.params:t?.params??null,route:{id:o?o.route?.id??null:t?.route?.id??null},url:o?.url??n,scroll:i},willUnload:!a&&!t,type:r,shallow:a,complete:l},fulfil:s,reject:c}}function vr(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function yr(e){ie(e.props.page),F.tree.data=e.props.tree.data,F.tree.child=e.props.tree.child,`form`in e.props&&(F.form=e.props.form),`error`in e.props&&(F.error=e.props.error)}export{Nt as i,lr as n,jn as r,dr as t};
@@ -0,0 +1,3 @@
1
+ import{payload as e}from"../entry/payload.DSmR2FwN.js";var t=e.version,n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;function p(e){return typeof e==`function`}var m=()=>{};function h(e){return e()}function g(e){for(var t=0;t<e.length;t++)e[t]()}function _(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function v(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}var y=1<<24,b=1024,x=2048,S=4096,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,ae=1<<18,oe=1<<19,se=1<<20,ce=1<<25,le=1<<21,ue=1<<22,de=1<<23,fe=Symbol(`$state`),pe=Symbol(`component`),me=Symbol(`legacy props`),he=Symbol(``),ge=Symbol(`proxy path`),_e=Symbol(`attributes`),ve=Symbol(`class`),ye=Symbol(`style`),be=Symbol(`text`),xe=Symbol(`form reset`),Se=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ce=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function we(e){return e===this.v}function Te(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Ee(e){return!Te(e,this.v)}function De(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Oe(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ke(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ae(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function je(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Me(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Ne(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Pe(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Fe(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ie(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Le(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Re(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function ze(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var Be=!1;function Ve(){Be=!0}var He={},C=Symbol(`uninitialized`),Ue=`http://www.w3.org/1999/xhtml`,We=`http://www.w3.org/2000/svg`,Ge=`http://www.w3.org/1998/Math/MathML`,Ke=`@attach`;function qe(e,t){return e.label=t,Je(e.v,t),e}function Je(e,t){return e?.[ge]?.(t),e}function Ye(e){return typeof e==`symbol`?`Symbol(${e.description})`:typeof e==`function`?`<function>`:typeof e==`object`&&e?`<object>`:String(e)}function Xe(e){let t=e.p;for(;t!==null&&t.c===null;)t=t.p;return t?.c??null}function Ze(e,t){return e===null&&De(t),e.c??=new Map(Xe(e)||void 0)}var w=null;function Qe(e){w=e}function $e(e){return Ze(w,`getContext`).get(e)}function et(e,t){return Ze(w,`setContext`).set(e,t),t}function tt(e){return Ze(w,`hasContext`).has(e)}function nt(){return Ze(w,`getAllContexts`)}function rt(e,t=!1,n){w={p:w,i:!1,c:null,e:null,s:e,x:null,r:U,l:Be&&!t?{s:null,u:null,$:[]}:null}}function it(e){var t=w,n=t.e;if(n!==null){t.e=null;for(var r of n)lr(r)}return e!==void 0&&(t.x=e),t.i=!0,w=t.p,at(e)}function at(e={}){return o(e,pe,{value:!0}),e}function ot(){return!Be||w!==null&&w.l===null}var st=[];function ct(){var e=st;st=[],g(e)}function T(e){if(st.length===0&&!un){var t=st;queueMicrotask(()=>{t===st&&ct()})}st.push(e)}function lt(){for(;st.length>0;)ct()}function ut(){console.warn(`https://svelte.dev/e/derived_inert`)}function dt(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function ft(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function pt(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var E=!1;function D(e){E=e}var O;function k(e){if(e===null)throw dt(),He;return O=e}function A(){return k(N(O))}function mt(e){if(E){if(N(O)!==null)throw dt(),He;O=e}}function ht(e=1){if(E){for(var t=e,n=O;t--;)n=N(n);O=n}}function gt(e=!0){for(var t=0,n=O;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=N(n);e&&n.remove(),n=i}}function _t(e){if(!e||e.nodeType!==8)throw dt(),He;return e.data}function vt(e){if(typeof e!=`object`||!e||fe in e||pe in e)return e;let t=d(e);if(t!==l&&t!==u)return e;var r=new Map,i=n(e),a=R(0),o=null,c=Vn,f=e=>{if(Vn===c)return e();var t=B,n=Vn;H(null),Hn(c);var r=e();return H(t),Hn(n),r};return i&&r.set(`length`,R(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Ie();var i=r.get(t);return i===void 0?f(()=>{var e=R(n.value,o);return r.set(t,e),e}):z(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>R(C,o));r.set(t,e),Mn(a)}}else z(n,C),Mn(a);return!0},get(t,n,i){if(n===fe)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>R(vt(c?t[n]:C),o)),r.set(n,a)),a!==void 0){var l=Y(a);return l===C?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){this.has?.(e,t);var n=Reflect.getOwnPropertyDescriptor(e,t),i=r.get(t);if(i!==void 0){var a=Y(i);if(a===C)return;if(n&&`value`in n)n.value=a;else return{enumerable:!0,configurable:!0,value:a,writable:!0}}return n},has(e,t){if(t===fe)return!0;var n=r.get(t),i=n!==void 0&&n.v!==C||Reflect.has(e,t);return(n!==void 0||U!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>R(i?vt(e[t]):C,o)),r.set(t,n)),Y(n)===C)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>R(C,o)),r.set(d+``,p)):z(p,C)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>R(void 0,o)),z(l,vt(n)),r.set(t,l));else{u=l.v!==C;var m=f(()=>vt(n));z(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&z(g,_+1)}Mn(a)}return!0},ownKeys(e){Y(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==C});for(var[n,i]of r)i.v!==C&&!(n in e)&&t.push(n);return t},setPrototypeOf(){Le()}})}function yt(e){try{if(typeof e==`object`&&e&&fe in e)return e[fe]}catch{}return e}function bt(e,t){return Object.is(yt(e),yt(t))}var xt,St,Ct,wt,Tt;function Et(){if(xt===void 0){xt=window,St=document,Ct=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;wt=s(t,`firstChild`).get,Tt=s(t,`nextSibling`).get,f(e)&&(e[ve]=void 0,e[_e]=null,e[ye]=void 0,e.__e=void 0),f(n)&&(n[be]=void 0)}}function j(e=``){return document.createTextNode(e)}function M(e){return wt.call(e)}function N(e){return Tt.call(e)}function Dt(e,t){if(!E)return M(e);var n=M(O);if(n===null)n=O.appendChild(j());else if(t&&n.nodeType!==3){var r=j();return n?.before(r),k(r),r}return t&&Pt(n),k(n),n}function Ot(e,t=!1){if(!E){var n=M(e);return n instanceof Comment&&n.data===``?N(n):n}if(t){if(O?.nodeType!==3){var r=j();return O?.before(r),k(r),r}Pt(O)}return O}function kt(e,t=!1){if(!E)return M(e);var n=Dt(e,t);return mt(e),n}function At(e,t=1,n=!1){let r=E?O:e;for(var i;t--;)i=r,r=N(r);if(!E)return r;if(n){if(r?.nodeType!==3){var a=j();return r===null?i?.after(a):r.before(a),k(a),a}Pt(r)}return k(r),r}function jt(e){e.textContent=``}function Mt(){return!1}function Nt(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function Pt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Ft(e){var t=U;if(t===null)return B.f|=de,e;if(!(t.f&32768)&&!(t.f&4))throw e;It(e,t)}function It(e,t){if(e===He)throw e;if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128&&!(t.f&33570816)){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}var Lt=~(x|S|b);function P(e,t){e.f=e.f&Lt|t}function Rt(e){e.f&512||e.deps===null?P(e,b):P(e,S)}function zt(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),P(e,b)}function Bt(e,t){if(t){let t=document.body;e.autofocus=!0,T(()=>{document.activeElement===t&&e.focus()})}}function Vt(e){E&&M(e)!==null&&jt(e)}var Ht=!1;function Ut(){Ht||(Ht=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[xe]?.()})},{capture:!0}))}function Wt(e){var t=B,n=U;H(null),W(null);try{return e()}finally{H(t),W(n)}}function Gt(e,t,n,r=n){e.addEventListener(t,()=>Wt(n));let i=e[xe];e[xe]=i?()=>{i(),r(!0)}:()=>r(!0),Ut()}function Kt(e,t,n,r){let i=ot()?Xt:en;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=U,c=qt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){It(e,s)}Jt()}}var d=Yt();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>Qt(e))).then(u).catch(e=>It(e,s)).finally(d)}l?l.then(()=>{s.f&16384?d():(c(),f(),Jt())}):f()}function qt(){var e=U,t=B,n=w,r=F;return function(i=!0){W(e),H(t),Qe(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Jt(e=!0){W(null),H(null),Qe(null),e&&F?.deactivate()}function Yt(){var e=U,t=e.b,n=F,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function Xt(e){var t=2|x;return U!==null&&(U.f|=oe),{ctx:w,deps:null,effects:null,equals:we,f:t,fn:e,reactions:null,rv:0,v:C,wv:0,parent:U,ac:null}}var Zt=Symbol(`obsolete`);function Qt(e,t,n){let r=U;r===null&&Oe();var i=void 0,a=En(C),o=!B,s=new Set;return mr(()=>{var t=U,n=_();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==Se&&n.reject(e)}).finally(Jt)}catch(e){n.reject(e),Jt()}var c=F;if(o){if(t.f&32768)var l=Yt();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Zt);else for(let e of s.values())e.reject(Zt);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Zt&&(c.activate(),t?(a.f|=de,An(a,t)):(a.f&8388608&&(a.f^=de),An(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),sr(()=>{for(let e of s)e.reject(Zt)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function $t(e){let t=Xt(e);return Ln(t),t}function en(e){let t=Xt(e);return t.equals=Ee,t}function tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Q(t[n])}}function nn(e){var t,n=U,r=e.parent;if(!Fn&&r!==null&&e.v!==C&&r.f&24576)return ut(),e.v;W(r);try{tn(e),t=Kn(e)}finally{W(n)}return t}function rn(e){var t=nn(e);!e.equals(t)&&(e.wv=Un(),(!F?.is_fork||e.deps===null)&&(F===null?e.v=t:(F.capture(e,t,!0),cn?.capture(e,t,!0)),e.deps===null))?P(e,b):Fn||(I===null?Rt(e):(or()||F?.is_fork)&&I.set(e,t))}function an(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&Wt(()=>{t.ac.abort(Se),t.ac=null}),t.fn!==null&&(t.teardown=m),Yn(t,0),xr(t))}function on(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&Xn(t)}var sn=null,F=null,cn=null,I=null,ln=null,un=!1,dn=!1,fn=null,pn=null,mn=0,hn=1,gn=class e{id=hn++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){sn===null?sn=this:(sn.#n=this,this.#t=sn),sn=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)P(r,x),t(r);for(r of n.m)P(r,S),t(r)}this.#p.add(e)}#g(){var e=[];for(let i of this.#c)if(!(i.f&16384||!(i.f&6144))){for(var t=i,n=!1;t.parent!==null;){t=t.parent;var r=t.f;if(r&96){if(!(r&1024)){n=!0;break}t.f^=b}}n||e.push(t)}return this.#c=[],e}#_(){this.#e=!0;for(let e of this.#u)this.#d.delete(e),P(e,x),this.schedule(e);for(let e of this.#d)P(e,S),this.schedule(e);this.apply();for(var t=fn=[],n=[],r=pn=[];this.#c.length>0;){mn++>1e3&&(this.#S(),vn());for(let e of this.#g())try{this.#v(e,t,n)}catch(t){throw Cn(e),this.#h()||this.discard(),t}}if(F=null,r.length>0){var i=e.ensure();for(let e of r)i.schedule(e)}if(fn=null,pn=null,this.#h()){this.#x(n),this.#x(t);for(let[e,t]of this.#f)Sn(e,t);r.length>0&&F.#_();return}let a=this.#y();if(a)this.#x(n),this.#x(t),a.#b(this);else{this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),cn=this,bn(n),bn(t),cn=null,this.#s?.resolve();var o=F;if(this.#a===0&&(this.#c.length===0||o!==null)&&this.#S(),this.#c.length>0){if(o!==null){for(let e of this.#c)o.#c.push(e);this.#c=[]}else o=this}o!==null&&(L.clear(),o.#_())}}#v(e,t,n){e.f^=b;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=b:i&4?t.push(r):Wn(r)&&(i&16&&this.#d.add(r),Xn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#y(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#b(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),P(i,x),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#S(),F=this,this.#_()}#x(e){for(var t=0;t<e.length;t+=1)zt(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==C&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),I?.set(e,t)),this.is_fork||(e.v=t)}activate(){F=this}deactivate(){F=null,I=null}flush(){try{dn=!0,F=this,this.#_()}finally{mn=0,ln=null,fn=null,pn=null,dn=!1,F=null,I=null,L.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(Zt);this.#S(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,T(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=_()).promise}static ensure(){if(F===null){let t=F=new e;!dn&&!un&&T(()=>{t.#e||t.flush()})}return F}apply(){I=null}schedule(e){ln=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)?e.b.defer_effect(e):this.#c.push(e)}#S(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?sn=e:t.#t=e,this.linked=!1}}};function _n(e){var t=un,n=cn;cn=null,un=!0;try{var r;for(e&&(_n(),r=e());;){if(lt(),F===null)return r;F.flush()}}finally{un=t,cn=n}}function vn(){try{Ne()}catch(e){It(e,ln)}}var yn=null;function bn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Wn(r)&&(yn=new Set,Xn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&wr(r),yn?.size>0)){L.clear();for(let e of yn){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)yn.has(n)&&(yn.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Xn(n)}}yn.clear()}}yn=null}}function xn(e){F.schedule(e)}function Sn(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),P(e,b);for(var n=e.first;n!==null;)Sn(n,t),n=n.next}}function Cn(e){P(e,b);for(var t=e.first;t!==null;)Cn(t),t=t.next}var wn=new Set,L=new Map,Tn=!1;function En(e,t){return{f:0,v:e,reactions:null,equals:we,rv:0,wv:0}}function R(e,t){let n=En(e,t);return Ln(n),n}function Dn(e,t=!1,n=!0){let r=En(e);return t||(r.equals=Ee),Be&&n&&w!==null&&w.l!==null&&(w.l.s??=[]).push(r),r}function z(e,t,n=!1){return B!==null&&(!V||B.f&131072)&&ot()&&B.f&4325394&&(G===null||!G.has(e))&&Re(),An(e,n?vt(t):t,pn)}var On=null,kn=0;function An(e,t,n=null){if(!e.equals(t)){Fn?L.set(e,t):L.has(e)||L.set(e,e.v);var r=gn.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&nn(t),I===null&&Rt(t)}e.wv=Un(),On=null,kn=0,Nn(e,x,n),On=null,ot()&&U!==null&&U.f&1024&&!(U.f&96)&&(J===null?Rn([e]):J.push(e)),!r.is_fork&&wn.size>0&&!Tn&&jn()}return t}function jn(){Tn=!1;for(let e of wn){e.f&1024&&P(e,S);let t;try{t=Wn(e)}catch{t=!0}t&&Xn(e)}wn.clear()}function Mn(e){z(e,e.v+1)}function Nn(e,t,n){var r=e.reactions;if(r!==null){var i=ot(),a=r.length;if(kn+=a,kn>1e5&&On===null&&(On=new Set),On!==null){if(On.has(e))return;On.add(e)}for(var o=0;o<a;o++){var s=r[o],c=s.f;if(i||s!==U){var l=(c&x)===0;if(l&&P(s,t),c&131072)wn.add(s);else if(c&2){var u=s;I?.delete(u),Nn(u,S,n)}else if(l){var d=s;c&16&&yn!==null&&yn.add(d),n===null?xn(d):n.push(d)}}}}}var Pn=null,Fn=!1;function In(e){Fn=e}var B=null,V=!1;function H(e){B=e}var U=null;function W(e){U=e}var G=null;function Ln(e){B!==null&&(B.f&2097152||B.f&2)&&(G??=new Set).add(e)}var K=null,q=0,J=null;function Rn(e){J=e}var zn=1,Bn=0,Vn=Bn;function Hn(e){Vn=e}function Un(){return++zn}function Wn(e){var t=e.f;if(t&2048)return!0;if(t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Wn(a)&&rn(a),a.wv>e.wv)return!0}t&512&&I===null&&P(e,b)}return!1}function Gn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(G!==null&&G.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Gn(a,t,!1):t===a&&(n?P(a,x):a.f&1024&&P(a,S),xn(a))}}function Kn(e){var t=K,n=q,r=J,i=B,a=G,o=w,s=V,c=Vn,l=e.f;K=null,q=0,J=null,B=l&96?null:e,G=null,Qe(e.ctx),V=!1,Vn=++Bn,e.ac!==null&&(Wt(()=>{e.ac.abort(Se)}),e.ac=null);try{e.f|=le;var u=e.fn,d=u();e.f|=ne;var f=qn(e);if(ot()&&J!==null&&!V&&f!==null&&!(e.f&6146))for(var p=0;p<J.length;p++)Gn(J[p],e);if(i!==null&&i!==e){if(Bn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Bn;if(t!==null)for(let e of t)e.rv=Bn;J!==null&&(r===null?r=J:r.push(...J))}return e.f&8388608&&(e.f^=de),d}catch(t){return qn(e),Ft(t)}finally{e.f^=le,K=t,q=n,J=r,B=i,G=a,Qe(o),V=s,Vn=c}}function qn(e){var t=e.deps,n=F?.is_fork;if(K!==null){var r;if(n||Yn(e,q),t!==null&&q>0)for(t.length=q+K.length,r=0;r<K.length;r++)t[q+r]=K[r];else e.deps=t=K;if(or()&&e.f&512)for(r=q;r<t.length;r++)(t[r].reactions??=[]).push(e)}else!n&&t!==null&&q<t.length&&(Yn(e,q),t.length=q);return t}function Jn(e,t){let n=t.reactions;if(n!==null){var a=r.call(n,e);if(a!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[a]=n[o],n.pop())}}if(n===null&&t.f&2&&(K===null||!i.call(K,t))){var s=t;s.f&512&&(s.f^=512),s.v!==C&&Rt(s),s.ac!==null&&Wt(()=>{s.ac.abort(Se),s.ac=null,P(s,x)}),an(s),Yn(s,0)}}function Yn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Jn(e,n[r])}function Xn(e){var t=e.f;if(!(t&16384)){P(e,b);var n=U;U=e;try{t&16777232?Sr(e):xr(e),br(e);var r=Kn(e);e.teardown=typeof r==`function`?r:null,e.wv=zn}finally{U=n}}}async function Zn(){await Promise.resolve(),_n()}function Qn(){return gn.ensure().settled()}function Y(e){var t=!!(e.f&2);if(Pn?.add(e),B!==null&&!V&&!(U!==null&&U.f&16384)&&(G===null||!G.has(e))){var n=B.deps;if(B.f&2097152)e.rv<Bn&&(e.rv=Bn,K===null&&n!==null&&n[q]===e?q++:K===null?K=[e]:K.push(e));else{B.deps??=[],i.call(B.deps,e)||B.deps.push(e);var r=e.reactions;r===null?e.reactions=[B]:i.call(r,B)||r.push(B)}}if(Fn&&L.has(e))return L.get(e);if(t){var a=e;if(Fn){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||er(a))&&(o=nn(a)),L.set(a,o),o}var s=!(a.f&512)&&!V&&B!==null&&!!(B.f&512),c=(a.f&ne)===0;Wn(a)&&(s&&(a.f|=512),rn(a)),s&&!c&&(on(a),$n(a))}if(I?.has(e))return I.get(e);if(e.f&8388608)throw e.v;return e.v}function $n(e){if(e.f|=512,e.deps!==null)for(let n of e.deps){var t=n.reactions;t===null?n.reactions=[e]:i.call(t,e)||t.push(e),n.f&2&&!(n.f&512)&&(on(n),$n(n))}}function er(e){if(e.v===C)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(L.has(t)||t.f&2&&er(t))return!0;return!1}function tr(e){var t=V;try{return V=!0,e()}finally{V=t}}function nr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(fe in e)rr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&fe in n&&rr(n)}}}function rr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{rr(e[n],t)}catch{}let n=d(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=c(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}function ir(e){U===null&&(B===null&&Me(e),je()),Fn&&Ae(e)}function ar(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function X(e,t){var n=U;n!==null&&n.f&8192&&(e|=ee);var r={ctx:w,deps:null,nodes:null,f:e|x|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};F?.register_created_effect(r);var i=r;if(e&4)fn===null?gn.ensure().schedule(r):fn.push(r);else if(t!==null){try{Xn(r)}catch(e){throw Q(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ie))}if(i!==null&&(i.parent=n,n!==null&&ar(i,n),B!==null&&B.f&2&&!(e&64))){var a=B;(a.effects??=[]).push(i)}return r}function or(){return B!==null&&!V}function sr(e){let t=X(8,null);return P(t,b),t.teardown=e,t}function cr(e){ir(`$effect`);var t=U.f;if(!B&&t&32&&w!==null&&!w.i){var n=w;(n.e??=[]).push(e)}else return lr(e)}function lr(e){return X(4|se,e)}function ur(e){return ir(`$effect.pre`),X(8|se,e)}function dr(e){gn.ensure();let t=X(64|oe,e);return()=>{Q(t)}}function fr(e){gn.ensure();let t=X(64|oe,e);return(e={})=>new Promise(n=>{e.outro?Tr(t,()=>{Q(t),n(void 0)}):(Q(t),n(void 0))})}function pr(e){return X(4,e)}function mr(e){return X(ue|oe,e)}function hr(e,t=0){return X(8|t,e)}function gr(e,t=[],n=[],r=[]){Kt(r,t,n,t=>{X(8,()=>{e(...t.map(Y))})})}function _r(e,t=[],n=[],r=[]){Kt(r,t,n,t=>{X(4,()=>e(...t.map(Y)))})}function vr(e,t=0){return X(16|t,e)}function yr(e,t=0){return X(y|t,e)}function Z(e){return X(32|oe,e)}function br(e){var t=e.teardown;if(t!==null){let n=Fn,r=B;In(!0),H(null);try{t.call(null)}catch(t){It(t,e.parent)}finally{In(n),H(r)}}}function xr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Wt(()=>{e.abort(Se)});var r=n.next;n.f&64?n.parent=null:Q(n,t),n=r}}function Sr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||Q(t),t=n}}function Q(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Cr(e.nodes.start,e.nodes.end),n=!0),e.f|=re,xr(e,t&&!n),Yn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();br(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&wr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Cr(e,t){for(;e!==null;){var n=e===t?null:N(e);e.remove(),e=n}}function wr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Tr(e,t,n=!0){var r=[];e.f|=256,Er(e,r,!0);var i=()=>{n&&Q(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Er(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);Er(i,t,o?n:!1)}i=a}}}function Dr(e){e.f&=-257,Or(e,!0)}function Or(e,t){if(!(e.f&256)&&e.f&8192){e.f^=ee,e.f&1024||(P(e,x),gn.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);Or(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function kr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:N(n);t.append(n),n=i}}function Ar(e,t,n){if(e==null)return t(void 0),n&&n(void 0),m;let r=tr(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}var jr=[];function Mr(e,t){return{subscribe:Nr(e,t).subscribe}}function Nr(e,t=m){let n=null,r=new Set;function i(t){if(Te(e,t)&&(e=t,n)){let t=!jr.length;for(let t of r)t[1](),jr.push(t,e);if(t){for(let e=0;e<jr.length;e+=2)jr[e][0](jr[e+1]);jr.length=0}}}function a(t){i(t(e))}function o(o,s=m){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||m),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}function Pr(e,t,n){let r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw Error(`derived() expects stores as input, got a falsy value`);let a=t.length<2;return Mr(n,(e,n)=>{let o=!1,s=[],c=0,l=m,u=()=>{if(c)return;l();let i=t(r?s[0]:s,e,n);a?e(i):l=typeof i==`function`?i:m},d=i.map((e,t)=>Ar(e,e=>{s[t]=e,c&=~(1<<t),o&&u()},()=>{c|=1<<t}));return o=!0,u(),function(){g(d),l(),o=!1}})}function Fr(e){let t;return Ar(e,e=>t=e)(),t}function Ir(e){let t=0,n=En(0),r;return()=>{or()&&(Y(n),hr(()=>(t===0&&(r=tr(()=>e(()=>Mn(n)))),t+=1,()=>{T(()=>{--t,t===0&&(r?.(),r=void 0,Mn(n))})})))}}typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var Lr=Symbol(`events`),Rr=new Set,zr=new Set;function Br(e,t,n,r={}){function i(e){if(r.capture||qr.call(t,e),!e.cancelBubble)return Wt(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?(i.__removed=!1,T(()=>{i.__removed||t.addEventListener(e,i,r)})):t.addEventListener(e,i,r),i}function Vr(e,t,n,r={}){var i=Br(t,e,n,r);return()=>{i.__removed=!0,e.removeEventListener(t,i,r)}}function Hr(e,t,n,r,i){var a={capture:r,passive:i},o=Br(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&sr(()=>{o.__removed=!0,t.removeEventListener(e,o,a)})}function Ur(e,t,n){(t[Lr]??={})[e]=n}function Wr(e){for(var t=0;t<e.length;t++)Rr.add(e[t]);for(var n of zr)n(e)}var Gr=null,Kr=!1;function qr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Gr=e,Kr||(Kr=!0,setTimeout(()=>{Kr=!1,Gr=null}));var s=0,c=Gr===e&&e[Lr];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[Lr]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=B,f=U;H(null),W(null);try{for(var p,m=[];a!==null&&a!==t;){try{var h=a[Lr]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,a=s<i.length?i[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Lr]=t,delete e.currentTarget,H(d),W(f)}}}var Jr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Yr(e){return Jr?.createHTML(e)??e}function Xr(e){var t=Nt(`template`);return t.innerHTML=Yr(e.replaceAll(`<!>`,`<!---->`)),t.content}function $(e,t){var n=U;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Zr(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(E)return $(O,null),O;i===void 0&&(i=Xr(a?e:`<!>`+e),n||(i=M(i)));var t=r||Ct?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=M(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function Qr(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=!!(t&1),a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(E)return $(O,null),O;if(!o){var e=M(Xr(a));if(i)for(o=document.createDocumentFragment();M(e);)o.appendChild(M(e));else o=M(e)}var t=o.cloneNode(!0);if(i){var n=M(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function $r(e,t){return Qr(e,t,`svg`)}function ei(e=``){if(!E){var t=j(e+``);return $(t,t),t}var n=O;return n.nodeType===3?Pt(n):(n.before(n=j()),k(n)),$(n,n),n}function ti(){if(E)return $(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(``),n=j();return e.append(t,n),$(t,n),e}function ni(e,t){if(E){var n=U;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=O),A()}else e!==null&&e.before(t)}function ri(){if(E&&O&&O.nodeType===8&&O.textContent?.startsWith(`$`)){let e=O.textContent.substring(1);return A(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function ii(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var ai=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function oi(e){return ai.includes(e)}var si=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),ci={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function li(e){return e=e.toLowerCase(),ci[e]??e}[...si];var ui=[`touchstart`,`touchmove`];function di(e){return ui.includes(e)}var fi=[`textarea`,`script`,`style`,`title`];function pi(e){return fi.includes(e)}var mi=ie|oe;function hi(e,t,n,r){new gi(e,t,n,r)}var gi=class{parent;is_pending=!1;transform_error;#e;#t=E?O:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=Ir(()=>(this.#m=En(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=U;t.b=this,t.f|=128,n(e)},this.parent=U.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=vr(()=>{if(E){let e=_t(this.#t);A();let t=e===`[!`;if(e.startsWith(`[?`)){let t=JSON.parse(e.slice(2));this.#_(t)}else t?this.#b():this.#g()}else this.#x()},mi),E&&(this.#e=O)}#g(){try{this.#a=Z(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);T(r),t&&(this.#s=Z(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{this.#y()||(t?pt():(t=!0,n&&ze(),this.#s!==null&&Tr(this.#s,()=>{this.#s=null}),this.#C(()=>{this.#x()})))};return{reset:r,invoke_onerror:()=>{if(!this.#y())try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){It(e,this.#i&&this.#i.parent)}}}}#y(){return(this.#i.f&(te|re))!==0}#b(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=Z(()=>e(this.#e)),T(()=>{if(!this.#y()){var e=this.#c=document.createDocumentFragment(),t=j(),n=!1;e.append(t),this.#a=this.#C(()=>{try{return Z(()=>this.#r(t))}catch(e){try{this.error(e),n=!0}catch(e){It(e,this.#i.parent)}return null}}),this.#a===null?(this.#c=null,n&&this.#S(F)):this.#u===0&&(this.#e.before(e),this.#c=null,Tr(this.#o,()=>{this.#o=null}),this.#S(F))}}))}#x(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=Z(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();kr(this.#a,e);let t=this.#n.pending;this.#o=Z(()=>t(this.#e))}else this.#S(F)}catch(e){this.error(e)}}#S(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){zt(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#C(e){var t=U,n=B,r=w;W(this.#i),H(this.#i),Qe(this.#i.ctx);try{return gn.ensure(),e()}finally{W(t),H(n),Qe(r)}}#w(e,t){this.has_pending_snippet()?(this.#u+=e,this.#u===0&&(this.#S(t),this.#o&&Tr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))):this.parent&&this.parent.#w(e,t)}update_pending_count(e,t){this.#w(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,T(()=>{this.#d=!1,this.#m&&An(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Y(this.#m)}error(e){if(e===He||!this.#n.onerror&&!this.#n.failed)throw e;F?.is_fork?(this.#a&&F.skip_effect(this.#a),this.#o&&F.skip_effect(this.#o),this.#s&&F.skip_effect(this.#s),F.oncommit(()=>{this.#y()||this.#T(e)})):this.#T(e)}#T(e){this.#a&&=(Q(this.#a),null),this.#o&&=(Q(this.#o),null),this.#s&&=(Q(this.#s),null),E&&(k(this.#t),ht(),k(gt()));let t=this.#n.failed,n=e=>{if(this.#y())return;let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&!this.#y()&&(this.#s=this.#C(()=>{try{return Z(()=>{var r=U;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return It(e,this.#i.parent),null}}))};T(()=>{if(!this.#y()){var t;try{t=this.transform_error(e)}catch(e){It(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>It(e,this.#i&&this.#i.parent)):n(t)}})}};function _i(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[be]??=e.nodeValue)&&(e[be]=n,e.nodeValue=`${n}`)}function vi(e,t){return xi(e,t)}function yi(e,t){Et(),t.intro=t.intro??!1;let n=t.target,r=E,i=O;try{for(var a=M(n);a&&(a.nodeType!==8||a.data!==`[`);)a=N(a);if(!a)throw He;D(!0),k(a);let r=xi(e,{...t,anchor:a});return D(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==He&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Pe(),Et(),jt(n),D(!1),vi(e,t)}finally{D(r),k(i)}}var bi=new Map;function xi(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){Et();var l=void 0,u=fr(()=>{var s=n??t.appendChild(j());hi(s,{pending:()=>{}},t=>{rt({});var n=w;if(o&&(n.c=o),i&&(r.$$events=i),E&&$(t,null),l=e(t,r)||at(),E&&(U.nodes.end=O,O===null||O.nodeType!==8||O.data!==`]`))throw dt(),He;it()},c);var u=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var i=di(r);for(let e of[t,document]){var a=bi.get(e);a===void 0&&(a=new Map,bi.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,qr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(a(Rr)),zr.add(d),()=>{for(var e of u)for(let n of[t,document]){var r=bi.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,qr),r.delete(e),r.size===0&&bi.delete(n)):r.set(e,i)}zr.delete(d),s!==n&&s.parentNode?.removeChild(s)}});return Si.set(l,u),l}var Si=new WeakMap;function Ci(e,t){let n=Si.get(e);return n?(Si.delete(e),n(t)):Promise.resolve()}var wi=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Dr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(Dr(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(Q(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();kr(r,t),t.append(j()),this.#n.set(e,{effect:r,fragment:t})}else Q(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Tr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(Q(n.effect),this.#n.delete(e))};ensure(e,t){var n=F,r=Mt();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=j();i.append(a),this.#n.set(e,{effect:Z(()=>t(a)),fragment:i})}else this.#t.set(e,Z(()=>t(this.anchor)))}if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else E&&(this.anchor=O),this.#a(n)}};function Ti(e,t,...n){var r=new wi(e);vr(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ie)}function Ei(e){w===null&&De(`onMount`),Be&&w.l!==null?Di(w).m.push(e):cr(()=>{let t=tr(e);if(typeof t==`function`)return t})}function Di(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function Oi(){return Symbol(Ke)}function ki(e,t,n=!1){var r;E&&(r=O,A());var i=new wi(e),a=n?ie:0;function o(e,t){if(E){var n=_t(r);if(e!==parseInt(n.substring(1))){var a=gt();k(a),i.anchor=a,D(!1),i.ensure(e,t),D(!0);return}}i.ensure(e,t)}vr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var Ai=Symbol(`NaN`);function ji(e,t,n){E&&A();var r=new wi(e),i=!ot();vr(()=>{var e=t();e!==e&&(e=Ai),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Mi(e,t){return t}function Ni(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c<i;c++){let n=t[c];Tr(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;Pi(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=r.length===0&&n!==null&&e.pending.size===0;if(l){var u=n,d=u.parentNode;jt(d),d.append(u),e.items.clear()}Pi(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function Pi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ce,kr(a,document.createDocumentFragment())):Q(t[i],n)}}var Fi;function Ii(e,t,r,i,o,s=null){var c=e,l=new Map;if(t&4){var u=e;c=E?k(M(u)):u.appendChild(j())}E&&A();var d=null,f=en(()=>{var e=r();return n(e)?e:e==null?[]:a(e)}),p=new Map,m=!0;function h(e){if(!(_.effect.f&16384)){_.pending.delete(e);var n=Y(f);_.fallback=d,Ri(_,n,c,t,i),d!==null&&(n.length===0?d.f&33554432?(d.f^=ce,Bi(d,null,c)):Dr(d):Tr(d,()=>{d=null}))}}function g(e){_.pending.delete(e)}var _={effect:vr(()=>{var e=Y(f),n=e.length;let a=!1;E&&_t(c)===`[!`!=(n===0)&&(c=gt(),k(c),D(!1),a=!0);for(var u=new Set,_=F,v=Mt(),y=0;y<n;y+=1){E&&O.nodeType===8&&O.data===`]`&&(c=O,a=!0,D(!1));var b=e[y],x=i(b,y),S=m?null:l.get(x);S?(S.v&&An(S.v,b),S.i&&An(S.i,y),v&&_.unskip_effect(S.e)):(S=zi(l,m?c:Fi??=j(),b,x,y,o,t,r),m||(S.e.f|=ce),l.set(x,S)),u.add(x)}if(n===0&&s&&!d&&(m?d=Z(()=>s(c)):(d=Z(()=>s(Fi??=j())),d.f|=ce)),n>u.size&&ke(``,``,``),E&&n>0&&k(gt()),!m){if(p.set(_,u),v){for(let[e,t]of l)u.has(e)||_.skip_effect(t.e);_.oncommit(h),_.ondiscard(g)}else h(_)}a&&D(!0),Y(f)}),flags:t,items:l,pending:p,outrogroups:null,fallback:d};m=!1,E&&(c=O)}function Li(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Ri(e,t,n,r,i){var o=!!(r&8),s=t.length,c=e.items,l=Li(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Dr(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432){if(_.f^=ce,_===l)Bi(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Vi(e,d,_),Vi(e,_,y),Bi(_,y,n),d=_,p=[],m=[],l=Li(d.next);continue}}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)Bi(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Vi(e,S.prev,ee.next),Vi(e,d,S),Vi(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),Bi(_,l,n),Vi(e,_.prev,_.next),Vi(e,_,d===null?e.effect.first:d.next),Vi(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Li(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Li(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(Pi(e,a(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var te=[];if(u!==void 0)for(_ of u)_.f&8192||te.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&te.push(l),l=Li(l.next);var ne=te.length;if(ne>0){var re=r&4&&s===0?n:null;if(o){for(v=0;v<ne;v+=1)te[v].nodes?.a?.measure();for(v=0;v<ne;v+=1)te[v].nodes?.a?.fix()}Ni(e,te,re)}}o&&T(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function zi(e,t,n,r,i,a,o,s){var c=o&1?o&16?En(n):Dn(n,!1,!1):null,l=o&2?En(i):null;return{v:c,i:l,e:Z(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Bi(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=N(r);if(a.before(r),r===i)return;r=o}}function Vi(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Hi(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;E&&(o=k(M(c)))}gr(()=>{var e=U;if(s===(s=t()??``))E&&A();else if(n&&!E)e.nodes=null,c.innerHTML=s,s!==``&&$(M(c),c.lastChild);else if(e.nodes!==null&&(Cr(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(E){for(var a=O.data,l=A(),u=l;l!==null&&(l.nodeType!==8||l.data!==``);)u=l,l=N(l);if(l===null)throw dt(),He;$(O,u),o=k(l)}else{var d=Nt(r?`svg`:i?`math`:`template`,r?We:i?Ge:void 0);d.innerHTML=s;var f=r||i?d:d.content;if($(M(f),f.lastChild),r||i)for(;M(f);)o.before(M(f));else o.before(f)}}})}function Ui(e,t,n){var r;E&&(r=O,A());var i=new wi(e);vr(()=>{var e=t()??null;if(E&&_t(r)===`[`!=(e!==null)){var a=gt();k(a),i.anchor=a,D(!1),i.ensure(e,e&&(t=>n(t,e))),D(!0)}else i.ensure(e,e&&(t=>n(t,e)))},ie)}function Wi(e,t,n,r,i,a){let o=E;E&&A();var s=null;E&&O.nodeType===1&&(s=O,A());var c=E?O:e,l=new wi(c,!1);vr(()=>{let e=t()||null;var a=i?i():n||e===`svg`?We:void 0;if(e===null)l.ensure(null,null);else return l.ensure(e,t=>{if(e){var n=E;if(s=E?s:Nt(e,a),$(s,s),r){var i=null;E&&pi(e)&&s.append(i=document.createComment(``));var o=E?M(s):s.appendChild(j());E&&(o===null?D(!1):k(o)),r(s,o),i?.remove()}U.nodes.end=s,n||t.before(s)}E&&k(t)}),()=>{}},ie),sr(()=>{}),o&&(D(!0),k(c))}function Gi(e,t){let n=null,r=E;var i;if(E){n=O;for(var a=M(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=N(a);if(a===null)D(!1);else{var o=N(a);a.remove(),k(o)}}E||(i=document.head.appendChild(j()));try{vr(()=>{var e=Z(()=>t(i));e.f|=ae,E||(e.nodes===null?e.nodes={start:i,end:i,a:null,t:null}:e.nodes.end=i)})}finally{r&&(D(!0),k(n))}}function Ki(e,t,n){pr(()=>{var r=tr(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};hr(()=>{var e=n();nr(e),i&&Te(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function qi(e,t){var n=void 0,r;yr(()=>{n!==(n=t())&&(r&&=(Q(r),null),n&&(r=Z(()=>{pr(()=>n(e))})))})}function Ji(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ji(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function Yi(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ji(e))&&(r&&(r+=` `),r+=t);return r}function Xi(e){return typeof e==`object`?Yi(e):e??``}var Zi=[...`
3
+ \r\f\xA0\v`];function Qi(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Zi.includes(r[o-1]))&&(s===r.length||Zi.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function $i(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function ea(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function ta(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\/\*.*?\*\//g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(ea)),i&&c.push(...Object.keys(i).map(ea));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=ea(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=$i(r)),i&&(n+=$i(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function na(e,t,n,r,i,a){var o=e[ve];if(E||o!==n||o===void 0){var s=Qi(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[ve]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function ra(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function ia(e,t,n,r){var i=e[ye];if(E||i!==t){var a=ta(t,r);(!E||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[ye]=t}else r&&(Array.isArray(r)?(ra(e,n?.[0],r[0]),ra(e,n?.[1],r[1],`important`)):ra(e,n,r));return r}function aa(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function oa(e,t){var n=!(`__defaultValue`in e);(n||e.__defaultValue!==t)&&(e.__defaultValue=t,sa(e,!n||`__value`in e))}function sa(e,t){var r=e.__defaultValue,i=e.multiple,a=i?r??[]:null;if(!i||n(a)){var o=e.selectedIndex,s=t&&i?new Set(e.selectedOptions):null;for(var c of e.options){var l=ua(c);aa(c,i?a.includes(l):bt(l,r))}if(t){if(s!==null)for(c of e.options){var u=s.has(c);c.selected!==u&&(c.selected=u)}else e.selectedIndex!==o&&(e.selectedIndex=o)}}}function ca(e,t,r=!1){if(e.multiple){if(t==null)return;if(!n(t))return ft();for(var i of e.options)i.selected=t.includes(ua(i))}else{for(i of e.options)if(bt(ua(i),t)){i.selected=!0;return}(!r||t!==void 0)&&(e.selectedIndex=-1)}}function la(e){var t=new MutationObserver(t=>{t.every(da)||(`__defaultValue`in e&&sa(e,!1),`__value`in e&&ca(e,e.__value))});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),sr(()=>{t.disconnect()})}function ua(e){return`__value`in e?e.__value:e.value}function da(e){if(e.target.closest(`selectedcontent`)!==null)return!0;if(e.type===`childList`){var t=[...e.addedNodes,...e.removedNodes];return t.length>0&&t.every(e=>e.nodeName===`SELECTEDCONTENT`)}return!1}var fa=Symbol(`class`),pa=Symbol(`style`),ma=Symbol(`is custom element`),ha=Symbol(`is html`),ga=Ce?`link`:`LINK`,_a=Ce?`input`:`INPUT`,va=Ce?`option`:`OPTION`,ya=Ce?`select`:`SELECT`,ba=Ce?`progress`:`PROGRESS`;function xa(e){if(E){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Sa(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Sa(e,`checked`,null),e.checked=r}}};e[xe]=n,T(n),Ut()}}function Sa(e,t,n,r){var i=Ta(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===ga)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[he]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Da(e).has(t)?e[t]=n:e.setAttribute(t,n))}function Ca(e,t,n,r,i=!1,a=!1){E&&i&&e.nodeName===_a&&(`defaultValue`in n||`defaultChecked`in n||xa(e));var o=Ta(e),s=o[ma],c=!o[ha];let l=E&&s;l&&D(!1);var u=t||{},d=e.nodeName===va,f=e.nodeName===ya;try{for(var p in t)!(p in n)&&p[0]+p[1]!==`$$`&&(n[p]=null);n.class?n.class=Xi(n.class):(r||n[fa])&&(n.class=null),n[pa]&&(n.style??=null);var m=Da(e);if(e.nodeName===_a&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==u.type||h===void 0&&e.hasAttribute(`type`))&&(u.type=h,Sa(e,`type`,h,a))}for(let i in n){let l=n[i];if(d&&i===`value`&&l==null)e.value=e.__value=``,u[i]=l;else if(i===`class`)na(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,l,r,t?.[fa],n[fa]),u[i]=l,u[fa]=n[fa];else if(i===`style`)ia(e,l,t?.[pa],n[pa]),u[i]=l,u[pa]=n[pa];else{var g=u[i];if(l!==g||l===void 0&&e.hasAttribute(i)){u[i]=l;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=oi(r);if(ii(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(l!=null)continue;e.removeEventListener(r,u[n],t),u[n]=null}if(v)Ur(r,e,l),Wr([r]);else if(l!=null){function a(e){u[i].call(this,e)}u[n]=Br(r,e,a,t)}}else if(i===`style`)Sa(e,i,l);else if(i===`autofocus`)Bt(e,!!l);else if(!s&&(i===`__value`||i===`value`&&l!=null))e.__value=l,(g==null||e.value!==l||l===0&&e.nodeName===ba)&&(e.value=l);else if(i===`selected`&&d)aa(e,l);else{var y=i;c||(y=li(y));var b=y===`defaultValue`||y===`defaultChecked`;if(f&&y===`defaultValue`)continue;if(l==null&&!s&&!b){if(o[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else b||(s||typeof l!=`string`)&&m.has(y)?(e[y]=l,y in o&&(o[y]=C)):typeof l!=`function`&&Sa(e,y,l,a)}}}}}}finally{l&&D(!0)}return u}function wa(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Kt(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===ya,l=!1;if(yr(()=>{var u=t(...n.map(Y)),d=Ca(e,r,u,a,o,s);if(l&&c){var f=e;`defaultValue`in u&&oa(f,u.defaultValue),`value`in u&&ca(f,u.value)}for(let e of Object.getOwnPropertySymbols(i))u[e]||Q(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var p=u[t];t.description===`@attach`&&(!r||p!==r[t])&&(i[t]&&Q(i[t]),i[t]=Z(()=>qi(e,()=>p))),d[t]=p}r=d}),c){var u=e;pr(()=>{var e=r;`defaultValue`in e&&oa(u,e.defaultValue),ca(u,e.value,!0),la(u)})}l=!0})}function Ta(e){return e[_e]??={[ma]:e.nodeName.includes(`-`),[ha]:e.namespaceURI===Ue}}var Ea=new Map;function Da(e){var t=e.getAttribute(`is`)||e.nodeName,n=Ea.get(t);if(n)return n;Ea.set(t,n=new Set);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.add(o);i=d(i)}return n}function Oa(e,t,n=t){var r=new WeakSet;Gt(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=ka(e)?Aa(a):a,n(a),F!==null&&r.add(F),await Zn(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(E&&e.defaultValue!==e.value||tr(t)==null&&e.value)&&(n(ka(e)?Aa(e.value):e.value),F!==null&&r.add(F)),hr(()=>{var n=t();if(e===document.activeElement){var i=F;if(r.has(i))return}ka(e)&&n===Aa(e.value)||(e.type!==`date`||n||e.value)&&n!==e.value&&(e.value=n??``)})}function ka(e){var t=e.type;return t===`number`||t===`range`}function Aa(e){return e===``?null:+e}function ja(e,t,n=t){Gt(e,`change`,()=>{n(e.files)}),E&&e.files&&n(e.files),hr(()=>{e.files=t()})}function Ma(e,t){return e===t||e?.[fe]===t}function Na(e=at(),t,n,r){var i=w.r,a=U;return pr(()=>{var o,s;return hr(()=>{o=s,s=r?.()||[],tr(()=>{Ma(n(...s),e)||(t(e,...s),o&&Ma(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&Ma(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function Pa(e=!1){let t=w,n=t.l.u;if(!n)return;let r=()=>nr(t.s);if(e){let e=0,n={},i=Xt(()=>{let r=!1,i=t.s;for(let e in i)i[e]!==n[e]&&(n[e]=i[e],r=!0);return r&&e++,e});r=()=>Y(i)}n.b.length&&ur(()=>{Fa(t,r),g(n.b)}),cr(()=>{let e=tr(()=>n.m.map(h));return()=>{for(let t of e)typeof t==`function`&&t()}}),n.a.length&&cr(()=>{Fa(t,r),g(n.a)})}function Fa(e,t){if(e.l.s)for(let t of e.l.s)Y(t);t()}var Ia=!1,La=Symbol(`unmounted`);function Ra(e,t,n){let r=n[t]??={store:null,source:Dn(void 0),unsubscribe:m};if(r.store!==e&&!(La in n)){if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=m;else{var i=!0;r.unsubscribe=Ar(e,e=>{i?r.source.v=e:z(r.source,e)}),i=!1}}return e&&La in n?Fr(e):Y(r.source)}function za(e,t,n){let r=n[t];return r&&r.store!==e&&(r.unsubscribe(),r.unsubscribe=m),e}function Ba(e,t){return Ha(e,t),t}function Va(){let e={};function t(){sr(()=>{for(var t in e)e[t].unsubscribe();o(e,La,{enumerable:!1,value:!0})})}return[e,t]}function Ha(e,t){try{e.set(t)}finally{}}function Ua(){Ia=!0}function Wa(e){var t=Ia;try{return Ia=!1,[e(),Ia]}finally{Ia=t}}var Ga={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}};function Ka(e,t,n){return new Proxy({props:e,exclude:t},Ga)}var qa={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];p(i)&&(i=i());let a=s(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=s(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===fe||t===me)return!1;for(let n of e.props)if(p(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(p(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function Ja(...e){return new Proxy({props:e},qa)}function Ya(e,t,n,r){var i=!Be||!!(n&2),a=!!(n&8),o=!!(n&16),c=r,l=!0,u=void 0,d=()=>o&&i?(u??=Xt(r),Y(u)):(l&&(l=!1,c=o?tr(r):r),c);let f;if(a){var p=fe in e||me in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=Wa(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Fe(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?Xt:en)(()=>(v=!1,g()));a&&Y(y);var b=U;return(function(e,t){if(arguments.length>0){let n=t?Y(y):i&&a?vt(e):e;return z(y,n),v=!0,c!==void 0&&(c=n),e}return Fn&&v||b.f&16384?y.v:Y(y)})}var Xa=`font-weight: bold`,Za=`font-weight: normal`;function Qa(e,t,n){let r=Error(`${e}\n${t}\nhttps://svelte.dev/e/kit/${e}`);throw r.name=`SvelteKit error`,Error.captureStackTrace?.(r,n),r}function $a(e){try{e()}catch(e){return e}}function eo(e){throw Error(`https://svelte.dev/e/kit/invalid_export`)}function to(e){throw Error(`https://svelte.dev/e/kit/invalid_export_location`)}function no(e){throw Error(`https://svelte.dev/e/kit/load_invalid_response`)}function ro(e){throw Error(`https://svelte.dev/e/kit/param_matcher_async`)}function io(e){throw Error(`https://svelte.dev/e/kit/param_matcher_result_invalid`)}function ao(e){throw Error(`https://svelte.dev/e/kit/resolve_params_missing`)}function oo(e){throw Error(`https://svelte.dev/e/kit/route_param_missing`)}function so(e){throw Error(`https://svelte.dev/e/kit/route_param_slash`)}function co(e){throw Error(`https://svelte.dev/e/kit/route_param_value_invalid`)}function lo(e){throw Error(`https://svelte.dev/e/kit/router_hash_page_options`)}function uo(e){throw Error(`https://svelte.dev/e/kit/url_hash_unavailable`)}var fo=e.base??`/.discovery`,po=e.assets??fo??``;function mo(e){}function ho(e){return e.replace(/[.*+?^${}()|[\]\\]/g,e=>`\\`+e)}var go=/^(\[)?(\.\.\.)?([\w-]+)(?:=([\w-]+))?(\])?$/,_o=/^\/\((?:[^)]+)\)$/,vo=/\[([ux])\+([^\]]+)\]/;function yo(e){return String.fromCodePoint(...e.split(`-`).map(e=>parseInt(e,16)))}function bo(e){return e.replace(/[%/?#]/g,e=>`%`+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,`0`))}function xo(e){let t=[];return{pattern:e===`/`||_o.test(e)?/^\/$/:RegExp(`^${Co(e).map(e=>{let n=/^\[\.\.\.([\w-]+)(?:=([\w-]+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[([\w-]+)(?:=([\w-]+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`)||e.startsWith(`u+`))return Do(yo(e.slice(2)));let[,r,a,o,s]=go.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return Do(e)}).join(``)}).join(``)}/?$`),params:t}}function So(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function Co(e){return e.slice(1).split(`/`).filter(So)}function wo(e,t){let n=e[`~standard`].validate(t);if(n instanceof Promise&&ro(),n.issues)return{success:!1};let r=n.value;return typeof r!=`string`&&typeof r!=`number`&&typeof r!=`boolean`&&typeof r!=`bigint`&&io(),{success:!0,value:r}}function To(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}let l=decodeURIComponent(c);if(s.matcher){let e=wo(n[s.matcher],l);if(!e.success){if(s.optional&&s.chained){o++;continue}return}r[s.name]=e.value}else r[s.name]=l;let u=t[e+1],d=i[e+1];u&&!u.rest&&u.optional&&d&&s.chained&&(o=0),!u&&!d&&Object.keys(r).length===a.length&&(o=0)}if(!o)return r}var Eo={"%":`%25`,"/":`%2[Ff]`,"?":`%3[Ff]`,"#":`%23`};function Do(e){return e.normalize().split(/([%/?#])/).map((e,t)=>t%2?Eo[e]:ho(e)).join(``)}var Oo=RegExp(`${vo.source}|\\[(\\[)?(\\.\\.\\.)?([\\w-]+?)(?:=([\\w-]+))?\\]\\]?`,`g`);function ko(e,t){let n=Co(e),r=e!=`/`&&e.endsWith(`/`);return`/`+n.map(n=>n.replace(Oo,(n,r,i,a,o,s)=>{if(r)return bo(yo(i));let c=t[s];if(c===void 0||c===``){if(a||o&&c!==void 0)return``;oo({name:s,id:e})}if(typeof c==`string`)return(c.startsWith(`/`)||c.endsWith(`/`))&&so({name:s,id:e}),c;if(typeof c==`number`||typeof c==`boolean`||typeof c==`bigint`)return String(c);co({name:s,id:e})})).filter(Boolean).join(`/`)+(r?`/`:``)}var Ao=fo;function jo(...e){let[t,n]=e;return t[0]===`/`?(t.includes(`[`)&&!n&&ao({id:t}),Ao+ko(t,n??{})):Ao+`/`+t}var Mo=new class{#e=R({});get data(){return Y(this.#e)}set data(e){z(this.#e,e)}#t=R(null);get form(){return Y(this.#t)}set form(e){z(this.#t,e)}#n=R(null);get error(){return Y(this.#n)}set error(e){z(this.#n,e)}#r=R({});get params(){return Y(this.#r)}set params(e){z(this.#r,e)}#i=R({id:null});get route(){return Y(this.#i)}set route(e){z(this.#i,e)}#a=R(null);get shallow(){return Y(this.#a)}set shallow(e){z(this.#a,e)}#o=R({});get state(){return Y(this.#o)}set state(e){z(this.#o,e)}#s=R(-1);get status(){return Y(this.#s)}set status(e){z(this.#s,e)}#c=R(new URL(`a:`));get url(){return Y(this.#c)}set url(e){z(this.#c,e)}};function No(e){Object.assign(Mo,e)}var Po={get data(){return Mo.data},get error(){return Mo.error},get form(){return Mo.form},get params(){return Mo.params},get route(){return Mo.route},get shallow(){return Mo.shallow},get state(){return Mo.state},get status(){return Mo.status},get url(){return Mo.url}},Fo=R(null);function Io(e){z(Fo,e)}var Lo=36e5,Ro,zo,Bo=R(!1),Vo={get current(){return Y(Bo)},async check(){return window.clearTimeout(Ro),Y(Bo)?Promise.resolve(!0):zo??=(async()=>{try{let e=await fetch(`${po}/_app/version.json`,{headers:{"cache-control":`no-cache`}});if(!e.ok)return!1;let n=await e.json();return z(Bo,Y(Bo)||n.version!==t)}catch{return!1}finally{zo=void 0,Y(Bo)||(Ro=window.setTimeout(Vo.check,Lo))}})()}};Lo&&(Ro=window.setTimeout(Vo.check,Lo));export{hi as $,Oa as A,Vt as At,Ui as B,nt as Bt,Va as C,tr as Ct,Pa as D,En as Dt,za as E,z as Et,Xi as F,kt as Ft,ki as G,et as Gt,Ii as H,tt as Ht,Yi as I,At as It,Ti as J,Ve as Jt,Oi as K,Ye as Kt,Ki as L,vt as Lt,Sa as M,xt as Mt,ia as N,Dt as Nt,Na as O,R as Ot,na as P,Ot as Pt,Ci as Q,Gi as R,ht as Rt,Ua as S,Zn as St,Ba as T,Mn as Tt,Mi as U,it as Ut,Hi as V,$e as Vt,ji as W,rt as Wt,vi as X,v as Xt,yi as Y,m as Yt,_i as Z,t as Zt,Za as _,gr as _t,jo as a,ei as at,Ka as b,Y as bt,fo as c,Hr as ct,to as d,Pr as dt,ni as et,no as f,Fr as ft,$a as g,dr as gt,Xa as h,_r as ht,Vo as i,ri as it,wa as j,St as jt,ja as k,$t as kt,mo as l,Vr as lt,uo as m,Nr as mt,Io as n,Zr as nt,To as o,Wr as ot,lo as p,Mr as pt,Ei as q,qe as qt,No as r,$r as rt,xo as s,Ur as st,Po as t,ti as tt,eo as u,Ir as ut,Qa as v,cr as vt,Ra as w,Vn as wt,Ja as x,Qn as xt,Ya as y,ur as yt,Wi as z,mt as zt};
@@ -0,0 +1 @@
1
+ var e=function(e,t){return new URL(e,t).href},t={},n=function(e){return e.pathname.endsWith(`.css`)},r=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},i=function(i,a,o){let s=Promise.resolve();if(a&&a.length>0){let i,c=document.querySelector(`meta[property=csp-nonce]`),l=c?.nonce||c?.getAttribute(`nonce`);function u(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function d(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}s=u(a.map(a=>{a=e(a,o);let s=d(a),c=n(s);return r(t,s.href,()=>{if(i===void 0){i={all:new Set,styles:new Set};let e=document.getElementsByTagName(`link`);for(let t=e.length-1;t>=0;t--){let n=e[t];i.all.add(n.href),n.rel===`stylesheet`&&i.styles.add(n.href)}}if((c?i.styles:i.all).has(s.href))return;let e=document.createElement(`link`);if(e.rel=c?`stylesheet`:`modulepreload`,c||(e.as=`script`),e.crossOrigin=``,e.href=s.href,l&&e.setAttribute(`nonce`,l),document.head.appendChild(e),c)return new Promise((t,n)=>{e.addEventListener(`load`,t),e.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${s}`)))})})}).filter(e=>e!==void 0))}function c(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return s.then(e=>{for(let t of e||[])t.status===`rejected`&&c(t.reason);return i().catch(c)})};export{i as t};
@@ -0,0 +1,6 @@
1
+ import{t as e}from"./XKyaHtl9.js";import{payload as t}from"../entry/payload.DSmR2FwN.js";import{C as n,G as r,H as i,It as a,J as o,Nt as s,Pt as c,U as l,Ut as u,Vt as d,Wt as f,Xt as p,Yt as m,Zt as h,b as g,bt as _,dt as v,et as y,ft as b,j as ee,kt as te,mt as x,nt as S,ot as C,pt as w,rt as T,st as ne,tt as E,w as re,x as ie,y as D,z as ae,zt as O}from"./C3gnuDhG.js";function oe(e){return{all:e||=new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get(`*`))&&r.slice().map(function(e){e(t,n)})}}}async function se(e,t){if(!e.ok||!e.body||e.bodyUsed)return e;let n=e.headers.get(`content-type`);if(!n||!~n.indexOf(`multipart/`))return e;let r=n.indexOf(`boundary=`),i=`-`;if(~r){let e=r+9,t=n.indexOf(`;`,e);i=n.slice(e,t>-1?t:void 0).trim().replace(/"/g,``)}return async function*(e,t,n){let r,i,a,o=new TextDecoder(`utf8`),s=e.getReader(),c=!n||!n.multiple,l=t.length,u=``,d=[];try{let e;e:for(;!(e=await s.read()).done;){let n=o.decode(e.value,{stream:!0});r=u.length,u+=n;let s=n.indexOf(t);for(~s?r+=s:r=u.indexOf(t),d=[];~r;){let e=u.slice(0,r),n=u.slice(r+l);if(i){let t=e.indexOf(`\r
2
+ \r
3
+ `)+4,r=e.lastIndexOf(`\r
4
+ `,t),i=!1,o=e.slice(t,r>-1?void 0:r),s=String(e.slice(0,t)).trim().split(`\r
5
+ `),l={},u=s.length;for(;a=s[--u];a=a.split(`: `),l[a.shift().toLowerCase()]=a.join(`: `));if(a=l[`content-type`],a&&~a.indexOf(`application/json`))try{o=JSON.parse(o),i=!0}catch{}if(a={headers:l,body:o,json:i},c?yield a:d.push(a),n.slice(0,2)===`--`)break e}else t=`\r
6
+ `+t,i=l+=2;u=n,r=u.indexOf(t)}d.length&&(yield d)}}finally{d.length&&(yield d),await s.cancel()}}(e.body,`--${i}`,t)}var ce=Object.defineProperty,le=(e,t)=>{for(var n in t)ce(e,n,{get:t[n],enumerable:!0})},k=class extends Error{code;constructor(e,t){super(void 0,t===void 0?void 0:{cause:t}),this.code=e}},A=Symbol(`meta`);function j(e){return e[A]??null}function ue(e,t){Object.defineProperty(e,A,{value:t,writable:!1,enumerable:!1,configurable:!1})}var de=class{origin;events;sleep;fetch=fetch.bind(globalThis);challenge=null;constructor(e){this.origin=e.origin,this.events=e.events,e.sleep!==void 0&&(this.sleep=JSON.stringify(e.sleep))}async json(e,t){let n=this.setup(t),r=await this.request(e,n),i=r.headers.get(`content-type`)===`application/json`?await r.json():await r.text();return typeof i==`object`&&i&&ue(i,{status:r.status,headers:r.headers}),r.ok?(this.events.emit(`response`,{status:r.status,headers:r.headers}),i):(this.events.emit(`error`,{code:r.status,body:i}),new k(r.status,i))}async multipart(e,t){let n=this.setup(t),r=await this.request(e,n);if(!r.ok)return new k(r.status,{body:await r.text()});let i=await se(r),a=await i.next();if(n.debug&&console.debug(`Multipart ACK`,{path:e,body:a.value.body}),JSON.parse(a.value.body)!==`ACK`)throw Error(`No ACK`);return(async function*(){for await(let t of i){n.debug&&console.debug(`Multipart chunk`,{path:e,body:t.body});let r=JSON.parse(t.body);if(r===`FIN`)return;yield r}})()}async octets(e,t){let n=await this.multipart(e,t);if(n instanceof Error)return n;let r=(await n.next()).value,i=oe();return(async()=>{await new Promise(e=>setTimeout(e,0));for await(let r of n){let n=r.status===`completed`?r.error?new k(r.error.code??`UNKNOWN`,r.error):r.output:new k(`EXCEPTION`);t?.debug&&console.debug(`Emitting octets step`,{path:e,step:r.step,payload:n}),i.emit(r.step,n)}i.off(`*`)})(),[r,i]}authenticate(e){this.challenge=e}use(e){this.fetch=e}setup(e){if(e??={},e.headers??={},e.headers.accept??=`application/json`,this.sleep!==void 0&&(e.headers.sleep=this.sleep),e.credentials===`include`){if(e.headers.authorization===void 0){if(this.challenge===null)throw Error(`Credentials must be set before sending authenticated request`);e.headers.authorization=this.challenge}delete e.credentials}return e.body!==void 0&&(e.method??=`POST`,e.body instanceof File||e.body instanceof ReadableStream?(e.body instanceof ReadableStream&&(e.duplex=`half`),e.headers[`content-type`]??=e.body.type??`application/octet-stream`):(e.body=JSON.stringify(e.body),e.headers[`content-type`]??=`application/json`)),e}async request(e,t){let n=new URL(e,this.origin),r=await this.send(n.href,t),i=r.headers.get(`authorization`);return i!==null&&(this.challenge=i,this.events.emit(`challenge`,i)),r}async send(e,t){if(!(t.body instanceof ReadableStream))return await this.fetch(e,t);let n=t.body;try{return await this.fetch(e,t)}catch(e){throw await n.cancel().catch(()=>void 0),Error(`The upload was interrupted and the reply, if any, was lost`,{cause:e})}}},fe=class{agent;path;init;constructor(e){this.agent=e.agent,this.path=e.path,this.init=e.init}async json(e,t){return await this.request(`json`,e,t)}async octets(e,t){return await this.request(`octets`,e,t)}async multipart(e,t){return await this.request(`multipart`,e,t)}async request(e,t,n){let r=typeof t==`string`?t:``;n=typeof t==`string`?n:t;let i=this.abs(r),a=Object.assign({},this.init,n);if(e===`json`)return await this.agent.json(i,a);if(e===`octets`)return await this.agent.octets(i,a);if(e===`multipart`)return await this.agent.multipart(i,a);throw Error(`Invalid method: ${e}`)}abs(e){let t=new URL(this.path,`https://void`),n=new URL(e,t);return n.pathname.endsWith(`/`)||(n.pathname+=`/`),n.pathname+n.search}},pe=class{events;agent;constructor(e){this.events=oe(),this.agent=new de({origin:e.origin,events:this.events,sleep:e.sleep})}resource(e,t){return new fe({agent:this.agent,path:e,init:t})}authenticate(e){this.agent.authenticate(e)}use(e){this.agent.use(e)}};function me(e){return typeof e==`string`&&(e={origin:e}),new pe(e)}le({},{format:()=>ge,test:()=>he});function he(e){return/^[[(]\d+\.\.\d+[\])]{1}$/.test(e)}function ge(e,t){let[n,r]=t.slice(1,-1).split(`..`);return[`${e}${t.startsWith(`(`)?`>`:`>=`}${n}`,`${e}${t.endsWith(`)`)?`<`:`<=`}${r}`]}var _e={title:`Discovery`,description:`What a Toa application serves`},M=typeof window>`u`?``:window.location.origin,ve=8002,ye=8003,be=Se(ve,`/.introspection/`),xe=Se(ye,`/.configuration/`);function Se(e,t){if(typeof window>`u`)return t;let{protocol:n,hostname:r}=window.location;return(Ce(r)?`${n}//${r}:${e}`:``)+t}function Ce(e){return e===`localhost`||e===`127.0.0.1`||e===`[::1]`||e.startsWith(`192.168.`)||e.startsWith(`172.16.`)||e.startsWith(`10.`)}var we=`1`;(()=>{let e=new Date(Number.parseInt(h)),t=e.getFullYear(),n=new Date(t,0,1).getTime(),r=new Date(t+1,0,1).getTime();return`${we}.${(t+(e.getTime()-n)/(r-n)).toFixed(4)}`})();var N=me({origin:M,sleep:void 0});console.info(`Origin connected`,M,`no sleep`);function Te(e){if(document.startViewTransition===void 0)return Promise.resolve(e?.());let t=e!==void 0;return t&&Me(),new Promise(n=>{let r=document.startViewTransition(async()=>{Oe(),n(await e?.())});r.finished.then(i,i),r.ready.catch(Ee);function i(){t&&Ne(),F()}})}function Ee(){}function De(e){if(!(e.type===`popstate`&&e.event.hasUAVisualTransition)&&document.startViewTransition!==void 0)return new Promise(t=>{let n=document.startViewTransition({types:[`route`],update:async()=>{Oe(),t(),await e.complete}});n.finished.then(F,F),n.ready.catch(Ee)})}var P=null;function Oe(){if(P===null)return;let e=P.el.style.viewTransitionName===P.name;P.el.style.viewTransitionName=e?``:P.name,P.el.style.viewTransitionClass=e?``:P.classes??``}function F(){P!==null&&P.el.style.viewTransitionName===P.name&&(ke(P),P=null)}function ke(e){e.el.style.viewTransitionName=``,e.el.style.viewTransitionClass=``}var Ae=x(!1),je=new Set;function Me(){Ae.set(!0);for(let e of je)e.original={name:e.node.style.viewTransitionName,classes:e.node.style.viewTransitionClass},e.node.style.viewTransitionName=e.options.name,e.options.classes!==void 0&&(e.node.style.viewTransitionClass=e.options.classes)}function Ne(){for(let e of je)e.original!==void 0&&(e.node.style.viewTransitionName=e.original.name,e.node.style.viewTransitionClass=e.original.classes);Ae.set(!1)}navigator.userAgent.toLowerCase().includes(`windows`);var Pe=/mac ?os|ios|ipad ?os/i.test(navigator.userAgentData?.platform??``)||/(Mac|iPhone|iPad|iPod)/.test(navigator.userAgent);/android/i.test(navigator.userAgent);var Fe=/(iPhone|iPad|iPod)/.test(navigator.userAgent),Ie=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);`ontouchstart`in window;var Le=window.matchMedia(`(display-mode: standalone)`).matches,Re=/PWAShell/i.test(navigator.userAgent);navigator.userAgent.match(/PWAShell\/(\S+)/)?.[1];var ze=!(`ontouchstart`in window);[`en-US`,`en-LR`,`en-MM`].includes(navigator.language),[`en-US`,`en-GB`,`en-CA`,`en-AU`,`en-NZ`,`en-IE`,`en-IN`,`en-LR`,`en-MM`].includes(navigator.language);function Be(e=navigator.userAgent){return[/FBAN|FBAV|FB_IAB/i,/Instagram/i,/Twitter/i,/Line/i,/LinkedIn/i,/Snapchat/i,/WhatsApp/i,/WeChat/i,/Messenger/i,/QQ/i,/Reddit/i,/Puffin/i,/TikTok/i,/musical.ly/i,/YouTube/i,/Pinterest/i,/Discord/i,/Telegram/i,/Viber/i,/Slack/i,/Signal/i,/KakaoTalk/i,/Baidu/i].some(t=>t.test(e))||(()=>{let t=RegExp(`(${[`WebView`,`(iPhone|iPod|iPad)(?!.*Safari/)`,`Android.*(wv)`,`(AppleWebKit)(?!.*Safari)`].join(`|`)})`,`ig`);return e.match(t)!==null})()||`TelegramWebviewProxy`in window||`TelegramWebviewProxyProto`in window||`TelegramWebview`in window}Be(navigator.userAgent);var Ve=new URLSearchParams;new URLSearchParams;function He(e){return Ve.get(e)}function Ue(e,t=24){return w(e,n=>{let r=Date.now(),i=setInterval(()=>a(),1e3/t);function a(){let t=e-(Date.now()-r);t>0?n(t):(n(0),clearInterval(i))}return a(),()=>clearInterval(i)})}var We=class{store;values;request;revalidate;stale;timestamp=0;constructor(e){this.store=x(null),this.values=e.values,this.request=e.get,this.revalidate=e.revalidate??Ke.revalidate,this.stale=e.stale??Ke.stale,e.persist!==void 0&&this.persist(e.persist),e.bind!==void 0&&this.bind(e.bind)}subscribe(e,t){return this.sync(),this.store.subscribe(e,t)}add(e){this.values?.set(e.id,e),this.store.update(t=>t===null||t instanceof Error?[e]:t.find(t=>t.id===e.id)===void 0?[e,...t]:t)}get(e,t){if(this.values===void 0)throw Error(`Collection: values is not defined`);return this.values.get(e,t)}extract(e){if(this.values===void 0)throw Error(`Collection: values is not defined`);return this.values.extract(e)}delete(e){this.values?.delete(e),this.store.update(t=>t===null||t instanceof Error?t:t.filter(t=>t.id!==e))}set(e,t){this.store.update(n=>{if(n===null||n instanceof Error)return[e];let r=n.findIndex(t=>t.id===e.id);return r===-1?t?.add===!0?[e,...n]:n:(n[r]=e,n)}),this.values?.set(e.id,e)}update(e,t,n){if(this.values===void 0)throw Error(`Collection: values is not defined`);let r=this.values.extract(e);if(r===null)return;let i=t(r)??r;this.set(i,n)}sync(){return(this.timestamp===0||this.timestamp+this.revalidate<Date.now())&&(this.stale||this.clear(),this.refresh()),this}async fetch(){return await this.refresh(),this}replace(e){let t=e;if(this.store.set(t),this.timestamp=Date.now(),this.values!==void 0)for(let e of t)this.values.set(e.id,e)}async refresh(){if(this.request===void 0)return;this.timestamp=Date.now();let e=await this.request();e instanceof Error?this.store.set(e):this.replace(e)}persist(e){if(typeof window>`u`)return;let t=this.load(e);if(t!==null&&(this.store.set(t),this.values?.persistent===!1))for(let e of t)this.values.set(e.id,e);this.store.subscribe(t=>{t instanceof Error||(t===null?localStorage.removeItem(e):localStorage.setItem(e,JSON.stringify(t)))})}load(e){if(typeof window>`u`)return null;let t=localStorage.getItem(e);if(t===null)return null;try{let n=JSON.parse(t);return Array.isArray(n)?n:(console.error(`Storage value for ${e} is not an array:`,n),null)}catch(t){return console.error(`Invalid storage value for ${e}`,t),null}}bind(e){e.subscribe(e=>{e===null&&this.clear()})}clear(){this.store.set(null),this.values?.clear(),this.timestamp=0}};function Ge(e){return new We(e)}var Ke={revalidate:3e5,stale:!1},qe=class{store;default;request;revalidate;timestamp=0;constructor(e){this.default=e.default??null,this.request=e.get,this.revalidate=e.revalidate??Xe.revalidate,this.store=e.persist===void 0||typeof window>`u`?x(this.default):Je(e.persist,this.default,e.session),e.bind&&this.bind(e.bind)}set(e){this.store.set(e)}update(e){this.store.update(t=>e(t))}subscribe(e,t){return this.sync(),this.store.subscribe(e,t)}extract(){return b(this.store)}sync(){this.request!==void 0&&this.timestamp+this.revalidate<Date.now()&&this.refresh()}async refresh(){if(this.request===void 0)return;this.timestamp=Date.now();let e=await this.request();e instanceof Error||this.set(e)}bind(e){e.subscribe(e=>{e===null&&this.store.set(this.default)})}};function I(e={}){return new qe(e)}function Je(e,t,n){let r=x(Ye(e)??t),i=n?`sessionStorage`:`localStorage`;return r.subscribe(t=>{t===null?window[i].removeItem(e):window[i].setItem(e,JSON.stringify(t))}),r}function Ye(e){let t=window.localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch(t){return console.error(`Invalid storage value for ${e}`,t),null}}var Xe={revalidate:3e5};function Ze(e,t){return new Promise(n=>{let r=!1,i=null;i=e.subscribe(e=>{t(e)&&(i?.(),r=!0,n(e))}),r&&i?.()})}function Qe(e){return Ze(e,e=>e!==null&&!(e instanceof Error))}var $e={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},et=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},tt=Symbol(`lucide-context`),nt=()=>d(tt),rt=new Set([`$$slots`,`$$events`,`$$legacy`,`name`,`color`,`size`,`strokeWidth`,`absoluteStrokeWidth`,`iconNode`,`children`]),it=T(`<svg><!><!></svg>`);function L(e,t){f(t,!0);let n=nt()??{},r=D(t,`color`,19,()=>n.color??`currentColor`),d=D(t,`size`,19,()=>n.size??24),h=D(t,`strokeWidth`,19,()=>n.strokeWidth??2),v=D(t,`absoluteStrokeWidth`,19,()=>n.absoluteStrokeWidth??!1),b=D(t,`iconNode`,19,()=>[]),x=g(t,rt),S=te(()=>v()?Number(h())*24/Number(d()):h());var C=it();ee(C,e=>({...$e,...e,...x,width:d(),height:d(),stroke:r(),"stroke-width":_(S),class:[`lucide-icon lucide`,n.class,t.name&&`lucide-${t.name}`,t.class]}),[()=>!t.children&&!et(x)&&{"aria-hidden":`true`}]);var w=s(C);i(w,17,b,l,(e,t)=>{var n=te(()=>p(_(t),2));let r=()=>_(n)[0],i=()=>_(n)[1];var a=E(),o=c(a);ae(o,r,!0,(e,t)=>{ee(e,()=>({...i()}))}),y(e,a)});var T=a(w);o(T,()=>t.children??m),O(C),y(e,C),u()}var at=new Set([`$$slots`,`$$events`,`$$legacy`]);function R(e,t){let n=g(t,at),r=[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`}]];L(e,ie({name:`loader-circle`},()=>n,{get iconNode(){return r}}))}var ot=new Set([`$$slots`,`$$events`,`$$legacy`]);function st(e,t){let n=g(t,ot),r=[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`}],[`path`,{d:`M3 3v5h5`}]];L(e,ie({name:`rotate-ccw`},()=>n,{get iconNode(){return r}}))}var ct=S(`<div class="m-auto flex flex-col items-center gap-4"><span class="text-destructive">Something went terribly wrong</span> <button class="p-4 border border-muted-foreground hover:bg-muted cursor-pointer rounded-md flex items-center gap-2"><!></button></div>`);function lt(e,t){let i=()=>re(t.store,`$store`,l),[l,u]=n(),d=D(t,`silent`,3,!1);var f=E(),p=c(f),m=e=>{var n=E(),i=c(n),a=e=>{var n=E(),r=c(n);o(r,()=>t.waiting),y(e,n)},s=e=>{R(e,{class:`animate-spin m-auto text-muted-foreground`})};r(i,e=>{t.waiting?e(a):d()||e(s,1)}),y(e,n)},h=e=>{var n=E(),l=c(n),u=e=>{var n=E(),r=c(n);o(r,()=>t.error,i),y(e,n)},f=e=>{var t=ct(),n=a(s(t),2);st(s(n),{size:16}),O(n),O(t),ne(`click`,n,()=>window.location.reload()),y(e,t)};r(l,e=>{t.error?e(u):d()||e(f,1)}),y(e,n)},g=e=>{var n=E(),r=c(n);o(r,()=>t.awaited,i),y(e,n)};r(p,e=>{i()===null?e(m):i()instanceof Error?e(h,1):e(g,-1)}),y(e,f),u()}C([`click`]);var z=I({persist:`auth:account`}),B=I({persist:`auth:challenge`,bind:z}),V=I({persist:`auth:method`}),H=x(!1),ut=x(!1),dt=v([B,z,H],([e,t,n])=>e!==null&&t!==null&&n===!1);function U(e){z.extract()?.id!==e.id&&z.set(null),z.set(e)}var ft=N.resource(`/identity/`);async function W(e){let t={method:`GET`};return e!==void 0&&(t.headers={authorization:e},t.credentials=`include`),ft.json(t)}var pt=N.resource(`/identity/basic/`,{credentials:`include`});async function mt(e,t){return await pt.json(e,{method:`POST`,body:t})}var ht=N.resource(`/accounts/otp/`);async function gt(e,t){return typeof e==`string`?await ht.json(e,{method:`POST`,body:t,credentials:`include`}):await ht.json({method:`POST`,body:e})}var _t=N.resource(`/identity/passkeys/`);async function vt(e,t){return typeof e==`string`?await _t.json(e,{method:`POST`,body:t,credentials:`include`}):await _t.json({method:`POST`,body:e})}var yt=N.resource(`/identity/federation/`,{credentials:`include`});async function bt(e,t){return await yt.json(e,{method:`POST`,body:t})}async function G(){let e=B.extract();if(e===null)return;let t=await W(e);if(t instanceof Error)return t;U(t)}function K(e,t){return e instanceof Error||(U(e),V.set(t)),e}var xt=I({persist:`auth:oidc:nonce`});function St(e,t){let{client:n,endpoint:r,type:i,scope:a}=e;if(n===void 0||n===``)throw Error(`Client ID is required`);let o=Ct(),s=new URLSearchParams({client_id:n,redirect_uri:window.location.origin+`/`,response_type:i,response_mode:`fragment`,scope:a,state:btoa(JSON.stringify({idp:t})),nonce:o});xt.set(o),window.location.href=r+`?`+s}function Ct(){return window.crypto?.randomUUID?.()??Math.random().toString(16).slice(2)}var wt=t.env,Tt=wt.PUBLIC_APPLE_CLIENT_ID,Et=wt.PUBLIC_GOOGLE_CLIENT_ID,Dt={apple:{iss:`https://appleid.apple.com`,endpoint:`https://appleid.apple.com/auth/authorize`,type:`code`,scope:`openid`,client:Tt},google:{iss:`https://accounts.google.com`,endpoint:`https://accounts.google.com/o/oauth2/v2/auth`,type:`id_token`,scope:`openid profile`,client:Et}};async function Ot(e){await kt();let t=await new Promise(t=>{window.google.accounts.oauth2.initCodeClient({client_id:e.client,scope:e.scope,ux_mode:`popup`,state:btoa(JSON.stringify({idp:`google`})),redirect_uri:window.location.origin+`/`,callback:async e=>{t(e)}}).requestCode()});return t?.code===void 0?Error(`NO_RESPONSE`,{cause:t}):t.code}function kt(){return new Promise((e,t)=>{if(window.google?.accounts?.oauth2!==void 0)return e(void 0);let n=document.createElement(`script`);n.src=`https://accounts.google.com/gsi/client`,n.async=!0,n.onload=()=>e(void 0),n.onerror=t,document.head.appendChild(n)})}var q=typeof window<`u`&&window;async function At(e){await jt(e);let t=await q.AppleID.auth.signIn().catch(e=>e);return t instanceof Error?t:t?.authorization===void 0?Error(`No authentication response received`,{cause:t}):t.authorization.code}function jt(e){if(q.AppleID===void 0)return new Promise((t,n)=>{let r=document.createElement(`script`);r.src=`https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js`,r.async=!0,r.onload=()=>{q.AppleID.auth.init({clientId:e.client,scope:e.scope,redirectURI:window.location.origin,state:btoa(JSON.stringify({idp:`apple`})),usePopup:!0}),t(void 0)},r.onerror=n,document.head.appendChild(r)})}var Mt={apple:At,google:Ot};async function Nt(e,t){let n=await Pt(e);return n instanceof Error?n:t===void 0?It(e,n):Ft(t,n)}async function Pt(e){let t=Mt[e]??St,n=Dt[e],r=await t(n,e);if(r instanceof Error)return console.error(`Authentication failed`,r),r;if(r===void 0)throw Error(`No authentication code received, redirect flow is not supported`);let i={code:r,iss:n.iss,for:window.location.origin};return btoa(JSON.stringify(i))}async function Ft(e,t){let n=await bt(e,{scheme:`code`,credentials:t});if(n instanceof Error)return n;G()}async function It(e,t){return K(await W(`Code `+t),e)}function Lt(){z.set(null)}async function Rt(e,t){return K(await W(`Basic `+btoa(`${e}:${t}`)),`password`)}async function zt(e,t){return await mt(e,t)}async function Bt(e,t){let n=await zt(e,t);if(n instanceof Error)return n;G()}async function Vt(e){return gt({email:e})}async function Ht(e,t){return await gt(e,{email:t})}async function Ut(e,t){return K(await W(`OTP `+btoa(`${e}:${t}`)),`password`)}var Wt=N.resource(`/identity/passkeys/challenges/`);async function Gt(e,t){let n={type:e};return t===void 0?await Wt.json(`.`,{method:`POST`,body:n}):await Wt.json(t,{method:`POST`,body:n})}var Kt=N.resource(`/identity/passkeys/`);async function qt(e){return await Kt.json(e,{credentials:`include`})}async function Jt(){return await qt((await Qe(z)).id)}Ge({get:Jt,persist:`identity:passkeys`,bind:z,stale:!0});function J(e){let t=(e+`=`.repeat((4-e.length%4)%4)).replace(/-/g,`+`).replace(/_/g,`/`),n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r.buffer}function Yt(e){return new TextEncoder().encode(e).buffer}function Y(e){return btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}function X({id:e,transports:t}){return{id:J(e),type:`public-key`,transports:t}}async function Xt(e,t){let n={challenge:J(t.challenge),timeout:t.timeout,authenticatorSelection:t.authenticatorSelection,pubKeyCredParams:t.pubKeyCredParams,rp:{name:`app`},user:{id:Yt(e.id),name:e.name,displayName:e.name},excludeCredentials:t.excludeCredentials.map(X)};return await navigator.credentials.create({publicKey:n}).catch(e=>e)}async function Zt(e){let t={timeout:e.timeout,challenge:J(e.challenge),allowCredentials:e.allowCredentials.map(X),userVerification:e.userVerification};return await navigator.credentials.get({publicKey:t})}async function Qt(e,t){let n=await Gt(`creation`,t);if(n instanceof Error)return n;let r=await Xt({id:n.identity,name:e},n);if(r instanceof Error)return r;if(r===null)throw Error(`No credential is created`);return{key:$t(r,e),identity:n.identity}}function $t(e,t){let n=e.response,r=n.getAuthenticatorData(),i=n.getTransports(),a=n.getPublicKeyAlgorithm(),o=n.getPublicKey(),s=e.getClientExtensionResults();if(o===null)throw Error(`No public key is created`);return{id:e.id,type:e.type,response:{attestationObject:Y(n.attestationObject),clientDataJSON:Y(n.clientDataJSON),authenticatorData:Y(r),transports:i,publicKeyAlgorithm:a,publicKey:Y(o)},authenticatorAttachment:e.authenticatorAttachment,clientExtensionResults:s,label:t}}async function en(e){let t=await Gt(`request`,e);if(t instanceof Error)return t;let n=Date.now(),r=await Zt(t).catch(e=>e);return r instanceof Error?r.name===`NotAllowedError`&&Date.now()-n<50?new nn:r:r===null?Error(`No credential given`):tn(r)}function tn(e){let t=e.response;return{id:e.id,type:e.type,response:{authenticatorData:Y(t.authenticatorData),clientDataJSON:Y(t.clientDataJSON),signature:Y(t.signature),userHandle:t.userHandle===null?null:Y(t.userHandle)},authenticatorAttachment:e.authenticatorAttachment,clientExtensionResults:e.getClientExtensionResults()}}var nn=class extends Error{constructor(){super(),this.name=this.constructor.name}},rn=typeof window>`u`||window.PublicKeyCredential!==void 0;async function an(e,t){let n=await Qt(e,t);if(n instanceof Error)return console.error(`Credential creation failed`,n),n;let r=await vt(n.identity,n.key);if(r instanceof Error)return console.error(`Credential registration failed`,r),r;let i=B.extract();return i===null?Error(`Unauthenticated`):K(await W(i),`passkey`)}async function on(e){let t=await en(e);if(t instanceof Error)return console.error(`Credential request failed`,t),t;let n=await vt(t);if(n instanceof Error)return console.error(`Credential verification failed`,n),n;let r=B.extract();return r===null?Error(`Unauthenticated`):K(await W(r),`passkey`)}var sn=N.resource(`/.discovery`);async function cn(){let e=b(B)!==null;return await sn.json({method:`OPTIONS`,...e?{credentials:`include`}:{}})}async function ln(e){let t=e.guarded&&b(B)!==null,n=await N.resource(e.path).json({method:e.verb,...e.body===void 0?{}:{body:e.body},...t?{credentials:`include`}:{}});if(n instanceof Error){let e=n.code;return{status:typeof e==`number`?e:0,body:n.cause??n.message,ok:!1}}return{status:(typeof n==`object`&&n?j(n):null)?.status??200,body:n,ok:!0}}var un=I({get:cn,persist:`discovery:tree`,bind:z}),dn=I({persist:`discovery:server`}),fn={"en-US":{native:`English`,locale:`en-US`,dir:`ltr`,nav:{identity:`Copy your account id`,markdown:`Download as Markdown`,mcp:`Copy the MCP address`,configuration:`Open Configuration`,introspection:`Open Introspection`,signin:`Sign in`,signout:`Sign out`,filter:`Filter resources`,back:`Back`}}},pn=[`en-US`];function mn(e){return pn.some(t=>t.startsWith(e))}function Z(e){return pn.find(t=>t.startsWith(e))??`en-US`}var Q=e((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.format=o,e.parse=s;var t=/^[\u0009\u0020-\u007e\u0080-\u00ff]*$/,n=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,r=/[\\"]/g,i=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,a=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function o(e){let{type:t,parameters:r}=e;if(!t||!i.test(t))throw TypeError(`Invalid type: ${t}`);let a=t;if(r)for(let e of Object.keys(r)){if(!n.test(e))throw TypeError(`Invalid parameter name: ${e}`);a+=`; ${e}=${y(r[e])}`}return a}function s(e,t){let n=t?.comma===!0?m:65536,r=e.length,i=_(e,t?.start??0,r),o=i;i=g(e,i,r,n);let s=v(e,o,i),c=e.slice(o,s).toLowerCase();return t?.parameters===!1?{type:c,index:i,parameters:new a}:h(e,c,i,r,n)}var c=32,l=9,u=59,d=61,f=34,p=92,m=44;function h(e,t,n,r,i){let o=new a;parameter:for(;n<r&&e.charCodeAt(n)!==i;){n=_(e,n+1,r);let t=n;for(;n<r;){let a=e.charCodeAt(n);if(a===i)break parameter;if(a===u)continue parameter;if(a===d){let a=v(e,t,n),s=e.slice(t,a).toLowerCase();if(n=_(e,n+1,r),n<r&&e.charCodeAt(n)===f){n++;let t=``;for(;n<r;){let a=e.charCodeAt(n++);if(a===f){n=g(e,n,r,i),o[s]===void 0&&(o[s]=t);break}t+=a===p&&n<r?e[n++]:String.fromCharCode(a)}continue parameter}let c=n;if(n=g(e,n,r,i),o[s]===void 0){let t=v(e,c,n);o[s]=e.slice(c,t)}continue parameter}n++}}return{type:t,index:n,parameters:o}}function g(e,t,n,r){for(;t<n;){let n=e.charCodeAt(t);if(n===u||n===r)break;t++}return t}function _(e,t,n){for(;t<n;){let n=e.charCodeAt(t);if(n!==c&&n!==l)break;t++}return t}function v(e,t,n){for(;n>t;){let t=e.charCodeAt(n-1);if(t!==c&&t!==l)break;n--}return n}function y(e){if(n.test(e))return e;if(t.test(e))return`"${e.replace(r,`\\$&`)}"`;throw TypeError(`Invalid parameter value: ${e}`)}})),$=e(((e,t)=>{var n=Q();t.exports=r;function r(e){for(var t=[],r=0;r<e.length;){var a=i(e,r),o=n.parse(e,{comma:!0,start:a});o.type=e.slice(a,a+o.type.length),t.push(o),r=o.index+1}return t}function i(e,t){for(var n=t;e.charCodeAt(n)===32||e.charCodeAt(n)===9;)n++;return n}})),hn=e(((e,t)=>{var n=$();t.exports=s,t.exports.preferredCharsets=s;function r(e){for(var t=n(e),r=0,a=0;r<t.length;r++){var o=i(t[r],r);o&&(t[a++]=o)}return t.length=a,t}function i(e,t){return e.type?{charset:e.type,q:e.parameters.q?parseFloat(e.parameters.q):1,i:t}:null}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(t.charset!==`*`)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e===void 0?`*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.charset}function u(e){return e.q>0}})),gn=e(((e,t)=>{var n=$();t.exports=s,t.exports.preferredEncodings=s;function r(e){for(var t=n(e),r=!1,a=1,s=0,c=0;s<t.length;s++){var l=i(t[s],s);l&&(t[c++]=l,r||=o(`identity`,l),a=Math.min(a,l.q||1))}return r||(t[c++]={encoding:`identity`,q:a,i:s}),t.length=c,t}function i(e,t){return e.type?{encoding:e.type,q:e.parameters.q?parseFloat(e.parameters.q):1,i:t}:null}function a(e,t,n){for(var r={encoding:e,o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(t.encoding!==`*`)return null;return{encoding:e,i:n,o:t.i,q:t.q,s:r}}function s(e,t,n){var i=r(e||``),o=n?function(e,t){if(e.q!==t.q)return t.q-e.q;var r=n.indexOf(e.encoding),i=n.indexOf(t.encoding);return r===-1&&i===-1?t.s-e.s||e.o-t.o||e.i-t.i:r!==-1&&i!==-1?r-i:r===-1?1:-1}:c;if(!t)return i.filter(u).sort(o).map(l);var s=t.map(function(e,t){return a(e,i,t)});return s.filter(u).sort(o).map(function(e){return t[s.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i}function l(e){return e.encoding}function u(e){return e.q>0}})),_n=e(((e,t)=>{var n=Q(),r=$();t.exports=c,t.exports.preferredLanguages=c;function i(e){for(var t=r(e),n=0,i=0;n<t.length;n++){var o=a(t[n],n);o&&(t[i++]=o)}return t.length=i,t}function a(e,t){if(!e.type)return null;var n=e.type.indexOf(`-`);return{prefix:n===-1?e.type:e.type.slice(0,n),suffix:n===-1?void 0:e.type.slice(n+1),q:e.parameters.q?parseFloat(e.parameters.q):1,i:t,full:e.type}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=s(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function s(e,t,r){var i=a(n.parse(e),0);if(!i)return null;var o=0;if(t.full.toLowerCase()===i.full.toLowerCase())o|=4;else if(t.prefix.toLowerCase()===i.full.toLowerCase())o|=2;else if(t.full.toLowerCase()===i.prefix.toLowerCase())o|=1;else if(t.full!==`*`)return null;return{i:r,o:t.i,q:t.q,s:o}}function c(e,t){var n=i(e===void 0?`*`:e||``);if(!t)return n.filter(d).sort(l).map(u);var r=t.map(function(e,t){return o(e,n,t)});return r.filter(d).sort(l).map(function(e){return t[r.indexOf(e)]})}function l(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.full}function d(e){return e.q>0}})),vn=e(((e,t)=>{var n=Q(),r=$();t.exports=c,t.exports.preferredMediaTypes=c;function i(e){for(var t=r(e),n=0,i=0;n<t.length;n++){var o=a(t[n],n);o&&(t[i++]=o)}return t.length=i,t}function a(e,t){var n=e.type.indexOf(`/`);if(n===-1)return null;var r=e.parameters.q?parseFloat(e.parameters.q):1;return delete e.parameters.q,{type:e.type.slice(0,n),subtype:e.type.slice(n+1),params:e.parameters,q:r,i:t}}function o(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=s(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function s(e,t,r){var i=a(n.parse(e),0),o=0;if(!i)return null;if(t.type.toLowerCase()==i.type.toLowerCase())o|=4;else if(t.type!=`*`)return null;if(t.subtype.toLowerCase()==i.subtype.toLowerCase())o|=2;else if(t.subtype!=`*`)return null;var s=Object.keys(t.params);if(s.length>0){if(s.every(function(e){return t.params[e]==`*`||(t.params[e]||``).toLowerCase()==(i.params[e]||``).toLowerCase()}))o|=1;else return null}return{i:r,o:t.i,q:t.q,s:o}}function c(e,t){var n=i(e===void 0?`*/*`:e||``);if(!t)return n.filter(d).sort(l).map(u);var r=t.map(function(e,t){return o(e,n,t)});return r.filter(d).sort(l).map(function(e){return t[r.indexOf(e)]})}function l(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function u(e){return e.type+`/`+e.subtype}function d(e){return e.q>0}}));e(((e,t)=>{var n=hn(),r=gn(),i=_n(),a=vn();t.exports=o,t.exports.Negotiator=o;function o(e){if(!(this instanceof o))return new o(e);this.request=e}o.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},o.prototype.charsets=function(e){return n(this.request.headers[`accept-charset`],e)},o.prototype.encoding=function(e,t){var n=this.encodings(e,t);return n&&n[0]},o.prototype.encodings=function(e,t){var n=t||{};return r(this.request.headers[`accept-encoding`],e,n.preferred)},o.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},o.prototype.languages=function(e){return i(this.request.headers[`accept-language`],e)},o.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},o.prototype.mediaTypes=function(e){return a(this.request.headers.accept,e)},o.prototype.preferredCharset=o.prototype.charset,o.prototype.preferredCharsets=o.prototype.charsets,o.prototype.preferredEncoding=o.prototype.encoding,o.prototype.preferredEncodings=o.prototype.encodings,o.prototype.preferredLanguage=o.prototype.language,o.prototype.preferredLanguages=o.prototype.languages,o.prototype.preferredMediaType=o.prototype.mediaType,o.prototype.preferredMediaTypes=o.prototype.mediaTypes}))();var yn=`en-US`,bn=I({persist:`intl:selected`}),xn=v([z,bn],([e,t])=>t?Z(t):Sn()||(e?.locale!==void 0&&mn(e.locale)?Z(e.locale):yn));v(z,e=>e?.grammar??`none`);function Sn(){if(typeof navigator<`u`){for(let e of navigator.languages)if(mn(e))return Z(e)}return null}var Cn=v(xn,e=>fn[e]);export{Pe as A,be as B,V as C,L as D,R as E,Le as F,M as H,De as I,Te as L,Fe as M,Ie as N,Ue as O,Re as P,N as R,ut as S,lt as T,j as U,_e as V,Dt as _,ln as a,dt as b,an as c,Vt as d,Ut as f,Nt as g,Lt as h,un as i,ze as j,He as k,rn as l,Rt as m,xn as n,cn as o,Bt as p,dn as r,on as s,Cn as t,Ht as u,G as v,H as w,B as x,z as y,xe as z};
@@ -0,0 +1 @@
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t,t.exports),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));export{s as n,l as r,o as t};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/.discovery/_app/immutable/nodes/0.BufbmJeT.js","/.discovery/_app/immutable/chunks/XKyaHtl9.js","/.discovery/_app/immutable/chunks/C3gnuDhG.js","/.discovery/_app/immutable/entry/payload.DSmR2FwN.js","/.discovery/_app/immutable/chunks/DYI4yOrv.js","/.discovery/_app/immutable/chunks/Bt6Kyh95.js","/.discovery/_app/immutable/chunks/-39mDws-.js","/.discovery/_app/immutable/assets/0.DKJjMwRs.css","/.discovery/_app/immutable/nodes/1.Dn_85faQ.js","/.discovery/_app/immutable/nodes/2.DCLYeX2U.js","/.discovery/_app/immutable/chunks/1WXXcBlU.js","/.discovery/_app/immutable/assets/ui.DWW-43mU.css","/.discovery/_app/immutable/assets/2.BghF56l_.css","/.discovery/_app/immutable/nodes/3.aoe4R-SX.js","/.discovery/_app/immutable/nodes/4.B0CiB3ml.js","/.discovery/_app/immutable/nodes/5.BUrdbysb.js","/.discovery/_app/immutable/nodes/6.yNbGQqYT.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"../chunks/CRzLMJPS.js";var t={},n=[()=>e(()=>import(`../nodes/0.BufbmJeT.js`),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),()=>e(()=>import(`../nodes/1.Dn_85faQ.js`),__vite__mapDeps([8,2,3,6]),import.meta.url),()=>e(()=>import(`../nodes/2.DCLYeX2U.js`),__vite__mapDeps([9,1,2,3,4,5,10,6,11,12]),import.meta.url),()=>e(()=>import(`../nodes/3.aoe4R-SX.js`),__vite__mapDeps([13,1,2,3,10,4,5,6,11]),import.meta.url),()=>e(()=>import(`../nodes/4.B0CiB3ml.js`),__vite__mapDeps([14,1,2,3,10,4,5,6,11]),import.meta.url),()=>e(()=>import(`../nodes/5.BUrdbysb.js`),__vite__mapDeps([15,1,2,3,10,4,5,6,11]),import.meta.url),()=>e(()=>import(`../nodes/6.yNbGQqYT.js`),__vite__mapDeps([16,1,2,3,10,4,5,6,11]),import.meta.url)],r=[],i={"/":[2],"/authentication":[3],"/multipart":[4],"/queries":[5],"/status":[6]},a={handleError:(({kind:e,error:t})=>{e===`unknown`&&console.error(t)}),reroute:(()=>{}),transport:{}},o=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.decode])),s=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.encode])),c=!1,l=(e,t)=>o[e](t),u=()=>e(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{l as decode,o as decoders,i as dictionary,s as encoders,u as get_error_template,c as hash,a as hooks,t as matchers,n as nodes,r as server_loads};
@@ -0,0 +1 @@
1
+ var e={};function t(t){e=t}export{e as payload,t as set_payload};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/.discovery/_app/immutable/chunks/BjwH--Q_.js","/.discovery/_app/immutable/chunks/Bt6Kyh95.js","/.discovery/_app/immutable/entry/payload.DSmR2FwN.js","/.discovery/_app/immutable/chunks/C3gnuDhG.js"])))=>i.map(i=>d[i]);
2
+ import{set_payload as e}from"./payload.DSmR2FwN.js";import{t}from"../chunks/CRzLMJPS.js";var n;function r(r){e(r),n??=t(()=>import(`../chunks/BjwH--Q_.js`),__vite__mapDeps([0,1,2,3]),import.meta.url)}async function i(...e){return(await n).start(...e)}async function a(...e){return(await n).load_css(...e)}export{r as init,a as load_css,i as start};
@@ -0,0 +1 @@
1
+ import{n as e}from"../chunks/XKyaHtl9.js";import{C as t,J as n,M as r,Pt as i,R as a,Ut as o,Wt as s,_t as c,bt as l,et as u,ht as d,jt as f,kt as p,nt as m,t as h,tt as g,vt as _,w as v}from"../chunks/C3gnuDhG.js";import{I as y,R as b,V as x,b as S,i as C,k as w,o as T,r as E,t as D,v as O,x as k}from"../chunks/DYI4yOrv.js";import{n as A}from"../chunks/Bt6Kyh95.js";import"../chunks/-39mDws-.js";function j(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return atob(t.padEnd(t.length+(4-t.length%4)%4,`=`))}function M(){let e=w(`challenge`);return e===null?null:j(e)}function N(){b.events.on(`challenge`,e=>k.set(e)),b.events.on(`error`,e=>{e.code===401&&k.set(null)}),k.subscribe(e=>b.authenticate(e));let e=M();e!==null&&k.set(e),O()}function P(){b.events.on(`response`,({headers:e})=>{let t=e.get(`exposition`);if(t===null)return;let n=e.get(`server`);E.set(n===null?t:`${t} ${n}`)});let e;S.subscribe(t=>{e===void 0?e=t:t!==e&&(e=t,F())})}async function F(){let e=await T();e instanceof Error||C.set(e)}var I=e({prerender:()=>!1,ssr:()=>!1,trailingSlash:()=>L});N(),P();var L=`always`,R=m(`<meta name="description"/>`);function z(e,m){s(m,!0);let b=()=>v(D,`$dict`,S),[S,C]=t(),w=p(()=>h.data.meta?.title??x.title),T=p(()=>h.data.meta?.description??x.description);A(y),_(()=>{document.dir=b().dir});var E=g();a(`12qhfyh`,e=>{var t=R();c(()=>r(t,`content`,l(T))),d(()=>{f.title=l(w)??``}),u(e,t)});var O=i(E);n(O,()=>m.children),u(e,E),o(),C()}export{z as component,I as universal};
@@ -0,0 +1 @@
1
+ import{Ft as e,It as t,Pt as n,Ut as r,Wt as i,Z as a,_t as o,et as s,nt as c,t as l}from"../chunks/C3gnuDhG.js";import"../chunks/-39mDws-.js";var u=c(`<h1> </h1> <p> </p>`,1);function d(c,d){i(d,!0);var f=u(),p=n(f),m=e(p,!0),h=t(p,2),g=e(h,!0);o(()=>{a(m,l.status),a(g,l.error?.message)}),s(c,f),r()}export{d as component};