@lazyapps/admin-ui 0.0.0-init.0 → 0.2.0-branch-admin-replay-20260220105925

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 (121) hide show
  1. package/LICENSE +15 -0
  2. package/build/client/_app/immutable/chunks/StatusBadge.DecyJq-K.js +1 -0
  3. package/build/client/_app/immutable/chunks/StatusBadge.DecyJq-K.js.br +0 -0
  4. package/build/client/_app/immutable/chunks/StatusBadge.DecyJq-K.js.gz +0 -0
  5. package/build/client/_app/immutable/chunks/attributes.DNhq2NOS.js +2 -0
  6. package/build/client/_app/immutable/chunks/attributes.DNhq2NOS.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/attributes.DNhq2NOS.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/attributes.EWP7LHVR.js +1 -0
  9. package/build/client/_app/immutable/chunks/attributes.EWP7LHVR.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/attributes.EWP7LHVR.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/branches.AspTl11T.js +1 -0
  12. package/build/client/_app/immutable/chunks/branches.AspTl11T.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/branches.AspTl11T.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/browser-fallback.-TS2BfOP.js +1 -0
  15. package/build/client/_app/immutable/chunks/browser-fallback.-TS2BfOP.js.br +2 -0
  16. package/build/client/_app/immutable/chunks/browser-fallback.-TS2BfOP.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/disclose-version.wiZKqWq_.js +3 -0
  18. package/build/client/_app/immutable/chunks/disclose-version.wiZKqWq_.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/disclose-version.wiZKqWq_.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/each.B2GUMkbA.js +1 -0
  21. package/build/client/_app/immutable/chunks/each.B2GUMkbA.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/each.B2GUMkbA.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/environment.Bosi_-dm.js +1 -0
  24. package/build/client/_app/immutable/chunks/environment.Bosi_-dm.js.br +2 -0
  25. package/build/client/_app/immutable/chunks/environment.Bosi_-dm.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/if.C4x3Unkx.js +1 -0
  27. package/build/client/_app/immutable/chunks/if.C4x3Unkx.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/if.C4x3Unkx.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/index-client.RxGVicQn.js +36 -0
  30. package/build/client/_app/immutable/chunks/index-client.RxGVicQn.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/index-client.RxGVicQn.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/props.C2sC4BdM.js +1 -0
  33. package/build/client/_app/immutable/chunks/props.C2sC4BdM.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/props.C2sC4BdM.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/render.aSHX1YpI.js +2 -0
  36. package/build/client/_app/immutable/chunks/render.aSHX1YpI.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/render.aSHX1YpI.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/singletons.DwXhoGan.js +1 -0
  39. package/build/client/_app/immutable/chunks/singletons.DwXhoGan.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/singletons.DwXhoGan.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/store.B-Onzqul.js +1 -0
  42. package/build/client/_app/immutable/chunks/store.B-Onzqul.js.br +0 -0
  43. package/build/client/_app/immutable/chunks/store.B-Onzqul.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/utils.FPV-Nskp.js +1 -0
  45. package/build/client/_app/immutable/chunks/utils.FPV-Nskp.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/utils.FPV-Nskp.js.gz +0 -0
  47. package/build/client/_app/immutable/entry/app.DQlHB6fo.js +23 -0
  48. package/build/client/_app/immutable/entry/app.DQlHB6fo.js.br +0 -0
  49. package/build/client/_app/immutable/entry/app.DQlHB6fo.js.gz +0 -0
  50. package/build/client/_app/immutable/entry/start.BYq_hIeY.js +13 -0
  51. package/build/client/_app/immutable/entry/start.BYq_hIeY.js.br +0 -0
  52. package/build/client/_app/immutable/entry/start.BYq_hIeY.js.gz +0 -0
  53. package/build/client/_app/immutable/nodes/0.O7eweRRE.js +1 -0
  54. package/build/client/_app/immutable/nodes/0.O7eweRRE.js.br +0 -0
  55. package/build/client/_app/immutable/nodes/0.O7eweRRE.js.gz +0 -0
  56. package/build/client/_app/immutable/nodes/1.BpApC4sb.js +1 -0
  57. package/build/client/_app/immutable/nodes/1.BpApC4sb.js.br +0 -0
  58. package/build/client/_app/immutable/nodes/1.BpApC4sb.js.gz +0 -0
  59. package/build/client/_app/immutable/nodes/2.DN5MvnO-.js +1 -0
  60. package/build/client/_app/immutable/nodes/2.DN5MvnO-.js.br +0 -0
  61. package/build/client/_app/immutable/nodes/2.DN5MvnO-.js.gz +0 -0
  62. package/build/client/_app/immutable/nodes/3.CYX5dsUE.js +1 -0
  63. package/build/client/_app/immutable/nodes/3.CYX5dsUE.js.br +0 -0
  64. package/build/client/_app/immutable/nodes/3.CYX5dsUE.js.gz +0 -0
  65. package/build/client/_app/immutable/nodes/4.3cK7J6-j.js +1 -0
  66. package/build/client/_app/immutable/nodes/4.3cK7J6-j.js.br +0 -0
  67. package/build/client/_app/immutable/nodes/4.3cK7J6-j.js.gz +0 -0
  68. package/build/client/_app/immutable/nodes/5.C1mAk_eh.js +1 -0
  69. package/build/client/_app/immutable/nodes/5.C1mAk_eh.js.br +0 -0
  70. package/build/client/_app/immutable/nodes/5.C1mAk_eh.js.gz +0 -0
  71. package/build/client/_app/immutable/nodes/6.BPgB7S1N.js +1 -0
  72. package/build/client/_app/immutable/nodes/6.BPgB7S1N.js.br +0 -0
  73. package/build/client/_app/immutable/nodes/6.BPgB7S1N.js.gz +0 -0
  74. package/build/client/_app/version.json +1 -0
  75. package/build/client/_app/version.json.br +0 -0
  76. package/build/client/_app/version.json.gz +0 -0
  77. package/build/env.js +43 -0
  78. package/build/handler.js +1334 -0
  79. package/build/index.js +323 -0
  80. package/build/server/chunks/0-CJFJhwYt.js +32 -0
  81. package/build/server/chunks/0-CJFJhwYt.js.map +1 -0
  82. package/build/server/chunks/1-D9eeAdNS.js +9 -0
  83. package/build/server/chunks/1-D9eeAdNS.js.map +1 -0
  84. package/build/server/chunks/2--dOsqGMo.js +9 -0
  85. package/build/server/chunks/2--dOsqGMo.js.map +1 -0
  86. package/build/server/chunks/3-ClVpvm7k.js +9 -0
  87. package/build/server/chunks/3-ClVpvm7k.js.map +1 -0
  88. package/build/server/chunks/4-CrOQbWKP.js +20 -0
  89. package/build/server/chunks/4-CrOQbWKP.js.map +1 -0
  90. package/build/server/chunks/5-BLJSVNB0.js +20 -0
  91. package/build/server/chunks/5-BLJSVNB0.js.map +1 -0
  92. package/build/server/chunks/6-BnxzCY_r.js +20 -0
  93. package/build/server/chunks/6-BnxzCY_r.js.map +1 -0
  94. package/build/server/chunks/_layout.svelte-dk13eKcK.js +67 -0
  95. package/build/server/chunks/_layout.svelte-dk13eKcK.js.map +1 -0
  96. package/build/server/chunks/_page.svelte-41C0B0C9.js +25 -0
  97. package/build/server/chunks/_page.svelte-41C0B0C9.js.map +1 -0
  98. package/build/server/chunks/_page.svelte-D_ZMVCxi.js +20 -0
  99. package/build/server/chunks/_page.svelte-D_ZMVCxi.js.map +1 -0
  100. package/build/server/chunks/_page.svelte-DgCP0pJ3.js +17 -0
  101. package/build/server/chunks/_page.svelte-DgCP0pJ3.js.map +1 -0
  102. package/build/server/chunks/_page.svelte-Dpc1uEB5.js +90 -0
  103. package/build/server/chunks/_page.svelte-Dpc1uEB5.js.map +1 -0
  104. package/build/server/chunks/_page.svelte-UfmELSpG.js +17 -0
  105. package/build/server/chunks/_page.svelte-UfmELSpG.js.map +1 -0
  106. package/build/server/chunks/context-CXhJZien.js +48 -0
  107. package/build/server/chunks/context-CXhJZien.js.map +1 -0
  108. package/build/server/chunks/error.svelte-D4qgBm8w.js +34 -0
  109. package/build/server/chunks/error.svelte-D4qgBm8w.js.map +1 -0
  110. package/build/server/chunks/index-BSMNZNZI.js +3163 -0
  111. package/build/server/chunks/index-BSMNZNZI.js.map +1 -0
  112. package/build/server/chunks/shared-server-DIsQ43MR.js +15 -0
  113. package/build/server/chunks/shared-server-DIsQ43MR.js.map +1 -0
  114. package/build/server/index.js +4629 -0
  115. package/build/server/index.js.map +1 -0
  116. package/build/server/manifest.js +73 -0
  117. package/build/server/manifest.js.map +1 -0
  118. package/build/shims.js +32 -0
  119. package/package.json +37 -7
  120. package/svelte.config.js +1 -1
  121. package/Dockerfile +0 -7
