rssany 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/.env.example +1 -1
  2. package/README.md +10 -11
  3. package/{plugins/sources → app/plugins/builtin}/email.rssany.js +92 -96
  4. package/app/plugins/builtin/rss.rssany.js +164 -0
  5. package/{plugins/templates → app/plugins}/site.rssany.js +6 -7
  6. package/dist/index.js +1200 -807
  7. package/dist/index.js.map +1 -1
  8. package/{config.examples.json → init/config.json} +7 -1
  9. package/init/sources.json +353 -0
  10. package/package.json +6 -7
  11. package/statics/401.html +1 -1
  12. package/statics/README.md +1 -1
  13. package/webui/build/200.html +16 -18
  14. package/webui/build/_app/immutable/assets/0.C6Q_nuW9.css +1 -0
  15. package/webui/build/_app/immutable/assets/10.Dj8_pmut.css +1 -0
  16. package/webui/build/_app/immutable/assets/11.qYZMiTb0.css +1 -0
  17. package/webui/build/_app/immutable/assets/12.Ct59LCqW.css +1 -0
  18. package/webui/build/_app/immutable/assets/13.BhO9zvFi.css +1 -0
  19. package/webui/build/_app/immutable/assets/14.CujIhjQK.css +1 -0
  20. package/webui/build/_app/immutable/assets/15.nNGjXhCQ.css +1 -0
  21. package/webui/build/_app/immutable/assets/16.PP9XLDf7.css +1 -0
  22. package/webui/build/_app/immutable/assets/4.9wPHhVwv.css +1 -0
  23. package/webui/build/_app/immutable/assets/6.DSJfjJwx.css +1 -0
  24. package/webui/build/_app/immutable/assets/7.CrNxmd8B.css +1 -0
  25. package/webui/build/_app/immutable/assets/8.Ba5_jYIY.css +1 -0
  26. package/webui/build/_app/immutable/assets/{9.BZheTlzZ.css → 9.m-LCx_kl.css} +1 -1
  27. package/webui/build/_app/immutable/assets/BackToParentRoute.DGk-X5ow.css +1 -0
  28. package/webui/build/_app/immutable/assets/SourcesList.yTBBi3_m.css +1 -0
  29. package/webui/build/_app/immutable/assets/homeFeedPanelStore.BopJZtHu.css +1 -0
  30. package/webui/build/_app/immutable/chunks/{V2-VOe88.js → B-OsL1Ct.js} +1 -1
  31. package/webui/build/_app/immutable/chunks/B2Q1a1-H.js +2 -0
  32. package/webui/build/_app/immutable/chunks/BK3WtZwv.js +1 -0
  33. package/webui/build/_app/immutable/chunks/BQqoDzLx.js +1 -0
  34. package/webui/build/_app/immutable/chunks/BXCWEhUd.js +1 -0
  35. package/webui/build/_app/immutable/chunks/BbWUOQ_m.js +1 -0
  36. package/webui/build/_app/immutable/chunks/Bp63qm3L.js +1 -0
  37. package/webui/build/_app/immutable/chunks/CVzlFH44.js +1 -0
  38. package/webui/build/_app/immutable/chunks/CWNeClHp.js +6 -0
  39. package/webui/build/_app/immutable/chunks/Cihqbfi5.js +1 -0
  40. package/webui/build/_app/immutable/chunks/CkUAV0m0.js +41 -0
  41. package/webui/build/_app/immutable/chunks/CtijX1u3.js +31 -0
  42. package/webui/build/_app/immutable/chunks/D5GvRCv7.js +1 -0
  43. package/webui/build/_app/immutable/chunks/DEDI7Ecm.js +1 -0
  44. package/webui/build/_app/immutable/chunks/DFuhmi31.js +1 -0
  45. package/webui/build/_app/immutable/chunks/DMWEh-Ek.js +2 -0
  46. package/webui/build/_app/immutable/chunks/{Cg3zih_x.js → DcAshVxe.js} +1 -1
  47. package/webui/build/_app/immutable/chunks/DjNLq3TF.js +1 -0
  48. package/webui/build/_app/immutable/chunks/Dt2CddFe.js +1 -0
  49. package/webui/build/_app/immutable/chunks/Dw782Tjs.js +1 -0
  50. package/webui/build/_app/immutable/chunks/EIZIMsXK.js +1 -0
  51. package/webui/build/_app/immutable/chunks/Xy_fhzQq.js +1 -0
  52. package/webui/build/_app/immutable/chunks/lk5LaiqA.js +1 -0
  53. package/webui/build/_app/immutable/chunks/mW5RwvnK.js +13 -0
  54. package/webui/build/_app/immutable/chunks/{CtHRh_pJ.js → tB7QMF3U.js} +1 -1
  55. package/webui/build/_app/immutable/chunks/xtNWTdbD.js +1 -0
  56. package/webui/build/_app/immutable/entry/app.DdgnooOk.js +2 -0
  57. package/webui/build/_app/immutable/entry/start.DhJaJZhR.js +1 -0
  58. package/webui/build/_app/immutable/nodes/0.BE05Cuc4.js +11 -0
  59. package/webui/build/_app/immutable/nodes/1.5DFDaT4c.js +1 -0
  60. package/webui/build/_app/immutable/nodes/10.OVK4i9XE.js +1 -0
  61. package/webui/build/_app/immutable/nodes/11.Dhn_rO4A.js +1 -0
  62. package/webui/build/_app/immutable/nodes/12.Cg8AeCSH.js +1 -0
  63. package/webui/build/_app/immutable/nodes/13.nT3SOzEB.js +1 -0
  64. package/webui/build/_app/immutable/nodes/14.B_KpJLxn.js +1 -0
  65. package/webui/build/_app/immutable/nodes/15.RaWaA-0I.js +1 -0
  66. package/webui/build/_app/immutable/nodes/{12.D9g8GCjm.js → 16.DSUgqolV.js} +15 -15
  67. package/webui/build/_app/immutable/nodes/2.BYWOpaxy.js +1 -0
  68. package/webui/build/_app/immutable/nodes/3.wQvGs9w-.js +1 -0
  69. package/webui/build/_app/immutable/nodes/4.DTSxpKm7.js +2 -0
  70. package/webui/build/_app/immutable/nodes/5.CCtn90c0.js +1 -0
  71. package/webui/build/_app/immutable/nodes/6.C2_mjW1u.js +1 -0
  72. package/webui/build/_app/immutable/nodes/7.Dwz6W7A1.js +1 -0
  73. package/webui/build/_app/immutable/nodes/8.DzkEw6rx.js +1 -0
  74. package/webui/build/_app/immutable/nodes/9.DtlXEwe1.js +1 -0
  75. package/webui/build/_app/version.json +1 -1
  76. package/plugins/sources/rss.rssany.js +0 -83
  77. package/sources.example.json +0 -562
  78. package/webui/build/_app/immutable/assets/0.BUAXpTm6.css +0 -1
  79. package/webui/build/_app/immutable/assets/10.I1OuCLrU.css +0 -1
  80. package/webui/build/_app/immutable/assets/11.CrO9xaki.css +0 -1
  81. package/webui/build/_app/immutable/assets/12.BEi6fInA.css +0 -1
  82. package/webui/build/_app/immutable/assets/14.Ctlgn1LZ.css +0 -1
  83. package/webui/build/_app/immutable/assets/2.eJ80XOGm.css +0 -1
  84. package/webui/build/_app/immutable/assets/4.B8-jYAVj.css +0 -1
  85. package/webui/build/_app/immutable/assets/6.Drn-0DON.css +0 -1
  86. package/webui/build/_app/immutable/assets/7.ms2diq_q.css +0 -1
  87. package/webui/build/_app/immutable/assets/8.DKymkjjs.css +0 -1
  88. package/webui/build/_app/immutable/assets/SourcesList.BhtYlRsQ.css +0 -1
  89. package/webui/build/_app/immutable/chunks/BUngiKFg.js +0 -1
  90. package/webui/build/_app/immutable/chunks/Bt0fzibd.js +0 -1
  91. package/webui/build/_app/immutable/chunks/BxHqDcpw.js +0 -1
  92. package/webui/build/_app/immutable/chunks/ByQRbEUX.js +0 -1
  93. package/webui/build/_app/immutable/chunks/C12mHcUp.js +0 -6
  94. package/webui/build/_app/immutable/chunks/C1kQ4pHy.js +0 -1
  95. package/webui/build/_app/immutable/chunks/C74gbb4Q.js +0 -1
  96. package/webui/build/_app/immutable/chunks/CAtemnMo.js +0 -1
  97. package/webui/build/_app/immutable/chunks/CVjCNJia.js +0 -1
  98. package/webui/build/_app/immutable/chunks/CjQQ9_Q2.js +0 -2
  99. package/webui/build/_app/immutable/chunks/CkS2JMkE.js +0 -1
  100. package/webui/build/_app/immutable/chunks/D-6mYMI1.js +0 -1
  101. package/webui/build/_app/immutable/chunks/D1Gs8-g3.js +0 -1
  102. package/webui/build/_app/immutable/chunks/D9dRVKgL.js +0 -1
  103. package/webui/build/_app/immutable/chunks/DCEY1XiC.js +0 -1
  104. package/webui/build/_app/immutable/chunks/DI-t-G_K.js +0 -2
  105. package/webui/build/_app/immutable/chunks/DTUxjyWL.js +0 -1
  106. package/webui/build/_app/immutable/chunks/DWJZOHke.js +0 -1
  107. package/webui/build/_app/immutable/chunks/Dgs6d7X5.js +0 -1
  108. package/webui/build/_app/immutable/chunks/DjpPK99f.js +0 -71
  109. package/webui/build/_app/immutable/chunks/DjzVVxpy.js +0 -1
  110. package/webui/build/_app/immutable/chunks/LQVMBmDN.js +0 -1
  111. package/webui/build/_app/immutable/chunks/Qw0Qgx6J.js +0 -1
  112. package/webui/build/_app/immutable/chunks/bohabpgg.js +0 -1
  113. package/webui/build/_app/immutable/chunks/c-YfbAB_.js +0 -8
  114. package/webui/build/_app/immutable/chunks/tpTQfoNn.js +0 -1
  115. package/webui/build/_app/immutable/entry/app.4I2fqDIL.js +0 -2
  116. package/webui/build/_app/immutable/entry/start.CrgdT2Qb.js +0 -1
  117. package/webui/build/_app/immutable/nodes/0.gA9sQtoM.js +0 -11
  118. package/webui/build/_app/immutable/nodes/1.Bybh7btp.js +0 -1
  119. package/webui/build/_app/immutable/nodes/10.DEkJCZ6X.js +0 -1
  120. package/webui/build/_app/immutable/nodes/11.CDNNJqlQ.js +0 -1
  121. package/webui/build/_app/immutable/nodes/13.DRpZV72T.js +0 -1
  122. package/webui/build/_app/immutable/nodes/14.DVeJW6bd.js +0 -1
  123. package/webui/build/_app/immutable/nodes/2.DIZ4IPNm.js +0 -1
  124. package/webui/build/_app/immutable/nodes/3.BFSNf0FK.js +0 -1
  125. package/webui/build/_app/immutable/nodes/4.BSsIjejE.js +0 -2
  126. package/webui/build/_app/immutable/nodes/5.COxRT9Oe.js +0 -1
  127. package/webui/build/_app/immutable/nodes/6.CBgQ4YzB.js +0 -1
  128. package/webui/build/_app/immutable/nodes/7.BbzWOL0V.js +0 -6
  129. package/webui/build/_app/immutable/nodes/8.C8120200.js +0 -1
  130. package/webui/build/_app/immutable/nodes/9.BH_BGQQ4.js +0 -1
  131. /package/webui/build/_app/immutable/nodes/{15.BtYZF6FM.js → 17.BtYZF6FM.js} +0 -0
  132. /package/webui/build/_app/immutable/nodes/{16.Ba_qJjp6.js → 18.Ba_qJjp6.js} +0 -0
