@abyss-project/commons-front-core 20.5.0 → 21.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 (339) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +18 -0
  3. package/catalog/pages/CookieConsent.tsx +1 -1
  4. package/catalog/pages/DeliveryHistory.tsx +142 -142
  5. package/catalog/pages/MobileShell.tsx +75 -39
  6. package/catalog/pages/Tabs.tsx +24 -0
  7. package/catalog/specs/captures.spec.ts +156 -156
  8. package/catalog/specs/cookie-consent-modal.spec.ts +1 -1
  9. package/catalog/specs/mobile-shell.spec.ts +28 -0
  10. package/catalog/specs/write-capture-index.ts +82 -82
  11. package/dist/{CookieConsentSettings-BBfIxpPu.js → CookieConsentSettings-BzeQZ5tD.js} +223 -224
  12. package/dist/{Surface-D3XLL_3t.js → Surface-t4XKtudZ.js} +320 -715
  13. package/dist/Tabs-DXgqVX6V.js +5276 -0
  14. package/dist/components/ScanStatus/InfectedDownloadWarningModal.d.ts +14 -45
  15. package/dist/components/business/AbyssProjectLinkField/AbyssProjectLinkField.d.ts +48 -0
  16. package/dist/components/business/CookieConsent/containing-block.d.ts +1 -1
  17. package/dist/components/business/Deliveries/ScheduledTaskPanel.d.ts +7 -2
  18. package/dist/components/business/Deliveries/deliveries.logic.d.ts +31 -0
  19. package/dist/components/business/Deliveries/deliveries.types.d.ts +24 -0
  20. package/dist/components/business/Deliveries/use-missed-run-count.hook.d.ts +8 -0
  21. package/dist/components/business/Deliveries/use-missed-runs.hook.d.ts +13 -0
  22. package/dist/components/business/Deliveries/use-previous-page-edge.hook.d.ts +22 -0
  23. package/dist/components/business/PendingInvitations/PendingInvitations.d.ts +28 -0
  24. package/dist/components/business/index.d.ts +2 -0
  25. package/dist/components/editors/PdfEditor/PdfEditor.d.ts +2 -2
  26. package/dist/components/editors/PdfEditor/pdf-colors.d.ts +2 -2
  27. package/dist/components/editors/PdfEditor/toolbar/PdfToolbar.d.ts +3 -3
  28. package/dist/components/inputs/date-localization.d.ts +3 -3
  29. package/dist/components/layers/Modal/Modal.d.ts +1 -1
  30. package/dist/components/meaning/Avatar/Avatar.d.ts +2 -0
  31. package/dist/components/mobile/ActionBar/ActionBar.d.ts +2 -1
  32. package/dist/components/mobile/BottomSheet/BottomSheet.d.ts +8 -2
  33. package/dist/components/mobile/MobileShell/MobileShell.d.ts +2 -1
  34. package/dist/components/mobile/MobileShell/MobileShellActionBar.d.ts +7 -0
  35. package/dist/components/mobile/MobileShell/MobileShellPageFrame.d.ts +13 -0
  36. package/dist/components/mobile/index.d.ts +1 -0
  37. package/dist/components/mobile/mobile-layout.d.ts +8 -0
  38. package/dist/components/mobile/test-support/mobile-test-harness.d.ts +5 -0
  39. package/dist/components/structure/AppShell/AppShell.d.ts +2 -2
  40. package/dist/components/structure/test-support/structure-test-harness.d.ts +1 -3
  41. package/dist/cookie-consent.js +2 -2
  42. package/dist/demo/DemoBanner/DemoBanner.d.ts +1 -1
  43. package/dist/{editors-C9ezTyVX.js → editors-Dt29L0Ux.js} +4074 -4063
  44. package/dist/editors.js +1 -1
  45. package/dist/hooks/use-rich-intl.hook.d.ts +52 -438
  46. package/dist/hooks/use-scroll-overflow-cue.hook.d.ts +8 -2
  47. package/dist/{index-jXwg-vPK.js → index-3hRPEDk5.js} +4 -4
  48. package/dist/{index-PIhlmbry.js → index-BHKOZzg1.js} +1 -1
  49. package/dist/{index-C21JZxdV.js → index-BYWSBoej.js} +3 -3
  50. package/dist/{index-BmWT-YnY.js → index-BYWcX6y7.js} +2 -2
  51. package/dist/{index-CYPRhUy3.js → index-BaS25rA-.js} +2 -2
  52. package/dist/{index-DilASatl.js → index-BczDLUpv.js} +2 -2
  53. package/dist/{index-DTDA_bq_.js → index-Bh0e5MGQ.js} +2 -2
  54. package/dist/{index-CuHChI1V.js → index-C3iToWR_.js} +4 -4
  55. package/dist/{index-B1LrM7Gs.js → index-CNem7pV2.js} +2 -2
  56. package/dist/{index-DrEPqLmj.js → index-Cs5brR68.js} +3 -3
  57. package/dist/{index-av4SSfbk.js → index-D0E9e2bc.js} +2 -2
  58. package/dist/{index-D23exlxA.js → index-D2yo-g20.js} +4 -4
  59. package/dist/{index-owJAgGXX.js → index-DGizXlGr.js} +3 -3
  60. package/dist/{index-C1-1xoEz.js → index-DLZ2_Fhk.js} +3 -3
  61. package/dist/{index-BKCtYW42.js → index-DbBqHu3d.js} +2 -2
  62. package/dist/{index-DYlHW9pm.js → index-Deq0UIQ5.js} +2 -2
  63. package/dist/{index-DpLOnTAQ.js → index-Dg0a5ekJ.js} +2 -2
  64. package/dist/{index-1hcOcpTI.js → index-DvcQvaXv.js} +2 -2
  65. package/dist/{index-grnEwsvE.js → index-ETHoxvZf.js} +2 -2
  66. package/dist/{index-COZaHoYW.js → index-na4ea52T.js} +2 -2
  67. package/dist/{index-BRNbXIRg.js → index-vX7Ua1iM.js} +2 -2
  68. package/dist/index.js +47045 -19954
  69. package/dist/theme/design-media.d.ts +4 -4
  70. package/dist/theme/design-theme.d.ts +1 -5
  71. package/dist/theme/index.d.ts +0 -1
  72. package/dist/translations/en.d.ts +18 -219
  73. package/dist/translations/fr.d.ts +18 -219
  74. package/dist/utils/file.utils.d.ts +2 -2
  75. package/dist/utils/index.d.ts +1 -1
  76. package/dist/utils/notification-target.utils.d.ts +49 -0
  77. package/package.json +8 -16
  78. package/vite.config.ts +6 -8
  79. package/dist/Tabs-B9vRDAXt.js +0 -1991
  80. package/dist/clsx-OuTLNxxd.js +0 -16
  81. package/dist/design-theme-enTIAR9e.js +0 -27703
  82. package/dist/index-C27b790L.js +0 -3304
  83. package/dist/legacy/components/Avatars/OrganizationAvatar/OrganizationAvatar.component.d.ts +0 -24
  84. package/dist/legacy/components/Avatars/OrganizationAvatar/index.d.ts +0 -2
  85. package/dist/legacy/components/Avatars/ProjectAvatar/ProjectAvatar.component.d.ts +0 -29
  86. package/dist/legacy/components/Avatars/ProjectAvatar/index.d.ts +0 -2
  87. package/dist/legacy/components/Avatars/UserAvatar/UserAvatar.component.d.ts +0 -25
  88. package/dist/legacy/components/Avatars/UserAvatar/constant.d.ts +0 -8
  89. package/dist/legacy/components/Avatars/UserAvatar/index.d.ts +0 -3
  90. package/dist/legacy/components/Avatars/UserAvatarList/UserAvatarList.component.d.ts +0 -18
  91. package/dist/legacy/components/Avatars/UserAvatarList/index.d.ts +0 -2
  92. package/dist/legacy/components/Avatars/index.d.ts +0 -4
  93. package/dist/legacy/components/Banking/AccountTransactions/AccountTransactionsRow.component.d.ts +0 -30
  94. package/dist/legacy/components/Banking/AccountTransactions/index.d.ts +0 -2
  95. package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/SelectAccountTransactionCategory.component.d.ts +0 -12
  96. package/dist/legacy/components/Banking/Inputs/SelectAccountTransactionCategory/index.d.ts +0 -1
  97. package/dist/legacy/components/Banking/Inputs/index.d.ts +0 -1
  98. package/dist/legacy/components/Banking/index.d.ts +0 -1
  99. package/dist/legacy/components/Cards/InternalProjectCard/InternalProjectCard.component.d.ts +0 -36
  100. package/dist/legacy/components/Cards/InternalProjectCard/index.d.ts +0 -2
  101. package/dist/legacy/components/Cards/ProjectCard/ProjectCard.component.d.ts +0 -28
  102. package/dist/legacy/components/Cards/ProjectCard/index.d.ts +0 -2
  103. package/dist/legacy/components/Cards/index.d.ts +0 -2
  104. package/dist/legacy/components/Charts/AbyssBarChart/AbyssBarChart.component.d.ts +0 -21
  105. package/dist/legacy/components/Charts/AbyssBarChart/index.d.ts +0 -1
  106. package/dist/legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.d.ts +0 -14
  107. package/dist/legacy/components/Charts/AbyssCashFlowChart/index.d.ts +0 -1
  108. package/dist/legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.d.ts +0 -33
  109. package/dist/legacy/components/Charts/AbyssLineChart/index.d.ts +0 -1
  110. package/dist/legacy/components/Charts/AbyssPieChart/AbyssPieChart.component.d.ts +0 -18
  111. package/dist/legacy/components/Charts/AbyssPieChart/index.d.ts +0 -1
  112. package/dist/legacy/components/Charts/index.d.ts +0 -4
  113. package/dist/legacy/components/Charts/useNivoTheme.d.ts +0 -65
  114. package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/ApplicationSentinelTypeChip.component.d.ts +0 -7
  115. package/dist/legacy/components/Chips/ApplicationSentinelTypeChip/index.d.ts +0 -1
  116. package/dist/legacy/components/Chips/LogTypeChip/LogTypeChip.component.d.ts +0 -7
  117. package/dist/legacy/components/Chips/LogTypeChip/index.d.ts +0 -1
  118. package/dist/legacy/components/Chips/ProjectStatusChip/ProjectStatusChip.component.d.ts +0 -7
  119. package/dist/legacy/components/Chips/ProjectStatusChip/index.d.ts +0 -1
  120. package/dist/legacy/components/Chips/WebhookResponseCodeChip/WebhookResponseCodeChip.component.d.ts +0 -6
  121. package/dist/legacy/components/Chips/WebhookResponseCodeChip/index.d.ts +0 -1
  122. package/dist/legacy/components/Chips/index.d.ts +0 -4
  123. package/dist/legacy/components/CommandPalette/AbyssCommandPalette.d.ts +0 -12
  124. package/dist/legacy/components/CommandPalette/index.d.ts +0 -3
  125. package/dist/legacy/components/CommandPalette/types.d.ts +0 -104
  126. package/dist/legacy/components/CommandPalette/useCommandPaletteHotkey.d.ts +0 -10
  127. package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.d.ts +0 -13
  128. package/dist/legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.error.spec.d.ts +0 -1
  129. package/dist/legacy/components/CompanySearchAutocomplete/index.d.ts +0 -2
  130. package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.d.ts +0 -70
  131. package/dist/legacy/components/Data/AbyssTable/AbyssTable.component.spec.d.ts +0 -1
  132. package/dist/legacy/components/Data/AbyssTable/AbyssTableCards.component.d.ts +0 -25
  133. package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.d.ts +0 -147
  134. package/dist/legacy/components/Data/AbyssTable/abyss-table.logic.spec.d.ts +0 -1
  135. package/dist/legacy/components/Data/AbyssTable/index.d.ts +0 -2
  136. package/dist/legacy/components/Data/index.d.ts +0 -1
  137. package/dist/legacy/components/InfoBox/InfoBox.component.d.ts +0 -6
  138. package/dist/legacy/components/InfoBox/index.d.ts +0 -1
  139. package/dist/legacy/components/Inputs/AbyssDatePicker/AbyssDatePicker.component.d.ts +0 -4
  140. package/dist/legacy/components/Inputs/AbyssDatePicker/index.d.ts +0 -1
  141. package/dist/legacy/components/Inputs/AbyssDateTimePicker/AbyssDateTimePicker.component.d.ts +0 -4
  142. package/dist/legacy/components/Inputs/AbyssDateTimePicker/index.d.ts +0 -1
  143. package/dist/legacy/components/Inputs/AbyssNumberField/AbyssNumberField.component.d.ts +0 -35
  144. package/dist/legacy/components/Inputs/AbyssNumberField/format.d.ts +0 -35
  145. package/dist/legacy/components/Inputs/AbyssNumberField/format.spec.d.ts +0 -1
  146. package/dist/legacy/components/Inputs/AbyssNumberField/index.d.ts +0 -2
  147. package/dist/legacy/components/Inputs/AbyssScopeSwitcher/AbyssScopeSwitcher.component.d.ts +0 -21
  148. package/dist/legacy/components/Inputs/AbyssScopeSwitcher/index.d.ts +0 -2
  149. package/dist/legacy/components/Inputs/AbyssScopeSwitcher/scope-option.spec.d.ts +0 -1
  150. package/dist/legacy/components/Inputs/AbyssSelectOrganization/AbyssSelectOrganization.component.d.ts +0 -18
  151. package/dist/legacy/components/Inputs/AbyssSelectOrganization/index.d.ts +0 -2
  152. package/dist/legacy/components/Inputs/AbyssSelectProject/AbyssSelectProject.component.d.ts +0 -18
  153. package/dist/legacy/components/Inputs/AbyssSelectProject/index.d.ts +0 -2
  154. package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.d.ts +0 -17
  155. package/dist/legacy/components/Inputs/CloudImport/CloudImport.component.spec.d.ts +0 -1
  156. package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.d.ts +0 -14
  157. package/dist/legacy/components/Inputs/CloudImport/CloudImportFile.component.spec.d.ts +0 -1
  158. package/dist/legacy/components/Inputs/CloudImport/CloudImportFolder.component.d.ts +0 -18
  159. package/dist/legacy/components/Inputs/CloudImport/index.d.ts +0 -3
  160. package/dist/legacy/components/Inputs/ColorPalette/ColorPalette.component.d.ts +0 -23
  161. package/dist/legacy/components/Inputs/ColorPalette/index.d.ts +0 -1
  162. package/dist/legacy/components/Inputs/ColorPicker/ColorPicker.component.d.ts +0 -19
  163. package/dist/legacy/components/Inputs/ColorPicker/index.d.ts +0 -1
  164. package/dist/legacy/components/Inputs/ContextSelector/ContextSelector.component.d.ts +0 -68
  165. package/dist/legacy/components/Inputs/ContextSelector/index.d.ts +0 -2
  166. package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +0 -60
  167. package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.granularity.spec.d.ts +0 -1
  168. package/dist/legacy/components/Inputs/DatePeriodPicker/DatePeriodPicker.segmented.spec.d.ts +0 -1
  169. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-i18n.spec.d.ts +0 -1
  170. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +0 -69
  171. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-picker.logic.spec.d.ts +0 -1
  172. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.spec.d.ts +0 -1
  173. package/dist/legacy/components/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +0 -15
  174. package/dist/legacy/components/Inputs/DatePeriodPicker/index.d.ts +0 -2
  175. package/dist/legacy/components/Inputs/DropZone/DropZone.component.d.ts +0 -27
  176. package/dist/legacy/components/Inputs/DropZone/DropZone.component.spec.d.ts +0 -1
  177. package/dist/legacy/components/Inputs/DropZone/index.d.ts +0 -1
  178. package/dist/legacy/components/Inputs/LanguageFlagLabel/LanguageFlagLabel.component.d.ts +0 -22
  179. package/dist/legacy/components/Inputs/LanguageFlagLabel/index.d.ts +0 -2
  180. package/dist/legacy/components/Inputs/LanguageFlagLabel/language-flags.d.ts +0 -12
  181. package/dist/legacy/components/Inputs/PasswordInput/PasswordInput.component.d.ts +0 -41
  182. package/dist/legacy/components/Inputs/PasswordInput/index.d.ts +0 -1
  183. package/dist/legacy/components/Inputs/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -8
  184. package/dist/legacy/components/Inputs/ProjectCategoryBadge/index.d.ts +0 -1
  185. package/dist/legacy/components/Inputs/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -39
  186. package/dist/legacy/components/Inputs/ProjectLinkSelector/index.d.ts +0 -2
  187. package/dist/legacy/components/Inputs/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
  188. package/dist/legacy/components/Inputs/ProjectTagChip/index.d.ts +0 -1
  189. package/dist/legacy/components/Inputs/index.d.ts +0 -17
  190. package/dist/legacy/components/Invitations/AbyssPendingInvitations.component.d.ts +0 -18
  191. package/dist/legacy/components/Invitations/index.d.ts +0 -2
  192. package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.d.ts +0 -11
  193. package/dist/legacy/components/Layouts/AbyssBillingPlan/AbyssBillingPlan.component.spec.d.ts +0 -1
  194. package/dist/legacy/components/Layouts/AbyssBillingPlan/index.d.ts +0 -1
  195. package/dist/legacy/components/Layouts/AbyssDashboardLayout/AbyssDashboardLayout.component.d.ts +0 -13
  196. package/dist/legacy/components/Layouts/AbyssDashboardLayout/index.d.ts +0 -1
  197. package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.component.d.ts +0 -32
  198. package/dist/legacy/components/Layouts/AbyssFamilyBanner/AbyssFamilyBanner.logic.spec.d.ts +0 -1
  199. package/dist/legacy/components/Layouts/AbyssFamilyBanner/index.d.ts +0 -2
  200. package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.d.ts +0 -14
  201. package/dist/legacy/components/Layouts/AbyssHeader/AbyssHeader.component.spec.d.ts +0 -1
  202. package/dist/legacy/components/Layouts/AbyssHeader/index.d.ts +0 -1
  203. package/dist/legacy/components/Layouts/AbyssLayoutProvider/AbyssLayoutProvider.component.d.ts +0 -25
  204. package/dist/legacy/components/Layouts/AbyssLayoutProvider/abyss-layout.store.d.ts +0 -27
  205. package/dist/legacy/components/Layouts/AbyssLayoutProvider/index.d.ts +0 -3
  206. package/dist/legacy/components/Layouts/AbyssLoadingScreen/AbyssLoadingScreen.component.d.ts +0 -3
  207. package/dist/legacy/components/Layouts/AbyssLoadingScreen/index.d.ts +0 -1
  208. package/dist/legacy/components/Layouts/AbyssSearchBar/AbyssSearchBar.component.d.ts +0 -8
  209. package/dist/legacy/components/Layouts/AbyssSearchBar/index.d.ts +0 -1
  210. package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebar.component.d.ts +0 -35
  211. package/dist/legacy/components/Layouts/AbyssSidebar/AbyssSidebarItem.component.d.ts +0 -9
  212. package/dist/legacy/components/Layouts/AbyssSidebar/index.d.ts +0 -3
  213. package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.d.ts +0 -8
  214. package/dist/legacy/components/Layouts/AbyssThemeToggle/AbyssThemeToggle.component.spec.d.ts +0 -1
  215. package/dist/legacy/components/Layouts/AbyssThemeToggle/index.d.ts +0 -1
  216. package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayout.layout.d.ts +0 -19
  217. package/dist/legacy/components/Layouts/DashboardLayout/DashboardLayoutHeader.layout.d.ts +0 -11
  218. package/dist/legacy/components/Layouts/DashboardLayout/index.d.ts +0 -2
  219. package/dist/legacy/components/Layouts/LoadingLayout/LoadingLayout.layout.d.ts +0 -7
  220. package/dist/legacy/components/Layouts/LoadingLayout/index.d.ts +0 -1
  221. package/dist/legacy/components/Layouts/MainLayout/MainLayout.layout.d.ts +0 -9
  222. package/dist/legacy/components/Layouts/MainLayout/index.d.ts +0 -1
  223. package/dist/legacy/components/Layouts/index.d.ts +0 -12
  224. package/dist/legacy/components/Modals/AbyssModal/AbyssModal.component.d.ts +0 -18
  225. package/dist/legacy/components/Modals/AbyssModal/index.d.ts +0 -1
  226. package/dist/legacy/components/Modals/ConfirmModal/ConfirmModal.d.ts +0 -22
  227. package/dist/legacy/components/Modals/ConfirmModal/index.d.ts +0 -2
  228. package/dist/legacy/components/Modals/ImportFromCloudModal/ImportFromCloudModal.component.d.ts +0 -15
  229. package/dist/legacy/components/Modals/ImportFromCloudModal/index.d.ts +0 -1
  230. package/dist/legacy/components/Modals/QRCodeModal/QRCodeModal.component.d.ts +0 -12
  231. package/dist/legacy/components/Modals/QRCodeModal/index.d.ts +0 -1
  232. package/dist/legacy/components/Modals/UserSettingsModal/UserSettings.compat.d.ts +0 -12
  233. package/dist/legacy/components/Modals/UserSettingsModal/UserSettingsModal.component.d.ts +0 -38
  234. package/dist/legacy/components/Modals/UserSettingsModal/index.d.ts +0 -2
  235. package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.family.spec.d.ts +0 -1
  236. package/dist/legacy/components/Modals/UserSettingsModal/user-settings-modal.links.spec.d.ts +0 -1
  237. package/dist/legacy/components/Modals/index.d.ts +0 -6
  238. package/dist/legacy/components/QuotaGauge/AbyssQuotaGauge.component.d.ts +0 -53
  239. package/dist/legacy/components/QuotaGauge/bubble-placement.d.ts +0 -47
  240. package/dist/legacy/components/QuotaGauge/bubble-placement.spec.d.ts +0 -1
  241. package/dist/legacy/components/QuotaGauge/gauge-highlight.spec.d.ts +0 -1
  242. package/dist/legacy/components/QuotaGauge/gauge-i18n-coverage.spec.d.ts +0 -1
  243. package/dist/legacy/components/QuotaGauge/gauge-segments.d.ts +0 -80
  244. package/dist/legacy/components/QuotaGauge/gauge-segments.spec.d.ts +0 -1
  245. package/dist/legacy/components/QuotaGauge/index.d.ts +0 -6
  246. package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.d.ts +0 -83
  247. package/dist/legacy/components/QuotaOffer/AbyssQuotaOffer.component.spec.d.ts +0 -1
  248. package/dist/legacy/components/QuotaOffer/index.d.ts +0 -4
  249. package/dist/legacy/components/QuotaOffer/quota-phrase-coverage.spec.d.ts +0 -1
  250. package/dist/legacy/components/QuotaReached/QuotaReachedDialog.component.d.ts +0 -15
  251. package/dist/legacy/components/QuotaReached/index.d.ts +0 -3
  252. package/dist/legacy/components/QuotaReached/quota-service-meta.d.ts +0 -31
  253. package/dist/legacy/components/Spotlight/InternalProjectCard/InternalProjectCard.component.d.ts +0 -15
  254. package/dist/legacy/components/Spotlight/InternalProjectCard/index.d.ts +0 -1
  255. package/dist/legacy/components/Spotlight/ProjectCard/ProjectCard.component.d.ts +0 -20
  256. package/dist/legacy/components/Spotlight/ProjectCard/index.d.ts +0 -1
  257. package/dist/legacy/components/Spotlight/ProjectCategoryBadge/ProjectCategoryBadge.component.d.ts +0 -7
  258. package/dist/legacy/components/Spotlight/ProjectCategoryBadge/index.d.ts +0 -1
  259. package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.d.ts +0 -10
  260. package/dist/legacy/components/Spotlight/ProjectLinkSelector/ProjectLinkSelector.component.spec.d.ts +0 -1
  261. package/dist/legacy/components/Spotlight/ProjectLinkSelector/index.d.ts +0 -2
  262. package/dist/legacy/components/Spotlight/ProjectTagChip/ProjectTagChip.component.d.ts +0 -9
  263. package/dist/legacy/components/Spotlight/ProjectTagChip/index.d.ts +0 -1
  264. package/dist/legacy/components/Spotlight/index.d.ts +0 -5
  265. package/dist/legacy/components/Utils/AbyssBackground/AbyssBackground.component.d.ts +0 -12
  266. package/dist/legacy/components/Utils/AbyssDrawer/AbyssDrawer.component.d.ts +0 -39
  267. package/dist/legacy/components/Utils/AbyssDrawer/index.d.ts +0 -2
  268. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.d.ts +0 -10
  269. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorBoundary.component.spec.d.ts +0 -1
  270. package/dist/legacy/components/Utils/AbyssErrorPage/AbyssErrorPage.component.d.ts +0 -11
  271. package/dist/legacy/components/Utils/AbyssErrorPage/index.d.ts +0 -3
  272. package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.d.ts +0 -6
  273. package/dist/legacy/components/Utils/AbyssFamilyMenuSection/AbyssFamilyMenuSection.spec.d.ts +0 -1
  274. package/dist/legacy/components/Utils/AbyssFamilyMenuSection/index.d.ts +0 -1
  275. package/dist/legacy/components/Utils/AbyssHeaderTitle/AbyssHeaderTitle.component.d.ts +0 -11
  276. package/dist/legacy/components/Utils/AbyssHeaderTitle/index.d.ts +0 -1
  277. package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.d.ts +0 -43
  278. package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssLayoutMenu.component.spec.d.ts +0 -1
  279. package/dist/legacy/components/Utils/AbyssLayoutMenu/AbyssMenuItem.component.d.ts +0 -15
  280. package/dist/legacy/components/Utils/AbyssLayoutMenu/index.d.ts +0 -3
  281. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.d.ts +0 -36
  282. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssLayoutNotifications.component.spec.d.ts +0 -1
  283. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.d.ts +0 -30
  284. package/dist/legacy/components/Utils/AbyssLayoutNotifications/AbyssNotifications.component.spec.d.ts +0 -1
  285. package/dist/legacy/components/Utils/AbyssLayoutNotifications/index.d.ts +0 -4
  286. package/dist/legacy/components/Utils/ImportButton/ImportButton.component.d.ts +0 -19
  287. package/dist/legacy/components/Utils/ImportButton/index.d.ts +0 -2
  288. package/dist/legacy/components/Utils/WaterParticles/WaterParticles.component.d.ts +0 -14
  289. package/dist/legacy/components/Utils/WaterParticles/index.d.ts +0 -1
  290. package/dist/legacy/components/Utils/index.d.ts +0 -10
  291. package/dist/legacy/components/aria-labels-i18n.spec.d.ts +0 -1
  292. package/dist/legacy/components/commons-labels-i18n.spec.d.ts +0 -1
  293. package/dist/legacy/components/index.d.ts +0 -18
  294. package/dist/legacy/components/theme-mode-colors.spec.d.ts +0 -1
  295. package/dist/legacy/fonts.css +0 -7
  296. package/dist/legacy/hooks/confirm-modal/confirm-modal.context.d.ts +0 -10
  297. package/dist/legacy/hooks/confirm-modal/index.d.ts +0 -1
  298. package/dist/legacy/hooks/index.d.ts +0 -1
  299. package/dist/legacy/index.d.ts +0 -4
  300. package/dist/legacy/legacy-editors-removed.spec.d.ts +0 -1
  301. package/dist/legacy/legacy-support-removed.spec.d.ts +0 -1
  302. package/dist/legacy/legacy-under-new-theme.spec.d.ts +0 -1
  303. package/dist/legacy/theme/augmentation.d.ts +0 -84
  304. package/dist/legacy/theme/components/buttons.d.ts +0 -35
  305. package/dist/legacy/theme/components/data-display.d.ts +0 -4
  306. package/dist/legacy/theme/components/index.d.ts +0 -2
  307. package/dist/legacy/theme/components/inputs.d.ts +0 -4
  308. package/dist/legacy/theme/components/inputs.spec.d.ts +0 -1
  309. package/dist/legacy/theme/components/navigation.d.ts +0 -4
  310. package/dist/legacy/theme/components/surfaces.d.ts +0 -4
  311. package/dist/legacy/theme/core-breakpoints-under-legacy-theme.spec.d.ts +0 -1
  312. package/dist/legacy/theme/create-theme.d.ts +0 -9
  313. package/dist/legacy/theme/create-theme.spec.d.ts +0 -1
  314. package/dist/legacy/theme/disabled-contrast.spec.d.ts +0 -1
  315. package/dist/legacy/theme/index.d.ts +0 -23
  316. package/dist/legacy/theme/legacy-tokens.d.ts +0 -3
  317. package/dist/legacy/theme/new-components-under-legacy-theme.spec.d.ts +0 -1
  318. package/dist/legacy/theme/palettes/common.d.ts +0 -74
  319. package/dist/legacy/theme/palettes/dark.d.ts +0 -67
  320. package/dist/legacy/theme/palettes/light.d.ts +0 -67
  321. package/dist/legacy/theme/tokens/animations.d.ts +0 -33
  322. package/dist/legacy/theme/tokens/borders.d.ts +0 -14
  323. package/dist/legacy/theme/tokens/colors.d.ts +0 -129
  324. package/dist/legacy/theme/tokens/shadows.d.ts +0 -53
  325. package/dist/legacy/theme/tokens/transitions.d.ts +0 -25
  326. package/dist/legacy/theme/tokens/typography.d.ts +0 -99
  327. package/dist/legacy/utils/billing-colors.utils.d.ts +0 -7
  328. package/dist/legacy/utils/color.utils.d.ts +0 -11
  329. package/dist/legacy/utils/file.utils.d.ts +0 -2
  330. package/dist/legacy/utils/index.d.ts +0 -3
  331. package/dist/legacy.d.ts +0 -2
  332. package/dist/legacy.js +0 -16282
  333. package/dist/theme/DesignCssVariables.d.ts +0 -12
  334. package/dist/theme/DesignCssVariables.spec.d.ts +0 -1
  335. package/dist/utils/share-notification.utils.d.ts +0 -10
  336. /package/dist/{legacy/components/Cards/project-card-date.spec.d.ts → components/business/AbyssProjectLinkField/AbyssProjectLinkField.spec.d.ts} +0 -0
  337. /package/dist/{legacy/components/Charts/AbyssCashFlowChart/AbyssCashFlowChart.component.spec.d.ts → components/business/PendingInvitations/PendingInvitations.spec.d.ts} +0 -0
  338. /package/dist/{legacy/components/Charts/AbyssLineChart/AbyssLineChart.component.spec.d.ts → components/mobile/MobileShell/MobileShellActionBar.spec.d.ts} +0 -0
  339. /package/dist/{legacy/components/CompanySearchAutocomplete/CompanySearchAutocomplete.date.spec.d.ts → utils/notification-target.utils.spec.d.ts} +0 -0
