@solostylist/ui-kit 1.0.204 → 1.0.206

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 (297) hide show
  1. package/dist/ArrowUpward-CDLbIMHR.js +6 -0
  2. package/dist/Box-CCxGQYgC.js +46 -0
  3. package/dist/{ButtonBase-CyZX7c8K.js → ButtonBase-BpUvp8ep.js} +284 -285
  4. package/dist/ChevronLeft-C7DUyLoc.js +6 -0
  5. package/dist/ChevronRight-VFk57Tte.js +6 -0
  6. package/dist/Close-OtVsJy75.js +6 -0
  7. package/dist/ContentCopy-DHDP4d6g.js +6 -0
  8. package/dist/{DefaultPropsProvider-CFaP_bh_.js → DefaultPropsProvider-DpRXvTbj.js} +48 -48
  9. package/dist/Download-Bbx6BZUJ.js +6 -0
  10. package/dist/ExpandMore-BTC1yHzp.js +6 -0
  11. package/dist/Favorite-mcH9KX-m.js +6 -0
  12. package/dist/LocalizationProvider-DxrK-c0x.js +110 -0
  13. package/dist/{Menu-BB3Khkc0.js → Menu-Dhh4e9H1.js} +544 -544
  14. package/dist/{MenuItem-CjPW2J-w.js → MenuItem-aaIy8lan.js} +39 -39
  15. package/dist/{Paper-COr98fp-.js → Paper--8Q3qCqb.js} +25 -25
  16. package/dist/{Select-B9880Uge.js → Select-C5bKKis6.js} +1282 -1279
  17. package/dist/{Stack-BJ4hQFAK.js → Stack-D-aoKnaS.js} +27 -27
  18. package/dist/{Typography-B_GHPkH2.js → Typography-CswuXQLF.js} +25 -25
  19. package/dist/avatar-BVV8tT0K.js +10 -0
  20. package/dist/{buttonBaseClasses-DqKyadLa.js → buttonBaseClasses-CzfJbQi5.js} +1 -1
  21. package/dist/checkbox-Dd2nIREk.js +57 -0
  22. package/dist/chunk-efA98nb6.js +13 -0
  23. package/dist/{createSvgIcon-Bs2KOQvq.js → createSvgIcon-KjKEsKNV.js} +50 -50
  24. package/dist/{createTheme-CMuiGmV-.js → createTheme-DuS5_nJb.js} +1 -1
  25. package/dist/{defaultTheme-C7Su92B_.js → defaultTheme-DBynruYK.js} +1 -1
  26. package/dist/entries/carousel.js +3 -3
  27. package/dist/entries/chat.js +3 -3
  28. package/dist/entries/code.js +3 -3
  29. package/dist/entries/core.js +13 -14
  30. package/dist/entries/dates.js +9 -6
  31. package/dist/entries/dropzone.js +3 -3
  32. package/dist/entries/editor.js +2 -2
  33. package/dist/entries/gallery.js +8 -6
  34. package/dist/entries/i18n.js +4 -3
  35. package/dist/entries/motion.js +24 -16
  36. package/dist/entries/scrollbar.js +0 -1
  37. package/dist/entries/stripe.js +2 -2
  38. package/dist/{extendSxProp-DC0zdi8T.js → extendSxProp-YPyfzlEb.js} +1 -1
  39. package/dist/{iconButtonClasses-BggbSXxO.js → iconButtonClasses-ApDUTw5e.js} +1 -1
  40. package/dist/main.d.ts +0 -11
  41. package/dist/main.js +54 -101
  42. package/dist/{mergeSlotProps-DKt8V_TK.js → mergeSlotProps-BG-pTgpj.js} +1 -1
  43. package/dist/{outlinedInputClasses-5cvWh4bu.js → outlinedInputClasses-bgmdcolQ.js} +1 -1
  44. package/dist/{resolveProps-BfzHOpig.js → resolveProps-CcZ6Bxlf.js} +1 -1
  45. package/dist/s-accordion/index.js +2 -3
  46. package/dist/s-accordion/s-accordion.js +2 -3
  47. package/dist/{s-accordion-Dt3fbZNh.js → s-accordion-Da1IZflX.js} +203 -203
  48. package/dist/s-action-overlay/index.js +0 -1
  49. package/dist/s-action-overlay/s-action-overlay.js +44 -44
  50. package/dist/s-autocomplete/index.js +0 -1
  51. package/dist/s-autocomplete/s-autocomplete.js +12 -12
  52. package/dist/s-avatar/index.js +0 -1
  53. package/dist/s-avatar/s-avatar.js +16 -16
  54. package/dist/s-blur-text/index.js +0 -1
  55. package/dist/s-blur-text/s-blur-text.js +34 -34
  56. package/dist/s-breadcrumbs/index.js +1 -2
  57. package/dist/s-breadcrumbs/s-breadcrumbs.js +24 -24
  58. package/dist/s-button/index.js +0 -1
  59. package/dist/s-button/s-button.js +6 -6
  60. package/dist/s-carousel/index.js +2 -3
  61. package/dist/s-carousel/s-carousel.js +2 -3
  62. package/dist/s-carousel-BoDg9pKU.js +125 -0
  63. package/dist/s-category-card/index.js +0 -1
  64. package/dist/s-category-card/s-category-card.js +31 -31
  65. package/dist/s-chat-input/index.js +2 -3
  66. package/dist/s-chat-input/s-chat-input.js +2 -3
  67. package/dist/{s-chat-input-j_4JZfmI.js → s-chat-input-v_XIZVGk.js} +85 -85
  68. package/dist/s-chat-message/index.js +2 -3
  69. package/dist/s-chat-message/s-chat-message.js +2 -3
  70. package/dist/s-chat-message-CWtxsicj.js +281 -0
  71. package/dist/s-checkbox/index.js +0 -1
  72. package/dist/s-checkbox/s-checkbox.js +13 -13
  73. package/dist/s-chip/index.js +0 -1
  74. package/dist/s-chip/s-chip.js +6 -6
  75. package/dist/s-chips/index.js +0 -1
  76. package/dist/s-chips/s-chips.js +37 -37
  77. package/dist/s-code-block/index.js +2 -3
  78. package/dist/s-code-block/s-code-block.js +2 -3
  79. package/dist/{s-code-block-BxdWmtRX.js → s-code-block-BqYdR0Em.js} +21 -21
  80. package/dist/s-comment-message/index.js +2 -3
  81. package/dist/s-comment-message/s-comment-message.js +2 -3
  82. package/dist/s-comment-message-DDAHdQqY.js +195 -0
  83. package/dist/s-copyable-text/index.js +1 -2
  84. package/dist/s-copyable-text/s-copyable-text.js +20 -20
  85. package/dist/s-countdown/index.js +1 -2
  86. package/dist/s-countdown/s-count-box.js +31 -31
  87. package/dist/s-countdown/s-count-down.js +14 -14
  88. package/dist/s-data-table/index.js +2 -3
  89. package/dist/s-data-table/s-data-table.js +2 -3
  90. package/dist/{s-data-table-B9B189jk.js → s-data-table-BjqqIsFX.js} +284 -284
  91. package/dist/s-date-picker/index.js +2 -3
  92. package/dist/s-date-picker/s-date-picker.js +2 -3
  93. package/dist/{s-date-picker-CH4q-Bfx.js → s-date-picker-B0D3WMLP.js} +75 -75
  94. package/dist/s-datetime-picker/index.js +2 -3
  95. package/dist/s-datetime-picker/s-datetime-picker.js +2 -3
  96. package/dist/{s-datetime-picker-dviksz3-.js → s-datetime-picker-BTnwnsM2.js} +1246 -1246
  97. package/dist/s-dialog/index.js +1 -2
  98. package/dist/s-dialog/s-dialog.js +28 -28
  99. package/dist/s-dialog-confirm/index.js +1 -2
  100. package/dist/s-dialog-confirm/s-dialog-confirm.js +42 -42
  101. package/dist/s-dialog-message/index.js +1 -2
  102. package/dist/s-dialog-message/s-dialog-message.js +32 -32
  103. package/dist/s-empty/index.js +0 -1
  104. package/dist/s-empty/s-empty.js +5 -5
  105. package/dist/s-error/index.js +0 -1
  106. package/dist/s-error/s-error.js +6 -6
  107. package/dist/s-error-layout/index.js +0 -1
  108. package/dist/s-error-layout/s-error-layout.js +36 -36
  109. package/dist/s-file-dropzone/index.js +2 -3
  110. package/dist/s-file-dropzone/s-file-dropzone.js +2 -3
  111. package/dist/s-file-dropzone-BJBNFC_b.js +134 -0
  112. package/dist/s-file-icon/index.js +1 -2
  113. package/dist/s-file-icon/s-file-icon.js +79 -79
  114. package/dist/s-flex-box/index.js +1 -2
  115. package/dist/s-flex-box/s-flex-box.js +7 -7
  116. package/dist/s-form/index.js +0 -1
  117. package/dist/s-form/s-form.js +11 -11
  118. package/dist/s-gallery/index.js +1 -2
  119. package/dist/s-gallery/s-gallery.js +72 -72
  120. package/dist/s-glow-button/index.js +1 -2
  121. package/dist/s-glow-button/s-glow-button.js +10 -10
  122. package/dist/s-gradient-icon/index.js +0 -1
  123. package/dist/s-gradient-icon/s-gradient-icon.js +46 -46
  124. package/dist/s-i18n-provider/index.js +0 -1
  125. package/dist/s-i18n-provider/s-i18n-provider.js +17 -18
  126. package/dist/s-icon-button/index.js +0 -1
  127. package/dist/s-icon-button/s-icon-button.js +7 -7
  128. package/dist/s-image-comparison/index.js +1 -2
  129. package/dist/s-image-comparison/s-image-comparison.js +56 -56
  130. package/dist/s-image-modal/index.js +1 -2
  131. package/dist/s-image-modal/s-image-modal.js +94 -94
  132. package/dist/s-item-not-found/index.js +0 -1
  133. package/dist/s-item-not-found/s-item-not-found.js +48 -48
  134. package/dist/s-label/index.js +2 -3
  135. package/dist/s-label/s-label.js +2 -3
  136. package/dist/s-label-Bt4vQGGN.js +30 -0
  137. package/dist/s-language-switcher/index.js +2 -3
  138. package/dist/s-language-switcher/s-language-switcher.js +2 -3
  139. package/dist/{s-language-switcher-DhcrqHJt.js → s-language-switcher-BJP1r1la.js} +53 -53
  140. package/dist/s-lazy-image/index.js +0 -1
  141. package/dist/s-lazy-image/s-lazy-image.js +27 -27
  142. package/dist/s-link/index.js +0 -1
  143. package/dist/s-link/s-link.js +15 -15
  144. package/dist/s-localization-provider/index.js +2 -3
  145. package/dist/s-localization-provider/s-localization-provider.js +2 -3
  146. package/dist/{s-localization-provider-BpoHpRVl.js → s-localization-provider-DJc4e39M.js} +9 -9
  147. package/dist/s-moving-border/index.js +0 -1
  148. package/dist/s-moving-border/s-moving-border.js +38 -38
  149. package/dist/s-multi-select/index.js +2 -3
  150. package/dist/s-multi-select/s-multi-select.js +2 -3
  151. package/dist/s-multi-select-xKP4heeG.js +64 -0
  152. package/dist/s-no-ssr/index.js +0 -1
  153. package/dist/s-no-ssr/s-no-ssr.js +10 -10
  154. package/dist/s-overlay-scrollbar/index.js +0 -1
  155. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +9 -9
  156. package/dist/s-pagination/index.js +0 -1
  157. package/dist/s-pagination/s-pagination.js +17 -17
  158. package/dist/s-pixel-reveal/index.js +1 -2
  159. package/dist/s-pixel-reveal/s-pixel-reveal.js +62 -62
  160. package/dist/s-radial-pulse-animate/index.js +1 -2
  161. package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +37 -37
  162. package/dist/s-rating/index.js +0 -1
  163. package/dist/s-rating/s-rating.js +6 -6
  164. package/dist/s-review/index.js +2 -3
  165. package/dist/s-review/s-review.js +2 -3
  166. package/dist/s-review-DOBlCEU2.js +241 -0
  167. package/dist/s-scroll-reveal/index.js +0 -1
  168. package/dist/s-scroll-reveal/s-scroll-reveal.js +11 -11
  169. package/dist/s-scroll-to-top/index.js +1 -2
  170. package/dist/s-scroll-to-top/s-scroll-to-top.js +14 -14
  171. package/dist/s-scroll-velocity/index.js +0 -1
  172. package/dist/s-scroll-velocity/s-scroll-velocity.js +6 -6
  173. package/dist/s-scroll-velocity/scroll-velocity-container.js +8 -8
  174. package/dist/s-scroll-velocity/scroll-velocity-row.js +22 -22
  175. package/dist/s-select/index.js +2 -3
  176. package/dist/s-select/s-select.js +2 -3
  177. package/dist/s-select-DXbeZ0CG.js +110 -0
  178. package/dist/s-select-list/index.js +0 -1
  179. package/dist/s-select-list/s-select-list.js +17 -17
  180. package/dist/s-skeleton/index.js +0 -1
  181. package/dist/s-skeleton/s-skeleton.js +16 -16
  182. package/dist/s-snackbar-message/index.js +0 -1
  183. package/dist/s-snackbar-message/s-snackbar-message.js +24 -24
  184. package/dist/s-spotlight-cursor/index.js +0 -1
  185. package/dist/s-spotlight-cursor/s-spotlight-cursor.js +21 -21
  186. package/dist/s-stripe/index.js +1 -2
  187. package/dist/s-stripe/s-stripe-cvc.js +8 -9
  188. package/dist/s-stripe/s-stripe-expiry.js +8 -9
  189. package/dist/s-stripe/s-stripe-number.js +8 -9
  190. package/dist/s-stripe/s-stripe.js +10 -10
  191. package/dist/s-stripe/stripe-input.js +16 -16
  192. package/dist/s-switch/index.js +0 -1
  193. package/dist/s-switch/s-switch.js +13 -13
  194. package/dist/s-tabs/index.js +0 -1
  195. package/dist/s-tabs/s-tab-panel.js +7 -7
  196. package/dist/s-tabs/s-tab.js +6 -6
  197. package/dist/s-tabs/s-tabs.js +24 -24
  198. package/dist/s-text-editor/index.js +2 -3
  199. package/dist/s-text-editor/s-text-editor-toolbar.js +2 -3
  200. package/dist/s-text-editor/s-text-editor.js +24 -24
  201. package/dist/s-text-editor-toolbar-ob6vDHU4.js +177 -0
  202. package/dist/s-text-field/index.js +2 -3
  203. package/dist/s-text-field/s-text-field.js +2 -3
  204. package/dist/s-text-field-ni42E-1x.js +41 -0
  205. package/dist/s-text-shimmer/index.js +1 -2
  206. package/dist/s-text-shimmer/s-text-shimmer.js +13 -13
  207. package/dist/s-text-truncation/index.js +0 -1
  208. package/dist/s-text-truncation/s-text-truncation.js +42 -42
  209. package/dist/s-theme-demo/index.js +2 -3
  210. package/dist/s-theme-demo/s-theme-demo.js +2 -3
  211. package/dist/{s-theme-demo-ChEG6wog.js → s-theme-demo-B4pz6fse.js} +181 -181
  212. package/dist/s-theme-provider/index.js +1 -2
  213. package/dist/s-theme-provider/s-theme-provider.js +16 -16
  214. package/dist/s-theme-switch/index.js +2 -3
  215. package/dist/s-theme-switch/s-theme-switch.js +2 -3
  216. package/dist/s-theme-switch-CCEdponC.js +37 -0
  217. package/dist/s-tip/index.js +2 -3
  218. package/dist/s-tip/s-tip.js +2 -3
  219. package/dist/s-tip-CG51Q6oR.js +34 -0
  220. package/dist/s-tool-bar/index.js +2 -3
  221. package/dist/s-tool-bar/s-tool-bar.js +2 -3
  222. package/dist/s-tool-bar-C2lZhhJm.js +404 -0
  223. package/dist/s-two-pane-layout/index.js +1 -2
  224. package/dist/s-two-pane-layout/s-two-pane-layout.js +48 -48
  225. package/dist/s-typewriter-text/index.js +0 -1
  226. package/dist/s-typewriter-text/s-typewriter-text.js +21 -21
  227. package/dist/s-zoom-image/index.js +0 -1
  228. package/dist/s-zoom-image/s-zoom-image.js +12 -12
  229. package/dist/select-D9KH9LAz.js +11 -0
  230. package/dist/{styled-CjUxhIJh.js → styled-Dz7rwAje.js} +2 -2
  231. package/dist/{svgIconClasses-DOmb6RsS.js → svgIconClasses-CygVMw0E.js} +1 -1
  232. package/dist/{tabClasses-DoD3-n6K.js → tabClasses-CIRFQ-PB.js} +1 -1
  233. package/dist/theme/components/accordion-summary.js +2 -2
  234. package/dist/theme/components/alert.js +2 -2
  235. package/dist/theme/components/avatar.js +2 -3
  236. package/dist/theme/components/button.js +2 -2
  237. package/dist/theme/components/card.js +2 -2
  238. package/dist/theme/components/checkbox.js +2 -3
  239. package/dist/theme/components/chip.js +15 -15
  240. package/dist/theme/components/components.js +6 -7
  241. package/dist/theme/components/icon-button.js +2 -2
  242. package/dist/theme/components/linear-progress.js +2 -2
  243. package/dist/theme/components/link.js +2 -2
  244. package/dist/theme/components/list-item-button.js +1 -1
  245. package/dist/theme/components/list-item.js +3 -3
  246. package/dist/theme/components/outlined-input.js +3 -3
  247. package/dist/theme/components/select.js +2 -3
  248. package/dist/theme/components/step-icon.js +2 -2
  249. package/dist/theme/components/tab.js +1 -1
  250. package/dist/theme/components/table-pagination.js +1 -1
  251. package/dist/theme/components/toggle-button-group.js +2 -2
  252. package/dist/theme/components/toggle-button.js +2 -2
  253. package/dist/theme/theme-primitives.js +2 -2
  254. package/dist/{theme-primitives-Csxbv-2Y.js → theme-primitives-BG66N-x4.js} +1 -1
  255. package/dist/{toggle-button-CAcYep44.js → toggle-button-BI6z89CX.js} +2 -2
  256. package/dist/{toggle-button-group-BCHnFS_B.js → toggle-button-group-Dzzh9mXv.js} +3 -3
  257. package/dist/{typographyClasses-YJ-sLvHS.js → typographyClasses-C0nDz5e6.js} +1 -1
  258. package/dist/{useMobilePicker-CVsWEjX5.js → useMobilePicker-5bdhOdnH.js} +9153 -9150
  259. package/dist/{useTheme-B8aCSYJ4.js → useTheme-BES_k_99.js} +1 -1
  260. package/dist/{useThemeProps-CeO0wKq2.js → useThemeProps-CJRFdjVv.js} +2 -2
  261. package/dist/utils/dayjs.js +1 -1
  262. package/package.json +58 -1
  263. package/dist/ArrowUpward-KYbUu0UZ.js +0 -5
  264. package/dist/Box-a5uPlxYL.js +0 -47
  265. package/dist/ChevronLeft-Djq7TyZX.js +0 -5
  266. package/dist/ChevronRight-BgWjUtu8.js +0 -5
  267. package/dist/Close-DD2G0QfM.js +0 -5
  268. package/dist/ContentCopy-D1OlBB-D.js +0 -6
  269. package/dist/Download-DDt8mUQX.js +0 -5
  270. package/dist/ExpandMore-3GurpYw-.js +0 -5
  271. package/dist/Favorite-gVQqn0Cm.js +0 -5
  272. package/dist/avatar-boNnyODN.js +0 -9
  273. package/dist/checkbox-CajxsIFH.js +0 -57
  274. package/dist/chunk-BQCxAhux.js +0 -23
  275. package/dist/jsx-runtime-V-UOMaX1.js +0 -180
  276. package/dist/s-carousel-B3VUHzx3.js +0 -2294
  277. package/dist/s-chat-message-DQk5XWSJ.js +0 -281
  278. package/dist/s-comment-message-D3XTOm1L.js +0 -195
  279. package/dist/s-file-dropzone-DYiYlcY8.js +0 -134
  280. package/dist/s-label-g_Qac9jO.js +0 -30
  281. package/dist/s-multi-select-CUsIS9dm.js +0 -64
  282. package/dist/s-review-C1E6ASin.js +0 -241
  283. package/dist/s-select-CmsTrYmx.js +0 -110
  284. package/dist/s-text-editor-toolbar-DC-dnSBG.js +0 -177
  285. package/dist/s-text-field-C2WdBxNO.js +0 -41
  286. package/dist/s-theme-switch-uXRVJIf_.js +0 -37
  287. package/dist/s-tip-oiH-79gR.js +0 -34
  288. package/dist/s-tool-bar-CM-cxOkI.js +0 -404
  289. package/dist/select-CjaxyZK_.js +0 -11
  290. package/dist/warning-Bc_24lbr.js +0 -110
  291. /package/dist/{createSimplePaletteValueFilter-1V26n1YK.js → createSimplePaletteValueFilter-dAWZ3p3z.js} +0 -0
  292. /package/dist/{generateUtilityClasses-i3-S3IQr.js → generateUtilityClasses-BMwEKe3O.js} +0 -0
  293. /package/dist/{objectWithoutPropertiesLoose-Dn-p_OIo.js → objectWithoutPropertiesLoose-BdL2_POW.js} +0 -0
  294. /package/dist/{useControlled-DZKvfhNx.js → useControlled-CvWtMQJF.js} +0 -0
  295. /package/dist/{useEnhancedEffect-C_B_y6Db.js → useEnhancedEffect-NLLl34XR.js} +0 -0
  296. /package/dist/{useFormControl-y5Pput5X.js → useFormControl-ngLNi8dL.js} +0 -0
  297. /package/dist/{utils-Cj6R-BZe.js → utils-Cu16ybRR.js} +0 -0
