mimir-ui-kit 1.34.4 → 1.34.5

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