mimir-ui-kit 1.38.35 → 1.38.36

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 (1005) hide show
  1. package/package.json +1 -1
  2. package/dist/Input-DAmc_HxO.js +0 -227
  3. package/dist/ProgressBar-DEFs1tWq.js +0 -55
  4. package/dist/assets/Accordion.css +0 -1
  5. package/dist/assets/AccordionItem.css +0 -1
  6. package/dist/assets/Avatar.css +0 -1
  7. package/dist/assets/Button.css +0 -1
  8. package/dist/assets/CheckboxMimir.css +0 -1
  9. package/dist/assets/Chip.css +0 -1
  10. package/dist/assets/Drawer.css +0 -1
  11. package/dist/assets/Dropdown.css +0 -1
  12. package/dist/assets/GosZnak.css +0 -1
  13. package/dist/assets/Image.css +0 -1
  14. package/dist/assets/Input.css +0 -1
  15. package/dist/assets/InputPassword.css +0 -1
  16. package/dist/assets/InputRangeSlider.css +0 -1
  17. package/dist/assets/Link.css +0 -1
  18. package/dist/assets/ListFiles.css +0 -1
  19. package/dist/assets/ListPhotos.css +0 -1
  20. package/dist/assets/Loader.css +0 -1
  21. package/dist/assets/MergedButton.css +0 -1
  22. package/dist/assets/MessageShortReply.css +0 -1
  23. package/dist/assets/MultiSelectSearch.css +0 -1
  24. package/dist/assets/NotificationBadge.css +0 -1
  25. package/dist/assets/OtpInput.css +0 -1
  26. package/dist/assets/Pagination.css +0 -1
  27. package/dist/assets/ProgressBar.css +0 -1
  28. package/dist/assets/RadioGroup.css +0 -1
  29. package/dist/assets/SelectSearch.css +0 -1
  30. package/dist/assets/SkeletonCircle.css +0 -1
  31. package/dist/assets/SkeletonText.css +0 -1
  32. package/dist/assets/Slider.css +0 -1
  33. package/dist/assets/Steps.css +0 -1
  34. package/dist/assets/Switcher.css +0 -1
  35. package/dist/assets/TabTrail.css +0 -1
  36. package/dist/assets/Tag.css +0 -1
  37. package/dist/assets/TextArea.css +0 -1
  38. package/dist/assets/Timer.css +0 -1
  39. package/dist/assets/TwinSwitcher.css +0 -1
  40. package/dist/assets/Uploader.css +0 -1
  41. package/dist/assets/UploaderFiles.css +0 -1
  42. package/dist/assets/UploaderPhotos.css +0 -1
  43. package/dist/assets/Vote.css +0 -1
  44. package/dist/assets/index.css +0 -1
  45. package/dist/assets/styles.css +0 -1
  46. package/dist/assets/variant.css +0 -1
  47. package/dist/bugs-diTMAGNw.js +0 -18
  48. package/dist/close-provider-CEutdhG8.js +0 -9
  49. package/dist/combobox-CVtJDVoZ.js +0 -980
  50. package/dist/components/Accordion/Accordion.d.ts +0 -45
  51. package/dist/components/Accordion/Accordion.js +0 -267
  52. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +0 -8
  53. package/dist/components/Accordion/AccordionItem/AccordionItem.js +0 -10
  54. package/dist/components/Accordion/AccordionItem/index.d.ts +0 -1
  55. package/dist/components/Accordion/AccordionItem/index.js +0 -4
  56. package/dist/components/Accordion/constants.d.ts +0 -24
  57. package/dist/components/Accordion/constants.js +0 -9
  58. package/dist/components/Accordion/index.d.ts +0 -3
  59. package/dist/components/Accordion/index.js +0 -8
  60. package/dist/components/AnchorLink/Link.d.ts +0 -17
  61. package/dist/components/AnchorLink/Link.js +0 -52
  62. package/dist/components/AnchorLink/constants.d.ts +0 -10
  63. package/dist/components/AnchorLink/constants.js +0 -5
  64. package/dist/components/AnchorLink/index.d.ts +0 -2
  65. package/dist/components/AnchorLink/index.js +0 -7
  66. package/dist/components/Avatar/Avatar.d.ts +0 -3
  67. package/dist/components/Avatar/Avatar.js +0 -58
  68. package/dist/components/Avatar/constants.d.ts +0 -5
  69. package/dist/components/Avatar/constants.js +0 -4
  70. package/dist/components/Avatar/index.d.ts +0 -3
  71. package/dist/components/Avatar/index.js +0 -6
  72. package/dist/components/Avatar/types.d.ts +0 -10
  73. package/dist/components/Button/Button.d.ts +0 -310
  74. package/dist/components/Button/Button.js +0 -100
  75. package/dist/components/Button/constants.d.ts +0 -40
  76. package/dist/components/Button/constants.js +0 -9
  77. package/dist/components/Button/index.d.ts +0 -2
  78. package/dist/components/Button/index.js +0 -11
  79. package/dist/components/Button/types.d.ts +0 -38
  80. package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +0 -301
  81. package/dist/components/CheckboxMimir/CheckboxMimir.js +0 -63
  82. package/dist/components/CheckboxMimir/index.d.ts +0 -2
  83. package/dist/components/CheckboxMimir/index.js +0 -4
  84. package/dist/components/Chip/Chip.d.ts +0 -30
  85. package/dist/components/Chip/Chip.js +0 -44
  86. package/dist/components/Chip/constants.d.ts +0 -13
  87. package/dist/components/Chip/constants.js +0 -5
  88. package/dist/components/Chip/index.d.ts +0 -2
  89. package/dist/components/Chip/index.js +0 -7
  90. package/dist/components/DatePicker/DatePicker.d.ts +0 -110
  91. package/dist/components/DatePicker/DatePicker.js +0 -166
  92. package/dist/components/DatePicker/DatePickerModal.d.ts +0 -9
  93. package/dist/components/DatePicker/DatePickerModal.js +0 -147
  94. package/dist/components/DatePicker/MonthPickerModal.d.ts +0 -8
  95. package/dist/components/DatePicker/MonthPickerModal.js +0 -94
  96. package/dist/components/DatePicker/YearPickerModal.d.ts +0 -8
  97. package/dist/components/DatePicker/YearPickerModal.js +0 -89
  98. package/dist/components/DatePicker/constants.d.ts +0 -17
  99. package/dist/components/DatePicker/constants.js +0 -28
  100. package/dist/components/DatePicker/hooks.d.ts +0 -3
  101. package/dist/components/DatePicker/hooks.js +0 -20
  102. package/dist/components/DatePicker/index.d.ts +0 -2
  103. package/dist/components/DatePicker/index.js +0 -4
  104. package/dist/components/DatePicker/utils.d.ts +0 -6
  105. package/dist/components/DatePicker/utils.js +0 -9
  106. package/dist/components/Drawer/Drawer.d.ts +0 -87
  107. package/dist/components/Drawer/Drawer.js +0 -166
  108. package/dist/components/Drawer/constants.d.ts +0 -6
  109. package/dist/components/Drawer/constants.js +0 -4
  110. package/dist/components/Drawer/index.d.ts +0 -2
  111. package/dist/components/Drawer/index.js +0 -6
  112. package/dist/components/Dropdown/Dropdown.d.ts +0 -45
  113. package/dist/components/Dropdown/Dropdown.js +0 -333
  114. package/dist/components/Dropdown/index.d.ts +0 -1
  115. package/dist/components/Dropdown/index.js +0 -4
  116. package/dist/components/GosZnak/GosZnak.d.ts +0 -4
  117. package/dist/components/GosZnak/GosZnak.js +0 -63
  118. package/dist/components/GosZnak/constants.d.ts +0 -11
  119. package/dist/components/GosZnak/constants.js +0 -5
  120. package/dist/components/GosZnak/index.d.ts +0 -3
  121. package/dist/components/GosZnak/index.js +0 -7
  122. package/dist/components/GosZnak/types.d.ts +0 -26
  123. package/dist/components/Image/Image.d.ts +0 -33
  124. package/dist/components/Image/Image.js +0 -60
  125. package/dist/components/Image/index.d.ts +0 -1
  126. package/dist/components/Image/index.js +0 -4
  127. package/dist/components/Input/Input.d.ts +0 -71
  128. package/dist/components/Input/Input.js +0 -11
  129. package/dist/components/Input/constants.d.ts +0 -14
  130. package/dist/components/Input/constants.js +0 -6
  131. package/dist/components/Input/index.d.ts +0 -3
  132. package/dist/components/Input/index.js +0 -8
  133. package/dist/components/Input/types.d.ts +0 -22
  134. package/dist/components/InputPassword/InputPassword.d.ts +0 -4
  135. package/dist/components/InputPassword/InputPassword.js +0 -58
  136. package/dist/components/InputPassword/index.d.ts +0 -2
  137. package/dist/components/InputPassword/index.js +0 -4
  138. package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +0 -4
  139. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +0 -35
  140. package/dist/components/InputPhoneNumber/index.d.ts +0 -2
  141. package/dist/components/InputPhoneNumber/index.js +0 -7
  142. package/dist/components/InputPhoneNumber/utils.d.ts +0 -2
  143. package/dist/components/InputPhoneNumber/utils.js +0 -9
  144. package/dist/components/InputRangeSlider/InputRangeSlider.d.ts +0 -3
  145. package/dist/components/InputRangeSlider/InputRangeSlider.js +0 -171
  146. package/dist/components/InputRangeSlider/constants.d.ts +0 -10
  147. package/dist/components/InputRangeSlider/constants.js +0 -8
  148. package/dist/components/InputRangeSlider/index.d.ts +0 -3
  149. package/dist/components/InputRangeSlider/index.js +0 -7
  150. package/dist/components/InputRangeSlider/types.d.ts +0 -33
  151. package/dist/components/ListFiles/ListFiles.d.ts +0 -40
  152. package/dist/components/ListFiles/ListFiles.js +0 -66
  153. package/dist/components/ListFiles/constants.d.ts +0 -7
  154. package/dist/components/ListFiles/constants.js +0 -35
  155. package/dist/components/ListFiles/index.d.ts +0 -3
  156. package/dist/components/ListFiles/index.js +0 -6
  157. package/dist/components/ListPhotos/ListPhotos.d.ts +0 -28
  158. package/dist/components/ListPhotos/ListPhotos.js +0 -44
  159. package/dist/components/ListPhotos/constants.d.ts +0 -3
  160. package/dist/components/ListPhotos/constants.js +0 -21
  161. package/dist/components/ListPhotos/index.d.ts +0 -2
  162. package/dist/components/ListPhotos/index.js +0 -4
  163. package/dist/components/Loader/Loader.d.ts +0 -7
  164. package/dist/components/Loader/Loader.js +0 -16
  165. package/dist/components/Loader/constants.d.ts +0 -4
  166. package/dist/components/Loader/constants.js +0 -4
  167. package/dist/components/Loader/index.d.ts +0 -2
  168. package/dist/components/Loader/index.js +0 -6
  169. package/dist/components/MergedButton/MergedButton.d.ts +0 -18
  170. package/dist/components/MergedButton/MergedButton.js +0 -48
  171. package/dist/components/MergedButton/constants.d.ts +0 -5
  172. package/dist/components/MergedButton/constants.js +0 -4
  173. package/dist/components/MergedButton/index.d.ts +0 -2
  174. package/dist/components/MergedButton/index.js +0 -6
  175. package/dist/components/MessageShortReply/MessageShortReply.d.ts +0 -30
  176. package/dist/components/MessageShortReply/MessageShortReply.js +0 -51
  177. package/dist/components/MessageShortReply/constants.d.ts +0 -9
  178. package/dist/components/MessageShortReply/constants.js +0 -4
  179. package/dist/components/MessageShortReply/index.d.ts +0 -2
  180. package/dist/components/MessageShortReply/index.js +0 -6
  181. package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +0 -26
  182. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +0 -375
  183. package/dist/components/MultiSelectSearch/constants.d.ts +0 -7
  184. package/dist/components/MultiSelectSearch/constants.js +0 -8
  185. package/dist/components/MultiSelectSearch/index.d.ts +0 -3
  186. package/dist/components/MultiSelectSearch/index.js +0 -6
  187. package/dist/components/MultiSelectSearch/types.d.ts +0 -72
  188. package/dist/components/MultiSelectSearch/utils.d.ts +0 -11
  189. package/dist/components/MultiSelectSearch/utils.js +0 -28
  190. package/dist/components/NotificationBadge/NotificationBadge.d.ts +0 -3
  191. package/dist/components/NotificationBadge/NotificationBadge.js +0 -36
  192. package/dist/components/NotificationBadge/constants.d.ts +0 -5
  193. package/dist/components/NotificationBadge/constants.js +0 -4
  194. package/dist/components/NotificationBadge/index.d.ts +0 -3
  195. package/dist/components/NotificationBadge/index.js +0 -6
  196. package/dist/components/NotificationBadge/types.d.ts +0 -25
  197. package/dist/components/OtpInput/OtpInput.d.ts +0 -23
  198. package/dist/components/OtpInput/OtpInput.js +0 -70
  199. package/dist/components/OtpInput/constants.d.ts +0 -3
  200. package/dist/components/OtpInput/constants.js +0 -6
  201. package/dist/components/OtpInput/hooks.d.ts +0 -20
  202. package/dist/components/OtpInput/hooks.js +0 -102
  203. package/dist/components/OtpInput/index.d.ts +0 -1
  204. package/dist/components/OtpInput/index.js +0 -4
  205. package/dist/components/Pagination/Pagination.d.ts +0 -40
  206. package/dist/components/Pagination/Pagination.js +0 -179
  207. package/dist/components/Pagination/constants.d.ts +0 -2
  208. package/dist/components/Pagination/constants.js +0 -5
  209. package/dist/components/Pagination/index.d.ts +0 -1
  210. package/dist/components/Pagination/index.js +0 -4
  211. package/dist/components/Pagination/types.d.ts +0 -0
  212. package/dist/components/Portal/Portal.d.ts +0 -7
  213. package/dist/components/Portal/Portal.js +0 -8
  214. package/dist/components/Portal/index.d.ts +0 -1
  215. package/dist/components/Portal/index.js +0 -4
  216. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -71
  217. package/dist/components/RadioGroup/RadioGroup.js +0 -195
  218. package/dist/components/RadioGroup/index.d.ts +0 -2
  219. package/dist/components/RadioGroup/index.js +0 -4
  220. package/dist/components/SelectSearch/SelectSearch.d.ts +0 -22
  221. package/dist/components/SelectSearch/SelectSearch.js +0 -263
  222. package/dist/components/SelectSearch/constants.d.ts +0 -4
  223. package/dist/components/SelectSearch/constants.js +0 -4
  224. package/dist/components/SelectSearch/index.d.ts +0 -3
  225. package/dist/components/SelectSearch/index.js +0 -6
  226. package/dist/components/SelectSearch/types.d.ts +0 -59
  227. package/dist/components/SelectSearch/utils.d.ts +0 -5
  228. package/dist/components/SelectSearch/utils.js +0 -17
  229. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.d.ts +0 -12
  230. package/dist/components/Skeleton/SkeletonBrick/SkeletonBrick.js +0 -33
  231. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.d.ts +0 -9
  232. package/dist/components/Skeleton/SkeletonCircle/SkeletonCircle.js +0 -29
  233. package/dist/components/Skeleton/SkeletonText/SkeletonText.d.ts +0 -10
  234. package/dist/components/Skeleton/SkeletonText/SkeletonText.js +0 -52
  235. package/dist/components/Skeleton/constants.d.ts +0 -5
  236. package/dist/components/Skeleton/constants.js +0 -4
  237. package/dist/components/Skeleton/index.d.ts +0 -4
  238. package/dist/components/Skeleton/index.js +0 -10
  239. package/dist/components/Slider/Slider.d.ts +0 -75
  240. package/dist/components/Slider/Slider.js +0 -3075
  241. package/dist/components/Slider/constants.d.ts +0 -4
  242. package/dist/components/Slider/constants.js +0 -4
  243. package/dist/components/Slider/index.d.ts +0 -3
  244. package/dist/components/Slider/index.js +0 -9
  245. package/dist/components/Steps/Steps.d.ts +0 -78
  246. package/dist/components/Steps/Steps.js +0 -123
  247. package/dist/components/Steps/constants.d.ts +0 -49
  248. package/dist/components/Steps/constants.js +0 -57
  249. package/dist/components/Steps/index.d.ts +0 -3
  250. package/dist/components/Steps/index.js +0 -7
  251. package/dist/components/Steps/types.d.ts +0 -10
  252. package/dist/components/Switcher/Switcher.d.ts +0 -3
  253. package/dist/components/Switcher/Switcher.js +0 -107
  254. package/dist/components/Switcher/constants.d.ts +0 -4
  255. package/dist/components/Switcher/constants.js +0 -4
  256. package/dist/components/Switcher/index.d.ts +0 -3
  257. package/dist/components/Switcher/index.js +0 -6
  258. package/dist/components/Switcher/types.d.ts +0 -30
  259. package/dist/components/TabTrail/TabButtons/TabButtons.d.ts +0 -10
  260. package/dist/components/TabTrail/TabButtons/TabButtons.js +0 -33
  261. package/dist/components/TabTrail/TabButtons/constants.d.ts +0 -8
  262. package/dist/components/TabTrail/TabButtons/constants.js +0 -5
  263. package/dist/components/TabTrail/TabButtons/index.d.ts +0 -1
  264. package/dist/components/TabTrail/TabButtons/index.js +0 -4
  265. package/dist/components/TabTrail/TabTrail.d.ts +0 -68
  266. package/dist/components/TabTrail/TabTrail.js +0 -313
  267. package/dist/components/TabTrail/constants.d.ts +0 -4
  268. package/dist/components/TabTrail/constants.js +0 -4
  269. package/dist/components/TabTrail/index.d.ts +0 -2
  270. package/dist/components/TabTrail/index.js +0 -6
  271. package/dist/components/Tag/Tag.d.ts +0 -42
  272. package/dist/components/Tag/Tag.js +0 -46
  273. package/dist/components/Tag/constants.d.ts +0 -9
  274. package/dist/components/Tag/constants.js +0 -5
  275. package/dist/components/Tag/index.d.ts +0 -2
  276. package/dist/components/Tag/index.js +0 -7
  277. package/dist/components/Tag/types.d.ts +0 -0
  278. package/dist/components/TextArea/TextArea.d.ts +0 -7
  279. package/dist/components/TextArea/TextArea.js +0 -224
  280. package/dist/components/TextArea/constants.d.ts +0 -5
  281. package/dist/components/TextArea/constants.js +0 -4
  282. package/dist/components/TextArea/hooks.d.ts +0 -3
  283. package/dist/components/TextArea/hooks.js +0 -15
  284. package/dist/components/TextArea/index.d.ts +0 -2
  285. package/dist/components/TextArea/index.js +0 -6
  286. package/dist/components/TextArea/types.d.ts +0 -6
  287. package/dist/components/Timer/Timer.d.ts +0 -24
  288. package/dist/components/Timer/Timer.js +0 -23
  289. package/dist/components/Timer/index.d.ts +0 -1
  290. package/dist/components/Timer/index.js +0 -4
  291. package/dist/components/Toasts/ProgressBar.d.ts +0 -5
  292. package/dist/components/Toasts/ProgressBar.js +0 -8
  293. package/dist/components/Toasts/Toast.d.ts +0 -54
  294. package/dist/components/Toasts/Toast.js +0 -72
  295. package/dist/components/Toasts/ToastList.d.ts +0 -10
  296. package/dist/components/Toasts/ToastList.js +0 -41
  297. package/dist/components/Toasts/ToastsProvider.d.ts +0 -3
  298. package/dist/components/Toasts/ToastsProvider.js +0 -42
  299. package/dist/components/Toasts/constants.d.ts +0 -23
  300. package/dist/components/Toasts/constants.js +0 -15
  301. package/dist/components/Toasts/hooks.d.ts +0 -2
  302. package/dist/components/Toasts/hooks.js +0 -15
  303. package/dist/components/Toasts/index.d.ts +0 -3
  304. package/dist/components/Toasts/index.js +0 -9
  305. package/dist/components/Toasts/store.d.ts +0 -29
  306. package/dist/components/Toasts/store.js +0 -40
  307. package/dist/components/Toasts/types.d.ts +0 -5
  308. package/dist/components/TwinSwitcher/TwinSwitcher.d.ts +0 -10
  309. package/dist/components/TwinSwitcher/TwinSwitcher.js +0 -61
  310. package/dist/components/TwinSwitcher/index.d.ts +0 -1
  311. package/dist/components/TwinSwitcher/index.js +0 -4
  312. package/dist/components/UniversalUploader/UniversalUploader.d.ts +0 -10
  313. package/dist/components/UniversalUploader/UniversalUploader.js +0 -114
  314. package/dist/components/UniversalUploader/constants.d.ts +0 -6
  315. package/dist/components/UniversalUploader/constants.js +0 -13
  316. package/dist/components/UniversalUploader/index.d.ts +0 -3
  317. package/dist/components/UniversalUploader/index.js +0 -6
  318. package/dist/components/UniversalUploader/types.d.ts +0 -21
  319. package/dist/components/Uploader/Uploader.d.ts +0 -77
  320. package/dist/components/Uploader/Uploader.js +0 -116
  321. package/dist/components/Uploader/constants.d.ts +0 -8
  322. package/dist/components/Uploader/constants.js +0 -37
  323. package/dist/components/Uploader/index.d.ts +0 -4
  324. package/dist/components/Uploader/index.js +0 -6
  325. package/dist/components/UploaderFiles/UploaderFiles.d.ts +0 -3
  326. package/dist/components/UploaderFiles/UploaderFiles.js +0 -92
  327. package/dist/components/UploaderFiles/constants.d.ts +0 -4
  328. package/dist/components/UploaderFiles/constants.js +0 -4
  329. package/dist/components/UploaderFiles/index.d.ts +0 -3
  330. package/dist/components/UploaderFiles/index.js +0 -6
  331. package/dist/components/UploaderFiles/types.d.ts +0 -75
  332. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +0 -60
  333. package/dist/components/UploaderPhotos/UploaderPhotos.js +0 -72
  334. package/dist/components/UploaderPhotos/index.d.ts +0 -2
  335. package/dist/components/UploaderPhotos/index.js +0 -4
  336. package/dist/components/Vote/Vote.d.ts +0 -171
  337. package/dist/components/Vote/Vote.js +0 -95
  338. package/dist/components/Vote/constants.d.ts +0 -7
  339. package/dist/components/Vote/constants.js +0 -9
  340. package/dist/components/Vote/index.d.ts +0 -3
  341. package/dist/components/Vote/index.js +0 -6
  342. package/dist/components/Vote/types.d.ts +0 -6
  343. package/dist/components/index.d.ts +0 -70
  344. package/dist/components/index.js +0 -165
  345. package/dist/field-FJ34aSs4.js +0 -12
  346. package/dist/focus-management-DE4t_lW3.js +0 -78
  347. package/dist/hidden-DbgtYPOH.js +0 -13
  348. package/dist/hooks/index.d.ts +0 -7
  349. package/dist/hooks/index.js +0 -19
  350. package/dist/hooks/useClickOutside/index.d.ts +0 -1
  351. package/dist/hooks/useClickOutside/index.js +0 -4
  352. package/dist/hooks/useClickOutside/useClickOutside.d.ts +0 -7
  353. package/dist/hooks/useClickOutside/useClickOutside.js +0 -16
  354. package/dist/hooks/useCopyToClipboard/index.d.ts +0 -1
  355. package/dist/hooks/useCopyToClipboard/index.js +0 -4
  356. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -4
  357. package/dist/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -16
  358. package/dist/hooks/useInterval/index.d.ts +0 -1
  359. package/dist/hooks/useInterval/index.js +0 -4
  360. package/dist/hooks/useInterval/useInterval.d.ts +0 -1
  361. package/dist/hooks/useInterval/useInterval.js +0 -15
  362. package/dist/hooks/useLockBodyScroll/index.d.ts +0 -1
  363. package/dist/hooks/useLockBodyScroll/index.js +0 -4
  364. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +0 -6
  365. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +0 -16
  366. package/dist/hooks/useMediaQuery/constants.d.ts +0 -20
  367. package/dist/hooks/useMediaQuery/constants.js +0 -5
  368. package/dist/hooks/useMediaQuery/index.d.ts +0 -2
  369. package/dist/hooks/useMediaQuery/index.js +0 -7
  370. package/dist/hooks/useMediaQuery/useMediaQuery.d.ts +0 -14
  371. package/dist/hooks/useMediaQuery/useMediaQuery.js +0 -16
  372. package/dist/hooks/useMergeRefs/index.d.ts +0 -1
  373. package/dist/hooks/useMergeRefs/index.js +0 -4
  374. package/dist/hooks/useMergeRefs/useMergeRefs.d.ts +0 -4
  375. package/dist/hooks/useMergeRefs/useMergeRefs.js +0 -29
  376. package/dist/hooks/useResizeObserver/getElement.d.ts +0 -4
  377. package/dist/hooks/useResizeObserver/getElement.js +0 -4
  378. package/dist/hooks/useResizeObserver/index.d.ts +0 -1
  379. package/dist/hooks/useResizeObserver/index.js +0 -4
  380. package/dist/hooks/useResizeObserver/useResizeObserver.d.ts +0 -17
  381. package/dist/hooks/useResizeObserver/useResizeObserver.js +0 -36
  382. package/dist/hooks/useTimer/index.d.ts +0 -18
  383. package/dist/hooks/useTimer/index.js +0 -57
  384. package/dist/hooks/useTimer/useTimer.d.ts +0 -18
  385. package/dist/hooks/useTimer/useTimer.js +0 -58
  386. package/dist/hooks/useTimer/utils.d.ts +0 -24
  387. package/dist/hooks/useTimer/utils.js +0 -71
  388. package/dist/hooks/useWindowSize/index.d.ts +0 -4
  389. package/dist/hooks/useWindowSize/index.js +0 -20
  390. package/dist/icons/Icon.d.ts +0 -7
  391. package/dist/icons/Icon.js +0 -10
  392. package/dist/icons/components/12px/Close12px.js +0 -16
  393. package/dist/icons/components/12px/MessageRead12px.js +0 -35
  394. package/dist/icons/components/16px/Accept16px.js +0 -25
  395. package/dist/icons/components/16px/Acts16px.js +0 -38
  396. package/dist/icons/components/16px/Acts16pxF.js +0 -33
  397. package/dist/icons/components/16px/AdditionalServicess16px.js +0 -31
  398. package/dist/icons/components/16px/AdditionalServicess16pxF.js +0 -20
  399. package/dist/icons/components/16px/Agents16px.js +0 -22
  400. package/dist/icons/components/16px/Agents16pxF.js +0 -20
  401. package/dist/icons/components/16px/Alarm16px.js +0 -23
  402. package/dist/icons/components/16px/ArrowDown16px.js +0 -22
  403. package/dist/icons/components/16px/ArrowLeft16px.js +0 -22
  404. package/dist/icons/components/16px/ArrowRight16px.js +0 -22
  405. package/dist/icons/components/16px/ArrowUp16px.js +0 -22
  406. package/dist/icons/components/16px/ArrowUpright16px.js +0 -22
  407. package/dist/icons/components/16px/AttachFile16px.js +0 -22
  408. package/dist/icons/components/16px/Bell16px.js +0 -42
  409. package/dist/icons/components/16px/Bell16pxF.js +0 -32
  410. package/dist/icons/components/16px/Calculator16px.js +0 -22
  411. package/dist/icons/components/16px/CalculatorLkk16px.js +0 -33
  412. package/dist/icons/components/16px/CalculatorLkk16pxF.js +0 -22
  413. package/dist/icons/components/16px/Calendar16px.js +0 -22
  414. package/dist/icons/components/16px/Camera16px.js +0 -34
  415. package/dist/icons/components/16px/Car16px.js +0 -33
  416. package/dist/icons/components/16px/Car16pxF.js +0 -22
  417. package/dist/icons/components/16px/Catalog16px.js +0 -22
  418. package/dist/icons/components/16px/Certs16px.js +0 -31
  419. package/dist/icons/components/16px/Certs16pxF.js +0 -31
  420. package/dist/icons/components/16px/Change16px.js +0 -20
  421. package/dist/icons/components/16px/Chat16px.js +0 -31
  422. package/dist/icons/components/16px/Chat16pxF.js +0 -22
  423. package/dist/icons/components/16px/Chatbot16px.js +0 -262
  424. package/dist/icons/components/16px/Close16px.js +0 -22
  425. package/dist/icons/components/16px/CloseFloatMenuArrow16px.js +0 -20
  426. package/dist/icons/components/16px/CloseFloatMenuMobileArrow16px.js +0 -20
  427. package/dist/icons/components/16px/Coin16px.js +0 -33
  428. package/dist/icons/components/16px/Coin16pxF.js +0 -40
  429. package/dist/icons/components/16px/Contracts16px.js +0 -33
  430. package/dist/icons/components/16px/Contracts16pxF.js +0 -31
  431. package/dist/icons/components/16px/CopyClipboard16px.js +0 -25
  432. package/dist/icons/components/16px/Done16px.js +0 -22
  433. package/dist/icons/components/16px/Download16px.js +0 -29
  434. package/dist/icons/components/16px/DragHandle16px.js +0 -20
  435. package/dist/icons/components/16px/DragHandleHorizontal16px.js +0 -20
  436. package/dist/icons/components/16px/DragHandleVertical16px.js +0 -20
  437. package/dist/icons/components/16px/DropdownArrowBottom16px.js +0 -22
  438. package/dist/icons/components/16px/DropdownArrowLeft16px.js +0 -22
  439. package/dist/icons/components/16px/DropdownArrowRight16px.js +0 -22
  440. package/dist/icons/components/16px/DropdownArrowUp16px.js +0 -22
  441. package/dist/icons/components/16px/Dzen16px.js +0 -20
  442. package/dist/icons/components/16px/Euro16px.js +0 -23
  443. package/dist/icons/components/16px/Eye16px.js +0 -33
  444. package/dist/icons/components/16px/Failure16px.js +0 -25
  445. package/dist/icons/components/16px/Favorite16px.js +0 -22
  446. package/dist/icons/components/16px/Favorite16pxF.js +0 -20
  447. package/dist/icons/components/16px/Filter16px.js +0 -22
  448. package/dist/icons/components/16px/Flag16pxF.js +0 -14
  449. package/dist/icons/components/16px/Folder16px.js +0 -22
  450. package/dist/icons/components/16px/Fullscreen16px.js +0 -22
  451. package/dist/icons/components/16px/Galery16px.js +0 -25
  452. package/dist/icons/components/16px/Gear16px.js +0 -33
  453. package/dist/icons/components/16px/Gift16px.js +0 -31
  454. package/dist/icons/components/16px/Hint16px.js +0 -23
  455. package/dist/icons/components/16px/Home16px.js +0 -31
  456. package/dist/icons/components/16px/Home16pxF.js +0 -22
  457. package/dist/icons/components/16px/Hot16pxF.js +0 -20
  458. package/dist/icons/components/16px/Kebab16px.js +0 -14
  459. package/dist/icons/components/16px/List16px.js +0 -20
  460. package/dist/icons/components/16px/Location16px.js +0 -33
  461. package/dist/icons/components/16px/Map16px.js +0 -22
  462. package/dist/icons/components/16px/Menu16px.js +0 -20
  463. package/dist/icons/components/16px/MenuMobile16px.js +0 -22
  464. package/dist/icons/components/16px/Minus16px.js +0 -14
  465. package/dist/icons/components/16px/Navigation16px.js +0 -22
  466. package/dist/icons/components/16px/News16px.js +0 -31
  467. package/dist/icons/components/16px/News16pxF.js +0 -22
  468. package/dist/icons/components/16px/Number16px.js +0 -31
  469. package/dist/icons/components/16px/OpenFloatMenuArrow16px.js +0 -20
  470. package/dist/icons/components/16px/OpenFloatMenuMobileArrow16px.js +0 -20
  471. package/dist/icons/components/16px/Orders16px.js +0 -31
  472. package/dist/icons/components/16px/Orders16pxF.js +0 -25
  473. package/dist/icons/components/16px/Pause16px.js +0 -14
  474. package/dist/icons/components/16px/Pen16px.js +0 -33
  475. package/dist/icons/components/16px/Pen16pxF.js +0 -22
  476. package/dist/icons/components/16px/Phone16px.js +0 -22
  477. package/dist/icons/components/16px/Play16pxF.js +0 -20
  478. package/dist/icons/components/16px/Plus16px.js +0 -22
  479. package/dist/icons/components/16px/Pound16px.js +0 -23
  480. package/dist/icons/components/16px/PriceDown16px.js +0 -33
  481. package/dist/icons/components/16px/PriceUp16px.js +0 -33
  482. package/dist/icons/components/16px/Question16px.js +0 -22
  483. package/dist/icons/components/16px/Question16pxF.js +0 -22
  484. package/dist/icons/components/16px/Rutube16px.js +0 -20
  485. package/dist/icons/components/16px/Scan16px.js +0 -20
  486. package/dist/icons/components/16px/Search16px.js +0 -22
  487. package/dist/icons/components/16px/Share16pxF.js +0 -20
  488. package/dist/icons/components/16px/ShopingCard16px.js +0 -22
  489. package/dist/icons/components/16px/Sort16px.js +0 -22
  490. package/dist/icons/components/16px/Star16px.js +0 -22
  491. package/dist/icons/components/16px/Star16pxF.js +0 -20
  492. package/dist/icons/components/16px/StarHalf16pxF.js +0 -22
  493. package/dist/icons/components/16px/Telegram16pxF.js +0 -20
  494. package/dist/icons/components/16px/TelegramPlane16pxF.js +0 -20
  495. package/dist/icons/components/16px/Timer16px.js +0 -38
  496. package/dist/icons/components/16px/Trash16px.js +0 -22
  497. package/dist/icons/components/16px/TwinArrowLeft16px.js +0 -20
  498. package/dist/icons/components/16px/TwinArrowRight16px.js +0 -20
  499. package/dist/icons/components/16px/USDollar16px.js +0 -23
  500. package/dist/icons/components/16px/Umbrella16px.js +0 -22
  501. package/dist/icons/components/16px/Umbrella16pxF.js +0 -20
  502. package/dist/icons/components/16px/UnionIcon16px.js +0 -22
  503. package/dist/icons/components/16px/User16px.js +0 -31
  504. package/dist/icons/components/16px/User16pxF.js +0 -20
  505. package/dist/icons/components/16px/Users16px.js +0 -31
  506. package/dist/icons/components/16px/Users16pxF.js +0 -20
  507. package/dist/icons/components/16px/VK16pxF.js +0 -22
  508. package/dist/icons/components/16px/Waiting16px.js +0 -22
  509. package/dist/icons/components/16px/Whatsapp16px.js +0 -31
  510. package/dist/icons/components/16px/WriteUs16px.js +0 -25
  511. package/dist/icons/components/16px/Youtube16pxF.js +0 -20
  512. package/dist/icons/components/16px/Yuan16px.js +0 -23
  513. package/dist/icons/components/24px/Accept24px.js +0 -27
  514. package/dist/icons/components/24px/Acts24px.js +0 -39
  515. package/dist/icons/components/24px/Acts24pxF.js +0 -32
  516. package/dist/icons/components/24px/AdditionalServicess24px.js +0 -32
  517. package/dist/icons/components/24px/AdditionalServicess24pxF.js +0 -21
  518. package/dist/icons/components/24px/Agents24px.js +0 -23
  519. package/dist/icons/components/24px/Agents24pxF.js +0 -30
  520. package/dist/icons/components/24px/Alarm24px.js +0 -24
  521. package/dist/icons/components/24px/ArrowDown24px.js +0 -23
  522. package/dist/icons/components/24px/ArrowLeft24px.js +0 -23
  523. package/dist/icons/components/24px/ArrowRight24px.js +0 -23
  524. package/dist/icons/components/24px/ArrowUp24px.js +0 -23
  525. package/dist/icons/components/24px/ArrowUpright24px.js +0 -23
  526. package/dist/icons/components/24px/AttachFile24px.js +0 -23
  527. package/dist/icons/components/24px/Bell24px.js +0 -43
  528. package/dist/icons/components/24px/Bell24pxF.js +0 -26
  529. package/dist/icons/components/24px/Calculator24px.js +0 -23
  530. package/dist/icons/components/24px/CalculatorLkk24px.js +0 -32
  531. package/dist/icons/components/24px/CalculatorLkk24pxF.js +0 -23
  532. package/dist/icons/components/24px/Calendar24px.js +0 -23
  533. package/dist/icons/components/24px/Camera24px.js +0 -23
  534. package/dist/icons/components/24px/Car24px.js +0 -34
  535. package/dist/icons/components/24px/Car24pxF.js +0 -32
  536. package/dist/icons/components/24px/Catalog24px.js +0 -23
  537. package/dist/icons/components/24px/Certs24px.js +0 -32
  538. package/dist/icons/components/24px/Certs24pxF.js +0 -32
  539. package/dist/icons/components/24px/Change24px.js +0 -23
  540. package/dist/icons/components/24px/Chat24px.js +0 -28
  541. package/dist/icons/components/24px/Chat24pxF.js +0 -23
  542. package/dist/icons/components/24px/Chatbot24px.js +0 -263
  543. package/dist/icons/components/24px/Close24px.js +0 -23
  544. package/dist/icons/components/24px/CloseFloatMenuArrow24px.js +0 -23
  545. package/dist/icons/components/24px/CloseFloatMenuMobileArrow24px.js +0 -21
  546. package/dist/icons/components/24px/Coin24px.js +0 -24
  547. package/dist/icons/components/24px/Coin24pxF.js +0 -41
  548. package/dist/icons/components/24px/Contracts24px.js +0 -34
  549. package/dist/icons/components/24px/Contracts24pxF.js +0 -32
  550. package/dist/icons/components/24px/CopyClipboard24px.js +0 -26
  551. package/dist/icons/components/24px/Done24px.js +0 -23
  552. package/dist/icons/components/24px/Download24px.js +0 -30
  553. package/dist/icons/components/24px/DragHandle24px.js +0 -21
  554. package/dist/icons/components/24px/DragHandleHorizontal24px.js +0 -21
  555. package/dist/icons/components/24px/DragHandleVertical24px.js +0 -21
  556. package/dist/icons/components/24px/DropdownArrowDown24px.js +0 -23
  557. package/dist/icons/components/24px/DropdownArrowLeft24px.js +0 -23
  558. package/dist/icons/components/24px/DropdownArrowRight24px.js +0 -23
  559. package/dist/icons/components/24px/DropdownArrowUp24px.js +0 -23
  560. package/dist/icons/components/24px/Dzen24px.js +0 -21
  561. package/dist/icons/components/24px/Euro24px.js +0 -24
  562. package/dist/icons/components/24px/Eye24px.js +0 -34
  563. package/dist/icons/components/24px/Failure24px.js +0 -26
  564. package/dist/icons/components/24px/Favorite24px.js +0 -23
  565. package/dist/icons/components/24px/Favorite24pxF.js +0 -21
  566. package/dist/icons/components/24px/Filter24px.js +0 -21
  567. package/dist/icons/components/24px/Flag24pxF.js +0 -15
  568. package/dist/icons/components/24px/Folder24px.js +0 -23
  569. package/dist/icons/components/24px/Fullscreen24px.js +0 -23
  570. package/dist/icons/components/24px/Galery24px.js +0 -26
  571. package/dist/icons/components/24px/Gear24px.js +0 -34
  572. package/dist/icons/components/24px/Gift24px.js +0 -23
  573. package/dist/icons/components/24px/Hint24px.js +0 -26
  574. package/dist/icons/components/24px/Home24px.js +0 -34
  575. package/dist/icons/components/24px/Home24pxF.js +0 -23
  576. package/dist/icons/components/24px/Hot24pxF.js +0 -21
  577. package/dist/icons/components/24px/Improvements24px.js +0 -41
  578. package/dist/icons/components/24px/Improvements24pxF.js +0 -35
  579. package/dist/icons/components/24px/Kebab24px.js +0 -21
  580. package/dist/icons/components/24px/List24px.js +0 -21
  581. package/dist/icons/components/24px/Location24px.js +0 -34
  582. package/dist/icons/components/24px/Map24px.js +0 -23
  583. package/dist/icons/components/24px/Menu24px.js +0 -21
  584. package/dist/icons/components/24px/MenuMobile24px.js +0 -23
  585. package/dist/icons/components/24px/Minus24px.js +0 -23
  586. package/dist/icons/components/24px/Navigation24px.js +0 -23
  587. package/dist/icons/components/24px/News24px.js +0 -32
  588. package/dist/icons/components/24px/News24pxF.js +0 -23
  589. package/dist/icons/components/24px/Number24px.js +0 -32
  590. package/dist/icons/components/24px/OpenFloatMenuArrow24px.js +0 -21
  591. package/dist/icons/components/24px/OpenFloatMenuMobileArrow24px.js +0 -23
  592. package/dist/icons/components/24px/Orders24px.js +0 -32
  593. package/dist/icons/components/24px/Orders24pxF.js +0 -26
  594. package/dist/icons/components/24px/Pause24px.js +0 -15
  595. package/dist/icons/components/24px/Pen24px.js +0 -34
  596. package/dist/icons/components/24px/Pen24pxF.js +0 -23
  597. package/dist/icons/components/24px/Phone24px.js +0 -23
  598. package/dist/icons/components/24px/Play24px.js +0 -21
  599. package/dist/icons/components/24px/Plus24px.js +0 -23
  600. package/dist/icons/components/24px/Pound24px.js +0 -24
  601. package/dist/icons/components/24px/PriceDown24px.js +0 -32
  602. package/dist/icons/components/24px/PriceUp24px.js +0 -32
  603. package/dist/icons/components/24px/Question24px.js +0 -32
  604. package/dist/icons/components/24px/Question24pxF.js +0 -23
  605. package/dist/icons/components/24px/Rutube24px.js +0 -21
  606. package/dist/icons/components/24px/Scan24px.js +0 -21
  607. package/dist/icons/components/24px/Search24px.js +0 -23
  608. package/dist/icons/components/24px/Share24pxF.js +0 -21
  609. package/dist/icons/components/24px/ShopingCard24px.js +0 -23
  610. package/dist/icons/components/24px/Sort24px.js +0 -21
  611. package/dist/icons/components/24px/Star24px.js +0 -23
  612. package/dist/icons/components/24px/Star24pxF.js +0 -21
  613. package/dist/icons/components/24px/StarHalf24pxF.js +0 -23
  614. package/dist/icons/components/24px/Telegram24pxF.js +0 -21
  615. package/dist/icons/components/24px/TelegramPlane24pxF.js +0 -21
  616. package/dist/icons/components/24px/Timer24px.js +0 -39
  617. package/dist/icons/components/24px/Trash24px.js +0 -43
  618. package/dist/icons/components/24px/TwinArrowLeft24px.js +0 -21
  619. package/dist/icons/components/24px/TwinArrowRight24px.js +0 -23
  620. package/dist/icons/components/24px/USDollar24px.js +0 -24
  621. package/dist/icons/components/24px/Umbrella24px.js +0 -23
  622. package/dist/icons/components/24px/Umbrella24pxF.js +0 -21
  623. package/dist/icons/components/24px/UnionIcon24px.js +0 -23
  624. package/dist/icons/components/24px/User24px.js +0 -32
  625. package/dist/icons/components/24px/User24pxF.js +0 -21
  626. package/dist/icons/components/24px/Users24px.js +0 -23
  627. package/dist/icons/components/24px/Users24pxF.js +0 -30
  628. package/dist/icons/components/24px/VK24pxF.js +0 -23
  629. package/dist/icons/components/24px/Waiting24px.js +0 -23
  630. package/dist/icons/components/24px/Whatsapp24px.js +0 -32
  631. package/dist/icons/components/24px/WriteUs24px.js +0 -26
  632. package/dist/icons/components/24px/Youtube24pxF.js +0 -21
  633. package/dist/icons/components/24px/Yuan24px.js +0 -24
  634. package/dist/icons/components/32px/Accept32px.js +0 -26
  635. package/dist/icons/components/32px/Acts32px.js +0 -39
  636. package/dist/icons/components/32px/AdditionalServicess32px.js +0 -23
  637. package/dist/icons/components/32px/AdditionalServicess32pxF.js +0 -21
  638. package/dist/icons/components/32px/Agents32px.js +0 -35
  639. package/dist/icons/components/32px/Alarm32px.js +0 -24
  640. package/dist/icons/components/32px/ArrowDown32px.js +0 -23
  641. package/dist/icons/components/32px/ArrowLeft32px.js +0 -23
  642. package/dist/icons/components/32px/ArrowRight32px.js +0 -23
  643. package/dist/icons/components/32px/ArrowUp32px.js +0 -23
  644. package/dist/icons/components/32px/ArrowUpright32px.js +0 -23
  645. package/dist/icons/components/32px/AttachFile32px.js +0 -23
  646. package/dist/icons/components/32px/Bell32px.js +0 -43
  647. package/dist/icons/components/32px/Bell32pxF.js +0 -26
  648. package/dist/icons/components/32px/Calculator32px.js +0 -23
  649. package/dist/icons/components/32px/CalculatorLkk32px.js +0 -32
  650. package/dist/icons/components/32px/CalculatorLkk32pxF.js +0 -23
  651. package/dist/icons/components/32px/Calendar32px.js +0 -23
  652. package/dist/icons/components/32px/Camera32px.js +0 -35
  653. package/dist/icons/components/32px/Car32px.js +0 -34
  654. package/dist/icons/components/32px/Car32pxF.js +0 -26
  655. package/dist/icons/components/32px/Catalog32px.js +0 -23
  656. package/dist/icons/components/32px/Certs32px.js +0 -32
  657. package/dist/icons/components/32px/Certs32pxF.js +0 -32
  658. package/dist/icons/components/32px/Change32px.js +0 -23
  659. package/dist/icons/components/32px/Chat32px.js +0 -32
  660. package/dist/icons/components/32px/Chat32pxF.js +0 -23
  661. package/dist/icons/components/32px/Chatbot32px.js +0 -263
  662. package/dist/icons/components/32px/Close32px.js +0 -23
  663. package/dist/icons/components/32px/CloseFloatMenuArrow32px.js +0 -21
  664. package/dist/icons/components/32px/CloseFloatMenuMobileArrow32px.js +0 -21
  665. package/dist/icons/components/32px/Coin32px.js +0 -34
  666. package/dist/icons/components/32px/Coin32pxF.js +0 -32
  667. package/dist/icons/components/32px/Contracts32px.js +0 -34
  668. package/dist/icons/components/32px/Contracts32pxF.js +0 -32
  669. package/dist/icons/components/32px/CopyClipboard32px.js +0 -32
  670. package/dist/icons/components/32px/Done32px.js +0 -23
  671. package/dist/icons/components/32px/Download32px.js +0 -30
  672. package/dist/icons/components/32px/DragHandle32px.js +0 -21
  673. package/dist/icons/components/32px/DragHandleHorizontal32px.js +0 -21
  674. package/dist/icons/components/32px/DragHandleVertical32px.js +0 -21
  675. package/dist/icons/components/32px/DropdownArrowDown32px.js +0 -23
  676. package/dist/icons/components/32px/DropdownArrowLeft32px.js +0 -23
  677. package/dist/icons/components/32px/DropdownArrowRight32px.js +0 -23
  678. package/dist/icons/components/32px/DropdownArrowUp32px.js +0 -15
  679. package/dist/icons/components/32px/Dzen32px.js +0 -21
  680. package/dist/icons/components/32px/Euro32px.js +0 -24
  681. package/dist/icons/components/32px/Eye32px.js +0 -34
  682. package/dist/icons/components/32px/Failure32px.js +0 -26
  683. package/dist/icons/components/32px/Favorite32px.js +0 -23
  684. package/dist/icons/components/32px/Favorite32pxF.js +0 -21
  685. package/dist/icons/components/32px/Filter32px.js +0 -21
  686. package/dist/icons/components/32px/Flag32pxF.js +0 -15
  687. package/dist/icons/components/32px/Folder32px.js +0 -23
  688. package/dist/icons/components/32px/Fullscreen32px.js +0 -23
  689. package/dist/icons/components/32px/Galery32px.js +0 -26
  690. package/dist/icons/components/32px/Gear32px.js +0 -34
  691. package/dist/icons/components/32px/Gift32px.js +0 -23
  692. package/dist/icons/components/32px/Hint32px.js +0 -26
  693. package/dist/icons/components/32px/Home32px.js +0 -26
  694. package/dist/icons/components/32px/Home32pxF.js +0 -23
  695. package/dist/icons/components/32px/Hot32pxF.js +0 -21
  696. package/dist/icons/components/32px/Kebab32px.js +0 -15
  697. package/dist/icons/components/32px/List32px.js +0 -21
  698. package/dist/icons/components/32px/Location32px.js +0 -34
  699. package/dist/icons/components/32px/Map32px.js +0 -23
  700. package/dist/icons/components/32px/Menu32px.js +0 -21
  701. package/dist/icons/components/32px/MenuMobile32px.js +0 -23
  702. package/dist/icons/components/32px/Minus32px.js +0 -23
  703. package/dist/icons/components/32px/Navigation32px.js +0 -23
  704. package/dist/icons/components/32px/News32px.js +0 -32
  705. package/dist/icons/components/32px/News32pxF.js +0 -23
  706. package/dist/icons/components/32px/Number32px.js +0 -32
  707. package/dist/icons/components/32px/OpenFloatMenuArrow32px.js +0 -21
  708. package/dist/icons/components/32px/OpenFloatMenuMobileArrow32px.js +0 -23
  709. package/dist/icons/components/32px/Orders32px.js +0 -41
  710. package/dist/icons/components/32px/Orders32pxF.js +0 -32
  711. package/dist/icons/components/32px/Pause32px.js +0 -15
  712. package/dist/icons/components/32px/Pen32px.js +0 -22
  713. package/dist/icons/components/32px/Pen32pxF.js +0 -23
  714. package/dist/icons/components/32px/PersonalManager32px.js +0 -110
  715. package/dist/icons/components/32px/Phone32px.js +0 -21
  716. package/dist/icons/components/32px/Play32px.js +0 -21
  717. package/dist/icons/components/32px/Plus32px.js +0 -23
  718. package/dist/icons/components/32px/Pound32px.js +0 -24
  719. package/dist/icons/components/32px/PriceDown32px.js +0 -43
  720. package/dist/icons/components/32px/PriceUp32px.js +0 -34
  721. package/dist/icons/components/32px/Question32px.js +0 -32
  722. package/dist/icons/components/32px/Question32pxF.js +0 -23
  723. package/dist/icons/components/32px/Rutube32px.js +0 -21
  724. package/dist/icons/components/32px/Scan32px.js +0 -21
  725. package/dist/icons/components/32px/Search32px.js +0 -23
  726. package/dist/icons/components/32px/Share32pxF.js +0 -21
  727. package/dist/icons/components/32px/ShopimgCard32px.js +0 -23
  728. package/dist/icons/components/32px/Sort32px.js +0 -21
  729. package/dist/icons/components/32px/Star32px.js +0 -23
  730. package/dist/icons/components/32px/Star32pxF.js +0 -21
  731. package/dist/icons/components/32px/StarHalf32pxF.js +0 -23
  732. package/dist/icons/components/32px/Telegram32pxF.js +0 -21
  733. package/dist/icons/components/32px/TelegramPlane32pxF.js +0 -21
  734. package/dist/icons/components/32px/Timer32px.js +0 -33
  735. package/dist/icons/components/32px/Trash32px.js +0 -43
  736. package/dist/icons/components/32px/TwinArrowLeft32px.js +0 -21
  737. package/dist/icons/components/32px/TwinArrowRight32px.js +0 -21
  738. package/dist/icons/components/32px/USDollar32px.js +0 -24
  739. package/dist/icons/components/32px/Umbrella32px.js +0 -23
  740. package/dist/icons/components/32px/Umbrella32pxF.js +0 -23
  741. package/dist/icons/components/32px/UnionIcon32px.js +0 -23
  742. package/dist/icons/components/32px/User32px.js +0 -32
  743. package/dist/icons/components/32px/User32pxF.js +0 -21
  744. package/dist/icons/components/32px/Users32px.js +0 -23
  745. package/dist/icons/components/32px/Users32pxF.js +0 -24
  746. package/dist/icons/components/32px/VK32pxF.js +0 -23
  747. package/dist/icons/components/32px/Waiting32px.js +0 -23
  748. package/dist/icons/components/32px/Whatsapp32px.js +0 -32
  749. package/dist/icons/components/32px/WriteUs32px.js +0 -26
  750. package/dist/icons/components/32px/Youtube32pxF.js +0 -21
  751. package/dist/icons/components/32px/Yuan32px.js +0 -24
  752. package/dist/icons/components/Mans.js +0 -21
  753. package/dist/icons/components/Step.js +0 -22
  754. package/dist/icons/components/StepXL.js +0 -32
  755. package/dist/icons/components/auto-logo/ACE.js +0 -21
  756. package/dist/icons/components/auto-logo/Alim.js +0 -23
  757. package/dist/icons/components/auto-logo/Amur.js +0 -23
  758. package/dist/icons/components/auto-logo/Ankai.js +0 -23
  759. package/dist/icons/components/auto-logo/ArrowLength.js +0 -21
  760. package/dist/icons/components/auto-logo/Audi.js +0 -20
  761. package/dist/icons/components/auto-logo/BMW.js +0 -41
  762. package/dist/icons/components/auto-logo/BRP.js +0 -32
  763. package/dist/icons/components/auto-logo/Bomag.js +0 -32
  764. package/dist/icons/components/auto-logo/Case.js +0 -23
  765. package/dist/icons/components/auto-logo/Caterpillar.js +0 -37
  766. package/dist/icons/components/auto-logo/ChMZAP.js +0 -46
  767. package/dist/icons/components/auto-logo/ChTZ.js +0 -32
  768. package/dist/icons/components/auto-logo/Changan.js +0 -21
  769. package/dist/icons/components/auto-logo/Cherry.js +0 -32
  770. package/dist/icons/components/auto-logo/Citroen.js +0 -23
  771. package/dist/icons/components/auto-logo/DaewooFull.js +0 -58
  772. package/dist/icons/components/auto-logo/DaewooSymbol.js +0 -51
  773. package/dist/icons/components/auto-logo/Daf.js +0 -23
  774. package/dist/icons/components/auto-logo/Dayun.js +0 -23
  775. package/dist/icons/components/auto-logo/DongFeng.js +0 -23
  776. package/dist/icons/components/auto-logo/Ducati.js +0 -32
  777. package/dist/icons/components/auto-logo/Exeed.js +0 -32
  778. package/dist/icons/components/auto-logo/Faw.js +0 -34
  779. package/dist/icons/components/auto-logo/Fenix.js +0 -114
  780. package/dist/icons/components/auto-logo/Fiat.js +0 -37
  781. package/dist/icons/components/auto-logo/Ford.js +0 -41
  782. package/dist/icons/components/auto-logo/Foton.js +0 -32
  783. package/dist/icons/components/auto-logo/Gac.js +0 -21
  784. package/dist/icons/components/auto-logo/Gaz.js +0 -59
  785. package/dist/icons/components/auto-logo/Geely.js +0 -25
  786. package/dist/icons/components/auto-logo/Genesis.js +0 -30
  787. package/dist/icons/components/auto-logo/Gitte.js +0 -23
  788. package/dist/icons/components/auto-logo/Grunwald.js +0 -23
  789. package/dist/icons/components/auto-logo/HartungFull.js +0 -32
  790. package/dist/icons/components/auto-logo/HartungSymbol.js +0 -32
  791. package/dist/icons/components/auto-logo/Haval.js +0 -23
  792. package/dist/icons/components/auto-logo/Higer.js +0 -23
  793. package/dist/icons/components/auto-logo/Hitachi.js +0 -21
  794. package/dist/icons/components/auto-logo/Honda.js +0 -37
  795. package/dist/icons/components/auto-logo/Hongqi.js +0 -30
  796. package/dist/icons/components/auto-logo/Hongyan.js +0 -23
  797. package/dist/icons/components/auto-logo/Howo.js +0 -46
  798. package/dist/icons/components/auto-logo/Hyundai.js +0 -23
  799. package/dist/icons/components/auto-logo/Infiniti.js +0 -21
  800. package/dist/icons/components/auto-logo/Isuzu.js +0 -23
  801. package/dist/icons/components/auto-logo/Iveco.js +0 -23
  802. package/dist/icons/components/auto-logo/JCB.js +0 -32
  803. package/dist/icons/components/auto-logo/Jac.js +0 -21
  804. package/dist/icons/components/auto-logo/Juterborg.js +0 -57
  805. package/dist/icons/components/auto-logo/KIA.js +0 -23
  806. package/dist/icons/components/auto-logo/Kaiyi.js +0 -23
  807. package/dist/icons/components/auto-logo/Kamaz.js +0 -35
  808. package/dist/icons/components/auto-logo/Kassbohrer.js +0 -23
  809. package/dist/icons/components/auto-logo/Komatsu.js +0 -21
  810. package/dist/icons/components/auto-logo/Ktm.js +0 -21
  811. package/dist/icons/components/auto-logo/LCCE.js +0 -37
  812. package/dist/icons/components/auto-logo/Lada.js +0 -23
  813. package/dist/icons/components/auto-logo/Lexus.js +0 -23
  814. package/dist/icons/components/auto-logo/LiuGong.js +0 -30
  815. package/dist/icons/components/auto-logo/Lonking.js +0 -30
  816. package/dist/icons/components/auto-logo/Lovol.js +0 -21
  817. package/dist/icons/components/auto-logo/MTZBelarus.js +0 -34
  818. package/dist/icons/components/auto-logo/Man.js +0 -21
  819. package/dist/icons/components/auto-logo/Maz.js +0 -32
  820. package/dist/icons/components/auto-logo/MercedesBenz.js +0 -23
  821. package/dist/icons/components/auto-logo/Meusburger.js +0 -23
  822. package/dist/icons/components/auto-logo/Mitsubishi.js +0 -21
  823. package/dist/icons/components/auto-logo/NefAZ.js +0 -30
  824. package/dist/icons/components/auto-logo/NursanTrailer.js +0 -21
  825. package/dist/icons/components/auto-logo/Omoda.js +0 -37
  826. package/dist/icons/components/auto-logo/PSATss.js +0 -37
  827. package/dist/icons/components/auto-logo/Paz.js +0 -23
  828. package/dist/icons/components/auto-logo/Peugeot.js +0 -21
  829. package/dist/icons/components/auto-logo/Raskat.js +0 -37
  830. package/dist/icons/components/auto-logo/Renault.js +0 -30
  831. package/dist/icons/components/auto-logo/RussianCarsEmblem.js +0 -32
  832. package/dist/icons/components/auto-logo/RussianCarsKremlin.js +0 -41
  833. package/dist/icons/components/auto-logo/Sany.js +0 -50
  834. package/dist/icons/components/auto-logo/Scania.js +0 -57
  835. package/dist/icons/components/auto-logo/Schmitz.js +0 -23
  836. package/dist/icons/components/auto-logo/Shacman.js +0 -30
  837. package/dist/icons/components/auto-logo/Shantui.js +0 -21
  838. package/dist/icons/components/auto-logo/Sinanli.js +0 -71
  839. package/dist/icons/components/auto-logo/Sitrak.js +0 -34
  840. package/dist/icons/components/auto-logo/SobolIztechmash.js +0 -60
  841. package/dist/icons/components/auto-logo/Sokol.js +0 -21
  842. package/dist/icons/components/auto-logo/Sollers.js +0 -23
  843. package/dist/icons/components/auto-logo/TitanLipetskiyZavodPricepcenter.js +0 -21
  844. package/dist/icons/components/auto-logo/Tonar.js +0 -23
  845. package/dist/icons/components/auto-logo/Toyota.js +0 -21
  846. package/dist/icons/components/auto-logo/Trekol.js +0 -34
  847. package/dist/icons/components/auto-logo/UAT.js +0 -21
  848. package/dist/icons/components/auto-logo/Uaz.js +0 -70
  849. package/dist/icons/components/auto-logo/Ural.js +0 -21
  850. package/dist/icons/components/auto-logo/VIS.js +0 -21
  851. package/dist/icons/components/auto-logo/VKR.js +0 -32
  852. package/dist/icons/components/auto-logo/Volkswagen.js +0 -23
  853. package/dist/icons/components/auto-logo/Volvo.js +0 -21
  854. package/dist/icons/components/auto-logo/Wielton.js +0 -21
  855. package/dist/icons/components/auto-logo/XCMG.js +0 -37
  856. package/dist/icons/components/auto-logo/Yutong.js +0 -72
  857. package/dist/icons/components/auto-logo/Zoomlion.js +0 -21
  858. package/dist/icons/components/car-icons/AllMetal.js +0 -32
  859. package/dist/icons/components/car-icons/AllMetalCargoAndPassenger.js +0 -32
  860. package/dist/icons/components/car-icons/AsphaltPaver.js +0 -35
  861. package/dist/icons/components/car-icons/Autotower.js +0 -32
  862. package/dist/icons/components/car-icons/Awning.js +0 -33
  863. package/dist/icons/components/car-icons/BackhoeLoader.js +0 -39
  864. package/dist/icons/components/car-icons/Buggy.js +0 -32
  865. package/dist/icons/components/car-icons/Bulldozer.js +0 -34
  866. package/dist/icons/components/car-icons/Bus.js +0 -23
  867. package/dist/icons/components/car-icons/BusBus.js +0 -32
  868. package/dist/icons/components/car-icons/BusMinibus.js +0 -32
  869. package/dist/icons/components/car-icons/BusShiftBuses.js +0 -42
  870. package/dist/icons/components/car-icons/CargoAScrapTruckFromTheCmu.js +0 -39
  871. package/dist/icons/components/car-icons/CargoAutotower.js +0 -32
  872. package/dist/icons/components/car-icons/CargoAwning.js +0 -39
  873. package/dist/icons/components/car-icons/CargoConcreteMixerTruck.js +0 -39
  874. package/dist/icons/components/car-icons/CargoDrillingRig.js +0 -32
  875. package/dist/icons/components/car-icons/CargoDumpTruck.js +0 -39
  876. package/dist/icons/components/car-icons/CargoGarbageTruck.js +0 -39
  877. package/dist/icons/components/car-icons/CargoGrainCarrier.js +0 -39
  878. package/dist/icons/components/car-icons/CargoIsothermal.js +0 -39
  879. package/dist/icons/components/car-icons/CargoOnBoard.js +0 -39
  880. package/dist/icons/components/car-icons/CargoOnBoardWithCmu.js +0 -39
  881. package/dist/icons/components/car-icons/CargoPromotionalItem.js +0 -39
  882. package/dist/icons/components/car-icons/CargoSortingTruck.js +0 -39
  883. package/dist/icons/components/car-icons/CargoTankerTruck.js +0 -39
  884. package/dist/icons/components/car-icons/CargoTowTruck.js +0 -32
  885. package/dist/icons/components/car-icons/CargoTruckCrane.js +0 -41
  886. package/dist/icons/components/car-icons/CargoVacuumMachine.js +0 -32
  887. package/dist/icons/components/car-icons/Clearance.js +0 -23
  888. package/dist/icons/components/car-icons/CombineHarvester.js +0 -39
  889. package/dist/icons/components/car-icons/Compartment.js +0 -32
  890. package/dist/icons/components/car-icons/ConcreteMixerTruck.js +0 -39
  891. package/dist/icons/components/car-icons/ConcretePump.js +0 -40
  892. package/dist/icons/components/car-icons/Crossover.js +0 -32
  893. package/dist/icons/components/car-icons/DrillingRigg.js +0 -32
  894. package/dist/icons/components/car-icons/DumpTruck.js +0 -39
  895. package/dist/icons/components/car-icons/Excavator.js +0 -23
  896. package/dist/icons/components/car-icons/ForestPreparationEquipment.js +0 -39
  897. package/dist/icons/components/car-icons/ForkliftTruck.js +0 -32
  898. package/dist/icons/components/car-icons/FrontLoader.js +0 -39
  899. package/dist/icons/components/car-icons/Hatchback.js +0 -32
  900. package/dist/icons/components/car-icons/IceRink.js +0 -34
  901. package/dist/icons/components/car-icons/Isothermal.js +0 -39
  902. package/dist/icons/components/car-icons/Liftback.js +0 -23
  903. package/dist/icons/components/car-icons/MiniEscalator.js +0 -41
  904. package/dist/icons/components/car-icons/MiniLoader.js +0 -32
  905. package/dist/icons/components/car-icons/MiningDumpTruck.js +0 -39
  906. package/dist/icons/components/car-icons/Minitractor.js +0 -32
  907. package/dist/icons/components/car-icons/Minivan.js +0 -32
  908. package/dist/icons/components/car-icons/MotorGrader.js +0 -32
  909. package/dist/icons/components/car-icons/MotorVehiclesBike.js +0 -24
  910. package/dist/icons/components/car-icons/MotorVehiclesQuadBike.js +0 -30
  911. package/dist/icons/components/car-icons/OffRoadVehicle.js +0 -32
  912. package/dist/icons/components/car-icons/OnBoard.js +0 -39
  913. package/dist/icons/components/car-icons/OnBoardCargoAndPassengerTransport.js +0 -39
  914. package/dist/icons/components/car-icons/OnBoardWithCmu.js +0 -39
  915. package/dist/icons/components/car-icons/OtherAgriculturalMachinery.js +0 -48
  916. package/dist/icons/components/car-icons/OtherCareerTechniques.js +0 -39
  917. package/dist/icons/components/car-icons/Pickup.js +0 -23
  918. package/dist/icons/components/car-icons/PickupTruck.js +0 -32
  919. package/dist/icons/components/car-icons/PilingInstallation.js +0 -34
  920. package/dist/icons/components/car-icons/PromotionalItem.js +0 -39
  921. package/dist/icons/components/car-icons/PublicUtilityVehicle.js +0 -46
  922. package/dist/icons/components/car-icons/QuarryExcavator.js +0 -26
  923. package/dist/icons/components/car-icons/Scooter.js +0 -30
  924. package/dist/icons/components/car-icons/Sedan.js +0 -32
  925. package/dist/icons/components/car-icons/Snowmobile.js +0 -39
  926. package/dist/icons/components/car-icons/TankerTruck.js +0 -39
  927. package/dist/icons/components/car-icons/TelescopicLoader.js +0 -32
  928. package/dist/icons/components/car-icons/TheLift.js +0 -37
  929. package/dist/icons/components/car-icons/TowTruck.js +0 -32
  930. package/dist/icons/components/car-icons/Tractor.js +0 -32
  931. package/dist/icons/components/car-icons/TractorTruck.js +0 -39
  932. package/dist/icons/components/car-icons/Trailerr.js +0 -23
  933. package/dist/icons/components/car-icons/TrailersCarCarrier.js +0 -41
  934. package/dist/icons/components/car-icons/TrailersCattleTruck.js +0 -32
  935. package/dist/icons/components/car-icons/TrailersContainerShip.js +0 -40
  936. package/dist/icons/components/car-icons/TrailersCurtainSide.js +0 -39
  937. package/dist/icons/components/car-icons/TrailersDumpTruck.js +0 -39
  938. package/dist/icons/components/car-icons/TrailersGrainTruck.js +0 -39
  939. package/dist/icons/components/car-icons/TrailersHeavyTruck.js +0 -39
  940. package/dist/icons/components/car-icons/TrailersIsothermal.js +0 -39
  941. package/dist/icons/components/car-icons/TrailersOther.js +0 -39
  942. package/dist/icons/components/car-icons/TrailersTankerTruck.js +0 -39
  943. package/dist/icons/components/car-icons/TruckCrane.js +0 -41
  944. package/dist/icons/components/car-icons/Universal.js +0 -32
  945. package/dist/icons/components/car-icons/Van.js +0 -23
  946. package/dist/icons/components/car-icons/Ycles.js +0 -42
  947. package/dist/icons/components/car-parameters-icons/Acceleration.js +0 -32
  948. package/dist/icons/components/car-parameters-icons/Berths.js +0 -37
  949. package/dist/icons/components/car-parameters-icons/Bucket.js +0 -21
  950. package/dist/icons/components/car-parameters-icons/BucketLoadingCapacity.js +0 -23
  951. package/dist/icons/components/car-parameters-icons/BucketVolume.js +0 -30
  952. package/dist/icons/components/car-parameters-icons/CabinTurn.js +0 -32
  953. package/dist/icons/components/car-parameters-icons/CarBodySize.js +0 -32
  954. package/dist/icons/components/car-parameters-icons/CarBodyType.js +0 -23
  955. package/dist/icons/components/car-parameters-icons/CarColor.js +0 -32
  956. package/dist/icons/components/car-parameters-icons/Cylinders.js +0 -35
  957. package/dist/icons/components/car-parameters-icons/Dimensions.js +0 -32
  958. package/dist/icons/components/car-parameters-icons/EngineType.js +0 -21
  959. package/dist/icons/components/car-parameters-icons/FuelConsumption.js +0 -21
  960. package/dist/icons/components/car-parameters-icons/GearType.js +0 -24
  961. package/dist/icons/components/car-parameters-icons/LiftingHeight.js +0 -21
  962. package/dist/icons/components/car-parameters-icons/LoadingCapacity.js +0 -23
  963. package/dist/icons/components/car-parameters-icons/NumberOfAxes.js +0 -23
  964. package/dist/icons/components/car-parameters-icons/NumberOfSeats.js +0 -21
  965. package/dist/icons/components/car-parameters-icons/TrailerType.js +0 -30
  966. package/dist/icons/components/car-parameters-icons/UnloadingType.js +0 -30
  967. package/dist/icons/components/car-parameters-icons/Weight.js +0 -34
  968. package/dist/icons/components/car-parameters-icons/WheelDriveType.js +0 -30
  969. package/dist/icons/components/car-parameters-icons/WheelSheme.js +0 -32
  970. package/dist/icons/components/cars-stubus/Bike.js +0 -23
  971. package/dist/icons/components/cars-stubus/Car.js +0 -23
  972. package/dist/icons/components/cars-stubus/Equipment.js +0 -23
  973. package/dist/icons/components/cars-stubus/Truck.js +0 -23
  974. package/dist/icons/components/index.js +0 -584
  975. package/dist/icons/index.d.ts +0 -2
  976. package/dist/icons/index.js +0 -4
  977. package/dist/index-BuVUKy18.js +0 -2658
  978. package/dist/index-DIxK0V-G.js +0 -44
  979. package/dist/index.d.ts +0 -6
  980. package/dist/index.js +0 -188
  981. package/dist/keyboard-B0lm_zyn.js +0 -573
  982. package/dist/label-y3ANLTNC.js +0 -171
  983. package/dist/open-closed-CdldUPoq.js +0 -86
  984. package/dist/portal-WDFNoIMz.js +0 -1908
  985. package/dist/styles.module-BlOA4RBL.js +0 -28
  986. package/dist/types/index.d.ts +0 -1
  987. package/dist/types/index.js +0 -1
  988. package/dist/types/propsWithAs.d.ts +0 -15
  989. package/dist/types/propsWithAs.js +0 -1
  990. package/dist/use-active-press-86hajhdd.js +0 -31
  991. package/dist/use-by-comparator-CVuf9KBq.js +0 -16
  992. package/dist/use-resolve-button-type-DhFdPxnv.js +0 -12
  993. package/dist/utils/UUID4.d.ts +0 -1
  994. package/dist/utils/UUID4.js +0 -9
  995. package/dist/utils/formating/Date.d.ts +0 -2
  996. package/dist/utils/formating/Date.js +0 -24
  997. package/dist/utils/formating/FileSize.d.ts +0 -1
  998. package/dist/utils/formating/FileSize.js +0 -12
  999. package/dist/utils/formating/Month.d.ts +0 -8
  1000. package/dist/utils/formating/Month.js +0 -79
  1001. package/dist/utils/formating/Numbers.d.ts +0 -6
  1002. package/dist/utils/formating/Numbers.js +0 -8
  1003. package/dist/utils/index.d.ts +0 -14
  1004. package/dist/utils/index.js +0 -17
  1005. package/dist/variant.module-BXn4N1h0.js +0 -12