@@ -1,3304 +0,0 @@
1
- import Da, { useMemo as ve, useRef as De, useReducer as za, useEffect as Je, useCallback as V, forwardRef as Ca, useImperativeHandle as Ra, Fragment as Ia } from "react";
2
- const Xt = (e) => e.projectId ? "project" : e.organizationId && e.userId ? "perso-in-org" : e.organizationId ? "org-common" : "personal", ar = (e, t, a = {}) => {
3
- switch (Xt(e)) {
4
- case "project":
5
- return a.projectName ?? t.formatMessage({ id: "space-display-name.project" });
6
- case "org-common":
7
- return a.organizationName ?? t.formatMessage({ id: "space-display-name.org-common" });
8
- case "perso-in-org":
9
- return a.userAlias ?? t.formatMessage({ id: "space-display-name.perso-in-org" });
10
- case "personal":
11
- default:
12
- return a.userAlias ?? t.formatMessage({ id: "space-display-name.personal" });
13
- }
14
- }, ir = (e, t, a) => {
15
- const i = `${e.replace(/\/+$/, "")}/dashboard`;
16
- if (!t)
17
- return i;
18
- if (a)
19
- return `${i}/shared-with-me`;
20
- switch (Xt(t)) {
21
- case "project":
22
- return `${i}/org/${t.organizationId}/projects/${t.projectId}`;
23
- case "org-common":
24
- return `${i}/org/${t.organizationId}/common`;
25
- case "perso-in-org":
26
- return `${i}/org/${t.organizationId}/my`;
27
- case "personal":
28
- default:
29
- return `${i}/my`;
30
- }
31
- }, Fa = (e) => e.split(";")[0].trim().toLowerCase(), $a = (e, t) => {
32
- if (t === "*/*")
33
- return !0;
34
- if (t.startsWith("."))
35
- return e.name.toLowerCase().endsWith(t);
36
- if (!e.mimeType)
37
- return !1;
38
- const a = Fa(e.mimeType);
39
- return t.endsWith("/*") ? a.startsWith(t.slice(0, -1)) : a === t;
40
- }, nr = (e, t) => {
41
- const a = (t ?? []).flatMap((i) => i.split(",")).map((i) => i.trim().toLowerCase()).filter((i) => i.length > 0);
42
- return a.length === 0 || a.some((i) => $a(e, i));
43
- };
44
- var or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
45
- function Qt(e) {
46
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
47
- }
48
- const rr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%202000%202000'%3e%3cdefs%3e%3cstyle%3e%20.cls-1%20{%20fill:%20url(%23Dégradé_sans_nom_2);%20}%20.cls-2%20{%20fill:%20url(%23Dégradé_sans_nom);%20}%20.cls-3%20{%20fill:%20url(%23Dégradé_sans_nom_4);%20}%20.cls-4%20{%20fill:%20url(%23Dégradé_sans_nom_3);%20}%20%3c/style%3e%3clinearGradient%20id='Dégradé_sans_nom'%20data-name='Dégradé%20sans%20nom'%20x1='316.37'%20y1='983.24'%20x2='941.52'%20y2='983.24'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%23657eb5'/%3e%3cstop%20offset='1'%20stop-color='%238f9fc8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_2'%20data-name='Dégradé%20sans%20nom%202'%20x1='656.56'%20y1='1126.04'%20x2='1181.68'%20y2='1126.04'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%236f82b8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_3'%20data-name='Dégradé%20sans%20nom%203'%20x1='856.32'%20y1='1317.26'%20x2='1318.48'%20y2='1317.26'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%234e66aa'/%3e%3c/linearGradient%3e%3clinearGradient%20id='Dégradé_sans_nom_4'%20data-name='Dégradé%20sans%20nom%204'%20x1='1234.7'%20y1='855.06'%20x2='1684.55'%20y2='855.06'%20gradientTransform='translate(0%202000)%20scale(1%20-1)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2339569d'/%3e%3cstop%20offset='1'%20stop-color='%236f82b8'/%3e%3c/linearGradient%3e%3c/defs%3e%3c!--%20Generator:%20Adobe%20Illustrator%2028.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%201.2.0%20Build%20136)%20--%3e%3cg%3e%3cg%20id='Calque_1'%3e%3cg%20id='Calque_1-2'%20data-name='Calque_1'%3e%3cg%3e%3cpath%20class='cls-2'%20d='M941.25,1250.22h-490.96c-133.92,0-133.92-171.67-133.92-236.16,0-77.97,68.31-230.76,225.82-230.76,47.19,0,84.93,9.66,114.37,22.92,304.69,133.7,284.69,444,284.69,444Z'/%3e%3cpath%20class='cls-1'%20d='M1174.03,1196.97c.22,2.02.45,4.04.45,6.29,0,26.06-21.12,46.96-46.96,46.96h-186.27s20-310.31-284.69-444c4.04-68.98,22.24-157.51,80.22-226.05,31.91-37.52,71.9-65.16,119.54-82.46,247.62,89.88,310.76,315.47,325.36,391.65-5.84,27.41-7.64,63.81-7.64,117.07v190.54h0Z'/%3e%3cpath%20class='cls-4'%20d='M1297.62,754.76c-.22.22-.45.45-.67.45-71.9,57.3-102.91,75.05-115.27,134.14-14.6-76.17-77.74-301.77-325.36-391.65,23.14-8.09,47.86-14.16,74.37-17.75,19.32-2.47,39.77-3.82,61.12-3.82,209.64,0,304.47,149.2,325.14,228.07,5.17,19.77-3.15,40-19.32,50.56h-.01Z'/%3e%3cpath%20class='cls-3'%20d='M1424.12,766.67c-129.43,0-189.42,111.68-189.42,186.72v522.87c0,25.84,20.9,46.96,46.74,46.96,11.46,0,123.13-4.72,147.18-5.62h1.12c.45,0,1.12,0,1.8-.22.45,0,.9,0,1.57-.22,9.44-.45,18.2-3.37,25.62-9.89,187.4-153.69,225.82-281.32,225.82-426.47,0-155.72-131.22-314.13-260.42-314.13h0ZM1459.4,1174.05c-36.85,0-66.73-29.88-66.73-66.73s29.89-66.74,66.73-66.74,66.74,29.89,66.74,66.74-29.66,66.73-66.74,66.73Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
49
- var ea = typeof global == "object" && global && global.Object === Object && global, qa = typeof self == "object" && self && self.Object === Object && self, ge = ea || qa || Function("return this")(), Fe = ge.Symbol, ta = Object.prototype, Ma = ta.hasOwnProperty, La = ta.toString, we = Fe ? Fe.toStringTag : void 0;
50
- function Ua(e) {
51
- var t = Ma.call(e, we), a = e[we];
52
- try {
53
- e[we] = void 0;
54
- var i = !0;
55
- } catch {
56
- }
57
- var n = La.call(e);
58
- return i && (t ? e[we] = a : delete e[we]), n;
59
- }
60
- var Wa = Object.prototype, Ya = Wa.toString;
61
- function Ba(e) {
62
- return Ya.call(e);
63
- }
64
- var Ha = "[object Null]", Ga = "[object Undefined]", gt = Fe ? Fe.toStringTag : void 0;
65
- function Ee(e) {
66
- return e == null ? e === void 0 ? Ga : Ha : gt && gt in Object(e) ? Ua(e) : Ba(e);
67
- }
68
- function Ka(e, t) {
69
- return function(a) {
70
- return e(t(a));
71
- };
72
- }
73
- var aa = Ka(Object.getPrototypeOf, Object);
74
- function Te(e) {
75
- return e != null && typeof e == "object";
76
- }
77
- var Na = "[object Object]", Va = Function.prototype, Za = Object.prototype, ia = Va.toString, Ja = Za.hasOwnProperty, Xa = ia.call(Object);
78
- function pr(e) {
79
- if (!Te(e) || Ee(e) != Na)
80
- return !1;
81
- var t = aa(e);
82
- if (t === null)
83
- return !0;
84
- var a = Ja.call(t, "constructor") && t.constructor;
85
- return typeof a == "function" && a instanceof a && ia.call(a) == Xa;
86
- }
87
- function Qa() {
88
- this.__data__ = [], this.size = 0;
89
- }
90
- function na(e, t) {
91
- return e === t || e !== e && t !== t;
92
- }
93
- function Le(e, t) {
94
- for (var a = e.length; a--; )
95
- if (na(e[a][0], t))
96
- return a;
97
- return -1;
98
- }
99
- var ei = Array.prototype, ti = ei.splice;
100
- function ai(e) {
101
- var t = this.__data__, a = Le(t, e);
102
- if (a < 0)
103
- return !1;
104
- var i = t.length - 1;
105
- return a == i ? t.pop() : ti.call(t, a, 1), --this.size, !0;
106
- }
107
- function ii(e) {
108
- var t = this.__data__, a = Le(t, e);
109
- return a < 0 ? void 0 : t[a][1];
110
- }
111
- function ni(e) {
112
- return Le(this.__data__, e) > -1;
113
- }
114
- function oi(e, t) {
115
- var a = this.__data__, i = Le(a, e);
116
- return i < 0 ? (++this.size, a.push([e, t])) : a[i][1] = t, this;
117
- }
118
- function ae(e) {
119
- var t = -1, a = e == null ? 0 : e.length;
120
- for (this.clear(); ++t < a; ) {
121
- var i = e[t];
122
- this.set(i[0], i[1]);
123
- }
124
- }
125
- ae.prototype.clear = Qa;
126
- ae.prototype.delete = ai;
127
- ae.prototype.get = ii;
128
- ae.prototype.has = ni;
129
- ae.prototype.set = oi;
130
- function ri() {
131
- this.__data__ = new ae(), this.size = 0;
132
- }
133
- function pi(e) {
134
- var t = this.__data__, a = t.delete(e);
135
- return this.size = t.size, a;
136
- }
137
- function ci(e) {
138
- return this.__data__.get(e);
139
- }
140
- function li(e) {
141
- return this.__data__.has(e);
142
- }
143
- function Ue(e) {
144
- var t = typeof e;
145
- return e != null && (t == "object" || t == "function");
146
- }
147
- var si = "[object AsyncFunction]", di = "[object Function]", ui = "[object GeneratorFunction]", fi = "[object Proxy]";
148
- function oa(e) {
149
- if (!Ue(e))
150
- return !1;
151
- var t = Ee(e);
152
- return t == di || t == ui || t == si || t == fi;
153
- }
154
- var Xe = ge["__core-js_shared__"], yt = function() {
155
- var e = /[^.]+$/.exec(Xe && Xe.keys && Xe.keys.IE_PROTO || "");
156
- return e ? "Symbol(src)_1." + e : "";
157
- }();
158
- function mi(e) {
159
- return !!yt && yt in e;
160
- }
161
- var vi = Function.prototype, xi = vi.toString;
162
- function gi(e) {
163
- if (e != null) {
164
- try {
165
- return xi.call(e);
166
- } catch {
167
- }
168
- try {
169
- return e + "";
170
- } catch {
171
- }
172
- }
173
- return "";
174
- }
175
- var yi = /[\\^$.*+?()[\]{}|]/g, hi = /^\[object .+?Constructor\]$/, bi = Function.prototype, wi = Object.prototype, ji = bi.toString, _i = wi.hasOwnProperty, ki = RegExp(
176
- "^" + ji.call(_i).replace(yi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
177
- );
178
- function Ei(e) {
179
- if (!Ue(e) || mi(e))
180
- return !1;
181
- var t = oa(e) ? ki : hi;
182
- return t.test(gi(e));
183
- }
184
- function Ti(e, t) {
185
- return e == null ? void 0 : e[t];
186
- }
187
- function ft(e, t) {
188
- var a = Ti(e, t);
189
- return Ei(a) ? a : void 0;
190
- }
191
- var ra = ft(ge, "Map"), _e = ft(Object, "create");
192
- function Oi() {
193
- this.__data__ = _e ? _e(null) : {}, this.size = 0;
194
- }
195
- function Ai(e) {
196
- var t = this.has(e) && delete this.__data__[e];
197
- return this.size -= t ? 1 : 0, t;
198
- }
199
- var Si = "__lodash_hash_undefined__", Pi = Object.prototype, Di = Pi.hasOwnProperty;
200
- function zi(e) {
201
- var t = this.__data__;
202
- if (_e) {
203
- var a = t[e];
204
- return a === Si ? void 0 : a;
205
- }
206
- return Di.call(t, e) ? t[e] : void 0;
207
- }
208
- var Ci = Object.prototype, Ri = Ci.hasOwnProperty;
209
- function Ii(e) {
210
- var t = this.__data__;
211
- return _e ? t[e] !== void 0 : Ri.call(t, e);
212
- }
213
- var Fi = "__lodash_hash_undefined__";
214
- function $i(e, t) {
215
- var a = this.__data__;
216
- return this.size += this.has(e) ? 0 : 1, a[e] = _e && t === void 0 ? Fi : t, this;
217
- }
218
- function de(e) {
219
- var t = -1, a = e == null ? 0 : e.length;
220
- for (this.clear(); ++t < a; ) {
221
- var i = e[t];
222
- this.set(i[0], i[1]);
223
- }
224
- }
225
- de.prototype.clear = Oi;
226
- de.prototype.delete = Ai;
227
- de.prototype.get = zi;
228
- de.prototype.has = Ii;
229
- de.prototype.set = $i;
230
- function qi() {
231
- this.size = 0, this.__data__ = {
232
- hash: new de(),
233
- map: new (ra || ae)(),
234
- string: new de()
235
- };
236
- }
237
- function Mi(e) {
238
- var t = typeof e;
239
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
240
- }
241
- function We(e, t) {
242
- var a = e.__data__;
243
- return Mi(t) ? a[typeof t == "string" ? "string" : "hash"] : a.map;
244
- }
245
- function Li(e) {
246
- var t = We(this, e).delete(e);
247
- return this.size -= t ? 1 : 0, t;
248
- }
249
- function Ui(e) {
250
- return We(this, e).get(e);
251
- }
252
- function Wi(e) {
253
- return We(this, e).has(e);
254
- }
255
- function Yi(e, t) {
256
- var a = We(this, e), i = a.size;
257
- return a.set(e, t), this.size += a.size == i ? 0 : 1, this;
258
- }
259
- function ye(e) {
260
- var t = -1, a = e == null ? 0 : e.length;
261
- for (this.clear(); ++t < a; ) {
262
- var i = e[t];
263
- this.set(i[0], i[1]);
264
- }
265
- }
266
- ye.prototype.clear = qi;
267
- ye.prototype.delete = Li;
268
- ye.prototype.get = Ui;
269
- ye.prototype.has = Wi;
270
- ye.prototype.set = Yi;
271
- var Bi = 200;
272
- function Hi(e, t) {
273
- var a = this.__data__;
274
- if (a instanceof ae) {
275
- var i = a.__data__;
276
- if (!ra || i.length < Bi - 1)
277
- return i.push([e, t]), this.size = ++a.size, this;
278
- a = this.__data__ = new ye(i);
279
- }
280
- return a.set(e, t), this.size = a.size, this;
281
- }
282
- function Oe(e) {
283
- var t = this.__data__ = new ae(e);
284
- this.size = t.size;
285
- }
286
- Oe.prototype.clear = ri;
287
- Oe.prototype.delete = pi;
288
- Oe.prototype.get = ci;
289
- Oe.prototype.has = li;
290
- Oe.prototype.set = Hi;
291
- var ht = function() {
292
- try {
293
- var e = ft(Object, "defineProperty");
294
- return e({}, "", {}), e;
295
- } catch {
296
- }
297
- }();
298
- function pa(e, t, a) {
299
- t == "__proto__" && ht ? ht(e, t, {
300
- configurable: !0,
301
- enumerable: !0,
302
- value: a,
303
- writable: !0
304
- }) : e[t] = a;
305
- }
306
- var Gi = Object.prototype, Ki = Gi.hasOwnProperty;
307
- function Ni(e, t, a) {
308
- var i = e[t];
309
- (!(Ki.call(e, t) && na(i, a)) || a === void 0 && !(t in e)) && pa(e, t, a);
310
- }
311
- function cr(e, t, a, i) {
312
- var n = !a;
313
- a || (a = {});
314
- for (var o = -1, l = t.length; ++o < l; ) {
315
- var p = t[o], v = void 0;
316
- v === void 0 && (v = e[p]), n ? pa(a, p, v) : Ni(a, p, v);
317
- }
318
- return a;
319
- }
320
- function Vi(e, t) {
321
- for (var a = -1, i = Array(e); ++a < e; )
322
- i[a] = t(a);
323
- return i;
324
- }
325
- var Zi = "[object Arguments]";
326
- function bt(e) {
327
- return Te(e) && Ee(e) == Zi;
328
- }
329
- var ca = Object.prototype, Ji = ca.hasOwnProperty, Xi = ca.propertyIsEnumerable, Qi = bt(/* @__PURE__ */ function() {
330
- return arguments;
331
- }()) ? bt : function(e) {
332
- return Te(e) && Ji.call(e, "callee") && !Xi.call(e, "callee");
333
- }, en = Array.isArray;
334
- function tn() {
335
- return !1;
336
- }
337
- var la = typeof exports == "object" && exports && !exports.nodeType && exports, wt = la && typeof module == "object" && module && !module.nodeType && module, an = wt && wt.exports === la, jt = an ? ge.Buffer : void 0, nn = jt ? jt.isBuffer : void 0, on = nn || tn, rn = 9007199254740991, pn = /^(?:0|[1-9]\d*)$/;
338
- function cn(e, t) {
339
- var a = typeof e;
340
- return t = t ?? rn, !!t && (a == "number" || a != "symbol" && pn.test(e)) && e > -1 && e % 1 == 0 && e < t;
341
- }
342
- var ln = 9007199254740991;
343
- function sa(e) {
344
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ln;
345
- }
346
- var sn = "[object Arguments]", dn = "[object Array]", un = "[object Boolean]", fn = "[object Date]", mn = "[object Error]", vn = "[object Function]", xn = "[object Map]", gn = "[object Number]", yn = "[object Object]", hn = "[object RegExp]", bn = "[object Set]", wn = "[object String]", jn = "[object WeakMap]", _n = "[object ArrayBuffer]", kn = "[object DataView]", En = "[object Float32Array]", Tn = "[object Float64Array]", On = "[object Int8Array]", An = "[object Int16Array]", Sn = "[object Int32Array]", Pn = "[object Uint8Array]", Dn = "[object Uint8ClampedArray]", zn = "[object Uint16Array]", Cn = "[object Uint32Array]", z = {};
347
- z[En] = z[Tn] = z[On] = z[An] = z[Sn] = z[Pn] = z[Dn] = z[zn] = z[Cn] = !0;
348
- z[sn] = z[dn] = z[_n] = z[un] = z[kn] = z[fn] = z[mn] = z[vn] = z[xn] = z[gn] = z[yn] = z[hn] = z[bn] = z[wn] = z[jn] = !1;
349
- function Rn(e) {
350
- return Te(e) && sa(e.length) && !!z[Ee(e)];
351
- }
352
- function In(e) {
353
- return function(t) {
354
- return e(t);
355
- };
356
- }
357
- var da = typeof exports == "object" && exports && !exports.nodeType && exports, je = da && typeof module == "object" && module && !module.nodeType && module, Fn = je && je.exports === da, Qe = Fn && ea.process, _t = function() {
358
- try {
359
- var e = je && je.require && je.require("util").types;
360
- return e || Qe && Qe.binding && Qe.binding("util");
361
- } catch {
362
- }
363
- }(), kt = _t && _t.isTypedArray, $n = kt ? In(kt) : Rn, qn = Object.prototype, Mn = qn.hasOwnProperty;
364
- function Ln(e, t) {
365
- var a = en(e), i = !a && Qi(e), n = !a && !i && on(e), o = !a && !i && !n && $n(e), l = a || i || n || o, p = l ? Vi(e.length, String) : [], v = p.length;
366
- for (var x in e)
367
- (t || Mn.call(e, x)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
368
- (x == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
369
- n && (x == "offset" || x == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
370
- o && (x == "buffer" || x == "byteLength" || x == "byteOffset") || // Skip index properties.
371
- cn(x, v))) && p.push(x);
372
- return p;
373
- }
374
- var Un = Object.prototype;
375
- function ua(e) {
376
- var t = e && e.constructor, a = typeof t == "function" && t.prototype || Un;
377
- return e === a;
378
- }
379
- function Wn(e) {
380
- return e != null && sa(e.length) && !oa(e);
381
- }
382
- function Yn(e) {
383
- var t = [];
384
- if (e != null)
385
- for (var a in Object(e))
386
- t.push(a);
387
- return t;
388
- }
389
- var Bn = Object.prototype, Hn = Bn.hasOwnProperty;
390
- function Gn(e) {
391
- if (!Ue(e))
392
- return Yn(e);
393
- var t = ua(e), a = [];
394
- for (var i in e)
395
- i == "constructor" && (t || !Hn.call(e, i)) || a.push(i);
396
- return a;
397
- }
398
- function lr(e) {
399
- return Wn(e) ? Ln(e, !0) : Gn(e);
400
- }
401
- var fa = typeof exports == "object" && exports && !exports.nodeType && exports, Et = fa && typeof module == "object" && module && !module.nodeType && module, Kn = Et && Et.exports === fa, Tt = Kn ? ge.Buffer : void 0, Ot = Tt ? Tt.allocUnsafe : void 0;
402
- function sr(e, t) {
403
- if (t)
404
- return e.slice();
405
- var a = e.length, i = Ot ? Ot(a) : new e.constructor(a);
406
- return e.copy(i), i;
407
- }
408
- function dr(e, t) {
409
- var a = -1, i = e.length;
410
- for (t || (t = Array(i)); ++a < i; )
411
- t[a] = e[a];
412
- return t;
413
- }
414
- var At = ge.Uint8Array;
415
- function Nn(e) {
416
- var t = new e.constructor(e.byteLength);
417
- return new At(t).set(new At(e)), t;
418
- }
419
- function ur(e, t) {
420
- var a = t ? Nn(e.buffer) : e.buffer;
421
- return new e.constructor(a, e.byteOffset, e.length);
422
- }
423
- var St = Object.create, Vn = /* @__PURE__ */ function() {
424
- function e() {
425
- }
426
- return function(t) {
427
- if (!Ue(t))
428
- return {};
429
- if (St)
430
- return St(t);
431
- e.prototype = t;
432
- var a = new e();
433
- return e.prototype = void 0, a;
434
- };
435
- }();
436
- function fr(e) {
437
- return typeof e.constructor == "function" && !ua(e) ? Vn(aa(e)) : {};
438
- }
439
- var Zn = "[object Symbol]";
440
- function mr(e) {
441
- return typeof e == "symbol" || Te(e) && Ee(e) == Zn;
442
- }
443
- var ze = { exports: {} }, O = {};
444
- /** @license React v16.13.1
445
- * react-is.production.min.js
446
- *
447
- * Copyright (c) Facebook, Inc. and its affiliates.
448
- *
449
- * This source code is licensed under the MIT license found in the
450
- * LICENSE file in the root directory of this source tree.
451
- */
452
- var Pt;
453
- function Jn() {
454
- if (Pt) return O;
455
- Pt = 1;
456
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, x = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, D = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, H = e ? Symbol.for("react.responder") : 60118, ie = e ? Symbol.for("react.scope") : 60119;
457
- function F(d) {
458
- if (typeof d == "object" && d !== null) {
459
- var J = d.$$typeof;
460
- switch (J) {
461
- case t:
462
- switch (d = d.type, d) {
463
- case v:
464
- case x:
465
- case i:
466
- case o:
467
- case n:
468
- case j:
469
- return d;
470
- default:
471
- switch (d = d && d.$$typeof, d) {
472
- case p:
473
- case y:
474
- case L:
475
- case C:
476
- case l:
477
- return d;
478
- default:
479
- return J;
480
- }
481
- }
482
- case a:
483
- return J;
484
- }
485
- }
486
- }
487
- function $(d) {
488
- return F(d) === x;
489
- }
490
- return O.AsyncMode = v, O.ConcurrentMode = x, O.ContextConsumer = p, O.ContextProvider = l, O.Element = t, O.ForwardRef = y, O.Fragment = i, O.Lazy = L, O.Memo = C, O.Portal = a, O.Profiler = o, O.StrictMode = n, O.Suspense = j, O.isAsyncMode = function(d) {
491
- return $(d) || F(d) === v;
492
- }, O.isConcurrentMode = $, O.isContextConsumer = function(d) {
493
- return F(d) === p;
494
- }, O.isContextProvider = function(d) {
495
- return F(d) === l;
496
- }, O.isElement = function(d) {
497
- return typeof d == "object" && d !== null && d.$$typeof === t;
498
- }, O.isForwardRef = function(d) {
499
- return F(d) === y;
500
- }, O.isFragment = function(d) {
501
- return F(d) === i;
502
- }, O.isLazy = function(d) {
503
- return F(d) === L;
504
- }, O.isMemo = function(d) {
505
- return F(d) === C;
506
- }, O.isPortal = function(d) {
507
- return F(d) === a;
508
- }, O.isProfiler = function(d) {
509
- return F(d) === o;
510
- }, O.isStrictMode = function(d) {
511
- return F(d) === n;
512
- }, O.isSuspense = function(d) {
513
- return F(d) === j;
514
- }, O.isValidElementType = function(d) {
515
- return typeof d == "string" || typeof d == "function" || d === i || d === x || d === o || d === n || d === j || d === D || typeof d == "object" && d !== null && (d.$$typeof === L || d.$$typeof === C || d.$$typeof === l || d.$$typeof === p || d.$$typeof === y || d.$$typeof === q || d.$$typeof === H || d.$$typeof === ie || d.$$typeof === S);
516
- }, O.typeOf = F, O;
517
- }
518
- var A = {};
519
- /** @license React v16.13.1
520
- * react-is.development.js
521
- *
522
- * Copyright (c) Facebook, Inc. and its affiliates.
523
- *
524
- * This source code is licensed under the MIT license found in the
525
- * LICENSE file in the root directory of this source tree.
526
- */
527
- var Dt;
528
- function Xn() {
529
- return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && function() {
530
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, a = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, p = e ? Symbol.for("react.context") : 60110, v = e ? Symbol.for("react.async_mode") : 60111, x = e ? Symbol.for("react.concurrent_mode") : 60111, y = e ? Symbol.for("react.forward_ref") : 60112, j = e ? Symbol.for("react.suspense") : 60113, D = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, L = e ? Symbol.for("react.lazy") : 60116, S = e ? Symbol.for("react.block") : 60121, q = e ? Symbol.for("react.fundamental") : 60117, H = e ? Symbol.for("react.responder") : 60118, ie = e ? Symbol.for("react.scope") : 60119;
531
- function F(c) {
532
- return typeof c == "string" || typeof c == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
533
- c === i || c === x || c === o || c === n || c === j || c === D || typeof c == "object" && c !== null && (c.$$typeof === L || c.$$typeof === C || c.$$typeof === l || c.$$typeof === p || c.$$typeof === y || c.$$typeof === q || c.$$typeof === H || c.$$typeof === ie || c.$$typeof === S);
534
- }
535
- function $(c) {
536
- if (typeof c == "object" && c !== null) {
537
- var G = c.$$typeof;
538
- switch (G) {
539
- case t:
540
- var le = c.type;
541
- switch (le) {
542
- case v:
543
- case x:
544
- case i:
545
- case o:
546
- case n:
547
- case j:
548
- return le;
549
- default:
550
- var he = le && le.$$typeof;
551
- switch (he) {
552
- case p:
553
- case y:
554
- case L:
555
- case C:
556
- case l:
557
- return he;
558
- default:
559
- return G;
560
- }
561
- }
562
- case a:
563
- return G;
564
- }
565
- }
566
- }
567
- var d = v, J = x, Z = p, re = l, ee = t, te = y, pe = i, ce = L, ne = C, I = a, B = o, N = n, X = j, oe = !1;
568
- function Y(c) {
569
- return oe || (oe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), r(c) || $(c) === v;
570
- }
571
- function r(c) {
572
- return $(c) === x;
573
- }
574
- function u(c) {
575
- return $(c) === p;
576
- }
577
- function h(c) {
578
- return $(c) === l;
579
- }
580
- function b(c) {
581
- return typeof c == "object" && c !== null && c.$$typeof === t;
582
- }
583
- function m(c) {
584
- return $(c) === y;
585
- }
586
- function k(c) {
587
- return $(c) === i;
588
- }
589
- function g(c) {
590
- return $(c) === L;
591
- }
592
- function w(c) {
593
- return $(c) === C;
594
- }
595
- function E(c) {
596
- return $(c) === a;
597
- }
598
- function T(c) {
599
- return $(c) === o;
600
- }
601
- function _(c) {
602
- return $(c) === n;
603
- }
604
- function U(c) {
605
- return $(c) === j;
606
- }
607
- A.AsyncMode = d, A.ConcurrentMode = J, A.ContextConsumer = Z, A.ContextProvider = re, A.Element = ee, A.ForwardRef = te, A.Fragment = pe, A.Lazy = ce, A.Memo = ne, A.Portal = I, A.Profiler = B, A.StrictMode = N, A.Suspense = X, A.isAsyncMode = Y, A.isConcurrentMode = r, A.isContextConsumer = u, A.isContextProvider = h, A.isElement = b, A.isForwardRef = m, A.isFragment = k, A.isLazy = g, A.isMemo = w, A.isPortal = E, A.isProfiler = T, A.isStrictMode = _, A.isSuspense = U, A.isValidElementType = F, A.typeOf = $;
608
- }()), A;
609
- }
610
- var zt;
611
- function ma() {
612
- return zt || (zt = 1, process.env.NODE_ENV === "production" ? ze.exports = Jn() : ze.exports = Xn()), ze.exports;
613
- }
614
- var Ce = { exports: {} };
615
- /*
616
- object-assign
617
- (c) Sindre Sorhus
618
- @license MIT
619
- */
620
- var et, Ct;
621
- function Qn() {
622
- if (Ct) return et;
623
- Ct = 1;
624
- var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
625
- function i(o) {
626
- if (o == null)
627
- throw new TypeError("Object.assign cannot be called with null or undefined");
628
- return Object(o);
629
- }
630
- function n() {
631
- try {
632
- if (!Object.assign)
633
- return !1;
634
- var o = new String("abc");
635
- if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
636
- return !1;
637
- for (var l = {}, p = 0; p < 10; p++)
638
- l["_" + String.fromCharCode(p)] = p;
639
- var v = Object.getOwnPropertyNames(l).map(function(y) {
640
- return l[y];
641
- });
642
- if (v.join("") !== "0123456789")
643
- return !1;
644
- var x = {};
645
- return "abcdefghijklmnopqrst".split("").forEach(function(y) {
646
- x[y] = y;
647
- }), Object.keys(Object.assign({}, x)).join("") === "abcdefghijklmnopqrst";
648
- } catch {
649
- return !1;
650
- }
651
- }
652
- return et = n() ? Object.assign : function(o, l) {
653
- for (var p, v = i(o), x, y = 1; y < arguments.length; y++) {
654
- p = Object(arguments[y]);
655
- for (var j in p)
656
- t.call(p, j) && (v[j] = p[j]);
657
- if (e) {
658
- x = e(p);
659
- for (var D = 0; D < x.length; D++)
660
- a.call(p, x[D]) && (v[x[D]] = p[x[D]]);
661
- }
662
- }
663
- return v;
664
- }, et;
665
- }
666
- var tt, Rt;
667
- function mt() {
668
- if (Rt) return tt;
669
- Rt = 1;
670
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
671
- return tt = e, tt;
672
- }
673
- var at, It;
674
- function va() {
675
- return It || (It = 1, at = Function.call.bind(Object.prototype.hasOwnProperty)), at;
676
- }
677
- var it, Ft;
678
- function eo() {
679
- if (Ft) return it;
680
- Ft = 1;
681
- var e = function() {
682
- };
683
- if (process.env.NODE_ENV !== "production") {
684
- var t = /* @__PURE__ */ mt(), a = {}, i = /* @__PURE__ */ va();
685
- e = function(o) {
686
- var l = "Warning: " + o;
687
- typeof console < "u" && console.error(l);
688
- try {
689
- throw new Error(l);
690
- } catch {
691
- }
692
- };
693
- }
694
- function n(o, l, p, v, x) {
695
- if (process.env.NODE_ENV !== "production") {
696
- for (var y in o)
697
- if (i(o, y)) {
698
- var j;
699
- try {
700
- if (typeof o[y] != "function") {
701
- var D = Error(
702
- (v || "React class") + ": " + p + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
703
- );
704
- throw D.name = "Invariant Violation", D;
705
- }
706
- j = o[y](l, y, v, p, null, t);
707
- } catch (L) {
708
- j = L;
709
- }
710
- if (j && !(j instanceof Error) && e(
711
- (v || "React class") + ": type specification of " + p + " `" + y + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof j + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
712
- ), j instanceof Error && !(j.message in a)) {
713
- a[j.message] = !0;
714
- var C = x ? x() : "";
715
- e(
716
- "Failed " + p + " type: " + j.message + (C ?? "")
717
- );
718
- }
719
- }
720
- }
721
- }
722
- return n.resetWarningCache = function() {
723
- process.env.NODE_ENV !== "production" && (a = {});
724
- }, it = n, it;
725
- }
726
- var nt, $t;
727
- function to() {
728
- if ($t) return nt;
729
- $t = 1;
730
- var e = ma(), t = Qn(), a = /* @__PURE__ */ mt(), i = /* @__PURE__ */ va(), n = /* @__PURE__ */ eo(), o = function() {
731
- };
732
- process.env.NODE_ENV !== "production" && (o = function(p) {
733
- var v = "Warning: " + p;
734
- typeof console < "u" && console.error(v);
735
- try {
736
- throw new Error(v);
737
- } catch {
738
- }
739
- });
740
- function l() {
741
- return null;
742
- }
743
- return nt = function(p, v) {
744
- var x = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
745
- function j(r) {
746
- var u = r && (x && r[x] || r[y]);
747
- if (typeof u == "function")
748
- return u;
749
- }
750
- var D = "<<anonymous>>", C = {
751
- array: H("array"),
752
- bigint: H("bigint"),
753
- bool: H("boolean"),
754
- func: H("function"),
755
- number: H("number"),
756
- object: H("object"),
757
- string: H("string"),
758
- symbol: H("symbol"),
759
- any: ie(),
760
- arrayOf: F,
761
- element: $(),
762
- elementType: d(),
763
- instanceOf: J,
764
- node: te(),
765
- objectOf: re,
766
- oneOf: Z,
767
- oneOfType: ee,
768
- shape: ce,
769
- exact: ne
770
- };
771
- function L(r, u) {
772
- return r === u ? r !== 0 || 1 / r === 1 / u : r !== r && u !== u;
773
- }
774
- function S(r, u) {
775
- this.message = r, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
776
- }
777
- S.prototype = Error.prototype;
778
- function q(r) {
779
- if (process.env.NODE_ENV !== "production")
780
- var u = {}, h = 0;
781
- function b(k, g, w, E, T, _, U) {
782
- if (E = E || D, _ = _ || w, U !== a) {
783
- if (v) {
784
- var c = new Error(
785
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
786
- );
787
- throw c.name = "Invariant Violation", c;
788
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
789
- var G = E + ":" + w;
790
- !u[G] && // Avoid spamming the console because they are often not actionable except for lib authors
791
- h < 3 && (o(
792
- "You are manually calling a React.PropTypes validation function for the `" + _ + "` prop on `" + E + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
793
- ), u[G] = !0, h++);
794
- }
795
- }
796
- return g[w] == null ? k ? g[w] === null ? new S("The " + T + " `" + _ + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new S("The " + T + " `" + _ + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null : r(g, w, E, T, _);
797
- }
798
- var m = b.bind(null, !1);
799
- return m.isRequired = b.bind(null, !0), m;
800
- }
801
- function H(r) {
802
- function u(h, b, m, k, g, w) {
803
- var E = h[b], T = N(E);
804
- if (T !== r) {
805
- var _ = X(E);
806
- return new S(
807
- "Invalid " + k + " `" + g + "` of type " + ("`" + _ + "` supplied to `" + m + "`, expected ") + ("`" + r + "`."),
808
- { expectedType: r }
809
- );
810
- }
811
- return null;
812
- }
813
- return q(u);
814
- }
815
- function ie() {
816
- return q(l);
817
- }
818
- function F(r) {
819
- function u(h, b, m, k, g) {
820
- if (typeof r != "function")
821
- return new S("Property `" + g + "` of component `" + m + "` has invalid PropType notation inside arrayOf.");
822
- var w = h[b];
823
- if (!Array.isArray(w)) {
824
- var E = N(w);
825
- return new S("Invalid " + k + " `" + g + "` of type " + ("`" + E + "` supplied to `" + m + "`, expected an array."));
826
- }
827
- for (var T = 0; T < w.length; T++) {
828
- var _ = r(w, T, m, k, g + "[" + T + "]", a);
829
- if (_ instanceof Error)
830
- return _;
831
- }
832
- return null;
833
- }
834
- return q(u);
835
- }
836
- function $() {
837
- function r(u, h, b, m, k) {
838
- var g = u[h];
839
- if (!p(g)) {
840
- var w = N(g);
841
- return new S("Invalid " + m + " `" + k + "` of type " + ("`" + w + "` supplied to `" + b + "`, expected a single ReactElement."));
842
- }
843
- return null;
844
- }
845
- return q(r);
846
- }
847
- function d() {
848
- function r(u, h, b, m, k) {
849
- var g = u[h];
850
- if (!e.isValidElementType(g)) {
851
- var w = N(g);
852
- return new S("Invalid " + m + " `" + k + "` of type " + ("`" + w + "` supplied to `" + b + "`, expected a single ReactElement type."));
853
- }
854
- return null;
855
- }
856
- return q(r);
857
- }
858
- function J(r) {
859
- function u(h, b, m, k, g) {
860
- if (!(h[b] instanceof r)) {
861
- var w = r.name || D, E = Y(h[b]);
862
- return new S("Invalid " + k + " `" + g + "` of type " + ("`" + E + "` supplied to `" + m + "`, expected ") + ("instance of `" + w + "`."));
863
- }
864
- return null;
865
- }
866
- return q(u);
867
- }
868
- function Z(r) {
869
- if (!Array.isArray(r))
870
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
871
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
872
- ) : o("Invalid argument supplied to oneOf, expected an array.")), l;
873
- function u(h, b, m, k, g) {
874
- for (var w = h[b], E = 0; E < r.length; E++)
875
- if (L(w, r[E]))
876
- return null;
877
- var T = JSON.stringify(r, function(U, c) {
878
- var G = X(c);
879
- return G === "symbol" ? String(c) : c;
880
- });
881
- return new S("Invalid " + k + " `" + g + "` of value `" + String(w) + "` " + ("supplied to `" + m + "`, expected one of " + T + "."));
882
- }
883
- return q(u);
884
- }
885
- function re(r) {
886
- function u(h, b, m, k, g) {
887
- if (typeof r != "function")
888
- return new S("Property `" + g + "` of component `" + m + "` has invalid PropType notation inside objectOf.");
889
- var w = h[b], E = N(w);
890
- if (E !== "object")
891
- return new S("Invalid " + k + " `" + g + "` of type " + ("`" + E + "` supplied to `" + m + "`, expected an object."));
892
- for (var T in w)
893
- if (i(w, T)) {
894
- var _ = r(w, T, m, k, g + "." + T, a);
895
- if (_ instanceof Error)
896
- return _;
897
- }
898
- return null;
899
- }
900
- return q(u);
901
- }
902
- function ee(r) {
903
- if (!Array.isArray(r))
904
- return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), l;
905
- for (var u = 0; u < r.length; u++) {
906
- var h = r[u];
907
- if (typeof h != "function")
908
- return o(
909
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + oe(h) + " at index " + u + "."
910
- ), l;
911
- }
912
- function b(m, k, g, w, E) {
913
- for (var T = [], _ = 0; _ < r.length; _++) {
914
- var U = r[_], c = U(m, k, g, w, E, a);
915
- if (c == null)
916
- return null;
917
- c.data && i(c.data, "expectedType") && T.push(c.data.expectedType);
918
- }
919
- var G = T.length > 0 ? ", expected one of type [" + T.join(", ") + "]" : "";
920
- return new S("Invalid " + w + " `" + E + "` supplied to " + ("`" + g + "`" + G + "."));
921
- }
922
- return q(b);
923
- }
924
- function te() {
925
- function r(u, h, b, m, k) {
926
- return I(u[h]) ? null : new S("Invalid " + m + " `" + k + "` supplied to " + ("`" + b + "`, expected a ReactNode."));
927
- }
928
- return q(r);
929
- }
930
- function pe(r, u, h, b, m) {
931
- return new S(
932
- (r || "React class") + ": " + u + " type `" + h + "." + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + m + "`."
933
- );
934
- }
935
- function ce(r) {
936
- function u(h, b, m, k, g) {
937
- var w = h[b], E = N(w);
938
- if (E !== "object")
939
- return new S("Invalid " + k + " `" + g + "` of type `" + E + "` " + ("supplied to `" + m + "`, expected `object`."));
940
- for (var T in r) {
941
- var _ = r[T];
942
- if (typeof _ != "function")
943
- return pe(m, k, g, T, X(_));
944
- var U = _(w, T, m, k, g + "." + T, a);
945
- if (U)
946
- return U;
947
- }
948
- return null;
949
- }
950
- return q(u);
951
- }
952
- function ne(r) {
953
- function u(h, b, m, k, g) {
954
- var w = h[b], E = N(w);
955
- if (E !== "object")
956
- return new S("Invalid " + k + " `" + g + "` of type `" + E + "` " + ("supplied to `" + m + "`, expected `object`."));
957
- var T = t({}, h[b], r);
958
- for (var _ in T) {
959
- var U = r[_];
960
- if (i(r, _) && typeof U != "function")
961
- return pe(m, k, g, _, X(U));
962
- if (!U)
963
- return new S(
964
- "Invalid " + k + " `" + g + "` key `" + _ + "` supplied to `" + m + "`.\nBad object: " + JSON.stringify(h[b], null, " ") + `
965
- Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
966
- );
967
- var c = U(w, _, m, k, g + "." + _, a);
968
- if (c)
969
- return c;
970
- }
971
- return null;
972
- }
973
- return q(u);
974
- }
975
- function I(r) {
976
- switch (typeof r) {
977
- case "number":
978
- case "string":
979
- case "undefined":
980
- return !0;
981
- case "boolean":
982
- return !r;
983
- case "object":
984
- if (Array.isArray(r))
985
- return r.every(I);
986
- if (r === null || p(r))
987
- return !0;
988
- var u = j(r);
989
- if (u) {
990
- var h = u.call(r), b;
991
- if (u !== r.entries) {
992
- for (; !(b = h.next()).done; )
993
- if (!I(b.value))
994
- return !1;
995
- } else
996
- for (; !(b = h.next()).done; ) {
997
- var m = b.value;
998
- if (m && !I(m[1]))
999
- return !1;
1000
- }
1001
- } else
1002
- return !1;
1003
- return !0;
1004
- default:
1005
- return !1;
1006
- }
1007
- }
1008
- function B(r, u) {
1009
- return r === "symbol" ? !0 : u ? u["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && u instanceof Symbol : !1;
1010
- }
1011
- function N(r) {
1012
- var u = typeof r;
1013
- return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : B(u, r) ? "symbol" : u;
1014
- }
1015
- function X(r) {
1016
- if (typeof r > "u" || r === null)
1017
- return "" + r;
1018
- var u = N(r);
1019
- if (u === "object") {
1020
- if (r instanceof Date)
1021
- return "date";
1022
- if (r instanceof RegExp)
1023
- return "regexp";
1024
- }
1025
- return u;
1026
- }
1027
- function oe(r) {
1028
- var u = X(r);
1029
- switch (u) {
1030
- case "array":
1031
- case "object":
1032
- return "an " + u;
1033
- case "boolean":
1034
- case "date":
1035
- case "regexp":
1036
- return "a " + u;
1037
- default:
1038
- return u;
1039
- }
1040
- }
1041
- function Y(r) {
1042
- return !r.constructor || !r.constructor.name ? D : r.constructor.name;
1043
- }
1044
- return C.checkPropTypes = n, C.resetWarningCache = n.resetWarningCache, C.PropTypes = C, C;
1045
- }, nt;
1046
- }
1047
- var ot, qt;
1048
- function ao() {
1049
- if (qt) return ot;
1050
- qt = 1;
1051
- var e = /* @__PURE__ */ mt();
1052
- function t() {
1053
- }
1054
- function a() {
1055
- }
1056
- return a.resetWarningCache = t, ot = function() {
1057
- function i(l, p, v, x, y, j) {
1058
- if (j !== e) {
1059
- var D = new Error(
1060
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1061
- );
1062
- throw D.name = "Invariant Violation", D;
1063
- }
1064
- }
1065
- i.isRequired = i;
1066
- function n() {
1067
- return i;
1068
- }
1069
- var o = {
1070
- array: i,
1071
- bigint: i,
1072
- bool: i,
1073
- func: i,
1074
- number: i,
1075
- object: i,
1076
- string: i,
1077
- symbol: i,
1078
- any: i,
1079
- arrayOf: n,
1080
- element: i,
1081
- elementType: i,
1082
- instanceOf: n,
1083
- node: i,
1084
- objectOf: n,
1085
- oneOf: n,
1086
- oneOfType: n,
1087
- shape: n,
1088
- exact: n,
1089
- checkPropTypes: a,
1090
- resetWarningCache: t
1091
- };
1092
- return o.PropTypes = o, o;
1093
- }, ot;
1094
- }
1095
- var Mt;
1096
- function io() {
1097
- if (Mt) return Ce.exports;
1098
- if (Mt = 1, process.env.NODE_ENV !== "production") {
1099
- var e = ma(), t = !0;
1100
- Ce.exports = /* @__PURE__ */ to()(e.isElement, t);
1101
- } else
1102
- Ce.exports = /* @__PURE__ */ ao()();
1103
- return Ce.exports;
1104
- }
1105
- var no = /* @__PURE__ */ io();
1106
- const P = /* @__PURE__ */ Qt(no);
1107
- function ue(e, t, a, i) {
1108
- function n(o) {
1109
- return o instanceof a ? o : new a(function(l) {
1110
- l(o);
1111
- });
1112
- }
1113
- return new (a || (a = Promise))(function(o, l) {
1114
- function p(y) {
1115
- try {
1116
- x(i.next(y));
1117
- } catch (j) {
1118
- l(j);
1119
- }
1120
- }
1121
- function v(y) {
1122
- try {
1123
- x(i.throw(y));
1124
- } catch (j) {
1125
- l(j);
1126
- }
1127
- }
1128
- function x(y) {
1129
- y.done ? o(y.value) : n(y.value).then(p, v);
1130
- }
1131
- x((i = i.apply(e, t || [])).next());
1132
- });
1133
- }
1134
- const oo = /* @__PURE__ */ new Map([
1135
- // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
1136
- ["1km", "application/vnd.1000minds.decision-model+xml"],
1137
- ["3dml", "text/vnd.in3d.3dml"],
1138
- ["3ds", "image/x-3ds"],
1139
- ["3g2", "video/3gpp2"],
1140
- ["3gp", "video/3gp"],
1141
- ["3gpp", "video/3gpp"],
1142
- ["3mf", "model/3mf"],
1143
- ["7z", "application/x-7z-compressed"],
1144
- ["7zip", "application/x-7z-compressed"],
1145
- ["123", "application/vnd.lotus-1-2-3"],
1146
- ["aab", "application/x-authorware-bin"],
1147
- ["aac", "audio/x-acc"],
1148
- ["aam", "application/x-authorware-map"],
1149
- ["aas", "application/x-authorware-seg"],
1150
- ["abw", "application/x-abiword"],
1151
- ["ac", "application/vnd.nokia.n-gage.ac+xml"],
1152
- ["ac3", "audio/ac3"],
1153
- ["acc", "application/vnd.americandynamics.acc"],
1154
- ["ace", "application/x-ace-compressed"],
1155
- ["acu", "application/vnd.acucobol"],
1156
- ["acutc", "application/vnd.acucorp"],
1157
- ["adp", "audio/adpcm"],
1158
- ["aep", "application/vnd.audiograph"],
1159
- ["afm", "application/x-font-type1"],
1160
- ["afp", "application/vnd.ibm.modcap"],
1161
- ["ahead", "application/vnd.ahead.space"],
1162
- ["ai", "application/pdf"],
1163
- ["aif", "audio/x-aiff"],
1164
- ["aifc", "audio/x-aiff"],
1165
- ["aiff", "audio/x-aiff"],
1166
- ["air", "application/vnd.adobe.air-application-installer-package+zip"],
1167
- ["ait", "application/vnd.dvb.ait"],
1168
- ["ami", "application/vnd.amiga.ami"],
1169
- ["amr", "audio/amr"],
1170
- ["apk", "application/vnd.android.package-archive"],
1171
- ["apng", "image/apng"],
1172
- ["appcache", "text/cache-manifest"],
1173
- ["application", "application/x-ms-application"],
1174
- ["apr", "application/vnd.lotus-approach"],
1175
- ["arc", "application/x-freearc"],
1176
- ["arj", "application/x-arj"],
1177
- ["asc", "application/pgp-signature"],
1178
- ["asf", "video/x-ms-asf"],
1179
- ["asm", "text/x-asm"],
1180
- ["aso", "application/vnd.accpac.simply.aso"],
1181
- ["asx", "video/x-ms-asf"],
1182
- ["atc", "application/vnd.acucorp"],
1183
- ["atom", "application/atom+xml"],
1184
- ["atomcat", "application/atomcat+xml"],
1185
- ["atomdeleted", "application/atomdeleted+xml"],
1186
- ["atomsvc", "application/atomsvc+xml"],
1187
- ["atx", "application/vnd.antix.game-component"],
1188
- ["au", "audio/x-au"],
1189
- ["avi", "video/x-msvideo"],
1190
- ["avif", "image/avif"],
1191
- ["aw", "application/applixware"],
1192
- ["azf", "application/vnd.airzip.filesecure.azf"],
1193
- ["azs", "application/vnd.airzip.filesecure.azs"],
1194
- ["azv", "image/vnd.airzip.accelerator.azv"],
1195
- ["azw", "application/vnd.amazon.ebook"],
1196
- ["b16", "image/vnd.pco.b16"],
1197
- ["bat", "application/x-msdownload"],
1198
- ["bcpio", "application/x-bcpio"],
1199
- ["bdf", "application/x-font-bdf"],
1200
- ["bdm", "application/vnd.syncml.dm+wbxml"],
1201
- ["bdoc", "application/x-bdoc"],
1202
- ["bed", "application/vnd.realvnc.bed"],
1203
- ["bh2", "application/vnd.fujitsu.oasysprs"],
1204
- ["bin", "application/octet-stream"],
1205
- ["blb", "application/x-blorb"],
1206
- ["blorb", "application/x-blorb"],
1207
- ["bmi", "application/vnd.bmi"],
1208
- ["bmml", "application/vnd.balsamiq.bmml+xml"],
1209
- ["bmp", "image/bmp"],
1210
- ["book", "application/vnd.framemaker"],
1211
- ["box", "application/vnd.previewsystems.box"],
1212
- ["boz", "application/x-bzip2"],
1213
- ["bpk", "application/octet-stream"],
1214
- ["bpmn", "application/octet-stream"],
1215
- ["bsp", "model/vnd.valve.source.compiled-map"],
1216
- ["btif", "image/prs.btif"],
1217
- ["buffer", "application/octet-stream"],
1218
- ["bz", "application/x-bzip"],
1219
- ["bz2", "application/x-bzip2"],
1220
- ["c", "text/x-c"],
1221
- ["c4d", "application/vnd.clonk.c4group"],
1222
- ["c4f", "application/vnd.clonk.c4group"],
1223
- ["c4g", "application/vnd.clonk.c4group"],
1224
- ["c4p", "application/vnd.clonk.c4group"],
1225
- ["c4u", "application/vnd.clonk.c4group"],
1226
- ["c11amc", "application/vnd.cluetrust.cartomobile-config"],
1227
- ["c11amz", "application/vnd.cluetrust.cartomobile-config-pkg"],
1228
- ["cab", "application/vnd.ms-cab-compressed"],
1229
- ["caf", "audio/x-caf"],
1230
- ["cap", "application/vnd.tcpdump.pcap"],
1231
- ["car", "application/vnd.curl.car"],
1232
- ["cat", "application/vnd.ms-pki.seccat"],
1233
- ["cb7", "application/x-cbr"],
1234
- ["cba", "application/x-cbr"],
1235
- ["cbr", "application/x-cbr"],
1236
- ["cbt", "application/x-cbr"],
1237
- ["cbz", "application/x-cbr"],
1238
- ["cc", "text/x-c"],
1239
- ["cco", "application/x-cocoa"],
1240
- ["cct", "application/x-director"],
1241
- ["ccxml", "application/ccxml+xml"],
1242
- ["cdbcmsg", "application/vnd.contact.cmsg"],
1243
- ["cda", "application/x-cdf"],
1244
- ["cdf", "application/x-netcdf"],
1245
- ["cdfx", "application/cdfx+xml"],
1246
- ["cdkey", "application/vnd.mediastation.cdkey"],
1247
- ["cdmia", "application/cdmi-capability"],
1248
- ["cdmic", "application/cdmi-container"],
1249
- ["cdmid", "application/cdmi-domain"],
1250
- ["cdmio", "application/cdmi-object"],
1251
- ["cdmiq", "application/cdmi-queue"],
1252
- ["cdr", "application/cdr"],
1253
- ["cdx", "chemical/x-cdx"],
1254
- ["cdxml", "application/vnd.chemdraw+xml"],
1255
- ["cdy", "application/vnd.cinderella"],
1256
- ["cer", "application/pkix-cert"],
1257
- ["cfs", "application/x-cfs-compressed"],
1258
- ["cgm", "image/cgm"],
1259
- ["chat", "application/x-chat"],
1260
- ["chm", "application/vnd.ms-htmlhelp"],
1261
- ["chrt", "application/vnd.kde.kchart"],
1262
- ["cif", "chemical/x-cif"],
1263
- ["cii", "application/vnd.anser-web-certificate-issue-initiation"],
1264
- ["cil", "application/vnd.ms-artgalry"],
1265
- ["cjs", "application/node"],
1266
- ["cla", "application/vnd.claymore"],
1267
- ["class", "application/octet-stream"],
1268
- ["clkk", "application/vnd.crick.clicker.keyboard"],
1269
- ["clkp", "application/vnd.crick.clicker.palette"],
1270
- ["clkt", "application/vnd.crick.clicker.template"],
1271
- ["clkw", "application/vnd.crick.clicker.wordbank"],
1272
- ["clkx", "application/vnd.crick.clicker"],
1273
- ["clp", "application/x-msclip"],
1274
- ["cmc", "application/vnd.cosmocaller"],
1275
- ["cmdf", "chemical/x-cmdf"],
1276
- ["cml", "chemical/x-cml"],
1277
- ["cmp", "application/vnd.yellowriver-custom-menu"],
1278
- ["cmx", "image/x-cmx"],
1279
- ["cod", "application/vnd.rim.cod"],
1280
- ["coffee", "text/coffeescript"],
1281
- ["com", "application/x-msdownload"],
1282
- ["conf", "text/plain"],
1283
- ["cpio", "application/x-cpio"],
1284
- ["cpp", "text/x-c"],
1285
- ["cpt", "application/mac-compactpro"],
1286
- ["crd", "application/x-mscardfile"],
1287
- ["crl", "application/pkix-crl"],
1288
- ["crt", "application/x-x509-ca-cert"],
1289
- ["crx", "application/x-chrome-extension"],
1290
- ["cryptonote", "application/vnd.rig.cryptonote"],
1291
- ["csh", "application/x-csh"],
1292
- ["csl", "application/vnd.citationstyles.style+xml"],
1293
- ["csml", "chemical/x-csml"],
1294
- ["csp", "application/vnd.commonspace"],
1295
- ["csr", "application/octet-stream"],
1296
- ["css", "text/css"],
1297
- ["cst", "application/x-director"],
1298
- ["csv", "text/csv"],
1299
- ["cu", "application/cu-seeme"],
1300
- ["curl", "text/vnd.curl"],
1301
- ["cww", "application/prs.cww"],
1302
- ["cxt", "application/x-director"],
1303
- ["cxx", "text/x-c"],
1304
- ["dae", "model/vnd.collada+xml"],
1305
- ["daf", "application/vnd.mobius.daf"],
1306
- ["dart", "application/vnd.dart"],
1307
- ["dataless", "application/vnd.fdsn.seed"],
1308
- ["davmount", "application/davmount+xml"],
1309
- ["dbf", "application/vnd.dbf"],
1310
- ["dbk", "application/docbook+xml"],
1311
- ["dcr", "application/x-director"],
1312
- ["dcurl", "text/vnd.curl.dcurl"],
1313
- ["dd2", "application/vnd.oma.dd2+xml"],
1314
- ["ddd", "application/vnd.fujixerox.ddd"],
1315
- ["ddf", "application/vnd.syncml.dmddf+xml"],
1316
- ["dds", "image/vnd.ms-dds"],
1317
- ["deb", "application/x-debian-package"],
1318
- ["def", "text/plain"],
1319
- ["deploy", "application/octet-stream"],
1320
- ["der", "application/x-x509-ca-cert"],
1321
- ["dfac", "application/vnd.dreamfactory"],
1322
- ["dgc", "application/x-dgc-compressed"],
1323
- ["dic", "text/x-c"],
1324
- ["dir", "application/x-director"],
1325
- ["dis", "application/vnd.mobius.dis"],
1326
- ["disposition-notification", "message/disposition-notification"],
1327
- ["dist", "application/octet-stream"],
1328
- ["distz", "application/octet-stream"],
1329
- ["djv", "image/vnd.djvu"],
1330
- ["djvu", "image/vnd.djvu"],
1331
- ["dll", "application/octet-stream"],
1332
- ["dmg", "application/x-apple-diskimage"],
1333
- ["dmn", "application/octet-stream"],
1334
- ["dmp", "application/vnd.tcpdump.pcap"],
1335
- ["dms", "application/octet-stream"],
1336
- ["dna", "application/vnd.dna"],
1337
- ["doc", "application/msword"],
1338
- ["docm", "application/vnd.ms-word.template.macroEnabled.12"],
1339
- ["docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"],
1340
- ["dot", "application/msword"],
1341
- ["dotm", "application/vnd.ms-word.template.macroEnabled.12"],
1342
- ["dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"],
1343
- ["dp", "application/vnd.osgi.dp"],
1344
- ["dpg", "application/vnd.dpgraph"],
1345
- ["dra", "audio/vnd.dra"],
1346
- ["drle", "image/dicom-rle"],
1347
- ["dsc", "text/prs.lines.tag"],
1348
- ["dssc", "application/dssc+der"],
1349
- ["dtb", "application/x-dtbook+xml"],
1350
- ["dtd", "application/xml-dtd"],
1351
- ["dts", "audio/vnd.dts"],
1352
- ["dtshd", "audio/vnd.dts.hd"],
1353
- ["dump", "application/octet-stream"],
1354
- ["dvb", "video/vnd.dvb.file"],
1355
- ["dvi", "application/x-dvi"],
1356
- ["dwd", "application/atsc-dwd+xml"],
1357
- ["dwf", "model/vnd.dwf"],
1358
- ["dwg", "image/vnd.dwg"],
1359
- ["dxf", "image/vnd.dxf"],
1360
- ["dxp", "application/vnd.spotfire.dxp"],
1361
- ["dxr", "application/x-director"],
1362
- ["ear", "application/java-archive"],
1363
- ["ecelp4800", "audio/vnd.nuera.ecelp4800"],
1364
- ["ecelp7470", "audio/vnd.nuera.ecelp7470"],
1365
- ["ecelp9600", "audio/vnd.nuera.ecelp9600"],
1366
- ["ecma", "application/ecmascript"],
1367
- ["edm", "application/vnd.novadigm.edm"],
1368
- ["edx", "application/vnd.novadigm.edx"],
1369
- ["efif", "application/vnd.picsel"],
1370
- ["ei6", "application/vnd.pg.osasli"],
1371
- ["elc", "application/octet-stream"],
1372
- ["emf", "image/emf"],
1373
- ["eml", "message/rfc822"],
1374
- ["emma", "application/emma+xml"],
1375
- ["emotionml", "application/emotionml+xml"],
1376
- ["emz", "application/x-msmetafile"],
1377
- ["eol", "audio/vnd.digital-winds"],
1378
- ["eot", "application/vnd.ms-fontobject"],
1379
- ["eps", "application/postscript"],
1380
- ["epub", "application/epub+zip"],
1381
- ["es", "application/ecmascript"],
1382
- ["es3", "application/vnd.eszigno3+xml"],
1383
- ["esa", "application/vnd.osgi.subsystem"],
1384
- ["esf", "application/vnd.epson.esf"],
1385
- ["et3", "application/vnd.eszigno3+xml"],
1386
- ["etx", "text/x-setext"],
1387
- ["eva", "application/x-eva"],
1388
- ["evy", "application/x-envoy"],
1389
- ["exe", "application/octet-stream"],
1390
- ["exi", "application/exi"],
1391
- ["exp", "application/express"],
1392
- ["exr", "image/aces"],
1393
- ["ext", "application/vnd.novadigm.ext"],
1394
- ["ez", "application/andrew-inset"],
1395
- ["ez2", "application/vnd.ezpix-album"],
1396
- ["ez3", "application/vnd.ezpix-package"],
1397
- ["f", "text/x-fortran"],
1398
- ["f4v", "video/mp4"],
1399
- ["f77", "text/x-fortran"],
1400
- ["f90", "text/x-fortran"],
1401
- ["fbs", "image/vnd.fastbidsheet"],
1402
- ["fcdt", "application/vnd.adobe.formscentral.fcdt"],
1403
- ["fcs", "application/vnd.isac.fcs"],
1404
- ["fdf", "application/vnd.fdf"],
1405
- ["fdt", "application/fdt+xml"],
1406
- ["fe_launch", "application/vnd.denovo.fcselayout-link"],
1407
- ["fg5", "application/vnd.fujitsu.oasysgp"],
1408
- ["fgd", "application/x-director"],
1409
- ["fh", "image/x-freehand"],
1410
- ["fh4", "image/x-freehand"],
1411
- ["fh5", "image/x-freehand"],
1412
- ["fh7", "image/x-freehand"],
1413
- ["fhc", "image/x-freehand"],
1414
- ["fig", "application/x-xfig"],
1415
- ["fits", "image/fits"],
1416
- ["flac", "audio/x-flac"],
1417
- ["fli", "video/x-fli"],
1418
- ["flo", "application/vnd.micrografx.flo"],
1419
- ["flv", "video/x-flv"],
1420
- ["flw", "application/vnd.kde.kivio"],
1421
- ["flx", "text/vnd.fmi.flexstor"],
1422
- ["fly", "text/vnd.fly"],
1423
- ["fm", "application/vnd.framemaker"],
1424
- ["fnc", "application/vnd.frogans.fnc"],
1425
- ["fo", "application/vnd.software602.filler.form+xml"],
1426
- ["for", "text/x-fortran"],
1427
- ["fpx", "image/vnd.fpx"],
1428
- ["frame", "application/vnd.framemaker"],
1429
- ["fsc", "application/vnd.fsc.weblaunch"],
1430
- ["fst", "image/vnd.fst"],
1431
- ["ftc", "application/vnd.fluxtime.clip"],
1432
- ["fti", "application/vnd.anser-web-funds-transfer-initiation"],
1433
- ["fvt", "video/vnd.fvt"],
1434
- ["fxp", "application/vnd.adobe.fxp"],
1435
- ["fxpl", "application/vnd.adobe.fxp"],
1436
- ["fzs", "application/vnd.fuzzysheet"],
1437
- ["g2w", "application/vnd.geoplan"],
1438
- ["g3", "image/g3fax"],
1439
- ["g3w", "application/vnd.geospace"],
1440
- ["gac", "application/vnd.groove-account"],
1441
- ["gam", "application/x-tads"],
1442
- ["gbr", "application/rpki-ghostbusters"],
1443
- ["gca", "application/x-gca-compressed"],
1444
- ["gdl", "model/vnd.gdl"],
1445
- ["gdoc", "application/vnd.google-apps.document"],
1446
- ["geo", "application/vnd.dynageo"],
1447
- ["geojson", "application/geo+json"],
1448
- ["gex", "application/vnd.geometry-explorer"],
1449
- ["ggb", "application/vnd.geogebra.file"],
1450
- ["ggt", "application/vnd.geogebra.tool"],
1451
- ["ghf", "application/vnd.groove-help"],
1452
- ["gif", "image/gif"],
1453
- ["gim", "application/vnd.groove-identity-message"],
1454
- ["glb", "model/gltf-binary"],
1455
- ["gltf", "model/gltf+json"],
1456
- ["gml", "application/gml+xml"],
1457
- ["gmx", "application/vnd.gmx"],
1458
- ["gnumeric", "application/x-gnumeric"],
1459
- ["gpg", "application/gpg-keys"],
1460
- ["gph", "application/vnd.flographit"],
1461
- ["gpx", "application/gpx+xml"],
1462
- ["gqf", "application/vnd.grafeq"],
1463
- ["gqs", "application/vnd.grafeq"],
1464
- ["gram", "application/srgs"],
1465
- ["gramps", "application/x-gramps-xml"],
1466
- ["gre", "application/vnd.geometry-explorer"],
1467
- ["grv", "application/vnd.groove-injector"],
1468
- ["grxml", "application/srgs+xml"],
1469
- ["gsf", "application/x-font-ghostscript"],
1470
- ["gsheet", "application/vnd.google-apps.spreadsheet"],
1471
- ["gslides", "application/vnd.google-apps.presentation"],
1472
- ["gtar", "application/x-gtar"],
1473
- ["gtm", "application/vnd.groove-tool-message"],
1474
- ["gtw", "model/vnd.gtw"],
1475
- ["gv", "text/vnd.graphviz"],
1476
- ["gxf", "application/gxf"],
1477
- ["gxt", "application/vnd.geonext"],
1478
- ["gz", "application/gzip"],
1479
- ["gzip", "application/gzip"],
1480
- ["h", "text/x-c"],
1481
- ["h261", "video/h261"],
1482
- ["h263", "video/h263"],
1483
- ["h264", "video/h264"],
1484
- ["hal", "application/vnd.hal+xml"],
1485
- ["hbci", "application/vnd.hbci"],
1486
- ["hbs", "text/x-handlebars-template"],
1487
- ["hdd", "application/x-virtualbox-hdd"],
1488
- ["hdf", "application/x-hdf"],
1489
- ["heic", "image/heic"],
1490
- ["heics", "image/heic-sequence"],
1491
- ["heif", "image/heif"],
1492
- ["heifs", "image/heif-sequence"],
1493
- ["hej2", "image/hej2k"],
1494
- ["held", "application/atsc-held+xml"],
1495
- ["hh", "text/x-c"],
1496
- ["hjson", "application/hjson"],
1497
- ["hlp", "application/winhlp"],
1498
- ["hpgl", "application/vnd.hp-hpgl"],
1499
- ["hpid", "application/vnd.hp-hpid"],
1500
- ["hps", "application/vnd.hp-hps"],
1501
- ["hqx", "application/mac-binhex40"],
1502
- ["hsj2", "image/hsj2"],
1503
- ["htc", "text/x-component"],
1504
- ["htke", "application/vnd.kenameaapp"],
1505
- ["htm", "text/html"],
1506
- ["html", "text/html"],
1507
- ["hvd", "application/vnd.yamaha.hv-dic"],
1508
- ["hvp", "application/vnd.yamaha.hv-voice"],
1509
- ["hvs", "application/vnd.yamaha.hv-script"],
1510
- ["i2g", "application/vnd.intergeo"],
1511
- ["icc", "application/vnd.iccprofile"],
1512
- ["ice", "x-conference/x-cooltalk"],
1513
- ["icm", "application/vnd.iccprofile"],
1514
- ["ico", "image/x-icon"],
1515
- ["ics", "text/calendar"],
1516
- ["ief", "image/ief"],
1517
- ["ifb", "text/calendar"],
1518
- ["ifm", "application/vnd.shana.informed.formdata"],
1519
- ["iges", "model/iges"],
1520
- ["igl", "application/vnd.igloader"],
1521
- ["igm", "application/vnd.insors.igm"],
1522
- ["igs", "model/iges"],
1523
- ["igx", "application/vnd.micrografx.igx"],
1524
- ["iif", "application/vnd.shana.informed.interchange"],
1525
- ["img", "application/octet-stream"],
1526
- ["imp", "application/vnd.accpac.simply.imp"],
1527
- ["ims", "application/vnd.ms-ims"],
1528
- ["in", "text/plain"],
1529
- ["ini", "text/plain"],
1530
- ["ink", "application/inkml+xml"],
1531
- ["inkml", "application/inkml+xml"],
1532
- ["install", "application/x-install-instructions"],
1533
- ["iota", "application/vnd.astraea-software.iota"],
1534
- ["ipfix", "application/ipfix"],
1535
- ["ipk", "application/vnd.shana.informed.package"],
1536
- ["irm", "application/vnd.ibm.rights-management"],
1537
- ["irp", "application/vnd.irepository.package+xml"],
1538
- ["iso", "application/x-iso9660-image"],
1539
- ["itp", "application/vnd.shana.informed.formtemplate"],
1540
- ["its", "application/its+xml"],
1541
- ["ivp", "application/vnd.immervision-ivp"],
1542
- ["ivu", "application/vnd.immervision-ivu"],
1543
- ["jad", "text/vnd.sun.j2me.app-descriptor"],
1544
- ["jade", "text/jade"],
1545
- ["jam", "application/vnd.jam"],
1546
- ["jar", "application/java-archive"],
1547
- ["jardiff", "application/x-java-archive-diff"],
1548
- ["java", "text/x-java-source"],
1549
- ["jhc", "image/jphc"],
1550
- ["jisp", "application/vnd.jisp"],
1551
- ["jls", "image/jls"],
1552
- ["jlt", "application/vnd.hp-jlyt"],
1553
- ["jng", "image/x-jng"],
1554
- ["jnlp", "application/x-java-jnlp-file"],
1555
- ["joda", "application/vnd.joost.joda-archive"],
1556
- ["jp2", "image/jp2"],
1557
- ["jpe", "image/jpeg"],
1558
- ["jpeg", "image/jpeg"],
1559
- ["jpf", "image/jpx"],
1560
- ["jpg", "image/jpeg"],
1561
- ["jpg2", "image/jp2"],
1562
- ["jpgm", "video/jpm"],
1563
- ["jpgv", "video/jpeg"],
1564
- ["jph", "image/jph"],
1565
- ["jpm", "video/jpm"],
1566
- ["jpx", "image/jpx"],
1567
- ["js", "application/javascript"],
1568
- ["json", "application/json"],
1569
- ["json5", "application/json5"],
1570
- ["jsonld", "application/ld+json"],
1571
- // https://jsonlines.org/
1572
- ["jsonl", "application/jsonl"],
1573
- ["jsonml", "application/jsonml+json"],
1574
- ["jsx", "text/jsx"],
1575
- ["jxr", "image/jxr"],
1576
- ["jxra", "image/jxra"],
1577
- ["jxrs", "image/jxrs"],
1578
- ["jxs", "image/jxs"],
1579
- ["jxsc", "image/jxsc"],
1580
- ["jxsi", "image/jxsi"],
1581
- ["jxss", "image/jxss"],
1582
- ["kar", "audio/midi"],
1583
- ["karbon", "application/vnd.kde.karbon"],
1584
- ["kdb", "application/octet-stream"],
1585
- ["kdbx", "application/x-keepass2"],
1586
- ["key", "application/x-iwork-keynote-sffkey"],
1587
- ["kfo", "application/vnd.kde.kformula"],
1588
- ["kia", "application/vnd.kidspiration"],
1589
- ["kml", "application/vnd.google-earth.kml+xml"],
1590
- ["kmz", "application/vnd.google-earth.kmz"],
1591
- ["kne", "application/vnd.kinar"],
1592
- ["knp", "application/vnd.kinar"],
1593
- ["kon", "application/vnd.kde.kontour"],
1594
- ["kpr", "application/vnd.kde.kpresenter"],
1595
- ["kpt", "application/vnd.kde.kpresenter"],
1596
- ["kpxx", "application/vnd.ds-keypoint"],
1597
- ["ksp", "application/vnd.kde.kspread"],
1598
- ["ktr", "application/vnd.kahootz"],
1599
- ["ktx", "image/ktx"],
1600
- ["ktx2", "image/ktx2"],
1601
- ["ktz", "application/vnd.kahootz"],
1602
- ["kwd", "application/vnd.kde.kword"],
1603
- ["kwt", "application/vnd.kde.kword"],
1604
- ["lasxml", "application/vnd.las.las+xml"],
1605
- ["latex", "application/x-latex"],
1606
- ["lbd", "application/vnd.llamagraphics.life-balance.desktop"],
1607
- ["lbe", "application/vnd.llamagraphics.life-balance.exchange+xml"],
1608
- ["les", "application/vnd.hhe.lesson-player"],
1609
- ["less", "text/less"],
1610
- ["lgr", "application/lgr+xml"],
1611
- ["lha", "application/octet-stream"],
1612
- ["link66", "application/vnd.route66.link66+xml"],
1613
- ["list", "text/plain"],
1614
- ["list3820", "application/vnd.ibm.modcap"],
1615
- ["listafp", "application/vnd.ibm.modcap"],
1616
- ["litcoffee", "text/coffeescript"],
1617
- ["lnk", "application/x-ms-shortcut"],
1618
- ["log", "text/plain"],
1619
- ["lostxml", "application/lost+xml"],
1620
- ["lrf", "application/octet-stream"],
1621
- ["lrm", "application/vnd.ms-lrm"],
1622
- ["ltf", "application/vnd.frogans.ltf"],
1623
- ["lua", "text/x-lua"],
1624
- ["luac", "application/x-lua-bytecode"],
1625
- ["lvp", "audio/vnd.lucent.voice"],
1626
- ["lwp", "application/vnd.lotus-wordpro"],
1627
- ["lzh", "application/octet-stream"],
1628
- ["m1v", "video/mpeg"],
1629
- ["m2a", "audio/mpeg"],
1630
- ["m2v", "video/mpeg"],
1631
- ["m3a", "audio/mpeg"],
1632
- ["m3u", "text/plain"],
1633
- ["m3u8", "application/vnd.apple.mpegurl"],
1634
- ["m4a", "audio/x-m4a"],
1635
- ["m4p", "application/mp4"],
1636
- ["m4s", "video/iso.segment"],
1637
- ["m4u", "application/vnd.mpegurl"],
1638
- ["m4v", "video/x-m4v"],
1639
- ["m13", "application/x-msmediaview"],
1640
- ["m14", "application/x-msmediaview"],
1641
- ["m21", "application/mp21"],
1642
- ["ma", "application/mathematica"],
1643
- ["mads", "application/mads+xml"],
1644
- ["maei", "application/mmt-aei+xml"],
1645
- ["mag", "application/vnd.ecowin.chart"],
1646
- ["maker", "application/vnd.framemaker"],
1647
- ["man", "text/troff"],
1648
- ["manifest", "text/cache-manifest"],
1649
- ["map", "application/json"],
1650
- ["mar", "application/octet-stream"],
1651
- ["markdown", "text/markdown"],
1652
- ["mathml", "application/mathml+xml"],
1653
- ["mb", "application/mathematica"],
1654
- ["mbk", "application/vnd.mobius.mbk"],
1655
- ["mbox", "application/mbox"],
1656
- ["mc1", "application/vnd.medcalcdata"],
1657
- ["mcd", "application/vnd.mcd"],
1658
- ["mcurl", "text/vnd.curl.mcurl"],
1659
- ["md", "text/markdown"],
1660
- ["mdb", "application/x-msaccess"],
1661
- ["mdi", "image/vnd.ms-modi"],
1662
- ["mdx", "text/mdx"],
1663
- ["me", "text/troff"],
1664
- ["mesh", "model/mesh"],
1665
- ["meta4", "application/metalink4+xml"],
1666
- ["metalink", "application/metalink+xml"],
1667
- ["mets", "application/mets+xml"],
1668
- ["mfm", "application/vnd.mfmp"],
1669
- ["mft", "application/rpki-manifest"],
1670
- ["mgp", "application/vnd.osgeo.mapguide.package"],
1671
- ["mgz", "application/vnd.proteus.magazine"],
1672
- ["mid", "audio/midi"],
1673
- ["midi", "audio/midi"],
1674
- ["mie", "application/x-mie"],
1675
- ["mif", "application/vnd.mif"],
1676
- ["mime", "message/rfc822"],
1677
- ["mj2", "video/mj2"],
1678
- ["mjp2", "video/mj2"],
1679
- ["mjs", "application/javascript"],
1680
- ["mk3d", "video/x-matroska"],
1681
- ["mka", "audio/x-matroska"],
1682
- ["mkd", "text/x-markdown"],
1683
- ["mks", "video/x-matroska"],
1684
- ["mkv", "video/x-matroska"],
1685
- ["mlp", "application/vnd.dolby.mlp"],
1686
- ["mmd", "application/vnd.chipnuts.karaoke-mmd"],
1687
- ["mmf", "application/vnd.smaf"],
1688
- ["mml", "text/mathml"],
1689
- ["mmr", "image/vnd.fujixerox.edmics-mmr"],
1690
- ["mng", "video/x-mng"],
1691
- ["mny", "application/x-msmoney"],
1692
- ["mobi", "application/x-mobipocket-ebook"],
1693
- ["mods", "application/mods+xml"],
1694
- ["mov", "video/quicktime"],
1695
- ["movie", "video/x-sgi-movie"],
1696
- ["mp2", "audio/mpeg"],
1697
- ["mp2a", "audio/mpeg"],
1698
- ["mp3", "audio/mpeg"],
1699
- ["mp4", "video/mp4"],
1700
- ["mp4a", "audio/mp4"],
1701
- ["mp4s", "application/mp4"],
1702
- ["mp4v", "video/mp4"],
1703
- ["mp21", "application/mp21"],
1704
- ["mpc", "application/vnd.mophun.certificate"],
1705
- ["mpd", "application/dash+xml"],
1706
- ["mpe", "video/mpeg"],
1707
- ["mpeg", "video/mpeg"],
1708
- ["mpg", "video/mpeg"],
1709
- ["mpg4", "video/mp4"],
1710
- ["mpga", "audio/mpeg"],
1711
- ["mpkg", "application/vnd.apple.installer+xml"],
1712
- ["mpm", "application/vnd.blueice.multipass"],
1713
- ["mpn", "application/vnd.mophun.application"],
1714
- ["mpp", "application/vnd.ms-project"],
1715
- ["mpt", "application/vnd.ms-project"],
1716
- ["mpy", "application/vnd.ibm.minipay"],
1717
- ["mqy", "application/vnd.mobius.mqy"],
1718
- ["mrc", "application/marc"],
1719
- ["mrcx", "application/marcxml+xml"],
1720
- ["ms", "text/troff"],
1721
- ["mscml", "application/mediaservercontrol+xml"],
1722
- ["mseed", "application/vnd.fdsn.mseed"],
1723
- ["mseq", "application/vnd.mseq"],
1724
- ["msf", "application/vnd.epson.msf"],
1725
- ["msg", "application/vnd.ms-outlook"],
1726
- ["msh", "model/mesh"],
1727
- ["msi", "application/x-msdownload"],
1728
- ["msl", "application/vnd.mobius.msl"],
1729
- ["msm", "application/octet-stream"],
1730
- ["msp", "application/octet-stream"],
1731
- ["msty", "application/vnd.muvee.style"],
1732
- ["mtl", "model/mtl"],
1733
- ["mts", "model/vnd.mts"],
1734
- ["mus", "application/vnd.musician"],
1735
- ["musd", "application/mmt-usd+xml"],
1736
- ["musicxml", "application/vnd.recordare.musicxml+xml"],
1737
- ["mvb", "application/x-msmediaview"],
1738
- ["mvt", "application/vnd.mapbox-vector-tile"],
1739
- ["mwf", "application/vnd.mfer"],
1740
- ["mxf", "application/mxf"],
1741
- ["mxl", "application/vnd.recordare.musicxml"],
1742
- ["mxmf", "audio/mobile-xmf"],
1743
- ["mxml", "application/xv+xml"],
1744
- ["mxs", "application/vnd.triscape.mxs"],
1745
- ["mxu", "video/vnd.mpegurl"],
1746
- ["n-gage", "application/vnd.nokia.n-gage.symbian.install"],
1747
- ["n3", "text/n3"],
1748
- ["nb", "application/mathematica"],
1749
- ["nbp", "application/vnd.wolfram.player"],
1750
- ["nc", "application/x-netcdf"],
1751
- ["ncx", "application/x-dtbncx+xml"],
1752
- ["nfo", "text/x-nfo"],
1753
- ["ngdat", "application/vnd.nokia.n-gage.data"],
1754
- ["nitf", "application/vnd.nitf"],
1755
- ["nlu", "application/vnd.neurolanguage.nlu"],
1756
- ["nml", "application/vnd.enliven"],
1757
- ["nnd", "application/vnd.noblenet-directory"],
1758
- ["nns", "application/vnd.noblenet-sealer"],
1759
- ["nnw", "application/vnd.noblenet-web"],
1760
- ["npx", "image/vnd.net-fpx"],
1761
- ["nq", "application/n-quads"],
1762
- ["nsc", "application/x-conference"],
1763
- ["nsf", "application/vnd.lotus-notes"],
1764
- ["nt", "application/n-triples"],
1765
- ["ntf", "application/vnd.nitf"],
1766
- ["numbers", "application/x-iwork-numbers-sffnumbers"],
1767
- ["nzb", "application/x-nzb"],
1768
- ["oa2", "application/vnd.fujitsu.oasys2"],
1769
- ["oa3", "application/vnd.fujitsu.oasys3"],
1770
- ["oas", "application/vnd.fujitsu.oasys"],
1771
- ["obd", "application/x-msbinder"],
1772
- ["obgx", "application/vnd.openblox.game+xml"],
1773
- ["obj", "model/obj"],
1774
- ["oda", "application/oda"],
1775
- ["odb", "application/vnd.oasis.opendocument.database"],
1776
- ["odc", "application/vnd.oasis.opendocument.chart"],
1777
- ["odf", "application/vnd.oasis.opendocument.formula"],
1778
- ["odft", "application/vnd.oasis.opendocument.formula-template"],
1779
- ["odg", "application/vnd.oasis.opendocument.graphics"],
1780
- ["odi", "application/vnd.oasis.opendocument.image"],
1781
- ["odm", "application/vnd.oasis.opendocument.text-master"],
1782
- ["odp", "application/vnd.oasis.opendocument.presentation"],
1783
- ["ods", "application/vnd.oasis.opendocument.spreadsheet"],
1784
- ["odt", "application/vnd.oasis.opendocument.text"],
1785
- ["oga", "audio/ogg"],
1786
- ["ogex", "model/vnd.opengex"],
1787
- ["ogg", "audio/ogg"],
1788
- ["ogv", "video/ogg"],
1789
- ["ogx", "application/ogg"],
1790
- ["omdoc", "application/omdoc+xml"],
1791
- ["onepkg", "application/onenote"],
1792
- ["onetmp", "application/onenote"],
1793
- ["onetoc", "application/onenote"],
1794
- ["onetoc2", "application/onenote"],
1795
- ["opf", "application/oebps-package+xml"],
1796
- ["opml", "text/x-opml"],
1797
- ["oprc", "application/vnd.palm"],
1798
- ["opus", "audio/ogg"],
1799
- ["org", "text/x-org"],
1800
- ["osf", "application/vnd.yamaha.openscoreformat"],
1801
- ["osfpvg", "application/vnd.yamaha.openscoreformat.osfpvg+xml"],
1802
- ["osm", "application/vnd.openstreetmap.data+xml"],
1803
- ["otc", "application/vnd.oasis.opendocument.chart-template"],
1804
- ["otf", "font/otf"],
1805
- ["otg", "application/vnd.oasis.opendocument.graphics-template"],
1806
- ["oth", "application/vnd.oasis.opendocument.text-web"],
1807
- ["oti", "application/vnd.oasis.opendocument.image-template"],
1808
- ["otp", "application/vnd.oasis.opendocument.presentation-template"],
1809
- ["ots", "application/vnd.oasis.opendocument.spreadsheet-template"],
1810
- ["ott", "application/vnd.oasis.opendocument.text-template"],
1811
- ["ova", "application/x-virtualbox-ova"],
1812
- ["ovf", "application/x-virtualbox-ovf"],
1813
- ["owl", "application/rdf+xml"],
1814
- ["oxps", "application/oxps"],
1815
- ["oxt", "application/vnd.openofficeorg.extension"],
1816
- ["p", "text/x-pascal"],
1817
- ["p7a", "application/x-pkcs7-signature"],
1818
- ["p7b", "application/x-pkcs7-certificates"],
1819
- ["p7c", "application/pkcs7-mime"],
1820
- ["p7m", "application/pkcs7-mime"],
1821
- ["p7r", "application/x-pkcs7-certreqresp"],
1822
- ["p7s", "application/pkcs7-signature"],
1823
- ["p8", "application/pkcs8"],
1824
- ["p10", "application/x-pkcs10"],
1825
- ["p12", "application/x-pkcs12"],
1826
- ["pac", "application/x-ns-proxy-autoconfig"],
1827
- ["pages", "application/x-iwork-pages-sffpages"],
1828
- ["pas", "text/x-pascal"],
1829
- ["paw", "application/vnd.pawaafile"],
1830
- ["pbd", "application/vnd.powerbuilder6"],
1831
- ["pbm", "image/x-portable-bitmap"],
1832
- ["pcap", "application/vnd.tcpdump.pcap"],
1833
- ["pcf", "application/x-font-pcf"],
1834
- ["pcl", "application/vnd.hp-pcl"],
1835
- ["pclxl", "application/vnd.hp-pclxl"],
1836
- ["pct", "image/x-pict"],
1837
- ["pcurl", "application/vnd.curl.pcurl"],
1838
- ["pcx", "image/x-pcx"],
1839
- ["pdb", "application/x-pilot"],
1840
- ["pde", "text/x-processing"],
1841
- ["pdf", "application/pdf"],
1842
- ["pem", "application/x-x509-user-cert"],
1843
- ["pfa", "application/x-font-type1"],
1844
- ["pfb", "application/x-font-type1"],
1845
- ["pfm", "application/x-font-type1"],
1846
- ["pfr", "application/font-tdpfr"],
1847
- ["pfx", "application/x-pkcs12"],
1848
- ["pgm", "image/x-portable-graymap"],
1849
- ["pgn", "application/x-chess-pgn"],
1850
- ["pgp", "application/pgp"],
1851
- ["php", "application/x-httpd-php"],
1852
- ["php3", "application/x-httpd-php"],
1853
- ["php4", "application/x-httpd-php"],
1854
- ["phps", "application/x-httpd-php-source"],
1855
- ["phtml", "application/x-httpd-php"],
1856
- ["pic", "image/x-pict"],
1857
- ["pkg", "application/octet-stream"],
1858
- ["pki", "application/pkixcmp"],
1859
- ["pkipath", "application/pkix-pkipath"],
1860
- ["pkpass", "application/vnd.apple.pkpass"],
1861
- ["pl", "application/x-perl"],
1862
- ["plb", "application/vnd.3gpp.pic-bw-large"],
1863
- ["plc", "application/vnd.mobius.plc"],
1864
- ["plf", "application/vnd.pocketlearn"],
1865
- ["pls", "application/pls+xml"],
1866
- ["pm", "application/x-perl"],
1867
- ["pml", "application/vnd.ctc-posml"],
1868
- ["png", "image/png"],
1869
- ["pnm", "image/x-portable-anymap"],
1870
- ["portpkg", "application/vnd.macports.portpkg"],
1871
- ["pot", "application/vnd.ms-powerpoint"],
1872
- ["potm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
1873
- ["potx", "application/vnd.openxmlformats-officedocument.presentationml.template"],
1874
- ["ppa", "application/vnd.ms-powerpoint"],
1875
- ["ppam", "application/vnd.ms-powerpoint.addin.macroEnabled.12"],
1876
- ["ppd", "application/vnd.cups-ppd"],
1877
- ["ppm", "image/x-portable-pixmap"],
1878
- ["pps", "application/vnd.ms-powerpoint"],
1879
- ["ppsm", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],
1880
- ["ppsx", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"],
1881
- ["ppt", "application/powerpoint"],
1882
- ["pptm", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"],
1883
- ["pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation"],
1884
- ["pqa", "application/vnd.palm"],
1885
- ["prc", "application/x-pilot"],
1886
- ["pre", "application/vnd.lotus-freelance"],
1887
- ["prf", "application/pics-rules"],
1888
- ["provx", "application/provenance+xml"],
1889
- ["ps", "application/postscript"],
1890
- ["psb", "application/vnd.3gpp.pic-bw-small"],
1891
- ["psd", "application/x-photoshop"],
1892
- ["psf", "application/x-font-linux-psf"],
1893
- ["pskcxml", "application/pskc+xml"],
1894
- ["pti", "image/prs.pti"],
1895
- ["ptid", "application/vnd.pvi.ptid1"],
1896
- ["pub", "application/x-mspublisher"],
1897
- ["pvb", "application/vnd.3gpp.pic-bw-var"],
1898
- ["pwn", "application/vnd.3m.post-it-notes"],
1899
- ["pya", "audio/vnd.ms-playready.media.pya"],
1900
- ["pyv", "video/vnd.ms-playready.media.pyv"],
1901
- ["qam", "application/vnd.epson.quickanime"],
1902
- ["qbo", "application/vnd.intu.qbo"],
1903
- ["qfx", "application/vnd.intu.qfx"],
1904
- ["qps", "application/vnd.publishare-delta-tree"],
1905
- ["qt", "video/quicktime"],
1906
- ["qwd", "application/vnd.quark.quarkxpress"],
1907
- ["qwt", "application/vnd.quark.quarkxpress"],
1908
- ["qxb", "application/vnd.quark.quarkxpress"],
1909
- ["qxd", "application/vnd.quark.quarkxpress"],
1910
- ["qxl", "application/vnd.quark.quarkxpress"],
1911
- ["qxt", "application/vnd.quark.quarkxpress"],
1912
- ["ra", "audio/x-realaudio"],
1913
- ["ram", "audio/x-pn-realaudio"],
1914
- ["raml", "application/raml+yaml"],
1915
- ["rapd", "application/route-apd+xml"],
1916
- ["rar", "application/x-rar"],
1917
- ["ras", "image/x-cmu-raster"],
1918
- ["rcprofile", "application/vnd.ipunplugged.rcprofile"],
1919
- ["rdf", "application/rdf+xml"],
1920
- ["rdz", "application/vnd.data-vision.rdz"],
1921
- ["relo", "application/p2p-overlay+xml"],
1922
- ["rep", "application/vnd.businessobjects"],
1923
- ["res", "application/x-dtbresource+xml"],
1924
- ["rgb", "image/x-rgb"],
1925
- ["rif", "application/reginfo+xml"],
1926
- ["rip", "audio/vnd.rip"],
1927
- ["ris", "application/x-research-info-systems"],
1928
- ["rl", "application/resource-lists+xml"],
1929
- ["rlc", "image/vnd.fujixerox.edmics-rlc"],
1930
- ["rld", "application/resource-lists-diff+xml"],
1931
- ["rm", "audio/x-pn-realaudio"],
1932
- ["rmi", "audio/midi"],
1933
- ["rmp", "audio/x-pn-realaudio-plugin"],
1934
- ["rms", "application/vnd.jcp.javame.midlet-rms"],
1935
- ["rmvb", "application/vnd.rn-realmedia-vbr"],
1936
- ["rnc", "application/relax-ng-compact-syntax"],
1937
- ["rng", "application/xml"],
1938
- ["roa", "application/rpki-roa"],
1939
- ["roff", "text/troff"],
1940
- ["rp9", "application/vnd.cloanto.rp9"],
1941
- ["rpm", "audio/x-pn-realaudio-plugin"],
1942
- ["rpss", "application/vnd.nokia.radio-presets"],
1943
- ["rpst", "application/vnd.nokia.radio-preset"],
1944
- ["rq", "application/sparql-query"],
1945
- ["rs", "application/rls-services+xml"],
1946
- ["rsa", "application/x-pkcs7"],
1947
- ["rsat", "application/atsc-rsat+xml"],
1948
- ["rsd", "application/rsd+xml"],
1949
- ["rsheet", "application/urc-ressheet+xml"],
1950
- ["rss", "application/rss+xml"],
1951
- ["rtf", "text/rtf"],
1952
- ["rtx", "text/richtext"],
1953
- ["run", "application/x-makeself"],
1954
- ["rusd", "application/route-usd+xml"],
1955
- ["rv", "video/vnd.rn-realvideo"],
1956
- ["s", "text/x-asm"],
1957
- ["s3m", "audio/s3m"],
1958
- ["saf", "application/vnd.yamaha.smaf-audio"],
1959
- ["sass", "text/x-sass"],
1960
- ["sbml", "application/sbml+xml"],
1961
- ["sc", "application/vnd.ibm.secure-container"],
1962
- ["scd", "application/x-msschedule"],
1963
- ["scm", "application/vnd.lotus-screencam"],
1964
- ["scq", "application/scvp-cv-request"],
1965
- ["scs", "application/scvp-cv-response"],
1966
- ["scss", "text/x-scss"],
1967
- ["scurl", "text/vnd.curl.scurl"],
1968
- ["sda", "application/vnd.stardivision.draw"],
1969
- ["sdc", "application/vnd.stardivision.calc"],
1970
- ["sdd", "application/vnd.stardivision.impress"],
1971
- ["sdkd", "application/vnd.solent.sdkm+xml"],
1972
- ["sdkm", "application/vnd.solent.sdkm+xml"],
1973
- ["sdp", "application/sdp"],
1974
- ["sdw", "application/vnd.stardivision.writer"],
1975
- ["sea", "application/octet-stream"],
1976
- ["see", "application/vnd.seemail"],
1977
- ["seed", "application/vnd.fdsn.seed"],
1978
- ["sema", "application/vnd.sema"],
1979
- ["semd", "application/vnd.semd"],
1980
- ["semf", "application/vnd.semf"],
1981
- ["senmlx", "application/senml+xml"],
1982
- ["sensmlx", "application/sensml+xml"],
1983
- ["ser", "application/java-serialized-object"],
1984
- ["setpay", "application/set-payment-initiation"],
1985
- ["setreg", "application/set-registration-initiation"],
1986
- ["sfd-hdstx", "application/vnd.hydrostatix.sof-data"],
1987
- ["sfs", "application/vnd.spotfire.sfs"],
1988
- ["sfv", "text/x-sfv"],
1989
- ["sgi", "image/sgi"],
1990
- ["sgl", "application/vnd.stardivision.writer-global"],
1991
- ["sgm", "text/sgml"],
1992
- ["sgml", "text/sgml"],
1993
- ["sh", "application/x-sh"],
1994
- ["shar", "application/x-shar"],
1995
- ["shex", "text/shex"],
1996
- ["shf", "application/shf+xml"],
1997
- ["shtml", "text/html"],
1998
- ["sid", "image/x-mrsid-image"],
1999
- ["sieve", "application/sieve"],
2000
- ["sig", "application/pgp-signature"],
2001
- ["sil", "audio/silk"],
2002
- ["silo", "model/mesh"],
2003
- ["sis", "application/vnd.symbian.install"],
2004
- ["sisx", "application/vnd.symbian.install"],
2005
- ["sit", "application/x-stuffit"],
2006
- ["sitx", "application/x-stuffitx"],
2007
- ["siv", "application/sieve"],
2008
- ["skd", "application/vnd.koan"],
2009
- ["skm", "application/vnd.koan"],
2010
- ["skp", "application/vnd.koan"],
2011
- ["skt", "application/vnd.koan"],
2012
- ["sldm", "application/vnd.ms-powerpoint.slide.macroenabled.12"],
2013
- ["sldx", "application/vnd.openxmlformats-officedocument.presentationml.slide"],
2014
- ["slim", "text/slim"],
2015
- ["slm", "text/slim"],
2016
- ["sls", "application/route-s-tsid+xml"],
2017
- ["slt", "application/vnd.epson.salt"],
2018
- ["sm", "application/vnd.stepmania.stepchart"],
2019
- ["smf", "application/vnd.stardivision.math"],
2020
- ["smi", "application/smil"],
2021
- ["smil", "application/smil"],
2022
- ["smv", "video/x-smv"],
2023
- ["smzip", "application/vnd.stepmania.package"],
2024
- ["snd", "audio/basic"],
2025
- ["snf", "application/x-font-snf"],
2026
- ["so", "application/octet-stream"],
2027
- ["spc", "application/x-pkcs7-certificates"],
2028
- ["spdx", "text/spdx"],
2029
- ["spf", "application/vnd.yamaha.smaf-phrase"],
2030
- ["spl", "application/x-futuresplash"],
2031
- ["spot", "text/vnd.in3d.spot"],
2032
- ["spp", "application/scvp-vp-response"],
2033
- ["spq", "application/scvp-vp-request"],
2034
- ["spx", "audio/ogg"],
2035
- ["sql", "application/x-sql"],
2036
- ["src", "application/x-wais-source"],
2037
- ["srt", "application/x-subrip"],
2038
- ["sru", "application/sru+xml"],
2039
- ["srx", "application/sparql-results+xml"],
2040
- ["ssdl", "application/ssdl+xml"],
2041
- ["sse", "application/vnd.kodak-descriptor"],
2042
- ["ssf", "application/vnd.epson.ssf"],
2043
- ["ssml", "application/ssml+xml"],
2044
- ["sst", "application/octet-stream"],
2045
- ["st", "application/vnd.sailingtracker.track"],
2046
- ["stc", "application/vnd.sun.xml.calc.template"],
2047
- ["std", "application/vnd.sun.xml.draw.template"],
2048
- ["stf", "application/vnd.wt.stf"],
2049
- ["sti", "application/vnd.sun.xml.impress.template"],
2050
- ["stk", "application/hyperstudio"],
2051
- ["stl", "model/stl"],
2052
- ["stpx", "model/step+xml"],
2053
- ["stpxz", "model/step-xml+zip"],
2054
- ["stpz", "model/step+zip"],
2055
- ["str", "application/vnd.pg.format"],
2056
- ["stw", "application/vnd.sun.xml.writer.template"],
2057
- ["styl", "text/stylus"],
2058
- ["stylus", "text/stylus"],
2059
- ["sub", "text/vnd.dvb.subtitle"],
2060
- ["sus", "application/vnd.sus-calendar"],
2061
- ["susp", "application/vnd.sus-calendar"],
2062
- ["sv4cpio", "application/x-sv4cpio"],
2063
- ["sv4crc", "application/x-sv4crc"],
2064
- ["svc", "application/vnd.dvb.service"],
2065
- ["svd", "application/vnd.svd"],
2066
- ["svg", "image/svg+xml"],
2067
- ["svgz", "image/svg+xml"],
2068
- ["swa", "application/x-director"],
2069
- ["swf", "application/x-shockwave-flash"],
2070
- ["swi", "application/vnd.aristanetworks.swi"],
2071
- ["swidtag", "application/swid+xml"],
2072
- ["sxc", "application/vnd.sun.xml.calc"],
2073
- ["sxd", "application/vnd.sun.xml.draw"],
2074
- ["sxg", "application/vnd.sun.xml.writer.global"],
2075
- ["sxi", "application/vnd.sun.xml.impress"],
2076
- ["sxm", "application/vnd.sun.xml.math"],
2077
- ["sxw", "application/vnd.sun.xml.writer"],
2078
- ["t", "text/troff"],
2079
- ["t3", "application/x-t3vm-image"],
2080
- ["t38", "image/t38"],
2081
- ["taglet", "application/vnd.mynfc"],
2082
- ["tao", "application/vnd.tao.intent-module-archive"],
2083
- ["tap", "image/vnd.tencent.tap"],
2084
- ["tar", "application/x-tar"],
2085
- ["tcap", "application/vnd.3gpp2.tcap"],
2086
- ["tcl", "application/x-tcl"],
2087
- ["td", "application/urc-targetdesc+xml"],
2088
- ["teacher", "application/vnd.smart.teacher"],
2089
- ["tei", "application/tei+xml"],
2090
- ["teicorpus", "application/tei+xml"],
2091
- ["tex", "application/x-tex"],
2092
- ["texi", "application/x-texinfo"],
2093
- ["texinfo", "application/x-texinfo"],
2094
- ["text", "text/plain"],
2095
- ["tfi", "application/thraud+xml"],
2096
- ["tfm", "application/x-tex-tfm"],
2097
- ["tfx", "image/tiff-fx"],
2098
- ["tga", "image/x-tga"],
2099
- ["tgz", "application/x-tar"],
2100
- ["thmx", "application/vnd.ms-officetheme"],
2101
- ["tif", "image/tiff"],
2102
- ["tiff", "image/tiff"],
2103
- ["tk", "application/x-tcl"],
2104
- ["tmo", "application/vnd.tmobile-livetv"],
2105
- ["toml", "application/toml"],
2106
- ["torrent", "application/x-bittorrent"],
2107
- ["tpl", "application/vnd.groove-tool-template"],
2108
- ["tpt", "application/vnd.trid.tpt"],
2109
- ["tr", "text/troff"],
2110
- ["tra", "application/vnd.trueapp"],
2111
- ["trig", "application/trig"],
2112
- ["trm", "application/x-msterminal"],
2113
- ["ts", "video/mp2t"],
2114
- ["tsd", "application/timestamped-data"],
2115
- ["tsv", "text/tab-separated-values"],
2116
- ["ttc", "font/collection"],
2117
- ["ttf", "font/ttf"],
2118
- ["ttl", "text/turtle"],
2119
- ["ttml", "application/ttml+xml"],
2120
- ["twd", "application/vnd.simtech-mindmapper"],
2121
- ["twds", "application/vnd.simtech-mindmapper"],
2122
- ["txd", "application/vnd.genomatix.tuxedo"],
2123
- ["txf", "application/vnd.mobius.txf"],
2124
- ["txt", "text/plain"],
2125
- ["u8dsn", "message/global-delivery-status"],
2126
- ["u8hdr", "message/global-headers"],
2127
- ["u8mdn", "message/global-disposition-notification"],
2128
- ["u8msg", "message/global"],
2129
- ["u32", "application/x-authorware-bin"],
2130
- ["ubj", "application/ubjson"],
2131
- ["udeb", "application/x-debian-package"],
2132
- ["ufd", "application/vnd.ufdl"],
2133
- ["ufdl", "application/vnd.ufdl"],
2134
- ["ulx", "application/x-glulx"],
2135
- ["umj", "application/vnd.umajin"],
2136
- ["unityweb", "application/vnd.unity"],
2137
- ["uoml", "application/vnd.uoml+xml"],
2138
- ["uri", "text/uri-list"],
2139
- ["uris", "text/uri-list"],
2140
- ["urls", "text/uri-list"],
2141
- ["usdz", "model/vnd.usdz+zip"],
2142
- ["ustar", "application/x-ustar"],
2143
- ["utz", "application/vnd.uiq.theme"],
2144
- ["uu", "text/x-uuencode"],
2145
- ["uva", "audio/vnd.dece.audio"],
2146
- ["uvd", "application/vnd.dece.data"],
2147
- ["uvf", "application/vnd.dece.data"],
2148
- ["uvg", "image/vnd.dece.graphic"],
2149
- ["uvh", "video/vnd.dece.hd"],
2150
- ["uvi", "image/vnd.dece.graphic"],
2151
- ["uvm", "video/vnd.dece.mobile"],
2152
- ["uvp", "video/vnd.dece.pd"],
2153
- ["uvs", "video/vnd.dece.sd"],
2154
- ["uvt", "application/vnd.dece.ttml+xml"],
2155
- ["uvu", "video/vnd.uvvu.mp4"],
2156
- ["uvv", "video/vnd.dece.video"],
2157
- ["uvva", "audio/vnd.dece.audio"],
2158
- ["uvvd", "application/vnd.dece.data"],
2159
- ["uvvf", "application/vnd.dece.data"],
2160
- ["uvvg", "image/vnd.dece.graphic"],
2161
- ["uvvh", "video/vnd.dece.hd"],
2162
- ["uvvi", "image/vnd.dece.graphic"],
2163
- ["uvvm", "video/vnd.dece.mobile"],
2164
- ["uvvp", "video/vnd.dece.pd"],
2165
- ["uvvs", "video/vnd.dece.sd"],
2166
- ["uvvt", "application/vnd.dece.ttml+xml"],
2167
- ["uvvu", "video/vnd.uvvu.mp4"],
2168
- ["uvvv", "video/vnd.dece.video"],
2169
- ["uvvx", "application/vnd.dece.unspecified"],
2170
- ["uvvz", "application/vnd.dece.zip"],
2171
- ["uvx", "application/vnd.dece.unspecified"],
2172
- ["uvz", "application/vnd.dece.zip"],
2173
- ["vbox", "application/x-virtualbox-vbox"],
2174
- ["vbox-extpack", "application/x-virtualbox-vbox-extpack"],
2175
- ["vcard", "text/vcard"],
2176
- ["vcd", "application/x-cdlink"],
2177
- ["vcf", "text/x-vcard"],
2178
- ["vcg", "application/vnd.groove-vcard"],
2179
- ["vcs", "text/x-vcalendar"],
2180
- ["vcx", "application/vnd.vcx"],
2181
- ["vdi", "application/x-virtualbox-vdi"],
2182
- ["vds", "model/vnd.sap.vds"],
2183
- ["vhd", "application/x-virtualbox-vhd"],
2184
- ["vis", "application/vnd.visionary"],
2185
- ["viv", "video/vnd.vivo"],
2186
- ["vlc", "application/videolan"],
2187
- ["vmdk", "application/x-virtualbox-vmdk"],
2188
- ["vob", "video/x-ms-vob"],
2189
- ["vor", "application/vnd.stardivision.writer"],
2190
- ["vox", "application/x-authorware-bin"],
2191
- ["vrml", "model/vrml"],
2192
- ["vsd", "application/vnd.visio"],
2193
- ["vsf", "application/vnd.vsf"],
2194
- ["vss", "application/vnd.visio"],
2195
- ["vst", "application/vnd.visio"],
2196
- ["vsw", "application/vnd.visio"],
2197
- ["vtf", "image/vnd.valve.source.texture"],
2198
- ["vtt", "text/vtt"],
2199
- ["vtu", "model/vnd.vtu"],
2200
- ["vxml", "application/voicexml+xml"],
2201
- ["w3d", "application/x-director"],
2202
- ["wad", "application/x-doom"],
2203
- ["wadl", "application/vnd.sun.wadl+xml"],
2204
- ["war", "application/java-archive"],
2205
- ["wasm", "application/wasm"],
2206
- ["wav", "audio/x-wav"],
2207
- ["wax", "audio/x-ms-wax"],
2208
- ["wbmp", "image/vnd.wap.wbmp"],
2209
- ["wbs", "application/vnd.criticaltools.wbs+xml"],
2210
- ["wbxml", "application/wbxml"],
2211
- ["wcm", "application/vnd.ms-works"],
2212
- ["wdb", "application/vnd.ms-works"],
2213
- ["wdp", "image/vnd.ms-photo"],
2214
- ["weba", "audio/webm"],
2215
- ["webapp", "application/x-web-app-manifest+json"],
2216
- ["webm", "video/webm"],
2217
- ["webmanifest", "application/manifest+json"],
2218
- ["webp", "image/webp"],
2219
- ["wg", "application/vnd.pmi.widget"],
2220
- ["wgt", "application/widget"],
2221
- ["wks", "application/vnd.ms-works"],
2222
- ["wm", "video/x-ms-wm"],
2223
- ["wma", "audio/x-ms-wma"],
2224
- ["wmd", "application/x-ms-wmd"],
2225
- ["wmf", "image/wmf"],
2226
- ["wml", "text/vnd.wap.wml"],
2227
- ["wmlc", "application/wmlc"],
2228
- ["wmls", "text/vnd.wap.wmlscript"],
2229
- ["wmlsc", "application/vnd.wap.wmlscriptc"],
2230
- ["wmv", "video/x-ms-wmv"],
2231
- ["wmx", "video/x-ms-wmx"],
2232
- ["wmz", "application/x-msmetafile"],
2233
- ["woff", "font/woff"],
2234
- ["woff2", "font/woff2"],
2235
- ["word", "application/msword"],
2236
- ["wpd", "application/vnd.wordperfect"],
2237
- ["wpl", "application/vnd.ms-wpl"],
2238
- ["wps", "application/vnd.ms-works"],
2239
- ["wqd", "application/vnd.wqd"],
2240
- ["wri", "application/x-mswrite"],
2241
- ["wrl", "model/vrml"],
2242
- ["wsc", "message/vnd.wfa.wsc"],
2243
- ["wsdl", "application/wsdl+xml"],
2244
- ["wspolicy", "application/wspolicy+xml"],
2245
- ["wtb", "application/vnd.webturbo"],
2246
- ["wvx", "video/x-ms-wvx"],
2247
- ["x3d", "model/x3d+xml"],
2248
- ["x3db", "model/x3d+fastinfoset"],
2249
- ["x3dbz", "model/x3d+binary"],
2250
- ["x3dv", "model/x3d-vrml"],
2251
- ["x3dvz", "model/x3d+vrml"],
2252
- ["x3dz", "model/x3d+xml"],
2253
- ["x32", "application/x-authorware-bin"],
2254
- ["x_b", "model/vnd.parasolid.transmit.binary"],
2255
- ["x_t", "model/vnd.parasolid.transmit.text"],
2256
- ["xaml", "application/xaml+xml"],
2257
- ["xap", "application/x-silverlight-app"],
2258
- ["xar", "application/vnd.xara"],
2259
- ["xav", "application/xcap-att+xml"],
2260
- ["xbap", "application/x-ms-xbap"],
2261
- ["xbd", "application/vnd.fujixerox.docuworks.binder"],
2262
- ["xbm", "image/x-xbitmap"],
2263
- ["xca", "application/xcap-caps+xml"],
2264
- ["xcs", "application/calendar+xml"],
2265
- ["xdf", "application/xcap-diff+xml"],
2266
- ["xdm", "application/vnd.syncml.dm+xml"],
2267
- ["xdp", "application/vnd.adobe.xdp+xml"],
2268
- ["xdssc", "application/dssc+xml"],
2269
- ["xdw", "application/vnd.fujixerox.docuworks"],
2270
- ["xel", "application/xcap-el+xml"],
2271
- ["xenc", "application/xenc+xml"],
2272
- ["xer", "application/patch-ops-error+xml"],
2273
- ["xfdf", "application/vnd.adobe.xfdf"],
2274
- ["xfdl", "application/vnd.xfdl"],
2275
- ["xht", "application/xhtml+xml"],
2276
- ["xhtml", "application/xhtml+xml"],
2277
- ["xhvml", "application/xv+xml"],
2278
- ["xif", "image/vnd.xiff"],
2279
- ["xl", "application/excel"],
2280
- ["xla", "application/vnd.ms-excel"],
2281
- ["xlam", "application/vnd.ms-excel.addin.macroEnabled.12"],
2282
- ["xlc", "application/vnd.ms-excel"],
2283
- ["xlf", "application/xliff+xml"],
2284
- ["xlm", "application/vnd.ms-excel"],
2285
- ["xls", "application/vnd.ms-excel"],
2286
- ["xlsb", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"],
2287
- ["xlsm", "application/vnd.ms-excel.sheet.macroEnabled.12"],
2288
- ["xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
2289
- ["xlt", "application/vnd.ms-excel"],
2290
- ["xltm", "application/vnd.ms-excel.template.macroEnabled.12"],
2291
- ["xltx", "application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
2292
- ["xlw", "application/vnd.ms-excel"],
2293
- ["xm", "audio/xm"],
2294
- ["xml", "application/xml"],
2295
- ["xns", "application/xcap-ns+xml"],
2296
- ["xo", "application/vnd.olpc-sugar"],
2297
- ["xop", "application/xop+xml"],
2298
- ["xpi", "application/x-xpinstall"],
2299
- ["xpl", "application/xproc+xml"],
2300
- ["xpm", "image/x-xpixmap"],
2301
- ["xpr", "application/vnd.is-xpr"],
2302
- ["xps", "application/vnd.ms-xpsdocument"],
2303
- ["xpw", "application/vnd.intercon.formnet"],
2304
- ["xpx", "application/vnd.intercon.formnet"],
2305
- ["xsd", "application/xml"],
2306
- ["xsl", "application/xml"],
2307
- ["xslt", "application/xslt+xml"],
2308
- ["xsm", "application/vnd.syncml+xml"],
2309
- ["xspf", "application/xspf+xml"],
2310
- ["xul", "application/vnd.mozilla.xul+xml"],
2311
- ["xvm", "application/xv+xml"],
2312
- ["xvml", "application/xv+xml"],
2313
- ["xwd", "image/x-xwindowdump"],
2314
- ["xyz", "chemical/x-xyz"],
2315
- ["xz", "application/x-xz"],
2316
- ["yaml", "text/yaml"],
2317
- ["yang", "application/yang"],
2318
- ["yin", "application/yin+xml"],
2319
- ["yml", "text/yaml"],
2320
- ["ymp", "text/x-suse-ymp"],
2321
- ["z", "application/x-compress"],
2322
- ["z1", "application/x-zmachine"],
2323
- ["z2", "application/x-zmachine"],
2324
- ["z3", "application/x-zmachine"],
2325
- ["z4", "application/x-zmachine"],
2326
- ["z5", "application/x-zmachine"],
2327
- ["z6", "application/x-zmachine"],
2328
- ["z7", "application/x-zmachine"],
2329
- ["z8", "application/x-zmachine"],
2330
- ["zaz", "application/vnd.zzazz.deck+xml"],
2331
- ["zip", "application/zip"],
2332
- ["zir", "application/vnd.zul"],
2333
- ["zirz", "application/vnd.zul"],
2334
- ["zmm", "application/vnd.handheld-entertainment+xml"],
2335
- ["zsh", "text/x-scriptzsh"]
2336
- ]);
2337
- function xe(e, t, a) {
2338
- const i = ro(e), { webkitRelativePath: n } = e, o = typeof t == "string" ? t : typeof n == "string" && n.length > 0 ? n : `./${e.name}`;
2339
- return typeof i.path != "string" && Lt(i, "path", o), Lt(i, "relativePath", o), i;
2340
- }
2341
- function ro(e) {
2342
- const { name: t } = e;
2343
- if (t && t.lastIndexOf(".") !== -1 && !e.type) {
2344
- const i = t.split(".").pop().toLowerCase(), n = oo.get(i);
2345
- n && Object.defineProperty(e, "type", {
2346
- value: n,
2347
- writable: !1,
2348
- configurable: !1,
2349
- enumerable: !0
2350
- });
2351
- }
2352
- return e;
2353
- }
2354
- function Lt(e, t, a) {
2355
- Object.defineProperty(e, t, {
2356
- value: a,
2357
- writable: !1,
2358
- configurable: !1,
2359
- enumerable: !0
2360
- });
2361
- }
2362
- const po = [
2363
- // Thumbnail cache files for macOS and Windows
2364
- ".DS_Store",
2365
- // macOs
2366
- "Thumbs.db"
2367
- // Windows
2368
- ];
2369
- function co(e) {
2370
- return ue(this, void 0, void 0, function* () {
2371
- return $e(e) && lo(e.dataTransfer) ? mo(e.dataTransfer, e.type) : so(e) ? uo(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? fo(e) : [];
2372
- });
2373
- }
2374
- function lo(e) {
2375
- return $e(e);
2376
- }
2377
- function so(e) {
2378
- return $e(e) && $e(e.target);
2379
- }
2380
- function $e(e) {
2381
- return typeof e == "object" && e !== null;
2382
- }
2383
- function uo(e) {
2384
- return ct(e.target.files).map((t) => xe(t));
2385
- }
2386
- function fo(e) {
2387
- return ue(this, void 0, void 0, function* () {
2388
- return (yield Promise.all(e.map((a) => a.getFile()))).map((a) => xe(a));
2389
- });
2390
- }
2391
- function mo(e, t) {
2392
- return ue(this, void 0, void 0, function* () {
2393
- if (e.items) {
2394
- const a = ct(e.items).filter((n) => n.kind === "file");
2395
- if (t !== "drop")
2396
- return a;
2397
- const i = yield Promise.all(a.map(vo));
2398
- return Ut(xa(i));
2399
- }
2400
- return Ut(ct(e.files).map((a) => xe(a)));
2401
- });
2402
- }
2403
- function Ut(e) {
2404
- return e.filter((t) => po.indexOf(t.name) === -1);
2405
- }
2406
- function ct(e) {
2407
- if (e === null)
2408
- return [];
2409
- const t = [];
2410
- for (let a = 0; a < e.length; a++) {
2411
- const i = e[a];
2412
- t.push(i);
2413
- }
2414
- return t;
2415
- }
2416
- function vo(e) {
2417
- if (typeof e.webkitGetAsEntry != "function")
2418
- return Wt(e);
2419
- const t = e.webkitGetAsEntry();
2420
- return t && t.isDirectory ? ga(t) : Wt(e, t);
2421
- }
2422
- function xa(e) {
2423
- return e.reduce((t, a) => [
2424
- ...t,
2425
- ...Array.isArray(a) ? xa(a) : [a]
2426
- ], []);
2427
- }
2428
- function Wt(e, t) {
2429
- return ue(this, void 0, void 0, function* () {
2430
- var a;
2431
- if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
2432
- const o = yield e.getAsFileSystemHandle();
2433
- if (o === null)
2434
- throw new Error(`${e} is not a File`);
2435
- if (o !== void 0) {
2436
- const l = yield o.getFile();
2437
- return l.handle = o, xe(l);
2438
- }
2439
- }
2440
- const i = e.getAsFile();
2441
- if (!i)
2442
- throw new Error(`${e} is not a File`);
2443
- return xe(i, (a = t == null ? void 0 : t.fullPath) !== null && a !== void 0 ? a : void 0);
2444
- });
2445
- }
2446
- function xo(e) {
2447
- return ue(this, void 0, void 0, function* () {
2448
- return e.isDirectory ? ga(e) : go(e);
2449
- });
2450
- }
2451
- function ga(e) {
2452
- const t = e.createReader();
2453
- return new Promise((a, i) => {
2454
- const n = [];
2455
- function o() {
2456
- t.readEntries((l) => ue(this, void 0, void 0, function* () {
2457
- if (l.length) {
2458
- const p = Promise.all(l.map(xo));
2459
- n.push(p), o();
2460
- } else
2461
- try {
2462
- const p = yield Promise.all(n);
2463
- a(p);
2464
- } catch (p) {
2465
- i(p);
2466
- }
2467
- }), (l) => {
2468
- i(l);
2469
- });
2470
- }
2471
- o();
2472
- });
2473
- }
2474
- function go(e) {
2475
- return ue(this, void 0, void 0, function* () {
2476
- return new Promise((t, a) => {
2477
- e.file((i) => {
2478
- const n = xe(i, e.fullPath);
2479
- t(n);
2480
- }, (i) => {
2481
- a(i);
2482
- });
2483
- });
2484
- });
2485
- }
2486
- var Re = {}, Yt;
2487
- function yo() {
2488
- return Yt || (Yt = 1, Re.__esModule = !0, Re.default = function(e, t) {
2489
- if (e && t) {
2490
- var a = Array.isArray(t) ? t : t.split(",");
2491
- if (a.length === 0)
2492
- return !0;
2493
- var i = e.name || "", n = (e.type || "").toLowerCase(), o = n.replace(/\/.*$/, "");
2494
- return a.some(function(l) {
2495
- var p = l.trim().toLowerCase();
2496
- return p.charAt(0) === "." ? i.toLowerCase().endsWith(p) : p.endsWith("/*") ? o === p.replace(/\/.*$/, "") : n === p;
2497
- });
2498
- }
2499
- return !0;
2500
- }), Re;
2501
- }
2502
- var ho = yo();
2503
- const rt = /* @__PURE__ */ Qt(ho);
2504
- function Bt(e) {
2505
- return jo(e) || wo(e) || ha(e) || bo();
2506
- }
2507
- function bo() {
2508
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
2509
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2510
- }
2511
- function wo(e) {
2512
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2513
- }
2514
- function jo(e) {
2515
- if (Array.isArray(e)) return lt(e);
2516
- }
2517
- function Ht(e, t) {
2518
- var a = Object.keys(e);
2519
- if (Object.getOwnPropertySymbols) {
2520
- var i = Object.getOwnPropertySymbols(e);
2521
- t && (i = i.filter(function(n) {
2522
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2523
- })), a.push.apply(a, i);
2524
- }
2525
- return a;
2526
- }
2527
- function Gt(e) {
2528
- for (var t = 1; t < arguments.length; t++) {
2529
- var a = arguments[t] != null ? arguments[t] : {};
2530
- t % 2 ? Ht(Object(a), !0).forEach(function(i) {
2531
- ya(e, i, a[i]);
2532
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Ht(Object(a)).forEach(function(i) {
2533
- Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(a, i));
2534
- });
2535
- }
2536
- return e;
2537
- }
2538
- function ya(e, t, a) {
2539
- return t in e ? Object.defineProperty(e, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = a, e;
2540
- }
2541
- function ke(e, t) {
2542
- return Eo(e) || ko(e, t) || ha(e, t) || _o();
2543
- }
2544
- function _o() {
2545
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2546
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2547
- }
2548
- function ha(e, t) {
2549
- if (e) {
2550
- if (typeof e == "string") return lt(e, t);
2551
- var a = Object.prototype.toString.call(e).slice(8, -1);
2552
- if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
2553
- if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return lt(e, t);
2554
- }
2555
- }
2556
- function lt(e, t) {
2557
- (t == null || t > e.length) && (t = e.length);
2558
- for (var a = 0, i = new Array(t); a < t; a++)
2559
- i[a] = e[a];
2560
- return i;
2561
- }
2562
- function ko(e, t) {
2563
- var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2564
- if (a != null) {
2565
- var i = [], n = !0, o = !1, l, p;
2566
- try {
2567
- for (a = a.call(e); !(n = (l = a.next()).done) && (i.push(l.value), !(t && i.length === t)); n = !0)
2568
- ;
2569
- } catch (v) {
2570
- o = !0, p = v;
2571
- } finally {
2572
- try {
2573
- !n && a.return != null && a.return();
2574
- } finally {
2575
- if (o) throw p;
2576
- }
2577
- }
2578
- return i;
2579
- }
2580
- }
2581
- function Eo(e) {
2582
- if (Array.isArray(e)) return e;
2583
- }
2584
- var To = typeof rt == "function" ? rt : rt.default, Oo = "file-invalid-type", Ao = "file-too-large", So = "file-too-small", ba = "too-many-files", vr = {
2585
- TooManyFiles: ba
2586
- }, Po = function() {
2587
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", a = t.split(","), i = a.length > 1 ? "one of ".concat(a.join(", ")) : a[0];
2588
- return {
2589
- code: Oo,
2590
- message: "File type must be ".concat(i)
2591
- };
2592
- }, Kt = function(t) {
2593
- return {
2594
- code: Ao,
2595
- message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
2596
- };
2597
- }, Nt = function(t) {
2598
- return {
2599
- code: So,
2600
- message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
2601
- };
2602
- }, Do = {
2603
- code: ba,
2604
- message: "Too many files"
2605
- };
2606
- function wa(e, t) {
2607
- var a = e.type === "application/x-moz-file" || To(e, t);
2608
- return [a, a ? null : Po(t)];
2609
- }
2610
- function ja(e, t, a) {
2611
- if (se(e.size))
2612
- if (se(t) && se(a)) {
2613
- if (e.size > a) return [!1, Kt(a)];
2614
- if (e.size < t) return [!1, Nt(t)];
2615
- } else {
2616
- if (se(t) && e.size < t) return [!1, Nt(t)];
2617
- if (se(a) && e.size > a) return [!1, Kt(a)];
2618
- }
2619
- return [!0, null];
2620
- }
2621
- function se(e) {
2622
- return e != null;
2623
- }
2624
- function zo(e) {
2625
- var t = e.files, a = e.accept, i = e.minSize, n = e.maxSize, o = e.multiple, l = e.maxFiles, p = e.validator;
2626
- return !o && t.length > 1 || o && l >= 1 && t.length > l ? !1 : t.every(function(v) {
2627
- var x = wa(v, a), y = ke(x, 1), j = y[0], D = ja(v, i, n), C = ke(D, 1), L = C[0], S = p ? p(v) : null;
2628
- return j && L && !S;
2629
- });
2630
- }
2631
- function qe(e) {
2632
- return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
2633
- }
2634
- function Ie(e) {
2635
- return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(t) {
2636
- return t === "Files" || t === "application/x-moz-file";
2637
- }) : !!e.target && !!e.target.files;
2638
- }
2639
- function Vt(e) {
2640
- e.preventDefault();
2641
- }
2642
- function Co(e) {
2643
- return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
2644
- }
2645
- function Ro(e) {
2646
- return e.indexOf("Edge/") !== -1;
2647
- }
2648
- function Io() {
2649
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
2650
- return Co(e) || Ro(e);
2651
- }
2652
- function Q() {
2653
- for (var e = arguments.length, t = new Array(e), a = 0; a < e; a++)
2654
- t[a] = arguments[a];
2655
- return function(i) {
2656
- for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++)
2657
- o[l - 1] = arguments[l];
2658
- return t.some(function(p) {
2659
- return !qe(i) && p && p.apply(void 0, [i].concat(o)), qe(i);
2660
- });
2661
- };
2662
- }
2663
- function Fo() {
2664
- return "showOpenFilePicker" in window;
2665
- }
2666
- function $o(e) {
2667
- if (se(e)) {
2668
- var t = Object.entries(e).filter(function(a) {
2669
- var i = ke(a, 2), n = i[0], o = i[1], l = !0;
2670
- return _a(n) || (console.warn('Skipped "'.concat(n, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), l = !1), (!Array.isArray(o) || !o.every(ka)) && (console.warn('Skipped "'.concat(n, '" because an invalid file extension was provided.')), l = !1), l;
2671
- }).reduce(function(a, i) {
2672
- var n = ke(i, 2), o = n[0], l = n[1];
2673
- return Gt(Gt({}, a), {}, ya({}, o, l));
2674
- }, {});
2675
- return [{
2676
- // description is required due to https://crbug.com/1264708
2677
- description: "Files",
2678
- accept: t
2679
- }];
2680
- }
2681
- return e;
2682
- }
2683
- function qo(e) {
2684
- if (se(e))
2685
- return Object.entries(e).reduce(function(t, a) {
2686
- var i = ke(a, 2), n = i[0], o = i[1];
2687
- return [].concat(Bt(t), [n], Bt(o));
2688
- }, []).filter(function(t) {
2689
- return _a(t) || ka(t);
2690
- }).join(",");
2691
- }
2692
- function Mo(e) {
2693
- return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
2694
- }
2695
- function Lo(e) {
2696
- return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
2697
- }
2698
- function _a(e) {
2699
- return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
2700
- }
2701
- function ka(e) {
2702
- return /^.*\.[\w]+$/.test(e);
2703
- }
2704
- var Uo = ["children"], Wo = ["open"], Yo = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Bo = ["refKey", "onChange", "onClick"];
2705
- function Ho(e) {
2706
- return No(e) || Ko(e) || Ea(e) || Go();
2707
- }
2708
- function Go() {
2709
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
2710
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2711
- }
2712
- function Ko(e) {
2713
- if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2714
- }
2715
- function No(e) {
2716
- if (Array.isArray(e)) return st(e);
2717
- }
2718
- function pt(e, t) {
2719
- return Jo(e) || Zo(e, t) || Ea(e, t) || Vo();
2720
- }
2721
- function Vo() {
2722
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2723
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2724
- }
2725
- function Ea(e, t) {
2726
- if (e) {
2727
- if (typeof e == "string") return st(e, t);
2728
- var a = Object.prototype.toString.call(e).slice(8, -1);
2729
- if (a === "Object" && e.constructor && (a = e.constructor.name), a === "Map" || a === "Set") return Array.from(e);
2730
- if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return st(e, t);
2731
- }
2732
- }
2733
- function st(e, t) {
2734
- (t == null || t > e.length) && (t = e.length);
2735
- for (var a = 0, i = new Array(t); a < t; a++)
2736
- i[a] = e[a];
2737
- return i;
2738
- }
2739
- function Zo(e, t) {
2740
- var a = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2741
- if (a != null) {
2742
- var i = [], n = !0, o = !1, l, p;
2743
- try {
2744
- for (a = a.call(e); !(n = (l = a.next()).done) && (i.push(l.value), !(t && i.length === t)); n = !0)
2745
- ;
2746
- } catch (v) {
2747
- o = !0, p = v;
2748
- } finally {
2749
- try {
2750
- !n && a.return != null && a.return();
2751
- } finally {
2752
- if (o) throw p;
2753
- }
2754
- }
2755
- return i;
2756
- }
2757
- }
2758
- function Jo(e) {
2759
- if (Array.isArray(e)) return e;
2760
- }
2761
- function Zt(e, t) {
2762
- var a = Object.keys(e);
2763
- if (Object.getOwnPropertySymbols) {
2764
- var i = Object.getOwnPropertySymbols(e);
2765
- t && (i = i.filter(function(n) {
2766
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2767
- })), a.push.apply(a, i);
2768
- }
2769
- return a;
2770
- }
2771
- function R(e) {
2772
- for (var t = 1; t < arguments.length; t++) {
2773
- var a = arguments[t] != null ? arguments[t] : {};
2774
- t % 2 ? Zt(Object(a), !0).forEach(function(i) {
2775
- dt(e, i, a[i]);
2776
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(a)) : Zt(Object(a)).forEach(function(i) {
2777
- Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(a, i));
2778
- });
2779
- }
2780
- return e;
2781
- }
2782
- function dt(e, t, a) {
2783
- return t in e ? Object.defineProperty(e, t, { value: a, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = a, e;
2784
- }
2785
- function Me(e, t) {
2786
- if (e == null) return {};
2787
- var a = Xo(e, t), i, n;
2788
- if (Object.getOwnPropertySymbols) {
2789
- var o = Object.getOwnPropertySymbols(e);
2790
- for (n = 0; n < o.length; n++)
2791
- i = o[n], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (a[i] = e[i]);
2792
- }
2793
- return a;
2794
- }
2795
- function Xo(e, t) {
2796
- if (e == null) return {};
2797
- var a = {}, i = Object.keys(e), n, o;
2798
- for (o = 0; o < i.length; o++)
2799
- n = i[o], !(t.indexOf(n) >= 0) && (a[n] = e[n]);
2800
- return a;
2801
- }
2802
- var vt = /* @__PURE__ */ Ca(function(e, t) {
2803
- var a = e.children, i = Me(e, Uo), n = Qo(i), o = n.open, l = Me(n, Wo);
2804
- return Ra(t, function() {
2805
- return {
2806
- open: o
2807
- };
2808
- }, [o]), /* @__PURE__ */ Da.createElement(Ia, null, a(R(R({}, l), {}, {
2809
- open: o
2810
- })));
2811
- });
2812
- vt.displayName = "Dropzone";
2813
- var Ta = {
2814
- disabled: !1,
2815
- getFilesFromEvent: co,
2816
- maxSize: 1 / 0,
2817
- minSize: 0,
2818
- multiple: !0,
2819
- maxFiles: 0,
2820
- preventDropOnDocument: !0,
2821
- noClick: !1,
2822
- noKeyboard: !1,
2823
- noDrag: !1,
2824
- noDragEventsBubbling: !1,
2825
- validator: null,
2826
- useFsAccessApi: !1,
2827
- autoFocus: !1
2828
- };
2829
- vt.defaultProps = Ta;
2830
- vt.propTypes = {
2831
- /**
2832
- * Render function that exposes the dropzone state and prop getter fns
2833
- *
2834
- * @param {object} params
2835
- * @param {Function} params.getRootProps Returns the props you should apply to the root drop container you render
2836
- * @param {Function} params.getInputProps Returns the props you should apply to hidden file input you render
2837
- * @param {Function} params.open Open the native file selection dialog
2838
- * @param {boolean} params.isFocused Dropzone area is in focus
2839
- * @param {boolean} params.isFileDialogActive File dialog is opened
2840
- * @param {boolean} params.isDragActive Active drag is in progress
2841
- * @param {boolean} params.isDragAccept Dragged files are accepted
2842
- * @param {boolean} params.isDragReject Some dragged files are rejected
2843
- * @param {File[]} params.acceptedFiles Accepted files
2844
- * @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
2845
- */
2846
- children: P.func,
2847
- /**
2848
- * Set accepted file types.
2849
- * Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
2850
- * Keep in mind that mime type determination is not reliable across platforms. CSV files,
2851
- * for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
2852
- * Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
2853
- */
2854
- accept: P.objectOf(P.arrayOf(P.string)),
2855
- /**
2856
- * Allow drag 'n' drop (or selection from the file dialog) of multiple files
2857
- */
2858
- multiple: P.bool,
2859
- /**
2860
- * If false, allow dropped items to take over the current browser window
2861
- */
2862
- preventDropOnDocument: P.bool,
2863
- /**
2864
- * If true, disables click to open the native file selection dialog
2865
- */
2866
- noClick: P.bool,
2867
- /**
2868
- * If true, disables SPACE/ENTER to open the native file selection dialog.
2869
- * Note that it also stops tracking the focus state.
2870
- */
2871
- noKeyboard: P.bool,
2872
- /**
2873
- * If true, disables drag 'n' drop
2874
- */
2875
- noDrag: P.bool,
2876
- /**
2877
- * If true, stops drag event propagation to parents
2878
- */
2879
- noDragEventsBubbling: P.bool,
2880
- /**
2881
- * Minimum file size (in bytes)
2882
- */
2883
- minSize: P.number,
2884
- /**
2885
- * Maximum file size (in bytes)
2886
- */
2887
- maxSize: P.number,
2888
- /**
2889
- * Maximum accepted number of files
2890
- * The default value is 0 which means there is no limitation to how many files are accepted.
2891
- */
2892
- maxFiles: P.number,
2893
- /**
2894
- * Enable/disable the dropzone
2895
- */
2896
- disabled: P.bool,
2897
- /**
2898
- * Use this to provide a custom file aggregator
2899
- *
2900
- * @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
2901
- */
2902
- getFilesFromEvent: P.func,
2903
- /**
2904
- * Cb for when closing the file dialog with no selection
2905
- */
2906
- onFileDialogCancel: P.func,
2907
- /**
2908
- * Cb for when opening the file dialog
2909
- */
2910
- onFileDialogOpen: P.func,
2911
- /**
2912
- * Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
2913
- * to open the file picker instead of using an `<input type="file">` click event.
2914
- */
2915
- useFsAccessApi: P.bool,
2916
- /**
2917
- * Set to true to focus the root element on render
2918
- */
2919
- autoFocus: P.bool,
2920
- /**
2921
- * Cb for when the `dragenter` event occurs.
2922
- *
2923
- * @param {DragEvent} event
2924
- */
2925
- onDragEnter: P.func,
2926
- /**
2927
- * Cb for when the `dragleave` event occurs
2928
- *
2929
- * @param {DragEvent} event
2930
- */
2931
- onDragLeave: P.func,
2932
- /**
2933
- * Cb for when the `dragover` event occurs
2934
- *
2935
- * @param {DragEvent} event
2936
- */
2937
- onDragOver: P.func,
2938
- /**
2939
- * Cb for when the `drop` event occurs.
2940
- * Note that this callback is invoked after the `getFilesFromEvent` callback is done.
2941
- *
2942
- * Files are accepted or rejected based on the `accept`, `multiple`, `minSize` and `maxSize` props.
2943
- * `accept` must be a valid [MIME type](http://www.iana.org/assignments/media-types/media-types.xhtml) according to [input element specification](https://www.w3.org/wiki/HTML/Elements/input/file) or a valid file extension.
2944
- * If `multiple` is set to false and additional files are dropped,
2945
- * all files besides the first will be rejected.
2946
- * Any file which does not have a size in the [`minSize`, `maxSize`] range, will be rejected as well.
2947
- *
2948
- * Note that the `onDrop` callback will always be invoked regardless if the dropped files were accepted or rejected.
2949
- * If you'd like to react to a specific scenario, use the `onDropAccepted`/`onDropRejected` props.
2950
- *
2951
- * `onDrop` will provide you with an array of [File](https://developer.mozilla.org/en-US/docs/Web/API/File) objects which you can then process and send to a server.
2952
- * For example, with [SuperAgent](https://github.com/visionmedia/superagent) as a http/ajax library:
2953
- *
2954
- * ```js
2955
- * function onDrop(acceptedFiles) {
2956
- * const req = request.post('/upload')
2957
- * acceptedFiles.forEach(file => {
2958
- * req.attach(file.name, file)
2959
- * })
2960
- * req.end(callback)
2961
- * }
2962
- * ```
2963
- *
2964
- * @param {File[]} acceptedFiles
2965
- * @param {FileRejection[]} fileRejections
2966
- * @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
2967
- */
2968
- onDrop: P.func,
2969
- /**
2970
- * Cb for when the `drop` event occurs.
2971
- * Note that if no files are accepted, this callback is not invoked.
2972
- *
2973
- * @param {File[]} files
2974
- * @param {(DragEvent|Event)} event
2975
- */
2976
- onDropAccepted: P.func,
2977
- /**
2978
- * Cb for when the `drop` event occurs.
2979
- * Note that if no files are rejected, this callback is not invoked.
2980
- *
2981
- * @param {FileRejection[]} fileRejections
2982
- * @param {(DragEvent|Event)} event
2983
- */
2984
- onDropRejected: P.func,
2985
- /**
2986
- * Cb for when there's some error from any of the promises.
2987
- *
2988
- * @param {Error} error
2989
- */
2990
- onError: P.func,
2991
- /**
2992
- * Custom validation function. It must return null if there's no errors.
2993
- * @param {File} file
2994
- * @returns {FileError|FileError[]|null}
2995
- */
2996
- validator: P.func
2997
- };
2998
- var ut = {
2999
- isFocused: !1,
3000
- isFileDialogActive: !1,
3001
- isDragActive: !1,
3002
- isDragAccept: !1,
3003
- isDragReject: !1,
3004
- acceptedFiles: [],
3005
- fileRejections: []
3006
- };
3007
- function Qo() {
3008
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = R(R({}, Ta), e), a = t.accept, i = t.disabled, n = t.getFilesFromEvent, o = t.maxSize, l = t.minSize, p = t.multiple, v = t.maxFiles, x = t.onDragEnter, y = t.onDragLeave, j = t.onDragOver, D = t.onDrop, C = t.onDropAccepted, L = t.onDropRejected, S = t.onFileDialogCancel, q = t.onFileDialogOpen, H = t.useFsAccessApi, ie = t.autoFocus, F = t.preventDropOnDocument, $ = t.noClick, d = t.noKeyboard, J = t.noDrag, Z = t.noDragEventsBubbling, re = t.onError, ee = t.validator, te = ve(function() {
3009
- return qo(a);
3010
- }, [a]), pe = ve(function() {
3011
- return $o(a);
3012
- }, [a]), ce = ve(function() {
3013
- return typeof q == "function" ? q : Jt;
3014
- }, [q]), ne = ve(function() {
3015
- return typeof S == "function" ? S : Jt;
3016
- }, [S]), I = De(null), B = De(null), N = za(er, ut), X = pt(N, 2), oe = X[0], Y = X[1], r = oe.isFocused, u = oe.isFileDialogActive, h = De(typeof window < "u" && window.isSecureContext && H && Fo()), b = function() {
3017
- !h.current && u && setTimeout(function() {
3018
- if (B.current) {
3019
- var f = B.current.files;
3020
- f.length || (Y({
3021
- type: "closeDialog"
3022
- }), ne());
3023
- }
3024
- }, 300);
3025
- };
3026
- Je(function() {
3027
- return window.addEventListener("focus", b, !1), function() {
3028
- window.removeEventListener("focus", b, !1);
3029
- };
3030
- }, [B, u, ne, h]);
3031
- var m = De([]), k = function(f) {
3032
- I.current && I.current.contains(f.target) || (f.preventDefault(), m.current = []);
3033
- };
3034
- Je(function() {
3035
- return F && (document.addEventListener("dragover", Vt, !1), document.addEventListener("drop", k, !1)), function() {
3036
- F && (document.removeEventListener("dragover", Vt), document.removeEventListener("drop", k));
3037
- };
3038
- }, [I, F]), Je(function() {
3039
- return !i && ie && I.current && I.current.focus(), function() {
3040
- };
3041
- }, [I, ie, i]);
3042
- var g = V(function(s) {
3043
- re ? re(s) : console.error(s);
3044
- }, [re]), w = V(function(s) {
3045
- s.preventDefault(), s.persist(), Se(s), m.current = [].concat(Ho(m.current), [s.target]), Ie(s) && Promise.resolve(n(s)).then(function(f) {
3046
- if (!(qe(s) && !Z)) {
3047
- var M = f.length, W = M > 0 && zo({
3048
- files: f,
3049
- accept: te,
3050
- minSize: l,
3051
- maxSize: o,
3052
- multiple: p,
3053
- maxFiles: v,
3054
- validator: ee
3055
- }), K = M > 0 && !W;
3056
- Y({
3057
- isDragAccept: W,
3058
- isDragReject: K,
3059
- isDragActive: !0,
3060
- type: "setDraggedFiles"
3061
- }), x && x(s);
3062
- }
3063
- }).catch(function(f) {
3064
- return g(f);
3065
- });
3066
- }, [n, x, g, Z, te, l, o, p, v, ee]), E = V(function(s) {
3067
- s.preventDefault(), s.persist(), Se(s);
3068
- var f = Ie(s);
3069
- if (f && s.dataTransfer)
3070
- try {
3071
- s.dataTransfer.dropEffect = "copy";
3072
- } catch {
3073
- }
3074
- return f && j && j(s), !1;
3075
- }, [j, Z]), T = V(function(s) {
3076
- s.preventDefault(), s.persist(), Se(s);
3077
- var f = m.current.filter(function(W) {
3078
- return I.current && I.current.contains(W);
3079
- }), M = f.indexOf(s.target);
3080
- M !== -1 && f.splice(M, 1), m.current = f, !(f.length > 0) && (Y({
3081
- type: "setDraggedFiles",
3082
- isDragActive: !1,
3083
- isDragAccept: !1,
3084
- isDragReject: !1
3085
- }), Ie(s) && y && y(s));
3086
- }, [I, y, Z]), _ = V(function(s, f) {
3087
- var M = [], W = [];
3088
- s.forEach(function(K) {
3089
- var be = wa(K, te), me = pt(be, 2), Be = me[0], He = me[1], Ge = ja(K, l, o), Pe = pt(Ge, 2), Ke = Pe[0], Ne = Pe[1], Ve = ee ? ee(K) : null;
3090
- if (Be && Ke && !Ve)
3091
- M.push(K);
3092
- else {
3093
- var Ze = [He, Ne];
3094
- Ve && (Ze = Ze.concat(Ve)), W.push({
3095
- file: K,
3096
- errors: Ze.filter(function(Pa) {
3097
- return Pa;
3098
- })
3099
- });
3100
- }
3101
- }), (!p && M.length > 1 || p && v >= 1 && M.length > v) && (M.forEach(function(K) {
3102
- W.push({
3103
- file: K,
3104
- errors: [Do]
3105
- });
3106
- }), M.splice(0)), Y({
3107
- acceptedFiles: M,
3108
- fileRejections: W,
3109
- isDragReject: W.length > 0,
3110
- type: "setFiles"
3111
- }), D && D(M, W, f), W.length > 0 && L && L(W, f), M.length > 0 && C && C(M, f);
3112
- }, [Y, p, te, l, o, v, D, C, L, ee]), U = V(function(s) {
3113
- s.preventDefault(), s.persist(), Se(s), m.current = [], Ie(s) && Promise.resolve(n(s)).then(function(f) {
3114
- qe(s) && !Z || _(f, s);
3115
- }).catch(function(f) {
3116
- return g(f);
3117
- }), Y({
3118
- type: "reset"
3119
- });
3120
- }, [n, _, g, Z]), c = V(function() {
3121
- if (h.current) {
3122
- Y({
3123
- type: "openDialog"
3124
- }), ce();
3125
- var s = {
3126
- multiple: p,
3127
- types: pe
3128
- };
3129
- window.showOpenFilePicker(s).then(function(f) {
3130
- return n(f);
3131
- }).then(function(f) {
3132
- _(f, null), Y({
3133
- type: "closeDialog"
3134
- });
3135
- }).catch(function(f) {
3136
- Mo(f) ? (ne(f), Y({
3137
- type: "closeDialog"
3138
- })) : Lo(f) ? (h.current = !1, B.current ? (B.current.value = null, B.current.click()) : g(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : g(f);
3139
- });
3140
- return;
3141
- }
3142
- B.current && (Y({
3143
- type: "openDialog"
3144
- }), ce(), B.current.value = null, B.current.click());
3145
- }, [Y, ce, ne, H, _, g, pe, p]), G = V(function(s) {
3146
- !I.current || !I.current.isEqualNode(s.target) || (s.key === " " || s.key === "Enter" || s.keyCode === 32 || s.keyCode === 13) && (s.preventDefault(), c());
3147
- }, [I, c]), le = V(function() {
3148
- Y({
3149
- type: "focus"
3150
- });
3151
- }, []), he = V(function() {
3152
- Y({
3153
- type: "blur"
3154
- });
3155
- }, []), xt = V(function() {
3156
- $ || (Io() ? setTimeout(c, 0) : c());
3157
- }, [$, c]), fe = function(f) {
3158
- return i ? null : f;
3159
- }, Ye = function(f) {
3160
- return d ? null : fe(f);
3161
- }, Ae = function(f) {
3162
- return J ? null : fe(f);
3163
- }, Se = function(f) {
3164
- Z && f.stopPropagation();
3165
- }, Oa = ve(function() {
3166
- return function() {
3167
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.refKey, M = f === void 0 ? "ref" : f, W = s.role, K = s.onKeyDown, be = s.onFocus, me = s.onBlur, Be = s.onClick, He = s.onDragEnter, Ge = s.onDragOver, Pe = s.onDragLeave, Ke = s.onDrop, Ne = Me(s, Yo);
3168
- return R(R(dt({
3169
- onKeyDown: Ye(Q(K, G)),
3170
- onFocus: Ye(Q(be, le)),
3171
- onBlur: Ye(Q(me, he)),
3172
- onClick: fe(Q(Be, xt)),
3173
- onDragEnter: Ae(Q(He, w)),
3174
- onDragOver: Ae(Q(Ge, E)),
3175
- onDragLeave: Ae(Q(Pe, T)),
3176
- onDrop: Ae(Q(Ke, U)),
3177
- role: typeof W == "string" && W !== "" ? W : "presentation"
3178
- }, M, I), !i && !d ? {
3179
- tabIndex: 0
3180
- } : {}), Ne);
3181
- };
3182
- }, [I, G, le, he, xt, w, E, T, U, d, J, i]), Aa = V(function(s) {
3183
- s.stopPropagation();
3184
- }, []), Sa = ve(function() {
3185
- return function() {
3186
- var s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, f = s.refKey, M = f === void 0 ? "ref" : f, W = s.onChange, K = s.onClick, be = Me(s, Bo), me = dt({
3187
- accept: te,
3188
- multiple: p,
3189
- type: "file",
3190
- style: {
3191
- border: 0,
3192
- clip: "rect(0, 0, 0, 0)",
3193
- clipPath: "inset(50%)",
3194
- height: "1px",
3195
- margin: "0 -1px -1px 0",
3196
- overflow: "hidden",
3197
- padding: 0,
3198
- position: "absolute",
3199
- width: "1px",
3200
- whiteSpace: "nowrap"
3201
- },
3202
- onChange: fe(Q(W, U)),
3203
- onClick: fe(Q(K, Aa)),
3204
- tabIndex: -1
3205
- }, M, B);
3206
- return R(R({}, me), be);
3207
- };
3208
- }, [B, a, p, U, i]);
3209
- return R(R({}, oe), {}, {
3210
- isFocused: r && !i,
3211
- getRootProps: Oa,
3212
- getInputProps: Sa,
3213
- rootRef: I,
3214
- inputRef: B,
3215
- open: fe(c)
3216
- });
3217
- }
3218
- function er(e, t) {
3219
- switch (t.type) {
3220
- case "focus":
3221
- return R(R({}, e), {}, {
3222
- isFocused: !0
3223
- });
3224
- case "blur":
3225
- return R(R({}, e), {}, {
3226
- isFocused: !1
3227
- });
3228
- case "openDialog":
3229
- return R(R({}, ut), {}, {
3230
- isFileDialogActive: !0
3231
- });
3232
- case "closeDialog":
3233
- return R(R({}, e), {}, {
3234
- isFileDialogActive: !1
3235
- });
3236
- case "setDraggedFiles":
3237
- return R(R({}, e), {}, {
3238
- isDragActive: t.isDragActive,
3239
- isDragAccept: t.isDragAccept,
3240
- isDragReject: t.isDragReject
3241
- });
3242
- case "setFiles":
3243
- return R(R({}, e), {}, {
3244
- acceptedFiles: t.acceptedFiles,
3245
- fileRejections: t.fileRejections,
3246
- isDragReject: t.isDragReject
3247
- });
3248
- case "reset":
3249
- return R({}, ut);
3250
- default:
3251
- return e;
3252
- }
3253
- }
3254
- function Jt() {
3255
- }
3256
- export {
3257
- rr as A,
3258
- Qt as B,
3259
- Ka as C,
3260
- ua as D,
3261
- vr as E,
3262
- Ln as F,
3263
- aa as G,
3264
- ft as H,
3265
- Ee as I,
3266
- gi as J,
3267
- Nn as K,
3268
- Fe as L,
3269
- ra as M,
3270
- In as N,
3271
- _t as O,
3272
- P,
3273
- Ni as Q,
3274
- ye as R,
3275
- Oe as S,
3276
- ma as T,
3277
- or as U,
3278
- Xt as a,
3279
- ir as b,
3280
- mr as c,
3281
- Ue as d,
3282
- ht as e,
3283
- Wn as f,
3284
- cn as g,
3285
- na as h,
3286
- nr as i,
3287
- ge as j,
3288
- pa as k,
3289
- Te as l,
3290
- cr as m,
3291
- lr as n,
3292
- on as o,
3293
- $n as p,
3294
- en as q,
3295
- ar as r,
3296
- dr as s,
3297
- sr as t,
3298
- Qo as u,
3299
- ur as v,
3300
- pr as w,
3301
- Qi as x,
3302
- oa as y,
3303
- fr as z
3304
- };