lightly-studio 0.3.3__py3-none-any.whl → 0.4.0__py3-none-any.whl

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.

Potentially problematic release.


This version of lightly-studio might be problematic. Click here for more details.

Files changed (137) hide show
  1. lightly_studio/api/app.py +2 -0
  2. lightly_studio/api/features.py +3 -5
  3. lightly_studio/api/routes/api/caption.py +30 -0
  4. lightly_studio/api/routes/api/dataset_tag.py +10 -0
  5. lightly_studio/api/routes/api/embeddings2d.py +42 -39
  6. lightly_studio/api/routes/api/metadata.py +57 -1
  7. lightly_studio/core/add_samples.py +138 -0
  8. lightly_studio/core/dataset.py +232 -18
  9. lightly_studio/core/dataset_query/__init__.py +14 -0
  10. lightly_studio/core/sample.py +33 -1
  11. lightly_studio/dataset/loader.py +2 -8
  12. lightly_studio/db_manager.py +14 -6
  13. lightly_studio/dist_lightly_studio_view_app/_app/env.js +1 -1
  14. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/0.CN4hnTks.css +1 -0
  15. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/2.CkOblLn7.css +1 -0
  16. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/Samples.C0_eo9eP.css +1 -0
  17. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/{useFeatureFlags.CV-KWLNP.css → _layout.CefECEWA.css} +1 -1
  18. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/_layout.kFFGI0zL.css +1 -0
  19. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/transform.sLzR40om.css +1 -0
  20. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/{6t3IJ0vQ.js → BOmrKuMn.js} +1 -1
  21. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/{Cs1XmhiF.js → BPpOWbDa.js} +1 -1
  22. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BaFFwDFr.js +1 -0
  23. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BiGQqqJP.js +1 -0
  24. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BrNKoXwc.js +20 -0
  25. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BsaJCCG_.js +96 -0
  26. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BtXGzlpP.js +20 -0
  27. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/C1FmrZbK.js +1 -0
  28. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/C3xJX0nD.js +1 -0
  29. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CANX9QXL.js +1 -0
  30. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CAPx0Bfm.js +1 -0
  31. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CP9M7pei.js +39 -0
  32. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CWuDkrMZ.js +436 -0
  33. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/ChlxSwqI.js +1 -0
  34. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/Cj4nZbtb.js +1 -0
  35. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/ClzkJBWk.js +1 -0
  36. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CpbA3HU7.js +2 -0
  37. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/D8ZGoCPm.js +3 -0
  38. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DMJzr1NB.js +1 -0
  39. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/{BdfTHw61.js → DNJnBfHs.js} +1 -1
  40. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/{keKYsoph.js → DUtlYNuP.js} +1 -1
  41. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DVxjPOJB.js +1 -0
  42. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DmGM9V9Q.js +1 -0
  43. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DoEId1MK.js +1 -0
  44. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DthpwYR_.js +2 -0
  45. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DyIcJj6J.js +1 -0
  46. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/SiegjVo0.js +1 -0
  47. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/{BfHVnyNT.js → WEyXQRi6.js} +1 -1
  48. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/gBp1tBnA.js +1 -0
  49. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/xQhUoIl9.js +1 -0
  50. lightly_studio/dist_lightly_studio_view_app/_app/immutable/entry/app.Y-sSoz5q.js +2 -0
  51. lightly_studio/dist_lightly_studio_view_app/_app/immutable/entry/start.CvxVp0Cu.js +1 -0
  52. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/0.0Fm6E-5B.js +4 -0
  53. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/1.DB-0vkHb.js +1 -0
  54. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/10.vaUePh5k.js +1 -0
  55. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/11.7i7ljNVT.js +1 -0
  56. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/13.9qy3WtZv.js +1 -0
  57. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/{2.C8HLK8mj.js → 2.Drwwdm7A.js} +267 -111
  58. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/{3.CLvg3QcJ.js → 3.D3X_-Wan.js} +1 -1
  59. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/{4.BQhDtXUI.js → 4.C9TqY3tA.js} +1 -1
  60. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/5.iRw6HCWX.js +39 -0
  61. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/{6.uBV1Lhat.js → 6.fqfYR7dB.js} +1 -1
  62. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/7.C7gMM-gk.js +1 -0
  63. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/8.C4v1w-oS.js +20 -0
  64. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/9.DbHcSiMn.js +1 -0
  65. lightly_studio/dist_lightly_studio_view_app/_app/version.json +1 -1
  66. lightly_studio/dist_lightly_studio_view_app/index.html +15 -14
  67. lightly_studio/examples/example.py +4 -0
  68. lightly_studio/examples/example_coco.py +4 -0
  69. lightly_studio/examples/example_coco_caption.py +24 -0
  70. lightly_studio/examples/example_metadata.py +4 -1
  71. lightly_studio/examples/example_selection.py +4 -0
  72. lightly_studio/examples/example_split_work.py +4 -0
  73. lightly_studio/examples/example_yolo.py +4 -0
  74. lightly_studio/export/export_dataset.py +11 -3
  75. lightly_studio/metadata/compute_typicality.py +1 -1
  76. lightly_studio/models/caption.py +74 -0
  77. lightly_studio/models/dataset.py +1 -2
  78. lightly_studio/models/metadata.py +1 -1
  79. lightly_studio/models/sample.py +9 -2
  80. lightly_studio/models/settings.py +5 -0
  81. lightly_studio/resolvers/caption_resolver.py +80 -0
  82. lightly_studio/resolvers/dataset_resolver.py +6 -11
  83. lightly_studio/resolvers/metadata_resolver/__init__.py +2 -2
  84. lightly_studio/resolvers/metadata_resolver/sample/__init__.py +3 -3
  85. lightly_studio/resolvers/metadata_resolver/sample/bulk_update_metadata.py +46 -0
  86. lightly_studio/resolvers/sample_resolver.py +1 -0
  87. lightly_studio/resolvers/samples_filter.py +18 -10
  88. lightly_studio/resolvers/settings_resolver.py +3 -0
  89. lightly_studio/resolvers/twodim_embedding_resolver.py +29 -0
  90. lightly_studio/selection/__init__.py +1 -0
  91. lightly_studio/selection/mundig.py +41 -0
  92. lightly_studio/type_definitions.py +2 -0
  93. lightly_studio-0.4.0.dist-info/METADATA +78 -0
  94. {lightly_studio-0.3.3.dist-info → lightly_studio-0.4.0.dist-info}/RECORD +96 -88
  95. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/0.CA_CXIBb.css +0 -1
  96. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/_layout.DS78jgNY.css +0 -1
  97. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/index.BVs_sZj9.css +0 -1
  98. lightly_studio/dist_lightly_studio_view_app/_app/immutable/assets/transform.D487hwJk.css +0 -1
  99. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/8NsknIT2.js +0 -1
  100. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BND_-4Kp.js +0 -1
  101. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BjkP1AHA.js +0 -1
  102. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BuuNVL9G.js +0 -1
  103. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/BzKGpnl4.js +0 -1
  104. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CCx7Ho51.js +0 -1
  105. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CH6P3X75.js +0 -1
  106. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CR2upx_Q.js +0 -4
  107. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CWPZrTTJ.js +0 -1
  108. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CwPowJfP.js +0 -1
  109. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/CxFKfZ9T.js +0 -1
  110. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/Cxevwdid.js +0 -1
  111. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/D4whDBUi.js +0 -1
  112. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/D6r9vr07.js +0 -1
  113. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DA6bFLPR.js +0 -1
  114. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DEgUu98i.js +0 -3
  115. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DGTPl6Gk.js +0 -1
  116. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DKGxBSlK.js +0 -1
  117. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DQXoLcsF.js +0 -1
  118. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DQe_kdRt.js +0 -92
  119. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/DcY4jgG3.js +0 -1
  120. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/H7C68rOM.js +0 -1
  121. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/RmD8FzRo.js +0 -1
  122. lightly_studio/dist_lightly_studio_view_app/_app/immutable/chunks/V-MnMC1X.js +0 -1
  123. lightly_studio/dist_lightly_studio_view_app/_app/immutable/entry/app.BVr6DYqP.js +0 -2
  124. lightly_studio/dist_lightly_studio_view_app/_app/immutable/entry/start.u7zsVvqp.js +0 -1
  125. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/0.Da2agmdd.js +0 -1
  126. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/1.B11tVRJV.js +0 -1
  127. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/10.l30Zud4h.js +0 -1
  128. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/12.CgKPGcAP.js +0 -1
  129. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/5.-6XqWX5G.js +0 -1
  130. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/7.BXsgoQZh.js +0 -1
  131. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/8.BkbcnUs8.js +0 -1
  132. lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/9.Bkrv-Vww.js +0 -1
  133. lightly_studio/resolvers/metadata_resolver/sample/bulk_set_metadata.py +0 -48
  134. lightly_studio/selection/README.md +0 -6
  135. lightly_studio-0.3.3.dist-info/METADATA +0 -814
  136. /lightly_studio/dist_lightly_studio_view_app/_app/immutable/nodes/{11.CWG1ehzT.js → 12.CWG1ehzT.js} +0 -0
  137. {lightly_studio-0.3.3.dist-info → lightly_studio-0.4.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1 @@
1
+ const t={annotations:"/datasets/[dataset_id]/annotations",samples:"/datasets/[dataset_id]/samples",classifiers:"/datasets/[dataset_id]/classifiers",sampleDetails:"/datasets/[dataset_id]/samples/[sampleId]/[sampleIndex]",sampleDetailsWithoutIndex:"/datasets/[dataset_id]/samples/[sampleId]",annotationDetails:"/datasets/[dataset_id]/annotations/[sampleId]/[annotationId]/[annotationIndex]",captions:"/datasets/[dataset_id]/captions"},o=s=>s?s==t.sampleDetails:!1,l=s=>s?s==t.sampleDetailsWithoutIndex:!1,d=s=>s?s==t.annotationDetails:!1,p=s=>s?s==t.samples:!1,m=s=>s?s==t.annotations:!1,r=s=>s?s==t.captions:!1,c=s=>s?s==t.classifiers:!1,a={home:()=>"/",dataset:{sample:({sampleId:s,datasetId:i,sampleIndex:n})=>{let e=`/datasets/${i}/samples/${s}`;return typeof n<"u"&&(e=`${e}/${n}`),e},sampleWithAnnotation:({sampleId:s,datasetId:i,annotationId:n,annotationIndex:e})=>`/datasets/${i}/annotations/${s}/${n}/${e}`,samples:s=>`/datasets/${s}/samples`,captions:s=>`/datasets/${s}/captions`,annotations:s=>`/datasets/${s}/annotations`,classifiers:s=>`/datasets/${s}/classifiers`}},f={toHome:()=>a.home(),toCaptions:s=>a.dataset.captions(s),toSamples:s=>a.dataset.samples(s),toAnnotations:s=>a.dataset.annotations(s),toSample:s=>a.dataset.sample(s),toSampleWithAnnotation:s=>a.dataset.sampleWithAnnotation(s),toClassifiers:s=>a.dataset.classifiers(s)};export{t as A,c as a,p as b,r as c,o as d,d as e,l as f,m as i,f as r};
@@ -0,0 +1 @@
1
+ import{d,e as g,u as c,h as m,i as b,j as l,g as p,k as h,l as k}from"./C3xJX0nD.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let r=()=>h(s.s);if(n){let o=0,t={};const _=k(()=>{let i=!1;const a=s.s;for(const f in a)a[f]!==t[f]&&(t[f]=a[f],i=!0);return i&&o++,o});r=()=>p(_)}e.b.length&&g(()=>{u(s,r),l(e.b)}),c(()=>{const o=m(()=>e.m.map(b));return()=>{for(const t of o)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,r),l(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}export{x as i};
@@ -0,0 +1 @@
1
+ import{c as d}from"./gBp1tBnA.js";import{a as r}from"./BOmrKuMn.js";import{m,w as u}from"./C3xJX0nD.js";const l=async({dataset_id:s,annotation_label_ids:n})=>{const t={data:void 0,error:void 0};try{const i=await d.GET("/api/datasets/{dataset_id}/samples/dimensions",{params:{path:{dataset_id:s},query:{annotation_label_ids:n}}});if(i.error)throw new Error(JSON.stringify(i.error,null,2));if(!i.data)throw new Error("No dimension bounds data");t.data=i.data}catch(i){t.error="Error loading dimension bounds: "+String(i)}return t},o=r("lightlyStudio_dimensions_bounds",{min_width:0,max_width:0,min_height:0,max_height:0}),e=r("lightlyStudio_dimensions_values",{min_width:0,max_width:0,min_height:0,max_height:0}),h=s=>{e.set(s)},c=s=>{o.set(s)},a=u(!1),w=async s=>{if(m(a))return;const{data:n}=await l({dataset_id:s});n&&(o.set(n),e.set(n)),a.set(!0)},f=s=>(s&&w(s),{dimensionsBounds:o,dimensionsValues:e,updateDimensionsValues:h,updateDimensionsBounds:c});export{f as u};
@@ -0,0 +1,2 @@
1
+ var Re=Object.defineProperty;var ae=t=>{throw TypeError(t)};var ke=(t,e,i)=>e in t?Re(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var oe=(t,e,i)=>ke(t,typeof e!="symbol"?e+"":e,i),$=(t,e,i)=>e.has(t)||ae("Cannot "+i);var s=(t,e,i)=>($(t,e,"read from private field"),i?i.call(t):e.get(t)),o=(t,e,i)=>e.has(t)?ae("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,i),n=(t,e,i,r)=>($(t,e,"write to private field"),r?r.call(t,i):e.set(t,i),i),g=(t,e,i)=>($(t,e,"access private method"),i);import{an as Ne,g as _e,ao as pe,a6 as Se,h as De,ap as le,C as Z,A as w,z as T,aq as Ce,K as Y,v as ve,L as Fe,a4 as K,N as Oe,x as C,ar as M,W as Q,H as ue,G as B,as as he,at as Ie,J as de,d as ge,au as Le,y as X,P,am as Ve,O as Pe,av as fe,aw as xe,E as He,ax as Me,ay as Be,az as z,aA as We,R as ye,aB as Ye,aC as me,Q as V,_ as Ee,aD as ee,aE as te,aF as je,aG as qe,aH as ze,aI as Ge,p as Je,aJ as Ke,aK as Ue,a as $e}from"./C3xJX0nD.js";import{a as Qe,r as ce,h as W}from"./SiegjVo0.js";import{b as Xe}from"./CAPx0Bfm.js";function Ze(t){let e=0,i=pe(0),r;return()=>{Ne()&&(_e(i),Se(()=>(e===0&&(r=De(()=>t(()=>le(i)))),e+=1,()=>{Z(()=>{e-=1,e===0&&(r==null||r(),r=void 0,le(i))})})))}}var et=He|Me|Be;function tt(t,e,i){new st(t,e,i)}var y,f,H,m,F,E,v,h,b,A,O,R,I,k,G,J,l,be,Te,j,q,se;class st{constructor(e,i,r){o(this,l);oe(this,"parent");o(this,y,!1);o(this,f);o(this,H,T?w:null);o(this,m);o(this,F);o(this,E);o(this,v,null);o(this,h,null);o(this,b,null);o(this,A,null);o(this,O,0);o(this,R,0);o(this,I,!1);o(this,k,null);o(this,G,()=>{s(this,k)&&Ce(s(this,k),s(this,O))});o(this,J,Ze(()=>(n(this,k,pe(s(this,O))),()=>{n(this,k,null)})));n(this,f,e),n(this,m,i),n(this,F,r),this.parent=Y.b,n(this,y,!!s(this,m).pending),n(this,E,ve(()=>{if(Y.b=this,T){const u=s(this,H);Fe(),u.nodeType===K&&u.data===Oe?g(this,l,Te).call(this):g(this,l,be).call(this)}else{try{n(this,v,C(()=>r(s(this,f))))}catch(u){this.error(u)}s(this,R)>0?g(this,l,q).call(this):n(this,y,!1)}},et)),T&&n(this,f,w)}is_pending(){return s(this,y)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!s(this,m).pending}update_pending_count(e){g(this,l,se).call(this,e),n(this,O,s(this,O)+e),Le.add(s(this,G))}get_effect_pending(){return s(this,J).call(this),_e(s(this,k))}error(e){var i=s(this,m).onerror;let r=s(this,m).failed;if(s(this,I)||!i&&!r)throw e;s(this,v)&&(X(s(this,v)),n(this,v,null)),s(this,h)&&(X(s(this,h)),n(this,h,null)),s(this,b)&&(X(s(this,b)),n(this,b,null)),T&&(P(s(this,H)),Ve(),P(Pe()));var u=!1,a=!1;const c=()=>{if(u){We();return}u=!0,a&&xe(),M.ensure(),n(this,O,0),s(this,b)!==null&&Q(s(this,b),()=>{n(this,b,null)}),n(this,y,this.has_pending_snippet()),n(this,v,g(this,l,j).call(this,()=>(n(this,I,!1),C(()=>s(this,F).call(this,s(this,f)))))),s(this,R)>0?g(this,l,q).call(this):n(this,y,!1)};var N=de;try{B(null),a=!0,i==null||i(e,c),a=!1}catch(S){fe(S,s(this,E)&&s(this,E).parent)}finally{B(N)}r&&Z(()=>{n(this,b,g(this,l,j).call(this,()=>{n(this,I,!0);try{return C(()=>{r(s(this,f),()=>e,()=>c)})}catch(S){return fe(S,s(this,E).parent),null}finally{n(this,I,!1)}}))})}}y=new WeakMap,f=new WeakMap,H=new WeakMap,m=new WeakMap,F=new WeakMap,E=new WeakMap,v=new WeakMap,h=new WeakMap,b=new WeakMap,A=new WeakMap,O=new WeakMap,R=new WeakMap,I=new WeakMap,k=new WeakMap,G=new WeakMap,J=new WeakMap,l=new WeakSet,be=function(){try{n(this,v,C(()=>s(this,F).call(this,s(this,f))))}catch(e){this.error(e)}n(this,y,!1)},Te=function(){const e=s(this,m).pending;e&&(n(this,h,C(()=>e(s(this,f)))),M.enqueue(()=>{n(this,v,g(this,l,j).call(this,()=>(M.ensure(),C(()=>s(this,F).call(this,s(this,f)))))),s(this,R)>0?g(this,l,q).call(this):(Q(s(this,h),()=>{n(this,h,null)}),n(this,y,!1))}))},j=function(e){var i=Y,r=de,u=ge;ue(s(this,E)),B(s(this,E)),he(s(this,E).ctx);try{return e()}catch(a){return Ie(a),null}finally{ue(i),B(r),he(u)}},q=function(){const e=s(this,m).pending;s(this,v)!==null&&(n(this,A,document.createDocumentFragment()),it(s(this,v),s(this,A))),s(this,h)===null&&n(this,h,C(()=>e(s(this,f))))},se=function(e){var i;if(!this.has_pending_snippet()){this.parent&&g(i=this.parent,l,se).call(i,e);return}n(this,R,s(this,R)+e),s(this,R)===0&&(n(this,y,!1),s(this,h)&&Q(s(this,h),()=>{n(this,h,null)}),s(this,A)&&(s(this,f).before(s(this,A)),n(this,A,null)),Z(()=>{M.ensure().flush()}))};function it(t,e){for(var i=t.nodes_start,r=t.nodes_end;i!==null;){var u=i===r?null:z(i);e.append(i),i=u}}function pt(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const nt=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function vt(t){return nt.includes(t)}const rt={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function gt(t){return t=t.toLowerCase(),rt[t]??t}const at=["touchstart","touchmove"];function ot(t){return at.includes(t)}const lt=["textarea","script","style","title"];function yt(t){return lt.includes(t)}let p;function ut(){p=void 0}function mt(t){let e=null,i=T;var r;if(T){for(e=w,p===void 0&&(p=Ee(document.head));p!==null&&(p.nodeType!==K||p.data!==me);)p=z(p);p===null?V(!1):p=P(z(p))}T||(r=document.head.appendChild(ye()));try{ve(()=>t(r),Ye)}finally{i&&(V(!0),p=w,P(e))}}let ie=!0;function Et(t){ie=t}function bt(t,e){var i=e==null?"":typeof e=="object"?e+"":e;i!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=i,t.nodeValue=i+"")}function ht(t,e){return we(t,e)}function Tt(t,e){ee(),e.intro=e.intro??!1;const i=e.target,r=T,u=w;try{for(var a=Ee(i);a&&(a.nodeType!==K||a.data!==me);)a=z(a);if(!a)throw te;V(!0),P(a);const c=we(t,{...e,anchor:a});return V(!1),c}catch(c){if(c instanceof Error&&c.message.split(`
2
+ `).some(N=>N.startsWith("https://svelte.dev/e/")))throw c;return c!==te&&console.warn("Failed to hydrate: ",c),e.recover===!1&&je(),ee(),qe(i),V(!1),ht(t,e)}finally{V(r),P(u),ut()}}const L=new Map;function we(t,{target:e,anchor:i,props:r={},events:u,context:a,intro:c=!0}){ee();var N=new Set,S=D=>{for(var _=0;_<D.length;_++){var d=D[_];if(!N.has(d)){N.add(d);var x=ot(d);e.addEventListener(d,W,{passive:x});var re=L.get(d);re===void 0?(document.addEventListener(d,W,{passive:x}),L.set(d,1)):L.set(d,re+1)}}};S(ze(Qe)),ce.add(S);var U=void 0,Ae=Ge(()=>{var D=i??e.appendChild(ye());return tt(D,{pending:()=>{}},_=>{if(a){Je({});var d=ge;d.c=a}if(u&&(r.$$events=u),T&&Xe(_,null),ie=c,U=t(_,r)||{},ie=!0,T&&(Y.nodes_end=w,w===null||w.nodeType!==K||w.data!==Ke))throw Ue(),te;a&&$e()}),()=>{var x;for(var _ of N){e.removeEventListener(_,W);var d=L.get(_);--d===0?(document.removeEventListener(_,W),L.delete(_)):L.set(_,d)}ce.delete(S),D!==i&&((x=D.parentNode)==null||x.removeChild(D))}});return ne.set(U,Ae),U}let ne=new WeakMap;function wt(t,e){const i=ne.get(t);return i?(ne.delete(t),i(e)):Promise.resolve()}export{vt as a,mt as b,Ze as c,yt as d,Et as e,ie as f,Tt as h,pt as i,ht as m,gt as n,bt as s,wt as u};
@@ -0,0 +1,3 @@
1
+ var tt=e=>{throw TypeError(e)};var Mt=(e,t,n)=>t.has(e)||tt("Cannot "+n);var k=(e,t,n)=>(Mt(e,t,"read from private field"),n?n.call(e):t.get(e)),x=(e,t,n)=>t.has(e)?tt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);import{be as mt,u as qt,d as he,h as _t,w as De,al as C,g as N,Z as O,aM as Gt}from"./C3xJX0nD.js";import{l as Ht}from"./DIeogL5L.js";import{H as Se,S as Fe,R as Ve}from"./CYgJF_JY.js";function ge(e){he===null&&mt(),Ht&&he.l!==null?Kt(he).m.push(e):qt(()=>{const t=_t(e);if(typeof t=="function")return t})}function Jn(e){he===null&&mt(),ge(()=>()=>_t(e))}function Kt(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}new URL("sveltekit-internal://");function Wt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Yt(e){return e.split("%25").map(decodeURI).join("%25")}function zt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Te({href:e}){return e.split("#")[0]}function Jt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return l=>(n(l),i[o](l));t();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function Xt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}function Zt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n.buffer}const Qt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&Y.delete(Be(e)),Qt(e,t));const Y=new Map;function en(e,t){const n=Be(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&Y.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Zt(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function tn(e,t,n){if(Y.size>0){const r=Be(e,n),a=Y.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(a.body,a.init);Y.delete(r)}}return window.fetch(t,n)}function Be(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t!=null&&t.headers||t!=null&&t.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Xt(...a)}"]`}return r}const nn=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function an(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${on(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Pe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Pe(String.fromCharCode(...c.slice(2).split("-").map(p=>parseInt(p,16))));const h=nn.exec(c),[,u,_,f,m]=h;return t.push({name:f,matcher:m,optional:!!u,rest:!!_,chained:_?l===1&&i[0]==="":!1}),_?"(.*?)":u?"([^/]*)?":"([^/]+?)"}return Pe(c)}).join("")}).join("")}/?$`),params:t}}function rn(e){return!/^\([^)]+\)$/.test(e)}function on(e){return e.slice(1).split("/").filter(rn)}function sn(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-i];if(c.chained&&c.rest&&i&&(l=a.slice(o-i,o+1).filter(h=>h).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const h=t[o+1],u=a[o+1];h&&!h.rest&&h.optional&&u&&c.chained&&(i=0),!h&&!u&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function Pe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function cn({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,h]])=>{const{pattern:u,params:_}=an(o),f={id:o,exec:m=>{const p=u.exec(m);if(p)return sn(p,_,r)},errors:[1,...h||[]].map(m=>e[m]),layouts:[0,...l||[]].map(i),leaf:s(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function s(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function wt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function nt(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}var ut;const P=((ut=globalThis.__sveltekit_6ycv9w)==null?void 0:ut.base)??"";var dt;const ln=((dt=globalThis.__sveltekit_6ycv9w)==null?void 0:dt.assets)??P,fn="1761033043766",yt="sveltekit:snapshot",vt="sveltekit:scroll",bt="sveltekit:states",un="sveltekit:pageurl",q="sveltekit:history",J="sveltekit:navigation",V={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},fe=location.origin;function kt(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function Me(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const at={...V,"":V.hover};function At(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function St(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=At(e)}}function Oe(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||Ee(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(r==null?void 0:r.origin)===fe&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function me(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=M(o,"preload-code")),a===null&&(a=M(o,"preload-data")),t===null&&(t=M(o,"keepfocus")),n===null&&(n=M(o,"noscroll")),s===null&&(s=M(o,"reload")),i===null&&(i=M(o,"replacestate")),o=At(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:at[r??"off"],preload_data:at[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(i)}}function rt(e){const t=De(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const Et={v:()=>{}};function dn(){const{set:e,subscribe:t}=De(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${ln}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==fn;return i&&(e(!0),Et.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function Ee(e,t,n){return e.origin!==fe||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function Xn(e){}function ot(e){const t=pn(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const hn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function pn(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=hn.indexOf(e[a]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const gn=-1,mn=-2,_n=-3,wn=-4,yn=-5,vn=-6;function bn(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(s,i=!1){if(s===gn)return;if(s===_n)return NaN;if(s===wn)return 1/0;if(s===yn)return-1/0;if(s===vn)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],l=t==null?void 0:t[c];if(l)return r[s]=l(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const h=new Set;r[s]=h;for(let f=1;f<o.length;f+=1)h.add(a(o[f]));break;case"Map":const u=new Map;r[s]=u;for(let f=1;f<o.length;f+=2)u.set(a(o[f]),a(o[f+1]));break;case"RegExp":r[s]=new RegExp(o[1],o[2]);break;case"Object":r[s]=Object(o[1]);break;case"BigInt":r[s]=BigInt(o[1]);break;case"null":const _=Object.create(null);r[s]=_;for(let f=1;f<o.length;f+=2)_[o[f]]=a(o[f+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const f=globalThis[c],m=o[1],p=ot(m),d=new f(p);r[s]=d;break}case"ArrayBuffer":{const f=o[1],m=ot(f);r[s]=m;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(o.length);r[s]=c;for(let l=0;l<o.length;l+=1){const h=o[l];h!==mn&&(c[l]=a(h))}}else{const c={};r[s]=c;for(const l in o){const h=o[l];c[l]=a(h)}}return r[s]}return a(0)}const Rt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Rt];const kn=new Set([...Rt]);[...kn];function An(e){return e.filter(t=>t!=null)}const Sn="x-sveltekit-invalidated",En="x-sveltekit-trailing-slash";function _e(e){return e instanceof Se||e instanceof Fe?e.status:500}function Rn(e){return e instanceof Fe?e.text:"Internal Error"}let R,X,xe;const In=ge.toString().includes("$$")||/function \w+\(\) \{\}/.test(ge.toString());var ee,te,ne,ae,re,oe,se,ie,ht,ce,pt,le,gt;In?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},X={current:null},xe={current:!1}):(R=new(ht=class{constructor(){x(this,ee,C({}));x(this,te,C(null));x(this,ne,C(null));x(this,ae,C({}));x(this,re,C({id:null}));x(this,oe,C({}));x(this,se,C(-1));x(this,ie,C(new URL("https://example.com")))}get data(){return N(k(this,ee))}set data(t){O(k(this,ee),t)}get form(){return N(k(this,te))}set form(t){O(k(this,te),t)}get error(){return N(k(this,ne))}set error(t){O(k(this,ne),t)}get params(){return N(k(this,ae))}set params(t){O(k(this,ae),t)}get route(){return N(k(this,re))}set route(t){O(k(this,re),t)}get state(){return N(k(this,oe))}set state(t){O(k(this,oe),t)}get status(){return N(k(this,se))}set status(t){O(k(this,se),t)}get url(){return N(k(this,ie))}set url(t){O(k(this,ie),t)}},ee=new WeakMap,te=new WeakMap,ne=new WeakMap,ae=new WeakMap,re=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ht),X=new(pt=class{constructor(){x(this,ce,C(null))}get current(){return N(k(this,ce))}set current(t){O(k(this,ce),t)}},ce=new WeakMap,pt),xe=new(gt=class{constructor(){x(this,le,C(!1))}get current(){return N(k(this,le))}set current(t){O(k(this,le),t)}},le=new WeakMap,gt),Et.v=()=>xe.current=!0);function It(e){Object.assign(R,e)}const Un="/__data.json",Ln=".html__data.json";function Tn(e){return e.endsWith(".html")?e.replace(/\.html$/,Ln):e.replace(/\/$/,"")+Un}const Pn=new Set(["icon","shortcut icon","apple-touch-icon"]),B=wt(vt)??{},Z=wt(yt)??{},D={url:rt({}),page:rt({}),navigating:De(null),updated:dn()};function qe(e){B[e]=Me()}function xn(e,t){let n=e+1;for(;B[n];)delete B[n],n+=1;for(n=t+1;Z[n];)delete Z[n],n+=1}function K(e){return location.href=e.href,new Promise(()=>{})}async function Ut(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(P||"/");e&&await e.update()}}function st(){}let Ge,je,we,j,$e,A;const ye=[],ve=[];let L=null;const de=new Map,He=new Set,Cn=new Set,G=new Set;let y={branch:[],error:null,url:null},Ke=!1,be=!1,it=!0,Q=!1,W=!1,Lt=!1,We=!1,Ye,E,T,$;const z=new Set;let Ce;async function ta(e,t,n){var a,s,i,o;document.URL!==location.href&&(location.href=location.href),A=e,await((s=(a=e.hooks).init)==null?void 0:s.call(a)),Ge=cn(e),j=document.documentElement,$e=t,je=e.nodes[0],we=e.nodes[1],je(),we(),E=(i=history.state)==null?void 0:i[q],T=(o=history.state)==null?void 0:o[J],E||(E=T=Date.now(),history.replaceState({...history.state,[q]:E,[J]:T},""));const r=B[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await qn($e,n):await Bn(A.hash?Hn(new URL(location.href)):location.href,{replaceState:!0}),Mn()}async function Nn(){if(await(Ce||(Ce=Promise.resolve())),!Ce)return;Ce=null;const e=$={},t=await ue(y.url,!0);L=null;const n=t&&await Xe(t);if(!(!n||e!==$)){if(n.type==="redirect")return Re(new URL(n.location,y.url).href,{},1,e);n.props.page&&Object.assign(R,n.props.page),y=n.state,Tt(),Ye.$set(n.props),It(n.props.page)}}function Tt(){ye.length=0,We=!1}function Pt(e){ve.some(t=>t==null?void 0:t.snapshot)&&(Z[e]=ve.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function xt(e){var t;(t=Z[e])==null||t.forEach((n,r)=>{var a,s;(s=(a=ve[r])==null?void 0:a.snapshot)==null||s.restore(n)})}function ct(){qe(E),nt(vt,B),Pt(T),nt(yt,Z)}async function Re(e,t,n,r){return pe({type:"goto",url:kt(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(We=!0),t.invalidate&&t.invalidate.forEach(Dt)}})}async function On(e){if(e.id!==(L==null?void 0:L.id)){const t={};z.add(t),L={id:e.id,token:t,promise:Xe({...e,preload:t}).then(n=>(z.delete(t),n.type==="loaded"&&n.state.error&&(L=null),n))}}return L.promise}async function Ne(e){var n;const t=(n=await ue(e,!1))==null?void 0:n.route;t&&await Promise.all([...t.layouts,t.leaf].map(r=>r==null?void 0:r[1]()))}function Ct(e,t,n){var s;y=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),Object.assign(R,e.props.page),Ye=new A.root({target:t,props:{...e.props,stores:D,components:ve},hydrate:n,sync:!1}),xt(T);const a={from:null,to:{params:y.params,route:{id:((s=y.route)==null?void 0:s.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};G.forEach(i=>i(a)),be=!0}function ke({url:e,params:t,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(P&&(e.pathname===P||e.pathname===P+"/"))o="always";else for(const f of n)(f==null?void 0:f.slash)!==void 0&&(o=f.slash);e.pathname=Wt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:An(n).map(f=>f.node.component),page:Ze(R)}};i!==void 0&&(c.props.form=i);let l={},h=!R,u=0;for(let f=0;f<Math.max(n.length,y.branch.length);f+=1){const m=n[f],p=y.branch[f];(m==null?void 0:m.data)!==(p==null?void 0:p.data)&&(h=!0),m&&(l={...l,...m.data},h&&(c.props[`data_${u}`]=l),u+=1)}return(!y.url||e.href!==y.url.href||y.error!==a||i!==void 0&&i!==R.form||h)&&(c.props.page={error:a,params:t,route:{id:(s==null?void 0:s.id)??null},state:{},status:r,url:new URL(e),form:i??null,data:h?l:R.data}),c}async function ze({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){var h,u,_;let i=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if((h=l.universal)!=null&&h.load){let f=function(...p){for(const d of p){const{href:v}=new URL(d,n);c.dependencies.add(v)}};const m={route:new Proxy(a,{get:(p,d)=>(o&&(c.route=!0),p[d])}),params:new Proxy(r,{get:(p,d)=>(o&&c.params.add(d),p[d])}),data:(s==null?void 0:s.data)??null,url:Jt(n,()=>{o&&(c.url=!0)},p=>{o&&c.search_params.add(p)},A.hash),async fetch(p,d){p instanceof Request&&(d={body:p.method==="GET"||p.method==="HEAD"?void 0:await p.blob(),cache:p.cache,credentials:p.credentials,headers:[...p.headers].length?p.headers:void 0,integrity:p.integrity,keepalive:p.keepalive,method:p.method,mode:p.mode,redirect:p.redirect,referrer:p.referrer,referrerPolicy:p.referrerPolicy,signal:p.signal,...d});const{resolved:v,promise:I}=Nt(p,d,n);return o&&f(v.href),I},setHeaders:()=>{},depends:f,parent(){return o&&(c.parent=!0),t()},untrack(p){o=!1;try{return p()}finally{o=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:e,server:s,universal:(u=l.universal)!=null&&u.load?{type:"data",data:i,uses:c}:null,data:i??(s==null?void 0:s.data)??null,slash:((_=l.universal)==null?void 0:_.trailingSlash)??(s==null?void 0:s.slash)}}function Nt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=be?tn(r,a.href,t):en(r,t);return{resolved:a,promise:s}}function lt(e,t,n,r,a,s){if(We)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==y.params[i])return!0;for(const i of a.dependencies)if(ye.some(o=>o(new URL(i))))return!0;return!1}function Je(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function jn(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function ft({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Ze(R),constructors:[]}}}async function Xe({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if((L==null?void 0:L.id)===e)return z.delete(L.token),L.promise;const{errors:i,layouts:o,leaf:c}=a,l=[...o,c];i.forEach(g=>g==null?void 0:g().catch(()=>{})),l.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let h=null;const u=y.url?e!==Ae(y.url):!1,_=y.route?a.id!==y.route.id:!1,f=jn(y.url,n);let m=!1;const p=l.map((g,w)=>{var F;const b=y.branch[w],S=!!(g!=null&&g[0])&&((b==null?void 0:b.loader)!==g[1]||lt(m,_,u,f,(F=b.server)==null?void 0:F.uses,r));return S&&(m=!0),S});if(p.some(Boolean)){try{h=await Ft(n,p)}catch(g){const w=await H(g,{url:n,params:r,route:{id:e}});return z.has(s)?ft({error:w,url:n,params:r,route:a}):Ie({status:_e(g),error:w,url:n,route:a})}if(h.type==="redirect")return h}const d=h==null?void 0:h.nodes;let v=!1;const I=l.map(async(g,w)=>{var Ue;if(!g)return;const b=y.branch[w],S=d==null?void 0:d[w];if((!S||S.type==="skip")&&g[1]===(b==null?void 0:b.loader)&&!lt(v,_,u,f,(Ue=b.universal)==null?void 0:Ue.uses,r))return b;if(v=!0,(S==null?void 0:S.type)==="error")throw S;return ze({loader:g[1],url:n,params:r,route:a,parent:async()=>{var et;const Qe={};for(let Le=0;Le<w;Le+=1)Object.assign(Qe,(et=await I[Le])==null?void 0:et.data);return Qe},server_data_node:Je(S===void 0&&g[0]?{type:"skip"}:S??null,g[0]?b==null?void 0:b.server:void 0)})});for(const g of I)g.catch(()=>{});const U=[];for(let g=0;g<l.length;g+=1)if(l[g])try{U.push(await I[g])}catch(w){if(w instanceof Ve)return{type:"redirect",location:w.location};if(z.has(s))return ft({error:await H(w,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=_e(w),S;if(d!=null&&d.includes(w))b=w.status??b,S=w.error;else if(w instanceof Se)S=w.body;else{if(await D.updated.check())return await Ut(),await K(n);S=await H(w,{params:r,url:n,route:{id:a.id}})}const F=await $n(g,U,i);return F?ke({url:n,params:r,branch:U.slice(0,F.idx).concat(F.node),status:b,error:S,route:a}):await jt(n,{id:a.id},S,b)}else U.push(void 0);return ke({url:n,params:r,branch:U,status:200,error:null,route:a,form:t?void 0:null})}async function $n(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Ie({status:e,error:t,url:n,route:r}){const a={};let s=null;if(A.server_loads[0]===0)try{const o=await Ft(n,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;s=o.nodes[0]??null}catch{(n.origin!==fe||n.pathname!==location.pathname||Ke)&&await K(n)}try{const o=await ze({loader:je,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Je(s)}),c={node:await we(),loader:we,universal:null,server:null,data:null};return ke({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Ve)return Re(new URL(o.location,location.href),{},0);throw o}}async function Dn(e){const t=e.href;if(de.has(t))return de.get(t);let n;try{const r=(async()=>{let a=await A.hooks.reroute({url:new URL(e),fetch:async(s,i)=>Nt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);A.hash?s.hash=a:s.pathname=a,a=s}return a})();de.set(t,r),n=await r}catch{de.delete(t);return}return n}async function ue(e,t){if(e&&!Ee(e,P,A.hash)){const n=await Dn(e);if(!n)return;const r=Fn(n);for(const a of Ge){const s=a.exec(r);if(s)return{id:Ae(e),invalidating:t,route:a,params:zt(s),url:e}}}}function Fn(e){return Yt(A.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(P.length))||"/"}function Ae(e){return(A.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function Ot({url:e,type:t,intent:n,delta:r}){let a=!1;const s=Bt(y,n,e,t);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return Q||He.forEach(o=>o(i)),a?null:s}async function pe({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:l=st,block:h=st}){const u=$;$=c;const _=await ue(t,!1),f=Ot({url:t,type:e,delta:n==null?void 0:n.delta,intent:_});if(!f){h(),$===c&&($=u);return}const m=E,p=T;l(),Q=!0,be&&D.navigating.set(X.current=f.navigation);let d=_&&await Xe(_);if(!d){if(Ee(t,P,A.hash))return await K(t);d=await jt(t,{id:null},await H(new Fe(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=(_==null?void 0:_.url)||t,$!==c)return f.reject(new Error("navigation aborted")),!1;if(d.type==="redirect")if(o>=20)d=await Ie({status:500,error:await H(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return await Re(new URL(d.location,t).href,{},o+1,c),!1;else d.props.page.status>=400&&await D.updated.check()&&(await Ut(),await K(t));if(Tt(),qe(m),Pt(p),d.props.page.url.pathname!==t.pathname&&(t.pathname=d.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,w={[q]:E+=g,[J]:T+=g,[bt]:i};(s?history.replaceState:history.pushState).call(history,w,"",t),s||xn(E,T)}if(L=null,d.props.page.state=i,be){y=d.state,d.props.page&&(d.props.page.url=t);const g=(await Promise.all(Array.from(Cn,w=>w(f.navigation)))).filter(w=>typeof w=="function");if(g.length>0){let w=function(){g.forEach(b=>{G.delete(b)})};g.push(w),g.forEach(b=>{G.add(b)})}Ye.$set(d.props),It(d.props.page),Lt=!0}else Ct(d,$e,!1);const{activeElement:v}=document;await Gt();const I=n?n.scroll:a?Me():null;if(it){const g=t.hash&&document.getElementById(decodeURIComponent(A.hash?t.hash.split("#")[2]??"":t.hash.slice(1)));I?scrollTo(I.x,I.y):g?g.scrollIntoView():scrollTo(0,0)}const U=document.activeElement!==v&&document.activeElement!==document.body;!r&&!U&&Gn(),it=!0,d.props.page&&Object.assign(R,d.props.page),Q=!1,e==="popstate"&&xt(T),f.fulfil(void 0),G.forEach(g=>g(f.navigation)),D.navigating.set(X.current=null)}async function jt(e,t,n,r){return e.origin===fe&&e.pathname===location.pathname&&!Ke?await Ie({status:r,error:n,url:e,route:t}):await K(e)}function Vn(){let e,t,n;j.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{s(c,V.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],V.tap)}j.addEventListener("mousedown",r),j.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(Ne(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(o,c){const l=St(o,j),h=l===t&&c>=n;if(!l||h)return;const{url:u,external:_,download:f}=Oe(l,P,A.hash);if(_||f)return;const m=me(l),p=u&&Ae(y.url)===Ae(u);if(!(m.reload||p))if(c<=m.preload_data){t=l,n=V.tap;const d=await ue(u,!1);if(!d)return;On(d)}else c<=m.preload_code&&(t=l,n=c,Ne(u))}function i(){a.disconnect();for(const o of j.querySelectorAll("a")){const{url:c,external:l,download:h}=Oe(o,P,A.hash);if(l||h)continue;const u=me(o);u.reload||(u.preload_code===V.viewport&&a.observe(o),u.preload_code===V.eager&&Ne(c))}}G.add(i),i()}function H(e,t){if(e instanceof Se)return e.body;const n=_e(e),r=Rn(e);return A.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function $t(e,t){ge(()=>(e.add(t),()=>{e.delete(t)}))}function na(e){$t(G,e)}function aa(e){$t(He,e)}function Bn(e,t={}){return e=new URL(kt(e)),e.origin!==fe?Promise.reject(new Error("goto: invalid URL")):Re(e,t,0)}function ra(e){return Dt(e),Nn()}function Dt(e){if(typeof e=="function")ye.push(e);else{const{href:t}=new URL(e,location.href);ye.push(n=>n.href===t)}}function Mn(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(ct(),!Q){const a=Bt(y,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};He.forEach(i=>i(s))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ct()}),(t=navigator.connection)!=null&&t.saveData||Vn(),j.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=St(n.composedPath()[0],j);if(!r)return;const{url:a,external:s,target:i,download:o}=Oe(r,P,A.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=me(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[h,u]=(A.hash?a.hash.replace(/^#/,""):a.href).split("#"),_=h===Te(location);if(s||c.reload&&(!_||!u)){Ot({url:a,type:"link"})?Q=!0:n.preventDefault();return}if(u!==void 0&&_){const[,f]=y.url.href.split("#");if(f===u){if(n.preventDefault(),u===""||u==="top"&&r.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const m=r.ownerDocument.getElementById(decodeURIComponent(u));m&&(m.scrollIntoView(),m.focus())}return}if(W=!0,qe(E),e(a),!c.replace_state)return;W=!1}n.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await pe({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),j.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Ee(o,P,!1))return;const c=n.target,l=me(c);if(l.reload)return;n.preventDefault(),n.stopPropagation();const h=new FormData(c),u=a==null?void 0:a.getAttribute("name");u&&h.append(u,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(h).toString(),pe({type:"form",url:o,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??o.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[q]){const a=n.state[q];if($={},a===E)return;const s=B[a],i=n.state[bt]??{},o=new URL(n.state[un]??location.href),c=n.state[J],l=y.url?Te(location)===Te(y.url):!1;if(c===T&&(Lt||l)){i!==R.state&&(R.state=i),e(o),B[E]=Me(),s&&scrollTo(s.x,s.y),E=a;return}const u=a-E;await pe({type:"popstate",url:o,popped:{state:i,scroll:s,delta:u},accept:()=>{E=a,T=c},block:()=>{history.go(-u)},nav_token:$})}else if(!W){const a=new URL(location.href);e(a),A.hash&&location.reload()}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[q]:++E,[J]:T},"",location.href))});for(const n of document.querySelectorAll("link"))Pn.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&D.navigating.set(X.current=null)});function e(n){y.url=R.url=n,D.page.set(Ze(R)),D.page.notify()}}async function qn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Ke=!0;const l=new URL(location.href);let h;({params:a={},route:s={id:null}}=await ue(l,!1)||{}),h=Ge.find(({id:f})=>f===s.id);let u,_=!0;try{const f=r.map(async(p,d)=>{const v=o[d];return v!=null&&v.uses&&(v.uses=Vt(v.uses)),ze({loader:A.nodes[p],url:l,params:a,route:s,parent:async()=>{const I={};for(let U=0;U<d;U+=1)Object.assign(I,(await f[U]).data);return I},server_data_node:Je(v)})}),m=await Promise.all(f);if(h){const p=h.layouts;for(let d=0;d<p.length;d++)p[d]||m.splice(d,0,void 0)}u=ke({url:l,params:a,branch:m,status:t,error:n,form:c,route:h??null})}catch(f){if(f instanceof Ve){await K(new URL(f.location,location.href));return}u=await Ie({status:_e(f),error:await H(f,{url:l,params:a,route:s}),url:l,route:s}),e.textContent="",_=!1}u.props.page&&(u.props.page.state={}),Ct(u,e,_)}async function Ft(e,t){var s;const n=new URL(e);n.pathname=Tn(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(En,"1"),n.searchParams.append(Sn,t.map(i=>i?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let i;throw(s=a.headers.get("content-type"))!=null&&s.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new Se(a.status,i)}return new Promise(async i=>{var _;const o=new Map,c=a.body.getReader(),l=new TextDecoder;function h(f){return bn(f,{...A.decoders,Promise:m=>new Promise((p,d)=>{o.set(m,{fulfil:p,reject:d})})})}let u="";for(;;){const{done:f,value:m}=await c.read();if(f&&!u)break;for(u+=!m&&u?`
2
+ `:l.decode(m,{stream:!0});;){const p=u.indexOf(`
3
+ `);if(p===-1)break;const d=JSON.parse(u.slice(0,p));if(u=u.slice(p+1),d.type==="redirect")return i(d);if(d.type==="data")(_=d.nodes)==null||_.forEach(v=>{(v==null?void 0:v.type)==="data"&&(v.uses=Vt(v.uses),v.data=h(v.data))}),i(d);else if(d.type==="chunk"){const{id:v,data:I,error:U}=d,g=o.get(v);o.delete(v),U?g.reject(h(U)):g.fulfil(h(I))}}}})}function Vt(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Gn(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const t=document.body,n=t.getAttribute("tabindex");t.tabIndex=-1,t.focus({preventScroll:!0,focusVisible:!1}),n!==null?t.setAttribute("tabindex",n):t.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s<r.rangeCount;s+=1)a.push(r.getRangeAt(s));setTimeout(()=>{if(r.rangeCount===a.length){for(let s=0;s<r.rangeCount;s+=1){const i=a[s],o=r.getRangeAt(s);if(i.commonAncestorContainer!==o.commonAncestorContainer||i.startContainer!==o.startContainer||i.endContainer!==o.endContainer||i.startOffset!==o.startOffset||i.endOffset!==o.endOffset)return}r.removeAllRanges()}})}}}function Bt(e,t,n,r){var c,l;let a,s;const i=new Promise((h,u)=>{a=h,s=u});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:n&&{params:(t==null?void 0:t.params)??null,route:{id:((l=t==null?void 0:t.route)==null?void 0:l.id)??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:s}}function Ze(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Hn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}export{na as a,P as b,aa as c,Jn as d,ta as e,Bn as g,ra as i,Xn as l,ge as o,R as p,D as s};
@@ -0,0 +1 @@
1
+ import{m as f,w as s,o as h,q as r}from"./C3xJX0nD.js";import{a as p}from"./BaFFwDFr.js";import{u as y}from"./BOmrKuMn.js";const o=s(new Set);function v(u){const{dataset_id:n,kind:i}=u,{tags:l}=y(),g=s(!1),c=s(null),e=s(!1),d=()=>{f(e)||(e.set(!0),p({path:{dataset_id:n}}).then(t=>{if(t.error)throw new Error(JSON.stringify(t.error));t.data&&l.set(t.data)}).catch(t=>{c.set(t)}).finally(()=>{e.set(!1)}))};!f(g)&&n&&(d(),g.set(!0));const S=h(l,t=>{const a=t??[];return i?a.filter(T=>i.includes(T.kind)):a}),m=t=>{o.update(a=>(a.has(t)?a.delete(t):a.add(t),new Set([...a])))},w=()=>{o.set(new Set)};return{tags:r(S),loadTags:d,tagsSelected:r(o),tagSelectionToggle:m,clearTagsSelected:w,isLoading:r(e),error:c}}export{v as u};
@@ -1 +1 @@
1
- import"./CWj6FrbW.js";import{p as w,$ as f,f as g,s as b,a as k}from"./CH6P3X75.js";import{d as m,e as y}from"./D4whDBUi.js";import{t as n,a as r}from"./RmD8FzRo.js";import{i as c}from"./DA6bFLPR.js";var x=n('<button class="absolute left-4 top-1/2 z-30 -translate-y-1/2 rounded-full bg-black/30 p-2 text-white opacity-50 transition-opacity hover:opacity-100" aria-label="Previous sample"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"></path></svg></button>'),_=n('<button class="absolute right-4 top-1/2 z-30 -translate-y-1/2 rounded-full bg-black/30 p-2 text-white opacity-50 transition-opacity hover:opacity-100" aria-label="Next sample"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"></path></svg></button>'),N=n("<!> <!>",1);function C(h,o){w(o,!0);const p=t=>{switch(t.key){case"ArrowRight":o.onNext();break;case"ArrowLeft":o.onPrevious();break}};var s=N();y("keydown",f,p);var l=g(s);{var u=t=>{var a=x();a.__click=function(...i){var e;(e=o.onPrevious)==null||e.apply(this,i)},r(t,a)};c(l,t=>{o.hasPrevious&&t(u)})}var v=b(l,2);{var d=t=>{var a=_();a.__click=function(...i){var e;(e=o.onNext)==null||e.apply(this,i)},r(t,a)};c(v,t=>{o.hasNext&&t(d)})}r(h,s),k()}m(["click"]);export{C as S};
1
+ import"./CWj6FrbW.js";import{p as w,$ as f,f as g,s as b,a as k}from"./C3xJX0nD.js";import{d as m,e as y}from"./SiegjVo0.js";import{f as n,a as r}from"./CAPx0Bfm.js";import{i as c}from"./DmGM9V9Q.js";var x=n('<button class="absolute left-4 top-1/2 z-30 -translate-y-1/2 rounded-full bg-black/30 p-2 text-white opacity-50 transition-opacity hover:opacity-100" aria-label="Previous sample"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15 18-6-6 6-6"></path></svg></button>'),_=n('<button class="absolute right-4 top-1/2 z-30 -translate-y-1/2 rounded-full bg-black/30 p-2 text-white opacity-50 transition-opacity hover:opacity-100" aria-label="Next sample"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m9 18 6-6-6-6"></path></svg></button>'),N=n("<!> <!>",1);function C(h,o){w(o,!0);const u=t=>{switch(t.key){case"ArrowRight":o.onNext();break;case"ArrowLeft":o.onPrevious();break}};var s=N();y("keydown",f,u);var l=g(s);{var v=t=>{var a=x();a.__click=function(...i){var e;(e=o.onPrevious)==null||e.apply(this,i)},r(t,a)};c(l,t=>{o.hasPrevious&&t(v)})}var p=b(l,2);{var d=t=>{var a=_();a.__click=function(...i){var e;(e=o.onNext)==null||e.apply(this,i)},r(t,a)};c(p,t=>{o.hasNext&&t(d)})}r(h,s),k()}m(["click"]);export{C as S};
@@ -1 +1 @@
1
- import{s as t,p as r}from"./DEgUu98i.js";const e={get data(){return r.data},get error(){return r.error},get form(){return r.form},get params(){return r.params},get route(){return r.route},get state(){return r.state},get status(){return r.status},get url(){return r.url}};t.updated.check;const s=e;export{s as p};
1
+ import{s as t,p as r}from"./D8ZGoCPm.js";const e={get data(){return r.data},get error(){return r.error},get form(){return r.form},get params(){return r.params},get route(){return r.route},get state(){return r.state},get status(){return r.status},get url(){return r.url}};t.updated.check;const s=e;export{s as p};
@@ -0,0 +1 @@
1
+ import"./CWj6FrbW.js";import{f as m}from"./C3xJX0nD.js";import{c as i,a as p}from"./CAPx0Bfm.js";import{s as n}from"./DoEId1MK.js";function d(o,a){var r=i(),t=m(r);n(t,()=>a.children),p(o,r)}export{d as L};
@@ -0,0 +1 @@
1
+ import{v as R,z as b,L as x,E as D,M as F,N as U,O as L,P as O,Q as E,R as C,x as N,S as M,U as P,T as Y,V as Z,W as q,A as w,n as k,X as z,Y as B,Z as H,m as Q,g as V,B as W,F as X}from"./C3xJX0nD.js";function j(e,s,n=!1){b&&x();var a=e,r=null,t=null,i=P,A=n?D:0,o=!1;const I=(l,u=!0)=>{o=!0,g(u,l)};var f=null;function p(){f!==null&&(f.lastChild.remove(),a.before(f),f=null);var l=i?r:t,u=i?t:r;l&&Z(l),u&&q(u,()=>{i?t=null:r=null})}const g=(l,u)=>{if(i===(i=l))return;let m=!1;if(b){const S=F(a)===U;!!i===S&&(a=L(),O(a),E(!1),m=!0)}var h=Y(),_=a;if(h&&(f=document.createDocumentFragment(),f.append(_=C())),i?r??(r=u&&N(()=>u(_))):t??(t=u&&N(()=>u(_))),h){var d=M,y=i?r:t,T=i?t:r;y&&d.skipped_effects.delete(y),T&&d.skipped_effects.add(T),d.add_callback(p)}else p();m&&E(!0)};R(()=>{o=!1,s(I),o||g(null,null)},A),b&&(a=w)}let c=!1,v=Symbol();function G(e,s,n){const a=n[s]??(n[s]={store:null,source:z(void 0),unsubscribe:k});if(a.store!==e&&!(v in n))if(a.unsubscribe(),a.store=e??null,e==null)a.source.v=void 0,a.unsubscribe=k;else{var r=!0;a.unsubscribe=B(e,t=>{r?a.source.v=t:H(a.source,t)}),r=!1}return e&&v in n?Q(e):V(a.source)}function J(e,s){return e.set(s),s}function K(){const e={};function s(){W(()=>{for(var n in e)e[n].unsubscribe();X(e,v,{enumerable:!1,value:!0})})}return[e,s]}function ee(){c=!0}function ae(e){var s=c;try{return c=!1,[e(),c]}finally{c=s}}export{K as a,J as b,ae as c,j as i,ee as m,G as s};
@@ -0,0 +1 @@
1
+ import{v as o,E as f,x as i,n as p,y as c,z as d,A as h}from"./C3xJX0nD.js";function y(s,e,...t){var r=s,n=p,a;o(()=>{n!==(n=e())&&(a&&(c(a),a=null),a=i(()=>n(r,...t)))},f),d&&(r=h)}export{y as s};
@@ -0,0 +1,2 @@
1
+ var gt=Object.defineProperty;var Oe=t=>{throw TypeError(t)};var vt=(t,e,s)=>e in t?gt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var N=(t,e,s)=>vt(t,typeof e!="symbol"?e+"":e,s),he=(t,e,s)=>e.has(t)||Oe("Cannot "+s);var S=(t,e,s)=>(he(t,e,"read from private field"),s?s.call(t):e.get(t)),q=(t,e,s)=>e.has(t)?Oe("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),X=(t,e,s,r)=>(he(t,e,"write to private field"),r?r.call(t,s):e.set(t,s),s),U=(t,e,s)=>(he(t,e,"access private method"),s);import{aQ as _t,aR as pt,aS as mt,v as oe,z as C,L as Be,R as Se,x as Y,S as Ye,T as xe,A as B,U as Qe,W as Xe,aT as ze,P as ge,_ as bt,g as x,ad as yt,M as wt,N as St,O as Le,Q as Z,a4 as At,aJ as Tt,aU as ue,aV as fe,aq as Me,X as Pt,ao as Re,aH as Je,I as Ze,V as We,aW as Et,aX as ve,C as et,y as ee,aY as It,az as Nt,aZ as Ct,aG as Ot,a_ as Lt,K as Mt,a5 as tt,a$ as Rt,b0 as kt,B as Dt,b1 as Ft,b2 as Ht,b3 as Gt,b4 as qt,b5 as Ut,b6 as Vt,b7 as $t,b8 as jt,aP as Kt,aO as Bt,o as Ae,m as H,w as le,al as ke,ab as De,Z as Fe,h as He,b as Yt}from"./C3xJX0nD.js";import{c as xt,d as Qt}from"./SiegjVo0.js";import{i as Xt,n as zt,a as Jt}from"./CpbA3HU7.js";import{c as st}from"./gBp1tBnA.js";import{q as Zt}from"./BaFFwDFr.js";import{R as Wt,j as es,e as ts,k as ss,l as rs,m as is}from"./CANX9QXL.js";function Gs(t,e,s){C&&Be();var r=t,i=Qe,n,a,u=null,h=_t()?pt:mt;function v(){n&&Xe(n),u!==null&&(u.lastChild.remove(),r.before(u),u=null),n=a}oe(()=>{if(h(i,i=e())){var p=r,b=xe();b&&(u=document.createDocumentFragment(),u.append(p=Se())),a=Y(()=>s(p)),b?Ye.add_callback(v):v()}}),C&&(r=B)}function qs(t,e){return e}function as(t,e,s){for(var r=t.items,i=[],n=e.length,a=0;a<n;a++)Ct(e[a].e,i,!0);var u=n>0&&i.length===0&&s!==null;if(u){var h=s.parentNode;Ot(h),h.append(s),r.clear(),k(t,e[0].prev,e[n-1].next)}Lt(i,()=>{for(var v=0;v<n;v++){var p=e[v];u||(r.delete(p.k),k(t,p.prev,p.next)),ee(p.e,!u)}})}function Us(t,e,s,r,i,n=null){var a=t,u={flags:e,items:new Map,first:null},h=(e&ze)!==0;if(h){var v=t;a=C?ge(bt(v)):v.appendChild(Se())}C&&Be();var p=null,b=!1,g=new Map,A=yt(()=>{var T=s();return Ze(T)?T:T==null?[]:Je(T)}),c,_;function d(){ns(_,c,u,g,a,i,e,r,s),n!==null&&(c.length===0?p?We(p):p=Y(()=>n(a)):p!==null&&Xe(p,()=>{p=null}))}oe(()=>{_??(_=Mt),c=x(A);var T=c.length;if(b&&T===0)return;b=T===0;let P=!1;if(C){var y=wt(a)===St;y!==(T===0)&&(a=Le(),ge(a),Z(!1),P=!0)}if(C){for(var m=null,w,o=0;o<T;o++){if(B.nodeType===At&&B.data===Tt){a=B,P=!0,Z(!1);break}var f=c[o],l=r(f,o);w=be(B,u,m,null,f,l,o,i,e,s),u.items.set(l,w),m=w}T>0&&ge(Le())}if(C)T===0&&n&&(p=Y(()=>n(a)));else if(xe()){var E=new Set,I=Ye;for(o=0;o<T;o+=1){f=c[o],l=r(f,o);var G=u.items.get(l)??g.get(l);G?e&(ue|fe)&&rt(G,f,o,e):(w=be(null,u,null,null,f,l,o,i,e,s,!0),g.set(l,w)),E.add(l)}for(const[L,ie]of u.items)E.has(L)||I.skipped_effects.add(ie.e);I.add_callback(d)}else d();P&&Z(!0),x(A)}),C&&(a=B)}function ns(t,e,s,r,i,n,a,u,h){var Pe,Ee,Ie,Ne;var v=(a&It)!==0,p=(a&(ue|fe))!==0,b=e.length,g=s.items,A=s.first,c=A,_,d=null,T,P=[],y=[],m,w,o,f;if(v)for(f=0;f<b;f+=1)m=e[f],w=u(m,f),o=g.get(w),o!==void 0&&((Pe=o.a)==null||Pe.measure(),(T??(T=new Set)).add(o));for(f=0;f<b;f+=1){if(m=e[f],w=u(m,f),o=g.get(w),o===void 0){var l=r.get(w);if(l!==void 0){r.delete(w),g.set(w,l);var E=d?d.next:c;k(s,d,l),k(s,l,E),_e(l,E,i),d=l}else{var I=c?c.e.nodes_start:i;d=be(I,s,d,d===null?s.first:d.next,m,w,f,n,a,h)}g.set(w,d),P=[],y=[],c=d.next;continue}if(p&&rt(o,m,f,a),o.e.f&ve&&(We(o.e),v&&((Ee=o.a)==null||Ee.unfix(),(T??(T=new Set)).delete(o))),o!==c){if(_!==void 0&&_.has(o)){if(P.length<y.length){var G=y[0],L;d=G.prev;var ie=P[0],ce=P[P.length-1];for(L=0;L<P.length;L+=1)_e(P[L],G,i);for(L=0;L<y.length;L+=1)_.delete(y[L]);k(s,ie.prev,ce.next),k(s,d,ie),k(s,ce,G),c=G,d=ce,f-=1,P=[],y=[]}else _.delete(o),_e(o,c,i),k(s,o.prev,o.next),k(s,o,d===null?s.first:d.next),k(s,d,o),d=o;continue}for(P=[],y=[];c!==null&&c.k!==w;)c.e.f&ve||(_??(_=new Set)).add(c),y.push(c),c=c.next;if(c===null)continue;o=c}P.push(o),d=o,c=o.next}if(c!==null||_!==void 0){for(var Q=_===void 0?[]:Je(_);c!==null;)c.e.f&ve||Q.push(c),c=c.next;var de=Q.length;if(de>0){var dt=a&ze&&b===0?i:null;if(v){for(f=0;f<de;f+=1)(Ie=Q[f].a)==null||Ie.measure();for(f=0;f<de;f+=1)(Ne=Q[f].a)==null||Ne.fix()}as(s,Q,dt)}}v&&et(()=>{var Ce;if(T!==void 0)for(o of T)(Ce=o.a)==null||Ce.apply()}),t.first=s.first&&s.first.e,t.last=d&&d.e;for(var ht of r.values())ee(ht.e);r.clear()}function rt(t,e,s,r){r&ue&&Me(t.v,e),r&fe?Me(t.i,s):t.i=s}function be(t,e,s,r,i,n,a,u,h,v,p){var b=(h&ue)!==0,g=(h&Et)===0,A=b?g?Pt(i,!1,!1):Re(i):i,c=h&fe?Re(a):a,_={i:c,v:A,k:n,a:null,e:null,prev:s,next:r};try{if(t===null){var d=document.createDocumentFragment();d.append(t=Se())}return _.e=Y(()=>u(t,A,c,v),C),_.e.prev=s&&s.e,_.e.next=r&&r.e,s===null?p||(e.first=_):(s.next=_,s.e.next=_.e),r!==null&&(r.prev=_,r.e.prev=_.e),_}finally{}}function _e(t,e,s){for(var r=t.next?t.next.e.nodes_start:s,i=e?e.e.nodes_start:s,n=t.e.nodes_start;n!==null&&n!==r;){var a=Nt(n);i.before(n),n=a}}function k(t,e,s){e===null?t.first=s:(e.next=s,e.e.next=s&&s.e),s!==null&&(s.prev=e,s.e.prev=e&&e.e)}function os(t,e){var s=void 0,r;oe(()=>{s!==(s=e())&&(r&&(ee(r),r=null),s&&(r=Y(()=>{tt(()=>s(t))})))})}function it(t){var e,s,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(s=it(t[e]))&&(r&&(r+=" "),r+=s)}else for(s in t)t[s]&&(r&&(r+=" "),r+=s);return r}function us(){for(var t,e,s=0,r="",i=arguments.length;s<i;s++)(t=arguments[s])&&(e=it(t))&&(r&&(r+=" "),r+=e);return r}function fs(t){return typeof t=="object"?us(t):t??""}const Ge=[...`
2
+ \r\f \v\uFEFF`];function ls(t,e,s){var r=t==null?"":""+t;if(e&&(r=r?r+" "+e:e),s){for(var i in s)if(s[i])r=r?r+" "+i:i;else if(r.length)for(var n=i.length,a=0;(a=r.indexOf(i,a))>=0;){var u=a+n;(a===0||Ge.includes(r[a-1]))&&(u===r.length||Ge.includes(r[u]))?r=(a===0?"":r.substring(0,a))+r.substring(u+1):a=u}}return r===""?null:r}function qe(t,e=!1){var s=e?" !important;":";",r="";for(var i in t){var n=t[i];n!=null&&n!==""&&(r+=" "+i+": "+n+s)}return r}function pe(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function cs(t,e){if(e){var s="",r,i;if(Array.isArray(e)?(r=e[0],i=e[1]):r=e,t){t=String(t).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var n=!1,a=0,u=!1,h=[];r&&h.push(...Object.keys(r).map(pe)),i&&h.push(...Object.keys(i).map(pe));var v=0,p=-1;const _=t.length;for(var b=0;b<_;b++){var g=t[b];if(u?g==="/"&&t[b-1]==="*"&&(u=!1):n?n===g&&(n=!1):g==="/"&&t[b+1]==="*"?u=!0:g==='"'||g==="'"?n=g:g==="("?a++:g===")"&&a--,!u&&n===!1&&a===0){if(g===":"&&p===-1)p=b;else if(g===";"||b===_-1){if(p!==-1){var A=pe(t.substring(v,p).trim());if(!h.includes(A)){g!==";"&&b++;var c=t.substring(v,b).trim();s+=" "+c+";"}}v=b+1,p=-1}}}}return r&&(s+=qe(r)),i&&(s+=qe(i,!0)),s=s.trim(),s===""?null:s}return t==null?null:String(t)}function ds(t,e,s,r,i,n){var a=t.__className;if(C||a!==s||a===void 0){var u=ls(s,r,n);(!C||u!==t.getAttribute("class"))&&(u==null?t.removeAttribute("class"):e?t.className=u:t.setAttribute("class",u)),t.__className=s}else if(n&&i!==n)for(var h in n){var v=!!n[h];(i==null||v!==!!i[h])&&t.classList.toggle(h,v)}return n}function me(t,e={},s,r){for(var i in s){var n=s[i];e[i]!==n&&(s[i]==null?t.style.removeProperty(i):t.style.setProperty(i,n,r))}}function hs(t,e,s,r){var i=t.__style;if(C||i!==e){var n=cs(e,r);(!C||n!==t.getAttribute("style"))&&(n==null?t.removeAttribute("style"):t.style.cssText=n),t.__style=e}else r&&(Array.isArray(r)?(me(t,s==null?void 0:s[0],r[0]),me(t,s==null?void 0:s[1],r[1],"important")):me(t,s,r));return r}function ye(t,e,s=!1){if(t.multiple){if(e==null)return;if(!Ze(e))return Rt();for(var r of t.options)r.selected=e.includes(Ue(r));return}for(r of t.options){var i=Ue(r);if(kt(i,e)){r.selected=!0;return}}(!s||e!==void 0)&&(t.selectedIndex=-1)}function gs(t){var e=new MutationObserver(()=>{ye(t,t.__value)});e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Dt(()=>{e.disconnect()})}function Ue(t){return"__value"in t?t.__value:t.value}const z=Symbol("class"),J=Symbol("style"),at=Symbol("is custom element"),nt=Symbol("is html");function vs(t){if(C){var e=!1,s=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var r=t.value;ae(t,"value",null),t.value=r}if(t.hasAttribute("checked")){var i=t.checked;ae(t,"checked",null),t.checked=i}}};t.__on_r=s,et(s),$t()}}function Vs(t,e){var s=Te(t);s.value===(s.value=e??void 0)||t.value===e&&(e!==0||t.nodeName!=="PROGRESS")||(t.value=e??"")}function _s(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function ae(t,e,s,r){var i=Te(t);C&&(i[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||i[e]!==(i[e]=s)&&(e==="loading"&&(t[jt]=s),s==null?t.removeAttribute(e):typeof s!="string"&&ot(t).includes(e)?t[e]=s:t.setAttribute(e,s))}function ps(t,e,s,r,i=!1,n=!1){if(C&&i&&t.tagName==="INPUT"){var a=t,u=a.type==="checkbox"?"defaultChecked":"defaultValue";u in s||vs(a)}var h=Te(t),v=h[at],p=!h[nt];let b=C&&v;b&&Z(!1);var g=e||{},A=t.tagName==="OPTION";for(var c in e)c in s||(s[c]=null);s.class?s.class=fs(s.class):(r||s[z])&&(s.class=null),s[J]&&(s.style??(s.style=null));var _=ot(t);for(const o in s){let f=s[o];if(A&&o==="value"&&f==null){t.value=t.__value="",g[o]=f;continue}if(o==="class"){var d=t.namespaceURI==="http://www.w3.org/1999/xhtml";ds(t,d,f,r,e==null?void 0:e[z],s[z]),g[o]=f,g[z]=s[z];continue}if(o==="style"){hs(t,f,e==null?void 0:e[J],s[J]),g[o]=f,g[J]=s[J];continue}var T=g[o];if(!(f===T&&!(f===void 0&&t.hasAttribute(o)))){g[o]=f;var P=o[0]+o[1];if(P!=="$$")if(P==="on"){const l={},E="$$"+o;let I=o.slice(2);var y=Jt(I);if(Xt(I)&&(I=I.slice(0,-7),l.capture=!0),!y&&T){if(f!=null)continue;t.removeEventListener(I,g[E],l),g[E]=null}if(f!=null)if(y)t[`__${I}`]=f,Qt([I]);else{let G=function(L){g[o].call(this,L)};g[E]=xt(I,t,G,l)}else y&&(t[`__${I}`]=void 0)}else if(o==="style")ae(t,o,f);else if(o==="autofocus")Vt(t,!!f);else if(!v&&(o==="__value"||o==="value"&&f!=null))t.value=t.__value=f;else if(o==="selected"&&A)_s(t,f);else{var m=o;p||(m=zt(m));var w=m==="defaultValue"||m==="defaultChecked";if(f==null&&!v&&!w)if(h[o]=null,m==="value"||m==="checked"){let l=t;const E=e===void 0;if(m==="value"){let I=l.defaultValue;l.removeAttribute(m),l.defaultValue=I,l.value=l.__value=E?I:null}else{let I=l.defaultChecked;l.removeAttribute(m),l.defaultChecked=I,l.checked=E?I:!1}}else t.removeAttribute(o);else w||_.includes(m)&&(v||typeof f!="string")?(t[m]=f,m in h&&(h[m]=Qe)):typeof f!="function"&&ae(t,m,f)}}}return b&&Z(!0),g}function $s(t,e,s=[],r=[],i,n=!1,a=!1){Ft(s,r,u=>{var h=void 0,v={},p=t.nodeName==="SELECT",b=!1;if(oe(()=>{var A=e(...u.map(x)),c=ps(t,h,A,i,n,a);b&&p&&"value"in A&&ye(t,A.value);for(let d of Object.getOwnPropertySymbols(v))A[d]||ee(v[d]);for(let d of Object.getOwnPropertySymbols(A)){var _=A[d];d.description===qt&&(!h||_!==h[d])&&(v[d]&&ee(v[d]),v[d]=Y(()=>os(t,()=>_))),c[d]=_}h=c}),p){var g=t;tt(()=>{ye(g,h.value,!0),gs(g)})}b=!0})}function Te(t){return t.__attributes??(t.__attributes={[at]:t.nodeName.includes("-"),[nt]:t.namespaceURI===Ht})}var Ve=new Map;function ot(t){var e=t.getAttribute("is")||t.nodeName,s=Ve.get(e);if(s)return s;Ve.set(e,s=[]);for(var r,i=t,n=Element.prototype;n!==i;){r=Ut(i);for(var a in r)r[a].set&&s.push(a);i=Gt(i)}return s}const ms="data-no-translate",js="paraglide:lang",Ks="paraglide_lang",ut={},bs=()=>Bt(ut),Bs=t=>{Kt(ut,t)};function Ys(){const t=bs();function e(r,i){return typeof r!="string"||!t?r:t.translateHref(r,i)}function s(r,i){if(r[ms])return r;for(const{attribute_name:n,lang_attribute_name:a}of i)if(n in r){const u=r[n],h=a?r[a]:void 0;r[n]=e(u,typeof h=="string"?h:void 0)}return r}return[e,s]}const ft={setting_id:"00000000-0000-0000-0000-000000000000",grid_view_sample_rendering:"contain",key_hide_annotations:"v",key_go_back:"Escape",show_annotation_text_labels:!0,show_sample_filenames:!0,created_at:new Date().toISOString(),updated_at:new Date().toISOString()},R=le(ft),$=le(!1),K=le(null),W=le(!1),ys=Ae(R,t=>t.grid_view_sample_rendering||"contain"),ws=Ae(R,t=>t.show_annotation_text_labels??!0),Ss=Ae(R,t=>t.show_sample_filenames??!0),$e=async()=>{if(R.set(ft),!(H(W)||H($))){$.set(!0),K.set(null);try{const{data:t}=await Zt();t&&(R.set(t),W.set(!0))}catch(t){K.set(String(t))}finally{$.set(!1)}}},lt=async t=>{$.set(!0),K.set(null);try{const e=H(R),s={setting_id:e.setting_id||"",grid_view_sample_rendering:t.grid_view_sample_rendering||e.grid_view_sample_rendering||"contain",key_hide_annotations:t.key_hide_annotations||e.key_hide_annotations||"v",key_go_back:t.key_go_back||e.key_go_back||"Escape",show_annotation_text_labels:t.show_annotation_text_labels!==void 0?t.show_annotation_text_labels:e.show_annotation_text_labels??!0,show_sample_filenames:t.show_sample_filenames!==void 0?t.show_sample_filenames:e.show_sample_filenames??!0,created_at:e.created_at||new Date().toISOString(),updated_at:new Date().toISOString()},r=await st.POST("/api/settings",{body:s,headers:{"Content-Type":"application/json"}});if(r.error){const i=JSON.stringify(r.error);return console.error("Settings API error:",i),K.set(i),{success:!1,error:i}}return r.data?(R.set(r.data),{success:!0}):{success:!1,error:"No data returned from API"}}catch(e){const s=String(e);return console.error("Error saving settings:",s),K.set(s),{success:!1,error:s}}finally{$.set(!1)}},As=async t=>lt({grid_view_sample_rendering:t}),Ts=async t=>{const e=!!t,r={...H(R),show_annotation_text_labels:e};try{const i=await st.POST("/api/settings",{body:r,headers:{"Content-Type":"application/json"}});return i.error?(console.error("API error saving setting:",i.error),{success:!1,error:JSON.stringify(i.error)}):i.data?(R.set(i.data),{success:!0}):{success:!1,error:"No data returned from API"}}catch(i){return console.error("Error saving annotation text label setting:",i),{success:!1,error:String(i)}}};function xs(){return!H(W)&&!H($)&&$e(),{settingsStore:R,isLoadingStore:$,errorStore:K,isLoadedStore:W,gridViewSampleRenderingStore:ys,showAnnotationTextLabelsStore:ws,showSampleFilenamesStore:Ss,initSettings:$e,saveSettings:lt,updateGridViewSampleRendering:As,updateShowAnnotationTextLabels:Ts,get settings(){return H(R)},get isLoading(){return H($)},get error(){return H(K)},get isLoaded(){return H(W)}}}var D,O,j,F,V,Ke,Qs=(Ke=class extends Wt{constructor(e){super();q(this,F);q(this,D);q(this,O);q(this,j);this.mutationId=e.mutationId,X(this,O,e.mutationCache),X(this,D,[]),this.state=e.state||Ps(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){S(this,D).includes(e)||(S(this,D).push(e),this.clearGcTimeout(),S(this,O).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){X(this,D,S(this,D).filter(s=>s!==e)),this.scheduleGc(),S(this,O).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){S(this,D).length||(this.state.status==="pending"?this.scheduleGc():S(this,O).remove(this))}continue(){var e;return((e=S(this,j))==null?void 0:e.continue())??this.execute(this.state.variables)}async execute(e){var i,n,a,u,h,v,p,b,g,A,c,_,d,T,P,y,m,w,o,f;X(this,j,es({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(l,E)=>{U(this,F,V).call(this,{type:"failed",failureCount:l,error:E})},onPause:()=>{U(this,F,V).call(this,{type:"pause"})},onContinue:()=>{U(this,F,V).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>S(this,O).canRun(this)}));const s=this.state.status==="pending",r=!S(this,j).canStart();try{if(!s){U(this,F,V).call(this,{type:"pending",variables:e,isPaused:r}),await((n=(i=S(this,O).config).onMutate)==null?void 0:n.call(i,e,this));const E=await((u=(a=this.options).onMutate)==null?void 0:u.call(a,e));E!==this.state.context&&U(this,F,V).call(this,{type:"pending",context:E,variables:e,isPaused:r})}const l=await S(this,j).start();return await((v=(h=S(this,O).config).onSuccess)==null?void 0:v.call(h,l,e,this.state.context,this)),await((b=(p=this.options).onSuccess)==null?void 0:b.call(p,l,e,this.state.context)),await((A=(g=S(this,O).config).onSettled)==null?void 0:A.call(g,l,null,this.state.variables,this.state.context,this)),await((_=(c=this.options).onSettled)==null?void 0:_.call(c,l,null,e,this.state.context)),U(this,F,V).call(this,{type:"success",data:l}),l}catch(l){try{throw await((T=(d=S(this,O).config).onError)==null?void 0:T.call(d,l,e,this.state.context,this)),await((y=(P=this.options).onError)==null?void 0:y.call(P,l,e,this.state.context)),await((w=(m=S(this,O).config).onSettled)==null?void 0:w.call(m,void 0,l,this.state.variables,this.state.context,this)),await((f=(o=this.options).onSettled)==null?void 0:f.call(o,void 0,l,e,this.state.context)),l}finally{U(this,F,V).call(this,{type:"error",error:l})}}finally{S(this,O).runNext(this)}}},D=new WeakMap,O=new WeakMap,j=new WeakMap,F=new WeakSet,V=function(e){const s=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=s(this.state),ts.batch(()=>{S(this,D).forEach(r=>{r.onMutationUpdate(e)}),S(this,O).notify({mutation:this,type:"updated",action:e})})},Ke);function Ps(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}function Xs(t){return{onFetch:(e,s)=>{var p,b,g,A,c;const r=e.options,i=(g=(b=(p=e.fetchOptions)==null?void 0:p.meta)==null?void 0:b.fetchMore)==null?void 0:g.direction,n=((A=e.state.data)==null?void 0:A.pages)||[],a=((c=e.state.data)==null?void 0:c.pageParams)||[];let u={pages:[],pageParams:[]},h=0;const v=async()=>{let _=!1;const d=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(e.signal.aborted?_=!0:e.signal.addEventListener("abort",()=>{_=!0}),e.signal)})},T=ss(e.options,e.fetchOptions),P=async(y,m,w)=>{if(_)return Promise.reject();if(m==null&&y.pages.length)return Promise.resolve(y);const o={client:e.client,queryKey:e.queryKey,pageParam:m,direction:w?"backward":"forward",meta:e.options.meta};d(o);const f=await T(o),{maxPages:l}=e.options,E=w?rs:is;return{pages:E(y.pages,f,l),pageParams:E(y.pageParams,m,l)}};if(i&&n.length){const y=i==="backward",m=y?ct:we,w={pages:n,pageParams:a},o=m(r,w);u=await P(w,o,y)}else{const y=t??n.length;do{const m=h===0?a[0]??r.initialPageParam:we(r,u);if(h>0&&m==null)break;u=await P(u,m),h++}while(h<y)}return u};e.options.persister?e.fetchFn=()=>{var _,d;return(d=(_=e.options).persister)==null?void 0:d.call(_,v,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=v}}}function we(t,{pages:e,pageParams:s}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function ct(t,{pages:e,pageParams:s}){var r;return e.length>0?(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,s[0],s):void 0}function zs(t,e){return e?we(t,e)!=null:!1}function Js(t,e){return!e||!t.getPreviousPageParam?!1:ct(t,e)!=null}function Zs(...t){return t.filter(Boolean).join(" ")}const Es=typeof document<"u";let je=0;var te,se,re;class Is{constructor(){q(this,te,ke(De([])));q(this,se,ke(De([])));q(this,re,e=>{const s=this.toasts.findIndex(r=>r.id===e);return s===-1?null:s});N(this,"addToast",e=>{Es&&this.toasts.unshift(e)});N(this,"updateToast",({id:e,data:s,type:r,message:i})=>{const n=this.toasts.findIndex(u=>u.id===e),a=this.toasts[n];this.toasts[n]={...a,...s,id:e,title:i,type:r,updated:!0}});N(this,"create",e=>{var u;const{message:s,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||e.id&&((u=e.id)==null?void 0:u.length)>0?e.id:je++,n=e.dismissable===void 0?!0:e.dismissable,a=e.type===void 0?"default":e.type;return He(()=>{this.toasts.find(v=>v.id===i)?this.updateToast({id:i,data:e,type:a,message:s,dismissable:n}):this.addToast({...r,id:i,title:s,dismissable:n,type:a})}),i});N(this,"dismiss",e=>(He(()=>{if(e===void 0){this.toasts=this.toasts.map(r=>({...r,dismiss:!0}));return}const s=this.toasts.findIndex(r=>r.id===e);this.toasts[s]&&(this.toasts[s]={...this.toasts[s],dismiss:!0})}),e));N(this,"remove",e=>{if(e===void 0){this.toasts=[];return}const s=S(this,re).call(this,e);if(s!==null)return this.toasts.splice(s,1),e});N(this,"message",(e,s)=>this.create({...s,type:"default",message:e}));N(this,"error",(e,s)=>this.create({...s,type:"error",message:e}));N(this,"success",(e,s)=>this.create({...s,type:"success",message:e}));N(this,"info",(e,s)=>this.create({...s,type:"info",message:e}));N(this,"warning",(e,s)=>this.create({...s,type:"warning",message:e}));N(this,"loading",(e,s)=>this.create({...s,type:"loading",message:e}));N(this,"promise",(e,s)=>{if(!s)return;let r;s.loading!==void 0&&(r=this.create({...s,promise:e,type:"loading",message:typeof s.loading=="string"?s.loading:s.loading()}));const i=e instanceof Promise?e:e();let n=r!==void 0;return i.then(a=>{if(typeof a=="object"&&a&&"ok"in a&&typeof a.ok=="boolean"&&!a.ok){n=!1;const u=Ns(a);this.create({id:r,type:"error",message:u})}else if(s.success!==void 0){n=!1;const u=typeof s.success=="function"?s.success(a):s.success;this.create({id:r,type:"success",message:u})}}).catch(a=>{if(s.error!==void 0){n=!1;const u=typeof s.error=="function"?s.error(a):s.error;this.create({id:r,type:"error",message:u})}}).finally(()=>{var a;n&&(this.dismiss(r),r=void 0),(a=s.finally)==null||a.call(s)}),r});N(this,"custom",(e,s)=>{const r=(s==null?void 0:s.id)||je++;return this.create({component:e,id:r,...s}),r});N(this,"removeHeight",e=>{this.heights=this.heights.filter(s=>s.toastId!==e)});N(this,"setHeight",e=>{const s=S(this,re).call(this,e.toastId);if(s===null){this.heights.push(e);return}this.heights[s]=e});N(this,"reset",()=>{this.toasts=[],this.heights=[]})}get toasts(){return x(S(this,te))}set toasts(e){Fe(S(this,te),e,!0)}get heights(){return x(S(this,se))}set heights(e){Fe(S(this,se),e,!0)}}te=new WeakMap,se=new WeakMap,re=new WeakMap;function Ns(t){return t&&typeof t=="object"&&"status"in t?`HTTP error! Status: ${t.status}`:`Error! ${t}`}const M=new Is;function Cs(t,e){return M.create({message:t,...e})}var ne;class Ws{constructor(){q(this,ne,Yt(()=>M.toasts.filter(e=>!e.dismiss)))}get toasts(){return x(S(this,ne))}}ne=new WeakMap;const Os=Cs,er=Object.assign(Os,{success:M.success,info:M.info,warning:M.warning,error:M.error,custom:M.custom,message:M.message,promise:M.promise,dismiss:M.dismiss,loading:M.loading,getActiveToasts:()=>M.toasts.filter(t=>!t.dismiss)});export{Ks as L,Qs as M,J as S,$s as a,ds as b,ae as c,Bs as d,Us as e,js as f,Ys as g,Xs as h,qs as i,fs as j,Gs as k,M as l,Zs as m,Ws as n,us as o,Js as p,zs as q,Ps as r,hs as s,er as t,xs as u,vs as v,Vs as w};
@@ -0,0 +1 @@
1
+ var lt=e=>{throw TypeError(e)};var H=(e,t,s)=>t.has(e)||lt("Cannot "+s);var n=(e,t,s)=>(H(e,t,"read from private field"),s?s.call(e):t.get(e)),y=(e,t,s)=>t.has(e)?lt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),l=(e,t,s,a)=>(H(e,t,"write to private field"),a?a.call(e,s):t.set(e,s),s),f=(e,t,s)=>(H(e,t,"access private method"),s);import{d as Ct,e as St,g as Et,f as Qt,h as Ft,i as At,j as Mt,k as xt,l as Ut,u as Dt,m as qt,n as Tt,o as Lt,p as Kt}from"./BaFFwDFr.js";import{aN as jt,o as G,m as nt,w as Bt}from"./C3xJX0nD.js";import{u as rt}from"./BOmrKuMn.js";import{S as kt,p as ft,r as R,s as J,a as V,n as _t,i as yt,b as pt,t as Pt,f as Vt,c as zt,d as bt,e as wt,g as Nt,h as Wt}from"./CANX9QXL.js";var O,r,k,m,M,T,S,w,_,L,K,x,U,E,j,i,B,X,Y,Z,$,tt,et,st,Rt,vt,Ht=(vt=class extends kt{constructor(t,s){super();y(this,i);y(this,O);y(this,r);y(this,k);y(this,m);y(this,M);y(this,T);y(this,S);y(this,w);y(this,_);y(this,L);y(this,K);y(this,x);y(this,U);y(this,E);y(this,j,new Set);this.options=s,l(this,O,t),l(this,w,null),l(this,S,ft()),this.options.experimental_prefetchInRender||n(this,S).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(s)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(n(this,r).addObserver(this),mt(n(this,r),this.options)?f(this,i,B).call(this):this.updateResult(),f(this,i,$).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return at(n(this,r),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return at(n(this,r),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,f(this,i,tt).call(this),f(this,i,et).call(this),n(this,r).removeObserver(this)}setOptions(t,s){const a=this.options,o=n(this,r);if(this.options=n(this,O).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof R(this.options.enabled,n(this,r))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");f(this,i,st).call(this),n(this,r).setOptions(this.options),a._defaulted&&!J(this.options,a)&&n(this,O).getQueryCache().notify({type:"observerOptionsUpdated",query:n(this,r),observer:this});const u=this.hasListeners();u&&Ot(n(this,r),o,this.options,a)&&f(this,i,B).call(this),this.updateResult(s),u&&(n(this,r)!==o||R(this.options.enabled,n(this,r))!==R(a.enabled,n(this,r))||V(this.options.staleTime,n(this,r))!==V(a.staleTime,n(this,r)))&&f(this,i,X).call(this);const d=f(this,i,Y).call(this);u&&(n(this,r)!==o||R(this.options.enabled,n(this,r))!==R(a.enabled,n(this,r))||d!==n(this,E))&&f(this,i,Z).call(this,d)}getOptimisticResult(t){const s=n(this,O).getQueryCache().build(n(this,O),t),a=this.createResult(s,t);return Jt(this,a)&&(l(this,m,a),l(this,T,this.options),l(this,M,n(this,r).state)),a}getCurrentResult(){return n(this,m)}trackResult(t,s){const a={};return Object.keys(t).forEach(o=>{Object.defineProperty(a,o,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(o),s==null||s(o),t[o])})}),a}trackProp(t){n(this,j).add(t)}getCurrentQuery(){return n(this,r)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const s=n(this,O).defaultQueryOptions(t),a=n(this,O).getQueryCache().build(n(this,O),s);return a.fetch().then(()=>this.createResult(a,s))}fetch(t){return f(this,i,B).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),n(this,m)))}createResult(t,s){var dt;const a=n(this,r),o=this.options,u=n(this,m),d=n(this,M),p=n(this,T),I=t!==a?t.state:n(this,k),{state:c}=t;let h={...c},F=!1,g;if(s._optimisticResults){const b=this.hasListeners(),D=!b&&mt(t,s),q=b&&Ot(t,a,s,o);(D||q)&&(h={...h,...zt(c.data,t.options)}),s._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:ot,errorUpdatedAt:ut,status:A}=h;if(s.select&&h.data!==void 0)if(u&&h.data===(d==null?void 0:d.data)&&s.select===n(this,_))g=n(this,L);else try{l(this,_,s.select),g=s.select(h.data),g=bt(u==null?void 0:u.data,g,s),l(this,L,g),l(this,w,null)}catch(b){l(this,w,b)}else g=h.data;if(s.placeholderData!==void 0&&g===void 0&&A==="pending"){let b;if(u!=null&&u.isPlaceholderData&&s.placeholderData===(p==null?void 0:p.placeholderData))b=u.data;else if(b=typeof s.placeholderData=="function"?s.placeholderData((dt=n(this,K))==null?void 0:dt.state.data,n(this,K)):s.placeholderData,s.select&&b!==void 0)try{b=s.select(b),l(this,w,null)}catch(D){l(this,w,D)}b!==void 0&&(A="success",g=bt(u==null?void 0:u.data,b,s),F=!0)}n(this,w)&&(ot=n(this,w),g=n(this,L),ut=Date.now(),A="error");const z=h.fetchStatus==="fetching",N=A==="pending",W=A==="error",ct=N&&z,ht=g!==void 0,v={status:A,fetchStatus:h.fetchStatus,isPending:N,isSuccess:A==="success",isError:W,isInitialLoading:ct,isLoading:ct,data:g,dataUpdatedAt:h.dataUpdatedAt,error:ot,errorUpdatedAt:ut,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>I.dataUpdateCount||h.errorUpdateCount>I.errorUpdateCount,isFetching:z,isRefetching:z&&!N,isLoadingError:W&&!ht,isPaused:h.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:W&&ht,isStale:it(t,s),refetch:this.refetch,promise:n(this,S)};if(this.options.experimental_prefetchInRender){const b=P=>{v.status==="error"?P.reject(v.error):v.data!==void 0&&P.resolve(v.data)},D=()=>{const P=l(this,S,v.promise=ft());b(P)},q=n(this,S);switch(q.status){case"pending":t.queryHash===a.queryHash&&b(q);break;case"fulfilled":(v.status==="error"||v.data!==q.value)&&D();break;case"rejected":(v.status!=="error"||v.error!==q.reason)&&D();break}}return v}updateResult(t){const s=n(this,m),a=this.createResult(n(this,r),this.options);if(l(this,M,n(this,r).state),l(this,T,this.options),n(this,M).data!==void 0&&l(this,K,n(this,r)),J(a,s))return;l(this,m,a);const o={},u=()=>{if(!s)return!0;const{notifyOnChangeProps:d}=this.options,p=typeof d=="function"?d():d;if(p==="all"||!p&&!n(this,j).size)return!0;const C=new Set(p??n(this,j));return this.options.throwOnError&&C.add("error"),Object.keys(n(this,m)).some(I=>{const c=I;return n(this,m)[c]!==s[c]&&C.has(c)})};(t==null?void 0:t.listeners)!==!1&&u()&&(o.listeners=!0),f(this,i,Rt).call(this,{...o,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&f(this,i,$).call(this)}},O=new WeakMap,r=new WeakMap,k=new WeakMap,m=new WeakMap,M=new WeakMap,T=new WeakMap,S=new WeakMap,w=new WeakMap,_=new WeakMap,L=new WeakMap,K=new WeakMap,x=new WeakMap,U=new WeakMap,E=new WeakMap,j=new WeakMap,i=new WeakSet,B=function(t){f(this,i,st).call(this);let s=n(this,r).fetch(this.options,t);return t!=null&&t.throwOnError||(s=s.catch(_t)),s},X=function(){f(this,i,tt).call(this);const t=V(this.options.staleTime,n(this,r));if(yt||n(this,m).isStale||!pt(t))return;const a=Pt(n(this,m).dataUpdatedAt,t)+1;l(this,x,setTimeout(()=>{n(this,m).isStale||this.updateResult()},a))},Y=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(n(this,r)):this.options.refetchInterval)??!1},Z=function(t){f(this,i,et).call(this),l(this,E,t),!(yt||R(this.options.enabled,n(this,r))===!1||!pt(n(this,E))||n(this,E)===0)&&l(this,U,setInterval(()=>{(this.options.refetchIntervalInBackground||Vt.isFocused())&&f(this,i,B).call(this)},n(this,E)))},$=function(){f(this,i,X).call(this),f(this,i,Z).call(this,f(this,i,Y).call(this))},tt=function(){n(this,x)&&(clearTimeout(n(this,x)),l(this,x,void 0))},et=function(){n(this,U)&&(clearInterval(n(this,U)),l(this,U,void 0))},st=function(){const t=n(this,O).getQueryCache().build(n(this,O),this.options);if(t===n(this,r))return;const s=n(this,r);l(this,r,t),l(this,k,t.state),this.hasListeners()&&(s==null||s.removeObserver(this),t.addObserver(this))},Rt=function(t){wt.batch(()=>{t.listeners&&this.listeners.forEach(s=>{s(n(this,m))}),n(this,O).getQueryCache().notify({query:n(this,r),type:"observerResultsUpdated"})})},vt);function Gt(e,t){return R(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function mt(e,t){return Gt(e,t)||e.state.data!==void 0&&at(e,t,t.refetchOnMount)}function at(e,t,s){if(R(t.enabled,e)!==!1){const a=typeof s=="function"?s(e):s;return a==="always"||a!==!1&&it(e,t)}return!1}function Ot(e,t,s,a){return(e!==t||R(a.enabled,e)===!1)&&(!s.suspense||e.state.status!=="error")&&it(e,s)}function it(e,t){return R(t.enabled,e)!==!1&&e.isStaleByTime(V(t.staleTime,e))}function Jt(e,t){return!J(e.getCurrentResult(),t)}function Xt(){return Nt()}function Yt(e){return Wt()}function Zt(e){return"subscribe"in e&&typeof e.subscribe=="function"}function $t(){}function te(e,t,s){const a=Yt(),o=Xt(),u=Zt(e)?e:jt(e),d=G([u,o],([c,h])=>{const F=a.defaultQueryOptions(c);return F._optimisticResults=h?"isRestoring":"optimistic",F}),p=new t(a,nt(d));d.subscribe(c=>{p.setOptions(c,{listeners:!1})});const C=G(o,(c,h)=>{const F=c?$t:p.subscribe(wt.batchCalls(h));return p.updateResult(),F}),{subscribe:I}=G([C,d],([c,h])=>(c=p.getOptimisticResult(h),h.notifyOnChangeProps?c:p.trackResult(c)));return{subscribe:I}}function ee(e,t){return te(e,Ht)}function ge(e){return e}const Q=(e,t,s)=>{const a={_id:e,baseUrl:(t==null?void 0:t.baseUrl)||((t==null?void 0:t.client)??Ct).getConfig().baseUrl};return s&&(a._infinite=s),t!=null&&t.body&&(a.body=t.body),t!=null&&t.headers&&(a.headers=t.headers),t!=null&&t.path&&(a.path=t.path),t!=null&&t.query&&(a.query=t.query),[a]},It=(e,t)=>{const s={...e[0]};return t.body&&(s.body={...e[0].body,...t.body}),t.headers&&(s.headers={...e[0].headers,...t.headers}),t.path&&(s.path={...e[0].path,...t.path}),t.query&&(s.query={...e[0].query,...t.query}),s},se=e=>Q("readSample",e),ve=e=>({queryFn:async({queryKey:t,signal:s})=>{const{data:a}=await Mt({...e,...t[0],signal:s,throwOnError:!0});return a},queryKey:se(e)}),we=e=>({mutationFn:async s=>{const{data:a}=await Qt({...e,...s,throwOnError:!0});return a}}),ae=e=>Q("readAnnotationLabels",e),Re=e=>({queryFn:async({queryKey:t,signal:s})=>{const{data:a}=await xt({...e,...t[0],signal:s,throwOnError:!0});return a},queryKey:ae(e)}),Ie=e=>({mutationFn:async s=>{const{data:a}=await At({...e,...s,throwOnError:!0});return a}}),ne=e=>Q("readAnnotations",e,!0),Ce=e=>({queryFn:async({pageParam:t,queryKey:s,signal:a})=>{const u=It(s,typeof t=="object"?t:{query:{cursor:t}}),{data:d}=await Tt({...e,...u,signal:a,throwOnError:!0});return d},queryKey:ne(e)}),Se=e=>({mutationFn:async s=>{const{data:a}=await Ft({...e,...s,throwOnError:!0});return a}}),Ee=e=>({mutationFn:async s=>{const{data:a}=await Dt({...e,...s,throwOnError:!0});return a}}),re=e=>Q("countAnnotationsByDataset",e),Qe=e=>({queryFn:async({queryKey:t,signal:s})=>{const{data:a}=await Ut({...e,...t[0],signal:s,throwOnError:!0});return a},queryKey:re(e)}),Fe=e=>({mutationFn:async s=>{const{data:a}=await St({...e,...s,throwOnError:!0});return a}}),ie=e=>Q("getAnnotation",e),Ae=e=>({queryFn:async({queryKey:t,signal:s})=>{const{data:a}=await Lt({...e,...t[0],signal:s,throwOnError:!0});return a},queryKey:ie(e)}),oe=e=>Q("readCaptions",e,!0),Me=e=>({queryFn:async({pageParam:t,queryKey:s,signal:a})=>{const u=It(s,typeof t=="object"?t:{query:{cursor:t}}),{data:d}=await qt({...e,...u,signal:a,throwOnError:!0});return d},queryKey:oe(e)}),ue=e=>Q("get2dEmbeddings",e),xe=e=>({queryFn:async({queryKey:t,signal:s})=>{const{data:a}=await Kt({...e,...t[0],signal:s,throwOnError:!0});return a},queryKey:ue(e)}),ce=e=>Q("getMetadataInfo",e),he=e=>({queryFn:async({queryKey:t,signal:s})=>{const{data:a}=await Et({...e,...t[0],signal:s,throwOnError:!0});return a},queryKey:ce(e)}),gt=Bt(!1),de=async e=>{if(nt(gt))return;const t=he({path:{dataset_id:e}});ee(t).subscribe(a=>{if(a.data){const o=a.data,{updateMetadataBounds:u,updateMetadataValues:d,updateMetadataInfo:p}=rt(),C={},I={};o.forEach(c=>{(c.type==="integer"||c.type==="float")&&c.min!=null&&c.max!=null&&(C[c.name]={min:c.min,max:c.max},I[c.name]={min:c.min,max:c.max})}),u(C),d(I),p(o),gt.set(!0)}})},le=e=>{const t=[],{metadataBounds:s}=rt();for(const[a,o]of Object.entries(e)){const d=nt(s)[a];d&&(o.min>d.min&&t.push({key:a,value:o.min,op:">="}),o.max<d.max&&t.push({key:a,value:o.max,op:"<="}))}return t},Ue=e=>{e&&de(e);const{metadataBounds:t,metadataValues:s,metadataInfo:a,updateMetadataValues:o,updateMetadataBounds:u,updateMetadataInfo:d}=rt();return{metadataBounds:t,metadataValues:s,metadataInfo:a,updateMetadataValues:o,updateMetadataBounds:u,updateMetadataInfo:d,createMetadataFilters:le}};export{Ht as Q,Se as a,Ie as b,le as c,Fe as d,we as e,ve as f,ee as g,Ue as h,Qe as i,xe as j,te as k,Zt as l,Ee as m,$t as n,Ce as o,Re as p,Ae as q,Me as r,ge as s,Yt as u};
@@ -0,0 +1 @@
1
+ import{B,C as M,D as S,F as T,G as g,H as v,I as q,J as x,K as D}from"./C3xJX0nD.js";const H=new Set,O=new Set;function b(r,a,i,c={}){function e(t){if(c.capture||W.call(a,t),!t.cancelBubble)return S(()=>i==null?void 0:i.call(this,t))}return r.startsWith("pointer")||r.startsWith("touch")||r==="wheel"?M(()=>{a.addEventListener(r,e,c)}):a.addEventListener(r,e,c),e}function F(r,a,i,c={}){var e=b(a,r,i,c);return()=>{r.removeEventListener(a,e,c)}}function G(r,a,i,c,e){var t={capture:c,passive:e},o=b(r,a,i,t);(a===document.body||a===window||a===document||a instanceof HTMLMediaElement)&&B(()=>{a.removeEventListener(r,o,t)})}function I(r){for(var a=0;a<r.length;a++)H.add(r[a]);for(var i of O)i(r)}let w=null;function W(r){var p;var a=this,i=a.ownerDocument,c=r.type,e=((p=r.composedPath)==null?void 0:p.call(r))||[],t=e[0]||r.target;w=r;var o=0,_=w===r&&r.__root;if(_){var l=e.indexOf(_);if(l!==-1&&(a===document||a===window)){r.__root=a;return}var d=e.indexOf(a);if(d===-1)return;l<=d&&(o=l)}if(t=e[o]||r.target,t!==a){T(r,"currentTarget",{configurable:!0,get(){return t||i}});var y=x,E=D;g(null),v(null);try{for(var n,h=[];t!==null;){var f=t.assignedSlot||t.parentNode||t.host||null;try{var s=t["__"+c];if(s!=null&&(!t.disabled||r.target===t))if(q(s)){var[L,...k]=s;L.apply(t,[r,...k])}else s.call(t,r)}catch(u){n?h.push(u):n=u}if(r.cancelBubble||f===a||f===null)break;t=f}if(n){for(let u of h)queueMicrotask(()=>{throw u});throw n}}finally{r.__root=a,delete r.currentTarget,g(y),v(E)}}}export{H as a,b as c,I as d,G as e,W as h,F as o,O as r};
@@ -1 +1 @@
1
- import"./CWj6FrbW.js";import"./69_IOA4Y.js";import{b as w}from"./DEgUu98i.js";import{p as X}from"./Cs1XmhiF.js";import{l as H}from"./CH6P3X75.js";let P;const D="en",k=["en","de"];let L=()=>D;const Q=t=>{typeof t=="function"?L=C(t):L=C(()=>t),P!==void 0&&P(L())};function C(t){return()=>{const n=t();if(!A(n))throw new Error("languageTag() didn't return a valid language tag. Check your setLanguageTag call");return n}}const Y=t=>{P=t};function A(t){return k.includes(t)}const q=Object.freeze(Object.defineProperty({__proto__:null,availableLanguageTags:k,isAvailableLanguageTag:A,get languageTag(){return L},onSetLanguageTag:Y,setLanguageTag:Q,sourceLanguageTag:D},Symbol.toStringTag,{value:"Module"}));function G(t,n){if(t==="")return"";const e=new URL(t,n).pathname;return e.endsWith("/")?e.slice(0,-1):e}function S(t,n){const e=V(t),o=J(e,n),[s,a]=Z(o);return[s,a]}const B=(t,n,e)=>[n,t,e??""].filter(o=>o!=="/").join("")||"/";function J(t,n){const e=t.replace(n,"");return e.startsWith("/")?e:`/${e}`}function Z(t){const e=["/.html__data.json","/__data.json"].find(o=>t.endsWith(o));return e?[t.slice(0,-e.length)||"/",e]:[t,void 0]}function V(t){try{return decodeURI(t)}catch{return t}}const tt=t=>({url:n})=>{try{const[e,o]=S(n.pathname,w),s=t.getLanguageFromLocalisedPath(e);if(!s)return n.pathname;const a=t.getCanonicalPath(e,s);return B(a,w,o)}catch{return n.pathname}};function et(t){return`/${t.split("/").filter(Boolean).join("/")}`}function nt(t){const n=t.map(e=>typeof e=="string"?o=>o===e:o=>e.test(o));return e=>n.some(o=>o(et(e)))}const T="rtl",R="ltr";function rt(t){try{const n=new Intl.Locale(t);return"textInfo"in n?n.textInfo.direction===T?T:R:n.getTextInfo().direction===T?T:R}catch{return R}}function ot(t){const n=t.map(e=>[e,rt(e)]);return Object.fromEntries(n)}const at=0,F=1,$=2,it=4,p=0,v=1,b=2;function st(t){const n=ct(ut);return t.sort((e,o)=>{var s,a,i,c,r,u;const f=z(e).map(n),l=z(o).map(n);for(let g=0;g<Math.max(f.length,l.length);g+=1){const m=f[g],x=l[g];if(!m)return-1;if(!x)return 1;for(let _=0;_<Math.max(m.length,x.length);_+=1){const h=m[_],d=x[_];if((h==null?void 0:h[p])||(d==null?void 0:d[p])){if(!h)return-1;if(!d)return 1;const y=((s=m[_+1])==null?void 0:s[v])||((i=(a=f[g+1])==null?void 0:a[0])==null?void 0:i[v]),I=((c=x[_+1])==null?void 0:c[v])||((u=(r=l[g+1])==null?void 0:r[0])==null?void 0:u[v]),K=y&&I,O=y&&!I,W=!y&&I;if((h[p]&&d[p])===$){if(K)continue;if(O)return-1;if(W)return 1}if(h[p]===$)return O?-1:1;if(d[p]===$)return W?1:-1;if(h[b]!==d[b])return(-1)**+h[b];if(h[p]!==d[p])return(-1)**+(h[p]>d[p])}else if((h==null?void 0:h[v])!==(d==null?void 0:d[v]))return lt(h[v],d[v])}}return e<o?1:-1})}function ct(t){const n=new Map;return e=>(n.has(e)||n.set(e,t(e)),n.get(e))}function ut(t){const n=[];let e=0;for(;e<=t.length;){const o=t.indexOf("[",e),s=o===-1;if(n.push([at,t.slice(e,s?void 0:o),!1]),s)break;const a=t[o+1]==="["?F:t[o+1]==="."?$:it,i=a===F?"]]":"]",c=t.indexOf(i,o);if(c===-1)throw new Error(`Invalid route definition ${t}`);const r=t.slice(o,e=c+i.length);n.push([a,r,r.includes("=")])}return n}const z=t=>t.replace(/\[\[[^\]]+\]\](?!$)/g,"").split("/").filter(Boolean);function lt(t,n){if(t===n)return 0;let e=0;for(;t[e]===n[e];)e++;return t[e]?n[e]?t[e]<n[e]?-1:1:-1:1}const ft=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function gt(t){const n=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${U(t).map(o=>{const s=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(s)return n.push({name:s[1],matcher:s[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(a)return n.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const i=o.split(/\[(.+?)\](?!\])/);return"/"+i.map((r,u)=>{if(u%2){if(r.startsWith("x+"))return j(String.fromCharCode(parseInt(r.slice(2),16)));if(r.startsWith("u+"))return j(String.fromCharCode(...r.slice(2).split("-").map(_=>parseInt(_,16))));const f=ft.exec(r);if(!f)throw new Error(`Invalid param: ${r}`);const[,l,g,m,x]=f;return n.push({name:m,matcher:x,optional:!!l,rest:!!g,chained:g?u===1&&i[0]==="":!1}),g?"(.*?)":l?"([^/]*)?":"([^/]+?)"}return j(r)}).join("")}).join("")}/?$`),params:n}}function ht(t,n,e){const o={},s=t.slice(1),a=s.filter(c=>c!==void 0);let i=0;for(const[c,r]of n.entries()){let u=s[c-i];if(r.chained&&r.rest&&i&&(u=s.slice(c-i,c+1).filter(l=>l).join("/"),i=0),u===void 0){r.rest&&(o[r.name]="");continue}if(r.matcher&&!e[r.matcher])return;if((e[r.matcher]??(()=>!0))(u)){o[r.name]=u;const l=n[c+1],g=s[c+1];l&&!l.rest&&l.optional&&g&&r.chained&&(i=0),!l&&!g&&Object.keys(o).length===a.length&&(i=0);continue}if(r.optional&&r.chained){i++;continue}return}if(!i)return o}function j(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const dt=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function M(t,n){return"/"+U(t).map(e=>e.replace(dt,(o,s,a,i)=>{const c=n[i];if(!c){if(s||a&&c!==void 0)return"";throw new Error(`Missing parameter '${i}' in route ${t}`)}if(c[0]=="/"||c.endsWith("/"))throw new Error(`Parameter '${i}' in route ${t} cannot start or end with a slash`);return c})).filter(Boolean).join("/")}function N(t,n,e){const o=st(n);for(const s of o){const a=gt(s),i=a.pattern.exec(pt(t));if(!i)continue;const c=ht(i,a.params,e);if(c)return{params:c,id:s}}}const pt=t=>t.endsWith("/")?t.slice(0,-1):t,U=t=>t.slice(1).split("/");function mt(t,n,e,o,s){function a(r){const f=r.split("/")[1];if(t.includes(f)&&(s==="always"||f!==n))return f;if(s==="never")return n}function i(r,u){const f=r.endsWith("/")&&r!=="/";r=f?r.slice(0,-1):r;let l=vt(r,u,e,o);return f&&(l+="/"),(s==="always"||u!==n)&&(l=`/${u}${l}`),l}function c(r,u){const f=r.endsWith("/")&&r!=="/";(s==="always"||u!==n)&&(r=r.replace(`/${u}`,"")||"/");const l=f;r=l?r.slice(0,-1):r;let g=_t(r,u,e,o);return l&&(g+="/"),g}return{getLanguageFromLocalisedPath:a,getLocalisedPath:i,getCanonicalPath:c}}function _t(t,n,e,o){for(const[s,a]of Object.entries(e)){if(!(n in a))continue;const i=a[n];if(!i)continue;const c=N(t,[i],o);if(c)return M(s,c.params)}return t}function vt(t,n,e,o){const s=N(t,Object.keys(e),o);if(!s)return t;const a=e[s.id];if(!a)return t;const i=a[n];return i?M(i,s.params):t}function xt(t,n){const e={},o=[],s=t.sourceLanguageTag,a={defaultLanguageTag:s,runtime:t,translations:e,matchers:{},exclude:nt(o),prefixDefaultLanguage:"never",textDirection:ot(t.availableLanguageTags),seo:{noAlternateLinks:!1}},i=mt(t.availableLanguageTags,s,a.translations,a.matchers,a.prefixDefaultLanguage);return Object.freeze(e),Object.freeze(a),{config:a,strategy:i,reroute:()=>tt(i),handle:()=>{throw new Error("")},getLanguageFromUrl(c){const r=E(w),[u]=S(c.pathname,r);return a.exclude(u)?a.defaultLanguageTag:i.getLanguageFromLocalisedPath(u)||a.defaultLanguageTag},resolveRoute(c,r=void 0){if(a.exclude(c))return c;const u=E(w),[f,l]=S(c,u);if(r=r??t.languageTag(),!c.startsWith(u))return c;const g=i.getLocalisedPath(f,r);return B(g,u,l)},route(c){const r=E(w),[u,f]=S(c,r),g=i.getLanguageFromLocalisedPath(u)||a.defaultLanguageTag,m=i.getCanonicalPath(u,g);return B(m,r,f)}}}function E(t){return t===""?"":t.startsWith("/")?t:G(t,new URL(H(X).url))}const It=xt(q);export{It as i,G as n,S as p,B as s};
1
+ import"./CWj6FrbW.js";import"./69_IOA4Y.js";import{b as w}from"./D8ZGoCPm.js";import{p as X}from"./BPpOWbDa.js";import{m as H}from"./C3xJX0nD.js";let P;const D="en",k=["en","de"];let L=()=>D;const Q=t=>{typeof t=="function"?L=C(t):L=C(()=>t),P!==void 0&&P(L())};function C(t){return()=>{const n=t();if(!A(n))throw new Error("languageTag() didn't return a valid language tag. Check your setLanguageTag call");return n}}const Y=t=>{P=t};function A(t){return k.includes(t)}const q=Object.freeze(Object.defineProperty({__proto__:null,availableLanguageTags:k,isAvailableLanguageTag:A,get languageTag(){return L},onSetLanguageTag:Y,setLanguageTag:Q,sourceLanguageTag:D},Symbol.toStringTag,{value:"Module"}));function G(t,n){if(t==="")return"";const e=new URL(t,n).pathname;return e.endsWith("/")?e.slice(0,-1):e}function S(t,n){const e=V(t),o=J(e,n),[s,a]=Z(o);return[s,a]}const B=(t,n,e)=>[n,t,e??""].filter(o=>o!=="/").join("")||"/";function J(t,n){const e=t.replace(n,"");return e.startsWith("/")?e:`/${e}`}function Z(t){const e=["/.html__data.json","/__data.json"].find(o=>t.endsWith(o));return e?[t.slice(0,-e.length)||"/",e]:[t,void 0]}function V(t){try{return decodeURI(t)}catch{return t}}const tt=t=>({url:n})=>{try{const[e,o]=S(n.pathname,w),s=t.getLanguageFromLocalisedPath(e);if(!s)return n.pathname;const a=t.getCanonicalPath(e,s);return B(a,w,o)}catch{return n.pathname}};function et(t){return`/${t.split("/").filter(Boolean).join("/")}`}function nt(t){const n=t.map(e=>typeof e=="string"?o=>o===e:o=>e.test(o));return e=>n.some(o=>o(et(e)))}const T="rtl",R="ltr";function rt(t){try{const n=new Intl.Locale(t);return"textInfo"in n?n.textInfo.direction===T?T:R:n.getTextInfo().direction===T?T:R}catch{return R}}function ot(t){const n=t.map(e=>[e,rt(e)]);return Object.fromEntries(n)}const at=0,F=1,$=2,it=4,p=0,v=1,b=2;function st(t){const n=ct(ut);return t.sort((e,o)=>{var s,a,i,c,r,u;const f=z(e).map(n),l=z(o).map(n);for(let g=0;g<Math.max(f.length,l.length);g+=1){const m=f[g],x=l[g];if(!m)return-1;if(!x)return 1;for(let _=0;_<Math.max(m.length,x.length);_+=1){const h=m[_],d=x[_];if((h==null?void 0:h[p])||(d==null?void 0:d[p])){if(!h)return-1;if(!d)return 1;const y=((s=m[_+1])==null?void 0:s[v])||((i=(a=f[g+1])==null?void 0:a[0])==null?void 0:i[v]),I=((c=x[_+1])==null?void 0:c[v])||((u=(r=l[g+1])==null?void 0:r[0])==null?void 0:u[v]),K=y&&I,O=y&&!I,W=!y&&I;if((h[p]&&d[p])===$){if(K)continue;if(O)return-1;if(W)return 1}if(h[p]===$)return O?-1:1;if(d[p]===$)return W?1:-1;if(h[b]!==d[b])return(-1)**+h[b];if(h[p]!==d[p])return(-1)**+(h[p]>d[p])}else if((h==null?void 0:h[v])!==(d==null?void 0:d[v]))return lt(h[v],d[v])}}return e<o?1:-1})}function ct(t){const n=new Map;return e=>(n.has(e)||n.set(e,t(e)),n.get(e))}function ut(t){const n=[];let e=0;for(;e<=t.length;){const o=t.indexOf("[",e),s=o===-1;if(n.push([at,t.slice(e,s?void 0:o),!1]),s)break;const a=t[o+1]==="["?F:t[o+1]==="."?$:it,i=a===F?"]]":"]",c=t.indexOf(i,o);if(c===-1)throw new Error(`Invalid route definition ${t}`);const r=t.slice(o,e=c+i.length);n.push([a,r,r.includes("=")])}return n}const z=t=>t.replace(/\[\[[^\]]+\]\](?!$)/g,"").split("/").filter(Boolean);function lt(t,n){if(t===n)return 0;let e=0;for(;t[e]===n[e];)e++;return t[e]?n[e]?t[e]<n[e]?-1:1:-1:1}const ft=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function gt(t){const n=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${U(t).map(o=>{const s=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(s)return n.push({name:s[1],matcher:s[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(a)return n.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const i=o.split(/\[(.+?)\](?!\])/);return"/"+i.map((r,u)=>{if(u%2){if(r.startsWith("x+"))return j(String.fromCharCode(parseInt(r.slice(2),16)));if(r.startsWith("u+"))return j(String.fromCharCode(...r.slice(2).split("-").map(_=>parseInt(_,16))));const f=ft.exec(r);if(!f)throw new Error(`Invalid param: ${r}`);const[,l,g,m,x]=f;return n.push({name:m,matcher:x,optional:!!l,rest:!!g,chained:g?u===1&&i[0]==="":!1}),g?"(.*?)":l?"([^/]*)?":"([^/]+?)"}return j(r)}).join("")}).join("")}/?$`),params:n}}function ht(t,n,e){const o={},s=t.slice(1),a=s.filter(c=>c!==void 0);let i=0;for(const[c,r]of n.entries()){let u=s[c-i];if(r.chained&&r.rest&&i&&(u=s.slice(c-i,c+1).filter(l=>l).join("/"),i=0),u===void 0){r.rest&&(o[r.name]="");continue}if(r.matcher&&!e[r.matcher])return;if((e[r.matcher]??(()=>!0))(u)){o[r.name]=u;const l=n[c+1],g=s[c+1];l&&!l.rest&&l.optional&&g&&r.chained&&(i=0),!l&&!g&&Object.keys(o).length===a.length&&(i=0);continue}if(r.optional&&r.chained){i++;continue}return}if(!i)return o}function j(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const dt=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function M(t,n){return"/"+U(t).map(e=>e.replace(dt,(o,s,a,i)=>{const c=n[i];if(!c){if(s||a&&c!==void 0)return"";throw new Error(`Missing parameter '${i}' in route ${t}`)}if(c[0]=="/"||c.endsWith("/"))throw new Error(`Parameter '${i}' in route ${t} cannot start or end with a slash`);return c})).filter(Boolean).join("/")}function N(t,n,e){const o=st(n);for(const s of o){const a=gt(s),i=a.pattern.exec(pt(t));if(!i)continue;const c=ht(i,a.params,e);if(c)return{params:c,id:s}}}const pt=t=>t.endsWith("/")?t.slice(0,-1):t,U=t=>t.slice(1).split("/");function mt(t,n,e,o,s){function a(r){const f=r.split("/")[1];if(t.includes(f)&&(s==="always"||f!==n))return f;if(s==="never")return n}function i(r,u){const f=r.endsWith("/")&&r!=="/";r=f?r.slice(0,-1):r;let l=vt(r,u,e,o);return f&&(l+="/"),(s==="always"||u!==n)&&(l=`/${u}${l}`),l}function c(r,u){const f=r.endsWith("/")&&r!=="/";(s==="always"||u!==n)&&(r=r.replace(`/${u}`,"")||"/");const l=f;r=l?r.slice(0,-1):r;let g=_t(r,u,e,o);return l&&(g+="/"),g}return{getLanguageFromLocalisedPath:a,getLocalisedPath:i,getCanonicalPath:c}}function _t(t,n,e,o){for(const[s,a]of Object.entries(e)){if(!(n in a))continue;const i=a[n];if(!i)continue;const c=N(t,[i],o);if(c)return M(s,c.params)}return t}function vt(t,n,e,o){const s=N(t,Object.keys(e),o);if(!s)return t;const a=e[s.id];if(!a)return t;const i=a[n];return i?M(i,s.params):t}function xt(t,n){const e={},o=[],s=t.sourceLanguageTag,a={defaultLanguageTag:s,runtime:t,translations:e,matchers:{},exclude:nt(o),prefixDefaultLanguage:"never",textDirection:ot(t.availableLanguageTags),seo:{noAlternateLinks:!1}},i=mt(t.availableLanguageTags,s,a.translations,a.matchers,a.prefixDefaultLanguage);return Object.freeze(e),Object.freeze(a),{config:a,strategy:i,reroute:()=>tt(i),handle:()=>{throw new Error("")},getLanguageFromUrl(c){const r=E(w),[u]=S(c.pathname,r);return a.exclude(u)?a.defaultLanguageTag:i.getLanguageFromLocalisedPath(u)||a.defaultLanguageTag},resolveRoute(c,r=void 0){if(a.exclude(c))return c;const u=E(w),[f,l]=S(c,u);if(r=r??t.languageTag(),!c.startsWith(u))return c;const g=i.getLocalisedPath(f,r);return B(g,u,l)},route(c){const r=E(w),[u,f]=S(c,r),g=i.getLanguageFromLocalisedPath(u)||a.defaultLanguageTag,m=i.getCanonicalPath(u,g);return B(m,r,f)}}}function E(t){return t===""?"":t.startsWith("/")?t:G(t,new URL(H(X).url))}const It=xt(q);export{It as i,G as n,S as p,B as s};
@@ -0,0 +1 @@
1
+ const B=/\{[^{}]+\}/g,N=()=>{var r,t;return typeof process=="object"&&Number.parseInt((t=(r=process==null?void 0:process.versions)==null?void 0:r.node)==null?void 0:t.substring(0,2))>=18&&process.versions.undici};function F(){return Math.random().toString(36).slice(2,11)}function M(r){let{baseUrl:t="",Request:e=globalThis.Request,fetch:s=globalThis.fetch,querySerializer:n,bodySerializer:i,headers:f,requestInitExt:l=void 0,..._}={...r};l=N()?l:void 0,t=H(t);const h=[];async function y(a,o){const{baseUrl:m,fetch:I=s,Request:Z=e,headers:D,params:R={},parseAs:T="json",querySerializer:j,bodySerializer:z=i??G,body:x,...U}=o||{};m&&(t=H(m));let $=typeof n=="function"?n:C(n);j&&($=typeof j=="function"?j:C({...typeof n=="object"?n:{},...j}));const q=x===void 0?void 0:z(x),v=q===void 0||q instanceof FormData?{}:{"Content-Type":"application/json"},k={redirect:"follow",..._,...U,body:q,headers:K(v,f,D,R.header)};let g,E,b=new e(Y(a,{baseUrl:t,params:R,querySerializer:$}),k);for(const u in U)u in b||(b[u]=U[u]);if(h.length){g=F(),E=Object.freeze({baseUrl:t,fetch:I,parseAs:T,querySerializer:$,bodySerializer:z});for(const u of h)if(u&&typeof u=="object"&&typeof u.onRequest=="function"){const d=await u.onRequest({request:b,schemaPath:a,params:R,options:E,id:g});if(d){if(!(d instanceof e))throw new Error("onRequest: must return new Request() when modifying the request");b=d}}}let c;try{c=await I(b,l)}catch(u){let d=u;if(h.length)for(let p=h.length-1;p>=0;p--){const S=h[p];if(S&&typeof S=="object"&&typeof S.onError=="function"){const w=await S.onError({request:b,error:d,schemaPath:a,params:R,options:E,id:g});if(w){if(w instanceof Response){d=void 0,c=w;break}if(w instanceof Error){d=w;continue}throw new Error("onError: must return new Response() or instance of Error")}}}if(d)throw d}if(h.length)for(let u=h.length-1;u>=0;u--){const d=h[u];if(d&&typeof d=="object"&&typeof d.onResponse=="function"){const p=await d.onResponse({request:b,response:c,schemaPath:a,params:R,options:E,id:g});if(p){if(!(p instanceof Response))throw new Error("onResponse: must return new Response() when modifying the response");c=p}}}if(c.status===204||c.headers.get("Content-Length")==="0")return c.ok?{data:void 0,response:c}:{error:void 0,response:c};if(c.ok)return T==="stream"?{data:c.body,response:c}:{data:await c[T](),response:c};let O=await c.text();try{O=JSON.parse(O)}catch{}return{error:O,response:c}}return{request(a,o,m){return y(o,{...m,method:a.toUpperCase()})},GET(a,o){return y(a,{...o,method:"GET"})},PUT(a,o){return y(a,{...o,method:"PUT"})},POST(a,o){return y(a,{...o,method:"POST"})},DELETE(a,o){return y(a,{...o,method:"DELETE"})},OPTIONS(a,o){return y(a,{...o,method:"OPTIONS"})},HEAD(a,o){return y(a,{...o,method:"HEAD"})},PATCH(a,o){return y(a,{...o,method:"PATCH"})},TRACE(a,o){return y(a,{...o,method:"TRACE"})},use(...a){for(const o of a)if(o){if(typeof o!="object"||!("onRequest"in o||"onResponse"in o||"onError"in o))throw new Error("Middleware must be an object with one of `onRequest()`, `onResponse() or `onError()`");h.push(o)}},eject(...a){for(const o of a){const m=h.indexOf(o);m!==-1&&h.splice(m,1)}}}}function A(r,t,e){if(t==null)return"";if(typeof t=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${r}=${(e==null?void 0:e.allowReserved)===!0?t:encodeURIComponent(t)}`}function P(r,t,e){if(!t||typeof t!="object")return"";const s=[],n={simple:",",label:".",matrix:";"}[e.style]||"&";if(e.style!=="deepObject"&&e.explode===!1){for(const l in t)s.push(l,e.allowReserved===!0?t[l]:encodeURIComponent(t[l]));const f=s.join(",");switch(e.style){case"form":return`${r}=${f}`;case"label":return`.${f}`;case"matrix":return`;${r}=${f}`;default:return f}}for(const f in t){const l=e.style==="deepObject"?`${r}[${f}]`:f;s.push(A(l,t[f],e))}const i=s.join(n);return e.style==="label"||e.style==="matrix"?`${n}${i}`:i}function L(r,t,e){if(!Array.isArray(t))return"";if(e.explode===!1){const i={form:",",spaceDelimited:"%20",pipeDelimited:"|"}[e.style]||",",f=(e.allowReserved===!0?t:t.map(l=>encodeURIComponent(l))).join(i);switch(e.style){case"simple":return f;case"label":return`.${f}`;case"matrix":return`;${r}=${f}`;default:return`${r}=${f}`}}const s={simple:",",label:".",matrix:";"}[e.style]||"&",n=[];for(const i of t)e.style==="simple"||e.style==="label"?n.push(e.allowReserved===!0?i:encodeURIComponent(i)):n.push(A(r,i,e));return e.style==="label"||e.style==="matrix"?`${s}${n.join(s)}`:n.join(s)}function C(r){return function(e){const s=[];if(e&&typeof e=="object")for(const n in e){const i=e[n];if(i!=null){if(Array.isArray(i)){if(i.length===0)continue;s.push(L(n,i,{style:"form",explode:!0,...r==null?void 0:r.array,allowReserved:(r==null?void 0:r.allowReserved)||!1}));continue}if(typeof i=="object"){s.push(P(n,i,{style:"deepObject",explode:!0,...r==null?void 0:r.object,allowReserved:(r==null?void 0:r.allowReserved)||!1}));continue}s.push(A(n,i,r))}}return s.join("&")}}function W(r,t){let e=r;for(const s of r.match(B)??[]){let n=s.substring(1,s.length-1),i=!1,f="simple";if(n.endsWith("*")&&(i=!0,n=n.substring(0,n.length-1)),n.startsWith(".")?(f="label",n=n.substring(1)):n.startsWith(";")&&(f="matrix",n=n.substring(1)),!t||t[n]===void 0||t[n]===null)continue;const l=t[n];if(Array.isArray(l)){e=e.replace(s,L(n,l,{style:f,explode:i}));continue}if(typeof l=="object"){e=e.replace(s,P(n,l,{style:f,explode:i}));continue}if(f==="matrix"){e=e.replace(s,`;${A(n,l)}`);continue}e=e.replace(s,f==="label"?`.${encodeURIComponent(l)}`:encodeURIComponent(l))}return e}function G(r){return r instanceof FormData?r:JSON.stringify(r)}function Y(r,t){var n;let e=`${t.baseUrl}${r}`;(n=t.params)!=null&&n.path&&(e=W(e,t.params.path));let s=t.querySerializer(t.params.query??{});return s.startsWith("?")&&(s=s.substring(1)),s&&(e+=`?${s}`),e}function K(...r){const t=new Headers;for(const e of r){if(!e||typeof e!="object")continue;const s=e instanceof Headers?e.entries():Object.entries(e);for(const[n,i]of s)if(i===null)t.delete(n);else if(Array.isArray(i))for(const f of i)t.append(n,f);else i!==void 0&&t.set(n,i)}return t}function H(r){return r.endsWith("/")?r.substring(0,r.length-1):r}const J="/images",Q="/",V="phc_A9K0pMRovzmhFhngbKAZIr2qZdA14eHvsZY6kjNdYWr",X="https://eu.i.posthog.com",ee=M({baseUrl:Q,fetch});export{J as P,V as a,X as b,ee as c,Q as d};
@@ -0,0 +1 @@
1
+ import{v as L,z as R,L as N,E as j,R as B,x as C,S as m,T as K,A as Y,W as F,a5 as M,a6 as U,h as y,C as q,a7 as b,a8 as g,a9 as z,aa as Z,g as S,ab as $,Z as G,K as W,ac as H,l as J,ad as Q,ae as V,af as X,ag as k,ah as v,ai as A,aj as ee,ak as re}from"./C3xJX0nD.js";import{c as ne}from"./DmGM9V9Q.js";import{l as te}from"./DIeogL5L.js";function le(e,r,t){R&&N();var n=e,i,a,u=null,f=null;function c(){a&&(F(a),a=null),u&&(u.lastChild.remove(),n.before(u),u=null),a=f,f=null}L(()=>{if(i!==(i=r())){var d=K();if(i){var l=n;d&&(u=document.createDocumentFragment(),u.append(l=B()),a&&m.skipped_effects.add(a)),f=C(()=>t(l,i))}d?m.add_callback(c):c()}},j),R&&(n=Y)}function x(e,r){return e===r||(e==null?void 0:e[b])===r}function ce(e={},r,t,n){return M(()=>{var i,a;return U(()=>{i=a,a=[],y(()=>{e!==t(...a)&&(r(e,...a),i&&x(t(...i),e)&&r(null,...i))})}),()=>{q(()=>{a&&x(t(...a),e)&&r(null,...a)})}}),e}const ie={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function oe(e,r,t){return new Proxy({props:e,exclude:r},ie)}const ae={get(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(v(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,t){let n=e.props.length;for(;n--;){let i=e.props[n];v(i)&&(i=i());const a=g(i,r);if(a&&a.set)return a.set(t),!0}return!1},getOwnPropertyDescriptor(e,r){let t=e.props.length;for(;t--;){let n=e.props[t];if(v(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const i=g(n,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===b||r===A)return!1;for(let t of e.props)if(v(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(e){const r=[];for(let t of e.props)if(v(t)&&(t=t()),!!t){for(const n in t)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(t))r.includes(n)||r.push(n)}return r}};function de(...e){return new Proxy({props:e},ae)}function pe(e,r,t,n){var E;var i=!te||(t&X)!==0,a=(t&V)!==0,u=(t&ee)!==0,f=n,c=!0,d=()=>(c&&(c=!1,f=u?y(n):n),f),l;if(a){var I=b in e||A in e;l=((E=g(e,r))==null?void 0:E.set)??(I&&r in e?s=>e[r]=s:void 0)}var p,w=!1;a?[p,w]=ne(()=>e[r]):p=e[r],p===void 0&&n!==void 0&&(p=d(),l&&(i&&z(),l(p)));var o;if(i?o=()=>{var s=e[r];return s===void 0?d():(c=!0,s)}:o=()=>{var s=e[r];return s!==void 0&&(f=void 0),s===void 0?f:s},i&&!(t&Z))return o;if(l){var T=e.$$legacy;return function(s,h){return arguments.length>0?((!i||!h||T||w)&&l(h?o():s),s):o()}}var P=!1,_=(t&k?J:Q)(()=>(P=!1,o()));a&&S(_);var D=W;return function(s,h){if(arguments.length>0){const O=h?S(_):i&&a?$(s):s;return G(_,O),P=!0,f!==void 0&&(f=O),s}return re&&P||D.f&H?_.v:S(_)}}export{ce as b,le as c,pe as p,oe as r,de as s};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.0Fm6E-5B.js","../chunks/BOmrKuMn.js","../chunks/BaFFwDFr.js","../chunks/C3xJX0nD.js","../chunks/DIeogL5L.js","../chunks/CWj6FrbW.js","../chunks/D8ZGoCPm.js","../chunks/CYgJF_JY.js","../chunks/CAPx0Bfm.js","../chunks/DoEId1MK.js","../chunks/DthpwYR_.js","../chunks/SiegjVo0.js","../chunks/CpbA3HU7.js","../chunks/gBp1tBnA.js","../chunks/CANX9QXL.js","../chunks/WEyXQRi6.js","../chunks/69_IOA4Y.js","../chunks/BPpOWbDa.js","../chunks/DmGM9V9Q.js","../chunks/Cj4nZbtb.js","../chunks/xQhUoIl9.js","../assets/0.CN4hnTks.css","../nodes/1.DB-0vkHb.js","../chunks/DUtlYNuP.js","../nodes/2.Drwwdm7A.js","../chunks/ChlxSwqI.js","../chunks/B90CZVMX.js","../chunks/CWuDkrMZ.js","../chunks/ClzkJBWk.js","../chunks/DyIcJj6J.js","../chunks/DMJzr1NB.js","../chunks/C1FmrZbK.js","../assets/transform.sLzR40om.css","../chunks/BiGQqqJP.js","../chunks/CP9M7pei.js","../chunks/BtXGzlpP.js","../assets/2.CkOblLn7.css","../nodes/3.D3X_-Wan.js","../chunks/DVxjPOJB.js","../nodes/4.C9TqY3tA.js","../nodes/5.iRw6HCWX.js","../chunks/BsaJCCG_.js","../nodes/6.fqfYR7dB.js","../nodes/7.C7gMM-gk.js","../nodes/8.C4v1w-oS.js","../chunks/DNJnBfHs.js","../nodes/9.DbHcSiMn.js","../nodes/10.vaUePh5k.js","../nodes/11.7i7ljNVT.js","../nodes/12.CWG1ehzT.js","../nodes/13.9qy3WtZv.js"])))=>i.map(i=>d[i]);
2
+ var mt=r=>{throw TypeError(r)};var dt=(r,t,e)=>t.has(r)||mt("Cannot "+e);var i=(r,t,e)=>(dt(r,t,"read from private field"),e?e.call(r):t.get(r)),p=(r,t,e)=>t.has(r)?mt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),$=(r,t,e,m)=>(dt(r,t,"write to private field"),m?m.call(r,e):t.set(r,e),e);import{_}from"../chunks/C1FmrZbK.js";import{i as Vt}from"../chunks/WEyXQRi6.js";import{Z as X,ai as xt,g as n,aL as wt,F as kt,X as jt,p as Ct,e as Mt,u as St,al as tt,aM as Ft,f as d,s as Gt,a as Xt,b as y,c as Yt,r as Zt,t as qt}from"../chunks/C3xJX0nD.js";import{h as zt,m as Bt,u as Ht,s as Jt}from"../chunks/CpbA3HU7.js";import"../chunks/CWj6FrbW.js";import{o as Kt}from"../chunks/D8ZGoCPm.js";import{i as k}from"../chunks/DmGM9V9Q.js";import{f as ut,a as o,c,t as Nt}from"../chunks/CAPx0Bfm.js";import{p as j,c as I,b as R}from"../chunks/xQhUoIl9.js";function Qt(r){return class extends Ut{constructor(t){super({component:r,...t})}}}var O,l;class Ut{constructor(t){p(this,O);p(this,l);var D;var e=new Map,m=(a,s)=>{var P=jt(s,!1,!1);return e.set(a,P),P};const f=new Proxy({...t.props||{},$$events:{}},{get(a,s){return n(e.get(s)??m(s,Reflect.get(a,s)))},has(a,s){return s===xt?!0:(n(e.get(s)??m(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,P){return X(e.get(s)??m(s,P),P),Reflect.set(a,s,P)}});$(this,l,(t.hydrate?zt:Bt)(t.component,{target:t.target,anchor:t.anchor,props:f,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((D=t==null?void 0:t.props)!=null&&D.$$host)||t.sync===!1)&&wt(),$(this,O,f.$$events);for(const a of Object.keys(i(this,l)))a==="$set"||a==="$destroy"||a==="$on"||kt(this,a,{get(){return i(this,l)[a]},set(s){i(this,l)[a]=s},enumerable:!0});i(this,l).$set=a=>{Object.assign(f,a)},i(this,l).$destroy=()=>{Ht(i(this,l))}}$set(t){i(this,l).$set(t)}$on(t,e){i(this,O)[t]=i(this,O)[t]||[];const m=(...f)=>e.call(this,...f);return i(this,O)[t].push(m),()=>{i(this,O)[t]=i(this,O)[t].filter(f=>f!==m)}}$destroy(){i(this,l).$destroy()}}O=new WeakMap,l=new WeakMap;const Wt=Vt.reroute(),he={};var pt=ut('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),$t=ut("<!> <!>",1);function te(r,t){Ct(t,!0);let e=j(t,"components",23,()=>[]),m=j(t,"data_0",3,null),f=j(t,"data_1",3,null),D=j(t,"data_2",3,null),a=j(t,"data_3",3,null),s=j(t,"data_4",3,null);Mt(()=>t.stores.page.set(t.page)),St(()=>{t.stores,t.page,t.constructors,e(),t.form,m(),f(),D(),a(),s(),t.stores.page.notify()});let P=tt(!1),et=tt(!1),rt=tt(null);Kt(()=>{const u=t.stores.page.subscribe(()=>{n(P)&&(X(et,!0),Ft().then(()=>{X(rt,document.title||"untitled page",!0)}))});return X(P,!0),u});const ct=y(()=>t.constructors[4]);var at=$t(),st=d(at);{var lt=u=>{const b=y(()=>t.constructors[0]);var L=c(),C=d(L);I(C,()=>n(b),(A,T)=>{R(T(A,{get data(){return m()},get form(){return t.form},children:(v,ae)=>{var ot=c(),ht=d(ot);{var Et=V=>{const Y=y(()=>t.constructors[1]);var M=c(),Z=d(M);I(Z,()=>n(Y),(q,z)=>{R(z(q,{get data(){return f()},get form(){return t.form},children:(g,se)=>{var nt=c(),yt=d(nt);{var It=x=>{const B=y(()=>t.constructors[2]);var S=c(),H=d(S);I(H,()=>n(B),(J,K)=>{R(K(J,{get data(){return D()},get form(){return t.form},children:(h,oe)=>{var it=c(),Ot=d(it);{var bt=w=>{const N=y(()=>t.constructors[3]);var F=c(),Q=d(F);I(Q,()=>n(N),(U,W)=>{R(W(U,{get data(){return a()},get form(){return t.form},children:(E,ne)=>{var _t=c(),At=d(_t);I(At,()=>n(ct),(Dt,Tt)=>{R(Tt(Dt,{get data(){return s()},get form(){return t.form}}),G=>e()[4]=G,()=>{var G;return(G=e())==null?void 0:G[4]})}),o(E,_t)},$$slots:{default:!0}}),E=>e()[3]=E,()=>{var E;return(E=e())==null?void 0:E[3]})}),o(w,F)},Lt=w=>{const N=y(()=>t.constructors[3]);var F=c(),Q=d(F);I(Q,()=>n(N),(U,W)=>{R(W(U,{get data(){return a()},get form(){return t.form}}),E=>e()[3]=E,()=>{var E;return(E=e())==null?void 0:E[3]})}),o(w,F)};k(Ot,w=>{t.constructors[4]?w(bt):w(Lt,!1)})}o(h,it)},$$slots:{default:!0}}),h=>e()[2]=h,()=>{var h;return(h=e())==null?void 0:h[2]})}),o(x,S)},Rt=x=>{const B=y(()=>t.constructors[2]);var S=c(),H=d(S);I(H,()=>n(B),(J,K)=>{R(K(J,{get data(){return D()},get form(){return t.form}}),h=>e()[2]=h,()=>{var h;return(h=e())==null?void 0:h[2]})}),o(x,S)};k(yt,x=>{t.constructors[3]?x(It):x(Rt,!1)})}o(g,nt)},$$slots:{default:!0}}),g=>e()[1]=g,()=>{var g;return(g=e())==null?void 0:g[1]})}),o(V,M)},Pt=V=>{const Y=y(()=>t.constructors[1]);var M=c(),Z=d(M);I(Z,()=>n(Y),(q,z)=>{R(z(q,{get data(){return f()},get form(){return t.form}}),g=>e()[1]=g,()=>{var g;return(g=e())==null?void 0:g[1]})}),o(V,M)};k(ht,V=>{t.constructors[2]?V(Et):V(Pt,!1)})}o(v,ot)},$$slots:{default:!0}}),v=>e()[0]=v,()=>{var v;return(v=e())==null?void 0:v[0]})}),o(u,L)},ft=u=>{const b=y(()=>t.constructors[0]);var L=c(),C=d(L);I(C,()=>n(b),(A,T)=>{R(T(A,{get data(){return m()},get form(){return t.form}}),v=>e()[0]=v,()=>{var v;return(v=e())==null?void 0:v[0]})}),o(u,L)};k(st,u=>{t.constructors[1]?u(lt):u(ft,!1)})}var vt=Gt(st,2);{var gt=u=>{var b=pt(),L=Yt(b);{var C=A=>{var T=Nt();qt(()=>Jt(T,n(rt))),o(A,T)};k(L,A=>{n(et)&&A(C)})}Zt(b),o(u,b)};k(vt,u=>{n(P)&&u(gt)})}o(r,at),Xt()}const Ee=Qt(te),Pe=[()=>_(()=>import("../nodes/0.0Fm6E-5B.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url),()=>_(()=>import("../nodes/1.DB-0vkHb.js"),__vite__mapDeps([22,5,16,4,3,12,11,8,19,23,6,7]),import.meta.url),()=>_(()=>import("../nodes/2.Drwwdm7A.js"),__vite__mapDeps([24,1,2,3,4,25,26,7,5,6,8,18,9,23,27,12,11,10,13,14,20,28,16,29,19,30,31,32,33,34,35,17,36]),import.meta.url),()=>_(()=>import("../nodes/3.D3X_-Wan.js"),__vite__mapDeps([37,30,3,4,2,1,38,5,8,9]),import.meta.url),()=>_(()=>import("../nodes/4.C9TqY3tA.js"),__vite__mapDeps([39,28,13,1,2,3,4,30,38,5,8,9]),import.meta.url),()=>_(()=>import("../nodes/5.iRw6HCWX.js"),__vite__mapDeps([40,5,3,4,8,9,18,23,6,7,27,12,11,10,13,2,14,20,1,28,16,25,29,19,30,31,32,33,41]),import.meta.url),()=>_(()=>import("../nodes/6.fqfYR7dB.js"),__vite__mapDeps([42,25,2,26,7]),import.meta.url),()=>_(()=>import("../nodes/7.C7gMM-gk.js"),__vite__mapDeps([43,5,3,4,18,27,6,7,12,11,8,10,13,2,14,20,1,28,23,16,9,25,29,19,30,31,32]),import.meta.url),()=>_(()=>import("../nodes/8.C4v1w-oS.js"),__vite__mapDeps([44,3,4,2,1,5,8,18,11,10,12,13,14,6,7,27,20,28,23,16,9,25,29,19,30,31,32,33,41,45,35]),import.meta.url),()=>_(()=>import("../nodes/9.DbHcSiMn.js"),__vite__mapDeps([46,5,3,4,8,18,10,11,12,13,2,14,20,29,1,27,6,7,28,23,16,9,25,19,30,31,32,33,34]),import.meta.url),()=>_(()=>import("../nodes/10.vaUePh5k.js"),__vite__mapDeps([47,5,18,3,4,27,6,7,12,11,8,10,13,2,14,20,1,28,23,16,9,25,29,19,30,31,32]),import.meta.url),()=>_(()=>import("../nodes/11.7i7ljNVT.js"),__vite__mapDeps([48,5,3,4,18,27,6,7,12,11,8,10,13,2,14,20,1,28,23,16,9,25,29,19,30,31,32]),import.meta.url),()=>_(()=>import("../nodes/12.CWG1ehzT.js"),__vite__mapDeps([49,5,16,4]),import.meta.url),()=>_(()=>import("../nodes/13.9qy3WtZv.js"),__vite__mapDeps([50,3,4,2,29,1,14,5,16,11,8,18,23,6,7,25,45]),import.meta.url)],ye=[],Ie={"/":[6],"/datasets/[dataset_id]/annotations":[7,[2,3]],"/datasets/[dataset_id]/annotations/[sampleId]/[annotationId]/[annotationIndex]":[8,[2,3]],"/datasets/[dataset_id]/captions":[9,[2]],"/datasets/[dataset_id]/classifiers":[10,[2]],"/datasets/[dataset_id]/samples":[11,[2,4]],"/datasets/[dataset_id]/samples/[sampleId]":[12,[2,4,5]],"/datasets/[dataset_id]/samples/[sampleId]/[sampleIndex]":[13,[2,4,5]]},ee={handleError:({error:r})=>{console.error(r)},reroute:Wt||(()=>{}),transport:{}},re=Object.fromEntries(Object.entries(ee.transport).map(([r,t])=>[r,t.decode])),Re=!1,Oe=(r,t)=>re[r](t);export{Oe as decode,re as decoders,Ie as dictionary,Re as hash,ee as hooks,he as matchers,Pe as nodes,Ee as root,ye as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,e as r}from"../chunks/D8ZGoCPm.js";export{o as load_css,r as start};