@@ -1,3075 +0,0 @@
1
- import { jsx as V, jsxs as U, Fragment as Je } from "react/jsx-runtime";
2
- import { c as W } from "../../index-DIxK0V-G.js";
3
- import G, { useContext as Qe, forwardRef as Te, useState as K, useRef as R, useEffect as he, useLayoutEffect as et, createContext as De, memo as Ge, useCallback as re, useMemo as tt } from "react";
4
- import { EProgressBarPosition as xe } from "./constants.js";
5
- import { AppImage as Ee } from "../Image/Image.js";
6
- import { MergedButton as it } from "../MergedButton/MergedButton.js";
7
- import '../../assets/Slider.css';function Pe(t) {
8
- return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
9
- }
10
- function be(t, e) {
11
- t === void 0 && (t = {}), e === void 0 && (e = {}), Object.keys(e).forEach((i) => {
12
- typeof t[i] > "u" ? t[i] = e[i] : Pe(e[i]) && Pe(t[i]) && Object.keys(e[i]).length > 0 && be(t[i], e[i]);
13
- });
14
- }
15
- const Ne = {
16
- body: {},
17
- addEventListener() {
18
- },
19
- removeEventListener() {
20
- },
21
- activeElement: {
22
- blur() {
23
- },
24
- nodeName: ""
25
- },
26
- querySelector() {
27
- return null;
28
- },
29
- querySelectorAll() {
30
- return [];
31
- },
32
- getElementById() {
33
- return null;
34
- },
35
- createEvent() {
36
- return {
37
- initEvent() {
38
- }
39
- };
40
- },
41
- createElement() {
42
- return {
43
- children: [],
44
- childNodes: [],
45
- style: {},
46
- setAttribute() {
47
- },
48
- getElementsByTagName() {
49
- return [];
50
- }
51
- };
52
- },
53
- createElementNS() {
54
- return {};
55
- },
56
- importNode() {
57
- return null;
58
- },
59
- location: {
60
- hash: "",
61
- host: "",
62
- hostname: "",
63
- href: "",
64
- origin: "",
65
- pathname: "",
66
- protocol: "",
67
- search: ""
68
- }
69
- };
70
- function j() {
71
- const t = typeof document < "u" ? document : {};
72
- return be(t, Ne), t;
73
- }
74
- const st = {
75
- document: Ne,
76
- navigator: {
77
- userAgent: ""
78
- },
79
- location: {
80
- hash: "",
81
- host: "",
82
- hostname: "",
83
- href: "",
84
- origin: "",
85
- pathname: "",
86
- protocol: "",
87
- search: ""
88
- },
89
- history: {
90
- replaceState() {
91
- },
92
- pushState() {
93
- },
94
- go() {
95
- },
96
- back() {
97
- }
98
- },
99
- CustomEvent: function() {
100
- return this;
101
- },
102
- addEventListener() {
103
- },
104
- removeEventListener() {
105
- },
106
- getComputedStyle() {
107
- return {
108
- getPropertyValue() {
109
- return "";
110
- }
111
- };
112
- },
113
- Image() {
114
- },
115
- Date() {
116
- },
117
- screen: {},
118
- setTimeout() {
119
- },
120
- clearTimeout() {
121
- },
122
- matchMedia() {
123
- return {};
124
- },
125
- requestAnimationFrame(t) {
126
- return typeof setTimeout > "u" ? (t(), null) : setTimeout(t, 0);
127
- },
128
- cancelAnimationFrame(t) {
129
- typeof setTimeout > "u" || clearTimeout(t);
130
- }
131
- };
132
- function F() {
133
- const t = typeof window < "u" ? window : {};
134
- return be(t, st), t;
135
- }
136
- function rt(t) {
137
- return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
138
- }
139
- function nt(t) {
140
- const e = t;
141
- Object.keys(e).forEach((i) => {
142
- try {
143
- e[i] = null;
144
- } catch {
145
- }
146
- try {
147
- delete e[i];
148
- } catch {
149
- }
150
- });
151
- }
152
- function ge(t, e) {
153
- return e === void 0 && (e = 0), setTimeout(t, e);
154
- }
155
- function ne() {
156
- return Date.now();
157
- }
158
- function at(t) {
159
- const e = F();
160
- let i;
161
- return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
162
- }
163
- function lt(t, e) {
164
- e === void 0 && (e = "x");
165
- const i = F();
166
- let s, n, r;
167
- const l = at(t);
168
- return i.WebKitCSSMatrix ? (n = l.transform || l.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map((o) => o.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(n === "none" ? "" : n)) : (r = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), s = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? n = r.m41 : s.length === 16 ? n = parseFloat(s[12]) : n = parseFloat(s[4])), e === "y" && (i.WebKitCSSMatrix ? n = r.m42 : s.length === 16 ? n = parseFloat(s[13]) : n = parseFloat(s[5])), n || 0;
169
- }
170
- function te(t) {
171
- return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
172
- }
173
- function ot(t) {
174
- return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
175
- }
176
- function B() {
177
- const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
178
- for (let i = 1; i < arguments.length; i += 1) {
179
- const s = i < 0 || arguments.length <= i ? void 0 : arguments[i];
180
- if (s != null && !ot(s)) {
181
- const n = Object.keys(Object(s)).filter((r) => e.indexOf(r) < 0);
182
- for (let r = 0, l = n.length; r < l; r += 1) {
183
- const o = n[r], a = Object.getOwnPropertyDescriptor(s, o);
184
- a !== void 0 && a.enumerable && (te(t[o]) && te(s[o]) ? s[o].__swiper__ ? t[o] = s[o] : B(t[o], s[o]) : !te(t[o]) && te(s[o]) ? (t[o] = {}, s[o].__swiper__ ? t[o] = s[o] : B(t[o], s[o])) : t[o] = s[o]);
185
- }
186
- }
187
- }
188
- return t;
189
- }
190
- function ie(t, e, i) {
191
- t.style.setProperty(e, i);
192
- }
193
- function Ve(t) {
194
- let {
195
- swiper: e,
196
- targetPosition: i,
197
- side: s
198
- } = t;
199
- const n = F(), r = -e.translate;
200
- let l = null, o;
201
- const a = e.params.speed;
202
- e.wrapperEl.style.scrollSnapType = "none", n.cancelAnimationFrame(e.cssModeFrameID);
203
- const u = i > r ? "next" : "prev", d = (p, f) => u === "next" && p >= f || u === "prev" && p <= f, c = () => {
204
- o = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = o);
205
- const p = Math.max(Math.min((o - l) / a, 1), 0), f = 0.5 - Math.cos(p * Math.PI) / 2;
206
- let h = r + f * (i - r);
207
- if (d(h, i) && (h = i), e.wrapperEl.scrollTo({
208
- [s]: h
209
- }), d(h, i)) {
210
- e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
211
- e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
212
- [s]: h
213
- });
214
- }), n.cancelAnimationFrame(e.cssModeFrameID);
215
- return;
216
- }
217
- e.cssModeFrameID = n.requestAnimationFrame(c);
218
- };
219
- c();
220
- }
221
- function H(t, e) {
222
- return e === void 0 && (e = ""), [...t.children].filter((i) => i.matches(e));
223
- }
224
- function ae(t) {
225
- try {
226
- console.warn(t);
227
- return;
228
- } catch {
229
- }
230
- }
231
- function ve(t, e) {
232
- e === void 0 && (e = []);
233
- const i = document.createElement(t);
234
- return i.classList.add(...Array.isArray(e) ? e : rt(e)), i;
235
- }
236
- function dt(t, e) {
237
- const i = [];
238
- for (; t.previousElementSibling; ) {
239
- const s = t.previousElementSibling;
240
- e ? s.matches(e) && i.push(s) : i.push(s), t = s;
241
- }
242
- return i;
243
- }
244
- function ct(t, e) {
245
- const i = [];
246
- for (; t.nextElementSibling; ) {
247
- const s = t.nextElementSibling;
248
- e ? s.matches(e) && i.push(s) : i.push(s), t = s;
249
- }
250
- return i;
251
- }
252
- function q(t, e) {
253
- return F().getComputedStyle(t, null).getPropertyValue(e);
254
- }
255
- function Me(t) {
256
- let e = t, i;
257
- if (e) {
258
- for (i = 0; (e = e.previousSibling) !== null; )
259
- e.nodeType === 1 && (i += 1);
260
- return i;
261
- }
262
- }
263
- function ut(t, e) {
264
- const i = [];
265
- let s = t.parentElement;
266
- for (; s; )
267
- i.push(s), s = s.parentElement;
268
- return i;
269
- }
270
- function Ce(t, e, i) {
271
- const s = F();
272
- return t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
273
- }
274
- function ft(t) {
275
- let {
276
- swiper: e,
277
- extendParams: i,
278
- on: s,
279
- emit: n,
280
- params: r
281
- } = t;
282
- e.autoplay = {
283
- running: !1,
284
- paused: !1,
285
- timeLeft: 0
286
- }, i({
287
- autoplay: {
288
- enabled: !1,
289
- delay: 3e3,
290
- waitForTransition: !0,
291
- disableOnInteraction: !1,
292
- stopOnLastSlide: !1,
293
- reverseDirection: !1,
294
- pauseOnMouseEnter: !1
295
- }
296
- });
297
- let l, o, a = r && r.autoplay ? r.autoplay.delay : 3e3, u = r && r.autoplay ? r.autoplay.delay : 3e3, d, c = (/* @__PURE__ */ new Date()).getTime(), p, f, h, v, T, m, x;
298
- function g(L) {
299
- !e || e.destroyed || !e.wrapperEl || L.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", g), !(x || L.detail && L.detail.bySwiperTouchMove) && w());
300
- }
301
- const S = () => {
302
- if (e.destroyed || !e.autoplay.running) return;
303
- e.autoplay.paused ? p = !0 : p && (u = d, p = !1);
304
- const L = e.autoplay.paused ? d : c + u - (/* @__PURE__ */ new Date()).getTime();
305
- e.autoplay.timeLeft = L, n("autoplayTimeLeft", L, L / a), o = requestAnimationFrame(() => {
306
- S();
307
- });
308
- }, b = () => {
309
- let L;
310
- return e.virtual && e.params.virtual.enabled ? L = e.slides.filter((z) => z.classList.contains("swiper-slide-active"))[0] : L = e.slides[e.activeIndex], L ? parseInt(L.getAttribute("data-swiper-autoplay"), 10) : void 0;
311
- }, I = (L) => {
312
- if (e.destroyed || !e.autoplay.running) return;
313
- cancelAnimationFrame(o), S();
314
- let _ = typeof L > "u" ? e.params.autoplay.delay : L;
315
- a = e.params.autoplay.delay, u = e.params.autoplay.delay;
316
- const z = b();
317
- !Number.isNaN(z) && z > 0 && typeof L > "u" && (_ = z, a = z, u = z), d = _;
318
- const Y = e.params.speed, ee = () => {
319
- !e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(Y, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, Y, !0, !0), n("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(Y, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, Y, !0, !0), n("autoplay")), e.params.cssMode && (c = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
320
- I();
321
- })));
322
- };
323
- return _ > 0 ? (clearTimeout(l), l = setTimeout(() => {
324
- ee();
325
- }, _)) : requestAnimationFrame(() => {
326
- ee();
327
- }), _;
328
- }, A = () => {
329
- c = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, I(), n("autoplayStart");
330
- }, P = () => {
331
- e.autoplay.running = !1, clearTimeout(l), cancelAnimationFrame(o), n("autoplayStop");
332
- }, y = (L, _) => {
333
- if (e.destroyed || !e.autoplay.running) return;
334
- clearTimeout(l), L || (m = !0);
335
- const z = () => {
336
- n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", g) : w();
337
- };
338
- if (e.autoplay.paused = !0, _) {
339
- T && (d = e.params.autoplay.delay), T = !1, z();
340
- return;
341
- }
342
- d = (d || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - c), !(e.isEnd && d < 0 && !e.params.loop) && (d < 0 && (d = 0), z());
343
- }, w = () => {
344
- e.isEnd && d < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (c = (/* @__PURE__ */ new Date()).getTime(), m ? (m = !1, I(d)) : I(), e.autoplay.paused = !1, n("autoplayResume"));
345
- }, E = () => {
346
- if (e.destroyed || !e.autoplay.running) return;
347
- const L = j();
348
- L.visibilityState === "hidden" && (m = !0, y(!0)), L.visibilityState === "visible" && w();
349
- }, C = (L) => {
350
- L.pointerType === "mouse" && (m = !0, x = !0, !(e.animating || e.autoplay.paused) && y(!0));
351
- }, M = (L) => {
352
- L.pointerType === "mouse" && (x = !1, e.autoplay.paused && w());
353
- }, O = () => {
354
- e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", C), e.el.addEventListener("pointerleave", M));
355
- }, D = () => {
356
- e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", C), e.el.removeEventListener("pointerleave", M));
357
- }, $ = () => {
358
- j().addEventListener("visibilitychange", E);
359
- }, J = () => {
360
- j().removeEventListener("visibilitychange", E);
361
- };
362
- s("init", () => {
363
- e.params.autoplay.enabled && (O(), $(), A());
364
- }), s("destroy", () => {
365
- D(), J(), e.autoplay.running && P();
366
- }), s("_freeModeStaticRelease", () => {
367
- (h || m) && w();
368
- }), s("_freeModeNoMomentumRelease", () => {
369
- e.params.autoplay.disableOnInteraction ? P() : y(!0, !0);
370
- }), s("beforeTransitionStart", (L, _, z) => {
371
- e.destroyed || !e.autoplay.running || (z || !e.params.autoplay.disableOnInteraction ? y(!0, !0) : P());
372
- }), s("sliderFirstMove", () => {
373
- if (!(e.destroyed || !e.autoplay.running)) {
374
- if (e.params.autoplay.disableOnInteraction) {
375
- P();
376
- return;
377
- }
378
- f = !0, h = !1, m = !1, v = setTimeout(() => {
379
- m = !0, h = !0, y(!0);
380
- }, 200);
381
- }
382
- }), s("touchEnd", () => {
383
- if (!(e.destroyed || !e.autoplay.running || !f)) {
384
- if (clearTimeout(v), clearTimeout(l), e.params.autoplay.disableOnInteraction) {
385
- h = !1, f = !1;
386
- return;
387
- }
388
- h && e.params.cssMode && w(), h = !1, f = !1;
389
- }
390
- }), s("slideChange", () => {
391
- e.destroyed || !e.autoplay.running || (T = !0);
392
- }), Object.assign(e.autoplay, {
393
- start: A,
394
- stop: P,
395
- pause: y,
396
- resume: w
397
- });
398
- }
399
- let oe;
400
- function pt() {
401
- const t = F(), e = j();
402
- return {
403
- smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
404
- touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
405
- };
406
- }
407
- function Be() {
408
- return oe || (oe = pt()), oe;
409
- }
410
- let de;
411
- function mt(t) {
412
- let {
413
- userAgent: e
414
- } = t === void 0 ? {} : t;
415
- const i = Be(), s = F(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
416
- ios: !1,
417
- android: !1
418
- }, o = s.screen.width, a = s.screen.height, u = r.match(/(Android);?[\s\/]+([\d.]+)?/);
419
- let d = r.match(/(iPad).*OS\s([\d_]+)/);
420
- const c = r.match(/(iPod)(.*OS\s([\d_]+))?/), p = !d && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), f = n === "Win32";
421
- let h = n === "MacIntel";
422
- const v = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
423
- return !d && h && i.touch && v.indexOf(`${o}x${a}`) >= 0 && (d = r.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), h = !1), u && !f && (l.os = "android", l.android = !0), (d || p || c) && (l.os = "ios", l.ios = !0), l;
424
- }
425
- function Fe(t) {
426
- return t === void 0 && (t = {}), de || (de = mt(t)), de;
427
- }
428
- let ce;
429
- function ht() {
430
- const t = F(), e = Fe();
431
- let i = !1;
432
- function s() {
433
- const o = t.navigator.userAgent.toLowerCase();
434
- return o.indexOf("safari") >= 0 && o.indexOf("chrome") < 0 && o.indexOf("android") < 0;
435
- }
436
- if (s()) {
437
- const o = String(t.navigator.userAgent);
438
- if (o.includes("Version/")) {
439
- const [a, u] = o.split("Version/")[1].split(" ")[0].split(".").map((d) => Number(d));
440
- i = a < 16 || a === 16 && u < 2;
441
- }
442
- }
443
- const n = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent), r = s(), l = r || n && e.ios;
444
- return {
445
- isSafari: i || r,
446
- needPerspectiveFix: i,
447
- need3dFix: l,
448
- isWebView: n
449
- };
450
- }
451
- function gt() {
452
- return ce || (ce = ht()), ce;
453
- }
454
- function vt(t) {
455
- let {
456
- swiper: e,
457
- on: i,
458
- emit: s
459
- } = t;
460
- const n = F();
461
- let r = null, l = null;
462
- const o = () => {
463
- !e || e.destroyed || !e.initialized || (s("beforeResize"), s("resize"));
464
- }, a = () => {
465
- !e || e.destroyed || !e.initialized || (r = new ResizeObserver((c) => {
466
- l = n.requestAnimationFrame(() => {
467
- const {
468
- width: p,
469
- height: f
470
- } = e;
471
- let h = p, v = f;
472
- c.forEach((T) => {
473
- let {
474
- contentBoxSize: m,
475
- contentRect: x,
476
- target: g
477
- } = T;
478
- g && g !== e.el || (h = x ? x.width : (m[0] || m).inlineSize, v = x ? x.height : (m[0] || m).blockSize);
479
- }), (h !== p || v !== f) && o();
480
- });
481
- }), r.observe(e.el));
482
- }, u = () => {
483
- l && n.cancelAnimationFrame(l), r && r.unobserve && e.el && (r.unobserve(e.el), r = null);
484
- }, d = () => {
485
- !e || e.destroyed || !e.initialized || s("orientationchange");
486
- };
487
- i("init", () => {
488
- if (e.params.resizeObserver && typeof n.ResizeObserver < "u") {
489
- a();
490
- return;
491
- }
492
- n.addEventListener("resize", o), n.addEventListener("orientationchange", d);
493
- }), i("destroy", () => {
494
- u(), n.removeEventListener("resize", o), n.removeEventListener("orientationchange", d);
495
- });
496
- }
497
- function wt(t) {
498
- let {
499
- swiper: e,
500
- extendParams: i,
501
- on: s,
502
- emit: n
503
- } = t;
504
- const r = [], l = F(), o = function(d, c) {
505
- c === void 0 && (c = {});
506
- const p = l.MutationObserver || l.WebkitMutationObserver, f = new p((h) => {
507
- if (e.__preventObserver__) return;
508
- if (h.length === 1) {
509
- n("observerUpdate", h[0]);
510
- return;
511
- }
512
- const v = function() {
513
- n("observerUpdate", h[0]);
514
- };
515
- l.requestAnimationFrame ? l.requestAnimationFrame(v) : l.setTimeout(v, 0);
516
- });
517
- f.observe(d, {
518
- attributes: typeof c.attributes > "u" ? !0 : c.attributes,
519
- childList: e.isElement || (typeof c.childList > "u" ? !0 : c).childList,
520
- characterData: typeof c.characterData > "u" ? !0 : c.characterData
521
- }), r.push(f);
522
- }, a = () => {
523
- if (e.params.observer) {
524
- if (e.params.observeParents) {
525
- const d = ut(e.hostEl);
526
- for (let c = 0; c < d.length; c += 1)
527
- o(d[c]);
528
- }
529
- o(e.hostEl, {
530
- childList: e.params.observeSlideChildren
531
- }), o(e.wrapperEl, {
532
- attributes: !1
533
- });
534
- }
535
- }, u = () => {
536
- r.forEach((d) => {
537
- d.disconnect();
538
- }), r.splice(0, r.length);
539
- };
540
- i({
541
- observer: !1,
542
- observeParents: !1,
543
- observeSlideChildren: !1
544
- }), s("init", a), s("destroy", u);
545
- }
546
- var St = {
547
- on(t, e, i) {
548
- const s = this;
549
- if (!s.eventsListeners || s.destroyed || typeof e != "function") return s;
550
- const n = i ? "unshift" : "push";
551
- return t.split(" ").forEach((r) => {
552
- s.eventsListeners[r] || (s.eventsListeners[r] = []), s.eventsListeners[r][n](e);
553
- }), s;
554
- },
555
- once(t, e, i) {
556
- const s = this;
557
- if (!s.eventsListeners || s.destroyed || typeof e != "function") return s;
558
- function n() {
559
- s.off(t, n), n.__emitterProxy && delete n.__emitterProxy;
560
- for (var r = arguments.length, l = new Array(r), o = 0; o < r; o++)
561
- l[o] = arguments[o];
562
- e.apply(s, l);
563
- }
564
- return n.__emitterProxy = e, s.on(t, n, i);
565
- },
566
- onAny(t, e) {
567
- const i = this;
568
- if (!i.eventsListeners || i.destroyed || typeof t != "function") return i;
569
- const s = e ? "unshift" : "push";
570
- return i.eventsAnyListeners.indexOf(t) < 0 && i.eventsAnyListeners[s](t), i;
571
- },
572
- offAny(t) {
573
- const e = this;
574
- if (!e.eventsListeners || e.destroyed || !e.eventsAnyListeners) return e;
575
- const i = e.eventsAnyListeners.indexOf(t);
576
- return i >= 0 && e.eventsAnyListeners.splice(i, 1), e;
577
- },
578
- off(t, e) {
579
- const i = this;
580
- return !i.eventsListeners || i.destroyed || !i.eventsListeners || t.split(" ").forEach((s) => {
581
- typeof e > "u" ? i.eventsListeners[s] = [] : i.eventsListeners[s] && i.eventsListeners[s].forEach((n, r) => {
582
- (n === e || n.__emitterProxy && n.__emitterProxy === e) && i.eventsListeners[s].splice(r, 1);
583
- });
584
- }), i;
585
- },
586
- emit() {
587
- const t = this;
588
- if (!t.eventsListeners || t.destroyed || !t.eventsListeners) return t;
589
- let e, i, s;
590
- for (var n = arguments.length, r = new Array(n), l = 0; l < n; l++)
591
- r[l] = arguments[l];
592
- return typeof r[0] == "string" || Array.isArray(r[0]) ? (e = r[0], i = r.slice(1, r.length), s = t) : (e = r[0].events, i = r[0].data, s = r[0].context || t), i.unshift(s), (Array.isArray(e) ? e : e.split(" ")).forEach((a) => {
593
- t.eventsAnyListeners && t.eventsAnyListeners.length && t.eventsAnyListeners.forEach((u) => {
594
- u.apply(s, [a, ...i]);
595
- }), t.eventsListeners && t.eventsListeners[a] && t.eventsListeners[a].forEach((u) => {
596
- u.apply(s, i);
597
- });
598
- }), t;
599
- }
600
- };
601
- function Tt() {
602
- const t = this;
603
- let e, i;
604
- const s = t.el;
605
- typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = s.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = s.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(q(s, "padding-left") || 0, 10) - parseInt(q(s, "padding-right") || 0, 10), i = i - parseInt(q(s, "padding-top") || 0, 10) - parseInt(q(s, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
606
- width: e,
607
- height: i,
608
- size: t.isHorizontal() ? e : i
609
- }));
610
- }
611
- function bt() {
612
- const t = this;
613
- function e(w, E) {
614
- return parseFloat(w.getPropertyValue(t.getDirectionLabel(E)) || 0);
615
- }
616
- const i = t.params, {
617
- wrapperEl: s,
618
- slidesEl: n,
619
- size: r,
620
- rtlTranslate: l,
621
- wrongRTL: o
622
- } = t, a = t.virtual && i.virtual.enabled, u = a ? t.virtual.slides.length : t.slides.length, d = H(n, `.${t.params.slideClass}, swiper-slide`), c = a ? t.virtual.slides.length : d.length;
623
- let p = [];
624
- const f = [], h = [];
625
- let v = i.slidesOffsetBefore;
626
- typeof v == "function" && (v = i.slidesOffsetBefore.call(t));
627
- let T = i.slidesOffsetAfter;
628
- typeof T == "function" && (T = i.slidesOffsetAfter.call(t));
629
- const m = t.snapGrid.length, x = t.slidesGrid.length;
630
- let g = i.spaceBetween, S = -v, b = 0, I = 0;
631
- if (typeof r > "u")
632
- return;
633
- typeof g == "string" && g.indexOf("%") >= 0 ? g = parseFloat(g.replace("%", "")) / 100 * r : typeof g == "string" && (g = parseFloat(g)), t.virtualSize = -g, d.forEach((w) => {
634
- l ? w.style.marginLeft = "" : w.style.marginRight = "", w.style.marginBottom = "", w.style.marginTop = "";
635
- }), i.centeredSlides && i.cssMode && (ie(s, "--swiper-centered-offset-before", ""), ie(s, "--swiper-centered-offset-after", ""));
636
- const A = i.grid && i.grid.rows > 1 && t.grid;
637
- A ? t.grid.initSlides(d) : t.grid && t.grid.unsetSlides();
638
- let P;
639
- const y = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((w) => typeof i.breakpoints[w].slidesPerView < "u").length > 0;
640
- for (let w = 0; w < c; w += 1) {
641
- P = 0;
642
- let E;
643
- if (d[w] && (E = d[w]), A && t.grid.updateSlide(w, E, d), !(d[w] && q(E, "display") === "none")) {
644
- if (i.slidesPerView === "auto") {
645
- y && (d[w].style[t.getDirectionLabel("width")] = "");
646
- const C = getComputedStyle(E), M = E.style.transform, O = E.style.webkitTransform;
647
- if (M && (E.style.transform = "none"), O && (E.style.webkitTransform = "none"), i.roundLengths)
648
- P = t.isHorizontal() ? Ce(E, "width") : Ce(E, "height");
649
- else {
650
- const D = e(C, "width"), $ = e(C, "padding-left"), J = e(C, "padding-right"), L = e(C, "margin-left"), _ = e(C, "margin-right"), z = C.getPropertyValue("box-sizing");
651
- if (z && z === "border-box")
652
- P = D + L + _;
653
- else {
654
- const {
655
- clientWidth: Y,
656
- offsetWidth: ee
657
- } = E;
658
- P = D + $ + J + L + _ + (ee - Y);
659
- }
660
- }
661
- M && (E.style.transform = M), O && (E.style.webkitTransform = O), i.roundLengths && (P = Math.floor(P));
662
- } else
663
- P = (r - (i.slidesPerView - 1) * g) / i.slidesPerView, i.roundLengths && (P = Math.floor(P)), d[w] && (d[w].style[t.getDirectionLabel("width")] = `${P}px`);
664
- d[w] && (d[w].swiperSlideSize = P), h.push(P), i.centeredSlides ? (S = S + P / 2 + b / 2 + g, b === 0 && w !== 0 && (S = S - r / 2 - g), w === 0 && (S = S - r / 2 - g), Math.abs(S) < 1 / 1e3 && (S = 0), i.roundLengths && (S = Math.floor(S)), I % i.slidesPerGroup === 0 && p.push(S), f.push(S)) : (i.roundLengths && (S = Math.floor(S)), (I - Math.min(t.params.slidesPerGroupSkip, I)) % t.params.slidesPerGroup === 0 && p.push(S), f.push(S), S = S + P + g), t.virtualSize += P + g, b = P, I += 1;
665
- }
666
- }
667
- if (t.virtualSize = Math.max(t.virtualSize, r) + T, l && o && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + g}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + g}px`), A && t.grid.updateWrapperSize(P, p), !i.centeredSlides) {
668
- const w = [];
669
- for (let E = 0; E < p.length; E += 1) {
670
- let C = p[E];
671
- i.roundLengths && (C = Math.floor(C)), p[E] <= t.virtualSize - r && w.push(C);
672
- }
673
- p = w, Math.floor(t.virtualSize - r) - Math.floor(p[p.length - 1]) > 1 && p.push(t.virtualSize - r);
674
- }
675
- if (a && i.loop) {
676
- const w = h[0] + g;
677
- if (i.slidesPerGroup > 1) {
678
- const E = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), C = w * i.slidesPerGroup;
679
- for (let M = 0; M < E; M += 1)
680
- p.push(p[p.length - 1] + C);
681
- }
682
- for (let E = 0; E < t.virtual.slidesBefore + t.virtual.slidesAfter; E += 1)
683
- i.slidesPerGroup === 1 && p.push(p[p.length - 1] + w), f.push(f[f.length - 1] + w), t.virtualSize += w;
684
- }
685
- if (p.length === 0 && (p = [0]), g !== 0) {
686
- const w = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
687
- d.filter((E, C) => !i.cssMode || i.loop ? !0 : C !== d.length - 1).forEach((E) => {
688
- E.style[w] = `${g}px`;
689
- });
690
- }
691
- if (i.centeredSlides && i.centeredSlidesBounds) {
692
- let w = 0;
693
- h.forEach((C) => {
694
- w += C + (g || 0);
695
- }), w -= g;
696
- const E = w - r;
697
- p = p.map((C) => C <= 0 ? -v : C > E ? E + T : C);
698
- }
699
- if (i.centerInsufficientSlides) {
700
- let w = 0;
701
- h.forEach((C) => {
702
- w += C + (g || 0);
703
- }), w -= g;
704
- const E = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
705
- if (w + E < r) {
706
- const C = (r - w - E) / 2;
707
- p.forEach((M, O) => {
708
- p[O] = M - C;
709
- }), f.forEach((M, O) => {
710
- f[O] = M + C;
711
- });
712
- }
713
- }
714
- if (Object.assign(t, {
715
- slides: d,
716
- snapGrid: p,
717
- slidesGrid: f,
718
- slidesSizesGrid: h
719
- }), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
720
- ie(s, "--swiper-centered-offset-before", `${-p[0]}px`), ie(s, "--swiper-centered-offset-after", `${t.size / 2 - h[h.length - 1] / 2}px`);
721
- const w = -t.snapGrid[0], E = -t.slidesGrid[0];
722
- t.snapGrid = t.snapGrid.map((C) => C + w), t.slidesGrid = t.slidesGrid.map((C) => C + E);
723
- }
724
- if (c !== u && t.emit("slidesLengthChange"), p.length !== m && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), f.length !== x && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !a && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
725
- const w = `${i.containerModifierClass}backface-hidden`, E = t.el.classList.contains(w);
726
- c <= i.maxBackfaceHiddenSlides ? E || t.el.classList.add(w) : E && t.el.classList.remove(w);
727
- }
728
- }
729
- function yt(t) {
730
- const e = this, i = [], s = e.virtual && e.params.virtual.enabled;
731
- let n = 0, r;
732
- typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
733
- const l = (o) => s ? e.slides[e.getSlideIndexByData(o)] : e.slides[o];
734
- if (e.params.slidesPerView !== "auto" && e.params.slidesPerView > 1)
735
- if (e.params.centeredSlides)
736
- (e.visibleSlides || []).forEach((o) => {
737
- i.push(o);
738
- });
739
- else
740
- for (r = 0; r < Math.ceil(e.params.slidesPerView); r += 1) {
741
- const o = e.activeIndex + r;
742
- if (o > e.slides.length && !s) break;
743
- i.push(l(o));
744
- }
745
- else
746
- i.push(l(e.activeIndex));
747
- for (r = 0; r < i.length; r += 1)
748
- if (typeof i[r] < "u") {
749
- const o = i[r].offsetHeight;
750
- n = o > n ? o : n;
751
- }
752
- (n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
753
- }
754
- function xt() {
755
- const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
756
- for (let s = 0; s < e.length; s += 1)
757
- e[s].swiperSlideOffset = (t.isHorizontal() ? e[s].offsetLeft : e[s].offsetTop) - i - t.cssOverflowAdjustment();
758
- }
759
- const Ie = (t, e, i) => {
760
- e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
761
- };
762
- function Et(t) {
763
- t === void 0 && (t = this && this.translate || 0);
764
- const e = this, i = e.params, {
765
- slides: s,
766
- rtlTranslate: n,
767
- snapGrid: r
768
- } = e;
769
- if (s.length === 0) return;
770
- typeof s[0].swiperSlideOffset > "u" && e.updateSlidesOffset();
771
- let l = -t;
772
- n && (l = t), e.visibleSlidesIndexes = [], e.visibleSlides = [];
773
- let o = i.spaceBetween;
774
- typeof o == "string" && o.indexOf("%") >= 0 ? o = parseFloat(o.replace("%", "")) / 100 * e.size : typeof o == "string" && (o = parseFloat(o));
775
- for (let a = 0; a < s.length; a += 1) {
776
- const u = s[a];
777
- let d = u.swiperSlideOffset;
778
- i.cssMode && i.centeredSlides && (d -= s[0].swiperSlideOffset);
779
- const c = (l + (i.centeredSlides ? e.minTranslate() : 0) - d) / (u.swiperSlideSize + o), p = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - d) / (u.swiperSlideSize + o), f = -(l - d), h = f + e.slidesSizesGrid[a], v = f >= 0 && f <= e.size - e.slidesSizesGrid[a], T = f >= 0 && f < e.size - 1 || h > 1 && h <= e.size || f <= 0 && h >= e.size;
780
- T && (e.visibleSlides.push(u), e.visibleSlidesIndexes.push(a)), Ie(u, T, i.slideVisibleClass), Ie(u, v, i.slideFullyVisibleClass), u.progress = n ? -c : c, u.originalProgress = n ? -p : p;
781
- }
782
- }
783
- function Pt(t) {
784
- const e = this;
785
- if (typeof t > "u") {
786
- const d = e.rtlTranslate ? -1 : 1;
787
- t = e && e.translate && e.translate * d || 0;
788
- }
789
- const i = e.params, s = e.maxTranslate() - e.minTranslate();
790
- let {
791
- progress: n,
792
- isBeginning: r,
793
- isEnd: l,
794
- progressLoop: o
795
- } = e;
796
- const a = r, u = l;
797
- if (s === 0)
798
- n = 0, r = !0, l = !0;
799
- else {
800
- n = (t - e.minTranslate()) / s;
801
- const d = Math.abs(t - e.minTranslate()) < 1, c = Math.abs(t - e.maxTranslate()) < 1;
802
- r = d || n <= 0, l = c || n >= 1, d && (n = 0), c && (n = 1);
803
- }
804
- if (i.loop) {
805
- const d = e.getSlideIndexByData(0), c = e.getSlideIndexByData(e.slides.length - 1), p = e.slidesGrid[d], f = e.slidesGrid[c], h = e.slidesGrid[e.slidesGrid.length - 1], v = Math.abs(t);
806
- v >= p ? o = (v - p) / h : o = (v + h - f) / h, o > 1 && (o -= 1);
807
- }
808
- Object.assign(e, {
809
- progress: n,
810
- progressLoop: o,
811
- isBeginning: r,
812
- isEnd: l
813
- }), (i.watchSlidesProgress || i.centeredSlides && i.autoHeight) && e.updateSlidesProgress(t), r && !a && e.emit("reachBeginning toEdge"), l && !u && e.emit("reachEnd toEdge"), (a && !r || u && !l) && e.emit("fromEdge"), e.emit("progress", n);
814
- }
815
- const ue = (t, e, i) => {
816
- e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
817
- };
818
- function Mt() {
819
- const t = this, {
820
- slides: e,
821
- params: i,
822
- slidesEl: s,
823
- activeIndex: n
824
- } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, o = (c) => H(s, `.${i.slideClass}${c}, swiper-slide${c}`)[0];
825
- let a, u, d;
826
- if (r)
827
- if (i.loop) {
828
- let c = n - t.virtual.slidesBefore;
829
- c < 0 && (c = t.virtual.slides.length + c), c >= t.virtual.slides.length && (c -= t.virtual.slides.length), a = o(`[data-swiper-slide-index="${c}"]`);
830
- } else
831
- a = o(`[data-swiper-slide-index="${n}"]`);
832
- else
833
- l ? (a = e.filter((c) => c.column === n)[0], d = e.filter((c) => c.column === n + 1)[0], u = e.filter((c) => c.column === n - 1)[0]) : a = e[n];
834
- a && (l || (d = ct(a, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d && (d = e[0]), u = dt(a, `.${i.slideClass}, swiper-slide`)[0], i.loop && !u === 0 && (u = e[e.length - 1]))), e.forEach((c) => {
835
- ue(c, c === a, i.slideActiveClass), ue(c, c === d, i.slideNextClass), ue(c, c === u, i.slidePrevClass);
836
- }), t.emitSlidesClasses();
837
- }
838
- const se = (t, e) => {
839
- if (!t || t.destroyed || !t.params) return;
840
- const i = () => t.isElement ? "swiper-slide" : `.${t.params.slideClass}`, s = e.closest(i());
841
- if (s) {
842
- let n = s.querySelector(`.${t.params.lazyPreloaderClass}`);
843
- !n && t.isElement && (s.shadowRoot ? n = s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`) : requestAnimationFrame(() => {
844
- s.shadowRoot && (n = s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`), n && n.remove());
845
- })), n && n.remove();
846
- }
847
- }, fe = (t, e) => {
848
- if (!t.slides[e]) return;
849
- const i = t.slides[e].querySelector('[loading="lazy"]');
850
- i && i.removeAttribute("loading");
851
- }, we = (t) => {
852
- if (!t || t.destroyed || !t.params) return;
853
- let e = t.params.lazyPreloadPrevNext;
854
- const i = t.slides.length;
855
- if (!i || !e || e < 0) return;
856
- e = Math.min(e, i);
857
- const s = t.params.slidesPerView === "auto" ? t.slidesPerViewDynamic() : Math.ceil(t.params.slidesPerView), n = t.activeIndex;
858
- if (t.params.grid && t.params.grid.rows > 1) {
859
- const l = n, o = [l - e];
860
- o.push(...Array.from({
861
- length: e
862
- }).map((a, u) => l + s + u)), t.slides.forEach((a, u) => {
863
- o.includes(a.column) && fe(t, u);
864
- });
865
- return;
866
- }
867
- const r = n + s - 1;
868
- if (t.params.rewind || t.params.loop)
869
- for (let l = n - e; l <= r + e; l += 1) {
870
- const o = (l % i + i) % i;
871
- (o < n || o > r) && fe(t, o);
872
- }
873
- else
874
- for (let l = Math.max(n - e, 0); l <= Math.min(r + e, i - 1); l += 1)
875
- l !== n && (l > r || l < n) && fe(t, l);
876
- };
877
- function Ct(t) {
878
- const {
879
- slidesGrid: e,
880
- params: i
881
- } = t, s = t.rtlTranslate ? t.translate : -t.translate;
882
- let n;
883
- for (let r = 0; r < e.length; r += 1)
884
- typeof e[r + 1] < "u" ? s >= e[r] && s < e[r + 1] - (e[r + 1] - e[r]) / 2 ? n = r : s >= e[r] && s < e[r + 1] && (n = r + 1) : s >= e[r] && (n = r);
885
- return i.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
886
- }
887
- function It(t) {
888
- const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
889
- snapGrid: s,
890
- params: n,
891
- activeIndex: r,
892
- realIndex: l,
893
- snapIndex: o
894
- } = e;
895
- let a = t, u;
896
- const d = (f) => {
897
- let h = f - e.virtual.slidesBefore;
898
- return h < 0 && (h = e.virtual.slides.length + h), h >= e.virtual.slides.length && (h -= e.virtual.slides.length), h;
899
- };
900
- if (typeof a > "u" && (a = Ct(e)), s.indexOf(i) >= 0)
901
- u = s.indexOf(i);
902
- else {
903
- const f = Math.min(n.slidesPerGroupSkip, a);
904
- u = f + Math.floor((a - f) / n.slidesPerGroup);
905
- }
906
- if (u >= s.length && (u = s.length - 1), a === r && !e.params.loop) {
907
- u !== o && (e.snapIndex = u, e.emit("snapIndexChange"));
908
- return;
909
- }
910
- if (a === r && e.params.loop && e.virtual && e.params.virtual.enabled) {
911
- e.realIndex = d(a);
912
- return;
913
- }
914
- const c = e.grid && n.grid && n.grid.rows > 1;
915
- let p;
916
- if (e.virtual && n.virtual.enabled && n.loop)
917
- p = d(a);
918
- else if (c) {
919
- const f = e.slides.filter((v) => v.column === a)[0];
920
- let h = parseInt(f.getAttribute("data-swiper-slide-index"), 10);
921
- Number.isNaN(h) && (h = Math.max(e.slides.indexOf(f), 0)), p = Math.floor(h / n.grid.rows);
922
- } else if (e.slides[a]) {
923
- const f = e.slides[a].getAttribute("data-swiper-slide-index");
924
- f ? p = parseInt(f, 10) : p = a;
925
- } else
926
- p = a;
927
- Object.assign(e, {
928
- previousSnapIndex: o,
929
- snapIndex: u,
930
- previousRealIndex: l,
931
- realIndex: p,
932
- previousIndex: r,
933
- activeIndex: a
934
- }), e.initialized && we(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== p && e.emit("realIndexChange"), e.emit("slideChange"));
935
- }
936
- function Lt(t, e) {
937
- const i = this, s = i.params;
938
- let n = t.closest(`.${s.slideClass}, swiper-slide`);
939
- !n && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((o) => {
940
- !n && o.matches && o.matches(`.${s.slideClass}, swiper-slide`) && (n = o);
941
- });
942
- let r = !1, l;
943
- if (n) {
944
- for (let o = 0; o < i.slides.length; o += 1)
945
- if (i.slides[o] === n) {
946
- r = !0, l = o;
947
- break;
948
- }
949
- }
950
- if (n && r)
951
- i.clickedSlide = n, i.virtual && i.params.virtual.enabled ? i.clickedIndex = parseInt(n.getAttribute("data-swiper-slide-index"), 10) : i.clickedIndex = l;
952
- else {
953
- i.clickedSlide = void 0, i.clickedIndex = void 0;
954
- return;
955
- }
956
- s.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
957
- }
958
- var Ot = {
959
- updateSize: Tt,
960
- updateSlides: bt,
961
- updateAutoHeight: yt,
962
- updateSlidesOffset: xt,
963
- updateSlidesProgress: Et,
964
- updateProgress: Pt,
965
- updateSlidesClasses: Mt,
966
- updateActiveIndex: It,
967
- updateClickedSlide: Lt
968
- };
969
- function _t(t) {
970
- t === void 0 && (t = this.isHorizontal() ? "x" : "y");
971
- const e = this, {
972
- params: i,
973
- rtlTranslate: s,
974
- translate: n,
975
- wrapperEl: r
976
- } = e;
977
- if (i.virtualTranslate)
978
- return s ? -n : n;
979
- if (i.cssMode)
980
- return n;
981
- let l = lt(r, t);
982
- return l += e.cssOverflowAdjustment(), s && (l = -l), l || 0;
983
- }
984
- function zt(t, e) {
985
- const i = this, {
986
- rtlTranslate: s,
987
- params: n,
988
- wrapperEl: r,
989
- progress: l
990
- } = i;
991
- let o = 0, a = 0;
992
- const u = 0;
993
- i.isHorizontal() ? o = s ? -t : t : a = t, n.roundLengths && (o = Math.floor(o), a = Math.floor(a)), i.previousTranslate = i.translate, i.translate = i.isHorizontal() ? o : a, n.cssMode ? r[i.isHorizontal() ? "scrollLeft" : "scrollTop"] = i.isHorizontal() ? -o : -a : n.virtualTranslate || (i.isHorizontal() ? o -= i.cssOverflowAdjustment() : a -= i.cssOverflowAdjustment(), r.style.transform = `translate3d(${o}px, ${a}px, ${u}px)`);
994
- let d;
995
- const c = i.maxTranslate() - i.minTranslate();
996
- c === 0 ? d = 0 : d = (t - i.minTranslate()) / c, d !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
997
- }
998
- function At() {
999
- return -this.snapGrid[0];
1000
- }
1001
- function Dt() {
1002
- return -this.snapGrid[this.snapGrid.length - 1];
1003
- }
1004
- function Gt(t, e, i, s, n) {
1005
- t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), s === void 0 && (s = !0);
1006
- const r = this, {
1007
- params: l,
1008
- wrapperEl: o
1009
- } = r;
1010
- if (r.animating && l.preventInteractionOnTransition)
1011
- return !1;
1012
- const a = r.minTranslate(), u = r.maxTranslate();
1013
- let d;
1014
- if (s && t > a ? d = a : s && t < u ? d = u : d = t, r.updateProgress(d), l.cssMode) {
1015
- const c = r.isHorizontal();
1016
- if (e === 0)
1017
- o[c ? "scrollLeft" : "scrollTop"] = -d;
1018
- else {
1019
- if (!r.support.smoothScroll)
1020
- return Ve({
1021
- swiper: r,
1022
- targetPosition: -d,
1023
- side: c ? "left" : "top"
1024
- }), !0;
1025
- o.scrollTo({
1026
- [c ? "left" : "top"]: -d,
1027
- behavior: "smooth"
1028
- });
1029
- }
1030
- return !0;
1031
- }
1032
- return e === 0 ? (r.setTransition(0), r.setTranslate(d), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(d), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(p) {
1033
- !r || r.destroyed || p.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
1034
- }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
1035
- }
1036
- var Nt = {
1037
- getTranslate: _t,
1038
- setTranslate: zt,
1039
- minTranslate: At,
1040
- maxTranslate: Dt,
1041
- translateTo: Gt
1042
- };
1043
- function Vt(t, e) {
1044
- const i = this;
1045
- i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
1046
- }
1047
- function $e(t) {
1048
- let {
1049
- swiper: e,
1050
- runCallbacks: i,
1051
- direction: s,
1052
- step: n
1053
- } = t;
1054
- const {
1055
- activeIndex: r,
1056
- previousIndex: l
1057
- } = e;
1058
- let o = s;
1059
- if (o || (r > l ? o = "next" : r < l ? o = "prev" : o = "reset"), e.emit(`transition${n}`), i && r !== l) {
1060
- if (o === "reset") {
1061
- e.emit(`slideResetTransition${n}`);
1062
- return;
1063
- }
1064
- e.emit(`slideChangeTransition${n}`), o === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`);
1065
- }
1066
- }
1067
- function Bt(t, e) {
1068
- t === void 0 && (t = !0);
1069
- const i = this, {
1070
- params: s
1071
- } = i;
1072
- s.cssMode || (s.autoHeight && i.updateAutoHeight(), $e({
1073
- swiper: i,
1074
- runCallbacks: t,
1075
- direction: e,
1076
- step: "Start"
1077
- }));
1078
- }
1079
- function Ft(t, e) {
1080
- t === void 0 && (t = !0);
1081
- const i = this, {
1082
- params: s
1083
- } = i;
1084
- i.animating = !1, !s.cssMode && (i.setTransition(0), $e({
1085
- swiper: i,
1086
- runCallbacks: t,
1087
- direction: e,
1088
- step: "End"
1089
- }));
1090
- }
1091
- var $t = {
1092
- setTransition: Vt,
1093
- transitionStart: Bt,
1094
- transitionEnd: Ft
1095
- };
1096
- function Rt(t, e, i, s, n) {
1097
- t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1098
- const r = this;
1099
- let l = t;
1100
- l < 0 && (l = 0);
1101
- const {
1102
- params: o,
1103
- snapGrid: a,
1104
- slidesGrid: u,
1105
- previousIndex: d,
1106
- activeIndex: c,
1107
- rtlTranslate: p,
1108
- wrapperEl: f,
1109
- enabled: h
1110
- } = r;
1111
- if (!h && !s && !n || r.destroyed || r.animating && o.preventInteractionOnTransition)
1112
- return !1;
1113
- typeof e > "u" && (e = r.params.speed);
1114
- const v = Math.min(r.params.slidesPerGroupSkip, l);
1115
- let T = v + Math.floor((l - v) / r.params.slidesPerGroup);
1116
- T >= a.length && (T = a.length - 1);
1117
- const m = -a[T];
1118
- if (o.normalizeSlideIndex)
1119
- for (let g = 0; g < u.length; g += 1) {
1120
- const S = -Math.floor(m * 100), b = Math.floor(u[g] * 100), I = Math.floor(u[g + 1] * 100);
1121
- typeof u[g + 1] < "u" ? S >= b && S < I - (I - b) / 2 ? l = g : S >= b && S < I && (l = g + 1) : S >= b && (l = g);
1122
- }
1123
- if (r.initialized && l !== c && (!r.allowSlideNext && (p ? m > r.translate && m > r.minTranslate() : m < r.translate && m < r.minTranslate()) || !r.allowSlidePrev && m > r.translate && m > r.maxTranslate() && (c || 0) !== l))
1124
- return !1;
1125
- l !== (d || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(m);
1126
- let x;
1127
- if (l > c ? x = "next" : l < c ? x = "prev" : x = "reset", p && -m === r.translate || !p && m === r.translate)
1128
- return r.updateActiveIndex(l), o.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), o.effect !== "slide" && r.setTranslate(m), x !== "reset" && (r.transitionStart(i, x), r.transitionEnd(i, x)), !1;
1129
- if (o.cssMode) {
1130
- const g = r.isHorizontal(), S = p ? m : -m;
1131
- if (e === 0) {
1132
- const b = r.virtual && r.params.virtual.enabled;
1133
- b && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), b && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1134
- f[g ? "scrollLeft" : "scrollTop"] = S;
1135
- })) : f[g ? "scrollLeft" : "scrollTop"] = S, b && requestAnimationFrame(() => {
1136
- r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
1137
- });
1138
- } else {
1139
- if (!r.support.smoothScroll)
1140
- return Ve({
1141
- swiper: r,
1142
- targetPosition: S,
1143
- side: g ? "left" : "top"
1144
- }), !0;
1145
- f.scrollTo({
1146
- [g ? "left" : "top"]: S,
1147
- behavior: "smooth"
1148
- });
1149
- }
1150
- return !0;
1151
- }
1152
- return r.setTransition(e), r.setTranslate(m), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, x), e === 0 ? r.transitionEnd(i, x) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(S) {
1153
- !r || r.destroyed || S.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, x));
1154
- }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1155
- }
1156
- function kt(t, e, i, s) {
1157
- t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1158
- const n = this;
1159
- if (n.destroyed) return;
1160
- typeof e > "u" && (e = n.params.speed);
1161
- const r = n.grid && n.params.grid && n.params.grid.rows > 1;
1162
- let l = t;
1163
- if (n.params.loop)
1164
- if (n.virtual && n.params.virtual.enabled)
1165
- l = l + n.virtual.slidesBefore;
1166
- else {
1167
- let o;
1168
- if (r) {
1169
- const p = l * n.params.grid.rows;
1170
- o = n.slides.filter((f) => f.getAttribute("data-swiper-slide-index") * 1 === p)[0].column;
1171
- } else
1172
- o = n.getSlideIndexByData(l);
1173
- const a = r ? Math.ceil(n.slides.length / n.params.grid.rows) : n.slides.length, {
1174
- centeredSlides: u
1175
- } = n.params;
1176
- let d = n.params.slidesPerView;
1177
- d === "auto" ? d = n.slidesPerViewDynamic() : (d = Math.ceil(parseFloat(n.params.slidesPerView, 10)), u && d % 2 === 0 && (d = d + 1));
1178
- let c = a - o < d;
1179
- if (u && (c = c || o < Math.ceil(d / 2)), s && u && n.params.slidesPerView !== "auto" && !r && (c = !1), c) {
1180
- const p = u ? o < n.activeIndex ? "prev" : "next" : o - n.activeIndex - 1 < n.params.slidesPerView ? "next" : "prev";
1181
- n.loopFix({
1182
- direction: p,
1183
- slideTo: !0,
1184
- activeSlideIndex: p === "next" ? o + 1 : o - a + 1,
1185
- slideRealIndex: p === "next" ? n.realIndex : void 0
1186
- });
1187
- }
1188
- if (r) {
1189
- const p = l * n.params.grid.rows;
1190
- l = n.slides.filter((f) => f.getAttribute("data-swiper-slide-index") * 1 === p)[0].column;
1191
- } else
1192
- l = n.getSlideIndexByData(l);
1193
- }
1194
- return requestAnimationFrame(() => {
1195
- n.slideTo(l, e, i, s);
1196
- }), n;
1197
- }
1198
- function Ht(t, e, i) {
1199
- e === void 0 && (e = !0);
1200
- const s = this, {
1201
- enabled: n,
1202
- params: r,
1203
- animating: l
1204
- } = s;
1205
- if (!n || s.destroyed) return s;
1206
- typeof t > "u" && (t = s.params.speed);
1207
- let o = r.slidesPerGroup;
1208
- r.slidesPerView === "auto" && r.slidesPerGroup === 1 && r.slidesPerGroupAuto && (o = Math.max(s.slidesPerViewDynamic("current", !0), 1));
1209
- const a = s.activeIndex < r.slidesPerGroupSkip ? 1 : o, u = s.virtual && r.virtual.enabled;
1210
- if (r.loop) {
1211
- if (l && !u && r.loopPreventsSliding) return !1;
1212
- if (s.loopFix({
1213
- direction: "next"
1214
- }), s._clientLeft = s.wrapperEl.clientLeft, s.activeIndex === s.slides.length - 1 && r.cssMode)
1215
- return requestAnimationFrame(() => {
1216
- s.slideTo(s.activeIndex + a, t, e, i);
1217
- }), !0;
1218
- }
1219
- return r.rewind && s.isEnd ? s.slideTo(0, t, e, i) : s.slideTo(s.activeIndex + a, t, e, i);
1220
- }
1221
- function jt(t, e, i) {
1222
- e === void 0 && (e = !0);
1223
- const s = this, {
1224
- params: n,
1225
- snapGrid: r,
1226
- slidesGrid: l,
1227
- rtlTranslate: o,
1228
- enabled: a,
1229
- animating: u
1230
- } = s;
1231
- if (!a || s.destroyed) return s;
1232
- typeof t > "u" && (t = s.params.speed);
1233
- const d = s.virtual && n.virtual.enabled;
1234
- if (n.loop) {
1235
- if (u && !d && n.loopPreventsSliding) return !1;
1236
- s.loopFix({
1237
- direction: "prev"
1238
- }), s._clientLeft = s.wrapperEl.clientLeft;
1239
- }
1240
- const c = o ? s.translate : -s.translate;
1241
- function p(m) {
1242
- return m < 0 ? -Math.floor(Math.abs(m)) : Math.floor(m);
1243
- }
1244
- const f = p(c), h = r.map((m) => p(m));
1245
- let v = r[h.indexOf(f) - 1];
1246
- if (typeof v > "u" && n.cssMode) {
1247
- let m;
1248
- r.forEach((x, g) => {
1249
- f >= x && (m = g);
1250
- }), typeof m < "u" && (v = r[m > 0 ? m - 1 : m]);
1251
- }
1252
- let T = 0;
1253
- if (typeof v < "u" && (T = l.indexOf(v), T < 0 && (T = s.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (T = T - s.slidesPerViewDynamic("previous", !0) + 1, T = Math.max(T, 0))), n.rewind && s.isBeginning) {
1254
- const m = s.params.virtual && s.params.virtual.enabled && s.virtual ? s.virtual.slides.length - 1 : s.slides.length - 1;
1255
- return s.slideTo(m, t, e, i);
1256
- } else if (n.loop && s.activeIndex === 0 && n.cssMode)
1257
- return requestAnimationFrame(() => {
1258
- s.slideTo(T, t, e, i);
1259
- }), !0;
1260
- return s.slideTo(T, t, e, i);
1261
- }
1262
- function Wt(t, e, i) {
1263
- e === void 0 && (e = !0);
1264
- const s = this;
1265
- if (!s.destroyed)
1266
- return typeof t > "u" && (t = s.params.speed), s.slideTo(s.activeIndex, t, e, i);
1267
- }
1268
- function qt(t, e, i, s) {
1269
- e === void 0 && (e = !0), s === void 0 && (s = 0.5);
1270
- const n = this;
1271
- if (n.destroyed) return;
1272
- typeof t > "u" && (t = n.params.speed);
1273
- let r = n.activeIndex;
1274
- const l = Math.min(n.params.slidesPerGroupSkip, r), o = l + Math.floor((r - l) / n.params.slidesPerGroup), a = n.rtlTranslate ? n.translate : -n.translate;
1275
- if (a >= n.snapGrid[o]) {
1276
- const u = n.snapGrid[o], d = n.snapGrid[o + 1];
1277
- a - u > (d - u) * s && (r += n.params.slidesPerGroup);
1278
- } else {
1279
- const u = n.snapGrid[o - 1], d = n.snapGrid[o];
1280
- a - u <= (d - u) * s && (r -= n.params.slidesPerGroup);
1281
- }
1282
- return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, t, e, i);
1283
- }
1284
- function Yt() {
1285
- const t = this;
1286
- if (t.destroyed) return;
1287
- const {
1288
- params: e,
1289
- slidesEl: i
1290
- } = t, s = e.slidesPerView === "auto" ? t.slidesPerViewDynamic() : e.slidesPerView;
1291
- let n = t.clickedIndex, r;
1292
- const l = t.isElement ? "swiper-slide" : `.${e.slideClass}`;
1293
- if (e.loop) {
1294
- if (t.animating) return;
1295
- r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? n < t.loopedSlides - s / 2 || n > t.slides.length - t.loopedSlides + s / 2 ? (t.loopFix(), n = t.getSlideIndex(H(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), ge(() => {
1296
- t.slideTo(n);
1297
- })) : t.slideTo(n) : n > t.slides.length - s ? (t.loopFix(), n = t.getSlideIndex(H(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), ge(() => {
1298
- t.slideTo(n);
1299
- })) : t.slideTo(n);
1300
- } else
1301
- t.slideTo(n);
1302
- }
1303
- var Xt = {
1304
- slideTo: Rt,
1305
- slideToLoop: kt,
1306
- slideNext: Ht,
1307
- slidePrev: jt,
1308
- slideReset: Wt,
1309
- slideToClosest: qt,
1310
- slideToClickedSlide: Yt
1311
- };
1312
- function Ut(t) {
1313
- const e = this, {
1314
- params: i,
1315
- slidesEl: s
1316
- } = e;
1317
- if (!i.loop || e.virtual && e.params.virtual.enabled) return;
1318
- const n = () => {
1319
- H(s, `.${i.slideClass}, swiper-slide`).forEach((c, p) => {
1320
- c.setAttribute("data-swiper-slide-index", p);
1321
- });
1322
- }, r = e.grid && i.grid && i.grid.rows > 1, l = i.slidesPerGroup * (r ? i.grid.rows : 1), o = e.slides.length % l !== 0, a = r && e.slides.length % i.grid.rows !== 0, u = (d) => {
1323
- for (let c = 0; c < d; c += 1) {
1324
- const p = e.isElement ? ve("swiper-slide", [i.slideBlankClass]) : ve("div", [i.slideClass, i.slideBlankClass]);
1325
- e.slidesEl.append(p);
1326
- }
1327
- };
1328
- if (o) {
1329
- if (i.loopAddBlankSlides) {
1330
- const d = l - e.slides.length % l;
1331
- u(d), e.recalcSlides(), e.updateSlides();
1332
- } else
1333
- ae("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
1334
- n();
1335
- } else if (a) {
1336
- if (i.loopAddBlankSlides) {
1337
- const d = i.grid.rows - e.slides.length % i.grid.rows;
1338
- u(d), e.recalcSlides(), e.updateSlides();
1339
- } else
1340
- ae("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
1341
- n();
1342
- } else
1343
- n();
1344
- e.loopFix({
1345
- slideRealIndex: t,
1346
- direction: i.centeredSlides ? void 0 : "next"
1347
- });
1348
- }
1349
- function Kt(t) {
1350
- let {
1351
- slideRealIndex: e,
1352
- slideTo: i = !0,
1353
- direction: s,
1354
- setTranslate: n,
1355
- activeSlideIndex: r,
1356
- byController: l,
1357
- byMousewheel: o
1358
- } = t === void 0 ? {} : t;
1359
- const a = this;
1360
- if (!a.params.loop) return;
1361
- a.emit("beforeLoopFix");
1362
- const {
1363
- slides: u,
1364
- allowSlidePrev: d,
1365
- allowSlideNext: c,
1366
- slidesEl: p,
1367
- params: f
1368
- } = a, {
1369
- centeredSlides: h
1370
- } = f;
1371
- if (a.allowSlidePrev = !0, a.allowSlideNext = !0, a.virtual && f.virtual.enabled) {
1372
- i && (!f.centeredSlides && a.snapIndex === 0 ? a.slideTo(a.virtual.slides.length, 0, !1, !0) : f.centeredSlides && a.snapIndex < f.slidesPerView ? a.slideTo(a.virtual.slides.length + a.snapIndex, 0, !1, !0) : a.snapIndex === a.snapGrid.length - 1 && a.slideTo(a.virtual.slidesBefore, 0, !1, !0)), a.allowSlidePrev = d, a.allowSlideNext = c, a.emit("loopFix");
1373
- return;
1374
- }
1375
- let v = f.slidesPerView;
1376
- v === "auto" ? v = a.slidesPerViewDynamic() : (v = Math.ceil(parseFloat(f.slidesPerView, 10)), h && v % 2 === 0 && (v = v + 1));
1377
- const T = f.slidesPerGroupAuto ? v : f.slidesPerGroup;
1378
- let m = T;
1379
- m % T !== 0 && (m += T - m % T), m += f.loopAdditionalSlides, a.loopedSlides = m;
1380
- const x = a.grid && f.grid && f.grid.rows > 1;
1381
- u.length < v + m ? ae("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : x && f.grid.fill === "row" && ae("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1382
- const g = [], S = [];
1383
- let b = a.activeIndex;
1384
- typeof r > "u" ? r = a.getSlideIndex(u.filter((M) => M.classList.contains(f.slideActiveClass))[0]) : b = r;
1385
- const I = s === "next" || !s, A = s === "prev" || !s;
1386
- let P = 0, y = 0;
1387
- const w = x ? Math.ceil(u.length / f.grid.rows) : u.length, C = (x ? u[r].column : r) + (h && typeof n > "u" ? -v / 2 + 0.5 : 0);
1388
- if (C < m) {
1389
- P = Math.max(m - C, T);
1390
- for (let M = 0; M < m - C; M += 1) {
1391
- const O = M - Math.floor(M / w) * w;
1392
- if (x) {
1393
- const D = w - O - 1;
1394
- for (let $ = u.length - 1; $ >= 0; $ -= 1)
1395
- u[$].column === D && g.push($);
1396
- } else
1397
- g.push(w - O - 1);
1398
- }
1399
- } else if (C + v > w - m) {
1400
- y = Math.max(C - (w - m * 2), T);
1401
- for (let M = 0; M < y; M += 1) {
1402
- const O = M - Math.floor(M / w) * w;
1403
- x ? u.forEach((D, $) => {
1404
- D.column === O && S.push($);
1405
- }) : S.push(O);
1406
- }
1407
- }
1408
- if (a.__preventObserver__ = !0, requestAnimationFrame(() => {
1409
- a.__preventObserver__ = !1;
1410
- }), A && g.forEach((M) => {
1411
- u[M].swiperLoopMoveDOM = !0, p.prepend(u[M]), u[M].swiperLoopMoveDOM = !1;
1412
- }), I && S.forEach((M) => {
1413
- u[M].swiperLoopMoveDOM = !0, p.append(u[M]), u[M].swiperLoopMoveDOM = !1;
1414
- }), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : x && (g.length > 0 && A || S.length > 0 && I) && a.slides.forEach((M, O) => {
1415
- a.grid.updateSlide(O, M, a.slides);
1416
- }), f.watchSlidesProgress && a.updateSlidesOffset(), i) {
1417
- if (g.length > 0 && A) {
1418
- if (typeof e > "u") {
1419
- const M = a.slidesGrid[b], D = a.slidesGrid[b + P] - M;
1420
- o ? a.setTranslate(a.translate - D) : (a.slideTo(b + Math.ceil(P), 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - D, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - D));
1421
- } else if (n) {
1422
- const M = x ? g.length / f.grid.rows : g.length;
1423
- a.slideTo(a.activeIndex + M, 0, !1, !0), a.touchEventsData.currentTranslate = a.translate;
1424
- }
1425
- } else if (S.length > 0 && I)
1426
- if (typeof e > "u") {
1427
- const M = a.slidesGrid[b], D = a.slidesGrid[b - y] - M;
1428
- o ? a.setTranslate(a.translate - D) : (a.slideTo(b - y, 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - D, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - D));
1429
- } else {
1430
- const M = x ? S.length / f.grid.rows : S.length;
1431
- a.slideTo(a.activeIndex - M, 0, !1, !0);
1432
- }
1433
- }
1434
- if (a.allowSlidePrev = d, a.allowSlideNext = c, a.controller && a.controller.control && !l) {
1435
- const M = {
1436
- slideRealIndex: e,
1437
- direction: s,
1438
- setTranslate: n,
1439
- activeSlideIndex: r,
1440
- byController: !0
1441
- };
1442
- Array.isArray(a.controller.control) ? a.controller.control.forEach((O) => {
1443
- !O.destroyed && O.params.loop && O.loopFix({
1444
- ...M,
1445
- slideTo: O.params.slidesPerView === f.slidesPerView ? i : !1
1446
- });
1447
- }) : a.controller.control instanceof a.constructor && a.controller.control.params.loop && a.controller.control.loopFix({
1448
- ...M,
1449
- slideTo: a.controller.control.params.slidesPerView === f.slidesPerView ? i : !1
1450
- });
1451
- }
1452
- a.emit("loopFix");
1453
- }
1454
- function Zt() {
1455
- const t = this, {
1456
- params: e,
1457
- slidesEl: i
1458
- } = t;
1459
- if (!e.loop || t.virtual && t.params.virtual.enabled) return;
1460
- t.recalcSlides();
1461
- const s = [];
1462
- t.slides.forEach((n) => {
1463
- const r = typeof n.swiperSlideIndex > "u" ? n.getAttribute("data-swiper-slide-index") * 1 : n.swiperSlideIndex;
1464
- s[r] = n;
1465
- }), t.slides.forEach((n) => {
1466
- n.removeAttribute("data-swiper-slide-index");
1467
- }), s.forEach((n) => {
1468
- i.append(n);
1469
- }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1470
- }
1471
- var Jt = {
1472
- loopCreate: Ut,
1473
- loopFix: Kt,
1474
- loopDestroy: Zt
1475
- };
1476
- function Qt(t) {
1477
- const e = this;
1478
- if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
1479
- const i = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
1480
- e.isElement && (e.__preventObserver__ = !0), i.style.cursor = "move", i.style.cursor = t ? "grabbing" : "grab", e.isElement && requestAnimationFrame(() => {
1481
- e.__preventObserver__ = !1;
1482
- });
1483
- }
1484
- function ei() {
1485
- const t = this;
1486
- t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
1487
- t.__preventObserver__ = !1;
1488
- }));
1489
- }
1490
- var ti = {
1491
- setGrabCursor: Qt,
1492
- unsetGrabCursor: ei
1493
- };
1494
- function ii(t, e) {
1495
- e === void 0 && (e = this);
1496
- function i(s) {
1497
- if (!s || s === j() || s === F()) return null;
1498
- s.assignedSlot && (s = s.assignedSlot);
1499
- const n = s.closest(t);
1500
- return !n && !s.getRootNode ? null : n || i(s.getRootNode().host);
1501
- }
1502
- return i(e);
1503
- }
1504
- function Le(t, e, i) {
1505
- const s = F(), {
1506
- params: n
1507
- } = t, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1508
- return r && (i <= l || i >= s.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1509
- }
1510
- function si(t) {
1511
- const e = this, i = j();
1512
- let s = t;
1513
- s.originalEvent && (s = s.originalEvent);
1514
- const n = e.touchEventsData;
1515
- if (s.type === "pointerdown") {
1516
- if (n.pointerId !== null && n.pointerId !== s.pointerId)
1517
- return;
1518
- n.pointerId = s.pointerId;
1519
- } else s.type === "touchstart" && s.targetTouches.length === 1 && (n.touchId = s.targetTouches[0].identifier);
1520
- if (s.type === "touchstart") {
1521
- Le(e, s, s.targetTouches[0].pageX);
1522
- return;
1523
- }
1524
- const {
1525
- params: r,
1526
- touches: l,
1527
- enabled: o
1528
- } = e;
1529
- if (!o || !r.simulateTouch && s.pointerType === "mouse" || e.animating && r.preventInteractionOnTransition)
1530
- return;
1531
- !e.animating && r.cssMode && r.loop && e.loopFix();
1532
- let a = s.target;
1533
- if (r.touchEventsTarget === "wrapper" && !e.wrapperEl.contains(a) || "which" in s && s.which === 3 || "button" in s && s.button > 0 || n.isTouched && n.isMoved) return;
1534
- const u = !!r.noSwipingClass && r.noSwipingClass !== "", d = s.composedPath ? s.composedPath() : s.path;
1535
- u && s.target && s.target.shadowRoot && d && (a = d[0]);
1536
- const c = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, p = !!(s.target && s.target.shadowRoot);
1537
- if (r.noSwiping && (p ? ii(c, a) : a.closest(c))) {
1538
- e.allowClick = !0;
1539
- return;
1540
- }
1541
- if (r.swipeHandler && !a.closest(r.swipeHandler))
1542
- return;
1543
- l.currentX = s.pageX, l.currentY = s.pageY;
1544
- const f = l.currentX, h = l.currentY;
1545
- if (!Le(e, s, f))
1546
- return;
1547
- Object.assign(n, {
1548
- isTouched: !0,
1549
- isMoved: !1,
1550
- allowTouchCallbacks: !0,
1551
- isScrolling: void 0,
1552
- startMoving: void 0
1553
- }), l.startX = f, l.startY = h, n.touchStartTime = ne(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1);
1554
- let v = !0;
1555
- a.matches(n.focusableElements) && (v = !1, a.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== a && i.activeElement.blur();
1556
- const T = v && e.allowTouchMove && r.touchStartPreventDefault;
1557
- (r.touchStartForcePreventDefault || T) && !a.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1558
- }
1559
- function ri(t) {
1560
- const e = j(), i = this, s = i.touchEventsData, {
1561
- params: n,
1562
- touches: r,
1563
- rtlTranslate: l,
1564
- enabled: o
1565
- } = i;
1566
- if (!o || !n.simulateTouch && t.pointerType === "mouse") return;
1567
- let a = t;
1568
- if (a.originalEvent && (a = a.originalEvent), a.type === "pointermove" && (s.touchId !== null || a.pointerId !== s.pointerId))
1569
- return;
1570
- let u;
1571
- if (a.type === "touchmove") {
1572
- if (u = [...a.changedTouches].filter((I) => I.identifier === s.touchId)[0], !u || u.identifier !== s.touchId) return;
1573
- } else
1574
- u = a;
1575
- if (!s.isTouched) {
1576
- s.startMoving && s.isScrolling && i.emit("touchMoveOpposite", a);
1577
- return;
1578
- }
1579
- const d = u.pageX, c = u.pageY;
1580
- if (a.preventedByNestedSwiper) {
1581
- r.startX = d, r.startY = c;
1582
- return;
1583
- }
1584
- if (!i.allowTouchMove) {
1585
- a.target.matches(s.focusableElements) || (i.allowClick = !1), s.isTouched && (Object.assign(r, {
1586
- startX: d,
1587
- startY: c,
1588
- currentX: d,
1589
- currentY: c
1590
- }), s.touchStartTime = ne());
1591
- return;
1592
- }
1593
- if (n.touchReleaseOnEdges && !n.loop) {
1594
- if (i.isVertical()) {
1595
- if (c < r.startY && i.translate <= i.maxTranslate() || c > r.startY && i.translate >= i.minTranslate()) {
1596
- s.isTouched = !1, s.isMoved = !1;
1597
- return;
1598
- }
1599
- } else if (d < r.startX && i.translate <= i.maxTranslate() || d > r.startX && i.translate >= i.minTranslate())
1600
- return;
1601
- }
1602
- if (e.activeElement && a.target === e.activeElement && a.target.matches(s.focusableElements)) {
1603
- s.isMoved = !0, i.allowClick = !1;
1604
- return;
1605
- }
1606
- s.allowTouchCallbacks && i.emit("touchMove", a), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = d, r.currentY = c;
1607
- const p = r.currentX - r.startX, f = r.currentY - r.startY;
1608
- if (i.params.threshold && Math.sqrt(p ** 2 + f ** 2) < i.params.threshold) return;
1609
- if (typeof s.isScrolling > "u") {
1610
- let I;
1611
- i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? s.isScrolling = !1 : p * p + f * f >= 25 && (I = Math.atan2(Math.abs(f), Math.abs(p)) * 180 / Math.PI, s.isScrolling = i.isHorizontal() ? I > n.touchAngle : 90 - I > n.touchAngle);
1612
- }
1613
- if (s.isScrolling && i.emit("touchMoveOpposite", a), typeof s.startMoving > "u" && (r.currentX !== r.startX || r.currentY !== r.startY) && (s.startMoving = !0), s.isScrolling || a.type === "touchmove" && s.preventTouchMoveFromPointerMove) {
1614
- s.isTouched = !1;
1615
- return;
1616
- }
1617
- if (!s.startMoving)
1618
- return;
1619
- i.allowClick = !1, !n.cssMode && a.cancelable && a.preventDefault(), n.touchMoveStopPropagation && !n.nested && a.stopPropagation();
1620
- let h = i.isHorizontal() ? p : f, v = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1621
- n.oneWayMovement && (h = Math.abs(h) * (l ? 1 : -1), v = Math.abs(v) * (l ? 1 : -1)), r.diff = h, h *= n.touchRatio, l && (h = -h, v = -v);
1622
- const T = i.touchesDirection;
1623
- i.swipeDirection = h > 0 ? "prev" : "next", i.touchesDirection = v > 0 ? "prev" : "next";
1624
- const m = i.params.loop && !n.cssMode, x = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1625
- if (!s.isMoved) {
1626
- if (m && x && i.loopFix({
1627
- direction: i.swipeDirection
1628
- }), s.startTranslate = i.getTranslate(), i.setTransition(0), i.animating) {
1629
- const I = new window.CustomEvent("transitionend", {
1630
- bubbles: !0,
1631
- cancelable: !0,
1632
- detail: {
1633
- bySwiperTouchMove: !0
1634
- }
1635
- });
1636
- i.wrapperEl.dispatchEvent(I);
1637
- }
1638
- s.allowMomentumBounce = !1, n.grabCursor && (i.allowSlideNext === !0 || i.allowSlidePrev === !0) && i.setGrabCursor(!0), i.emit("sliderFirstMove", a);
1639
- }
1640
- let g;
1641
- if ((/* @__PURE__ */ new Date()).getTime(), s.isMoved && s.allowThresholdMove && T !== i.touchesDirection && m && x && Math.abs(h) >= 1) {
1642
- Object.assign(r, {
1643
- startX: d,
1644
- startY: c,
1645
- currentX: d,
1646
- currentY: c,
1647
- startTranslate: s.currentTranslate
1648
- }), s.loopSwapReset = !0, s.startTranslate = s.currentTranslate;
1649
- return;
1650
- }
1651
- i.emit("sliderMove", a), s.isMoved = !0, s.currentTranslate = h + s.startTranslate;
1652
- let S = !0, b = n.resistanceRatio;
1653
- if (n.touchReleaseOnEdges && (b = 0), h > 0 ? (m && x && !g && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] : i.minTranslate()) && i.loopFix({
1654
- direction: "prev",
1655
- setTranslate: !0,
1656
- activeSlideIndex: 0
1657
- }), s.currentTranslate > i.minTranslate() && (S = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + h) ** b))) : h < 0 && (m && x && !g && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] : i.maxTranslate()) && i.loopFix({
1658
- direction: "next",
1659
- setTranslate: !0,
1660
- activeSlideIndex: i.slides.length - (n.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(n.slidesPerView, 10)))
1661
- }), s.currentTranslate < i.maxTranslate() && (S = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - h) ** b))), S && (a.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
1662
- if (Math.abs(h) > n.threshold || s.allowThresholdMove) {
1663
- if (!s.allowThresholdMove) {
1664
- s.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, s.currentTranslate = s.startTranslate, r.diff = i.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY;
1665
- return;
1666
- }
1667
- } else {
1668
- s.currentTranslate = s.startTranslate;
1669
- return;
1670
- }
1671
- !n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && i.freeMode || n.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(s.currentTranslate), i.setTranslate(s.currentTranslate));
1672
- }
1673
- function ni(t) {
1674
- const e = this, i = e.touchEventsData;
1675
- let s = t;
1676
- s.originalEvent && (s = s.originalEvent);
1677
- let n;
1678
- if (s.type === "touchend" || s.type === "touchcancel") {
1679
- if (n = [...s.changedTouches].filter((b) => b.identifier === i.touchId)[0], !n || n.identifier !== i.touchId) return;
1680
- } else {
1681
- if (i.touchId !== null || s.pointerId !== i.pointerId) return;
1682
- n = s;
1683
- }
1684
- if (["pointercancel", "pointerout", "pointerleave", "contextmenu"].includes(s.type) && !(["pointercancel", "contextmenu"].includes(s.type) && (e.browser.isSafari || e.browser.isWebView)))
1685
- return;
1686
- i.pointerId = null, i.touchId = null;
1687
- const {
1688
- params: l,
1689
- touches: o,
1690
- rtlTranslate: a,
1691
- slidesGrid: u,
1692
- enabled: d
1693
- } = e;
1694
- if (!d || !l.simulateTouch && s.pointerType === "mouse") return;
1695
- if (i.allowTouchCallbacks && e.emit("touchEnd", s), i.allowTouchCallbacks = !1, !i.isTouched) {
1696
- i.isMoved && l.grabCursor && e.setGrabCursor(!1), i.isMoved = !1, i.startMoving = !1;
1697
- return;
1698
- }
1699
- l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1700
- const c = ne(), p = c - i.touchStartTime;
1701
- if (e.allowClick) {
1702
- const b = s.path || s.composedPath && s.composedPath();
1703
- e.updateClickedSlide(b && b[0] || s.target, b), e.emit("tap click", s), p < 300 && c - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
1704
- }
1705
- if (i.lastClickTime = ne(), ge(() => {
1706
- e.destroyed || (e.allowClick = !0);
1707
- }), !i.isTouched || !i.isMoved || !e.swipeDirection || o.diff === 0 && !i.loopSwapReset || i.currentTranslate === i.startTranslate && !i.loopSwapReset) {
1708
- i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1709
- return;
1710
- }
1711
- i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1712
- let f;
1713
- if (l.followFinger ? f = a ? e.translate : -e.translate : f = -i.currentTranslate, l.cssMode)
1714
- return;
1715
- if (l.freeMode && l.freeMode.enabled) {
1716
- e.freeMode.onTouchEnd({
1717
- currentPos: f
1718
- });
1719
- return;
1720
- }
1721
- const h = f >= -e.maxTranslate() && !e.params.loop;
1722
- let v = 0, T = e.slidesSizesGrid[0];
1723
- for (let b = 0; b < u.length; b += b < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1724
- const I = b < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1725
- typeof u[b + I] < "u" ? (h || f >= u[b] && f < u[b + I]) && (v = b, T = u[b + I] - u[b]) : (h || f >= u[b]) && (v = b, T = u[u.length - 1] - u[u.length - 2]);
1726
- }
1727
- let m = null, x = null;
1728
- l.rewind && (e.isBeginning ? x = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (m = 0));
1729
- const g = (f - u[v]) / T, S = v < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1730
- if (p > l.longSwipesMs) {
1731
- if (!l.longSwipes) {
1732
- e.slideTo(e.activeIndex);
1733
- return;
1734
- }
1735
- e.swipeDirection === "next" && (g >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? m : v + S) : e.slideTo(v)), e.swipeDirection === "prev" && (g > 1 - l.longSwipesRatio ? e.slideTo(v + S) : x !== null && g < 0 && Math.abs(g) > l.longSwipesRatio ? e.slideTo(x) : e.slideTo(v));
1736
- } else {
1737
- if (!l.shortSwipes) {
1738
- e.slideTo(e.activeIndex);
1739
- return;
1740
- }
1741
- e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(v + S) : e.slideTo(v) : (e.swipeDirection === "next" && e.slideTo(m !== null ? m : v + S), e.swipeDirection === "prev" && e.slideTo(x !== null ? x : v));
1742
- }
1743
- }
1744
- function Oe() {
1745
- const t = this, {
1746
- params: e,
1747
- el: i
1748
- } = t;
1749
- if (i && i.offsetWidth === 0) return;
1750
- e.breakpoints && t.setBreakpoint();
1751
- const {
1752
- allowSlideNext: s,
1753
- allowSlidePrev: n,
1754
- snapGrid: r
1755
- } = t, l = t.virtual && t.params.virtual.enabled;
1756
- t.allowSlideNext = !0, t.allowSlidePrev = !0, t.updateSize(), t.updateSlides(), t.updateSlidesClasses();
1757
- const o = l && e.loop;
1758
- (e.slidesPerView === "auto" || e.slidesPerView > 1) && t.isEnd && !t.isBeginning && !t.params.centeredSlides && !o ? t.slideTo(t.slides.length - 1, 0, !1, !0) : t.params.loop && !l ? t.slideToLoop(t.realIndex, 0, !1, !0) : t.slideTo(t.activeIndex, 0, !1, !0), t.autoplay && t.autoplay.running && t.autoplay.paused && (clearTimeout(t.autoplay.resizeTimeout), t.autoplay.resizeTimeout = setTimeout(() => {
1759
- t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
1760
- }, 500)), t.allowSlidePrev = n, t.allowSlideNext = s, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
1761
- }
1762
- function ai(t) {
1763
- const e = this;
1764
- e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
1765
- }
1766
- function li() {
1767
- const t = this, {
1768
- wrapperEl: e,
1769
- rtlTranslate: i,
1770
- enabled: s
1771
- } = t;
1772
- if (!s) return;
1773
- t.previousTranslate = t.translate, t.isHorizontal() ? t.translate = -e.scrollLeft : t.translate = -e.scrollTop, t.translate === 0 && (t.translate = 0), t.updateActiveIndex(), t.updateSlidesClasses();
1774
- let n;
1775
- const r = t.maxTranslate() - t.minTranslate();
1776
- r === 0 ? n = 0 : n = (t.translate - t.minTranslate()) / r, n !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
1777
- }
1778
- function oi(t) {
1779
- const e = this;
1780
- se(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1781
- }
1782
- function di() {
1783
- const t = this;
1784
- t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1785
- }
1786
- const Re = (t, e) => {
1787
- const i = j(), {
1788
- params: s,
1789
- el: n,
1790
- wrapperEl: r,
1791
- device: l
1792
- } = t, o = !!s.nested, a = e === "on" ? "addEventListener" : "removeEventListener", u = e;
1793
- !n || typeof n == "string" || (i[a]("touchstart", t.onDocumentTouchStart, {
1794
- passive: !1,
1795
- capture: o
1796
- }), n[a]("touchstart", t.onTouchStart, {
1797
- passive: !1
1798
- }), n[a]("pointerdown", t.onTouchStart, {
1799
- passive: !1
1800
- }), i[a]("touchmove", t.onTouchMove, {
1801
- passive: !1,
1802
- capture: o
1803
- }), i[a]("pointermove", t.onTouchMove, {
1804
- passive: !1,
1805
- capture: o
1806
- }), i[a]("touchend", t.onTouchEnd, {
1807
- passive: !0
1808
- }), i[a]("pointerup", t.onTouchEnd, {
1809
- passive: !0
1810
- }), i[a]("pointercancel", t.onTouchEnd, {
1811
- passive: !0
1812
- }), i[a]("touchcancel", t.onTouchEnd, {
1813
- passive: !0
1814
- }), i[a]("pointerout", t.onTouchEnd, {
1815
- passive: !0
1816
- }), i[a]("pointerleave", t.onTouchEnd, {
1817
- passive: !0
1818
- }), i[a]("contextmenu", t.onTouchEnd, {
1819
- passive: !0
1820
- }), (s.preventClicks || s.preventClicksPropagation) && n[a]("click", t.onClick, !0), s.cssMode && r[a]("scroll", t.onScroll), s.updateOnWindowResize ? t[u](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Oe, !0) : t[u]("observerUpdate", Oe, !0), n[a]("load", t.onLoad, {
1821
- capture: !0
1822
- }));
1823
- };
1824
- function ci() {
1825
- const t = this, {
1826
- params: e
1827
- } = t;
1828
- t.onTouchStart = si.bind(t), t.onTouchMove = ri.bind(t), t.onTouchEnd = ni.bind(t), t.onDocumentTouchStart = di.bind(t), e.cssMode && (t.onScroll = li.bind(t)), t.onClick = ai.bind(t), t.onLoad = oi.bind(t), Re(t, "on");
1829
- }
1830
- function ui() {
1831
- Re(this, "off");
1832
- }
1833
- var fi = {
1834
- attachEvents: ci,
1835
- detachEvents: ui
1836
- };
1837
- const _e = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1838
- function pi() {
1839
- const t = this, {
1840
- realIndex: e,
1841
- initialized: i,
1842
- params: s,
1843
- el: n
1844
- } = t, r = s.breakpoints;
1845
- if (!r || r && Object.keys(r).length === 0) return;
1846
- const l = t.getBreakpoint(r, t.params.breakpointsBase, t.el);
1847
- if (!l || t.currentBreakpoint === l) return;
1848
- const a = (l in r ? r[l] : void 0) || t.originalParams, u = _e(t, s), d = _e(t, a), c = t.params.grabCursor, p = a.grabCursor, f = s.enabled;
1849
- u && !d ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !u && d && (n.classList.add(`${s.containerModifierClass}grid`), (a.grid.fill && a.grid.fill === "column" || !a.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !p ? t.unsetGrabCursor() : !c && p && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((g) => {
1850
- if (typeof a[g] > "u") return;
1851
- const S = s[g] && s[g].enabled, b = a[g] && a[g].enabled;
1852
- S && !b && t[g].disable(), !S && b && t[g].enable();
1853
- });
1854
- const h = a.direction && a.direction !== s.direction, v = s.loop && (a.slidesPerView !== s.slidesPerView || h), T = s.loop;
1855
- h && i && t.changeDirection(), B(t.params, a);
1856
- const m = t.params.enabled, x = t.params.loop;
1857
- Object.assign(t, {
1858
- allowTouchMove: t.params.allowTouchMove,
1859
- allowSlideNext: t.params.allowSlideNext,
1860
- allowSlidePrev: t.params.allowSlidePrev
1861
- }), f && !m ? t.disable() : !f && m && t.enable(), t.currentBreakpoint = l, t.emit("_beforeBreakpoint", a), i && (v ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !T && x ? (t.loopCreate(e), t.updateSlides()) : T && !x && t.loopDestroy()), t.emit("breakpoint", a);
1862
- }
1863
- function mi(t, e, i) {
1864
- if (e === void 0 && (e = "window"), !t || e === "container" && !i) return;
1865
- let s = !1;
1866
- const n = F(), r = e === "window" ? n.innerHeight : i.clientHeight, l = Object.keys(t).map((o) => {
1867
- if (typeof o == "string" && o.indexOf("@") === 0) {
1868
- const a = parseFloat(o.substr(1));
1869
- return {
1870
- value: r * a,
1871
- point: o
1872
- };
1873
- }
1874
- return {
1875
- value: o,
1876
- point: o
1877
- };
1878
- });
1879
- l.sort((o, a) => parseInt(o.value, 10) - parseInt(a.value, 10));
1880
- for (let o = 0; o < l.length; o += 1) {
1881
- const {
1882
- point: a,
1883
- value: u
1884
- } = l[o];
1885
- e === "window" ? n.matchMedia(`(min-width: ${u}px)`).matches && (s = a) : u <= i.clientWidth && (s = a);
1886
- }
1887
- return s || "max";
1888
- }
1889
- var hi = {
1890
- setBreakpoint: pi,
1891
- getBreakpoint: mi
1892
- };
1893
- function gi(t, e) {
1894
- const i = [];
1895
- return t.forEach((s) => {
1896
- typeof s == "object" ? Object.keys(s).forEach((n) => {
1897
- s[n] && i.push(e + n);
1898
- }) : typeof s == "string" && i.push(e + s);
1899
- }), i;
1900
- }
1901
- function vi() {
1902
- const t = this, {
1903
- classNames: e,
1904
- params: i,
1905
- rtl: s,
1906
- el: n,
1907
- device: r
1908
- } = t, l = gi(["initialized", i.direction, {
1909
- "free-mode": t.params.freeMode && i.freeMode.enabled
1910
- }, {
1911
- autoheight: i.autoHeight
1912
- }, {
1913
- rtl: s
1914
- }, {
1915
- grid: i.grid && i.grid.rows > 1
1916
- }, {
1917
- "grid-column": i.grid && i.grid.rows > 1 && i.grid.fill === "column"
1918
- }, {
1919
- android: r.android
1920
- }, {
1921
- ios: r.ios
1922
- }, {
1923
- "css-mode": i.cssMode
1924
- }, {
1925
- centered: i.cssMode && i.centeredSlides
1926
- }, {
1927
- "watch-progress": i.watchSlidesProgress
1928
- }], i.containerModifierClass);
1929
- e.push(...l), n.classList.add(...e), t.emitContainerClasses();
1930
- }
1931
- function wi() {
1932
- const t = this, {
1933
- el: e,
1934
- classNames: i
1935
- } = t;
1936
- !e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
1937
- }
1938
- var Si = {
1939
- addClasses: vi,
1940
- removeClasses: wi
1941
- };
1942
- function Ti() {
1943
- const t = this, {
1944
- isLocked: e,
1945
- params: i
1946
- } = t, {
1947
- slidesOffsetBefore: s
1948
- } = i;
1949
- if (s) {
1950
- const n = t.slides.length - 1, r = t.slidesGrid[n] + t.slidesSizesGrid[n] + s * 2;
1951
- t.isLocked = t.size > r;
1952
- } else
1953
- t.isLocked = t.snapGrid.length === 1;
1954
- i.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), i.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
1955
- }
1956
- var bi = {
1957
- checkOverflow: Ti
1958
- }, Se = {
1959
- init: !0,
1960
- direction: "horizontal",
1961
- oneWayMovement: !1,
1962
- swiperElementNodeName: "SWIPER-CONTAINER",
1963
- touchEventsTarget: "wrapper",
1964
- initialSlide: 0,
1965
- speed: 300,
1966
- cssMode: !1,
1967
- updateOnWindowResize: !0,
1968
- resizeObserver: !0,
1969
- nested: !1,
1970
- createElements: !1,
1971
- eventsPrefix: "swiper",
1972
- enabled: !0,
1973
- focusableElements: "input, select, option, textarea, button, video, label",
1974
- // Overrides
1975
- width: null,
1976
- height: null,
1977
- //
1978
- preventInteractionOnTransition: !1,
1979
- // ssr
1980
- userAgent: null,
1981
- url: null,
1982
- // To support iOS's swipe-to-go-back gesture (when being used in-app).
1983
- edgeSwipeDetection: !1,
1984
- edgeSwipeThreshold: 20,
1985
- // Autoheight
1986
- autoHeight: !1,
1987
- // Set wrapper width
1988
- setWrapperSize: !1,
1989
- // Virtual Translate
1990
- virtualTranslate: !1,
1991
- // Effects
1992
- effect: "slide",
1993
- // 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
1994
- // Breakpoints
1995
- breakpoints: void 0,
1996
- breakpointsBase: "window",
1997
- // Slides grid
1998
- spaceBetween: 0,
1999
- slidesPerView: 1,
2000
- slidesPerGroup: 1,
2001
- slidesPerGroupSkip: 0,
2002
- slidesPerGroupAuto: !1,
2003
- centeredSlides: !1,
2004
- centeredSlidesBounds: !1,
2005
- slidesOffsetBefore: 0,
2006
- // in px
2007
- slidesOffsetAfter: 0,
2008
- // in px
2009
- normalizeSlideIndex: !0,
2010
- centerInsufficientSlides: !1,
2011
- // Disable swiper and hide navigation when container not overflow
2012
- watchOverflow: !0,
2013
- // Round length
2014
- roundLengths: !1,
2015
- // Touches
2016
- touchRatio: 1,
2017
- touchAngle: 45,
2018
- simulateTouch: !0,
2019
- shortSwipes: !0,
2020
- longSwipes: !0,
2021
- longSwipesRatio: 0.5,
2022
- longSwipesMs: 300,
2023
- followFinger: !0,
2024
- allowTouchMove: !0,
2025
- threshold: 5,
2026
- touchMoveStopPropagation: !1,
2027
- touchStartPreventDefault: !0,
2028
- touchStartForcePreventDefault: !1,
2029
- touchReleaseOnEdges: !1,
2030
- // Unique Navigation Elements
2031
- uniqueNavElements: !0,
2032
- // Resistance
2033
- resistance: !0,
2034
- resistanceRatio: 0.85,
2035
- // Progress
2036
- watchSlidesProgress: !1,
2037
- // Cursor
2038
- grabCursor: !1,
2039
- // Clicks
2040
- preventClicks: !0,
2041
- preventClicksPropagation: !0,
2042
- slideToClickedSlide: !1,
2043
- // loop
2044
- loop: !1,
2045
- loopAddBlankSlides: !0,
2046
- loopAdditionalSlides: 0,
2047
- loopPreventsSliding: !0,
2048
- // rewind
2049
- rewind: !1,
2050
- // Swiping/no swiping
2051
- allowSlidePrev: !0,
2052
- allowSlideNext: !0,
2053
- swipeHandler: null,
2054
- // '.swipe-handler',
2055
- noSwiping: !0,
2056
- noSwipingClass: "swiper-no-swiping",
2057
- noSwipingSelector: null,
2058
- // Passive Listeners
2059
- passiveListeners: !0,
2060
- maxBackfaceHiddenSlides: 10,
2061
- // NS
2062
- containerModifierClass: "swiper-",
2063
- // NEW
2064
- slideClass: "swiper-slide",
2065
- slideBlankClass: "swiper-slide-blank",
2066
- slideActiveClass: "swiper-slide-active",
2067
- slideVisibleClass: "swiper-slide-visible",
2068
- slideFullyVisibleClass: "swiper-slide-fully-visible",
2069
- slideNextClass: "swiper-slide-next",
2070
- slidePrevClass: "swiper-slide-prev",
2071
- wrapperClass: "swiper-wrapper",
2072
- lazyPreloaderClass: "swiper-lazy-preloader",
2073
- lazyPreloadPrevNext: 0,
2074
- // Callbacks
2075
- runCallbacksOnInit: !0,
2076
- // Internals
2077
- _emitClasses: !1
2078
- };
2079
- function yi(t, e) {
2080
- return function(s) {
2081
- s === void 0 && (s = {});
2082
- const n = Object.keys(s)[0], r = s[n];
2083
- if (typeof r != "object" || r === null) {
2084
- B(e, s);
2085
- return;
2086
- }
2087
- if (t[n] === !0 && (t[n] = {
2088
- enabled: !0
2089
- }), n === "navigation" && t[n] && t[n].enabled && !t[n].prevEl && !t[n].nextEl && (t[n].auto = !0), ["pagination", "scrollbar"].indexOf(n) >= 0 && t[n] && t[n].enabled && !t[n].el && (t[n].auto = !0), !(n in t && "enabled" in r)) {
2090
- B(e, s);
2091
- return;
2092
- }
2093
- typeof t[n] == "object" && !("enabled" in t[n]) && (t[n].enabled = !0), t[n] || (t[n] = {
2094
- enabled: !1
2095
- }), B(e, s);
2096
- };
2097
- }
2098
- const pe = {
2099
- eventsEmitter: St,
2100
- update: Ot,
2101
- translate: Nt,
2102
- transition: $t,
2103
- slide: Xt,
2104
- loop: Jt,
2105
- grabCursor: ti,
2106
- events: fi,
2107
- breakpoints: hi,
2108
- checkOverflow: bi,
2109
- classes: Si
2110
- }, me = {};
2111
- let ye = class k {
2112
- constructor() {
2113
- let e, i;
2114
- for (var s = arguments.length, n = new Array(s), r = 0; r < s; r++)
2115
- n[r] = arguments[r];
2116
- n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = B({}, i), e && !i.el && (i.el = e);
2117
- const l = j();
2118
- if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
2119
- const d = [];
2120
- return l.querySelectorAll(i.el).forEach((c) => {
2121
- const p = B({}, i, {
2122
- el: c
2123
- });
2124
- d.push(new k(p));
2125
- }), d;
2126
- }
2127
- const o = this;
2128
- o.__swiper__ = !0, o.support = Be(), o.device = Fe({
2129
- userAgent: i.userAgent
2130
- }), o.browser = gt(), o.eventsListeners = {}, o.eventsAnyListeners = [], o.modules = [...o.__modules__], i.modules && Array.isArray(i.modules) && o.modules.push(...i.modules);
2131
- const a = {};
2132
- o.modules.forEach((d) => {
2133
- d({
2134
- params: i,
2135
- swiper: o,
2136
- extendParams: yi(i, a),
2137
- on: o.on.bind(o),
2138
- once: o.once.bind(o),
2139
- off: o.off.bind(o),
2140
- emit: o.emit.bind(o)
2141
- });
2142
- });
2143
- const u = B({}, Se, a);
2144
- return o.params = B({}, u, me, i), o.originalParams = B({}, o.params), o.passedParams = B({}, i), o.params && o.params.on && Object.keys(o.params.on).forEach((d) => {
2145
- o.on(d, o.params.on[d]);
2146
- }), o.params && o.params.onAny && o.onAny(o.params.onAny), Object.assign(o, {
2147
- enabled: o.params.enabled,
2148
- el: e,
2149
- // Classes
2150
- classNames: [],
2151
- // Slides
2152
- slides: [],
2153
- slidesGrid: [],
2154
- snapGrid: [],
2155
- slidesSizesGrid: [],
2156
- // isDirection
2157
- isHorizontal() {
2158
- return o.params.direction === "horizontal";
2159
- },
2160
- isVertical() {
2161
- return o.params.direction === "vertical";
2162
- },
2163
- // Indexes
2164
- activeIndex: 0,
2165
- realIndex: 0,
2166
- //
2167
- isBeginning: !0,
2168
- isEnd: !1,
2169
- // Props
2170
- translate: 0,
2171
- previousTranslate: 0,
2172
- progress: 0,
2173
- velocity: 0,
2174
- animating: !1,
2175
- cssOverflowAdjustment() {
2176
- return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
2177
- },
2178
- // Locks
2179
- allowSlideNext: o.params.allowSlideNext,
2180
- allowSlidePrev: o.params.allowSlidePrev,
2181
- // Touch Events
2182
- touchEventsData: {
2183
- isTouched: void 0,
2184
- isMoved: void 0,
2185
- allowTouchCallbacks: void 0,
2186
- touchStartTime: void 0,
2187
- isScrolling: void 0,
2188
- currentTranslate: void 0,
2189
- startTranslate: void 0,
2190
- allowThresholdMove: void 0,
2191
- // Form elements to match
2192
- focusableElements: o.params.focusableElements,
2193
- // Last click time
2194
- lastClickTime: 0,
2195
- clickTimeout: void 0,
2196
- // Velocities
2197
- velocities: [],
2198
- allowMomentumBounce: void 0,
2199
- startMoving: void 0,
2200
- pointerId: null,
2201
- touchId: null
2202
- },
2203
- // Clicks
2204
- allowClick: !0,
2205
- // Touches
2206
- allowTouchMove: o.params.allowTouchMove,
2207
- touches: {
2208
- startX: 0,
2209
- startY: 0,
2210
- currentX: 0,
2211
- currentY: 0,
2212
- diff: 0
2213
- },
2214
- // Images
2215
- imagesToLoad: [],
2216
- imagesLoaded: 0
2217
- }), o.emit("_swiper"), o.params.init && o.init(), o;
2218
- }
2219
- getDirectionLabel(e) {
2220
- return this.isHorizontal() ? e : {
2221
- width: "height",
2222
- "margin-top": "margin-left",
2223
- "margin-bottom ": "margin-right",
2224
- "margin-left": "margin-top",
2225
- "margin-right": "margin-bottom",
2226
- "padding-left": "padding-top",
2227
- "padding-right": "padding-bottom",
2228
- marginRight: "marginBottom"
2229
- }[e];
2230
- }
2231
- getSlideIndex(e) {
2232
- const {
2233
- slidesEl: i,
2234
- params: s
2235
- } = this, n = H(i, `.${s.slideClass}, swiper-slide`), r = Me(n[0]);
2236
- return Me(e) - r;
2237
- }
2238
- getSlideIndexByData(e) {
2239
- return this.getSlideIndex(this.slides.filter((i) => i.getAttribute("data-swiper-slide-index") * 1 === e)[0]);
2240
- }
2241
- recalcSlides() {
2242
- const e = this, {
2243
- slidesEl: i,
2244
- params: s
2245
- } = e;
2246
- e.slides = H(i, `.${s.slideClass}, swiper-slide`);
2247
- }
2248
- enable() {
2249
- const e = this;
2250
- e.enabled || (e.enabled = !0, e.params.grabCursor && e.setGrabCursor(), e.emit("enable"));
2251
- }
2252
- disable() {
2253
- const e = this;
2254
- e.enabled && (e.enabled = !1, e.params.grabCursor && e.unsetGrabCursor(), e.emit("disable"));
2255
- }
2256
- setProgress(e, i) {
2257
- const s = this;
2258
- e = Math.min(Math.max(e, 0), 1);
2259
- const n = s.minTranslate(), l = (s.maxTranslate() - n) * e + n;
2260
- s.translateTo(l, typeof i > "u" ? 0 : i), s.updateActiveIndex(), s.updateSlidesClasses();
2261
- }
2262
- emitContainerClasses() {
2263
- const e = this;
2264
- if (!e.params._emitClasses || !e.el) return;
2265
- const i = e.el.className.split(" ").filter((s) => s.indexOf("swiper") === 0 || s.indexOf(e.params.containerModifierClass) === 0);
2266
- e.emit("_containerClasses", i.join(" "));
2267
- }
2268
- getSlideClasses(e) {
2269
- const i = this;
2270
- return i.destroyed ? "" : e.className.split(" ").filter((s) => s.indexOf("swiper-slide") === 0 || s.indexOf(i.params.slideClass) === 0).join(" ");
2271
- }
2272
- emitSlidesClasses() {
2273
- const e = this;
2274
- if (!e.params._emitClasses || !e.el) return;
2275
- const i = [];
2276
- e.slides.forEach((s) => {
2277
- const n = e.getSlideClasses(s);
2278
- i.push({
2279
- slideEl: s,
2280
- classNames: n
2281
- }), e.emit("_slideClass", s, n);
2282
- }), e.emit("_slideClasses", i);
2283
- }
2284
- slidesPerViewDynamic(e, i) {
2285
- e === void 0 && (e = "current"), i === void 0 && (i = !1);
2286
- const s = this, {
2287
- params: n,
2288
- slides: r,
2289
- slidesGrid: l,
2290
- slidesSizesGrid: o,
2291
- size: a,
2292
- activeIndex: u
2293
- } = s;
2294
- let d = 1;
2295
- if (typeof n.slidesPerView == "number") return n.slidesPerView;
2296
- if (n.centeredSlides) {
2297
- let c = r[u] ? Math.ceil(r[u].swiperSlideSize) : 0, p;
2298
- for (let f = u + 1; f < r.length; f += 1)
2299
- r[f] && !p && (c += Math.ceil(r[f].swiperSlideSize), d += 1, c > a && (p = !0));
2300
- for (let f = u - 1; f >= 0; f -= 1)
2301
- r[f] && !p && (c += r[f].swiperSlideSize, d += 1, c > a && (p = !0));
2302
- } else if (e === "current")
2303
- for (let c = u + 1; c < r.length; c += 1)
2304
- (i ? l[c] + o[c] - l[u] < a : l[c] - l[u] < a) && (d += 1);
2305
- else
2306
- for (let c = u - 1; c >= 0; c -= 1)
2307
- l[u] - l[c] < a && (d += 1);
2308
- return d;
2309
- }
2310
- update() {
2311
- const e = this;
2312
- if (!e || e.destroyed) return;
2313
- const {
2314
- snapGrid: i,
2315
- params: s
2316
- } = e;
2317
- s.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((l) => {
2318
- l.complete && se(e, l);
2319
- }), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
2320
- function n() {
2321
- const l = e.rtlTranslate ? e.translate * -1 : e.translate, o = Math.min(Math.max(l, e.maxTranslate()), e.minTranslate());
2322
- e.setTranslate(o), e.updateActiveIndex(), e.updateSlidesClasses();
2323
- }
2324
- let r;
2325
- if (s.freeMode && s.freeMode.enabled && !s.cssMode)
2326
- n(), s.autoHeight && e.updateAutoHeight();
2327
- else {
2328
- if ((s.slidesPerView === "auto" || s.slidesPerView > 1) && e.isEnd && !s.centeredSlides) {
2329
- const l = e.virtual && s.virtual.enabled ? e.virtual.slides : e.slides;
2330
- r = e.slideTo(l.length - 1, 0, !1, !0);
2331
- } else
2332
- r = e.slideTo(e.activeIndex, 0, !1, !0);
2333
- r || n();
2334
- }
2335
- s.watchOverflow && i !== e.snapGrid && e.checkOverflow(), e.emit("update");
2336
- }
2337
- changeDirection(e, i) {
2338
- i === void 0 && (i = !0);
2339
- const s = this, n = s.params.direction;
2340
- return e || (e = n === "horizontal" ? "vertical" : "horizontal"), e === n || e !== "horizontal" && e !== "vertical" || (s.el.classList.remove(`${s.params.containerModifierClass}${n}`), s.el.classList.add(`${s.params.containerModifierClass}${e}`), s.emitContainerClasses(), s.params.direction = e, s.slides.forEach((r) => {
2341
- e === "vertical" ? r.style.width = "" : r.style.height = "";
2342
- }), s.emit("changeDirection"), i && s.update()), s;
2343
- }
2344
- changeLanguageDirection(e) {
2345
- const i = this;
2346
- i.rtl && e === "rtl" || !i.rtl && e === "ltr" || (i.rtl = e === "rtl", i.rtlTranslate = i.params.direction === "horizontal" && i.rtl, i.rtl ? (i.el.classList.add(`${i.params.containerModifierClass}rtl`), i.el.dir = "rtl") : (i.el.classList.remove(`${i.params.containerModifierClass}rtl`), i.el.dir = "ltr"), i.update());
2347
- }
2348
- mount(e) {
2349
- const i = this;
2350
- if (i.mounted) return !0;
2351
- let s = e || i.params.el;
2352
- if (typeof s == "string" && (s = document.querySelector(s)), !s)
2353
- return !1;
2354
- s.swiper = i, s.parentNode && s.parentNode.host && s.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
2355
- const n = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
2356
- let l = s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : H(s, n())[0];
2357
- return !l && i.params.createElements && (l = ve("div", i.params.wrapperClass), s.append(l), H(s, `.${i.params.slideClass}`).forEach((o) => {
2358
- l.append(o);
2359
- })), Object.assign(i, {
2360
- el: s,
2361
- wrapperEl: l,
2362
- slidesEl: i.isElement && !s.parentNode.host.slideSlots ? s.parentNode.host : l,
2363
- hostEl: i.isElement ? s.parentNode.host : s,
2364
- mounted: !0,
2365
- // RTL
2366
- rtl: s.dir.toLowerCase() === "rtl" || q(s, "direction") === "rtl",
2367
- rtlTranslate: i.params.direction === "horizontal" && (s.dir.toLowerCase() === "rtl" || q(s, "direction") === "rtl"),
2368
- wrongRTL: q(l, "display") === "-webkit-box"
2369
- }), !0;
2370
- }
2371
- init(e) {
2372
- const i = this;
2373
- if (i.initialized || i.mount(e) === !1) return i;
2374
- i.emit("beforeInit"), i.params.breakpoints && i.setBreakpoint(), i.addClasses(), i.updateSize(), i.updateSlides(), i.params.watchOverflow && i.checkOverflow(), i.params.grabCursor && i.enabled && i.setGrabCursor(), i.params.loop && i.virtual && i.params.virtual.enabled ? i.slideTo(i.params.initialSlide + i.virtual.slidesBefore, 0, i.params.runCallbacksOnInit, !1, !0) : i.slideTo(i.params.initialSlide, 0, i.params.runCallbacksOnInit, !1, !0), i.params.loop && i.loopCreate(), i.attachEvents();
2375
- const n = [...i.el.querySelectorAll('[loading="lazy"]')];
2376
- return i.isElement && n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')), n.forEach((r) => {
2377
- r.complete ? se(i, r) : r.addEventListener("load", (l) => {
2378
- se(i, l.target);
2379
- });
2380
- }), we(i), i.initialized = !0, we(i), i.emit("init"), i.emit("afterInit"), i;
2381
- }
2382
- destroy(e, i) {
2383
- e === void 0 && (e = !0), i === void 0 && (i = !0);
2384
- const s = this, {
2385
- params: n,
2386
- el: r,
2387
- wrapperEl: l,
2388
- slides: o
2389
- } = s;
2390
- return typeof s.params > "u" || s.destroyed || (s.emit("beforeDestroy"), s.initialized = !1, s.detachEvents(), n.loop && s.loopDestroy(), i && (s.removeClasses(), r && typeof r != "string" && r.removeAttribute("style"), l && l.removeAttribute("style"), o && o.length && o.forEach((a) => {
2391
- a.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), a.removeAttribute("style"), a.removeAttribute("data-swiper-slide-index");
2392
- })), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((a) => {
2393
- s.off(a);
2394
- }), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), nt(s)), s.destroyed = !0), null;
2395
- }
2396
- static extendDefaults(e) {
2397
- B(me, e);
2398
- }
2399
- static get extendedDefaults() {
2400
- return me;
2401
- }
2402
- static get defaults() {
2403
- return Se;
2404
- }
2405
- static installModule(e) {
2406
- k.prototype.__modules__ || (k.prototype.__modules__ = []);
2407
- const i = k.prototype.__modules__;
2408
- typeof e == "function" && i.indexOf(e) < 0 && i.push(e);
2409
- }
2410
- static use(e) {
2411
- return Array.isArray(e) ? (e.forEach((i) => k.installModule(i)), k) : (k.installModule(e), k);
2412
- }
2413
- };
2414
- Object.keys(pe).forEach((t) => {
2415
- Object.keys(pe[t]).forEach((e) => {
2416
- ye.prototype[e] = pe[t][e];
2417
- });
2418
- });
2419
- ye.use([vt, wt]);
2420
- const ke = [
2421
- "eventsPrefix",
2422
- "injectStyles",
2423
- "injectStylesUrls",
2424
- "modules",
2425
- "init",
2426
- "_direction",
2427
- "oneWayMovement",
2428
- "swiperElementNodeName",
2429
- "touchEventsTarget",
2430
- "initialSlide",
2431
- "_speed",
2432
- "cssMode",
2433
- "updateOnWindowResize",
2434
- "resizeObserver",
2435
- "nested",
2436
- "focusableElements",
2437
- "_enabled",
2438
- "_width",
2439
- "_height",
2440
- "preventInteractionOnTransition",
2441
- "userAgent",
2442
- "url",
2443
- "_edgeSwipeDetection",
2444
- "_edgeSwipeThreshold",
2445
- "_freeMode",
2446
- "_autoHeight",
2447
- "setWrapperSize",
2448
- "virtualTranslate",
2449
- "_effect",
2450
- "breakpoints",
2451
- "breakpointsBase",
2452
- "_spaceBetween",
2453
- "_slidesPerView",
2454
- "maxBackfaceHiddenSlides",
2455
- "_grid",
2456
- "_slidesPerGroup",
2457
- "_slidesPerGroupSkip",
2458
- "_slidesPerGroupAuto",
2459
- "_centeredSlides",
2460
- "_centeredSlidesBounds",
2461
- "_slidesOffsetBefore",
2462
- "_slidesOffsetAfter",
2463
- "normalizeSlideIndex",
2464
- "_centerInsufficientSlides",
2465
- "_watchOverflow",
2466
- "roundLengths",
2467
- "touchRatio",
2468
- "touchAngle",
2469
- "simulateTouch",
2470
- "_shortSwipes",
2471
- "_longSwipes",
2472
- "longSwipesRatio",
2473
- "longSwipesMs",
2474
- "_followFinger",
2475
- "allowTouchMove",
2476
- "_threshold",
2477
- "touchMoveStopPropagation",
2478
- "touchStartPreventDefault",
2479
- "touchStartForcePreventDefault",
2480
- "touchReleaseOnEdges",
2481
- "uniqueNavElements",
2482
- "_resistance",
2483
- "_resistanceRatio",
2484
- "_watchSlidesProgress",
2485
- "_grabCursor",
2486
- "preventClicks",
2487
- "preventClicksPropagation",
2488
- "_slideToClickedSlide",
2489
- "_loop",
2490
- "loopAdditionalSlides",
2491
- "loopAddBlankSlides",
2492
- "loopPreventsSliding",
2493
- "_rewind",
2494
- "_allowSlidePrev",
2495
- "_allowSlideNext",
2496
- "_swipeHandler",
2497
- "_noSwiping",
2498
- "noSwipingClass",
2499
- "noSwipingSelector",
2500
- "passiveListeners",
2501
- "containerModifierClass",
2502
- "slideClass",
2503
- "slideActiveClass",
2504
- "slideVisibleClass",
2505
- "slideFullyVisibleClass",
2506
- "slideNextClass",
2507
- "slidePrevClass",
2508
- "slideBlankClass",
2509
- "wrapperClass",
2510
- "lazyPreloaderClass",
2511
- "lazyPreloadPrevNext",
2512
- "runCallbacksOnInit",
2513
- "observer",
2514
- "observeParents",
2515
- "observeSlideChildren",
2516
- // modules
2517
- "a11y",
2518
- "_autoplay",
2519
- "_controller",
2520
- "coverflowEffect",
2521
- "cubeEffect",
2522
- "fadeEffect",
2523
- "flipEffect",
2524
- "creativeEffect",
2525
- "cardsEffect",
2526
- "hashNavigation",
2527
- "history",
2528
- "keyboard",
2529
- "mousewheel",
2530
- "_navigation",
2531
- "_pagination",
2532
- "parallax",
2533
- "_scrollbar",
2534
- "_thumbs",
2535
- "virtual",
2536
- "zoom",
2537
- "control"
2538
- ];
2539
- function X(t) {
2540
- return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
2541
- }
2542
- function Z(t, e) {
2543
- const i = ["__proto__", "constructor", "prototype"];
2544
- Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
2545
- typeof t[s] > "u" ? t[s] = e[s] : X(e[s]) && X(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : Z(t[s], e[s]) : t[s] = e[s];
2546
- });
2547
- }
2548
- function He(t) {
2549
- return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
2550
- }
2551
- function je(t) {
2552
- return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
2553
- }
2554
- function We(t) {
2555
- return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
2556
- }
2557
- function qe(t) {
2558
- t === void 0 && (t = "");
2559
- const e = t.split(" ").map((s) => s.trim()).filter((s) => !!s), i = [];
2560
- return e.forEach((s) => {
2561
- i.indexOf(s) < 0 && i.push(s);
2562
- }), i.join(" ");
2563
- }
2564
- function xi(t) {
2565
- return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
2566
- }
2567
- function Ei(t) {
2568
- let {
2569
- swiper: e,
2570
- slides: i,
2571
- passedParams: s,
2572
- changedParams: n,
2573
- nextEl: r,
2574
- prevEl: l,
2575
- scrollbarEl: o,
2576
- paginationEl: a
2577
- } = t;
2578
- const u = n.filter((y) => y !== "children" && y !== "direction" && y !== "wrapperClass"), {
2579
- params: d,
2580
- pagination: c,
2581
- navigation: p,
2582
- scrollbar: f,
2583
- virtual: h,
2584
- thumbs: v
2585
- } = e;
2586
- let T, m, x, g, S, b, I, A;
2587
- n.includes("thumbs") && s.thumbs && s.thumbs.swiper && d.thumbs && !d.thumbs.swiper && (T = !0), n.includes("controller") && s.controller && s.controller.control && d.controller && !d.controller.control && (m = !0), n.includes("pagination") && s.pagination && (s.pagination.el || a) && (d.pagination || d.pagination === !1) && c && !c.el && (x = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || o) && (d.scrollbar || d.scrollbar === !1) && f && !f.el && (g = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (d.navigation || d.navigation === !1) && p && !p.prevEl && !p.nextEl && (S = !0);
2588
- const P = (y) => {
2589
- e[y] && (e[y].destroy(), y === "navigation" ? (e.isElement && (e[y].prevEl.remove(), e[y].nextEl.remove()), d[y].prevEl = void 0, d[y].nextEl = void 0, e[y].prevEl = void 0, e[y].nextEl = void 0) : (e.isElement && e[y].el.remove(), d[y].el = void 0, e[y].el = void 0));
2590
- };
2591
- n.includes("loop") && e.isElement && (d.loop && !s.loop ? b = !0 : !d.loop && s.loop ? I = !0 : A = !0), u.forEach((y) => {
2592
- if (X(d[y]) && X(s[y]))
2593
- Object.assign(d[y], s[y]), (y === "navigation" || y === "pagination" || y === "scrollbar") && "enabled" in s[y] && !s[y].enabled && P(y);
2594
- else {
2595
- const w = s[y];
2596
- (w === !0 || w === !1) && (y === "navigation" || y === "pagination" || y === "scrollbar") ? w === !1 && P(y) : d[y] = s[y];
2597
- }
2598
- }), u.includes("controller") && !m && e.controller && e.controller.control && d.controller && d.controller.control && (e.controller.control = d.controller.control), n.includes("children") && i && h && d.virtual.enabled ? (h.slides = i, h.update(!0)) : n.includes("virtual") && h && d.virtual.enabled && (i && (h.slides = i), h.update(!0)), n.includes("children") && i && d.loop && (A = !0), T && v.init() && v.update(!0), m && (e.controller.control = d.controller.control), x && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-pagination"), a.part.add("pagination"), e.el.appendChild(a)), a && (d.pagination.el = a), c.init(), c.render(), c.update()), g && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-scrollbar"), o.part.add("scrollbar"), e.el.appendChild(o)), o && (d.scrollbar.el = o), f.init(), f.updateSize(), f.setTranslate()), S && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), r.innerHTML = e.hostEl.constructor.nextButtonSvg, r.part.add("button-next"), e.el.appendChild(r)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), l.innerHTML = e.hostEl.constructor.prevButtonSvg, l.part.add("button-prev"), e.el.appendChild(l))), r && (d.navigation.nextEl = r), l && (d.navigation.prevEl = l), p.init(), p.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (b || A) && e.loopDestroy(), (I || A) && e.loopCreate(), e.update();
2599
- }
2600
- function Pi(t, e) {
2601
- t === void 0 && (t = {}), e === void 0 && (e = !0);
2602
- const i = {
2603
- on: {}
2604
- }, s = {}, n = {};
2605
- Z(i, Se), i._emitClasses = !0, i.init = !1;
2606
- const r = {}, l = ke.map((a) => a.replace(/_/, "")), o = Object.assign({}, t);
2607
- return Object.keys(o).forEach((a) => {
2608
- typeof t[a] > "u" || (l.indexOf(a) >= 0 ? X(t[a]) ? (i[a] = {}, n[a] = {}, Z(i[a], t[a]), Z(n[a], t[a])) : (i[a] = t[a], n[a] = t[a]) : a.search(/on[A-Z]/) === 0 && typeof t[a] == "function" ? e ? s[`${a[2].toLowerCase()}${a.substr(3)}`] = t[a] : i.on[`${a[2].toLowerCase()}${a.substr(3)}`] = t[a] : r[a] = t[a]);
2609
- }), ["navigation", "pagination", "scrollbar"].forEach((a) => {
2610
- i[a] === !0 && (i[a] = {}), i[a] === !1 && delete i[a];
2611
- }), {
2612
- params: i,
2613
- passedParams: n,
2614
- rest: r,
2615
- events: s
2616
- };
2617
- }
2618
- function Mi(t, e) {
2619
- let {
2620
- el: i,
2621
- nextEl: s,
2622
- prevEl: n,
2623
- paginationEl: r,
2624
- scrollbarEl: l,
2625
- swiper: o
2626
- } = t;
2627
- He(e) && s && n && (o.params.navigation.nextEl = s, o.originalParams.navigation.nextEl = s, o.params.navigation.prevEl = n, o.originalParams.navigation.prevEl = n), je(e) && r && (o.params.pagination.el = r, o.originalParams.pagination.el = r), We(e) && l && (o.params.scrollbar.el = l, o.originalParams.scrollbar.el = l), o.init(i);
2628
- }
2629
- function Ci(t, e, i, s, n) {
2630
- const r = [];
2631
- if (!e) return r;
2632
- const l = (a) => {
2633
- r.indexOf(a) < 0 && r.push(a);
2634
- };
2635
- if (i && s) {
2636
- const a = s.map(n), u = i.map(n);
2637
- a.join("") !== u.join("") && l("children"), s.length !== i.length && l("children");
2638
- }
2639
- return ke.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
2640
- if (a in t && a in e)
2641
- if (X(t[a]) && X(e[a])) {
2642
- const u = Object.keys(t[a]), d = Object.keys(e[a]);
2643
- u.length !== d.length ? l(a) : (u.forEach((c) => {
2644
- t[a][c] !== e[a][c] && l(a);
2645
- }), d.forEach((c) => {
2646
- t[a][c] !== e[a][c] && l(a);
2647
- }));
2648
- } else t[a] !== e[a] && l(a);
2649
- }), r;
2650
- }
2651
- const Ii = (t) => {
2652
- !t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
2653
- };
2654
- function le() {
2655
- return le = Object.assign ? Object.assign.bind() : function(t) {
2656
- for (var e = 1; e < arguments.length; e++) {
2657
- var i = arguments[e];
2658
- for (var s in i)
2659
- Object.prototype.hasOwnProperty.call(i, s) && (t[s] = i[s]);
2660
- }
2661
- return t;
2662
- }, le.apply(this, arguments);
2663
- }
2664
- function Ye(t) {
2665
- return t.type && t.type.displayName && t.type.displayName.includes("SwiperSlide");
2666
- }
2667
- function Xe(t) {
2668
- const e = [];
2669
- return G.Children.toArray(t).forEach((i) => {
2670
- Ye(i) ? e.push(i) : i.props && i.props.children && Xe(i.props.children).forEach((s) => e.push(s));
2671
- }), e;
2672
- }
2673
- function Li(t) {
2674
- const e = [], i = {
2675
- "container-start": [],
2676
- "container-end": [],
2677
- "wrapper-start": [],
2678
- "wrapper-end": []
2679
- };
2680
- return G.Children.toArray(t).forEach((s) => {
2681
- if (Ye(s))
2682
- e.push(s);
2683
- else if (s.props && s.props.slot && i[s.props.slot])
2684
- i[s.props.slot].push(s);
2685
- else if (s.props && s.props.children) {
2686
- const n = Xe(s.props.children);
2687
- n.length > 0 ? n.forEach((r) => e.push(r)) : i["container-end"].push(s);
2688
- } else
2689
- i["container-end"].push(s);
2690
- }), {
2691
- slides: e,
2692
- slots: i
2693
- };
2694
- }
2695
- function Oi(t, e, i) {
2696
- if (!i) return null;
2697
- const s = (d) => {
2698
- let c = d;
2699
- return d < 0 ? c = e.length + d : c >= e.length && (c = c - e.length), c;
2700
- }, n = t.isHorizontal() ? {
2701
- [t.rtlTranslate ? "right" : "left"]: `${i.offset}px`
2702
- } : {
2703
- top: `${i.offset}px`
2704
- }, {
2705
- from: r,
2706
- to: l
2707
- } = i, o = t.params.loop ? -e.length : 0, a = t.params.loop ? e.length * 2 : e.length, u = [];
2708
- for (let d = o; d < a; d += 1)
2709
- d >= r && d <= l && u.push(e[s(d)]);
2710
- return u.map((d, c) => /* @__PURE__ */ G.cloneElement(d, {
2711
- swiper: t,
2712
- style: n,
2713
- key: d.props.virtualIndex || d.key || `slide-${c}`
2714
- }));
2715
- }
2716
- function Q(t, e) {
2717
- return typeof window > "u" ? he(t, e) : et(t, e);
2718
- }
2719
- const ze = /* @__PURE__ */ De(null), Ue = /* @__PURE__ */ De(null), _i = () => Qe(Ue), Ke = /* @__PURE__ */ Te(function(t, e) {
2720
- let {
2721
- className: i,
2722
- tag: s = "div",
2723
- wrapperTag: n = "div",
2724
- children: r,
2725
- onSwiper: l,
2726
- ...o
2727
- } = t === void 0 ? {} : t, a = !1;
2728
- const [u, d] = K("swiper"), [c, p] = K(null), [f, h] = K(!1), v = R(!1), T = R(null), m = R(null), x = R(null), g = R(null), S = R(null), b = R(null), I = R(null), A = R(null), {
2729
- params: P,
2730
- passedParams: y,
2731
- rest: w,
2732
- events: E
2733
- } = Pi(o), {
2734
- slides: C,
2735
- slots: M
2736
- } = Li(r), O = () => {
2737
- h(!f);
2738
- };
2739
- Object.assign(P.on, {
2740
- _containerClasses(_, z) {
2741
- d(z);
2742
- }
2743
- });
2744
- const D = () => {
2745
- Object.assign(P.on, E), a = !0;
2746
- const _ = {
2747
- ...P
2748
- };
2749
- if (delete _.wrapperClass, m.current = new ye(_), m.current.virtual && m.current.params.virtual.enabled) {
2750
- m.current.virtual.slides = C;
2751
- const z = {
2752
- cache: !1,
2753
- slides: C,
2754
- renderExternal: p,
2755
- renderExternalUpdate: !1
2756
- };
2757
- Z(m.current.params.virtual, z), Z(m.current.originalParams.virtual, z);
2758
- }
2759
- };
2760
- T.current || D(), m.current && m.current.on("_beforeBreakpoint", O);
2761
- const $ = () => {
2762
- a || !E || !m.current || Object.keys(E).forEach((_) => {
2763
- m.current.on(_, E[_]);
2764
- });
2765
- }, J = () => {
2766
- !E || !m.current || Object.keys(E).forEach((_) => {
2767
- m.current.off(_, E[_]);
2768
- });
2769
- };
2770
- he(() => () => {
2771
- m.current && m.current.off("_beforeBreakpoint", O);
2772
- }), he(() => {
2773
- !v.current && m.current && (m.current.emitSlidesClasses(), v.current = !0);
2774
- }), Q(() => {
2775
- if (e && (e.current = T.current), !!T.current)
2776
- return m.current.destroyed && D(), Mi({
2777
- el: T.current,
2778
- nextEl: S.current,
2779
- prevEl: b.current,
2780
- paginationEl: I.current,
2781
- scrollbarEl: A.current,
2782
- swiper: m.current
2783
- }, P), l && !m.current.destroyed && l(m.current), () => {
2784
- m.current && !m.current.destroyed && m.current.destroy(!0, !1);
2785
- };
2786
- }, []), Q(() => {
2787
- $();
2788
- const _ = Ci(y, x.current, C, g.current, (z) => z.key);
2789
- return x.current = y, g.current = C, _.length && m.current && !m.current.destroyed && Ei({
2790
- swiper: m.current,
2791
- slides: C,
2792
- passedParams: y,
2793
- changedParams: _,
2794
- nextEl: S.current,
2795
- prevEl: b.current,
2796
- scrollbarEl: A.current,
2797
- paginationEl: I.current
2798
- }), () => {
2799
- J();
2800
- };
2801
- }), Q(() => {
2802
- Ii(m.current);
2803
- }, [c]);
2804
- function L() {
2805
- return P.virtual ? Oi(m.current, C, c) : C.map((_, z) => /* @__PURE__ */ G.cloneElement(_, {
2806
- swiper: m.current,
2807
- swiperSlideIndex: z
2808
- }));
2809
- }
2810
- return /* @__PURE__ */ G.createElement(s, le({
2811
- ref: T,
2812
- className: qe(`${u}${i ? ` ${i}` : ""}`)
2813
- }, w), /* @__PURE__ */ G.createElement(Ue.Provider, {
2814
- value: m.current
2815
- }, M["container-start"], /* @__PURE__ */ G.createElement(n, {
2816
- className: xi(P.wrapperClass)
2817
- }, M["wrapper-start"], L(), M["wrapper-end"]), He(P) && /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement("div", {
2818
- ref: b,
2819
- className: "swiper-button-prev"
2820
- }), /* @__PURE__ */ G.createElement("div", {
2821
- ref: S,
2822
- className: "swiper-button-next"
2823
- })), We(P) && /* @__PURE__ */ G.createElement("div", {
2824
- ref: A,
2825
- className: "swiper-scrollbar"
2826
- }), je(P) && /* @__PURE__ */ G.createElement("div", {
2827
- ref: I,
2828
- className: "swiper-pagination"
2829
- }), M["container-end"]));
2830
- });
2831
- Ke.displayName = "Swiper";
2832
- const Ze = /* @__PURE__ */ Te(function(t, e) {
2833
- let {
2834
- tag: i = "div",
2835
- children: s,
2836
- className: n = "",
2837
- swiper: r,
2838
- zoom: l,
2839
- lazy: o,
2840
- virtualIndex: a,
2841
- swiperSlideIndex: u,
2842
- ...d
2843
- } = t === void 0 ? {} : t;
2844
- const c = R(null), [p, f] = K("swiper-slide"), [h, v] = K(!1);
2845
- function T(S, b, I) {
2846
- b === c.current && f(I);
2847
- }
2848
- Q(() => {
2849
- if (typeof u < "u" && (c.current.swiperSlideIndex = u), e && (e.current = c.current), !(!c.current || !r)) {
2850
- if (r.destroyed) {
2851
- p !== "swiper-slide" && f("swiper-slide");
2852
- return;
2853
- }
2854
- return r.on("_slideClass", T), () => {
2855
- r && r.off("_slideClass", T);
2856
- };
2857
- }
2858
- }), Q(() => {
2859
- r && c.current && !r.destroyed && f(r.getSlideClasses(c.current));
2860
- }, [r]);
2861
- const m = {
2862
- isActive: p.indexOf("swiper-slide-active") >= 0,
2863
- isVisible: p.indexOf("swiper-slide-visible") >= 0,
2864
- isPrev: p.indexOf("swiper-slide-prev") >= 0,
2865
- isNext: p.indexOf("swiper-slide-next") >= 0
2866
- }, x = () => typeof s == "function" ? s(m) : s, g = () => {
2867
- v(!0);
2868
- };
2869
- return /* @__PURE__ */ G.createElement(i, le({
2870
- ref: c,
2871
- className: qe(`${p}${n ? ` ${n}` : ""}`),
2872
- "data-swiper-slide-index": a,
2873
- onLoad: g
2874
- }, d), l && /* @__PURE__ */ G.createElement(ze.Provider, {
2875
- value: m
2876
- }, /* @__PURE__ */ G.createElement("div", {
2877
- className: "swiper-zoom-container",
2878
- "data-swiper-zoom": typeof l == "number" ? l : void 0
2879
- }, x(), o && !h && /* @__PURE__ */ G.createElement("div", {
2880
- className: "swiper-lazy-preloader"
2881
- }))), !l && /* @__PURE__ */ G.createElement(ze.Provider, {
2882
- value: m
2883
- }, x(), o && !h && /* @__PURE__ */ G.createElement("div", {
2884
- className: "swiper-lazy-preloader"
2885
- })));
2886
- });
2887
- Ze.displayName = "SwiperSlide";
2888
- const zi = "_swiper_1f4c7_3", Ai = "_slide_1f4c7_9", Di = "_link_1f4c7_16", Gi = "_image_1f4c7_22", Ni = "_navigation_1f4c7_29", Vi = "_pagination_1f4c7_39", Bi = "_slides_1f4c7_58", Fi = "_separator_1f4c7_64", $i = "_progress_1f4c7_71", Ri = "_descriptions_1f4c7_88", N = {
2889
- swiper: zi,
2890
- slide: Ai,
2891
- link: Di,
2892
- image: Gi,
2893
- navigation: Ni,
2894
- pagination: Vi,
2895
- "is-full": "_is-full_1f4c7_53",
2896
- slides: Bi,
2897
- separator: Fi,
2898
- progress: $i,
2899
- "progress-bar-bottom": "_progress-bar-bottom_1f4c7_78",
2900
- "progress-bar": "_progress-bar_1f4c7_78",
2901
- descriptions: Ri
2902
- }, ki = 15e3, Hi = Ge(() => {
2903
- const t = _i(), e = re(() => {
2904
- t.slideNext();
2905
- }, [t]), i = re(() => {
2906
- t.slidePrev();
2907
- }, [t]), s = tt(
2908
- () => [
2909
- {
2910
- isIconButton: !0,
2911
- iconName: "ArrowLeft16px",
2912
- variant: "white",
2913
- onClick: i
2914
- },
2915
- {
2916
- isIconButton: !0,
2917
- iconName: "ArrowRight16px",
2918
- variant: "white",
2919
- onClick: e
2920
- }
2921
- ],
2922
- [i, e]
2923
- );
2924
- return /* @__PURE__ */ V(it, { buttons: s });
2925
- }), Ae = Ge(
2926
- Te((t, e) => /* @__PURE__ */ V(
2927
- "div",
2928
- {
2929
- "data-testid": "progress-bar-wrapper",
2930
- className: W(N.progress, t == null ? void 0 : t.className),
2931
- children: /* @__PURE__ */ V(
2932
- "div",
2933
- {
2934
- ref: e,
2935
- className: N["progress-bar"],
2936
- "data-testid": "progress-bar"
2937
- }
2938
- )
2939
- }
2940
- ))
2941
- );
2942
- function Ki({
2943
- images: t,
2944
- children: e,
2945
- onSlideClick: i,
2946
- swiperClassName: s,
2947
- slideClassName: n,
2948
- imageClassName: r,
2949
- navigationClassName: l,
2950
- sliderBottomPanelClassName: o,
2951
- descriptionsClassName: a,
2952
- progressBarPosition: u = "top",
2953
- isFullPaginationWidth: d = !1,
2954
- needNavigation: c = !0,
2955
- leftDescription: p,
2956
- rightDescription: f,
2957
- delay: h = ki,
2958
- ...v
2959
- }) {
2960
- const T = R(null), m = R(null), [x, g] = K(1), S = `0${x}`, b = `0${(t == null ? void 0 : t.length) ?? 0}`, I = re(() => {
2961
- if (m.current && c) {
2962
- const P = m.current.swiper;
2963
- g(P.realIndex + 1);
2964
- }
2965
- }, [c]), A = re(
2966
- (P, y) => {
2967
- if (T.current && c) {
2968
- const w = P.params.autoplay.delay, E = y / w * 100;
2969
- T.current.style.width = `${100 - E}%`;
2970
- }
2971
- },
2972
- [c]
2973
- );
2974
- return /* @__PURE__ */ U(
2975
- Ke,
2976
- {
2977
- ...v,
2978
- ref: m,
2979
- className: W(N.swiper, s),
2980
- loop: !0,
2981
- autoplay: {
2982
- delay: h,
2983
- disableOnInteraction: !1
2984
- },
2985
- fadeEffect: {
2986
- crossFade: !0
2987
- },
2988
- modules: [ft],
2989
- onAutoplayTimeLeft: A,
2990
- onSlideChange: I,
2991
- children: [
2992
- /* @__PURE__ */ V(
2993
- "div",
2994
- {
2995
- className: W(N.navigation, l),
2996
- slot: "container-start",
2997
- children: c && /* @__PURE__ */ U(Je, { children: [
2998
- /* @__PURE__ */ U(
2999
- "div",
3000
- {
3001
- "data-testid": "pagination",
3002
- className: W(N.pagination, {
3003
- [N["is-full"]]: d
3004
- }),
3005
- children: [
3006
- /* @__PURE__ */ U("h2", { className: N.slides, children: [
3007
- S,
3008
- /* @__PURE__ */ V("span", { className: N.separator }),
3009
- b
3010
- ] }),
3011
- /* @__PURE__ */ V(Hi, {})
3012
- ]
3013
- }
3014
- ),
3015
- u === xe.TOP && /* @__PURE__ */ V(Ae, { ref: T })
3016
- ] })
3017
- }
3018
- ),
3019
- t == null ? void 0 : t.map((P, y) => {
3020
- if (!P) return null;
3021
- const w = /* @__PURE__ */ V(
3022
- "a",
3023
- {
3024
- className: N.link,
3025
- href: P.url,
3026
- rel: "noopener noreferrer",
3027
- target: "_blank",
3028
- children: /* @__PURE__ */ V(
3029
- Ee,
3030
- {
3031
- className: W(N.image, r),
3032
- src: P.image
3033
- }
3034
- )
3035
- }
3036
- ), E = () => typeof e == "function" ? e(P) : P.url ? w : /* @__PURE__ */ V(
3037
- Ee,
3038
- {
3039
- className: W(N.image, r),
3040
- src: P.image,
3041
- desktopImage: P.imageDesktop,
3042
- mobileImage: P.imageMobile
3043
- }
3044
- );
3045
- return /* @__PURE__ */ V(
3046
- Ze,
3047
- {
3048
- "data-testid": `slide-${y}`,
3049
- onClick: i,
3050
- className: W(N.slide, n),
3051
- children: E()
3052
- },
3053
- P.id
3054
- );
3055
- }),
3056
- u === xe.BOTTOM && /* @__PURE__ */ U("div", { className: o, children: [
3057
- /* @__PURE__ */ V(
3058
- Ae,
3059
- {
3060
- ref: T,
3061
- className: N["progress-bar-bottom"]
3062
- }
3063
- ),
3064
- /* @__PURE__ */ U("div", { className: W(N.descriptions, a), children: [
3065
- p && /* @__PURE__ */ V("div", { "data-testid": "slider-left-description", children: p }),
3066
- f && /* @__PURE__ */ V("div", { "data-testid": "slider-right-description", children: f })
3067
- ] })
3068
- ] })
3069
- ]
3070
- }
3071
- );
3072
- }
3073
- export {
3074
- Ki as default
3075
- };