@gen-epix/ui-client-casedb 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (832) hide show
  1. package/LICENSE +287 -0
  2. package/README.md +101 -0
  3. package/dist/@types/mui.d.ts +12 -0
  4. package/dist/@types/ui-casedb.d.ts +3 -0
  5. package/dist/@types/vite-env.d.ts +3 -0
  6. package/dist/_chunks/AddCasesToEventDialog.js +246 -0
  7. package/dist/_chunks/AddCasesToEventDialog.js.map +1 -0
  8. package/dist/_chunks/CaseContentForm.js +43 -0
  9. package/dist/_chunks/CaseContentForm.js.map +1 -0
  10. package/dist/_chunks/CaseDbDownloadUtil.js +2307 -0
  11. package/dist/_chunks/CaseDbDownloadUtil.js.map +1 -0
  12. package/dist/_chunks/CaseInfoDialog.js +509 -0
  13. package/dist/_chunks/CaseInfoDialog.js.map +1 -0
  14. package/dist/_chunks/CaseSetInfoDialog.js +479 -0
  15. package/dist/_chunks/CaseSetInfoDialog.js.map +1 -0
  16. package/dist/_chunks/CaseTypeInfoDialog.js +470 -0
  17. package/dist/_chunks/CaseTypeInfoDialog.js.map +1 -0
  18. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js +123 -0
  19. package/dist/_chunks/CasesAlreadyInCaseSetWarning.js.map +1 -0
  20. package/dist/_chunks/CollectionIcon.js +18 -0
  21. package/dist/_chunks/CollectionIcon.js.map +1 -0
  22. package/dist/_chunks/CompletCaseTypeLoader.js +53 -0
  23. package/dist/_chunks/CompletCaseTypeLoader.js.map +1 -0
  24. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js +18 -0
  25. package/dist/_chunks/CreateEventDialogSuccessNotificationMessage.js.map +1 -0
  26. package/dist/_chunks/CustomTabPanel.js +21 -0
  27. package/dist/_chunks/CustomTabPanel.js.map +1 -0
  28. package/dist/_chunks/Dashboard.js +2582 -0
  29. package/dist/_chunks/Dashboard.js.map +1 -0
  30. package/dist/_chunks/DashboardStoreLoader.js +67 -0
  31. package/dist/_chunks/DashboardStoreLoader.js.map +1 -0
  32. package/dist/_chunks/DataCollectionAccessInfo.js +66 -0
  33. package/dist/_chunks/DataCollectionAccessInfo.js.map +1 -0
  34. package/dist/_chunks/EpiCurveUtil.js +378 -0
  35. package/dist/_chunks/EpiCurveUtil.js.map +1 -0
  36. package/dist/_chunks/EpiCurveWidget.js +570 -0
  37. package/dist/_chunks/EpiCurveWidget.js.map +1 -0
  38. package/dist/_chunks/FilterUtil.js +1537 -0
  39. package/dist/_chunks/FilterUtil.js.map +1 -0
  40. package/dist/_chunks/FindSimilarCasesDialog.js +439 -0
  41. package/dist/_chunks/FindSimilarCasesDialog.js.map +1 -0
  42. package/dist/_chunks/FindSimilarCasesUtil.js +100 -0
  43. package/dist/_chunks/FindSimilarCasesUtil.js.map +1 -0
  44. package/dist/_chunks/HomePageTrends.js +276 -0
  45. package/dist/_chunks/HomePageTrends.js.map +1 -0
  46. package/dist/_chunks/LegendaItem.js +325 -0
  47. package/dist/_chunks/LegendaItem.js.map +1 -0
  48. package/dist/_chunks/LineListWidget.js +702 -0
  49. package/dist/_chunks/LineListWidget.js.map +1 -0
  50. package/dist/_chunks/PanelSeparator.js +1676 -0
  51. package/dist/_chunks/PanelSeparator.js.map +1 -0
  52. package/dist/_chunks/Upload.js +1506 -0
  53. package/dist/_chunks/Upload.js.map +1 -0
  54. package/dist/_chunks/UploadUtil.js +1976 -0
  55. package/dist/_chunks/UploadUtil.js.map +1 -0
  56. package/dist/_chunks/UserRightsDialog.js +152 -0
  57. package/dist/_chunks/UserRightsDialog.js.map +1 -0
  58. package/dist/_chunks/_MapCache.js +274 -0
  59. package/dist/_chunks/_MapCache.js.map +1 -0
  60. package/dist/_chunks/_Set.js +9 -0
  61. package/dist/_chunks/_Set.js.map +1 -0
  62. package/dist/_chunks/_arrayIncludesWith.js +42 -0
  63. package/dist/_chunks/_arrayIncludesWith.js.map +1 -0
  64. package/dist/_chunks/_baseClone.js +262 -0
  65. package/dist/_chunks/_baseClone.js.map +1 -0
  66. package/dist/_chunks/_baseFlatten.js +26 -0
  67. package/dist/_chunks/_baseFlatten.js.map +1 -0
  68. package/dist/_chunks/_baseGet.js +246 -0
  69. package/dist/_chunks/_baseGet.js.map +1 -0
  70. package/dist/_chunks/_baseIteratee.js +246 -0
  71. package/dist/_chunks/_baseIteratee.js.map +1 -0
  72. package/dist/_chunks/_cacheHas.js +29 -0
  73. package/dist/_chunks/_cacheHas.js.map +1 -0
  74. package/dist/_chunks/_defineProperty.js +15 -0
  75. package/dist/_chunks/_defineProperty.js.map +1 -0
  76. package/dist/_chunks/_setToArray.js +15 -0
  77. package/dist/_chunks/_setToArray.js.map +1 -0
  78. package/dist/_chunks/_setToString.js +64 -0
  79. package/dist/_chunks/_setToString.js.map +1 -0
  80. package/dist/_chunks/chunk-KS7C4IRE.js +1327 -0
  81. package/dist/_chunks/chunk-KS7C4IRE.js.map +1 -0
  82. package/dist/_chunks/cloneDeep.js +119 -0
  83. package/dist/_chunks/cloneDeep.js.map +1 -0
  84. package/dist/_chunks/dashboardStore.js +743 -0
  85. package/dist/_chunks/dashboardStore.js.map +1 -0
  86. package/dist/_chunks/eachYearOfInterval.js +104 -0
  87. package/dist/_chunks/eachYearOfInterval.js.map +1 -0
  88. package/dist/_chunks/esm.js +46335 -0
  89. package/dist/_chunks/esm.js.map +1 -0
  90. package/dist/_chunks/format.js +504 -0
  91. package/dist/_chunks/format.js.map +1 -0
  92. package/dist/_chunks/hasIn.js +34 -0
  93. package/dist/_chunks/hasIn.js.map +1 -0
  94. package/dist/_chunks/index.esm.js +1342 -0
  95. package/dist/_chunks/index.esm.js.map +1 -0
  96. package/dist/_chunks/index.module.js +72 -0
  97. package/dist/_chunks/index.module.js.map +1 -0
  98. package/dist/_chunks/intersection.js +58 -0
  99. package/dist/_chunks/intersection.js.map +1 -0
  100. package/dist/_chunks/isArguments.js +27 -0
  101. package/dist/_chunks/isArguments.js.map +1 -0
  102. package/dist/_chunks/isArray.js +9 -0
  103. package/dist/_chunks/isArray.js.map +1 -0
  104. package/dist/_chunks/isArrayLike.js +30 -0
  105. package/dist/_chunks/isArrayLike.js.map +1 -0
  106. package/dist/_chunks/isObjectLike.js +18 -0
  107. package/dist/_chunks/isObjectLike.js.map +1 -0
  108. package/dist/_chunks/isValid.js +14 -0
  109. package/dist/_chunks/isValid.js.map +1 -0
  110. package/dist/_chunks/last.js +13 -0
  111. package/dist/_chunks/last.js.map +1 -0
  112. package/dist/_chunks/noop.js +10 -0
  113. package/dist/_chunks/noop.js.map +1 -0
  114. package/dist/_chunks/omit.js +81 -0
  115. package/dist/_chunks/omit.js.map +1 -0
  116. package/dist/_chunks/parseISO.js +117 -0
  117. package/dist/_chunks/parseISO.js.map +1 -0
  118. package/dist/_chunks/protectedTokens.js +630 -0
  119. package/dist/_chunks/protectedTokens.js.map +1 -0
  120. package/dist/_chunks/react.js +11 -0
  121. package/dist/_chunks/react.js.map +1 -0
  122. package/dist/_chunks/round.js +64 -0
  123. package/dist/_chunks/round.js.map +1 -0
  124. package/dist/_chunks/shallow.js +31 -0
  125. package/dist/_chunks/shallow.js.map +1 -0
  126. package/dist/_chunks/sync.js +3796 -0
  127. package/dist/_chunks/sync.js.map +1 -0
  128. package/dist/_chunks/toDate.js +18 -0
  129. package/dist/_chunks/toDate.js.map +1 -0
  130. package/dist/_chunks/toString.js +31 -0
  131. package/dist/_chunks/toString.js.map +1 -0
  132. package/dist/_chunks/useUnit.js +30 -0
  133. package/dist/_chunks/useUnit.js.map +1 -0
  134. package/dist/_chunks/userProfileStoreContext.js +7 -0
  135. package/dist/_chunks/userProfileStoreContext.js.map +1 -0
  136. package/dist/_chunks/vanilla.js +20 -0
  137. package/dist/_chunks/vanilla.js.map +1 -0
  138. package/dist/_chunks/yup.js +73 -0
  139. package/dist/_chunks/yup.js.map +1 -0
  140. package/dist/classes/errors/UploadError.d.ts +5 -0
  141. package/dist/classes/errors/index.d.ts +1 -0
  142. package/dist/classes/errors/index.js +11 -0
  143. package/dist/classes/errors/index.js.map +1 -0
  144. package/dist/classes/filters/SelectionFilter.d.ts +11 -0
  145. package/dist/classes/filters/TreeFilter.d.ts +11 -0
  146. package/dist/classes/services/DataService/DataService.d.ts +13 -0
  147. package/dist/classes/services/DataService/index.d.ts +1 -0
  148. package/dist/classes/services/DataService/index.js +83 -0
  149. package/dist/classes/services/DataService/index.js.map +1 -0
  150. package/dist/classes/services/EventBusService/EventBusService.d.ts +49 -0
  151. package/dist/classes/services/EventBusService/index.d.ts +1 -0
  152. package/dist/classes/services/EventBusService/index.js +16 -0
  153. package/dist/classes/services/EventBusService/index.js.map +1 -0
  154. package/dist/classes/services/LineListService/LineListCaseSetMembersService/LineListCaseSetMembersService.d.ts +9 -0
  155. package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.d.ts +1 -0
  156. package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.js +27 -0
  157. package/dist/classes/services/LineListService/LineListCaseSetMembersService/index.js.map +1 -0
  158. package/dist/classes/services/LineListService/LineListIsOwnCaseService/LineListIsOwnCaseService.d.ts +9 -0
  159. package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.d.ts +1 -0
  160. package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.js +30 -0
  161. package/dist/classes/services/LineListService/LineListIsOwnCaseService/index.js.map +1 -0
  162. package/dist/classes/services/LineListService/LineListServiceAbstract/LineListServiceAbstract.d.ts +11 -0
  163. package/dist/classes/services/LineListService/LineListServiceAbstract/index.d.ts +1 -0
  164. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js +55 -0
  165. package/dist/classes/services/LineListService/LineListServiceAbstract/index.js.map +1 -0
  166. package/dist/components/app/CaseDbApp/CaseDbApp.d.ts +1 -0
  167. package/dist/components/app/CaseDbApp/index.d.ts +1 -0
  168. package/dist/components/app/CaseDbApp/index.js +14 -0
  169. package/dist/components/app/CaseDbApp/index.js.map +1 -0
  170. package/dist/components/form/fields/ArrangementEditor/ArrangementEditor.d.ts +17 -0
  171. package/dist/components/form/fields/ArrangementEditor/index.d.ts +1 -0
  172. package/dist/components/form/fields/ArrangementEditor/index.js +130 -0
  173. package/dist/components/form/fields/ArrangementEditor/index.js.map +1 -0
  174. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialog.d.ts +10 -0
  175. package/dist/components/ui/AddCasesToEventDialog/AddCasesToEventDialogSuccessNotificationMessage.d.ts +6 -0
  176. package/dist/components/ui/AddCasesToEventDialog/index.d.ts +1 -0
  177. package/dist/components/ui/AddCasesToEventDialog/index.js +2 -0
  178. package/dist/components/ui/CaseContentForm/CaseContentForm.d.ts +10 -0
  179. package/dist/components/ui/CaseContentForm/index.d.ts +1 -0
  180. package/dist/components/ui/CaseContentForm/index.js +2 -0
  181. package/dist/components/ui/CaseContentFormDialog/CaseContentFormDialog.d.ts +9 -0
  182. package/dist/components/ui/CaseContentFormDialog/index.d.ts +1 -0
  183. package/dist/components/ui/CaseContentFormDialog/index.js +57 -0
  184. package/dist/components/ui/CaseContentFormDialog/index.js.map +1 -0
  185. package/dist/components/ui/CaseInfoDialog/CaseCaseSetInfo.d.ts +6 -0
  186. package/dist/components/ui/CaseInfoDialog/CaseContent.d.ts +6 -0
  187. package/dist/components/ui/CaseInfoDialog/CaseInfoDialog.d.ts +15 -0
  188. package/dist/components/ui/CaseInfoDialog/CaseInfoForm.d.ts +10 -0
  189. package/dist/components/ui/CaseInfoDialog/CaseSharingForm.d.ts +9 -0
  190. package/dist/components/ui/CaseInfoDialog/CaseSharingInfo.d.ts +3 -0
  191. package/dist/components/ui/CaseInfoDialog/ReadOnlyCaseContent.d.ts +6 -0
  192. package/dist/components/ui/CaseInfoDialog/index.d.ts +1 -0
  193. package/dist/components/ui/CaseInfoDialog/index.js +2 -0
  194. package/dist/components/ui/CaseSetInfoDialog/CaseSetContent.d.ts +6 -0
  195. package/dist/components/ui/CaseSetInfoDialog/CaseSetDescription.d.ts +6 -0
  196. package/dist/components/ui/CaseSetInfoDialog/CaseSetForm.d.ts +8 -0
  197. package/dist/components/ui/CaseSetInfoDialog/CaseSetInfoDialog.d.ts +10 -0
  198. package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingForm.d.ts +10 -0
  199. package/dist/components/ui/CaseSetInfoDialog/CaseSetSharingInfo.d.ts +3 -0
  200. package/dist/components/ui/CaseSetInfoDialog/index.d.ts +1 -0
  201. package/dist/components/ui/CaseSetInfoDialog/index.js +2 -0
  202. package/dist/components/ui/CaseSummary/CaseSummary.d.ts +5 -0
  203. package/dist/components/ui/CaseSummary/index.d.ts +1 -0
  204. package/dist/components/ui/CaseSummary/index.js +92 -0
  205. package/dist/components/ui/CaseSummary/index.js.map +1 -0
  206. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoAccessRights.d.ts +5 -0
  207. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoColAccessRights.d.ts +4 -0
  208. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoData.d.ts +5 -0
  209. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialog.d.ts +7 -0
  210. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogContent.d.ts +3 -0
  211. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoDialogWithLoader.d.ts +8 -0
  212. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoRegions.d.ts +5 -0
  213. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoTrees.d.ts +5 -0
  214. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoValues.d.ts +5 -0
  215. package/dist/components/ui/CaseTypeInfoDialog/CaseTypeInfoVariableDetails.d.ts +6 -0
  216. package/dist/components/ui/CaseTypeInfoDialog/index.d.ts +10 -0
  217. package/dist/components/ui/CaseTypeInfoDialog/index.js +2 -0
  218. package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarning.d.ts +5 -0
  219. package/dist/components/ui/CasesAlreadyInCaseSetWarning/CasesAlreadyInCaseSetWarningCaseSetLink.d.ts +5 -0
  220. package/dist/components/ui/CasesAlreadyInCaseSetWarning/index.d.ts +1 -0
  221. package/dist/components/ui/CasesAlreadyInCaseSetWarning/index.js +2 -0
  222. package/dist/components/ui/CompletCaseTypeLoader/CompletCaseTypeLoader.d.ts +7 -0
  223. package/dist/components/ui/CompletCaseTypeLoader/index.d.ts +1 -0
  224. package/dist/components/ui/CompletCaseTypeLoader/index.js +2 -0
  225. package/dist/components/ui/CompletCaseTypeLoader/withEpiCompleteCaseTypeLoader.d.ts +4 -0
  226. package/dist/components/ui/ContextMenu/ContextMenu.d.ts +20 -0
  227. package/dist/components/ui/ContextMenu/index.d.ts +1 -0
  228. package/dist/components/ui/ContextMenu/index.js +96 -0
  229. package/dist/components/ui/ContextMenu/index.js.map +1 -0
  230. package/dist/components/ui/CreateEventDialog/CreateEventDialog.d.ts +10 -0
  231. package/dist/components/ui/CreateEventDialog/CreateEventDialogSuccessNotificationMessage.d.ts +6 -0
  232. package/dist/components/ui/CreateEventDialog/index.d.ts +1 -0
  233. package/dist/components/ui/CreateEventDialog/index.js +278 -0
  234. package/dist/components/ui/CreateEventDialog/index.js.map +1 -0
  235. package/dist/components/ui/CustomTabPanel/CustomTabPanel.d.ts +6 -0
  236. package/dist/components/ui/CustomTabPanel/index.d.ts +1 -0
  237. package/dist/components/ui/CustomTabPanel/index.js +2 -0
  238. package/dist/components/ui/Dashboard/Dashboard.d.ts +1 -0
  239. package/dist/components/ui/Dashboard/DashboardContent.d.ts +6 -0
  240. package/dist/components/ui/Dashboard/DashboardDownloadSidebarItem.d.ts +6 -0
  241. package/dist/components/ui/Dashboard/DashboardGeneralSettingsForm.d.ts +1 -0
  242. package/dist/components/ui/Dashboard/DashboardLayoutRenderer.d.ts +9 -0
  243. package/dist/components/ui/Dashboard/DashboardLayoutSettingsForm.d.ts +4 -0
  244. package/dist/components/ui/Dashboard/DashboardSearch.d.ts +1 -0
  245. package/dist/components/ui/Dashboard/DashboardSearchSettings.d.ts +10 -0
  246. package/dist/components/ui/Dashboard/DashboardSettingsSidebarItem.d.ts +8 -0
  247. package/dist/components/ui/Dashboard/DashboardWidget.d.ts +12 -0
  248. package/dist/components/ui/Dashboard/DashboardWidgetPlaceHolder.d.ts +1 -0
  249. package/dist/components/ui/Dashboard/DashboardWidgetSettingsForm.d.ts +4 -0
  250. package/dist/components/ui/Dashboard/DashboardZoneContext.d.ts +1 -0
  251. package/dist/components/ui/Dashboard/context/DashboardContext.d.ts +12 -0
  252. package/dist/components/ui/Dashboard/context/DashboardContextProvider.d.ts +6 -0
  253. package/dist/components/ui/Dashboard/index.d.ts +2 -0
  254. package/dist/components/ui/Dashboard/index.js +2 -0
  255. package/dist/components/ui/DashboardEditCases/DashboardEditCases.d.ts +6 -0
  256. package/dist/components/ui/DashboardEditCases/index.d.ts +1 -0
  257. package/dist/components/ui/DashboardEditCases/index.js +70 -0
  258. package/dist/components/ui/DashboardEditCases/index.js.map +1 -0
  259. package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoader.d.ts +7 -0
  260. package/dist/components/ui/DashboardStoreLoader/DashboardStoreLoaderContent.d.ts +8 -0
  261. package/dist/components/ui/DashboardStoreLoader/index.d.ts +2 -0
  262. package/dist/components/ui/DashboardStoreLoader/index.js +2 -0
  263. package/dist/components/ui/DashboardStoreLoader/withEpiDashboardStore.d.ts +4 -0
  264. package/dist/components/ui/DataCollectionAccessInfo/DataCollectionAccessInfo.d.ts +1 -0
  265. package/dist/components/ui/DataCollectionAccessInfo/index.d.ts +1 -0
  266. package/dist/components/ui/DataCollectionAccessInfo/index.js +2 -0
  267. package/dist/components/ui/EpiCurveWidget/EpiCurveBarChart.d.ts +21 -0
  268. package/dist/components/ui/EpiCurveWidget/EpiCurveStackedAreaChart.d.ts +22 -0
  269. package/dist/components/ui/EpiCurveWidget/EpiCurveWidget.d.ts +2 -0
  270. package/dist/components/ui/EpiCurveWidget/index.d.ts +1 -0
  271. package/dist/components/ui/EpiCurveWidget/index.js +2 -0
  272. package/dist/components/ui/FileSelector/FileSelector.d.ts +7 -0
  273. package/dist/components/ui/FileSelector/index.d.ts +1 -0
  274. package/dist/components/ui/FileSelector/index.js +206 -0
  275. package/dist/components/ui/FileSelector/index.js.map +1 -0
  276. package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialog.d.ts +11 -0
  277. package/dist/components/ui/FindSimilarCasesDialog/FindSimilarCasesDialogDateRangeChart.d.ts +11 -0
  278. package/dist/components/ui/FindSimilarCasesDialog/index.d.ts +1 -0
  279. package/dist/components/ui/FindSimilarCasesDialog/index.js +2 -0
  280. package/dist/components/ui/Grouping/Grouping.d.ts +1 -0
  281. package/dist/components/ui/Grouping/index.d.ts +1 -0
  282. package/dist/components/ui/Grouping/index.js +102 -0
  283. package/dist/components/ui/Grouping/index.js.map +1 -0
  284. package/dist/components/ui/HistogramWidget/HistogramWidget.d.ts +1 -0
  285. package/dist/components/ui/HistogramWidget/index.d.ts +1 -0
  286. package/dist/components/ui/HistogramWidget/index.js +333 -0
  287. package/dist/components/ui/HistogramWidget/index.js.map +1 -0
  288. package/dist/components/ui/HomePageTrends/HomePageTrendCard.d.ts +9 -0
  289. package/dist/components/ui/HomePageTrends/HomePageTrends.d.ts +4 -0
  290. package/dist/components/ui/HomePageTrends/index.d.ts +1 -0
  291. package/dist/components/ui/HomePageTrends/index.js +2 -0
  292. package/dist/components/ui/LegendaItem/LegendaItem.d.ts +10 -0
  293. package/dist/components/ui/LegendaItem/index.d.ts +1 -0
  294. package/dist/components/ui/LegendaItem/index.js +2 -0
  295. package/dist/components/ui/LineListWidget/LineListWidget.d.ts +1 -0
  296. package/dist/components/ui/LineListWidget/LineListWidgetIsInEventCell.d.ts +6 -0
  297. package/dist/components/ui/LineListWidget/LineListWidgetIsOwnCaseCell.d.ts +6 -0
  298. package/dist/components/ui/LineListWidget/LineListWidgetPrimaryMenu.d.ts +5 -0
  299. package/dist/components/ui/LineListWidget/LineListWidgetSecondaryMenu.d.ts +1 -0
  300. package/dist/components/ui/LineListWidget/LineListWidgetTitle.d.ts +1 -0
  301. package/dist/components/ui/LineListWidget/index.d.ts +1 -0
  302. package/dist/components/ui/LineListWidget/index.js +2 -0
  303. package/dist/components/ui/LineListWidget/useEpiLineListWidgetEmitDownloadOptions.d.ts +1 -0
  304. package/dist/components/ui/MapWidget/MapWidget.d.ts +1 -0
  305. package/dist/components/ui/MapWidget/index.d.ts +1 -0
  306. package/dist/components/ui/MapWidget/index.js +302 -0
  307. package/dist/components/ui/MapWidget/index.js.map +1 -0
  308. package/dist/components/ui/PanelSeparator/PanelSeparatorHorizontal.d.ts +2 -0
  309. package/dist/components/ui/PanelSeparator/PanelSeparatorVertical.d.ts +2 -0
  310. package/dist/components/ui/PanelSeparator/index.d.ts +2 -0
  311. package/dist/components/ui/PanelSeparator/index.js +2 -0
  312. package/dist/components/ui/RemoveCasesFromEventDialog/RemoveCasesFromEventDialog.d.ts +10 -0
  313. package/dist/components/ui/RemoveCasesFromEventDialog/index.d.ts +1 -0
  314. package/dist/components/ui/RemoveCasesFromEventDialog/index.js +111 -0
  315. package/dist/components/ui/RemoveCasesFromEventDialog/index.js.map +1 -0
  316. package/dist/components/ui/RemoveFindSimilarCasesResultDialog/RemoveFindSimilarCasesResultDialog.d.ts +9 -0
  317. package/dist/components/ui/SequenceDownloadDialog/SequenceDownloadDialog.d.ts +10 -0
  318. package/dist/components/ui/SequenceDownloadDialog/index.d.ts +1 -0
  319. package/dist/components/ui/SequenceDownloadDialog/index.js +89 -0
  320. package/dist/components/ui/SequenceDownloadDialog/index.js.map +1 -0
  321. package/dist/components/ui/TreeDescription/TreeDescription.d.ts +5 -0
  322. package/dist/components/ui/TreeDescription/index.d.ts +1 -0
  323. package/dist/components/ui/TreeDescription/index.js +40 -0
  324. package/dist/components/ui/TreeDescription/index.js.map +1 -0
  325. package/dist/components/ui/TreeWidget/TreeWidget.d.ts +1 -0
  326. package/dist/components/ui/TreeWidget/index.d.ts +1 -0
  327. package/dist/components/ui/TreeWidget/index.js +404 -0
  328. package/dist/components/ui/TreeWidget/index.js.map +1 -0
  329. package/dist/components/ui/Upload/Upload.d.ts +1 -0
  330. package/dist/components/ui/Upload/UploadCaseResultTable.d.ts +18 -0
  331. package/dist/components/ui/Upload/UploadCreateCases.d.ts +1 -0
  332. package/dist/components/ui/Upload/UploadEditColumnValuesDialog.d.ts +12 -0
  333. package/dist/components/ui/Upload/UploadMapColumns.d.ts +1 -0
  334. package/dist/components/ui/Upload/UploadMapSequences.d.ts +1 -0
  335. package/dist/components/ui/Upload/UploadNavigation.d.ts +10 -0
  336. package/dist/components/ui/Upload/UploadPreview.d.ts +4 -0
  337. package/dist/components/ui/Upload/UploadPreviewNavigation.d.ts +5 -0
  338. package/dist/components/ui/Upload/UploadSelectFile.d.ts +1 -0
  339. package/dist/components/ui/Upload/UploadSelectSequenceFiles.d.ts +1 -0
  340. package/dist/components/ui/Upload/index.d.ts +1 -0
  341. package/dist/components/ui/Upload/index.js +2 -0
  342. package/dist/components/ui/UserRightsDialog/UserRightsDialog.d.ts +9 -0
  343. package/dist/components/ui/UserRightsDialog/UserRightsDialogCaseAccessPolicy.d.ts +5 -0
  344. package/dist/components/ui/UserRightsDialog/index.d.ts +1 -0
  345. package/dist/components/ui/UserRightsDialog/index.js +2 -0
  346. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/UsersEffectiveRightsDetailsDialog.d.ts +13 -0
  347. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.d.ts +1 -0
  348. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js +373 -0
  349. package/dist/components/ui/UsersEffectiveRightsDetailsDialog/index.js.map +1 -0
  350. package/dist/components/ui/Warning/Warning.d.ts +4 -0
  351. package/dist/components/ui/Warning/index.d.ts +1 -0
  352. package/dist/components/ui/Warning/index.js +29 -0
  353. package/dist/components/ui/Warning/index.js.map +1 -0
  354. package/dist/components/ui/WidgetHeaderIconButton/WidgetHeaderIconButton.d.ts +5 -0
  355. package/dist/components/ui/WidgetHeaderIconButton/index.d.ts +1 -0
  356. package/dist/components/ui/WidgetHeaderIconButton/index.js +24 -0
  357. package/dist/components/ui/WidgetHeaderIconButton/index.js.map +1 -0
  358. package/dist/components/ui/WidgetMenu/WidgetMenu.d.ts +6 -0
  359. package/dist/components/ui/WidgetMenu/index.d.ts +1 -0
  360. package/dist/components/ui/WidgetMenu/index.js +26 -0
  361. package/dist/components/ui/WidgetMenu/index.js.map +1 -0
  362. package/dist/components/ui/WidgetUnavailable/WidgetUnavailable.d.ts +6 -0
  363. package/dist/components/ui/WidgetUnavailable/index.d.ts +1 -0
  364. package/dist/components/ui/WidgetUnavailable/index.js +18 -0
  365. package/dist/components/ui/WidgetUnavailable/index.js.map +1 -0
  366. package/dist/constants/dashboard.d.ts +9 -0
  367. package/dist/constants/dashboard.js +14 -0
  368. package/dist/constants/dashboard.js.map +1 -0
  369. package/dist/constants/query.d.ts +62 -0
  370. package/dist/constants/query.js +163 -0
  371. package/dist/constants/query.js.map +1 -0
  372. package/dist/context/caseAbac/CaseAbacContext.d.ts +14 -0
  373. package/dist/context/caseAbac/CaseAbacContextProvider.d.ts +6 -0
  374. package/dist/context/caseAbac/index.d.ts +3 -0
  375. package/dist/context/caseAbac/useCaseAbacContext.d.ts +2 -0
  376. package/dist/context/caseTypeAbac/CaseTypeAbacContext.d.ts +14 -0
  377. package/dist/context/caseTypeAbac/CaseTypeAbacContextProvider.d.ts +6 -0
  378. package/dist/context/caseTypeAbac/index.d.ts +3 -0
  379. package/dist/context/caseTypeAbac/useCaseTypeAbacContext.d.ts +2 -0
  380. package/dist/dataHooks/useAssemblyProtocolsQuery/index.d.ts +1 -0
  381. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js +21 -0
  382. package/dist/dataHooks/useAssemblyProtocolsQuery/index.js.map +1 -0
  383. package/dist/dataHooks/useAssemblyProtocolsQuery/useAssemblyProtocolsQuery.d.ts +6 -0
  384. package/dist/dataHooks/useCaseRightsQuery/index.d.ts +1 -0
  385. package/dist/dataHooks/useCaseRightsQuery/index.js +17 -0
  386. package/dist/dataHooks/useCaseRightsQuery/index.js.map +1 -0
  387. package/dist/dataHooks/useCaseRightsQuery/useCaseRightsQuery.d.ts +3 -0
  388. package/dist/dataHooks/useCaseSetCategoriesQuery/index.d.ts +1 -0
  389. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js +22 -0
  390. package/dist/dataHooks/useCaseSetCategoriesQuery/index.js.map +1 -0
  391. package/dist/dataHooks/useCaseSetCategoriesQuery/useCaseSetCategoriesQuery.d.ts +6 -0
  392. package/dist/dataHooks/useCaseSetRightsQuery/index.d.ts +1 -0
  393. package/dist/dataHooks/useCaseSetRightsQuery/index.js +13 -0
  394. package/dist/dataHooks/useCaseSetRightsQuery/index.js.map +1 -0
  395. package/dist/dataHooks/useCaseSetRightsQuery/useCaseSetRightsQuery.d.ts +3 -0
  396. package/dist/dataHooks/useCaseSetStatsQuery/index.d.ts +1 -0
  397. package/dist/dataHooks/useCaseSetStatsQuery/index.js +19 -0
  398. package/dist/dataHooks/useCaseSetStatsQuery/index.js.map +1 -0
  399. package/dist/dataHooks/useCaseSetStatsQuery/useCaseSetStatsQuery.d.ts +5 -0
  400. package/dist/dataHooks/useCaseSetStatusesQuery/index.d.ts +1 -0
  401. package/dist/dataHooks/useCaseSetStatusesQuery/index.js +22 -0
  402. package/dist/dataHooks/useCaseSetStatusesQuery/index.js.map +1 -0
  403. package/dist/dataHooks/useCaseSetStatusesQuery/useCaseSetStatusesQuery.d.ts +6 -0
  404. package/dist/dataHooks/useCaseSetsQuery/index.d.ts +1 -0
  405. package/dist/dataHooks/useCaseSetsQuery/index.js +22 -0
  406. package/dist/dataHooks/useCaseSetsQuery/index.js.map +1 -0
  407. package/dist/dataHooks/useCaseSetsQuery/useCaseSetsQuery.d.ts +6 -0
  408. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.d.ts +1 -0
  409. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js +22 -0
  410. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/index.js.map +1 -0
  411. package/dist/dataHooks/useCaseTypeSetCategoriesQuery/useCaseTypeSetCategoriesQuery.d.ts +6 -0
  412. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.d.ts +1 -0
  413. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js +21 -0
  414. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/index.js.map +1 -0
  415. package/dist/dataHooks/useCaseTypeSetCategoryPurposeQuery/useCaseTypeSetCategoryPurposeQuery.d.ts +4 -0
  416. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.d.ts +1 -0
  417. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js +13 -0
  418. package/dist/dataHooks/useCaseTypeSetMembersQuery/index.js.map +1 -0
  419. package/dist/dataHooks/useCaseTypeSetMembersQuery/useCaseTypeSetMembersQuery.d.ts +3 -0
  420. package/dist/dataHooks/useCaseTypeSetsQuery/index.d.ts +1 -0
  421. package/dist/dataHooks/useCaseTypeSetsQuery/index.js +25 -0
  422. package/dist/dataHooks/useCaseTypeSetsQuery/index.js.map +1 -0
  423. package/dist/dataHooks/useCaseTypeSetsQuery/useCaseTypeSetsQuery.d.ts +7 -0
  424. package/dist/dataHooks/useCaseTypeStatsQuery/index.d.ts +1 -0
  425. package/dist/dataHooks/useCaseTypeStatsQuery/index.js +13 -0
  426. package/dist/dataHooks/useCaseTypeStatsQuery/index.js.map +1 -0
  427. package/dist/dataHooks/useCaseTypeStatsQuery/useCaseTypeStatsQuery.d.ts +3 -0
  428. package/dist/dataHooks/useCaseTypesQuery/index.d.ts +1 -0
  429. package/dist/dataHooks/useCaseTypesQuery/index.js +24 -0
  430. package/dist/dataHooks/useCaseTypesQuery/index.js.map +1 -0
  431. package/dist/dataHooks/useCaseTypesQuery/useCaseTypesQuery.d.ts +9 -0
  432. package/dist/dataHooks/useColSetMembersQuery/index.d.ts +1 -0
  433. package/dist/dataHooks/useColSetMembersQuery/index.js +13 -0
  434. package/dist/dataHooks/useColSetMembersQuery/index.js.map +1 -0
  435. package/dist/dataHooks/useColSetMembersQuery/useColSetMembersQuery.d.ts +3 -0
  436. package/dist/dataHooks/useColSetsQuery/index.d.ts +1 -0
  437. package/dist/dataHooks/useColSetsQuery/index.js +21 -0
  438. package/dist/dataHooks/useColSetsQuery/index.js.map +1 -0
  439. package/dist/dataHooks/useColSetsQuery/useColSetsQuery.d.ts +6 -0
  440. package/dist/dataHooks/useColTypesQuery/index.d.ts +1 -0
  441. package/dist/dataHooks/useColTypesQuery/index.js +51 -0
  442. package/dist/dataHooks/useColTypesQuery/index.js.map +1 -0
  443. package/dist/dataHooks/useColTypesQuery/useColTypesQuery.d.ts +4 -0
  444. package/dist/dataHooks/useColsQuery/index.d.ts +1 -0
  445. package/dist/dataHooks/useColsQuery/index.js +27 -0
  446. package/dist/dataHooks/useColsQuery/index.js.map +1 -0
  447. package/dist/dataHooks/useColsQuery/useColsQuery.d.ts +7 -0
  448. package/dist/dataHooks/useConceptQuery/index.d.ts +1 -0
  449. package/dist/dataHooks/useConceptQuery/index.js +26 -0
  450. package/dist/dataHooks/useConceptQuery/index.js.map +1 -0
  451. package/dist/dataHooks/useConceptQuery/useConceptQuery.d.ts +7 -0
  452. package/dist/dataHooks/useConceptRelationTypeQuery/index.d.ts +1 -0
  453. package/dist/dataHooks/useConceptRelationTypeQuery/index.js +15 -0
  454. package/dist/dataHooks/useConceptRelationTypeQuery/index.js.map +1 -0
  455. package/dist/dataHooks/useConceptRelationTypeQuery/useConceptRelationTypeQuery.d.ts +4 -0
  456. package/dist/dataHooks/useConceptSetTypeQuery/index.d.ts +1 -0
  457. package/dist/dataHooks/useConceptSetTypeQuery/index.js +22 -0
  458. package/dist/dataHooks/useConceptSetTypeQuery/index.js.map +1 -0
  459. package/dist/dataHooks/useConceptSetTypeQuery/useConceptSetTypeQuery.d.ts +4 -0
  460. package/dist/dataHooks/useConceptSetsQuery/index.d.ts +1 -0
  461. package/dist/dataHooks/useConceptSetsQuery/index.js +21 -0
  462. package/dist/dataHooks/useConceptSetsQuery/index.js.map +1 -0
  463. package/dist/dataHooks/useConceptSetsQuery/useConceptSetsQuery.d.ts +6 -0
  464. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.d.ts +1 -0
  465. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js +13 -0
  466. package/dist/dataHooks/useDataCollectionSetMembersQuery/index.js.map +1 -0
  467. package/dist/dataHooks/useDataCollectionSetMembersQuery/useDataCollectionSetMembersQuery.d.ts +3 -0
  468. package/dist/dataHooks/useDataCollectionsQuery/index.d.ts +1 -0
  469. package/dist/dataHooks/useDataCollectionsQuery/index.js +22 -0
  470. package/dist/dataHooks/useDataCollectionsQuery/index.js.map +1 -0
  471. package/dist/dataHooks/useDataCollectionsQuery/useDataCollectionsQuery.d.ts +6 -0
  472. package/dist/dataHooks/useDimTypesQuery/index.d.ts +1 -0
  473. package/dist/dataHooks/useDimTypesQuery/index.js +26 -0
  474. package/dist/dataHooks/useDimTypesQuery/index.js.map +1 -0
  475. package/dist/dataHooks/useDimTypesQuery/useDimTypesQuery.d.ts +4 -0
  476. package/dist/dataHooks/useDimsQuery/index.d.ts +1 -0
  477. package/dist/dataHooks/useDimsQuery/index.js +26 -0
  478. package/dist/dataHooks/useDimsQuery/index.js.map +1 -0
  479. package/dist/dataHooks/useDimsQuery/useDimsQuery.d.ts +7 -0
  480. package/dist/dataHooks/useDiseasesQuery/index.d.ts +1 -0
  481. package/dist/dataHooks/useDiseasesQuery/index.js +21 -0
  482. package/dist/dataHooks/useDiseasesQuery/index.js.map +1 -0
  483. package/dist/dataHooks/useDiseasesQuery/useDiseasesQuery.d.ts +6 -0
  484. package/dist/dataHooks/useEtiologicalAgentsQuery/index.d.ts +1 -0
  485. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js +21 -0
  486. package/dist/dataHooks/useEtiologicalAgentsQuery/index.js.map +1 -0
  487. package/dist/dataHooks/useEtiologicalAgentsQuery/useEtiologicalAgentsQuery.d.ts +6 -0
  488. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.d.ts +1 -0
  489. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js +18 -0
  490. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/index.js.map +1 -0
  491. package/dist/dataHooks/useGeneticDistanceProtocolsQuery/useGeneticDistanceProtocolsQuery.d.ts +5 -0
  492. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.d.ts +1 -0
  493. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js +14 -0
  494. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/index.js.map +1 -0
  495. package/dist/dataHooks/useOrganizationAccessCasePoliciesQuery/useOrganizationAccessCasePoliciesQuery.d.ts +3 -0
  496. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.d.ts +1 -0
  497. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js +14 -0
  498. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/index.js.map +1 -0
  499. package/dist/dataHooks/useOrganizationShareCasePoliciesQuery/useOrganizationShareCasePoliciesQuery.d.ts +3 -0
  500. package/dist/dataHooks/useRefColsQuery/index.d.ts +1 -0
  501. package/dist/dataHooks/useRefColsQuery/index.js +22 -0
  502. package/dist/dataHooks/useRefColsQuery/index.js.map +1 -0
  503. package/dist/dataHooks/useRefColsQuery/useRefColsQuery.d.ts +6 -0
  504. package/dist/dataHooks/useRefColsValidationRulesQuery/index.d.ts +1 -0
  505. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js +13 -0
  506. package/dist/dataHooks/useRefColsValidationRulesQuery/index.js.map +1 -0
  507. package/dist/dataHooks/useRefColsValidationRulesQuery/useRefColsValidationRulesQuery.d.ts +3 -0
  508. package/dist/dataHooks/useRefDimsQuery/index.d.ts +1 -0
  509. package/dist/dataHooks/useRefDimsQuery/index.js +22 -0
  510. package/dist/dataHooks/useRefDimsQuery/index.js.map +1 -0
  511. package/dist/dataHooks/useRefDimsQuery/useRefDimsQuery.d.ts +6 -0
  512. package/dist/dataHooks/useRegionQuery/index.d.ts +1 -0
  513. package/dist/dataHooks/useRegionQuery/index.js +25 -0
  514. package/dist/dataHooks/useRegionQuery/index.js.map +1 -0
  515. package/dist/dataHooks/useRegionQuery/useRegionQuery.d.ts +7 -0
  516. package/dist/dataHooks/useRegionRelationTypeQuery/index.d.ts +1 -0
  517. package/dist/dataHooks/useRegionRelationTypeQuery/index.js +20 -0
  518. package/dist/dataHooks/useRegionRelationTypeQuery/index.js.map +1 -0
  519. package/dist/dataHooks/useRegionRelationTypeQuery/useRegionRelationTypeQuery.d.ts +4 -0
  520. package/dist/dataHooks/useRegionSetsQuery/index.d.ts +1 -0
  521. package/dist/dataHooks/useRegionSetsQuery/index.js +21 -0
  522. package/dist/dataHooks/useRegionSetsQuery/index.js.map +1 -0
  523. package/dist/dataHooks/useRegionSetsQuery/useRegionSetsQuery.d.ts +6 -0
  524. package/dist/dataHooks/useSequencingProtocolsQuery/index.d.ts +1 -0
  525. package/dist/dataHooks/useSequencingProtocolsQuery/index.js +21 -0
  526. package/dist/dataHooks/useSequencingProtocolsQuery/index.js.map +1 -0
  527. package/dist/dataHooks/useSequencingProtocolsQuery/useSequencingProtocolsQuery.d.ts +6 -0
  528. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.d.ts +1 -0
  529. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js +42 -0
  530. package/dist/dataHooks/useTreeAlgorithmCodesQuery/index.js.map +1 -0
  531. package/dist/dataHooks/useTreeAlgorithmCodesQuery/useTreeAlgorithmCodesQuery.d.ts +4 -0
  532. package/dist/dataHooks/useUnitQuery/index.d.ts +1 -0
  533. package/dist/dataHooks/useUnitQuery/index.js +2 -0
  534. package/dist/dataHooks/useUnitQuery/useUnit.d.ts +4 -0
  535. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.d.ts +1 -0
  536. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js +14 -0
  537. package/dist/dataHooks/useUserAccessCasePoliciesQuery/index.js.map +1 -0
  538. package/dist/dataHooks/useUserAccessCasePoliciesQuery/useUserAccessCasePoliciesQuery.d.ts +3 -0
  539. package/dist/dataHooks/useUserEffectiveRightsQuery/index.d.ts +1 -0
  540. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js +83 -0
  541. package/dist/dataHooks/useUserEffectiveRightsQuery/index.js.map +1 -0
  542. package/dist/dataHooks/useUserEffectiveRightsQuery/useUserEffectiveRightsQuery.d.ts +16 -0
  543. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.d.ts +1 -0
  544. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js +14 -0
  545. package/dist/dataHooks/useUserShareCasePoliciesQuery/index.js.map +1 -0
  546. package/dist/dataHooks/useUserShareCasePoliciesQuery/useUserShareCasePoliciesQuery.d.ts +3 -0
  547. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.d.ts +1 -0
  548. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js +25 -0
  549. package/dist/hooks/useOrganizationCasePolicyNameFactory/index.js.map +1 -0
  550. package/dist/hooks/useOrganizationCasePolicyNameFactory/useOrganizationCasePolicyNameFactory.d.ts +3 -0
  551. package/dist/hooks/useUserCasePolicyNameFactory/index.d.ts +1 -0
  552. package/dist/hooks/useUserCasePolicyNameFactory/index.js +28 -0
  553. package/dist/hooks/useUserCasePolicyNameFactory/index.js.map +1 -0
  554. package/dist/hooks/useUserCasePolicyNameFactory/useUserCasePolicyNameFactory.d.ts +3 -0
  555. package/dist/locale/en.json +676 -0
  556. package/dist/locale/nl.json +676 -0
  557. package/dist/models/caseAccess.d.ts +15 -0
  558. package/dist/models/caseAccess.js +0 -0
  559. package/dist/models/caseDb.d.ts +96 -0
  560. package/dist/models/caseDb.js +8 -0
  561. package/dist/models/caseDb.js.map +1 -0
  562. package/dist/models/config.d.ts +70 -0
  563. package/dist/models/config.js +0 -0
  564. package/dist/models/dashboard.d.ts +91 -0
  565. package/dist/models/dashboard.js +10 -0
  566. package/dist/models/dashboard.js.map +1 -0
  567. package/dist/models/stratification.d.ts +40 -0
  568. package/dist/models/stratification.js +12 -0
  569. package/dist/models/stratification.js.map +1 -0
  570. package/dist/models/theme.d.ts +17 -0
  571. package/dist/models/theme.js +0 -0
  572. package/dist/models/upload.d.ts +51 -0
  573. package/dist/models/upload.js +8 -0
  574. package/dist/models/upload.js.map +1 -0
  575. package/dist/pages/CaseDbUsersAdminPage/CaseDbUsersAdminPage.d.ts +1 -0
  576. package/dist/pages/CaseDbUsersAdminPage/index.d.ts +1 -0
  577. package/dist/pages/CaseDbUsersAdminPage/index.js +67 -0
  578. package/dist/pages/CaseDbUsersAdminPage/index.js.map +1 -0
  579. package/dist/pages/CaseSetCategoryAdminPage/CaseSetCategoryAdminPage.d.ts +1 -0
  580. package/dist/pages/CaseSetCategoryAdminPage/index.d.ts +1 -0
  581. package/dist/pages/CaseSetCategoryAdminPage/index.js +69 -0
  582. package/dist/pages/CaseSetCategoryAdminPage/index.js.map +1 -0
  583. package/dist/pages/CaseSetStatusAdminPage/CaseSetStatusAdminPage.d.ts +1 -0
  584. package/dist/pages/CaseSetStatusAdminPage/index.d.ts +1 -0
  585. package/dist/pages/CaseSetStatusAdminPage/index.js +69 -0
  586. package/dist/pages/CaseSetStatusAdminPage/index.js.map +1 -0
  587. package/dist/pages/CaseTypeSetCategoriesAdminPage/CaseTypeSetCategoriesAdminPage.d.ts +1 -0
  588. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.d.ts +1 -0
  589. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js +92 -0
  590. package/dist/pages/CaseTypeSetCategoriesAdminPage/index.js.map +1 -0
  591. package/dist/pages/CaseTypeSetsAdminPage/CaseTypeSetsAdminPage.d.ts +1 -0
  592. package/dist/pages/CaseTypeSetsAdminPage/index.d.ts +1 -0
  593. package/dist/pages/CaseTypeSetsAdminPage/index.js +148 -0
  594. package/dist/pages/CaseTypeSetsAdminPage/index.js.map +1 -0
  595. package/dist/pages/CaseTypesAdminPage/CaseTypesAdminPage.d.ts +1 -0
  596. package/dist/pages/CaseTypesAdminPage/index.d.ts +1 -0
  597. package/dist/pages/CaseTypesAdminPage/index.js +288 -0
  598. package/dist/pages/CaseTypesAdminPage/index.js.map +1 -0
  599. package/dist/pages/CasesDetailPage/CasesDetailPage.d.ts +1 -0
  600. package/dist/pages/CasesDetailPage/index.d.ts +1 -0
  601. package/dist/pages/CasesDetailPage/index.js +41 -0
  602. package/dist/pages/CasesDetailPage/index.js.map +1 -0
  603. package/dist/pages/CasesPage/CasesPage.d.ts +1 -0
  604. package/dist/pages/CasesPage/index.d.ts +1 -0
  605. package/dist/pages/CasesPage/index.js +229 -0
  606. package/dist/pages/CasesPage/index.js.map +1 -0
  607. package/dist/pages/ColSetsAdminPage/ColSetsAdminPage.d.ts +1 -0
  608. package/dist/pages/ColSetsAdminPage/index.d.ts +1 -0
  609. package/dist/pages/ColSetsAdminPage/index.js +109 -0
  610. package/dist/pages/ColSetsAdminPage/index.js.map +1 -0
  611. package/dist/pages/ColsAdminPage/ColsAdminPage.d.ts +1 -0
  612. package/dist/pages/ColsAdminPage/index.d.ts +1 -0
  613. package/dist/pages/ColsAdminPage/index.js +315 -0
  614. package/dist/pages/ColsAdminPage/index.js.map +1 -0
  615. package/dist/pages/ConceptRelationsAdminPage/ConceptRelationsAdminPage.d.ts +1 -0
  616. package/dist/pages/ConceptRelationsAdminPage/index.d.ts +1 -0
  617. package/dist/pages/ConceptRelationsAdminPage/index.js +103 -0
  618. package/dist/pages/ConceptRelationsAdminPage/index.js.map +1 -0
  619. package/dist/pages/ConceptSetsAdminPage/ConceptSetsAdminPage.d.ts +1 -0
  620. package/dist/pages/ConceptSetsAdminPage/index.d.ts +1 -0
  621. package/dist/pages/ConceptSetsAdminPage/index.js +112 -0
  622. package/dist/pages/ConceptSetsAdminPage/index.js.map +1 -0
  623. package/dist/pages/ConceptsAdminPage/ConceptsAdminPage.d.ts +1 -0
  624. package/dist/pages/ConceptsAdminPage/index.d.ts +1 -0
  625. package/dist/pages/ConceptsAdminPage/index.js +94 -0
  626. package/dist/pages/ConceptsAdminPage/index.js.map +1 -0
  627. package/dist/pages/DataCollectionSetsAdminPage/DataCollectionSetsAdminPage.d.ts +1 -0
  628. package/dist/pages/DataCollectionSetsAdminPage/index.d.ts +1 -0
  629. package/dist/pages/DataCollectionSetsAdminPage/index.js +99 -0
  630. package/dist/pages/DataCollectionSetsAdminPage/index.js.map +1 -0
  631. package/dist/pages/DataCollectionVisualizationPage/DataCollectionVisualizationPage.d.ts +1 -0
  632. package/dist/pages/DataCollectionVisualizationPage/index.d.ts +1 -0
  633. package/dist/pages/DataCollectionVisualizationPage/index.js +494 -0
  634. package/dist/pages/DataCollectionVisualizationPage/index.js.map +1 -0
  635. package/dist/pages/DataCollectionsAdminPage/DataCollectionsAdminPage.d.ts +1 -0
  636. package/dist/pages/DataCollectionsAdminPage/index.d.ts +1 -0
  637. package/dist/pages/DataCollectionsAdminPage/index.js +54 -0
  638. package/dist/pages/DataCollectionsAdminPage/index.js.map +1 -0
  639. package/dist/pages/DimsAdminPage/DimsAdminPage.d.ts +1 -0
  640. package/dist/pages/DimsAdminPage/index.d.ts +1 -0
  641. package/dist/pages/DimsAdminPage/index.js +146 -0
  642. package/dist/pages/DimsAdminPage/index.js.map +1 -0
  643. package/dist/pages/DiseasesAdminPage/DiseasesAdminPage.d.ts +1 -0
  644. package/dist/pages/DiseasesAdminPage/index.d.ts +1 -0
  645. package/dist/pages/DiseasesAdminPage/index.js +57 -0
  646. package/dist/pages/DiseasesAdminPage/index.js.map +1 -0
  647. package/dist/pages/EtiologicalAgentsAdminPage/EtiologicalAgentsAdminPage.d.ts +1 -0
  648. package/dist/pages/EtiologicalAgentsAdminPage/index.d.ts +1 -0
  649. package/dist/pages/EtiologicalAgentsAdminPage/index.js +54 -0
  650. package/dist/pages/EtiologicalAgentsAdminPage/index.js.map +1 -0
  651. package/dist/pages/EtiologiesAdminPage/EtiologiesAdminPage.d.ts +1 -0
  652. package/dist/pages/EtiologiesAdminPage/index.d.ts +1 -0
  653. package/dist/pages/EtiologiesAdminPage/index.js +76 -0
  654. package/dist/pages/EtiologiesAdminPage/index.js.map +1 -0
  655. package/dist/pages/EventsDetailPage/EventsDetailPage.d.ts +1 -0
  656. package/dist/pages/EventsDetailPage/index.d.ts +1 -0
  657. package/dist/pages/EventsDetailPage/index.js +56 -0
  658. package/dist/pages/EventsDetailPage/index.js.map +1 -0
  659. package/dist/pages/EventsPage/EventsPage.d.ts +1 -0
  660. package/dist/pages/EventsPage/index.d.ts +1 -0
  661. package/dist/pages/EventsPage/index.js +221 -0
  662. package/dist/pages/EventsPage/index.js.map +1 -0
  663. package/dist/pages/HomePage/HomePage.d.ts +1 -0
  664. package/dist/pages/HomePage/index.d.ts +1 -0
  665. package/dist/pages/HomePage/index.js +35 -0
  666. package/dist/pages/HomePage/index.js.map +1 -0
  667. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/OrganizationAccessCasePoliciesAdminPage.d.ts +1 -0
  668. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.d.ts +1 -0
  669. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js +216 -0
  670. package/dist/pages/OrganizationAccessCasePoliciesAdminPage/index.js.map +1 -0
  671. package/dist/pages/OrganizationShareCasePoliciesAdminPage/OrganizationShareCasePoliciesAdminPage.d.ts +1 -0
  672. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.d.ts +1 -0
  673. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js +170 -0
  674. package/dist/pages/OrganizationShareCasePoliciesAdminPage/index.js.map +1 -0
  675. package/dist/pages/RefColsAdminPage/RefColsAdminPage.d.ts +1 -0
  676. package/dist/pages/RefColsAdminPage/index.d.ts +1 -0
  677. package/dist/pages/RefColsAdminPage/index.js +302 -0
  678. package/dist/pages/RefColsAdminPage/index.js.map +1 -0
  679. package/dist/pages/RefDimsAdminPage/RefDimsAdminPage.d.ts +1 -0
  680. package/dist/pages/RefDimsAdminPage/index.d.ts +1 -0
  681. package/dist/pages/RefDimsAdminPage/index.js +110 -0
  682. package/dist/pages/RefDimsAdminPage/index.js.map +1 -0
  683. package/dist/pages/RegionRelationsAdminPage/RegionRelationsAdminPage.d.ts +1 -0
  684. package/dist/pages/RegionRelationsAdminPage/index.d.ts +1 -0
  685. package/dist/pages/RegionRelationsAdminPage/index.js +102 -0
  686. package/dist/pages/RegionRelationsAdminPage/index.js.map +1 -0
  687. package/dist/pages/RegionSetShapesAdminPage/RegionSetShapesAdminPage.d.ts +1 -0
  688. package/dist/pages/RegionSetShapesAdminPage/index.d.ts +1 -0
  689. package/dist/pages/RegionSetShapesAdminPage/index.js +73 -0
  690. package/dist/pages/RegionSetShapesAdminPage/index.js.map +1 -0
  691. package/dist/pages/RegionSetsAdminPage/RegionSetsAdminPage.d.ts +1 -0
  692. package/dist/pages/RegionSetsAdminPage/index.d.ts +1 -0
  693. package/dist/pages/RegionSetsAdminPage/index.js +101 -0
  694. package/dist/pages/RegionSetsAdminPage/index.js.map +1 -0
  695. package/dist/pages/RegionsAdminPage/RegionsAdminPage.d.ts +1 -0
  696. package/dist/pages/RegionsAdminPage/index.d.ts +1 -0
  697. package/dist/pages/RegionsAdminPage/index.js +99 -0
  698. package/dist/pages/RegionsAdminPage/index.js.map +1 -0
  699. package/dist/pages/TrendsPage/TrendsPage.d.ts +1 -0
  700. package/dist/pages/TrendsPage/index.d.ts +1 -0
  701. package/dist/pages/TrendsPage/index.js +17 -0
  702. package/dist/pages/TrendsPage/index.js.map +1 -0
  703. package/dist/pages/UploadPage/UploadPage.d.ts +1 -0
  704. package/dist/pages/UploadPage/index.d.ts +1 -0
  705. package/dist/pages/UploadPage/index.js +31 -0
  706. package/dist/pages/UploadPage/index.js.map +1 -0
  707. package/dist/pages/UserAccessCasePoliciesAdminPage/UserAccessCasePoliciesAdminPage.d.ts +1 -0
  708. package/dist/pages/UserAccessCasePoliciesAdminPage/index.d.ts +1 -0
  709. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js +206 -0
  710. package/dist/pages/UserAccessCasePoliciesAdminPage/index.js.map +1 -0
  711. package/dist/pages/UserEffectiveRightsAdminPage/UserEffectiveRightsAdminPage.d.ts +1 -0
  712. package/dist/pages/UserEffectiveRightsAdminPage/index.d.ts +1 -0
  713. package/dist/pages/UserEffectiveRightsAdminPage/index.js +246 -0
  714. package/dist/pages/UserEffectiveRightsAdminPage/index.js.map +1 -0
  715. package/dist/pages/UserEffectiveRightsTesterAdminPage/UserEffectiveRightsTesterAdminPage.d.ts +1 -0
  716. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.d.ts +1 -0
  717. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js +195 -0
  718. package/dist/pages/UserEffectiveRightsTesterAdminPage/index.js.map +1 -0
  719. package/dist/pages/UserShareCasePoliciesAdminPage/UserShareCasePoliciesAdminPage.d.ts +1 -0
  720. package/dist/pages/UserShareCasePoliciesAdminPage/index.d.ts +1 -0
  721. package/dist/pages/UserShareCasePoliciesAdminPage/index.js +169 -0
  722. package/dist/pages/UserShareCasePoliciesAdminPage/index.js.map +1 -0
  723. package/dist/routes/adminRoutes.d.ts +6 -0
  724. package/dist/routes/index.d.ts +2 -0
  725. package/dist/routes/index.js +1110 -0
  726. package/dist/routes/index.js.map +1 -0
  727. package/dist/routes/routes.d.ts +6 -0
  728. package/dist/setup/setup.d.ts +1 -0
  729. package/dist/setup/setup.js +28 -0
  730. package/dist/setup/setup.js.map +1 -0
  731. package/dist/stores/dashboardStore/dashboardStore.d.ts +80 -0
  732. package/dist/stores/dashboardStore/dashboardStoreContext.d.ts +3 -0
  733. package/dist/stores/dashboardStore/index.d.ts +2 -0
  734. package/dist/stores/dashboardStore/index.js +2 -0
  735. package/dist/stores/uploadStore/index.d.ts +2 -0
  736. package/dist/stores/uploadStore/index.js +185 -0
  737. package/dist/stores/uploadStore/index.js.map +1 -0
  738. package/dist/stores/uploadStore/uploadStore.d.ts +80 -0
  739. package/dist/stores/uploadStore/uploadStoreContext.d.ts +3 -0
  740. package/dist/stores/userProfileStore/index.d.ts +1 -0
  741. package/dist/stores/userProfileStore/index.js +81 -0
  742. package/dist/stores/userProfileStore/index.js.map +1 -0
  743. package/dist/stores/userProfileStore/userProfileStore.d.ts +38 -0
  744. package/dist/stores/userProfileStore/userProfileStoreContext.d.ts +3 -0
  745. package/dist/theme/demoTheme/demoTheme.d.ts +3 -0
  746. package/dist/theme/demoTheme/index.d.ts +1 -0
  747. package/dist/theme/demoTheme/index.js +20 -0
  748. package/dist/theme/demoTheme/index.js.map +1 -0
  749. package/dist/utils/AbacUtil/AbacUtil.d.ts +7 -0
  750. package/dist/utils/AbacUtil/index.d.ts +1 -0
  751. package/dist/utils/AbacUtil/index.js +31 -0
  752. package/dist/utils/AbacUtil/index.js.map +1 -0
  753. package/dist/utils/CaseDbDataUtil/CaseDbDataUtil.d.ts +31 -0
  754. package/dist/utils/CaseDbDataUtil/index.d.ts +1 -0
  755. package/dist/utils/CaseDbDataUtil/index.js +43 -0
  756. package/dist/utils/CaseDbDataUtil/index.js.map +1 -0
  757. package/dist/utils/CaseDbDownloadUtil/CaseDbDownloadUtil.d.ts +17 -0
  758. package/dist/utils/CaseDbDownloadUtil/index.d.ts +1 -0
  759. package/dist/utils/CaseDbDownloadUtil/index.js +2 -0
  760. package/dist/utils/CaseDbStandardConfigUtil/CaseDbStandardConfigUtil.d.ts +7 -0
  761. package/dist/utils/CaseDbStandardConfigUtil/index.d.ts +1 -0
  762. package/dist/utils/CaseDbStandardConfigUtil/index.js +4778 -0
  763. package/dist/utils/CaseDbStandardConfigUtil/index.js.map +1 -0
  764. package/dist/utils/CaseDbTableUtil/CaseDbTableUtil.d.ts +6 -0
  765. package/dist/utils/CaseDbTableUtil/index.d.ts +1 -0
  766. package/dist/utils/CaseDbTableUtil/index.js +41 -0
  767. package/dist/utils/CaseDbTableUtil/index.js.map +1 -0
  768. package/dist/utils/CaseSelectionUtil/CaseSelectionUtil.d.ts +8 -0
  769. package/dist/utils/CaseSelectionUtil/index.d.ts +1 -0
  770. package/dist/utils/CaseSelectionUtil/index.js +29 -0
  771. package/dist/utils/CaseSelectionUtil/index.js.map +1 -0
  772. package/dist/utils/CaseSetUtil/CaseSetUtil.d.ts +4 -0
  773. package/dist/utils/CaseSetUtil/index.d.ts +1 -0
  774. package/dist/utils/CaseSetUtil/index.js +13 -0
  775. package/dist/utils/CaseSetUtil/index.js.map +1 -0
  776. package/dist/utils/CaseTypeFormUtil/CaseTypeFormUtil.d.ts +20 -0
  777. package/dist/utils/CaseTypeFormUtil/index.d.ts +1 -0
  778. package/dist/utils/CaseTypeFormUtil/index.js +199 -0
  779. package/dist/utils/CaseTypeFormUtil/index.js.map +1 -0
  780. package/dist/utils/CaseTypeUtil/CaseTypeUtil.d.ts +39 -0
  781. package/dist/utils/CaseTypeUtil/index.d.ts +1 -0
  782. package/dist/utils/CaseTypeUtil/index.js +135 -0
  783. package/dist/utils/CaseTypeUtil/index.js.map +1 -0
  784. package/dist/utils/CaseUtil/CaseUtil.d.ts +18 -0
  785. package/dist/utils/CaseUtil/index.d.ts +1 -0
  786. package/dist/utils/CaseUtil/index.js +138 -0
  787. package/dist/utils/CaseUtil/index.js.map +1 -0
  788. package/dist/utils/DashboardUtil/DashboardUtil.d.ts +29 -0
  789. package/dist/utils/DashboardUtil/index.d.ts +1 -0
  790. package/dist/utils/DashboardUtil/index.js +152 -0
  791. package/dist/utils/DashboardUtil/index.js.map +1 -0
  792. package/dist/utils/DataSetUtil/DataSetUtil.d.ts +17 -0
  793. package/dist/utils/DataSetUtil/index.d.ts +1 -0
  794. package/dist/utils/DataSetUtil/index.js +43 -0
  795. package/dist/utils/DataSetUtil/index.js.map +1 -0
  796. package/dist/utils/EffectiveRightsUtil/EffectiveRightsUtil.d.ts +29 -0
  797. package/dist/utils/EffectiveRightsUtil/index.d.ts +1 -0
  798. package/dist/utils/EffectiveRightsUtil/index.js +118 -0
  799. package/dist/utils/EffectiveRightsUtil/index.js.map +1 -0
  800. package/dist/utils/EpiCurveUtil/EpiCurveUtil.d.ts +96 -0
  801. package/dist/utils/EpiCurveUtil/index.d.ts +1 -0
  802. package/dist/utils/EpiCurveUtil/index.js +2 -0
  803. package/dist/utils/FileUtil/FileUtil.d.ts +5 -0
  804. package/dist/utils/FileUtil/index.d.ts +1 -0
  805. package/dist/utils/FileUtil/index.js +15 -0
  806. package/dist/utils/FileUtil/index.js.map +1 -0
  807. package/dist/utils/FilterUtil/FilterUtil.d.ts +11 -0
  808. package/dist/utils/FilterUtil/index.d.ts +1 -0
  809. package/dist/utils/FilterUtil/index.js +2 -0
  810. package/dist/utils/FindSimilarCasesUtil/FindSimilarCasesUtil.d.ts +7 -0
  811. package/dist/utils/FindSimilarCasesUtil/index.d.ts +1 -0
  812. package/dist/utils/FindSimilarCasesUtil/index.js +2 -0
  813. package/dist/utils/HistogramUtil/HistogramUtil.d.ts +78 -0
  814. package/dist/utils/HistogramUtil/index.d.ts +1 -0
  815. package/dist/utils/HistogramUtil/index.js +145 -0
  816. package/dist/utils/HistogramUtil/index.js.map +1 -0
  817. package/dist/utils/MapUtil/MapUtil.d.ts +38 -0
  818. package/dist/utils/MapUtil/index.d.ts +1 -0
  819. package/dist/utils/MapUtil/index.js +210 -0
  820. package/dist/utils/MapUtil/index.js.map +1 -0
  821. package/dist/utils/StratificationUtil/StratificationUtil.d.ts +25 -0
  822. package/dist/utils/StratificationUtil/index.d.ts +1 -0
  823. package/dist/utils/StratificationUtil/index.js +198 -0
  824. package/dist/utils/StratificationUtil/index.js.map +1 -0
  825. package/dist/utils/TreeWidgetUtil/TreeWidgetUtil.d.ts +7 -0
  826. package/dist/utils/TreeWidgetUtil/index.d.ts +1 -0
  827. package/dist/utils/TreeWidgetUtil/index.js +35 -0
  828. package/dist/utils/TreeWidgetUtil/index.js.map +1 -0
  829. package/dist/utils/UploadUtil/UploadUtil.d.ts +106 -0
  830. package/dist/utils/UploadUtil/index.d.ts +1 -0
  831. package/dist/utils/UploadUtil/index.js +2 -0
  832. package/package.json +784 -0