@@ -1,2294 +0,0 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "./chunk-BQCxAhux.js";
2
- import { t as o } from "./jsx-runtime-V-UOMaX1.js";
3
- import { t as s } from "./createSvgIcon-Bs2KOQvq.js";
4
- import { SIconButton as c } from "./s-icon-button/s-icon-button.js";
5
- import { forwardRef as l } from "react";
6
- import { styled as u, useTheme as d } from "@mui/material";
7
- import './assets/s-carousel.css';//#region ../../node_modules/@mui/icons-material/esm/ArrowBackIosNew.js
8
- var f = o(), p = s(/* @__PURE__ */ (0, f.jsx)("path", { d: "M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z" }), "ArrowBackIosNew"), m = s(/* @__PURE__ */ (0, f.jsx)("path", { d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z" }), "ArrowForwardIos"), h = /* @__PURE__ */ a(((e) => {
9
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0, e.default = {
10
- animating: !1,
11
- autoplaying: null,
12
- currentDirection: 0,
13
- currentLeft: null,
14
- currentSlide: 0,
15
- direction: 1,
16
- dragging: !1,
17
- edgeDragged: !1,
18
- initialized: !1,
19
- lazyLoadedList: [],
20
- listHeight: null,
21
- listWidth: null,
22
- scrolling: !1,
23
- slideCount: null,
24
- slideHeight: null,
25
- slideWidth: null,
26
- swipeLeft: null,
27
- swiped: !1,
28
- swiping: !1,
29
- touchObject: {
30
- startX: 0,
31
- startY: 0,
32
- curX: 0,
33
- curY: 0
34
- },
35
- trackStyle: {},
36
- trackWidth: 0,
37
- targetSlide: 0
38
- };
39
- })), g = /* @__PURE__ */ a(((e, t) => {
40
- var n = "Expected a function", r = NaN, i = "[object Symbol]", a = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt, u = typeof global == "object" && global && global.Object === Object && global, d = typeof self == "object" && self && self.Object === Object && self, f = u || d || Function("return this")(), p = Object.prototype.toString, m = Math.max, h = Math.min, g = function() {
41
- return f.Date.now();
42
- };
43
- function _(e, t, r) {
44
- var i, a, o, s, c, l, u = 0, d = !1, f = !1, p = !0;
45
- if (typeof e != "function") throw TypeError(n);
46
- t = x(t) || 0, v(r) && (d = !!r.leading, f = "maxWait" in r, o = f ? m(x(r.maxWait) || 0, t) : o, p = "trailing" in r ? !!r.trailing : p);
47
- function _(t) {
48
- var n = i, r = a;
49
- return i = a = void 0, u = t, s = e.apply(r, n), s;
50
- }
51
- function y(e) {
52
- return u = e, c = setTimeout(C, t), d ? _(e) : s;
53
- }
54
- function b(e) {
55
- var n = e - l, r = e - u, i = t - n;
56
- return f ? h(i, o - r) : i;
57
- }
58
- function S(e) {
59
- var n = e - l, r = e - u;
60
- return l === void 0 || n >= t || n < 0 || f && r >= o;
61
- }
62
- function C() {
63
- var e = g();
64
- if (S(e)) return w(e);
65
- c = setTimeout(C, b(e));
66
- }
67
- function w(e) {
68
- return c = void 0, p && i ? _(e) : (i = a = void 0, s);
69
- }
70
- function T() {
71
- c !== void 0 && clearTimeout(c), u = 0, i = l = a = c = void 0;
72
- }
73
- function E() {
74
- return c === void 0 ? s : w(g());
75
- }
76
- function D() {
77
- var e = g(), n = S(e);
78
- if (i = arguments, a = this, l = e, n) {
79
- if (c === void 0) return y(l);
80
- if (f) return c = setTimeout(C, t), _(l);
81
- }
82
- return c === void 0 && (c = setTimeout(C, t)), s;
83
- }
84
- return D.cancel = T, D.flush = E, D;
85
- }
86
- function v(e) {
87
- var t = typeof e;
88
- return !!e && (t == "object" || t == "function");
89
- }
90
- function y(e) {
91
- return !!e && typeof e == "object";
92
- }
93
- function b(e) {
94
- return typeof e == "symbol" || y(e) && p.call(e) == i;
95
- }
96
- function x(e) {
97
- if (typeof e == "number") return e;
98
- if (b(e)) return r;
99
- if (v(e)) {
100
- var t = typeof e.valueOf == "function" ? e.valueOf() : e;
101
- e = v(t) ? t + "" : t;
102
- }
103
- if (typeof e != "string") return e === 0 ? e : +e;
104
- e = e.replace(a, "");
105
- var n = s.test(e);
106
- return n || c.test(e) ? l(e.slice(2), n ? 2 : 8) : o.test(e) ? r : +e;
107
- }
108
- t.exports = _;
109
- })), _ = /* @__PURE__ */ a(((e, t) => {
110
- (function() {
111
- var e = {}.hasOwnProperty;
112
- function n() {
113
- for (var e = "", t = 0; t < arguments.length; t++) {
114
- var n = arguments[t];
115
- n && (e = i(e, r(n)));
116
- }
117
- return e;
118
- }
119
- function r(t) {
120
- if (typeof t == "string" || typeof t == "number") return t;
121
- if (typeof t != "object") return "";
122
- if (Array.isArray(t)) return n.apply(null, t);
123
- if (t.toString !== Object.prototype.toString && !t.toString.toString().includes("[native code]")) return t.toString();
124
- var r = "";
125
- for (var a in t) e.call(t, a) && t[a] && (r = i(r, a));
126
- return r;
127
- }
128
- function i(e, t) {
129
- return t ? e ? e + " " + t : e + t : e;
130
- }
131
- t !== void 0 && t.exports ? (n.default = n, t.exports = n) : typeof define == "function" && typeof define.amd == "object" && define.amd ? define("classnames", [], function() {
132
- return n;
133
- }) : window.classNames = n;
134
- })();
135
- })), v = /* @__PURE__ */ a(((e) => {
136
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0;
137
- var n = r(t("react"));
138
- function r(e) {
139
- return e && e.__esModule ? e : { default: e };
140
- }
141
- e.default = {
142
- accessibility: !0,
143
- adaptiveHeight: !1,
144
- afterChange: null,
145
- appendDots: function(e) {
146
- return /* @__PURE__ */ n.default.createElement("ul", { style: { display: "block" } }, e);
147
- },
148
- arrows: !0,
149
- autoplay: !1,
150
- autoplaySpeed: 3e3,
151
- beforeChange: null,
152
- centerMode: !1,
153
- centerPadding: "50px",
154
- className: "",
155
- cssEase: "ease",
156
- customPaging: function(e) {
157
- return /* @__PURE__ */ n.default.createElement("button", null, e + 1);
158
- },
159
- dots: !1,
160
- dotsClass: "slick-dots",
161
- draggable: !0,
162
- easing: "linear",
163
- edgeFriction: .35,
164
- fade: !1,
165
- focusOnSelect: !1,
166
- infinite: !0,
167
- initialSlide: 0,
168
- lazyLoad: null,
169
- nextArrow: null,
170
- onEdge: null,
171
- onInit: null,
172
- onLazyLoadError: null,
173
- onReInit: null,
174
- pauseOnDotsHover: !1,
175
- pauseOnFocus: !1,
176
- pauseOnHover: !0,
177
- prevArrow: null,
178
- responsive: null,
179
- rows: 1,
180
- rtl: !1,
181
- slide: "div",
182
- slidesPerRow: 1,
183
- slidesToScroll: 1,
184
- slidesToShow: 1,
185
- speed: 500,
186
- swipe: !0,
187
- swipeEvent: null,
188
- swipeToSlide: !1,
189
- touchMove: !0,
190
- touchThreshold: 5,
191
- useCSS: !0,
192
- useTransform: !0,
193
- variableWidth: !1,
194
- vertical: !1,
195
- verticalSwiping: !1,
196
- waitForAnimate: !0,
197
- asNavFor: null,
198
- unslick: !1
199
- };
200
- })), y = /* @__PURE__ */ a(((e) => {
201
- Object.defineProperty(e, "__esModule", { value: !0 }), e.checkSpecKeys = e.checkNavigable = e.changeSlide = e.canUseDOM = e.canGoNext = void 0, e.clamp = d, e.extractObject = void 0, e.filterSettings = L, e.validSettings = e.swipeStart = e.swipeMove = e.swipeEnd = e.slidesOnRight = e.slidesOnLeft = e.slideHandler = e.siblingDirection = e.safePreventDefault = e.lazyStartIndex = e.lazySlidesOnRight = e.lazySlidesOnLeft = e.lazyEndIndex = e.keyHandler = e.initializedState = e.getWidth = e.getTrackLeft = e.getTrackCSS = e.getTrackAnimateCSS = e.getTotalSlides = e.getSwipeDirection = e.getSlideCount = e.getRequiredLazySlides = e.getPreClones = e.getPostClones = e.getOnDemandLazySlides = e.getNavigableIndexes = e.getHeight = void 0;
202
- var n = i(t("react")), r = i(v());
203
- function i(e) {
204
- return e && e.__esModule ? e : { default: e };
205
- }
206
- function a(e) {
207
- "@babel/helpers - typeof";
208
- return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
209
- return typeof e;
210
- } : function(e) {
211
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
212
- }, a(e);
213
- }
214
- function o(e, t) {
215
- var n = Object.keys(e);
216
- if (Object.getOwnPropertySymbols) {
217
- var r = Object.getOwnPropertySymbols(e);
218
- t && (r = r.filter(function(t) {
219
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
220
- })), n.push.apply(n, r);
221
- }
222
- return n;
223
- }
224
- function s(e) {
225
- for (var t = 1; t < arguments.length; t++) {
226
- var n = arguments[t] == null ? {} : arguments[t];
227
- t % 2 ? o(Object(n), !0).forEach(function(t) {
228
- c(e, t, n[t]);
229
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : o(Object(n)).forEach(function(t) {
230
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
231
- });
232
- }
233
- return e;
234
- }
235
- function c(e, t, n) {
236
- return (t = l(t)) in e ? Object.defineProperty(e, t, {
237
- value: n,
238
- enumerable: !0,
239
- configurable: !0,
240
- writable: !0
241
- }) : e[t] = n, e;
242
- }
243
- function l(e) {
244
- var t = u(e, "string");
245
- return a(t) == "symbol" ? t : t + "";
246
- }
247
- function u(e, t) {
248
- if (a(e) != "object" || !e) return e;
249
- var n = e[Symbol.toPrimitive];
250
- if (n !== void 0) {
251
- var r = n.call(e, t || "default");
252
- if (a(r) != "object") return r;
253
- throw TypeError("@@toPrimitive must return a primitive value.");
254
- }
255
- return (t === "string" ? String : Number)(e);
256
- }
257
- function d(e, t, n) {
258
- return Math.max(t, Math.min(e, n));
259
- }
260
- var f = e.safePreventDefault = function(e) {
261
- [
262
- "onTouchStart",
263
- "onTouchMove",
264
- "onWheel"
265
- ].includes(e._reactName) || e.preventDefault();
266
- }, p = e.getOnDemandLazySlides = function(e) {
267
- for (var t = [], n = m(e), r = h(e), i = n; i < r; i++) e.lazyLoadedList.indexOf(i) < 0 && t.push(i);
268
- return t;
269
- };
270
- e.getRequiredLazySlides = function(e) {
271
- for (var t = [], n = m(e), r = h(e), i = n; i < r; i++) t.push(i);
272
- return t;
273
- };
274
- var m = e.lazyStartIndex = function(e) {
275
- return e.currentSlide - g(e);
276
- }, h = e.lazyEndIndex = function(e) {
277
- return e.currentSlide + _(e);
278
- }, g = e.lazySlidesOnLeft = function(e) {
279
- return e.centerMode ? Math.floor(e.slidesToShow / 2) + (parseInt(e.centerPadding) > 0 ? 1 : 0) : 0;
280
- }, _ = e.lazySlidesOnRight = function(e) {
281
- return e.centerMode ? Math.floor((e.slidesToShow - 1) / 2) + 1 + (parseInt(e.centerPadding) > 0 ? 1 : 0) : e.slidesToShow;
282
- }, y = e.getWidth = function(e) {
283
- return e && e.offsetWidth || 0;
284
- }, b = e.getHeight = function(e) {
285
- return e && e.offsetHeight || 0;
286
- }, x = e.getSwipeDirection = function(e) {
287
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = e.startX - e.curX, r = e.startY - e.curY, i = Math.atan2(r, n), a = Math.round(i * 180 / Math.PI);
288
- return a < 0 && (a = 360 - Math.abs(a)), a <= 45 && a >= 0 || a <= 360 && a >= 315 ? "left" : a >= 135 && a <= 225 ? "right" : t === !0 ? a >= 35 && a <= 135 ? "up" : "down" : "vertical";
289
- }, S = e.canGoNext = function(e) {
290
- var t = !0;
291
- return e.infinite || (e.centerMode && e.currentSlide >= e.slideCount - 1 || e.slideCount <= e.slidesToShow || e.currentSlide >= e.slideCount - e.slidesToShow) && (t = !1), t;
292
- };
293
- e.extractObject = function(e, t) {
294
- var n = {};
295
- return t.forEach(function(t) {
296
- return n[t] = e[t];
297
- }), n;
298
- }, e.initializedState = function(e) {
299
- var t = n.default.Children.count(e.children), r = e.listRef, i = Math.ceil(y(r)), a = e.trackRef && e.trackRef.node, o = Math.ceil(y(a)), c;
300
- if (e.vertical) c = i;
301
- else {
302
- var l = e.centerMode && parseInt(e.centerPadding) * 2;
303
- typeof e.centerPadding == "string" && e.centerPadding.slice(-1) === "%" && (l *= i / 100), c = Math.ceil((i - l) / e.slidesToShow);
304
- }
305
- var u = r && b(r.querySelector("[data-index=\"0\"]")), d = u * e.slidesToShow, f = e.currentSlide === void 0 ? e.initialSlide : e.currentSlide;
306
- e.rtl && e.currentSlide === void 0 && (f = t - 1 - e.initialSlide);
307
- var m = e.lazyLoadedList || [], h = p(s(s({}, e), {}, {
308
- currentSlide: f,
309
- lazyLoadedList: m
310
- }));
311
- m = m.concat(h);
312
- var g = {
313
- slideCount: t,
314
- slideWidth: c,
315
- listWidth: i,
316
- trackWidth: o,
317
- currentSlide: f,
318
- slideHeight: u,
319
- listHeight: d,
320
- lazyLoadedList: m
321
- };
322
- return e.autoplaying === null && e.autoplay && (g.autoplaying = "playing"), g;
323
- }, e.slideHandler = function(e) {
324
- var t = e.waitForAnimate, n = e.animating, r = e.fade, i = e.infinite, a = e.index, o = e.slideCount, c = e.lazyLoad, l = e.currentSlide, u = e.centerMode, f = e.slidesToScroll, m = e.slidesToShow, h = e.useCSS, g = e.lazyLoadedList;
325
- if (t && n) return {};
326
- var _ = a, v, y, b, x = {}, C = {}, w = i ? a : d(a, 0, o - 1);
327
- if (r) {
328
- if (!i && (a < 0 || a >= o)) return {};
329
- a < 0 ? _ = a + o : a >= o && (_ = a - o), c && g.indexOf(_) < 0 && (g = g.concat(_)), x = {
330
- animating: !0,
331
- currentSlide: _,
332
- lazyLoadedList: g,
333
- targetSlide: _
334
- }, C = {
335
- animating: !1,
336
- targetSlide: _
337
- };
338
- } else v = _, _ < 0 ? (v = _ + o, i ? o % f !== 0 && (v = o - o % f) : v = 0) : !S(e) && _ > l ? _ = v = l : u && _ >= o ? (_ = i ? o : o - 1, v = i ? 0 : o - 1) : _ >= o && (v = _ - o, i ? o % f !== 0 && (v = 0) : v = o - m), !i && _ + m >= o && (v = o - m), y = k(s(s({}, e), {}, { slideIndex: _ })), b = k(s(s({}, e), {}, { slideIndex: v })), i || (y === b && (_ = v), y = b), c && (g = g.concat(p(s(s({}, e), {}, { currentSlide: _ })))), h ? (x = {
339
- animating: !0,
340
- currentSlide: v,
341
- trackStyle: O(s(s({}, e), {}, { left: y })),
342
- lazyLoadedList: g,
343
- targetSlide: w
344
- }, C = {
345
- animating: !1,
346
- currentSlide: v,
347
- trackStyle: D(s(s({}, e), {}, { left: b })),
348
- swipeLeft: null,
349
- targetSlide: w
350
- }) : x = {
351
- currentSlide: v,
352
- trackStyle: D(s(s({}, e), {}, { left: b })),
353
- lazyLoadedList: g,
354
- targetSlide: w
355
- };
356
- return {
357
- state: x,
358
- nextState: C
359
- };
360
- }, e.changeSlide = function(e, t) {
361
- var n, r, i, a, o, c = e.slidesToScroll, l = e.slidesToShow, u = e.slideCount, d = e.currentSlide, f = e.targetSlide, p = e.lazyLoad, m = e.infinite;
362
- if (a = u % c !== 0, n = a ? 0 : (u - d) % c, t.message === "previous") i = n === 0 ? c : l - n, o = d - i, p && !m && (r = d - i, o = r === -1 ? u - 1 : r), m || (o = f - c);
363
- else if (t.message === "next") i = n === 0 ? c : n, o = d + i, p && !m && (o = (d + c) % u + n), m || (o = f + c);
364
- else if (t.message === "dots") o = t.index * t.slidesToScroll;
365
- else if (t.message === "children") {
366
- if (o = t.index, m) {
367
- var h = N(s(s({}, e), {}, { targetSlide: o }));
368
- o > t.currentSlide && h === "left" ? o -= u : o < t.currentSlide && h === "right" && (o += u);
369
- }
370
- } else t.message === "index" && (o = Number(t.index));
371
- return o;
372
- }, e.keyHandler = function(e, t, n) {
373
- return e.target.tagName.match("TEXTAREA|INPUT|SELECT") || !t ? "" : e.keyCode === 37 ? n ? "next" : "previous" : e.keyCode === 39 ? n ? "previous" : "next" : "";
374
- }, e.swipeStart = function(e, t, n) {
375
- return e.target.tagName === "IMG" && f(e), !t || !n && e.type.indexOf("mouse") !== -1 ? "" : {
376
- dragging: !0,
377
- touchObject: {
378
- startX: e.touches ? e.touches[0].pageX : e.clientX,
379
- startY: e.touches ? e.touches[0].pageY : e.clientY,
380
- curX: e.touches ? e.touches[0].pageX : e.clientX,
381
- curY: e.touches ? e.touches[0].pageY : e.clientY
382
- }
383
- };
384
- }, e.swipeMove = function(e, t) {
385
- var n = t.scrolling, r = t.animating, i = t.vertical, a = t.swipeToSlide, o = t.verticalSwiping, c = t.rtl, l = t.currentSlide, u = t.edgeFriction, d = t.edgeDragged, p = t.onEdge, m = t.swiped, h = t.swiping, g = t.slideCount, _ = t.slidesToScroll, v = t.infinite, y = t.touchObject, b = t.swipeEvent, C = t.listHeight, w = t.listWidth;
386
- if (!n) {
387
- if (r) return f(e);
388
- i && a && o && f(e);
389
- var T, E = {}, O = k(t);
390
- y.curX = e.touches ? e.touches[0].pageX : e.clientX, y.curY = e.touches ? e.touches[0].pageY : e.clientY, y.swipeLength = Math.round(Math.sqrt((y.curX - y.startX) ** 2));
391
- var A = Math.round(Math.sqrt((y.curY - y.startY) ** 2));
392
- if (!o && !h && A > 10) return { scrolling: !0 };
393
- o && (y.swipeLength = A);
394
- var j = (c ? -1 : 1) * (y.curX > y.startX ? 1 : -1);
395
- o && (j = y.curY > y.startY ? 1 : -1);
396
- var M = Math.ceil(g / _), N = x(t.touchObject, o), P = y.swipeLength;
397
- return v || (l === 0 && (N === "right" || N === "down") || l + 1 >= M && (N === "left" || N === "up") || !S(t) && (N === "left" || N === "up")) && (P = y.swipeLength * u, d === !1 && p && (p(N), E.edgeDragged = !0)), !m && b && (b(N), E.swiped = !0), T = i ? O + C / w * P * j : c ? O - P * j : O + P * j, o && (T = O + P * j), E = s(s({}, E), {}, {
398
- touchObject: y,
399
- swipeLeft: T,
400
- trackStyle: D(s(s({}, t), {}, { left: T }))
401
- }), Math.abs(y.curX - y.startX) < Math.abs(y.curY - y.startY) * .8 || y.swipeLength > 10 && (E.swiping = !0, f(e)), E;
402
- }
403
- }, e.swipeEnd = function(e, t) {
404
- var n = t.dragging, r = t.swipe, i = t.touchObject, a = t.listWidth, o = t.touchThreshold, c = t.verticalSwiping, l = t.listHeight, u = t.swipeToSlide, d = t.scrolling, p = t.onSwipe, m = t.targetSlide, h = t.currentSlide, g = t.infinite;
405
- if (!n) return r && f(e), {};
406
- var _ = c ? l / o : a / o, v = x(i, c), y = {
407
- dragging: !1,
408
- edgeDragged: !1,
409
- scrolling: !1,
410
- swiping: !1,
411
- swiped: !1,
412
- swipeLeft: null,
413
- touchObject: {}
414
- };
415
- if (d || !i.swipeLength) return y;
416
- if (i.swipeLength > _) {
417
- f(e), p && p(v);
418
- var b, S, C = g ? h : m;
419
- switch (v) {
420
- case "left":
421
- case "up":
422
- S = C + T(t), b = u ? w(t, S) : S, y.currentDirection = 0;
423
- break;
424
- case "right":
425
- case "down":
426
- S = C - T(t), b = u ? w(t, S) : S, y.currentDirection = 1;
427
- break;
428
- default: b = C;
429
- }
430
- y.triggerSlideHandler = b;
431
- } else {
432
- var E = k(t);
433
- y.trackStyle = O(s(s({}, t), {}, { left: E }));
434
- }
435
- return y;
436
- };
437
- var C = e.getNavigableIndexes = function(e) {
438
- for (var t = e.infinite ? e.slideCount * 2 : e.slideCount, n = e.infinite ? e.slidesToShow * -1 : 0, r = e.infinite ? e.slidesToShow * -1 : 0, i = []; n < t;) i.push(n), n = r + e.slidesToScroll, r += Math.min(e.slidesToScroll, e.slidesToShow);
439
- return i;
440
- }, w = e.checkNavigable = function(e, t) {
441
- var n = C(e), r = 0;
442
- if (t > n[n.length - 1]) t = n[n.length - 1];
443
- else for (var i in n) {
444
- if (t < n[i]) {
445
- t = r;
446
- break;
447
- }
448
- r = n[i];
449
- }
450
- return t;
451
- }, T = e.getSlideCount = function(e) {
452
- var t = e.centerMode ? e.slideWidth * Math.floor(e.slidesToShow / 2) : 0;
453
- if (e.swipeToSlide) {
454
- var n, r = e.listRef, i = r.querySelectorAll && r.querySelectorAll(".slick-slide") || [];
455
- if (Array.from(i).every(function(r) {
456
- if (!e.vertical) {
457
- if (r.offsetLeft - t + y(r) / 2 > e.swipeLeft * -1) return n = r, !1;
458
- } else if (r.offsetTop + b(r) / 2 > e.swipeLeft * -1) return n = r, !1;
459
- return !0;
460
- }), !n) return 0;
461
- var a = e.rtl === !0 ? e.slideCount - e.currentSlide : e.currentSlide;
462
- return Math.abs(n.dataset.index - a) || 1;
463
- } else return e.slidesToScroll;
464
- }, E = e.checkSpecKeys = function(e, t) {
465
- return t.reduce(function(t, n) {
466
- return t && e.hasOwnProperty(n);
467
- }, !0) ? null : console.error("Keys Missing:", e);
468
- }, D = e.getTrackCSS = function(e) {
469
- E(e, [
470
- "left",
471
- "variableWidth",
472
- "slideCount",
473
- "slidesToShow",
474
- "slideWidth"
475
- ]);
476
- var t, n;
477
- e.vertical ? n = (e.unslick ? e.slideCount : e.slideCount + 2 * e.slidesToShow) * e.slideHeight : t = M(e) * e.slideWidth;
478
- var r = {
479
- opacity: 1,
480
- transition: "",
481
- WebkitTransition: ""
482
- };
483
- if (e.useTransform) {
484
- var i = e.vertical ? "translate3d(0px, " + e.left + "px, 0px)" : "translate3d(" + e.left + "px, 0px, 0px)", a = e.vertical ? "translate3d(0px, " + e.left + "px, 0px)" : "translate3d(" + e.left + "px, 0px, 0px)", o = e.vertical ? "translateY(" + e.left + "px)" : "translateX(" + e.left + "px)";
485
- r = s(s({}, r), {}, {
486
- WebkitTransform: i,
487
- transform: a,
488
- msTransform: o
489
- });
490
- } else e.vertical ? r.top = e.left : r.left = e.left;
491
- return e.fade && (r = { opacity: 1 }), t && (r.width = t), n && (r.height = n), window && !window.addEventListener && window.attachEvent && (e.vertical ? r.marginTop = e.left + "px" : r.marginLeft = e.left + "px"), r;
492
- }, O = e.getTrackAnimateCSS = function(e) {
493
- E(e, [
494
- "left",
495
- "variableWidth",
496
- "slideCount",
497
- "slidesToShow",
498
- "slideWidth",
499
- "speed",
500
- "cssEase"
501
- ]);
502
- var t = D(e);
503
- return e.useTransform ? (t.WebkitTransition = "-webkit-transform " + e.speed + "ms " + e.cssEase, t.transition = "transform " + e.speed + "ms " + e.cssEase) : e.vertical ? t.transition = "top " + e.speed + "ms " + e.cssEase : t.transition = "left " + e.speed + "ms " + e.cssEase, t;
504
- }, k = e.getTrackLeft = function(e) {
505
- if (e.unslick) return 0;
506
- E(e, [
507
- "slideIndex",
508
- "trackRef",
509
- "infinite",
510
- "centerMode",
511
- "slideCount",
512
- "slidesToShow",
513
- "slidesToScroll",
514
- "slideWidth",
515
- "listWidth",
516
- "variableWidth",
517
- "slideHeight"
518
- ]);
519
- var t = e.slideIndex, n = e.trackRef, r = e.infinite, i = e.centerMode, a = e.slideCount, o = e.slidesToShow, s = e.slidesToScroll, c = e.slideWidth, l = e.listWidth, u = e.variableWidth, d = e.slideHeight, f = e.fade, p = e.vertical, m = 0, h, g, _ = 0;
520
- if (f || e.slideCount === 1) return 0;
521
- var v = 0;
522
- if (r ? (v = -A(e), a % s !== 0 && t + s > a && (v = -(t > a ? o - (t - a) : a % s)), i && (v += parseInt(o / 2))) : (a % s !== 0 && t + s > a && (v = o - a % s), i && (v = parseInt(o / 2))), m = v * c, _ = v * d, h = p ? t * d * -1 + _ : t * c * -1 + m, u === !0) {
523
- var y, b = n && n.node;
524
- if (y = t + A(e), g = b && b.childNodes[y], h = g ? g.offsetLeft * -1 : 0, i === !0) {
525
- y = r ? t + A(e) : t, g = b && b.children[y], h = 0;
526
- for (var x = 0; x < y; x++) h -= b && b.children[x] && b.children[x].offsetWidth;
527
- h -= parseInt(e.centerPadding), h += g && (l - g.offsetWidth) / 2;
528
- }
529
- }
530
- return h;
531
- }, A = e.getPreClones = function(e) {
532
- return e.unslick || !e.infinite ? 0 : e.variableWidth ? e.slideCount : e.slidesToShow + (e.centerMode ? 1 : 0);
533
- }, j = e.getPostClones = function(e) {
534
- return e.unslick || !e.infinite ? 0 : e.variableWidth ? e.slideCount : e.slidesToShow + (e.centerMode ? 1 : 0);
535
- }, M = e.getTotalSlides = function(e) {
536
- return e.slideCount === 1 ? 1 : A(e) + e.slideCount + j(e);
537
- }, N = e.siblingDirection = function(e) {
538
- return e.targetSlide > e.currentSlide ? e.targetSlide > e.currentSlide + P(e) ? "left" : "right" : e.targetSlide < e.currentSlide - F(e) ? "right" : "left";
539
- }, P = e.slidesOnRight = function(e) {
540
- var t = e.slidesToShow, n = e.centerMode, r = e.rtl, i = e.centerPadding;
541
- if (n) {
542
- var a = (t - 1) / 2 + 1;
543
- return parseInt(i) > 0 && (a += 1), r && t % 2 == 0 && (a += 1), a;
544
- }
545
- return r ? 0 : t - 1;
546
- }, F = e.slidesOnLeft = function(e) {
547
- var t = e.slidesToShow, n = e.centerMode, r = e.rtl, i = e.centerPadding;
548
- if (n) {
549
- var a = (t - 1) / 2 + 1;
550
- return parseInt(i) > 0 && (a += 1), !r && t % 2 == 0 && (a += 1), a;
551
- }
552
- return r ? t - 1 : 0;
553
- };
554
- e.canUseDOM = function() {
555
- return !!(typeof window < "u" && window.document && window.document.createElement);
556
- };
557
- var I = e.validSettings = Object.keys(r.default);
558
- function L(e) {
559
- return I.reduce(function(t, n) {
560
- return e.hasOwnProperty(n) && (t[n] = e[n]), t;
561
- }, {});
562
- }
563
- })), b = /* @__PURE__ */ a(((e) => {
564
- Object.defineProperty(e, "__esModule", { value: !0 }), e.Track = void 0;
565
- var n = a(t("react")), r = a(_()), i = y();
566
- function a(e) {
567
- return e && e.__esModule ? e : { default: e };
568
- }
569
- function o(e) {
570
- "@babel/helpers - typeof";
571
- return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
572
- return typeof e;
573
- } : function(e) {
574
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
575
- }, o(e);
576
- }
577
- function s() {
578
- return s = Object.assign ? Object.assign.bind() : function(e) {
579
- for (var t = 1; t < arguments.length; t++) {
580
- var n = arguments[t];
581
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
582
- }
583
- return e;
584
- }, s.apply(null, arguments);
585
- }
586
- function c(e, t) {
587
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
588
- }
589
- function l(e, t) {
590
- for (var n = 0; n < t.length; n++) {
591
- var r = t[n];
592
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, C(r.key), r);
593
- }
594
- }
595
- function u(e, t, n) {
596
- return t && l(e.prototype, t), n && l(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
597
- }
598
- function d(e, t) {
599
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
600
- e.prototype = Object.create(t && t.prototype, { constructor: {
601
- value: e,
602
- writable: !0,
603
- configurable: !0
604
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && f(e, t);
605
- }
606
- function f(e, t) {
607
- return f = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
608
- return e.__proto__ = t, e;
609
- }, f(e, t);
610
- }
611
- function p(e) {
612
- var t = g();
613
- return function() {
614
- var n, r = v(e);
615
- if (t) {
616
- var i = v(this).constructor;
617
- n = Reflect.construct(r, arguments, i);
618
- } else n = r.apply(this, arguments);
619
- return m(this, n);
620
- };
621
- }
622
- function m(e, t) {
623
- if (t && (o(t) == "object" || typeof t == "function")) return t;
624
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
625
- return h(e);
626
- }
627
- function h(e) {
628
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
629
- return e;
630
- }
631
- function g() {
632
- try {
633
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
634
- } catch {}
635
- return (g = function() {
636
- return !!e;
637
- })();
638
- }
639
- function v(e) {
640
- return v = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
641
- return e.__proto__ || Object.getPrototypeOf(e);
642
- }, v(e);
643
- }
644
- function b(e, t) {
645
- var n = Object.keys(e);
646
- if (Object.getOwnPropertySymbols) {
647
- var r = Object.getOwnPropertySymbols(e);
648
- t && (r = r.filter(function(t) {
649
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
650
- })), n.push.apply(n, r);
651
- }
652
- return n;
653
- }
654
- function x(e) {
655
- for (var t = 1; t < arguments.length; t++) {
656
- var n = arguments[t] == null ? {} : arguments[t];
657
- t % 2 ? b(Object(n), !0).forEach(function(t) {
658
- S(e, t, n[t]);
659
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b(Object(n)).forEach(function(t) {
660
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
661
- });
662
- }
663
- return e;
664
- }
665
- function S(e, t, n) {
666
- return (t = C(t)) in e ? Object.defineProperty(e, t, {
667
- value: n,
668
- enumerable: !0,
669
- configurable: !0,
670
- writable: !0
671
- }) : e[t] = n, e;
672
- }
673
- function C(e) {
674
- var t = w(e, "string");
675
- return o(t) == "symbol" ? t : t + "";
676
- }
677
- function w(e, t) {
678
- if (o(e) != "object" || !e) return e;
679
- var n = e[Symbol.toPrimitive];
680
- if (n !== void 0) {
681
- var r = n.call(e, t || "default");
682
- if (o(r) != "object") return r;
683
- throw TypeError("@@toPrimitive must return a primitive value.");
684
- }
685
- return (t === "string" ? String : Number)(e);
686
- }
687
- var T = function(e) {
688
- var t, n, r, i, a = e.rtl ? e.slideCount - 1 - e.index : e.index;
689
- r = a < 0 || a >= e.slideCount, e.centerMode ? (i = Math.floor(e.slidesToShow / 2), n = (a - e.currentSlide) % e.slideCount === 0, a > e.currentSlide - i - 1 && a <= e.currentSlide + i && (t = !0)) : t = e.currentSlide <= a && a < e.currentSlide + e.slidesToShow;
690
- var o = a === (e.targetSlide < 0 ? e.targetSlide + e.slideCount : e.targetSlide >= e.slideCount ? e.targetSlide - e.slideCount : e.targetSlide);
691
- return {
692
- "slick-slide": !0,
693
- "slick-active": t,
694
- "slick-center": n,
695
- "slick-cloned": r,
696
- "slick-current": o
697
- };
698
- }, E = function(e) {
699
- var t = {};
700
- return (e.variableWidth === void 0 || e.variableWidth === !1) && (t.width = e.slideWidth), e.fade && (t.position = "relative", e.vertical ? t.top = -e.index * parseInt(e.slideHeight) : t.left = -e.index * parseInt(e.slideWidth), t.opacity = e.currentSlide === e.index ? 1 : 0, t.zIndex = e.currentSlide === e.index ? 999 : 998, e.useCSS && (t.transition = "opacity " + e.speed + "ms " + e.cssEase + ", visibility " + e.speed + "ms " + e.cssEase)), t;
701
- }, D = function(e, t) {
702
- return e.key || t;
703
- }, O = function(e) {
704
- var t, a = [], o = [], s = [], c = n.default.Children.count(e.children), l = (0, i.lazyStartIndex)(e), u = (0, i.lazyEndIndex)(e);
705
- return n.default.Children.forEach(e.children, function(d, f) {
706
- var p, m = {
707
- message: "children",
708
- index: f,
709
- slidesToScroll: e.slidesToScroll,
710
- currentSlide: e.currentSlide
711
- };
712
- p = !e.lazyLoad || e.lazyLoad && e.lazyLoadedList.indexOf(f) >= 0 ? d : /* @__PURE__ */ n.default.createElement("div", null);
713
- var h = E(x(x({}, e), {}, { index: f })), g = p.props.className || "", _ = T(x(x({}, e), {}, { index: f }));
714
- if (a.push(/* @__PURE__ */ n.default.cloneElement(p, {
715
- key: "original" + D(p, f),
716
- "data-index": f,
717
- className: (0, r.default)(_, g),
718
- tabIndex: "-1",
719
- "aria-hidden": !_["slick-active"],
720
- style: x(x({ outline: "none" }, p.props.style || {}), h),
721
- onClick: function(t) {
722
- p.props && p.props.onClick && p.props.onClick(t), e.focusOnSelect && e.focusOnSelect(m);
723
- }
724
- })), e.infinite && c > 1 && e.fade === !1 && !e.unslick) {
725
- var v = c - f;
726
- v <= (0, i.getPreClones)(e) && (t = -v, t >= l && (p = d), _ = T(x(x({}, e), {}, { index: t })), o.push(/* @__PURE__ */ n.default.cloneElement(p, {
727
- key: "precloned" + D(p, t),
728
- "data-index": t,
729
- tabIndex: "-1",
730
- className: (0, r.default)(_, g),
731
- "aria-hidden": !_["slick-active"],
732
- style: x(x({}, p.props.style || {}), h),
733
- onClick: function(t) {
734
- p.props && p.props.onClick && p.props.onClick(t), e.focusOnSelect && e.focusOnSelect(m);
735
- }
736
- }))), f < (0, i.getPostClones)(e) && (t = c + f, t < u && (p = d), _ = T(x(x({}, e), {}, { index: t })), s.push(/* @__PURE__ */ n.default.cloneElement(p, {
737
- key: "postcloned" + D(p, t),
738
- "data-index": t,
739
- tabIndex: "-1",
740
- className: (0, r.default)(_, g),
741
- "aria-hidden": !_["slick-active"],
742
- style: x(x({}, p.props.style || {}), h),
743
- onClick: function(t) {
744
- p.props && p.props.onClick && p.props.onClick(t), e.focusOnSelect && e.focusOnSelect(m);
745
- }
746
- })));
747
- }
748
- }), e.rtl ? o.concat(a, s).reverse() : o.concat(a, s);
749
- };
750
- e.Track = /* @__PURE__ */ function(e) {
751
- d(r, e);
752
- var t = p(r);
753
- function r() {
754
- var e;
755
- c(this, r);
756
- var n = [...arguments];
757
- return e = t.call.apply(t, [this].concat(n)), S(h(e), "node", null), S(h(e), "handleRef", function(t) {
758
- e.node = t;
759
- }), e;
760
- }
761
- return u(r, [{
762
- key: "render",
763
- value: function() {
764
- var e = O(this.props), t = this.props, r = {
765
- onMouseEnter: t.onMouseEnter,
766
- onMouseOver: t.onMouseOver,
767
- onMouseLeave: t.onMouseLeave
768
- };
769
- return /* @__PURE__ */ n.default.createElement("div", s({
770
- ref: this.handleRef,
771
- className: "slick-track",
772
- style: this.props.trackStyle
773
- }, r), e);
774
- }
775
- }]), r;
776
- }(n.default.PureComponent);
777
- })), x = /* @__PURE__ */ a(((e) => {
778
- function n(e) {
779
- "@babel/helpers - typeof";
780
- return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
781
- return typeof e;
782
- } : function(e) {
783
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
784
- }, n(e);
785
- }
786
- Object.defineProperty(e, "__esModule", { value: !0 }), e.Dots = void 0;
787
- var r = o(t("react")), i = o(_()), a = y();
788
- function o(e) {
789
- return e && e.__esModule ? e : { default: e };
790
- }
791
- function s(e, t) {
792
- var n = Object.keys(e);
793
- if (Object.getOwnPropertySymbols) {
794
- var r = Object.getOwnPropertySymbols(e);
795
- t && (r = r.filter(function(t) {
796
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
797
- })), n.push.apply(n, r);
798
- }
799
- return n;
800
- }
801
- function c(e) {
802
- for (var t = 1; t < arguments.length; t++) {
803
- var n = arguments[t] == null ? {} : arguments[t];
804
- t % 2 ? s(Object(n), !0).forEach(function(t) {
805
- l(e, t, n[t]);
806
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
807
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
808
- });
809
- }
810
- return e;
811
- }
812
- function l(e, t, n) {
813
- return (t = p(t)) in e ? Object.defineProperty(e, t, {
814
- value: n,
815
- enumerable: !0,
816
- configurable: !0,
817
- writable: !0
818
- }) : e[t] = n, e;
819
- }
820
- function u(e, t) {
821
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
822
- }
823
- function d(e, t) {
824
- for (var n = 0; n < t.length; n++) {
825
- var r = t[n];
826
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, p(r.key), r);
827
- }
828
- }
829
- function f(e, t, n) {
830
- return t && d(e.prototype, t), n && d(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
831
- }
832
- function p(e) {
833
- var t = m(e, "string");
834
- return n(t) == "symbol" ? t : t + "";
835
- }
836
- function m(e, t) {
837
- if (n(e) != "object" || !e) return e;
838
- var r = e[Symbol.toPrimitive];
839
- if (r !== void 0) {
840
- var i = r.call(e, t || "default");
841
- if (n(i) != "object") return i;
842
- throw TypeError("@@toPrimitive must return a primitive value.");
843
- }
844
- return (t === "string" ? String : Number)(e);
845
- }
846
- function h(e, t) {
847
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
848
- e.prototype = Object.create(t && t.prototype, { constructor: {
849
- value: e,
850
- writable: !0,
851
- configurable: !0
852
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && g(e, t);
853
- }
854
- function g(e, t) {
855
- return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
856
- return e.__proto__ = t, e;
857
- }, g(e, t);
858
- }
859
- function v(e) {
860
- var t = S();
861
- return function() {
862
- var n, r = C(e);
863
- if (t) {
864
- var i = C(this).constructor;
865
- n = Reflect.construct(r, arguments, i);
866
- } else n = r.apply(this, arguments);
867
- return b(this, n);
868
- };
869
- }
870
- function b(e, t) {
871
- if (t && (n(t) == "object" || typeof t == "function")) return t;
872
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
873
- return x(e);
874
- }
875
- function x(e) {
876
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
877
- return e;
878
- }
879
- function S() {
880
- try {
881
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
882
- } catch {}
883
- return (S = function() {
884
- return !!e;
885
- })();
886
- }
887
- function C(e) {
888
- return C = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
889
- return e.__proto__ || Object.getPrototypeOf(e);
890
- }, C(e);
891
- }
892
- var w = function(e) {
893
- return e.infinite ? Math.ceil(e.slideCount / e.slidesToScroll) : Math.ceil((e.slideCount - e.slidesToShow) / e.slidesToScroll) + 1;
894
- };
895
- e.Dots = /* @__PURE__ */ function(e) {
896
- h(n, e);
897
- var t = v(n);
898
- function n() {
899
- return u(this, n), t.apply(this, arguments);
900
- }
901
- return f(n, [{
902
- key: "clickHandler",
903
- value: function(e, t) {
904
- t.preventDefault(), this.props.clickHandler(e);
905
- }
906
- }, {
907
- key: "render",
908
- value: function() {
909
- for (var e = this.props, t = e.onMouseEnter, n = e.onMouseOver, o = e.onMouseLeave, s = e.infinite, l = e.slidesToScroll, u = e.slidesToShow, d = e.slideCount, f = e.currentSlide, p = w({
910
- slideCount: d,
911
- slidesToScroll: l,
912
- slidesToShow: u,
913
- infinite: s
914
- }), m = {
915
- onMouseEnter: t,
916
- onMouseOver: n,
917
- onMouseLeave: o
918
- }, h = [], g = 0; g < p; g++) {
919
- var _ = (g + 1) * l - 1, v = s ? _ : (0, a.clamp)(_, 0, d - 1), y = v - (l - 1), b = s ? y : (0, a.clamp)(y, 0, d - 1), x = (0, i.default)({ "slick-active": s ? f >= b && f <= v : f === b }), S = {
920
- message: "dots",
921
- index: g,
922
- slidesToScroll: l,
923
- currentSlide: f
924
- }, C = this.clickHandler.bind(this, S);
925
- h = h.concat(/* @__PURE__ */ r.default.createElement("li", {
926
- key: g,
927
- className: x
928
- }, /* @__PURE__ */ r.default.cloneElement(this.props.customPaging(g), { onClick: C })));
929
- }
930
- return /* @__PURE__ */ r.default.cloneElement(this.props.appendDots(h), c({ className: this.props.dotsClass }, m));
931
- }
932
- }]), n;
933
- }(r.default.PureComponent);
934
- })), S = /* @__PURE__ */ a(((e) => {
935
- function n(e) {
936
- "@babel/helpers - typeof";
937
- return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
938
- return typeof e;
939
- } : function(e) {
940
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
941
- }, n(e);
942
- }
943
- Object.defineProperty(e, "__esModule", { value: !0 }), e.PrevArrow = e.NextArrow = void 0;
944
- var r = o(t("react")), i = o(_()), a = y();
945
- function o(e) {
946
- return e && e.__esModule ? e : { default: e };
947
- }
948
- function s() {
949
- return s = Object.assign ? Object.assign.bind() : function(e) {
950
- for (var t = 1; t < arguments.length; t++) {
951
- var n = arguments[t];
952
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
953
- }
954
- return e;
955
- }, s.apply(null, arguments);
956
- }
957
- function c(e, t) {
958
- var n = Object.keys(e);
959
- if (Object.getOwnPropertySymbols) {
960
- var r = Object.getOwnPropertySymbols(e);
961
- t && (r = r.filter(function(t) {
962
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
963
- })), n.push.apply(n, r);
964
- }
965
- return n;
966
- }
967
- function l(e) {
968
- for (var t = 1; t < arguments.length; t++) {
969
- var n = arguments[t] == null ? {} : arguments[t];
970
- t % 2 ? c(Object(n), !0).forEach(function(t) {
971
- u(e, t, n[t]);
972
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c(Object(n)).forEach(function(t) {
973
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
974
- });
975
- }
976
- return e;
977
- }
978
- function u(e, t, n) {
979
- return (t = m(t)) in e ? Object.defineProperty(e, t, {
980
- value: n,
981
- enumerable: !0,
982
- configurable: !0,
983
- writable: !0
984
- }) : e[t] = n, e;
985
- }
986
- function d(e, t) {
987
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
988
- }
989
- function f(e, t) {
990
- for (var n = 0; n < t.length; n++) {
991
- var r = t[n];
992
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, m(r.key), r);
993
- }
994
- }
995
- function p(e, t, n) {
996
- return t && f(e.prototype, t), n && f(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
997
- }
998
- function m(e) {
999
- var t = h(e, "string");
1000
- return n(t) == "symbol" ? t : t + "";
1001
- }
1002
- function h(e, t) {
1003
- if (n(e) != "object" || !e) return e;
1004
- var r = e[Symbol.toPrimitive];
1005
- if (r !== void 0) {
1006
- var i = r.call(e, t || "default");
1007
- if (n(i) != "object") return i;
1008
- throw TypeError("@@toPrimitive must return a primitive value.");
1009
- }
1010
- return (t === "string" ? String : Number)(e);
1011
- }
1012
- function g(e, t) {
1013
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
1014
- e.prototype = Object.create(t && t.prototype, { constructor: {
1015
- value: e,
1016
- writable: !0,
1017
- configurable: !0
1018
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && v(e, t);
1019
- }
1020
- function v(e, t) {
1021
- return v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
1022
- return e.__proto__ = t, e;
1023
- }, v(e, t);
1024
- }
1025
- function b(e) {
1026
- var t = C();
1027
- return function() {
1028
- var n, r = w(e);
1029
- if (t) {
1030
- var i = w(this).constructor;
1031
- n = Reflect.construct(r, arguments, i);
1032
- } else n = r.apply(this, arguments);
1033
- return x(this, n);
1034
- };
1035
- }
1036
- function x(e, t) {
1037
- if (t && (n(t) == "object" || typeof t == "function")) return t;
1038
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
1039
- return S(e);
1040
- }
1041
- function S(e) {
1042
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1043
- return e;
1044
- }
1045
- function C() {
1046
- try {
1047
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1048
- } catch {}
1049
- return (C = function() {
1050
- return !!e;
1051
- })();
1052
- }
1053
- function w(e) {
1054
- return w = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
1055
- return e.__proto__ || Object.getPrototypeOf(e);
1056
- }, w(e);
1057
- }
1058
- e.PrevArrow = /* @__PURE__ */ function(e) {
1059
- g(n, e);
1060
- var t = b(n);
1061
- function n() {
1062
- return d(this, n), t.apply(this, arguments);
1063
- }
1064
- return p(n, [{
1065
- key: "clickHandler",
1066
- value: function(e, t) {
1067
- t && t.preventDefault(), this.props.clickHandler(e, t);
1068
- }
1069
- }, {
1070
- key: "render",
1071
- value: function() {
1072
- var e = {
1073
- "slick-arrow": !0,
1074
- "slick-prev": !0
1075
- }, t = this.clickHandler.bind(this, { message: "previous" });
1076
- !this.props.infinite && (this.props.currentSlide === 0 || this.props.slideCount <= this.props.slidesToShow) && (e["slick-disabled"] = !0, t = null);
1077
- var n = {
1078
- key: "0",
1079
- "data-role": "none",
1080
- className: (0, i.default)(e),
1081
- style: { display: "block" },
1082
- onClick: t
1083
- }, a = {
1084
- currentSlide: this.props.currentSlide,
1085
- slideCount: this.props.slideCount
1086
- };
1087
- return this.props.prevArrow ? /* @__PURE__ */ r.default.cloneElement(this.props.prevArrow, l(l({}, n), a)) : /* @__PURE__ */ r.default.createElement("button", s({
1088
- key: "0",
1089
- type: "button"
1090
- }, n), " ", "Previous");
1091
- }
1092
- }]), n;
1093
- }(r.default.PureComponent), e.NextArrow = /* @__PURE__ */ function(e) {
1094
- g(n, e);
1095
- var t = b(n);
1096
- function n() {
1097
- return d(this, n), t.apply(this, arguments);
1098
- }
1099
- return p(n, [{
1100
- key: "clickHandler",
1101
- value: function(e, t) {
1102
- t && t.preventDefault(), this.props.clickHandler(e, t);
1103
- }
1104
- }, {
1105
- key: "render",
1106
- value: function() {
1107
- var e = {
1108
- "slick-arrow": !0,
1109
- "slick-next": !0
1110
- }, t = this.clickHandler.bind(this, { message: "next" });
1111
- (0, a.canGoNext)(this.props) || (e["slick-disabled"] = !0, t = null);
1112
- var n = {
1113
- key: "1",
1114
- "data-role": "none",
1115
- className: (0, i.default)(e),
1116
- style: { display: "block" },
1117
- onClick: t
1118
- }, o = {
1119
- currentSlide: this.props.currentSlide,
1120
- slideCount: this.props.slideCount
1121
- };
1122
- return this.props.nextArrow ? /* @__PURE__ */ r.default.cloneElement(this.props.nextArrow, l(l({}, n), o)) : /* @__PURE__ */ r.default.createElement("button", s({
1123
- key: "1",
1124
- type: "button"
1125
- }, n), " ", "Next");
1126
- }
1127
- }]), n;
1128
- }(r.default.PureComponent);
1129
- })), C = /* @__PURE__ */ i({ default: () => Q });
1130
- function w(e, t) {
1131
- var n = !1, r = !1, i = 0;
1132
- function a() {
1133
- n && (n = !1, e()), r && s();
1134
- }
1135
- function o() {
1136
- L(a);
1137
- }
1138
- function s() {
1139
- var e = Date.now();
1140
- if (n) {
1141
- if (e - i < R) return;
1142
- r = !0;
1143
- } else n = !0, r = !1, setTimeout(o, t);
1144
- i = e;
1145
- }
1146
- return s;
1147
- }
1148
- function T(e) {
1149
- return parseFloat(e) || 0;
1150
- }
1151
- function E(e) {
1152
- return [...arguments].slice(1).reduce(function(t, n) {
1153
- var r = e["border-" + n + "-width"];
1154
- return t + T(r);
1155
- }, 0);
1156
- }
1157
- function D(e) {
1158
- for (var t = [
1159
- "top",
1160
- "right",
1161
- "bottom",
1162
- "left"
1163
- ], n = {}, r = 0, i = t; r < i.length; r++) {
1164
- var a = i[r], o = e["padding-" + a];
1165
- n[a] = T(o);
1166
- }
1167
- return n;
1168
- }
1169
- function O(e) {
1170
- var t = e.getBBox();
1171
- return N(0, 0, t.width, t.height);
1172
- }
1173
- function k(e) {
1174
- var t = e.clientWidth, n = e.clientHeight;
1175
- if (!t && !n) return G;
1176
- var r = W(e).getComputedStyle(e), i = D(r), a = i.left + i.right, o = i.top + i.bottom, s = T(r.width), c = T(r.height);
1177
- if (r.boxSizing === "border-box" && (Math.round(s + a) !== t && (s -= E(r, "left", "right") + a), Math.round(c + o) !== n && (c -= E(r, "top", "bottom") + o)), !A(e)) {
1178
- var l = Math.round(s + a) - t, u = Math.round(c + o) - n;
1179
- Math.abs(l) !== 1 && (s -= l), Math.abs(u) !== 1 && (c -= u);
1180
- }
1181
- return N(i.left, i.top, s, c);
1182
- }
1183
- function A(e) {
1184
- return e === W(e).document.documentElement;
1185
- }
1186
- function j(e) {
1187
- return F ? K(e) ? O(e) : k(e) : G;
1188
- }
1189
- function M(e) {
1190
- var t = e.x, n = e.y, r = e.width, i = e.height, a = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, o = Object.create(a.prototype);
1191
- return U(o, {
1192
- x: t,
1193
- y: n,
1194
- width: r,
1195
- height: i,
1196
- top: n,
1197
- right: t + r,
1198
- bottom: i + n,
1199
- left: t
1200
- }), o;
1201
- }
1202
- function N(e, t, n, r) {
1203
- return {
1204
- x: e,
1205
- y: t,
1206
- width: n,
1207
- height: r
1208
- };
1209
- }
1210
- var P, F, I, L, R, z, B, V, H, U, W, G, K, q, J, Y, X, Z, Q, ee = n((() => {
1211
- P = (function() {
1212
- if (typeof Map < "u") return Map;
1213
- function e(e, t) {
1214
- var n = -1;
1215
- return e.some(function(e, r) {
1216
- return e[0] === t ? (n = r, !0) : !1;
1217
- }), n;
1218
- }
1219
- return function() {
1220
- function t() {
1221
- this.__entries__ = [];
1222
- }
1223
- return Object.defineProperty(t.prototype, "size", {
1224
- get: function() {
1225
- return this.__entries__.length;
1226
- },
1227
- enumerable: !0,
1228
- configurable: !0
1229
- }), t.prototype.get = function(t) {
1230
- var n = e(this.__entries__, t), r = this.__entries__[n];
1231
- return r && r[1];
1232
- }, t.prototype.set = function(t, n) {
1233
- var r = e(this.__entries__, t);
1234
- ~r ? this.__entries__[r][1] = n : this.__entries__.push([t, n]);
1235
- }, t.prototype.delete = function(t) {
1236
- var n = this.__entries__, r = e(n, t);
1237
- ~r && n.splice(r, 1);
1238
- }, t.prototype.has = function(t) {
1239
- return !!~e(this.__entries__, t);
1240
- }, t.prototype.clear = function() {
1241
- this.__entries__.splice(0);
1242
- }, t.prototype.forEach = function(e, t) {
1243
- t === void 0 && (t = null);
1244
- for (var n = 0, r = this.__entries__; n < r.length; n++) {
1245
- var i = r[n];
1246
- e.call(t, i[1], i[0]);
1247
- }
1248
- }, t;
1249
- }();
1250
- })(), F = typeof window < "u" && typeof document < "u" && window.document === document, I = (function() {
1251
- return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
1252
- })(), L = (function() {
1253
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(I) : function(e) {
1254
- return setTimeout(function() {
1255
- return e(Date.now());
1256
- }, 1e3 / 60);
1257
- };
1258
- })(), R = 2, z = 20, B = [
1259
- "top",
1260
- "right",
1261
- "bottom",
1262
- "left",
1263
- "width",
1264
- "height",
1265
- "size",
1266
- "weight"
1267
- ], V = typeof MutationObserver < "u", H = function() {
1268
- function e() {
1269
- this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = w(this.refresh.bind(this), z);
1270
- }
1271
- return e.prototype.addObserver = function(e) {
1272
- ~this.observers_.indexOf(e) || this.observers_.push(e), this.connected_ || this.connect_();
1273
- }, e.prototype.removeObserver = function(e) {
1274
- var t = this.observers_, n = t.indexOf(e);
1275
- ~n && t.splice(n, 1), !t.length && this.connected_ && this.disconnect_();
1276
- }, e.prototype.refresh = function() {
1277
- this.updateObservers_() && this.refresh();
1278
- }, e.prototype.updateObservers_ = function() {
1279
- var e = this.observers_.filter(function(e) {
1280
- return e.gatherActive(), e.hasActive();
1281
- });
1282
- return e.forEach(function(e) {
1283
- return e.broadcastActive();
1284
- }), e.length > 0;
1285
- }, e.prototype.connect_ = function() {
1286
- !F || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), V ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1287
- attributes: !0,
1288
- childList: !0,
1289
- characterData: !0,
1290
- subtree: !0
1291
- })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
1292
- }, e.prototype.disconnect_ = function() {
1293
- !F || !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);
1294
- }, e.prototype.onTransitionEnd_ = function(e) {
1295
- var t = e.propertyName, n = t === void 0 ? "" : t;
1296
- B.some(function(e) {
1297
- return !!~n.indexOf(e);
1298
- }) && this.refresh();
1299
- }, e.getInstance = function() {
1300
- return this.instance_ ||= new e(), this.instance_;
1301
- }, e.instance_ = null, e;
1302
- }(), U = (function(e, t) {
1303
- for (var n = 0, r = Object.keys(t); n < r.length; n++) {
1304
- var i = r[n];
1305
- Object.defineProperty(e, i, {
1306
- value: t[i],
1307
- enumerable: !1,
1308
- writable: !1,
1309
- configurable: !0
1310
- });
1311
- }
1312
- return e;
1313
- }), W = (function(e) {
1314
- return e && e.ownerDocument && e.ownerDocument.defaultView || I;
1315
- }), G = N(0, 0, 0, 0), K = (function() {
1316
- return typeof SVGGraphicsElement < "u" ? function(e) {
1317
- return e instanceof W(e).SVGGraphicsElement;
1318
- } : function(e) {
1319
- return e instanceof W(e).SVGElement && typeof e.getBBox == "function";
1320
- };
1321
- })(), q = function() {
1322
- function e(e) {
1323
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = N(0, 0, 0, 0), this.target = e;
1324
- }
1325
- return e.prototype.isActive = function() {
1326
- var e = j(this.target);
1327
- return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
1328
- }, e.prototype.broadcastRect = function() {
1329
- var e = this.contentRect_;
1330
- return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
1331
- }, e;
1332
- }(), J = function() {
1333
- function e(e, t) {
1334
- var n = M(t);
1335
- U(this, {
1336
- target: e,
1337
- contentRect: n
1338
- });
1339
- }
1340
- return e;
1341
- }(), Y = function() {
1342
- function e(e, t, n) {
1343
- if (this.activeObservations_ = [], this.observations_ = new P(), typeof e != "function") throw TypeError("The callback provided as parameter 1 is not a function.");
1344
- this.callback_ = e, this.controller_ = t, this.callbackCtx_ = n;
1345
- }
1346
- return e.prototype.observe = function(e) {
1347
- if (!arguments.length) throw TypeError("1 argument required, but only 0 present.");
1348
- if (!(typeof Element > "u" || !(Element instanceof Object))) {
1349
- if (!(e instanceof W(e).Element)) throw TypeError("parameter 1 is not of type \"Element\".");
1350
- var t = this.observations_;
1351
- t.has(e) || (t.set(e, new q(e)), this.controller_.addObserver(this), this.controller_.refresh());
1352
- }
1353
- }, e.prototype.unobserve = function(e) {
1354
- if (!arguments.length) throw TypeError("1 argument required, but only 0 present.");
1355
- if (!(typeof Element > "u" || !(Element instanceof Object))) {
1356
- if (!(e instanceof W(e).Element)) throw TypeError("parameter 1 is not of type \"Element\".");
1357
- var t = this.observations_;
1358
- t.has(e) && (t.delete(e), t.size || this.controller_.removeObserver(this));
1359
- }
1360
- }, e.prototype.disconnect = function() {
1361
- this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
1362
- }, e.prototype.gatherActive = function() {
1363
- var e = this;
1364
- this.clearActive(), this.observations_.forEach(function(t) {
1365
- t.isActive() && e.activeObservations_.push(t);
1366
- });
1367
- }, e.prototype.broadcastActive = function() {
1368
- if (this.hasActive()) {
1369
- var e = this.callbackCtx_, t = this.activeObservations_.map(function(e) {
1370
- return new J(e.target, e.broadcastRect());
1371
- });
1372
- this.callback_.call(e, t, e), this.clearActive();
1373
- }
1374
- }, e.prototype.clearActive = function() {
1375
- this.activeObservations_.splice(0);
1376
- }, e.prototype.hasActive = function() {
1377
- return this.activeObservations_.length > 0;
1378
- }, e;
1379
- }(), X = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new P(), Z = function() {
1380
- function e(t) {
1381
- if (!(this instanceof e)) throw TypeError("Cannot call a class as a function.");
1382
- if (!arguments.length) throw TypeError("1 argument required, but only 0 present.");
1383
- var n = new Y(t, H.getInstance(), this);
1384
- X.set(this, n);
1385
- }
1386
- return e;
1387
- }(), [
1388
- "observe",
1389
- "unobserve",
1390
- "disconnect"
1391
- ].forEach(function(e) {
1392
- Z.prototype[e] = function() {
1393
- var t;
1394
- return (t = X.get(this))[e].apply(t, arguments);
1395
- };
1396
- }), Q = (function() {
1397
- return I.ResizeObserver === void 0 ? Z : I.ResizeObserver;
1398
- })();
1399
- })), te = /* @__PURE__ */ a(((n) => {
1400
- Object.defineProperty(n, "__esModule", { value: !0 }), n.InnerSlider = void 0;
1401
- var r = f(t("react")), i = f(h()), a = f(g()), o = f(_()), s = y(), c = b(), l = x(), u = S(), d = f((ee(), e(C)));
1402
- function f(e) {
1403
- return e && e.__esModule ? e : { default: e };
1404
- }
1405
- function p(e) {
1406
- "@babel/helpers - typeof";
1407
- return p = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1408
- return typeof e;
1409
- } : function(e) {
1410
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1411
- }, p(e);
1412
- }
1413
- function m() {
1414
- return m = Object.assign ? Object.assign.bind() : function(e) {
1415
- for (var t = 1; t < arguments.length; t++) {
1416
- var n = arguments[t];
1417
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
1418
- }
1419
- return e;
1420
- }, m.apply(null, arguments);
1421
- }
1422
- function v(e, t) {
1423
- if (e == null) return {};
1424
- var n, r, i = w(e, t);
1425
- if (Object.getOwnPropertySymbols) {
1426
- var a = Object.getOwnPropertySymbols(e);
1427
- for (r = 0; r < a.length; r++) n = a[r], t.includes(n) || {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
1428
- }
1429
- return i;
1430
- }
1431
- function w(e, t) {
1432
- if (e == null) return {};
1433
- var n = {};
1434
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
1435
- if (t.includes(r)) continue;
1436
- n[r] = e[r];
1437
- }
1438
- return n;
1439
- }
1440
- function T(e, t) {
1441
- var n = Object.keys(e);
1442
- if (Object.getOwnPropertySymbols) {
1443
- var r = Object.getOwnPropertySymbols(e);
1444
- t && (r = r.filter(function(t) {
1445
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
1446
- })), n.push.apply(n, r);
1447
- }
1448
- return n;
1449
- }
1450
- function E(e) {
1451
- for (var t = 1; t < arguments.length; t++) {
1452
- var n = arguments[t] == null ? {} : arguments[t];
1453
- t % 2 ? T(Object(n), !0).forEach(function(t) {
1454
- L(e, t, n[t]);
1455
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T(Object(n)).forEach(function(t) {
1456
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1457
- });
1458
- }
1459
- return e;
1460
- }
1461
- function D(e, t) {
1462
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1463
- }
1464
- function O(e, t) {
1465
- for (var n = 0; n < t.length; n++) {
1466
- var r = t[n];
1467
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, R(r.key), r);
1468
- }
1469
- }
1470
- function k(e, t, n) {
1471
- return t && O(e.prototype, t), n && O(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1472
- }
1473
- function A(e, t) {
1474
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
1475
- e.prototype = Object.create(t && t.prototype, { constructor: {
1476
- value: e,
1477
- writable: !0,
1478
- configurable: !0
1479
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && j(e, t);
1480
- }
1481
- function j(e, t) {
1482
- return j = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
1483
- return e.__proto__ = t, e;
1484
- }, j(e, t);
1485
- }
1486
- function M(e) {
1487
- var t = F();
1488
- return function() {
1489
- var n, r = I(e);
1490
- if (t) {
1491
- var i = I(this).constructor;
1492
- n = Reflect.construct(r, arguments, i);
1493
- } else n = r.apply(this, arguments);
1494
- return N(this, n);
1495
- };
1496
- }
1497
- function N(e, t) {
1498
- if (t && (p(t) == "object" || typeof t == "function")) return t;
1499
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
1500
- return P(e);
1501
- }
1502
- function P(e) {
1503
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
1504
- return e;
1505
- }
1506
- function F() {
1507
- try {
1508
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
1509
- } catch {}
1510
- return (F = function() {
1511
- return !!e;
1512
- })();
1513
- }
1514
- function I(e) {
1515
- return I = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
1516
- return e.__proto__ || Object.getPrototypeOf(e);
1517
- }, I(e);
1518
- }
1519
- function L(e, t, n) {
1520
- return (t = R(t)) in e ? Object.defineProperty(e, t, {
1521
- value: n,
1522
- enumerable: !0,
1523
- configurable: !0,
1524
- writable: !0
1525
- }) : e[t] = n, e;
1526
- }
1527
- function R(e) {
1528
- var t = z(e, "string");
1529
- return p(t) == "symbol" ? t : t + "";
1530
- }
1531
- function z(e, t) {
1532
- if (p(e) != "object" || !e) return e;
1533
- var n = e[Symbol.toPrimitive];
1534
- if (n !== void 0) {
1535
- var r = n.call(e, t || "default");
1536
- if (p(r) != "object") return r;
1537
- throw TypeError("@@toPrimitive must return a primitive value.");
1538
- }
1539
- return (t === "string" ? String : Number)(e);
1540
- }
1541
- n.InnerSlider = /* @__PURE__ */ function(e) {
1542
- A(n, e);
1543
- var t = M(n);
1544
- function n(e) {
1545
- var f;
1546
- D(this, n), f = t.call(this, e), L(P(f), "listRefHandler", function(e) {
1547
- return f.list = e;
1548
- }), L(P(f), "trackRefHandler", function(e) {
1549
- return f.track = e;
1550
- }), L(P(f), "adaptHeight", function() {
1551
- if (f.props.adaptiveHeight && f.list) {
1552
- var e = f.list.querySelector(`[data-index="${f.state.currentSlide}"]`);
1553
- f.list.style.height = (0, s.getHeight)(e) + "px";
1554
- }
1555
- }), L(P(f), "componentDidMount", function() {
1556
- if (f.props.onInit && f.props.onInit(), f.props.lazyLoad) {
1557
- var e = (0, s.getOnDemandLazySlides)(E(E({}, f.props), f.state));
1558
- e.length > 0 && (f.setState(function(t) {
1559
- return { lazyLoadedList: t.lazyLoadedList.concat(e) };
1560
- }), f.props.onLazyLoad && f.props.onLazyLoad(e));
1561
- }
1562
- var t = E({
1563
- listRef: f.list,
1564
- trackRef: f.track
1565
- }, f.props);
1566
- f.updateState(t, !0, function() {
1567
- f.adaptHeight(), f.props.autoplay && f.autoPlay("update");
1568
- }), f.props.lazyLoad === "progressive" && (f.lazyLoadTimer = setInterval(f.progressiveLazyLoad, 1e3)), f.ro = new d.default(function() {
1569
- f.state.animating ? (f.onWindowResized(!1), f.callbackTimers.push(setTimeout(function() {
1570
- return f.onWindowResized();
1571
- }, f.props.speed))) : f.onWindowResized();
1572
- }), f.ro.observe(f.list), document.querySelectorAll && Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"), function(e) {
1573
- e.onfocus = f.props.pauseOnFocus ? f.onSlideFocus : null, e.onblur = f.props.pauseOnFocus ? f.onSlideBlur : null;
1574
- }), window.addEventListener ? window.addEventListener("resize", f.onWindowResized) : window.attachEvent("onresize", f.onWindowResized);
1575
- }), L(P(f), "componentWillUnmount", function() {
1576
- f.animationEndCallback && clearTimeout(f.animationEndCallback), f.lazyLoadTimer && clearInterval(f.lazyLoadTimer), f.callbackTimers.length && (f.callbackTimers.forEach(function(e) {
1577
- return clearTimeout(e);
1578
- }), f.callbackTimers = []), window.addEventListener ? window.removeEventListener("resize", f.onWindowResized) : window.detachEvent("onresize", f.onWindowResized), f.autoplayTimer && clearInterval(f.autoplayTimer), f.ro.disconnect();
1579
- }), L(P(f), "componentDidUpdate", function(e) {
1580
- if (f.checkImagesLoad(), f.props.onReInit && f.props.onReInit(), f.props.lazyLoad) {
1581
- var t = (0, s.getOnDemandLazySlides)(E(E({}, f.props), f.state));
1582
- t.length > 0 && (f.setState(function(e) {
1583
- return { lazyLoadedList: e.lazyLoadedList.concat(t) };
1584
- }), f.props.onLazyLoad && f.props.onLazyLoad(t));
1585
- }
1586
- f.adaptHeight();
1587
- var n = E(E({
1588
- listRef: f.list,
1589
- trackRef: f.track
1590
- }, f.props), f.state), i = f.didPropsChange(e);
1591
- i && f.updateState(n, i, function() {
1592
- f.state.currentSlide >= r.default.Children.count(f.props.children) && f.changeSlide({
1593
- message: "index",
1594
- index: r.default.Children.count(f.props.children) - f.props.slidesToShow,
1595
- currentSlide: f.state.currentSlide
1596
- }), f.props.autoplay ? f.autoPlay("update") : f.pause("paused");
1597
- });
1598
- }), L(P(f), "onWindowResized", function(e) {
1599
- f.debouncedResize && f.debouncedResize.cancel(), f.debouncedResize = (0, a.default)(function() {
1600
- return f.resizeWindow(e);
1601
- }, 50), f.debouncedResize();
1602
- }), L(P(f), "resizeWindow", function() {
1603
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
1604
- if (f.track && f.track.node) {
1605
- var t = E(E({
1606
- listRef: f.list,
1607
- trackRef: f.track
1608
- }, f.props), f.state);
1609
- f.updateState(t, e, function() {
1610
- f.props.autoplay ? f.autoPlay("update") : f.pause("paused");
1611
- }), f.setState({ animating: !1 }), clearTimeout(f.animationEndCallback), delete f.animationEndCallback;
1612
- }
1613
- }), L(P(f), "updateState", function(e, t, n) {
1614
- var i = (0, s.initializedState)(e);
1615
- e = E(E(E({}, e), i), {}, { slideIndex: i.currentSlide });
1616
- var a = (0, s.getTrackLeft)(e);
1617
- e = E(E({}, e), {}, { left: a });
1618
- var o = (0, s.getTrackCSS)(e);
1619
- (t || r.default.Children.count(f.props.children) !== r.default.Children.count(e.children)) && (i.trackStyle = o), f.setState(i, n);
1620
- }), L(P(f), "ssrInit", function() {
1621
- if (f.props.variableWidth) {
1622
- var e = 0, t = 0, n = [], i = (0, s.getPreClones)(E(E(E({}, f.props), f.state), {}, { slideCount: f.props.children.length })), a = (0, s.getPostClones)(E(E(E({}, f.props), f.state), {}, { slideCount: f.props.children.length }));
1623
- f.props.children.forEach(function(t) {
1624
- n.push(t.props.style.width), e += t.props.style.width;
1625
- });
1626
- for (var o = 0; o < i; o++) t += n[n.length - 1 - o], e += n[n.length - 1 - o];
1627
- for (var c = 0; c < a; c++) e += n[c];
1628
- for (var l = 0; l < f.state.currentSlide; l++) t += n[l];
1629
- var u = {
1630
- width: e + "px",
1631
- left: -t + "px"
1632
- };
1633
- if (f.props.centerMode) {
1634
- var d = `${n[f.state.currentSlide]}px`;
1635
- u.left = `calc(${u.left} + (100% - ${d}) / 2 ) `;
1636
- }
1637
- return { trackStyle: u };
1638
- }
1639
- var p = r.default.Children.count(f.props.children), m = E(E(E({}, f.props), f.state), {}, { slideCount: p }), h = (0, s.getPreClones)(m) + (0, s.getPostClones)(m) + p, g = 100 / f.props.slidesToShow * h, _ = 100 / h, v = -_ * ((0, s.getPreClones)(m) + f.state.currentSlide) * g / 100;
1640
- f.props.centerMode && (v += (100 - _ * g / 100) / 2);
1641
- var y = {
1642
- width: g + "%",
1643
- left: v + "%"
1644
- };
1645
- return {
1646
- slideWidth: _ + "%",
1647
- trackStyle: y
1648
- };
1649
- }), L(P(f), "checkImagesLoad", function() {
1650
- var e = f.list && f.list.querySelectorAll && f.list.querySelectorAll(".slick-slide img") || [], t = e.length, n = 0;
1651
- Array.prototype.forEach.call(e, function(e) {
1652
- var r = function() {
1653
- return ++n && n >= t && f.onWindowResized();
1654
- };
1655
- if (!e.onclick) e.onclick = function() {
1656
- return e.parentNode.focus();
1657
- };
1658
- else {
1659
- var i = e.onclick;
1660
- e.onclick = function(t) {
1661
- i(t), e.parentNode.focus();
1662
- };
1663
- }
1664
- e.onload || (f.props.lazyLoad ? e.onload = function() {
1665
- f.adaptHeight(), f.callbackTimers.push(setTimeout(f.onWindowResized, f.props.speed));
1666
- } : (e.onload = r, e.onerror = function() {
1667
- r(), f.props.onLazyLoadError && f.props.onLazyLoadError();
1668
- }));
1669
- });
1670
- }), L(P(f), "progressiveLazyLoad", function() {
1671
- for (var e = [], t = E(E({}, f.props), f.state), n = f.state.currentSlide; n < f.state.slideCount + (0, s.getPostClones)(t); n++) if (f.state.lazyLoadedList.indexOf(n) < 0) {
1672
- e.push(n);
1673
- break;
1674
- }
1675
- for (var r = f.state.currentSlide - 1; r >= -(0, s.getPreClones)(t); r--) if (f.state.lazyLoadedList.indexOf(r) < 0) {
1676
- e.push(r);
1677
- break;
1678
- }
1679
- e.length > 0 ? (f.setState(function(t) {
1680
- return { lazyLoadedList: t.lazyLoadedList.concat(e) };
1681
- }), f.props.onLazyLoad && f.props.onLazyLoad(e)) : f.lazyLoadTimer && (clearInterval(f.lazyLoadTimer), delete f.lazyLoadTimer);
1682
- }), L(P(f), "slideHandler", function(e) {
1683
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = f.props, r = n.asNavFor, i = n.beforeChange, a = n.onLazyLoad, o = n.speed, c = n.afterChange, l = f.state.currentSlide, u = (0, s.slideHandler)(E(E(E({ index: e }, f.props), f.state), {}, {
1684
- trackRef: f.track,
1685
- useCSS: f.props.useCSS && !t
1686
- })), d = u.state, p = u.nextState;
1687
- if (d) {
1688
- i && i(l, d.currentSlide);
1689
- var m = d.lazyLoadedList.filter(function(e) {
1690
- return f.state.lazyLoadedList.indexOf(e) < 0;
1691
- });
1692
- a && m.length > 0 && a(m), !f.props.waitForAnimate && f.animationEndCallback && (clearTimeout(f.animationEndCallback), c && c(l), delete f.animationEndCallback), f.setState(d, function() {
1693
- r && f.asNavForIndex !== e && (f.asNavForIndex = e, r.innerSlider.slideHandler(e)), p && (f.animationEndCallback = setTimeout(function() {
1694
- var e = p.animating, t = v(p, ["animating"]);
1695
- f.setState(t, function() {
1696
- f.callbackTimers.push(setTimeout(function() {
1697
- return f.setState({ animating: e });
1698
- }, 10)), c && c(d.currentSlide), delete f.animationEndCallback;
1699
- });
1700
- }, o));
1701
- });
1702
- }
1703
- }), L(P(f), "changeSlide", function(e) {
1704
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = E(E({}, f.props), f.state), r = (0, s.changeSlide)(n, e);
1705
- if (!(r !== 0 && !r) && (t === !0 ? f.slideHandler(r, t) : f.slideHandler(r), f.props.autoplay && f.autoPlay("update"), f.props.focusOnSelect)) {
1706
- var i = f.list.querySelectorAll(".slick-current");
1707
- i[0] && i[0].focus();
1708
- }
1709
- }), L(P(f), "clickHandler", function(e) {
1710
- f.clickable === !1 && (e.stopPropagation(), e.preventDefault()), f.clickable = !0;
1711
- }), L(P(f), "keyHandler", function(e) {
1712
- var t = (0, s.keyHandler)(e, f.props.accessibility, f.props.rtl);
1713
- t !== "" && f.changeSlide({ message: t });
1714
- }), L(P(f), "selectHandler", function(e) {
1715
- f.changeSlide(e);
1716
- }), L(P(f), "disableBodyScroll", function() {
1717
- var e = function(e) {
1718
- e ||= window.event, e.preventDefault && e.preventDefault(), e.returnValue = !1;
1719
- };
1720
- window.ontouchmove = e;
1721
- }), L(P(f), "enableBodyScroll", function() {
1722
- window.ontouchmove = null;
1723
- }), L(P(f), "swipeStart", function(e) {
1724
- f.props.verticalSwiping && f.disableBodyScroll();
1725
- var t = (0, s.swipeStart)(e, f.props.swipe, f.props.draggable);
1726
- t !== "" && f.setState(t);
1727
- }), L(P(f), "swipeMove", function(e) {
1728
- var t = (0, s.swipeMove)(e, E(E(E({}, f.props), f.state), {}, {
1729
- trackRef: f.track,
1730
- listRef: f.list,
1731
- slideIndex: f.state.currentSlide
1732
- }));
1733
- t && (t.swiping && (f.clickable = !1), f.setState(t));
1734
- }), L(P(f), "swipeEnd", function(e) {
1735
- var t = (0, s.swipeEnd)(e, E(E(E({}, f.props), f.state), {}, {
1736
- trackRef: f.track,
1737
- listRef: f.list,
1738
- slideIndex: f.state.currentSlide
1739
- }));
1740
- if (t) {
1741
- var n = t.triggerSlideHandler;
1742
- delete t.triggerSlideHandler, f.setState(t), n !== void 0 && (f.slideHandler(n), f.props.verticalSwiping && f.enableBodyScroll());
1743
- }
1744
- }), L(P(f), "touchEnd", function(e) {
1745
- f.swipeEnd(e), f.clickable = !0;
1746
- }), L(P(f), "slickPrev", function() {
1747
- f.callbackTimers.push(setTimeout(function() {
1748
- return f.changeSlide({ message: "previous" });
1749
- }, 0));
1750
- }), L(P(f), "slickNext", function() {
1751
- f.callbackTimers.push(setTimeout(function() {
1752
- return f.changeSlide({ message: "next" });
1753
- }, 0));
1754
- }), L(P(f), "slickGoTo", function(e) {
1755
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1756
- if (e = Number(e), isNaN(e)) return "";
1757
- f.callbackTimers.push(setTimeout(function() {
1758
- return f.changeSlide({
1759
- message: "index",
1760
- index: e,
1761
- currentSlide: f.state.currentSlide
1762
- }, t);
1763
- }, 0));
1764
- }), L(P(f), "play", function() {
1765
- var e;
1766
- if (f.props.rtl) e = f.state.currentSlide - f.props.slidesToScroll;
1767
- else if ((0, s.canGoNext)(E(E({}, f.props), f.state))) e = f.state.currentSlide + f.props.slidesToScroll;
1768
- else return !1;
1769
- f.slideHandler(e);
1770
- }), L(P(f), "autoPlay", function(e) {
1771
- f.autoplayTimer && clearInterval(f.autoplayTimer);
1772
- var t = f.state.autoplaying;
1773
- if (e === "update") {
1774
- if (t === "hovered" || t === "focused" || t === "paused") return;
1775
- } else if (e === "leave") {
1776
- if (t === "paused" || t === "focused") return;
1777
- } else if (e === "blur" && (t === "paused" || t === "hovered")) return;
1778
- f.autoplayTimer = setInterval(f.play, f.props.autoplaySpeed + 50), f.setState({ autoplaying: "playing" });
1779
- }), L(P(f), "pause", function(e) {
1780
- f.autoplayTimer && (clearInterval(f.autoplayTimer), f.autoplayTimer = null);
1781
- var t = f.state.autoplaying;
1782
- e === "paused" ? f.setState({ autoplaying: "paused" }) : e === "focused" ? (t === "hovered" || t === "playing") && f.setState({ autoplaying: "focused" }) : t === "playing" && f.setState({ autoplaying: "hovered" });
1783
- }), L(P(f), "onDotsOver", function() {
1784
- return f.props.autoplay && f.pause("hovered");
1785
- }), L(P(f), "onDotsLeave", function() {
1786
- return f.props.autoplay && f.state.autoplaying === "hovered" && f.autoPlay("leave");
1787
- }), L(P(f), "onTrackOver", function() {
1788
- return f.props.autoplay && f.pause("hovered");
1789
- }), L(P(f), "onTrackLeave", function() {
1790
- return f.props.autoplay && f.state.autoplaying === "hovered" && f.autoPlay("leave");
1791
- }), L(P(f), "onSlideFocus", function() {
1792
- return f.props.autoplay && f.pause("focused");
1793
- }), L(P(f), "onSlideBlur", function() {
1794
- return f.props.autoplay && f.state.autoplaying === "focused" && f.autoPlay("blur");
1795
- }), L(P(f), "render", function() {
1796
- var e = (0, o.default)("slick-slider", f.props.className, {
1797
- "slick-vertical": f.props.vertical,
1798
- "slick-initialized": !0
1799
- }), t = E(E({}, f.props), f.state), n = (0, s.extractObject)(t, [
1800
- "fade",
1801
- "cssEase",
1802
- "speed",
1803
- "infinite",
1804
- "centerMode",
1805
- "focusOnSelect",
1806
- "currentSlide",
1807
- "lazyLoad",
1808
- "lazyLoadedList",
1809
- "rtl",
1810
- "slideWidth",
1811
- "slideHeight",
1812
- "listHeight",
1813
- "vertical",
1814
- "slidesToShow",
1815
- "slidesToScroll",
1816
- "slideCount",
1817
- "trackStyle",
1818
- "variableWidth",
1819
- "unslick",
1820
- "centerPadding",
1821
- "targetSlide",
1822
- "useCSS"
1823
- ]), i = f.props.pauseOnHover;
1824
- n = E(E({}, n), {}, {
1825
- onMouseEnter: i ? f.onTrackOver : null,
1826
- onMouseLeave: i ? f.onTrackLeave : null,
1827
- onMouseOver: i ? f.onTrackOver : null,
1828
- focusOnSelect: f.props.focusOnSelect && f.clickable ? f.selectHandler : null
1829
- });
1830
- var a;
1831
- if (f.props.dots === !0 && f.state.slideCount >= f.props.slidesToShow) {
1832
- var d = (0, s.extractObject)(t, [
1833
- "dotsClass",
1834
- "slideCount",
1835
- "slidesToShow",
1836
- "currentSlide",
1837
- "slidesToScroll",
1838
- "clickHandler",
1839
- "children",
1840
- "customPaging",
1841
- "infinite",
1842
- "appendDots"
1843
- ]), p = f.props.pauseOnDotsHover;
1844
- d = E(E({}, d), {}, {
1845
- clickHandler: f.changeSlide,
1846
- onMouseEnter: p ? f.onDotsLeave : null,
1847
- onMouseOver: p ? f.onDotsOver : null,
1848
- onMouseLeave: p ? f.onDotsLeave : null
1849
- }), a = /* @__PURE__ */ r.default.createElement(l.Dots, d);
1850
- }
1851
- var h, g, _ = (0, s.extractObject)(t, [
1852
- "infinite",
1853
- "centerMode",
1854
- "currentSlide",
1855
- "slideCount",
1856
- "slidesToShow",
1857
- "prevArrow",
1858
- "nextArrow"
1859
- ]);
1860
- _.clickHandler = f.changeSlide, f.props.arrows && (h = /* @__PURE__ */ r.default.createElement(u.PrevArrow, _), g = /* @__PURE__ */ r.default.createElement(u.NextArrow, _));
1861
- var v = null;
1862
- f.props.vertical && (v = { height: f.state.listHeight });
1863
- var y = null;
1864
- f.props.vertical === !1 ? f.props.centerMode === !0 && (y = { padding: "0px " + f.props.centerPadding }) : f.props.centerMode === !0 && (y = { padding: f.props.centerPadding + " 0px" });
1865
- var b = E(E({}, v), y), x = f.props.touchMove, S = {
1866
- className: "slick-list",
1867
- style: b,
1868
- onClick: f.clickHandler,
1869
- onMouseDown: x ? f.swipeStart : null,
1870
- onMouseMove: f.state.dragging && x ? f.swipeMove : null,
1871
- onMouseUp: x ? f.swipeEnd : null,
1872
- onMouseLeave: f.state.dragging && x ? f.swipeEnd : null,
1873
- onTouchStart: x ? f.swipeStart : null,
1874
- onTouchMove: f.state.dragging && x ? f.swipeMove : null,
1875
- onTouchEnd: x ? f.touchEnd : null,
1876
- onTouchCancel: f.state.dragging && x ? f.swipeEnd : null,
1877
- onKeyDown: f.props.accessibility ? f.keyHandler : null
1878
- }, C = {
1879
- className: e,
1880
- dir: "ltr",
1881
- style: f.props.style
1882
- };
1883
- return f.props.unslick && (S = { className: "slick-list" }, C = {
1884
- className: e,
1885
- style: f.props.style
1886
- }), /* @__PURE__ */ r.default.createElement("div", C, f.props.unslick ? "" : h, /* @__PURE__ */ r.default.createElement("div", m({ ref: f.listRefHandler }, S), /* @__PURE__ */ r.default.createElement(c.Track, m({ ref: f.trackRefHandler }, n), f.props.children)), f.props.unslick ? "" : g, f.props.unslick ? "" : a);
1887
- }), f.list = null, f.track = null, f.state = E(E({}, i.default), {}, {
1888
- currentSlide: f.props.initialSlide,
1889
- targetSlide: f.props.initialSlide ? f.props.initialSlide : 0,
1890
- slideCount: r.default.Children.count(f.props.children)
1891
- }), f.callbackTimers = [], f.clickable = !0, f.debouncedResize = null;
1892
- var p = f.ssrInit();
1893
- return f.state = E(E({}, f.state), p), f;
1894
- }
1895
- return k(n, [{
1896
- key: "didPropsChange",
1897
- value: function(e) {
1898
- for (var t = !1, n = 0, i = Object.keys(this.props); n < i.length; n++) {
1899
- var a = i[n];
1900
- if (!e.hasOwnProperty(a)) {
1901
- t = !0;
1902
- break;
1903
- }
1904
- if (!(p(e[a]) === "object" || typeof e[a] == "function" || isNaN(e[a])) && e[a] !== this.props[a]) {
1905
- t = !0;
1906
- break;
1907
- }
1908
- }
1909
- return t || r.default.Children.count(this.props.children) !== r.default.Children.count(e.children);
1910
- }
1911
- }]), n;
1912
- }(r.default.Component);
1913
- })), ne = /* @__PURE__ */ a(((e, t) => {
1914
- t.exports = function(e) {
1915
- return e.replace(/[A-Z]/g, function(e) {
1916
- return "-" + e.toLowerCase();
1917
- }).toLowerCase();
1918
- };
1919
- })), re = /* @__PURE__ */ a(((e, t) => {
1920
- var n = ne(), r = function(e) {
1921
- return /[height|width]$/.test(e);
1922
- }, i = function(e) {
1923
- var t = "", i = Object.keys(e);
1924
- return i.forEach(function(a, o) {
1925
- var s = e[a];
1926
- a = n(a), r(a) && typeof s == "number" && (s += "px"), s === !0 ? t += a : s === !1 ? t += "not " + a : t += "(" + a + ": " + s + ")", o < i.length - 1 && (t += " and ");
1927
- }), t;
1928
- };
1929
- t.exports = function(e) {
1930
- var t = "";
1931
- return typeof e == "string" ? e : e instanceof Array ? (e.forEach(function(n, r) {
1932
- t += i(n), r < e.length - 1 && (t += ", ");
1933
- }), t) : i(e);
1934
- };
1935
- })), ie = /* @__PURE__ */ a(((e) => {
1936
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0;
1937
- var n = s(t("react")), r = te(), i = s(re()), a = s(v()), o = y();
1938
- function s(e) {
1939
- return e && e.__esModule ? e : { default: e };
1940
- }
1941
- function c(e) {
1942
- "@babel/helpers - typeof";
1943
- return c = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1944
- return typeof e;
1945
- } : function(e) {
1946
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1947
- }, c(e);
1948
- }
1949
- function l() {
1950
- return l = Object.assign ? Object.assign.bind() : function(e) {
1951
- for (var t = 1; t < arguments.length; t++) {
1952
- var n = arguments[t];
1953
- for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
1954
- }
1955
- return e;
1956
- }, l.apply(null, arguments);
1957
- }
1958
- function u(e, t) {
1959
- var n = Object.keys(e);
1960
- if (Object.getOwnPropertySymbols) {
1961
- var r = Object.getOwnPropertySymbols(e);
1962
- t && (r = r.filter(function(t) {
1963
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
1964
- })), n.push.apply(n, r);
1965
- }
1966
- return n;
1967
- }
1968
- function d(e) {
1969
- for (var t = 1; t < arguments.length; t++) {
1970
- var n = arguments[t] == null ? {} : arguments[t];
1971
- t % 2 ? u(Object(n), !0).forEach(function(t) {
1972
- w(e, t, n[t]);
1973
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u(Object(n)).forEach(function(t) {
1974
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1975
- });
1976
- }
1977
- return e;
1978
- }
1979
- function f(e, t) {
1980
- if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
1981
- }
1982
- function p(e, t) {
1983
- for (var n = 0; n < t.length; n++) {
1984
- var r = t[n];
1985
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, T(r.key), r);
1986
- }
1987
- }
1988
- function m(e, t, n) {
1989
- return t && p(e.prototype, t), n && p(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1990
- }
1991
- function h(e, t) {
1992
- if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function");
1993
- e.prototype = Object.create(t && t.prototype, { constructor: {
1994
- value: e,
1995
- writable: !0,
1996
- configurable: !0
1997
- } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && g(e, t);
1998
- }
1999
- function g(e, t) {
2000
- return g = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
2001
- return e.__proto__ = t, e;
2002
- }, g(e, t);
2003
- }
2004
- function _(e) {
2005
- var t = S();
2006
- return function() {
2007
- var n, r = C(e);
2008
- if (t) {
2009
- var i = C(this).constructor;
2010
- n = Reflect.construct(r, arguments, i);
2011
- } else n = r.apply(this, arguments);
2012
- return b(this, n);
2013
- };
2014
- }
2015
- function b(e, t) {
2016
- if (t && (c(t) == "object" || typeof t == "function")) return t;
2017
- if (t !== void 0) throw TypeError("Derived constructors may only return object or undefined");
2018
- return x(e);
2019
- }
2020
- function x(e) {
2021
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
2022
- return e;
2023
- }
2024
- function S() {
2025
- try {
2026
- var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
2027
- } catch {}
2028
- return (S = function() {
2029
- return !!e;
2030
- })();
2031
- }
2032
- function C(e) {
2033
- return C = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(e) {
2034
- return e.__proto__ || Object.getPrototypeOf(e);
2035
- }, C(e);
2036
- }
2037
- function w(e, t, n) {
2038
- return (t = T(t)) in e ? Object.defineProperty(e, t, {
2039
- value: n,
2040
- enumerable: !0,
2041
- configurable: !0,
2042
- writable: !0
2043
- }) : e[t] = n, e;
2044
- }
2045
- function T(e) {
2046
- var t = E(e, "string");
2047
- return c(t) == "symbol" ? t : t + "";
2048
- }
2049
- function E(e, t) {
2050
- if (c(e) != "object" || !e) return e;
2051
- var n = e[Symbol.toPrimitive];
2052
- if (n !== void 0) {
2053
- var r = n.call(e, t || "default");
2054
- if (c(r) != "object") return r;
2055
- throw TypeError("@@toPrimitive must return a primitive value.");
2056
- }
2057
- return (t === "string" ? String : Number)(e);
2058
- }
2059
- e.default = /* @__PURE__ */ function(e) {
2060
- h(s, e);
2061
- var t = _(s);
2062
- function s(e) {
2063
- var n;
2064
- return f(this, s), n = t.call(this, e), w(x(n), "innerSliderRefHandler", function(e) {
2065
- return n.innerSlider = e;
2066
- }), w(x(n), "slickPrev", function() {
2067
- return n.innerSlider.slickPrev();
2068
- }), w(x(n), "slickNext", function() {
2069
- return n.innerSlider.slickNext();
2070
- }), w(x(n), "slickGoTo", function(e) {
2071
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
2072
- return n.innerSlider.slickGoTo(e, t);
2073
- }), w(x(n), "slickPause", function() {
2074
- return n.innerSlider.pause("paused");
2075
- }), w(x(n), "slickPlay", function() {
2076
- return n.innerSlider.autoPlay("play");
2077
- }), n.state = { breakpoint: null }, n._responsiveMediaHandlers = [], n;
2078
- }
2079
- return m(s, [
2080
- {
2081
- key: "media",
2082
- value: function(e, t) {
2083
- var n = window.matchMedia(e), r = function(e) {
2084
- e.matches && t();
2085
- };
2086
- n.addListener(r), this._responsiveMediaHandlers.push({
2087
- mql: n,
2088
- query: e,
2089
- listener: r
2090
- });
2091
- }
2092
- },
2093
- {
2094
- key: "componentDidMount",
2095
- value: function() {
2096
- var e = this;
2097
- if (this.props.responsive) {
2098
- var t = this.props.responsive.map(function(e) {
2099
- return e.breakpoint;
2100
- });
2101
- t.sort(function(e, t) {
2102
- return e - t;
2103
- }), t.forEach(function(n, r) {
2104
- var a = r === 0 ? (0, i.default)({
2105
- minWidth: 0,
2106
- maxWidth: n
2107
- }) : (0, i.default)({
2108
- minWidth: t[r - 1] + 1,
2109
- maxWidth: n
2110
- });
2111
- (0, o.canUseDOM)() && e.media(a, function() {
2112
- e.setState({ breakpoint: n });
2113
- });
2114
- });
2115
- var n = (0, i.default)({ minWidth: t.slice(-1)[0] });
2116
- (0, o.canUseDOM)() && this.media(n, function() {
2117
- e.setState({ breakpoint: null });
2118
- });
2119
- }
2120
- }
2121
- },
2122
- {
2123
- key: "componentWillUnmount",
2124
- value: function() {
2125
- this._responsiveMediaHandlers.forEach(function(e) {
2126
- e.mql.removeListener(e.listener);
2127
- });
2128
- }
2129
- },
2130
- {
2131
- key: "render",
2132
- value: function() {
2133
- var e = this, t, i;
2134
- this.state.breakpoint ? (i = this.props.responsive.filter(function(t) {
2135
- return t.breakpoint === e.state.breakpoint;
2136
- }), t = i[0].settings === "unslick" ? "unslick" : d(d(d({}, a.default), this.props), i[0].settings)) : t = d(d({}, a.default), this.props), t.centerMode && (t.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn(`slidesToScroll should be equal to 1 in centerMode, you are using ${t.slidesToScroll}`), t.slidesToScroll = 1), t.fade && (t.slidesToShow > 1 && process.env.NODE_ENV !== "production" && console.warn(`slidesToShow should be equal to 1 when fade is true, you're using ${t.slidesToShow}`), t.slidesToScroll > 1 && process.env.NODE_ENV !== "production" && console.warn(`slidesToScroll should be equal to 1 when fade is true, you're using ${t.slidesToScroll}`), t.slidesToShow = 1, t.slidesToScroll = 1);
2137
- var s = n.default.Children.toArray(this.props.children);
2138
- s = s.filter(function(e) {
2139
- return typeof e == "string" ? !!e.trim() : !!e;
2140
- }), t.variableWidth && (t.rows > 1 || t.slidesPerRow > 1) && (console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"), t.variableWidth = !1);
2141
- for (var c = [], u = null, f = 0; f < s.length; f += t.rows * t.slidesPerRow) {
2142
- for (var p = [], m = f; m < f + t.rows * t.slidesPerRow; m += t.slidesPerRow) {
2143
- for (var h = [], g = m; g < m + t.slidesPerRow && (t.variableWidth && s[g].props.style && (u = s[g].props.style.width), !(g >= s.length)); g += 1) h.push(/* @__PURE__ */ n.default.cloneElement(s[g], {
2144
- key: 100 * f + 10 * m + g,
2145
- tabIndex: -1,
2146
- style: {
2147
- width: `${100 / t.slidesPerRow}%`,
2148
- display: "inline-block"
2149
- }
2150
- }));
2151
- p.push(/* @__PURE__ */ n.default.createElement("div", { key: 10 * f + m }, h));
2152
- }
2153
- t.variableWidth ? c.push(/* @__PURE__ */ n.default.createElement("div", {
2154
- key: f,
2155
- style: { width: u }
2156
- }, p)) : c.push(/* @__PURE__ */ n.default.createElement("div", { key: f }, p));
2157
- }
2158
- if (t === "unslick") {
2159
- var _ = "regular slider " + (this.props.className || "");
2160
- return /* @__PURE__ */ n.default.createElement("div", { className: _ }, s);
2161
- } else c.length <= t.slidesToShow && (t.unslick = !0);
2162
- return /* @__PURE__ */ n.default.createElement(r.InnerSlider, l({
2163
- style: this.props.style,
2164
- ref: this.innerSliderRefHandler
2165
- }, (0, o.filterSettings)(t)), c);
2166
- }
2167
- }
2168
- ]), s;
2169
- }(n.default.Component);
2170
- })), ae = /* @__PURE__ */ r((/* @__PURE__ */ a(((e) => {
2171
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0;
2172
- var t = n(ie());
2173
- function n(e) {
2174
- return e && e.__esModule ? e : { default: e };
2175
- }
2176
- e.default = t.default;
2177
- })))(), 1), oe = u("div", { shouldForwardProp: (e) => e !== "space" })(({ space: e }) => ({
2178
- ".slick-list": { margin: `0 -${e}px` },
2179
- ".slick-slide": { paddingInline: e },
2180
- ".slick-track": { display: "flex" },
2181
- ".slick-arrow": {
2182
- position: "absolute",
2183
- top: "50%",
2184
- transform: "translate(0, -50%)",
2185
- zIndex: 1,
2186
- opacity: 0,
2187
- transition: "opacity 0.3s ease-in-out",
2188
- pointerEvents: "none",
2189
- "&.next": { right: 6 },
2190
- "&.prev": { left: 6 }
2191
- },
2192
- ":hover": { ".slick-arrow": {
2193
- opacity: 1,
2194
- pointerEvents: "auto"
2195
- } }
2196
- })), se = u("ul")(({ theme: e }) => ({
2197
- gap: 6,
2198
- zIndex: 1,
2199
- margin: 0,
2200
- padding: 0,
2201
- display: "flex",
2202
- alignItems: "center",
2203
- justifyContent: "center",
2204
- color: (e.vars ?? e).palette.primary.main,
2205
- "& li": {
2206
- width: 13,
2207
- height: 7,
2208
- scaleX: 1,
2209
- display: "flex",
2210
- cursor: "pointer",
2211
- alignItems: "center",
2212
- justifyContent: "center",
2213
- transition: "all 0.4s",
2214
- "&.slick-active span": { backgroundColor: (e.vars ?? e).palette.primary.main },
2215
- "&.slick-active": { width: 18 }
2216
- }
2217
- })), ce = u("span", { shouldForwardProp: (e) => e !== "dotColor" })(({ dotColor: e, theme: t }) => ({
2218
- width: "100%",
2219
- height: "100%",
2220
- borderRadius: 12,
2221
- cursor: "pointer",
2222
- position: "relative",
2223
- backgroundColor: e ?? (t.vars ?? t).palette.divider
2224
- }));
2225
- function le({ onClick: e, sx: t, className: n }) {
2226
- let r = n?.split(" ").filter((e) => e !== "slick-next").join(" ");
2227
- return /* @__PURE__ */ (0, f.jsx)(c, {
2228
- onClick: e,
2229
- className: `next ${r}`,
2230
- sx: {
2231
- backdropFilter: "blur(8px)",
2232
- backgroundColor: "rgba(255,255,255,0.3)",
2233
- boxShadow: "0px 0px 0px 1px rgba(0,0,0,0.1)",
2234
- color: "text.primary",
2235
- "&:hover": { backgroundColor: "rgba(255,255,255,0.4)" },
2236
- ...t
2237
- },
2238
- children: /* @__PURE__ */ (0, f.jsx)(m, { fontSize: "small" })
2239
- });
2240
- }
2241
- function ue({ onClick: e, sx: t, className: n }) {
2242
- let r = n?.split(" ").filter((e) => e !== "slick-prev").join(" ");
2243
- return /* @__PURE__ */ (0, f.jsx)(c, {
2244
- onClick: e,
2245
- className: `prev ${r}`,
2246
- sx: {
2247
- backdropFilter: "blur(8px)",
2248
- backgroundColor: "rgba(255,255,255,0.3)",
2249
- boxShadow: "0px 0px 0px 1px rgba(0,0,0,0.1)",
2250
- color: "text.primary",
2251
- "&:hover": { backgroundColor: "rgba(255,255,255,0.4)" },
2252
- ...t
2253
- },
2254
- children: /* @__PURE__ */ (0, f.jsx)(p, { fontSize: "small" })
2255
- });
2256
- }
2257
- function de({ sx: e }) {
2258
- return {
2259
- nextArrow: /* @__PURE__ */ (0, f.jsx)(le, { sx: e }),
2260
- prevArrow: /* @__PURE__ */ (0, f.jsx)(ue, { sx: e })
2261
- };
2262
- }
2263
- function fe({ dotColor: e, sx: t }) {
2264
- return {
2265
- customPaging: () => /* @__PURE__ */ (0, f.jsx)(ce, { dotColor: e }),
2266
- appendDots: (e) => /* @__PURE__ */ (0, f.jsx)(se, {
2267
- sx: t,
2268
- children: e
2269
- })
2270
- };
2271
- }
2272
- var $ = l((e, t) => {
2273
- let { dotColor: n, children: r, arrowStyles: i, dots: a = !1, arrows: o = !0, slidesToShow: s = 4, spaceBetween: c = 4, dotStyles: l = { mt: 4 }, ...u } = e;
2274
- return /* @__PURE__ */ (0, f.jsx)(oe, {
2275
- space: c,
2276
- children: /* @__PURE__ */ (0, f.jsx)(ae.default, {
2277
- ref: t,
2278
- dots: a,
2279
- arrows: o,
2280
- slidesToShow: s,
2281
- rtl: d().direction === "rtl",
2282
- ...de({ sx: i }),
2283
- ...fe({
2284
- dotColor: n,
2285
- sx: l
2286
- }),
2287
- ...u,
2288
- children: r
2289
- })
2290
- });
2291
- });
2292
- $.displayName = "SCarousel";
2293
- //#endregion
2294
- export { $ as t };