@chrisjowen/wheelhouse 0.31.0 → 0.32.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 (1114) hide show
  1. package/build/client/_app/immutable/assets/0.D-k-YapX.css +1 -0
  2. package/build/client/_app/immutable/assets/0.D-k-YapX.css.br +0 -0
  3. package/build/client/_app/immutable/assets/0.D-k-YapX.css.gz +0 -0
  4. package/build/client/_app/immutable/chunks/3-7zQDEr.js +1 -0
  5. package/build/client/_app/immutable/chunks/3-7zQDEr.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/3-7zQDEr.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/8TEYDc6p.js +2 -0
  8. package/build/client/_app/immutable/chunks/8TEYDc6p.js.br +0 -0
  9. package/build/client/_app/immutable/chunks/8TEYDc6p.js.gz +0 -0
  10. package/build/client/_app/immutable/chunks/BTWHmYaX.js +1 -0
  11. package/build/client/_app/immutable/chunks/BTWHmYaX.js.br +0 -0
  12. package/build/client/_app/immutable/chunks/BTWHmYaX.js.gz +0 -0
  13. package/build/client/_app/immutable/chunks/BYZPq17R.js +3 -0
  14. package/build/client/_app/immutable/chunks/BYZPq17R.js.br +0 -0
  15. package/build/client/_app/immutable/chunks/BYZPq17R.js.gz +0 -0
  16. package/build/client/_app/immutable/chunks/BibVzDzi.js +1 -0
  17. package/build/client/_app/immutable/chunks/BibVzDzi.js.br +0 -0
  18. package/build/client/_app/immutable/chunks/BibVzDzi.js.gz +0 -0
  19. package/build/client/_app/immutable/chunks/Bkw3PGRZ.js +1 -0
  20. package/build/client/_app/immutable/chunks/Bkw3PGRZ.js.br +0 -0
  21. package/build/client/_app/immutable/chunks/Bkw3PGRZ.js.gz +0 -0
  22. package/build/client/_app/immutable/chunks/BluFOEII.js +1 -0
  23. package/build/client/_app/immutable/chunks/BluFOEII.js.br +0 -0
  24. package/build/client/_app/immutable/chunks/BluFOEII.js.gz +0 -0
  25. package/build/client/_app/immutable/chunks/BsdqNIzs.js +2 -0
  26. package/build/client/_app/immutable/chunks/BsdqNIzs.js.br +0 -0
  27. package/build/client/_app/immutable/chunks/BsdqNIzs.js.gz +0 -0
  28. package/build/client/_app/immutable/chunks/BvMe0CAy.js +1 -0
  29. package/build/client/_app/immutable/chunks/BvMe0CAy.js.br +0 -0
  30. package/build/client/_app/immutable/chunks/BvMe0CAy.js.gz +0 -0
  31. package/build/client/_app/immutable/chunks/C4xeFnmM.js +6 -0
  32. package/build/client/_app/immutable/chunks/C4xeFnmM.js.br +0 -0
  33. package/build/client/_app/immutable/chunks/C4xeFnmM.js.gz +0 -0
  34. package/build/client/_app/immutable/chunks/CMxvl4ro.js +1 -0
  35. package/build/client/_app/immutable/chunks/CMxvl4ro.js.br +0 -0
  36. package/build/client/_app/immutable/chunks/CMxvl4ro.js.gz +0 -0
  37. package/build/client/_app/immutable/chunks/CPtOQUf4.js +1 -0
  38. package/build/client/_app/immutable/chunks/CPtOQUf4.js.br +0 -0
  39. package/build/client/_app/immutable/chunks/CPtOQUf4.js.gz +0 -0
  40. package/build/client/_app/immutable/chunks/CSwPrAdS.js +7 -0
  41. package/build/client/_app/immutable/chunks/CSwPrAdS.js.br +0 -0
  42. package/build/client/_app/immutable/chunks/CSwPrAdS.js.gz +0 -0
  43. package/build/client/_app/immutable/chunks/CbmbVaIW.js +3 -0
  44. package/build/client/_app/immutable/chunks/CbmbVaIW.js.br +0 -0
  45. package/build/client/_app/immutable/chunks/CbmbVaIW.js.gz +0 -0
  46. package/build/client/_app/immutable/chunks/CcozSckj.js +3 -0
  47. package/build/client/_app/immutable/chunks/CcozSckj.js.br +0 -0
  48. package/build/client/_app/immutable/chunks/CcozSckj.js.gz +0 -0
  49. package/build/client/_app/immutable/chunks/CmZVbOR4.js +3 -0
  50. package/build/client/_app/immutable/chunks/CmZVbOR4.js.br +0 -0
  51. package/build/client/_app/immutable/chunks/CmZVbOR4.js.gz +0 -0
  52. package/build/client/_app/immutable/chunks/CvanHYIf.js +6 -0
  53. package/build/client/_app/immutable/chunks/CvanHYIf.js.br +0 -0
  54. package/build/client/_app/immutable/chunks/CvanHYIf.js.gz +0 -0
  55. package/build/client/_app/immutable/chunks/D0nAtkO-.js +1 -0
  56. package/build/client/_app/immutable/chunks/D0nAtkO-.js.br +0 -0
  57. package/build/client/_app/immutable/chunks/D0nAtkO-.js.gz +0 -0
  58. package/build/client/_app/immutable/chunks/DGJo3Lhf.js +7 -0
  59. package/build/client/_app/immutable/chunks/DGJo3Lhf.js.br +0 -0
  60. package/build/client/_app/immutable/chunks/DGJo3Lhf.js.gz +0 -0
  61. package/build/client/_app/immutable/chunks/DjQDLTZV.js +8 -0
  62. package/build/client/_app/immutable/chunks/DjQDLTZV.js.br +0 -0
  63. package/build/client/_app/immutable/chunks/DjQDLTZV.js.gz +0 -0
  64. package/build/client/_app/immutable/chunks/DmKYLYgo.js +1 -0
  65. package/build/client/_app/immutable/chunks/DmKYLYgo.js.br +3 -0
  66. package/build/client/_app/immutable/chunks/DmKYLYgo.js.gz +0 -0
  67. package/build/client/_app/immutable/chunks/F7BitAdB.js +1 -0
  68. package/build/client/_app/immutable/chunks/F7BitAdB.js.br +0 -0
  69. package/build/client/_app/immutable/chunks/F7BitAdB.js.gz +0 -0
  70. package/build/client/_app/immutable/chunks/PZjT0bff.js +2 -0
  71. package/build/client/_app/immutable/chunks/PZjT0bff.js.br +0 -0
  72. package/build/client/_app/immutable/chunks/PZjT0bff.js.gz +0 -0
  73. package/build/client/_app/immutable/chunks/pJHSo6kp.js +1 -0
  74. package/build/client/_app/immutable/chunks/pJHSo6kp.js.br +0 -0
  75. package/build/client/_app/immutable/chunks/pJHSo6kp.js.gz +0 -0
  76. package/build/client/_app/immutable/entry/app.BEVTeWl_.js +2 -0
  77. package/build/client/_app/immutable/entry/app.BEVTeWl_.js.br +0 -0
  78. package/build/client/_app/immutable/entry/app.BEVTeWl_.js.gz +0 -0
  79. package/build/client/_app/immutable/entry/start.B_zLgH-7.js +1 -0
  80. package/build/client/_app/immutable/entry/start.B_zLgH-7.js.br +0 -0
  81. package/build/client/_app/immutable/entry/start.B_zLgH-7.js.gz +0 -0
  82. package/build/client/_app/immutable/nodes/0.DWOnpVn0.js +9 -0
  83. package/build/client/_app/immutable/nodes/0.DWOnpVn0.js.br +0 -0
  84. package/build/client/_app/immutable/nodes/0.DWOnpVn0.js.gz +0 -0
  85. package/build/client/_app/immutable/nodes/1.CN2v_fe8.js +1 -0
  86. package/build/client/_app/immutable/nodes/1.CN2v_fe8.js.br +0 -0
  87. package/build/client/_app/immutable/nodes/1.CN2v_fe8.js.gz +0 -0
  88. package/build/client/_app/immutable/nodes/10.ClxDWiUw.js +10 -0
  89. package/build/client/_app/immutable/nodes/10.ClxDWiUw.js.br +0 -0
  90. package/build/client/_app/immutable/nodes/10.ClxDWiUw.js.gz +0 -0
  91. package/build/client/_app/immutable/nodes/11.CJNWFYtG.js +9 -0
  92. package/build/client/_app/immutable/nodes/11.CJNWFYtG.js.br +0 -0
  93. package/build/client/_app/immutable/nodes/11.CJNWFYtG.js.gz +0 -0
  94. package/build/client/_app/immutable/nodes/12.08IYWybD.js +11 -0
  95. package/build/client/_app/immutable/nodes/12.08IYWybD.js.br +0 -0
  96. package/build/client/_app/immutable/nodes/12.08IYWybD.js.gz +0 -0
  97. package/build/client/_app/immutable/nodes/13.CmeSdlW7.js +2 -0
  98. package/build/client/_app/immutable/nodes/13.CmeSdlW7.js.br +0 -0
  99. package/build/client/_app/immutable/nodes/13.CmeSdlW7.js.gz +0 -0
  100. package/build/client/_app/immutable/nodes/14.DtGmNzuK.js +6 -0
  101. package/build/client/_app/immutable/nodes/14.DtGmNzuK.js.br +0 -0
  102. package/build/client/_app/immutable/nodes/14.DtGmNzuK.js.gz +0 -0
  103. package/build/client/_app/immutable/nodes/15.CIkJE_rr.js +1 -0
  104. package/build/client/_app/immutable/nodes/15.CIkJE_rr.js.br +0 -0
  105. package/build/client/_app/immutable/nodes/15.CIkJE_rr.js.gz +0 -0
  106. package/build/client/_app/immutable/nodes/16.BhhZ95af.js +10 -0
  107. package/build/client/_app/immutable/nodes/16.BhhZ95af.js.br +0 -0
  108. package/build/client/_app/immutable/nodes/16.BhhZ95af.js.gz +0 -0
  109. package/build/client/_app/immutable/nodes/17.DL1xc7wD.js +1 -0
  110. package/build/client/_app/immutable/nodes/17.DL1xc7wD.js.br +0 -0
  111. package/build/client/_app/immutable/nodes/17.DL1xc7wD.js.gz +0 -0
  112. package/build/client/_app/immutable/nodes/18.DmVUJVOz.js +3 -0
  113. package/build/client/_app/immutable/nodes/18.DmVUJVOz.js.br +0 -0
  114. package/build/client/_app/immutable/nodes/18.DmVUJVOz.js.gz +0 -0
  115. package/build/client/_app/immutable/nodes/19.Be83ohj-.js +1 -0
  116. package/build/client/_app/immutable/nodes/19.Be83ohj-.js.br +0 -0
  117. package/build/client/_app/immutable/nodes/19.Be83ohj-.js.gz +0 -0
  118. package/build/client/_app/immutable/nodes/2.Dei7URVD.js +29 -0
  119. package/build/client/_app/immutable/nodes/2.Dei7URVD.js.br +0 -0
  120. package/build/client/_app/immutable/nodes/2.Dei7URVD.js.gz +0 -0
  121. package/build/client/_app/immutable/nodes/20.Bnwy1ojb.js +14 -0
  122. package/build/client/_app/immutable/nodes/20.Bnwy1ojb.js.br +0 -0
  123. package/build/client/_app/immutable/nodes/20.Bnwy1ojb.js.gz +0 -0
  124. package/build/client/_app/immutable/nodes/21.C6UrplOh.js +150 -0
  125. package/build/client/_app/immutable/nodes/21.C6UrplOh.js.br +0 -0
  126. package/build/client/_app/immutable/nodes/21.C6UrplOh.js.gz +0 -0
  127. package/build/client/_app/immutable/nodes/22.DhX3__pD.js +3 -0
  128. package/build/client/_app/immutable/nodes/22.DhX3__pD.js.br +0 -0
  129. package/build/client/_app/immutable/nodes/22.DhX3__pD.js.gz +0 -0
  130. package/build/client/_app/immutable/nodes/23.DaEanH5S.js +2 -0
  131. package/build/client/_app/immutable/nodes/23.DaEanH5S.js.br +0 -0
  132. package/build/client/_app/immutable/nodes/23.DaEanH5S.js.gz +0 -0
  133. package/build/client/_app/immutable/nodes/24.5gqzcMEr.js +25 -0
  134. package/build/client/_app/immutable/nodes/24.5gqzcMEr.js.br +0 -0
  135. package/build/client/_app/immutable/nodes/24.5gqzcMEr.js.gz +0 -0
  136. package/build/client/_app/immutable/nodes/25.BJjYctck.js +5 -0
  137. package/build/client/_app/immutable/nodes/25.BJjYctck.js.br +0 -0
  138. package/build/client/_app/immutable/nodes/25.BJjYctck.js.gz +0 -0
  139. package/build/client/_app/immutable/nodes/26.BlgV68Xy.js +18 -0
  140. package/build/client/_app/immutable/nodes/26.BlgV68Xy.js.br +0 -0
  141. package/build/client/_app/immutable/nodes/26.BlgV68Xy.js.gz +0 -0
  142. package/build/client/_app/immutable/nodes/28.DGRPwaIE.js +4 -0
  143. package/build/client/_app/immutable/nodes/28.DGRPwaIE.js.br +0 -0
  144. package/build/client/_app/immutable/nodes/28.DGRPwaIE.js.gz +0 -0
  145. package/build/client/_app/immutable/nodes/3.B21Ur4tq.js +2 -0
  146. package/build/client/_app/immutable/nodes/3.B21Ur4tq.js.br +0 -0
  147. package/build/client/_app/immutable/nodes/3.B21Ur4tq.js.gz +0 -0
  148. package/build/client/_app/immutable/nodes/30.rjUS0k79.js +6 -0
  149. package/build/client/_app/immutable/nodes/30.rjUS0k79.js.br +0 -0
  150. package/build/client/_app/immutable/nodes/30.rjUS0k79.js.gz +0 -0
  151. package/build/client/_app/immutable/nodes/31.Cemcn08E.js +8 -0
  152. package/build/client/_app/immutable/nodes/31.Cemcn08E.js.br +0 -0
  153. package/build/client/_app/immutable/nodes/31.Cemcn08E.js.gz +0 -0
  154. package/build/client/_app/immutable/nodes/32.CXNm07kA.js +2 -0
  155. package/build/client/_app/immutable/nodes/32.CXNm07kA.js.br +0 -0
  156. package/build/client/_app/immutable/nodes/32.CXNm07kA.js.gz +0 -0
  157. package/build/client/_app/immutable/nodes/33.DuTjIaEy.js +5 -0
  158. package/build/client/_app/immutable/nodes/33.DuTjIaEy.js.br +0 -0
  159. package/build/client/_app/immutable/nodes/33.DuTjIaEy.js.gz +0 -0
  160. package/build/client/_app/immutable/nodes/34.-3pvTe0R.js +4 -0
  161. package/build/client/_app/immutable/nodes/34.-3pvTe0R.js.br +0 -0
  162. package/build/client/_app/immutable/nodes/34.-3pvTe0R.js.gz +0 -0
  163. package/build/client/_app/immutable/nodes/35.C4ZCiLgI.js +3 -0
  164. package/build/client/_app/immutable/nodes/35.C4ZCiLgI.js.br +0 -0
  165. package/build/client/_app/immutable/nodes/35.C4ZCiLgI.js.gz +0 -0
  166. package/build/client/_app/immutable/nodes/36.BLp9e3W6.js +5 -0
  167. package/build/client/_app/immutable/nodes/36.BLp9e3W6.js.br +0 -0
  168. package/build/client/_app/immutable/nodes/36.BLp9e3W6.js.gz +0 -0
  169. package/build/client/_app/immutable/nodes/37.DhRNXjDd.js +7 -0
  170. package/build/client/_app/immutable/nodes/37.DhRNXjDd.js.br +0 -0
  171. package/build/client/_app/immutable/nodes/37.DhRNXjDd.js.gz +0 -0
  172. package/build/client/_app/immutable/nodes/38.BiKdq0ev.js +2 -0
  173. package/build/client/_app/immutable/nodes/38.BiKdq0ev.js.br +0 -0
  174. package/build/client/_app/immutable/nodes/38.BiKdq0ev.js.gz +0 -0
  175. package/build/client/_app/immutable/nodes/39.58vzFuSr.js +4 -0
  176. package/build/client/_app/immutable/nodes/39.58vzFuSr.js.br +0 -0
  177. package/build/client/_app/immutable/nodes/39.58vzFuSr.js.gz +0 -0
  178. package/build/client/_app/immutable/nodes/4.DAz_n3hx.js +5 -0
  179. package/build/client/_app/immutable/nodes/4.DAz_n3hx.js.br +0 -0
  180. package/build/client/_app/immutable/nodes/4.DAz_n3hx.js.gz +0 -0
  181. package/build/client/_app/immutable/nodes/40.NyeaADdR.js +7 -0
  182. package/build/client/_app/immutable/nodes/40.NyeaADdR.js.br +0 -0
  183. package/build/client/_app/immutable/nodes/40.NyeaADdR.js.gz +0 -0
  184. package/build/client/_app/immutable/nodes/41.DV9DTPzh.js +6 -0
  185. package/build/client/_app/immutable/nodes/41.DV9DTPzh.js.br +0 -0
  186. package/build/client/_app/immutable/nodes/41.DV9DTPzh.js.gz +0 -0
  187. package/build/client/_app/immutable/nodes/42.BLq12sw9.js +24 -0
  188. package/build/client/_app/immutable/nodes/42.BLq12sw9.js.br +0 -0
  189. package/build/client/_app/immutable/nodes/42.BLq12sw9.js.gz +0 -0
  190. package/build/client/_app/immutable/nodes/43.CM8cwn69.js +1 -0
  191. package/build/client/_app/immutable/nodes/43.CM8cwn69.js.br +0 -0
  192. package/build/client/_app/immutable/nodes/43.CM8cwn69.js.gz +0 -0
  193. package/build/client/_app/immutable/nodes/45.CxgQHcu_.js +6 -0
  194. package/build/client/_app/immutable/nodes/45.CxgQHcu_.js.br +0 -0
  195. package/build/client/_app/immutable/nodes/45.CxgQHcu_.js.gz +0 -0
  196. package/build/client/_app/immutable/nodes/5.CJsNnfQH.js +1 -0
  197. package/build/client/_app/immutable/nodes/5.CJsNnfQH.js.br +0 -0
  198. package/build/client/_app/immutable/nodes/5.CJsNnfQH.js.gz +0 -0
  199. package/build/client/_app/immutable/nodes/6.Dcmn8g5_.js +6 -0
  200. package/build/client/_app/immutable/nodes/6.Dcmn8g5_.js.br +0 -0
  201. package/build/client/_app/immutable/nodes/6.Dcmn8g5_.js.gz +0 -0
  202. package/build/client/_app/immutable/nodes/9.rKmJkbjQ.js +3 -0
  203. package/build/client/_app/immutable/nodes/9.rKmJkbjQ.js.br +0 -0
  204. package/build/client/_app/immutable/nodes/9.rKmJkbjQ.js.gz +0 -0
  205. package/build/client/_app/version.json +1 -1
  206. package/build/client/_app/version.json.br +0 -0
  207. package/build/client/_app/version.json.gz +0 -0
  208. package/build/handler.js +6 -6
  209. package/build/index.js +6 -6
  210. package/build/server/chunks/chunks/Activity.js-BQcz6IuL.js +46 -0
  211. package/build/server/chunks/chunks/AlreadyRemote.js-DP634YTf.js +38 -0
  212. package/build/server/chunks/chunks/ChecksStrip.js-4dZFhS6Z.js +62 -0
  213. package/build/server/chunks/chunks/ConsoleWindow.js-DBZwnXE9.js +103 -0
  214. package/build/server/chunks/chunks/DecisionForm.js-mmvYBY0J.js +744 -0
  215. package/build/server/chunks/chunks/DecisionsBadge.js-DsKjtDfo.js +79 -0
  216. package/build/server/chunks/chunks/Discussion.js-BlmpapLq.js +582 -0
  217. package/build/server/chunks/chunks/DocChip.js-CEv8IRQi.js +79 -0
  218. package/build/server/chunks/chunks/DocSheet.js-DCkwGiPG.js +64 -0
  219. package/build/server/chunks/chunks/EtaLine.js-CK7Jj2Vj.js +41 -0
  220. package/build/server/chunks/chunks/EveryProjectSwitch.js-Cta91_Ak.js +35 -0
  221. package/build/server/chunks/chunks/Icon.js-Dq5f8WJC.js +129 -0
  222. package/build/server/chunks/chunks/InsightsNav.js-WRK2Qge0.js +23 -0
  223. package/build/server/chunks/chunks/InstallFromGitHub.js-DwWXhQW8.js +272 -0
  224. package/build/server/chunks/chunks/InstallPlugin.js-DMrkflgT.js +18 -0
  225. package/build/server/chunks/chunks/Lightbox.js-C4MGOV-v.js +37 -0
  226. package/build/server/chunks/chunks/LinkedText.js-Ddo3y1zk.js +24 -0
  227. package/build/server/chunks/chunks/LiveDocPicker.js-CVXK6p4j.js +1309 -0
  228. package/build/server/chunks/chunks/LivePreview.js-B8b6LNX2.js +208 -0
  229. package/build/server/chunks/chunks/MateHealthPill.js-CH7dvKJa.js +29 -0
  230. package/build/server/chunks/chunks/MenuButton.js-BVQXOXA0.js +4005 -0
  231. package/build/server/chunks/chunks/PluginElement.js-B3B4krkl.js +25 -0
  232. package/build/server/chunks/chunks/PluginReview.js-Z0Gm_EIK.js +110 -0
  233. package/build/server/chunks/chunks/PreviewWindow.js-BP40qO6g.js +966 -0
  234. package/build/server/chunks/chunks/ProjectBanner.js-Cmi6LI_E.js +145 -0
  235. package/build/server/chunks/chunks/ResizableRail.js-CgBGt61n.js +37 -0
  236. package/build/server/chunks/chunks/SavedNote.js-DclPBdzb.js +130 -0
  237. package/build/server/chunks/chunks/SettingsNav.js-Dr5U43Pl.js +41 -0
  238. package/build/server/chunks/chunks/SlotContent.js-BoKc0pGT.js +691 -0
  239. package/build/server/chunks/chunks/StateIcon.js-B7LsehP3.js +70 -0
  240. package/build/server/chunks/chunks/Switch.js-BG4Vqs37.js +21 -0
  241. package/build/server/chunks/chunks/TaskView.js-iOzhanAw.js +3109 -0
  242. package/build/server/chunks/chunks/TimeBar.js-zm3N_dra.js +32 -0
  243. package/build/server/chunks/chunks/TimeLegend.js-gEUJ2XTJ.js +29 -0
  244. package/build/server/chunks/chunks/VaultAdd.js-hDiLA7jH.js +146 -0
  245. package/build/server/chunks/chunks/WhereBadge.js-CbodYbrO.js +91 -0
  246. package/build/server/chunks/chunks/anchor.js-Ceer6s3Y.js +20 -0
  247. package/build/server/chunks/chunks/arrow-down.js-BYoCVFgK.js +18 -0
  248. package/build/server/chunks/chunks/arrow-left.js-Dr-76ws3.js +18 -0
  249. package/build/server/chunks/chunks/arrow-right.js-C91zwsy_.js +18 -0
  250. package/build/server/chunks/chunks/arrow-up-right.js-CLUzACAf.js +18 -0
  251. package/build/server/chunks/chunks/arrow-up.js-Dz1QwPDb.js +18 -0
  252. package/build/server/chunks/chunks/bell-off.js-DbW8qbjt.js +30 -0
  253. package/build/server/chunks/chunks/bell2.js-ClbLn2zF.js +23 -0
  254. package/build/server/chunks/chunks/book-open.js-B0wHVV-_.js +23 -0
  255. package/build/server/chunks/chunks/button.js-B1kWma13.js +4027 -0
  256. package/build/server/chunks/chunks/chat.svelte.js-CALOUbjW.js +417 -0
  257. package/build/server/chunks/chunks/check.js-BkWCdkXD.js +15 -0
  258. package/build/server/chunks/chunks/chevron-down.js-B09nKDFt.js +15 -0
  259. package/build/server/chunks/chunks/chevron-left.js-GycDsJrq.js +15 -0
  260. package/build/server/chunks/chunks/chevron-right.js-Cq-R4IlB.js +15 -0
  261. package/build/server/chunks/chunks/circle-alert.js-Aejrf9Yc.js +23 -0
  262. package/build/server/chunks/chunks/circle-arrow-up.js-7ZuoQPX_.js +20 -0
  263. package/build/server/chunks/chunks/circle-check.js-C9DAM2IS.js +19 -0
  264. package/build/server/chunks/chunks/circle-dashed.js-CL9rxe3m.js +24 -0
  265. package/build/server/chunks/chunks/circle-dot.js-DyOsedXs.js +18 -0
  266. package/build/server/chunks/chunks/circle-question-mark.js-DXPQiyGE.js +20 -0
  267. package/build/server/chunks/chunks/circle-x.js-kjXiKcCS.js +20 -0
  268. package/build/server/chunks/chunks/client.js-KkkQ0NiE.js +29 -0
  269. package/build/server/chunks/chunks/clock.js-DMhSqKrx.js +18 -0
  270. package/build/server/chunks/chunks/cloud2.js-Y7ZUkUMH.js +20 -0
  271. package/build/server/chunks/chunks/copy.js-CW8RQs3u.js +33 -0
  272. package/build/server/chunks/chunks/decisiondrafts.svelte.js-BFLE9Snp.js +43 -0
  273. package/build/server/chunks/chunks/detail.js-B56yjbhv.js +149 -0
  274. package/build/server/chunks/chunks/dialog-close.js-R-Dczj3D.js +42 -0
  275. package/build/server/chunks/chunks/dialog-content.js-DpU5BLn1.js +3386 -0
  276. package/build/server/chunks/chunks/dialog.js-jCA1YAPx.js +362 -0
  277. package/build/server/chunks/chunks/external-link.js-W-tedc96.js +24 -0
  278. package/build/server/chunks/chunks/eye.js-6unkUdb5.js +23 -0
  279. package/build/server/chunks/chunks/feedback.js-vm4-2P-t.js +67 -0
  280. package/build/server/chunks/chunks/file-text.js-DwFrdTnd.js +26 -0
  281. package/build/server/chunks/chunks/folder.js-B-T4QpOZ.js +22 -0
  282. package/build/server/chunks/chunks/git-commit-horizontal.js-Dp9w16q6.js +20 -0
  283. package/build/server/chunks/chunks/git-pull-request.js-DIscpMXn.js +20 -0
  284. package/build/server/chunks/chunks/hand.js-Day3MI8c.js +25 -0
  285. package/build/server/chunks/chunks/helperprogram.js-DiMsU5x-.js +37 -0
  286. package/build/server/chunks/chunks/index-server2.js-CTlXrCNp.js +17 -0
  287. package/build/server/chunks/chunks/index.js-B064dep-.js +1524 -0
  288. package/build/server/chunks/chunks/index2.js-By75-HTO.js +40 -0
  289. package/build/server/chunks/chunks/insights.svelte.js-xLiIHF-N.js +567 -0
  290. package/build/server/chunks/chunks/internal.js-DraW7XEO.js +151 -0
  291. package/build/server/chunks/chunks/key-round.js-B_hyVwtf.js +26 -0
  292. package/build/server/chunks/chunks/library-big.js-BFDb5rnG.js +27 -0
  293. package/build/server/chunks/chunks/list.js-CP4RO_di.js +22 -0
  294. package/build/server/chunks/chunks/live.svelte.js-BPIask_1.js +217 -0
  295. package/build/server/chunks/chunks/livereview.svelte.js-CFFO24ct.js +58 -0
  296. package/build/server/chunks/chunks/loader-circle.js-twWwJkSP.js +16 -0
  297. package/build/server/chunks/chunks/lock.js-DTDTbk7X.js +28 -0
  298. package/build/server/chunks/chunks/marketplace-service.js-DWq29-SH.js +557 -0
  299. package/build/server/chunks/chunks/maximize-2.js-DYUhO0vZ.js +20 -0
  300. package/build/server/chunks/chunks/message-square.js-CTTi-ygr.js +22 -0
  301. package/build/server/chunks/chunks/messages-square.js-DleBKXhw.js +47 -0
  302. package/build/server/chunks/chunks/minus.js-mrKD-VWg.js +15 -0
  303. package/build/server/chunks/chunks/monitor-play.js-DeJWjF-x.js +28 -0
  304. package/build/server/chunks/chunks/mouse-pointer-click.js-CSb0tzfZ.js +75 -0
  305. package/build/server/chunks/chunks/package-check.js-Cykz6H41.js +26 -0
  306. package/build/server/chunks/chunks/package.js-ffITpC4_.js +160 -0
  307. package/build/server/chunks/chunks/page.js-Bb6-67YH.js +13 -0
  308. package/build/server/chunks/chunks/pause.js-86sq0VP3.js +24 -0
  309. package/build/server/chunks/chunks/pen-line.js-C9zK4W6B.js +24 -0
  310. package/build/server/chunks/chunks/pencil.js-C7u2nW2S.js +23 -0
  311. package/build/server/chunks/chunks/play.js-Cq_NRA2B.js +22 -0
  312. package/build/server/chunks/chunks/plugins.js-CDTOutDw.js +58 -0
  313. package/build/server/chunks/chunks/plus.js-FnNnarTZ.js +15 -0
  314. package/build/server/chunks/chunks/previewhelper2.js-NFpmm9R7.js +373 -0
  315. package/build/server/chunks/chunks/pullrequests.js-DKZXpMm8.js +32 -0
  316. package/build/server/chunks/chunks/puzzle.js-BgekLiuH.js +22 -0
  317. package/build/server/chunks/chunks/radio-tower.js-BiOdUrun.js +23 -0
  318. package/build/server/chunks/chunks/refresh-cw.js-BUsCX-_s.js +26 -0
  319. package/build/server/chunks/chunks/review.js-kB006fMn.js +176 -0
  320. package/build/server/chunks/chunks/root.js-Cy3qLlCN.js +3105 -0
  321. package/build/server/chunks/chunks/rotate-ccw.js-eFYWeDFl.js +21 -0
  322. package/build/server/chunks/chunks/rotate-cw.js-Uy6J_0Yv.js +21 -0
  323. package/build/server/chunks/chunks/runtime.js-CegNxE1F.js +27477 -0
  324. package/build/server/chunks/chunks/scale.js-B_81Z-hK.js +21 -0
  325. package/build/server/chunks/chunks/scribe.js-C9gUHQ6F.js +1591 -0
  326. package/build/server/chunks/chunks/search.js-BsO59rrL.js +18 -0
  327. package/build/server/chunks/chunks/service.js-GOrwLyk5.js +1339 -0
  328. package/build/server/chunks/chunks/service2.js-Bkt2GdyN.js +884 -0
  329. package/build/server/chunks/chunks/service3.js-CP-EHrFO.js +234 -0
  330. package/build/server/chunks/chunks/settings.js-B1PNbImd.js +379 -0
  331. package/build/server/chunks/chunks/settings2.js-CJdUIScU.js +57 -0
  332. package/build/server/chunks/chunks/shield-check.js-Dn69hsGv.js +23 -0
  333. package/build/server/chunks/chunks/ship.js-rpkTSqT7.js +31 -0
  334. package/build/server/chunks/chunks/sparkles.js-C7dKE1He.js +26 -0
  335. package/build/server/chunks/chunks/square-terminal.js-0SsmPaHm.js +30 -0
  336. package/build/server/chunks/chunks/starter.js-Bl397Tf0.js +400 -0
  337. package/build/server/chunks/chunks/state.svelte.js-_mxV4HMq.js +13 -0
  338. package/build/server/chunks/chunks/thumbs-up.js-Ckzjw0em.js +23 -0
  339. package/build/server/chunks/chunks/trash.js-B5cFbQZD.js +22 -0
  340. package/build/server/chunks/chunks/triangle-alert.js-BZHcsGU_.js +25 -0
  341. package/build/server/chunks/chunks/utils3.js-wyTrgWzn.js +3290 -0
  342. package/build/server/chunks/chunks/view.js-CX4jn6HF.js +76 -0
  343. package/build/server/chunks/chunks/volume-2.js-td7E9wTE.js +24 -0
  344. package/build/server/chunks/chunks/x.js-D3tMXT9h.js +18 -0
  345. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-BaKXOGNE.js +116 -0
  346. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-iFPJpBET.js +112 -0
  347. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-BKCgEWBN.js +63 -0
  348. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-CxkEgYlx.js +79 -0
  349. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-Da8xtdQ1.js +83 -0
  350. package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-CPKKbHVR.js +68 -0
  351. package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-BDezWE9k.js +73 -0
  352. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-Bgqc1T7L.js +158 -0
  353. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BXW20EU0.js +75 -0
  354. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CrzBQmSj.js +111 -0
  355. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BZpEQqGd.js +87 -0
  356. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-C2otNPce.js +77 -0
  357. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CFKncdjq.js +70 -0
  358. package/build/server/chunks/entries/endpoints/api/firstmate/cleared/_server.ts.js-0_1biCN1.js +90 -0
  359. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-DgAKZSvs.js +70 -0
  360. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-BxqxJcmz.js +71 -0
  361. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-C8PVcFHi.js +77 -0
  362. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Xr4tNLPE.js +70 -0
  363. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-BzSktCy1.js +119 -0
  364. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-BcVK44h1.js +80 -0
  365. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-4TkhXt_p.js +91 -0
  366. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-CkcBwlS8.js +79 -0
  367. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-BKmctJJO.js +70 -0
  368. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-C_Jdr8ev.js +62 -0
  369. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-EkTeVExf.js +62 -0
  370. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BRd8SP32.js +89 -0
  371. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-D3inUBn_.js +87 -0
  372. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-MSRJf8la.js +80 -0
  373. package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-kqYR9p_H.js +173 -0
  374. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-D0saAe-r.js +62 -0
  375. package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-tIf29Qd1.js +71 -0
  376. package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-BJD3amhZ.js +72 -0
  377. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-B9mnqjC2.js +91 -0
  378. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BH5mmhVD.js +113 -0
  379. package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-Dq_v8qsD.js +122 -0
  380. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-CvFMQCve.js +76 -0
  381. package/build/server/chunks/entries/endpoints/api/material/_server.ts.js-D9o-9egl.js +82 -0
  382. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CRbkRDEx.js +97 -0
  383. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-E5Z5eSF4.js +86 -0
  384. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-CAXergVD.js +82 -0
  385. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-mt0r3ZQl.js +78 -0
  386. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DjTa28el.js +27 -0
  387. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Cl_eUCbD.js +85 -0
  388. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-CT5wf4z3.js +39 -0
  389. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-4-krxqA_.js +62 -0
  390. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-REP0BiLU.js +39 -0
  391. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-BpI6S0HP.js +42 -0
  392. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-pS0qkiNK.js +67 -0
  393. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-DW-vki3L.js +76 -0
  394. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-Po4NdVfa.js +73 -0
  395. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-ByuJPomQ.js +77 -0
  396. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-C-ByS6Yu.js +27 -0
  397. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-Barisc4O.js +86 -0
  398. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-VR988GC-.js +67 -0
  399. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-C1VEnwf0.js +76 -0
  400. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BmXGMFAC.js +88 -0
  401. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-ARigB4-K.js +75 -0
  402. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-DxGc5JmA.js +98 -0
  403. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-C6_Cx8jW.js +81 -0
  404. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-DEKQlDqD.js +476 -0
  405. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-BjShnsdO.js +92 -0
  406. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-CRZH1GPT.js +71 -0
  407. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DXM_7xiz.js +81 -0
  408. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-CwSc_Drf.js +147 -0
  409. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-BWh2DRnu.js +70 -0
  410. package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-YPIZ43wf.js +84 -0
  411. package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-BntSbf6q.js +70 -0
  412. package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-h79VfB3e.js +73 -0
  413. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-CHDHrXog.js +67 -0
  414. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DdNRbYsx.js +86 -0
  415. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-DqA88lsD.js +113 -0
  416. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-al2fFtsy.js +79 -0
  417. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-DneNf-zl.js +109 -0
  418. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-CQmEWWI1.js +127 -0
  419. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BS64H4VR.js +82 -0
  420. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-cyNog0kX.js +85 -0
  421. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-GdL50Sot.js +85 -0
  422. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-CIwF2RCy.js +24 -0
  423. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-BgDPL8eU.js +31 -0
  424. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-Sx9l7Imh.js +33 -0
  425. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-L4flW2AE.js +97 -0
  426. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-B0jynUi1.js +40 -0
  427. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BS1FnbY0.js +27 -0
  428. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-YIg-Q8Rz.js +27 -0
  429. package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-D2giQqkH.js +78 -0
  430. package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-BuIfNOU5.js +68 -0
  431. package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-iVEKJFSc.js +75 -0
  432. package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-CdZgUY_B.js +88 -0
  433. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-BZfN3Se6.js +66 -0
  434. package/build/server/chunks/entries/fallbacks/error.svelte.js-CuHTYCio.js +16 -0
  435. package/build/server/chunks/entries/hooks.server.js-DiRnK_ez.js +196 -0
  436. package/build/server/chunks/entries/pages/_layout.server.ts.js-DvdFmMYC.js +57 -0
  437. package/build/server/chunks/entries/pages/_layout.svelte.js-BOogbjYW.js +6294 -0
  438. package/build/server/chunks/entries/pages/_page.server.ts.js-Cpop83Vx.js +16 -0
  439. package/build/server/chunks/entries/pages/_page.svelte.js-BekscSYN.js +4595 -0
  440. package/build/server/chunks/entries/pages/crew/_page.svelte.js-B1pqZQC1.js +115 -0
  441. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CC1oolSQ.js +14 -0
  442. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-CweUwtpd.js +226 -0
  443. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-CVrLb4he.js +16 -0
  444. package/build/server/chunks/entries/pages/deck/_page.svelte.js-CZpSGhxe.js +96 -0
  445. package/build/server/chunks/entries/pages/documents/_page.server.ts.js-DG8Ik0yO.js +15 -0
  446. package/build/server/chunks/entries/pages/documents/_page.svelte.js-DuMMqBgD.js +560 -0
  447. package/build/server/chunks/entries/pages/files/_page.server.ts.js-CDP3Zyqq.js +17 -0
  448. package/build/server/chunks/entries/pages/files/_page.svelte.js-BaXMvs88.js +62 -0
  449. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-BiXp6kJt.js +1011 -0
  450. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-TyaVAru_.js +11 -0
  451. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-BIUaUSo0.js +296 -0
  452. package/build/server/chunks/entries/pages/health/_page.server.ts.js-CaT1g_5g.js +16 -0
  453. package/build/server/chunks/entries/pages/health/_page.svelte.js-BGbMkRp_.js +518 -0
  454. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DyEd_KfC.js +18 -0
  455. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-UUPZtu3p.js +902 -0
  456. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-zm3jGQ49.js +18 -0
  457. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.svelte.js-Bwzmsu5T.js +162 -0
  458. package/build/server/chunks/entries/pages/more/_page.svelte.js-BH9uMJ7x.js +157 -0
  459. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CjBjdYKs.js +678 -0
  460. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-t2DD5DrY.js +16 -0
  461. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-DzRfU0qd.js +62 -0
  462. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-BoQTaaAf.js +23 -0
  463. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-pP6ieypk.js +938 -0
  464. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-Yd3J531V.js +21 -0
  465. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-DUeNJ-yB.js +84 -0
  466. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-Dqq1bA_z.js +27 -0
  467. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CsQpUw2t.js +421 -0
  468. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-B3mBcO-2.js +15 -0
  469. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-B4ne6a8n.js +1839 -0
  470. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-BqCXEktX.js +25 -0
  471. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.svelte.js-rac1y2Hs.js +106 -0
  472. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-CP5ZI2ro.js +37 -0
  473. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.svelte.js-BuoMy6nD.js +438 -0
  474. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-vI86N0W_.js +11 -0
  475. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-BUzprJjJ.js +349 -0
  476. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-Cia3S59K.js +420 -0
  477. package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-C0OHICbd.js +60 -0
  478. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-CrMWkTKU.js +18 -0
  479. package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-BVev_tUV.js +77 -0
  480. package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-BSe7GRAM.js +15 -0
  481. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-McQaNNS7.js +19 -0
  482. package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-CpDnLvzL.js +148 -0
  483. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-BzEO7gWr.js +16 -0
  484. package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-BYVEGNo4.js +111 -0
  485. package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-CY7BEPXb.js +83 -0
  486. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-CnP9NlIK.js +797 -0
  487. package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-D_RzawpK.js +254 -0
  488. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-B_2YKRVJ.js +11 -0
  489. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-szSNiJwy.js +262 -0
  490. package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-BYKTDC9b.js +126 -0
  491. package/build/server/chunks/entries/pages/settings/material/_page.server.ts.js-DO03fBYR.js +11 -0
  492. package/build/server/chunks/entries/pages/settings/material/_page.svelte.js-C5_3SmyO.js +89 -0
  493. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-D0C0sN7H.js +19 -0
  494. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-DO4L5Mcx.js +567 -0
  495. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-CczzdFAE.js +17 -0
  496. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-f3xm5oXR.js +240 -0
  497. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-DkNE4QVO.js +11 -0
  498. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-BZFwwUvF.js +56 -0
  499. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-oagbttr1.js +11 -0
  500. package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-B0gMQuNG.js +62 -0
  501. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-B-seJiRw.js +15 -0
  502. package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-DsaqE__h.js +162 -0
  503. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BuuZ2d7C.js +18 -0
  504. package/build/server/chunks/entries/pages/setup/_page.svelte.js-BzHeDMwo.js +1625 -0
  505. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DaMl9pOY.js +36 -0
  506. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CpsAZcyj.js +123 -0
  507. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DWBial3c.js +24 -0
  508. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-hJfciswv.js +81 -0
  509. package/build/server/chunks/entries/pages/time/_page.server.ts.js-BWVof_Ah.js +11 -0
  510. package/build/server/chunks/entries/pages/time/_page.svelte.js-CurF8-VL.js +109 -0
  511. package/build/server/chunks/handler-DUYoi1Wq.js +1474 -0
  512. package/build/server/chunks/index.js-BKS0ibxY.js +4296 -0
  513. package/build/server/chunks/manifest.js-CAybfW9-.js +1072 -0
  514. package/build/server/chunks/nodes/0.js-BwCyH-R2.js +69 -0
  515. package/build/server/chunks/nodes/1.js-DFpjyasq.js +9 -0
  516. package/build/server/chunks/nodes/10.js-_NwR387k.js +67 -0
  517. package/build/server/chunks/nodes/11.js-D7GMyZsT.js +69 -0
  518. package/build/server/chunks/nodes/12.js-Fd-yhn1C.js +68 -0
  519. package/build/server/chunks/nodes/13.js-DeQyjU9o.js +69 -0
  520. package/build/server/chunks/nodes/14.js-DbyDOXBc.js +12 -0
  521. package/build/server/chunks/nodes/15.js-B5B-mRGI.js +9 -0
  522. package/build/server/chunks/nodes/16.js-D5DLyhJ5.js +9 -0
  523. package/build/server/chunks/nodes/17.js-CgCi46M2.js +67 -0
  524. package/build/server/chunks/nodes/18.js-DNLXQopz.js +70 -0
  525. package/build/server/chunks/nodes/19.js-DOftyF4J.js +68 -0
  526. package/build/server/chunks/nodes/2.js-vkPnoN9d.js +67 -0
  527. package/build/server/chunks/nodes/20.js-BWTzVff8.js +69 -0
  528. package/build/server/chunks/nodes/21.js-5z6_cGAD.js +68 -0
  529. package/build/server/chunks/nodes/22.js-BW2QnKMB.js +69 -0
  530. package/build/server/chunks/nodes/23.js-RUEoK_GO.js +69 -0
  531. package/build/server/chunks/nodes/24.js-D2Z8ayjl.js +25 -0
  532. package/build/server/chunks/nodes/25.js-Cx2R16ue.js +25 -0
  533. package/build/server/chunks/nodes/26.js-ITg_IPkx.js +9 -0
  534. package/build/server/chunks/nodes/28.js-Fo5dZ8cr.js +67 -0
  535. package/build/server/chunks/nodes/29.js-BcdbsVwx.js +18 -0
  536. package/build/server/chunks/nodes/3.js-ByvKpy7V.js +9 -0
  537. package/build/server/chunks/nodes/30.js-DXKPJYB_.js +68 -0
  538. package/build/server/chunks/nodes/31.js-C9aX-cmd.js +67 -0
  539. package/build/server/chunks/nodes/32.js-CM1XK3-Z.js +25 -0
  540. package/build/server/chunks/nodes/33.js-BbZm8M7u.js +67 -0
  541. package/build/server/chunks/nodes/34.js-BTbl4RDK.js +25 -0
  542. package/build/server/chunks/nodes/35.js-ChZYbE4u.js +22 -0
  543. package/build/server/chunks/nodes/36.js-kMzVrcdU.js +67 -0
  544. package/build/server/chunks/nodes/37.js-BcLY8Dor.js +67 -0
  545. package/build/server/chunks/nodes/38.js-CkawP8OR.js +70 -0
  546. package/build/server/chunks/nodes/39.js-Cg_vf-Tz.js +70 -0
  547. package/build/server/chunks/nodes/4.js-Duh3cwnO.js +68 -0
  548. package/build/server/chunks/nodes/40.js-B2RjSW_b.js +26 -0
  549. package/build/server/chunks/nodes/41.js-B_ZVUaVK.js +69 -0
  550. package/build/server/chunks/nodes/42.js-DCMTIMIt.js +72 -0
  551. package/build/server/chunks/nodes/43.js-DWyq84Rr.js +68 -0
  552. package/build/server/chunks/nodes/44.js-BeCoHr2W.js +68 -0
  553. package/build/server/chunks/nodes/45.js-DnP3aYAl.js +67 -0
  554. package/build/server/chunks/nodes/5.js-B52qMNIs.js +67 -0
  555. package/build/server/chunks/nodes/6.js-BAHpOqy2.js +67 -0
  556. package/build/server/chunks/nodes/8.js-Yrs8aSDJ.js +67 -0
  557. package/build/server/chunks/nodes/9.js-m96dyULe.js +14 -0
  558. package/dist/cli.js +1 -1
  559. package/dist/wh-vault.js +1 -1
  560. package/firstmate-extension/firstmate-extension.json +1 -1
  561. package/package.json +1 -1
  562. package/skills/manage-wheelhouse/references/operations.md +1 -1
  563. package/build/client/_app/immutable/assets/0.9zV4DRBy.css +0 -1
  564. package/build/client/_app/immutable/assets/0.9zV4DRBy.css.br +0 -0
  565. package/build/client/_app/immutable/assets/0.9zV4DRBy.css.gz +0 -0
  566. package/build/client/_app/immutable/chunks/63sNDDqX.js +0 -3
  567. package/build/client/_app/immutable/chunks/63sNDDqX.js.br +0 -0
  568. package/build/client/_app/immutable/chunks/63sNDDqX.js.gz +0 -0
  569. package/build/client/_app/immutable/chunks/BDH7KHim.js +0 -2
  570. package/build/client/_app/immutable/chunks/BDH7KHim.js.br +0 -0
  571. package/build/client/_app/immutable/chunks/BDH7KHim.js.gz +0 -0
  572. package/build/client/_app/immutable/chunks/BeIbQHYZ.js +0 -1
  573. package/build/client/_app/immutable/chunks/BeIbQHYZ.js.br +0 -0
  574. package/build/client/_app/immutable/chunks/BeIbQHYZ.js.gz +0 -0
  575. package/build/client/_app/immutable/chunks/Bf3Y-e3y.js +0 -3
  576. package/build/client/_app/immutable/chunks/Bf3Y-e3y.js.br +0 -0
  577. package/build/client/_app/immutable/chunks/Bf3Y-e3y.js.gz +0 -0
  578. package/build/client/_app/immutable/chunks/Bgxftkg_.js +0 -2
  579. package/build/client/_app/immutable/chunks/Bgxftkg_.js.br +0 -0
  580. package/build/client/_app/immutable/chunks/Bgxftkg_.js.gz +0 -0
  581. package/build/client/_app/immutable/chunks/BrBcPFpJ.js +0 -6
  582. package/build/client/_app/immutable/chunks/BrBcPFpJ.js.br +0 -0
  583. package/build/client/_app/immutable/chunks/BrBcPFpJ.js.gz +0 -0
  584. package/build/client/_app/immutable/chunks/BrjSZGsR.js +0 -1
  585. package/build/client/_app/immutable/chunks/BrjSZGsR.js.br +0 -0
  586. package/build/client/_app/immutable/chunks/BrjSZGsR.js.gz +0 -0
  587. package/build/client/_app/immutable/chunks/C-e5x4fW.js +0 -1
  588. package/build/client/_app/immutable/chunks/C-e5x4fW.js.br +0 -0
  589. package/build/client/_app/immutable/chunks/C-e5x4fW.js.gz +0 -0
  590. package/build/client/_app/immutable/chunks/C5SP7Yqr.js +0 -3
  591. package/build/client/_app/immutable/chunks/C5SP7Yqr.js.br +0 -0
  592. package/build/client/_app/immutable/chunks/C5SP7Yqr.js.gz +0 -0
  593. package/build/client/_app/immutable/chunks/C7b2-reQ.js +0 -1
  594. package/build/client/_app/immutable/chunks/C7b2-reQ.js.br +0 -0
  595. package/build/client/_app/immutable/chunks/C7b2-reQ.js.gz +0 -0
  596. package/build/client/_app/immutable/chunks/CD5Pg5Lq.js +0 -1
  597. package/build/client/_app/immutable/chunks/CD5Pg5Lq.js.br +0 -0
  598. package/build/client/_app/immutable/chunks/CD5Pg5Lq.js.gz +0 -0
  599. package/build/client/_app/immutable/chunks/CHaXhfow.js +0 -1
  600. package/build/client/_app/immutable/chunks/CHaXhfow.js.br +0 -1
  601. package/build/client/_app/immutable/chunks/CHaXhfow.js.gz +0 -0
  602. package/build/client/_app/immutable/chunks/CxMNbSn6.js +0 -1
  603. package/build/client/_app/immutable/chunks/CxMNbSn6.js.br +0 -0
  604. package/build/client/_app/immutable/chunks/CxMNbSn6.js.gz +0 -0
  605. package/build/client/_app/immutable/chunks/DRL7VyP-.js +0 -1
  606. package/build/client/_app/immutable/chunks/DRL7VyP-.js.br +0 -0
  607. package/build/client/_app/immutable/chunks/DRL7VyP-.js.gz +0 -0
  608. package/build/client/_app/immutable/chunks/DWwwaJr0.js +0 -1
  609. package/build/client/_app/immutable/chunks/DWwwaJr0.js.br +0 -0
  610. package/build/client/_app/immutable/chunks/DWwwaJr0.js.gz +0 -0
  611. package/build/client/_app/immutable/chunks/Dbv0PtXK.js +0 -1
  612. package/build/client/_app/immutable/chunks/Dbv0PtXK.js.br +0 -0
  613. package/build/client/_app/immutable/chunks/Dbv0PtXK.js.gz +0 -0
  614. package/build/client/_app/immutable/chunks/Ddu4ICJt.js +0 -7
  615. package/build/client/_app/immutable/chunks/Ddu4ICJt.js.br +0 -0
  616. package/build/client/_app/immutable/chunks/Ddu4ICJt.js.gz +0 -0
  617. package/build/client/_app/immutable/chunks/DxP-w_H5.js +0 -8
  618. package/build/client/_app/immutable/chunks/DxP-w_H5.js.br +0 -0
  619. package/build/client/_app/immutable/chunks/DxP-w_H5.js.gz +0 -0
  620. package/build/client/_app/immutable/chunks/EpdQ7C-U.js +0 -2
  621. package/build/client/_app/immutable/chunks/EpdQ7C-U.js.br +0 -0
  622. package/build/client/_app/immutable/chunks/EpdQ7C-U.js.gz +0 -0
  623. package/build/client/_app/immutable/chunks/HNIRPYlG.js +0 -3
  624. package/build/client/_app/immutable/chunks/HNIRPYlG.js.br +0 -0
  625. package/build/client/_app/immutable/chunks/HNIRPYlG.js.gz +0 -0
  626. package/build/client/_app/immutable/chunks/JdiMmujU.js +0 -1
  627. package/build/client/_app/immutable/chunks/JdiMmujU.js.br +0 -0
  628. package/build/client/_app/immutable/chunks/JdiMmujU.js.gz +0 -0
  629. package/build/client/_app/immutable/chunks/Zx_15GgW.js +0 -6
  630. package/build/client/_app/immutable/chunks/Zx_15GgW.js.br +0 -0
  631. package/build/client/_app/immutable/chunks/Zx_15GgW.js.gz +0 -0
  632. package/build/client/_app/immutable/chunks/aky3cuza.js +0 -1
  633. package/build/client/_app/immutable/chunks/aky3cuza.js.br +0 -0
  634. package/build/client/_app/immutable/chunks/aky3cuza.js.gz +0 -0
  635. package/build/client/_app/immutable/chunks/hPB7QTnr.js +0 -7
  636. package/build/client/_app/immutable/chunks/hPB7QTnr.js.br +0 -0
  637. package/build/client/_app/immutable/chunks/hPB7QTnr.js.gz +0 -0
  638. package/build/client/_app/immutable/entry/app.mv1Db9_o.js +0 -2
  639. package/build/client/_app/immutable/entry/app.mv1Db9_o.js.br +0 -0
  640. package/build/client/_app/immutable/entry/app.mv1Db9_o.js.gz +0 -0
  641. package/build/client/_app/immutable/entry/start.Bs8E5jjR.js +0 -1
  642. package/build/client/_app/immutable/entry/start.Bs8E5jjR.js.br +0 -0
  643. package/build/client/_app/immutable/entry/start.Bs8E5jjR.js.gz +0 -0
  644. package/build/client/_app/immutable/nodes/0.CYFrOBBl.js +0 -9
  645. package/build/client/_app/immutable/nodes/0.CYFrOBBl.js.br +0 -0
  646. package/build/client/_app/immutable/nodes/0.CYFrOBBl.js.gz +0 -0
  647. package/build/client/_app/immutable/nodes/1.CiOPJxUB.js +0 -1
  648. package/build/client/_app/immutable/nodes/1.CiOPJxUB.js.br +0 -0
  649. package/build/client/_app/immutable/nodes/1.CiOPJxUB.js.gz +0 -0
  650. package/build/client/_app/immutable/nodes/10.Cb996eYw.js +0 -10
  651. package/build/client/_app/immutable/nodes/10.Cb996eYw.js.br +0 -0
  652. package/build/client/_app/immutable/nodes/10.Cb996eYw.js.gz +0 -0
  653. package/build/client/_app/immutable/nodes/11.SKrJSf3v.js +0 -9
  654. package/build/client/_app/immutable/nodes/11.SKrJSf3v.js.br +0 -0
  655. package/build/client/_app/immutable/nodes/11.SKrJSf3v.js.gz +0 -0
  656. package/build/client/_app/immutable/nodes/12.Cc7FPWpM.js +0 -11
  657. package/build/client/_app/immutable/nodes/12.Cc7FPWpM.js.br +0 -0
  658. package/build/client/_app/immutable/nodes/12.Cc7FPWpM.js.gz +0 -0
  659. package/build/client/_app/immutable/nodes/13.eou9nO_y.js +0 -2
  660. package/build/client/_app/immutable/nodes/13.eou9nO_y.js.br +0 -0
  661. package/build/client/_app/immutable/nodes/13.eou9nO_y.js.gz +0 -0
  662. package/build/client/_app/immutable/nodes/14.Lp-VgjsY.js +0 -6
  663. package/build/client/_app/immutable/nodes/14.Lp-VgjsY.js.br +0 -0
  664. package/build/client/_app/immutable/nodes/14.Lp-VgjsY.js.gz +0 -0
  665. package/build/client/_app/immutable/nodes/15.BvEKyC9t.js +0 -1
  666. package/build/client/_app/immutable/nodes/15.BvEKyC9t.js.br +0 -0
  667. package/build/client/_app/immutable/nodes/15.BvEKyC9t.js.gz +0 -0
  668. package/build/client/_app/immutable/nodes/16.D7257XGZ.js +0 -10
  669. package/build/client/_app/immutable/nodes/16.D7257XGZ.js.br +0 -0
  670. package/build/client/_app/immutable/nodes/16.D7257XGZ.js.gz +0 -0
  671. package/build/client/_app/immutable/nodes/17.PZPvs6eV.js +0 -1
  672. package/build/client/_app/immutable/nodes/17.PZPvs6eV.js.br +0 -0
  673. package/build/client/_app/immutable/nodes/17.PZPvs6eV.js.gz +0 -0
  674. package/build/client/_app/immutable/nodes/18.DLdqRR6N.js +0 -3
  675. package/build/client/_app/immutable/nodes/18.DLdqRR6N.js.br +0 -0
  676. package/build/client/_app/immutable/nodes/18.DLdqRR6N.js.gz +0 -0
  677. package/build/client/_app/immutable/nodes/19.CXovCsqa.js +0 -1
  678. package/build/client/_app/immutable/nodes/19.CXovCsqa.js.br +0 -0
  679. package/build/client/_app/immutable/nodes/19.CXovCsqa.js.gz +0 -0
  680. package/build/client/_app/immutable/nodes/2.BcvqK2pW.js +0 -29
  681. package/build/client/_app/immutable/nodes/2.BcvqK2pW.js.br +0 -0
  682. package/build/client/_app/immutable/nodes/2.BcvqK2pW.js.gz +0 -0
  683. package/build/client/_app/immutable/nodes/20.BlGw7CKn.js +0 -14
  684. package/build/client/_app/immutable/nodes/20.BlGw7CKn.js.br +0 -0
  685. package/build/client/_app/immutable/nodes/20.BlGw7CKn.js.gz +0 -0
  686. package/build/client/_app/immutable/nodes/21.BIjp6cCw.js +0 -150
  687. package/build/client/_app/immutable/nodes/21.BIjp6cCw.js.br +0 -0
  688. package/build/client/_app/immutable/nodes/21.BIjp6cCw.js.gz +0 -0
  689. package/build/client/_app/immutable/nodes/22.5F8mmWrr.js +0 -3
  690. package/build/client/_app/immutable/nodes/22.5F8mmWrr.js.br +0 -0
  691. package/build/client/_app/immutable/nodes/22.5F8mmWrr.js.gz +0 -0
  692. package/build/client/_app/immutable/nodes/23.DqtwvYeJ.js +0 -2
  693. package/build/client/_app/immutable/nodes/23.DqtwvYeJ.js.br +0 -0
  694. package/build/client/_app/immutable/nodes/23.DqtwvYeJ.js.gz +0 -0
  695. package/build/client/_app/immutable/nodes/24.U8AtFQMx.js +0 -25
  696. package/build/client/_app/immutable/nodes/24.U8AtFQMx.js.br +0 -0
  697. package/build/client/_app/immutable/nodes/24.U8AtFQMx.js.gz +0 -0
  698. package/build/client/_app/immutable/nodes/25.9EJBWEDc.js +0 -5
  699. package/build/client/_app/immutable/nodes/25.9EJBWEDc.js.br +0 -0
  700. package/build/client/_app/immutable/nodes/25.9EJBWEDc.js.gz +0 -0
  701. package/build/client/_app/immutable/nodes/26.BZ9--RI7.js +0 -18
  702. package/build/client/_app/immutable/nodes/26.BZ9--RI7.js.br +0 -0
  703. package/build/client/_app/immutable/nodes/26.BZ9--RI7.js.gz +0 -0
  704. package/build/client/_app/immutable/nodes/28.DSlQcc2D.js +0 -4
  705. package/build/client/_app/immutable/nodes/28.DSlQcc2D.js.br +0 -0
  706. package/build/client/_app/immutable/nodes/28.DSlQcc2D.js.gz +0 -0
  707. package/build/client/_app/immutable/nodes/3.CbMDLDDV.js +0 -2
  708. package/build/client/_app/immutable/nodes/3.CbMDLDDV.js.br +0 -0
  709. package/build/client/_app/immutable/nodes/3.CbMDLDDV.js.gz +0 -0
  710. package/build/client/_app/immutable/nodes/30.CHUMzh9y.js +0 -6
  711. package/build/client/_app/immutable/nodes/30.CHUMzh9y.js.br +0 -0
  712. package/build/client/_app/immutable/nodes/30.CHUMzh9y.js.gz +0 -0
  713. package/build/client/_app/immutable/nodes/31.D4Vm6EzH.js +0 -8
  714. package/build/client/_app/immutable/nodes/31.D4Vm6EzH.js.br +0 -0
  715. package/build/client/_app/immutable/nodes/31.D4Vm6EzH.js.gz +0 -0
  716. package/build/client/_app/immutable/nodes/32.BgKtVzqn.js +0 -2
  717. package/build/client/_app/immutable/nodes/32.BgKtVzqn.js.br +0 -0
  718. package/build/client/_app/immutable/nodes/32.BgKtVzqn.js.gz +0 -0
  719. package/build/client/_app/immutable/nodes/33.GQ4UFj2v.js +0 -5
  720. package/build/client/_app/immutable/nodes/33.GQ4UFj2v.js.br +0 -0
  721. package/build/client/_app/immutable/nodes/33.GQ4UFj2v.js.gz +0 -0
  722. package/build/client/_app/immutable/nodes/34.7qbVxJdu.js +0 -4
  723. package/build/client/_app/immutable/nodes/34.7qbVxJdu.js.br +0 -0
  724. package/build/client/_app/immutable/nodes/34.7qbVxJdu.js.gz +0 -0
  725. package/build/client/_app/immutable/nodes/35.Cb_RuCLu.js +0 -3
  726. package/build/client/_app/immutable/nodes/35.Cb_RuCLu.js.br +0 -0
  727. package/build/client/_app/immutable/nodes/35.Cb_RuCLu.js.gz +0 -0
  728. package/build/client/_app/immutable/nodes/36.DkxpBGK-.js +0 -5
  729. package/build/client/_app/immutable/nodes/36.DkxpBGK-.js.br +0 -0
  730. package/build/client/_app/immutable/nodes/36.DkxpBGK-.js.gz +0 -0
  731. package/build/client/_app/immutable/nodes/37.DMqrKT5K.js +0 -7
  732. package/build/client/_app/immutable/nodes/37.DMqrKT5K.js.br +0 -0
  733. package/build/client/_app/immutable/nodes/37.DMqrKT5K.js.gz +0 -0
  734. package/build/client/_app/immutable/nodes/38.C1jHKi0p.js +0 -2
  735. package/build/client/_app/immutable/nodes/38.C1jHKi0p.js.br +0 -0
  736. package/build/client/_app/immutable/nodes/38.C1jHKi0p.js.gz +0 -0
  737. package/build/client/_app/immutable/nodes/39.aXdnIZxY.js +0 -4
  738. package/build/client/_app/immutable/nodes/39.aXdnIZxY.js.br +0 -0
  739. package/build/client/_app/immutable/nodes/39.aXdnIZxY.js.gz +0 -0
  740. package/build/client/_app/immutable/nodes/4.DVyiF5Qx.js +0 -5
  741. package/build/client/_app/immutable/nodes/4.DVyiF5Qx.js.br +0 -0
  742. package/build/client/_app/immutable/nodes/4.DVyiF5Qx.js.gz +0 -0
  743. package/build/client/_app/immutable/nodes/40.CH_13JpP.js +0 -7
  744. package/build/client/_app/immutable/nodes/40.CH_13JpP.js.br +0 -0
  745. package/build/client/_app/immutable/nodes/40.CH_13JpP.js.gz +0 -0
  746. package/build/client/_app/immutable/nodes/41.CbAoclKK.js +0 -6
  747. package/build/client/_app/immutable/nodes/41.CbAoclKK.js.br +0 -0
  748. package/build/client/_app/immutable/nodes/41.CbAoclKK.js.gz +0 -0
  749. package/build/client/_app/immutable/nodes/42.Cds93vbV.js +0 -24
  750. package/build/client/_app/immutable/nodes/42.Cds93vbV.js.br +0 -0
  751. package/build/client/_app/immutable/nodes/42.Cds93vbV.js.gz +0 -0
  752. package/build/client/_app/immutable/nodes/43.BmIlBOwY.js +0 -1
  753. package/build/client/_app/immutable/nodes/43.BmIlBOwY.js.br +0 -1
  754. package/build/client/_app/immutable/nodes/43.BmIlBOwY.js.gz +0 -0
  755. package/build/client/_app/immutable/nodes/45.DNd91yTP.js +0 -6
  756. package/build/client/_app/immutable/nodes/45.DNd91yTP.js.br +0 -0
  757. package/build/client/_app/immutable/nodes/45.DNd91yTP.js.gz +0 -0
  758. package/build/client/_app/immutable/nodes/5.DnL8mNUg.js +0 -1
  759. package/build/client/_app/immutable/nodes/5.DnL8mNUg.js.br +0 -0
  760. package/build/client/_app/immutable/nodes/5.DnL8mNUg.js.gz +0 -0
  761. package/build/client/_app/immutable/nodes/6.Cr6axeW0.js +0 -6
  762. package/build/client/_app/immutable/nodes/6.Cr6axeW0.js.br +0 -0
  763. package/build/client/_app/immutable/nodes/6.Cr6axeW0.js.gz +0 -0
  764. package/build/client/_app/immutable/nodes/9.YdOTqKY1.js +0 -3
  765. package/build/client/_app/immutable/nodes/9.YdOTqKY1.js.br +0 -0
  766. package/build/client/_app/immutable/nodes/9.YdOTqKY1.js.gz +0 -0
  767. package/build/server/chunks/chunks/Activity.js-BBPabTRg.js +0 -46
  768. package/build/server/chunks/chunks/AlreadyRemote.js-CGLXxI2a.js +0 -38
  769. package/build/server/chunks/chunks/ChecksStrip.js-CzTaTAYR.js +0 -62
  770. package/build/server/chunks/chunks/ConsoleWindow.js-DwIyLCUA.js +0 -103
  771. package/build/server/chunks/chunks/DecisionForm.js-CYnStAPe.js +0 -744
  772. package/build/server/chunks/chunks/DecisionsBadge.js-CrjpeyMZ.js +0 -79
  773. package/build/server/chunks/chunks/Discussion.js-Dg4dpcU9.js +0 -582
  774. package/build/server/chunks/chunks/DocChip.js-DfdNZF3o.js +0 -79
  775. package/build/server/chunks/chunks/DocSheet.js-B7CeDIgr.js +0 -64
  776. package/build/server/chunks/chunks/EtaLine.js-sj9VjtDa.js +0 -41
  777. package/build/server/chunks/chunks/EveryProjectSwitch.js-DkJtiJcy.js +0 -35
  778. package/build/server/chunks/chunks/Icon.js-DI_o6niz.js +0 -129
  779. package/build/server/chunks/chunks/InsightsNav.js-DMkon5DK.js +0 -23
  780. package/build/server/chunks/chunks/InstallFromGitHub.js-DI4S33SK.js +0 -272
  781. package/build/server/chunks/chunks/InstallPlugin.js-440cXtp_.js +0 -18
  782. package/build/server/chunks/chunks/Lightbox.js-DAo2hGg7.js +0 -37
  783. package/build/server/chunks/chunks/LinkedText.js-Bo4Ephdr.js +0 -24
  784. package/build/server/chunks/chunks/LiveDocPicker.js-BRaqXaw3.js +0 -1309
  785. package/build/server/chunks/chunks/LivePreview.js-BciwB-ic.js +0 -208
  786. package/build/server/chunks/chunks/MateHealthPill.js-BbZdZaO7.js +0 -29
  787. package/build/server/chunks/chunks/PluginElement.js-CTV6ALOe.js +0 -25
  788. package/build/server/chunks/chunks/PluginReview.js-Bi-LDgoo.js +0 -110
  789. package/build/server/chunks/chunks/PreviewWindow.js-kaKVEfw0.js +0 -966
  790. package/build/server/chunks/chunks/ProjectBanner.js-mQkwBIPz.js +0 -145
  791. package/build/server/chunks/chunks/ResizableRail.js-6RNB63jw.js +0 -37
  792. package/build/server/chunks/chunks/SavedNote.js-CDS7L6C_.js +0 -130
  793. package/build/server/chunks/chunks/SettingsNav.js-C4DotEBv.js +0 -41
  794. package/build/server/chunks/chunks/Sheet.js-D6ufSQ7B.js +0 -3958
  795. package/build/server/chunks/chunks/SlotContent.js-C_ho7NCE.js +0 -691
  796. package/build/server/chunks/chunks/StateIcon.js-DUvSDhWL.js +0 -70
  797. package/build/server/chunks/chunks/Switch.js-C1vnucCD.js +0 -21
  798. package/build/server/chunks/chunks/TaskView.js-BraQB9DD.js +0 -3109
  799. package/build/server/chunks/chunks/TimeBar.js-epyzPf8k.js +0 -32
  800. package/build/server/chunks/chunks/TimeLegend.js-CHD9ecoD.js +0 -29
  801. package/build/server/chunks/chunks/VaultAdd.js-Dh0XKY-s.js +0 -146
  802. package/build/server/chunks/chunks/WhereBadge.js-D9GezA27.js +0 -91
  803. package/build/server/chunks/chunks/anchor.js-B7JEbbq6.js +0 -20
  804. package/build/server/chunks/chunks/arrow-down.js-D9AO_Hok.js +0 -18
  805. package/build/server/chunks/chunks/arrow-left.js-dkCKwDh_.js +0 -18
  806. package/build/server/chunks/chunks/arrow-right.js--KpODuNy.js +0 -18
  807. package/build/server/chunks/chunks/arrow-up-right.js-zxMccGp5.js +0 -18
  808. package/build/server/chunks/chunks/arrow-up.js-D4LAvjFg.js +0 -18
  809. package/build/server/chunks/chunks/bell-off.js-DdoBg6ql.js +0 -30
  810. package/build/server/chunks/chunks/bell2.js-BWD7bmoe.js +0 -23
  811. package/build/server/chunks/chunks/book-open.js-DlNEJ493.js +0 -23
  812. package/build/server/chunks/chunks/button.js-Cv3ubKJP.js +0 -4027
  813. package/build/server/chunks/chunks/chat.svelte.js-S86rNJiC.js +0 -417
  814. package/build/server/chunks/chunks/check.js-DfF_V9Zc.js +0 -15
  815. package/build/server/chunks/chunks/chevron-down.js-CT6xg--L.js +0 -15
  816. package/build/server/chunks/chunks/chevron-left.js-DPtlmw2O.js +0 -15
  817. package/build/server/chunks/chunks/chevron-right.js-DJz6vAQ4.js +0 -15
  818. package/build/server/chunks/chunks/circle-alert.js-BV4qQ79A.js +0 -23
  819. package/build/server/chunks/chunks/circle-arrow-up.js-CsWNvG11.js +0 -20
  820. package/build/server/chunks/chunks/circle-check.js-N1bzCX8s.js +0 -19
  821. package/build/server/chunks/chunks/circle-dashed.js-B2k7eTI1.js +0 -24
  822. package/build/server/chunks/chunks/circle-dot.js-BFSDwEKx.js +0 -18
  823. package/build/server/chunks/chunks/circle-question-mark.js-DJy2XDn9.js +0 -20
  824. package/build/server/chunks/chunks/circle-x.js-BVQ2Ed1q.js +0 -20
  825. package/build/server/chunks/chunks/client.js-Swm9KOkD.js +0 -24
  826. package/build/server/chunks/chunks/clock.js-R-2X90wz.js +0 -18
  827. package/build/server/chunks/chunks/cloud2.js-BZu9cK95.js +0 -20
  828. package/build/server/chunks/chunks/copy.js-CPNPmC4T.js +0 -33
  829. package/build/server/chunks/chunks/decisiondrafts.svelte.js-Y8YES4Ml.js +0 -43
  830. package/build/server/chunks/chunks/detail.js-DBnrw693.js +0 -149
  831. package/build/server/chunks/chunks/dialog-close.js-CMVFkNiq.js +0 -42
  832. package/build/server/chunks/chunks/dialog-content.js-C-Kzq-Z7.js +0 -3386
  833. package/build/server/chunks/chunks/dialog.js-DrBgN31d.js +0 -362
  834. package/build/server/chunks/chunks/external-link.js-CtPy946p.js +0 -24
  835. package/build/server/chunks/chunks/eye.js-65-hbGx2.js +0 -23
  836. package/build/server/chunks/chunks/feedback.js-COdi3TjO.js +0 -67
  837. package/build/server/chunks/chunks/file-text.js-9raR2ehk.js +0 -26
  838. package/build/server/chunks/chunks/folder.js-CQeIbUip.js +0 -22
  839. package/build/server/chunks/chunks/git-commit-horizontal.js-0T8EV3fn.js +0 -20
  840. package/build/server/chunks/chunks/git-pull-request.js-CArdf4C9.js +0 -20
  841. package/build/server/chunks/chunks/hand.js-CDBR5wgQ.js +0 -25
  842. package/build/server/chunks/chunks/helperprogram.js-D7RAlNUM.js +0 -37
  843. package/build/server/chunks/chunks/index-server2.js-BGUiJh_L.js +0 -17
  844. package/build/server/chunks/chunks/index.js-BEO9kLnZ.js +0 -1524
  845. package/build/server/chunks/chunks/index2.js-Ne9LsnQj.js +0 -40
  846. package/build/server/chunks/chunks/insights.svelte.js-BYvubLfb.js +0 -567
  847. package/build/server/chunks/chunks/internal.js-vCXxlqtX.js +0 -151
  848. package/build/server/chunks/chunks/key-round.js-BvP9yTch.js +0 -26
  849. package/build/server/chunks/chunks/library-big.js-BbUdK_E5.js +0 -27
  850. package/build/server/chunks/chunks/list.js-CKo8sCqs.js +0 -22
  851. package/build/server/chunks/chunks/live.svelte.js-C8z7spp_.js +0 -217
  852. package/build/server/chunks/chunks/livereview.svelte.js-mlSJ12oO.js +0 -58
  853. package/build/server/chunks/chunks/loader-circle.js-CMRY-v5_.js +0 -16
  854. package/build/server/chunks/chunks/lock.js-DKnBruSq.js +0 -28
  855. package/build/server/chunks/chunks/marketplace-service.js-BgRSNaaq.js +0 -557
  856. package/build/server/chunks/chunks/maximize-2.js-B3tsnHT1.js +0 -20
  857. package/build/server/chunks/chunks/message-square.js-Ca6iGOwf.js +0 -22
  858. package/build/server/chunks/chunks/messages-square.js-BKBSAzsb.js +0 -47
  859. package/build/server/chunks/chunks/minus.js-C3ZUSMwC.js +0 -15
  860. package/build/server/chunks/chunks/monitor-play.js-CilOLGxR.js +0 -28
  861. package/build/server/chunks/chunks/mouse-pointer-click.js-D4xkz5Sp.js +0 -75
  862. package/build/server/chunks/chunks/package-check.js-C0dwhtzK.js +0 -26
  863. package/build/server/chunks/chunks/package.js-CuhlmKa2.js +0 -160
  864. package/build/server/chunks/chunks/page.js-CjJiQYrd.js +0 -13
  865. package/build/server/chunks/chunks/pause.js-DlTb6_lg.js +0 -24
  866. package/build/server/chunks/chunks/pen-line.js-CjnlD61A.js +0 -24
  867. package/build/server/chunks/chunks/pencil.js-UJUmErbq.js +0 -23
  868. package/build/server/chunks/chunks/play.js-D8H1yEvn.js +0 -22
  869. package/build/server/chunks/chunks/plugins.js-CSiPxade.js +0 -58
  870. package/build/server/chunks/chunks/plus.js-B9zHcZty.js +0 -15
  871. package/build/server/chunks/chunks/previewhelper2.js-B9grgQDZ.js +0 -373
  872. package/build/server/chunks/chunks/pullrequests.js-CUPCHmas.js +0 -32
  873. package/build/server/chunks/chunks/puzzle.js-DJvq75RL.js +0 -22
  874. package/build/server/chunks/chunks/radio-tower.js-CBeuw6ko.js +0 -23
  875. package/build/server/chunks/chunks/refresh-cw.js-BR6Dl4e3.js +0 -26
  876. package/build/server/chunks/chunks/review.js-DdMUg7TP.js +0 -176
  877. package/build/server/chunks/chunks/root.js-DnHbjfVr.js +0 -3105
  878. package/build/server/chunks/chunks/rotate-ccw.js-CF09iCUn.js +0 -21
  879. package/build/server/chunks/chunks/rotate-cw.js-Bbi3Npjz.js +0 -21
  880. package/build/server/chunks/chunks/runtime.js-DsS88QmJ.js +0 -27477
  881. package/build/server/chunks/chunks/scale.js-zKsTaqRd.js +0 -21
  882. package/build/server/chunks/chunks/scribe.js-iOeGX5b-.js +0 -1591
  883. package/build/server/chunks/chunks/search.js-Zpb2PGbv.js +0 -18
  884. package/build/server/chunks/chunks/service.js-Czp3ML1f.js +0 -1339
  885. package/build/server/chunks/chunks/service2.js-B4wrB_04.js +0 -884
  886. package/build/server/chunks/chunks/service3.js-DH5qFD_p.js +0 -234
  887. package/build/server/chunks/chunks/settings.js-qASZ7OPe.js +0 -379
  888. package/build/server/chunks/chunks/settings2.js-BsZ5vLGa.js +0 -57
  889. package/build/server/chunks/chunks/shield-check.js-D5jyKBXF.js +0 -23
  890. package/build/server/chunks/chunks/ship.js-DX0_DKCK.js +0 -31
  891. package/build/server/chunks/chunks/sparkles.js-BC6HgqJx.js +0 -26
  892. package/build/server/chunks/chunks/square-terminal.js-BsoQQJOB.js +0 -30
  893. package/build/server/chunks/chunks/starter.js-CHR-WRnX.js +0 -400
  894. package/build/server/chunks/chunks/state.svelte.js-CkSbGNMZ.js +0 -13
  895. package/build/server/chunks/chunks/thumbs-up.js-zrropMVk.js +0 -23
  896. package/build/server/chunks/chunks/trash.js-Bgv8qBUv.js +0 -22
  897. package/build/server/chunks/chunks/triangle-alert.js-yTTA6t1y.js +0 -25
  898. package/build/server/chunks/chunks/utils3.js-CjRVjhD-.js +0 -3290
  899. package/build/server/chunks/chunks/view.js-DUAH39S_.js +0 -76
  900. package/build/server/chunks/chunks/volume-2.js-BK92--6D.js +0 -24
  901. package/build/server/chunks/chunks/x.js-D5afbRfp.js +0 -18
  902. package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-CAR9x6If.js +0 -116
  903. package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-BmqJFXb3.js +0 -112
  904. package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-C1R7aAG1.js +0 -63
  905. package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-sblBpD28.js +0 -79
  906. package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-qE3bFSGr.js +0 -83
  907. package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-CcKjixDF.js +0 -68
  908. package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-05urMZ8P.js +0 -73
  909. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DdQ5RN72.js +0 -158
  910. package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-C3oUZ8oT.js +0 -75
  911. package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-BOxypULD.js +0 -111
  912. package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-D6E8qZ3V.js +0 -87
  913. package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-CazJhfgH.js +0 -77
  914. package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-Bkr5Orm8.js +0 -70
  915. package/build/server/chunks/entries/endpoints/api/firstmate/cleared/_server.ts.js-D_bWUK-k.js +0 -90
  916. package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-Bodz3BdZ.js +0 -70
  917. package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-Bs7fCGCe.js +0 -71
  918. package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-BGfMNKTf.js +0 -77
  919. package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Cjxh2exY.js +0 -70
  920. package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-Bbi52iPZ.js +0 -119
  921. package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-D2I3DiA_.js +0 -80
  922. package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-D5TnOIyt.js +0 -91
  923. package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-heVFZ_bD.js +0 -79
  924. package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-_EWMubAY.js +0 -70
  925. package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-C0fETIYL.js +0 -62
  926. package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CSQ6PMQZ.js +0 -62
  927. package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-D8-CixSL.js +0 -89
  928. package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-BL3brwB7.js +0 -87
  929. package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-C4KpcMvm.js +0 -80
  930. package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-BU52jwqh.js +0 -173
  931. package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-_Te9dIdW.js +0 -62
  932. package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-C1zy7n-U.js +0 -71
  933. package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-BLaQYWL6.js +0 -72
  934. package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-C9WPIsB3.js +0 -91
  935. package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BKnZHwIC.js +0 -113
  936. package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-DJfKVncx.js +0 -122
  937. package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-BfGE5FUe.js +0 -76
  938. package/build/server/chunks/entries/endpoints/api/material/_server.ts.js-CxfUmNOh.js +0 -82
  939. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-BPiN2knt.js +0 -97
  940. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-CIk2F-su.js +0 -86
  941. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DqGYT6gg.js +0 -82
  942. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-D8UL8VOm.js +0 -78
  943. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DJ0W5eUu.js +0 -27
  944. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Bh5dxdam.js +0 -85
  945. package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-CCI-nNuz.js +0 -39
  946. package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DNQNDDJM.js +0 -62
  947. package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-Brt5uVl4.js +0 -39
  948. package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-C6cjdQAo.js +0 -42
  949. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-CRO1orTV.js +0 -67
  950. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-DrlOSy6A.js +0 -76
  951. package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-TjBN5sfm.js +0 -73
  952. package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-BkEad_KL.js +0 -77
  953. package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-CWDR88NK.js +0 -27
  954. package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BnSCsmWZ.js +0 -86
  955. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-C95eE952.js +0 -67
  956. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-DIVveUbx.js +0 -76
  957. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-oN5QuiQ5.js +0 -88
  958. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-CWvXVfnf.js +0 -75
  959. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-GbWHmLht.js +0 -98
  960. package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-CSf6HGOQ.js +0 -81
  961. package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-CyKTSnVB.js +0 -476
  962. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-hYyCNMnO.js +0 -92
  963. package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DabGNOPU.js +0 -71
  964. package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-DKUMF8AZ.js +0 -81
  965. package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-DZ4borVh.js +0 -147
  966. package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-CmhBZFHq.js +0 -70
  967. package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-7ms1_oyt.js +0 -84
  968. package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-BdXHUfuO.js +0 -70
  969. package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-XH9NSnej.js +0 -73
  970. package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-BmpGcMtx.js +0 -67
  971. package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-BL59WnYq.js +0 -86
  972. package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-BLd6LFiu.js +0 -113
  973. package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-tqhwDBZw.js +0 -79
  974. package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-rcOSZryn.js +0 -109
  975. package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-qjsdDQj9.js +0 -127
  976. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-DIh_CpMP.js +0 -82
  977. package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CeDVM3Ha.js +0 -85
  978. package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BuH25Pmv.js +0 -85
  979. package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-BWKzLWfA.js +0 -24
  980. package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-Ck3xE0Gx.js +0 -31
  981. package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-DocjVxFs.js +0 -33
  982. package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-CkqzcPoM.js +0 -97
  983. package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BKjpke8g.js +0 -40
  984. package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-L1v70Gde.js +0 -27
  985. package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-BM7Z8FSU.js +0 -27
  986. package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-CiQaQ8uU.js +0 -78
  987. package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-TBv9efJs.js +0 -68
  988. package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-CTMxIdN3.js +0 -75
  989. package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-Dztz7n2G.js +0 -88
  990. package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DkmYsIve.js +0 -66
  991. package/build/server/chunks/entries/fallbacks/error.svelte.js-D_88DdNr.js +0 -16
  992. package/build/server/chunks/entries/hooks.server.js-G5ZjMffV.js +0 -196
  993. package/build/server/chunks/entries/pages/_layout.server.ts.js-BmDgzUW-.js +0 -57
  994. package/build/server/chunks/entries/pages/_layout.svelte.js-Qke8DIZA.js +0 -6139
  995. package/build/server/chunks/entries/pages/_page.server.ts.js-D6Wpa6-v.js +0 -16
  996. package/build/server/chunks/entries/pages/_page.svelte.js-Cecb4tbT.js +0 -4593
  997. package/build/server/chunks/entries/pages/crew/_page.svelte.js-BUT_H5Ex.js +0 -115
  998. package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-C24ZqIqr.js +0 -14
  999. package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DNAawoVW.js +0 -226
  1000. package/build/server/chunks/entries/pages/deck/_page.server.ts.js-BZE0B_qw.js +0 -16
  1001. package/build/server/chunks/entries/pages/deck/_page.svelte.js-BWIO8P9Y.js +0 -96
  1002. package/build/server/chunks/entries/pages/documents/_page.server.ts.js-BeYVD2fQ.js +0 -15
  1003. package/build/server/chunks/entries/pages/documents/_page.svelte.js-D-MG9MTi.js +0 -560
  1004. package/build/server/chunks/entries/pages/files/_page.server.ts.js-CKZU_5oF.js +0 -17
  1005. package/build/server/chunks/entries/pages/files/_page.svelte.js-Bj7ZDfy2.js +0 -62
  1006. package/build/server/chunks/entries/pages/harbour/_page.svelte.js-B_N8ozV4.js +0 -1011
  1007. package/build/server/chunks/entries/pages/headroom/_page.server.ts.js--50ZcTaI.js +0 -11
  1008. package/build/server/chunks/entries/pages/headroom/_page.svelte.js-ClGZADdu.js +0 -296
  1009. package/build/server/chunks/entries/pages/health/_page.server.ts.js-OSeSyQ55.js +0 -16
  1010. package/build/server/chunks/entries/pages/health/_page.svelte.js-BoBhH9L5.js +0 -518
  1011. package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-hwrcBq08.js +0 -18
  1012. package/build/server/chunks/entries/pages/inbox/_page.svelte.js-gfSbzscH.js +0 -902
  1013. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-p0_9_Uey.js +0 -18
  1014. package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.svelte.js-BPXD-rkz.js +0 -162
  1015. package/build/server/chunks/entries/pages/more/_page.svelte.js-YF8A6IyG.js +0 -157
  1016. package/build/server/chunks/entries/pages/plugins/_page.svelte.js-DuP4du76.js +0 -678
  1017. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-n1XnCuGz.js +0 -16
  1018. package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-oH1ut0qD.js +0 -62
  1019. package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-DI-aq8XM.js +0 -23
  1020. package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-BOtEcaFR.js +0 -938
  1021. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BBV23Rb_.js +0 -21
  1022. package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-BSCjBxDT.js +0 -84
  1023. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-Bj1Y-sZa.js +0 -27
  1024. package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-DmqF0Qvx.js +0 -421
  1025. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-t1NThIEG.js +0 -15
  1026. package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-C4Tw-j5z.js +0 -1839
  1027. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-D8QAuEx3.js +0 -25
  1028. package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.svelte.js-CdLqDrVT.js +0 -106
  1029. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-K-Yc7yU9.js +0 -37
  1030. package/build/server/chunks/entries/pages/records/_project_/_task_/_page.svelte.js-3lnCLe-o.js +0 -438
  1031. package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-DLyuHHbd.js +0 -11
  1032. package/build/server/chunks/entries/pages/remotes/_page.svelte.js-C0HaHnXI.js +0 -349
  1033. package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CqXfRzFb.js +0 -420
  1034. package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-CT7kblYj.js +0 -60
  1035. package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-C4iVpPw-.js +0 -18
  1036. package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-DhnwhPLy.js +0 -77
  1037. package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-LDuFEo9t.js +0 -15
  1038. package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-CpzQ9WGK.js +0 -19
  1039. package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-BGHVqqEn.js +0 -148
  1040. package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-DSq3s0u4.js +0 -16
  1041. package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-BTqCAzFe.js +0 -111
  1042. package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-Upw_zfR_.js +0 -83
  1043. package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-JZ0C0xPl.js +0 -797
  1044. package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-Bs2C6cPB.js +0 -254
  1045. package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-CudsVOfQ.js +0 -11
  1046. package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-BEZN_fOG.js +0 -262
  1047. package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-Cph-kvbr.js +0 -126
  1048. package/build/server/chunks/entries/pages/settings/material/_page.server.ts.js-Dw1oapvK.js +0 -11
  1049. package/build/server/chunks/entries/pages/settings/material/_page.svelte.js-C98wh8rG.js +0 -89
  1050. package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DfNt9VFs.js +0 -19
  1051. package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-1pxShM3m.js +0 -567
  1052. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BWMeyf-N.js +0 -17
  1053. package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-ZPRaMh9b.js +0 -240
  1054. package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-BiGFhd54.js +0 -11
  1055. package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-BPC2SXST.js +0 -56
  1056. package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BaC3yu69.js +0 -11
  1057. package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-BGHbqtbb.js +0 -62
  1058. package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-F6F2muzt.js +0 -15
  1059. package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-BJp8vGu3.js +0 -162
  1060. package/build/server/chunks/entries/pages/setup/_page.server.ts.js-CLRqwaIl.js +0 -18
  1061. package/build/server/chunks/entries/pages/setup/_page.svelte.js-Xx5wOY-T.js +0 -1625
  1062. package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-DDk7MpYd.js +0 -36
  1063. package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-DE_nyHyD.js +0 -123
  1064. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BcKbrOS1.js +0 -24
  1065. package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-Vh5unW6G.js +0 -81
  1066. package/build/server/chunks/entries/pages/time/_page.server.ts.js-DXa9SY81.js +0 -11
  1067. package/build/server/chunks/entries/pages/time/_page.svelte.js-ACWC4zUJ.js +0 -109
  1068. package/build/server/chunks/handler-B-XL_tKo.js +0 -1474
  1069. package/build/server/chunks/index.js-CPbiumcf.js +0 -4296
  1070. package/build/server/chunks/manifest.js-vx7TbGkr.js +0 -1072
  1071. package/build/server/chunks/nodes/0.js-DgrkXc_5.js +0 -69
  1072. package/build/server/chunks/nodes/1.js-DkGXKQAd.js +0 -9
  1073. package/build/server/chunks/nodes/10.js-BMaVlR4_.js +0 -67
  1074. package/build/server/chunks/nodes/11.js-BdWOIXb6.js +0 -69
  1075. package/build/server/chunks/nodes/12.js-DSZL63L1.js +0 -68
  1076. package/build/server/chunks/nodes/13.js-C8lZiveV.js +0 -69
  1077. package/build/server/chunks/nodes/14.js-CCP6h7Px.js +0 -12
  1078. package/build/server/chunks/nodes/15.js-CQZyZuL0.js +0 -9
  1079. package/build/server/chunks/nodes/16.js-XIzs1Oka.js +0 -9
  1080. package/build/server/chunks/nodes/17.js-CrB_SIgd.js +0 -67
  1081. package/build/server/chunks/nodes/18.js-hzBsWFNv.js +0 -70
  1082. package/build/server/chunks/nodes/19.js-Bu-Z_HLq.js +0 -68
  1083. package/build/server/chunks/nodes/2.js-Ct-kCgnF.js +0 -67
  1084. package/build/server/chunks/nodes/20.js-Dqw7_fea.js +0 -69
  1085. package/build/server/chunks/nodes/21.js-CeXbfD2h.js +0 -68
  1086. package/build/server/chunks/nodes/22.js-DeHfPwEv.js +0 -69
  1087. package/build/server/chunks/nodes/23.js-BUSnnKn1.js +0 -69
  1088. package/build/server/chunks/nodes/24.js-ChaWQ9Fh.js +0 -25
  1089. package/build/server/chunks/nodes/25.js-DBNrhUQJ.js +0 -25
  1090. package/build/server/chunks/nodes/26.js-cQcj1SD-.js +0 -9
  1091. package/build/server/chunks/nodes/28.js-DeH9YdMn.js +0 -67
  1092. package/build/server/chunks/nodes/29.js-BXLI4T_u.js +0 -18
  1093. package/build/server/chunks/nodes/3.js-q9mrqBve.js +0 -9
  1094. package/build/server/chunks/nodes/30.js-BhcUpSUE.js +0 -68
  1095. package/build/server/chunks/nodes/31.js-D_8FYD1I.js +0 -67
  1096. package/build/server/chunks/nodes/32.js-Dq85zpzf.js +0 -25
  1097. package/build/server/chunks/nodes/33.js-Dc-Vv5LZ.js +0 -67
  1098. package/build/server/chunks/nodes/34.js-CKuSTmVY.js +0 -25
  1099. package/build/server/chunks/nodes/35.js-D3TQE6lq.js +0 -22
  1100. package/build/server/chunks/nodes/36.js-BaT3QLq4.js +0 -67
  1101. package/build/server/chunks/nodes/37.js-DyuxASlB.js +0 -67
  1102. package/build/server/chunks/nodes/38.js-D26lw8jW.js +0 -70
  1103. package/build/server/chunks/nodes/39.js-BiP6qmsO.js +0 -70
  1104. package/build/server/chunks/nodes/4.js-BpSG_EgI.js +0 -68
  1105. package/build/server/chunks/nodes/40.js-QPWjmKBa.js +0 -26
  1106. package/build/server/chunks/nodes/41.js-DTYMDgWC.js +0 -69
  1107. package/build/server/chunks/nodes/42.js-BVAA8QWm.js +0 -72
  1108. package/build/server/chunks/nodes/43.js-C0owI_8a.js +0 -68
  1109. package/build/server/chunks/nodes/44.js-D-DnIgeP.js +0 -68
  1110. package/build/server/chunks/nodes/45.js-Did-YnPK.js +0 -67
  1111. package/build/server/chunks/nodes/5.js-fPoi1495.js +0 -67
  1112. package/build/server/chunks/nodes/6.js-B3Ig_KYg.js +0 -67
  1113. package/build/server/chunks/nodes/8.js-CPLIwbA0.js +0 -67
  1114. package/build/server/chunks/nodes/9.js-oMhOF7D5.js +0 -14