@@ -1 +0,0 @@
1
- [data-select-viewport],[data-combobox-viewport]{scrollbar-width:none!important;-ms-overflow-style:none!important;-webkit-overflow-scrolling:touch!important}[data-combobox-viewport]::-webkit-scrollbar{display:none!important}[data-select-viewport]::-webkit-scrollbar{display:none!important}.page.svelte-1w6l7vk{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:100%;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.logs-col.svelte-1w6l7vk{flex:1;display:flex;flex-direction:column;overflow:hidden;min-height:0;background:transparent}.logs-toolbar-block.svelte-1w6l7vk{flex-shrink:0;padding-top:var(--main-padding-top);padding-bottom:var(--feed-sticky-gap-after);background:var(--color-background)}.log-body-scroll.svelte-1w6l7vk,.log-has-data.svelte-1w6l7vk{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.log-table-scroll.svelte-1w6l7vk{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.log-table-scroll.svelte-1w6l7vk::-webkit-scrollbar{width:4px}.log-table-scroll.svelte-1w6l7vk::-webkit-scrollbar-thumb{background:var(--color-scrollbar-thumb);border-radius:2px}.filters.svelte-1w6l7vk{padding:0;flex-shrink:0;padding-top:.75rem}.filter-row.svelte-1w6l7vk{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.filter-left.svelte-1w6l7vk{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;flex:1;min-width:0}.filter-row.svelte-1w6l7vk label:where(.svelte-1w6l7vk){display:inline-flex;align-items:center;gap:.35rem;font-size:.8125rem;color:var(--color-muted-foreground-strong)}.filter-row.svelte-1w6l7vk label:where(.svelte-1w6l7vk) span:where(.svelte-1w6l7vk){white-space:nowrap}.filter-level-field.svelte-1w6l7vk{display:inline-flex;align-items:center;gap:.35rem;font-size:.8125rem;color:var(--color-muted-foreground-strong)}.filter-level-label.svelte-1w6l7vk{white-space:nowrap}.level-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:.4rem;min-width:7rem;height:2rem;padding:0 .6rem;box-sizing:border-box;font-size:.8125rem;font-family:inherit;color:var(--color-foreground);background:var(--color-card-elevated);border:1px solid var(--color-input);border-radius:var(--radius-sm);cursor:pointer;transition:border-color .15s,background .15s}.level-select-trigger:hover{border-color:var(--color-border);background:var(--color-card)}.level-select-trigger[data-state=open]{border-color:var(--color-primary);box-shadow:0 0 0 1px color-mix(in srgb,var(--color-primary) 35%,transparent)}.level-select-value.svelte-1w6l7vk{flex:1;min-width:0;text-align:left;font-variant-numeric:tabular-nums}.level-select-chevron{flex-shrink:0;opacity:.65}.level-select-content{z-index:120;min-width:7rem;max-height:min(16rem,70vh);overflow:hidden;border-radius:var(--radius-sm);border:1px solid var(--color-border);background:var(--color-card-elevated);box-shadow:var(--shadow-panel);padding:.2rem}.level-select-viewport{padding:.1rem 0}.level-select-item{display:flex;align-items:center;padding:.4rem .55rem;font-size:.8125rem;border-radius:4px;cursor:pointer;color:var(--color-foreground);outline:none}.level-select-item[data-highlighted]{background:var(--color-muted)}.level-select-item[data-selected]{background:color-mix(in srgb,var(--color-primary) 16%,transparent);color:var(--color-foreground)}.label-category.svelte-1w6l7vk{flex:1;min-width:0;max-width:20rem}.filter-category-input.svelte-1w6l7vk{flex:1;min-width:0;padding:.35rem .6rem;border:1px solid var(--color-input);border-radius:5px;font-size:.8125rem;font-family:inherit;background:var(--color-card-elevated);color:var(--color-foreground)}.filter-category-input.svelte-1w6l7vk::placeholder{color:var(--color-muted-foreground-soft)}.filter-category-input.svelte-1w6l7vk:focus{outline:none;border-color:var(--color-primary)}.btn.svelte-1w6l7vk{display:inline-flex;align-items:center;padding:.4rem .9rem;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:.875rem;font-family:inherit;transition:background .15s}.btn-primary.svelte-1w6l7vk{background:var(--color-primary);color:var(--color-primary-foreground)}.btn-primary.svelte-1w6l7vk:hover:not(:disabled){background:var(--color-primary-hover)}.btn-secondary.svelte-1w6l7vk{background:var(--color-muted);color:var(--color-foreground);border:1px solid var(--color-border)}.btn-secondary.svelte-1w6l7vk:hover:not(:disabled){background:var(--color-accent)}.btn.svelte-1w6l7vk:disabled{opacity:.4;cursor:not-allowed}.btn-sm.svelte-1w6l7vk{padding:.25rem .5rem;font-size:.75rem}.table-wrap.svelte-1w6l7vk{width:100%}table.svelte-1w6l7vk{width:100%;table-layout:fixed;border-collapse:collapse}thead.svelte-1w6l7vk th:where(.svelte-1w6l7vk){position:sticky;top:0;z-index:3;background:color-mix(in srgb,var(--color-background) 94%,rgb(255 255 255) 6%);font-size:.72rem;font-weight:600;color:var(--color-muted-foreground);text-transform:uppercase;letter-spacing:.04em;padding:.5rem .75rem;text-align:left;border-bottom:1px solid var(--color-border);box-shadow:0 1px 0 var(--color-border)}tbody.svelte-1w6l7vk tr:where(.svelte-1w6l7vk){border-bottom:1px solid var(--color-border-muted)}tbody.svelte-1w6l7vk tr:where(.svelte-1w6l7vk):hover{background:var(--color-muted)}tbody.svelte-1w6l7vk td:where(.svelte-1w6l7vk){padding:.5rem .75rem;font-size:.8125rem;vertical-align:middle}.th-time.svelte-1w6l7vk{width:130px}.th-level.svelte-1w6l7vk{width:68px}.th-cat.svelte-1w6l7vk{width:7rem;max-width:28vw}.th-msg.svelte-1w6l7vk{min-width:0}.th-detail.svelte-1w6l7vk{width:32%}.log-row.svelte-1w6l7vk{cursor:pointer}.log-row.svelte-1w6l7vk:focus{outline:1px dotted var(--color-muted-foreground);outline-offset:-1px}.td-time.svelte-1w6l7vk{color:var(--color-muted-foreground);white-space:nowrap}.td-level.svelte-1w6l7vk{white-space:nowrap}.badge.svelte-1w6l7vk{display:inline-block;padding:.12rem .4rem;border-radius:4px;font-size:.7rem;font-weight:500}.badge.level-error.svelte-1w6l7vk{background:color-mix(in srgb,var(--color-destructive) 18%,transparent);color:var(--color-destructive);border:1px solid color-mix(in srgb,var(--color-destructive) 45%,transparent)}.badge.level-warn.svelte-1w6l7vk{background:#eab30824;color:#fbbf24;border:1px solid rgba(234,179,8,.35)}.badge.level-info.svelte-1w6l7vk{background:var(--color-primary-light);color:var(--color-primary-hover);border:1px solid color-mix(in srgb,var(--color-primary) 40%,transparent)}.badge.level-debug.svelte-1w6l7vk{background:var(--color-muted);color:var(--color-muted-foreground-strong);border:1px solid var(--color-border)}.td-cat.svelte-1w6l7vk{color:var(--color-muted-foreground-strong)}.td-msg.svelte-1w6l7vk{word-break:break-word;max-width:320px}.td-detail.svelte-1w6l7vk{color:var(--color-muted-foreground-soft);font-family:Menlo,Monaco,Consolas,monospace;font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.payload-row.svelte-1w6l7vk td:where(.svelte-1w6l7vk){padding:0 .75rem .5rem;background:var(--color-card);border-bottom:1px solid var(--color-border-muted);vertical-align:top}.payload-content.svelte-1w6l7vk{margin:0;padding:.5rem .75rem;font-family:Menlo,Monaco,Consolas,monospace;font-size:.72rem;line-height:1.5;background:var(--color-card-elevated);border:1px solid var(--color-border);border-radius:var(--radius-sm);overflow-x:auto;max-height:200px;overflow-y:auto;white-space:pre-wrap;word-break:break-all;color:var(--color-muted-foreground-strong)}.log-toolbar.svelte-1w6l7vk{display:flex;align-items:center;justify-content:space-between;padding:.65rem 0 0;flex-shrink:0;background:var(--color-background)}.pagination-info.svelte-1w6l7vk{font-size:.8125rem;color:var(--color-muted-foreground)}.pagination-btns.svelte-1w6l7vk{display:flex;gap:.5rem}.state.svelte-1w6l7vk{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:3rem 1.5rem;color:var(--color-muted-foreground-soft);font-size:.875rem}.state.err.svelte-1w6l7vk{flex:1;align-self:stretch;color:var(--color-destructive);background:color-mix(in srgb,var(--color-destructive) 12%,transparent);border-radius:var(--radius-md);padding:1rem;margin:.75rem 0}@media(max-width:720px){.page.svelte-1w6l7vk{max-width:100%}.payload-row.svelte-1w6l7vk td:where(.svelte-1w6l7vk){padding-left:.5rem}.payload-row.svelte-1w6l7vk td[colspan="5"]:where(.svelte-1w6l7vk){padding-left:.5rem}}
@@ -1 +0,0 @@
1
- .main.svelte-1x680s0{display:flex;flex-direction:column;align-items:center;padding:4rem 1.5rem 3rem}.hero.svelte-1x680s0{text-align:center;margin-bottom:2.25rem}.hero-eyebrow.svelte-1x680s0{font-size:.75rem;font-weight:600;color:var(--color-muted-foreground);text-transform:uppercase;letter-spacing:.09em;margin-bottom:.5rem}.hero-title.svelte-1x680s0{font-size:1.75rem;font-weight:800;letter-spacing:-.04em;margin-bottom:.6rem}.hero-sub.svelte-1x680s0{font-size:.9rem;color:var(--color-muted-foreground-strong);line-height:1.6;max-width:400px;margin:0 auto}.form-wrap.svelte-1x680s0{width:100%;max-width:520px}.url-row.svelte-1x680s0{display:flex;gap:.5rem;margin-bottom:.75rem}.url-row.svelte-1x680s0 input:where(.svelte-1x680s0){flex:1;padding:.65rem 1rem;border:1px solid var(--color-input);border-radius:var(--radius-md);font-size:.9375rem;outline:none;transition:border .15s,box-shadow .15s;min-width:0;background:var(--color-card-elevated);color:var(--color-foreground);font-family:inherit}.url-row.svelte-1x680s0 input:where(.svelte-1x680s0):focus{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-light)}.url-row.svelte-1x680s0 button:where(.svelte-1x680s0){padding:.65rem 1.375rem;background:var(--color-primary);color:var(--color-primary-foreground);border:none;border-radius:8px;cursor:pointer;font-size:.9rem;font-family:inherit;white-space:nowrap;transition:background .15s}.url-row.svelte-1x680s0 button:where(.svelte-1x680s0):hover{background:var(--color-primary-hover)}.form-opts.svelte-1x680s0{display:flex;align-items:center;gap:.5rem;padding-left:.25rem}.form-opts.svelte-1x680s0 label:where(.svelte-1x680s0){display:inline-flex;align-items:center;gap:.35rem;font-size:.8125rem;cursor:pointer;color:var(--color-muted-foreground-strong);-webkit-user-select:none;user-select:none}.form-opts.svelte-1x680s0 input[type=checkbox]:where(.svelte-1x680s0){margin:0;accent-color:var(--color-primary)}.hint.svelte-1x680s0{font-size:.775rem;color:var(--color-muted-foreground)}.info-box.svelte-1x680s0{margin-top:2rem;width:100%;max-width:520px;background:var(--color-primary-light);border:1px solid color-mix(in srgb,var(--color-primary) 38%,transparent);border-radius:var(--radius-md);padding:.875rem 1.125rem;font-size:.8rem;color:var(--color-muted-foreground-strong);line-height:1.7}.info-box.svelte-1x680s0 code:where(.svelte-1x680s0){background:var(--color-muted);padding:.1rem .35rem;border-radius:3px;font-family:monospace}@media(max-width:600px){.main.svelte-1x680s0{padding:2.5rem 1rem 2rem}}
@@ -1 +0,0 @@
1
- @keyframes svelte-ypseth-source-sheet-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes svelte-ypseth-source-sheet-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes svelte-ypseth-source-sheet-panel-in{0%{opacity:.92;transform:translate3d(100%,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes svelte-ypseth-source-sheet-panel-out{0%{opacity:1;transform:translateZ(0)}to{opacity:.92;transform:translate3d(100%,0,0)}}.source-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:110}.source-sheet-overlay[data-state=open]{animation:svelte-ypseth-source-sheet-overlay-in .28s cubic-bezier(.32,.72,0,1) both}.source-sheet-overlay[data-state=closed]{animation:svelte-ypseth-source-sheet-overlay-out .22s cubic-bezier(.36,0,.2,1) both}.source-sheet-panel{position:fixed;top:0;right:0;bottom:0;width:min(28rem,100vw);max-width:100%;z-index:111;display:flex;flex-direction:column;background:var(--color-card-elevated);border-left:1px solid var(--color-border);box-shadow:-8px 0 40px #00000059;outline:none;will-change:transform,opacity;backface-visibility:hidden}.source-sheet-panel[data-state=open]{animation:svelte-ypseth-source-sheet-panel-in .34s cubic-bezier(.32,.72,0,1) both}.source-sheet-panel[data-state=closed]{animation:svelte-ypseth-source-sheet-panel-out .28s cubic-bezier(.36,0,.2,1) both}@media(prefers-reduced-motion:reduce){.source-sheet-overlay[data-state=open],.source-sheet-overlay[data-state=closed],.source-sheet-panel[data-state=open],.source-sheet-panel[data-state=closed]{animation-duration:.01ms;animation-iteration-count:1}}.source-sheet-header.svelte-ypseth{flex-shrink:0;display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding:1rem 1rem .75rem 1.25rem;border-bottom:1px solid var(--color-border-muted)}.source-sheet-title-wrap.svelte-ypseth{min-width:0}.source-sheet-title{font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-sub.svelte-ypseth{margin:.35rem 0 0;font-size:.72rem;color:var(--color-muted-foreground-soft);line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-sheet-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:.35rem;color:var(--color-muted-foreground);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:color .15s,background .15s}.source-sheet-close:hover{color:var(--color-foreground);background:var(--color-muted)}.source-sheet-body.svelte-ypseth{flex:1;min-height:0;overflow-y:auto;padding:.5rem 0 1rem}.source-sheet-body.svelte-ypseth::-webkit-scrollbar{width:5px}.source-sheet-body.svelte-ypseth::-webkit-scrollbar-thumb{background:var(--color-scrollbar-thumb);border-radius:4px}.source-sheet-state.svelte-ypseth{padding:2rem 1.25rem;text-align:center;font-size:.875rem;color:var(--color-muted-foreground)}.source-sheet-state.err.svelte-ypseth{color:var(--color-destructive)}.source-feed-list.svelte-ypseth{list-style:none;margin:0;padding:0}.source-feed-row.svelte-ypseth{border-bottom:1px solid var(--color-border-muted)}.source-feed-row.svelte-ypseth:last-child{border-bottom:none}.source-feed-link.svelte-ypseth{display:flex;flex-direction:column;align-items:stretch;gap:.25rem;padding:.65rem 1.25rem;min-width:0;text-decoration:none;color:inherit;transition:background .12s}.source-feed-link.svelte-ypseth:hover{background:var(--color-muted)}.source-feed-title.svelte-ypseth{font-size:.8125rem;font-weight:500;color:var(--color-foreground);line-height:1.4;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-feed-link.svelte-ypseth:hover .source-feed-title:where(.svelte-ypseth){color:var(--color-primary)}.source-feed-meta.svelte-ypseth{display:inline-flex;align-items:center;align-self:flex-start;gap:.35rem;flex-shrink:0;font-size:.7rem;color:var(--color-muted-foreground-soft);font-variant-numeric:tabular-nums}.source-feed-ext.svelte-ypseth{opacity:.65;flex-shrink:0}.feed-wrap.svelte-1beoyzy{margin-top:calc(-1 * var(--main-padding-top));width:100%;max-width:100%;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.feed-col.svelte-1beoyzy{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:transparent}.feed-toolbar-block.svelte-1beoyzy{flex-shrink:0;padding-top:var(--main-padding-top);padding-bottom:var(--feed-sticky-gap-after);background:var(--color-background)}.feed-body-scroll.svelte-1beoyzy{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.feed-header.svelte-1beoyzy{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 0;flex-shrink:0;border-bottom:1px solid var(--color-border-muted)}.header-left.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.header-right.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.filter-input.svelte-1beoyzy{flex:1;min-width:7rem;max-width:18rem;width:auto;padding:.35rem .6rem;font-size:.8125rem;border:1px solid var(--color-input);border-radius:var(--radius-sm);outline:none;background:var(--color-card-elevated);color:var(--color-foreground);transition:border-color .15s,background .15s}.filter-input.svelte-1beoyzy:focus{border-color:var(--color-primary);background:var(--color-card)}.filter-input.svelte-1beoyzy::placeholder{color:var(--color-muted-foreground-soft)}.sort-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;font-size:.8125rem;color:var(--color-muted-foreground);background:var(--color-card);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer;white-space:nowrap;transition:color .15s,border-color .15s,background .15s}.sort-btn:hover{color:var(--color-primary);border-color:var(--color-border);background:var(--color-muted)}.btn-add.svelte-1beoyzy{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.35rem .65rem;font-size:.8125rem;font-weight:500;white-space:nowrap;color:var(--color-primary-foreground);background:var(--color-primary);border:none;border-radius:6px;cursor:pointer;transition:opacity .15s,background .15s}.btn-add.svelte-1beoyzy:hover{opacity:.9;background:var(--color-primary-hover, var(--color-primary))}.dropdown-panel{z-index:50;background:var(--color-card);border:1px solid var(--color-border);border-radius:var(--radius-sm);box-shadow:var(--shadow-panel)}.more-menu{width:11.5rem;min-width:11.5rem;padding:.25rem;box-sizing:border-box}.more-menu-item.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem;width:100%;padding:.4rem .65rem;font-size:.8125rem;text-align:left;border:none;border-radius:6px;cursor:pointer;background:transparent;color:var(--color-muted-foreground-strong);text-decoration:none;transition:background .15s,color .15s}.more-menu-item.svelte-1beoyzy:hover:not(:disabled){background:var(--color-muted);color:var(--color-accent-foreground)}.more-menu-item.svelte-1beoyzy:disabled{opacity:.6;cursor:not-allowed}.more-menu-item-danger.svelte-1beoyzy:hover:not(:disabled){color:var(--color-destructive);background:color-mix(in srgb,var(--color-destructive) 14%,transparent)}.more-menu-item-remove.svelte-1beoyzy{color:var(--color-destructive)}.more-menu-item-remove.svelte-1beoyzy svg{color:var(--color-destructive)}.more-menu-item-remove.svelte-1beoyzy:hover:not(:disabled){background:color-mix(in srgb,var(--color-destructive) 14%,transparent);color:var(--color-destructive)}.more-menu-item.pulling.svelte-1beoyzy svg{animation:svelte-1beoyzy-spin .8s linear infinite}.sort-options.svelte-1beoyzy{display:flex;flex-direction:column;gap:.1rem;padding:.4rem;min-width:7rem}.sort-option.svelte-1beoyzy{padding:.4rem .65rem;font-size:.8125rem;text-align:left;border:none;border-radius:6px;cursor:pointer;background:transparent;color:var(--color-muted-foreground-strong);transition:color .15s}.sort-option.svelte-1beoyzy:hover{color:var(--color-accent-foreground);background:var(--color-muted)}.sort-option.active.svelte-1beoyzy{color:var(--color-primary);font-weight:500}.state.svelte-1beoyzy{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:1.5rem 1.25rem;color:var(--color-muted-foreground);font-size:.875rem;gap:.25rem}.state.error.svelte-1beoyzy{color:var(--color-destructive)}.link-btn.svelte-1beoyzy{background:none;border:none;padding:0;color:var(--color-primary);font-size:inherit;cursor:pointer;text-decoration:underline}.link-btn.svelte-1beoyzy:hover{text-decoration:underline}.list.svelte-1beoyzy{min-width:min(100%,580px);width:100%;display:flex;flex-direction:column}.row-grid.svelte-1beoyzy{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) minmax(4.5rem,.55fr) minmax(5.5rem,.5fr) minmax(2.75rem,.35fr) auto;gap:.5rem .75rem;align-items:center;padding:.55rem 0;box-sizing:border-box}.list-head.svelte-1beoyzy{border-bottom:1px solid var(--color-border);padding-top:.15rem;padding-bottom:.45rem}.col-h.svelte-1beoyzy{font-size:.65rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--color-muted-foreground-soft);white-space:nowrap}.col-h.col-actions.svelte-1beoyzy{width:auto;min-width:2.75rem}.card.svelte-1beoyzy{border-bottom:1px solid var(--color-border);transition:background .15s;cursor:pointer}.card.svelte-1beoyzy:hover{background:var(--color-muted)}.card.svelte-1beoyzy:focus-visible{outline:1px solid color-mix(in srgb,var(--color-primary) 55%,transparent);outline-offset:-1px}.card.svelte-1beoyzy:last-child{border-bottom:none}.cell-title.svelte-1beoyzy{min-width:0}.title-block.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.3rem;min-width:0;max-width:100%;color:inherit}.title-text.svelte-1beoyzy{font-size:.875rem;font-weight:500;color:var(--color-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.card-weight.svelte-1beoyzy{font-size:.65rem;color:#fbbf24;font-weight:500;flex-shrink:0}.cell-desc.svelte-1beoyzy{font-size:.78rem;color:var(--color-muted-foreground);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.cell-parse.svelte-1beoyzy{min-width:0}.parse-mode.svelte-1beoyzy{font-size:.75rem;font-weight:500;color:var(--color-muted-foreground-strong);white-space:nowrap}.cell-latest.svelte-1beoyzy,.cell-count.svelte-1beoyzy{font-size:.78rem;color:var(--color-muted-foreground-strong);min-width:0}.tabular.svelte-1beoyzy{font-variant-numeric:tabular-nums}.cell-actions.svelte-1beoyzy{display:inline-flex;align-items:center;justify-content:flex-end;flex-shrink:0}@keyframes svelte-1beoyzy-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.btn-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;color:var(--color-muted-foreground);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:color .15s,background .15s}.btn-icon:hover{color:var(--color-foreground);background:var(--color-muted)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;z-index:100}.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--color-card-elevated);border-radius:10px;width:calc(100% - 2rem);max-width:460px;box-shadow:var(--shadow-panel);border:1px solid var(--color-border);display:flex;flex-direction:column;overflow:hidden;z-index:101}.modal .modal-header.svelte-1beoyzy{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem .75rem;border-bottom:1px solid var(--color-border-muted)}.modal-title{font-size:.9375rem;font-weight:600;margin:0;color:var(--color-foreground)}.modal-close{background:none;border:none;padding:.25rem;font-size:1rem;color:var(--color-muted-foreground);cursor:pointer;line-height:1;border-radius:4px}.modal-close:hover{color:var(--color-foreground);background:var(--color-muted)}.modal-body.svelte-1beoyzy{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}.field.svelte-1beoyzy{display:flex;flex-direction:column;gap:.3rem}.field-row.svelte-1beoyzy{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.field-label.svelte-1beoyzy{font-size:.8rem;font-weight:500;color:var(--color-muted-foreground-strong)}.required.svelte-1beoyzy{color:var(--color-destructive)}.ref-input-wrap.svelte-1beoyzy{display:flex;align-items:center;gap:.35rem;width:100%}.ref-input-wrap.svelte-1beoyzy .field-input:where(.svelte-1beoyzy){flex:1;min-width:0}.parse-hints.svelte-1beoyzy{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem}.parse-hint.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .45rem;font-size:.72rem;font-weight:500;color:var(--color-muted-foreground-soft);border-radius:5px;border:1px solid transparent;background:transparent;transition:color .15s,border-color .15s,background .15s}.parse-hint.active.svelte-1beoyzy{color:var(--color-primary);border-color:color-mix(in srgb,var(--color-primary) 35%,transparent);background:color-mix(in srgb,var(--color-primary) 10%,transparent)}.field-input.svelte-1beoyzy{padding:.4rem .65rem;font-size:.875rem;border:1px solid var(--color-input);border-radius:var(--radius-sm);outline:none;background:var(--color-card);color:var(--color-foreground);font-family:inherit;transition:border-color .15s,background .15s;width:100%}.field-input.svelte-1beoyzy:focus{border-color:var(--color-primary);background:var(--color-card-elevated)}.field-input--weight.svelte-1beoyzy{-moz-appearance:textfield}.field-input--weight.svelte-1beoyzy::-webkit-outer-spin-button,.field-input--weight.svelte-1beoyzy::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.save-error.svelte-1beoyzy{font-size:.8rem;color:var(--color-destructive);margin:0}.modal-footer.svelte-1beoyzy{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem 1.25rem;border-top:1px solid var(--color-border-muted)}.modal-footer-left.svelte-1beoyzy{display:flex;align-items:center}.modal-footer-right.svelte-1beoyzy{display:flex;align-items:center;gap:.5rem}.btn-delete.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.3rem;padding:.4rem .8rem;font-size:.875rem;color:var(--color-destructive);background:transparent;border:1px solid color-mix(in srgb,var(--color-destructive) 45%,transparent);border-radius:var(--radius-sm);cursor:pointer;transition:background .15s}.btn-delete.svelte-1beoyzy:hover:not(:disabled){background:color-mix(in srgb,var(--color-destructive) 12%,transparent)}.confirm-delete-row.svelte-1beoyzy{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem}.confirm-delete-text.svelte-1beoyzy{color:var(--color-destructive);font-weight:500}.btn-confirm-yes.svelte-1beoyzy{padding:.3rem .7rem;font-size:.8rem;color:var(--color-destructive-foreground);background:var(--color-destructive);border:none;border-radius:5px;cursor:pointer}.btn-confirm-yes.svelte-1beoyzy:disabled{opacity:.6;cursor:not-allowed}.btn-confirm-no.svelte-1beoyzy{padding:.3rem .6rem;font-size:.8rem;color:var(--color-foreground);background:var(--color-muted);border:1px solid var(--color-border);border-radius:5px;cursor:pointer}.btn-cancel{padding:.4rem 1rem;font-size:.875rem;color:var(--color-foreground);background:var(--color-muted);border:1px solid var(--color-border);border-radius:var(--radius-sm);cursor:pointer}.btn-cancel:hover:not(:disabled){background:var(--color-accent)}.btn-save.svelte-1beoyzy{padding:.4rem 1.2rem;font-size:.875rem;color:var(--color-primary-foreground);background:var(--color-primary);border:none;border-radius:6px;cursor:pointer;transition:opacity .15s}.btn-save.svelte-1beoyzy:hover:not(:disabled){opacity:.85}.btn-save.svelte-1beoyzy:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.feed-wrap.svelte-1beoyzy{max-width:100%}.field-row.svelte-1beoyzy{grid-template-columns:1fr}}
@@ -1 +0,0 @@
1
- var mn=Object.defineProperty;var Nt=e=>{throw TypeError(e)};var bn=(e,t,n)=>t in e?mn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ue=(e,t,n)=>bn(e,typeof t!="symbol"?t+"":t,n),tt=(e,t,n)=>t.has(e)||Nt("Cannot "+n);var u=(e,t,n)=>(tt(e,t,"read from private field"),n?n.call(e):t.get(e)),k=(e,t,n)=>t.has(e)?Nt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),be=(e,t,n,r)=>(tt(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),D=(e,t,n)=>(tt(e,t,"access private method"),n);var Tn=Array.isArray,An=Array.prototype.indexOf,Re=Array.prototype.includes,Er=Array.from,mr=Object.defineProperty,Pe=Object.getOwnPropertyDescriptor,Sn=Object.getOwnPropertyDescriptors,xn=Object.prototype,Rn=Array.prototype,Yt=Object.getPrototypeOf,Ot=Object.isExtensible;function br(e){return typeof e=="function"}const Nn=()=>{};function Tr(e){return e()}function On(e){for(var t=0;t<e.length;t++)e[t]()}function Ht(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Ar(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const A=2,pe=4,Ye=8,dt=1<<24,W=16,z=32,se=64,kn=128,L=512,m=1024,N=2048,V=4096,q=8192,U=16384,me=32768,kt=1<<25,Ge=65536,st=1<<17,Cn=1<<18,Oe=1<<19,qt=1<<20,Sr=1<<25,we=65536,at=1<<21,We=1<<22,ne=1<<23,de=Symbol("$state"),xr=Symbol("legacy props"),Rr=Symbol(""),K=new class extends Error{constructor(){super(...arguments);ue(this,"name","StaleReactionError");ue(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};var jt;const Or=!!((jt=globalThis.document)!=null&&jt.contentType)&&globalThis.document.contentType.includes("xml"),kr=1,Je=3,Ut=8;function Dn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function In(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Cr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Pn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Mn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Fn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ln(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ir(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function jn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Yn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Hn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Mr=1,Fr=2,Lr=4,jr=8,Yr=16,Hr=1,qr=2,Ur=4,Vr=8,Br=16,Gr=1,zr=2,qn="[",Un="[!",Kr="[?",Vn="]",ht={},S=Symbol(),Bn="http://www.w3.org/1999/xhtml",$r="http://www.w3.org/2000/svg",Xr="@attach";function pt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Zr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Wr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let ye=!1;function Jr(e){ye=e}let T;function Ne(e){if(e===null)throw pt(),ht;return T=e}function Qr(){return Ne(oe(T))}function es(e){if(ye){if(oe(T)!==null)throw pt(),ht;T=e}}function ts(e=1){if(ye){for(var t=e,n=T;t--;)n=oe(n);T=n}}function ns(e=!0){for(var t=0,n=T;;){if(n.nodeType===Ut){var r=n.data;if(r===Vn){if(t===0)return n;t-=1}else(r===qn||r===Un||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=oe(n);e&&n.remove(),n=s}}function rs(e){if(!e||e.nodeType!==Ut)throw pt(),ht;return e.data}function Vt(e){return e===this.v}function Gn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Bt(e){return!Gn(e,this.v)}let Qe=!1;function ss(){Qe=!0}let g=null;function ze(e){g=e}function as(e){return et().get(e)}function is(e,t){return et().set(e,t),t}function fs(e){return et().has(e)}function ls(){return et()}function os(e,t=!1,n){g={p:g,i:!1,c:null,e:null,s:e,x:null,r:y,l:Qe&&!t?{s:null,u:null,$:[]}:null}}function us(e){var t=g,n=t.e;if(n!==null){t.e=null;for(var r of n)ln(r)}return t.i=!0,g=t.p,{}}function He(){return!Qe||g!==null&&g.l===null}function et(e){return g===null&&Dn(),g.c??(g.c=new Map(zn(g)||void 0))}function zn(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let ce=[];function Gt(){var e=ce;ce=[],On(e)}function it(e){if(ce.length===0&&!Me){var t=ce;queueMicrotask(()=>{t===ce&&Gt()})}ce.push(e)}function Kn(){for(;ce.length>0;)Gt()}function $n(e){var t=y;if(t===null)return p.f|=ne,e;if((t.f&me)===0&&(t.f&pe)===0)throw e;Ke(e,t)}function Ke(e,t){for(;t!==null;){if((t.f&kn)!==0){if((t.f&me)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Xn=-7169;function E(e,t){e.f=e.f&Xn|t}function wt(e){(e.f&L)!==0||e.deps===null?E(e,m):E(e,V)}function zt(e){if(e!==null)for(const t of e)(t.f&A)===0||(t.f&we)===0||(t.f^=we,zt(t.deps))}function Zn(e,t,n){(e.f&N)!==0?t.add(e):(e.f&V)!==0&&n.add(e),zt(e.deps),E(e,m)}const J=new Set;let w=null,x=null,ft=null,Me=!1,nt=!1,Te=null,qe=null;var Ct=0;let Wn=1;var Ae,Se,X,B,Le,P,je,ee,Z,G,xe,ve,b,Ue,Kt,Ve,lt,ot,$t;const Ze=class Ze{constructor(){k(this,b);ue(this,"id",Wn++);ue(this,"current",new Map);ue(this,"previous",new Map);k(this,Ae,new Set);k(this,Se,new Set);k(this,X,new Map);k(this,B,new Map);k(this,Le,null);k(this,P,[]);k(this,je,[]);k(this,ee,new Set);k(this,Z,new Set);k(this,G,new Map);ue(this,"is_fork",!1);k(this,xe,!1);k(this,ve,new Set)}skip_effect(t){u(this,G).has(t)||u(this,G).set(t,{d:[],m:[]})}unskip_effect(t){var n=u(this,G).get(t);if(n){u(this,G).delete(t);for(var r of n.d)E(r,N),this.schedule(r);for(r of n.m)E(r,V),this.schedule(r)}}capture(t,n,r=!1){n!==S&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&ne)===0&&(this.current.set(t,[t.v,r]),x==null||x.set(t,t.v))}activate(){w=this}deactivate(){w=null,x=null}flush(){try{nt=!0,w=this,D(this,b,Ve).call(this)}finally{Ct=0,ft=null,Te=null,qe=null,nt=!1,w=null,x=null,re.clear()}}discard(){for(const t of u(this,Se))t(this);u(this,Se).clear(),J.delete(this)}register_created_effect(t){u(this,je).push(t)}increment(t,n){let r=u(this,X).get(n)??0;if(u(this,X).set(n,r+1),t){let s=u(this,B).get(n)??0;u(this,B).set(n,s+1)}}decrement(t,n,r){let s=u(this,X).get(n)??0;if(s===1?u(this,X).delete(n):u(this,X).set(n,s-1),t){let a=u(this,B).get(n)??0;a===1?u(this,B).delete(n):u(this,B).set(n,a-1)}u(this,xe)||r||(be(this,xe,!0),it(()=>{be(this,xe,!1),this.flush()}))}transfer_effects(t,n){for(const r of t)u(this,ee).add(r);for(const r of n)u(this,Z).add(r);t.clear(),n.clear()}oncommit(t){u(this,Ae).add(t)}ondiscard(t){u(this,Se).add(t)}settled(){return(u(this,Le)??be(this,Le,Ht())).promise}static ensure(){if(w===null){const t=w=new Ze;nt||(J.add(w),Me||it(()=>{w===t&&t.flush()}))}return w}apply(){{x=null;return}}schedule(t){var s;if(ft=t,(s=t.b)!=null&&s.is_pending&&(t.f&(pe|Ye|dt))!==0&&(t.f&me)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Te!==null&&n===y&&(p===null||(p.f&A)===0))return;if((r&(se|z))!==0){if((r&m)===0)return;n.f^=m}}u(this,P).push(n)}};Ae=new WeakMap,Se=new WeakMap,X=new WeakMap,B=new WeakMap,Le=new WeakMap,P=new WeakMap,je=new WeakMap,ee=new WeakMap,Z=new WeakMap,G=new WeakMap,xe=new WeakMap,ve=new WeakMap,b=new WeakSet,Ue=function(){return this.is_fork||u(this,B).size>0},Kt=function(){for(const r of u(this,ve))for(const s of u(r,B).keys()){for(var t=!1,n=s;n.parent!==null;){if(u(this,G).has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1},Ve=function(){var l,f;if(Ct++>1e3&&(J.delete(this),Qn()),!D(this,b,Ue).call(this)){for(const i of u(this,ee))u(this,Z).delete(i),E(i,N),this.schedule(i);for(const i of u(this,Z))E(i,V),this.schedule(i)}const t=u(this,P);be(this,P,[]),this.apply();var n=Te=[],r=[],s=qe=[];for(const i of t)try{D(this,b,lt).call(this,i,n,r)}catch(c){throw Wt(i),c}if(w=null,s.length>0){var a=Ze.ensure();for(const i of s)a.schedule(i)}if(Te=null,qe=null,D(this,b,Ue).call(this)||D(this,b,Kt).call(this)){D(this,b,ot).call(this,r),D(this,b,ot).call(this,n);for(const[i,c]of u(this,G))Zt(i,c)}else{u(this,X).size===0&&J.delete(this),u(this,ee).clear(),u(this,Z).clear();for(const i of u(this,Ae))i(this);u(this,Ae).clear(),Dt(r),Dt(n),(l=u(this,Le))==null||l.resolve()}var o=w;if(u(this,P).length>0){const i=o??(o=this);u(i,P).push(...u(this,P).filter(c=>!u(i,P).includes(c)))}o!==null&&(J.add(o),D(f=o,b,Ve).call(f)),J.has(this)||D(this,b,$t).call(this)},lt=function(t,n,r){t.f^=m;for(var s=t.first;s!==null;){var a=s.f,o=(a&(z|se))!==0,l=o&&(a&m)!==0,f=l||(a&q)!==0||u(this,G).has(s);if(!f&&s.fn!==null){o?s.f^=m:(a&pe)!==0?n.push(s):ke(s)&&((a&W)!==0&&u(this,Z).add(s),Ee(s));var i=s.first;if(i!==null){s=i;continue}}for(;s!==null;){var c=s.next;if(c!==null){s=c;break}s=s.parent}}},ot=function(t){for(var n=0;n<t.length;n+=1)Zn(t[n],u(this,ee),u(this,Z))},$t=function(){var c,h,v;for(const d of J){var t=d.id<this.id,n=[];for(const[_,[O,R]]of this.current){if(d.current.has(_)){var r=d.current.get(_)[0];if(t&&O!==r)d.current.set(_,[O,R]);else continue}n.push(_)}var s=[...d.current.keys()].filter(_=>!this.current.has(_));if(s.length===0)t&&d.discard();else if(n.length>0){d.activate();var a=new Set,o=new Map;for(var l of n)Xt(l,s,a,o);o=new Map;var f=[...d.current.keys()].filter(_=>this.current.has(_)?this.current.get(_)[0]!==_:!0);for(const _ of u(this,je))(_.f&(U|q|st))===0&&yt(_,f,o)&&((_.f&(We|W))!==0?(E(_,N),d.schedule(_)):u(d,ee).add(_));if(u(d,P).length>0){d.apply();for(var i of u(d,P))D(c=d,b,lt).call(c,i,[],[]);be(d,P,[])}d.deactivate()}}for(const d of J)u(d,ve).has(this)&&(u(d,ve).delete(this),u(d,ve).size===0&&!D(h=d,b,Ue).call(h)&&(d.activate(),D(v=d,b,Ve).call(v)))};let ae=Ze;function Jn(e){var t=Me;Me=!0;try{for(var n;;){if(Kn(),w===null)return n;w.flush()}}finally{Me=t}}function Qn(){try{Ln()}catch(e){Ke(e,ft)}}let Y=null;function Dt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(U|q))===0&&ke(r)&&(Y=new Set,Ee(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&cn(r),(Y==null?void 0:Y.size)>0)){re.clear();for(const s of Y){if((s.f&(U|q))!==0)continue;const a=[s];let o=s.parent;for(;o!==null;)Y.has(o)&&(Y.delete(o),a.push(o)),o=o.parent;for(let l=a.length-1;l>=0;l--){const f=a[l];(f.f&(U|q))===0&&Ee(f)}}Y.clear()}}Y=null}}function Xt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const a=s.f;(a&A)!==0?Xt(s,t,n,r):(a&(We|W))!==0&&(a&N)===0&&yt(s,t,r)&&(E(s,N),gt(s))}}function yt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(Re.call(t,s))return!0;if((s.f&A)!==0&&yt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function gt(e){w.schedule(e)}function Zt(e,t){if(!((e.f&z)!==0&&(e.f&m)!==0)){(e.f&N)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),E(e,m);for(var n=e.first;n!==null;)Zt(n,t),n=n.next}}function Wt(e){E(e,m);for(var t=e.first;t!==null;)Wt(t),t=t.next}function Jt(e,t,n,r){const s=He()?mt:nr;var a=e.filter(v=>!v.settled);if(n.length===0&&a.length===0){r(t.map(s));return}var o=y,l=er(),f=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(v=>v.promise)):null;function i(v){l();try{r(v)}catch(d){(o.f&U)===0&&Ke(d,o)}$e()}if(n.length===0){f.then(()=>i(t.map(s)));return}var c=Et();function h(){Promise.all(n.map(v=>tr(v))).then(v=>i([...t.map(s),...v])).catch(v=>Ke(v,o)).finally(()=>c())}f?f.then(()=>{l(),h(),$e()}):h()}function er(){var e=y,t=p,n=g,r=w;return function(a=!0){le(e),fe(t),ze(n),a&&(e.f&U)===0&&(r==null||r.activate(),r==null||r.apply())}}function $e(e=!0){le(null),fe(null),ze(null),e&&(w==null||w.deactivate())}function Et(){var e=y,t=e.b,n=w,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(s=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,s)}}function mt(e){var t=A|N,n=p!==null&&(p.f&A)!==0?p:null;return y!==null&&(y.f|=Oe),{ctx:g,deps:null,effects:null,equals:Vt,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??y,ac:null}}function tr(e,t,n){let r=y;r===null&&In();var s=void 0,a=Tt(S),o=!p,l=new Map;return _r(()=>{var d;var f=y,i=Ht();s=i.promise;try{Promise.resolve(e()).then(i.resolve,i.reject).finally($e)}catch(_){i.reject(_),$e()}var c=w;if(o){if((f.f&me)!==0)var h=Et();if(r.b.is_rendered())(d=l.get(c))==null||d.reject(K),l.delete(c);else{for(const _ of l.values())_.reject(K);l.clear()}l.set(c,i)}const v=(_,O=void 0)=>{if(h){var R=O===K;h(R)}if(!(O===K||(f.f&U)!==0)){if(c.activate(),O)a.f|=ne,ct(a,O);else{(a.f&ne)!==0&&(a.f^=ne),ct(a,_);for(const[Ce,De]of l){if(l.delete(Ce),Ce===c)break;De.reject(K)}}c.deactivate()}};i.promise.then(v,_=>v(null,_||"unknown"))}),cr(()=>{for(const f of l.values())f.reject(K)}),new Promise(f=>{function i(c){function h(){c===s?f(a):i(s)}c.then(h,h)}i(s)})}function cs(e){const t=mt(e);return dn(t),t}function nr(e){const t=mt(e);return t.equals=Bt,t}function rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ie(t[n])}}function sr(e){for(var t=e.parent;t!==null;){if((t.f&A)===0)return(t.f&U)===0?t:null;t=t.parent}return null}function bt(e){var t,n=y;le(sr(e));try{e.f&=~we,rr(e),t=yn(e)}finally{le(n)}return t}function Qt(e){var t=e.v,n=bt(e);if(!e.equals(n)&&(e.wv=pn(),(!(w!=null&&w.is_fork)||e.deps===null)&&(e.v=n,w==null||w.capture(e,t,!0),e.deps===null))){E(e,m);return}ge||(x!==null?(fn()||w!=null&&w.is_fork)&&x.set(e,n):wt(e))}function ar(e){var t,n;if(e.effects!==null)for(const r of e.effects)(r.teardown||r.ac)&&((t=r.teardown)==null||t.call(r),(n=r.ac)==null||n.abort(K),r.teardown=Nn,r.ac=null,Fe(r,0),xt(r))}function en(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ee(t)}let ut=new Set;const re=new Map;let tn=!1;function Tt(e,t){var n={f:0,v:e,reactions:null,equals:Vt,rv:0,wv:0};return n}function Q(e,t){const n=Tt(e);return dn(n),n}function _s(e,t=!1,n=!0){var s;const r=Tt(e);return t||(r.equals=Bt),Qe&&n&&g!==null&&g.l!==null&&((s=g.l).s??(s.s=[])).push(r),r}function $(e,t,n=!1){p!==null&&(!H||(p.f&st)!==0)&&He()&&(p.f&(A|W|We|st))!==0&&(j===null||!Re.call(j,e))&&Hn();let r=n?Ie(t):t;return ct(e,r,qe)}function ct(e,t,n=null){if(!e.equals(t)){var r=e.v;ge?re.set(e,t):re.set(e,r),e.v=t;var s=ae.ensure();if(s.capture(e,r),(e.f&A)!==0){const a=e;(e.f&N)!==0&&bt(a),x===null&&wt(a)}e.wv=pn(),nn(e,N,n),He()&&y!==null&&(y.f&m)!==0&&(y.f&(z|se))===0&&(F===null?pr([e]):F.push(e)),!s.is_fork&&ut.size>0&&!tn&&ir()}return t}function ir(){tn=!1;for(const e of ut)(e.f&m)!==0&&E(e,V),ke(e)&&Ee(e);ut.clear()}function vs(e,t=1){var n=te(e),r=t===1?n++:n--;return $(e,n),r}function ds(e,t=1){var n=te(e);return $(e,t===1?++n:--n)}function rt(e){$(e,e.v+1)}function nn(e,t,n){var r=e.reactions;if(r!==null)for(var s=He(),a=r.length,o=0;o<a;o++){var l=r[o],f=l.f;if(!(!s&&l===y)){var i=(f&N)===0;if(i&&E(l,t),(f&A)!==0){var c=l;x==null||x.delete(c),(f&we)===0&&(f&L&&(l.f|=we),nn(c,V,n))}else if(i){var h=l;(f&W)!==0&&Y!==null&&Y.add(h),n!==null?n.push(h):gt(h)}}}}function Ie(e){if(typeof e!="object"||e===null||de in e)return e;const t=Yt(e);if(t!==xn&&t!==Rn)return e;var n=new Map,r=Tn(e),s=Q(0),a=he,o=l=>{if(he===a)return l();var f=p,i=he;fe(null),Lt(a);var c=l();return fe(f),Lt(i),c};return r&&n.set("length",Q(e.length)),new Proxy(e,{defineProperty(l,f,i){(!("value"in i)||i.configurable===!1||i.enumerable===!1||i.writable===!1)&&jn();var c=n.get(f);return c===void 0?o(()=>{var h=Q(i.value);return n.set(f,h),h}):$(c,i.value,!0),!0},deleteProperty(l,f){var i=n.get(f);if(i===void 0){if(f in l){const c=o(()=>Q(S));n.set(f,c),rt(s)}}else $(i,S),rt(s);return!0},get(l,f,i){var d;if(f===de)return e;var c=n.get(f),h=f in l;if(c===void 0&&(!h||(d=Pe(l,f))!=null&&d.writable)&&(c=o(()=>{var _=Ie(h?l[f]:S),O=Q(_);return O}),n.set(f,c)),c!==void 0){var v=te(c);return v===S?void 0:v}return Reflect.get(l,f,i)},getOwnPropertyDescriptor(l,f){var i=Reflect.getOwnPropertyDescriptor(l,f);if(i&&"value"in i){var c=n.get(f);c&&(i.value=te(c))}else if(i===void 0){var h=n.get(f),v=h==null?void 0:h.v;if(h!==void 0&&v!==S)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return i},has(l,f){var v;if(f===de)return!0;var i=n.get(f),c=i!==void 0&&i.v!==S||Reflect.has(l,f);if(i!==void 0||y!==null&&(!c||(v=Pe(l,f))!=null&&v.writable)){i===void 0&&(i=o(()=>{var d=c?Ie(l[f]):S,_=Q(d);return _}),n.set(f,i));var h=te(i);if(h===S)return!1}return c},set(l,f,i,c){var Rt;var h=n.get(f),v=f in l;if(r&&f==="length")for(var d=i;d<h.v;d+=1){var _=n.get(d+"");_!==void 0?$(_,S):d in l&&(_=o(()=>Q(S)),n.set(d+"",_))}if(h===void 0)(!v||(Rt=Pe(l,f))!=null&&Rt.writable)&&(h=o(()=>Q(void 0)),$(h,Ie(i)),n.set(f,h));else{v=h.v!==S;var O=o(()=>Ie(i));$(h,O)}var R=Reflect.getOwnPropertyDescriptor(l,f);if(R!=null&&R.set&&R.set.call(c,i),!v){if(r&&typeof f=="string"){var Ce=n.get("length"),De=Number(f);Number.isInteger(De)&&De>=Ce.v&&$(Ce,De+1)}rt(s)}return!0},ownKeys(l){te(s);var f=Reflect.ownKeys(l).filter(h=>{var v=n.get(h);return v===void 0||v.v!==S});for(var[i,c]of n)c.v!==S&&!(i in l)&&f.push(i);return f},setPrototypeOf(){Yn()}})}function It(e){try{if(e!==null&&typeof e=="object"&&de in e)return e[de]}catch{}return e}function hs(e,t){return Object.is(It(e),It(t))}var Pt,fr,lr,rn,sn;function ps(){if(Pt===void 0){Pt=window,fr=document,lr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;rn=Pe(t,"firstChild").get,sn=Pe(t,"nextSibling").get,Ot(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ot(n)&&(n.__t=void 0)}}function Xe(e=""){return document.createTextNode(e)}function _t(e){return rn.call(e)}function oe(e){return sn.call(e)}function ws(e,t){if(!ye)return _t(e);var n=_t(T);if(n===null)n=T.appendChild(Xe());else if(t&&n.nodeType!==Je){var r=Xe();return n==null||n.before(r),Ne(r),r}return t&&At(n),Ne(n),n}function ys(e,t=!1){if(!ye){var n=_t(e);return n instanceof Comment&&n.data===""?oe(n):n}if(t){if((T==null?void 0:T.nodeType)!==Je){var r=Xe();return T==null||T.before(r),Ne(r),r}At(T)}return T}function gs(e,t=1,n=!1){let r=ye?T:e;for(var s;t--;)s=r,r=oe(r);if(!ye)return r;if(n){if((r==null?void 0:r.nodeType)!==Je){var a=Xe();return r===null?s==null||s.after(a):r.before(a),Ne(a),a}At(r)}return Ne(r),r}function Es(e){e.textContent=""}function ms(){return!1}function bs(e,t,n){return document.createElementNS(t??Bn,e,void 0)}function At(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Je;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Ts(e,t){if(t){const n=document.body;e.autofocus=!0,it(()=>{document.activeElement===n&&e.focus()})}}let Mt=!1;function or(){Mt||(Mt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function St(e){var t=p,n=y;fe(null),le(null);try{return e()}finally{fe(t),le(n)}}function As(e,t,n,r=n){e.addEventListener(t,()=>St(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),or()}function an(e){y===null&&(p===null&&Fn(),Mn()),ge&&Pn()}function ur(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function M(e,t){var n=y;n!==null&&(n.f&q)!==0&&(e|=q);var r={ctx:g,deps:null,nodes:null,f:e|N|L,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};w==null||w.register_created_effect(r);var s=r;if((e&pe)!==0)Te!==null?Te.push(r):ae.ensure().schedule(r);else if(t!==null){try{Ee(r)}catch(o){throw ie(r),o}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&Oe)===0&&(s=s.first,(e&W)!==0&&(e&Ge)!==0&&s!==null&&(s.f|=Ge))}if(s!==null&&(s.parent=n,n!==null&&ur(s,n),p!==null&&(p.f&A)!==0&&(e&se)===0)){var a=p;(a.effects??(a.effects=[])).push(s)}return r}function fn(){return p!==null&&!H}function cr(e){const t=M(Ye,null);return E(t,m),t.teardown=e,t}function Ss(e){an();var t=y.f,n=!p&&(t&z)!==0&&(t&me)===0;if(n){var r=g;(r.e??(r.e=[])).push(e)}else return ln(e)}function ln(e){return M(pe|qt,e)}function xs(e){return an(),M(Ye|qt,e)}function Rs(e){ae.ensure();const t=M(se|Oe,e);return()=>{ie(t)}}function Ns(e){ae.ensure();const t=M(se|Oe,e);return(n={})=>new Promise(r=>{n.outro?hr(t,()=>{ie(t),r(void 0)}):(ie(t),r(void 0))})}function Os(e){return M(pe,e)}function ks(e,t){var n=g,r={effect:null,ran:!1,deps:e};n.l.$.push(r),r.effect=on(()=>{if(e(),!r.ran){r.ran=!0;var s=y;try{le(s.parent),yr(t)}finally{le(s)}}})}function Cs(){var e=g;on(()=>{for(var t of e.l.$){t.deps();var n=t.effect;(n.f&m)!==0&&n.deps!==null&&E(n,V),ke(n)&&Ee(n),t.ran=!1}})}function _r(e){return M(We|Oe,e)}function on(e,t=0){return M(Ye|t,e)}function Ds(e,t=[],n=[],r=[]){Jt(r,t,n,s=>{M(Ye,()=>e(...s.map(te)))})}function Is(e,t=[],n=[],r=[]){if(n.length>0||r.length>0)var s=Et();Jt(r,t,n,a=>{M(pe,()=>e(...a.map(te))),s&&s()})}function Ps(e,t=0){var n=M(W|t,e);return n}function Ms(e,t=0){var n=M(dt|t,e);return n}function Fs(e){return M(z|Oe,e)}function un(e){var t=e.teardown;if(t!==null){const n=ge,r=p;Ft(!0),fe(null);try{t.call(null)}finally{Ft(n),fe(r)}}}function xt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&St(()=>{s.abort(K)});var r=n.next;(n.f&se)!==0?n.parent=null:ie(n,t),n=r}}function vr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&z)===0&&ie(t),t=n}}function ie(e,t=!0){var n=!1;(t||(e.f&Cn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(dr(e.nodes.start,e.nodes.end),n=!0),E(e,kt),xt(e,t&&!n),Fe(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)a.stop();un(e),e.f^=kt,e.f|=U;var s=e.parent;s!==null&&s.first!==null&&cn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function dr(e,t){for(;e!==null;){var n=e===t?null:oe(e);e.remove(),e=n}}function cn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function hr(e,t,n=!0){var r=[];_n(e,r,!0);var s=()=>{n&&ie(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||s();for(var l of r)l.out(o)}else s()}function _n(e,t,n){if((e.f&q)===0){e.f^=q;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var a=s.next,o=(s.f&Ge)!==0||(s.f&z)!==0&&(e.f&W)!==0;_n(s,t,o?n:!1),s=a}}}function Ls(e){vn(e,!0)}function vn(e,t){if((e.f&q)!==0){e.f^=q,(e.f&m)===0&&(E(e,N),ae.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Ge)!==0||(n.f&z)!==0;vn(n,s?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(const o of a)(o.is_global||t)&&o.in()}}function js(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:oe(n);t.append(n),n=s}}let Be=!1,ge=!1;function Ft(e){ge=e}let p=null,H=!1;function fe(e){p=e}let y=null;function le(e){y=e}let j=null;function dn(e){p!==null&&(j===null?j=[e]:j.push(e))}let C=null,I=0,F=null;function pr(e){F=e}let hn=1,_e=0,he=_e;function Lt(e){he=e}function pn(){return++hn}function ke(e){var t=e.f;if((t&N)!==0)return!0;if(t&A&&(e.f&=~we),(t&V)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var a=n[s];if(ke(a)&&Qt(a),a.wv>e.wv)return!0}(t&L)!==0&&x===null&&E(e,m)}return!1}function wn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(j!==null&&Re.call(j,e)))for(var s=0;s<r.length;s++){var a=r[s];(a.f&A)!==0?wn(a,t,!1):t===a&&(n?E(a,N):(a.f&m)!==0&&E(a,V),gt(a))}}function yn(e){var O;var t=C,n=I,r=F,s=p,a=j,o=g,l=H,f=he,i=e.f;C=null,I=0,F=null,p=(i&(z|se))===0?e:null,j=null,ze(e.ctx),H=!1,he=++_e,e.ac!==null&&(St(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=at;var c=e.fn,h=c();e.f|=me;var v=e.deps,d=w==null?void 0:w.is_fork;if(C!==null){var _;if(d||Fe(e,I),v!==null&&I>0)for(v.length=I+C.length,_=0;_<C.length;_++)v[I+_]=C[_];else e.deps=v=C;if(fn()&&(e.f&L)!==0)for(_=I;_<v.length;_++)((O=v[_]).reactions??(O.reactions=[])).push(e)}else!d&&v!==null&&I<v.length&&(Fe(e,I),v.length=I);if(He()&&F!==null&&!H&&v!==null&&(e.f&(A|V|N))===0)for(_=0;_<F.length;_++)wn(F[_],e);if(s!==null&&s!==e){if(_e++,s.deps!==null)for(let R=0;R<n;R+=1)s.deps[R].rv=_e;if(t!==null)for(const R of t)R.rv=_e;F!==null&&(r===null?r=F:r.push(...F))}return(e.f&ne)!==0&&(e.f^=ne),h}catch(R){return $n(R)}finally{e.f^=at,C=t,I=n,F=r,p=s,j=a,ze(o),H=l,he=f}}function wr(e,t){let n=t.reactions;if(n!==null){var r=An.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&A)!==0&&(C===null||!Re.call(C,t))){var a=t;(a.f&L)!==0&&(a.f^=L,a.f&=~we),wt(a),ar(a),Fe(a,0)}}function Fe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)wr(e,n[r])}function Ee(e){var t=e.f;if((t&U)===0){E(e,m);var n=y,r=Be;y=e,Be=!0;try{(t&(W|dt))!==0?vr(e):xt(e),un(e);var s=yn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var a}finally{Be=r,y=n}}}async function Ys(){await Promise.resolve(),Jn()}function Hs(){return ae.ensure().settled()}function te(e){var t=e.f,n=(t&A)!==0;if(p!==null&&!H){var r=y!==null&&(y.f&U)!==0;if(!r&&(j===null||!Re.call(j,e))){var s=p.deps;if((p.f&at)!==0)e.rv<_e&&(e.rv=_e,C===null&&s!==null&&s[I]===e?I++:C===null?C=[e]:C.push(e));else{(p.deps??(p.deps=[])).push(e);var a=e.reactions;a===null?e.reactions=[p]:Re.call(a,p)||a.push(p)}}}if(ge&&re.has(e))return re.get(e);if(n){var o=e;if(ge){var l=o.v;return((o.f&m)===0&&o.reactions!==null||En(o))&&(l=bt(o)),re.set(o,l),l}var f=(o.f&L)===0&&!H&&p!==null&&(Be||(p.f&L)!==0),i=(o.f&me)===0;ke(o)&&(f&&(o.f|=L),Qt(o)),f&&!i&&(en(o),gn(o))}if(x!=null&&x.has(e))return x.get(e);if((e.f&ne)!==0)throw e.v;return e.v}function gn(e){if(e.f|=L,e.deps!==null)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),(t.f&A)!==0&&(t.f&L)===0&&(en(t),gn(t))}function En(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(re.has(t)||(t.f&A)!==0&&En(t))return!0;return!1}function yr(e){var t=H;try{return H=!0,e()}finally{H=t}}function qs(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(de in e)vt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&de in n&&vt(n)}}}function vt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{vt(e[r],t)}catch{}const n=Yt(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Sn(n);for(let s in r){const a=r[s].get;if(a)try{a.call(e)}catch{}}}}}export{fr as $,Qe as A,qr as B,Hr as C,kt as D,Ge as E,mt as F,nr as G,qn as H,br as I,Br as J,cr as K,xr as L,mr as M,Nn as N,_s as O,Ur as P,As as Q,w as R,de as S,Ys as T,Un as U,Ut as V,Vn as W,ct as X,Xe as Y,Sr as Z,Fs as _,Qr as a,zr as a$,Cr as a0,ms as a1,Tn as a2,Er as a3,Mr as a4,Yr as a5,Fr as a6,Ls as a7,hr as a8,q as a9,Ar as aA,ys as aB,St as aC,fe as aD,p as aE,Gn as aF,kr as aG,bs as aH,$r as aI,fn as aJ,rt as aK,kn as aL,Kr as aM,Zn as aN,ze as aO,ae as aP,$n as aQ,Ke as aR,Pr as aS,Wr as aT,ps as aU,ht as aV,Dr as aW,Ns as aX,pt as aY,lr as aZ,Gr as a_,z as aa,Es as ab,js as ac,ie as ad,_t as ae,it as af,oe as ag,Lr as ah,jr as ai,Dn as aj,Ss as ak,xs as al,On as am,Tr as an,qs as ao,Cn as ap,Oe as aq,ss as ar,os as as,us as at,ws as au,gs as av,es as aw,ts as ax,Ds as ay,cs as az,Ps as b,Je as b0,At as b1,me as b2,Ms as b3,Zr as b4,hs as b5,Jt as b6,Bn as b7,Yt as b8,Xr as b9,Sn as ba,Or as bb,Ts as bc,S as bd,or as be,Rr as bf,Jn as bg,Q as bh,ks as bi,Cs as bj,ds as bk,he as bl,fs as bm,as as bn,is as bo,ls as bp,Rs as bq,Hs as br,Ne as c,Is as d,Jr as e,T as f,g,ye as h,Os as i,on as j,y as k,He as l,Tt as m,Pe as n,te as o,Ir as p,Ie as q,rs as r,ns as s,$ as t,yr as u,ge as v,U as w,vs as x,le as y,Vr as z};
@@ -1 +0,0 @@
1
- var un=Object.defineProperty;var We=e=>{throw TypeError(e)};var fn=(e,t,n)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var M=(e,t,n)=>fn(e,typeof t!="symbol"?t+"":t,n),Me=(e,t,n)=>t.has(e)||We("Cannot "+n);var w=(e,t,n)=>(Me(e,t,"read from private field"),n?n.call(e):t.get(e)),S=(e,t,n)=>t.has(e)?We("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),et=(e,t,n,i)=>(Me(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);import{c as ht,a as st,f as dn}from"./D1Gs8-g3.js";import{az as R,o as m,bh as Y,q as he,ak as nt,t as F,as as Yt,aB as ct,at as Ut,N as qt,av as hn}from"./BUngiKFg.js";import{j as gn,k as ot,C as be,l as mn,d as ge,u as Ze,p as wn,q as yn,r as vn,w as Le,t as pn,s as jt,b as B,m as Je,F as xn,i as Ie,h as bn,D as On,T as An}from"./c-YfbAB_.js";import{p as A,s as Oe,r as ce}from"./BxHqDcpw.js";import{i as Ae}from"./Qw0Qgx6J.js";import{o as Pn}from"./C1kQ4pHy.js";import{c as Sn}from"./CjQQ9_Q2.js";function Cn(e){return typeof e=="function"}function ke(e){return Cn(e)?e():e}var it,mt,wt,yt,rt,ne,ie,vt;class Rn{constructor(t,n={box:"border-box"}){S(this,it,{width:0,height:0});S(this,mt,!1);S(this,wt);S(this,yt);S(this,rt);S(this,ne,R(()=>{var t;return(t=m(w(this,vt)))==null||t(),this.getSize().width}));S(this,ie,R(()=>{var t;return(t=m(w(this,vt)))==null||t(),this.getSize().height}));S(this,vt,R(()=>{const t=ke(w(this,yt));if(t)return Sn(n=>{if(!w(this,rt))return;const i=new(w(this,rt)).ResizeObserver(r=>{et(this,mt,!0);for(const s of r){const o=w(this,wt).box==="content-box"?s.contentBoxSize:s.borderBoxSize,c=Array.isArray(o)?o:[o];w(this,it).width=c.reduce((a,l)=>Math.max(a,l.inlineSize),0),w(this,it).height=c.reduce((a,l)=>Math.max(a,l.blockSize),0)}n()});return i.observe(t),()=>{et(this,mt,!1),i.disconnect()}})}));et(this,rt,n.window??gn),et(this,wt,n),et(this,yt,t),et(this,it,{width:0,height:0})}calculateSize(){const t=ke(w(this,yt));if(!t||!w(this,rt))return;const n=t.offsetWidth,i=t.offsetHeight;if(w(this,wt).box==="border-box")return{width:n,height:i};const r=w(this,rt).getComputedStyle(t),s=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),o=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom),c=parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),a=parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),l=n-s-c,u=i-o-a;return{width:l,height:u}}getSize(){return w(this,mt)?w(this,it):this.calculateSize()??w(this,it)}get current(){var t;return(t=m(w(this,vt)))==null||t(),this.getSize()}get width(){return m(w(this,ne))}get height(){return m(w(this,ie))}}it=new WeakMap,mt=new WeakMap,wt=new WeakMap,yt=new WeakMap,rt=new WeakMap,ne=new WeakMap,ie=new WeakMap,vt=new WeakMap;const Fn=["top","right","bottom","left"],at=Math.min,N=Math.max,Qt=Math.round,Jt=Math.floor,J=e=>({x:e,y:e}),En={left:"right",right:"left",bottom:"top",top:"bottom"};function ye(e,t,n){return N(e,at(t,n))}function G(e,t){return typeof e=="function"?e(t):e}function $(e){return e.split("-")[0]}function xt(e){return e.split("-")[1]}function Pe(e){return e==="x"?"y":"x"}function Se(e){return e==="y"?"height":"width"}function Z(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ce(e){return Pe(Z(e))}function Dn(e,t,n){n===void 0&&(n=!1);const i=xt(e),r=Ce(e),s=Se(r);let o=r==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Gt(o)),[o,Gt(o)]}function Bn(e){const t=Gt(e);return[ve(e),t,ve(t)]}function ve(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const _e=["left","right"],He=["right","left"],Tn=["top","bottom"],Wn=["bottom","top"];function Mn(e,t,n){switch(e){case"top":case"bottom":return n?t?He:_e:t?_e:He;case"left":case"right":return t?Tn:Wn;default:return[]}}function Ln(e,t,n,i){const r=xt(e);let s=Mn($(e),n==="start",i);return r&&(s=s.map(o=>o+"-"+r),t&&(s=s.concat(s.map(ve)))),s}function Gt(e){const t=$(e);return En[t]+e.slice(t.length)}function In(e){return{top:0,right:0,bottom:0,left:0,...e}}function Qe(e){return typeof e!="number"?In(e):{top:e,right:e,bottom:e,left:e}}function $t(e){const{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function Ne(e,t,n){let{reference:i,floating:r}=e;const s=Z(t),o=Ce(t),c=Se(o),a=$(t),l=s==="y",u=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[c]/2-r[c]/2;let d;switch(a){case"top":d={x:u,y:i.y-r.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(xt(t)){case"start":d[o]-=h*(n&&l?-1:1);break;case"end":d[o]+=h*(n&&l?-1:1);break}return d}async function kn(e,t){var n;t===void 0&&(t={});const{x:i,y:r,platform:s,rects:o,elements:c,strategy:a}=e,{boundary:l="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=G(t,e),g=Qe(d),p=c[h?f==="floating"?"reference":"floating":f],v=$t(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(p)))==null||n?p:p.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:l,rootBoundary:u,strategy:a})),x=f==="floating"?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(O))?await(s.getScale==null?void 0:s.getScale(O))||{x:1,y:1}:{x:1,y:1},C=$t(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:O,strategy:a}):x);return{top:(v.top-C.top+g.top)/b.y,bottom:(C.bottom-v.bottom+g.bottom)/b.y,left:(v.left-C.left+g.left)/b.x,right:(C.right-v.right+g.right)/b.x}}const _n=50,Hn=async(e,t,n)=>{const{placement:i="bottom",strategy:r="absolute",middleware:s=[],platform:o}=n,c=o.detectOverflow?o:{...o,detectOverflow:kn},a=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:f}=Ne(l,i,a),h=i,d=0;const g={};for(let y=0;y<s.length;y++){const p=s[y];if(!p)continue;const{name:v,fn:x}=p,{x:O,y:b,data:C,reset:P}=await x({x:u,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:g,rects:l,platform:c,elements:{reference:e,floating:t}});u=O??u,f=b??f,g[v]={...g[v],...C},P&&d<_n&&(d++,typeof P=="object"&&(P.placement&&(h=P.placement),P.rects&&(l=P.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:r}):P.rects),{x:u,y:f}=Ne(l,h,a)),y=-1)}return{x:u,y:f,placement:h,strategy:r,middlewareData:g}},Nn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:r,rects:s,platform:o,elements:c,middlewareData:a}=t,{element:l,padding:u=0}=G(e,t)||{};if(l==null)return{};const f=Qe(u),h={x:n,y:i},d=Ce(r),g=Se(d),y=await o.getDimensions(l),p=d==="y",v=p?"top":"left",x=p?"bottom":"right",O=p?"clientHeight":"clientWidth",b=s.reference[g]+s.reference[d]-h[d]-s.floating[g],C=h[d]-s.reference[d],P=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let E=P?P[O]:0;(!E||!await(o.isElement==null?void 0:o.isElement(P)))&&(E=c.floating[O]||s.floating[g]);const L=b/2-C/2,k=E/2-y[g]/2-1,D=at(f[v],k),I=at(f[x],k),H=D,W=E-y[g]-I,T=E/2-y[g]/2+L,V=ye(H,T,W),X=!a.arrow&&xt(r)!=null&&T!==V&&s.reference[g]/2-(T<H?D:I)-y[g]/2<0,K=X?T<H?T-H:T-W:0;return{[d]:h[d]+K,data:{[d]:V,centerOffset:T-V-K,...X&&{alignmentOffset:K}},reset:X}}}),zn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:r,middlewareData:s,rects:o,initialPlacement:c,platform:a,elements:l}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...p}=G(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const v=$(r),x=Z(c),O=$(c)===c,b=await(a.isRTL==null?void 0:a.isRTL(l.floating)),C=h||(O||!y?[Gt(c)]:Bn(c)),P=g!=="none";!h&&P&&C.push(...Ln(c,y,g,b));const E=[c,...C],L=await a.detectOverflow(t,p),k=[];let D=((i=s.flip)==null?void 0:i.overflows)||[];if(u&&k.push(L[v]),f){const T=Dn(r,o,b);k.push(L[T[0]],L[T[1]])}if(D=[...D,{placement:r,overflows:k}],!k.every(T=>T<=0)){var I,H;const T=(((I=s.flip)==null?void 0:I.index)||0)+1,V=E[T];if(V&&(!(f==="alignment"?x!==Z(V):!1)||D.every(_=>Z(_.placement)===x?_.overflows[0]>0:!0)))return{data:{index:T,overflows:D},reset:{placement:V}};let X=(H=D.filter(K=>K.overflows[0]<=0).sort((K,_)=>K.overflows[1]-_.overflows[1])[0])==null?void 0:H.placement;if(!X)switch(d){case"bestFit":{var W;const K=(W=D.filter(_=>{if(P){const j=Z(_.placement);return j===x||j==="y"}return!0}).map(_=>[_.placement,_.overflows.filter(j=>j>0).reduce((j,de)=>j+de,0)]).sort((_,j)=>_[1]-j[1])[0])==null?void 0:W[0];K&&(X=K);break}case"initialPlacement":X=c;break}if(r!==X)return{reset:{placement:X}}}return{}}}};function ze(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ve(e){return Fn.some(t=>e[t]>=0)}const Vn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:i}=t,{strategy:r="referenceHidden",...s}=G(e,t);switch(r){case"referenceHidden":{const o=await i.detectOverflow(t,{...s,elementContext:"reference"}),c=ze(o,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Ve(c)}}}case"escaped":{const o=await i.detectOverflow(t,{...s,altBoundary:!0}),c=ze(o,n.floating);return{data:{escapedOffsets:c,escaped:Ve(c)}}}default:return{}}}}},Ge=new Set(["left","top"]);async function Kn(e,t){const{placement:n,platform:i,elements:r}=e,s=await(i.isRTL==null?void 0:i.isRTL(r.floating)),o=$(n),c=xt(n),a=Z(n)==="y",l=Ge.has(o)?-1:1,u=s&&a?-1:1,f=G(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof g=="number"&&(d=c==="end"?g*-1:g),a?{x:d*u,y:h*l}:{x:h*l,y:d*u}}const Xn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:r,y:s,placement:o,middlewareData:c}=t,a=await Kn(t,e);return o===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:r+a.x,y:s+a.y,data:{...a,placement:o}}}}},Yn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:r,platform:s}=t,{mainAxis:o=!0,crossAxis:c=!1,limiter:a={fn:v=>{let{x,y:O}=v;return{x,y:O}}},...l}=G(e,t),u={x:n,y:i},f=await s.detectOverflow(t,l),h=Z($(r)),d=Pe(h);let g=u[d],y=u[h];if(o){const v=d==="y"?"top":"left",x=d==="y"?"bottom":"right",O=g+f[v],b=g-f[x];g=ye(O,g,b)}if(c){const v=h==="y"?"top":"left",x=h==="y"?"bottom":"right",O=y+f[v],b=y-f[x];y=ye(O,y,b)}const p=a.fn({...t,[d]:g,[h]:y});return{...p,data:{x:p.x-n,y:p.y-i,enabled:{[d]:o,[h]:c}}}}}},Un=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:r,rects:s,middlewareData:o}=t,{offset:c=0,mainAxis:a=!0,crossAxis:l=!0}=G(e,t),u={x:n,y:i},f=Z(r),h=Pe(f);let d=u[h],g=u[f];const y=G(c,t),p=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const O=h==="y"?"height":"width",b=s.reference[h]-s.floating[O]+p.mainAxis,C=s.reference[h]+s.reference[O]-p.mainAxis;d<b?d=b:d>C&&(d=C)}if(l){var v,x;const O=h==="y"?"width":"height",b=Ge.has($(r)),C=s.reference[f]-s.floating[O]+(b&&((v=o.offset)==null?void 0:v[f])||0)+(b?0:p.crossAxis),P=s.reference[f]+s.reference[O]+(b?0:((x=o.offset)==null?void 0:x[f])||0)-(b?p.crossAxis:0);g<C?g=C:g>P&&(g=P)}return{[h]:d,[f]:g}}}},qn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:r,rects:s,platform:o,elements:c}=t,{apply:a=()=>{},...l}=G(e,t),u=await o.detectOverflow(t,l),f=$(r),h=xt(r),d=Z(r)==="y",{width:g,height:y}=s.floating;let p,v;f==="top"||f==="bottom"?(p=f,v=h===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(v=f,p=h==="end"?"top":"bottom");const x=y-u.top-u.bottom,O=g-u.left-u.right,b=at(y-u[p],x),C=at(g-u[v],O),P=!t.middlewareData.shift;let E=b,L=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(L=O),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(E=x),P&&!h){const D=N(u.left,0),I=N(u.right,0),H=N(u.top,0),W=N(u.bottom,0);d?L=g-2*(D!==0||I!==0?D+I:N(u.left,u.right)):E=y-2*(H!==0||W!==0?H+W:N(u.top,u.bottom))}await a({...t,availableWidth:L,availableHeight:E});const k=await o.getDimensions(c.floating);return g!==k.width||y!==k.height?{reset:{rects:!0}}:{}}}};function ae(){return typeof window<"u"}function bt(e){return $e(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Q(e){var t;return(t=($e(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function $e(e){return ae()?e instanceof Node||e instanceof z(e).Node:!1}function U(e){return ae()?e instanceof Element||e instanceof z(e).Element:!1}function tt(e){return ae()?e instanceof HTMLElement||e instanceof z(e).HTMLElement:!1}function Ke(e){return!ae()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof z(e).ShadowRoot}function Zt(e){const{overflow:t,overflowX:n,overflowY:i,display:r}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&r!=="inline"&&r!=="contents"}function jn(e){return/^(table|td|th)$/.test(bt(e))}function le(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Zn=/transform|translate|scale|rotate|perspective|filter/,Jn=/paint|layout|strict|content/,ut=e=>!!e&&e!=="none";let me;function Re(e){const t=U(e)?q(e):e;return ut(t.transform)||ut(t.translate)||ut(t.scale)||ut(t.rotate)||ut(t.perspective)||!Fe()&&(ut(t.backdropFilter)||ut(t.filter))||Zn.test(t.willChange||"")||Jn.test(t.contain||"")}function Qn(e){let t=lt(e);for(;tt(t)&&!pt(t);){if(Re(t))return t;if(le(t))return null;t=lt(t)}return null}function Fe(){return me==null&&(me=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),me}function pt(e){return/^(html|body|#document)$/.test(bt(e))}function q(e){return z(e).getComputedStyle(e)}function ue(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function lt(e){if(bt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ke(e)&&e.host||Q(e);return Ke(t)?t.host:t}function tn(e){const t=lt(e);return pt(t)?e.ownerDocument?e.ownerDocument.body:e.body:tt(t)&&Zt(t)?t:tn(t)}function Ot(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=tn(e),s=r===((i=e.ownerDocument)==null?void 0:i.body),o=z(r);if(s){const c=pe(o);return t.concat(o,o.visualViewport||[],Zt(r)?r:[],c&&n?Ot(c):[])}else return t.concat(r,Ot(r,[],n))}function pe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function en(e){const t=q(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const r=tt(e),s=r?e.offsetWidth:n,o=r?e.offsetHeight:i,c=Qt(n)!==s||Qt(i)!==o;return c&&(n=s,i=o),{width:n,height:i,$:c}}function Ee(e){return U(e)?e:e.contextElement}function gt(e){const t=Ee(e);if(!tt(t))return J(1);const n=t.getBoundingClientRect(),{width:i,height:r,$:s}=en(t);let o=(s?Qt(n.width):n.width)/i,c=(s?Qt(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const Gn=J(0);function nn(e){const t=z(e);return!Fe()||!t.visualViewport?Gn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $n(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==z(e)?!1:t}function dt(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Ee(e);let o=J(1);t&&(i?U(i)&&(o=gt(i)):o=gt(e));const c=$n(s,n,i)?nn(s):J(0);let a=(r.left+c.x)/o.x,l=(r.top+c.y)/o.y,u=r.width/o.x,f=r.height/o.y;if(s){const h=z(s),d=i&&U(i)?z(i):i;let g=h,y=pe(g);for(;y&&i&&d!==g;){const p=gt(y),v=y.getBoundingClientRect(),x=q(y),O=v.left+(y.clientLeft+parseFloat(x.paddingLeft))*p.x,b=v.top+(y.clientTop+parseFloat(x.paddingTop))*p.y;a*=p.x,l*=p.y,u*=p.x,f*=p.y,a+=O,l+=b,g=z(y),y=pe(g)}}return $t({width:u,height:f,x:a,y:l})}function fe(e,t){const n=ue(e).scrollLeft;return t?t.left+n:dt(Q(e)).left+n}function rn(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-fe(e,n),r=n.top+t.scrollTop;return{x:i,y:r}}function ti(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e;const s=r==="fixed",o=Q(i),c=t?le(t.floating):!1;if(i===o||c&&s)return n;let a={scrollLeft:0,scrollTop:0},l=J(1);const u=J(0),f=tt(i);if((f||!f&&!s)&&((bt(i)!=="body"||Zt(o))&&(a=ue(i)),f)){const d=dt(i);l=gt(i),u.x=d.x+i.clientLeft,u.y=d.y+i.clientTop}const h=o&&!f&&!s?rn(o,a):J(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-a.scrollLeft*l.x+u.x+h.x,y:n.y*l.y-a.scrollTop*l.y+u.y+h.y}}function ei(e){return Array.from(e.getClientRects())}function ni(e){const t=Q(e),n=ue(e),i=e.ownerDocument.body,r=N(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=N(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let o=-n.scrollLeft+fe(e);const c=-n.scrollTop;return q(i).direction==="rtl"&&(o+=N(t.clientWidth,i.clientWidth)-r),{width:r,height:s,x:o,y:c}}const Xe=25;function ii(e,t){const n=z(e),i=Q(e),r=n.visualViewport;let s=i.clientWidth,o=i.clientHeight,c=0,a=0;if(r){s=r.width,o=r.height;const u=Fe();(!u||u&&t==="fixed")&&(c=r.offsetLeft,a=r.offsetTop)}const l=fe(i);if(l<=0){const u=i.ownerDocument,f=u.body,h=getComputedStyle(f),d=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(i.clientWidth-f.clientWidth-d);g<=Xe&&(s-=g)}else l<=Xe&&(s+=l);return{width:s,height:o,x:c,y:a}}function ri(e,t){const n=dt(e,!0,t==="fixed"),i=n.top+e.clientTop,r=n.left+e.clientLeft,s=tt(e)?gt(e):J(1),o=e.clientWidth*s.x,c=e.clientHeight*s.y,a=r*s.x,l=i*s.y;return{width:o,height:c,x:a,y:l}}function Ye(e,t,n){let i;if(t==="viewport")i=ii(e,n);else if(t==="document")i=ni(Q(e));else if(U(t))i=ri(t,n);else{const r=nn(e);i={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return $t(i)}function on(e,t){const n=lt(e);return n===t||!U(n)||pt(n)?!1:q(n).position==="fixed"||on(n,t)}function oi(e,t){const n=t.get(e);if(n)return n;let i=Ot(e,[],!1).filter(c=>U(c)&&bt(c)!=="body"),r=null;const s=q(e).position==="fixed";let o=s?lt(e):e;for(;U(o)&&!pt(o);){const c=q(o),a=Re(o);!a&&c.position==="fixed"&&(r=null),(s?!a&&!r:!a&&c.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||Zt(o)&&!a&&on(e,o))?i=i.filter(u=>u!==o):r=c,o=lt(o)}return t.set(e,i),i}function si(e){let{element:t,boundary:n,rootBoundary:i,strategy:r}=e;const o=[...n==="clippingAncestors"?le(t)?[]:oi(t,this._c):[].concat(n),i],c=Ye(t,o[0],r);let a=c.top,l=c.right,u=c.bottom,f=c.left;for(let h=1;h<o.length;h++){const d=Ye(t,o[h],r);a=N(d.top,a),l=at(d.right,l),u=at(d.bottom,u),f=N(d.left,f)}return{width:l-f,height:u-a,x:f,y:a}}function ci(e){const{width:t,height:n}=en(e);return{width:t,height:n}}function ai(e,t,n){const i=tt(t),r=Q(t),s=n==="fixed",o=dt(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const a=J(0);function l(){a.x=fe(r)}if(i||!i&&!s)if((bt(t)!=="body"||Zt(r))&&(c=ue(t)),i){const d=dt(t,!0,s,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else r&&l();s&&!i&&r&&l();const u=r&&!i&&!s?rn(r,c):J(0),f=o.left+c.scrollLeft-a.x-u.x,h=o.top+c.scrollTop-a.y-u.y;return{x:f,y:h,width:o.width,height:o.height}}function we(e){return q(e).position==="static"}function Ue(e,t){if(!tt(e)||q(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Q(e)===n&&(n=n.ownerDocument.body),n}function sn(e,t){const n=z(e);if(le(e))return n;if(!tt(e)){let r=lt(e);for(;r&&!pt(r);){if(U(r)&&!we(r))return r;r=lt(r)}return n}let i=Ue(e,t);for(;i&&jn(i)&&we(i);)i=Ue(i,t);return i&&pt(i)&&we(i)&&!Re(i)?n:i||Qn(e)||n}const li=async function(e){const t=this.getOffsetParent||sn,n=this.getDimensions,i=await n(e.floating);return{reference:ai(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function ui(e){return q(e).direction==="rtl"}const fi={convertOffsetParentRelativeRectToViewportRelativeRect:ti,getDocumentElement:Q,getClippingRect:si,getOffsetParent:sn,getElementRects:li,getClientRects:ei,getDimensions:ci,getScale:gt,isElement:U,isRTL:ui};function cn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function di(e,t){let n=null,i;const r=Q(e);function s(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function o(c,a){c===void 0&&(c=!1),a===void 0&&(a=1),s();const l=e.getBoundingClientRect(),{left:u,top:f,width:h,height:d}=l;if(c||t(),!h||!d)return;const g=Jt(f),y=Jt(r.clientWidth-(u+h)),p=Jt(r.clientHeight-(f+d)),v=Jt(u),O={rootMargin:-g+"px "+-y+"px "+-p+"px "+-v+"px",threshold:N(0,at(1,a))||1};let b=!0;function C(P){const E=P[0].intersectionRatio;if(E!==a){if(!b)return o();E?o(!1,E):i=setTimeout(()=>{o(!1,1e-7)},1e3)}E===1&&!cn(l,e.getBoundingClientRect())&&o(),b=!1}try{n=new IntersectionObserver(C,{...O,root:r.ownerDocument})}catch{n=new IntersectionObserver(C,O)}n.observe(e)}return o(!0),s}function hi(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,l=Ee(e),u=r||s?[...l?Ot(l):[],...t?Ot(t):[]]:[];u.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),s&&v.addEventListener("resize",n)});const f=l&&c?di(l,n):null;let h=-1,d=null;o&&(d=new ResizeObserver(v=>{let[x]=v;x&&x.target===l&&d&&t&&(d.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var O;(O=d)==null||O.observe(t)})),n()}),l&&!a&&d.observe(l),t&&d.observe(t));let g,y=a?dt(e):null;a&&p();function p(){const v=dt(e);y&&!cn(y,v)&&n(),y=v,g=requestAnimationFrame(p)}return n(),()=>{var v;u.forEach(x=>{r&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),f==null||f(),(v=d)==null||v.disconnect(),d=null,a&&cancelAnimationFrame(g)}}const gi=Xn,mi=Yn,wi=zn,yi=qn,vi=Vn,pi=Nn,xi=Un,bi=(e,t,n)=>{const i=new Map,r={platform:fi,...n},s={...r.platform,_c:i};return Hn(e,t,{...r,platform:s})};function ft(e){return typeof e=="function"?e():e}function an(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qe(e,t){const n=an(e);return Math.round(t*n)/n}function Ni(e){return{[`--bits-${e}-content-transform-origin`]:"var(--bits-floating-transform-origin)",[`--bits-${e}-content-available-width`]:"var(--bits-floating-available-width)",[`--bits-${e}-content-available-height`]:"var(--bits-floating-available-height)",[`--bits-${e}-anchor-width`]:"var(--bits-floating-anchor-width)",[`--bits-${e}-anchor-height`]:"var(--bits-floating-anchor-height)"}}function Oi(e){const t=e.whileElementsMounted,n=R(()=>ft(e.open)??!0),i=R(()=>ft(e.middleware)),r=R(()=>ft(e.transform)??!0),s=R(()=>ft(e.placement)??"bottom"),o=R(()=>ft(e.strategy)??"absolute"),c=R(()=>ft(e.sideOffset)??0),a=R(()=>ft(e.alignOffset)??0),l=e.reference;let u=Y(0),f=Y(0);const h=ot(null);let d=Y(he(m(o))),g=Y(he(m(s))),y=Y(he({})),p=Y(!1),v=!1,x=0;const O=R(()=>{const D=h.current?qe(h.current,m(u)):m(u),I=h.current?qe(h.current,m(f)):m(f);return m(r)?{position:m(d),left:"0",top:"0",transform:`translate(${D}px, ${I}px)`,...h.current&&an(h.current)>=1.5&&{willChange:"transform"}}:{position:m(d),left:`${D}px`,top:`${I}px`}});let b;function C(){if(l.current===null||h.current===null)return;const D=l.current,I=h.current,H=++x;bi(D,I,{middleware:m(i),placement:m(s),strategy:m(o)}).then(W=>{if(H!==x||l.current!==D||h.current!==I)return;if(Ai(D)){F(y,{...m(y),hide:{...m(y).hide,referenceHidden:!0}},!0);return}if(!m(n)&&m(u)!==0&&m(f)!==0){const V=Math.max(Math.abs(m(c)),Math.abs(m(a)),15);if(W.x<=V&&W.y<=V)return}F(u,W.x,!0),F(f,W.y,!0),F(d,W.strategy,!0),F(g,W.placement,!0),F(y,W.middlewareData,!0),F(p,!0)})}function P(){typeof b=="function"&&(b(),b=void 0),x++}function E(){if(P(),t===void 0){C();return}m(n)&&(l.current===null||h.current===null||(b=t(l.current,h.current,C)))}function L(){!m(n)&&h.current===null&&F(p,!1)}function k(){return[m(i),m(s),m(o),m(c),m(a),m(n)]}return nt(()=>{t===void 0&&m(n)&&C()}),nt(E),nt(()=>{if(t!==void 0){if(k(),!m(n)){v=!1;return}if(!m(p)){v=!1;return}if(!v){v=!0;return}C()}}),nt(L),nt(()=>P),{floating:h,reference:l,get strategy(){return m(d)},get placement(){return m(g)},get middlewareData(){return m(y)},get isPositioned(){return m(p)},get floatingStyles(){return m(O)},get update(){return C}}}function Ai(e){return e instanceof Element?!e.isConnected||e instanceof HTMLElement&&e.hidden?!0:e.getClientRects().length===0:!1}const Pi={top:"bottom",right:"left",bottom:"top",left:"right"},De=new be("Floating.Root"),je=new be("Floating.Content"),Be=new be("Floating.Root");class te{constructor(){M(this,"anchorNode",ot(null));M(this,"customAnchorNode",ot(null));M(this,"triggerNode",ot(null));nt(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current=="string"?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}static create(t=!1){return t?Be.set(new te):De.set(new te)}}var At,Pt,St,re,Ct,oe,Rt,Ft,Et,Dt,Bt,Tt,Wt,Mt,Lt,It,kt,_t,Ht,Nt,zt,Vt,Kt,Xt;const se=class se{constructor(t,n){M(this,"opts");M(this,"root");M(this,"contentRef",ot(null));M(this,"wrapperRef",ot(null));M(this,"arrowRef",ot(null));M(this,"contentAttachment",ge(this.contentRef));M(this,"wrapperAttachment",ge(this.wrapperRef));M(this,"arrowAttachment",ge(this.arrowRef));M(this,"arrowId",ot(Ze()));S(this,At,R(()=>{if(typeof this.opts.style=="string")return wn(this.opts.style);if(!this.opts.style)return{}}));S(this,Pt);S(this,St,new Rn(()=>this.arrowRef.current??void 0));S(this,re,R(()=>{var t;return((t=w(this,St))==null?void 0:t.width)??0}));S(this,Ct,R(()=>{var t;return((t=w(this,St))==null?void 0:t.height)??0}));S(this,oe,R(()=>{var t;return((t=this.opts.side)==null?void 0:t.current)+(this.opts.align.current!=="center"?`-${this.opts.align.current}`:"")}));S(this,Rt,R(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]));S(this,Ft,R(()=>m(w(this,Rt)).length>0));S(this,Et,R(()=>({padding:this.opts.collisionPadding.current,boundary:m(w(this,Rt)).filter(yn),altBoundary:this.hasExplicitBoundaries})));S(this,Dt,Y(void 0));S(this,Bt,Y(void 0));S(this,Tt,Y(void 0));S(this,Wt,Y(void 0));S(this,Mt,R(()=>[gi({mainAxis:this.opts.sideOffset.current+m(w(this,Ct)),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&mi({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current==="partial"?xi():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&wi({...this.detectOverflowOptions}),yi({...this.detectOverflowOptions,apply:({rects:t,availableWidth:n,availableHeight:i})=>{const{width:r,height:s}=t.reference;F(w(this,Dt),n,!0),F(w(this,Bt),i,!0),F(w(this,Tt),r,!0),F(w(this,Wt),s,!0)}}),this.arrowRef.current&&pi({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),Si({arrowWidth:m(w(this,re)),arrowHeight:m(w(this,Ct))}),this.opts.hideWhenDetached.current&&vi({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean)));M(this,"floating");S(this,Lt,R(()=>Ci(this.floating.placement)));S(this,It,R(()=>Ri(this.floating.placement)));S(this,kt,R(()=>{var t;return((t=this.floating.middlewareData.arrow)==null?void 0:t.x)??0}));S(this,_t,R(()=>{var t;return((t=this.floating.middlewareData.arrow)==null?void 0:t.y)??0}));S(this,Ht,R(()=>{var t;return((t=this.floating.middlewareData.arrow)==null?void 0:t.centerOffset)!==0}));S(this,Nt,Y());S(this,zt,R(()=>Pi[this.placedSide]));S(this,Vt,R(()=>{var t,n,i;return{id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":"",style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${(t=this.floating.middlewareData.transformOrigin)==null?void 0:t.x} ${(n=this.floating.middlewareData.transformOrigin)==null?void 0:n.y}`,"--bits-floating-available-width":`${m(w(this,Dt))}px`,"--bits-floating-available-height":`${m(w(this,Bt))}px`,"--bits-floating-anchor-width":`${m(w(this,Tt))}px`,"--bits-floating-anchor-height":`${m(w(this,Wt))}px`,...((i=this.floating.middlewareData.hide)==null?void 0:i.referenceHidden)&&{visibility:"hidden","pointer-events":"none"},...m(w(this,At))},dir:this.opts.dir.current,...this.wrapperAttachment}}));S(this,Kt,R(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:vn({...m(w(this,At))}),...this.contentAttachment})));S(this,Xt,R(()=>({position:"absolute",left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[this.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[this.placedSide],visibility:this.cannotCenterArrow?"hidden":void 0})));this.opts=t,this.root=n,et(this,Pt,t.updatePositionStrategy),t.customAnchor&&(this.root.customAnchorNode.current=t.customAnchor.current),Le(()=>t.customAnchor.current,i=>{this.root.customAnchorNode.current=i}),this.floating=Oi({strategy:()=>this.opts.strategy.current,placement:()=>m(w(this,oe)),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...i)=>{var s;return hi(...i,{animationFrame:((s=w(this,Pt))==null?void 0:s.current)==="always"})},open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),nt(()=>{var i;this.floating.isPositioned&&((i=this.opts.onPlaced)==null||i.current())}),Le(()=>this.contentRef.current,i=>{if(!i||!this.opts.enabled.current)return;const r=pn(i),s=r.requestAnimationFrame(()=>{if(this.contentRef.current!==i||!this.opts.enabled.current)return;const o=r.getComputedStyle(i).zIndex;o!==this.contentZIndex&&(this.contentZIndex=o)});return()=>{r.cancelAnimationFrame(s)}}),nt(()=>{this.floating.floating.current=this.wrapperRef.current})}static create(t,n=!1){return n?je.set(new se(t,Be.get())):je.set(new se(t,De.get()))}get hasExplicitBoundaries(){return m(w(this,Ft))}set hasExplicitBoundaries(t){F(w(this,Ft),t)}get detectOverflowOptions(){return m(w(this,Et))}set detectOverflowOptions(t){F(w(this,Et),t)}get middleware(){return m(w(this,Mt))}set middleware(t){F(w(this,Mt),t)}get placedSide(){return m(w(this,Lt))}set placedSide(t){F(w(this,Lt),t)}get placedAlign(){return m(w(this,It))}set placedAlign(t){F(w(this,It),t)}get arrowX(){return m(w(this,kt))}set arrowX(t){F(w(this,kt),t)}get arrowY(){return m(w(this,_t))}set arrowY(t){F(w(this,_t),t)}get cannotCenterArrow(){return m(w(this,Ht))}set cannotCenterArrow(t){F(w(this,Ht),t)}get contentZIndex(){return m(w(this,Nt))}set contentZIndex(t){F(w(this,Nt),t,!0)}get arrowBaseSide(){return m(w(this,zt))}set arrowBaseSide(t){F(w(this,zt),t)}get wrapperProps(){return m(w(this,Vt))}set wrapperProps(t){F(w(this,Vt),t)}get props(){return m(w(this,Kt))}set props(t){F(w(this,Kt),t)}get arrowStyle(){return m(w(this,Xt))}set arrowStyle(t){F(w(this,Xt),t)}};At=new WeakMap,Pt=new WeakMap,St=new WeakMap,re=new WeakMap,Ct=new WeakMap,oe=new WeakMap,Rt=new WeakMap,Ft=new WeakMap,Et=new WeakMap,Dt=new WeakMap,Bt=new WeakMap,Tt=new WeakMap,Wt=new WeakMap,Mt=new WeakMap,Lt=new WeakMap,It=new WeakMap,kt=new WeakMap,_t=new WeakMap,Ht=new WeakMap,Nt=new WeakMap,zt=new WeakMap,Vt=new WeakMap,Kt=new WeakMap,Xt=new WeakMap;let xe=se;class ee{constructor(t,n){M(this,"opts");M(this,"root");this.opts=t,this.root=n,t.virtualEl&&t.virtualEl.current?n.triggerNode=mn(t.virtualEl.current):n.triggerNode=t.ref}static create(t,n=!1){return n?new ee(t,Be.get()):new ee(t,De.get())}}function Si(e){return{name:"transformOrigin",options:e,fn(t){var p,v,x;const{placement:n,rects:i,middlewareData:r}=t,o=((p=r.arrow)==null?void 0:p.centerOffset)!==0,c=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[l,u]=Te(n),f={start:"0%",center:"50%",end:"100%"}[u],h=(((v=r.arrow)==null?void 0:v.x)??0)+c/2,d=(((x=r.arrow)==null?void 0:x.y)??0)+a/2;let g="",y="";return l==="bottom"?(g=o?f:`${h}px`,y=`${-a}px`):l==="top"?(g=o?f:`${h}px`,y=`${i.floating.height+a}px`):l==="right"?(g=`${-a}px`,y=o?f:`${d}px`):l==="left"&&(g=`${i.floating.width+a}px`,y=o?f:`${d}px`),{data:{x:g,y}}}}}function Te(e){const[t,n="center"]=e.split("-");return[t,n]}function Ci(e){return Te(e)[0]}function Ri(e){return Te(e)[1]}function zi(e,t){Yt(t,!0);let n=A(t,"tooltip",3,!1);te.create(n());var i=ht(),r=ct(i);jt(r,()=>t.children??qt),st(e,i),Ut()}function Vi(e,t){Yt(t,!0);let n=A(t,"tooltip",3,!1);ee.create({id:B(()=>t.id),virtualEl:B(()=>t.virtualEl),ref:t.ref},n());var i=ht(),r=ct(i);jt(r,()=>t.children??qt),st(e,i),Ut()}function Fi(e,t){Yt(t,!0);let n=A(t,"side",3,"bottom"),i=A(t,"sideOffset",3,0),r=A(t,"align",3,"center"),s=A(t,"alignOffset",3,0),o=A(t,"arrowPadding",3,0),c=A(t,"avoidCollisions",3,!0),a=A(t,"collisionBoundary",19,()=>[]),l=A(t,"collisionPadding",3,0),u=A(t,"hideWhenDetached",3,!1),f=A(t,"onPlaced",3,()=>{}),h=A(t,"sticky",3,"partial"),d=A(t,"updatePositionStrategy",3,"optimized"),g=A(t,"strategy",3,"fixed"),y=A(t,"dir",3,"ltr"),p=A(t,"style",19,()=>({})),v=A(t,"wrapperId",19,Ze),x=A(t,"customAnchor",3,null),O=A(t,"tooltip",3,!1);const b=xe.create({side:B(()=>n()),sideOffset:B(()=>i()),align:B(()=>r()),alignOffset:B(()=>s()),id:B(()=>t.id),arrowPadding:B(()=>o()),avoidCollisions:B(()=>c()),collisionBoundary:B(()=>a()),collisionPadding:B(()=>l()),hideWhenDetached:B(()=>u()),onPlaced:B(()=>f()),sticky:B(()=>h()),updatePositionStrategy:B(()=>d()),strategy:B(()=>g()),dir:B(()=>y()),style:B(()=>p()),enabled:B(()=>t.enabled),wrapperId:B(()=>v()),customAnchor:B(()=>x())},O()),C=R(()=>Je(b.wrapperProps,{style:{pointerEvents:"auto"}}));var P=ht(),E=ct(P);jt(E,()=>t.content??qt,()=>({props:b.props,wrapperProps:m(C)})),st(e,P),Ut()}function Ei(e,t){Yt(t,!0),Pn(()=>{var r;(r=t.onPlaced)==null||r.call(t)});var n=ht(),i=ct(n);jt(i,()=>t.content??qt,()=>({props:{},wrapperProps:{}})),st(e,n),Ut()}function Di(e,t){let n=A(t,"isStatic",3,!1),i=ce(t,["$$slots","$$events","$$legacy","content","isStatic","onPlaced"]);var r=ht(),s=ct(r);{var o=a=>{Ei(a,{get content(){return t.content},get onPlaced(){return t.onPlaced}})},c=a=>{Fi(a,Oe({get content(){return t.content},get onPlaced(){return t.onPlaced}},()=>i))};Ae(s,a=>{n()?a(o):a(c,-1)})}st(e,r)}var Bi=dn("<!> <!>",1);function ln(e,t){Yt(t,!0);let n=A(t,"interactOutsideBehavior",3,"close"),i=A(t,"trapFocus",3,!0),r=A(t,"isValidEvent",3,()=>!1),s=A(t,"customAnchor",3,null),o=A(t,"isStatic",3,!1),c=A(t,"tooltip",3,!1),a=A(t,"contentPointerEvents",3,"auto"),l=ce(t,["$$slots","$$events","$$legacy","popper","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","enabled","ref","tooltip","contentPointerEvents"]);const u=R(()=>t.preventScroll??!0),f=R(()=>t.strategy??(m(u)?"fixed":"absolute"));Di(e,{get isStatic(){return o()},get id(){return t.id},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return m(f)},get dir(){return t.dir},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return s()},get enabled(){return t.enabled},get tooltip(){return c()},content:(d,g)=>{let y=()=>g==null?void 0:g().props,p=()=>g==null?void 0:g().wrapperProps;var v=Bi(),x=ct(v);{var O=P=>{Ie(P,{get preventScroll(){return m(u)}})},b=P=>{Ie(P,{get preventScroll(){return m(u)}})};Ae(x,P=>{t.forceMount&&t.enabled?P(O):t.forceMount||P(b,1)})}var C=hn(x,2);xn(C,{get onOpenAutoFocus(){return t.onOpenAutoFocus},get onCloseAutoFocus(){return t.onCloseAutoFocus},get loop(){return t.loop},get enabled(){return t.enabled},get trapFocus(){return i()},get forceMount(){return t.forceMount},get ref(){return t.ref},focusScope:(E,L)=>{let k=()=>L==null?void 0:L().props;bn(E,{get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get enabled(){return t.enabled},get ref(){return t.ref},children:(D,I)=>{On(D,{get id(){return t.id},get onInteractOutside(){return t.onInteractOutside},get onFocusOutside(){return t.onFocusOutside},get interactOutsideBehavior(){return n()},get isValidEvent(){return r()},get enabled(){return t.enabled},get ref(){return t.ref},children:(W,T)=>{let V=()=>T==null?void 0:T().props;An(W,{get id(){return t.id},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get enabled(){return t.enabled},get ref(){return t.ref},children:(X,K)=>{var _=ht(),j=ct(_);{let de=R(()=>({props:Je(l,y(),V(),k(),{style:{pointerEvents:a()}}),wrapperProps:p()}));jt(j,()=>t.popper??qt,()=>m(de))}st(X,_)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),st(d,v)},$$slots:{content:!0}}),Ut()}function Ki(e,t){let n=A(t,"interactOutsideBehavior",3,"close"),i=A(t,"trapFocus",3,!0),r=A(t,"isValidEvent",3,()=>!1),s=A(t,"customAnchor",3,null),o=A(t,"isStatic",3,!1),c=ce(t,["$$slots","$$events","$$legacy","popper","open","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","ref","shouldRender"]);var a=ht(),l=ct(a);{var u=f=>{ln(f,Oe({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return s()},get isStatic(){return o()},get enabled(){return t.open},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return i()},get isValidEvent(){return r()},get onFocusOutside(){return t.onFocusOutside},forceMount:!1,get ref(){return t.ref}},()=>c))};Ae(l,f=>{t.shouldRender&&f(u)})}st(e,a)}function Xi(e,t){let n=A(t,"interactOutsideBehavior",3,"close"),i=A(t,"trapFocus",3,!0),r=A(t,"isValidEvent",3,()=>!1),s=A(t,"customAnchor",3,null),o=A(t,"isStatic",3,!1),c=ce(t,["$$slots","$$events","$$legacy","popper","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","enabled"]);ln(e,Oe({get popper(){return t.popper},get onEscapeKeydown(){return t.onEscapeKeydown},get escapeKeydownBehavior(){return t.escapeKeydownBehavior},get preventOverflowTextSelection(){return t.preventOverflowTextSelection},get id(){return t.id},get onPointerDown(){return t.onPointerDown},get onPointerUp(){return t.onPointerUp},get side(){return t.side},get sideOffset(){return t.sideOffset},get align(){return t.align},get alignOffset(){return t.alignOffset},get arrowPadding(){return t.arrowPadding},get avoidCollisions(){return t.avoidCollisions},get collisionBoundary(){return t.collisionBoundary},get collisionPadding(){return t.collisionPadding},get sticky(){return t.sticky},get hideWhenDetached(){return t.hideWhenDetached},get updatePositionStrategy(){return t.updatePositionStrategy},get strategy(){return t.strategy},get dir(){return t.dir},get preventScroll(){return t.preventScroll},get wrapperId(){return t.wrapperId},get style(){return t.style},get onPlaced(){return t.onPlaced},get customAnchor(){return s()},get isStatic(){return o()},get enabled(){return t.enabled},get onInteractOutside(){return t.onInteractOutside},get onCloseAutoFocus(){return t.onCloseAutoFocus},get onOpenAutoFocus(){return t.onOpenAutoFocus},get interactOutsideBehavior(){return n()},get loop(){return t.loop},get trapFocus(){return i()},get isValidEvent(){return r()},get onFocusOutside(){return t.onFocusOutside}},()=>c,{forceMount:!0}))}export{zi as F,Xi as P,Ki as a,Vi as b,Ni as g};
@@ -1 +0,0 @@
1
- import{k as w,m as B,n as h,p as K,P as R,o as _,q as g,t as Y,v as j,w as M,x as m,y as I,z as N,u as U,A as q,B as z,C,F as G,G as $,I as p,S as A,L as D,J as F}from"./BUngiKFg.js";import{c as J}from"./C74gbb4Q.js";const Z={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 k(e,r,s){return new Proxy({props:e,exclude:r},Z)}const H={get(e,r){if(!e.exclude.includes(r))return _(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,s){if(!(r in e.special)){var n=w;try{I(e.parent_effect),e.special[r]=V({get[r](){return e.props[r]}},r,R)}finally{I(n)}}return e.special[r](s),m(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),m(e.version)),!0},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 ee(e,r){return new Proxy({props:e,exclude:r,special:{},version:B(0),parent_effect:w},H)}const Q={get(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(p(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,s){let n=e.props.length;for(;n--;){let i=e.props[n];p(i)&&(i=i());const t=h(i,r);if(t&&t.set)return t.set(s),!0}return!1},getOwnPropertyDescriptor(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(p(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const i=h(n,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===A||r===D)return!1;for(let s of e.props)if(p(s)&&(s=s()),s!=null&&r in s)return!0;return!1},ownKeys(e){const r=[];for(let s of e.props)if(p(s)&&(s=s()),!!s){for(const n in s)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(s))r.includes(n)||r.push(n)}return r}};function re(...e){return new Proxy({props:e},Q)}function V(e,r,s,n){var b;var i=!q||(s&z)!==0,t=(s&N)!==0,E=(s&F)!==0,f=n,v=!0,S=()=>(v&&(v=!1,f=E?U(n):n),f);let o;if(t){var L=A in e||D in e;o=((b=h(e,r))==null?void 0:b.set)??(L&&r in e?u=>e[r]=u:void 0)}var a,x=!1;t?[a,x]=J(()=>e[r]):a=e[r],a===void 0&&n!==void 0&&(a=S(),o&&(i&&K(),o(a)));var l;if(i?l=()=>{var u=e[r];return u===void 0?S():(v=!0,u)}:l=()=>{var u=e[r];return u!==void 0&&(f=void 0),u===void 0?f:u},i&&(s&R)===0)return l;if(o){var T=e.$$legacy;return(function(u,d){return arguments.length>0?((!i||!d||T||x)&&o(d?l():u),u):l()})}var P=!1,c=((s&C)!==0?G:$)(()=>(P=!1,l()));t&&_(c);var y=w;return(function(u,d){if(arguments.length>0){const O=d?_(c):i&&t?g(u):u;return Y(c,O),P=!0,f!==void 0&&(f=O),u}return j&&P||(y.f&M)!==0?c.v:_(c)})}export{ee as l,V as p,k as r,re as s};
@@ -1 +0,0 @@
1
- var Ht=Object.defineProperty;var xt=n=>{throw TypeError(n)};var Jt=(n,t,e)=>t in n?Ht(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var l=(n,t,e)=>Jt(n,typeof t!="symbol"?t+"":t,e),Lt=(n,t,e)=>t.has(n)||xt("Cannot "+e);var r=(n,t,e)=>(Lt(n,t,"read from private field"),e?e.call(n):t.get(n)),c=(n,t,e)=>t.has(n)?xt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e);import{p as pt,c as N,a as f,f as st}from"./D1Gs8-g3.js";import{bh as O,o as s,t as h,az as v,as as nt,aB as b,at as it,au as ft,N as at,aw as gt,av as Mt}from"./BUngiKFg.js";import{C as Qt,a as Kt,b as u,w as zt,o as Vt,c as Xt,d as vt,S as Yt,E as Zt,e as ut,g as $t,f as mt,s as S,m as D,n as M,F as te,h as ee,D as re,T as oe,i as Tt}from"./c-YfbAB_.js";import{i as B}from"./Qw0Qgx6J.js";import{b as bt}from"./DCEY1XiC.js";import{p as d,r as yt,s as Ct}from"./BxHqDcpw.js";const se=Xt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),K=new Qt("Dialog.Root | AlertDialog.Root");var W,j,q,G,H,J,L,Q,V,X,Y;const St=class St{constructor(t,e){l(this,"opts");c(this,W,O(null));c(this,j,O(null));c(this,q,O(null));c(this,G,O(null));c(this,H,O(void 0));c(this,J,O(void 0));c(this,L,O(void 0));c(this,Q,O(void 0));c(this,V,O(null));c(this,X,O(0));l(this,"depth");l(this,"parent");l(this,"contentPresence");l(this,"overlayPresence");l(this,"getBitsAttr",t=>se.getAttr(t,this.opts.variant.current));c(this,Y,v(()=>({"data-state":$t(this.opts.open.current)})));this.opts=t,this.parent=e,this.depth=e?e.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Kt({ref:u(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Kt({ref:u(()=>this.overlayNode),open:this.opts.open,enabled:!0}),zt(()=>this.opts.open.current,i=>{this.parent&&(i?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),Vt(()=>{var i;this.opts.open.current&&((i=this.parent)==null||i.decrementNested())})}static create(t){const e=K.getOr(null);return K.set(new St(t,e))}get triggerNode(){return s(r(this,W))}set triggerNode(t){h(r(this,W),t,!0)}get contentNode(){return s(r(this,j))}set contentNode(t){h(r(this,j),t,!0)}get overlayNode(){return s(r(this,q))}set overlayNode(t){h(r(this,q),t,!0)}get descriptionNode(){return s(r(this,G))}set descriptionNode(t){h(r(this,G),t,!0)}get contentId(){return s(r(this,H))}set contentId(t){h(r(this,H),t,!0)}get titleId(){return s(r(this,J))}set titleId(t){h(r(this,J),t,!0)}get triggerId(){return s(r(this,L))}set triggerId(t){h(r(this,L),t,!0)}get descriptionId(){return s(r(this,Q))}set descriptionId(t){h(r(this,Q),t,!0)}get cancelNode(){return s(r(this,V))}set cancelNode(t){h(r(this,V),t,!0)}get nestedOpenCount(){return s(r(this,X))}set nestedOpenCount(t){h(r(this,X),t,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){var t;this.nestedOpenCount++,(t=this.parent)==null||t.incrementNested()}decrementNested(){var t;this.nestedOpenCount!==0&&(this.nestedOpenCount--,(t=this.parent)==null||t.decrementNested())}get sharedProps(){return s(r(this,Y))}set sharedProps(t){h(r(this,Y),t)}};W=new WeakMap,j=new WeakMap,q=new WeakMap,G=new WeakMap,H=new WeakMap,J=new WeakMap,L=new WeakMap,Q=new WeakMap,V=new WeakMap,X=new WeakMap,Y=new WeakMap;let Ot=St;var Z;const kt=class kt{constructor(t,e){l(this,"opts");l(this,"root");l(this,"attachment");c(this,Z,v(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=t,this.root=e,this.attachment=vt(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(t){return new kt(t,K.get())}onclick(t){this.opts.disabled.current||t.button>0||this.root.handleClose()}onkeydown(t){this.opts.disabled.current||(t.key===Yt||t.key===Zt)&&(t.preventDefault(),this.root.handleClose())}get props(){return s(r(this,Z))}set props(t){h(r(this,Z),t)}};Z=new WeakMap;let Nt=kt;var $;const Ft=class Ft{constructor(t,e){l(this,"opts");l(this,"root");l(this,"attachment");c(this,$,v(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=t,this.root=e,this.root.titleId=this.opts.id.current,this.attachment=vt(this.opts.ref),zt.pre(()=>this.opts.id.current,i=>{this.root.titleId=i})}static create(t){return new Ft(t,K.get())}get props(){return s(r(this,$))}set props(t){h(r(this,$),t)}};$=new WeakMap;let It=Ft;var tt,et;const Dt=class Dt{constructor(t,e){l(this,"opts");l(this,"root");l(this,"attachment");c(this,tt,v(()=>({open:this.root.opts.open.current})));c(this,et,v(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":ut(this.root.nestedOpenCount>0),"data-nested":ut(this.root.parent!==null),...this.root.sharedProps,...this.attachment})));this.opts=t,this.root=e,this.attachment=vt(this.opts.ref,i=>{this.root.contentNode=i,this.root.contentId=i==null?void 0:i.id})}static create(t){return new Dt(t,K.get())}get snippetProps(){return s(r(this,tt))}set snippetProps(t){h(r(this,tt),t)}get props(){return s(r(this,et))}set props(t){h(r(this,et),t)}get shouldRender(){return this.root.contentPresence.shouldRender}};tt=new WeakMap,et=new WeakMap;let wt=Dt;var rt,ot;const Et=class Et{constructor(t,e){l(this,"opts");l(this,"root");l(this,"attachment");c(this,rt,v(()=>({open:this.root.opts.open.current})));c(this,ot,v(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":ut(this.root.nestedOpenCount>0),"data-nested":ut(this.root.parent!==null),...this.root.sharedProps,...this.attachment})));this.opts=t,this.root=e,this.attachment=vt(this.opts.ref,i=>this.root.overlayNode=i)}static create(t){return new Et(t,K.get())}get snippetProps(){return s(r(this,rt))}set snippetProps(t){h(r(this,rt),t)}get props(){return s(r(this,ot))}set props(t){h(r(this,ot),t)}get shouldRender(){return this.root.overlayPresence.shouldRender}};rt=new WeakMap,ot=new WeakMap;let At=Et;var ne=st("<div><!></div>");function Pe(n,t){const e=pt();nt(t,!0);let i=d(t,"id",19,()=>mt(e)),m=d(t,"ref",15,null),y=d(t,"level",3,2),I=yt(t,["$$slots","$$events","$$legacy","id","ref","child","children","level"]);const g=It.create({id:u(()=>i()),level:u(()=>y()),ref:u(()=>m(),a=>m(a))}),_=v(()=>D(I,g.props));var C=N(),E=b(C);{var k=a=>{var o=N(),p=b(o);S(p,()=>t.child,()=>({props:s(_)})),f(a,o)},P=a=>{var o=ne();bt(o,()=>({...s(_)}));var p=ft(o);S(p,()=>t.children??at),gt(o),f(a,o)};B(E,a=>{t.child?a(k):a(P,-1)})}f(n,C),it()}var ie=st("<div><!></div>");function _e(n,t){const e=pt();nt(t,!0);let i=d(t,"id",19,()=>mt(e)),m=d(t,"forceMount",3,!1),y=d(t,"ref",15,null),I=yt(t,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const g=At.create({id:u(()=>i()),ref:u(()=>y(),P=>y(P))}),_=v(()=>D(I,g.props));var C=N(),E=b(C);{var k=P=>{var a=N(),o=b(a);{var p=F=>{var w=N(),A=b(w);{let lt=v(()=>({props:D(s(_)),...g.snippetProps}));S(A,()=>t.child,()=>s(lt))}f(F,w)},dt=F=>{var w=ie();bt(w,lt=>({...lt}),[()=>D(s(_))]);var A=ft(w);S(A,()=>t.children??at,()=>g.snippetProps),gt(w),f(F,w)};B(o,F=>{t.child?F(p):F(dt,-1)})}f(P,a)};B(E,P=>{(g.shouldRender||m())&&P(k)})}f(n,C),it()}function Ce(n,t){nt(t,!0);let e=d(t,"open",15,!1),i=d(t,"onOpenChange",3,M),m=d(t,"onOpenChangeComplete",3,M);Ot.create({variant:u(()=>"dialog"),open:u(()=>e(),g=>{e(g),i()(g)}),onOpenChangeComplete:u(()=>m())});var y=N(),I=b(y);S(I,()=>t.children??at),f(n,y),it()}var ae=st("<button><!></button>");function Oe(n,t){const e=pt();nt(t,!0);let i=d(t,"id",19,()=>mt(e)),m=d(t,"ref",15,null),y=d(t,"disabled",3,!1),I=yt(t,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const g=Nt.create({variant:u(()=>"close"),id:u(()=>i()),ref:u(()=>m(),a=>m(a)),disabled:u(()=>!!y())}),_=v(()=>D(I,g.props));var C=N(),E=b(C);{var k=a=>{var o=N(),p=b(o);S(p,()=>t.child,()=>({props:s(_)})),f(a,o)},P=a=>{var o=ae();bt(o,()=>({...s(_)}));var p=ft(o);S(p,()=>t.children??at),gt(o),f(a,o)};B(E,a=>{t.child?a(k):a(P,-1)})}f(n,C),it()}var de=st("<!> <!>",1),le=st("<!> <div><!></div>",1);function Ne(n,t){const e=pt();nt(t,!0);let i=d(t,"id",19,()=>mt(e)),m=d(t,"ref",15,null),y=d(t,"forceMount",3,!1),I=d(t,"onCloseAutoFocus",3,M),g=d(t,"onOpenAutoFocus",3,M),_=d(t,"onEscapeKeydown",3,M),C=d(t,"onInteractOutside",3,M),E=d(t,"trapFocus",3,!0),k=d(t,"preventScroll",3,!0),P=d(t,"restoreScrollDelay",3,null),a=yt(t,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const o=wt.create({id:u(()=>i()),ref:u(()=>m(),A=>m(A))}),p=v(()=>D(a,o.props));var dt=N(),F=b(dt);{var w=A=>{te(A,{get ref(){return o.opts.ref},loop:!0,get trapFocus(){return E()},get enabled(){return o.root.opts.open.current},get onOpenAutoFocus(){return g()},get onCloseAutoFocus(){return I()},focusScope:(Ut,Pt)=>{let Rt=()=>Pt==null?void 0:Pt().props;ee(Ut,Ct(()=>s(p),{get enabled(){return o.root.opts.open.current},get ref(){return o.opts.ref},onEscapeKeydown:ct=>{_()(ct),!ct.defaultPrevented&&o.root.handleClose()},children:(ct,ce)=>{re(ct,Ct(()=>s(p),{get ref(){return o.opts.ref},get enabled(){return o.root.opts.open.current},onInteractOutside:ht=>{C()(ht),!ht.defaultPrevented&&o.root.handleClose()},children:(ht,he)=>{oe(ht,Ct(()=>s(p),{get ref(){return o.opts.ref},get enabled(){return o.root.opts.open.current},children:(Wt,ue)=>{var Bt=N(),jt=b(Bt);{var qt=x=>{var T=de(),z=b(T);{var U=R=>{Tt(R,{get preventScroll(){return k()},get restoreScrollDelay(){return P()}})};B(z,R=>{o.root.opts.open.current&&R(U)})}var _t=Mt(z,2);{let R=v(()=>({props:D(s(p),Rt()),...o.snippetProps}));S(_t,()=>t.child,()=>s(R))}f(x,T)},Gt=x=>{var T=le(),z=b(T);Tt(z,{get preventScroll(){return k()}});var U=Mt(z,2);bt(U,R=>({...R}),[()=>D(s(p),Rt())]);var _t=ft(U);S(_t,()=>t.children??at),gt(U),f(x,T)};B(jt,x=>{t.child?x(qt):x(Gt,-1)})}f(Wt,Bt)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};B(F,A=>{(o.shouldRender||y())&&A(w)})}f(n,dt),it()}export{Ce as D,_e as a,Ne as b,Pe as c,Oe as d};
@@ -1,6 +0,0 @@
1
- import{b as M,a as N,d as P,c as j}from"./D1Gs8-g3.js";import"./Dgs6d7X5.js";import{h as a,a as C,f as b,aG as F,b as G,E as O,aH as R,aI as D,ae as H,Y as K,e as A,c as w,k as L,K as V,as as Y,at as q,ao as u,u as S,au as J,aB as Q,av as U,aw as X,o as y,az as Z,aA as $}from"./BUngiKFg.js";import{e as ee,i as te}from"./DjzVVxpy.js";import{s as ae}from"./V2-VOe88.js";import{i as se}from"./DWJZOHke.js";import{B as re}from"./CAtemnMo.js";import{b as W}from"./DCEY1XiC.js";import{i as oe}from"./CVjCNJia.js";import{l as z,p as i}from"./BxHqDcpw.js";function ne(p,t,m,_,h,E){let r=a;a&&C();var e=null;a&&b.nodeType===F&&(e=b,C());var l=a?b:p,g=new re(l,!1);G(()=>{const s=t()||null;var o=D;if(s===null){g.ensure(null,null);return}return g.ensure(s,d=>{if(s){if(e=a?e:R(s,o),M(e,e),_){a&&se(s)&&e.append(document.createComment(""));var c=a?H(e):e.appendChild(K());a&&(c===null?A(!1):w(c)),_(e,c)}L.nodes.end=e,d.before(e)}a&&w(d)}),()=>{}},O),V(()=>{}),r&&(A(!0),w(l))}/**
2
- * @license lucide-svelte v0.460.1 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const ie={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"};var le=P("<svg><!><!></svg>");function be(p,t){const m=z(t,["children","$$slots","$$events","$$legacy"]),_=z(m,["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"]);Y(t,!1);let h=i(t,"name",8,void 0),E=i(t,"color",8,"currentColor"),r=i(t,"size",8,24),e=i(t,"strokeWidth",8,2),l=i(t,"absoluteStrokeWidth",8,!1),g=i(t,"iconNode",24,()=>[]);const s=(...f)=>f.filter((n,v,k)=>!!n&&k.indexOf(n)===v).join(" ");oe();var o=le();W(o,(f,n)=>({...ie,..._,width:r(),height:r(),stroke:E(),"stroke-width":f,class:n}),[()=>(u(l()),u(e()),u(r()),S(()=>l()?Number(e())*24/Number(r()):e())),()=>(u(h()),u(m),S(()=>s("lucide-icon","lucide",h()?`lucide-${h()}`:"",m.class)))]);var d=J(o);ee(d,1,g,te,(f,n)=>{var v=Z(()=>$(y(n),2));let k=()=>y(v)[0],B=()=>y(v)[1];var x=j(),T=Q(x);ne(T,k,!0,(I,de)=>{W(I,()=>({...B()}))}),N(f,x)});var c=U(d);ae(c,t,"default",{}),X(o),N(p,o),q()}export{be as I};
@@ -1 +0,0 @@
1
- import{aj as e,ak as u,g as t,A as c,u as a}from"./BUngiKFg.js";function l(n){t===null&&e(),c&&t.l!==null?s(t).m.push(n):u(()=>{const o=a(n);if(typeof o=="function")return o})}function i(n){t===null&&e(),l(()=>()=>a(n))}function s(n){var o=n.l;return o.u??(o.u={a:[],b:[],m:[]})}export{i as a,l as o};
@@ -1 +0,0 @@
1
- import{s as o,g as c}from"./LQVMBmDN.js";import{K as l,M as b,N as a,O as p,o as d,t as _}from"./BUngiKFg.js";let s=!1,i=Symbol();function y(e,n,r){const u=r[n]??(r[n]={store:null,source:p(void 0),unsubscribe:a});if(u.store!==e&&!(i in r))if(u.unsubscribe(),u.store=e??null,e==null)u.source.v=void 0,u.unsubscribe=a;else{var t=!0;u.unsubscribe=o(e,f=>{t?u.source.v=f:_(u.source,f)}),t=!1}return e&&i in r?c(e):d(u.source)}function m(){const e={};function n(){l(()=>{for(var r in e)e[r].unsubscribe();b(e,i,{enumerable:!1,value:!0})})}return[e,n]}function N(e){var n=s;try{return s=!1,[e(),s]}finally{s=n}}export{y as a,N as c,m as s};
@@ -1 +0,0 @@
1
- var B=Object.defineProperty;var g=i=>{throw TypeError(i)};var D=(i,e,s)=>e in i?B(i,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[e]=s;var w=(i,e,s)=>D(i,typeof e!="symbol"?e+"":e,s),y=(i,e,s)=>e.has(i)||g("Cannot "+s);var t=(i,e,s)=>(y(i,e,"read from private field"),s?s.call(i):e.get(i)),l=(i,e,s)=>e.has(i)?g("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,s),M=(i,e,s,a)=>(y(i,e,"write to private field"),a?a.call(i,s):e.set(i,s),s);import{a7 as F,ad as b,a8 as C,Y as x,_ as A,R,h as S,f as Y,ac as j,a1 as q}from"./BUngiKFg.js";var h,n,r,u,p,_,v;class G{constructor(e,s=!0){w(this,"anchor");l(this,h,new Map);l(this,n,new Map);l(this,r,new Map);l(this,u,new Set);l(this,p,!0);l(this,_,e=>{if(t(this,h).has(e)){var s=t(this,h).get(e),a=t(this,n).get(s);if(a)F(a),t(this,u).delete(s);else{var c=t(this,r).get(s);c&&(t(this,n).set(s,c.effect),t(this,r).delete(s),c.fragment.lastChild.remove(),this.anchor.before(c.fragment),a=c.effect)}for(const[f,o]of t(this,h)){if(t(this,h).delete(f),f===e)break;const d=t(this,r).get(o);d&&(b(d.effect),t(this,r).delete(o))}for(const[f,o]of t(this,n)){if(f===s||t(this,u).has(f))continue;const d=()=>{if(Array.from(t(this,h).values()).includes(f)){var k=document.createDocumentFragment();j(o,k),k.append(x()),t(this,r).set(f,{effect:o,fragment:k})}else b(o);t(this,u).delete(f),t(this,n).delete(f)};t(this,p)||!a?(t(this,u).add(f),C(o,d,!1)):d()}}});l(this,v,e=>{t(this,h).delete(e);const s=Array.from(t(this,h).values());for(const[a,c]of t(this,r))s.includes(a)||(b(c.effect),t(this,r).delete(a))});this.anchor=e,M(this,p,s)}ensure(e,s){var a=R,c=q();if(s&&!t(this,n).has(e)&&!t(this,r).has(e))if(c){var f=document.createDocumentFragment(),o=x();f.append(o),t(this,r).set(e,{effect:A(()=>s(o)),fragment:f})}else t(this,n).set(e,A(()=>s(this.anchor)));if(t(this,h).set(a,e),c){for(const[d,m]of t(this,n))d===e?a.unskip_effect(m):a.skip_effect(m);for(const[d,m]of t(this,r))d===e?a.unskip_effect(m.effect):a.skip_effect(m.effect);a.oncommit(t(this,_)),a.ondiscard(t(this,v))}else S&&(this.anchor=Y),t(this,_).call(this,a)}}h=new WeakMap,n=new WeakMap,r=new WeakMap,u=new WeakMap,p=new WeakMap,_=new WeakMap,v=new WeakMap;export{G as B};
@@ -1 +0,0 @@
1
- import{g as d,al as g,ak as i,u as m,am as l,an as b,o as p,ao as k,F as v}from"./BUngiKFg.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let f=()=>k(s.s);if(n){let a=0,t={};const _=v(()=>{let c=!1;const r=s.s;for(const o in r)r[o]!==t[o]&&(t[o]=r[o],c=!0);return c&&a++,a});f=()=>p(_)}e.b.length&&g(()=>{u(s,f),l(e.b)}),i(()=>{const a=m(()=>e.m.map(b));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&i(()=>{u(s,f),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};
@@ -1,2 +0,0 @@
1
- var De=Object.defineProperty;var he=r=>{throw TypeError(r)};var Ae=(r,e,s)=>e in r?De(r,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[e]=s;var W=(r,e,s)=>Ae(r,typeof e!="symbol"?e+"":e,s),G=(r,e,s)=>e.has(r)||he("Cannot "+s);var t=(r,e,s)=>(G(r,e,"read from private field"),s?s.call(r):e.get(r)),o=(r,e,s)=>e.has(r)?he("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,s),i=(r,e,s,n)=>(G(r,e,"write to private field"),n?n.call(r,s):e.set(r,s),s),l=(r,e,s)=>(G(r,e,"access private method"),s);import{aJ as Se,o as ve,j as Oe,u as Fe,aK as fe,af as q,m as ye,f as O,h as F,k as H,aL as oe,b as ke,a as Ye,U as Ce,aM as de,_ as S,Y as me,a8 as Z,R as _e,ac as He,aN as Ie,y as le,aD as ce,aO as ue,aP as Me,aQ as xe,aE as Le,g as be,X as Ve,ad as ee,c as z,ax as We,s as Pe,aR as P,E as $e,aq as je,aS as qe,aT as Be,aU as te,ae as Ue,V as Ee,H as ze,ag as Je,aV as se,e as $,aW as Xe,ab as Ke,aX as Qe,a3 as Ge,as as Ze,W as et,aY as tt,at as st}from"./BUngiKFg.js";import{b as rt,r as pe,h as ge,c as it}from"./DWJZOHke.js";import{b as nt}from"./D1Gs8-g3.js";function at(r){let e=0,s=ye(0),n;return()=>{Se()&&(ve(s),Oe(()=>(e===0&&(n=Fe(()=>r(()=>fe(s)))),e+=1,()=>{q(()=>{e-=1,e===0&&(n==null||n(),n=void 0,fe(s))})})))}}var ht=$e|je;function ft(r,e,s,n){new ot(r,e,s,n)}var u,I,R,k,c,w,p,y,N,Y,A,C,M,x,D,J,a,Te,Re,we,re,B,U,ie;class ot{constructor(e,s,n,g){o(this,a);W(this,"parent");W(this,"is_pending",!1);W(this,"transform_error");o(this,u);o(this,I,F?O:null);o(this,R);o(this,k);o(this,c);o(this,w,null);o(this,p,null);o(this,y,null);o(this,N,null);o(this,Y,0);o(this,A,0);o(this,C,!1);o(this,M,new Set);o(this,x,new Set);o(this,D,null);o(this,J,at(()=>(i(this,D,ye(t(this,Y))),()=>{i(this,D,null)})));var h;i(this,u,e),i(this,R,s),i(this,k,f=>{var v=H;v.b=this,v.f|=oe,n(f)}),this.parent=H.b,this.transform_error=g??((h=this.parent)==null?void 0:h.transform_error)??(f=>f),i(this,c,ke(()=>{if(F){const f=t(this,I);Ye();const v=f.data===Ce;if(f.data.startsWith(de)){const _=JSON.parse(f.data.slice(de.length));l(this,a,Re).call(this,_)}else v?l(this,a,we).call(this):l(this,a,Te).call(this)}else l(this,a,re).call(this)},ht)),F&&i(this,u,O)}defer_effect(e){Ie(e,t(this,M),t(this,x))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!t(this,R).pending}update_pending_count(e,s){l(this,a,ie).call(this,e,s),i(this,Y,t(this,Y)+e),!(!t(this,D)||t(this,C))&&(i(this,C,!0),q(()=>{i(this,C,!1),t(this,D)&&Ve(t(this,D),t(this,Y))}))}get_effect_pending(){return t(this,J).call(this),ve(t(this,D))}error(e){var s=t(this,R).onerror;let n=t(this,R).failed;if(!s&&!n)throw e;t(this,w)&&(ee(t(this,w)),i(this,w,null)),t(this,p)&&(ee(t(this,p)),i(this,p,null)),t(this,y)&&(ee(t(this,y)),i(this,y,null)),F&&(z(t(this,I)),We(),z(Pe()));var g=!1,h=!1;const f=()=>{if(g){Be();return}g=!0,h&&qe(),t(this,y)!==null&&Z(t(this,y),()=>{i(this,y,null)}),l(this,a,U).call(this,()=>{l(this,a,re).call(this)})},v=d=>{try{h=!0,s==null||s(d,f),h=!1}catch(_){P(_,t(this,c)&&t(this,c).parent)}n&&i(this,y,l(this,a,U).call(this,()=>{try{return S(()=>{var _=H;_.b=this,_.f|=oe,n(t(this,u),()=>d,()=>f)})}catch(_){return P(_,t(this,c).parent),null}}))};q(()=>{var d;try{d=this.transform_error(e)}catch(_){P(_,t(this,c)&&t(this,c).parent);return}d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(v,_=>P(_,t(this,c)&&t(this,c).parent)):v(d)})}}u=new WeakMap,I=new WeakMap,R=new WeakMap,k=new WeakMap,c=new WeakMap,w=new WeakMap,p=new WeakMap,y=new WeakMap,N=new WeakMap,Y=new WeakMap,A=new WeakMap,C=new WeakMap,M=new WeakMap,x=new WeakMap,D=new WeakMap,J=new WeakMap,a=new WeakSet,Te=function(){try{i(this,w,S(()=>t(this,k).call(this,t(this,u))))}catch(e){this.error(e)}},Re=function(e){const s=t(this,R).failed;s&&i(this,y,S(()=>{s(t(this,u),()=>e,()=>()=>{})}))},we=function(){const e=t(this,R).pending;e&&(this.is_pending=!0,i(this,p,S(()=>e(t(this,u)))),q(()=>{var s=i(this,N,document.createDocumentFragment()),n=me();s.append(n),i(this,w,l(this,a,U).call(this,()=>S(()=>t(this,k).call(this,n)))),t(this,A)===0&&(t(this,u).before(s),i(this,N,null),Z(t(this,p),()=>{i(this,p,null)}),l(this,a,B).call(this,_e))}))},re=function(){try{if(this.is_pending=this.has_pending_snippet(),i(this,A,0),i(this,Y,0),i(this,w,S(()=>{t(this,k).call(this,t(this,u))})),t(this,A)>0){var e=i(this,N,document.createDocumentFragment());He(t(this,w),e);const s=t(this,R).pending;i(this,p,S(()=>s(t(this,u))))}else l(this,a,B).call(this,_e)}catch(s){this.error(s)}},B=function(e){this.is_pending=!1,e.transfer_effects(t(this,M),t(this,x))},U=function(e){var s=H,n=Le,g=be;le(t(this,c)),ce(t(this,c)),ue(t(this,c).ctx);try{return Me.ensure(),e()}catch(h){return xe(h),null}finally{le(s),ce(n),ue(g)}},ie=function(e,s){var n;if(!this.has_pending_snippet()){this.parent&&l(n=this.parent,a,ie).call(n,e,s);return}i(this,A,t(this,A)+e),t(this,A)===0&&(l(this,a,B).call(this,s),t(this,p)&&Z(t(this,p),()=>{i(this,p,null)}),t(this,N)&&(t(this,u).before(t(this,N)),i(this,N,null)))};function pt(r,e){var s=e==null?"":typeof e=="object"?`${e}`:e;s!==(r.__t??(r.__t=r.nodeValue))&&(r.__t=s,r.nodeValue=`${s}`)}function dt(r,e){return Ne(r,e)}function gt(r,e){te(),e.intro=e.intro??!1;const s=e.target,n=F,g=O;try{for(var h=Ue(s);h&&(h.nodeType!==Ee||h.data!==ze);)h=Je(h);if(!h)throw se;$(!0),z(h);const f=Ne(r,{...e,anchor:h});return $(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
- `).some(v=>v.startsWith("https://svelte.dev/e/")))throw f;return f!==se&&console.warn("Failed to hydrate: ",f),e.recover===!1&&Xe(),te(),Ke(s),$(!1),dt(r,e)}finally{$(n),z(g)}}const j=new Map;function Ne(r,{target:e,anchor:s,props:n={},events:g,context:h,intro:f=!0,transformError:v}){te();var d=void 0,_=Qe(()=>{var L=s??e.appendChild(me());ft(L,{pending:()=>{}},m=>{Ze({});var b=be;if(h&&(b.c=h),g&&(n.$$events=g),F&&nt(m,null),d=r(m,n)||{},F&&(H.nodes.end=O,O===null||O.nodeType!==Ee||O.data!==et))throw tt(),se;st()},v);var X=new Set,K=m=>{for(var b=0;b<m.length;b++){var E=m[b];if(!X.has(E)){X.add(E);var V=it(E);for(const Q of[e,document]){var T=j.get(Q);T===void 0&&(T=new Map,j.set(Q,T));var ae=T.get(E);ae===void 0?(Q.addEventListener(E,ge,{passive:V}),T.set(E,1)):T.set(E,ae+1)}}}};return K(Ge(rt)),pe.add(K),()=>{var V;for(var m of X)for(const T of[e,document]){var b=j.get(T),E=b.get(m);--E==0?(T.removeEventListener(m,ge),b.delete(m),b.size===0&&j.delete(T)):b.set(m,E)}pe.delete(K),L!==s&&((V=L.parentNode)==null||V.removeChild(L))}});return ne.set(d,_),d}let ne=new WeakMap;function vt(r,e){const s=ne.get(r);return s?(ne.delete(r),s(e)):Promise.resolve()}export{at as c,gt as h,dt as m,pt as s,vt as u};
@@ -1 +0,0 @@
1
- var Zt=t=>{throw TypeError(t)};var Ne=(t,e,n)=>e.has(t)||Zt("Cannot "+n);var v=(t,e,n)=>(Ne(t,e,"read from private field"),n?n.call(t):e.get(t)),A=(t,e,n)=>e.has(t)?Zt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n);import{bh as P,o as T,t as I,T as gt,br as De}from"./BUngiKFg.js";import{w as Dt}from"./LQVMBmDN.js";import{b as qe,H as qt,S as Vt,R as Bt}from"./BUApaBEI.js";import{o as te}from"./C1kQ4pHy.js";new URL("sveltekit-internal://");function Ve(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Be(t){return t.split("%25").map(decodeURI).join("%25")}function Ke(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function At({href:t}){return t.split("#")[0]}function Fe(t,e,n,a=!1){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return(c,...p)=>(n(c),i[o](c,...p));e();const l=Reflect.get(i,o);return typeof l=="function"?l.bind(i):l}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];a&&s.push("hash");for(const i of s)Object.defineProperty(r,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return r}function Ge(...t){let e=5381;for(const n of t)if(typeof n=="string"){let a=n.length;for(;a;)e=e*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)e=e*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}const He=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&z.delete(Kt(t)),He(t,e));const z=new Map;function Me(t,e){const n=Kt(t,e),a=document.querySelector(n);if(a!=null&&a.textContent){a.remove();let{body:r,...s}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&z.set(n,{body:r,init:s,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=qe(r)),Promise.resolve(new Response(r,s))}return window.fetch(t,e)}function We(t,e,n){if(z.size>0){const a=Kt(t,n),r=z.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n==null?void 0:n.cache))return new Response(r.body,r.init);z.delete(a)}}return window.fetch(e,n)}function Kt(t,e){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e!=null&&e.headers||e!=null&&e.body){const r=[];e.headers&&r.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&r.push(e.body),a+=`[data-hash="${Ge(...r)}"]`}return a}const Ye=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function ze(t){const e=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${Xe(t).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return e.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(s)return e.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,c)=>{if(c%2){if(l.startsWith("x+"))return Pt(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return Pt(String.fromCharCode(...l.slice(2).split("-").map(f=>parseInt(f,16))));const p=Ye.exec(l),[,h,_,g,d]=p;return e.push({name:g,matcher:d,optional:!!h,rest:!!_,chained:_?c===1&&i[0]==="":!1}),_?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Pt(l)}).join("")}).join("")}/?$`),params:e}}function Je(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function Xe(t){return t.slice(1).split("/").filter(Je)}function Qe(t,e,n){const a={},r=t.slice(1),s=r.filter(o=>o!==void 0);let i=0;for(let o=0;o<e.length;o+=1){const l=e[o];let c=r[o-i];if(l.chained&&l.rest&&i&&(c=r.slice(o-i,o+1).filter(p=>p).join("/"),i=0),c===void 0)if(l.rest)c="";else continue;if(!l.matcher||n[l.matcher](c)){a[l.name]=c;const p=e[o+1],h=r[o+1];p&&!p.rest&&p.optional&&h&&l.chained&&(i=0),!p&&!h&&Object.keys(a).length===s.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return a}function Pt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ze({nodes:t,server_loads:e,dictionary:n,matchers:a}){const r=new Set(e);return Object.entries(n).map(([o,[l,c,p]])=>{const{pattern:h,params:_}=ze(o),g={id:o,exec:d=>{const f=h.exec(d);if(f)return Qe(f,_,a)},errors:[1,...p||[]].map(d=>t[d]),layouts:[0,...c||[]].map(i),leaf:s(l)};return g.errors.length=g.layouts.length=Math.max(g.errors.length,g.layouts.length),g});function s(o){const l=o<0;return l&&(o=~o),[l,t[o]]}function i(o){return o===void 0?o:[r.has(o),t[o]]}}function ge(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function ee(t,e,n=JSON.stringify){const a=n(e);try{sessionStorage[t]=a}catch{}}var fe;const U=((fe=globalThis.__sveltekit_1xax08i)==null?void 0:fe.base)??"";var ue;const tn=((ue=globalThis.__sveltekit_1xax08i)==null?void 0:ue.assets)??U??"",en="1775205848770",me="sveltekit:snapshot",_e="sveltekit:scroll",we="sveltekit:states",nn="sveltekit:pageurl",F="sveltekit:history",X="sveltekit:navigation",D={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Et=location.origin;function Ft(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function V(){return{x:pageXOffset,y:pageYOffset}}function K(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ne={...D,"":D.hover};function ve(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ye(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=ve(t)}}function Ot(t,e,n){let a;try{if(a=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";a.hash=`#${o}${a.hash}`}}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,s=!a||!!r||St(a,e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(a==null?void 0:a.origin)===Et&&t.hasAttribute("download");return{url:a,external:s,target:r,download:i}}function mt(t){let e=null,n=null,a=null,r=null,s=null,i=null,o=t;for(;o&&o!==document.documentElement;)a===null&&(a=K(o,"preload-code")),r===null&&(r=K(o,"preload-data")),e===null&&(e=K(o,"keepfocus")),n===null&&(n=K(o,"noscroll")),s===null&&(s=K(o,"reload")),i===null&&(i=K(o,"replacestate")),o=ve(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ne[a??"off"],preload_data:ne[r??"off"],keepfocus:l(e),noscroll:l(n),reload:l(s),replace_state:l(i)}}function re(t){const e=Dt(t);let n=!0;function a(){n=!0,e.update(i=>i)}function r(i){n=!1,e.set(i)}function s(i){let o;return e.subscribe(l=>{(o===void 0||n&&l!==o)&&i(o=l)})}return{notify:a,set:r,subscribe:s}}const be={v:()=>{}};function rn(){const{set:t,subscribe:e}=Dt(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${tn}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==en;return i&&(t(!0),be.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:e,check:a}}function St(t,e,n){return t.origin!==Et||!t.pathname.startsWith(e)?!0:n?t.pathname!==location.pathname:!1}function Cn(t){}const ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ke];const an=new Set([...ke]);[...an];function on(t){return t.filter(e=>e!=null)}function Gt(t){return t instanceof qt||t instanceof Vt?t.status:500}function sn(t){return t instanceof Vt?t.text:"Internal Error"}let S,Q,Tt;const ln=te.toString().includes("$$")||/function \w+\(\) \{\}/.test(te.toString()),ae="a:";var rt,at,ot,it,st,lt,ct,ft,de,ut,he,dt,pe;ln?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(ae)},Q={current:null},Tt={current:!1}):(S=new(de=class{constructor(){A(this,rt,P({}));A(this,at,P(null));A(this,ot,P(null));A(this,it,P({}));A(this,st,P({id:null}));A(this,lt,P({}));A(this,ct,P(-1));A(this,ft,P(new URL(ae)))}get data(){return T(v(this,rt))}set data(e){I(v(this,rt),e)}get form(){return T(v(this,at))}set form(e){I(v(this,at),e)}get error(){return T(v(this,ot))}set error(e){I(v(this,ot),e)}get params(){return T(v(this,it))}set params(e){I(v(this,it),e)}get route(){return T(v(this,st))}set route(e){I(v(this,st),e)}get state(){return T(v(this,lt))}set state(e){I(v(this,lt),e)}get status(){return T(v(this,ct))}set status(e){I(v(this,ct),e)}get url(){return T(v(this,ft))}set url(e){I(v(this,ft),e)}},rt=new WeakMap,at=new WeakMap,ot=new WeakMap,it=new WeakMap,st=new WeakMap,lt=new WeakMap,ct=new WeakMap,ft=new WeakMap,de),Q=new(he=class{constructor(){A(this,ut,P(null))}get current(){return T(v(this,ut))}set current(e){I(v(this,ut),e)}},ut=new WeakMap,he),Tt=new(pe=class{constructor(){A(this,dt,P(!1))}get current(){return T(v(this,dt))}set current(e){I(v(this,dt),e)}},dt=new WeakMap,pe),be.v=()=>Tt.current=!0);function cn(t){Object.assign(S,t)}const oe={spanContext(){return fn},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},fn={traceId:"",spanId:"",traceFlags:0},un=new Set(["icon","shortcut icon","apple-touch-icon"]);let W=null;const j=ge(_e)??{},Z=ge(me)??{},$={url:re({}),page:re({}),navigating:Dt(null),updated:rn()};function Ht(t){j[t]=V()}function dn(t,e){let n=t+1;for(;j[n];)delete j[n],n+=1;for(n=e+1;Z[n];)delete Z[n],n+=1}function tt(t,e=!1){return e?location.replace(t.href):location.href=t.href,new Promise(()=>{})}async function Re(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(U||"/");t&&await t.update()}}function ie(){}let Mt,Ct,_t,O,$t,k;const wt=[],vt=[];let b=null;function jt(){var t;(t=b==null?void 0:b.fork)==null||t.then(e=>e==null?void 0:e.discard()),b=null}const pt=new Map,Ee=new Set,hn=new Set,J=new Set;let w={branch:[],error:null,url:null},Se=!1,yt=!1,se=!0,et=!1,Y=!1,xe=!1,Wt=!1,Le,R,L,q;const bt=new Set,le=new Map;async function Dn(t,e,n){var s,i,o,l,c;(s=globalThis.__sveltekit_1xax08i)!=null&&s.data&&globalThis.__sveltekit_1xax08i.data,document.URL!==location.href&&(location.href=location.href),k=t,await((o=(i=t.hooks).init)==null?void 0:o.call(i)),Mt=Ze(t),O=document.documentElement,$t=e,Ct=t.nodes[0],_t=t.nodes[1],Ct(),_t(),R=(l=history.state)==null?void 0:l[F],L=(c=history.state)==null?void 0:c[X],R||(R=L=Date.now(),history.replaceState({...history.state,[F]:R,[X]:L},""));const a=j[R];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await Sn($t,n)):(await G({type:"enter",url:Ft(k.hash?Un(new URL(location.href)):location.href),replace_state:!0}),r()),En()}function pn(){wt.length=0,Wt=!1}function Ue(t){vt.some(e=>e==null?void 0:e.snapshot)&&(Z[t]=vt.map(e=>{var n;return(n=e==null?void 0:e.snapshot)==null?void 0:n.capture()}))}function Ae(t){var e;(e=Z[t])==null||e.forEach((n,a)=>{var r,s;(s=(r=vt[a])==null?void 0:r.snapshot)==null||s.restore(n)})}function ce(){Ht(R),ee(_e,j),Ue(L),ee(me,Z)}async function Pe(t,e,n,a){let r;e.invalidateAll&&jt(),await G({type:"goto",url:Ft(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:n,nav_token:a,accept:()=>{e.invalidateAll&&(Wt=!0,r=[...le.keys()]),e.invalidate&&e.invalidate.forEach(Rn)}}),e.invalidateAll&&gt().then(gt).then(()=>{le.forEach(({resource:s},i)=>{var o;r!=null&&r.includes(i)&&((o=s.refresh)==null||o.call(s))})})}async function gn(t){if(t.id!==(b==null?void 0:b.id)){jt();const e={};bt.add(e),b={id:t.id,token:e,promise:Oe({...t,preload:e}).then(n=>(bt.delete(e),n.type==="loaded"&&n.state.error&&jt(),n)),fork:null}}return b.promise}async function It(t){var n;const e=(n=await xt(t,!1))==null?void 0:n.route;e&&await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(a=>a[1]()))}async function Te(t,e,n){var s;const a={params:w.params,route:{id:((s=w.route)==null?void 0:s.id)??null},url:new URL(location.href)};w={...t.state,nav:a};const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(S,t.props.page),Le=new k.root({target:e,props:{...t.props,stores:$,components:vt},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),Ae(L),n){const i={from:null,to:{...a,scroll:j[R]??V()},willUnload:!1,type:"enter",complete:Promise.resolve()};J.forEach(o=>o(i))}yt=!0}async function kt({url:t,params:e,branch:n,errors:a,status:r,error:s,route:i,form:o}){let l="never";if(U&&(t.pathname===U||t.pathname===U+"/"))l="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(l=d.slash);t.pathname=Ve(t.pathname,l),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:n,error:s,route:i},props:{constructors:on(n).map(d=>d.node.component),page:Qt(S)}};o!==void 0&&(c.props.form=o);let p={},h=!S,_=0;for(let d=0;d<Math.max(n.length,w.branch.length);d+=1){const f=n[d],u=w.branch[d];(f==null?void 0:f.data)!==(u==null?void 0:u.data)&&(h=!0),f&&(p={...p,...f.data},h&&(c.props[`data_${_}`]=p),_+=1)}return(!w.url||t.href!==w.url.href||w.error!==s||o!==void 0&&o!==S.form||h)&&(c.props.page={error:s,params:e,route:{id:(i==null?void 0:i.id)??null},state:{},status:r,url:new URL(t),form:o??null,data:h?p:S.data}),c}async function Yt({loader:t,parent:e,url:n,params:a,route:r,server_data_node:s}){var p,h,_;let i=null,o=!0;const l={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await t();if((p=c.universal)!=null&&p.load){let g=function(...f){for(const u of f){const{href:m}=new URL(u,n);l.dependencies.add(m)}};const d={tracing:{enabled:!1,root:oe,current:oe},route:new Proxy(r,{get:(f,u)=>(o&&(l.route=!0),f[u])}),params:new Proxy(a,{get:(f,u)=>(o&&l.params.add(u),f[u])}),data:(s==null?void 0:s.data)??null,url:Fe(n,()=>{o&&(l.url=!0)},f=>{o&&l.search_params.add(f)},k.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f==null?void 0:f.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:m,promise:y}=Ie(f,u,n);return o&&g(m.href),y},setHeaders:()=>{},depends:g,parent(){return o&&(l.parent=!0),e()},untrack(f){o=!1;try{return f()}finally{o=!0}}};i=await c.universal.load.call(null,d)??null}return{node:c,loader:t,server:s,universal:(h=c.universal)!=null&&h.load?{type:"data",data:i,uses:l}:null,data:i??(s==null?void 0:s.data)??null,slash:((_=c.universal)==null?void 0:_.trailingSlash)??(s==null?void 0:s.slash)}}function Ie(t,e,n){let a=t instanceof Request?t.url:t;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const s=yt?We(a,r.href,e):Me(a,e);return{resolved:r,promise:s}}function mn(t,e,n,a,r,s){if(Wt)return!0;if(!r)return!1;if(r.parent&&t||r.route&&e||r.url&&n)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(s[i]!==w.params[i])return!0;for(const i of r.dependencies)if(wt.some(o=>o(new URL(i))))return!0;return!1}function zt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function _n(t,e){if(!t)return new Set(e.searchParams.keys());const n=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const a of n){const r=t.searchParams.getAll(a),s=e.searchParams.getAll(a);r.every(i=>s.includes(i))&&s.every(i=>r.includes(i))&&n.delete(a)}return n}function wn({error:t,url:e,route:n,params:a}){return{type:"loaded",state:{error:t,url:e,route:n,params:a,branch:[]},props:{page:Qt(S),constructors:[]}}}async function Oe({id:t,invalidating:e,url:n,params:a,route:r,preload:s}){if((b==null?void 0:b.id)===t)return bt.delete(b.token),b.promise;const{errors:i,layouts:o,leaf:l}=r,c=[...o,l];i.forEach(u=>u==null?void 0:u().catch(()=>{})),c.forEach(u=>u==null?void 0:u[1]().catch(()=>{}));const p=w.url?t!==Rt(w.url):!1,h=w.route?r.id!==w.route.id:!1,_=_n(w.url,n);let g=!1;const d=c.map(async(u,m)=>{var C;if(!u)return;const y=w.branch[m];return u[1]===(y==null?void 0:y.loader)&&!mn(g,h,p,_,(C=y.universal)==null?void 0:C.uses,a)?y:(g=!0,Yt({loader:u[1],url:n,params:a,route:r,parent:async()=>{var ht;const N={};for(let B=0;B<m;B+=1)Object.assign(N,(ht=await d[B])==null?void 0:ht.data);return N},server_data_node:zt(u[0]?{type:"skip"}:null,u[0]?y==null?void 0:y.server:void 0)}))});for(const u of d)u.catch(()=>{});const f=[];for(let u=0;u<c.length;u+=1)if(c[u])try{f.push(await d[u])}catch(m){if(m instanceof Bt)return{type:"redirect",location:m.location};if(bt.has(s))return wn({error:await nt(m,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let y=Gt(m),x;if(m instanceof qt)x=m.body;else{if(await $.updated.check())return await Re(),await tt(n);x=await nt(m,{params:a,url:n,route:{id:r.id}})}const C=await vn(u,f,i);return C?kt({url:n,params:a,branch:f.slice(0,C.idx).concat(C.node),errors:i,status:y,error:x,route:r}):await $e(n,{id:r.id},x,y)}else f.push(void 0);return kt({url:n,params:a,branch:f,errors:i,status:200,error:null,route:r,form:e?void 0:null})}async function vn(t,e,n){for(;t--;)if(n[t]){let a=t;for(;!e[a];)a-=1;try{return{idx:a+1,node:{node:await n[t](),loader:n[t],data:{},server:null,universal:null}}}catch{continue}}}async function Jt({status:t,error:e,url:n,route:a}){const r={};let s=null;try{const i=await Yt({loader:Ct,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:zt(s)}),o={node:await _t(),loader:_t,universal:null,server:null,data:null};return kt({url:n,params:r,branch:[i,o],status:t,error:e,errors:[],route:null})}catch(i){if(i instanceof Bt)return Pe(new URL(i.location,location.href),{},0);throw i}}async function yn(t){const e=t.href;if(pt.has(e))return pt.get(e);let n;try{const a=(async()=>{let r=await k.hooks.reroute({url:new URL(t),fetch:async(s,i)=>Ie(s,i,t).promise})??t;if(typeof r=="string"){const s=new URL(t);k.hash?s.hash=r:s.pathname=r,r=s}return r})();pt.set(e,a),n=await a}catch{pt.delete(e);return}return n}async function xt(t,e){if(t&&!St(t,U,k.hash)){const n=await yn(t);if(!n)return;const a=bn(n);for(const r of Mt){const s=r.exec(a);if(s)return{id:Rt(t),invalidating:e,route:r,params:Ke(s),url:t}}}}function bn(t){return Be(k.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(U.length))||"/"}function Rt(t){return(k.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Ce({url:t,type:e,intent:n,delta:a,event:r,scroll:s}){let i=!1;const o=Xt(w,n,t,e,s??null);a!==void 0&&(o.navigation.delta=a),r!==void 0&&(o.navigation.event=r);const l={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return et||Ee.forEach(c=>c(l)),i?null:o}async function G({type:t,url:e,popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i={},redirect_count:o=0,nav_token:l={},accept:c=ie,block:p=ie,event:h}){var B;const _=q;q=l;const g=await xt(e,!1),d=t==="enter"?Xt(w,g,e,t):Ce({url:e,type:t,delta:n==null?void 0:n.delta,intent:g,scroll:n==null?void 0:n.scroll,event:h});if(!d){p(),q===l&&(q=_);return}const f=R,u=L;c(),et=!0,yt&&d.navigation.type!=="enter"&&$.navigating.set(Q.current=d.navigation);let m=g&&await Oe(g);if(!m){if(St(e,U,k.hash))return await tt(e,s);m=await $e(e,{id:null},await nt(new Vt(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404,s)}if(e=(g==null?void 0:g.url)||e,q!==l)return d.reject(new Error("navigation aborted")),!1;if(m.type==="redirect"){if(o<20){await G({type:t,url:new URL(m.location,e),popped:n,keepfocus:a,noscroll:r,replace_state:s,state:i,redirect_count:o+1,nav_token:l}),d.fulfil(void 0);return}m=await Jt({status:500,error:await nt(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}})}else m.props.page.status>=400&&await $.updated.check()&&(await Re(),await tt(e,s));if(pn(),Ht(f),Ue(u),m.props.page.url.pathname!==e.pathname&&(e.pathname=m.props.page.url.pathname),i=n?n.state:i,!n){const E=s?0:1,H={[F]:R+=E,[X]:L+=E,[we]:i};(s?history.replaceState:history.pushState).call(history,H,"",e),s||dn(R,L)}const y=g&&(b==null?void 0:b.id)===g.id?b.fork:null;b=null,m.props.page.state=i;let x;if(yt){const E=(await Promise.all(Array.from(hn,M=>M(d.navigation)))).filter(M=>typeof M=="function");if(E.length>0){let M=function(){E.forEach(Ut=>{J.delete(Ut)})};E.push(M),E.forEach(Ut=>{J.add(Ut)})}const H=d.navigation.to;w={...m.state,nav:{params:H.params,route:H.route,url:H.url}},m.props.page&&(m.props.page.url=e);const Lt=y&&await y;Lt?x=Lt.commit():(W=null,Le.$set(m.props),W&&Object.assign(m.props.page,W),cn(m.props.page),x=(B=De)==null?void 0:B()),xe=!0}else await Te(m,$t,!1);const{activeElement:C}=document;await x,await gt(),await gt();let N=null;if(se){const E=n?n.scroll:r?V():null;E?scrollTo(E.x,E.y):(N=e.hash&&document.getElementById(je(e)))?N.scrollIntoView():scrollTo(0,0)}const ht=document.activeElement!==C&&document.activeElement!==document.body;!a&&!ht&&Ln(e,!N),se=!0,m.props.page&&(W&&Object.assign(m.props.page,W),Object.assign(S,m.props.page)),et=!1,t==="popstate"&&Ae(L),d.fulfil(void 0),d.navigation.to&&(d.navigation.to.scroll=V()),J.forEach(E=>E(d.navigation)),$.navigating.set(Q.current=null)}async function $e(t,e,n,a,r){return t.origin===Et&&t.pathname===location.pathname&&!Se?await Jt({status:a,error:n,url:t,route:e}):await tt(t,r)}function kn(){let t,e={element:void 0,href:void 0},n;O.addEventListener("mousemove",o=>{const l=o.target;clearTimeout(t),t=setTimeout(()=>{s(l,D.hover)},20)});function a(o){o.defaultPrevented||s(o.composedPath()[0],D.tap)}O.addEventListener("mousedown",a),O.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(o=>{for(const l of o)l.isIntersecting&&(It(new URL(l.target.href)),r.unobserve(l.target))},{threshold:0});async function s(o,l){const c=ye(o,O),p=c===e.element&&(c==null?void 0:c.href)===e.href&&l>=n;if(!c||p)return;const{url:h,external:_,download:g}=Ot(c,U,k.hash);if(_||g)return;const d=mt(c),f=h&&Rt(w.url)===Rt(h);if(!(d.reload||f))if(l<=d.preload_data){e={element:c,href:c.href},n=D.tap;const u=await xt(h,!1);if(!u)return;gn(u)}else l<=d.preload_code&&(e={element:c,href:c.href},n=l,It(h))}function i(){r.disconnect();for(const o of O.querySelectorAll("a")){const{url:l,external:c,download:p}=Ot(o,U,k.hash);if(c||p)continue;const h=mt(o);h.reload||(h.preload_code===D.viewport&&r.observe(o),h.preload_code===D.eager&&It(l))}}J.add(i),i()}function nt(t,e){if(t instanceof qt)return t.body;const n=Gt(t),a=sn(t);return k.hooks.handleError({error:t,event:e,status:n,message:a})??{message:a}}function qn(t,e={}){return t=new URL(Ft(t)),t.origin!==Et?Promise.reject(new Error("goto: invalid URL")):Pe(t,e,0)}function Rn(t){if(typeof t=="function")wt.push(t);else{const{href:e}=new URL(t,location.href);wt.push(n=>n.href===e)}}function En(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let a=!1;if(ce(),!et){const r=Xt(w,void 0,null,"leave"),s={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ee.forEach(i=>i(s))}a?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ce()}),(e=navigator.connection)!=null&&e.saveData||kn(),O.addEventListener("click",async n=>{if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const a=ye(n.composedPath()[0],O);if(!a)return;const{url:r,external:s,target:i,download:o}=Ot(a,U,k.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const l=mt(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[p,h]=(k.hash?r.hash.replace(/^#/,""):r.href).split("#"),_=p===At(location);if(s||l.reload&&(!_||!h)){Ce({url:r,type:"link",event:n})?et=!0:n.preventDefault();return}if(h!==void 0&&_){const[,g]=w.url.href.split("#");if(g===h){if(n.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=a.ownerDocument.getElementById(decodeURIComponent(h));d&&(d.scrollIntoView(),d.focus())}return}if(Y=!0,Ht(R),t(r),!l.replace_state)return;Y=!1}n.preventDefault(),await new Promise(g=>{requestAnimationFrame(()=>{setTimeout(g,0)}),setTimeout(g,100)}),await G({type:"link",url:r,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??r.href===location.href,event:n})}),O.addEventListener("submit",n=>{if(n.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(n.target),r=n.submitter;if(((r==null?void 0:r.formTarget)||a.target)==="_blank"||((r==null?void 0:r.formMethod)||a.method)!=="get")return;const o=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(St(o,U,!1))return;const l=n.target,c=mt(l);if(c.reload)return;n.preventDefault(),n.stopPropagation();const p=new FormData(l,r);o.search=new URLSearchParams(p).toString(),G({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:n})}),addEventListener("popstate",async n=>{var a;if(!Nt){if((a=n.state)!=null&&a[F]){const r=n.state[F];if(q={},r===R)return;const s=j[r],i=n.state[we]??{},o=new URL(n.state[nn]??location.href),l=n.state[X],c=w.url?At(location)===At(w.url):!1;if(l===L&&(xe||c)){i!==S.state&&(S.state=i),t(o),j[R]=V(),s&&scrollTo(s.x,s.y),R=r;return}const h=r-R;await G({type:"popstate",url:o,popped:{state:i,scroll:s,delta:h},accept:()=>{R=r,L=l},block:()=>{history.go(-h)},nav_token:q,event:n})}else if(!Y){const r=new URL(location.href);t(r),k.hash&&location.reload()}}}),addEventListener("hashchange",()=>{Y&&(Y=!1,history.replaceState({...history.state,[F]:++R,[X]:L},"",location.href))});for(const n of document.querySelectorAll("link"))un.has(n.rel)&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&$.navigating.set(Q.current=null)});function t(n){w.url=S.url=n,$.page.set(Qt(S)),$.page.notify()}}async function Sn(t,{status:e=200,error:n,node_ids:a,params:r,route:s,server_route:i,data:o,form:l}){Se=!0;const c=new URL(location.href);let p;({params:r={},route:s={id:null}}=await xt(c,!1)||{}),p=Mt.find(({id:g})=>g===s.id);let h,_=!0;try{const g=a.map(async(f,u)=>{const m=o[u];return m!=null&&m.uses&&(m.uses=xn(m.uses)),Yt({loader:k.nodes[f],url:c,params:r,route:s,parent:async()=>{const y={};for(let x=0;x<u;x+=1)Object.assign(y,(await g[x]).data);return y},server_data_node:zt(m)})}),d=await Promise.all(g);if(p){const f=p.layouts;for(let u=0;u<f.length;u++)f[u]||d.splice(u,0,void 0)}h=await kt({url:c,params:r,branch:d,status:e,error:n,errors:p==null?void 0:p.errors,form:l,route:p??null})}catch(g){if(g instanceof Bt){await tt(new URL(g.location,location.href));return}h=await Jt({status:Gt(g),error:await nt(g,{url:c,params:r,route:s}),url:c,route:s}),t.textContent="",_=!1}h.props.page&&(h.props.page.state={}),await Te(h,t,_)}function xn(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}let Nt=!1;function Ln(t,e=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=je(t);if(a&&document.getElementById(a)){const{x:s,y:i}=V();setTimeout(()=>{const o=history.state;Nt=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(o,"",t),e&&scrollTo(s,i),Nt=!1})}else{const s=document.body,i=s.getAttribute("tabindex");s.tabIndex=-1,s.focus({preventScroll:!0,focusVisible:!1}),i!==null?s.setAttribute("tabindex",i):s.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const s=[];for(let i=0;i<r.rangeCount;i+=1)s.push(r.getRangeAt(i));setTimeout(()=>{if(r.rangeCount===s.length){for(let i=0;i<r.rangeCount;i+=1){const o=s[i],l=r.getRangeAt(i);if(o.commonAncestorContainer!==l.commonAncestorContainer||o.startContainer!==l.startContainer||o.endContainer!==l.endContainer||o.startOffset!==l.startOffset||o.endOffset!==l.endOffset)return}r.removeAllRanges()}})}}}function Xt(t,e,n,a,r=null){var c,p;let s,i;const o=new Promise((h,_)=>{s=h,i=_});return o.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url,scroll:V()},to:n&&{params:(e==null?void 0:e.params)??null,route:{id:((p=e==null?void 0:e.route)==null?void 0:p.id)??null},url:n,scroll:r},willUnload:!e,type:a,complete:o},fulfil:s,reject:i}}function Qt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function Un(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}function je(t){let e;if(k.hash){const[,,n]=t.hash.split("#",3);e=n??""}else e=t.hash.slice(1);return decodeURIComponent(e)}export{Dn as a,qn as g,Cn as l,S as p,$ as s};
@@ -1 +0,0 @@
1
- import{Y as y,b as u,ap as _,aq as g,h as t,V as o,ag as i,e as l,c as d,f as p,ae as m}from"./BUngiKFg.js";function C(n,r){let a=null,f=t;var s;if(t){a=p;for(var e=m(document.head);e!==null&&(e.nodeType!==o||e.data!==n);)e=i(e);if(e===null)l(!1);else{var E=i(e);e.remove(),d(E)}}t||(s=document.head.appendChild(y()));try{u(()=>r(s),_|g)}finally{f&&(l(!0),d(a))}}export{C as h};
@@ -1 +0,0 @@
1
- import{aH as w,Y as v,ae as f,aZ as E,k as T,a_ as N,a$ as b,h as i,f as n,b0 as y,c as M,b1 as x,b2 as C,a as h,V as O}from"./BUngiKFg.js";var m;const c=((m=globalThis==null?void 0:globalThis.window)==null?void 0:m.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function A(e){return(c==null?void 0:c.createHTML(e))??e}function g(e){var r=w("template");return r.innerHTML=A(e.replaceAll("<!>","<!---->")),r.content}function a(e,r){var t=T;t.nodes===null&&(t.nodes={start:e,end:r,a:null,t:null})}function R(e,r){var t=(r&N)!==0,l=(r&b)!==0,s,u=!e.startsWith("<!>");return()=>{if(i)return a(n,null),n;s===void 0&&(s=g(u?e:"<!>"+e),t||(s=f(s)));var o=l||E?document.importNode(s,!0):s.cloneNode(!0);if(t){var _=f(o),d=o.lastChild;a(_,d)}else a(o,o);return o}}function L(e,r,t="svg"){var l=!e.startsWith("<!>"),s=`<${t}>${l?e:"<!>"+e}</${t}>`,u;return()=>{if(i)return a(n,null),n;if(!u){var o=g(s),_=f(o);u=f(_)}var d=u.cloneNode(!0);return a(d,d),d}}function D(e,r){return L(e,r,"svg")}function H(e=""){if(!i){var r=v(e+"");return a(r,r),r}var t=n;return t.nodeType!==y?(t.before(t=v()),M(t)):x(t),a(t,t),t}function I(){if(i)return a(n,null),n;var e=document.createDocumentFragment(),r=document.createComment(""),t=v();return e.append(r,t),a(r,t),e}function S(e,r){if(i){var t=T;((t.f&C)===0||t.nodes.end===null)&&(t.nodes.end=n),h();return}e!==null&&e.before(r)}function W(){var e,r;if(i&&n&&n.nodeType===O&&((e=n.textContent)!=null&&e.startsWith("$"))){const t=n.textContent.substring(1);return h(),t}return(r=window.__svelte??(window.__svelte={})).uid??(r.uid=1),`c${window.__svelte.uid++}`}const $="5";var p;typeof window<"u"&&((p=window.__svelte??(window.__svelte={})).v??(p.v=new Set)).add($);export{S as a,a as b,I as c,D as d,R as f,W as p,H as t};
@@ -1 +0,0 @@
1
- import{h as o,a as f,b as v,E as y,r as l,s as m,c as p,e as i,H as T,f as A}from"./BUngiKFg.js";import{B as E}from"./CAtemnMo.js";function g(d,_,e){var s;o&&(s=A,f());var r=new E(d);v(()=>{var a=_()??null;if(o){var h=l(s),c=h===T,u=a!==null;if(c!==u){var t=m();p(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{g as c};
@@ -1 +0,0 @@
1
- import{b3 as $,ad as U,_ as B,i as G,h as T,a2 as X,b4 as Z,b5 as J,K as m,Q as x,R as C,b6 as aa,b7 as ea,b8 as ra,o as sa,b9 as ia,ba as ta,bb as P,e as K,bc as ua,bd as fa,af as oa,be as ca,bf as la}from"./BUngiKFg.js";import{f as na,a as da,d as _a,g as va,n as ba,j as ha}from"./DWJZOHke.js";import{t as Aa,c as ga,s as ya}from"./DI-t-G_K.js";function Ta(a,r){var e=void 0,s;$(()=>{e!==(e=r())&&(s&&(U(s),s=null),e&&(s=B(()=>{G(()=>e(a))})))})}function M(a,r={},e,s){for(var i in e){var f=e[i];r[i]!==f&&(e[i]==null?a.style.removeProperty(i):a.style.setProperty(i,f,s))}}function Sa(a,r,e,s){var i=a.__style;if(T||i!==r){var f=Aa(r,s);(!T||f!==a.getAttribute("style"))&&(f==null?a.removeAttribute("style"):a.style.cssText=f),a.__style=r}else s&&(Array.isArray(s)?(M(a,e==null?void 0:e[0],s[0]),M(a,e==null?void 0:e[1],s[1],"important")):M(a,e,s));return s}function O(a,r,e=!1){if(a.multiple){if(r==null)return;if(!X(r))return Z();for(var s of a.options)s.selected=r.includes(L(s));return}for(s of a.options){var i=L(s);if(J(i,r)){s.selected=!0;return}}(!e||r!==void 0)&&(a.selectedIndex=-1)}function D(a){var r=new MutationObserver(()=>{O(a,a.__value)});r.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),m(()=>{r.disconnect()})}function Ma(a,r,e=r){var s=new WeakSet,i=!0;x(a,"change",f=>{var _=f?"[selected]":":checked",v;if(a.multiple)v=[].map.call(a.querySelectorAll(_),L);else{var b=a.querySelector(_)??a.querySelector("option:not([disabled])");v=b&&L(b)}e(v),a.__value=v,C!==null&&s.add(C)}),G(()=>{var f=r();if(a===document.activeElement){var _=C;if(s.has(_))return}if(O(a,f,i),i&&f===void 0){var v=a.querySelector(":checked");v!==null&&(f=L(v),e(f))}a.__value=f,i=!1}),D(a)}function L(a){return"__value"in a?a.__value:a.value}const E=Symbol("class"),I=Symbol("style"),Y=Symbol("is custom element"),z=Symbol("is html"),Na=P?"link":"LINK",ka=P?"input":"INPUT",Ea=P?"option":"OPTION",Ia=P?"select":"SELECT";function La(a){if(T){var r=!1,e=()=>{if(!r){if(r=!0,a.hasAttribute("value")){var s=a.value;p(a,"value",null),a.value=s}if(a.hasAttribute("checked")){var i=a.checked;p(a,"checked",null),a.checked=i}}};a.__on_r=e,oa(e),ca()}}function Ua(a,r){var e=R(a);e.checked!==(e.checked=r??void 0)&&(a.checked=r)}function wa(a,r){r?a.hasAttribute("selected")||a.setAttribute("selected",""):a.removeAttribute("selected")}function p(a,r,e,s){var i=R(a);T&&(i[r]=a.getAttribute(r),r==="src"||r==="srcset"||r==="href"&&a.nodeName===Na)||i[r]!==(i[r]=e)&&(r==="loading"&&(a[la]=e),e==null?a.removeAttribute(r):typeof e!="string"&&F(a).includes(r)?a[r]=e:a.setAttribute(r,e))}function Oa(a,r,e,s,i=!1,f=!1){if(T&&i&&a.nodeName===ka){var _=a,v=_.type==="checkbox"?"defaultChecked":"defaultValue";v in e||La(_)}var b=R(a),h=b[Y],g=!b[z];let S=T&&h;S&&K(!1);var o=r||{},N=a.nodeName===Ea;for(var A in r)A in e||(e[A]=null);e.class?e.class=ga(e.class):e[E]&&(e.class=null),e[I]&&(e.style??(e.style=null));var w=F(a);for(const t in e){let u=e[t];if(N&&t==="value"&&u==null){a.value=a.__value="",o[t]=u;continue}if(t==="class"){var k=a.namespaceURI==="http://www.w3.org/1999/xhtml";ya(a,k,u,s,r==null?void 0:r[E],e[E]),o[t]=u,o[E]=e[E];continue}if(t==="style"){Sa(a,u,r==null?void 0:r[I],e[I]),o[t]=u,o[I]=e[I];continue}var n=o[t];if(!(u===n&&!(u===void 0&&a.hasAttribute(t)))){o[t]=u;var q=t[0]+t[1];if(q!=="$$")if(q==="on"){const d={},y="$$"+t;let l=t.slice(2);var H=ha(l);if(na(l)&&(l=l.slice(0,-7),d.capture=!0),!H&&n){if(u!=null)continue;a.removeEventListener(l,o[y],d),o[y]=null}if(H)da(l,a,u),_a([l]);else if(u!=null){let Q=function(W){o[t].call(this,W)};o[y]=va(l,a,Q,d)}}else if(t==="style")p(a,t,u);else if(t==="autofocus")ua(a,!!u);else if(!h&&(t==="__value"||t==="value"&&u!=null))a.value=a.__value=u;else if(t==="selected"&&N)wa(a,u);else{var c=t;g||(c=ba(c));var j=c==="defaultValue"||c==="defaultChecked";if(u==null&&!h&&!j)if(b[t]=null,c==="value"||c==="checked"){let d=a;const y=r===void 0;if(c==="value"){let l=d.defaultValue;d.removeAttribute(c),d.defaultValue=l,d.value=d.__value=y?l:null}else{let l=d.defaultChecked;d.removeAttribute(c),d.defaultChecked=l,d.checked=y?l:!1}}else a.removeAttribute(t);else j||w.includes(c)&&(h||typeof u!="string")?(a[c]=u,c in b&&(b[c]=fa)):typeof u!="function"&&p(a,c,u)}}}return S&&K(!0),o}function Ga(a,r,e=[],s=[],i=[],f,_=!1,v=!1){aa(i,e,s,b=>{var h=void 0,g={},S=a.nodeName===Ia,o=!1;if($(()=>{var A=r(...b.map(sa)),w=Oa(a,h,A,f,_,v);o&&S&&"value"in A&&O(a,A.value);for(let n of Object.getOwnPropertySymbols(g))A[n]||U(g[n]);for(let n of Object.getOwnPropertySymbols(A)){var k=A[n];n.description===ia&&(!h||k!==h[n])&&(g[n]&&U(g[n]),g[n]=B(()=>Ta(a,()=>k))),w[n]=k}h=w}),S){var N=a;G(()=>{O(N,h.value,!0),D(N)})}o=!0})}function R(a){return a.__attributes??(a.__attributes={[Y]:a.nodeName.includes("-"),[z]:a.namespaceURI===ea})}var V=new Map;function F(a){var r=a.getAttribute("is")||a.nodeName,e=V.get(r);if(e)return e;V.set(r,e=[]);for(var s,i=a,f=Element.prototype;f!==i;){s=ta(i);for(var _ in s)s[_].set&&e.push(_);i=ra(i)}return e}const Ra="rssany",qa="https://github.com/joohw/rssany";export{qa as G,Ra as P,Ua as a,Ga as b,Sa as c,Ma as d,La as r,p as s};
@@ -1,2 +0,0 @@
1
- import{h as v}from"./BUngiKFg.js";function O(r){var t,i,f="";if(typeof r=="string"||typeof r=="number")f+=r;else if(typeof r=="object")if(Array.isArray(r)){var u=r.length;for(t=0;t<u;t++)r[t]&&(i=O(r[t]))&&(f&&(f+=" "),f+=i)}else for(i in r)r[i]&&(f&&(f+=" "),f+=i);return f}function S(){for(var r,t,i=0,f="",u=arguments.length;i<u;i++)(r=arguments[i])&&(t=O(r))&&(f&&(f+=" "),f+=t);return f}function q(r){return typeof r=="object"?S(r):r??""}const A=[...`
2
- \r\f \v\uFEFF`];function C(r,t,i){var f=r==null?"":""+r;if(t&&(f=f?f+" "+t:t),i){for(var u of Object.keys(i))if(i[u])f=f?f+" "+u:u;else if(f.length)for(var g=u.length,o=0;(o=f.indexOf(u,o))>=0;){var l=o+g;(o===0||A.includes(f[o-1]))&&(l===f.length||A.includes(f[l]))?f=(o===0?"":f.substring(0,o))+f.substring(l+1):o=l}}return f===""?null:f}function j(r,t=!1){var i=t?" !important;":";",f="";for(var u of Object.keys(r)){var g=r[u];g!=null&&g!==""&&(f+=" "+u+": "+g+i)}return f}function h(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function z(r,t){if(t){var i="",f,u;if(Array.isArray(t)?(f=t[0],u=t[1]):f=t,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var g=!1,o=0,l=!1,n=[];f&&n.push(...Object.keys(f).map(h)),u&&n.push(...Object.keys(u).map(h));var c=0,s=-1;const p=r.length;for(var b=0;b<p;b++){var a=r[b];if(l?a==="/"&&r[b-1]==="*"&&(l=!1):g?g===a&&(g=!1):a==="/"&&r[b+1]==="*"?l=!0:a==='"'||a==="'"?g=a:a==="("?o++:a===")"&&o--,!l&&g===!1&&o===0){if(a===":"&&s===-1)s=b;else if(a===";"||b===p-1){if(s!==-1){var N=h(r.substring(c,s).trim());if(!n.includes(N)){a!==";"&&b++;var L=r.substring(c,b).trim();i+=" "+L+";"}}c=b+1,s=-1}}}}return f&&(i+=j(f)),u&&(i+=j(u,!0)),i=i.trim(),i===""?null:i}return r==null?null:String(r)}function B(r,t,i,f,u,g){var o=r.__className;if(v||o!==i||o===void 0){var l=C(i,f,g);(!v||l!==r.getAttribute("class"))&&(l==null?r.removeAttribute("class"):t?r.className=l:r.setAttribute("class",l)),r.__className=i}else if(g&&u!==g)for(var n in g){var c=!!g[n];(u==null||c!==!!u[n])&&r.classList.toggle(n,c)}return g}export{S as a,q as c,B as s,z as t};
@@ -1 +0,0 @@
1
- import{g as w,i as T,j as k,u as x,k as D,D as E,S as O}from"./BUngiKFg.js";function n(r,f){return r===f||(r==null?void 0:r[O])===f}function A(r={},f,i,Y){var p=w.r,S=D;return T(()=>{var a,t;return k(()=>{a=t,t=[],x(()=>{r!==i(...t)&&(f(r,...t),a&&n(i(...a),r)&&f(null,...a))})}),()=>{let s=S;for(;s!==p&&s.parent!==null&&s.parent.f&E;)s=s.parent;const h=()=>{t&&n(i(...t),r)&&f(null,...t)},c=s.teardown;s.teardown=()=>{h(),c==null||c()}}}),r}export{A as b};
@@ -1 +0,0 @@
1
- import{K as S,af as L,aC as m,M,aD as b,y as E,aE as A,k as V}from"./BUngiKFg.js";function B(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const x=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function C(t){return x.includes(t)}const I={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 R(t){return t=t.toLowerCase(),I[t]??t}const N=["touchstart","touchmove"];function q(t){return N.includes(t)}const P=["textarea","script","style","title"];function z(t){return P.includes(t)}const i=Symbol("events"),D=new Set,O=new Set;function y(t,e,r,n={}){function o(a){if(n.capture||W.call(e,a),!a.cancelBubble)return m(()=>r==null?void 0:r.call(this,a))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?L(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function F(t,e,r,n={}){var o=y(e,t,r,n);return()=>{t.removeEventListener(e,o,n)}}function G(t,e,r,n,o){var a={capture:n,passive:o},u=y(t,e,r,a);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&S(()=>{e.removeEventListener(t,u,a)})}function H(t,e,r){(e[i]??(e[i]={}))[t]=r}function K(t){for(var e=0;e<t.length;e++)D.add(t[e]);for(var r of O)r(t)}let w=null;function W(t){var h,g;var e=this,r=e.ownerDocument,n=t.type,o=((h=t.composedPath)==null?void 0:h.call(t))||[],a=o[0]||t.target;w=t;var u=0,d=w===t&&t[i];if(d){var l=o.indexOf(d);if(l!==-1&&(e===document||e===window)){t[i]=e;return}var p=o.indexOf(e);if(p===-1)return;l<=p&&(u=l)}if(a=o[u]||t.target,a!==e){M(t,"currentTarget",{configurable:!0,get(){return a||r}});var k=A,T=V;b(null),E(null);try{for(var c,_=[];a!==null;){var f=a.assignedSlot||a.parentNode||a.host||null;try{var v=(g=a[i])==null?void 0:g[n];v!=null&&(!a.disabled||t.target===a)&&v.call(a,t)}catch(s){c?_.push(s):c=s}if(t.cancelBubble||f===e||f===null)break;a=f}if(c){for(let s of _)queueMicrotask(()=>{throw s});throw c}}finally{t[i]=e,delete t.currentTarget,b(k),E(T)}}}export{H as a,D as b,q as c,K as d,G as e,B as f,y as g,W as h,z as i,C as j,R as n,F as o,O as r};
@@ -1 +0,0 @@
1
- import{ar as a}from"./BUngiKFg.js";a();