@epic-web/workshop-app 6.90.6 → 6.90.8

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 (882) hide show
  1. package/build/client/assets/_-DKCgdcx3.js +2 -0
  2. package/build/client/assets/_baseUniq-Cm4Rnz6L.js +2 -0
  3. package/build/client/assets/_exerciseNumber-CmrUmbG0.js +2 -0
  4. package/build/client/assets/_exerciseNumber_._stepNumber.index-ceIzGNv8.js +2 -0
  5. package/build/client/assets/_exerciseNumber_.finished-DzvdV1xC.js +2 -0
  6. package/build/client/assets/_extra-UcAdNH_h.js +2 -0
  7. package/build/client/assets/_layout-CQs7c9Ft.js +2 -0
  8. package/build/client/assets/_layout-CsZ91NtU.js +2 -0
  9. package/build/client/assets/_layout-D9QSlZFL.js +2 -0
  10. package/build/client/assets/_layout-DAic4p6N.js +2 -0
  11. package/build/client/assets/_layout-DyDoZaV1.js +2 -0
  12. package/build/client/assets/abap-D5ewQfHd.js +2 -0
  13. package/build/client/assets/account-CnpIRsIk.js +2 -0
  14. package/build/client/assets/actionscript-3-CWsIfUJu.js +2 -0
  15. package/build/client/assets/ada-DV_LjOrF.js +2 -0
  16. package/build/client/assets/andromeeda-7s7h2YsC.js +2 -0
  17. package/build/client/assets/angular-html-CPh4FSFo.js +2 -0
  18. package/build/client/assets/angular-ts-iRoqDwGy.js +2 -0
  19. package/build/client/assets/apache-tm0C-U7M.js +2 -0
  20. package/build/client/assets/apex-iqLLoupO.js +2 -0
  21. package/build/client/assets/apl-qq-eS7BH.js +2 -0
  22. package/build/client/assets/app-Y_BspPs7.js +2 -0
  23. package/build/client/assets/applescript-DikInmF7.js +2 -0
  24. package/build/client/assets/ara-BvC6Npda.js +2 -0
  25. package/build/client/assets/arc-Cuu7lek9.js +2 -0
  26. package/build/client/assets/architectureDiagram-Q4EWVU46-DgaS7gPB.js +37 -0
  27. package/build/client/assets/asciidoc-DROQQQ5s.js +2 -0
  28. package/build/client/assets/asm-B_Do9x2L.js +2 -0
  29. package/build/client/assets/astro-ChI56fNn.js +2 -0
  30. package/build/client/assets/aurora-x-unF_uEH_.js +2 -0
  31. package/build/client/assets/awk-B-OAdCHl.js +2 -0
  32. package/build/client/assets/ayu-dark-BFJkoUag.js +2 -0
  33. package/build/client/assets/ayu-light-n7vhgiTw.js +2 -0
  34. package/build/client/assets/ayu-mirage-Dn4-C6St.js +2 -0
  35. package/build/client/assets/ballerina-LWXnW9xa.js +2 -0
  36. package/build/client/assets/bat-ugGX5G0S.js +2 -0
  37. package/build/client/assets/beancount-fJmf-1c0.js +2 -0
  38. package/build/client/assets/berry-ClKqBJ1K.js +2 -0
  39. package/build/client/assets/bibtex-CY5EAFRy.js +2 -0
  40. package/build/client/assets/bicep-BNz3-mj4.js +2 -0
  41. package/build/client/assets/blade-0C9a_U-b.js +2 -0
  42. package/build/client/assets/blockDiagram-DXYQGD6D-CSt2wPBH.js +133 -0
  43. package/build/client/assets/bsl-Bth6wA1C.js +2 -0
  44. package/build/client/assets/button-DmWLc7GO.js +2 -0
  45. package/build/client/assets/c-xYbtkmxh.js +2 -0
  46. package/build/client/assets/c3-88N3jXG-.js +2 -0
  47. package/build/client/assets/c4Diagram-AHTNJAMY-JW_K6Lx5.js +11 -0
  48. package/build/client/assets/cache-CjtuAJrA.js +2 -0
  49. package/build/client/assets/cadence-JXgkl75c.js +2 -0
  50. package/build/client/assets/cairo-DaqN6QY_.js +2 -0
  51. package/build/client/assets/catppuccin-frappe-DqagEqPM.js +2 -0
  52. package/build/client/assets/catppuccin-latte-C11LxpbX.js +2 -0
  53. package/build/client/assets/catppuccin-macchiato-JrU865yr.js +2 -0
  54. package/build/client/assets/catppuccin-mocha-BZV4Guod.js +2 -0
  55. package/build/client/assets/channel-DjN5Sp98.js +2 -0
  56. package/build/client/assets/chunk-4BX2VUAB-Cgkc4HAy.js +2 -0
  57. package/build/client/assets/chunk-4TB4RGXK-SZYZ3uCB.js +207 -0
  58. package/build/client/assets/chunk-55IACEB6-DUe4TMnO.js +2 -0
  59. package/build/client/assets/chunk-EDXVE4YY-C3xW8pgI.js +2 -0
  60. package/build/client/assets/chunk-FMBD7UC4-CGpFdoQp.js +16 -0
  61. package/build/client/assets/chunk-OYMX7WX6-Bl-CQuIW.js +232 -0
  62. package/build/client/assets/chunk-QUQL4437-Bk5mWTNV.js +27 -0
  63. package/build/client/assets/chunk-QZHKN3VN-DB_OD9Ks.js +2 -0
  64. package/build/client/assets/chunk-S54KXAEJ-BBceSXGY.js +6 -0
  65. package/build/client/assets/chunk-YZCP3GAM-DmdvfIiX.js +2 -0
  66. package/build/client/assets/clarity-3YsKE5qN.js +2 -0
  67. package/build/client/assets/classDiagram-6PBFFD2Q-DaBhA0Aw.js +2 -0
  68. package/build/client/assets/classDiagram-v2-HSJHXN6E-BaM2eAQP.js +2 -0
  69. package/build/client/assets/client-only-l86zGa0D.js +2 -0
  70. package/build/client/assets/clojure-DMjZcQGu.js +2 -0
  71. package/build/client/assets/clone-0tOv2Ztq.js +2 -0
  72. package/build/client/assets/cmake-BYUt8bqJ.js +2 -0
  73. package/build/client/assets/cobol-D-Aj6CM4.js +2 -0
  74. package/build/client/assets/codeowners-BhOAUfgd.js +2 -0
  75. package/build/client/assets/codeql-B0yhCydS.js +2 -0
  76. package/build/client/assets/coerce-xSfdDG9X.js +2 -0
  77. package/build/client/assets/coffee-O_DA-W8r.js +2 -0
  78. package/build/client/assets/command-palette-pdtZwQI1.js +2 -0
  79. package/build/client/assets/common-lisp-Bek94bUA.js +2 -0
  80. package/build/client/assets/coq-VcjFHPoq.js +2 -0
  81. package/build/client/assets/cose-bilkent-S5V4N54A-DCvgtaXN.js +2 -0
  82. package/build/client/assets/cpp-CBD26Dtq.js +2 -0
  83. package/build/client/assets/crystal-BMGUNYqV.js +2 -0
  84. package/build/client/assets/csharp-BFL8Tk20.js +2 -0
  85. package/build/client/assets/css-DTavCG1X.js +2 -0
  86. package/build/client/assets/csv-DYkiIRNe.js +2 -0
  87. package/build/client/assets/cue-K3_f2Hxr.js +2 -0
  88. package/build/client/assets/cypher-CNubrvDq.js +2 -0
  89. package/build/client/assets/cytoscape.esm-B3lZqmzD.js +322 -0
  90. package/build/client/assets/d-CAT-mpJA.js +2 -0
  91. package/build/client/assets/dagre-KV5264BT-DjNUM1rF.js +5 -0
  92. package/build/client/assets/dark-plus-2CP2V-w-.js +2 -0
  93. package/build/client/assets/dart-BWLA5LK2.js +2 -0
  94. package/build/client/assets/dax-BC7wT8qY.js +2 -0
  95. package/build/client/assets/db-B2hKHnOy.js +2 -0
  96. package/build/client/assets/defaultLocale-CzfxHptf.js +2 -0
  97. package/build/client/assets/desktop-Tp5CFYzM.js +2 -0
  98. package/build/client/assets/diagram-5BDNPKRD-DdZnhdGp.js +11 -0
  99. package/build/client/assets/diagram-G4DWMVQ6-8nzD_oBv.js +25 -0
  100. package/build/client/assets/diagram-MMDJMWI5-BbmiCoU4.js +44 -0
  101. package/build/client/assets/diagram-TYMM5635-DGtNusWz.js +25 -0
  102. package/build/client/assets/dialog-_lwif3-P.js +6 -0
  103. package/build/client/assets/diff-CoUhk4Mm.js +2 -0
  104. package/build/client/assets/diff-D52Csblu.js +1893 -0
  105. package/build/client/assets/diff-DkyAzjU9.js +2 -0
  106. package/build/client/assets/discord-Cf3alk2-.js +2 -0
  107. package/build/client/assets/discord-mdwq4OUx.js +2 -0
  108. package/build/client/assets/docker-DZQtNg3A.js +2 -0
  109. package/build/client/assets/dotenv-BcFBJu3Y.js +2 -0
  110. package/build/client/assets/dracula-CIoOEbbf.js +2 -0
  111. package/build/client/assets/dracula-soft-jeZ_i7Pk.js +2 -0
  112. package/build/client/assets/dream-maker-DsnO-SJf.js +2 -0
  113. package/build/client/assets/edge-CcqxTchC.js +2 -0
  114. package/build/client/assets/elixir-B7Sm4hZr.js +2 -0
  115. package/build/client/assets/elm-Bq2j2ZBO.js +2 -0
  116. package/build/client/assets/emacs-lisp-CGJzDfm4.js +2 -0
  117. package/build/client/assets/entry.client-BdkThDMH.js +11 -0
  118. package/build/client/assets/epic-video-DND6tWuB.js +2 -0
  119. package/build/client/assets/epic-video-cgYkVC8P.js +3397 -0
  120. package/build/client/assets/erDiagram-SMLLAGMA--6o0EXvv.js +86 -0
  121. package/build/client/assets/erb-DFUyzErm.js +2 -0
  122. package/build/client/assets/erlang-OetEPgDu.js +2 -0
  123. package/build/client/assets/error-boundary-B0v-deKv.js +3 -0
  124. package/build/client/assets/error-boundary-nCLl-PMP.js +2 -0
  125. package/build/client/assets/everforest-dark-C5pUnEbE.js +2 -0
  126. package/build/client/assets/everforest-light-Crrp9yNE.js +2 -0
  127. package/build/client/assets/fennel-C5S7IHfH.js +2 -0
  128. package/build/client/assets/finished-TnPMac1r.js +2 -0
  129. package/build/client/assets/fish-C2ukJa9E.js +2 -0
  130. package/build/client/assets/flowDiagram-DWJPFMVM-DPTrwaeh.js +163 -0
  131. package/build/client/assets/fluent-CH5k8xtK.js +2 -0
  132. package/build/client/assets/format-tZQScBBa.js +2 -0
  133. package/build/client/assets/fortran-fixed-form-DusD5Vco.js +2 -0
  134. package/build/client/assets/fortran-free-form-BtjBxxMw.js +2 -0
  135. package/build/client/assets/fsharp-DkoBoM2n.js +2 -0
  136. package/build/client/assets/ganttDiagram-T4ZO3ILL-DcD4GNyU.js +293 -0
  137. package/build/client/assets/gdresource-E9k385az.js +2 -0
  138. package/build/client/assets/gdscript-2O4zzbmx.js +2 -0
  139. package/build/client/assets/gdshader-CZ0s7kOH.js +2 -0
  140. package/build/client/assets/genie-CqtcDbdb.js +2 -0
  141. package/build/client/assets/gherkin-B0Obp1d4.js +2 -0
  142. package/build/client/assets/git-commit-C4X-m1N-.js +2 -0
  143. package/build/client/assets/git-rebase-CiP_nEgn.js +2 -0
  144. package/build/client/assets/gitGraphDiagram-UUTBAWPF-DX0nMzsr.js +107 -0
  145. package/build/client/assets/github-dark-DJWPCg-a.js +2 -0
  146. package/build/client/assets/github-dark-default-DiaTde-C.js +2 -0
  147. package/build/client/assets/github-dark-dimmed-BeNboLMA.js +2 -0
  148. package/build/client/assets/github-dark-high-contrast-DmMXwzdh.js +2 -0
  149. package/build/client/assets/github-light-C7SrBbe8.js +2 -0
  150. package/build/client/assets/github-light-default-BrswBLYk.js +2 -0
  151. package/build/client/assets/github-light-high-contrast-DwC0UOZ3.js +2 -0
  152. package/build/client/assets/gleam-wg4mKS8j.js +2 -0
  153. package/build/client/assets/glimmer-js-CV8wU7wm.js +2 -0
  154. package/build/client/assets/glimmer-ts-DpRX0_jR.js +2 -0
  155. package/build/client/assets/glsl-6K55hIBw.js +2 -0
  156. package/build/client/assets/gn-BQF2EhwY.js +2 -0
  157. package/build/client/assets/gnuplot-nqTrQqZ1.js +2 -0
  158. package/build/client/assets/go-Duhq4hGQ.js +2 -0
  159. package/build/client/assets/graph-gr4E_PBr.js +2 -0
  160. package/build/client/assets/graphql-CTeP-Lhs.js +2 -0
  161. package/build/client/assets/groovy-BGZoMhnb.js +2 -0
  162. package/build/client/assets/gruvbox-dark-hard-FvjCnn9E.js +2 -0
  163. package/build/client/assets/gruvbox-dark-medium-D2M05mX2.js +2 -0
  164. package/build/client/assets/gruvbox-dark-soft-DigiwvUD.js +2 -0
  165. package/build/client/assets/gruvbox-light-hard-WyHOZdh5.js +2 -0
  166. package/build/client/assets/gruvbox-light-medium-DEibM4Qw.js +2 -0
  167. package/build/client/assets/gruvbox-light-soft-DGat_RtR.js +2 -0
  168. package/build/client/assets/guide-Ydwe2BR_.js +9 -0
  169. package/build/client/assets/hack-Drz0OpRx.js +2 -0
  170. package/build/client/assets/haml-B_jqKG0v.js +2 -0
  171. package/build/client/assets/handlebars-CRdHh-QE.js +2 -0
  172. package/build/client/assets/haskell-CuCoZ1si.js +2 -0
  173. package/build/client/assets/haxe-ByHkobsc.js +2 -0
  174. package/build/client/assets/hcl-B7JOPpCn.js +2 -0
  175. package/build/client/assets/hjson-D-V8zuoM.js +2 -0
  176. package/build/client/assets/hlsl-35GB8va2.js +2 -0
  177. package/build/client/assets/horizon-B8GyzOrH.js +2 -0
  178. package/build/client/assets/houston-Dq3jJbsC.js +2 -0
  179. package/build/client/assets/html-BLGEMyuG.js +2 -0
  180. package/build/client/assets/html-derivative-UZ0AQjn2.js +2 -0
  181. package/build/client/assets/http-Dk84piGO.js +2 -0
  182. package/build/client/assets/hurl-DKGyblZX.js +2 -0
  183. package/build/client/assets/hxml-DF6Y3B6Y.js +2 -0
  184. package/build/client/assets/hy-Cq8QqFrK.js +2 -0
  185. package/build/client/assets/imba-DLtXFjN_.js +2 -0
  186. package/build/client/assets/index-3NW97RO0.js +2 -0
  187. package/build/client/assets/index-B1NZUpeG.js +2 -0
  188. package/build/client/assets/index-BMoN_dto.js +83 -0
  189. package/build/client/assets/index-BXwgSP7v.js +42 -0
  190. package/build/client/assets/index-Bh-Wfbey.js +2 -0
  191. package/build/client/assets/index-CB-pz7tD.js +2 -0
  192. package/build/client/assets/index-CHOKiV8k.js +2 -0
  193. package/build/client/assets/index-CMpczx2M.js +2 -0
  194. package/build/client/assets/index-DTx9oY70.js +2 -0
  195. package/build/client/assets/index-DdsIcSIq.js +2 -0
  196. package/build/client/assets/index-FUtPosbM.js +2 -0
  197. package/build/client/assets/index-WKy3POam.js +2 -0
  198. package/build/client/assets/index.client-CWBVWFA0.js +500 -0
  199. package/build/client/assets/infoDiagram-42DDH7IO-CkhYG0uU.js +3 -0
  200. package/build/client/assets/ini-j6YgPqoR.js +2 -0
  201. package/build/client/assets/init-Bc7YD3ak.js +2 -0
  202. package/build/client/assets/ishikawaDiagram-UXIWVN3A-Dst19Pgi.js +71 -0
  203. package/build/client/assets/java-DaB0YAh-.js +2 -0
  204. package/build/client/assets/javascript-DFWZfmGm.js +2 -0
  205. package/build/client/assets/jinja-DASuSjTl.js +2 -0
  206. package/build/client/assets/jison-CwZFiM9A.js +2 -0
  207. package/build/client/assets/journeyDiagram-VCZTEJTY-wysKkvct.js +140 -0
  208. package/build/client/assets/json-HmJKv_6N.js +2 -0
  209. package/build/client/assets/json5-CLbzNsel.js +2 -0
  210. package/build/client/assets/jsonc-B7GdbWZS.js +2 -0
  211. package/build/client/assets/jsonl-DhqmGezg.js +2 -0
  212. package/build/client/assets/jsonnet-C9Jmjr7e.js +2 -0
  213. package/build/client/assets/jssm-DAtyNLIA.js +2 -0
  214. package/build/client/assets/jsx-COVJgGrq.js +2 -0
  215. package/build/client/assets/jsx-runtime-Cz3VZoLT.js +2 -0
  216. package/build/client/assets/julia-BhWYKNpI.js +2 -0
  217. package/build/client/assets/kanagawa-dragon-zNZmnsWb.js +2 -0
  218. package/build/client/assets/kanagawa-lotus-B0eSP1xP.js +2 -0
  219. package/build/client/assets/kanagawa-wave-RJVjAwiM.js +2 -0
  220. package/build/client/assets/kanban-definition-6JOO6SKY-CWYAPLTV.js +90 -0
  221. package/build/client/assets/katex-DprVSVAo.js +262 -0
  222. package/build/client/assets/kdl-CCsPagun.js +2 -0
  223. package/build/client/assets/kotlin-BprvGrIl.js +2 -0
  224. package/build/client/assets/kusto-eq1vSyWB.js +2 -0
  225. package/build/client/assets/l-XCTYVcuc.js +2 -0
  226. package/build/client/assets/laserwave-_gTp3NkC.js +2 -0
  227. package/build/client/assets/latex-DLs1Q6V4.js +2 -0
  228. package/build/client/assets/launch-editor-DOd0QsKY.js +2 -0
  229. package/build/client/assets/layout-CJGNwMjT.js +2 -0
  230. package/build/client/assets/lean-utVZbH9R.js +2 -0
  231. package/build/client/assets/less-Citp7eVj.js +2 -0
  232. package/build/client/assets/light-plus-CIg5UHSe.js +2 -0
  233. package/build/client/assets/linear-C7ar9Zts.js +2 -0
  234. package/build/client/assets/liquid-DcGD91HN.js +2 -0
  235. package/build/client/assets/llvm-CqwOkOl9.js +2 -0
  236. package/build/client/assets/loading-CSLpUmJp.js +2 -0
  237. package/build/client/assets/log-CUGKSjAB.js +2 -0
  238. package/build/client/assets/login-FRdHHfQr.js +2 -0
  239. package/build/client/assets/logo-Ch072w9Z.js +2 -0
  240. package/build/client/assets/lua-CPRYHACG.js +2 -0
  241. package/build/client/assets/luau-C9W6ZUc_.js +2 -0
  242. package/build/client/assets/make-H1-sAA0J.js +2 -0
  243. package/build/client/assets/manifest-9ac5445d.js +1 -0
  244. package/build/client/assets/markdown-CLQKw-jx.js +2 -0
  245. package/build/client/assets/marko-DhS9RguT.js +2 -0
  246. package/build/client/assets/material-theme-DR08jeWs.js +2 -0
  247. package/build/client/assets/material-theme-darker-CwQHu6Lj.js +2 -0
  248. package/build/client/assets/material-theme-lighter-DT0OT5Qg.js +2 -0
  249. package/build/client/assets/material-theme-ocean-LxyoVm1l.js +2 -0
  250. package/build/client/assets/material-theme-palenight-2WbXwszZ.js +2 -0
  251. package/build/client/assets/matlab-Wcsczd-x.js +2 -0
  252. package/build/client/assets/mdc-DA6oDHin.js +2 -0
  253. package/build/client/assets/mdx-DrqcXM8p.js +2 -0
  254. package/build/client/assets/mdx-wYHehWKI.js +3 -0
  255. package/build/client/assets/mermaid-DNWOx77w.js +2 -0
  256. package/build/client/assets/mermaid.core-xzqHhxYM.js +304 -0
  257. package/build/client/assets/min-CtNQbNo6.js +2 -0
  258. package/build/client/assets/min-dark-BR0Vb3az.js +2 -0
  259. package/build/client/assets/min-light-8e7eEc7w.js +2 -0
  260. package/build/client/assets/mindmap-definition-QFDTVHPH-CzZlRGO_.js +97 -0
  261. package/build/client/assets/mipsasm-Bn0072PP.js +2 -0
  262. package/build/client/assets/misc-1HmglU0Y.js +2 -0
  263. package/build/client/assets/mojo-eFW8dscl.js +2 -0
  264. package/build/client/assets/monokai-UzGnWKJt.js +2 -0
  265. package/build/client/assets/moonbit-DtNcPIX3.js +2 -0
  266. package/build/client/assets/move-SqXqnyNP.js +2 -0
  267. package/build/client/assets/narrat-CTokKg_R.js +2 -0
  268. package/build/client/assets/nav-chevrons-C2JShyMg.js +2 -0
  269. package/build/client/assets/nextflow-BLV8d4VO.js +2 -0
  270. package/build/client/assets/nginx-CIWQWwdB.js +2 -0
  271. package/build/client/assets/night-owl-CD64r7hr.js +2 -0
  272. package/build/client/assets/night-owl-light-GoQE7CsW.js +2 -0
  273. package/build/client/assets/nim-CI22sDy8.js +2 -0
  274. package/build/client/assets/nix-Bqm8FrCW.js +2 -0
  275. package/build/client/assets/nord-DRhfdUGI.js +2 -0
  276. package/build/client/assets/nushell-C-TCnZ5T.js +2 -0
  277. package/build/client/assets/objective-c-CQKPihw3.js +2 -0
  278. package/build/client/assets/objective-cpp-WzzpgES5.js +2 -0
  279. package/build/client/assets/ocaml-k8LNotYb.js +2 -0
  280. package/build/client/assets/odin-D9WF26jF.js +2 -0
  281. package/build/client/assets/offline-videos-BIFfkGYE.js +2 -0
  282. package/build/client/assets/onboarding-indicator-CPvRmhRm.js +2 -0
  283. package/build/client/assets/one-dark-pro-3WnA05Vk.js +2 -0
  284. package/build/client/assets/one-light-DyqdCyNC.js +2 -0
  285. package/build/client/assets/online-DooFFfXk.js +2 -0
  286. package/build/client/assets/openscad-DaJyKIUu.js +2 -0
  287. package/build/client/assets/ordinal-CvZlk7Cl.js +2 -0
  288. package/build/client/assets/pascal-DZBzB-AS.js +2 -0
  289. package/build/client/assets/pe-Dp-sTRBB.js +2 -0
  290. package/build/client/assets/perl-DVOmOsaZ.js +2 -0
  291. package/build/client/assets/php-yb43qG1k.js +2 -0
  292. package/build/client/assets/pieDiagram-DEJITSTG-KFvpigq7.js +31 -0
  293. package/build/client/assets/pierre-dark-vLUSjyRj.js +2 -0
  294. package/build/client/assets/pierre-light-D6h6TqIF.js +2 -0
  295. package/build/client/assets/pkl-BM4ekb3y.js +2 -0
  296. package/build/client/assets/plastic-DJjPLvdz.js +2 -0
  297. package/build/client/assets/playground-CBHmnzEP.js +2 -0
  298. package/build/client/assets/playground-window-Bwiip972.js +2 -0
  299. package/build/client/assets/plsql-DWLv8uui.js +2 -0
  300. package/build/client/assets/po-CoSEs6IQ.js +2 -0
  301. package/build/client/assets/poimandres-PrnBY95I.js +2 -0
  302. package/build/client/assets/polar-BASgW1RG.js +2 -0
  303. package/build/client/assets/popover-BOdsAJAL.js +2 -0
  304. package/build/client/assets/postcss-BwRDA7-8.js +2 -0
  305. package/build/client/assets/powerquery-DRFV_t3W.js +2 -0
  306. package/build/client/assets/powershell-D2hcyC-l.js +2 -0
  307. package/build/client/assets/preferences-s0MRDLxD.js +2 -0
  308. package/build/client/assets/preload-helper-DqKOuUMa.js +2 -0
  309. package/build/client/assets/presence-DTp99vBL.js +61 -0
  310. package/build/client/assets/preview-BECHXrLZ.js +2 -0
  311. package/build/client/assets/prisma-Bl-rO8Bu.js +2 -0
  312. package/build/client/assets/product-BxfbuGih.js +2 -0
  313. package/build/client/assets/progress-Dc0cO6aN.js +2 -0
  314. package/build/client/assets/progress-bar-C50d70X1.js +2 -0
  315. package/build/client/assets/prolog-D25l-V6d.js +2 -0
  316. package/build/client/assets/proto-rqfdM_T0.js +2 -0
  317. package/build/client/assets/pug-C1i7euuN.js +2 -0
  318. package/build/client/assets/puppet-C8VPYba0.js +2 -0
  319. package/build/client/assets/purescript-Di3vSeNo.js +2 -0
  320. package/build/client/assets/python-DEiPyL7k.js +2 -0
  321. package/build/client/assets/qml-CSeDIVlH.js +2 -0
  322. package/build/client/assets/qmldir-BaFq_HZG.js +2 -0
  323. package/build/client/assets/qss-FoW7rgLn.js +2 -0
  324. package/build/client/assets/quadrantDiagram-34T5L4WZ-BLFLwAFD.js +8 -0
  325. package/build/client/assets/r-C-eDnoAh.js +2 -0
  326. package/build/client/assets/racket-DdRNwa0D.js +2 -0
  327. package/build/client/assets/raku-Cvpb4qJP.js +2 -0
  328. package/build/client/assets/razor-C5XlOi0M.js +2 -0
  329. package/build/client/assets/react-error-boundary-qe-VHvdO.js +2 -0
  330. package/build/client/assets/red-BFhKBIzF.js +2 -0
  331. package/build/client/assets/reg-CCUvtTjJ.js +2 -0
  332. package/build/client/assets/regexp-khYCvY5X.js +2 -0
  333. package/build/client/assets/rel-DAxDkQVB.js +2 -0
  334. package/build/client/assets/requirementDiagram-MS252O5E-cK2xIHyl.js +85 -0
  335. package/build/client/assets/retrieval-practice-5ZsHmzmA.js +2 -0
  336. package/build/client/assets/revalidation-ws-BmJItKzL.js +2 -0
  337. package/build/client/assets/riscv-D3Il5G3N.js +2 -0
  338. package/build/client/assets/ron-CYBHoR6O.js +2 -0
  339. package/build/client/assets/root-DIlYFuid.js +3 -0
  340. package/build/client/assets/root-loader-Cp6duh51.js +2 -0
  341. package/build/client/assets/rose-pine-CSFZfsmk.js +2 -0
  342. package/build/client/assets/rose-pine-dawn-UbJmo2Ha.js +2 -0
  343. package/build/client/assets/rose-pine-moon-DTC0VlbH.js +2 -0
  344. package/build/client/assets/rosmsg-CGhgiwQC.js +2 -0
  345. package/build/client/assets/rst-dKOt_nuf.js +2 -0
  346. package/build/client/assets/ruby-WCd5p8H0.js +2 -0
  347. package/build/client/assets/rust-DAJO9xl8.js +2 -0
  348. package/build/client/assets/sankeyDiagram-XADWPNL6-DAj8pf-_.js +11 -0
  349. package/build/client/assets/sas-D0rRvldA.js +2 -0
  350. package/build/client/assets/sass-BvW_EmS-.js +2 -0
  351. package/build/client/assets/scala-BDXSObuu.js +2 -0
  352. package/build/client/assets/schemas-DlMzlhO7.js +41 -0
  353. package/build/client/assets/scheme-FChIYXNH.js +2 -0
  354. package/build/client/assets/scss-JXQLzm16.js +2 -0
  355. package/build/client/assets/sdbl-BUSxsUVY.js +2 -0
  356. package/build/client/assets/seo-DwzM0klT.js +2 -0
  357. package/build/client/assets/sequenceDiagram-FGHM5R23-4LlWcHqm.js +158 -0
  358. package/build/client/assets/set-playground-DGtRdqQD.js +2 -0
  359. package/build/client/assets/shaderlab-gJpAxpT_.js +2 -0
  360. package/build/client/assets/shellscript-Bi4kv3Uo.js +2 -0
  361. package/build/client/assets/shellsession-DWo1jH11.js +2 -0
  362. package/build/client/assets/slack-dark-CdNhrYI8.js +2 -0
  363. package/build/client/assets/slack-ochin-CCoDMkEe.js +2 -0
  364. package/build/client/assets/smalltalk-DWPNDcjL.js +2 -0
  365. package/build/client/assets/snazzy-light-DbraN51R.js +2 -0
  366. package/build/client/assets/solarized-dark-Bn2V1OnH.js +2 -0
  367. package/build/client/assets/solarized-light-D5DGInlL.js +2 -0
  368. package/build/client/assets/solidity-CL2JOhhz.js +2 -0
  369. package/build/client/assets/soy-DBO7gajD.js +2 -0
  370. package/build/client/assets/sparql-OjiB5K7w.js +2 -0
  371. package/build/client/assets/split-layout-DoXjlYpZ.js +2 -0
  372. package/build/client/assets/splunk-CCzhw8ml.js +2 -0
  373. package/build/client/assets/sql-ZwzyhspH.js +2 -0
  374. package/build/client/assets/ssh-config-DzXJC9PM.js +2 -0
  375. package/build/client/assets/stata-DxxdZoea.js +2 -0
  376. package/build/client/assets/stateDiagram-FHFEXIEX-CfZVgSe0.js +2 -0
  377. package/build/client/assets/stateDiagram-v2-QKLJ7IA2-Dla2nwhI.js +2 -0
  378. package/build/client/assets/status-indicator-t9h3Kvqe.js +2 -0
  379. package/build/client/assets/stylus-C8Upl1NN.js +2 -0
  380. package/build/client/assets/support-SSwqkQ3g.js +2 -0
  381. package/build/client/assets/surrealql-CcO4asES.js +2 -0
  382. package/build/client/assets/svelte-D2yvPmzI.js +2 -0
  383. package/build/client/assets/swift-BUdNpVLh.js +2 -0
  384. package/build/client/assets/synthwave-84-B8VlBOy4.js +2 -0
  385. package/build/client/assets/system-verilog-Bx5K-PNT.js +2 -0
  386. package/build/client/assets/systemd-CU9xteur.js +2 -0
  387. package/build/client/assets/talonscript-CKc7kWAM.js +2 -0
  388. package/build/client/assets/tasl-BMlNoAKG.js +2 -0
  389. package/build/client/assets/tcl-FRTvdz35.js +2 -0
  390. package/build/client/assets/templ-DT-YWb-Z.js +2 -0
  391. package/build/client/assets/terraform-09D4UfmJ.js +2 -0
  392. package/build/client/assets/test-D5pyPLD3.js +2 -0
  393. package/build/client/assets/tests-cpPrpZQE.js +4 -0
  394. package/build/client/assets/tex-DdIYiMeu.js +2 -0
  395. package/build/client/assets/timeline-definition-GMOUNBTQ-TFRpcd6S.js +121 -0
  396. package/build/client/assets/tokyo-night-CBbZ7q4v.js +2 -0
  397. package/build/client/assets/toml-Pr3S4GaI.js +2 -0
  398. package/build/client/assets/tooltip-Cnp3Kx9l.js +2 -0
  399. package/build/client/assets/ts-tags-D4lPDZLy.js +2 -0
  400. package/build/client/assets/tsv-BIZPtokL.js +2 -0
  401. package/build/client/assets/tsx-B0DtXfFy.js +2 -0
  402. package/build/client/assets/turtle-D2NwKd58.js +2 -0
  403. package/build/client/assets/twig-CYNHfn24.js +2 -0
  404. package/build/client/assets/typescript-HQw_5ars.js +2 -0
  405. package/build/client/assets/typespec-DUBFPxIN.js +2 -0
  406. package/build/client/assets/typst-CZEaUbva.js +2 -0
  407. package/build/client/assets/user-D3qTv8fX.js +2 -0
  408. package/build/client/assets/v-BHmokYaa.js +2 -0
  409. package/build/client/assets/vala-C2DuiYOf.js +2 -0
  410. package/build/client/assets/vb-C70DTqP9.js +2 -0
  411. package/build/client/assets/vennDiagram-DHZGUBPP-v5c65WOb.js +35 -0
  412. package/build/client/assets/verilog-AW-ecb80.js +2 -0
  413. package/build/client/assets/version-GBAckLSZ.js +2 -0
  414. package/build/client/assets/vesper-B7aygpNq.js +2 -0
  415. package/build/client/assets/vhdl-C0uhXb2A.js +2 -0
  416. package/build/client/assets/viml-iBdlE4wq.js +2 -0
  417. package/build/client/assets/vitesse-black-D3rNesuh.js +2 -0
  418. package/build/client/assets/vitesse-dark-DjjVr2m1.js +2 -0
  419. package/build/client/assets/vitesse-light-CD0tNtUf.js +2 -0
  420. package/build/client/assets/vue-DEVFahNH.js +2 -0
  421. package/build/client/assets/vue-html-BpGBOkgq.js +2 -0
  422. package/build/client/assets/vue-vine-DHKN9UzZ.js +2 -0
  423. package/build/client/assets/vyper-1ql6e4bT.js +2 -0
  424. package/build/client/assets/wardley-RL74JXVD-CHcwEz5l.js +163 -0
  425. package/build/client/assets/wardleyDiagram-NUSXRM2D-ChaMMfFN.js +21 -0
  426. package/build/client/assets/wasm-DK92ACjf.js +2 -0
  427. package/build/client/assets/wasm-zibjl-PT.js +2 -0
  428. package/build/client/assets/wenyan-ChVbdzrW.js +2 -0
  429. package/build/client/assets/wgsl-BUBXmjtV.js +2 -0
  430. package/build/client/assets/wikitext-CAKbyRE9.js +2 -0
  431. package/build/client/assets/wit-CdJbfVaj.js +2 -0
  432. package/build/client/assets/wolfram-57EYTwav.js +2 -0
  433. package/build/client/assets/workshop-config-D-OmO2Kq.js +2 -0
  434. package/build/client/assets/workspace-structure-BGCSKPfQ.js +2 -0
  435. package/build/client/assets/xml-CQM59BYf.js +2 -0
  436. package/build/client/assets/xsl-DLrpxE3o.js +2 -0
  437. package/build/client/assets/xychartDiagram-5P7HB3ND-CAagsDEa.js +8 -0
  438. package/build/client/assets/yaml-BS06KPrl.js +2 -0
  439. package/build/client/assets/zenscript-h_8mdzua.js +2 -0
  440. package/build/client/assets/zig-DJ_LfCAs.js +2 -0
  441. package/build/server/index.js +4 -4
  442. package/package.json +8 -8
  443. package/build/client/assets/_-ffRWfkRK.js +0 -2
  444. package/build/client/assets/_baseUniq-DWkqdhmR.js +0 -2
  445. package/build/client/assets/_exerciseNumber-Bj-h5Zi5.js +0 -2
  446. package/build/client/assets/_exerciseNumber_._stepNumber.index-DVomK2r1.js +0 -2
  447. package/build/client/assets/_exerciseNumber_.finished-B9k9JvmW.js +0 -2
  448. package/build/client/assets/_extra-oqnMsfjF.js +0 -2
  449. package/build/client/assets/_layout-B_45pI8g.js +0 -2
  450. package/build/client/assets/_layout-CKgtfKrt.js +0 -2
  451. package/build/client/assets/_layout-DG2L0YAC.js +0 -2
  452. package/build/client/assets/_layout-Droo6Krp.js +0 -2
  453. package/build/client/assets/_layout-iZ9UEkxS.js +0 -2
  454. package/build/client/assets/abap-8xpNE2uf.js +0 -2
  455. package/build/client/assets/account-Dg0y2t65.js +0 -2
  456. package/build/client/assets/actionscript-3-B5_mYHKy.js +0 -2
  457. package/build/client/assets/ada-DLYZWqHN.js +0 -2
  458. package/build/client/assets/andromeeda-BzUAwGEK.js +0 -2
  459. package/build/client/assets/angular-html-E5_wEHH2.js +0 -2
  460. package/build/client/assets/angular-ts-DP8rgVUO.js +0 -2
  461. package/build/client/assets/apache-COz5pag8.js +0 -2
  462. package/build/client/assets/apex-J5ZWxmAz.js +0 -2
  463. package/build/client/assets/apl-D-nfqOQT.js +0 -2
  464. package/build/client/assets/app-D27i9BXK.js +0 -2
  465. package/build/client/assets/applescript-Cyj7MWp9.js +0 -2
  466. package/build/client/assets/ara-dYQ8yvq6.js +0 -2
  467. package/build/client/assets/arc-Cd6dYJwo.js +0 -2
  468. package/build/client/assets/architectureDiagram-Q4EWVU46-BS8moN_T.js +0 -37
  469. package/build/client/assets/asciidoc-kLk06t_0.js +0 -2
  470. package/build/client/assets/asm-BQzmnNoc.js +0 -2
  471. package/build/client/assets/astro-v9NXsKbL.js +0 -2
  472. package/build/client/assets/aurora-x-Bi_LSHUr.js +0 -2
  473. package/build/client/assets/awk-DmUoHQrr.js +0 -2
  474. package/build/client/assets/ayu-dark-BjlfN32N.js +0 -2
  475. package/build/client/assets/ayu-light--jjDIteF.js +0 -2
  476. package/build/client/assets/ayu-mirage--pTJDVzy.js +0 -2
  477. package/build/client/assets/ballerina-CLRneHkt.js +0 -2
  478. package/build/client/assets/bat-pf1CIqHY.js +0 -2
  479. package/build/client/assets/beancount-CELiw_fI.js +0 -2
  480. package/build/client/assets/berry-JO92d33e.js +0 -2
  481. package/build/client/assets/bibtex-D-K1Jy2N.js +0 -2
  482. package/build/client/assets/bicep-DHvAxomH.js +0 -2
  483. package/build/client/assets/blade-Cwg-jlK7.js +0 -2
  484. package/build/client/assets/blockDiagram-DXYQGD6D-CxIaRyPa.js +0 -133
  485. package/build/client/assets/bsl-D-ETBUBs.js +0 -2
  486. package/build/client/assets/button-BZrOhnfE.js +0 -2
  487. package/build/client/assets/c-Y7mX2f8T.js +0 -2
  488. package/build/client/assets/c3-BjbBssR7.js +0 -2
  489. package/build/client/assets/c4Diagram-AHTNJAMY-DHKLyNM1.js +0 -11
  490. package/build/client/assets/cache-CuwQP4ZB.js +0 -2
  491. package/build/client/assets/cadence-DFR3Pl9i.js +0 -2
  492. package/build/client/assets/cairo-D-AC5JFA.js +0 -2
  493. package/build/client/assets/catppuccin-frappe-DILgpfgv.js +0 -2
  494. package/build/client/assets/catppuccin-latte-BPMrZSF7.js +0 -2
  495. package/build/client/assets/catppuccin-macchiato-D91OhEIP.js +0 -2
  496. package/build/client/assets/catppuccin-mocha-DwIFQbNc.js +0 -2
  497. package/build/client/assets/channel-B9HiWVIg.js +0 -2
  498. package/build/client/assets/chunk-4BX2VUAB-DiOK6nSr.js +0 -2
  499. package/build/client/assets/chunk-4TB4RGXK-BmuVgjYJ.js +0 -207
  500. package/build/client/assets/chunk-55IACEB6-DVki2EfA.js +0 -2
  501. package/build/client/assets/chunk-EDXVE4YY-Dq4viu-_.js +0 -2
  502. package/build/client/assets/chunk-EVOBXE3Y-C9rbaNlK.js +0 -27
  503. package/build/client/assets/chunk-FMBD7UC4-BIeP5o8w.js +0 -16
  504. package/build/client/assets/chunk-OYMX7WX6-CjGAnf_B.js +0 -232
  505. package/build/client/assets/chunk-QZHKN3VN-B4ocEIaX.js +0 -2
  506. package/build/client/assets/chunk-YQSHRJWW-D7Fu_OFX.js +0 -6
  507. package/build/client/assets/chunk-YZCP3GAM-BV4XytZ3.js +0 -2
  508. package/build/client/assets/clarity-BPmbfnSV.js +0 -2
  509. package/build/client/assets/classDiagram-6PBFFD2Q-BJrr-iU0.js +0 -2
  510. package/build/client/assets/classDiagram-v2-HSJHXN6E-Cw8g3u1w.js +0 -2
  511. package/build/client/assets/client-only-CUD7uQlK.js +0 -2
  512. package/build/client/assets/clojure-CeL8DYOf.js +0 -2
  513. package/build/client/assets/clone-B1ILNDeO.js +0 -2
  514. package/build/client/assets/cmake-DhktI_ws.js +0 -2
  515. package/build/client/assets/cobol-DMwEZ6Uw.js +0 -2
  516. package/build/client/assets/codeowners-Bb1MFuwn.js +0 -2
  517. package/build/client/assets/codeql-2qCfQjrC.js +0 -2
  518. package/build/client/assets/coerce-BhpdixZK.js +0 -2
  519. package/build/client/assets/coffee-R_7JD-pM.js +0 -2
  520. package/build/client/assets/command-palette-DwxbXpmE.js +0 -2
  521. package/build/client/assets/common-lisp-Bwlp-sI9.js +0 -2
  522. package/build/client/assets/coq-DVbqWdoB.js +0 -2
  523. package/build/client/assets/cose-bilkent-S5V4N54A-BHk_hUqk.js +0 -2
  524. package/build/client/assets/cpp-CbghCe9A.js +0 -2
  525. package/build/client/assets/crystal-3WSOg-4-.js +0 -2
  526. package/build/client/assets/csharp-BIvGHw5K.js +0 -2
  527. package/build/client/assets/css-DfRbsD8j.js +0 -2
  528. package/build/client/assets/csv-hdSkPGGX.js +0 -2
  529. package/build/client/assets/cue-CKqzZFPv.js +0 -2
  530. package/build/client/assets/cypher-DgGcg3do.js +0 -2
  531. package/build/client/assets/cytoscape.esm-Dfd5pjwH.js +0 -322
  532. package/build/client/assets/d-CgduuWd3.js +0 -2
  533. package/build/client/assets/dagre-KV5264BT-BjTj1WUO.js +0 -5
  534. package/build/client/assets/dark-plus-CButAU9n.js +0 -2
  535. package/build/client/assets/dart-DYDl6gFs.js +0 -2
  536. package/build/client/assets/dax-DuazVn-2.js +0 -2
  537. package/build/client/assets/db-CNLe78tj.js +0 -2
  538. package/build/client/assets/defaultLocale-pkrxi_Vf.js +0 -2
  539. package/build/client/assets/desktop-YQWGQO4S.js +0 -2
  540. package/build/client/assets/diagram-5BDNPKRD-C_mGcA55.js +0 -11
  541. package/build/client/assets/diagram-G4DWMVQ6-Bj01pXlI.js +0 -25
  542. package/build/client/assets/diagram-MMDJMWI5-C7MJmRdR.js +0 -44
  543. package/build/client/assets/diagram-TYMM5635-TeSVI_7s.js +0 -25
  544. package/build/client/assets/dialog-f30cWRIw.js +0 -6
  545. package/build/client/assets/diff-CFmVVuL9.js +0 -2
  546. package/build/client/assets/diff-CYxhVhNQ.js +0 -1893
  547. package/build/client/assets/diff-D6zHg7BN.js +0 -2
  548. package/build/client/assets/discord-Bxc44W0R.js +0 -2
  549. package/build/client/assets/discord-CHR0IwqA.js +0 -2
  550. package/build/client/assets/docker-ZdL8wdM_.js +0 -2
  551. package/build/client/assets/dotenv-T0p1x83Z.js +0 -2
  552. package/build/client/assets/dracula-CgD8kCv4.js +0 -2
  553. package/build/client/assets/dracula-soft-DmqUUf5s.js +0 -2
  554. package/build/client/assets/dream-maker-CRZzml0P.js +0 -2
  555. package/build/client/assets/edge-DrszevfY.js +0 -2
  556. package/build/client/assets/elixir-vepHNU5n.js +0 -2
  557. package/build/client/assets/elm-rF_i7i37.js +0 -2
  558. package/build/client/assets/emacs-lisp-DEMTbW4o.js +0 -2
  559. package/build/client/assets/entry.client-ScdadvkF.js +0 -11
  560. package/build/client/assets/epic-video-CJp08llB.js +0 -2
  561. package/build/client/assets/epic-video-DVhhaRRv.js +0 -3397
  562. package/build/client/assets/erDiagram-SMLLAGMA-O8Y5mxuM.js +0 -86
  563. package/build/client/assets/erb-BdAy8LfW.js +0 -2
  564. package/build/client/assets/erlang-CJMxJUUV.js +0 -2
  565. package/build/client/assets/error-boundary-0U8qFb0S.js +0 -2
  566. package/build/client/assets/error-boundary-KUWfSiBn.js +0 -3
  567. package/build/client/assets/everforest-dark-_TI5fWWG.js +0 -2
  568. package/build/client/assets/everforest-light-D-m1TywL.js +0 -2
  569. package/build/client/assets/fennel-wCiKVgQu.js +0 -2
  570. package/build/client/assets/finished-lEHN0mig.js +0 -2
  571. package/build/client/assets/fish-BN73Jsny.js +0 -2
  572. package/build/client/assets/flowDiagram-DWJPFMVM-kQf8Ihl_.js +0 -163
  573. package/build/client/assets/fluent-DOkALUKS.js +0 -2
  574. package/build/client/assets/format-mtEymuvm.js +0 -2
  575. package/build/client/assets/fortran-fixed-form-CD_Xj2pL.js +0 -2
  576. package/build/client/assets/fortran-free-form-Cr_qVsz1.js +0 -2
  577. package/build/client/assets/fsharp-BaFu76kg.js +0 -2
  578. package/build/client/assets/ganttDiagram-T4ZO3ILL-CPJrD_Fp.js +0 -293
  579. package/build/client/assets/gdresource-C2rkt36_.js +0 -2
  580. package/build/client/assets/gdscript-VUAKN1of.js +0 -2
  581. package/build/client/assets/gdshader-Cocp9Jc9.js +0 -2
  582. package/build/client/assets/genie-DT0sarRC.js +0 -2
  583. package/build/client/assets/gherkin-C0ydOh9X.js +0 -2
  584. package/build/client/assets/git-commit-B2PmKXLq.js +0 -2
  585. package/build/client/assets/git-rebase-CKo1gips.js +0 -2
  586. package/build/client/assets/gitGraphDiagram-UUTBAWPF-BR9bkENp.js +0 -107
  587. package/build/client/assets/github-dark-Corc0rgA.js +0 -2
  588. package/build/client/assets/github-dark-default-DvJILCHE.js +0 -2
  589. package/build/client/assets/github-dark-dimmed-DSVBLYeK.js +0 -2
  590. package/build/client/assets/github-dark-high-contrast-Dpb2Zo9o.js +0 -2
  591. package/build/client/assets/github-light-P_hlWvui.js +0 -2
  592. package/build/client/assets/github-light-default-Czt09fIY.js +0 -2
  593. package/build/client/assets/github-light-high-contrast-Cx4U38k-.js +0 -2
  594. package/build/client/assets/gleam-DLNv-rqs.js +0 -2
  595. package/build/client/assets/glimmer-js-IioI6Zr5.js +0 -2
  596. package/build/client/assets/glimmer-ts-Bf4zDS-9.js +0 -2
  597. package/build/client/assets/glsl-I8Wd2ddK.js +0 -2
  598. package/build/client/assets/gn-BdAi4DgO.js +0 -2
  599. package/build/client/assets/gnuplot-DUAQXw-h.js +0 -2
  600. package/build/client/assets/go-WgbmtKUD.js +0 -2
  601. package/build/client/assets/graph-DhdtqY4z.js +0 -2
  602. package/build/client/assets/graphql-iRn9ZE5J.js +0 -2
  603. package/build/client/assets/groovy-B25gxlmj.js +0 -2
  604. package/build/client/assets/gruvbox-dark-hard-CQ9rcquZ.js +0 -2
  605. package/build/client/assets/gruvbox-dark-medium-Bl4hCeg0.js +0 -2
  606. package/build/client/assets/gruvbox-dark-soft-CkAAwzH9.js +0 -2
  607. package/build/client/assets/gruvbox-light-hard-BjYrOBKe.js +0 -2
  608. package/build/client/assets/gruvbox-light-medium-Du1Wpl0l.js +0 -2
  609. package/build/client/assets/gruvbox-light-soft-BmxaNMG9.js +0 -2
  610. package/build/client/assets/guide-CCF7727J.js +0 -9
  611. package/build/client/assets/hack-BFVrIPOc.js +0 -2
  612. package/build/client/assets/haml-G92sbXiZ.js +0 -2
  613. package/build/client/assets/handlebars-BMFpNe3U.js +0 -2
  614. package/build/client/assets/haskell-BwKD0-AI.js +0 -2
  615. package/build/client/assets/haxe--RL-BA6b.js +0 -2
  616. package/build/client/assets/hcl-DTx0gdBd.js +0 -2
  617. package/build/client/assets/hjson-BOfZR0mM.js +0 -2
  618. package/build/client/assets/hlsl-BUdDB_Jv.js +0 -2
  619. package/build/client/assets/horizon-DJhq3KqZ.js +0 -2
  620. package/build/client/assets/houston-DVSJqRF7.js +0 -2
  621. package/build/client/assets/html-DAFs3joi.js +0 -2
  622. package/build/client/assets/html-derivative-DxYDI4_2.js +0 -2
  623. package/build/client/assets/http-9n-dGitB.js +0 -2
  624. package/build/client/assets/hurl-Cu5ebry_.js +0 -2
  625. package/build/client/assets/hxml-RHRlkFgd.js +0 -2
  626. package/build/client/assets/hy-Dlm__5QB.js +0 -2
  627. package/build/client/assets/imba-BU9PHwdg.js +0 -2
  628. package/build/client/assets/index-0BSt_2Qq.js +0 -2
  629. package/build/client/assets/index-2KtsVV3Q.js +0 -2
  630. package/build/client/assets/index-BOeHZU8o.js +0 -2
  631. package/build/client/assets/index-BPlzVvec.js +0 -42
  632. package/build/client/assets/index-C08tyxik.js +0 -2
  633. package/build/client/assets/index-CQj35bwX.js +0 -2
  634. package/build/client/assets/index-CiwEkDNK.js +0 -2
  635. package/build/client/assets/index-DDPKiKu3.js +0 -2
  636. package/build/client/assets/index-DIxTcZpS.js +0 -83
  637. package/build/client/assets/index-DXbSpGlq.js +0 -2
  638. package/build/client/assets/index-OqTkiVcB.js +0 -2
  639. package/build/client/assets/index-x0O_KRXj.js +0 -2
  640. package/build/client/assets/index.client-C-obkpZJ.js +0 -500
  641. package/build/client/assets/infoDiagram-42DDH7IO-D5_5U3EX.js +0 -3
  642. package/build/client/assets/ini-DKitJ4sV.js +0 -2
  643. package/build/client/assets/init-mpi31_Rt.js +0 -2
  644. package/build/client/assets/ishikawaDiagram-UXIWVN3A-_4wwdfJj.js +0 -71
  645. package/build/client/assets/java-BQfIZTH5.js +0 -2
  646. package/build/client/assets/javascript-CdH8esvq.js +0 -2
  647. package/build/client/assets/jinja-BgzW1dZT.js +0 -2
  648. package/build/client/assets/jison-CY83jp3J.js +0 -2
  649. package/build/client/assets/journeyDiagram-VCZTEJTY-DnfnKhfj.js +0 -140
  650. package/build/client/assets/json-BWPH1mFe.js +0 -2
  651. package/build/client/assets/json5-B16ULGpx.js +0 -2
  652. package/build/client/assets/jsonc-CUAcLcmz.js +0 -2
  653. package/build/client/assets/jsonl-DRnwfqGS.js +0 -2
  654. package/build/client/assets/jsonnet-BHmEbwH0.js +0 -2
  655. package/build/client/assets/jssm-70Il7iqB.js +0 -2
  656. package/build/client/assets/jsx-DDB6Rdwh.js +0 -2
  657. package/build/client/assets/jsx-runtime-BjGehehp.js +0 -2
  658. package/build/client/assets/julia-DcMeHdgg.js +0 -2
  659. package/build/client/assets/kanagawa-dragon-C1b2GvZ_.js +0 -2
  660. package/build/client/assets/kanagawa-lotus-HKWqouxF.js +0 -2
  661. package/build/client/assets/kanagawa-wave-C98RPPHh.js +0 -2
  662. package/build/client/assets/kanban-definition-6JOO6SKY-s35Sa7CH.js +0 -90
  663. package/build/client/assets/katex-BnzIjos5.js +0 -262
  664. package/build/client/assets/kdl-CN3mBQsu.js +0 -2
  665. package/build/client/assets/kotlin-um8ua3sm.js +0 -2
  666. package/build/client/assets/kusto-BJIH6f7b.js +0 -2
  667. package/build/client/assets/l-Cs30f2vq.js +0 -2
  668. package/build/client/assets/laserwave-CqPil2o3.js +0 -2
  669. package/build/client/assets/latex-B9AebqLQ.js +0 -2
  670. package/build/client/assets/launch-editor-DUZo5CGn.js +0 -2
  671. package/build/client/assets/layout-Bs_D8N3W.js +0 -2
  672. package/build/client/assets/lean-Dn9TcuDN.js +0 -2
  673. package/build/client/assets/less-BXSKKoPJ.js +0 -2
  674. package/build/client/assets/light-plus-CvfEqFGe.js +0 -2
  675. package/build/client/assets/linear-DqmW_a3Q.js +0 -2
  676. package/build/client/assets/liquid-BPblK9Qq.js +0 -2
  677. package/build/client/assets/llvm-DgecM7gE.js +0 -2
  678. package/build/client/assets/loading-D6-zfbvC.js +0 -2
  679. package/build/client/assets/log-DQat2HRc.js +0 -2
  680. package/build/client/assets/login-BRXkPLDS.js +0 -2
  681. package/build/client/assets/logo-CsUTRxtP.js +0 -2
  682. package/build/client/assets/lua-jmLFeOY3.js +0 -2
  683. package/build/client/assets/luau-BoBUWcg7.js +0 -2
  684. package/build/client/assets/make-BAFrrAjy.js +0 -2
  685. package/build/client/assets/manifest-d2274206.js +0 -1
  686. package/build/client/assets/markdown-t1r1N6Qw.js +0 -2
  687. package/build/client/assets/marko-CsiMRYK8.js +0 -2
  688. package/build/client/assets/material-theme-BWef2O-2.js +0 -2
  689. package/build/client/assets/material-theme-darker-BKbl1GKO.js +0 -2
  690. package/build/client/assets/material-theme-lighter-BVVDFoOT.js +0 -2
  691. package/build/client/assets/material-theme-ocean-CMeIXCLp.js +0 -2
  692. package/build/client/assets/material-theme-palenight-DQyLIjkf.js +0 -2
  693. package/build/client/assets/matlab-D6736jtu.js +0 -2
  694. package/build/client/assets/mdc-D-tDBSdS.js +0 -2
  695. package/build/client/assets/mdx-D982awoB.js +0 -2
  696. package/build/client/assets/mdx-bQO8mevj.js +0 -3
  697. package/build/client/assets/mermaid-BfXbL6bj.js +0 -2
  698. package/build/client/assets/mermaid.core-BHbHcFkC.js +0 -304
  699. package/build/client/assets/min-DZk7Xj70.js +0 -2
  700. package/build/client/assets/min-dark-DB9x7E03.js +0 -2
  701. package/build/client/assets/min-light-Dm5OiJHG.js +0 -2
  702. package/build/client/assets/mindmap-definition-QFDTVHPH-CmxO8rCq.js +0 -97
  703. package/build/client/assets/mipsasm-Q8saXQRL.js +0 -2
  704. package/build/client/assets/misc-DDl-_Lmh.js +0 -2
  705. package/build/client/assets/mojo-Ct2YXZPk.js +0 -2
  706. package/build/client/assets/monokai-CcnZhaYe.js +0 -2
  707. package/build/client/assets/moonbit-CSZEhg5j.js +0 -2
  708. package/build/client/assets/move-CLBRbtAj.js +0 -2
  709. package/build/client/assets/narrat-C5AV-lGC.js +0 -2
  710. package/build/client/assets/nav-chevrons-Zp9ly_z6.js +0 -2
  711. package/build/client/assets/nextflow-DpLOh0K5.js +0 -2
  712. package/build/client/assets/nginx-BOcUzYJD.js +0 -2
  713. package/build/client/assets/night-owl-Cic8oJCi.js +0 -2
  714. package/build/client/assets/night-owl-light-DRw4t4I0.js +0 -2
  715. package/build/client/assets/nim-BlSY79b6.js +0 -2
  716. package/build/client/assets/nix-BGNKPstR.js +0 -2
  717. package/build/client/assets/nord-DfQi39If.js +0 -2
  718. package/build/client/assets/nushell-6NiDoemw.js +0 -2
  719. package/build/client/assets/objective-c-DgB7_zDb.js +0 -2
  720. package/build/client/assets/objective-cpp-DADFqYoj.js +0 -2
  721. package/build/client/assets/ocaml-BHPNp9Y_.js +0 -2
  722. package/build/client/assets/odin-BvdYH5Og.js +0 -2
  723. package/build/client/assets/offline-videos-QQ61vI44.js +0 -2
  724. package/build/client/assets/onboarding-indicator-CGlgNa6x.js +0 -2
  725. package/build/client/assets/one-dark-pro-6NhYCf6f.js +0 -2
  726. package/build/client/assets/one-light-BI73EdOh.js +0 -2
  727. package/build/client/assets/online-DZoAhvon.js +0 -2
  728. package/build/client/assets/openscad-ChFqWp6f.js +0 -2
  729. package/build/client/assets/ordinal-BAO4IIld.js +0 -2
  730. package/build/client/assets/pascal-BSU0A0b1.js +0 -2
  731. package/build/client/assets/pe-pXj7Imct.js +0 -2
  732. package/build/client/assets/perl-CiPLVfG7.js +0 -2
  733. package/build/client/assets/php-DWOwMCjq.js +0 -2
  734. package/build/client/assets/pieDiagram-DEJITSTG-BZO391Eo.js +0 -31
  735. package/build/client/assets/pierre-dark-D9O-tOLb.js +0 -2
  736. package/build/client/assets/pierre-light-hbokjghU.js +0 -2
  737. package/build/client/assets/pkl-DhB9ATTv.js +0 -2
  738. package/build/client/assets/plastic-CmVY7g_B.js +0 -2
  739. package/build/client/assets/playground-iT1xgtQn.js +0 -2
  740. package/build/client/assets/playground-window-BkNT27jF.js +0 -2
  741. package/build/client/assets/plsql-ClCbm7xi.js +0 -2
  742. package/build/client/assets/po-CKXktKEW.js +0 -2
  743. package/build/client/assets/poimandres-CdTdqkx1.js +0 -2
  744. package/build/client/assets/polar-BMDTxLQz.js +0 -2
  745. package/build/client/assets/popover-DpysbSLK.js +0 -2
  746. package/build/client/assets/postcss-CwyZJCU9.js +0 -2
  747. package/build/client/assets/powerquery-CmbTTmsK.js +0 -2
  748. package/build/client/assets/powershell-DhvlFO0_.js +0 -2
  749. package/build/client/assets/preferences-BQKUtmsq.js +0 -2
  750. package/build/client/assets/preload-helper-BL6dGT1F.js +0 -2
  751. package/build/client/assets/presence-C04QnUyq.js +0 -61
  752. package/build/client/assets/preview-Dh3HAT9q.js +0 -2
  753. package/build/client/assets/prisma-CjoNUdYs.js +0 -2
  754. package/build/client/assets/product-BmHxiDnq.js +0 -2
  755. package/build/client/assets/progress-bar-CR8Ai6a0.js +0 -2
  756. package/build/client/assets/progress-f-X-25nU.js +0 -2
  757. package/build/client/assets/prolog-CQRlpqeI.js +0 -2
  758. package/build/client/assets/proto-DGzZI8SR.js +0 -2
  759. package/build/client/assets/pug-DUoBGuIY.js +0 -2
  760. package/build/client/assets/puppet-Ds_dBVh3.js +0 -2
  761. package/build/client/assets/purescript-41XdRWYs.js +0 -2
  762. package/build/client/assets/python-BMS9g5KW.js +0 -2
  763. package/build/client/assets/qml-CrltJH9q.js +0 -2
  764. package/build/client/assets/qmldir-CN9lvQHY.js +0 -2
  765. package/build/client/assets/qss-vDsDkOJp.js +0 -2
  766. package/build/client/assets/quadrantDiagram-34T5L4WZ-C6F6jAyi.js +0 -8
  767. package/build/client/assets/r-B_XuO_JW.js +0 -2
  768. package/build/client/assets/racket-DcqPG0_4.js +0 -2
  769. package/build/client/assets/raku-Vbod_QG1.js +0 -2
  770. package/build/client/assets/razor-BNdEZS2d.js +0 -2
  771. package/build/client/assets/react-error-boundary-DQb3WqZm.js +0 -2
  772. package/build/client/assets/red-C_QuTpvq.js +0 -2
  773. package/build/client/assets/reg-304-P1N2.js +0 -2
  774. package/build/client/assets/regexp-C44cFJEx.js +0 -2
  775. package/build/client/assets/rel-TmPF5io9.js +0 -2
  776. package/build/client/assets/requirementDiagram-MS252O5E-DHlrGq61.js +0 -85
  777. package/build/client/assets/retrieval-practice-D72eE2Wu.js +0 -2
  778. package/build/client/assets/revalidation-ws-npaB4Q5O.js +0 -2
  779. package/build/client/assets/riscv-Bwf3PgCd.js +0 -2
  780. package/build/client/assets/ron-CDKFthgq.js +0 -2
  781. package/build/client/assets/root-BhKSGxur.js +0 -3
  782. package/build/client/assets/root-loader-N2ogcY7A.js +0 -2
  783. package/build/client/assets/rose-pine-CXlRGLPN.js +0 -2
  784. package/build/client/assets/rose-pine-dawn-D5kYEaMx.js +0 -2
  785. package/build/client/assets/rose-pine-moon-BFjjew9N.js +0 -2
  786. package/build/client/assets/rosmsg-1EIoVjuf.js +0 -2
  787. package/build/client/assets/rst-BHqaP3sK.js +0 -2
  788. package/build/client/assets/ruby-D_GbY8NW.js +0 -2
  789. package/build/client/assets/rust-BgRJs6ZT.js +0 -2
  790. package/build/client/assets/sankeyDiagram-XADWPNL6-CWAw5aGs.js +0 -11
  791. package/build/client/assets/sas-C2U0xklt.js +0 -2
  792. package/build/client/assets/sass-DolagbLm.js +0 -2
  793. package/build/client/assets/scala-CklFCmpw.js +0 -2
  794. package/build/client/assets/schemas-Dc0Bmuzl.js +0 -41
  795. package/build/client/assets/scheme-CdXCA9j6.js +0 -2
  796. package/build/client/assets/scss-CYhJPHQO.js +0 -2
  797. package/build/client/assets/sdbl-CaDAOy3P.js +0 -2
  798. package/build/client/assets/seo-SmYgRm7h.js +0 -2
  799. package/build/client/assets/sequenceDiagram-FGHM5R23-Di4RJ5rL.js +0 -158
  800. package/build/client/assets/set-playground-CPAZDLlm.js +0 -2
  801. package/build/client/assets/shaderlab-n0FESknj.js +0 -2
  802. package/build/client/assets/shellscript-BLXq_QmQ.js +0 -2
  803. package/build/client/assets/shellsession-CF50ppuW.js +0 -2
  804. package/build/client/assets/slack-dark-CSO2SIJm.js +0 -2
  805. package/build/client/assets/slack-ochin-C6h2TTHw.js +0 -2
  806. package/build/client/assets/smalltalk-CHdYKbyD.js +0 -2
  807. package/build/client/assets/snazzy-light-Bx0KDZIa.js +0 -2
  808. package/build/client/assets/solarized-dark-CM2p3rnx.js +0 -2
  809. package/build/client/assets/solarized-light-t2zzqPhZ.js +0 -2
  810. package/build/client/assets/solidity-BB4owxoj.js +0 -2
  811. package/build/client/assets/soy-DOyvl0MN.js +0 -2
  812. package/build/client/assets/sparql-Ac7t2GYj.js +0 -2
  813. package/build/client/assets/split-layout-B_VdlD4U.js +0 -2
  814. package/build/client/assets/splunk-Cm83EDof.js +0 -2
  815. package/build/client/assets/sql-XhHjjB-k.js +0 -2
  816. package/build/client/assets/ssh-config-BfRZiFqp.js +0 -2
  817. package/build/client/assets/stata-CccVTH-3.js +0 -2
  818. package/build/client/assets/stateDiagram-FHFEXIEX-BQRuNAke.js +0 -2
  819. package/build/client/assets/stateDiagram-v2-QKLJ7IA2-5ocLt98r.js +0 -2
  820. package/build/client/assets/status-indicator-Kd94fH2E.js +0 -2
  821. package/build/client/assets/stylus-4MIP8tdP.js +0 -2
  822. package/build/client/assets/support-BQRedXX2.js +0 -2
  823. package/build/client/assets/surrealql-O9GK4Hay.js +0 -2
  824. package/build/client/assets/svelte-DQe8Nwah.js +0 -2
  825. package/build/client/assets/swift-37h0MXK7.js +0 -2
  826. package/build/client/assets/synthwave-84-Cf-GHiWI.js +0 -2
  827. package/build/client/assets/system-verilog-BU6hbTS6.js +0 -2
  828. package/build/client/assets/systemd-BCIQGXA7.js +0 -2
  829. package/build/client/assets/talonscript-CtW6IWz-.js +0 -2
  830. package/build/client/assets/tasl-D93QXLPG.js +0 -2
  831. package/build/client/assets/tcl-WSCDJvma.js +0 -2
  832. package/build/client/assets/templ-JeRmS2yt.js +0 -2
  833. package/build/client/assets/terraform-1eNURCWP.js +0 -2
  834. package/build/client/assets/test-C8v4sldk.js +0 -2
  835. package/build/client/assets/tests-fReESF4a.js +0 -4
  836. package/build/client/assets/tex-CGn9s0dY.js +0 -2
  837. package/build/client/assets/timeline-definition-GMOUNBTQ-C0Mm9ej5.js +0 -121
  838. package/build/client/assets/tokyo-night-B_nh7EVH.js +0 -2
  839. package/build/client/assets/toml-D8rNcvuP.js +0 -2
  840. package/build/client/assets/tooltip-CJhH9OyX.js +0 -2
  841. package/build/client/assets/ts-tags-CMH71GE2.js +0 -2
  842. package/build/client/assets/tsv-Xow3Tm8i.js +0 -2
  843. package/build/client/assets/tsx--IXOlUhf.js +0 -2
  844. package/build/client/assets/turtle-DyxG7PGj.js +0 -2
  845. package/build/client/assets/twig-CpB27gQz.js +0 -2
  846. package/build/client/assets/typescript-D1xTVAuo.js +0 -2
  847. package/build/client/assets/typespec-CW5ZjcEg.js +0 -2
  848. package/build/client/assets/typst-7dC1K6yM.js +0 -2
  849. package/build/client/assets/user-Vh0AyKWQ.js +0 -2
  850. package/build/client/assets/v-1eh86G6P.js +0 -2
  851. package/build/client/assets/vala-DrwIFfTc.js +0 -2
  852. package/build/client/assets/vb-Qa558fn0.js +0 -2
  853. package/build/client/assets/vennDiagram-DHZGUBPP-DOHgFLbQ.js +0 -35
  854. package/build/client/assets/verilog-BjoEp9YH.js +0 -2
  855. package/build/client/assets/version-CAAEv6S1.js +0 -2
  856. package/build/client/assets/vesper-BzHCUoKM.js +0 -2
  857. package/build/client/assets/vhdl-DAnGgqRU.js +0 -2
  858. package/build/client/assets/viml-DNZGGkkF.js +0 -2
  859. package/build/client/assets/vitesse-black-DXLlyIds.js +0 -2
  860. package/build/client/assets/vitesse-dark-BepmkOpX.js +0 -2
  861. package/build/client/assets/vitesse-light-BtMFH13c.js +0 -2
  862. package/build/client/assets/vue-B5lXTvvS.js +0 -2
  863. package/build/client/assets/vue-html-C2odheCj.js +0 -2
  864. package/build/client/assets/vue-vine-Coft98O-.js +0 -2
  865. package/build/client/assets/vyper-BFzEhmUJ.js +0 -2
  866. package/build/client/assets/wardley-RL74JXVD-DXyokd_R.js +0 -163
  867. package/build/client/assets/wardleyDiagram-NUSXRM2D-D4fGc1bi.js +0 -21
  868. package/build/client/assets/wasm-B7YQs7Xe.js +0 -2
  869. package/build/client/assets/wasm-csQaSvSD.js +0 -2
  870. package/build/client/assets/wenyan-DdR_1XA1.js +0 -2
  871. package/build/client/assets/wgsl-Db0lkku5.js +0 -2
  872. package/build/client/assets/wikitext-DcHnia5j.js +0 -2
  873. package/build/client/assets/wit-gZZBdplB.js +0 -2
  874. package/build/client/assets/wolfram-CX1V742a.js +0 -2
  875. package/build/client/assets/workshop-config--qtf7s_N.js +0 -2
  876. package/build/client/assets/workspace-structure-Bh84JyiC.js +0 -2
  877. package/build/client/assets/xml-DztPeTod.js +0 -2
  878. package/build/client/assets/xsl-D9AhzFCJ.js +0 -2
  879. package/build/client/assets/xychartDiagram-5P7HB3ND-BDr6w8U1.js +0 -8
  880. package/build/client/assets/yaml-DuBSe7jd.js +0 -2
  881. package/build/client/assets/zenscript-BZKVI6kH.js +0 -2
  882. package/build/client/assets/zig-BZPJgPbe.js +0 -2