package/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2026, Oliver Sturm
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1 @@
1
+ import{d as n,f as c}from"./disclose-version.wiZKqWq_.js";import{h as i,z as p,A as b,B as f,g as u,O as d}from"./index-client.RxGVicQn.js";import{s as x}from"./render.aSHX1YpI.js";import{a as m}from"./attributes.DNhq2NOS.js";function y(e,s,t,l,r,a){var o=e.__className;if(i||o!==t||o===void 0){var g=m(t,l,a);(!i||g!==e.getAttribute("class"))&&(g==null?e.removeAttribute("class"):e.className=g),e.__className=t}return a}var v=c("<span> </span>");function N(e,s){const t={active:"bg-green-100 text-green-800",idle:"bg-gray-100 text-gray-800",replaying:"bg-yellow-100 text-yellow-800",in_progress:"bg-yellow-100 text-yellow-800",prepared:"bg-blue-100 text-blue-800",completed:"bg-green-100 text-green-800",cancelled:"bg-gray-100 text-gray-600",error:"bg-red-100 text-red-800",started:"bg-blue-100 text-blue-800",cancelling:"bg-orange-100 text-orange-800"};let l=d(()=>t[s.status]||"bg-gray-100 text-gray-800");var r=v(),a=p(r,!0);b(r),f(()=>{y(r,1,`inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-medium ${u(l)??""}`),x(a,s.status)}),n(e,r)}export{N as S};
@@ -0,0 +1,2 @@
1
+ const d=/[&"<]/g;function v(r,n){const t=String(r??""),f=d;f.lastIndex=0;let i="",u=0;for(;f.test(t);){const s=f.lastIndex-1,o=t[s];i+=t.substring(u,s)+(o==="&"?"&amp;":o==='"'?"&quot;":"&lt;"),u=s+1}return i+t.substring(u)}function $(r){var n,t,f="";if(typeof r=="string"||typeof r=="number")f+=r;else if(typeof r=="object")if(Array.isArray(r)){var i=r.length;for(n=0;n<i;n++)r[n]&&(t=$(r[n]))&&(f&&(f+=" "),f+=t)}else for(t in r)r[t]&&(f&&(f+=" "),f+=t);return f}function E(){for(var r,n,t=0,f="",i=arguments.length;t<i;t++)(r=arguments[t])&&(n=$(r))&&(f&&(f+=" "),f+=n);return f}const b={translate:new Map([[!0,"yes"],[!1,"no"]])};function I(r,n,t=!1){if(r==="hidden"&&n!=="until-found"&&(t=!0),n==null||!n&&t)return"";const f=r in b&&b[r].get(n)||n,i=t?"":`="${v(f)}"`;return` ${r}${i}`}function R(r){return typeof r=="object"?E(r):r??""}const A=[...`
2
+ \r\f \v\uFEFF`];function T(r,n,t){var f=r==null?"":""+r;if(n&&(f=f?f+" "+n:n),t){for(var i in t)if(t[i])f=f?f+" "+i:i;else if(f.length)for(var u=i.length,s=0;(s=f.indexOf(i,s))>=0;){var o=s+u;(s===0||A.includes(f[s-1]))&&(o===f.length||A.includes(f[o]))?f=(s===0?"":f.substring(0,s))+f.substring(o+1):s=o}}return f===""?null:f}function j(r,n=!1){var t=n?" !important;":";",f="";for(var i in r){var u=r[i];u!=null&&u!==""&&(f+=" "+i+": "+u+t)}return f}function p(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function q(r,n){if(n){var t="",f,i;if(Array.isArray(n)?(f=n[0],i=n[1]):f=n,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var u=!1,s=0,o=!1,a=[];f&&a.push(...Object.keys(f).map(p)),i&&a.push(...Object.keys(i).map(p));var e=0,l=-1;const h=r.length;for(var g=0;g<h;g++){var c=r[g];if(o?c==="/"&&r[g-1]==="*"&&(o=!1):u?u===c&&(u=!1):c==="/"&&r[g+1]==="*"?o=!0:c==='"'||c==="'"?u=c:c==="("?s++:c===")"&&s--,!o&&u===!1&&s===0){if(c===":"&&l===-1)l=g;else if(c===";"||g===h-1){if(l!==-1){var O=p(r.substring(e,l).trim());if(!a.includes(O)){c!==";"&&g++;var S=r.substring(e,g).trim();t+=" "+S+";"}}e=g+1,l=-1}}}}return f&&(t+=j(f)),i&&(t+=j(i,!0)),t=t.trim(),t===""?null:t}return r==null?null:String(r)}export{T as a,I as b,R as c,q as t};
@@ -0,0 +1 @@
1
+ import{h as u,aE as d,D as h,aF as g,aG as v,aH as l,q as p,aI as A,aJ as L}from"./index-client.RxGVicQn.js";const y=Symbol("is custom element"),M=Symbol("is html");function m(r){if(u){var s=!1,e=()=>{if(!s){if(s=!0,r.hasAttribute("value")){var a=r.value;i(r,"value",null),r.value=a}if(r.hasAttribute("checked")){var t=r.checked;i(r,"checked",null),r.checked=t}}};r.__on_r=e,p(e),A()}}function i(r,s,e,a){var t=T(r);if(u&&(t[s]=r.getAttribute(s),s==="src"||s==="srcset"||s==="href"&&r.nodeName==="LINK")){I(r,s,e??"");return}t[s]!==(t[s]=e)&&(s==="loading"&&(r[L]=e),e==null?r.removeAttribute(s):typeof e!="string"&&E(r).includes(s)?r[s]=e:r.setAttribute(s,e))}function T(r){return r.__attributes??={[y]:r.nodeName.includes("-"),[M]:r.namespaceURI===d}}var _=new Map;function E(r){var s=r.getAttribute("is")||r.nodeName,e=_.get(s);if(e)return e;_.set(s,e=[]);for(var a,t=r,n=Element.prototype;n!==t;){a=l(t);for(var o in a)a[o].set&&e.push(o);t=v(t)}return e}function I(r,s,e){h&&(s==="srcset"&&S(r,e)||c(r.getAttribute(s)??"",e)||g(s,r.outerHTML.replace(r.innerHTML,r.innerHTML&&"..."),String(e)))}function c(r,s){return r===s?!0:new URL(r,document.baseURI).href===new URL(s,document.baseURI).href}function f(r){return r.split(",").map(s=>s.trim().split(" ").filter(Boolean))}function S(r,s){var e=f(r.srcset),a=f(s);return a.length===e.length&&a.every(([t,n],o)=>n===e[o][1]&&(c(e[o][0],t)||c(t,e[o][0])))}export{m as r,i as s};
@@ -0,0 +1 @@
1
+ import{R as n,av as u,aA as o,aw as m,ae as d,am as l,h as p,aj as v,aK as _,ao as b}from"./index-client.RxGVicQn.js";class w{anchor;#t=new Map;#s=new Map;#e=new Map;#a=new Set;#i=!0;constructor(e,s=!0){this.anchor=e,this.#i=s}#h=()=>{var e=n;if(this.#t.has(e)){var s=this.#t.get(e),t=this.#s.get(s);if(t)u(t),this.#a.delete(s);else{var i=this.#e.get(s);i&&(this.#s.set(s,i.effect),this.#e.delete(s),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),t=i.effect)}for(const[a,h]of this.#t){if(this.#t.delete(a),a===e)break;const f=this.#e.get(h);f&&(o(f.effect),this.#e.delete(h))}for(const[a,h]of this.#s){if(a===s||this.#a.has(a))continue;const f=()=>{if(Array.from(this.#t.values()).includes(a)){var c=document.createDocumentFragment();_(h,c),c.append(d()),this.#e.set(a,{effect:h,fragment:c})}else o(h);this.#a.delete(a),this.#s.delete(a)};this.#i||!t?(this.#a.add(a),m(h,f,!1)):f()}}};#f=e=>{this.#t.delete(e);const s=Array.from(this.#t.values());for(const[t,i]of this.#e)s.includes(t)||(o(i.effect),this.#e.delete(t))};ensure(e,s){var t=n,i=b();if(s&&!this.#s.has(e)&&!this.#e.has(e))if(i){var a=document.createDocumentFragment(),h=d();a.append(h),this.#e.set(e,{effect:l(()=>s(h)),fragment:a})}else this.#s.set(e,l(()=>s(this.anchor)));if(this.#t.set(t,e),i){for(const[f,r]of this.#s)f===e?t.unskip_effect(r):t.skip_effect(r);for(const[f,r]of this.#e)f===e?t.unskip_effect(r.effect):t.skip_effect(r.effect);t.oncommit(this.#h),t.ondiscard(this.#f)}else p&&(this.anchor=v),this.#h()}}export{w as B};
@@ -0,0 +1 @@
1
+ const e=typeof window<"u";export{e as B};
@@ -0,0 +1,2 @@
1
+ ��const e=typeof window<"u";export{e as B};
2
+ 
@@ -0,0 +1,3 @@
1
+ import{D as f,ad as c,b9 as x,ba as E,bb as g,a3 as d,h as u,aj as s,bc as b,b as w,ae as l,bd as y,ac as T,be as C}from"./index-client.RxGVicQn.js";function N(e){if(f){const t=new Error(`lifecycle_outside_component
2
+ \`${e}(...)\` can only be used during component initialisation
3
+ https://svelte.dev/e/lifecycle_outside_component`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/lifecycle_outside_component")}var r=null;function L(e){r=e}function O(e){return _("getContext").get(e)}function P(e,t){return _("setContext").set(e,t),t}function _(e){return r===null&&N(e),r.c??=new Map(M(r)||void 0)}function R(e){r={p:r,c:null,r:null},f&&(r.function=e,r.element=r.p?.element)}function S(){r=r.p}function M(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}function A(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function o(e,t){var n=d;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function I(e,t){var n=(t&E)!==0,m=(t&g)!==0,a,p=!e.startsWith("<!>");return()=>{if(u)return o(s,null),s;a===void 0&&(a=A(p?e:"<!>"+e),n||(a=c(a)));var i=m||x?document.importNode(a,!0):a.cloneNode(!0);if(n){var v=c(i),h=i.lastChild;o(v,h)}else o(i,i);return i}}function U(e=""){if(!u){var t=l(e+"");return o(t,t),t}var n=s;return n.nodeType!==y?(n.before(n=l()),T(n)):C(n),o(n,n),n}function V(){if(u)return o(s,null),s;var e=document.createDocumentFragment(),t=document.createComment(""),n=l();return e.append(t,n),o(t,n),e}function j(e,t){if(u){var n=d;(!(n.f&b)||n.nodes.end===null)&&(n.nodes.end=s),w();return}e!==null&&e.before(t)}const D="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(D);export{r as a,S as b,P as c,j as d,V as e,I as f,O as g,o as h,R as p,L as s,U as t};
@@ -0,0 +1 @@
1
+ import{h as x,ac as H,ad as $,ae as O,b as j,c as ee,g as V,af as ae,ag as ne,ah as U,ai as z,aj as M,ak as re,a as fe,al as Y,R as ie,am as q,D as X,an as G,ao as le,a9 as se,U as ue,ap as B,aq as oe,ar as te,m as ve,as as y,at as de,au as m,av as J,aw as K,ax as F,ay as ce,az as pe,aA as he,aB as ge,aC as P,q as _e,aD as Ee}from"./index-client.RxGVicQn.js";function we(e,r){return r}function me(e,r,f){for(var v=[],t=r.length,s,u=r.length,c=0;c<t;c++){let E=r[c];K(E,()=>{if(s){if(s.pending.delete(E),s.done.add(E),s.pending.size===0){var o=e.outrogroups;L(B(s.done)),o.delete(s),o.size===0&&(e.outrogroups=null)}}else u-=1},!1)}if(u===0){var n=v.length===0&&f!==null;if(n){var d=f,i=d.parentNode;pe(i),i.append(d),e.items.clear()}L(r,!n)}else s={pending:new Set(r),done:new Set},(e.outrogroups??=new Set).add(s)}function L(e,r=!0){for(var f=0;f<e.length;f++)he(e[f],r)}var W;function Ie(e,r,f,v,t,s=null){var u=e,c=new Map,n=(r&P)!==0;if(n){var d=e;u=x?H($(d)):d.appendChild(O())}x&&j();var i=null,E=se(()=>{var l=f();return ue(l)?l:l==null?[]:B(l)}),o,h=!0;function A(){a.fallback=i,Te(a,o,u,r,v),i!==null&&(o.length===0?i.f&m?(i.f^=m,R(i,null,u)):J(i):K(i,()=>{i=null}))}var w=ee(()=>{o=V(E);var l=o.length;let I=!1;if(x){var N=ae(u)===ne;N!==(l===0)&&(u=U(),H(u),z(!1),I=!0)}for(var _=new Set,C=ie,k=le(),g=0;g<l;g+=1){x&&M.nodeType===re&&M.data===fe&&(u=M,I=!0,z(!1));var S=o[g],b=v(S,g),p=h?null:c.get(b);p?(p.v&&Y(p.v,S),p.i&&Y(p.i,g),k&&C.unskip_effect(p.e)):(p=Ae(c,h?u:W??=O(),S,b,g,t,r,f),h||(p.e.f|=m),c.set(b,p)),_.add(b)}if(l===0&&s&&!i&&(h?i=q(()=>s(u)):(i=q(()=>s(W??=O())),i.f|=m)),l>_.size&&(X?Ce(o,v):G("","","")),x&&l>0&&H(U()),!h)if(k){for(const[Q,Z]of c)_.has(Q)||C.skip_effect(Z.e);C.oncommit(A),C.ondiscard(()=>{})}else A();I&&z(!0),V(E)}),a={effect:w,items:c,outrogroups:null,fallback:i};h=!1,x&&(u=M)}function D(e){for(;e!==null&&!(e.f&ce);)e=e.next;return e}function Te(e,r,f,v,t){var s=(v&Ee)!==0,u=r.length,c=e.items,n=D(e.effect.first),d,i=null,E,o=[],h=[],A,w,a,l;if(s)for(l=0;l<u;l+=1)A=r[l],w=t(A,l),a=c.get(w).e,a.f&m||(a.nodes?.a?.measure(),(E??=new Set).add(a));for(l=0;l<u;l+=1){if(A=r[l],w=t(A,l),a=c.get(w).e,e.outrogroups!==null)for(const p of e.outrogroups)p.pending.delete(a),p.done.delete(a);if(a.f&m)if(a.f^=m,a===n)R(a,null,f);else{var I=i?i.next:n;a===e.effect.last&&(e.effect.last=a.prev),a.prev&&(a.prev.next=a.next),a.next&&(a.next.prev=a.prev),T(e,i,a),T(e,a,I),R(a,I,f),i=a,o=[],h=[],n=D(i.next);continue}if(a.f&F&&(J(a),s&&(a.nodes?.a?.unfix(),(E??=new Set).delete(a))),a!==n){if(d!==void 0&&d.has(a)){if(o.length<h.length){var N=h[0],_;i=N.prev;var C=o[0],k=o[o.length-1];for(_=0;_<o.length;_+=1)R(o[_],N,f);for(_=0;_<h.length;_+=1)d.delete(h[_]);T(e,C.prev,k.next),T(e,i,C),T(e,k,N),n=N,i=k,l-=1,o=[],h=[]}else d.delete(a),R(a,n,f),T(e,a.prev,a.next),T(e,a,i===null?e.effect.first:i.next),T(e,i,a),i=a;continue}for(o=[],h=[];n!==null&&n!==a;)(d??=new Set).add(n),h.push(n),n=D(n.next);if(n===null)continue}a.f&m||o.push(a),i=a,n=D(a.next)}if(e.outrogroups!==null){for(const p of e.outrogroups)p.pending.size===0&&(L(B(p.done)),e.outrogroups?.delete(p));e.outrogroups.size===0&&(e.outrogroups=null)}if(n!==null||d!==void 0){var g=[];if(d!==void 0)for(a of d)a.f&F||g.push(a);for(;n!==null;)!(n.f&F)&&n!==e.fallback&&g.push(n),n=D(n.next);var S=g.length;if(S>0){var b=v&P&&u===0?f:null;if(s){for(l=0;l<S;l+=1)g[l].nodes?.a?.measure();for(l=0;l<S;l+=1)g[l].nodes?.a?.fix()}me(e,g,b)}}s&&_e(()=>{if(E!==void 0)for(a of E)a.nodes?.a?.apply()})}function Ae(e,r,f,v,t,s,u,c){var n=u&oe?u&te?y(f):ve(f,!1,!1):null,d=u&de?y(t):null;return X&&n&&(n.trace=()=>{c()[d?.v??t]}),{v:n,i:d,e:q(()=>(s(r,n??f,d??t,c),()=>{e.delete(v)}))}}function R(e,r,f){if(e.nodes)for(var v=e.nodes.start,t=e.nodes.end,s=r&&!(r.f&m)?r.nodes.start:f;v!==null;){var u=ge(v);if(s.before(v),v===t)return;v=u}}function T(e,r,f){r===null?e.effect.first=f:r.next=f,f===null?e.effect.last=r:f.prev=r}function Ce(e,r){const f=new Map,v=e.length;for(let t=0;t<v;t++){const s=r(e[t],t);if(f.has(s)){const u=String(f.get(s)),c=String(t);let n=String(s);n.startsWith("[object ")&&(n=null),G(u,c,n)}f.set(s,t)}}export{Ie as e,we as i};
@@ -0,0 +1 @@
1
+ import{B as o}from"./browser-fallback.-TS2BfOP.js";import"./index-client.RxGVicQn.js";const t=o;export{t as b};
@@ -0,0 +1,2 @@
1
+ �7�import{B as o}from"./browser-fallback.-TS2BfOP.js";import"./index-client.RxGVicQn.js";const t=o;export{t as b};
2
+ 
@@ -0,0 +1 @@
1
+ import{c as l,h as f,b as o,E as b,af as d,ag as E,ah as T,ac as g,ai as i}from"./index-client.RxGVicQn.js";import{B as p}from"./branches.AspTl11T.js";function v(t,_,h=!1){f&&o();var e=new p(t),u=h?b:0;function n(a,r){if(f){const c=d(t)===E;if(a===c){var s=T();g(s),e.anchor=s,i(!1),e.ensure(a,r),i(!0);return}}e.ensure(a,r)}l(()=>{var a=!1;_((r,s=!0)=>{a=!0,n(s,r)}),a||n(!1,null)},u)}export{v as i};
@@ -0,0 +1,36 @@
1
+ const vt=globalThis.process?.env?.NODE_ENV,u=vt&&!vt.toLowerCase().startsWith("prod");var cn=Array.isArray,_n=Array.prototype.indexOf,ie=Array.prototype.includes,or=Array.from,ae=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,dn=Object.getOwnPropertyDescriptors,vn=Object.prototype,hn=Array.prototype,kt=Object.getPrototypeOf,ht=Object.isExtensible;const fr=()=>{};function ur(e){return e()}function pn(e){for(var t=0;t<e.length;t++)e[t]()}function St(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function cr(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const x=2,Ie=4,Te=8,At=1<<24,Y=16,j=32,ue=64,Rt=128,N=512,E=1024,k=2048,F=4096,D=8192,G=16384,nt=32768,Ne=65536,Pe=1<<17,Ot=1<<18,xe=1<<19,$t=1<<20,_r=1<<25,W=32768,Ke=1<<21,Le=1<<22,K=1<<23,ne=Symbol("$state"),dr=Symbol("legacy props"),vr=Symbol(""),It=Symbol("proxy path"),de=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ue=3,Nt=8;let qe=!1,wn=!1;function pr(){qe=!0}function yn(e){const t=new Error,n=mn();return n.length===0?null:(n.unshift(`
2
+ `),ae(t,"stack",{value:n.join(`
3
+ `)}),ae(t,"name",{value:e}),t)}function mn(){const e=Error.stackTraceLimit;Error.stackTraceLimit=1/0;const t=new Error().stack;if(Error.stackTraceLimit=e,!t)return[];const n=t.split(`
4
+ `),r=[];for(let s=0;s<n.length;s++){const i=n[s],a=i.replaceAll("\\","/");if(i.trim()!=="Error"){if(i.includes("validate_each_keys"))return[];a.includes("svelte/src/internal")||a.includes("node_modules/.vite")||r.push(i)}}return r}const wr=1,yr=2,mr=4,br=8,Er=16,gr=1,Tr=2,xr=4,kr=8,Sr=16,Ar=1,Rr=2,bn="[",En="[!",gn="]",rt={},Or=1,$r=2,Ir=4,g=Symbol(),Tn=Symbol("filename"),Nr="http://www.w3.org/1999/xhtml";function xn(){if(u){const e=new Error("async_derived_orphan\nCannot create a `$derived(...)` with an `await` expression outside of an effect tree\nhttps://svelte.dev/e/async_derived_orphan");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/async_derived_orphan")}function Pr(){if(u){const e=new Error("bind_invalid_checkbox_value\nUsing `bind:value` together with a checkbox input is not allowed. Use `bind:checked` instead\nhttps://svelte.dev/e/bind_invalid_checkbox_value");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/bind_invalid_checkbox_value")}function kn(){if(u){const e=new Error(`derived_references_self
5
+ A derived value cannot reference itself recursively
6
+ https://svelte.dev/e/derived_references_self`);throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/derived_references_self")}function Cr(e,t,n){if(u){const r=new Error(`each_key_duplicate
7
+ ${n?`Keyed each block has duplicate key \`${n}\` at indexes ${e} and ${t}`:`Keyed each block has duplicate key at indexes ${e} and ${t}`}
8
+ https://svelte.dev/e/each_key_duplicate`);throw r.name="Svelte error",r}else throw new Error("https://svelte.dev/e/each_key_duplicate")}function Sn(e){if(u){const t=new Error(`effect_in_teardown
9
+ \`${e}\` cannot be used inside an effect cleanup function
10
+ https://svelte.dev/e/effect_in_teardown`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/effect_in_teardown")}function An(){if(u){const e=new Error("effect_in_unowned_derived\nEffect cannot be created inside a `$derived` value that was not itself created inside an effect\nhttps://svelte.dev/e/effect_in_unowned_derived");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rn(e){if(u){const t=new Error(`effect_orphan
11
+ \`${e}\` can only be used inside an effect (e.g. during component initialisation)
12
+ https://svelte.dev/e/effect_orphan`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/effect_orphan")}function On(){if(u){const e=new Error(`effect_update_depth_exceeded
13
+ Maximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state
14
+ https://svelte.dev/e/effect_update_depth_exceeded`);throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mr(){if(u){const e=new Error(`hydration_failed
15
+ Failed to hydrate the application
16
+ https://svelte.dev/e/hydration_failed`);throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/hydration_failed")}function Dr(){if(u){const e=new Error("invalid_snippet\nCould not `{@render}` snippet due to the expression being `null` or `undefined`. Consider using optional chaining `{@render snippet?.()}`\nhttps://svelte.dev/e/invalid_snippet");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/invalid_snippet")}function Fr(e){if(u){const t=new Error(`props_invalid_value
17
+ Cannot do \`bind:${e}={undefined}\` when \`${e}\` has a fallback value
18
+ https://svelte.dev/e/props_invalid_value`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/props_invalid_value")}function $n(e){if(u){const t=new Error(`rune_outside_svelte
19
+ The \`${e}\` rune is only available inside \`.svelte\` and \`.svelte.js/ts\` files
20
+ https://svelte.dev/e/rune_outside_svelte`);throw t.name="Svelte error",t}else throw new Error("https://svelte.dev/e/rune_outside_svelte")}function In(){if(u){const e=new Error("state_descriptors_fixed\nProperty descriptors defined on `$state` objects must contain `value` and always be `enumerable`, `configurable` and `writable`.\nhttps://svelte.dev/e/state_descriptors_fixed");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){if(u){const e=new Error("state_prototype_fixed\nCannot set prototype of `$state` object\nhttps://svelte.dev/e/state_prototype_fixed");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Pn(){if(u){const e=new Error("state_unsafe_mutation\nUpdating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`\nhttps://svelte.dev/e/state_unsafe_mutation");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jr(){if(u){const e=new Error("svelte_boundary_reset_onerror\nA `<svelte:boundary>` `reset` function cannot be called while an error is still being handled\nhttps://svelte.dev/e/svelte_boundary_reset_onerror");throw e.name="Svelte error",e}else throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}var ce="font-weight: bold",_e="font-weight: normal";function Lr(e,t,n){u?console.warn(`%c[svelte] hydration_attribute_changed
21
+ %cThe \`${e}\` attribute on \`${t}\` changed its value between server and client renders. The client value, \`${n}\`, will be ignored in favour of the server value
22
+ https://svelte.dev/e/hydration_attribute_changed`,ce,_e):console.warn("https://svelte.dev/e/hydration_attribute_changed")}function st(e){u?console.warn(`%c[svelte] hydration_mismatch
23
+ %cHydration failed because the initial UI does not match what was rendered on the server
24
+ https://svelte.dev/e/hydration_mismatch`,ce,_e):console.warn("https://svelte.dev/e/hydration_mismatch")}function Ur(){u?console.warn(`%c[svelte] lifecycle_double_unmount
25
+ %cTried to unmount a component that was not mounted
26
+ https://svelte.dev/e/lifecycle_double_unmount`,ce,_e):console.warn("https://svelte.dev/e/lifecycle_double_unmount")}function qr(){u?console.warn("%c[svelte] select_multiple_invalid_value\n%cThe `value` property of a `<select multiple>` element should be an array, but it received a non-array value. The selection will be kept as is.\nhttps://svelte.dev/e/select_multiple_invalid_value",ce,_e):console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Be(e){u?console.warn(`%c[svelte] state_proxy_equality_mismatch
27
+ %cReactive \`$state(...)\` proxies and the values they proxy have different identities. Because of this, comparisons with \`${e}\` will produce unexpected results
28
+ https://svelte.dev/e/state_proxy_equality_mismatch`,ce,_e):console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}function Yr(){u?console.warn(`%c[svelte] state_proxy_unmount
29
+ %cTried to unmount a state proxy, rather than a component
30
+ https://svelte.dev/e/state_proxy_unmount`,ce,_e):console.warn("https://svelte.dev/e/state_proxy_unmount")}function Hr(){u?console.warn("%c[svelte] svelte_boundary_reset_noop\n%cA `<svelte:boundary>` `reset` function only resets the boundary the first time it is called\nhttps://svelte.dev/e/svelte_boundary_reset_noop",ce,_e):console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let le=!1;function Br(e){le=e}let R;function he(e){if(e===null)throw st(),rt;return R=e}function Vr(){return he(X(R))}function Gr(e){if(le){if(X(R)!==null)throw st(),rt;R=e}}function Kr(e=1){if(le){for(var t=e,n=R;t--;)n=X(n);R=n}}function zr(e=!0){for(var t=0,n=R;;){if(n.nodeType===Nt){var r=n.data;if(r===gn){if(t===0)return n;t-=1}else(r===bn||r===En)&&(t+=1)}var s=X(n);e&&n.remove(),n=s}}function Wr(e){if(!e||e.nodeType!==Nt)throw st(),rt;return e.data}function Pt(e){return e===this.v}function Cn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ct(e){return!Cn(e,this.v)}function B(e,t){return e.label=t,Mt(e.v,t),e}function Mt(e,t){return e?.[It]?.(t),e}let T=null;function Ce(e){T=e}let Ee=null;function Me(e){Ee=e}let ke=null;function pt(e){ke=e}function Zr(e,t=!1,n){T={p:T,i:!1,c:null,e:null,s:e,x:null,l:qe&&!t?{s:null,u:null,$:[]}:null},u&&(T.function=n,ke=n)}function Xr(e){var t=T,n=t.e;if(n!==null){t.e=null;for(var r of n)Xt(r)}return t.i=!0,T=t.p,u&&(ke=T?.function??null),{}}function Se(){return!qe||T!==null&&T.l===null}let ee=[];function Dt(){var e=ee;ee=[],pn(e)}function wt(e){if(ee.length===0&&!me){var t=ee;queueMicrotask(()=>{t===ee&&Dt()})}ee.push(e)}function Mn(){for(;ee.length>0;)Dt()}const ze=new WeakMap;function Dn(e){var t=w;if(t===null)return h.f|=K,e;if(u&&e instanceof Error&&!ze.has(e)&&ze.set(e,Fn(e,t)),t.f&nt)De(e,t);else{if(!(t.f&Rt))throw u&&!t.parent&&e instanceof Error&&Ft(e),e;t.b.error(e)}}function De(e,t){for(;t!==null;){if(t.f&Rt)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw u&&e instanceof Error&&Ft(e),e}function Fn(e,t){const n=ve(e,"message");if(!(n&&!n.configurable)){for(var r=Gt?" ":" ",s=`
31
+ ${r}in ${t.fn?.name||"<unknown>"}`,i=t.ctx;i!==null;)s+=`
32
+ ${r}in ${i.function?.[Tn].split("/").pop()}`,i=i.p;return{message:e.message+`
33
+ ${s}
34
+ `,stack:e.stack?.split(`
35
+ `).filter(a=>!a.includes("svelte/src/internal")).join(`
36
+ `)}}}function Ft(e){const t=ze.get(e);t&&(ae(e,"message",{value:t.message}),ae(e,"stack",{value:t.stack}))}const jn=-7169;function b(e,t){e.f=e.f&jn|t}function it(e){e.f&N||e.deps===null?b(e,E):b(e,F)}function jt(e){if(e!==null)for(const t of e)!(t.f&x)||!(t.f&W)||(t.f^=W,jt(t.deps))}function Ln(e,t,n){e.f&k?t.add(e):e.f&F&&n.add(e),jt(e.deps),b(e,E)}const Oe=new Set;let m=null,yt=null,C=null,S=[],Ye=null,We=!1,me=!1;class Ae{committed=!1;current=new Map;previous=new Map;#r=new Set;#s=new Set;#t=0;#i=0;#l=null;#o=new Set;#n=new Set;#e=new Map;is_fork=!1;#a=!1;is_deferred(){return this.is_fork||this.#i>0}skip_effect(t){this.#e.has(t)||this.#e.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#e.get(t);if(n){this.#e.delete(t);for(var r of n.d)b(r,k),q(r);for(r of n.m)b(r,F),q(r)}}process(t){S=[],this.apply();var n=[],r=[];for(const s of t)this.#f(s,n,r);if(this.is_deferred()){this.#u(r),this.#u(n);for(const[s,i]of this.#e)Yt(s,i)}else{for(const s of this.#r)s();this.#r.clear(),this.#t===0&&this.#c(),yt=this,m=null,mt(r),mt(n),yt=null,this.#l?.resolve()}C=null}#f(t,n,r){t.f^=E;for(var s=t.first,i=null;s!==null;){var a=s.f,o=(a&(j|ue))!==0,_=o&&(a&E)!==0,p=_||(a&D)!==0||this.#e.has(s);if(!p&&s.fn!==null){o?s.f^=E:i!==null&&a&(Ie|Te|At)?i.b.defer_effect(s):a&Ie?n.push(s):Re(s)&&(a&Y&&this.#n.add(s),ge(s));var c=s.first;if(c!==null){s=c;continue}}var f=s.parent;for(s=s.next;s===null&&f!==null;)f===i&&(i=null),s=f.next,f=f.parent}}#u(t){for(var n=0;n<t.length;n+=1)Ln(t[n],this.#o,this.#n)}capture(t,n){n!==g&&!this.previous.has(t)&&this.previous.set(t,n),t.f&K||(this.current.set(t,t.v),C?.set(t,t.v))}activate(){m=this,this.apply()}deactivate(){m===this&&(m=null,C=null)}flush(){if(this.activate(),S.length>0){if(Lt(),m!==null&&m!==this)return}else this.#t===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#s)t(this);this.#s.clear()}#c(){if(Oe.size>1){this.previous.clear();var t=C,n=!0;for(const s of Oe){if(s===this){n=!1;continue}const i=[];for(const[o,_]of this.current){if(s.current.has(o))if(n&&_!==s.current.get(o))s.current.set(o,_);else continue;i.push(o)}if(i.length===0)continue;const a=[...s.current.keys()].filter(o=>!this.current.has(o));if(a.length>0){var r=S;S=[];const o=new Set,_=new Map;for(const p of i)Ut(p,a,o,_);if(S.length>0){m=s,s.apply();for(const p of S)s.#f(p,[],[]);s.deactivate()}S=r}}m=null,C=t}this.committed=!0,Oe.delete(this)}increment(t){this.#t+=1,t&&(this.#i+=1)}decrement(t){this.#t-=1,t&&(this.#i-=1),!this.#a&&(this.#a=!0,wt(()=>{this.#a=!1,this.is_deferred()?S.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#o)this.#n.delete(t),b(t,k),q(t);for(const t of this.#n)b(t,F),q(t);this.flush()}oncommit(t){this.#r.add(t)}ondiscard(t){this.#s.add(t)}settled(){return(this.#l??=St()).promise}static ensure(){if(m===null){const t=m=new Ae;Oe.add(m),me||wt(()=>{m===t&&t.flush()})}return m}apply(){}}function Un(e){var t=me;me=!0;try{for(var n;;){if(Mn(),S.length===0&&(m?.flush(),S.length===0))return Ye=null,n;Lt()}}finally{me=t}}function Lt(){We=!0;var e=u?new Set:null;try{for(var t=0;S.length>0;){var n=Ae.ensure();if(t++>1e3){if(u){var r=new Map;for(const i of n.current.keys())for(const[a,o]of i.updated??[]){var s=r.get(a);s||(s={error:o.error,count:0},r.set(a,s)),s.count+=o.count}for(const i of r.values())i.error&&console.error(i.error)}qn()}if(n.process(S),z.clear(),u)for(const i of n.current.keys())e.add(i)}}finally{if(S=[],We=!1,Ye=null,u)for(const i of e)i.updated=null}}function qn(){try{On()}catch(e){u&&ae(e,"stack",{value:""}),De(e,Ye)}}let U=null;function mt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&(G|D))&&Re(r)&&(U=new Set,ge(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?en(r):r.fn=null),U?.size>0)){z.clear();for(const s of U){if(s.f&(G|D))continue;const i=[s];let a=s.parent;for(;a!==null;)U.has(a)&&(U.delete(a),i.push(a)),a=a.parent;for(let o=i.length-1;o>=0;o--){const _=i[o];_.f&(G|D)||ge(_)}}U.clear()}}U=null}}function Ut(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;i&x?Ut(s,t,n,r):i&(Le|Y)&&!(i&k)&&qt(s,t,r)&&(b(s,k),q(s))}}function qt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(ie.call(t,s))return!0;if(s.f&x&&qt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function q(e){for(var t=Ye=e;t.parent!==null;){t=t.parent;var n=t.f;if(We&&t===w&&n&Y&&!(n&Ot))return;if(n&(ue|j)){if(!(n&E))return;t.f^=E}}S.push(t)}function Yt(e,t){if(!(e.f&j&&e.f&E)){e.f&k?t.d.push(e):e.f&F&&t.m.push(e),b(e,E);for(var n=e.first;n!==null;)Yt(n,t),n=n.next}}function Yn(e,t,n,r){const s=Se()?at:Gn;var i=e.filter(l=>!l.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var a=m,o=w,_=Hn(),p=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(l=>l.promise)):null;function c(l){_();try{r(l)}catch(v){o.f&G||De(v,o)}a?.deactivate(),Ze()}if(n.length===0){p.then(()=>c(t.map(s)));return}function f(){_(),Promise.all(n.map(l=>Vn(l))).then(l=>c([...t.map(s),...l])).catch(l=>De(l,o))}p?p.then(f):f()}function Hn(){var e=w,t=h,n=T,r=m;if(u)var s=Ee;return function(a=!0){re(e),Z(t),Ce(n),a&&r?.activate(),u&&Me(s)}}function Ze(){re(null),Z(null),Ce(null),u&&Me(null)}const Bn=new Set;function at(e){var t=x|k,n=h!==null&&h.f&x?h:null;return w!==null&&(w.f|=xe),{ctx:T,deps:null,effects:null,equals:Pt,f:t,fn:e,reactions:null,rv:0,v:g,wv:0,parent:n??w,ac:null}}function Vn(e,t,n){let r=w;r===null&&xn();var s=r.b,i=void 0,a=ft(g);u&&(a.label=t);var o=!h,_=new Map;return nr(()=>{var p=St();i=p.promise;try{Promise.resolve(e()).then(p.resolve,p.reject).then(()=>{c===m&&c.committed&&c.deactivate(),Ze()})}catch(v){p.reject(v),Ze()}var c=m;if(o){var f=s.is_rendered();s.update_pending_count(1),c.increment(f),_.get(c)?.reject(de),_.delete(c),_.set(c,p)}const l=(v,d=void 0)=>{if(c.activate(),d)d!==de&&(a.f|=K,Je(a,d));else{a.f&K&&(a.f^=K),Je(a,v);for(const[y,O]of _){if(_.delete(y),y===c)break;O.reject(de)}}o&&(s.update_pending_count(-1),c.decrement(f))};p.promise.then(l,v=>l(null,v||"unknown"))}),tr(()=>{for(const p of _.values())p.reject(de)}),u&&(a.f|=Le),new Promise(p=>{function c(f){function l(){f===i?p(a):c(i)}f.then(l,l)}c(i)})}function Jr(e){const t=at(e);return rn(t),t}function Gn(e){const t=at(e);return t.equals=Ct,t}function Xe(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)oe(t[n])}}let Ve=[];function Kn(e){for(var t=e.parent;t!==null;){if(!(t.f&x))return t.f&G?null:t;t=t.parent}return null}function lt(e){var t,n=w;if(re(Kn(e)),u){let r=pe;bt(new Set);try{ie.call(Ve,e)&&kn(),Ve.push(e),e.f&=~W,Xe(e),t=et(e)}finally{re(n),bt(r),Ve.pop()}}else try{e.f&=~W,Xe(e),t=et(e)}finally{re(n)}return t}function Ht(e){var t=lt(e);if(!e.equals(t)&&(e.wv=an(),(!m?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){b(e,E);return}fe||(C!==null?(Zt()||m?.is_fork)&&C.set(e,t):it(e))}let pe=new Set;const z=new Map;function bt(e){pe=e}let ot=!1;function zn(){ot=!0}function ft(e,t){var n={f:0,v:e,reactions:null,equals:Pt,rv:0,wv:0};return n}function V(e,t){const n=ft(e);return rn(n),n}function Qr(e,t=!1,n=!0){const r=ft(e);return t||(r.equals=Ct),qe&&n&&T!==null&&T.l!==null&&(T.l.s??=[]).push(r),r}function Q(e,t,n=!1){h!==null&&(!M||h.f&Pe)&&Se()&&h.f&(x|Y|Le|Pe)&&(P===null||!ie.call(P,e))&&Pn();let r=n?we(t):t;return u&&Mt(r,e.label),Je(e,r)}function Je(e,t){if(!e.equals(t)){var n=e.v;fe?z.set(e,t):z.set(e,n),e.v=t;var r=Ae.ensure();if(r.capture(e,n),u){if(w!==null){e.updated??=new Map;const s=(e.updated.get("")?.count??0)+1;if(e.updated.set("",{error:null,count:s}),s>5){const i=yn("updated at");if(i!==null){let a=e.updated.get(i.stack);a||(a={error:i,count:0},e.updated.set(i.stack,a)),a.count++}}}w!==null&&(e.set_during_effect=!0)}if(e.f&x){const s=e;e.f&k&&lt(s),it(s)}e.wv=an(),Vt(e,k),Se()&&w!==null&&w.f&E&&!(w.f&(j|ue))&&(I===null?ar([e]):I.push(e)),!r.is_fork&&pe.size>0&&!ot&&Bt()}return t}function Bt(){ot=!1;for(const e of pe)e.f&E&&b(e,F),Re(e)&&ge(e);pe.clear()}function Ge(e){Q(e,e.v+1)}function Vt(e,t){var n=e.reactions;if(n!==null)for(var r=Se(),s=n.length,i=0;i<s;i++){var a=n[i],o=a.f;if(!(!r&&a===w)){if(u&&o&Pe){pe.add(a);continue}var _=(o&k)===0;if(_&&b(a,t),o&x){var p=a;C?.delete(p),o&W||(o&N&&(a.f|=W),Vt(p,F))}else _&&(o&Y&&U!==null&&U.add(a),q(a))}}}const Wn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function we(e){if(typeof e!="object"||e===null||ne in e)return e;const t=kt(e);if(t!==vn&&t!==hn)return e;var n=new Map,r=cn(e),s=V(0),i=se,a=c=>{if(se===i)return c();var f=h,l=se;Z(null),xt(i);var v=c();return Z(f),xt(l),v};r&&(n.set("length",V(e.length)),u&&(e=Xn(e)));var o="";let _=!1;function p(c){if(!_){_=!0,o=c,B(s,`${o} version`);for(const[f,l]of n)B(l,J(o,f));_=!1}}return new Proxy(e,{defineProperty(c,f,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&In();var v=n.get(f);return v===void 0?v=a(()=>{var d=V(l.value);return n.set(f,d),u&&typeof f=="string"&&B(d,J(o,f)),d}):Q(v,l.value,!0),!0},deleteProperty(c,f){var l=n.get(f);if(l===void 0){if(f in c){const v=a(()=>V(g));n.set(f,v),Ge(s),u&&B(v,J(o,f))}}else Q(l,g),Ge(s);return!0},get(c,f,l){if(f===ne)return e;if(u&&f===It)return p;var v=n.get(f),d=f in c;if(v===void 0&&(!d||ve(c,f)?.writable)&&(v=a(()=>{var O=we(d?c[f]:g),H=V(O);return u&&B(H,J(o,f)),H}),n.set(f,v)),v!==void 0){var y=ye(v);return y===g?void 0:y}return Reflect.get(c,f,l)},getOwnPropertyDescriptor(c,f){var l=Reflect.getOwnPropertyDescriptor(c,f);if(l&&"value"in l){var v=n.get(f);v&&(l.value=ye(v))}else if(l===void 0){var d=n.get(f),y=d?.v;if(d!==void 0&&y!==g)return{enumerable:!0,configurable:!0,value:y,writable:!0}}return l},has(c,f){if(f===ne)return!0;var l=n.get(f),v=l!==void 0&&l.v!==g||Reflect.has(c,f);if(l!==void 0||w!==null&&(!v||ve(c,f)?.writable)){l===void 0&&(l=a(()=>{var y=v?we(c[f]):g,O=V(y);return u&&B(O,J(o,f)),O}),n.set(f,l));var d=ye(l);if(d===g)return!1}return v},set(c,f,l,v){var d=n.get(f),y=f in c;if(r&&f==="length")for(var O=l;O<d.v;O+=1){var H=n.get(O+"");H!==void 0?Q(H,g):O in c&&(H=a(()=>V(g)),n.set(O+"",H),u&&B(H,J(o,O)))}if(d===void 0)(!y||ve(c,f)?.writable)&&(d=a(()=>V(void 0)),u&&B(d,J(o,f)),Q(d,we(l)),n.set(f,d));else{y=d.v!==g;var un=a(()=>we(l));Q(d,un)}var _t=Reflect.getOwnPropertyDescriptor(c,f);if(_t?.set&&_t.set.call(v,l),!y){if(r&&typeof f=="string"){var dt=n.get("length"),He=Number(f);Number.isInteger(He)&&He>=dt.v&&Q(dt,He+1)}Ge(s)}return!0},ownKeys(c){ye(s);var f=Reflect.ownKeys(c).filter(d=>{var y=n.get(d);return y===void 0||y.v!==g});for(var[l,v]of n)v.v!==g&&!(l in c)&&f.push(l);return f},setPrototypeOf(){Nn()}})}function J(e,t){return typeof t=="symbol"?`${e}[Symbol(${t.description??""})]`:Wn.test(t)?`${e}.${t}`:/^\d+$/.test(t)?`${e}[${t}]`:`${e}['${t}']`}function be(e){try{if(e!==null&&typeof e=="object"&&ne in e)return e[ne]}catch{}return e}function es(e,t){return Object.is(be(e),be(t))}const Zn=new Set(["copyWithin","fill","pop","push","reverse","shift","sort","splice","unshift"]);function Xn(e){return new Proxy(e,{get(t,n,r){var s=Reflect.get(t,n,r);return Zn.has(n)?function(...i){zn();var a=s.apply(this,i);return Bt(),a}:s}})}function Jn(){const e=Array.prototype,t=Array.__svelte_cleanup;t&&t();const{indexOf:n,lastIndexOf:r,includes:s}=e;e.indexOf=function(i,a){const o=n.call(this,i,a);if(o===-1){for(let _=a??0;_<this.length;_+=1)if(be(this[_])===i){Be("array.indexOf(...)");break}}return o},e.lastIndexOf=function(i,a){const o=r.call(this,i,a??this.length-1);if(o===-1){for(let _=0;_<=(a??this.length-1);_+=1)if(be(this[_])===i){Be("array.lastIndexOf(...)");break}}return o},e.includes=function(i,a){const o=s.call(this,i,a);if(!o){for(let _=0;_<this.length;_+=1)if(be(this[_])===i){Be("array.includes(...)");break}}return o},Array.__svelte_cleanup=()=>{e.indexOf=n,e.lastIndexOf=r,e.includes=s}}var Et,Gt,Kt,zt;function ts(){if(Et===void 0){Et=window,Gt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Kt=ve(t,"firstChild").get,zt=ve(t,"nextSibling").get,ht(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ht(n)&&(n.__t=void 0),u&&(e.__svelte_meta=null,Jn())}}function Fe(e=""){return document.createTextNode(e)}function Qe(e){return Kt.call(e)}function X(e){return zt.call(e)}function ns(e,t){if(!le)return Qe(e);var n=Qe(R);if(n===null)n=R.appendChild(Fe());else if(t&&n.nodeType!==Ue){var r=Fe();return n?.before(r),he(r),r}return t&&ut(n),he(n),n}function rs(e,t=!1){if(!le){var n=Qe(e);return n instanceof Comment&&n.data===""?X(n):n}if(t){if(R?.nodeType!==Ue){var r=Fe();return R?.before(r),he(r),r}ut(R)}return R}function ss(e,t=1,n=!1){let r=le?R:e;for(var s;t--;)s=r,r=X(r);if(!le)return r;if(n){if(r?.nodeType!==Ue){var i=Fe();return r===null?s?.after(i):r.before(i),he(i),i}ut(r)}return he(r),r}function is(e){e.textContent=""}function as(){return!1}function ut(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Ue;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}let gt=!1;function Qn(){gt||(gt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function ct(e){var t=h,n=w;Z(null),re(null);try{return e()}finally{Z(t),re(n)}}function ls(e,t,n,r=n){e.addEventListener(t,()=>ct(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Qn()}function Wt(e){w===null&&(h===null&&Rn(e),An()),fe&&Sn(e)}function er(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function L(e,t,n){var r=w;if(u)for(;r!==null&&r.f&Pe;)r=r.parent;r!==null&&r.f&D&&(e|=D);var s={ctx:T,deps:null,nodes:null,f:e|k|N,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(u&&(s.component_function=ke),n)try{ge(s),s.f|=nt}catch(o){throw oe(s),o}else t!==null&&q(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&xe)&&(i=i.first,e&Y&&e&Ne&&i!==null&&(i.f|=Ne)),i!==null&&(i.parent=r,r!==null&&er(i,r),h!==null&&h.f&x&&!(e&ue))){var a=h;(a.effects??=[]).push(i)}return s}function Zt(){return h!==null&&!M}function tr(e){const t=L(Te,null,!1);return b(t,E),t.teardown=e,t}function os(e){Wt("$effect"),u&&ae(e,"name",{value:"$effect"});var t=w.f,n=!h&&(t&j)!==0&&(t&nt)===0;if(n){var r=T;(r.e??=[]).push(e)}else return Xt(e)}function Xt(e){return L(Ie|$t,e,!1)}function fs(e){return Wt("$effect.pre"),u&&ae(e,"name",{value:"$effect.pre"}),L(Te|$t,e,!0)}function us(e){Ae.ensure();const t=L(ue|xe,e,!0);return(n={})=>new Promise(r=>{n.outro?ir(t,()=>{oe(t),r(void 0)}):(oe(t),r(void 0))})}function cs(e){return L(Ie,e,!1)}function nr(e){return L(Le|xe,e,!0)}function _s(e,t=0){return L(Te|t,e,!0)}function ds(e,t=[],n=[],r=[]){Yn(r,t,n,s=>{L(Te,()=>e(...s.map(ye)),!0)})}function vs(e,t=0){var n=L(Y|t,e,!0);return u&&(n.dev_stack=Ee),n}function hs(e){return L(j|xe,e,!0)}function Jt(e){var t=e.teardown;if(t!==null){const n=fe,r=h;Tt(!0),Z(null);try{t.call(null)}finally{Tt(n),Z(r)}}}function Qt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&ct(()=>{s.abort(de)});var r=n.next;n.f&ue?n.parent=null:oe(n,t),n=r}}function rr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&j||oe(t),t=n}}function oe(e,t=!0){var n=!1;(t||e.f&Ot)&&e.nodes!==null&&e.nodes.end!==null&&(sr(e.nodes.start,e.nodes.end),n=!0),Qt(e,t&&!n),je(e,0),b(e,G);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();Jt(e);var s=e.parent;s!==null&&s.first!==null&&en(e),u&&(e.component_function=null),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function sr(e,t){for(;e!==null;){var n=e===t?null:X(e);e.remove(),e=n}}function en(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 ir(e,t,n=!0){var r=[];tn(e,r,!0);var s=()=>{n&&oe(e),t&&t()},i=r.length;if(i>0){var a=()=>--i||s();for(var o of r)o.out(a)}else s()}function tn(e,t,n){if(!(e.f&D)){e.f^=D;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var s=e.first;s!==null;){var i=s.next,a=(s.f&Ne)!==0||(s.f&j)!==0&&(e.f&Y)!==0;tn(s,t,a?n:!1),s=i}}}function ps(e){nn(e,!0)}function nn(e,t){if(e.f&D){e.f^=D,e.f&E||(b(e,k),q(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Ne)!==0||(n.f&j)!==0;nn(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const a of i)(a.is_global||t)&&a.in()}}function ws(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:X(n);t.append(n),n=s}}let $e=!1,fe=!1;function Tt(e){fe=e}let h=null,M=!1;function Z(e){h=e}let w=null;function re(e){w=e}let P=null;function rn(e){h!==null&&(P===null?P=[e]:P.push(e))}let A=null,$=0,I=null;function ar(e){I=e}let sn=1,te=0,se=te;function xt(e){se=e}function an(){return++sn}function Re(e){var t=e.f;if(t&k)return!0;if(t&x&&(e.f&=~W),t&F){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Re(i)&&Ht(i),i.wv>e.wv)return!0}t&N&&C===null&&b(e,E)}return!1}function ln(e,t,n=!0){var r=e.reactions;if(r!==null&&!(P!==null&&ie.call(P,e)))for(var s=0;s<r.length;s++){var i=r[s];i.f&x?ln(i,t,!1):t===i&&(n?b(i,k):i.f&E&&b(i,F),q(i))}}function et(e){var t=A,n=$,r=I,s=h,i=P,a=T,o=M,_=se,p=e.f;A=null,$=0,I=null,h=p&(j|ue)?null:e,P=null,Ce(e.ctx),M=!1,se=++te,e.ac!==null&&(ct(()=>{e.ac.abort(de)}),e.ac=null);try{e.f|=Ke;var c=e.fn,f=c(),l=e.deps,v=m?.is_fork;if(A!==null){var d;if(v||je(e,$),l!==null&&$>0)for(l.length=$+A.length,d=0;d<A.length;d++)l[$+d]=A[d];else e.deps=l=A;if(Zt()&&e.f&N)for(d=$;d<l.length;d++)(l[d].reactions??=[]).push(e)}else!v&&l!==null&&$<l.length&&(je(e,$),l.length=$);if(Se()&&I!==null&&!M&&l!==null&&!(e.f&(x|F|k)))for(d=0;d<I.length;d++)ln(I[d],e);if(s!==null&&s!==e){if(te++,s.deps!==null)for(let y=0;y<n;y+=1)s.deps[y].rv=te;if(t!==null)for(const y of t)y.rv=te;I!==null&&(r===null?r=I:r.push(...I))}return e.f&K&&(e.f^=K),f}catch(y){return Dn(y)}finally{e.f^=Ke,A=t,$=n,I=r,h=s,P=i,Ce(a),M=o,se=_}}function lr(e,t){let n=t.reactions;if(n!==null){var r=_n.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&t.f&x&&(A===null||!ie.call(A,t))){var i=t;i.f&N&&(i.f^=N,i.f&=~W),it(i),Xe(i),je(i,0)}}function je(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)lr(e,n[r])}function ge(e){var t=e.f;if(!(t&G)){b(e,E);var n=w,r=$e;if(w=e,$e=!0,u){var s=ke;pt(e.component_function);var i=Ee;Me(e.dev_stack??Ee)}try{t&(Y|At)?rr(e):Qt(e),Jt(e);var a=et(e);e.teardown=typeof a=="function"?a:null,e.wv=sn;var o;u&&wn&&e.f&k&&e.deps}finally{$e=r,w=n,u&&(pt(s),Me(i))}}}async function ys(){await Promise.resolve(),Un()}function ye(e){var t=e.f,n=(t&x)!==0;if(h!==null&&!M){var r=w!==null&&(w.f&G)!==0;if(!r&&(P===null||!ie.call(P,e))){var s=h.deps;if(h.f&Ke)e.rv<te&&(e.rv=te,A===null&&s!==null&&s[$]===e?$++:A===null?A=[e]:A.push(e));else{(h.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[h]:ie.call(i,h)||i.push(h)}}}if(u&&Bn.delete(e),fe&&z.has(e))return z.get(e);if(n){var a=e;if(fe){var o=a.v;return(!(a.f&E)&&a.reactions!==null||fn(a))&&(o=lt(a)),z.set(a,o),o}var _=(a.f&N)===0&&!M&&h!==null&&($e||(h.f&N)!==0),p=a.deps===null;Re(a)&&(_&&(a.f|=N),Ht(a)),_&&!p&&on(a)}if(C?.has(e))return C.get(e);if(e.f&K)throw e.v;return e.v}function on(e){if(e.deps!==null){e.f|=N;for(const t of e.deps)(t.reactions??=[]).push(e),t.f&x&&!(t.f&N)&&on(t)}}function fn(e){if(e.v===g)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(z.has(t)||t.f&x&&fn(t))return!0;return!1}function ms(e){var t=M;try{return M=!0,e()}finally{M=t}}function bs(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(ne in e)tt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&ne in n&&tt(n)}}}function tt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{tt(e[r],t)}catch{}const n=kt(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=dn(n);for(let s in r){const i=r[s].get;if(i)try{i.call(e)}catch{}}}}}if(u){let e=function(t){if(!(t in globalThis)){let n;Object.defineProperty(globalThis,t,{configurable:!0,get:()=>{if(n!==void 0)return n;$n(t)},set:r=>{n=r}})}};e("$state"),e("$effect"),e("$derived"),e("$inspect"),e("$props"),e("$bindable")}export{ve as $,Gr as A,ds as B,Dr as C,u as D,Ne as E,T as F,pn as G,bn as H,ur as I,bs as J,at as K,dr as L,pr as M,we as N,Jr as O,cr as P,ls as Q,m as R,de as S,yt as T,cn as U,qr as V,es as W,tr as X,Pr as Y,ys as Z,Kr as _,gn as a,xe as a$,Fr as a0,xr as a1,fe as a2,w as a3,G as a4,kr as a5,qe as a6,Tr as a7,gr as a8,Gn as a9,oe as aA,X as aB,mr as aC,br as aD,Nr as aE,Lr as aF,kt as aG,dn as aH,Qn as aI,vr as aJ,ws as aK,B as aL,Zt as aM,Ge as aN,Ae as aO,Ln as aP,re as aQ,Z as aR,Ce as aS,Dn as aT,h as aU,b as aV,k as aW,q as aX,F as aY,De as aZ,jr as a_,Sr as aa,Cn as ab,he as ac,Qe as ad,Fe as ae,Wr as af,En as ag,zr as ah,Br as ai,R as aj,Nt as ak,Je as al,hs as am,Cr as an,as as ao,or as ap,wr as aq,Er as ar,ft as as,yr as at,_r as au,ps as av,ir as aw,D as ax,j as ay,is as az,Vr as b,Rt as b0,Hr as b1,ts as b2,rt as b3,Mr as b4,Yr as b5,Ur as b6,us as b7,st as b8,Gt as b9,Ar as ba,Rr as bb,nt as bc,Ue as bd,ut as be,vs as c,ne as d,cs as e,Un as f,ye as g,le as h,ae as i,$r as j,Ir as k,Or as l,Qr as m,fr as n,fs as o,Zr as p,wt as q,_s as r,Q as s,os as t,ms as u,rs as v,ss as w,Xr as x,V as y,ns as z};
@@ -0,0 +1 @@
1
+ import{$ as D,a0 as L,a1 as m,D as T,g as P,N as b,s as B,a2 as N,a3 as Y,a4 as M,a5 as U,u as $,a6 as h,a7 as x,a8 as q,K as w,a9 as z,aa as C,d as G,L as K}from"./index-client.RxGVicQn.js";import{c as V}from"./store.B-Onzqul.js";function F(a,r,f,d){var u=!h||(f&x)!==0,v=(f&U)!==0,o=(f&C)!==0,n=d,S=!0,g=()=>(S&&(S=!1,n=o?$(d):d),n),_;if(v){var O=G in a||K in a;_=D(a,r)?.set??(O&&r in a?e=>a[r]=e:void 0)}var s,I=!1;v?[s,I]=V(()=>a[r]):s=a[r],s===void 0&&d!==void 0&&(s=g(),_&&(u&&L(r),_(s)));var i;if(u?i=()=>{var e=a[r];return e===void 0?g():(S=!0,e)}:i=()=>{var e=a[r];return e!==void 0&&(n=void 0),e===void 0?n:e},u&&!(f&m))return i;if(_){var R=a.$$legacy;return function(e,l){return arguments.length>0?((!u||!l||R||I)&&_(l?i():e),e):i()}}var c=!1,t=(f&q?w:z)(()=>(c=!1,i()));T&&(t.label=r),v&&P(t);var A=Y;return function(e,l){if(arguments.length>0){const E=l?P(t):u&&v?b(e):e;return B(t,E),c=!0,n!==void 0&&(n=E),e}return N&&c||A.f&M?t.v:P(t)}}export{F as p};
@@ -0,0 +1,2 @@
1
+ import{D as M,aL as $,aM as Z,g as U,r as G,as as W,u as J,q as w,aN as L,aj as c,h as _,a3 as b,c as ee,b as te,ak as I,ag as se,am as u,aO as N,aw as O,ae as j,aP as ie,aQ as S,aR as R,aS as V,aT as re,aU as z,F as K,aK as ne,aV as C,aW as ae,aX as P,aY as oe,al as he,aA as k,ac as A,_ as le,ah as fe,aZ as q,a_ as de,E as ue,a$ as ce,b0 as _e,b1 as pe,i as ge,b2 as x,ad as ve,H as ye,aB as be,b3 as Y,ai as E,b4 as me,az as Ee,d as Te,b5 as we,b6 as Se,ap as Re,b7 as Ae,p as De,a as Ne,b8 as Oe,x as ke}from"./index-client.RxGVicQn.js";import{h as xe}from"./disclose-version.wiZKqWq_.js";function Ye(t){let e=0,s=W(0),r;return M&&$(s,"createSubscriber version"),()=>{Z()&&(U(s),G(()=>(e===0&&(r=J(()=>t(()=>L(s)))),e+=1,()=>{w(()=>{e-=1,e===0&&(r?.(),r=void 0,L(s))})})))}}var Be=ue|ce|_e;function Fe(t,e,s){new Me(t,e,s)}class Me{parent;is_pending=!1;#t;#y=_?c:null;#i;#f;#r;#s=null;#e=null;#n=null;#o=null;#l=null;#d=0;#h=0;#c=!1;#u=!1;#_=new Set;#p=new Set;#a=null;#E=Ye(()=>(this.#a=W(this.#d),M&&$(this.#a,"$effect.pending()"),()=>{this.#a=null}));constructor(e,s,r){this.#t=e,this.#i=s,this.#f=r,this.parent=b.b,this.is_pending=!!this.#i.pending,this.#r=ee(()=>{if(b.b=this,_){const i=this.#y;te(),i.nodeType===I&&i.data===se?this.#w():(this.#T(),this.#h===0&&(this.is_pending=!1))}else{var a=this.#b();try{this.#s=u(()=>r(a))}catch(i){this.error(i)}this.#h>0?this.#v():this.is_pending=!1}return()=>{this.#l?.remove()}},Be),_&&(this.#t=c)}#T(){try{this.#s=u(()=>this.#f(this.#t))}catch(e){this.error(e)}}#w(){const e=this.#i.pending;e&&(this.#e=u(()=>e(this.#t)),w(()=>{var s=this.#b();this.#s=this.#g(()=>(N.ensure(),u(()=>this.#f(s)))),this.#h>0?this.#v():(O(this.#e,()=>{this.#e=null}),this.is_pending=!1)}))}#b(){var e=this.#t;return this.is_pending&&(this.#l=j(),this.#t.before(this.#l),e=this.#l),e}defer_effect(e){ie(e,this.#_,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#g(e){var s=b,r=z,a=K;S(this.#r),R(this.#r),V(this.#r.ctx);try{return e()}catch(i){return re(i),null}finally{S(s),R(r),V(a)}}#v(){const e=this.#i.pending;this.#s!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#l),ne(this.#s,this.#o)),this.#e===null&&(this.#e=u(()=>e(this.#t)))}#m(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(e);return}if(this.#h+=e,this.#h===0){this.is_pending=!1;for(const s of this.#_)C(s,ae),P(s);for(const s of this.#p)C(s,oe),P(s);this.#_.clear(),this.#p.clear(),this.#e&&O(this.#e,()=>{this.#e=null}),this.#o&&(this.#t.before(this.#o),this.#o=null)}}update_pending_count(e){this.#m(e),this.#d+=e,!(!this.#a||this.#c)&&(this.#c=!0,w(()=>{this.#c=!1,this.#a&&he(this.#a,this.#d)}))}get_effect_pending(){return this.#E(),U(this.#a)}error(e){var s=this.#i.onerror;let r=this.#i.failed;if(this.#u||!s&&!r)throw e;this.#s&&(k(this.#s),this.#s=null),this.#e&&(k(this.#e),this.#e=null),this.#n&&(k(this.#n),this.#n=null),_&&(A(this.#y),le(),A(fe()));var a=!1,i=!1;const h=()=>{if(a){pe();return}a=!0,i&&de(),N.ensure(),this.#d=0,this.#n!==null&&O(this.#n,()=>{this.#n=null}),this.is_pending=this.has_pending_snippet(),this.#s=this.#g(()=>(this.#u=!1,u(()=>this.#f(this.#t)))),this.#h>0?this.#v():this.is_pending=!1};w(()=>{try{i=!0,s?.(e,h),i=!1}catch(l){q(l,this.#r&&this.#r.parent)}r&&(this.#n=this.#g(()=>{N.ensure(),this.#u=!0;try{return u(()=>{r(this.#t,()=>e,()=>h)})}catch(l){return q(l,this.#r.parent),null}finally{this.#u=!1}}))})}}const Ie=["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"];function He(t){return Ie.includes(t)}const Le=["touchstart","touchmove"];function Ve(t){return Le.includes(t)}const Q=new Set,B=new Set;function $e(t){for(var e=0;e<t.length;e++)Q.add(t[e]);for(var s of B)s(t)}let H=null;function T(t){var e=this,s=e.ownerDocument,r=t.type,a=t.composedPath?.()||[],i=a[0]||t.target;H=t;var h=0,l=H===t&&t.__root;if(l){var d=a.indexOf(l);if(d!==-1&&(e===document||e===window)){t.__root=e;return}var p=a.indexOf(e);if(p===-1)return;d<=p&&(h=d)}if(i=a[h]||t.target,i!==e){ge(t,"currentTarget",{configurable:!0,get(){return i||s}});var D=z,f=b;R(null),S(null);try{for(var n,o=[];i!==null;){var g=i.assignedSlot||i.parentNode||i.host||null;try{var y=i["__"+r];y!=null&&(!i.disabled||t.target===i)&&y.call(i,t)}catch(m){n?o.push(m):n=m}if(t.cancelBubble||g===e||g===null)break;i=g}if(n){for(let m of o)queueMicrotask(()=>{throw m});throw n}}finally{t.__root=e,delete t.currentTarget,R(D),S(f)}}}function Ue(t,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(t.__t??=t.nodeValue)&&(t.__t=s,t.nodeValue=s+"")}function Ce(t,e){return X(t,e)}function We(t,e){x(),e.intro=e.intro??!1;const s=e.target,r=_,a=c;try{for(var i=ve(s);i&&(i.nodeType!==I||i.data!==ye);)i=be(i);if(!i)throw Y;E(!0),A(i);const h=X(t,{...e,anchor:i});return E(!1),h}catch(h){if(h instanceof Error&&h.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw h;return h!==Y&&console.warn("Failed to hydrate: ",h),e.recover===!1&&me(),x(),Ee(s),E(!1),Ce(t,e)}finally{E(r),A(a)}}const v=new Map;function X(t,{target:e,anchor:s,props:r={},events:a,context:i,intro:h=!0}){x();var l=new Set,d=f=>{for(var n=0;n<f.length;n++){var o=f[n];if(!l.has(o)){l.add(o);var g=Ve(o);e.addEventListener(o,T,{passive:g});var y=v.get(o);y===void 0?(document.addEventListener(o,T,{passive:g}),v.set(o,1)):v.set(o,y+1)}}};d(Re(Q)),B.add(d);var p=void 0,D=Ae(()=>{var f=s??e.appendChild(j());return Fe(f,{pending:()=>{}},n=>{De({});var o=K;if(i&&(o.c=i),a&&(r.$$events=a),_&&xe(n,null),p=t(n,r)||{},_&&(b.nodes.end=c,c===null||c.nodeType!==I||c.data!==Ne))throw Oe(),Y;ke()}),()=>{for(var n of l){e.removeEventListener(n,T);var o=v.get(n);--o===0?(document.removeEventListener(n,T),v.delete(n)):v.set(n,o)}B.delete(d),f!==s&&f.parentNode?.removeChild(f)}});return F.set(p,D),p}let F=new WeakMap;function je(t,e){const s=F.get(t);return s?(F.delete(t),s(e)):(M&&(Te in t?we():Se()),Promise.resolve())}export{$e as d,We as h,He as i,Ce as m,Ue as s,je as u};
@@ -0,0 +1 @@
1
+ import{w as f}from"./utils.FPV-Nskp.js";import{B as g}from"./browser-fallback.-TS2BfOP.js";import{D as v}from"./index-client.RxGVicQn.js";const R=globalThis.__sveltekit_18d0vek?.base??"",w=globalThis.__sveltekit_18d0vek?.assets??R,S="1771585176643",O="sveltekit:snapshot",U="sveltekit:scroll",L="sveltekit:states",x="sveltekit:pageurl",V="sveltekit:history",Y="sveltekit:navigation",u={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},b=g?location.origin:"";function D(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const o=document.getElementsByTagName("base");t=o.length?o[0].href:document.URL}return new URL(e,t)}function P(){return{x:pageXOffset,y:pageYOffset}}const d=new WeakSet,p={"preload-code":["","off","false","tap","hover","viewport","eager"],"preload-data":["","off","false","tap","hover"],keepfocus:["","true","off","false"],noscroll:["","true","off","false"],reload:["","true","off","false"],replacestate:["","true","off","false"]};function c(e,t){const o=e.getAttribute(`data-sveltekit-${t}`);return v&&A(e,t,o),o}function A(e,t,o){o!==null&&!d.has(e)&&!p[t].includes(o)&&(console.error(`Unexpected value for ${t} — should be one of ${p[t].map(a=>JSON.stringify(a)).join(", ")}`,e),d.add(e))}const _={...u,"":u.hover};function k(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function $(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=k(e)}}function G(e,t){let o;try{o=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!o||!!a||m(o,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=o?.origin===b&&e.hasAttribute("download");return{url:o,external:r,target:a,download:l}}function K(e){let t=null,o=null,a=null,r=null,l=null,n=null,s=e;for(;s&&s!==document.documentElement;)a===null&&(a=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),o===null&&(o=c(s,"noscroll")),l===null&&(l=c(s,"reload")),n===null&&(n=c(s,"replacestate")),s=k(s);function i(E){switch(E){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:_[a??"off"],preload_data:_[r??"off"],keepfocus:i(t),noscroll:i(o),reload:i(l),replace_state:i(n)}}function h(e){const t=f(e);let o=!0;function a(){o=!0,t.update(n=>n)}function r(n){o=!1,t.set(n)}function l(n){let s;return t.subscribe(i=>{(s===void 0||o&&i!==s)&&n(s=i)})}return{notify:a,set:r,subscribe:l}}function T(){const{set:e,subscribe:t}=f(!1);if(v||!g)return{subscribe:t,check:async()=>!1};let o;async function a(){clearTimeout(o);try{const r=await fetch(`${w}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const n=(await r.json()).version!==S;return n&&(e(!0),clearTimeout(o)),n}catch{return!1}}return{subscribe:t,check:a}}function m(e,t){return e.origin!==b||!e.pathname.startsWith(t)}const j={url:h({}),page:h({}),navigating:f(null),updated:T()};export{V as H,Y as N,x as P,U as S,K as a,j as b,R as c,L as d,u as e,$ as f,G as g,O as h,m as i,b as o,D as r,P as s};
@@ -0,0 +1 @@
1
+ import{s as f,g as l}from"./utils.FPV-Nskp.js";import{X as c,i as b,n as a,m as _,D as p,g as d,s as g}from"./index-client.RxGVicQn.js";let u=!1,i=Symbol();function y(e,r,n){const s=n[r]??={store:null,source:_(void 0),unsubscribe:a};if(p&&(s.source.label=r),s.store!==e&&!(i in n))if(s.unsubscribe(),s.store=e??null,e==null)s.source.v=void 0,s.unsubscribe=a;else{var t=!0;s.unsubscribe=f(e,o=>{t?s.source.v=o:g(s.source,o)}),t=!1}return e&&i in n?l(e):d(s.source)}function D(){const e={};function r(){c(()=>{for(var n in e)e[n].unsubscribe();b(e,i,{enumerable:!1,value:!0})})}return[e,r]}function E(e){var r=u;try{return u=!1,[e(),u]}finally{u=r}}export{y as a,E as c,D as s};
@@ -0,0 +1 @@
1
+ import{n as o,ab as a,u as d}from"./index-client.RxGVicQn.js";const i=[];function _(s,u=o){let e=null;const t=new Set;function c(r){if(a(s,r)&&(s=r,e)){const b=!i.length;for(const n of t)n[1](),i.push(n,s);if(b){for(let n=0;n<i.length;n+=2)i[n][0](i[n+1]);i.length=0}}}function f(r){c(r(s))}function l(r,b=o){const n=[r,b];return t.add(n),t.size===1&&(e=u(c,f)||o),r(s),()=>{t.delete(n),t.size===0&&e&&(e(),e=null)}}return{set:c,update:f,subscribe:l}}function h(s){let u;return p(s,e=>u=e)(),u}function p(s,u,e){if(s==null)return u(void 0),o;const t=d(()=>s.subscribe(u,e));return t.unsubscribe?()=>t.unsubscribe():t}export{h as g,p as s,_ as w};
@@ -0,0 +1,23 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.O7eweRRE.js","../chunks/disclose-version.wiZKqWq_.js","../chunks/index-client.RxGVicQn.js","../chunks/branches.AspTl11T.js","../nodes/1.BpApC4sb.js","../chunks/render.aSHX1YpI.js","../chunks/store.B-Onzqul.js","../chunks/utils.FPV-Nskp.js","../chunks/environment.Bosi_-dm.js","../chunks/browser-fallback.-TS2BfOP.js","../chunks/singletons.DwXhoGan.js","../nodes/2.DN5MvnO-.js","../chunks/if.C4x3Unkx.js","../chunks/each.B2GUMkbA.js","../chunks/attributes.EWP7LHVR.js","../chunks/StatusBadge.DecyJq-K.js","../chunks/attributes.DNhq2NOS.js","../nodes/3.CYX5dsUE.js","../nodes/4.3cK7J6-j.js","../nodes/5.C1mAk_eh.js","../chunks/props.C2sC4BdM.js","../nodes/6.BPgB7S1N.js"])))=>i.map(i=>d[i]);
2
+ import{S as ae,D as ne,H as oe,a as ce,h as ie,b as le,c as ue,E as fe,e as he,r as pe,u as de,q as ye,d as me,s as _e,L as be,g as T,f as Fe,i as ve,m as we,j as Ee,k as ge,l as Ae,n as $e,p as Te,o as Oe,t as Pe,v as O,w as Se,x as ke,y as S,z as xe,A as je,B as De}from"../chunks/index-client.RxGVicQn.js";import{h as Ce,m as Le,u as Ie,i as Be,s as Re}from"../chunks/render.aSHX1YpI.js";import{t as Ne,c as Ue,a as Me,b as ze}from"../chunks/attributes.DNhq2NOS.js";import{s as E,a as w,p as z,b as V,c as Ve,d as A,e as k,f as X,t as Ze}from"../chunks/disclose-version.wiZKqWq_.js";import{B as qe}from"../chunks/browser-fallback.-TS2BfOP.js";import{i as x}from"../chunks/if.C4x3Unkx.js";import{B as Ye}from"../chunks/branches.AspTl11T.js";import{p as j}from"../chunks/props.C2sC4BdM.js";import{b as Z}from"../chunks/environment.Bosi_-dm.js";function He(){const s=new Error(`await_invalid
3
+ Encountered asynchronous work while rendering synchronously.
4
+ https://svelte.dev/e/await_invalid`);throw s.name="Svelte error",s}function Je(){const s=new Error("invalid_csp\n`csp.nonce` was set while `csp.hash` was `true`. These options cannot be used simultaneously.\nhttps://svelte.dev/e/invalid_csp");throw s.name="Svelte error",s}function Ge(){const s=new Error("server_context_required\nCould not resolve `render` context.\nhttps://svelte.dev/e/server_context_required");throw s.name="Svelte error",s}let q=null;function Y(){q?.abort(ae),q=null}const Ke="modulepreload",We=function(s,e){return new URL(s,e).href},H={},g=function(e,t,a){let r=Promise.resolve();if(t&&t.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),h=i?.nonce||i?.getAttribute("nonce");r=Promise.allSettled(t.map(n=>{if(n=We(n,a),n in H)return;H[n]=!0;const l=n.endsWith(".css"),u=l?'[rel="stylesheet"]':"";if(!!a)for(let y=o.length-1;y>=0;y--){const p=o[y];if(p.href===n&&(!l||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${u}`))return;const f=document.createElement("link");if(f.rel=l?"stylesheet":Ke,l||(f.as="script"),f.crossOrigin="",f.href=n,h&&f.setAttribute("nonce",h),document.head.appendChild(f),l)return new Promise((y,p)=>{f.addEventListener("load",y),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${n}`)))})}))}function c(o){const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o}return r.then(o=>{for(const i of o||[])i.status==="rejected"&&c(i.reason);return e().catch(c)})};function Xe(){const s=Qe?.getStore();return Ge(),s}let Qe=null;const et={"<":"\\u003C","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\u2028":"\\u2028","\u2029":"\\u2029"};class D extends Error{constructor(e,t,a,r){super(e),this.name="DevalueError",this.path=t.join(""),this.value=a,this.root=r}}function P(s){return Object(s)!==s}const tt=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function st(s){const e=Object.getPrototypeOf(s);return e===Object.prototype||e===null||Object.getPrototypeOf(e)===null||Object.getOwnPropertyNames(e).sort().join("\0")===tt}function C(s){return Object.prototype.toString.call(s).slice(8,-1)}function rt(s){switch(s){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
5
+ `: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 s<" "?`\\u${s.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function $(s){let e="",t=0;const a=s.length;for(let r=0;r<a;r+=1){const c=s[r],o=rt(c);o&&(e+=s.slice(t,r)+o,t=r+1)}return`"${t===0?s:e+s.slice(t)}"`}function at(s){return Object.getOwnPropertySymbols(s).filter(e=>Object.getOwnPropertyDescriptor(s,e).enumerable)}const nt=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function ot(s){return nt.test(s)?"."+s:"["+JSON.stringify(s)+"]"}const L="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$",ct=/[<\b\f\n\r\t\0\u2028\u2029]/g,it=/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;function lt(s,e){const t=new Map,a=[],r=new Map;function c(n){if(!P(n)){if(t.has(n)){t.set(n,t.get(n)+1);return}if(t.set(n,1),typeof n=="function")throw new D("Cannot stringify a function",a,n,s);switch(C(n)){case"Number":case"BigInt":case"String":case"Boolean":case"Date":case"RegExp":case"URL":case"URLSearchParams":return;case"Array":n.forEach((u,_)=>{a.push(`[${_}]`),c(u),a.pop()});break;case"Set":Array.from(n).forEach(c);break;case"Map":for(const[u,_]of n)a.push(`.get(${P(u)?I(u):"..."})`),c(_),a.pop();break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":c(n.buffer);return;case"ArrayBuffer":return;case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":return;default:if(!st(n))throw new D("Cannot stringify arbitrary non-POJOs",a,n,s);if(at(n).length>0)throw new D("Cannot stringify POJOs with symbolic keys",a,n,s);for(const u in n)a.push(ot(u)),c(n[u]),a.pop()}}}c(s);const o=new Map;Array.from(t).filter(n=>n[1]>1).sort((n,l)=>l[1]-n[1]).forEach((n,l)=>{o.set(n[0],ut(l))});function i(n){if(o.has(n))return o.get(n);if(P(n))return I(n);if(r.has(n))return r.get(n);const l=C(n);switch(l){case"Number":case"String":case"Boolean":return`Object(${i(n.valueOf())})`;case"RegExp":return`new RegExp(${$(n.source)}, "${n.flags}")`;case"Date":return`new Date(${n.getTime()})`;case"URL":return`new URL(${$(n.toString())})`;case"URLSearchParams":return`new URLSearchParams(${$(n.toString())})`;case"Array":const u=n.map((m,F)=>F in n?i(m):""),_=n.length===0||n.length-1 in n?"":",";return`[${u.join(",")}${_}]`;case"Set":case"Map":return`new ${l}([${Array.from(n).map(i).join(",")}])`;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{let m=`new ${l}`;if(t.get(n.buffer)===1){const b=new n.constructor(n.buffer);m+=`([${b}])`}else m+=`([${i(n.buffer)}])`;const F=n.byteOffset,v=F+n.byteLength;if(F>0||v!==n.buffer.byteLength){const b=+/(\d+)/.exec(l)[1]/8;m+=`.subarray(${F/b},${v/b})`}return m}case"ArrayBuffer":return`new Uint8Array([${new Uint8Array(n).toString()}]).buffer`;case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":return`${l}.from(${$(n.toString())})`;default:const f=Object.keys(n),y=f.map(m=>`${ht(m)}:${i(n[m])}`).join(",");return Object.getPrototypeOf(n)===null?f.length>0?`{${y},__proto__:null}`:"{__proto__:null}":`{${y}}`}}const h=i(s);if(o.size){const n=[],l=[],u=[];return o.forEach((_,f)=>{if(n.push(_),r.has(f)){u.push(r.get(f));return}if(P(f)){u.push(I(f));return}switch(C(f)){case"Number":case"String":case"Boolean":u.push(`Object(${i(f.valueOf())})`);break;case"RegExp":u.push(f.toString());break;case"Date":u.push(`new Date(${f.getTime()})`);break;case"Array":u.push(`Array(${f.length})`),f.forEach((p,m)=>{l.push(`${_}[${m}]=${i(p)}`)});break;case"Set":u.push("new Set"),l.push(`${_}.${Array.from(f).map(p=>`add(${i(p)})`).join(".")}`);break;case"Map":u.push("new Map"),l.push(`${_}.${Array.from(f).map(([p,m])=>`set(${i(p)}, ${i(m)})`).join(".")}`);break;case"ArrayBuffer":u.push(`new Uint8Array([${new Uint8Array(f).join(",")}]).buffer`);break;default:u.push(Object.getPrototypeOf(f)===null?"Object.create(null)":"{}"),Object.keys(f).forEach(p=>{l.push(`${_}${pt(p)}=${i(f[p])}`)})}}),l.push(`return ${h}`),`(function(${n.join(",")}){${l.join(";")}}(${u.join(",")}))`}else return h}function ut(s){let e="";do e=L[s%L.length]+e,s=~~(s/L.length)-1;while(s>=0);return it.test(e)?`${e}0`:e}function ft(s){return et[s]||s}function Q(s){return s.replace(ct,ft)}function ht(s){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(s)?s:Q(JSON.stringify(s))}function pt(s){return/^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(s)?`.${s}`:`[${Q(JSON.stringify(s))}]`}function I(s){if(typeof s=="string")return $(s);if(s===void 0)return"void 0";if(s===0&&1/s<0)return"-0";const e=String(s);return typeof s=="number"?e.replace(/^(-)?0\./,"$1."):typeof s=="bigint"?s+"n":e}var dt="font-weight: bold",yt="font-weight: normal";function mt(s,e){ne?console.warn(`%c[svelte] unresolved_hydratable
6
+ %cA \`hydratable\` value with key \`${s}\` was created, but at least part of it was not used during the render.
7
+
8
+ The \`hydratable\` was initialized in:
9
+ ${e}
10
+ https://svelte.dev/e/unresolved_hydratable`,dt,yt):console.warn("https://svelte.dev/e/unresolved_hydratable")}const B=`<!--${oe}-->`,R=`<!--${ce}-->`;function N(s,e,t){ie&&le();var a=new Ye(s);ue(()=>{var r=e()??null;a.ensure(r,r&&(c=>t(c,r)))},fe)}function J(s,e){return s===e||s?.[me]===e}function U(s={},e,t,a){return he(()=>{var r,c;return pe(()=>{r=c,c=[],de(()=>{s!==t(...c)&&(e(s,...c),r&&J(t(...r),s)&&e(null,...r))})}),()=>{ye(()=>{c&&J(t(...c),s)&&e(null,...c)})}}),s}function _t(s){return class extends bt{constructor(e){super({component:s,...e})}}}class bt{#e;#t;constructor(e){var t=new Map,a=(c,o)=>{var i=we(o,!1,!1);return t.set(c,i),i};const r=new Proxy({...e.props||{},$$events:{}},{get(c,o){return T(t.get(o)??a(o,Reflect.get(c,o)))},has(c,o){return o===be?!0:(T(t.get(o)??a(o,Reflect.get(c,o))),Reflect.has(c,o))},set(c,o,i){return _e(t.get(o)??a(o,i),i),Reflect.set(c,o,i)}});this.#t=(e.hydrate?Ce:Le)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Fe(),this.#e=r.$$events;for(const c of Object.keys(this.#t))c==="$set"||c==="$destroy"||c==="$on"||ve(this,c,{get(){return this.#t[c]},set(o){this.#t[c]=o},enumerable:!0});this.#t.$set=c=>{Object.assign(r,c)},this.#t.$destroy=()=>{Ie(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];const a=(...r)=>t.call(this,...r);return this.#e[e].push(a),()=>{this.#e[e]=this.#e[e].filter(r=>r!==a)}}$destroy(){this.#t.$destroy()}}const Ft=/[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;function vt(s,e={}){return e.csp?.hash&&e.csp.nonce&&Je(),d.render(s,e)}function G(s,e,t,a,r=0){a&&(s.style=Ne(s.style,a)),s.class&&(s.class=Ue(s.class)),(e||t)&&(s.class=Me(s.class,e,t));let c="",o;const i=(r&Ae)===0,h=(r&Ee)===0,n=(r&ge)!==0;for(o in s)if(typeof s[o]!="function"&&!(o[0]==="$"&&o[1]==="$")&&!Ft.test(o)){var l=s[o];h&&(o=o.toLowerCase()),!(n&&(o==="defaultvalue"||o==="defaultchecked")&&(o=o==="defaultvalue"?"value":"checked",s[o]))&&(c+=ze(o,l,i&&Be(o)))}return c}let K,W;async function wt(s){K??=new TextEncoder,W??=globalThis.crypto?.subtle?.digest?globalThis.crypto:(await g(async()=>{const{webcrypto:t}=await import("node:crypto");return{webcrypto:t}},[],import.meta.url)).webcrypto;const e=await W.subtle.digest("SHA-256",K.encode(s));return Et(e)}function Et(s){if(!qe&&globalThis.Buffer)return globalThis.Buffer.from(s).toString("base64");let e="";for(let t=0;t<s.length;t++)e+=String.fromCharCode(s[t]);return btoa(e)}class d{#e=[];#t=void 0;#o=!1;type;#s;promise=void 0;global;local;constructor(e,t){this.#s=t,this.global=e,this.local=t?{...t.local}:{select_value:void 0},this.type=t?t.type:"body"}head(e){const t=new d(this.global,this);t.type="head",this.#e.push(t),t.child(e)}async_block(e,t){this.#e.push(B),this.async(e,t),this.#e.push(R)}async(e,t){let a=t;if(e.length>0){const r=w;a=c=>Promise.all(e).then(()=>{const o=w;try{return E(r),t(c)}finally{E(o)}})}this.child(a)}run(e){const t=w;let a=Promise.resolve(e[0]());const r=[a];for(const c of e.slice(1))a=a.then(()=>{const o=w;E(t);try{return c()}finally{E(o)}}),r.push(a);return a.catch($e),this.promise=a,r}child_block(e){this.#e.push(B),this.child(e),this.#e.push(R)}child(e){const t=new d(this.global,this);this.#e.push(t);const a=w;E({...w,p:a,c:null,r:t});const r=e(t);return E(a),r instanceof Promise&&(t.global.mode==="sync"&&He(),r.catch(()=>{}),t.promise=r),t}component(e,t){z(t);const a=this.child(e);a.#o=!0,V()}select(e,t,a,r,c,o,i){const{value:h,...n}=e;this.push(`<select${G(n,a,r,c,o)}>`),this.child(l=>{l.local.select_value=h,t(l)}),this.push(`${i?"<!>":""}</select>`)}option(e,t,a,r,c,o,i){this.#e.push(`<option${G(e,a,r,c,o)}`);const h=(n,l,{head:u,body:_})=>{"value"in e&&(l=e.value),l===this.local.select_value&&n.#e.push(" selected"),n.#e.push(`>${_}${i?"<!>":""}</option>`),u&&n.head(f=>f.push(u))};typeof t=="function"?this.child(n=>{const l=new d(this.global,this);if(t(l),this.global.mode==="async")return l.#n().then(u=>{h(n,u.body.replaceAll("<!---->",""),u)});{const u=l.#a();h(n,u.body.replaceAll("<!---->",""),u)}}):h(this,t,{body:t})}title(e){const t=this.get_path(),a=r=>{this.global.set_title(r,t)};this.child(r=>{const c=new d(r.global,r);if(e(c),r.global.mode==="async")return c.#n().then(o=>{a(o.head)});{const o=c.#a();a(o.head)}})}push(e){typeof e=="function"?this.child(async t=>t.push(await e())):this.#e.push(e)}on_destroy(e){(this.#t??=[]).push(e)}get_path(){return this.#s?[...this.#s.get_path(),this.#s.#e.indexOf(this)]:[]}copy(){const e=new d(this.global,this.#s);return e.#e=this.#e.map(t=>t instanceof d?t.copy():t),e.promise=this.promise,e}subsume(e){if(this.global.mode!==e.global.mode)throw new Error("invariant: A renderer cannot switch modes. If you're seeing this, there's a compiler bug. File an issue!");this.local=e.local,this.#e=e.#e.map(t=>(t instanceof d&&t.subsume(t),t)),this.promise=e.promise,this.type=e.type}get length(){return this.#e.length}static render(e,t={}){let a;const r={};return Object.defineProperties(r,{html:{get:()=>(a??=d.#r(e,t)).body},head:{get:()=>(a??=d.#r(e,t)).head},body:{get:()=>(a??=d.#r(e,t)).body},hashes:{value:{script:""}},then:{value:(c,o)=>{{const i=a??=d.#r(e,t),h=c({head:i.head,body:i.body,html:i.body,hashes:{script:[]}});return Promise.resolve(h)}}}}),r}*#f(){for(const e of this.#c())yield*e.#i()}*#c(){for(const e of this.#e)typeof e!="string"&&(yield*e.#c());this.#o&&(yield this)}*#i(){if(this.#t)for(const e of this.#t)yield e;for(const e of this.#e)e instanceof d&&!e.#o&&(yield*e.#i())}static#r(e,t){var a=w;try{const r=d.#l("sync",e,t),c=r.#a();return d.#u(c,r)}finally{Y(),E(a)}}static async#d(e,t){const a=w;try{const r=d.#l("async",e,t),c=await r.#n(),o=await r.#h();return o!==null&&(c.head=o+c.head),d.#u(c,r)}finally{E(a),Y()}}#a(e={head:"",body:""}){for(const t of this.#e)typeof t=="string"?e[this.type]+=t:t instanceof d&&t.#a(e);return e}async#n(e={head:"",body:""}){await this.promise;for(const t of this.#e)typeof t=="string"?e[this.type]+=t:t instanceof d&&await t.#n(e);return e}async#h(){const e=Xe().hydratable;for(const[t,a]of e.unresolved_promises)mt(a,e.lookup.get(a)?.stack??"<missing stack trace>");for(const t of e.comparisons)await t;return await this.#p(e)}static#l(e,t,a){const r=new d(new gt(e,a.idPrefix?a.idPrefix+"-":"",a.csp));return r.push(B),z(),a.context&&(w.c=a.context),w.r=r,t(r,a.props??{}),V(),r.push(R),r}static#u(e,t){for(const c of t.#f())c();let a=e.head+t.global.get_title(),r=e.body;for(const{hash:c,code:o}of t.global.css)a+=`<style id="${c}">${o}</style>`;return{head:a,body:r,hashes:{script:t.global.csp.script_hashes}}}async#p(e){if(e.lookup.size===0)return null;let t=[],a=!1;for(const[i,h]of e.lookup){if(h.promises){a=!0;for(const n of h.promises)await n}t.push(`[${lt(i)},${h.serialized}]`)}let r="const h = (window.__svelte ??= {}).h ??= new Map();";a&&(r=`const r = (v) => Promise.resolve(v);
11
+ ${r}`);const c=`
12
+ {
13
+ ${r}
14
+
15
+ for (const [k, v] of [
16
+ ${t.join(`,
17
+ `)}
18
+ ]) {
19
+ h.set(k, v);
20
+ }
21
+ }
22
+ `;let o="";if(this.global.csp.nonce)o=` nonce="${this.global.csp.nonce}"`;else if(this.global.csp.hash){const i=await wt(c);this.global.csp.script_hashes.push(`sha256-${i}`)}return`
23
+ <script${o}>${c}<\/script>`}}class gt{csp;mode;uid;css=new Set;#e={path:[],value:""};constructor(e,t="",a={hash:!1}){this.mode=e,this.csp={...a,script_hashes:[]};let r=1;this.uid=()=>`${t}s${r++}`}get_title(){return this.#e.value}set_title(e,t){const a=this.#e.path;let r=0,c=Math.min(t.length,a.length);for(;r<c&&t[r]===a[r];)r+=1;t[r]!==void 0&&(a[r]===void 0||t[r]>a[r])&&(this.#e.path=t,this.#e.value=e)}}const Rt={};function At(s){const e=_t(s),t=(a,{context:r,csp:c}={})=>{const o=vt(s,{props:a,context:r,csp:c}),i=Object.defineProperties({},{css:{value:{code:"",map:null}},head:{get:()=>o.head},html:{get:()=>o.body},then:{value:(h,n)=>{{const l=h({css:i.css,head:i.head,html:i.html});return Promise.resolve(l)}}}});return i};return e.render=t,e}var $t=X('<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>'),Tt=X("<!> <!>",1);function Ot(s,e){Te(e,!0);let t=j(e,"components",23,()=>[]),a=j(e,"data_0",3,null),r=j(e,"data_1",3,null);Z||Ve("__svelte__",e.stores),Z?Oe(()=>e.stores.page.set(e.page)):e.stores.page.set(e.page),Pe(()=>{e.stores,e.page,e.constructors,t(),e.form,a(),r(),e.stores.page.notify()});let c=S(!1),o=S(!1),i=S(null);var h=Tt(),n=O(h);{var l=y=>{var p=k(),m=O(p);N(m,()=>e.constructors[0],(F,v)=>{U(v(F,{get data(){return a()},children:(b,Pt)=>{var M=k(),ee=O(M);N(ee,()=>e.constructors[1],(te,se)=>{U(se(te,{get data(){return r()},get form(){return e.form}}),re=>t()[1]=re,()=>t()?.[1])}),A(b,M)},$$slots:{default:!0}}),b=>t()[0]=b,()=>t()?.[0])}),A(y,p)},u=y=>{var p=k(),m=O(p);N(m,()=>e.constructors[0],(F,v)=>{U(v(F,{get data(){return a()},get form(){return e.form}}),b=>t()[0]=b,()=>t()?.[0])}),A(y,p)};x(n,y=>{e.constructors[1]?y(l):y(u,!1)})}var _=Se(n,2);{var f=y=>{var p=$t(),m=xe(p);{var F=v=>{var b=Ze();De(()=>Re(b,T(i))),A(v,b)};x(m,v=>{T(o)&&v(F)})}je(p),A(y,p)};x(_,y=>{T(c)&&y(f)})}A(s,h),ke()}const Nt=At(Ot),Ut=[()=>g(()=>import("../nodes/0.O7eweRRE.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>g(()=>import("../nodes/1.BpApC4sb.js"),__vite__mapDeps([4,1,2,5,6,7,8,9,10]),import.meta.url),()=>g(()=>import("../nodes/2.DN5MvnO-.js"),__vite__mapDeps([11,1,2,5,12,3,13,14,15,16]),import.meta.url),()=>g(()=>import("../nodes/3.CYX5dsUE.js"),__vite__mapDeps([17,1,2,5,12,3,13,14,15,16]),import.meta.url),()=>g(()=>import("../nodes/4.3cK7J6-j.js"),__vite__mapDeps([18,1,2,5,12,3,14,15,16]),import.meta.url),()=>g(()=>import("../nodes/5.C1mAk_eh.js"),__vite__mapDeps([19,1,2,5,12,3,14,13,20,6,7]),import.meta.url),()=>g(()=>import("../nodes/6.BPgB7S1N.js"),__vite__mapDeps([21,1,2,5,12,3,13,14,15,16,20,6,7]),import.meta.url)],Mt=[0],zt={"/":[2],"/readmodels":[3],"/readmodels/[name]":[4],"/readmodels/[name]/backups":[5],"/readmodels/[name]/replay":[6]},Vt={handleError:({error:s})=>{console.error(s)}};export{zt as dictionary,Vt as hooks,Rt as matchers,Ut as nodes,Nt as root,Mt as server_loads};
@@ -0,0 +1,13 @@
1
+ import{D as T}from"../chunks/index-client.RxGVicQn.js";import{B as pt}from"../chunks/browser-fallback.-TS2BfOP.js";import{H as G,N as W,f as ot,g as Oe,i as Re,a as he,P as Pe,s as Me,b as J,r as ae,c as H,o as je,S as ht,d as _t,e as st,h as gt}from"../chunks/singletons.DwXhoGan.js";async function Ie(){}new URL("sveltekit-internal://");function Rt(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function Pt(e){return e.split("%25").map(decodeURI).join("%25")}function jt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function xe({href:e}){return e.split("#")[0]}const It=["href","pathname","search","toString","toJSON"];function xt(e,n,a){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(f,c){if(c==="get"||c==="getAll"||c==="has")return l=>(a(l),f[c](l));n();const y=Reflect.get(f,c);return typeof y=="function"?y.bind(f):y}}),enumerable:!0,configurable:!0});for(const f of It)Object.defineProperty(s,f,{get(){return n(),e[f]},enumerable:!0,configurable:!0});return pt||(s[Symbol.for("nodejs.util.inspect.custom")]=(f,c,y)=>y(e,c)),Lt(s),s}function Lt(e){Nt(e),Object.defineProperty(e,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}function Nt(e){pt||(e[Symbol.for("nodejs.util.inspect.custom")]=(n,a,s)=>s(new URL(e),a))}const Tt="/__data.json",Ut=".html__data.json";function Ct(e){return e.endsWith(".html")?e.replace(/\.html$/,Ut):e.replace(/\/$/,"")+Tt}function Dt(...e){let n=5381;for(const a of e)if(typeof a=="string"){let s=a.length;for(;s;)n=n*33^a.charCodeAt(--s)}else if(ArrayBuffer.isView(a)){const s=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);let f=s.length;for(;f;)n=n*33^s[--f]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}let Ve=0;const He=window.fetch;function qt(){Ve+=1}function Ft(){Ve-=1}if(T){let e=!1;(async()=>{e=new Error().stack.includes("check_stack_trace")})(),window.fetch=(a,s)=>{const f=a instanceof Request?a.url:a.toString(),c=new Error().stack.split(`
2
+ `),y=c.findIndex(m=>m.includes("load@")||m.includes("at load")),l=c.slice(0,y+2).join(`
3
+ `),g=e?l.includes("src/runtime/client/client.js"):Ve,u=s?.__sveltekit_fetch__;return g&&!u&&console.warn(`Loading ${f} using \`window.fetch\`. For best results, use the \`fetch\` that is passed to your \`load\` function: https://kit.svelte.dev/docs/load#making-fetch-requests`),(a instanceof Request?a.method:s?.method||"GET")!=="GET"&&ee.delete(ge(a)),He(a,s)}}else window.fetch=(e,n)=>((e instanceof Request?e.method:n?.method||"GET")!=="GET"&&ee.delete(ge(e)),He(e,n));const ee=new Map;function Mt(e){const n=atob(e),a=new Uint8Array(n.length);for(let s=0;s<n.length;s++)a[s]=n.charCodeAt(s);return a.buffer}function Ht(e,n){const a=ge(e,n),s=document.querySelector(a);if(s?.textContent){let{body:f,...c}=JSON.parse(s.textContent);const y=s.getAttribute("data-ttl");return y&&ee.set(a,{body:f,init:c,ttl:1e3*Number(y)}),s.getAttribute("data-b64")!==null&&(f=Mt(f)),Promise.resolve(new Response(f,c))}return T?yt(e,n):window.fetch(e,n)}function Bt(e,n,a){if(ee.size>0){const s=ge(e,a),f=ee.get(s);if(f){if(performance.now()<f.ttl&&["default","force-cache","only-if-cached",void 0].includes(a?.cache))return new Response(f.body,f.init);ee.delete(s)}}return T?yt(n,a):window.fetch(n,a)}function yt(e,n){const a={...n};return Object.defineProperty(a,"__sveltekit_fetch__",{value:!0,writable:!0,configurable:!0}),window.fetch(e,a)}function ge(e,n){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(n?.headers||n?.body){const f=[];n.headers&&f.push([...new Headers(n.headers)].join(",")),n.body&&(typeof n.body=="string"||ArrayBuffer.isView(n.body))&&f.push(n.body),s+=`[data-hash="${Dt(...f)}"]`}return s}const Vt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Gt(e){const n=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Kt(e).map(s=>{const f=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(f)return n.push({name:f[1],matcher:f[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const c=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(c)return n.push({name:c[1],matcher:c[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const y=s.split(/\[(.+?)\](?!\])/);return"/"+y.map((g,u)=>{if(u%2){if(g.startsWith("x+"))return Le(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return Le(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=Vt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,m,P,S,R]=h;return n.push({name:S,matcher:R,optional:!!m,rest:!!P,chained:P?u===1&&y[0]==="":!1}),P?"(.*?)":m?"([^/]*)?":"([^/]+?)"}return Le(g)}).join("")}).join("")}/?$`),params:n}}function Jt(e){return!/^\([^)]+\)$/.test(e)}function Kt(e){return e.slice(1).split("/").filter(Jt)}function zt(e,n,a){const s={},f=e.slice(1),c=f.filter(l=>l!==void 0);let y=0;for(let l=0;l<n.length;l+=1){const g=n[l];let u=f[l-y];if(g.chained&&g.rest&&y&&(u=f.slice(l-y,l+1).filter(h=>h).join("/"),y=0),u===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||a[g.matcher](u)){s[g.name]=u;const h=n[l+1],m=f[l+1];h&&!h.rest&&h.optional&&m&&g.chained&&(y=0),!h&&!m&&Object.keys(s).length===c.length&&(y=0);continue}if(g.optional&&g.chained){y++;continue}return}if(!y)return s}function Le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Wt({nodes:e,server_loads:n,dictionary:a,matchers:s}){const f=new Set(n);return Object.entries(a).map(([l,[g,u,h]])=>{const{pattern:m,params:P}=Gt(l),S={id:l,exec:R=>{const U=m.exec(R);if(U)return zt(U,P,s)},errors:[1,...h||[]].map(R=>e[R]),layouts:[0,...u||[]].map(y),leaf:c(g)};return S.errors.length=S.layouts.length=Math.max(S.errors.length,S.layouts.length),S});function c(l){const g=l<0;return g&&(l=~l),[g,e[l]]}function y(l){return l===void 0?l:[f.has(l),e[l]]}}function Ge(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ne(e,n,a=JSON.stringify){const s=a(n);try{sessionStorage[e]=s}catch{}}class Te extends Error{constructor(n,a){super(n),this.name="DevalueError",this.path=a.join("")}}function it(e){return Object(e)!==e}const Yt=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Xt(e){const n=Object.getPrototypeOf(e);return n===Object.prototype||n===null||Object.getOwnPropertyNames(n).sort().join("\0")===Yt}function Zt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Qt(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
4
+ `: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 Q(e){let n="",a=0;const s=e.length;for(let f=0;f<s;f+=1){const c=e[f],y=Qt(c);y&&(n+=e.slice(a,f)+y,a=f+1)}return`"${a===0?e:n+e.slice(a)}"`}const Je=-1,wt=-2,mt=-3,vt=-4,bt=-5,Ke=-6;function en(e,n){return Et(JSON.parse(e),n)}function Et(e,n){if(typeof e=="number")return f(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const a=e,s=Array(a.length);function f(c,y=!1){if(c===Je)return;if(c===mt)return NaN;if(c===vt)return 1/0;if(c===bt)return-1/0;if(c===Ke)return-0;if(y)throw new Error("Invalid input");if(c in s)return s[c];const l=a[c];if(!l||typeof l!="object")s[c]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],u=n?.[g];if(u)return s[c]=u(f(l[1]));switch(g){case"Date":s[c]=new Date(l[1]);break;case"Set":const h=new Set;s[c]=h;for(let S=1;S<l.length;S+=1)h.add(f(l[S]));break;case"Map":const m=new Map;s[c]=m;for(let S=1;S<l.length;S+=2)m.set(f(l[S]),f(l[S+1]));break;case"RegExp":s[c]=new RegExp(l[1],l[2]);break;case"Object":s[c]=Object(l[1]);break;case"BigInt":s[c]=BigInt(l[1]);break;case"null":const P=Object.create(null);s[c]=P;for(let S=1;S<l.length;S+=2)P[l[S]]=f(l[S+1]);break;default:throw new Error(`Unknown type ${g}`)}}else{const g=new Array(l.length);s[c]=g;for(let u=0;u<l.length;u+=1){const h=l[u];h!==wt&&(g[u]=f(h))}}else{const g={};s[c]=g;for(const u in l){const h=l[u];g[u]=f(h)}}return s[c]}return f(0)}function Ue(e,n){const a=[],s=new Map,f=[];for(const u in n)f.push({key:u,fn:n[u]});const c=[];let y=0;function l(u){if(typeof u=="function")throw new Te("Cannot stringify a function",c);if(s.has(u))return s.get(u);if(u===void 0)return Je;if(Number.isNaN(u))return mt;if(u===1/0)return vt;if(u===-1/0)return bt;if(u===0&&1/u<0)return Ke;const h=y++;s.set(u,h);for(const{key:P,fn:S}of f){const R=S(u);if(R)return a[h]=`["${P}",${l(R)}]`,h}let m="";if(it(u))m=Ce(u);else switch(Zt(u)){case"Number":case"String":case"Boolean":m=`["Object",${Ce(u)}]`;break;case"BigInt":m=`["BigInt",${u}]`;break;case"Date":m=`["Date","${!isNaN(u.getDate())?u.toISOString():""}"]`;break;case"RegExp":const{source:R,flags:U}=u;m=U?`["RegExp",${Q(R)},"${U}"]`:`["RegExp",${Q(R)}]`;break;case"Array":m="[";for(let O=0;O<u.length;O+=1)O>0&&(m+=","),O in u?(c.push(`[${O}]`),m+=l(u[O]),c.pop()):m+=wt;m+="]";break;case"Set":m='["Set"';for(const O of u)m+=`,${l(O)}`;m+="]";break;case"Map":m='["Map"';for(const[O,M]of u)c.push(`.get(${it(O)?Ce(O):"..."})`),m+=`,${l(O)},${l(M)}`,c.pop();m+="]";break;default:if(!Xt(u))throw new Te("Cannot stringify arbitrary non-POJOs",c);if(Object.getOwnPropertySymbols(u).length>0)throw new Te("Cannot stringify POJOs with symbolic keys",c);if(Object.getPrototypeOf(u)===null){m='["null"';for(const O in u)c.push(`.${O}`),m+=`,${Q(O)},${l(u[O])}`,c.pop();m+="]"}else{m="{";let O=!1;for(const M in u)O&&(m+=","),O=!0,c.push(`.${M}`),m+=`${Q(M)}:${l(u[M])}`,c.pop();m+="}"}}return a[h]=m,h}const g=l(e);return g<0?`${g}`:`[${a.join(",")}]`}function Ce(e){const n=typeof e;return n==="string"?Q(e):e instanceof String?Q(e.toString()):e===void 0?Je.toString():e===0&&1/e<0?Ke.toString():n==="bigint"?`["BigInt","${e}"]`:String(e)}function tn(e){function n(a,s){if(a)for(const f in a){if(f[0]==="_"||e.has(f))continue;const c=[...e.values()],y=nn(f,s?.slice(s.lastIndexOf(".")))??`valid exports are ${c.join(", ")}, or anything with a '_' prefix`;throw new Error(`Invalid export '${f}'${s?` in ${s}`:""} (${y})`)}}return n}function nn(e,n=".js"){const a=[];if(ze.has(e)&&a.push(`+layout${n}`),St.has(e)&&a.push(`+page${n}`),kt.has(e)&&a.push(`+layout.server${n}`),rn.has(e)&&a.push(`+page.server${n}`),an.has(e)&&a.push(`+server${n}`),a.length>0)return`'${e}' is a valid export in ${a.slice(0,-1).join(", ")}${a.length>1?" or ":""}${a.at(-1)}`}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]),St=new Set([...ze,"entries"]),kt=new Set([...ze]),rn=new Set([...kt,"actions","entries"]),an=new Set(["GET","POST","PATCH","PUT","DELETE","OPTIONS","HEAD","fallback","prerender","trailingSlash","config","entries"]),on=tn(St);function sn(e){return e.filter(n=>n!=null)}class ye{constructor(n,a){this.status=n,typeof a=="string"?this.body={message:a}:a?this.body=a:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class ct{constructor(n,a){this.status=n,this.location=a}}class We extends Error{constructor(n,a,s){super(s),this.status=n,this.text=a}}function cn(e,n){const a=/^(moz-icon|view-source|jar):/.exec(n);a&&console.warn(`${e}: Calling \`depends('${n}')\` will throw an error in Firefox because \`${a[1]}\` is a special URI scheme`)}const De="x-sveltekit-invalidated",ln="x-sveltekit-trailing-slash";function _e(e){return e instanceof ye||e instanceof We?e.status:500}function fn(e){return e instanceof We?e.text:"Internal Error"}const X=Ge(ht)??{},oe=Ge(_t,en)??{},ie=Ge(gt)??{},Be=history.pushState,se=history.replaceState;if(T){let e=!1;const n=()=>{e||(e=!0,console.warn("Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit's router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead."))};history.pushState=(...a)=>(n(),Be.apply(history,a)),history.replaceState=(...a)=>(n(),se.apply(history,a))}function qe(e){X[e]=Me()}function lt(e,n){let a=e+1;for(;X[a];)delete X[a],a+=1;for(a=n+1;ie[a];)delete ie[a],a+=1}function Y(e){return location.href=e.href,new Promise(()=>{})}function ft(){}function un(e,n){const a=Wt(e),s=e.nodes[0],f=e.nodes[1];s(),f();const c=document.documentElement,y=[],l=[];let g=null;const u={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},m=!1,P=!1,S=!0,R=!1,U=!1,O=!1,M=!1,ce=!1,B,N=history.state?.[G],F=history.state?.[W];N||(N=F=Date.now(),se.call(history,{...history.state,[G]:N,[W]:F},"",location.href));const we=X[N];we&&(history.scrollRestoration="manual",scrollTo(we.x,we.y));let L,Z,me;async function Ye(){if(await(me||=Promise.resolve()),!me)return;me=null;const r=ne(h.url,!0);g=null;const t=Z={},o=r&&await Se(r);t===Z&&(o&&(o.type==="redirect"?await le(new URL(o.location,h.url).href,{},1,t):(o.props.page!==void 0&&(L=o.props.page),B.$set(o.props))),y.length=0)}function Xe(r){l.some(t=>t?.snapshot)&&(ie[r]=l.map(t=>t?.snapshot?.capture()))}function Ze(r){ie[r]?.forEach((t,o)=>{l[o]?.snapshot?.restore(t)})}function Qe(){qe(N),Ne(ht,X),Xe(F),Ne(gt,ie),Ne(_t,oe,Ue)}async function le(r,t,o,i){return de({type:"goto",url:ae(r),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,redirect_count:o,nav_token:i,accept:()=>{t.invalidateAll&&(ce=!0)}})}async function ve(r){return g={id:r.id,promise:Se(r).then(t=>(t.type==="loaded"&&t.state.error&&(g=null),t))},g.promise}async function fe(r){const t=a.find(o=>o.exec(ke(r)));t&&await Promise.all([...t.layouts,t.leaf].map(o=>o?.[1]()))}function et(r){if(T&&r.state.error&&document.querySelector("vite-error-overlay"))return;h=r.state;const t=document.querySelector("style[data-sveltekit]");t&&t.remove(),L=r.props.page,B=new e.root({target:n,props:{...r.props,stores:J,components:l},hydrate:!0}),Ze(F);const o={from:null,to:{params:h.params,route:{id:h.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};u.after_navigate.forEach(i=>i(o)),P=!0}async function te({url:r,params:t,branch:o,status:i,error:d,route:p,form:_}){let w="never";for(const E of o)E?.slash!==void 0&&(w=E.slash);r.pathname=Rt(r.pathname,w),r.search=r.search;const k={type:"loaded",state:{url:r,params:t,branch:o,error:d,route:p},props:{constructors:sn(o).map(E=>E.node.component),page:L}};_!==void 0&&(k.props.form=_);let v={},j=!L,I=0;for(let E=0;E<Math.max(o.length,h.branch.length);E+=1){const $=o[E],C=h.branch[E];$?.data!==C?.data&&(j=!0),$&&(v={...v,...$.data},j&&(k.props[`data_${I}`]=v),I+=1)}return(!h.url||r.href!==h.url.href||h.error!==d||_!==void 0&&_!==L.form||j)&&(k.props.page={error:d,params:t,route:{id:p?.id??null},state:{},status:i,url:new URL(r),form:_??null,data:j?v:L.data}),k}async function be({loader:r,parent:t,url:o,params:i,route:d,server_data_node:p}){let _=null,w=!0;const k={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},v=await r();if(T&&on(v.universal),v.universal?.load){let j=function(...b){for(const E of b){T&&cn(d.id,E);const{href:$}=new URL(E,o);k.dependencies.add($)}};const I={route:new Proxy(d,{get:(b,E)=>(w&&(k.route=!0),b[E])}),params:new Proxy(i,{get:(b,E)=>(w&&k.params.add(E),b[E])}),data:p?.data??null,url:xt(o,()=>{w&&(k.url=!0)},b=>{w&&k.search_params.add(b)}),async fetch(b,E){let $;b instanceof Request?($=b.url,E={body:b.method==="GET"||b.method==="HEAD"?void 0:await b.blob(),cache:b.cache,credentials:b.credentials,headers:b.headers,integrity:b.integrity,keepalive:b.keepalive,method:b.method,mode:b.mode,redirect:b.redirect,referrer:b.referrer,referrerPolicy:b.referrerPolicy,signal:b.signal,...E}):$=b;const C=new URL($,o);return w&&j(C.href),C.origin===o.origin&&($=C.href.slice(o.origin.length)),P?Bt($,C.href,E):Ht($,E)},setHeaders:()=>{},depends:j,parent(){return w&&(k.parent=!0),t()},untrack(b){w=!1;try{return b()}finally{w=!0}}};if(T)try{if(qt(),_=await v.universal.load.call(null,I)??null,_!=null&&Object.getPrototypeOf(_)!==Object.prototype)throw new Error(`a load function related to route '${d.id}' returned ${typeof _!="object"?`a ${typeof _}`:_ instanceof Response?"a Response object":Array.isArray(_)?"an array":"a non-plain object"}, but must return a plain object at the top level (i.e. \`return {...}\`)`)}finally{Ft()}else _=await v.universal.load.call(null,I)??null}return{node:v,loader:r,server:p,universal:v.universal?.load?{type:"data",data:_,uses:k}:null,data:_??p?.data??null,slash:o.pathname===H||o.pathname===H+"/"?"always":v.universal?.trailingSlash??p?.slash}}function tt(r,t,o,i,d,p){if(ce)return!0;if(!d)return!1;if(d.parent&&r||d.route&&t||d.url&&o)return!0;for(const _ of d.search_params)if(i.has(_))return!0;for(const _ of d.params)if(p[_]!==h.params[_])return!0;for(const _ of d.dependencies)if(y.some(w=>w(new URL(_))))return!0;return!1}function Ee(r,t){return r?.type==="data"?r:r?.type==="skip"?t??null:null}function At(r,t){if(!r)return new Set(t.searchParams.keys());const o=new Set([...r.searchParams.keys(),...t.searchParams.keys()]);for(const i of o){const d=r.searchParams.getAll(i),p=t.searchParams.getAll(i);d.every(_=>p.includes(_))&&p.every(_=>d.includes(_))&&o.delete(i)}return o}async function Se({id:r,invalidating:t,url:o,params:i,route:d}){if(g?.id===r)return g.promise;const{errors:p,layouts:_,leaf:w}=d,k=[..._,w];p.forEach(A=>A?.().catch(()=>{})),k.forEach(A=>A?.[1]().catch(()=>{}));let v=null;const j=h.url?r!==h.url.pathname+h.url.search:!1,I=h.route?d.id!==h.route.id:!1,b=At(h.url,o);let E=!1;const $=k.map((A,x)=>{const D=h.branch[x],q=!!A?.[0]&&(D?.loader!==A[1]||tt(E,I,j,b,D.server?.uses,i));return q&&(E=!0),q});if($.some(Boolean)){try{v=await ut(o,$)}catch(A){return ue({status:_e(A),error:await re(A,{url:o,params:i,route:{id:d.id}}),url:o,route:d})}if(v.type==="redirect")return v}const C=v?.nodes;let V=!1;const K=k.map(async(A,x)=>{if(!A)return;const D=h.branch[x],q=C?.[x];if((!q||q.type==="skip")&&A[1]===D?.loader&&!tt(V,I,j,b,D.universal?.uses,i))return D;if(V=!0,q?.type==="error")throw q;return be({loader:A[1],url:o,params:i,route:d,parent:async()=>{const $e={};for(let Ae=0;Ae<x;Ae+=1)Object.assign($e,(await K[Ae])?.data);return $e},server_data_node:Ee(q===void 0&&A[0]?{type:"skip"}:q??null,A[0]?D?.server:void 0)})});for(const A of K)A.catch(()=>{});const z=[];for(let A=0;A<k.length;A+=1)if(k[A])try{z.push(await K[A])}catch(x){if(x instanceof ct)return{type:"redirect",location:x.location};let D=_e(x),q;if(C?.includes(x))D=x.status??D,q=x.error;else if(x instanceof ye)q=x.body;else{if(await J.updated.check())return await Y(o);q=await re(x,{params:i,url:o,route:{id:d.id}})}const pe=await nt(A,z,p);return pe?await te({url:o,params:i,branch:z.slice(0,pe.idx).concat(pe.node),status:D,error:q,route:d}):await at(o,{id:d.id},q,D)}else z.push(void 0);return await te({url:o,params:i,branch:z,status:200,error:null,route:d,form:t?void 0:null})}async function nt(r,t,o){for(;r--;)if(o[r]){let i=r;for(;!t[i];)i-=1;try{return{idx:i+1,node:{node:await o[r](),loader:o[r],data:{},server:null,universal:null}}}catch{continue}}}async function ue({status:r,error:t,url:o,route:i}){const d={};let p=null;if(e.server_loads[0]===0)try{const v=await ut(o,[!0]);if(v.type!=="data"||v.nodes[0]&&v.nodes[0].type!=="data")throw 0;p=v.nodes[0]??null}catch{(o.origin!==je||o.pathname!==location.pathname||m)&&await Y(o)}const w=await be({loader:s,url:o,params:d,route:i,parent:()=>Promise.resolve({}),server_data_node:Ee(p)}),k={node:await f(),loader:f,universal:null,server:null,data:null};return await te({url:o,params:d,branch:[w,k],status:r,error:t,route:null})}function ne(r,t){if(Re(r,H))return;const o=ke(r.pathname);for(const i of a){const d=i.exec(o);if(d)return{id:r.pathname+r.search,invalidating:t,route:i,params:jt(d),url:r}}}function ke(r){return Pt(r.slice(H.length)||"/")}function rt({url:r,type:t,intent:o,delta:i}){let d=!1;const p=dt(h,o,r,t);i!==void 0&&(p.navigation.delta=i);const _={...p.navigation,cancel:()=>{d=!0,p.reject(new Error("navigation was cancelled"))}};return U||u.before_navigate.forEach(w=>w(_)),d?null:p}async function de({type:r,url:t,popped:o,keepfocus:i,noscroll:d,replace_state:p,redirect_count:_=0,nav_token:w={},accept:k=ft,block:v=ft}){const j=ne(t,!1),I=rt({url:t,type:r,delta:o?.delta,intent:j});if(!I){v();return}const b=N,E=F;k(),U=!0,P&&J.navigating.set(I.navigation),Z=w;let $=j&&await Se(j);if(!$){if(Re(t,H))return await Y(t);$=await at(t,{id:null},await re(new We(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=j?.url||t,Z!==w)return I.reject(new Error("navigation was aborted")),!1;if($.type==="redirect")if(_>=20)$=await ue({status:500,error:await re(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return le(new URL($.location,t).href,{},_+1,w),!1;else $.props.page.status>=400&&await J.updated.check()&&await Y(t);y.length=0,ce=!1,R=!0,qe(b),Xe(E),$.props.page.url.pathname!==t.pathname&&(t.pathname=$.props.page.url.pathname);const C=o?o.state:{};if(!o){const A=p?0:1,x={[G]:N+=A,[W]:F+=A};(p?se:Be).call(history,x,"",t),p||lt(N,F)}if(oe[N]=C,g=null,$.props.page.state=C,P){h=$.state,$.props.page&&($.props.page.url=t);const A=(await Promise.all(u.on_navigate.map(x=>x(I.navigation)))).filter(x=>typeof x=="function");if(A.length>0){let x=function(){u.after_navigate=u.after_navigate.filter(D=>!A.includes(D))};A.push(x),u.after_navigate.push(...A)}B.$set($.props),M=!0}else et($);const{activeElement:V}=document;await Ie();const K=o?o.scroll:d?Me():null;if(S){const A=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));K?scrollTo(K.x,K.y):A?A.scrollIntoView():scrollTo(0,0)}const z=document.activeElement!==V&&document.activeElement!==document.body;!i&&!z&&Fe(),S=!0,$.props.page&&(L=$.props.page),U=!1,r==="popstate"&&Ze(F),I.fulfil(void 0),u.after_navigate.forEach(A=>A(I.navigation)),J.navigating.set(null),R=!1}async function at(r,t,o,i){if(r.origin===je&&r.pathname===location.pathname&&!m)return await ue({status:i,error:o,url:r,route:t});if(T&&i!==404){console.error("An error occurred while loading the page. This will cause a full page reload. (This message will only appear during development.)");debugger}return await Y(r)}function Ot(){let r;c.addEventListener("mousemove",p=>{const _=p.target;clearTimeout(r),r=setTimeout(()=>{i(_,2)},20)});function t(p){i(p.composedPath()[0],1)}c.addEventListener("mousedown",t),c.addEventListener("touchstart",t,{passive:!0});const o=new IntersectionObserver(p=>{for(const _ of p)_.isIntersecting&&(fe(_.target.href),o.unobserve(_.target))},{threshold:0});function i(p,_){const w=ot(p,c);if(!w)return;const{url:k,external:v,download:j}=Oe(w,H);if(v||j)return;const I=he(w);if(!I.reload)if(_<=I.preload_data){const b=ne(k,!1);b&&(T?ve(b).then(E=>{E.type==="loaded"&&E.state.error&&console.warn(`Preloading data for ${b.url.pathname} failed with the following error: ${E.state.error.message}
5
+ If this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. This route was preloaded due to a data-sveltekit-preload-data attribute. See https://kit.svelte.dev/docs/link-options for more info`)}):ve(b))}else _<=I.preload_code&&fe(k.pathname)}function d(){o.disconnect();for(const p of c.querySelectorAll("a")){const{url:_,external:w,download:k}=Oe(p,H);if(w||k)continue;const v=he(p);v.reload||(v.preload_code===st.viewport&&o.observe(p),v.preload_code===st.eager&&fe(_.pathname))}}u.after_navigate.push(d),d()}function re(r,t){if(r instanceof ye)return r.body;T&&console.warn("The next HMR update will cause the page to reload");const o=_e(r),i=fn(r);return e.hooks.handleError({error:r,event:t,status:o,message:i})??{message:i}}return{after_navigate:r=>{},before_navigate:r=>{},on_navigate:r=>{},disable_scroll_handling:()=>{if(T&&P&&!R)throw new Error("Can only disable scroll handling during navigation");(R||!P)&&(S=!1)},goto:(r,t={})=>{if(r=ae(r),T&&t.state)throw new Error("Passing `state` to `goto` is no longer supported. Use `pushState` and `replaceState` from `$app/navigation` instead.");return r.origin!==je?Promise.reject(new Error(T?`Cannot use \`goto\` with an external URL. Use \`window.location = "${r}"\` instead`:"goto: invalid URL")):le(r,t,0)},invalidate:r=>{if(typeof r=="function")y.push(r);else{const{href:t}=new URL(r,location.href);y.push(o=>o.href===t)}return Ye()},invalidate_all:()=>(ce=!0,Ye()),preload_data:async r=>{const t=ae(r),o=ne(t,!1);if(!o)throw new Error(`Attempted to preload a URL that does not belong to this app: ${t}`);const i=await ve(o);if(i.type==="redirect")return{type:i.type,location:i.location};const{status:d,data:p}=i.props.page??L;return{type:i.type,status:d,data:p}},preload_code:r=>{if(T){if(!r.startsWith(H))throw new Error(`pathnames passed to preloadCode must start with \`paths.base\` (i.e. "${H}${r}" rather than "${r}")`);if(!a.find(t=>t.exec(ke(r))))throw new Error(`'${r}' did not match any routes`)}return fe(r)},push_state:(r,t)=>{if(T)try{Ue(t)}catch(i){throw new Error(`Could not serialize state${i.path}`)}const o={[G]:N+=1,[W]:F,[Pe]:L.url.href};Be.call(history,o,"",ae(r)),L={...L,state:t},B.$set({page:L}),oe[N]=t,lt(N,F)},replace_state:(r,t)=>{if(T)try{Ue(t)}catch(i){throw new Error(`Could not serialize state${i.path}`)}const o={[G]:N,[W]:F,[Pe]:L.url.href};se.call(history,o,"",ae(r)),L={...L,state:t},B.$set({page:L}),oe[N]=t},apply_action:async r=>{if(r.type==="error"){const t=new URL(location.href),{branch:o,route:i}=h;if(!i)return;const d=await nt(h.branch.length,o,i.errors);if(d){const p=await te({url:t,params:h.params,branch:o.slice(0,d.idx).concat(d.node),status:r.status??500,error:r.error,route:i});h=p.state,B.$set(p.props),Ie().then(Fe)}}else r.type==="redirect"?le(r.location,{invalidateAll:!0},0):(B.$set({form:null,page:{...L,form:r.data,status:r.status}}),await Ie(),B.$set({form:r.data}),r.type==="success"&&Fe())},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let o=!1;if(Qe(),!U){const i=dt(h,void 0,null,"leave"),d={...i.navigation,cancel:()=>{o=!0,i.reject(new Error("navigation was cancelled"))}};u.before_navigate.forEach(p=>p(d))}o?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Qe()}),navigator.connection?.saveData||Ot(),c.addEventListener("click",t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const o=ot(t.composedPath()[0],c);if(!o)return;const{url:i,external:d,target:p,download:_}=Oe(o,H);if(!i)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const w=he(o);if(!(o instanceof SVGAElement)&&i.protocol!==location.protocol&&!(i.protocol==="https:"||i.protocol==="http:")||_)return;if(d||w.reload){rt({url:i,type:"link"})?U=!0:t.preventDefault();return}const[v,j]=i.href.split("#");if(j!==void 0&&v===xe(location)){if(h.url.hash===i.hash){t.preventDefault(),o.ownerDocument.getElementById(j)?.scrollIntoView();return}if(O=!0,qe(N),r(i),!w.replace_state)return;O=!1}t.preventDefault(),de({type:"link",url:i,keepfocus:w.keepfocus,noscroll:w.noscroll,replace_state:w.replace_state??i.href===location.href})}),c.addEventListener("submit",t=>{if(t.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(t.target),i=t.submitter;if((i?.formMethod||o.method)!=="get")return;const p=new URL(i?.hasAttribute("formaction")&&i?.formAction||o.action);if(Re(p,H))return;const _=t.target,w=he(_);if(w.reload)return;t.preventDefault(),t.stopPropagation();const k=new FormData(_),v=i?.getAttribute("name");v&&k.append(v,i?.getAttribute("value")??""),p.search=new URLSearchParams(k).toString(),de({type:"form",url:p,keepfocus:w.keepfocus,noscroll:w.noscroll,replace_state:w.replace_state??p.href===location.href})}),addEventListener("popstate",async t=>{if(t.state?.[G]){const o=t.state[G];if(Z={},o===N)return;const i=X[o],d=oe[o]??{},p=new URL(t.state[Pe]??location.href),_=t.state[W],w=xe(location)===xe(h.url);if(_===F&&(M||w)){r(p),X[N]=Me(),i&&scrollTo(i.x,i.y),d!==L.state&&(L={...L,state:d},B.$set({page:L})),N=o;return}const v=o-N;await de({type:"popstate",url:p,popped:{state:d,scroll:i,delta:v},accept:()=>{N=o,F=_},block:()=>{history.go(-v)},nav_token:Z})}else if(!O){const o=new URL(location.href);r(o)}}),addEventListener("hashchange",()=>{O&&(O=!1,se.call(history,{...history.state,[G]:++N,[W]:F},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&J.navigating.set(null)});function r(t){h.url=t,J.page.set({...L,url:t}),J.page.notify()}},_hydrate:async({status:r=200,error:t,node_ids:o,params:i,route:d,data:p,form:_})=>{m=!0;const w=new URL(location.href);({params:i={},route:d={id:null}}=ne(w,!1)||{});let k;try{const v=o.map(async(b,E)=>{const $=p[E];return $?.uses&&($.uses=$t($.uses)),be({loader:e.nodes[b],url:w,params:i,route:d,parent:async()=>{const C={};for(let V=0;V<E;V+=1)Object.assign(C,(await v[V]).data);return C},server_data_node:Ee($)})}),j=await Promise.all(v),I=a.find(({id:b})=>b===d.id);if(I){const b=I.layouts;for(let E=0;E<b.length;E++)b[E]||j.splice(E,0,void 0)}k=await te({url:w,params:i,branch:j,status:r,error:t,form:_,route:I??null})}catch(v){if(v instanceof ct){await Y(new URL(v.location,location.href));return}k=await ue({status:_e(v),error:await re(v,{url:w,params:i,route:d}),url:w,route:d})}k.props.page&&(k.props.page.state={}),et(k)}}}async function ut(e,n){const a=new URL(e);if(a.pathname=Ct(e.pathname),e.pathname.endsWith("/")&&a.searchParams.append(ln,"1"),T&&e.searchParams.has(De))throw new Error(`Cannot used reserved query parameter "${De}"`);a.searchParams.append(De,n.map(f=>f?"1":"0").join(""));const s=await He(a.href);if(s.headers.get("content-type")?.includes("text/html")&&await Y(e),!s.ok)throw new ye(s.status,await s.json());return new Promise(async f=>{const c=new Map,y=s.body.getReader(),l=new TextDecoder;function g(h){return Et(h,{Promise:m=>new Promise((P,S)=>{c.set(m,{fulfil:P,reject:S})})})}let u="";for(;;){const{done:h,value:m}=await y.read();if(h&&!u)break;for(u+=!m&&u?`
6
+ `:l.decode(m);;){const P=u.indexOf(`
7
+ `);if(P===-1)break;const S=JSON.parse(u.slice(0,P));if(u=u.slice(P+1),S.type==="redirect")return f(S);if(S.type==="data")S.nodes?.forEach(R=>{R?.type==="data"&&(R.uses=$t(R.uses),R.data=g(R.data))}),f(S);else if(S.type==="chunk"){const{id:R,data:U,error:O}=S,M=c.get(R);c.delete(R),O?M.reject(g(O)):M.fulfil(g(U))}}}})}function $t(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}function Fe(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,a=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),a!==null?n.setAttribute("tabindex",a):n.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const f=[];for(let c=0;c<s.rangeCount;c+=1)f.push(s.getRangeAt(c));setTimeout(()=>{if(s.rangeCount===f.length){for(let c=0;c<s.rangeCount;c+=1){const y=f[c],l=s.getRangeAt(c);if(y.commonAncestorContainer!==l.commonAncestorContainer||y.startContainer!==l.startContainer||y.endContainer!==l.endContainer||y.startOffset!==l.startOffset||y.endOffset!==l.endOffset)return}s.removeAllRanges()}})}}}function dt(e,n,a,s){let f,c;const y=new Promise((g,u)=>{f=g,c=u});return y.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:a&&{params:n?.params??null,route:{id:n?.route?.id??null},url:a},willUnload:!n,type:s,complete:y},fulfil:f,reject:c}}if(T){const e=console.warn;console.warn=function(...a){a.length===1&&/<(Layout|Page|Error)(_[\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test(a[0])||e(...a)}}async function _n(e,n,a){T&&n===document.body&&console.warn(`Placing %sveltekit.body% directly inside <body> is not recommended, as your app may break for users who have certain browser extensions installed.
8
+
9
+ Consider wrapping it in an element:
10
+
11
+ <div style="display: contents">
12
+ %sveltekit.body%
13
+ </div>`);const s=un(e,n);a?await s._hydrate(a):s.goto(location.href,{replaceState:!0}),s._start_router()}export{_n as start};
@@ -0,0 +1 @@
1
+ import{c as l,d as m,f as p}from"../chunks/disclose-version.wiZKqWq_.js";import{c as u,E as y,D as h,C as f,p as g,x,w as v,z as d,A as o}from"../chunks/index-client.RxGVicQn.js";import{B as b}from"../chunks/branches.AspTl11T.js";function S(r,s,...e){var a=new b(r);u(()=>{const t=s()??null;h&&t==null&&f(),a.ensure(t,t&&(i=>t(i,...e)))},y)}const R=!1,_=Object.freeze(Object.defineProperty({__proto__:null,ssr:R},Symbol.toStringTag,{value:"Module"})),n=(r,s)=>fetch(r,{...s,headers:{"Content-Type":"application/json",...s?.headers}}).then(e=>e.status===204?null:e.json().then(a=>e.ok?a:Promise.reject(a))),O=(r,s)=>({startReplay:(e,a,t)=>n(`${r}/api/admin/startReplay`,{method:"POST",body:JSON.stringify({readModel:e,fromTimestamp:a,toTimestamp:t})}),getReplayStatus:e=>n(`${r}/api/admin/replayStatus/${e}`),cancelReplay:e=>n(`${r}/api/admin/cancelReplay`,{method:"POST",body:JSON.stringify({readModel:e})}),getStatus:e=>n(`${e}/admin/status`),getReadModels:e=>n(`${e}/admin/readmodels`),prepareReplay:(e,a,t)=>n(`${e}/admin/replay/${a}/prepare`,{method:"POST",body:JSON.stringify(t)}),getReplayReadModelStatus:(e,a)=>n(`${e}/admin/replay/${a}/status`),createBackup:(e,a)=>n(`${e}/admin/backup/${a}`,{method:"POST",body:"{}"}),listBackups:(e,a)=>n(`${e}/admin/backups/${a}`),deleteBackup:(e,a)=>n(`${e}/admin/backup/${a}`,{method:"DELETE"}),getServiceUrl:e=>s[e],getServiceNames:()=>Object.keys(s),findServiceForReadModel:e=>Promise.all(Object.entries(s).map(([a,t])=>n(`${t}/admin/readmodels`).then(i=>i.find(c=>c.name===e)?{name:a,url:t}:null).catch(()=>null))).then(a=>a.find(t=>t!==null)||null)});var T=p('<div class="min-h-screen bg-gray-50"><nav class="bg-white border-b border-gray-200"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="flex h-14 items-center justify-between"><div class="flex items-center space-x-8"><a href="/" class="text-lg font-bold text-gray-900">LazyApps Admin</a> <a href="/" class="text-sm text-gray-600 hover:text-gray-900">Dashboard</a> <a href="/readmodels" class="text-sm text-gray-600 hover:text-gray-900">Read Models</a></div></div></div></nav> <main class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"><!></main></div>');function E(r,s){g(s,!0);const e=O(s.data.commandProcessorUrl,s.data.readModelServices);l("api",e),l("config",{commandProcessorUrl:s.data.commandProcessorUrl,readModelServices:s.data.readModelServices});var a=T(),t=v(d(a),2),i=d(t);S(i,()=>s.children),o(t),o(a),m(r,a),x()}export{E as component,_ as universal};
@@ -0,0 +1 @@
1
+ import{g as d,d as v,f as h}from"../chunks/disclose-version.wiZKqWq_.js";import{F as $,o as x,t as p,G as u,u as k,I as y,g as b,J as w,K as z,M as A,p as B,v as C,B as E,x as F,z as l,A as g,w as G}from"../chunks/index-client.RxGVicQn.js";import{s as m}from"../chunks/render.aSHX1YpI.js";import{s as I,a as J}from"../chunks/store.B-Onzqul.js";import{b as K}from"../chunks/environment.Bosi_-dm.js";import{b as M}from"../chunks/singletons.DwXhoGan.js";function S(s=!1){const t=$,e=t.l.u;if(!e)return;let f=()=>w(t.s);if(s){let a=0,r={};const i=z(()=>{let c=!1;const o=t.s;for(const n in o)o[n]!==r[n]&&(r[n]=o[n],c=!0);return c&&a++,a});f=()=>b(i)}e.b.length&&x(()=>{_(t,f),u(e.b)}),p(()=>{const a=k(()=>e.m.map(y));return()=>{for(const r of a)typeof r=="function"&&r()}}),e.a.length&&p(()=>{_(t,f),u(e.a)})}function _(s,t){if(s.l.s)for(const e of s.l.s)b(e);t()}A();const j=()=>{const s=K?M:d("__svelte__");return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},q={subscribe(s){return j().page.subscribe(s)}};var D=h("<h1> </h1> <p> </p>",1);function R(s,t){B(t,!1);const e=()=>J(q,"$page",f),[f,a]=I();S();var r=D(),i=C(r),c=l(i,!0);g(i);var o=G(i,2),n=l(o,!0);g(o),E(()=>{m(c,e().status),m(n,e().error?.message)}),v(s,r),F(),a()}export{R as component};
@@ -0,0 +1 @@
1
+ import{g as E,d as v,f as l}from"../chunks/disclose-version.wiZKqWq_.js";import{p as ie,y as M,N as ve,t as le,v as L,x as de,s as g,w as n,z as i,A as r,g as s,B as m,O as N,P as ce}from"../chunks/index-client.RxGVicQn.js";import{d as ne,s as _}from"../chunks/render.aSHX1YpI.js";import{i as k}from"../chunks/if.C4x3Unkx.js";import{e as R,i as U}from"../chunks/each.B2GUMkbA.js";import{s as pe}from"../chunks/attributes.EWP7LHVR.js";import{S as O}from"../chunks/StatusBadge.DecyJq-K.js";var fe=l('<p class="text-gray-500">Loading services...</p>'),ge=l('<p class="text-sm text-red-500"> </p>'),me=l('<div class="flex items-center justify-between"><a class="text-sm text-blue-600 hover:underline"> </a> <!></div>'),_e=l('<p class="text-xs text-gray-500 mb-3"> </p> <div class="space-y-2"></div>',1),ue=l('<div class="bg-white rounded-lg shadow p-6"><div class="flex items-center justify-between mb-3"><h2 class="text-lg font-semibold text-gray-900"> </h2> <!></div> <!></div>'),xe=l('<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"></div>'),he=l('<div class="flex items-center justify-between mb-6"><h1 class="text-2xl font-bold text-gray-900">Dashboard</h1> <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded hover:bg-gray-200">Refresh</button></div> <!>',1);function Oe($,q){ie(q,!0);const F=E("api"),G=E("config");let B=M(ve({})),u=M(!0),H=M(null);const P=()=>{g(u,!0),g(H,null),Promise.all(Object.entries(G.readModelServices).map(([a,t])=>F.getStatus(t).then(o=>({name:a,url:t,...o,error:null})).catch(o=>({name:a,url:t,error:String(o),readModels:[]})))).then(a=>{const t={};a.forEach(o=>{t[o.name]=o}),g(B,t,!0),g(u,!1)})};le(()=>{P()});var z=he(),x=L(z),I=n(i(x),2);I.__click=P,r(x);var J=n(x,2);{var K=a=>{var t=fe();v(a,t)},Q=a=>{var t=xe();R(t,21,()=>Object.entries(s(B)),U,(o,T)=>{var A=N(()=>ce(s(T),2));let C=()=>s(A)[0],d=()=>s(A)[1];var h=ue(),b=i(h),y=i(b),V=i(y,!0);r(y);var W=n(y,2);{var X=e=>{O(e,{status:"error"})},Y=e=>{O(e,{status:"active"})};k(W,e=>{d().error?e(X):e(Y,!1)})}r(b);var Z=n(b,2);{var ee=e=>{var c=ge(),p=i(c,!0);r(c),m(()=>_(p,d().error)),v(e,c)},te=e=>{var c=_e(),p=L(c),ae=i(p);r(p);var D=n(p,2);R(D,21,()=>d().readModels||[],U,(w,S)=>{var j=me(),f=i(j),re=i(f,!0);r(f);var se=n(f,2);{let oe=N(()=>s(S).replaying?"replaying":"active");O(se,{get status(){return s(oe)}})}r(j),m(()=>{pe(f,"href",`/readmodels/${s(S).name??""}?service=${C()??""}`),_(re,s(S).name)}),v(w,j)}),r(D),m(w=>_(ae,`${d().service??""} · Uptime: ${w??""}s`),[()=>Math.round(d().uptime/1e3)]),v(e,c)};k(Z,e=>{d().error?e(ee):e(te,!1)})}r(h),m(()=>_(V,C())),v(o,h)}),r(t),v(a,t)};k(J,a=>{s(u)?a(K):a(Q,!1)})}v($,z),de()}ne(["click"]);export{Oe as component};
@@ -0,0 +1 @@
1
+ import{g as P,d as i,f as p,e as et}from"../chunks/disclose-version.wiZKqWq_.js";import{p as at,y as C,N as st,t as rt,v as T,x as ot,s as S,w as o,z as r,A as a,g as t,B as dt}from"../chunks/index-client.RxGVicQn.js";import{d as lt,s as x}from"../chunks/render.aSHX1YpI.js";import{i as $}from"../chunks/if.C4x3Unkx.js";import{e as it,i as ct}from"../chunks/each.B2GUMkbA.js";import{s as j}from"../chunks/attributes.EWP7LHVR.js";import{S as pt}from"../chunks/StatusBadge.DecyJq-K.js";var xt=p('<p class="text-gray-500">Loading read models...</p>'),vt=p('<p class="text-gray-500">No read models found.</p>'),nt=p('<tr><td class="px-6 py-4 text-sm font-medium text-gray-900"><a class="text-blue-600 hover:underline"> </a></td><td class="px-6 py-4 text-sm text-gray-600"> </td><td class="px-6 py-4 text-sm text-gray-600"> </td><td class="px-6 py-4"><!></td><td class="px-6 py-4 text-sm text-gray-600 font-mono"> </td><td class="px-6 py-4 text-right space-x-3"><a class="text-sm text-gray-600 hover:text-gray-900">Backups</a> <a class="text-sm text-blue-600 hover:text-blue-800">Replay</a></td></tr>'),mt=p('<div class="bg-white shadow rounded-lg overflow-hidden"><table class="min-w-full divide-y divide-gray-200"><thead class="bg-gray-50"><tr><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">Name</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">Service</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">Last Projected</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">Status</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase">Collections</th><th class="px-6 py-3 text-right text-xs font-medium text-gray-500 uppercase">Actions</th></tr></thead><tbody class="bg-white divide-y divide-gray-200"></tbody></table></div>'),ft=p('<div class="flex items-center justify-between mb-6"><h1 class="text-2xl font-bold text-gray-900">Read Models</h1> <button class="px-3 py-1.5 bg-gray-100 text-gray-700 text-sm rounded hover:bg-gray-200">Refresh</button></div> <!>',1);function Nt(z,D){at(D,!0);const E=P("api"),O=P("config");let v=C(st([])),n=C(!0);const k=()=>{S(n,!0),Promise.all(Object.entries(O.readModelServices).map(([e,d])=>E.getReadModels(d).then(f=>f.map(g=>({...g,serviceName:e,serviceUrl:d}))).catch(()=>[]))).then(e=>{S(v,e.flat(),!0),S(n,!1)})};rt(()=>{k()});const U=e=>e?new Date(e).toLocaleString():"N/A";var M=ft(),m=T(M),q=o(r(m),2);q.__click=k,a(m);var F=o(m,2);{var G=e=>{var d=xt();i(e,d)},H=e=>{var d=et(),f=T(d);{var g=l=>{var c=vt();i(l,c)},I=l=>{var c=mt(),R=r(c),A=o(r(R));it(A,21,()=>t(v),ct,(J,s)=>{var u=nt(),y=r(u),h=r(y),K=r(h,!0);a(h),a(y);var _=o(y),Q=r(_,!0);a(_);var b=o(_),V=r(b,!0);a(b);var w=o(b),W=r(w);pt(W,{get status(){return t(s).status}}),a(w);var N=o(w),X=r(N,!0);a(N);var B=o(N),L=r(B),Y=o(L,2);a(B),a(u),dt((Z,tt)=>{j(h,"href",`/readmodels/${t(s).name??""}?service=${t(s).serviceName??""}`),x(K,t(s).name),x(Q,t(s).serviceName),x(V,Z),x(X,tt),j(L,"href",`/readmodels/${t(s).name??""}/backups?service=${t(s).serviceName??""}`),j(Y,"href",`/readmodels/${t(s).name??""}/replay?service=${t(s).serviceName??""}`)},[()=>U(t(s).lastProjectedEventTimestamp),()=>t(s).collections?.join(", ")]),i(J,u)}),a(A),a(R),a(c),i(l,c)};$(f,l=>{t(v).length===0?l(g):l(I,!1)},!0)}i(e,d)};$(F,e=>{t(n)?e(G):e(H,!1)})}i(z,M),ot()}lt(["click"]);export{Nt as component};
@@ -0,0 +1 @@
1
+ import{g as Q,d as i,f as c,e as xe}from"../chunks/disclose-version.wiZKqWq_.js";import{p as fe,t as _e,v as E,B as _,x as pe,g as d,s as p,y as L,O as he,z as e,A as a,w as s}from"../chunks/index-client.RxGVicQn.js";import{s as n}from"../chunks/render.aSHX1YpI.js";import{i as h}from"../chunks/if.C4x3Unkx.js";import{s as O}from"../chunks/attributes.EWP7LHVR.js";import{S as V}from"../chunks/StatusBadge.DecyJq-K.js";const be=({params:b,url:t})=>({name:b.name,service:t.searchParams.get("service")}),Oe=Object.freeze(Object.defineProperty({__proto__:null,load:be},Symbol.toStringTag,{value:"Module"}));var ye=c('<p class="text-gray-500">Loading...</p>'),Se=c('<p class="text-red-500"> </p>'),je=c('<span class="text-xs text-gray-500"> </span>'),we=c('<div class="bg-white rounded-lg shadow p-6"><h2 class="text-sm font-medium text-gray-500 mb-2">Replay Status</h2> <div class="flex items-center space-x-2"><!> <!></div></div>'),Me=c('<div class="flex items-center justify-between mb-6"><div><h1 class="text-2xl font-bold text-gray-900"> </h1> <p class="text-sm text-gray-500"> </p></div> <!></div> <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6"><div class="bg-white rounded-lg shadow p-6"><h2 class="text-sm font-medium text-gray-500 mb-2">Details</h2> <dl class="space-y-2"><div><dt class="text-xs text-gray-400">Last Projected Event</dt> <dd class="text-sm text-gray-900"> </dd></div> <div><dt class="text-xs text-gray-400">Collections</dt> <dd class="text-sm font-mono text-gray-900"> </dd></div></dl></div> <!></div> <div class="flex space-x-4"><a class="px-4 py-2 bg-white border border-gray-300 rounded text-sm text-gray-700 hover:bg-gray-50">Manage Backups</a> <a class="px-4 py-2 bg-blue-600 text-white rounded text-sm hover:bg-blue-700">Start Replay</a></div>',1),Pe=c('<div class="mb-4"><a class="text-sm text-blue-600 hover:underline">&larr; Back to Read Models</a></div> <!>',1);function De(b,t){fe(t,!0);const D=Q("api"),z=Q("config");let m=L(null),g=L(null),y=L(!0);const S=he(()=>t.data.service?z.readModelServices[t.data.service]:Object.values(z.readModelServices)[0]),W=()=>{p(y,!0),Promise.all([D.getReadModels(d(S)).then(r=>r.find(v=>v.name===t.data.name)||null),D.getReplayReadModelStatus(d(S),t.data.name).catch(()=>null)]).then(([r,v])=>{p(m,r,!0),p(g,v,!0),p(y,!1)})};_e(()=>{d(S)&&W()});const A=r=>r?new Date(r).toLocaleString():"N/A";var C=Pe(),j=E(C),X=e(j);a(j);var Y=s(j,2);{var Z=r=>{var v=ye();i(r,v)},$=r=>{var v=xe(),ee=E(v);{var ae=l=>{var o=Se(),u=e(o);a(o),_(()=>n(u,`Read model "${t.data.name??""}" not found.`)),i(l,o)},te=l=>{var o=Me(),u=E(o),w=e(u),M=e(w),re=e(M,!0);a(M);var N=s(M,2),se=e(N);a(N),a(w);var de=s(w,2);V(de,{get status(){return d(m).status}}),a(u);var P=s(u,2),R=e(P),U=s(e(R),2),T=e(U),q=s(e(T),2),ve=e(q,!0);a(q),a(T);var F=s(T,2),G=s(e(F),2),ie=e(G,!0);a(G),a(F),a(U),a(R);var le=s(R,2);{var oe=x=>{var f=we(),J=s(e(f),2),K=e(J);V(K,{get status(){return d(g).status}});var ce=s(K,2);{var me=k=>{var B=je(),ge=e(B);a(B),_(ue=>n(ge,`Last: ${ue??""}`),[()=>A(d(g).lastProjectedEventTimestamp)]),i(k,B)};h(ce,k=>{d(g).lastProjectedEventTimestamp&&k(me)})}a(J),a(f),i(x,f)};h(le,x=>{d(g)&&x(oe)})}a(P);var H=s(P,2),I=e(H),ne=s(I,2);a(H),_((x,f)=>{n(re,t.data.name),n(se,`Service: ${t.data.service??""}`),n(ve,x),n(ie,f),O(I,"href",`/readmodels/${t.data.name??""}/backups?service=${t.data.service??""}`),O(ne,"href",`/readmodels/${t.data.name??""}/replay?service=${t.data.service??""}`)},[()=>A(d(m).lastProjectedEventTimestamp),()=>d(m).collections?.join(", ")]),i(l,o)};h(ee,l=>{d(m)?l(te,!1):l(ae)},!0)}i(r,v)};h(Y,r=>{d(y)?r(Z):r($,!1)})}_(()=>O(X,"href",`/readmodels?service=${t.data.service??""}`)),i(b,C),pe()}export{De as component,Oe as universal};