@@ -0,0 +1,3105 @@
1
+ import { r as render, L as LEGACY_PROPS, d as define_property, C as CONNECTED, R as REACTION_RAN, E as ERROR_VALUE, a as COMMENT_NODE, H as HYDRATION_START, b as HYDRATION_ERROR, S as STATE_SYMBOL, c as COMPONENT_SYMBOL, o as object_prototype, e as array_prototype, U as UNINITIALIZED, g as get_descriptor, D as DERIVED, f as DIRTY, M as MAYBE_DIRTY, i as includes, h as is_extensible, j as CLASS_CACHE, A as ATTRIBUTES_CACHE, k as STYLE_CACHE, T as TEXT_CACHE, l as get_prototype_of, m as is_array, n as DESTROYED, p as ROOT_EFFECT, B as BRANCH_EFFECT, q as CLEAN, I as INERT, s as EFFECT, t as BLOCK_EFFECT, u as ASYNC, v as EAGER_EFFECT, w as deferred, x as RENDER_EFFECT, y as MANAGED_EFFECT, z as run_all, F as REACTION_IS_UPDATING, G as EFFECT_PRESERVED, J as EFFECT_TRANSPARENT, P as PAUSED, K as HEAD_EFFECT, N as DESTROYING, O as BOUNDARY_EFFECT, Q as index_of, V as STALE_REACTION, W as noop, X as array_from, Y as is_passive_event, Z as setContext, _ as derived, $ as HYDRATION_END, a0 as HYDRATION_START_ELSE, a1 as HYDRATION_START_FAILED, a2 as USER_EFFECT } from './index.js-B064dep-.js';
2
+
3
+ const browser = false;
4
+ function equals(value) {
5
+ return value === this.v;
6
+ }
7
+ function safe_not_equal(a, b) {
8
+ return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
9
+ }
10
+ function safe_equals(value) {
11
+ return !safe_not_equal(value, this.v);
12
+ }
13
+ function effect_update_depth_exceeded() {
14
+ {
15
+ throw new Error(`https://svelte.dev/e/effect_update_depth_exceeded`);
16
+ }
17
+ }
18
+ function hydration_failed() {
19
+ {
20
+ throw new Error(`https://svelte.dev/e/hydration_failed`);
21
+ }
22
+ }
23
+ function state_descriptors_fixed() {
24
+ {
25
+ throw new Error(`https://svelte.dev/e/state_descriptors_fixed`);
26
+ }
27
+ }
28
+ function state_prototype_fixed() {
29
+ {
30
+ throw new Error(`https://svelte.dev/e/state_prototype_fixed`);
31
+ }
32
+ }
33
+ function state_unsafe_mutation() {
34
+ {
35
+ throw new Error(`https://svelte.dev/e/state_unsafe_mutation`);
36
+ }
37
+ }
38
+ function svelte_boundary_reset_onerror() {
39
+ {
40
+ throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
41
+ }
42
+ }
43
+ let tracing_mode_flag = false;
44
+ let component_context = null;
45
+ function set_component_context(context) {
46
+ component_context = context;
47
+ }
48
+ function push(props, runes = false, fn) {
49
+ component_context = {
50
+ p: component_context,
51
+ i: false,
52
+ c: null,
53
+ e: null,
54
+ s: props,
55
+ x: null,
56
+ r: (
57
+ /** @type {Effect} */
58
+ active_effect
59
+ ),
60
+ l: null
61
+ };
62
+ }
63
+ function pop(component) {
64
+ var context = (
65
+ /** @type {ComponentContext} */
66
+ component_context
67
+ );
68
+ var effects = context.e;
69
+ if (effects !== null) {
70
+ context.e = null;
71
+ for (var fn of effects) {
72
+ create_user_effect(fn);
73
+ }
74
+ }
75
+ context.i = true;
76
+ component_context = context.p;
77
+ return mark_as_component(component);
78
+ }
79
+ function mark_as_component(component = {}) {
80
+ define_property(component, COMPONENT_SYMBOL, { value: true });
81
+ return component;
82
+ }
83
+ function is_runes() {
84
+ return true;
85
+ }
86
+ let micro_tasks = [];
87
+ function run_micro_tasks() {
88
+ var tasks = micro_tasks;
89
+ micro_tasks = [];
90
+ run_all(tasks);
91
+ }
92
+ function queue_micro_task(fn) {
93
+ if (micro_tasks.length === 0 && !is_flushing_sync) {
94
+ var tasks = micro_tasks;
95
+ queueMicrotask(() => {
96
+ if (tasks === micro_tasks) run_micro_tasks();
97
+ });
98
+ }
99
+ micro_tasks.push(fn);
100
+ }
101
+ function flush_tasks() {
102
+ while (micro_tasks.length > 0) {
103
+ run_micro_tasks();
104
+ }
105
+ }
106
+ function derived_inert() {
107
+ {
108
+ console.warn(`https://svelte.dev/e/derived_inert`);
109
+ }
110
+ }
111
+ function hydration_mismatch(location) {
112
+ {
113
+ console.warn(`https://svelte.dev/e/hydration_mismatch`);
114
+ }
115
+ }
116
+ function svelte_boundary_reset_noop() {
117
+ {
118
+ console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
119
+ }
120
+ }
121
+ let hydrating = false;
122
+ function set_hydrating(value) {
123
+ hydrating = value;
124
+ }
125
+ let hydrate_node;
126
+ function set_hydrate_node(node) {
127
+ if (node === null) {
128
+ hydration_mismatch();
129
+ throw HYDRATION_ERROR;
130
+ }
131
+ return hydrate_node = node;
132
+ }
133
+ function hydrate_next() {
134
+ return set_hydrate_node(/* @__PURE__ */ get_next_sibling(hydrate_node));
135
+ }
136
+ function next(count = 1) {
137
+ if (hydrating) {
138
+ var i = count;
139
+ var node = hydrate_node;
140
+ while (i--) {
141
+ node = /** @type {TemplateNode} */
142
+ /* @__PURE__ */ get_next_sibling(node);
143
+ }
144
+ hydrate_node = node;
145
+ }
146
+ }
147
+ function skip_nodes(remove = true) {
148
+ var depth = 0;
149
+ var node = hydrate_node;
150
+ while (true) {
151
+ if (node.nodeType === COMMENT_NODE) {
152
+ var data = (
153
+ /** @type {Comment} */
154
+ node.data
155
+ );
156
+ if (data === HYDRATION_END) {
157
+ if (depth === 0) return node;
158
+ depth -= 1;
159
+ } else if (data === HYDRATION_START || data === HYDRATION_START_ELSE || // "[1", "[2", etc. for if blocks
160
+ data[0] === "[" && !isNaN(Number(data.slice(1)))) {
161
+ depth += 1;
162
+ }
163
+ }
164
+ var next2 = (
165
+ /** @type {TemplateNode} */
166
+ /* @__PURE__ */ get_next_sibling(node)
167
+ );
168
+ if (remove) node.remove();
169
+ node = next2;
170
+ }
171
+ }
172
+ function read_hydration_instruction(node) {
173
+ if (!node || node.nodeType !== COMMENT_NODE) {
174
+ hydration_mismatch();
175
+ throw HYDRATION_ERROR;
176
+ }
177
+ return (
178
+ /** @type {Comment} */
179
+ node.data
180
+ );
181
+ }
182
+ function proxy(value) {
183
+ if (typeof value !== "object" || value === null || STATE_SYMBOL in value || COMPONENT_SYMBOL in value) {
184
+ return value;
185
+ }
186
+ const prototype = get_prototype_of(value);
187
+ if (prototype !== object_prototype && prototype !== array_prototype) {
188
+ return value;
189
+ }
190
+ var sources = /* @__PURE__ */ new Map();
191
+ var is_proxied_array = is_array(value);
192
+ var version = /* @__PURE__ */ state(0);
193
+ var parent_version = update_version;
194
+ var with_parent = (fn) => {
195
+ if (update_version === parent_version) {
196
+ return fn();
197
+ }
198
+ var reaction = active_reaction;
199
+ var version2 = update_version;
200
+ set_active_reaction(null);
201
+ set_update_version(parent_version);
202
+ var result = fn();
203
+ set_active_reaction(reaction);
204
+ set_update_version(version2);
205
+ return result;
206
+ };
207
+ if (is_proxied_array) {
208
+ sources.set("length", /* @__PURE__ */ state(
209
+ /** @type {any[]} */
210
+ value.length
211
+ ));
212
+ }
213
+ return new Proxy(
214
+ /** @type {any} */
215
+ value,
216
+ {
217
+ defineProperty(_, prop, descriptor) {
218
+ if (!("value" in descriptor) || descriptor.configurable === false || descriptor.enumerable === false || descriptor.writable === false) {
219
+ state_descriptors_fixed();
220
+ }
221
+ var s = sources.get(prop);
222
+ if (s === void 0) {
223
+ with_parent(() => {
224
+ var s2 = /* @__PURE__ */ state(descriptor.value);
225
+ sources.set(prop, s2);
226
+ return s2;
227
+ });
228
+ } else {
229
+ set(s, descriptor.value, true);
230
+ }
231
+ return true;
232
+ },
233
+ deleteProperty(target, prop) {
234
+ var s = sources.get(prop);
235
+ if (s === void 0) {
236
+ if (prop in target) {
237
+ const s2 = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
238
+ sources.set(prop, s2);
239
+ increment(version);
240
+ }
241
+ } else {
242
+ set(s, UNINITIALIZED);
243
+ increment(version);
244
+ }
245
+ return true;
246
+ },
247
+ get(target, prop, receiver) {
248
+ if (prop === STATE_SYMBOL) {
249
+ return value;
250
+ }
251
+ var s = sources.get(prop);
252
+ var exists = prop in target;
253
+ if (s === void 0 && (!exists || get_descriptor(target, prop)?.writable)) {
254
+ s = with_parent(() => {
255
+ var p = proxy(exists ? target[prop] : UNINITIALIZED);
256
+ var s2 = /* @__PURE__ */ state(p);
257
+ return s2;
258
+ });
259
+ sources.set(prop, s);
260
+ }
261
+ if (s !== void 0) {
262
+ var v = get(s);
263
+ return v === UNINITIALIZED ? void 0 : v;
264
+ }
265
+ return Reflect.get(target, prop, receiver);
266
+ },
267
+ getOwnPropertyDescriptor(target, prop) {
268
+ this.has?.(target, prop);
269
+ var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
270
+ var s = sources.get(prop);
271
+ if (s !== void 0) {
272
+ var value2 = get(s);
273
+ if (value2 === UNINITIALIZED) {
274
+ return void 0;
275
+ }
276
+ if (descriptor && "value" in descriptor) {
277
+ descriptor.value = value2;
278
+ } else {
279
+ return {
280
+ enumerable: true,
281
+ configurable: true,
282
+ value: value2,
283
+ writable: true
284
+ };
285
+ }
286
+ }
287
+ return descriptor;
288
+ },
289
+ has(target, prop) {
290
+ if (prop === STATE_SYMBOL) {
291
+ return true;
292
+ }
293
+ var s = sources.get(prop);
294
+ var has = s !== void 0 && s.v !== UNINITIALIZED || Reflect.has(target, prop);
295
+ if (s !== void 0 || active_effect !== null && (!has || get_descriptor(target, prop)?.writable)) {
296
+ if (s === void 0) {
297
+ s = with_parent(() => {
298
+ var p = has ? proxy(target[prop]) : UNINITIALIZED;
299
+ var s2 = /* @__PURE__ */ state(p);
300
+ return s2;
301
+ });
302
+ sources.set(prop, s);
303
+ }
304
+ var value2 = get(s);
305
+ if (value2 === UNINITIALIZED) {
306
+ return false;
307
+ }
308
+ }
309
+ return has;
310
+ },
311
+ set(target, prop, value2, receiver) {
312
+ var s = sources.get(prop);
313
+ var has = prop in target;
314
+ if (is_proxied_array && prop === "length") {
315
+ for (var i = value2; i < /** @type {Source<number>} */
316
+ s.v; i += 1) {
317
+ var other_s = sources.get(i + "");
318
+ if (other_s !== void 0) {
319
+ set(other_s, UNINITIALIZED);
320
+ } else if (i in target) {
321
+ other_s = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
322
+ sources.set(i + "", other_s);
323
+ }
324
+ }
325
+ }
326
+ if (s === void 0) {
327
+ if (!has || get_descriptor(target, prop)?.writable) {
328
+ s = with_parent(() => /* @__PURE__ */ state(void 0));
329
+ set(s, proxy(value2));
330
+ sources.set(prop, s);
331
+ }
332
+ } else {
333
+ has = s.v !== UNINITIALIZED;
334
+ var p = with_parent(() => proxy(value2));
335
+ set(s, p);
336
+ }
337
+ var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
338
+ if (descriptor?.set) {
339
+ descriptor.set.call(receiver, value2);
340
+ }
341
+ if (!has) {
342
+ if (is_proxied_array && typeof prop === "string") {
343
+ var ls = (
344
+ /** @type {Source<number>} */
345
+ sources.get("length")
346
+ );
347
+ var n = Number(prop);
348
+ if (Number.isInteger(n) && n >= ls.v) {
349
+ set(ls, n + 1);
350
+ }
351
+ }
352
+ increment(version);
353
+ }
354
+ return true;
355
+ },
356
+ ownKeys(target) {
357
+ get(version);
358
+ var own_keys = Reflect.ownKeys(target).filter((key2) => {
359
+ var source3 = sources.get(key2);
360
+ return source3 === void 0 || source3.v !== UNINITIALIZED;
361
+ });
362
+ for (var [key, source2] of sources) {
363
+ if (source2.v !== UNINITIALIZED && !(key in target)) {
364
+ own_keys.push(key);
365
+ }
366
+ }
367
+ return own_keys;
368
+ },
369
+ setPrototypeOf() {
370
+ state_prototype_fixed();
371
+ }
372
+ }
373
+ );
374
+ }
375
+ var $window;
376
+ var first_child_getter;
377
+ var next_sibling_getter;
378
+ function init_operations() {
379
+ if ($window !== void 0) {
380
+ return;
381
+ }
382
+ $window = window;
383
+ var element_prototype = Element.prototype;
384
+ var node_prototype = Node.prototype;
385
+ var text_prototype = Text.prototype;
386
+ first_child_getter = get_descriptor(node_prototype, "firstChild").get;
387
+ next_sibling_getter = get_descriptor(node_prototype, "nextSibling").get;
388
+ if (is_extensible(element_prototype)) {
389
+ element_prototype[CLASS_CACHE] = void 0;
390
+ element_prototype[ATTRIBUTES_CACHE] = null;
391
+ element_prototype[STYLE_CACHE] = void 0;
392
+ element_prototype.__e = void 0;
393
+ }
394
+ if (is_extensible(text_prototype)) {
395
+ text_prototype[TEXT_CACHE] = void 0;
396
+ }
397
+ }
398
+ function create_text(value = "") {
399
+ return document.createTextNode(value);
400
+ }
401
+ // @__NO_SIDE_EFFECTS__
402
+ function get_first_child(node) {
403
+ return (
404
+ /** @type {TemplateNode | null} */
405
+ first_child_getter.call(node)
406
+ );
407
+ }
408
+ // @__NO_SIDE_EFFECTS__
409
+ function get_next_sibling(node) {
410
+ return (
411
+ /** @type {TemplateNode | null} */
412
+ next_sibling_getter.call(node)
413
+ );
414
+ }
415
+ function clear_text_content(node) {
416
+ node.textContent = "";
417
+ }
418
+ function handle_error(error) {
419
+ var effect = active_effect;
420
+ if (effect === null) {
421
+ active_reaction.f |= ERROR_VALUE;
422
+ return error;
423
+ }
424
+ if ((effect.f & REACTION_RAN) === 0 && (effect.f & EFFECT) === 0) {
425
+ throw error;
426
+ }
427
+ invoke_error_boundary(error, effect);
428
+ }
429
+ function invoke_error_boundary(error, effect) {
430
+ if (error === HYDRATION_ERROR) {
431
+ throw error;
432
+ }
433
+ if (effect !== null && (effect.f & DESTROYED) !== 0) {
434
+ return;
435
+ }
436
+ while (effect !== null) {
437
+ if ((effect.f & BOUNDARY_EFFECT) !== 0 && (effect.f & (DESTROYED | DESTROYING)) === 0) {
438
+ if ((effect.f & REACTION_RAN) === 0) {
439
+ throw error;
440
+ }
441
+ try {
442
+ effect.b.error(error);
443
+ return;
444
+ } catch (e) {
445
+ error = e;
446
+ }
447
+ }
448
+ effect = effect.parent;
449
+ }
450
+ throw error;
451
+ }
452
+ const STATUS_MASK = -7169;
453
+ function set_signal_status(signal, status) {
454
+ signal.f = signal.f & STATUS_MASK | status;
455
+ }
456
+ function update_derived_status(derived2) {
457
+ if ((derived2.f & CONNECTED) !== 0 || derived2.deps === null) {
458
+ set_signal_status(derived2, CLEAN);
459
+ } else {
460
+ set_signal_status(derived2, MAYBE_DIRTY);
461
+ }
462
+ }
463
+ function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
464
+ if ((effect.f & DIRTY) !== 0) {
465
+ dirty_effects.add(effect);
466
+ } else if ((effect.f & MAYBE_DIRTY) !== 0) {
467
+ maybe_dirty_effects.add(effect);
468
+ }
469
+ set_signal_status(effect, CLEAN);
470
+ }
471
+ function without_reactive_context(fn) {
472
+ var previous_reaction = active_reaction;
473
+ var previous_effect = active_effect;
474
+ set_active_reaction(null);
475
+ set_active_effect(null);
476
+ try {
477
+ return fn();
478
+ } finally {
479
+ set_active_reaction(previous_reaction);
480
+ set_active_effect(previous_effect);
481
+ }
482
+ }
483
+ const OBSOLETE = /* @__PURE__ */ Symbol("obsolete");
484
+ function destroy_derived_effects(derived2) {
485
+ var effects = derived2.effects;
486
+ if (effects !== null) {
487
+ derived2.effects = null;
488
+ for (var i = 0; i < effects.length; i += 1) {
489
+ destroy_effect(
490
+ /** @type {Effect} */
491
+ effects[i]
492
+ );
493
+ }
494
+ }
495
+ }
496
+ function execute_derived(derived2) {
497
+ var value;
498
+ var prev_active_effect = active_effect;
499
+ var parent = derived2.parent;
500
+ if (!is_destroying_effect && parent !== null && derived2.v !== UNINITIALIZED && // if it was never evaluated before, it's guaranteed to fail downstream, so we try to execute instead
501
+ (parent.f & (DESTROYED | INERT)) !== 0) {
502
+ derived_inert();
503
+ return derived2.v;
504
+ }
505
+ set_active_effect(parent);
506
+ {
507
+ try {
508
+ destroy_derived_effects(derived2);
509
+ value = update_reaction(derived2);
510
+ } finally {
511
+ set_active_effect(prev_active_effect);
512
+ }
513
+ }
514
+ return value;
515
+ }
516
+ function update_derived(derived2) {
517
+ var value = execute_derived(derived2);
518
+ if (!derived2.equals(value)) {
519
+ derived2.wv = increment_write_version();
520
+ if (!current_batch?.is_fork || derived2.deps === null) {
521
+ if (current_batch !== null) {
522
+ current_batch.capture(derived2, value, true);
523
+ previous_batch?.capture(derived2, value, true);
524
+ } else {
525
+ derived2.v = value;
526
+ }
527
+ if (derived2.deps === null) {
528
+ set_signal_status(derived2, CLEAN);
529
+ return;
530
+ }
531
+ }
532
+ }
533
+ if (is_destroying_effect) {
534
+ return;
535
+ }
536
+ if (batch_values !== null) {
537
+ if (effect_tracking() || current_batch?.is_fork) {
538
+ batch_values.set(derived2, value);
539
+ }
540
+ } else {
541
+ update_derived_status(derived2);
542
+ }
543
+ }
544
+ function freeze_derived_effects(derived2) {
545
+ if (derived2.effects === null) return;
546
+ for (const e of derived2.effects) {
547
+ if (e.teardown || e.ac) {
548
+ e.teardown?.();
549
+ if (e.ac !== null) {
550
+ without_reactive_context(() => {
551
+ e.ac.abort(STALE_REACTION);
552
+ e.ac = null;
553
+ });
554
+ }
555
+ if (e.fn !== null) e.teardown = noop;
556
+ remove_reactions(e, 0);
557
+ destroy_effect_children(e);
558
+ }
559
+ }
560
+ }
561
+ function unfreeze_derived_effects(derived2) {
562
+ if (derived2.effects === null) return;
563
+ for (const e of derived2.effects) {
564
+ if (e.teardown && e.fn !== null) {
565
+ update_effect(e);
566
+ }
567
+ }
568
+ }
569
+ let first_batch = null;
570
+ let last_batch = null;
571
+ let current_batch = null;
572
+ let previous_batch = null;
573
+ let batch_values = null;
574
+ let last_scheduled_effect = null;
575
+ let is_flushing_sync = false;
576
+ let is_processing = false;
577
+ let collected_effects = null;
578
+ let legacy_updates = null;
579
+ var flush_count = 0;
580
+ let uid = 1;
581
+ class Batch {
582
+ id = uid++;
583
+ /** True as soon as `#process` was called */
584
+ #started = false;
585
+ linked = true;
586
+ /** @type {Batch | null} */
587
+ #prev = null;
588
+ /** @type {Batch | null} */
589
+ #next = null;
590
+ /** @type {Map<Effect, ReturnType<typeof deferred<any>>>} */
591
+ async_deriveds = /* @__PURE__ */ new Map();
592
+ /**
593
+ * The current values of any signals that are updated in this batch.
594
+ * Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
595
+ * They keys of this map are identical to `this.#previous`
596
+ * @type {Map<Value, [any, boolean]>}
597
+ */
598
+ current = /* @__PURE__ */ new Map();
599
+ /**
600
+ * The values of any signals (sources and deriveds) that are updated in this batch _before_ those updates took place.
601
+ * They keys of this map are identical to `this.#current`
602
+ * @type {Map<Value, any>}
603
+ */
604
+ previous = /* @__PURE__ */ new Map();
605
+ /**
606
+ * When the batch is committed (and the DOM is updated), we need to remove old branches
607
+ * and append new ones by calling the functions added inside (if/each/key/etc) blocks
608
+ * @type {Set<(batch: Batch) => void>}
609
+ */
610
+ #commit_callbacks = /* @__PURE__ */ new Set();
611
+ /**
612
+ * If a fork is discarded, we need to destroy any effects that are no longer needed
613
+ * @type {Set<(batch: Batch) => void>}
614
+ */
615
+ #discard_callbacks = /* @__PURE__ */ new Set();
616
+ /**
617
+ * The number of async effects that are currently in flight
618
+ */
619
+ #pending = 0;
620
+ /**
621
+ * Async effects that are currently in flight, _not_ inside a pending boundary
622
+ * @type {Map<Effect, number>}
623
+ */
624
+ #blocking_pending = /* @__PURE__ */ new Map();
625
+ /**
626
+ * A deferred that resolves when the batch is committed, used with `settled()`
627
+ * TODO replace with Promise.withResolvers once supported widely enough
628
+ * @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
629
+ */
630
+ #deferred = null;
631
+ /**
632
+ * Effects that were scheduled in this batch but not yet 'resolved' into the
633
+ * root effects that need to be flushed. Resolving — the upwards traversal that
634
+ * marks the path to each effect on the shared effect tree (see #resolve) — is
635
+ * deferred until the batch is processed, so that the markers are created and
636
+ * consumed within a single traversal. Scheduling into other batches (which can
637
+ * happen concurrently, e.g. while a batch is committed) can therefore never
638
+ * observe (and be confused by) this batch's markers.
639
+ * May contain duplicates — deduplication happens during resolving
640
+ * @type {Effect[]}
641
+ */
642
+ #scheduled = [];
643
+ /**
644
+ * Effects created while this batch was active.
645
+ * @type {Effect[]}
646
+ */
647
+ #new_effects = [];
648
+ /**
649
+ * Deferred effects (which run after async work has completed) that are DIRTY
650
+ * @type {Set<Effect>}
651
+ */
652
+ #dirty_effects = /* @__PURE__ */ new Set();
653
+ /**
654
+ * Deferred effects that are MAYBE_DIRTY
655
+ * @type {Set<Effect>}
656
+ */
657
+ #maybe_dirty_effects = /* @__PURE__ */ new Set();
658
+ /**
659
+ * A map of branches that still exist, but will be destroyed when this batch
660
+ * is committed — we skip over these during `process`.
661
+ * The value contains child effects that were dirty/maybe_dirty before being reset,
662
+ * so they can be rescheduled if the branch survives.
663
+ * @type {Map<Effect, { d: Effect[], m: Effect[] }>}
664
+ */
665
+ #skipped_branches = /* @__PURE__ */ new Map();
666
+ /**
667
+ * Inverse of #skipped_branches which we need to tell prior batches to unskip them when committing
668
+ * @type {Set<Effect>}
669
+ */
670
+ #unskipped_branches = /* @__PURE__ */ new Set();
671
+ is_fork = false;
672
+ #decrement_queued = false;
673
+ constructor() {
674
+ if (last_batch === null) {
675
+ first_batch = last_batch = this;
676
+ } else {
677
+ last_batch.#next = this;
678
+ this.#prev = last_batch;
679
+ }
680
+ last_batch = this;
681
+ }
682
+ #is_deferred() {
683
+ if (this.is_fork) return true;
684
+ for (const effect of this.#blocking_pending.keys()) {
685
+ var e = effect;
686
+ var skipped = false;
687
+ while (e.parent !== null) {
688
+ if (this.#skipped_branches.has(e)) {
689
+ skipped = true;
690
+ break;
691
+ }
692
+ e = e.parent;
693
+ }
694
+ if (!skipped) {
695
+ return true;
696
+ }
697
+ }
698
+ return false;
699
+ }
700
+ /**
701
+ * Add an effect to the #skipped_branches map and reset its children
702
+ * @param {Effect} effect
703
+ */
704
+ skip_effect(effect) {
705
+ if (!this.#skipped_branches.has(effect)) {
706
+ this.#skipped_branches.set(effect, { d: [], m: [] });
707
+ }
708
+ this.#unskipped_branches.delete(effect);
709
+ }
710
+ /**
711
+ * Remove an effect from the #skipped_branches map and reschedule
712
+ * any tracked dirty/maybe_dirty child effects
713
+ * @param {Effect} effect
714
+ * @param {(e: Effect) => void} callback
715
+ */
716
+ unskip_effect(effect, callback = (e) => this.schedule(e)) {
717
+ var tracked = this.#skipped_branches.get(effect);
718
+ if (tracked) {
719
+ this.#skipped_branches.delete(effect);
720
+ for (var e of tracked.d) {
721
+ set_signal_status(e, DIRTY);
722
+ callback(e);
723
+ }
724
+ for (e of tracked.m) {
725
+ set_signal_status(e, MAYBE_DIRTY);
726
+ callback(e);
727
+ }
728
+ }
729
+ this.#unskipped_branches.add(effect);
730
+ }
731
+ /**
732
+ * Convert the effects that were scheduled in this batch into the root effects
733
+ * that need to be traversed, marking the path to each effect (by clearing the
734
+ * `CLEAN` flag on ancestor branches) so that the traversal can find them.
735
+ * This happens right before traversal rather than at scheduling time, so that
736
+ * the markers left on the (shared) effect tree are created and consumed within
737
+ * a single traversal — scheduling into other batches can never observe them
738
+ * @returns {Effect[]}
739
+ */
740
+ #resolve() {
741
+ var roots = [];
742
+ for (const effect of this.#scheduled) {
743
+ if ((effect.f & DESTROYED) !== 0 || (effect.f & (DIRTY | MAYBE_DIRTY)) === 0) continue;
744
+ var e = effect;
745
+ var covered = false;
746
+ while (e.parent !== null) {
747
+ e = e.parent;
748
+ var flags2 = e.f;
749
+ if ((flags2 & (ROOT_EFFECT | BRANCH_EFFECT)) !== 0) {
750
+ if ((flags2 & CLEAN) === 0) {
751
+ covered = true;
752
+ break;
753
+ }
754
+ e.f ^= CLEAN;
755
+ }
756
+ }
757
+ if (!covered) {
758
+ roots.push(e);
759
+ }
760
+ }
761
+ this.#scheduled = [];
762
+ return roots;
763
+ }
764
+ #process() {
765
+ this.#started = true;
766
+ for (const e of this.#dirty_effects) {
767
+ this.#maybe_dirty_effects.delete(e);
768
+ set_signal_status(e, DIRTY);
769
+ this.schedule(e);
770
+ }
771
+ for (const e of this.#maybe_dirty_effects) {
772
+ set_signal_status(e, MAYBE_DIRTY);
773
+ this.schedule(e);
774
+ }
775
+ this.apply();
776
+ var effects = collected_effects = [];
777
+ var render_effects = [];
778
+ var updates = legacy_updates = [];
779
+ while (this.#scheduled.length > 0) {
780
+ if (flush_count++ > 1e3) {
781
+ this.#unlink();
782
+ infinite_loop_guard();
783
+ }
784
+ for (const root2 of this.#resolve()) {
785
+ try {
786
+ this.#traverse(root2, effects, render_effects);
787
+ } catch (e) {
788
+ reset_all(root2);
789
+ if (!this.#is_deferred()) this.discard();
790
+ throw e;
791
+ }
792
+ }
793
+ }
794
+ current_batch = null;
795
+ if (updates.length > 0) {
796
+ var batch = Batch.ensure();
797
+ for (const e of updates) {
798
+ batch.schedule(e);
799
+ }
800
+ }
801
+ collected_effects = null;
802
+ legacy_updates = null;
803
+ if (this.#is_deferred()) {
804
+ this.#defer_effects(render_effects);
805
+ this.#defer_effects(effects);
806
+ for (const [e, t] of this.#skipped_branches) {
807
+ reset_branch(e, t);
808
+ }
809
+ if (updates.length > 0) {
810
+ /** @type {unknown} */
811
+ current_batch.#process();
812
+ }
813
+ return;
814
+ }
815
+ const earlier_batch = this.#find_earlier_batch();
816
+ if (earlier_batch) {
817
+ this.#defer_effects(render_effects);
818
+ this.#defer_effects(effects);
819
+ earlier_batch.#merge(this);
820
+ return;
821
+ }
822
+ this.#dirty_effects.clear();
823
+ this.#maybe_dirty_effects.clear();
824
+ for (const fn of this.#commit_callbacks) fn(this);
825
+ this.#commit_callbacks.clear();
826
+ previous_batch = this;
827
+ flush_queued_effects(render_effects);
828
+ flush_queued_effects(effects);
829
+ previous_batch = null;
830
+ this.#deferred?.resolve();
831
+ var next_batch = (
832
+ /** @type {Batch | null} */
833
+ /** @type {unknown} */
834
+ current_batch
835
+ );
836
+ if (this.#pending === 0 && (this.#scheduled.length === 0 || next_batch !== null)) {
837
+ this.#unlink();
838
+ }
839
+ if (this.#scheduled.length > 0) {
840
+ if (next_batch !== null) {
841
+ for (const e of this.#scheduled) {
842
+ next_batch.#scheduled.push(e);
843
+ }
844
+ this.#scheduled = [];
845
+ } else {
846
+ next_batch = this;
847
+ }
848
+ }
849
+ if (next_batch !== null) {
850
+ old_values.clear();
851
+ next_batch.#process();
852
+ }
853
+ }
854
+ /**
855
+ * Traverse the effect tree, executing effects or stashing
856
+ * them for later execution as appropriate
857
+ * @param {Effect} root
858
+ * @param {Effect[]} effects
859
+ * @param {Effect[]} render_effects
860
+ */
861
+ #traverse(root2, effects, render_effects) {
862
+ root2.f ^= CLEAN;
863
+ var effect = root2.first;
864
+ while (effect !== null) {
865
+ var flags2 = effect.f;
866
+ var is_branch = (flags2 & (BRANCH_EFFECT | ROOT_EFFECT)) !== 0;
867
+ var is_skippable_branch = is_branch && (flags2 & CLEAN) !== 0;
868
+ var skip = is_skippable_branch || (flags2 & INERT) !== 0 || this.#skipped_branches.has(effect);
869
+ if (!skip && effect.fn !== null) {
870
+ if (is_branch) {
871
+ effect.f ^= CLEAN;
872
+ } else if ((flags2 & EFFECT) !== 0) {
873
+ effects.push(effect);
874
+ } else if (is_dirty(effect)) {
875
+ if ((flags2 & BLOCK_EFFECT) !== 0) this.#maybe_dirty_effects.add(effect);
876
+ update_effect(effect);
877
+ }
878
+ var child = effect.first;
879
+ if (child !== null) {
880
+ effect = child;
881
+ continue;
882
+ }
883
+ }
884
+ while (effect !== null) {
885
+ var next2 = effect.next;
886
+ if (next2 !== null) {
887
+ effect = next2;
888
+ break;
889
+ }
890
+ effect = effect.parent;
891
+ }
892
+ }
893
+ }
894
+ #find_earlier_batch() {
895
+ var batch = this.#prev;
896
+ while (batch !== null) {
897
+ if (!batch.is_fork) {
898
+ for (const [value, [, is_derived]] of this.current) {
899
+ if (batch.current.has(value) && !is_derived) {
900
+ return batch;
901
+ }
902
+ }
903
+ }
904
+ batch = batch.#prev;
905
+ }
906
+ return null;
907
+ }
908
+ /**
909
+ * @param {Batch} batch
910
+ */
911
+ #merge(batch) {
912
+ for (const [source2, value] of batch.current) {
913
+ if (!this.previous.has(source2) && batch.previous.has(source2)) {
914
+ this.previous.set(source2, batch.previous.get(source2));
915
+ }
916
+ this.current.set(source2, value);
917
+ }
918
+ for (const [effect, deferred2] of batch.async_deriveds) {
919
+ const d = this.async_deriveds.get(effect);
920
+ if (d) deferred2.promise.then(d.resolve).catch(d.reject);
921
+ }
922
+ batch.async_deriveds.clear();
923
+ this.transfer_effects(batch.#dirty_effects, batch.#maybe_dirty_effects);
924
+ const mark = (value) => {
925
+ var reactions = value.reactions;
926
+ if (reactions === null) return;
927
+ if ((value.f & DERIVED) !== 0 && (value.f & (DIRTY | MAYBE_DIRTY)) === 0) {
928
+ return;
929
+ }
930
+ for (const reaction of reactions) {
931
+ var flags2 = reaction.f;
932
+ if ((flags2 & DERIVED) !== 0) {
933
+ mark(
934
+ /** @type {Derived} */
935
+ reaction
936
+ );
937
+ } else {
938
+ var effect = (
939
+ /** @type {Effect} */
940
+ reaction
941
+ );
942
+ if (flags2 & (ASYNC | BLOCK_EFFECT) && !this.async_deriveds.has(effect)) {
943
+ this.#maybe_dirty_effects.delete(effect);
944
+ set_signal_status(effect, DIRTY);
945
+ this.schedule(effect);
946
+ }
947
+ }
948
+ }
949
+ };
950
+ for (const source2 of this.current.keys()) {
951
+ mark(source2);
952
+ }
953
+ this.oncommit(() => batch.discard());
954
+ batch.#unlink();
955
+ current_batch = this;
956
+ this.#process();
957
+ }
958
+ /**
959
+ * @param {Effect[]} effects
960
+ */
961
+ #defer_effects(effects) {
962
+ for (var i = 0; i < effects.length; i += 1) {
963
+ defer_effect(effects[i], this.#dirty_effects, this.#maybe_dirty_effects);
964
+ }
965
+ }
966
+ /**
967
+ * Associate a change to a given source with the current
968
+ * batch, noting its previous and current values
969
+ * @param {Value} source
970
+ * @param {any} value
971
+ * @param {boolean} [is_derived]
972
+ */
973
+ capture(source2, value, is_derived = false) {
974
+ if (source2.v !== UNINITIALIZED && !this.previous.has(source2)) {
975
+ this.previous.set(source2, source2.v);
976
+ }
977
+ if ((source2.f & ERROR_VALUE) === 0) {
978
+ this.current.set(source2, [value, is_derived]);
979
+ batch_values?.set(source2, value);
980
+ }
981
+ if (!this.is_fork) {
982
+ source2.v = value;
983
+ }
984
+ }
985
+ activate() {
986
+ current_batch = this;
987
+ }
988
+ deactivate() {
989
+ current_batch = null;
990
+ batch_values = null;
991
+ }
992
+ flush() {
993
+ try {
994
+ if (browser) ;
995
+ is_processing = true;
996
+ current_batch = this;
997
+ this.#process();
998
+ } finally {
999
+ flush_count = 0;
1000
+ last_scheduled_effect = null;
1001
+ collected_effects = null;
1002
+ legacy_updates = null;
1003
+ is_processing = false;
1004
+ current_batch = null;
1005
+ batch_values = null;
1006
+ old_values.clear();
1007
+ }
1008
+ }
1009
+ discard() {
1010
+ for (const fn of this.#discard_callbacks) fn(this);
1011
+ this.#discard_callbacks.clear();
1012
+ for (const deferred2 of this.async_deriveds.values()) {
1013
+ deferred2.reject(OBSOLETE);
1014
+ }
1015
+ this.#unlink();
1016
+ this.#deferred?.resolve();
1017
+ }
1018
+ /**
1019
+ * @param {Effect} effect
1020
+ */
1021
+ register_created_effect(effect) {
1022
+ this.#new_effects.push(effect);
1023
+ }
1024
+ #commit() {
1025
+ for (let batch = first_batch; batch !== null; batch = batch.#next) {
1026
+ var is_earlier = batch.id < this.id;
1027
+ var sources = [];
1028
+ for (const [source3, [value, is_derived]] of this.current) {
1029
+ if (batch.current.has(source3)) {
1030
+ var batch_value = (
1031
+ /** @type {[any, boolean]} */
1032
+ batch.current.get(source3)[0]
1033
+ );
1034
+ if (is_earlier && value !== batch_value) {
1035
+ batch.current.set(source3, [value, is_derived]);
1036
+ } else {
1037
+ continue;
1038
+ }
1039
+ }
1040
+ sources.push(source3);
1041
+ }
1042
+ if (is_earlier) {
1043
+ for (const [effect, deferred2] of this.async_deriveds) {
1044
+ const d = batch.async_deriveds.get(effect);
1045
+ if (d) deferred2.promise.then(d.resolve).catch(d.reject);
1046
+ }
1047
+ }
1048
+ var current = [...batch.current.keys()].filter(
1049
+ (source3) => !/** @type {[any, boolean]} */
1050
+ batch.current.get(source3)[1]
1051
+ );
1052
+ if (!batch.#started || current.length === 0) continue;
1053
+ var others = current.filter((source3) => !this.current.has(source3));
1054
+ if (others.length === 0) {
1055
+ if (is_earlier) {
1056
+ batch.discard();
1057
+ }
1058
+ } else if (sources.length > 0) {
1059
+ if (is_earlier) {
1060
+ for (const unskipped of this.#unskipped_branches) {
1061
+ batch.unskip_effect(unskipped, (e) => {
1062
+ if ((e.f & (BLOCK_EFFECT | ASYNC)) !== 0) {
1063
+ batch.schedule(e);
1064
+ } else {
1065
+ batch.#defer_effects([e]);
1066
+ }
1067
+ });
1068
+ }
1069
+ }
1070
+ batch.activate();
1071
+ var marked = /* @__PURE__ */ new Set();
1072
+ var checked = /* @__PURE__ */ new Map();
1073
+ for (var source2 of sources) {
1074
+ mark_effects(source2, others, marked, checked);
1075
+ }
1076
+ checked = /* @__PURE__ */ new Map();
1077
+ var current_unequal = [...batch.current].filter(([c, v1]) => {
1078
+ const v2 = this.current.get(c);
1079
+ if (!v2) return true;
1080
+ return v2[0] !== v1[0] || v2[1] !== v1[1];
1081
+ }).map(([c]) => c);
1082
+ if (current_unequal.length > 0) {
1083
+ for (const effect of this.#new_effects) {
1084
+ if ((effect.f & (DESTROYED | INERT | EAGER_EFFECT)) === 0 && depends_on(effect, current_unequal, checked)) {
1085
+ if ((effect.f & (ASYNC | BLOCK_EFFECT)) !== 0) {
1086
+ set_signal_status(effect, DIRTY);
1087
+ batch.schedule(effect);
1088
+ } else {
1089
+ batch.#dirty_effects.add(effect);
1090
+ }
1091
+ }
1092
+ }
1093
+ }
1094
+ if (batch.#scheduled.length > 0 && !batch.#decrement_queued) {
1095
+ batch.apply();
1096
+ for (var root2 of batch.#resolve()) {
1097
+ batch.#traverse(root2, [], []);
1098
+ }
1099
+ }
1100
+ batch.deactivate();
1101
+ }
1102
+ }
1103
+ }
1104
+ /**
1105
+ * @param {boolean} blocking
1106
+ * @param {Effect} effect
1107
+ */
1108
+ increment(blocking, effect) {
1109
+ this.#pending += 1;
1110
+ if (blocking) {
1111
+ let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
1112
+ this.#blocking_pending.set(effect, blocking_pending_count + 1);
1113
+ }
1114
+ }
1115
+ /**
1116
+ * @param {boolean} blocking
1117
+ * @param {Effect} effect
1118
+ */
1119
+ decrement(blocking, effect) {
1120
+ this.#pending -= 1;
1121
+ if (blocking) {
1122
+ let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
1123
+ if (blocking_pending_count === 1) {
1124
+ this.#blocking_pending.delete(effect);
1125
+ } else {
1126
+ this.#blocking_pending.set(effect, blocking_pending_count - 1);
1127
+ }
1128
+ }
1129
+ if (this.#decrement_queued) return;
1130
+ this.#decrement_queued = true;
1131
+ queue_micro_task(() => {
1132
+ this.#decrement_queued = false;
1133
+ if (this.linked) {
1134
+ this.flush();
1135
+ }
1136
+ });
1137
+ }
1138
+ /**
1139
+ * @param {Set<Effect>} dirty_effects
1140
+ * @param {Set<Effect>} maybe_dirty_effects
1141
+ */
1142
+ transfer_effects(dirty_effects, maybe_dirty_effects) {
1143
+ for (const e of dirty_effects) {
1144
+ this.#dirty_effects.add(e);
1145
+ }
1146
+ for (const e of maybe_dirty_effects) {
1147
+ this.#maybe_dirty_effects.add(e);
1148
+ }
1149
+ dirty_effects.clear();
1150
+ maybe_dirty_effects.clear();
1151
+ }
1152
+ /** @param {(batch: Batch) => void} fn */
1153
+ oncommit(fn) {
1154
+ this.#commit_callbacks.add(fn);
1155
+ }
1156
+ /** @param {(batch: Batch) => void} fn */
1157
+ ondiscard(fn) {
1158
+ this.#discard_callbacks.add(fn);
1159
+ }
1160
+ settled() {
1161
+ return (this.#deferred ??= deferred()).promise;
1162
+ }
1163
+ static ensure() {
1164
+ if (current_batch === null) {
1165
+ const batch = current_batch = new Batch();
1166
+ if (!is_processing && !is_flushing_sync) {
1167
+ queue_micro_task(() => {
1168
+ if (!batch.#started) {
1169
+ batch.flush();
1170
+ }
1171
+ });
1172
+ }
1173
+ }
1174
+ return current_batch;
1175
+ }
1176
+ apply() {
1177
+ {
1178
+ batch_values = null;
1179
+ return;
1180
+ }
1181
+ }
1182
+ /**
1183
+ *
1184
+ * @param {Effect} effect
1185
+ */
1186
+ schedule(effect) {
1187
+ last_scheduled_effect = effect;
1188
+ if (effect.b?.is_pending && (effect.f & (EFFECT | RENDER_EFFECT | MANAGED_EFFECT)) !== 0 && (effect.f & REACTION_RAN) === 0) {
1189
+ effect.b.defer_effect(effect);
1190
+ return;
1191
+ }
1192
+ this.#scheduled.push(effect);
1193
+ }
1194
+ #unlink() {
1195
+ if (!this.linked) return;
1196
+ var prev = this.#prev;
1197
+ var next2 = this.#next;
1198
+ if (prev === null) {
1199
+ first_batch = next2;
1200
+ } else {
1201
+ prev.#next = next2;
1202
+ }
1203
+ if (next2 === null) {
1204
+ last_batch = prev;
1205
+ } else {
1206
+ next2.#prev = prev;
1207
+ }
1208
+ this.linked = false;
1209
+ }
1210
+ }
1211
+ function flushSync(fn) {
1212
+ var was_flushing_sync = is_flushing_sync;
1213
+ var prev_previous_batch = previous_batch;
1214
+ previous_batch = null;
1215
+ is_flushing_sync = true;
1216
+ try {
1217
+ var result;
1218
+ if (fn) ;
1219
+ while (true) {
1220
+ flush_tasks();
1221
+ if (current_batch === null) {
1222
+ return (
1223
+ /** @type {T} */
1224
+ result
1225
+ );
1226
+ }
1227
+ current_batch.flush();
1228
+ }
1229
+ } finally {
1230
+ is_flushing_sync = was_flushing_sync;
1231
+ previous_batch = prev_previous_batch;
1232
+ }
1233
+ }
1234
+ function infinite_loop_guard() {
1235
+ try {
1236
+ effect_update_depth_exceeded();
1237
+ } catch (error) {
1238
+ invoke_error_boundary(error, last_scheduled_effect);
1239
+ }
1240
+ }
1241
+ let eager_block_effects = null;
1242
+ function flush_queued_effects(effects) {
1243
+ var length = effects.length;
1244
+ if (length === 0) return;
1245
+ var i = 0;
1246
+ while (i < length) {
1247
+ var effect = effects[i++];
1248
+ if ((effect.f & (DESTROYED | INERT)) === 0 && is_dirty(effect)) {
1249
+ eager_block_effects = /* @__PURE__ */ new Set();
1250
+ update_effect(effect);
1251
+ if (effect.deps === null && effect.first === null && effect.nodes === null && effect.teardown === null && effect.ac === null) {
1252
+ unlink_effect(effect);
1253
+ }
1254
+ if (eager_block_effects?.size > 0) {
1255
+ old_values.clear();
1256
+ for (const e of eager_block_effects) {
1257
+ if ((e.f & (DESTROYED | INERT)) !== 0) continue;
1258
+ const ordered_effects = [e];
1259
+ let ancestor = e.parent;
1260
+ while (ancestor !== null) {
1261
+ if (eager_block_effects.has(ancestor)) {
1262
+ eager_block_effects.delete(ancestor);
1263
+ ordered_effects.push(ancestor);
1264
+ }
1265
+ ancestor = ancestor.parent;
1266
+ }
1267
+ for (let j = ordered_effects.length - 1; j >= 0; j--) {
1268
+ const e2 = ordered_effects[j];
1269
+ if ((e2.f & (DESTROYED | INERT)) !== 0) continue;
1270
+ update_effect(e2);
1271
+ }
1272
+ }
1273
+ eager_block_effects.clear();
1274
+ }
1275
+ }
1276
+ }
1277
+ eager_block_effects = null;
1278
+ }
1279
+ function mark_effects(value, sources, marked, checked) {
1280
+ if (marked.has(value)) return;
1281
+ marked.add(value);
1282
+ if (value.reactions !== null) {
1283
+ for (const reaction of value.reactions) {
1284
+ const flags2 = reaction.f;
1285
+ if ((flags2 & DERIVED) !== 0) {
1286
+ mark_effects(
1287
+ /** @type {Derived} */
1288
+ reaction,
1289
+ sources,
1290
+ marked,
1291
+ checked
1292
+ );
1293
+ } else if ((flags2 & (ASYNC | BLOCK_EFFECT)) !== 0 && (flags2 & DIRTY) === 0 && depends_on(reaction, sources, checked)) {
1294
+ set_signal_status(reaction, DIRTY);
1295
+ schedule_effect(
1296
+ /** @type {Effect} */
1297
+ reaction
1298
+ );
1299
+ }
1300
+ }
1301
+ }
1302
+ }
1303
+ function depends_on(reaction, sources, checked) {
1304
+ const depends = checked.get(reaction);
1305
+ if (depends !== void 0) return depends;
1306
+ if (reaction.deps !== null) {
1307
+ for (const dep of reaction.deps) {
1308
+ if (includes.call(sources, dep)) {
1309
+ return true;
1310
+ }
1311
+ if ((dep.f & DERIVED) !== 0 && depends_on(
1312
+ /** @type {Derived} */
1313
+ dep,
1314
+ sources,
1315
+ checked
1316
+ )) {
1317
+ checked.set(
1318
+ /** @type {Derived} */
1319
+ dep,
1320
+ true
1321
+ );
1322
+ return true;
1323
+ }
1324
+ }
1325
+ }
1326
+ checked.set(reaction, false);
1327
+ return false;
1328
+ }
1329
+ function schedule_effect(effect) {
1330
+ current_batch.schedule(effect);
1331
+ }
1332
+ function reset_branch(effect, tracked) {
1333
+ if ((effect.f & BRANCH_EFFECT) !== 0 && (effect.f & CLEAN) !== 0) {
1334
+ return;
1335
+ }
1336
+ if ((effect.f & DIRTY) !== 0) {
1337
+ tracked.d.push(effect);
1338
+ } else if ((effect.f & MAYBE_DIRTY) !== 0) {
1339
+ tracked.m.push(effect);
1340
+ }
1341
+ set_signal_status(effect, CLEAN);
1342
+ var e = effect.first;
1343
+ while (e !== null) {
1344
+ reset_branch(e, tracked);
1345
+ e = e.next;
1346
+ }
1347
+ }
1348
+ function reset_all(effect) {
1349
+ set_signal_status(effect, CLEAN);
1350
+ var e = effect.first;
1351
+ while (e !== null) {
1352
+ reset_all(e);
1353
+ e = e.next;
1354
+ }
1355
+ }
1356
+ let eager_effects = /* @__PURE__ */ new Set();
1357
+ const old_values = /* @__PURE__ */ new Map();
1358
+ let eager_effects_deferred = false;
1359
+ function source(v, stack) {
1360
+ var signal = {
1361
+ f: 0,
1362
+ // TODO ideally we could skip this altogether, but it causes type errors
1363
+ v,
1364
+ reactions: null,
1365
+ equals,
1366
+ rv: 0,
1367
+ wv: 0
1368
+ };
1369
+ return signal;
1370
+ }
1371
+ // @__NO_SIDE_EFFECTS__
1372
+ function state(v, stack) {
1373
+ const s = source(v);
1374
+ push_reaction_value(s);
1375
+ return s;
1376
+ }
1377
+ // @__NO_SIDE_EFFECTS__
1378
+ function mutable_source(initial_value, immutable = false, trackable = true) {
1379
+ const s = source(initial_value);
1380
+ if (!immutable) {
1381
+ s.equals = safe_equals;
1382
+ }
1383
+ return s;
1384
+ }
1385
+ function set(source2, value, should_proxy = false) {
1386
+ if (active_reaction !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
1387
+ // to ensure we error if state is set inside an inspect effect
1388
+ (!untracking || (active_reaction.f & EAGER_EFFECT) !== 0) && is_runes() && (active_reaction.f & (DERIVED | BLOCK_EFFECT | ASYNC | EAGER_EFFECT)) !== 0 && (current_sources === null || !current_sources.has(source2))) {
1389
+ state_unsafe_mutation();
1390
+ }
1391
+ let new_value = should_proxy ? proxy(value) : value;
1392
+ return internal_set(source2, new_value, legacy_updates);
1393
+ }
1394
+ var seen = null;
1395
+ var count_deps = 0;
1396
+ function internal_set(source2, value, updated_during_traversal = null) {
1397
+ if (!source2.equals(value)) {
1398
+ if (is_destroying_effect) {
1399
+ old_values.set(source2, value);
1400
+ } else if (!old_values.has(source2)) {
1401
+ old_values.set(source2, source2.v);
1402
+ }
1403
+ var batch = Batch.ensure();
1404
+ batch.capture(source2, value);
1405
+ if ((source2.f & DERIVED) !== 0) {
1406
+ const derived2 = (
1407
+ /** @type {Derived} */
1408
+ source2
1409
+ );
1410
+ if ((source2.f & DIRTY) !== 0) {
1411
+ execute_derived(derived2);
1412
+ }
1413
+ if (batch_values === null) {
1414
+ update_derived_status(derived2);
1415
+ }
1416
+ }
1417
+ source2.wv = increment_write_version();
1418
+ seen = null;
1419
+ count_deps = 0;
1420
+ mark_reactions(source2, DIRTY, updated_during_traversal);
1421
+ seen = null;
1422
+ if (active_effect !== null && (active_effect.f & CLEAN) !== 0 && (active_effect.f & (BRANCH_EFFECT | ROOT_EFFECT)) === 0) {
1423
+ if (untracked_writes === null) {
1424
+ set_untracked_writes([source2]);
1425
+ } else {
1426
+ untracked_writes.push(source2);
1427
+ }
1428
+ }
1429
+ if (!batch.is_fork && eager_effects.size > 0 && !eager_effects_deferred) {
1430
+ flush_eager_effects();
1431
+ }
1432
+ }
1433
+ return value;
1434
+ }
1435
+ function flush_eager_effects() {
1436
+ eager_effects_deferred = false;
1437
+ for (const effect of eager_effects) {
1438
+ if ((effect.f & CLEAN) !== 0) {
1439
+ set_signal_status(effect, MAYBE_DIRTY);
1440
+ }
1441
+ let dirty;
1442
+ try {
1443
+ dirty = is_dirty(effect);
1444
+ } catch {
1445
+ dirty = true;
1446
+ }
1447
+ if (dirty) {
1448
+ update_effect(effect);
1449
+ }
1450
+ }
1451
+ eager_effects.clear();
1452
+ }
1453
+ function increment(source2) {
1454
+ set(source2, source2.v + 1);
1455
+ }
1456
+ function mark_reactions(signal, status, updated_during_traversal) {
1457
+ var reactions = signal.reactions;
1458
+ if (reactions === null) return;
1459
+ var length = reactions.length;
1460
+ count_deps += length;
1461
+ if (count_deps > 1e5 && seen === null) seen = /* @__PURE__ */ new Set();
1462
+ if (seen !== null) {
1463
+ if (seen.has(signal)) return;
1464
+ seen.add(signal);
1465
+ }
1466
+ for (var i = 0; i < length; i++) {
1467
+ var reaction = reactions[i];
1468
+ var flags2 = reaction.f;
1469
+ var not_dirty = (flags2 & DIRTY) === 0;
1470
+ if (not_dirty) {
1471
+ set_signal_status(reaction, status);
1472
+ }
1473
+ if ((flags2 & EAGER_EFFECT) !== 0) {
1474
+ eager_effects.add(
1475
+ /** @type {Effect} */
1476
+ reaction
1477
+ );
1478
+ } else if ((flags2 & DERIVED) !== 0) {
1479
+ var derived2 = (
1480
+ /** @type {Derived} */
1481
+ reaction
1482
+ );
1483
+ batch_values?.delete(derived2);
1484
+ mark_reactions(derived2, MAYBE_DIRTY, updated_during_traversal);
1485
+ } else if (not_dirty) {
1486
+ var effect = (
1487
+ /** @type {Effect} */
1488
+ reaction
1489
+ );
1490
+ if ((flags2 & BLOCK_EFFECT) !== 0 && eager_block_effects !== null) {
1491
+ eager_block_effects.add(effect);
1492
+ }
1493
+ if (updated_during_traversal !== null) {
1494
+ updated_during_traversal.push(effect);
1495
+ } else {
1496
+ schedule_effect(effect);
1497
+ }
1498
+ }
1499
+ }
1500
+ }
1501
+ let is_destroying_effect = false;
1502
+ function set_is_destroying_effect(value) {
1503
+ is_destroying_effect = value;
1504
+ }
1505
+ let active_reaction = null;
1506
+ let untracking = false;
1507
+ function set_active_reaction(reaction) {
1508
+ active_reaction = reaction;
1509
+ }
1510
+ let active_effect = null;
1511
+ function set_active_effect(effect) {
1512
+ active_effect = effect;
1513
+ }
1514
+ let current_sources = null;
1515
+ function push_reaction_value(value) {
1516
+ if (active_reaction !== null && ((active_reaction.f & REACTION_IS_UPDATING) !== 0 || (active_reaction.f & DERIVED) !== 0)) {
1517
+ (current_sources ??= /* @__PURE__ */ new Set()).add(value);
1518
+ }
1519
+ }
1520
+ let new_deps = null;
1521
+ let skipped_deps = 0;
1522
+ let untracked_writes = null;
1523
+ function set_untracked_writes(value) {
1524
+ untracked_writes = value;
1525
+ }
1526
+ let write_version = 1;
1527
+ let read_version = 0;
1528
+ let update_version = read_version;
1529
+ function set_update_version(value) {
1530
+ update_version = value;
1531
+ }
1532
+ function increment_write_version() {
1533
+ return ++write_version;
1534
+ }
1535
+ function is_dirty(reaction) {
1536
+ var flags2 = reaction.f;
1537
+ if ((flags2 & DIRTY) !== 0) {
1538
+ return true;
1539
+ }
1540
+ if ((flags2 & MAYBE_DIRTY) !== 0) {
1541
+ var dependencies = (
1542
+ /** @type {Value[]} */
1543
+ reaction.deps
1544
+ );
1545
+ var length = dependencies.length;
1546
+ for (var i = 0; i < length; i++) {
1547
+ var dependency = dependencies[i];
1548
+ if (is_dirty(
1549
+ /** @type {Derived} */
1550
+ dependency
1551
+ )) {
1552
+ update_derived(
1553
+ /** @type {Derived} */
1554
+ dependency
1555
+ );
1556
+ }
1557
+ if (dependency.wv > reaction.wv) {
1558
+ return true;
1559
+ }
1560
+ }
1561
+ if ((flags2 & CONNECTED) !== 0 && // During time traveling we don't want to reset the status so that
1562
+ // traversal of the graph in the other batches still happens
1563
+ batch_values === null) {
1564
+ set_signal_status(reaction, CLEAN);
1565
+ }
1566
+ }
1567
+ return false;
1568
+ }
1569
+ function schedule_possible_effect_self_invalidation(signal, effect, root2 = true) {
1570
+ var reactions = signal.reactions;
1571
+ if (reactions === null) return;
1572
+ if (current_sources !== null && current_sources.has(signal)) {
1573
+ return;
1574
+ }
1575
+ for (var i = 0; i < reactions.length; i++) {
1576
+ var reaction = reactions[i];
1577
+ if ((reaction.f & DERIVED) !== 0) {
1578
+ schedule_possible_effect_self_invalidation(
1579
+ /** @type {Derived} */
1580
+ reaction,
1581
+ effect,
1582
+ false
1583
+ );
1584
+ } else if (effect === reaction) {
1585
+ if (root2) {
1586
+ set_signal_status(reaction, DIRTY);
1587
+ } else if ((reaction.f & CLEAN) !== 0) {
1588
+ set_signal_status(reaction, MAYBE_DIRTY);
1589
+ }
1590
+ schedule_effect(
1591
+ /** @type {Effect} */
1592
+ reaction
1593
+ );
1594
+ }
1595
+ }
1596
+ }
1597
+ function update_reaction(reaction) {
1598
+ var previous_deps = new_deps;
1599
+ var previous_skipped_deps = skipped_deps;
1600
+ var previous_untracked_writes = untracked_writes;
1601
+ var previous_reaction = active_reaction;
1602
+ var previous_sources = current_sources;
1603
+ var previous_component_context = component_context;
1604
+ var previous_untracking = untracking;
1605
+ var previous_update_version = update_version;
1606
+ var flags2 = reaction.f;
1607
+ new_deps = /** @type {null | Value[]} */
1608
+ null;
1609
+ skipped_deps = 0;
1610
+ untracked_writes = null;
1611
+ active_reaction = (flags2 & (BRANCH_EFFECT | ROOT_EFFECT)) === 0 ? reaction : null;
1612
+ current_sources = null;
1613
+ set_component_context(reaction.ctx);
1614
+ untracking = false;
1615
+ update_version = ++read_version;
1616
+ if (reaction.ac !== null) {
1617
+ without_reactive_context(() => {
1618
+ reaction.ac.abort(STALE_REACTION);
1619
+ });
1620
+ reaction.ac = null;
1621
+ }
1622
+ try {
1623
+ reaction.f |= REACTION_IS_UPDATING;
1624
+ var fn = (
1625
+ /** @type {Function} */
1626
+ reaction.fn
1627
+ );
1628
+ var result = fn();
1629
+ reaction.f |= REACTION_RAN;
1630
+ var deps = update_dependencies(reaction);
1631
+ if (is_runes() && untracked_writes !== null && !untracking && deps !== null && (reaction.f & (DERIVED | MAYBE_DIRTY | DIRTY)) === 0) {
1632
+ for (var i = 0; i < /** @type {Source[]} */
1633
+ untracked_writes.length; i++) {
1634
+ schedule_possible_effect_self_invalidation(
1635
+ untracked_writes[i],
1636
+ /** @type {Effect} */
1637
+ reaction
1638
+ );
1639
+ }
1640
+ }
1641
+ if (previous_reaction !== null && previous_reaction !== reaction) {
1642
+ read_version++;
1643
+ if (previous_reaction.deps !== null) {
1644
+ for (let i2 = 0; i2 < previous_skipped_deps; i2 += 1) {
1645
+ previous_reaction.deps[i2].rv = read_version;
1646
+ }
1647
+ }
1648
+ if (previous_deps !== null) {
1649
+ for (const dep of previous_deps) {
1650
+ dep.rv = read_version;
1651
+ }
1652
+ }
1653
+ if (untracked_writes !== null) {
1654
+ if (previous_untracked_writes === null) {
1655
+ previous_untracked_writes = untracked_writes;
1656
+ } else {
1657
+ previous_untracked_writes.push(.../** @type {Source[]} */
1658
+ untracked_writes);
1659
+ }
1660
+ }
1661
+ }
1662
+ if ((reaction.f & ERROR_VALUE) !== 0) {
1663
+ reaction.f ^= ERROR_VALUE;
1664
+ }
1665
+ return result;
1666
+ } catch (error) {
1667
+ update_dependencies(reaction);
1668
+ return handle_error(error);
1669
+ } finally {
1670
+ reaction.f ^= REACTION_IS_UPDATING;
1671
+ new_deps = previous_deps;
1672
+ skipped_deps = previous_skipped_deps;
1673
+ untracked_writes = previous_untracked_writes;
1674
+ active_reaction = previous_reaction;
1675
+ current_sources = previous_sources;
1676
+ set_component_context(previous_component_context);
1677
+ untracking = previous_untracking;
1678
+ update_version = previous_update_version;
1679
+ }
1680
+ }
1681
+ function update_dependencies(reaction) {
1682
+ var deps = reaction.deps;
1683
+ var is_fork = current_batch?.is_fork;
1684
+ if (new_deps !== null) {
1685
+ var i;
1686
+ if (!is_fork) {
1687
+ remove_reactions(reaction, skipped_deps);
1688
+ }
1689
+ if (deps !== null && skipped_deps > 0) {
1690
+ deps.length = skipped_deps + new_deps.length;
1691
+ for (i = 0; i < new_deps.length; i++) {
1692
+ deps[skipped_deps + i] = new_deps[i];
1693
+ }
1694
+ } else {
1695
+ reaction.deps = deps = new_deps;
1696
+ }
1697
+ if (effect_tracking() && (reaction.f & CONNECTED) !== 0) {
1698
+ for (i = skipped_deps; i < deps.length; i++) {
1699
+ (deps[i].reactions ??= []).push(reaction);
1700
+ }
1701
+ }
1702
+ } else if (!is_fork && deps !== null && skipped_deps < deps.length) {
1703
+ remove_reactions(reaction, skipped_deps);
1704
+ deps.length = skipped_deps;
1705
+ }
1706
+ return deps;
1707
+ }
1708
+ function remove_reaction(signal, dependency) {
1709
+ let reactions = dependency.reactions;
1710
+ if (reactions !== null) {
1711
+ var index = index_of.call(reactions, signal);
1712
+ if (index !== -1) {
1713
+ var new_length = reactions.length - 1;
1714
+ if (new_length === 0) {
1715
+ reactions = dependency.reactions = null;
1716
+ } else {
1717
+ reactions[index] = reactions[new_length];
1718
+ reactions.pop();
1719
+ }
1720
+ }
1721
+ }
1722
+ if (reactions === null && (dependency.f & DERIVED) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
1723
+ // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
1724
+ // allows us to skip the expensive work of disconnecting and immediately reconnecting it
1725
+ (new_deps === null || !includes.call(new_deps, dependency))) {
1726
+ var derived2 = (
1727
+ /** @type {Derived} */
1728
+ dependency
1729
+ );
1730
+ if ((derived2.f & CONNECTED) !== 0) {
1731
+ derived2.f ^= CONNECTED;
1732
+ }
1733
+ if (derived2.v !== UNINITIALIZED) {
1734
+ update_derived_status(derived2);
1735
+ }
1736
+ if (derived2.ac !== null) {
1737
+ without_reactive_context(() => {
1738
+ derived2.ac.abort(STALE_REACTION);
1739
+ derived2.ac = null;
1740
+ set_signal_status(derived2, DIRTY);
1741
+ });
1742
+ }
1743
+ freeze_derived_effects(derived2);
1744
+ remove_reactions(derived2, 0);
1745
+ }
1746
+ }
1747
+ function remove_reactions(signal, start_index) {
1748
+ var dependencies = signal.deps;
1749
+ if (dependencies === null) return;
1750
+ for (var i = start_index; i < dependencies.length; i++) {
1751
+ remove_reaction(signal, dependencies[i]);
1752
+ }
1753
+ }
1754
+ function update_effect(effect) {
1755
+ var flags2 = effect.f;
1756
+ if ((flags2 & DESTROYED) !== 0) {
1757
+ return;
1758
+ }
1759
+ set_signal_status(effect, CLEAN);
1760
+ var previous_effect = active_effect;
1761
+ active_effect = effect;
1762
+ try {
1763
+ if ((flags2 & (BLOCK_EFFECT | MANAGED_EFFECT)) !== 0) {
1764
+ destroy_block_effect_children(effect);
1765
+ } else {
1766
+ destroy_effect_children(effect);
1767
+ }
1768
+ execute_effect_teardown(effect);
1769
+ var teardown = update_reaction(effect);
1770
+ effect.teardown = typeof teardown === "function" ? teardown : null;
1771
+ effect.wv = write_version;
1772
+ var dep;
1773
+ if (browser && tracing_mode_flag && (effect.f & DIRTY) !== 0 && effect.deps !== null) ;
1774
+ } finally {
1775
+ active_effect = previous_effect;
1776
+ }
1777
+ }
1778
+ function get(signal) {
1779
+ var flags2 = signal.f;
1780
+ var is_derived = (flags2 & DERIVED) !== 0;
1781
+ if (active_reaction !== null && !untracking) {
1782
+ var destroyed = active_effect !== null && (active_effect.f & DESTROYED) !== 0;
1783
+ if (!destroyed && (current_sources === null || !current_sources.has(signal))) {
1784
+ var deps = active_reaction.deps;
1785
+ if ((active_reaction.f & REACTION_IS_UPDATING) !== 0) {
1786
+ if (signal.rv < read_version) {
1787
+ signal.rv = read_version;
1788
+ if (new_deps === null && deps !== null && deps[skipped_deps] === signal) {
1789
+ skipped_deps++;
1790
+ } else if (new_deps === null) {
1791
+ new_deps = [signal];
1792
+ } else {
1793
+ new_deps.push(signal);
1794
+ }
1795
+ }
1796
+ } else {
1797
+ active_reaction.deps ??= [];
1798
+ if (!includes.call(active_reaction.deps, signal)) {
1799
+ active_reaction.deps.push(signal);
1800
+ }
1801
+ var reactions = signal.reactions;
1802
+ if (reactions === null) {
1803
+ signal.reactions = [active_reaction];
1804
+ } else if (!includes.call(reactions, active_reaction)) {
1805
+ reactions.push(active_reaction);
1806
+ }
1807
+ }
1808
+ }
1809
+ }
1810
+ if (is_destroying_effect && old_values.has(signal)) {
1811
+ return old_values.get(signal);
1812
+ }
1813
+ if (is_derived) {
1814
+ var derived2 = (
1815
+ /** @type {Derived} */
1816
+ signal
1817
+ );
1818
+ if (is_destroying_effect) {
1819
+ var value = derived2.v;
1820
+ if ((derived2.f & CLEAN) === 0 && derived2.reactions !== null || depends_on_old_values(derived2)) {
1821
+ value = execute_derived(derived2);
1822
+ }
1823
+ old_values.set(derived2, value);
1824
+ return value;
1825
+ }
1826
+ var should_connect = (derived2.f & CONNECTED) === 0 && !untracking && active_reaction !== null && (active_reaction.f & CONNECTED) !== 0;
1827
+ var is_new = (derived2.f & REACTION_RAN) === 0;
1828
+ if (is_dirty(derived2)) {
1829
+ if (should_connect) {
1830
+ derived2.f |= CONNECTED;
1831
+ }
1832
+ update_derived(derived2);
1833
+ }
1834
+ if (should_connect && !is_new) {
1835
+ unfreeze_derived_effects(derived2);
1836
+ reconnect(derived2);
1837
+ }
1838
+ }
1839
+ if (batch_values?.has(signal)) {
1840
+ return batch_values.get(signal);
1841
+ }
1842
+ if ((signal.f & ERROR_VALUE) !== 0) {
1843
+ throw signal.v;
1844
+ }
1845
+ return signal.v;
1846
+ }
1847
+ function reconnect(derived2) {
1848
+ derived2.f |= CONNECTED;
1849
+ if (derived2.deps === null) return;
1850
+ for (const dep of derived2.deps) {
1851
+ var reactions = dep.reactions;
1852
+ if (reactions === null) {
1853
+ dep.reactions = [derived2];
1854
+ } else if (!includes.call(reactions, derived2)) {
1855
+ reactions.push(derived2);
1856
+ }
1857
+ if ((dep.f & DERIVED) !== 0 && (dep.f & CONNECTED) === 0) {
1858
+ unfreeze_derived_effects(
1859
+ /** @type {Derived} */
1860
+ dep
1861
+ );
1862
+ reconnect(
1863
+ /** @type {Derived} */
1864
+ dep
1865
+ );
1866
+ }
1867
+ }
1868
+ }
1869
+ function depends_on_old_values(derived2) {
1870
+ if (derived2.v === UNINITIALIZED) return true;
1871
+ if (derived2.deps === null) return false;
1872
+ for (const dep of derived2.deps) {
1873
+ if (old_values.has(dep)) {
1874
+ return true;
1875
+ }
1876
+ if ((dep.f & DERIVED) !== 0 && depends_on_old_values(
1877
+ /** @type {Derived} */
1878
+ dep
1879
+ )) {
1880
+ return true;
1881
+ }
1882
+ }
1883
+ return false;
1884
+ }
1885
+ function untrack(fn) {
1886
+ var previous_untracking = untracking;
1887
+ try {
1888
+ untracking = true;
1889
+ return fn();
1890
+ } finally {
1891
+ untracking = previous_untracking;
1892
+ }
1893
+ }
1894
+ function push_effect(effect, parent_effect) {
1895
+ var parent_last = parent_effect.last;
1896
+ if (parent_last === null) {
1897
+ parent_effect.last = parent_effect.first = effect;
1898
+ } else {
1899
+ parent_last.next = effect;
1900
+ effect.prev = parent_last;
1901
+ parent_effect.last = effect;
1902
+ }
1903
+ }
1904
+ function create_effect(type, fn) {
1905
+ var parent = active_effect;
1906
+ if (parent !== null && (parent.f & INERT) !== 0) {
1907
+ type |= INERT;
1908
+ }
1909
+ var effect = {
1910
+ ctx: component_context,
1911
+ deps: null,
1912
+ nodes: null,
1913
+ f: type | DIRTY | CONNECTED,
1914
+ first: null,
1915
+ fn,
1916
+ last: null,
1917
+ next: null,
1918
+ parent,
1919
+ b: parent && parent.b,
1920
+ prev: null,
1921
+ teardown: null,
1922
+ wv: 0,
1923
+ ac: null
1924
+ };
1925
+ current_batch?.register_created_effect(effect);
1926
+ var e = effect;
1927
+ if ((type & EFFECT) !== 0) {
1928
+ if (collected_effects !== null) {
1929
+ collected_effects.push(effect);
1930
+ } else {
1931
+ Batch.ensure().schedule(effect);
1932
+ }
1933
+ } else if (fn !== null) {
1934
+ try {
1935
+ update_effect(effect);
1936
+ } catch (e2) {
1937
+ destroy_effect(effect);
1938
+ throw e2;
1939
+ }
1940
+ if (e.deps === null && e.teardown === null && e.nodes === null && e.first === e.last && // either `null`, or a singular child
1941
+ (e.f & EFFECT_PRESERVED) === 0) {
1942
+ e = e.first;
1943
+ if ((type & BLOCK_EFFECT) !== 0 && (type & EFFECT_TRANSPARENT) !== 0 && e !== null) {
1944
+ e.f |= EFFECT_TRANSPARENT;
1945
+ }
1946
+ }
1947
+ }
1948
+ if (e !== null) {
1949
+ e.parent = parent;
1950
+ if (parent !== null) {
1951
+ push_effect(e, parent);
1952
+ }
1953
+ if (active_reaction !== null && (active_reaction.f & DERIVED) !== 0 && (type & ROOT_EFFECT) === 0) {
1954
+ var derived2 = (
1955
+ /** @type {Derived} */
1956
+ active_reaction
1957
+ );
1958
+ (derived2.effects ??= []).push(e);
1959
+ }
1960
+ }
1961
+ return effect;
1962
+ }
1963
+ function effect_tracking() {
1964
+ return active_reaction !== null && !untracking;
1965
+ }
1966
+ function create_user_effect(fn) {
1967
+ return create_effect(EFFECT | USER_EFFECT, fn);
1968
+ }
1969
+ function component_root(fn) {
1970
+ Batch.ensure();
1971
+ const effect = create_effect(ROOT_EFFECT | EFFECT_PRESERVED, fn);
1972
+ return (options = {}) => {
1973
+ return new Promise((fulfil) => {
1974
+ if (options.outro) {
1975
+ pause_effect(effect, () => {
1976
+ destroy_effect(effect);
1977
+ fulfil(void 0);
1978
+ });
1979
+ } else {
1980
+ destroy_effect(effect);
1981
+ fulfil(void 0);
1982
+ }
1983
+ });
1984
+ };
1985
+ }
1986
+ function render_effect(fn, flags2 = 0) {
1987
+ return create_effect(RENDER_EFFECT | flags2, fn);
1988
+ }
1989
+ function block(fn, flags2 = 0) {
1990
+ var effect = create_effect(BLOCK_EFFECT | flags2, fn);
1991
+ return effect;
1992
+ }
1993
+ function branch(fn) {
1994
+ return create_effect(BRANCH_EFFECT | EFFECT_PRESERVED, fn);
1995
+ }
1996
+ function execute_effect_teardown(effect) {
1997
+ var teardown = effect.teardown;
1998
+ if (teardown !== null) {
1999
+ const previously_destroying_effect = is_destroying_effect;
2000
+ const previous_reaction = active_reaction;
2001
+ set_is_destroying_effect(true);
2002
+ set_active_reaction(null);
2003
+ try {
2004
+ teardown.call(null);
2005
+ } catch (error) {
2006
+ invoke_error_boundary(error, effect.parent);
2007
+ } finally {
2008
+ set_is_destroying_effect(previously_destroying_effect);
2009
+ set_active_reaction(previous_reaction);
2010
+ }
2011
+ }
2012
+ }
2013
+ function destroy_effect_children(signal, remove_dom = false) {
2014
+ var effect = signal.first;
2015
+ signal.first = signal.last = null;
2016
+ while (effect !== null) {
2017
+ const controller = effect.ac;
2018
+ if (controller !== null) {
2019
+ without_reactive_context(() => {
2020
+ controller.abort(STALE_REACTION);
2021
+ });
2022
+ }
2023
+ var next2 = effect.next;
2024
+ if ((effect.f & ROOT_EFFECT) !== 0) {
2025
+ effect.parent = null;
2026
+ } else {
2027
+ destroy_effect(effect, remove_dom);
2028
+ }
2029
+ effect = next2;
2030
+ }
2031
+ }
2032
+ function destroy_block_effect_children(signal) {
2033
+ var effect = signal.first;
2034
+ while (effect !== null) {
2035
+ var next2 = effect.next;
2036
+ if ((effect.f & BRANCH_EFFECT) === 0) {
2037
+ destroy_effect(effect);
2038
+ }
2039
+ effect = next2;
2040
+ }
2041
+ }
2042
+ function destroy_effect(effect, remove_dom = true) {
2043
+ var removed = false;
2044
+ if ((remove_dom || (effect.f & HEAD_EFFECT) !== 0) && effect.nodes !== null && effect.nodes.end !== null) {
2045
+ remove_effect_dom(
2046
+ effect.nodes.start,
2047
+ /** @type {TemplateNode} */
2048
+ effect.nodes.end
2049
+ );
2050
+ removed = true;
2051
+ }
2052
+ effect.f |= DESTROYING;
2053
+ destroy_effect_children(effect, remove_dom && !removed);
2054
+ remove_reactions(effect, 0);
2055
+ var transitions = effect.nodes && effect.nodes.t;
2056
+ if (transitions !== null) {
2057
+ for (const transition of transitions) {
2058
+ transition.stop();
2059
+ }
2060
+ }
2061
+ execute_effect_teardown(effect);
2062
+ effect.f ^= DESTROYING;
2063
+ effect.f |= DESTROYED;
2064
+ var parent = effect.parent;
2065
+ if (parent !== null && parent.first !== null) {
2066
+ unlink_effect(effect);
2067
+ }
2068
+ effect.next = effect.prev = effect.teardown = effect.ctx = effect.deps = effect.fn = effect.nodes = effect.ac = effect.b = null;
2069
+ }
2070
+ function remove_effect_dom(node, end) {
2071
+ while (node !== null) {
2072
+ var next2 = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
2073
+ node.remove();
2074
+ node = next2;
2075
+ }
2076
+ }
2077
+ function unlink_effect(effect) {
2078
+ var parent = effect.parent;
2079
+ var prev = effect.prev;
2080
+ var next2 = effect.next;
2081
+ if (prev !== null) prev.next = next2;
2082
+ if (next2 !== null) next2.prev = prev;
2083
+ if (parent !== null) {
2084
+ if (parent.first === effect) parent.first = next2;
2085
+ if (parent.last === effect) parent.last = prev;
2086
+ }
2087
+ }
2088
+ function pause_effect(effect, callback, destroy = true) {
2089
+ var transitions = [];
2090
+ effect.f |= PAUSED;
2091
+ pause_children(effect, transitions, true);
2092
+ var fn = () => {
2093
+ if (destroy) destroy_effect(effect);
2094
+ if (callback) callback();
2095
+ };
2096
+ var remaining = transitions.length;
2097
+ if (remaining > 0) {
2098
+ var check = () => --remaining || fn();
2099
+ for (var transition of transitions) {
2100
+ transition.out(check);
2101
+ }
2102
+ } else {
2103
+ fn();
2104
+ }
2105
+ }
2106
+ function pause_children(effect, transitions, local) {
2107
+ if ((effect.f & INERT) !== 0) return;
2108
+ effect.f ^= INERT;
2109
+ var t = effect.nodes && effect.nodes.t;
2110
+ if (t !== null) {
2111
+ for (const transition of t) {
2112
+ if (transition.is_global || local) {
2113
+ transitions.push(transition);
2114
+ }
2115
+ }
2116
+ }
2117
+ var child = effect.first;
2118
+ while (child !== null) {
2119
+ var sibling = child.next;
2120
+ if ((child.f & ROOT_EFFECT) === 0) {
2121
+ var transparent = (child.f & EFFECT_TRANSPARENT) !== 0 || // If this is a branch effect without a block effect parent,
2122
+ // it means the parent block effect was pruned. In that case,
2123
+ // transparency information was transferred to the branch effect.
2124
+ (child.f & BRANCH_EFFECT) !== 0 && (effect.f & BLOCK_EFFECT) !== 0;
2125
+ pause_children(child, transitions, transparent ? local : false);
2126
+ }
2127
+ child = sibling;
2128
+ }
2129
+ }
2130
+ function move_effect(effect, fragment) {
2131
+ if (!effect.nodes) return;
2132
+ var node = effect.nodes.start;
2133
+ var end = effect.nodes.end;
2134
+ while (node !== null) {
2135
+ var next2 = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
2136
+ fragment.append(node);
2137
+ node = next2;
2138
+ }
2139
+ }
2140
+ const event_symbol = /* @__PURE__ */ Symbol("events");
2141
+ const all_registered_events = /* @__PURE__ */ new Set();
2142
+ const root_event_handles = /* @__PURE__ */ new Set();
2143
+ function create_event(event_name, dom, handler, options = {}) {
2144
+ function target_handler(event) {
2145
+ if (!options.capture) {
2146
+ handle_event_propagation.call(dom, event);
2147
+ }
2148
+ if (!event.cancelBubble) {
2149
+ return without_reactive_context(() => {
2150
+ return handler?.call(this, event);
2151
+ });
2152
+ }
2153
+ }
2154
+ if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") {
2155
+ target_handler.__removed = false;
2156
+ queue_micro_task(() => {
2157
+ if (!target_handler.__removed) {
2158
+ dom.addEventListener(event_name, target_handler, options);
2159
+ }
2160
+ });
2161
+ } else {
2162
+ dom.addEventListener(event_name, target_handler, options);
2163
+ }
2164
+ return target_handler;
2165
+ }
2166
+ function on(element, type, handler, options = {}) {
2167
+ var target_handler = create_event(type, element, handler, options);
2168
+ return () => {
2169
+ target_handler.__removed = true;
2170
+ element.removeEventListener(type, target_handler, options);
2171
+ };
2172
+ }
2173
+ let last_propagated_event = null;
2174
+ let last_propagated_event_clear_scheduled = false;
2175
+ function handle_event_propagation(event) {
2176
+ var handler_element = this;
2177
+ var owner_document = (
2178
+ /** @type {Node} */
2179
+ handler_element.ownerDocument
2180
+ );
2181
+ var event_name = event.type;
2182
+ var path = event.composedPath?.() || [];
2183
+ var current_target = (
2184
+ /** @type {null | Element} */
2185
+ path[0] || event.target
2186
+ );
2187
+ last_propagated_event = event;
2188
+ if (!last_propagated_event_clear_scheduled) {
2189
+ last_propagated_event_clear_scheduled = true;
2190
+ setTimeout(() => {
2191
+ last_propagated_event_clear_scheduled = false;
2192
+ last_propagated_event = null;
2193
+ });
2194
+ }
2195
+ var path_idx = 0;
2196
+ var handled_at = last_propagated_event === event && event[event_symbol];
2197
+ if (handled_at) {
2198
+ var at_idx = path.indexOf(handled_at);
2199
+ if (at_idx !== -1 && (handler_element === document || handler_element === /** @type {any} */
2200
+ window)) {
2201
+ event[event_symbol] = handler_element;
2202
+ return;
2203
+ }
2204
+ var handler_idx = path.indexOf(handler_element);
2205
+ if (handler_idx === -1) {
2206
+ return;
2207
+ }
2208
+ if (at_idx <= handler_idx) {
2209
+ path_idx = at_idx;
2210
+ }
2211
+ }
2212
+ current_target = /** @type {Element} */
2213
+ path[path_idx] || event.target;
2214
+ if (current_target === handler_element) return;
2215
+ define_property(event, "currentTarget", {
2216
+ configurable: true,
2217
+ get() {
2218
+ return current_target || owner_document;
2219
+ }
2220
+ });
2221
+ var previous_reaction = active_reaction;
2222
+ var previous_effect = active_effect;
2223
+ set_active_reaction(null);
2224
+ set_active_effect(null);
2225
+ try {
2226
+ var throw_error;
2227
+ var other_errors = [];
2228
+ while (current_target !== null) {
2229
+ if (current_target === handler_element) break;
2230
+ try {
2231
+ var delegated = current_target[event_symbol]?.[event_name];
2232
+ if (delegated != null && (!/** @type {any} */
2233
+ current_target.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
2234
+ // -> the target could not have been disabled because it emits the event in the first place
2235
+ event.target === current_target)) {
2236
+ delegated.call(current_target, event);
2237
+ }
2238
+ } catch (error) {
2239
+ if (throw_error) {
2240
+ other_errors.push(error);
2241
+ } else {
2242
+ throw_error = error;
2243
+ }
2244
+ }
2245
+ if (event.cancelBubble) break;
2246
+ path_idx++;
2247
+ current_target = path_idx < path.length ? (
2248
+ /** @type {Element} */
2249
+ path[path_idx]
2250
+ ) : null;
2251
+ }
2252
+ if (throw_error) {
2253
+ for (let error of other_errors) {
2254
+ queueMicrotask(() => {
2255
+ throw error;
2256
+ });
2257
+ }
2258
+ throw throw_error;
2259
+ }
2260
+ } finally {
2261
+ event[event_symbol] = handler_element;
2262
+ delete event.currentTarget;
2263
+ set_active_reaction(previous_reaction);
2264
+ set_active_effect(previous_effect);
2265
+ }
2266
+ }
2267
+ function assign_nodes(start, end) {
2268
+ var effect = (
2269
+ /** @type {Effect} */
2270
+ active_effect
2271
+ );
2272
+ if (effect.nodes === null) {
2273
+ effect.nodes = { start, end, a: null, t: null };
2274
+ }
2275
+ }
2276
+ function createSubscriber(start) {
2277
+ let subscribers = 0;
2278
+ let version = source(0);
2279
+ let stop;
2280
+ return () => {
2281
+ if (effect_tracking()) {
2282
+ get(version);
2283
+ render_effect(() => {
2284
+ if (subscribers === 0) {
2285
+ stop = untrack(() => start(() => increment(version)));
2286
+ }
2287
+ subscribers += 1;
2288
+ return () => {
2289
+ queue_micro_task(() => {
2290
+ subscribers -= 1;
2291
+ if (subscribers === 0) {
2292
+ stop?.();
2293
+ stop = void 0;
2294
+ increment(version);
2295
+ }
2296
+ });
2297
+ };
2298
+ });
2299
+ }
2300
+ };
2301
+ }
2302
+ var flags = EFFECT_TRANSPARENT | EFFECT_PRESERVED;
2303
+ function boundary(node, props, children, transform_error) {
2304
+ new Boundary(node, props, children, transform_error);
2305
+ }
2306
+ class Boundary {
2307
+ /** @type {Boundary | null} */
2308
+ parent;
2309
+ is_pending = false;
2310
+ /**
2311
+ * API-level transformError transform function. Transforms errors before they reach the `failed` snippet.
2312
+ * Inherited from parent boundary, or defaults to identity.
2313
+ * @type {(error: unknown) => unknown}
2314
+ */
2315
+ transform_error;
2316
+ /** @type {TemplateNode} */
2317
+ #anchor;
2318
+ /** @type {TemplateNode | null} */
2319
+ #hydrate_open = hydrating ? hydrate_node : null;
2320
+ /** @type {BoundaryProps} */
2321
+ #props;
2322
+ /** @type {((anchor: Node) => void)} */
2323
+ #children;
2324
+ /** @type {Effect} */
2325
+ #effect;
2326
+ /** @type {Effect | null} */
2327
+ #main_effect = null;
2328
+ /** @type {Effect | null} */
2329
+ #pending_effect = null;
2330
+ /** @type {Effect | null} */
2331
+ #failed_effect = null;
2332
+ /** @type {DocumentFragment | null} */
2333
+ #offscreen_fragment = null;
2334
+ #local_pending_count = 0;
2335
+ #pending_count = 0;
2336
+ #pending_count_update_queued = false;
2337
+ /** @type {Set<Effect>} */
2338
+ #dirty_effects = /* @__PURE__ */ new Set();
2339
+ /** @type {Set<Effect>} */
2340
+ #maybe_dirty_effects = /* @__PURE__ */ new Set();
2341
+ /**
2342
+ * A source containing the number of pending async deriveds/expressions.
2343
+ * Only created if `$effect.pending()` is used inside the boundary,
2344
+ * otherwise updating the source results in needless `Batch.ensure()`
2345
+ * calls followed by no-op flushes
2346
+ * @type {Source<number> | null}
2347
+ */
2348
+ #effect_pending = null;
2349
+ #effect_pending_subscriber = createSubscriber(() => {
2350
+ this.#effect_pending = source(this.#local_pending_count);
2351
+ return () => {
2352
+ this.#effect_pending = null;
2353
+ };
2354
+ });
2355
+ /**
2356
+ * @param {TemplateNode} node
2357
+ * @param {BoundaryProps} props
2358
+ * @param {((anchor: Node) => void)} children
2359
+ * @param {((error: unknown) => unknown) | undefined} [transform_error]
2360
+ */
2361
+ constructor(node, props, children, transform_error) {
2362
+ this.#anchor = node;
2363
+ this.#props = props;
2364
+ this.#children = (anchor) => {
2365
+ var effect = (
2366
+ /** @type {Effect} */
2367
+ active_effect
2368
+ );
2369
+ effect.b = this;
2370
+ effect.f |= BOUNDARY_EFFECT;
2371
+ children(anchor);
2372
+ };
2373
+ this.parent = /** @type {Effect} */
2374
+ active_effect.b;
2375
+ this.transform_error = transform_error ?? this.parent?.transform_error ?? ((e) => e);
2376
+ this.#effect = block(() => {
2377
+ if (hydrating) {
2378
+ const comment_data = read_hydration_instruction(
2379
+ /** @type {TemplateNode} */
2380
+ this.#hydrate_open
2381
+ );
2382
+ hydrate_next();
2383
+ const server_rendered_pending = comment_data === HYDRATION_START_ELSE;
2384
+ const server_rendered_failed = comment_data.startsWith(HYDRATION_START_FAILED);
2385
+ if (server_rendered_failed) {
2386
+ const serialized_error = JSON.parse(comment_data.slice(HYDRATION_START_FAILED.length));
2387
+ this.#hydrate_failed_content(serialized_error);
2388
+ } else if (server_rendered_pending) {
2389
+ this.#hydrate_pending_content();
2390
+ } else {
2391
+ this.#hydrate_resolved_content();
2392
+ }
2393
+ } else {
2394
+ this.#render();
2395
+ }
2396
+ }, flags);
2397
+ if (hydrating) {
2398
+ this.#anchor = hydrate_node;
2399
+ }
2400
+ }
2401
+ #hydrate_resolved_content() {
2402
+ try {
2403
+ this.#main_effect = branch(() => this.#children(this.#anchor));
2404
+ } catch (error) {
2405
+ this.error(error);
2406
+ }
2407
+ }
2408
+ /**
2409
+ * @param {unknown} error The deserialized error from the server's hydration comment
2410
+ */
2411
+ #hydrate_failed_content(error) {
2412
+ const failed = this.#props.failed;
2413
+ const { reset, invoke_onerror } = this.#create_reset(error);
2414
+ queue_micro_task(invoke_onerror);
2415
+ if (!failed) return;
2416
+ this.#failed_effect = branch(() => {
2417
+ failed(
2418
+ this.#anchor,
2419
+ () => error,
2420
+ () => reset
2421
+ );
2422
+ });
2423
+ }
2424
+ /**
2425
+ * Creates the `reset` function for a failed boundary, along with a function
2426
+ * that invokes `onerror` with it (if provided)
2427
+ * @param {unknown} error
2428
+ * @returns {{ reset: () => void, invoke_onerror: () => void }}
2429
+ */
2430
+ #create_reset(error) {
2431
+ var did_reset = false;
2432
+ var calling_on_error = false;
2433
+ const reset = () => {
2434
+ if (this.#is_destroyed()) return;
2435
+ if (did_reset) {
2436
+ svelte_boundary_reset_noop();
2437
+ return;
2438
+ }
2439
+ did_reset = true;
2440
+ if (calling_on_error) {
2441
+ svelte_boundary_reset_onerror();
2442
+ }
2443
+ if (this.#failed_effect !== null) {
2444
+ pause_effect(this.#failed_effect, () => {
2445
+ this.#failed_effect = null;
2446
+ });
2447
+ }
2448
+ this.#run(() => {
2449
+ this.#render();
2450
+ });
2451
+ };
2452
+ const invoke_onerror = () => {
2453
+ if (this.#is_destroyed()) return;
2454
+ try {
2455
+ calling_on_error = true;
2456
+ this.#props.onerror?.(error, reset);
2457
+ calling_on_error = false;
2458
+ } catch (err) {
2459
+ invoke_error_boundary(err, this.#effect && this.#effect.parent);
2460
+ }
2461
+ };
2462
+ return { reset, invoke_onerror };
2463
+ }
2464
+ #is_destroyed() {
2465
+ return (this.#effect.f & (DESTROYED | DESTROYING)) !== 0;
2466
+ }
2467
+ #hydrate_pending_content() {
2468
+ const pending = this.#props.pending;
2469
+ if (!pending) return;
2470
+ this.is_pending = true;
2471
+ this.#pending_effect = branch(() => pending(this.#anchor));
2472
+ queue_micro_task(() => {
2473
+ if (this.#is_destroyed()) return;
2474
+ var fragment = this.#offscreen_fragment = document.createDocumentFragment();
2475
+ var anchor = create_text();
2476
+ var handled = false;
2477
+ fragment.append(anchor);
2478
+ this.#main_effect = this.#run(() => {
2479
+ try {
2480
+ return branch(() => this.#children(anchor));
2481
+ } catch (error) {
2482
+ try {
2483
+ this.error(error);
2484
+ handled = true;
2485
+ } catch (error2) {
2486
+ invoke_error_boundary(error2, this.#effect.parent);
2487
+ }
2488
+ return null;
2489
+ }
2490
+ });
2491
+ if (this.#main_effect === null) {
2492
+ this.#offscreen_fragment = null;
2493
+ if (handled) this.#resolve(
2494
+ /** @type {Batch} */
2495
+ current_batch
2496
+ );
2497
+ return;
2498
+ }
2499
+ if (this.#pending_count === 0) {
2500
+ this.#anchor.before(fragment);
2501
+ this.#offscreen_fragment = null;
2502
+ pause_effect(
2503
+ /** @type {Effect} */
2504
+ this.#pending_effect,
2505
+ () => {
2506
+ this.#pending_effect = null;
2507
+ }
2508
+ );
2509
+ this.#resolve(
2510
+ /** @type {Batch} */
2511
+ current_batch
2512
+ );
2513
+ }
2514
+ });
2515
+ }
2516
+ #render() {
2517
+ try {
2518
+ this.is_pending = this.has_pending_snippet();
2519
+ this.#pending_count = 0;
2520
+ this.#local_pending_count = 0;
2521
+ this.#main_effect = branch(() => {
2522
+ this.#children(this.#anchor);
2523
+ });
2524
+ if (this.#pending_count > 0) {
2525
+ var fragment = this.#offscreen_fragment = document.createDocumentFragment();
2526
+ move_effect(this.#main_effect, fragment);
2527
+ const pending = (
2528
+ /** @type {(anchor: Node) => void} */
2529
+ this.#props.pending
2530
+ );
2531
+ this.#pending_effect = branch(() => pending(this.#anchor));
2532
+ } else {
2533
+ this.#resolve(
2534
+ /** @type {Batch} */
2535
+ current_batch
2536
+ );
2537
+ }
2538
+ } catch (error) {
2539
+ this.error(error);
2540
+ }
2541
+ }
2542
+ /**
2543
+ * @param {Batch} batch
2544
+ */
2545
+ #resolve(batch) {
2546
+ this.is_pending = false;
2547
+ batch.transfer_effects(this.#dirty_effects, this.#maybe_dirty_effects);
2548
+ }
2549
+ /**
2550
+ * Defer an effect inside a pending boundary until the boundary resolves
2551
+ * @param {Effect} effect
2552
+ */
2553
+ defer_effect(effect) {
2554
+ defer_effect(effect, this.#dirty_effects, this.#maybe_dirty_effects);
2555
+ }
2556
+ /**
2557
+ * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
2558
+ * @returns {boolean}
2559
+ */
2560
+ is_rendered() {
2561
+ return !this.is_pending && (!this.parent || this.parent.is_rendered());
2562
+ }
2563
+ has_pending_snippet() {
2564
+ return !!this.#props.pending;
2565
+ }
2566
+ /**
2567
+ * @template T
2568
+ * @param {() => T} fn
2569
+ */
2570
+ #run(fn) {
2571
+ var previous_effect = active_effect;
2572
+ var previous_reaction = active_reaction;
2573
+ var previous_ctx = component_context;
2574
+ set_active_effect(this.#effect);
2575
+ set_active_reaction(this.#effect);
2576
+ set_component_context(this.#effect.ctx);
2577
+ try {
2578
+ Batch.ensure();
2579
+ return fn();
2580
+ } finally {
2581
+ set_active_effect(previous_effect);
2582
+ set_active_reaction(previous_reaction);
2583
+ set_component_context(previous_ctx);
2584
+ }
2585
+ }
2586
+ /**
2587
+ * Updates the pending count associated with the currently visible pending snippet,
2588
+ * if any, such that we can replace the snippet with content once work is done
2589
+ * @param {1 | -1} d
2590
+ * @param {Batch} batch
2591
+ */
2592
+ #update_pending_count(d, batch) {
2593
+ if (!this.has_pending_snippet()) {
2594
+ if (this.parent) {
2595
+ this.parent.#update_pending_count(d, batch);
2596
+ }
2597
+ return;
2598
+ }
2599
+ this.#pending_count += d;
2600
+ if (this.#pending_count === 0) {
2601
+ this.#resolve(batch);
2602
+ if (this.#pending_effect) {
2603
+ pause_effect(this.#pending_effect, () => {
2604
+ this.#pending_effect = null;
2605
+ });
2606
+ }
2607
+ if (this.#offscreen_fragment) {
2608
+ this.#anchor.before(this.#offscreen_fragment);
2609
+ this.#offscreen_fragment = null;
2610
+ }
2611
+ }
2612
+ }
2613
+ /**
2614
+ * Update the source that powers `$effect.pending()` inside this boundary,
2615
+ * and controls when the current `pending` snippet (if any) is removed.
2616
+ * Do not call from inside the class
2617
+ * @param {1 | -1} d
2618
+ * @param {Batch} batch
2619
+ */
2620
+ update_pending_count(d, batch) {
2621
+ this.#update_pending_count(d, batch);
2622
+ this.#local_pending_count += d;
2623
+ if (!this.#effect_pending || this.#pending_count_update_queued) return;
2624
+ this.#pending_count_update_queued = true;
2625
+ queue_micro_task(() => {
2626
+ this.#pending_count_update_queued = false;
2627
+ if (this.#effect_pending) {
2628
+ internal_set(this.#effect_pending, this.#local_pending_count);
2629
+ }
2630
+ });
2631
+ }
2632
+ get_effect_pending() {
2633
+ this.#effect_pending_subscriber();
2634
+ return get(
2635
+ /** @type {Source<number>} */
2636
+ this.#effect_pending
2637
+ );
2638
+ }
2639
+ /** @param {unknown} error */
2640
+ error(error) {
2641
+ if (error === HYDRATION_ERROR) {
2642
+ throw error;
2643
+ }
2644
+ if (!this.#props.onerror && !this.#props.failed) {
2645
+ throw error;
2646
+ }
2647
+ if (current_batch?.is_fork) {
2648
+ if (this.#main_effect) current_batch.skip_effect(this.#main_effect);
2649
+ if (this.#pending_effect) current_batch.skip_effect(this.#pending_effect);
2650
+ if (this.#failed_effect) current_batch.skip_effect(this.#failed_effect);
2651
+ current_batch.oncommit(() => {
2652
+ if (!this.#is_destroyed()) this.#handle_error(error);
2653
+ });
2654
+ } else {
2655
+ this.#handle_error(error);
2656
+ }
2657
+ }
2658
+ /**
2659
+ * @param {unknown} error
2660
+ */
2661
+ #handle_error(error) {
2662
+ if (this.#main_effect) {
2663
+ destroy_effect(this.#main_effect);
2664
+ this.#main_effect = null;
2665
+ }
2666
+ if (this.#pending_effect) {
2667
+ destroy_effect(this.#pending_effect);
2668
+ this.#pending_effect = null;
2669
+ }
2670
+ if (this.#failed_effect) {
2671
+ destroy_effect(this.#failed_effect);
2672
+ this.#failed_effect = null;
2673
+ }
2674
+ if (hydrating) {
2675
+ set_hydrate_node(
2676
+ /** @type {TemplateNode} */
2677
+ this.#hydrate_open
2678
+ );
2679
+ next();
2680
+ set_hydrate_node(skip_nodes());
2681
+ }
2682
+ let failed = this.#props.failed;
2683
+ const handle_error_result = (transformed_error) => {
2684
+ if (this.#is_destroyed()) return;
2685
+ const { reset, invoke_onerror } = this.#create_reset(transformed_error);
2686
+ invoke_onerror();
2687
+ if (failed && !this.#is_destroyed()) {
2688
+ this.#failed_effect = this.#run(() => {
2689
+ try {
2690
+ return branch(() => {
2691
+ var effect = (
2692
+ /** @type {Effect} */
2693
+ active_effect
2694
+ );
2695
+ effect.b = this;
2696
+ effect.f |= BOUNDARY_EFFECT;
2697
+ failed(
2698
+ this.#anchor,
2699
+ () => transformed_error,
2700
+ () => reset
2701
+ );
2702
+ });
2703
+ } catch (error2) {
2704
+ invoke_error_boundary(
2705
+ error2,
2706
+ /** @type {Effect} */
2707
+ this.#effect.parent
2708
+ );
2709
+ return null;
2710
+ }
2711
+ });
2712
+ }
2713
+ };
2714
+ queue_micro_task(() => {
2715
+ if (this.#is_destroyed()) return;
2716
+ var result;
2717
+ try {
2718
+ result = this.transform_error(error);
2719
+ } catch (e) {
2720
+ invoke_error_boundary(e, this.#effect && this.#effect.parent);
2721
+ return;
2722
+ }
2723
+ if (result !== null && typeof result === "object" && typeof /** @type {any} */
2724
+ result.then === "function") {
2725
+ result.then(
2726
+ handle_error_result,
2727
+ /** @param {unknown} e */
2728
+ (e) => invoke_error_boundary(e, this.#effect && this.#effect.parent)
2729
+ );
2730
+ } else {
2731
+ handle_error_result(result);
2732
+ }
2733
+ });
2734
+ }
2735
+ }
2736
+ function mount(component, options) {
2737
+ return _mount(component, options);
2738
+ }
2739
+ function hydrate(component, options) {
2740
+ init_operations();
2741
+ options.intro = options.intro ?? false;
2742
+ const target = options.target;
2743
+ const was_hydrating = hydrating;
2744
+ const previous_hydrate_node = hydrate_node;
2745
+ try {
2746
+ var anchor = /* @__PURE__ */ get_first_child(target);
2747
+ while (anchor && (anchor.nodeType !== COMMENT_NODE || /** @type {Comment} */
2748
+ anchor.data !== HYDRATION_START)) {
2749
+ anchor = /* @__PURE__ */ get_next_sibling(anchor);
2750
+ }
2751
+ if (!anchor) {
2752
+ throw HYDRATION_ERROR;
2753
+ }
2754
+ set_hydrating(true);
2755
+ set_hydrate_node(
2756
+ /** @type {Comment} */
2757
+ anchor
2758
+ );
2759
+ const instance = _mount(component, { ...options, anchor });
2760
+ set_hydrating(false);
2761
+ return (
2762
+ /** @type {Exports} */
2763
+ instance
2764
+ );
2765
+ } catch (error) {
2766
+ if (error instanceof Error && error.message.split("\n").some((line) => line.startsWith("https://svelte.dev/e/"))) {
2767
+ throw error;
2768
+ }
2769
+ if (error !== HYDRATION_ERROR) {
2770
+ console.warn("Failed to hydrate: ", error);
2771
+ }
2772
+ if (options.recover === false) {
2773
+ hydration_failed();
2774
+ }
2775
+ init_operations();
2776
+ clear_text_content(target);
2777
+ set_hydrating(false);
2778
+ return mount(component, options);
2779
+ } finally {
2780
+ set_hydrating(was_hydrating);
2781
+ set_hydrate_node(previous_hydrate_node);
2782
+ }
2783
+ }
2784
+ const listeners = /* @__PURE__ */ new Map();
2785
+ function _mount(Component, { target, anchor, props = {}, events, context, intro = true, transformError }) {
2786
+ init_operations();
2787
+ var component = void 0;
2788
+ var unmount2 = component_root(() => {
2789
+ var anchor_node = anchor ?? target.appendChild(create_text());
2790
+ boundary(
2791
+ /** @type {TemplateNode} */
2792
+ anchor_node,
2793
+ {
2794
+ pending: () => {
2795
+ }
2796
+ },
2797
+ (anchor_node2) => {
2798
+ push({});
2799
+ var ctx = (
2800
+ /** @type {ComponentContext} */
2801
+ component_context
2802
+ );
2803
+ if (context) ctx.c = context;
2804
+ if (events) {
2805
+ props.$$events = events;
2806
+ }
2807
+ if (hydrating) {
2808
+ assign_nodes(
2809
+ /** @type {TemplateNode} */
2810
+ anchor_node2,
2811
+ null
2812
+ );
2813
+ }
2814
+ component = Component(anchor_node2, props) || mark_as_component();
2815
+ if (hydrating) {
2816
+ active_effect.nodes.end = hydrate_node;
2817
+ if (hydrate_node === null || hydrate_node.nodeType !== COMMENT_NODE || /** @type {Comment} */
2818
+ hydrate_node.data !== HYDRATION_END) {
2819
+ hydration_mismatch();
2820
+ throw HYDRATION_ERROR;
2821
+ }
2822
+ }
2823
+ pop();
2824
+ },
2825
+ transformError
2826
+ );
2827
+ var registered_events = /* @__PURE__ */ new Set();
2828
+ var event_handle = (events2) => {
2829
+ for (var i = 0; i < events2.length; i++) {
2830
+ var event_name = events2[i];
2831
+ if (registered_events.has(event_name)) continue;
2832
+ registered_events.add(event_name);
2833
+ var passive = is_passive_event(event_name);
2834
+ for (const node of [target, document]) {
2835
+ var counts = listeners.get(node);
2836
+ if (counts === void 0) {
2837
+ counts = /* @__PURE__ */ new Map();
2838
+ listeners.set(node, counts);
2839
+ }
2840
+ var count = counts.get(event_name);
2841
+ if (count === void 0) {
2842
+ node.addEventListener(event_name, handle_event_propagation, { passive });
2843
+ counts.set(event_name, 1);
2844
+ } else {
2845
+ counts.set(event_name, count + 1);
2846
+ }
2847
+ }
2848
+ }
2849
+ };
2850
+ event_handle(array_from(all_registered_events));
2851
+ root_event_handles.add(event_handle);
2852
+ return () => {
2853
+ for (var event_name of registered_events) {
2854
+ for (const node of [target, document]) {
2855
+ var counts = (
2856
+ /** @type {Map<string, number>} */
2857
+ listeners.get(node)
2858
+ );
2859
+ var count = (
2860
+ /** @type {number} */
2861
+ counts.get(event_name)
2862
+ );
2863
+ if (--count == 0) {
2864
+ node.removeEventListener(event_name, handle_event_propagation);
2865
+ counts.delete(event_name);
2866
+ if (counts.size === 0) {
2867
+ listeners.delete(node);
2868
+ }
2869
+ } else {
2870
+ counts.set(event_name, count);
2871
+ }
2872
+ }
2873
+ }
2874
+ root_event_handles.delete(event_handle);
2875
+ if (anchor_node !== anchor) {
2876
+ anchor_node.parentNode?.removeChild(anchor_node);
2877
+ }
2878
+ };
2879
+ });
2880
+ mounted_components.set(component, unmount2);
2881
+ return component;
2882
+ }
2883
+ let mounted_components = /* @__PURE__ */ new WeakMap();
2884
+ function unmount(component, options) {
2885
+ const fn = mounted_components.get(component);
2886
+ if (fn) {
2887
+ mounted_components.delete(component);
2888
+ return fn(options);
2889
+ }
2890
+ return Promise.resolve();
2891
+ }
2892
+ function asClassComponent$1(component) {
2893
+ return class extends Svelte4Component {
2894
+ /** @param {any} options */
2895
+ constructor(options) {
2896
+ super({
2897
+ component,
2898
+ ...options
2899
+ });
2900
+ }
2901
+ };
2902
+ }
2903
+ class Svelte4Component {
2904
+ /** @type {any} */
2905
+ #events;
2906
+ /** @type {Record<string, any>} */
2907
+ #instance;
2908
+ /**
2909
+ * @param {ComponentConstructorOptions & {
2910
+ * component: any;
2911
+ * }} options
2912
+ */
2913
+ constructor(options) {
2914
+ var sources = /* @__PURE__ */ new Map();
2915
+ var add_source = (key, value) => {
2916
+ var s = /* @__PURE__ */ mutable_source(value, false, false);
2917
+ sources.set(key, s);
2918
+ return s;
2919
+ };
2920
+ const props = new Proxy(
2921
+ { ...options.props || {}, $$events: {} },
2922
+ {
2923
+ get(target, prop) {
2924
+ return get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
2925
+ },
2926
+ has(target, prop) {
2927
+ if (prop === LEGACY_PROPS) return true;
2928
+ get(sources.get(prop) ?? add_source(prop, Reflect.get(target, prop)));
2929
+ return Reflect.has(target, prop);
2930
+ },
2931
+ set(target, prop, value) {
2932
+ set(sources.get(prop) ?? add_source(prop, value), value);
2933
+ return Reflect.set(target, prop, value);
2934
+ }
2935
+ }
2936
+ );
2937
+ this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
2938
+ target: options.target,
2939
+ anchor: options.anchor,
2940
+ props,
2941
+ context: options.context,
2942
+ intro: options.intro ?? false,
2943
+ recover: options.recover,
2944
+ transformError: options.transformError
2945
+ });
2946
+ if (!options?.props?.$$host || options.sync === false) {
2947
+ flushSync();
2948
+ }
2949
+ this.#events = props.$$events;
2950
+ for (const key of Object.keys(this.#instance)) {
2951
+ if (key === "$set" || key === "$destroy" || key === "$on") continue;
2952
+ define_property(this, key, {
2953
+ get() {
2954
+ return this.#instance[key];
2955
+ },
2956
+ /** @param {any} value */
2957
+ set(value) {
2958
+ this.#instance[key] = value;
2959
+ },
2960
+ enumerable: true
2961
+ });
2962
+ }
2963
+ this.#instance.$set = /** @param {Record<string, any>} next */
2964
+ (next2) => {
2965
+ Object.assign(props, next2);
2966
+ };
2967
+ this.#instance.$destroy = () => {
2968
+ unmount(this.#instance);
2969
+ };
2970
+ }
2971
+ /** @param {Record<string, any>} props */
2972
+ $set(props) {
2973
+ this.#instance.$set(props);
2974
+ }
2975
+ /**
2976
+ * @param {string} event
2977
+ * @param {(...args: any[]) => any} callback
2978
+ * @returns {any}
2979
+ */
2980
+ $on(event, callback) {
2981
+ this.#events[event] = this.#events[event] || [];
2982
+ const cb = (...args) => callback.call(this, ...args);
2983
+ this.#events[event].push(cb);
2984
+ return () => {
2985
+ this.#events[event] = this.#events[event].filter(
2986
+ /** @param {any} fn */
2987
+ (fn) => fn !== cb
2988
+ );
2989
+ };
2990
+ }
2991
+ $destroy() {
2992
+ this.#instance.$destroy();
2993
+ }
2994
+ }
2995
+ function asClassComponent(component) {
2996
+ const component_constructor = asClassComponent$1(component);
2997
+ const _render = (props, { context, csp, transformError } = {}) => {
2998
+ const result = render(component, { props, context, csp, transformError });
2999
+ const munged = Object.defineProperties(
3000
+ /** @type {LegacyRenderResult & PromiseLike<LegacyRenderResult>} */
3001
+ {},
3002
+ {
3003
+ css: {
3004
+ value: { code: "", map: null }
3005
+ },
3006
+ head: {
3007
+ get: () => result.head
3008
+ },
3009
+ html: {
3010
+ get: () => result.body
3011
+ },
3012
+ then: {
3013
+ /**
3014
+ * this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
3015
+ *
3016
+ * @template TResult1
3017
+ * @template [TResult2=never]
3018
+ * @param { (value: LegacyRenderResult) => TResult1 } onfulfilled
3019
+ * @param { (reason: unknown) => TResult2 } onrejected
3020
+ */
3021
+ value: (onfulfilled, onrejected) => {
3022
+ {
3023
+ const user_result = onfulfilled({
3024
+ css: munged.css,
3025
+ head: munged.head,
3026
+ html: munged.html
3027
+ });
3028
+ return Promise.resolve(user_result);
3029
+ }
3030
+ }
3031
+ }
3032
+ }
3033
+ );
3034
+ return munged;
3035
+ };
3036
+ component_constructor.render = _render;
3037
+ return component_constructor;
3038
+ }
3039
+ function Root($$renderer, $$props) {
3040
+ $$renderer.component(($$renderer2) => {
3041
+ let {
3042
+ stores,
3043
+ page,
3044
+ constructors,
3045
+ components = [],
3046
+ form,
3047
+ data_0 = null,
3048
+ data_1 = null
3049
+ } = $$props;
3050
+ {
3051
+ setContext("__svelte__", stores);
3052
+ }
3053
+ {
3054
+ stores.page.set(page);
3055
+ }
3056
+ const Pyramid_1 = derived(() => constructors[1]);
3057
+ if (constructors[1]) {
3058
+ $$renderer2.push("<!--[0-->");
3059
+ const Pyramid_0 = constructors[0];
3060
+ if (Pyramid_0) {
3061
+ $$renderer2.push("<!--[-->");
3062
+ Pyramid_0($$renderer2, {
3063
+ data: data_0,
3064
+ form,
3065
+ params: page.params,
3066
+ children: ($$renderer3) => {
3067
+ if (Pyramid_1()) {
3068
+ $$renderer3.push("<!--[-->");
3069
+ Pyramid_1()($$renderer3, { data: data_1, form, params: page.params });
3070
+ $$renderer3.push("<!--]-->");
3071
+ } else {
3072
+ $$renderer3.push("<!--[!-->");
3073
+ $$renderer3.push("<!--]-->");
3074
+ }
3075
+ },
3076
+ $$slots: { default: true }
3077
+ });
3078
+ $$renderer2.push("<!--]-->");
3079
+ } else {
3080
+ $$renderer2.push("<!--[!-->");
3081
+ $$renderer2.push("<!--]-->");
3082
+ }
3083
+ } else {
3084
+ $$renderer2.push("<!--[-1-->");
3085
+ const Pyramid_0 = constructors[0];
3086
+ if (Pyramid_0) {
3087
+ $$renderer2.push("<!--[-->");
3088
+ Pyramid_0($$renderer2, { data: data_0, form, params: page.params });
3089
+ $$renderer2.push("<!--]-->");
3090
+ } else {
3091
+ $$renderer2.push("<!--[!-->");
3092
+ $$renderer2.push("<!--]-->");
3093
+ }
3094
+ }
3095
+ $$renderer2.push(`<!--]--> `);
3096
+ {
3097
+ $$renderer2.push("<!--[-1-->");
3098
+ }
3099
+ $$renderer2.push(`<!--]-->`);
3100
+ });
3101
+ }
3102
+ const root = asClassComponent(Root);
3103
+
3104
+ export { browser as b, on as o, root as r, safe_not_equal as s };
3105
+ //# sourceMappingURL=root.js-Cy3qLlCN.js.map