watch-tail 0.9.0 → 0.10.0

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 (357) hide show
  1. package/README.md +103 -8
  2. package/build/client/_app/immutable/assets/0.B5hI3s8c.css +2 -0
  3. package/build/client/_app/immutable/assets/0.B5hI3s8c.css.br +0 -0
  4. package/build/client/_app/immutable/assets/0.B5hI3s8c.css.gz +0 -0
  5. package/build/client/_app/immutable/assets/2.Cn4w1JYv.css +1 -0
  6. package/build/client/_app/immutable/assets/2.Cn4w1JYv.css.br +0 -0
  7. package/build/client/_app/immutable/assets/2.Cn4w1JYv.css.gz +0 -0
  8. package/build/client/_app/immutable/chunks/B2En4t_E.js +3 -0
  9. package/build/client/_app/immutable/chunks/B2En4t_E.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/B2En4t_E.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/BJ7fEbY9.js +1 -0
  12. package/build/client/_app/immutable/chunks/BJ7fEbY9.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/BJ7fEbY9.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/{D7vimbmk.js → BX0v2q9h.js} +1 -1
  15. package/build/client/_app/immutable/chunks/BX0v2q9h.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/BX0v2q9h.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/{DwOZdLDj.js → B_AZHMkI.js} +1 -1
  18. package/build/client/_app/immutable/chunks/B_AZHMkI.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/B_AZHMkI.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/{dqF8mxBW.js → Bb9UOIo-.js} +1 -1
  21. package/build/client/_app/immutable/chunks/Bb9UOIo-.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/Bb9UOIo-.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/{0b2v80OK.js → BdV_pkVs.js} +1 -1
  24. package/build/client/_app/immutable/chunks/BdV_pkVs.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/BdV_pkVs.js.gz +0 -0
  26. package/build/client/_app/immutable/chunks/{C_U_Jvk5.js → BsrUsB47.js} +1 -1
  27. package/build/client/_app/immutable/chunks/BsrUsB47.js.br +0 -0
  28. package/build/client/_app/immutable/chunks/BsrUsB47.js.gz +0 -0
  29. package/build/client/_app/immutable/chunks/{DvxMaQv_.js → CHnbfiIG.js} +1 -1
  30. package/build/client/_app/immutable/chunks/CHnbfiIG.js.br +0 -0
  31. package/build/client/_app/immutable/chunks/CHnbfiIG.js.gz +0 -0
  32. package/build/client/_app/immutable/chunks/{DS3cLPAu.js → CNomy7CF.js} +1 -1
  33. package/build/client/_app/immutable/chunks/CNomy7CF.js.br +0 -0
  34. package/build/client/_app/immutable/chunks/CNomy7CF.js.gz +0 -0
  35. package/build/client/_app/immutable/chunks/CPbNf3ya.js +1 -0
  36. package/build/client/_app/immutable/chunks/CPbNf3ya.js.br +0 -0
  37. package/build/client/_app/immutable/chunks/CPbNf3ya.js.gz +0 -0
  38. package/build/client/_app/immutable/chunks/CZ2PC-zH.js +1 -0
  39. package/build/client/_app/immutable/chunks/CZ2PC-zH.js.br +0 -0
  40. package/build/client/_app/immutable/chunks/CZ2PC-zH.js.gz +0 -0
  41. package/build/client/_app/immutable/chunks/CljxK204.js +1 -0
  42. package/build/client/_app/immutable/chunks/CljxK204.js.br +1 -0
  43. package/build/client/_app/immutable/chunks/CljxK204.js.gz +0 -0
  44. package/build/client/_app/immutable/chunks/CzU0cUz4.js +1 -0
  45. package/build/client/_app/immutable/chunks/CzU0cUz4.js.br +0 -0
  46. package/build/client/_app/immutable/chunks/CzU0cUz4.js.gz +0 -0
  47. package/build/client/_app/immutable/chunks/{B5RiPG8Z.js → D6vIi1r5.js} +1 -1
  48. package/build/client/_app/immutable/chunks/D6vIi1r5.js.br +3 -0
  49. package/build/client/_app/immutable/chunks/D6vIi1r5.js.gz +0 -0
  50. package/build/client/_app/immutable/chunks/DAxERhtN.js +1 -0
  51. package/build/client/_app/immutable/chunks/DAxERhtN.js.br +0 -0
  52. package/build/client/_app/immutable/chunks/DAxERhtN.js.gz +0 -0
  53. package/build/client/_app/immutable/chunks/DIzgJaYS.js +1 -0
  54. package/build/client/_app/immutable/chunks/DIzgJaYS.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/DIzgJaYS.js.gz +0 -0
  56. package/build/client/_app/immutable/chunks/DSHrbzz3.js +1 -0
  57. package/build/client/_app/immutable/chunks/DSHrbzz3.js.br +0 -0
  58. package/build/client/_app/immutable/chunks/DSHrbzz3.js.gz +0 -0
  59. package/build/client/_app/immutable/chunks/{Dkh4Dwm8.js → DSvLImpl.js} +1 -1
  60. package/build/client/_app/immutable/chunks/DSvLImpl.js.br +0 -0
  61. package/build/client/_app/immutable/chunks/DSvLImpl.js.gz +0 -0
  62. package/build/client/_app/immutable/chunks/{b77-bq1n.js → DWBod19x.js} +1 -1
  63. package/build/client/_app/immutable/chunks/DWBod19x.js.br +0 -0
  64. package/build/client/_app/immutable/chunks/DWBod19x.js.gz +0 -0
  65. package/build/client/_app/immutable/chunks/{IlwbfbOu.js → Dicxo5h-.js} +1 -1
  66. package/build/client/_app/immutable/chunks/Dicxo5h-.js.br +0 -0
  67. package/build/client/_app/immutable/chunks/Dicxo5h-.js.gz +0 -0
  68. package/build/client/_app/immutable/chunks/DjjHmSG3.js +1 -0
  69. package/build/client/_app/immutable/chunks/DjjHmSG3.js.br +0 -0
  70. package/build/client/_app/immutable/chunks/DjjHmSG3.js.gz +0 -0
  71. package/build/client/_app/immutable/chunks/DlDLXtam.js +1 -0
  72. package/build/client/_app/immutable/chunks/DlDLXtam.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/DlDLXtam.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/EZJqWoh3.js +1 -0
  75. package/build/client/_app/immutable/chunks/EZJqWoh3.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/EZJqWoh3.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/Fg8W5tkO.js +15 -0
  78. package/build/client/_app/immutable/chunks/Fg8W5tkO.js.br +0 -0
  79. package/build/client/_app/immutable/chunks/Fg8W5tkO.js.gz +0 -0
  80. package/build/client/_app/immutable/chunks/LGzrUxfF.js +1 -0
  81. package/build/client/_app/immutable/chunks/LGzrUxfF.js.br +0 -0
  82. package/build/client/_app/immutable/chunks/LGzrUxfF.js.gz +0 -0
  83. package/build/client/_app/immutable/chunks/McME9wI6.js +10 -0
  84. package/build/client/_app/immutable/chunks/McME9wI6.js.br +0 -0
  85. package/build/client/_app/immutable/chunks/McME9wI6.js.gz +0 -0
  86. package/build/client/_app/immutable/chunks/N78Fm5Ux.js +1 -0
  87. package/build/client/_app/immutable/chunks/N78Fm5Ux.js.br +0 -0
  88. package/build/client/_app/immutable/chunks/N78Fm5Ux.js.gz +0 -0
  89. package/build/client/_app/immutable/chunks/{DQqLOGLe.js → XrAcf7YH.js} +1 -1
  90. package/build/client/_app/immutable/chunks/XrAcf7YH.js.br +0 -0
  91. package/build/client/_app/immutable/chunks/XrAcf7YH.js.gz +0 -0
  92. package/build/client/_app/immutable/chunks/{aI_O2VuQ.js → _PJhUOmT.js} +1 -1
  93. package/build/client/_app/immutable/chunks/_PJhUOmT.js.br +0 -0
  94. package/build/client/_app/immutable/chunks/_PJhUOmT.js.gz +0 -0
  95. package/build/client/_app/immutable/chunks/gXyWwJbW.js +1 -0
  96. package/build/client/_app/immutable/chunks/gXyWwJbW.js.br +0 -0
  97. package/build/client/_app/immutable/chunks/gXyWwJbW.js.gz +0 -0
  98. package/build/client/_app/immutable/chunks/{DGYKsRyW.js → vMHl7jRw.js} +1 -1
  99. package/build/client/_app/immutable/chunks/vMHl7jRw.js.br +0 -0
  100. package/build/client/_app/immutable/chunks/vMHl7jRw.js.gz +0 -0
  101. package/build/client/_app/immutable/chunks/xJTjOoUQ.js +2 -0
  102. package/build/client/_app/immutable/chunks/xJTjOoUQ.js.br +0 -0
  103. package/build/client/_app/immutable/chunks/xJTjOoUQ.js.gz +0 -0
  104. package/build/client/_app/immutable/entry/app.ycJtqzGh.js +2 -0
  105. package/build/client/_app/immutable/entry/app.ycJtqzGh.js.br +0 -0
  106. package/build/client/_app/immutable/entry/app.ycJtqzGh.js.gz +0 -0
  107. package/build/client/_app/immutable/entry/start.DOq0-PiA.js +1 -0
  108. package/build/client/_app/immutable/entry/start.DOq0-PiA.js.br +0 -0
  109. package/build/client/_app/immutable/entry/start.DOq0-PiA.js.gz +0 -0
  110. package/build/client/_app/immutable/nodes/0.D63E8Q6i.js +1 -0
  111. package/build/client/_app/immutable/nodes/0.D63E8Q6i.js.br +0 -0
  112. package/build/client/_app/immutable/nodes/0.D63E8Q6i.js.gz +0 -0
  113. package/build/client/_app/immutable/nodes/1.B63I-h1v.js +1 -0
  114. package/build/client/_app/immutable/nodes/1.B63I-h1v.js.br +0 -0
  115. package/build/client/_app/immutable/nodes/1.B63I-h1v.js.gz +0 -0
  116. package/build/client/_app/immutable/nodes/2.DXy8PMWZ.js +5 -0
  117. package/build/client/_app/immutable/nodes/2.DXy8PMWZ.js.br +0 -0
  118. package/build/client/_app/immutable/nodes/2.DXy8PMWZ.js.gz +0 -0
  119. package/build/client/_app/version.json +1 -1
  120. package/build/client/_app/version.json.br +0 -0
  121. package/build/client/_app/version.json.gz +0 -0
  122. package/build/handler.js +7 -7
  123. package/build/index.js +7 -7
  124. package/build/server/chunks/chunks/{Arc.canvas.js-CN0KDoHG.js → Arc.canvas.js-DqfSjlnB.js} +8 -8
  125. package/build/server/chunks/chunks/{Arc.canvas.js-CN0KDoHG.js.map → Arc.canvas.js-DqfSjlnB.js.map} +1 -1
  126. package/build/server/chunks/chunks/{Arc.js-C8EC9NoE.js → Arc.js-DNywwEq7.js} +10 -10
  127. package/build/server/chunks/chunks/{Arc.js-C8EC9NoE.js.map → Arc.js-DNywwEq7.js.map} +1 -1
  128. package/build/server/chunks/chunks/{Bar.js-DtAb3LZZ.js → Bar.js-BHJrwOa1.js} +14 -14
  129. package/build/server/chunks/chunks/{Bar.js-DtAb3LZZ.js.map → Bar.js-BHJrwOa1.js.map} +1 -1
  130. package/build/server/chunks/chunks/{ChartAnnotations.js-twzDSVzY.js → ChartAnnotations.js-DXt38zkt.js} +18 -18
  131. package/build/server/chunks/chunks/{ChartAnnotations.js-twzDSVzY.js.map → ChartAnnotations.js-DXt38zkt.js.map} +1 -1
  132. package/build/server/chunks/chunks/{Circle.html.js-BJywADGK.js → Circle.html.js-KngSXZUe.js} +5 -5
  133. package/build/server/chunks/chunks/{Circle.html.js-BJywADGK.js.map → Circle.html.js-KngSXZUe.js.map} +1 -1
  134. package/build/server/chunks/chunks/{ClipPath.canvas.js-9Fc0bTEM.js → ClipPath.canvas.js-BsGsfzQK.js} +4 -4
  135. package/build/server/chunks/chunks/{ClipPath.canvas.js-9Fc0bTEM.js.map → ClipPath.canvas.js-BsGsfzQK.js.map} +1 -1
  136. package/build/server/chunks/chunks/{DefaultTooltip.js-C2NWK2AD.js → DefaultTooltip.js-CbyljZUi.js} +8 -8
  137. package/build/server/chunks/chunks/{DefaultTooltip.js-C2NWK2AD.js.map → DefaultTooltip.js-CbyljZUi.js.map} +1 -1
  138. package/build/server/chunks/chunks/{EventScatter.js-CO2GonW-.js → EventScatter.js-DHlLEn_7.js} +36 -35
  139. package/build/server/chunks/chunks/{EventScatter.js-CO2GonW-.js.map → EventScatter.js-DHlLEn_7.js.map} +1 -1
  140. package/build/server/chunks/chunks/{Labels.js-DB9qoyZ3.js → Labels.js-DhpbhJmV.js} +18 -18
  141. package/build/server/chunks/chunks/{Labels.js-DB9qoyZ3.js.map → Labels.js-DhpbhJmV.js.map} +1 -1
  142. package/build/server/chunks/chunks/{Legend.js-B_ArjxQ7.js → Legend.js-D25j2DRt.js} +6 -6
  143. package/build/server/chunks/chunks/{Legend.js-B_ArjxQ7.js.map → Legend.js-D25j2DRt.js.map} +1 -1
  144. package/build/server/chunks/chunks/{Line.html.js-B1REcOFe.js → Line.html.js-CKb2T7JC.js} +6 -6
  145. package/build/server/chunks/chunks/{Line.html.js-B1REcOFe.js.map → Line.html.js-CKb2T7JC.js.map} +1 -1
  146. package/build/server/chunks/chunks/{Link.canvas.js-nWimAHfH.js → Link.canvas.js-c0r05107.js} +9 -9
  147. package/build/server/chunks/chunks/{Link.canvas.js-nWimAHfH.js.map → Link.canvas.js-c0r05107.js.map} +1 -1
  148. package/build/server/chunks/chunks/{Path.canvas.js-5A9wB8zQ.js → Path.canvas.js-opfoYzQB.js} +5 -5
  149. package/build/server/chunks/chunks/{Path.canvas.js-5A9wB8zQ.js.map → Path.canvas.js-opfoYzQB.js.map} +1 -1
  150. package/build/server/chunks/chunks/{Points.html.js-B2o3k-ZZ.js → Points.html.js-CJ75UtkE.js} +7 -7
  151. package/build/server/chunks/chunks/{Points.html.js-B2o3k-ZZ.js.map → Points.html.js-CJ75UtkE.js.map} +1 -1
  152. package/build/server/chunks/chunks/Points.js-Bx_vB0po.js +14 -0
  153. package/build/server/chunks/chunks/Points.js-Bx_vB0po.js.map +1 -0
  154. package/build/server/chunks/chunks/{Points2.js-BVbWugLT.js → Points2.js-Br2MMKbn.js} +4 -4
  155. package/build/server/chunks/chunks/{Points2.js-BVbWugLT.js.map → Points2.js-Br2MMKbn.js.map} +1 -1
  156. package/build/server/chunks/chunks/{Rect.html.js-DnQ6ObhQ.js → Rect.html.js-D_-JSZ22.js} +6 -6
  157. package/build/server/chunks/chunks/{Rect.html.js-DnQ6ObhQ.js.map → Rect.html.js-D_-JSZ22.js.map} +1 -1
  158. package/build/server/chunks/chunks/{Spline.js-YnAxvrKY.js → Spline.js-DpD4175j.js} +12 -12
  159. package/build/server/chunks/chunks/{Spline.js-YnAxvrKY.js.map → Spline.js-DpD4175j.js.map} +1 -1
  160. package/build/server/chunks/chunks/{Text.html.js-LbmYJb11.js → Text.html.js-Clxo39Ky.js} +6 -6
  161. package/build/server/chunks/chunks/{Text.html.js-LbmYJb11.js.map → Text.html.js-Clxo39Ky.js.map} +1 -1
  162. package/build/server/chunks/chunks/{TooltipItem.js-Ce-blieA.js → TooltipItem.js-CgYSF3I3.js} +6 -6
  163. package/build/server/chunks/chunks/{TooltipItem.js-Ce-blieA.js.map → TooltipItem.js-CgYSF3I3.js.map} +1 -1
  164. package/build/server/chunks/chunks/{Voronoi.js-CalFJAXH.js → Voronoi.js-CX8bqc1A.js} +7 -7
  165. package/build/server/chunks/chunks/{Voronoi.js-CalFJAXH.js.map → Voronoi.js-CX8bqc1A.js.map} +1 -1
  166. package/build/server/chunks/chunks/{archive.js-D2jtMmDo.js → archive.js-BRlkdj2X.js} +331 -30
  167. package/build/server/chunks/chunks/archive.js-BRlkdj2X.js.map +1 -0
  168. package/build/server/chunks/chunks/{attributes.js-CbKEpZKa.js → attributes.js-ECgqVV_7.js} +2 -2
  169. package/build/server/chunks/chunks/{attributes.js-CbKEpZKa.js.map → attributes.js-ECgqVV_7.js.map} +1 -1
  170. package/build/server/chunks/chunks/{band.js-CjzHWr4k.js → band.js-BcI84M0Z.js} +3 -3
  171. package/build/server/chunks/chunks/{band.js-CjzHWr4k.js.map → band.js-BcI84M0Z.js.map} +1 -1
  172. package/build/server/chunks/chunks/{common.js-BvQnfkFo.js → common.js-DeZxUyRN.js} +2 -2
  173. package/build/server/chunks/chunks/{common.js-BvQnfkFo.js.map → common.js-DeZxUyRN.js.map} +1 -1
  174. package/build/server/chunks/chunks/{events.js-zIVaXIP1.js → events.js-oxLu7lhH.js} +2 -2
  175. package/build/server/chunks/chunks/{events.js-zIVaXIP1.js.map → events.js-oxLu7lhH.js.map} +1 -1
  176. package/build/server/chunks/chunks/{group.js-D0SfevId.js → group.js-C8H9Tpr6.js} +2 -2
  177. package/build/server/chunks/chunks/{group.js-D0SfevId.js.map → group.js-C8H9Tpr6.js.map} +1 -1
  178. package/build/server/chunks/chunks/{index-server.js-CtH9Hqwf.js → index-server.js-Dsi44azJ.js} +91 -2
  179. package/build/server/chunks/chunks/index-server.js-Dsi44azJ.js.map +1 -0
  180. package/build/server/chunks/chunks/{internal2.js-CfVVfAb5.js → internal2.js-Dm0TlpeP.js} +5 -5
  181. package/build/server/chunks/chunks/{internal2.js-CfVVfAb5.js.map → internal2.js-Dm0TlpeP.js.map} +1 -1
  182. package/build/server/chunks/chunks/{key.svelte.js-Cq0L6YlN.js → key.svelte.js-C9G4pBhE.js} +4 -4
  183. package/build/server/chunks/chunks/{key.svelte.js-Cq0L6YlN.js.map → key.svelte.js-C9G4pBhE.js.map} +1 -1
  184. package/build/server/chunks/chunks/{legacy-client.js-DAqKExQD.js → legacy-client.js-C8Upo6IB.js} +3 -3
  185. package/build/server/chunks/chunks/legacy-client.js-C8Upo6IB.js.map +1 -0
  186. package/build/server/chunks/chunks/{level-filter.js-D9MNrew3.js → level-filter.js-H0nc-2BG.js} +2 -2
  187. package/build/server/chunks/chunks/{level-filter.js-D9MNrew3.js.map → level-filter.js-H0nc-2BG.js.map} +1 -1
  188. package/build/server/chunks/chunks/{lineRadial.js-B7ZNP_Jp.js → lineRadial.js-B0m9ujVX.js} +2 -2
  189. package/build/server/chunks/chunks/{lineRadial.js-B7ZNP_Jp.js.map → lineRadial.js-B0m9ujVX.js.map} +1 -1
  190. package/build/server/chunks/chunks/{linear.js-CHlwr1I4.js → linear.js-CJ07spu6.js} +2 -2
  191. package/build/server/chunks/chunks/{linear.js-CHlwr1I4.js.map → linear.js-CJ07spu6.js.map} +1 -1
  192. package/build/server/chunks/chunks/{motion.svelte.js-Crk8ri1u.js → motion.svelte.js-DB7vkWmD.js} +3 -3
  193. package/build/server/chunks/chunks/{motion.svelte.js-Crk8ri1u.js.map → motion.svelte.js-DB7vkWmD.js.map} +1 -1
  194. package/build/server/chunks/chunks/{occlusion.js-ot9_OqWn.js → occlusion.js-DtcqoJjc.js} +2 -2
  195. package/build/server/chunks/chunks/{occlusion.js-ot9_OqWn.js.map → occlusion.js-DtcqoJjc.js.map} +1 -1
  196. package/build/server/chunks/chunks/{path2.js-DLVU8nc9.js → path2.js-B3tNByoS.js} +2 -2
  197. package/build/server/chunks/chunks/{path2.js-DLVU8nc9.js.map → path2.js-B3tNByoS.js.map} +1 -1
  198. package/build/server/chunks/chunks/{rect.svelte.js-_0PgI5fe.js → rect.svelte.js-C6R1SgCx.js} +4 -4
  199. package/build/server/chunks/chunks/{rect.svelte.js-_0PgI5fe.js.map → rect.svelte.js-C6R1SgCx.js.map} +1 -1
  200. package/build/server/chunks/chunks/{scales.svelte.js-DeNkKcI-.js → scales.svelte.js-C4lRvUAb.js} +4 -4
  201. package/build/server/chunks/chunks/{scales.svelte.js-DeNkKcI-.js.map → scales.svelte.js-C4lRvUAb.js.map} +1 -1
  202. package/build/server/chunks/chunks/{state.js-i-NVNGIq.js → state.js-qsHzjuJU.js} +3 -3
  203. package/build/server/chunks/chunks/{state.js-i-NVNGIq.js.map → state.js-qsHzjuJU.js.map} +1 -1
  204. package/build/server/chunks/chunks/text-size.svelte.js-CqGaHRr3.js +310 -0
  205. package/build/server/chunks/chunks/text-size.svelte.js-CqGaHRr3.js.map +1 -0
  206. package/build/server/chunks/chunks/{time-range.js-BLMT8aU3.js → time-range.js-__87ZPq6.js} +10 -5
  207. package/build/server/chunks/chunks/time-range.js-__87ZPq6.js.map +1 -0
  208. package/build/server/chunks/entries/endpoints/api/archive/{_server.ts.js-C4hWyXuu.js → _server.ts.js-C6WY-ljy.js} +2 -2
  209. package/build/server/chunks/entries/endpoints/api/archive/{_server.ts.js-C4hWyXuu.js.map → _server.ts.js-C6WY-ljy.js.map} +1 -1
  210. package/build/server/chunks/entries/endpoints/api/log-groups/{_server.ts.js-D4y43Vwe.js → _server.ts.js-DTcVSbpV.js} +2 -2
  211. package/build/server/chunks/entries/endpoints/api/log-groups/{_server.ts.js-D4y43Vwe.js.map → _server.ts.js-DTcVSbpV.js.map} +1 -1
  212. package/build/server/chunks/entries/endpoints/api/series/{_server.ts.js-DibT3Hjc.js → _server.ts.js-CzJ_bXh8.js} +4 -4
  213. package/build/server/chunks/entries/endpoints/api/series/{_server.ts.js-DibT3Hjc.js.map → _server.ts.js-CzJ_bXh8.js.map} +1 -1
  214. package/build/server/chunks/entries/endpoints/api/stream/{_server.ts.js-BxXw5K0R.js → _server.ts.js-U2naV16N.js} +211 -48
  215. package/build/server/chunks/entries/endpoints/api/stream/_server.ts.js-U2naV16N.js.map +1 -0
  216. package/build/server/chunks/entries/fallbacks/{error.svelte.js-ylsqA41Y.js → error.svelte.js-ClTGKP0-.js} +6 -6
  217. package/build/server/chunks/entries/fallbacks/{error.svelte.js-ylsqA41Y.js.map → error.svelte.js-ClTGKP0-.js.map} +1 -1
  218. package/build/server/chunks/entries/pages/_layout.svelte.js-DNuWb03K.js +622 -0
  219. package/build/server/chunks/entries/pages/_layout.svelte.js-DNuWb03K.js.map +1 -0
  220. package/build/server/chunks/entries/pages/{_page.svelte.js-C9-7d7mD.js → _page.svelte.js-CVlL2UsO.js} +329 -188
  221. package/build/server/chunks/entries/pages/_page.svelte.js-CVlL2UsO.js.map +1 -0
  222. package/build/server/chunks/{handler-Bqo8aDgP.js → handler-CrpvMheE.js} +3 -3
  223. package/build/server/chunks/{handler-Bqo8aDgP.js.map → handler-CrpvMheE.js.map} +1 -1
  224. package/build/server/chunks/{index.js-fPvMujCL.js → index.js-9Dk7Q13E.js} +3 -3
  225. package/build/server/chunks/{index.js-fPvMujCL.js.map → index.js-9Dk7Q13E.js.map} +1 -1
  226. package/build/server/chunks/{manifest.js-Bkj-8GaD.js → manifest.js-DIaODzKX.js} +9 -9
  227. package/build/server/chunks/{manifest.js-Bkj-8GaD.js.map → manifest.js-DIaODzKX.js.map} +1 -1
  228. package/build/server/chunks/nodes/0.js-CQ960AOW.js +9 -0
  229. package/build/server/chunks/nodes/0.js-CQ960AOW.js.map +1 -0
  230. package/build/server/chunks/nodes/1.js-CtTei4sV.js +9 -0
  231. package/build/server/chunks/nodes/{1.js-DZXnUx67.js.map → 1.js-CtTei4sV.js.map} +1 -1
  232. package/build/server/chunks/nodes/2.js-BbKDb_M6.js +9 -0
  233. package/build/server/chunks/nodes/2.js-BbKDb_M6.js.map +1 -0
  234. package/dist/cli/completions.js +24 -0
  235. package/dist/cli/index.js +144 -3
  236. package/dist/cli/mcp/agents.js +344 -0
  237. package/dist/cli/mcp/backend.js +235 -0
  238. package/dist/cli/mcp/run.js +245 -0
  239. package/dist/cli/mcp/stdio.js +103 -0
  240. package/dist/cli/mcp/tools.js +245 -0
  241. package/dist/cli/options.js +138 -25
  242. package/dist/cli/server.js +28 -0
  243. package/dist/cli/ui.js +20 -1
  244. package/dist/lib/time-range.js +14 -3
  245. package/package.json +8 -2
  246. package/build/client/_app/immutable/assets/0.ChTKqSf6.css +0 -2
  247. package/build/client/_app/immutable/assets/0.ChTKqSf6.css.br +0 -0
  248. package/build/client/_app/immutable/assets/0.ChTKqSf6.css.gz +0 -0
  249. package/build/client/_app/immutable/chunks/0b2v80OK.js.br +0 -0
  250. package/build/client/_app/immutable/chunks/0b2v80OK.js.gz +0 -0
  251. package/build/client/_app/immutable/chunks/5EFAIHuJ.js +0 -1
  252. package/build/client/_app/immutable/chunks/5EFAIHuJ.js.br +0 -0
  253. package/build/client/_app/immutable/chunks/5EFAIHuJ.js.gz +0 -0
  254. package/build/client/_app/immutable/chunks/B15XBe8D.js +0 -1
  255. package/build/client/_app/immutable/chunks/B15XBe8D.js.br +0 -0
  256. package/build/client/_app/immutable/chunks/B15XBe8D.js.gz +0 -0
  257. package/build/client/_app/immutable/chunks/B5RiPG8Z.js.br +0 -2
  258. package/build/client/_app/immutable/chunks/B5RiPG8Z.js.gz +0 -0
  259. package/build/client/_app/immutable/chunks/B_KVdCQT.js +0 -10
  260. package/build/client/_app/immutable/chunks/B_KVdCQT.js.br +0 -0
  261. package/build/client/_app/immutable/chunks/B_KVdCQT.js.gz +0 -0
  262. package/build/client/_app/immutable/chunks/BuCpRsEL.js +0 -1
  263. package/build/client/_app/immutable/chunks/BuCpRsEL.js.br +0 -0
  264. package/build/client/_app/immutable/chunks/BuCpRsEL.js.gz +0 -0
  265. package/build/client/_app/immutable/chunks/BvZtsVvW.js +0 -1
  266. package/build/client/_app/immutable/chunks/BvZtsVvW.js.br +0 -0
  267. package/build/client/_app/immutable/chunks/BvZtsVvW.js.gz +0 -0
  268. package/build/client/_app/immutable/chunks/C3Y15ONf.js +0 -2
  269. package/build/client/_app/immutable/chunks/C3Y15ONf.js.br +0 -0
  270. package/build/client/_app/immutable/chunks/C3Y15ONf.js.gz +0 -0
  271. package/build/client/_app/immutable/chunks/C9GPQYs7.js +0 -1
  272. package/build/client/_app/immutable/chunks/C9GPQYs7.js.br +0 -0
  273. package/build/client/_app/immutable/chunks/C9GPQYs7.js.gz +0 -0
  274. package/build/client/_app/immutable/chunks/C_U_Jvk5.js.br +0 -0
  275. package/build/client/_app/immutable/chunks/C_U_Jvk5.js.gz +0 -0
  276. package/build/client/_app/immutable/chunks/Cd7JqZj9.js +0 -1
  277. package/build/client/_app/immutable/chunks/Cd7JqZj9.js.br +0 -0
  278. package/build/client/_app/immutable/chunks/Cd7JqZj9.js.gz +0 -0
  279. package/build/client/_app/immutable/chunks/D2PbcyDU.js +0 -1
  280. package/build/client/_app/immutable/chunks/D2PbcyDU.js.br +0 -0
  281. package/build/client/_app/immutable/chunks/D2PbcyDU.js.gz +0 -0
  282. package/build/client/_app/immutable/chunks/D7vimbmk.js.br +0 -0
  283. package/build/client/_app/immutable/chunks/D7vimbmk.js.gz +0 -0
  284. package/build/client/_app/immutable/chunks/DAqXSYzi.js +0 -1
  285. package/build/client/_app/immutable/chunks/DAqXSYzi.js.br +0 -0
  286. package/build/client/_app/immutable/chunks/DAqXSYzi.js.gz +0 -0
  287. package/build/client/_app/immutable/chunks/DGYKsRyW.js.br +0 -0
  288. package/build/client/_app/immutable/chunks/DGYKsRyW.js.gz +0 -0
  289. package/build/client/_app/immutable/chunks/DPaulGql.js +0 -1
  290. package/build/client/_app/immutable/chunks/DPaulGql.js.br +0 -1
  291. package/build/client/_app/immutable/chunks/DPaulGql.js.gz +0 -0
  292. package/build/client/_app/immutable/chunks/DQqLOGLe.js.br +0 -0
  293. package/build/client/_app/immutable/chunks/DQqLOGLe.js.gz +0 -0
  294. package/build/client/_app/immutable/chunks/DS3cLPAu.js.br +0 -0
  295. package/build/client/_app/immutable/chunks/DS3cLPAu.js.gz +0 -0
  296. package/build/client/_app/immutable/chunks/Dkh4Dwm8.js.br +0 -0
  297. package/build/client/_app/immutable/chunks/Dkh4Dwm8.js.gz +0 -0
  298. package/build/client/_app/immutable/chunks/DnqfXHAL.js +0 -15
  299. package/build/client/_app/immutable/chunks/DnqfXHAL.js.br +0 -0
  300. package/build/client/_app/immutable/chunks/DnqfXHAL.js.gz +0 -0
  301. package/build/client/_app/immutable/chunks/DsYron7_.js +0 -1
  302. package/build/client/_app/immutable/chunks/DsYron7_.js.br +0 -0
  303. package/build/client/_app/immutable/chunks/DsYron7_.js.gz +0 -0
  304. package/build/client/_app/immutable/chunks/DuM1cPdZ.js +0 -1
  305. package/build/client/_app/immutable/chunks/DuM1cPdZ.js.br +0 -0
  306. package/build/client/_app/immutable/chunks/DuM1cPdZ.js.gz +0 -0
  307. package/build/client/_app/immutable/chunks/DvxMaQv_.js.br +0 -0
  308. package/build/client/_app/immutable/chunks/DvxMaQv_.js.gz +0 -0
  309. package/build/client/_app/immutable/chunks/DwOZdLDj.js.br +0 -0
  310. package/build/client/_app/immutable/chunks/DwOZdLDj.js.gz +0 -0
  311. package/build/client/_app/immutable/chunks/IlwbfbOu.js.br +0 -0
  312. package/build/client/_app/immutable/chunks/IlwbfbOu.js.gz +0 -0
  313. package/build/client/_app/immutable/chunks/aI_O2VuQ.js.br +0 -0
  314. package/build/client/_app/immutable/chunks/aI_O2VuQ.js.gz +0 -0
  315. package/build/client/_app/immutable/chunks/b77-bq1n.js.br +0 -0
  316. package/build/client/_app/immutable/chunks/b77-bq1n.js.gz +0 -0
  317. package/build/client/_app/immutable/chunks/dqF8mxBW.js.br +0 -0
  318. package/build/client/_app/immutable/chunks/dqF8mxBW.js.gz +0 -0
  319. package/build/client/_app/immutable/chunks/gkAHSOnS.js +0 -1
  320. package/build/client/_app/immutable/chunks/gkAHSOnS.js.br +0 -0
  321. package/build/client/_app/immutable/chunks/gkAHSOnS.js.gz +0 -0
  322. package/build/client/_app/immutable/chunks/pqiPC7Y8.js +0 -3
  323. package/build/client/_app/immutable/chunks/pqiPC7Y8.js.br +0 -0
  324. package/build/client/_app/immutable/chunks/pqiPC7Y8.js.gz +0 -0
  325. package/build/client/_app/immutable/chunks/ti8ecMFX.js +0 -1
  326. package/build/client/_app/immutable/chunks/ti8ecMFX.js.br +0 -0
  327. package/build/client/_app/immutable/chunks/ti8ecMFX.js.gz +0 -0
  328. package/build/client/_app/immutable/entry/app.CTR4aUFT.js +0 -2
  329. package/build/client/_app/immutable/entry/app.CTR4aUFT.js.br +0 -0
  330. package/build/client/_app/immutable/entry/app.CTR4aUFT.js.gz +0 -0
  331. package/build/client/_app/immutable/entry/start.CC6Ln8E2.js +0 -1
  332. package/build/client/_app/immutable/entry/start.CC6Ln8E2.js.br +0 -0
  333. package/build/client/_app/immutable/entry/start.CC6Ln8E2.js.gz +0 -0
  334. package/build/client/_app/immutable/nodes/0.CvUxmLsM.js +0 -1
  335. package/build/client/_app/immutable/nodes/0.CvUxmLsM.js.br +0 -0
  336. package/build/client/_app/immutable/nodes/0.CvUxmLsM.js.gz +0 -0
  337. package/build/client/_app/immutable/nodes/1.CbSHqfEx.js +0 -1
  338. package/build/client/_app/immutable/nodes/1.CbSHqfEx.js.br +0 -0
  339. package/build/client/_app/immutable/nodes/1.CbSHqfEx.js.gz +0 -0
  340. package/build/client/_app/immutable/nodes/2.DcD5v8dU.js +0 -5
  341. package/build/client/_app/immutable/nodes/2.DcD5v8dU.js.br +0 -0
  342. package/build/client/_app/immutable/nodes/2.DcD5v8dU.js.gz +0 -0
  343. package/build/server/chunks/chunks/Points.js-D7ozN9W5.js +0 -14
  344. package/build/server/chunks/chunks/Points.js-D7ozN9W5.js.map +0 -1
  345. package/build/server/chunks/chunks/archive.js-D2jtMmDo.js.map +0 -1
  346. package/build/server/chunks/chunks/index-server.js-CtH9Hqwf.js.map +0 -1
  347. package/build/server/chunks/chunks/legacy-client.js-DAqKExQD.js.map +0 -1
  348. package/build/server/chunks/chunks/time-range.js-BLMT8aU3.js.map +0 -1
  349. package/build/server/chunks/entries/endpoints/api/stream/_server.ts.js-BxXw5K0R.js.map +0 -1
  350. package/build/server/chunks/entries/pages/_layout.svelte.js-D7sAdBVX.js +0 -113
  351. package/build/server/chunks/entries/pages/_layout.svelte.js-D7sAdBVX.js.map +0 -1
  352. package/build/server/chunks/entries/pages/_page.svelte.js-C9-7d7mD.js.map +0 -1
  353. package/build/server/chunks/nodes/0.js-7J6kXnEo.js +0 -9
  354. package/build/server/chunks/nodes/0.js-7J6kXnEo.js.map +0 -1
  355. package/build/server/chunks/nodes/1.js-DZXnUx67.js +0 -9
  356. package/build/server/chunks/nodes/2.js-85y9-1SS.js +0 -9
  357. package/build/server/chunks/nodes/2.js-85y9-1SS.js.map +0 -1