@@ -1,27 +0,0 @@
1
- import{r as c,a as Gn}from"./index-2KtsVV3Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"d95cc21c9349704b1b581ddbc8610d3738a0b5d0"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c122d293-6a68-4ce2-865d-1e86537363f8",e._sentryDebugIdIdentifier="sentry-dbid-c122d293-6a68-4ce2-865d-1e86537363f8")}catch{}})();var Da=e=>{throw TypeError(e)},Xn=(e,t,r)=>t.has(e)||Da("Cannot "+r),qt=(e,t,r)=>(Xn(e,t,"read from private field"),r?r.call(e):t.get(e)),qn=(e,t,r)=>t.has(e)?Da("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Gr="popstate";function Xr(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function us(e={}){function t(a,n){let o=n.state?.masked,{pathname:i,search:l,hash:s}=o||a.location;return dt("",{pathname:i,search:l,hash:s},n.state&&n.state.usr||null,n.state&&n.state.key||"default",o?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function r(a,n){return typeof n=="string"?n:Re(n)}return Zn(t,r,null,e)}function j(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Q(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Qn(){return Math.random().toString(36).substring(2,10)}function qr(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function dt(e,t,r=null,a,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Le(t):t,state:r,key:t&&t.key||a||Qn(),unstable_mask:n}}function Re({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Le(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let a=e.indexOf("?");a>=0&&(t.search=e.substring(a),e=e.substring(0,a)),e&&(t.pathname=e)}return t}function Zn(e,t,r,a={}){let{window:n=document.defaultView,v5Compat:o=!1}=a,i=n.history,l="POP",s=null,u=h();u==null&&(u=0,i.replaceState({...i.state,idx:u},""));function h(){return(i.state||{idx:null}).idx}function d(){l="POP";let y=h(),L=y==null?null:y-u;u=y,s&&s({action:l,location:R.location,delta:L})}function p(y,L){l="PUSH";let b=Xr(y)?y:dt(R.location,y,L);u=h()+1;let P=qr(b,u),D=R.createHref(b.unstable_mask||b);try{i.pushState(P,"",D)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;n.location.assign(D)}o&&s&&s({action:l,location:R.location,delta:1})}function g(y,L){l="REPLACE";let b=Xr(y)?y:dt(R.location,y,L);u=h();let P=qr(b,u),D=R.createHref(b.unstable_mask||b);i.replaceState(P,"",D),o&&s&&s({action:l,location:R.location,delta:0})}function E(y){return Ma(y)}let R={get action(){return l},get location(){return e(n,i)},listen(y){if(s)throw new Error("A history only accepts one active listener");return n.addEventListener(Gr,d),s=y,()=>{n.removeEventListener(Gr,d),s=null}},createHref(y){return t(n,y)},createURL:E,encodeLocation(y){let L=E(y);return{pathname:L.pathname,search:L.search,hash:L.hash}},push:p,replace:g,go(y){return i.go(y)}};return R}function Ma(e,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),j(r,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:Re(e);return a=a.replace(/ $/,"%20"),!t&&a.startsWith("//")&&(a=r+a),new URL(a,r)}var st,Qr=class{constructor(e){if(qn(this,st,new Map),e)for(let[t,r]of e)this.set(t,r)}get(e){if(qt(this,st).has(e))return qt(this,st).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){qt(this,st).set(e,t)}};st=new WeakMap;var eo=new Set(["lazy","caseSensitive","path","id","index","children"]);function to(e){return eo.has(e)}var ro=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function ao(e){return ro.has(e)}function no(e){return e.index===!0}function ft(e,t,r=[],a={},n=!1){return e.map((o,i)=>{let l=[...r,String(i)],s=typeof o.id=="string"?o.id:l.join("-");if(j(o.index!==!0||!o.children,"Cannot specify children on an index route"),j(n||!a[s],`Found a route id collision on id "${s}". Route id's must be globally unique within Data Router usages`),no(o)){let u={...o,id:s};return a[s]=Zr(u,t(u)),u}else{let u={...o,id:s,children:void 0};return a[s]=Zr(u,t(u)),o.children&&(u.children=ft(o.children,t,l,a,n)),u}})}function Zr(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function Te(e,t,r="/"){return ut(e,t,r,!1)}function ut(e,t,r,a){let n=typeof t=="string"?Le(t):t,o=ve(n.pathname||"/",r);if(o==null)return null;let i=Oa(e);oo(i);let l=null;for(let s=0;l==null&&s<i.length;++s){let u=yo(o);l=po(i[s],u,a)}return l}function Ta(e,t){let{route:r,pathname:a,params:n}=e;return{id:r.id,pathname:a,params:n,data:t[r.id],loaderData:t[r.id],handle:r.handle}}function Oa(e,t=[],r=[],a="",n=!1){let o=(i,l,s=n,u)=>{let h={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(a)&&s)return;j(h.relativePath.startsWith(a),`Absolute route path "${h.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(a.length)}let d=ye([a,h.relativePath]),p=r.concat(h);i.children&&i.children.length>0&&(j(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Oa(i.children,t,p,d,s)),!(i.path==null&&!i.index)&&t.push({path:d,score:ho(d,i.index),routesMeta:p})};return e.forEach((i,l)=>{if(i.path===""||!i.path?.includes("?"))o(i,l);else for(let s of Fa(i.path))o(i,l,!0,s)}),t}function Fa(e){let t=e.split("/");if(t.length===0)return[];let[r,...a]=t,n=r.endsWith("?"),o=r.replace(/\?$/,"");if(a.length===0)return n?[o,""]:[o];let i=Fa(a.join("/")),l=[];return l.push(...i.map(s=>s===""?o:[o,s].join("/"))),n&&l.push(...i),l.map(s=>e.startsWith("/")&&s===""?"/":s)}function oo(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:mo(t.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var io=/^:[\w-]+$/,lo=3,so=2,uo=1,co=10,fo=-2,ea=e=>e==="*";function ho(e,t){let r=e.split("/"),a=r.length;return r.some(ea)&&(a+=fo),t&&(a+=so),r.filter(n=>!ea(n)).reduce((n,o)=>n+(io.test(o)?lo:o===""?uo:co),a)}function mo(e,t){return e.length===t.length&&e.slice(0,-1).every((a,n)=>a===t[n])?e[e.length-1]-t[t.length-1]:0}function po(e,t,r=!1){let{routesMeta:a}=e,n={},o="/",i=[];for(let l=0;l<a.length;++l){let s=a[l],u=l===a.length-1,h=o==="/"?t:t.slice(o.length)||"/",d=It({path:s.relativePath,caseSensitive:s.caseSensitive,end:u},h),p=s.route;if(!d&&u&&r&&!a[a.length-1].route.index&&(d=It({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},h)),!d)return null;Object.assign(n,d.params),i.push({params:n,pathname:ye([o,d.pathname]),pathnameBase:wo(ye([o,d.pathnameBase])),route:p}),d.pathnameBase!=="/"&&(o=ye([o,d.pathnameBase]))}return i}function It(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=ka(e.path,e.caseSensitive,e.end),n=t.match(r);if(!n)return null;let o=n[0],i=o.replace(/(.)\/+$/,"$1"),l=n.slice(1);return{params:a.reduce((u,{paramName:h,isOptional:d},p)=>{if(h==="*"){let E=l[p]||"";i=o.slice(0,o.length-E.length).replace(/(.)\/+$/,"$1")}const g=l[p];return d&&!g?u[h]=void 0:u[h]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function ka(e,t=!1,r=!0){Q(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,l,s,u,h)=>{if(a.push({paramName:l,isOptional:s!=null}),s){let d=h.charAt(u+i.length);return d&&d!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),n+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":e!==""&&e!=="/"&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),a]}function yo(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Q(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function ve(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,a=e.charAt(r);return a&&a!=="/"?null:e.slice(r)||"/"}function vo({basename:e,pathname:t}){return t==="/"?e:ye([e,t])}var _a=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vr=e=>_a.test(e);function go(e,t="/"){let{pathname:r,search:a="",hash:n=""}=typeof e=="string"?Le(e):e,o;return r?(r=wr(r),r.startsWith("/")?o=ta(r.substring(1),"/"):o=ta(r,t)):o=t,{pathname:o,search:Eo(a),hash:Ro(n)}}function ta(e,t){let r=Nt(t).split("/");return e.split("/").forEach(n=>{n===".."?r.length>1&&r.pop():n!=="."&&r.push(n)}),r.length>1?r.join("/"):"/"}function Qt(e,t,r,a){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ia(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function gr(e){let t=Ia(e);return t.map((r,a)=>a===t.length-1?r.pathname:r.pathnameBase)}function Ut(e,t,r,a=!1){let n;typeof e=="string"?n=Le(e):(n={...e},j(!n.pathname||!n.pathname.includes("?"),Qt("?","pathname","search",n)),j(!n.pathname||!n.pathname.includes("#"),Qt("#","pathname","hash",n)),j(!n.search||!n.search.includes("#"),Qt("#","search","hash",n)));let o=e===""||n.pathname==="",i=o?"/":n.pathname,l;if(i==null)l=r;else{let d=t.length-1;if(!a&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),d-=1;n.pathname=p.join("/")}l=d>=0?t[d]:"/"}let s=go(n,l),u=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&r.endsWith("/");return!s.pathname.endsWith("/")&&(u||h)&&(s.pathname+="/"),s}var wr=e=>e.replace(/\/\/+/g,"/"),ye=e=>wr(e.join("/")),Nt=e=>e.replace(/\/+$/,""),wo=e=>Nt(e).replace(/^\/*/,"/"),Eo=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Ro=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,bo=class{constructor(e,t){this.type="DataWithResponseInit",this.data=e,this.init=t||null}};function So(e,t){return new bo(e,typeof t=="number"?{status:t}:t)}var xo=(e,t=302)=>{let r=t;typeof r=="number"?r={status:r}:typeof r.status>"u"&&(r.status=302);let a=new Headers(r.headers);return a.set("Location",e),new Response(null,{...r,headers:a})},Ie=class{constructor(e,t,r,a=!1){this.status=e,this.statusText=t||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function We(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Ze(e){let t=e.map(r=>r.route.path).filter(Boolean);return ye(t)||"/"}var Na=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Aa(e,t){let r=e;if(typeof r!="string"||!_a.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,n=!1;if(Na)try{let o=new URL(window.location.href),i=r.startsWith("//")?new URL(o.protocol+r):new URL(r),l=ve(i.pathname,t);i.origin===o.origin&&l!=null?r=l+i.search+i.hash:n=!0}catch{Q(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:n,to:r}}var _e=Symbol("Uninstrumented");function Lo(e,t){let r={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(n=>n({id:t.id,index:t.index,path:t.path,instrument(o){let i=Object.keys(r);for(let l of i)o[l]&&r[l].push(o[l])}}));let a={};if(typeof t.lazy=="function"&&r.lazy.length>0){let n=qe(r.lazy,t.lazy,()=>{});n&&(a.lazy=n)}if(typeof t.lazy=="object"){let n=t.lazy;["middleware","loader","action"].forEach(o=>{let i=n[o],l=r[`lazy.${o}`];if(typeof i=="function"&&l.length>0){let s=qe(l,i,()=>{});s&&(a.lazy=Object.assign(a.lazy||{},{[o]:s}))}})}return["loader","action"].forEach(n=>{let o=t[n];if(typeof o=="function"&&r[n].length>0){let i=o[_e]??o,l=qe(r[n],i,(...s)=>ra(s[0]));l&&(n==="loader"&&i.hydrate===!0&&(l.hydrate=!0),l[_e]=i,a[n]=l)}}),t.middleware&&t.middleware.length>0&&r.middleware.length>0&&(a.middleware=t.middleware.map(n=>{let o=n[_e]??n,i=qe(r.middleware,o,(...l)=>ra(l[0]));return i?(i[_e]=o,i):n})),a}function Po(e,t){let r={navigate:[],fetch:[]};if(t.forEach(a=>a({instrument(n){let o=Object.keys(n);for(let i of o)n[i]&&r[i].push(n[i])}})),r.navigate.length>0){let a=e.navigate[_e]??e.navigate,n=qe(r.navigate,a,(...o)=>{let[i,l]=o;return{to:typeof i=="number"||typeof i=="string"?i:i?Re(i):".",...aa(e,l??{})}});n&&(n[_e]=a,e.navigate=n)}if(r.fetch.length>0){let a=e.fetch[_e]??e.fetch,n=qe(r.fetch,a,(...o)=>{let[i,,l,s]=o;return{href:l??".",fetcherKey:i,...aa(e,s??{})}});n&&(n[_e]=a,e.fetch=n)}return e}function qe(e,t,r){return e.length===0?null:async(...a)=>{let n=await $a(e,r(...a),()=>t(...a),e.length-1);if(n.type==="error")throw n.value;return n.value}}async function $a(e,t,r,a){let n=e[a],o;if(n){let i,l=async()=>(i?console.error("You cannot call instrumented handlers more than once"):i=$a(e,t,r,a-1),o=await i,j(o,"Expected a result"),o.type==="error"&&o.value instanceof Error?{status:"error",error:o.value}:{status:"success",error:void 0});try{await n(l,t)}catch(s){console.error("An instrumentation function threw an error:",s)}i||await l(),await i}else try{o={type:"success",value:await r()}}catch(i){o={type:"error",value:i}}return o||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function ra(e){let{request:t,context:r,params:a,unstable_pattern:n}=e;return{request:Co(t),params:{...a},unstable_pattern:n,context:Do(r)}}function aa(e,t){return{currentUrl:Re(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function Co(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function Do(e){if(To(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var Mo=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function To(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join("\0")===Mo}var ja=["POST","PUT","PATCH","DELETE"],Oo=new Set(ja),Fo=["GET",...ja],ko=new Set(Fo),Ua=new Set([301,302,303,307,308]),_o=new Set([307,308]),Zt={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},za={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ot={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Io=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Ha="remix-router-transitions",Ba=Symbol("ResetLoaderData");function cs(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";j(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a=e.hydrationRouteProperties||[],n=e.mapRouteProperties||Io,o=n;if(e.unstable_instrumentations){let f=e.unstable_instrumentations;o=m=>({...n(m),...Lo(f.map(v=>v.route).filter(Boolean),m)})}let i={},l=ft(e.routes,o,void 0,i),s,u=e.basename||"/";u.startsWith("/")||(u=`/${u}`);let h=e.dataStrategy||Uo,d={unstable_passThroughRequests:!1,...e.future},p=null,g=new Set,E=null,R=null,y=null,L=e.hydrationData!=null,b=Te(l,e.history.location,u),P=!1,D=null,C,T;if(b==null&&!e.patchRoutesOnNavigation){let f=we(404,{pathname:e.history.location.pathname}),{matches:m,route:v}=xt(l);C=!0,T=!C,b=m,D={[v.id]:f}}else if(b&&!e.hydrationData&&wt(b,l,e.history.location.pathname).active&&(b=null),b)if(b.some(f=>f.route.lazy))C=!1,T=!C;else if(!b.some(f=>Er(f.route)))C=!0,T=!C;else{let f=e.hydrationData?e.hydrationData.loaderData:null,m=e.hydrationData?e.hydrationData.errors:null,v=b;if(m){let S=b.findIndex(x=>m[x.route.id]!==void 0);v=v.slice(0,S+1)}T=!1,C=!0,v.forEach(S=>{let x=Wa(S.route,f,m);T=T||x.renderFallback,C=C&&!x.shouldLoad})}else{C=!1,T=!C,b=[];let f=wt(null,l,e.history.location.pathname);f.active&&f.matches&&(P=!0,b=f.matches)}let U,w={historyAction:e.history.action,location:e.history.location,matches:b,initialized:C,renderFallback:T,navigation:Zt,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||D,fetchers:new Map,blockers:new Map},N="POP",H=null,G=!1,z,X=!1,te=new Map,$=null,K=!1,ie=!1,le=new Set,W=new Map,de=0,be=-1,fe=new Map,se=new Set,he=new Map,Oe=new Map,Se=new Set,Ae=new Map,vt,tt=null;function On(){if(p=e.history.listen(({action:f,location:m,delta:v})=>{if(vt){vt(),vt=void 0;return}Q(Ae.size===0||v!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let S=Wr({currentLocation:w.location,nextLocation:m,historyAction:f});if(S&&v!=null){let x=new Promise(_=>{vt=_});e.history.go(v*-1),gt(S,{state:"blocked",location:m,proceed(){gt(S,{state:"proceeding",proceed:void 0,reset:void 0,location:m}),x.then(()=>e.history.go(v))},reset(){let _=new Map(w.blockers);_.set(S,ot),ae({blockers:_})}}),H?.resolve(),H=null;return}return $e(f,m)}),r){ni(t,te);let f=()=>oi(t,te);t.addEventListener("pagehide",f),$=()=>t.removeEventListener("pagehide",f)}return w.initialized||$e("POP",w.location,{initialHydration:!0}),U}function Fn(){p&&p(),$&&$(),g.clear(),z&&z.abort(),w.fetchers.forEach((f,m)=>Kt(m)),w.blockers.forEach((f,m)=>Br(m))}function kn(f){return g.add(f),()=>g.delete(f)}function ae(f,m={}){f.matches&&(f.matches=f.matches.map(x=>{let _=i[x.route.id],F=x.route;return F.element!==_.element||F.errorElement!==_.errorElement||F.hydrateFallbackElement!==_.hydrateFallbackElement?{...x,route:_}:x})),w={...w,...f};let v=[],S=[];w.fetchers.forEach((x,_)=>{x.state==="idle"&&(Se.has(_)?v.push(_):S.push(_))}),Se.forEach(x=>{!w.fetchers.has(x)&&!W.has(x)&&v.push(x)}),[...g].forEach(x=>x(w,{deletedFetchers:v,newErrors:f.errors??null,viewTransitionOpts:m.viewTransitionOpts,flushSync:m.flushSync===!0})),v.forEach(x=>Kt(x)),S.forEach(x=>w.fetchers.delete(x))}function Ke(f,m,{flushSync:v}={}){let S=w.actionData!=null&&w.navigation.formMethod!=null&&oe(w.navigation.formMethod)&&w.navigation.state==="loading"&&f.state?._isRedirect!==!0,x;m.actionData?Object.keys(m.actionData).length>0?x=m.actionData:x=null:S?x=w.actionData:x=null;let _=m.loaderData?ma(w.loaderData,m.loaderData,m.matches||[],m.errors):w.loaderData,F=w.blockers;F.size>0&&(F=new Map(F),F.forEach((A,k)=>F.set(k,ot)));let O=K?!1:Yr(f,m.matches||w.matches),I=G===!0||w.navigation.formMethod!=null&&oe(w.navigation.formMethod)&&f.state?._isRedirect!==!0;s&&(l=s,s=void 0),K||N==="POP"||(N==="PUSH"?e.history.push(f,f.state):N==="REPLACE"&&e.history.replace(f,f.state));let M;if(N==="POP"){let A=te.get(w.location.pathname);A&&A.has(f.pathname)?M={currentLocation:w.location,nextLocation:f}:te.has(f.pathname)&&(M={currentLocation:f,nextLocation:w.location})}else if(X){let A=te.get(w.location.pathname);A?A.add(f.pathname):(A=new Set([f.pathname]),te.set(w.location.pathname,A)),M={currentLocation:w.location,nextLocation:f}}ae({...m,actionData:x,loaderData:_,historyAction:N,location:f,initialized:!0,renderFallback:!1,navigation:Zt,revalidation:"idle",restoreScrollPosition:O,preventScrollReset:I,blockers:F},{viewTransitionOpts:M,flushSync:v===!0}),N="POP",G=!1,X=!1,K=!1,ie=!1,H?.resolve(),H=null,tt?.resolve(),tt=null}async function Nr(f,m){if(H?.resolve(),H=null,typeof f=="number"){H||(H=va());let q=H.promise;return e.history.go(f),q}let v=or(w.location,w.matches,u,f,m?.fromRouteId,m?.relative),{path:S,submission:x,error:_}=na(!1,v,m),F;m?.unstable_mask&&(F={pathname:"",search:"",hash:"",...typeof m.unstable_mask=="string"?Le(m.unstable_mask):{...w.location.unstable_mask,...m.unstable_mask}});let O=w.location,I=dt(O,S,m&&m.state,void 0,F);I={...I,...e.history.encodeLocation(I)};let M=m&&m.replace!=null?m.replace:void 0,A="PUSH";M===!0?A="REPLACE":M===!1||x!=null&&oe(x.formMethod)&&x.formAction===w.location.pathname+w.location.search&&(A="REPLACE");let k=m&&"preventScrollReset"in m?m.preventScrollReset===!0:void 0,J=(m&&m.flushSync)===!0,V=Wr({currentLocation:O,nextLocation:I,historyAction:A});if(V){gt(V,{state:"blocked",location:I,proceed(){gt(V,{state:"proceeding",proceed:void 0,reset:void 0,location:I}),Nr(f,m)},reset(){let q=new Map(w.blockers);q.set(V,ot),ae({blockers:q})}});return}await $e(A,I,{submission:x,pendingError:_,preventScrollReset:k,replace:m&&m.replace,enableViewTransition:m&&m.viewTransition,flushSync:J,callSiteDefaultShouldRevalidate:m&&m.unstable_defaultShouldRevalidate})}function _n(){tt||(tt=va()),Jt(),ae({revalidation:"loading"});let f=tt.promise;return w.navigation.state==="submitting"?f:w.navigation.state==="idle"?($e(w.historyAction,w.location,{startUninterruptedRevalidation:!0}),f):($e(N||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:X===!0}),f)}async function $e(f,m,v){z&&z.abort(),z=null,N=f,K=(v&&v.startUninterruptedRevalidation)===!0,Vn(w.location,w.matches),G=(v&&v.preventScrollReset)===!0,X=(v&&v.enableViewTransition)===!0;let S=s||l,x=v&&v.overrideNavigation,_=v?.initialHydration&&w.matches&&w.matches.length>0&&!P?w.matches:Te(S,m,u),F=(v&&v.flushSync)===!0;if(_&&w.initialized&&!ie&&Ko(w.location,m)&&!(v&&v.submission&&oe(v.submission.formMethod))){Ke(m,{matches:_},{flushSync:F});return}let O=wt(_,S,m.pathname);if(O.active&&O.matches&&(_=O.matches),!_){let{error:ee,notFoundMatches:re,route:Y}=Gt(m.pathname);Ke(m,{matches:re,loaderData:{},errors:{[Y.id]:ee}},{flushSync:F});return}z=new AbortController;let I=Xe(e.history,m,z.signal,v&&v.submission),M=e.getContext?await e.getContext():new Qr,A;if(v&&v.pendingError)A=[ke(_).route.id,{type:"error",error:v.pendingError}];else if(v&&v.submission&&oe(v.submission.formMethod)){let ee=await In(I,m,v.submission,_,M,O.active,v&&v.initialHydration===!0,{replace:v.replace,flushSync:F});if(ee.shortCircuited)return;if(ee.pendingActionResult){let[re,Y]=ee.pendingActionResult;if(pe(Y)&&We(Y.error)&&Y.error.status===404){z=null,Ke(m,{matches:ee.matches,loaderData:{},errors:{[re]:Y.error}});return}}_=ee.matches||_,A=ee.pendingActionResult,x=er(m,v.submission),F=!1,O.active=!1,I=Xe(e.history,I.url,I.signal)}let{shortCircuited:k,matches:J,loaderData:V,errors:q}=await Nn(I,m,_,M,O.active,x,v&&v.submission,v&&v.fetcherSubmission,v&&v.replace,v&&v.initialHydration===!0,F,A,v&&v.callSiteDefaultShouldRevalidate);k||(z=null,Ke(m,{matches:J||_,...pa(A),loaderData:V,errors:q}))}async function In(f,m,v,S,x,_,F,O={}){Jt();let I=ri(m,v);if(ae({navigation:I},{flushSync:O.flushSync===!0}),_){let k=await Et(S,m.pathname,f.signal);if(k.type==="aborted")return{shortCircuited:!0};if(k.type==="error"){if(k.partialMatches.length===0){let{matches:V,route:q}=xt(l);return{matches:V,pendingActionResult:[q.id,{type:"error",error:k.error}]}}let J=ke(k.partialMatches).route.id;return{matches:k.partialMatches,pendingActionResult:[J,{type:"error",error:k.error}]}}else if(k.matches)S=k.matches;else{let{notFoundMatches:J,error:V,route:q}=Gt(m.pathname);return{matches:J,pendingActionResult:[q.id,{type:"error",error:V}]}}}let M,A=Ot(S,m);if(!A.route.action&&!A.route.lazy)M={type:"error",error:we(405,{method:f.method,pathname:m.pathname,routeId:A.route.id})};else{let k=Qe(o,i,f,m,S,A,F?[]:a,x),J=await rt(f,m,k,x,null);if(M=J[A.route.id],!M){for(let V of S)if(J[V.route.id]){M=J[V.route.id];break}}if(f.signal.aborted)return{shortCircuited:!0}}if(Be(M)){let k;return O&&O.replace!=null?k=O.replace:k=da(M.response.headers.get("Location"),new URL(f.url),u,e.history)===w.location.pathname+w.location.search,await je(f,M,!0,{submission:v,replace:k}),{shortCircuited:!0}}if(pe(M)){let k=ke(S,A.route.id);return(O&&O.replace)!==!0&&(N="PUSH"),{matches:S,pendingActionResult:[k.route.id,M,A.route.id]}}return{matches:S,pendingActionResult:[A.route.id,M]}}async function Nn(f,m,v,S,x,_,F,O,I,M,A,k,J){let V=_||er(m,F),q=F||O||ya(V),ee=!K&&!M;if(x){if(ee){let ne=Ar(k);ae({navigation:V,...ne!==void 0?{actionData:ne}:{}},{flushSync:A})}let B=await Et(v,m.pathname,f.signal);if(B.type==="aborted")return{shortCircuited:!0};if(B.type==="error"){if(B.partialMatches.length===0){let{matches:Ge,route:He}=xt(l);return{matches:Ge,loaderData:{},errors:{[He.id]:B.error}}}let ne=ke(B.partialMatches).route.id;return{matches:B.partialMatches,loaderData:{},errors:{[ne]:B.error}}}else if(B.matches)v=B.matches;else{let{error:ne,notFoundMatches:Ge,route:He}=Gt(m.pathname);return{matches:Ge,loaderData:{},errors:{[He.id]:ne}}}}let re=s||l,{dsMatches:Y,revalidatingFetchers:me}=oa(f,S,o,i,e.history,w,v,q,m,M?[]:a,M===!0,ie,le,Se,he,se,re,u,e.patchRoutesOnNavigation!=null,k,J);if(be=++de,!e.dataStrategy&&!Y.some(B=>B.shouldLoad)&&!Y.some(B=>B.route.middleware&&B.route.middleware.length>0)&&me.length===0){let B=zr();return Ke(m,{matches:v,loaderData:{},errors:k&&pe(k[1])?{[k[0]]:k[1].error}:null,...pa(k),...B?{fetchers:new Map(w.fetchers)}:{}},{flushSync:A}),{shortCircuited:!0}}if(ee){let B={};if(!x){B.navigation=V;let ne=Ar(k);ne!==void 0&&(B.actionData=ne)}me.length>0&&(B.fetchers=An(me)),ae(B,{flushSync:A})}me.forEach(B=>{De(B.key),B.controller&&W.set(B.key,B.controller)});let Ue=()=>me.forEach(B=>De(B.key));z&&z.signal.addEventListener("abort",Ue);let{loaderResults:at,fetcherResults:Fe}=await $r(Y,me,f,m,S);if(f.signal.aborted)return{shortCircuited:!0};z&&z.signal.removeEventListener("abort",Ue),me.forEach(B=>W.delete(B.key));let xe=Lt(at);if(xe)return await je(f,xe.result,!0,{replace:I}),{shortCircuited:!0};if(xe=Lt(Fe),xe)return se.add(xe.key),await je(f,xe.result,!0,{replace:I}),{shortCircuited:!0};let{loaderData:Xt,errors:nt}=ha(w,v,at,k,me,Fe);M&&w.errors&&(nt={...w.errors,...nt});let ze=zr(),Rt=Hr(be),bt=ze||Rt||me.length>0;return{matches:v,loaderData:Xt,errors:nt,...bt?{fetchers:new Map(w.fetchers)}:{}}}function Ar(f){if(f&&!pe(f[1]))return{[f[0]]:f[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function An(f){return f.forEach(m=>{let v=w.fetchers.get(m.key),S=it(void 0,v?v.data:void 0);w.fetchers.set(m.key,S)}),new Map(w.fetchers)}async function $n(f,m,v,S){De(f);let x=(S&&S.flushSync)===!0,_=s||l,F=or(w.location,w.matches,u,v,m,S?.relative),O=Te(_,F,u),I=wt(O,_,F);if(I.active&&I.matches&&(O=I.matches),!O){Ce(f,m,we(404,{pathname:F}),{flushSync:x});return}let{path:M,submission:A,error:k}=na(!0,F,S);if(k){Ce(f,m,k,{flushSync:x});return}let J=e.getContext?await e.getContext():new Qr,V=(S&&S.preventScrollReset)===!0;if(A&&oe(A.formMethod)){await jn(f,m,M,O,J,I.active,x,V,A,S&&S.unstable_defaultShouldRevalidate);return}he.set(f,{routeId:m,path:M}),await Un(f,m,M,O,J,I.active,x,V,A)}async function jn(f,m,v,S,x,_,F,O,I,M){Jt(),he.delete(f);let A=w.fetchers.get(f);Pe(f,ai(I,A),{flushSync:F});let k=new AbortController,J=Xe(e.history,v,k.signal,I);if(_){let Z=await Et(S,new URL(J.url).pathname,J.signal,f);if(Z.type==="aborted")return;if(Z.type==="error"){Ce(f,m,Z.error,{flushSync:F});return}else if(Z.matches)S=Z.matches;else{Ce(f,m,we(404,{pathname:v}),{flushSync:F});return}}let V=Ot(S,v);if(!V.route.action&&!V.route.lazy){let Z=we(405,{method:I.formMethod,pathname:v,routeId:m});Ce(f,m,Z,{flushSync:F});return}W.set(f,k);let q=de,ee=Qe(o,i,J,v,S,V,a,x),re=await rt(J,v,ee,x,f),Y=re[V.route.id];if(!Y){for(let Z of ee)if(re[Z.route.id]){Y=re[Z.route.id];break}}if(J.signal.aborted){W.get(f)===k&&W.delete(f);return}if(Se.has(f)){if(Be(Y)||pe(Y)){Pe(f,Me(void 0));return}}else{if(Be(Y))if(W.delete(f),be>q){Pe(f,Me(void 0));return}else return se.add(f),Pe(f,it(I)),je(J,Y,!1,{fetcherSubmission:I,preventScrollReset:O});if(pe(Y)){Ce(f,m,Y.error);return}}let me=w.navigation.location||w.location,Ue=Xe(e.history,me,k.signal),at=s||l,Fe=w.navigation.state!=="idle"?Te(at,w.navigation.location,u):w.matches;j(Fe,"Didn't find any matches after fetcher action");let xe=++de;fe.set(f,xe);let Xt=it(I,Y.data);w.fetchers.set(f,Xt);let{dsMatches:nt,revalidatingFetchers:ze}=oa(Ue,x,o,i,e.history,w,Fe,I,me,a,!1,ie,le,Se,he,se,at,u,e.patchRoutesOnNavigation!=null,[V.route.id,Y],M);ze.filter(Z=>Z.key!==f).forEach(Z=>{let St=Z.key,Kr=w.fetchers.get(St),Kn=it(void 0,Kr?Kr.data:void 0);w.fetchers.set(St,Kn),De(St),Z.controller&&W.set(St,Z.controller)}),ae({fetchers:new Map(w.fetchers)});let Rt=()=>ze.forEach(Z=>De(Z.key));k.signal.addEventListener("abort",Rt);let{loaderResults:bt,fetcherResults:B}=await $r(nt,ze,Ue,me,x);if(k.signal.aborted)return;if(k.signal.removeEventListener("abort",Rt),fe.delete(f),W.delete(f),ze.forEach(Z=>W.delete(Z.key)),w.fetchers.has(f)){let Z=Me(Y.data);w.fetchers.set(f,Z)}let ne=Lt(bt);if(ne)return je(Ue,ne.result,!1,{preventScrollReset:O});if(ne=Lt(B),ne)return se.add(ne.key),je(Ue,ne.result,!1,{preventScrollReset:O});let{loaderData:Ge,errors:He}=ha(w,Fe,bt,void 0,ze,B);Hr(xe),w.navigation.state==="loading"&&xe>be?(j(N,"Expected pending action"),z&&z.abort(),Ke(w.navigation.location,{matches:Fe,loaderData:Ge,errors:He,fetchers:new Map(w.fetchers)})):(ae({errors:He,loaderData:ma(w.loaderData,Ge,Fe,He),fetchers:new Map(w.fetchers)}),ie=!1)}async function Un(f,m,v,S,x,_,F,O,I){let M=w.fetchers.get(f);Pe(f,it(I,M?M.data:void 0),{flushSync:F});let A=new AbortController,k=Xe(e.history,v,A.signal);if(_){let Y=await Et(S,new URL(k.url).pathname,k.signal,f);if(Y.type==="aborted")return;if(Y.type==="error"){Ce(f,m,Y.error,{flushSync:F});return}else if(Y.matches)S=Y.matches;else{Ce(f,m,we(404,{pathname:v}),{flushSync:F});return}}let J=Ot(S,v);W.set(f,A);let V=de,q=Qe(o,i,k,v,S,J,a,x),ee=await rt(k,v,q,x,f),re=ee[J.route.id];if(!re){for(let Y of S)if(ee[Y.route.id]){re=ee[Y.route.id];break}}if(W.get(f)===A&&W.delete(f),!k.signal.aborted){if(Se.has(f)){Pe(f,Me(void 0));return}if(Be(re))if(be>V){Pe(f,Me(void 0));return}else{se.add(f),await je(k,re,!1,{preventScrollReset:O});return}if(pe(re)){Ce(f,m,re.error);return}Pe(f,Me(re.data))}}async function je(f,m,v,{submission:S,fetcherSubmission:x,preventScrollReset:_,replace:F}={}){v||(H?.resolve(),H=null),m.response.headers.has("X-Remix-Revalidate")&&(ie=!0);let O=m.response.headers.get("Location");j(O,"Expected a Location header on the redirect Response"),O=da(O,new URL(f.url),u,e.history);let I=dt(w.location,O,{_isRedirect:!0});if(r){let q=!1;if(m.response.headers.has("X-Remix-Reload-Document"))q=!0;else if(vr(O)){const ee=Ma(O,!0);q=ee.origin!==t.location.origin||ve(ee.pathname,u)==null}if(q){F?t.location.replace(O):t.location.assign(O);return}}z=null;let M=F===!0||m.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:A,formAction:k,formEncType:J}=w.navigation;!S&&!x&&A&&k&&J&&(S=ya(w.navigation));let V=S||x;if(_o.has(m.response.status)&&V&&oe(V.formMethod))await $e(M,I,{submission:{...V,formAction:O},preventScrollReset:_||G,enableViewTransition:v?X:void 0});else{let q=er(I,S);await $e(M,I,{overrideNavigation:q,fetcherSubmission:x,preventScrollReset:_||G,enableViewTransition:v?X:void 0})}}async function rt(f,m,v,S,x){let _,F={};try{_=await Ho(h,f,m,v,x,S,!1)}catch(O){return v.filter(I=>I.shouldLoad).forEach(I=>{F[I.route.id]={type:"error",error:O}}),F}if(f.signal.aborted)return F;if(!oe(f.method))for(let O of v){if(_[O.route.id]?.type==="error")break;!_.hasOwnProperty(O.route.id)&&!w.loaderData.hasOwnProperty(O.route.id)&&(!w.errors||!w.errors.hasOwnProperty(O.route.id))&&O.shouldCallHandler()&&(_[O.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${O.route.id}`)})}for(let[O,I]of Object.entries(_))if(Qo(I)){let M=I.result;F[O]={type:"redirect",response:Yo(M,f,O,v,u)}}else F[O]=await Vo(I);return F}async function $r(f,m,v,S,x){let _=rt(v,S,f,x,null),F=Promise.all(m.map(async M=>{if(M.matches&&M.match&&M.request&&M.controller){let k=(await rt(M.request,M.path,M.matches,x,M.key))[M.match.route.id];return{[M.key]:k}}else return Promise.resolve({[M.key]:{type:"error",error:we(404,{pathname:M.path})}})})),O=await _,I=(await F).reduce((M,A)=>Object.assign(M,A),{});return{loaderResults:O,fetcherResults:I}}function Jt(){ie=!0,he.forEach((f,m)=>{W.has(m)&&le.add(m),De(m)})}function Pe(f,m,v={}){w.fetchers.set(f,m),ae({fetchers:new Map(w.fetchers)},{flushSync:(v&&v.flushSync)===!0})}function Ce(f,m,v,S={}){let x=ke(w.matches,m);Kt(f),ae({errors:{[x.route.id]:v},fetchers:new Map(w.fetchers)},{flushSync:(S&&S.flushSync)===!0})}function jr(f){return Oe.set(f,(Oe.get(f)||0)+1),Se.has(f)&&Se.delete(f),w.fetchers.get(f)||za}function zn(f,m){De(f,m?.reason),Pe(f,Me(null))}function Kt(f){let m=w.fetchers.get(f);W.has(f)&&!(m&&m.state==="loading"&&fe.has(f))&&De(f),he.delete(f),fe.delete(f),se.delete(f),Se.delete(f),le.delete(f),w.fetchers.delete(f)}function Hn(f){let m=(Oe.get(f)||0)-1;m<=0?(Oe.delete(f),Se.add(f)):Oe.set(f,m),ae({fetchers:new Map(w.fetchers)})}function De(f,m){let v=W.get(f);v&&(v.abort(m),W.delete(f))}function Ur(f){for(let m of f){let v=jr(m),S=Me(v.data);w.fetchers.set(m,S)}}function zr(){let f=[],m=!1;for(let v of se){let S=w.fetchers.get(v);j(S,`Expected fetcher: ${v}`),S.state==="loading"&&(se.delete(v),f.push(v),m=!0)}return Ur(f),m}function Hr(f){let m=[];for(let[v,S]of fe)if(S<f){let x=w.fetchers.get(v);j(x,`Expected fetcher: ${v}`),x.state==="loading"&&(De(v),fe.delete(v),m.push(v))}return Ur(m),m.length>0}function Bn(f,m){let v=w.blockers.get(f)||ot;return Ae.get(f)!==m&&Ae.set(f,m),v}function Br(f){w.blockers.delete(f),Ae.delete(f)}function gt(f,m){let v=w.blockers.get(f)||ot;j(v.state==="unblocked"&&m.state==="blocked"||v.state==="blocked"&&m.state==="blocked"||v.state==="blocked"&&m.state==="proceeding"||v.state==="blocked"&&m.state==="unblocked"||v.state==="proceeding"&&m.state==="unblocked",`Invalid blocker state transition: ${v.state} -> ${m.state}`);let S=new Map(w.blockers);S.set(f,m),ae({blockers:S})}function Wr({currentLocation:f,nextLocation:m,historyAction:v}){if(Ae.size===0)return;Ae.size>1&&Q(!1,"A router only supports one blocker at a time");let S=Array.from(Ae.entries()),[x,_]=S[S.length-1],F=w.blockers.get(x);if(!(F&&F.state==="proceeding")&&_({currentLocation:f,nextLocation:m,historyAction:v}))return x}function Gt(f){let m=we(404,{pathname:f}),v=s||l,{matches:S,route:x}=xt(v);return{notFoundMatches:S,route:x,error:m}}function Wn(f,m,v){if(E=f,y=m,R=v||null,!L&&w.navigation===Zt){L=!0;let S=Yr(w.location,w.matches);S!=null&&ae({restoreScrollPosition:S})}return()=>{E=null,y=null,R=null}}function Vr(f,m){return R&&R(f,m.map(S=>Ta(S,w.loaderData)))||f.key}function Vn(f,m){if(E&&y){let v=Vr(f,m);E[v]=y()}}function Yr(f,m){if(E){let v=Vr(f,m),S=E[v];if(typeof S=="number")return S}return null}function wt(f,m,v){if(e.patchRoutesOnNavigation)if(f){if(Object.keys(f[0].params).length>0)return{active:!0,matches:ut(m,v,u,!0)}}else return{active:!0,matches:ut(m,v,u,!0)||[]};return{active:!1,matches:null}}async function Et(f,m,v,S){if(!e.patchRoutesOnNavigation)return{type:"success",matches:f};let x=f;for(;;){let _=s==null,F=s||l,O=i;try{await e.patchRoutesOnNavigation({signal:v,path:m,matches:x,fetcherKey:S,patch:(A,k)=>{v.aborted||ia(A,k,F,O,o,!1)}})}catch(A){return{type:"error",error:A,partialMatches:x}}finally{_&&!v.aborted&&(l=[...l])}if(v.aborted)return{type:"aborted"};let I=Te(F,m,u),M=null;if(I){if(Object.keys(I[0].params).length===0)return{type:"success",matches:I};if(M=ut(F,m,u,!0),!(M&&x.length<M.length&&Jr(x,M.slice(0,x.length))))return{type:"success",matches:I}}if(M||(M=ut(F,m,u,!0)),!M||Jr(x,M))return{type:"success",matches:null};x=M}}function Jr(f,m){return f.length===m.length&&f.every((v,S)=>v.route.id===m[S].route.id)}function Yn(f){i={},s=ft(f,o,void 0,i)}function Jn(f,m,v=!1){let S=s==null;ia(f,m,s||l,i,o,v),S&&(l=[...l],ae({}))}return U={get basename(){return u},get future(){return d},get state(){return w},get routes(){return l},get window(){return t},initialize:On,subscribe:kn,enableScrollRestoration:Wn,navigate:Nr,fetch:$n,revalidate:_n,createHref:f=>e.history.createHref(f),encodeLocation:f=>e.history.encodeLocation(f),getFetcher:jr,resetFetcher:zn,deleteFetcher:Hn,dispose:Fn,getBlocker:Bn,deleteBlocker:Br,patchRoutes:Jn,_internalFetchControllers:W,_internalSetRoutes:Yn,_internalSetStateDoNotUseOrYouWillBreakYourApp(f){ae(f)}},e.unstable_instrumentations&&(U=Po(U,e.unstable_instrumentations.map(f=>f.router).filter(Boolean))),U}function No(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function or(e,t,r,a,n,o){let i,l;if(n){i=[];for(let u of t)if(i.push(u),u.route.id===n){l=u;break}}else i=t,l=t[t.length-1];let s=Ut(a||".",gr(i),ve(e.pathname,r)||e.pathname,o==="path");if(a==null&&(s.search=e.search,s.hash=e.hash),(a==null||a===""||a===".")&&l){let u=Rr(s.search);if(l.route.index&&!u)s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index";else if(!l.route.index&&u){let h=new URLSearchParams(s.search),d=h.getAll("index");h.delete("index"),d.filter(g=>g).forEach(g=>h.append("index",g));let p=h.toString();s.search=p?`?${p}`:""}}return r!=="/"&&(s.pathname=vo({basename:r,pathname:s.pathname})),Re(s)}function na(e,t,r){if(!r||!No(r))return{path:t};if(r.formMethod&&!ti(r.formMethod))return{path:t,error:we(405,{method:r.formMethod})};let a=()=>({path:t,error:we(400,{type:"invalid-body"})}),o=(r.formMethod||"get").toUpperCase(),i=qa(t);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!oe(o))return a();let d=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((p,[g,E])=>`${p}${g}=${E}
2
- `,""):String(r.body);return{path:t,submission:{formMethod:o,formAction:i,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!oe(o))return a();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:o,formAction:i,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return a()}}}j(typeof FormData=="function","FormData is not available in this environment");let l,s;if(r.formData)l=lr(r.formData),s=r.formData;else if(r.body instanceof FormData)l=lr(r.body),s=r.body;else if(r.body instanceof URLSearchParams)l=r.body,s=fa(l);else if(r.body==null)l=new URLSearchParams,s=new FormData;else try{l=new URLSearchParams(r.body),s=fa(l)}catch{return a()}let u={formMethod:o,formAction:i,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(oe(u.formMethod))return{path:t,submission:u};let h=Le(t);return e&&h.search&&Rr(h.search)&&l.append("index",""),h.search=`?${l}`,{path:Re(h),submission:u}}function oa(e,t,r,a,n,o,i,l,s,u,h,d,p,g,E,R,y,L,b,P,D){let C=P?pe(P[1])?P[1].error:P[1].data:void 0,T=n.createURL(o.location),U=n.createURL(s),w;if(h&&o.errors){let $=Object.keys(o.errors)[0];w=i.findIndex(K=>K.route.id===$)}else if(P&&pe(P[1])){let $=P[0];w=i.findIndex(K=>K.route.id===$)-1}let N=P?P[1].statusCode:void 0,H=N&&N>=400,G={currentUrl:T,currentParams:o.matches[0]?.params||{},nextUrl:U,nextParams:i[0].params,...l,actionResult:C,actionStatus:N},z=Ze(i),X=i.map(($,K)=>{let{route:ie}=$,le=null;if(w!=null&&K>w)le=!1;else if(ie.lazy)le=!0;else if(!Er(ie))le=!1;else if(h){let{shouldLoad:fe}=Wa(ie,o.loaderData,o.errors);le=fe}else Ao(o.loaderData,o.matches[K],$)&&(le=!0);if(le!==null)return ir(r,a,e,s,z,$,u,t,le);let W=!1;typeof D=="boolean"?W=D:H?W=!1:(d||T.pathname+T.search===U.pathname+U.search||T.search!==U.search||$o(o.matches[K],$))&&(W=!0);let de={...G,defaultShouldRevalidate:W},be=ct($,de);return ir(r,a,e,s,z,$,u,t,be,de,D)}),te=[];return E.forEach(($,K)=>{if(h||!i.some(he=>he.route.id===$.routeId)||g.has(K))return;let ie=o.fetchers.get(K),le=ie&&ie.state!=="idle"&&ie.data===void 0,W=Te(y,$.path,L);if(!W){if(b&&le)return;te.push({key:K,routeId:$.routeId,path:$.path,matches:null,match:null,request:null,controller:null});return}if(R.has(K))return;let de=Ot(W,$.path),be=new AbortController,fe=Xe(n,$.path,be.signal),se=null;if(p.has(K))p.delete(K),se=Qe(r,a,fe,$.path,W,de,u,t);else if(le)d&&(se=Qe(r,a,fe,$.path,W,de,u,t));else{let he;typeof D=="boolean"?he=D:H?he=!1:he=d;let Oe={...G,defaultShouldRevalidate:he};ct(de,Oe)&&(se=Qe(r,a,fe,$.path,W,de,u,t,Oe))}se&&te.push({key:K,routeId:$.routeId,path:$.path,matches:se,match:de,request:fe,controller:be})}),{dsMatches:X,revalidatingFetchers:te}}function Er(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function Wa(e,t,r){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!Er(e))return{shouldLoad:!1,renderFallback:!1};let a=t!=null&&e.id in t,n=r!=null&&r[e.id]!==void 0;if(!a&&n)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader=="function"&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!a};let o=!a&&!n;return{shouldLoad:o,renderFallback:o}}function Ao(e,t,r){let a=!t||r.route.id!==t.route.id,n=!e.hasOwnProperty(r.route.id);return a||n}function $o(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function ct(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function ia(e,t,r,a,n,o){let i;if(e){let u=a[e];j(u,`No route found to patch children into: routeId = ${e}`),u.children||(u.children=[]),i=u.children}else i=r;let l=[],s=[];if(t.forEach(u=>{let h=i.find(d=>Va(u,d));h?s.push({existingRoute:h,newRoute:u}):l.push(u)}),l.length>0){let u=ft(l,n,[e||"_","patch",String(i?.length||"0")],a);i.push(...u)}if(o&&s.length>0)for(let u=0;u<s.length;u++){let{existingRoute:h,newRoute:d}=s[u],p=h,[g]=ft([d],n,[],{},!0);Object.assign(p,{element:g.element?g.element:p.element,errorElement:g.errorElement?g.errorElement:p.errorElement,hydrateFallbackElement:g.hydrateFallbackElement?g.hydrateFallbackElement:p.hydrateFallbackElement})}}function Va(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children?.every((r,a)=>t.children?.some(n=>Va(r,n)))??!1:!1}var la=new WeakMap,Ya=({key:e,route:t,manifest:r,mapRouteProperties:a})=>{let n=r[t.id];if(j(n,"No route found in manifest"),!n.lazy||typeof n.lazy!="object")return;let o=n.lazy[e];if(!o)return;let i=la.get(n);i||(i={},la.set(n,i));let l=i[e];if(l)return l;let s=(async()=>{let u=to(e),d=n[e]!==void 0&&e!=="hasErrorBoundary";if(u)Q(!u,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),i[e]=Promise.resolve();else if(d)Q(!1,`Route "${n.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let p=await o();p!=null&&(Object.assign(n,{[e]:p}),Object.assign(n,a(n)))}typeof n.lazy=="object"&&(n.lazy[e]=void 0,Object.values(n.lazy).every(p=>p===void 0)&&(n.lazy=void 0))})();return i[e]=s,s},sa=new WeakMap;function jo(e,t,r,a,n){let o=r[e.id];if(j(o,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let h=sa.get(o);if(h)return{lazyRoutePromise:h,lazyHandlerPromise:h};let d=(async()=>{j(typeof e.lazy=="function","No lazy route function found");let p=await e.lazy(),g={};for(let E in p){let R=p[E];if(R===void 0)continue;let y=ao(E),b=o[E]!==void 0&&E!=="hasErrorBoundary";y?Q(!y,"Route property "+E+" is not a supported property to be returned from a lazy route function. This property will be ignored."):b?Q(!b,`Route "${o.id}" has a static property "${E}" defined but its lazy function is also returning a value for this property. The lazy route property "${E}" will be ignored.`):g[E]=R}Object.assign(o,g),Object.assign(o,{...a(o),lazy:void 0})})();return sa.set(o,d),d.catch(()=>{}),{lazyRoutePromise:d,lazyHandlerPromise:d}}let i=Object.keys(e.lazy),l=[],s;for(let h of i){if(n&&n.includes(h))continue;let d=Ya({key:h,route:e,manifest:r,mapRouteProperties:a});d&&(l.push(d),h===t&&(s=d))}let u=l.length>0?Promise.all(l).then(()=>{}):void 0;return u?.catch(()=>{}),s?.catch(()=>{}),{lazyRoutePromise:u,lazyHandlerPromise:s}}async function ua(e){let t=e.matches.filter(n=>n.shouldLoad),r={};return(await Promise.all(t.map(n=>n.resolve()))).forEach((n,o)=>{r[t[o].route.id]=n}),r}async function Uo(e){return e.matches.some(t=>t.route.middleware)?Ja(e,()=>ua(e)):ua(e)}function Ja(e,t){return zo(e,t,a=>{if(ei(a))throw a;return a},Xo,r);function r(a,n,o){if(o)return Promise.resolve(Object.assign(o.value,{[n]:{type:"error",result:a}}));{let{matches:i}=e,l=Math.min(Math.max(i.findIndex(u=>u.route.id===n),0),Math.max(i.findIndex(u=>u.shouldCallHandler()),0)),s=ke(i,i[l].route.id).route.id;return Promise.resolve({[s]:{type:"error",result:a}})}}}async function zo(e,t,r,a,n){let{matches:o,...i}=e,l=o.flatMap(u=>u.route.middleware?u.route.middleware.map(h=>[u.route.id,h]):[]);return await Ka(i,l,t,r,a,n)}async function Ka(e,t,r,a,n,o,i=0){let{request:l}=e;if(l.signal.aborted)throw l.signal.reason??new Error(`Request aborted: ${l.method} ${l.url}`);let s=t[i];if(!s)return await r();let[u,h]=s,d,p=async()=>{if(d)throw new Error("You may only call `next()` once per middleware");try{return d={value:await Ka(e,t,r,a,n,o,i+1)},d.value}catch(g){return d={value:await o(g,u,d)},d.value}};try{let g=await h(e,p),E=g!=null?a(g):void 0;return n(E)?E:d?E??d.value:(d={value:await p()},d.value)}catch(g){return await o(g,u,d)}}function Ga(e,t,r,a,n){let o=Ya({key:"middleware",route:a.route,manifest:t,mapRouteProperties:e}),i=jo(a.route,oe(r.method)?"action":"loader",t,e,n);return{middleware:o,route:i.lazyRoutePromise,handler:i.lazyHandlerPromise}}function ir(e,t,r,a,n,o,i,l,s,u=null,h){let d=!1,p=Ga(e,t,r,o,i);return{...o,_lazyPromises:p,shouldLoad:s,shouldRevalidateArgs:u,shouldCallHandler(g){return d=!0,u?typeof h=="boolean"?ct(o,{...u,defaultShouldRevalidate:h}):typeof g=="boolean"?ct(o,{...u,defaultShouldRevalidate:g}):ct(o,u):s},resolve(g){let{lazy:E,loader:R,middleware:y}=o.route,L=d||s||g&&!oe(r.method)&&(E||R),b=y&&y.length>0&&!R&&!E;return L&&(oe(r.method)||!b)?Bo({request:r,path:a,unstable_pattern:n,match:o,lazyHandlerPromise:p?.handler,lazyRoutePromise:p?.route,handlerOverride:g,scopedContext:l}):Promise.resolve({type:"data",result:void 0})}}}function Qe(e,t,r,a,n,o,i,l,s=null){return n.map(u=>u.route.id!==o.route.id?{...u,shouldLoad:!1,shouldRevalidateArgs:s,shouldCallHandler:()=>!1,_lazyPromises:Ga(e,t,r,u,i),resolve:()=>Promise.resolve({type:"data",result:void 0})}:ir(e,t,r,a,Ze(n),u,i,l,!0,s))}async function Ho(e,t,r,a,n,o,i){a.some(h=>h._lazyPromises?.middleware)&&await Promise.all(a.map(h=>h._lazyPromises?.middleware));let l={request:t,unstable_url:Xa(t,r),unstable_pattern:Ze(a),params:a[0].params,context:o,matches:a},u=await e({...l,fetcherKey:n,runClientMiddleware:h=>{let d=l;return Ja(d,()=>h({...d,fetcherKey:n,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(a.flatMap(h=>[h._lazyPromises?.handler,h._lazyPromises?.route]))}catch{}return u}async function Bo({request:e,path:t,unstable_pattern:r,match:a,lazyHandlerPromise:n,lazyRoutePromise:o,handlerOverride:i,scopedContext:l}){let s,u,h=oe(e.method),d=h?"action":"loader",p=g=>{let E,R=new Promise((b,P)=>E=P);u=()=>E(),e.signal.addEventListener("abort",u);let y=b=>typeof g!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${d}" [routeId: ${a.route.id}]`)):g({request:e,unstable_url:Xa(e,t),unstable_pattern:r,params:a.params,context:l},...b!==void 0?[b]:[]),L=(async()=>{try{return{type:"data",result:await(i?i(P=>y(P)):y())}}catch(b){return{type:"error",result:b}}})();return Promise.race([L,R])};try{let g=h?a.route.action:a.route.loader;if(n||o)if(g){let E,[R]=await Promise.all([p(g).catch(y=>{E=y}),n,o]);if(E!==void 0)throw E;s=R}else{await n;let E=h?a.route.action:a.route.loader;if(E)[s]=await Promise.all([p(E),o]);else if(d==="action"){let R=new URL(e.url),y=R.pathname+R.search;throw we(405,{method:e.method,pathname:y,routeId:a.route.id})}else return{type:"data",result:void 0}}else if(g)s=await p(g);else{let E=new URL(e.url),R=E.pathname+E.search;throw we(404,{pathname:R})}}catch(g){return{type:"error",result:g}}finally{u&&e.signal.removeEventListener("abort",u)}return s}async function Wo(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function Vo(e){let{result:t,type:r}=e;if(zt(t)){let a;try{a=await Wo(t)}catch(n){return{type:"error",error:n}}return r==="error"?{type:"error",error:new Ie(t.status,t.statusText,a),statusCode:t.status,headers:t.headers}:{type:"data",data:a,statusCode:t.status,headers:t.headers}}return r==="error"?sr(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:Go(t),statusCode:We(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:We(t)?t.status:void 0}:sr(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function Yo(e,t,r,a,n){let o=e.headers.get("Location");if(j(o,"Redirects returned/thrown from loaders/actions must have a Location header"),!vr(o)){let i=a.slice(0,a.findIndex(l=>l.route.id===r)+1);o=or(new URL(t.url),i,n,o),e.headers.set("Location",o)}return e}var ca=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function da(e,t,r,a){if(vr(e)){let n=e,o=n.startsWith("//")?new URL(t.protocol+n):new URL(n);if(ca.includes(o.protocol))throw new Error("Invalid redirect location");let i=ve(o.pathname,r)!=null;if(o.origin===t.origin&&i)return wr(o.pathname)+o.search+o.hash}try{let n=a.createURL(e);if(ca.includes(n.protocol))throw new Error("Invalid redirect location")}catch{}return e}function Xe(e,t,r,a){let n=e.createURL(qa(t)).toString(),o={signal:r};if(a&&oe(a.formMethod)){let{formMethod:i,formEncType:l}=a;o.method=i.toUpperCase(),l==="application/json"?(o.headers=new Headers({"Content-Type":l}),o.body=JSON.stringify(a.json)):l==="text/plain"?o.body=a.text:l==="application/x-www-form-urlencoded"&&a.formData?o.body=lr(a.formData):o.body=a.formData}return new Request(n,o)}function Xa(e,t){let r=new URL(e.url),a=typeof t=="string"?Le(t):t;if(r.pathname=a.pathname||"/",a.search){let n=new URLSearchParams(a.search),o=n.getAll("index");n.delete("index");for(let i of o.filter(Boolean))n.append("index",i);r.search=n.size?`?${n.toString()}`:""}else r.search="";return r.hash=a.hash||"",r}function lr(e){let t=new URLSearchParams;for(let[r,a]of e.entries())t.append(r,typeof a=="string"?a:a.name);return t}function fa(e){let t=new FormData;for(let[r,a]of e.entries())t.append(r,a);return t}function Jo(e,t,r,a=!1,n=!1){let o={},i=null,l,s=!1,u={},h=r&&pe(r[1])?r[1].error:void 0;return e.forEach(d=>{if(!(d.route.id in t))return;let p=d.route.id,g=t[p];if(j(!Be(g),"Cannot handle redirect results in processLoaderData"),pe(g)){let E=g.error;if(h!==void 0&&(E=h,h=void 0),i=i||{},n)i[p]=E;else{let R=ke(e,p);i[R.route.id]==null&&(i[R.route.id]=E)}a||(o[p]=Ba),s||(s=!0,l=We(g.error)?g.error.status:500),g.headers&&(u[p]=g.headers)}else o[p]=g.data,g.statusCode&&g.statusCode!==200&&!s&&(l=g.statusCode),g.headers&&(u[p]=g.headers)}),h!==void 0&&r&&(i={[r[0]]:h},r[2]&&(o[r[2]]=void 0)),{loaderData:o,errors:i,statusCode:l||200,loaderHeaders:u}}function ha(e,t,r,a,n,o){let{loaderData:i,errors:l}=Jo(t,r,a);return n.filter(s=>!s.matches||s.matches.some(u=>u.shouldLoad)).forEach(s=>{let{key:u,match:h,controller:d}=s;if(d&&d.signal.aborted)return;let p=o[u];if(j(p,"Did not find corresponding fetcher result"),pe(p)){let g=ke(e.matches,h?.route.id);l&&l[g.route.id]||(l={...l,[g.route.id]:p.error}),e.fetchers.delete(u)}else if(Be(p))j(!1,"Unhandled fetcher revalidation redirect");else{let g=Me(p.data);e.fetchers.set(u,g)}}),{loaderData:i,errors:l}}function ma(e,t,r,a){let n=Object.entries(t).filter(([,o])=>o!==Ba).reduce((o,[i,l])=>(o[i]=l,o),{});for(let o of r){let i=o.route.id;if(!t.hasOwnProperty(i)&&e.hasOwnProperty(i)&&o.route.loader&&(n[i]=e[i]),a&&a.hasOwnProperty(i))break}return n}function pa(e){return e?pe(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ke(e,t){return(t?e.slice(0,e.findIndex(a=>a.route.id===t)+1):[...e]).reverse().find(a=>a.route.hasErrorBoundary===!0)||e[0]}function xt(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function we(e,{pathname:t,routeId:r,method:a,type:n,message:o}={}){let i="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(i="Bad Request",a&&t&&r?l=`You made a ${a} request to "${t}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:n==="invalid-body"&&(l="Unable to encode submission body")):e===403?(i="Forbidden",l=`Route "${r}" does not match URL "${t}"`):e===404?(i="Not Found",l=`No route matches URL "${t}"`):e===405&&(i="Method Not Allowed",a&&t&&r?l=`You made a ${a.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:a&&(l=`Invalid request method "${a.toUpperCase()}"`)),new Ie(e||500,i,new Error(l),!0)}function Lt(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[a,n]=t[r];if(Be(n))return{key:a,result:n}}}function qa(e){let t=typeof e=="string"?Le(e):e;return Re({...t,hash:""})}function Ko(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Go(e){return new Ie(e.init?.status??500,e.init?.statusText??"Internal Server Error",e.data)}function Xo(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,r])=>typeof t=="string"&&qo(r))}function qo(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function Qo(e){return zt(e.result)&&Ua.has(e.result.status)}function pe(e){return e.type==="error"}function Be(e){return(e&&e.type)==="redirect"}function sr(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function zt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Zo(e){return Ua.has(e)}function ei(e){return zt(e)&&Zo(e.status)&&e.headers.has("Location")}function ti(e){return ko.has(e.toUpperCase())}function oe(e){return Oo.has(e.toUpperCase())}function Rr(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ot(e,t){let r=typeof t=="string"?Le(t).search:t.search;if(e[e.length-1].route.index&&Rr(r||""))return e[e.length-1];let a=Ia(e);return a[a.length-1]}function ya(e){let{formMethod:t,formAction:r,formEncType:a,text:n,formData:o,json:i}=e;if(!(!t||!r||!a)){if(n!=null)return{formMethod:t,formAction:r,formEncType:a,formData:void 0,json:void 0,text:n};if(o!=null)return{formMethod:t,formAction:r,formEncType:a,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:a,formData:void 0,json:i,text:void 0}}}function er(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function ri(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function it(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ai(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Me(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function ni(e,t){try{let r=e.sessionStorage.getItem(Ha);if(r){let a=JSON.parse(r);for(let[n,o]of Object.entries(a||{}))o&&Array.isArray(o)&&t.set(n,new Set(o||[]))}}catch{}}function oi(e,t){if(t.size>0){let r={};for(let[a,n]of t)r[a]=[...n];try{e.sessionStorage.setItem(Ha,JSON.stringify(r))}catch(a){Q(!1,`Failed to save applied view transitions in sessionStorage (${a}).`)}}}function va(){let e,t,r=new Promise((a,n)=>{e=async o=>{a(o);try{await r}catch{}},t=async o=>{n(o);try{await r}catch{}}});return{promise:r,resolve:e,reject:t}}var Ne=c.createContext(null);Ne.displayName="DataRouter";var Ve=c.createContext(null);Ve.displayName="DataRouterState";var Qa=c.createContext(!1);function br(){return c.useContext(Qa)}var Sr=c.createContext({isTransitioning:!1});Sr.displayName="ViewTransition";var xr=c.createContext(new Map);xr.displayName="Fetchers";var At=c.createContext(null);At.displayName="Await";var ce=c.createContext(null);ce.displayName="Navigation";var mt=c.createContext(null);mt.displayName="Location";var Ee=c.createContext({outlet:null,matches:[],isDataRoute:!1});Ee.displayName="Route";var Lr=c.createContext(null);Lr.displayName="RouteError";var Za="REACT_ROUTER_ERROR",ii="REDIRECT",li="ROUTE_ERROR_RESPONSE";function si(e){if(e.startsWith(`${Za}:${ii}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function ui(e){if(e.startsWith(`${Za}:${li}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new Ie(t.status,t.statusText,t.data)}catch{}}function ci(e,{relative:t}={}){j(pt(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:a}=c.useContext(ce),{hash:n,pathname:o,search:i}=yt(e,{relative:t}),l=o;return r!=="/"&&(l=o==="/"?r:ye([r,o])),a.createHref({pathname:l,search:i,hash:n})}function pt(){return c.useContext(mt)!=null}function ge(){return j(pt(),"useLocation() may be used only in the context of a <Router> component."),c.useContext(mt).location}function ds(){return c.useContext(mt).navigationType}var en="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function tn(e){c.useContext(ce).static||c.useLayoutEffect(e)}function rn(){let{isDataRoute:e}=c.useContext(Ee);return e?Si():di()}function di(){j(pt(),"useNavigate() may be used only in the context of a <Router> component.");let e=c.useContext(Ne),{basename:t,navigator:r}=c.useContext(ce),{matches:a}=c.useContext(Ee),{pathname:n}=ge(),o=JSON.stringify(gr(a)),i=c.useRef(!1);return tn(()=>{i.current=!0}),c.useCallback((s,u={})=>{if(Q(i.current,en),!i.current)return;if(typeof s=="number"){r.go(s);return}let h=Ut(s,JSON.parse(o),n,u.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:ye([t,h.pathname])),(u.replace?r.replace:r.push)(h,u.state,u)},[t,r,o,n,e])}var an=c.createContext(null);function fs(){return c.useContext(an)}function fi(e){let t=c.useContext(Ee).outlet;return c.useMemo(()=>t&&c.createElement(an.Provider,{value:e},t),[t,e])}function nn(){let{matches:e}=c.useContext(Ee);return e[e.length-1]?.params??{}}function yt(e,{relative:t}={}){let{matches:r}=c.useContext(Ee),{pathname:a}=ge(),n=JSON.stringify(gr(r));return c.useMemo(()=>Ut(e,JSON.parse(n),a,t==="path"),[e,n,a,t])}function hi(e,t,r){j(pt(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=c.useContext(ce),{matches:n}=c.useContext(Ee),o=n[n.length-1],i=o?o.params:{},l=o?o.pathname:"/",s=o?o.pathnameBase:"/",u=o&&o.route;{let y=u&&u.path||"";cn(l,!u||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
3
-
4
- Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let h=ge(),d;d=h;let p=d.pathname||"/",g=p;if(s!=="/"){let y=s.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(y.length).join("/")}let E=Te(e,{pathname:g});return Q(u||E!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),Q(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),gi(E&&E.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:ye([s,a.encodeLocation?a.encodeLocation(y.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:ye([s,a.encodeLocation?a.encodeLocation(y.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),n,r)}function mi(){let e=Dr(),t=We(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:a},o={padding:"2px 4px",backgroundColor:a},i=null;return console.error("Error handled by React Router default ErrorBoundary:",e),i=c.createElement(c.Fragment,null,c.createElement("p",null,"💿 Hey developer 👋"),c.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",c.createElement("code",{style:o},"ErrorBoundary")," or"," ",c.createElement("code",{style:o},"errorElement")," prop on your route.")),c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),r?c.createElement("pre",{style:n},r):null,i)}var pi=c.createElement(mi,null),on=class extends c.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=ui(e.digest);r&&(e=r)}let t=e!==void 0?c.createElement(Ee.Provider,{value:this.props.routeContext},c.createElement(Lr.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?c.createElement(yi,{error:e},t):t}};on.contextType=Qa;var tr=new WeakMap;function yi({children:e,error:t}){let{basename:r}=c.useContext(ce);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let a=si(t.digest);if(a){let n=tr.get(t);if(n)throw n;let o=Aa(a.location,r);if(Na&&!tr.get(t))if(o.isExternal||a.reloadDocument)window.location.href=o.absoluteURL||o.to;else{const i=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:a.replace}));throw tr.set(t,i),i}return c.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o.absoluteURL||o.to}`})}}return e}function vi({routeContext:e,match:t,children:r}){let a=c.useContext(Ne);return a&&a.static&&a.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=t.route.id),c.createElement(Ee.Provider,{value:e},r)}function gi(e,t=[],r){let a=r?.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(t.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let n=e,o=a?.errors;if(o!=null){let h=n.findIndex(d=>d.route.id&&o?.[d.route.id]!==void 0);j(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),n=n.slice(0,Math.min(n.length,h+1))}let i=!1,l=-1;if(r&&a){i=a.renderFallback;for(let h=0;h<n.length;h++){let d=n[h];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(l=h),d.route.id){let{loaderData:p,errors:g}=a,E=d.route.loader&&!p.hasOwnProperty(d.route.id)&&(!g||g[d.route.id]===void 0);if(d.route.lazy||E){r.isStatic&&(i=!0),l>=0?n=n.slice(0,l+1):n=[n[0]];break}}}}let s=r?.onError,u=a&&s?(h,d)=>{s(h,{location:a.location,params:a.matches?.[0]?.params??{},unstable_pattern:Ze(a.matches),errorInfo:d})}:void 0;return n.reduceRight((h,d,p)=>{let g,E=!1,R=null,y=null;a&&(g=o&&d.route.id?o[d.route.id]:void 0,R=d.route.errorElement||pi,i&&(l<0&&p===0?(cn("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,y=null):l===p&&(E=!0,y=d.route.hydrateFallbackElement||null)));let L=t.concat(n.slice(0,p+1)),b=()=>{let P;return g?P=R:E?P=y:d.route.Component?P=c.createElement(d.route.Component,null):d.route.element?P=d.route.element:P=h,c.createElement(vi,{match:d,routeContext:{outlet:h,matches:L,isDataRoute:a!=null},children:P})};return a&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?c.createElement(on,{location:a.location,revalidation:a.revalidation,component:R,error:g,children:b(),routeContext:{outlet:null,matches:L,isDataRoute:!0},onError:u}):b()},null)}function Pr(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ln(e){let t=c.useContext(Ne);return j(t,Pr(e)),t}function Ye(e){let t=c.useContext(Ve);return j(t,Pr(e)),t}function wi(e){let t=c.useContext(Ee);return j(t,Pr(e)),t}function et(e){let t=wi(e),r=t.matches[t.matches.length-1];return j(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function Ei(){return et("useRouteId")}function Ri(){return Ye("useNavigation").navigation}function hs(){let e=ln("useRevalidator"),t=Ye("useRevalidator"),r=c.useCallback(async()=>{await e.router.revalidate()},[e.router]);return c.useMemo(()=>({revalidate:r,state:t.revalidation}),[r,t.revalidation])}function Cr(){let{matches:e,loaderData:t}=Ye("useMatches");return c.useMemo(()=>e.map(r=>Ta(r,t)),[e,t])}function sn(){let e=Ye("useLoaderData"),t=et("useLoaderData");return e.loaderData[t]}function un(){let e=Ye("useActionData"),t=et("useLoaderData");return e.actionData?e.actionData[t]:void 0}function Dr(){let e=c.useContext(Lr),t=Ye("useRouteError"),r=et("useRouteError");return e!==void 0?e:t.errors?.[r]}function bi(){return c.useContext(At)?._data}function Si(){let{router:e}=ln("useNavigate"),t=et("useNavigate"),r=c.useRef(!1);return tn(()=>{r.current=!0}),c.useCallback(async(n,o={})=>{Q(r.current,en),r.current&&(typeof n=="number"?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))},[e,t])}var ga={};function cn(e,t,r){!t&&!ga[e]&&(ga[e]=!0,Q(!1,r))}function ms(...e){const t=et("useRoute"),r=e[0]??t,a=Ye("useRoute"),n=a.matches.find(({route:o})=>o.id===r);if(n!==void 0)return{handle:n.route.handle,loaderData:a.loaderData[r],actionData:a.actionData?.[r]}}var wa={};function ur(e,t){!e&&!wa[t]&&(wa[t]=!0,console.warn(t))}var xi="useOptimistic",Ea=Gn[xi],Li=()=>{};function Pi(e){return Ea?Ea(e):[e,Li]}function ps(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&Q(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:c.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Q(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:c.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Q(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:c.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var ys=["HydrateFallback","hydrateFallbackElement"],Ci=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",t(r))}})}};function vs({router:e,flushSync:t,onError:r,unstable_useTransitions:a}){a=br()||a;let[o,i]=c.useState(e.state),[l,s]=Pi(o),[u,h]=c.useState(),[d,p]=c.useState({isTransitioning:!1}),[g,E]=c.useState(),[R,y]=c.useState(),[L,b]=c.useState(),P=c.useRef(new Map),D=c.useCallback((N,{deletedFetchers:H,newErrors:G,flushSync:z,viewTransitionOpts:X})=>{G&&r&&Object.values(G).forEach($=>r($,{location:N.location,params:N.matches[0]?.params??{},unstable_pattern:Ze(N.matches)})),N.fetchers.forEach(($,K)=>{$.data!==void 0&&P.current.set(K,$.data)}),H.forEach($=>P.current.delete($)),ur(z===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let te=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(ur(X==null||te,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!X||!te){t&&z?t(()=>i(N)):a===!1?i(N):c.startTransition(()=>{a===!0&&s($=>Ra($,N)),i(N)});return}if(t&&z){t(()=>{R&&(g?.resolve(),R.skipTransition()),p({isTransitioning:!0,flushSync:!0,currentLocation:X.currentLocation,nextLocation:X.nextLocation})});let $=e.window.document.startViewTransition(()=>{t(()=>i(N))});$.finished.finally(()=>{t(()=>{E(void 0),y(void 0),h(void 0),p({isTransitioning:!1})})}),t(()=>y($));return}R?(g?.resolve(),R.skipTransition(),b({state:N,currentLocation:X.currentLocation,nextLocation:X.nextLocation})):(h(N),p({isTransitioning:!0,flushSync:!1,currentLocation:X.currentLocation,nextLocation:X.nextLocation}))},[e.window,t,R,g,a,s,r]);c.useLayoutEffect(()=>e.subscribe(D),[e,D]);let C=l.initialized;c.useLayoutEffect(()=>{!C&&e.state.initialized&&D(e.state,{deletedFetchers:[],flushSync:!1,newErrors:null})},[C,D,e.state]),c.useEffect(()=>{d.isTransitioning&&!d.flushSync&&E(new Ci)},[d]),c.useEffect(()=>{if(g&&u&&e.window){let N=u,H=g.promise,G=e.window.document.startViewTransition(async()=>{a===!1?i(N):c.startTransition(()=>{a===!0&&s(z=>Ra(z,N)),i(N)}),await H});G.finished.finally(()=>{E(void 0),y(void 0),h(void 0),p({isTransitioning:!1})}),y(G)}},[u,g,e.window,a,s]),c.useEffect(()=>{g&&u&&l.location.key===u.location.key&&g.resolve()},[g,R,l.location,u]),c.useEffect(()=>{!d.isTransitioning&&L&&(h(L.state),p({isTransitioning:!0,flushSync:!1,currentLocation:L.currentLocation,nextLocation:L.nextLocation}),b(void 0))},[d.isTransitioning,L]);let T=c.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:N=>e.navigate(N),push:(N,H,G)=>e.navigate(N,{state:H,preventScrollReset:G?.preventScrollReset}),replace:(N,H,G)=>e.navigate(N,{replace:!0,state:H,preventScrollReset:G?.preventScrollReset})}),[e]),U=e.basename||"/",w=c.useMemo(()=>({router:e,navigator:T,static:!1,basename:U,onError:r}),[e,T,U,r]);return c.createElement(c.Fragment,null,c.createElement(Ne.Provider,{value:w},c.createElement(Ve.Provider,{value:l},c.createElement(xr.Provider,{value:P.current},c.createElement(Sr.Provider,{value:d},c.createElement(Oi,{basename:U,location:l.location,navigationType:l.historyAction,navigator:T,unstable_useTransitions:a},c.createElement(Di,{routes:e.routes,future:e.future,state:l,isStatic:!1,onError:r})))))),null)}function Ra(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}var Di=c.memo(Mi);function Mi({routes:e,future:t,state:r,isStatic:a,onError:n}){return hi(e,void 0,{state:r,isStatic:a,onError:n})}function gs(e){return fi(e.context)}function Ti(e){j(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Oi({basename:e="/",children:t=null,location:r,navigationType:a="POP",navigator:n,static:o=!1,unstable_useTransitions:i}){j(!pt(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),s=c.useMemo(()=>({basename:l,navigator:n,static:o,unstable_useTransitions:i,future:{}}),[l,n,o,i]);typeof r=="string"&&(r=Le(r));let{pathname:u="/",search:h="",hash:d="",state:p=null,key:g="default",unstable_mask:E}=r,R=c.useMemo(()=>{let y=ve(u,l);return y==null?null:{location:{pathname:y,search:h,hash:d,state:p,key:g,unstable_mask:E},navigationType:a}},[l,u,h,d,p,g,a,E]);return Q(R!=null,`<Router basename="${l}"> is not able to match the URL "${u}${h}${d}" because it does not start with the basename, so the <Router> won't render anything.`),R==null?null:c.createElement(ce.Provider,{value:s},c.createElement(mt.Provider,{children:t,value:R}))}function ws({children:e,errorElement:t,resolve:r}){let a=c.useContext(Ne),n=c.useContext(Ve),o=c.useCallback((i,l)=>{a&&a.onError&&n&&a.onError(i,{location:n.location,params:n.matches[0]?.params||{},unstable_pattern:Ze(n.matches),errorInfo:l})},[a,n]);return c.createElement(Fi,{resolve:r,errorElement:t,onError:o},c.createElement(ki,null,e))}var Fi=class extends c.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("<Await> caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,a=null,n=0;if(!(r instanceof Promise))n=1,a=Promise.resolve(),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_data",{get:()=>r});else if(this.state.error){n=2;let o=this.state.error;a=Promise.reject().catch(()=>{}),Object.defineProperty(a,"_tracked",{get:()=>!0}),Object.defineProperty(a,"_error",{get:()=>o})}else r._tracked?(a=r,n="_error"in a?2:"_data"in a?1:0):(n=0,Object.defineProperty(r,"_tracked",{get:()=>!0}),a=r.then(o=>Object.defineProperty(r,"_data",{get:()=>o}),o=>{this.props.onError?.(o),Object.defineProperty(r,"_error",{get:()=>o})}));if(n===2&&!t)throw a._error;if(n===2)return c.createElement(At.Provider,{value:a,children:t});if(n===1)return c.createElement(At.Provider,{value:a,children:e});throw a}};function ki({children:e}){let t=bi(),r=typeof e=="function"?e(t):e;return c.createElement(c.Fragment,null,r)}function ba(e,t=[]){let r=[];return c.Children.forEach(e,(a,n)=>{if(!c.isValidElement(a))return;let o=[...t,n];if(a.type===c.Fragment){r.push.apply(r,ba(a.props.children,o));return}j(a.type===Ti,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),j(!a.props.index||!a.props.children,"An index route cannot have child routes.");let i={id:a.props.id||o.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(i.children=ba(a.props.children,o)),r.push(i)}),r}function _i(){return{params:nn(),loaderData:sn(),actionData:un(),matches:Cr()}}function Es(e){return function(){const r=_i();return c.createElement(e,r)}}function Ii(){return{params:nn(),loaderData:sn(),actionData:un(),error:Dr()}}function Rs(e){return function(){const r=Ii();return c.createElement(e,r)}}var Ft="get",kt="application/x-www-form-urlencoded";function Ht(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Ni(e){return Ht(e)&&e.tagName.toLowerCase()==="button"}function Ai(e){return Ht(e)&&e.tagName.toLowerCase()==="form"}function $i(e){return Ht(e)&&e.tagName.toLowerCase()==="input"}function ji(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ui(e,t){return e.button===0&&(!t||t==="_self")&&!ji(e)}function cr(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let a=e[r];return t.concat(Array.isArray(a)?a.map(n=>[r,n]):[[r,a]])},[]))}function zi(e,t){let r=cr(e);return t&&t.forEach((a,n)=>{r.has(n)||t.getAll(n).forEach(o=>{r.append(n,o)})}),r}var Pt=null;function Hi(){if(Pt===null)try{new FormData(document.createElement("form"),0),Pt=!1}catch{Pt=!0}return Pt}var Bi=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function rr(e){return e!=null&&!Bi.has(e)?(Q(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${kt}"`),null):e}function Wi(e,t){let r,a,n,o,i;if(Ai(e)){let l=e.getAttribute("action");a=l?ve(l,t):null,r=e.getAttribute("method")||Ft,n=rr(e.getAttribute("enctype"))||kt,o=new FormData(e)}else if(Ni(e)||$i(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||l.getAttribute("action");if(a=s?ve(s,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||Ft,n=rr(e.getAttribute("formenctype"))||rr(l.getAttribute("enctype"))||kt,o=new FormData(l,e),!Hi()){let{name:u,type:h,value:d}=e;if(h==="image"){let p=u?`${u}.`:"";o.append(`${p}x`,"0"),o.append(`${p}y`,"0")}else u&&o.append(u,d)}}else{if(Ht(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Ft,a=null,n=kt,i=e}return o&&n==="text/plain"&&(i=o,o=void 0),{action:a,method:r.toLowerCase(),encType:n,formData:o,body:i}}var Vi=-1,Yi=-2,Ji=-3,Ki=-4,Gi=-5,Xi=-6,qi=-7,Qi="B",Zi="D",dn="E",el="M",tl="N",fn="P",rl="R",al="S",nl="Y",ol="U",il="Z",hn=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],mn=class{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function ll(){const e=new TextDecoder;let t="";return new TransformStream({transform(r,a){const n=e.decode(r,{stream:!0}),o=(t+n).split(`
5
- `);t=o.pop()||"";for(const i of o)a.enqueue(i)},flush(r){t&&r.enqueue(t)}})}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Ct=typeof window<"u"?window:typeof globalThis<"u"?globalThis:void 0;function dr(e){const{hydrated:t,values:r}=this;if(typeof e=="number")return Sa.call(this,e);if(!Array.isArray(e)||!e.length)throw new SyntaxError;const a=r.length;for(const n of e)r.push(n);return t.length=r.length,Sa.call(this,a)}function Sa(e){const{hydrated:t,values:r,deferred:a,plugins:n}=this;let o;const i=[[e,s=>{o=s}]];let l=[];for(;i.length>0;){const[s,u]=i.pop();switch(s){case qi:u(void 0);continue;case Gi:u(null);continue;case Yi:u(NaN);continue;case Xi:u(1/0);continue;case Ji:u(-1/0);continue;case Ki:u(-0);continue}if(t[s]){u(t[s]);continue}const h=r[s];if(!h||typeof h!="object"){t[s]=h,u(h);continue}if(Array.isArray(h))if(typeof h[0]=="string"){const[d,p,g]=h;switch(d){case Zi:u(t[s]=new Date(p));continue;case ol:u(t[s]=new URL(p));continue;case Qi:u(t[s]=BigInt(p));continue;case rl:u(t[s]=new RegExp(p,g));continue;case nl:u(t[s]=Symbol.for(p));continue;case al:const E=new Set;t[s]=E;for(let D=h.length-1;D>0;D--)i.push([h[D],C=>{E.add(C)}]);u(E);continue;case el:const R=new Map;t[s]=R;for(let D=h.length-2;D>0;D-=2){const C=[];i.push([h[D+1],T=>{C[1]=T}]),i.push([h[D],T=>{C[0]=T}]),l.push(()=>{R.set(C[0],C[1])})}u(R);continue;case tl:const y=Object.create(null);t[s]=y;for(const D of Object.keys(p).reverse()){const C=[];i.push([p[D],T=>{C[1]=T}]),i.push([Number(D.slice(1)),T=>{C[0]=T}]),l.push(()=>{y[C[0]]=C[1]})}u(y);continue;case fn:if(t[p])u(t[s]=t[p]);else{const D=new mn;a[p]=D,u(t[s]=D.promise)}continue;case dn:const[,L,b]=h;let P=b&&Ct&&hn.includes(b)&&b in Ct&&typeof Ct[b]=="function"?new Ct[b](L):new Error(L);t[s]=P,u(P);continue;case il:u(t[s]=t[p]);continue;default:if(Array.isArray(n)){const D=[],C=h.slice(1);for(let T=0;T<C.length;T++){const U=C[T];i.push([U,w=>{D[T]=w}])}l.push(()=>{for(const T of n){const U=T(h[0],...D);if(U){u(t[s]=U.value);return}}throw new SyntaxError});continue}throw new SyntaxError}}else{const d=[];t[s]=d;for(let p=0;p<h.length;p++){const g=h[p];g!==Vi&&i.push([g,E=>{d[p]=E}])}u(d);continue}else{const d={};t[s]=d;for(const p of Object.keys(h).reverse()){const g=[];i.push([h[p],E=>{g[1]=E}]),i.push([Number(p.slice(1)),E=>{g[0]=E}]),l.push(()=>{d[g[0]]=g[1]})}u(d);continue}}for(;l.length>0;)l.pop()();return o}async function sl(e,t){const{plugins:r}=t??{},a=new mn,n=e.pipeThrough(ll()).getReader(),o={values:[],hydrated:[],deferred:{},plugins:r},i=await ul.call(o,n);let l=a.promise;return i.done?a.resolve():l=cl.call(o,n).then(a.resolve).catch(s=>{for(const u of Object.values(o.deferred))u.reject(s);a.reject(s)}),{done:l.then(()=>n.closed),value:i.value}}async function ul(e){const t=await e.read();if(!t.value)throw new SyntaxError;let r;try{r=JSON.parse(t.value)}catch{throw new SyntaxError}return{done:t.done,value:dr.call(this,r)}}async function cl(e){let t=await e.read();for(;!t.done;){if(!t.value)continue;const r=t.value;switch(r[0]){case fn:{const a=r.indexOf(":"),n=Number(r.slice(1,a)),o=this.deferred[n];if(!o)throw new Error(`Deferred ID ${n} not found in stream`);const i=r.slice(a+1);let l;try{l=JSON.parse(i)}catch{throw new SyntaxError}const s=dr.call(this,l);o.resolve(s);break}case dn:{const a=r.indexOf(":"),n=Number(r.slice(1,a)),o=this.deferred[n];if(!o)throw new Error(`Deferred ID ${n} not found in stream`);const i=r.slice(a+1);let l;try{l=JSON.parse(i)}catch{throw new SyntaxError}const s=dr.call(this,l);o.reject(s);break}default:throw new SyntaxError}t=await e.read()}}async function dl(e){let t={signal:e.signal};if(e.method!=="GET"){t.method=e.method;let r=e.headers.get("Content-Type");r&&/\bapplication\/json\b/.test(r)?(t.headers={"Content-Type":r},t.body=JSON.stringify(await e.json())):r&&/\btext\/plain\b/.test(r)?(t.headers={"Content-Type":r},t.body=await e.text()):r&&/\bapplication\/x-www-form-urlencoded\b/.test(r)?t.body=new URLSearchParams(await e.text()):t.body=await e.formData()}return t}var fl={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},hl=/[&><\u2028\u2029]/g;function fr(e){return e.replace(hl,t=>fl[t])}function ue(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}var hr=Symbol("SingleFetchRedirect"),pn=class extends Error{},ml=202,pl=new Set([100,101,204,205]);function bs(e,t,r,a,n,o){let i=yl(e,l=>{let s=t.routes[l.route.id];ue(s,"Route not found in manifest");let u=r[l.route.id];return{hasLoader:s.hasLoader,hasClientLoader:s.hasClientLoader,hasShouldRevalidate:!!u?.shouldRevalidate}},Sl,a,n,o);return async l=>l.runClientMiddleware(i)}function yl(e,t,r,a,n,o,i=()=>!0){return async l=>{let{request:s,matches:u,fetcherKey:h}=l,d=e();if(s.method!=="GET")return vl(l,r,n,o);let p=u.some(g=>{let{hasLoader:E,hasClientLoader:R}=t(g);return g.shouldCallHandler()&&E&&!R});return!a&&!p?gl(l,t,r,n,o):h?Rl(l,r,n,o):wl(l,d,t,r,a,n,o,i)}}async function vl(e,t,r,a){let n=e.matches.find(l=>l.shouldCallHandler());ue(n,"No action match found");let o,i=await n.resolve(async l=>await l(async()=>{let{data:u,status:h}=await t(e,r,a,[n.route.id]);return o=h,ht(u,n.route.id)}));return zt(i.result)||We(i.result)||sr(i.result)?{[n.route.id]:i}:{[n.route.id]:{type:i.type,result:So(i.result,o)}}}async function gl(e,t,r,a,n){let o=e.matches.filter(l=>l.shouldCallHandler()),i={};return await Promise.all(o.map(l=>l.resolve(async s=>{try{let{hasClientLoader:u}=t(l),h=l.route.id,d=u?await s(async()=>{let{data:p}=await r(e,a,n,[h]);return ht(p,h)}):await s();i[l.route.id]={type:"data",result:d}}catch(u){i[l.route.id]={type:"error",result:u}}}))),i}async function wl(e,t,r,a,n,o,i,l=()=>!0){let s=new Set,u=!1,h=e.matches.map(()=>xa()),d=xa(),p={},g=Promise.all(e.matches.map(async(R,y)=>R.resolve(async L=>{h[y].resolve();let b=R.route.id,{hasLoader:P,hasClientLoader:D,hasShouldRevalidate:C}=r(R),T=!R.shouldRevalidateArgs||R.shouldRevalidateArgs.actionStatus==null||R.shouldRevalidateArgs.actionStatus<400;if(!R.shouldCallHandler(T)){u||(u=R.shouldRevalidateArgs!=null&&P&&C===!0);return}if(l(R)&&D){P&&(u=!0);try{let w=await L(async()=>{let{data:N}=await a(e,o,i,[b]);return ht(N,b)});p[b]={type:"data",result:w}}catch(w){p[b]={type:"error",result:w}}return}P&&s.add(b);try{let w=await L(async()=>{let N=await d.promise;return ht(N,b)});p[b]={type:"data",result:w}}catch(w){p[b]={type:"error",result:w}}})));if(await Promise.all(h.map(R=>R.promise)),(!t.state.initialized&&t.state.navigation.state==="idle"||s.size===0)&&!window.__reactRouterHdrActive)d.resolve({routes:{}});else{let R=n&&u&&s.size>0?[...s.keys()]:void 0;try{let y=await a(e,o,i,R);d.resolve(y.data)}catch(y){d.reject(y)}}return await g,await El(d.promise,e.matches,s,p),p}async function El(e,t,r,a){try{let n,o=await e;if("routes"in o){for(let i of t)if(i.route.id in o.routes){let l=o.routes[i.route.id];if("error"in l){n=l.error,a[i.route.id]?.result==null&&(a[i.route.id]={type:"error",result:n});break}}}n!==void 0&&Array.from(r.values()).forEach(i=>{a[i].result instanceof pn&&(a[i].result=n)})}catch{}}async function Rl(e,t,r,a){let n=e.matches.find(l=>l.shouldCallHandler());ue(n,"No fetcher match found");let o=n.route.id,i=await n.resolve(async l=>l(async()=>{let{data:s}=await t(e,r,a,[o]);return ht(s,o)}));return{[n.route.id]:i}}function bl(e){let t=e.searchParams.getAll("index");e.searchParams.delete("index");let r=[];for(let a of t)a&&r.push(a);for(let a of r)e.searchParams.append("index",a);return e}function Mr(e,t,r,a){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?n.pathname.endsWith("/")?n.pathname=`${n.pathname}_.${a}`:n.pathname=`${n.pathname}.${a}`:n.pathname==="/"?n.pathname=`_root.${a}`:t&&ve(n.pathname,t)==="/"?n.pathname=`${Nt(t)}/_root.${a}`:n.pathname=`${Nt(n.pathname)}.${a}`,n}async function Sl(e,t,r,a){let{request:n}=e,o=Mr(n.url,t,r,"data");n.method==="GET"&&(o=bl(o),a&&o.searchParams.set("_routes",a.join(",")));let i=await fetch(o,await dl(n));if(i.status>=400&&!i.headers.has("X-Remix-Response"))throw new Ie(i.status,i.statusText,await i.text());if(i.status===204&&i.headers.has("X-Remix-Redirect"))return{status:ml,data:{redirect:{redirect:i.headers.get("X-Remix-Redirect"),status:Number(i.headers.get("X-Remix-Status")||"302"),revalidate:i.headers.get("X-Remix-Revalidate")==="true",reload:i.headers.get("X-Remix-Reload-Document")==="true",replace:i.headers.get("X-Remix-Replace")==="true"}}};if(pl.has(i.status)){let l={};return a&&n.method!=="GET"&&(l[a[0]]={data:void 0}),{status:i.status,data:{routes:l}}}ue(i.body,"No response body to decode");try{let l=await xl(i.body,window),s;if(n.method==="GET"){let u=l.value;hr in u?s={redirect:u[hr]}:s={routes:u}}else{let u=l.value,h=a?.[0];ue(h,"No routeId found for single fetch call decoding"),"redirect"in u?s={redirect:u}:s={routes:{[h]:u}}}return{status:i.status,data:s}}catch{throw new Error("Unable to decode turbo-stream response")}}function xl(e,t){return sl(e,{plugins:[(r,...a)=>{if(r==="SanitizedError"){let[n,o,i]=a,l=Error;n&&hn.includes(n)&&n in t&&typeof t[n]=="function"&&(l=t[n]);let s=new l(o);return s.stack=i,{value:s}}if(r==="ErrorResponse"){let[n,o,i]=a;return{value:new Ie(o,i,n)}}if(r==="SingleFetchRedirect")return{value:{[hr]:a[0]}};if(r==="SingleFetchClassInstance")return{value:a[0]};if(r==="SingleFetchFallback")return{value:void 0}}]})}function ht(e,t){if("redirect"in e){let{redirect:a,revalidate:n,reload:o,replace:i,status:l}=e.redirect;throw xo(a,{status:l,headers:{...n?{"X-Remix-Revalidate":"yes"}:null,...o?{"X-Remix-Reload-Document":"yes"}:null,...i?{"X-Remix-Replace":"yes"}:null}})}let r=e.routes[t];if(r==null)throw new pn(`No result found for routeId "${t}"`);if("error"in r)throw r.error;if("data"in r)return r.data;throw new Error(`Invalid response found for routeId "${t}"`)}function xa(){let e,t,r=new Promise((a,n)=>{e=async o=>{a(o);try{await r}catch{}},t=async o=>{n(o);try{await r}catch{}}});return{promise:r,resolve:e,reject:t}}async function yn(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Ll(e,t,r){let a=e.map(o=>{let i=t[o.route.id],l=r.routes[o.route.id];return[l&&l.css?l.css.map(s=>({rel:"stylesheet",href:s})):[],i?.links?.()||[]]}).flat(2),n=Or(e,r);return En(a,n)}function vn(e){return e.css?e.css.map(t=>({rel:"stylesheet",href:t})):[]}async function Pl(e){if(!e.css)return;let t=vn(e);await Promise.all(t.map(wn))}async function gn(e,t){if(!e.css&&!t.links||!Ol())return;let r=[];if(e.css&&r.push(...vn(e)),t.links&&r.push(...t.links()),r.length===0)return;let a=[];for(let n of r)!Tr(n)&&n.rel==="stylesheet"&&a.push({...n,rel:"preload",as:"style"});await Promise.all(a.map(wn))}async function wn(e){return new Promise(t=>{if(e.media&&!window.matchMedia(e.media).matches||document.querySelector(`link[rel="stylesheet"][href="${e.href}"]`))return t();let r=document.createElement("link");Object.assign(r,e);function a(){document.head.contains(r)&&document.head.removeChild(r)}r.onload=()=>{a(),t()},r.onerror=()=>{a(),t()},document.head.appendChild(r)})}function Tr(e){return e!=null&&typeof e.page=="string"}function Cl(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Dl(e,t,r){let a=await Promise.all(e.map(async n=>{let o=t.routes[n.route.id];if(o){let i=await yn(o,r);return i.links?i.links():[]}return[]}));return En(a.flat(1).filter(Cl).filter(n=>n.rel==="stylesheet"||n.rel==="preload").map(n=>n.rel==="stylesheet"?{...n,rel:"prefetch",as:"style"}:{...n,rel:"prefetch"}))}function La(e,t,r,a,n,o){let i=(s,u)=>r[u]?s.route.id!==r[u].route.id:!0,l=(s,u)=>r[u].pathname!==s.pathname||r[u].route.path?.endsWith("*")&&r[u].params["*"]!==s.params["*"];return o==="assets"?t.filter((s,u)=>i(s,u)||l(s,u)):o==="data"?t.filter((s,u)=>{let h=a.routes[s.route.id];if(!h||!h.hasLoader)return!1;if(i(s,u)||l(s,u))return!0;if(s.route.shouldRevalidate){let d=s.route.shouldRevalidate({currentUrl:new URL(n.pathname+n.search+n.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:s.params,defaultShouldRevalidate:!0});if(typeof d=="boolean")return d}return!0}):[]}function Or(e,t,{includeHydrateFallback:r}={}){return Ml(e.map(a=>{let n=t.routes[a.route.id];if(!n)return[];let o=[n.module];return n.clientActionModule&&(o=o.concat(n.clientActionModule)),n.clientLoaderModule&&(o=o.concat(n.clientLoaderModule)),r&&n.hydrateFallbackModule&&(o=o.concat(n.hydrateFallbackModule)),n.imports&&(o=o.concat(n.imports)),o}).flat(1))}function Ml(e){return[...new Set(e)]}function Tl(e){let t={},r=Object.keys(e).sort();for(let a of r)t[a]=e[a];return t}function En(e,t){let r=new Set,a=new Set(t);return e.reduce((n,o)=>{if(t&&!Tr(o)&&o.as==="script"&&o.href&&a.has(o.href))return n;let l=JSON.stringify(Tl(o));return r.has(l)||(r.add(l),n.push({key:l,link:o})),n},[])}var Dt;function Ol(){if(Dt!==void 0)return Dt;let e=document.createElement("link");return Dt=e.relList.supports("preload"),e=null,Dt}function Fl(){return c.createElement(mr,{title:"Loading...",renderScripts:!0},c.createElement("script",{dangerouslySetInnerHTML:{__html:`
6
- console.log(
7
- "💿 Hey developer 👋. You can provide a way better UX than this " +
8
- "when your app is loading JS modules and/or running \`clientLoader\` " +
9
- "functions. Check out https://reactrouter.com/start/framework/route-module#hydratefallback " +
10
- "for more information."
11
- );
12
- `}}))}function Rn(e){let t={};return Object.values(e).forEach(r=>{if(r){let a=r.parentId||"";t[a]||(t[a]=[]),t[a].push(r)}}),t}function kl(e,t,r){let a=bn(t),n=t.HydrateFallback&&(!r||e.id==="root")?t.HydrateFallback:e.id==="root"?Fl:void 0,o=t.ErrorBoundary?t.ErrorBoundary:e.id==="root"?()=>c.createElement(Ln,{error:Dr()}):void 0;return e.id==="root"&&t.Layout?{...a?{element:c.createElement(t.Layout,null,c.createElement(a,null))}:{Component:a},...o?{errorElement:c.createElement(t.Layout,null,c.createElement(o,null))}:{ErrorBoundary:o},...n?{hydrateFallbackElement:c.createElement(t.Layout,null,c.createElement(n,null))}:{HydrateFallback:n}}:{Component:a,ErrorBoundary:o,HydrateFallback:n}}function Ss(e,t,r,a,n,o){return Fr(t,r,a,n,o,"",Rn(t),e)}function Mt(e,t){if(e==="loader"&&!t.hasLoader||e==="action"&&!t.hasAction){let a=`You are trying to call ${e==="action"?"serverAction()":"serverLoader()"} on a route that does not have a server ${e} (routeId: "${t.id}")`;throw console.error(a),new Ie(400,"Bad Request",new Error(a),!0)}}function ar(e,t){let r=e==="clientAction"?"a":"an",a=`Route "${t}" does not have ${r} ${e}, but you are trying to submit to it. To fix this, please add ${r} \`${e}\` function to the route`;throw console.error(a),new Ie(405,"Method Not Allowed",new Error(a),!0)}function Fr(e,t,r,a,n,o="",i=Rn(e),l){return(i[o]||[]).map(s=>{let u=t[s.id];function h(b){return ue(typeof b=="function","No single fetch function available for route handler"),b()}function d(b){return s.hasLoader?h(b):Promise.resolve(null)}function p(b){if(!s.hasAction)throw ar("action",s.id);return h(b)}function g(b){import(b)}function E(b){b.clientActionModule&&g(b.clientActionModule),b.clientLoaderModule&&g(b.clientLoaderModule)}async function R(b){let P=t[s.id],D=P?gn(s,P):Promise.resolve();try{return b()}finally{await D}}let y={id:s.id,index:s.index,path:s.path};if(u){Object.assign(y,{...y,...kl(s,u,n),middleware:u.clientMiddleware,handle:u.handle,shouldRevalidate:Pa(y.path,u,s,a,l)});let b=r&&r.loaderData&&s.id in r.loaderData,P=b?r?.loaderData?.[s.id]:void 0,D=r&&r.errors&&s.id in r.errors,C=D?r?.errors?.[s.id]:void 0,T=l==null&&(u.clientLoader?.hydrate===!0||!s.hasLoader);y.loader=async({request:U,params:w,context:N,unstable_pattern:H,unstable_url:G},z)=>{try{return await R(async()=>(ue(u,"No `routeModule` available for critical-route loader"),u.clientLoader?u.clientLoader({request:U,params:w,context:N,unstable_pattern:H,unstable_url:G,async serverLoader(){if(Mt("loader",s),T){if(b)return P;if(D)throw C}return d(z)}}):d(z)))}finally{T=!1}},y.loader.hydrate=Nl(s.id,u.clientLoader,s.hasLoader,n),y.action=({request:U,params:w,context:N,unstable_pattern:H,unstable_url:G},z)=>R(async()=>{if(ue(u,"No `routeModule` available for critical-route action"),!u.clientAction){if(n)throw ar("clientAction",s.id);return p(z)}return u.clientAction({request:U,params:w,context:N,unstable_pattern:H,unstable_url:G,async serverAction(){return Mt("action",s),p(z)}})})}else{s.hasClientLoader||(y.loader=(D,C)=>R(()=>d(C))),s.hasClientAction||(y.action=(D,C)=>R(()=>{if(n)throw ar("clientAction",s.id);return p(C)}));let b;async function P(){return b?await b:(b=(async()=>{(s.clientLoaderModule||s.clientActionModule)&&await new Promise(C=>setTimeout(C,0));let D=Il(s,t);return E(s),await D})(),await b)}y.lazy={loader:s.hasClientLoader?async()=>{let{clientLoader:D}=s.clientLoaderModule?await import(s.clientLoaderModule):await P();return ue(D,"No `clientLoader` export found"),(C,T)=>D({...C,async serverLoader(){return Mt("loader",s),d(T)}})}:void 0,action:s.hasClientAction?async()=>{let D=s.clientActionModule?import(s.clientActionModule):P();E(s);let{clientAction:C}=await D;return ue(C,"No `clientAction` export found"),(T,U)=>C({...T,async serverAction(){return Mt("action",s),p(U)}})}:void 0,middleware:s.hasClientMiddleware?async()=>{let{clientMiddleware:D}=s.clientMiddlewareModule?await import(s.clientMiddlewareModule):await P();return ue(D,"No `clientMiddleware` export found"),D}:void 0,shouldRevalidate:async()=>{let D=await P();return Pa(y.path,D,s,a,l)},handle:async()=>(await P()).handle,Component:async()=>(await P()).Component,ErrorBoundary:s.hasErrorBoundary?async()=>(await P()).ErrorBoundary:void 0}}let L=Fr(e,t,r,a,n,s.id,i,l);return L.length>0&&(y.children=L),y})}function Pa(e,t,r,a,n){if(n)return _l(r.id,t.shouldRevalidate,n);if(!a&&r.hasLoader&&!r.hasClientLoader){let o=e?ka(e)[1].map(l=>l.paramName):[];const i=l=>o.some(s=>l.currentParams[s]!==l.nextParams[s]);if(t.shouldRevalidate){let l=t.shouldRevalidate;return s=>l({...s,defaultShouldRevalidate:i(s)})}else return l=>i(l)}return t.shouldRevalidate}function _l(e,t,r){let a=!1;return n=>a?t?t(n):n.defaultShouldRevalidate:(a=!0,r.has(e))}async function Il(e,t){let r=yn(e,t),a=Pl(e),n=await r;return await Promise.all([a,gn(e,n)]),{Component:bn(n),ErrorBoundary:n.ErrorBoundary,clientMiddleware:n.clientMiddleware,clientAction:n.clientAction,clientLoader:n.clientLoader,handle:n.handle,links:n.links,meta:n.meta,shouldRevalidate:n.shouldRevalidate}}function bn(e){if(e.default==null)return;if(!(typeof e.default=="object"&&Object.keys(e.default).length===0))return e.default}function Nl(e,t,r,a){return a&&e!=="root"||t!=null&&(t.hydrate===!0||r!==!0)}var _t=new Set,Al=1e3,$t=new Set,$l=7680;function kr(e,t){return e.mode==="lazy"&&t===!0}function jl({sri:e,...t},r){let a=new Set(r.state.matches.map(l=>l.route.id)),n=r.state.location.pathname.split("/").filter(Boolean),o=["/"];for(n.pop();n.length>0;)o.push(`/${n.join("/")}`),n.pop();o.forEach(l=>{let s=Te(r.routes,l,r.basename);s&&s.forEach(u=>a.add(u.route.id))});let i=[...a].reduce((l,s)=>Object.assign(l,{[s]:t.routes[s]}),{});return{...t,routes:i,sri:e?!0:void 0}}function xs(e,t,r,a,n,o,i){if(kr(n,a))return async({path:l,patch:s,signal:u,fetcherKey:h})=>{if($t.has(l))return;let{state:d}=e();await Sn([l],h?window.location.href:Re(d.navigation.location||d.location),t,r,a,o,i,n.manifestPath,s,u)}}function Ls(e,t,r,a,n,o){c.useEffect(()=>{if(!kr(n,a)||window.navigator?.connection?.saveData===!0)return;function i(h){let d=h.tagName==="FORM"?h.getAttribute("action"):h.getAttribute("href");if(!d)return;let p=h.tagName==="A"?h.pathname:new URL(d,window.location.origin).pathname;$t.has(p)||_t.add(p)}async function l(){document.querySelectorAll("a[data-discover], form[data-discover]").forEach(i);let h=Array.from(_t.keys()).filter(d=>$t.has(d)?(_t.delete(d),!1):!0);if(h.length!==0)try{await Sn(h,null,t,r,a,o,e.basename,n.manifestPath,e.patchRoutes)}catch(d){console.error("Failed to fetch manifest patches",d)}}let s=Hl(l,100);l();let u=new MutationObserver(()=>s());return u.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-discover","href","action"]}),()=>u.disconnect()},[a,o,t,r,e,n])}function Ul(e,t){let r=e||"/__manifest";return t==null?r:ye([t,r])}var nr="react-router-manifest-version";async function Sn(e,t,r,a,n,o,i,l,s,u){const h=new URLSearchParams;h.set("paths",e.sort().join(",")),h.set("version",r.version);let d=new URL(Ul(l,i),window.location.origin);if(d.search=h.toString(),d.toString().length>$l){_t.clear();return}let p;try{let y=await fetch(d,{signal:u});if(y.ok){if(y.status===204&&y.headers.has("X-Remix-Reload-Document")){if(!t){console.warn("Detected a manifest version mismatch during eager route discovery. The next navigation/fetch to an undiscovered route will result in a new document navigation to sync up with the latest manifest.");return}try{if(sessionStorage.getItem(nr)===r.version){console.error("Unable to discover routes due to manifest version mismatch.");return}sessionStorage.setItem(nr,r.version)}catch{}window.location.href=t,console.warn("Detected manifest version mismatch, reloading..."),await new Promise(()=>{})}else if(y.status>=400)throw new Error(await y.text())}else throw new Error(`${y.status} ${y.statusText}`);try{sessionStorage.removeItem(nr)}catch{}p=await y.json()}catch(y){if(u?.aborted)return;throw y}let g=new Set(Object.keys(r.routes)),E=Object.values(p).reduce((y,L)=>(L&&!g.has(L.id)&&(y[L.id]=L),y),{});Object.assign(r.routes,E),e.forEach(y=>zl(y,$t));let R=new Set;Object.values(E).forEach(y=>{y&&(!y.parentId||!E[y.parentId])&&R.add(y.parentId)}),R.forEach(y=>s(y||null,Fr(E,a,null,n,o,y)))}function zl(e,t){if(t.size>=Al){let r=t.values().next().value;t.delete(r)}t.add(e)}function Hl(e,t){let r;return(...a)=>{window.clearTimeout(r),r=window.setTimeout(()=>e(...a),t)}}function Bt(){let e=c.useContext(Ne);return ue(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Wt(){let e=c.useContext(Ve);return ue(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Vt=c.createContext(void 0);Vt.displayName="FrameworkContext";function Je(){let e=c.useContext(Vt);return ue(e,"You must render this element inside a <HydratedRouter> element"),e}function Bl(e,t){let r=c.useContext(Vt),[a,n]=c.useState(!1),[o,i]=c.useState(!1),{onFocus:l,onBlur:s,onMouseEnter:u,onMouseLeave:h,onTouchStart:d}=t,p=c.useRef(null);c.useEffect(()=>{if(e==="render"&&i(!0),e==="viewport"){let R=L=>{L.forEach(b=>{i(b.isIntersecting)})},y=new IntersectionObserver(R,{threshold:.5});return p.current&&y.observe(p.current),()=>{y.disconnect()}}},[e]),c.useEffect(()=>{if(a){let R=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(R)}}},[a]);let g=()=>{n(!0)},E=()=>{n(!1),i(!1)};return r?e!=="intent"?[o,p,{}]:[o,p,{onFocus:lt(l,g),onBlur:lt(s,E),onMouseEnter:lt(u,g),onMouseLeave:lt(h,E),onTouchStart:lt(d,g)}]:[!1,p,{}]}function lt(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function _r(e,t,r){if(r&&!jt)return[e[0]];if(t){let a=e.findIndex(n=>t[n.route.id]!==void 0);return e.slice(0,a+1)}return e}var Ca="data-react-router-critical-css";function Ps({nonce:e,crossOrigin:t}){let{isSpaMode:r,manifest:a,routeModules:n,criticalCss:o}=Je(),{errors:i,matches:l}=Wt(),s=_r(l,i,r),u=c.useMemo(()=>Ll(s,n,a),[s,n,a]);return c.createElement(c.Fragment,null,typeof o=="string"?c.createElement("style",{[Ca]:"",nonce:e,dangerouslySetInnerHTML:{__html:o}}):null,typeof o=="object"?c.createElement("link",{[Ca]:"",rel:"stylesheet",href:o.href,nonce:e,crossOrigin:t}):null,u.map(({key:h,link:d})=>Tr(d)?c.createElement(xn,{key:h,nonce:e,...d,crossOrigin:d.crossOrigin??t}):c.createElement("link",{key:h,nonce:e,...d,crossOrigin:d.crossOrigin??t})))}function xn({page:e,...t}){let r=br(),{router:a}=Bt(),n=c.useMemo(()=>Te(a.routes,e,a.basename),[a.routes,e,a.basename]);return n?r?c.createElement(Vl,{page:e,matches:n,...t}):c.createElement(Yl,{page:e,matches:n,...t}):null}function Wl(e){let{manifest:t,routeModules:r}=Je(),[a,n]=c.useState([]);return c.useEffect(()=>{let o=!1;return Dl(e,t,r).then(i=>{o||n(i)}),()=>{o=!0}},[e,t,r]),a}function Vl({page:e,matches:t,...r}){let a=ge(),{future:n}=Je(),{basename:o}=Bt(),i=c.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let l=Mr(e,o,n.unstable_trailingSlashAwareDataRequests,"rsc"),s=!1,u=[];for(let h of t)typeof h.route.shouldRevalidate=="function"?s=!0:u.push(h.route.id);return s&&u.length>0&&l.searchParams.set("_routes",u.join(",")),[l.pathname+l.search]},[o,n.unstable_trailingSlashAwareDataRequests,e,a,t]);return c.createElement(c.Fragment,null,i.map(l=>c.createElement("link",{key:l,rel:"prefetch",as:"fetch",href:l,...r})))}function Yl({page:e,matches:t,...r}){let a=ge(),{future:n,manifest:o,routeModules:i}=Je(),{basename:l}=Bt(),{loaderData:s,matches:u}=Wt(),h=c.useMemo(()=>La(e,t,u,o,a,"data"),[e,t,u,o,a]),d=c.useMemo(()=>La(e,t,u,o,a,"assets"),[e,t,u,o,a]),p=c.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let R=new Set,y=!1;if(t.forEach(b=>{let P=o.routes[b.route.id];!P||!P.hasLoader||(!h.some(D=>D.route.id===b.route.id)&&b.route.id in s&&i[b.route.id]?.shouldRevalidate||P.hasClientLoader?y=!0:R.add(b.route.id))}),R.size===0)return[];let L=Mr(e,l,n.unstable_trailingSlashAwareDataRequests,"data");return y&&R.size>0&&L.searchParams.set("_routes",t.filter(b=>R.has(b.route.id)).map(b=>b.route.id).join(",")),[L.pathname+L.search]},[l,n.unstable_trailingSlashAwareDataRequests,s,a,o,h,t,e,i]),g=c.useMemo(()=>Or(d,o),[d,o]),E=Wl(d);return c.createElement(c.Fragment,null,p.map(R=>c.createElement("link",{key:R,rel:"prefetch",as:"fetch",href:R,...r})),g.map(R=>c.createElement("link",{key:R,rel:"modulepreload",href:R,...r})),E.map(({key:R,link:y})=>c.createElement("link",{key:R,nonce:r.nonce,...y,crossOrigin:y.crossOrigin??r.crossOrigin})))}function Cs(){let{isSpaMode:e,routeModules:t}=Je(),{errors:r,matches:a,loaderData:n}=Wt(),o=ge(),i=_r(a,r,e),l=null;r&&(l=r[i[i.length-1].route.id]);let s=[],u=null,h=[];for(let d=0;d<i.length;d++){let p=i[d],g=p.route.id,E=n[g],R=p.params,y=t[g],L=[],b={id:g,data:E,loaderData:E,meta:[],params:p.params,pathname:p.pathname,handle:p.route.handle,error:l};if(h[d]=b,y?.meta?L=typeof y.meta=="function"?y.meta({data:E,loaderData:E,params:R,location:o,matches:h,error:l}):Array.isArray(y.meta)?[...y.meta]:y.meta:u&&(L=[...u]),L=L||[],!Array.isArray(L))throw new Error("The route at "+p.route.path+` returns an invalid value. All route meta functions must return an array of meta objects.
13
-
14
- To reference the meta function API, see https://reactrouter.com/start/framework/route-module#meta`);b.meta=L,h[d]=b,s=[...L],u=s}return c.createElement(c.Fragment,null,s.flat().map(d=>{if(!d)return null;if("tagName"in d){let{tagName:p,...g}=d;if(!Jl(p))return console.warn(`A meta object uses an invalid tagName: ${p}. Expected either 'link' or 'meta'`),null;let E=p;return c.createElement(E,{key:JSON.stringify(g),...g})}if("title"in d)return c.createElement("title",{key:"title"},String(d.title));if("charset"in d&&(d.charSet??(d.charSet=d.charset),delete d.charset),"charSet"in d&&d.charSet!=null)return typeof d.charSet=="string"?c.createElement("meta",{key:"charSet",charSet:d.charSet}):null;if("script:ld+json"in d)try{let p=JSON.stringify(d["script:ld+json"]);return c.createElement("script",{key:`script:ld+json:${p}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:fr(p)}})}catch{return null}return c.createElement("meta",{key:JSON.stringify(d),...d})}))}function Jl(e){return typeof e=="string"&&/^(meta|link)$/.test(e)}var jt=!1;function Kl(){jt=!0}function Gl(e){let{manifest:t,serverHandoffString:r,isSpaMode:a,renderMeta:n,routeDiscovery:o,ssr:i}=Je(),{router:l,static:s,staticContext:u}=Bt(),{matches:h}=Wt(),d=br(),p=kr(o,i);n&&(n.didRenderScripts=!0);let g=_r(h,null,a);c.useEffect(()=>{Kl()},[]);let E=c.useMemo(()=>{if(d)return null;let b=u?`window.__reactRouterContext = ${r};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",P=s?`${t.hmr?.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}${p?"":`import ${JSON.stringify(t.url)}`};
15
- ${g.map((D,C)=>{let T=`route${C}`,U=t.routes[D.route.id];ue(U,`Route ${D.route.id} not found in manifest`);let{clientActionModule:w,clientLoaderModule:N,clientMiddlewareModule:H,hydrateFallbackModule:G,module:z}=U,X=[...w?[{module:w,varName:`${T}_clientAction`}]:[],...N?[{module:N,varName:`${T}_clientLoader`}]:[],...H?[{module:H,varName:`${T}_clientMiddleware`}]:[],...G?[{module:G,varName:`${T}_HydrateFallback`}]:[],{module:z,varName:`${T}_main`}];if(X.length===1)return`import * as ${T} from ${JSON.stringify(z)};`;let te=X.map(K=>`import * as ${K.varName} from "${K.module}";`).join(`
16
- `),$=`const ${T} = {${X.map(K=>`...${K.varName}`).join(",")}};`;return[te,$].join(`
17
- `)}).join(`
18
- `)}
19
- ${p?`window.__reactRouterManifest = ${JSON.stringify(jl(t,l),null,2)};`:""}
20
- window.__reactRouterRouteModules = {${g.map((D,C)=>`${JSON.stringify(D.route.id)}:route${C}`).join(",")}};
21
-
22
- import(${JSON.stringify(t.entry.module)});`:" ";return c.createElement(c.Fragment,null,c.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:b},type:void 0}),c.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:P},type:"module",async:!0}))},[]),R=jt||d?[]:Xl(t.entry.imports.concat(Or(g,t,{includeHydrateFallback:!0}))),y=typeof t.sri=="object"?t.sri:{};return ur(!d,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),jt||d?null:c.createElement(c.Fragment,null,typeof t.sri=="object"?c.createElement("script",{...e,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:y})}}):null,p?null:c.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:y[t.url],suppressHydrationWarning:!0}),c.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:y[t.entry.module],suppressHydrationWarning:!0}),R.map(L=>c.createElement("link",{key:L,rel:"modulepreload",href:L,crossOrigin:e.crossOrigin,integrity:y[L],suppressHydrationWarning:!0})),E)}function Xl(e){return[...new Set(e)]}function ql(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var Ds=class extends c.Component{constructor(e){super(e),this.state={error:e.error||null,location:e.location}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error||null,location:e.location}:{error:e.error||t.error,location:t.location}}render(){return this.state.error?c.createElement(Ln,{error:this.state.error,isOutsideRemixApp:!0}):this.props.children}};function Ln({error:e,isOutsideRemixApp:t}){console.error(e);let r=c.createElement("script",{dangerouslySetInnerHTML:{__html:`
23
- console.log(
24
- "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."
25
- );
26
- `}});if(We(e))return c.createElement(mr,{title:"Unhandled Thrown Response!"},c.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),r);let a;if(e instanceof Error)a=e;else{let n=e==null?"Unknown Error":typeof e=="object"&&"toString"in e?e.toString():JSON.stringify(e);a=new Error(n)}return c.createElement(mr,{title:"Application Error!",isOutsideRemixApp:t},c.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),c.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},a.stack),r)}function mr({title:e,renderScripts:t,isOutsideRemixApp:r,children:a}){let{routeModules:n}=Je();return n.root?.Layout&&!r?a:c.createElement("html",{lang:"en"},c.createElement("head",null,c.createElement("meta",{charSet:"utf-8"}),c.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),c.createElement("title",null,e)),c.createElement("body",null,c.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},a,t?c.createElement(Gl,null):null)))}var Ql=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ql&&(window.__reactRouterVersion="7.14.2")}catch{}var Pn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Cn=c.forwardRef(function({onClick:t,discover:r="render",prefetch:a="none",relative:n,reloadDocument:o,replace:i,unstable_mask:l,state:s,target:u,to:h,preventScrollReset:d,viewTransition:p,unstable_defaultShouldRevalidate:g,...E},R){let{basename:y,navigator:L,unstable_useTransitions:b}=c.useContext(ce),P=typeof h=="string"&&Pn.test(h),D=Aa(h,y);h=D.to;let C=ci(h,{relative:n}),T=ge(),U=null;if(l){let $=Ut(l,[],T.unstable_mask?T.unstable_mask.pathname:"/",!0);y!=="/"&&($.pathname=$.pathname==="/"?y:ye([y,$.pathname])),U=L.createHref($)}let[w,N,H]=Bl(a,E),G=ts(h,{replace:i,unstable_mask:l,state:s,target:u,preventScrollReset:d,relative:n,viewTransition:p,unstable_defaultShouldRevalidate:g,unstable_useTransitions:b});function z($){t&&t($),$.defaultPrevented||G($)}let X=!(D.isExternal||o),te=c.createElement("a",{...E,...H,href:(X?U:void 0)||D.absoluteURL||C,onClick:X?z:t,ref:ql(R,N),target:u,"data-discover":!P&&r==="render"?"true":void 0});return w&&!P?c.createElement(c.Fragment,null,te,c.createElement(xn,{page:C})):te});Cn.displayName="Link";var Zl=c.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:a="",end:n=!1,style:o,to:i,viewTransition:l,children:s,...u},h){let d=yt(i,{relative:u.relative}),p=ge(),g=c.useContext(Ve),{navigator:E,basename:R}=c.useContext(ce),y=g!=null&&ls(d)&&l===!0,L=E.encodeLocation?E.encodeLocation(d).pathname:d.pathname,b=p.pathname,P=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;r||(b=b.toLowerCase(),P=P?P.toLowerCase():null,L=L.toLowerCase()),P&&R&&(P=ve(P,R)||P);const D=L!=="/"&&L.endsWith("/")?L.length-1:L.length;let C=b===L||!n&&b.startsWith(L)&&b.charAt(D)==="/",T=P!=null&&(P===L||!n&&P.startsWith(L)&&P.charAt(L.length)==="/"),U={isActive:C,isPending:T,isTransitioning:y},w=C?t:void 0,N;typeof a=="function"?N=a(U):N=[a,C?"active":null,T?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let H=typeof o=="function"?o(U):o;return c.createElement(Cn,{...u,"aria-current":w,className:N,ref:h,style:H,to:i,viewTransition:l},typeof s=="function"?s(U):s)});Zl.displayName="NavLink";var Dn=c.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:a,replace:n,state:o,method:i=Ft,action:l,onSubmit:s,relative:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:p,...g},E)=>{let{unstable_useTransitions:R}=c.useContext(ce),y=Tn(),L=ns(l,{relative:u}),b=i.toLowerCase()==="get"?"get":"post",P=typeof l=="string"&&Pn.test(l),D=C=>{if(s&&s(C),C.defaultPrevented)return;C.preventDefault();let T=C.nativeEvent.submitter,U=T?.getAttribute("formmethod")||i,w=()=>y(T||C.currentTarget,{fetcherKey:t,method:U,navigate:r,replace:n,state:o,relative:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:p});R&&r!==!1?c.startTransition(()=>w()):w()};return c.createElement("form",{ref:E,method:b,action:L,onSubmit:a?s:D,...g,"data-discover":!P&&e==="render"?"true":void 0})});Dn.displayName="Form";function es({getKey:e,storageKey:t,...r}){let a=c.useContext(Vt),{basename:n}=c.useContext(ce),o=ge(),i=Cr();os({getKey:e,storageKey:t});let l=c.useMemo(()=>{if(!a||!e)return null;let u=yr(o,i,n,e);return u!==o.key?u:null},[]);if(!a||a.isSpaMode)return null;let s=((u,h)=>{if(!window.history.state||!window.history.state.key){let d=Math.random().toString(32).slice(2);window.history.replaceState({key:d},"")}try{let p=JSON.parse(sessionStorage.getItem(u)||"{}")[h||window.history.state.key];typeof p=="number"&&window.scrollTo(0,p)}catch(d){console.error(d),sessionStorage.removeItem(u)}}).toString();return c.createElement("script",{...r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${s})(${fr(JSON.stringify(t||pr))}, ${fr(JSON.stringify(l))})`}})}es.displayName="ScrollRestoration";function Mn(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Yt(e){let t=c.useContext(Ne);return j(t,Mn(e)),t}function Ir(e){let t=c.useContext(Ve);return j(t,Mn(e)),t}function ts(e,{target:t,replace:r,unstable_mask:a,state:n,preventScrollReset:o,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:s,unstable_useTransitions:u}={}){let h=rn(),d=ge(),p=yt(e,{relative:i});return c.useCallback(g=>{if(Ui(g,t)){g.preventDefault();let E=r!==void 0?r:Re(d)===Re(p),R=()=>h(e,{replace:E,unstable_mask:a,state:n,preventScrollReset:o,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:s});u?c.startTransition(()=>R()):R()}},[d,h,p,r,a,n,t,e,o,i,l,s,u])}function Ms(e){Q(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=c.useRef(cr(e)),r=c.useRef(!1),a=ge(),n=c.useMemo(()=>zi(a.search,r.current?null:t.current),[a.search]),o=rn(),i=c.useCallback((l,s)=>{const u=cr(typeof l=="function"?l(new URLSearchParams(n)):l);r.current=!0,o("?"+u,s)},[o,n]);return[n,i]}var rs=0,as=()=>`__${String(++rs)}__`;function Tn(){let{router:e}=Yt("useSubmit"),{basename:t}=c.useContext(ce),r=Ei(),a=e.fetch,n=e.navigate;return c.useCallback(async(o,i={})=>{let{action:l,method:s,encType:u,formData:h,body:d}=Wi(o,t);if(i.navigate===!1){let p=i.fetcherKey||as();await a(p,r,i.action||l,{unstable_defaultShouldRevalidate:i.unstable_defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:h,body:d,formMethod:i.method||s,formEncType:i.encType||u,flushSync:i.flushSync})}else await n(i.action||l,{unstable_defaultShouldRevalidate:i.unstable_defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:h,body:d,formMethod:i.method||s,formEncType:i.encType||u,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[a,n,t,r])}function ns(e,{relative:t}={}){let{basename:r}=c.useContext(ce),a=c.useContext(Ee);j(a,"useFormAction must be used inside a RouteContext");let[n]=a.matches.slice(-1),o={...yt(e||".",{relative:t})},i=ge();if(e==null){o.search=i.search;let l=new URLSearchParams(o.search),s=l.getAll("index");if(s.some(h=>h==="")){l.delete("index"),s.filter(d=>d).forEach(d=>l.append("index",d));let h=l.toString();o.search=h?`?${h}`:""}}return(!e||e===".")&&n.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(o.pathname=o.pathname==="/"?r:ye([r,o.pathname])),Re(o)}function Ts({key:e}={}){let{router:t}=Yt("useFetcher"),r=Ir("useFetcher"),a=c.useContext(xr),n=c.useContext(Ee),o=n.matches[n.matches.length-1]?.route.id;j(a,"useFetcher must be used inside a FetchersContext"),j(n,"useFetcher must be used inside a RouteContext"),j(o!=null,'useFetcher can only be used on routes that contain a unique "id"');let i=c.useId(),[l,s]=c.useState(e||i);e&&e!==l&&s(e);let{deleteFetcher:u,getFetcher:h,resetFetcher:d,fetch:p}=t;c.useEffect(()=>(h(l),()=>u(l)),[u,h,l]);let g=c.useCallback(async(C,T)=>{j(o,"No routeId available for fetcher.load()"),await p(l,o,C,T)},[l,o,p]),E=Tn(),R=c.useCallback(async(C,T)=>{await E(C,{...T,navigate:!1,fetcherKey:l})},[l,E]),y=c.useCallback(C=>d(l,C),[d,l]),L=c.useMemo(()=>{let C=c.forwardRef((T,U)=>c.createElement(Dn,{...T,navigate:!1,fetcherKey:l,ref:U}));return C.displayName="fetcher.Form",C},[l]),b=r.fetchers.get(l)||za,P=a.get(l);return c.useMemo(()=>({Form:L,submit:R,load:g,reset:y,...b,data:P}),[L,R,g,y,b,P])}function Os(){let e=Ir("useFetchers");return Array.from(e.fetchers.entries()).map(([t,r])=>({...r,key:t}))}var pr="react-router-scroll-positions",Tt={};function yr(e,t,r,a){let n=null;return a&&(r!=="/"?n=a({...e,pathname:ve(e.pathname,r)||e.pathname},t):n=a(e,t)),n==null&&(n=e.key),n}function os({getKey:e,storageKey:t}={}){let{router:r}=Yt("useScrollRestoration"),{restoreScrollPosition:a,preventScrollReset:n}=Ir("useScrollRestoration"),{basename:o}=c.useContext(ce),i=ge(),l=Cr(),s=Ri();c.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),is(c.useCallback(()=>{if(s.state==="idle"){let u=yr(i,l,o,e);Tt[u]=window.scrollY}try{sessionStorage.setItem(t||pr,JSON.stringify(Tt))}catch(u){Q(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${u}).`)}window.history.scrollRestoration="auto"},[s.state,e,o,i,l,t])),typeof document<"u"&&(c.useLayoutEffect(()=>{try{let u=sessionStorage.getItem(t||pr);u&&(Tt=JSON.parse(u))}catch{}},[t]),c.useLayoutEffect(()=>{let u=r?.enableScrollRestoration(Tt,()=>window.scrollY,e?(h,d)=>yr(h,d,o,e):void 0);return()=>u&&u()},[r,o,e]),c.useLayoutEffect(()=>{if(a!==!1){if(typeof a=="number"){window.scrollTo(0,a);return}try{if(i.hash){let u=document.getElementById(decodeURIComponent(i.hash.slice(1)));if(u){u.scrollIntoView();return}}}catch{Q(!1,`"${i.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}n!==!0&&window.scrollTo(0,0)}},[i,a,n]))}function is(e,t){let{capture:r}={};c.useEffect(()=>{let a=r!=null?{capture:r}:void 0;return window.addEventListener("pagehide",e,a),()=>{window.removeEventListener("pagehide",e,a)}},[e,r])}function ls(e,{relative:t}={}){let r=c.useContext(Sr);j(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=Yt("useViewTransitionState"),n=yt(e,{relative:t});if(!r.isTransitioning)return!1;let o=ve(r.currentLocation.pathname,a)||r.currentLocation.pathname,i=ve(r.nextLocation.pathname,a)||r.nextLocation.pathname;return It(n.pathname,i)!=null||It(n.pathname,o)!=null}export{ws as A,bs as B,us as C,Ss as D,Ie as E,Dn as F,ps as G,ys as H,ba as I,ds as J,Cr as K,Cn as L,Cs as M,pl as N,gs as O,Ps as P,Gl as Q,Ds as R,es as S,Tn as T,Rs as a,sn as b,fs as c,Ms as d,rn as e,Ts as f,Os as g,Dr as h,nn as i,We as j,Ri as k,hs as l,Te as m,ms as n,Zl as o,j as p,Ls as q,Vt as r,Nl as s,vs as t,ge as u,xl as v,Es as w,Fr as x,cs as y,xs as z};
27
- //# sourceMappingURL=chunk-EVOBXE3Y-C9rbaNlK.js.map
@@ -1,16 +0,0 @@
1
- import{_ as o}from"./mermaid.core-BHbHcFkC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"d95cc21c9349704b1b581ddbc8610d3738a0b5d0"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7c6c3520-ea43-453a-9500-d4c697390093",e._sentryDebugIdIdentifier="sentry-dbid-7c6c3520-ea43-453a-9500-d4c697390093")}catch{}})();var i=o(()=>`
2
- /* Font Awesome icon styling - consolidated */
3
- .label-icon {
4
- display: inline-block;
5
- height: 1em;
6
- overflow: visible;
7
- vertical-align: -0.125em;
8
- }
9
-
10
- .node .label-icon path {
11
- fill: currentColor;
12
- stroke: revert;
13
- stroke-width: revert;
14
- }
15
- `,"getIconStyles");export{i as g};
16
- //# sourceMappingURL=chunk-FMBD7UC4-BIeP5o8w.js.map