@nanoforge-dev/editor 0.0.2-beta.ddbefdc → 0.0.2-beta.fb82bf8

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 (305) hide show
  1. package/dist/client/_app/immutable/assets/0.C6GhYMOV.css +1 -0
  2. package/dist/client/_app/immutable/assets/0.C6GhYMOV.css.br +0 -0
  3. package/dist/client/_app/immutable/assets/0.C6GhYMOV.css.gz +0 -0
  4. package/dist/client/_app/immutable/chunks/{BS47D1Yd2.js → BFWbalF82.js} +1 -1
  5. package/dist/client/_app/immutable/chunks/BFWbalF82.js.br +0 -0
  6. package/dist/client/_app/immutable/chunks/BFWbalF82.js.gz +0 -0
  7. package/dist/client/_app/immutable/chunks/{y9jahtbD.js → BL60uqTv.js} +1 -1
  8. package/dist/client/_app/immutable/chunks/BL60uqTv.js.br +0 -0
  9. package/dist/client/_app/immutable/chunks/BL60uqTv.js.gz +0 -0
  10. package/dist/client/_app/immutable/chunks/{DT8Ddh1L2.js → BLf9jss52.js} +1 -1
  11. package/dist/client/_app/immutable/chunks/BLf9jss52.js.br +0 -0
  12. package/dist/client/_app/immutable/chunks/BLf9jss52.js.gz +0 -0
  13. package/dist/client/_app/immutable/chunks/BMtaFOTk.js +1 -0
  14. package/dist/client/_app/immutable/chunks/BMtaFOTk.js.br +0 -0
  15. package/dist/client/_app/immutable/chunks/BMtaFOTk.js.gz +0 -0
  16. package/dist/client/_app/immutable/chunks/{CKei9xPI2.js → BSNB_Uck2.js} +2 -2
  17. package/dist/client/_app/immutable/chunks/BSNB_Uck2.js.br +0 -0
  18. package/dist/client/_app/immutable/chunks/BSNB_Uck2.js.gz +0 -0
  19. package/dist/client/_app/immutable/chunks/{Fu4roQAh.js → BWNegMLP.js} +1 -1
  20. package/dist/client/_app/immutable/chunks/BWNegMLP.js.br +0 -0
  21. package/dist/client/_app/immutable/chunks/BWNegMLP.js.gz +0 -0
  22. package/dist/client/_app/immutable/chunks/BZQwXXQ9.js +6 -0
  23. package/dist/client/_app/immutable/chunks/BZQwXXQ9.js.br +0 -0
  24. package/dist/client/_app/immutable/chunks/BZQwXXQ9.js.gz +0 -0
  25. package/dist/client/_app/immutable/chunks/{orCHVlgT.js → BesjqVrk.js} +1 -1
  26. package/dist/client/_app/immutable/chunks/BesjqVrk.js.br +0 -0
  27. package/dist/client/_app/immutable/chunks/BesjqVrk.js.gz +0 -0
  28. package/dist/client/_app/immutable/chunks/{BWDRzheF2.js → Bhafduqk2.js} +1 -1
  29. package/dist/client/_app/immutable/chunks/Bhafduqk2.js.br +0 -0
  30. package/dist/client/_app/immutable/chunks/Bhafduqk2.js.gz +0 -0
  31. package/dist/client/_app/immutable/chunks/{xJ1-16vC.js → Bvw-zKPF.js} +1 -1
  32. package/dist/client/_app/immutable/chunks/Bvw-zKPF.js.br +0 -0
  33. package/dist/client/_app/immutable/chunks/Bvw-zKPF.js.gz +0 -0
  34. package/dist/client/_app/immutable/chunks/{C1k-YaT9.js → Byy0Trua.js} +7 -7
  35. package/dist/client/_app/immutable/chunks/Byy0Trua.js.br +0 -0
  36. package/dist/client/_app/immutable/chunks/Byy0Trua.js.gz +0 -0
  37. package/dist/client/_app/immutable/chunks/{uo5fvlDn2.js → CJxKUjL-2.js} +1 -1
  38. package/dist/client/_app/immutable/chunks/CJxKUjL-2.js.br +0 -0
  39. package/dist/client/_app/immutable/chunks/CJxKUjL-2.js.gz +0 -0
  40. package/dist/client/_app/immutable/chunks/{DH-ThjiG2.js → CVQMNY_q2.js} +2 -2
  41. package/dist/client/_app/immutable/chunks/CVQMNY_q2.js.br +0 -0
  42. package/dist/client/_app/immutable/chunks/CVQMNY_q2.js.gz +0 -0
  43. package/dist/client/_app/immutable/chunks/{Bk9DeFcz2.js → CbW3yNTi.js} +1 -1
  44. package/dist/client/_app/immutable/chunks/CbW3yNTi.js.br +0 -0
  45. package/dist/client/_app/immutable/chunks/CbW3yNTi.js.gz +0 -0
  46. package/dist/client/_app/immutable/chunks/CvkNa2t_.js +3 -0
  47. package/dist/client/_app/immutable/chunks/CvkNa2t_.js.br +0 -0
  48. package/dist/client/_app/immutable/chunks/CvkNa2t_.js.gz +0 -0
  49. package/dist/client/_app/immutable/chunks/{CnhOha0Z2.js → D2PipAw82.js} +1 -1
  50. package/dist/client/_app/immutable/chunks/D2PipAw82.js.br +0 -0
  51. package/dist/client/_app/immutable/chunks/D2PipAw82.js.gz +0 -0
  52. package/dist/client/_app/immutable/chunks/{BzGBrbo22.js → D6-zOYYZ2.js} +1 -1
  53. package/dist/client/_app/immutable/chunks/D6-zOYYZ2.js.br +0 -0
  54. package/dist/client/_app/immutable/chunks/D6-zOYYZ2.js.gz +0 -0
  55. package/dist/client/_app/immutable/chunks/{B4w9-fYM2.js → DGDm8Q4w2.js} +1 -1
  56. package/dist/client/_app/immutable/chunks/DGDm8Q4w2.js.br +0 -0
  57. package/dist/client/_app/immutable/chunks/DGDm8Q4w2.js.gz +0 -0
  58. package/dist/client/_app/immutable/chunks/{DFXoGGM32.js → DRQF0pcw2.js} +1 -1
  59. package/dist/client/_app/immutable/chunks/DRQF0pcw2.js.br +0 -0
  60. package/dist/client/_app/immutable/chunks/DRQF0pcw2.js.gz +0 -0
  61. package/dist/client/_app/immutable/chunks/{C83DJP9w2.js → DYPPS7OK2.js} +1 -1
  62. package/dist/client/_app/immutable/chunks/DYPPS7OK2.js.br +0 -0
  63. package/dist/client/_app/immutable/chunks/DYPPS7OK2.js.gz +0 -0
  64. package/dist/client/_app/immutable/chunks/{BZqFHUa32.js → DaisyxdZ2.js} +1 -1
  65. package/dist/client/_app/immutable/chunks/DaisyxdZ2.js.br +0 -0
  66. package/dist/client/_app/immutable/chunks/DaisyxdZ2.js.gz +0 -0
  67. package/dist/client/_app/immutable/chunks/{BlGyHMDZ.js → DtcTX-YU.js} +1 -1
  68. package/dist/client/_app/immutable/chunks/DtcTX-YU.js.br +0 -0
  69. package/dist/client/_app/immutable/chunks/DtcTX-YU.js.gz +0 -0
  70. package/dist/client/_app/immutable/chunks/{C8VsmuzL.js → IoPfG6j0.js} +1 -1
  71. package/dist/client/_app/immutable/chunks/IoPfG6j0.js.br +0 -0
  72. package/dist/client/_app/immutable/chunks/IoPfG6j0.js.gz +0 -0
  73. package/dist/client/_app/immutable/chunks/{DHQLzCjY2.js → M5EMNuDS2.js} +1 -1
  74. package/dist/client/_app/immutable/chunks/M5EMNuDS2.js.br +0 -0
  75. package/dist/client/_app/immutable/chunks/M5EMNuDS2.js.gz +0 -0
  76. package/dist/client/_app/immutable/chunks/{DuDzfUqN2.js → SmrQhi1p2.js} +1 -1
  77. package/dist/client/_app/immutable/chunks/SmrQhi1p2.js.br +0 -0
  78. package/dist/client/_app/immutable/chunks/SmrQhi1p2.js.gz +0 -0
  79. package/dist/client/_app/immutable/chunks/{C7bUlFLk2.js → TFu7Wn2c2.js} +1 -1
  80. package/dist/client/_app/immutable/chunks/TFu7Wn2c2.js.br +0 -0
  81. package/dist/client/_app/immutable/chunks/TFu7Wn2c2.js.gz +0 -0
  82. package/dist/client/_app/immutable/chunks/{BwWAgYKi2.js → mESnenQM2.js} +1 -1
  83. package/dist/client/_app/immutable/chunks/mESnenQM2.js.br +0 -0
  84. package/dist/client/_app/immutable/chunks/mESnenQM2.js.gz +0 -0
  85. package/dist/client/_app/immutable/chunks/nE3VUeYj.js +0 -0
  86. package/dist/client/_app/immutable/chunks/nE3VUeYj.js.br +1 -0
  87. package/dist/client/_app/immutable/chunks/nE3VUeYj.js.gz +0 -0
  88. package/dist/client/_app/immutable/chunks/{mRVEsFly2.js → uIj7mV9x2.js} +1 -1
  89. package/dist/client/_app/immutable/chunks/uIj7mV9x2.js.br +0 -0
  90. package/dist/client/_app/immutable/chunks/uIj7mV9x2.js.gz +0 -0
  91. package/dist/client/_app/immutable/entry/{app.qM3aoeOi.js → app.Da-YtiND.js} +2 -2
  92. package/dist/client/_app/immutable/entry/app.Da-YtiND.js.br +0 -0
  93. package/dist/client/_app/immutable/entry/app.Da-YtiND.js.gz +0 -0
  94. package/dist/client/_app/immutable/entry/start.cIweTlO3.js +1 -0
  95. package/dist/client/_app/immutable/entry/start.cIweTlO3.js.br +0 -0
  96. package/dist/client/_app/immutable/entry/start.cIweTlO3.js.gz +0 -0
  97. package/dist/client/_app/immutable/nodes/{0.Dd5fG40d.js → 0.BzdTAZXJ.js} +1 -1
  98. package/dist/client/_app/immutable/nodes/0.BzdTAZXJ.js.br +0 -0
  99. package/dist/client/_app/immutable/nodes/0.BzdTAZXJ.js.gz +0 -0
  100. package/dist/client/_app/immutable/nodes/{1.D-XWgJOb.js → 1.HoGuDJlv.js} +1 -1
  101. package/dist/client/_app/immutable/nodes/1.HoGuDJlv.js.br +0 -0
  102. package/dist/client/_app/immutable/nodes/1.HoGuDJlv.js.gz +0 -0
  103. package/dist/client/_app/immutable/nodes/{9.BrWnGfyr.js → 11.DYAlovlI.js} +1 -1
  104. package/dist/client/_app/immutable/nodes/11.DYAlovlI.js.br +0 -0
  105. package/dist/client/_app/immutable/nodes/11.DYAlovlI.js.gz +0 -0
  106. package/dist/client/_app/immutable/nodes/2.BbpmoZI0.js +1 -0
  107. package/dist/client/_app/immutable/nodes/2.BbpmoZI0.js.br +0 -0
  108. package/dist/client/_app/immutable/nodes/2.BbpmoZI0.js.gz +0 -0
  109. package/dist/client/_app/immutable/nodes/3.CKQTqfUC.js +6 -0
  110. package/dist/client/_app/immutable/nodes/3.CKQTqfUC.js.br +0 -0
  111. package/dist/client/_app/immutable/nodes/3.CKQTqfUC.js.gz +0 -0
  112. package/dist/client/_app/version.json +1 -1
  113. package/dist/client/_app/version.json.br +0 -0
  114. package/dist/client/_app/version.json.gz +0 -0
  115. package/dist/server/chunks/{0-CaJWcpu3.js → 0-D8EFaSd9.js} +6 -6
  116. package/dist/server/chunks/{0-CaJWcpu3.js.map → 0-D8EFaSd9.js.map} +1 -1
  117. package/dist/server/chunks/{1-na9Uh1hG.js → 1-CtEQBFI1.js} +6 -6
  118. package/dist/server/chunks/{1-na9Uh1hG.js.map → 1-CtEQBFI1.js.map} +1 -1
  119. package/dist/server/chunks/{5-610NKQc3.js → 10-DuA1c-Jp.js} +5 -5
  120. package/dist/server/chunks/10-DuA1c-Jp.js.map +1 -0
  121. package/dist/server/chunks/11-CENxk_H3.js +22 -0
  122. package/dist/server/chunks/11-CENxk_H3.js.map +1 -0
  123. package/dist/server/chunks/{2-BM68e_rU.js → 2-BwBHdvIf.js} +10 -10
  124. package/dist/server/chunks/{2-BM68e_rU.js.map → 2-BwBHdvIf.js.map} +1 -1
  125. package/dist/server/chunks/3-BJRO5seJ.js +22 -0
  126. package/dist/server/chunks/3-BJRO5seJ.js.map +1 -0
  127. package/dist/server/chunks/{3-CtfjP4uZ.js → 4-C6nynU2n.js} +5 -5
  128. package/dist/server/chunks/{3-CtfjP4uZ.js.map → 4-C6nynU2n.js.map} +1 -1
  129. package/dist/server/chunks/{8-s07Rj2Zo.js → 5-GGXm17tz.js} +5 -5
  130. package/dist/server/chunks/{8-s07Rj2Zo.js.map → 5-GGXm17tz.js.map} +1 -1
  131. package/dist/server/chunks/{4-DP-_gDay.js → 6-CecbZbuB.js} +5 -5
  132. package/dist/server/chunks/{4-DP-_gDay.js.map → 6-CecbZbuB.js.map} +1 -1
  133. package/dist/server/chunks/7-TEJHHPfc.js +18 -0
  134. package/dist/server/chunks/7-TEJHHPfc.js.map +1 -0
  135. package/dist/server/chunks/{6-Dl_h_OyU.js → 8-DxuDvwam.js} +49 -36
  136. package/dist/server/chunks/8-DxuDvwam.js.map +1 -0
  137. package/dist/server/chunks/{7-BUEKgK7m.js → 9-C-7eeTkI.js} +5 -5
  138. package/dist/server/chunks/{7-BUEKgK7m.js.map → 9-C-7eeTkI.js.map} +1 -1
  139. package/dist/server/chunks/{_layout.svelte-uX7XiB9K.js → _layout.svelte-By6MJeec.js} +5 -5
  140. package/dist/server/chunks/_layout.svelte-By6MJeec.js.map +1 -0
  141. package/dist/server/chunks/{_page.svelte-B_0YFORc.js → _page.svelte-BdTp6gki.js} +7 -7
  142. package/dist/server/chunks/{_page.svelte-B_0YFORc.js.map → _page.svelte-BdTp6gki.js.map} +1 -1
  143. package/dist/server/chunks/{_page.svelte-1bR7bJ2y.js → _page.svelte-CSTVKT86.js} +6 -6
  144. package/dist/server/chunks/_page.svelte-CSTVKT86.js.map +1 -0
  145. package/dist/server/chunks/{_page.svelte-BmrR5-n-.js → _page.svelte-Dyt-dT8R.js} +153 -80
  146. package/dist/server/chunks/_page.svelte-Dyt-dT8R.js.map +1 -0
  147. package/dist/server/chunks/_server.ts--OTq6N7o.js +13 -0
  148. package/dist/server/chunks/_server.ts--OTq6N7o.js.map +1 -0
  149. package/dist/server/chunks/{_server.ts-a-I4s4R9.js → _server.ts-BFl7cSax.js} +2 -2
  150. package/dist/server/chunks/{_server.ts-a-I4s4R9.js.map → _server.ts-BFl7cSax.js.map} +1 -1
  151. package/dist/server/chunks/{_server.ts-DlC2sxcm.js → _server.ts-Zy4HMSqW.js} +15 -3
  152. package/dist/server/chunks/_server.ts-Zy4HMSqW.js.map +1 -0
  153. package/dist/server/chunks/app-DUeJj5RD.js.map +1 -1
  154. package/dist/server/chunks/{client-BkmWBFaS.js → client-Crw1nXFW.js} +4 -4
  155. package/dist/server/chunks/client-Crw1nXFW.js.map +1 -0
  156. package/dist/server/chunks/{error-BGQyviUk.js → error-Bqe4QUEz.js} +140 -147
  157. package/dist/server/chunks/error-Bqe4QUEz.js.map +1 -0
  158. package/dist/server/chunks/{error.svelte-T6M8Vz4W.js → error.svelte-DG-7dfPY.js} +3 -3
  159. package/dist/server/chunks/error.svelte-DG-7dfPY.js.map +1 -0
  160. package/dist/server/chunks/{exports-CWOtdr_a.js → exports-D0uQzbjy.js} +4 -4
  161. package/dist/server/chunks/{exports-CWOtdr_a.js.map → exports-D0uQzbjy.js.map} +1 -1
  162. package/dist/server/chunks/{hooks.server-Bb56FM49.js → hooks.server-BqetKf4g.js} +6 -6
  163. package/dist/server/chunks/hooks.server-BqetKf4g.js.map +1 -0
  164. package/dist/server/chunks/{hooks.universal-DhGFdBkK.js → hooks.universal-bt2XJEN9.js} +2 -2
  165. package/dist/server/chunks/{hooks.universal-DhGFdBkK.js.map → hooks.universal-bt2XJEN9.js.map} +1 -1
  166. package/dist/server/chunks/{events-Bhh2w-5S.js → index-server-BthNUqCR.js} +1006 -1005
  167. package/dist/server/chunks/index-server-BthNUqCR.js.map +1 -0
  168. package/dist/server/chunks/{internal-DsA4iYdx.js → internal-vr3mPczx.js} +2 -2
  169. package/dist/server/chunks/{internal-DsA4iYdx.js.map → internal-vr3mPczx.js.map} +1 -1
  170. package/dist/server/chunks/{internal2-CeV_cIh4.js → internal2-BzKdwDhb.js} +22 -15
  171. package/dist/server/chunks/internal2-BzKdwDhb.js.map +1 -0
  172. package/dist/server/chunks/{loader-circle-CFNm9vip.js → loader-circle-C4T0os4K.js} +5 -5
  173. package/dist/server/chunks/loader-circle-C4T0os4K.js.map +1 -0
  174. package/dist/server/chunks/{logo-Cit4wZkS.js → logo-CZA0eXUA.js} +4 -4
  175. package/dist/server/chunks/logo-CZA0eXUA.js.map +1 -0
  176. package/dist/server/chunks/{project-loader-BSqYC-7k.js → project-loader-BDWXp4na.js} +4 -4
  177. package/dist/server/chunks/project-loader-BDWXp4na.js.map +1 -0
  178. package/dist/server/chunks/{request-handler-guINVc1G.js → request-handler-BKXKqx13.js} +97 -18
  179. package/dist/server/chunks/request-handler-BKXKqx13.js.map +1 -0
  180. package/dist/server/chunks/{runtime-CDHWD9vo.js → runtime-26c7QsEi.js} +9 -9
  181. package/dist/server/chunks/runtime-26c7QsEi.js.map +1 -0
  182. package/dist/server/chunks/{schemas-DbJHhqwa.js → schemas-CeNiyNB9.js} +348 -303
  183. package/dist/server/chunks/schemas-CeNiyNB9.js.map +1 -0
  184. package/dist/server/chunks/{session-DLCjVGKo.js → session-By0bbFhg.js} +2 -2
  185. package/dist/server/chunks/{session-DLCjVGKo.js.map → session-By0bbFhg.js.map} +1 -1
  186. package/dist/server/chunks/shared-server-Cha0Qlv9.js.map +1 -1
  187. package/dist/server/chunks/{state-DpIO_6NS.js → state-Ds3woX9L.js} +3 -3
  188. package/dist/server/chunks/state-Ds3woX9L.js.map +1 -0
  189. package/dist/server/index.js +368 -353
  190. package/dist/server/index.js.map +1 -1
  191. package/dist/server/manifest.js +55 -31
  192. package/dist/server/manifest.js.map +1 -1
  193. package/package.json +18 -16
  194. package/dist/client/_app/immutable/assets/0.PlL6w-dg.css +0 -1
  195. package/dist/client/_app/immutable/assets/0.PlL6w-dg.css.br +0 -0
  196. package/dist/client/_app/immutable/assets/0.PlL6w-dg.css.gz +0 -0
  197. package/dist/client/_app/immutable/chunks/B4w9-fYM2.js.br +0 -0
  198. package/dist/client/_app/immutable/chunks/B4w9-fYM2.js.gz +0 -0
  199. package/dist/client/_app/immutable/chunks/BS47D1Yd2.js.br +0 -0
  200. package/dist/client/_app/immutable/chunks/BS47D1Yd2.js.gz +0 -0
  201. package/dist/client/_app/immutable/chunks/BW1UW6Hp.js +0 -1
  202. package/dist/client/_app/immutable/chunks/BW1UW6Hp.js.br +0 -0
  203. package/dist/client/_app/immutable/chunks/BW1UW6Hp.js.gz +0 -0
  204. package/dist/client/_app/immutable/chunks/BWDRzheF2.js.br +0 -0
  205. package/dist/client/_app/immutable/chunks/BWDRzheF2.js.gz +0 -0
  206. package/dist/client/_app/immutable/chunks/BZqFHUa32.js.br +0 -0
  207. package/dist/client/_app/immutable/chunks/BZqFHUa32.js.gz +0 -0
  208. package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js.br +0 -0
  209. package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js.gz +0 -0
  210. package/dist/client/_app/immutable/chunks/BlGyHMDZ.js.br +0 -0
  211. package/dist/client/_app/immutable/chunks/BlGyHMDZ.js.gz +0 -0
  212. package/dist/client/_app/immutable/chunks/BwWAgYKi2.js.br +0 -3
  213. package/dist/client/_app/immutable/chunks/BwWAgYKi2.js.gz +0 -0
  214. package/dist/client/_app/immutable/chunks/BzGBrbo22.js.br +0 -0
  215. package/dist/client/_app/immutable/chunks/BzGBrbo22.js.gz +0 -0
  216. package/dist/client/_app/immutable/chunks/C1k-YaT9.js.br +0 -0
  217. package/dist/client/_app/immutable/chunks/C1k-YaT9.js.gz +0 -0
  218. package/dist/client/_app/immutable/chunks/C7bUlFLk2.js.br +0 -0
  219. package/dist/client/_app/immutable/chunks/C7bUlFLk2.js.gz +0 -0
  220. package/dist/client/_app/immutable/chunks/C83DJP9w2.js.br +0 -0
  221. package/dist/client/_app/immutable/chunks/C83DJP9w2.js.gz +0 -0
  222. package/dist/client/_app/immutable/chunks/C8VsmuzL.js.br +0 -0
  223. package/dist/client/_app/immutable/chunks/C8VsmuzL.js.gz +0 -0
  224. package/dist/client/_app/immutable/chunks/CKei9xPI2.js.br +0 -0
  225. package/dist/client/_app/immutable/chunks/CKei9xPI2.js.gz +0 -0
  226. package/dist/client/_app/immutable/chunks/CUEbnJ91.js +0 -6
  227. package/dist/client/_app/immutable/chunks/CUEbnJ91.js.br +0 -0
  228. package/dist/client/_app/immutable/chunks/CUEbnJ91.js.gz +0 -0
  229. package/dist/client/_app/immutable/chunks/CnhOha0Z2.js.br +0 -0
  230. package/dist/client/_app/immutable/chunks/CnhOha0Z2.js.gz +0 -0
  231. package/dist/client/_app/immutable/chunks/DFXoGGM32.js.br +0 -0
  232. package/dist/client/_app/immutable/chunks/DFXoGGM32.js.gz +0 -0
  233. package/dist/client/_app/immutable/chunks/DH-ThjiG2.js.br +0 -0
  234. package/dist/client/_app/immutable/chunks/DH-ThjiG2.js.gz +0 -0
  235. package/dist/client/_app/immutable/chunks/DHQLzCjY2.js.br +0 -0
  236. package/dist/client/_app/immutable/chunks/DHQLzCjY2.js.gz +0 -0
  237. package/dist/client/_app/immutable/chunks/DT8Ddh1L2.js.br +0 -0
  238. package/dist/client/_app/immutable/chunks/DT8Ddh1L2.js.gz +0 -0
  239. package/dist/client/_app/immutable/chunks/DuDzfUqN2.js.br +0 -0
  240. package/dist/client/_app/immutable/chunks/DuDzfUqN2.js.gz +0 -0
  241. package/dist/client/_app/immutable/chunks/Fu4roQAh.js.br +0 -0
  242. package/dist/client/_app/immutable/chunks/Fu4roQAh.js.gz +0 -0
  243. package/dist/client/_app/immutable/chunks/ZLGReh43.js +0 -3
  244. package/dist/client/_app/immutable/chunks/ZLGReh43.js.br +0 -0
  245. package/dist/client/_app/immutable/chunks/ZLGReh43.js.gz +0 -0
  246. package/dist/client/_app/immutable/chunks/mRVEsFly2.js.br +0 -0
  247. package/dist/client/_app/immutable/chunks/mRVEsFly2.js.gz +0 -0
  248. package/dist/client/_app/immutable/chunks/orCHVlgT.js.br +0 -0
  249. package/dist/client/_app/immutable/chunks/orCHVlgT.js.gz +0 -0
  250. package/dist/client/_app/immutable/chunks/uo5fvlDn2.js.br +0 -0
  251. package/dist/client/_app/immutable/chunks/uo5fvlDn2.js.gz +0 -0
  252. package/dist/client/_app/immutable/chunks/xJ1-16vC.js.br +0 -0
  253. package/dist/client/_app/immutable/chunks/xJ1-16vC.js.gz +0 -0
  254. package/dist/client/_app/immutable/chunks/y9jahtbD.js.br +0 -0
  255. package/dist/client/_app/immutable/chunks/y9jahtbD.js.gz +0 -0
  256. package/dist/client/_app/immutable/entry/app.qM3aoeOi.js.br +0 -0
  257. package/dist/client/_app/immutable/entry/app.qM3aoeOi.js.gz +0 -0
  258. package/dist/client/_app/immutable/entry/start.CDMZxkmh.js +0 -1
  259. package/dist/client/_app/immutable/entry/start.CDMZxkmh.js.br +0 -0
  260. package/dist/client/_app/immutable/entry/start.CDMZxkmh.js.gz +0 -0
  261. package/dist/client/_app/immutable/nodes/0.Dd5fG40d.js.br +0 -0
  262. package/dist/client/_app/immutable/nodes/0.Dd5fG40d.js.gz +0 -0
  263. package/dist/client/_app/immutable/nodes/1.D-XWgJOb.js.br +0 -2
  264. package/dist/client/_app/immutable/nodes/1.D-XWgJOb.js.gz +0 -0
  265. package/dist/client/_app/immutable/nodes/10.DkYlNzbR.js +0 -6
  266. package/dist/client/_app/immutable/nodes/10.DkYlNzbR.js.br +0 -0
  267. package/dist/client/_app/immutable/nodes/10.DkYlNzbR.js.gz +0 -0
  268. package/dist/client/_app/immutable/nodes/2.D2mbM0C2.js +0 -1
  269. package/dist/client/_app/immutable/nodes/2.D2mbM0C2.js.br +0 -0
  270. package/dist/client/_app/immutable/nodes/2.D2mbM0C2.js.gz +0 -0
  271. package/dist/client/_app/immutable/nodes/9.BrWnGfyr.js.br +0 -0
  272. package/dist/client/_app/immutable/nodes/9.BrWnGfyr.js.gz +0 -0
  273. package/dist/server/chunks/10-Dh1abrew.js +0 -22
  274. package/dist/server/chunks/10-Dh1abrew.js.map +0 -1
  275. package/dist/server/chunks/5-610NKQc3.js.map +0 -1
  276. package/dist/server/chunks/6-Dl_h_OyU.js.map +0 -1
  277. package/dist/server/chunks/9-DkqE8li9.js +0 -22
  278. package/dist/server/chunks/9-DkqE8li9.js.map +0 -1
  279. package/dist/server/chunks/_layout.svelte-uX7XiB9K.js.map +0 -1
  280. package/dist/server/chunks/_page.svelte-1bR7bJ2y.js.map +0 -1
  281. package/dist/server/chunks/_page.svelte-BmrR5-n-.js.map +0 -1
  282. package/dist/server/chunks/_server.ts-DlC2sxcm.js.map +0 -1
  283. package/dist/server/chunks/client-BkmWBFaS.js.map +0 -1
  284. package/dist/server/chunks/error-BGQyviUk.js.map +0 -1
  285. package/dist/server/chunks/error.svelte-T6M8Vz4W.js.map +0 -1
  286. package/dist/server/chunks/events-Bhh2w-5S.js.map +0 -1
  287. package/dist/server/chunks/hooks.server-Bb56FM49.js.map +0 -1
  288. package/dist/server/chunks/internal2-CeV_cIh4.js.map +0 -1
  289. package/dist/server/chunks/loader-circle-CFNm9vip.js.map +0 -1
  290. package/dist/server/chunks/logo-Cit4wZkS.js.map +0 -1
  291. package/dist/server/chunks/project-loader-BSqYC-7k.js.map +0 -1
  292. package/dist/server/chunks/request-handler-guINVc1G.js.map +0 -1
  293. package/dist/server/chunks/runtime-CDHWD9vo.js.map +0 -1
  294. package/dist/server/chunks/schemas-DbJHhqwa.js.map +0 -1
  295. package/dist/server/chunks/state-DpIO_6NS.js.map +0 -1
  296. /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css → 3.BP_hUVIU.css} +0 -0
  297. /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css.br → 3.BP_hUVIU.css.br} +0 -0
  298. /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css.gz → 3.BP_hUVIU.css.gz} +0 -0
  299. /package/dist/client/_app/immutable/chunks/{CVaqCwHa.js → CVaqCwHa2.js} +0 -0
  300. /package/dist/client/_app/immutable/chunks/{CVaqCwHa.js.br → CVaqCwHa2.js.br} +0 -0
  301. /package/dist/client/_app/immutable/chunks/{CVaqCwHa.js.gz → CVaqCwHa2.js.gz} +0 -0
  302. /package/dist/client/_app/immutable/chunks/{De2hgUGE.js → De2hgUGE2.js} +0 -0
  303. /package/dist/client/_app/immutable/chunks/{De2hgUGE.js.br → De2hgUGE2.js.br} +0 -0
  304. /package/dist/client/_app/immutable/chunks/{De2hgUGE.js.gz → De2hgUGE2.js.gz} +0 -0
  305. /package/dist/server/chunks/{chunk-D7D4PA-g.js → rolldown-runtime-D7D4PA-g.js} +0 -0