package/README.md CHANGED
@@ -5,14 +5,14 @@
5
5
  **CloudWatch logs. One command. A clearer picture.**
6
6
 
7
7
  Tail live logs, investigate an incident across services, and keep what you find in a local archive.
8
- Uses your existing AWS credentials. Runs on your machine.
8
+ Hand the same search to your AI agent over MCP. Uses your existing AWS credentials. Runs on your machine.
9
9
 
10
10
  [![npm version](https://img.shields.io/npm/v/watch-tail?color=blue)](https://www.npmjs.com/package/watch-tail)
11
11
  [![CI](https://github.com/antstanley/watch-tail/actions/workflows/ci.yml/badge.svg)](https://github.com/antstanley/watch-tail/actions/workflows/ci.yml)
12
12
  [![license](https://img.shields.io/npm/l/watch-tail)](./LICENSE)
13
13
  [![node](https://img.shields.io/node/v/watch-tail)](package.json)
14
14
 
15
- <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.7.1/docs/watch-tail-overview.png" alt="watch-tail: historic logs from multiple groups, with severity chart and request grouping" width="1200">
15
+ <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-overview.png" alt="watch-tail: an hour of historic logs from two Lambda groups, with the request-duration chart and request grouping" width="1200">
16
16
 
17
17
  </div>
18
18
 
@@ -27,15 +27,15 @@ npx watch-tail --floci # use a local emulator
27
27
  Requires **Node.js 22+**. Prefer a global install? `npm install -g watch-tail` gives you both
28
28
  `watch-tail` and the shorter `wt`. Press **Ctrl+C** to stop, including during a live stream or login prompt.
29
29
 
30
- Choose a **Theme** from the header: Midnight, Ocean, Forest and Plum are dark palettes;
31
- Daylight, Sand, Mint and Lavender are light palettes. The choice is remembered in this browser.
32
-
33
30
  ## What you get
34
31
 
35
32
  - **Live tail and historic scans.** Follow new events or select a preset (15 minutes to 5 days) or
36
33
  custom window. Pause with buffering, filter text, clear the view, and toggle auto-scroll.
37
34
  - **Several groups, one view.** Select groups in the sidebar to merge their logs and chart. A group
38
- column keeps each line's source visible.
35
+ column keeps each line's source visible, and long group names keep their most specific end.
36
+ - **Panels that get out of the way.** The group list, the chart and the log lines each fold from the
37
+ chevron in their own header. Fold the group list to give the logs the full width, or fold the log
38
+ lines to let the chart fill the space; each choice is remembered.
39
39
  - **Requests, not just lines.** **By request** groups matching request IDs into one expandable row,
40
40
  showing line count, elapsed span, and highest severity. Lines without an ID stay visible.
41
41
  - **Spot the spike.** In Historic mode, the chart shows request duration over time, coloured by severity.
@@ -45,8 +45,17 @@ Daylight, Sand, Mint and Lavender are light palettes. The choice is remembered i
45
45
  and resizable sidebar, timestamp, group-name and stream-name columns (drag their edges or use arrow keys). The viewer keeps a 5,000-line buffer.
46
46
  - **Offline history.** Streamed events are saved to a local DuckDB archive. Browse them later without
47
47
  AWS credentials, or query them with SQL.
48
+ - **Archive-first historic views.** A historic window reads events the archive already holds and only
49
+ asks CloudWatch for the gaps, so re-investigating an incident is fast and uses less AWS. The last
50
+ few minutes of a window are always re-read, because CloudWatch can still be ingesting them. A
51
+ CloudWatch **filter pattern** keeps that view on the API.
48
52
  - **Reopen the same view.** Region, groups, source, mode, and time window live in the URL. A teammate
49
53
  needs their own AWS access or a copy of the archive; the link does not include logs or credentials.
54
+ - **Your agent can look too.** `watch-tail mcp init` wires watch-tail into Claude Code, Claude
55
+ Desktop, Cursor, VS Code and other agents, so they search the same logs and archive you do.
56
+ See [Agents (MCP)](#agents-mcp).
57
+ - **Make it yours.** Eight colour themes, four text sizes, and an optional puppy companion. See
58
+ [Make it yours](#make-it-yours).
50
59
 
51
60
  ## Follow a request
52
61
 
@@ -54,7 +63,7 @@ Grouping is on by default. Click a request row to expand its lines; use **By req
54
63
  individual events. IDs are detected from `requestId`, `request_id`, `awsRequestId`, `x-request-id`,
55
64
  and Lambda's `RequestId:` lines. Each request takes the severity of its most critical line.
56
65
 
57
- <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.7.1/docs/watch-tail-requests.png" alt="watch-tail: an expanded checkout request showing its JSON payloads and Lambda log lines" width="1200">
66
+ <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-requests.png" alt="watch-tail: a selected point on the duration chart highlights and expands its checkout request, showing the JSON payloads and Lambda log lines" width="1200">
58
67
 
59
68
  Select a chart point to scroll to and highlight its loaded log lines. Requests expand automatically,
60
69
  and auto-scroll switches off so incoming logs do not move you away. Count points select all matching
@@ -78,12 +87,20 @@ Choose **Local archive** to browse events already captured on this machine, even
78
87
  expired SSO session. Only events received while streaming are archived; it does not back up your
79
88
  whole AWS account.
80
89
 
90
+ Historic views do not need you to switch source: with **CloudWatch** selected, a historic window is
91
+ answered from the archive wherever it already has the events, and only the ranges it has never seen
92
+ are fetched from AWS. watch-tail remembers which ranges it read from CloudWatch in full and stored,
93
+ so a window you looked at before is fast and cheap the next time. The last five minutes of each
94
+ read are always fetched again, because CloudWatch can still be ingesting them. A **filter pattern**
95
+ disables this, because that scan archived only the matching lines. **Local archive** stays the way
96
+ to read windows older than CloudWatch's 14-day limit.
97
+
81
98
  ```bash
82
99
  watch-tail --db ./logs.duckdb # choose an archive file
83
100
  watch-tail --no-archive # disable archiving
84
101
  ```
85
102
 
86
- <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.7.1/docs/watch-tail-archive.png" alt="watch-tail: local archive replay with stored event counts and a severity chart" width="1200">
103
+ <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-archive.png" alt="watch-tail: local archive replay with stored event counts per group and the events-over-time chart" width="1200">
87
104
 
88
105
  Each AWS account and region gets its own `<account-id>/<region>/archive.duckdb` beneath:
89
106
 
@@ -117,6 +134,74 @@ ORDER BY events DESC;
117
134
  CloudWatch scans in this app are limited to the last 14 days; actual AWS retention depends on the
118
135
  log group's settings. The local archive can retain events beyond that window.
119
136
 
137
+ ## Make it yours
138
+
139
+ Choose a **Theme** from the header: Midnight, Ocean, Forest and Plum are dark palettes;
140
+ Daylight, Sand, Mint and Lavender are light palettes. It covers the controls, log severities, JSON
141
+ colours and the chart.
142
+
143
+ Need the interface larger or smaller? **Text size** offers Small, Default, Large and Extra large. It
144
+ scales the whole UI, including the log view.
145
+
146
+ Want company? Press **Puppy** in the header to bring out a Labrador puppy in the bottom-right
147
+ corner. It wags its tail whenever data loads and whenever you fold or unfold a section, and gets
148
+ excited when you click it. Drag it (or focus it and use the arrow keys) to move it to another
149
+ corner. Press **Puppy** again to send it away. If your system asks for reduced motion, it draws
150
+ wag marks instead of animating its tail and moves between corners without sliding.
151
+
152
+ The theme, text size, puppy corner, panel layout and column widths are all remembered in this browser.
153
+
154
+ <img src="https://raw.githubusercontent.com/antstanley/watch-tail/v0.10.0/docs/watch-tail-puppy.png" alt="watch-tail in the Daylight theme with the group list folded away and the puppy companion in the bottom-right corner" width="1200">
155
+
156
+ ## Agents (MCP)
157
+
158
+ watch-tail can run headless as a local [MCP](https://modelcontextprotocol.io) server, so an agent
159
+ can search CloudWatch and the local archive directly instead of calling AWS itself. The server
160
+ starts a private watch-tail on a free loopback port, proxies the same API the browser uses, and
161
+ stops it when the agent disconnects. Nothing is written to stdout except the protocol.
162
+
163
+ ```bash
164
+ watch-tail mcp # speak MCP over stdio (an agent starts this for you)
165
+ watch-tail mcp init # detect installed agents and configure them
166
+ ```
167
+
168
+ `mcp init` looks for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Gemini CLI and the
169
+ Codex CLI, lists the ones it finds, and asks which to configure. It merges a `watch-tail` server
170
+ entry into each selected agent's config file, leaving everything else in the file alone, and never
171
+ clobbers a file it cannot parse. Useful flags:
172
+
173
+ | Flag | Meaning |
174
+ | -------------------- | ------------------------------------------------------------------- |
175
+ | `--agent <ids>` | Configure these agents (comma separated), skipping detection/prompt |
176
+ | `--yes` | Configure every detected agent without asking |
177
+ | `--print` | Show the configuration instead of writing it |
178
+ | `--scope <scope>` | `user` (default) or `project` (the current directory) |
179
+ | `--command`/`--args` | Run a local build instead of the published package |
180
+
181
+ For a checkout rather than an installed package:
182
+
183
+ ```bash
184
+ watch-tail mcp init --command node --args /path/to/watch-tail/dist/cli/bin.js
185
+ ```
186
+
187
+ The agent gets five tools: `archive_status`, `list_log_groups`, `search_logs`, `count_logs` and
188
+ `get_identity`. Every search is a bounded historic window, matching the UI's Historic mode, and
189
+ `source="cloudwatch"` is the default: it reads the local DuckDB archive first and only calls AWS for
190
+ windows it does not already hold, so it is fast and complete. Use `source="archive"` to stay entirely
191
+ on this machine - no AWS calls, and no 14-day limit. `search_logs` accepts a substring (`search`) and
192
+ level filters on the archive, or a CloudWatch `filterPattern`. Results are sorted oldest first, and
193
+ `limit` (500 by default) caps a search on either source. Searching does not silently pull your
194
+ whole history: only the windows you ask for are archived, and only the events actually streamed.
195
+
196
+ DuckDB lets one process use an archive file at a time. The MCP server's private watch-tail opens it
197
+ only while a tool call runs, so it does not lock out the browser UI; a watch-tail UI, however, holds
198
+ the archive for as long as it runs. To have an agent use a UI you keep open instead of starting a
199
+ second server, add `"--url", "http://127.0.0.1:4517"` after `"mcp"` in the `args` of its
200
+ `watch-tail` entry. Running `mcp init` again resets `command` and `args` (and keeps everything else
201
+ in the entry), so add it back afterwards.
202
+ The server speaks the Model Context Protocol through [tmcp](https://tmcp.io): the session handshake
203
+ (`2025-06-18` and earlier) and the stateless `2026-07-28` revision with per-request metadata.
204
+
120
205
  ## CLI
121
206
 
122
207
  ```
@@ -136,6 +221,16 @@ watch-tail [options]
136
221
  --no-archive Do not keep a local history archive
137
222
  -h, --help Show this help
138
223
  -v, --version Show the version
224
+
225
+ watch-tail mcp [options] Serve watch-tail to an AI agent over stdio
226
+ --url <url> Use a watch-tail already running at this URL
227
+ watch-tail mcp init [options] Write watch-tail into installed agents
228
+ --agent <ids> Configure these agents (comma separated)
229
+ --yes Configure every detected agent without asking
230
+ --print Print the configuration instead of writing it
231
+ --scope <scope> Where to write: user (default) or project
232
+ --command <exe> Executable written into the agent config (default: npx)
233
+ --args <args> Arguments written before `mcp`
139
234
  ```
140
235
 
141
236
  Shell completions support zsh, bash, fish, and PowerShell, including your AWS profile names and
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-900:oklch(37.8% .077 168.94);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-300:oklch(85.5% .138 181.071);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-700:oklch(51.1% .096 186.391);--color-teal-900:oklch(38.6% .063 188.416);--color-teal-950:oklch(27.7% .046 192.524);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-sky-800:oklch(44.3% .11 240.79);--color-sky-900:oklch(39.1% .09 240.876);--color-sky-950:oklch(29.3% .066 243.157);--color-violet-300:oklch(81.1% .111 293.571);--color-violet-900:oklch(38% .189 293.745);--color-violet-950:oklch(28.3% .141 291.089);--color-fuchsia-300:oklch(83.3% .145 321.434);--color-neutral-100:oklch(97% 0 none);--color-neutral-200:oklch(92.2% 0 none);--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-wider:.05em;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:0}.inset-y-0{inset-block:0}.-right-1{right:calc(var(--spacing) * -1)}.isolate{isolation:isolate}.z-10{z-index:10}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.ml-1{margin-left:var(--spacing)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.h-2{height:calc(var(--spacing) * 2)}.h-5{height:calc(var(--spacing) * 5)}.h-dvh{height:100dvh}.h-full{height:100%}.min-h-0{min-height:0}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-\[30rem\]{min-height:30rem}.min-h-full{min-height:100%}.w-2{width:calc(var(--spacing) * 2)}.w-8{width:calc(var(--spacing) * 8)}.w-40{width:calc(var(--spacing) * 40)}.w-full{width:100%}.w-max{width:max-content}.max-w-\[22rem\]{max-width:22rem}.min-w-0{min-width:0}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-col-resize{cursor:col-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-amber-700{border-color:var(--color-amber-700)}.border-amber-800{border-color:var(--color-amber-800)}.border-amber-900{border-color:var(--color-amber-900)}.border-emerald-900{border-color:var(--color-emerald-900)}.border-neutral-500\/60{border-color:#73737399}@supports (color:color-mix(in lab, red, red)){.border-neutral-500\/60{border-color:color-mix(in oklab, var(--color-neutral-500) 60%, transparent)}}.border-neutral-700{border-color:var(--color-neutral-700)}.border-neutral-800{border-color:var(--color-neutral-800)}.border-neutral-800\/40{border-color:#26262666}@supports (color:color-mix(in lab, red, red)){.border-neutral-800\/40{border-color:color-mix(in oklab, var(--color-neutral-800) 40%, transparent)}}.border-neutral-900{border-color:var(--color-neutral-900)}.border-red-800{border-color:var(--color-red-800)}.border-red-900{border-color:var(--color-red-900)}.border-sky-400{border-color:var(--color-sky-400)}.border-sky-700{border-color:var(--color-sky-700)}.border-sky-800{border-color:var(--color-sky-800)}.border-sky-900{border-color:var(--color-sky-900)}.border-teal-700{border-color:var(--color-teal-700)}.border-teal-900{border-color:var(--color-teal-900)}.border-transparent{border-color:#0000}.border-violet-900{border-color:var(--color-violet-900)}.bg-amber-400{background-color:var(--color-amber-400)}.bg-amber-950\/40{background-color:#46190166}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/40{background-color:color-mix(in oklab, var(--color-amber-950) 40%, transparent)}}.bg-amber-950\/50{background-color:#46190180}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/50{background-color:color-mix(in oklab, var(--color-amber-950) 50%, transparent)}}.bg-amber-950\/70{background-color:#461901b3}@supports (color:color-mix(in lab, red, red)){.bg-amber-950\/70{background-color:color-mix(in oklab, var(--color-amber-950) 70%, transparent)}}.bg-emerald-400{background-color:var(--color-emerald-400)}.bg-emerald-950\/70{background-color:#002c22b3}@supports (color:color-mix(in lab, red, red)){.bg-emerald-950\/70{background-color:color-mix(in oklab, var(--color-emerald-950) 70%, transparent)}}.bg-neutral-500{background-color:var(--color-neutral-500)}.bg-neutral-500\/10{background-color:#7373731a}@supports (color:color-mix(in lab, red, red)){.bg-neutral-500\/10{background-color:color-mix(in oklab, var(--color-neutral-500) 10%, transparent)}}.bg-neutral-800{background-color:var(--color-neutral-800)}.bg-neutral-800\/60{background-color:#26262699}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/60{background-color:color-mix(in oklab, var(--color-neutral-800) 60%, transparent)}}.bg-neutral-800\/80{background-color:#262626cc}@supports (color:color-mix(in lab, red, red)){.bg-neutral-800\/80{background-color:color-mix(in oklab, var(--color-neutral-800) 80%, transparent)}}.bg-neutral-900{background-color:var(--color-neutral-900)}.bg-neutral-900\/40{background-color:#17171766}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/40{background-color:color-mix(in oklab, var(--color-neutral-900) 40%, transparent)}}.bg-neutral-900\/60{background-color:#17171799}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/60{background-color:color-mix(in oklab, var(--color-neutral-900) 60%, transparent)}}.bg-neutral-900\/70{background-color:#171717b3}@supports (color:color-mix(in lab, red, red)){.bg-neutral-900\/70{background-color:color-mix(in oklab, var(--color-neutral-900) 70%, transparent)}}.bg-neutral-950{background-color:var(--color-neutral-950)}.bg-neutral-950\/60{background-color:#0a0a0a99}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/60{background-color:color-mix(in oklab, var(--color-neutral-950) 60%, transparent)}}.bg-neutral-950\/80{background-color:#0a0a0acc}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/80{background-color:color-mix(in oklab, var(--color-neutral-950) 80%, transparent)}}.bg-neutral-950\/90{background-color:#0a0a0ae6}@supports (color:color-mix(in lab, red, red)){.bg-neutral-950\/90{background-color:color-mix(in oklab, var(--color-neutral-950) 90%, transparent)}}.bg-red-400{background-color:var(--color-red-400)}.bg-red-950\/50{background-color:#46080980}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/50{background-color:color-mix(in oklab, var(--color-red-950) 50%, transparent)}}.bg-red-950\/70{background-color:#460809b3}@supports (color:color-mix(in lab, red, red)){.bg-red-950\/70{background-color:color-mix(in oklab, var(--color-red-950) 70%, transparent)}}.bg-sky-400{background-color:var(--color-sky-400)}.bg-sky-400\/15{background-color:#00bcfe26}@supports (color:color-mix(in lab, red, red)){.bg-sky-400\/15{background-color:color-mix(in oklab, var(--color-sky-400) 15%, transparent)}}.bg-sky-950{background-color:var(--color-sky-950)}.bg-sky-950\/50{background-color:#052f4a80}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/50{background-color:color-mix(in oklab, var(--color-sky-950) 50%, transparent)}}.bg-sky-950\/60{background-color:#052f4a99}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/60{background-color:color-mix(in oklab, var(--color-sky-950) 60%, transparent)}}.bg-sky-950\/70{background-color:#052f4ab3}@supports (color:color-mix(in lab, red, red)){.bg-sky-950\/70{background-color:color-mix(in oklab, var(--color-sky-950) 70%, transparent)}}.bg-teal-950\/50{background-color:#022f2e80}@supports (color:color-mix(in lab, red, red)){.bg-teal-950\/50{background-color:color-mix(in oklab, var(--color-teal-950) 50%, transparent)}}.bg-teal-950\/60{background-color:#022f2e99}@supports (color:color-mix(in lab, red, red)){.bg-teal-950\/60{background-color:color-mix(in oklab, var(--color-teal-950) 60%, transparent)}}.bg-transparent{background-color:#0000}.bg-violet-950\/60{background-color:#2f0d6899}@supports (color:color-mix(in lab, red, red)){.bg-violet-950\/60{background-color:color-mix(in oklab, var(--color-violet-950) 60%, transparent)}}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pr-1{padding-right:var(--spacing)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.625rem\]{font-size:.625rem}.text-\[0\.6875rem\]{font-size:.6875rem}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.break-words{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-200{color:var(--color-amber-200)}.text-amber-300{color:var(--color-amber-300)}.text-amber-300\/80{color:#ffd236cc}@supports (color:color-mix(in lab, red, red)){.text-amber-300\/80{color:color-mix(in oklab, var(--color-amber-300) 80%, transparent)}}.text-amber-400\/80{color:#fcbb00cc}@supports (color:color-mix(in lab, red, red)){.text-amber-400\/80{color:color-mix(in oklab, var(--color-amber-400) 80%, transparent)}}.text-emerald-300{color:var(--color-emerald-300)}.text-emerald-400\/80{color:#00d294cc}@supports (color:color-mix(in lab, red, red)){.text-emerald-400\/80{color:color-mix(in oklab, var(--color-emerald-400) 80%, transparent)}}.text-fuchsia-300{color:var(--color-fuchsia-300)}.text-neutral-100{color:var(--color-neutral-100)}.text-neutral-200{color:var(--color-neutral-200)}.text-neutral-300{color:var(--color-neutral-300)}.text-neutral-400{color:var(--color-neutral-400)}.text-neutral-500{color:var(--color-neutral-500)}.text-neutral-600{color:var(--color-neutral-600)}.text-red-300{color:var(--color-red-300)}.text-red-400{color:var(--color-red-400)}.text-sky-200{color:var(--color-sky-200)}.text-sky-300{color:var(--color-sky-300)}.text-sky-400{color:var(--color-sky-400)}.text-sky-400\/80{color:#00bcfecc}@supports (color:color-mix(in lab, red, red)){.text-sky-400\/80{color:color-mix(in oklab, var(--color-sky-400) 80%, transparent)}}.text-teal-300{color:var(--color-teal-300)}.text-teal-300\/80{color:#46ecd5cc}@supports (color:color-mix(in lab, red, red)){.text-teal-300\/80{color:color-mix(in oklab, var(--color-teal-300) 80%, transparent)}}.text-teal-400\/80{color:#00d3bdcc}@supports (color:color-mix(in lab, red, red)){.text-teal-400\/80{color:color-mix(in oklab, var(--color-teal-400) 80%, transparent)}}.text-violet-300{color:var(--color-violet-300)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-sky-500{accent-color:var(--color-sky-500)}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-sky-700{--tw-ring-color:var(--color-sky-700)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-offset-2{outline-offset:2px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.ring-inset{--tw-ring-inset:inset}.selection\:bg-sky-900\/60 ::selection{background-color:#024a7099}@supports (color:color-mix(in lab, red, red)){.selection\:bg-sky-900\/60 ::selection{background-color:color-mix(in oklab, var(--color-sky-900) 60%, transparent)}}.selection\:bg-sky-900\/60::selection{background-color:#024a7099}@supports (color:color-mix(in lab, red, red)){.selection\:bg-sky-900\/60::selection{background-color:color-mix(in oklab, var(--color-sky-900) 60%, transparent)}}.placeholder\:text-neutral-600::placeholder{color:var(--color-neutral-600)}@media (hover:hover){.hover\:border-neutral-700:hover{border-color:var(--color-neutral-700)}.hover\:border-neutral-800:hover{border-color:var(--color-neutral-800)}.hover\:border-sky-600:hover{border-color:var(--color-sky-600)}.hover\:bg-neutral-800:hover{background-color:var(--color-neutral-800)}.hover\:bg-neutral-900\/60:hover{background-color:#17171799}@supports (color:color-mix(in lab, red, red)){.hover\:bg-neutral-900\/60:hover{background-color:color-mix(in oklab, var(--color-neutral-900) 60%, transparent)}}.hover\:bg-sky-500\/30:hover{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.hover\:bg-sky-500\/30:hover{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.hover\:text-neutral-100:hover{color:var(--color-neutral-100)}.hover\:text-neutral-200:hover{color:var(--color-neutral-200)}.hover\:text-sky-300:hover{color:var(--color-sky-300)}}.focus\:border-sky-600:focus{border-color:var(--color-sky-600)}.focus\:bg-sky-500\/50:focus{background-color:#00a5ef80}@supports (color:color-mix(in lab, red, red)){.focus\:bg-sky-500\/50:focus{background-color:color-mix(in oklab, var(--color-sky-500) 50%, transparent)}}.focus\:stroke-neutral-100:focus{stroke:var(--color-neutral-100)}.focus\:stroke-2:focus{stroke-width:2px}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-sky-500:focus-visible{outline-color:var(--color-sky-500)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.sm\:inline{display:inline}.sm\:px-4{padding-inline:calc(var(--spacing) * 4)}}@media (width>=64rem){.lg\:block{display:block}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:inline-flex{display:inline-flex}.lg\:shrink-0{flex-shrink:0}.lg\:flex-row{flex-direction:row}.lg\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.lg\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}@container (width>=42rem){.\@2xl\:inline{display:inline}}}:root,:root[data-theme=midnight]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#0d0d0d;--color-neutral-900:#1a1a1a;--color-neutral-800:#333;--color-neutral-700:#4d4d4d;--color-neutral-600:#858585;--color-neutral-500:#999;--color-neutral-400:#b0b0b0;--color-neutral-300:#c9c9c9;--color-neutral-200:#dedede;--color-neutral-100:#f0f0f0;--color-neutral-50:#fafafa;--color-sky-950:#082a3a;--color-sky-900:#0d4159;--color-sky-800:#136286;--color-sky-700:#197fae;--color-sky-600:#1d92c9;--color-sky-500:#36ace2;--color-sky-400:#63bee9;--color-sky-300:#94d3f0;--color-sky-200:#c1e5f6;--color-sky-100:#e0f2fb;--color-sky-50:#f2f9fd}:root[data-theme=ocean]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#090c10;--color-neutral-900:#131820;--color-neutral-800:#253141;--color-neutral-700:#384961;--color-neutral-600:#647fa6;--color-neutral-500:#7d94b5;--color-neutral-400:#9bacc5;--color-neutral-300:#bbc7d8;--color-neutral-200:#d5dce7;--color-neutral-100:#eceff4;--color-neutral-50:#f9fafb;--color-sky-950:#08323a;--color-sky-900:#0d4c59;--color-sky-800:#137386;--color-sky-700:#1995ae;--color-sky-600:#1dacc9;--color-sky-500:#36c6e2;--color-sky-400:#63d2e9;--color-sky-300:#94e0f0;--color-sky-200:#c1edf6;--color-sky-100:#e0f6fb;--color-sky-50:#f2fbfd}:root[data-theme=forest]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#0a0f0d;--color-neutral-900:#151e1a;--color-neutral-800:#2a3c35;--color-neutral-700:#3f5a4f;--color-neutral-600:#6f9b88;--color-neutral-500:#87ab9c;--color-neutral-400:#a2beb2;--color-neutral-300:#c0d3cb;--color-neutral-200:#d8e4df;--color-neutral-100:#edf2f0;--color-neutral-50:#f9fbfa;--color-sky-950:#083a21;--color-sky-900:#0d5933;--color-sky-800:#13864d;--color-sky-700:#19ae63;--color-sky-600:#1dc973;--color-sky-500:#36e28c;--color-sky-400:#63e9a6;--color-sky-300:#94f0c2;--color-sky-200:#c1f6db;--color-sky-100:#e0fbed;--color-sky-50:#f2fdf7}:root[data-theme=plum]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-neutral-950:#0e0a0f;--color-neutral-900:#1c141f;--color-neutral-800:#38293d;--color-neutral-700:#543d5c;--color-neutral-600:#916c9d;--color-neutral-500:#a385ad;--color-neutral-400:#b8a0c0;--color-neutral-300:#cfbfd4;--color-neutral-200:#e1d7e4;--color-neutral-100:#f1edf3;--color-neutral-50:#faf9fb;--color-sky-950:#2b083a;--color-sky-900:#420d59;--color-sky-800:#631386;--color-sky-700:#8119ae;--color-sky-600:#951dc9;--color-sky-500:#af36e2;--color-sky-400:#c163e9;--color-sky-300:#d494f0;--color-sky-200:#e6c1f6;--color-sky-100:#f3e0fb;--color-sky-50:#faf2fd}:root[data-theme=daylight]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fcfcfd;--color-neutral-900:#f4f5f6;--color-neutral-800:#d7dbe0;--color-neutral-700:#b8bec7;--color-neutral-600:#5e6978;--color-neutral-500:#5a6472;--color-neutral-400:#4c5561;--color-neutral-300:#3d434d;--color-neutral-200:#2d3239;--color-neutral-100:#1b1e22;--color-neutral-50:#101114;--color-sky-950:#e4f1fb;--color-sky-900:#c9e3f7;--color-sky-800:#94c6f0;--color-sky-700:#3f9ae4;--color-sky-600:#196bae;--color-sky-500:#1868aa;--color-sky-400:#104570;--color-sky-300:#124f81;--color-sky-200:#104570;--color-sky-100:#0d3759;--color-sky-50:#0a2943}:root[data-theme=sand]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fdfdfc;--color-neutral-900:#f8f5f2;--color-neutral-800:#e5ddd2;--color-neutral-700:#d0c2ae;--color-neutral-600:#88704e;--color-neutral-500:#826b4a;--color-neutral-400:#6e5b3f;--color-neutral-300:#574832;--color-neutral-200:#413525;--color-neutral-100:#272016;--color-neutral-50:#17130d;--color-sky-950:#fbefe4;--color-sky-900:#f7dec9;--color-sky-800:#f0bd94;--color-sky-700:#e4893f;--color-sky-600:#ae5c19;--color-sky-500:#aa5a18;--color-sky-400:#703b10;--color-sky-300:#814412;--color-sky-200:#703b10;--color-sky-100:#592f0d;--color-sky-50:#43230a}:root[data-theme=mint]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fcfdfd;--color-neutral-900:#f3f7f5;--color-neutral-800:#d3e3dd;--color-neutral-700:#b1cdc2;--color-neutral-600:#4c7664;--color-neutral-500:#507c6a;--color-neutral-400:#446a5a;--color-neutral-300:#365447;--color-neutral-200:#283e35;--color-neutral-100:#182520;--color-neutral-50:#0e1613;--color-sky-950:#e4fbf4;--color-sky-900:#c9f7e8;--color-sky-800:#94f0d1;--color-sky-700:#3fe4ad;--color-sky-600:#19ae7c;--color-sky-500:#18aa79;--color-sky-400:#107050;--color-sky-300:#12815c;--color-sky-200:#107050;--color-sky-100:#0d5940;--color-sky-50:#0a4330}:root[data-theme=lavender]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-neutral-950:#fcfcfd;--color-neutral-900:#f4f3f7;--color-neutral-800:#dad3e3;--color-neutral-700:#bdb1cd;--color-neutral-600:#675483;--color-neutral-500:#62507c;--color-neutral-400:#54446a;--color-neutral-300:#423654;--color-neutral-200:#31283e;--color-neutral-100:#1d1825;--color-neutral-50:#110e16;--color-sky-950:#eee4fb;--color-sky-900:#ddc9f7;--color-sky-800:#ba94f0;--color-sky-700:#843fe4;--color-sky-600:#5719ae;--color-sky-500:#5518aa;--color-sky-400:#381070;--color-sky-300:#411281;--color-sky-200:#381070;--color-sky-100:#2d0d59;--color-sky-50:#210a43}:root{--color-surface-100:var(--color-neutral-950);--color-surface-200:var(--color-neutral-900);--color-surface-300:var(--color-neutral-800);--color-surface-content:var(--color-neutral-300);--color-primary:var(--color-sky-400);--chart-error:var(--color-red-400);--chart-warn:var(--color-amber-300);--chart-info:var(--color-neutral-400);--chart-debug:var(--color-neutral-500);--chart-unknown:var(--color-neutral-600)}:root[data-theme=daylight],:root[data-theme=sand],:root[data-theme=mint],:root[data-theme=lavender]{--color-red-300:#b91c1c;--color-red-400:#b91c1c;--color-red-800:#dc2626;--color-red-900:#fca5a5;--color-red-950:#fef2f2;--color-amber-200:#78350f;--color-amber-300:#92400e;--color-amber-400:#92400e;--color-amber-700:#b45309;--color-amber-800:#d97706;--color-amber-900:#fcd34d;--color-amber-950:#fffbeb;--color-emerald-300:#065f46;--color-emerald-400:#065f46;--color-emerald-900:#6ee7b7;--color-emerald-950:#ecfdf5;--color-teal-300:#115e59;--color-teal-400:#115e59;--color-teal-700:#0f766e;--color-teal-900:#5eead4;--color-teal-950:#f0fdfa;--color-violet-300:#6d28d9;--color-violet-900:#c4b5fd;--color-violet-950:#f5f3ff;--color-fuchsia-300:#a21caf}html[data-text-size=small]{font-size:90%}html[data-text-size=default]{font-size:100%}html[data-text-size=large]{font-size:115%}html[data-text-size=xlarge]{font-size:130%}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes pulse{50%{opacity:.5}}svg.svelte-17zj3z9{stroke-linecap:round;stroke-linejoin:round;height:auto;display:block;overflow:visible}.tail.svelte-17zj3z9{transform-box:view-box;transform-origin:var(--tail-pivot)}.active.svelte-17zj3z9 .tail:where(.svelte-17zj3z9){animation:svelte-17zj3z9-wag var(--wag-speed) infinite}.active.excited.svelte-17zj3z9 .tail:where(.svelte-17zj3z9){animation:svelte-17zj3z9-wag-excited var(--excited-speed) infinite}@keyframes svelte-17zj3z9-wag{0%{animation-timing-function:ease-out;transform:rotate(0)}25%{transform:rotate(calc(var(--wag-amp) * -1));animation-timing-function:ease-in-out}75%{transform:rotate(var(--wag-amp));animation-timing-function:ease-in}to{transform:rotate(0)}}@keyframes svelte-17zj3z9-wag-excited{0%{animation-timing-function:ease-out;transform:rotate(0)}25%{transform:rotate(calc(var(--excited-amp) * -1));animation-timing-function:ease-in-out}75%{transform:rotate(var(--excited-amp));animation-timing-function:ease-in}to{transform:rotate(0)}}.marks.svelte-17zj3z9{transition:opacity .12s}.active.svelte-17zj3z9 .marks:where(.svelte-17zj3z9){opacity:0}@media (prefers-reduced-motion:reduce){.active.svelte-17zj3z9 .tail:where(.svelte-17zj3z9),.active.excited.svelte-17zj3z9 .tail:where(.svelte-17zj3z9){animation:none}.active.svelte-17zj3z9 .marks:where(.svelte-17zj3z9){opacity:1}}.companion.svelte-gewjew,.slot.svelte-gewjew{position:fixed;top:0;left:0}.companion.svelte-gewjew{z-index:50;pointer-events:none;touch-action:none;transition:transform .32s cubic-bezier(.34,1.4,.64,1)}.companion.dragging.svelte-gewjew{transition:none}.companion.svelte-gewjew svg{pointer-events:none}.companion.svelte-gewjew svg>g{pointer-events:visiblePainted;cursor:grab}.companion.dragging.svelte-gewjew svg>g{cursor:grabbing}.slot.svelte-gewjew{z-index:40;pointer-events:none}@media (prefers-reduced-motion:reduce){.companion.svelte-gewjew{transition:none}}
@@ -0,0 +1 @@
1
+ @media (width>=64rem){#log-group-sidebar.svelte-1uha8ag{width:var(--sidebar-width)}}
@@ -0,0 +1,3 @@
1
+ var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible;function p(e){return typeof e==`function`}var m=()=>{};function h(e){return typeof e?.then==`function`}function g(e){for(var t=0;t<e.length;t++)e[t]()}function _(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function v(e,t,n=!1){return e===void 0?n?t():t:e}function y(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);let n=[];for(let r of e)if(n.push(r),n.length===t)break;return n}function b(e,t){var n={};for(var r in e)t.includes(r)||(n[r]=e[r]);for(var i of Object.getOwnPropertySymbols(e))Object.propertyIsEnumerable.call(e,i)&&!t.includes(i)&&(n[i]=e[i]);return n}var x=1<<24,S=1024,C=2048,w=4096,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,ae=1<<18,oe=1<<19,se=1<<20,ce=1<<25,le=65536,ue=1<<21,de=1<<22,fe=1<<23,pe=Symbol(`$state`),me=Symbol(`component`),he=Symbol(`legacy props`),ge=Symbol(``),_e=Symbol(`proxy path`),ve=Symbol(`attributes`),ye=Symbol(`class`),be=Symbol(`style`),xe=Symbol(`text`),Se=Symbol(`form reset`),Ce=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},we=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`),Te={},T=Symbol(`uninitialized`),Ee=`http://www.w3.org/1999/xhtml`,De=`http://www.w3.org/2000/svg`;function Oe(){console.warn(`https://svelte.dev/e/derived_inert`)}function ke(e){console.warn(`https://svelte.dev/e/hydratable_missing_but_expected`)}function Ae(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function je(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function Me(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var E=!1;function D(e){E=e}var O;function k(e){if(e===null)throw Ae(),Te;return O=e}function A(){return k(B(O))}function Ne(e){if(E){if(B(O)!==null)throw Ae(),Te;O=e}}function Pe(e=1){if(E){for(var t=e,n=O;t--;)n=B(n);O=n}}function Fe(e=!0){for(var t=0,n=O;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else(r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=B(n);e&&n.remove(),n=i}}function Ie(e){if(!e||e.nodeType!==8)throw Ae(),Te;return e.data}function Le(e){return e===this.v}function Re(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function ze(e){return!Re(e,this.v)}function Be(e){throw Error(`https://svelte.dev/e/experimental_async_required`)}function Ve(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function He(){throw Error(`https://svelte.dev/e/missing_context`)}function Ue(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function We(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Ge(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Ke(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function qe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Je(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ye(){throw Error(`https://svelte.dev/e/fork_discarded`)}function Xe(){throw Error(`https://svelte.dev/e/fork_timing`)}function Ze(){throw Error(`https://svelte.dev/e/get_abort_signal_outside_reaction`)}function Qe(){throw Error(`https://svelte.dev/e/hydration_failed`)}function $e(e){throw Error(`https://svelte.dev/e/lifecycle_legacy_only`)}function et(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function tt(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function nt(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function rt(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function it(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var at=[];function ot(e,t=!1,n=!1){return st(e,new Map,``,at,null,n)}function st(e,t,r,i,a=null,o=!1){if(typeof e==`object`&&e){var s=t.get(e);if(s!==void 0)return s;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(n(e)){var c=Array(e.length);t.set(e,c),a!==null&&t.set(a,c);for(var u=0;u<e.length;u+=1){var f=e[u];u in e&&(c[u]=st(f,t,r,i,null,o))}return c}if(d(e)===l){c={},t.set(e,c),a!==null&&t.set(a,c);for(var p of Object.keys(e))c[p]=st(e[p],t,r,i,null,o);return c}if(e instanceof Date)return e.getTime(),structuredClone(e);if(typeof e.toJSON==`function`&&!o)return st(e.toJSON(),t,r,i,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}function ct(e,t){return e.label=t,lt(e.v,t),e}function lt(e,t){return e?.[_e]?.(t),e}function ut(e){return typeof e==`symbol`?`Symbol(${e.description})`:typeof e==`function`?`<function>`:typeof e==`object`&&e?`<object>`:String(e)}function dt(e,t,n){let r={};return[()=>(n(r)||He(),e(r)),e=>t(r,e),()=>n(r)]}function ft(e){let t=e.p;for(;t!==null&&t.c===null;)t=t.p;return t?.c??null}function pt(e,t){return e===null&&Ve(t),e.c??=new Map(ft(e)||void 0)}var j=null;function mt(e){j=e}function ht(){return dt(gt,_t,vt)}function gt(e){return pt(j,`getContext`).get(e)}function _t(e,t){return pt(j,`setContext`).set(e,t),t}function vt(e){return pt(j,`hasContext`).has(e)}function yt(){return pt(j,`getAllContexts`)}function bt(e,t=!1,n){j={p:j,i:!1,c:null,e:null,s:e,x:null,r:q,l:null}}function xt(e){var t=j,n=t.e;if(n!==null){t.e=null;for(var r of n)tr(r)}return e!==void 0&&(t.x=e),t.i=!0,j=t.p,St(e)}function St(e={}){return o(e,me,{value:!0}),e}function Ct(){return!0}var wt=[];function Tt(){var e=wt;wt=[],g(e)}function M(e){if(wt.length===0&&!an){var t=wt;queueMicrotask(()=>{t===wt&&Tt()})}wt.push(e)}function Et(){for(;wt.length>0;)Tt()}var Dt=~(C|w|S);function N(e,t){e.f=e.f&Dt|t}function Ot(e){e.f&512||e.deps===null?N(e,S):N(e,w)}function kt(e){if(e!==null)for(let t of e)t.f&2&&t.f&65536&&(t.f^=le,kt(t.deps))}function At(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),kt(e.deps),N(e,S)}var jt=[];function Mt(e,t=m){let n=null,r=new Set;function i(t){if(Re(e,t)&&(e=t,n)){let t=!jt.length;for(let t of r)t[1](),jt.push(t,e);if(t){for(let e=0;e<jt.length;e+=2)jt[e][0](jt[e+1]);jt.length=0}}}function a(t){i(t(e))}function o(o,s=m){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||m),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Nt=!1;function Pt(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}function Ft(e,t){if(t){let t=document.body;e.autofocus=!0,M(()=>{document.activeElement===t&&e.focus()})}}var It=!1;function Lt(){It||(It=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t[Se]?.()})},{capture:!0}))}function Rt(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);$n(()=>{for(var r of t)e.removeEventListener(r,n)})}function zt(e){var t=W,n=q;K(null),Tr(null);try{return e()}finally{K(t),Tr(n)}}function Bt(e,t,n,r=n){e.addEventListener(t,()=>zt(n));let i=e[Se];e[Se]=i?()=>{i(),r(!0)}:()=>r(!0),Lt()}function Vt(e,t,n,r){let i=Ct()?Gt:Yt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=q,c=Ht(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){Yn(e,s)}Ut()}}var d=Wt();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>qt(e))).then(u).catch(e=>Yn(e,s)).finally(d)}l?l.then(()=>{c(),f(),Ut()}):f()}function Ht(){var e=q,t=W,n=j,r=P;return function(i=!0){Tr(e),K(t),mt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Ut(e=!0){Tr(null),K(null),mt(null),e&&P?.deactivate()}function Wt(){var e=q,t=e.b,n=P,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>{t?.update_pending_count(-1,n),n.decrement(r,e)}}function Gt(e){var t=2|C;return q!==null&&(q.f|=oe),{ctx:j,deps:null,effects:null,equals:Le,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:q,ac:null}}var Kt=Symbol(`obsolete`);function qt(e,t,n){let r=q;r===null&&Ue();var i=void 0,a=I(T),o=!W,s=new Set;return or(()=>{var t=q,n=_();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==Ce&&n.reject(e)}).finally(Ut)}catch(e){n.reject(e),Ut()}var c=P;if(o){if(t.f&32768)var l=Wt();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(Kt);else for(let e of s.values())e.reject(Kt);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==Kt&&(c.activate(),t?(a.f|=fe,Dn(a,t)):(a.f&8388608&&(a.f^=fe),Dn(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),$n(()=>{for(let e of s)e.reject(Kt)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function Jt(e){let t=Gt(e);return Dr(t),t}function Yt(e){let t=Gt(e);return t.equals=ze,t}function Xt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function Zt(e){var t,n=q,r=e.parent;if(!Cr&&r!==null&&e.v!==T&&r.f&24576)return Oe(),e.v;Tr(r);try{e.f&=~le,Xt(e),t=Ir(e)}finally{Tr(n)}return t}function Qt(e){var t=Zt(e);if(!e.equals(t)&&(e.wv=Nr(),(!P?.is_fork||e.deps===null)&&(P===null?e.v=t:(P.capture(e,t,!0),nn?.capture(e,t,!0)),e.deps===null))){N(e,S);return}Cr||(F===null?Ot(e):(Qn()||P?.is_fork)&&F.set(e,t))}function $t(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&zt(()=>{t.ac.abort(Ce),t.ac=null}),t.fn!==null&&(t.teardown=m),zr(t,0),fr(t))}function en(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&Br(t)}var tn=null,P=null,nn=null,F=null,rn=null,an=!1,on=!1,sn=null,cn=null,ln=0,un=1,dn=class e{id=un++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){tn===null?tn=this:(tn.#n=this,this.#t=tn),tn=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)N(r,C),t(r);for(r of n.m)N(r,w),t(r)}this.#p.add(e)}#g(){this.#e=!0,ln++>1e3&&(this.#x(),pn());for(let e of this.#u)this.#d.delete(e),N(e,C),this.schedule(e);for(let e of this.#d)N(e,w),this.schedule(e);let t=this.#c;this.#c=[],this.apply();var n=sn=[],r=[],i=cn=[];for(let e of t)try{this.#_(e,n,r)}catch(t){throw yn(e),this.#h()||this.discard(),t}if(P=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(sn=null,cn=null,this.#h()){this.#b(r),this.#b(n);for(let[e,t]of this.#f)vn(e,t);i.length>0&&P.#g();return}let o=this.#v();if(o){this.#b(r),this.#b(n),o.#y(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),nn=this,hn(r),hn(n),nn=null,this.#s?.resolve();var s=P;if(this.#a===0&&(this.#c.length===0||s!==null)&&this.#x(),this.#c.length>0){if(s!==null){let e=s;e.#c.push(...this.#c.filter(t=>!e.#c.includes(t)))}else s=this}s!==null&&(Sn.clear(),s.#g())}#_(e,t,n){e.f^=S;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=S:i&4?t.push(r):Pr(r)&&(i&16&&this.#d.add(r),Br(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#v(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#y(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),N(i,C),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#x(),P=this,this.#g()}#b(e){for(var t=0;t<e.length;t+=1)At(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==T&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),F?.set(e,t)),this.is_fork||(e.v=t)}activate(){P=this}deactivate(){P=null,F=null}flush(){try{on=!0,P=this,this.#g()}finally{ln=0,rn=null,sn=null,cn=null,on=!1,P=null,F=null,Sn.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(Kt);this.#x(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,M(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=_()).promise}static ensure(){if(P===null){let t=P=new e;!on&&!an&&M(()=>{t.#e||t.flush()})}return P}apply(){F=null}schedule(e){if(rn=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(sn!==null&&t===q&&(W===null||!(W.f&2)))return;if(n&96){if(!(n&1024))return;t.f^=S}}this.#c.push(t)}#x(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?tn=e:t.#t=e,this.linked=!1}}};function fn(e){var t=an;an=!0;try{var n;for(e&&(P!==null&&!P.is_fork&&P.flush(),n=e());;){if(Et(),P===null)return n;P.flush()}}finally{an=t}}function pn(){try{Je()}catch(e){Yn(e,rn)}}var mn=null;function hn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Pr(r)&&(mn=new Set,Br(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&hr(r),mn?.size>0)){Sn.clear();for(let e of mn){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)mn.has(n)&&(mn.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Br(n)}}mn.clear()}}mn=null}}function gn(e,t){if(e.reactions!==null)for(let n of e.reactions){let e=n.f;e&2?gn(n,t):e&131072&&(N(n,C),t.add(n))}}function _n(e){P.schedule(e)}function vn(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),N(e,S);for(var n=e.first;n!==null;)vn(n,t),n=n.next}}function yn(e){N(e,S);for(var t=e.first;t!==null;)yn(t),t=t.next}function bn(e){Be(`fork`),P!==null&&Xe();var t=dn.ensure();t.is_fork=!0,F=new Map;var n=!1,r=t.settled();return fn(e),{commit:async()=>{if(n){await r;return}t.linked||Ye(),n=!0,t.is_fork=!1;for(var[e,[i]]of t.current)e.v=i,e.wv=Nr();fn(()=>{var e=new Set;for(var n of t.current.keys())gn(n,e);Cn(e),On()}),t.flush(),await r},discard:()=>{for(var e of t.current.keys())e.wv=Nr();!n&&t.linked&&t.discard()}}}var xn=new Set,Sn=new Map;function Cn(e){xn=e}var wn=!1;function I(e,t){return{f:0,v:e,reactions:null,equals:Le,rv:0,wv:0}}function Tn(e,t){let n=I(e,t);return Dr(n),n}function En(e,t=!1,n=!0){let r=I(e);return t||(r.equals=ze),r}function L(e,t,n=!1){return W!==null&&(!G||W.f&131072)&&Ct()&&W.f&4325394&&(Er===null||!Er.has(e))&&rt(),Dn(e,n?jn(t):t,cn)}function Dn(e,t,n=null){if(!e.equals(t)){Cr?Sn.set(e,t):Sn.has(e)||Sn.set(e,e.v);var r=dn.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&Zt(t),F===null&&Ot(t)}e.wv=Nr(),An(e,C,n),Ct()&&q!==null&&q.f&1024&&!(q.f&96)&&(X===null?Or([e]):X.push(e)),!r.is_fork&&xn.size>0&&!wn&&On()}return t}function On(){wn=!1;for(let e of xn){e.f&1024&&N(e,w);let t;try{t=Pr(e)}catch{t=!0}t&&Br(e)}xn.clear()}function kn(e){L(e,e.v+1)}function An(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ct(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(i||s!==q){var l=(c&C)===0;if(l&&N(s,t),c&131072)xn.add(s);else if(c&2){var u=s;F?.delete(u),c&65536||(c&512&&(q===null||!(q.f&2097152))&&(s.f|=le),An(u,w,n))}else if(l){var d=s;c&16&&mn!==null&&mn.add(d),n===null?_n(d):n.push(d)}}}}function jn(e){if(typeof e!=`object`||!e||pe in e||me in e)return e;let t=d(e);if(t!==l&&t!==u)return e;var r=new Map,i=n(e),a=Tn(0),o=null,c=jr,f=e=>{if(jr===c)return e();var t=W,n=jr;K(null),Mr(c);var r=e();return K(t),Mr(n),r};return i&&r.set(`length`,Tn(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&tt();var i=r.get(t);return i===void 0?f(()=>{var e=Tn(n.value,o);return r.set(t,e),e}):L(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>Tn(T,o));r.set(t,e),kn(a)}}else L(n,T),kn(a);return!0},get(t,n,i){if(n===pe)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>Tn(jn(c?t[n]:T),o)),r.set(n,a)),a!==void 0){var l=Z(a);return l===T?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){var n=Reflect.getOwnPropertyDescriptor(e,t);if(n&&`value`in n){var i=r.get(t);i&&(n.value=Z(i))}else if(n===void 0){var a=r.get(t),o=a?.v;if(a!==void 0&&o!==T)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return n},has(e,t){if(t===pe)return!0;var n=r.get(t),i=n!==void 0&&n.v!==T||Reflect.has(e,t);return(n!==void 0||q!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>Tn(i?jn(e[t]):T,o)),r.set(t,n)),Z(n)===T)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>Tn(T,o)),r.set(d+``,p)):L(p,T)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>Tn(void 0,o)),L(l,jn(n)),r.set(t,l));else{u=l.v!==T;var m=f(()=>jn(n));L(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&L(g,_+1)}kn(a)}return!0},ownKeys(e){Z(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==T});for(var[n,i]of r)i.v!==T&&!(n in e)&&t.push(n);return t},setPrototypeOf(){nt()}})}function Mn(e){try{if(typeof e==`object`&&e&&pe in e)return e[pe]}catch{}return e}function Nn(e,t){return Object.is(Mn(e),Mn(t))}var Pn,Fn,In,Ln,Rn;function zn(){if(Pn===void 0){Pn=window,Fn=document,In=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Ln=s(t,`firstChild`).get,Rn=s(t,`nextSibling`).get,f(e)&&(e[ye]=void 0,e[ve]=null,e[be]=void 0,e.__e=void 0),f(n)&&(n[xe]=void 0)}}function R(e=``){return document.createTextNode(e)}function z(e){return Ln.call(e)}function B(e){return Rn.call(e)}function Bn(e,t){if(!E)return z(e);var n=z(O);if(n===null)n=O.appendChild(R());else if(t&&n.nodeType!==3){var r=R();return n?.before(r),k(r),r}return t&&qn(n),k(n),n}function Vn(e,t=!1){if(!E){var n=z(e);return n instanceof Comment&&n.data===``?B(n):n}if(t){if(O?.nodeType!==3){var r=R();return O?.before(r),k(r),r}qn(O)}return O}function Hn(e,t=!1){if(!E)return z(e);var n=Bn(e,t);return Ne(e),n}function Un(e,t=1,n=!1){let r=E?O:e;for(var i;t--;)i=r,r=B(r);if(!E)return r;if(n){if(r?.nodeType!==3){var a=R();return r===null?i?.after(a):r.before(a),k(a),a}qn(r)}return k(r),r}function Wn(e){e.textContent=``}function Gn(){return!1}function Kn(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function qn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Jn(e){var t=q;if(t===null)return W.f|=fe,e;if(!(t.f&32768)&&!(t.f&4))throw e;Yn(e,t)}function Yn(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128&&!(t.f&33570816)){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}function Xn(e){q===null&&(W===null&&qe(e),Ke()),Cr&&Ge(e)}function Zn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function V(e,t){var n=q;n!==null&&n.f&8192&&(e|=ee);var r={ctx:j,deps:null,nodes:null,f:e|C|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};P?.register_created_effect(r);var i=r;if(e&4)sn===null?dn.ensure().schedule(r):sn.push(r);else if(t!==null){try{Br(r)}catch(e){throw U(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ie))}if(i!==null&&(i.parent=n,n!==null&&Zn(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function Qn(){return W!==null&&!G}function $n(e){let t=V(8,null);return N(t,S),t.teardown=e,t}function er(e){Xn(`$effect`);var t=q.f;if(!W&&t&32&&j!==null&&!j.i){var n=j;(n.e??=[]).push(e)}else return tr(e)}function tr(e){return V(4|se,e)}function nr(e){return Xn(`$effect.pre`),V(8|se,e)}function rr(e){dn.ensure();let t=V(64|oe,e);return()=>{U(t)}}function ir(e){dn.ensure();let t=V(64|oe,e);return(e={})=>new Promise(n=>{e.outro?gr(t,()=>{U(t),n(void 0)}):(U(t),n(void 0))})}function ar(e){return V(4,e)}function or(e){return V(de|oe,e)}function sr(e,t=0){return V(8|t,e)}function cr(e,t=[],n=[],r=[]){Vt(r,t,n,t=>{V(8,()=>{e(...t.map(Z))})})}function lr(e,t=0){return V(16|t,e)}function ur(e,t=0){return V(x|t,e)}function H(e){return V(32|oe,e)}function dr(e){var t=e.teardown;if(t!==null){let n=Cr,r=W;wr(!0),K(null);try{t.call(null)}catch(t){Yn(t,e.parent)}finally{wr(n),K(r)}}}function fr(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&zt(()=>{e.abort(Ce)});var r=n.next;n.f&64?n.parent=null:U(n,t),n=r}}function pr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||U(t),t=n}}function U(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(mr(e.nodes.start,e.nodes.end),n=!0),e.f|=re,fr(e,t&&!n),zr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();dr(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&hr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function mr(e,t){for(;e!==null;){var n=e===t?null:B(e);e.remove(),e=n}}function hr(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 gr(e,t,n=!0){var r=[];e.f|=256,_r(e,r,!0);var i=()=>{n&&U(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function _r(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);_r(i,t,o?n:!1)}i=a}}}function vr(e){e.f&=-257,yr(e,!0)}function yr(e,t){if(!(e.f&256)&&e.f&8192){e.f^=ee,e.f&1024||(N(e,C),dn.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);yr(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function br(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:B(n);t.append(n),n=i}}var xr=null,Sr=!1,Cr=!1;function wr(e){Cr=e}var W=null,G=!1;function K(e){W=e}var q=null;function Tr(e){q=e}var Er=null;function Dr(e){W!==null&&(Er??=new Set).add(e)}var J=null,Y=0,X=null;function Or(e){X=e}var kr=1,Ar=0,jr=Ar;function Mr(e){jr=e}function Nr(){return++kr}function Pr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~le),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Pr(a)&&Qt(a),a.wv>e.wv)return!0}t&512&&F===null&&N(e,S)}return!1}function Fr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(Er!==null&&Er.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Fr(a,t,!1):t===a&&(n?N(a,C):a.f&1024&&N(a,w),_n(a))}}function Ir(e){var t=J,n=Y,r=X,i=W,a=Er,o=j,s=G,c=jr,l=e.f;J=null,Y=0,X=null,W=l&96?null:e,Er=null,mt(e.ctx),G=!1,jr=++Ar,e.ac!==null&&(zt(()=>{e.ac.abort(Ce)}),e.ac=null);try{e.f|=ue;var u=e.fn,d=u();e.f|=ne;var f=Lr(e);if(Ct()&&X!==null&&!G&&f!==null&&!(e.f&6146))for(var p=0;p<X.length;p++)Fr(X[p],e);if(i!==null&&i!==e){if(Ar++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Ar;if(t!==null)for(let e of t)e.rv=Ar;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=fe),d}catch(t){return Lr(e),Jn(t)}finally{e.f^=ue,J=t,Y=n,X=r,W=i,Er=a,mt(o),G=s,jr=c}}function Lr(e){var t=e.deps,n=P?.is_fork;if(J!==null){var r;if(n||zr(e,Y),t!==null&&Y>0)for(t.length=Y+J.length,r=0;r<J.length;r++)t[Y+r]=J[r];else e.deps=t=J;if(Qn()&&e.f&512)for(r=Y;r<t.length;r++)(t[r].reactions??=[]).push(e)}else!n&&t!==null&&Y<t.length&&(zr(e,Y),t.length=Y);return t}function Rr(e,t){let n=t.reactions;if(n!==null){var a=r.call(n,e);if(a!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[a]=n[o],n.pop())}}if(n===null&&t.f&2&&(J===null||!i.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~le),s.v!==T&&Ot(s),s.ac!==null&&zt(()=>{s.ac.abort(Ce),s.ac=null,N(s,C)}),$t(s),zr(s,0)}}function zr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Rr(e,n[r])}function Br(e){var t=e.f;if(!(t&16384)){N(e,S);var n=q,r=Sr;q=e,Sr=!(t&96);try{t&16777232?pr(e):fr(e),dr(e);var i=Ir(e);e.teardown=typeof i==`function`?i:null,e.wv=kr}finally{Sr=r,q=n}}}async function Vr(){await Promise.resolve(),fn()}function Hr(){return dn.ensure().settled()}function Z(e){var t=!!(e.f&2);if(xr?.add(e),W!==null&&!G&&!(q!==null&&q.f&16384)&&(Er===null||!Er.has(e))){var n=W.deps;if(W.f&2097152)e.rv<Ar&&(e.rv=Ar,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{W.deps??=[],i.call(W.deps,e)||W.deps.push(e);var r=e.reactions;r===null?e.reactions=[W]:i.call(r,W)||r.push(W)}}if(Cr&&Sn.has(e))return Sn.get(e);if(t){var a=e;if(Cr){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||Wr(a))&&(o=Zt(a)),Sn.set(a,o),o}var s=!(a.f&512)&&!G&&W!==null&&(Sr||!!(W.f&512)),c=(a.f&ne)===0;Pr(a)&&(s&&(a.f|=512),Qt(a)),s&&!c&&(en(a),Ur(a))}if(F?.has(e))return F.get(e);if(e.f&8388608)throw e.v;return e.v}function Ur(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(en(t),Ur(t))}function Wr(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Sn.has(t)||t.f&2&&Wr(t))return!0;return!1}function Q(e){var t=G;try{return G=!0,e()}finally{G=t}}function Gr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(pe in e)Kr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&pe in n&&Kr(n)}}}function Kr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Kr(e[n],t)}catch{}let n=d(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=c(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}function qr(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var Jr=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function Yr(e){return Jr.includes(e)}var Xr=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),Zr={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 Qr(e){return e=e.toLowerCase(),Zr[e]??e}[...Xr];var $r=[`touchstart`,`touchmove`];function ei(e){return $r.includes(e)}var ti=[`textarea`,`script`,`style`,`title`];function ni(e){return ti.includes(e)}var ri=Symbol(`events`),ii=new Set,ai=new Set;function oi(e,t,n,r={}){function i(e){if(r.capture||pi.call(t,e),!e.cancelBubble)return zt(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?M(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function si(e,t,n,r={}){var i=oi(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function ci(e,t,n,r,i){var a={capture:r,passive:i},o=oi(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&$n(()=>{t.removeEventListener(e,o,a)})}function li(e,t,n){(t[ri]??={})[e]=n}function ui(e){for(var t=0;t<e.length;t++)ii.add(e[t]);for(var n of ai)n(e)}var di=null,fi=!1;function pi(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;di=e,fi||(fi=!0,setTimeout(()=>{fi=!1,di=null}));var s=0,c=di===e&&e[ri];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[ri]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=W,f=q;K(null),Tr(null);try{for(var p,m=[];a!==null&&a!==t;){try{var h=a[ri]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,a=s<i.length?i[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[ri]=t,delete e.currentTarget,K(d),Tr(f)}}}var mi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function hi(e){return mi?.createHTML(e)??e}function gi(e){var t=Kn(`template`);return t.innerHTML=hi(e.replaceAll(`<!>`,`<!---->`)),t.content}function $(e,t){var n=q;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function _i(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(E)return $(O,null),O;i===void 0&&(i=gi(a?e:`<!>`+e),n||(i=z(i)));var t=r||In?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=z(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function vi(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=!!(t&1),a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(E)return $(O,null),O;if(!o){var e=z(gi(a));if(i)for(o=document.createDocumentFragment();z(e);)o.appendChild(z(e));else o=z(e)}var t=o.cloneNode(!0);if(i){var n=z(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function yi(e,t){return vi(e,t,`svg`)}function bi(e=``){if(!E){var t=R(e+``);return $(t,t),t}var n=O;return n.nodeType===3?qn(n):(n.before(n=R()),k(n)),$(n,n),n}function xi(){if(E)return $(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(``),n=R();return e.append(t,n),$(t,n),e}function Si(e,t){if(E){var n=q;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=O),A();return}e!==null&&e.before(t)}function Ci(){if(E&&O&&O.nodeType===8&&O.textContent?.startsWith(`$`)){let e=O.textContent.substring(1);return A(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function wi(e){let t=0,n=I(0),r;return()=>{Qn()&&(Z(n),sr(()=>(t===0&&(r=Q(()=>e(()=>kn(n)))),t+=1,()=>{M(()=>{--t,t===0&&(r?.(),r=void 0,kn(n))})})))}}var Ti=ie|oe;function Ei(e,t,n,r){new Di(e,t,n,r)}var Di=class{parent;is_pending=!1;transform_error;#e;#t=E?O:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=wi(()=>(this.#m=I(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=q;t.b=this,t.f|=128,n(e)},this.parent=q.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=lr(()=>{if(E){let e=this.#t;A();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#y():this.#g()}else this.#b()},Ti),E&&(this.#e=O)}#g(){try{this.#a=H(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);M(r),t&&(this.#s=H(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{if(t){Me();return}t=!0,n&&it(),this.#s!==null&&gr(this.#s,()=>{this.#s=null}),this.#S(()=>{this.#b()})};return{reset:r,invoke_onerror:()=>{try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){Yn(e,this.#i&&this.#i.parent)}}}}#y(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=H(()=>e(this.#e)),M(()=>{var e=this.#c=document.createDocumentFragment(),t=R(),n=!1;if(e.append(t),this.#a=this.#S(()=>{try{return H(()=>this.#r(t))}catch(e){try{this.error(e),n=!0}catch(e){Yn(e,this.#i.parent)}return null}}),this.#a===null){this.#c=null,n&&this.#x(P);return}this.#u===0&&(this.#e.before(e),this.#c=null,gr(this.#o,()=>{this.#o=null}),this.#x(P))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=H(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();br(this.#a,e);let t=this.#n.pending;this.#o=H(()=>t(this.#e))}else this.#x(P)}catch(e){this.error(e)}}#x(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){At(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#S(e){var t=q,n=W,r=j;Tr(this.#i),K(this.#i),mt(this.#i.ctx);try{return dn.ensure(),e()}finally{Tr(t),K(n),mt(r)}}#C(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#C(e,t);return}this.#u+=e,this.#u===0&&(this.#x(t),this.#o&&gr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#C(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,M(()=>{this.#d=!1,this.#m&&Dn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;P?.is_fork?(this.#a&&P.skip_effect(this.#a),this.#o&&P.skip_effect(this.#o),this.#s&&P.skip_effect(this.#s),P.oncommit(()=>{this.#w(e)})):this.#w(e)}#w(e){this.#a&&=(U(this.#a),null),this.#o&&=(U(this.#o),null),this.#s&&=(U(this.#s),null),E&&(k(this.#t),Pe(),k(Fe()));let t=this.#n.failed,n=e=>{let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&(this.#s=this.#S(()=>{try{return H(()=>{var r=q;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return Yn(e,this.#i.parent),null}}))};M(()=>{var t;try{t=this.transform_error(e)}catch(e){Yn(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>Yn(e,this.#i&&this.#i.parent)):n(t)})}},Oi=!0;function ki(e){Oi=e}function Ai(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e[xe]??=e.nodeValue)&&(e[xe]=n,e.nodeValue=`${n}`)}function ji(e,t){return Pi(e,t)}function Mi(e,t){zn(),t.intro=t.intro??!1;let n=t.target,r=E,i=O;try{for(var a=z(n);a&&(a.nodeType!==8||a.data!==`[`);)a=B(a);if(!a)throw Te;D(!0),k(a);let r=Pi(e,{...t,anchor:a});return D(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==Te&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&Qe(),zn(),Wn(n),D(!1),ji(e,t)}finally{D(r),k(i)}}var Ni=new Map;function Pi(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){zn();var l=void 0,u=ir(()=>{var u=n??t.appendChild(R());Ei(u,{pending:()=>{}},t=>{bt({});var n=j;if(o&&(n.c=o),i&&(r.$$events=i),E&&$(t,null),Oi=s,l=e(t,r)||St(),Oi=!0,E&&(q.nodes.end=O,O===null||O.nodeType!==8||O.data!==`]`))throw Ae(),Te;xt()},c);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=ei(r);for(let e of[t,document]){var a=Ni.get(e);a===void 0&&(a=new Map,Ni.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,pi,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(a(ii)),ai.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=Ni.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,pi),r.delete(e),r.size===0&&Ni.delete(n)):r.set(e,i)}ai.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return Fi.set(l,u),l}var Fi=new WeakMap;function Ii(e,t){let n=Fi.get(e);return n?(Fi.delete(e),n(t)):Promise.resolve()}var Li=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)vr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(vr(r.effect),this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(U(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();br(r,t),t.append(R()),this.#n.set(e,{effect:r,fragment:t})}else U(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),gr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(U(n.effect),this.#n.delete(e))};ensure(e,t){var n=P,r=Gn();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=R();i.append(a),this.#n.set(e,{effect:H(()=>t(a)),fragment:i})}else this.#t.set(e,H(()=>t(this.anchor)))}if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else E&&(this.anchor=O),this.#a(n)}},Ri=0,zi=1,Bi=2;function Vi(e,t,n,r,i){E&&A();var a=Ct(),o=T,s=a?I(o):En(o,!1,!1),c=a?I(o):En(o,!1,!1),l=new Li(e);lr(()=>{var a=P,o=t(),u=!1;let d=E&&h(o)===(e.data===`[!`);if(d&&(k(Fe()),D(!1)),h(o)){var f=Ht(),p=!1;let e=e=>{if(!u){p=!0,f(!1),P===a&&a.deactivate(),dn.ensure();try{e()}finally{Ut(!1),an||fn()}}};o.then(t=>{e(()=>{Dn(s,t),l.ensure(zi,r&&(e=>r(e,s)))})},t=>{e(()=>{if(Dn(c,t),l.ensure(Bi,i&&(e=>i(e,c))),!i)throw c.v})}),E?l.ensure(Ri,n):M(()=>{p||e(()=>{l.ensure(Ri,n)})})}else Dn(s,o),l.ensure(zi,r&&(e=>r(e,s)));return d&&D(!0),()=>{u=!0}})}function Hi(e,t,n=!1){var r;E&&(r=O,A());var i=new Li(e),a=n?ie:0;function o(e,t){if(E){var n=Ie(r);if(e!==parseInt(n.substring(1))){var a=Fe();k(a),i.anchor=a,D(!1),i.ensure(e,t),D(!0);return}}i.ensure(e,t)}lr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var Ui=Symbol(`NaN`);function Wi(e,t,n){E&&A();var r=new Li(e),i=!Ct();lr(()=>{var e=t();e!==e&&(e=Ui),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Gi(e,t){return t}function Ki(e,t,n){for(var r=[],i=t.length,o,s=t.length,c=0;c<i;c++){let n=t[c];gr(n,()=>{if(o){if(o.pending.delete(n),o.done.add(n),o.pending.size===0){var t=e.outrogroups;qi(e,a(o.done)),t.delete(o),t.size===0&&(e.outrogroups=null)}}else--s},!1)}if(s===0){var l=r.length===0&&n!==null&&e.pending.size===0;if(l){var u=n,d=u.parentNode;Wn(d),d.append(u),e.items.clear()}qi(e,t,!l)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function qi(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=ce,br(a,document.createDocumentFragment())):U(t[i],n)}}var Ji;function Yi(e,t,r,i,o,s=null){var c=e,l=new Map;if(t&4){var u=e;c=E?k(z(u)):u.appendChild(R())}E&&A();var d=null,f=Yt(()=>{var e=r();return n(e)?e:e==null?[]:a(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Zi(v,p,c,t,i),d!==null&&(p.length===0?d.f&33554432?(d.f^=ce,$i(d,null,c)):vr(d):gr(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:lr(()=>{p=Z(f);var e=p.length;let n=!1;E&&Ie(c)===`[!`!=(e===0)&&(c=Fe(),k(c),D(!1),n=!0);for(var a=new Set,u=P,v=Gn(),y=0;y<e;y+=1){E&&O.nodeType===8&&O.data===`]`&&(c=O,n=!0,D(!1));var b=p[y],x=i(b,y),S=h?null:l.get(x);S?(S.v&&Dn(S.v,b),S.i&&Dn(S.i,y),v&&u.unskip_effect(S.e)):(S=Qi(l,h?c:Ji??=R(),b,x,y,o,t,r),h||(S.e.f|=ce),l.set(x,S)),a.add(x)}if(e===0&&s&&!d&&(h?d=H(()=>s(c)):(d=H(()=>s(Ji??=R())),d.f|=ce)),e>a.size&&We(``,``,``),E&&e>0&&k(Fe()),!h){if(m.set(u,a),v){for(let[e,t]of l)a.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u)}n&&D(!0),Z(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,E&&(c=O)}function Xi(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Zi(e,t,n,r,i){var o=!!(r&8),s=t.length,c=e.items,l=Xi(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(o)for(v=0;v<s;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<s;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(vr(_),o&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432){if(_.f^=ce,_===l)$i(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),ea(e,d,_),ea(e,_,y),$i(_,y,n),d=_,p=[],m=[],l=Xi(d.next);continue}}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],C=p[p.length-1];for(x=0;x<p.length;x+=1)$i(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);ea(e,S.prev,C.next),ea(e,d,S),ea(e,C,b),l=b,d=C,--v,p=[],m=[]}else u.delete(_),$i(_,l,n),ea(e,_.prev,_.next),ea(e,_,d===null?e.effect.first:d.next),ea(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Xi(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Xi(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(qi(e,a(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var w=[];if(u!==void 0)for(_ of u)_.f&8192||w.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&w.push(l),l=Xi(l.next);var ee=w.length;if(ee>0){var te=r&4&&s===0?n:null;if(o){for(v=0;v<ee;v+=1)w[v].nodes?.a?.measure();for(v=0;v<ee;v+=1)w[v].nodes?.a?.fix()}Ki(e,w,te)}}o&&M(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Qi(e,t,n,r,i,a,o,s){var c=o&1?o&16?I(n):En(n,!1,!1):null,l=o&2?I(i):null;return{v:c,i:l,e:H(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function $i(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=B(r);if(a.before(r),r===i)return;r=o}}function ea(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function ta(e,t,...n){var r=new Li(e);lr(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},ie)}function na(e){return(t,...n)=>{var r=e(...n),i;E?(i=O,A()):(i=z(gi(r.render().trim())),t.before(i));let a=r.setup?.(i);$(i,i),typeof a==`function`&&$n(a)}}function ra(e,t,n){var r;E&&(r=O,A());var i=new Li(e);lr(()=>{var e=t()??null;if(E&&Ie(r)===`[`!=(e!==null)){var a=Fe();k(a),i.anchor=a,D(!1),i.ensure(e,e&&(t=>n(t,e))),D(!0);return}i.ensure(e,e&&(t=>n(t,e)))},ie)}var ia=()=>performance.now(),aa={tick:e=>requestAnimationFrame(e),now:()=>ia(),tasks:new Set};function oa(){let e=aa.now();aa.tasks.forEach(t=>{t.c(e)||(aa.tasks.delete(t),t.f())}),aa.tasks.size!==0&&aa.tick(oa)}function sa(e){let t;return aa.tasks.size===0&&aa.tick(oa),{promise:new Promise(n=>{aa.tasks.add(t={c:e,f:n})}),abort(){aa.tasks.delete(t)}}}function ca(e,t){zt(()=>{e.dispatchEvent(new CustomEvent(t))})}function la(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function ua(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=la(n.trim());t[i]=r.trim()}return t}var da=e=>e;function fa(e,t,n,r){var i=!!(e&1),a=!!(e&2),o=i&&a,s=!!(e&4),c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return zt(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=pa(t,m(),p,1,()=>{ca(t,`introstart`)},()=>{ca(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=pa(t,m(),f,0,()=>{ca(t,`outrostart`)},()=>{ca(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=q;if((g.nodes.t??=[]).push(h),i&&Oi){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||!!(v.f&32768)}_&&ar(()=>{Q(()=>h.in())})}}function pa(e,t,n,r,i,a){var o=r===1,s=!1;if(p(t)){var c;return M(()=>{s||(c=pa(e,t({direction:o?`in`:`out`}),n,r,i,a))}),{abort:()=>{s=!0,c?.abort()},deactivate:()=>c.deactivate(),reset:()=>c.reset(),t:()=>c.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return i(),a(),{abort:m,deactivate:m,reset:m,t:()=>r};let{delay:l=0,css:u,tick:d,easing:f=da}=t;var h,g=()=>1-r;return M(()=>{if(!s){var c=[];if(o&&n===void 0&&(d&&d(0,1),u)){var p=ua(u(0,1));c.push(p,p)}h=e.animate(c,{duration:l,fill:`forwards`}),h.onfinish=()=>{h.cancel(),i();var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),l=[];if(c>0){var p=!1;if(u)for(var m=Math.ceil(c/(1e3/60)),_=0;_<=m;_+=1){var v=o+s*f(_/m),y=ua(u(v,1-v));l.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),g=()=>{var e=h.currentTime;return o+s*f(e/c)},d&&sa(()=>{if(h.playState!==`running`)return!1;var e=g();return d(e,1-e),!0})}h=e.animate(l,{duration:c,fill:`forwards`}),h.onfinish=()=>{g=()=>r,d?.(r,1-r),a()}}}}),{abort:()=>{s=!0,h&&(h.cancel(),h.effect=null,h.onfinish=m)},deactivate:()=>{a=m},reset:()=>{r===0&&d?.(1,0)},t:()=>g()}}function ma(e,t,n,r,i,a){let o=E;E&&A();var s=null;E&&O.nodeType===1&&(s=O,A());var c=E?O:e,l=new Li(c,!1);lr(()=>{let e=t()||null;var a=i?i():n||e===`svg`?De:void 0;if(e===null){l.ensure(null,null),ki(!0);return}return l.ensure(e,t=>{if(e){if(s=E?s:Kn(e,a),$(s,s),r){var n=null;E&&ni(e)&&s.append(n=document.createComment(``));var i=E?z(s):s.appendChild(R());E&&(i===null?D(!1):k(i)),r(s,i),n?.remove()}q.nodes.end=s,t.before(s)}E&&k(t)}),ki(!0),()=>{e&&ki(!1)}},ie),$n(()=>{ki(!0)}),o&&(D(!0),k(c))}function ha(e,t){let n=null,r=E;var i;if(E){n=O;for(var a=z(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=B(a);if(a===null)D(!1);else{var o=B(a);a.remove(),k(o)}}E||(i=document.head.appendChild(R()));try{lr(()=>{var e=H(()=>t(i));e.f|=ae,E||(e.nodes===null?e.nodes={start:i,end:i,a:null,t:null}:e.nodes.end=i)})}finally{r&&(D(!0),k(n))}}function ga(e,t,n){ar(()=>{var r=Q(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};sr(()=>{var e=n();Gr(e),i&&Re(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function _a(e,t){var n=void 0,r;ur(()=>{n!==(n=t())&&(r&&=(U(r),null),n&&(r=H(()=>{ar(()=>n(e))})))})}function va(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=va(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function ya(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=va(e))&&(r&&(r+=` `),r+=t);return r}function ba(e){return typeof e==`object`?ya(e):e??``}var xa=[...`
3
+ \r\f\xA0\v`];function Sa(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||xa.includes(r[o-1]))&&(s===r.length||xa.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Ca(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function wa(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Ta(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\/\*.*?\*\//g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(wa)),i&&c.push(...Object.keys(i).map(wa));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=wa(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Ca(r)),i&&(n+=Ca(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Ea(e,t,n,r,i,a){var o=e[ye];if(E||o!==n||o===void 0){var s=Sa(n,r,a);(!E||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[ye]=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function Da(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Oa(e,t,n,r){var i=e[be];if(E||i!==t){var a=Ta(t,r);(!E||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e[be]=t}else r&&(Array.isArray(r)?(Da(e,n?.[0],r[0]),Da(e,n?.[1],r[1],`important`)):Da(e,n,r));return r}function ka(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function Aa(e,t){var n=!(`__defaultValue`in e);(n||e.__defaultValue!==t)&&(e.__defaultValue=t,ja(e,!n||`__value`in e))}function ja(e,t){var r=e.__defaultValue,i=e.multiple,a=i?r??[]:null;if(!i||n(a)){var o=e.selectedIndex,s=t&&i?new Set(e.selectedOptions):null;for(var c of e.options){var l=Pa(c);ka(c,i?a.includes(l):Nn(l,r))}if(t){if(s!==null)for(c of e.options){var u=s.has(c);c.selected!==u&&(c.selected=u)}else e.selectedIndex!==o&&(e.selectedIndex=o)}}}function Ma(e,t,r=!1){if(e.multiple){if(t==null)return;if(!n(t))return je();for(var i of e.options)i.selected=t.includes(Pa(i));return}for(i of e.options)if(Nn(Pa(i),t)){i.selected=!0;return}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Na(e){var t=new MutationObserver(t=>{t.every(Fa)||(`__defaultValue`in e&&ja(e,!1),`__value`in e&&Ma(e,e.__value))});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),$n(()=>{t.disconnect()})}function Pa(e){return`__value`in e?e.__value:e.value}function Fa(e){if(e.target.closest(`selectedcontent`)!==null)return!0;if(e.type===`childList`){var t=[...e.addedNodes,...e.removedNodes];return t.length>0&&t.every(e=>e.nodeName===`SELECTEDCONTENT`)}return!1}var Ia=Symbol(`class`),La=Symbol(`style`),Ra=Symbol(`is custom element`),za=Symbol(`is html`),Ba=we?`link`:`LINK`,Va=we?`input`:`INPUT`,Ha=we?`option`:`OPTION`,Ua=we?`select`:`SELECT`,Wa=we?`progress`:`PROGRESS`;function Ga(e){if(E){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Ja(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Ja(e,`checked`,null),e.checked=r}}};e[Se]=n,M(n),Lt()}}function Ka(e,t){var n=Za(e);n.value!==(n.value=t??void 0)&&(e.value!==t||t===0&&e.nodeName===Wa)&&(e.value=t??``)}function qa(e,t){var n=Za(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Ja(e,t,n,r){var i=Za(e);E&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ba)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[ge]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&$a(e).has(t)?e[t]=n:e.setAttribute(t,n))}function Ya(e,t,n,r,i=!1,a=!1){E&&i&&e.nodeName===Va&&(`defaultValue`in n||`defaultChecked`in n||Ga(e));var o=Za(e),s=o[Ra],c=!o[za];let l=E&&s;l&&D(!1);var u=t||{},d=e.nodeName===Ha,f=e.nodeName===Ua;for(var p in t)!(p in n)&&p[0]+p[1]!==`$$`&&(n[p]=null);n.class?n.class=ba(n.class):(r||n[Ia])&&(n.class=null),n[La]&&(n.style??=null);var m=$a(e);if(e.nodeName===Va&&`type`in n&&(`value`in n||`__value`in n)){var h=n.type;(h!==u.type||h===void 0&&e.hasAttribute(`type`))&&(u.type=h,Ja(e,`type`,h,a))}for(let i in n){let l=n[i];if(d&&i===`value`&&l==null){e.value=e.__value=``,u[i]=l;continue}if(i===`class`){Ea(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,l,r,t?.[Ia],n[Ia]),u[i]=l,u[Ia]=n[Ia];continue}if(i===`style`){Oa(e,l,t?.[La],n[La]),u[i]=l,u[La]=n[La];continue}var g=u[i];if(l!==g||l===void 0&&e.hasAttribute(i)){u[i]=l;var _=i[0]+i[1];if(_!==`$$`){if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=Yr(r);if(qr(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(l!=null)continue;e.removeEventListener(r,u[n],t),u[n]=null}if(v)li(r,e,l),ui([r]);else if(l!=null){function a(e){u[i].call(this,e)}u[n]=oi(r,e,a,t)}}else if(i===`style`)Ja(e,i,l);else if(i===`autofocus`)Ft(e,!!l);else if(!s&&(i===`__value`||i===`value`&&l!=null))e.value=e.__value=l;else if(i===`selected`&&d)ka(e,l);else{var y=i;c||(y=Qr(y));var b=y===`defaultValue`||y===`defaultChecked`;if(f&&y===`defaultValue`)continue;if(l==null&&!s&&!b){if(o[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i)}else b||(s||typeof l!=`string`)&&m.has(y)?(e[y]=l,y in o&&(o[y]=T)):typeof l!=`function`&&Ja(e,y,l,a)}}}}return l&&D(!0),u}function Xa(e,t,n=[],r=[],i=[],a,o=!1,s=!1){Vt(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===Ua,l=!1;if(ur(()=>{var u=t(...n.map(Z)),d=Ya(e,r,u,a,o,s);if(l&&c){var f=e;`defaultValue`in u&&Aa(f,u.defaultValue),`value`in u&&Ma(f,u.value)}for(let e of Object.getOwnPropertySymbols(i))u[e]||U(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var p=u[t];t.description===`@attach`&&(!r||p!==r[t])&&(i[t]&&U(i[t]),i[t]=H(()=>_a(e,()=>p))),d[t]=p}r=d}),c){var u=e;ar(()=>{var e=r;`defaultValue`in e&&Aa(u,e.defaultValue),Ma(u,e.value,!0),Na(u)})}l=!0})}function Za(e){return e[ve]??={[Ra]:e.nodeName.includes(`-`),[za]:e.namespaceURI===Ee}}var Qa=new Map;function $a(e){var t=e.getAttribute(`is`)||e.nodeName,n=Qa.get(t);if(n)return n;Qa.set(t,n=new Set);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.add(o);i=d(i)}return n}function eo(e,t,n=t){var r=new WeakSet;Bt(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=to(e)?no(a):a,n(a),P!==null&&r.add(P),await Vr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(E&&e.defaultValue!==e.value||Q(t)==null&&e.value)&&(n(to(e)?no(e.value):e.value),P!==null&&r.add(P)),sr(()=>{var n=t();if(e===document.activeElement){var i=P;if(r.has(i))return}to(e)&&n===no(e.value)||(e.type!==`date`||n||e.value)&&n!==e.value&&(e.value=n??``)})}function to(e){var t=e.type;return t===`number`||t===`range`}function no(e){return e===``?null:+e}var ro=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function io(e,t,n){var r=ro.observe(e,()=>n(e[t]));ar(()=>(Q(()=>n(e[t])),r))}function ao(e,t){return e===t||e?.[pe]===t}function oo(e=St(),t,n,r){var i=j.r,a=q;return ar(()=>{var o,s;return sr(()=>{o=s,s=r?.()||[],Q(()=>{ao(n(...s),e)||(t(e,...s),o&&ao(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&ao(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function so(e,t){Rt(window,[`resize`],()=>zt(()=>t(window[e])))}var co={get(e,t){if(!e.exclude.has(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.has(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return!e.exclude.has(t)&&t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.has(t))}};function lo(e,t,n){return new Proxy({props:e,exclude:t},co)}var uo={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];p(i)&&(i=i());let a=s(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(p(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=s(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===pe||t===he)return!1;for(let n of e.props)if(p(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(p(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function fo(...e){return new Proxy({props:e},uo)}function po(e,t,n,r){var i=!0,a=!!(n&8),o=!!(n&16),c=r,l=!0,u=void 0,d=()=>o&&i?(u??=Gt(r),Z(u)):(l&&(l=!1,c=o?Q(r):r),c);let f;if(a){var p=pe in e||he in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=Pt(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&et(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?Gt:Yt)(()=>(v=!1,g()));a&&Z(y);var b=q;return(function(e,t){if(arguments.length>0){let n=t?Z(y):i&&a?jn(e):e;return L(y,n),v=!0,c!==void 0&&(c=n),e}return Cr&&v||b.f&16384?y.v:Z(y)})}function mo(e){return class extends ho{constructor(t){super({component:e,...t})}}}var ho=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=En(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===he||(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return L(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?Mi:ji)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&fn(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e!==`$set`&&e!==`$destroy`&&e!==`$on`&&o(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Ii(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}};function go(e,t){if(Be(`hydratable`),E){let t=window.__svelte?.h;if(t?.has(e))return t.get(e);ke(e)}return t()}var _o=t({afterUpdate:()=>wo,beforeUpdate:()=>Co,createContext:()=>ht,createEventDispatcher:()=>So,createRawSnippet:()=>na,flushSync:()=>fn,fork:()=>bn,getAbortSignal:()=>vo,getAllContexts:()=>yt,getContext:()=>gt,hasContext:()=>vt,hydratable:()=>go,hydrate:()=>Mi,mount:()=>ji,onDestroy:()=>bo,onMount:()=>yo,setContext:()=>_t,settled:()=>Hr,tick:()=>Vr,unmount:()=>Ii,untrack:()=>Q});function vo(){return W===null&&Ze(),(W.ac??=new AbortController).signal}function yo(e){j===null&&Ve(`onMount`),er(()=>{let t=Q(e);if(typeof t==`function`)return t})}function bo(e){j===null&&Ve(`onDestroy`),yo(()=>()=>Q(e))}function xo(e,t,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:r})}function So(){let e=j;return e===null&&Ve(`createEventDispatcher`),(t,r,i)=>{let a=e.s.$$events?.[t];if(a){let o=n(a)?a.slice():[a],s=xo(t,r,i);for(let t of o)t.call(e.x,s);return!s.defaultPrevented}return!0}}function Co(e){j===null&&Ve(`beforeUpdate`),j.l===null&&$e(`beforeUpdate`),To(j).b.push(e)}function wo(e){j===null&&Ve(`afterUpdate`),j.l===null&&$e(`afterUpdate`),To(j).a.push(e)}function To(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}export{Q as $,aa as A,_ as At,Si as B,ya as C,bt as Ct,ma as D,ot as Dt,ha as E,ct as Et,Wi as F,t as Ft,bi as G,_i as H,Hi as I,ci as J,ui as K,Vi as L,ta as M,v as Mt,Yi as N,m as Nt,fa as O,Pe as Ot,Gi as P,y as Pt,Vr as Q,Ai as R,ba as S,xt as St,ga as T,ut as Tt,yi as U,xi as V,Ci as W,Z as X,si as Y,Hr as Z,Ka as _,Tn as _t,lo as a,er as at,Oa as b,gt as bt,oo as c,Pn as ct,Ia as d,Hn as dt,jr as et,La as f,Un as ft,qa as g,I as gt,Ja as h,L as ht,po as i,cr as it,ra as j,b as jt,sa as k,Ne as kt,io as l,Bn as lt,Ga as m,kn as mt,yo as n,rr as nt,fo as o,nr as ot,Xa as p,jn as pt,li as q,mo as r,sr as rt,so as s,Fn as st,_o as t,ar as tt,eo as u,Vn as ut,Na as v,Jt as vt,_a as w,_t as wt,Ea as x,vt as xt,Ma as y,Mt as yt,wi as z};
@@ -0,0 +1 @@
1
+ import{B as e,Ct as t,H as n,I as r,M as i,N as a,Nt as o,P as s,St as c,V as l,W as u,X as d,a as f,ft as p,i as m,j as h,o as g,ut as _,vt as v}from"./B2En4t_E.js";import"./xihTtKlq.js";import{t as y}from"./DAxERhtN.js";import{D as b,g as x,v as S}from"./Dicxo5h-.js";import{C,S as w,_ as T,a as E,b as D,c as O,d as k,f as A,g as j,h as M,i as N,l as P,n as F,o as I,p as L,r as ee,s as te,t as ne,u as R,v as re,w as z,x as B,y as V}from"./Y5urAfNy.js";import{t as ie}from"./Db0q5_zr.js";import{c as ae,t as oe}from"./BX0v2q9h.js";import{c as se,d as ce,l as le,n as ue,s as de,t as fe}from"./xJTjOoUQ.js";import{t as pe}from"./BR2LaRms.js";import{n as me,r as he,t as ge}from"./yCfI4PCa.js";import{T as _e,d as ve,j as ye,u as be}from"./McME9wI6.js";function*xe(e){for(let t of e)yield*t}function Se(e){return Array.from(xe(e))}var Ce=new z,we=new z,Te,Ee,De,Oe,ke,Ae={point:E,lineStart:E,lineEnd:E,polygonStart:function(){Ce=new z,Ae.lineStart=je,Ae.lineEnd=Me},polygonEnd:function(){var e=+Ce;we.add(e<0?C+e:e),this.lineStart=this.lineEnd=this.point=E},sphere:function(){we.add(C)}};function je(){Ae.point=Ne}function Me(){Pe(Te,Ee)}function Ne(e,t){Ae.point=Pe,Te=e,Ee=t,e*=V,t*=V,De=e,Oe=k(t=t/2+re),ke=B(t)}function Pe(e,t){e*=V,t*=V,t=t/2+re;var n=e-De,r=n>=0?1:-1,i=r*n,a=k(t),o=B(t),s=ke*o,c=Oe*a+s*k(i),l=s*r*B(i);Ce.add(R(l,c)),De=e,Oe=a,ke=o}function Fe(e){return we=new z,N(e,Ae),we*2}function Ie(e){return[R(e[1],e[0]),O(e[2])]}function H(e){var t=e[0],n=e[1],r=k(n);return[r*k(t),r*B(t),B(n)]}function Le(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Re(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function ze(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Be(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Ve(e){var t=w(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var U,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,W,G,K,q={sphere:E,point:et,lineStart:tt,lineEnd:it,polygonStart:function(){q.lineStart=at,q.lineEnd=ot},polygonEnd:function(){q.lineStart=tt,q.lineEnd=it}};function et(e,t){e*=V,t*=V;var n=k(t);J(n*k(e),n*B(e),B(t))}function J(e,t,n){++U,Ue+=(e-Ue)/U,We+=(t-We)/U,Ge+=(n-Ge)/U}function tt(){q.point=nt}function nt(e,t){e*=V,t*=V;var n=k(t);W=n*k(e),G=n*B(e),K=B(t),q.point=rt,J(W,G,K)}function rt(e,t){e*=V,t*=V;var n=k(t),r=n*k(e),i=n*B(e),a=B(t),o=R(w((o=G*a-K*i)*o+(o=K*r-W*a)*o+(o=W*i-G*r)*o),W*r+G*i+K*a);He+=o,Ke+=o*(W+(W=r)),qe+=o*(G+(G=i)),Je+=o*(K+(K=a)),J(W,G,K)}function it(){q.point=et}function at(){q.point=st}function ot(){ct(Qe,$e),q.point=et}function st(e,t){Qe=e,$e=t,e*=V,t*=V,q.point=ct;var n=k(t);W=n*k(e),G=n*B(e),K=B(t),J(W,G,K)}function ct(e,t){e*=V,t*=V;var n=k(t),r=n*k(e),i=n*B(e),a=B(t),o=G*a-K*i,s=K*r-W*a,c=W*i-G*r,l=j(o,s,c),u=O(l),d=l&&-u/l;Ye.add(d*o),Xe.add(d*s),Ze.add(d*c),He+=u,Ke+=u*(W+(W=r)),qe+=u*(G+(G=i)),Je+=u*(K+(K=a)),J(W,G,K)}function lt(e){U=He=Ue=We=Ge=Ke=qe=Je=0,Ye=new z,Xe=new z,Ze=new z,N(e,q);var t=+Ye,n=+Xe,r=+Ze,i=j(t,n,r);return i<1e-12&&(t=Ke,n=qe,r=Je,He<1e-6&&(t=Ue,n=We,r=Ge),i=j(t,n,r),i<1e-12)?[NaN,NaN]:[R(n,t)*A,O(r/i)*A]}function ut(e,t){function n(n,r){return n=e(n,r),t(n[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return n=t.invert(n,r),n&&e.invert(n[0],n[1])}),n}function dt(e,t){return I(e)>T&&(e-=Math.round(e/C)*C),[e,t]}dt.invert=dt;function ft(e,t,n){return(e%=C)?t||n?ut(mt(e),ht(t,n)):mt(e):t||n?ht(t,n):dt}function pt(e){return function(t,n){return t+=e,I(t)>T&&(t-=Math.round(t/C)*C),[t,n]}}function mt(e){var t=pt(e);return t.invert=pt(-e),t}function ht(e,t){var n=k(e),r=B(e),i=k(t),a=B(t);function o(e,t){var o=k(t),s=k(e)*o,c=B(e)*o,l=B(t),u=l*n+s*r;return[R(c*i-u*a,s*n-l*r),O(u*i+c*a)]}return o.invert=function(e,t){var o=k(t),s=k(e)*o,c=B(e)*o,l=B(t),u=l*i-c*a;return[R(c*i+l*a,s*n+u*r),O(u*n-s*r)]},o}function gt(e){e=ft(e[0]*V,e[1]*V,e.length>2?e[2]*V:0);function t(t){return t=e(t[0]*V,t[1]*V),t[0]*=A,t[1]*=A,t}return t.invert=function(t){return t=e.invert(t[0]*V,t[1]*V),t[0]*=A,t[1]*=A,t},t}function _t(e,t,n,r,i,a){if(n){var o=k(t),s=B(t),c=r*n;i==null?(i=t+r*C,a=t-c/2):(i=vt(o,i),a=vt(o,a),(r>0?i<a:i>a)&&(i+=r*C));for(var l,u=i;r>0?u>a:u<a;u-=c)l=Ie([o,-s*k(u),-s*B(u)]),e.point(l[0],l[1])}}function vt(e,t){t=H(t),t[0]-=e,Ve(t);var n=te(-t[1]);return((-t[2]<0?-n:n)+C-L)%C}function yt(){var e=[],t;return{point:function(e,n,r){t.push([e,n,r])},lineStart:function(){e.push(t=[])},lineEnd:E,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function bt(e,t){return I(e[0]-t[0])<1e-6&&I(e[1]-t[1])<1e-6}function xt(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function St(e,t,n,r,i){var a=[],o=[],s,c;if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n=e[0],r=e[t],c;if(bt(n,r)){if(!n[2]&&!r[2]){for(i.lineStart(),s=0;s<t;++s)i.point((n=e[s])[0],n[1]);i.lineEnd();return}r[0]+=2*L}a.push(c=new xt(n,e,null,!0)),o.push(c.o=new xt(n,null,c,!1)),a.push(c=new xt(r,e,null,!1)),o.push(c.o=new xt(r,null,c,!0))}}),a.length){for(o.sort(t),Ct(a),Ct(o),s=0,c=o.length;s<c;++s)o[s].e=n=!n;for(var l=a[0],u,d;;){for(var f=l,p=!0;f.v;)if((f=f.n)===l)return;u=f.z,i.lineStart();do{if(f.v=f.o.v=!0,f.e){if(p)for(s=0,c=u.length;s<c;++s)i.point((d=u[s])[0],d[1]);else r(f.x,f.n.x,1,i);f=f.n}else{if(p)for(u=f.p.z,s=u.length-1;s>=0;--s)i.point((d=u[s])[0],d[1]);else r(f.x,f.p.x,-1,i);f=f.p}f=f.o,u=f.z,p=!p}while(!f.v);i.lineEnd()}}}function Ct(e){if(t=e.length){for(var t,n=0,r=e[0],i;++n<t;)r.n=i=e[n],i.p=r,r=i;r.n=i=e[0],i.p=r}}function wt(e){return I(e[0])<=T?e[0]:D(e[0])*((I(e[0])+T)%C-T)}function Tt(e,t){var n=wt(t),r=t[1],i=B(r),a=[B(n),-k(n),0],o=0,s=0,c=new z;i===1?r=M+L:i===-1&&(r=-M-L);for(var l=0,u=e.length;l<u;++l)if(f=(d=e[l]).length)for(var d,f,p=d[f-1],m=wt(p),h=p[1]/2+re,g=B(h),_=k(h),v=0;v<f;++v,m=b,g=S,_=w,p=y){var y=d[v],b=wt(y),x=y[1]/2+re,S=B(x),w=k(x),E=b-m,D=E>=0?1:-1,A=D*E,j=A>T,N=g*S;if(c.add(R(N*D*B(A),_*w+N*k(A))),o+=j?E+D*C:E,j^m>=n^b>=n){var P=Re(H(p),H(y));Ve(P);var F=Re(a,P);Ve(F);var I=(j^E>=0?-1:1)*O(F[2]);(r>I||r===I&&(P[0]||P[1]))&&(s+=j^E>=0?1:-1)}}return(o<-1e-6||o<1e-6&&c<-1e-12)^s&1}function Et(e,t,n,r){return function(i){var a=t(i),o=yt(),s=t(o),c=!1,l,u,d,f={point:p,lineStart:h,lineEnd:g,polygonStart:function(){f.point=_,f.lineStart=v,f.lineEnd=y,u=[],l=[]},polygonEnd:function(){f.point=p,f.lineStart=h,f.lineEnd=g,u=Se(u);var e=Tt(l,r);u.length?(c||=(i.polygonStart(),!0),St(u,Ot,e,n,i)):e&&(c||=(i.polygonStart(),!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),c&&=(i.polygonEnd(),!1),u=l=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function p(t,n){e(t,n)&&i.point(t,n)}function m(e,t){a.point(e,t)}function h(){f.point=m,a.lineStart()}function g(){f.point=p,a.lineEnd()}function _(e,t){d.push([e,t]),s.point(e,t)}function v(){s.lineStart(),d=[]}function y(){_(d[0][0],d[0][1]),s.lineEnd();var e=s.clean(),t=o.result(),n,r=t.length,a,f,p;if(d.pop(),l.push(d),d=null,r){if(e&1){if(f=t[0],(a=f.length-1)>0){for(c||=(i.polygonStart(),!0),i.lineStart(),n=0;n<a;++n)i.point((p=f[n])[0],p[1]);i.lineEnd()}return}r>1&&e&2&&t.push(t.pop().concat(t.shift())),u.push(t.filter(Dt))}}return f}}function Dt(e){return e.length>1}function Ot(e,t){return((e=e.x)[0]<0?e[1]-M-L:M-e[1])-((t=t.x)[0]<0?t[1]-M-L:M-t[1])}var kt=Et(function(){return!0},At,Mt,[-T,-M]);function At(e){var t=NaN,n=NaN,r=NaN,i;return{lineStart:function(){e.lineStart(),i=1},point:function(a,o){var s=a>0?T:-T,c=I(a-t);I(c-T)<1e-6?(e.point(t,n=(n+o)/2>0?M:-M),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(s,n),e.point(a,n),i=0):r!==s&&c>=T&&(I(t-r)<1e-6&&(t-=r*L),I(a-s)<1e-6&&(a-=s*L),n=jt(t,n,a,o),e.point(r,n),e.lineEnd(),e.lineStart(),e.point(s,n),i=0),e.point(t=a,n=o),r=s},lineEnd:function(){e.lineEnd(),t=n=NaN},clean:function(){return 2-i}}}function jt(e,t,n,r){var i,a,o=B(e-n);return I(o)>1e-6?P((B(t)*(a=k(r))*B(n)-B(r)*(i=k(t))*B(e))/(i*a*o)):(t+r)/2}function Mt(e,t,n,r){var i;if(e==null)i=n*M,r.point(-T,i),r.point(0,i),r.point(T,i),r.point(T,0),r.point(T,-i),r.point(0,-i),r.point(-T,-i),r.point(-T,0),r.point(-T,i);else if(I(e[0]-t[0])>1e-6){var a=e[0]<t[0]?T:-T;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(t[0],t[1])}function Nt(e){var t=k(e),n=2*V,r=t>0,i=I(t)>L;function a(t,r,i,a){_t(a,e,n,i,t,r)}function o(e,n){return k(e)*k(n)>t}function s(e){var t,n,a,s,u;return{lineStart:function(){s=a=!1,u=1},point:function(d,f){var p=[d,f],m,h=o(d,f),g=r?h?0:l(d,f):h?l(d+(d<0?T:-T),f):0;if(!t&&(s=a=h)&&e.lineStart(),h!==a&&(m=c(t,p),(!m||bt(t,m)||bt(p,m))&&(p[2]=1)),h!==a)u=0,h?(e.lineStart(),m=c(p,t),e.point(m[0],m[1])):(m=c(t,p),e.point(m[0],m[1],2),e.lineEnd()),t=m;else if(i&&t&&r^h){var _;!(g&n)&&(_=c(p,t,!0))&&(u=0,r?(e.lineStart(),e.point(_[0][0],_[0][1]),e.point(_[1][0],_[1][1]),e.lineEnd()):(e.point(_[1][0],_[1][1]),e.lineEnd(),e.lineStart(),e.point(_[0][0],_[0][1],3)))}h&&(!t||!bt(t,p))&&e.point(p[0],p[1]),t=p,a=h,n=g},lineEnd:function(){a&&e.lineEnd(),t=null},clean:function(){return u|(s&&a)<<1}}}function c(e,n,r){var i=H(e),a=H(n),o=[1,0,0],s=Re(i,a),c=Le(s,s),l=s[0],u=c-l*l;if(!u)return!r&&e;var d=t*c/u,f=-t*l/u,p=Re(o,s),m=Be(o,d);ze(m,Be(s,f));var h=p,g=Le(m,h),_=Le(h,h),v=g*g-_*(Le(m,m)-1);if(!(v<0)){var y=w(v),b=Be(h,(-g-y)/_);if(ze(b,m),b=Ie(b),!r)return b;var x=e[0],S=n[0],C=e[1],E=n[1],D;S<x&&(D=x,x=S,S=D);var O=S-x,k=I(O-T)<L,A=k||O<1e-6;if(!k&&E<C&&(D=C,C=E,E=D),A?k?C+E>0^b[1]<(I(b[0]-x)<1e-6?C:E):C<=b[1]&&b[1]<=E:O>T^(x<=b[0]&&b[0]<=S)){var j=Be(h,(-g+y)/_);return ze(j,m),[b,Ie(j)]}}}function l(t,n){var i=r?e:T-e,a=0;return t<-i?a|=1:t>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return Et(o,s,a,r?[0,-e]:[-T,e-T])}function Pt(e,t,n,r,i,a){var o=e[0],s=e[1],c=t[0],l=t[1],u=0,d=1,f=c-o,p=l-s,m=n-o;if(!(!f&&m>0)){if(m/=f,f<0){if(m<u)return;m<d&&(d=m)}else if(f>0){if(m>d)return;m>u&&(u=m)}if(m=i-o,!(!f&&m<0)){if(m/=f,f<0){if(m>d)return;m>u&&(u=m)}else if(f>0){if(m<u)return;m<d&&(d=m)}if(m=r-s,!(!p&&m>0)){if(m/=p,p<0){if(m<u)return;m<d&&(d=m)}else if(p>0){if(m>d)return;m>u&&(u=m)}if(m=a-s,!(!p&&m<0)){if(m/=p,p<0){if(m>d)return;m>u&&(u=m)}else if(p>0){if(m<u)return;m<d&&(d=m)}return u>0&&(e[0]=o+u*f,e[1]=s+u*p),d<1&&(t[0]=o+d*f,t[1]=s+d*p),!0}}}}}var Y=1e9,Ft=-Y;function It(e,t,n,r){function i(i,a){return e<=i&&i<=n&&t<=a&&a<=r}function a(i,a,s,l){var u=0,d=0;if(i==null||(u=o(i,s))!==(d=o(a,s))||c(i,a)<0^s>0)do l.point(u===0||u===3?e:n,u>1?r:t);while((u=(u+s+4)%4)!==d);else l.point(a[0],a[1])}function o(r,i){return I(r[0]-e)<1e-6?i>0?0:3:I(r[0]-n)<1e-6?i>0?2:1:I(r[1]-t)<1e-6?+(i>0):i>0?3:2}function s(e,t){return c(e.x,t.x)}function c(e,t){var n=o(e,1),r=o(t,1);return n===r?n===0?t[1]-e[1]:n===1?e[0]-t[0]:n===2?e[1]-t[1]:t[0]-e[0]:n-r}return function(o){var c=o,l=yt(),u,d,f,p,m,h,g,_,v,y,b,x={point:S,lineStart:E,lineEnd:D,polygonStart:w,polygonEnd:T};function S(e,t){i(e,t)&&c.point(e,t)}function C(){for(var t=0,n=0,i=d.length;n<i;++n)for(var a=d[n],o=1,s=a.length,c=a[0],l,u,f=c[0],p=c[1];o<s;++o)l=f,u=p,c=a[o],f=c[0],p=c[1],u<=r?p>r&&(f-l)*(r-u)>(p-u)*(e-l)&&++t:p<=r&&(f-l)*(r-u)<(p-u)*(e-l)&&--t;return t}function w(){c=l,u=[],d=[],b=!0}function T(){var e=C(),t=b&&e,n=(u=Se(u)).length;(t||n)&&(o.polygonStart(),t&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),n&&St(u,s,e,a,o),o.polygonEnd()),c=o,u=d=f=null}function E(){x.point=O,d&&d.push(f=[]),y=!0,v=!1,g=_=NaN}function D(){u&&(O(p,m),h&&v&&l.rejoin(),u.push(l.result())),x.point=S,v&&c.lineEnd()}function O(a,o){var s=i(a,o);if(d&&f.push([a,o]),y)p=a,m=o,h=s,y=!1,s&&(c.lineStart(),c.point(a,o));else if(s&&v)c.point(a,o);else{var l=[g=Math.max(Ft,Math.min(Y,g)),_=Math.max(Ft,Math.min(Y,_))],u=[a=Math.max(Ft,Math.min(Y,a)),o=Math.max(Ft,Math.min(Y,o))];Pt(l,u,e,t,n,r)?(v||(c.lineStart(),c.point(l[0],l[1])),c.point(u[0],u[1]),s||c.lineEnd(),b=!1):s&&(c.lineStart(),c.point(a,o),b=!1)}g=a,_=o,v=s}return x}}var Lt,Rt,zt,Bt,X={sphere:E,point:E,lineStart:Vt,lineEnd:E,polygonStart:E,polygonEnd:E};function Vt(){X.point=Ut,X.lineEnd=Ht}function Ht(){X.point=X.lineEnd=E}function Ut(e,t){e*=V,t*=V,Rt=e,zt=B(t),Bt=k(t),X.point=Wt}function Wt(e,t){e*=V,t*=V;var n=B(t),r=k(t),i=I(e-Rt),a=k(i),o=r*B(i),s=Bt*n-zt*r*a,c=zt*n+Bt*r*a;Lt.add(R(w(o*o+s*s),c)),Rt=e,zt=n,Bt=r}function Gt(e){return Lt=new z,N(e,X),+Lt}var Kt=[null,null],qt={type:`LineString`,coordinates:Kt};function Jt(e,t){return Kt[0]=e,Kt[1]=t,Gt(qt)}function Yt(e){return{stream:Xt(e)}}function Xt(e){return function(t){var n=new Zt;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Zt(){}Zt.prototype={constructor:Zt,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Qt(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),r!=null&&e.clipExtent(null),N(n,e.stream(F)),t(F.result()),r!=null&&e.clipExtent(r),e}function $t(e,t,n){return Qt(e,function(n){var r=t[1][0]-t[0][0],i=t[1][1]-t[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+t[0][0]+(r-a*(n[1][0]+n[0][0]))/2,s=+t[0][1]+(i-a*(n[1][1]+n[0][1]))/2;e.scale(150*a).translate([o,s])},n)}function en(e,t,n){return $t(e,[[0,0],t],n)}function tn(e,t,n){return Qt(e,function(n){var r=+t,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];e.scale(150*i).translate([a,o])},n)}function nn(e,t,n){return Qt(e,function(n){var r=+t,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,o])},n)}var rn=16,an=k(30*V);function on(e,t){return+t?cn(e,t):sn(e)}function sn(e){return Xt({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function cn(e,t){function n(r,i,a,o,s,c,l,u,d,f,p,m,h,g){var _=l-r,v=u-i,y=_*_+v*v;if(y>4*t&&h--){var b=o+f,x=s+p,S=c+m,C=w(b*b+x*x+S*S),T=O(S/=C),E=I(I(S)-1)<1e-6||I(a-d)<1e-6?(a+d)/2:R(x,b),D=e(E,T),k=D[0],A=D[1],j=k-r,M=A-i,N=v*j-_*M;(N*N/y>t||I((_*j+v*M)/y-.5)>.3||o*f+s*p+c*m<an)&&(n(r,i,a,o,s,c,k,A,E,b/=C,x/=C,S,h,g),g.point(k,A),n(k,A,E,b,x,S,l,u,d,f,p,m,h,g))}}return function(t){var r,i,a,o,s,c,l,u,d,f,p,m,h={point:g,lineStart:_,lineEnd:y,polygonStart:function(){t.polygonStart(),h.lineStart=b},polygonEnd:function(){t.polygonEnd(),h.lineStart=_}};function g(n,r){n=e(n,r),t.point(n[0],n[1])}function _(){u=NaN,h.point=v,t.lineStart()}function v(r,i){var a=H([r,i]),o=e(r,i);n(u,d,l,f,p,m,u=o[0],d=o[1],l=r,f=a[0],p=a[1],m=a[2],rn,t),t.point(u,d)}function y(){h.point=g,t.lineEnd()}function b(){_(),h.point=x,h.lineEnd=S}function x(e,t){v(r=e,t),i=u,a=d,o=f,s=p,c=m,h.point=v}function S(){n(u,d,l,f,p,m,i,a,r,o,s,c,rn,t),h.lineEnd=y,y()}return h}}var ln=Xt({point:function(e,t){this.stream.point(e*V,t*V)}});function un(e){return Xt({point:function(t,n){var r=e(t,n);return this.stream.point(r[0],r[1])}})}function dn(e,t,n,r,i){function a(a,o){return a*=r,o*=i,[t+e*a,n-e*o]}return a.invert=function(a,o){return[(a-t)/e*r,(n-o)/e*i]},a}function fn(e,t,n,r,i,a){if(!a)return dn(e,t,n,r,i);var o=k(a),s=B(a),c=o*e,l=s*e,u=o/e,d=s/e,f=(s*n-o*t)/e,p=(s*t+o*n)/e;function m(e,a){return e*=r,a*=i,[c*e-l*a+t,n-l*e-c*a]}return m.invert=function(e,t){return[r*(u*e-d*t+f),i*(p-d*e-u*t)]},m}function pn(e){return mn(function(){return e})()}function mn(e){var t,n=150,r=480,i=250,a=0,o=0,s=0,c=0,l=0,u,d=0,f=1,p=1,m=null,h=kt,g=null,_,v,y,b=ee,x=.5,S,C,T,E,D;function O(e){return T(e[0]*V,e[1]*V)}function k(e){return e=T.invert(e[0],e[1]),e&&[e[0]*A,e[1]*A]}O.stream=function(e){return E&&D===e?E:E=ln(un(u)(h(S(b(D=e)))))},O.preclip=function(e){return arguments.length?(h=e,m=void 0,M()):h},O.postclip=function(e){return arguments.length?(b=e,g=_=v=y=null,M()):b},O.clipAngle=function(e){return arguments.length?(h=+e?Nt(m=e*V):(m=null,kt),M()):m*A},O.clipExtent=function(e){return arguments.length?(b=e==null?(g=_=v=y=null,ee):It(g=+e[0][0],_=+e[0][1],v=+e[1][0],y=+e[1][1]),M()):g==null?null:[[g,_],[v,y]]},O.scale=function(e){return arguments.length?(n=+e,j()):n},O.translate=function(e){return arguments.length?(r=+e[0],i=+e[1],j()):[r,i]},O.center=function(e){return arguments.length?(a=e[0]%360*V,o=e[1]%360*V,j()):[a*A,o*A]},O.rotate=function(e){return arguments.length?(s=e[0]%360*V,c=e[1]%360*V,l=e.length>2?e[2]%360*V:0,j()):[s*A,c*A,l*A]},O.angle=function(e){return arguments.length?(d=e%360*V,j()):d*A},O.reflectX=function(e){return arguments.length?(f=e?-1:1,j()):f<0},O.reflectY=function(e){return arguments.length?(p=e?-1:1,j()):p<0},O.precision=function(e){return arguments.length?(S=on(C,x=e*e),M()):w(x)},O.fitExtent=function(e,t){return $t(O,e,t)},O.fitSize=function(e,t){return en(O,e,t)},O.fitWidth=function(e,t){return tn(O,e,t)},O.fitHeight=function(e,t){return nn(O,e,t)};function j(){var e=fn(n,0,0,f,p,d).apply(null,t(a,o)),m=fn(n,r-e[0],i-e[1],f,p,d);return u=ft(s,c,l),C=ut(t,m),T=ut(u,C),S=on(C,x),M()}function M(){return E=D=null,O}return function(){return t=e.apply(this,arguments),O.invert=t.invert&&k,j()}}function hn(e){return function(t,n){var r=w(t*t+n*n),i=e(r),a=B(i),o=k(i);return[R(t*a,r*o),O(r&&n*a/r)]}}function gn(e,t){var n=k(t),r=1+k(e)*n;return[n*B(e)/r,B(t)/r]}gn.invert=hn(function(e){return 2*P(e)});function _n(){return pn(gn).scale(250).clipAngle(142)}var Z=Math.PI,vn=Z/2;Z/4,Z*2;var yn=180/Z,bn=Z/180,xn=Math.atan2,Sn=Math.cos,Cn=Math.max,wn=Math.min,Tn=Math.sin,En=Math.sign||function(e){return e>0?1:e<0?-1:0},Dn=Math.sqrt;function On(e){return e>1?vn:e<-1?-vn:Math.asin(e)}function kn(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Q(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function An(e,t){return[e[0]+t[0],e[1]+t[1],e[2]+t[2]]}function jn(e){var t=Dn(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);return[e[0]/t,e[1]/t,e[2]/t]}function Mn(e){return[xn(e[1],e[0])*yn,On(Cn(-1,wn(1,e[2])))*yn]}function $(e){let t=e[0]*bn,n=e[1]*bn,r=Sn(n);return[r*Sn(t),r*Tn(t),Tn(n)]}function Nn(e){return e=e.map(e=>$(e)),kn(e[0],Q(e[2],e[1]))}function Pn(e){let t=In(e),n=Rn(t),r=Ln(n,e),i=Bn(n,e.length),a=Fn(i,e),{polygons:o,centers:s}=Vn(zn(n,e),n,e);return{delaunay:t,edges:r,triangles:n,centers:s,neighbors:i,polygons:o,mesh:Un(o),hull:Gn(n,e),urquhart:Wn(r,n),find:a}}function Fn(e,t){function n(e,t){let n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}return function(r,i,a){a===void 0&&(a=0);let o,s,c=a,l=$([r,i]);do o=a,a=null,s=n(l,$(t[o])),e[o].forEach(e=>{let r=n(l,$(t[e]));if(r<s){s=r,a=e,c=e;return}});while(a!==null);return c}}function In(e){if(e.length<2)return{};let t=0;for(;isNaN(e[t][0]+e[t][1])&&t++<e.length;);let n=gt(e[t]),r=_n().translate([0,0]).scale(1).rotate(n.invert([180,0]));e=e.map(r);let i=[],a=1;for(let t=0,n=e.length;t<n;t++){let n=e[t][0]**2+e[t][1]**2;!isFinite(n)||n>1e32?i.push(t):n>a&&(a=n)}let o=1e6*Dn(a);i.forEach(t=>e[t]=[o,0]),e.push([0,o]),e.push([-o,0]),e.push([0,-o]);let s=he.from(e);s.projection=r;let{triangles:c,halfedges:l,inedges:u}=s,d=[];for(let n=0,r=l.length;n<r;n++)if(l[n]<0){let e=n%3==2?n-2:n+1,r=n%3==0?n+2:n-1,i=l[e],a=l[r];l[i]=a,l[a]=i,l[e]=l[r]=-1,c[n]=c[e]=c[r]=t,u[c[i]]=i%3==0?i+2:i-1,u[c[a]]=a%3==0?a+2:a-1,d.push(Math.min(n,e,r)),n+=2-n%3}else c[n]>e.length-3-1&&(c[n]=t);return s}function Ln(e,t){let n=new Set;return t.length===2?[[0,1]]:(e.forEach(e=>{if(e[0]!==e[1]&&!(Nn(e.map(e=>t[e]))<0))for(let t=0,r;t<3;t++)r=(t+1)%3,n.add(ye([e[t],e[r]]).join(`-`))}),Array.from(n,e=>e.split(`-`).map(Number)))}function Rn(e){let{triangles:t}=e;if(!t)return[];let n=[];for(let e=0,r=t.length/3;e<r;e++){let r=t[3*e],i=t[3*e+1],a=t[3*e+2];r!==i&&i!==a&&n.push([r,a,i])}return n}function zn(e,t){return e.map(e=>{let n=e.map(e=>t[e]).map($);return Mn(jn(An(An(Q(n[1],n[0]),Q(n[2],n[1])),Q(n[0],n[2]))))})}function Bn(e,t){let n=[];return e.forEach(e=>{for(let t=0;t<3;t++){let r=e[t],i=e[(t+1)%3];n[r]=n[r]||[],n[r].push(i)}}),e.length===0&&(t===2?(n[0]=[1],n[1]=[0]):t===1&&(n[0]=[])),n}function Vn(e,t,n){let r=[],i=e.slice();if(t.length===0){if(n.length<2)return{polygons:r,centers:i};if(n.length===2){let e=$(n[0]),t=$(n[1]),a=jn(An(e,t)),s=Q(a,jn(Q(e,t))),c=[a,Q(a,s),Q(Q(a,s),s),Q(Q(Q(a,s),s),s)].map(Mn).map(o);return r.push(c),r.push(c.slice().reverse()),{polygons:r,centers:i}}}t.forEach((e,t)=>{for(let n=0;n<3;n++){let i=e[n],a=e[(n+1)%3],o=e[(n+2)%3];r[i]=r[i]||[],r[i].push([a,o,t,[i,a,o]])}});let a=r.map(e=>{let t=[e[0][2]],r=e[0][1];for(let n=1;n<e.length;n++)for(let n=0;n<e.length;n++)if(e[n][0]==r){r=e[n][1],t.push(e[n][2]);break}if(t.length>2)return t;if(t.length==2){let r=Hn(n[e[0][3][0]],n[e[0][3][1]],i[t[0]]),a=Hn(n[e[0][3][2]],n[e[0][3][0]],i[t[0]]),s=o(r),c=o(a);return[t[0],c,t[1],s]}});function o(e){let n=-1;return i.slice(t.length,1/0).forEach((r,i)=>{r[0]===e[0]&&r[1]===e[1]&&(n=i+t.length)}),n<0&&(n=i.length,i.push(e)),n}return{polygons:a,centers:i}}function Hn(e,t,n){e=$(e),t=$(t),n=$(n);let r=En(kn(Q(t,e),n));return Mn(jn(An(e,t)).map(e=>r*e))}function Un(e){let t=[];return e.forEach(e=>{if(!e)return;let n=e[e.length-1];for(let r of e)r>n&&t.push([n,r]),n=r}),t}function Wn(e,t){return function(n){let r=new Map,i=new Map;return e.forEach((e,t)=>{let a=e.join(`-`);r.set(a,n[t]),i.set(a,!0)}),t.forEach(e=>{let t=0,n=-1;for(let i=0;i<3;i++){let a=ye([e[i],e[(i+1)%3]]).join(`-`);r.get(a)>t&&(t=r.get(a),n=a)}i.set(n,!1)}),e.map(e=>i.get(e.join(`-`)))}}function Gn(e,t){let n=new Set,r=[];e.map(e=>{if(!(Nn(e.map(e=>t[e>t.length?0:e]))>1e-12))for(let t=0;t<3;t++){let r=[e[t],e[(t+1)%3]],i=`${r[0]}-${r[1]}`;n.has(i)?n.delete(i):n.add(`${r[1]}-${r[0]}`)}});let i=new Map,a;if(n.forEach(e=>{e=e.split(`-`).map(Number),i.set(e[0],e[1]),a=e[0]}),a===void 0)return r;let o=a;do{r.push(o);let e=i.get(o);i.set(o,-1),o=e}while(o>-1&&o!==a);return r}function Kn(e){let t=function(e){if(t.delaunay=null,t._data=e,typeof t._data==`object`&&t._data.type===`FeatureCollection`&&(t._data=t._data.features),typeof t._data==`object`){let e=t._data.map(e=>[t._vx(e),t._vy(e),e]).filter(e=>isFinite(e[0]+e[1]));t.points=e.map(e=>[e[0],e[1]]),t.valid=e.map(e=>e[2]),t.delaunay=Pn(t.points)}return t};return t._vx=function(e){if(typeof e==`object`&&`type`in e)return lt(e)[0];if(0 in e)return e[0]},t._vy=function(e){if(typeof e==`object`&&`type`in e)return lt(e)[1];if(1 in e)return e[1]},t.x=function(e){return e?(t._vx=e,t):t._vx},t.y=function(e){return e?(t._vy=e,t):t._vy},t.polygons=function(e){if(e!==void 0&&t(e),!t.delaunay)return!1;let n={type:`FeatureCollection`,features:[]};return t.valid.length===0?n:(t.delaunay.polygons.forEach((e,r)=>n.features.push({type:`Feature`,geometry:e?{type:`Polygon`,coordinates:[[...e,e[0]].map(e=>t.delaunay.centers[e])]}:null,properties:{site:t.valid[r],sitecoordinates:t.points[r],neighbours:t.delaunay.neighbors[r]}})),t.valid.length===1&&n.features.push({type:`Feature`,geometry:{type:`Sphere`},properties:{site:t.valid[0],sitecoordinates:t.points[0],neighbours:[]}}),n)},t.triangles=function(e){return e!==void 0&&t(e),t.delaunay?{type:`FeatureCollection`,features:t.delaunay.triangles.map((e,n)=>(e=e.map(e=>t.points[e]),e.center=t.delaunay.centers[n],e)).filter(e=>Nn(e)>0).map(e=>({type:`Feature`,properties:{circumcenter:e.center},geometry:{type:`Polygon`,coordinates:[[...e,e[0]]]}}))}:!1},t.links=function(e){if(e!==void 0&&t(e),!t.delaunay)return!1;let n=t.delaunay.edges.map(e=>Jt(t.points[e[0]],t.points[e[1]])),r=t.delaunay.urquhart(n);return{type:`FeatureCollection`,features:t.delaunay.edges.map((e,i)=>({type:`Feature`,properties:{source:t.valid[e[0]],target:t.valid[e[1]],length:n[i],urquhart:!!r[i]},geometry:{type:`LineString`,coordinates:[t.points[e[0]],t.points[e[1]]]}}))}},t.mesh=function(e){return e!==void 0&&t(e),t.delaunay?{type:`MultiLineString`,coordinates:t.delaunay.edges.map(e=>[t.points[e[0]],t.points[e[1]]])}:!1},t.cellMesh=function(e){if(e!==void 0&&t(e),!t.delaunay)return!1;let{centers:n,polygons:r}=t.delaunay,i=[];for(let e of r)if(e)for(let t=e.length,r=e[t-1],a=e[0],o=0;o<t;r=a,a=e[++o])a>r&&i.push([n[r],n[a]]);return{type:`MultiLineString`,coordinates:i}},t._found=void 0,t.find=function(e,n,r){if(t._found=t.delaunay.find(e,n,t._found),!r||Jt([e,n],t.points[t._found])<r)return t._found},t.hull=function(e){e!==void 0&&t(e);let n=t.delaunay.hull,r=t.points;return n.length===0?null:{type:`Polygon`,coordinates:[[...n.map(e=>r[e]),r[n[0]]]]}},e?t(e):t}function qn(e,t,n){let r=n===void 0?ce():n,i=ne(e,Jn(t(r))),a=e=>(i(e),n===void 0?r+``:void 0);return Object.setPrototypeOf(a,i),a}function Jn(e){return{beginPath(){},moveTo(t,n){e.lineStart(),e.point(t,n)},arc(e,t,n,r,i,a){},lineTo(t,n){e.point(t,n)},closePath(){e.lineEnd()}}}var Yn=new Set([`$$slots`,`$$events`,`$$legacy`,`Path`,`geoTransform`,`geojson`,`tooltip`,`curve`,`onclick`,`onpointerenter`,`onpointermove`,`onpointerleave`,`class`,`ref`,`children`]);function Xn(n,a){t(a,!0);let o=m(a,`curve`,3,_e),s=f(a,Yn),u=y(),p=x(),b=v(()=>a.geoTransform&&p.projection?Yt(a.geoTransform(p.projection)):p.projection),S=v(()=>{if(a.geojson,d(b))return o()===_e?ne(d(b)):qn(d(b),o())}),C=v(()=>a.geojson?d(S)?.(a.geojson)??``:``);function w(e){a.onclick?.(e,d(S))}function T(e){a.onpointerenter?.(e),a.tooltip&&u?.tooltip.show(e,a.geojson)}function E(e){a.onpointermove?.(e),a.tooltip&&u.tooltip.show(e,a.geojson)}function D(e){a.onpointerleave?.(e),a.tooltip&&u.tooltip.hide()}var O=l(),k=_(O),A=t=>{var n=l(),r=_(n);i(r,()=>a.children,()=>({geoPath:d(S)})),e(t,n)},j=t=>{var n=l(),r=_(n);{let e=v(()=>ae(`lc-geo-path`,a.class));h(r,()=>a.Path,(t,n)=>{n(t,g({get pathData(){return d(C)}},()=>s,()=>a.onclick&&{onclick:w},()=>(a.tooltip||a.onpointerenter)&&{onpointerenter:T},()=>(a.tooltip||a.onpointermove)&&{onpointermove:E},()=>(a.tooltip||a.onpointerleave)&&{onpointerleave:D},{get class(){return d(e)},get pathRef(){return a.ref}}))})}e(t,n)};r(k,e=>{a.children?e(A):e(j,-1)}),e(n,O),c()}var Zn=new Set([`$$slots`,`$$events`,`$$legacy`]);function Qn(e,t){let n=f(t,Zn);Xn(e,g({get Path(){return ue}},()=>n))}var $n=new Set([`$$slots`,`$$events`,`$$legacy`]);function er(e,t){let n=f(t,$n);Xn(e,g({get Path(){return fe}},()=>n))}var tr=new Set([`$$slots`,`$$events`,`$$legacy`]);function nr(n,i){t(i,!0);let a=b(),o=f(i,tr);var s=l(),u=_(s),d=e=>{Qn(e,g(()=>o))},p=e=>{er(e,g(()=>o))};r(u,e=>{a===`svg`?e(d):a===`canvas`&&e(p,1)}),e(n,s),c()}var rr=new Set([`$$slots`,`$$events`,`$$legacy`,`Group`,`Path`,`CircleClipPath`,`data`,`x`,`y`,`r`,`classes`,`onclick`,`onpointerenter`,`onpointerdown`,`onpointermove`,`class`,`children`]),ir=n(`<!> <!>`,1);function ar(n,u){t(u,!0);let b=m(u,`classes`,19,()=>({})),C=f(u,rr),w=y(),T=S(),E=x(),D=v(()=>u.x==null?void 0:oe(u.x)),O=v(()=>u.y==null?void 0:oe(u.y)),k=v(()=>(u.data??T?.().data??w.flatData).map(e=>{let t=d(D)?E.projection?d(D)(e):w.xScale(d(D)(e)):E.projection?w.x(e):w.xGet(e),n=d(O)?E.projection?d(O)(e):w.yScale(d(O)(e)):E.projection?w.y(e):w.yGet(e),r=Array.isArray(t)?ie(t):t,i=Array.isArray(n)?ie(n):n,a;if(w.radial){let e=pe(r,i);a=[e[0]+w.width/2,e[1]+w.height/2]}else a=[r,i];return a.data=e,a})),A=v(()=>Math.max(w.width,0)),j=v(()=>Math.max(w.height,0)),M=v(()=>u.r===0||u.r==null||u.r===1/0),N=v(()=>E.projection?null:he.from(d(k)).voronoi([0,0,d(A),d(j)])),P=v(()=>E.projection?Kn().polygons(d(k)):null),F=v(()=>u.children?E.projection&&d(P)?d(P).features.map((e,t)=>{let n=E.projection?.(e.properties.sitecoordinates)??null,r=(e.geometry?.coordinates?.[0]??[]).map(e=>E.projection?.(e)).filter(e=>e!=null),i=r.length?r:null,a=E.projection?.(lt(e))??null;return{data:e.properties.site?.data,index:t,point:n??[NaN,NaN],polygon:i,centroid:a&&Number.isFinite(a[0])?a:null,area:Fe(e)}}):d(N)?d(k).map((e,t)=>{let n=d(N).cellPolygon(t);return{data:e.data,index:t,point:[e[0],e[1]],polygon:n,centroid:n?ge(n):null,area:n?Math.abs(me(n)):0}}):[]:[]);var I=l(),L=_(I);{let t=v(()=>ae(`lc-voronoi-g`,b().root,u.class));h(L,()=>u.Group,(n,c)=>{c(n,g(()=>C,{get class(){return d(t)},children:(t,n)=>{var c=ir(),f=_(c),m=t=>{var n=l(),i=_(n),o=t=>{var n=l(),r=_(n);a(r,17,()=>d(P).features,s,(t,n)=>{let r=v(()=>u.r?E.projection?.(d(n).properties.sitecoordinates):null);var i=l(),a=_(i);{let e=v(()=>d(r)?.[0]),t=v(()=>d(r)?.[1]),i=v(()=>u.r??0),o=v(()=>d(r)==null||d(M));h(a,()=>u.CircleClipPath,(r,a)=>{a(r,{get cx(){return d(e)},get cy(){return d(t)},get r(){return d(i)},get disabled(){return d(o)},children:(e,t)=>{{let t=v(()=>[`lc-voronoi-geo-path`,b().path]);nr(e,{get geojson(){return d(n)},get class(){return d(t)},onclick:e=>u.onclick?.(e,{data:d(n).properties.site.data,feature:d(n)}),onpointerenter:e=>u.onpointerenter?.(e,{data:d(n).properties.site.data,feature:d(n)}),onpointermove:e=>u.onpointermove?.(e,{data:d(n).properties.site.data,feature:d(n)}),onpointerdown:e=>u.onpointerdown?.(e,{data:d(n).properties.site.data,feature:d(n)}),ontouchmove:e=>{e.preventDefault()}})}},$$slots:{default:!0}})})}e(t,i)}),e(t,n)};r(i,e=>{d(P)&&e(o)}),e(t,n)},g=t=>{var n=l(),i=_(n);a(i,17,()=>d(k),s,(t,n,i)=>{let a=v(()=>d(N).renderCell(i));var o=l(),s=_(o),c=t=>{var r=l(),i=_(r);{let t=v(()=>u.r??0);h(i,()=>u.CircleClipPath,(r,i)=>{i(r,{get cx(){return d(n)[0]},get cy(){return d(n)[1]},get r(){return d(t)},get disabled(){return d(M)},children:(t,r)=>{var i=l(),o=_(i);{let e=v(()=>[`lc-voronoi-path`,b().path]);h(o,()=>u.Path,(t,r)=>{r(t,{get pathData(){return d(a)},get class(){return d(e)},onclick:e=>u.onclick?.(e,{data:d(n).data,point:d(n)}),onpointerenter:e=>u.onpointerenter?.(e,{data:d(n).data,point:d(n)}),onpointermove:e=>u.onpointermove?.(e,{data:d(n).data,point:d(n)}),onpointerdown:e=>u.onpointerdown?.(e,{data:d(n).data,point:d(n)}),ontouchmove:e=>{e.preventDefault()}})})}e(t,i)},$$slots:{default:!0}})})}e(t,r)};r(s,e=>{d(a)&&e(c)}),e(t,o)}),e(t,n)};r(f,e=>{E.projection?e(m):d(N)&&e(g,1)});var y=p(f,2);i(y,()=>u.children??o,()=>({cells:d(F)})),e(t,c)},$$slots:{default:!0}}))})}e(n,I),c()}function or(n,r){let i=u();t(r,!0);let a=m(r,`id`,19,()=>le(`clipPath-`,i)),o=m(r,`cx`,3,0),s=m(r,`cy`,3,0),f=m(r,`disabled`,3,!1),p=m(r,`invert`,3,!1),g=v(()=>`M${o()-r.r},${s()} a${r.r},${r.r} 0 1,0 ${2*r.r},0 a${r.r},${r.r} 0 1,0 ${-2*r.r},0 Z`);var y=l(),b=_(y);h(b,()=>r.ClipPath,(e,t)=>{t(e,{get id(){return a()},get disabled(){return f()},get invert(){return p()},get children(){return r.children},get path(){return d(g)}})}),e(n,y),c()}var sr=new Set([`$$slots`,`$$events`,`$$legacy`]);function cr(e,t){let n=f(t,sr);or(e,g({get ClipPath(){return ve}},()=>n))}var lr=new Set([`$$slots`,`$$events`,`$$legacy`]);function ur(e,t){let n=f(t,lr);ar(e,g({get Group(){return se},get Path(){return ue},get CircleClipPath(){return cr}},()=>n))}var dr=new Set([`$$slots`,`$$events`,`$$legacy`]);function fr(e,t){let n=f(t,dr);or(e,g({get ClipPath(){return be}},()=>n))}var pr=new Set([`$$slots`,`$$events`,`$$legacy`]);function mr(e,t){let n=f(t,pr);ar(e,g({get Group(){return de},get Path(){return fe},get CircleClipPath(){return fr}},()=>n))}var hr=new Set([`$$slots`,`$$events`,`$$legacy`]);function gr(n,i){t(i,!0);let a=b(),o=f(i,hr);var s=l(),u=_(s),d=e=>{ur(e,g(()=>o))},p=e=>{mr(e,g(()=>o))};r(u,e=>{a===`svg`?e(d):a===`canvas`&&e(p,1)}),e(n,s),c()}export{gr as default};