@epcare/esm-report-builder 0.1.1-pre.4 → 0.1.1-pre.9

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 (516) hide show
  1. package/dist/01a41bfbca32bff9.js +1 -0
  2. package/dist/01a41bfbca32bff9.js.map +1 -0
  3. package/dist/072b2a6d0068459a.js +1 -0
  4. package/dist/072b2a6d0068459a.js.map +1 -0
  5. package/dist/0f6f090037161912.js +1 -0
  6. package/dist/0f6f090037161912.js.map +1 -0
  7. package/dist/1631f30d565c4a57.js +1 -0
  8. package/dist/1631f30d565c4a57.js.map +1 -0
  9. package/dist/18fb07c796567607.js +1 -0
  10. package/dist/18fb07c796567607.js.map +1 -0
  11. package/dist/23e82462082c43dc.js +1 -0
  12. package/dist/23e82462082c43dc.js.map +1 -0
  13. package/dist/25fbe38802d5948a.js +1 -0
  14. package/dist/25fbe38802d5948a.js.map +1 -0
  15. package/dist/26013e3c2190e332.js +1 -0
  16. package/dist/26013e3c2190e332.js.map +1 -0
  17. package/dist/2aa44ae7301d911f.js +1 -0
  18. package/dist/2aa44ae7301d911f.js.map +1 -0
  19. package/{dist-build-23692234362/374c3ee36d9e040a.js → dist/2ac00e57073a677e.js} +1 -1
  20. package/dist/2ac00e57073a677e.js.map +1 -0
  21. package/dist/2cdd17fd88ca7b57.js +1 -0
  22. package/dist/2cdd17fd88ca7b57.js.map +1 -0
  23. package/dist/332a8174586c6935.js +1 -0
  24. package/dist/332a8174586c6935.js.map +1 -0
  25. package/dist/35047f4c02efc23d.js +1 -0
  26. package/dist/35047f4c02efc23d.js.map +1 -0
  27. package/dist/3526e2e08d37a265.js +1 -0
  28. package/dist/3526e2e08d37a265.js.map +1 -0
  29. package/dist/379a4c4f75b2a69a.css +1 -0
  30. package/dist/379a4c4f75b2a69a.css.map +1 -0
  31. package/dist/38eb13f7a2683334.js +1 -0
  32. package/dist/38eb13f7a2683334.js.map +1 -0
  33. package/dist/3ef047797cee759b.js +1 -0
  34. package/dist/3ef047797cee759b.js.map +1 -0
  35. package/dist/4171139e72e07bfe.js +12 -0
  36. package/dist/4171139e72e07bfe.js.map +1 -0
  37. package/dist/41f58bbacf32f19c.js +1 -0
  38. package/dist/41f58bbacf32f19c.js.map +1 -0
  39. package/dist/494989f68b782572.js +1 -0
  40. package/dist/494989f68b782572.js.map +1 -0
  41. package/{dist-build-23692234362/0edb77cd19e43550.js → dist/4c41ce5ca282517a.js} +1 -1
  42. package/dist/4c41ce5ca282517a.js.map +1 -0
  43. package/dist/4fd950afea6b9fa9.js +1 -0
  44. package/dist/4fd950afea6b9fa9.js.map +1 -0
  45. package/dist/51d960ae0c67ebb7.js +1 -0
  46. package/dist/51d960ae0c67ebb7.js.map +1 -0
  47. package/dist/5f9d07e3036e9392.js +1 -0
  48. package/dist/5f9d07e3036e9392.js.map +1 -0
  49. package/dist/6168a41518df4d68.js +1 -0
  50. package/dist/6168a41518df4d68.js.map +1 -0
  51. package/dist/6476a0988f2e46ae.js +1 -0
  52. package/dist/6476a0988f2e46ae.js.map +1 -0
  53. package/dist/6b77537434000cf2.js +1 -0
  54. package/dist/6b77537434000cf2.js.map +1 -0
  55. package/dist/6f0eb9ed846a1f2e.js +1 -0
  56. package/dist/6f0eb9ed846a1f2e.js.map +1 -0
  57. package/dist/7377334b82b4c471.js +1 -0
  58. package/dist/7377334b82b4c471.js.map +1 -0
  59. package/dist/7c431452af89fb59.js +1 -0
  60. package/dist/7c431452af89fb59.js.map +1 -0
  61. package/dist/84f657b10d6e3123.js +1 -0
  62. package/dist/84f657b10d6e3123.js.map +1 -0
  63. package/{dist-build-23692234362/6d9009857c6df878.js → dist/85aad9466578eeb1.js} +1 -1
  64. package/dist/85aad9466578eeb1.js.map +1 -0
  65. package/dist/85abff4ed4656704.js +1 -0
  66. package/dist/85abff4ed4656704.js.map +1 -0
  67. package/dist/85e203ca2c112e8c.js +1 -0
  68. package/dist/85e203ca2c112e8c.js.map +1 -0
  69. package/dist/8bb4d9c332a2832a.js +1 -0
  70. package/dist/8bb4d9c332a2832a.js.map +1 -0
  71. package/dist/8c0d525fa7b189f4.js +1 -0
  72. package/dist/8c0d525fa7b189f4.js.map +1 -0
  73. package/dist/8ea25f671c781f83.js +1 -0
  74. package/dist/8ea25f671c781f83.js.map +1 -0
  75. package/dist/9626ae460b243e54.js +1 -0
  76. package/dist/9626ae460b243e54.js.map +1 -0
  77. package/dist/96a11b1fcd78452d.js +1 -0
  78. package/dist/96a11b1fcd78452d.js.map +1 -0
  79. package/{dist-build-23692234362/0081d5d3d536cb23.js → dist/99921f3dab7275c8.js} +1 -1
  80. package/dist/99921f3dab7275c8.js.map +1 -0
  81. package/dist/{f260e50923d4283b.js → 9f7ef10848be5b2f.js} +1 -1
  82. package/dist/9f7ef10848be5b2f.js.map +1 -0
  83. package/dist/a2821034a22e5c06.js +1 -0
  84. package/dist/a2821034a22e5c06.js.map +1 -0
  85. package/dist/afa5df2ebfbe0c48.js +1 -0
  86. package/dist/afa5df2ebfbe0c48.js.map +1 -0
  87. package/dist/b215daa1ef60a85f.js +1 -0
  88. package/dist/b215daa1ef60a85f.js.map +1 -0
  89. package/dist/b3cec495af309b4a.js +1 -0
  90. package/dist/b3cec495af309b4a.js.map +1 -0
  91. package/dist/c220d2c14bbc88bd.js +1 -0
  92. package/dist/c220d2c14bbc88bd.js.map +1 -0
  93. package/dist/c49e9dbc66805418.js +1 -0
  94. package/dist/c49e9dbc66805418.js.map +1 -0
  95. package/dist/c4f4318a48a40dff.js +1 -0
  96. package/dist/c4f4318a48a40dff.js.map +1 -0
  97. package/dist/cf7f9ef84aa62067.js +1 -0
  98. package/dist/cf7f9ef84aa62067.js.map +1 -0
  99. package/dist/d573d0087d7982b0.js +1 -0
  100. package/dist/d573d0087d7982b0.js.map +1 -0
  101. package/dist/d58548974da96dcc.js +1 -0
  102. package/dist/d58548974da96dcc.js.map +1 -0
  103. package/dist/d9cb3bfba20f11d9.css +1 -0
  104. package/dist/d9cb3bfba20f11d9.css.map +1 -0
  105. package/dist/dffefa36b3ca0683.js +1 -0
  106. package/dist/dffefa36b3ca0683.js.map +1 -0
  107. package/dist/e8aa240154a8148a.js +1 -0
  108. package/dist/e8aa240154a8148a.js.map +1 -0
  109. package/dist/e953d8099b5847b9.js +1 -0
  110. package/dist/e953d8099b5847b9.js.map +1 -0
  111. package/dist/ee52608effd20f40.js +1 -0
  112. package/dist/ee52608effd20f40.js.map +1 -0
  113. package/dist/ee7d8395c54716cb.js +1 -0
  114. package/dist/ee7d8395c54716cb.js.map +1 -0
  115. package/dist/f6307c8f45a08c38.js +1 -0
  116. package/dist/f6307c8f45a08c38.js.map +1 -0
  117. package/dist/f9fe766229b3281c.js +1 -0
  118. package/dist/f9fe766229b3281c.js.map +1 -0
  119. package/dist/fcdbcd587d84d738.js +1 -0
  120. package/dist/fcdbcd587d84d738.js.map +1 -0
  121. package/dist/fd74fbf34ba9a8d4.js +1 -0
  122. package/dist/fd74fbf34ba9a8d4.js.map +1 -0
  123. package/dist/index.html +1 -1
  124. package/{dist-build-23692234362/manifest.266df36f2271d27ae9bcaa196a2976ae.json → dist/manifest.8bf1757a96431f7a7b87baad8f950c48.json} +1 -1
  125. package/dist/openmrs.0b8c3d342c31dc8c.js +5 -0
  126. package/dist/openmrs.0b8c3d342c31dc8c.js.map +1 -0
  127. package/dist/openmrs.1c58920c010e5fef.css +1 -0
  128. package/package.json +21 -9
  129. package/.github/workflows/node.js.yml +0 -175
  130. package/.gitignore +0 -89
  131. package/dist/0081d5d3d536cb23.js +0 -1
  132. package/dist/02acc4469a2fe2e4.woff2 +0 -0
  133. package/dist/081587ca0db8e63f.woff2 +0 -0
  134. package/dist/08cf53c4e5e71cf1.woff2 +0 -0
  135. package/dist/090b2bc014d24ea4.woff2 +0 -0
  136. package/dist/09de5db63ef7b579.js +0 -1
  137. package/dist/0ae92bcea615e948.woff2 +0 -0
  138. package/dist/0be8520d8945b3b7.woff2 +0 -0
  139. package/dist/0e7dd073cd8bb0ad.woff2 +0 -0
  140. package/dist/0edb77cd19e43550.js +0 -1
  141. package/dist/14869ac5d1830304.woff2 +0 -0
  142. package/dist/14aaceff85fc8b28.woff2 +0 -0
  143. package/dist/14c3abea79fc1389.js +0 -1
  144. package/dist/155a4ac079785bfd.js +0 -1
  145. package/dist/155a4ac079785bfd.js.map +0 -1
  146. package/dist/16f443eed01776ca.woff2 +0 -0
  147. package/dist/183bae0e53a22182.woff2 +0 -0
  148. package/dist/19c8f94ccd6289f5.woff2 +0 -0
  149. package/dist/1ae86565eab7451c.woff2 +0 -0
  150. package/dist/1c7bf8797e0a9be6.woff2 +0 -0
  151. package/dist/1f266d3619b30f16.woff2 +0 -0
  152. package/dist/1f8c5a4087a524fd.woff2 +0 -0
  153. package/dist/20ba2b23c5c0cd0b.woff2 +0 -0
  154. package/dist/22a32bd51591301b.js +0 -1
  155. package/dist/273c72d90e432a3d.js +0 -1
  156. package/dist/295dd01a1fbfee6d.woff2 +0 -0
  157. package/dist/29cbe6827c3f03ef.js +0 -1
  158. package/dist/2f686985e26e7107.woff2 +0 -0
  159. package/dist/315eff729e4ccbd9.woff2 +0 -0
  160. package/dist/368d16e3259bf207.woff2 +0 -0
  161. package/dist/36c49aa341a7079a.woff2 +0 -0
  162. package/dist/36e1e0430475edee.woff2 +0 -0
  163. package/dist/374c3ee36d9e040a.js +0 -1
  164. package/dist/377971e519bf3f4a.js +0 -2
  165. package/dist/377971e519bf3f4a.js.LICENSE.txt +0 -39
  166. package/dist/377971e519bf3f4a.js.map +0 -1
  167. package/dist/3b0ea8395009dcf3.js +0 -2
  168. package/dist/3b0ea8395009dcf3.js.LICENSE.txt +0 -9
  169. package/dist/3b0ea8395009dcf3.js.map +0 -1
  170. package/dist/3bc19662b8630ee9.woff2 +0 -0
  171. package/dist/3f645f473b3f8fba.woff2 +0 -0
  172. package/dist/41320d8930d23b36.js +0 -1
  173. package/dist/4218ac9901b9d36d.woff2 +0 -0
  174. package/dist/4659f3ca46d928b5.js +0 -1
  175. package/dist/4659f3ca46d928b5.js.map +0 -1
  176. package/dist/4680ba68412e4da9.woff2 +0 -0
  177. package/dist/48e37bd7ebf85a1f.woff2 +0 -0
  178. package/dist/4aabceefe5a2494a.js +0 -1
  179. package/dist/4c188cbaefba58cd.js +0 -1
  180. package/dist/4e11b8a7c445255f.woff2 +0 -0
  181. package/dist/537ddd61c5c1fce2.woff2 +0 -0
  182. package/dist/54f5eee3a7989556.js +0 -1
  183. package/dist/55c9107b50dd747c.js +0 -1
  184. package/dist/56c4118c0907f151.woff2 +0 -0
  185. package/dist/5938bc2ae7ec60c0.woff2 +0 -0
  186. package/dist/5c6586155f0d278a.woff2 +0 -0
  187. package/dist/5e50c92017029ca3.js +0 -1
  188. package/dist/5e50c92017029ca3.js.map +0 -1
  189. package/dist/600aca7295d8bcb7.js +0 -2
  190. package/dist/600aca7295d8bcb7.js.LICENSE.txt +0 -9
  191. package/dist/600aca7295d8bcb7.js.map +0 -1
  192. package/dist/60ec587649ba812a.woff2 +0 -0
  193. package/dist/64cf08a5ac3266d8.js +0 -1
  194. package/dist/652f476a8a1603d3.js +0 -2
  195. package/dist/652f476a8a1603d3.js.LICENSE.txt +0 -9
  196. package/dist/652f476a8a1603d3.js.map +0 -1
  197. package/dist/65e6511e035870e1.woff2 +0 -0
  198. package/dist/661425f6798cd16a.woff2 +0 -0
  199. package/dist/66b864fe213caf46.woff2 +0 -0
  200. package/dist/680eb791e6266590.js +0 -2
  201. package/dist/680eb791e6266590.js.LICENSE.txt +0 -19
  202. package/dist/680eb791e6266590.js.map +0 -1
  203. package/dist/69d087d970ee9455.woff2 +0 -0
  204. package/dist/69e3aa4276b4cb4b.js +0 -1
  205. package/dist/6a88f03fc4e7c3da.js +0 -1
  206. package/dist/6c6c45e66ff54281.woff2 +0 -0
  207. package/dist/6d9009857c6df878.js +0 -1
  208. package/dist/6ebe7cea59ed2853.js +0 -1
  209. package/dist/6f3181849e740935.js +0 -1
  210. package/dist/6f3181849e740935.js.map +0 -1
  211. package/dist/7073a7323e92bd11.woff2 +0 -0
  212. package/dist/70ac433ae2a89a89.js +0 -1
  213. package/dist/70ee4ee625ac0ec1.js +0 -1
  214. package/dist/718c6cc31274ab1a.woff2 +0 -0
  215. package/dist/727696c3934d0966.js +0 -1
  216. package/dist/727763c0f0df59dc.js +0 -1
  217. package/dist/727763c0f0df59dc.js.map +0 -1
  218. package/dist/72cdbedfe04be9f9.woff2 +0 -0
  219. package/dist/7509c9f56fe9e532.woff2 +0 -0
  220. package/dist/75dc5c5b04adc8bf.woff2 +0 -0
  221. package/dist/77b48bc05299ecca.woff2 +0 -0
  222. package/dist/7a0a0215c248c73d.woff2 +0 -0
  223. package/dist/7c0d0c5180de8729.js +0 -1
  224. package/dist/7f00bebb24e40167.woff2 +0 -0
  225. package/dist/802c6176541eeed7.woff2 +0 -0
  226. package/dist/8080081b3379c637.woff2 +0 -0
  227. package/dist/81cfdaeaa0bbca1f.js +0 -1
  228. package/dist/8605507b7a8487c4.woff2 +0 -0
  229. package/dist/893a160d06428365.js +0 -1
  230. package/dist/893a160d06428365.js.map +0 -1
  231. package/dist/8a83d654702f6534.woff2 +0 -0
  232. package/dist/8fe71173a13fe571.woff2 +0 -0
  233. package/dist/94aa912dcac90114.js +0 -1
  234. package/dist/9624cec0f9bdd81e.woff2 +0 -0
  235. package/dist/98a3af55a1698171.woff2 +0 -0
  236. package/dist/99823aaebba56f46.js +0 -1
  237. package/dist/9ba85996af74c5ce.woff2 +0 -0
  238. package/dist/9ddb22faa35006e7.woff2 +0 -0
  239. package/dist/a167fb2799dd741b.woff2 +0 -0
  240. package/dist/a2045a5cc4fdf94f.woff2 +0 -0
  241. package/dist/a246c73905a31c93.woff2 +0 -0
  242. package/dist/a325099b0a580ce2.js +0 -2
  243. package/dist/a325099b0a580ce2.js.LICENSE.txt +0 -14
  244. package/dist/a325099b0a580ce2.js.map +0 -1
  245. package/dist/a401aa7939cb6e6f.woff2 +0 -0
  246. package/dist/a40fef67997d3b2c.js +0 -1
  247. package/dist/a62897b000a24b86.js +0 -1
  248. package/dist/a6ed036f17a1ea29.woff2 +0 -0
  249. package/dist/a77bac4877483a0a.js +0 -1
  250. package/dist/a9f25ca430709a1a.woff2 +0 -0
  251. package/dist/aa0dfbdd569b1c24.js +0 -2
  252. package/dist/aa0dfbdd569b1c24.js.LICENSE.txt +0 -5
  253. package/dist/aa0dfbdd569b1c24.js.map +0 -1
  254. package/dist/ab0f637d6cff12e4.js +0 -1
  255. package/dist/afa9121a49e95351.woff2 +0 -0
  256. package/dist/afcda12d9f805543.woff2 +0 -0
  257. package/dist/b09ded85a7da77f1.woff2 +0 -0
  258. package/dist/b10dbe5318a91a12.js +0 -1
  259. package/dist/b2f4e9d1e821b71c.woff2 +0 -0
  260. package/dist/b4a074bf828bb757.woff2 +0 -0
  261. package/dist/b7f447da43f6e596.woff2 +0 -0
  262. package/dist/bcca84a524572d10.woff2 +0 -0
  263. package/dist/be093e052a6d50eb.js +0 -1
  264. package/dist/be4d1f97b11d087c.woff2 +0 -0
  265. package/dist/bec14780d81164de.woff2 +0 -0
  266. package/dist/c31657fe213c1b5e.js +0 -1
  267. package/dist/c49ef726d3f0420b.js +0 -1
  268. package/dist/c553f7e0199c5084.woff2 +0 -0
  269. package/dist/c94ac2fdc1ff1418.js +0 -1
  270. package/dist/c9d9ce9f465df4fe.woff2 +0 -0
  271. package/dist/cbbb57b397433964.js +0 -2
  272. package/dist/cbbb57b397433964.js.LICENSE.txt +0 -14
  273. package/dist/cbbb57b397433964.js.map +0 -1
  274. package/dist/d188f7f036ac5779.woff2 +0 -0
  275. package/dist/d1aa59bd9c702dc4.js +0 -2
  276. package/dist/d1aa59bd9c702dc4.js.LICENSE.txt +0 -32
  277. package/dist/d1aa59bd9c702dc4.js.map +0 -1
  278. package/dist/d265d81c58525ae4.woff2 +0 -0
  279. package/dist/d5942cd81663e136.woff2 +0 -0
  280. package/dist/d66b8ff73d95cabb.woff2 +0 -0
  281. package/dist/d84bac6d07672dd2.js +0 -1
  282. package/dist/d84bac6d07672dd2.js.map +0 -1
  283. package/dist/d88899ef0fd16719.woff2 +0 -0
  284. package/dist/d92b5ecf31fc187b.js +0 -1
  285. package/dist/d9a5d958e69e058d.woff2 +0 -0
  286. package/dist/dac90d495be353a0.woff2 +0 -0
  287. package/dist/db0550511978dc47.js +0 -1
  288. package/dist/dd8ce598529c3fab.woff2 +0 -0
  289. package/dist/de013f1be25103fa.woff2 +0 -0
  290. package/dist/df222fceeffca849.woff2 +0 -0
  291. package/dist/df22bda08ec7964c.js +0 -1
  292. package/dist/e05b7f902b02a251.js +0 -1
  293. package/dist/e05b7f902b02a251.js.map +0 -1
  294. package/dist/e465f1481f0d2e1c.js +0 -1
  295. package/dist/e62b00b9199c1ac9.woff2 +0 -0
  296. package/dist/e696cef1407b2610.woff2 +0 -0
  297. package/dist/eb42de5422d9af00.js +0 -1
  298. package/dist/eed48feba743e21c.woff2 +0 -0
  299. package/dist/f135ef54213f8975.js +0 -1
  300. package/dist/f543c88feb236d11.woff2 +0 -0
  301. package/dist/f591b0079faa93fe.woff2 +0 -0
  302. package/dist/f6ed27923769ad1d.woff2 +0 -0
  303. package/dist/f8d066e92ea157c6.js +0 -1
  304. package/dist/fae042506530c1e6.js +0 -1
  305. package/dist/fbebeb4336e67012.woff2 +0 -0
  306. package/dist/fd574df77d31a5eb.js +0 -1
  307. package/dist/manifest.266df36f2271d27ae9bcaa196a2976ae.json +0 -47
  308. package/dist/openmrs.39723c21cec4b1fc.css +0 -1
  309. package/dist/openmrs.39723c21cec4b1fc.css.map +0 -1
  310. package/dist/openmrs.44bac4c8520ee42f.css +0 -2
  311. package/dist/openmrs.44bac4c8520ee42f.css.map +0 -1
  312. package/dist/openmrs.936e8cf6a4b1599d.css +0 -2
  313. package/dist/openmrs.936e8cf6a4b1599d.css.map +0 -1
  314. package/dist/openmrs.c3adea28ef850516.js +0 -1
  315. package/dist/openmrs.c3adea28ef850516.js.map +0 -1
  316. package/dist/openmrs.e4daba1e3b840e70.css +0 -25
  317. package/dist/openmrs.e4daba1e3b840e70.css.map +0 -1
  318. package/dist/service-worker.js +0 -1
  319. package/dist/service-worker.js.map +0 -1
  320. package/dist-build-23692234362/09de5db63ef7b579.js +0 -1
  321. package/dist-build-23692234362/14c3abea79fc1389.js +0 -1
  322. package/dist-build-23692234362/155a4ac079785bfd.js +0 -1
  323. package/dist-build-23692234362/155a4ac079785bfd.js.map +0 -1
  324. package/dist-build-23692234362/22a32bd51591301b.js +0 -1
  325. package/dist-build-23692234362/273c72d90e432a3d.js +0 -1
  326. package/dist-build-23692234362/29cbe6827c3f03ef.js +0 -1
  327. package/dist-build-23692234362/377971e519bf3f4a.js +0 -2
  328. package/dist-build-23692234362/377971e519bf3f4a.js.LICENSE.txt +0 -39
  329. package/dist-build-23692234362/377971e519bf3f4a.js.map +0 -1
  330. package/dist-build-23692234362/3b0ea8395009dcf3.js +0 -2
  331. package/dist-build-23692234362/3b0ea8395009dcf3.js.LICENSE.txt +0 -9
  332. package/dist-build-23692234362/3b0ea8395009dcf3.js.map +0 -1
  333. package/dist-build-23692234362/41320d8930d23b36.js +0 -1
  334. package/dist-build-23692234362/4659f3ca46d928b5.js +0 -1
  335. package/dist-build-23692234362/4659f3ca46d928b5.js.map +0 -1
  336. package/dist-build-23692234362/4aabceefe5a2494a.js +0 -1
  337. package/dist-build-23692234362/4c188cbaefba58cd.js +0 -1
  338. package/dist-build-23692234362/54f5eee3a7989556.js +0 -1
  339. package/dist-build-23692234362/55c9107b50dd747c.js +0 -1
  340. package/dist-build-23692234362/5e50c92017029ca3.js +0 -1
  341. package/dist-build-23692234362/5e50c92017029ca3.js.map +0 -1
  342. package/dist-build-23692234362/600aca7295d8bcb7.js +0 -2
  343. package/dist-build-23692234362/600aca7295d8bcb7.js.LICENSE.txt +0 -9
  344. package/dist-build-23692234362/600aca7295d8bcb7.js.map +0 -1
  345. package/dist-build-23692234362/64cf08a5ac3266d8.js +0 -1
  346. package/dist-build-23692234362/652f476a8a1603d3.js +0 -2
  347. package/dist-build-23692234362/652f476a8a1603d3.js.LICENSE.txt +0 -9
  348. package/dist-build-23692234362/652f476a8a1603d3.js.map +0 -1
  349. package/dist-build-23692234362/680eb791e6266590.js +0 -2
  350. package/dist-build-23692234362/680eb791e6266590.js.LICENSE.txt +0 -19
  351. package/dist-build-23692234362/680eb791e6266590.js.map +0 -1
  352. package/dist-build-23692234362/69e3aa4276b4cb4b.js +0 -1
  353. package/dist-build-23692234362/6a88f03fc4e7c3da.js +0 -1
  354. package/dist-build-23692234362/6ebe7cea59ed2853.js +0 -1
  355. package/dist-build-23692234362/6f3181849e740935.js +0 -1
  356. package/dist-build-23692234362/6f3181849e740935.js.map +0 -1
  357. package/dist-build-23692234362/70ac433ae2a89a89.js +0 -1
  358. package/dist-build-23692234362/70ee4ee625ac0ec1.js +0 -1
  359. package/dist-build-23692234362/727696c3934d0966.js +0 -1
  360. package/dist-build-23692234362/727763c0f0df59dc.js +0 -1
  361. package/dist-build-23692234362/727763c0f0df59dc.js.map +0 -1
  362. package/dist-build-23692234362/7c0d0c5180de8729.js +0 -1
  363. package/dist-build-23692234362/81cfdaeaa0bbca1f.js +0 -1
  364. package/dist-build-23692234362/893a160d06428365.js +0 -1
  365. package/dist-build-23692234362/893a160d06428365.js.map +0 -1
  366. package/dist-build-23692234362/94aa912dcac90114.js +0 -1
  367. package/dist-build-23692234362/99823aaebba56f46.js +0 -1
  368. package/dist-build-23692234362/a325099b0a580ce2.js +0 -2
  369. package/dist-build-23692234362/a325099b0a580ce2.js.LICENSE.txt +0 -14
  370. package/dist-build-23692234362/a325099b0a580ce2.js.map +0 -1
  371. package/dist-build-23692234362/a40fef67997d3b2c.js +0 -1
  372. package/dist-build-23692234362/a62897b000a24b86.js +0 -1
  373. package/dist-build-23692234362/a77bac4877483a0a.js +0 -1
  374. package/dist-build-23692234362/aa0dfbdd569b1c24.js +0 -2
  375. package/dist-build-23692234362/aa0dfbdd569b1c24.js.LICENSE.txt +0 -5
  376. package/dist-build-23692234362/aa0dfbdd569b1c24.js.map +0 -1
  377. package/dist-build-23692234362/ab0f637d6cff12e4.js +0 -1
  378. package/dist-build-23692234362/b10dbe5318a91a12.js +0 -1
  379. package/dist-build-23692234362/be093e052a6d50eb.js +0 -1
  380. package/dist-build-23692234362/c31657fe213c1b5e.js +0 -1
  381. package/dist-build-23692234362/c49ef726d3f0420b.js +0 -1
  382. package/dist-build-23692234362/c94ac2fdc1ff1418.js +0 -1
  383. package/dist-build-23692234362/cbbb57b397433964.js +0 -2
  384. package/dist-build-23692234362/cbbb57b397433964.js.LICENSE.txt +0 -14
  385. package/dist-build-23692234362/cbbb57b397433964.js.map +0 -1
  386. package/dist-build-23692234362/d1aa59bd9c702dc4.js +0 -2
  387. package/dist-build-23692234362/d1aa59bd9c702dc4.js.LICENSE.txt +0 -32
  388. package/dist-build-23692234362/d1aa59bd9c702dc4.js.map +0 -1
  389. package/dist-build-23692234362/d84bac6d07672dd2.js +0 -1
  390. package/dist-build-23692234362/d84bac6d07672dd2.js.map +0 -1
  391. package/dist-build-23692234362/d92b5ecf31fc187b.js +0 -1
  392. package/dist-build-23692234362/db0550511978dc47.js +0 -1
  393. package/dist-build-23692234362/df22bda08ec7964c.js +0 -1
  394. package/dist-build-23692234362/e05b7f902b02a251.js +0 -1
  395. package/dist-build-23692234362/e05b7f902b02a251.js.map +0 -1
  396. package/dist-build-23692234362/e465f1481f0d2e1c.js +0 -1
  397. package/dist-build-23692234362/eb42de5422d9af00.js +0 -1
  398. package/dist-build-23692234362/f135ef54213f8975.js +0 -1
  399. package/dist-build-23692234362/f260e50923d4283b.js +0 -1
  400. package/dist-build-23692234362/f8d066e92ea157c6.js +0 -1
  401. package/dist-build-23692234362/fae042506530c1e6.js +0 -1
  402. package/dist-build-23692234362/favicon.ico +0 -0
  403. package/dist-build-23692234362/fd574df77d31a5eb.js +0 -1
  404. package/dist-build-23692234362/icon_128x128.3dde25c6e69b1c010a6a5d6b27b3f436.png +0 -0
  405. package/dist-build-23692234362/icon_144x144.e263e02b838d229b02ff9133e6e0f2ba.png +0 -0
  406. package/dist-build-23692234362/icon_192x192.d3d318638bbe8a10a3c687d3d302d01a.png +0 -0
  407. package/dist-build-23692234362/icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png +0 -0
  408. package/dist-build-23692234362/icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png +0 -0
  409. package/dist-build-23692234362/icon_512x512.7163efb26df832de513bc58d925ea22e.png +0 -0
  410. package/dist-build-23692234362/icon_96x96.682ee334ae19d49894217370b8596f61.png +0 -0
  411. package/dist-build-23692234362/index.html +0 -9
  412. package/dist-build-23692234362/logo-512.png +0 -0
  413. package/dist-build-23692234362/logo.svg +0 -30
  414. package/dist-build-23692234362/openmrs.39723c21cec4b1fc.css +0 -1
  415. package/dist-build-23692234362/openmrs.39723c21cec4b1fc.css.map +0 -1
  416. package/dist-build-23692234362/openmrs.44bac4c8520ee42f.css +0 -2
  417. package/dist-build-23692234362/openmrs.44bac4c8520ee42f.css.map +0 -1
  418. package/dist-build-23692234362/openmrs.936e8cf6a4b1599d.css +0 -2
  419. package/dist-build-23692234362/openmrs.936e8cf6a4b1599d.css.map +0 -1
  420. package/dist-build-23692234362/openmrs.c3adea28ef850516.js +0 -1
  421. package/dist-build-23692234362/openmrs.c3adea28ef850516.js.map +0 -1
  422. package/dist-build-23692234362/openmrs.e4daba1e3b840e70.css +0 -25
  423. package/dist-build-23692234362/openmrs.e4daba1e3b840e70.css.map +0 -1
  424. package/dist-build-23692234362/service-worker.js +0 -1
  425. package/dist-build-23692234362/service-worker.js.map +0 -1
  426. package/epcare-esm-report-builder-0.1.1-pre.4.tgz +0 -0
  427. /package/{dist-build-23692234362/bcca84a524572d10.woff2 → dist/fonts/IBMPlexMono-Italic-Cyrillic.woff2} +0 -0
  428. /package/{dist-build-23692234362/16f443eed01776ca.woff2 → dist/fonts/IBMPlexMono-Italic-Latin1.woff2} +0 -0
  429. /package/{dist-build-23692234362/72cdbedfe04be9f9.woff2 → dist/fonts/IBMPlexMono-Italic-Latin2.woff2} +0 -0
  430. /package/{dist-build-23692234362/661425f6798cd16a.woff2 → dist/fonts/IBMPlexMono-Italic-Latin3.woff2} +0 -0
  431. /package/{dist-build-23692234362/4680ba68412e4da9.woff2 → dist/fonts/IBMPlexMono-Italic-Pi.woff2} +0 -0
  432. /package/{dist-build-23692234362/0ae92bcea615e948.woff2 → dist/fonts/IBMPlexMono-Light-Cyrillic.woff2} +0 -0
  433. /package/{dist-build-23692234362/5c6586155f0d278a.woff2 → dist/fonts/IBMPlexMono-Light-Latin1.woff2} +0 -0
  434. /package/{dist-build-23692234362/d88899ef0fd16719.woff2 → dist/fonts/IBMPlexMono-Light-Latin2.woff2} +0 -0
  435. /package/{dist-build-23692234362/7509c9f56fe9e532.woff2 → dist/fonts/IBMPlexMono-Light-Latin3.woff2} +0 -0
  436. /package/{dist-build-23692234362/295dd01a1fbfee6d.woff2 → dist/fonts/IBMPlexMono-Light-Pi.woff2} +0 -0
  437. /package/{dist-build-23692234362/98a3af55a1698171.woff2 → dist/fonts/IBMPlexMono-LightItalic-Cyrillic.woff2} +0 -0
  438. /package/{dist-build-23692234362/eed48feba743e21c.woff2 → dist/fonts/IBMPlexMono-LightItalic-Latin1.woff2} +0 -0
  439. /package/{dist-build-23692234362/718c6cc31274ab1a.woff2 → dist/fonts/IBMPlexMono-LightItalic-Latin2.woff2} +0 -0
  440. /package/{dist-build-23692234362/77b48bc05299ecca.woff2 → dist/fonts/IBMPlexMono-LightItalic-Latin3.woff2} +0 -0
  441. /package/{dist-build-23692234362/081587ca0db8e63f.woff2 → dist/fonts/IBMPlexMono-LightItalic-Pi.woff2} +0 -0
  442. /package/{dist-build-23692234362/1f266d3619b30f16.woff2 → dist/fonts/IBMPlexMono-Regular-Cyrillic.woff2} +0 -0
  443. /package/{dist-build-23692234362/1c7bf8797e0a9be6.woff2 → dist/fonts/IBMPlexMono-Regular-Latin1.woff2} +0 -0
  444. /package/{dist-build-23692234362/7a0a0215c248c73d.woff2 → dist/fonts/IBMPlexMono-Regular-Latin2.woff2} +0 -0
  445. /package/{dist-build-23692234362/fbebeb4336e67012.woff2 → dist/fonts/IBMPlexMono-Regular-Latin3.woff2} +0 -0
  446. /package/{dist-build-23692234362/3f645f473b3f8fba.woff2 → dist/fonts/IBMPlexMono-Regular-Pi.woff2} +0 -0
  447. /package/{dist-build-23692234362/b4a074bf828bb757.woff2 → dist/fonts/IBMPlexMono-SemiBold-Cyrillic.woff2} +0 -0
  448. /package/{dist-build-23692234362/36c49aa341a7079a.woff2 → dist/fonts/IBMPlexMono-SemiBold-Latin1.woff2} +0 -0
  449. /package/{dist-build-23692234362/02acc4469a2fe2e4.woff2 → dist/fonts/IBMPlexMono-SemiBold-Latin2.woff2} +0 -0
  450. /package/{dist-build-23692234362/090b2bc014d24ea4.woff2 → dist/fonts/IBMPlexMono-SemiBold-Latin3.woff2} +0 -0
  451. /package/{dist-build-23692234362/4e11b8a7c445255f.woff2 → dist/fonts/IBMPlexMono-SemiBold-Pi.woff2} +0 -0
  452. /package/{dist-build-23692234362/a6ed036f17a1ea29.woff2 → dist/fonts/IBMPlexMono-SemiBoldItalic-Cyrillic.woff2} +0 -0
  453. /package/{dist-build-23692234362/60ec587649ba812a.woff2 → dist/fonts/IBMPlexMono-SemiBoldItalic-Latin1.woff2} +0 -0
  454. /package/{dist-build-23692234362/c9d9ce9f465df4fe.woff2 → dist/fonts/IBMPlexMono-SemiBoldItalic-Latin2.woff2} +0 -0
  455. /package/{dist-build-23692234362/be4d1f97b11d087c.woff2 → dist/fonts/IBMPlexMono-SemiBoldItalic-Latin3.woff2} +0 -0
  456. /package/{dist-build-23692234362/7073a7323e92bd11.woff2 → dist/fonts/IBMPlexMono-SemiBoldItalic-Pi.woff2} +0 -0
  457. /package/{dist-build-23692234362/08cf53c4e5e71cf1.woff2 → dist/fonts/IBMPlexSans-Italic-Cyrillic.woff2} +0 -0
  458. /package/{dist-build-23692234362/b2f4e9d1e821b71c.woff2 → dist/fonts/IBMPlexSans-Italic-Latin1.woff2} +0 -0
  459. /package/{dist-build-23692234362/c553f7e0199c5084.woff2 → dist/fonts/IBMPlexSans-Italic-Latin2.woff2} +0 -0
  460. /package/{dist-build-23692234362/f6ed27923769ad1d.woff2 → dist/fonts/IBMPlexSans-Italic-Latin3.woff2} +0 -0
  461. /package/{dist-build-23692234362/0be8520d8945b3b7.woff2 → dist/fonts/IBMPlexSans-Italic-Pi.woff2} +0 -0
  462. /package/{dist-build-23692234362/9624cec0f9bdd81e.woff2 → dist/fonts/IBMPlexSans-Light-Cyrillic.woff2} +0 -0
  463. /package/{dist-build-23692234362/368d16e3259bf207.woff2 → dist/fonts/IBMPlexSans-Light-Latin1.woff2} +0 -0
  464. /package/{dist-build-23692234362/e696cef1407b2610.woff2 → dist/fonts/IBMPlexSans-Light-Latin2.woff2} +0 -0
  465. /package/{dist-build-23692234362/dd8ce598529c3fab.woff2 → dist/fonts/IBMPlexSans-Light-Latin3.woff2} +0 -0
  466. /package/{dist-build-23692234362/9ddb22faa35006e7.woff2 → dist/fonts/IBMPlexSans-Light-Pi.woff2} +0 -0
  467. /package/{dist-build-23692234362/f543c88feb236d11.woff2 → dist/fonts/IBMPlexSans-LightItalic-Cyrillic.woff2} +0 -0
  468. /package/{dist-build-23692234362/802c6176541eeed7.woff2 → dist/fonts/IBMPlexSans-LightItalic-Latin1.woff2} +0 -0
  469. /package/{dist-build-23692234362/1f8c5a4087a524fd.woff2 → dist/fonts/IBMPlexSans-LightItalic-Latin2.woff2} +0 -0
  470. /package/{dist-build-23692234362/d66b8ff73d95cabb.woff2 → dist/fonts/IBMPlexSans-LightItalic-Latin3.woff2} +0 -0
  471. /package/{dist-build-23692234362/8080081b3379c637.woff2 → dist/fonts/IBMPlexSans-LightItalic-Pi.woff2} +0 -0
  472. /package/{dist-build-23692234362/65e6511e035870e1.woff2 → dist/fonts/IBMPlexSans-Regular-Cyrillic.woff2} +0 -0
  473. /package/{dist-build-23692234362/d265d81c58525ae4.woff2 → dist/fonts/IBMPlexSans-Regular-Latin1.woff2} +0 -0
  474. /package/{dist-build-23692234362/56c4118c0907f151.woff2 → dist/fonts/IBMPlexSans-Regular-Latin2.woff2} +0 -0
  475. /package/{dist-build-23692234362/183bae0e53a22182.woff2 → dist/fonts/IBMPlexSans-Regular-Latin3.woff2} +0 -0
  476. /package/{dist-build-23692234362/afcda12d9f805543.woff2 → dist/fonts/IBMPlexSans-Regular-Pi.woff2} +0 -0
  477. /package/{dist-build-23692234362/e62b00b9199c1ac9.woff2 → dist/fonts/IBMPlexSans-SemiBold-Cyrillic.woff2} +0 -0
  478. /package/{dist-build-23692234362/66b864fe213caf46.woff2 → dist/fonts/IBMPlexSans-SemiBold-Latin1.woff2} +0 -0
  479. /package/{dist-build-23692234362/b7f447da43f6e596.woff2 → dist/fonts/IBMPlexSans-SemiBold-Latin2.woff2} +0 -0
  480. /package/{dist-build-23692234362/dac90d495be353a0.woff2 → dist/fonts/IBMPlexSans-SemiBold-Latin3.woff2} +0 -0
  481. /package/{dist-build-23692234362/36e1e0430475edee.woff2 → dist/fonts/IBMPlexSans-SemiBold-Pi.woff2} +0 -0
  482. /package/{dist-build-23692234362/315eff729e4ccbd9.woff2 → dist/fonts/IBMPlexSans-SemiBoldItalic-Cyrillic.woff2} +0 -0
  483. /package/{dist-build-23692234362/d188f7f036ac5779.woff2 → dist/fonts/IBMPlexSans-SemiBoldItalic-Latin1.woff2} +0 -0
  484. /package/{dist-build-23692234362/19c8f94ccd6289f5.woff2 → dist/fonts/IBMPlexSans-SemiBoldItalic-Latin2.woff2} +0 -0
  485. /package/{dist-build-23692234362/2f686985e26e7107.woff2 → dist/fonts/IBMPlexSans-SemiBoldItalic-Latin3.woff2} +0 -0
  486. /package/{dist-build-23692234362/d5942cd81663e136.woff2 → dist/fonts/IBMPlexSans-SemiBoldItalic-Pi.woff2} +0 -0
  487. /package/{dist-build-23692234362/3bc19662b8630ee9.woff2 → dist/fonts/IBMPlexSerif-Italic-Cyrillic.woff2} +0 -0
  488. /package/{dist-build-23692234362/f591b0079faa93fe.woff2 → dist/fonts/IBMPlexSerif-Italic-Latin1.woff2} +0 -0
  489. /package/{dist-build-23692234362/b09ded85a7da77f1.woff2 → dist/fonts/IBMPlexSerif-Italic-Latin2.woff2} +0 -0
  490. /package/{dist-build-23692234362/48e37bd7ebf85a1f.woff2 → dist/fonts/IBMPlexSerif-Italic-Latin3.woff2} +0 -0
  491. /package/{dist-build-23692234362/8fe71173a13fe571.woff2 → dist/fonts/IBMPlexSerif-Italic-Pi.woff2} +0 -0
  492. /package/{dist-build-23692234362/a167fb2799dd741b.woff2 → dist/fonts/IBMPlexSerif-Light-Cyrillic.woff2} +0 -0
  493. /package/{dist-build-23692234362/5938bc2ae7ec60c0.woff2 → dist/fonts/IBMPlexSerif-Light-Latin1.woff2} +0 -0
  494. /package/{dist-build-23692234362/de013f1be25103fa.woff2 → dist/fonts/IBMPlexSerif-Light-Latin2.woff2} +0 -0
  495. /package/{dist-build-23692234362/537ddd61c5c1fce2.woff2 → dist/fonts/IBMPlexSerif-Light-Latin3.woff2} +0 -0
  496. /package/{dist-build-23692234362/14869ac5d1830304.woff2 → dist/fonts/IBMPlexSerif-Light-Pi.woff2} +0 -0
  497. /package/{dist-build-23692234362/6c6c45e66ff54281.woff2 → dist/fonts/IBMPlexSerif-LightItalic-Cyrillic.woff2} +0 -0
  498. /package/{dist-build-23692234362/afa9121a49e95351.woff2 → dist/fonts/IBMPlexSerif-LightItalic-Latin1.woff2} +0 -0
  499. /package/{dist-build-23692234362/8a83d654702f6534.woff2 → dist/fonts/IBMPlexSerif-LightItalic-Latin2.woff2} +0 -0
  500. /package/{dist-build-23692234362/1ae86565eab7451c.woff2 → dist/fonts/IBMPlexSerif-LightItalic-Latin3.woff2} +0 -0
  501. /package/{dist-build-23692234362/a9f25ca430709a1a.woff2 → dist/fonts/IBMPlexSerif-LightItalic-Pi.woff2} +0 -0
  502. /package/{dist-build-23692234362/8605507b7a8487c4.woff2 → dist/fonts/IBMPlexSerif-Regular-Cyrillic.woff2} +0 -0
  503. /package/{dist-build-23692234362/bec14780d81164de.woff2 → dist/fonts/IBMPlexSerif-Regular-Latin1.woff2} +0 -0
  504. /package/{dist-build-23692234362/a246c73905a31c93.woff2 → dist/fonts/IBMPlexSerif-Regular-Latin2.woff2} +0 -0
  505. /package/{dist-build-23692234362/0e7dd073cd8bb0ad.woff2 → dist/fonts/IBMPlexSerif-Regular-Latin3.woff2} +0 -0
  506. /package/{dist-build-23692234362/a2045a5cc4fdf94f.woff2 → dist/fonts/IBMPlexSerif-Regular-Pi.woff2} +0 -0
  507. /package/{dist-build-23692234362/4218ac9901b9d36d.woff2 → dist/fonts/IBMPlexSerif-SemiBold-Cyrillic.woff2} +0 -0
  508. /package/{dist-build-23692234362/a401aa7939cb6e6f.woff2 → dist/fonts/IBMPlexSerif-SemiBold-Latin1.woff2} +0 -0
  509. /package/{dist-build-23692234362/9ba85996af74c5ce.woff2 → dist/fonts/IBMPlexSerif-SemiBold-Latin2.woff2} +0 -0
  510. /package/{dist-build-23692234362/7f00bebb24e40167.woff2 → dist/fonts/IBMPlexSerif-SemiBold-Latin3.woff2} +0 -0
  511. /package/{dist-build-23692234362/14aaceff85fc8b28.woff2 → dist/fonts/IBMPlexSerif-SemiBold-Pi.woff2} +0 -0
  512. /package/{dist-build-23692234362/df222fceeffca849.woff2 → dist/fonts/IBMPlexSerif-SemiBoldItalic-Cyrillic.woff2} +0 -0
  513. /package/{dist-build-23692234362/20ba2b23c5c0cd0b.woff2 → dist/fonts/IBMPlexSerif-SemiBoldItalic-Latin1.woff2} +0 -0
  514. /package/{dist-build-23692234362/d9a5d958e69e058d.woff2 → dist/fonts/IBMPlexSerif-SemiBoldItalic-Latin2.woff2} +0 -0
  515. /package/{dist-build-23692234362/75dc5c5b04adc8bf.woff2 → dist/fonts/IBMPlexSerif-SemiBoldItalic-Latin3.woff2} +0 -0
  516. /package/{dist-build-23692234362/69d087d970ee9455.woff2 → dist/fonts/IBMPlexSerif-SemiBoldItalic-Pi.woff2} +0 -0
