@solostylist/ui-kit 1.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 (391) hide show
  1. package/README.md +13 -0
  2. package/dist/AppAutocomplete/AppAutocomplete.d.ts +10 -0
  3. package/dist/AppAutocomplete/AppAutocomplete.js +19 -0
  4. package/dist/AppAutocomplete/index.d.ts +1 -0
  5. package/dist/AppAutocomplete/index.js +4 -0
  6. package/dist/AppAutocomplete/package.json +5 -0
  7. package/dist/AppAvatar/AppAvatar.d.ts +7 -0
  8. package/dist/AppAvatar/AppAvatar.js +13 -0
  9. package/dist/AppAvatar/index.d.ts +1 -0
  10. package/dist/AppAvatar/index.js +4 -0
  11. package/dist/AppAvatar/package.json +5 -0
  12. package/dist/AppBox/AppBox.d.ts +7 -0
  13. package/dist/AppBox/AppBox.js +7 -0
  14. package/dist/AppBox/index.d.ts +1 -0
  15. package/dist/AppBox/index.js +4 -0
  16. package/dist/AppBox/package.json +5 -0
  17. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +3 -0
  18. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +6 -0
  19. package/dist/AppBreadcrumbsSeparator/index.d.ts +1 -0
  20. package/dist/AppBreadcrumbsSeparator/index.js +4 -0
  21. package/dist/AppBreadcrumbsSeparator/package.json +5 -0
  22. package/dist/AppButton/AppButton.d.ts +9 -0
  23. package/dist/AppButton/AppButton.js +44 -0
  24. package/dist/AppButton/index.d.ts +1 -0
  25. package/dist/AppButton/index.js +4 -0
  26. package/dist/AppButton/package.json +5 -0
  27. package/dist/AppButtonLink/AppButtonLink.d.ts +16 -0
  28. package/dist/AppButtonLink/AppButtonLink.js +36 -0
  29. package/dist/AppButtonLink/index.d.ts +1 -0
  30. package/dist/AppButtonLink/index.js +4 -0
  31. package/dist/AppButtonLink/package.json +5 -0
  32. package/dist/AppCard/AppCard.d.ts +6 -0
  33. package/dist/AppCard/AppCard.js +6 -0
  34. package/dist/AppCard/index.d.ts +1 -0
  35. package/dist/AppCard/index.js +4 -0
  36. package/dist/AppCard/package.json +5 -0
  37. package/dist/AppCardActions/AppCardActions.d.ts +6 -0
  38. package/dist/AppCardActions/AppCardActions.js +6 -0
  39. package/dist/AppCardActions/index.d.ts +1 -0
  40. package/dist/AppCardActions/index.js +4 -0
  41. package/dist/AppCardActions/package.json +5 -0
  42. package/dist/AppCardContent/AppCardContent.d.ts +6 -0
  43. package/dist/AppCardContent/AppCardContent.js +6 -0
  44. package/dist/AppCardContent/index.d.ts +1 -0
  45. package/dist/AppCardContent/index.js +4 -0
  46. package/dist/AppCardContent/package.json +5 -0
  47. package/dist/AppCardHeader/AppCardHeader.d.ts +10 -0
  48. package/dist/AppCardHeader/AppCardHeader.js +13 -0
  49. package/dist/AppCardHeader/index.d.ts +1 -0
  50. package/dist/AppCardHeader/index.js +4 -0
  51. package/dist/AppCardHeader/package.json +5 -0
  52. package/dist/AppCheckbox/AppCheckbox.d.ts +7 -0
  53. package/dist/AppCheckbox/AppCheckbox.js +16 -0
  54. package/dist/AppCheckbox/index.d.ts +1 -0
  55. package/dist/AppCheckbox/index.js +4 -0
  56. package/dist/AppCheckbox/package.json +5 -0
  57. package/dist/AppChip/AppChip.d.ts +6 -0
  58. package/dist/AppChip/AppChip.js +6 -0
  59. package/dist/AppChip/index.d.ts +1 -0
  60. package/dist/AppChip/index.js +4 -0
  61. package/dist/AppChip/package.json +5 -0
  62. package/dist/AppChips/AppChips.d.ts +7 -0
  63. package/dist/AppChips/AppChips.js +72 -0
  64. package/dist/AppChips/index.d.ts +1 -0
  65. package/dist/AppChips/index.js +4 -0
  66. package/dist/AppChips/package.json +5 -0
  67. package/dist/AppDataTable/AppDataTable.d.ts +29 -0
  68. package/dist/AppDataTable/AppDataTable.js +1178 -0
  69. package/dist/AppDataTable/index.d.ts +2 -0
  70. package/dist/AppDataTable/index.js +4 -0
  71. package/dist/AppDataTable/package.json +5 -0
  72. package/dist/AppDialog/AppDialog.d.ts +15 -0
  73. package/dist/AppDialog/AppDialog.js +31 -0
  74. package/dist/AppDialog/index.d.ts +1 -0
  75. package/dist/AppDialog/index.js +4 -0
  76. package/dist/AppDialog/package.json +5 -0
  77. package/dist/AppDialogConfirm/AppDialogConfirm.d.ts +30 -0
  78. package/dist/AppDialogConfirm/AppDialogConfirm.js +74 -0
  79. package/dist/AppDialogConfirm/index.d.ts +2 -0
  80. package/dist/AppDialogConfirm/index.js +6 -0
  81. package/dist/AppDialogConfirm/package.json +5 -0
  82. package/dist/AppDialogMessage/AppDialogMessage.d.ts +27 -0
  83. package/dist/AppDialogMessage/AppDialogMessage.js +64 -0
  84. package/dist/AppDialogMessage/index.d.ts +2 -0
  85. package/dist/AppDialogMessage/index.js +6 -0
  86. package/dist/AppDialogMessage/package.json +5 -0
  87. package/dist/AppEmpty/AppEmpty.d.ts +5 -0
  88. package/dist/AppEmpty/AppEmpty.js +6 -0
  89. package/dist/AppEmpty/index.d.ts +1 -0
  90. package/dist/AppEmpty/index.js +4 -0
  91. package/dist/AppEmpty/package.json +5 -0
  92. package/dist/AppError/AppError.d.ts +3 -0
  93. package/dist/AppError/AppError.js +18 -0
  94. package/dist/AppError/index.d.ts +1 -0
  95. package/dist/AppError/index.js +4 -0
  96. package/dist/AppError/package.json +5 -0
  97. package/dist/AppFileDropzone/AppFileDropzone.d.ts +20 -0
  98. package/dist/AppFileDropzone/AppFileDropzone.js +166 -0
  99. package/dist/AppFileDropzone/index.d.ts +2 -0
  100. package/dist/AppFileDropzone/index.js +4 -0
  101. package/dist/AppFileDropzone/package.json +5 -0
  102. package/dist/AppFileIcon/AppFileIcon.d.ts +6 -0
  103. package/dist/AppFileIcon/AppFileIcon.js +29 -0
  104. package/dist/AppFileIcon/index.d.ts +1 -0
  105. package/dist/AppFileIcon/index.js +4 -0
  106. package/dist/AppFileIcon/package.json +5 -0
  107. package/dist/AppFormControl/AppFormControl.d.ts +8 -0
  108. package/dist/AppFormControl/AppFormControl.js +10 -0
  109. package/dist/AppFormControl/index.d.ts +1 -0
  110. package/dist/AppFormControl/index.js +4 -0
  111. package/dist/AppFormControl/package.json +5 -0
  112. package/dist/AppGallery/AppGallery.d.ts +6 -0
  113. package/dist/AppGallery/AppGallery.js +1089 -0
  114. package/dist/AppGallery/index.d.ts +1 -0
  115. package/dist/AppGallery/index.js +4 -0
  116. package/dist/AppGallery/package.json +5 -0
  117. package/dist/AppI18nProvider/AppI18nProvider.d.ts +7 -0
  118. package/dist/AppI18nProvider/AppI18nProvider.js +20 -0
  119. package/dist/AppI18nProvider/index.d.ts +1 -0
  120. package/dist/AppI18nProvider/index.js +4 -0
  121. package/dist/AppI18nProvider/package.json +5 -0
  122. package/dist/AppIconButton/AppIconButton.d.ts +8 -0
  123. package/dist/AppIconButton/AppIconButton.js +6 -0
  124. package/dist/AppIconButton/index.d.ts +1 -0
  125. package/dist/AppIconButton/index.js +4 -0
  126. package/dist/AppIconButton/package.json +5 -0
  127. package/dist/AppIcons/AppIcons.d.ts +3 -0
  128. package/dist/AppIcons/AppIcons.js +1081 -0
  129. package/dist/AppIcons/index.d.ts +1 -0
  130. package/dist/AppIcons/index.js +4 -0
  131. package/dist/AppIcons/package.json +5 -0
  132. package/dist/AppLabel/AppLabel.d.ts +11 -0
  133. package/dist/AppLabel/AppLabel.js +21 -0
  134. package/dist/AppLabel/index.d.ts +1 -0
  135. package/dist/AppLabel/index.js +4 -0
  136. package/dist/AppLabel/package.json +5 -0
  137. package/dist/AppLink/AppLink.d.ts +6 -0
  138. package/dist/AppLink/AppLink.js +6 -0
  139. package/dist/AppLink/index.d.ts +1 -0
  140. package/dist/AppLink/index.js +4 -0
  141. package/dist/AppLink/package.json +5 -0
  142. package/dist/AppMultiSelect/AppMultiSelect.d.ts +12 -0
  143. package/dist/AppMultiSelect/AppMultiSelect.js +61 -0
  144. package/dist/AppMultiSelect/index.d.ts +1 -0
  145. package/dist/AppMultiSelect/index.js +4 -0
  146. package/dist/AppMultiSelect/package.json +5 -0
  147. package/dist/AppNoData/AppNoData.d.ts +5 -0
  148. package/dist/AppNoData/AppNoData.js +6 -0
  149. package/dist/AppNoData/index.d.ts +1 -0
  150. package/dist/AppNoData/index.js +4 -0
  151. package/dist/AppNoData/package.json +5 -0
  152. package/dist/AppNoSsr/AppNoSsr.d.ts +8 -0
  153. package/dist/AppNoSsr/AppNoSsr.js +14 -0
  154. package/dist/AppNoSsr/index.d.ts +1 -0
  155. package/dist/AppNoSsr/index.js +4 -0
  156. package/dist/AppNoSsr/package.json +5 -0
  157. package/dist/AppOption/AppOption.d.ts +9 -0
  158. package/dist/AppOption/AppOption.js +6 -0
  159. package/dist/AppOption/index.d.ts +1 -0
  160. package/dist/AppOption/index.js +4 -0
  161. package/dist/AppOption/package.json +5 -0
  162. package/dist/AppOutlinedInput/AppOutlinedInput.d.ts +10 -0
  163. package/dist/AppOutlinedInput/AppOutlinedInput.js +40 -0
  164. package/dist/AppOutlinedInput/index.d.ts +1 -0
  165. package/dist/AppOutlinedInput/index.js +4 -0
  166. package/dist/AppOutlinedInput/package.json +5 -0
  167. package/dist/AppPagination/AppPagination.d.ts +7 -0
  168. package/dist/AppPagination/AppPagination.js +17 -0
  169. package/dist/AppPagination/index.d.ts +1 -0
  170. package/dist/AppPagination/index.js +4 -0
  171. package/dist/AppPagination/package.json +5 -0
  172. package/dist/AppRating/AppRating.d.ts +7 -0
  173. package/dist/AppRating/AppRating.js +7 -0
  174. package/dist/AppRating/index.d.ts +1 -0
  175. package/dist/AppRating/index.js +4 -0
  176. package/dist/AppRating/package.json +5 -0
  177. package/dist/AppSelect/AppSelect.d.ts +14 -0
  178. package/dist/AppSelect/AppSelect.js +82 -0
  179. package/dist/AppSelect/index.d.ts +1 -0
  180. package/dist/AppSelect/index.js +4 -0
  181. package/dist/AppSelect/package.json +5 -0
  182. package/dist/AppSkeleton/AppSkeleton.d.ts +11 -0
  183. package/dist/AppSkeleton/AppSkeleton.js +34 -0
  184. package/dist/AppSkeleton/index.d.ts +1 -0
  185. package/dist/AppSkeleton/index.js +4 -0
  186. package/dist/AppSkeleton/package.json +5 -0
  187. package/dist/AppSnackbarMessage/AppSnackbarMessage.d.ts +23 -0
  188. package/dist/AppSnackbarMessage/AppSnackbarMessage.js +50 -0
  189. package/dist/AppSnackbarMessage/index.d.ts +2 -0
  190. package/dist/AppSnackbarMessage/index.js +6 -0
  191. package/dist/AppSnackbarMessage/package.json +5 -0
  192. package/dist/AppStack/AppStack.d.ts +6 -0
  193. package/dist/AppStack/AppStack.js +6 -0
  194. package/dist/AppStack/index.d.ts +1 -0
  195. package/dist/AppStack/index.js +4 -0
  196. package/dist/AppStack/package.json +5 -0
  197. package/dist/AppTextEditor/AppTextEditor.d.ts +23 -0
  198. package/dist/AppTextEditor/AppTextEditor.js +80 -0
  199. package/dist/AppTextEditor/TextEditorToolbar.d.ts +6 -0
  200. package/dist/AppTextEditor/TextEditorToolbar.js +4479 -0
  201. package/dist/AppTextEditor/index.d.ts +1 -0
  202. package/dist/AppTextEditor/index.js +4 -0
  203. package/dist/AppTextEditor/package.json +5 -0
  204. package/dist/AppTextTruncation/AppTextTruncation.d.ts +6 -0
  205. package/dist/AppTextTruncation/AppTextTruncation.js +15 -0
  206. package/dist/AppTextTruncation/index.d.ts +1 -0
  207. package/dist/AppTextTruncation/index.js +4 -0
  208. package/dist/AppTextTruncation/package.json +5 -0
  209. package/dist/AppThemeProvider/AppThemeProvider.d.ts +9 -0
  210. package/dist/AppThemeProvider/AppThemeProvider.js +141 -0
  211. package/dist/AppThemeProvider/index.d.ts +1 -0
  212. package/dist/AppThemeProvider/index.js +4 -0
  213. package/dist/AppThemeProvider/package.json +5 -0
  214. package/dist/AppTip/AppTip.d.ts +6 -0
  215. package/dist/AppTip/AppTip.js +28 -0
  216. package/dist/AppTip/index.d.ts +1 -0
  217. package/dist/AppTip/index.js +4 -0
  218. package/dist/AppTip/package.json +5 -0
  219. package/dist/Box-yxuKPTCX.js +60 -0
  220. package/dist/ButtonBase-p_uz8ITC.js +989 -0
  221. package/dist/CaretDown-CgrRY9__.js +41 -0
  222. package/dist/DefaultPropsProvider-BV4t9fEW.js +71 -0
  223. package/dist/Lightbulb-1rDyOsPk.js +47 -0
  224. package/dist/Menu-B0R91i07.js +2994 -0
  225. package/dist/MenuItem-BjjYkRmW.js +262 -0
  226. package/dist/SSRBase-B9xq2wUG.js +56 -0
  227. package/dist/Stack-D9qNbbkC.js +198 -0
  228. package/dist/Typography-BYkXNa-U.js +260 -0
  229. package/dist/User-Bx-HYRxI.js +41 -0
  230. package/dist/X-DETrowOy.js +47 -0
  231. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  232. package/dist/assets/AppGallery.css +1 -0
  233. package/dist/assets/AppTextTruncation.css +1 -0
  234. package/dist/backdropClasses-DDhytLTQ.js +9 -0
  235. package/dist/clsx-C-FXfxyk.js +236 -0
  236. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  237. package/dist/createTheme-C97xvI-s.js +2789 -0
  238. package/dist/extendSxProp-CKQgGYDd.js +37 -0
  239. package/dist/generateUtilityClasses-CuEy5gtx.js +41 -0
  240. package/dist/hooks/index.d.ts +2 -0
  241. package/dist/hooks/index.js +6 -0
  242. package/dist/hooks/use-dialog.d.ts +7 -0
  243. package/dist/hooks/use-dialog.js +12 -0
  244. package/dist/hooks/use-popover.d.ts +10 -0
  245. package/dist/hooks/use-popover.js +14 -0
  246. package/dist/index-Btrukby7.js +88 -0
  247. package/dist/inputBaseClasses-s6dljKxi.js +9 -0
  248. package/dist/jsx-runtime-B6kdoens.js +634 -0
  249. package/dist/listItemIconClasses-CTdclC9V.js +5 -0
  250. package/dist/main.d.ts +51 -0
  251. package/dist/main.js +111 -0
  252. package/dist/memoTheme-B2qvAi64.js +404 -0
  253. package/dist/outlinedInputClasses-R7dmh7eW.js +13 -0
  254. package/dist/paperClasses-Bf2rrWVr.js +9 -0
  255. package/dist/styles/theme/color-schemes.d.ts +7 -0
  256. package/dist/styles/theme/color-schemes.js +195 -0
  257. package/dist/styles/theme/colors.d.ts +92 -0
  258. package/dist/styles/theme/colors.js +94 -0
  259. package/dist/styles/theme/components/accordion.d.ts +8 -0
  260. package/dist/styles/theme/components/accordion.js +11 -0
  261. package/dist/styles/theme/components/alert.d.ts +7 -0
  262. package/dist/styles/theme/components/alert.js +4 -0
  263. package/dist/styles/theme/components/autocomplete.d.ts +124 -0
  264. package/dist/styles/theme/components/autocomplete.js +51 -0
  265. package/dist/styles/theme/components/avatar.d.ts +18 -0
  266. package/dist/styles/theme/components/avatar.js +21 -0
  267. package/dist/styles/theme/components/backdrop.d.ts +9 -0
  268. package/dist/styles/theme/components/backdrop.js +9 -0
  269. package/dist/styles/theme/components/button-base.d.ts +5 -0
  270. package/dist/styles/theme/components/button-base.js +4 -0
  271. package/dist/styles/theme/components/button-group.d.ts +5 -0
  272. package/dist/styles/theme/components/button-group.js +4 -0
  273. package/dist/styles/theme/components/button.d.ts +180 -0
  274. package/dist/styles/theme/components/button.js +109 -0
  275. package/dist/styles/theme/components/card-actions.d.ts +7 -0
  276. package/dist/styles/theme/components/card-actions.js +6 -0
  277. package/dist/styles/theme/components/card-content.d.ts +10 -0
  278. package/dist/styles/theme/components/card-content.js +7 -0
  279. package/dist/styles/theme/components/card-header.d.ts +25 -0
  280. package/dist/styles/theme/components/card-header.js +20 -0
  281. package/dist/styles/theme/components/card.d.ts +979 -0
  282. package/dist/styles/theme/components/card.js +17 -0
  283. package/dist/styles/theme/components/checkbox.d.ts +18 -0
  284. package/dist/styles/theme/components/checkbox.js +60 -0
  285. package/dist/styles/theme/components/chip.d.ts +1092 -0
  286. package/dist/styles/theme/components/chip.js +106 -0
  287. package/dist/styles/theme/components/components.d.ts +3206 -0
  288. package/dist/styles/theme/components/components.js +115 -0
  289. package/dist/styles/theme/components/dialog-actions.d.ts +7 -0
  290. package/dist/styles/theme/components/dialog-actions.js +6 -0
  291. package/dist/styles/theme/components/dialog-content-text.d.ts +8 -0
  292. package/dist/styles/theme/components/dialog-content-text.js +6 -0
  293. package/dist/styles/theme/components/dialog-content.d.ts +8 -0
  294. package/dist/styles/theme/components/dialog-content.js +6 -0
  295. package/dist/styles/theme/components/dialog-title.d.ts +7 -0
  296. package/dist/styles/theme/components/dialog-title.js +6 -0
  297. package/dist/styles/theme/components/filled-input.d.ts +31 -0
  298. package/dist/styles/theme/components/filled-input.js +21 -0
  299. package/dist/styles/theme/components/form-control-label.d.ts +15 -0
  300. package/dist/styles/theme/components/form-control-label.js +7 -0
  301. package/dist/styles/theme/components/form-group.d.ts +7 -0
  302. package/dist/styles/theme/components/form-group.js +4 -0
  303. package/dist/styles/theme/components/form-helper-text.d.ts +8 -0
  304. package/dist/styles/theme/components/form-helper-text.js +8 -0
  305. package/dist/styles/theme/components/form-label.d.ts +12 -0
  306. package/dist/styles/theme/components/form-label.js +9 -0
  307. package/dist/styles/theme/components/icon-button.d.ts +83 -0
  308. package/dist/styles/theme/components/icon-button.js +49 -0
  309. package/dist/styles/theme/components/input-base.d.ts +39 -0
  310. package/dist/styles/theme/components/input-base.js +34 -0
  311. package/dist/styles/theme/components/input-label.d.ts +10 -0
  312. package/dist/styles/theme/components/input-label.js +6 -0
  313. package/dist/styles/theme/components/input.d.ts +32 -0
  314. package/dist/styles/theme/components/input.js +22 -0
  315. package/dist/styles/theme/components/linear-progress.d.ts +8 -0
  316. package/dist/styles/theme/components/linear-progress.js +6 -0
  317. package/dist/styles/theme/components/link.d.ts +10 -0
  318. package/dist/styles/theme/components/link.js +11 -0
  319. package/dist/styles/theme/components/list-item-avatar.d.ts +7 -0
  320. package/dist/styles/theme/components/list-item-avatar.js +6 -0
  321. package/dist/styles/theme/components/list-item-button.d.ts +10 -0
  322. package/dist/styles/theme/components/list-item-button.js +7 -0
  323. package/dist/styles/theme/components/list-item-icon.d.ts +9 -0
  324. package/dist/styles/theme/components/list-item-icon.js +6 -0
  325. package/dist/styles/theme/components/list-item-text.d.ts +7 -0
  326. package/dist/styles/theme/components/list-item-text.js +6 -0
  327. package/dist/styles/theme/components/list-item.d.ts +7 -0
  328. package/dist/styles/theme/components/list-item.js +6 -0
  329. package/dist/styles/theme/components/list.d.ts +7 -0
  330. package/dist/styles/theme/components/list.js +6 -0
  331. package/dist/styles/theme/components/menu-item.d.ts +17 -0
  332. package/dist/styles/theme/components/menu-item.js +17 -0
  333. package/dist/styles/theme/components/menu.d.ts +13 -0
  334. package/dist/styles/theme/components/menu.js +7 -0
  335. package/dist/styles/theme/components/outlined-input.d.ts +127 -0
  336. package/dist/styles/theme/components/outlined-input.js +47 -0
  337. package/dist/styles/theme/components/paper.d.ts +7 -0
  338. package/dist/styles/theme/components/paper.js +6 -0
  339. package/dist/styles/theme/components/popover.d.ts +11 -0
  340. package/dist/styles/theme/components/popover.js +7 -0
  341. package/dist/styles/theme/components/radio.d.ts +13 -0
  342. package/dist/styles/theme/components/radio.js +25 -0
  343. package/dist/styles/theme/components/select.d.ts +21 -0
  344. package/dist/styles/theme/components/select.js +18 -0
  345. package/dist/styles/theme/components/skeleton.d.ts +5 -0
  346. package/dist/styles/theme/components/skeleton.js +8 -0
  347. package/dist/styles/theme/components/stack.d.ts +5 -0
  348. package/dist/styles/theme/components/stack.js +4 -0
  349. package/dist/styles/theme/components/switch.d.ts +19 -0
  350. package/dist/styles/theme/components/switch.js +11 -0
  351. package/dist/styles/theme/components/tab.d.ts +18 -0
  352. package/dist/styles/theme/components/tab.js +15 -0
  353. package/dist/styles/theme/components/table-body.d.ts +5 -0
  354. package/dist/styles/theme/components/table-body.js +10 -0
  355. package/dist/styles/theme/components/table-cell.d.ts +10 -0
  356. package/dist/styles/theme/components/table-cell.js +11 -0
  357. package/dist/styles/theme/components/table-head.d.ts +11 -0
  358. package/dist/styles/theme/components/table-head.js +15 -0
  359. package/dist/styles/theme/components/table-pagination.d.ts +28 -0
  360. package/dist/styles/theme/components/table-pagination.js +93 -0
  361. package/dist/styles/theme/components/tabs.d.ts +33 -0
  362. package/dist/styles/theme/components/tabs.js +20 -0
  363. package/dist/styles/theme/components/timeline-connector.d.ts +7 -0
  364. package/dist/styles/theme/components/timeline-connector.js +6 -0
  365. package/dist/styles/theme/components/toggle-button-group.d.ts +23 -0
  366. package/dist/styles/theme/components/toggle-button-group.js +17 -0
  367. package/dist/styles/theme/components/toggle-button.d.ts +12 -0
  368. package/dist/styles/theme/components/toggle-button.js +9 -0
  369. package/dist/styles/theme/components/tooltip.d.ts +10 -0
  370. package/dist/styles/theme/components/tooltip.js +7 -0
  371. package/dist/styles/theme/create-theme.d.ts +8 -0
  372. package/dist/styles/theme/create-theme.js +22 -0
  373. package/dist/styles/theme/index.d.ts +1 -0
  374. package/dist/styles/theme/index.js +4 -0
  375. package/dist/styles/theme/shadows.d.ts +4 -0
  376. package/dist/styles/theme/shadows.js +59 -0
  377. package/dist/styles/theme/typography.d.ts +68 -0
  378. package/dist/styles/theme/typography.js +31 -0
  379. package/dist/tableCellClasses-BIg5orIQ.js +9 -0
  380. package/dist/useControlled-CYUofcJ9.js +287 -0
  381. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  382. package/dist/useTheme-DYc4rgBb.js +17 -0
  383. package/dist/utils/bytes-to-size.d.ts +1 -0
  384. package/dist/utils/bytes-to-size.js +9 -0
  385. package/dist/utils/dayjs.d.ts +3 -0
  386. package/dist/utils/dayjs.js +108 -0
  387. package/dist/utils/index.d.ts +3 -0
  388. package/dist/utils/index.js +13 -0
  389. package/dist/utils/logger.d.ts +26 -0
  390. package/dist/utils/logger.js +51 -0
  391. package/package.json +108 -0