@@ -0,0 +1,1327 @@
1
+ import * as e from "react";
2
+ //#region ../../node_modules/.pnpm/react-router@7.18.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-router/dist/development/chunk-KS7C4IRE.mjs
3
+ var t = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, n = /^[\\/]{2}/;
4
+ function r(e, t) {
5
+ return t + e.replace(/\\/g, "/");
6
+ }
7
+ function i(e, t) {
8
+ if (e === !1 || e == null) throw Error(t);
9
+ }
10
+ function a(e, t) {
11
+ if (!e) {
12
+ typeof console < "u" && console.warn(t);
13
+ try {
14
+ throw Error(t);
15
+ } catch {}
16
+ }
17
+ }
18
+ function o({ pathname: e = "/", search: t = "", hash: n = "" }) {
19
+ return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
20
+ }
21
+ function s(e) {
22
+ let t = {};
23
+ if (e) {
24
+ let n = e.indexOf("#");
25
+ n >= 0 && (t.hash = e.substring(n), e = e.substring(0, n));
26
+ let r = e.indexOf("?");
27
+ r >= 0 && (t.search = e.substring(r), e = e.substring(0, r)), e && (t.pathname = e);
28
+ }
29
+ return t;
30
+ }
31
+ function c(e, t, n = "/") {
32
+ return l(e, t, n, !1);
33
+ }
34
+ function l(e, t, n, r, i) {
35
+ let a = D((typeof t == "string" ? s(t) : t).pathname || "/", n);
36
+ if (a == null) return null;
37
+ let o = i ?? d(e), c = null, l = te(a);
38
+ for (let e = 0; c == null && e < o.length; ++e) c = w(o[e], l, r);
39
+ return c;
40
+ }
41
+ function u(e, t) {
42
+ let { route: n, pathname: r, params: i } = e;
43
+ return {
44
+ id: n.id,
45
+ pathname: r,
46
+ params: i,
47
+ data: t[n.id],
48
+ loaderData: t[n.id],
49
+ handle: n.handle
50
+ };
51
+ }
52
+ function d(e) {
53
+ let t = f(e);
54
+ return m(t), t;
55
+ }
56
+ function f(e, t = [], n = [], r = "", a = !1) {
57
+ let o = (e, o, s = a, c) => {
58
+ let l = {
59
+ relativePath: c === void 0 ? e.path || "" : c,
60
+ caseSensitive: e.caseSensitive === !0,
61
+ childrenIndex: o,
62
+ route: e
63
+ };
64
+ if (l.relativePath.startsWith("/")) {
65
+ if (!l.relativePath.startsWith(r) && s) return;
66
+ i(l.relativePath.startsWith(r), `Absolute route path "${l.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), l.relativePath = l.relativePath.slice(r.length);
67
+ }
68
+ let u = A([r, l.relativePath]), d = n.concat(l);
69
+ e.children && e.children.length > 0 && (i(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${u}".`), f(e.children, t, d, u, s)), !(e.path == null && !e.index) && t.push({
70
+ path: u,
71
+ score: S(u, e.index),
72
+ routesMeta: d.map((e, t) => {
73
+ let [n, r] = ee(e.relativePath, e.caseSensitive, t === d.length - 1);
74
+ return {
75
+ ...e,
76
+ matcher: n,
77
+ compiledParams: r
78
+ };
79
+ })
80
+ });
81
+ };
82
+ return e.forEach((e, t) => {
83
+ if (e.path === "" || !e.path?.includes("?")) o(e, t);
84
+ else for (let n of p(e.path)) o(e, t, !0, n);
85
+ }), t;
86
+ }
87
+ function p(e) {
88
+ let t = e.split("/");
89
+ if (t.length === 0) return [];
90
+ let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
91
+ if (r.length === 0) return i ? [a, ""] : [a];
92
+ let o = p(r.join("/")), s = [];
93
+ return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
94
+ }
95
+ function m(e) {
96
+ e.sort((e, t) => e.score === t.score ? C(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
97
+ }
98
+ var h = /^:[\w-]+$/, g = 3, _ = 2, v = 1, y = 10, b = -2, x = (e) => e === "*";
99
+ function S(e, t) {
100
+ let n = e.split("/"), r = n.length;
101
+ return n.some(x) && (r += b), t && (r += _), n.filter((e) => !x(e)).reduce((e, t) => e + (h.test(t) ? g : t === "" ? v : y), r);
102
+ }
103
+ function C(e, t) {
104
+ return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
105
+ }
106
+ function w(e, t, n = !1) {
107
+ let { routesMeta: r } = e, i = {}, a = "/", o = [];
108
+ for (let e = 0; e < r.length; ++e) {
109
+ let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
110
+ path: s.relativePath,
111
+ caseSensitive: s.caseSensitive,
112
+ end: c
113
+ }, d = s.matcher && s.compiledParams ? E(u, l, s.matcher, s.compiledParams) : T(u, l), f = s.route;
114
+ if (!d && c && n && !r[r.length - 1].route.index && (d = T({
115
+ path: s.relativePath,
116
+ caseSensitive: s.caseSensitive,
117
+ end: !1
118
+ }, l)), !d) return null;
119
+ Object.assign(i, d.params), o.push({
120
+ params: i,
121
+ pathname: A([a, d.pathname]),
122
+ pathnameBase: se(A([a, d.pathnameBase])),
123
+ route: f
124
+ }), d.pathnameBase !== "/" && (a = A([a, d.pathnameBase]));
125
+ }
126
+ return o;
127
+ }
128
+ function T(e, t) {
129
+ typeof e == "string" && (e = {
130
+ path: e,
131
+ caseSensitive: !1,
132
+ end: !0
133
+ });
134
+ let [n, r] = ee(e.path, e.caseSensitive, e.end);
135
+ return E(e, t, n, r);
136
+ }
137
+ function E(e, t, n, r) {
138
+ let i = t.match(n);
139
+ if (!i) return null;
140
+ let a = i[0], o = a.replace(/(.)\/+$/, "$1"), s = i.slice(1);
141
+ return {
142
+ params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
143
+ if (t === "*") {
144
+ let e = s[r] || "";
145
+ o = a.slice(0, a.length - e.length).replace(/(.)\/+$/, "$1");
146
+ }
147
+ let i = s[r];
148
+ return n && !i ? e[t] = void 0 : e[t] = (i || "").replace(/%2F/g, "/"), e;
149
+ }, {}),
150
+ pathname: a,
151
+ pathnameBase: o,
152
+ pattern: e
153
+ };
154
+ }
155
+ function ee(e, t = !1, n = !0) {
156
+ a(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(/\*$/, "/*")}".`);
157
+ let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
158
+ if (r.push({
159
+ paramName: t,
160
+ isOptional: n != null
161
+ }), n) {
162
+ let t = a.charAt(i + e.length);
163
+ return t && t !== "/" ? "/([^\\/]*)" : "(?:/([^\\/]*))?";
164
+ }
165
+ return "/([^\\/]+)";
166
+ }).replace(/\/([\w-]+)\?(\/|$)/g, "(/$1)?$2");
167
+ return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
168
+ }
169
+ function te(e) {
170
+ try {
171
+ return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
172
+ } catch (t) {
173
+ return a(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
174
+ }
175
+ }
176
+ function D(e, t) {
177
+ if (t === "/") return e;
178
+ if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
179
+ let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
180
+ return r && r !== "/" ? null : e.slice(n) || "/";
181
+ }
182
+ function ne(e, t = "/") {
183
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? s(e) : e, a;
184
+ return n ? (n = oe(n), a = n.startsWith("/") ? O(n.substring(1), "/") : O(n, t)) : a = t, {
185
+ pathname: a,
186
+ search: ce(r),
187
+ hash: le(i)
188
+ };
189
+ }
190
+ function O(e, t) {
191
+ let n = j(t).split("/");
192
+ return e.split("/").forEach((e) => {
193
+ e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
194
+ }), n.length > 1 ? n.join("/") : "/";
195
+ }
196
+ function re(e, t, n, r) {
197
+ return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
198
+ }
199
+ function ie(e) {
200
+ return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
201
+ }
202
+ function ae(e) {
203
+ let t = ie(e);
204
+ return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
205
+ }
206
+ function k(e, t, n, r = !1) {
207
+ let a;
208
+ typeof e == "string" ? a = s(e) : (a = { ...e }, i(!a.pathname || !a.pathname.includes("?"), re("?", "pathname", "search", a)), i(!a.pathname || !a.pathname.includes("#"), re("#", "pathname", "hash", a)), i(!a.search || !a.search.includes("#"), re("#", "search", "hash", a)));
209
+ let o = e === "" || a.pathname === "", c = o ? "/" : a.pathname, l;
210
+ if (c == null) l = n;
211
+ else {
212
+ let e = t.length - 1;
213
+ if (!r && c.startsWith("..")) {
214
+ let t = c.split("/");
215
+ for (; t[0] === "..";) t.shift(), --e;
216
+ a.pathname = t.join("/");
217
+ }
218
+ l = e >= 0 ? t[e] : "/";
219
+ }
220
+ let u = ne(a, l), d = c && c !== "/" && c.endsWith("/"), f = (o || c === ".") && n.endsWith("/");
221
+ return !u.pathname.endsWith("/") && (d || f) && (u.pathname += "/"), u;
222
+ }
223
+ var oe = (e) => e.replace(/[\\/]{2,}/g, "/"), A = (e) => oe(e.join("/")), j = (e) => e.replace(/\/+$/, ""), se = (e) => j(e).replace(/^\/*/, "/"), ce = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, le = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, ue = class {
224
+ constructor(e, t, n, r = !1) {
225
+ this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
226
+ }
227
+ };
228
+ function de(e) {
229
+ return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
230
+ }
231
+ function fe(e) {
232
+ return A(e.map((e) => e.route.path).filter(Boolean)) || "/";
233
+ }
234
+ var pe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
235
+ function me(e, i) {
236
+ let o = e;
237
+ if (typeof o != "string" || !t.test(o)) return {
238
+ absoluteURL: void 0,
239
+ isExternal: !1,
240
+ to: o
241
+ };
242
+ let s = o, c = !1;
243
+ if (pe) try {
244
+ let e = new URL(window.location.href), t = n.test(o) ? new URL(r(o, e.protocol)) : new URL(o), a = D(t.pathname, i);
245
+ t.origin === e.origin && a != null ? o = a + t.search + t.hash : c = !0;
246
+ } catch {
247
+ a(!1, `<Link to="${o}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
248
+ }
249
+ return {
250
+ absoluteURL: s,
251
+ isExternal: c,
252
+ to: o
253
+ };
254
+ }
255
+ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
256
+ var he = [
257
+ "POST",
258
+ "PUT",
259
+ "PATCH",
260
+ "DELETE"
261
+ ];
262
+ new Set(he);
263
+ var ge = ["GET", ...he];
264
+ new Set(ge);
265
+ var _e = [
266
+ "about:",
267
+ "blob:",
268
+ "chrome:",
269
+ "chrome-untrusted:",
270
+ "content:",
271
+ "data:",
272
+ "devtools:",
273
+ "file:",
274
+ "filesystem:",
275
+ "javascript:"
276
+ ];
277
+ function ve(e) {
278
+ try {
279
+ return _e.includes(new URL(e).protocol);
280
+ } catch {
281
+ return !1;
282
+ }
283
+ }
284
+ var M = e.createContext(null);
285
+ M.displayName = "DataRouter";
286
+ var N = e.createContext(null);
287
+ N.displayName = "DataRouterState";
288
+ var ye = e.createContext(!1);
289
+ function be() {
290
+ return e.useContext(ye);
291
+ }
292
+ var xe = e.createContext({ isTransitioning: !1 });
293
+ xe.displayName = "ViewTransition";
294
+ var Se = e.createContext(/* @__PURE__ */ new Map());
295
+ Se.displayName = "Fetchers";
296
+ var Ce = e.createContext(null);
297
+ Ce.displayName = "Await";
298
+ var P = e.createContext(null);
299
+ P.displayName = "Navigation";
300
+ var F = e.createContext(null);
301
+ F.displayName = "Location";
302
+ var I = e.createContext({
303
+ outlet: null,
304
+ matches: [],
305
+ isDataRoute: !1
306
+ });
307
+ I.displayName = "Route";
308
+ var we = e.createContext(null);
309
+ we.displayName = "RouteError";
310
+ var Te = "REACT_ROUTER_ERROR", Ee = "REDIRECT", De = "ROUTE_ERROR_RESPONSE";
311
+ function Oe(e) {
312
+ if (e.startsWith(`${Te}:${Ee}:{`)) try {
313
+ let t = JSON.parse(e.slice(28));
314
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
315
+ } catch {}
316
+ }
317
+ function ke(e) {
318
+ if (e.startsWith(`${Te}:${De}:{`)) try {
319
+ let t = JSON.parse(e.slice(40));
320
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new ue(t.status, t.statusText, t.data);
321
+ } catch {}
322
+ }
323
+ function Ae(t, { relative: n } = {}) {
324
+ i(L(), "useHref() may be used only in the context of a <Router> component.");
325
+ let { basename: r, navigator: a } = e.useContext(P), { hash: o, pathname: s, search: c } = z(t, { relative: n }), l = s;
326
+ return r !== "/" && (l = s === "/" ? r : A([r, s])), a.createHref({
327
+ pathname: l,
328
+ search: c,
329
+ hash: o
330
+ });
331
+ }
332
+ function L() {
333
+ return e.useContext(F) != null;
334
+ }
335
+ function R() {
336
+ return i(L(), "useLocation() may be used only in the context of a <Router> component."), e.useContext(F).location;
337
+ }
338
+ var je = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
339
+ function Me(t) {
340
+ e.useContext(P).static || e.useLayoutEffect(t);
341
+ }
342
+ function Ne() {
343
+ let { isDataRoute: t } = e.useContext(I);
344
+ return t ? Ye() : Pe();
345
+ }
346
+ function Pe() {
347
+ i(L(), "useNavigate() may be used only in the context of a <Router> component.");
348
+ let t = e.useContext(M), { basename: n, navigator: r } = e.useContext(P), { matches: o } = e.useContext(I), { pathname: s } = R(), c = JSON.stringify(ae(o)), l = e.useRef(!1);
349
+ return Me(() => {
350
+ l.current = !0;
351
+ }), e.useCallback((e, i = {}) => {
352
+ if (a(l.current, je), !l.current) return;
353
+ if (typeof e == "number") {
354
+ r.go(e);
355
+ return;
356
+ }
357
+ let o = k(e, JSON.parse(c), s, i.relative === "path");
358
+ t == null && n !== "/" && (o.pathname = o.pathname === "/" ? n : A([n, o.pathname])), (i.replace ? r.replace : r.push)(o, i.state, i);
359
+ }, [
360
+ n,
361
+ r,
362
+ c,
363
+ s,
364
+ t
365
+ ]);
366
+ }
367
+ e.createContext(null);
368
+ function Fe() {
369
+ let { matches: t } = e.useContext(I);
370
+ return t[t.length - 1]?.params ?? {};
371
+ }
372
+ function z(t, { relative: n } = {}) {
373
+ let { matches: r } = e.useContext(I), { pathname: i } = R(), a = JSON.stringify(ae(r));
374
+ return e.useMemo(() => k(t, JSON.parse(a), i, n === "path"), [
375
+ t,
376
+ a,
377
+ i,
378
+ n
379
+ ]);
380
+ }
381
+ function Ie(t, n, r) {
382
+ i(L(), "useRoutes() may be used only in the context of a <Router> component.");
383
+ let { navigator: o } = e.useContext(P), { matches: l } = e.useContext(I), u = l[l.length - 1], d = u ? u.params : {}, f = u ? u.pathname : "/", p = u ? u.pathnameBase : "/", m = u && u.route;
384
+ {
385
+ let e = m && m.path || "";
386
+ Ze(f, !m || e.endsWith("*") || e.endsWith("*?"), `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
387
+
388
+ Please change the parent <Route path="${e}"> to <Route path="${e === "/" ? "*" : `${e}/*`}">.`);
389
+ }
390
+ let h = R(), g;
391
+ if (n) {
392
+ let e = typeof n == "string" ? s(n) : n;
393
+ i(p === "/" || e.pathname?.startsWith(p), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${e.pathname}" was given in the \`location\` prop.`), g = e;
394
+ } else g = h;
395
+ let _ = g.pathname || "/", v = _;
396
+ if (p !== "/") {
397
+ let e = p.replace(/^\//, "").split("/");
398
+ v = "/" + _.replace(/^\//, "").split("/").slice(e.length).join("/");
399
+ }
400
+ let y = r && r.state.matches.length ? r.state.matches.map((e) => Object.assign(e, { route: r.manifest[e.route.id] || e.route })) : c(t, { pathname: v });
401
+ a(m || y != null, `No routes matched location "${g.pathname}${g.search}${g.hash}" `), a(y == null || y[y.length - 1].route.element !== void 0 || y[y.length - 1].route.Component !== void 0 || y[y.length - 1].route.lazy !== void 0, `Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);
402
+ let b = He(y && y.map((e) => Object.assign({}, e, {
403
+ params: Object.assign({}, d, e.params),
404
+ pathname: A([p, o.encodeLocation ? o.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
405
+ pathnameBase: e.pathnameBase === "/" ? p : A([p, o.encodeLocation ? o.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
406
+ })), l, r);
407
+ return n && b ? /* @__PURE__ */ e.createElement(F.Provider, { value: {
408
+ location: {
409
+ pathname: "/",
410
+ search: "",
411
+ hash: "",
412
+ state: null,
413
+ key: "default",
414
+ mask: void 0,
415
+ ...g
416
+ },
417
+ navigationType: "POP"
418
+ } }, b) : b;
419
+ }
420
+ function Le() {
421
+ let t = Je(), n = de(t) ? `${t.status} ${t.statusText}` : t instanceof Error ? t.message : JSON.stringify(t), r = t instanceof Error ? t.stack : null, i = "rgba(200,200,200, 0.5)", a = {
422
+ padding: "0.5rem",
423
+ backgroundColor: i
424
+ }, o = {
425
+ padding: "2px 4px",
426
+ backgroundColor: i
427
+ }, s = null;
428
+ return console.error("Error handled by React Router default ErrorBoundary:", t), s = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ e.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ e.createElement("code", { style: o }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ e.createElement("code", { style: o }, "errorElement"), " prop on your route.")), /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ e.createElement("h3", { style: { fontStyle: "italic" } }, n), r ? /* @__PURE__ */ e.createElement("pre", { style: a }, r) : null, s);
429
+ }
430
+ var Re = /* @__PURE__ */ e.createElement(Le, null), ze = class extends e.Component {
431
+ constructor(e) {
432
+ super(e), this.state = {
433
+ location: e.location,
434
+ revalidation: e.revalidation,
435
+ error: e.error
436
+ };
437
+ }
438
+ static getDerivedStateFromError(e) {
439
+ return { error: e };
440
+ }
441
+ static getDerivedStateFromProps(e, t) {
442
+ return t.location !== e.location || t.revalidation !== "idle" && e.revalidation === "idle" ? {
443
+ error: e.error,
444
+ location: e.location,
445
+ revalidation: e.revalidation
446
+ } : {
447
+ error: e.error === void 0 ? t.error : e.error,
448
+ location: t.location,
449
+ revalidation: e.revalidation || t.revalidation
450
+ };
451
+ }
452
+ componentDidCatch(e, t) {
453
+ this.props.onError ? this.props.onError(e, t) : console.error("React Router caught the following error during render", e);
454
+ }
455
+ render() {
456
+ let t = this.state.error;
457
+ if (this.context && typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
458
+ let e = ke(t.digest);
459
+ e && (t = e);
460
+ }
461
+ let n = t === void 0 ? this.props.children : /* @__PURE__ */ e.createElement(I.Provider, { value: this.props.routeContext }, /* @__PURE__ */ e.createElement(we.Provider, {
462
+ value: t,
463
+ children: this.props.component
464
+ }));
465
+ return this.context ? /* @__PURE__ */ e.createElement(Be, { error: t }, n) : n;
466
+ }
467
+ };
468
+ ze.contextType = ye;
469
+ var B = /* @__PURE__ */ new WeakMap();
470
+ function Be({ children: t, error: n }) {
471
+ let { basename: r } = e.useContext(P);
472
+ if (typeof n == "object" && n && "digest" in n && typeof n.digest == "string") {
473
+ let t = Oe(n.digest);
474
+ if (t) {
475
+ let i = B.get(n);
476
+ if (i) throw i;
477
+ let a = me(t.location, r), o = a.absoluteURL || a.to;
478
+ if (ve(o)) throw Error("Invalid redirect location");
479
+ if (pe && !B.get(n)) if (a.isExternal || t.reloadDocument) window.location.href = o;
480
+ else {
481
+ let e = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: t.replace }));
482
+ throw B.set(n, e), e;
483
+ }
484
+ return /* @__PURE__ */ e.createElement("meta", {
485
+ httpEquiv: "refresh",
486
+ content: `0;url=${o}`
487
+ });
488
+ }
489
+ }
490
+ return t;
491
+ }
492
+ function Ve({ routeContext: t, match: n, children: r }) {
493
+ let i = e.useContext(M);
494
+ return i && i.static && i.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (i.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ e.createElement(I.Provider, { value: t }, r);
495
+ }
496
+ function He(t, n = [], r) {
497
+ let a = r?.state;
498
+ if (t == null) {
499
+ if (!a) return null;
500
+ if (a.errors) t = a.matches;
501
+ else if (n.length === 0 && !a.initialized && a.matches.length > 0) t = a.matches;
502
+ else return null;
503
+ }
504
+ let o = t, s = a?.errors;
505
+ if (s != null) {
506
+ let e = o.findIndex((e) => e.route.id && s?.[e.route.id] !== void 0);
507
+ i(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`), o = o.slice(0, Math.min(o.length, e + 1));
508
+ }
509
+ let c = !1, l = -1;
510
+ if (r && a) {
511
+ c = a.renderFallback;
512
+ for (let e = 0; e < o.length; e++) {
513
+ let t = o[e];
514
+ if ((t.route.HydrateFallback || t.route.hydrateFallbackElement) && (l = e), t.route.id) {
515
+ let { loaderData: e, errors: n } = a, i = t.route.loader && !e.hasOwnProperty(t.route.id) && (!n || n[t.route.id] === void 0);
516
+ if (t.route.lazy || i) {
517
+ r.isStatic && (c = !0), o = l >= 0 ? o.slice(0, l + 1) : [o[0]];
518
+ break;
519
+ }
520
+ }
521
+ }
522
+ }
523
+ let u = r?.onError, d = a && u ? (e, t) => {
524
+ u(e, {
525
+ location: a.location,
526
+ params: a.matches?.[0]?.params ?? {},
527
+ pattern: fe(a.matches),
528
+ errorInfo: t
529
+ });
530
+ } : void 0;
531
+ return o.reduceRight((t, r, i) => {
532
+ let u, f = !1, p = null, m = null;
533
+ a && (u = s && r.route.id ? s[r.route.id] : void 0, p = r.route.errorElement || Re, c && (l < 0 && i === 0 ? (Ze("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), f = !0, m = null) : l === i && (f = !0, m = r.route.hydrateFallbackElement || null)));
534
+ let h = n.concat(o.slice(0, i + 1)), g = () => {
535
+ let n;
536
+ return n = u ? p : f ? m : r.route.Component ? /* @__PURE__ */ e.createElement(r.route.Component, null) : r.route.element ? r.route.element : t, /* @__PURE__ */ e.createElement(Ve, {
537
+ match: r,
538
+ routeContext: {
539
+ outlet: t,
540
+ matches: h,
541
+ isDataRoute: a != null
542
+ },
543
+ children: n
544
+ });
545
+ };
546
+ return a && (r.route.ErrorBoundary || r.route.errorElement || i === 0) ? /* @__PURE__ */ e.createElement(ze, {
547
+ location: a.location,
548
+ revalidation: a.revalidation,
549
+ component: p,
550
+ error: u,
551
+ children: g(),
552
+ routeContext: {
553
+ outlet: null,
554
+ matches: h,
555
+ isDataRoute: !0
556
+ },
557
+ onError: d
558
+ }) : g();
559
+ }, null);
560
+ }
561
+ function V(e) {
562
+ return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
563
+ }
564
+ function Ue(t) {
565
+ let n = e.useContext(M);
566
+ return i(n, V(t)), n;
567
+ }
568
+ function H(t) {
569
+ let n = e.useContext(N);
570
+ return i(n, V(t)), n;
571
+ }
572
+ function We(t) {
573
+ let n = e.useContext(I);
574
+ return i(n, V(t)), n;
575
+ }
576
+ function U(e) {
577
+ let t = We(e), n = t.matches[t.matches.length - 1];
578
+ return i(n.route.id, `${e} can only be used on routes that contain a unique "id"`), n.route.id;
579
+ }
580
+ function Ge() {
581
+ return U("useRouteId");
582
+ }
583
+ function Ke() {
584
+ let t = H("useNavigation");
585
+ return e.useMemo(() => {
586
+ let { matches: e, historyAction: n, ...r } = t.navigation;
587
+ return r;
588
+ }, [t.navigation]);
589
+ }
590
+ function qe() {
591
+ let { matches: t, loaderData: n } = H("useMatches");
592
+ return e.useMemo(() => t.map((e) => u(e, n)), [t, n]);
593
+ }
594
+ function Je() {
595
+ let t = e.useContext(we), n = H("useRouteError"), r = U("useRouteError");
596
+ return t === void 0 ? n.errors?.[r] : t;
597
+ }
598
+ function Ye() {
599
+ let { router: t } = Ue("useNavigate"), n = U("useNavigate"), r = e.useRef(!1);
600
+ return Me(() => {
601
+ r.current = !0;
602
+ }), e.useCallback(async (e, i = {}) => {
603
+ a(r.current, je), r.current && (typeof e == "number" ? await t.navigate(e) : await t.navigate(e, {
604
+ fromRouteId: n,
605
+ ...i
606
+ }));
607
+ }, [t, n]);
608
+ }
609
+ var Xe = {};
610
+ function Ze(e, t, n) {
611
+ !t && !Xe[e] && (Xe[e] = !0, a(!1, n));
612
+ }
613
+ e.memo(Qe);
614
+ function Qe({ routes: e, manifest: t, future: n, state: r, isStatic: i, onError: a }) {
615
+ return Ie(e, void 0, {
616
+ manifest: t,
617
+ state: r,
618
+ isStatic: i,
619
+ onError: a,
620
+ future: n
621
+ });
622
+ }
623
+ function $e({ basename: t = "/", children: n = null, location: r, navigationType: o = "POP", navigator: c, static: l = !1, useTransitions: u }) {
624
+ i(!L(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
625
+ let d = t.replace(/^\/*/, "/"), f = e.useMemo(() => ({
626
+ basename: d,
627
+ navigator: c,
628
+ static: l,
629
+ useTransitions: u,
630
+ future: {}
631
+ }), [
632
+ d,
633
+ c,
634
+ l,
635
+ u
636
+ ]);
637
+ typeof r == "string" && (r = s(r));
638
+ let { pathname: p = "/", search: m = "", hash: h = "", state: g = null, key: _ = "default", mask: v } = r, y = e.useMemo(() => {
639
+ let e = D(p, d);
640
+ return e == null ? null : {
641
+ location: {
642
+ pathname: e,
643
+ search: m,
644
+ hash: h,
645
+ state: g,
646
+ key: _,
647
+ mask: v
648
+ },
649
+ navigationType: o
650
+ };
651
+ }, [
652
+ d,
653
+ p,
654
+ m,
655
+ h,
656
+ g,
657
+ _,
658
+ o,
659
+ v
660
+ ]);
661
+ return a(y != null, `<Router basename="${d}"> is not able to match the URL "${p}${m}${h}" because it does not start with the basename, so the <Router> won't render anything.`), y == null ? null : /* @__PURE__ */ e.createElement(P.Provider, { value: f }, /* @__PURE__ */ e.createElement(F.Provider, {
662
+ children: n,
663
+ value: y
664
+ }));
665
+ }
666
+ e.Component;
667
+ var W = "get", G = "application/x-www-form-urlencoded";
668
+ function K(e) {
669
+ return typeof HTMLElement < "u" && e instanceof HTMLElement;
670
+ }
671
+ function et(e) {
672
+ return K(e) && e.tagName.toLowerCase() === "button";
673
+ }
674
+ function tt(e) {
675
+ return K(e) && e.tagName.toLowerCase() === "form";
676
+ }
677
+ function nt(e) {
678
+ return K(e) && e.tagName.toLowerCase() === "input";
679
+ }
680
+ function rt(e) {
681
+ return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
682
+ }
683
+ function it(e, t) {
684
+ return e.button === 0 && (!t || t === "_self") && !rt(e);
685
+ }
686
+ var q = null;
687
+ function at() {
688
+ if (q === null) try {
689
+ new FormData(document.createElement("form"), 0), q = !1;
690
+ } catch {
691
+ q = !0;
692
+ }
693
+ return q;
694
+ }
695
+ var ot = /* @__PURE__ */ new Set([
696
+ "application/x-www-form-urlencoded",
697
+ "multipart/form-data",
698
+ "text/plain"
699
+ ]);
700
+ function st(e) {
701
+ return e != null && !ot.has(e) ? (a(!1, `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${G}"`), null) : e;
702
+ }
703
+ function ct(e, t) {
704
+ let n, r, i, a, o;
705
+ if (tt(e)) {
706
+ let o = e.getAttribute("action");
707
+ r = o ? D(o, t) : null, n = e.getAttribute("method") || W, i = st(e.getAttribute("enctype")) || G, a = new FormData(e);
708
+ } else if (et(e) || nt(e) && (e.type === "submit" || e.type === "image")) {
709
+ let o = e.form;
710
+ if (o == null) throw Error("Cannot submit a <button> or <input type=\"submit\"> without a <form>");
711
+ let s = e.getAttribute("formaction") || o.getAttribute("action");
712
+ if (r = s ? D(s, t) : null, n = e.getAttribute("formmethod") || o.getAttribute("method") || W, i = st(e.getAttribute("formenctype")) || st(o.getAttribute("enctype")) || G, a = new FormData(o, e), !at()) {
713
+ let { name: t, type: n, value: r } = e;
714
+ if (n === "image") {
715
+ let e = t ? `${t}.` : "";
716
+ a.append(`${e}x`, "0"), a.append(`${e}y`, "0");
717
+ } else t && a.append(t, r);
718
+ }
719
+ } else if (K(e)) throw Error("Cannot submit element that is not <form>, <button>, or <input type=\"submit|image\">");
720
+ else n = W, r = null, i = G, o = e;
721
+ return a && i === "text/plain" && (o = a, a = void 0), {
722
+ action: r,
723
+ method: n.toLowerCase(),
724
+ encType: i,
725
+ formData: a,
726
+ body: o
727
+ };
728
+ }
729
+ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
730
+ var lt = {
731
+ "&": "\\u0026",
732
+ ">": "\\u003e",
733
+ "<": "\\u003c",
734
+ "\u2028": "\\u2028",
735
+ "\u2029": "\\u2029"
736
+ }, ut = /[&><\u2028\u2029]/g;
737
+ function dt(e) {
738
+ return e.replace(ut, (e) => lt[e]);
739
+ }
740
+ function ft(e, t) {
741
+ if (e === !1 || e == null) throw Error(t);
742
+ }
743
+ function pt(e, t, n, r) {
744
+ let i = typeof e == "string" ? new URL(e, typeof window > "u" ? "server://singlefetch/" : window.location.origin) : e;
745
+ return n ? i.pathname.endsWith("/") ? i.pathname = `${i.pathname}_.${r}` : i.pathname = `${i.pathname}.${r}` : i.pathname === "/" ? i.pathname = `_root.${r}` : t && D(i.pathname, t) === "/" ? i.pathname = `${j(t)}/_root.${r}` : i.pathname = `${j(i.pathname)}.${r}`, i;
746
+ }
747
+ async function mt(e, t) {
748
+ if (e.id in t) return t[e.id];
749
+ try {
750
+ let n = await import(
751
+ /* @vite-ignore */
752
+ /* webpackIgnore: true */
753
+ e.module
754
+ );
755
+ return t[e.id] = n, n;
756
+ } catch (t) {
757
+ return console.error(`Error loading route module \`${e.module}\`, reloading page...`), console.error(t), window.__reactRouterContext && window.__reactRouterContext.isSpaMode, window.location.reload(), new Promise(() => {});
758
+ }
759
+ }
760
+ function ht(e) {
761
+ return e != null && typeof e.page == "string";
762
+ }
763
+ function gt(e) {
764
+ return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
765
+ }
766
+ async function _t(e, t, n) {
767
+ return St((await Promise.all(e.map(async (e) => {
768
+ let r = t.routes[e.route.id];
769
+ if (r) {
770
+ let e = await mt(r, n);
771
+ return e.links ? e.links() : [];
772
+ }
773
+ return [];
774
+ }))).flat(1).filter(gt).filter((e) => e.rel === "stylesheet" || e.rel === "preload").map((e) => e.rel === "stylesheet" ? {
775
+ ...e,
776
+ rel: "prefetch",
777
+ as: "style"
778
+ } : {
779
+ ...e,
780
+ rel: "prefetch"
781
+ }));
782
+ }
783
+ function vt(e, t, n, r, i, a) {
784
+ let o = (e, t) => n[t] ? e.route.id !== n[t].route.id : !0, s = (e, t) => n[t].pathname !== e.pathname || n[t].route.path?.endsWith("*") && n[t].params["*"] !== e.params["*"];
785
+ return a === "assets" ? t.filter((e, t) => o(e, t) || s(e, t)) : a === "data" ? t.filter((t, a) => {
786
+ let c = r.routes[t.route.id];
787
+ if (!c || !c.hasLoader) return !1;
788
+ if (o(t, a) || s(t, a)) return !0;
789
+ if (t.route.shouldRevalidate) {
790
+ let r = t.route.shouldRevalidate({
791
+ currentUrl: new URL(i.pathname + i.search + i.hash, window.origin),
792
+ currentParams: n[0]?.params || {},
793
+ nextUrl: new URL(e, window.origin),
794
+ nextParams: t.params,
795
+ defaultShouldRevalidate: !0
796
+ });
797
+ if (typeof r == "boolean") return r;
798
+ }
799
+ return !0;
800
+ }) : [];
801
+ }
802
+ function yt(e, t, { includeHydrateFallback: n } = {}) {
803
+ return bt(e.map((e) => {
804
+ let r = t.routes[e.route.id];
805
+ if (!r) return [];
806
+ let i = [r.module];
807
+ return r.clientActionModule && (i = i.concat(r.clientActionModule)), r.clientLoaderModule && (i = i.concat(r.clientLoaderModule)), n && r.hydrateFallbackModule && (i = i.concat(r.hydrateFallbackModule)), r.imports && (i = i.concat(r.imports)), i;
808
+ }).flat(1));
809
+ }
810
+ function bt(e) {
811
+ return [...new Set(e)];
812
+ }
813
+ function xt(e) {
814
+ let t = {}, n = Object.keys(e).sort();
815
+ for (let r of n) t[r] = e[r];
816
+ return t;
817
+ }
818
+ function St(e, t) {
819
+ let n = /* @__PURE__ */ new Set(), r = new Set(t);
820
+ return e.reduce((e, i) => {
821
+ if (t && !ht(i) && i.as === "script" && i.href && r.has(i.href)) return e;
822
+ let a = JSON.stringify(xt(i));
823
+ return n.has(a) || (n.add(a), e.push({
824
+ key: a,
825
+ link: i
826
+ })), e;
827
+ }, []);
828
+ }
829
+ function J() {
830
+ let t = e.useContext(M);
831
+ return ft(t, "You must render this element inside a <DataRouterContext.Provider> element"), t;
832
+ }
833
+ function Ct() {
834
+ let t = e.useContext(N);
835
+ return ft(t, "You must render this element inside a <DataRouterStateContext.Provider> element"), t;
836
+ }
837
+ var Y = e.createContext(void 0);
838
+ Y.displayName = "FrameworkContext";
839
+ function X() {
840
+ let t = e.useContext(Y);
841
+ return ft(t, "You must render this element inside a <HydratedRouter> element"), t;
842
+ }
843
+ function wt(t, n) {
844
+ let r = e.useContext(Y), [i, a] = e.useState(!1), [o, s] = e.useState(!1), { onFocus: c, onBlur: l, onMouseEnter: u, onMouseLeave: d, onTouchStart: f } = n, p = e.useRef(null);
845
+ e.useEffect(() => {
846
+ if (t === "render" && s(!0), t === "viewport") {
847
+ let e = new IntersectionObserver((e) => {
848
+ e.forEach((e) => {
849
+ s(e.isIntersecting);
850
+ });
851
+ }, { threshold: .5 });
852
+ return p.current && e.observe(p.current), () => {
853
+ e.disconnect();
854
+ };
855
+ }
856
+ }, [t]), e.useEffect(() => {
857
+ if (i) {
858
+ let e = setTimeout(() => {
859
+ s(!0);
860
+ }, 100);
861
+ return () => {
862
+ clearTimeout(e);
863
+ };
864
+ }
865
+ }, [i]);
866
+ let m = () => {
867
+ a(!0);
868
+ }, h = () => {
869
+ a(!1), s(!1);
870
+ };
871
+ return r ? t === "intent" ? [
872
+ o,
873
+ p,
874
+ {
875
+ onFocus: Z(c, m),
876
+ onBlur: Z(l, h),
877
+ onMouseEnter: Z(u, m),
878
+ onMouseLeave: Z(d, h),
879
+ onTouchStart: Z(f, m)
880
+ }
881
+ ] : [
882
+ o,
883
+ p,
884
+ {}
885
+ ] : [
886
+ !1,
887
+ p,
888
+ {}
889
+ ];
890
+ }
891
+ function Z(e, t) {
892
+ return (n) => {
893
+ e && e(n), n.defaultPrevented || t(n);
894
+ };
895
+ }
896
+ function Tt({ page: t, ...n }) {
897
+ let r = be(), { nonce: i } = X(), { router: a } = J(), o = e.useMemo(() => c(a.routes, t, a.basename), [
898
+ a.routes,
899
+ t,
900
+ a.basename
901
+ ]);
902
+ return o ? (n.nonce == null && i && (n = {
903
+ ...n,
904
+ nonce: i
905
+ }), r ? /* @__PURE__ */ e.createElement(Dt, {
906
+ page: t,
907
+ matches: o,
908
+ ...n
909
+ }) : /* @__PURE__ */ e.createElement(Ot, {
910
+ page: t,
911
+ matches: o,
912
+ ...n
913
+ })) : null;
914
+ }
915
+ function Et(t) {
916
+ let { manifest: n, routeModules: r } = X(), [i, a] = e.useState([]);
917
+ return e.useEffect(() => {
918
+ let e = !1;
919
+ return _t(t, n, r).then((t) => {
920
+ e || a(t);
921
+ }), () => {
922
+ e = !0;
923
+ };
924
+ }, [
925
+ t,
926
+ n,
927
+ r
928
+ ]), i;
929
+ }
930
+ function Dt({ page: t, matches: n, ...r }) {
931
+ let i = R(), { future: a } = X(), { basename: o } = J(), s = e.useMemo(() => {
932
+ if (t === i.pathname + i.search + i.hash) return [];
933
+ let e = pt(t, o, a.v8_trailingSlashAwareDataRequests, "rsc"), r = !1, s = [];
934
+ for (let e of n) typeof e.route.shouldRevalidate == "function" ? r = !0 : s.push(e.route.id);
935
+ return r && s.length > 0 && e.searchParams.set("_routes", s.join(",")), [e.pathname + e.search];
936
+ }, [
937
+ o,
938
+ a.v8_trailingSlashAwareDataRequests,
939
+ t,
940
+ i,
941
+ n
942
+ ]);
943
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, s.map((t) => /* @__PURE__ */ e.createElement("link", {
944
+ key: t,
945
+ rel: "prefetch",
946
+ as: "fetch",
947
+ href: t,
948
+ ...r
949
+ })));
950
+ }
951
+ function Ot({ page: t, matches: n, ...r }) {
952
+ let i = R(), { future: a, manifest: o, routeModules: s } = X(), { basename: c } = J(), { loaderData: l, matches: u } = Ct(), d = e.useMemo(() => vt(t, n, u, o, i, "data"), [
953
+ t,
954
+ n,
955
+ u,
956
+ o,
957
+ i
958
+ ]), f = e.useMemo(() => vt(t, n, u, o, i, "assets"), [
959
+ t,
960
+ n,
961
+ u,
962
+ o,
963
+ i
964
+ ]), p = e.useMemo(() => {
965
+ if (t === i.pathname + i.search + i.hash) return [];
966
+ let e = /* @__PURE__ */ new Set(), r = !1;
967
+ if (n.forEach((t) => {
968
+ let n = o.routes[t.route.id];
969
+ !n || !n.hasLoader || (!d.some((e) => e.route.id === t.route.id) && t.route.id in l && s[t.route.id]?.shouldRevalidate || n.hasClientLoader ? r = !0 : e.add(t.route.id));
970
+ }), e.size === 0) return [];
971
+ let u = pt(t, c, a.v8_trailingSlashAwareDataRequests, "data");
972
+ return r && e.size > 0 && u.searchParams.set("_routes", n.filter((t) => e.has(t.route.id)).map((e) => e.route.id).join(",")), [u.pathname + u.search];
973
+ }, [
974
+ c,
975
+ a.v8_trailingSlashAwareDataRequests,
976
+ l,
977
+ i,
978
+ o,
979
+ d,
980
+ n,
981
+ t,
982
+ s
983
+ ]), m = e.useMemo(() => yt(f, o), [f, o]), h = Et(f);
984
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, p.map((t) => /* @__PURE__ */ e.createElement("link", {
985
+ key: t,
986
+ rel: "prefetch",
987
+ as: "fetch",
988
+ href: t,
989
+ ...r
990
+ })), m.map((t) => /* @__PURE__ */ e.createElement("link", {
991
+ key: t,
992
+ rel: "modulepreload",
993
+ href: t,
994
+ ...r
995
+ })), h.map(({ key: t, link: n }) => /* @__PURE__ */ e.createElement("link", {
996
+ key: t,
997
+ nonce: r.nonce,
998
+ ...n,
999
+ crossOrigin: n.crossOrigin ?? r.crossOrigin
1000
+ })));
1001
+ }
1002
+ function kt(...e) {
1003
+ return (t) => {
1004
+ e.forEach((e) => {
1005
+ typeof e == "function" ? e(t) : e != null && (e.current = t);
1006
+ });
1007
+ };
1008
+ }
1009
+ e.Component;
1010
+ var At = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
1011
+ try {
1012
+ At && (window.__reactRouterVersion = "7.18.1");
1013
+ } catch {}
1014
+ function jt({ basename: t, children: n, history: r, useTransitions: i }) {
1015
+ let [a, o] = e.useState({
1016
+ action: r.action,
1017
+ location: r.location
1018
+ }), s = e.useCallback((t) => {
1019
+ i === !1 ? o(t) : e.startTransition(() => o(t));
1020
+ }, [i]);
1021
+ return e.useLayoutEffect(() => r.listen(s), [r, s]), /* @__PURE__ */ e.createElement($e, {
1022
+ basename: t,
1023
+ children: n,
1024
+ location: a.location,
1025
+ navigationType: a.action,
1026
+ navigator: r,
1027
+ useTransitions: i
1028
+ });
1029
+ }
1030
+ jt.displayName = "unstable_HistoryRouter";
1031
+ var Mt = e.forwardRef(function({ onClick: n, discover: r = "render", prefetch: i = "none", relative: a, reloadDocument: o, replace: s, mask: c, state: l, target: u, to: d, preventScrollReset: f, viewTransition: p, defaultShouldRevalidate: m, ...h }, g) {
1032
+ let { basename: _, navigator: v, useTransitions: y } = e.useContext(P), b = typeof d == "string" && t.test(d), x = me(d, _);
1033
+ d = x.to;
1034
+ let S = Ae(d, { relative: a }), C = R(), w = null;
1035
+ if (c) {
1036
+ let e = k(c, [], C.mask ? C.mask.pathname : "/", !0);
1037
+ _ !== "/" && (e.pathname = e.pathname === "/" ? _ : A([_, e.pathname])), w = v.createHref(e);
1038
+ }
1039
+ let [T, E, ee] = wt(i, h), te = zt(d, {
1040
+ replace: s,
1041
+ mask: c,
1042
+ state: l,
1043
+ target: u,
1044
+ preventScrollReset: f,
1045
+ relative: a,
1046
+ viewTransition: p,
1047
+ defaultShouldRevalidate: m,
1048
+ useTransitions: y
1049
+ });
1050
+ function D(e) {
1051
+ n && n(e), e.defaultPrevented || te(e);
1052
+ }
1053
+ let ne = !(x.isExternal || o), O = /* @__PURE__ */ e.createElement("a", {
1054
+ ...h,
1055
+ ...ee,
1056
+ href: (ne ? w : void 0) || x.absoluteURL || S,
1057
+ onClick: ne ? D : n,
1058
+ ref: kt(g, E),
1059
+ target: u,
1060
+ "data-discover": !b && r === "render" ? "true" : void 0
1061
+ });
1062
+ return T && !b ? /* @__PURE__ */ e.createElement(e.Fragment, null, O, /* @__PURE__ */ e.createElement(Tt, { page: S })) : O;
1063
+ });
1064
+ Mt.displayName = "Link";
1065
+ var Nt = e.forwardRef(function({ "aria-current": t = "page", caseSensitive: n = !1, className: r = "", end: i = !1, style: a, to: o, viewTransition: s, children: c, ...l }, u) {
1066
+ let d = z(o, { relative: l.relative }), f = R(), p = e.useContext(N), { navigator: m, basename: h } = e.useContext(P), g = p != null && qt(d) && s === !0, _ = m.encodeLocation ? m.encodeLocation(d).pathname : d.pathname, v = f.pathname, y = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
1067
+ n || (v = v.toLowerCase(), y = y ? y.toLowerCase() : null, _ = _.toLowerCase()), y && h && (y = D(y, h) || y);
1068
+ let b = _ !== "/" && _.endsWith("/") ? _.length - 1 : _.length, x = v === _ || !i && v.startsWith(_) && v.charAt(b) === "/", S = y != null && (y === _ || !i && y.startsWith(_) && y.charAt(_.length) === "/"), C = {
1069
+ isActive: x,
1070
+ isPending: S,
1071
+ isTransitioning: g
1072
+ }, w = x ? t : void 0, T;
1073
+ T = typeof r == "function" ? r(C) : [
1074
+ r,
1075
+ x ? "active" : null,
1076
+ S ? "pending" : null,
1077
+ g ? "transitioning" : null
1078
+ ].filter(Boolean).join(" ");
1079
+ let E = typeof a == "function" ? a(C) : a;
1080
+ return /* @__PURE__ */ e.createElement(Mt, {
1081
+ ...l,
1082
+ "aria-current": w,
1083
+ className: T,
1084
+ ref: u,
1085
+ style: E,
1086
+ to: o,
1087
+ viewTransition: s
1088
+ }, typeof c == "function" ? c(C) : c);
1089
+ });
1090
+ Nt.displayName = "NavLink";
1091
+ var Pt = e.forwardRef(({ discover: n = "render", fetcherKey: r, navigate: i, reloadDocument: a, replace: o, state: s, method: c = W, action: l, onSubmit: u, relative: d, preventScrollReset: f, viewTransition: p, defaultShouldRevalidate: m, ...h }, g) => {
1092
+ let { useTransitions: _ } = e.useContext(P), v = Ht(), y = Ut(l, { relative: d }), b = c.toLowerCase() === "get" ? "get" : "post", x = typeof l == "string" && t.test(l);
1093
+ return /* @__PURE__ */ e.createElement("form", {
1094
+ ref: g,
1095
+ method: b,
1096
+ action: y,
1097
+ onSubmit: a ? u : (t) => {
1098
+ if (u && u(t), t.defaultPrevented) return;
1099
+ t.preventDefault();
1100
+ let n = t.nativeEvent.submitter, a = n?.getAttribute("formmethod") || c, l = () => v(n || t.currentTarget, {
1101
+ fetcherKey: r,
1102
+ method: a,
1103
+ navigate: i,
1104
+ replace: o,
1105
+ state: s,
1106
+ relative: d,
1107
+ preventScrollReset: f,
1108
+ viewTransition: p,
1109
+ defaultShouldRevalidate: m
1110
+ });
1111
+ _ && i !== !1 ? e.startTransition(() => l()) : l();
1112
+ },
1113
+ ...h,
1114
+ "data-discover": !x && n === "render" ? "true" : void 0
1115
+ });
1116
+ });
1117
+ Pt.displayName = "Form";
1118
+ function Ft({ getKey: t, storageKey: n, ...r }) {
1119
+ let i = e.useContext(Y), { basename: a } = e.useContext(P), o = R(), s = qe();
1120
+ Gt({
1121
+ getKey: t,
1122
+ storageKey: n
1123
+ });
1124
+ let c = e.useMemo(() => {
1125
+ if (!i || !t) return null;
1126
+ let e = $(o, s, a, t);
1127
+ return e === o.key ? null : e;
1128
+ }, []);
1129
+ if (!i || i.isSpaMode) return null;
1130
+ let l = ((e, t) => {
1131
+ if (!window.history.state || !window.history.state.key) {
1132
+ let e = Math.random().toString(32).slice(2);
1133
+ window.history.replaceState({ key: e }, "");
1134
+ }
1135
+ try {
1136
+ let n = JSON.parse(sessionStorage.getItem(e) || "{}")[t || window.history.state.key];
1137
+ typeof n == "number" && window.scrollTo(0, n);
1138
+ } catch (t) {
1139
+ console.error(t), sessionStorage.removeItem(e);
1140
+ }
1141
+ }).toString();
1142
+ return r.nonce == null && i?.nonce && (r.nonce = i.nonce), /* @__PURE__ */ e.createElement("script", {
1143
+ ...r,
1144
+ suppressHydrationWarning: !0,
1145
+ dangerouslySetInnerHTML: { __html: `(${l})(${dt(JSON.stringify(n || Wt))}, ${dt(JSON.stringify(c))})` }
1146
+ });
1147
+ }
1148
+ Ft.displayName = "ScrollRestoration";
1149
+ function It(e) {
1150
+ return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1151
+ }
1152
+ function Lt(t) {
1153
+ let n = e.useContext(M);
1154
+ return i(n, It(t)), n;
1155
+ }
1156
+ function Rt(t) {
1157
+ let n = e.useContext(N);
1158
+ return i(n, It(t)), n;
1159
+ }
1160
+ function zt(t, { target: n, replace: r, mask: i, state: a, preventScrollReset: s, relative: c, viewTransition: l, defaultShouldRevalidate: u, useTransitions: d } = {}) {
1161
+ let f = Ne(), p = R(), m = z(t, { relative: c });
1162
+ return e.useCallback((h) => {
1163
+ if (it(h, n)) {
1164
+ h.preventDefault();
1165
+ let n = r === void 0 ? o(p) === o(m) : r, g = () => f(t, {
1166
+ replace: n,
1167
+ mask: i,
1168
+ state: a,
1169
+ preventScrollReset: s,
1170
+ relative: c,
1171
+ viewTransition: l,
1172
+ defaultShouldRevalidate: u
1173
+ });
1174
+ d ? e.startTransition(() => g()) : g();
1175
+ }
1176
+ }, [
1177
+ p,
1178
+ f,
1179
+ m,
1180
+ r,
1181
+ i,
1182
+ a,
1183
+ n,
1184
+ t,
1185
+ s,
1186
+ c,
1187
+ l,
1188
+ u,
1189
+ d
1190
+ ]);
1191
+ }
1192
+ var Bt = 0, Vt = () => `__${String(++Bt)}__`;
1193
+ function Ht() {
1194
+ let { router: t } = Lt("useSubmit"), { basename: n } = e.useContext(P), r = Ge(), i = t.fetch, a = t.navigate;
1195
+ return e.useCallback(async (e, t = {}) => {
1196
+ let { action: o, method: s, encType: c, formData: l, body: u } = ct(e, n);
1197
+ t.navigate === !1 ? await i(t.fetcherKey || Vt(), r, t.action || o, {
1198
+ defaultShouldRevalidate: t.defaultShouldRevalidate,
1199
+ preventScrollReset: t.preventScrollReset,
1200
+ formData: l,
1201
+ body: u,
1202
+ formMethod: t.method || s,
1203
+ formEncType: t.encType || c,
1204
+ flushSync: t.flushSync
1205
+ }) : await a(t.action || o, {
1206
+ defaultShouldRevalidate: t.defaultShouldRevalidate,
1207
+ preventScrollReset: t.preventScrollReset,
1208
+ formData: l,
1209
+ body: u,
1210
+ formMethod: t.method || s,
1211
+ formEncType: t.encType || c,
1212
+ replace: t.replace,
1213
+ state: t.state,
1214
+ fromRouteId: r,
1215
+ flushSync: t.flushSync,
1216
+ viewTransition: t.viewTransition
1217
+ });
1218
+ }, [
1219
+ i,
1220
+ a,
1221
+ n,
1222
+ r
1223
+ ]);
1224
+ }
1225
+ function Ut(t, { relative: n } = {}) {
1226
+ let { basename: r } = e.useContext(P), a = e.useContext(I);
1227
+ i(a, "useFormAction must be used inside a RouteContext");
1228
+ let [s] = a.matches.slice(-1), c = { ...z(t || ".", { relative: n }) }, l = R();
1229
+ if (t == null) {
1230
+ c.search = l.search;
1231
+ let e = new URLSearchParams(c.search), t = e.getAll("index");
1232
+ if (t.some((e) => e === "")) {
1233
+ e.delete("index"), t.filter((e) => e).forEach((t) => e.append("index", t));
1234
+ let n = e.toString();
1235
+ c.search = n ? `?${n}` : "";
1236
+ }
1237
+ }
1238
+ return (!t || t === ".") && s.route.index && (c.search = c.search ? c.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (c.pathname = c.pathname === "/" ? r : A([r, c.pathname])), o(c);
1239
+ }
1240
+ var Wt = "react-router-scroll-positions", Q = {};
1241
+ function $(e, t, n, r) {
1242
+ let i = null;
1243
+ return r && (i = r(n === "/" ? e : {
1244
+ ...e,
1245
+ pathname: D(e.pathname, n) || e.pathname
1246
+ }, t)), i ??= e.key, i;
1247
+ }
1248
+ function Gt({ getKey: t, storageKey: n } = {}) {
1249
+ let { router: r } = Lt("useScrollRestoration"), { restoreScrollPosition: i, preventScrollReset: o } = Rt("useScrollRestoration"), { basename: s } = e.useContext(P), c = R(), l = qe(), u = Ke();
1250
+ e.useEffect(() => (window.history.scrollRestoration = "manual", () => {
1251
+ window.history.scrollRestoration = "auto";
1252
+ }), []), Kt(e.useCallback(() => {
1253
+ if (u.state === "idle") {
1254
+ let e = $(c, l, s, t);
1255
+ Q[e] = window.scrollY;
1256
+ }
1257
+ try {
1258
+ sessionStorage.setItem(n || Wt, JSON.stringify(Q));
1259
+ } catch (e) {
1260
+ a(!1, `Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`);
1261
+ }
1262
+ window.history.scrollRestoration = "auto";
1263
+ }, [
1264
+ u.state,
1265
+ t,
1266
+ s,
1267
+ c,
1268
+ l,
1269
+ n
1270
+ ])), typeof document < "u" && (e.useLayoutEffect(() => {
1271
+ try {
1272
+ let e = sessionStorage.getItem(n || Wt);
1273
+ e && (Q = JSON.parse(e));
1274
+ } catch {}
1275
+ }, [n]), e.useLayoutEffect(() => {
1276
+ let e = r?.enableScrollRestoration(Q, () => window.scrollY, t ? (e, n) => $(e, n, s, t) : void 0);
1277
+ return () => e && e();
1278
+ }, [
1279
+ r,
1280
+ s,
1281
+ t
1282
+ ]), e.useLayoutEffect(() => {
1283
+ if (i !== !1) {
1284
+ if (typeof i == "number") {
1285
+ window.scrollTo(0, i);
1286
+ return;
1287
+ }
1288
+ try {
1289
+ if (c.hash) {
1290
+ let e = document.getElementById(decodeURIComponent(c.hash.slice(1)));
1291
+ if (e) {
1292
+ e.scrollIntoView();
1293
+ return;
1294
+ }
1295
+ }
1296
+ } catch {
1297
+ a(!1, `"${c.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`);
1298
+ }
1299
+ o !== !0 && window.scrollTo(0, 0);
1300
+ }
1301
+ }, [
1302
+ c,
1303
+ i,
1304
+ o
1305
+ ]));
1306
+ }
1307
+ function Kt(t, n) {
1308
+ let { capture: r } = n || {};
1309
+ e.useEffect(() => {
1310
+ let e = r == null ? void 0 : { capture: r };
1311
+ return window.addEventListener("pagehide", t, e), () => {
1312
+ window.removeEventListener("pagehide", t, e);
1313
+ };
1314
+ }, [t, r]);
1315
+ }
1316
+ function qt(t, { relative: n } = {}) {
1317
+ let r = e.useContext(xe);
1318
+ i(r != null, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");
1319
+ let { basename: a } = Lt("useViewTransitionState"), o = z(t, { relative: n });
1320
+ if (!r.isTransitioning) return !1;
1321
+ let s = D(r.currentLocation.pathname, a) || r.currentLocation.pathname, c = D(r.nextLocation.pathname, a) || r.nextLocation.pathname;
1322
+ return T(o.pathname, c) != null || T(o.pathname, s) != null;
1323
+ }
1324
+ //#endregion
1325
+ export { Fe as t };
1326
+
1327
+ //# sourceMappingURL=chunk-KS7C4IRE.js.map