@malloy-publisher/app 0.0.115 → 0.0.117

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 (389) hide show
  1. package/dist/api-doc.yaml +30 -29
  2. package/dist/assets/Box-L-cQNKR_.js +1 -0
  3. package/dist/assets/Button-GpUeMORt.js +1 -0
  4. package/dist/assets/Chip-DYQ6TW-3.js +1 -0
  5. package/dist/assets/Close.es-B3x0H-1q.js +16 -0
  6. package/dist/assets/Code.es-CnhDeZ6X.js +13 -0
  7. package/dist/assets/Container-CpZDyfZr.js +1 -0
  8. package/dist/assets/HomePage-DQFhUn--.js +3 -0
  9. package/dist/assets/IconButton.es-DsY6YfoV.js +103 -0
  10. package/dist/assets/MainPage-DKu_mb7g.js +1 -0
  11. package/dist/assets/MenuItem-CvlqjGFH.js +1 -0
  12. package/dist/assets/ModelPage-CifXblWs.js +2 -0
  13. package/dist/assets/MoreVert-CzEWaj_O.js +1 -0
  14. package/dist/assets/Notebook.es-D4DeDC6u.js +2 -0
  15. package/dist/assets/PackagePage-DJ8diepf.js +7 -0
  16. package/dist/assets/ProjectPage-e_oVFXxk.js +1 -0
  17. package/dist/assets/RenderedResult.es-BuSOdzvI.js +2 -0
  18. package/dist/assets/RouteError-DXJ3lWC1.js +1 -0
  19. package/dist/assets/Snackbar-s4d-QiRu.js +1 -0
  20. package/dist/assets/Stack-DNnFTkqT.js +1 -0
  21. package/dist/assets/WorkbookPage-BuN6WEqt.js +77 -0
  22. package/dist/assets/_commonjsHelpers.es-jVKT97U4.js +1 -0
  23. package/dist/assets/angular-html.es-Q3H-oNYA.js +1 -0
  24. package/dist/assets/angular-ts.es-BxNruRxt.js +1 -0
  25. package/dist/assets/apl.es-Bg5wgCgV.js +1 -0
  26. package/dist/assets/astro.es-MmIrNRjP.js +1 -0
  27. package/dist/assets/blade.es-C9wcqEyo.js +1 -0
  28. package/dist/assets/bsl.es-D8rDrQKK.js +1 -0
  29. package/dist/assets/cairo.es-DVdH7Uxj.js +1 -0
  30. package/dist/assets/click_helper.es-xXNRhiyZ.js +1 -0
  31. package/dist/assets/cobol.es-f3nNYBCS.js +1 -0
  32. package/dist/assets/coffee.es-BRTr4LK6.js +1 -0
  33. package/dist/assets/cpp.es-DJQirJZJ.js +1 -0
  34. package/dist/assets/crystal.es-D7UCb9jB.js +1 -0
  35. package/dist/assets/edge.es-BFcubcok.js +1 -0
  36. package/dist/assets/elixir.es-C_wnAmiy.js +1 -0
  37. package/dist/assets/elm.es-RHKbo0gq.js +1 -0
  38. package/dist/assets/erb.es-CiudrMFO.js +1 -0
  39. package/dist/assets/fortran-fixed-form.es-GCT2pDAh.js +1 -0
  40. package/dist/assets/{index.es361-Dl5czYEp.js → fsharp.es-BopNCV_6.js} +1 -1
  41. package/dist/assets/{index.es362-DoAi1yx4.js → gdresource.es-DTP1gLpH.js} +1 -1
  42. package/dist/assets/git-commit.es-CnOGIGl_.js +1 -0
  43. package/dist/assets/git-rebase.es-Cjulokdg.js +1 -0
  44. package/dist/assets/glimmer-js.es-BRoQt0Y3.js +1 -0
  45. package/dist/assets/glimmer-ts.es-C8gplNJ2.js +1 -0
  46. package/dist/assets/glsl.es-CNHBrrwO.js +1 -0
  47. package/dist/assets/graphql.es-CPrEqvAy.js +1 -0
  48. package/dist/assets/hack.es-DTJewclz.js +1 -0
  49. package/dist/assets/haml.es-ghmTR5hu.js +1 -0
  50. package/dist/assets/handlebars.es-jcDHb6rk.js +1 -0
  51. package/dist/assets/html-derivative.es-NXTQhrS0.js +1 -0
  52. package/dist/assets/html.es-B7k9ywE-.js +1 -0
  53. package/dist/assets/http.es-B8gZ8pQf.js +1 -0
  54. package/dist/assets/hxml.es-DKTrOzYh.js +1 -0
  55. package/dist/assets/imba.es-Dhxz6F4q.js +1 -0
  56. package/dist/assets/{index-DAUp_Rhk.js → index-D4L_pFRI.js} +1 -1
  57. package/dist/assets/index-OAYeu1E0.js +116 -0
  58. package/dist/assets/{index-DGH620i5.js → index-YaW3_FOq.js} +1 -1
  59. package/dist/assets/index.modern-ej69NULO.js +17 -0
  60. package/dist/assets/{index.umd-CEs4Lu_D.js → index.umd-Cggc1peA.js} +1 -1
  61. package/dist/assets/jinja.es-CXZx1SmS.js +1 -0
  62. package/dist/assets/jison.es-CZT7aPjC.js +1 -0
  63. package/dist/assets/julia.es-Bx3qHb2z.js +1 -0
  64. package/dist/assets/latex.es-1Wo8rjXB.js +1 -0
  65. package/dist/assets/liquid.es-B3z150Cy.js +1 -0
  66. package/dist/assets/lua.es-CnBGY3En.js +1 -0
  67. package/dist/assets/marko.es-BYkm_XQa.js +1 -0
  68. package/dist/assets/mdc.es-D49FJLJs.js +1 -0
  69. package/dist/assets/nginx.es-EKGj9gfa.js +1 -0
  70. package/dist/assets/nim.es-CbzNLav-.js +1 -0
  71. package/dist/assets/objectWithoutPropertiesLoose.es-C0IivD9m.js +1 -0
  72. package/dist/assets/perl.es-COvjOmFA.js +1 -0
  73. package/dist/assets/php.es-C4cE5gpL.js +1 -0
  74. package/dist/assets/pug.es-DAOqlrgv.js +1 -0
  75. package/dist/assets/qml.es-BURYlQCk.js +1 -0
  76. package/dist/assets/razor.es-DsN_z6jj.js +1 -0
  77. package/dist/assets/rst.es-NotQJfQv.js +1 -0
  78. package/dist/assets/ruby.es-CwgiDbWW.js +1 -0
  79. package/dist/assets/sas.es-hO45NIQ0.js +1 -0
  80. package/dist/assets/scss.es-Qp20Po67.js +1 -0
  81. package/dist/assets/shaderlab.es-a8s2y2vx.js +1 -0
  82. package/dist/assets/shellsession.es-CaEeDysQ.js +1 -0
  83. package/dist/assets/soy.es-yyf74IiY.js +1 -0
  84. package/dist/assets/sparql.es-BR7r96e-.js +1 -0
  85. package/dist/assets/stata.es-Dt2hEkg-.js +1 -0
  86. package/dist/assets/svelte.es-BYIYuTJE.js +1 -0
  87. package/dist/assets/templ.es-Dgf9YadR.js +1 -0
  88. package/dist/assets/tex.es-CqwzyHS6.js +1 -0
  89. package/dist/assets/ts-tags.es-C3elxviu.js +1 -0
  90. package/dist/assets/twig.es-iMTcT1C-.js +1 -0
  91. package/dist/assets/useSlotProps-BNxZ9w7K.js +101 -0
  92. package/dist/assets/vue-html.es-C0WLWsvd.js +1 -0
  93. package/dist/assets/vue.es-Do7vpO2e.js +1 -0
  94. package/dist/assets/xml.es-DiYiXctt.js +1 -0
  95. package/dist/assets/xsl.es-C0IL9ByP.js +1 -0
  96. package/dist/index.html +1 -1
  97. package/package.json +2 -2
  98. package/dist/assets/Chip-Dnjptjx_.js +0 -1
  99. package/dist/assets/Container-DkO95q-4.js +0 -1
  100. package/dist/assets/DialogTitle-CxFBjEhG.js +0 -1
  101. package/dist/assets/Edit-RtMOPNzT.js +0 -1
  102. package/dist/assets/FormControlContext-CQ0UyOaU.js +0 -1
  103. package/dist/assets/HomePage-R3qOQ1KM.js +0 -3
  104. package/dist/assets/MainPage-3WQF-B84.js +0 -1
  105. package/dist/assets/MenuItem-CIuBJELU.js +0 -1
  106. package/dist/assets/Modal-BkzfZV9H.js +0 -1
  107. package/dist/assets/ModelPage-DcKgMUK5.js +0 -2
  108. package/dist/assets/MoreVert-CE4XrzBZ.js +0 -1
  109. package/dist/assets/PackagePage-rqHRexK9.js +0 -2
  110. package/dist/assets/ProjectPage-Dpeja96H.js +0 -1
  111. package/dist/assets/RouteError-B_elzXbG.js +0 -1
  112. package/dist/assets/WorkbookPage-wNC0nP-1.js +0 -6
  113. package/dist/assets/index-CW4KpAGn.js +0 -420
  114. package/dist/assets/index.es20-DNbouiSj.js +0 -1
  115. package/dist/assets/index.es23-BkzSXaI_.js +0 -2
  116. package/dist/assets/index.es304-CrENfdE2.js +0 -1
  117. package/dist/assets/index.es305-ALZNB_0P.js +0 -1
  118. package/dist/assets/index.es308-v-jHhg78.js +0 -1
  119. package/dist/assets/index.es313-C9sX9eQP.js +0 -1
  120. package/dist/assets/index.es321-BhOnb8US.js +0 -1
  121. package/dist/assets/index.es322-CESu47j5.js +0 -1
  122. package/dist/assets/index.es325-B_Pq63a1.js +0 -1
  123. package/dist/assets/index.es329-V0H_1fHZ.js +0 -1
  124. package/dist/assets/index.es332-DFf4bP34.js +0 -1
  125. package/dist/assets/index.es335-CiVlZW4U.js +0 -1
  126. package/dist/assets/index.es336-CQwcBYvF.js +0 -1
  127. package/dist/assets/index.es350-fhQtHvke.js +0 -1
  128. package/dist/assets/index.es351-CeT79lHU.js +0 -1
  129. package/dist/assets/index.es352-C0iVgwlN.js +0 -1
  130. package/dist/assets/index.es354-LOpOq_OY.js +0 -1
  131. package/dist/assets/index.es359-DQgr4IMq.js +0 -1
  132. package/dist/assets/index.es367-E0H2xfYP.js +0 -1
  133. package/dist/assets/index.es368-Br2VeB3w.js +0 -1
  134. package/dist/assets/index.es370-Creu8B6Y.js +0 -1
  135. package/dist/assets/index.es371-V_7wYv1m.js +0 -1
  136. package/dist/assets/index.es372-Bsnsw9Ay.js +0 -1
  137. package/dist/assets/index.es375-C71BNclw.js +0 -1
  138. package/dist/assets/index.es377-DNrypLci.js +0 -1
  139. package/dist/assets/index.es378--t_dR8Xp.js +0 -1
  140. package/dist/assets/index.es379-Bg_TjUoS.js +0 -1
  141. package/dist/assets/index.es385-C0Jv713Y.js +0 -1
  142. package/dist/assets/index.es386-CWrdwjiF.js +0 -1
  143. package/dist/assets/index.es387-CZmqkd86.js +0 -1
  144. package/dist/assets/index.es388-C69z_WZw.js +0 -1
  145. package/dist/assets/index.es390-CbbyQcIk.js +0 -1
  146. package/dist/assets/index.es394-BeMYMBvc.js +0 -1
  147. package/dist/assets/index.es395-B2i1EAbH.js +0 -1
  148. package/dist/assets/index.es403-BvX0ohuZ.js +0 -1
  149. package/dist/assets/index.es406-POkH-quI.js +0 -1
  150. package/dist/assets/index.es409-DHfiUAnz.js +0 -1
  151. package/dist/assets/index.es412-bQvISsbk.js +0 -1
  152. package/dist/assets/index.es416-C7CtwCRJ.js +0 -1
  153. package/dist/assets/index.es418-B5hkHXr8.js +0 -1
  154. package/dist/assets/index.es426-BXHyjal4.js +0 -1
  155. package/dist/assets/index.es427-BM_6XnyC.js +0 -1
  156. package/dist/assets/index.es434-DBpGJNhA.js +0 -1
  157. package/dist/assets/index.es435-Bb1HE9Xt.js +0 -1
  158. package/dist/assets/index.es445-B3f0M06D.js +0 -1
  159. package/dist/assets/index.es449-CMglr8ti.js +0 -1
  160. package/dist/assets/index.es455-C30KPANW.js +0 -1
  161. package/dist/assets/index.es460-CKn3c2mr.js +0 -1
  162. package/dist/assets/index.es461-J5oGAc1s.js +0 -1
  163. package/dist/assets/index.es463-Ckr015aR.js +0 -1
  164. package/dist/assets/index.es467-D69mlHrC.js +0 -1
  165. package/dist/assets/index.es469-C3BGVGox.js +0 -1
  166. package/dist/assets/index.es471-YOGsheo0.js +0 -1
  167. package/dist/assets/index.es474-D1T-bslv.js +0 -1
  168. package/dist/assets/index.es475-C3EZ2A1a.js +0 -1
  169. package/dist/assets/index.es479-BQsJ3Zlj.js +0 -1
  170. package/dist/assets/index.es481-Bc6XZnwJ.js +0 -1
  171. package/dist/assets/index.es488-0uez_V7d.js +0 -1
  172. package/dist/assets/index.es490-CNos752j.js +0 -1
  173. package/dist/assets/index.es492-BMmehJ54.js +0 -1
  174. package/dist/assets/index.es496-BboA0KbW.js +0 -1
  175. package/dist/assets/index.es506-C9Z1rj4W.js +0 -1
  176. package/dist/assets/index.es507-DzVnVufD.js +0 -1
  177. package/dist/assets/index.es514-DDrMl5dV.js +0 -1
  178. package/dist/assets/index.es515-C5B33TrU.js +0 -1
  179. package/dist/assets/index.es7-B111sUH2.js +0 -1
  180. package/dist/assets/index.modern-GhdSpX2l.js +0 -17
  181. package/dist/assets/listItemTextClasses-C21Iyvgy.js +0 -1
  182. /package/dist/assets/{index.es301-DsBKuouk.js → abap.es-DsBKuouk.js} +0 -0
  183. /package/dist/assets/{index.es302-D_z4Izcz.js → actionscript-3.es-D_z4Izcz.js} +0 -0
  184. /package/dist/assets/{index.es303-727ZlQH0.js → ada.es-727ZlQH0.js} +0 -0
  185. /package/dist/assets/{index.es519-C3khCPGq.js → andromeeda.es-C3khCPGq.js} +0 -0
  186. /package/dist/assets/{index.es306-Dn00JSTd.js → apache.es-Dn00JSTd.js} +0 -0
  187. /package/dist/assets/{index.es307-COJ4H7py.js → apex.es-COJ4H7py.js} +0 -0
  188. /package/dist/assets/{index.es309-Bu5BbsvL.js → applescript.es-Bu5BbsvL.js} +0 -0
  189. /package/dist/assets/{index.es310-7O62HKoU.js → ara.es-7O62HKoU.js} +0 -0
  190. /package/dist/assets/{index.es311-BPT9niGB.js → asciidoc.es-BPT9niGB.js} +0 -0
  191. /package/dist/assets/{index.es312-Dhn9LcZ4.js → asm.es-Dhn9LcZ4.js} +0 -0
  192. /package/dist/assets/{index.es520-D-2ljcwZ.js → aurora-x.es-D-2ljcwZ.js} +0 -0
  193. /package/dist/assets/{index.es314-eg146-Ew.js → awk.es-eg146-Ew.js} +0 -0
  194. /package/dist/assets/{index.es521-Cv9koXgw.js → ayu-dark.es-Cv9koXgw.js} +0 -0
  195. /package/dist/assets/{index.es315-Du268qiB.js → ballerina.es-Du268qiB.js} +0 -0
  196. /package/dist/assets/{index.es316-fje9CFhw.js → bat.es-fje9CFhw.js} +0 -0
  197. /package/dist/assets/{index.es317-BwXTMy5W.js → beancount.es-BwXTMy5W.js} +0 -0
  198. /package/dist/assets/{index.es318-3xVqZejG.js → berry.es-3xVqZejG.js} +0 -0
  199. /package/dist/assets/{index.es319-xW4inM5L.js → bibtex.es-xW4inM5L.js} +0 -0
  200. /package/dist/assets/{index.es320-DHo0CJ0O.js → bicep.es-DHo0CJ0O.js} +0 -0
  201. /package/dist/assets/{index.es323-C3t2pwGQ.js → c.es-C3t2pwGQ.js} +0 -0
  202. /package/dist/assets/{index.es324-DNquZEk8.js → cadence.es-DNquZEk8.js} +0 -0
  203. /package/dist/assets/{index.es522-CD_QflpE.js → catppuccin-frappe.es-CD_QflpE.js} +0 -0
  204. /package/dist/assets/{index.es523-DRW-0cLl.js → catppuccin-latte.es-DRW-0cLl.js} +0 -0
  205. /package/dist/assets/{index.es524-C-_shW-Y.js → catppuccin-macchiato.es-C-_shW-Y.js} +0 -0
  206. /package/dist/assets/{index.es525-LGGdnPYs.js → catppuccin-mocha.es-LGGdnPYs.js} +0 -0
  207. /package/dist/assets/{index.es326-BHOwM8T6.js → clarity.es-BHOwM8T6.js} +0 -0
  208. /package/dist/assets/{index.es327-DxSadP1t.js → clojure.es-DxSadP1t.js} +0 -0
  209. /package/dist/assets/{index.es328-DbXoA79R.js → cmake.es-DbXoA79R.js} +0 -0
  210. /package/dist/assets/{index.es330-Bp6g37R7.js → codeowners.es-Bp6g37R7.js} +0 -0
  211. /package/dist/assets/{index.es331-sacFqUAJ.js → codeql.es-sacFqUAJ.js} +0 -0
  212. /package/dist/assets/{index.es333-C7gG9l05.js → common-lisp.es-C7gG9l05.js} +0 -0
  213. /package/dist/assets/{index.es334-Dsg_Bt_b.js → coq.es-Dsg_Bt_b.js} +0 -0
  214. /package/dist/assets/{index.es337-D9R-vmeu.js → csharp.es-D9R-vmeu.js} +0 -0
  215. /package/dist/assets/{index.es338-BPhBrDlE.js → css.es-BPhBrDlE.js} +0 -0
  216. /package/dist/assets/{index.es339-C-TU5hQ_.js → csv.es-C-TU5hQ_.js} +0 -0
  217. /package/dist/assets/{index.es340-DtFQj3wx.js → cue.es-DtFQj3wx.js} +0 -0
  218. /package/dist/assets/{index.es341-m2LEI-9-.js → cypher.es-m2LEI-9-.js} +0 -0
  219. /package/dist/assets/{index.es342-BoXegm-a.js → d.es-BoXegm-a.js} +0 -0
  220. /package/dist/assets/{index.es526-C3mMm8J8.js → dark-plus.es-C3mMm8J8.js} +0 -0
  221. /package/dist/assets/{index.es343-B9wLZaAG.js → dart.es-B9wLZaAG.js} +0 -0
  222. /package/dist/assets/{index.es344-ClGRhx96.js → dax.es-ClGRhx96.js} +0 -0
  223. /package/dist/assets/{index.es345-DEIpsLCJ.js → desktop.es-DEIpsLCJ.js} +0 -0
  224. /package/dist/assets/{index.es346-BgYniUM_.js → diff.es-BgYniUM_.js} +0 -0
  225. /package/dist/assets/{index.es347-COcR7UxN.js → docker.es-COcR7UxN.js} +0 -0
  226. /package/dist/assets/{index.es348-BjQB5zDj.js → dotenv.es-BjQB5zDj.js} +0 -0
  227. /package/dist/assets/{index.es528-BXkSAIEj.js → dracula-soft.es-BXkSAIEj.js} +0 -0
  228. /package/dist/assets/{index.es527-BzJJZx-M.js → dracula.es-BzJJZx-M.js} +0 -0
  229. /package/dist/assets/{index.es349-C-nORZOA.js → dream-maker.es-C-nORZOA.js} +0 -0
  230. /package/dist/assets/{index.es353-BX77sIaO.js → emacs-lisp.es-BX77sIaO.js} +0 -0
  231. /package/dist/assets/{index.es355-B-DoSBHF.js → erlang.es-B-DoSBHF.js} +0 -0
  232. /package/dist/assets/{index.es529-BgDCqdQA.js → everforest-dark.es-BgDCqdQA.js} +0 -0
  233. /package/dist/assets/{index.es530-C8M2exoo.js → everforest-light.es-C8M2exoo.js} +0 -0
  234. /package/dist/assets/{index.es356-bCA53EVm.js → fennel.es-bCA53EVm.js} +0 -0
  235. /package/dist/assets/{index.es357-w-ucz2PV.js → fish.es-w-ucz2PV.js} +0 -0
  236. /package/dist/assets/{index.es358-Dayu4EKP.js → fluent.es-Dayu4EKP.js} +0 -0
  237. /package/dist/assets/{index.es360-DKXYxT9g.js → fortran-free-form.es-DKXYxT9g.js} +0 -0
  238. /package/dist/assets/{index.es363-DfxzS6Rs.js → gdscript.es-DfxzS6Rs.js} +0 -0
  239. /package/dist/assets/{index.es364-SKMF96pI.js → gdshader.es-SKMF96pI.js} +0 -0
  240. /package/dist/assets/{index.es365-ajMbGru0.js → genie.es-ajMbGru0.js} +0 -0
  241. /package/dist/assets/{index.es366--30QC5Em.js → gherkin.es--30QC5Em.js} +0 -0
  242. /package/dist/assets/{index.es532-Cuk6v7N8.js → github-dark-default.es-Cuk6v7N8.js} +0 -0
  243. /package/dist/assets/{index.es533-DH5Ifo-i.js → github-dark-dimmed.es-DH5Ifo-i.js} +0 -0
  244. /package/dist/assets/{index.es534-E3gJ1_iC.js → github-dark-high-contrast.es-E3gJ1_iC.js} +0 -0
  245. /package/dist/assets/{index.es531-DHJKELXO.js → github-dark.es-DHJKELXO.js} +0 -0
  246. /package/dist/assets/{index.es536-D7oLnXFd.js → github-light-default.es-D7oLnXFd.js} +0 -0
  247. /package/dist/assets/{index.es537-BfjtVDDH.js → github-light-high-contrast.es-BfjtVDDH.js} +0 -0
  248. /package/dist/assets/{index.es535-DAi9KRSo.js → github-light.es-DAi9KRSo.js} +0 -0
  249. /package/dist/assets/{index.es369-B430Bg39.js → gleam.es-B430Bg39.js} +0 -0
  250. /package/dist/assets/{index.es373-CM8KxXT1.js → gnuplot.es-CM8KxXT1.js} +0 -0
  251. /package/dist/assets/{index.es374-B1SYOhNW.js → go.es-B1SYOhNW.js} +0 -0
  252. /package/dist/assets/{index.es376-DkBy-JyN.js → groovy.es-DkBy-JyN.js} +0 -0
  253. /package/dist/assets/{index.es380-BILxekzW.js → haskell.es-BILxekzW.js} +0 -0
  254. /package/dist/assets/{index.es381-C5wWYbrZ.js → haxe.es-C5wWYbrZ.js} +0 -0
  255. /package/dist/assets/{index.es382-HzYwdGDm.js → hcl.es-HzYwdGDm.js} +0 -0
  256. /package/dist/assets/{index.es383-T-Tgc4AT.js → hjson.es-T-Tgc4AT.js} +0 -0
  257. /package/dist/assets/{index.es384-ifBTmRxC.js → hlsl.es-ifBTmRxC.js} +0 -0
  258. /package/dist/assets/{index.es538-DnULxvSX.js → houston.es-DnULxvSX.js} +0 -0
  259. /package/dist/assets/{index.es389-BMj5Y0dO.js → hy.es-BMj5Y0dO.js} +0 -0
  260. /package/dist/assets/{index.es391-BjABl1g7.js → ini.es-BjABl1g7.js} +0 -0
  261. /package/dist/assets/{index.es392-xI-RfyKK.js → java.es-xI-RfyKK.js} +0 -0
  262. /package/dist/assets/{index.es393-ySlJ1b_l.js → javascript.es-ySlJ1b_l.js} +0 -0
  263. /package/dist/assets/{index.es396-BQoSv7ci.js → json.es-BQoSv7ci.js} +0 -0
  264. /package/dist/assets/{index.es397-w8dY5SsB.js → json5.es-w8dY5SsB.js} +0 -0
  265. /package/dist/assets/{index.es398-TU54ms6u.js → jsonc.es-TU54ms6u.js} +0 -0
  266. /package/dist/assets/{index.es399-DREVFZK8.js → jsonl.es-DREVFZK8.js} +0 -0
  267. /package/dist/assets/{index.es400-BfivnA6A.js → jsonnet.es-BfivnA6A.js} +0 -0
  268. /package/dist/assets/{index.es401-P4WzXJd0.js → jssm.es-P4WzXJd0.js} +0 -0
  269. /package/dist/assets/{index.es402-BAng5TT0.js → jsx.es-BAng5TT0.js} +0 -0
  270. /package/dist/assets/{index.es539-CkXjmgJE.js → kanagawa-dragon.es-CkXjmgJE.js} +0 -0
  271. /package/dist/assets/{index.es540-CfQXZHmo.js → kanagawa-lotus.es-CfQXZHmo.js} +0 -0
  272. /package/dist/assets/{index.es541-DWedfzmr.js → kanagawa-wave.es-DWedfzmr.js} +0 -0
  273. /package/dist/assets/{index.es404-B5lbUyaz.js → kotlin.es-B5lbUyaz.js} +0 -0
  274. /package/dist/assets/{index.es405-mebxcVVE.js → kusto.es-mebxcVVE.js} +0 -0
  275. /package/dist/assets/{index.es542-DUszq2jm.js → laserwave.es-DUszq2jm.js} +0 -0
  276. /package/dist/assets/{index.es407-XBlWyCtg.js → lean.es-XBlWyCtg.js} +0 -0
  277. /package/dist/assets/{index.es408-BfCpw3nA.js → less.es-BfCpw3nA.js} +0 -0
  278. /package/dist/assets/{index.es543-B7mTdjB0.js → light-plus.es-B7mTdjB0.js} +0 -0
  279. /package/dist/assets/{index.es410-Cc5clBb7.js → log.es-Cc5clBb7.js} +0 -0
  280. /package/dist/assets/{index.es411-IuBKFhSY.js → logo.es-IuBKFhSY.js} +0 -0
  281. /package/dist/assets/{index.es413-Du5NY7AG.js → luau.es-Du5NY7AG.js} +0 -0
  282. /package/dist/assets/{index.es414-Bvotw-X0.js → make.es-Bvotw-X0.js} +0 -0
  283. /package/dist/assets/{index.es415-UIAJJxZW.js → markdown.es-UIAJJxZW.js} +0 -0
  284. /package/dist/assets/{index.es545-BfHTSMKl.js → material-theme-darker.es-BfHTSMKl.js} +0 -0
  285. /package/dist/assets/{index.es546-B0m2ddpp.js → material-theme-lighter.es-B0m2ddpp.js} +0 -0
  286. /package/dist/assets/{index.es547-CyktbL80.js → material-theme-ocean.es-CyktbL80.js} +0 -0
  287. /package/dist/assets/{index.es548-Csfq5Kiy.js → material-theme-palenight.es-Csfq5Kiy.js} +0 -0
  288. /package/dist/assets/{index.es544-D5KoaKCx.js → material-theme.es-D5KoaKCx.js} +0 -0
  289. /package/dist/assets/{index.es417-D9-PGadD.js → matlab.es-D9-PGadD.js} +0 -0
  290. /package/dist/assets/{index.es419-sdHcTMYB.js → mdx.es-sdHcTMYB.js} +0 -0
  291. /package/dist/assets/{index.es420-Ci6OQyBP.js → mermaid.es-Ci6OQyBP.js} +0 -0
  292. /package/dist/assets/{index.es549-CafNBF8u.js → min-dark.es-CafNBF8u.js} +0 -0
  293. /package/dist/assets/{index.es550-CTRr51gU.js → min-light.es-CTRr51gU.js} +0 -0
  294. /package/dist/assets/{index.es421-BC5c_5Pe.js → mipsasm.es-BC5c_5Pe.js} +0 -0
  295. /package/dist/assets/{index.es422-Tz6hzZYG.js → mojo.es-Tz6hzZYG.js} +0 -0
  296. /package/dist/assets/{index.es551-D4h5O-jR.js → monokai.es-D4h5O-jR.js} +0 -0
  297. /package/dist/assets/{index.es423-DB_GagMm.js → move.es-DB_GagMm.js} +0 -0
  298. /package/dist/assets/{index.es424-DLbgOhZU.js → narrat.es-DLbgOhZU.js} +0 -0
  299. /package/dist/assets/{index.es425-B0XVJmRM.js → nextflow.es-B0XVJmRM.js} +0 -0
  300. /package/dist/assets/{index.es552-C39BiMTA.js → night-owl.es-C39BiMTA.js} +0 -0
  301. /package/dist/assets/{index.es428-shcSOmrb.js → nix.es-shcSOmrb.js} +0 -0
  302. /package/dist/assets/{index.es553-Ddv68eIx.js → nord.es-Ddv68eIx.js} +0 -0
  303. /package/dist/assets/{index.es429-D4Tzg5kh.js → nushell.es-D4Tzg5kh.js} +0 -0
  304. /package/dist/assets/{index.es430-Deuh7S70.js → objective-c.es-Deuh7S70.js} +0 -0
  305. /package/dist/assets/{index.es431-BUEGK8hf.js → objective-cpp.es-BUEGK8hf.js} +0 -0
  306. /package/dist/assets/{index.es432-BNioltXt.js → ocaml.es-BNioltXt.js} +0 -0
  307. /package/dist/assets/{index.es554-GBQ2dnAY.js → one-dark-pro.es-GBQ2dnAY.js} +0 -0
  308. /package/dist/assets/{index.es555-PoHY5YXO.js → one-light.es-PoHY5YXO.js} +0 -0
  309. /package/dist/assets/{index.es433-JqZropPD.js → pascal.es-JqZropPD.js} +0 -0
  310. /package/dist/assets/{index.es556-3e1v2bzS.js → plastic.es-3e1v2bzS.js} +0 -0
  311. /package/dist/assets/{index.es436-LKU2TuZ1.js → plsql.es-LKU2TuZ1.js} +0 -0
  312. /package/dist/assets/{index.es437-BFLt1xDp.js → po.es-BFLt1xDp.js} +0 -0
  313. /package/dist/assets/{index.es557-CS3Unz2-.js → poimandres.es-CS3Unz2-.js} +0 -0
  314. /package/dist/assets/{index.es438-DKykz6zU.js → polar.es-DKykz6zU.js} +0 -0
  315. /package/dist/assets/{index.es439-B3ZDOciz.js → postcss.es-B3ZDOciz.js} +0 -0
  316. /package/dist/assets/{index.es440-CSHBycmS.js → powerquery.es-CSHBycmS.js} +0 -0
  317. /package/dist/assets/{index.es441-BIEUsx6d.js → powershell.es-BIEUsx6d.js} +0 -0
  318. /package/dist/assets/{index.es442-B48N-Iqd.js → prisma.es-B48N-Iqd.js} +0 -0
  319. /package/dist/assets/{index.es443-BY-TUvya.js → prolog.es-BY-TUvya.js} +0 -0
  320. /package/dist/assets/{index.es444-zocC4JxJ.js → proto.es-zocC4JxJ.js} +0 -0
  321. /package/dist/assets/{index.es446-Cza_XSSt.js → puppet.es-Cza_XSSt.js} +0 -0
  322. /package/dist/assets/{index.es447-Bg-kzb6g.js → purescript.es-Bg-kzb6g.js} +0 -0
  323. /package/dist/assets/{index.es448-DhUJRlN_.js → python.es-DhUJRlN_.js} +0 -0
  324. /package/dist/assets/{index.es450-C8lEn-DE.js → qmldir.es-C8lEn-DE.js} +0 -0
  325. /package/dist/assets/{index.es451-DhMKtDLN.js → qss.es-DhMKtDLN.js} +0 -0
  326. /package/dist/assets/{index.es452-CwjWoCRV.js → r.es-CwjWoCRV.js} +0 -0
  327. /package/dist/assets/{index.es453-CzouJOBO.js → racket.es-CzouJOBO.js} +0 -0
  328. /package/dist/assets/{index.es454-B1bQXN8T.js → raku.es-B1bQXN8T.js} +0 -0
  329. /package/dist/assets/{index.es558-bN70gL4F.js → red.es-bN70gL4F.js} +0 -0
  330. /package/dist/assets/{index.es456-5LuOXUq_.js → reg.es-5LuOXUq_.js} +0 -0
  331. /package/dist/assets/{index.es457-DWJ3fJO_.js → regexp.es-DWJ3fJO_.js} +0 -0
  332. /package/dist/assets/{index.es458-DJlmqQ1C.js → rel.es-DJlmqQ1C.js} +0 -0
  333. /package/dist/assets/{index.es459-QhoSD0DR.js → riscv.es-QhoSD0DR.js} +0 -0
  334. /package/dist/assets/{index.es560-Ds-gbosJ.js → rose-pine-dawn.es-Ds-gbosJ.js} +0 -0
  335. /package/dist/assets/{index.es561-CjDtw9vr.js → rose-pine-moon.es-CjDtw9vr.js} +0 -0
  336. /package/dist/assets/{index.es559-CmCqftbK.js → rose-pine.es-CmCqftbK.js} +0 -0
  337. /package/dist/assets/{index.es462-Be6lgOlo.js → rust.es-Be6lgOlo.js} +0 -0
  338. /package/dist/assets/{index.es464-BJ4Li9vH.js → sass.es-BJ4Li9vH.js} +0 -0
  339. /package/dist/assets/{index.es465-DQVVAn-B.js → scala.es-DQVVAn-B.js} +0 -0
  340. /package/dist/assets/{index.es466-BJGe-b2p.js → scheme.es-BJGe-b2p.js} +0 -0
  341. /package/dist/assets/{index.es468-BLhTXw86.js → sdbl.es-BLhTXw86.js} +0 -0
  342. /package/dist/assets/{index.es470-atvbtKCR.js → shellscript.es-atvbtKCR.js} +0 -0
  343. /package/dist/assets/{index.es562-BthQWCQV.js → slack-dark.es-BthQWCQV.js} +0 -0
  344. /package/dist/assets/{index.es563-DqwNpetd.js → slack-ochin.es-DqwNpetd.js} +0 -0
  345. /package/dist/assets/{index.es472-DkLiglaE.js → smalltalk.es-DkLiglaE.js} +0 -0
  346. /package/dist/assets/{index.es564-Bw305WKR.js → snazzy-light.es-Bw305WKR.js} +0 -0
  347. /package/dist/assets/{index.es565-DXbdFlpD.js → solarized-dark.es-DXbdFlpD.js} +0 -0
  348. /package/dist/assets/{index.es566-L9t79GZl.js → solarized-light.es-L9t79GZl.js} +0 -0
  349. /package/dist/assets/{index.es473-C1w2a3ep.js → solidity.es-C1w2a3ep.js} +0 -0
  350. /package/dist/assets/{index.es476-Cf8iN4DR.js → splunk.es-Cf8iN4DR.js} +0 -0
  351. /package/dist/assets/{index.es477-COK4E0Yg.js → sql.es-COK4E0Yg.js} +0 -0
  352. /package/dist/assets/{index.es478-BknIz3MU.js → ssh-config.es-BknIz3MU.js} +0 -0
  353. /package/dist/assets/{index.es480-BeQkCIfX.js → stylus.es-BeQkCIfX.js} +0 -0
  354. /package/dist/assets/{index.es482-BSxZ-RaX.js → swift.es-BSxZ-RaX.js} +0 -0
  355. /package/dist/assets/{index.es567-CbfX1IO0.js → synthwave-84.es-CbfX1IO0.js} +0 -0
  356. /package/dist/assets/{index.es483-C7L56vO4.js → system-verilog.es-C7L56vO4.js} +0 -0
  357. /package/dist/assets/{index.es484-CUnW07Te.js → systemd.es-CUnW07Te.js} +0 -0
  358. /package/dist/assets/{index.es485-C1XDQQGZ.js → talonscript.es-C1XDQQGZ.js} +0 -0
  359. /package/dist/assets/{index.es486-CQjiPCtT.js → tasl.es-CQjiPCtT.js} +0 -0
  360. /package/dist/assets/{index.es487-DQ1-QYvQ.js → tcl.es-DQ1-QYvQ.js} +0 -0
  361. /package/dist/assets/{index.es489-BbSNqyBO.js → terraform.es-BbSNqyBO.js} +0 -0
  362. /package/dist/assets/{index.es568-DBQeEorK.js → tokyo-night.es-DBQeEorK.js} +0 -0
  363. /package/dist/assets/{index.es491-CB2ApiWb.js → toml.es-CB2ApiWb.js} +0 -0
  364. /package/dist/assets/{index.es493-B_m7g4N7.js → tsv.es-B_m7g4N7.js} +0 -0
  365. /package/dist/assets/{index.es494-B6W0miNI.js → tsx.es-B6W0miNI.js} +0 -0
  366. /package/dist/assets/{index.es495-BMR_PYu6.js → turtle.es-BMR_PYu6.js} +0 -0
  367. /package/dist/assets/{index.es497-Dj6nwHGl.js → typescript.es-Dj6nwHGl.js} +0 -0
  368. /package/dist/assets/{index.es498-BpWG_bgh.js → typespec.es-BpWG_bgh.js} +0 -0
  369. /package/dist/assets/{index.es499-BVUVsWT6.js → typst.es-BVUVsWT6.js} +0 -0
  370. /package/dist/assets/{index.es500-CAQ2eGtk.js → v.es-CAQ2eGtk.js} +0 -0
  371. /package/dist/assets/{index.es501-BFOHcciG.js → vala.es-BFOHcciG.js} +0 -0
  372. /package/dist/assets/{index.es502-CdO5JTpU.js → vb.es-CdO5JTpU.js} +0 -0
  373. /package/dist/assets/{index.es503-CJaU5se_.js → verilog.es-CJaU5se_.js} +0 -0
  374. /package/dist/assets/{index.es569-BEBZ7ncR.js → vesper.es-BEBZ7ncR.js} +0 -0
  375. /package/dist/assets/{index.es504-DYoNaHQp.js → vhdl.es-DYoNaHQp.js} +0 -0
  376. /package/dist/assets/{index.es505-m4uW47V2.js → viml.es-m4uW47V2.js} +0 -0
  377. /package/dist/assets/{index.es570-Bkuqu6BP.js → vitesse-black.es-Bkuqu6BP.js} +0 -0
  378. /package/dist/assets/{index.es571-D0r3Knsf.js → vitesse-dark.es-D0r3Knsf.js} +0 -0
  379. /package/dist/assets/{index.es572-CVO1_9PV.js → vitesse-light.es-CVO1_9PV.js} +0 -0
  380. /package/dist/assets/{index.es508-nyqBNV6O.js → vyper.es-nyqBNV6O.js} +0 -0
  381. /package/dist/assets/{index.es509-C6j12Q_x.js → wasm.es-C6j12Q_x.js} +0 -0
  382. /package/dist/assets/{index.es293-CG6Dc4jp.js → wasm.es-CG6Dc4jp.js} +0 -0
  383. /package/dist/assets/{index.es510-7A4Fjokl.js → wenyan.es-7A4Fjokl.js} +0 -0
  384. /package/dist/assets/{index.es511-CB0Krxn9.js → wgsl.es-CB0Krxn9.js} +0 -0
  385. /package/dist/assets/{index.es512-DCE3LsBG.js → wikitext.es-DCE3LsBG.js} +0 -0
  386. /package/dist/assets/{index.es513-C3FkfJm5.js → wolfram.es-C3FkfJm5.js} +0 -0
  387. /package/dist/assets/{index.es516-CVw76BM1.js → yaml.es-CVw76BM1.js} +0 -0
  388. /package/dist/assets/{index.es517-HnGAYVZD.js → zenscript.es-HnGAYVZD.js} +0 -0
  389. /package/dist/assets/{index.es518-BVz_zdnA.js → zig.es-BVz_zdnA.js} +0 -0
@@ -0,0 +1,116 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomePage-DQFhUn--.js","assets/click_helper.es-xXNRhiyZ.js","assets/Close.es-B3x0H-1q.js","assets/Box-L-cQNKR_.js","assets/useSlotProps-BNxZ9w7K.js","assets/IconButton.es-DsY6YfoV.js","assets/objectWithoutPropertiesLoose.es-C0IivD9m.js","assets/MenuItem-CvlqjGFH.js","assets/MoreVert-CzEWaj_O.js","assets/Snackbar-s4d-QiRu.js","assets/Container-CpZDyfZr.js","assets/Stack-DNnFTkqT.js","assets/Chip-DYQ6TW-3.js","assets/Button-GpUeMORt.js","assets/MainPage-DKu_mb7g.js","assets/ModelPage-CifXblWs.js","assets/index.modern-ej69NULO.js","assets/Notebook.es-D4DeDC6u.js","assets/Code.es-CnhDeZ6X.js","assets/PackagePage-DJ8diepf.js","assets/_commonjsHelpers.es-jVKT97U4.js","assets/ProjectPage-e_oVFXxk.js","assets/RouteError-DXJ3lWC1.js","assets/WorkbookPage-BuN6WEqt.js"])))=>i.map(i=>d[i]);
2
+ function w1(t,a){for(var l=0;l<a.length;l++){const i=a[l];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in t)){const u=Object.getOwnPropertyDescriptor(i,s);u&&Object.defineProperty(t,s,u.get?u:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function l(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(s){if(s.ep)return;s.ep=!0;const u=l(s);fetch(s.href,u)}})();var nO=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function R0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function aO(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var a=t.default;if(typeof a=="function"){var l=function i(){return this instanceof i?Reflect.construct(a,arguments,this.constructor):a.apply(this,arguments)};l.prototype=a.prototype}else l={};return Object.defineProperty(l,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(l,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),l}var kf={exports:{}},Pi={};/**
3
+ * @license React
4
+ * react-jsx-runtime.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */var Gy;function C1(){if(Gy)return Pi;Gy=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function l(i,s,u){var f=null;if(u!==void 0&&(f=""+u),s.key!==void 0&&(f=""+s.key),"key"in s){u={};for(var h in s)h!=="key"&&(u[h]=s[h])}else u=s;return s=u.ref,{$$typeof:t,type:i,key:f,ref:s!==void 0?s:null,props:u}}return Pi.Fragment=a,Pi.jsx=l,Pi.jsxs=l,Pi}var Qy;function R1(){return Qy||(Qy=1,kf.exports=C1()),kf.exports}var ze=R1(),Bf={exports:{}},Ue={};/**
11
+ * @license React
12
+ * react.production.js
13
+ *
14
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var Yy;function x1(){if(Yy)return Ue;Yy=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.iterator;function E(O){return O===null||typeof O!="object"?null:(O=v&&O[v]||O["@@iterator"],typeof O=="function"?O:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,w={};function R(O,Y,ee){this.props=O,this.context=Y,this.refs=w,this.updater=ee||C}R.prototype.isReactComponent={},R.prototype.setState=function(O,Y){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,Y,"setState")},R.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function k(){}k.prototype=R.prototype;function G(O,Y,ee){this.props=O,this.context=Y,this.refs=w,this.updater=ee||C}var Q=G.prototype=new k;Q.constructor=G,S(Q,R.prototype),Q.isPureReactComponent=!0;var F=Array.isArray,N={H:null,A:null,T:null,S:null,V:null},A=Object.prototype.hasOwnProperty;function W(O,Y,ee,ne,ce,Me){return ee=Me.ref,{$$typeof:t,type:O,key:Y,ref:ee!==void 0?ee:null,props:Me}}function le(O,Y){return W(O.type,Y,void 0,void 0,void 0,O.props)}function ae(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function se(O){var Y={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(ee){return Y[ee]})}var ue=/\/+/g;function T(O,Y){return typeof O=="object"&&O!==null&&O.key!=null?se(""+O.key):Y.toString(36)}function ie(){}function I(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(ie,ie):(O.status="pending",O.then(function(Y){O.status==="pending"&&(O.status="fulfilled",O.value=Y)},function(Y){O.status==="pending"&&(O.status="rejected",O.reason=Y)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function he(O,Y,ee,ne,ce){var Me=typeof O;(Me==="undefined"||Me==="boolean")&&(O=null);var Te=!1;if(O===null)Te=!0;else switch(Me){case"bigint":case"string":case"number":Te=!0;break;case"object":switch(O.$$typeof){case t:case a:Te=!0;break;case y:return Te=O._init,he(Te(O._payload),Y,ee,ne,ce)}}if(Te)return ce=ce(O),Te=ne===""?"."+T(O,0):ne,F(ce)?(ee="",Te!=null&&(ee=Te.replace(ue,"$&/")+"/"),he(ce,Y,ee,"",function(hn){return hn})):ce!=null&&(ae(ce)&&(ce=le(ce,ee+(ce.key==null||O&&O.key===ce.key?"":(""+ce.key).replace(ue,"$&/")+"/")+Te)),Y.push(ce)),1;Te=0;var Et=ne===""?".":ne+":";if(F(O))for(var et=0;et<O.length;et++)ne=O[et],Me=Et+T(ne,et),Te+=he(ne,Y,ee,Me,ce);else if(et=E(O),typeof et=="function")for(O=et.call(O),et=0;!(ne=O.next()).done;)ne=ne.value,Me=Et+T(ne,et++),Te+=he(ne,Y,ee,Me,ce);else if(Me==="object"){if(typeof O.then=="function")return he(I(O),Y,ee,ne,ce);throw Y=String(O),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return Te}function U(O,Y,ee){if(O==null)return O;var ne=[],ce=0;return he(O,ne,"","",function(Me){return Y.call(ee,Me,ce++)}),ne}function te(O){if(O._status===-1){var Y=O._result;Y=Y(),Y.then(function(ee){(O._status===0||O._status===-1)&&(O._status=1,O._result=ee)},function(ee){(O._status===0||O._status===-1)&&(O._status=2,O._result=ee)}),O._status===-1&&(O._status=0,O._result=Y)}if(O._status===1)return O._result.default;throw O._result}var oe=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)};function Ae(){}return Ue.Children={map:U,forEach:function(O,Y,ee){U(O,function(){Y.apply(this,arguments)},ee)},count:function(O){var Y=0;return U(O,function(){Y++}),Y},toArray:function(O){return U(O,function(Y){return Y})||[]},only:function(O){if(!ae(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},Ue.Component=R,Ue.Fragment=l,Ue.Profiler=s,Ue.PureComponent=G,Ue.StrictMode=i,Ue.Suspense=m,Ue.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=N,Ue.__COMPILER_RUNTIME={__proto__:null,c:function(O){return N.H.useMemoCache(O)}},Ue.cache=function(O){return function(){return O.apply(null,arguments)}},Ue.cloneElement=function(O,Y,ee){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var ne=S({},O.props),ce=O.key,Me=void 0;if(Y!=null)for(Te in Y.ref!==void 0&&(Me=void 0),Y.key!==void 0&&(ce=""+Y.key),Y)!A.call(Y,Te)||Te==="key"||Te==="__self"||Te==="__source"||Te==="ref"&&Y.ref===void 0||(ne[Te]=Y[Te]);var Te=arguments.length-2;if(Te===1)ne.children=ee;else if(1<Te){for(var Et=Array(Te),et=0;et<Te;et++)Et[et]=arguments[et+2];ne.children=Et}return W(O.type,ce,void 0,void 0,Me,ne)},Ue.createContext=function(O){return O={$$typeof:f,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:u,_context:O},O},Ue.createElement=function(O,Y,ee){var ne,ce={},Me=null;if(Y!=null)for(ne in Y.key!==void 0&&(Me=""+Y.key),Y)A.call(Y,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(ce[ne]=Y[ne]);var Te=arguments.length-2;if(Te===1)ce.children=ee;else if(1<Te){for(var Et=Array(Te),et=0;et<Te;et++)Et[et]=arguments[et+2];ce.children=Et}if(O&&O.defaultProps)for(ne in Te=O.defaultProps,Te)ce[ne]===void 0&&(ce[ne]=Te[ne]);return W(O,Me,void 0,void 0,null,ce)},Ue.createRef=function(){return{current:null}},Ue.forwardRef=function(O){return{$$typeof:h,render:O}},Ue.isValidElement=ae,Ue.lazy=function(O){return{$$typeof:y,_payload:{_status:-1,_result:O},_init:te}},Ue.memo=function(O,Y){return{$$typeof:p,type:O,compare:Y===void 0?null:Y}},Ue.startTransition=function(O){var Y=N.T,ee={};N.T=ee;try{var ne=O(),ce=N.S;ce!==null&&ce(ee,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(Ae,oe)}catch(Me){oe(Me)}finally{N.T=Y}},Ue.unstable_useCacheRefresh=function(){return N.H.useCacheRefresh()},Ue.use=function(O){return N.H.use(O)},Ue.useActionState=function(O,Y,ee){return N.H.useActionState(O,Y,ee)},Ue.useCallback=function(O,Y){return N.H.useCallback(O,Y)},Ue.useContext=function(O){return N.H.useContext(O)},Ue.useDebugValue=function(){},Ue.useDeferredValue=function(O,Y){return N.H.useDeferredValue(O,Y)},Ue.useEffect=function(O,Y,ee){var ne=N.H;if(typeof ee=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return ne.useEffect(O,Y)},Ue.useId=function(){return N.H.useId()},Ue.useImperativeHandle=function(O,Y,ee){return N.H.useImperativeHandle(O,Y,ee)},Ue.useInsertionEffect=function(O,Y){return N.H.useInsertionEffect(O,Y)},Ue.useLayoutEffect=function(O,Y){return N.H.useLayoutEffect(O,Y)},Ue.useMemo=function(O,Y){return N.H.useMemo(O,Y)},Ue.useOptimistic=function(O,Y){return N.H.useOptimistic(O,Y)},Ue.useReducer=function(O,Y,ee){return N.H.useReducer(O,Y,ee)},Ue.useRef=function(O){return N.H.useRef(O)},Ue.useState=function(O){return N.H.useState(O)},Ue.useSyncExternalStore=function(O,Y,ee){return N.H.useSyncExternalStore(O,Y,ee)},Ue.useTransition=function(){return N.H.useTransition()},Ue.version="19.1.1",Ue}var Vy;function Nd(){return Vy||(Vy=1,Bf.exports=x1()),Bf.exports}var D=Nd();const A1=R0(D),id=w1({__proto__:null,default:A1},[D]);var Hf={exports:{}},$i={},qf={exports:{}},Pf={};/**
19
+ * @license React
20
+ * scheduler.production.js
21
+ *
22
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */var Ky;function O1(){return Ky||(Ky=1,(function(t){function a(U,te){var oe=U.length;U.push(te);e:for(;0<oe;){var Ae=oe-1>>>1,O=U[Ae];if(0<s(O,te))U[Ae]=te,U[oe]=O,oe=Ae;else break e}}function l(U){return U.length===0?null:U[0]}function i(U){if(U.length===0)return null;var te=U[0],oe=U.pop();if(oe!==te){U[0]=oe;e:for(var Ae=0,O=U.length,Y=O>>>1;Ae<Y;){var ee=2*(Ae+1)-1,ne=U[ee],ce=ee+1,Me=U[ce];if(0>s(ne,oe))ce<O&&0>s(Me,ne)?(U[Ae]=Me,U[ce]=oe,Ae=ce):(U[Ae]=ne,U[ee]=oe,Ae=ee);else if(ce<O&&0>s(Me,oe))U[Ae]=Me,U[ce]=oe,Ae=ce;else break e}}return te}function s(U,te){var oe=U.sortIndex-te.sortIndex;return oe!==0?oe:U.id-te.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,h=f.now();t.unstable_now=function(){return f.now()-h}}var m=[],p=[],y=1,v=null,E=3,C=!1,S=!1,w=!1,R=!1,k=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function F(U){for(var te=l(p);te!==null;){if(te.callback===null)i(p);else if(te.startTime<=U)i(p),te.sortIndex=te.expirationTime,a(m,te);else break;te=l(p)}}function N(U){if(w=!1,F(U),!S)if(l(m)!==null)S=!0,A||(A=!0,T());else{var te=l(p);te!==null&&he(N,te.startTime-U)}}var A=!1,W=-1,le=5,ae=-1;function se(){return R?!0:!(t.unstable_now()-ae<le)}function ue(){if(R=!1,A){var U=t.unstable_now();ae=U;var te=!0;try{e:{S=!1,w&&(w=!1,G(W),W=-1),C=!0;var oe=E;try{t:{for(F(U),v=l(m);v!==null&&!(v.expirationTime>U&&se());){var Ae=v.callback;if(typeof Ae=="function"){v.callback=null,E=v.priorityLevel;var O=Ae(v.expirationTime<=U);if(U=t.unstable_now(),typeof O=="function"){v.callback=O,F(U),te=!0;break t}v===l(m)&&i(m),F(U)}else i(m);v=l(m)}if(v!==null)te=!0;else{var Y=l(p);Y!==null&&he(N,Y.startTime-U),te=!1}}break e}finally{v=null,E=oe,C=!1}te=void 0}}finally{te?T():A=!1}}}var T;if(typeof Q=="function")T=function(){Q(ue)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,I=ie.port2;ie.port1.onmessage=ue,T=function(){I.postMessage(null)}}else T=function(){k(ue,0)};function he(U,te){W=k(function(){U(t.unstable_now())},te)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(U){U.callback=null},t.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<U?Math.floor(1e3/U):5},t.unstable_getCurrentPriorityLevel=function(){return E},t.unstable_next=function(U){switch(E){case 1:case 2:case 3:var te=3;break;default:te=E}var oe=E;E=te;try{return U()}finally{E=oe}},t.unstable_requestPaint=function(){R=!0},t.unstable_runWithPriority=function(U,te){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var oe=E;E=U;try{return te()}finally{E=oe}},t.unstable_scheduleCallback=function(U,te,oe){var Ae=t.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Ae+oe:Ae):oe=Ae,U){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=oe+O,U={id:y++,callback:te,priorityLevel:U,startTime:oe,expirationTime:O,sortIndex:-1},oe>Ae?(U.sortIndex=oe,a(p,U),l(m)===null&&U===l(p)&&(w?(G(W),W=-1):w=!0,he(N,oe-Ae))):(U.sortIndex=O,a(m,U),S||C||(S=!0,A||(A=!0,T()))),U},t.unstable_shouldYield=se,t.unstable_wrapCallback=function(U){var te=E;return function(){var oe=E;E=te;try{return U.apply(this,arguments)}finally{E=oe}}}})(Pf)),Pf}var Xy;function M1(){return Xy||(Xy=1,qf.exports=O1()),qf.exports}var $f={exports:{}},Xt={};/**
27
+ * @license React
28
+ * react-dom.production.js
29
+ *
30
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */var Fy;function D1(){if(Fy)return Xt;Fy=1;var t=Nd();function a(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(a(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function u(m,p,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:m,containerInfo:p,implementation:y}}var f=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Xt.createPortal=function(m,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return u(m,p,null,y)},Xt.flushSync=function(m){var p=f.T,y=i.p;try{if(f.T=null,i.p=2,m)return m()}finally{f.T=p,i.p=y,i.d.f()}},Xt.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,i.d.C(m,p))},Xt.prefetchDNS=function(m){typeof m=="string"&&i.d.D(m)},Xt.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var y=p.as,v=h(y,p.crossOrigin),E=typeof p.integrity=="string"?p.integrity:void 0,C=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?i.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:v,integrity:E,fetchPriority:C}):y==="script"&&i.d.X(m,{crossOrigin:v,integrity:E,fetchPriority:C,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Xt.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=h(p.as,p.crossOrigin);i.d.M(m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&i.d.M(m)},Xt.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,v=h(y,p.crossOrigin);i.d.L(m,y,{crossOrigin:v,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Xt.preloadModule=function(m,p){if(typeof m=="string")if(p){var y=h(p.as,p.crossOrigin);i.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else i.d.m(m)},Xt.requestFormReset=function(m){i.d.r(m)},Xt.unstable_batchedUpdates=function(m,p){return m(p)},Xt.useFormState=function(m,p,y){return f.H.useFormState(m,p,y)},Xt.useFormStatus=function(){return f.H.useHostTransitionStatus()},Xt.version="19.1.1",Xt}var Zy;function x0(){if(Zy)return $f.exports;Zy=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),$f.exports=D1(),$f.exports}/**
35
+ * @license React
36
+ * react-dom-client.production.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */var Jy;function _1(){if(Jy)return $i;Jy=1;var t=M1(),a=Nd(),l=x0();function i(e){var n="https://react.dev/errors/"+e;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function u(e){var n=e,r=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&4098)!==0&&(r=n.return),e=n.return;while(e)}return n.tag===3?r:null}function f(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function h(e){if(u(e)!==e)throw Error(i(188))}function m(e){var n=e.alternate;if(!n){if(n=u(e),n===null)throw Error(i(188));return n!==e?null:e}for(var r=e,o=n;;){var c=r.return;if(c===null)break;var d=c.alternate;if(d===null){if(o=c.return,o!==null){r=o;continue}break}if(c.child===d.child){for(d=c.child;d;){if(d===r)return h(c),e;if(d===o)return h(c),n;d=d.sibling}throw Error(i(188))}if(r.return!==o.return)r=c,o=d;else{for(var g=!1,b=c.child;b;){if(b===r){g=!0,r=c,o=d;break}if(b===o){g=!0,o=c,r=d;break}b=b.sibling}if(!g){for(b=d.child;b;){if(b===r){g=!0,r=d,o=c;break}if(b===o){g=!0,o=d,r=c;break}b=b.sibling}if(!g)throw Error(i(189))}}if(r.alternate!==o)throw Error(i(190))}if(r.tag!==3)throw Error(i(188));return r.stateNode.current===r?e:n}function p(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e;for(e=e.child;e!==null;){if(n=p(e),n!==null)return n;e=e.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),se=Symbol.for("react.memo_cache_sentinel"),ue=Symbol.iterator;function T(e){return e===null||typeof e!="object"?null:(e=ue&&e[ue]||e["@@iterator"],typeof e=="function"?e:null)}var ie=Symbol.for("react.client.reference");function I(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case S:return"Fragment";case R:return"Profiler";case w:return"StrictMode";case N:return"Suspense";case A:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case Q:return(e.displayName||"Context")+".Provider";case G:return(e._context.displayName||"Context")+".Consumer";case F:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return n=e.displayName||null,n!==null?n:I(e.type)||"Memo";case le:n=e._payload,e=e._init;try{return I(e(n))}catch{}}return null}var he=Array.isArray,U=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Ae=[],O=-1;function Y(e){return{current:e}}function ee(e){0>O||(e.current=Ae[O],Ae[O]=null,O--)}function ne(e,n){O++,Ae[O]=e.current,e.current=n}var ce=Y(null),Me=Y(null),Te=Y(null),Et=Y(null);function et(e,n){switch(ne(Te,n),ne(Me,e),ne(ce,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?gy(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=gy(n),e=vy(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ee(ce),ne(ce,e)}function hn(){ee(ce),ee(Me),ee(Te)}function Tt(e){e.memoizedState!==null&&ne(Et,e);var n=ce.current,r=vy(n,e.type);n!==r&&(ne(Me,e),ne(ce,r))}function mn(e){Me.current===e&&(ee(ce),ee(Me)),Et.current===e&&(ee(Et),Li._currentValue=oe)}var ca=Object.prototype.hasOwnProperty,La=t.unstable_scheduleCallback,tn=t.unstable_cancelCallback,Fr=t.unstable_shouldYield,Vl=t.unstable_requestPaint,Yt=t.unstable_now,mr=t.unstable_getCurrentPriorityLevel,Vt=t.unstable_ImmediatePriority,fa=t.unstable_UserBlockingPriority,Xn=t.unstable_NormalPriority,Jt=t.unstable_LowPriority,Fn=t.unstable_IdlePriority,pr=t.log,ka=t.unstable_setDisableYieldValue,ft=null,Oe=null;function mt(e){if(typeof pr=="function"&&ka(e),Oe&&typeof Oe.setStrictMode=="function")try{Oe.setStrictMode(ft,e)}catch{}}var lt=Math.clz32?Math.clz32:Ro,yr=Math.log,An=Math.LN2;function Ro(e){return e>>>=0,e===0?32:31-(yr(e)/An|0)|0}var gr=256,vr=4194304;function da(e){var n=e&42;if(n!==0)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function br(e,n,r){var o=e.pendingLanes;if(o===0)return 0;var c=0,d=e.suspendedLanes,g=e.pingedLanes;e=e.warmLanes;var b=o&134217727;return b!==0?(o=b&~d,o!==0?c=da(o):(g&=b,g!==0?c=da(g):r||(r=b&~e,r!==0&&(c=da(r))))):(b=o&~d,b!==0?c=da(b):g!==0?c=da(g):r||(r=o&~e,r!==0&&(c=da(r)))),c===0?0:n!==0&&n!==c&&(n&d)===0&&(d=c&-c,r=n&-n,d>=r||d===32&&(r&4194048)!==0)?n:c}function Zn(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function xo(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Zr(){var e=gr;return gr<<=1,(gr&4194048)===0&&(gr=256),e}function Ao(){var e=vr;return vr<<=1,(vr&62914560)===0&&(vr=4194304),e}function Jr(e){for(var n=[],r=0;31>r;r++)n.push(e);return n}function Sr(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Oo(e,n,r,o,c,d){var g=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var b=e.entanglements,x=e.expirationTimes,B=e.hiddenUpdates;for(r=g&~r;0<r;){var K=31-lt(r),Z=1<<K;b[K]=0,x[K]=-1;var H=B[K];if(H!==null)for(B[K]=null,K=0;K<H.length;K++){var q=H[K];q!==null&&(q.lane&=-536870913)}r&=~Z}o!==0&&Er(e,o,0),d!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=d&~(g&~n))}function Er(e,n,r){e.pendingLanes|=n,e.suspendedLanes&=~n;var o=31-lt(n);e.entangledLanes|=n,e.entanglements[o]=e.entanglements[o]|1073741824|r&4194090}function Tr(e,n){var r=e.entangledLanes|=n;for(e=e.entanglements;r;){var o=31-lt(r),c=1<<o;c&n|e[o]&n&&(e[o]|=n),r&=~c}}function Kl(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Xl(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function M(){var e=te.p;return e!==0?e:(e=window.event,e===void 0?32:ky(e.type))}function z(e,n){var r=te.p;try{return te.p=e,n()}finally{te.p=r}}var P=Math.random().toString(36).slice(2),J="__reactFiber$"+P,re="__reactProps$"+P,de="__reactContainer$"+P,ve="__reactEvents$"+P,me="__reactListeners$"+P,Se="__reactHandles$"+P,we="__reactResources$"+P,pe="__reactMarker$"+P;function ge(e){delete e[J],delete e[re],delete e[ve],delete e[me],delete e[Se]}function je(e){var n=e[J];if(n)return n;for(var r=e.parentNode;r;){if(n=r[de]||r[J]){if(r=n.alternate,n.child!==null||r!==null&&r.child!==null)for(e=Ty(e);e!==null;){if(r=e[J])return r;e=Ty(e)}return n}e=r,r=e.parentNode}return null}function Fe(e){if(e=e[J]||e[de]){var n=e.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return e}return null}function pt(e){var n=e.tag;if(n===5||n===26||n===27||n===6)return e.stateNode;throw Error(i(33))}function wt(e){var n=e[we];return n||(n=e[we]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function De(e){e[pe]=!0}var it=new Set,Jn={};function pn(e,n){Wt(e,n),Wt(e+"Capture",n)}function Wt(e,n){for(Jn[e]=n,e=0;e<n.length;e++)it.add(n[e])}var On=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Wr={},Ba={};function ha(e){return ca.call(Ba,e)?!0:ca.call(Wr,e)?!1:On.test(e)?Ba[e]=!0:(Wr[e]=!0,!1)}function ma(e,n,r){if(ha(n))if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(n);return;case"boolean":var o=n.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(n);return}}e.setAttribute(n,""+r)}}function pa(e,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttribute(n,""+r)}}function _e(e,n,r,o){if(o===null)e.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(n,r,""+o)}}var _t,ya;function nn(e){if(_t===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);_t=n&&n[1]||"",ya=-1<r.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+_t+e+ya}var bt=!1;function Ha(e,n){if(!e||bt)return"";bt=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(n){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(q){var H=q}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(q){H=q}e.call(Z.prototype)}}else{try{throw Error()}catch(q){H=q}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(q){if(q&&H&&typeof q.stack=="string")return[q.stack,H.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var c=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");c&&c.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),g=d[0],b=d[1];if(g&&b){var x=g.split(`
45
+ `),B=b.split(`
46
+ `);for(c=o=0;o<x.length&&!x[o].includes("DetermineComponentFrameRoot");)o++;for(;c<B.length&&!B[c].includes("DetermineComponentFrameRoot");)c++;if(o===x.length||c===B.length)for(o=x.length-1,c=B.length-1;1<=o&&0<=c&&x[o]!==B[c];)c--;for(;1<=o&&0<=c;o--,c--)if(x[o]!==B[c]){if(o!==1||c!==1)do if(o--,c--,0>c||x[o]!==B[c]){var K=`
47
+ `+x[o].replace(" at new "," at ");return e.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",e.displayName)),K}while(1<=o&&0<=c);break}}}finally{bt=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?nn(r):""}function Mo(e){switch(e.tag){case 26:case 27:case 5:return nn(e.type);case 16:return nn("Lazy");case 13:return nn("Suspense");case 19:return nn("SuspenseList");case 0:case 15:return Ha(e.type,!1);case 11:return Ha(e.type.render,!1);case 1:return Ha(e.type,!0);case 31:return nn("Activity");default:return""}}function Do(e){try{var n="";do n+=Mo(e),e=e.return;while(e);return n}catch(r){return`
48
+ Error generating stack: `+r.message+`
49
+ `+r.stack}}function Mn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dh(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function vb(e){var n=dh(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),o=""+e[n];if(!e.hasOwnProperty(n)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var c=r.get,d=r.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(g){o=""+g,d.call(this,g)}}),Object.defineProperty(e,n,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(g){o=""+g},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function _o(e){e._valueTracker||(e._valueTracker=vb(e))}function hh(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var r=n.getValue(),o="";return e&&(o=dh(e)?e.checked?"true":"false":e.value),e=o,e!==r?(n.setValue(e),!0):!1}function No(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var bb=/[\n"\\]/g;function Dn(e){return e.replace(bb,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function Uu(e,n,r,o,c,d,g,b){e.name="",g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.type=g:e.removeAttribute("type"),n!=null?g==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+Mn(n)):e.value!==""+Mn(n)&&(e.value=""+Mn(n)):g!=="submit"&&g!=="reset"||e.removeAttribute("value"),n!=null?ju(e,g,Mn(n)):r!=null?ju(e,g,Mn(r)):o!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Mn(b):e.removeAttribute("name")}function mh(e,n,r,o,c,d,g,b){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),n!=null||r!=null){if(!(d!=="submit"&&d!=="reset"||n!=null))return;r=r!=null?""+Mn(r):"",n=n!=null?""+Mn(n):r,b||n===e.value||(e.value=n),e.defaultValue=n}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=b?e.checked:!!o,e.defaultChecked=!!o,g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.name=g)}function ju(e,n,r){n==="number"&&No(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Ir(e,n,r,o){if(e=e.options,n){n={};for(var c=0;c<r.length;c++)n["$"+r[c]]=!0;for(r=0;r<e.length;r++)c=n.hasOwnProperty("$"+e[r].value),e[r].selected!==c&&(e[r].selected=c),c&&o&&(e[r].defaultSelected=!0)}else{for(r=""+Mn(r),n=null,c=0;c<e.length;c++){if(e[c].value===r){e[c].selected=!0,o&&(e[c].defaultSelected=!0);return}n!==null||e[c].disabled||(n=e[c])}n!==null&&(n.selected=!0)}}function ph(e,n,r){if(n!=null&&(n=""+Mn(n),n!==e.value&&(e.value=n),r==null)){e.defaultValue!==n&&(e.defaultValue=n);return}e.defaultValue=r!=null?""+Mn(r):""}function yh(e,n,r,o){if(n==null){if(o!=null){if(r!=null)throw Error(i(92));if(he(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),n=r}r=Mn(n),e.defaultValue=r,o=e.textContent,o===r&&o!==""&&o!==null&&(e.value=o)}function el(e,n){if(n){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=n;return}}e.textContent=n}var Sb=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function gh(e,n,r){var o=n.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?o?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="":o?e.setProperty(n,r):typeof r!="number"||r===0||Sb.has(n)?n==="float"?e.cssFloat=r:e[n]=(""+r).trim():e[n]=r+"px"}function vh(e,n,r){if(n!=null&&typeof n!="object")throw Error(i(62));if(e=e.style,r!=null){for(var o in r)!r.hasOwnProperty(o)||n!=null&&n.hasOwnProperty(o)||(o.indexOf("--")===0?e.setProperty(o,""):o==="float"?e.cssFloat="":e[o]="");for(var c in n)o=n[c],n.hasOwnProperty(c)&&r[c]!==o&&gh(e,c,o)}else for(var d in n)n.hasOwnProperty(d)&&gh(e,d,n[d])}function zu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Eb=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Tb=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Uo(e){return Tb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Lu=null;function ku(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tl=null,nl=null;function bh(e){var n=Fe(e);if(n&&(e=n.stateNode)){var r=e[re]||null;e:switch(e=n.stateNode,n.type){case"input":if(Uu(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),n=r.name,r.type==="radio"&&n!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Dn(""+n)+'"][type="radio"]'),n=0;n<r.length;n++){var o=r[n];if(o!==e&&o.form===e.form){var c=o[re]||null;if(!c)throw Error(i(90));Uu(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(n=0;n<r.length;n++)o=r[n],o.form===e.form&&hh(o)}break e;case"textarea":ph(e,r.value,r.defaultValue);break e;case"select":n=r.value,n!=null&&Ir(e,!!r.multiple,n,!1)}}}var Bu=!1;function Sh(e,n,r){if(Bu)return e(n,r);Bu=!0;try{var o=e(n);return o}finally{if(Bu=!1,(tl!==null||nl!==null)&&(vs(),tl&&(n=tl,e=nl,nl=tl=null,bh(n),e)))for(n=0;n<e.length;n++)bh(e[n])}}function Fl(e,n){var r=e.stateNode;if(r===null)return null;var o=r[re]||null;if(o===null)return null;r=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(i(231,n,typeof r));return r}var ga=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hu=!1;if(ga)try{var Zl={};Object.defineProperty(Zl,"passive",{get:function(){Hu=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch{Hu=!1}var qa=null,qu=null,jo=null;function Eh(){if(jo)return jo;var e,n=qu,r=n.length,o,c="value"in qa?qa.value:qa.textContent,d=c.length;for(e=0;e<r&&n[e]===c[e];e++);var g=r-e;for(o=1;o<=g&&n[r-o]===c[d-o];o++);return jo=c.slice(e,1<o?1-o:void 0)}function zo(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function Lo(){return!0}function Th(){return!1}function an(e){function n(r,o,c,d,g){this._reactName=r,this._targetInst=c,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(r=e[b],this[b]=r?r(d):d[b]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Lo:Th,this.isPropagationStopped=Th,this}return y(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Lo)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Lo)},persist:function(){},isPersistent:Lo}),n}var wr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ko=an(wr),Jl=y({},wr,{view:0,detail:0}),wb=an(Jl),Pu,$u,Wl,Bo=y({},Jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Wl&&(Wl&&e.type==="mousemove"?(Pu=e.screenX-Wl.screenX,$u=e.screenY-Wl.screenY):$u=Pu=0,Wl=e),Pu)},movementY:function(e){return"movementY"in e?e.movementY:$u}}),wh=an(Bo),Cb=y({},Bo,{dataTransfer:0}),Rb=an(Cb),xb=y({},Jl,{relatedTarget:0}),Gu=an(xb),Ab=y({},wr,{animationName:0,elapsedTime:0,pseudoElement:0}),Ob=an(Ab),Mb=y({},wr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Db=an(Mb),_b=y({},wr,{data:0}),Ch=an(_b),Nb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ub={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},jb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zb(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=jb[e])?!!n[e]:!1}function Qu(){return zb}var Lb=y({},Jl,{key:function(e){if(e.key){var n=Nb[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=zo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ub[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qu,charCode:function(e){return e.type==="keypress"?zo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?zo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),kb=an(Lb),Bb=y({},Bo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rh=an(Bb),Hb=y({},Jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qu}),qb=an(Hb),Pb=y({},wr,{propertyName:0,elapsedTime:0,pseudoElement:0}),$b=an(Pb),Gb=y({},Bo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Qb=an(Gb),Yb=y({},wr,{newState:0,oldState:0}),Vb=an(Yb),Kb=[9,13,27,32],Yu=ga&&"CompositionEvent"in window,Il=null;ga&&"documentMode"in document&&(Il=document.documentMode);var Xb=ga&&"TextEvent"in window&&!Il,xh=ga&&(!Yu||Il&&8<Il&&11>=Il),Ah=" ",Oh=!1;function Mh(e,n){switch(e){case"keyup":return Kb.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var al=!1;function Fb(e,n){switch(e){case"compositionend":return Dh(n);case"keypress":return n.which!==32?null:(Oh=!0,Ah);case"textInput":return e=n.data,e===Ah&&Oh?null:e;default:return null}}function Zb(e,n){if(al)return e==="compositionend"||!Yu&&Mh(e,n)?(e=Eh(),jo=qu=qa=null,al=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return xh&&n.locale!=="ko"?null:n.data;default:return null}}var Jb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function _h(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Jb[e.type]:n==="textarea"}function Nh(e,n,r,o){tl?nl?nl.push(o):nl=[o]:tl=o,n=Cs(n,"onChange"),0<n.length&&(r=new ko("onChange","change",null,r,o),e.push({event:r,listeners:n}))}var ei=null,ti=null;function Wb(e){dy(e,0)}function Ho(e){var n=pt(e);if(hh(n))return e}function Uh(e,n){if(e==="change")return n}var jh=!1;if(ga){var Vu;if(ga){var Ku="oninput"in document;if(!Ku){var zh=document.createElement("div");zh.setAttribute("oninput","return;"),Ku=typeof zh.oninput=="function"}Vu=Ku}else Vu=!1;jh=Vu&&(!document.documentMode||9<document.documentMode)}function Lh(){ei&&(ei.detachEvent("onpropertychange",kh),ti=ei=null)}function kh(e){if(e.propertyName==="value"&&Ho(ti)){var n=[];Nh(n,ti,e,ku(e)),Sh(Wb,n)}}function Ib(e,n,r){e==="focusin"?(Lh(),ei=n,ti=r,ei.attachEvent("onpropertychange",kh)):e==="focusout"&&Lh()}function eS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ho(ti)}function tS(e,n){if(e==="click")return Ho(n)}function nS(e,n){if(e==="input"||e==="change")return Ho(n)}function aS(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var yn=typeof Object.is=="function"?Object.is:aS;function ni(e,n){if(yn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var r=Object.keys(e),o=Object.keys(n);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var c=r[o];if(!ca.call(n,c)||!yn(e[c],n[c]))return!1}return!0}function Bh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Hh(e,n){var r=Bh(e);e=0;for(var o;r;){if(r.nodeType===3){if(o=e+r.textContent.length,e<=n&&o>=n)return{node:r,offset:n-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Bh(r)}}function qh(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?qh(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ph(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=No(e.document);n instanceof e.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)e=n.contentWindow;else break;n=No(e.document)}return n}function Xu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var rS=ga&&"documentMode"in document&&11>=document.documentMode,rl=null,Fu=null,ai=null,Zu=!1;function $h(e,n,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Zu||rl==null||rl!==No(o)||(o=rl,"selectionStart"in o&&Xu(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),ai&&ni(ai,o)||(ai=o,o=Cs(Fu,"onSelect"),0<o.length&&(n=new ko("onSelect","select",null,n,r),e.push({event:n,listeners:o}),n.target=rl)))}function Cr(e,n){var r={};return r[e.toLowerCase()]=n.toLowerCase(),r["Webkit"+e]="webkit"+n,r["Moz"+e]="moz"+n,r}var ll={animationend:Cr("Animation","AnimationEnd"),animationiteration:Cr("Animation","AnimationIteration"),animationstart:Cr("Animation","AnimationStart"),transitionrun:Cr("Transition","TransitionRun"),transitionstart:Cr("Transition","TransitionStart"),transitioncancel:Cr("Transition","TransitionCancel"),transitionend:Cr("Transition","TransitionEnd")},Ju={},Gh={};ga&&(Gh=document.createElement("div").style,"AnimationEvent"in window||(delete ll.animationend.animation,delete ll.animationiteration.animation,delete ll.animationstart.animation),"TransitionEvent"in window||delete ll.transitionend.transition);function Rr(e){if(Ju[e])return Ju[e];if(!ll[e])return e;var n=ll[e],r;for(r in n)if(n.hasOwnProperty(r)&&r in Gh)return Ju[e]=n[r];return e}var Qh=Rr("animationend"),Yh=Rr("animationiteration"),Vh=Rr("animationstart"),lS=Rr("transitionrun"),iS=Rr("transitionstart"),oS=Rr("transitioncancel"),Kh=Rr("transitionend"),Xh=new Map,Wu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Wu.push("scrollEnd");function $n(e,n){Xh.set(e,n),pn(n,[e])}var Fh=new WeakMap;function _n(e,n){if(typeof e=="object"&&e!==null){var r=Fh.get(e);return r!==void 0?r:(n={value:e,source:n,stack:Do(n)},Fh.set(e,n),n)}return{value:e,source:n,stack:Do(n)}}var Nn=[],il=0,Iu=0;function qo(){for(var e=il,n=Iu=il=0;n<e;){var r=Nn[n];Nn[n++]=null;var o=Nn[n];Nn[n++]=null;var c=Nn[n];Nn[n++]=null;var d=Nn[n];if(Nn[n++]=null,o!==null&&c!==null){var g=o.pending;g===null?c.next=c:(c.next=g.next,g.next=c),o.pending=c}d!==0&&Zh(r,c,d)}}function Po(e,n,r,o){Nn[il++]=e,Nn[il++]=n,Nn[il++]=r,Nn[il++]=o,Iu|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function ec(e,n,r,o){return Po(e,n,r,o),$o(e)}function ol(e,n){return Po(e,null,null,n),$o(e)}function Zh(e,n,r){e.lanes|=r;var o=e.alternate;o!==null&&(o.lanes|=r);for(var c=!1,d=e.return;d!==null;)d.childLanes|=r,o=d.alternate,o!==null&&(o.childLanes|=r),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(c=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,c&&n!==null&&(c=31-lt(r),e=d.hiddenUpdates,o=e[c],o===null?e[c]=[n]:o.push(n),n.lane=r|536870912),d):null}function $o(e){if(50<Oi)throw Oi=0,of=null,Error(i(185));for(var n=e.return;n!==null;)e=n,n=e.return;return e.tag===3?e.stateNode:null}var sl={};function sS(e,n,r,o){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(e,n,r,o){return new sS(e,n,r,o)}function tc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function va(e,n){var r=e.alternate;return r===null?(r=gn(e.tag,n,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=n,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,n=e.dependencies,r.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Jh(e,n){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=n,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,n=r.dependencies,e.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),e}function Go(e,n,r,o,c,d){var g=0;if(o=e,typeof e=="function")tc(e)&&(g=1);else if(typeof e=="string")g=c1(e,r,ce.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=gn(31,r,n,c),e.elementType=ae,e.lanes=d,e;case S:return xr(r.children,c,d,n);case w:g=8,c|=24;break;case R:return e=gn(12,r,n,c|2),e.elementType=R,e.lanes=d,e;case N:return e=gn(13,r,n,c),e.elementType=N,e.lanes=d,e;case A:return e=gn(19,r,n,c),e.elementType=A,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case k:case Q:g=10;break e;case G:g=9;break e;case F:g=11;break e;case W:g=14;break e;case le:g=16,o=null;break e}g=29,r=Error(i(130,e===null?"null":typeof e,"")),o=null}return n=gn(g,r,n,c),n.elementType=e,n.type=o,n.lanes=d,n}function xr(e,n,r,o){return e=gn(7,e,o,n),e.lanes=r,e}function nc(e,n,r){return e=gn(6,e,null,n),e.lanes=r,e}function ac(e,n,r){return n=gn(4,e.children!==null?e.children:[],e.key,n),n.lanes=r,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}var ul=[],cl=0,Qo=null,Yo=0,Un=[],jn=0,Ar=null,ba=1,Sa="";function Or(e,n){ul[cl++]=Yo,ul[cl++]=Qo,Qo=e,Yo=n}function Wh(e,n,r){Un[jn++]=ba,Un[jn++]=Sa,Un[jn++]=Ar,Ar=e;var o=ba;e=Sa;var c=32-lt(o)-1;o&=~(1<<c),r+=1;var d=32-lt(n)+c;if(30<d){var g=c-c%5;d=(o&(1<<g)-1).toString(32),o>>=g,c-=g,ba=1<<32-lt(n)+c|r<<c|o,Sa=d+e}else ba=1<<d|r<<c|o,Sa=e}function rc(e){e.return!==null&&(Or(e,1),Wh(e,1,0))}function lc(e){for(;e===Qo;)Qo=ul[--cl],ul[cl]=null,Yo=ul[--cl],ul[cl]=null;for(;e===Ar;)Ar=Un[--jn],Un[jn]=null,Sa=Un[--jn],Un[jn]=null,ba=Un[--jn],Un[jn]=null}var It=null,Ct=null,Ze=!1,Mr=null,Wn=!1,ic=Error(i(519));function Dr(e){var n=Error(i(418,""));throw ii(_n(n,e)),ic}function Ih(e){var n=e.stateNode,r=e.type,o=e.memoizedProps;switch(n[J]=e,n[re]=o,r){case"dialog":He("cancel",n),He("close",n);break;case"iframe":case"object":case"embed":He("load",n);break;case"video":case"audio":for(r=0;r<Di.length;r++)He(Di[r],n);break;case"source":He("error",n);break;case"img":case"image":case"link":He("error",n),He("load",n);break;case"details":He("toggle",n);break;case"input":He("invalid",n),mh(n,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),_o(n);break;case"select":He("invalid",n);break;case"textarea":He("invalid",n),yh(n,o.value,o.defaultValue,o.children),_o(n)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||n.textContent===""+r||o.suppressHydrationWarning===!0||yy(n.textContent,r)?(o.popover!=null&&(He("beforetoggle",n),He("toggle",n)),o.onScroll!=null&&He("scroll",n),o.onScrollEnd!=null&&He("scrollend",n),o.onClick!=null&&(n.onclick=Rs),n=!0):n=!1,n||Dr(e)}function em(e){for(It=e.return;It;)switch(It.tag){case 5:case 13:Wn=!1;return;case 27:case 3:Wn=!0;return;default:It=It.return}}function ri(e){if(e!==It)return!1;if(!Ze)return em(e),Ze=!0,!1;var n=e.tag,r;if((r=n!==3&&n!==27)&&((r=n===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||wf(e.type,e.memoizedProps)),r=!r),r&&Ct&&Dr(e),em(e),n===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8)if(r=e.data,r==="/$"){if(n===0){Ct=Qn(e.nextSibling);break e}n--}else r!=="$"&&r!=="$!"&&r!=="$?"||n++;e=e.nextSibling}Ct=null}}else n===27?(n=Ct,nr(e.type)?(e=Af,Af=null,Ct=e):Ct=n):Ct=It?Qn(e.stateNode.nextSibling):null;return!0}function li(){Ct=It=null,Ze=!1}function tm(){var e=Mr;return e!==null&&(on===null?on=e:on.push.apply(on,e),Mr=null),e}function ii(e){Mr===null?Mr=[e]:Mr.push(e)}var oc=Y(null),_r=null,Ea=null;function Pa(e,n,r){ne(oc,n._currentValue),n._currentValue=r}function Ta(e){e._currentValue=oc.current,ee(oc)}function sc(e,n,r){for(;e!==null;){var o=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,o!==null&&(o.childLanes|=n)):o!==null&&(o.childLanes&n)!==n&&(o.childLanes|=n),e===r)break;e=e.return}}function uc(e,n,r,o){var c=e.child;for(c!==null&&(c.return=e);c!==null;){var d=c.dependencies;if(d!==null){var g=c.child;d=d.firstContext;e:for(;d!==null;){var b=d;d=c;for(var x=0;x<n.length;x++)if(b.context===n[x]){d.lanes|=r,b=d.alternate,b!==null&&(b.lanes|=r),sc(d.return,r,e),o||(g=null);break e}d=b.next}}else if(c.tag===18){if(g=c.return,g===null)throw Error(i(341));g.lanes|=r,d=g.alternate,d!==null&&(d.lanes|=r),sc(g,r,e),g=null}else g=c.child;if(g!==null)g.return=c;else for(g=c;g!==null;){if(g===e){g=null;break}if(c=g.sibling,c!==null){c.return=g.return,g=c;break}g=g.return}c=g}}function oi(e,n,r,o){e=null;for(var c=n,d=!1;c!==null;){if(!d){if((c.flags&524288)!==0)d=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var g=c.alternate;if(g===null)throw Error(i(387));if(g=g.memoizedProps,g!==null){var b=c.type;yn(c.pendingProps.value,g.value)||(e!==null?e.push(b):e=[b])}}else if(c===Et.current){if(g=c.alternate,g===null)throw Error(i(387));g.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(e!==null?e.push(Li):e=[Li])}c=c.return}e!==null&&uc(n,e,r,o),n.flags|=262144}function Vo(e){for(e=e.firstContext;e!==null;){if(!yn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Nr(e){_r=e,Ea=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Kt(e){return nm(_r,e)}function Ko(e,n){return _r===null&&Nr(e),nm(e,n)}function nm(e,n){var r=n._currentValue;if(n={context:n,memoizedValue:r,next:null},Ea===null){if(e===null)throw Error(i(308));Ea=n,e.dependencies={lanes:0,firstContext:n},e.flags|=524288}else Ea=Ea.next=n;return r}var uS=typeof AbortController<"u"?AbortController:function(){var e=[],n=this.signal={aborted:!1,addEventListener:function(r,o){e.push(o)}};this.abort=function(){n.aborted=!0,e.forEach(function(r){return r()})}},cS=t.unstable_scheduleCallback,fS=t.unstable_NormalPriority,Lt={$$typeof:Q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function cc(){return{controller:new uS,data:new Map,refCount:0}}function si(e){e.refCount--,e.refCount===0&&cS(fS,function(){e.controller.abort()})}var ui=null,fc=0,fl=0,dl=null;function dS(e,n){if(ui===null){var r=ui=[];fc=0,fl=mf(),dl={status:"pending",value:void 0,then:function(o){r.push(o)}}}return fc++,n.then(am,am),n}function am(){if(--fc===0&&ui!==null){dl!==null&&(dl.status="fulfilled");var e=ui;ui=null,fl=0,dl=null;for(var n=0;n<e.length;n++)(0,e[n])()}}function hS(e,n){var r=[],o={status:"pending",value:null,reason:null,then:function(c){r.push(c)}};return e.then(function(){o.status="fulfilled",o.value=n;for(var c=0;c<r.length;c++)(0,r[c])(n)},function(c){for(o.status="rejected",o.reason=c,c=0;c<r.length;c++)(0,r[c])(void 0)}),o}var rm=U.S;U.S=function(e,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&dS(e,n),rm!==null&&rm(e,n)};var Ur=Y(null);function dc(){var e=Ur.current;return e!==null?e:ht.pooledCache}function Xo(e,n){n===null?ne(Ur,Ur.current):ne(Ur,n.pool)}function lm(){var e=dc();return e===null?null:{parent:Lt._currentValue,pool:e}}var ci=Error(i(460)),im=Error(i(474)),Fo=Error(i(542)),hc={then:function(){}};function om(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Zo(){}function sm(e,n,r){switch(r=e[r],r===void 0?e.push(n):r!==n&&(n.then(Zo,Zo),n=r),n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,cm(e),e;default:if(typeof n.status=="string")n.then(Zo,Zo);else{if(e=ht,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=n,e.status="pending",e.then(function(o){if(n.status==="pending"){var c=n;c.status="fulfilled",c.value=o}},function(o){if(n.status==="pending"){var c=n;c.status="rejected",c.reason=o}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw e=n.reason,cm(e),e}throw fi=n,ci}}var fi=null;function um(){if(fi===null)throw Error(i(459));var e=fi;return fi=null,e}function cm(e){if(e===ci||e===Fo)throw Error(i(483))}var $a=!1;function mc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function pc(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ga(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Qa(e,n,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(tt&2)!==0){var c=o.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),o.pending=n,n=$o(e),Zh(e,null,r),n}return Po(e,o,n,r),$o(e)}function di(e,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,Tr(e,r)}}function yc(e,n){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var c=null,d=null;if(r=r.firstBaseUpdate,r!==null){do{var g={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};d===null?c=d=g:d=d.next=g,r=r.next}while(r!==null);d===null?c=d=n:d=d.next=n}else c=d=n;r={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=n:e.next=n,r.lastBaseUpdate=n}var gc=!1;function hi(){if(gc){var e=dl;if(e!==null)throw e}}function mi(e,n,r,o){gc=!1;var c=e.updateQueue;$a=!1;var d=c.firstBaseUpdate,g=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var x=b,B=x.next;x.next=null,g===null?d=B:g.next=B,g=x;var K=e.alternate;K!==null&&(K=K.updateQueue,b=K.lastBaseUpdate,b!==g&&(b===null?K.firstBaseUpdate=B:b.next=B,K.lastBaseUpdate=x))}if(d!==null){var Z=c.baseState;g=0,K=B=x=null,b=d;do{var H=b.lane&-536870913,q=H!==b.lane;if(q?(Pe&H)===H:(o&H)===H){H!==0&&H===fl&&(gc=!0),K!==null&&(K=K.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var xe=e,Ce=b;H=n;var ut=r;switch(Ce.tag){case 1:if(xe=Ce.payload,typeof xe=="function"){Z=xe.call(ut,Z,H);break e}Z=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Ce.payload,H=typeof xe=="function"?xe.call(ut,Z,H):xe,H==null)break e;Z=y({},Z,H);break e;case 2:$a=!0}}H=b.callback,H!==null&&(e.flags|=64,q&&(e.flags|=8192),q=c.callbacks,q===null?c.callbacks=[H]:q.push(H))}else q={lane:H,tag:b.tag,payload:b.payload,callback:b.callback,next:null},K===null?(B=K=q,x=Z):K=K.next=q,g|=H;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;q=b,b=q.next,q.next=null,c.lastBaseUpdate=q,c.shared.pending=null}}while(!0);K===null&&(x=Z),c.baseState=x,c.firstBaseUpdate=B,c.lastBaseUpdate=K,d===null&&(c.shared.lanes=0),Wa|=g,e.lanes=g,e.memoizedState=Z}}function fm(e,n){if(typeof e!="function")throw Error(i(191,e));e.call(n)}function dm(e,n){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)fm(r[e],n)}var hl=Y(null),Jo=Y(0);function hm(e,n){e=Ma,ne(Jo,e),ne(hl,n),Ma=e|n.baseLanes}function vc(){ne(Jo,Ma),ne(hl,hl.current)}function bc(){Ma=Jo.current,ee(hl),ee(Jo)}var Ya=0,Le=null,ot=null,Nt=null,Wo=!1,ml=!1,jr=!1,Io=0,pi=0,pl=null,mS=0;function Ot(){throw Error(i(321))}function Sc(e,n){if(n===null)return!1;for(var r=0;r<n.length&&r<e.length;r++)if(!yn(e[r],n[r]))return!1;return!0}function Ec(e,n,r,o,c,d){return Ya=d,Le=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,U.H=e===null||e.memoizedState===null?Zm:Jm,jr=!1,d=r(o,c),jr=!1,ml&&(d=pm(n,r,o,c)),mm(e),d}function mm(e){U.H=ls;var n=ot!==null&&ot.next!==null;if(Ya=0,Nt=ot=Le=null,Wo=!1,pi=0,pl=null,n)throw Error(i(300));e===null||Bt||(e=e.dependencies,e!==null&&Vo(e)&&(Bt=!0))}function pm(e,n,r,o){Le=e;var c=0;do{if(ml&&(pl=null),pi=0,ml=!1,25<=c)throw Error(i(301));if(c+=1,Nt=ot=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}U.H=ES,d=n(r,o)}while(ml);return d}function pS(){var e=U.H,n=e.useState()[0];return n=typeof n.then=="function"?yi(n):n,e=e.useState()[0],(ot!==null?ot.memoizedState:null)!==e&&(Le.flags|=1024),n}function Tc(){var e=Io!==0;return Io=0,e}function wc(e,n,r){n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~r}function Cc(e){if(Wo){for(e=e.memoizedState;e!==null;){var n=e.queue;n!==null&&(n.pending=null),e=e.next}Wo=!1}Ya=0,Nt=ot=Le=null,ml=!1,pi=Io=0,pl=null}function rn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?Le.memoizedState=Nt=e:Nt=Nt.next=e,Nt}function Ut(){if(ot===null){var e=Le.alternate;e=e!==null?e.memoizedState:null}else e=ot.next;var n=Nt===null?Le.memoizedState:Nt.next;if(n!==null)Nt=n,ot=e;else{if(e===null)throw Le.alternate===null?Error(i(467)):Error(i(310));ot=e,e={memoizedState:ot.memoizedState,baseState:ot.baseState,baseQueue:ot.baseQueue,queue:ot.queue,next:null},Nt===null?Le.memoizedState=Nt=e:Nt=Nt.next=e}return Nt}function Rc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function yi(e){var n=pi;return pi+=1,pl===null&&(pl=[]),e=sm(pl,e,n),n=Le,(Nt===null?n.memoizedState:Nt.next)===null&&(n=n.alternate,U.H=n===null||n.memoizedState===null?Zm:Jm),e}function es(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return yi(e);if(e.$$typeof===Q)return Kt(e)}throw Error(i(438,String(e)))}function xc(e){var n=null,r=Le.updateQueue;if(r!==null&&(n=r.memoCache),n==null){var o=Le.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(n={data:o.data.map(function(c){return c.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),r===null&&(r=Rc(),Le.updateQueue=r),r.memoCache=n,r=n.data[n.index],r===void 0)for(r=n.data[n.index]=Array(e),o=0;o<e;o++)r[o]=se;return n.index++,r}function wa(e,n){return typeof n=="function"?n(e):n}function ts(e){var n=Ut();return Ac(n,ot,e)}function Ac(e,n,r){var o=e.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=r;var c=e.baseQueue,d=o.pending;if(d!==null){if(c!==null){var g=c.next;c.next=d.next,d.next=g}n.baseQueue=c=d,o.pending=null}if(d=e.baseState,c===null)e.memoizedState=d;else{n=c.next;var b=g=null,x=null,B=n,K=!1;do{var Z=B.lane&-536870913;if(Z!==B.lane?(Pe&Z)===Z:(Ya&Z)===Z){var H=B.revertLane;if(H===0)x!==null&&(x=x.next={lane:0,revertLane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),Z===fl&&(K=!0);else if((Ya&H)===H){B=B.next,H===fl&&(K=!0);continue}else Z={lane:0,revertLane:B.revertLane,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},x===null?(b=x=Z,g=d):x=x.next=Z,Le.lanes|=H,Wa|=H;Z=B.action,jr&&r(d,Z),d=B.hasEagerState?B.eagerState:r(d,Z)}else H={lane:Z,revertLane:B.revertLane,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},x===null?(b=x=H,g=d):x=x.next=H,Le.lanes|=Z,Wa|=Z;B=B.next}while(B!==null&&B!==n);if(x===null?g=d:x.next=b,!yn(d,e.memoizedState)&&(Bt=!0,K&&(r=dl,r!==null)))throw r;e.memoizedState=d,e.baseState=g,e.baseQueue=x,o.lastRenderedState=d}return c===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Oc(e){var n=Ut(),r=n.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=e;var o=r.dispatch,c=r.pending,d=n.memoizedState;if(c!==null){r.pending=null;var g=c=c.next;do d=e(d,g.action),g=g.next;while(g!==c);yn(d,n.memoizedState)||(Bt=!0),n.memoizedState=d,n.baseQueue===null&&(n.baseState=d),r.lastRenderedState=d}return[d,o]}function ym(e,n,r){var o=Le,c=Ut(),d=Ze;if(d){if(r===void 0)throw Error(i(407));r=r()}else r=n();var g=!yn((ot||c).memoizedState,r);g&&(c.memoizedState=r,Bt=!0),c=c.queue;var b=bm.bind(null,o,c,e);if(gi(2048,8,b,[e]),c.getSnapshot!==n||g||Nt!==null&&Nt.memoizedState.tag&1){if(o.flags|=2048,yl(9,ns(),vm.bind(null,o,c,r,n),null),ht===null)throw Error(i(349));d||(Ya&124)!==0||gm(o,n,r)}return r}function gm(e,n,r){e.flags|=16384,e={getSnapshot:n,value:r},n=Le.updateQueue,n===null?(n=Rc(),Le.updateQueue=n,n.stores=[e]):(r=n.stores,r===null?n.stores=[e]:r.push(e))}function vm(e,n,r,o){n.value=r,n.getSnapshot=o,Sm(n)&&Em(e)}function bm(e,n,r){return r(function(){Sm(n)&&Em(e)})}function Sm(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!yn(e,r)}catch{return!0}}function Em(e){var n=ol(e,2);n!==null&&Tn(n,e,2)}function Mc(e){var n=rn();if(typeof e=="function"){var r=e;if(e=r(),jr){mt(!0);try{r()}finally{mt(!1)}}}return n.memoizedState=n.baseState=e,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:e},n}function Tm(e,n,r,o){return e.baseState=r,Ac(e,ot,typeof o=="function"?o:wa)}function yS(e,n,r,o,c){if(rs(e))throw Error(i(485));if(e=n.action,e!==null){var d={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(g){d.listeners.push(g)}};U.T!==null?r(!0):d.isTransition=!1,o(d),r=n.pending,r===null?(d.next=n.pending=d,wm(n,d)):(d.next=r.next,n.pending=r.next=d)}}function wm(e,n){var r=n.action,o=n.payload,c=e.state;if(n.isTransition){var d=U.T,g={};U.T=g;try{var b=r(c,o),x=U.S;x!==null&&x(g,b),Cm(e,n,b)}catch(B){Dc(e,n,B)}finally{U.T=d}}else try{d=r(c,o),Cm(e,n,d)}catch(B){Dc(e,n,B)}}function Cm(e,n,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(o){Rm(e,n,o)},function(o){return Dc(e,n,o)}):Rm(e,n,r)}function Rm(e,n,r){n.status="fulfilled",n.value=r,xm(n),e.state=r,n=e.pending,n!==null&&(r=n.next,r===n?e.pending=null:(r=r.next,n.next=r,wm(e,r)))}function Dc(e,n,r){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do n.status="rejected",n.reason=r,xm(n),n=n.next;while(n!==o)}e.action=null}function xm(e){e=e.listeners;for(var n=0;n<e.length;n++)(0,e[n])()}function Am(e,n){return n}function Om(e,n){if(Ze){var r=ht.formState;if(r!==null){e:{var o=Le;if(Ze){if(Ct){t:{for(var c=Ct,d=Wn;c.nodeType!==8;){if(!d){c=null;break t}if(c=Qn(c.nextSibling),c===null){c=null;break t}}d=c.data,c=d==="F!"||d==="F"?c:null}if(c){Ct=Qn(c.nextSibling),o=c.data==="F!";break e}}Dr(o)}o=!1}o&&(n=r[0])}}return r=rn(),r.memoizedState=r.baseState=n,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Am,lastRenderedState:n},r.queue=o,r=Km.bind(null,Le,o),o.dispatch=r,o=Mc(!1),d=zc.bind(null,Le,!1,o.queue),o=rn(),c={state:n,dispatch:null,action:e,pending:null},o.queue=c,r=yS.bind(null,Le,c,d,r),c.dispatch=r,o.memoizedState=e,[n,r,!1]}function Mm(e){var n=Ut();return Dm(n,ot,e)}function Dm(e,n,r){if(n=Ac(e,n,Am)[0],e=ts(wa)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var o=yi(n)}catch(g){throw g===ci?Fo:g}else o=n;n=Ut();var c=n.queue,d=c.dispatch;return r!==n.memoizedState&&(Le.flags|=2048,yl(9,ns(),gS.bind(null,c,r),null)),[o,d,e]}function gS(e,n){e.action=n}function _m(e){var n=Ut(),r=ot;if(r!==null)return Dm(n,r,e);Ut(),n=n.memoizedState,r=Ut();var o=r.queue.dispatch;return r.memoizedState=e,[n,o,!1]}function yl(e,n,r,o){return e={tag:e,create:r,deps:o,inst:n,next:null},n=Le.updateQueue,n===null&&(n=Rc(),Le.updateQueue=n),r=n.lastEffect,r===null?n.lastEffect=e.next=e:(o=r.next,r.next=e,e.next=o,n.lastEffect=e),e}function ns(){return{destroy:void 0,resource:void 0}}function Nm(){return Ut().memoizedState}function as(e,n,r,o){var c=rn();o=o===void 0?null:o,Le.flags|=e,c.memoizedState=yl(1|n,ns(),r,o)}function gi(e,n,r,o){var c=Ut();o=o===void 0?null:o;var d=c.memoizedState.inst;ot!==null&&o!==null&&Sc(o,ot.memoizedState.deps)?c.memoizedState=yl(n,d,r,o):(Le.flags|=e,c.memoizedState=yl(1|n,d,r,o))}function Um(e,n){as(8390656,8,e,n)}function jm(e,n){gi(2048,8,e,n)}function zm(e,n){return gi(4,2,e,n)}function Lm(e,n){return gi(4,4,e,n)}function km(e,n){if(typeof n=="function"){e=e();var r=n(e);return function(){typeof r=="function"?r():n(null)}}if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Bm(e,n,r){r=r!=null?r.concat([e]):null,gi(4,4,km.bind(null,n,e),r)}function _c(){}function Hm(e,n){var r=Ut();n=n===void 0?null:n;var o=r.memoizedState;return n!==null&&Sc(n,o[1])?o[0]:(r.memoizedState=[e,n],e)}function qm(e,n){var r=Ut();n=n===void 0?null:n;var o=r.memoizedState;if(n!==null&&Sc(n,o[1]))return o[0];if(o=e(),jr){mt(!0);try{e()}finally{mt(!1)}}return r.memoizedState=[o,n],o}function Nc(e,n,r){return r===void 0||(Ya&1073741824)!==0?e.memoizedState=n:(e.memoizedState=r,e=Gp(),Le.lanes|=e,Wa|=e,r)}function Pm(e,n,r,o){return yn(r,n)?r:hl.current!==null?(e=Nc(e,r,o),yn(e,n)||(Bt=!0),e):(Ya&42)===0?(Bt=!0,e.memoizedState=r):(e=Gp(),Le.lanes|=e,Wa|=e,n)}function $m(e,n,r,o,c){var d=te.p;te.p=d!==0&&8>d?d:8;var g=U.T,b={};U.T=b,zc(e,!1,n,r);try{var x=c(),B=U.S;if(B!==null&&B(b,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var K=hS(x,o);vi(e,n,K,En(e))}else vi(e,n,o,En(e))}catch(Z){vi(e,n,{then:function(){},status:"rejected",reason:Z},En())}finally{te.p=d,U.T=g}}function vS(){}function Uc(e,n,r,o){if(e.tag!==5)throw Error(i(476));var c=Gm(e).queue;$m(e,c,n,oe,r===null?vS:function(){return Qm(e),r(o)})}function Gm(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:oe,baseState:oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:oe},next:null};var r={};return n.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:wa,lastRenderedState:r},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function Qm(e){var n=Gm(e).next.queue;vi(e,n,{},En())}function jc(){return Kt(Li)}function Ym(){return Ut().memoizedState}function Vm(){return Ut().memoizedState}function bS(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=En();e=Ga(r);var o=Qa(n,e,r);o!==null&&(Tn(o,n,r),di(o,n,r)),n={cache:cc()},e.payload=n;return}n=n.return}}function SS(e,n,r){var o=En();r={lane:o,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},rs(e)?Xm(n,r):(r=ec(e,n,r,o),r!==null&&(Tn(r,e,o),Fm(r,n,o)))}function Km(e,n,r){var o=En();vi(e,n,r,o)}function vi(e,n,r,o){var c={lane:o,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(rs(e))Xm(n,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=n.lastRenderedReducer,d!==null))try{var g=n.lastRenderedState,b=d(g,r);if(c.hasEagerState=!0,c.eagerState=b,yn(b,g))return Po(e,n,c,0),ht===null&&qo(),!1}catch{}finally{}if(r=ec(e,n,c,o),r!==null)return Tn(r,e,o),Fm(r,n,o),!0}return!1}function zc(e,n,r,o){if(o={lane:2,revertLane:mf(),action:o,hasEagerState:!1,eagerState:null,next:null},rs(e)){if(n)throw Error(i(479))}else n=ec(e,r,o,2),n!==null&&Tn(n,e,2)}function rs(e){var n=e.alternate;return e===Le||n!==null&&n===Le}function Xm(e,n){ml=Wo=!0;var r=e.pending;r===null?n.next=n:(n.next=r.next,r.next=n),e.pending=n}function Fm(e,n,r){if((r&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,Tr(e,r)}}var ls={readContext:Kt,use:es,useCallback:Ot,useContext:Ot,useEffect:Ot,useImperativeHandle:Ot,useLayoutEffect:Ot,useInsertionEffect:Ot,useMemo:Ot,useReducer:Ot,useRef:Ot,useState:Ot,useDebugValue:Ot,useDeferredValue:Ot,useTransition:Ot,useSyncExternalStore:Ot,useId:Ot,useHostTransitionStatus:Ot,useFormState:Ot,useActionState:Ot,useOptimistic:Ot,useMemoCache:Ot,useCacheRefresh:Ot},Zm={readContext:Kt,use:es,useCallback:function(e,n){return rn().memoizedState=[e,n===void 0?null:n],e},useContext:Kt,useEffect:Um,useImperativeHandle:function(e,n,r){r=r!=null?r.concat([e]):null,as(4194308,4,km.bind(null,n,e),r)},useLayoutEffect:function(e,n){return as(4194308,4,e,n)},useInsertionEffect:function(e,n){as(4,2,e,n)},useMemo:function(e,n){var r=rn();n=n===void 0?null:n;var o=e();if(jr){mt(!0);try{e()}finally{mt(!1)}}return r.memoizedState=[o,n],o},useReducer:function(e,n,r){var o=rn();if(r!==void 0){var c=r(n);if(jr){mt(!0);try{r(n)}finally{mt(!1)}}}else c=n;return o.memoizedState=o.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},o.queue=e,e=e.dispatch=SS.bind(null,Le,e),[o.memoizedState,e]},useRef:function(e){var n=rn();return e={current:e},n.memoizedState=e},useState:function(e){e=Mc(e);var n=e.queue,r=Km.bind(null,Le,n);return n.dispatch=r,[e.memoizedState,r]},useDebugValue:_c,useDeferredValue:function(e,n){var r=rn();return Nc(r,e,n)},useTransition:function(){var e=Mc(!1);return e=$m.bind(null,Le,e.queue,!0,!1),rn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,r){var o=Le,c=rn();if(Ze){if(r===void 0)throw Error(i(407));r=r()}else{if(r=n(),ht===null)throw Error(i(349));(Pe&124)!==0||gm(o,n,r)}c.memoizedState=r;var d={value:r,getSnapshot:n};return c.queue=d,Um(bm.bind(null,o,d,e),[e]),o.flags|=2048,yl(9,ns(),vm.bind(null,o,d,r,n),null),r},useId:function(){var e=rn(),n=ht.identifierPrefix;if(Ze){var r=Sa,o=ba;r=(o&~(1<<32-lt(o)-1)).toString(32)+r,n="«"+n+"R"+r,r=Io++,0<r&&(n+="H"+r.toString(32)),n+="»"}else r=mS++,n="«"+n+"r"+r.toString(32)+"»";return e.memoizedState=n},useHostTransitionStatus:jc,useFormState:Om,useActionState:Om,useOptimistic:function(e){var n=rn();n.memoizedState=n.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=r,n=zc.bind(null,Le,!0,r),r.dispatch=n,[e,n]},useMemoCache:xc,useCacheRefresh:function(){return rn().memoizedState=bS.bind(null,Le)}},Jm={readContext:Kt,use:es,useCallback:Hm,useContext:Kt,useEffect:jm,useImperativeHandle:Bm,useInsertionEffect:zm,useLayoutEffect:Lm,useMemo:qm,useReducer:ts,useRef:Nm,useState:function(){return ts(wa)},useDebugValue:_c,useDeferredValue:function(e,n){var r=Ut();return Pm(r,ot.memoizedState,e,n)},useTransition:function(){var e=ts(wa)[0],n=Ut().memoizedState;return[typeof e=="boolean"?e:yi(e),n]},useSyncExternalStore:ym,useId:Ym,useHostTransitionStatus:jc,useFormState:Mm,useActionState:Mm,useOptimistic:function(e,n){var r=Ut();return Tm(r,ot,e,n)},useMemoCache:xc,useCacheRefresh:Vm},ES={readContext:Kt,use:es,useCallback:Hm,useContext:Kt,useEffect:jm,useImperativeHandle:Bm,useInsertionEffect:zm,useLayoutEffect:Lm,useMemo:qm,useReducer:Oc,useRef:Nm,useState:function(){return Oc(wa)},useDebugValue:_c,useDeferredValue:function(e,n){var r=Ut();return ot===null?Nc(r,e,n):Pm(r,ot.memoizedState,e,n)},useTransition:function(){var e=Oc(wa)[0],n=Ut().memoizedState;return[typeof e=="boolean"?e:yi(e),n]},useSyncExternalStore:ym,useId:Ym,useHostTransitionStatus:jc,useFormState:_m,useActionState:_m,useOptimistic:function(e,n){var r=Ut();return ot!==null?Tm(r,ot,e,n):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:xc,useCacheRefresh:Vm},gl=null,bi=0;function is(e){var n=bi;return bi+=1,gl===null&&(gl=[]),sm(gl,e,n)}function Si(e,n){n=n.props.ref,e.ref=n!==void 0?n:null}function os(e,n){throw n.$$typeof===v?Error(i(525)):(e=Object.prototype.toString.call(n),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e)))}function Wm(e){var n=e._init;return n(e._payload)}function Im(e){function n(j,_){if(e){var L=j.deletions;L===null?(j.deletions=[_],j.flags|=16):L.push(_)}}function r(j,_){if(!e)return null;for(;_!==null;)n(j,_),_=_.sibling;return null}function o(j){for(var _=new Map;j!==null;)j.key!==null?_.set(j.key,j):_.set(j.index,j),j=j.sibling;return _}function c(j,_){return j=va(j,_),j.index=0,j.sibling=null,j}function d(j,_,L){return j.index=L,e?(L=j.alternate,L!==null?(L=L.index,L<_?(j.flags|=67108866,_):L):(j.flags|=67108866,_)):(j.flags|=1048576,_)}function g(j){return e&&j.alternate===null&&(j.flags|=67108866),j}function b(j,_,L,X){return _===null||_.tag!==6?(_=nc(L,j.mode,X),_.return=j,_):(_=c(_,L),_.return=j,_)}function x(j,_,L,X){var fe=L.type;return fe===S?K(j,_,L.props.children,X,L.key):_!==null&&(_.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===le&&Wm(fe)===_.type)?(_=c(_,L.props),Si(_,L),_.return=j,_):(_=Go(L.type,L.key,L.props,null,j.mode,X),Si(_,L),_.return=j,_)}function B(j,_,L,X){return _===null||_.tag!==4||_.stateNode.containerInfo!==L.containerInfo||_.stateNode.implementation!==L.implementation?(_=ac(L,j.mode,X),_.return=j,_):(_=c(_,L.children||[]),_.return=j,_)}function K(j,_,L,X,fe){return _===null||_.tag!==7?(_=xr(L,j.mode,X,fe),_.return=j,_):(_=c(_,L),_.return=j,_)}function Z(j,_,L){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=nc(""+_,j.mode,L),_.return=j,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case E:return L=Go(_.type,_.key,_.props,null,j.mode,L),Si(L,_),L.return=j,L;case C:return _=ac(_,j.mode,L),_.return=j,_;case le:var X=_._init;return _=X(_._payload),Z(j,_,L)}if(he(_)||T(_))return _=xr(_,j.mode,L,null),_.return=j,_;if(typeof _.then=="function")return Z(j,is(_),L);if(_.$$typeof===Q)return Z(j,Ko(j,_),L);os(j,_)}return null}function H(j,_,L,X){var fe=_!==null?_.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return fe!==null?null:b(j,_,""+L,X);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case E:return L.key===fe?x(j,_,L,X):null;case C:return L.key===fe?B(j,_,L,X):null;case le:return fe=L._init,L=fe(L._payload),H(j,_,L,X)}if(he(L)||T(L))return fe!==null?null:K(j,_,L,X,null);if(typeof L.then=="function")return H(j,_,is(L),X);if(L.$$typeof===Q)return H(j,_,Ko(j,L),X);os(j,L)}return null}function q(j,_,L,X,fe){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return j=j.get(L)||null,b(_,j,""+X,fe);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case E:return j=j.get(X.key===null?L:X.key)||null,x(_,j,X,fe);case C:return j=j.get(X.key===null?L:X.key)||null,B(_,j,X,fe);case le:var ke=X._init;return X=ke(X._payload),q(j,_,L,X,fe)}if(he(X)||T(X))return j=j.get(L)||null,K(_,j,X,fe,null);if(typeof X.then=="function")return q(j,_,L,is(X),fe);if(X.$$typeof===Q)return q(j,_,L,Ko(_,X),fe);os(_,X)}return null}function xe(j,_,L,X){for(var fe=null,ke=null,be=_,Re=_=0,qt=null;be!==null&&Re<L.length;Re++){be.index>Re?(qt=be,be=null):qt=be.sibling;var Xe=H(j,be,L[Re],X);if(Xe===null){be===null&&(be=qt);break}e&&be&&Xe.alternate===null&&n(j,be),_=d(Xe,_,Re),ke===null?fe=Xe:ke.sibling=Xe,ke=Xe,be=qt}if(Re===L.length)return r(j,be),Ze&&Or(j,Re),fe;if(be===null){for(;Re<L.length;Re++)be=Z(j,L[Re],X),be!==null&&(_=d(be,_,Re),ke===null?fe=be:ke.sibling=be,ke=be);return Ze&&Or(j,Re),fe}for(be=o(be);Re<L.length;Re++)qt=q(be,j,Re,L[Re],X),qt!==null&&(e&&qt.alternate!==null&&be.delete(qt.key===null?Re:qt.key),_=d(qt,_,Re),ke===null?fe=qt:ke.sibling=qt,ke=qt);return e&&be.forEach(function(or){return n(j,or)}),Ze&&Or(j,Re),fe}function Ce(j,_,L,X){if(L==null)throw Error(i(151));for(var fe=null,ke=null,be=_,Re=_=0,qt=null,Xe=L.next();be!==null&&!Xe.done;Re++,Xe=L.next()){be.index>Re?(qt=be,be=null):qt=be.sibling;var or=H(j,be,Xe.value,X);if(or===null){be===null&&(be=qt);break}e&&be&&or.alternate===null&&n(j,be),_=d(or,_,Re),ke===null?fe=or:ke.sibling=or,ke=or,be=qt}if(Xe.done)return r(j,be),Ze&&Or(j,Re),fe;if(be===null){for(;!Xe.done;Re++,Xe=L.next())Xe=Z(j,Xe.value,X),Xe!==null&&(_=d(Xe,_,Re),ke===null?fe=Xe:ke.sibling=Xe,ke=Xe);return Ze&&Or(j,Re),fe}for(be=o(be);!Xe.done;Re++,Xe=L.next())Xe=q(be,j,Re,Xe.value,X),Xe!==null&&(e&&Xe.alternate!==null&&be.delete(Xe.key===null?Re:Xe.key),_=d(Xe,_,Re),ke===null?fe=Xe:ke.sibling=Xe,ke=Xe);return e&&be.forEach(function(T1){return n(j,T1)}),Ze&&Or(j,Re),fe}function ut(j,_,L,X){if(typeof L=="object"&&L!==null&&L.type===S&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case E:e:{for(var fe=L.key;_!==null;){if(_.key===fe){if(fe=L.type,fe===S){if(_.tag===7){r(j,_.sibling),X=c(_,L.props.children),X.return=j,j=X;break e}}else if(_.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===le&&Wm(fe)===_.type){r(j,_.sibling),X=c(_,L.props),Si(X,L),X.return=j,j=X;break e}r(j,_);break}else n(j,_);_=_.sibling}L.type===S?(X=xr(L.props.children,j.mode,X,L.key),X.return=j,j=X):(X=Go(L.type,L.key,L.props,null,j.mode,X),Si(X,L),X.return=j,j=X)}return g(j);case C:e:{for(fe=L.key;_!==null;){if(_.key===fe)if(_.tag===4&&_.stateNode.containerInfo===L.containerInfo&&_.stateNode.implementation===L.implementation){r(j,_.sibling),X=c(_,L.children||[]),X.return=j,j=X;break e}else{r(j,_);break}else n(j,_);_=_.sibling}X=ac(L,j.mode,X),X.return=j,j=X}return g(j);case le:return fe=L._init,L=fe(L._payload),ut(j,_,L,X)}if(he(L))return xe(j,_,L,X);if(T(L)){if(fe=T(L),typeof fe!="function")throw Error(i(150));return L=fe.call(L),Ce(j,_,L,X)}if(typeof L.then=="function")return ut(j,_,is(L),X);if(L.$$typeof===Q)return ut(j,_,Ko(j,L),X);os(j,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,_!==null&&_.tag===6?(r(j,_.sibling),X=c(_,L),X.return=j,j=X):(r(j,_),X=nc(L,j.mode,X),X.return=j,j=X),g(j)):r(j,_)}return function(j,_,L,X){try{bi=0;var fe=ut(j,_,L,X);return gl=null,fe}catch(be){if(be===ci||be===Fo)throw be;var ke=gn(29,be,null,j.mode);return ke.lanes=X,ke.return=j,ke}finally{}}}var vl=Im(!0),ep=Im(!1),zn=Y(null),In=null;function Va(e){var n=e.alternate;ne(kt,kt.current&1),ne(zn,e),In===null&&(n===null||hl.current!==null||n.memoizedState!==null)&&(In=e)}function tp(e){if(e.tag===22){if(ne(kt,kt.current),ne(zn,e),In===null){var n=e.alternate;n!==null&&n.memoizedState!==null&&(In=e)}}else Ka()}function Ka(){ne(kt,kt.current),ne(zn,zn.current)}function Ca(e){ee(zn),In===e&&(In=null),ee(kt)}var kt=Y(0);function ss(e){for(var n=e;n!==null;){if(n.tag===13){var r=n.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||xf(r)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function Lc(e,n,r,o){n=e.memoizedState,r=r(o,n),r=r==null?n:y({},n,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var kc={enqueueSetState:function(e,n,r){e=e._reactInternals;var o=En(),c=Ga(o);c.payload=n,r!=null&&(c.callback=r),n=Qa(e,c,o),n!==null&&(Tn(n,e,o),di(n,e,o))},enqueueReplaceState:function(e,n,r){e=e._reactInternals;var o=En(),c=Ga(o);c.tag=1,c.payload=n,r!=null&&(c.callback=r),n=Qa(e,c,o),n!==null&&(Tn(n,e,o),di(n,e,o))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var r=En(),o=Ga(r);o.tag=2,n!=null&&(o.callback=n),n=Qa(e,o,r),n!==null&&(Tn(n,e,r),di(n,e,r))}};function np(e,n,r,o,c,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,g):n.prototype&&n.prototype.isPureReactComponent?!ni(r,o)||!ni(c,d):!0}function ap(e,n,r,o){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(r,o),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(r,o),n.state!==e&&kc.enqueueReplaceState(n,n.state,null)}function zr(e,n){var r=n;if("ref"in n){r={};for(var o in n)o!=="ref"&&(r[o]=n[o])}if(e=e.defaultProps){r===n&&(r=y({},r));for(var c in e)r[c]===void 0&&(r[c]=e[c])}return r}var us=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function rp(e){us(e)}function lp(e){console.error(e)}function ip(e){us(e)}function cs(e,n){try{var r=e.onUncaughtError;r(n.value,{componentStack:n.stack})}catch(o){setTimeout(function(){throw o})}}function op(e,n,r){try{var o=e.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Bc(e,n,r){return r=Ga(r),r.tag=3,r.payload={element:null},r.callback=function(){cs(e,n)},r}function sp(e){return e=Ga(e),e.tag=3,e}function up(e,n,r,o){var c=r.type.getDerivedStateFromError;if(typeof c=="function"){var d=o.value;e.payload=function(){return c(d)},e.callback=function(){op(n,r,o)}}var g=r.stateNode;g!==null&&typeof g.componentDidCatch=="function"&&(e.callback=function(){op(n,r,o),typeof c!="function"&&(Ia===null?Ia=new Set([this]):Ia.add(this));var b=o.stack;this.componentDidCatch(o.value,{componentStack:b!==null?b:""})})}function TS(e,n,r,o,c){if(r.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(n=r.alternate,n!==null&&oi(n,r,c,!0),r=zn.current,r!==null){switch(r.tag){case 13:return In===null?uf():r.alternate===null&&Rt===0&&(Rt=3),r.flags&=-257,r.flags|=65536,r.lanes=c,o===hc?r.flags|=16384:(n=r.updateQueue,n===null?r.updateQueue=new Set([o]):n.add(o),ff(e,o,c)),!1;case 22:return r.flags|=65536,o===hc?r.flags|=16384:(n=r.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=n):(r=n.retryQueue,r===null?n.retryQueue=new Set([o]):r.add(o)),ff(e,o,c)),!1}throw Error(i(435,r.tag))}return ff(e,o,c),uf(),!1}if(Ze)return n=zn.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=c,o!==ic&&(e=Error(i(422),{cause:o}),ii(_n(e,r)))):(o!==ic&&(n=Error(i(423),{cause:o}),ii(_n(n,r))),e=e.current.alternate,e.flags|=65536,c&=-c,e.lanes|=c,o=_n(o,r),c=Bc(e.stateNode,o,c),yc(e,c),Rt!==4&&(Rt=2)),!1;var d=Error(i(520),{cause:o});if(d=_n(d,r),Ai===null?Ai=[d]:Ai.push(d),Rt!==4&&(Rt=2),n===null)return!0;o=_n(o,r),r=n;do{switch(r.tag){case 3:return r.flags|=65536,e=c&-c,r.lanes|=e,e=Bc(r.stateNode,o,e),yc(r,e),!1;case 1:if(n=r.type,d=r.stateNode,(r.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(Ia===null||!Ia.has(d))))return r.flags|=65536,c&=-c,r.lanes|=c,c=sp(c),up(c,e,r,o),yc(r,c),!1}r=r.return}while(r!==null);return!1}var cp=Error(i(461)),Bt=!1;function Pt(e,n,r,o){n.child=e===null?ep(n,null,r,o):vl(n,e.child,r,o)}function fp(e,n,r,o,c){r=r.render;var d=n.ref;if("ref"in o){var g={};for(var b in o)b!=="ref"&&(g[b]=o[b])}else g=o;return Nr(n),o=Ec(e,n,r,g,d,c),b=Tc(),e!==null&&!Bt?(wc(e,n,c),Ra(e,n,c)):(Ze&&b&&rc(n),n.flags|=1,Pt(e,n,o,c),n.child)}function dp(e,n,r,o,c){if(e===null){var d=r.type;return typeof d=="function"&&!tc(d)&&d.defaultProps===void 0&&r.compare===null?(n.tag=15,n.type=d,hp(e,n,d,o,c)):(e=Go(r.type,null,o,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(d=e.child,!Vc(e,c)){var g=d.memoizedProps;if(r=r.compare,r=r!==null?r:ni,r(g,o)&&e.ref===n.ref)return Ra(e,n,c)}return n.flags|=1,e=va(d,o),e.ref=n.ref,e.return=n,n.child=e}function hp(e,n,r,o,c){if(e!==null){var d=e.memoizedProps;if(ni(d,o)&&e.ref===n.ref)if(Bt=!1,n.pendingProps=o=d,Vc(e,c))(e.flags&131072)!==0&&(Bt=!0);else return n.lanes=e.lanes,Ra(e,n,c)}return Hc(e,n,r,o,c)}function mp(e,n,r){var o=n.pendingProps,c=o.children,d=e!==null?e.memoizedState:null;if(o.mode==="hidden"){if((n.flags&128)!==0){if(o=d!==null?d.baseLanes|r:r,e!==null){for(c=n.child=e.child,d=0;c!==null;)d=d|c.lanes|c.childLanes,c=c.sibling;n.childLanes=d&~o}else n.childLanes=0,n.child=null;return pp(e,n,o,r)}if((r&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},e!==null&&Xo(n,d!==null?d.cachePool:null),d!==null?hm(n,d):vc(),tp(n);else return n.lanes=n.childLanes=536870912,pp(e,n,d!==null?d.baseLanes|r:r,r)}else d!==null?(Xo(n,d.cachePool),hm(n,d),Ka(),n.memoizedState=null):(e!==null&&Xo(n,null),vc(),Ka());return Pt(e,n,c,r),n.child}function pp(e,n,r,o){var c=dc();return c=c===null?null:{parent:Lt._currentValue,pool:c},n.memoizedState={baseLanes:r,cachePool:c},e!==null&&Xo(n,null),vc(),tp(n),e!==null&&oi(e,n,o,!0),null}function fs(e,n){var r=n.ref;if(r===null)e!==null&&e.ref!==null&&(n.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(i(284));(e===null||e.ref!==r)&&(n.flags|=4194816)}}function Hc(e,n,r,o,c){return Nr(n),r=Ec(e,n,r,o,void 0,c),o=Tc(),e!==null&&!Bt?(wc(e,n,c),Ra(e,n,c)):(Ze&&o&&rc(n),n.flags|=1,Pt(e,n,r,c),n.child)}function yp(e,n,r,o,c,d){return Nr(n),n.updateQueue=null,r=pm(n,o,r,c),mm(e),o=Tc(),e!==null&&!Bt?(wc(e,n,d),Ra(e,n,d)):(Ze&&o&&rc(n),n.flags|=1,Pt(e,n,r,d),n.child)}function gp(e,n,r,o,c){if(Nr(n),n.stateNode===null){var d=sl,g=r.contextType;typeof g=="object"&&g!==null&&(d=Kt(g)),d=new r(o,d),n.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=kc,n.stateNode=d,d._reactInternals=n,d=n.stateNode,d.props=o,d.state=n.memoizedState,d.refs={},mc(n),g=r.contextType,d.context=typeof g=="object"&&g!==null?Kt(g):sl,d.state=n.memoizedState,g=r.getDerivedStateFromProps,typeof g=="function"&&(Lc(n,r,g,o),d.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(g=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),g!==d.state&&kc.enqueueReplaceState(d,d.state,null),mi(n,o,d,c),hi(),d.state=n.memoizedState),typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!0}else if(e===null){d=n.stateNode;var b=n.memoizedProps,x=zr(r,b);d.props=x;var B=d.context,K=r.contextType;g=sl,typeof K=="object"&&K!==null&&(g=Kt(K));var Z=r.getDerivedStateFromProps;K=typeof Z=="function"||typeof d.getSnapshotBeforeUpdate=="function",b=n.pendingProps!==b,K||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(b||B!==g)&&ap(n,d,o,g),$a=!1;var H=n.memoizedState;d.state=H,mi(n,o,d,c),hi(),B=n.memoizedState,b||H!==B||$a?(typeof Z=="function"&&(Lc(n,r,Z,o),B=n.memoizedState),(x=$a||np(n,r,x,o,H,B,g))?(K||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(n.flags|=4194308)):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=o,n.memoizedState=B),d.props=o,d.state=B,d.context=g,o=x):(typeof d.componentDidMount=="function"&&(n.flags|=4194308),o=!1)}else{d=n.stateNode,pc(e,n),g=n.memoizedProps,K=zr(r,g),d.props=K,Z=n.pendingProps,H=d.context,B=r.contextType,x=sl,typeof B=="object"&&B!==null&&(x=Kt(B)),b=r.getDerivedStateFromProps,(B=typeof b=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(g!==Z||H!==x)&&ap(n,d,o,x),$a=!1,H=n.memoizedState,d.state=H,mi(n,o,d,c),hi();var q=n.memoizedState;g!==Z||H!==q||$a||e!==null&&e.dependencies!==null&&Vo(e.dependencies)?(typeof b=="function"&&(Lc(n,r,b,o),q=n.memoizedState),(K=$a||np(n,r,K,o,H,q,x)||e!==null&&e.dependencies!==null&&Vo(e.dependencies))?(B||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(o,q,x),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(o,q,x)),typeof d.componentDidUpdate=="function"&&(n.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(n.flags|=1024),n.memoizedProps=o,n.memoizedState=q),d.props=o,d.state=q,d.context=x,o=K):(typeof d.componentDidUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(n.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||g===e.memoizedProps&&H===e.memoizedState||(n.flags|=1024),o=!1)}return d=o,fs(e,n),o=(n.flags&128)!==0,d||o?(d=n.stateNode,r=o&&typeof r.getDerivedStateFromError!="function"?null:d.render(),n.flags|=1,e!==null&&o?(n.child=vl(n,e.child,null,c),n.child=vl(n,null,r,c)):Pt(e,n,r,c),n.memoizedState=d.state,e=n.child):e=Ra(e,n,c),e}function vp(e,n,r,o){return li(),n.flags|=256,Pt(e,n,r,o),n.child}var qc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Pc(e){return{baseLanes:e,cachePool:lm()}}function $c(e,n,r){return e=e!==null?e.childLanes&~r:0,n&&(e|=Ln),e}function bp(e,n,r){var o=n.pendingProps,c=!1,d=(n.flags&128)!==0,g;if((g=d)||(g=e!==null&&e.memoizedState===null?!1:(kt.current&2)!==0),g&&(c=!0,n.flags&=-129),g=(n.flags&32)!==0,n.flags&=-33,e===null){if(Ze){if(c?Va(n):Ka(),Ze){var b=Ct,x;if(x=b){e:{for(x=b,b=Wn;x.nodeType!==8;){if(!b){b=null;break e}if(x=Qn(x.nextSibling),x===null){b=null;break e}}b=x}b!==null?(n.memoizedState={dehydrated:b,treeContext:Ar!==null?{id:ba,overflow:Sa}:null,retryLane:536870912,hydrationErrors:null},x=gn(18,null,null,0),x.stateNode=b,x.return=n,n.child=x,It=n,Ct=null,x=!0):x=!1}x||Dr(n)}if(b=n.memoizedState,b!==null&&(b=b.dehydrated,b!==null))return xf(b)?n.lanes=32:n.lanes=536870912,null;Ca(n)}return b=o.children,o=o.fallback,c?(Ka(),c=n.mode,b=ds({mode:"hidden",children:b},c),o=xr(o,c,r,null),b.return=n,o.return=n,b.sibling=o,n.child=b,c=n.child,c.memoizedState=Pc(r),c.childLanes=$c(e,g,r),n.memoizedState=qc,o):(Va(n),Gc(n,b))}if(x=e.memoizedState,x!==null&&(b=x.dehydrated,b!==null)){if(d)n.flags&256?(Va(n),n.flags&=-257,n=Qc(e,n,r)):n.memoizedState!==null?(Ka(),n.child=e.child,n.flags|=128,n=null):(Ka(),c=o.fallback,b=n.mode,o=ds({mode:"visible",children:o.children},b),c=xr(c,b,r,null),c.flags|=2,o.return=n,c.return=n,o.sibling=c,n.child=o,vl(n,e.child,null,r),o=n.child,o.memoizedState=Pc(r),o.childLanes=$c(e,g,r),n.memoizedState=qc,n=c);else if(Va(n),xf(b)){if(g=b.nextSibling&&b.nextSibling.dataset,g)var B=g.dgst;g=B,o=Error(i(419)),o.stack="",o.digest=g,ii({value:o,source:null,stack:null}),n=Qc(e,n,r)}else if(Bt||oi(e,n,r,!1),g=(r&e.childLanes)!==0,Bt||g){if(g=ht,g!==null&&(o=r&-r,o=(o&42)!==0?1:Kl(o),o=(o&(g.suspendedLanes|r))!==0?0:o,o!==0&&o!==x.retryLane))throw x.retryLane=o,ol(e,o),Tn(g,e,o),cp;b.data==="$?"||uf(),n=Qc(e,n,r)}else b.data==="$?"?(n.flags|=192,n.child=e.child,n=null):(e=x.treeContext,Ct=Qn(b.nextSibling),It=n,Ze=!0,Mr=null,Wn=!1,e!==null&&(Un[jn++]=ba,Un[jn++]=Sa,Un[jn++]=Ar,ba=e.id,Sa=e.overflow,Ar=n),n=Gc(n,o.children),n.flags|=4096);return n}return c?(Ka(),c=o.fallback,b=n.mode,x=e.child,B=x.sibling,o=va(x,{mode:"hidden",children:o.children}),o.subtreeFlags=x.subtreeFlags&65011712,B!==null?c=va(B,c):(c=xr(c,b,r,null),c.flags|=2),c.return=n,o.return=n,o.sibling=c,n.child=o,o=c,c=n.child,b=e.child.memoizedState,b===null?b=Pc(r):(x=b.cachePool,x!==null?(B=Lt._currentValue,x=x.parent!==B?{parent:B,pool:B}:x):x=lm(),b={baseLanes:b.baseLanes|r,cachePool:x}),c.memoizedState=b,c.childLanes=$c(e,g,r),n.memoizedState=qc,o):(Va(n),r=e.child,e=r.sibling,r=va(r,{mode:"visible",children:o.children}),r.return=n,r.sibling=null,e!==null&&(g=n.deletions,g===null?(n.deletions=[e],n.flags|=16):g.push(e)),n.child=r,n.memoizedState=null,r)}function Gc(e,n){return n=ds({mode:"visible",children:n},e.mode),n.return=e,e.child=n}function ds(e,n){return e=gn(22,e,null,n),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Qc(e,n,r){return vl(n,e.child,null,r),e=Gc(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Sp(e,n,r){e.lanes|=n;var o=e.alternate;o!==null&&(o.lanes|=n),sc(e.return,n,r)}function Yc(e,n,r,o,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:c}:(d.isBackwards=n,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=r,d.tailMode=c)}function Ep(e,n,r){var o=n.pendingProps,c=o.revealOrder,d=o.tail;if(Pt(e,n,o.children,r),o=kt.current,(o&2)!==0)o=o&1|2,n.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sp(e,r,n);else if(e.tag===19)Sp(e,r,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}switch(ne(kt,o),c){case"forwards":for(r=n.child,c=null;r!==null;)e=r.alternate,e!==null&&ss(e)===null&&(c=r),r=r.sibling;r=c,r===null?(c=n.child,n.child=null):(c=r.sibling,r.sibling=null),Yc(n,!1,c,r,d);break;case"backwards":for(r=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&ss(e)===null){n.child=c;break}e=c.sibling,c.sibling=r,r=c,c=e}Yc(n,!0,r,null,d);break;case"together":Yc(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ra(e,n,r){if(e!==null&&(n.dependencies=e.dependencies),Wa|=n.lanes,(r&n.childLanes)===0)if(e!==null){if(oi(e,n,r,!1),(r&n.childLanes)===0)return null}else return null;if(e!==null&&n.child!==e.child)throw Error(i(153));if(n.child!==null){for(e=n.child,r=va(e,e.pendingProps),n.child=r,r.return=n;e.sibling!==null;)e=e.sibling,r=r.sibling=va(e,e.pendingProps),r.return=n;r.sibling=null}return n.child}function Vc(e,n){return(e.lanes&n)!==0?!0:(e=e.dependencies,!!(e!==null&&Vo(e)))}function wS(e,n,r){switch(n.tag){case 3:et(n,n.stateNode.containerInfo),Pa(n,Lt,e.memoizedState.cache),li();break;case 27:case 5:Tt(n);break;case 4:et(n,n.stateNode.containerInfo);break;case 10:Pa(n,n.type,n.memoizedProps.value);break;case 13:var o=n.memoizedState;if(o!==null)return o.dehydrated!==null?(Va(n),n.flags|=128,null):(r&n.child.childLanes)!==0?bp(e,n,r):(Va(n),e=Ra(e,n,r),e!==null?e.sibling:null);Va(n);break;case 19:var c=(e.flags&128)!==0;if(o=(r&n.childLanes)!==0,o||(oi(e,n,r,!1),o=(r&n.childLanes)!==0),c){if(o)return Ep(e,n,r);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),ne(kt,kt.current),o)break;return null;case 22:case 23:return n.lanes=0,mp(e,n,r);case 24:Pa(n,Lt,e.memoizedState.cache)}return Ra(e,n,r)}function Tp(e,n,r){if(e!==null)if(e.memoizedProps!==n.pendingProps)Bt=!0;else{if(!Vc(e,r)&&(n.flags&128)===0)return Bt=!1,wS(e,n,r);Bt=(e.flags&131072)!==0}else Bt=!1,Ze&&(n.flags&1048576)!==0&&Wh(n,Yo,n.index);switch(n.lanes=0,n.tag){case 16:e:{e=n.pendingProps;var o=n.elementType,c=o._init;if(o=c(o._payload),n.type=o,typeof o=="function")tc(o)?(e=zr(o,e),n.tag=1,n=gp(null,n,o,e,r)):(n.tag=0,n=Hc(null,n,o,e,r));else{if(o!=null){if(c=o.$$typeof,c===F){n.tag=11,n=fp(null,n,o,e,r);break e}else if(c===W){n.tag=14,n=dp(null,n,o,e,r);break e}}throw n=I(o)||o,Error(i(306,n,""))}}return n;case 0:return Hc(e,n,n.type,n.pendingProps,r);case 1:return o=n.type,c=zr(o,n.pendingProps),gp(e,n,o,c,r);case 3:e:{if(et(n,n.stateNode.containerInfo),e===null)throw Error(i(387));o=n.pendingProps;var d=n.memoizedState;c=d.element,pc(e,n),mi(n,o,null,r);var g=n.memoizedState;if(o=g.cache,Pa(n,Lt,o),o!==d.cache&&uc(n,[Lt],r,!0),hi(),o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache},n.updateQueue.baseState=d,n.memoizedState=d,n.flags&256){n=vp(e,n,o,r);break e}else if(o!==c){c=_n(Error(i(424)),n),ii(c),n=vp(e,n,o,r);break e}else{switch(e=n.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ct=Qn(e.firstChild),It=n,Ze=!0,Mr=null,Wn=!0,r=ep(n,null,o,r),n.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(li(),o===c){n=Ra(e,n,r);break e}Pt(e,n,o,r)}n=n.child}return n;case 26:return fs(e,n),e===null?(r=xy(n.type,null,n.pendingProps,null))?n.memoizedState=r:Ze||(r=n.type,e=n.pendingProps,o=xs(Te.current).createElement(r),o[J]=n,o[re]=e,Gt(o,r,e),De(o),n.stateNode=o):n.memoizedState=xy(n.type,e.memoizedProps,n.pendingProps,e.memoizedState),null;case 27:return Tt(n),e===null&&Ze&&(o=n.stateNode=wy(n.type,n.pendingProps,Te.current),It=n,Wn=!0,c=Ct,nr(n.type)?(Af=c,Ct=Qn(o.firstChild)):Ct=c),Pt(e,n,n.pendingProps.children,r),fs(e,n),e===null&&(n.flags|=4194304),n.child;case 5:return e===null&&Ze&&((c=o=Ct)&&(o=JS(o,n.type,n.pendingProps,Wn),o!==null?(n.stateNode=o,It=n,Ct=Qn(o.firstChild),Wn=!1,c=!0):c=!1),c||Dr(n)),Tt(n),c=n.type,d=n.pendingProps,g=e!==null?e.memoizedProps:null,o=d.children,wf(c,d)?o=null:g!==null&&wf(c,g)&&(n.flags|=32),n.memoizedState!==null&&(c=Ec(e,n,pS,null,null,r),Li._currentValue=c),fs(e,n),Pt(e,n,o,r),n.child;case 6:return e===null&&Ze&&((e=r=Ct)&&(r=WS(r,n.pendingProps,Wn),r!==null?(n.stateNode=r,It=n,Ct=null,e=!0):e=!1),e||Dr(n)),null;case 13:return bp(e,n,r);case 4:return et(n,n.stateNode.containerInfo),o=n.pendingProps,e===null?n.child=vl(n,null,o,r):Pt(e,n,o,r),n.child;case 11:return fp(e,n,n.type,n.pendingProps,r);case 7:return Pt(e,n,n.pendingProps,r),n.child;case 8:return Pt(e,n,n.pendingProps.children,r),n.child;case 12:return Pt(e,n,n.pendingProps.children,r),n.child;case 10:return o=n.pendingProps,Pa(n,n.type,o.value),Pt(e,n,o.children,r),n.child;case 9:return c=n.type._context,o=n.pendingProps.children,Nr(n),c=Kt(c),o=o(c),n.flags|=1,Pt(e,n,o,r),n.child;case 14:return dp(e,n,n.type,n.pendingProps,r);case 15:return hp(e,n,n.type,n.pendingProps,r);case 19:return Ep(e,n,r);case 31:return o=n.pendingProps,r=n.mode,o={mode:o.mode,children:o.children},e===null?(r=ds(o,r),r.ref=n.ref,n.child=r,r.return=n,n=r):(r=va(e.child,o),r.ref=n.ref,n.child=r,r.return=n,n=r),n;case 22:return mp(e,n,r);case 24:return Nr(n),o=Kt(Lt),e===null?(c=dc(),c===null&&(c=ht,d=cc(),c.pooledCache=d,d.refCount++,d!==null&&(c.pooledCacheLanes|=r),c=d),n.memoizedState={parent:o,cache:c},mc(n),Pa(n,Lt,c)):((e.lanes&r)!==0&&(pc(e,n),mi(n,null,null,r),hi()),c=e.memoizedState,d=n.memoizedState,c.parent!==o?(c={parent:o,cache:o},n.memoizedState=c,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=c),Pa(n,Lt,o)):(o=d.cache,Pa(n,Lt,o),o!==c.cache&&uc(n,[Lt],r,!0))),Pt(e,n,n.pendingProps.children,r),n.child;case 29:throw n.pendingProps}throw Error(i(156,n.tag))}function xa(e){e.flags|=4}function wp(e,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!_y(n)){if(n=zn.current,n!==null&&((Pe&4194048)===Pe?In!==null:(Pe&62914560)!==Pe&&(Pe&536870912)===0||n!==In))throw fi=hc,im;e.flags|=8192}}function hs(e,n){n!==null&&(e.flags|=4),e.flags&16384&&(n=e.tag!==22?Ao():536870912,e.lanes|=n,Tl|=n)}function Ei(e,n){if(!Ze)switch(e.tailMode){case"hidden":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function St(e){var n=e.alternate!==null&&e.alternate.child===e.child,r=0,o=0;if(n)for(var c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)r|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=o,e.childLanes=r,n}function CS(e,n,r){var o=n.pendingProps;switch(lc(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return St(n),null;case 1:return St(n),null;case 3:return r=n.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),n.memoizedState.cache!==o&&(n.flags|=2048),Ta(Lt),hn(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ri(n)?xa(n):e===null||e.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,tm())),St(n),null;case 26:return r=n.memoizedState,e===null?(xa(n),r!==null?(St(n),wp(n,r)):(St(n),n.flags&=-16777217)):r?r!==e.memoizedState?(xa(n),St(n),wp(n,r)):(St(n),n.flags&=-16777217):(e.memoizedProps!==o&&xa(n),St(n),n.flags&=-16777217),null;case 27:mn(n),r=Te.current;var c=n.type;if(e!==null&&n.stateNode!=null)e.memoizedProps!==o&&xa(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return St(n),null}e=ce.current,ri(n)?Ih(n):(e=wy(c,o,r),n.stateNode=e,xa(n))}return St(n),null;case 5:if(mn(n),r=n.type,e!==null&&n.stateNode!=null)e.memoizedProps!==o&&xa(n);else{if(!o){if(n.stateNode===null)throw Error(i(166));return St(n),null}if(e=ce.current,ri(n))Ih(n);else{switch(c=xs(Te.current),e){case 1:e=c.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:e=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":e=c.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":e=c.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":e=c.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof o.is=="string"?c.createElement("select",{is:o.is}):c.createElement("select"),o.multiple?e.multiple=!0:o.size&&(e.size=o.size);break;default:e=typeof o.is=="string"?c.createElement(r,{is:o.is}):c.createElement(r)}}e[J]=n,e[re]=o;e:for(c=n.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===n)break e;for(;c.sibling===null;){if(c.return===null||c.return===n)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n.stateNode=e;e:switch(Gt(e,r,o),r){case"button":case"input":case"select":case"textarea":e=!!o.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&xa(n)}}return St(n),n.flags&=-16777217,null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&xa(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(i(166));if(e=Te.current,ri(n)){if(e=n.stateNode,r=n.memoizedProps,o=null,c=It,c!==null)switch(c.tag){case 27:case 5:o=c.memoizedProps}e[J]=n,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||yy(e.nodeValue,r)),e||Dr(n)}else e=xs(e).createTextNode(o),e[J]=n,n.stateNode=e}return St(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=ri(n),o!==null&&o.dehydrated!==null){if(e===null){if(!c)throw Error(i(318));if(c=n.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(i(317));c[J]=n}else li(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;St(n),c=!1}else c=tm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return n.flags&256?(Ca(n),n):(Ca(n),null)}if(Ca(n),(n.flags&128)!==0)return n.lanes=r,n;if(r=o!==null,e=e!==null&&e.memoizedState!==null,r){o=n.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool);var d=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(d=o.memoizedState.cachePool.pool),d!==c&&(o.flags|=2048)}return r!==e&&r&&(n.child.flags|=8192),hs(n,n.updateQueue),St(n),null;case 4:return hn(),e===null&&vf(n.stateNode.containerInfo),St(n),null;case 10:return Ta(n.type),St(n),null;case 19:if(ee(kt),c=n.memoizedState,c===null)return St(n),null;if(o=(n.flags&128)!==0,d=c.rendering,d===null)if(o)Ei(c,!1);else{if(Rt!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(d=ss(e),d!==null){for(n.flags|=128,Ei(c,!1),e=d.updateQueue,n.updateQueue=e,hs(n,e),n.subtreeFlags=0,e=r,r=n.child;r!==null;)Jh(r,e),r=r.sibling;return ne(kt,kt.current&1|2),n.child}e=e.sibling}c.tail!==null&&Yt()>ys&&(n.flags|=128,o=!0,Ei(c,!1),n.lanes=4194304)}else{if(!o)if(e=ss(d),e!==null){if(n.flags|=128,o=!0,e=e.updateQueue,n.updateQueue=e,hs(n,e),Ei(c,!0),c.tail===null&&c.tailMode==="hidden"&&!d.alternate&&!Ze)return St(n),null}else 2*Yt()-c.renderingStartTime>ys&&r!==536870912&&(n.flags|=128,o=!0,Ei(c,!1),n.lanes=4194304);c.isBackwards?(d.sibling=n.child,n.child=d):(e=c.last,e!==null?e.sibling=d:n.child=d,c.last=d)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=Yt(),n.sibling=null,e=kt.current,ne(kt,o?e&1|2:e&1),n):(St(n),null);case 22:case 23:return Ca(n),bc(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(r&536870912)!==0&&(n.flags&128)===0&&(St(n),n.subtreeFlags&6&&(n.flags|=8192)):St(n),r=n.updateQueue,r!==null&&hs(n,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==r&&(n.flags|=2048),e!==null&&ee(Ur),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),Ta(Lt),St(n),null;case 25:return null;case 30:return null}throw Error(i(156,n.tag))}function RS(e,n){switch(lc(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Ta(Lt),hn(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return mn(n),null;case 13:if(Ca(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(i(340));li()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return ee(kt),null;case 4:return hn(),null;case 10:return Ta(n.type),null;case 22:case 23:return Ca(n),bc(),e!==null&&ee(Ur),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return Ta(Lt),null;case 25:return null;default:return null}}function Cp(e,n){switch(lc(n),n.tag){case 3:Ta(Lt),hn();break;case 26:case 27:case 5:mn(n);break;case 4:hn();break;case 13:Ca(n);break;case 19:ee(kt);break;case 10:Ta(n.type);break;case 22:case 23:Ca(n),bc(),e!==null&&ee(Ur);break;case 24:Ta(Lt)}}function Ti(e,n){try{var r=n.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var c=o.next;r=c;do{if((r.tag&e)===e){o=void 0;var d=r.create,g=r.inst;o=d(),g.destroy=o}r=r.next}while(r!==c)}}catch(b){dt(n,n.return,b)}}function Xa(e,n,r){try{var o=n.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var d=c.next;o=d;do{if((o.tag&e)===e){var g=o.inst,b=g.destroy;if(b!==void 0){g.destroy=void 0,c=n;var x=r,B=b;try{B()}catch(K){dt(c,x,K)}}}o=o.next}while(o!==d)}}catch(K){dt(n,n.return,K)}}function Rp(e){var n=e.updateQueue;if(n!==null){var r=e.stateNode;try{dm(n,r)}catch(o){dt(e,e.return,o)}}}function xp(e,n,r){r.props=zr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(o){dt(e,n,o)}}function wi(e,n){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof r=="function"?e.refCleanup=r(o):r.current=o}}catch(c){dt(e,n,c)}}function ea(e,n){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{o()}catch(c){dt(e,n,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(c){dt(e,n,c)}else r.current=null}function Ap(e){var n=e.type,r=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":r.autoFocus&&o.focus();break e;case"img":r.src?o.src=r.src:r.srcSet&&(o.srcset=r.srcSet)}}catch(c){dt(e,e.return,c)}}function Kc(e,n,r){try{var o=e.stateNode;VS(o,e.type,r,n),o[re]=n}catch(c){dt(e,e.return,c)}}function Op(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&nr(e.type)||e.tag===4}function Xc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Op(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&nr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fc(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,n):(n=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,n.appendChild(e),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=Rs));else if(o!==4&&(o===27&&nr(e.type)&&(r=e.stateNode,n=null),e=e.child,e!==null))for(Fc(e,n,r),e=e.sibling;e!==null;)Fc(e,n,r),e=e.sibling}function ms(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?r.insertBefore(e,n):r.appendChild(e);else if(o!==4&&(o===27&&nr(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(ms(e,n,r),e=e.sibling;e!==null;)ms(e,n,r),e=e.sibling}function Mp(e){var n=e.stateNode,r=e.memoizedProps;try{for(var o=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);Gt(n,o,r),n[J]=e,n[re]=r}catch(d){dt(e,e.return,d)}}var Aa=!1,Mt=!1,Zc=!1,Dp=typeof WeakSet=="function"?WeakSet:Set,Ht=null;function xS(e,n){if(e=e.containerInfo,Ef=Ns,e=Ph(e),Xu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var c=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{r.nodeType,d.nodeType}catch{r=null;break e}var g=0,b=-1,x=-1,B=0,K=0,Z=e,H=null;t:for(;;){for(var q;Z!==r||c!==0&&Z.nodeType!==3||(b=g+c),Z!==d||o!==0&&Z.nodeType!==3||(x=g+o),Z.nodeType===3&&(g+=Z.nodeValue.length),(q=Z.firstChild)!==null;)H=Z,Z=q;for(;;){if(Z===e)break t;if(H===r&&++B===c&&(b=g),H===d&&++K===o&&(x=g),(q=Z.nextSibling)!==null)break;Z=H,H=Z.parentNode}Z=q}r=b===-1||x===-1?null:{start:b,end:x}}else r=null}r=r||{start:0,end:0}}else r=null;for(Tf={focusedElem:e,selectionRange:r},Ns=!1,Ht=n;Ht!==null;)if(n=Ht,e=n.child,(n.subtreeFlags&1024)!==0&&e!==null)e.return=n,Ht=e;else for(;Ht!==null;){switch(n=Ht,d=n.alternate,e=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,r=n,c=d.memoizedProps,d=d.memoizedState,o=r.stateNode;try{var xe=zr(r.type,c,r.elementType===r.type);e=o.getSnapshotBeforeUpdate(xe,d),o.__reactInternalSnapshotBeforeUpdate=e}catch(Ce){dt(r,r.return,Ce)}}break;case 3:if((e&1024)!==0){if(e=n.stateNode.containerInfo,r=e.nodeType,r===9)Rf(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Rf(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(i(163))}if(e=n.sibling,e!==null){e.return=n.return,Ht=e;break}Ht=n.return}}function _p(e,n,r){var o=r.flags;switch(r.tag){case 0:case 11:case 15:Fa(e,r),o&4&&Ti(5,r);break;case 1:if(Fa(e,r),o&4)if(e=r.stateNode,n===null)try{e.componentDidMount()}catch(g){dt(r,r.return,g)}else{var c=zr(r.type,n.memoizedProps);n=n.memoizedState;try{e.componentDidUpdate(c,n,e.__reactInternalSnapshotBeforeUpdate)}catch(g){dt(r,r.return,g)}}o&64&&Rp(r),o&512&&wi(r,r.return);break;case 3:if(Fa(e,r),o&64&&(e=r.updateQueue,e!==null)){if(n=null,r.child!==null)switch(r.child.tag){case 27:case 5:n=r.child.stateNode;break;case 1:n=r.child.stateNode}try{dm(e,n)}catch(g){dt(r,r.return,g)}}break;case 27:n===null&&o&4&&Mp(r);case 26:case 5:Fa(e,r),n===null&&o&4&&Ap(r),o&512&&wi(r,r.return);break;case 12:Fa(e,r);break;case 13:Fa(e,r),o&4&&jp(e,r),o&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=zS.bind(null,r),IS(e,r))));break;case 22:if(o=r.memoizedState!==null||Aa,!o){n=n!==null&&n.memoizedState!==null||Mt,c=Aa;var d=Mt;Aa=o,(Mt=n)&&!d?Za(e,r,(r.subtreeFlags&8772)!==0):Fa(e,r),Aa=c,Mt=d}break;case 30:break;default:Fa(e,r)}}function Np(e){var n=e.alternate;n!==null&&(e.alternate=null,Np(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&ge(n)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var yt=null,ln=!1;function Oa(e,n,r){for(r=r.child;r!==null;)Up(e,n,r),r=r.sibling}function Up(e,n,r){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount(ft,r)}catch{}switch(r.tag){case 26:Mt||ea(r,n),Oa(e,n,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Mt||ea(r,n);var o=yt,c=ln;nr(r.type)&&(yt=r.stateNode,ln=!1),Oa(e,n,r),Ni(r.stateNode),yt=o,ln=c;break;case 5:Mt||ea(r,n);case 6:if(o=yt,c=ln,yt=null,Oa(e,n,r),yt=o,ln=c,yt!==null)if(ln)try{(yt.nodeType===9?yt.body:yt.nodeName==="HTML"?yt.ownerDocument.body:yt).removeChild(r.stateNode)}catch(d){dt(r,n,d)}else try{yt.removeChild(r.stateNode)}catch(d){dt(r,n,d)}break;case 18:yt!==null&&(ln?(e=yt,Ey(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),qi(e)):Ey(yt,r.stateNode));break;case 4:o=yt,c=ln,yt=r.stateNode.containerInfo,ln=!0,Oa(e,n,r),yt=o,ln=c;break;case 0:case 11:case 14:case 15:Mt||Xa(2,r,n),Mt||Xa(4,r,n),Oa(e,n,r);break;case 1:Mt||(ea(r,n),o=r.stateNode,typeof o.componentWillUnmount=="function"&&xp(r,n,o)),Oa(e,n,r);break;case 21:Oa(e,n,r);break;case 22:Mt=(o=Mt)||r.memoizedState!==null,Oa(e,n,r),Mt=o;break;default:Oa(e,n,r)}}function jp(e,n){if(n.memoizedState===null&&(e=n.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{qi(e)}catch(r){dt(n,n.return,r)}}function AS(e){switch(e.tag){case 13:case 19:var n=e.stateNode;return n===null&&(n=e.stateNode=new Dp),n;case 22:return e=e.stateNode,n=e._retryCache,n===null&&(n=e._retryCache=new Dp),n;default:throw Error(i(435,e.tag))}}function Jc(e,n){var r=AS(e);n.forEach(function(o){var c=LS.bind(null,e,o);r.has(o)||(r.add(o),o.then(c,c))})}function vn(e,n){var r=n.deletions;if(r!==null)for(var o=0;o<r.length;o++){var c=r[o],d=e,g=n,b=g;e:for(;b!==null;){switch(b.tag){case 27:if(nr(b.type)){yt=b.stateNode,ln=!1;break e}break;case 5:yt=b.stateNode,ln=!1;break e;case 3:case 4:yt=b.stateNode.containerInfo,ln=!0;break e}b=b.return}if(yt===null)throw Error(i(160));Up(d,g,c),yt=null,ln=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)zp(n,e),n=n.sibling}var Gn=null;function zp(e,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vn(n,e),bn(e),o&4&&(Xa(3,e,e.return),Ti(3,e),Xa(5,e,e.return));break;case 1:vn(n,e),bn(e),o&512&&(Mt||r===null||ea(r,r.return)),o&64&&Aa&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?o:r.concat(o))));break;case 26:var c=Gn;if(vn(n,e),bn(e),o&512&&(Mt||r===null||ea(r,r.return)),o&4){var d=r!==null?r.memoizedState:null;if(o=e.memoizedState,r===null)if(o===null)if(e.stateNode===null){e:{o=e.type,r=e.memoizedProps,c=c.ownerDocument||c;t:switch(o){case"title":d=c.getElementsByTagName("title")[0],(!d||d[pe]||d[J]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=c.createElement(o),c.head.insertBefore(d,c.querySelector("head > title"))),Gt(d,o,r),d[J]=e,De(d),o=d;break e;case"link":var g=My("link","href",c).get(o+(r.href||""));if(g){for(var b=0;b<g.length;b++)if(d=g[b],d.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&d.getAttribute("rel")===(r.rel==null?null:r.rel)&&d.getAttribute("title")===(r.title==null?null:r.title)&&d.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){g.splice(b,1);break t}}d=c.createElement(o),Gt(d,o,r),c.head.appendChild(d);break;case"meta":if(g=My("meta","content",c).get(o+(r.content||""))){for(b=0;b<g.length;b++)if(d=g[b],d.getAttribute("content")===(r.content==null?null:""+r.content)&&d.getAttribute("name")===(r.name==null?null:r.name)&&d.getAttribute("property")===(r.property==null?null:r.property)&&d.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&d.getAttribute("charset")===(r.charSet==null?null:r.charSet)){g.splice(b,1);break t}}d=c.createElement(o),Gt(d,o,r),c.head.appendChild(d);break;default:throw Error(i(468,o))}d[J]=e,De(d),o=d}e.stateNode=o}else Dy(c,e.type,e.stateNode);else e.stateNode=Oy(c,o,e.memoizedProps);else d!==o?(d===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):d.count--,o===null?Dy(c,e.type,e.stateNode):Oy(c,o,e.memoizedProps)):o===null&&e.stateNode!==null&&Kc(e,e.memoizedProps,r.memoizedProps)}break;case 27:vn(n,e),bn(e),o&512&&(Mt||r===null||ea(r,r.return)),r!==null&&o&4&&Kc(e,e.memoizedProps,r.memoizedProps);break;case 5:if(vn(n,e),bn(e),o&512&&(Mt||r===null||ea(r,r.return)),e.flags&32){c=e.stateNode;try{el(c,"")}catch(q){dt(e,e.return,q)}}o&4&&e.stateNode!=null&&(c=e.memoizedProps,Kc(e,c,r!==null?r.memoizedProps:c)),o&1024&&(Zc=!0);break;case 6:if(vn(n,e),bn(e),o&4){if(e.stateNode===null)throw Error(i(162));o=e.memoizedProps,r=e.stateNode;try{r.nodeValue=o}catch(q){dt(e,e.return,q)}}break;case 3:if(Ms=null,c=Gn,Gn=As(n.containerInfo),vn(n,e),Gn=c,bn(e),o&4&&r!==null&&r.memoizedState.isDehydrated)try{qi(n.containerInfo)}catch(q){dt(e,e.return,q)}Zc&&(Zc=!1,Lp(e));break;case 4:o=Gn,Gn=As(e.stateNode.containerInfo),vn(n,e),bn(e),Gn=o;break;case 12:vn(n,e),bn(e);break;case 13:vn(n,e),bn(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(af=Yt()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Jc(e,o)));break;case 22:c=e.memoizedState!==null;var x=r!==null&&r.memoizedState!==null,B=Aa,K=Mt;if(Aa=B||c,Mt=K||x,vn(n,e),Mt=K,Aa=B,bn(e),o&8192)e:for(n=e.stateNode,n._visibility=c?n._visibility&-2:n._visibility|1,c&&(r===null||x||Aa||Mt||Lr(e)),r=null,n=e;;){if(n.tag===5||n.tag===26){if(r===null){x=r=n;try{if(d=x.stateNode,c)g=d.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none";else{b=x.stateNode;var Z=x.memoizedProps.style,H=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;b.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(q){dt(x,x.return,q)}}}else if(n.tag===6){if(r===null){x=n;try{x.stateNode.nodeValue=c?"":x.memoizedProps}catch(q){dt(x,x.return,q)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break e;for(;n.sibling===null;){if(n.return===null||n.return===e)break e;r===n&&(r=null),n=n.return}r===n&&(r=null),n.sibling.return=n.return,n=n.sibling}o&4&&(o=e.updateQueue,o!==null&&(r=o.retryQueue,r!==null&&(o.retryQueue=null,Jc(e,r))));break;case 19:vn(n,e),bn(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,Jc(e,o)));break;case 30:break;case 21:break;default:vn(n,e),bn(e)}}function bn(e){var n=e.flags;if(n&2){try{for(var r,o=e.return;o!==null;){if(Op(o)){r=o;break}o=o.return}if(r==null)throw Error(i(160));switch(r.tag){case 27:var c=r.stateNode,d=Xc(e);ms(e,d,c);break;case 5:var g=r.stateNode;r.flags&32&&(el(g,""),r.flags&=-33);var b=Xc(e);ms(e,b,g);break;case 3:case 4:var x=r.stateNode.containerInfo,B=Xc(e);Fc(e,B,x);break;default:throw Error(i(161))}}catch(K){dt(e,e.return,K)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function Lp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var n=e;Lp(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),e=e.sibling}}function Fa(e,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)_p(e,n.alternate,n),n=n.sibling}function Lr(e){for(e=e.child;e!==null;){var n=e;switch(n.tag){case 0:case 11:case 14:case 15:Xa(4,n,n.return),Lr(n);break;case 1:ea(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&xp(n,n.return,r),Lr(n);break;case 27:Ni(n.stateNode);case 26:case 5:ea(n,n.return),Lr(n);break;case 22:n.memoizedState===null&&Lr(n);break;case 30:Lr(n);break;default:Lr(n)}e=e.sibling}}function Za(e,n,r){for(r=r&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var o=n.alternate,c=e,d=n,g=d.flags;switch(d.tag){case 0:case 11:case 15:Za(c,d,r),Ti(4,d);break;case 1:if(Za(c,d,r),o=d,c=o.stateNode,typeof c.componentDidMount=="function")try{c.componentDidMount()}catch(B){dt(o,o.return,B)}if(o=d,c=o.updateQueue,c!==null){var b=o.stateNode;try{var x=c.shared.hiddenCallbacks;if(x!==null)for(c.shared.hiddenCallbacks=null,c=0;c<x.length;c++)fm(x[c],b)}catch(B){dt(o,o.return,B)}}r&&g&64&&Rp(d),wi(d,d.return);break;case 27:Mp(d);case 26:case 5:Za(c,d,r),r&&o===null&&g&4&&Ap(d),wi(d,d.return);break;case 12:Za(c,d,r);break;case 13:Za(c,d,r),r&&g&4&&jp(c,d);break;case 22:d.memoizedState===null&&Za(c,d,r),wi(d,d.return);break;case 30:break;default:Za(c,d,r)}n=n.sibling}}function Wc(e,n){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&si(r))}function Ic(e,n){e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&si(e))}function ta(e,n,r,o){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)kp(e,n,r,o),n=n.sibling}function kp(e,n,r,o){var c=n.flags;switch(n.tag){case 0:case 11:case 15:ta(e,n,r,o),c&2048&&Ti(9,n);break;case 1:ta(e,n,r,o);break;case 3:ta(e,n,r,o),c&2048&&(e=null,n.alternate!==null&&(e=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==e&&(n.refCount++,e!=null&&si(e)));break;case 12:if(c&2048){ta(e,n,r,o),e=n.stateNode;try{var d=n.memoizedProps,g=d.id,b=d.onPostCommit;typeof b=="function"&&b(g,n.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(x){dt(n,n.return,x)}}else ta(e,n,r,o);break;case 13:ta(e,n,r,o);break;case 23:break;case 22:d=n.stateNode,g=n.alternate,n.memoizedState!==null?d._visibility&2?ta(e,n,r,o):Ci(e,n):d._visibility&2?ta(e,n,r,o):(d._visibility|=2,bl(e,n,r,o,(n.subtreeFlags&10256)!==0)),c&2048&&Wc(g,n);break;case 24:ta(e,n,r,o),c&2048&&Ic(n.alternate,n);break;default:ta(e,n,r,o)}}function bl(e,n,r,o,c){for(c=c&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var d=e,g=n,b=r,x=o,B=g.flags;switch(g.tag){case 0:case 11:case 15:bl(d,g,b,x,c),Ti(8,g);break;case 23:break;case 22:var K=g.stateNode;g.memoizedState!==null?K._visibility&2?bl(d,g,b,x,c):Ci(d,g):(K._visibility|=2,bl(d,g,b,x,c)),c&&B&2048&&Wc(g.alternate,g);break;case 24:bl(d,g,b,x,c),c&&B&2048&&Ic(g.alternate,g);break;default:bl(d,g,b,x,c)}n=n.sibling}}function Ci(e,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var r=e,o=n,c=o.flags;switch(o.tag){case 22:Ci(r,o),c&2048&&Wc(o.alternate,o);break;case 24:Ci(r,o),c&2048&&Ic(o.alternate,o);break;default:Ci(r,o)}n=n.sibling}}var Ri=8192;function Sl(e){if(e.subtreeFlags&Ri)for(e=e.child;e!==null;)Bp(e),e=e.sibling}function Bp(e){switch(e.tag){case 26:Sl(e),e.flags&Ri&&e.memoizedState!==null&&d1(Gn,e.memoizedState,e.memoizedProps);break;case 5:Sl(e);break;case 3:case 4:var n=Gn;Gn=As(e.stateNode.containerInfo),Sl(e),Gn=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Ri,Ri=16777216,Sl(e),Ri=n):Sl(e));break;default:Sl(e)}}function Hp(e){var n=e.alternate;if(n!==null&&(e=n.child,e!==null)){n.child=null;do n=e.sibling,e.sibling=null,e=n;while(e!==null)}}function xi(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];Ht=o,Pp(o,e)}Hp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qp(e),e=e.sibling}function qp(e){switch(e.tag){case 0:case 11:case 15:xi(e),e.flags&2048&&Xa(9,e,e.return);break;case 3:xi(e);break;case 12:xi(e);break;case 22:var n=e.stateNode;e.memoizedState!==null&&n._visibility&2&&(e.return===null||e.return.tag!==13)?(n._visibility&=-3,ps(e)):xi(e);break;default:xi(e)}}function ps(e){var n=e.deletions;if((e.flags&16)!==0){if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];Ht=o,Pp(o,e)}Hp(e)}for(e=e.child;e!==null;){switch(n=e,n.tag){case 0:case 11:case 15:Xa(8,n,n.return),ps(n);break;case 22:r=n.stateNode,r._visibility&2&&(r._visibility&=-3,ps(n));break;default:ps(n)}e=e.sibling}}function Pp(e,n){for(;Ht!==null;){var r=Ht;switch(r.tag){case 0:case 11:case 15:Xa(8,r,n);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var o=r.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:si(r.memoizedState.cache)}if(o=r.child,o!==null)o.return=r,Ht=o;else e:for(r=e;Ht!==null;){o=Ht;var c=o.sibling,d=o.return;if(Np(o),o===r){Ht=null;break e}if(c!==null){c.return=d,Ht=c;break e}Ht=d}}}var OS={getCacheForType:function(e){var n=Kt(Lt),r=n.data.get(e);return r===void 0&&(r=e(),n.data.set(e,r)),r}},MS=typeof WeakMap=="function"?WeakMap:Map,tt=0,ht=null,Be=null,Pe=0,nt=0,Sn=null,Ja=!1,El=!1,ef=!1,Ma=0,Rt=0,Wa=0,kr=0,tf=0,Ln=0,Tl=0,Ai=null,on=null,nf=!1,af=0,ys=1/0,gs=null,Ia=null,$t=0,er=null,wl=null,Cl=0,rf=0,lf=null,$p=null,Oi=0,of=null;function En(){if((tt&2)!==0&&Pe!==0)return Pe&-Pe;if(U.T!==null){var e=fl;return e!==0?e:mf()}return M()}function Gp(){Ln===0&&(Ln=(Pe&536870912)===0||Ze?Zr():536870912);var e=zn.current;return e!==null&&(e.flags|=32),Ln}function Tn(e,n,r){(e===ht&&(nt===2||nt===9)||e.cancelPendingCommit!==null)&&(Rl(e,0),tr(e,Pe,Ln,!1)),Sr(e,r),((tt&2)===0||e!==ht)&&(e===ht&&((tt&2)===0&&(kr|=r),Rt===4&&tr(e,Pe,Ln,!1)),na(e))}function Qp(e,n,r){if((tt&6)!==0)throw Error(i(327));var o=!r&&(n&124)===0&&(n&e.expiredLanes)===0||Zn(e,n),c=o?NS(e,n):cf(e,n,!0),d=o;do{if(c===0){El&&!o&&tr(e,n,0,!1);break}else{if(r=e.current.alternate,d&&!DS(r)){c=cf(e,n,!1),d=!1;continue}if(c===2){if(d=n,e.errorRecoveryDisabledLanes&d)var g=0;else g=e.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){n=g;e:{var b=e;c=Ai;var x=b.current.memoizedState.isDehydrated;if(x&&(Rl(b,g).flags|=256),g=cf(b,g,!1),g!==2){if(ef&&!x){b.errorRecoveryDisabledLanes|=d,kr|=d,c=4;break e}d=on,on=c,d!==null&&(on===null?on=d:on.push.apply(on,d))}c=g}if(d=!1,c!==2)continue}}if(c===1){Rl(e,0),tr(e,n,0,!0);break}e:{switch(o=e,d=c,d){case 0:case 1:throw Error(i(345));case 4:if((n&4194048)!==n)break;case 6:tr(o,n,Ln,!Ja);break e;case 2:on=null;break;case 3:case 5:break;default:throw Error(i(329))}if((n&62914560)===n&&(c=af+300-Yt(),10<c)){if(tr(o,n,Ln,!Ja),br(o,0,!0)!==0)break e;o.timeoutHandle=by(Yp.bind(null,o,r,on,gs,nf,n,Ln,kr,Tl,Ja,d,2,-0,0),c);break e}Yp(o,r,on,gs,nf,n,Ln,kr,Tl,Ja,d,0,-0,0)}}break}while(!0);na(e)}function Yp(e,n,r,o,c,d,g,b,x,B,K,Z,H,q){if(e.timeoutHandle=-1,Z=n.subtreeFlags,(Z&8192||(Z&16785408)===16785408)&&(zi={stylesheets:null,count:0,unsuspend:f1},Bp(n),Z=h1(),Z!==null)){e.cancelPendingCommit=Z(Wp.bind(null,e,n,d,r,o,c,g,b,x,K,1,H,q)),tr(e,d,g,!B);return}Wp(e,n,d,r,o,c,g,b,x)}function DS(e){for(var n=e;;){var r=n.tag;if((r===0||r===11||r===15)&&n.flags&16384&&(r=n.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var c=r[o],d=c.getSnapshot;c=c.value;try{if(!yn(d(),c))return!1}catch{return!1}}if(r=n.child,n.subtreeFlags&16384&&r!==null)r.return=n,n=r;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function tr(e,n,r,o){n&=~tf,n&=~kr,e.suspendedLanes|=n,e.pingedLanes&=~n,o&&(e.warmLanes|=n),o=e.expirationTimes;for(var c=n;0<c;){var d=31-lt(c),g=1<<d;o[d]=-1,c&=~g}r!==0&&Er(e,r,n)}function vs(){return(tt&6)===0?(Mi(0),!1):!0}function sf(){if(Be!==null){if(nt===0)var e=Be.return;else e=Be,Ea=_r=null,Cc(e),gl=null,bi=0,e=Be;for(;e!==null;)Cp(e.alternate,e),e=e.return;Be=null}}function Rl(e,n){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,XS(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),sf(),ht=e,Be=r=va(e.current,null),Pe=n,nt=0,Sn=null,Ja=!1,El=Zn(e,n),ef=!1,Tl=Ln=tf=kr=Wa=Rt=0,on=Ai=null,nf=!1,(n&8)!==0&&(n|=n&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=n;0<o;){var c=31-lt(o),d=1<<c;n|=e[c],o&=~d}return Ma=n,qo(),r}function Vp(e,n){Le=null,U.H=ls,n===ci||n===Fo?(n=um(),nt=3):n===im?(n=um(),nt=4):nt=n===cp?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Sn=n,Be===null&&(Rt=1,cs(e,_n(n,e.current)))}function Kp(){var e=U.H;return U.H=ls,e===null?ls:e}function Xp(){var e=U.A;return U.A=OS,e}function uf(){Rt=4,Ja||(Pe&4194048)!==Pe&&zn.current!==null||(El=!0),(Wa&134217727)===0&&(kr&134217727)===0||ht===null||tr(ht,Pe,Ln,!1)}function cf(e,n,r){var o=tt;tt|=2;var c=Kp(),d=Xp();(ht!==e||Pe!==n)&&(gs=null,Rl(e,n)),n=!1;var g=Rt;e:do try{if(nt!==0&&Be!==null){var b=Be,x=Sn;switch(nt){case 8:sf(),g=6;break e;case 3:case 2:case 9:case 6:zn.current===null&&(n=!0);var B=nt;if(nt=0,Sn=null,xl(e,b,x,B),r&&El){g=0;break e}break;default:B=nt,nt=0,Sn=null,xl(e,b,x,B)}}_S(),g=Rt;break}catch(K){Vp(e,K)}while(!0);return n&&e.shellSuspendCounter++,Ea=_r=null,tt=o,U.H=c,U.A=d,Be===null&&(ht=null,Pe=0,qo()),g}function _S(){for(;Be!==null;)Fp(Be)}function NS(e,n){var r=tt;tt|=2;var o=Kp(),c=Xp();ht!==e||Pe!==n?(gs=null,ys=Yt()+500,Rl(e,n)):El=Zn(e,n);e:do try{if(nt!==0&&Be!==null){n=Be;var d=Sn;t:switch(nt){case 1:nt=0,Sn=null,xl(e,n,d,1);break;case 2:case 9:if(om(d)){nt=0,Sn=null,Zp(n);break}n=function(){nt!==2&&nt!==9||ht!==e||(nt=7),na(e)},d.then(n,n);break e;case 3:nt=7;break e;case 4:nt=5;break e;case 7:om(d)?(nt=0,Sn=null,Zp(n)):(nt=0,Sn=null,xl(e,n,d,7));break;case 5:var g=null;switch(Be.tag){case 26:g=Be.memoizedState;case 5:case 27:var b=Be;if(!g||_y(g)){nt=0,Sn=null;var x=b.sibling;if(x!==null)Be=x;else{var B=b.return;B!==null?(Be=B,bs(B)):Be=null}break t}}nt=0,Sn=null,xl(e,n,d,5);break;case 6:nt=0,Sn=null,xl(e,n,d,6);break;case 8:sf(),Rt=6;break e;default:throw Error(i(462))}}US();break}catch(K){Vp(e,K)}while(!0);return Ea=_r=null,U.H=o,U.A=c,tt=r,Be!==null?0:(ht=null,Pe=0,qo(),Rt)}function US(){for(;Be!==null&&!Fr();)Fp(Be)}function Fp(e){var n=Tp(e.alternate,e,Ma);e.memoizedProps=e.pendingProps,n===null?bs(e):Be=n}function Zp(e){var n=e,r=n.alternate;switch(n.tag){case 15:case 0:n=yp(r,n,n.pendingProps,n.type,void 0,Pe);break;case 11:n=yp(r,n,n.pendingProps,n.type.render,n.ref,Pe);break;case 5:Cc(n);default:Cp(r,n),n=Be=Jh(n,Ma),n=Tp(r,n,Ma)}e.memoizedProps=e.pendingProps,n===null?bs(e):Be=n}function xl(e,n,r,o){Ea=_r=null,Cc(n),gl=null,bi=0;var c=n.return;try{if(TS(e,c,n,r,Pe)){Rt=1,cs(e,_n(r,e.current)),Be=null;return}}catch(d){if(c!==null)throw Be=c,d;Rt=1,cs(e,_n(r,e.current)),Be=null;return}n.flags&32768?(Ze||o===1?e=!0:El||(Pe&536870912)!==0?e=!1:(Ja=e=!0,(o===2||o===9||o===3||o===6)&&(o=zn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Jp(n,e)):bs(n)}function bs(e){var n=e;do{if((n.flags&32768)!==0){Jp(n,Ja);return}e=n.return;var r=CS(n.alternate,n,Ma);if(r!==null){Be=r;return}if(n=n.sibling,n!==null){Be=n;return}Be=n=e}while(n!==null);Rt===0&&(Rt=5)}function Jp(e,n){do{var r=RS(e.alternate,e);if(r!==null){r.flags&=32767,Be=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!n&&(e=e.sibling,e!==null)){Be=e;return}Be=e=r}while(e!==null);Rt=6,Be=null}function Wp(e,n,r,o,c,d,g,b,x){e.cancelPendingCommit=null;do Ss();while($t!==0);if((tt&6)!==0)throw Error(i(327));if(n!==null){if(n===e.current)throw Error(i(177));if(d=n.lanes|n.childLanes,d|=Iu,Oo(e,r,d,g,b,x),e===ht&&(Be=ht=null,Pe=0),wl=n,er=e,Cl=r,rf=d,lf=c,$p=o,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,kS(Xn,function(){return ay(),null})):(e.callbackNode=null,e.callbackPriority=0),o=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||o){o=U.T,U.T=null,c=te.p,te.p=2,g=tt,tt|=4;try{xS(e,n,r)}finally{tt=g,te.p=c,U.T=o}}$t=1,Ip(),ey(),ty()}}function Ip(){if($t===1){$t=0;var e=er,n=wl,r=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||r){r=U.T,U.T=null;var o=te.p;te.p=2;var c=tt;tt|=4;try{zp(n,e);var d=Tf,g=Ph(e.containerInfo),b=d.focusedElem,x=d.selectionRange;if(g!==b&&b&&b.ownerDocument&&qh(b.ownerDocument.documentElement,b)){if(x!==null&&Xu(b)){var B=x.start,K=x.end;if(K===void 0&&(K=B),"selectionStart"in b)b.selectionStart=B,b.selectionEnd=Math.min(K,b.value.length);else{var Z=b.ownerDocument||document,H=Z&&Z.defaultView||window;if(H.getSelection){var q=H.getSelection(),xe=b.textContent.length,Ce=Math.min(x.start,xe),ut=x.end===void 0?Ce:Math.min(x.end,xe);!q.extend&&Ce>ut&&(g=ut,ut=Ce,Ce=g);var j=Hh(b,Ce),_=Hh(b,ut);if(j&&_&&(q.rangeCount!==1||q.anchorNode!==j.node||q.anchorOffset!==j.offset||q.focusNode!==_.node||q.focusOffset!==_.offset)){var L=Z.createRange();L.setStart(j.node,j.offset),q.removeAllRanges(),Ce>ut?(q.addRange(L),q.extend(_.node,_.offset)):(L.setEnd(_.node,_.offset),q.addRange(L))}}}}for(Z=[],q=b;q=q.parentNode;)q.nodeType===1&&Z.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<Z.length;b++){var X=Z[b];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Ns=!!Ef,Tf=Ef=null}finally{tt=c,te.p=o,U.T=r}}e.current=n,$t=2}}function ey(){if($t===2){$t=0;var e=er,n=wl,r=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||r){r=U.T,U.T=null;var o=te.p;te.p=2;var c=tt;tt|=4;try{_p(e,n.alternate,n)}finally{tt=c,te.p=o,U.T=r}}$t=3}}function ty(){if($t===4||$t===3){$t=0,Vl();var e=er,n=wl,r=Cl,o=$p;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?$t=5:($t=0,wl=er=null,ny(e,e.pendingLanes));var c=e.pendingLanes;if(c===0&&(Ia=null),Xl(r),n=n.stateNode,Oe&&typeof Oe.onCommitFiberRoot=="function")try{Oe.onCommitFiberRoot(ft,n,void 0,(n.current.flags&128)===128)}catch{}if(o!==null){n=U.T,c=te.p,te.p=2,U.T=null;try{for(var d=e.onRecoverableError,g=0;g<o.length;g++){var b=o[g];d(b.value,{componentStack:b.stack})}}finally{U.T=n,te.p=c}}(Cl&3)!==0&&Ss(),na(e),c=e.pendingLanes,(r&4194090)!==0&&(c&42)!==0?e===of?Oi++:(Oi=0,of=e):Oi=0,Mi(0)}}function ny(e,n){(e.pooledCacheLanes&=n)===0&&(n=e.pooledCache,n!=null&&(e.pooledCache=null,si(n)))}function Ss(e){return Ip(),ey(),ty(),ay()}function ay(){if($t!==5)return!1;var e=er,n=rf;rf=0;var r=Xl(Cl),o=U.T,c=te.p;try{te.p=32>r?32:r,U.T=null,r=lf,lf=null;var d=er,g=Cl;if($t=0,wl=er=null,Cl=0,(tt&6)!==0)throw Error(i(331));var b=tt;if(tt|=4,qp(d.current),kp(d,d.current,g,r),tt=b,Mi(0,!1),Oe&&typeof Oe.onPostCommitFiberRoot=="function")try{Oe.onPostCommitFiberRoot(ft,d)}catch{}return!0}finally{te.p=c,U.T=o,ny(e,n)}}function ry(e,n,r){n=_n(r,n),n=Bc(e.stateNode,n,2),e=Qa(e,n,2),e!==null&&(Sr(e,2),na(e))}function dt(e,n,r){if(e.tag===3)ry(e,e,r);else for(;n!==null;){if(n.tag===3){ry(n,e,r);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Ia===null||!Ia.has(o))){e=_n(r,e),r=sp(2),o=Qa(n,r,2),o!==null&&(up(r,o,n,e),Sr(o,2),na(o));break}}n=n.return}}function ff(e,n,r){var o=e.pingCache;if(o===null){o=e.pingCache=new MS;var c=new Set;o.set(n,c)}else c=o.get(n),c===void 0&&(c=new Set,o.set(n,c));c.has(r)||(ef=!0,c.add(r),e=jS.bind(null,e,n,r),n.then(e,e))}function jS(e,n,r){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,ht===e&&(Pe&r)===r&&(Rt===4||Rt===3&&(Pe&62914560)===Pe&&300>Yt()-af?(tt&2)===0&&Rl(e,0):tf|=r,Tl===Pe&&(Tl=0)),na(e)}function ly(e,n){n===0&&(n=Ao()),e=ol(e,n),e!==null&&(Sr(e,n),na(e))}function zS(e){var n=e.memoizedState,r=0;n!==null&&(r=n.retryLane),ly(e,r)}function LS(e,n){var r=0;switch(e.tag){case 13:var o=e.stateNode,c=e.memoizedState;c!==null&&(r=c.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(i(314))}o!==null&&o.delete(n),ly(e,r)}function kS(e,n){return La(e,n)}var Es=null,Al=null,df=!1,Ts=!1,hf=!1,Br=0;function na(e){e!==Al&&e.next===null&&(Al===null?Es=Al=e:Al=Al.next=e),Ts=!0,df||(df=!0,HS())}function Mi(e,n){if(!hf&&Ts){hf=!0;do for(var r=!1,o=Es;o!==null;){if(e!==0){var c=o.pendingLanes;if(c===0)var d=0;else{var g=o.suspendedLanes,b=o.pingedLanes;d=(1<<31-lt(42|e)+1)-1,d&=c&~(g&~b),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(r=!0,uy(o,d))}else d=Pe,d=br(o,o===ht?d:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(d&3)===0||Zn(o,d)||(r=!0,uy(o,d));o=o.next}while(r);hf=!1}}function BS(){iy()}function iy(){Ts=df=!1;var e=0;Br!==0&&(KS()&&(e=Br),Br=0);for(var n=Yt(),r=null,o=Es;o!==null;){var c=o.next,d=oy(o,n);d===0?(o.next=null,r===null?Es=c:r.next=c,c===null&&(Al=r)):(r=o,(e!==0||(d&3)!==0)&&(Ts=!0)),o=c}Mi(e)}function oy(e,n){for(var r=e.suspendedLanes,o=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var g=31-lt(d),b=1<<g,x=c[g];x===-1?((b&r)===0||(b&o)!==0)&&(c[g]=xo(b,n)):x<=n&&(e.expiredLanes|=b),d&=~b}if(n=ht,r=Pe,r=br(e,e===n?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o=e.callbackNode,r===0||e===n&&(nt===2||nt===9)||e.cancelPendingCommit!==null)return o!==null&&o!==null&&tn(o),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||Zn(e,r)){if(n=r&-r,n===e.callbackPriority)return n;switch(o!==null&&tn(o),Xl(r)){case 2:case 8:r=fa;break;case 32:r=Xn;break;case 268435456:r=Fn;break;default:r=Xn}return o=sy.bind(null,e),r=La(r,o),e.callbackPriority=n,e.callbackNode=r,n}return o!==null&&o!==null&&tn(o),e.callbackPriority=2,e.callbackNode=null,2}function sy(e,n){if($t!==0&&$t!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(Ss()&&e.callbackNode!==r)return null;var o=Pe;return o=br(e,e===ht?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),o===0?null:(Qp(e,o,n),oy(e,Yt()),e.callbackNode!=null&&e.callbackNode===r?sy.bind(null,e):null)}function uy(e,n){if(Ss())return null;Qp(e,n,!0)}function HS(){FS(function(){(tt&6)!==0?La(Vt,BS):iy()})}function mf(){return Br===0&&(Br=Zr()),Br}function cy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Uo(""+e)}function fy(e,n){var r=n.ownerDocument.createElement("input");return r.name=n.name,r.value=n.value,e.id&&r.setAttribute("form",e.id),n.parentNode.insertBefore(r,n),e=new FormData(e),r.parentNode.removeChild(r),e}function qS(e,n,r,o,c){if(n==="submit"&&r&&r.stateNode===c){var d=cy((c[re]||null).action),g=o.submitter;g&&(n=(n=g[re]||null)?cy(n.formAction):g.getAttribute("formAction"),n!==null&&(d=n,g=null));var b=new ko("action","action",null,o,c);e.push({event:b,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Br!==0){var x=g?fy(c,g):new FormData(c);Uc(r,{pending:!0,data:x,method:c.method,action:d},null,x)}}else typeof d=="function"&&(b.preventDefault(),x=g?fy(c,g):new FormData(c),Uc(r,{pending:!0,data:x,method:c.method,action:d},d,x))},currentTarget:c}]})}}for(var pf=0;pf<Wu.length;pf++){var yf=Wu[pf],PS=yf.toLowerCase(),$S=yf[0].toUpperCase()+yf.slice(1);$n(PS,"on"+$S)}$n(Qh,"onAnimationEnd"),$n(Yh,"onAnimationIteration"),$n(Vh,"onAnimationStart"),$n("dblclick","onDoubleClick"),$n("focusin","onFocus"),$n("focusout","onBlur"),$n(lS,"onTransitionRun"),$n(iS,"onTransitionStart"),$n(oS,"onTransitionCancel"),$n(Kh,"onTransitionEnd"),Wt("onMouseEnter",["mouseout","mouseover"]),Wt("onMouseLeave",["mouseout","mouseover"]),Wt("onPointerEnter",["pointerout","pointerover"]),Wt("onPointerLeave",["pointerout","pointerover"]),pn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pn("onBeforeInput",["compositionend","keypress","textInput","paste"]),pn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Di="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),GS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Di));function dy(e,n){n=(n&4)!==0;for(var r=0;r<e.length;r++){var o=e[r],c=o.event;o=o.listeners;e:{var d=void 0;if(n)for(var g=o.length-1;0<=g;g--){var b=o[g],x=b.instance,B=b.currentTarget;if(b=b.listener,x!==d&&c.isPropagationStopped())break e;d=b,c.currentTarget=B;try{d(c)}catch(K){us(K)}c.currentTarget=null,d=x}else for(g=0;g<o.length;g++){if(b=o[g],x=b.instance,B=b.currentTarget,b=b.listener,x!==d&&c.isPropagationStopped())break e;d=b,c.currentTarget=B;try{d(c)}catch(K){us(K)}c.currentTarget=null,d=x}}}}function He(e,n){var r=n[ve];r===void 0&&(r=n[ve]=new Set);var o=e+"__bubble";r.has(o)||(hy(n,e,2,!1),r.add(o))}function gf(e,n,r){var o=0;n&&(o|=4),hy(r,e,o,n)}var ws="_reactListening"+Math.random().toString(36).slice(2);function vf(e){if(!e[ws]){e[ws]=!0,it.forEach(function(r){r!=="selectionchange"&&(GS.has(r)||gf(r,!1,e),gf(r,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[ws]||(n[ws]=!0,gf("selectionchange",!1,n))}}function hy(e,n,r,o){switch(ky(n)){case 2:var c=y1;break;case 8:c=g1;break;default:c=Nf}r=c.bind(null,n,r,e),c=void 0,!Hu||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(c=!0),o?c!==void 0?e.addEventListener(n,r,{capture:!0,passive:c}):e.addEventListener(n,r,!0):c!==void 0?e.addEventListener(n,r,{passive:c}):e.addEventListener(n,r,!1)}function bf(e,n,r,o,c){var d=o;if((n&1)===0&&(n&2)===0&&o!==null)e:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var b=o.stateNode.containerInfo;if(b===c)break;if(g===4)for(g=o.return;g!==null;){var x=g.tag;if((x===3||x===4)&&g.stateNode.containerInfo===c)return;g=g.return}for(;b!==null;){if(g=je(b),g===null)return;if(x=g.tag,x===5||x===6||x===26||x===27){o=d=g;continue e}b=b.parentNode}}o=o.return}Sh(function(){var B=d,K=ku(r),Z=[];e:{var H=Xh.get(e);if(H!==void 0){var q=ko,xe=e;switch(e){case"keypress":if(zo(r)===0)break e;case"keydown":case"keyup":q=kb;break;case"focusin":xe="focus",q=Gu;break;case"focusout":xe="blur",q=Gu;break;case"beforeblur":case"afterblur":q=Gu;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=wh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=Rb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=qb;break;case Qh:case Yh:case Vh:q=Ob;break;case Kh:q=$b;break;case"scroll":case"scrollend":q=wb;break;case"wheel":q=Qb;break;case"copy":case"cut":case"paste":q=Db;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=Rh;break;case"toggle":case"beforetoggle":q=Vb}var Ce=(n&4)!==0,ut=!Ce&&(e==="scroll"||e==="scrollend"),j=Ce?H!==null?H+"Capture":null:H;Ce=[];for(var _=B,L;_!==null;){var X=_;if(L=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||L===null||j===null||(X=Fl(_,j),X!=null&&Ce.push(_i(_,X,L))),ut)break;_=_.return}0<Ce.length&&(H=new q(H,xe,null,r,K),Z.push({event:H,listeners:Ce}))}}if((n&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",H&&r!==Lu&&(xe=r.relatedTarget||r.fromElement)&&(je(xe)||xe[de]))break e;if((q||H)&&(H=K.window===K?K:(H=K.ownerDocument)?H.defaultView||H.parentWindow:window,q?(xe=r.relatedTarget||r.toElement,q=B,xe=xe?je(xe):null,xe!==null&&(ut=u(xe),Ce=xe.tag,xe!==ut||Ce!==5&&Ce!==27&&Ce!==6)&&(xe=null)):(q=null,xe=B),q!==xe)){if(Ce=wh,X="onMouseLeave",j="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(Ce=Rh,X="onPointerLeave",j="onPointerEnter",_="pointer"),ut=q==null?H:pt(q),L=xe==null?H:pt(xe),H=new Ce(X,_+"leave",q,r,K),H.target=ut,H.relatedTarget=L,X=null,je(K)===B&&(Ce=new Ce(j,_+"enter",xe,r,K),Ce.target=L,Ce.relatedTarget=ut,X=Ce),ut=X,q&&xe)t:{for(Ce=q,j=xe,_=0,L=Ce;L;L=Ol(L))_++;for(L=0,X=j;X;X=Ol(X))L++;for(;0<_-L;)Ce=Ol(Ce),_--;for(;0<L-_;)j=Ol(j),L--;for(;_--;){if(Ce===j||j!==null&&Ce===j.alternate)break t;Ce=Ol(Ce),j=Ol(j)}Ce=null}else Ce=null;q!==null&&my(Z,H,q,Ce,!1),xe!==null&&ut!==null&&my(Z,ut,xe,Ce,!0)}}e:{if(H=B?pt(B):window,q=H.nodeName&&H.nodeName.toLowerCase(),q==="select"||q==="input"&&H.type==="file")var fe=Uh;else if(_h(H))if(jh)fe=nS;else{fe=eS;var ke=Ib}else q=H.nodeName,!q||q.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?B&&zu(B.elementType)&&(fe=Uh):fe=tS;if(fe&&(fe=fe(e,B))){Nh(Z,fe,r,K);break e}ke&&ke(e,H,B),e==="focusout"&&B&&H.type==="number"&&B.memoizedProps.value!=null&&ju(H,"number",H.value)}switch(ke=B?pt(B):window,e){case"focusin":(_h(ke)||ke.contentEditable==="true")&&(rl=ke,Fu=B,ai=null);break;case"focusout":ai=Fu=rl=null;break;case"mousedown":Zu=!0;break;case"contextmenu":case"mouseup":case"dragend":Zu=!1,$h(Z,r,K);break;case"selectionchange":if(rS)break;case"keydown":case"keyup":$h(Z,r,K)}var be;if(Yu)e:{switch(e){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else al?Mh(e,r)&&(Re="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(Re="onCompositionStart");Re&&(xh&&r.locale!=="ko"&&(al||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&al&&(be=Eh()):(qa=K,qu="value"in qa?qa.value:qa.textContent,al=!0)),ke=Cs(B,Re),0<ke.length&&(Re=new Ch(Re,e,null,r,K),Z.push({event:Re,listeners:ke}),be?Re.data=be:(be=Dh(r),be!==null&&(Re.data=be)))),(be=Xb?Fb(e,r):Zb(e,r))&&(Re=Cs(B,"onBeforeInput"),0<Re.length&&(ke=new Ch("onBeforeInput","beforeinput",null,r,K),Z.push({event:ke,listeners:Re}),ke.data=be)),qS(Z,e,B,r,K)}dy(Z,n)})}function _i(e,n,r){return{instance:e,listener:n,currentTarget:r}}function Cs(e,n){for(var r=n+"Capture",o=[];e!==null;){var c=e,d=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||d===null||(c=Fl(e,r),c!=null&&o.unshift(_i(e,c,d)),c=Fl(e,n),c!=null&&o.push(_i(e,c,d))),e.tag===3)return o;e=e.return}return[]}function Ol(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function my(e,n,r,o,c){for(var d=n._reactName,g=[];r!==null&&r!==o;){var b=r,x=b.alternate,B=b.stateNode;if(b=b.tag,x!==null&&x===o)break;b!==5&&b!==26&&b!==27||B===null||(x=B,c?(B=Fl(r,d),B!=null&&g.unshift(_i(r,B,x))):c||(B=Fl(r,d),B!=null&&g.push(_i(r,B,x)))),r=r.return}g.length!==0&&e.push({event:n,listeners:g})}var QS=/\r\n?/g,YS=/\u0000|\uFFFD/g;function py(e){return(typeof e=="string"?e:""+e).replace(QS,`
50
+ `).replace(YS,"")}function yy(e,n){return n=py(n),py(e)===n}function Rs(){}function st(e,n,r,o,c,d){switch(r){case"children":typeof o=="string"?n==="body"||n==="textarea"&&o===""||el(e,o):(typeof o=="number"||typeof o=="bigint")&&n!=="body"&&el(e,""+o);break;case"className":pa(e,"class",o);break;case"tabIndex":pa(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":pa(e,r,o);break;case"style":vh(e,o,d);break;case"data":if(n!=="object"){pa(e,"data",o);break}case"src":case"href":if(o===""&&(n!=="a"||r!=="href")){e.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}o=Uo(""+o),e.setAttribute(r,o);break;case"action":case"formAction":if(typeof o=="function"){e.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof d=="function"&&(r==="formAction"?(n!=="input"&&st(e,n,"name",c.name,c,null),st(e,n,"formEncType",c.formEncType,c,null),st(e,n,"formMethod",c.formMethod,c,null),st(e,n,"formTarget",c.formTarget,c,null)):(st(e,n,"encType",c.encType,c,null),st(e,n,"method",c.method,c,null),st(e,n,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(r);break}o=Uo(""+o),e.setAttribute(r,o);break;case"onClick":o!=null&&(e.onclick=Rs);break;case"onScroll":o!=null&&He("scroll",e);break;case"onScrollEnd":o!=null&&He("scrollend",e);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(i(60));e.innerHTML=r}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}r=Uo(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""+o):e.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":o===!0?e.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(r,o):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?e.setAttribute(r,o):e.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(r):e.setAttribute(r,o);break;case"popover":He("beforetoggle",e),He("toggle",e),ma(e,"popover",o);break;case"xlinkActuate":_e(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":_e(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":_e(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":_e(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":_e(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":_e(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":_e(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":_e(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":_e(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":ma(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=Eb.get(r)||r,ma(e,r,o))}}function Sf(e,n,r,o,c,d){switch(r){case"style":vh(e,o,d);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(i(61));if(r=o.__html,r!=null){if(c.children!=null)throw Error(i(60));e.innerHTML=r}}break;case"children":typeof o=="string"?el(e,o):(typeof o=="number"||typeof o=="bigint")&&el(e,""+o);break;case"onScroll":o!=null&&He("scroll",e);break;case"onScrollEnd":o!=null&&He("scrollend",e);break;case"onClick":o!=null&&(e.onclick=Rs);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Jn.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(c=r.endsWith("Capture"),n=r.slice(2,c?r.length-7:void 0),d=e[re]||null,d=d!=null?d[r]:null,typeof d=="function"&&e.removeEventListener(n,d,c),typeof o=="function")){typeof d!="function"&&d!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(n,o,c);break e}r in e?e[r]=o:o===!0?e.setAttribute(r,""):ma(e,r,o)}}}function Gt(e,n,r){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":He("error",e),He("load",e);var o=!1,c=!1,d;for(d in r)if(r.hasOwnProperty(d)){var g=r[d];if(g!=null)switch(d){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:st(e,n,d,g,r,null)}}c&&st(e,n,"srcSet",r.srcSet,r,null),o&&st(e,n,"src",r.src,r,null);return;case"input":He("invalid",e);var b=d=g=c=null,x=null,B=null;for(o in r)if(r.hasOwnProperty(o)){var K=r[o];if(K!=null)switch(o){case"name":c=K;break;case"type":g=K;break;case"checked":x=K;break;case"defaultChecked":B=K;break;case"value":d=K;break;case"defaultValue":b=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(i(137,n));break;default:st(e,n,o,K,r,null)}}mh(e,d,b,x,B,g,c,!1),_o(e);return;case"select":He("invalid",e),o=g=d=null;for(c in r)if(r.hasOwnProperty(c)&&(b=r[c],b!=null))switch(c){case"value":d=b;break;case"defaultValue":g=b;break;case"multiple":o=b;default:st(e,n,c,b,r,null)}n=d,r=g,e.multiple=!!o,n!=null?Ir(e,!!o,n,!1):r!=null&&Ir(e,!!o,r,!0);return;case"textarea":He("invalid",e),d=c=o=null;for(g in r)if(r.hasOwnProperty(g)&&(b=r[g],b!=null))switch(g){case"value":o=b;break;case"defaultValue":c=b;break;case"children":d=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(i(91));break;default:st(e,n,g,b,r,null)}yh(e,o,c,d),_o(e);return;case"option":for(x in r)if(r.hasOwnProperty(x)&&(o=r[x],o!=null))switch(x){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:st(e,n,x,o,r,null)}return;case"dialog":He("beforetoggle",e),He("toggle",e),He("cancel",e),He("close",e);break;case"iframe":case"object":He("load",e);break;case"video":case"audio":for(o=0;o<Di.length;o++)He(Di[o],e);break;case"image":He("error",e),He("load",e);break;case"details":He("toggle",e);break;case"embed":case"source":case"link":He("error",e),He("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(B in r)if(r.hasOwnProperty(B)&&(o=r[B],o!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,n));default:st(e,n,B,o,r,null)}return;default:if(zu(n)){for(K in r)r.hasOwnProperty(K)&&(o=r[K],o!==void 0&&Sf(e,n,K,o,r,void 0));return}}for(b in r)r.hasOwnProperty(b)&&(o=r[b],o!=null&&st(e,n,b,o,r,null))}function VS(e,n,r,o){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,d=null,g=null,b=null,x=null,B=null,K=null;for(q in r){var Z=r[q];if(r.hasOwnProperty(q)&&Z!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":x=Z;default:o.hasOwnProperty(q)||st(e,n,q,null,o,Z)}}for(var H in o){var q=o[H];if(Z=r[H],o.hasOwnProperty(H)&&(q!=null||Z!=null))switch(H){case"type":d=q;break;case"name":c=q;break;case"checked":B=q;break;case"defaultChecked":K=q;break;case"value":g=q;break;case"defaultValue":b=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(i(137,n));break;default:q!==Z&&st(e,n,H,q,o,Z)}}Uu(e,g,b,x,B,K,d,c);return;case"select":q=g=b=H=null;for(d in r)if(x=r[d],r.hasOwnProperty(d)&&x!=null)switch(d){case"value":break;case"multiple":q=x;default:o.hasOwnProperty(d)||st(e,n,d,null,o,x)}for(c in o)if(d=o[c],x=r[c],o.hasOwnProperty(c)&&(d!=null||x!=null))switch(c){case"value":H=d;break;case"defaultValue":b=d;break;case"multiple":g=d;default:d!==x&&st(e,n,c,d,o,x)}n=b,r=g,o=q,H!=null?Ir(e,!!r,H,!1):!!o!=!!r&&(n!=null?Ir(e,!!r,n,!0):Ir(e,!!r,r?[]:"",!1));return;case"textarea":q=H=null;for(b in r)if(c=r[b],r.hasOwnProperty(b)&&c!=null&&!o.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:st(e,n,b,null,o,c)}for(g in o)if(c=o[g],d=r[g],o.hasOwnProperty(g)&&(c!=null||d!=null))switch(g){case"value":H=c;break;case"defaultValue":q=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(i(91));break;default:c!==d&&st(e,n,g,c,o,d)}ph(e,H,q);return;case"option":for(var xe in r)if(H=r[xe],r.hasOwnProperty(xe)&&H!=null&&!o.hasOwnProperty(xe))switch(xe){case"selected":e.selected=!1;break;default:st(e,n,xe,null,o,H)}for(x in o)if(H=o[x],q=r[x],o.hasOwnProperty(x)&&H!==q&&(H!=null||q!=null))switch(x){case"selected":e.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:st(e,n,x,H,o,q)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ce in r)H=r[Ce],r.hasOwnProperty(Ce)&&H!=null&&!o.hasOwnProperty(Ce)&&st(e,n,Ce,null,o,H);for(B in o)if(H=o[B],q=r[B],o.hasOwnProperty(B)&&H!==q&&(H!=null||q!=null))switch(B){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(i(137,n));break;default:st(e,n,B,H,o,q)}return;default:if(zu(n)){for(var ut in r)H=r[ut],r.hasOwnProperty(ut)&&H!==void 0&&!o.hasOwnProperty(ut)&&Sf(e,n,ut,void 0,o,H);for(K in o)H=o[K],q=r[K],!o.hasOwnProperty(K)||H===q||H===void 0&&q===void 0||Sf(e,n,K,H,o,q);return}}for(var j in r)H=r[j],r.hasOwnProperty(j)&&H!=null&&!o.hasOwnProperty(j)&&st(e,n,j,null,o,H);for(Z in o)H=o[Z],q=r[Z],!o.hasOwnProperty(Z)||H===q||H==null&&q==null||st(e,n,Z,H,o,q)}var Ef=null,Tf=null;function xs(e){return e.nodeType===9?e:e.ownerDocument}function gy(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function vy(e,n){if(e===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&n==="foreignObject"?0:e}function wf(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Cf=null;function KS(){var e=window.event;return e&&e.type==="popstate"?e===Cf?!1:(Cf=e,!0):(Cf=null,!1)}var by=typeof setTimeout=="function"?setTimeout:void 0,XS=typeof clearTimeout=="function"?clearTimeout:void 0,Sy=typeof Promise=="function"?Promise:void 0,FS=typeof queueMicrotask=="function"?queueMicrotask:typeof Sy<"u"?function(e){return Sy.resolve(null).then(e).catch(ZS)}:by;function ZS(e){setTimeout(function(){throw e})}function nr(e){return e==="head"}function Ey(e,n){var r=n,o=0,c=0;do{var d=r.nextSibling;if(e.removeChild(r),d&&d.nodeType===8)if(r=d.data,r==="/$"){if(0<o&&8>o){r=o;var g=e.ownerDocument;if(r&1&&Ni(g.documentElement),r&2&&Ni(g.body),r&4)for(r=g.head,Ni(r),g=r.firstChild;g;){var b=g.nextSibling,x=g.nodeName;g[pe]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&g.rel.toLowerCase()==="stylesheet"||r.removeChild(g),g=b}}if(c===0){e.removeChild(d),qi(n);return}c--}else r==="$"||r==="$?"||r==="$!"?c++:o=r.charCodeAt(0)-48;else o=0;r=d}while(r);qi(n)}function Rf(e){var n=e.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var r=n;switch(n=n.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Rf(r),ge(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function JS(e,n,r,o){for(;e.nodeType===1;){var c=r;if(e.nodeName.toLowerCase()!==n.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[pe])switch(n){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(n==="input"&&e.type==="hidden"){var d=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=Qn(e.nextSibling),e===null)break}return null}function WS(e,n,r){if(n==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=Qn(e.nextSibling),e===null))return null;return e}function xf(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function IS(e,n){var r=e.ownerDocument;if(e.data!=="$?"||r.readyState==="complete")n();else{var o=function(){n(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function Qn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return e}var Af=null;function Ty(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(n===0)return e;n--}else r==="/$"&&n++}e=e.previousSibling}return null}function wy(e,n,r){switch(n=xs(r),e){case"html":if(e=n.documentElement,!e)throw Error(i(452));return e;case"head":if(e=n.head,!e)throw Error(i(453));return e;case"body":if(e=n.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function Ni(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);ge(e)}var kn=new Map,Cy=new Set;function As(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Da=te.d;te.d={f:e1,r:t1,D:n1,C:a1,L:r1,m:l1,X:o1,S:i1,M:s1};function e1(){var e=Da.f(),n=vs();return e||n}function t1(e){var n=Fe(e);n!==null&&n.tag===5&&n.type==="form"?Qm(n):Da.r(e)}var Ml=typeof document>"u"?null:document;function Ry(e,n,r){var o=Ml;if(o&&typeof n=="string"&&n){var c=Dn(n);c='link[rel="'+e+'"][href="'+c+'"]',typeof r=="string"&&(c+='[crossorigin="'+r+'"]'),Cy.has(c)||(Cy.add(c),e={rel:e,crossOrigin:r,href:n},o.querySelector(c)===null&&(n=o.createElement("link"),Gt(n,"link",e),De(n),o.head.appendChild(n)))}}function n1(e){Da.D(e),Ry("dns-prefetch",e,null)}function a1(e,n){Da.C(e,n),Ry("preconnect",e,n)}function r1(e,n,r){Da.L(e,n,r);var o=Ml;if(o&&e&&n){var c='link[rel="preload"][as="'+Dn(n)+'"]';n==="image"&&r&&r.imageSrcSet?(c+='[imagesrcset="'+Dn(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(c+='[imagesizes="'+Dn(r.imageSizes)+'"]')):c+='[href="'+Dn(e)+'"]';var d=c;switch(n){case"style":d=Dl(e);break;case"script":d=_l(e)}kn.has(d)||(e=y({rel:"preload",href:n==="image"&&r&&r.imageSrcSet?void 0:e,as:n},r),kn.set(d,e),o.querySelector(c)!==null||n==="style"&&o.querySelector(Ui(d))||n==="script"&&o.querySelector(ji(d))||(n=o.createElement("link"),Gt(n,"link",e),De(n),o.head.appendChild(n)))}}function l1(e,n){Da.m(e,n);var r=Ml;if(r&&e){var o=n&&typeof n.as=="string"?n.as:"script",c='link[rel="modulepreload"][as="'+Dn(o)+'"][href="'+Dn(e)+'"]',d=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=_l(e)}if(!kn.has(d)&&(e=y({rel:"modulepreload",href:e},n),kn.set(d,e),r.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(ji(d)))return}o=r.createElement("link"),Gt(o,"link",e),De(o),r.head.appendChild(o)}}}function i1(e,n,r){Da.S(e,n,r);var o=Ml;if(o&&e){var c=wt(o).hoistableStyles,d=Dl(e);n=n||"default";var g=c.get(d);if(!g){var b={loading:0,preload:null};if(g=o.querySelector(Ui(d)))b.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":n},r),(r=kn.get(d))&&Of(e,r);var x=g=o.createElement("link");De(x),Gt(x,"link",e),x._p=new Promise(function(B,K){x.onload=B,x.onerror=K}),x.addEventListener("load",function(){b.loading|=1}),x.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Os(g,n,o)}g={type:"stylesheet",instance:g,count:1,state:b},c.set(d,g)}}}function o1(e,n){Da.X(e,n);var r=Ml;if(r&&e){var o=wt(r).hoistableScripts,c=_l(e),d=o.get(c);d||(d=r.querySelector(ji(c)),d||(e=y({src:e,async:!0},n),(n=kn.get(c))&&Mf(e,n),d=r.createElement("script"),De(d),Gt(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function s1(e,n){Da.M(e,n);var r=Ml;if(r&&e){var o=wt(r).hoistableScripts,c=_l(e),d=o.get(c);d||(d=r.querySelector(ji(c)),d||(e=y({src:e,async:!0,type:"module"},n),(n=kn.get(c))&&Mf(e,n),d=r.createElement("script"),De(d),Gt(d,"link",e),r.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},o.set(c,d))}}function xy(e,n,r,o){var c=(c=Te.current)?As(c):null;if(!c)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(n=Dl(r.href),r=wt(c).hoistableStyles,o=r.get(n),o||(o={type:"style",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=Dl(r.href);var d=wt(c).hoistableStyles,g=d.get(e);if(g||(c=c.ownerDocument||c,g={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,g),(d=c.querySelector(Ui(e)))&&!d._p&&(g.instance=d,g.state.loading=5),kn.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},kn.set(e,r),d||u1(c,e,r,g.state))),n&&o===null)throw Error(i(528,""));return g}if(n&&o!==null)throw Error(i(529,""));return null;case"script":return n=r.async,r=r.src,typeof r=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=_l(r),r=wt(c).hoistableScripts,o=r.get(n),o||(o={type:"script",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Dl(e){return'href="'+Dn(e)+'"'}function Ui(e){return'link[rel="stylesheet"]['+e+"]"}function Ay(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function u1(e,n,r,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),Gt(n,"link",r),De(n),e.head.appendChild(n))}function _l(e){return'[src="'+Dn(e)+'"]'}function ji(e){return"script[async]"+e}function Oy(e,n,r){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Dn(r.href)+'"]');if(o)return n.instance=o,De(o),o;var c=y({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),De(o),Gt(o,"style",c),Os(o,r.precedence,e),n.instance=o;case"stylesheet":c=Dl(r.href);var d=e.querySelector(Ui(c));if(d)return n.state.loading|=4,n.instance=d,De(d),d;o=Ay(r),(c=kn.get(c))&&Of(o,c),d=(e.ownerDocument||e).createElement("link"),De(d);var g=d;return g._p=new Promise(function(b,x){g.onload=b,g.onerror=x}),Gt(d,"link",o),n.state.loading|=4,Os(d,r.precedence,e),n.instance=d;case"script":return d=_l(r.src),(c=e.querySelector(ji(d)))?(n.instance=c,De(c),c):(o=r,(c=kn.get(d))&&(o=y({},r),Mf(o,c)),e=e.ownerDocument||e,c=e.createElement("script"),De(c),Gt(c,"link",o),e.head.appendChild(c),n.instance=c);case"void":return null;default:throw Error(i(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,Os(o,r.precedence,e));return n.instance}function Os(e,n,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,d=c,g=0;g<o.length;g++){var b=o[g];if(b.dataset.precedence===n)d=b;else if(d!==c)break}d?d.parentNode.insertBefore(e,d.nextSibling):(n=r.nodeType===9?r.head:r,n.insertBefore(e,n.firstChild))}function Of(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.title==null&&(e.title=n.title)}function Mf(e,n){e.crossOrigin==null&&(e.crossOrigin=n.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=n.referrerPolicy),e.integrity==null&&(e.integrity=n.integrity)}var Ms=null;function My(e,n,r){if(Ms===null){var o=new Map,c=Ms=new Map;c.set(r,o)}else c=Ms,o=c.get(r),o||(o=new Map,c.set(r,o));if(o.has(e))return o;for(o.set(e,null),r=r.getElementsByTagName(e),c=0;c<r.length;c++){var d=r[c];if(!(d[pe]||d[J]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var g=d.getAttribute(n)||"";g=e+g;var b=o.get(g);b?b.push(d):o.set(g,[d])}}return o}function Dy(e,n,r){e=e.ownerDocument||e,e.head.insertBefore(r,n==="title"?e.querySelector("head > title"):null)}function c1(e,n,r){if(r===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function _y(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var zi=null;function f1(){}function d1(e,n,r){if(zi===null)throw Error(i(475));var o=zi;if(n.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var c=Dl(r.href),d=e.querySelector(Ui(c));if(d){e=d._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(o.count++,o=Ds.bind(o),e.then(o,o)),n.state.loading|=4,n.instance=d,De(d);return}d=e.ownerDocument||e,r=Ay(r),(c=kn.get(c))&&Of(r,c),d=d.createElement("link"),De(d);var g=d;g._p=new Promise(function(b,x){g.onload=b,g.onerror=x}),Gt(d,"link",r),n.instance=d}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(o.count++,n=Ds.bind(o),e.addEventListener("load",n),e.addEventListener("error",n))}}function h1(){if(zi===null)throw Error(i(475));var e=zi;return e.stylesheets&&e.count===0&&Df(e,e.stylesheets),0<e.count?function(n){var r=setTimeout(function(){if(e.stylesheets&&Df(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r)}}:null}function Ds(){if(this.count--,this.count===0){if(this.stylesheets)Df(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var _s=null;function Df(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,_s=new Map,n.forEach(m1,e),_s=null,Ds.call(e))}function m1(e,n){if(!(n.state.loading&4)){var r=_s.get(e);if(r)var o=r.get(null);else{r=new Map,_s.set(e,r);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<c.length;d++){var g=c[d];(g.nodeName==="LINK"||g.getAttribute("media")!=="not all")&&(r.set(g.dataset.precedence,g),o=g)}o&&r.set(null,o)}c=n.instance,g=c.getAttribute("data-precedence"),d=r.get(g)||o,d===o&&r.set(null,c),r.set(g,c),this.count++,o=Ds.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),d?d.parentNode.insertBefore(c,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),n.state.loading|=4}}var Li={$$typeof:Q,Provider:null,Consumer:null,_currentValue:oe,_currentValue2:oe,_threadCount:0};function p1(e,n,r,o,c,d,g,b){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Jr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jr(0),this.hiddenUpdates=Jr(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=d,this.onRecoverableError=g,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function Ny(e,n,r,o,c,d,g,b,x,B,K,Z){return e=new p1(e,n,r,g,b,x,B,Z),n=1,d===!0&&(n|=24),d=gn(3,null,null,n),e.current=d,d.stateNode=e,n=cc(),n.refCount++,e.pooledCache=n,n.refCount++,d.memoizedState={element:o,isDehydrated:r,cache:n},mc(d),e}function Uy(e){return e?(e=sl,e):sl}function jy(e,n,r,o,c,d){c=Uy(c),o.context===null?o.context=c:o.pendingContext=c,o=Ga(n),o.payload={element:r},d=d===void 0?null:d,d!==null&&(o.callback=d),r=Qa(e,o,n),r!==null&&(Tn(r,e,n),di(r,e,n))}function zy(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<n?r:n}}function _f(e,n){zy(e,n),(e=e.alternate)&&zy(e,n)}function Ly(e){if(e.tag===13){var n=ol(e,67108864);n!==null&&Tn(n,e,67108864),_f(e,67108864)}}var Ns=!0;function y1(e,n,r,o){var c=U.T;U.T=null;var d=te.p;try{te.p=2,Nf(e,n,r,o)}finally{te.p=d,U.T=c}}function g1(e,n,r,o){var c=U.T;U.T=null;var d=te.p;try{te.p=8,Nf(e,n,r,o)}finally{te.p=d,U.T=c}}function Nf(e,n,r,o){if(Ns){var c=Uf(o);if(c===null)bf(e,n,o,Us,r),By(e,o);else if(b1(c,e,n,r,o))o.stopPropagation();else if(By(e,o),n&4&&-1<v1.indexOf(e)){for(;c!==null;){var d=Fe(c);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var g=da(d.pendingLanes);if(g!==0){var b=d;for(b.pendingLanes|=2,b.entangledLanes|=2;g;){var x=1<<31-lt(g);b.entanglements[1]|=x,g&=~x}na(d),(tt&6)===0&&(ys=Yt()+500,Mi(0))}}break;case 13:b=ol(d,2),b!==null&&Tn(b,d,2),vs(),_f(d,2)}if(d=Uf(o),d===null&&bf(e,n,o,Us,r),d===c)break;c=d}c!==null&&o.stopPropagation()}else bf(e,n,o,null,r)}}function Uf(e){return e=ku(e),jf(e)}var Us=null;function jf(e){if(Us=null,e=je(e),e!==null){var n=u(e);if(n===null)e=null;else{var r=n.tag;if(r===13){if(e=f(n),e!==null)return e;e=null}else if(r===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null)}}return Us=e,null}function ky(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(mr()){case Vt:return 2;case fa:return 8;case Xn:case Jt:return 32;case Fn:return 268435456;default:return 32}default:return 32}}var zf=!1,ar=null,rr=null,lr=null,ki=new Map,Bi=new Map,ir=[],v1="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function By(e,n){switch(e){case"focusin":case"focusout":ar=null;break;case"dragenter":case"dragleave":rr=null;break;case"mouseover":case"mouseout":lr=null;break;case"pointerover":case"pointerout":ki.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bi.delete(n.pointerId)}}function Hi(e,n,r,o,c,d){return e===null||e.nativeEvent!==d?(e={blockedOn:n,domEventName:r,eventSystemFlags:o,nativeEvent:d,targetContainers:[c]},n!==null&&(n=Fe(n),n!==null&&Ly(n)),e):(e.eventSystemFlags|=o,n=e.targetContainers,c!==null&&n.indexOf(c)===-1&&n.push(c),e)}function b1(e,n,r,o,c){switch(n){case"focusin":return ar=Hi(ar,e,n,r,o,c),!0;case"dragenter":return rr=Hi(rr,e,n,r,o,c),!0;case"mouseover":return lr=Hi(lr,e,n,r,o,c),!0;case"pointerover":var d=c.pointerId;return ki.set(d,Hi(ki.get(d)||null,e,n,r,o,c)),!0;case"gotpointercapture":return d=c.pointerId,Bi.set(d,Hi(Bi.get(d)||null,e,n,r,o,c)),!0}return!1}function Hy(e){var n=je(e.target);if(n!==null){var r=u(n);if(r!==null){if(n=r.tag,n===13){if(n=f(r),n!==null){e.blockedOn=n,z(e.priority,function(){if(r.tag===13){var o=En();o=Kl(o);var c=ol(r,o);c!==null&&Tn(c,r,o),_f(r,o)}});return}}else if(n===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function js(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var r=Uf(e.nativeEvent);if(r===null){r=e.nativeEvent;var o=new r.constructor(r.type,r);Lu=o,r.target.dispatchEvent(o),Lu=null}else return n=Fe(r),n!==null&&Ly(n),e.blockedOn=r,!1;n.shift()}return!0}function qy(e,n,r){js(e)&&r.delete(n)}function S1(){zf=!1,ar!==null&&js(ar)&&(ar=null),rr!==null&&js(rr)&&(rr=null),lr!==null&&js(lr)&&(lr=null),ki.forEach(qy),Bi.forEach(qy)}function zs(e,n){e.blockedOn===n&&(e.blockedOn=null,zf||(zf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,S1)))}var Ls=null;function Py(e){Ls!==e&&(Ls=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Ls===e&&(Ls=null);for(var n=0;n<e.length;n+=3){var r=e[n],o=e[n+1],c=e[n+2];if(typeof o!="function"){if(jf(o||r)===null)continue;break}var d=Fe(r);d!==null&&(e.splice(n,3),n-=3,Uc(d,{pending:!0,data:c,method:r.method,action:o},o,c))}}))}function qi(e){function n(x){return zs(x,e)}ar!==null&&zs(ar,e),rr!==null&&zs(rr,e),lr!==null&&zs(lr,e),ki.forEach(n),Bi.forEach(n);for(var r=0;r<ir.length;r++){var o=ir[r];o.blockedOn===e&&(o.blockedOn=null)}for(;0<ir.length&&(r=ir[0],r.blockedOn===null);)Hy(r),r.blockedOn===null&&ir.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var c=r[o],d=r[o+1],g=c[re]||null;if(typeof d=="function")g||Py(r);else if(g){var b=null;if(d&&d.hasAttribute("formAction")){if(c=d,g=d[re]||null)b=g.formAction;else if(jf(c)!==null)continue}else b=g.action;typeof b=="function"?r[o+1]=b:(r.splice(o,3),o-=3),Py(r)}}}function Lf(e){this._internalRoot=e}ks.prototype.render=Lf.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(i(409));var r=n.current,o=En();jy(r,o,e,n,null,null)},ks.prototype.unmount=Lf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;jy(e.current,2,null,e,null,null),vs(),n[de]=null}};function ks(e){this._internalRoot=e}ks.prototype.unstable_scheduleHydration=function(e){if(e){var n=M();e={blockedOn:null,target:e,priority:n};for(var r=0;r<ir.length&&n!==0&&n<ir[r].priority;r++);ir.splice(r,0,e),r===0&&Hy(e)}};var $y=a.version;if($y!=="19.1.1")throw Error(i(527,$y,"19.1.1"));te.findDOMNode=function(e){var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=m(n),e=e!==null?p(e):null,e=e===null?null:e.stateNode,e};var E1={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bs.isDisabled&&Bs.supportsFiber)try{ft=Bs.inject(E1),Oe=Bs}catch{}}return $i.createRoot=function(e,n){if(!s(e))throw Error(i(299));var r=!1,o="",c=rp,d=lp,g=ip,b=null;return n!=null&&(n.unstable_strictMode===!0&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(g=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(b=n.unstable_transitionCallbacks)),n=Ny(e,1,!1,null,null,r,o,c,d,g,b,null),e[de]=n.current,vf(e),new Lf(n)},$i.hydrateRoot=function(e,n,r){if(!s(e))throw Error(i(299));var o=!1,c="",d=rp,g=lp,b=ip,x=null,B=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(d=r.onUncaughtError),r.onCaughtError!==void 0&&(g=r.onCaughtError),r.onRecoverableError!==void 0&&(b=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(x=r.unstable_transitionCallbacks),r.formState!==void 0&&(B=r.formState)),n=Ny(e,1,!0,n,r??null,o,c,d,g,b,x,B),n.context=Uy(null),r=n.current,o=En(),o=Kl(o),c=Ga(o),c.callback=null,Qa(r,c,o),r=o,n.current.lanes=r,Sr(n,r),na(n),e[de]=n.current,vf(e),new ks(n)},$i.version="19.1.1",$i}var Wy;function N1(){if(Wy)return Hf.exports;Wy=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),Hf.exports=_1(),Hf.exports}var U1=N1();/**
51
+ * react-router v7.9.1
52
+ *
53
+ * Copyright (c) Remix Software Inc.
54
+ *
55
+ * This source code is licensed under the MIT license found in the
56
+ * LICENSE.md file in the root directory of this source tree.
57
+ *
58
+ * @license MIT
59
+ */var A0=t=>{throw TypeError(t)},j1=(t,a,l)=>a.has(t)||A0("Cannot "+l),Gf=(t,a,l)=>(j1(t,a,"read from private field"),l?l.call(t):a.get(t)),z1=(t,a,l)=>a.has(t)?A0("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(t):a.set(t,l),Iy="popstate";function L1(t={}){function a(i,s){let{pathname:u,search:f,hash:h}=i.location;return to("",{pathname:u,search:f,hash:h},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function l(i,s){return typeof s=="string"?s:fr(s)}return B1(a,l,null,t)}function qe(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function zt(t,a){if(!t){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function k1(){return Math.random().toString(36).substring(2,10)}function eg(t,a){return{usr:t.state,key:t.key,idx:a}}function to(t,a,l=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof a=="string"?hr(a):a,state:l,key:a&&a.key||i||k1()}}function fr({pathname:t="/",search:a="",hash:l=""}){return a&&a!=="?"&&(t+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(t+=l.charAt(0)==="#"?l:"#"+l),t}function hr(t){let a={};if(t){let l=t.indexOf("#");l>=0&&(a.hash=t.substring(l),t=t.substring(0,l));let i=t.indexOf("?");i>=0&&(a.search=t.substring(i),t=t.substring(0,i)),t&&(a.pathname=t)}return a}function B1(t,a,l,i={}){let{window:s=document.defaultView,v5Compat:u=!1}=i,f=s.history,h="POP",m=null,p=y();p==null&&(p=0,f.replaceState({...f.state,idx:p},""));function y(){return(f.state||{idx:null}).idx}function v(){h="POP";let R=y(),k=R==null?null:R-p;p=R,m&&m({action:h,location:w.location,delta:k})}function E(R,k){h="PUSH";let G=to(w.location,R,k);p=y()+1;let Q=eg(G,p),F=w.createHref(G);try{f.pushState(Q,"",F)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;s.location.assign(F)}u&&m&&m({action:h,location:w.location,delta:1})}function C(R,k){h="REPLACE";let G=to(w.location,R,k);p=y();let Q=eg(G,p),F=w.createHref(G);f.replaceState(Q,"",F),u&&m&&m({action:h,location:w.location,delta:0})}function S(R){return O0(R)}let w={get action(){return h},get location(){return t(s,f)},listen(R){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(Iy,v),m=R,()=>{s.removeEventListener(Iy,v),m=null}},createHref(R){return a(s,R)},createURL:S,encodeLocation(R){let k=S(R);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:E,replace:C,go(R){return f.go(R)}};return w}function O0(t,a=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),qe(l,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:fr(t);return i=i.replace(/ $/,"%20"),!a&&i.startsWith("//")&&(i=l+i),new URL(i,l)}var Ji,tg=class{constructor(t){if(z1(this,Ji,new Map),t)for(let[a,l]of t)this.set(a,l)}get(t){if(Gf(this,Ji).has(t))return Gf(this,Ji).get(t);if(t.defaultValue!==void 0)return t.defaultValue;throw new Error("No value found for context")}set(t,a){Gf(this,Ji).set(t,a)}};Ji=new WeakMap;var H1=new Set(["lazy","caseSensitive","path","id","index","children"]);function q1(t){return H1.has(t)}var P1=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function $1(t){return P1.has(t)}function G1(t){return t.index===!0}function no(t,a,l=[],i={},s=!1){return t.map((u,f)=>{let h=[...l,String(f)],m=typeof u.id=="string"?u.id:h.join("-");if(qe(u.index!==!0||!u.children,"Cannot specify children on an index route"),qe(s||!i[m],`Found a route id collision on id "${m}". Route id's must be globally unique within Data Router usages`),G1(u)){let p={...u,...a(u),id:m};return i[m]=p,p}else{let p={...u,...a(u),id:m,children:void 0};return i[m]=p,u.children&&(p.children=no(u.children,a,h,i,s)),p}})}function ur(t,a,l="/"){return Ks(t,a,l,!1)}function Ks(t,a,l,i){let s=typeof a=="string"?hr(a):a,u=qn(s.pathname||"/",l);if(u==null)return null;let f=M0(t);Y1(f);let h=null;for(let m=0;h==null&&m<f.length;++m){let p=nE(u);h=eE(f[m],p,i)}return h}function Q1(t,a){let{route:l,pathname:i,params:s}=t;return{id:l.id,pathname:i,params:s,data:a[l.id],loaderData:a[l.id],handle:l.handle}}function M0(t,a=[],l=[],i="",s=!1){let u=(f,h,m=s,p)=>{let y={relativePath:p===void 0?f.path||"":p,caseSensitive:f.caseSensitive===!0,childrenIndex:h,route:f};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&m)return;qe(y.relativePath.startsWith(i),`Absolute route path "${y.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(i.length)}let v=oa([i,y.relativePath]),E=l.concat(y);f.children&&f.children.length>0&&(qe(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),M0(f.children,a,E,v,m)),!(f.path==null&&!f.index)&&a.push({path:v,score:W1(v,f.index),routesMeta:E})};return t.forEach((f,h)=>{if(f.path===""||!f.path?.includes("?"))u(f,h);else for(let m of D0(f.path))u(f,h,!0,m)}),a}function D0(t){let a=t.split("/");if(a.length===0)return[];let[l,...i]=a,s=l.endsWith("?"),u=l.replace(/\?$/,"");if(i.length===0)return s?[u,""]:[u];let f=D0(i.join("/")),h=[];return h.push(...f.map(m=>m===""?u:[u,m].join("/"))),s&&h.push(...f),h.map(m=>t.startsWith("/")&&m===""?"/":m)}function Y1(t){t.sort((a,l)=>a.score!==l.score?l.score-a.score:I1(a.routesMeta.map(i=>i.childrenIndex),l.routesMeta.map(i=>i.childrenIndex)))}var V1=/^:[\w-]+$/,K1=3,X1=2,F1=1,Z1=10,J1=-2,ng=t=>t==="*";function W1(t,a){let l=t.split("/"),i=l.length;return l.some(ng)&&(i+=J1),a&&(i+=X1),l.filter(s=>!ng(s)).reduce((s,u)=>s+(V1.test(u)?K1:u===""?F1:Z1),i)}function I1(t,a){return t.length===a.length&&t.slice(0,-1).every((i,s)=>i===a[s])?t[t.length-1]-a[a.length-1]:0}function eE(t,a,l=!1){let{routesMeta:i}=t,s={},u="/",f=[];for(let h=0;h<i.length;++h){let m=i[h],p=h===i.length-1,y=u==="/"?a:a.slice(u.length)||"/",v=ru({path:m.relativePath,caseSensitive:m.caseSensitive,end:p},y),E=m.route;if(!v&&p&&l&&!i[i.length-1].route.index&&(v=ru({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},y)),!v)return null;Object.assign(s,v.params),f.push({params:s,pathname:oa([u,v.pathname]),pathnameBase:iE(oa([u,v.pathnameBase])),route:E}),v.pathnameBase!=="/"&&(u=oa([u,v.pathnameBase]))}return f}function ru(t,a){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[l,i]=tE(t.path,t.caseSensitive,t.end),s=a.match(l);if(!s)return null;let u=s[0],f=u.replace(/(.)\/+$/,"$1"),h=s.slice(1);return{params:i.reduce((p,{paramName:y,isOptional:v},E)=>{if(y==="*"){let S=h[E]||"";f=u.slice(0,u.length-S.length).replace(/(.)\/+$/,"$1")}const C=h[E];return v&&!C?p[y]=void 0:p[y]=(C||"").replace(/%2F/g,"/"),p},{}),pathname:u,pathnameBase:f,pattern:t}}function tE(t,a=!1,l=!0){zt(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,h,m)=>(i.push({paramName:h,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),i]}function nE(t){try{return t.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return zt(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),t}}function qn(t,a){if(a==="/")return t;if(!t.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,i=t.charAt(l);return i&&i!=="/"?null:t.slice(l)||"/"}function aE({basename:t,pathname:a}){return a==="/"?t:oa([t,a])}function rE(t,a="/"){let{pathname:l,search:i="",hash:s=""}=typeof t=="string"?hr(t):t;return{pathname:l?l.startsWith("/")?l:lE(l,a):a,search:oE(i),hash:sE(s)}}function lE(t,a){let l=a.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?l.length>1&&l.pop():s!=="."&&l.push(s)}),l.length>1?l.join("/"):"/"}function Qf(t,a,l,i){return`Cannot include a '${t}' character in a manually specified \`to.${a}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function _0(t){return t.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function Ud(t){let a=_0(t);return a.map((l,i)=>i===a.length-1?l.pathname:l.pathnameBase)}function jd(t,a,l,i=!1){let s;typeof t=="string"?s=hr(t):(s={...t},qe(!s.pathname||!s.pathname.includes("?"),Qf("?","pathname","search",s)),qe(!s.pathname||!s.pathname.includes("#"),Qf("#","pathname","hash",s)),qe(!s.search||!s.search.includes("#"),Qf("#","search","hash",s)));let u=t===""||s.pathname==="",f=u?"/":s.pathname,h;if(f==null)h=l;else{let v=a.length-1;if(!i&&f.startsWith("..")){let E=f.split("/");for(;E[0]==="..";)E.shift(),v-=1;s.pathname=E.join("/")}h=v>=0?a[v]:"/"}let m=rE(s,h),p=f&&f!=="/"&&f.endsWith("/"),y=(u||f===".")&&l.endsWith("/");return!m.pathname.endsWith("/")&&(p||y)&&(m.pathname+="/"),m}var oa=t=>t.join("/").replace(/\/\/+/g,"/"),iE=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),oE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,sE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,lu=class{constructor(t,a,l,i=!1){this.status=t,this.statusText=a||"",this.internal=i,l instanceof Error?(this.data=l.toString(),this.error=l):this.data=l}};function ao(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var N0=["POST","PUT","PATCH","DELETE"],uE=new Set(N0),cE=["GET",...N0],fE=new Set(cE),dE=new Set([301,302,303,307,308]),hE=new Set([307,308]),Yf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},mE={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Gi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},pE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zd=t=>pE.test(t),yE=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),U0="remix-router-transitions",j0=Symbol("ResetLoaderData");function gE(t){const a=t.window?t.window:typeof window<"u"?window:void 0,l=typeof a<"u"&&typeof a.document<"u"&&typeof a.document.createElement<"u";qe(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i=t.hydrationRouteProperties||[],s=t.mapRouteProperties||yE,u={},f=no(t.routes,s,void 0,u),h,m=t.basename||"/";m.startsWith("/")||(m=`/${m}`);let p=t.dataStrategy||TE,y={...t.future},v=null,E=new Set,C=null,S=null,w=null,R=t.hydrationData!=null,k=ur(f,t.history.location,m),G=!1,Q=null,F;if(k==null&&!t.patchRoutesOnNavigation){let M=Bn(404,{pathname:t.history.location.pathname}),{matches:z,route:P}=Hs(f);F=!0,k=z,Q={[P.id]:M}}else if(k&&!t.hydrationData&&Er(k,f,t.history.location.pathname).active&&(k=null),k)if(k.some(M=>M.route.lazy))F=!1;else if(!k.some(M=>M.route.loader))F=!0;else{let M=t.hydrationData?t.hydrationData.loaderData:null,z=t.hydrationData?t.hydrationData.errors:null;if(z){let P=k.findIndex(J=>z[J.route.id]!==void 0);F=k.slice(0,P+1).every(J=>!sd(J.route,M,z))}else F=k.every(P=>!sd(P.route,M,z))}else{F=!1,k=[];let M=Er(null,f,t.history.location.pathname);M.active&&M.matches&&(G=!0,k=M.matches)}let N,A={historyAction:t.history.action,location:t.history.location,matches:k,initialized:F,navigation:Yf,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||Q,fetchers:new Map,blockers:new Map},W="POP",le=!1,ae,se=!1,ue=new Map,T=null,ie=!1,I=!1,he=new Set,U=new Map,te=0,oe=-1,Ae=new Map,O=new Set,Y=new Map,ee=new Map,ne=new Set,ce=new Map,Me,Te=null;function Et(){if(v=t.history.listen(({action:M,location:z,delta:P})=>{if(Me){Me(),Me=void 0;return}zt(ce.size===0||P!=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 J=xo({currentLocation:A.location,nextLocation:z,historyAction:M});if(J&&P!=null){let re=new Promise(de=>{Me=de});t.history.go(P*-1),Zn(J,{state:"blocked",location:z,proceed(){Zn(J,{state:"proceeding",proceed:void 0,reset:void 0,location:z}),re.then(()=>t.history.go(P))},reset(){let de=new Map(A.blockers);de.set(J,Gi),Tt({blockers:de})}});return}return tn(M,z)}),l){kE(a,ue);let M=()=>BE(a,ue);a.addEventListener("pagehide",M),T=()=>a.removeEventListener("pagehide",M)}return A.initialized||tn("POP",A.location,{initialHydration:!0}),N}function et(){v&&v(),T&&T(),E.clear(),ae&&ae.abort(),A.fetchers.forEach((M,z)=>lt(z)),A.blockers.forEach((M,z)=>br(z))}function hn(M){return E.add(M),()=>E.delete(M)}function Tt(M,z={}){M.matches&&(M.matches=M.matches.map(re=>{let de=u[re.route.id],ve=re.route;return ve.element!==de.element||ve.errorElement!==de.errorElement||ve.hydrateFallbackElement!==de.hydrateFallbackElement?{...re,route:de}:re})),A={...A,...M};let P=[],J=[];A.fetchers.forEach((re,de)=>{re.state==="idle"&&(ne.has(de)?P.push(de):J.push(de))}),ne.forEach(re=>{!A.fetchers.has(re)&&!U.has(re)&&P.push(re)}),[...E].forEach(re=>re(A,{deletedFetchers:P,viewTransitionOpts:z.viewTransitionOpts,flushSync:z.flushSync===!0})),P.forEach(re=>lt(re)),J.forEach(re=>A.fetchers.delete(re))}function mn(M,z,{flushSync:P}={}){let J=A.actionData!=null&&A.navigation.formMethod!=null&&sn(A.navigation.formMethod)&&A.navigation.state==="loading"&&M.state?._isRedirect!==!0,re;z.actionData?Object.keys(z.actionData).length>0?re=z.actionData:re=null:J?re=A.actionData:re=null;let de=z.loaderData?dg(A.loaderData,z.loaderData,z.matches||[],z.errors):A.loaderData,ve=A.blockers;ve.size>0&&(ve=new Map(ve),ve.forEach((pe,ge)=>ve.set(ge,Gi)));let me=ie?!1:Oo(M,z.matches||A.matches),Se=le===!0||A.navigation.formMethod!=null&&sn(A.navigation.formMethod)&&M.state?._isRedirect!==!0;h&&(f=h,h=void 0),ie||W==="POP"||(W==="PUSH"?t.history.push(M,M.state):W==="REPLACE"&&t.history.replace(M,M.state));let we;if(W==="POP"){let pe=ue.get(A.location.pathname);pe&&pe.has(M.pathname)?we={currentLocation:A.location,nextLocation:M}:ue.has(M.pathname)&&(we={currentLocation:M,nextLocation:A.location})}else if(se){let pe=ue.get(A.location.pathname);pe?pe.add(M.pathname):(pe=new Set([M.pathname]),ue.set(A.location.pathname,pe)),we={currentLocation:A.location,nextLocation:M}}Tt({...z,actionData:re,loaderData:de,historyAction:W,location:M,initialized:!0,navigation:Yf,revalidation:"idle",restoreScrollPosition:me,preventScrollReset:Se,blockers:ve},{viewTransitionOpts:we,flushSync:P===!0}),W="POP",le=!1,se=!1,ie=!1,I=!1,Te?.resolve(),Te=null}async function ca(M,z){if(typeof M=="number"){t.history.go(M);return}let P=od(A.location,A.matches,m,M,z?.fromRouteId,z?.relative),{path:J,submission:re,error:de}=ag(!1,P,z),ve=A.location,me=to(A.location,J,z&&z.state);me={...me,...t.history.encodeLocation(me)};let Se=z&&z.replace!=null?z.replace:void 0,we="PUSH";Se===!0?we="REPLACE":Se===!1||re!=null&&sn(re.formMethod)&&re.formAction===A.location.pathname+A.location.search&&(we="REPLACE");let pe=z&&"preventScrollReset"in z?z.preventScrollReset===!0:void 0,ge=(z&&z.flushSync)===!0,je=xo({currentLocation:ve,nextLocation:me,historyAction:we});if(je){Zn(je,{state:"blocked",location:me,proceed(){Zn(je,{state:"proceeding",proceed:void 0,reset:void 0,location:me}),ca(M,z)},reset(){let Fe=new Map(A.blockers);Fe.set(je,Gi),Tt({blockers:Fe})}});return}await tn(we,me,{submission:re,pendingError:de,preventScrollReset:pe,replace:z&&z.replace,enableViewTransition:z&&z.viewTransition,flushSync:ge})}function La(){Te||(Te=HE()),ka(),Tt({revalidation:"loading"});let M=Te.promise;return A.navigation.state==="submitting"?M:A.navigation.state==="idle"?(tn(A.historyAction,A.location,{startUninterruptedRevalidation:!0}),M):(tn(W||A.historyAction,A.navigation.location,{overrideNavigation:A.navigation,enableViewTransition:se===!0}),M)}async function tn(M,z,P){ae&&ae.abort(),ae=null,W=M,ie=(P&&P.startUninterruptedRevalidation)===!0,Sr(A.location,A.matches),le=(P&&P.preventScrollReset)===!0,se=(P&&P.enableViewTransition)===!0;let J=h||f,re=P&&P.overrideNavigation,de=P?.initialHydration&&A.matches&&A.matches.length>0&&!G?A.matches:ur(J,z,m),ve=(P&&P.flushSync)===!0;if(de&&A.initialized&&!I&&DE(A.location,z)&&!(P&&P.submission&&sn(P.submission.formMethod))){mn(z,{matches:de},{flushSync:ve});return}let me=Er(de,J,z.pathname);if(me.active&&me.matches&&(de=me.matches),!de){let{error:wt,notFoundMatches:De,route:it}=Zr(z.pathname);mn(z,{matches:De,loaderData:{},errors:{[it.id]:wt}},{flushSync:ve});return}ae=new AbortController;let Se=kl(t.history,z,ae.signal,P&&P.submission),we=t.getContext?await t.getContext():new tg,pe;if(P&&P.pendingError)pe=[cr(de).route.id,{type:"error",error:P.pendingError}];else if(P&&P.submission&&sn(P.submission.formMethod)){let wt=await Fr(Se,z,P.submission,de,we,me.active,P&&P.initialHydration===!0,{replace:P.replace,flushSync:ve});if(wt.shortCircuited)return;if(wt.pendingActionResult){let[De,it]=wt.pendingActionResult;if(Cn(it)&&ao(it.error)&&it.error.status===404){ae=null,mn(z,{matches:wt.matches,loaderData:{},errors:{[De]:it.error}});return}}de=wt.matches||de,pe=wt.pendingActionResult,re=Vf(z,P.submission),ve=!1,me.active=!1,Se=kl(t.history,Se.url,Se.signal)}let{shortCircuited:ge,matches:je,loaderData:Fe,errors:pt}=await Vl(Se,z,de,we,me.active,re,P&&P.submission,P&&P.fetcherSubmission,P&&P.replace,P&&P.initialHydration===!0,ve,pe);ge||(ae=null,mn(z,{matches:je||de,...hg(pe),loaderData:Fe,errors:pt}))}async function Fr(M,z,P,J,re,de,ve,me={}){ka();let Se=zE(z,P);if(Tt({navigation:Se},{flushSync:me.flushSync===!0}),de){let ge=await Tr(J,z.pathname,M.signal);if(ge.type==="aborted")return{shortCircuited:!0};if(ge.type==="error"){if(ge.partialMatches.length===0){let{matches:Fe,route:pt}=Hs(f);return{matches:Fe,pendingActionResult:[pt.id,{type:"error",error:ge.error}]}}let je=cr(ge.partialMatches).route.id;return{matches:ge.partialMatches,pendingActionResult:[je,{type:"error",error:ge.error}]}}else if(ge.matches)J=ge.matches;else{let{notFoundMatches:je,error:Fe,route:pt}=Zr(z.pathname);return{matches:je,pendingActionResult:[pt.id,{type:"error",error:Fe}]}}}let we,pe=Xs(J,z);if(!pe.route.action&&!pe.route.lazy)we={type:"error",error:Bn(405,{method:M.method,pathname:z.pathname,routeId:pe.route.id})};else{let ge=Bl(s,u,M,J,pe,ve?[]:i,re),je=await Fn(M,ge,re,null);if(we=je[pe.route.id],!we){for(let Fe of J)if(je[Fe.route.id]){we=je[Fe.route.id];break}}if(M.signal.aborted)return{shortCircuited:!0}}if(qr(we)){let ge;return me&&me.replace!=null?ge=me.replace:ge=ug(we.response.headers.get("Location"),new URL(M.url),m)===A.location.pathname+A.location.search,await Jt(M,we,!0,{submission:P,replace:ge}),{shortCircuited:!0}}if(Cn(we)){let ge=cr(J,pe.route.id);return(me&&me.replace)!==!0&&(W="PUSH"),{matches:J,pendingActionResult:[ge.route.id,we,pe.route.id]}}return{matches:J,pendingActionResult:[pe.route.id,we]}}async function Vl(M,z,P,J,re,de,ve,me,Se,we,pe,ge){let je=de||Vf(z,ve),Fe=ve||me||pg(je),pt=!ie&&!we;if(re){if(pt){let _t=Yt(ge);Tt({navigation:je,..._t!==void 0?{actionData:_t}:{}},{flushSync:pe})}let _e=await Tr(P,z.pathname,M.signal);if(_e.type==="aborted")return{shortCircuited:!0};if(_e.type==="error"){if(_e.partialMatches.length===0){let{matches:ya,route:nn}=Hs(f);return{matches:ya,loaderData:{},errors:{[nn.id]:_e.error}}}let _t=cr(_e.partialMatches).route.id;return{matches:_e.partialMatches,loaderData:{},errors:{[_t]:_e.error}}}else if(_e.matches)P=_e.matches;else{let{error:_t,notFoundMatches:ya,route:nn}=Zr(z.pathname);return{matches:ya,loaderData:{},errors:{[nn.id]:_t}}}}let wt=h||f,{dsMatches:De,revalidatingFetchers:it}=rg(M,J,s,u,t.history,A,P,Fe,z,we?[]:i,we===!0,I,he,ne,Y,O,wt,m,t.patchRoutesOnNavigation!=null,ge);if(oe=++te,!t.dataStrategy&&!De.some(_e=>_e.shouldLoad)&&!De.some(_e=>_e.route.middleware)&&it.length===0){let _e=gr();return mn(z,{matches:P,loaderData:{},errors:ge&&Cn(ge[1])?{[ge[0]]:ge[1].error}:null,...hg(ge),..._e?{fetchers:new Map(A.fetchers)}:{}},{flushSync:pe}),{shortCircuited:!0}}if(pt){let _e={};if(!re){_e.navigation=je;let _t=Yt(ge);_t!==void 0&&(_e.actionData=_t)}it.length>0&&(_e.fetchers=mr(it)),Tt(_e,{flushSync:pe})}it.forEach(_e=>{An(_e.key),_e.controller&&U.set(_e.key,_e.controller)});let Jn=()=>it.forEach(_e=>An(_e.key));ae&&ae.signal.addEventListener("abort",Jn);let{loaderResults:pn,fetcherResults:Wt}=await pr(De,it,M,J);if(M.signal.aborted)return{shortCircuited:!0};ae&&ae.signal.removeEventListener("abort",Jn),it.forEach(_e=>U.delete(_e.key));let On=qs(pn);if(On)return await Jt(M,On.result,!0,{replace:Se}),{shortCircuited:!0};if(On=qs(Wt),On)return O.add(On.key),await Jt(M,On.result,!0,{replace:Se}),{shortCircuited:!0};let{loaderData:Wr,errors:Ba}=fg(A,P,pn,ge,it,Wt);we&&A.errors&&(Ba={...A.errors,...Ba});let ha=gr(),ma=vr(oe),pa=ha||ma||it.length>0;return{matches:P,loaderData:Wr,errors:Ba,...pa?{fetchers:new Map(A.fetchers)}:{}}}function Yt(M){if(M&&!Cn(M[1]))return{[M[0]]:M[1].data};if(A.actionData)return Object.keys(A.actionData).length===0?null:A.actionData}function mr(M){return M.forEach(z=>{let P=A.fetchers.get(z.key),J=Qi(void 0,P?P.data:void 0);A.fetchers.set(z.key,J)}),new Map(A.fetchers)}async function Vt(M,z,P,J){An(M);let re=(J&&J.flushSync)===!0,de=h||f,ve=od(A.location,A.matches,m,P,z,J?.relative),me=ur(de,ve,m),Se=Er(me,de,ve);if(Se.active&&Se.matches&&(me=Se.matches),!me){Oe(M,z,Bn(404,{pathname:ve}),{flushSync:re});return}let{path:we,submission:pe,error:ge}=ag(!0,ve,J);if(ge){Oe(M,z,ge,{flushSync:re});return}let je=t.getContext?await t.getContext():new tg,Fe=(J&&J.preventScrollReset)===!0;if(pe&&sn(pe.formMethod)){await fa(M,z,we,me,je,Se.active,re,Fe,pe);return}Y.set(M,{routeId:z,path:we}),await Xn(M,z,we,me,je,Se.active,re,Fe,pe)}async function fa(M,z,P,J,re,de,ve,me,Se){ka(),Y.delete(M);let we=A.fetchers.get(M);ft(M,LE(Se,we),{flushSync:ve});let pe=new AbortController,ge=kl(t.history,P,pe.signal,Se);if(de){let bt=await Tr(J,new URL(ge.url).pathname,ge.signal,M);if(bt.type==="aborted")return;if(bt.type==="error"){Oe(M,z,bt.error,{flushSync:ve});return}else if(bt.matches)J=bt.matches;else{Oe(M,z,Bn(404,{pathname:P}),{flushSync:ve});return}}let je=Xs(J,P);if(!je.route.action&&!je.route.lazy){let bt=Bn(405,{method:Se.formMethod,pathname:P,routeId:z});Oe(M,z,bt,{flushSync:ve});return}U.set(M,pe);let Fe=te,pt=Bl(s,u,ge,J,je,i,re),De=(await Fn(ge,pt,re,M))[je.route.id];if(ge.signal.aborted){U.get(M)===pe&&U.delete(M);return}if(ne.has(M)){if(qr(De)||Cn(De)){ft(M,sr(void 0));return}}else{if(qr(De))if(U.delete(M),oe>Fe){ft(M,sr(void 0));return}else return O.add(M),ft(M,Qi(Se)),Jt(ge,De,!1,{fetcherSubmission:Se,preventScrollReset:me});if(Cn(De)){Oe(M,z,De.error);return}}let it=A.navigation.location||A.location,Jn=kl(t.history,it,pe.signal),pn=h||f,Wt=A.navigation.state!=="idle"?ur(pn,A.navigation.location,m):A.matches;qe(Wt,"Didn't find any matches after fetcher action");let On=++te;Ae.set(M,On);let Wr=Qi(Se,De.data);A.fetchers.set(M,Wr);let{dsMatches:Ba,revalidatingFetchers:ha}=rg(Jn,re,s,u,t.history,A,Wt,Se,it,i,!1,I,he,ne,Y,O,pn,m,t.patchRoutesOnNavigation!=null,[je.route.id,De]);ha.filter(bt=>bt.key!==M).forEach(bt=>{let Ha=bt.key,Mo=A.fetchers.get(Ha),Do=Qi(void 0,Mo?Mo.data:void 0);A.fetchers.set(Ha,Do),An(Ha),bt.controller&&U.set(Ha,bt.controller)}),Tt({fetchers:new Map(A.fetchers)});let ma=()=>ha.forEach(bt=>An(bt.key));pe.signal.addEventListener("abort",ma);let{loaderResults:pa,fetcherResults:_e}=await pr(Ba,ha,Jn,re);if(pe.signal.aborted)return;if(pe.signal.removeEventListener("abort",ma),Ae.delete(M),U.delete(M),ha.forEach(bt=>U.delete(bt.key)),A.fetchers.has(M)){let bt=sr(De.data);A.fetchers.set(M,bt)}let _t=qs(pa);if(_t)return Jt(Jn,_t.result,!1,{preventScrollReset:me});if(_t=qs(_e),_t)return O.add(_t.key),Jt(Jn,_t.result,!1,{preventScrollReset:me});let{loaderData:ya,errors:nn}=fg(A,Wt,pa,void 0,ha,_e);vr(On),A.navigation.state==="loading"&&On>oe?(qe(W,"Expected pending action"),ae&&ae.abort(),mn(A.navigation.location,{matches:Wt,loaderData:ya,errors:nn,fetchers:new Map(A.fetchers)})):(Tt({errors:nn,loaderData:dg(A.loaderData,ya,Wt,nn),fetchers:new Map(A.fetchers)}),I=!1)}async function Xn(M,z,P,J,re,de,ve,me,Se){let we=A.fetchers.get(M);ft(M,Qi(Se,we?we.data:void 0),{flushSync:ve});let pe=new AbortController,ge=kl(t.history,P,pe.signal);if(de){let it=await Tr(J,new URL(ge.url).pathname,ge.signal,M);if(it.type==="aborted")return;if(it.type==="error"){Oe(M,z,it.error,{flushSync:ve});return}else if(it.matches)J=it.matches;else{Oe(M,z,Bn(404,{pathname:P}),{flushSync:ve});return}}let je=Xs(J,P);U.set(M,pe);let Fe=te,pt=Bl(s,u,ge,J,je,i,re),De=(await Fn(ge,pt,re,M))[je.route.id];if(U.get(M)===pe&&U.delete(M),!ge.signal.aborted){if(ne.has(M)){ft(M,sr(void 0));return}if(qr(De))if(oe>Fe){ft(M,sr(void 0));return}else{O.add(M),await Jt(ge,De,!1,{preventScrollReset:me});return}if(Cn(De)){Oe(M,z,De.error);return}ft(M,sr(De.data))}}async function Jt(M,z,P,{submission:J,fetcherSubmission:re,preventScrollReset:de,replace:ve}={}){z.response.headers.has("X-Remix-Revalidate")&&(I=!0);let me=z.response.headers.get("Location");qe(me,"Expected a Location header on the redirect Response"),me=ug(me,new URL(M.url),m);let Se=to(A.location,me,{_isRedirect:!0});if(l){let pt=!1;if(z.response.headers.has("X-Remix-Reload-Document"))pt=!0;else if(zd(me)){const wt=O0(me,!0);pt=wt.origin!==a.location.origin||qn(wt.pathname,m)==null}if(pt){ve?a.location.replace(me):a.location.assign(me);return}}ae=null;let we=ve===!0||z.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:pe,formAction:ge,formEncType:je}=A.navigation;!J&&!re&&pe&&ge&&je&&(J=pg(A.navigation));let Fe=J||re;if(hE.has(z.response.status)&&Fe&&sn(Fe.formMethod))await tn(we,Se,{submission:{...Fe,formAction:me},preventScrollReset:de||le,enableViewTransition:P?se:void 0});else{let pt=Vf(Se,J);await tn(we,Se,{overrideNavigation:pt,fetcherSubmission:re,preventScrollReset:de||le,enableViewTransition:P?se:void 0})}}async function Fn(M,z,P,J){let re,de={};try{re=await CE(p,M,z,J,P,!1)}catch(ve){return z.filter(me=>me.shouldLoad).forEach(me=>{de[me.route.id]={type:"error",error:ve}}),de}if(M.signal.aborted)return de;for(let[ve,me]of Object.entries(re))if(UE(me)){let Se=me.result;de[ve]={type:"redirect",response:OE(Se,M,ve,z,m)}}else de[ve]=await AE(me);return de}async function pr(M,z,P,J){let re=Fn(P,M,J,null),de=Promise.all(z.map(async Se=>{if(Se.matches&&Se.match&&Se.request&&Se.controller){let pe=(await Fn(Se.request,Se.matches,J,Se.key))[Se.match.route.id];return{[Se.key]:pe}}else return Promise.resolve({[Se.key]:{type:"error",error:Bn(404,{pathname:Se.path})}})})),ve=await re,me=(await de).reduce((Se,we)=>Object.assign(Se,we),{});return{loaderResults:ve,fetcherResults:me}}function ka(){I=!0,Y.forEach((M,z)=>{U.has(z)&&he.add(z),An(z)})}function ft(M,z,P={}){A.fetchers.set(M,z),Tt({fetchers:new Map(A.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function Oe(M,z,P,J={}){let re=cr(A.matches,z);lt(M),Tt({errors:{[re.route.id]:P},fetchers:new Map(A.fetchers)},{flushSync:(J&&J.flushSync)===!0})}function mt(M){return ee.set(M,(ee.get(M)||0)+1),ne.has(M)&&ne.delete(M),A.fetchers.get(M)||mE}function lt(M){let z=A.fetchers.get(M);U.has(M)&&!(z&&z.state==="loading"&&Ae.has(M))&&An(M),Y.delete(M),Ae.delete(M),O.delete(M),ne.delete(M),he.delete(M),A.fetchers.delete(M)}function yr(M){let z=(ee.get(M)||0)-1;z<=0?(ee.delete(M),ne.add(M)):ee.set(M,z),Tt({fetchers:new Map(A.fetchers)})}function An(M){let z=U.get(M);z&&(z.abort(),U.delete(M))}function Ro(M){for(let z of M){let P=mt(z),J=sr(P.data);A.fetchers.set(z,J)}}function gr(){let M=[],z=!1;for(let P of O){let J=A.fetchers.get(P);qe(J,`Expected fetcher: ${P}`),J.state==="loading"&&(O.delete(P),M.push(P),z=!0)}return Ro(M),z}function vr(M){let z=[];for(let[P,J]of Ae)if(J<M){let re=A.fetchers.get(P);qe(re,`Expected fetcher: ${P}`),re.state==="loading"&&(An(P),Ae.delete(P),z.push(P))}return Ro(z),z.length>0}function da(M,z){let P=A.blockers.get(M)||Gi;return ce.get(M)!==z&&ce.set(M,z),P}function br(M){A.blockers.delete(M),ce.delete(M)}function Zn(M,z){let P=A.blockers.get(M)||Gi;qe(P.state==="unblocked"&&z.state==="blocked"||P.state==="blocked"&&z.state==="blocked"||P.state==="blocked"&&z.state==="proceeding"||P.state==="blocked"&&z.state==="unblocked"||P.state==="proceeding"&&z.state==="unblocked",`Invalid blocker state transition: ${P.state} -> ${z.state}`);let J=new Map(A.blockers);J.set(M,z),Tt({blockers:J})}function xo({currentLocation:M,nextLocation:z,historyAction:P}){if(ce.size===0)return;ce.size>1&&zt(!1,"A router only supports one blocker at a time");let J=Array.from(ce.entries()),[re,de]=J[J.length-1],ve=A.blockers.get(re);if(!(ve&&ve.state==="proceeding")&&de({currentLocation:M,nextLocation:z,historyAction:P}))return re}function Zr(M){let z=Bn(404,{pathname:M}),P=h||f,{matches:J,route:re}=Hs(P);return{notFoundMatches:J,route:re,error:z}}function Ao(M,z,P){if(C=M,w=z,S=P||null,!R&&A.navigation===Yf){R=!0;let J=Oo(A.location,A.matches);J!=null&&Tt({restoreScrollPosition:J})}return()=>{C=null,w=null,S=null}}function Jr(M,z){return S&&S(M,z.map(J=>Q1(J,A.loaderData)))||M.key}function Sr(M,z){if(C&&w){let P=Jr(M,z);C[P]=w()}}function Oo(M,z){if(C){let P=Jr(M,z),J=C[P];if(typeof J=="number")return J}return null}function Er(M,z,P){if(t.patchRoutesOnNavigation)if(M){if(Object.keys(M[0].params).length>0)return{active:!0,matches:Ks(z,P,m,!0)}}else return{active:!0,matches:Ks(z,P,m,!0)||[]};return{active:!1,matches:null}}async function Tr(M,z,P,J){if(!t.patchRoutesOnNavigation)return{type:"success",matches:M};let re=M;for(;;){let de=h==null,ve=h||f,me=u;try{await t.patchRoutesOnNavigation({signal:P,path:z,matches:re,fetcherKey:J,patch:(pe,ge)=>{P.aborted||lg(pe,ge,ve,me,s,!1)}})}catch(pe){return{type:"error",error:pe,partialMatches:re}}finally{de&&!P.aborted&&(f=[...f])}if(P.aborted)return{type:"aborted"};let Se=ur(ve,z,m);if(Se)return{type:"success",matches:Se};let we=Ks(ve,z,m,!0);if(!we||re.length===we.length&&re.every((pe,ge)=>pe.route.id===we[ge].route.id))return{type:"success",matches:null};re=we}}function Kl(M){u={},h=no(M,s,void 0,u)}function Xl(M,z,P=!1){let J=h==null;lg(M,z,h||f,u,s,P),J&&(f=[...f],Tt({}))}return N={get basename(){return m},get future(){return y},get state(){return A},get routes(){return f},get window(){return a},initialize:Et,subscribe:hn,enableScrollRestoration:Ao,navigate:ca,fetch:Vt,revalidate:La,createHref:M=>t.history.createHref(M),encodeLocation:M=>t.history.encodeLocation(M),getFetcher:mt,deleteFetcher:yr,dispose:et,getBlocker:da,deleteBlocker:br,patchRoutes:Xl,_internalFetchControllers:U,_internalSetRoutes:Kl,_internalSetStateDoNotUseOrYouWillBreakYourApp(M){Tt(M)}},N}function vE(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function od(t,a,l,i,s,u){let f,h;if(s){f=[];for(let p of a)if(f.push(p),p.route.id===s){h=p;break}}else f=a,h=a[a.length-1];let m=jd(i||".",Ud(f),qn(t.pathname,l)||t.pathname,u==="path");if(i==null&&(m.search=t.search,m.hash=t.hash),(i==null||i===""||i===".")&&h){let p=Ld(m.search);if(h.route.index&&!p)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!h.route.index&&p){let y=new URLSearchParams(m.search),v=y.getAll("index");y.delete("index"),v.filter(C=>C).forEach(C=>y.append("index",C));let E=y.toString();m.search=E?`?${E}`:""}}return l!=="/"&&(m.pathname=aE({basename:l,pathname:m.pathname})),fr(m)}function ag(t,a,l){if(!l||!vE(l))return{path:a};if(l.formMethod&&!jE(l.formMethod))return{path:a,error:Bn(405,{method:l.formMethod})};let i=()=>({path:a,error:Bn(400,{type:"invalid-body"})}),u=(l.formMethod||"get").toUpperCase(),f=q0(a);if(l.body!==void 0){if(l.formEncType==="text/plain"){if(!sn(u))return i();let v=typeof l.body=="string"?l.body:l.body instanceof FormData||l.body instanceof URLSearchParams?Array.from(l.body.entries()).reduce((E,[C,S])=>`${E}${C}=${S}
60
+ `,""):String(l.body);return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:void 0,text:v}}}else if(l.formEncType==="application/json"){if(!sn(u))return i();try{let v=typeof l.body=="string"?JSON.parse(l.body):l.body;return{path:a,submission:{formMethod:u,formAction:f,formEncType:l.formEncType,formData:void 0,json:v,text:void 0}}}catch{return i()}}}qe(typeof FormData=="function","FormData is not available in this environment");let h,m;if(l.formData)h=cd(l.formData),m=l.formData;else if(l.body instanceof FormData)h=cd(l.body),m=l.body;else if(l.body instanceof URLSearchParams)h=l.body,m=cg(h);else if(l.body==null)h=new URLSearchParams,m=new FormData;else try{h=new URLSearchParams(l.body),m=cg(h)}catch{return i()}let p={formMethod:u,formAction:f,formEncType:l&&l.formEncType||"application/x-www-form-urlencoded",formData:m,json:void 0,text:void 0};if(sn(p.formMethod))return{path:a,submission:p};let y=hr(a);return t&&y.search&&Ld(y.search)&&h.append("index",""),y.search=`?${h}`,{path:fr(y),submission:p}}function rg(t,a,l,i,s,u,f,h,m,p,y,v,E,C,S,w,R,k,G,Q){let F=Q?Cn(Q[1])?Q[1].error:Q[1].data:void 0,N=s.createURL(u.location),A=s.createURL(m),W;if(y&&u.errors){let ie=Object.keys(u.errors)[0];W=f.findIndex(I=>I.route.id===ie)}else if(Q&&Cn(Q[1])){let ie=Q[0];W=f.findIndex(I=>I.route.id===ie)-1}let le=Q?Q[1].statusCode:void 0,ae=le&&le>=400,se={currentUrl:N,currentParams:u.matches[0]?.params||{},nextUrl:A,nextParams:f[0].params,...h,actionResult:F,actionStatus:le},ue=f.map((ie,I)=>{let{route:he}=ie,U=null;if(W!=null&&I>W?U=!1:he.lazy?U=!0:he.loader==null?U=!1:y?U=sd(he,u.loaderData,u.errors):bE(u.loaderData,u.matches[I],ie)&&(U=!0),U!==null)return ud(l,i,t,ie,p,a,U);let te=ae?!1:v||N.pathname+N.search===A.pathname+A.search||N.search!==A.search||SE(u.matches[I],ie),oe={...se,defaultShouldRevalidate:te},Ae=iu(ie,oe);return ud(l,i,t,ie,p,a,Ae,oe)}),T=[];return S.forEach((ie,I)=>{if(y||!f.some(ee=>ee.route.id===ie.routeId)||C.has(I))return;let he=u.fetchers.get(I),U=he&&he.state!=="idle"&&he.data===void 0,te=ur(R,ie.path,k);if(!te){if(G&&U)return;T.push({key:I,routeId:ie.routeId,path:ie.path,matches:null,match:null,request:null,controller:null});return}if(w.has(I))return;let oe=Xs(te,ie.path),Ae=new AbortController,O=kl(s,ie.path,Ae.signal),Y=null;if(E.has(I))E.delete(I),Y=Bl(l,i,O,te,oe,p,a);else if(U)v&&(Y=Bl(l,i,O,te,oe,p,a));else{let ee={...se,defaultShouldRevalidate:ae?!1:v};iu(oe,ee)&&(Y=Bl(l,i,O,te,oe,p,a,ee))}Y&&T.push({key:I,routeId:ie.routeId,path:ie.path,matches:Y,match:oe,request:O,controller:Ae})}),{dsMatches:ue,revalidatingFetchers:T}}function sd(t,a,l){if(t.lazy)return!0;if(!t.loader)return!1;let i=a!=null&&t.id in a,s=l!=null&&l[t.id]!==void 0;return!i&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!i&&!s}function bE(t,a,l){let i=!a||l.route.id!==a.route.id,s=!t.hasOwnProperty(l.route.id);return i||s}function SE(t,a){let l=t.route.path;return t.pathname!==a.pathname||l!=null&&l.endsWith("*")&&t.params["*"]!==a.params["*"]}function iu(t,a){if(t.route.shouldRevalidate){let l=t.route.shouldRevalidate(a);if(typeof l=="boolean")return l}return a.defaultShouldRevalidate}function lg(t,a,l,i,s,u){let f;if(t){let p=i[t];qe(p,`No route found to patch children into: routeId = ${t}`),p.children||(p.children=[]),f=p.children}else f=l;let h=[],m=[];if(a.forEach(p=>{let y=f.find(v=>z0(p,v));y?m.push({existingRoute:y,newRoute:p}):h.push(p)}),h.length>0){let p=no(h,s,[t||"_","patch",String(f?.length||"0")],i);f.push(...p)}if(u&&m.length>0)for(let p=0;p<m.length;p++){let{existingRoute:y,newRoute:v}=m[p],E=y,[C]=no([v],s,[],{},!0);Object.assign(E,{element:C.element?C.element:E.element,errorElement:C.errorElement?C.errorElement:E.errorElement,hydrateFallbackElement:C.hydrateFallbackElement?C.hydrateFallbackElement:E.hydrateFallbackElement})}}function z0(t,a){return"id"in t&&"id"in a&&t.id===a.id?!0:t.index===a.index&&t.path===a.path&&t.caseSensitive===a.caseSensitive?(!t.children||t.children.length===0)&&(!a.children||a.children.length===0)?!0:t.children.every((l,i)=>a.children?.some(s=>z0(l,s))):!1}var ig=new WeakMap,L0=({key:t,route:a,manifest:l,mapRouteProperties:i})=>{let s=l[a.id];if(qe(s,"No route found in manifest"),!s.lazy||typeof s.lazy!="object")return;let u=s.lazy[t];if(!u)return;let f=ig.get(s);f||(f={},ig.set(s,f));let h=f[t];if(h)return h;let m=(async()=>{let p=q1(t),v=s[t]!==void 0&&t!=="hasErrorBoundary";if(p)zt(!p,"Route property "+t+" is not a supported lazy route property. This property will be ignored."),f[t]=Promise.resolve();else if(v)zt(!1,`Route "${s.id}" has a static property "${t}" defined. The lazy property will be ignored.`);else{let E=await u();E!=null&&(Object.assign(s,{[t]:E}),Object.assign(s,i(s)))}typeof s.lazy=="object"&&(s.lazy[t]=void 0,Object.values(s.lazy).every(E=>E===void 0)&&(s.lazy=void 0))})();return f[t]=m,m},og=new WeakMap;function EE(t,a,l,i,s){let u=l[t.id];if(qe(u,"No route found in manifest"),!t.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof t.lazy=="function"){let y=og.get(u);if(y)return{lazyRoutePromise:y,lazyHandlerPromise:y};let v=(async()=>{qe(typeof t.lazy=="function","No lazy route function found");let E=await t.lazy(),C={};for(let S in E){let w=E[S];if(w===void 0)continue;let R=$1(S),G=u[S]!==void 0&&S!=="hasErrorBoundary";R?zt(!R,"Route property "+S+" is not a supported property to be returned from a lazy route function. This property will be ignored."):G?zt(!G,`Route "${u.id}" has a static property "${S}" defined but its lazy function is also returning a value for this property. The lazy route property "${S}" will be ignored.`):C[S]=w}Object.assign(u,C),Object.assign(u,{...i(u),lazy:void 0})})();return og.set(u,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let f=Object.keys(t.lazy),h=[],m;for(let y of f){if(s&&s.includes(y))continue;let v=L0({key:y,route:t,manifest:l,mapRouteProperties:i});v&&(h.push(v),y===a&&(m=v))}let p=h.length>0?Promise.all(h).then(()=>{}):void 0;return p?.catch(()=>{}),m?.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:m}}async function sg(t){let a=t.matches.filter(s=>s.shouldLoad),l={};return(await Promise.all(a.map(s=>s.resolve()))).forEach((s,u)=>{l[a[u].route.id]=s}),l}async function TE(t){return t.matches.some(a=>a.route.middleware)?k0(t,()=>sg(t)):sg(t)}function k0(t,a){return wE(t,a,i=>i,_E,l);function l(i,s,u){if(u)return Promise.resolve(Object.assign(u.value,{[s]:{type:"error",result:i}}));{let{matches:f}=t,h=Math.min(f.findIndex(p=>p.route.id===s)||0,f.findIndex(p=>p.unstable_shouldCallHandler())||0),m=cr(f,f[h].route.id).route.id;return Promise.resolve({[m]:{type:"error",result:i}})}}}async function wE(t,a,l,i,s){let{matches:u,request:f,params:h,context:m}=t,p=u.flatMap(v=>v.route.middleware?v.route.middleware.map(E=>[v.route.id,E]):[]);return await B0({request:f,params:h,context:m},p,a,l,i,s)}async function B0(t,a,l,i,s,u,f=0){let{request:h}=t;if(h.signal.aborted)throw h.signal.reason??new Error(`Request aborted: ${h.method} ${h.url}`);let m=a[f];if(!m)return await l();let[p,y]=m,v,E=async()=>{if(v)throw new Error("You may only call `next()` once per middleware");try{return v={value:await B0(t,a,l,i,s,u,f+1)},v.value}catch(C){return v={value:await u(C,p,v)},v.value}};try{let C=await y(t,E),S=C!=null?i(C):void 0;return s(S)?S:v?S??v.value:(v={value:await E()},v.value)}catch(C){return await u(C,p,v)}}function H0(t,a,l,i,s){let u=L0({key:"middleware",route:i.route,manifest:a,mapRouteProperties:t}),f=EE(i.route,sn(l.method)?"action":"loader",a,t,s);return{middleware:u,route:f.lazyRoutePromise,handler:f.lazyHandlerPromise}}function ud(t,a,l,i,s,u,f,h=null){let m=!1,p=H0(t,a,l,i,s);return{...i,_lazyPromises:p,shouldLoad:f,unstable_shouldRevalidateArgs:h,unstable_shouldCallHandler(y){return m=!0,h?typeof y=="boolean"?iu(i,{...h,defaultShouldRevalidate:y}):iu(i,h):f},resolve(y){return m||f||y&&!sn(l.method)&&(i.route.lazy||i.route.loader)?RE({request:l,match:i,lazyHandlerPromise:p?.handler,lazyRoutePromise:p?.route,handlerOverride:y,scopedContext:u}):Promise.resolve({type:"data",result:void 0})}}}function Bl(t,a,l,i,s,u,f,h=null){return i.map(m=>m.route.id!==s.route.id?{...m,shouldLoad:!1,unstable_shouldRevalidateArgs:h,unstable_shouldCallHandler:()=>!1,_lazyPromises:H0(t,a,l,m,u),resolve:()=>Promise.resolve({type:"data",result:void 0})}:ud(t,a,l,m,u,f,!0,h))}async function CE(t,a,l,i,s,u){l.some(p=>p._lazyPromises?.middleware)&&await Promise.all(l.map(p=>p._lazyPromises?.middleware));let f={request:a,params:l[0].params,context:s,matches:l},m=await t({...f,fetcherKey:i,runClientMiddleware:p=>{let y=f;return k0(y,()=>p({...y,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(l.flatMap(p=>[p._lazyPromises?.handler,p._lazyPromises?.route]))}catch{}return m}async function RE({request:t,match:a,lazyHandlerPromise:l,lazyRoutePromise:i,handlerOverride:s,scopedContext:u}){let f,h,m=sn(t.method),p=m?"action":"loader",y=v=>{let E,C=new Promise((R,k)=>E=k);h=()=>E(),t.signal.addEventListener("abort",h);let S=R=>typeof v!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${p}" [routeId: ${a.route.id}]`)):v({request:t,params:a.params,context:u},...R!==void 0?[R]:[]),w=(async()=>{try{return{type:"data",result:await(s?s(k=>S(k)):S())}}catch(R){return{type:"error",result:R}}})();return Promise.race([w,C])};try{let v=m?a.route.action:a.route.loader;if(l||i)if(v){let E,[C]=await Promise.all([y(v).catch(S=>{E=S}),l,i]);if(E!==void 0)throw E;f=C}else{await l;let E=m?a.route.action:a.route.loader;if(E)[f]=await Promise.all([y(E),i]);else if(p==="action"){let C=new URL(t.url),S=C.pathname+C.search;throw Bn(405,{method:t.method,pathname:S,routeId:a.route.id})}else return{type:"data",result:void 0}}else if(v)f=await y(v);else{let E=new URL(t.url),C=E.pathname+E.search;throw Bn(404,{pathname:C})}}catch(v){return{type:"error",result:v}}finally{h&&t.signal.removeEventListener("abort",h)}return f}async function xE(t){let a=t.headers.get("Content-Type");return a&&/\bapplication\/json\b/.test(a)?t.body==null?null:t.json():t.text()}async function AE(t){let{result:a,type:l}=t;if(P0(a)){let i;try{i=await xE(a)}catch(s){return{type:"error",error:s}}return l==="error"?{type:"error",error:new lu(a.status,a.statusText,i),statusCode:a.status,headers:a.headers}:{type:"data",data:i,statusCode:a.status,headers:a.headers}}return l==="error"?mg(a)?a.data instanceof Error?{type:"error",error:a.data,statusCode:a.init?.status,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"error",error:new lu(a.init?.status||500,void 0,a.data),statusCode:ao(a)?a.status:void 0,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"error",error:a,statusCode:ao(a)?a.status:void 0}:mg(a)?{type:"data",data:a.data,statusCode:a.init?.status,headers:a.init?.headers?new Headers(a.init.headers):void 0}:{type:"data",data:a}}function OE(t,a,l,i,s){let u=t.headers.get("Location");if(qe(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!zd(u)){let f=i.slice(0,i.findIndex(h=>h.route.id===l)+1);u=od(new URL(a.url),f,s,u),t.headers.set("Location",u)}return t}function ug(t,a,l){if(zd(t)){let i=t,s=i.startsWith("//")?new URL(a.protocol+i):new URL(i),u=qn(s.pathname,l)!=null;if(s.origin===a.origin&&u)return s.pathname+s.search+s.hash}return t}function kl(t,a,l,i){let s=t.createURL(q0(a)).toString(),u={signal:l};if(i&&sn(i.formMethod)){let{formMethod:f,formEncType:h}=i;u.method=f.toUpperCase(),h==="application/json"?(u.headers=new Headers({"Content-Type":h}),u.body=JSON.stringify(i.json)):h==="text/plain"?u.body=i.text:h==="application/x-www-form-urlencoded"&&i.formData?u.body=cd(i.formData):u.body=i.formData}return new Request(s,u)}function cd(t){let a=new URLSearchParams;for(let[l,i]of t.entries())a.append(l,typeof i=="string"?i:i.name);return a}function cg(t){let a=new FormData;for(let[l,i]of t.entries())a.append(l,i);return a}function ME(t,a,l,i=!1,s=!1){let u={},f=null,h,m=!1,p={},y=l&&Cn(l[1])?l[1].error:void 0;return t.forEach(v=>{if(!(v.route.id in a))return;let E=v.route.id,C=a[E];if(qe(!qr(C),"Cannot handle redirect results in processLoaderData"),Cn(C)){let S=C.error;if(y!==void 0&&(S=y,y=void 0),f=f||{},s)f[E]=S;else{let w=cr(t,E);f[w.route.id]==null&&(f[w.route.id]=S)}i||(u[E]=j0),m||(m=!0,h=ao(C.error)?C.error.status:500),C.headers&&(p[E]=C.headers)}else u[E]=C.data,C.statusCode&&C.statusCode!==200&&!m&&(h=C.statusCode),C.headers&&(p[E]=C.headers)}),y!==void 0&&l&&(f={[l[0]]:y},l[2]&&(u[l[2]]=void 0)),{loaderData:u,errors:f,statusCode:h||200,loaderHeaders:p}}function fg(t,a,l,i,s,u){let{loaderData:f,errors:h}=ME(a,l,i);return s.filter(m=>!m.matches||m.matches.some(p=>p.shouldLoad)).forEach(m=>{let{key:p,match:y,controller:v}=m;if(v&&v.signal.aborted)return;let E=u[p];if(qe(E,"Did not find corresponding fetcher result"),Cn(E)){let C=cr(t.matches,y?.route.id);h&&h[C.route.id]||(h={...h,[C.route.id]:E.error}),t.fetchers.delete(p)}else if(qr(E))qe(!1,"Unhandled fetcher revalidation redirect");else{let C=sr(E.data);t.fetchers.set(p,C)}}),{loaderData:f,errors:h}}function dg(t,a,l,i){let s=Object.entries(a).filter(([,u])=>u!==j0).reduce((u,[f,h])=>(u[f]=h,u),{});for(let u of l){let f=u.route.id;if(!a.hasOwnProperty(f)&&t.hasOwnProperty(f)&&u.route.loader&&(s[f]=t[f]),i&&i.hasOwnProperty(f))break}return s}function hg(t){return t?Cn(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function cr(t,a){return(a?t.slice(0,t.findIndex(i=>i.route.id===a)+1):[...t]).reverse().find(i=>i.route.hasErrorBoundary===!0)||t[0]}function Hs(t){let a=t.length===1?t[0]:t.find(l=>l.index||!l.path||l.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:a}],route:a}}function Bn(t,{pathname:a,routeId:l,method:i,type:s,message:u}={}){let f="Unknown Server Error",h="Unknown @remix-run/router error";return t===400?(f="Bad Request",i&&a&&l?h=`You made a ${i} request to "${a}" but did not provide a \`loader\` for route "${l}", so there is no way to handle the request.`:s==="invalid-body"&&(h="Unable to encode submission body")):t===403?(f="Forbidden",h=`Route "${l}" does not match URL "${a}"`):t===404?(f="Not Found",h=`No route matches URL "${a}"`):t===405&&(f="Method Not Allowed",i&&a&&l?h=`You made a ${i.toUpperCase()} request to "${a}" but did not provide an \`action\` for route "${l}", so there is no way to handle the request.`:i&&(h=`Invalid request method "${i.toUpperCase()}"`)),new lu(t||500,f,new Error(h),!0)}function qs(t){let a=Object.entries(t);for(let l=a.length-1;l>=0;l--){let[i,s]=a[l];if(qr(s))return{key:i,result:s}}}function q0(t){let a=typeof t=="string"?hr(t):t;return fr({...a,hash:""})}function DE(t,a){return t.pathname!==a.pathname||t.search!==a.search?!1:t.hash===""?a.hash!=="":t.hash===a.hash?!0:a.hash!==""}function _E(t){return t!=null&&typeof t=="object"&&Object.entries(t).every(([a,l])=>typeof a=="string"&&NE(l))}function NE(t){return t!=null&&typeof t=="object"&&"type"in t&&"result"in t&&(t.type==="data"||t.type==="error")}function UE(t){return P0(t.result)&&dE.has(t.result.status)}function Cn(t){return t.type==="error"}function qr(t){return(t&&t.type)==="redirect"}function mg(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function P0(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function jE(t){return fE.has(t.toUpperCase())}function sn(t){return uE.has(t.toUpperCase())}function Ld(t){return new URLSearchParams(t).getAll("index").some(a=>a==="")}function Xs(t,a){let l=typeof a=="string"?hr(a).search:a.search;if(t[t.length-1].route.index&&Ld(l||""))return t[t.length-1];let i=_0(t);return i[i.length-1]}function pg(t){let{formMethod:a,formAction:l,formEncType:i,text:s,formData:u,json:f}=t;if(!(!a||!l||!i)){if(s!=null)return{formMethod:a,formAction:l,formEncType:i,formData:void 0,json:void 0,text:s};if(u!=null)return{formMethod:a,formAction:l,formEncType:i,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:a,formAction:l,formEncType:i,formData:void 0,json:f,text:void 0}}}function Vf(t,a){return a?{state:"loading",location:t,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function zE(t,a){return{state:"submitting",location:t,formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text}}function Qi(t,a){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:a}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function LE(t,a){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:a?a.data:void 0}}function sr(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function kE(t,a){try{let l=t.sessionStorage.getItem(U0);if(l){let i=JSON.parse(l);for(let[s,u]of Object.entries(i||{}))u&&Array.isArray(u)&&a.set(s,new Set(u||[]))}}catch{}}function BE(t,a){if(a.size>0){let l={};for(let[i,s]of a)l[i]=[...s];try{t.sessionStorage.setItem(U0,JSON.stringify(l))}catch(i){zt(!1,`Failed to save applied view transitions in sessionStorage (${i}).`)}}}function HE(){let t,a,l=new Promise((i,s)=>{t=async u=>{i(u);try{await l}catch{}},a=async u=>{s(u);try{await l}catch{}}});return{promise:l,resolve:t,reject:a}}var Vr=D.createContext(null);Vr.displayName="DataRouter";var co=D.createContext(null);co.displayName="DataRouterState";D.createContext(!1);var kd=D.createContext({isTransitioning:!1});kd.displayName="ViewTransition";var $0=D.createContext(new Map);$0.displayName="Fetchers";var qE=D.createContext(null);qE.displayName="Await";var ua=D.createContext(null);ua.displayName="Navigation";var fu=D.createContext(null);fu.displayName="Location";var Vn=D.createContext({outlet:null,matches:[],isDataRoute:!1});Vn.displayName="Route";var Bd=D.createContext(null);Bd.displayName="RouteError";function PE(t,{relative:a}={}){qe(fo(),"useHref() may be used only in the context of a <Router> component.");let{basename:l,navigator:i}=D.useContext(ua),{hash:s,pathname:u,search:f}=ho(t,{relative:a}),h=u;return l!=="/"&&(h=u==="/"?l:oa([l,u])),i.createHref({pathname:h,search:f,hash:s})}function fo(){return D.useContext(fu)!=null}function Kr(){return qe(fo(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(fu).location}var G0="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q0(t){D.useContext(ua).static||D.useLayoutEffect(t)}function $E(){let{isDataRoute:t}=D.useContext(Vn);return t?aT():GE()}function GE(){qe(fo(),"useNavigate() may be used only in the context of a <Router> component.");let t=D.useContext(Vr),{basename:a,navigator:l}=D.useContext(ua),{matches:i}=D.useContext(Vn),{pathname:s}=Kr(),u=JSON.stringify(Ud(i)),f=D.useRef(!1);return Q0(()=>{f.current=!0}),D.useCallback((m,p={})=>{if(zt(f.current,G0),!f.current)return;if(typeof m=="number"){l.go(m);return}let y=jd(m,JSON.parse(u),s,p.relative==="path");t==null&&a!=="/"&&(y.pathname=y.pathname==="/"?a:oa([a,y.pathname])),(p.replace?l.replace:l.push)(y,p.state,p)},[a,l,u,s,t])}var QE=D.createContext(null);function YE(t){let a=D.useContext(Vn).outlet;return a&&D.createElement(QE.Provider,{value:t},a)}function rO(){let{matches:t}=D.useContext(Vn),a=t[t.length-1];return a?a.params:{}}function ho(t,{relative:a}={}){let{matches:l}=D.useContext(Vn),{pathname:i}=Kr(),s=JSON.stringify(Ud(l));return D.useMemo(()=>jd(t,JSON.parse(s),i,a==="path"),[t,s,i,a])}function VE(t,a,l,i,s){qe(fo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=D.useContext(ua),{matches:f}=D.useContext(Vn),h=f[f.length-1],m=h?h.params:{},p=h?h.pathname:"/",y=h?h.pathnameBase:"/",v=h&&h.route;{let G=v&&v.path||"";Y0(p,!v||G.endsWith("*")||G.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${G}">) 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.
61
+
62
+ Please change the parent <Route path="${G}"> to <Route path="${G==="/"?"*":`${G}/*`}">.`)}let E=Kr(),C;C=E;let S=C.pathname||"/",w=S;if(y!=="/"){let G=y.replace(/^\//,"").split("/");w="/"+S.replace(/^\//,"").split("/").slice(G.length).join("/")}let R=ur(t,{pathname:w});return zt(v||R!=null,`No routes matched location "${C.pathname}${C.search}${C.hash}" `),zt(R==null||R[R.length-1].route.element!==void 0||R[R.length-1].route.Component!==void 0||R[R.length-1].route.lazy!==void 0,`Matched leaf route at location "${C.pathname}${C.search}${C.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.`),JE(R&&R.map(G=>Object.assign({},G,{params:Object.assign({},m,G.params),pathname:oa([y,u.encodeLocation?u.encodeLocation(G.pathname).pathname:G.pathname]),pathnameBase:G.pathnameBase==="/"?y:oa([y,u.encodeLocation?u.encodeLocation(G.pathnameBase).pathname:G.pathnameBase])})),f,l,i,s)}function KE(){let t=nT(),a=ao(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),l=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},u={padding:"2px 4px",backgroundColor:i},f=null;return console.error("Error handled by React Router default ErrorBoundary:",t),f=D.createElement(D.Fragment,null,D.createElement("p",null,"💿 Hey developer 👋"),D.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",D.createElement("code",{style:u},"ErrorBoundary")," or"," ",D.createElement("code",{style:u},"errorElement")," prop on your route.")),D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},a),l?D.createElement("pre",{style:s},l):null,f)}var XE=D.createElement(KE,null),FE=class extends D.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,a){return a.location!==t.location||a.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:a.error,location:a.location,revalidation:t.revalidation||a.revalidation}}componentDidCatch(t,a){this.props.unstable_onError?this.props.unstable_onError(t,a):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?D.createElement(Vn.Provider,{value:this.props.routeContext},D.createElement(Bd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ZE({routeContext:t,match:a,children:l}){let i=D.useContext(Vr);return i&&i.static&&i.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=a.route.id),D.createElement(Vn.Provider,{value:t},l)}function JE(t,a=[],l=null,i=null,s=null){if(t==null){if(!l)return null;if(l.errors)t=l.matches;else if(a.length===0&&!l.initialized&&l.matches.length>0)t=l.matches;else return null}let u=t,f=l?.errors;if(f!=null){let p=u.findIndex(y=>y.route.id&&f?.[y.route.id]!==void 0);qe(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(f).join(",")}`),u=u.slice(0,Math.min(u.length,p+1))}let h=!1,m=-1;if(l)for(let p=0;p<u.length;p++){let y=u[p];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(m=p),y.route.id){let{loaderData:v,errors:E}=l,C=y.route.loader&&!v.hasOwnProperty(y.route.id)&&(!E||E[y.route.id]===void 0);if(y.route.lazy||C){h=!0,m>=0?u=u.slice(0,m+1):u=[u[0]];break}}}return u.reduceRight((p,y,v)=>{let E,C=!1,S=null,w=null;l&&(E=f&&y.route.id?f[y.route.id]:void 0,S=y.route.errorElement||XE,h&&(m<0&&v===0?(Y0("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,w=null):m===v&&(C=!0,w=y.route.hydrateFallbackElement||null)));let R=a.concat(u.slice(0,v+1)),k=()=>{let G;return E?G=S:C?G=w:y.route.Component?G=D.createElement(y.route.Component,null):y.route.element?G=y.route.element:G=p,D.createElement(ZE,{match:y,routeContext:{outlet:p,matches:R,isDataRoute:l!=null},children:G})};return l&&(y.route.ErrorBoundary||y.route.errorElement||v===0)?D.createElement(FE,{location:l.location,revalidation:l.revalidation,component:S,error:E,children:k(),routeContext:{outlet:null,matches:R,isDataRoute:!0},unstable_onError:i}):k()},null)}function Hd(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function WE(t){let a=D.useContext(Vr);return qe(a,Hd(t)),a}function IE(t){let a=D.useContext(co);return qe(a,Hd(t)),a}function eT(t){let a=D.useContext(Vn);return qe(a,Hd(t)),a}function qd(t){let a=eT(t),l=a.matches[a.matches.length-1];return qe(l.route.id,`${t} can only be used on routes that contain a unique "id"`),l.route.id}function tT(){return qd("useRouteId")}function nT(){let t=D.useContext(Bd),a=IE("useRouteError"),l=qd("useRouteError");return t!==void 0?t:a.errors?.[l]}function aT(){let{router:t}=WE("useNavigate"),a=qd("useNavigate"),l=D.useRef(!1);return Q0(()=>{l.current=!0}),D.useCallback(async(s,u={})=>{zt(l.current,G0),l.current&&(typeof s=="number"?t.navigate(s):await t.navigate(s,{fromRouteId:a,...u}))},[t,a])}var yg={};function Y0(t,a,l){!a&&!yg[t]&&(yg[t]=!0,zt(!1,l))}var gg={};function vg(t,a){!t&&!gg[a]&&(gg[a]=!0,console.warn(a))}function rT(t){let a={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&(t.element&&zt(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(a,{element:D.createElement(t.Component),Component:void 0})),t.HydrateFallback&&(t.hydrateFallbackElement&&zt(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(a,{hydrateFallbackElement:D.createElement(t.HydrateFallback),HydrateFallback:void 0})),t.ErrorBoundary&&(t.errorElement&&zt(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(a,{errorElement:D.createElement(t.ErrorBoundary),ErrorBoundary:void 0})),a}var lT=["HydrateFallback","hydrateFallbackElement"],iT=class{constructor(){this.status="pending",this.promise=new Promise((t,a)=>{this.resolve=l=>{this.status==="pending"&&(this.status="resolved",t(l))},this.reject=l=>{this.status==="pending"&&(this.status="rejected",a(l))}})}};function oT({router:t,flushSync:a,unstable_onError:l}){let[i,s]=D.useState(t.state),[u,f]=D.useState(),[h,m]=D.useState({isTransitioning:!1}),[p,y]=D.useState(),[v,E]=D.useState(),[C,S]=D.useState(),w=D.useRef(new Map),R=D.useCallback(N=>{s(A=>(N.errors&&l&&Object.entries(N.errors).forEach(([W,le])=>{A.errors?.[W]!==le&&l(le)}),N))},[l]),k=D.useCallback((N,{deletedFetchers:A,flushSync:W,viewTransitionOpts:le})=>{N.fetchers.forEach((se,ue)=>{se.data!==void 0&&w.current.set(ue,se.data)}),A.forEach(se=>w.current.delete(se)),vg(W===!1||a!=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 ae=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(vg(le==null||ae,"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."),!le||!ae){a&&W?a(()=>R(N)):D.startTransition(()=>R(N));return}if(a&&W){a(()=>{v&&(p&&p.resolve(),v.skipTransition()),m({isTransitioning:!0,flushSync:!0,currentLocation:le.currentLocation,nextLocation:le.nextLocation})});let se=t.window.document.startViewTransition(()=>{a(()=>R(N))});se.finished.finally(()=>{a(()=>{y(void 0),E(void 0),f(void 0),m({isTransitioning:!1})})}),a(()=>E(se));return}v?(p&&p.resolve(),v.skipTransition(),S({state:N,currentLocation:le.currentLocation,nextLocation:le.nextLocation})):(f(N),m({isTransitioning:!0,flushSync:!1,currentLocation:le.currentLocation,nextLocation:le.nextLocation}))},[t.window,a,v,p,R]);D.useLayoutEffect(()=>t.subscribe(k),[t,k]),D.useEffect(()=>{h.isTransitioning&&!h.flushSync&&y(new iT)},[h]),D.useEffect(()=>{if(p&&u&&t.window){let N=u,A=p.promise,W=t.window.document.startViewTransition(async()=>{D.startTransition(()=>R(N)),await A});W.finished.finally(()=>{y(void 0),E(void 0),f(void 0),m({isTransitioning:!1})}),E(W)}},[u,p,t.window,R]),D.useEffect(()=>{p&&u&&i.location.key===u.location.key&&p.resolve()},[p,v,i.location,u]),D.useEffect(()=>{!h.isTransitioning&&C&&(f(C.state),m({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),S(void 0))},[h.isTransitioning,C]);let G=D.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:N=>t.navigate(N),push:(N,A,W)=>t.navigate(N,{state:A,preventScrollReset:W?.preventScrollReset}),replace:(N,A,W)=>t.navigate(N,{replace:!0,state:A,preventScrollReset:W?.preventScrollReset})}),[t]),Q=t.basename||"/",F=D.useMemo(()=>({router:t,navigator:G,static:!1,basename:Q,unstable_onError:l}),[t,G,Q,l]);return D.createElement(D.Fragment,null,D.createElement(Vr.Provider,{value:F},D.createElement(co.Provider,{value:i},D.createElement($0.Provider,{value:w.current},D.createElement(kd.Provider,{value:h},D.createElement(cT,{basename:Q,location:i.location,navigationType:i.historyAction,navigator:G},D.createElement(sT,{routes:t.routes,future:t.future,state:i,unstable_onError:l})))))),null)}var sT=D.memo(uT);function uT({routes:t,future:a,state:l,unstable_onError:i}){return VE(t,void 0,l,i,a)}function lO(t){return YE(t.context)}function cT({basename:t="/",children:a=null,location:l,navigationType:i="POP",navigator:s,static:u=!1}){qe(!fo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),h=D.useMemo(()=>({basename:f,navigator:s,static:u,future:{}}),[f,s,u]);typeof l=="string"&&(l=hr(l));let{pathname:m="/",search:p="",hash:y="",state:v=null,key:E="default"}=l,C=D.useMemo(()=>{let S=qn(m,f);return S==null?null:{location:{pathname:S,search:p,hash:y,state:v,key:E},navigationType:i}},[f,m,p,y,v,E,i]);return zt(C!=null,`<Router basename="${f}"> is not able to match the URL "${m}${p}${y}" because it does not start with the basename, so the <Router> won't render anything.`),C==null?null:D.createElement(ua.Provider,{value:h},D.createElement(fu.Provider,{children:a,value:C}))}var Fs="get",Zs="application/x-www-form-urlencoded";function du(t){return t!=null&&typeof t.tagName=="string"}function fT(t){return du(t)&&t.tagName.toLowerCase()==="button"}function dT(t){return du(t)&&t.tagName.toLowerCase()==="form"}function hT(t){return du(t)&&t.tagName.toLowerCase()==="input"}function mT(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function pT(t,a){return t.button===0&&(!a||a==="_self")&&!mT(t)}var Ps=null;function yT(){if(Ps===null)try{new FormData(document.createElement("form"),0),Ps=!1}catch{Ps=!0}return Ps}var gT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Kf(t){return t!=null&&!gT.has(t)?(zt(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Zs}"`),null):t}function vT(t,a){let l,i,s,u,f;if(dT(t)){let h=t.getAttribute("action");i=h?qn(h,a):null,l=t.getAttribute("method")||Fs,s=Kf(t.getAttribute("enctype"))||Zs,u=new FormData(t)}else if(fT(t)||hT(t)&&(t.type==="submit"||t.type==="image")){let h=t.form;if(h==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||h.getAttribute("action");if(i=m?qn(m,a):null,l=t.getAttribute("formmethod")||h.getAttribute("method")||Fs,s=Kf(t.getAttribute("formenctype"))||Kf(h.getAttribute("enctype"))||Zs,u=new FormData(h,t),!yT()){let{name:p,type:y,value:v}=t;if(y==="image"){let E=p?`${p}.`:"";u.append(`${E}x`,"0"),u.append(`${E}y`,"0")}else p&&u.append(p,v)}}else{if(du(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');l=Fs,i=null,s=Zs,f=t}return u&&s==="text/plain"&&(f=u,u=void 0),{action:i,method:l.toLowerCase(),encType:s,formData:u,body:f}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Pd(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function bT(t,a,l){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname==="/"?i.pathname=`_root.${l}`:a&&qn(i.pathname,a)==="/"?i.pathname=`${a.replace(/\/$/,"")}/_root.${l}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${l}`,i}async function ST(t,a){if(t.id in a)return a[t.id];try{let l=await import(t.module);return a[t.id]=l,l}catch(l){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(l),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function ET(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function TT(t,a,l){let i=await Promise.all(t.map(async s=>{let u=a.routes[s.route.id];if(u){let f=await ST(u,l);return f.links?f.links():[]}return[]}));return xT(i.flat(1).filter(ET).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function bg(t,a,l,i,s,u){let f=(m,p)=>l[p]?m.route.id!==l[p].route.id:!0,h=(m,p)=>l[p].pathname!==m.pathname||l[p].route.path?.endsWith("*")&&l[p].params["*"]!==m.params["*"];return u==="assets"?a.filter((m,p)=>f(m,p)||h(m,p)):u==="data"?a.filter((m,p)=>{let y=i.routes[m.route.id];if(!y||!y.hasLoader)return!1;if(f(m,p)||h(m,p))return!0;if(m.route.shouldRevalidate){let v=m.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:l[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function wT(t,a,{includeHydrateFallback:l}={}){return CT(t.map(i=>{let s=a.routes[i.route.id];if(!s)return[];let u=[s.module];return s.clientActionModule&&(u=u.concat(s.clientActionModule)),s.clientLoaderModule&&(u=u.concat(s.clientLoaderModule)),l&&s.hydrateFallbackModule&&(u=u.concat(s.hydrateFallbackModule)),s.imports&&(u=u.concat(s.imports)),u}).flat(1))}function CT(t){return[...new Set(t)]}function RT(t){let a={},l=Object.keys(t).sort();for(let i of l)a[i]=t[i];return a}function xT(t,a){let l=new Set;return new Set(a),t.reduce((i,s)=>{let u=JSON.stringify(RT(s));return l.has(u)||(l.add(u),i.push({key:u,link:s})),i},[])}function V0(){let t=D.useContext(Vr);return Pd(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function AT(){let t=D.useContext(co);return Pd(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var $d=D.createContext(void 0);$d.displayName="FrameworkContext";function K0(){let t=D.useContext($d);return Pd(t,"You must render this element inside a <HydratedRouter> element"),t}function OT(t,a){let l=D.useContext($d),[i,s]=D.useState(!1),[u,f]=D.useState(!1),{onFocus:h,onBlur:m,onMouseEnter:p,onMouseLeave:y,onTouchStart:v}=a,E=D.useRef(null);D.useEffect(()=>{if(t==="render"&&f(!0),t==="viewport"){let w=k=>{k.forEach(G=>{f(G.isIntersecting)})},R=new IntersectionObserver(w,{threshold:.5});return E.current&&R.observe(E.current),()=>{R.disconnect()}}},[t]),D.useEffect(()=>{if(i){let w=setTimeout(()=>{f(!0)},100);return()=>{clearTimeout(w)}}},[i]);let C=()=>{s(!0)},S=()=>{s(!1),f(!1)};return l?t!=="intent"?[u,E,{}]:[u,E,{onFocus:Yi(h,C),onBlur:Yi(m,S),onMouseEnter:Yi(p,C),onMouseLeave:Yi(y,S),onTouchStart:Yi(v,C)}]:[!1,E,{}]}function Yi(t,a){return l=>{t&&t(l),l.defaultPrevented||a(l)}}function MT({page:t,...a}){let{router:l}=V0(),i=D.useMemo(()=>ur(l.routes,t,l.basename),[l.routes,t,l.basename]);return i?D.createElement(_T,{page:t,matches:i,...a}):null}function DT(t){let{manifest:a,routeModules:l}=K0(),[i,s]=D.useState([]);return D.useEffect(()=>{let u=!1;return TT(t,a,l).then(f=>{u||s(f)}),()=>{u=!0}},[t,a,l]),i}function _T({page:t,matches:a,...l}){let i=Kr(),{manifest:s,routeModules:u}=K0(),{basename:f}=V0(),{loaderData:h,matches:m}=AT(),p=D.useMemo(()=>bg(t,a,m,s,i,"data"),[t,a,m,s,i]),y=D.useMemo(()=>bg(t,a,m,s,i,"assets"),[t,a,m,s,i]),v=D.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let S=new Set,w=!1;if(a.forEach(k=>{let G=s.routes[k.route.id];!G||!G.hasLoader||(!p.some(Q=>Q.route.id===k.route.id)&&k.route.id in h&&u[k.route.id]?.shouldRevalidate||G.hasClientLoader?w=!0:S.add(k.route.id))}),S.size===0)return[];let R=bT(t,f,"data");return w&&S.size>0&&R.searchParams.set("_routes",a.filter(k=>S.has(k.route.id)).map(k=>k.route.id).join(",")),[R.pathname+R.search]},[f,h,i,s,p,a,t,u]),E=D.useMemo(()=>wT(y,s),[y,s]),C=DT(y);return D.createElement(D.Fragment,null,v.map(S=>D.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...l})),E.map(S=>D.createElement("link",{key:S,rel:"modulepreload",href:S,...l})),C.map(({key:S,link:w})=>D.createElement("link",{key:S,nonce:l.nonce,...w})))}function NT(...t){return a=>{t.forEach(l=>{typeof l=="function"?l(a):l!=null&&(l.current=a)})}}var X0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{X0&&(window.__reactRouterVersion="7.9.1")}catch{}function UT(t,a){return gE({basename:a?.basename,getContext:a?.getContext,future:a?.future,history:L1({window:a?.window}),hydrationData:jT(),routes:t,mapRouteProperties:rT,hydrationRouteProperties:lT,dataStrategy:a?.dataStrategy,patchRoutesOnNavigation:a?.patchRoutesOnNavigation,window:a?.window}).initialize()}function jT(){let t=window?.__staticRouterHydrationData;return t&&t.errors&&(t={...t,errors:zT(t.errors)}),t}function zT(t){if(!t)return null;let a=Object.entries(t),l={};for(let[i,s]of a)if(s&&s.__type==="RouteErrorResponse")l[i]=new lu(s.status,s.statusText,s.data,s.internal===!0);else if(s&&s.__type==="Error"){if(s.__subType){let u=window[s.__subType];if(typeof u=="function")try{let f=new u(s.message);f.stack="",l[i]=f}catch{}}if(l[i]==null){let u=new Error(s.message);u.stack="",l[i]=u}}else l[i]=s;return l}var F0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z0=D.forwardRef(function({onClick:a,discover:l="render",prefetch:i="none",relative:s,reloadDocument:u,replace:f,state:h,target:m,to:p,preventScrollReset:y,viewTransition:v,...E},C){let{basename:S}=D.useContext(ua),w=typeof p=="string"&&F0.test(p),R,k=!1;if(typeof p=="string"&&w&&(R=p,X0))try{let ae=new URL(window.location.href),se=p.startsWith("//")?new URL(ae.protocol+p):new URL(p),ue=qn(se.pathname,S);se.origin===ae.origin&&ue!=null?p=ue+se.search+se.hash:k=!0}catch{zt(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let G=PE(p,{relative:s}),[Q,F,N]=OT(i,E),A=HT(p,{replace:f,state:h,target:m,preventScrollReset:y,relative:s,viewTransition:v});function W(ae){a&&a(ae),ae.defaultPrevented||A(ae)}let le=D.createElement("a",{...E,...N,href:R||G,onClick:k||u?a:W,ref:NT(C,F),target:m,"data-discover":!w&&l==="render"?"true":void 0});return Q&&!w?D.createElement(D.Fragment,null,le,D.createElement(MT,{page:G})):le});Z0.displayName="Link";var LT=D.forwardRef(function({"aria-current":a="page",caseSensitive:l=!1,className:i="",end:s=!1,style:u,to:f,viewTransition:h,children:m,...p},y){let v=ho(f,{relative:p.relative}),E=Kr(),C=D.useContext(co),{navigator:S,basename:w}=D.useContext(ua),R=C!=null&&QT(v)&&h===!0,k=S.encodeLocation?S.encodeLocation(v).pathname:v.pathname,G=E.pathname,Q=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;l||(G=G.toLowerCase(),Q=Q?Q.toLowerCase():null,k=k.toLowerCase()),Q&&w&&(Q=qn(Q,w)||Q);const F=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let N=G===k||!s&&G.startsWith(k)&&G.charAt(F)==="/",A=Q!=null&&(Q===k||!s&&Q.startsWith(k)&&Q.charAt(k.length)==="/"),W={isActive:N,isPending:A,isTransitioning:R},le=N?a:void 0,ae;typeof i=="function"?ae=i(W):ae=[i,N?"active":null,A?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let se=typeof u=="function"?u(W):u;return D.createElement(Z0,{...p,"aria-current":le,className:ae,ref:y,style:se,to:f,viewTransition:h},typeof m=="function"?m(W):m)});LT.displayName="NavLink";var kT=D.forwardRef(({discover:t="render",fetcherKey:a,navigate:l,reloadDocument:i,replace:s,state:u,method:f=Fs,action:h,onSubmit:m,relative:p,preventScrollReset:y,viewTransition:v,...E},C)=>{let S=$T(),w=GT(h,{relative:p}),R=f.toLowerCase()==="get"?"get":"post",k=typeof h=="string"&&F0.test(h),G=Q=>{if(m&&m(Q),Q.defaultPrevented)return;Q.preventDefault();let F=Q.nativeEvent.submitter,N=F?.getAttribute("formmethod")||f;S(F||Q.currentTarget,{fetcherKey:a,method:N,navigate:l,replace:s,state:u,relative:p,preventScrollReset:y,viewTransition:v})};return D.createElement("form",{ref:C,method:R,action:w,onSubmit:i?m:G,...E,"data-discover":!k&&t==="render"?"true":void 0})});kT.displayName="Form";function BT(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function J0(t){let a=D.useContext(Vr);return qe(a,BT(t)),a}function HT(t,{target:a,replace:l,state:i,preventScrollReset:s,relative:u,viewTransition:f}={}){let h=$E(),m=Kr(),p=ho(t,{relative:u});return D.useCallback(y=>{if(pT(y,a)){y.preventDefault();let v=l!==void 0?l:fr(m)===fr(p);h(t,{replace:v,state:i,preventScrollReset:s,relative:u,viewTransition:f})}},[m,h,p,l,i,a,t,s,u,f])}var qT=0,PT=()=>`__${String(++qT)}__`;function $T(){let{router:t}=J0("useSubmit"),{basename:a}=D.useContext(ua),l=tT();return D.useCallback(async(i,s={})=>{let{action:u,method:f,encType:h,formData:m,body:p}=vT(i,a);if(s.navigate===!1){let y=s.fetcherKey||PT();await t.fetch(y,l,s.action||u,{preventScrollReset:s.preventScrollReset,formData:m,body:p,formMethod:s.method||f,formEncType:s.encType||h,flushSync:s.flushSync})}else await t.navigate(s.action||u,{preventScrollReset:s.preventScrollReset,formData:m,body:p,formMethod:s.method||f,formEncType:s.encType||h,replace:s.replace,state:s.state,fromRouteId:l,flushSync:s.flushSync,viewTransition:s.viewTransition})},[t,a,l])}function GT(t,{relative:a}={}){let{basename:l}=D.useContext(ua),i=D.useContext(Vn);qe(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),u={...ho(t||".",{relative:a})},f=Kr();if(t==null){u.search=f.search;let h=new URLSearchParams(u.search),m=h.getAll("index");if(m.some(y=>y==="")){h.delete("index"),m.filter(v=>v).forEach(v=>h.append("index",v));let y=h.toString();u.search=y?`?${y}`:""}}return(!t||t===".")&&s.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),l!=="/"&&(u.pathname=u.pathname==="/"?l:oa([l,u.pathname])),fr(u)}function QT(t,{relative:a}={}){let l=D.useContext(kd);qe(l!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=J0("useViewTransitionState"),s=ho(t,{relative:a});if(!l.isTransitioning)return!1;let u=qn(l.currentLocation.pathname,i)||l.currentLocation.pathname,f=qn(l.nextLocation.pathname,i)||l.nextLocation.pathname;return ru(s.pathname,f)!=null||ru(s.pathname,u)!=null}var W0=x0();const iO=R0(W0);function YT(t){return D.createElement(oT,{flushSync:W0.flushSync,...t})}const VT="modulepreload",KT=function(t){return"/"+t},Sg={},Xr=function(a,l,i){let s=Promise.resolve();if(l&&l.length>0){let f=function(p){return Promise.all(p.map(y=>Promise.resolve(y).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};document.getElementsByTagName("link");const h=document.querySelector("meta[property=csp-nonce]"),m=h?.nonce||h?.getAttribute("nonce");s=f(l.map(p=>{if(p=KT(p),p in Sg)return;Sg[p]=!0;const y=p.endsWith(".css"),v=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${v}`))return;const E=document.createElement("link");if(E.rel=y?"stylesheet":VT,y||(E.as="script"),E.crossOrigin="",E.href=p,m&&E.setAttribute("nonce",m),document.head.appendChild(E),y)return new Promise((C,S)=>{E.addEventListener("load",C),E.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(f){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=f,window.dispatchEvent(h),!h.defaultPrevented)throw f}return s.then(f=>{for(const h of f||[])h.status==="rejected"&&u(h.reason);return a().catch(u)})},ro={black:"#000",white:"#fff"},Nl={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ul={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},jl={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},zl={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ll={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Vi={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},XT={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Qr(t,...a){const l=new URL(`https://mui.com/production-error/?code=${t}`);return a.forEach(i=>l.searchParams.append("args[]",i)),`Minified MUI error #${t}; visit ${l} for the full message.`}const $r="$$material";function fd(){return fd=Object.assign?Object.assign.bind():function(t){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var i in l)({}).hasOwnProperty.call(l,i)&&(t[i]=l[i])}return t},fd.apply(null,arguments)}function FT(t){if(t.sheet)return t.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===t)return document.styleSheets[a]}function ZT(t){var a=document.createElement("style");return a.setAttribute("data-emotion",t.key),t.nonce!==void 0&&a.setAttribute("nonce",t.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var JT=(function(){function t(l){var i=this;this._insertTag=function(s){var u;i.tags.length===0?i.insertionPoint?u=i.insertionPoint.nextSibling:i.prepend?u=i.container.firstChild:u=i.before:u=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,u),i.tags.push(s)},this.isSpeedy=l.speedy===void 0?!0:l.speedy,this.tags=[],this.ctr=0,this.nonce=l.nonce,this.key=l.key,this.container=l.container,this.prepend=l.prepend,this.insertionPoint=l.insertionPoint,this.before=null}var a=t.prototype;return a.hydrate=function(i){i.forEach(this._insertTag)},a.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ZT(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var u=FT(s);try{u.insertRule(i,u.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},a.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},t})(),Ft="-ms-",ou="-moz-",Je="-webkit-",I0="comm",Gd="rule",Qd="decl",WT="@import",ev="@keyframes",IT="@layer",ew=Math.abs,hu=String.fromCharCode,tw=Object.assign;function nw(t,a){return Qt(t,0)^45?(((a<<2^Qt(t,0))<<2^Qt(t,1))<<2^Qt(t,2))<<2^Qt(t,3):0}function tv(t){return t.trim()}function aw(t,a){return(t=a.exec(t))?t[0]:t}function We(t,a,l){return t.replace(a,l)}function dd(t,a){return t.indexOf(a)}function Qt(t,a){return t.charCodeAt(a)|0}function lo(t,a,l){return t.slice(a,l)}function la(t){return t.length}function Yd(t){return t.length}function $s(t,a){return a.push(t),t}function rw(t,a){return t.map(a).join("")}var mu=1,Pl=1,nv=0,dn=0,jt=0,Gl="";function pu(t,a,l,i,s,u,f){return{value:t,root:a,parent:l,type:i,props:s,children:u,line:mu,column:Pl,length:f,return:""}}function Ki(t,a){return tw(pu("",null,null,"",null,null,0),t,{length:-t.length},a)}function lw(){return jt}function iw(){return jt=dn>0?Qt(Gl,--dn):0,Pl--,jt===10&&(Pl=1,mu--),jt}function xn(){return jt=dn<nv?Qt(Gl,dn++):0,Pl++,jt===10&&(Pl=1,mu++),jt}function sa(){return Qt(Gl,dn)}function Js(){return dn}function mo(t,a){return lo(Gl,t,a)}function io(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function av(t){return mu=Pl=1,nv=la(Gl=t),dn=0,[]}function rv(t){return Gl="",t}function Ws(t){return tv(mo(dn-1,hd(t===91?t+2:t===40?t+1:t)))}function ow(t){for(;(jt=sa())&&jt<33;)xn();return io(t)>2||io(jt)>3?"":" "}function sw(t,a){for(;--a&&xn()&&!(jt<48||jt>102||jt>57&&jt<65||jt>70&&jt<97););return mo(t,Js()+(a<6&&sa()==32&&xn()==32))}function hd(t){for(;xn();)switch(jt){case t:return dn;case 34:case 39:t!==34&&t!==39&&hd(jt);break;case 40:t===41&&hd(t);break;case 92:xn();break}return dn}function uw(t,a){for(;xn()&&t+jt!==57;)if(t+jt===84&&sa()===47)break;return"/*"+mo(a,dn-1)+"*"+hu(t===47?t:xn())}function cw(t){for(;!io(sa());)xn();return mo(t,dn)}function fw(t){return rv(Is("",null,null,null,[""],t=av(t),0,[0],t))}function Is(t,a,l,i,s,u,f,h,m){for(var p=0,y=0,v=f,E=0,C=0,S=0,w=1,R=1,k=1,G=0,Q="",F=s,N=u,A=i,W=Q;R;)switch(S=G,G=xn()){case 40:if(S!=108&&Qt(W,v-1)==58){dd(W+=We(Ws(G),"&","&\f"),"&\f")!=-1&&(k=-1);break}case 34:case 39:case 91:W+=Ws(G);break;case 9:case 10:case 13:case 32:W+=ow(S);break;case 92:W+=sw(Js()-1,7);continue;case 47:switch(sa()){case 42:case 47:$s(dw(uw(xn(),Js()),a,l),m);break;default:W+="/"}break;case 123*w:h[p++]=la(W)*k;case 125*w:case 59:case 0:switch(G){case 0:case 125:R=0;case 59+y:k==-1&&(W=We(W,/\f/g,"")),C>0&&la(W)-v&&$s(C>32?Tg(W+";",i,l,v-1):Tg(We(W," ","")+";",i,l,v-2),m);break;case 59:W+=";";default:if($s(A=Eg(W,a,l,p,y,s,h,Q,F=[],N=[],v),u),G===123)if(y===0)Is(W,a,A,A,F,u,v,h,N);else switch(E===99&&Qt(W,3)===110?100:E){case 100:case 108:case 109:case 115:Is(t,A,A,i&&$s(Eg(t,A,A,0,0,s,h,Q,s,F=[],v),N),s,N,v,h,i?F:N);break;default:Is(W,A,A,A,[""],N,0,h,N)}}p=y=C=0,w=k=1,Q=W="",v=f;break;case 58:v=1+la(W),C=S;default:if(w<1){if(G==123)--w;else if(G==125&&w++==0&&iw()==125)continue}switch(W+=hu(G),G*w){case 38:k=y>0?1:(W+="\f",-1);break;case 44:h[p++]=(la(W)-1)*k,k=1;break;case 64:sa()===45&&(W+=Ws(xn())),E=sa(),y=v=la(Q=W+=cw(Js())),G++;break;case 45:S===45&&la(W)==2&&(w=0)}}return u}function Eg(t,a,l,i,s,u,f,h,m,p,y){for(var v=s-1,E=s===0?u:[""],C=Yd(E),S=0,w=0,R=0;S<i;++S)for(var k=0,G=lo(t,v+1,v=ew(w=f[S])),Q=t;k<C;++k)(Q=tv(w>0?E[k]+" "+G:We(G,/&\f/g,E[k])))&&(m[R++]=Q);return pu(t,a,l,s===0?Gd:h,m,p,y)}function dw(t,a,l){return pu(t,a,l,I0,hu(lw()),lo(t,2,-2),0)}function Tg(t,a,l,i){return pu(t,a,l,Qd,lo(t,0,i),lo(t,i+1,-1),i)}function Hl(t,a){for(var l="",i=Yd(t),s=0;s<i;s++)l+=a(t[s],s,t,a)||"";return l}function hw(t,a,l,i){switch(t.type){case IT:if(t.children.length)break;case WT:case Qd:return t.return=t.return||t.value;case I0:return"";case ev:return t.return=t.value+"{"+Hl(t.children,i)+"}";case Gd:t.value=t.props.join(",")}return la(l=Hl(t.children,i))?t.return=t.value+"{"+l+"}":""}function mw(t){var a=Yd(t);return function(l,i,s,u){for(var f="",h=0;h<a;h++)f+=t[h](l,i,s,u)||"";return f}}function pw(t){return function(a){a.root||(a=a.return)&&t(a)}}function lv(t){var a=Object.create(null);return function(l){return a[l]===void 0&&(a[l]=t(l)),a[l]}}var yw=function(a,l,i){for(var s=0,u=0;s=u,u=sa(),s===38&&u===12&&(l[i]=1),!io(u);)xn();return mo(a,dn)},gw=function(a,l){var i=-1,s=44;do switch(io(s)){case 0:s===38&&sa()===12&&(l[i]=1),a[i]+=yw(dn-1,l,i);break;case 2:a[i]+=Ws(s);break;case 4:if(s===44){a[++i]=sa()===58?"&\f":"",l[i]=a[i].length;break}default:a[i]+=hu(s)}while(s=xn());return a},vw=function(a,l){return rv(gw(av(a),l))},wg=new WeakMap,bw=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var l=a.value,i=a.parent,s=a.column===i.column&&a.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(a.props.length===1&&l.charCodeAt(0)!==58&&!wg.get(i))&&!s){wg.set(a,!0);for(var u=[],f=vw(l,u),h=i.props,m=0,p=0;m<f.length;m++)for(var y=0;y<h.length;y++,p++)a.props[p]=u[m]?f[m].replace(/&\f/g,h[y]):h[y]+" "+f[m]}}},Sw=function(a){if(a.type==="decl"){var l=a.value;l.charCodeAt(0)===108&&l.charCodeAt(2)===98&&(a.return="",a.value="")}};function iv(t,a){switch(nw(t,a)){case 5103:return Je+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Je+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Je+t+ou+t+Ft+t+t;case 6828:case 4268:return Je+t+Ft+t+t;case 6165:return Je+t+Ft+"flex-"+t+t;case 5187:return Je+t+We(t,/(\w+).+(:[^]+)/,Je+"box-$1$2"+Ft+"flex-$1$2")+t;case 5443:return Je+t+Ft+"flex-item-"+We(t,/flex-|-self/,"")+t;case 4675:return Je+t+Ft+"flex-line-pack"+We(t,/align-content|flex-|-self/,"")+t;case 5548:return Je+t+Ft+We(t,"shrink","negative")+t;case 5292:return Je+t+Ft+We(t,"basis","preferred-size")+t;case 6060:return Je+"box-"+We(t,"-grow","")+Je+t+Ft+We(t,"grow","positive")+t;case 4554:return Je+We(t,/([^-])(transform)/g,"$1"+Je+"$2")+t;case 6187:return We(We(We(t,/(zoom-|grab)/,Je+"$1"),/(image-set)/,Je+"$1"),t,"")+t;case 5495:case 3959:return We(t,/(image-set\([^]*)/,Je+"$1$`$1");case 4968:return We(We(t,/(.+:)(flex-)?(.*)/,Je+"box-pack:$3"+Ft+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Je+t+t;case 4095:case 3583:case 4068:case 2532:return We(t,/(.+)-inline(.+)/,Je+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(la(t)-1-a>6)switch(Qt(t,a+1)){case 109:if(Qt(t,a+4)!==45)break;case 102:return We(t,/(.+:)(.+)-([^]+)/,"$1"+Je+"$2-$3$1"+ou+(Qt(t,a+3)==108?"$3":"$2-$3"))+t;case 115:return~dd(t,"stretch")?iv(We(t,"stretch","fill-available"),a)+t:t}break;case 4949:if(Qt(t,a+1)!==115)break;case 6444:switch(Qt(t,la(t)-3-(~dd(t,"!important")&&10))){case 107:return We(t,":",":"+Je)+t;case 101:return We(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Je+(Qt(t,14)===45?"inline-":"")+"box$3$1"+Je+"$2$3$1"+Ft+"$2box$3")+t}break;case 5936:switch(Qt(t,a+11)){case 114:return Je+t+Ft+We(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Je+t+Ft+We(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Je+t+Ft+We(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Je+t+Ft+t+t}return t}var Ew=function(a,l,i,s){if(a.length>-1&&!a.return)switch(a.type){case Qd:a.return=iv(a.value,a.length);break;case ev:return Hl([Ki(a,{value:We(a.value,"@","@"+Je)})],s);case Gd:if(a.length)return rw(a.props,function(u){switch(aw(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Hl([Ki(a,{props:[We(u,/:(read-\w+)/,":"+ou+"$1")]})],s);case"::placeholder":return Hl([Ki(a,{props:[We(u,/:(plac\w+)/,":"+Je+"input-$1")]}),Ki(a,{props:[We(u,/:(plac\w+)/,":"+ou+"$1")]}),Ki(a,{props:[We(u,/:(plac\w+)/,Ft+"input-$1")]})],s)}return""})}},Tw=[Ew],ww=function(a){var l=a.key;if(l==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(w){var R=w.getAttribute("data-emotion");R.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var s=a.stylisPlugins||Tw,u={},f,h=[];f=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+l+' "]'),function(w){for(var R=w.getAttribute("data-emotion").split(" "),k=1;k<R.length;k++)u[R[k]]=!0;h.push(w)});var m,p=[bw,Sw];{var y,v=[hw,pw(function(w){y.insert(w)})],E=mw(p.concat(s,v)),C=function(R){return Hl(fw(R),E)};m=function(R,k,G,Q){y=G,C(R?R+"{"+k.styles+"}":k.styles),Q&&(S.inserted[k.name]=!0)}}var S={key:l,sheet:new JT({key:l,container:f,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:u,registered:{},insert:m};return S.sheet.hydrate(h),S},Xf={exports:{}},Ie={};/** @license React v16.13.1
63
+ * react-is.production.min.js
64
+ *
65
+ * Copyright (c) Facebook, Inc. and its affiliates.
66
+ *
67
+ * This source code is licensed under the MIT license found in the
68
+ * LICENSE file in the root directory of this source tree.
69
+ */var Cg;function Cw(){if(Cg)return Ie;Cg=1;var t=typeof Symbol=="function"&&Symbol.for,a=t?Symbol.for("react.element"):60103,l=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,u=t?Symbol.for("react.profiler"):60114,f=t?Symbol.for("react.provider"):60109,h=t?Symbol.for("react.context"):60110,m=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,v=t?Symbol.for("react.suspense"):60113,E=t?Symbol.for("react.suspense_list"):60120,C=t?Symbol.for("react.memo"):60115,S=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,R=t?Symbol.for("react.fundamental"):60117,k=t?Symbol.for("react.responder"):60118,G=t?Symbol.for("react.scope"):60119;function Q(N){if(typeof N=="object"&&N!==null){var A=N.$$typeof;switch(A){case a:switch(N=N.type,N){case m:case p:case i:case u:case s:case v:return N;default:switch(N=N&&N.$$typeof,N){case h:case y:case S:case C:case f:return N;default:return A}}case l:return A}}}function F(N){return Q(N)===p}return Ie.AsyncMode=m,Ie.ConcurrentMode=p,Ie.ContextConsumer=h,Ie.ContextProvider=f,Ie.Element=a,Ie.ForwardRef=y,Ie.Fragment=i,Ie.Lazy=S,Ie.Memo=C,Ie.Portal=l,Ie.Profiler=u,Ie.StrictMode=s,Ie.Suspense=v,Ie.isAsyncMode=function(N){return F(N)||Q(N)===m},Ie.isConcurrentMode=F,Ie.isContextConsumer=function(N){return Q(N)===h},Ie.isContextProvider=function(N){return Q(N)===f},Ie.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===a},Ie.isForwardRef=function(N){return Q(N)===y},Ie.isFragment=function(N){return Q(N)===i},Ie.isLazy=function(N){return Q(N)===S},Ie.isMemo=function(N){return Q(N)===C},Ie.isPortal=function(N){return Q(N)===l},Ie.isProfiler=function(N){return Q(N)===u},Ie.isStrictMode=function(N){return Q(N)===s},Ie.isSuspense=function(N){return Q(N)===v},Ie.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===i||N===p||N===u||N===s||N===v||N===E||typeof N=="object"&&N!==null&&(N.$$typeof===S||N.$$typeof===C||N.$$typeof===f||N.$$typeof===h||N.$$typeof===y||N.$$typeof===R||N.$$typeof===k||N.$$typeof===G||N.$$typeof===w)},Ie.typeOf=Q,Ie}var Rg;function Rw(){return Rg||(Rg=1,Xf.exports=Cw()),Xf.exports}var Ff,xg;function xw(){if(xg)return Ff;xg=1;var t=Rw(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=i,u[t.Memo]=s;function f(S){return t.isMemo(S)?s:u[S.$$typeof]||a}var h=Object.defineProperty,m=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,v=Object.getPrototypeOf,E=Object.prototype;function C(S,w,R){if(typeof w!="string"){if(E){var k=v(w);k&&k!==E&&C(S,k,R)}var G=m(w);p&&(G=G.concat(p(w)));for(var Q=f(S),F=f(w),N=0;N<G.length;++N){var A=G[N];if(!l[A]&&!(R&&R[A])&&!(F&&F[A])&&!(Q&&Q[A])){var W=y(w,A);try{h(S,A,W)}catch{}}}}return S}return Ff=C,Ff}xw();var Aw=!0;function ov(t,a,l){var i="";return l.split(" ").forEach(function(s){t[s]!==void 0?a.push(t[s]+";"):s&&(i+=s+" ")}),i}var Vd=function(a,l,i){var s=a.key+"-"+l.name;(i===!1||Aw===!1)&&a.registered[s]===void 0&&(a.registered[s]=l.styles)},Kd=function(a,l,i){Vd(a,l,i);var s=a.key+"-"+l.name;if(a.inserted[l.name]===void 0){var u=l;do a.insert(l===u?"."+s:"",u,a.sheet,!0),u=u.next;while(u!==void 0)}};function Ow(t){for(var a=0,l,i=0,s=t.length;s>=4;++i,s-=4)l=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,a=(l&65535)*1540483477+((l>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(s){case 3:a^=(t.charCodeAt(i+2)&255)<<16;case 2:a^=(t.charCodeAt(i+1)&255)<<8;case 1:a^=t.charCodeAt(i)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var Mw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dw=/[A-Z]|^ms/g,_w=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sv=function(a){return a.charCodeAt(1)===45},Ag=function(a){return a!=null&&typeof a!="boolean"},Zf=lv(function(t){return sv(t)?t:t.replace(Dw,"-$&").toLowerCase()}),Og=function(a,l){switch(a){case"animation":case"animationName":if(typeof l=="string")return l.replace(_w,function(i,s,u){return ia={name:s,styles:u,next:ia},s})}return Mw[a]!==1&&!sv(a)&&typeof l=="number"&&l!==0?l+"px":l};function oo(t,a,l){if(l==null)return"";var i=l;if(i.__emotion_styles!==void 0)return i;switch(typeof l){case"boolean":return"";case"object":{var s=l;if(s.anim===1)return ia={name:s.name,styles:s.styles,next:ia},s.name;var u=l;if(u.styles!==void 0){var f=u.next;if(f!==void 0)for(;f!==void 0;)ia={name:f.name,styles:f.styles,next:ia},f=f.next;var h=u.styles+";";return h}return Nw(t,a,l)}case"function":{if(t!==void 0){var m=ia,p=l(t);return ia=m,oo(t,a,p)}break}}var y=l;if(a==null)return y;var v=a[y];return v!==void 0?v:y}function Nw(t,a,l){var i="";if(Array.isArray(l))for(var s=0;s<l.length;s++)i+=oo(t,a,l[s])+";";else for(var u in l){var f=l[u];if(typeof f!="object"){var h=f;a!=null&&a[h]!==void 0?i+=u+"{"+a[h]+"}":Ag(h)&&(i+=Zf(u)+":"+Og(u,h)+";")}else if(Array.isArray(f)&&typeof f[0]=="string"&&(a==null||a[f[0]]===void 0))for(var m=0;m<f.length;m++)Ag(f[m])&&(i+=Zf(u)+":"+Og(u,f[m])+";");else{var p=oo(t,a,f);switch(u){case"animation":case"animationName":{i+=Zf(u)+":"+p+";";break}default:i+=u+"{"+p+"}"}}}return i}var Mg=/label:\s*([^\s;{]+)\s*(;|$)/g,ia;function po(t,a,l){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";ia=void 0;var u=t[0];if(u==null||u.raw===void 0)i=!1,s+=oo(l,a,u);else{var f=u;s+=f[0]}for(var h=1;h<t.length;h++)if(s+=oo(l,a,t[h]),i){var m=u;s+=m[h]}Mg.lastIndex=0;for(var p="",y;(y=Mg.exec(s))!==null;)p+="-"+y[1];var v=Ow(s)+p;return{name:v,styles:s,next:ia}}var Uw=function(a){return a()},uv=id.useInsertionEffect?id.useInsertionEffect:!1,cv=uv||Uw,Dg=uv||D.useLayoutEffect,fv=D.createContext(typeof HTMLElement<"u"?ww({key:"css"}):null);fv.Provider;var Xd=function(a){return D.forwardRef(function(l,i){var s=D.useContext(fv);return a(l,s,i)})},yo=D.createContext({}),Fd={}.hasOwnProperty,md="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jw=function(a,l){var i={};for(var s in l)Fd.call(l,s)&&(i[s]=l[s]);return i[md]=a,i},zw=function(a){var l=a.cache,i=a.serialized,s=a.isStringTag;return Vd(l,i,s),cv(function(){return Kd(l,i,s)}),null},Lw=Xd(function(t,a,l){var i=t.css;typeof i=="string"&&a.registered[i]!==void 0&&(i=a.registered[i]);var s=t[md],u=[i],f="";typeof t.className=="string"?f=ov(a.registered,u,t.className):t.className!=null&&(f=t.className+" ");var h=po(u,void 0,D.useContext(yo));f+=a.key+"-"+h.name;var m={};for(var p in t)Fd.call(t,p)&&p!=="css"&&p!==md&&(m[p]=t[p]);return m.className=f,l&&(m.ref=l),D.createElement(D.Fragment,null,D.createElement(zw,{cache:a,serialized:h,isStringTag:typeof s=="string"}),D.createElement(s,m))}),kw=Lw,_g=function(a,l){var i=arguments;if(l==null||!Fd.call(l,"css"))return D.createElement.apply(void 0,i);var s=i.length,u=new Array(s);u[0]=kw,u[1]=jw(a,l);for(var f=2;f<s;f++)u[f]=i[f];return D.createElement.apply(null,u)};(function(t){var a;a||(a=t.JSX||(t.JSX={}))})(_g||(_g={}));var Bw=Xd(function(t,a){var l=t.styles,i=po([l],void 0,D.useContext(yo)),s=D.useRef();return Dg(function(){var u=a.key+"-global",f=new a.sheet.constructor({key:u,nonce:a.sheet.nonce,container:a.sheet.container,speedy:a.sheet.isSpeedy}),h=!1,m=document.querySelector('style[data-emotion="'+u+" "+i.name+'"]');return a.sheet.tags.length&&(f.before=a.sheet.tags[0]),m!==null&&(h=!0,m.setAttribute("data-emotion",u),f.hydrate([m])),s.current=[f,h],function(){f.flush()}},[a]),Dg(function(){var u=s.current,f=u[0],h=u[1];if(h){u[1]=!1;return}if(i.next!==void 0&&Kd(a,i.next,!0),f.tags.length){var m=f.tags[f.tags.length-1].nextElementSibling;f.before=m,f.flush()}a.insert("",i,f,!1)},[a,i.name]),null});function Hw(){for(var t=arguments.length,a=new Array(t),l=0;l<t;l++)a[l]=arguments[l];return po(a)}function oO(){var t=Hw.apply(void 0,arguments),a="animation-"+t.name;return{name:a,styles:"@keyframes "+a+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var qw=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Pw=lv(function(t){return qw.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),$w=Pw,Gw=function(a){return a!=="theme"},Ng=function(a){return typeof a=="string"&&a.charCodeAt(0)>96?$w:Gw},Ug=function(a,l,i){var s;if(l){var u=l.shouldForwardProp;s=a.__emotion_forwardProp&&u?function(f){return a.__emotion_forwardProp(f)&&u(f)}:u}return typeof s!="function"&&i&&(s=a.__emotion_forwardProp),s},Qw=function(a){var l=a.cache,i=a.serialized,s=a.isStringTag;return Vd(l,i,s),cv(function(){return Kd(l,i,s)}),null},Yw=function t(a,l){var i=a.__emotion_real===a,s=i&&a.__emotion_base||a,u,f;l!==void 0&&(u=l.label,f=l.target);var h=Ug(a,l,i),m=h||Ng(s),p=!m("as");return function(){var y=arguments,v=i&&a.__emotion_styles!==void 0?a.__emotion_styles.slice(0):[];if(u!==void 0&&v.push("label:"+u+";"),y[0]==null||y[0].raw===void 0)v.push.apply(v,y);else{var E=y[0];v.push(E[0]);for(var C=y.length,S=1;S<C;S++)v.push(y[S],E[S])}var w=Xd(function(R,k,G){var Q=p&&R.as||s,F="",N=[],A=R;if(R.theme==null){A={};for(var W in R)A[W]=R[W];A.theme=D.useContext(yo)}typeof R.className=="string"?F=ov(k.registered,N,R.className):R.className!=null&&(F=R.className+" ");var le=po(v.concat(N),k.registered,A);F+=k.key+"-"+le.name,f!==void 0&&(F+=" "+f);var ae=p&&h===void 0?Ng(Q):m,se={};for(var ue in R)p&&ue==="as"||ae(ue)&&(se[ue]=R[ue]);return se.className=F,G&&(se.ref=G),D.createElement(D.Fragment,null,D.createElement(Qw,{cache:k,serialized:le,isStringTag:typeof Q=="string"}),D.createElement(Q,se))});return w.displayName=u!==void 0?u:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",w.defaultProps=a.defaultProps,w.__emotion_real=w,w.__emotion_base=s,w.__emotion_styles=v,w.__emotion_forwardProp=h,Object.defineProperty(w,"toString",{value:function(){return"."+f}}),w.withComponent=function(R,k){var G=t(R,fd({},l,k,{shouldForwardProp:Ug(w,k,!0)}));return G.apply(void 0,v)},w}},Vw=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],pd=Yw.bind(null);Vw.forEach(function(t){pd[t]=pd(t)});function Kw(t){return t==null||Object.keys(t).length===0}function dv(t){const{styles:a,defaultTheme:l={}}=t,i=typeof a=="function"?s=>a(Kw(s)?l:s):a;return ze.jsx(Bw,{styles:i})}function sO(t,a){return pd(t,a)}function uO(t,a){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=a(t.__emotion_styles))}const jg=[];function Xw(t){return jg[0]=t,po(jg)}var Jf={exports:{}},ct={};/**
70
+ * @license React
71
+ * react-is.production.js
72
+ *
73
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
74
+ *
75
+ * This source code is licensed under the MIT license found in the
76
+ * LICENSE file in the root directory of this source tree.
77
+ */var zg;function Fw(){if(zg)return ct;zg=1;var t=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),E=Symbol.for("react.view_transition"),C=Symbol.for("react.client.reference");function S(w){if(typeof w=="object"&&w!==null){var R=w.$$typeof;switch(R){case t:switch(w=w.type,w){case l:case s:case i:case m:case p:case E:return w;default:switch(w=w&&w.$$typeof,w){case f:case h:case v:case y:return w;case u:return w;default:return R}}case a:return R}}}return ct.ContextConsumer=u,ct.ContextProvider=f,ct.Element=t,ct.ForwardRef=h,ct.Fragment=l,ct.Lazy=v,ct.Memo=y,ct.Portal=a,ct.Profiler=s,ct.StrictMode=i,ct.Suspense=m,ct.SuspenseList=p,ct.isContextConsumer=function(w){return S(w)===u},ct.isContextProvider=function(w){return S(w)===f},ct.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},ct.isForwardRef=function(w){return S(w)===h},ct.isFragment=function(w){return S(w)===l},ct.isLazy=function(w){return S(w)===v},ct.isMemo=function(w){return S(w)===y},ct.isPortal=function(w){return S(w)===a},ct.isProfiler=function(w){return S(w)===s},ct.isStrictMode=function(w){return S(w)===i},ct.isSuspense=function(w){return S(w)===m},ct.isSuspenseList=function(w){return S(w)===p},ct.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===l||w===s||w===i||w===m||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===v||w.$$typeof===y||w.$$typeof===f||w.$$typeof===u||w.$$typeof===h||w.$$typeof===C||w.getModuleId!==void 0)},ct.typeOf=S,ct}var Lg;function Zw(){return Lg||(Lg=1,Jf.exports=Fw()),Jf.exports}var hv=Zw();function Na(t){if(typeof t!="object"||t===null)return!1;const a=Object.getPrototypeOf(t);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function mv(t){if(D.isValidElement(t)||hv.isValidElementType(t)||!Na(t))return t;const a={};return Object.keys(t).forEach(l=>{a[l]=mv(t[l])}),a}function un(t,a,l={clone:!0}){const i=l.clone?{...t}:t;return Na(t)&&Na(a)&&Object.keys(a).forEach(s=>{D.isValidElement(a[s])||hv.isValidElementType(a[s])?i[s]=a[s]:Na(a[s])&&Object.prototype.hasOwnProperty.call(t,s)&&Na(t[s])?i[s]=un(t[s],a[s],l):l.clone?i[s]=Na(a[s])?mv(a[s]):a[s]:i[s]=a[s]}),i}const Jw=t=>{const a=Object.keys(t).map(l=>({key:l,val:t[l]}))||[];return a.sort((l,i)=>l.val-i.val),a.reduce((l,i)=>({...l,[i.key]:i.val}),{})};function Ww(t){const{values:a={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:l="px",step:i=5,...s}=t,u=Jw(a),f=Object.keys(u);function h(E){return`@media (min-width:${typeof a[E]=="number"?a[E]:E}${l})`}function m(E){return`@media (max-width:${(typeof a[E]=="number"?a[E]:E)-i/100}${l})`}function p(E,C){const S=f.indexOf(C);return`@media (min-width:${typeof a[E]=="number"?a[E]:E}${l}) and (max-width:${(S!==-1&&typeof a[f[S]]=="number"?a[f[S]]:C)-i/100}${l})`}function y(E){return f.indexOf(E)+1<f.length?p(E,f[f.indexOf(E)+1]):h(E)}function v(E){const C=f.indexOf(E);return C===0?h(f[1]):C===f.length-1?m(f[C]):p(E,f[f.indexOf(E)+1]).replace("@media","@media not all and")}return{keys:f,values:u,up:h,down:m,between:p,only:y,not:v,unit:l,...s}}function kg(t,a){if(!t.containerQueries)return a;const l=Object.keys(a).filter(i=>i.startsWith("@container")).sort((i,s)=>{const u=/min-width:\s*([0-9.]+)/;return+(i.match(u)?.[1]||0)-+(s.match(u)?.[1]||0)});return l.length?l.reduce((i,s)=>{const u=a[s];return delete i[s],i[s]=u,i},{...a}):a}function Iw(t,a){return a==="@"||a.startsWith("@")&&(t.some(l=>a.startsWith(`@${l}`))||!!a.match(/^@\d/))}function eC(t,a){const l=a.match(/^@([^/]+)?\/?(.+)?$/);if(!l)return null;const[,i,s]=l,u=Number.isNaN(+i)?i||0:+i;return t.containerQueries(s).up(u)}function tC(t){const a=(u,f)=>u.replace("@media",f?`@container ${f}`:"@container");function l(u,f){u.up=(...h)=>a(t.breakpoints.up(...h),f),u.down=(...h)=>a(t.breakpoints.down(...h),f),u.between=(...h)=>a(t.breakpoints.between(...h),f),u.only=(...h)=>a(t.breakpoints.only(...h),f),u.not=(...h)=>{const m=a(t.breakpoints.not(...h),f);return m.includes("not all and")?m.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):m}}const i={},s=u=>(l(i,u),i);return l(s),{...t,containerQueries:s}}const nC={borderRadius:4};function eo(t,a){return a?un(t,a,{clone:!1}):t}const yu={xs:0,sm:600,md:900,lg:1200,xl:1536},Bg={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${yu[t]}px)`},aC={containerQueries:t=>({up:a=>{let l=typeof a=="number"?a:yu[a]||a;return typeof l=="number"&&(l=`${l}px`),t?`@container ${t} (min-width:${l})`:`@container (min-width:${l})`}})};function ja(t,a,l){const i=t.theme||{};if(Array.isArray(a)){const u=i.breakpoints||Bg;return a.reduce((f,h,m)=>(f[u.up(u.keys[m])]=l(a[m]),f),{})}if(typeof a=="object"){const u=i.breakpoints||Bg;return Object.keys(a).reduce((f,h)=>{if(Iw(u.keys,h)){const m=eC(i.containerQueries?i:aC,h);m&&(f[m]=l(a[h],h))}else if(Object.keys(u.values||yu).includes(h)){const m=u.up(h);f[m]=l(a[h],h)}else{const m=h;f[m]=a[m]}return f},{})}return l(a)}function pv(t={}){return t.keys?.reduce((l,i)=>{const s=t.up(i);return l[s]={},l},{})||{}}function yd(t,a){return t.reduce((l,i)=>{const s=l[i];return(!s||Object.keys(s).length===0)&&delete l[i],l},a)}function cO(t,...a){const l=pv(t),i=[l,...a].reduce((s,u)=>un(s,u),{});return yd(Object.keys(l),i)}function rC(t,a){if(typeof t!="object")return{};const l={},i=Object.keys(a);return Array.isArray(t)?i.forEach((s,u)=>{u<t.length&&(l[s]=!0)}):i.forEach(s=>{t[s]!=null&&(l[s]=!0)}),l}function fO({values:t,breakpoints:a,base:l}){const i=l||rC(t,a),s=Object.keys(i);if(s.length===0)return t;let u;return s.reduce((f,h,m)=>(Array.isArray(t)?(f[h]=t[m]!=null?t[m]:t[u],u=m):typeof t=="object"?(f[h]=t[h]!=null?t[h]:t[u],u=h):f[h]=t,f),{})}function yv(t){if(typeof t!="string")throw new Error(Qr(7));return t.charAt(0).toUpperCase()+t.slice(1)}function gu(t,a,l=!0){if(!a||typeof a!="string")return null;if(t&&t.vars&&l){const i=`vars.${a}`.split(".").reduce((s,u)=>s&&s[u]?s[u]:null,t);if(i!=null)return i}return a.split(".").reduce((i,s)=>i&&i[s]!=null?i[s]:null,t)}function su(t,a,l,i=l){let s;return typeof t=="function"?s=t(l):Array.isArray(t)?s=t[l]||i:s=gu(t,l)||i,a&&(s=a(s,i,t)),s}function Dt(t){const{prop:a,cssProperty:l=t.prop,themeKey:i,transform:s}=t,u=f=>{if(f[a]==null)return null;const h=f[a],m=f.theme,p=gu(m,i)||{};return ja(f,h,v=>{let E=su(p,s,v);return v===E&&typeof v=="string"&&(E=su(p,s,`${a}${v==="default"?"":yv(v)}`,v)),l===!1?E:{[l]:E}})};return u.propTypes={},u.filterProps=[a],u}function lC(t){const a={};return l=>(a[l]===void 0&&(a[l]=t(l)),a[l])}const iC={m:"margin",p:"padding"},oC={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hg={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},sC=lC(t=>{if(t.length>2)if(Hg[t])t=Hg[t];else return[t];const[a,l]=t.split(""),i=iC[a],s=oC[l]||"";return Array.isArray(s)?s.map(u=>i+u):[i+s]}),Zd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Zd,...Jd];function go(t,a,l,i){const s=gu(t,a,!0)??l;return typeof s=="number"||typeof s=="string"?u=>typeof u=="string"?u:typeof s=="string"?s.startsWith("var(")&&u===0?0:s.startsWith("var(")&&u===1?s:`calc(${u} * ${s})`:s*u:Array.isArray(s)?u=>{if(typeof u=="string")return u;const f=Math.abs(u),h=s[f];return u>=0?h:typeof h=="number"?-h:typeof h=="string"&&h.startsWith("var(")?`calc(-1 * ${h})`:`-${h}`}:typeof s=="function"?s:()=>{}}function Wd(t){return go(t,"spacing",8)}function vo(t,a){return typeof a=="string"||a==null?a:t(a)}function uC(t,a){return l=>t.reduce((i,s)=>(i[s]=vo(a,l),i),{})}function cC(t,a,l,i){if(!a.includes(l))return null;const s=sC(l),u=uC(s,i),f=t[l];return ja(t,f,u)}function gv(t,a){const l=Wd(t.theme);return Object.keys(t).map(i=>cC(t,a,i,l)).reduce(eo,{})}function xt(t){return gv(t,Zd)}xt.propTypes={};xt.filterProps=Zd;function At(t){return gv(t,Jd)}At.propTypes={};At.filterProps=Jd;function vv(t=8,a=Wd({spacing:t})){if(t.mui)return t;const l=(...i)=>(i.length===0?[1]:i).map(u=>{const f=a(u);return typeof f=="number"?`${f}px`:f}).join(" ");return l.mui=!0,l}function vu(...t){const a=t.reduce((i,s)=>(s.filterProps.forEach(u=>{i[u]=s}),i),{}),l=i=>Object.keys(i).reduce((s,u)=>a[u]?eo(s,a[u](i)):s,{});return l.propTypes={},l.filterProps=t.reduce((i,s)=>i.concat(s.filterProps),[]),l}function Hn(t){return typeof t!="number"?t:`${t}px solid`}function Pn(t,a){return Dt({prop:t,themeKey:"borders",transform:a})}const fC=Pn("border",Hn),dC=Pn("borderTop",Hn),hC=Pn("borderRight",Hn),mC=Pn("borderBottom",Hn),pC=Pn("borderLeft",Hn),yC=Pn("borderColor"),gC=Pn("borderTopColor"),vC=Pn("borderRightColor"),bC=Pn("borderBottomColor"),SC=Pn("borderLeftColor"),EC=Pn("outline",Hn),TC=Pn("outlineColor"),bu=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const a=go(t.theme,"shape.borderRadius",4),l=i=>({borderRadius:vo(a,i)});return ja(t,t.borderRadius,l)}return null};bu.propTypes={};bu.filterProps=["borderRadius"];vu(fC,dC,hC,mC,pC,yC,gC,vC,bC,SC,bu,EC,TC);const Su=t=>{if(t.gap!==void 0&&t.gap!==null){const a=go(t.theme,"spacing",8),l=i=>({gap:vo(a,i)});return ja(t,t.gap,l)}return null};Su.propTypes={};Su.filterProps=["gap"];const Eu=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const a=go(t.theme,"spacing",8),l=i=>({columnGap:vo(a,i)});return ja(t,t.columnGap,l)}return null};Eu.propTypes={};Eu.filterProps=["columnGap"];const Tu=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const a=go(t.theme,"spacing",8),l=i=>({rowGap:vo(a,i)});return ja(t,t.rowGap,l)}return null};Tu.propTypes={};Tu.filterProps=["rowGap"];const wC=Dt({prop:"gridColumn"}),CC=Dt({prop:"gridRow"}),RC=Dt({prop:"gridAutoFlow"}),xC=Dt({prop:"gridAutoColumns"}),AC=Dt({prop:"gridAutoRows"}),OC=Dt({prop:"gridTemplateColumns"}),MC=Dt({prop:"gridTemplateRows"}),DC=Dt({prop:"gridTemplateAreas"}),_C=Dt({prop:"gridArea"});vu(Su,Eu,Tu,wC,CC,RC,xC,AC,OC,MC,DC,_C);function ql(t,a){return a==="grey"?a:t}const NC=Dt({prop:"color",themeKey:"palette",transform:ql}),UC=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ql}),jC=Dt({prop:"backgroundColor",themeKey:"palette",transform:ql});vu(NC,UC,jC);function Rn(t){return t<=1&&t!==0?`${t*100}%`:t}const zC=Dt({prop:"width",transform:Rn}),Id=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const a=l=>{const i=t.theme?.breakpoints?.values?.[l]||yu[l];return i?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${i}${t.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Rn(l)}};return ja(t,t.maxWidth,a)}return null};Id.filterProps=["maxWidth"];const LC=Dt({prop:"minWidth",transform:Rn}),kC=Dt({prop:"height",transform:Rn}),BC=Dt({prop:"maxHeight",transform:Rn}),HC=Dt({prop:"minHeight",transform:Rn});Dt({prop:"size",cssProperty:"width",transform:Rn});Dt({prop:"size",cssProperty:"height",transform:Rn});const qC=Dt({prop:"boxSizing"});vu(zC,Id,LC,kC,BC,HC,qC);const bo={border:{themeKey:"borders",transform:Hn},borderTop:{themeKey:"borders",transform:Hn},borderRight:{themeKey:"borders",transform:Hn},borderBottom:{themeKey:"borders",transform:Hn},borderLeft:{themeKey:"borders",transform:Hn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Hn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bu},color:{themeKey:"palette",transform:ql},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ql},backgroundColor:{themeKey:"palette",transform:ql},p:{style:At},pt:{style:At},pr:{style:At},pb:{style:At},pl:{style:At},px:{style:At},py:{style:At},padding:{style:At},paddingTop:{style:At},paddingRight:{style:At},paddingBottom:{style:At},paddingLeft:{style:At},paddingX:{style:At},paddingY:{style:At},paddingInline:{style:At},paddingInlineStart:{style:At},paddingInlineEnd:{style:At},paddingBlock:{style:At},paddingBlockStart:{style:At},paddingBlockEnd:{style:At},m:{style:xt},mt:{style:xt},mr:{style:xt},mb:{style:xt},ml:{style:xt},mx:{style:xt},my:{style:xt},margin:{style:xt},marginTop:{style:xt},marginRight:{style:xt},marginBottom:{style:xt},marginLeft:{style:xt},marginX:{style:xt},marginY:{style:xt},marginInline:{style:xt},marginInlineStart:{style:xt},marginInlineEnd:{style:xt},marginBlock:{style:xt},marginBlockStart:{style:xt},marginBlockEnd:{style:xt},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Su},rowGap:{style:Tu},columnGap:{style:Eu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Rn},maxWidth:{style:Id},minWidth:{transform:Rn},height:{transform:Rn},maxHeight:{transform:Rn},minHeight:{transform:Rn},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function PC(...t){const a=t.reduce((i,s)=>i.concat(Object.keys(s)),[]),l=new Set(a);return t.every(i=>l.size===Object.keys(i).length)}function $C(t,a){return typeof t=="function"?t(a):t}function GC(){function t(l,i,s,u){const f={[l]:i,theme:s},h=u[l];if(!h)return{[l]:i};const{cssProperty:m=l,themeKey:p,transform:y,style:v}=h;if(i==null)return null;if(p==="typography"&&i==="inherit")return{[l]:i};const E=gu(s,p)||{};return v?v(f):ja(f,i,S=>{let w=su(E,y,S);return S===w&&typeof S=="string"&&(w=su(E,y,`${l}${S==="default"?"":yv(S)}`,S)),m===!1?w:{[m]:w}})}function a(l){const{sx:i,theme:s={},nested:u}=l||{};if(!i)return null;const f=s.unstable_sxConfig??bo;function h(m){let p=m;if(typeof m=="function")p=m(s);else if(typeof m!="object")return m;if(!p)return null;const y=pv(s.breakpoints),v=Object.keys(y);let E=y;return Object.keys(p).forEach(C=>{const S=$C(p[C],s);if(S!=null)if(typeof S=="object")if(f[C])E=eo(E,t(C,S,s,f));else{const w=ja({theme:s},S,R=>({[C]:R}));PC(w,S)?E[C]=a({sx:S,theme:s,nested:!0}):E=eo(E,w)}else E=eo(E,t(C,S,s,f))}),!u&&s.modularCssLayers?{"@layer sx":kg(s,yd(v,E))}:kg(s,yd(v,E))}return Array.isArray(i)?i.map(h):h(i)}return a}const So=GC();So.filterProps=["sx"];function QC(t,a){const l=this;if(l.vars){if(!l.colorSchemes?.[t]||typeof l.getColorSchemeSelector!="function")return{};let i=l.getColorSchemeSelector(t);return i==="&"?a:((i.includes("data-")||i.includes("."))&&(i=`*:where(${i.replace(/\s*&$/,"")}) &`),{[i]:a})}return l.palette.mode===t?a:{}}function bv(t={},...a){const{breakpoints:l={},palette:i={},spacing:s,shape:u={},...f}=t,h=Ww(l),m=vv(s);let p=un({breakpoints:h,direction:"ltr",components:{},palette:{mode:"light",...i},spacing:m,shape:{...nC,...u}},f);return p=tC(p),p.applyStyles=QC,p=a.reduce((y,v)=>un(y,v),p),p.unstable_sxConfig={...bo,...f?.unstable_sxConfig},p.unstable_sx=function(v){return So({sx:v,theme:this})},p}function YC(t){return Object.keys(t).length===0}function eh(t=null){const a=D.useContext(yo);return!a||YC(a)?t:a}const VC=bv();function KC(t=VC){return eh(t)}function Wf(t){const a=Xw(t);return t!==a&&a.styles?(a.styles.match(/^@layer\s+[^{]*$/)||(a.styles=`@layer global{${a.styles}}`),a):t}function Sv({styles:t,themeId:a,defaultTheme:l={}}){const i=KC(l),s=a&&i[a]||i;let u=typeof t=="function"?t(s):t;return s.modularCssLayers&&(Array.isArray(u)?u=u.map(f=>Wf(typeof f=="function"?f(s):f)):u=Wf(u)),ze.jsx(dv,{styles:u})}const XC=t=>{const a={systemProps:{},otherProps:{}},l=t?.theme?.unstable_sxConfig??bo;return Object.keys(t).forEach(i=>{l[i]?a.systemProps[i]=t[i]:a.otherProps[i]=t[i]}),a};function FC(t){const{sx:a,...l}=t,{systemProps:i,otherProps:s}=XC(l);let u;return Array.isArray(a)?u=[i,...a]:typeof a=="function"?u=(...f)=>{const h=a(...f);return Na(h)?{...i,...h}:i}:u={...i,...a},{...s,sx:u}}function Ev(t){var a,l,i="";if(typeof t=="string"||typeof t=="number")i+=t;else if(typeof t=="object")if(Array.isArray(t)){var s=t.length;for(a=0;a<s;a++)t[a]&&(l=Ev(t[a]))&&(i&&(i+=" "),i+=l)}else for(l in t)t[l]&&(i&&(i+=" "),i+=l);return i}function ZC(){for(var t,a,l=0,i="",s=arguments.length;l<s;l++)(t=arguments[l])&&(a=Ev(t))&&(i&&(i+=" "),i+=a);return i}function gd(t,a,l=!1){const i={...a};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){const u=s;if(u==="components"||u==="slots")i[u]={...t[u],...i[u]};else if(u==="componentsProps"||u==="slotProps"){const f=t[u],h=a[u];if(!h)i[u]=f||{};else if(!f)i[u]=h;else{i[u]={...h};for(const m in f)if(Object.prototype.hasOwnProperty.call(f,m)){const p=m;i[u][p]=gd(f[p],h[p],l)}}}else u==="className"&&l&&a.className?i.className=ZC(t?.className,a?.className):u==="style"&&l&&a.style?i.style={...t?.style,...a?.style}:i[u]===void 0&&(i[u]=t[u])}return i}const Tv=typeof window<"u"?D.useLayoutEffect:D.useEffect;function JC(t,a=Number.MIN_SAFE_INTEGER,l=Number.MAX_SAFE_INTEGER){return Math.max(a,Math.min(t,l))}function th(t,a=0,l=1){return JC(t,a,l)}function WC(t){t=t.slice(1);const a=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let l=t.match(a);return l&&l[0].length===1&&(l=l.map(i=>i+i)),l?`rgb${l.length===4?"a":""}(${l.map((i,s)=>s<3?parseInt(i,16):Math.round(parseInt(i,16)/255*1e3)/1e3).join(", ")})`:""}function dr(t){if(t.type)return t;if(t.charAt(0)==="#")return dr(WC(t));const a=t.indexOf("("),l=t.substring(0,a);if(!["rgb","rgba","hsl","hsla","color"].includes(l))throw new Error(Qr(9,t));let i=t.substring(a+1,t.length-1),s;if(l==="color"){if(i=i.split(" "),s=i.shift(),i.length===4&&i[3].charAt(0)==="/"&&(i[3]=i[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(Qr(10,s))}else i=i.split(",");return i=i.map(u=>parseFloat(u)),{type:l,values:i,colorSpace:s}}const IC=t=>{const a=dr(t);return a.values.slice(0,3).map((l,i)=>a.type.includes("hsl")&&i!==0?`${l}%`:l).join(" ")},Wi=(t,a)=>{try{return IC(t)}catch{return t}};function wu(t){const{type:a,colorSpace:l}=t;let{values:i}=t;return a.includes("rgb")?i=i.map((s,u)=>u<3?parseInt(s,10):s):a.includes("hsl")&&(i[1]=`${i[1]}%`,i[2]=`${i[2]}%`),a.includes("color")?i=`${l} ${i.join(" ")}`:i=`${i.join(", ")}`,`${a}(${i})`}function wv(t){t=dr(t);const{values:a}=t,l=a[0],i=a[1]/100,s=a[2]/100,u=i*Math.min(s,1-s),f=(p,y=(p+l/30)%12)=>s-u*Math.max(Math.min(y-3,9-y,1),-1);let h="rgb";const m=[Math.round(f(0)*255),Math.round(f(8)*255),Math.round(f(4)*255)];return t.type==="hsla"&&(h+="a",m.push(a[3])),wu({type:h,values:m})}function vd(t){t=dr(t);let a=t.type==="hsl"||t.type==="hsla"?dr(wv(t)).values:t.values;return a=a.map(l=>(t.type!=="color"&&(l/=255),l<=.03928?l/12.92:((l+.055)/1.055)**2.4)),Number((.2126*a[0]+.7152*a[1]+.0722*a[2]).toFixed(3))}function eR(t,a){const l=vd(t),i=vd(a);return(Math.max(l,i)+.05)/(Math.min(l,i)+.05)}function Cv(t,a){return t=dr(t),a=th(a),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${a}`:t.values[3]=a,wu(t)}function Hr(t,a,l){try{return Cv(t,a)}catch{return t}}function Cu(t,a){if(t=dr(t),a=th(a),t.type.includes("hsl"))t.values[2]*=1-a;else if(t.type.includes("rgb")||t.type.includes("color"))for(let l=0;l<3;l+=1)t.values[l]*=1-a;return wu(t)}function at(t,a,l){try{return Cu(t,a)}catch{return t}}function Ru(t,a){if(t=dr(t),a=th(a),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*a;else if(t.type.includes("rgb"))for(let l=0;l<3;l+=1)t.values[l]+=(255-t.values[l])*a;else if(t.type.includes("color"))for(let l=0;l<3;l+=1)t.values[l]+=(1-t.values[l])*a;return wu(t)}function rt(t,a,l){try{return Ru(t,a)}catch{return t}}function tR(t,a=.15){return vd(t)>.5?Cu(t,a):Ru(t,a)}function Gs(t,a,l){try{return tR(t,a)}catch{return t}}const Rv=D.createContext(null);function nh(){return D.useContext(Rv)}const nR=typeof Symbol=="function"&&Symbol.for,aR=nR?Symbol.for("mui.nested"):"__THEME_NESTED__";function rR(t,a){return typeof a=="function"?a(t):{...t,...a}}function lR(t){const{children:a,theme:l}=t,i=nh(),s=D.useMemo(()=>{const u=i===null?{...l}:rR(i,l);return u!=null&&(u[aR]=i!==null),u},[l,i]);return ze.jsx(Rv.Provider,{value:s,children:a})}const xv=D.createContext();function iR({value:t,...a}){return ze.jsx(xv.Provider,{value:t??!0,...a})}const dO=()=>D.useContext(xv)??!1,Av=D.createContext(void 0);function oR({value:t,children:a}){return ze.jsx(Av.Provider,{value:t,children:a})}function sR(t){const{theme:a,name:l,props:i}=t;if(!a||!a.components||!a.components[l])return i;const s=a.components[l];return s.defaultProps?gd(s.defaultProps,i,a.components.mergeClassNameAndStyle):!s.styleOverrides&&!s.variants?gd(s,i,a.components.mergeClassNameAndStyle):i}function uR({props:t,name:a}){const l=D.useContext(Av);return sR({props:t,name:a,theme:{components:l}})}let qg=0;function cR(t){const[a,l]=D.useState(t),i=t||a;return D.useEffect(()=>{a==null&&(qg+=1,l(`mui-${qg}`))},[a]),i}const fR={...id},Pg=fR.useId;function dR(t){if(Pg!==void 0){const a=Pg();return t??a}return cR(t)}function hR(t){const a=eh(),l=dR()||"",{modularCssLayers:i}=t;let s="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!i||a!==null?s="":typeof i=="string"?s=i.replace(/mui(?!\.)/g,s):s=`@layer ${s};`,Tv(()=>{const u=document.querySelector("head");if(!u)return;const f=u.firstChild;if(s){if(f&&f.hasAttribute?.("data-mui-layer-order")&&f.getAttribute("data-mui-layer-order")===l)return;const h=document.createElement("style");h.setAttribute("data-mui-layer-order",l),h.textContent=s,u.prepend(h)}else u.querySelector(`style[data-mui-layer-order="${l}"]`)?.remove()},[s,l]),s?ze.jsx(Sv,{styles:s}):null}const $g={};function Gg(t,a,l,i=!1){return D.useMemo(()=>{const s=t&&a[t]||a;if(typeof l=="function"){const u=l(s),f=t?{...a,[t]:u}:u;return i?()=>f:f}return t?{...a,[t]:l}:{...a,...l}},[t,a,l,i])}function Ov(t){const{children:a,theme:l,themeId:i}=t,s=eh($g),u=nh()||$g,f=Gg(i,s,l),h=Gg(i,u,l,!0),m=(i?f[i]:f).direction==="rtl",p=hR(f);return ze.jsx(lR,{theme:h,children:ze.jsx(yo.Provider,{value:f,children:ze.jsx(iR,{value:m,children:ze.jsxs(oR,{value:i?f[i].components:f.components,children:[p,a]})})})})}const ah="mode",rh="color-scheme",mR="data-color-scheme";function pR(t){const{defaultMode:a="system",defaultLightColorScheme:l="light",defaultDarkColorScheme:i="dark",modeStorageKey:s=ah,colorSchemeStorageKey:u=rh,attribute:f=mR,colorSchemeNode:h="document.documentElement",nonce:m}=t||{};let p="",y=f;if(f==="class"&&(y=".%s"),f==="data"&&(y="[data-%s]"),y.startsWith(".")){const E=y.substring(1);p+=`${h}.classList.remove('${E}'.replace('%s', light), '${E}'.replace('%s', dark));
78
+ ${h}.classList.add('${E}'.replace('%s', colorScheme));`}const v=y.match(/\[([^[\]]+)\]/);if(v){const[E,C]=v[1].split("=");C||(p+=`${h}.removeAttribute('${E}'.replace('%s', light));
79
+ ${h}.removeAttribute('${E}'.replace('%s', dark));`),p+=`
80
+ ${h}.setAttribute('${E}'.replace('%s', colorScheme), ${C?`${C}.replace('%s', colorScheme)`:'""'});`}else p+=`${h}.setAttribute('${y}', colorScheme);`;return ze.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?m:"",dangerouslySetInnerHTML:{__html:`(function() {
81
+ try {
82
+ let colorScheme = '';
83
+ const mode = localStorage.getItem('${s}') || '${a}';
84
+ const dark = localStorage.getItem('${u}-dark') || '${i}';
85
+ const light = localStorage.getItem('${u}-light') || '${l}';
86
+ if (mode === 'system') {
87
+ // handle system mode
88
+ const mql = window.matchMedia('(prefers-color-scheme: dark)');
89
+ if (mql.matches) {
90
+ colorScheme = dark
91
+ } else {
92
+ colorScheme = light
93
+ }
94
+ }
95
+ if (mode === 'light') {
96
+ colorScheme = light;
97
+ }
98
+ if (mode === 'dark') {
99
+ colorScheme = dark;
100
+ }
101
+ if (colorScheme) {
102
+ ${p}
103
+ }
104
+ } catch(e){}})();`}},"mui-color-scheme-init")}function yR(){}const gR=({key:t,storageWindow:a})=>(!a&&typeof window<"u"&&(a=window),{get(l){if(typeof window>"u")return;if(!a)return l;let i;try{i=a.localStorage.getItem(t)}catch{}return i||l},set:l=>{if(a)try{a.localStorage.setItem(t,l)}catch{}},subscribe:l=>{if(!a)return yR;const i=s=>{const u=s.newValue;s.key===t&&l(u)};return a.addEventListener("storage",i),()=>{a.removeEventListener("storage",i)}}});function If(){}function Qg(t){if(typeof window<"u"&&typeof window.matchMedia=="function"&&t==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Mv(t,a){if(t.mode==="light"||t.mode==="system"&&t.systemMode==="light")return a("light");if(t.mode==="dark"||t.mode==="system"&&t.systemMode==="dark")return a("dark")}function vR(t){return Mv(t,a=>{if(a==="light")return t.lightColorScheme;if(a==="dark")return t.darkColorScheme})}function bR(t){const{defaultMode:a="light",defaultLightColorScheme:l,defaultDarkColorScheme:i,supportedColorSchemes:s=[],modeStorageKey:u=ah,colorSchemeStorageKey:f=rh,storageWindow:h=typeof window>"u"?void 0:window,storageManager:m=gR,noSsr:p=!1}=t,y=s.join(","),v=s.length>1,E=D.useMemo(()=>m?.({key:u,storageWindow:h}),[m,u,h]),C=D.useMemo(()=>m?.({key:`${f}-light`,storageWindow:h}),[m,f,h]),S=D.useMemo(()=>m?.({key:`${f}-dark`,storageWindow:h}),[m,f,h]),[w,R]=D.useState(()=>{const le=E?.get(a)||a,ae=C?.get(l)||l,se=S?.get(i)||i;return{mode:le,systemMode:Qg(le),lightColorScheme:ae,darkColorScheme:se}}),[k,G]=D.useState(p||!v);D.useEffect(()=>{G(!0)},[]);const Q=vR(w),F=D.useCallback(le=>{R(ae=>{if(le===ae.mode)return ae;const se=le??a;return E?.set(se),{...ae,mode:se,systemMode:Qg(se)}})},[E,a]),N=D.useCallback(le=>{le?typeof le=="string"?le&&!y.includes(le)?console.error(`\`${le}\` does not exist in \`theme.colorSchemes\`.`):R(ae=>{const se={...ae};return Mv(ae,ue=>{ue==="light"&&(C?.set(le),se.lightColorScheme=le),ue==="dark"&&(S?.set(le),se.darkColorScheme=le)}),se}):R(ae=>{const se={...ae},ue=le.light===null?l:le.light,T=le.dark===null?i:le.dark;return ue&&(y.includes(ue)?(se.lightColorScheme=ue,C?.set(ue)):console.error(`\`${ue}\` does not exist in \`theme.colorSchemes\`.`)),T&&(y.includes(T)?(se.darkColorScheme=T,S?.set(T)):console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`)),se}):R(ae=>(C?.set(l),S?.set(i),{...ae,lightColorScheme:l,darkColorScheme:i}))},[y,C,S,l,i]),A=D.useCallback(le=>{w.mode==="system"&&R(ae=>{const se=le?.matches?"dark":"light";return ae.systemMode===se?ae:{...ae,systemMode:se}})},[w.mode]),W=D.useRef(A);return W.current=A,D.useEffect(()=>{if(typeof window.matchMedia!="function"||!v)return;const le=(...se)=>W.current(...se),ae=window.matchMedia("(prefers-color-scheme: dark)");return ae.addListener(le),le(ae),()=>{ae.removeListener(le)}},[v]),D.useEffect(()=>{if(v){const le=E?.subscribe(ue=>{(!ue||["light","dark","system"].includes(ue))&&F(ue||a)})||If,ae=C?.subscribe(ue=>{(!ue||y.match(ue))&&N({light:ue})})||If,se=S?.subscribe(ue=>{(!ue||y.match(ue))&&N({dark:ue})})||If;return()=>{le(),ae(),se()}}},[N,F,y,a,h,v,E,C,S]),{...w,mode:k?w.mode:void 0,systemMode:k?w.systemMode:void 0,colorScheme:k?Q:void 0,setMode:F,setColorScheme:N}}const SR="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ER(t){const{themeId:a,theme:l={},modeStorageKey:i=ah,colorSchemeStorageKey:s=rh,disableTransitionOnChange:u=!1,defaultColorScheme:f,resolveTheme:h}=t,m={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},p=D.createContext(void 0),y=()=>D.useContext(p)||m,v={},E={};function C(k){const{children:G,theme:Q,modeStorageKey:F=i,colorSchemeStorageKey:N=s,disableTransitionOnChange:A=u,storageManager:W,storageWindow:le=typeof window>"u"?void 0:window,documentNode:ae=typeof document>"u"?void 0:document,colorSchemeNode:se=typeof document>"u"?void 0:document.documentElement,disableNestedContext:ue=!1,disableStyleSheetGeneration:T=!1,defaultMode:ie="system",forceThemeRerender:I=!1,noSsr:he}=k,U=D.useRef(!1),te=nh(),oe=D.useContext(p),Ae=!!oe&&!ue,O=D.useMemo(()=>Q||(typeof l=="function"?l():l),[Q]),Y=O[a],ee=Y||O,{colorSchemes:ne=v,components:ce=E,cssVarPrefix:Me}=ee,Te=Object.keys(ne).filter(ft=>!!ne[ft]).join(","),Et=D.useMemo(()=>Te.split(","),[Te]),et=typeof f=="string"?f:f.light,hn=typeof f=="string"?f:f.dark,Tt=ne[et]&&ne[hn]?ie:ne[ee.defaultColorScheme]?.palette?.mode||ee.palette?.mode,{mode:mn,setMode:ca,systemMode:La,lightColorScheme:tn,darkColorScheme:Fr,colorScheme:Vl,setColorScheme:Yt}=bR({supportedColorSchemes:Et,defaultLightColorScheme:et,defaultDarkColorScheme:hn,modeStorageKey:F,colorSchemeStorageKey:N,defaultMode:Tt,storageManager:W,storageWindow:le,noSsr:he});let mr=mn,Vt=Vl;Ae&&(mr=oe.mode,Vt=oe.colorScheme);let fa=Vt||ee.defaultColorScheme;ee.vars&&!I&&(fa=ee.defaultColorScheme);const Xn=D.useMemo(()=>{const ft=ee.generateThemeVars?.()||ee.vars,Oe={...ee,components:ce,colorSchemes:ne,cssVarPrefix:Me,vars:ft};if(typeof Oe.generateSpacing=="function"&&(Oe.spacing=Oe.generateSpacing()),fa){const mt=ne[fa];mt&&typeof mt=="object"&&Object.keys(mt).forEach(lt=>{mt[lt]&&typeof mt[lt]=="object"?Oe[lt]={...Oe[lt],...mt[lt]}:Oe[lt]=mt[lt]})}return h?h(Oe):Oe},[ee,fa,ce,ne,Me]),Jt=ee.colorSchemeSelector;Tv(()=>{if(Vt&&se&&Jt&&Jt!=="media"){const ft=Jt;let Oe=Jt;if(ft==="class"&&(Oe=".%s"),ft==="data"&&(Oe="[data-%s]"),ft?.startsWith("data-")&&!ft.includes("%s")&&(Oe=`[${ft}="%s"]`),Oe.startsWith("."))se.classList.remove(...Et.map(mt=>Oe.substring(1).replace("%s",mt))),se.classList.add(Oe.substring(1).replace("%s",Vt));else{const mt=Oe.replace("%s",Vt).match(/\[([^\]]+)\]/);if(mt){const[lt,yr]=mt[1].split("=");yr||Et.forEach(An=>{se.removeAttribute(lt.replace(Vt,An))}),se.setAttribute(lt,yr?yr.replace(/"|'/g,""):"")}else se.setAttribute(Oe,Vt)}}},[Vt,Jt,se,Et]),D.useEffect(()=>{let ft;if(A&&U.current&&ae){const Oe=ae.createElement("style");Oe.appendChild(ae.createTextNode(SR)),ae.head.appendChild(Oe),window.getComputedStyle(ae.body),ft=setTimeout(()=>{ae.head.removeChild(Oe)},1)}return()=>{clearTimeout(ft)}},[Vt,A,ae]),D.useEffect(()=>(U.current=!0,()=>{U.current=!1}),[]);const Fn=D.useMemo(()=>({allColorSchemes:Et,colorScheme:Vt,darkColorScheme:Fr,lightColorScheme:tn,mode:mr,setColorScheme:Yt,setMode:ca,systemMode:La}),[Et,Vt,Fr,tn,mr,Yt,ca,La,Xn.colorSchemeSelector]);let pr=!0;(T||ee.cssVariables===!1||Ae&&te?.cssVarPrefix===Me)&&(pr=!1);const ka=ze.jsxs(D.Fragment,{children:[ze.jsx(Ov,{themeId:Y?a:void 0,theme:Xn,children:G}),pr&&ze.jsx(dv,{styles:Xn.generateStyleSheets?.()||[]})]});return Ae?ka:ze.jsx(p.Provider,{value:Fn,children:ka})}const S=typeof f=="string"?f:f.light,w=typeof f=="string"?f:f.dark;return{CssVarsProvider:C,useColorScheme:y,getInitColorSchemeScript:k=>pR({colorSchemeStorageKey:s,defaultLightColorScheme:S,defaultDarkColorScheme:w,modeStorageKey:i,...k})}}function TR(t=""){function a(...i){if(!i.length)return"";const s=i[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${t?`${t}-`:""}${s}${a(...i.slice(1))})`:`, ${s}`}return(i,...s)=>`var(--${t?`${t}-`:""}${i}${a(...s)})`}const Yg=(t,a,l,i=[])=>{let s=t;a.forEach((u,f)=>{f===a.length-1?Array.isArray(s)?s[Number(u)]=l:s&&typeof s=="object"&&(s[u]=l):s&&typeof s=="object"&&(s[u]||(s[u]=i.includes(u)?[]:{}),s=s[u])})},wR=(t,a,l)=>{function i(s,u=[],f=[]){Object.entries(s).forEach(([h,m])=>{(!l||l&&!l([...u,h]))&&m!=null&&(typeof m=="object"&&Object.keys(m).length>0?i(m,[...u,h],Array.isArray(m)?[...f,h]:f):a([...u,h],m,f))})}i(t)},CR=(t,a)=>typeof a=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(i=>t.includes(i))||t[t.length-1].toLowerCase().includes("opacity")?a:`${a}px`:a;function ed(t,a){const{prefix:l,shouldSkipGeneratingVar:i}=a||{},s={},u={},f={};return wR(t,(h,m,p)=>{if((typeof m=="string"||typeof m=="number")&&(!i||!i(h,m))){const y=`--${l?`${l}-`:""}${h.join("-")}`,v=CR(h,m);Object.assign(s,{[y]:v}),Yg(u,h,`var(${y})`,p),Yg(f,h,`var(${y}, ${v})`,p)}},h=>h[0]==="vars"),{css:s,vars:u,varsWithDefaults:f}}function RR(t,a={}){const{getSelector:l=k,disableCssColorScheme:i,colorSchemeSelector:s,enableContrastVars:u}=a,{colorSchemes:f={},components:h,defaultColorScheme:m="light",...p}=t,{vars:y,css:v,varsWithDefaults:E}=ed(p,a);let C=E;const S={},{[m]:w,...R}=f;if(Object.entries(R||{}).forEach(([F,N])=>{const{vars:A,css:W,varsWithDefaults:le}=ed(N,a);C=un(C,le),S[F]={css:W,vars:A}}),w){const{css:F,vars:N,varsWithDefaults:A}=ed(w,a);C=un(C,A),S[m]={css:F,vars:N}}function k(F,N){let A=s;if(s==="class"&&(A=".%s"),s==="data"&&(A="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(A=`[${s}="%s"]`),F){if(A==="media")return t.defaultColorScheme===F?":root":{[`@media (prefers-color-scheme: ${f[F]?.palette?.mode||F})`]:{":root":N}};if(A)return t.defaultColorScheme===F?`:root, ${A.replace("%s",String(F))}`:A.replace("%s",String(F))}return":root"}return{vars:C,generateThemeVars:()=>{let F={...y};return Object.entries(S).forEach(([,{vars:N}])=>{F=un(F,N)}),F},generateStyleSheets:()=>{const F=[],N=t.defaultColorScheme||"light";function A(ae,se){Object.keys(se).length&&F.push(typeof ae=="string"?{[ae]:{...se}}:ae)}A(l(void 0,{...v}),v);const{[N]:W,...le}=S;if(W){const{css:ae}=W,se=f[N]?.palette?.mode,ue=!i&&se?{colorScheme:se,...ae}:{...ae};A(l(N,{...ue}),ue)}return Object.entries(le).forEach(([ae,{css:se}])=>{const ue=f[ae]?.palette?.mode,T=!i&&ue?{colorScheme:ue,...se}:{...se};A(l(ae,{...T}),T)}),u&&F.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),F}}}function xR(t){return function(l){return t==="media"?`@media (prefers-color-scheme: ${l})`:t?t.startsWith("data-")&&!t.includes("%s")?`[${t}="${l}"] &`:t==="class"?`.${l} &`:t==="data"?`[data-${l}] &`:`${t.replace("%s",l)} &`:"&"}}function Dv(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ro.white,default:ro.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const _v=Dv();function Nv(){return{text:{primary:ro.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ro.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const bd=Nv();function Vg(t,a,l,i){const s=i.light||i,u=i.dark||i*1.5;t[a]||(t.hasOwnProperty(l)?t[a]=t[l]:a==="light"?t.light=Ru(t.main,s):a==="dark"&&(t.dark=Cu(t.main,u)))}function Kg(t,a,l,i,s){const u=s.light||s,f=s.dark||s*1.5;a[l]||(a.hasOwnProperty(i)?a[l]=a[i]:l==="light"?a.light=`color-mix(in ${t}, ${a.main}, #fff ${(u*100).toFixed(0)}%)`:l==="dark"&&(a.dark=`color-mix(in ${t}, ${a.main}, #000 ${(f*100).toFixed(0)}%)`))}function AR(t="light"){return t==="dark"?{main:jl[200],light:jl[50],dark:jl[400]}:{main:jl[700],light:jl[400],dark:jl[800]}}function OR(t="light"){return t==="dark"?{main:Ul[200],light:Ul[50],dark:Ul[400]}:{main:Ul[500],light:Ul[300],dark:Ul[700]}}function MR(t="light"){return t==="dark"?{main:Nl[500],light:Nl[300],dark:Nl[700]}:{main:Nl[700],light:Nl[400],dark:Nl[800]}}function DR(t="light"){return t==="dark"?{main:zl[400],light:zl[300],dark:zl[700]}:{main:zl[700],light:zl[500],dark:zl[900]}}function _R(t="light"){return t==="dark"?{main:Ll[400],light:Ll[300],dark:Ll[700]}:{main:Ll[800],light:Ll[500],dark:Ll[900]}}function NR(t="light"){return t==="dark"?{main:Vi[400],light:Vi[300],dark:Vi[700]}:{main:"#ed6c02",light:Vi[500],dark:Vi[900]}}function UR(t){return`oklch(from ${t} var(--__l) 0 h / var(--__a))`}function lh(t){const{mode:a="light",contrastThreshold:l=3,tonalOffset:i=.2,colorSpace:s,...u}=t,f=t.primary||AR(a),h=t.secondary||OR(a),m=t.error||MR(a),p=t.info||DR(a),y=t.success||_R(a),v=t.warning||NR(a);function E(R){return s?UR(R):eR(R,bd.text.primary)>=l?bd.text.primary:_v.text.primary}const C=({color:R,name:k,mainShade:G=500,lightShade:Q=300,darkShade:F=700})=>{if(R={...R},!R.main&&R[G]&&(R.main=R[G]),!R.hasOwnProperty("main"))throw new Error(Qr(11,k?` (${k})`:"",G));if(typeof R.main!="string")throw new Error(Qr(12,k?` (${k})`:"",JSON.stringify(R.main)));return s?(Kg(s,R,"light",Q,i),Kg(s,R,"dark",F,i)):(Vg(R,"light",Q,i),Vg(R,"dark",F,i)),R.contrastText||(R.contrastText=E(R.main)),R};let S;return a==="light"?S=Dv():a==="dark"&&(S=Nv()),un({common:{...ro},mode:a,primary:C({color:f,name:"primary"}),secondary:C({color:h,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:C({color:m,name:"error"}),warning:C({color:v,name:"warning"}),info:C({color:p,name:"info"}),success:C({color:y,name:"success"}),grey:XT,contrastThreshold:l,getContrastText:E,augmentColor:C,tonalOffset:i,...S},u)}function jR(t){const a={};return Object.entries(t).forEach(i=>{const[s,u]=i;typeof u=="object"&&(a[s]=`${u.fontStyle?`${u.fontStyle} `:""}${u.fontVariant?`${u.fontVariant} `:""}${u.fontWeight?`${u.fontWeight} `:""}${u.fontStretch?`${u.fontStretch} `:""}${u.fontSize||""}${u.lineHeight?`/${u.lineHeight} `:""}${u.fontFamily||""}`)}),a}function zR(t,a){return{toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}},...a}}function LR(t){return Math.round(t*1e5)/1e5}const Xg={textTransform:"uppercase"},Fg='"Roboto", "Helvetica", "Arial", sans-serif';function Uv(t,a){const{fontFamily:l=Fg,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:u=400,fontWeightMedium:f=500,fontWeightBold:h=700,htmlFontSize:m=16,allVariants:p,pxToRem:y,...v}=typeof a=="function"?a(t):a,E=i/14,C=y||(R=>`${R/m*E}rem`),S=(R,k,G,Q,F)=>({fontFamily:l,fontWeight:R,fontSize:C(k),lineHeight:G,...l===Fg?{letterSpacing:`${LR(Q/k)}em`}:{},...F,...p}),w={h1:S(s,96,1.167,-1.5),h2:S(s,60,1.2,-.5),h3:S(u,48,1.167,0),h4:S(u,34,1.235,.25),h5:S(u,24,1.334,0),h6:S(f,20,1.6,.15),subtitle1:S(u,16,1.75,.15),subtitle2:S(f,14,1.57,.1),body1:S(u,16,1.5,.15),body2:S(u,14,1.43,.15),button:S(f,14,1.75,.4,Xg),caption:S(u,12,1.66,.4),overline:S(u,12,2.66,1,Xg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return un({htmlFontSize:m,pxToRem:C,fontFamily:l,fontSize:i,fontWeightLight:s,fontWeightRegular:u,fontWeightMedium:f,fontWeightBold:h,...w},v,{clone:!1})}const kR=.2,BR=.14,HR=.12;function gt(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${kR})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${BR})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${HR})`].join(",")}const qR=["none",gt(0,2,1,-1,0,1,1,0,0,1,3,0),gt(0,3,1,-2,0,2,2,0,0,1,5,0),gt(0,3,3,-2,0,3,4,0,0,1,8,0),gt(0,2,4,-1,0,4,5,0,0,1,10,0),gt(0,3,5,-1,0,5,8,0,0,1,14,0),gt(0,3,5,-1,0,6,10,0,0,1,18,0),gt(0,4,5,-2,0,7,10,1,0,2,16,1),gt(0,5,5,-3,0,8,10,1,0,3,14,2),gt(0,5,6,-3,0,9,12,1,0,3,16,2),gt(0,6,6,-3,0,10,14,1,0,4,18,3),gt(0,6,7,-4,0,11,15,1,0,4,20,3),gt(0,7,8,-4,0,12,17,2,0,5,22,4),gt(0,7,8,-4,0,13,19,2,0,5,24,4),gt(0,7,9,-4,0,14,21,2,0,5,26,4),gt(0,8,9,-5,0,15,22,2,0,6,28,5),gt(0,8,10,-5,0,16,24,2,0,6,30,5),gt(0,8,11,-5,0,17,26,2,0,6,32,5),gt(0,9,11,-5,0,18,28,2,0,7,34,6),gt(0,9,12,-6,0,19,29,2,0,7,36,6),gt(0,10,13,-6,0,20,31,3,0,8,38,7),gt(0,10,13,-6,0,21,33,3,0,8,40,7),gt(0,10,14,-6,0,22,35,3,0,8,42,7),gt(0,11,14,-7,0,23,36,3,0,9,44,8),gt(0,11,15,-7,0,24,38,3,0,9,46,8)],PR={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$R={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Zg(t){return`${Math.round(t)}ms`}function GR(t){if(!t)return 0;const a=t/36;return Math.min(Math.round((4+15*a**.25+a/5)*10),3e3)}function QR(t){const a={...PR,...t.easing},l={...$R,...t.duration};return{getAutoHeightDuration:GR,create:(s=["all"],u={})=>{const{duration:f=l.standard,easing:h=a.easeInOut,delay:m=0,...p}=u;return(Array.isArray(s)?s:[s]).map(y=>`${y} ${typeof f=="string"?f:Zg(f)} ${h} ${typeof m=="string"?m:Zg(m)}`).join(",")},...t,easing:a,duration:l}}const YR={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function VR(t){return Na(t)||typeof t>"u"||typeof t=="string"||typeof t=="boolean"||typeof t=="number"||Array.isArray(t)}function jv(t={}){const a={...t};function l(i){const s=Object.entries(i);for(let u=0;u<s.length;u++){const[f,h]=s[u];!VR(h)||f.startsWith("unstable_")?delete i[f]:Na(h)&&(i[f]={...h},l(i[f]))}}return l(a),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
105
+
106
+ const theme = ${JSON.stringify(a,null,2)};
107
+
108
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
109
+ theme.transitions = createTransitions(theme.transitions || {});
110
+
111
+ export default theme;`}function Jg(t){return typeof t=="number"?`${(t*100).toFixed(0)}%`:`calc((${t}) * 100%)`}const KR=t=>{if(!Number.isNaN(+t))return+t;const a=t.match(/\d*\.?\d+/g);if(!a)return 0;let l=0;for(let i=0;i<a.length;i+=1)l+=+a[i];return l};function XR(t){Object.assign(t,{alpha(a,l){const i=this||t;return i.colorSpace?`oklch(from ${a} l c h / ${typeof l=="string"?`calc(${l})`:l})`:i.vars?`rgba(${a.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof l=="string"?`calc(${l})`:l})`:Cv(a,KR(l))},lighten(a,l){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${a}, #fff ${Jg(l)})`:Ru(a,l)},darken(a,l){const i=this||t;return i.colorSpace?`color-mix(in ${i.colorSpace}, ${a}, #000 ${Jg(l)})`:Cu(a,l)}})}function Sd(t={},...a){const{breakpoints:l,mixins:i={},spacing:s,palette:u={},transitions:f={},typography:h={},shape:m,colorSpace:p,...y}=t;if(t.vars&&t.generateThemeVars===void 0)throw new Error(Qr(20));const v=lh({...u,colorSpace:p}),E=bv(t);let C=un(E,{mixins:zR(E.breakpoints,i),palette:v,shadows:qR.slice(),typography:Uv(v,h),transitions:QR(f),zIndex:{...YR}});return C=un(C,y),C=a.reduce((S,w)=>un(S,w),C),C.unstable_sxConfig={...bo,...y?.unstable_sxConfig},C.unstable_sx=function(w){return So({sx:w,theme:this})},C.toRuntimeSource=jv,XR(C),C}function FR(t){let a;return t<1?a=5.11916*t**2:a=4.5*Math.log(t+1)+2,Math.round(a*10)/1e3}const ZR=[...Array(25)].map((t,a)=>{if(a===0)return"none";const l=FR(a);return`linear-gradient(rgba(255 255 255 / ${l}), rgba(255 255 255 / ${l}))`});function zv(t){return{inputPlaceholder:t==="dark"?.5:.42,inputUnderline:t==="dark"?.7:.42,switchTrackDisabled:t==="dark"?.2:.12,switchTrack:t==="dark"?.3:.38}}function Lv(t){return t==="dark"?ZR:[]}function JR(t){const{palette:a={mode:"light"},opacity:l,overlays:i,colorSpace:s,...u}=t,f=lh({...a,colorSpace:s});return{palette:f,opacity:{...zv(f.mode),...l},overlays:i||Lv(f.mode),...u}}function WR(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||t[0]==="palette"&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const IR=t=>[...[...Array(25)].map((a,l)=>`--${t?`${t}-`:""}overlays-${l}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],ex=t=>(a,l)=>{const i=t.rootSelector||":root",s=t.colorSchemeSelector;let u=s;if(s==="class"&&(u=".%s"),s==="data"&&(u="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(u=`[${s}="%s"]`),t.defaultColorScheme===a){if(a==="dark"){const f={};return IR(t.cssVarPrefix).forEach(h=>{f[h]=l[h],delete l[h]}),u==="media"?{[i]:l,"@media (prefers-color-scheme: dark)":{[i]:f}}:u?{[u.replace("%s",a)]:f,[`${i}, ${u.replace("%s",a)}`]:l}:{[i]:{...l,...f}}}if(u&&u!=="media")return`${i}, ${u.replace("%s",String(a))}`}else if(a){if(u==="media")return{[`@media (prefers-color-scheme: ${String(a)})`]:{[i]:l}};if(u)return u.replace("%s",String(a))}return i};function tx(t,a){a.forEach(l=>{t[l]||(t[l]={})})}function V(t,a,l){!t[a]&&l&&(t[a]=l)}function Ii(t){return typeof t!="string"||!t.startsWith("hsl")?t:wv(t)}function _a(t,a){`${a}Channel`in t||(t[`${a}Channel`]=Wi(Ii(t[a])))}function nx(t){return typeof t=="number"?`${t}px`:typeof t=="string"||typeof t=="function"||Array.isArray(t)?t:"8px"}const aa=t=>{try{return t()}catch{}},ax=(t="mui")=>TR(t);function td(t,a,l,i,s){if(!l)return;l=l===!0?{}:l;const u=s==="dark"?"dark":"light";if(!i){a[s]=JR({...l,palette:{mode:u,...l?.palette},colorSpace:t});return}const{palette:f,...h}=Sd({...i,palette:{mode:u,...l?.palette},colorSpace:t});return a[s]={...l,palette:f,opacity:{...zv(u),...l?.opacity},overlays:l?.overlays||Lv(u)},h}function rx(t={},...a){const{colorSchemes:l={light:!0},defaultColorScheme:i,disableCssColorScheme:s=!1,cssVarPrefix:u="mui",nativeColor:f=!1,shouldSkipGeneratingVar:h=WR,colorSchemeSelector:m=l.light&&l.dark?"media":void 0,rootSelector:p=":root",...y}=t,v=Object.keys(l)[0],E=i||(l.light&&v!=="light"?"light":v),C=ax(u),{[E]:S,light:w,dark:R,...k}=l,G={...k};let Q=S;if((E==="dark"&&!("dark"in l)||E==="light"&&!("light"in l))&&(Q=!0),!Q)throw new Error(Qr(21,E));let F;f&&(F="oklch");const N=td(F,G,Q,y,E);w&&!G.light&&td(F,G,w,void 0,"light"),R&&!G.dark&&td(F,G,R,void 0,"dark");let A={defaultColorScheme:E,...N,cssVarPrefix:u,colorSchemeSelector:m,rootSelector:p,getCssVar:C,colorSchemes:G,font:{...jR(N.typography),...N.font},spacing:nx(y.spacing)};Object.keys(A.colorSchemes).forEach(ue=>{const T=A.colorSchemes[ue].palette,ie=he=>{const U=he.split("-"),te=U[1],oe=U[2];return C(he,T[te][oe])};T.mode==="light"&&(V(T.common,"background","#fff"),V(T.common,"onBackground","#000")),T.mode==="dark"&&(V(T.common,"background","#000"),V(T.common,"onBackground","#fff"));function I(he,U,te){if(F){let oe;return he===Hr&&(oe=`transparent ${((1-te)*100).toFixed(0)}%`),he===at&&(oe=`#000 ${(te*100).toFixed(0)}%`),he===rt&&(oe=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${F}, ${U}, ${oe})`}return he(U,te)}if(tx(T,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),T.mode==="light"){V(T.Alert,"errorColor",I(at,T.error.light,.6)),V(T.Alert,"infoColor",I(at,T.info.light,.6)),V(T.Alert,"successColor",I(at,T.success.light,.6)),V(T.Alert,"warningColor",I(at,T.warning.light,.6)),V(T.Alert,"errorFilledBg",ie("palette-error-main")),V(T.Alert,"infoFilledBg",ie("palette-info-main")),V(T.Alert,"successFilledBg",ie("palette-success-main")),V(T.Alert,"warningFilledBg",ie("palette-warning-main")),V(T.Alert,"errorFilledColor",aa(()=>T.getContrastText(T.error.main))),V(T.Alert,"infoFilledColor",aa(()=>T.getContrastText(T.info.main))),V(T.Alert,"successFilledColor",aa(()=>T.getContrastText(T.success.main))),V(T.Alert,"warningFilledColor",aa(()=>T.getContrastText(T.warning.main))),V(T.Alert,"errorStandardBg",I(rt,T.error.light,.9)),V(T.Alert,"infoStandardBg",I(rt,T.info.light,.9)),V(T.Alert,"successStandardBg",I(rt,T.success.light,.9)),V(T.Alert,"warningStandardBg",I(rt,T.warning.light,.9)),V(T.Alert,"errorIconColor",ie("palette-error-main")),V(T.Alert,"infoIconColor",ie("palette-info-main")),V(T.Alert,"successIconColor",ie("palette-success-main")),V(T.Alert,"warningIconColor",ie("palette-warning-main")),V(T.AppBar,"defaultBg",ie("palette-grey-100")),V(T.Avatar,"defaultBg",ie("palette-grey-400")),V(T.Button,"inheritContainedBg",ie("palette-grey-300")),V(T.Button,"inheritContainedHoverBg",ie("palette-grey-A100")),V(T.Chip,"defaultBorder",ie("palette-grey-400")),V(T.Chip,"defaultAvatarColor",ie("palette-grey-700")),V(T.Chip,"defaultIconColor",ie("palette-grey-700")),V(T.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),V(T.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),V(T.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),V(T.LinearProgress,"primaryBg",I(rt,T.primary.main,.62)),V(T.LinearProgress,"secondaryBg",I(rt,T.secondary.main,.62)),V(T.LinearProgress,"errorBg",I(rt,T.error.main,.62)),V(T.LinearProgress,"infoBg",I(rt,T.info.main,.62)),V(T.LinearProgress,"successBg",I(rt,T.success.main,.62)),V(T.LinearProgress,"warningBg",I(rt,T.warning.main,.62)),V(T.Skeleton,"bg",F?I(Hr,T.text.primary,.11):`rgba(${ie("palette-text-primaryChannel")} / 0.11)`),V(T.Slider,"primaryTrack",I(rt,T.primary.main,.62)),V(T.Slider,"secondaryTrack",I(rt,T.secondary.main,.62)),V(T.Slider,"errorTrack",I(rt,T.error.main,.62)),V(T.Slider,"infoTrack",I(rt,T.info.main,.62)),V(T.Slider,"successTrack",I(rt,T.success.main,.62)),V(T.Slider,"warningTrack",I(rt,T.warning.main,.62));const he=F?I(at,T.background.default,.6825):Gs(T.background.default,.8);V(T.SnackbarContent,"bg",he),V(T.SnackbarContent,"color",aa(()=>F?bd.text.primary:T.getContrastText(he))),V(T.SpeedDialAction,"fabHoverBg",Gs(T.background.paper,.15)),V(T.StepConnector,"border",ie("palette-grey-400")),V(T.StepContent,"border",ie("palette-grey-400")),V(T.Switch,"defaultColor",ie("palette-common-white")),V(T.Switch,"defaultDisabledColor",ie("palette-grey-100")),V(T.Switch,"primaryDisabledColor",I(rt,T.primary.main,.62)),V(T.Switch,"secondaryDisabledColor",I(rt,T.secondary.main,.62)),V(T.Switch,"errorDisabledColor",I(rt,T.error.main,.62)),V(T.Switch,"infoDisabledColor",I(rt,T.info.main,.62)),V(T.Switch,"successDisabledColor",I(rt,T.success.main,.62)),V(T.Switch,"warningDisabledColor",I(rt,T.warning.main,.62)),V(T.TableCell,"border",I(rt,I(Hr,T.divider,1),.88)),V(T.Tooltip,"bg",I(Hr,T.grey[700],.92))}if(T.mode==="dark"){V(T.Alert,"errorColor",I(rt,T.error.light,.6)),V(T.Alert,"infoColor",I(rt,T.info.light,.6)),V(T.Alert,"successColor",I(rt,T.success.light,.6)),V(T.Alert,"warningColor",I(rt,T.warning.light,.6)),V(T.Alert,"errorFilledBg",ie("palette-error-dark")),V(T.Alert,"infoFilledBg",ie("palette-info-dark")),V(T.Alert,"successFilledBg",ie("palette-success-dark")),V(T.Alert,"warningFilledBg",ie("palette-warning-dark")),V(T.Alert,"errorFilledColor",aa(()=>T.getContrastText(T.error.dark))),V(T.Alert,"infoFilledColor",aa(()=>T.getContrastText(T.info.dark))),V(T.Alert,"successFilledColor",aa(()=>T.getContrastText(T.success.dark))),V(T.Alert,"warningFilledColor",aa(()=>T.getContrastText(T.warning.dark))),V(T.Alert,"errorStandardBg",I(at,T.error.light,.9)),V(T.Alert,"infoStandardBg",I(at,T.info.light,.9)),V(T.Alert,"successStandardBg",I(at,T.success.light,.9)),V(T.Alert,"warningStandardBg",I(at,T.warning.light,.9)),V(T.Alert,"errorIconColor",ie("palette-error-main")),V(T.Alert,"infoIconColor",ie("palette-info-main")),V(T.Alert,"successIconColor",ie("palette-success-main")),V(T.Alert,"warningIconColor",ie("palette-warning-main")),V(T.AppBar,"defaultBg",ie("palette-grey-900")),V(T.AppBar,"darkBg",ie("palette-background-paper")),V(T.AppBar,"darkColor",ie("palette-text-primary")),V(T.Avatar,"defaultBg",ie("palette-grey-600")),V(T.Button,"inheritContainedBg",ie("palette-grey-800")),V(T.Button,"inheritContainedHoverBg",ie("palette-grey-700")),V(T.Chip,"defaultBorder",ie("palette-grey-700")),V(T.Chip,"defaultAvatarColor",ie("palette-grey-300")),V(T.Chip,"defaultIconColor",ie("palette-grey-300")),V(T.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),V(T.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),V(T.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),V(T.LinearProgress,"primaryBg",I(at,T.primary.main,.5)),V(T.LinearProgress,"secondaryBg",I(at,T.secondary.main,.5)),V(T.LinearProgress,"errorBg",I(at,T.error.main,.5)),V(T.LinearProgress,"infoBg",I(at,T.info.main,.5)),V(T.LinearProgress,"successBg",I(at,T.success.main,.5)),V(T.LinearProgress,"warningBg",I(at,T.warning.main,.5)),V(T.Skeleton,"bg",F?I(Hr,T.text.primary,.13):`rgba(${ie("palette-text-primaryChannel")} / 0.13)`),V(T.Slider,"primaryTrack",I(at,T.primary.main,.5)),V(T.Slider,"secondaryTrack",I(at,T.secondary.main,.5)),V(T.Slider,"errorTrack",I(at,T.error.main,.5)),V(T.Slider,"infoTrack",I(at,T.info.main,.5)),V(T.Slider,"successTrack",I(at,T.success.main,.5)),V(T.Slider,"warningTrack",I(at,T.warning.main,.5));const he=F?I(rt,T.background.default,.985):Gs(T.background.default,.98);V(T.SnackbarContent,"bg",he),V(T.SnackbarContent,"color",aa(()=>F?_v.text.primary:T.getContrastText(he))),V(T.SpeedDialAction,"fabHoverBg",Gs(T.background.paper,.15)),V(T.StepConnector,"border",ie("palette-grey-600")),V(T.StepContent,"border",ie("palette-grey-600")),V(T.Switch,"defaultColor",ie("palette-grey-300")),V(T.Switch,"defaultDisabledColor",ie("palette-grey-600")),V(T.Switch,"primaryDisabledColor",I(at,T.primary.main,.55)),V(T.Switch,"secondaryDisabledColor",I(at,T.secondary.main,.55)),V(T.Switch,"errorDisabledColor",I(at,T.error.main,.55)),V(T.Switch,"infoDisabledColor",I(at,T.info.main,.55)),V(T.Switch,"successDisabledColor",I(at,T.success.main,.55)),V(T.Switch,"warningDisabledColor",I(at,T.warning.main,.55)),V(T.TableCell,"border",I(at,I(Hr,T.divider,1),.68)),V(T.Tooltip,"bg",I(Hr,T.grey[700],.92))}_a(T.background,"default"),_a(T.background,"paper"),_a(T.common,"background"),_a(T.common,"onBackground"),_a(T,"divider"),Object.keys(T).forEach(he=>{const U=T[he];he!=="tonalOffset"&&U&&typeof U=="object"&&(U.main&&V(T[he],"mainChannel",Wi(Ii(U.main))),U.light&&V(T[he],"lightChannel",Wi(Ii(U.light))),U.dark&&V(T[he],"darkChannel",Wi(Ii(U.dark))),U.contrastText&&V(T[he],"contrastTextChannel",Wi(Ii(U.contrastText))),he==="text"&&(_a(T[he],"primary"),_a(T[he],"secondary")),he==="action"&&(U.active&&_a(T[he],"active"),U.selected&&_a(T[he],"selected")))})}),A=a.reduce((ue,T)=>un(ue,T),A);const W={prefix:u,disableCssColorScheme:s,shouldSkipGeneratingVar:h,getSelector:ex(A),enableContrastVars:f},{vars:le,generateThemeVars:ae,generateStyleSheets:se}=RR(A,W);return A.vars=le,Object.entries(A.colorSchemes[A.defaultColorScheme]).forEach(([ue,T])=>{A[ue]=T}),A.generateThemeVars=ae,A.generateStyleSheets=se,A.generateSpacing=function(){return vv(y.spacing,Wd(this))},A.getColorSchemeSelector=xR(m),A.spacing=A.generateSpacing(),A.shouldSkipGeneratingVar=h,A.unstable_sxConfig={...bo,...y?.unstable_sxConfig},A.unstable_sx=function(T){return So({sx:T,theme:this})},A.toRuntimeSource=jv,A}function Wg(t,a,l){t.colorSchemes&&l&&(t.colorSchemes[a]={...l!==!0&&l,palette:lh({...l===!0?{}:l.palette,mode:a})})}function ih(t={},...a){const{palette:l,cssVariables:i=!1,colorSchemes:s=l?void 0:{light:!0},defaultColorScheme:u=l?.mode,...f}=t,h=u||"light",m=s?.[h],p={...s,...l?{[h]:{...typeof m!="boolean"&&m,palette:l}}:void 0};if(i===!1){if(!("colorSchemes"in t))return Sd(t,...a);let y=l;"palette"in t||p[h]&&(p[h]!==!0?y=p[h].palette:h==="dark"&&(y={mode:"dark"}));const v=Sd({...t,palette:y},...a);return v.defaultColorScheme=h,v.colorSchemes=p,v.palette.mode==="light"&&(v.colorSchemes.light={...p.light!==!0&&p.light,palette:v.palette},Wg(v,"dark",p.dark)),v.palette.mode==="dark"&&(v.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:v.palette},Wg(v,"light",p.light)),v}return!l&&!("light"in p)&&h==="light"&&(p.light=!0),rx({...f,colorSchemes:p,defaultColorScheme:h,...typeof i!="boolean"&&i},...a)}const lx=ih();function ix({theme:t,...a}){const l=$r in t?t[$r]:void 0;return ze.jsx(Ov,{...a,themeId:l?$r:void 0,theme:l||t})}const Qs={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:ox}=ER({themeId:$r,theme:()=>ih({cssVariables:!0}),colorSchemeStorageKey:Qs.colorSchemeStorageKey,modeStorageKey:Qs.modeStorageKey,defaultColorScheme:{light:Qs.defaultLightColorScheme,dark:Qs.defaultDarkColorScheme},resolveTheme:t=>{const a={...t,typography:Uv(t.palette,t.typography)};return a.unstable_sx=function(i){return So({sx:i,theme:this})},a}}),sx=ox;function ux({theme:t,...a}){const l=D.useMemo(()=>{if(typeof t=="function")return t;const i=$r in t?t[$r]:t;return"colorSchemes"in i?null:"vars"in i?t:{...t,vars:null}},[t]);return l?ze.jsx(ix,{theme:l,...a}):ze.jsx(sx,{theme:t,...a})}function cx(t){return ze.jsx(Sv,{...t,defaultTheme:lx,themeId:$r})}function kv(t){return function(l){return ze.jsx(cx,{styles:typeof t=="function"?i=>t({theme:i,...l}):t})}}function hO(){return FC}function fx(t){return uR(t)}const Ed=typeof kv({})=="function",dx=(t,a)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...a&&!t.vars&&{colorScheme:t.palette.mode}}),hx=t=>({color:(t.vars||t).palette.text.primary,...t.typography.body1,backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}}),Bv=(t,a=!1)=>{const l={};a&&t.colorSchemes&&typeof t.getColorSchemeSelector=="function"&&Object.entries(t.colorSchemes).forEach(([u,f])=>{const h=t.getColorSchemeSelector(u);h.startsWith("@")?l[h]={":root":{colorScheme:f.palette?.mode}}:l[h.replace(/\s*&/,"")]={colorScheme:f.palette?.mode}});let i={html:dx(t,a),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:{margin:0,...hx(t),"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}},...l};const s=t.components?.MuiCssBaseline?.styleOverrides;return s&&(i=[i,s]),i},eu="mui-ecs",mx=t=>{const a=Bv(t,!1),l=Array.isArray(a)?a[0]:a;return!t.vars&&l&&(l.html[`:root:has(${eu})`]={colorScheme:t.palette.mode}),t.colorSchemes&&Object.entries(t.colorSchemes).forEach(([i,s])=>{const u=t.getColorSchemeSelector(i);u.startsWith("@")?l[u]={[`:root:not(:has(.${eu}))`]:{colorScheme:s.palette?.mode}}:l[u.replace(/\s*&/,"")]={[`&:not(:has(.${eu}))`]:{colorScheme:s.palette?.mode}}}),a},px=kv(Ed?({theme:t,enableColorScheme:a})=>Bv(t,a):({theme:t})=>mx(t));function yx(t){const a=fx({props:t,name:"MuiCssBaseline"}),{children:l,enableColorScheme:i=!1}=a;return ze.jsxs(D.Fragment,{children:[Ed&&ze.jsx(px,{enableColorScheme:i}),!Ed&&!i&&ze.jsx("span",{className:eu,style:{display:"none"}}),l]})}var xu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gx={setTimeout:(t,a)=>setTimeout(t,a),clearTimeout:t=>clearTimeout(t),setInterval:(t,a)=>setInterval(t,a),clearInterval:t=>clearInterval(t)},vx=class{#e=gx;#t=!1;setTimeoutProvider(t){this.#e=t}setTimeout(t,a){return this.#e.setTimeout(t,a)}clearTimeout(t){this.#e.clearTimeout(t)}setInterval(t,a){return this.#e.setInterval(t,a)}clearInterval(t){this.#e.clearInterval(t)}},Td=new vx;function bx(t){setTimeout(t,0)}var Au=typeof window>"u"||"Deno"in globalThis;function Yn(){}function Sx(t,a){return typeof t=="function"?t(a):t}function Ex(t){return typeof t=="number"&&t>=0&&t!==1/0}function Tx(t,a){return Math.max(t+(a||0)-Date.now(),0)}function wd(t,a){return typeof t=="function"?t(a):t}function wx(t,a){return typeof t=="function"?t(a):t}function Ig(t,a){const{type:l="all",exact:i,fetchStatus:s,predicate:u,queryKey:f,stale:h}=t;if(f){if(i){if(a.queryHash!==oh(f,a.options))return!1}else if(!uo(a.queryKey,f))return!1}if(l!=="all"){const m=a.isActive();if(l==="active"&&!m||l==="inactive"&&m)return!1}return!(typeof h=="boolean"&&a.isStale()!==h||s&&s!==a.state.fetchStatus||u&&!u(a))}function e0(t,a){const{exact:l,status:i,predicate:s,mutationKey:u}=t;if(u){if(!a.options.mutationKey)return!1;if(l){if(so(a.options.mutationKey)!==so(u))return!1}else if(!uo(a.options.mutationKey,u))return!1}return!(i&&a.state.status!==i||s&&!s(a))}function oh(t,a){return(a?.queryKeyHashFn||so)(t)}function so(t){return JSON.stringify(t,(a,l)=>Cd(l)?Object.keys(l).sort().reduce((i,s)=>(i[s]=l[s],i),{}):l)}function uo(t,a){return t===a?!0:typeof t!=typeof a?!1:t&&a&&typeof t=="object"&&typeof a=="object"?Object.keys(a).every(l=>uo(t[l],a[l])):!1}var Cx=Object.prototype.hasOwnProperty;function Hv(t,a){if(t===a)return t;const l=t0(t)&&t0(a);if(!l&&!(Cd(t)&&Cd(a)))return a;const s=(l?t:Object.keys(t)).length,u=l?a:Object.keys(a),f=u.length,h=l?new Array(f):{};let m=0;for(let p=0;p<f;p++){const y=l?p:u[p],v=t[y],E=a[y];if(v===E){h[y]=v,(l?p<s:Cx.call(t,y))&&m++;continue}if(v===null||E===null||typeof v!="object"||typeof E!="object"){h[y]=E;continue}const C=Hv(v,E);h[y]=C,C===v&&m++}return s===f&&m===s?t:h}function mO(t,a){if(!a||Object.keys(t).length!==Object.keys(a).length)return!1;for(const l in t)if(t[l]!==a[l])return!1;return!0}function t0(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Cd(t){if(!n0(t))return!1;const a=t.constructor;if(a===void 0)return!0;const l=a.prototype;return!(!n0(l)||!l.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function n0(t){return Object.prototype.toString.call(t)==="[object Object]"}function Rx(t){return new Promise(a=>{Td.setTimeout(a,t)})}function xx(t,a,l){return typeof l.structuralSharing=="function"?l.structuralSharing(t,a):l.structuralSharing!==!1?Hv(t,a):a}function Ax(t,a,l=0){const i=[...t,a];return l&&i.length>l?i.slice(1):i}function Ox(t,a,l=0){const i=[a,...t];return l&&i.length>l?i.slice(0,-1):i}var sh=Symbol();function qv(t,a){return!t.queryFn&&a?.initialPromise?()=>a.initialPromise:!t.queryFn||t.queryFn===sh?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function pO(t,a){return typeof t=="function"?t(...a):!!t}var Mx=class extends xu{#e;#t;#n;constructor(){super(),this.#n=t=>{if(!Au&&window.addEventListener){const a=()=>t();return window.addEventListener("visibilitychange",a,!1),()=>{window.removeEventListener("visibilitychange",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(t){this.#e!==t&&(this.#e=t,this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(a=>{a(t)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Pv=new Mx;function Dx(){let t,a;const l=new Promise((s,u)=>{t=s,a=u});l.status="pending",l.catch(()=>{});function i(s){Object.assign(l,s),delete l.resolve,delete l.reject}return l.resolve=s=>{i({status:"fulfilled",value:s}),t(s)},l.reject=s=>{i({status:"rejected",reason:s}),a(s)},l}var _x=bx;function Nx(){let t=[],a=0,l=h=>{h()},i=h=>{h()},s=_x;const u=h=>{a?t.push(h):s(()=>{l(h)})},f=()=>{const h=t;t=[],h.length&&s(()=>{i(()=>{h.forEach(m=>{l(m)})})})};return{batch:h=>{let m;a++;try{m=h()}finally{a--,a||f()}return m},batchCalls:h=>(...m)=>{u(()=>{h(...m)})},schedule:u,setNotifyFunction:h=>{l=h},setBatchNotifyFunction:h=>{i=h},setScheduler:h=>{s=h}}}var en=Nx(),Ux=class extends xu{#e=!0;#t;#n;constructor(){super(),this.#n=t=>{if(!Au&&window.addEventListener){const a=()=>t(!0),l=()=>t(!1);return window.addEventListener("online",a,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",a),window.removeEventListener("offline",l)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(t){this.#n=t,this.#t?.(),this.#t=t(this.setOnline.bind(this))}setOnline(t){this.#e!==t&&(this.#e=t,this.listeners.forEach(l=>{l(t)}))}isOnline(){return this.#e}},uu=new Ux;function jx(t){return Math.min(1e3*2**t,3e4)}function $v(t){return(t??"online")==="online"?uu.isOnline():!0}var Rd=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function Gv(t){let a=!1,l=0,i;const s=Dx(),u=()=>s.status!=="pending",f=w=>{if(!u()){const R=new Rd(w);E(R),t.onCancel?.(R)}},h=()=>{a=!0},m=()=>{a=!1},p=()=>Pv.isFocused()&&(t.networkMode==="always"||uu.isOnline())&&t.canRun(),y=()=>$v(t.networkMode)&&t.canRun(),v=w=>{u()||(i?.(),s.resolve(w))},E=w=>{u()||(i?.(),s.reject(w))},C=()=>new Promise(w=>{i=R=>{(u()||p())&&w(R)},t.onPause?.()}).then(()=>{i=void 0,u()||t.onContinue?.()}),S=()=>{if(u())return;let w;const R=l===0?t.initialPromise:void 0;try{w=R??t.fn()}catch(k){w=Promise.reject(k)}Promise.resolve(w).then(v).catch(k=>{if(u())return;const G=t.retry??(Au?0:3),Q=t.retryDelay??jx,F=typeof Q=="function"?Q(l,k):Q,N=G===!0||typeof G=="number"&&l<G||typeof G=="function"&&G(l,k);if(a||!N){E(k);return}l++,t.onFail?.(l,k),Rx(F).then(()=>p()?void 0:C()).then(()=>{a?E(k):S()})})};return{promise:s,status:()=>s.status,cancel:f,continue:()=>(i?.(),s),cancelRetry:h,continueRetry:m,canStart:y,start:()=>(y()?S():C().then(S),s)}}var Qv=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ex(this.gcTime)&&(this.#e=Td.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Au?1/0:300*1e3))}clearGcTimeout(){this.#e&&(Td.clearTimeout(this.#e),this.#e=void 0)}},zx=class extends Qv{#e;#t;#n;#r;#a;#i;#o;constructor(t){super(),this.#o=!1,this.#i=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#r=t.client,this.#n=this.#r.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#e=a0(this.options),this.state=t.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(t){if(this.options={...this.#i,...t},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const a=a0(this.options);a.data!==void 0&&(this.setData(a.data,{updatedAt:a.dataUpdatedAt,manual:!0}),this.#e=a)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(t,a){const l=xx(this.state.data,t,this.options);return this.#l({data:l,type:"success",dataUpdatedAt:a?.updatedAt,manual:a?.manual}),l}setState(t,a){this.#l({type:"setState",state:t,setStateOptions:a})}cancel(t){const a=this.#a?.promise;return this.#a?.cancel(t),a?a.then(Yn).catch(Yn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(t=>wx(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===sh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>wd(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Tx(this.state.dataUpdatedAt,t)}onFocus(){this.observers.find(a=>a.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(a=>a.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(a=>a!==t),this.observers.length||(this.#a&&(this.#o?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(t,a){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&a?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(m=>m.options.queryFn);h&&this.setOptions(h.options)}const l=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#o=!0,l.signal)})},s=()=>{const h=qv(this.options,a),p=(()=>{const y={client:this.#r,queryKey:this.queryKey,meta:this.meta};return i(y),y})();return this.#o=!1,this.options.persister?this.options.persister(h,p,this):h(p)},f=(()=>{const h={fetchOptions:a,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:s};return i(h),h})();this.options.behavior?.onFetch(f,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==f.fetchOptions?.meta)&&this.#l({type:"fetch",meta:f.fetchOptions?.meta}),this.#a=Gv({initialPromise:a?.initialPromise,fn:f.fetchFn,onCancel:h=>{h instanceof Rd&&h.revert&&this.setState({...this.#t,fetchStatus:"idle"}),l.abort()},onFail:(h,m)=>{this.#l({type:"failed",failureCount:h,error:m})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0});try{const h=await this.#a.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof Rd){if(h.silent)return this.#a.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#l({type:"error",error:h}),this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#l(t){const a=l=>{switch(t.type){case"failed":return{...l,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...Lx(l.data,this.options),fetchMeta:t.meta??null};case"success":const i={...l,data:t.data,dataUpdateCount:l.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=t.manual?i:void 0,i;case"error":const s=t.error;return{...l,error:s,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...t.state}}};this.state=a(this.state),en.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:t})})}};function Lx(t,a){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$v(a.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function a0(t){const a=typeof t.initialData=="function"?t.initialData():t.initialData,l=a!==void 0,i=l?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:a,dataUpdateCount:0,dataUpdatedAt:l?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:l?"success":"pending",fetchStatus:"idle"}}function r0(t){return{onFetch:(a,l)=>{const i=a.options,s=a.fetchOptions?.meta?.fetchMore?.direction,u=a.state.data?.pages||[],f=a.state.data?.pageParams||[];let h={pages:[],pageParams:[]},m=0;const p=async()=>{let y=!1;const v=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(a.signal.aborted?y=!0:a.signal.addEventListener("abort",()=>{y=!0}),a.signal)})},E=qv(a.options,a.fetchOptions),C=async(S,w,R)=>{if(y)return Promise.reject();if(w==null&&S.pages.length)return Promise.resolve(S);const G=(()=>{const A={client:a.client,queryKey:a.queryKey,pageParam:w,direction:R?"backward":"forward",meta:a.options.meta};return v(A),A})(),Q=await E(G),{maxPages:F}=a.options,N=R?Ox:Ax;return{pages:N(S.pages,Q,F),pageParams:N(S.pageParams,w,F)}};if(s&&u.length){const S=s==="backward",w=S?kx:l0,R={pages:u,pageParams:f},k=w(i,R);h=await C(R,k,S)}else{const S=t??u.length;do{const w=m===0?f[0]??i.initialPageParam:l0(i,h);if(m>0&&w==null)break;h=await C(h,w),m++}while(m<S)}return h};a.options.persister?a.fetchFn=()=>a.options.persister?.(p,{client:a.client,queryKey:a.queryKey,meta:a.options.meta,signal:a.signal},l):a.fetchFn=p}}}function l0(t,{pages:a,pageParams:l}){const i=a.length-1;return a.length>0?t.getNextPageParam(a[i],a,l[i],l):void 0}function kx(t,{pages:a,pageParams:l}){return a.length>0?t.getPreviousPageParam?.(a[0],a,l[0],l):void 0}var Bx=class extends Qv{#e;#t;#n;#r;constructor(t){super(),this.#e=t.client,this.mutationId=t.mutationId,this.#n=t.mutationCache,this.#t=[],this.state=t.state||Hx(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(a=>a!==t),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(t){const a=()=>{this.#a({type:"continue"})},l={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Gv({fn:()=>this.options.mutationFn?this.options.mutationFn(t,l):Promise.reject(new Error("No mutationFn found")),onFail:(u,f)=>{this.#a({type:"failed",failureCount:u,error:f})},onPause:()=>{this.#a({type:"pause"})},onContinue:a,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",s=!this.#r.canStart();try{if(i)a();else{this.#a({type:"pending",variables:t,isPaused:s}),await this.#n.config.onMutate?.(t,this,l);const f=await this.options.onMutate?.(t,l);f!==this.state.context&&this.#a({type:"pending",context:f,variables:t,isPaused:s})}const u=await this.#r.start();return await this.#n.config.onSuccess?.(u,t,this.state.context,this,l),await this.options.onSuccess?.(u,t,this.state.context,l),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,l),await this.options.onSettled?.(u,null,t,this.state.context,l),this.#a({type:"success",data:u}),u}catch(u){try{throw await this.#n.config.onError?.(u,t,this.state.context,this,l),await this.options.onError?.(u,t,this.state.context,l),await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,l),await this.options.onSettled?.(void 0,u,t,this.state.context,l),u}finally{this.#a({type:"error",error:u})}}finally{this.#n.runNext(this)}}#a(t){const a=l=>{switch(t.type){case"failed":return{...l,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...l,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:t.error,failureCount:l.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=a(this.state),en.batch(()=>{this.#t.forEach(l=>{l.onMutationUpdate(t)}),this.#n.notify({mutation:this,type:"updated",action:t})})}};function Hx(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var qx=class extends xu{constructor(t={}){super(),this.config=t,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(t,a,l){const i=new Bx({client:t,mutationCache:this,mutationId:++this.#n,options:t.defaultMutationOptions(a),state:l});return this.add(i),i}add(t){this.#e.add(t);const a=Ys(t);if(typeof a=="string"){const l=this.#t.get(a);l?l.push(t):this.#t.set(a,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#e.delete(t)){const a=Ys(t);if(typeof a=="string"){const l=this.#t.get(a);if(l)if(l.length>1){const i=l.indexOf(t);i!==-1&&l.splice(i,1)}else l[0]===t&&this.#t.delete(a)}}this.notify({type:"removed",mutation:t})}canRun(t){const a=Ys(t);if(typeof a=="string"){const i=this.#t.get(a)?.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){const a=Ys(t);return typeof a=="string"?this.#t.get(a)?.find(i=>i!==t&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){en.batch(()=>{this.#e.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(t){const a={exact:!0,...t};return this.getAll().find(l=>e0(a,l))}findAll(t={}){return this.getAll().filter(a=>e0(t,a))}notify(t){en.batch(()=>{this.listeners.forEach(a=>{a(t)})})}resumePausedMutations(){const t=this.getAll().filter(a=>a.state.isPaused);return en.batch(()=>Promise.all(t.map(a=>a.continue().catch(Yn))))}};function Ys(t){return t.options.scope?.id}var Px=class extends xu{constructor(t={}){super(),this.config=t,this.#e=new Map}#e;build(t,a,l){const i=a.queryKey,s=a.queryHash??oh(i,a);let u=this.get(s);return u||(u=new zx({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(a),state:l,defaultOptions:t.getQueryDefaults(i)}),this.add(u)),u}add(t){this.#e.has(t.queryHash)||(this.#e.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const a=this.#e.get(t.queryHash);a&&(t.destroy(),a===t&&this.#e.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){en.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#e.get(t)}getAll(){return[...this.#e.values()]}find(t){const a={exact:!0,...t};return this.getAll().find(l=>Ig(a,l))}findAll(t={}){const a=this.getAll();return Object.keys(t).length>0?a.filter(l=>Ig(t,l)):a}notify(t){en.batch(()=>{this.listeners.forEach(a=>{a(t)})})}onFocus(){en.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){en.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$x=class{#e;#t;#n;#r;#a;#i;#o;#l;constructor(t={}){this.#e=t.queryCache||new Px,this.#t=t.mutationCache||new qx,this.#n=t.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=Pv.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#l=uu.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#l?.(),this.#l=void 0)}isFetching(t){return this.#e.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#t.findAll({...t,status:"pending"}).length}getQueryData(t){const a=this.defaultQueryOptions({queryKey:t});return this.#e.get(a.queryHash)?.state.data}ensureQueryData(t){const a=this.defaultQueryOptions(t),l=this.#e.build(this,a),i=l.state.data;return i===void 0?this.fetchQuery(t):(t.revalidateIfStale&&l.isStaleByTime(wd(a.staleTime,l))&&this.prefetchQuery(a),Promise.resolve(i))}getQueriesData(t){return this.#e.findAll(t).map(({queryKey:a,state:l})=>{const i=l.data;return[a,i]})}setQueryData(t,a,l){const i=this.defaultQueryOptions({queryKey:t}),u=this.#e.get(i.queryHash)?.state.data,f=Sx(a,u);if(f!==void 0)return this.#e.build(this,i).setData(f,{...l,manual:!0})}setQueriesData(t,a,l){return en.batch(()=>this.#e.findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,a,l)]))}getQueryState(t){const a=this.defaultQueryOptions({queryKey:t});return this.#e.get(a.queryHash)?.state}removeQueries(t){const a=this.#e;en.batch(()=>{a.findAll(t).forEach(l=>{a.remove(l)})})}resetQueries(t,a){const l=this.#e;return en.batch(()=>(l.findAll(t).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...t},a)))}cancelQueries(t,a={}){const l={revert:!0,...a},i=en.batch(()=>this.#e.findAll(t).map(s=>s.cancel(l)));return Promise.all(i).then(Yn).catch(Yn)}invalidateQueries(t,a={}){return en.batch(()=>(this.#e.findAll(t).forEach(l=>{l.invalidate()}),t?.refetchType==="none"?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},a)))}refetchQueries(t,a={}){const l={...a,cancelRefetch:a.cancelRefetch??!0},i=en.batch(()=>this.#e.findAll(t).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let u=s.fetch(void 0,l);return l.throwOnError||(u=u.catch(Yn)),s.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(Yn)}fetchQuery(t){const a=this.defaultQueryOptions(t);a.retry===void 0&&(a.retry=!1);const l=this.#e.build(this,a);return l.isStaleByTime(wd(a.staleTime,l))?l.fetch(a):Promise.resolve(l.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Yn).catch(Yn)}fetchInfiniteQuery(t){return t.behavior=r0(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Yn).catch(Yn)}ensureInfiniteQueryData(t){return t.behavior=r0(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return uu.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(t){this.#n=t}setQueryDefaults(t,a){this.#r.set(so(t),{queryKey:t,defaultOptions:a})}getQueryDefaults(t){const a=[...this.#r.values()],l={};return a.forEach(i=>{uo(t,i.queryKey)&&Object.assign(l,i.defaultOptions)}),l}setMutationDefaults(t,a){this.#a.set(so(t),{mutationKey:t,defaultOptions:a})}getMutationDefaults(t){const a=[...this.#a.values()],l={};return a.forEach(i=>{uo(t,i.mutationKey)&&Object.assign(l,i.defaultOptions)}),l}defaultQueryOptions(t){if(t._defaulted)return t;const a={...this.#n.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return a.queryHash||(a.queryHash=oh(a.queryKey,a)),a.refetchOnReconnect===void 0&&(a.refetchOnReconnect=a.networkMode!=="always"),a.throwOnError===void 0&&(a.throwOnError=!!a.suspense),!a.networkMode&&a.persister&&(a.networkMode="offlineFirst"),a.queryFn===sh&&(a.enabled=!1),a}defaultMutationOptions(t){return t?._defaulted?t:{...this.#n.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},Yv=D.createContext(void 0),yO=t=>{const a=D.useContext(Yv);if(t)return t;if(!a)throw new Error("No QueryClient set, use QueryClientProvider to set one");return a},Gx=({client:t,children:a})=>(D.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),ze.jsx(Yv.Provider,{value:t,children:a}));const Qx=new $x({defaultOptions:{queries:{retry:!1,throwOnError:!1},mutations:{retry:!1,throwOnError:!1}}});function Vv(t,a){return function(){return t.apply(a,arguments)}}const{toString:Yx}=Object.prototype,{getPrototypeOf:uh}=Object,{iterator:Ou,toStringTag:Kv}=Symbol,Mu=(t=>a=>{const l=Yx.call(a);return t[l]||(t[l]=l.slice(8,-1).toLowerCase())})(Object.create(null)),Kn=t=>(t=t.toLowerCase(),a=>Mu(a)===t),Du=t=>a=>typeof a===t,{isArray:Ql}=Array,$l=Du("undefined");function Eo(t){return t!==null&&!$l(t)&&t.constructor!==null&&!$l(t.constructor)&&cn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Xv=Kn("ArrayBuffer");function Vx(t){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(t):a=t&&t.buffer&&Xv(t.buffer),a}const Kx=Du("string"),cn=Du("function"),Fv=Du("number"),To=t=>t!==null&&typeof t=="object",Xx=t=>t===!0||t===!1,tu=t=>{if(Mu(t)!=="object")return!1;const a=uh(t);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Kv in t)&&!(Ou in t)},Fx=t=>{if(!To(t)||Eo(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},Zx=Kn("Date"),Jx=Kn("File"),Wx=Kn("Blob"),Ix=Kn("FileList"),e2=t=>To(t)&&cn(t.pipe),t2=t=>{let a;return t&&(typeof FormData=="function"&&t instanceof FormData||cn(t.append)&&((a=Mu(t))==="formdata"||a==="object"&&cn(t.toString)&&t.toString()==="[object FormData]"))},n2=Kn("URLSearchParams"),[a2,r2,l2,i2]=["ReadableStream","Request","Response","Headers"].map(Kn),o2=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wo(t,a,{allOwnKeys:l=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),Ql(t))for(i=0,s=t.length;i<s;i++)a.call(null,t[i],i,t);else{if(Eo(t))return;const u=l?Object.getOwnPropertyNames(t):Object.keys(t),f=u.length;let h;for(i=0;i<f;i++)h=u[i],a.call(null,t[h],h,t)}}function Zv(t,a){if(Eo(t))return null;a=a.toLowerCase();const l=Object.keys(t);let i=l.length,s;for(;i-- >0;)if(s=l[i],a===s.toLowerCase())return s;return null}const Pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Jv=t=>!$l(t)&&t!==Pr;function xd(){const{caseless:t,skipUndefined:a}=Jv(this)&&this||{},l={},i=(s,u)=>{const f=t&&Zv(l,u)||u;tu(l[f])&&tu(s)?l[f]=xd(l[f],s):tu(s)?l[f]=xd({},s):Ql(s)?l[f]=s.slice():(!a||!$l(s))&&(l[f]=s)};for(let s=0,u=arguments.length;s<u;s++)arguments[s]&&wo(arguments[s],i);return l}const s2=(t,a,l,{allOwnKeys:i}={})=>(wo(a,(s,u)=>{l&&cn(s)?t[u]=Vv(s,l):t[u]=s},{allOwnKeys:i}),t),u2=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),c2=(t,a,l,i)=>{t.prototype=Object.create(a.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:a.prototype}),l&&Object.assign(t.prototype,l)},f2=(t,a,l,i)=>{let s,u,f;const h={};if(a=a||{},t==null)return a;do{for(s=Object.getOwnPropertyNames(t),u=s.length;u-- >0;)f=s[u],(!i||i(f,t,a))&&!h[f]&&(a[f]=t[f],h[f]=!0);t=l!==!1&&uh(t)}while(t&&(!l||l(t,a))&&t!==Object.prototype);return a},d2=(t,a,l)=>{t=String(t),(l===void 0||l>t.length)&&(l=t.length),l-=a.length;const i=t.indexOf(a,l);return i!==-1&&i===l},h2=t=>{if(!t)return null;if(Ql(t))return t;let a=t.length;if(!Fv(a))return null;const l=new Array(a);for(;a-- >0;)l[a]=t[a];return l},m2=(t=>a=>t&&a instanceof t)(typeof Uint8Array<"u"&&uh(Uint8Array)),p2=(t,a)=>{const i=(t&&t[Ou]).call(t);let s;for(;(s=i.next())&&!s.done;){const u=s.value;a.call(t,u[0],u[1])}},y2=(t,a)=>{let l;const i=[];for(;(l=t.exec(a))!==null;)i.push(l);return i},g2=Kn("HTMLFormElement"),v2=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(l,i,s){return i.toUpperCase()+s}),i0=(({hasOwnProperty:t})=>(a,l)=>t.call(a,l))(Object.prototype),b2=Kn("RegExp"),Wv=(t,a)=>{const l=Object.getOwnPropertyDescriptors(t),i={};wo(l,(s,u)=>{let f;(f=a(s,u,t))!==!1&&(i[u]=f||s)}),Object.defineProperties(t,i)},S2=t=>{Wv(t,(a,l)=>{if(cn(t)&&["arguments","caller","callee"].indexOf(l)!==-1)return!1;const i=t[l];if(cn(i)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+l+"'")})}})},E2=(t,a)=>{const l={},i=s=>{s.forEach(u=>{l[u]=!0})};return Ql(t)?i(t):i(String(t).split(a)),l},T2=()=>{},w2=(t,a)=>t!=null&&Number.isFinite(t=+t)?t:a;function C2(t){return!!(t&&cn(t.append)&&t[Kv]==="FormData"&&t[Ou])}const R2=t=>{const a=new Array(10),l=(i,s)=>{if(To(i)){if(a.indexOf(i)>=0)return;if(Eo(i))return i;if(!("toJSON"in i)){a[s]=i;const u=Ql(i)?[]:{};return wo(i,(f,h)=>{const m=l(f,s+1);!$l(m)&&(u[h]=m)}),a[s]=void 0,u}}return i};return l(t,0)},x2=Kn("AsyncFunction"),A2=t=>t&&(To(t)||cn(t))&&cn(t.then)&&cn(t.catch),Iv=((t,a)=>t?setImmediate:a?((l,i)=>(Pr.addEventListener("message",({source:s,data:u})=>{s===Pr&&u===l&&i.length&&i.shift()()},!1),s=>{i.push(s),Pr.postMessage(l,"*")}))(`axios@${Math.random()}`,[]):l=>setTimeout(l))(typeof setImmediate=="function",cn(Pr.postMessage)),O2=typeof queueMicrotask<"u"?queueMicrotask.bind(Pr):typeof process<"u"&&process.nextTick||Iv,M2=t=>t!=null&&cn(t[Ou]),$={isArray:Ql,isArrayBuffer:Xv,isBuffer:Eo,isFormData:t2,isArrayBufferView:Vx,isString:Kx,isNumber:Fv,isBoolean:Xx,isObject:To,isPlainObject:tu,isEmptyObject:Fx,isReadableStream:a2,isRequest:r2,isResponse:l2,isHeaders:i2,isUndefined:$l,isDate:Zx,isFile:Jx,isBlob:Wx,isRegExp:b2,isFunction:cn,isStream:e2,isURLSearchParams:n2,isTypedArray:m2,isFileList:Ix,forEach:wo,merge:xd,extend:s2,trim:o2,stripBOM:u2,inherits:c2,toFlatObject:f2,kindOf:Mu,kindOfTest:Kn,endsWith:d2,toArray:h2,forEachEntry:p2,matchAll:y2,isHTMLForm:g2,hasOwnProperty:i0,hasOwnProp:i0,reduceDescriptors:Wv,freezeMethods:S2,toObjectSet:E2,toCamelCase:v2,noop:T2,toFiniteNumber:w2,findKey:Zv,global:Pr,isContextDefined:Jv,isSpecCompliantForm:C2,toJSONObject:R2,isAsyncFn:x2,isThenable:A2,setImmediate:Iv,asap:O2,isIterable:M2};function Ne(t,a,l,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",a&&(this.code=a),l&&(this.config=l),i&&(this.request=i),s&&(this.response=s,this.status=s.status?s.status:null)}$.inherits(Ne,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const eb=Ne.prototype,tb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{tb[t]={value:t}});Object.defineProperties(Ne,tb);Object.defineProperty(eb,"isAxiosError",{value:!0});Ne.from=(t,a,l,i,s,u)=>{const f=Object.create(eb);$.toFlatObject(t,f,function(y){return y!==Error.prototype},p=>p!=="isAxiosError");const h=t&&t.message?t.message:"Error",m=a==null&&t?t.code:a;return Ne.call(f,h,m,l,i,s),t&&f.cause==null&&Object.defineProperty(f,"cause",{value:t,configurable:!0}),f.name=t&&t.name||"Error",u&&Object.assign(f,u),f};const D2=null;function Ad(t){return $.isPlainObject(t)||$.isArray(t)}function nb(t){return $.endsWith(t,"[]")?t.slice(0,-2):t}function o0(t,a,l){return t?t.concat(a).map(function(s,u){return s=nb(s),!l&&u?"["+s+"]":s}).join(l?".":""):a}function _2(t){return $.isArray(t)&&!t.some(Ad)}const N2=$.toFlatObject($,{},null,function(a){return/^is[A-Z]/.test(a)});function _u(t,a,l){if(!$.isObject(t))throw new TypeError("target must be an object");a=a||new FormData,l=$.toFlatObject(l,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,R){return!$.isUndefined(R[w])});const i=l.metaTokens,s=l.visitor||y,u=l.dots,f=l.indexes,m=(l.Blob||typeof Blob<"u"&&Blob)&&$.isSpecCompliantForm(a);if(!$.isFunction(s))throw new TypeError("visitor must be a function");function p(S){if(S===null)return"";if($.isDate(S))return S.toISOString();if($.isBoolean(S))return S.toString();if(!m&&$.isBlob(S))throw new Ne("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(S)||$.isTypedArray(S)?m&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function y(S,w,R){let k=S;if(S&&!R&&typeof S=="object"){if($.endsWith(w,"{}"))w=i?w:w.slice(0,-2),S=JSON.stringify(S);else if($.isArray(S)&&_2(S)||($.isFileList(S)||$.endsWith(w,"[]"))&&(k=$.toArray(S)))return w=nb(w),k.forEach(function(Q,F){!($.isUndefined(Q)||Q===null)&&a.append(f===!0?o0([w],F,u):f===null?w:w+"[]",p(Q))}),!1}return Ad(S)?!0:(a.append(o0(R,w,u),p(S)),!1)}const v=[],E=Object.assign(N2,{defaultVisitor:y,convertValue:p,isVisitable:Ad});function C(S,w){if(!$.isUndefined(S)){if(v.indexOf(S)!==-1)throw Error("Circular reference detected in "+w.join("."));v.push(S),$.forEach(S,function(k,G){(!($.isUndefined(k)||k===null)&&s.call(a,k,$.isString(G)?G.trim():G,w,E))===!0&&C(k,w?w.concat(G):[G])}),v.pop()}}if(!$.isObject(t))throw new TypeError("data must be an object");return C(t),a}function s0(t){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return a[i]})}function ch(t,a){this._pairs=[],t&&_u(t,this,a)}const ab=ch.prototype;ab.append=function(a,l){this._pairs.push([a,l])};ab.toString=function(a){const l=a?function(i){return a.call(this,i,s0)}:s0;return this._pairs.map(function(s){return l(s[0])+"="+l(s[1])},"").join("&")};function U2(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function rb(t,a,l){if(!a)return t;const i=l&&l.encode||U2;$.isFunction(l)&&(l={serialize:l});const s=l&&l.serialize;let u;if(s?u=s(a,l):u=$.isURLSearchParams(a)?a.toString():new ch(a,l).toString(i),u){const f=t.indexOf("#");f!==-1&&(t=t.slice(0,f)),t+=(t.indexOf("?")===-1?"?":"&")+u}return t}class u0{constructor(){this.handlers=[]}use(a,l,i){return this.handlers.push({fulfilled:a,rejected:l,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){$.forEach(this.handlers,function(i){i!==null&&a(i)})}}const lb={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},j2=typeof URLSearchParams<"u"?URLSearchParams:ch,z2=typeof FormData<"u"?FormData:null,L2=typeof Blob<"u"?Blob:null,k2={isBrowser:!0,classes:{URLSearchParams:j2,FormData:z2,Blob:L2},protocols:["http","https","file","blob","url","data"]},fh=typeof window<"u"&&typeof document<"u",Od=typeof navigator=="object"&&navigator||void 0,B2=fh&&(!Od||["ReactNative","NativeScript","NS"].indexOf(Od.product)<0),H2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",q2=fh&&window.location.href||"http://localhost",P2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fh,hasStandardBrowserEnv:B2,hasStandardBrowserWebWorkerEnv:H2,navigator:Od,origin:q2},Symbol.toStringTag,{value:"Module"})),Zt={...P2,...k2};function $2(t,a){return _u(t,new Zt.classes.URLSearchParams,{visitor:function(l,i,s,u){return Zt.isNode&&$.isBuffer(l)?(this.append(i,l.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...a})}function G2(t){return $.matchAll(/\w+|\[(\w*)]/g,t).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Q2(t){const a={},l=Object.keys(t);let i;const s=l.length;let u;for(i=0;i<s;i++)u=l[i],a[u]=t[u];return a}function ib(t){function a(l,i,s,u){let f=l[u++];if(f==="__proto__")return!0;const h=Number.isFinite(+f),m=u>=l.length;return f=!f&&$.isArray(s)?s.length:f,m?($.hasOwnProp(s,f)?s[f]=[s[f],i]:s[f]=i,!h):((!s[f]||!$.isObject(s[f]))&&(s[f]=[]),a(l,i,s[f],u)&&$.isArray(s[f])&&(s[f]=Q2(s[f])),!h)}if($.isFormData(t)&&$.isFunction(t.entries)){const l={};return $.forEachEntry(t,(i,s)=>{a(G2(i),s,l,0)}),l}return null}function Y2(t,a,l){if($.isString(t))try{return(a||JSON.parse)(t),$.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(l||JSON.stringify)(t)}const Co={transitional:lb,adapter:["xhr","http","fetch"],transformRequest:[function(a,l){const i=l.getContentType()||"",s=i.indexOf("application/json")>-1,u=$.isObject(a);if(u&&$.isHTMLForm(a)&&(a=new FormData(a)),$.isFormData(a))return s?JSON.stringify(ib(a)):a;if($.isArrayBuffer(a)||$.isBuffer(a)||$.isStream(a)||$.isFile(a)||$.isBlob(a)||$.isReadableStream(a))return a;if($.isArrayBufferView(a))return a.buffer;if($.isURLSearchParams(a))return l.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let h;if(u){if(i.indexOf("application/x-www-form-urlencoded")>-1)return $2(a,this.formSerializer).toString();if((h=$.isFileList(a))||i.indexOf("multipart/form-data")>-1){const m=this.env&&this.env.FormData;return _u(h?{"files[]":a}:a,m&&new m,this.formSerializer)}}return u||s?(l.setContentType("application/json",!1),Y2(a)):a}],transformResponse:[function(a){const l=this.transitional||Co.transitional,i=l&&l.forcedJSONParsing,s=this.responseType==="json";if($.isResponse(a)||$.isReadableStream(a))return a;if(a&&$.isString(a)&&(i&&!this.responseType||s)){const f=!(l&&l.silentJSONParsing)&&s;try{return JSON.parse(a,this.parseReviver)}catch(h){if(f)throw h.name==="SyntaxError"?Ne.from(h,Ne.ERR_BAD_RESPONSE,this,null,this.response):h}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Zt.classes.FormData,Blob:Zt.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],t=>{Co.headers[t]={}});const V2=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),K2=t=>{const a={};let l,i,s;return t&&t.split(`
112
+ `).forEach(function(f){s=f.indexOf(":"),l=f.substring(0,s).trim().toLowerCase(),i=f.substring(s+1).trim(),!(!l||a[l]&&V2[l])&&(l==="set-cookie"?a[l]?a[l].push(i):a[l]=[i]:a[l]=a[l]?a[l]+", "+i:i)}),a},c0=Symbol("internals");function Xi(t){return t&&String(t).trim().toLowerCase()}function nu(t){return t===!1||t==null?t:$.isArray(t)?t.map(nu):String(t)}function X2(t){const a=Object.create(null),l=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=l.exec(t);)a[i[1]]=i[2];return a}const F2=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function nd(t,a,l,i,s){if($.isFunction(i))return i.call(this,a,l);if(s&&(a=l),!!$.isString(a)){if($.isString(i))return a.indexOf(i)!==-1;if($.isRegExp(i))return i.test(a)}}function Z2(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,l,i)=>l.toUpperCase()+i)}function J2(t,a){const l=$.toCamelCase(" "+a);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+l,{value:function(s,u,f){return this[i].call(this,a,s,u,f)},configurable:!0})})}let fn=class{constructor(a){a&&this.set(a)}set(a,l,i){const s=this;function u(h,m,p){const y=Xi(m);if(!y)throw new Error("header name must be a non-empty string");const v=$.findKey(s,y);(!v||s[v]===void 0||p===!0||p===void 0&&s[v]!==!1)&&(s[v||m]=nu(h))}const f=(h,m)=>$.forEach(h,(p,y)=>u(p,y,m));if($.isPlainObject(a)||a instanceof this.constructor)f(a,l);else if($.isString(a)&&(a=a.trim())&&!F2(a))f(K2(a),l);else if($.isObject(a)&&$.isIterable(a)){let h={},m,p;for(const y of a){if(!$.isArray(y))throw TypeError("Object iterator must return a key-value pair");h[p=y[0]]=(m=h[p])?$.isArray(m)?[...m,y[1]]:[m,y[1]]:y[1]}f(h,l)}else a!=null&&u(l,a,i);return this}get(a,l){if(a=Xi(a),a){const i=$.findKey(this,a);if(i){const s=this[i];if(!l)return s;if(l===!0)return X2(s);if($.isFunction(l))return l.call(this,s,i);if($.isRegExp(l))return l.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,l){if(a=Xi(a),a){const i=$.findKey(this,a);return!!(i&&this[i]!==void 0&&(!l||nd(this,this[i],i,l)))}return!1}delete(a,l){const i=this;let s=!1;function u(f){if(f=Xi(f),f){const h=$.findKey(i,f);h&&(!l||nd(i,i[h],h,l))&&(delete i[h],s=!0)}}return $.isArray(a)?a.forEach(u):u(a),s}clear(a){const l=Object.keys(this);let i=l.length,s=!1;for(;i--;){const u=l[i];(!a||nd(this,this[u],u,a,!0))&&(delete this[u],s=!0)}return s}normalize(a){const l=this,i={};return $.forEach(this,(s,u)=>{const f=$.findKey(i,u);if(f){l[f]=nu(s),delete l[u];return}const h=a?Z2(u):String(u).trim();h!==u&&delete l[u],l[h]=nu(s),i[h]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const l=Object.create(null);return $.forEach(this,(i,s)=>{i!=null&&i!==!1&&(l[s]=a&&$.isArray(i)?i.join(", "):i)}),l}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,l])=>a+": "+l).join(`
113
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...l){const i=new this(a);return l.forEach(s=>i.set(s)),i}static accessor(a){const i=(this[c0]=this[c0]={accessors:{}}).accessors,s=this.prototype;function u(f){const h=Xi(f);i[h]||(J2(s,f),i[h]=!0)}return $.isArray(a)?a.forEach(u):u(a),this}};fn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(fn.prototype,({value:t},a)=>{let l=a[0].toUpperCase()+a.slice(1);return{get:()=>t,set(i){this[l]=i}}});$.freezeMethods(fn);function ad(t,a){const l=this||Co,i=a||l,s=fn.from(i.headers);let u=i.data;return $.forEach(t,function(h){u=h.call(l,u,s.normalize(),a?a.status:void 0)}),s.normalize(),u}function ob(t){return!!(t&&t.__CANCEL__)}function Yl(t,a,l){Ne.call(this,t??"canceled",Ne.ERR_CANCELED,a,l),this.name="CanceledError"}$.inherits(Yl,Ne,{__CANCEL__:!0});function sb(t,a,l){const i=l.config.validateStatus;!l.status||!i||i(l.status)?t(l):a(new Ne("Request failed with status code "+l.status,[Ne.ERR_BAD_REQUEST,Ne.ERR_BAD_RESPONSE][Math.floor(l.status/100)-4],l.config,l.request,l))}function W2(t){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return a&&a[1]||""}function I2(t,a){t=t||10;const l=new Array(t),i=new Array(t);let s=0,u=0,f;return a=a!==void 0?a:1e3,function(m){const p=Date.now(),y=i[u];f||(f=p),l[s]=m,i[s]=p;let v=u,E=0;for(;v!==s;)E+=l[v++],v=v%t;if(s=(s+1)%t,s===u&&(u=(u+1)%t),p-f<a)return;const C=y&&p-y;return C?Math.round(E*1e3/C):void 0}}function eA(t,a){let l=0,i=1e3/a,s,u;const f=(p,y=Date.now())=>{l=y,s=null,u&&(clearTimeout(u),u=null),t(...p)};return[(...p)=>{const y=Date.now(),v=y-l;v>=i?f(p,y):(s=p,u||(u=setTimeout(()=>{u=null,f(s)},i-v)))},()=>s&&f(s)]}const cu=(t,a,l=3)=>{let i=0;const s=I2(50,250);return eA(u=>{const f=u.loaded,h=u.lengthComputable?u.total:void 0,m=f-i,p=s(m),y=f<=h;i=f;const v={loaded:f,total:h,progress:h?f/h:void 0,bytes:m,rate:p||void 0,estimated:p&&h&&y?(h-f)/p:void 0,event:u,lengthComputable:h!=null,[a?"download":"upload"]:!0};t(v)},l)},f0=(t,a)=>{const l=t!=null;return[i=>a[0]({lengthComputable:l,total:t,loaded:i}),a[1]]},d0=t=>(...a)=>$.asap(()=>t(...a)),tA=Zt.hasStandardBrowserEnv?((t,a)=>l=>(l=new URL(l,Zt.origin),t.protocol===l.protocol&&t.host===l.host&&(a||t.port===l.port)))(new URL(Zt.origin),Zt.navigator&&/(msie|trident)/i.test(Zt.navigator.userAgent)):()=>!0,nA=Zt.hasStandardBrowserEnv?{write(t,a,l,i,s,u){const f=[t+"="+encodeURIComponent(a)];$.isNumber(l)&&f.push("expires="+new Date(l).toGMTString()),$.isString(i)&&f.push("path="+i),$.isString(s)&&f.push("domain="+s),u===!0&&f.push("secure"),document.cookie=f.join("; ")},read(t){const a=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function aA(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function rA(t,a){return a?t.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):t}function ub(t,a,l){let i=!aA(a);return t&&(i||l==!1)?rA(t,a):a}const h0=t=>t instanceof fn?{...t}:t;function Yr(t,a){a=a||{};const l={};function i(p,y,v,E){return $.isPlainObject(p)&&$.isPlainObject(y)?$.merge.call({caseless:E},p,y):$.isPlainObject(y)?$.merge({},y):$.isArray(y)?y.slice():y}function s(p,y,v,E){if($.isUndefined(y)){if(!$.isUndefined(p))return i(void 0,p,v,E)}else return i(p,y,v,E)}function u(p,y){if(!$.isUndefined(y))return i(void 0,y)}function f(p,y){if($.isUndefined(y)){if(!$.isUndefined(p))return i(void 0,p)}else return i(void 0,y)}function h(p,y,v){if(v in a)return i(p,y);if(v in t)return i(void 0,p)}const m={url:u,method:u,data:u,baseURL:f,transformRequest:f,transformResponse:f,paramsSerializer:f,timeout:f,timeoutMessage:f,withCredentials:f,withXSRFToken:f,adapter:f,responseType:f,xsrfCookieName:f,xsrfHeaderName:f,onUploadProgress:f,onDownloadProgress:f,decompress:f,maxContentLength:f,maxBodyLength:f,beforeRedirect:f,transport:f,httpAgent:f,httpsAgent:f,cancelToken:f,socketPath:f,responseEncoding:f,validateStatus:h,headers:(p,y,v)=>s(h0(p),h0(y),v,!0)};return $.forEach(Object.keys({...t,...a}),function(y){const v=m[y]||s,E=v(t[y],a[y],y);$.isUndefined(E)&&v!==h||(l[y]=E)}),l}const cb=t=>{const a=Yr({},t);let{data:l,withXSRFToken:i,xsrfHeaderName:s,xsrfCookieName:u,headers:f,auth:h}=a;if(a.headers=f=fn.from(f),a.url=rb(ub(a.baseURL,a.url,a.allowAbsoluteUrls),t.params,t.paramsSerializer),h&&f.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):""))),$.isFormData(l)){if(Zt.hasStandardBrowserEnv||Zt.hasStandardBrowserWebWorkerEnv)f.setContentType(void 0);else if($.isFunction(l.getHeaders)){const m=l.getHeaders(),p=["content-type","content-length"];Object.entries(m).forEach(([y,v])=>{p.includes(y.toLowerCase())&&f.set(y,v)})}}if(Zt.hasStandardBrowserEnv&&(i&&$.isFunction(i)&&(i=i(a)),i||i!==!1&&tA(a.url))){const m=s&&u&&nA.read(u);m&&f.set(s,m)}return a},lA=typeof XMLHttpRequest<"u",iA=lA&&function(t){return new Promise(function(l,i){const s=cb(t);let u=s.data;const f=fn.from(s.headers).normalize();let{responseType:h,onUploadProgress:m,onDownloadProgress:p}=s,y,v,E,C,S;function w(){C&&C(),S&&S(),s.cancelToken&&s.cancelToken.unsubscribe(y),s.signal&&s.signal.removeEventListener("abort",y)}let R=new XMLHttpRequest;R.open(s.method.toUpperCase(),s.url,!0),R.timeout=s.timeout;function k(){if(!R)return;const Q=fn.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),N={data:!h||h==="text"||h==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:Q,config:t,request:R};sb(function(W){l(W),w()},function(W){i(W),w()},N),R=null}"onloadend"in R?R.onloadend=k:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(k)},R.onabort=function(){R&&(i(new Ne("Request aborted",Ne.ECONNABORTED,t,R)),R=null)},R.onerror=function(F){const N=F&&F.message?F.message:"Network Error",A=new Ne(N,Ne.ERR_NETWORK,t,R);A.event=F||null,i(A),R=null},R.ontimeout=function(){let F=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const N=s.transitional||lb;s.timeoutErrorMessage&&(F=s.timeoutErrorMessage),i(new Ne(F,N.clarifyTimeoutError?Ne.ETIMEDOUT:Ne.ECONNABORTED,t,R)),R=null},u===void 0&&f.setContentType(null),"setRequestHeader"in R&&$.forEach(f.toJSON(),function(F,N){R.setRequestHeader(N,F)}),$.isUndefined(s.withCredentials)||(R.withCredentials=!!s.withCredentials),h&&h!=="json"&&(R.responseType=s.responseType),p&&([E,S]=cu(p,!0),R.addEventListener("progress",E)),m&&R.upload&&([v,C]=cu(m),R.upload.addEventListener("progress",v),R.upload.addEventListener("loadend",C)),(s.cancelToken||s.signal)&&(y=Q=>{R&&(i(!Q||Q.type?new Yl(null,t,R):Q),R.abort(),R=null)},s.cancelToken&&s.cancelToken.subscribe(y),s.signal&&(s.signal.aborted?y():s.signal.addEventListener("abort",y)));const G=W2(s.url);if(G&&Zt.protocols.indexOf(G)===-1){i(new Ne("Unsupported protocol "+G+":",Ne.ERR_BAD_REQUEST,t));return}R.send(u||null)})},oA=(t,a)=>{const{length:l}=t=t?t.filter(Boolean):[];if(a||l){let i=new AbortController,s;const u=function(p){if(!s){s=!0,h();const y=p instanceof Error?p:this.reason;i.abort(y instanceof Ne?y:new Yl(y instanceof Error?y.message:y))}};let f=a&&setTimeout(()=>{f=null,u(new Ne(`timeout ${a} of ms exceeded`,Ne.ETIMEDOUT))},a);const h=()=>{t&&(f&&clearTimeout(f),f=null,t.forEach(p=>{p.unsubscribe?p.unsubscribe(u):p.removeEventListener("abort",u)}),t=null)};t.forEach(p=>p.addEventListener("abort",u));const{signal:m}=i;return m.unsubscribe=()=>$.asap(h),m}},sA=function*(t,a){let l=t.byteLength;if(l<a){yield t;return}let i=0,s;for(;i<l;)s=i+a,yield t.slice(i,s),i=s},uA=async function*(t,a){for await(const l of cA(t))yield*sA(l,a)},cA=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const a=t.getReader();try{for(;;){const{done:l,value:i}=await a.read();if(l)break;yield i}}finally{await a.cancel()}},m0=(t,a,l,i)=>{const s=uA(t,a);let u=0,f,h=m=>{f||(f=!0,i&&i(m))};return new ReadableStream({async pull(m){try{const{done:p,value:y}=await s.next();if(p){h(),m.close();return}let v=y.byteLength;if(l){let E=u+=v;l(E)}m.enqueue(new Uint8Array(y))}catch(p){throw h(p),p}},cancel(m){return h(m),s.return()}},{highWaterMark:2})},p0=64*1024,{isFunction:Vs}=$,fA=(({Request:t,Response:a})=>({Request:t,Response:a}))($.global),{ReadableStream:y0,TextEncoder:g0}=$.global,v0=(t,...a)=>{try{return!!t(...a)}catch{return!1}},dA=t=>{t=$.merge.call({skipUndefined:!0},fA,t);const{fetch:a,Request:l,Response:i}=t,s=a?Vs(a):typeof fetch=="function",u=Vs(l),f=Vs(i);if(!s)return!1;const h=s&&Vs(y0),m=s&&(typeof g0=="function"?(S=>w=>S.encode(w))(new g0):async S=>new Uint8Array(await new l(S).arrayBuffer())),p=u&&h&&v0(()=>{let S=!1;const w=new l(Zt.origin,{body:new y0,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!w}),y=f&&h&&v0(()=>$.isReadableStream(new i("").body)),v={stream:y&&(S=>S.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!v[S]&&(v[S]=(w,R)=>{let k=w&&w[S];if(k)return k.call(w);throw new Ne(`Response type '${S}' is not supported`,Ne.ERR_NOT_SUPPORT,R)})});const E=async S=>{if(S==null)return 0;if($.isBlob(S))return S.size;if($.isSpecCompliantForm(S))return(await new l(Zt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if($.isArrayBufferView(S)||$.isArrayBuffer(S))return S.byteLength;if($.isURLSearchParams(S)&&(S=S+""),$.isString(S))return(await m(S)).byteLength},C=async(S,w)=>{const R=$.toFiniteNumber(S.getContentLength());return R??E(w)};return async S=>{let{url:w,method:R,data:k,signal:G,cancelToken:Q,timeout:F,onDownloadProgress:N,onUploadProgress:A,responseType:W,headers:le,withCredentials:ae="same-origin",fetchOptions:se}=cb(S),ue=a||fetch;W=W?(W+"").toLowerCase():"text";let T=oA([G,Q&&Q.toAbortSignal()],F),ie=null;const I=T&&T.unsubscribe&&(()=>{T.unsubscribe()});let he;try{if(A&&p&&R!=="get"&&R!=="head"&&(he=await C(le,k))!==0){let Y=new l(w,{method:"POST",body:k,duplex:"half"}),ee;if($.isFormData(k)&&(ee=Y.headers.get("content-type"))&&le.setContentType(ee),Y.body){const[ne,ce]=f0(he,cu(d0(A)));k=m0(Y.body,p0,ne,ce)}}$.isString(ae)||(ae=ae?"include":"omit");const U=u&&"credentials"in l.prototype,te={...se,signal:T,method:R.toUpperCase(),headers:le.normalize().toJSON(),body:k,duplex:"half",credentials:U?ae:void 0};ie=u&&new l(w,te);let oe=await(u?ue(ie,se):ue(w,te));const Ae=y&&(W==="stream"||W==="response");if(y&&(N||Ae&&I)){const Y={};["status","statusText","headers"].forEach(Me=>{Y[Me]=oe[Me]});const ee=$.toFiniteNumber(oe.headers.get("content-length")),[ne,ce]=N&&f0(ee,cu(d0(N),!0))||[];oe=new i(m0(oe.body,p0,ne,()=>{ce&&ce(),I&&I()}),Y)}W=W||"text";let O=await v[$.findKey(v,W)||"text"](oe,S);return!Ae&&I&&I(),await new Promise((Y,ee)=>{sb(Y,ee,{data:O,headers:fn.from(oe.headers),status:oe.status,statusText:oe.statusText,config:S,request:ie})})}catch(U){throw I&&I(),U&&U.name==="TypeError"&&/Load failed|fetch/i.test(U.message)?Object.assign(new Ne("Network Error",Ne.ERR_NETWORK,S,ie),{cause:U.cause||U}):Ne.from(U,U&&U.code,S,ie)}}},hA=new Map,fb=t=>{let a=t?t.env:{};const{fetch:l,Request:i,Response:s}=a,u=[i,s,l];let f=u.length,h=f,m,p,y=hA;for(;h--;)m=u[h],p=y.get(m),p===void 0&&y.set(m,p=h?new Map:dA(a)),y=p;return p};fb();const Md={http:D2,xhr:iA,fetch:{get:fb}};$.forEach(Md,(t,a)=>{if(t){try{Object.defineProperty(t,"name",{value:a})}catch{}Object.defineProperty(t,"adapterName",{value:a})}});const b0=t=>`- ${t}`,mA=t=>$.isFunction(t)||t===null||t===!1,db={getAdapter:(t,a)=>{t=$.isArray(t)?t:[t];const{length:l}=t;let i,s;const u={};for(let f=0;f<l;f++){i=t[f];let h;if(s=i,!mA(i)&&(s=Md[(h=String(i)).toLowerCase()],s===void 0))throw new Ne(`Unknown adapter '${h}'`);if(s&&($.isFunction(s)||(s=s.get(a))))break;u[h||"#"+f]=s}if(!s){const f=Object.entries(u).map(([m,p])=>`adapter ${m} `+(p===!1?"is not supported by the environment":"is not available in the build"));let h=l?f.length>1?`since :
114
+ `+f.map(b0).join(`
115
+ `):" "+b0(f[0]):"as no adapter specified";throw new Ne("There is no suitable adapter to dispatch the request "+h,"ERR_NOT_SUPPORT")}return s},adapters:Md};function rd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Yl(null,t)}function S0(t){return rd(t),t.headers=fn.from(t.headers),t.data=ad.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),db.getAdapter(t.adapter||Co.adapter,t)(t).then(function(i){return rd(t),i.data=ad.call(t,t.transformResponse,i),i.headers=fn.from(i.headers),i},function(i){return ob(i)||(rd(t),i&&i.response&&(i.response.data=ad.call(t,t.transformResponse,i.response),i.response.headers=fn.from(i.response.headers))),Promise.reject(i)})}const hb="1.12.2",Nu={};["object","boolean","number","function","string","symbol"].forEach((t,a)=>{Nu[t]=function(i){return typeof i===t||"a"+(a<1?"n ":" ")+t}});const E0={};Nu.transitional=function(a,l,i){function s(u,f){return"[Axios v"+hb+"] Transitional option '"+u+"'"+f+(i?". "+i:"")}return(u,f,h)=>{if(a===!1)throw new Ne(s(f," has been removed"+(l?" in "+l:"")),Ne.ERR_DEPRECATED);return l&&!E0[f]&&(E0[f]=!0,console.warn(s(f," has been deprecated since v"+l+" and will be removed in the near future"))),a?a(u,f,h):!0}};Nu.spelling=function(a){return(l,i)=>(console.warn(`${i} is likely a misspelling of ${a}`),!0)};function pA(t,a,l){if(typeof t!="object")throw new Ne("options must be an object",Ne.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let s=i.length;for(;s-- >0;){const u=i[s],f=a[u];if(f){const h=t[u],m=h===void 0||f(h,u,t);if(m!==!0)throw new Ne("option "+u+" must be "+m,Ne.ERR_BAD_OPTION_VALUE);continue}if(l!==!0)throw new Ne("Unknown option "+u,Ne.ERR_BAD_OPTION)}}const au={assertOptions:pA,validators:Nu},ra=au.validators;let Gr=class{constructor(a){this.defaults=a||{},this.interceptors={request:new u0,response:new u0}}async request(a,l){try{return await this._request(a,l)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const u=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?u&&!String(i.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(i.stack+=`
116
+ `+u):i.stack=u}catch{}}throw i}}_request(a,l){typeof a=="string"?(l=l||{},l.url=a):l=a||{},l=Yr(this.defaults,l);const{transitional:i,paramsSerializer:s,headers:u}=l;i!==void 0&&au.assertOptions(i,{silentJSONParsing:ra.transitional(ra.boolean),forcedJSONParsing:ra.transitional(ra.boolean),clarifyTimeoutError:ra.transitional(ra.boolean)},!1),s!=null&&($.isFunction(s)?l.paramsSerializer={serialize:s}:au.assertOptions(s,{encode:ra.function,serialize:ra.function},!0)),l.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?l.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:l.allowAbsoluteUrls=!0),au.assertOptions(l,{baseUrl:ra.spelling("baseURL"),withXsrfToken:ra.spelling("withXSRFToken")},!0),l.method=(l.method||this.defaults.method||"get").toLowerCase();let f=u&&$.merge(u.common,u[l.method]);u&&$.forEach(["delete","get","head","post","put","patch","common"],S=>{delete u[S]}),l.headers=fn.concat(f,u);const h=[];let m=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(l)===!1||(m=m&&w.synchronous,h.unshift(w.fulfilled,w.rejected))});const p=[];this.interceptors.response.forEach(function(w){p.push(w.fulfilled,w.rejected)});let y,v=0,E;if(!m){const S=[S0.bind(this),void 0];for(S.unshift(...h),S.push(...p),E=S.length,y=Promise.resolve(l);v<E;)y=y.then(S[v++],S[v++]);return y}E=h.length;let C=l;for(;v<E;){const S=h[v++],w=h[v++];try{C=S(C)}catch(R){w.call(this,R);break}}try{y=S0.call(this,C)}catch(S){return Promise.reject(S)}for(v=0,E=p.length;v<E;)y=y.then(p[v++],p[v++]);return y}getUri(a){a=Yr(this.defaults,a);const l=ub(a.baseURL,a.url,a.allowAbsoluteUrls);return rb(l,a.params,a.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(a){Gr.prototype[a]=function(l,i){return this.request(Yr(i||{},{method:a,url:l,data:(i||{}).data}))}});$.forEach(["post","put","patch"],function(a){function l(i){return function(u,f,h){return this.request(Yr(h||{},{method:a,headers:i?{"Content-Type":"multipart/form-data"}:{},url:u,data:f}))}}Gr.prototype[a]=l(),Gr.prototype[a+"Form"]=l(!0)});let yA=class mb{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let l;this.promise=new Promise(function(u){l=u});const i=this;this.promise.then(s=>{if(!i._listeners)return;let u=i._listeners.length;for(;u-- >0;)i._listeners[u](s);i._listeners=null}),this.promise.then=s=>{let u;const f=new Promise(h=>{i.subscribe(h),u=h}).then(s);return f.cancel=function(){i.unsubscribe(u)},f},a(function(u,f,h){i.reason||(i.reason=new Yl(u,f,h),l(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const l=this._listeners.indexOf(a);l!==-1&&this._listeners.splice(l,1)}toAbortSignal(){const a=new AbortController,l=i=>{a.abort(i)};return this.subscribe(l),a.signal.unsubscribe=()=>this.unsubscribe(l),a.signal}static source(){let a;return{token:new mb(function(s){a=s}),cancel:a}}};function gA(t){return function(l){return t.apply(null,l)}}function vA(t){return $.isObject(t)&&t.isAxiosError===!0}const Dd={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Dd).forEach(([t,a])=>{Dd[a]=t});function pb(t){const a=new Gr(t),l=Vv(Gr.prototype.request,a);return $.extend(l,Gr.prototype,a,{allOwnKeys:!0}),$.extend(l,a,null,{allOwnKeys:!0}),l.create=function(s){return pb(Yr(t,s))},l}const Ee=pb(Co);Ee.Axios=Gr;Ee.CanceledError=Yl;Ee.CancelToken=yA;Ee.isCancel=ob;Ee.VERSION=hb;Ee.toFormData=_u;Ee.AxiosError=Ne;Ee.Cancel=Ee.CanceledError;Ee.all=function(a){return Promise.all(a)};Ee.spread=gA;Ee.isAxiosError=vA;Ee.mergeConfig=Yr;Ee.AxiosHeaders=fn;Ee.formToJSON=t=>ib($.isHTMLForm(t)?new FormData(t):t);Ee.getAdapter=db.getAdapter;Ee.HttpStatusCode=Dd;Ee.default=Ee;const{Axios:bO,AxiosError:SO,CanceledError:EO,isCancel:TO,CancelToken:wO,VERSION:CO,all:RO,Cancel:xO,isAxiosError:AO,spread:OO,toFormData:MO,AxiosHeaders:DO,HttpStatusCode:_O,formToJSON:NO,getAdapter:UO,mergeConfig:jO}=Ee;class bA{apiKey;username;password;accessToken;basePath;serverIndex;baseOptions;formDataCtor;constructor(a={}){this.apiKey=a.apiKey,this.username=a.username,this.password=a.password,this.accessToken=a.accessToken,this.basePath=a.basePath,this.serverIndex=a.serverIndex,this.baseOptions={...a.baseOptions,headers:{...a.baseOptions?.headers}},this.formDataCtor=a.formDataCtor}isJsonMime(a){const l=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return a!==null&&(l.test(a)||a.toLowerCase()==="application/json-patch+json")}}const $e="http://localhost/api/v0".replace(/\/+$/,"");let za=class{constructor(a,l=$e,i=Ee){this.basePath=l,this.axios=i,a&&(this.configuration=a,this.basePath=a.basePath??l)}configuration},SA=class extends Error{constructor(a,l){super(l),this.field=a,this.name="RequiredError"}};const Ge={},Qe="https://example.com",ye=function(t,a,l){if(l==null)throw new SA(a,`Required parameter ${a} was null or undefined when calling ${t}.`)};function _d(t,a,l=""){a!=null&&(typeof a=="object"?Array.isArray(a)?a.forEach(i=>_d(t,i,l)):Object.keys(a).forEach(i=>_d(t,a[i],`${l}${l!==""?".":""}${i}`)):t.has(l)?t.append(l,a):t.set(l,a))}const Ye=function(t,...a){const l=new URLSearchParams(t.search);_d(l,a),t.search=l.toString()},Ua=function(t,a,l){const i=typeof t!="string";return(i&&l&&l.isJsonMime?l.isJsonMime(a.headers["Content-Type"]):i)?JSON.stringify(t!==void 0?t:{}):t||""},Ve=function(t){return t.pathname+t.search+t.hash},Ke=function(t,a,l,i){return(s=a,u=l)=>{const f={...t.options,url:(s.defaults.baseURL?"":i?.basePath??u)+t.url};return s.request(f)}},kO={Postgres:"postgres",Bigquery:"bigquery",Snowflake:"snowflake",Trino:"trino",Mysql:"mysql"},EA=function(t){return{getConnection:async(a,l,i={})=>{ye("getConnection","projectName",a),ye("getConnection","connectionName",l);const s="/projects/{projectName}/connections/{connectionName}".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"GET",...f,...i},m={};Ye(u,{});let p=f&&f.headers?f.headers:{};return h.headers={...m,...p,...i.headers},{url:Ve(u),options:h}},getQuerydata:async(a,l,i,s,u={})=>{ye("getQuerydata","projectName",a),ye("getQuerydata","connectionName",l);const f="/projects/{projectName}/connections/{connectionName}/queryData".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),h=new URL(f,Qe);let m;t&&(m=t.baseOptions);const p={method:"GET",...m,...u},y={},v={};i!==void 0&&(v.sqlStatement=i),s!==void 0&&(v.options=s),Ye(h,v);let E=m&&m.headers?m.headers:{};return p.headers={...y,...E,...u.headers},{url:Ve(h),options:p}},getSqlsource:async(a,l,i,s={})=>{ye("getSqlsource","projectName",a),ye("getSqlsource","connectionName",l);const u="/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={},y={};i!==void 0&&(y.sqlStatement=i),Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},{url:Ve(f),options:m}},getTablesource:async(a,l,i,s,u={})=>{ye("getTablesource","projectName",a),ye("getTablesource","connectionName",l);const f="/projects/{projectName}/connections/{connectionName}/tableSource".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),h=new URL(f,Qe);let m;t&&(m=t.baseOptions);const p={method:"GET",...m,...u},y={},v={};i!==void 0&&(v.tableKey=i),s!==void 0&&(v.tablePath=s),Ye(h,v);let E=m&&m.headers?m.headers:{};return p.headers={...y,...E,...u.headers},{url:Ve(h),options:p}},getTemporarytable:async(a,l,i,s={})=>{ye("getTemporarytable","projectName",a),ye("getTemporarytable","connectionName",l);const u="/projects/{projectName}/connections/{connectionName}/temporaryTable".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={},y={};i!==void 0&&(y.sqlStatement=i),Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},{url:Ve(f),options:m}},listConnections:async(a,l={})=>{ye("listConnections","projectName",a);const i="/projects/{projectName}/connections".replace("{projectName}",encodeURIComponent(String(a))),s=new URL(i,Qe);let u;t&&(u=t.baseOptions);const f={method:"GET",...u,...l},h={};Ye(s,{});let m=u&&u.headers?u.headers:{};return f.headers={...h,...m,...l.headers},{url:Ve(s),options:f}},listSchemas:async(a,l,i={})=>{ye("listSchemas","projectName",a),ye("listSchemas","connectionName",l);const s="/projects/{projectName}/connections/{connectionName}/schemas".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"GET",...f,...i},m={};Ye(u,{});let p=f&&f.headers?f.headers:{};return h.headers={...m,...p,...i.headers},{url:Ve(u),options:h}},listTables:async(a,l,i,s={})=>{ye("listTables","projectName",a),ye("listTables","connectionName",l),ye("listTables","schemaName",i);const u="/projects/{projectName}/connections/{connectionName}/schemas/{schemaName}/tables".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))).replace("{schemaName}",encodeURIComponent(String(i))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={};Ye(f,{});let y=h&&h.headers?h.headers:{};return m.headers={...p,...y,...s.headers},{url:Ve(f),options:m}},postQuerydata:async(a,l,i,s,u={})=>{ye("postQuerydata","projectName",a),ye("postQuerydata","connectionName",l),ye("postQuerydata","postSqlsourceRequest",i);const f="/projects/{projectName}/connections/{connectionName}/queryData".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),h=new URL(f,Qe);let m;t&&(m=t.baseOptions);const p={method:"POST",...m,...u},y={},v={};s!==void 0&&(v.options=s),y["Content-Type"]="application/json",Ye(h,v);let E=m&&m.headers?m.headers:{};return p.headers={...y,...E,...u.headers},p.data=Ua(i,p,t),{url:Ve(h),options:p}},postSqlsource:async(a,l,i,s={})=>{ye("postSqlsource","projectName",a),ye("postSqlsource","connectionName",l),ye("postSqlsource","postSqlsourceRequest",i);const u="/projects/{projectName}/connections/{connectionName}/sqlSource".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"POST",...h,...s},p={},y={};p["Content-Type"]="application/json",Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},m.data=Ua(i,m,t),{url:Ve(f),options:m}},postTemporarytable:async(a,l,i,s={})=>{ye("postTemporarytable","projectName",a),ye("postTemporarytable","connectionName",l),ye("postTemporarytable","postSqlsourceRequest",i);const u="/projects/{projectName}/connections/{connectionName}/temporaryTable".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"POST",...h,...s},p={},y={};p["Content-Type"]="application/json",Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},m.data=Ua(i,m,t),{url:Ve(f),options:m}},testConnection:async(a,l,i={})=>{ye("testConnection","projectName",a),ye("testConnection","connectionName",l);const s="/projects/{projectName}/connections/{connectionName}/test".replace("{projectName}",encodeURIComponent(String(a))).replace("{connectionName}",encodeURIComponent(String(l))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"GET",...f,...i},m={};Ye(u,{});let p=f&&f.headers?f.headers:{};return h.headers={...m,...p,...i.headers},{url:Ve(u),options:h}},testConnectionConfiguration:async(a,l={})=>{ye("testConnectionConfiguration","connection",a);const i="/connections/test",s=new URL(i,Qe);let u;t&&(u=t.baseOptions);const f={method:"POST",...u,...l},h={},m={};h["Content-Type"]="application/json",Ye(s,m);let p=u&&u.headers?u.headers:{};return f.headers={...h,...p,...l.headers},f.data=Ua(a,f,t),{url:Ve(s),options:f}}}},wn=function(t){const a=EA(t);return{async getConnection(l,i,s){const u=await a.getConnection(l,i,s),f=t?.serverIndex??0,h=Ge["ConnectionsApi.getConnection"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)},async getQuerydata(l,i,s,u,f){const h=await a.getQuerydata(l,i,s,u,f),m=t?.serverIndex??0,p=Ge["ConnectionsApi.getQuerydata"]?.[m]?.url;return(y,v)=>Ke(h,Ee,$e,t)(y,p||v)},async getSqlsource(l,i,s,u){const f=await a.getSqlsource(l,i,s,u),h=t?.serverIndex??0,m=Ge["ConnectionsApi.getSqlsource"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)},async getTablesource(l,i,s,u,f){const h=await a.getTablesource(l,i,s,u,f),m=t?.serverIndex??0,p=Ge["ConnectionsApi.getTablesource"]?.[m]?.url;return(y,v)=>Ke(h,Ee,$e,t)(y,p||v)},async getTemporarytable(l,i,s,u){const f=await a.getTemporarytable(l,i,s,u),h=t?.serverIndex??0,m=Ge["ConnectionsApi.getTemporarytable"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)},async listConnections(l,i){const s=await a.listConnections(l,i),u=t?.serverIndex??0,f=Ge["ConnectionsApi.listConnections"]?.[u]?.url;return(h,m)=>Ke(s,Ee,$e,t)(h,f||m)},async listSchemas(l,i,s){const u=await a.listSchemas(l,i,s),f=t?.serverIndex??0,h=Ge["ConnectionsApi.listSchemas"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)},async listTables(l,i,s,u){const f=await a.listTables(l,i,s,u),h=t?.serverIndex??0,m=Ge["ConnectionsApi.listTables"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)},async postQuerydata(l,i,s,u,f){const h=await a.postQuerydata(l,i,s,u,f),m=t?.serverIndex??0,p=Ge["ConnectionsApi.postQuerydata"]?.[m]?.url;return(y,v)=>Ke(h,Ee,$e,t)(y,p||v)},async postSqlsource(l,i,s,u){const f=await a.postSqlsource(l,i,s,u),h=t?.serverIndex??0,m=Ge["ConnectionsApi.postSqlsource"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)},async postTemporarytable(l,i,s,u){const f=await a.postTemporarytable(l,i,s,u),h=t?.serverIndex??0,m=Ge["ConnectionsApi.postTemporarytable"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)},async testConnection(l,i,s){const u=await a.testConnection(l,i,s),f=t?.serverIndex??0,h=Ge["ConnectionsApi.testConnection"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)},async testConnectionConfiguration(l,i){const s=await a.testConnectionConfiguration(l,i),u=t?.serverIndex??0,f=Ge["ConnectionsApi.testConnectionConfiguration"]?.[u]?.url;return(h,m)=>Ke(s,Ee,$e,t)(h,f||m)}}};class TA extends za{getConnection(a,l,i){return wn(this.configuration).getConnection(a,l,i).then(s=>s(this.axios,this.basePath))}getQuerydata(a,l,i,s,u){return wn(this.configuration).getQuerydata(a,l,i,s,u).then(f=>f(this.axios,this.basePath))}getSqlsource(a,l,i,s){return wn(this.configuration).getSqlsource(a,l,i,s).then(u=>u(this.axios,this.basePath))}getTablesource(a,l,i,s,u){return wn(this.configuration).getTablesource(a,l,i,s,u).then(f=>f(this.axios,this.basePath))}getTemporarytable(a,l,i,s){return wn(this.configuration).getTemporarytable(a,l,i,s).then(u=>u(this.axios,this.basePath))}listConnections(a,l){return wn(this.configuration).listConnections(a,l).then(i=>i(this.axios,this.basePath))}listSchemas(a,l,i){return wn(this.configuration).listSchemas(a,l,i).then(s=>s(this.axios,this.basePath))}listTables(a,l,i,s){return wn(this.configuration).listTables(a,l,i,s).then(u=>u(this.axios,this.basePath))}postQuerydata(a,l,i,s,u){return wn(this.configuration).postQuerydata(a,l,i,s,u).then(f=>f(this.axios,this.basePath))}postSqlsource(a,l,i,s){return wn(this.configuration).postSqlsource(a,l,i,s).then(u=>u(this.axios,this.basePath))}postTemporarytable(a,l,i,s){return wn(this.configuration).postTemporarytable(a,l,i,s).then(u=>u(this.axios,this.basePath))}testConnection(a,l,i){return wn(this.configuration).testConnection(a,l,i).then(s=>s(this.axios,this.basePath))}testConnectionConfiguration(a,l){return wn(this.configuration).testConnectionConfiguration(a,l).then(i=>i(this.axios,this.basePath))}}const wA=function(t){return{listDatabases:async(a,l,i,s={})=>{ye("listDatabases","projectName",a),ye("listDatabases","packageName",l);const u="/projects/{projectName}/packages/{packageName}/databases".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={},y={};i!==void 0&&(y.versionId=i),Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},{url:Ve(f),options:m}}}},CA=function(t){const a=wA(t);return{async listDatabases(l,i,s,u){const f=await a.listDatabases(l,i,s,u),h=t?.serverIndex??0,m=Ge["DatabasesApi.listDatabases"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)}}};class RA extends za{listDatabases(a,l,i,s){return CA(this.configuration).listDatabases(a,l,i,s).then(u=>u(this.axios,this.basePath))}}const xA=function(t){return{getModel:async(a,l,i,s,u={})=>{ye("getModel","projectName",a),ye("getModel","packageName",l),ye("getModel","path",i);const f="/projects/{projectName}/packages/{packageName}/models/{path}".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))).replace("{path}",encodeURIComponent(String(i))),h=new URL(f,Qe);let m;t&&(m=t.baseOptions);const p={method:"GET",...m,...u},y={},v={};s!==void 0&&(v.versionId=s),Ye(h,v);let E=m&&m.headers?m.headers:{};return p.headers={...y,...E,...u.headers},{url:Ve(h),options:p}},listModels:async(a,l,i,s={})=>{ye("listModels","projectName",a),ye("listModels","packageName",l);const u="/projects/{projectName}/packages/{packageName}/models".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={},y={};i!==void 0&&(y.versionId=i),Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},{url:Ve(f),options:m}}}},T0=function(t){const a=xA(t);return{async getModel(l,i,s,u,f){const h=await a.getModel(l,i,s,u,f),m=t?.serverIndex??0,p=Ge["ModelsApi.getModel"]?.[m]?.url;return(y,v)=>Ke(h,Ee,$e,t)(y,p||v)},async listModels(l,i,s,u){const f=await a.listModels(l,i,s,u),h=t?.serverIndex??0,m=Ge["ModelsApi.listModels"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)}}};class AA extends za{getModel(a,l,i,s,u){return T0(this.configuration).getModel(a,l,i,s,u).then(f=>f(this.axios,this.basePath))}listModels(a,l,i,s){return T0(this.configuration).listModels(a,l,i,s).then(u=>u(this.axios,this.basePath))}}const OA=function(t){return{getNotebook:async(a,l,i,s,u={})=>{ye("getNotebook","projectName",a),ye("getNotebook","packageName",l),ye("getNotebook","path",i);const f="/projects/{projectName}/packages/{packageName}/notebooks/{path}".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))).replace("{path}",encodeURIComponent(String(i))),h=new URL(f,Qe);let m;t&&(m=t.baseOptions);const p={method:"GET",...m,...u},y={},v={};s!==void 0&&(v.versionId=s),Ye(h,v);let E=m&&m.headers?m.headers:{};return p.headers={...y,...E,...u.headers},{url:Ve(h),options:p}},listNotebooks:async(a,l,i,s={})=>{ye("listNotebooks","projectName",a),ye("listNotebooks","packageName",l);const u="/projects/{projectName}/packages/{packageName}/notebooks".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={},y={};i!==void 0&&(y.versionId=i),Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},{url:Ve(f),options:m}}}},w0=function(t){const a=OA(t);return{async getNotebook(l,i,s,u,f){const h=await a.getNotebook(l,i,s,u,f),m=t?.serverIndex??0,p=Ge["NotebooksApi.getNotebook"]?.[m]?.url;return(y,v)=>Ke(h,Ee,$e,t)(y,p||v)},async listNotebooks(l,i,s,u){const f=await a.listNotebooks(l,i,s,u),h=t?.serverIndex??0,m=Ge["NotebooksApi.listNotebooks"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)}}};class MA extends za{getNotebook(a,l,i,s,u){return w0(this.configuration).getNotebook(a,l,i,s,u).then(f=>f(this.axios,this.basePath))}listNotebooks(a,l,i,s){return w0(this.configuration).listNotebooks(a,l,i,s).then(u=>u(this.axios,this.basePath))}}const DA=function(t){return{createPackage:async(a,l,i={})=>{ye("createPackage","projectName",a),ye("createPackage","_package",l);const s="/projects/{projectName}/packages".replace("{projectName}",encodeURIComponent(String(a))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"POST",...f,...i},m={},p={};m["Content-Type"]="application/json",Ye(u,p);let y=f&&f.headers?f.headers:{};return h.headers={...m,...y,...i.headers},h.data=Ua(l,h,t),{url:Ve(u),options:h}},deletePackage:async(a,l,i={})=>{ye("deletePackage","projectName",a),ye("deletePackage","packageName",l);const s="/projects/{projectName}/packages/{packageName}".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"DELETE",...f,...i},m={};Ye(u,{});let p=f&&f.headers?f.headers:{};return h.headers={...m,...p,...i.headers},{url:Ve(u),options:h}},getPackage:async(a,l,i,s,u={})=>{ye("getPackage","projectName",a),ye("getPackage","packageName",l);const f="/projects/{projectName}/packages/{packageName}".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),h=new URL(f,Qe);let m;t&&(m=t.baseOptions);const p={method:"GET",...m,...u},y={},v={};i!==void 0&&(v.versionId=i),s!==void 0&&(v.reload=s),Ye(h,v);let E=m&&m.headers?m.headers:{};return p.headers={...y,...E,...u.headers},{url:Ve(h),options:p}},listPackages:async(a,l={})=>{ye("listPackages","projectName",a);const i="/projects/{projectName}/packages".replace("{projectName}",encodeURIComponent(String(a))),s=new URL(i,Qe);let u;t&&(u=t.baseOptions);const f={method:"GET",...u,...l},h={};Ye(s,{});let m=u&&u.headers?u.headers:{};return f.headers={...h,...m,...l.headers},{url:Ve(s),options:f}},updatePackage:async(a,l,i,s={})=>{ye("updatePackage","projectName",a),ye("updatePackage","packageName",l),ye("updatePackage","_package",i);const u="/projects/{projectName}/packages/{packageName}".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"PATCH",...h,...s},p={},y={};p["Content-Type"]="application/json",Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},m.data=Ua(i,m,t),{url:Ve(f),options:m}}}},Fi=function(t){const a=DA(t);return{async createPackage(l,i,s){const u=await a.createPackage(l,i,s),f=t?.serverIndex??0,h=Ge["PackagesApi.createPackage"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)},async deletePackage(l,i,s){const u=await a.deletePackage(l,i,s),f=t?.serverIndex??0,h=Ge["PackagesApi.deletePackage"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)},async getPackage(l,i,s,u,f){const h=await a.getPackage(l,i,s,u,f),m=t?.serverIndex??0,p=Ge["PackagesApi.getPackage"]?.[m]?.url;return(y,v)=>Ke(h,Ee,$e,t)(y,p||v)},async listPackages(l,i){const s=await a.listPackages(l,i),u=t?.serverIndex??0,f=Ge["PackagesApi.listPackages"]?.[u]?.url;return(h,m)=>Ke(s,Ee,$e,t)(h,f||m)},async updatePackage(l,i,s,u){const f=await a.updatePackage(l,i,s,u),h=t?.serverIndex??0,m=Ge["PackagesApi.updatePackage"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)}}};class _A extends za{createPackage(a,l,i){return Fi(this.configuration).createPackage(a,l,i).then(s=>s(this.axios,this.basePath))}deletePackage(a,l,i){return Fi(this.configuration).deletePackage(a,l,i).then(s=>s(this.axios,this.basePath))}getPackage(a,l,i,s,u){return Fi(this.configuration).getPackage(a,l,i,s,u).then(f=>f(this.axios,this.basePath))}listPackages(a,l){return Fi(this.configuration).listPackages(a,l).then(i=>i(this.axios,this.basePath))}updatePackage(a,l,i,s){return Fi(this.configuration).updatePackage(a,l,i,s).then(u=>u(this.axios,this.basePath))}}const NA=function(t){return{createProject:async(a,l={})=>{ye("createProject","project",a);const i="/projects",s=new URL(i,Qe);let u;t&&(u=t.baseOptions);const f={method:"POST",...u,...l},h={},m={};h["Content-Type"]="application/json",Ye(s,m);let p=u&&u.headers?u.headers:{};return f.headers={...h,...p,...l.headers},f.data=Ua(a,f,t),{url:Ve(s),options:f}},deleteProject:async(a,l={})=>{ye("deleteProject","projectName",a);const i="/projects/{projectName}".replace("{projectName}",encodeURIComponent(String(a))),s=new URL(i,Qe);let u;t&&(u=t.baseOptions);const f={method:"DELETE",...u,...l},h={};Ye(s,{});let m=u&&u.headers?u.headers:{};return f.headers={...h,...m,...l.headers},{url:Ve(s),options:f}},getProject:async(a,l,i={})=>{ye("getProject","projectName",a);const s="/projects/{projectName}".replace("{projectName}",encodeURIComponent(String(a))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"GET",...f,...i},m={},p={};l!==void 0&&(p.reload=l),Ye(u,p);let y=f&&f.headers?f.headers:{};return h.headers={...m,...y,...i.headers},{url:Ve(u),options:h}},listProjects:async(a={})=>{const l="/projects",i=new URL(l,Qe);let s;t&&(s=t.baseOptions);const u={method:"GET",...s,...a},f={};Ye(i,{});let h=s&&s.headers?s.headers:{};return u.headers={...f,...h,...a.headers},{url:Ve(i),options:u}},updateProject:async(a,l,i={})=>{ye("updateProject","projectName",a),ye("updateProject","project",l);const s="/projects/{projectName}".replace("{projectName}",encodeURIComponent(String(a))),u=new URL(s,Qe);let f;t&&(f=t.baseOptions);const h={method:"PATCH",...f,...i},m={},p={};m["Content-Type"]="application/json",Ye(u,p);let y=f&&f.headers?f.headers:{};return h.headers={...m,...y,...i.headers},h.data=Ua(l,h,t),{url:Ve(u),options:h}}}},Zi=function(t){const a=NA(t);return{async createProject(l,i){const s=await a.createProject(l,i),u=t?.serverIndex??0,f=Ge["ProjectsApi.createProject"]?.[u]?.url;return(h,m)=>Ke(s,Ee,$e,t)(h,f||m)},async deleteProject(l,i){const s=await a.deleteProject(l,i),u=t?.serverIndex??0,f=Ge["ProjectsApi.deleteProject"]?.[u]?.url;return(h,m)=>Ke(s,Ee,$e,t)(h,f||m)},async getProject(l,i,s){const u=await a.getProject(l,i,s),f=t?.serverIndex??0,h=Ge["ProjectsApi.getProject"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)},async listProjects(l){const i=await a.listProjects(l),s=t?.serverIndex??0,u=Ge["ProjectsApi.listProjects"]?.[s]?.url;return(f,h)=>Ke(i,Ee,$e,t)(f,u||h)},async updateProject(l,i,s){const u=await a.updateProject(l,i,s),f=t?.serverIndex??0,h=Ge["ProjectsApi.updateProject"]?.[f]?.url;return(m,p)=>Ke(u,Ee,$e,t)(m,h||p)}}};class UA extends za{createProject(a,l){return Zi(this.configuration).createProject(a,l).then(i=>i(this.axios,this.basePath))}deleteProject(a,l){return Zi(this.configuration).deleteProject(a,l).then(i=>i(this.axios,this.basePath))}getProject(a,l,i){return Zi(this.configuration).getProject(a,l,i).then(s=>s(this.axios,this.basePath))}listProjects(a){return Zi(this.configuration).listProjects(a).then(l=>l(this.axios,this.basePath))}updateProject(a,l,i){return Zi(this.configuration).updateProject(a,l,i).then(s=>s(this.axios,this.basePath))}}const jA=function(t){return{executeQuery:async(a,l,i,s,u,f,h,m={})=>{ye("executeQuery","projectName",a),ye("executeQuery","packageName",l),ye("executeQuery","path",i);const p="/projects/{projectName}/packages/{packageName}/queryResults/{path}".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))).replace("{path}",encodeURIComponent(String(i))),y=new URL(p,Qe);let v;t&&(v=t.baseOptions);const E={method:"GET",...v,...m},C={},S={};s!==void 0&&(S.query=s),u!==void 0&&(S.sourceName=u),f!==void 0&&(S.queryName=f),h!==void 0&&(S.versionId=h),Ye(y,S);let w=v&&v.headers?v.headers:{};return E.headers={...C,...w,...m.headers},{url:Ve(y),options:E}}}},zA=function(t){const a=jA(t);return{async executeQuery(l,i,s,u,f,h,m,p){const y=await a.executeQuery(l,i,s,u,f,h,m,p),v=t?.serverIndex??0,E=Ge["QueryresultsApi.executeQuery"]?.[v]?.url;return(C,S)=>Ke(y,Ee,$e,t)(C,E||S)}}};class LA extends za{executeQuery(a,l,i,s,u,f,h,m){return zA(this.configuration).executeQuery(a,l,i,s,u,f,h,m).then(p=>p(this.axios,this.basePath))}}const kA=function(t){return{listSchedules:async(a,l,i,s={})=>{ye("listSchedules","projectName",a),ye("listSchedules","packageName",l);const u="/projects/{projectName}/packages/{packageName}/schedules".replace("{projectName}",encodeURIComponent(String(a))).replace("{packageName}",encodeURIComponent(String(l))),f=new URL(u,Qe);let h;t&&(h=t.baseOptions);const m={method:"GET",...h,...s},p={},y={};i!==void 0&&(y.versionId=i),Ye(f,y);let v=h&&h.headers?h.headers:{};return m.headers={...p,...v,...s.headers},{url:Ve(f),options:m}}}},BA=function(t){const a=kA(t);return{async listSchedules(l,i,s,u){const f=await a.listSchedules(l,i,s,u),h=t?.serverIndex??0,m=Ge["SchedulesApi.listSchedules"]?.[h]?.url;return(p,y)=>Ke(f,Ee,$e,t)(p,m||y)}}};class HA extends za{listSchedules(a,l,i,s){return BA(this.configuration).listSchedules(a,l,i,s).then(u=>u(this.axios,this.basePath))}}const qA=function(t){return{getWatchStatus:async(a={})=>{const l="/watch-mode/status",i=new URL(l,Qe);let s;t&&(s=t.baseOptions);const u={method:"GET",...s,...a},f={};Ye(i,{});let h=s&&s.headers?s.headers:{};return u.headers={...f,...h,...a.headers},{url:Ve(i),options:u}},startWatching:async(a,l={})=>{ye("startWatching","startWatchRequest",a);const i="/watch-mode/start",s=new URL(i,Qe);let u;t&&(u=t.baseOptions);const f={method:"POST",...u,...l},h={},m={};h["Content-Type"]="application/json",Ye(s,m);let p=u&&u.headers?u.headers:{};return f.headers={...h,...p,...l.headers},f.data=Ua(a,f,t),{url:Ve(s),options:f}},stopWatching:async(a={})=>{const l="/watch-mode/stop",i=new URL(l,Qe);let s;t&&(s=t.baseOptions);const u={method:"POST",...s,...a},f={};Ye(i,{});let h=s&&s.headers?s.headers:{};return u.headers={...f,...h,...a.headers},{url:Ve(i),options:u}}}},ld=function(t){const a=qA(t);return{async getWatchStatus(l){const i=await a.getWatchStatus(l),s=t?.serverIndex??0,u=Ge["WatchModeApi.getWatchStatus"]?.[s]?.url;return(f,h)=>Ke(i,Ee,$e,t)(f,u||h)},async startWatching(l,i){const s=await a.startWatching(l,i),u=t?.serverIndex??0,f=Ge["WatchModeApi.startWatching"]?.[u]?.url;return(h,m)=>Ke(s,Ee,$e,t)(h,f||m)},async stopWatching(l){const i=await a.stopWatching(l),s=t?.serverIndex??0,u=Ge["WatchModeApi.stopWatching"]?.[s]?.url;return(f,h)=>Ke(i,Ee,$e,t)(f,u||h)}}};class PA extends za{getWatchStatus(a){return ld(this.configuration).getWatchStatus(a).then(l=>l(this.axios,this.basePath))}startWatching(a,l){return ld(this.configuration).startWatching(a,l).then(i=>i(this.axios,this.basePath))}stopWatching(a){return ld(this.configuration).stopWatching(a).then(l=>l(this.axios,this.basePath))}}const yb=D.createContext(void 0),$A=(t,a)=>{const l=`${window.location.protocol}//${window.location.host}/api/v0`,i=Ee.create({baseURL:t||l,withCredentials:!0});i.interceptors.request.use(async u=>{const f=await a?.();return u.headers.Authorization=f?`Bearer ${f}`:"",u});const s=new bA({basePath:l});return{queryResults:new LA(s,l,i),models:new AA(s,l,i),projects:new UA(s,l,i),packages:new _A(s,l,i),notebooks:new MA(s,l,i),connections:new TA(s,l,i),databases:new RA(s,l,i),schedules:new HA(s,l,i),watchMode:new PA(s,l,i)}},GA=({children:t,getAccessToken:a,baseURL:l,mutable:i=!0})=>{const s=D.useMemo(()=>$A(l,a),[l,a]),u={server:l||`${window.location.protocol}//${window.location.host}/api/v0`,getAccessToken:a,apiClients:s,mutable:i};return ze.jsx(Gx,{client:Qx,children:ze.jsx(yb.Provider,{value:u,children:t})})},BO=()=>{const t=D.useContext(yb);if(t===void 0)throw new Error("useServer must be used within a ServerProvider");return t},gb=D.createContext(void 0);function QA({children:t,workbookStorage:a}){const l=D.useMemo(()=>({workbookStorage:a}),[a]);return ze.jsx(gb.Provider,{value:l,children:t})}function HO(){const t=D.useContext(gb);if(!t)throw new Error("useWorkbookStorage must be used within a WorkbookStorageProvider");return t}const C0="Local";class YA{async listWorkspaces(a){return Promise.resolve([{name:C0,description:"Stored locally- only accessible to this browser",writeable:!0}])}async listWorkbooks(a){const l=[];for(let i=0;i<localStorage.length;i++){const s=localStorage.key(i);l.push({path:s,workspace:C0})}return l}async getWorkbook(a){const l=localStorage.getItem(a.path);if(l===null)throw new Error(`Notebook not found at path: ${a}`);return l}async deleteWorkbook(a){if(localStorage.getItem(a.path)===null)throw new Error(`Notebook not found at path: ${a}`);localStorage.removeItem(a.path)}async saveWorkbook(a,l){localStorage.setItem(a.path,l)}async moveWorkbook(a,l){const i=localStorage.getItem(a.path);if(i===null)throw new Error(`Notebook not found at path: ${a.path}`);localStorage.setItem(l.path,i),localStorage.removeItem(a.path)}}Ee.defaults.baseURL="IfYouAreSeeingThis_baseURL_IsNotSet";const vt={primary:{main:"#14b3cb",light:"#22d3ee",dark:"#0e7490",50:"#ecfeff",100:"#cffafe",500:"#14b3cb",600:"#0891b2",700:"#0e7490"},secondary:{main:"#fbbb04",light:"#fde047",dark:"#eab308",50:"#fefce8",100:"#fef3c7",500:"#fbbb04",600:"#eab308",700:"#ca8a04"},grey:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},success:{main:"#059669",light:"#10b981",dark:"#047857"},warning:{main:"#d97706",light:"#f59e0b",dark:"#b45309"},error:{main:"#dc2626",light:"#ef4444",dark:"#b91c1c"},info:{main:"#0891b2",light:"#06b6d4",dark:"#0e7490"}},VA=ih({palette:{mode:"light",primary:vt.primary,secondary:vt.secondary,grey:vt.grey,success:vt.success,warning:vt.warning,error:vt.error,info:vt.info,background:{default:"#ffffff",paper:"#ffffff"},text:{primary:vt.grey[900],secondary:vt.grey[600]},divider:vt.grey[200]},typography:{fontFamily:'"Inter", "Roboto", "Helvetica", "Arial", sans-serif',h1:{fontWeight:700,letterSpacing:"-0.025em"},h2:{fontWeight:700,letterSpacing:"-0.025em"},h3:{fontWeight:600,letterSpacing:"-0.025em"},h4:{fontWeight:600,letterSpacing:"-0.025em"},h5:{fontWeight:600,letterSpacing:"-0.025em"},h6:{fontWeight:600,letterSpacing:"-0.025em"},subtitle1:{fontWeight:500,letterSpacing:"-0.025em"},subtitle2:{fontWeight:500,letterSpacing:"-0.025em"},body1:{letterSpacing:"-0.025em"},body2:{letterSpacing:"-0.025em"},button:{fontWeight:500,letterSpacing:"-0.025em",textTransform:"none"}},shape:{borderRadius:4},components:{MuiCssBaseline:{styleOverrides:{body:{scrollbarWidth:"thin",scrollbarColor:`${vt.grey[300]} ${vt.grey[100]}`,"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-track":{background:vt.grey[100],borderRadius:"4px"},"&::-webkit-scrollbar-thumb":{background:vt.grey[300],borderRadius:"4px","&:hover":{background:vt.grey[400]}},"&::-webkit-scrollbar-corner":{background:vt.grey[100]}},"*":{scrollbarWidth:"thin",scrollbarColor:`${vt.grey[300]} ${vt.grey[100]}`,"&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-track":{background:vt.grey[100],borderRadius:"4px"},"&::-webkit-scrollbar-thumb":{background:vt.grey[300],borderRadius:"4px","&:hover":{background:vt.grey[400]}},"&::-webkit-scrollbar-corner":{background:vt.grey[100]}},"div[data-radix-popper-content-wrapper]":{zIndex:"1300 !important"}}},MuiButton:{styleOverrides:{root:{borderRadius:4,textTransform:"none",fontWeight:500,boxShadow:"none","&:hover":{boxShadow:"0 1px 3px rgba(0, 0, 0, 0.1)"}},contained:{"&:hover":{boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}}}},MuiCard:{styleOverrides:{root:{borderRadius:4,boxShadow:"0 1px 3px rgba(0, 0, 0, 0.1)",border:"1px solid",borderColor:"rgba(0, 0, 0, 0.05)"}}},MuiChip:{styleOverrides:{root:{borderRadius:4,fontWeight:500}}},MuiTextField:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{borderRadius:4}}}},MuiDialog:{styleOverrides:{paper:{borderRadius:4,boxShadow:"0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 10px 10px -5px rgba(0, 0, 0, 0.04)"}}},MuiMenu:{styleOverrides:{paper:{borderRadius:4,boxShadow:"0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -2px rgba(0, 0, 0, 0.05)",border:"1px solid rgba(0, 0, 0, 0.05)"}}},MuiBreadcrumbs:{styleOverrides:{root:{"& .MuiBreadcrumbs-separator":{margin:"0 6px",color:vt.grey[400]}}}},MuiDivider:{styleOverrides:{root:{margin:"4px 0",borderColor:vt.grey[200]}},defaultProps:{sx:{my:1}}}}}),KA=D.lazy(()=>Xr(()=>import("./HomePage-DQFhUn--.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]))),XA=D.lazy(()=>Xr(()=>import("./MainPage-DKu_mb7g.js"),__vite__mapDeps([14,1,3,4,12,11,13,10]))),FA=D.lazy(()=>Xr(()=>import("./ModelPage-CifXblWs.js"),__vite__mapDeps([15,16,3,2,4,17,18,11,13,9]))),ZA=D.lazy(()=>Xr(()=>import("./PackagePage-DJ8diepf.js"),__vite__mapDeps([19,1,16,3,2,4,6,5,17,18,11,13,9,20]))),JA=D.lazy(()=>Xr(()=>import("./ProjectPage-e_oVFXxk.js"),__vite__mapDeps([21,1,16,3,2,4,5,6,9,7,8]))),WA=D.lazy(()=>Xr(()=>import("./RouteError-DXJ3lWC1.js"),__vite__mapDeps([22,10,3,11]))),IA=D.lazy(()=>Xr(()=>import("./WorkbookPage-BuN6WEqt.js"),__vite__mapDeps([23,16,3,2,4,18,11,6,20,13,12,7,1]))),eO=(t="/",a,l)=>UT([{path:t,element:ze.jsx(GA,{children:ze.jsx(QA,{workbookStorage:a,children:ze.jsxs(ux,{theme:VA,children:[ze.jsx(yx,{}),ze.jsx(XA,{headerProps:l})]})})}),errorElement:ze.jsx(WA,{}),children:[{path:"",element:ze.jsx(KA,{})},{path:":projectName",element:ze.jsx(JA,{})},{path:":projectName/:packageName",element:ze.jsx(ZA,{})},{path:":projectName/:packageName/*",element:ze.jsx(FA,{})},{path:":projectName/:packageName/workbook/:workspace/:workbookPath",element:ze.jsx(IA,{})}]}]),tO=eO("/",new YA,void 0);U1.createRoot(document.getElementById("root")).render(ze.jsx(D.StrictMode,{children:ze.jsx(YT,{router:tO})}));export{lx as $,wx as A,mO as B,wd as C,BO as D,Yn as E,Au as F,Sv as G,Ex as H,Tx as I,kO as J,Td as K,Pv as L,Lx as M,xx as N,lO as O,en as P,so as Q,A1 as R,xu as S,yo as T,Hx as U,pO as V,Qx as W,TR as X,vv as Y,pd as Z,Xr as _,fx as a,$r as a0,fd as a1,FR as a2,ja as a3,fO as a4,Wd as a5,un as a6,cO as a7,vo as a8,sO as a9,So as aa,Xw as ab,uO as ac,Na as ad,hO as ae,ih as af,aO as ag,nO as ah,R0 as ai,yv as b,ZC as c,rO as d,tR as e,$E as f,Tv as g,W0 as h,Cv as i,ze as j,KC as k,FC as l,bv as m,id as n,oO as o,Hw as p,iO as q,D as r,nT as s,$R as t,yO as u,HO as v,dO as w,dR as x,gd as y,Dx as z};