@@ -0,0 +1,1089 @@
1
+ import { j as $t } from "../jsx-runtime-B6kdoens.js";
2
+ import { c as de, g as Yt } from "../_commonjsHelpers-DaMA6jEr.js";
3
+ import Jt from "react";
4
+ import '../assets/AppGallery.css';var ht = { exports: {} };
5
+ (function(ye, en) {
6
+ (function(We, we) {
7
+ ye.exports = we(Jt);
8
+ })(de, (We) => (() => {
9
+ var we = { 703: (k, P, L) => {
10
+ var f = L(414);
11
+ function G() {
12
+ }
13
+ function U() {
14
+ }
15
+ U.resetWarningCache = G, k.exports = function() {
16
+ function v(j, B, q, ie, Te, Oe) {
17
+ if (Oe !== f) {
18
+ var pe = new Error("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");
19
+ throw pe.name = "Invariant Violation", pe;
20
+ }
21
+ }
22
+ function O() {
23
+ return v;
24
+ }
25
+ v.isRequired = v;
26
+ var W = { array: v, bool: v, func: v, number: v, object: v, string: v, symbol: v, any: v, arrayOf: O, element: v, elementType: v, instanceOf: O, node: v, objectOf: O, oneOf: O, oneOfType: O, shape: O, exact: O, checkPropTypes: U, resetWarningCache: G };
27
+ return W.PropTypes = W, W;
28
+ };
29
+ }, 697: (k, P, L) => {
30
+ k.exports = L(703)();
31
+ }, 414: (k) => {
32
+ k.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
33
+ }, 590: (k) => {
34
+ var P = typeof Element < "u", L = typeof Map == "function", f = typeof Set == "function", G = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
35
+ function U(v, O) {
36
+ if (v === O) return !0;
37
+ if (v && O && typeof v == "object" && typeof O == "object") {
38
+ if (v.constructor !== O.constructor) return !1;
39
+ var W, j, B, q;
40
+ if (Array.isArray(v)) {
41
+ if ((W = v.length) != O.length) return !1;
42
+ for (j = W; j-- != 0; ) if (!U(v[j], O[j])) return !1;
43
+ return !0;
44
+ }
45
+ if (L && v instanceof Map && O instanceof Map) {
46
+ if (v.size !== O.size) return !1;
47
+ for (q = v.entries(); !(j = q.next()).done; ) if (!O.has(j.value[0])) return !1;
48
+ for (q = v.entries(); !(j = q.next()).done; ) if (!U(j.value[1], O.get(j.value[0]))) return !1;
49
+ return !0;
50
+ }
51
+ if (f && v instanceof Set && O instanceof Set) {
52
+ if (v.size !== O.size) return !1;
53
+ for (q = v.entries(); !(j = q.next()).done; ) if (!O.has(j.value[0])) return !1;
54
+ return !0;
55
+ }
56
+ if (G && ArrayBuffer.isView(v) && ArrayBuffer.isView(O)) {
57
+ if ((W = v.length) != O.length) return !1;
58
+ for (j = W; j-- != 0; ) if (v[j] !== O[j]) return !1;
59
+ return !0;
60
+ }
61
+ if (v.constructor === RegExp) return v.source === O.source && v.flags === O.flags;
62
+ if (v.valueOf !== Object.prototype.valueOf) return v.valueOf() === O.valueOf();
63
+ if (v.toString !== Object.prototype.toString) return v.toString() === O.toString();
64
+ if ((W = (B = Object.keys(v)).length) !== Object.keys(O).length) return !1;
65
+ for (j = W; j-- != 0; ) if (!Object.prototype.hasOwnProperty.call(O, B[j])) return !1;
66
+ if (P && v instanceof Element) return !1;
67
+ for (j = W; j-- != 0; ) if ((B[j] !== "_owner" && B[j] !== "__v" && B[j] !== "__o" || !v.$$typeof) && !U(v[B[j]], O[B[j]])) return !1;
68
+ return !0;
69
+ }
70
+ return v != v && O != O;
71
+ }
72
+ k.exports = function(v, O) {
73
+ try {
74
+ return U(v, O);
75
+ } catch (W) {
76
+ if ((W.message || "").match(/stack|recursion/i)) return console.warn("react-fast-compare cannot handle circular refs"), !1;
77
+ throw W;
78
+ }
79
+ };
80
+ }, 359: (k) => {
81
+ k.exports = We;
82
+ } }, Ce = {};
83
+ function D(k) {
84
+ var P = Ce[k];
85
+ if (P !== void 0) return P.exports;
86
+ var L = Ce[k] = { exports: {} };
87
+ return we[k](L, L.exports, D), L.exports;
88
+ }
89
+ D.n = (k) => {
90
+ var P = k && k.__esModule ? () => k.default : () => k;
91
+ return D.d(P, { a: P }), P;
92
+ }, D.d = (k, P) => {
93
+ for (var L in P) D.o(P, L) && !D.o(k, L) && Object.defineProperty(k, L, { enumerable: !0, get: P[L] });
94
+ }, D.g = function() {
95
+ if (typeof globalThis == "object") return globalThis;
96
+ try {
97
+ return this || new Function("return this")();
98
+ } catch {
99
+ if (typeof window == "object") return window;
100
+ }
101
+ }(), D.o = (k, P) => Object.prototype.hasOwnProperty.call(k, P), D.r = (k) => {
102
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(k, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(k, "__esModule", { value: !0 });
103
+ };
104
+ var Se = {};
105
+ return (() => {
106
+ function k(i) {
107
+ var e, r, a = "";
108
+ if (typeof i == "string" || typeof i == "number") a += i;
109
+ else if (typeof i == "object") if (Array.isArray(i)) for (e = 0; e < i.length; e++) i[e] && (r = k(i[e])) && (a && (a += " "), a += r);
110
+ else for (e in i) i[e] && (a && (a += " "), a += e);
111
+ return a;
112
+ }
113
+ function P() {
114
+ for (var i, e, r = 0, a = ""; r < arguments.length; ) (i = arguments[r++]) && (e = k(i)) && (a && (a += " "), a += e);
115
+ return a;
116
+ }
117
+ D.r(Se), D.d(Se, { default: () => Vt });
118
+ var L = D(359), f = D.n(L);
119
+ const G = function(i) {
120
+ var e = typeof i;
121
+ return i != null && (e == "object" || e == "function");
122
+ }, U = typeof de == "object" && de && de.Object === Object && de;
123
+ var v = typeof self == "object" && self && self.Object === Object && self;
124
+ const O = U || v || Function("return this")(), W = function() {
125
+ return O.Date.now();
126
+ };
127
+ var j = /\s/, B = /^\s+/;
128
+ const q = function(i) {
129
+ return i && i.slice(0, function(e) {
130
+ for (var r = e.length; r-- && j.test(e.charAt(r)); ) ;
131
+ return r;
132
+ }(i) + 1).replace(B, "");
133
+ }, ie = O.Symbol;
134
+ var Te = Object.prototype, Oe = Te.hasOwnProperty, pe = Te.toString, re = ie ? ie.toStringTag : void 0, dt = Object.prototype.toString, Fe = ie ? ie.toStringTag : void 0;
135
+ const pt = function(i) {
136
+ return i == null ? i === void 0 ? "[object Undefined]" : "[object Null]" : Fe && Fe in Object(i) ? function(e) {
137
+ var r = Oe.call(e, re), a = e[re];
138
+ try {
139
+ e[re] = void 0;
140
+ var c = !0;
141
+ } catch {
142
+ }
143
+ var g = pe.call(e);
144
+ return c && (r ? e[re] = a : delete e[re]), g;
145
+ }(i) : function(e) {
146
+ return dt.call(e);
147
+ }(i);
148
+ };
149
+ var ft = /^[-+]0x[0-9a-f]+$/i, mt = /^0b[01]+$/i, gt = /^0o[0-7]+$/i, bt = parseInt;
150
+ const ze = function(i) {
151
+ if (typeof i == "number") return i;
152
+ if (function(a) {
153
+ return typeof a == "symbol" || function(c) {
154
+ return c != null && typeof c == "object";
155
+ }(a) && pt(a) == "[object Symbol]";
156
+ }(i)) return NaN;
157
+ if (G(i)) {
158
+ var e = typeof i.valueOf == "function" ? i.valueOf() : i;
159
+ i = G(e) ? e + "" : e;
160
+ }
161
+ if (typeof i != "string") return i === 0 ? i : +i;
162
+ i = q(i);
163
+ var r = mt.test(i);
164
+ return r || gt.test(i) ? bt(i.slice(2), r ? 2 : 8) : ft.test(i) ? NaN : +i;
165
+ };
166
+ var vt = Math.max, yt = Math.min;
167
+ const Ee = function(i, e, r) {
168
+ var a, c, g, E, n, t, s = 0, l = !1, h = !1, u = !0;
169
+ if (typeof i != "function") throw new TypeError("Expected a function");
170
+ function w(b) {
171
+ var T = a, I = c;
172
+ return a = c = void 0, s = b, E = i.apply(I, T);
173
+ }
174
+ function y(b) {
175
+ return s = b, n = setTimeout(d, e), l ? w(b) : E;
176
+ }
177
+ function S(b) {
178
+ var T = b - t;
179
+ return t === void 0 || T >= e || T < 0 || h && b - s >= g;
180
+ }
181
+ function d() {
182
+ var b = W();
183
+ if (S(b)) return p(b);
184
+ n = setTimeout(d, function(T) {
185
+ var I = e - (T - t);
186
+ return h ? yt(I, g - (T - s)) : I;
187
+ }(b));
188
+ }
189
+ function p(b) {
190
+ return n = void 0, u && a ? w(b) : (a = c = void 0, E);
191
+ }
192
+ function m() {
193
+ var b = W(), T = S(b);
194
+ if (a = arguments, c = this, t = b, T) {
195
+ if (n === void 0) return y(t);
196
+ if (h) return clearTimeout(n), n = setTimeout(d, e), w(t);
197
+ }
198
+ return n === void 0 && (n = setTimeout(d, e)), E;
199
+ }
200
+ return e = ze(e) || 0, G(r) && (l = !!r.leading, g = (h = "maxWait" in r) ? vt(ze(r.maxWait) || 0, e) : g, u = "trailing" in r ? !!r.trailing : u), m.cancel = function() {
201
+ n !== void 0 && clearTimeout(n), s = 0, a = t = c = n = void 0;
202
+ }, m.flush = function() {
203
+ return n === void 0 ? E : p(W());
204
+ }, m;
205
+ }, Ne = function(i, e, r) {
206
+ var a = !0, c = !0;
207
+ if (typeof i != "function") throw new TypeError("Expected a function");
208
+ return G(r) && (a = "leading" in r ? !!r.leading : a, c = "trailing" in r ? !!r.trailing : c), Ee(i, e, { leading: a, maxWait: e, trailing: c });
209
+ };
210
+ var wt = D(590), St = D.n(wt), Be = function() {
211
+ if (typeof Map < "u") return Map;
212
+ function i(e, r) {
213
+ var a = -1;
214
+ return e.some(function(c, g) {
215
+ return c[0] === r && (a = g, !0);
216
+ }), a;
217
+ }
218
+ return function() {
219
+ function e() {
220
+ this.__entries__ = [];
221
+ }
222
+ return Object.defineProperty(e.prototype, "size", { get: function() {
223
+ return this.__entries__.length;
224
+ }, enumerable: !0, configurable: !0 }), e.prototype.get = function(r) {
225
+ var a = i(this.__entries__, r), c = this.__entries__[a];
226
+ return c && c[1];
227
+ }, e.prototype.set = function(r, a) {
228
+ var c = i(this.__entries__, r);
229
+ ~c ? this.__entries__[c][1] = a : this.__entries__.push([r, a]);
230
+ }, e.prototype.delete = function(r) {
231
+ var a = this.__entries__, c = i(a, r);
232
+ ~c && a.splice(c, 1);
233
+ }, e.prototype.has = function(r) {
234
+ return !!~i(this.__entries__, r);
235
+ }, e.prototype.clear = function() {
236
+ this.__entries__.splice(0);
237
+ }, e.prototype.forEach = function(r, a) {
238
+ a === void 0 && (a = null);
239
+ for (var c = 0, g = this.__entries__; c < g.length; c++) {
240
+ var E = g[c];
241
+ r.call(a, E[1], E[0]);
242
+ }
243
+ }, e;
244
+ }();
245
+ }(), ke = typeof window < "u" && typeof document < "u" && window.document === document, fe = D.g !== void 0 && D.g.Math === Math ? D.g : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")(), Tt = typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(fe) : function(i) {
246
+ return setTimeout(function() {
247
+ return i(Date.now());
248
+ }, 1e3 / 60);
249
+ }, Ot = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Et = typeof MutationObserver < "u", kt = function() {
250
+ function i() {
251
+ this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = /* @__PURE__ */ function(e, r) {
252
+ var a = !1, c = !1, g = 0;
253
+ function E() {
254
+ a && (a = !1, e()), c && t();
255
+ }
256
+ function n() {
257
+ Tt(E);
258
+ }
259
+ function t() {
260
+ var s = Date.now();
261
+ if (a) {
262
+ if (s - g < 2) return;
263
+ c = !0;
264
+ } else a = !0, c = !1, setTimeout(n, 20);
265
+ g = s;
266
+ }
267
+ return t;
268
+ }(this.refresh.bind(this));
269
+ }
270
+ return i.prototype.addObserver = function(e) {
271
+ ~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
272
+ }, i.prototype.removeObserver = function(e) {
273
+ var r = this.observers_, a = r.indexOf(e);
274
+ ~a && r.splice(a, 1), !r.length && this.connected_ && this.disconnect_();
275
+ }, i.prototype.refresh = function() {
276
+ this.updateObservers_() && this.refresh();
277
+ }, i.prototype.updateObservers_ = function() {
278
+ var e = this.observers_.filter(function(r) {
279
+ return r.gatherActive(), r.hasActive();
280
+ });
281
+ return e.forEach(function(r) {
282
+ return r.broadcastActive();
283
+ }), e.length > 0;
284
+ }, i.prototype.connect_ = function() {
285
+ ke && !this.connected_ && (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Et ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: !0, childList: !0, characterData: !0, subtree: !0 })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
286
+ }, i.prototype.disconnect_ = function() {
287
+ ke && this.connected_ && (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
288
+ }, i.prototype.onTransitionEnd_ = function(e) {
289
+ var r = e.propertyName, a = r === void 0 ? "" : r;
290
+ Ot.some(function(c) {
291
+ return !!~a.indexOf(c);
292
+ }) && this.refresh();
293
+ }, i.getInstance = function() {
294
+ return this.instance_ || (this.instance_ = new i()), this.instance_;
295
+ }, i.instance_ = null, i;
296
+ }(), Ae = function(i, e) {
297
+ for (var r = 0, a = Object.keys(e); r < a.length; r++) {
298
+ var c = a[r];
299
+ Object.defineProperty(i, c, { value: e[c], enumerable: !1, writable: !1, configurable: !0 });
300
+ }
301
+ return i;
302
+ }, Y = function(i) {
303
+ return i && i.ownerDocument && i.ownerDocument.defaultView || fe;
304
+ }, Ge = ge(0, 0, 0, 0);
305
+ function me(i) {
306
+ return parseFloat(i) || 0;
307
+ }
308
+ function Ue(i) {
309
+ for (var e = [], r = 1; r < arguments.length; r++) e[r - 1] = arguments[r];
310
+ return e.reduce(function(a, c) {
311
+ return a + me(i["border-" + c + "-width"]);
312
+ }, 0);
313
+ }
314
+ var It = typeof SVGGraphicsElement < "u" ? function(i) {
315
+ return i instanceof Y(i).SVGGraphicsElement;
316
+ } : function(i) {
317
+ return i instanceof Y(i).SVGElement && typeof i.getBBox == "function";
318
+ };
319
+ function xt(i) {
320
+ return ke ? It(i) ? function(e) {
321
+ var r = e.getBBox();
322
+ return ge(0, 0, r.width, r.height);
323
+ }(i) : function(e) {
324
+ var r = e.clientWidth, a = e.clientHeight;
325
+ if (!r && !a) return Ge;
326
+ var c = Y(e).getComputedStyle(e), g = function(u) {
327
+ for (var w = {}, y = 0, S = ["top", "right", "bottom", "left"]; y < S.length; y++) {
328
+ var d = S[y], p = u["padding-" + d];
329
+ w[d] = me(p);
330
+ }
331
+ return w;
332
+ }(c), E = g.left + g.right, n = g.top + g.bottom, t = me(c.width), s = me(c.height);
333
+ if (c.boxSizing === "border-box" && (Math.round(t + E) !== r && (t -= Ue(c, "left", "right") + E), Math.round(s + n) !== a && (s -= Ue(c, "top", "bottom") + n)), !function(u) {
334
+ return u === Y(u).document.documentElement;
335
+ }(e)) {
336
+ var l = Math.round(t + E) - r, h = Math.round(s + n) - a;
337
+ Math.abs(l) !== 1 && (t -= l), Math.abs(h) !== 1 && (s -= h);
338
+ }
339
+ return ge(g.left, g.top, t, s);
340
+ }(i) : Ge;
341
+ }
342
+ function ge(i, e, r, a) {
343
+ return { x: i, y: e, width: r, height: a };
344
+ }
345
+ var jt = function() {
346
+ function i(e) {
347
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = ge(0, 0, 0, 0), this.target = e;
348
+ }
349
+ return i.prototype.isActive = function() {
350
+ var e = xt(this.target);
351
+ return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
352
+ }, i.prototype.broadcastRect = function() {
353
+ var e = this.contentRect_;
354
+ return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
355
+ }, i;
356
+ }(), Pt = function(i, e) {
357
+ var r, a, c, g, E, n, t, s = (a = (r = e).x, c = r.y, g = r.width, E = r.height, n = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, t = Object.create(n.prototype), Ae(t, { x: a, y: c, width: g, height: E, top: c, right: a + g, bottom: E + c, left: a }), t);
358
+ Ae(this, { target: i, contentRect: s });
359
+ }, _t = function() {
360
+ function i(e, r, a) {
361
+ if (this.activeObservations_ = [], this.observations_ = new Be(), typeof e != "function") throw new TypeError("The callback provided as parameter 1 is not a function.");
362
+ this.callback_ = e, this.controller_ = r, this.callbackCtx_ = a;
363
+ }
364
+ return i.prototype.observe = function(e) {
365
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
366
+ if (typeof Element < "u" && Element instanceof Object) {
367
+ if (!(e instanceof Y(e).Element)) throw new TypeError('parameter 1 is not of type "Element".');
368
+ var r = this.observations_;
369
+ r.has(e) || (r.set(e, new jt(e)), this.controller_.addObserver(this), this.controller_.refresh());
370
+ }
371
+ }, i.prototype.unobserve = function(e) {
372
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
373
+ if (typeof Element < "u" && Element instanceof Object) {
374
+ if (!(e instanceof Y(e).Element)) throw new TypeError('parameter 1 is not of type "Element".');
375
+ var r = this.observations_;
376
+ r.has(e) && (r.delete(e), r.size || this.controller_.removeObserver(this));
377
+ }
378
+ }, i.prototype.disconnect = function() {
379
+ this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
380
+ }, i.prototype.gatherActive = function() {
381
+ var e = this;
382
+ this.clearActive(), this.observations_.forEach(function(r) {
383
+ r.isActive() && e.activeObservations_.push(r);
384
+ });
385
+ }, i.prototype.broadcastActive = function() {
386
+ if (this.hasActive()) {
387
+ var e = this.callbackCtx_, r = this.activeObservations_.map(function(a) {
388
+ return new Pt(a.target, a.broadcastRect());
389
+ });
390
+ this.callback_.call(e, r, e), this.clearActive();
391
+ }
392
+ }, i.prototype.clearActive = function() {
393
+ this.activeObservations_.splice(0);
394
+ }, i.prototype.hasActive = function() {
395
+ return this.activeObservations_.length > 0;
396
+ }, i;
397
+ }(), qe = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new Be(), He = function i(e) {
398
+ if (!(this instanceof i)) throw new TypeError("Cannot call a class as a function.");
399
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
400
+ var r = kt.getInstance(), a = new _t(e, r, this);
401
+ qe.set(this, a);
402
+ };
403
+ ["observe", "unobserve", "disconnect"].forEach(function(i) {
404
+ He.prototype[i] = function() {
405
+ var e;
406
+ return (e = qe.get(this))[i].apply(e, arguments);
407
+ };
408
+ });
409
+ const Ke = fe.ResizeObserver !== void 0 ? fe.ResizeObserver : He, J = "Left", V = "Right", Q = "Up", X = "Down", Z = { delta: 10, preventScrollOnSwipe: !1, rotationAngle: 0, trackMouse: !1, trackTouch: !0, swipeDuration: 1 / 0, touchEventOptions: { passive: !0 } }, Ie = { first: !0, initial: [0, 0], start: 0, swiping: !1, xy: [0, 0] }, Ve = "mousemove", Xe = "mouseup";
410
+ function $e(i, e) {
411
+ if (e === 0) return i;
412
+ const r = Math.PI / 180 * e;
413
+ return [i[0] * Math.cos(r) + i[1] * Math.sin(r), i[1] * Math.cos(r) - i[0] * Math.sin(r)];
414
+ }
415
+ function Rt(i) {
416
+ const { trackMouse: e } = i, r = L.useRef(Object.assign({}, Ie)), a = L.useRef(Object.assign({}, Z)), c = L.useRef(Object.assign({}, a.current));
417
+ let g;
418
+ for (g in c.current = Object.assign({}, a.current), a.current = Object.assign(Object.assign({}, Z), i), Z) a.current[g] === void 0 && (a.current[g] = Z[g]);
419
+ const [E, n] = L.useMemo(() => function(t, s) {
420
+ const l = (d) => {
421
+ const p = "touches" in d;
422
+ p && d.touches.length > 1 || t((m, b) => {
423
+ b.trackMouse && !p && (document.addEventListener(Ve, h), document.addEventListener(Xe, w));
424
+ const { clientX: T, clientY: I } = p ? d.touches[0] : d, R = $e([T, I], b.rotationAngle);
425
+ return b.onTouchStartOrOnMouseDown && b.onTouchStartOrOnMouseDown({ event: d }), Object.assign(Object.assign(Object.assign({}, m), Ie), { initial: R.slice(), xy: R, start: d.timeStamp || 0 });
426
+ });
427
+ }, h = (d) => {
428
+ t((p, m) => {
429
+ const b = "touches" in d;
430
+ if (b && d.touches.length > 1) return p;
431
+ if (d.timeStamp - p.start > m.swipeDuration) return p.swiping ? Object.assign(Object.assign({}, p), { swiping: !1 }) : p;
432
+ const { clientX: T, clientY: I } = b ? d.touches[0] : d, [R, z] = $e([T, I], m.rotationAngle), F = R - p.xy[0], C = z - p.xy[1], _ = Math.abs(F), x = Math.abs(C), K = (d.timeStamp || 0) - p.start, le = Math.sqrt(_ * _ + x * x) / (K || 1), ue = [F / (K || 1), C / (K || 1)], H = function(ce, ne, he, N) {
433
+ return ce > ne ? he > 0 ? V : J : N > 0 ? X : Q;
434
+ }(_, x, F, C), $ = typeof m.delta == "number" ? m.delta : m.delta[H.toLowerCase()] || Z.delta;
435
+ if (_ < $ && x < $ && !p.swiping) return p;
436
+ const A = { absX: _, absY: x, deltaX: F, deltaY: C, dir: H, event: d, first: p.first, initial: p.initial, velocity: le, vxvy: ue };
437
+ A.first && m.onSwipeStart && m.onSwipeStart(A), m.onSwiping && m.onSwiping(A);
438
+ let te = !1;
439
+ return (m.onSwiping || m.onSwiped || m[`onSwiped${H}`]) && (te = !0), te && m.preventScrollOnSwipe && m.trackTouch && d.cancelable && d.preventDefault(), Object.assign(Object.assign({}, p), { first: !1, eventData: A, swiping: !0 });
440
+ });
441
+ }, u = (d) => {
442
+ t((p, m) => {
443
+ let b;
444
+ if (p.swiping && p.eventData) {
445
+ if (d.timeStamp - p.start < m.swipeDuration) {
446
+ b = Object.assign(Object.assign({}, p.eventData), { event: d }), m.onSwiped && m.onSwiped(b);
447
+ const T = m[`onSwiped${b.dir}`];
448
+ T && T(b);
449
+ }
450
+ } else m.onTap && m.onTap({ event: d });
451
+ return m.onTouchEndOrOnMouseUp && m.onTouchEndOrOnMouseUp({ event: d }), Object.assign(Object.assign(Object.assign({}, p), Ie), { eventData: b });
452
+ });
453
+ }, w = (d) => {
454
+ document.removeEventListener(Ve, h), document.removeEventListener(Xe, w), u(d);
455
+ }, y = (d, p) => {
456
+ let m = () => {
457
+ };
458
+ if (d && d.addEventListener) {
459
+ const b = Object.assign(Object.assign({}, Z.touchEventOptions), p.touchEventOptions), T = [["touchstart", l, b], ["touchmove", h, Object.assign(Object.assign({}, b), p.preventScrollOnSwipe ? { passive: !1 } : {})], ["touchend", u, b]];
460
+ T.forEach(([I, R, z]) => d.addEventListener(I, R, z)), m = () => T.forEach(([I, R]) => d.removeEventListener(I, R));
461
+ }
462
+ return m;
463
+ }, S = { ref: (d) => {
464
+ d !== null && t((p, m) => {
465
+ if (p.el === d) return p;
466
+ const b = {};
467
+ return p.el && p.el !== d && p.cleanUpTouch && (p.cleanUpTouch(), b.cleanUpTouch = void 0), m.trackTouch && d && (b.cleanUpTouch = y(d, m)), Object.assign(Object.assign(Object.assign({}, p), { el: d }), b);
468
+ });
469
+ } };
470
+ return s.trackMouse && (S.onMouseDown = l), [S, y];
471
+ }((t) => r.current = t(r.current, a.current), { trackMouse: e }), [e]);
472
+ return r.current = function(t, s, l, h) {
473
+ return s.trackTouch && t.el ? t.cleanUpTouch ? s.preventScrollOnSwipe !== l.preventScrollOnSwipe || s.touchEventOptions.passive !== l.touchEventOptions.passive ? (t.cleanUpTouch(), Object.assign(Object.assign({}, t), { cleanUpTouch: h(t.el, s) })) : t : Object.assign(Object.assign({}, t), { cleanUpTouch: h(t.el, s) }) : (t.cleanUpTouch && t.cleanUpTouch(), Object.assign(Object.assign({}, t), { cleanUpTouch: void 0 }));
474
+ }(r.current, a.current, c.current, n), E;
475
+ }
476
+ var o = D(697);
477
+ function ae(i) {
478
+ return ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
479
+ return typeof e;
480
+ } : function(e) {
481
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
482
+ }, ae(i);
483
+ }
484
+ function Ye(i, e) {
485
+ var r = Object.keys(i);
486
+ if (Object.getOwnPropertySymbols) {
487
+ var a = Object.getOwnPropertySymbols(i);
488
+ e && (a = a.filter(function(c) {
489
+ return Object.getOwnPropertyDescriptor(i, c).enumerable;
490
+ })), r.push.apply(r, a);
491
+ }
492
+ return r;
493
+ }
494
+ function Je(i) {
495
+ for (var e = 1; e < arguments.length; e++) {
496
+ var r = arguments[e] != null ? arguments[e] : {};
497
+ e % 2 ? Ye(Object(r), !0).forEach(function(a) {
498
+ Mt(i, a, r[a]);
499
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : Ye(Object(r)).forEach(function(a) {
500
+ Object.defineProperty(i, a, Object.getOwnPropertyDescriptor(r, a));
501
+ });
502
+ }
503
+ return i;
504
+ }
505
+ function Mt(i, e, r) {
506
+ return (e = function(a) {
507
+ var c = function(g, E) {
508
+ if (ae(g) !== "object" || g === null) return g;
509
+ var n = g[Symbol.toPrimitive];
510
+ if (n !== void 0) {
511
+ var t = n.call(g, E);
512
+ if (ae(t) !== "object") return t;
513
+ throw new TypeError("@@toPrimitive must return a primitive value.");
514
+ }
515
+ return String(g);
516
+ }(a, "string");
517
+ return ae(c) === "symbol" ? c : String(c);
518
+ }(e)) in i ? Object.defineProperty(i, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[e] = r, i;
519
+ }
520
+ var Lt = { description: "", fullscreen: "", isFullscreen: !1, originalAlt: "", originalHeight: "", originalWidth: "", originalTitle: "", sizes: "", srcSet: "", loading: "eager" }, xe = f().memo(function(i) {
521
+ var e = Je(Je({}, Lt), i), r = e.description, a = e.fullscreen, c = e.handleImageLoaded, g = e.isFullscreen, E = e.onImageError, n = e.original, t = e.originalAlt, s = e.originalHeight, l = e.originalWidth, h = e.originalTitle, u = e.sizes, w = e.srcSet, y = e.loading, S = g && a || n;
522
+ return f().createElement(f().Fragment, null, f().createElement("img", { className: "image-gallery-image", src: S, alt: t, srcSet: w, height: s, width: l, sizes: u, title: h, onLoad: function(d) {
523
+ return c(d, n);
524
+ }, onError: E, loading: y }), r && f().createElement("span", { className: "image-gallery-description" }, r));
525
+ });
526
+ xe.displayName = "Item", xe.propTypes = { description: o.string, fullscreen: o.string, handleImageLoaded: o.func.isRequired, isFullscreen: o.bool, onImageError: o.func.isRequired, original: o.string.isRequired, originalAlt: o.string, originalHeight: o.string, originalWidth: o.string, originalTitle: o.string, sizes: o.string, srcSet: o.string, loading: o.string };
527
+ const Dt = xe;
528
+ function se(i) {
529
+ return se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
530
+ return typeof e;
531
+ } : function(e) {
532
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
533
+ }, se(i);
534
+ }
535
+ function Qe(i, e) {
536
+ var r = Object.keys(i);
537
+ if (Object.getOwnPropertySymbols) {
538
+ var a = Object.getOwnPropertySymbols(i);
539
+ e && (a = a.filter(function(c) {
540
+ return Object.getOwnPropertyDescriptor(i, c).enumerable;
541
+ })), r.push.apply(r, a);
542
+ }
543
+ return r;
544
+ }
545
+ function Ze(i) {
546
+ for (var e = 1; e < arguments.length; e++) {
547
+ var r = arguments[e] != null ? arguments[e] : {};
548
+ e % 2 ? Qe(Object(r), !0).forEach(function(a) {
549
+ Wt(i, a, r[a]);
550
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : Qe(Object(r)).forEach(function(a) {
551
+ Object.defineProperty(i, a, Object.getOwnPropertyDescriptor(r, a));
552
+ });
553
+ }
554
+ return i;
555
+ }
556
+ function Wt(i, e, r) {
557
+ return (e = function(a) {
558
+ var c = function(g, E) {
559
+ if (se(g) !== "object" || g === null) return g;
560
+ var n = g[Symbol.toPrimitive];
561
+ if (n !== void 0) {
562
+ var t = n.call(g, E);
563
+ if (se(t) !== "object") return t;
564
+ throw new TypeError("@@toPrimitive must return a primitive value.");
565
+ }
566
+ return String(g);
567
+ }(a, "string");
568
+ return se(c) === "symbol" ? c : String(c);
569
+ }(e)) in i ? Object.defineProperty(i, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[e] = r, i;
570
+ }
571
+ var Ct = { left: f().createElement("polyline", { points: "15 18 9 12 15 6" }), right: f().createElement("polyline", { points: "9 18 15 12 9 6" }), maximize: f().createElement("path", { d: "M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3" }), minimize: f().createElement("path", { d: "M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3" }), play: f().createElement("polygon", { points: "5 3 19 12 5 21 5 3" }), pause: f().createElement(f().Fragment, null, f().createElement("rect", { x: "6", y: "4", width: "4", height: "16" }), f().createElement("rect", { x: "14", y: "4", width: "4", height: "16" })) }, Ft = { strokeWidth: 1, viewBox: "0 0 24 24" }, et = function(i) {
572
+ var e = Ze(Ze({}, Ft), i), r = e.strokeWidth, a = e.viewBox, c = e.icon;
573
+ return f().createElement("svg", { className: "image-gallery-svg", xmlns: "http://www.w3.org/2000/svg", viewBox: a, fill: "none", stroke: "currentColor", strokeWidth: r, strokeLinecap: "round", strokeLinejoin: "round" }, Ct[c]);
574
+ };
575
+ et.propTypes = { strokeWidth: o.number, viewBox: o.string, icon: (0, o.oneOf)(["left", "right", "maximize", "minimize", "play", "pause"]).isRequired };
576
+ const be = et;
577
+ var je = f().memo(function(i) {
578
+ var e = i.isFullscreen, r = i.onClick;
579
+ return f().createElement("button", { type: "button", className: "image-gallery-icon image-gallery-fullscreen-button", onClick: r, "aria-label": "Open Fullscreen" }, f().createElement(be, { strokeWidth: 2, icon: e ? "minimize" : "maximize" }));
580
+ });
581
+ je.displayName = "Fullscreen", je.propTypes = { isFullscreen: o.bool.isRequired, onClick: o.func.isRequired };
582
+ const zt = je;
583
+ var Pe = f().memo(function(i) {
584
+ var e = i.disabled, r = i.onClick;
585
+ return f().createElement("button", { type: "button", className: "image-gallery-icon image-gallery-left-nav", disabled: e, onClick: r, "aria-label": "Previous Slide" }, f().createElement(be, { icon: "left", viewBox: "6 0 12 24" }));
586
+ });
587
+ Pe.displayName = "LeftNav", Pe.propTypes = { disabled: o.bool.isRequired, onClick: o.func.isRequired };
588
+ const Nt = Pe;
589
+ var _e = f().memo(function(i) {
590
+ var e = i.disabled, r = i.onClick;
591
+ return f().createElement("button", { type: "button", className: "image-gallery-icon image-gallery-right-nav", disabled: e, onClick: r, "aria-label": "Next Slide" }, f().createElement(be, { icon: "right", viewBox: "6 0 12 24" }));
592
+ });
593
+ _e.displayName = "RightNav", _e.propTypes = { disabled: o.bool.isRequired, onClick: o.func.isRequired };
594
+ const Bt = _e;
595
+ var Re = f().memo(function(i) {
596
+ var e = i.isPlaying, r = i.onClick;
597
+ return f().createElement("button", { type: "button", className: "image-gallery-icon image-gallery-play-button", onClick: r, "aria-label": "Play or Pause Slideshow" }, f().createElement(be, { strokeWidth: 2, icon: e ? "pause" : "play" }));
598
+ });
599
+ Re.displayName = "PlayPause", Re.propTypes = { isPlaying: o.bool.isRequired, onClick: o.func.isRequired };
600
+ const At = Re;
601
+ function oe(i) {
602
+ return oe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
603
+ return typeof e;
604
+ } : function(e) {
605
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
606
+ }, oe(i);
607
+ }
608
+ function Me() {
609
+ return Me = Object.assign ? Object.assign.bind() : function(i) {
610
+ for (var e = 1; e < arguments.length; e++) {
611
+ var r = arguments[e];
612
+ for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (i[a] = r[a]);
613
+ }
614
+ return i;
615
+ }, Me.apply(this, arguments);
616
+ }
617
+ function tt(i, e) {
618
+ var r = Object.keys(i);
619
+ if (Object.getOwnPropertySymbols) {
620
+ var a = Object.getOwnPropertySymbols(i);
621
+ e && (a = a.filter(function(c) {
622
+ return Object.getOwnPropertyDescriptor(i, c).enumerable;
623
+ })), r.push.apply(r, a);
624
+ }
625
+ return r;
626
+ }
627
+ function nt(i) {
628
+ for (var e = 1; e < arguments.length; e++) {
629
+ var r = arguments[e] != null ? arguments[e] : {};
630
+ e % 2 ? tt(Object(r), !0).forEach(function(a) {
631
+ Gt(i, a, r[a]);
632
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : tt(Object(r)).forEach(function(a) {
633
+ Object.defineProperty(i, a, Object.getOwnPropertyDescriptor(r, a));
634
+ });
635
+ }
636
+ return i;
637
+ }
638
+ function Gt(i, e, r) {
639
+ return (e = function(a) {
640
+ var c = function(g, E) {
641
+ if (oe(g) !== "object" || g === null) return g;
642
+ var n = g[Symbol.toPrimitive];
643
+ if (n !== void 0) {
644
+ var t = n.call(g, E);
645
+ if (oe(t) !== "object") return t;
646
+ throw new TypeError("@@toPrimitive must return a primitive value.");
647
+ }
648
+ return String(g);
649
+ }(a, "string");
650
+ return oe(c) === "symbol" ? c : String(c);
651
+ }(e)) in i ? Object.defineProperty(i, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[e] = r, i;
652
+ }
653
+ var Ut = { className: "", delta: 0, onSwiping: function() {
654
+ }, onSwiped: function() {
655
+ } }, it = function(i) {
656
+ var e = nt(nt({}, Ut), i), r = e.children, a = e.className, c = Rt({ delta: e.delta, onSwiping: e.onSwiping, onSwiped: e.onSwiped });
657
+ return f().createElement("div", Me({}, c, { className: a }), r);
658
+ };
659
+ it.propTypes = { children: o.node.isRequired, className: o.string, delta: o.number, onSwiped: o.func, onSwiping: o.func };
660
+ const rt = it;
661
+ function ee(i) {
662
+ return ee = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
663
+ return typeof e;
664
+ } : function(e) {
665
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
666
+ }, ee(i);
667
+ }
668
+ function at(i, e) {
669
+ var r = Object.keys(i);
670
+ if (Object.getOwnPropertySymbols) {
671
+ var a = Object.getOwnPropertySymbols(i);
672
+ e && (a = a.filter(function(c) {
673
+ return Object.getOwnPropertyDescriptor(i, c).enumerable;
674
+ })), r.push.apply(r, a);
675
+ }
676
+ return r;
677
+ }
678
+ function st(i) {
679
+ for (var e = 1; e < arguments.length; e++) {
680
+ var r = arguments[e] != null ? arguments[e] : {};
681
+ e % 2 ? at(Object(r), !0).forEach(function(a) {
682
+ ot(i, a, r[a]);
683
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(i, Object.getOwnPropertyDescriptors(r)) : at(Object(r)).forEach(function(a) {
684
+ Object.defineProperty(i, a, Object.getOwnPropertyDescriptor(r, a));
685
+ });
686
+ }
687
+ return i;
688
+ }
689
+ function qt(i, e) {
690
+ for (var r = 0; r < e.length; r++) {
691
+ var a = e[r];
692
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(i, lt(a.key), a);
693
+ }
694
+ }
695
+ function Le(i, e) {
696
+ return Le = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, a) {
697
+ return r.__proto__ = a, r;
698
+ }, Le(i, e);
699
+ }
700
+ function Ht(i, e) {
701
+ if (e && (ee(e) === "object" || typeof e == "function")) return e;
702
+ if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
703
+ return M(i);
704
+ }
705
+ function M(i) {
706
+ if (i === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
707
+ return i;
708
+ }
709
+ function ve(i) {
710
+ return ve = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
711
+ return e.__proto__ || Object.getPrototypeOf(e);
712
+ }, ve(i);
713
+ }
714
+ function ot(i, e, r) {
715
+ return (e = lt(e)) in i ? Object.defineProperty(i, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : i[e] = r, i;
716
+ }
717
+ function lt(i) {
718
+ var e = function(r, a) {
719
+ if (ee(r) !== "object" || r === null) return r;
720
+ var c = r[Symbol.toPrimitive];
721
+ if (c !== void 0) {
722
+ var g = c.call(r, a);
723
+ if (ee(g) !== "object") return g;
724
+ throw new TypeError("@@toPrimitive must return a primitive value.");
725
+ }
726
+ return String(r);
727
+ }(i, "string");
728
+ return ee(e) === "symbol" ? e : String(e);
729
+ }
730
+ var ut = ["fullscreenchange", "MSFullscreenChange", "mozfullscreenchange", "webkitfullscreenchange"], Kt = (0, o.arrayOf)((0, o.shape)({ srcSet: o.string, media: o.string }));
731
+ function ct(i) {
732
+ var e = parseInt(i.keyCode || i.which || 0, 10);
733
+ return e === 66 || e === 62;
734
+ }
735
+ var De = function(i) {
736
+ (function(n, t) {
737
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
738
+ n.prototype = Object.create(t && t.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), t && Le(n, t);
739
+ })(E, i);
740
+ var e, r, a, c, g = (a = E, c = function() {
741
+ if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
742
+ if (typeof Proxy == "function") return !0;
743
+ try {
744
+ return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
745
+ })), !0;
746
+ } catch {
747
+ return !1;
748
+ }
749
+ }(), function() {
750
+ var n, t = ve(a);
751
+ if (c) {
752
+ var s = ve(this).constructor;
753
+ n = Reflect.construct(t, arguments, s);
754
+ } else n = t.apply(this, arguments);
755
+ return Ht(this, n);
756
+ });
757
+ function E(n) {
758
+ var t;
759
+ return function(s, l) {
760
+ if (!(s instanceof l)) throw new TypeError("Cannot call a class as a function");
761
+ }(this, E), ot(M(t = g.call(this, n)), "onBulletClick", function(s, l) {
762
+ var h = t.props, u = h.onBulletClick, w = h.items, y = t.state.currentIndex;
763
+ s.target.blur(), y !== l && (w.length === 2 ? t.slideToIndexWithStyleReset(l, s) : t.slideToIndex(l, s)), u && u(s, l);
764
+ }), t.state = { currentIndex: n.startIndex, thumbsTranslate: 0, thumbsSwipedTranslate: 0, currentSlideOffset: 0, galleryWidth: 0, thumbnailsWrapperWidth: 0, thumbnailsWrapperHeight: 0, thumbsStyle: { transition: "all ".concat(n.slideDuration, "ms ease-out") }, isFullscreen: !1, isSwipingThumbnail: !1, isPlaying: !1 }, t.loadedImages = {}, t.imageGallery = f().createRef(), t.thumbnailsWrapper = f().createRef(), t.thumbnails = f().createRef(), t.imageGallerySlideWrapper = f().createRef(), t.handleImageLoaded = t.handleImageLoaded.bind(M(t)), t.handleKeyDown = t.handleKeyDown.bind(M(t)), t.handleMouseDown = t.handleMouseDown.bind(M(t)), t.handleResize = t.handleResize.bind(M(t)), t.handleTouchMove = t.handleTouchMove.bind(M(t)), t.handleOnSwiped = t.handleOnSwiped.bind(M(t)), t.handleScreenChange = t.handleScreenChange.bind(M(t)), t.handleSwiping = t.handleSwiping.bind(M(t)), t.handleThumbnailSwiping = t.handleThumbnailSwiping.bind(M(t)), t.handleOnThumbnailSwiped = t.handleOnThumbnailSwiped.bind(M(t)), t.onThumbnailMouseLeave = t.onThumbnailMouseLeave.bind(M(t)), t.handleImageError = t.handleImageError.bind(M(t)), t.pauseOrPlay = t.pauseOrPlay.bind(M(t)), t.renderThumbInner = t.renderThumbInner.bind(M(t)), t.renderItem = t.renderItem.bind(M(t)), t.slideLeft = t.slideLeft.bind(M(t)), t.slideRight = t.slideRight.bind(M(t)), t.toggleFullScreen = t.toggleFullScreen.bind(M(t)), t.togglePlay = t.togglePlay.bind(M(t)), t.unthrottledSlideToIndex = t.slideToIndex, t.slideToIndex = Ne(t.unthrottledSlideToIndex, n.slideDuration, { trailing: !1 }), n.lazyLoad && (t.lazyLoaded = []), t;
765
+ }
766
+ return e = E, r = [{ key: "componentDidMount", value: function() {
767
+ var n = this.props, t = n.autoPlay, s = n.useWindowKeyDown;
768
+ t && this.play(), s ? window.addEventListener("keydown", this.handleKeyDown) : this.imageGallery.current.addEventListener("keydown", this.handleKeyDown), window.addEventListener("mousedown", this.handleMouseDown), window.addEventListener("touchmove", this.handleTouchMove, { passive: !1 }), this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper), this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper), this.addScreenChangeEvent();
769
+ } }, { key: "componentDidUpdate", value: function(n, t) {
770
+ var s = this.props, l = s.items, h = s.lazyLoad, u = s.slideDuration, w = s.slideInterval, y = s.startIndex, S = s.thumbnailPosition, d = s.showThumbnails, p = s.useWindowKeyDown, m = this.state, b = m.currentIndex, T = m.isPlaying, I = n.items.length !== l.length, R = !St()(n.items, l), z = n.startIndex !== y, F = n.thumbnailPosition !== S, C = n.showThumbnails !== d;
771
+ w === n.slideInterval && u === n.slideDuration || T && (this.pause(), this.play()), F && (this.removeResizeObserver(), this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper), this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)), C && d && this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper), C && !d && this.removeThumbnailsResizeObserver(), (I || C) && this.handleResize(), t.currentIndex !== b && this.slideThumbnailBar(), n.slideDuration !== u && (this.slideToIndex = Ne(this.unthrottledSlideToIndex, u, { trailing: !1 })), !h || n.lazyLoad && !R || (this.lazyLoaded = []), p !== n.useWindowKeyDown && (p ? (this.imageGallery.current.removeEventListener("keydown", this.handleKeyDown), window.addEventListener("keydown", this.handleKeyDown)) : (window.removeEventListener("keydown", this.handleKeyDown), this.imageGallery.current.addEventListener("keydown", this.handleKeyDown))), (z || R) && this.setState({ currentIndex: y, slideStyle: { transition: "none" } });
772
+ } }, { key: "componentWillUnmount", value: function() {
773
+ var n = this.props.useWindowKeyDown;
774
+ window.removeEventListener("mousedown", this.handleMouseDown), window.removeEventListener("touchmove", this.handleTouchMove), this.removeScreenChangeEvent(), this.removeResizeObserver(), this.playPauseIntervalId && (window.clearInterval(this.playPauseIntervalId), this.playPauseIntervalId = null), this.transitionTimer && window.clearTimeout(this.transitionTimer), n ? window.removeEventListener("keydown", this.handleKeyDown) : this.imageGallery.current.removeEventListener("keydown", this.handleKeyDown);
775
+ } }, { key: "onSliding", value: function() {
776
+ var n = this, t = this.state, s = t.currentIndex, l = t.isTransitioning, h = this.props, u = h.onSlide, w = h.slideDuration;
777
+ this.transitionTimer = window.setTimeout(function() {
778
+ l && (n.setState({ isTransitioning: !l, isSwipingThumbnail: !1 }), u && u(s));
779
+ }, w + 50);
780
+ } }, { key: "onThumbnailClick", value: function(n, t) {
781
+ var s = this.props, l = s.onThumbnailClick, h = s.items, u = this.state.currentIndex;
782
+ n.target.parentNode.parentNode.blur(), u !== t && (h.length === 2 ? this.slideToIndexWithStyleReset(t, n) : this.slideToIndex(t, n)), l && l(n, t);
783
+ } }, { key: "onThumbnailMouseOver", value: function(n, t) {
784
+ var s = this;
785
+ this.thumbnailMouseOverTimer && (window.clearTimeout(this.thumbnailMouseOverTimer), this.thumbnailMouseOverTimer = null), this.thumbnailMouseOverTimer = window.setTimeout(function() {
786
+ s.slideToIndex(t), s.pause();
787
+ }, 300);
788
+ } }, { key: "onThumbnailMouseLeave", value: function() {
789
+ if (this.thumbnailMouseOverTimer) {
790
+ var n = this.props.autoPlay;
791
+ window.clearTimeout(this.thumbnailMouseOverTimer), this.thumbnailMouseOverTimer = null, n && this.play();
792
+ }
793
+ } }, { key: "setThumbsTranslate", value: function(n) {
794
+ this.setState({ thumbsTranslate: n });
795
+ } }, { key: "setModalFullscreen", value: function(n) {
796
+ var t = this.props.onScreenChange;
797
+ this.setState({ modalFullscreen: n }), t && t(n);
798
+ } }, { key: "getThumbsTranslate", value: function(n) {
799
+ var t, s = this.props, l = s.disableThumbnailScroll, h = s.items, u = this.state, w = u.thumbnailsWrapperWidth, y = u.thumbnailsWrapperHeight, S = this.thumbnails && this.thumbnails.current;
800
+ if (l) return 0;
801
+ if (S) {
802
+ if (this.isThumbnailVertical()) {
803
+ if (S.scrollHeight <= y) return 0;
804
+ t = S.scrollHeight - y;
805
+ } else {
806
+ if (S.scrollWidth <= w || w <= 0) return 0;
807
+ t = S.scrollWidth - w;
808
+ }
809
+ return n * (t / (h.length - 1));
810
+ }
811
+ return 0;
812
+ } }, { key: "getThumbnailPositionClassName", value: function(n) {
813
+ switch (n) {
814
+ case "left":
815
+ n = " ".concat("image-gallery-thumbnails-left");
816
+ break;
817
+ case "right":
818
+ n = " ".concat("image-gallery-thumbnails-right");
819
+ break;
820
+ case "bottom":
821
+ n = " ".concat("image-gallery-thumbnails-bottom");
822
+ break;
823
+ case "top":
824
+ n = " ".concat("image-gallery-thumbnails-top");
825
+ }
826
+ return n;
827
+ } }, { key: "getAlignmentClassName", value: function(n) {
828
+ var t = this.state.currentIndex, s = this.props, l = s.infinite, h = s.items, u = "", w = "image-gallery-left", y = "image-gallery-right";
829
+ switch (n) {
830
+ case t - 1:
831
+ u = " ".concat(w);
832
+ break;
833
+ case t:
834
+ u = " ".concat("image-gallery-center");
835
+ break;
836
+ case t + 1:
837
+ u = " ".concat(y);
838
+ }
839
+ return h.length >= 3 && l && (n === 0 && t === h.length - 1 ? u = " ".concat(y) : n === h.length - 1 && t === 0 && (u = " ".concat(w))), u;
840
+ } }, { key: "getTranslateXForTwoSlide", value: function(n) {
841
+ var t = this.state, s = t.currentIndex, l = t.currentSlideOffset, h = t.previousIndex, u = s !== h, w = n === 0 && h === 0, y = n === 1 && h === 1, S = n === 0 && s === 1, d = n === 1 && s === 0, p = l === 0, m = -100 * s + 100 * n + l;
842
+ return l > 0 ? this.direction = "left" : l < 0 && (this.direction = "right"), d && l > 0 && (m = -100 + l), S && l < 0 && (m = 100 + l), u ? w && p && this.direction === "left" ? m = 100 : y && p && this.direction === "right" && (m = -100) : (d && p && this.direction === "left" && (m = -100), S && p && this.direction === "right" && (m = 100)), m;
843
+ } }, { key: "getThumbnailBarHeight", value: function() {
844
+ return this.isThumbnailVertical() ? { height: this.state.gallerySlideWrapperHeight } : {};
845
+ } }, { key: "getSlideStyle", value: function(n) {
846
+ var t = this.state, s = t.currentIndex, l = t.currentSlideOffset, h = t.slideStyle, u = this.props, w = u.infinite, y = u.items, S = u.useTranslate3D, d = u.isRTL, p = -100 * s, m = y.length - 1, b = (p + 100 * n) * (d ? -1 : 1) + l;
847
+ w && y.length > 2 && (s === 0 && n === m ? b = -100 * (d ? -1 : 1) + l : s === m && n === 0 && (b = 100 * (d ? -1 : 1) + l)), w && y.length === 2 && (b = this.getTranslateXForTwoSlide(n));
848
+ var T = "translate(".concat(b, "%, 0)");
849
+ return S && (T = "translate3d(".concat(b, "%, 0, 0)")), st({ display: this.isSlideVisible(n) ? "inherit" : "none", WebkitTransform: T, MozTransform: T, msTransform: T, OTransform: T, transform: T }, h);
850
+ } }, { key: "getCurrentIndex", value: function() {
851
+ return this.state.currentIndex;
852
+ } }, { key: "getThumbnailStyle", value: function() {
853
+ var n, t = this.props, s = t.useTranslate3D, l = t.isRTL, h = this.state, u = h.thumbsTranslate, w = h.thumbsStyle, y = l ? -1 * u : u;
854
+ return this.isThumbnailVertical() ? (n = "translate(0, ".concat(u, "px)"), s && (n = "translate3d(0, ".concat(u, "px, 0)"))) : (n = "translate(".concat(y, "px, 0)"), s && (n = "translate3d(".concat(y, "px, 0, 0)"))), st({ WebkitTransform: n, MozTransform: n, msTransform: n, OTransform: n, transform: n }, w);
855
+ } }, { key: "getSlideItems", value: function() {
856
+ var n = this, t = this.state.currentIndex, s = this.props, l = s.items, h = s.slideOnThumbnailOver, u = s.onClick, w = s.lazyLoad, y = s.onTouchMove, S = s.onTouchEnd, d = s.onTouchStart, p = s.onMouseOver, m = s.onMouseLeave, b = s.renderItem, T = s.renderThumbInner, I = s.showThumbnails, R = s.showBullets, z = [], F = [], C = [];
857
+ return l.forEach(function(_, x) {
858
+ var K = n.getAlignmentClassName(x), le = _.originalClass ? " ".concat(_.originalClass) : "", ue = _.thumbnailClass ? " ".concat(_.thumbnailClass) : "", H = _.renderItem || b || n.renderItem, $ = _.renderThumbInner || T || n.renderThumbInner, A = !w || K || n.lazyLoaded[x];
859
+ A && w && !n.lazyLoaded[x] && (n.lazyLoaded[x] = !0);
860
+ var te = n.getSlideStyle(x), ce = f().createElement("div", { "aria-label": "Go to Slide ".concat(x + 1), key: "slide-".concat(x), tabIndex: "-1", className: "image-gallery-slide ".concat(K, " ").concat(le), style: te, onClick: u, onKeyUp: n.handleSlideKeyUp, onTouchMove: y, onTouchEnd: S, onTouchStart: d, onMouseOver: p, onFocus: p, onMouseLeave: m, role: "button" }, A ? H(_) : f().createElement("div", { style: { height: "100%" } }));
861
+ if (z.push(ce), I && _.thumbnail) {
862
+ var ne = P("image-gallery-thumbnail", ue, { active: t === x });
863
+ F.push(f().createElement("button", { key: "thumbnail-".concat(x), type: "button", tabIndex: "0", "aria-pressed": t === x ? "true" : "false", "aria-label": "Go to Slide ".concat(x + 1), className: ne, onMouseLeave: h ? n.onThumbnailMouseLeave : null, onMouseOver: function(N) {
864
+ return n.handleThumbnailMouseOver(N, x);
865
+ }, onFocus: function(N) {
866
+ return n.handleThumbnailMouseOver(N, x);
867
+ }, onKeyUp: function(N) {
868
+ return n.handleThumbnailKeyUp(N, x);
869
+ }, onClick: function(N) {
870
+ return n.onThumbnailClick(N, x);
871
+ } }, $(_)));
872
+ }
873
+ if (R) {
874
+ var he = P("image-gallery-bullet", _.bulletClass, { active: t === x });
875
+ C.push(f().createElement("button", { type: "button", key: "bullet-".concat(x), className: he, onClick: function(N) {
876
+ return n.onBulletClick(N, x);
877
+ }, "aria-pressed": t === x ? "true" : "false", "aria-label": "Go to Slide ".concat(x + 1) }));
878
+ }
879
+ }), { slides: z, thumbnails: F, bullets: C };
880
+ } }, { key: "ignoreIsTransitioning", value: function() {
881
+ var n = this.props.items, t = this.state, s = t.previousIndex, l = t.currentIndex, h = n.length - 1;
882
+ return Math.abs(s - l) > 1 && !(s === 0 && l === h) && !(s === h && l === 0);
883
+ } }, { key: "isFirstOrLastSlide", value: function(n) {
884
+ return n === this.props.items.length - 1 || n === 0;
885
+ } }, { key: "slideIsTransitioning", value: function(n) {
886
+ var t = this.state, s = t.isTransitioning, l = t.previousIndex, h = t.currentIndex;
887
+ return s && !(n === l || n === h);
888
+ } }, { key: "isSlideVisible", value: function(n) {
889
+ return !this.slideIsTransitioning(n) || this.ignoreIsTransitioning() && !this.isFirstOrLastSlide(n);
890
+ } }, { key: "slideThumbnailBar", value: function() {
891
+ var n = this.state, t = n.currentIndex, s = n.isSwipingThumbnail, l = -this.getThumbsTranslate(t);
892
+ s || (t === 0 ? this.setState({ thumbsTranslate: 0, thumbsSwipedTranslate: 0 }) : this.setState({ thumbsTranslate: l, thumbsSwipedTranslate: l }));
893
+ } }, { key: "canSlide", value: function() {
894
+ return this.props.items.length >= 2;
895
+ } }, { key: "canSlideLeft", value: function() {
896
+ return this.props.infinite || this.canSlidePrevious();
897
+ } }, { key: "canSlideRight", value: function() {
898
+ return this.props.infinite || this.canSlideNext();
899
+ } }, { key: "canSlidePrevious", value: function() {
900
+ return this.state.currentIndex > 0;
901
+ } }, { key: "canSlideNext", value: function() {
902
+ return this.state.currentIndex < this.props.items.length - 1;
903
+ } }, { key: "handleSwiping", value: function(n) {
904
+ var t = n.event, s = n.absX, l = n.dir, h = this.props, u = h.disableSwipe, w = h.stopPropagation, y = this.state, S = y.galleryWidth, d = y.isTransitioning, p = y.swipingUpDown, m = y.swipingLeftRight;
905
+ if (l !== Q && l !== X && !p || m) {
906
+ if (l !== J && l !== V || m || this.setState({ swipingLeftRight: !0 }), !u) {
907
+ var b = this.props.swipingTransitionDuration;
908
+ if (w && t.preventDefault(), d) this.setState({ currentSlideOffset: 0 });
909
+ else {
910
+ var T = l === V ? 1 : -1, I = s / S * 100;
911
+ Math.abs(I) >= 100 && (I = 100);
912
+ var R = { transition: "transform ".concat(b, "ms ease-out") };
913
+ this.setState({ currentSlideOffset: T * I, slideStyle: R });
914
+ }
915
+ }
916
+ } else p || this.setState({ swipingUpDown: !0 });
917
+ } }, { key: "handleThumbnailSwiping", value: function(n) {
918
+ var t = n.event, s = n.absX, l = n.absY, h = n.dir, u = this.props, w = u.stopPropagation, y = u.swipingThumbnailTransitionDuration, S = this.state, d = S.thumbsSwipedTranslate, p = S.thumbnailsWrapperHeight, m = S.thumbnailsWrapperWidth, b = S.swipingUpDown, T = S.swipingLeftRight;
919
+ if (this.isThumbnailVertical()) {
920
+ if ((h === J || h === V || T) && !b) return void (T || this.setState({ swipingLeftRight: !0 }));
921
+ h !== Q && h !== X || b || this.setState({ swipingUpDown: !0 });
922
+ } else {
923
+ if ((h === Q || h === X || b) && !T) return void (b || this.setState({ swipingUpDown: !0 }));
924
+ h !== J && h !== V || T || this.setState({ swipingLeftRight: !0 });
925
+ }
926
+ var I, R, z, F, C, _ = this.thumbnails && this.thumbnails.current;
927
+ if (this.isThumbnailVertical() ? (I = d + (h === X ? l : -l), R = _.scrollHeight - p + 20, z = Math.abs(I) > R, F = I > 20, C = _.scrollHeight <= p) : (I = d + (h === V ? s : -s), R = _.scrollWidth - m + 20, z = Math.abs(I) > R, F = I > 20, C = _.scrollWidth <= m), !C && (h !== J && h !== Q || !z) && (h !== V && h !== X || !F)) {
928
+ w && t.stopPropagation();
929
+ var x = { transition: "transform ".concat(y, "ms ease-out") };
930
+ this.setState({ thumbsTranslate: I, thumbsStyle: x });
931
+ }
932
+ } }, { key: "handleOnThumbnailSwiped", value: function() {
933
+ var n = this.state.thumbsTranslate, t = this.props.slideDuration;
934
+ this.resetSwipingDirection(), this.setState({ isSwipingThumbnail: !0, thumbsSwipedTranslate: n, thumbsStyle: { transition: "all ".concat(t, "ms ease-out") } });
935
+ } }, { key: "sufficientSwipe", value: function() {
936
+ var n = this.state.currentSlideOffset, t = this.props.swipeThreshold;
937
+ return Math.abs(n) > t;
938
+ } }, { key: "resetSwipingDirection", value: function() {
939
+ var n = this.state, t = n.swipingUpDown, s = n.swipingLeftRight;
940
+ t && this.setState({ swipingUpDown: !1 }), s && this.setState({ swipingLeftRight: !1 });
941
+ } }, { key: "handleOnSwiped", value: function(n) {
942
+ var t = n.event, s = n.dir, l = n.velocity, h = this.props, u = h.disableSwipe, w = h.stopPropagation, y = h.flickThreshold;
943
+ if (!u) {
944
+ var S = this.props.isRTL;
945
+ w && t.stopPropagation(), this.resetSwipingDirection();
946
+ var d = (s === J ? 1 : -1) * (S ? -1 : 1), p = l > y && !(s === Q || s === X);
947
+ this.handleOnSwipedTo(d, p);
948
+ }
949
+ } }, { key: "handleOnSwipedTo", value: function(n, t) {
950
+ var s = this.state, l = s.currentIndex, h = s.isTransitioning, u = l;
951
+ !this.sufficientSwipe() && !t || h || (u += n), (n === -1 && !this.canSlideLeft() || n === 1 && !this.canSlideRight()) && (u = l), this.unthrottledSlideToIndex(u);
952
+ } }, { key: "handleTouchMove", value: function(n) {
953
+ this.state.swipingLeftRight && n.preventDefault();
954
+ } }, { key: "handleMouseDown", value: function() {
955
+ this.imageGallery.current.classList.add("image-gallery-using-mouse");
956
+ } }, { key: "handleKeyDown", value: function(n) {
957
+ var t = this.props, s = t.disableKeyDown, l = t.useBrowserFullscreen, h = this.state.isFullscreen;
958
+ if (this.imageGallery.current.classList.remove("image-gallery-using-mouse"), !s) switch (parseInt(n.keyCode || n.which || 0, 10)) {
959
+ case 37:
960
+ this.canSlideLeft() && !this.playPauseIntervalId && this.slideLeft(n);
961
+ break;
962
+ case 39:
963
+ this.canSlideRight() && !this.playPauseIntervalId && this.slideRight(n);
964
+ break;
965
+ case 27:
966
+ h && !l && this.exitFullScreen();
967
+ }
968
+ } }, { key: "handleImageError", value: function(n) {
969
+ var t = this.props.onErrorImageURL;
970
+ t && n.target.src.indexOf(t) === -1 && (n.target.src = t);
971
+ } }, { key: "removeThumbnailsResizeObserver", value: function() {
972
+ this.resizeThumbnailWrapperObserver && this.thumbnailsWrapper && this.thumbnailsWrapper.current && (this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current), this.resizeThumbnailWrapperObserver = null);
973
+ } }, { key: "removeResizeObserver", value: function() {
974
+ this.resizeSlideWrapperObserver && this.imageGallerySlideWrapper && this.imageGallerySlideWrapper.current && (this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current), this.resizeSlideWrapperObserver = null), this.removeThumbnailsResizeObserver();
975
+ } }, { key: "handleResize", value: function() {
976
+ var n = this.state.currentIndex;
977
+ this.imageGallery && (this.imageGallery && this.imageGallery.current && this.setState({ galleryWidth: this.imageGallery.current.offsetWidth }), this.imageGallerySlideWrapper && this.imageGallerySlideWrapper.current && this.setState({ gallerySlideWrapperHeight: this.imageGallerySlideWrapper.current.offsetHeight }), this.setThumbsTranslate(-this.getThumbsTranslate(n)));
978
+ } }, { key: "initSlideWrapperResizeObserver", value: function(n) {
979
+ var t = this;
980
+ n && !n.current || (this.resizeSlideWrapperObserver = new Ke(Ee(function(s) {
981
+ s && s.forEach(function(l) {
982
+ t.setState({ thumbnailsWrapperWidth: l.contentRect.width }, t.handleResize);
983
+ });
984
+ }, 50)), this.resizeSlideWrapperObserver.observe(n.current));
985
+ } }, { key: "initThumbnailWrapperResizeObserver", value: function(n) {
986
+ var t = this;
987
+ n && !n.current || (this.resizeThumbnailWrapperObserver = new Ke(Ee(function(s) {
988
+ s && s.forEach(function(l) {
989
+ t.setState({ thumbnailsWrapperHeight: l.contentRect.height }, t.handleResize);
990
+ });
991
+ }, 50)), this.resizeThumbnailWrapperObserver.observe(n.current));
992
+ } }, { key: "toggleFullScreen", value: function() {
993
+ this.state.isFullscreen ? this.exitFullScreen() : this.fullScreen();
994
+ } }, { key: "togglePlay", value: function() {
995
+ this.playPauseIntervalId ? this.pause() : this.play();
996
+ } }, { key: "handleScreenChange", value: function() {
997
+ var n = this.props, t = n.onScreenChange, s = n.useBrowserFullscreen, l = document.fullscreenElement || document.msFullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement, h = this.imageGallery.current === l;
998
+ t && t(h), s && this.setState({ isFullscreen: h });
999
+ } }, { key: "slideToIndex", value: function(n, t) {
1000
+ var s = this.state, l = s.currentIndex, h = s.isTransitioning, u = this.props, w = u.items, y = u.slideDuration, S = u.onBeforeSlide;
1001
+ if (!h) {
1002
+ t && this.playPauseIntervalId && (this.pause(!1), this.play(!1));
1003
+ var d = w.length - 1, p = n;
1004
+ n < 0 ? p = d : n > d && (p = 0), S && p !== l && S(p), this.setState({ previousIndex: l, currentIndex: p, isTransitioning: p !== l, currentSlideOffset: 0, slideStyle: { transition: "all ".concat(y, "ms ease-out") } }, this.onSliding);
1005
+ }
1006
+ } }, { key: "slideLeft", value: function(n) {
1007
+ var t = this.props.isRTL;
1008
+ this.slideTo(n, t ? "right" : "left");
1009
+ } }, { key: "slideRight", value: function(n) {
1010
+ var t = this.props.isRTL;
1011
+ this.slideTo(n, t ? "left" : "right");
1012
+ } }, { key: "slideTo", value: function(n, t) {
1013
+ var s = this.state, l = s.currentIndex, h = s.isTransitioning, u = this.props.items, w = l + (t === "left" ? -1 : 1);
1014
+ h || (u.length === 2 ? this.slideToIndexWithStyleReset(w, n) : this.slideToIndex(w, n));
1015
+ } }, { key: "slideToIndexWithStyleReset", value: function(n, t) {
1016
+ var s = this, l = this.state, h = l.currentIndex, u = l.currentSlideOffset;
1017
+ this.setState({ currentSlideOffset: u + (h > n ? 1e-3 : -1e-3), slideStyle: { transition: "none" } }, function() {
1018
+ window.setTimeout(function() {
1019
+ return s.slideToIndex(n, t);
1020
+ }, 25);
1021
+ });
1022
+ } }, { key: "handleThumbnailMouseOver", value: function(n, t) {
1023
+ this.props.slideOnThumbnailOver && this.onThumbnailMouseOver(n, t);
1024
+ } }, { key: "handleThumbnailKeyUp", value: function(n, t) {
1025
+ ct(n) && this.onThumbnailClick(n, t);
1026
+ } }, { key: "handleSlideKeyUp", value: function(n) {
1027
+ ct(n) && (0, this.props.onClick)(n);
1028
+ } }, { key: "isThumbnailVertical", value: function() {
1029
+ var n = this.props.thumbnailPosition;
1030
+ return n === "left" || n === "right";
1031
+ } }, { key: "addScreenChangeEvent", value: function() {
1032
+ var n = this;
1033
+ ut.forEach(function(t) {
1034
+ document.addEventListener(t, n.handleScreenChange);
1035
+ });
1036
+ } }, { key: "removeScreenChangeEvent", value: function() {
1037
+ var n = this;
1038
+ ut.forEach(function(t) {
1039
+ document.removeEventListener(t, n.handleScreenChange);
1040
+ });
1041
+ } }, { key: "fullScreen", value: function() {
1042
+ var n = this.props.useBrowserFullscreen, t = this.imageGallery.current;
1043
+ n ? t.requestFullscreen ? t.requestFullscreen() : t.msRequestFullscreen ? t.msRequestFullscreen() : t.mozRequestFullScreen ? t.mozRequestFullScreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : this.setModalFullscreen(!0) : this.setModalFullscreen(!0), this.setState({ isFullscreen: !0 });
1044
+ } }, { key: "exitFullScreen", value: function() {
1045
+ var n = this.state.isFullscreen, t = this.props.useBrowserFullscreen;
1046
+ n && (t ? document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.msExitFullscreen ? document.msExitFullscreen() : this.setModalFullscreen(!1) : this.setModalFullscreen(!1), this.setState({ isFullscreen: !1 }));
1047
+ } }, { key: "pauseOrPlay", value: function() {
1048
+ var n = this.props.infinite, t = this.state.currentIndex;
1049
+ n || this.canSlideRight() ? this.slideToIndex(t + 1) : this.pause();
1050
+ } }, { key: "play", value: function() {
1051
+ var n = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0], t = this.props, s = t.onPlay, l = t.slideInterval, h = t.slideDuration, u = this.state.currentIndex;
1052
+ this.playPauseIntervalId || (this.setState({ isPlaying: !0 }), this.playPauseIntervalId = window.setInterval(this.pauseOrPlay, Math.max(l, h)), s && n && s(u));
1053
+ } }, { key: "pause", value: function() {
1054
+ var n = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0], t = this.props.onPause, s = this.state.currentIndex;
1055
+ this.playPauseIntervalId && (window.clearInterval(this.playPauseIntervalId), this.playPauseIntervalId = null, this.setState({ isPlaying: !1 }), t && n && t(s));
1056
+ } }, { key: "isImageLoaded", value: function(n) {
1057
+ return !!this.loadedImages[n.original] || (this.loadedImages[n.original] = !0, !1);
1058
+ } }, { key: "handleImageLoaded", value: function(n, t) {
1059
+ var s = this.props.onImageLoad;
1060
+ !this.loadedImages[t] && s && (this.loadedImages[t] = !0, s(n));
1061
+ } }, { key: "renderItem", value: function(n) {
1062
+ var t = this.state.isFullscreen, s = this.props.onImageError || this.handleImageError;
1063
+ return f().createElement(Dt, { description: n.description, fullscreen: n.fullscreen, handleImageLoaded: this.handleImageLoaded, isFullscreen: t, onImageError: s, original: n.original, originalAlt: n.originalAlt, originalHeight: n.originalHeight, originalWidth: n.originalWidth, originalTitle: n.originalTitle, sizes: n.sizes, loading: n.loading, srcSet: n.srcSet });
1064
+ } }, { key: "renderThumbInner", value: function(n) {
1065
+ var t = this.props.onThumbnailError || this.handleImageError;
1066
+ return f().createElement("span", { className: "image-gallery-thumbnail-inner" }, f().createElement("img", { className: "image-gallery-thumbnail-image", src: n.thumbnail, height: n.thumbnailHeight, width: n.thumbnailWidth, alt: n.thumbnailAlt, title: n.thumbnailTitle, loading: n.thumbnailLoading, onError: t }), n.thumbnailLabel && f().createElement("div", { className: "image-gallery-thumbnail-label" }, n.thumbnailLabel));
1067
+ } }, { key: "render", value: function() {
1068
+ var n = this.state, t = n.currentIndex, s = n.isFullscreen, l = n.modalFullscreen, h = n.isPlaying, u = this.props, w = u.additionalClass, y = u.disableThumbnailSwipe, S = u.indexSeparator, d = u.isRTL, p = u.items, m = u.thumbnailPosition, b = u.renderFullscreenButton, T = u.renderCustomControls, I = u.renderLeftNav, R = u.renderRightNav, z = u.showBullets, F = u.showFullscreenButton, C = u.showIndex, _ = u.showThumbnails, x = u.showNav, K = u.showPlayButton, le = u.renderPlayPauseButton, ue = this.getThumbnailStyle(), H = this.getSlideItems(), $ = H.slides, A = H.thumbnails, te = H.bullets, ce = P("image-gallery-slide-wrapper", this.getThumbnailPositionClassName(m), { "image-gallery-rtl": d }), ne = f().createElement("div", { ref: this.imageGallerySlideWrapper, className: ce }, T && T(), this.canSlide() ? f().createElement(f().Fragment, null, x && f().createElement(f().Fragment, null, I(this.slideLeft, !this.canSlideLeft()), R(this.slideRight, !this.canSlideRight())), f().createElement(rt, { className: "image-gallery-swipe", delta: 0, onSwiping: this.handleSwiping, onSwiped: this.handleOnSwiped }, f().createElement("div", { className: "image-gallery-slides" }, $))) : f().createElement("div", { className: "image-gallery-slides" }, $), K && le(this.togglePlay, h), z && f().createElement("div", { className: "image-gallery-bullets" }, f().createElement("div", { className: "image-gallery-bullets-container", role: "navigation", "aria-label": "Bullet Navigation" }, te)), F && b(this.toggleFullScreen, s), C && f().createElement("div", { className: "image-gallery-index" }, f().createElement("span", { className: "image-gallery-index-current" }, t + 1), f().createElement("span", { className: "image-gallery-index-separator" }, S), f().createElement("span", { className: "image-gallery-index-total" }, p.length))), he = P("image-gallery", w, { "fullscreen-modal": l }), N = P("image-gallery-content", this.getThumbnailPositionClassName(m), { fullscreen: s }), Xt = P("image-gallery-thumbnails-wrapper", this.getThumbnailPositionClassName(m), { "thumbnails-wrapper-rtl": !this.isThumbnailVertical() && d }, { "thumbnails-swipe-horizontal": !this.isThumbnailVertical() && !y }, { "thumbnails-swipe-vertical": this.isThumbnailVertical() && !y });
1069
+ return f().createElement("div", { ref: this.imageGallery, className: he, "aria-live": "polite" }, f().createElement("div", { className: N }, (m === "bottom" || m === "right") && ne, _ && A.length > 0 ? f().createElement(rt, { className: Xt, delta: 0, onSwiping: !y && this.handleThumbnailSwiping, onSwiped: !y && this.handleOnThumbnailSwiped }, f().createElement("div", { className: "image-gallery-thumbnails", ref: this.thumbnailsWrapper, style: this.getThumbnailBarHeight() }, f().createElement("nav", { ref: this.thumbnails, className: "image-gallery-thumbnails-container", style: ue, "aria-label": "Thumbnail Navigation" }, A))) : null, (m === "top" || m === "left") && ne));
1070
+ } }], r && qt(e.prototype, r), Object.defineProperty(e, "prototype", { writable: !1 }), E;
1071
+ }(f().Component);
1072
+ De.propTypes = { flickThreshold: o.number, items: (0, o.arrayOf)((0, o.shape)({ bulletClass: o.string, bulletOnClick: o.func, description: o.string, original: o.string, originalHeight: o.number, originalWidth: o.number, loading: o.string, thumbnailHeight: o.number, thumbnailWidth: o.number, thumbnailLoading: o.string, fullscreen: o.string, originalAlt: o.string, originalTitle: o.string, thumbnail: o.string, thumbnailAlt: o.string, thumbnailLabel: o.string, thumbnailTitle: o.string, originalClass: o.string, thumbnailClass: o.string, renderItem: o.func, renderThumbInner: o.func, imageSet: Kt, srcSet: o.string, sizes: o.string })).isRequired, showNav: o.bool, autoPlay: o.bool, lazyLoad: o.bool, infinite: o.bool, showIndex: o.bool, showBullets: o.bool, showThumbnails: o.bool, showPlayButton: o.bool, showFullscreenButton: o.bool, disableThumbnailScroll: o.bool, disableKeyDown: o.bool, disableSwipe: o.bool, disableThumbnailSwipe: o.bool, useBrowserFullscreen: o.bool, onErrorImageURL: o.string, indexSeparator: o.string, thumbnailPosition: (0, o.oneOf)(["top", "bottom", "left", "right"]), startIndex: o.number, slideDuration: o.number, slideInterval: o.number, slideOnThumbnailOver: o.bool, swipeThreshold: o.number, swipingTransitionDuration: o.number, swipingThumbnailTransitionDuration: o.number, onSlide: o.func, onBeforeSlide: o.func, onScreenChange: o.func, onPause: o.func, onPlay: o.func, onClick: o.func, onImageLoad: o.func, onImageError: o.func, onTouchMove: o.func, onTouchEnd: o.func, onTouchStart: o.func, onMouseOver: o.func, onMouseLeave: o.func, onBulletClick: o.func, onThumbnailError: o.func, onThumbnailClick: o.func, renderCustomControls: o.func, renderLeftNav: o.func, renderRightNav: o.func, renderPlayPauseButton: o.func, renderFullscreenButton: o.func, renderItem: o.func, renderThumbInner: o.func, stopPropagation: o.bool, additionalClass: o.string, useTranslate3D: o.bool, isRTL: o.bool, useWindowKeyDown: o.bool }, De.defaultProps = { onErrorImageURL: "", additionalClass: "", showNav: !0, autoPlay: !1, lazyLoad: !1, infinite: !0, showIndex: !1, showBullets: !1, showThumbnails: !0, showPlayButton: !0, showFullscreenButton: !0, disableThumbnailScroll: !1, disableKeyDown: !1, disableSwipe: !1, disableThumbnailSwipe: !1, useTranslate3D: !0, isRTL: !1, useBrowserFullscreen: !0, flickThreshold: 0.4, stopPropagation: !1, indexSeparator: " / ", thumbnailPosition: "bottom", startIndex: 0, slideDuration: 450, swipingTransitionDuration: 0, swipingThumbnailTransitionDuration: 0, onSlide: null, onBeforeSlide: null, onScreenChange: null, onPause: null, onPlay: null, onClick: null, onImageLoad: null, onImageError: null, onTouchMove: null, onTouchEnd: null, onTouchStart: null, onMouseOver: null, onMouseLeave: null, onBulletClick: null, onThumbnailError: null, onThumbnailClick: null, renderCustomControls: null, renderThumbInner: null, renderItem: null, slideInterval: 3e3, slideOnThumbnailOver: !1, swipeThreshold: 30, renderLeftNav: function(i, e) {
1073
+ return f().createElement(Nt, { onClick: i, disabled: e });
1074
+ }, renderRightNav: function(i, e) {
1075
+ return f().createElement(Bt, { onClick: i, disabled: e });
1076
+ }, renderPlayPauseButton: function(i, e) {
1077
+ return f().createElement(At, { onClick: i, isPlaying: e });
1078
+ }, renderFullscreenButton: function(i, e) {
1079
+ return f().createElement(zt, { onClick: i, isFullscreen: e });
1080
+ }, useWindowKeyDown: !0 };
1081
+ const Vt = De;
1082
+ })(), Se;
1083
+ })());
1084
+ })(ht);
1085
+ var Qt = ht.exports;
1086
+ const Zt = /* @__PURE__ */ Yt(Qt), an = ({ ...ye }) => /* @__PURE__ */ $t.jsx(Zt, { ...ye });
1087
+ export {
1088
+ an as default
1089
+ };