@@ -1,20 +1,5 @@
1
1
  import { n as __exportAll } from "./chunk-ByNZkrT6.js";
2
- //#region node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
3
- function r(e) {
4
- var t, f, n = "";
5
- if ("string" == typeof e || "number" == typeof e) n += e;
6
- else if ("object" == typeof e) if (Array.isArray(e)) {
7
- var o = e.length;
8
- for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
9
- } else for (f in e) e[f] && (n && (n += " "), n += f);
10
- return n;
11
- }
12
- function clsx() {
13
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
14
- return n;
15
- }
16
- //#endregion
17
- //#region .svelte-kit/adapter-bun/chunks/index-server.js
2
+ //#region .svelte-kit/adapter-bun/chunks/uneval.js
18
3
  var MAX_ARRAY_LEN = 2 ** 32 - 1;
19
4
  var MAX_ARRAY_INDEX = MAX_ARRAY_LEN - 1;
20
5
  /** @type {Record<string, string>} */
@@ -458,206 +443,23 @@ function stringify_primitive(thing) {
458
443
  if (type === "bigint") return thing + "n";
459
444
  return str;
460
445
  }
461
- /**
462
- * Cannot use `%name%(...)` unless the `experimental.async` compiler option is `true`
463
- * @param {string} name
464
- * @returns {never}
465
- */
466
- function experimental_async_required(name) {
467
- throw new Error(`https://svelte.dev/e/experimental_async_required`);
468
- }
469
- /**
470
- * `%name%(...)` can only be used during component initialisation
471
- * @param {string} name
472
- * @returns {never}
473
- */
474
- function lifecycle_outside_component(name) {
475
- throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
476
- }
477
- /**
478
- * Context was not set in a parent component
479
- * @returns {never}
480
- */
481
- function missing_context() {
482
- throw new Error(`https://svelte.dev/e/missing_context`);
483
- }
484
- /**
485
- * The node API `AsyncLocalStorage` is not available, but is required to use async server rendering.
486
- * @returns {never}
487
- */
488
- function async_local_storage_unavailable() {
489
- const error = /* @__PURE__ */ new Error(`async_local_storage_unavailable\nThe node API \`AsyncLocalStorage\` is not available, but is required to use async server rendering.\nhttps://svelte.dev/e/async_local_storage_unavailable`);
490
- error.name = "Svelte error";
491
- throw error;
492
- }
493
- /**
494
- * Encountered asynchronous work while rendering synchronously.
495
- * @returns {never}
496
- */
497
- function await_invalid() {
498
- const error = /* @__PURE__ */ new Error(`await_invalid\nEncountered asynchronous work while rendering synchronously.\nhttps://svelte.dev/e/await_invalid`);
499
- error.name = "Svelte error";
500
- throw error;
501
- }
502
- /**
503
- * `<svelte:element this="%tag%">` is not a valid element name — the element will not be rendered
504
- * @param {string} tag
505
- * @returns {never}
506
- */
507
- function dynamic_element_invalid_tag(tag) {
508
- const error = /* @__PURE__ */ new Error(`dynamic_element_invalid_tag\n\`<svelte:element this="${tag}">\` is not a valid element name — the element will not be rendered\nhttps://svelte.dev/e/dynamic_element_invalid_tag`);
509
- error.name = "Svelte error";
510
- throw error;
511
- }
512
- /**
513
- * The `html` property of server render results has been deprecated. Use `body` instead.
514
- * @returns {never}
515
- */
516
- function html_deprecated() {
517
- const error = /* @__PURE__ */ new Error(`html_deprecated\nThe \`html\` property of server render results has been deprecated. Use \`body\` instead.\nhttps://svelte.dev/e/html_deprecated`);
518
- error.name = "Svelte error";
519
- throw error;
520
- }
521
- /**
522
- * Failed to serialize `hydratable` data for key `%key%`.
523
- *
524
- * `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/uneval) can, plus Promises.
525
- *
526
- * Cause:
527
- * %stack%
528
- * @param {string} key
529
- * @param {string} stack
530
- * @returns {never}
531
- */
532
- function hydratable_serialization_failed(key, stack) {
533
- const error = /* @__PURE__ */ new Error(`hydratable_serialization_failed\nFailed to serialize \`hydratable\` data for key \`${key}\`.
534
-
535
- \`hydratable\` can serialize anything [\`uneval\` from \`devalue\`](https://npmjs.com/package/uneval) can, plus Promises.
536
-
537
- Cause:
538
- ${stack}\nhttps://svelte.dev/e/hydratable_serialization_failed`);
539
- error.name = "Svelte error";
540
- throw error;
541
- }
542
- /**
543
- * `csp.nonce` was set while `csp.hash` was `true`. These options cannot be used simultaneously.
544
- * @returns {never}
545
- */
546
- function invalid_csp() {
547
- const error = /* @__PURE__ */ new Error(`invalid_csp\n\`csp.nonce\` was set while \`csp.hash\` was \`true\`. These options cannot be used simultaneously.\nhttps://svelte.dev/e/invalid_csp`);
548
- error.name = "Svelte error";
549
- throw error;
550
- }
551
- /**
552
- * The `idPrefix` option cannot include `--`.
553
- * @returns {never}
554
- */
555
- function invalid_id_prefix() {
556
- const error = /* @__PURE__ */ new Error(`invalid_id_prefix\nThe \`idPrefix\` option cannot include \`--\`.\nhttps://svelte.dev/e/invalid_id_prefix`);
557
- error.name = "Svelte error";
558
- throw error;
559
- }
560
- /**
561
- * `%name%(...)` is not available on the server
562
- * @param {string} name
563
- * @returns {never}
564
- */
565
- function lifecycle_function_unavailable(name) {
566
- const error = /* @__PURE__ */ new Error(`lifecycle_function_unavailable\n\`${name}(...)\` is not available on the server\nhttps://svelte.dev/e/lifecycle_function_unavailable`);
567
- error.name = "Svelte error";
568
- throw error;
569
- }
570
- /**
571
- * Could not resolve `render` context.
572
- * @returns {never}
573
- */
574
- function server_context_required() {
575
- const error = /* @__PURE__ */ new Error(`server_context_required\nCould not resolve \`render\` context.\nhttps://svelte.dev/e/server_context_required`);
576
- error.name = "Svelte error";
577
- throw error;
578
- }
579
- /** @import { SSRContext } from '#server' */
580
- /** @type {SSRContext | null} */
581
- var ssr_context = null;
582
- /** @param {SSRContext | null} v */
583
- function set_ssr_context(v) {
584
- ssr_context = v;
585
- }
586
- /**
587
- * @template T
588
- * @returns {[() => T, (context: T) => T]}
589
- * @since 5.40.0
590
- */
591
- function createContext() {
592
- const key = {};
593
- return [() => {
594
- if (!hasContext(key)) missing_context();
595
- return getContext(key);
596
- }, (context) => setContext(key, context)];
597
- }
598
- /**
599
- * @template T
600
- * @param {any} key
601
- * @returns {T}
602
- */
603
- function getContext(key) {
604
- return get_or_init_context_map("getContext").get(key);
605
- }
606
- /**
607
- * @template T
608
- * @param {any} key
609
- * @param {T} context
610
- * @returns {T}
611
- */
612
- function setContext(key, context) {
613
- get_or_init_context_map("setContext").set(key, context);
614
- return context;
615
- }
616
- /**
617
- * @param {any} key
618
- * @returns {boolean}
619
- */
620
- function hasContext(key) {
621
- return get_or_init_context_map("hasContext").has(key);
622
- }
623
- /** @returns {Map<any, any>} */
624
- function getAllContexts() {
625
- return get_or_init_context_map("getAllContexts");
626
- }
627
- /**
628
- * @param {string} name
629
- * @returns {Map<unknown, unknown>}
630
- */
631
- function get_or_init_context_map(name) {
632
- if (ssr_context === null) lifecycle_outside_component(name);
633
- return ssr_context.c ??= new Map(get_parent_context(ssr_context) || void 0);
634
- }
635
- /**
636
- * @param {Function} [fn]
637
- */
638
- function push$1(fn) {
639
- ssr_context = {
640
- p: ssr_context,
641
- c: null,
642
- r: null
643
- };
644
- }
645
- function pop$1() {
646
- ssr_context = ssr_context.p;
446
+ //#endregion
447
+ //#region node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
448
+ function r(e) {
449
+ var t, f, n = "";
450
+ if ("string" == typeof e || "number" == typeof e) n += e;
451
+ else if ("object" == typeof e) if (Array.isArray(e)) {
452
+ var o = e.length;
453
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
454
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
455
+ return n;
647
456
  }
648
- /**
649
- * @param {SSRContext} ssr_context
650
- * @returns {Map<unknown, unknown> | null}
651
- */
652
- function get_parent_context(ssr_context) {
653
- let parent = ssr_context.p;
654
- while (parent !== null) {
655
- const context_map = parent.c;
656
- if (context_map !== null) return context_map;
657
- parent = parent.p;
658
- }
659
- return null;
457
+ function clsx() {
458
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
459
+ return n;
660
460
  }
461
+ //#endregion
462
+ //#region .svelte-kit/adapter-bun/chunks/index-server.js
661
463
  var is_array = Array.isArray;
662
464
  var index_of = Array.prototype.indexOf;
663
465
  var includes = Array.prototype.includes;
@@ -716,6 +518,23 @@ function to_array(value, n) {
716
518
  }
717
519
  return array;
718
520
  }
521
+ /** @import { Equals } from '#client' */
522
+ /** @type {Equals} */
523
+ function equals(value) {
524
+ return value === this.v;
525
+ }
526
+ /**
527
+ * @param {unknown} a
528
+ * @param {unknown} b
529
+ * @returns {boolean}
530
+ */
531
+ function safe_not_equal(a, b) {
532
+ return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
533
+ }
534
+ /** @type {Equals} */
535
+ function safe_equals(value) {
536
+ return !safe_not_equal(value, this.v);
537
+ }
719
538
  var CLEAN = 1024;
720
539
  var DIRTY = 2048;
721
540
  var MAYBE_DIRTY = 4096;
@@ -753,245 +572,28 @@ var STALE_REACTION = new class StaleReactionError extends Error {
753
572
  message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
754
573
  }();
755
574
  globalThis.document?.contentType;
756
- /** @type {AbortController | null} */
757
- var controller = null;
758
- function abort() {
759
- controller?.abort(STALE_REACTION);
760
- controller = null;
761
- }
762
- function getAbortSignal() {
763
- return (controller ??= new AbortController()).signal;
764
- }
765
- /** True if we're not certain that we only have Svelte 5 code in the compilation */
766
- var legacy_mode_flag = false;
767
- /** @import { AsyncLocalStorage } from 'node:async_hooks' */
768
- /** @import { RenderContext } from '#server' */
769
- /** @type {Promise<void> | null} */
770
- var current_render = null;
771
- /** @type {RenderContext | null} */
772
- var context = null;
773
- /** @returns {RenderContext} */
774
- function get_render_context() {
775
- const store = context ?? als?.getStore();
776
- if (!store) server_context_required();
777
- return store;
778
- }
779
- /**
780
- * @template T
781
- * @param {() => Promise<T>} fn
782
- * @returns {Promise<T>}
783
- */
784
- async function with_render_context(fn) {
785
- context = { hydratable: {
786
- lookup: /* @__PURE__ */ new Map(),
787
- comparisons: [],
788
- unresolved_promises: /* @__PURE__ */ new Map()
789
- } };
790
- if (in_webcontainer()) {
791
- const { promise, resolve } = deferred();
792
- const previous_render = current_render;
793
- current_render = promise;
794
- await previous_render;
795
- return fn().finally(resolve);
796
- }
797
- try {
798
- if (als === null) async_local_storage_unavailable();
799
- return als.run(context, fn);
800
- } finally {
801
- context = null;
802
- }
803
- }
804
- /** @type {AsyncLocalStorage<RenderContext | null> | null} */
805
- var als = null;
806
- /** @type {Promise<void> | null} */
807
- var als_import = null;
808
- /**
809
- *
810
- * @returns {Promise<void>}
811
- */
812
- function init_render_context() {
813
- als_import ??= import("node:async_hooks").then((hooks) => {
814
- als = new hooks.AsyncLocalStorage();
815
- }).then(noop, noop);
816
- return als_import;
817
- }
818
- function in_webcontainer() {
819
- return !!globalThis.process?.versions?.webcontainer;
820
- }
821
- var HYDRATION_ERROR = {};
822
- var UNINITIALIZED = Symbol("uninitialized");
823
- var ATTACHMENT_KEY = "@attach";
824
- /**
825
- * A `hydratable` value with key `%key%` was created, but at least part of it was not used during the render.
826
- *
827
- * The `hydratable` was initialized in:
828
- * %stack%
829
- * @param {string} key
830
- * @param {string} stack
831
- */
832
- function unresolved_hydratable(key, stack) {
833
- console.warn(`https://svelte.dev/e/unresolved_hydratable`);
834
- }
835
- var BLOCK_OPEN = `<!--[-->`;
836
- var BLOCK_CLOSE = `<!--]-->`;
837
- var EMPTY_COMMENT = `<!---->`;
838
- var ATTR_REGEX = /[&"<]/g;
839
- var CONTENT_REGEX = /[&<]/g;
840
- /**
841
- * @template V
842
- * @param {V} value
843
- * @param {boolean} [is_attr]
844
- */
845
- function escape_html(value, is_attr) {
846
- const str = String(value ?? "");
847
- const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
848
- pattern.lastIndex = 0;
849
- let escaped = "";
850
- let last = 0;
851
- while (pattern.test(str)) {
852
- const i = pattern.lastIndex - 1;
853
- const ch = str[i];
854
- escaped += str.substring(last, i) + (ch === "&" ? "&amp;" : ch === "\"" ? "&quot;" : "&lt;");
855
- last = i + 1;
856
- }
857
- return escaped + str.substring(last);
858
- }
859
- /**
860
- * `<div translate={false}>` should be rendered as `<div translate="no">` and _not_
861
- * `<div translate="false">`, which is equivalent to `<div translate="yes">`. There
862
- * may be other odd cases that need to be added to this list in future
863
- * @type {Record<string, Map<any, string>>}
864
- */
865
- var replacements = { translate: new Map([[true, "yes"], [false, "no"]]) };
866
- /**
867
- * @template V
868
- * @param {string} name
869
- * @param {V} value
870
- * @param {boolean} [is_boolean]
871
- * @returns {string}
872
- */
873
- function attr(name, value, is_boolean = false) {
874
- if (name === "hidden" && value !== "until-found") is_boolean = true;
875
- if (value == null || !value && is_boolean) return "";
876
- const normalized = has_own_property.call(replacements, name) && replacements[name].get(value) || value;
877
- return ` ${name}${is_boolean ? `=""` : `="${escape_html(normalized, true)}"`}`;
878
- }
879
- /**
880
- * Small wrapper around clsx to preserve Svelte's (weird) handling of falsy values.
881
- * TODO Svelte 6 revisit this, and likely turn all falsy values into the empty string (what clsx also does)
882
- * @param {any} value
883
- */
884
- function clsx$1(value) {
885
- if (typeof value === "object") return clsx(value);
886
- else return value ?? "";
887
- }
888
- var whitespace = [..." \n\r\f\xA0\v"];
889
- /**
890
- * @param {any} value
891
- * @param {string | null} [hash]
892
- * @param {Record<string, boolean>} [directives]
893
- * @returns {string | null}
894
- */
895
- function to_class(value, hash, directives) {
896
- var classname = value == null ? "" : "" + value;
897
- if (hash) classname = classname ? classname + " " + hash : hash;
898
- if (directives) {
899
- for (var key of Object.keys(directives)) if (directives[key]) classname = classname ? classname + " " + key : key;
900
- else if (classname.length) {
901
- var len = key.length;
902
- var a = 0;
903
- while ((a = classname.indexOf(key, a)) >= 0) {
904
- var b = a + len;
905
- if ((a === 0 || whitespace.includes(classname[a - 1])) && (b === classname.length || whitespace.includes(classname[b]))) classname = (a === 0 ? "" : classname.substring(0, a)) + classname.substring(b + 1);
906
- else a = b;
907
- }
908
- }
909
- }
910
- return classname === "" ? null : classname;
911
- }
912
- /**
913
- *
914
- * @param {Record<string,any>} styles
915
- * @param {boolean} important
916
- */
917
- function append_styles(styles, important = false) {
918
- var separator = important ? " !important;" : ";";
919
- var css = "";
920
- for (var key of Object.keys(styles)) {
921
- var value = styles[key];
922
- if (value != null && value !== "") css += " " + key + ": " + value + separator;
923
- }
924
- return css;
575
+ /**
576
+ * Cannot use `%name%(...)` unless the `experimental.async` compiler option is `true`
577
+ * @param {string} name
578
+ * @returns {never}
579
+ */
580
+ function experimental_async_required(name) {
581
+ throw new Error(`https://svelte.dev/e/experimental_async_required`);
925
582
  }
926
583
  /**
584
+ * `%name%(...)` can only be used during component initialisation
927
585
  * @param {string} name
928
- * @returns {string}
586
+ * @returns {never}
929
587
  */
930
- function to_css_name(name) {
931
- if (name[0] !== "-" || name[1] !== "-") return name.toLowerCase();
932
- return name;
588
+ function lifecycle_outside_component(name) {
589
+ throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
933
590
  }
934
591
  /**
935
- * @param {any} value
936
- * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [styles]
937
- * @returns {string | null}
592
+ * Context was not set in a parent component
593
+ * @returns {never}
938
594
  */
939
- function to_style(value, styles) {
940
- if (styles) {
941
- var new_style = "";
942
- /** @type {Record<string,any> | undefined} */
943
- var normal_styles;
944
- /** @type {Record<string,any> | undefined} */
945
- var important_styles;
946
- if (Array.isArray(styles)) {
947
- normal_styles = styles[0];
948
- important_styles = styles[1];
949
- } else normal_styles = styles;
950
- if (value) {
951
- value = String(value).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
952
- /** @type {boolean | '"' | "'"} */
953
- var in_str = false;
954
- var in_apo = 0;
955
- var in_comment = false;
956
- var reserved_names = [];
957
- if (normal_styles) reserved_names.push(...Object.keys(normal_styles).map(to_css_name));
958
- if (important_styles) reserved_names.push(...Object.keys(important_styles).map(to_css_name));
959
- var start_index = 0;
960
- var name_index = -1;
961
- const len = value.length;
962
- for (var i = 0; i < len; i++) {
963
- var c = value[i];
964
- if (in_comment) {
965
- if (c === "/" && value[i - 1] === "*") in_comment = false;
966
- } else if (in_str) {
967
- if (in_str === c) in_str = false;
968
- } else if (c === "/" && value[i + 1] === "*") in_comment = true;
969
- else if (c === "\"" || c === "'") in_str = c;
970
- else if (c === "(") in_apo++;
971
- else if (c === ")") in_apo--;
972
- if (!in_comment && in_str === false && in_apo === 0) {
973
- if (c === ":" && name_index === -1) name_index = i;
974
- else if (c === ";" || i === len - 1) {
975
- if (name_index !== -1) {
976
- var name = to_css_name(value.substring(start_index, name_index).trim());
977
- if (!reserved_names.includes(name)) {
978
- if (c !== ";") i++;
979
- var property = value.substring(start_index, i).trim();
980
- new_style += " " + property + ";";
981
- }
982
- }
983
- start_index = i + 1;
984
- name_index = -1;
985
- }
986
- }
987
- }
988
- }
989
- if (normal_styles) new_style += append_styles(normal_styles);
990
- if (important_styles) new_style += append_styles(important_styles, true);
991
- new_style = new_style.trim();
992
- return new_style === "" ? null : new_style;
993
- }
994
- return value == null ? null : String(value);
595
+ function missing_context() {
596
+ throw new Error(`https://svelte.dev/e/missing_context`);
995
597
  }
996
598
  /**
997
599
  * Maximum update depth exceeded. This typically indicates that an effect reads and writes the same piece of state
@@ -1035,6 +637,9 @@ function state_unsafe_mutation() {
1035
637
  function svelte_boundary_reset_onerror() {
1036
638
  throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
1037
639
  }
640
+ var HYDRATION_ERROR = {};
641
+ var UNINITIALIZED = Symbol("uninitialized");
642
+ var ATTACHMENT_KEY = "@attach";
1038
643
  /**
1039
644
  * Reading a derived belonging to a now-destroyed effect may result in stale values
1040
645
  */
@@ -1111,29 +716,14 @@ function skip_nodes(remove = true) {
1111
716
  node = next;
1112
717
  }
1113
718
  }
1114
- /** @import { Equals } from '#client' */
1115
- /** @type {Equals} */
1116
- function equals(value) {
1117
- return value === this.v;
1118
- }
1119
- /**
1120
- * @param {unknown} a
1121
- * @param {unknown} b
1122
- * @returns {boolean}
1123
- */
1124
- function safe_not_equal(a, b) {
1125
- return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
1126
- }
1127
- /** @type {Equals} */
1128
- function safe_equals(value) {
1129
- return !safe_not_equal(value, this.v);
1130
- }
1131
- /** @import { ComponentContext, DevStackEntry, Effect } from '#client' */
1132
- /** @type {ComponentContext | null} */
1133
- var component_context = null;
1134
- /** @param {ComponentContext | null} context */
1135
- function set_component_context(context) {
1136
- component_context = context;
719
+ /** True if we're not certain that we only have Svelte 5 code in the compilation */
720
+ var legacy_mode_flag = false;
721
+ /** @import { ComponentContext, DevStackEntry, Effect } from '#client' */
722
+ /** @type {ComponentContext | null} */
723
+ var component_context = null;
724
+ /** @param {ComponentContext | null} context */
725
+ function set_component_context(context) {
726
+ component_context = context;
1137
727
  }
1138
728
  /**
1139
729
  * @param {Record<string, unknown>} props
@@ -1141,7 +731,7 @@ function set_component_context(context) {
1141
731
  * @param {Function} [fn]
1142
732
  * @returns {void}
1143
733
  */
1144
- function push(props, runes = false, fn) {
734
+ function push$1(props, runes = false, fn) {
1145
735
  component_context = {
1146
736
  p: component_context,
1147
737
  i: false,
@@ -1162,7 +752,7 @@ function push(props, runes = false, fn) {
1162
752
  * @param {T} [component]
1163
753
  * @returns {T}
1164
754
  */
1165
- function pop(component) {
755
+ function pop$1(component) {
1166
756
  var context = component_context;
1167
757
  var effects = context.e;
1168
758
  if (effects !== null) {
@@ -1220,6 +810,7 @@ function handle_error(error) {
1220
810
  * @param {Effect | null} effect
1221
811
  */
1222
812
  function invoke_error_boundary(error, effect) {
813
+ if (effect !== null && (effect.f & 16384) !== 0) return;
1223
814
  while (effect !== null) {
1224
815
  if ((effect.f & 128) !== 0) {
1225
816
  if ((effect.f & 32768) === 0) throw error;
@@ -1277,177 +868,6 @@ function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
1277
868
  clear_marked(effect.deps);
1278
869
  set_signal_status(effect, CLEAN);
1279
870
  }
1280
- /** @import { Readable, StartStopNotifier, Subscriber, Unsubscriber, Updater, Writable } from '../public.js' */
1281
- /** @import { Stores, StoresValues, SubscribeInvalidateTuple } from '../private.js' */
1282
- /**
1283
- * @type {Array<SubscribeInvalidateTuple<any> | any>}
1284
- */
1285
- var subscriber_queue = [];
1286
- /**
1287
- * Creates a `Readable` store that allows reading by subscription.
1288
- *
1289
- * @template T
1290
- * @param {T} [value] initial value
1291
- * @param {StartStopNotifier<T>} [start]
1292
- * @returns {Readable<T>}
1293
- */
1294
- function readable(value, start) {
1295
- return { subscribe: writable(value, start).subscribe };
1296
- }
1297
- /**
1298
- * Create a `Writable` store that allows both updating and reading by subscription.
1299
- *
1300
- * @template T
1301
- * @param {T} [value] initial value
1302
- * @param {StartStopNotifier<T>} [start]
1303
- * @returns {Writable<T>}
1304
- */
1305
- function writable(value, start = noop) {
1306
- /** @type {Unsubscriber | null} */
1307
- let stop = null;
1308
- /** @type {Set<SubscribeInvalidateTuple<T>>} */
1309
- const subscribers = /* @__PURE__ */ new Set();
1310
- /**
1311
- * @param {T} new_value
1312
- * @returns {void}
1313
- */
1314
- function set(new_value) {
1315
- if (safe_not_equal(value, new_value)) {
1316
- value = new_value;
1317
- if (stop) {
1318
- const run_queue = !subscriber_queue.length;
1319
- for (const subscriber of subscribers) {
1320
- subscriber[1]();
1321
- subscriber_queue.push(subscriber, value);
1322
- }
1323
- if (run_queue) {
1324
- for (let i = 0; i < subscriber_queue.length; i += 2) subscriber_queue[i][0](subscriber_queue[i + 1]);
1325
- subscriber_queue.length = 0;
1326
- }
1327
- }
1328
- }
1329
- }
1330
- /**
1331
- * @param {Updater<T>} fn
1332
- * @returns {void}
1333
- */
1334
- function update(fn) {
1335
- set(fn(value));
1336
- }
1337
- /**
1338
- * @param {Subscriber<T>} run
1339
- * @param {() => void} [invalidate]
1340
- * @returns {Unsubscriber}
1341
- */
1342
- function subscribe(run, invalidate = noop) {
1343
- /** @type {SubscribeInvalidateTuple<T>} */
1344
- const subscriber = [run, invalidate];
1345
- subscribers.add(subscriber);
1346
- if (subscribers.size === 1) stop = start(set, update) || noop;
1347
- run(value);
1348
- return () => {
1349
- subscribers.delete(subscriber);
1350
- if (subscribers.size === 0 && stop) {
1351
- stop();
1352
- stop = null;
1353
- }
1354
- };
1355
- }
1356
- return {
1357
- set,
1358
- update,
1359
- subscribe
1360
- };
1361
- }
1362
- /**
1363
- * Derived value store by synchronizing one or more readable stores and
1364
- * applying an aggregation function over its input values.
1365
- *
1366
- * @template {Stores} S
1367
- * @template T
1368
- * @overload
1369
- * @param {S} stores
1370
- * @param {(values: StoresValues<S>, set: (value: T) => void, update: (fn: Updater<T>) => void) => Unsubscriber | void} fn
1371
- * @param {T} [initial_value]
1372
- * @returns {Readable<T>}
1373
- */
1374
- /**
1375
- * Derived value store by synchronizing one or more readable stores and
1376
- * applying an aggregation function over its input values.
1377
- *
1378
- * @template {Stores} S
1379
- * @template T
1380
- * @overload
1381
- * @param {S} stores
1382
- * @param {(values: StoresValues<S>) => T} fn
1383
- * @param {T} [initial_value]
1384
- * @returns {Readable<T>}
1385
- */
1386
- /**
1387
- * @template {Stores} S
1388
- * @template T
1389
- * @param {S} stores
1390
- * @param {Function} fn
1391
- * @param {T} [initial_value]
1392
- * @returns {Readable<T>}
1393
- */
1394
- function derived$1(stores, fn, initial_value) {
1395
- const single = !Array.isArray(stores);
1396
- /** @type {Array<Readable<any>>} */
1397
- const stores_array = single ? [stores] : stores;
1398
- if (!stores_array.every(Boolean)) throw new Error("derived() expects stores as input, got a falsy value");
1399
- const auto = fn.length < 2;
1400
- return readable(initial_value, (set, update) => {
1401
- let started = false;
1402
- /** @type {T[]} */
1403
- const values = [];
1404
- let pending = 0;
1405
- let cleanup = noop;
1406
- const sync = () => {
1407
- if (pending) return;
1408
- cleanup();
1409
- const result = fn(single ? values[0] : values, set, update);
1410
- if (auto) set(result);
1411
- else cleanup = typeof result === "function" ? result : noop;
1412
- };
1413
- const unsubscribers = stores_array.map((store, i) => subscribe_to_store(store, (value) => {
1414
- values[i] = value;
1415
- pending &= ~(1 << i);
1416
- if (started) sync();
1417
- }, () => {
1418
- pending |= 1 << i;
1419
- }));
1420
- started = true;
1421
- sync();
1422
- return function stop() {
1423
- run_all(unsubscribers);
1424
- cleanup();
1425
- started = false;
1426
- };
1427
- });
1428
- }
1429
- /**
1430
- * Takes a store and returns a new one derived from the old one that is readable.
1431
- *
1432
- * @template T
1433
- * @param {Readable<T>} store - store to make readonly
1434
- * @returns {Readable<T>}
1435
- */
1436
- function readonly(store) {
1437
- return { subscribe: store.subscribe.bind(store) };
1438
- }
1439
- /**
1440
- * Get the current value from a store by subscribing and immediately unsubscribing.
1441
- *
1442
- * @template T
1443
- * @param {Readable<T>} store
1444
- * @returns {T}
1445
- */
1446
- function get$1(store) {
1447
- let value;
1448
- subscribe_to_store(store, (_) => value = _)();
1449
- return value;
1450
- }
1451
871
  /**
1452
872
  * We set this to `true` when updating a store so that we correctly
1453
873
  * schedule effects if the update takes place inside a `$:` effect
@@ -1506,7 +926,7 @@ function createSubscriber(start) {
1506
926
  let stop;
1507
927
  return () => {
1508
928
  if (effect_tracking()) {
1509
- get(version);
929
+ get$1(version);
1510
930
  render_effect(() => {
1511
931
  if (subscribers === 0) stop = untrack(() => start(() => increment(version)));
1512
932
  subscribers += 1;
@@ -1769,7 +1189,7 @@ var Boundary = class {
1769
1189
  }
1770
1190
  get_effect_pending() {
1771
1191
  this.#effect_pending_subscriber();
1772
- return get(this.#effect_pending);
1192
+ return get$1(this.#effect_pending);
1773
1193
  }
1774
1194
  /** @param {unknown} error */
1775
1195
  error(error) {
@@ -2856,7 +2276,7 @@ function proxy(value) {
2856
2276
  sources.set(prop, s);
2857
2277
  }
2858
2278
  if (s !== void 0) {
2859
- var v = get(s);
2279
+ var v = get$1(s);
2860
2280
  return v === UNINITIALIZED ? void 0 : v;
2861
2281
  }
2862
2282
  return Reflect.get(target, prop, receiver);
@@ -2865,7 +2285,7 @@ function proxy(value) {
2865
2285
  var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
2866
2286
  if (descriptor && "value" in descriptor) {
2867
2287
  var s = sources.get(prop);
2868
- if (s) descriptor.value = get(s);
2288
+ if (s) descriptor.value = get$1(s);
2869
2289
  } else if (descriptor === void 0) {
2870
2290
  var source = sources.get(prop);
2871
2291
  var value = source?.v;
@@ -2889,7 +2309,7 @@ function proxy(value) {
2889
2309
  });
2890
2310
  sources.set(prop, s);
2891
2311
  }
2892
- if (get(s) === UNINITIALIZED) return false;
2312
+ if (get$1(s) === UNINITIALIZED) return false;
2893
2313
  }
2894
2314
  return has;
2895
2315
  },
@@ -2928,7 +2348,7 @@ function proxy(value) {
2928
2348
  return true;
2929
2349
  },
2930
2350
  ownKeys(target) {
2931
- get(version);
2351
+ get$1(version);
2932
2352
  var own_keys = Reflect.ownKeys(target).filter((key) => {
2933
2353
  var source = sources.get(key);
2934
2354
  return source === void 0 || source.v !== UNINITIALIZED;
@@ -3545,7 +2965,7 @@ function update_effect(effect) {
3545
2965
  * @param {Value<V>} signal
3546
2966
  * @returns {V}
3547
2967
  */
3548
- function get(signal) {
2968
+ function get$1(signal) {
3549
2969
  var is_derived = (signal.f & 2) !== 0;
3550
2970
  captured_signals?.add(signal);
3551
2971
  if (active_reaction !== null && !untracking) {
@@ -3659,72 +3079,362 @@ function subscribe_to_store(store, run, invalidate) {
3659
3079
  const unsub = untrack(() => store.subscribe(run, invalidate));
3660
3080
  return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
3661
3081
  }
3662
- var VOID_ELEMENT_NAMES = [
3663
- "area",
3664
- "base",
3665
- "br",
3666
- "col",
3667
- "command",
3668
- "embed",
3669
- "hr",
3670
- "img",
3671
- "input",
3672
- "keygen",
3673
- "link",
3674
- "meta",
3675
- "param",
3676
- "source",
3677
- "track",
3678
- "wbr"
3679
- ];
3680
- /**
3681
- * Returns `true` if `name` is of a void element
3682
- * @param {string} name
3683
- */
3684
- function is_void(name) {
3685
- return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === "!doctype";
3686
- }
3082
+ /** @import { Readable, StartStopNotifier, Subscriber, Unsubscriber, Updater, Writable } from '../public.js' */
3083
+ /** @import { Stores, StoresValues, SubscribeInvalidateTuple } from '../private.js' */
3687
3084
  /**
3688
- * Attributes that are boolean, i.e. they are present or not present.
3085
+ * @type {Array<SubscribeInvalidateTuple<any> | any>}
3689
3086
  */
3690
- var DOM_BOOLEAN_ATTRIBUTES = [
3691
- "allowfullscreen",
3692
- "async",
3693
- "autofocus",
3694
- "autoplay",
3695
- "checked",
3696
- "controls",
3697
- "default",
3698
- "disabled",
3699
- "formnovalidate",
3700
- "indeterminate",
3701
- "inert",
3702
- "ismap",
3703
- "loop",
3704
- "multiple",
3705
- "muted",
3706
- "nomodule",
3707
- "novalidate",
3708
- "open",
3709
- "playsinline",
3710
- "readonly",
3711
- "required",
3712
- "reversed",
3713
- "seamless",
3714
- "selected",
3715
- "webkitdirectory",
3716
- "defer",
3717
- "disablepictureinpicture",
3718
- "disableremoteplayback"
3719
- ];
3087
+ var subscriber_queue = [];
3720
3088
  /**
3721
- * Returns `true` if `name` is a boolean attribute
3722
- * @param {string} name
3089
+ * Creates a `Readable` store that allows reading by subscription.
3090
+ *
3091
+ * @template T
3092
+ * @param {T} [value] initial value
3093
+ * @param {StartStopNotifier<T>} [start]
3094
+ * @returns {Readable<T>}
3723
3095
  */
3724
- function is_boolean_attribute(name) {
3725
- return DOM_BOOLEAN_ATTRIBUTES.includes(name);
3096
+ function readable(value, start) {
3097
+ return { subscribe: writable(value, start).subscribe };
3726
3098
  }
3727
- [...DOM_BOOLEAN_ATTRIBUTES];
3099
+ /**
3100
+ * Create a `Writable` store that allows both updating and reading by subscription.
3101
+ *
3102
+ * @template T
3103
+ * @param {T} [value] initial value
3104
+ * @param {StartStopNotifier<T>} [start]
3105
+ * @returns {Writable<T>}
3106
+ */
3107
+ function writable(value, start = noop) {
3108
+ /** @type {Unsubscriber | null} */
3109
+ let stop = null;
3110
+ /** @type {Set<SubscribeInvalidateTuple<T>>} */
3111
+ const subscribers = /* @__PURE__ */ new Set();
3112
+ /**
3113
+ * @param {T} new_value
3114
+ * @returns {void}
3115
+ */
3116
+ function set(new_value) {
3117
+ if (safe_not_equal(value, new_value)) {
3118
+ value = new_value;
3119
+ if (stop) {
3120
+ const run_queue = !subscriber_queue.length;
3121
+ for (const subscriber of subscribers) {
3122
+ subscriber[1]();
3123
+ subscriber_queue.push(subscriber, value);
3124
+ }
3125
+ if (run_queue) {
3126
+ for (let i = 0; i < subscriber_queue.length; i += 2) subscriber_queue[i][0](subscriber_queue[i + 1]);
3127
+ subscriber_queue.length = 0;
3128
+ }
3129
+ }
3130
+ }
3131
+ }
3132
+ /**
3133
+ * @param {Updater<T>} fn
3134
+ * @returns {void}
3135
+ */
3136
+ function update(fn) {
3137
+ set(fn(value));
3138
+ }
3139
+ /**
3140
+ * @param {Subscriber<T>} run
3141
+ * @param {() => void} [invalidate]
3142
+ * @returns {Unsubscriber}
3143
+ */
3144
+ function subscribe(run, invalidate = noop) {
3145
+ /** @type {SubscribeInvalidateTuple<T>} */
3146
+ const subscriber = [run, invalidate];
3147
+ subscribers.add(subscriber);
3148
+ if (subscribers.size === 1) stop = start(set, update) || noop;
3149
+ run(value);
3150
+ return () => {
3151
+ subscribers.delete(subscriber);
3152
+ if (subscribers.size === 0 && stop) {
3153
+ stop();
3154
+ stop = null;
3155
+ }
3156
+ };
3157
+ }
3158
+ return {
3159
+ set,
3160
+ update,
3161
+ subscribe
3162
+ };
3163
+ }
3164
+ /**
3165
+ * Derived value store by synchronizing one or more readable stores and
3166
+ * applying an aggregation function over its input values.
3167
+ *
3168
+ * @template {Stores} S
3169
+ * @template T
3170
+ * @overload
3171
+ * @param {S} stores
3172
+ * @param {(values: StoresValues<S>, set: (value: T) => void, update: (fn: Updater<T>) => void) => Unsubscriber | void} fn
3173
+ * @param {T} [initial_value]
3174
+ * @returns {Readable<T>}
3175
+ */
3176
+ /**
3177
+ * Derived value store by synchronizing one or more readable stores and
3178
+ * applying an aggregation function over its input values.
3179
+ *
3180
+ * @template {Stores} S
3181
+ * @template T
3182
+ * @overload
3183
+ * @param {S} stores
3184
+ * @param {(values: StoresValues<S>) => T} fn
3185
+ * @param {T} [initial_value]
3186
+ * @returns {Readable<T>}
3187
+ */
3188
+ /**
3189
+ * @template {Stores} S
3190
+ * @template T
3191
+ * @param {S} stores
3192
+ * @param {Function} fn
3193
+ * @param {T} [initial_value]
3194
+ * @returns {Readable<T>}
3195
+ */
3196
+ function derived$1(stores, fn, initial_value) {
3197
+ const single = !Array.isArray(stores);
3198
+ /** @type {Array<Readable<any>>} */
3199
+ const stores_array = single ? [stores] : stores;
3200
+ if (!stores_array.every(Boolean)) throw new Error("derived() expects stores as input, got a falsy value");
3201
+ const auto = fn.length < 2;
3202
+ return readable(initial_value, (set, update) => {
3203
+ let started = false;
3204
+ /** @type {T[]} */
3205
+ const values = [];
3206
+ let pending = 0;
3207
+ let cleanup = noop;
3208
+ const sync = () => {
3209
+ if (pending) return;
3210
+ cleanup();
3211
+ const result = fn(single ? values[0] : values, set, update);
3212
+ if (auto) set(result);
3213
+ else cleanup = typeof result === "function" ? result : noop;
3214
+ };
3215
+ const unsubscribers = stores_array.map((store, i) => subscribe_to_store(store, (value) => {
3216
+ values[i] = value;
3217
+ pending &= ~(1 << i);
3218
+ if (started) sync();
3219
+ }, () => {
3220
+ pending |= 1 << i;
3221
+ }));
3222
+ started = true;
3223
+ sync();
3224
+ return function stop() {
3225
+ run_all(unsubscribers);
3226
+ cleanup();
3227
+ started = false;
3228
+ };
3229
+ });
3230
+ }
3231
+ /**
3232
+ * Takes a store and returns a new one derived from the old one that is readable.
3233
+ *
3234
+ * @template T
3235
+ * @param {Readable<T>} store - store to make readonly
3236
+ * @returns {Readable<T>}
3237
+ */
3238
+ function readonly(store) {
3239
+ return { subscribe: store.subscribe.bind(store) };
3240
+ }
3241
+ /**
3242
+ * Get the current value from a store by subscribing and immediately unsubscribing.
3243
+ *
3244
+ * @template T
3245
+ * @param {Readable<T>} store
3246
+ * @returns {T}
3247
+ */
3248
+ function get(store) {
3249
+ let value;
3250
+ subscribe_to_store(store, (_) => value = _)();
3251
+ return value;
3252
+ }
3253
+ /**
3254
+ * Used on elements, as a map of event type -> event handler,
3255
+ * and on events themselves to track which element handled an event
3256
+ */
3257
+ var event_symbol = Symbol("events");
3258
+ /** @type {Set<string>} */
3259
+ var all_registered_events = /* @__PURE__ */ new Set();
3260
+ /** @type {Set<(events: Array<string>) => void>} */
3261
+ var root_event_handles = /* @__PURE__ */ new Set();
3262
+ /**
3263
+ * @param {string} event_name
3264
+ * @param {EventTarget} dom
3265
+ * @param {EventListener} [handler]
3266
+ * @param {AddEventListenerOptions} [options]
3267
+ */
3268
+ function create_event(event_name, dom, handler, options = {}) {
3269
+ /**
3270
+ * @this {EventTarget}
3271
+ */
3272
+ function target_handler(event) {
3273
+ if (!options.capture) handle_event_propagation.call(dom, event);
3274
+ if (!event.cancelBubble) return without_reactive_context(() => {
3275
+ return handler?.call(this, event);
3276
+ });
3277
+ }
3278
+ if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") queue_micro_task(() => {
3279
+ dom.addEventListener(event_name, target_handler, options);
3280
+ });
3281
+ else dom.addEventListener(event_name, target_handler, options);
3282
+ return target_handler;
3283
+ }
3284
+ /**
3285
+ * Attaches an event handler to an element and returns a function that removes the handler. Using this
3286
+ * rather than `addEventListener` will preserve the correct order relative to handlers added declaratively
3287
+ * (with attributes like `onclick`), which use event delegation for performance reasons
3288
+ *
3289
+ * @param {EventTarget} element
3290
+ * @param {string} type
3291
+ * @param {EventListener} handler
3292
+ * @param {AddEventListenerOptions} [options]
3293
+ */
3294
+ function on(element, type, handler, options = {}) {
3295
+ var target_handler = create_event(type, element, handler, options);
3296
+ return () => {
3297
+ element.removeEventListener(type, target_handler, options);
3298
+ };
3299
+ }
3300
+ var last_propagated_event = null;
3301
+ /**
3302
+ * @this {EventTarget}
3303
+ * @param {Event} event
3304
+ * @returns {void}
3305
+ */
3306
+ function handle_event_propagation(event) {
3307
+ var handler_element = this;
3308
+ var owner_document = handler_element.ownerDocument;
3309
+ var event_name = event.type;
3310
+ var path = event.composedPath?.() || [];
3311
+ var current_target = path[0] || event.target;
3312
+ last_propagated_event = event;
3313
+ var path_idx = 0;
3314
+ var handled_at = last_propagated_event === event && event[event_symbol];
3315
+ if (handled_at) {
3316
+ var at_idx = path.indexOf(handled_at);
3317
+ if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
3318
+ event[event_symbol] = handler_element;
3319
+ return;
3320
+ }
3321
+ var handler_idx = path.indexOf(handler_element);
3322
+ if (handler_idx === -1) return;
3323
+ if (at_idx <= handler_idx) path_idx = at_idx;
3324
+ }
3325
+ current_target = path[path_idx] || event.target;
3326
+ if (current_target === handler_element) return;
3327
+ define_property(event, "currentTarget", {
3328
+ configurable: true,
3329
+ get() {
3330
+ return current_target || owner_document;
3331
+ }
3332
+ });
3333
+ var previous_reaction = active_reaction;
3334
+ var previous_effect = active_effect;
3335
+ set_active_reaction(null);
3336
+ set_active_effect(null);
3337
+ try {
3338
+ /**
3339
+ * @type {unknown}
3340
+ */
3341
+ var throw_error;
3342
+ /**
3343
+ * @type {unknown[]}
3344
+ */
3345
+ var other_errors = [];
3346
+ while (current_target !== null) {
3347
+ if (current_target === handler_element) break;
3348
+ try {
3349
+ var delegated = current_target[event_symbol]?.[event_name];
3350
+ if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
3351
+ } catch (error) {
3352
+ if (throw_error) other_errors.push(error);
3353
+ else throw_error = error;
3354
+ }
3355
+ if (event.cancelBubble) break;
3356
+ path_idx++;
3357
+ current_target = path_idx < path.length ? path[path_idx] : null;
3358
+ }
3359
+ if (throw_error) {
3360
+ for (let error of other_errors) queueMicrotask(() => {
3361
+ throw error;
3362
+ });
3363
+ throw throw_error;
3364
+ }
3365
+ } finally {
3366
+ event[event_symbol] = handler_element;
3367
+ delete event.currentTarget;
3368
+ set_active_reaction(previous_reaction);
3369
+ set_active_effect(previous_effect);
3370
+ }
3371
+ }
3372
+ var VOID_ELEMENT_NAMES = [
3373
+ "area",
3374
+ "base",
3375
+ "br",
3376
+ "col",
3377
+ "command",
3378
+ "embed",
3379
+ "hr",
3380
+ "img",
3381
+ "input",
3382
+ "keygen",
3383
+ "link",
3384
+ "meta",
3385
+ "param",
3386
+ "source",
3387
+ "track",
3388
+ "wbr"
3389
+ ];
3390
+ /**
3391
+ * Returns `true` if `name` is of a void element
3392
+ * @param {string} name
3393
+ */
3394
+ function is_void(name) {
3395
+ return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === "!doctype";
3396
+ }
3397
+ /**
3398
+ * Attributes that are boolean, i.e. they are present or not present.
3399
+ */
3400
+ var DOM_BOOLEAN_ATTRIBUTES = [
3401
+ "allowfullscreen",
3402
+ "async",
3403
+ "autofocus",
3404
+ "autoplay",
3405
+ "checked",
3406
+ "controls",
3407
+ "default",
3408
+ "disabled",
3409
+ "formnovalidate",
3410
+ "indeterminate",
3411
+ "inert",
3412
+ "ismap",
3413
+ "loop",
3414
+ "multiple",
3415
+ "muted",
3416
+ "nomodule",
3417
+ "novalidate",
3418
+ "open",
3419
+ "playsinline",
3420
+ "readonly",
3421
+ "required",
3422
+ "reversed",
3423
+ "seamless",
3424
+ "selected",
3425
+ "webkitdirectory",
3426
+ "defer",
3427
+ "disablepictureinpicture",
3428
+ "disableremoteplayback"
3429
+ ];
3430
+ /**
3431
+ * Returns `true` if `name` is a boolean attribute
3432
+ * @param {string} name
3433
+ */
3434
+ function is_boolean_attribute(name) {
3435
+ return DOM_BOOLEAN_ATTRIBUTES.includes(name);
3436
+ }
3437
+ [...DOM_BOOLEAN_ATTRIBUTES];
3728
3438
  /**
3729
3439
  * Subset of delegated events which should be passive by default.
3730
3440
  * These two are already passive via browser defaults on window, document and body.
@@ -3736,217 +3446,435 @@ function is_boolean_attribute(name) {
3736
3446
  */
3737
3447
  var PASSIVE_EVENTS = ["touchstart", "touchmove"];
3738
3448
  /**
3739
- * Returns `true` if `name` is a passive event
3449
+ * Returns `true` if `name` is a passive event
3450
+ * @param {string} name
3451
+ */
3452
+ function is_passive_event(name) {
3453
+ return PASSIVE_EVENTS.includes(name);
3454
+ }
3455
+ /** List of elements that require raw contents and should not have SSR comments put in them */
3456
+ var RAW_TEXT_ELEMENTS = [
3457
+ "textarea",
3458
+ "script",
3459
+ "style",
3460
+ "title"
3461
+ ];
3462
+ /** @param {string} name */
3463
+ function is_raw_text_element(name) {
3464
+ return RAW_TEXT_ELEMENTS.includes(name);
3465
+ }
3466
+ var REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u;
3467
+ var ATTR_REGEX = /[&"<]/g;
3468
+ var CONTENT_REGEX = /[&<]/g;
3469
+ /**
3470
+ * @template V
3471
+ * @param {V} value
3472
+ * @param {boolean} [is_attr]
3473
+ */
3474
+ function escape_html(value, is_attr) {
3475
+ const str = String(value ?? "");
3476
+ const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
3477
+ pattern.lastIndex = 0;
3478
+ let escaped = "";
3479
+ let last = 0;
3480
+ while (pattern.test(str)) {
3481
+ const i = pattern.lastIndex - 1;
3482
+ const ch = str[i];
3483
+ escaped += str.substring(last, i) + (ch === "&" ? "&amp;" : ch === "\"" ? "&quot;" : "&lt;");
3484
+ last = i + 1;
3485
+ }
3486
+ return escaped + str.substring(last);
3487
+ }
3488
+ /**
3489
+ * `<div translate={false}>` should be rendered as `<div translate="no">` and _not_
3490
+ * `<div translate="false">`, which is equivalent to `<div translate="yes">`. There
3491
+ * may be other odd cases that need to be added to this list in future
3492
+ * @type {Record<string, Map<any, string>>}
3493
+ */
3494
+ var replacements = { translate: new Map([[true, "yes"], [false, "no"]]) };
3495
+ /**
3496
+ * @template V
3497
+ * @param {string} name
3498
+ * @param {V} value
3499
+ * @param {boolean} [is_boolean]
3500
+ * @returns {string}
3501
+ */
3502
+ function attr(name, value, is_boolean = false) {
3503
+ if (name === "hidden" && value !== "until-found") is_boolean = true;
3504
+ if (value == null || !value && is_boolean) return "";
3505
+ const normalized = has_own_property.call(replacements, name) && replacements[name].get(value) || value;
3506
+ return ` ${name}${is_boolean ? `=""` : `="${escape_html(normalized, true)}"`}`;
3507
+ }
3508
+ /**
3509
+ * Small wrapper around clsx to preserve Svelte's (weird) handling of falsy values.
3510
+ * TODO Svelte 6 revisit this, and likely turn all falsy values into the empty string (what clsx also does)
3511
+ * @param {any} value
3512
+ */
3513
+ function clsx$1(value) {
3514
+ if (typeof value === "object") return clsx(value);
3515
+ else return value ?? "";
3516
+ }
3517
+ var whitespace = [..." \n\r\f\xA0\v"];
3518
+ /**
3519
+ * @param {any} value
3520
+ * @param {string | null} [hash]
3521
+ * @param {Record<string, boolean>} [directives]
3522
+ * @returns {string | null}
3523
+ */
3524
+ function to_class(value, hash, directives) {
3525
+ var classname = value == null ? "" : "" + value;
3526
+ if (hash) classname = classname ? classname + " " + hash : hash;
3527
+ if (directives) {
3528
+ for (var key of Object.keys(directives)) if (directives[key]) classname = classname ? classname + " " + key : key;
3529
+ else if (classname.length) {
3530
+ var len = key.length;
3531
+ var a = 0;
3532
+ while ((a = classname.indexOf(key, a)) >= 0) {
3533
+ var b = a + len;
3534
+ if ((a === 0 || whitespace.includes(classname[a - 1])) && (b === classname.length || whitespace.includes(classname[b]))) classname = (a === 0 ? "" : classname.substring(0, a)) + classname.substring(b + 1);
3535
+ else a = b;
3536
+ }
3537
+ }
3538
+ }
3539
+ return classname === "" ? null : classname;
3540
+ }
3541
+ /**
3542
+ *
3543
+ * @param {Record<string,any>} styles
3544
+ * @param {boolean} important
3545
+ */
3546
+ function append_styles(styles, important = false) {
3547
+ var separator = important ? " !important;" : ";";
3548
+ var css = "";
3549
+ for (var key of Object.keys(styles)) {
3550
+ var value = styles[key];
3551
+ if (value != null && value !== "") css += " " + key + ": " + value + separator;
3552
+ }
3553
+ return css;
3554
+ }
3555
+ /**
3740
3556
  * @param {string} name
3557
+ * @returns {string}
3741
3558
  */
3742
- function is_passive_event(name) {
3743
- return PASSIVE_EVENTS.includes(name);
3744
- }
3745
- /** List of elements that require raw contents and should not have SSR comments put in them */
3746
- var RAW_TEXT_ELEMENTS = [
3747
- "textarea",
3748
- "script",
3749
- "style",
3750
- "title"
3751
- ];
3752
- /** @param {string} name */
3753
- function is_raw_text_element(name) {
3754
- return RAW_TEXT_ELEMENTS.includes(name);
3559
+ function to_css_name(name) {
3560
+ if (name[0] !== "-" || name[1] !== "-") return name.toLowerCase();
3561
+ return name;
3755
3562
  }
3756
- var REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u;
3757
- var INVALID_ATTR_NAME_CHAR_REGEX = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
3758
3563
  /**
3759
- * @param {Renderer} renderer
3760
- * @param {string} tag
3761
- * @param {() => void} attributes_fn
3762
- * @param {() => void} children_fn
3763
- * @returns {void}
3564
+ * @param {any} value
3565
+ * @param {Record<string, any> | [Record<string, any>, Record<string, any>]} [styles]
3566
+ * @returns {string | null}
3764
3567
  */
3765
- function element(renderer, tag, attributes_fn = noop, children_fn = noop) {
3766
- renderer.push("<!---->");
3767
- if (tag) {
3768
- if (!REGEX_VALID_TAG_NAME.test(tag)) dynamic_element_invalid_tag(tag);
3769
- renderer.push(`<${tag}`);
3770
- attributes_fn();
3771
- renderer.push(`>`);
3772
- if (!is_void(tag)) {
3773
- children_fn();
3774
- if (!is_raw_text_element(tag)) renderer.push(EMPTY_COMMENT);
3775
- renderer.push(`</${tag}>`);
3568
+ function to_style(value, styles) {
3569
+ if (styles) {
3570
+ var new_style = "";
3571
+ /** @type {Record<string,any> | undefined} */
3572
+ var normal_styles;
3573
+ /** @type {Record<string,any> | undefined} */
3574
+ var important_styles;
3575
+ if (Array.isArray(styles)) {
3576
+ normal_styles = styles[0];
3577
+ important_styles = styles[1];
3578
+ } else normal_styles = styles;
3579
+ if (value) {
3580
+ value = String(value).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
3581
+ /** @type {boolean | '"' | "'"} */
3582
+ var in_str = false;
3583
+ var in_apo = 0;
3584
+ var in_comment = false;
3585
+ var reserved_names = [];
3586
+ if (normal_styles) reserved_names.push(...Object.keys(normal_styles).map(to_css_name));
3587
+ if (important_styles) reserved_names.push(...Object.keys(important_styles).map(to_css_name));
3588
+ var start_index = 0;
3589
+ var name_index = -1;
3590
+ const len = value.length;
3591
+ for (var i = 0; i < len; i++) {
3592
+ var c = value[i];
3593
+ if (in_comment) {
3594
+ if (c === "/" && value[i - 1] === "*") in_comment = false;
3595
+ } else if (in_str) {
3596
+ if (in_str === c) in_str = false;
3597
+ } else if (c === "/" && value[i + 1] === "*") in_comment = true;
3598
+ else if (c === "\"" || c === "'") in_str = c;
3599
+ else if (c === "(") in_apo++;
3600
+ else if (c === ")") in_apo--;
3601
+ if (!in_comment && in_str === false && in_apo === 0) {
3602
+ if (c === ":" && name_index === -1) name_index = i;
3603
+ else if (c === ";" || i === len - 1) {
3604
+ if (name_index !== -1) {
3605
+ var name = to_css_name(value.substring(start_index, name_index).trim());
3606
+ if (!reserved_names.includes(name)) {
3607
+ if (c !== ";") i++;
3608
+ var property = value.substring(start_index, i).trim();
3609
+ new_style += " " + property + ";";
3610
+ }
3611
+ }
3612
+ start_index = i + 1;
3613
+ name_index = -1;
3614
+ }
3615
+ }
3616
+ }
3776
3617
  }
3618
+ if (normal_styles) new_style += append_styles(normal_styles);
3619
+ if (important_styles) new_style += append_styles(important_styles, true);
3620
+ new_style = new_style.trim();
3621
+ return new_style === "" ? null : new_style;
3777
3622
  }
3778
- renderer.push("<!---->");
3623
+ return value == null ? null : String(value);
3624
+ }
3625
+ var BLOCK_OPEN = `<!--[-->`;
3626
+ var BLOCK_CLOSE = `<!--]-->`;
3627
+ var EMPTY_COMMENT = `<!---->`;
3628
+ /** @type {AbortController | null} */
3629
+ var controller = null;
3630
+ function abort() {
3631
+ controller?.abort(STALE_REACTION);
3632
+ controller = null;
3633
+ }
3634
+ function getAbortSignal() {
3635
+ return (controller ??= new AbortController()).signal;
3779
3636
  }
3780
3637
  /**
3781
- * Only available on the server and when compiling with the `server` option.
3782
- * Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
3783
- * @template {Record<string, any>} Props
3784
- * @param {Component<Props> | ComponentType<SvelteComponent<Props>>} component
3785
- * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} [options]
3786
- * @returns {RenderOutput}
3638
+ * The node API `AsyncLocalStorage` is not available, but is required to use async server rendering.
3639
+ * @returns {never}
3787
3640
  */
3788
- function render(component, options = {}) {
3789
- if (options.csp?.hash && options.csp.nonce) invalid_csp();
3790
- return Renderer.render(component, options);
3641
+ function async_local_storage_unavailable() {
3642
+ const error = /* @__PURE__ */ new Error(`async_local_storage_unavailable\nThe node API \`AsyncLocalStorage\` is not available, but is required to use async server rendering.\nhttps://svelte.dev/e/async_local_storage_unavailable`);
3643
+ error.name = "Svelte error";
3644
+ throw error;
3791
3645
  }
3792
3646
  /**
3793
- * @param {Record<string, unknown>} attrs
3794
- * @param {string} [css_hash]
3795
- * @param {Record<string, boolean>} [classes]
3796
- * @param {Record<string, string>} [styles]
3797
- * @param {number} [flags]
3798
- * @returns {string}
3647
+ * Encountered asynchronous work while rendering synchronously.
3648
+ * @returns {never}
3799
3649
  */
3800
- function attributes(attrs, css_hash, classes, styles, flags = 0) {
3801
- if (styles) attrs.style = to_style(attrs.style, styles);
3802
- if (attrs.class) attrs.class = clsx$1(attrs.class);
3803
- if (css_hash || classes) attrs.class = to_class(attrs.class, css_hash, classes);
3804
- let attr_str = "";
3805
- let name;
3806
- const is_html = (flags & 1) === 0;
3807
- const lowercase = (flags & 2) === 0;
3808
- const is_input = (flags & 4) !== 0;
3809
- for (name of Object.keys(attrs)) {
3810
- if (typeof attrs[name] === "function") continue;
3811
- if (name[0] === "$" && name[1] === "$") continue;
3812
- if (name === "" || INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
3813
- var value = attrs[name];
3814
- var lower = name.toLowerCase();
3815
- if (lowercase) name = lower;
3816
- if (lower.length > 2 && lower.startsWith("on")) continue;
3817
- if (is_input) {
3818
- if (name === "defaultvalue" || name === "defaultchecked") {
3819
- name = name === "defaultvalue" ? "value" : "checked";
3820
- if (attrs[name]) continue;
3821
- }
3822
- }
3823
- attr_str += attr(name, value, is_html && is_boolean_attribute(name));
3824
- }
3825
- return attr_str;
3650
+ function await_invalid() {
3651
+ const error = /* @__PURE__ */ new Error(`await_invalid\nEncountered asynchronous work while rendering synchronously.\nhttps://svelte.dev/e/await_invalid`);
3652
+ error.name = "Svelte error";
3653
+ throw error;
3654
+ }
3655
+ /**
3656
+ * `<svelte:element this="%tag%">` is not a valid element name — the element will not be rendered
3657
+ * @param {string} tag
3658
+ * @returns {never}
3659
+ */
3660
+ function dynamic_element_invalid_tag(tag) {
3661
+ const error = /* @__PURE__ */ new Error(`dynamic_element_invalid_tag\n\`<svelte:element this="${tag}">\` is not a valid element name the element will not be rendered\nhttps://svelte.dev/e/dynamic_element_invalid_tag`);
3662
+ error.name = "Svelte error";
3663
+ throw error;
3664
+ }
3665
+ /**
3666
+ * The `html` property of server render results has been deprecated. Use `body` instead.
3667
+ * @returns {never}
3668
+ */
3669
+ function html_deprecated() {
3670
+ const error = /* @__PURE__ */ new Error(`html_deprecated\nThe \`html\` property of server render results has been deprecated. Use \`body\` instead.\nhttps://svelte.dev/e/html_deprecated`);
3671
+ error.name = "Svelte error";
3672
+ throw error;
3673
+ }
3674
+ /**
3675
+ * Failed to serialize `hydratable` data for key `%key%`.
3676
+ *
3677
+ * `hydratable` can serialize anything [`uneval` from `devalue`](https://npmjs.com/package/uneval) can, plus Promises.
3678
+ *
3679
+ * Cause:
3680
+ * %stack%
3681
+ * @param {string} key
3682
+ * @param {string} stack
3683
+ * @returns {never}
3684
+ */
3685
+ function hydratable_serialization_failed(key, stack) {
3686
+ const error = /* @__PURE__ */ new Error(`hydratable_serialization_failed\nFailed to serialize \`hydratable\` data for key \`${key}\`.
3687
+
3688
+ \`hydratable\` can serialize anything [\`uneval\` from \`devalue\`](https://npmjs.com/package/uneval) can, plus Promises.
3689
+
3690
+ Cause:
3691
+ ${stack}\nhttps://svelte.dev/e/hydratable_serialization_failed`);
3692
+ error.name = "Svelte error";
3693
+ throw error;
3694
+ }
3695
+ /**
3696
+ * `csp.nonce` was set while `csp.hash` was `true`. These options cannot be used simultaneously.
3697
+ * @returns {never}
3698
+ */
3699
+ function invalid_csp() {
3700
+ const error = /* @__PURE__ */ new Error(`invalid_csp\n\`csp.nonce\` was set while \`csp.hash\` was \`true\`. These options cannot be used simultaneously.\nhttps://svelte.dev/e/invalid_csp`);
3701
+ error.name = "Svelte error";
3702
+ throw error;
3703
+ }
3704
+ /**
3705
+ * The `idPrefix` option cannot include `--`.
3706
+ * @returns {never}
3707
+ */
3708
+ function invalid_id_prefix() {
3709
+ const error = /* @__PURE__ */ new Error(`invalid_id_prefix\nThe \`idPrefix\` option cannot include \`--\`.\nhttps://svelte.dev/e/invalid_id_prefix`);
3710
+ error.name = "Svelte error";
3711
+ throw error;
3712
+ }
3713
+ /**
3714
+ * `%name%(...)` is not available on the server
3715
+ * @param {string} name
3716
+ * @returns {never}
3717
+ */
3718
+ function lifecycle_function_unavailable(name) {
3719
+ const error = /* @__PURE__ */ new Error(`lifecycle_function_unavailable\n\`${name}(...)\` is not available on the server\nhttps://svelte.dev/e/lifecycle_function_unavailable`);
3720
+ error.name = "Svelte error";
3721
+ throw error;
3722
+ }
3723
+ /**
3724
+ * Could not resolve `render` context.
3725
+ * @returns {never}
3726
+ */
3727
+ function server_context_required() {
3728
+ const error = /* @__PURE__ */ new Error(`server_context_required\nCould not resolve \`render\` context.\nhttps://svelte.dev/e/server_context_required`);
3729
+ error.name = "Svelte error";
3730
+ throw error;
3731
+ }
3732
+ /** @import { SSRContext } from '#server' */
3733
+ /** @type {SSRContext | null} */
3734
+ var ssr_context = null;
3735
+ /** @param {SSRContext | null} v */
3736
+ function set_ssr_context(v) {
3737
+ ssr_context = v;
3738
+ }
3739
+ /**
3740
+ * @template T
3741
+ * @returns {[() => T, (context: T) => T]}
3742
+ * @since 5.40.0
3743
+ */
3744
+ function createContext() {
3745
+ const key = {};
3746
+ return [() => {
3747
+ if (!hasContext(key)) missing_context();
3748
+ return getContext(key);
3749
+ }, (context) => setContext(key, context)];
3826
3750
  }
3827
3751
  /**
3828
- * @param {Record<string, unknown>[]} props
3829
- * @returns {Record<string, unknown>}
3752
+ * @template T
3753
+ * @param {any} key
3754
+ * @returns {T}
3830
3755
  */
3831
- function spread_props(props) {
3832
- /** @type {Record<string, unknown>} */
3833
- const merged_props = {};
3834
- let key;
3835
- for (let i = 0; i < props.length; i++) {
3836
- const obj = props[i];
3837
- if (obj == null) continue;
3838
- for (key of Object.keys(obj)) {
3839
- const desc = Object.getOwnPropertyDescriptor(obj, key);
3840
- if (desc) Object.defineProperty(merged_props, key, desc);
3841
- else merged_props[key] = obj[key];
3842
- }
3843
- }
3844
- return merged_props;
3756
+ function getContext(key) {
3757
+ return get_or_init_context_map("getContext").get(key);
3845
3758
  }
3846
3759
  /**
3847
- * @param {unknown} value
3848
- * @returns {string}
3760
+ * @template T
3761
+ * @param {any} key
3762
+ * @param {T} context
3763
+ * @returns {T}
3849
3764
  */
3850
- function stringify(value) {
3851
- return typeof value === "string" ? value : value == null ? "" : value + "";
3765
+ function setContext(key, context) {
3766
+ get_or_init_context_map("setContext").set(key, context);
3767
+ return context;
3852
3768
  }
3853
3769
  /**
3854
- * @param {any} value
3855
- * @param {string | undefined} [hash]
3856
- * @param {Record<string, boolean>} [directives]
3770
+ * @param {any} key
3771
+ * @returns {boolean}
3857
3772
  */
3858
- function attr_class(value, hash, directives) {
3859
- var result = to_class(value, hash, directives);
3860
- return result ? ` class="${escape_html(result, true)}"` : "";
3773
+ function hasContext(key) {
3774
+ return get_or_init_context_map("hasContext").has(key);
3775
+ }
3776
+ /** @returns {Map<any, any>} */
3777
+ function getAllContexts() {
3778
+ return get_or_init_context_map("getAllContexts");
3861
3779
  }
3862
3780
  /**
3863
- * @param {any} value
3864
- * @param {Record<string,any>|[Record<string,any>,Record<string,any>]} [directives]
3781
+ * @param {string} name
3782
+ * @returns {Map<unknown, unknown>}
3865
3783
  */
3866
- function attr_style(value, directives) {
3867
- var result = to_style(value, directives);
3868
- return result ? ` style="${escape_html(result, true)}"` : "";
3784
+ function get_or_init_context_map(name) {
3785
+ if (ssr_context === null) lifecycle_outside_component(name);
3786
+ return ssr_context.c ??= new Map(get_parent_context(ssr_context) || void 0);
3869
3787
  }
3870
3788
  /**
3871
- * @template V
3872
- * @param {Record<string, [any, any, any]>} store_values
3873
- * @param {string} store_name
3874
- * @param {Store<V> | null | undefined} store
3875
- * @returns {V}
3789
+ * @param {Function} [fn]
3876
3790
  */
3877
- function store_get(store_values, store_name, store) {
3878
- if (store_name in store_values && store_values[store_name][0] === store) return store_values[store_name][2];
3879
- store_values[store_name]?.[1]();
3880
- store_values[store_name] = [
3881
- store,
3882
- null,
3883
- void 0
3884
- ];
3885
- const unsub = subscribe_to_store(
3886
- store,
3887
- /** @param {any} v */
3888
- (v) => store_values[store_name][2] = v
3889
- );
3890
- store_values[store_name][1] = unsub;
3891
- return store_values[store_name][2];
3791
+ function push(fn) {
3792
+ ssr_context = {
3793
+ p: ssr_context,
3794
+ c: null,
3795
+ r: null
3796
+ };
3892
3797
  }
3893
- /** @param {Record<string, [any, any, any]>} store_values */
3894
- function unsubscribe_stores(store_values) {
3895
- for (const store_name of Object.keys(store_values)) store_values[store_name][1]();
3798
+ function pop() {
3799
+ ssr_context = ssr_context.p;
3896
3800
  }
3897
3801
  /**
3898
- * Legacy mode: If the prop has a fallback and is bound in the
3899
- * parent component, propagate the fallback value upwards.
3900
- * @param {Record<string, unknown>} props_parent
3901
- * @param {Record<string, unknown>} props_now
3802
+ * @param {SSRContext} ssr_context
3803
+ * @returns {Map<unknown, unknown> | null}
3902
3804
  */
3903
- function bind_props(props_parent, props_now) {
3904
- for (const key of Object.keys(props_now)) {
3905
- const initial_value = props_parent[key];
3906
- const value = props_now[key];
3907
- if (initial_value === void 0 && value !== void 0 && Object.getOwnPropertyDescriptor(props_parent, key)?.set) props_parent[key] = value;
3805
+ function get_parent_context(ssr_context) {
3806
+ let parent = ssr_context.p;
3807
+ while (parent !== null) {
3808
+ const context_map = parent.c;
3809
+ if (context_map !== null) return context_map;
3810
+ parent = parent.p;
3908
3811
  }
3909
- }
3910
- /** @param {any} array_like_or_iterator */
3911
- function ensure_array_like(array_like_or_iterator) {
3912
- if (array_like_or_iterator) return array_like_or_iterator.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
3913
- return [];
3812
+ return null;
3914
3813
  }
3915
3814
  /**
3916
- * @template V
3917
- * @param {() => V} get_value
3815
+ * A `hydratable` value with key `%key%` was created, but at least part of it was not used during the render.
3816
+ *
3817
+ * The `hydratable` was initialized in:
3818
+ * %stack%
3819
+ * @param {string} key
3820
+ * @param {string} stack
3918
3821
  */
3919
- function once(get_value) {
3920
- let value = UNINITIALIZED;
3921
- return () => {
3922
- if (value === UNINITIALIZED) value = get_value();
3923
- return value;
3924
- };
3822
+ function unresolved_hydratable(key, stack) {
3823
+ console.warn(`https://svelte.dev/e/unresolved_hydratable`);
3824
+ }
3825
+ /** @import { AsyncLocalStorage } from 'node:async_hooks' */
3826
+ /** @import { RenderContext } from '#server' */
3827
+ /** @type {Promise<void> | null} */
3828
+ var current_render = null;
3829
+ /** @type {RenderContext | null} */
3830
+ var context = null;
3831
+ /** @returns {RenderContext} */
3832
+ function get_render_context() {
3833
+ const store = context ?? als?.getStore();
3834
+ if (!store) server_context_required();
3835
+ return store;
3925
3836
  }
3926
3837
  /**
3927
- * Create an unique ID
3928
- * @param {Renderer} renderer
3929
- * @returns {string}
3838
+ * @template T
3839
+ * @param {() => Promise<T>} fn
3840
+ * @returns {Promise<T>}
3930
3841
  */
3931
- function props_id(renderer) {
3932
- const uid = renderer.global.uid();
3933
- renderer.push("<!--$" + uid + "-->");
3934
- return uid;
3842
+ async function with_render_context(fn) {
3843
+ context = { hydratable: {
3844
+ lookup: /* @__PURE__ */ new Map(),
3845
+ comparisons: [],
3846
+ unresolved_promises: /* @__PURE__ */ new Map()
3847
+ } };
3848
+ if (in_webcontainer()) {
3849
+ const { promise, resolve } = deferred();
3850
+ const previous_render = current_render;
3851
+ current_render = promise;
3852
+ await previous_render;
3853
+ return fn().finally(resolve);
3854
+ }
3855
+ try {
3856
+ if (als === null) async_local_storage_unavailable();
3857
+ return als.run(context, fn);
3858
+ } finally {
3859
+ context = null;
3860
+ }
3935
3861
  }
3862
+ /** @type {AsyncLocalStorage<RenderContext | null> | null} */
3863
+ var als = null;
3864
+ /** @type {Promise<void> | null} */
3865
+ var als_import = null;
3936
3866
  /**
3937
- * @template T
3938
- * @param {()=>T} fn
3939
- * @returns {(new_value?: T) => (T | void)}
3867
+ *
3868
+ * @returns {Promise<void>}
3940
3869
  */
3941
- function derived(fn) {
3942
- const get_value = ssr_context === null ? fn : once(fn);
3943
- /** @type {T | undefined} */
3944
- let updated_value;
3945
- return function(new_value) {
3946
- if (arguments.length === 0) return updated_value ?? get_value();
3947
- updated_value = new_value;
3948
- return updated_value;
3949
- };
3870
+ function init_render_context() {
3871
+ als_import ??= import("node:async_hooks").then((hooks) => {
3872
+ als = new hooks.AsyncLocalStorage();
3873
+ }).then(noop, noop);
3874
+ return als_import;
3875
+ }
3876
+ function in_webcontainer() {
3877
+ return !!globalThis.process?.versions?.webcontainer;
3950
3878
  }
3951
3879
  var text_encoder;
3952
3880
  var crypto;
@@ -4208,10 +4136,10 @@ var Renderer = class Renderer {
4208
4136
  * @returns {void}
4209
4137
  */
4210
4138
  component(fn, component_fn) {
4211
- push$1(component_fn);
4139
+ push(component_fn);
4212
4140
  const child = this.child(fn);
4213
4141
  child.#is_component_body = true;
4214
- pop$1();
4142
+ pop();
4215
4143
  }
4216
4144
  /**
4217
4145
  * @param {Record<string, any>} attrs
@@ -4652,7 +4580,201 @@ var SSRState = class {
4652
4580
  this.#title.value = value;
4653
4581
  }
4654
4582
  }
4655
- };
4583
+ };
4584
+ var INVALID_ATTR_NAME_CHAR_REGEX = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
4585
+ /**
4586
+ * @param {Renderer} renderer
4587
+ * @param {string} tag
4588
+ * @param {() => void} attributes_fn
4589
+ * @param {() => void} children_fn
4590
+ * @returns {void}
4591
+ */
4592
+ function element(renderer, tag, attributes_fn = noop, children_fn = noop) {
4593
+ renderer.push("<!---->");
4594
+ if (tag) {
4595
+ if (!REGEX_VALID_TAG_NAME.test(tag)) dynamic_element_invalid_tag(tag);
4596
+ renderer.push(`<${tag}`);
4597
+ attributes_fn();
4598
+ renderer.push(`>`);
4599
+ if (!is_void(tag)) {
4600
+ children_fn();
4601
+ if (!is_raw_text_element(tag)) renderer.push(EMPTY_COMMENT);
4602
+ renderer.push(`</${tag}>`);
4603
+ }
4604
+ }
4605
+ renderer.push("<!---->");
4606
+ }
4607
+ /**
4608
+ * Only available on the server and when compiling with the `server` option.
4609
+ * Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
4610
+ * @template {Record<string, any>} Props
4611
+ * @param {Component<Props> | ComponentType<SvelteComponent<Props>>} component
4612
+ * @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} [options]
4613
+ * @returns {RenderOutput}
4614
+ */
4615
+ function render(component, options = {}) {
4616
+ if (options.csp?.hash && options.csp.nonce) invalid_csp();
4617
+ return Renderer.render(component, options);
4618
+ }
4619
+ /**
4620
+ * @param {Record<string, unknown>} attrs
4621
+ * @param {string} [css_hash]
4622
+ * @param {Record<string, boolean>} [classes]
4623
+ * @param {Record<string, string>} [styles]
4624
+ * @param {number} [flags]
4625
+ * @returns {string}
4626
+ */
4627
+ function attributes(attrs, css_hash, classes, styles, flags = 0) {
4628
+ if (styles) attrs.style = to_style(attrs.style, styles);
4629
+ if (attrs.class) attrs.class = clsx$1(attrs.class);
4630
+ if (css_hash || classes) attrs.class = to_class(attrs.class, css_hash, classes);
4631
+ let attr_str = "";
4632
+ let name;
4633
+ const is_html = (flags & 1) === 0;
4634
+ const lowercase = (flags & 2) === 0;
4635
+ const is_input = (flags & 4) !== 0;
4636
+ for (name of Object.keys(attrs)) {
4637
+ if (typeof attrs[name] === "function") continue;
4638
+ if (name[0] === "$" && name[1] === "$") continue;
4639
+ if (name === "" || INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
4640
+ var value = attrs[name];
4641
+ var lower = name.toLowerCase();
4642
+ if (lowercase) name = lower;
4643
+ if (lower.length > 2 && lower.startsWith("on")) continue;
4644
+ if (is_input) {
4645
+ if (name === "defaultvalue" || name === "defaultchecked") {
4646
+ name = name === "defaultvalue" ? "value" : "checked";
4647
+ if (attrs[name]) continue;
4648
+ }
4649
+ }
4650
+ attr_str += attr(name, value, is_html && is_boolean_attribute(name));
4651
+ }
4652
+ return attr_str;
4653
+ }
4654
+ /**
4655
+ * @param {Record<string, unknown>[]} props
4656
+ * @returns {Record<string, unknown>}
4657
+ */
4658
+ function spread_props(props) {
4659
+ /** @type {Record<string, unknown>} */
4660
+ const merged_props = {};
4661
+ let key;
4662
+ for (let i = 0; i < props.length; i++) {
4663
+ const obj = props[i];
4664
+ if (obj == null) continue;
4665
+ for (key of Object.keys(obj)) {
4666
+ const desc = Object.getOwnPropertyDescriptor(obj, key);
4667
+ if (desc) Object.defineProperty(merged_props, key, desc);
4668
+ else merged_props[key] = obj[key];
4669
+ }
4670
+ }
4671
+ return merged_props;
4672
+ }
4673
+ /**
4674
+ * @param {unknown} value
4675
+ * @returns {string}
4676
+ */
4677
+ function stringify(value) {
4678
+ return typeof value === "string" ? value : value == null ? "" : value + "";
4679
+ }
4680
+ /**
4681
+ * @param {any} value
4682
+ * @param {string | undefined} [hash]
4683
+ * @param {Record<string, boolean>} [directives]
4684
+ */
4685
+ function attr_class(value, hash, directives) {
4686
+ var result = to_class(value, hash, directives);
4687
+ return result ? ` class="${escape_html(result, true)}"` : "";
4688
+ }
4689
+ /**
4690
+ * @param {any} value
4691
+ * @param {Record<string,any>|[Record<string,any>,Record<string,any>]} [directives]
4692
+ */
4693
+ function attr_style(value, directives) {
4694
+ var result = to_style(value, directives);
4695
+ return result ? ` style="${escape_html(result, true)}"` : "";
4696
+ }
4697
+ /**
4698
+ * @template V
4699
+ * @param {Record<string, [any, any, any]>} store_values
4700
+ * @param {string} store_name
4701
+ * @param {Store<V> | null | undefined} store
4702
+ * @returns {V}
4703
+ */
4704
+ function store_get(store_values, store_name, store) {
4705
+ if (store_name in store_values && store_values[store_name][0] === store) return store_values[store_name][2];
4706
+ store_values[store_name]?.[1]();
4707
+ store_values[store_name] = [
4708
+ store,
4709
+ null,
4710
+ void 0
4711
+ ];
4712
+ const unsub = subscribe_to_store(
4713
+ store,
4714
+ /** @param {any} v */
4715
+ (v) => store_values[store_name][2] = v
4716
+ );
4717
+ store_values[store_name][1] = unsub;
4718
+ return store_values[store_name][2];
4719
+ }
4720
+ /** @param {Record<string, [any, any, any]>} store_values */
4721
+ function unsubscribe_stores(store_values) {
4722
+ for (const store_name of Object.keys(store_values)) store_values[store_name][1]();
4723
+ }
4724
+ /**
4725
+ * Legacy mode: If the prop has a fallback and is bound in the
4726
+ * parent component, propagate the fallback value upwards.
4727
+ * @param {Record<string, unknown>} props_parent
4728
+ * @param {Record<string, unknown>} props_now
4729
+ */
4730
+ function bind_props(props_parent, props_now) {
4731
+ for (const key of Object.keys(props_now)) {
4732
+ const initial_value = props_parent[key];
4733
+ const value = props_now[key];
4734
+ if (initial_value === void 0 && value !== void 0 && Object.getOwnPropertyDescriptor(props_parent, key)?.set) props_parent[key] = value;
4735
+ }
4736
+ }
4737
+ /** @param {any} array_like_or_iterator */
4738
+ function ensure_array_like(array_like_or_iterator) {
4739
+ if (array_like_or_iterator) return array_like_or_iterator.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
4740
+ return [];
4741
+ }
4742
+ /**
4743
+ * @template V
4744
+ * @param {() => V} get_value
4745
+ */
4746
+ function once(get_value) {
4747
+ let value = UNINITIALIZED;
4748
+ return () => {
4749
+ if (value === UNINITIALIZED) value = get_value();
4750
+ return value;
4751
+ };
4752
+ }
4753
+ /**
4754
+ * Create an unique ID
4755
+ * @param {Renderer} renderer
4756
+ * @returns {string}
4757
+ */
4758
+ function props_id(renderer) {
4759
+ const uid = renderer.global.uid();
4760
+ renderer.push("<!--$" + uid + "-->");
4761
+ return uid;
4762
+ }
4763
+ /**
4764
+ * @template T
4765
+ * @param {()=>T} fn
4766
+ * @returns {(new_value?: T) => (T | void)}
4767
+ */
4768
+ function derived(fn) {
4769
+ const get_value = ssr_context === null ? fn : once(fn);
4770
+ /** @type {T | undefined} */
4771
+ let updated_value;
4772
+ return function(new_value) {
4773
+ if (arguments.length === 0) return updated_value ?? get_value();
4774
+ updated_value = new_value;
4775
+ return updated_value;
4776
+ };
4777
+ }
4656
4778
  /** @import { HydratableLookupEntry } from '#server' */
4657
4779
  /**
4658
4780
  * @template T
@@ -4778,127 +4900,6 @@ function fork() {
4778
4900
  async function tick() {}
4779
4901
  async function settled() {}
4780
4902
  //#endregion
4781
- //#region .svelte-kit/adapter-bun/chunks/events.js
4782
- /**
4783
- * Used on elements, as a map of event type -> event handler,
4784
- * and on events themselves to track which element handled an event
4785
- */
4786
- var event_symbol = Symbol("events");
4787
- /** @type {Set<string>} */
4788
- var all_registered_events = /* @__PURE__ */ new Set();
4789
- /** @type {Set<(events: Array<string>) => void>} */
4790
- var root_event_handles = /* @__PURE__ */ new Set();
4791
- /**
4792
- * @param {string} event_name
4793
- * @param {EventTarget} dom
4794
- * @param {EventListener} [handler]
4795
- * @param {AddEventListenerOptions} [options]
4796
- */
4797
- function create_event(event_name, dom, handler, options = {}) {
4798
- /**
4799
- * @this {EventTarget}
4800
- */
4801
- function target_handler(event) {
4802
- if (!options.capture) handle_event_propagation.call(dom, event);
4803
- if (!event.cancelBubble) return without_reactive_context(() => {
4804
- return handler?.call(this, event);
4805
- });
4806
- }
4807
- if (event_name.startsWith("pointer") || event_name.startsWith("touch") || event_name === "wheel") queue_micro_task(() => {
4808
- dom.addEventListener(event_name, target_handler, options);
4809
- });
4810
- else dom.addEventListener(event_name, target_handler, options);
4811
- return target_handler;
4812
- }
4813
- /**
4814
- * Attaches an event handler to an element and returns a function that removes the handler. Using this
4815
- * rather than `addEventListener` will preserve the correct order relative to handlers added declaratively
4816
- * (with attributes like `onclick`), which use event delegation for performance reasons
4817
- *
4818
- * @param {EventTarget} element
4819
- * @param {string} type
4820
- * @param {EventListener} handler
4821
- * @param {AddEventListenerOptions} [options]
4822
- */
4823
- function on(element, type, handler, options = {}) {
4824
- var target_handler = create_event(type, element, handler, options);
4825
- return () => {
4826
- element.removeEventListener(type, target_handler, options);
4827
- };
4828
- }
4829
- var last_propagated_event = null;
4830
- /**
4831
- * @this {EventTarget}
4832
- * @param {Event} event
4833
- * @returns {void}
4834
- */
4835
- function handle_event_propagation(event) {
4836
- var handler_element = this;
4837
- var owner_document = handler_element.ownerDocument;
4838
- var event_name = event.type;
4839
- var path = event.composedPath?.() || [];
4840
- var current_target = path[0] || event.target;
4841
- last_propagated_event = event;
4842
- var path_idx = 0;
4843
- var handled_at = last_propagated_event === event && event[event_symbol];
4844
- if (handled_at) {
4845
- var at_idx = path.indexOf(handled_at);
4846
- if (at_idx !== -1 && (handler_element === document || handler_element === window)) {
4847
- event[event_symbol] = handler_element;
4848
- return;
4849
- }
4850
- var handler_idx = path.indexOf(handler_element);
4851
- if (handler_idx === -1) return;
4852
- if (at_idx <= handler_idx) path_idx = at_idx;
4853
- }
4854
- current_target = path[path_idx] || event.target;
4855
- if (current_target === handler_element) return;
4856
- define_property(event, "currentTarget", {
4857
- configurable: true,
4858
- get() {
4859
- return current_target || owner_document;
4860
- }
4861
- });
4862
- var previous_reaction = active_reaction;
4863
- var previous_effect = active_effect;
4864
- set_active_reaction(null);
4865
- set_active_effect(null);
4866
- try {
4867
- /**
4868
- * @type {unknown}
4869
- */
4870
- var throw_error;
4871
- /**
4872
- * @type {unknown[]}
4873
- */
4874
- var other_errors = [];
4875
- while (current_target !== null) {
4876
- if (current_target === handler_element) break;
4877
- try {
4878
- var delegated = current_target[event_symbol]?.[event_name];
4879
- if (delegated != null && (!current_target.disabled || event.target === current_target)) delegated.call(current_target, event);
4880
- } catch (error) {
4881
- if (throw_error) other_errors.push(error);
4882
- else throw_error = error;
4883
- }
4884
- if (event.cancelBubble) break;
4885
- path_idx++;
4886
- current_target = path_idx < path.length ? path[path_idx] : null;
4887
- }
4888
- if (throw_error) {
4889
- for (let error of other_errors) queueMicrotask(() => {
4890
- throw error;
4891
- });
4892
- throw throw_error;
4893
- }
4894
- } finally {
4895
- event[event_symbol] = handler_element;
4896
- delete event.currentTarget;
4897
- set_active_reaction(previous_reaction);
4898
- set_active_effect(previous_effect);
4899
- }
4900
- }
4901
- //#endregion
4902
- export { onDestroy as $, flushSync as A, hydrating as B, define_property as C, clsx as Ct, ensure_array_like as D, element as E, get_first_child as F, is_passive_event as G, hydration_mismatch as H, get_next_sibling as I, is_valid_array_index as J, is_plain_object as K, get_type as L, get$1 as M, getAllContexts as N, enumerable_symbols as O, getContext as P, noop as Q, hasContext as R, create_text as S, writable as St, derived$1 as T, index_server_exports as U, hydration_failed as V, init_operations as W, mount as X, is_valid_array_len as Y, mutable_source as Z, boundary as _, to_array as _t, ATTACHMENT_KEY as a, render as at, component_context as b, unsubscribe_stores as bt, LEGACY_PROPS as c, setContext as ct, array_from as d, spread_props as dt, pop as et, attr as f, store_get as ft, bind_props as g, tick as gt, attributes as h, stringify_string as ht, root_event_handles as i, readonly as it, get as j, escape_html as k, MAX_ARRAY_INDEX as l, set_hydrate_node as lt, attr_style as m, stringify_key as mt, handle_event_propagation as n, push as nt, DevalueError as o, run as ot, attr_class as p, stringify as pt, is_primitive as q, on as r, readable as rt, HYDRATION_ERROR as s, set as st, all_registered_events as t, props_id as tt, active_effect as u, set_hydrating as ut, clear_text_content as v, uneval as vt, derived as w, component_root as x, valid_array_indices as xt, clsx$1 as y, unmount as yt, hydrate_node as z };
4903
+ export { set as $, get_next_sibling as A, mount as B, escape_html as C, valid_array_indices as Ct, getAllContexts as D, get$1 as E, hydration_failed as F, pop$1 as G, noop as H, hydration_mismatch as I, readable as J, props_id as K, index_server_exports as L, hasContext as M, hydrate_node as N, getContext as O, hydrating as P, run as Q, init_operations as R, ensure_array_like as S, uneval as St, get as T, on as U, mutable_source as V, onDestroy as W, render as X, readonly as Y, root_event_handles as Z, create_text as _, is_primitive as _t, all_registered_events as a, stringify as at, derived$1 as b, stringify_key as bt, attr_class as c, unmount as ct, bind_props as d, clsx as dt, setContext as et, boundary as f, DevalueError as ft, component_root as g, is_plain_object as gt, component_context as h, get_type as ht, active_effect as i, store_get as it, handle_event_propagation as j, get_first_child as k, attr_style as l, unsubscribe_stores as lt, clsx$1 as m, enumerable_symbols as mt, HYDRATION_ERROR as n, set_hydrating as nt, array_from as o, tick as ot, clear_text_content as p, MAX_ARRAY_INDEX as pt, push$1 as q, LEGACY_PROPS as r, spread_props as rt, attr as s, to_array as st, ATTACHMENT_KEY as t, set_hydrate_node as tt, attributes as u, writable as ut, define_property as v, is_valid_array_index as vt, flushSync as w, element as x, stringify_string as xt, derived as y, is_valid_array_len as yt, is_passive_event as z };
4903
4904
 
4904
- //# sourceMappingURL=events-Bhh2w-5S.js.map
4905
+ //# sourceMappingURL=index-server-BthNUqCR.js.map