Binary file
@@ -1,2 +0,0 @@
1
- /*! For license information please see d1aa59bd9c702dc4.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkopenmrs=self.webpackChunkopenmrs||[]).push([[2744],{22744(e,t,r){r.r(t),r.d(t,{AbortedDeferredError:()=>pe,Await:()=>_r,BrowserRouter:()=>bn,Form:()=>Cn,HashRouter:()=>gn,Link:()=>kn,MemoryRouter:()=>Cr,NavLink:()=>Pn,Navigate:()=>Dr,NavigationType:()=>n,Outlet:()=>Lr,Route:()=>Ar,Router:()=>Tr,RouterProvider:()=>pn,Routes:()=>jr,ScrollRestoration:()=>Dn,UNSAFE_DataRouterContext:()=>Mt,UNSAFE_DataRouterStateContext:()=>Ut,UNSAFE_ErrorResponseImpl:()=>Se,UNSAFE_FetchersContext:()=>cn,UNSAFE_LocationContext:()=>Nt,UNSAFE_NavigationContext:()=>It,UNSAFE_RouteContext:()=>Bt,UNSAFE_ViewTransitionContext:()=>sn,UNSAFE_useRouteId:()=>dr,UNSAFE_useScrollRestoration:()=>zn,createBrowserRouter:()=>nn,createHashRouter:()=>an,createMemoryRouter:()=>zr,createPath:()=>N,createRoutesFromChildren:()=>Ir,createRoutesFromElements:()=>Ir,createSearchParams:()=>Xr,defer:()=>ye,generatePath:()=>Z,isRouteErrorResponse:()=>Ee,json:()=>ve,matchPath:()=>ee,matchRoutes:()=>K,parsePath:()=>B,redirect:()=>be,redirectDocument:()=>ge,renderMatches:()=>Nr,replace:()=>we,resolvePath:()=>ae,unstable_HistoryRouter:()=>wn,unstable_usePrompt:()=>Wn,useActionData:()=>br,useAsyncError:()=>Sr,useAsyncValue:()=>wr,useBeforeUnload:()=>Hn,useBlocker:()=>Rr,useFetcher:()=>Fn,useFetchers:()=>In,useFormAction:()=>Un,useHref:()=>Ht,useInRouterContext:()=>Wt,useLinkClickHandler:()=>Tn,useLoaderData:()=>mr,useLocation:()=>Kt,useMatch:()=>Vt,useMatches:()=>pr,useNavigate:()=>qt,useNavigation:()=>hr,useNavigationType:()=>$t,useOutlet:()=>Gt,useOutletContext:()=>Xt,useParams:()=>Qt,useResolvedPath:()=>Zt,useRevalidator:()=>vr,useRouteError:()=>gr,useRouteLoaderData:()=>yr,useRoutes:()=>er,useSearchParams:()=>jn,useSubmit:()=>Mn,useViewTransitionState:()=>Kn});var n,a=r(34227),o=r.t(a,2),i=r(34845),u=r.t(i,2);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e){if(Array.isArray(e))return e}function l(e,t,r,n,a,o,i){try{var u=e[o](i),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,a)}function f(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var o=e.apply(t,r);function i(e){l(o,n,a,i,u,"next",e)}function u(e){l(o,n,a,i,u,"throw",e)}i(void 0)})}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t,r){return h=P()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&w(a,r.prototype),a},h.apply(null,arguments)}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function y(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function b(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function S(e,t){return c(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw a}}return o}}(e,t)||x(e,t)||g()}function E(e){return function(e){if(Array.isArray(e))return s(e)}(e)||b(e)||x(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function x(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function k(e){var t="function"==typeof Map?new Map:void 0;return k=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,m(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),w(n,e)},k(e)}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P=function(){return!!e})()}function C(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(i,"next",{value:s(0)}),u(i,"throw",{value:s(1)}),u(i,"return",{value:s(2)}),"function"==typeof Symbol&&u(i,Symbol.iterator,{value:function(){return this}}),i;function s(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}function D(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},L.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));var A,T="popstate";function j(e){void 0===e&&(e={});var t,r=e.initialEntries,a=void 0===r?["/"]:r,o=e.initialIndex,i=e.v5Compat,u=void 0!==i&&i;t=a.map(function(e,t){return h(e,"string"==typeof e?null:e.state,0===t?"default":void 0)});var s=f(null==o?t.length-1:o),c=n.Pop,l=null;function f(e){return Math.min(Math.max(e,0),t.length-1)}function d(){return t[s]}function h(e,r,n){void 0===r&&(r=null);var a=I(t?d().pathname:"/",e,r,n);return U("/"===a.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),a}function v(e){return"string"==typeof e?e:N(e)}return{get index(){return s},get action(){return c},get location(){return d()},createHref:v,createURL:function(e){return new URL(v(e),"http://localhost")},encodeLocation:function(e){var t="string"==typeof e?B(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push:function(e,r){c=n.Push;var a=h(e,r);s+=1,t.splice(s,t.length,a),u&&l&&l({action:c,location:a,delta:1})},replace:function(e,r){c=n.Replace;var a=h(e,r);t[s]=a,u&&l&&l({action:c,location:a,delta:0})},go:function(e){c=n.Pop;var r=f(s+e),a=t[r];s=r,l&&l({action:c,location:a,delta:e})},listen:function(e){return l=e,function(){l=null}}}}function _(e){return void 0===e&&(e={}),z(function(e,t){var r=e.location;return I("",{pathname:r.pathname,search:r.search,hash:r.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:N(t)},null,e)}function O(e){return void 0===e&&(e={}),z(function(e,t){var r=B(e.location.hash.substr(1)),n=r.pathname,a=void 0===n?"/":n,o=r.search,i=void 0===o?"":o,u=r.hash,s=void 0===u?"":u;return a.startsWith("/")||a.startsWith(".")||(a="/"+a),I("",{pathname:a,search:i,hash:s},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){var r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){var a=e.location.href,o=a.indexOf("#");n=-1===o?a:a.slice(0,o)}return n+"#"+("string"==typeof t?t:N(t))},function(e,t){U("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)}function M(e,t){if(!1===e||null==e)throw new Error(t)}function U(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function F(e,t){return{usr:e.state,key:e.key,idx:t}}function I(e,t,r,n){return void 0===r&&(r=null),L({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?B(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function N(e){var t=e.pathname,r=void 0===t?"/":t,n=e.search,a=void 0===n?"":n,o=e.hash,i=void 0===o?"":o;return a&&"?"!==a&&(r+="?"===a.charAt(0)?a:"?"+a),i&&"#"!==i&&(r+="#"===i.charAt(0)?i:"#"+i),r}function B(e){var t={};if(e){var r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function z(e,t,r,a){void 0===a&&(a={});var o=a.window,i=void 0===o?document.defaultView:o,u=a.v5Compat,s=void 0!==u&&u,c=i.history,l=n.Pop,f=null,d=h();function h(){return(c.state||{idx:null}).idx}function v(){l=n.Pop;var e=h(),t=null==e?null:e-d;d=e,f&&f({action:l,location:m.location,delta:t})}function p(e){var t="null"!==i.location.origin?i.location.origin:i.location.href,r="string"==typeof e?e:N(e);return M(t,"No window.location.(origin|href) available to create URL for href: "+(r=r.replace(/ $/,"%20"))),new URL(r,t)}null==d&&(d=0,c.replaceState(L({},c.state,{idx:d}),""));var m={get action(){return l},get location(){return e(i,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(T,v),f=e,function(){i.removeEventListener(T,v),f=null}},createHref:function(e){return t(i,e)},createURL:p,encodeLocation:function(e){var t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l=n.Push;var a=I(m.location,e,t);r&&r(a,e);var o=F(a,d=h()+1),u=m.createHref(a);try{c.pushState(o,"",u)}catch(e){if(y(e,DOMException)&&"DataCloneError"===e.name)throw e;i.location.assign(u)}s&&f&&f({action:l,location:m.location,delta:1})},replace:function(e,t){l=n.Replace;var a=I(m.location,e,t);r&&r(a,e);var o=F(a,d=h()),i=m.createHref(a);c.replaceState(o,"",i),s&&f&&f({action:l,location:m.location,delta:0})},go:function(e){return c.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(A||(A={}));var H=new Set(["lazy","caseSensitive","path","id","index","children"]);function W(e,t,r,n){return void 0===r&&(r=[]),void 0===n&&(n={}),e.map(function(e,a){var o=E(r).concat([String(a)]),i="string"==typeof e.id?e.id:o.join("-");if(M(!0!==e.index||!e.children,"Cannot specify children on an index route"),M(!n[i],'Found a route id collision on id "'+i+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){var u=L({},e,t(e),{id:i});return n[i]=u,u}var s=L({},e,t(e),{id:i,children:void 0});return n[i]=s,e.children&&(s.children=W(e.children,t,o,n)),s})}function K(e,t,r){return void 0===r&&(r="/"),$(e,t,r,!1)}function $(e,t,r,n){var a=re(("string"==typeof t?B(t):t).pathname||"/",r);if(null==a)return null;var o=J(e);!function(e){e.sort(function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var r=e.length===t.length&&e.slice(0,-1).every(function(e,r){return e===t[r]});return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(function(e){return e.childrenIndex}),t.routesMeta.map(function(e){return e.childrenIndex}))})}(o);for(var i=null,u=0;null==i&&u<o.length;++u){var s=te(a);i=Q(o[u],s,n)}return i}function V(e,t){var r=e.route,n=e.pathname,a=e.params;return{id:r.id,pathname:n,params:a,data:t[r.id],handle:r.handle}}function J(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");var a=function(e,a,o){var i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(M(i.relativePath.startsWith(n),'Absolute route path "'+i.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(n.length));var u=le([n,i.relativePath]),s=r.concat(i);e.children&&e.children.length>0&&(M(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+u+'".'),J(e.children,t,s,u)),(null!=e.path||e.index)&&t.push({path:u,score:G(u,e.index),routesMeta:s})};return e.forEach(function(e,t){var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?")){var n=!0,o=!1,i=void 0;try{for(var u,s=q(e.path)[Symbol.iterator]();!(n=(u=s.next()).done);n=!0){var c=u.value;a(e,t,c)}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}}else a(e,t)}),t}function q(e){var t,r=e.split("/");if(0===r.length)return[];var n,a=c(n=r)||b(n)||x(n)||g(),o=a[0],i=a.slice(1),u=o.endsWith("?"),s=o.replace(/\?$/,"");if(0===i.length)return u?[s,""]:[s];var l,f=q(i.join("/")),d=[];return(t=d).push.apply(t,E(f.map(function(e){return""===e?s:[s,e].join("/")}))),u&&(l=d).push.apply(l,E(f)),d.map(function(t){return e.startsWith("/")&&""===t?"/":t})}var Y=/^:[\w-]+$/,X=function(e){return"*"===e};function G(e,t){var r=e.split("/"),n=r.length;return r.some(X)&&(n+=-2),t&&(n+=2),r.filter(function(e){return!X(e)}).reduce(function(e,t){return e+(Y.test(t)?3:""===t?1:10)},n)}function Q(e,t,r){void 0===r&&(r=!1);for(var n=e.routesMeta,a={},o="/",i=[],u=0;u<n.length;++u){var s=n[u],c=u===n.length-1,l="/"===o?t:t.slice(o.length)||"/",f=ee({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!f&&c&&r&&!n[n.length-1].route.index&&(f=ee({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!f)return null;Object.assign(a,f.params),i.push({params:a,pathname:le([o,f.pathname]),pathnameBase:fe(le([o,f.pathnameBase])),route:d}),"/"!==f.pathnameBase&&(o=le([o,f.pathnameBase]))}return i}function Z(e,t){void 0===t&&(t={});var r=e;r.endsWith("*")&&"*"!==r&&!r.endsWith("/*")&&(U(!1,'Route path "'+r+'" will be treated as if it were "'+r.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+r.replace(/\*$/,"/*")+'".'),r=r.replace(/\*$/,"/*"));var n=r.startsWith("/")?"/":"",a=function(e){return null==e?"":"string"==typeof e?e:String(e)};return n+r.split(/\/+/).map(function(e,r,n){if(r===n.length-1&&"*"===e)return a(t["*"]);var o=e.match(/^:([\w-]+)(\??)$/);if(o){var i=S(o,3),u=i[1],s=i[2],c=t[u];return M("?"===s||null!=c,'Missing ":'+u+'" param'),a(c)}return e.replace(/\?$/g,"")}).filter(function(e){return!!e}).join("/")}function ee(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});var r=S(function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!0),U("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,function(e,t,r){return n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)"});return e.endsWith("*")?(n.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),2),n=r[0],a=r[1],o=t.match(n);if(!o)return null;var i=o[0],u=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:a.reduce(function(e,t,r){var n=t.paramName,a=t.isOptional;if("*"===n){var o=s[r]||"";u=i.slice(0,i.length-o.length).replace(/(.)\/+$/,"$1")}var c=s[r];return e[n]=a&&!c?void 0:(c||"").replace(/%2F/g,"/"),e},{}),pathname:i,pathnameBase:u,pattern:e}}function te(e){try{return e.split("/").map(function(e){return decodeURIComponent(e).replace(/\//g,"%2F")}).join("/")}catch(t){return U(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function re(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}var ne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ae(e,t){void 0===t&&(t="/");var r,n,a="string"==typeof e?B(e):e,o=a.pathname,i=a.search,u=void 0===i?"":i,s=a.hash,c=void 0===s?"":s;return o?(n=o,ne.test(n)?r=o:(o.includes("//")&&U(!1,"Pathnames cannot have embedded double slashes - normalizing "+o+" -> "+(o=o.replace(/\/\/+/g,"/"))),r=o.startsWith("/")?oe(o.substring(1),"/"):oe(o,t))):r=t,{pathname:r,search:de(u),hash:he(c)}}function oe(e,t){var r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(function(e){".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function ie(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function ue(e){return e.filter(function(e,t){return 0===t||e.route.path&&e.route.path.length>0})}function se(e,t){var r=ue(e);return t?r.map(function(e,t){return t===r.length-1?e.pathname:e.pathnameBase}):r.map(function(e){return e.pathnameBase})}function ce(e,t,r,n){var a;void 0===n&&(n=!1),"string"==typeof e?a=B(e):(M(!(a=L({},e)).pathname||!a.pathname.includes("?"),ie("?","pathname","search",a)),M(!a.pathname||!a.pathname.includes("#"),ie("#","pathname","hash",a)),M(!a.search||!a.search.includes("#"),ie("#","search","hash",a)));var o,i=""===e||""===a.pathname,u=i?"/":a.pathname;if(null==u)o=r;else{var s=t.length-1;if(!n&&u.startsWith("..")){for(var c=u.split("/");".."===c[0];)c.shift(),s-=1;a.pathname=c.join("/")}o=s>=0?t[s]:"/"}var l=ae(a,o),f=u&&"/"!==u&&u.endsWith("/"),d=(i||"."===u)&&r.endsWith("/");return l.pathname.endsWith("/")||!f&&!d||(l.pathname+="/"),l}var le=function(e){return e.join("/").replace(/\/\/+/g,"/")},fe=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},de=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},he=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},ve=function(e,t){void 0===t&&(t={});var r="number"==typeof t?{status:t}:t,n=new Headers(r.headers);return n.has("Content-Type")||n.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),L({},r,{headers:n}))},pe=function(e){function t(){return d(this,t),e=this,n=arguments,r=m(r=t),function(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(e,P()?Reflect.construct(r,n||[],m(e).constructor):r.apply(e,n));var e,r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(t,e),t}(k(Error)),me=function(){function e(t,r){var n,a=this;d(this,e),this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],M(t&&"object"===(void 0===t?"undefined":R(t))&&!Array.isArray(t),"defer() only accepts plain objects"),this.abortPromise=new Promise(function(e,t){return n=t}),this.controller=new AbortController;var o=function(){return n(new pe("Deferred data aborted"))};this.unlistenAbortSignal=function(){return a.controller.signal.removeEventListener("abort",o)},this.controller.signal.addEventListener("abort",o),this.data=Object.entries(t).reduce(function(e,t){var r=S(t,2),n=r[0],o=r[1];return Object.assign(e,p({},n,a.trackPromise(n,o)))},{}),this.done&&this.unlistenAbortSignal(),this.init=r}var t,r;return t=e,(r=[{key:"trackPromise",value:function(e,t){var r=this;if(!y(t,Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);var n=Promise.race([t,this.abortPromise]).then(function(t){return r.onSettle(n,e,void 0,t)},function(t){return r.onSettle(n,e,t)});return n.catch(function(){}),Object.defineProperty(n,"_tracked",{get:function(){return!0}}),n}},{key:"onSettle",value:function(e,t,r,n){if(this.controller.signal.aborted&&y(r,pe))return this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:function(){return r}}),Promise.reject(r);if(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),void 0===r&&void 0===n){var a=new Error('Deferred data for key "'+t+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(e,"_error",{get:function(){return a}}),this.emit(!1,t),Promise.reject(a)}return void 0===n?(Object.defineProperty(e,"_error",{get:function(){return r}}),this.emit(!1,t),Promise.reject(r)):(Object.defineProperty(e,"_data",{get:function(){return n}}),this.emit(!1,t),n)}},{key:"emit",value:function(e,t){this.subscribers.forEach(function(r){return r(e,t)})}},{key:"subscribe",value:function(e){var t=this;return this.subscribers.add(e),function(){return t.subscribers.delete(e)}}},{key:"cancel",value:function(){var e=this;this.controller.abort(),this.pendingKeysSet.forEach(function(t,r){return e.pendingKeysSet.delete(r)}),this.emit(!0)}},{key:"resolveData",value:function(e){return f(function(){var t,r,n;return C(this,function(a){switch(a.label){case 0:return t=this,r=!1,this.done?[3,2]:(n=function(){return t.cancel()},e.addEventListener("abort",n),[4,new Promise(function(r){t.subscribe(function(a){e.removeEventListener("abort",n),(a||t.done)&&r(a)})})]);case 1:r=a.sent(),a.label=2;case 2:return[2,r]}})}).call(this)}},{key:"done",get:function(){return 0===this.pendingKeysSet.size}},{key:"unwrappedData",get:function(){return M(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce(function(e,t){var r=S(t,2),n=r[0],a=r[1];return Object.assign(e,p({},n,function(e){if(!function(e){return y(e,Promise)&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}(a)))},{})}},{key:"pendingKeys",get:function(){return Array.from(this.pendingKeysSet)}}])&&v(t.prototype,r),e}(),ye=function(e,t){return void 0===t&&(t={}),new me(e,"number"==typeof t?{status:t}:t)},be=function(e,t){void 0===t&&(t=302);var r=t;"number"==typeof r?r={status:r}:void 0===r.status&&(r.status=302);var n=new Headers(r.headers);return n.set("Location",e),new Response(null,L({},r,{headers:n}))},ge=function(e,t){var r=be(e,t);return r.headers.set("X-Remix-Reload-Document","true"),r},we=function(e,t){var r=be(e,t);return r.headers.set("X-Remix-Replace","true"),r},Se=function e(t,r,n,a){d(this,e),void 0===a&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,y(n,Error)?(this.data=n.toString(),this.error=n):this.data=n};function Ee(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var Re=["post","put","patch","delete"],xe=new Set(Re),ke=["get"].concat(E(Re)),Pe=new Set(ke),Ce=new Set([301,302,303,307,308]),De=new Set([307,308]),Le={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ae={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Te={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},je=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_e=function(e){return{hasErrorBoundary:Boolean(e.hasErrorBoundary)}},Oe="remix-router-transitions";function Me(e){var t,r=e.window?e.window:"undefined"!=typeof window?window:void 0,a=void 0!==r&&void 0!==r.document&&void 0!==r.document.createElement,o=!a;if(M(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){var i=e.detectErrorBoundary;t=function(e){return{hasErrorBoundary:i(e)}}}else t=_e;var u,s,c,l={},d=W(e.routes,t,void 0,l),h=e.basename||"/",v=e.dataStrategy||$e,m=e.patchRoutesOnNavigation,b=L({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),g=null,w=new Set,x=null,k=null,P=null,T=null!=e.hydrationData,j=K(d,e.history.location,h),_=!1,O=null;if(null==j&&!m){var F=at(404,{pathname:e.history.location.pathname}),N=nt(d);j=N.matches,O=p({},N.route.id,F)}if(j&&!e.hydrationData&&Lt(j,d,e.history.location.pathname).active&&(j=null),j)if(j.some(function(e){return e.route.lazy}))s=!1;else if(j.some(function(e){return e.route.loader}))if(b.v7_partialHydration){var B=e.hydrationData?e.hydrationData.loaderData:null,z=e.hydrationData?e.hydrationData.errors:null;if(z){var H=j.findIndex(function(e){return void 0!==z[e.route.id]});s=j.slice(0,H+1).every(function(e){return!Be(e.route,B,z)})}else s=j.every(function(e){return!Be(e.route,B,z)})}else s=null!=e.hydrationData;else s=!0;else if(s=!1,j=[],b.v7_partialHydration){var J=Lt(null,d,e.history.location.pathname);J.active&&J.matches&&(_=!0,j=J.matches)}var q,Y={historyAction:e.history.action,location:e.history.location,matches:j,initialized:s,navigation:Le,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||O,fetchers:new Map,blockers:new Map},X=n.Pop,G=!1,Q=!1,Z=new Map,ee=null,te=!1,ne=!1,ae=[],oe=new Set,ie=new Map,ue=0,se=-1,ce=new Map,le=new Set,fe=new Map,de=new Map,he=new Set,ve=new Map,pe=new Map,me=void 0;function ye(e,t){void 0===t&&(t={}),Y=L({},Y,e);var r=[],n=[];b.v7_fetcherPersist&&Y.fetchers.forEach(function(e,t){"idle"===e.state&&(he.has(t)?n.push(t):r.push(t))}),he.forEach(function(e){Y.fetchers.has(e)||ie.has(e)||n.push(e)}),E(w).forEach(function(e){return e(Y,{deletedFetchers:n,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync})}),b.v7_fetcherPersist?(r.forEach(function(e){return Y.fetchers.delete(e)}),n.forEach(function(e){return Je(e)})):n.forEach(function(e){return he.delete(e)})}function be(t,r,a){var o,i,s,c=(void 0===a?{}:a).flushSync,l=null!=Y.actionData&&null!=Y.navigation.formMethod&&dt(Y.navigation.formMethod)&&"loading"===Y.navigation.state&&!0!==(null==(o=t.state)?void 0:o._isRedirect);s=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:l?Y.actionData:null;var f=r.loaderData?et(Y.loaderData,r.loaderData,r.matches||[],r.errors):Y.loaderData,h=Y.blockers;h.size>0&&(h=new Map(h)).forEach(function(e,t){return h.set(t,Te)});var v,p=!0===G||null!=Y.navigation.formMethod&&dt(Y.navigation.formMethod)&&!0!==(null==(i=t.state)?void 0:i._isRedirect);if(u&&(d=u,u=void 0),te||X===n.Pop||(X===n.Push?e.history.push(t,t.state):X===n.Replace&&e.history.replace(t,t.state)),X===n.Pop){var m=Z.get(Y.location.pathname);m&&m.has(t.pathname)?v={currentLocation:Y.location,nextLocation:t}:Z.has(t.pathname)&&(v={currentLocation:t,nextLocation:Y.location})}else if(Q){var y=Z.get(Y.location.pathname);y?y.add(t.pathname):(y=new Set([t.pathname]),Z.set(Y.location.pathname,y)),v={currentLocation:Y.location,nextLocation:t}}ye(L({},r,{actionData:s,loaderData:f,historyAction:X,location:t,initialized:!0,navigation:Le,revalidation:"idle",restoreScrollPosition:Dt(t,r.matches||Y.matches),preventScrollReset:p,blockers:h}),{viewTransitionOpts:v,flushSync:!0===c}),X=n.Pop,G=!1,Q=!1,te=!1,ne=!1,ae=[]}function ge(t,r,n){return f(function(){var a,o,i,s,c,l,f,v,m,y,b,g,w,E,R,k,D,T,j,O;return C(this,function(C){switch(C.label){case 0:return q&&q.abort(),q=null,X=t,te=!0===(n&&n.startUninterruptedRevalidation),function(e,t){if(x&&P){var r=Ct(e,t);x[r]=P()}}(Y.location,Y.matches),G=!0===(n&&n.preventScrollReset),Q=!0===(n&&n.enableViewTransition),a=u||d,o=n&&n.overrideNavigation,i=null!=n&&n.initialHydration&&Y.matches&&Y.matches.length>0&&!_?Y.matches:K(a,r,h),s=!0===(n&&n.flushSync),!i||!Y.initialized||ne||(M=Y.location,U=r,M.pathname!==U.pathname||M.search!==U.search||(""===M.hash||M.hash!==U.hash)&&""===U.hash)||n&&n.submission&&dt(n.submission.formMethod)?((c=Lt(i,a,r.pathname)).active&&c.matches&&(i=c.matches),i?(q=new AbortController,y=Xe(e.history,r,q.signal,n&&n.submission),n&&n.pendingError?(b=[rt(i).route.id,{type:A.error,error:n.pendingError}],[3,3]):[3,1]):(l=kt(r.pathname),f=l.error,v=l.notFoundMatches,m=l.route,be(r,{matches:v,loaderData:{},errors:p({},m.id,f)},{flushSync:s}),[2])):(be(r,{matches:i},{flushSync:s}),[2]);case 1:return n&&n.submission&&dt(n.submission.formMethod)?[4,we(y,r,n.submission,i,c.active,{replace:n.replace,flushSync:s})]:[3,3];case 2:if((g=C.sent()).shortCircuited)return[2];if(g.pendingActionResult&&(w=S(g.pendingActionResult,2),E=w[0],st(R=w[1])&&Ee(R.error)&&404===R.error.status))return q=null,be(r,{matches:g.matches,loaderData:{},errors:p({},E,R.error)}),[2];i=g.matches||i,b=g.pendingActionResult,o=gt(r,n.submission),s=!1,c.active=!1,y=Xe(e.history,y.url,y.signal),C.label=3;case 3:return[4,Re(y,r,i,c.active,o,n&&n.submission,n&&n.fetcherSubmission,n&&n.replace,n&&!0===n.initialHydration,s,b)];case 4:return k=C.sent(),D=k.shortCircuited,T=k.matches,j=k.loaderData,O=k.errors,D||(q=null,be(r,L({matches:T||i},tt(b),{loaderData:j,errors:O}))),[2]}var M,U})})()}function we(t,r,a,o,i,u){return f(function(){var s,c,l,f,d,v,p,m,y,b,g,w,S;return C(this,function(E){switch(E.label){case 0:return void 0===u&&(u={}),Ie(),s=function(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}(r,a),ye({navigation:s},{flushSync:!0===u.flushSync}),i?[4,At(o,r.pathname,t.signal)]:[3,2];case 1:if("aborted"===(c=E.sent()).type)return[2,{shortCircuited:!0}];if("error"===c.type)return l=rt(c.partialMatches).route.id,[2,{matches:c.partialMatches,pendingActionResult:[l,{type:A.error,error:c.error}]}];if(!c.matches)return f=kt(r.pathname),d=f.notFoundMatches,v=f.error,p=f.route,[2,{matches:d,pendingActionResult:[p.id,{type:A.error,error:v}]}];o=c.matches,E.label=2;case 2:return(y=yt(o,r)).route.action||y.route.lazy?[3,3]:(m={type:A.error,error:at(405,{method:t.method,pathname:r.pathname,routeId:y.route.id})},[3,5]);case 3:return[4,Pe("action",Y,t,[y],o,null)];case 4:if(b=E.sent(),m=b[y.route.id],t.signal.aborted)return[2,{shortCircuited:!0}];E.label=5;case 5:return ct(m)?(u&&null!=u.replace?g=u.replace:(w=Ye(m.response.headers.get("Location"),new URL(t.url),h,e.history),g=w===Y.location.pathname+Y.location.search),[4,ke(t,m,!0,{submission:a,replace:g})]):[3,7];case 6:return E.sent(),[2,{shortCircuited:!0}];case 7:if(ut(m))throw at(400,{type:"defer-action"});return st(m)?(S=rt(o,y.route.id),!0!==(u&&u.replace)&&(X=n.Push),[2,{matches:o,pendingActionResult:[S.route.id,m]}]):[2,{matches:o,pendingActionResult:[y.route.id,m]}]}})})()}function Re(t,r,n,a,o,i,s,c,l,v,m){return f(function(){var f,y,g,w,E,R,x,k,P,D,A,T,j,_,O,M,U,F,I,N,B,z,H,W,K,$,V,J;return C(this,function(C){switch(C.label){case 0:return f=o||gt(r,i),y=i||s||bt(f),g=!(te||b.v7_partialHydration&&l),a?(g&&(w=xe(m),ye(L({navigation:f},void 0!==w?{actionData:w}:{}),{flushSync:v})),[4,At(n,r.pathname,t.signal)]):[3,2];case 1:if("aborted"===(E=C.sent()).type)return[2,{shortCircuited:!0}];if("error"===E.type)return R=rt(E.partialMatches).route.id,[2,{matches:E.partialMatches,loaderData:{},errors:p({},R,E.error)}];if(!E.matches)return x=kt(r.pathname),k=x.error,P=x.notFoundMatches,D=x.route,[2,{matches:P,loaderData:{},errors:p({},D.id,k)}];n=E.matches,C.label=2;case 2:return A=u||d,T=S(Ne(e.history,Y,n,y,r,b.v7_partialHydration&&!0===l,b.v7_skipActionErrorRevalidation,ne,ae,oe,he,fe,le,A,h,m),2),j=T[0],_=T[1],Pt(function(e){return!(n&&n.some(function(t){return t.route.id===e}))||j&&j.some(function(t){return t.route.id===e})}),se=++ue,0===j.length&&0===_.length?(O=it(),be(r,L({matches:n,loaderData:{},errors:m&&st(m[1])?p({},m[0],m[1].error):null},tt(m),O?{fetchers:new Map(Y.fetchers)}:{}),{flushSync:v}),[2,{shortCircuited:!0}]):(g&&(M={},a||(M.navigation=f,void 0!==(U=xe(m))&&(M.actionData=U)),_.length>0&&(M.fetchers=function(e){return e.forEach(function(e){var t=Y.fetchers.get(e.key),r=wt(void 0,t?t.data:void 0);Y.fetchers.set(e.key,r)}),new Map(Y.fetchers)}(_)),ye(M,{flushSync:v})),_.forEach(function(e){Ge(e.key),e.controller&&ie.set(e.key,e.controller)}),F=function(){return _.forEach(function(e){return Ge(e.key)})},q&&q.signal.addEventListener("abort",F),[4,Me(Y,n,j,_,t)]);case 3:return I=C.sent(),N=I.loaderResults,B=I.fetcherResults,t.signal.aborted?[2,{shortCircuited:!0}]:(q&&q.signal.removeEventListener("abort",F),_.forEach(function(e){return ie.delete(e.key)}),(z=ot(N))?[4,ke(t,z.result,!0,{replace:c})]:[3,5]);case 4:return C.sent(),[2,{shortCircuited:!0}];case 5:return(z=ot(B))?(le.add(z.key),[4,ke(t,z.result,!0,{replace:c})]):[3,7];case 6:return C.sent(),[2,{shortCircuited:!0}];case 7:return H=Ze(Y,n,N,m,_,B,ve),W=H.loaderData,K=H.errors,ve.forEach(function(e,t){e.subscribe(function(r){(r||e.done)&&ve.delete(t)})}),b.v7_partialHydration&&l&&Y.errors&&(K=L({},Y.errors,K)),$=it(),V=mt(se),J=$||V||_.length>0,[2,L({matches:n,loaderData:W,errors:K},J?{fetchers:new Map(Y.fetchers)}:{})]}})})()}function xe(e){return e&&!st(e[1])?p({},e[0],e[1].data):Y.actionData?0===Object.keys(Y.actionData).length?null:Y.actionData:void 0}function ke(t,o,i,u){return f(function(){var s,c,l,f,d,v,p,m,y,b,g,w,S,E,R,x;return C(this,function(k){switch(k.label){case 0:return c=(s=void 0===u?{}:u).submission,l=s.fetcherSubmission,f=s.preventScrollReset,d=s.replace,o.response.headers.has("X-Remix-Revalidate")&&(ne=!0),M(v=o.response.headers.get("Location"),"Expected a Location header on the redirect Response"),v=Ye(v,new URL(t.url),h,e.history),p=I(Y.location,v,{_isRedirect:!0}),a&&(m=!1,o.response.headers.has("X-Remix-Reload-Document")?m=!0:je.test(v)&&(y=e.history.createURL(v),m=y.origin!==r.location.origin||null==re(y.pathname,h)),m)?(d?r.location.replace(v):r.location.assign(v),[2]):(q=null,b=!0===d||o.response.headers.has("X-Remix-Replace")?n.Replace:n.Push,g=Y.navigation,w=g.formMethod,S=g.formAction,E=g.formEncType,!c&&!l&&w&&S&&E&&(c=bt(Y.navigation)),R=c||l,De.has(o.response.status)&&R&&dt(R.formMethod)?[4,ge(b,p,{submission:L({},R,{formAction:v}),preventScrollReset:f||G,enableViewTransition:i?Q:void 0})]:[3,2]);case 1:return k.sent(),[3,4];case 2:return x=gt(p,c),[4,ge(b,p,{overrideNavigation:x,fetcherSubmission:l,preventScrollReset:f||G,enableViewTransition:i?Q:void 0})];case 3:k.sent(),k.label=4;case 4:return[2]}})})()}function Pe(e,r,n,a,o,i){return f(function(){var r,u,s,c,d,p,m,g,w,E,x,k,P;return C(this,function(D){switch(D.label){case 0:u={},D.label=1;case 1:return D.trys.push([1,3,,4]),[4,Ve(v,e,0,n,a,o,i,l,t)];case 2:return r=D.sent(),[3,4];case 3:return s=D.sent(),a.forEach(function(e){u[e.route.id]={type:A.error,error:s}}),[2,u];case 4:c=!0,d=!1,p=void 0,D.label=5;case 5:D.trys.push([5,11,12,13]),m=Object.entries(r)[Symbol.iterator](),D.label=6;case 6:return(c=(g=m.next()).done)?[3,10]:(w=S(g.value,2),E=w[0],function(e){return ft(e.result)&&Ce.has(e.result.status)}(x=w[1])?(k=x.result,u[E]={type:A.redirect,response:qe(k,n,E,o,h,b.v7_relativeSplatPath)},[3,9]):[3,7]);case 7:return[4,(L=x,f(function(){var e,t,r,n,a,o,i,u,s,c,l,f,d;return C(this,function(h){switch(h.label){case 0:if(e=L.result,t=L.type,!ft(e))return[3,10];h.label=1;case 1:return h.trys.push([1,8,,9]),(n=e.headers.get("Content-Type"))&&/\bapplication\/json\b/.test(n)?null!=e.body?[3,2]:(r=null,[3,4]):[3,5];case 2:return[4,e.json()];case 3:r=h.sent(),h.label=4;case 4:return[3,7];case 5:return[4,e.text()];case 6:r=h.sent(),h.label=7;case 7:return[3,9];case 8:return a=h.sent(),[2,{type:A.error,error:a}];case 9:return t===A.error?[2,{type:A.error,error:new Se(e.status,e.statusText,r),statusCode:e.status,headers:e.headers}]:[2,{type:A.data,data:r,statusCode:e.status,headers:e.headers}];case 10:return t===A.error?lt(e)?y(e.data,Error)?[2,{type:A.error,error:e.data,statusCode:null==(u=e.init)?void 0:u.status,headers:null!=(s=e.init)&&s.headers?new Headers(e.init.headers):void 0}]:[2,{type:A.error,error:new Se((null==(o=e.init)?void 0:o.status)||500,void 0,e.data),statusCode:Ee(e)?e.status:void 0,headers:null!=(i=e.init)&&i.headers?new Headers(e.init.headers):void 0}]:[2,{type:A.error,error:e,statusCode:Ee(e)?e.status:void 0}]:(v=e)&&"object"===(void 0===v?"undefined":R(v))&&"object"===R(v.data)&&"function"==typeof v.subscribe&&"function"==typeof v.cancel&&"function"==typeof v.resolveData?[2,{type:A.deferred,deferredData:e,statusCode:null==(c=e.init)?void 0:c.status,headers:(null==(l=e.init)?void 0:l.headers)&&new Headers(e.init.headers)}]:lt(e)?[2,{type:A.data,data:e.data,statusCode:null==(f=e.init)?void 0:f.status,headers:null!=(d=e.init)&&d.headers?new Headers(e.init.headers):void 0}]:[2,{type:A.data,data:e}]}var v})})())];case 8:u[E]=D.sent(),D.label=9;case 9:return c=!0,[3,6];case 10:return[3,13];case 11:return P=D.sent(),d=!0,p=P,[3,13];case 12:try{c||null==m.return||m.return()}finally{if(d)throw p}return[7];case 13:return[2,u]}var L})})()}function Me(t,r,n,a,o){return f(function(){var i,u,s,c,l;return C(this,function(d){switch(d.label){case 0:return i=t.matches,u=Pe("loader",0,o,n,r,null),s=Promise.all(a.map(function(t){return f(function(){var r,n;return C(this,function(a){switch(a.label){case 0:return t.matches&&t.match&&t.controller?[4,Pe("loader",0,Xe(e.history,t.path,t.controller.signal),[t.match],t.matches,t.key)]:[3,2];case 1:return r=a.sent(),n=r[t.match.route.id],[2,p({},t.key,n)];case 2:return[2,Promise.resolve(p({},t.key,{type:A.error,error:at(404,{pathname:t.path})}))];case 3:return[2]}})})()})),[4,u];case 1:return c=d.sent(),[4,s];case 2:return l=d.sent().reduce(function(e,t){return Object.assign(e,t)},{}),[4,Promise.all([ht(r,c,o.signal,i,t.loaderData),vt(r,l,a)])];case 3:return d.sent(),[2,{loaderResults:c,fetcherResults:l}]}})})()}function Ie(){var e;ne=!0,(e=ae).push.apply(e,E(Pt())),fe.forEach(function(e,t){ie.has(t)&&oe.add(t),Ge(t)})}function ze(e,t,r){void 0===r&&(r={}),Y.fetchers.set(e,t),ye({fetchers:new Map(Y.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function He(e,t,r,n){void 0===n&&(n={});var a=rt(Y.matches,t);Je(e),ye({errors:p({},a.route.id,r),fetchers:new Map(Y.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Ke(e){return de.set(e,(de.get(e)||0)+1),he.has(e)&&he.delete(e),Y.fetchers.get(e)||Ae}function Je(e){var t=Y.fetchers.get(e);!ie.has(e)||t&&"loading"===t.state&&ce.has(e)||Ge(e),fe.delete(e),ce.delete(e),le.delete(e),b.v7_fetcherPersist&&he.delete(e),oe.delete(e),Y.fetchers.delete(e)}function Ge(e){var t=ie.get(e);t&&(t.abort(),ie.delete(e))}function Qe(e){var t=!0,r=!1,n=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,u=St(Ke(i).data);Y.fetchers.set(i,u)}}catch(e){r=!0,n=e}finally{try{t||null==o.return||o.return()}finally{if(r)throw n}}}function it(){var e=[],t=!1,r=!0,n=!1,a=void 0;try{for(var o,i=le[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=o.value,s=Y.fetchers.get(u);M(s,"Expected fetcher: "+u),"loading"===s.state&&(le.delete(u),e.push(u),t=!0)}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return Qe(e),t}function mt(e){var t=[],r=!0,n=!1,a=void 0;try{for(var o,i=ce[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=S(o.value,2),s=u[0];if(u[1]<e){var c=Y.fetchers.get(s);M(c,"Expected fetcher: "+s),"loading"===c.state&&(Ge(s),ce.delete(s),t.push(s))}}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return Qe(t),t.length>0}function Et(e){Y.blockers.delete(e),pe.delete(e)}function Rt(e,t){var r=Y.blockers.get(e)||Te;M("unblocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"blocked"===t.state||"blocked"===r.state&&"proceeding"===t.state||"blocked"===r.state&&"unblocked"===t.state||"proceeding"===r.state&&"unblocked"===t.state,"Invalid blocker state transition: "+r.state+" -> "+t.state);var n=new Map(Y.blockers);n.set(e,t),ye({blockers:n})}function xt(e){var t=e.currentLocation,r=e.nextLocation,n=e.historyAction;if(0!==pe.size){pe.size>1&&U(!1,"A router only supports one blocker at a time");var a=Array.from(pe.entries()),o=S(a[a.length-1],2),i=o[0],u=o[1],s=Y.blockers.get(i);if(!s||"proceeding"!==s.state)return u({currentLocation:t,nextLocation:r,historyAction:n})?i:void 0}}function kt(e){var t=at(404,{pathname:e}),r=nt(u||d),n=r.matches,a=r.route;return Pt(),{notFoundMatches:n,route:a,error:t}}function Pt(e){var t=[];return ve.forEach(function(r,n){e&&!e(n)||(r.cancel(),t.push(n),ve.delete(n))}),t}function Ct(e,t){return k&&k(e,t.map(function(e){return V(e,Y.loaderData)}))||e.key}function Dt(e,t){if(x){var r=Ct(e,t),n=x[r];if("number"==typeof n)return n}return null}function Lt(e,t,r){if(m){if(!e)return{active:!0,matches:$(t,r,h,!0)||[]};if(Object.keys(e[0].params).length>0)return{active:!0,matches:$(t,r,h,!0)}}return{active:!1,matches:null}}function At(e,r,n,a){return f(function(){var o,i,s;return C(this,function(c){switch(c.label){case 0:if(o=function(){var e,o,s,c,f;return C(this,function(v){switch(v.label){case 0:e=null==u,o=u||d,s=l,v.label=1;case 1:return v.trys.push([1,3,4,5]),[4,m({signal:n,path:r,matches:i,fetcherKey:a,patch:function(e,r){n.aborted||We(e,r,o,s,t)}})];case 2:return v.sent(),[3,5];case 3:return[2,{v:{type:"error",error:v.sent(),partialMatches:i}}];case 4:return e&&!n.aborted&&(d=E(d)),[7];case 5:return n.aborted?[2,{v:{type:"aborted"}}]:(c=K(o,r,h))?[2,{v:{type:"success",matches:c}}]:!(f=$(o,r,h,!0))||i.length===f.length&&i.every(function(e,t){return e.route.id===f[t].route.id})?[2,{v:{type:"success",matches:null}}]:(i=f,[2])}})},!m)return[2,{type:"success",matches:e}];i=e,c.label=1;case 1:return[5,D(o())];case 2:return"object"===R(s=c.sent())?[2,s.v]:[3,1];case 3:return[2]}})})()}return c={get basename(){return h},get future(){return b},get state(){return Y},get routes(){return d},get window(){return r},initialize:function(){if(g=e.history.listen(function(t){var r=t.action,n=t.location,a=t.delta;if(me)return me(),void(me=void 0);U(0===pe.size||null!=a,"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.");var o=xt({currentLocation:Y.location,nextLocation:n,historyAction:r});if(o&&null!=a){var i=new Promise(function(e){me=e});return e.history.go(-1*a),void Rt(o,{state:"blocked",location:n,proceed:function(){Rt(o,{state:"proceeding",proceed:void 0,reset:void 0,location:n}),i.then(function(){return e.history.go(a)})},reset:function(){var e=new Map(Y.blockers);e.set(o,Te),ye({blockers:e})}})}return ge(r,n)}),a){!function(e,t){try{var r=e.sessionStorage.getItem(Oe);if(r){var n=JSON.parse(r),a=!0,o=!1,i=void 0;try{for(var u,s=Object.entries(n||{})[Symbol.iterator]();!(a=(u=s.next()).done);a=!0){var c=S(u.value,2),l=c[0],f=c[1];f&&Array.isArray(f)&&t.set(l,new Set(f||[]))}}catch(e){o=!0,i=e}finally{try{a||null==s.return||s.return()}finally{if(o)throw i}}}}catch(e){}}(r,Z);var t=function(){return function(e,t){if(t.size>0){var r={},n=!0,a=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var s=S(i.value,2),c=s[0],l=s[1];r[c]=E(l)}}catch(e){a=!0,o=e}finally{try{n||null==u.return||u.return()}finally{if(a)throw o}}try{e.sessionStorage.setItem(Oe,JSON.stringify(r))}catch(e){U(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(r,Z)};r.addEventListener("pagehide",t),ee=function(){return r.removeEventListener("pagehide",t)}}return Y.initialized||ge(n.Pop,Y.location,{initialHydration:!0}),c},subscribe:function(e){return w.add(e),function(){return w.delete(e)}},enableScrollRestoration:function(e,t,r){if(x=e,P=t,k=r||null,!T&&Y.navigation===Le){T=!0;var n=Dt(Y.location,Y.matches);null!=n&&ye({restoreScrollPosition:n})}return function(){x=null,P=null,k=null}},navigate:function t(r,a){return f(function(){var o,i,u,s,c,l,f,d,v,p,m,y;return C(this,function(g){switch(g.label){case 0:return"number"==typeof r?(e.history.go(r),[2]):(o=Ue(Y.location,Y.matches,h,b.v7_prependBasename,r,b.v7_relativeSplatPath,null==a?void 0:a.fromRouteId,null==a?void 0:a.relative),i=Fe(b.v7_normalizeFormMethod,!1,o,a),u=i.path,s=i.submission,c=i.error,l=Y.location,f=L({},f=I(Y.location,u,a&&a.state),e.history.encodeLocation(f)),d=a&&null!=a.replace?a.replace:void 0,v=n.Push,!0===d?v=n.Replace:!1===d||null!=s&&dt(s.formMethod)&&s.formAction===Y.location.pathname+Y.location.search&&(v=n.Replace),p=a&&"preventScrollReset"in a?!0===a.preventScrollReset:void 0,m=!0===(a&&a.flushSync),(y=xt({currentLocation:l,nextLocation:f,historyAction:v}))?(Rt(y,{state:"blocked",location:f,proceed:function(){Rt(y,{state:"proceeding",proceed:void 0,reset:void 0,location:f}),t(r,a)},reset:function(){var e=new Map(Y.blockers);e.set(y,Te),ye({blockers:e})}}),[2]):[4,ge(v,f,{submission:s,pendingError:c,preventScrollReset:p,replace:a&&a.replace,enableViewTransition:a&&a.viewTransition,flushSync:m})]);case 1:return[2,g.sent()]}})})()},fetch:function(t,r,n,a){if(o)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Ge(t);var i=!0===(a&&a.flushSync),s=u||d,c=Ue(Y.location,Y.matches,h,b.v7_prependBasename,n,b.v7_relativeSplatPath,r,null==a?void 0:a.relative),l=K(s,c,h),v=Lt(l,s,c);if(v.active&&v.matches&&(l=v.matches),l){var p=Fe(b.v7_normalizeFormMethod,!0,c,a),m=p.path,y=p.submission,g=p.error;if(g)He(t,r,g,{flushSync:i});else{var w=yt(l,m),E=!0===(a&&a.preventScrollReset);y&&dt(y.formMethod)?function(t,r,n,a,o,i,s,c,l){f(function(){var f,v,p,m,y,g,w,E,R,x,k,P,D,L,A,T,j,_,O,U,F,I,N,B,z;function H(e){if(!e.route.action&&!e.route.lazy){var a=at(405,{method:l.formMethod,pathname:n,routeId:r});return He(t,r,a,{flushSync:s}),!0}return!1}return C(this,function(C){switch(C.label){case 0:return Ie(),fe.delete(t),!i&&H(a)?[2]:(f=Y.fetchers.get(t),ze(t,function(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}(l,f),{flushSync:s}),v=new AbortController,p=Xe(e.history,n,v.signal,l),i?[4,At(o,new URL(p.url).pathname,p.signal,t)]:[3,2]);case 1:if("aborted"===(m=C.sent()).type)return[2];if("error"===m.type)return He(t,r,m.error,{flushSync:s}),[2];if(!m.matches)return He(t,r,at(404,{pathname:n}),{flushSync:s}),[2];if(o=m.matches,H(a=yt(o,n)))return[2];C.label=2;case 2:return ie.set(t,v),y=ue,[4,Pe("action",0,p,[a],o,t)];case 3:if(g=C.sent(),w=g[a.route.id],p.signal.aborted)return ie.get(t)===v&&ie.delete(t),[2];if(b.v7_fetcherPersist&&he.has(t)){if(ct(w)||st(w))return ze(t,St(void 0)),[2]}else{if(ct(w))return ie.delete(t),se>y?(ze(t,St(void 0)),[2]):(le.add(t),ze(t,wt(l)),[2,ke(p,w,!1,{fetcherSubmission:l,preventScrollReset:c})]);if(st(w))return He(t,r,w.error),[2]}if(ut(w))throw at(400,{type:"defer-action"});return E=Y.navigation.location||Y.location,R=Xe(e.history,E,v.signal),x=u||d,M(k="idle"!==Y.navigation.state?K(x,Y.navigation.location,h):Y.matches,"Didn't find any matches after fetcher action"),P=++ue,ce.set(t,P),D=wt(l,w.data),Y.fetchers.set(t,D),L=S(Ne(e.history,Y,k,l,E,!1,b.v7_skipActionErrorRevalidation,ne,ae,oe,he,fe,le,x,h,[a.route.id,w]),2),A=L[0],(T=L[1]).filter(function(e){return e.key!==t}).forEach(function(e){var t=e.key,r=Y.fetchers.get(t),n=wt(void 0,r?r.data:void 0);Y.fetchers.set(t,n),Ge(t),e.controller&&ie.set(t,e.controller)}),ye({fetchers:new Map(Y.fetchers)}),j=function(){return T.forEach(function(e){return Ge(e.key)})},v.signal.addEventListener("abort",j),[4,Me(Y,k,A,T,R)];case 4:return _=C.sent(),O=_.loaderResults,U=_.fetcherResults,v.signal.aborted?[2]:(v.signal.removeEventListener("abort",j),ce.delete(t),ie.delete(t),T.forEach(function(e){return ie.delete(e.key)}),(F=ot(O))?[2,ke(R,F.result,!1,{preventScrollReset:c})]:(F=ot(U))?(le.add(F.key),[2,ke(R,F.result,!1,{preventScrollReset:c})]):(I=Ze(Y,k,O,void 0,T,U,ve),N=I.loaderData,B=I.errors,Y.fetchers.has(t)&&(z=St(w.data),Y.fetchers.set(t,z)),mt(P),"loading"===Y.navigation.state&&P>se?(M(X,"Expected pending action"),q&&q.abort(),be(Y.navigation.location,{matches:k,loaderData:N,errors:B,fetchers:new Map(Y.fetchers)})):(ye({errors:B,loaderData:et(Y.loaderData,N,k,B),fetchers:new Map(Y.fetchers)}),ne=!1),[2]))}})})()}(t,r,m,w,l,v.active,i,E,y):(fe.set(t,{routeId:r,path:m}),function(t,r,n,a,o,i,u,s,c){f(function(){var l,f,d,h,v,p,m;return C(this,function(y){switch(y.label){case 0:return l=Y.fetchers.get(t),ze(t,wt(c,l?l.data:void 0),{flushSync:u}),f=new AbortController,d=Xe(e.history,n,f.signal),i?[4,At(o,new URL(d.url).pathname,d.signal,t)]:[3,2];case 1:if("aborted"===(h=y.sent()).type)return[2];if("error"===h.type)return He(t,r,h.error,{flushSync:u}),[2];if(!h.matches)return He(t,r,at(404,{pathname:n}),{flushSync:u}),[2];o=h.matches,a=yt(o,n),y.label=2;case 2:return ie.set(t,f),v=ue,[4,Pe("loader",0,d,[a],o,t)];case 3:return p=y.sent(),ut(m=p[a.route.id])?[4,pt(m,d.signal,!0)]:[3,5];case 4:m=y.sent()||m,y.label=5;case 5:return ie.get(t)===f&&ie.delete(t),d.signal.aborted?[2]:he.has(t)?(ze(t,St(void 0)),[2]):ct(m)?se>v?(ze(t,St(void 0)),[2]):[3,6]:[3,8];case 6:return le.add(t),[4,ke(d,m,!1,{preventScrollReset:s})];case 7:return y.sent(),[2];case 8:return st(m)?(He(t,r,m.error),[2]):(M(!ut(m),"Unhandled fetcher deferred data"),ze(t,St(m.data)),[2])}})})()}(t,r,m,w,l,v.active,i,E,y))}}else He(t,r,at(404,{pathname:c}),{flushSync:i})},revalidate:function(){Ie(),ye({revalidation:"loading"}),"submitting"!==Y.navigation.state&&("idle"!==Y.navigation.state?ge(X||Y.historyAction,Y.navigation.location,{overrideNavigation:Y.navigation,enableViewTransition:!0===Q}):ge(Y.historyAction,Y.location,{startUninterruptedRevalidation:!0}))},createHref:function(t){return e.history.createHref(t)},encodeLocation:function(t){return e.history.encodeLocation(t)},getFetcher:Ke,deleteFetcher:function(e){var t=(de.get(e)||0)-1;t<=0?(de.delete(e),he.add(e),b.v7_fetcherPersist||Je(e)):de.set(e,t),ye({fetchers:new Map(Y.fetchers)})},dispose:function(){g&&g(),ee&&ee(),w.clear(),q&&q.abort(),Y.fetchers.forEach(function(e,t){return Je(t)}),Y.blockers.forEach(function(e,t){return Et(t)})},getBlocker:function(e,t){var r=Y.blockers.get(e)||Te;return pe.get(e)!==t&&pe.set(e,t),r},deleteBlocker:Et,patchRoutes:function(e,r){var n=null==u;We(e,r,u||d,l,t),n&&(d=E(d),ye({}))},_internalFetchControllers:ie,_internalActiveDeferreds:ve,_internalSetRoutes:function(e){u=W(e,t,void 0,l={})}},c}function Ue(e,t,r,n,a,o,i,u){var s,c;if(i){s=[];var l=!0,f=!1,d=void 0;try{for(var h,v=t[Symbol.iterator]();!(l=(h=v.next()).done);l=!0){var p=h.value;if(s.push(p),p.route.id===i){c=p;break}}}catch(e){f=!0,d=e}finally{try{l||null==v.return||v.return()}finally{if(f)throw d}}}else s=t,c=t[t.length-1];var m=ce(a||".",se(s,o),re(e.pathname,r)||e.pathname,"path"===u);if(null==a&&(m.search=e.search,m.hash=e.hash),(null==a||""===a||"."===a)&&c){var y=mt(m.search);if(c.route.index&&!y)m.search=m.search?m.search.replace(/^\?/,"?index&"):"?index";else if(!c.route.index&&y){var b=new URLSearchParams(m.search),g=b.getAll("index");b.delete("index"),g.filter(function(e){return e}).forEach(function(e){return b.append("index",e)});var w=b.toString();m.search=w?"?"+w:""}}return n&&"/"!==r&&(m.pathname="/"===m.pathname?r:le([r,m.pathname])),N(m)}function Fe(e,t,r,n){if(!n||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(n))return{path:r};if(n.formMethod&&(a=n.formMethod,!Pe.has(a.toLowerCase())))return{path:r,error:at(405,{method:n.formMethod})};var a,o,i,u=function(){return{path:r,error:at(400,{type:"invalid-body"})}},s=n.formMethod||"get",c=e?s.toUpperCase():s.toLowerCase(),l=it(r);if(void 0!==n.body){if("text/plain"===n.formEncType){if(!dt(c))return u();var f="string"==typeof n.body?n.body:y(n.body,FormData)||y(n.body,URLSearchParams)?Array.from(n.body.entries()).reduce(function(e,t){var r=S(t,2);return""+e+r[0]+"="+r[1]+"\n"},""):String(n.body);return{path:r,submission:{formMethod:c,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:f}}}if("application/json"===n.formEncType){if(!dt(c))return u();try{var d="string"==typeof n.body?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:c,formAction:l,formEncType:n.formEncType,formData:void 0,json:d,text:void 0}}}catch(e){return u()}}}if(M("function"==typeof FormData,"FormData is not available in this environment"),n.formData)o=Ge(n.formData),i=n.formData;else if(y(n.body,FormData))o=Ge(n.body),i=n.body;else if(y(n.body,URLSearchParams))i=Qe(o=n.body);else if(null==n.body)o=new URLSearchParams,i=new FormData;else try{i=Qe(o=new URLSearchParams(n.body))}catch(e){return u()}var h={formMethod:c,formAction:l,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(dt(h.formMethod))return{path:r,submission:h};var v=B(r);return t&&v.search&&mt(v.search)&&o.append("index",""),v.search="?"+o,{path:N(v),submission:h}}function Ie(e,t,r){void 0===r&&(r=!1);var n=e.findIndex(function(e){return e.route.id===t});return n>=0?e.slice(0,r?n+1:n):e}function Ne(e,t,r,n,a,o,i,u,s,c,l,f,d,h,v,p){var m=p?st(p[1])?p[1].error:p[1].data:void 0,y=e.createURL(t.location),b=e.createURL(a),g=r;o&&t.errors?g=Ie(r,Object.keys(t.errors)[0],!0):p&&st(p[1])&&(g=Ie(r,p[0]));var w=p?p[1].statusCode:void 0,S=i&&w&&w>=400,E=g.filter(function(e,r){var a=e.route;if(a.lazy)return!0;if(null==a.loader)return!1;if(o)return Be(a,t.loaderData,t.errors);if(function(e,t,r){var n=!t||r.route.id!==t.route.id,a=void 0===e[r.route.id];return n||a}(t.loaderData,t.matches[r],e)||s.some(function(t){return t===e.route.id}))return!0;var i=t.matches[r],c=e;return He(e,L({currentUrl:y,currentParams:i.params,nextUrl:b,nextParams:c.params},n,{actionResult:m,actionStatus:w,defaultShouldRevalidate:!S&&(u||y.pathname+y.search===b.pathname+b.search||y.search!==b.search||ze(i,c))}))}),R=[];return f.forEach(function(e,a){if(!o&&r.some(function(t){return t.route.id===e.routeId})&&!l.has(a)){var i=K(h,e.path,v);if(i){var s=t.fetchers.get(a),f=yt(i,e.path),p=!1;d.has(a)?p=!1:c.has(a)?(c.delete(a),p=!0):p=s&&"idle"!==s.state&&void 0===s.data?u:He(f,L({currentUrl:y,currentParams:t.matches[t.matches.length-1].params,nextUrl:b,nextParams:r[r.length-1].params},n,{actionResult:m,actionStatus:w,defaultShouldRevalidate:!S&&u})),p&&R.push({key:a,routeId:e.routeId,path:e.path,matches:i,match:f,controller:new AbortController})}else R.push({key:a,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null})}}),[E,R]}function Be(e,t,r){if(e.lazy)return!0;if(!e.loader)return!1;var n=null!=t&&void 0!==t[e.id],a=null!=r&&void 0!==r[e.id];return!(!n&&a)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!n&&!a)}function ze(e,t){var r=e.route.path;return e.pathname!==t.pathname||null!=r&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function He(e,t){if(e.route.shouldRevalidate){var r=e.route.shouldRevalidate(t);if("boolean"==typeof r)return r}return t.defaultShouldRevalidate}function We(e,t,r,n,a){var o,i,u;if(e){var s=n[e];M(s,"No route found to patch children into: routeId = "+e),s.children||(s.children=[]),u=s.children}else u=r;var c=W(t.filter(function(e){return!u.some(function(t){return Ke(e,t)})}),a,[e||"_","patch",String((null==(i=u)?void 0:i.length)||"0")],n);(o=u).push.apply(o,E(c))}function Ke(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every(function(e,r){var n;return null==(n=t.children)?void 0:n.some(function(t){return Ke(e,t)})}))}function $e(e){return f(function(){var t,r;return C(this,function(n){switch(n.label){case 0:return t=e.matches,r=t.filter(function(e){return e.shouldLoad}),[4,Promise.all(r.map(function(e){return e.resolve()}))];case 1:return[2,n.sent().reduce(function(e,t,n){return Object.assign(e,p({},r[n].route.id,t))},{})]}})})()}function Ve(e,t,r,n,a,o,i,u,s,c){return f(function(){var r,l,d;return C(this,function(h){switch(h.label){case 0:return r=o.map(function(e){return e.route.lazy?function(e,t,r){return f(function(){var n,a,o,i,u;return C(this,function(s){switch(s.label){case 0:return e.lazy?[4,e.lazy()]:[2];case 1:if(n=s.sent(),!e.lazy)return[2];for(var c in M(a=r[e.id],"No route found in manifest"),o={},n)i=a[c],U(!(u=void 0!==i&&"hasErrorBoundary"!==c),'Route "'+a.id+'" has a static property "'+c+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+c+'" will be ignored.'),u||H.has(c)||(o[c]=n[c]);return Object.assign(a,o),Object.assign(a,L({},t(a),{lazy:void 0})),[2]}})})()}(e.route,s,u):void 0}),l=o.map(function(e,o){var i=r[o],u=a.some(function(t){return t.route.id===e.route.id});return L({},e,{shouldLoad:u,resolve:function(r){return f(function(){return C(this,function(a){return r&&"GET"===n.method&&(e.route.lazy||e.route.loader)&&(u=!0),[2,u?Je(t,n,e,i,r,c):Promise.resolve({type:A.data,result:void 0})]})})()}})}),[4,e({matches:l,request:n,params:o[0].params,fetcherKey:i,context:c})];case 1:d=h.sent(),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,Promise.all(r)];case 3:case 4:return h.sent(),[3,5];case 5:return[2,d]}})})()}function Je(e,t,r,n,a,o){return f(function(){var i,u,s,c,l,d,h,v,p,m,y;return C(this,function(b){switch(b.label){case 0:s=function(n){var i,s=new Promise(function(e,t){return i=t});u=function(){return i()},t.signal.addEventListener("abort",u);var c=function(a){return"function"!=typeof n?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+r.route.id+"]")):n.apply(void 0,[{request:t,params:r.params,context:o}].concat(E(void 0!==a?[a]:[])))},l=f(function(){return C(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,a?a(function(e){return c(e)}):c()];case 1:return[2,{type:"data",result:e.sent()}];case 2:return[2,{type:"error",result:e.sent()}];case 3:return[2]}})})();return Promise.race([l,s])},b.label=1;case 1:return b.trys.push([1,12,13,14]),c=r.route[e],n?c?[4,Promise.all([s(c).catch(function(e){l=e}),n])]:[3,3]:[3,8];case 2:if(d=S.apply(void 0,[b.sent(),1]),h=d[0],void 0!==l)throw l;return i=h,[3,7];case 3:return[4,n];case 4:return b.sent(),(c=r.route[e])?[4,s(c)]:[3,6];case 5:return i=b.sent(),[3,7];case 6:if("action"===e)throw v=new URL(t.url),p=v.pathname+v.search,at(405,{method:t.method,pathname:p,routeId:r.route.id});return[2,{type:A.data,result:void 0}];case 7:return[3,11];case 8:if(c)return[3,9];throw at(404,{pathname:(m=new URL(t.url)).pathname+m.search});case 9:return[4,s(c)];case 10:i=b.sent(),b.label=11;case 11:return M(void 0!==i.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+r.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`."),[3,14];case 12:return y=b.sent(),[2,{type:A.error,result:y}];case 13:return u&&t.signal.removeEventListener("abort",u),[7];case 14:return[2,i]}})})()}function qe(e,t,r,n,a,o){var i=e.headers.get("Location");if(M(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!je.test(i)){var u=n.slice(0,n.findIndex(function(e){return e.route.id===r})+1);i=Ue(new URL(t.url),u,a,!0,i,o),e.headers.set("Location",i)}return e}function Ye(e,t,r,n){var a=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(je.test(e)){var o=e,i=o.startsWith("//")?new URL(t.protocol+o):new URL(o);if(a.includes(i.protocol))throw new Error("Invalid redirect location");var u=null!=re(i.pathname,r);if(i.origin===t.origin&&u)return i.pathname+i.search+i.hash}try{var s=n.createURL(e);if(a.includes(s.protocol))throw new Error("Invalid redirect location")}catch(e){}return e}function Xe(e,t,r,n){var a=e.createURL(it(t)).toString(),o={signal:r};if(n&&dt(n.formMethod)){var i=n.formMethod,u=n.formEncType;o.method=i.toUpperCase(),"application/json"===u?(o.headers=new Headers({"Content-Type":u}),o.body=JSON.stringify(n.json)):"text/plain"===u?o.body=n.text:"application/x-www-form-urlencoded"===u&&n.formData?o.body=Ge(n.formData):o.body=n.formData}return new Request(a,o)}function Ge(e){var t=new URLSearchParams,r=!0,n=!1,a=void 0;try{for(var o,i=e.entries()[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=S(o.value,2),s=u[0],c=u[1];t.append(s,"string"==typeof c?c:c.name)}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return t}function Qe(e){var t=new FormData,r=!0,n=!1,a=void 0;try{for(var o,i=e.entries()[Symbol.iterator]();!(r=(o=i.next()).done);r=!0){var u=S(o.value,2),s=u[0],c=u[1];t.append(s,c)}}catch(e){n=!0,a=e}finally{try{r||null==i.return||i.return()}finally{if(n)throw a}}return t}function Ze(e,t,r,n,a,o,i){var u=function(e,t,r,n,a){var o,i={},u=null,s=!1,c={},l=r&&st(r[1])?r[1].error:void 0;return e.forEach(function(r){if(r.route.id in t){var f=r.route.id,d=t[f];if(M(!ct(d),"Cannot handle redirect results in processLoaderData"),st(d)){var h=d.error;if(void 0!==l&&(h=l,l=void 0),u=u||{},a)u[f]=h;else{var v=rt(e,f);null==u[v.route.id]&&(u[v.route.id]=h)}i[f]=void 0,s||(s=!0,o=Ee(d.error)?d.error.status:500),d.headers&&(c[f]=d.headers)}else ut(d)?(n.set(f,d.deferredData),i[f]=d.deferredData.data,null==d.statusCode||200===d.statusCode||s||(o=d.statusCode),d.headers&&(c[f]=d.headers)):(i[f]=d.data,d.statusCode&&200!==d.statusCode&&!s&&(o=d.statusCode),d.headers&&(c[f]=d.headers))}}),void 0!==l&&r&&(u=p({},r[0],l),i[r[0]]=void 0),{loaderData:i,errors:u,statusCode:o||200,loaderHeaders:c}}(t,r,n,i,!1),s=u.loaderData,c=u.errors;return a.forEach(function(t){var r=t.key,n=t.match,a=t.controller,i=o[r];if(M(i,"Did not find corresponding fetcher result"),!a||!a.signal.aborted)if(st(i)){var u=rt(e.matches,null==n?void 0:n.route.id);c&&c[u.route.id]||(c=L({},c,p({},u.route.id,i.error))),e.fetchers.delete(r)}else if(ct(i))M(!1,"Unhandled fetcher revalidation redirect");else if(ut(i))M(!1,"Unhandled fetcher deferred data");else{var s=St(i.data);e.fetchers.set(r,s)}}),{loaderData:s,errors:c}}function et(e,t,r,n){var a=L({},t),o=!0,i=!1,u=void 0;try{for(var s,c=r[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value,f=l.route.id;if(t.hasOwnProperty(f)?void 0!==t[f]&&(a[f]=t[f]):void 0!==e[f]&&l.route.loader&&(a[f]=e[f]),n&&n.hasOwnProperty(f))break}}catch(e){i=!0,u=e}finally{try{o||null==c.return||c.return()}finally{if(i)throw u}}return a}function tt(e){return e?st(e[1])?{actionData:{}}:{actionData:p({},e[0],e[1].data)}:{}}function rt(e,t){return(t?e.slice(0,e.findIndex(function(e){return e.route.id===t})+1):E(e)).reverse().find(function(e){return!0===e.route.hasErrorBoundary})||e[0]}function nt(e){var t=1===e.length?e[0]:e.find(function(e){return e.index||!e.path||"/"===e.path})||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function at(e,t){var r=void 0===t?{}:t,n=r.pathname,a=r.routeId,o=r.method,i=r.type,u=(r.message,"Unknown Server Error"),s="Unknown @remix-run/router error";return 400===e?(u="Bad Request",o&&n&&a?s="You made a "+o+' request to "'+n+'" but did not provide a `loader` for route "'+a+'", so there is no way to handle the request.':"defer-action"===i?s="defer() is not supported in actions":"invalid-body"===i&&(s="Unable to encode submission body")):403===e?(u="Forbidden",s='Route "'+a+'" does not match URL "'+n+'"'):404===e?(u="Not Found",s='No route matches URL "'+n+'"'):405===e&&(u="Method Not Allowed",o&&n&&a?s="You made a "+o.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+a+'", so there is no way to handle the request.':o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new Se(e||500,u,new Error(s),!0)}function ot(e){for(var t=Object.entries(e),r=t.length-1;r>=0;r--){var n=S(t[r],2),a=n[0],o=n[1];if(ct(o))return{key:a,result:o}}}function it(e){return N(L({},"string"==typeof e?B(e):e,{hash:""}))}function ut(e){return e.type===A.deferred}function st(e){return e.type===A.error}function ct(e){return(e&&e.type)===A.redirect}function lt(e){return"object"===(void 0===e?"undefined":R(e))&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function ft(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"===R(e.headers)&&void 0!==e.body}function dt(e){return xe.has(e.toLowerCase())}function ht(e,t,r,n,a){return f(function(){var o,i,u;return C(this,function(s){switch(s.label){case 0:o=function(o){var u,s,c,l,f,d;return C(this,function(h){switch(h.label){case 0:return u=S(i[o],2),s=u[0],c=u[1],(l=e.find(function(e){return(null==e?void 0:e.route.id)===s}))?(f=n.find(function(e){return e.route.id===l.route.id}),d=null!=f&&!ze(f,l)&&void 0!==(a&&a[l.route.id]),ut(c)&&d?[4,pt(c,r,!1).then(function(e){e&&(t[s]=e)})]:[3,2]):[2,"continue"];case 1:h.sent(),h.label=2;case 2:return[2]}})},i=Object.entries(t),u=0,s.label=1;case 1:return u<i.length?[5,D(o(u))]:[3,4];case 2:s.sent(),s.label=3;case 3:return u++,[3,1];case 4:return[2]}})})()}function vt(e,t,r){return f(function(){var n,a;return C(this,function(o){switch(o.label){case 0:n=function(n){var a,o,i,u,s;return C(this,function(c){switch(c.label){case 0:return a=r[n],o=a.key,i=a.routeId,u=a.controller,s=t[o],e.find(function(e){return(null==e?void 0:e.route.id)===i})?ut(s)?(M(u,"Expected an AbortController for revalidating fetcher deferred result"),[4,pt(s,u.signal,!0).then(function(e){e&&(t[o]=e)})]):[3,2]:[2,"continue"];case 1:c.sent(),c.label=2;case 2:return[2]}})},a=0,o.label=1;case 1:return a<r.length?[5,D(n(a))]:[3,4];case 2:o.sent(),o.label=3;case 3:return a++,[3,1];case 4:return[2]}})})()}function pt(e,t,r){return f(function(){return C(this,function(n){switch(n.label){case 0:return void 0===r&&(r=!1),[4,e.deferredData.resolveData(t)];case 1:if(n.sent())return[2];if(r)try{return[2,{type:A.data,data:e.deferredData.unwrappedData}]}catch(e){return[2,{type:A.error,error:e}]}return[2,{type:A.data,data:e.deferredData.data}]}})})()}function mt(e){return new URLSearchParams(e).getAll("index").some(function(e){return""===e})}function yt(e,t){var r="string"==typeof t?B(t).search:t.search;if(e[e.length-1].route.index&&mt(r||""))return e[e.length-1];var n=ue(e);return n[n.length-1]}function bt(e){var t=e.formMethod,r=e.formAction,n=e.formEncType,a=e.text,o=e.formData,i=e.json;if(t&&r&&n)return null!=a?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a}:null!=o?{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0}:void 0!==i?{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}:void 0}function gt(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function wt(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function St(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Rt(e,t,r){return t=Ct(t),function(e,t){return!t||"object"!=((r=t)&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t;var r}(e,_t()?Reflect.construct(t,r||[],Ct(e).constructor):t.apply(e,r))}function xt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pt(e,t,r){return t&&kt(e.prototype,t),r&&kt(e,r),e}function Ct(e){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ct(e)}function Dt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&At(e,t)}function Lt(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function At(e,t){return At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},At(e,t)}function Tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw a}}return o}}(e,t)||jt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jt(e,t){if(e){if("string"==typeof e)return Et(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(e,t):void 0}}function _t(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_t=function(){return!!e})()}function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ot.apply(this,arguments)}Symbol("deferred");var Mt=a.createContext(null),Ut=a.createContext(null),Ft=a.createContext(null),It=a.createContext(null),Nt=a.createContext(null),Bt=a.createContext({outlet:null,matches:[],isDataRoute:!1}),zt=a.createContext(null);function Ht(e,t){var r=(void 0===t?{}:t).relative;Wt()||M(!1);var n=a.useContext(It),o=n.basename,i=n.navigator,u=Zt(e,{relative:r}),s=u.hash,c=u.pathname,l=u.search,f=c;return"/"!==o&&(f="/"===c?o:le([o,c])),i.createHref({pathname:f,search:l,hash:s})}function Wt(){return null!=a.useContext(Nt)}function Kt(){return Wt()||M(!1),a.useContext(Nt).location}function $t(){return a.useContext(Nt).navigationType}function Vt(e){Wt()||M(!1);var t=Kt().pathname;return a.useMemo(function(){return ee(e,te(t))},[t,e])}function Jt(e){a.useContext(It).static||a.useLayoutEffect(e)}function qt(){var e,t,r;return a.useContext(Bt).isDataRoute?(e=cr(ur.UseNavigateStable).router,t=fr(sr.UseNavigateStable),r=a.useRef(!1),Jt(function(){r.current=!0}),a.useCallback(function(n,a){void 0===a&&(a={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,Ot({fromRouteId:t},a)))},[e,t])):function(){Wt()||M(!1);var e=a.useContext(Mt),t=a.useContext(It),r=t.basename,n=t.future,o=t.navigator,i=a.useContext(Bt).matches,u=Kt().pathname,s=JSON.stringify(se(i,n.v7_relativeSplatPath)),c=a.useRef(!1);return Jt(function(){c.current=!0}),a.useCallback(function(t,n){if(void 0===n&&(n={}),c.current)if("number"!=typeof t){var a=ce(t,JSON.parse(s),u,"path"===n.relative);null==e&&"/"!==r&&(a.pathname="/"===a.pathname?r:le([r,a.pathname])),(n.replace?o.replace:o.push)(a,n.state,n)}else o.go(t)},[r,o,s,u,e])}()}var Yt=a.createContext(null);function Xt(){return a.useContext(Yt)}function Gt(e){var t=a.useContext(Bt).outlet;return t?a.createElement(Yt.Provider,{value:e},t):t}function Qt(){var e=a.useContext(Bt).matches,t=e[e.length-1];return t?t.params:{}}function Zt(e,t){var r=(void 0===t?{}:t).relative,n=a.useContext(It).future,o=a.useContext(Bt).matches,i=Kt().pathname,u=JSON.stringify(se(o,n.v7_relativeSplatPath));return a.useMemo(function(){return ce(e,JSON.parse(u),i,"path"===r)},[e,u,i,r])}function er(e,t){return tr(e,t)}function tr(e,t,r,o){Wt()||M(!1);var i,u=a.useContext(It).navigator,s=a.useContext(Bt).matches,c=s[s.length-1],l=c?c.params:{},f=(c&&c.pathname,c?c.pathnameBase:"/"),d=(c&&c.route,Kt());if(t){var h,v="string"==typeof t?B(t):t;"/"===f||(null==(h=v.pathname)?void 0:h.startsWith(f))||M(!1),i=v}else i=d;var p=i.pathname||"/",m=p;if("/"!==f){var y=f.replace(/^\//,"").split("/");m="/"+p.replace(/^\//,"").split("/").slice(y.length).join("/")}var b=K(e,{pathname:m}),g=ir(b&&b.map(function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:le([f,u.encodeLocation?u.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:le([f,u.encodeLocation?u.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})}),s,r,o);return t&&g?a.createElement(Nt.Provider,{value:{location:Ot({pathname:"/",search:"",hash:"",state:null,key:"default"},i),navigationType:n.Pop}},g):g}function rr(){var e=gr(),t=Ee(e)?e.status+" "+e.statusText:Lt(e,Error)?e.message:JSON.stringify(e),r=Lt(e,Error)?e.stack:null,n={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),r?a.createElement("pre",{style:n},r):null,null)}var nr=a.createElement(rr,null),ar=function(e){function t(e){var r;return xt(this,t),(r=Rt(this,t,[e])).state={location:e.location,revalidation:e.revalidation,error:e.error},r}return Dt(t,e),Pt(t,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return void 0!==this.state.error?a.createElement(Bt.Provider,{value:this.props.routeContext},a.createElement(zt.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),t}(a.Component);function or(e){var t=e.routeContext,r=e.match,n=e.children,o=a.useContext(Mt);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),a.createElement(Bt.Provider,{value:t},n)}function ir(e,t,r,n){var o;if(void 0===t&&(t=[]),void 0===r&&(r=null),void 0===n&&(n=null),null==e){var i;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(i=n)&&i.v7_partialHydration&&0===t.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}var u=e,s=null==(o=r)?void 0:o.errors;if(null!=s){var c=u.findIndex(function(e){return e.route.id&&void 0!==(null==s?void 0:s[e.route.id])});c>=0||M(!1),u=u.slice(0,Math.min(u.length,c+1))}var l=!1,f=-1;if(r&&n&&n.v7_partialHydration)for(var d=0;d<u.length;d++){var h=u[d];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(f=d),h.route.id){var v=r.loaderData,p=r.errors,m=h.route.loader&&void 0===v[h.route.id]&&(!p||void 0===p[h.route.id]);if(h.route.lazy||m){l=!0,u=f>=0?u.slice(0,f+1):[u[0]];break}}}return u.reduceRight(function(e,n,o){var i,c,d=!1,h=null,v=null;r&&(i=s&&n.route.id?s[n.route.id]:void 0,h=n.route.errorElement||nr,l&&(f<0&&0===o?(xr[c="route-fallback"]||(xr[c]=!0),d=!0,v=null):f===o&&(d=!0,v=n.route.hydrateFallbackElement||null)));var p=t.concat(u.slice(0,o+1)),m=function(){var t;return t=i?h:d?v:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(or,{match:n,routeContext:{outlet:e,matches:p,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===o)?a.createElement(ar,{location:r.location,revalidation:r.revalidation,component:h,error:i,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()},null)}var ur=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ur||{}),sr=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(sr||{});function cr(e){var t=a.useContext(Mt);return t||M(!1),t}function lr(e){var t=a.useContext(Ut);return t||M(!1),t}function fr(e){var t=function(){var e=a.useContext(Bt);return e||M(!1),e}(),r=t.matches[t.matches.length-1];return r.route.id||M(!1),r.route.id}function dr(){return fr(sr.UseRouteId)}function hr(){return lr(sr.UseNavigation).navigation}function vr(){var e=cr(ur.UseRevalidator),t=lr(sr.UseRevalidator);return a.useMemo(function(){return{revalidate:e.router.revalidate,state:t.revalidation}},[e.router.revalidate,t.revalidation])}function pr(){var e=lr(sr.UseMatches),t=e.matches,r=e.loaderData;return a.useMemo(function(){return t.map(function(e){return V(e,r)})},[t,r])}function mr(){var e=lr(sr.UseLoaderData),t=fr(sr.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")}function yr(e){return lr(sr.UseRouteLoaderData).loaderData[e]}function br(){var e=lr(sr.UseActionData),t=fr(sr.UseLoaderData);return e.actionData?e.actionData[t]:void 0}function gr(){var e,t=a.useContext(zt),r=lr(sr.UseRouteError),n=fr(sr.UseRouteError);return void 0!==t?t:null==(e=r.errors)?void 0:e[n]}function wr(){var e=a.useContext(Ft);return null==e?void 0:e._data}function Sr(){var e=a.useContext(Ft);return null==e?void 0:e._error}var Er=0;function Rr(e){var t=cr(ur.UseBlocker),r=t.router,n=t.basename,o=lr(sr.UseBlocker),i=Tt(a.useState(""),2),u=i[0],s=i[1],c=a.useCallback(function(t){if("function"!=typeof e)return!!e;if("/"===n)return e(t);var r=t.currentLocation,a=t.nextLocation,o=t.historyAction;return e({currentLocation:Ot({},r,{pathname:re(r.pathname,n)||r.pathname}),nextLocation:Ot({},a,{pathname:re(a.pathname,n)||a.pathname}),historyAction:o})},[n,e]);return a.useEffect(function(){var e=String(++Er);return s(e),function(){return r.deleteBlocker(e)}},[r]),a.useEffect(function(){""!==u&&r.getBlocker(u,c)},[r,u,c]),u&&o.blockers.has(u)?o.blockers.get(u):Te}var xr={};function kr(e,t){null==e||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}var Pr=o.startTransition;function Cr(e){var t=e.basename,r=e.children,n=e.initialEntries,o=e.initialIndex,i=e.future,u=a.useRef();null==u.current&&(u.current=j({initialEntries:n,initialIndex:o,v5Compat:!0}));var s=u.current,c=Tt(a.useState({action:s.action,location:s.location}),2),l=c[0],f=c[1],d=(i||{}).v7_startTransition,h=a.useCallback(function(e){d&&Pr?Pr(function(){return f(e)}):f(e)},[f,d]);return a.useLayoutEffect(function(){return s.listen(h)},[s,h]),a.useEffect(function(){return kr(i)},[i]),a.createElement(Tr,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:s,future:i})}function Dr(e){var t=e.to,r=e.replace,n=e.state,o=e.relative;Wt()||M(!1);var i=a.useContext(It),u=i.future,s=(i.static,a.useContext(Bt).matches),c=Kt().pathname,l=qt(),f=ce(t,se(s,u.v7_relativeSplatPath),c,"path"===o),d=JSON.stringify(f);return a.useEffect(function(){return l(JSON.parse(d),{replace:r,state:n,relative:o})},[l,d,o,r,n]),null}function Lr(e){return Gt(e.context)}function Ar(e){M(!1)}function Tr(e){var t=e.basename,r=void 0===t?"/":t,o=e.children,i=void 0===o?null:o,u=e.location,s=e.navigationType,c=void 0===s?n.Pop:s,l=e.navigator,f=e.static,d=void 0!==f&&f,h=e.future;Wt()&&M(!1);var v=r.replace(/^\/*/,"/"),p=a.useMemo(function(){return{basename:v,navigator:l,static:d,future:Ot({v7_relativeSplatPath:!1},h)}},[v,h,l,d]);"string"==typeof u&&(u=B(u));var m=u.pathname,y=void 0===m?"/":m,b=u.search,g=void 0===b?"":b,w=u.hash,S=void 0===w?"":w,E=u.state,R=void 0===E?null:E,x=u.key,k=void 0===x?"default":x,P=a.useMemo(function(){var e=re(y,v);return null==e?null:{location:{pathname:e,search:g,hash:S,state:R,key:k},navigationType:c}},[v,y,g,S,R,k,c]);return null==P?null:a.createElement(It.Provider,{value:p},a.createElement(Nt.Provider,{children:i,value:P}))}function jr(e){var t=e.children,r=e.location;return er(Ir(t),r)}function _r(e){var t=e.children,r=e.errorElement,n=e.resolve;return a.createElement(Ur,{resolve:n,errorElement:r},a.createElement(Fr,null,t))}var Or=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(Or||{}),Mr=new Promise(function(){}),Ur=function(e){function t(e){var r;return xt(this,t),(r=Rt(this,t,[e])).state={error:null},r}return Dt(t,e),Pt(t,[{key:"componentDidCatch",value:function(e,t){console.error("<Await> caught the following error during render",e,t)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.errorElement,n=e.resolve,o=null,i=Or.pending;if(Lt(n,Promise))if(this.state.error){i=Or.error;var u=this.state.error;o=Promise.reject().catch(function(){}),Object.defineProperty(o,"_tracked",{get:function(){return!0}}),Object.defineProperty(o,"_error",{get:function(){return u}})}else n._tracked?i="_error"in(o=n)?Or.error:"_data"in o?Or.success:Or.pending:(i=Or.pending,Object.defineProperty(n,"_tracked",{get:function(){return!0}}),o=n.then(function(e){return Object.defineProperty(n,"_data",{get:function(){return e}})},function(e){return Object.defineProperty(n,"_error",{get:function(){return e}})}));else i=Or.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:function(){return!0}}),Object.defineProperty(o,"_data",{get:function(){return n}});if(i===Or.error&&Lt(o._error,pe))throw Mr;if(i===Or.error&&!r)throw o._error;if(i===Or.error)return a.createElement(Ft.Provider,{value:o,children:r});if(i===Or.success)return a.createElement(Ft.Provider,{value:o,children:t});throw o}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}}]),t}(a.Component);function Fr(e){var t=e.children,r=wr(),n="function"==typeof t?t(r):t;return a.createElement(a.Fragment,null,n)}function Ir(e,t){void 0===t&&(t=[]);var r=[];return a.Children.forEach(e,function(e,n){if(a.isValidElement(e)){var o=(u=t,function(e){if(Array.isArray(e))return Et(e)}(u)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(u)||jt(u)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([n]);if(e.type!==a.Fragment){e.type!==Ar&&M(!1),e.props.index&&e.props.children&&M(!1);var i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=Ir(e.props.children,o)),r.push(i)}else r.push.apply(r,Ir(e.props.children,o))}var u}),r}function Nr(e){return ir(e)}function Br(e){var t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:a.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:a.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:a.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function zr(e,t){return Me({basename:null==t?void 0:t.basename,future:Ot({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:j({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:Br,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}function Hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wr(e,t,r,n,a,o,i){try{var u=e[o](i),s=u.value}catch(e){return void r(e)}u.done?t(s):Promise.resolve(s).then(n,a)}function Kr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $r(){return $r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$r.apply(this,arguments)}function Vr(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}var Jr="get",qr="application/x-www-form-urlencoded";function Yr(e){return null!=e&&"string"==typeof e.tagName}function Xr(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||(t=e,null!=(r=URLSearchParams)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](t):t instanceof r)?e:Object.keys(e).reduce(function(t,r){var n=e[r];return t.concat(Array.isArray(n)?n.map(function(e){return[r,e]}):[[r,n]])},[]));var t,r}var Gr=null,Qr=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zr(e){return null==e||Qr.has(e)?e:null}var en=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],tn=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],rn=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function nn(e,t){return Me({basename:null==t?void 0:t.basename,future:$r({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:_({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||on(),routes:e,mapRouteProperties:Br,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function an(e,t){return Me({basename:null==t?void 0:t.basename,future:$r({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:O({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||on(),routes:e,mapRouteProperties:Br,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function on(){var e,t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=$r({},t,{errors:un(t.errors)})),t}function un(e){if(!e)return null;var t=Object.entries(e),r={},n=!0,a=!1,o=void 0;try{for(var i,u=t[Symbol.iterator]();!(n=(i=u.next()).done);n=!0){var s=Kr(i.value,2),c=s[0],l=s[1];if(l&&"RouteErrorResponse"===l.__type)r[c]=new Se(l.status,l.statusText,l.data,!0===l.internal);else if(l&&"Error"===l.__type){if(l.__subType){var f=window[l.__subType];if("function"==typeof f)try{var d=new f(l.message);d.stack="",r[c]=d}catch(e){}}if(null==r[c]){var h=new Error(l.message);h.stack="",r[c]=h}}else r[c]=l}}catch(e){a=!0,o=e}finally{try{n||null==u.return||u.return()}finally{if(a)throw o}}return r}var sn=a.createContext({isTransitioning:!1}),cn=a.createContext(new Map),ln=o.startTransition,fn=u.flushSync,dn=o.useId;function hn(e){fn?fn(e):e()}var vn=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.status="pending",this.promise=new Promise(function(e,r){t.resolve=function(r){"pending"===t.status&&(t.status="resolved",e(r))},t.reject=function(e){"pending"===t.status&&(t.status="rejected",r(e))}})};function pn(e){var t=e.fallbackElement,r=e.router,n=e.future,o=Kr(a.useState(r.state),2),i=o[0],u=o[1],s=Kr(a.useState(),2),c=s[0],l=s[1],f=Kr(a.useState({isTransitioning:!1}),2),d=f[0],h=f[1],v=Kr(a.useState(),2),p=v[0],m=v[1],y=Kr(a.useState(),2),b=y[0],g=y[1],w=Kr(a.useState(),2),S=w[0],E=w[1],R=a.useRef(new Map),x=(n||{}).v7_startTransition,k=a.useCallback(function(e){x?function(e){ln?ln(e):e()}(e):e()},[x]),P=a.useCallback(function(e,t){var n=t.deletedFetchers,a=t.flushSync,o=t.viewTransitionOpts;e.fetchers.forEach(function(e,t){void 0!==e.data&&R.current.set(t,e.data)}),n.forEach(function(e){return R.current.delete(e)});var i=null==r.window||null==r.window.document||"function"!=typeof r.window.document.startViewTransition;if(o&&!i){if(a){hn(function(){b&&(p&&p.resolve(),b.skipTransition()),h({isTransitioning:!0,flushSync:!0,currentLocation:o.currentLocation,nextLocation:o.nextLocation})});var s=r.window.document.startViewTransition(function(){hn(function(){return u(e)})});return s.finished.finally(function(){hn(function(){m(void 0),g(void 0),l(void 0),h({isTransitioning:!1})})}),void hn(function(){return g(s)})}b?(p&&p.resolve(),b.skipTransition(),E({state:e,currentLocation:o.currentLocation,nextLocation:o.nextLocation})):(l(e),h({isTransitioning:!0,flushSync:!1,currentLocation:o.currentLocation,nextLocation:o.nextLocation}))}else a?hn(function(){return u(e)}):k(function(){return u(e)})},[r.window,b,p,R,k]);a.useLayoutEffect(function(){return r.subscribe(P)},[r,P]),a.useEffect(function(){d.isTransitioning&&!d.flushSync&&m(new vn)},[d]),a.useEffect(function(){if(p&&c&&r.window){var e=c,t=p.promise,n=r.window.document.startViewTransition(function(){return(r=function(){return function(e,t){var r,n,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),u=Object.defineProperty;return u(i,"next",{value:s(0)}),u(i,"throw",{value:s(1)}),u(i,"return",{value:s(2)}),"function"==typeof Symbol&&u(i,Symbol.iterator,{value:function(){return this}}),i;function s(u){return function(s){return function(u){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(a=2&u[0]?n.return:u[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,u[1])).done)return a;switch(n=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,s])}}}(this,function(r){switch(r.label){case 0:return k(function(){return u(e)}),[4,t];case 1:return r.sent(),[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,a){var o=r.apply(e,t);function i(e){Wr(o,n,a,i,u,"next",e)}function u(e){Wr(o,n,a,i,u,"throw",e)}i(void 0)})})();var r});n.finished.finally(function(){m(void 0),g(void 0),l(void 0),h({isTransitioning:!1})}),g(n)}},[k,c,p,r.window]),a.useEffect(function(){p&&c&&i.location.key===c.location.key&&p.resolve()},[p,b,i.location,c]),a.useEffect(function(){!d.isTransitioning&&S&&(l(S.state),h({isTransitioning:!0,flushSync:!1,currentLocation:S.currentLocation,nextLocation:S.nextLocation}),E(void 0))},[d.isTransitioning,S]),a.useEffect(function(){},[]);var C=a.useMemo(function(){return{createHref:r.createHref,encodeLocation:r.encodeLocation,go:function(e){return r.navigate(e)},push:function(e,t,n){return r.navigate(e,{state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})},replace:function(e,t,n){return r.navigate(e,{replace:!0,state:t,preventScrollReset:null==n?void 0:n.preventScrollReset})}}},[r]),D=r.basename||"/",L=a.useMemo(function(){return{router:r,navigator:C,static:!1,basename:D}},[r,C,D]),A=a.useMemo(function(){return{v7_relativeSplatPath:r.future.v7_relativeSplatPath}},[r.future.v7_relativeSplatPath]);return a.useEffect(function(){return kr(n,r.future)},[n,r.future]),a.createElement(a.Fragment,null,a.createElement(Mt.Provider,{value:L},a.createElement(Ut.Provider,{value:i},a.createElement(cn.Provider,{value:R.current},a.createElement(sn.Provider,{value:d},a.createElement(Tr,{basename:D,location:i.location,navigationType:i.historyAction,navigator:C,future:A},i.initialized||r.future.v7_partialHydration?a.createElement(mn,{routes:r.routes,future:r.future,state:i}):t))))),null)}var mn=a.memo(yn);function yn(e){var t=e.routes,r=e.future;return tr(t,void 0,e.state,r)}function bn(e){var t=e.basename,r=e.children,n=e.future,o=e.window,i=a.useRef();null==i.current&&(i.current=_({window:o,v5Compat:!0}));var u=i.current,s=Kr(a.useState({action:u.action,location:u.location}),2),c=s[0],l=s[1],f=(n||{}).v7_startTransition,d=a.useCallback(function(e){f&&ln?ln(function(){return l(e)}):l(e)},[l,f]);return a.useLayoutEffect(function(){return u.listen(d)},[u,d]),a.useEffect(function(){return kr(n)},[n]),a.createElement(Tr,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:n})}function gn(e){var t=e.basename,r=e.children,n=e.future,o=e.window,i=a.useRef();null==i.current&&(i.current=O({window:o,v5Compat:!0}));var u=i.current,s=Kr(a.useState({action:u.action,location:u.location}),2),c=s[0],l=s[1],f=(n||{}).v7_startTransition,d=a.useCallback(function(e){f&&ln?ln(function(){return l(e)}):l(e)},[l,f]);return a.useLayoutEffect(function(){return u.listen(d)},[u,d]),a.useEffect(function(){return kr(n)},[n]),a.createElement(Tr,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:u,future:n})}function wn(e){var t=e.basename,r=e.children,n=e.future,o=e.history,i=Kr(a.useState({action:o.action,location:o.location}),2),u=i[0],s=i[1],c=(n||{}).v7_startTransition,l=a.useCallback(function(e){c&&ln?ln(function(){return s(e)}):s(e)},[s,c]);return a.useLayoutEffect(function(){return o.listen(l)},[o,l]),a.useEffect(function(){return kr(n)},[n]),a.createElement(Tr,{basename:t,children:r,location:u.location,navigationType:u.action,navigator:o,future:n})}var Sn,En,Rn="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,xn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kn=a.forwardRef(function(e,t){var r,n=e.onClick,o=e.relative,i=e.reloadDocument,u=e.replace,s=e.state,c=e.target,l=e.to,f=e.preventScrollReset,d=e.viewTransition,h=Vr(e,en),v=a.useContext(It).basename,p=!1;if("string"==typeof l&&xn.test(l)&&(r=l,Rn))try{var m=new URL(window.location.href),y=l.startsWith("//")?new URL(m.protocol+l):new URL(l),b=re(y.pathname,v);y.origin===m.origin&&null!=b?l=b+y.search+y.hash:p=!0}catch(e){}var g=Ht(l,{relative:o}),w=Tn(l,{replace:u,state:s,target:c,preventScrollReset:f,relative:o,viewTransition:d});return a.createElement("a",$r({},h,{href:r||g,onClick:p||i?n:function(e){n&&n(e),e.defaultPrevented||w(e)},ref:t,target:c}))}),Pn=a.forwardRef(function(e,t){var r=e["aria-current"],n=void 0===r?"page":r,o=e.caseSensitive,i=void 0!==o&&o,u=e.className,s=void 0===u?"":u,c=e.end,l=void 0!==c&&c,f=e.style,d=e.to,h=e.viewTransition,v=e.children,p=Vr(e,tn),m=Zt(d,{relative:p.relative}),y=Kt(),b=a.useContext(Ut),g=a.useContext(It),w=g.navigator,S=g.basename,E=null!=b&&Kn(m)&&!0===h,R=w.encodeLocation?w.encodeLocation(m).pathname:m.pathname,x=y.pathname,k=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;i||(x=x.toLowerCase(),k=k?k.toLowerCase():null,R=R.toLowerCase()),k&&S&&(k=re(k,S)||k);var P,C="/"!==R&&R.endsWith("/")?R.length-1:R.length,D=x===R||!l&&x.startsWith(R)&&"/"===x.charAt(C),L=null!=k&&(k===R||!l&&k.startsWith(R)&&"/"===k.charAt(R.length)),A={isActive:D,isPending:L,isTransitioning:E},T=D?n:void 0;P="function"==typeof s?s(A):[s,D?"active":null,L?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");var j="function"==typeof f?f(A):f;return a.createElement(kn,$r({},p,{"aria-current":T,className:P,ref:t,style:j,to:d,viewTransition:h}),"function"==typeof v?v(A):v)}),Cn=a.forwardRef(function(e,t){var r=e.fetcherKey,n=e.navigate,o=e.reloadDocument,i=e.replace,u=e.state,s=e.method,c=void 0===s?Jr:s,l=e.action,f=e.onSubmit,d=e.relative,h=e.preventScrollReset,v=e.viewTransition,p=Vr(e,rn),m=Mn(),y=Un(l,{relative:d}),b="get"===c.toLowerCase()?"get":"post";return a.createElement("form",$r({ref:t,method:b,action:y,onSubmit:o?f:function(e){if(f&&f(e),!e.defaultPrevented){e.preventDefault();var t=e.nativeEvent.submitter,a=(null==t?void 0:t.getAttribute("formmethod"))||c;m(t||e.currentTarget,{fetcherKey:r,method:a,navigate:n,replace:i,state:u,relative:d,preventScrollReset:h,viewTransition:v})}}},p))});function Dn(e){return zn({getKey:e.getKey,storageKey:e.storageKey}),null}function Ln(e){var t=a.useContext(Mt);return t||M(!1),t}function An(e){var t=a.useContext(Ut);return t||M(!1),t}function Tn(e,t){var r=void 0===t?{}:t,n=r.target,o=r.replace,i=r.state,u=r.preventScrollReset,s=r.relative,c=r.viewTransition,l=qt(),f=Kt(),d=Zt(e,{relative:s});return a.useCallback(function(t){if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();var r=void 0!==o?o:N(f)===N(d);l(e,{replace:r,state:i,preventScrollReset:u,relative:s,viewTransition:c})}},[f,l,d,o,i,n,e,u,s,c])}function jn(e){var t=a.useRef(Xr(e)),r=a.useRef(!1),n=Kt(),o=a.useMemo(function(){return function(e,t){var r=Xr(e);return t&&t.forEach(function(e,n){r.has(n)||t.getAll(n).forEach(function(e){r.append(n,e)})}),r}(n.search,r.current?null:t.current)},[n.search]),i=qt(),u=a.useCallback(function(e,t){var n=Xr("function"==typeof e?e(o):e);r.current=!0,i("?"+n,t)},[i,o]);return[o,u]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Sn||(Sn={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(En||(En={}));var _n=0,On=function(){return"__"+String(++_n)+"__"};function Mn(){var e=Ln(Sn.UseSubmit).router,t=a.useContext(It).basename,r=dr();return a.useCallback(function(n,a){void 0===a&&(a={}),function(){if("undefined"==typeof document)throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}();var o=function(e,t){var r,n,a,o,i,u;if(Yr(u=e)&&"form"===u.tagName.toLowerCase()){var s=e.getAttribute("action");n=s?re(s,t):null,r=e.getAttribute("method")||Jr,a=Zr(e.getAttribute("enctype"))||qr,o=new FormData(e)}else if(function(e){return Yr(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Yr(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){var c=e.form;if(null==c)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');var l=e.getAttribute("formaction")||c.getAttribute("action");if(n=l?re(l,t):null,r=e.getAttribute("formmethod")||c.getAttribute("method")||Jr,a=Zr(e.getAttribute("formenctype"))||Zr(c.getAttribute("enctype"))||qr,o=new FormData(c,e),!function(){if(null===Gr)try{new FormData(document.createElement("form"),0),Gr=!1}catch(e){Gr=!0}return Gr}()){var f=e.name,d=e.type,h=e.value;if("image"===d){var v=f?f+".":"";o.append(v+"x","0"),o.append(v+"y","0")}else f&&o.append(f,h)}}else{if(Yr(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Jr,n=null,a=qr,i=e}return o&&"text/plain"===a&&(i=o,o=void 0),{action:n,method:r.toLowerCase(),encType:a,formData:o,body:i}}(n,t),i=o.action,u=o.method,s=o.encType,c=o.formData,l=o.body;if(!1===a.navigate){var f=a.fetcherKey||On();e.fetch(f,r,a.action||i,{preventScrollReset:a.preventScrollReset,formData:c,body:l,formMethod:a.method||u,formEncType:a.encType||s,flushSync:a.flushSync})}else e.navigate(a.action||i,{preventScrollReset:a.preventScrollReset,formData:c,body:l,formMethod:a.method||u,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:r,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,r])}function Un(e,t){var r=(void 0===t?{}:t).relative,n=a.useContext(It).basename,o=a.useContext(Bt);o||M(!1);var i=Kr(o.matches.slice(-1),1)[0],u=$r({},Zt(e||".",{relative:r})),s=Kt();if(null==e){u.search=s.search;var c=new URLSearchParams(u.search),l=c.getAll("index");if(l.some(function(e){return""===e})){c.delete("index"),l.filter(function(e){return e}).forEach(function(e){return c.append("index",e)});var f=c.toString();u.search=f?"?"+f:""}}return e&&"."!==e||!i.route.index||(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(u.pathname="/"===u.pathname?n:le([n,u.pathname])),N(u)}function Fn(e){var t,r=(void 0===e?{}:e).key,n=Ln(Sn.UseFetcher).router,o=An(En.UseFetcher),i=a.useContext(cn),u=a.useContext(Bt),s=null==(t=u.matches[u.matches.length-1])?void 0:t.route.id;i||M(!1),u||M(!1),null==s&&M(!1);var c=dn?dn():"",l=Kr(a.useState(r||c),2),f=l[0],d=l[1];r&&r!==f?d(r):f||d(On()),a.useEffect(function(){return n.getFetcher(f),function(){n.deleteFetcher(f)}},[n,f]);var h=a.useCallback(function(e,t){s||M(!1),n.fetch(f,s,e,t)},[f,s,n]),v=Mn(),p=a.useCallback(function(e,t){v(e,$r({},t,{navigate:!1,fetcherKey:f}))},[f,v]),m=a.useMemo(function(){return a.forwardRef(function(e,t){return a.createElement(Cn,$r({},e,{navigate:!1,fetcherKey:f,ref:t}))})},[f]),y=o.fetchers.get(f)||Ae,b=i.get(f);return a.useMemo(function(){return $r({Form:m,submit:p,load:h},y,{data:b})},[m,p,h,y,b])}function In(){var e=An(En.UseFetchers);return Array.from(e.fetchers.entries()).map(function(e){var t=Kr(e,2),r=t[0];return $r({},t[1],{key:r})})}var Nn="react-router-scroll-positions",Bn={};function zn(e){var t,r,n=void 0===e?{}:e,o=n.getKey,i=n.storageKey,u=Ln(Sn.UseScrollRestoration).router,s=An(En.UseScrollRestoration),c=s.restoreScrollPosition,l=s.preventScrollReset,f=a.useContext(It).basename,d=Kt(),h=pr(),v=hr();a.useEffect(function(){return window.history.scrollRestoration="manual",function(){window.history.scrollRestoration="auto"}},[]),t=a.useCallback(function(){if("idle"===v.state){var e=(o?o(d,h):null)||d.key;Bn[e]=window.scrollY}try{sessionStorage.setItem(i||Nn,JSON.stringify(Bn))}catch(e){}window.history.scrollRestoration="auto"},[i,o,v.state,d,h]),r={}.capture,a.useEffect(function(){var e=null!=r?{capture:r}:void 0;return window.addEventListener("pagehide",t,e),function(){window.removeEventListener("pagehide",t,e)}},[t,r]),"undefined"!=typeof document&&(a.useLayoutEffect(function(){try{var e=sessionStorage.getItem(i||Nn);e&&(Bn=JSON.parse(e))}catch(e){}},[i]),a.useLayoutEffect(function(){var e=o&&"/"!==f?function(e,t){return o($r({},e,{pathname:re(e.pathname,f)||e.pathname}),t)}:o,t=null==u?void 0:u.enableScrollRestoration(Bn,function(){return window.scrollY},e);return function(){return t&&t()}},[u,f,o]),a.useLayoutEffect(function(){if(!1!==c)if("number"!=typeof c){if(d.hash){var e=document.getElementById(decodeURIComponent(d.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==l&&window.scrollTo(0,0)}else window.scrollTo(0,c)},[d,c,l]))}function Hn(e,t){var r=(t||{}).capture;a.useEffect(function(){var t=null!=r?{capture:r}:void 0;return window.addEventListener("beforeunload",e,t),function(){window.removeEventListener("beforeunload",e,t)}},[e,r])}function Wn(e){var t=e.when,r=e.message,n=Rr(t);a.useEffect(function(){"blocked"===n.state&&(window.confirm(r)?setTimeout(n.proceed,0):n.reset())},[n,r]),a.useEffect(function(){"blocked"!==n.state||t||n.reset()},[n,t])}function Kn(e,t){void 0===t&&(t={});var r=a.useContext(sn);null==r&&M(!1);var n=Ln(Sn.useViewTransitionState).basename,o=Zt(e,{relative:t.relative});if(!r.isTransitioning)return!1;var i=re(r.currentLocation.pathname,n)||r.currentLocation.pathname,u=re(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=ee(o.pathname,u)||null!=ee(o.pathname,i)}}}]);
@@ -1,32 +0,0 @@
1
- /**
2
- * @remix-run/router v1.23.2
3
- *
4
- * Copyright (c) Remix Software Inc.
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE.md file in the root directory of this source tree.
8
- *
9
- * @license MIT
10
- */
11
-
12
- /**
13
- * React Router DOM v6.30.3
14
- *
15
- * Copyright (c) Remix Software Inc.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE.md file in the root directory of this source tree.
19
- *
20
- * @license MIT
21
- */
22
-
23
- /**
24
- * React Router v6.30.3
25
- *
26
- * Copyright (c) Remix Software Inc.
27
- *
28
- * This source code is licensed under the MIT license found in the
29
- * LICENSE.md file in the root directory of this source tree.
30
- *
31
- * @license MIT
32
- */