@vc-shell/framework 2.0.0-alpha.31 → 2.0.0-alpha.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/ai-agent/index.js +2 -2
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CrmX4_5C.js +4256 -0
  4. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D9BrIj43.js +21552 -0
  5. package/dist/chunks/{index-COv5_72w.js → index-HNCQdWHc.js} +5 -7
  6. package/dist/chunks/{vendor-lodash-es-BwHYzZ39.js → vendor-lodash-es-BB-IQCna.js} +4 -4
  7. package/dist/chunks/{vendor-swiper-D1fVhFeH.js → vendor-swiper-BgqGfw3Y.js} +636 -563
  8. package/dist/chunks/{vendor-vueuse-core-DaNNrqjn.js → vendor-vueuse-core-D4-2M4AW.js} +5 -5
  9. package/dist/core/blade-navigation/singletons.d.ts +21 -0
  10. package/dist/core/blade-navigation/singletons.d.ts.map +1 -0
  11. package/dist/core/blade-navigation/types/index.d.ts +1 -1
  12. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  13. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  14. package/dist/core/composables/useBladeForm/index.d.ts.map +1 -1
  15. package/dist/core/composables/useBladeForm/types.d.ts +1 -0
  16. package/dist/core/composables/useBladeForm/types.d.ts.map +1 -1
  17. package/dist/core/composables/useBreadcrumbs/index.d.ts +1 -1
  18. package/dist/core/composables/useBreadcrumbs/index.d.ts.map +1 -1
  19. package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
  20. package/dist/core/composables/useDynamicProperties/strategies/boolean.d.ts.map +1 -1
  21. package/dist/core/composables/useDynamicProperties/strategies/dictionary.d.ts.map +1 -1
  22. package/dist/core/composables/useDynamicProperties/strategies/regular.d.ts.map +1 -1
  23. package/dist/core/composables/useDynamicProperties/types.d.ts +30 -30
  24. package/dist/core/composables/useDynamicProperties/types.d.ts.map +1 -1
  25. package/dist/core/composables/useExternalProvider/index.d.ts +12 -0
  26. package/dist/core/composables/useExternalProvider/index.d.ts.map +1 -0
  27. package/dist/core/composables/usePopup/index.d.ts +3 -5
  28. package/dist/core/composables/usePopup/index.d.ts.map +1 -1
  29. package/dist/core/composables/usePopup/keys.d.ts +4 -0
  30. package/dist/core/composables/usePopup/keys.d.ts.map +1 -0
  31. package/dist/core/composables/usePopup/preset-registry.d.ts +7 -0
  32. package/dist/core/composables/usePopup/preset-registry.d.ts.map +1 -0
  33. package/dist/core/composables/usePopup/singleton.d.ts +6 -0
  34. package/dist/core/composables/usePopup/singleton.d.ts.map +1 -0
  35. package/dist/core/composables/usePopup/types.d.ts +22 -0
  36. package/dist/core/composables/usePopup/types.d.ts.map +1 -0
  37. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  38. package/dist/core/constants/index.d.ts +0 -1
  39. package/dist/core/constants/index.d.ts.map +1 -1
  40. package/dist/core/notifications/notification.d.ts +19 -0
  41. package/dist/core/notifications/notification.d.ts.map +1 -1
  42. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
  43. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentIframe.vue.d.ts.map +1 -1
  44. package/dist/core/types/breadcrumbs.d.ts +8 -0
  45. package/dist/core/types/breadcrumbs.d.ts.map +1 -0
  46. package/dist/core/types/index.d.ts +1 -12
  47. package/dist/core/types/index.d.ts.map +1 -1
  48. package/dist/framework.js +3637 -2569
  49. package/dist/index.css +2 -2
  50. package/dist/index.d.ts +0 -2
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/injection-keys.d.ts +1 -2
  53. package/dist/injection-keys.d.ts.map +1 -1
  54. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  55. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  56. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts +1 -12
  57. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
  58. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +4 -4
  59. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts.map +1 -1
  60. package/dist/shell/_internal/notifications/register-backend.d.ts +6 -0
  61. package/dist/shell/_internal/notifications/register-backend.d.ts.map +1 -0
  62. package/dist/shell/_internal/popup/keys.d.ts +1 -3
  63. package/dist/shell/_internal/popup/keys.d.ts.map +1 -1
  64. package/dist/shell/_internal/popup/plugin.d.ts +1 -2
  65. package/dist/shell/_internal/popup/plugin.d.ts.map +1 -1
  66. package/dist/shell/_internal/popup/register-presets.d.ts +6 -0
  67. package/dist/shell/_internal/popup/register-presets.d.ts.map +1 -0
  68. package/dist/shell/_internal/popup/types/index.d.ts +1 -21
  69. package/dist/shell/_internal/popup/types/index.d.ts.map +1 -1
  70. package/dist/shell/auth/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -0
  71. package/dist/shell/auth/ChangePasswordPage/components/change-password/index.d.ts +3 -0
  72. package/dist/shell/auth/ChangePasswordPage/components/change-password/index.d.ts.map +1 -0
  73. package/dist/shell/auth/ChangePasswordPage/components/index.d.ts +2 -0
  74. package/dist/shell/auth/ChangePasswordPage/components/index.d.ts.map +1 -0
  75. package/dist/shell/auth/ChangePasswordPage/index.d.ts +2 -0
  76. package/dist/shell/auth/ChangePasswordPage/index.d.ts.map +1 -0
  77. package/dist/shell/auth/index.d.ts +1 -0
  78. package/dist/shell/auth/index.d.ts.map +1 -1
  79. package/dist/shell/auth/sign-in/useExternalProvider.d.ts +2 -11
  80. package/dist/shell/auth/sign-in/useExternalProvider.d.ts.map +1 -1
  81. package/dist/shell/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
  82. package/dist/tsconfig.tsbuildinfo +1 -1
  83. package/dist/ui/components/atoms/vc-banner/vc-banner.vue.d.ts.map +1 -1
  84. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  85. package/dist/ui/components/atoms/vc-card/vc-card.vue.d.ts.map +1 -1
  86. package/dist/ui/components/atoms/vc-image/vc-image.vue.d.ts.map +1 -1
  87. package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
  88. package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
  89. package/dist/ui/components/molecules/vc-accordion/vc-accordion.vue.d.ts.map +1 -1
  90. package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
  91. package/dist/ui/components/molecules/vc-checkbox-group/vc-checkbox-group.vue.d.ts.map +1 -1
  92. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +2 -2
  93. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  94. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +2 -2
  95. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
  96. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +1 -1
  97. package/dist/ui/components/molecules/vc-dropdown-panel/vc-dropdown-panel.vue.d.ts.map +1 -1
  98. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  99. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  100. package/dist/ui/components/molecules/vc-field/vc-field.vue.d.ts.map +1 -1
  101. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  102. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts +3 -3
  103. package/dist/ui/components/molecules/vc-image-tile/vc-image-tile.vue.d.ts.map +1 -1
  104. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +2 -2
  105. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  106. package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
  107. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  108. package/dist/ui/components/molecules/vc-multivalue/_internal/MultivalueTrigger.vue.d.ts +2 -2
  109. package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
  110. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  111. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  112. package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
  113. package/dist/ui/components/molecules/vc-radio-group/vc-radio-group.vue.d.ts.map +1 -1
  114. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  115. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
  116. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  117. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts +5 -5
  118. package/dist/ui/components/molecules/vc-slider/vc-slider.vue.d.ts.map +1 -1
  119. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -1
  120. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  121. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbarSkeleton.vue.d.ts.map +1 -1
  122. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerDesktop.vue.d.ts.map +1 -1
  123. package/dist/ui/components/organisms/vc-blade/_internal/widgets/WidgetContainerMobile.vue.d.ts.map +1 -1
  124. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  125. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  126. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +7 -7
  127. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
  128. package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -1
  129. package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -1
  130. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts +2 -2
  131. package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -1
  132. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +1 -1
  133. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDefault.vue.d.ts +7 -7
  134. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDefault.vue.d.ts.map +1 -1
  135. package/dist/ui/components/organisms/vc-data-table/components/cells/CellMoney.vue.d.ts +7 -7
  136. package/dist/ui/components/organisms/vc-data-table/components/cells/CellMoney.vue.d.ts.map +1 -1
  137. package/dist/ui/components/organisms/vc-data-table/components/cells/CellNumber.vue.d.ts +7 -7
  138. package/dist/ui/components/organisms/vc-data-table/components/cells/CellNumber.vue.d.ts.map +1 -1
  139. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts +7 -7
  140. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts.map +1 -1
  141. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts +2 -2
  142. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts +4 -4
  143. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts.map +1 -1
  144. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +1 -0
  145. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
  146. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts +0 -1
  147. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -1
  148. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts +5 -9
  149. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
  150. package/dist/ui/components/organisms/vc-data-table/composables/useTableExpansion.d.ts +6 -2
  151. package/dist/ui/components/organisms/vc-data-table/composables/useTableExpansion.d.ts.map +1 -1
  152. package/dist/ui/components/organisms/vc-data-table/types.d.ts +2 -0
  153. package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
  154. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +3 -0
  155. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -1
  156. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  157. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts.map +1 -1
  158. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +7 -7
  159. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  160. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +3 -3
  161. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  162. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +3 -3
  163. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  164. package/dist/ui/composables/index.d.ts +2 -0
  165. package/dist/ui/composables/index.d.ts.map +1 -1
  166. package/dist/ui/composables/useBladeLoading/index.d.ts +6 -0
  167. package/dist/ui/composables/useBladeLoading/index.d.ts.map +1 -0
  168. package/dist/ui/composables/useDataTablePagination.d.ts +30 -0
  169. package/dist/ui/composables/useDataTablePagination.d.ts.map +1 -0
  170. package/dist/ui/index.js +139 -139
  171. package/dist/ui/types/index.d.ts +1 -7
  172. package/dist/ui/types/index.d.ts.map +1 -1
  173. package/dist/ui/utilities/index.d.ts +1 -1
  174. package/dist/ui/utilities/index.d.ts.map +1 -1
  175. package/package.json +4 -4
  176. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CEHpWiBV.js +0 -6552
  177. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-ByeZ_FRv.js +0 -19548
  178. package/dist/chunks/index-B0X7STCw.js +0 -181
  179. package/dist/chunks/vc-toast.vue_vue_type_style_index_0_lang-8VHs_4Pe.js +0 -175
  180. package/dist/core/constants/ui.d.ts +0 -50
  181. package/dist/core/constants/ui.d.ts.map +0 -1
  182. package/dist/shell/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +0 -1
  183. package/dist/shell/pages/ChangePasswordPage/components/change-password/index.d.ts +0 -3
  184. package/dist/shell/pages/ChangePasswordPage/components/change-password/index.d.ts.map +0 -1
  185. package/dist/shell/pages/ChangePasswordPage/components/index.d.ts +0 -2
  186. package/dist/shell/pages/ChangePasswordPage/components/index.d.ts.map +0 -1
  187. package/dist/shell/pages/ChangePasswordPage/index.d.ts +0 -2
  188. package/dist/shell/pages/ChangePasswordPage/index.d.ts.map +0 -1
  189. package/dist/shell/pages/index.d.ts +0 -2
  190. package/dist/shell/pages/index.d.ts.map +0 -1
  191. package/dist/ui/utilities/vueUtils.d.ts +0 -34
  192. package/dist/ui/utilities/vueUtils.d.ts.map +0 -1
  193. /package/dist/shell/{pages → auth}/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { ref as G, onUpdated as xe, provide as Me, watch as Fe, nextTick as je, onMounted as Pe, onBeforeUnmount as Ce, h as k, onBeforeUpdate as $e, computed as We } from "vue";
1
+ import { ref as G, onUpdated as Ee, provide as Me, watch as Fe, nextTick as $e, onMounted as Pe, onBeforeUnmount as Ce, h as k, onBeforeUpdate as je, computed as We } from "vue";
2
2
  function he(t) {
3
3
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
4
4
  }
@@ -64,7 +64,7 @@ const Ie = {
64
64
  search: ""
65
65
  }
66
66
  };
67
- function $() {
67
+ function j() {
68
68
  const t = typeof document < "u" ? document : {};
69
69
  return pe(t, Ie), t;
70
70
  }
@@ -197,13 +197,13 @@ function Oe(t) {
197
197
  let l = null, a;
198
198
  const o = e.params.speed;
199
199
  e.wrapperEl.style.scrollSnapType = "none", s.cancelAnimationFrame(e.cssModeFrameID);
200
- const d = i > r ? "next" : "prev", f = (m, h) => d === "next" && m >= h || d === "prev" && m <= h, u = () => {
200
+ const d = i > r ? "next" : "prev", u = (h, g) => d === "next" && h >= g || d === "prev" && h <= g, f = () => {
201
201
  a = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = a);
202
- const m = Math.max(Math.min((a - l) / o, 1), 0), h = 0.5 - Math.cos(m * Math.PI) / 2;
203
- let c = r + h * (i - r);
204
- if (f(c, i) && (c = i), e.wrapperEl.scrollTo({
202
+ const h = Math.max(Math.min((a - l) / o, 1), 0), g = 0.5 - Math.cos(h * Math.PI) / 2;
203
+ let c = r + g * (i - r);
204
+ if (u(c, i) && (c = i), e.wrapperEl.scrollTo({
205
205
  [n]: c
206
- }), f(c, i)) {
206
+ }), u(c, i)) {
207
207
  e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
208
208
  e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
209
209
  [n]: c
@@ -211,9 +211,9 @@ function Oe(t) {
211
211
  }), s.cancelAnimationFrame(e.cssModeFrameID);
212
212
  return;
213
213
  }
214
- e.cssModeFrameID = s.requestAnimationFrame(u);
214
+ e.cssModeFrameID = s.requestAnimationFrame(f);
215
215
  };
216
- u();
216
+ f();
217
217
  }
218
218
  function H(t, e) {
219
219
  e === void 0 && (e = "");
@@ -247,7 +247,7 @@ function ee(t, e) {
247
247
  return i.classList.add(...Array.isArray(e) ? e : Ye(e)), i;
248
248
  }
249
249
  function et(t) {
250
- const e = _(), i = $(), n = t.getBoundingClientRect(), s = i.body, r = t.clientTop || s.clientTop || 0, l = t.clientLeft || s.clientLeft || 0, a = t === e ? e.scrollY : t.scrollTop, o = t === e ? e.scrollX : t.scrollLeft;
250
+ const e = _(), i = j(), n = t.getBoundingClientRect(), s = i.body, r = t.clientTop || s.clientTop || 0, l = t.clientLeft || s.clientLeft || 0, a = t === e ? e.scrollY : t.scrollTop, o = t === e ? e.scrollX : t.scrollLeft;
251
251
  return {
252
252
  top: n.top + a - r,
253
253
  left: n.left + o - l
@@ -280,7 +280,7 @@ function ge(t) {
280
280
  return i;
281
281
  }
282
282
  }
283
- function fe(t, e) {
283
+ function ue(t, e) {
284
284
  const i = [];
285
285
  let n = t.parentElement;
286
286
  for (; n; )
@@ -307,7 +307,7 @@ function we(t, e) {
307
307
  }
308
308
  let ie;
309
309
  function nt() {
310
- const t = _(), e = $();
310
+ const t = _(), e = j();
311
311
  return {
312
312
  smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
313
313
  touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
@@ -325,11 +325,11 @@ function st(t) {
325
325
  ios: !1,
326
326
  android: !1
327
327
  }, a = n.screen.width, o = n.screen.height, d = r.match(/(Android);?[\s\/]+([\d.]+)?/);
328
- let f = r.match(/(iPad).*OS\s([\d_]+)/);
329
- const u = r.match(/(iPod)(.*OS\s([\d_]+))?/), m = !f && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), h = s === "Win32";
328
+ let u = r.match(/(iPad).*OS\s([\d_]+)/);
329
+ const f = r.match(/(iPod)(.*OS\s([\d_]+))?/), h = !u && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), g = s === "Win32";
330
330
  let c = s === "MacIntel";
331
- const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
332
- return !f && c && i.touch && g.indexOf(`${a}x${o}`) >= 0 && (f = r.match(/(Version)\/([\d.]+)/), f || (f = [0, 1, "13_0_0"]), c = !1), d && !h && (l.os = "android", l.android = !0), (f || m || u) && (l.os = "ios", l.ios = !0), l;
331
+ const m = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
332
+ return !u && c && i.touch && m.indexOf(`${a}x${o}`) >= 0 && (u = r.match(/(Version)\/([\d.]+)/), u || (u = [0, 1, "13_0_0"]), c = !1), d && !g && (l.os = "android", l.android = !0), (u || h || f) && (l.os = "ios", l.ios = !0), l;
333
333
  }
334
334
  function Be(t) {
335
335
  return t === void 0 && (t = {}), ne || (ne = st(t)), ne;
@@ -345,7 +345,7 @@ function rt() {
345
345
  if (n()) {
346
346
  const a = String(t.navigator.userAgent);
347
347
  if (a.includes("Version/")) {
348
- const [o, d] = a.split("Version/")[1].split(" ")[0].split(".").map((f) => Number(f));
348
+ const [o, d] = a.split("Version/")[1].split(" ")[0].split(".").map((u) => Number(u));
349
349
  i = o < 16 || o === 16 && d < 2;
350
350
  }
351
351
  }
@@ -371,26 +371,26 @@ function at(t) {
371
371
  const a = () => {
372
372
  !e || e.destroyed || !e.initialized || (n("beforeResize"), n("resize"));
373
373
  }, o = () => {
374
- !e || e.destroyed || !e.initialized || (r = new ResizeObserver((u) => {
374
+ !e || e.destroyed || !e.initialized || (r = new ResizeObserver((f) => {
375
375
  l = s.requestAnimationFrame(() => {
376
376
  const {
377
- width: m,
378
- height: h
377
+ width: h,
378
+ height: g
379
379
  } = e;
380
- let c = m, g = h;
381
- u.forEach((E) => {
380
+ let c = h, m = g;
381
+ f.forEach((S) => {
382
382
  let {
383
383
  contentBoxSize: v,
384
- contentRect: S,
384
+ contentRect: b,
385
385
  target: p
386
- } = E;
387
- p && p !== e.el || (c = S ? S.width : (v[0] || v).inlineSize, g = S ? S.height : (v[0] || v).blockSize);
388
- }), (c !== m || g !== h) && a();
386
+ } = S;
387
+ p && p !== e.el || (c = b ? b.width : (v[0] || v).inlineSize, m = b ? b.height : (v[0] || v).blockSize);
388
+ }), (c !== h || m !== g) && a();
389
389
  });
390
390
  }), r.observe(e.el));
391
391
  }, d = () => {
392
392
  l && s.cancelAnimationFrame(l), r && r.unobserve && e.el && (r.unobserve(e.el), r = null);
393
- }, f = () => {
393
+ }, u = () => {
394
394
  !e || e.destroyed || !e.initialized || n("orientationchange");
395
395
  };
396
396
  i("init", () => {
@@ -398,9 +398,9 @@ function at(t) {
398
398
  o();
399
399
  return;
400
400
  }
401
- s.addEventListener("resize", a), s.addEventListener("orientationchange", f);
401
+ s.addEventListener("resize", a), s.addEventListener("orientationchange", u);
402
402
  }), i("destroy", () => {
403
- d(), s.removeEventListener("resize", a), s.removeEventListener("orientationchange", f);
403
+ d(), s.removeEventListener("resize", a), s.removeEventListener("orientationchange", u);
404
404
  });
405
405
  }
406
406
  function lt(t) {
@@ -410,30 +410,30 @@ function lt(t) {
410
410
  on: n,
411
411
  emit: s
412
412
  } = t;
413
- const r = [], l = _(), a = function(f, u) {
414
- u === void 0 && (u = {});
415
- const m = l.MutationObserver || l.WebkitMutationObserver, h = new m((c) => {
413
+ const r = [], l = _(), a = function(u, f) {
414
+ f === void 0 && (f = {});
415
+ const h = l.MutationObserver || l.WebkitMutationObserver, g = new h((c) => {
416
416
  if (e.__preventObserver__) return;
417
417
  if (c.length === 1) {
418
418
  s("observerUpdate", c[0]);
419
419
  return;
420
420
  }
421
- const g = function() {
421
+ const m = function() {
422
422
  s("observerUpdate", c[0]);
423
423
  };
424
- l.requestAnimationFrame ? l.requestAnimationFrame(g) : l.setTimeout(g, 0);
424
+ l.requestAnimationFrame ? l.requestAnimationFrame(m) : l.setTimeout(m, 0);
425
425
  });
426
- h.observe(f, {
427
- attributes: typeof u.attributes > "u" ? !0 : u.attributes,
428
- childList: e.isElement || (typeof u.childList > "u" ? !0 : u).childList,
429
- characterData: typeof u.characterData > "u" ? !0 : u.characterData
430
- }), r.push(h);
426
+ g.observe(u, {
427
+ attributes: typeof f.attributes > "u" ? !0 : f.attributes,
428
+ childList: e.isElement || (typeof f.childList > "u" ? !0 : f).childList,
429
+ characterData: typeof f.characterData > "u" ? !0 : f.characterData
430
+ }), r.push(g);
431
431
  }, o = () => {
432
432
  if (e.params.observer) {
433
433
  if (e.params.observeParents) {
434
- const f = fe(e.hostEl);
435
- for (let u = 0; u < f.length; u += 1)
436
- a(f[u]);
434
+ const u = ue(e.hostEl);
435
+ for (let f = 0; f < u.length; f += 1)
436
+ a(u[f]);
437
437
  }
438
438
  a(e.hostEl, {
439
439
  childList: e.params.observeSlideChildren
@@ -442,8 +442,8 @@ function lt(t) {
442
442
  });
443
443
  }
444
444
  }, d = () => {
445
- r.forEach((f) => {
446
- f.disconnect();
445
+ r.forEach((u) => {
446
+ u.disconnect();
447
447
  }), r.splice(0, r.length);
448
448
  };
449
449
  i({
@@ -517,10 +517,10 @@ function dt() {
517
517
  size: t.isHorizontal() ? e : i
518
518
  }));
519
519
  }
520
- function ft() {
520
+ function ut() {
521
521
  const t = this;
522
- function e(b, M) {
523
- return parseFloat(b.getPropertyValue(t.getDirectionLabel(M)) || 0);
522
+ function e(x, M) {
523
+ return parseFloat(x.getPropertyValue(t.getDirectionLabel(M)) || 0);
524
524
  }
525
525
  const i = t.params, {
526
526
  wrapperEl: n,
@@ -528,30 +528,30 @@ function ft() {
528
528
  size: r,
529
529
  rtlTranslate: l,
530
530
  wrongRTL: a
531
- } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, f = H(s, `.${t.params.slideClass}, swiper-slide`), u = o ? t.virtual.slides.length : f.length;
532
- let m = [];
533
- const h = [], c = [];
534
- let g = i.slidesOffsetBefore;
535
- typeof g == "function" && (g = i.slidesOffsetBefore.call(t));
536
- let E = i.slidesOffsetAfter;
537
- typeof E == "function" && (E = i.slidesOffsetAfter.call(t));
538
- const v = t.snapGrid.length, S = t.slidesGrid.length;
539
- let p = i.spaceBetween, T = -g, x = 0, C = 0;
531
+ } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, u = H(s, `.${t.params.slideClass}, swiper-slide`), f = o ? t.virtual.slides.length : u.length;
532
+ let h = [];
533
+ const g = [], c = [];
534
+ let m = i.slidesOffsetBefore;
535
+ typeof m == "function" && (m = i.slidesOffsetBefore.call(t));
536
+ let S = i.slidesOffsetAfter;
537
+ typeof S == "function" && (S = i.slidesOffsetAfter.call(t));
538
+ const v = t.snapGrid.length, b = t.slidesGrid.length;
539
+ let p = i.spaceBetween, T = -m, E = 0, C = 0;
540
540
  if (typeof r > "u")
541
541
  return;
542
- typeof p == "string" && p.indexOf("%") >= 0 ? p = parseFloat(p.replace("%", "")) / 100 * r : typeof p == "string" && (p = parseFloat(p)), t.virtualSize = -p, f.forEach((b) => {
543
- l ? b.style.marginLeft = "" : b.style.marginRight = "", b.style.marginBottom = "", b.style.marginTop = "";
542
+ typeof p == "string" && p.indexOf("%") >= 0 ? p = parseFloat(p.replace("%", "")) / 100 * r : typeof p == "string" && (p = parseFloat(p)), t.virtualSize = -p, u.forEach((x) => {
543
+ l ? x.style.marginLeft = "" : x.style.marginRight = "", x.style.marginBottom = "", x.style.marginTop = "";
544
544
  }), i.centeredSlides && i.cssMode && (K(n, "--swiper-centered-offset-before", ""), K(n, "--swiper-centered-offset-after", ""));
545
545
  const P = i.grid && i.grid.rows > 1 && t.grid;
546
- P ? t.grid.initSlides(f) : t.grid && t.grid.unsetSlides();
546
+ P ? t.grid.initSlides(u) : t.grid && t.grid.unsetSlides();
547
547
  let y;
548
- const w = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((b) => typeof i.breakpoints[b].slidesPerView < "u").length > 0;
549
- for (let b = 0; b < u; b += 1) {
548
+ const w = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((x) => typeof i.breakpoints[x].slidesPerView < "u").length > 0;
549
+ for (let x = 0; x < f; x += 1) {
550
550
  y = 0;
551
551
  let M;
552
- if (f[b] && (M = f[b]), P && t.grid.updateSlide(b, M, f), !(f[b] && W(M, "display") === "none")) {
552
+ if (u[x] && (M = u[x]), P && t.grid.updateSlide(x, M, u), !(u[x] && W(M, "display") === "none")) {
553
553
  if (i.slidesPerView === "auto") {
554
- w && (f[b].style[t.getDirectionLabel("width")] = "");
554
+ w && (u[x].style[t.getDirectionLabel("width")] = "");
555
555
  const I = getComputedStyle(M), O = M.style.transform, B = M.style.webkitTransform;
556
556
  if (O && (M.style.transform = "none"), B && (M.style.webkitTransform = "none"), i.roundLengths)
557
557
  y = t.isHorizontal() ? ve(M, "width") : ve(M, "height");
@@ -569,73 +569,73 @@ function ft() {
569
569
  }
570
570
  O && (M.style.transform = O), B && (M.style.webkitTransform = B), i.roundLengths && (y = Math.floor(y));
571
571
  } else
572
- y = (r - (i.slidesPerView - 1) * p) / i.slidesPerView, i.roundLengths && (y = Math.floor(y)), f[b] && (f[b].style[t.getDirectionLabel("width")] = `${y}px`);
573
- f[b] && (f[b].swiperSlideSize = y), c.push(y), i.centeredSlides ? (T = T + y / 2 + x / 2 + p, x === 0 && b !== 0 && (T = T - r / 2 - p), b === 0 && (T = T - r / 2 - p), Math.abs(T) < 1 / 1e3 && (T = 0), i.roundLengths && (T = Math.floor(T)), C % i.slidesPerGroup === 0 && m.push(T), h.push(T)) : (i.roundLengths && (T = Math.floor(T)), (C - Math.min(t.params.slidesPerGroupSkip, C)) % t.params.slidesPerGroup === 0 && m.push(T), h.push(T), T = T + y + p), t.virtualSize += y + p, x = y, C += 1;
572
+ y = (r - (i.slidesPerView - 1) * p) / i.slidesPerView, i.roundLengths && (y = Math.floor(y)), u[x] && (u[x].style[t.getDirectionLabel("width")] = `${y}px`);
573
+ u[x] && (u[x].swiperSlideSize = y), c.push(y), i.centeredSlides ? (T = T + y / 2 + E / 2 + p, E === 0 && x !== 0 && (T = T - r / 2 - p), x === 0 && (T = T - r / 2 - p), Math.abs(T) < 1 / 1e3 && (T = 0), i.roundLengths && (T = Math.floor(T)), C % i.slidesPerGroup === 0 && h.push(T), g.push(T)) : (i.roundLengths && (T = Math.floor(T)), (C - Math.min(t.params.slidesPerGroupSkip, C)) % t.params.slidesPerGroup === 0 && h.push(T), g.push(T), T = T + y + p), t.virtualSize += y + p, E = y, C += 1;
574
574
  }
575
575
  }
576
- if (t.virtualSize = Math.max(t.virtualSize, r) + E, l && a && (i.effect === "slide" || i.effect === "coverflow") && (n.style.width = `${t.virtualSize + p}px`), i.setWrapperSize && (n.style[t.getDirectionLabel("width")] = `${t.virtualSize + p}px`), P && t.grid.updateWrapperSize(y, m), !i.centeredSlides) {
577
- const b = [];
578
- for (let M = 0; M < m.length; M += 1) {
579
- let I = m[M];
580
- i.roundLengths && (I = Math.floor(I)), m[M] <= t.virtualSize - r && b.push(I);
576
+ if (t.virtualSize = Math.max(t.virtualSize, r) + S, l && a && (i.effect === "slide" || i.effect === "coverflow") && (n.style.width = `${t.virtualSize + p}px`), i.setWrapperSize && (n.style[t.getDirectionLabel("width")] = `${t.virtualSize + p}px`), P && t.grid.updateWrapperSize(y, h), !i.centeredSlides) {
577
+ const x = [];
578
+ for (let M = 0; M < h.length; M += 1) {
579
+ let I = h[M];
580
+ i.roundLengths && (I = Math.floor(I)), h[M] <= t.virtualSize - r && x.push(I);
581
581
  }
582
- m = b, Math.floor(t.virtualSize - r) - Math.floor(m[m.length - 1]) > 1 && m.push(t.virtualSize - r);
582
+ h = x, Math.floor(t.virtualSize - r) - Math.floor(h[h.length - 1]) > 1 && h.push(t.virtualSize - r);
583
583
  }
584
584
  if (o && i.loop) {
585
- const b = c[0] + p;
585
+ const x = c[0] + p;
586
586
  if (i.slidesPerGroup > 1) {
587
- const M = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), I = b * i.slidesPerGroup;
587
+ const M = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), I = x * i.slidesPerGroup;
588
588
  for (let O = 0; O < M; O += 1)
589
- m.push(m[m.length - 1] + I);
589
+ h.push(h[h.length - 1] + I);
590
590
  }
591
591
  for (let M = 0; M < t.virtual.slidesBefore + t.virtual.slidesAfter; M += 1)
592
- i.slidesPerGroup === 1 && m.push(m[m.length - 1] + b), h.push(h[h.length - 1] + b), t.virtualSize += b;
592
+ i.slidesPerGroup === 1 && h.push(h[h.length - 1] + x), g.push(g[g.length - 1] + x), t.virtualSize += x;
593
593
  }
594
- if (m.length === 0 && (m = [0]), p !== 0) {
595
- const b = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
596
- f.filter((M, I) => !i.cssMode || i.loop ? !0 : I !== f.length - 1).forEach((M) => {
597
- M.style[b] = `${p}px`;
594
+ if (h.length === 0 && (h = [0]), p !== 0) {
595
+ const x = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
596
+ u.filter((M, I) => !i.cssMode || i.loop ? !0 : I !== u.length - 1).forEach((M) => {
597
+ M.style[x] = `${p}px`;
598
598
  });
599
599
  }
600
600
  if (i.centeredSlides && i.centeredSlidesBounds) {
601
- let b = 0;
601
+ let x = 0;
602
602
  c.forEach((I) => {
603
- b += I + (p || 0);
604
- }), b -= p;
605
- const M = b > r ? b - r : 0;
606
- m = m.map((I) => I <= 0 ? -g : I > M ? M + E : I);
603
+ x += I + (p || 0);
604
+ }), x -= p;
605
+ const M = x > r ? x - r : 0;
606
+ h = h.map((I) => I <= 0 ? -m : I > M ? M + S : I);
607
607
  }
608
608
  if (i.centerInsufficientSlides) {
609
- let b = 0;
609
+ let x = 0;
610
610
  c.forEach((I) => {
611
- b += I + (p || 0);
612
- }), b -= p;
611
+ x += I + (p || 0);
612
+ }), x -= p;
613
613
  const M = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
614
- if (b + M < r) {
615
- const I = (r - b - M) / 2;
616
- m.forEach((O, B) => {
617
- m[B] = O - I;
618
- }), h.forEach((O, B) => {
619
- h[B] = O + I;
614
+ if (x + M < r) {
615
+ const I = (r - x - M) / 2;
616
+ h.forEach((O, B) => {
617
+ h[B] = O - I;
618
+ }), g.forEach((O, B) => {
619
+ g[B] = O + I;
620
620
  });
621
621
  }
622
622
  }
623
623
  if (Object.assign(t, {
624
- slides: f,
625
- snapGrid: m,
626
- slidesGrid: h,
624
+ slides: u,
625
+ snapGrid: h,
626
+ slidesGrid: g,
627
627
  slidesSizesGrid: c
628
628
  }), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
629
- K(n, "--swiper-centered-offset-before", `${-m[0]}px`), K(n, "--swiper-centered-offset-after", `${t.size / 2 - c[c.length - 1] / 2}px`);
630
- const b = -t.snapGrid[0], M = -t.slidesGrid[0];
631
- t.snapGrid = t.snapGrid.map((I) => I + b), t.slidesGrid = t.slidesGrid.map((I) => I + M);
629
+ K(n, "--swiper-centered-offset-before", `${-h[0]}px`), K(n, "--swiper-centered-offset-after", `${t.size / 2 - c[c.length - 1] / 2}px`);
630
+ const x = -t.snapGrid[0], M = -t.slidesGrid[0];
631
+ t.snapGrid = t.snapGrid.map((I) => I + x), t.slidesGrid = t.slidesGrid.map((I) => I + M);
632
632
  }
633
- if (u !== d && t.emit("slidesLengthChange"), m.length !== v && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), h.length !== S && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
634
- const b = `${i.containerModifierClass}backface-hidden`, M = t.el.classList.contains(b);
635
- u <= i.maxBackfaceHiddenSlides ? M || t.el.classList.add(b) : M && t.el.classList.remove(b);
633
+ if (f !== d && t.emit("slidesLengthChange"), h.length !== v && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), g.length !== b && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
634
+ const x = `${i.containerModifierClass}backface-hidden`, M = t.el.classList.contains(x);
635
+ f <= i.maxBackfaceHiddenSlides ? M || t.el.classList.add(x) : M && t.el.classList.remove(x);
636
636
  }
637
637
  }
638
- function ut(t) {
638
+ function ft(t) {
639
639
  const e = this, i = [], n = e.virtual && e.params.virtual.enabled;
640
640
  let s = 0, r;
641
641
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
@@ -683,17 +683,17 @@ function pt(t) {
683
683
  typeof a == "string" && a.indexOf("%") >= 0 ? a = parseFloat(a.replace("%", "")) / 100 * e.size : typeof a == "string" && (a = parseFloat(a));
684
684
  for (let o = 0; o < n.length; o += 1) {
685
685
  const d = n[o];
686
- let f = d.swiperSlideOffset;
687
- i.cssMode && i.centeredSlides && (f -= n[0].swiperSlideOffset);
688
- const u = (l + (i.centeredSlides ? e.minTranslate() : 0) - f) / (d.swiperSlideSize + a), m = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - f) / (d.swiperSlideSize + a), h = -(l - f), c = h + e.slidesSizesGrid[o], g = h >= 0 && h <= e.size - e.slidesSizesGrid[o], E = h >= 0 && h < e.size - 1 || c > 1 && c <= e.size || h <= 0 && c >= e.size;
689
- E && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), Se(d, E, i.slideVisibleClass), Se(d, g, i.slideFullyVisibleClass), d.progress = s ? -u : u, d.originalProgress = s ? -m : m;
686
+ let u = d.swiperSlideOffset;
687
+ i.cssMode && i.centeredSlides && (u -= n[0].swiperSlideOffset);
688
+ const f = (l + (i.centeredSlides ? e.minTranslate() : 0) - u) / (d.swiperSlideSize + a), h = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - u) / (d.swiperSlideSize + a), g = -(l - u), c = g + e.slidesSizesGrid[o], m = g >= 0 && g <= e.size - e.slidesSizesGrid[o], S = g >= 0 && g < e.size - 1 || c > 1 && c <= e.size || g <= 0 && c >= e.size;
689
+ S && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), Se(d, S, i.slideVisibleClass), Se(d, m, i.slideFullyVisibleClass), d.progress = s ? -f : f, d.originalProgress = s ? -h : h;
690
690
  }
691
691
  }
692
692
  function mt(t) {
693
693
  const e = this;
694
694
  if (typeof t > "u") {
695
- const f = e.rtlTranslate ? -1 : 1;
696
- t = e && e.translate && e.translate * f || 0;
695
+ const u = e.rtlTranslate ? -1 : 1;
696
+ t = e && e.translate && e.translate * u || 0;
697
697
  }
698
698
  const i = e.params, n = e.maxTranslate() - e.minTranslate();
699
699
  let {
@@ -707,12 +707,12 @@ function mt(t) {
707
707
  s = 0, r = !0, l = !0;
708
708
  else {
709
709
  s = (t - e.minTranslate()) / n;
710
- const f = Math.abs(t - e.minTranslate()) < 1, u = Math.abs(t - e.maxTranslate()) < 1;
711
- r = f || s <= 0, l = u || s >= 1, f && (s = 0), u && (s = 1);
710
+ const u = Math.abs(t - e.minTranslate()) < 1, f = Math.abs(t - e.maxTranslate()) < 1;
711
+ r = u || s <= 0, l = f || s >= 1, u && (s = 0), f && (s = 1);
712
712
  }
713
713
  if (i.loop) {
714
- const f = e.getSlideIndexByData(0), u = e.getSlideIndexByData(e.slides.length - 1), m = e.slidesGrid[f], h = e.slidesGrid[u], c = e.slidesGrid[e.slidesGrid.length - 1], g = Math.abs(t);
715
- g >= m ? a = (g - m) / c : a = (g + c - h) / c, a > 1 && (a -= 1);
714
+ const u = e.getSlideIndexByData(0), f = e.getSlideIndexByData(e.slides.length - 1), h = e.slidesGrid[u], g = e.slidesGrid[f], c = e.slidesGrid[e.slidesGrid.length - 1], m = Math.abs(t);
715
+ m >= h ? a = (m - h) / c : a = (m + c - g) / c, a > 1 && (a -= 1);
716
716
  }
717
717
  Object.assign(e, {
718
718
  progress: s,
@@ -730,18 +730,18 @@ function ht() {
730
730
  params: i,
731
731
  slidesEl: n,
732
732
  activeIndex: s
733
- } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (u) => H(n, `.${i.slideClass}${u}, swiper-slide${u}`)[0];
734
- let o, d, f;
733
+ } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (f) => H(n, `.${i.slideClass}${f}, swiper-slide${f}`)[0];
734
+ let o, d, u;
735
735
  if (r)
736
736
  if (i.loop) {
737
- let u = s - t.virtual.slidesBefore;
738
- u < 0 && (u = t.virtual.slides.length + u), u >= t.virtual.slides.length && (u -= t.virtual.slides.length), o = a(`[data-swiper-slide-index="${u}"]`);
737
+ let f = s - t.virtual.slidesBefore;
738
+ f < 0 && (f = t.virtual.slides.length + f), f >= t.virtual.slides.length && (f -= t.virtual.slides.length), o = a(`[data-swiper-slide-index="${f}"]`);
739
739
  } else
740
740
  o = a(`[data-swiper-slide-index="${s}"]`);
741
741
  else
742
- l ? (o = e.find((u) => u.column === s), f = e.find((u) => u.column === s + 1), d = e.find((u) => u.column === s - 1)) : o = e[s];
743
- o && (l || (f = it(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !f && (f = e[0]), d = tt(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((u) => {
744
- re(u, u === o, i.slideActiveClass), re(u, u === f, i.slideNextClass), re(u, u === d, i.slidePrevClass);
742
+ l ? (o = e.find((f) => f.column === s), u = e.find((f) => f.column === s + 1), d = e.find((f) => f.column === s - 1)) : o = e[s];
743
+ o && (l || (u = it(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !u && (u = e[0]), d = tt(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((f) => {
744
+ re(f, f === o, i.slideActiveClass), re(f, f === u, i.slideNextClass), re(f, f === d, i.slidePrevClass);
745
745
  }), t.emitSlidesClasses();
746
746
  }
747
747
  const Z = (t, e) => {
@@ -757,7 +757,7 @@ const Z = (t, e) => {
757
757
  if (!t.slides[e]) return;
758
758
  const i = t.slides[e].querySelector('[loading="lazy"]');
759
759
  i && i.removeAttribute("loading");
760
- }, ue = (t) => {
760
+ }, fe = (t) => {
761
761
  if (!t || t.destroyed || !t.params) return;
762
762
  let e = t.params.lazyPreloadPrevNext;
763
763
  const i = t.slides.length;
@@ -802,45 +802,45 @@ function vt(t) {
802
802
  snapIndex: a
803
803
  } = e;
804
804
  let o = t, d;
805
- const f = (h) => {
806
- let c = h - e.virtual.slidesBefore;
805
+ const u = (g) => {
806
+ let c = g - e.virtual.slidesBefore;
807
807
  return c < 0 && (c = e.virtual.slides.length + c), c >= e.virtual.slides.length && (c -= e.virtual.slides.length), c;
808
808
  };
809
809
  if (typeof o > "u" && (o = gt(e)), n.indexOf(i) >= 0)
810
810
  d = n.indexOf(i);
811
811
  else {
812
- const h = Math.min(s.slidesPerGroupSkip, o);
813
- d = h + Math.floor((o - h) / s.slidesPerGroup);
812
+ const g = Math.min(s.slidesPerGroupSkip, o);
813
+ d = g + Math.floor((o - g) / s.slidesPerGroup);
814
814
  }
815
815
  if (d >= n.length && (d = n.length - 1), o === r && !e.params.loop) {
816
816
  d !== a && (e.snapIndex = d, e.emit("snapIndexChange"));
817
817
  return;
818
818
  }
819
819
  if (o === r && e.params.loop && e.virtual && e.params.virtual.enabled) {
820
- e.realIndex = f(o);
820
+ e.realIndex = u(o);
821
821
  return;
822
822
  }
823
- const u = e.grid && s.grid && s.grid.rows > 1;
824
- let m;
823
+ const f = e.grid && s.grid && s.grid.rows > 1;
824
+ let h;
825
825
  if (e.virtual && s.virtual.enabled && s.loop)
826
- m = f(o);
827
- else if (u) {
828
- const h = e.slides.find((g) => g.column === o);
829
- let c = parseInt(h.getAttribute("data-swiper-slide-index"), 10);
830
- Number.isNaN(c) && (c = Math.max(e.slides.indexOf(h), 0)), m = Math.floor(c / s.grid.rows);
826
+ h = u(o);
827
+ else if (f) {
828
+ const g = e.slides.find((m) => m.column === o);
829
+ let c = parseInt(g.getAttribute("data-swiper-slide-index"), 10);
830
+ Number.isNaN(c) && (c = Math.max(e.slides.indexOf(g), 0)), h = Math.floor(c / s.grid.rows);
831
831
  } else if (e.slides[o]) {
832
- const h = e.slides[o].getAttribute("data-swiper-slide-index");
833
- h ? m = parseInt(h, 10) : m = o;
832
+ const g = e.slides[o].getAttribute("data-swiper-slide-index");
833
+ g ? h = parseInt(g, 10) : h = o;
834
834
  } else
835
- m = o;
835
+ h = o;
836
836
  Object.assign(e, {
837
837
  previousSnapIndex: a,
838
838
  snapIndex: d,
839
839
  previousRealIndex: l,
840
- realIndex: m,
840
+ realIndex: h,
841
841
  previousIndex: r,
842
842
  activeIndex: o
843
- }), e.initialized && ue(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== m && e.emit("realIndexChange"), e.emit("slideChange"));
843
+ }), e.initialized && fe(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== h && e.emit("realIndexChange"), e.emit("slideChange"));
844
844
  }
845
845
  function wt(t, e) {
846
846
  const i = this, n = i.params;
@@ -866,8 +866,8 @@ function wt(t, e) {
866
866
  }
867
867
  var St = {
868
868
  updateSize: dt,
869
- updateSlides: ft,
870
- updateAutoHeight: ut,
869
+ updateSlides: ut,
870
+ updateAutoHeight: ft,
871
871
  updateSlidesOffset: ct,
872
872
  updateSlidesProgress: pt,
873
873
  updateProgress: mt,
@@ -900,17 +900,17 @@ function Tt(t, e) {
900
900
  let a = 0, o = 0;
901
901
  const d = 0;
902
902
  i.isHorizontal() ? a = n ? -t : t : o = t, s.roundLengths && (a = Math.floor(a), o = Math.floor(o)), i.previousTranslate = i.translate, i.translate = i.isHorizontal() ? a : o, s.cssMode ? r[i.isHorizontal() ? "scrollLeft" : "scrollTop"] = i.isHorizontal() ? -a : -o : s.virtualTranslate || (i.isHorizontal() ? a -= i.cssOverflowAdjustment() : o -= i.cssOverflowAdjustment(), r.style.transform = `translate3d(${a}px, ${o}px, ${d}px)`);
903
- let f;
904
- const u = i.maxTranslate() - i.minTranslate();
905
- u === 0 ? f = 0 : f = (t - i.minTranslate()) / u, f !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
903
+ let u;
904
+ const f = i.maxTranslate() - i.minTranslate();
905
+ f === 0 ? u = 0 : u = (t - i.minTranslate()) / f, u !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
906
906
  }
907
907
  function yt() {
908
908
  return -this.snapGrid[0];
909
909
  }
910
- function Et() {
910
+ function xt() {
911
911
  return -this.snapGrid[this.snapGrid.length - 1];
912
912
  }
913
- function xt(t, e, i, n, s) {
913
+ function Et(t, e, i, n, s) {
914
914
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), n === void 0 && (n = !0);
915
915
  const r = this, {
916
916
  params: l,
@@ -919,35 +919,35 @@ function xt(t, e, i, n, s) {
919
919
  if (r.animating && l.preventInteractionOnTransition)
920
920
  return !1;
921
921
  const o = r.minTranslate(), d = r.maxTranslate();
922
- let f;
923
- if (n && t > o ? f = o : n && t < d ? f = d : f = t, r.updateProgress(f), l.cssMode) {
924
- const u = r.isHorizontal();
922
+ let u;
923
+ if (n && t > o ? u = o : n && t < d ? u = d : u = t, r.updateProgress(u), l.cssMode) {
924
+ const f = r.isHorizontal();
925
925
  if (e === 0)
926
- a[u ? "scrollLeft" : "scrollTop"] = -f;
926
+ a[f ? "scrollLeft" : "scrollTop"] = -u;
927
927
  else {
928
928
  if (!r.support.smoothScroll)
929
929
  return Oe({
930
930
  swiper: r,
931
- targetPosition: -f,
932
- side: u ? "left" : "top"
931
+ targetPosition: -u,
932
+ side: f ? "left" : "top"
933
933
  }), !0;
934
934
  a.scrollTo({
935
- [u ? "left" : "top"]: -f,
935
+ [f ? "left" : "top"]: -u,
936
936
  behavior: "smooth"
937
937
  });
938
938
  }
939
939
  return !0;
940
940
  }
941
- return e === 0 ? (r.setTransition(0), r.setTranslate(f), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(f), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(m) {
942
- !r || r.destroyed || m.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
941
+ return e === 0 ? (r.setTransition(0), r.setTranslate(u), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(u), i && (r.emit("beforeTransitionStart", e, s), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(h) {
942
+ !r || r.destroyed || h.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
943
943
  }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
944
944
  }
945
945
  var Mt = {
946
946
  getTranslate: bt,
947
947
  setTranslate: Tt,
948
948
  minTranslate: yt,
949
- maxTranslate: Et,
950
- translateTo: xt
949
+ maxTranslate: xt,
950
+ translateTo: Et
951
951
  };
952
952
  function Pt(t, e) {
953
953
  const i = this;
@@ -1005,38 +1005,38 @@ function Lt(t, e, i, n, s) {
1005
1005
  params: a,
1006
1006
  snapGrid: o,
1007
1007
  slidesGrid: d,
1008
- previousIndex: f,
1009
- activeIndex: u,
1010
- rtlTranslate: m,
1011
- wrapperEl: h,
1008
+ previousIndex: u,
1009
+ activeIndex: f,
1010
+ rtlTranslate: h,
1011
+ wrapperEl: g,
1012
1012
  enabled: c
1013
1013
  } = r;
1014
1014
  if (!c && !n && !s || r.destroyed || r.animating && a.preventInteractionOnTransition)
1015
1015
  return !1;
1016
1016
  typeof e > "u" && (e = r.params.speed);
1017
- const g = Math.min(r.params.slidesPerGroupSkip, l);
1018
- let E = g + Math.floor((l - g) / r.params.slidesPerGroup);
1019
- E >= o.length && (E = o.length - 1);
1020
- const v = -o[E];
1017
+ const m = Math.min(r.params.slidesPerGroupSkip, l);
1018
+ let S = m + Math.floor((l - m) / r.params.slidesPerGroup);
1019
+ S >= o.length && (S = o.length - 1);
1020
+ const v = -o[S];
1021
1021
  if (a.normalizeSlideIndex)
1022
1022
  for (let P = 0; P < d.length; P += 1) {
1023
- const y = -Math.floor(v * 100), w = Math.floor(d[P] * 100), b = Math.floor(d[P + 1] * 100);
1024
- typeof d[P + 1] < "u" ? y >= w && y < b - (b - w) / 2 ? l = P : y >= w && y < b && (l = P + 1) : y >= w && (l = P);
1023
+ const y = -Math.floor(v * 100), w = Math.floor(d[P] * 100), x = Math.floor(d[P + 1] * 100);
1024
+ typeof d[P + 1] < "u" ? y >= w && y < x - (x - w) / 2 ? l = P : y >= w && y < x && (l = P + 1) : y >= w && (l = P);
1025
1025
  }
1026
- if (r.initialized && l !== u && (!r.allowSlideNext && (m ? v > r.translate && v > r.minTranslate() : v < r.translate && v < r.minTranslate()) || !r.allowSlidePrev && v > r.translate && v > r.maxTranslate() && (u || 0) !== l))
1026
+ if (r.initialized && l !== f && (!r.allowSlideNext && (h ? v > r.translate && v > r.minTranslate() : v < r.translate && v < r.minTranslate()) || !r.allowSlidePrev && v > r.translate && v > r.maxTranslate() && (f || 0) !== l))
1027
1027
  return !1;
1028
- l !== (f || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(v);
1029
- let S;
1030
- l > u ? S = "next" : l < u ? S = "prev" : S = "reset";
1028
+ l !== (u || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(v);
1029
+ let b;
1030
+ l > f ? b = "next" : l < f ? b = "prev" : b = "reset";
1031
1031
  const p = r.virtual && r.params.virtual.enabled;
1032
- if (!(p && s) && (m && -v === r.translate || !m && v === r.translate))
1033
- return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(v), S !== "reset" && (r.transitionStart(i, S), r.transitionEnd(i, S)), !1;
1032
+ if (!(p && s) && (h && -v === r.translate || !h && v === r.translate))
1033
+ return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(v), b !== "reset" && (r.transitionStart(i, b), r.transitionEnd(i, b)), !1;
1034
1034
  if (a.cssMode) {
1035
- const P = r.isHorizontal(), y = m ? v : -v;
1035
+ const P = r.isHorizontal(), y = h ? v : -v;
1036
1036
  if (e === 0)
1037
1037
  p && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), p && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1038
- h[P ? "scrollLeft" : "scrollTop"] = y;
1039
- })) : h[P ? "scrollLeft" : "scrollTop"] = y, p && requestAnimationFrame(() => {
1038
+ g[P ? "scrollLeft" : "scrollTop"] = y;
1039
+ })) : g[P ? "scrollLeft" : "scrollTop"] = y, p && requestAnimationFrame(() => {
1040
1040
  r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
1041
1041
  });
1042
1042
  else {
@@ -1046,7 +1046,7 @@ function Lt(t, e, i, n, s) {
1046
1046
  targetPosition: y,
1047
1047
  side: P ? "left" : "top"
1048
1048
  }), !0;
1049
- h.scrollTo({
1049
+ g.scrollTo({
1050
1050
  [P ? "left" : "top"]: y,
1051
1051
  behavior: "smooth"
1052
1052
  });
@@ -1054,8 +1054,8 @@ function Lt(t, e, i, n, s) {
1054
1054
  return !0;
1055
1055
  }
1056
1056
  const C = ze().isSafari;
1057
- return p && !s && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(v), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, n), r.transitionStart(i, S), e === 0 ? r.transitionEnd(i, S) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(y) {
1058
- !r || r.destroyed || y.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, S));
1057
+ return p && !s && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(v), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, n), r.transitionStart(i, b), e === 0 ? r.transitionEnd(i, b) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(y) {
1058
+ !r || r.destroyed || y.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, b));
1059
1059
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1060
1060
  }
1061
1061
  function Bt(t, e, i, n) {
@@ -1071,28 +1071,28 @@ function Bt(t, e, i, n) {
1071
1071
  else {
1072
1072
  let a;
1073
1073
  if (r) {
1074
- const m = l * s.params.grid.rows;
1075
- a = s.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1074
+ const h = l * s.params.grid.rows;
1075
+ a = s.slides.find((g) => g.getAttribute("data-swiper-slide-index") * 1 === h).column;
1076
1076
  } else
1077
1077
  a = s.getSlideIndexByData(l);
1078
1078
  const o = r ? Math.ceil(s.slides.length / s.params.grid.rows) : s.slides.length, {
1079
1079
  centeredSlides: d
1080
1080
  } = s.params;
1081
- let f = s.params.slidesPerView;
1082
- f === "auto" ? f = s.slidesPerViewDynamic() : (f = Math.ceil(parseFloat(s.params.slidesPerView, 10)), d && f % 2 === 0 && (f = f + 1));
1083
- let u = o - a < f;
1084
- if (d && (u = u || a < Math.ceil(f / 2)), n && d && s.params.slidesPerView !== "auto" && !r && (u = !1), u) {
1085
- const m = d ? a < s.activeIndex ? "prev" : "next" : a - s.activeIndex - 1 < s.params.slidesPerView ? "next" : "prev";
1081
+ let u = s.params.slidesPerView;
1082
+ u === "auto" ? u = s.slidesPerViewDynamic() : (u = Math.ceil(parseFloat(s.params.slidesPerView, 10)), d && u % 2 === 0 && (u = u + 1));
1083
+ let f = o - a < u;
1084
+ if (d && (f = f || a < Math.ceil(u / 2)), n && d && s.params.slidesPerView !== "auto" && !r && (f = !1), f) {
1085
+ const h = d ? a < s.activeIndex ? "prev" : "next" : a - s.activeIndex - 1 < s.params.slidesPerView ? "next" : "prev";
1086
1086
  s.loopFix({
1087
- direction: m,
1087
+ direction: h,
1088
1088
  slideTo: !0,
1089
- activeSlideIndex: m === "next" ? a + 1 : a - o + 1,
1090
- slideRealIndex: m === "next" ? s.realIndex : void 0
1089
+ activeSlideIndex: h === "next" ? a + 1 : a - o + 1,
1090
+ slideRealIndex: h === "next" ? s.realIndex : void 0
1091
1091
  });
1092
1092
  }
1093
1093
  if (r) {
1094
- const m = l * s.params.grid.rows;
1095
- l = s.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1094
+ const h = l * s.params.grid.rows;
1095
+ l = s.slides.find((g) => g.getAttribute("data-swiper-slide-index") * 1 === h).column;
1096
1096
  } else
1097
1097
  l = s.getSlideIndexByData(l);
1098
1098
  }
@@ -1135,29 +1135,29 @@ function At(t, e, i) {
1135
1135
  } = n;
1136
1136
  if (!o || n.destroyed) return n;
1137
1137
  typeof t > "u" && (t = n.params.speed);
1138
- const f = n.virtual && s.virtual.enabled;
1138
+ const u = n.virtual && s.virtual.enabled;
1139
1139
  if (s.loop) {
1140
- if (d && !f && s.loopPreventsSliding) return !1;
1140
+ if (d && !u && s.loopPreventsSliding) return !1;
1141
1141
  n.loopFix({
1142
1142
  direction: "prev"
1143
1143
  }), n._clientLeft = n.wrapperEl.clientLeft;
1144
1144
  }
1145
- const u = a ? n.translate : -n.translate;
1146
- function m(S) {
1147
- return S < 0 ? -Math.floor(Math.abs(S)) : Math.floor(S);
1145
+ const f = a ? n.translate : -n.translate;
1146
+ function h(b) {
1147
+ return b < 0 ? -Math.floor(Math.abs(b)) : Math.floor(b);
1148
1148
  }
1149
- const h = m(u), c = r.map((S) => m(S)), g = s.freeMode && s.freeMode.enabled;
1150
- let E = r[c.indexOf(h) - 1];
1151
- if (typeof E > "u" && (s.cssMode || g)) {
1152
- let S;
1149
+ const g = h(f), c = r.map((b) => h(b)), m = s.freeMode && s.freeMode.enabled;
1150
+ let S = r[c.indexOf(g) - 1];
1151
+ if (typeof S > "u" && (s.cssMode || m)) {
1152
+ let b;
1153
1153
  r.forEach((p, T) => {
1154
- h >= p && (S = T);
1155
- }), typeof S < "u" && (E = g ? r[S] : r[S > 0 ? S - 1 : S]);
1154
+ g >= p && (b = T);
1155
+ }), typeof b < "u" && (S = m ? r[b] : r[b > 0 ? b - 1 : b]);
1156
1156
  }
1157
1157
  let v = 0;
1158
- if (typeof E < "u" && (v = l.indexOf(E), v < 0 && (v = n.activeIndex - 1), s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto && (v = v - n.slidesPerViewDynamic("previous", !0) + 1, v = Math.max(v, 0))), s.rewind && n.isBeginning) {
1159
- const S = n.params.virtual && n.params.virtual.enabled && n.virtual ? n.virtual.slides.length - 1 : n.slides.length - 1;
1160
- return n.slideTo(S, t, e, i);
1158
+ if (typeof S < "u" && (v = l.indexOf(S), v < 0 && (v = n.activeIndex - 1), s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto && (v = v - n.slidesPerViewDynamic("previous", !0) + 1, v = Math.max(v, 0))), s.rewind && n.isBeginning) {
1159
+ const b = n.params.virtual && n.params.virtual.enabled && n.virtual ? n.virtual.slides.length - 1 : n.slides.length - 1;
1160
+ return n.slideTo(b, t, e, i);
1161
1161
  } else if (s.loop && n.activeIndex === 0 && s.cssMode)
1162
1162
  return requestAnimationFrame(() => {
1163
1163
  n.slideTo(v, t, e, i);
@@ -1178,11 +1178,11 @@ function Dt(t, e, i, n) {
1178
1178
  let r = s.activeIndex;
1179
1179
  const l = Math.min(s.params.slidesPerGroupSkip, r), a = l + Math.floor((r - l) / s.params.slidesPerGroup), o = s.rtlTranslate ? s.translate : -s.translate;
1180
1180
  if (o >= s.snapGrid[a]) {
1181
- const d = s.snapGrid[a], f = s.snapGrid[a + 1];
1182
- o - d > (f - d) * n && (r += s.params.slidesPerGroup);
1181
+ const d = s.snapGrid[a], u = s.snapGrid[a + 1];
1182
+ o - d > (u - d) * n && (r += s.params.slidesPerGroup);
1183
1183
  } else {
1184
- const d = s.snapGrid[a - 1], f = s.snapGrid[a];
1185
- o - d <= (f - d) * n && (r -= s.params.slidesPerGroup);
1184
+ const d = s.snapGrid[a - 1], u = s.snapGrid[a];
1185
+ o - d <= (u - d) * n && (r -= s.params.slidesPerGroup);
1186
1186
  }
1187
1187
  return r = Math.max(r, 0), r = Math.min(r, s.slidesGrid.length - 1), s.slideTo(r, t, e, i);
1188
1188
  }
@@ -1219,33 +1219,33 @@ function Vt(t, e) {
1219
1219
  } = i;
1220
1220
  if (!n.loop || i.virtual && i.params.virtual.enabled) return;
1221
1221
  const r = () => {
1222
- H(s, `.${n.slideClass}, swiper-slide`).forEach((h, c) => {
1223
- h.setAttribute("data-swiper-slide-index", c);
1222
+ H(s, `.${n.slideClass}, swiper-slide`).forEach((g, c) => {
1223
+ g.setAttribute("data-swiper-slide-index", c);
1224
1224
  });
1225
1225
  }, l = () => {
1226
- const m = H(s, `.${n.slideBlankClass}`);
1227
- m.forEach((h) => {
1228
- h.remove();
1229
- }), m.length > 0 && (i.recalcSlides(), i.updateSlides());
1226
+ const h = H(s, `.${n.slideBlankClass}`);
1227
+ h.forEach((g) => {
1228
+ g.remove();
1229
+ }), h.length > 0 && (i.recalcSlides(), i.updateSlides());
1230
1230
  }, a = i.grid && n.grid && n.grid.rows > 1;
1231
1231
  n.loopAddBlankSlides && (n.slidesPerGroup > 1 || a) && l();
1232
- const o = n.slidesPerGroup * (a ? n.grid.rows : 1), d = i.slides.length % o !== 0, f = a && i.slides.length % n.grid.rows !== 0, u = (m) => {
1233
- for (let h = 0; h < m; h += 1) {
1232
+ const o = n.slidesPerGroup * (a ? n.grid.rows : 1), d = i.slides.length % o !== 0, u = a && i.slides.length % n.grid.rows !== 0, f = (h) => {
1233
+ for (let g = 0; g < h; g += 1) {
1234
1234
  const c = i.isElement ? ee("swiper-slide", [n.slideBlankClass]) : ee("div", [n.slideClass, n.slideBlankClass]);
1235
1235
  i.slidesEl.append(c);
1236
1236
  }
1237
1237
  };
1238
1238
  if (d) {
1239
1239
  if (n.loopAddBlankSlides) {
1240
- const m = o - i.slides.length % o;
1241
- u(m), i.recalcSlides(), i.updateSlides();
1240
+ const h = o - i.slides.length % o;
1241
+ f(h), i.recalcSlides(), i.updateSlides();
1242
1242
  } else
1243
1243
  J("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)");
1244
1244
  r();
1245
- } else if (f) {
1245
+ } else if (u) {
1246
1246
  if (n.loopAddBlankSlides) {
1247
- const m = n.grid.rows - i.slides.length % n.grid.rows;
1248
- u(m), i.recalcSlides(), i.updateSlides();
1247
+ const h = n.grid.rows - i.slides.length % n.grid.rows;
1248
+ f(h), i.recalcSlides(), i.updateSlides();
1249
1249
  } else
1250
1250
  J("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)");
1251
1251
  r();
@@ -1272,70 +1272,70 @@ function kt(t) {
1272
1272
  if (!d.params.loop) return;
1273
1273
  d.emit("beforeLoopFix");
1274
1274
  const {
1275
- slides: f,
1276
- allowSlidePrev: u,
1277
- allowSlideNext: m,
1278
- slidesEl: h,
1275
+ slides: u,
1276
+ allowSlidePrev: f,
1277
+ allowSlideNext: h,
1278
+ slidesEl: g,
1279
1279
  params: c
1280
1280
  } = d, {
1281
- centeredSlides: g,
1282
- initialSlide: E
1281
+ centeredSlides: m,
1282
+ initialSlide: S
1283
1283
  } = c;
1284
1284
  if (d.allowSlidePrev = !0, d.allowSlideNext = !0, d.virtual && c.virtual.enabled) {
1285
- i && (!c.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : c.centeredSlides && d.snapIndex < c.slidesPerView ? d.slideTo(d.virtual.slides.length + d.snapIndex, 0, !1, !0) : d.snapIndex === d.snapGrid.length - 1 && d.slideTo(d.virtual.slidesBefore, 0, !1, !0)), d.allowSlidePrev = u, d.allowSlideNext = m, d.emit("loopFix");
1285
+ i && (!c.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : c.centeredSlides && d.snapIndex < c.slidesPerView ? d.slideTo(d.virtual.slides.length + d.snapIndex, 0, !1, !0) : d.snapIndex === d.snapGrid.length - 1 && d.slideTo(d.virtual.slidesBefore, 0, !1, !0)), d.allowSlidePrev = f, d.allowSlideNext = h, d.emit("loopFix");
1286
1286
  return;
1287
1287
  }
1288
1288
  let v = c.slidesPerView;
1289
- v === "auto" ? v = d.slidesPerViewDynamic() : (v = Math.ceil(parseFloat(c.slidesPerView, 10)), g && v % 2 === 0 && (v = v + 1));
1290
- const S = c.slidesPerGroupAuto ? v : c.slidesPerGroup;
1291
- let p = g ? Math.max(S, Math.ceil(v / 2)) : S;
1292
- p % S !== 0 && (p += S - p % S), p += c.loopAdditionalSlides, d.loopedSlides = p;
1289
+ v === "auto" ? v = d.slidesPerViewDynamic() : (v = Math.ceil(parseFloat(c.slidesPerView, 10)), m && v % 2 === 0 && (v = v + 1));
1290
+ const b = c.slidesPerGroupAuto ? v : c.slidesPerGroup;
1291
+ let p = m ? Math.max(b, Math.ceil(v / 2)) : b;
1292
+ p % b !== 0 && (p += b - p % b), p += c.loopAdditionalSlides, d.loopedSlides = p;
1293
1293
  const T = d.grid && c.grid && c.grid.rows > 1;
1294
- f.length < v + p || d.params.effect === "cards" && f.length < v + p * 2 ? J("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : T && c.grid.fill === "row" && J("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1295
- const x = [], C = [], P = T ? Math.ceil(f.length / c.grid.rows) : f.length, y = l && P - E < v && !g;
1296
- let w = y ? E : d.activeIndex;
1297
- typeof r > "u" ? r = d.getSlideIndex(f.find((L) => L.classList.contains(c.slideActiveClass))) : w = r;
1298
- const b = n === "next" || !n, M = n === "prev" || !n;
1294
+ u.length < v + p || d.params.effect === "cards" && u.length < v + p * 2 ? J("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : T && c.grid.fill === "row" && J("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1295
+ const E = [], C = [], P = T ? Math.ceil(u.length / c.grid.rows) : u.length, y = l && P - S < v && !m;
1296
+ let w = y ? S : d.activeIndex;
1297
+ typeof r > "u" ? r = d.getSlideIndex(u.find((L) => L.classList.contains(c.slideActiveClass))) : w = r;
1298
+ const x = n === "next" || !n, M = n === "prev" || !n;
1299
1299
  let I = 0, O = 0;
1300
- const D = (T ? f[r].column : r) + (g && typeof s > "u" ? -v / 2 + 0.5 : 0);
1300
+ const D = (T ? u[r].column : r) + (m && typeof s > "u" ? -v / 2 + 0.5 : 0);
1301
1301
  if (D < p) {
1302
- I = Math.max(p - D, S);
1302
+ I = Math.max(p - D, b);
1303
1303
  for (let L = 0; L < p - D; L += 1) {
1304
1304
  const z = L - Math.floor(L / P) * P;
1305
1305
  if (T) {
1306
1306
  const A = P - z - 1;
1307
- for (let V = f.length - 1; V >= 0; V -= 1)
1308
- f[V].column === A && x.push(V);
1307
+ for (let V = u.length - 1; V >= 0; V -= 1)
1308
+ u[V].column === A && E.push(V);
1309
1309
  } else
1310
- x.push(P - z - 1);
1310
+ E.push(P - z - 1);
1311
1311
  }
1312
1312
  } else if (D + v > P - p) {
1313
- O = Math.max(D - (P - p * 2), S), y && (O = Math.max(O, v - P + E + 1));
1313
+ O = Math.max(D - (P - p * 2), b), y && (O = Math.max(O, v - P + S + 1));
1314
1314
  for (let L = 0; L < O; L += 1) {
1315
1315
  const z = L - Math.floor(L / P) * P;
1316
- T ? f.forEach((A, V) => {
1316
+ T ? u.forEach((A, V) => {
1317
1317
  A.column === z && C.push(V);
1318
1318
  }) : C.push(z);
1319
1319
  }
1320
1320
  }
1321
1321
  if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
1322
1322
  d.__preventObserver__ = !1;
1323
- }), d.params.effect === "cards" && f.length < v + p * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1), x.includes(r) && x.splice(x.indexOf(r), 1)), M && x.forEach((L) => {
1324
- f[L].swiperLoopMoveDOM = !0, h.prepend(f[L]), f[L].swiperLoopMoveDOM = !1;
1325
- }), b && C.forEach((L) => {
1326
- f[L].swiperLoopMoveDOM = !0, h.append(f[L]), f[L].swiperLoopMoveDOM = !1;
1327
- }), d.recalcSlides(), c.slidesPerView === "auto" ? d.updateSlides() : T && (x.length > 0 && M || C.length > 0 && b) && d.slides.forEach((L, z) => {
1323
+ }), d.params.effect === "cards" && u.length < v + p * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1), E.includes(r) && E.splice(E.indexOf(r), 1)), M && E.forEach((L) => {
1324
+ u[L].swiperLoopMoveDOM = !0, g.prepend(u[L]), u[L].swiperLoopMoveDOM = !1;
1325
+ }), x && C.forEach((L) => {
1326
+ u[L].swiperLoopMoveDOM = !0, g.append(u[L]), u[L].swiperLoopMoveDOM = !1;
1327
+ }), d.recalcSlides(), c.slidesPerView === "auto" ? d.updateSlides() : T && (E.length > 0 && M || C.length > 0 && x) && d.slides.forEach((L, z) => {
1328
1328
  d.grid.updateSlide(z, L, d.slides);
1329
1329
  }), c.watchSlidesProgress && d.updateSlidesOffset(), i) {
1330
- if (x.length > 0 && M) {
1330
+ if (E.length > 0 && M) {
1331
1331
  if (typeof e > "u") {
1332
1332
  const L = d.slidesGrid[w], A = d.slidesGrid[w + I] - L;
1333
1333
  o ? d.setTranslate(d.translate - A) : (d.slideTo(w + Math.ceil(I), 0, !1, !0), s && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - A, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - A));
1334
1334
  } else if (s) {
1335
- const L = T ? x.length / c.grid.rows : x.length;
1335
+ const L = T ? E.length / c.grid.rows : E.length;
1336
1336
  d.slideTo(d.activeIndex + L, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
1337
1337
  }
1338
- } else if (C.length > 0 && b)
1338
+ } else if (C.length > 0 && x)
1339
1339
  if (typeof e > "u") {
1340
1340
  const L = d.slidesGrid[w], A = d.slidesGrid[w - O] - L;
1341
1341
  o ? d.setTranslate(d.translate - A) : (d.slideTo(w - O, 0, !1, !0), s && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - A, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - A));
@@ -1344,7 +1344,7 @@ function kt(t) {
1344
1344
  d.slideTo(d.activeIndex - L, 0, !1, !0);
1345
1345
  }
1346
1346
  }
1347
- if (d.allowSlidePrev = u, d.allowSlideNext = m, d.controller && d.controller.control && !a) {
1347
+ if (d.allowSlidePrev = f, d.allowSlideNext = h, d.controller && d.controller.control && !a) {
1348
1348
  const L = {
1349
1349
  slideRealIndex: e,
1350
1350
  direction: n,
@@ -1394,20 +1394,20 @@ function Ft(t) {
1394
1394
  e.__preventObserver__ = !1;
1395
1395
  });
1396
1396
  }
1397
- function jt() {
1397
+ function $t() {
1398
1398
  const t = this;
1399
1399
  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(() => {
1400
1400
  t.__preventObserver__ = !1;
1401
1401
  }));
1402
1402
  }
1403
- var $t = {
1403
+ var jt = {
1404
1404
  setGrabCursor: Ft,
1405
- unsetGrabCursor: jt
1405
+ unsetGrabCursor: $t
1406
1406
  };
1407
1407
  function Wt(t, e) {
1408
1408
  e === void 0 && (e = this);
1409
1409
  function i(n) {
1410
- if (!n || n === $() || n === _()) return null;
1410
+ if (!n || n === j() || n === _()) return null;
1411
1411
  n.assignedSlot && (n = n.assignedSlot);
1412
1412
  const s = n.closest(t);
1413
1413
  return !s && !n.getRootNode ? null : s || i(n.getRootNode().host);
@@ -1421,7 +1421,7 @@ function be(t, e, i) {
1421
1421
  return r && (i <= l || i >= n.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1422
1422
  }
1423
1423
  function Xt(t) {
1424
- const e = this, i = $();
1424
+ const e = this, i = j();
1425
1425
  let n = t;
1426
1426
  n.originalEvent && (n = n.originalEvent);
1427
1427
  const s = e.touchEventsData;
@@ -1444,18 +1444,18 @@ function Xt(t) {
1444
1444
  !e.animating && r.cssMode && r.loop && e.loopFix();
1445
1445
  let o = n.target;
1446
1446
  if (r.touchEventsTarget === "wrapper" && !Je(o, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || s.isTouched && s.isMoved) return;
1447
- const d = !!r.noSwipingClass && r.noSwipingClass !== "", f = n.composedPath ? n.composedPath() : n.path;
1448
- d && n.target && n.target.shadowRoot && f && (o = f[0]);
1449
- const u = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, m = !!(n.target && n.target.shadowRoot);
1450
- if (r.noSwiping && (m ? Wt(u, o) : o.closest(u))) {
1447
+ const d = !!r.noSwipingClass && r.noSwipingClass !== "", u = n.composedPath ? n.composedPath() : n.path;
1448
+ d && n.target && n.target.shadowRoot && u && (o = u[0]);
1449
+ const f = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, h = !!(n.target && n.target.shadowRoot);
1450
+ if (r.noSwiping && (h ? Wt(f, o) : o.closest(f))) {
1451
1451
  e.allowClick = !0;
1452
1452
  return;
1453
1453
  }
1454
1454
  if (r.swipeHandler && !o.closest(r.swipeHandler))
1455
1455
  return;
1456
1456
  l.currentX = n.pageX, l.currentY = n.pageY;
1457
- const h = l.currentX, c = l.currentY;
1458
- if (!be(e, n, h))
1457
+ const g = l.currentX, c = l.currentY;
1458
+ if (!be(e, n, g))
1459
1459
  return;
1460
1460
  Object.assign(s, {
1461
1461
  isTouched: !0,
@@ -1463,14 +1463,14 @@ function Xt(t) {
1463
1463
  allowTouchCallbacks: !0,
1464
1464
  isScrolling: void 0,
1465
1465
  startMoving: void 0
1466
- }), l.startX = h, l.startY = c, s.touchStartTime = R(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (s.allowThresholdMove = !1);
1467
- let g = !0;
1468
- o.matches(s.focusableElements) && (g = !1, o.nodeName === "SELECT" && (s.isTouched = !1)), i.activeElement && i.activeElement.matches(s.focusableElements) && i.activeElement !== o && (n.pointerType === "mouse" || n.pointerType !== "mouse" && !o.matches(s.focusableElements)) && i.activeElement.blur();
1469
- const E = g && e.allowTouchMove && r.touchStartPreventDefault;
1470
- (r.touchStartForcePreventDefault || E) && !o.isContentEditable && n.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
1466
+ }), l.startX = g, l.startY = c, s.touchStartTime = R(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (s.allowThresholdMove = !1);
1467
+ let m = !0;
1468
+ o.matches(s.focusableElements) && (m = !1, o.nodeName === "SELECT" && (s.isTouched = !1)), i.activeElement && i.activeElement.matches(s.focusableElements) && i.activeElement !== o && (n.pointerType === "mouse" || n.pointerType !== "mouse" && !o.matches(s.focusableElements)) && i.activeElement.blur();
1469
+ const S = m && e.allowTouchMove && r.touchStartPreventDefault;
1470
+ (r.touchStartForcePreventDefault || S) && !o.isContentEditable && n.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
1471
1471
  }
1472
1472
  function Yt(t) {
1473
- const e = $(), i = this, n = i.touchEventsData, {
1473
+ const e = j(), i = this, n = i.touchEventsData, {
1474
1474
  params: s,
1475
1475
  touches: r,
1476
1476
  rtlTranslate: l,
@@ -1482,49 +1482,49 @@ function Yt(t) {
1482
1482
  return;
1483
1483
  let d;
1484
1484
  if (o.type === "touchmove") {
1485
- if (d = [...o.changedTouches].find((x) => x.identifier === n.touchId), !d || d.identifier !== n.touchId) return;
1485
+ if (d = [...o.changedTouches].find((E) => E.identifier === n.touchId), !d || d.identifier !== n.touchId) return;
1486
1486
  } else
1487
1487
  d = o;
1488
1488
  if (!n.isTouched) {
1489
1489
  n.startMoving && n.isScrolling && i.emit("touchMoveOpposite", o);
1490
1490
  return;
1491
1491
  }
1492
- const f = d.pageX, u = d.pageY;
1492
+ const u = d.pageX, f = d.pageY;
1493
1493
  if (o.preventedByNestedSwiper) {
1494
- r.startX = f, r.startY = u;
1494
+ r.startX = u, r.startY = f;
1495
1495
  return;
1496
1496
  }
1497
1497
  if (!i.allowTouchMove) {
1498
1498
  o.target.matches(n.focusableElements) || (i.allowClick = !1), n.isTouched && (Object.assign(r, {
1499
- startX: f,
1500
- startY: u,
1501
- currentX: f,
1502
- currentY: u
1499
+ startX: u,
1500
+ startY: f,
1501
+ currentX: u,
1502
+ currentY: f
1503
1503
  }), n.touchStartTime = R());
1504
1504
  return;
1505
1505
  }
1506
1506
  if (s.touchReleaseOnEdges && !s.loop)
1507
1507
  if (i.isVertical()) {
1508
- if (u < r.startY && i.translate <= i.maxTranslate() || u > r.startY && i.translate >= i.minTranslate()) {
1508
+ if (f < r.startY && i.translate <= i.maxTranslate() || f > r.startY && i.translate >= i.minTranslate()) {
1509
1509
  n.isTouched = !1, n.isMoved = !1;
1510
1510
  return;
1511
1511
  }
1512
1512
  } else {
1513
- if (l && (f > r.startX && -i.translate <= i.maxTranslate() || f < r.startX && -i.translate >= i.minTranslate()))
1513
+ if (l && (u > r.startX && -i.translate <= i.maxTranslate() || u < r.startX && -i.translate >= i.minTranslate()))
1514
1514
  return;
1515
- if (!l && (f < r.startX && i.translate <= i.maxTranslate() || f > r.startX && i.translate >= i.minTranslate()))
1515
+ if (!l && (u < r.startX && i.translate <= i.maxTranslate() || u > r.startX && i.translate >= i.minTranslate()))
1516
1516
  return;
1517
1517
  }
1518
1518
  if (e.activeElement && e.activeElement.matches(n.focusableElements) && e.activeElement !== o.target && o.pointerType !== "mouse" && e.activeElement.blur(), e.activeElement && o.target === e.activeElement && o.target.matches(n.focusableElements)) {
1519
1519
  n.isMoved = !0, i.allowClick = !1;
1520
1520
  return;
1521
1521
  }
1522
- n.allowTouchCallbacks && i.emit("touchMove", o), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = f, r.currentY = u;
1523
- const m = r.currentX - r.startX, h = r.currentY - r.startY;
1524
- if (i.params.threshold && Math.sqrt(m ** 2 + h ** 2) < i.params.threshold) return;
1522
+ n.allowTouchCallbacks && i.emit("touchMove", o), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = u, r.currentY = f;
1523
+ const h = r.currentX - r.startX, g = r.currentY - r.startY;
1524
+ if (i.params.threshold && Math.sqrt(h ** 2 + g ** 2) < i.params.threshold) return;
1525
1525
  if (typeof n.isScrolling > "u") {
1526
- let x;
1527
- i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? n.isScrolling = !1 : m * m + h * h >= 25 && (x = Math.atan2(Math.abs(h), Math.abs(m)) * 180 / Math.PI, n.isScrolling = i.isHorizontal() ? x > s.touchAngle : 90 - x > s.touchAngle);
1526
+ let E;
1527
+ i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? n.isScrolling = !1 : h * h + g * g >= 25 && (E = Math.atan2(Math.abs(g), Math.abs(h)) * 180 / Math.PI, n.isScrolling = i.isHorizontal() ? E > s.touchAngle : 90 - E > s.touchAngle);
1528
1528
  }
1529
1529
  if (n.isScrolling && i.emit("touchMoveOpposite", o), typeof n.startMoving > "u" && (r.currentX !== r.startX || r.currentY !== r.startY) && (n.startMoving = !0), n.isScrolling || o.type === "touchmove" && n.preventTouchMoveFromPointerMove) {
1530
1530
  n.isTouched = !1;
@@ -1533,43 +1533,43 @@ function Yt(t) {
1533
1533
  if (!n.startMoving)
1534
1534
  return;
1535
1535
  i.allowClick = !1, !s.cssMode && o.cancelable && o.preventDefault(), s.touchMoveStopPropagation && !s.nested && o.stopPropagation();
1536
- let c = i.isHorizontal() ? m : h, g = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1537
- s.oneWayMovement && (c = Math.abs(c) * (l ? 1 : -1), g = Math.abs(g) * (l ? 1 : -1)), r.diff = c, c *= s.touchRatio, l && (c = -c, g = -g);
1538
- const E = i.touchesDirection;
1539
- i.swipeDirection = c > 0 ? "prev" : "next", i.touchesDirection = g > 0 ? "prev" : "next";
1540
- const v = i.params.loop && !s.cssMode, S = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1536
+ let c = i.isHorizontal() ? h : g, m = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1537
+ s.oneWayMovement && (c = Math.abs(c) * (l ? 1 : -1), m = Math.abs(m) * (l ? 1 : -1)), r.diff = c, c *= s.touchRatio, l && (c = -c, m = -m);
1538
+ const S = i.touchesDirection;
1539
+ i.swipeDirection = c > 0 ? "prev" : "next", i.touchesDirection = m > 0 ? "prev" : "next";
1540
+ const v = i.params.loop && !s.cssMode, b = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1541
1541
  if (!n.isMoved) {
1542
- if (v && S && i.loopFix({
1542
+ if (v && b && i.loopFix({
1543
1543
  direction: i.swipeDirection
1544
1544
  }), n.startTranslate = i.getTranslate(), i.setTransition(0), i.animating) {
1545
- const x = new window.CustomEvent("transitionend", {
1545
+ const E = new window.CustomEvent("transitionend", {
1546
1546
  bubbles: !0,
1547
1547
  cancelable: !0,
1548
1548
  detail: {
1549
1549
  bySwiperTouchMove: !0
1550
1550
  }
1551
1551
  });
1552
- i.wrapperEl.dispatchEvent(x);
1552
+ i.wrapperEl.dispatchEvent(E);
1553
1553
  }
1554
1554
  n.allowMomentumBounce = !1, s.grabCursor && (i.allowSlideNext === !0 || i.allowSlidePrev === !0) && i.setGrabCursor(!0), i.emit("sliderFirstMove", o);
1555
1555
  }
1556
- if ((/* @__PURE__ */ new Date()).getTime(), s._loopSwapReset !== !1 && n.isMoved && n.allowThresholdMove && E !== i.touchesDirection && v && S && Math.abs(c) >= 1) {
1556
+ if ((/* @__PURE__ */ new Date()).getTime(), s._loopSwapReset !== !1 && n.isMoved && n.allowThresholdMove && S !== i.touchesDirection && v && b && Math.abs(c) >= 1) {
1557
1557
  Object.assign(r, {
1558
- startX: f,
1559
- startY: u,
1560
- currentX: f,
1561
- currentY: u,
1558
+ startX: u,
1559
+ startY: f,
1560
+ currentX: u,
1561
+ currentY: f,
1562
1562
  startTranslate: n.currentTranslate
1563
1563
  }), n.loopSwapReset = !0, n.startTranslate = n.currentTranslate;
1564
1564
  return;
1565
1565
  }
1566
1566
  i.emit("sliderMove", o), n.isMoved = !0, n.currentTranslate = c + n.startTranslate;
1567
1567
  let p = !0, T = s.resistanceRatio;
1568
- if (s.touchReleaseOnEdges && (T = 0), c > 0 ? (v && S && n.allowThresholdMove && n.currentTranslate > (s.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1568
+ if (s.touchReleaseOnEdges && (T = 0), c > 0 ? (v && b && n.allowThresholdMove && n.currentTranslate > (s.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1569
1569
  direction: "prev",
1570
1570
  setTranslate: !0,
1571
1571
  activeSlideIndex: 0
1572
- }), n.currentTranslate > i.minTranslate() && (p = !1, s.resistance && (n.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + n.startTranslate + c) ** T))) : c < 0 && (v && S && n.allowThresholdMove && n.currentTranslate < (s.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1572
+ }), n.currentTranslate > i.minTranslate() && (p = !1, s.resistance && (n.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + n.startTranslate + c) ** T))) : c < 0 && (v && b && n.allowThresholdMove && n.currentTranslate < (s.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (s.slidesPerView !== "auto" && i.slides.length - s.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1573
1573
  direction: "next",
1574
1574
  setTranslate: !0,
1575
1575
  activeSlideIndex: i.slides.length - (s.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(s.slidesPerView, 10)))
@@ -1591,7 +1591,7 @@ function qt(t) {
1591
1591
  n.originalEvent && (n = n.originalEvent);
1592
1592
  let s;
1593
1593
  if (n.type === "touchend" || n.type === "touchcancel") {
1594
- if (s = [...n.changedTouches].find((x) => x.identifier === i.touchId), !s || s.identifier !== i.touchId) return;
1594
+ if (s = [...n.changedTouches].find((E) => E.identifier === i.touchId), !s || s.identifier !== i.touchId) return;
1595
1595
  } else {
1596
1596
  if (i.touchId !== null || n.pointerId !== i.pointerId) return;
1597
1597
  s = n;
@@ -1604,18 +1604,18 @@ function qt(t) {
1604
1604
  touches: a,
1605
1605
  rtlTranslate: o,
1606
1606
  slidesGrid: d,
1607
- enabled: f
1607
+ enabled: u
1608
1608
  } = e;
1609
- if (!f || !l.simulateTouch && n.pointerType === "mouse") return;
1609
+ if (!u || !l.simulateTouch && n.pointerType === "mouse") return;
1610
1610
  if (i.allowTouchCallbacks && e.emit("touchEnd", n), i.allowTouchCallbacks = !1, !i.isTouched) {
1611
1611
  i.isMoved && l.grabCursor && e.setGrabCursor(!1), i.isMoved = !1, i.startMoving = !1;
1612
1612
  return;
1613
1613
  }
1614
1614
  l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1615
- const u = R(), m = u - i.touchStartTime;
1615
+ const f = R(), h = f - i.touchStartTime;
1616
1616
  if (e.allowClick) {
1617
- const x = n.path || n.composedPath && n.composedPath();
1618
- e.updateClickedSlide(x && x[0] || n.target, x), e.emit("tap click", n), m < 300 && u - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", n);
1617
+ const E = n.path || n.composedPath && n.composedPath();
1618
+ e.updateClickedSlide(E && E[0] || n.target, E), e.emit("tap click", n), h < 300 && f - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", n);
1619
1619
  }
1620
1620
  if (i.lastClickTime = R(), Q(() => {
1621
1621
  e.destroyed || (e.allowClick = !0);
@@ -1624,36 +1624,36 @@ function qt(t) {
1624
1624
  return;
1625
1625
  }
1626
1626
  i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1627
- let h;
1628
- if (l.followFinger ? h = o ? e.translate : -e.translate : h = -i.currentTranslate, l.cssMode)
1627
+ let g;
1628
+ if (l.followFinger ? g = o ? e.translate : -e.translate : g = -i.currentTranslate, l.cssMode)
1629
1629
  return;
1630
1630
  if (l.freeMode && l.freeMode.enabled) {
1631
1631
  e.freeMode.onTouchEnd({
1632
- currentPos: h
1632
+ currentPos: g
1633
1633
  });
1634
1634
  return;
1635
1635
  }
1636
- const c = h >= -e.maxTranslate() && !e.params.loop;
1637
- let g = 0, E = e.slidesSizesGrid[0];
1638
- for (let x = 0; x < d.length; x += x < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1639
- const C = x < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1640
- typeof d[x + C] < "u" ? (c || h >= d[x] && h < d[x + C]) && (g = x, E = d[x + C] - d[x]) : (c || h >= d[x]) && (g = x, E = d[d.length - 1] - d[d.length - 2]);
1636
+ const c = g >= -e.maxTranslate() && !e.params.loop;
1637
+ let m = 0, S = e.slidesSizesGrid[0];
1638
+ for (let E = 0; E < d.length; E += E < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1639
+ const C = E < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1640
+ typeof d[E + C] < "u" ? (c || g >= d[E] && g < d[E + C]) && (m = E, S = d[E + C] - d[E]) : (c || g >= d[E]) && (m = E, S = d[d.length - 1] - d[d.length - 2]);
1641
1641
  }
1642
- let v = null, S = null;
1643
- l.rewind && (e.isBeginning ? S = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (v = 0));
1644
- const p = (h - d[g]) / E, T = g < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1645
- if (m > l.longSwipesMs) {
1642
+ let v = null, b = null;
1643
+ l.rewind && (e.isBeginning ? b = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (v = 0));
1644
+ const p = (g - d[m]) / S, T = m < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1645
+ if (h > l.longSwipesMs) {
1646
1646
  if (!l.longSwipes) {
1647
1647
  e.slideTo(e.activeIndex);
1648
1648
  return;
1649
1649
  }
1650
- e.swipeDirection === "next" && (p >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? v : g + T) : e.slideTo(g)), e.swipeDirection === "prev" && (p > 1 - l.longSwipesRatio ? e.slideTo(g + T) : S !== null && p < 0 && Math.abs(p) > l.longSwipesRatio ? e.slideTo(S) : e.slideTo(g));
1650
+ e.swipeDirection === "next" && (p >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? v : m + T) : e.slideTo(m)), e.swipeDirection === "prev" && (p > 1 - l.longSwipesRatio ? e.slideTo(m + T) : b !== null && p < 0 && Math.abs(p) > l.longSwipesRatio ? e.slideTo(b) : e.slideTo(m));
1651
1651
  } else {
1652
1652
  if (!l.shortSwipes) {
1653
1653
  e.slideTo(e.activeIndex);
1654
1654
  return;
1655
1655
  }
1656
- e.navigation && (n.target === e.navigation.nextEl || n.target === e.navigation.prevEl) ? n.target === e.navigation.nextEl ? e.slideTo(g + T) : e.slideTo(g) : (e.swipeDirection === "next" && e.slideTo(v !== null ? v : g + T), e.swipeDirection === "prev" && e.slideTo(S !== null ? S : g));
1656
+ e.navigation && (n.target === e.navigation.nextEl || n.target === e.navigation.prevEl) ? n.target === e.navigation.nextEl ? e.slideTo(m + T) : e.slideTo(m) : (e.swipeDirection === "next" && e.slideTo(v !== null ? v : m + T), e.swipeDirection === "prev" && e.slideTo(b !== null ? b : m));
1657
1657
  }
1658
1658
  }
1659
1659
  function Te() {
@@ -1699,7 +1699,7 @@ function Qt() {
1699
1699
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1700
1700
  }
1701
1701
  const _e = (t, e) => {
1702
- const i = $(), {
1702
+ const i = j(), {
1703
1703
  params: n,
1704
1704
  el: s,
1705
1705
  wrapperEl: r,
@@ -1758,22 +1758,22 @@ function ii() {
1758
1758
  el: s
1759
1759
  } = t, r = n.breakpoints;
1760
1760
  if (!r || r && Object.keys(r).length === 0) return;
1761
- const l = $(), a = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", o = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? t.el : l.querySelector(n.breakpointsBase), d = t.getBreakpoint(r, a, o);
1761
+ const l = j(), a = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", o = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? t.el : l.querySelector(n.breakpointsBase), d = t.getBreakpoint(r, a, o);
1762
1762
  if (!d || t.currentBreakpoint === d) return;
1763
- const u = (d in r ? r[d] : void 0) || t.originalParams, m = ye(t, n), h = ye(t, u), c = t.params.grabCursor, g = u.grabCursor, E = n.enabled;
1764
- m && !h ? (s.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), t.emitContainerClasses()) : !m && h && (s.classList.add(`${n.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && n.grid.fill === "column") && s.classList.add(`${n.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !g ? t.unsetGrabCursor() : !c && g && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((C) => {
1765
- if (typeof u[C] > "u") return;
1766
- const P = n[C] && n[C].enabled, y = u[C] && u[C].enabled;
1763
+ const f = (d in r ? r[d] : void 0) || t.originalParams, h = ye(t, n), g = ye(t, f), c = t.params.grabCursor, m = f.grabCursor, S = n.enabled;
1764
+ h && !g ? (s.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), t.emitContainerClasses()) : !h && g && (s.classList.add(`${n.containerModifierClass}grid`), (f.grid.fill && f.grid.fill === "column" || !f.grid.fill && n.grid.fill === "column") && s.classList.add(`${n.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !m ? t.unsetGrabCursor() : !c && m && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((C) => {
1765
+ if (typeof f[C] > "u") return;
1766
+ const P = n[C] && n[C].enabled, y = f[C] && f[C].enabled;
1767
1767
  P && !y && t[C].disable(), !P && y && t[C].enable();
1768
1768
  });
1769
- const v = u.direction && u.direction !== n.direction, S = n.loop && (u.slidesPerView !== n.slidesPerView || v), p = n.loop;
1770
- v && i && t.changeDirection(), N(t.params, u);
1771
- const T = t.params.enabled, x = t.params.loop;
1769
+ const v = f.direction && f.direction !== n.direction, b = n.loop && (f.slidesPerView !== n.slidesPerView || v), p = n.loop;
1770
+ v && i && t.changeDirection(), N(t.params, f);
1771
+ const T = t.params.enabled, E = t.params.loop;
1772
1772
  Object.assign(t, {
1773
1773
  allowTouchMove: t.params.allowTouchMove,
1774
1774
  allowSlideNext: t.params.allowSlideNext,
1775
1775
  allowSlidePrev: t.params.allowSlidePrev
1776
- }), E && !T ? t.disable() : !E && T && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", u), i && (S ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !p && x ? (t.loopCreate(e), t.updateSlides()) : p && !x && t.loopDestroy()), t.emit("breakpoint", u);
1776
+ }), S && !T ? t.disable() : !S && T && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", f), i && (b ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !p && E ? (t.loopCreate(e), t.updateSlides()) : p && !E && t.loopDestroy()), t.emit("breakpoint", f);
1777
1777
  }
1778
1778
  function ni(t, e, i) {
1779
1779
  if (e === void 0 && (e = "window"), !t || e === "container" && !i) return;
@@ -1868,7 +1868,7 @@ function di() {
1868
1868
  t.isLocked = t.snapGrid.length === 1;
1869
1869
  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");
1870
1870
  }
1871
- var fi = {
1871
+ var ui = {
1872
1872
  checkOverflow: di
1873
1873
  }, ce = {
1874
1874
  init: !0,
@@ -1991,7 +1991,7 @@ var fi = {
1991
1991
  // Internals
1992
1992
  _emitClasses: !1
1993
1993
  };
1994
- function ui(t, e) {
1994
+ function fi(t, e) {
1995
1995
  return function(n) {
1996
1996
  n === void 0 && (n = {});
1997
1997
  const s = Object.keys(n)[0], r = n[s];
@@ -2017,38 +2017,38 @@ const le = {
2017
2017
  transition: Ot,
2018
2018
  slide: Nt,
2019
2019
  loop: Ht,
2020
- grabCursor: $t,
2020
+ grabCursor: jt,
2021
2021
  events: ti,
2022
2022
  breakpoints: si,
2023
- checkOverflow: fi,
2023
+ checkOverflow: ui,
2024
2024
  classes: oi
2025
2025
  }, oe = {};
2026
- let me = class j {
2026
+ let me = class $ {
2027
2027
  constructor() {
2028
2028
  let e, i;
2029
2029
  for (var n = arguments.length, s = new Array(n), r = 0; r < n; r++)
2030
2030
  s[r] = arguments[r];
2031
2031
  s.length === 1 && s[0].constructor && Object.prototype.toString.call(s[0]).slice(8, -1) === "Object" ? i = s[0] : [e, i] = s, i || (i = {}), i = N({}, i), e && !i.el && (i.el = e);
2032
- const l = $();
2032
+ const l = j();
2033
2033
  if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
2034
- const f = [];
2035
- return l.querySelectorAll(i.el).forEach((u) => {
2036
- const m = N({}, i, {
2037
- el: u
2034
+ const u = [];
2035
+ return l.querySelectorAll(i.el).forEach((f) => {
2036
+ const h = N({}, i, {
2037
+ el: f
2038
2038
  });
2039
- f.push(new j(m));
2040
- }), f;
2039
+ u.push(new $(h));
2040
+ }), u;
2041
2041
  }
2042
2042
  const a = this;
2043
2043
  a.__swiper__ = !0, a.support = Le(), a.device = Be({
2044
2044
  userAgent: i.userAgent
2045
2045
  }), a.browser = ze(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
2046
2046
  const o = {};
2047
- a.modules.forEach((f) => {
2048
- f({
2047
+ a.modules.forEach((u) => {
2048
+ u({
2049
2049
  params: i,
2050
2050
  swiper: a,
2051
- extendParams: ui(i, o),
2051
+ extendParams: fi(i, o),
2052
2052
  on: a.on.bind(a),
2053
2053
  once: a.once.bind(a),
2054
2054
  off: a.off.bind(a),
@@ -2056,8 +2056,8 @@ let me = class j {
2056
2056
  });
2057
2057
  });
2058
2058
  const d = N({}, ce, o);
2059
- return a.params = N({}, d, oe, i), a.originalParams = N({}, a.params), a.passedParams = N({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((f) => {
2060
- a.on(f, a.params.on[f]);
2059
+ return a.params = N({}, d, oe, i), a.originalParams = N({}, a.params), a.passedParams = N({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((u) => {
2060
+ a.on(u, a.params.on[u]);
2061
2061
  }), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
2062
2062
  enabled: a.params.enabled,
2063
2063
  el: e,
@@ -2209,21 +2209,21 @@ let me = class j {
2209
2209
  size: o,
2210
2210
  activeIndex: d
2211
2211
  } = n;
2212
- let f = 1;
2212
+ let u = 1;
2213
2213
  if (typeof s.slidesPerView == "number") return s.slidesPerView;
2214
2214
  if (s.centeredSlides) {
2215
- let u = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, m;
2216
- for (let h = d + 1; h < r.length; h += 1)
2217
- r[h] && !m && (u += Math.ceil(r[h].swiperSlideSize), f += 1, u > o && (m = !0));
2218
- for (let h = d - 1; h >= 0; h -= 1)
2219
- r[h] && !m && (u += r[h].swiperSlideSize, f += 1, u > o && (m = !0));
2215
+ let f = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, h;
2216
+ for (let g = d + 1; g < r.length; g += 1)
2217
+ r[g] && !h && (f += Math.ceil(r[g].swiperSlideSize), u += 1, f > o && (h = !0));
2218
+ for (let g = d - 1; g >= 0; g -= 1)
2219
+ r[g] && !h && (f += r[g].swiperSlideSize, u += 1, f > o && (h = !0));
2220
2220
  } else if (e === "current")
2221
- for (let u = d + 1; u < r.length; u += 1)
2222
- (i ? l[u] + a[u] - l[d] < o : l[u] - l[d] < o) && (f += 1);
2221
+ for (let f = d + 1; f < r.length; f += 1)
2222
+ (i ? l[f] + a[f] - l[d] < o : l[f] - l[d] < o) && (u += 1);
2223
2223
  else
2224
- for (let u = d - 1; u >= 0; u -= 1)
2225
- l[d] - l[u] < o && (f += 1);
2226
- return f;
2224
+ for (let f = d - 1; f >= 0; f -= 1)
2225
+ l[d] - l[f] < o && (u += 1);
2226
+ return u;
2227
2227
  }
2228
2228
  update() {
2229
2229
  const e = this;
@@ -2295,7 +2295,7 @@ let me = class j {
2295
2295
  r.complete ? Z(i, r) : r.addEventListener("load", (l) => {
2296
2296
  Z(i, l.target);
2297
2297
  });
2298
- }), ue(i), i.initialized = !0, ue(i), i.emit("init"), i.emit("afterInit"), i;
2298
+ }), fe(i), i.initialized = !0, fe(i), i.emit("init"), i.emit("afterInit"), i;
2299
2299
  }
2300
2300
  destroy(e, i) {
2301
2301
  e === void 0 && (e = !0), i === void 0 && (i = !0);
@@ -2321,12 +2321,12 @@ let me = class j {
2321
2321
  return ce;
2322
2322
  }
2323
2323
  static installModule(e) {
2324
- j.prototype.__modules__ || (j.prototype.__modules__ = []);
2325
- const i = j.prototype.__modules__;
2324
+ $.prototype.__modules__ || ($.prototype.__modules__ = []);
2325
+ const i = $.prototype.__modules__;
2326
2326
  typeof e == "function" && i.indexOf(e) < 0 && i.push(e);
2327
2327
  }
2328
2328
  static use(e) {
2329
- return Array.isArray(e) ? (e.forEach((i) => j.installModule(i)), j) : (j.installModule(e), j);
2329
+ return Array.isArray(e) ? (e.forEach((i) => $.installModule(i)), $) : ($.installModule(e), $);
2330
2330
  }
2331
2331
  };
2332
2332
  Object.keys(le).forEach((t) => {
@@ -2494,28 +2494,28 @@ function pi(t) {
2494
2494
  paginationEl: o
2495
2495
  } = t;
2496
2496
  const d = s.filter((w) => w !== "children" && w !== "direction" && w !== "wrapperClass"), {
2497
- params: f,
2498
- pagination: u,
2499
- navigation: m,
2500
- scrollbar: h,
2497
+ params: u,
2498
+ pagination: f,
2499
+ navigation: h,
2500
+ scrollbar: g,
2501
2501
  virtual: c,
2502
- thumbs: g
2502
+ thumbs: m
2503
2503
  } = e;
2504
- let E, v, S, p, T, x, C, P;
2505
- s.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && f.thumbs && (!f.thumbs.swiper || f.thumbs.swiper.destroyed) && (E = !0), s.includes("controller") && n.controller && n.controller.control && f.controller && !f.controller.control && (v = !0), s.includes("pagination") && n.pagination && (n.pagination.el || o) && (f.pagination || f.pagination === !1) && u && !u.el && (S = !0), s.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || a) && (f.scrollbar || f.scrollbar === !1) && h && !h.el && (p = !0), s.includes("navigation") && n.navigation && (n.navigation.prevEl || l) && (n.navigation.nextEl || r) && (f.navigation || f.navigation === !1) && m && !m.prevEl && !m.nextEl && (T = !0);
2504
+ let S, v, b, p, T, E, C, P;
2505
+ s.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && u.thumbs && (!u.thumbs.swiper || u.thumbs.swiper.destroyed) && (S = !0), s.includes("controller") && n.controller && n.controller.control && u.controller && !u.controller.control && (v = !0), s.includes("pagination") && n.pagination && (n.pagination.el || o) && (u.pagination || u.pagination === !1) && f && !f.el && (b = !0), s.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || a) && (u.scrollbar || u.scrollbar === !1) && g && !g.el && (p = !0), s.includes("navigation") && n.navigation && (n.navigation.prevEl || l) && (n.navigation.nextEl || r) && (u.navigation || u.navigation === !1) && h && !h.prevEl && !h.nextEl && (T = !0);
2506
2506
  const y = (w) => {
2507
- e[w] && (e[w].destroy(), w === "navigation" ? (e.isElement && (e[w].prevEl.remove(), e[w].nextEl.remove()), f[w].prevEl = void 0, f[w].nextEl = void 0, e[w].prevEl = void 0, e[w].nextEl = void 0) : (e.isElement && e[w].el.remove(), f[w].el = void 0, e[w].el = void 0));
2507
+ e[w] && (e[w].destroy(), w === "navigation" ? (e.isElement && (e[w].prevEl.remove(), e[w].nextEl.remove()), u[w].prevEl = void 0, u[w].nextEl = void 0, e[w].prevEl = void 0, e[w].nextEl = void 0) : (e.isElement && e[w].el.remove(), u[w].el = void 0, e[w].el = void 0));
2508
2508
  };
2509
- s.includes("loop") && e.isElement && (f.loop && !n.loop ? x = !0 : !f.loop && n.loop ? C = !0 : P = !0), d.forEach((w) => {
2510
- if (X(f[w]) && X(n[w]))
2511
- Object.assign(f[w], n[w]), (w === "navigation" || w === "pagination" || w === "scrollbar") && "enabled" in n[w] && !n[w].enabled && y(w);
2509
+ s.includes("loop") && e.isElement && (u.loop && !n.loop ? E = !0 : !u.loop && n.loop ? C = !0 : P = !0), d.forEach((w) => {
2510
+ if (X(u[w]) && X(n[w]))
2511
+ Object.assign(u[w], n[w]), (w === "navigation" || w === "pagination" || w === "scrollbar") && "enabled" in n[w] && !n[w].enabled && y(w);
2512
2512
  else {
2513
- const b = n[w];
2514
- (b === !0 || b === !1) && (w === "navigation" || w === "pagination" || w === "scrollbar") ? b === !1 && y(w) : f[w] = n[w];
2513
+ const x = n[w];
2514
+ (x === !0 || x === !1) && (w === "navigation" || w === "pagination" || w === "scrollbar") ? x === !1 && y(w) : u[w] = n[w];
2515
2515
  }
2516
- }), d.includes("controller") && !v && e.controller && e.controller.control && f.controller && f.controller.control && (e.controller.control = f.controller.control), s.includes("children") && i && c && f.virtual.enabled ? (c.slides = i, c.update(!0)) : s.includes("virtual") && c && f.virtual.enabled && (i && (c.slides = i), c.update(!0)), s.includes("children") && i && f.loop && (P = !0), E && g.init() && g.update(!0), v && (e.controller.control = f.controller.control), S && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (f.pagination.el = o), u.init(), u.render(), u.update()), p && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (f.scrollbar.el = a), h.init(), h.updateSize(), h.setTranslate()), T && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), we(r, 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"), we(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (f.navigation.nextEl = r), l && (f.navigation.prevEl = l), m.init(), m.update()), s.includes("allowSlideNext") && (e.allowSlideNext = n.allowSlideNext), s.includes("allowSlidePrev") && (e.allowSlidePrev = n.allowSlidePrev), s.includes("direction") && e.changeDirection(n.direction, !1), (x || P) && e.loopDestroy(), (C || P) && e.loopCreate(), e.update();
2516
+ }), d.includes("controller") && !v && e.controller && e.controller.control && u.controller && u.controller.control && (e.controller.control = u.controller.control), s.includes("children") && i && c && u.virtual.enabled ? (c.slides = i, c.update(!0)) : s.includes("virtual") && c && u.virtual.enabled && (i && (c.slides = i), c.update(!0)), s.includes("children") && i && u.loop && (P = !0), S && m.init() && m.update(!0), v && (e.controller.control = u.controller.control), b && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (u.pagination.el = o), f.init(), f.render(), f.update()), p && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (u.scrollbar.el = a), g.init(), g.updateSize(), g.setTranslate()), T && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), we(r, 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"), we(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (u.navigation.nextEl = r), l && (u.navigation.prevEl = l), h.init(), h.update()), s.includes("allowSlideNext") && (e.allowSlideNext = n.allowSlideNext), s.includes("allowSlidePrev") && (e.allowSlidePrev = n.allowSlidePrev), s.includes("direction") && e.changeDirection(n.direction, !1), (E || P) && e.loopDestroy(), (C || P) && e.loopCreate(), e.update();
2517
2517
  }
2518
- function Ee(t, e) {
2518
+ function xe(t, e) {
2519
2519
  t === void 0 && (t = {});
2520
2520
  const i = {
2521
2521
  on: {}
@@ -2557,11 +2557,11 @@ function hi(t, e, i, n, s) {
2557
2557
  return De.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
2558
2558
  if (o in t && o in e)
2559
2559
  if (X(t[o]) && X(e[o])) {
2560
- const d = Object.keys(t[o]), f = Object.keys(e[o]);
2561
- d.length !== f.length ? l(o) : (d.forEach((u) => {
2562
- t[o][u] !== e[o][u] && l(o);
2563
- }), f.forEach((u) => {
2564
- t[o][u] !== e[o][u] && l(o);
2560
+ const d = Object.keys(t[o]), u = Object.keys(e[o]);
2561
+ d.length !== u.length ? l(o) : (d.forEach((f) => {
2562
+ t[o][f] !== e[o][f] && l(o);
2563
+ }), u.forEach((f) => {
2564
+ t[o][f] !== e[o][f] && l(o);
2565
2565
  }));
2566
2566
  } else t[o] !== e[o] && l(o);
2567
2567
  }), r;
@@ -2593,9 +2593,9 @@ function de(t, e, i) {
2593
2593
  }
2594
2594
  function vi(t, e, i) {
2595
2595
  if (!i) return null;
2596
- const n = (f) => {
2597
- let u = f;
2598
- return f < 0 ? u = e.length + f : u >= e.length && (u = u - e.length), u;
2596
+ const n = (u) => {
2597
+ let f = u;
2598
+ return u < 0 ? f = e.length + u : f >= e.length && (f = f - e.length), f;
2599
2599
  }, s = t.value.isHorizontal() ? {
2600
2600
  [t.value.rtlTranslate ? "right" : "left"]: `${i.offset}px`
2601
2601
  } : {
@@ -2604,17 +2604,17 @@ function vi(t, e, i) {
2604
2604
  from: r,
2605
2605
  to: l
2606
2606
  } = i, a = t.value.params.loop ? -e.length : 0, o = t.value.params.loop ? e.length * 2 : e.length, d = [];
2607
- for (let f = a; f < o; f += 1)
2608
- f >= r && f <= l && d.length < e.length && d.push(e[n(f)]);
2609
- return d.map((f) => {
2610
- if (f.props || (f.props = {}), f.props.style || (f.props.style = {}), f.props.swiperRef = t, f.props.style = s, f.type)
2611
- return k(f.type, {
2612
- ...f.props
2613
- }, f.children);
2614
- if (f.componentOptions)
2615
- return k(f.componentOptions.Ctor, {
2616
- ...f.props
2617
- }, f.componentOptions.children);
2607
+ for (let u = a; u < o; u += 1)
2608
+ u >= r && u <= l && d.length < e.length && d.push(e[n(u)]);
2609
+ return d.map((u) => {
2610
+ if (u.props || (u.props = {}), u.props.style || (u.props.style = {}), u.props.swiperRef = t, u.props.style = s, u.type)
2611
+ return k(u.type, {
2612
+ ...u.props
2613
+ }, u.children);
2614
+ if (u.componentOptions)
2615
+ return k(u.componentOptions.Ctor, {
2616
+ ...u.props
2617
+ }, u.componentOptions.children);
2618
2618
  });
2619
2619
  }
2620
2620
  const bi = {
@@ -3090,24 +3090,24 @@ const bi = {
3090
3090
  const {
3091
3091
  tag: s,
3092
3092
  wrapperTag: r
3093
- } = t, l = G("swiper"), a = G(null), o = G(!1), d = G(!1), f = G(null), u = G(null), m = G(null), h = {
3093
+ } = t, l = G("swiper"), a = G(null), o = G(!1), d = G(!1), u = G(null), f = G(null), h = G(null), g = {
3094
3094
  value: []
3095
3095
  }, c = {
3096
3096
  value: []
3097
- }, g = G(null), E = G(null), v = G(null), S = G(null), {
3097
+ }, m = G(null), S = G(null), v = G(null), b = G(null), {
3098
3098
  params: p,
3099
3099
  passedParams: T
3100
- } = Ee(t);
3101
- de(i, h, c), m.value = T, c.value = h.value;
3102
- const x = () => {
3103
- de(i, h, c), o.value = !0;
3100
+ } = xe(t);
3101
+ de(i, g, c), h.value = T, c.value = g.value;
3102
+ const E = () => {
3103
+ de(i, g, c), o.value = !0;
3104
3104
  };
3105
3105
  p.onAny = function(y) {
3106
- for (var w = arguments.length, b = new Array(w > 1 ? w - 1 : 0), M = 1; M < w; M++)
3107
- b[M - 1] = arguments[M];
3108
- n(y, ...b);
3106
+ for (var w = arguments.length, x = new Array(w > 1 ? w - 1 : 0), M = 1; M < w; M++)
3107
+ x[M - 1] = arguments[M];
3108
+ n(y, ...x);
3109
3109
  }, Object.assign(p.on, {
3110
- _beforeBreakpoint: x,
3110
+ _beforeBreakpoint: E,
3111
3111
  _containerClasses(y, w) {
3112
3112
  l.value = w;
3113
3113
  }
@@ -3115,72 +3115,72 @@ const bi = {
3115
3115
  const C = {
3116
3116
  ...p
3117
3117
  };
3118
- if (delete C.wrapperClass, u.value = new me(C), u.value.virtual && u.value.params.virtual.enabled) {
3119
- u.value.virtual.slides = h.value;
3118
+ if (delete C.wrapperClass, f.value = new me(C), f.value.virtual && f.value.params.virtual.enabled) {
3119
+ f.value.virtual.slides = g.value;
3120
3120
  const y = {
3121
3121
  cache: !1,
3122
- slides: h.value,
3122
+ slides: g.value,
3123
3123
  renderExternal: (w) => {
3124
3124
  a.value = w;
3125
3125
  },
3126
3126
  renderExternalUpdate: !1
3127
3127
  };
3128
- q(u.value.params.virtual, y), q(u.value.originalParams.virtual, y);
3128
+ q(f.value.params.virtual, y), q(f.value.originalParams.virtual, y);
3129
3129
  }
3130
- xe(() => {
3131
- !d.value && u.value && (u.value.emitSlidesClasses(), d.value = !0);
3130
+ Ee(() => {
3131
+ !d.value && f.value && (f.value.emitSlidesClasses(), d.value = !0);
3132
3132
  const {
3133
3133
  passedParams: y
3134
- } = Ee(t), w = hi(y, m.value, h.value, c.value, (b) => b.props && b.props.key);
3135
- m.value = y, (w.length || o.value) && u.value && !u.value.destroyed && pi({
3136
- swiper: u.value,
3137
- slides: h.value,
3134
+ } = xe(t), w = hi(y, h.value, g.value, c.value, (x) => x.props && x.props.key);
3135
+ h.value = y, (w.length || o.value) && f.value && !f.value.destroyed && pi({
3136
+ swiper: f.value,
3137
+ slides: g.value,
3138
3138
  passedParams: y,
3139
3139
  changedParams: w,
3140
- nextEl: g.value,
3141
- prevEl: E.value,
3142
- scrollbarEl: S.value,
3140
+ nextEl: m.value,
3141
+ prevEl: S.value,
3142
+ scrollbarEl: b.value,
3143
3143
  paginationEl: v.value
3144
3144
  }), o.value = !1;
3145
- }), Me("swiper", u), Fe(a, () => {
3146
- je(() => {
3147
- gi(u.value);
3145
+ }), Me("swiper", f), Fe(a, () => {
3146
+ $e(() => {
3147
+ gi(f.value);
3148
3148
  });
3149
3149
  }), Pe(() => {
3150
- f.value && (mi({
3151
- el: f.value,
3152
- nextEl: g.value,
3153
- prevEl: E.value,
3150
+ u.value && (mi({
3151
+ el: u.value,
3152
+ nextEl: m.value,
3153
+ prevEl: S.value,
3154
3154
  paginationEl: v.value,
3155
- scrollbarEl: S.value,
3156
- swiper: u.value
3157
- }, p), n("swiper", u.value));
3155
+ scrollbarEl: b.value,
3156
+ swiper: f.value
3157
+ }, p), n("swiper", f.value));
3158
3158
  }), Ce(() => {
3159
- u.value && !u.value.destroyed && u.value.destroy(!0, !1);
3159
+ f.value && !f.value.destroyed && f.value.destroy(!0, !1);
3160
3160
  });
3161
3161
  function P(y) {
3162
- return p.virtual ? vi(u, y, a.value) : (y.forEach((w, b) => {
3163
- w.props || (w.props = {}), w.props.swiperRef = u, w.props.swiperSlideIndex = b;
3162
+ return p.virtual ? vi(f, y, a.value) : (y.forEach((w, x) => {
3163
+ w.props || (w.props = {}), w.props.swiperRef = f, w.props.swiperSlideIndex = x;
3164
3164
  }), y);
3165
3165
  }
3166
3166
  return () => {
3167
3167
  const {
3168
3168
  slides: y,
3169
3169
  slots: w
3170
- } = de(i, h, c);
3170
+ } = de(i, g, c);
3171
3171
  return k(s, {
3172
- ref: f,
3172
+ ref: u,
3173
3173
  class: ke(l.value)
3174
3174
  }, [w["container-start"], k(r, {
3175
3175
  class: ci(p.wrapperClass)
3176
3176
  }, [w["wrapper-start"], P(y), w["wrapper-end"]]), Ge(t) && [k("div", {
3177
- ref: E,
3177
+ ref: S,
3178
3178
  class: "swiper-button-prev"
3179
3179
  }), k("div", {
3180
- ref: g,
3180
+ ref: m,
3181
3181
  class: "swiper-button-next"
3182
3182
  })], Ve(t) && k("div", {
3183
- ref: S,
3183
+ ref: b,
3184
3184
  class: "swiper-scrollbar"
3185
3185
  }), Ne(t) && k("div", {
3186
3186
  ref: v,
@@ -3226,14 +3226,14 @@ const bi = {
3226
3226
  const {
3227
3227
  swiperRef: s
3228
3228
  } = t, r = G(null), l = G("swiper-slide"), a = G(!1);
3229
- function o(u, m, h) {
3230
- m === r.value && (l.value = h);
3229
+ function o(f, h, g) {
3230
+ h === r.value && (l.value = g);
3231
3231
  }
3232
3232
  Pe(() => {
3233
3233
  !s || !s.value || (s.value.on("_slideClass", o), n = !0);
3234
- }), $e(() => {
3234
+ }), je(() => {
3235
3235
  n || !s || !s.value || (s.value.on("_slideClass", o), n = !0);
3236
- }), xe(() => {
3236
+ }), Ee(() => {
3237
3237
  !r.value || !s || !s.value || (typeof t.swiperSlideIndex < "u" && (r.value.swiperSlideIndex = t.swiperSlideIndex), s.value.destroyed && l.value !== "swiper-slide" && (l.value = "swiper-slide"));
3238
3238
  }), Ce(() => {
3239
3239
  !s || !s.value || s.value.off("_slideClass", o);
@@ -3245,14 +3245,14 @@ const bi = {
3245
3245
  isNext: l.value.indexOf("swiper-slide-next") >= 0
3246
3246
  }));
3247
3247
  Me("swiperSlide", d);
3248
- const f = () => {
3248
+ const u = () => {
3249
3249
  a.value = !0;
3250
3250
  };
3251
3251
  return () => k(t.tag, {
3252
3252
  class: ke(`${l.value}`),
3253
3253
  ref: r,
3254
3254
  "data-swiper-slide-index": typeof t.virtualIndex > "u" && s && s.value && s.value.params.loop ? t.swiperSlideIndex : t.virtualIndex,
3255
- onLoadCapture: f
3255
+ onLoadCapture: u
3256
3256
  }, t.zoom ? k("div", {
3257
3257
  class: "swiper-zoom-container",
3258
3258
  "data-swiper-zoom": typeof t.zoom == "number" ? t.zoom : void 0
@@ -3270,7 +3270,7 @@ function yi(t) {
3270
3270
  on: n,
3271
3271
  emit: s
3272
3272
  } = t;
3273
- const r = $(), l = _();
3273
+ const r = j(), l = _();
3274
3274
  e.keyboard = {
3275
3275
  enabled: !1
3276
3276
  }, i({
@@ -3280,34 +3280,34 @@ function yi(t) {
3280
3280
  pageUpDown: !0
3281
3281
  }
3282
3282
  });
3283
- function a(f) {
3283
+ function a(u) {
3284
3284
  if (!e.enabled) return;
3285
3285
  const {
3286
- rtlTranslate: u
3286
+ rtlTranslate: f
3287
3287
  } = e;
3288
- let m = f;
3289
- m.originalEvent && (m = m.originalEvent);
3290
- const h = m.keyCode || m.charCode, c = e.params.keyboard.pageUpDown, g = c && h === 33, E = c && h === 34, v = h === 37, S = h === 39, p = h === 38, T = h === 40;
3291
- if (!e.allowSlideNext && (e.isHorizontal() && S || e.isVertical() && T || E) || !e.allowSlidePrev && (e.isHorizontal() && v || e.isVertical() && p || g))
3288
+ let h = u;
3289
+ h.originalEvent && (h = h.originalEvent);
3290
+ const g = h.keyCode || h.charCode, c = e.params.keyboard.pageUpDown, m = c && g === 33, S = c && g === 34, v = g === 37, b = g === 39, p = g === 38, T = g === 40;
3291
+ if (!e.allowSlideNext && (e.isHorizontal() && b || e.isVertical() && T || S) || !e.allowSlidePrev && (e.isHorizontal() && v || e.isVertical() && p || m))
3292
3292
  return !1;
3293
- if (!(m.shiftKey || m.altKey || m.ctrlKey || m.metaKey) && !(r.activeElement && (r.activeElement.isContentEditable || r.activeElement.nodeName && (r.activeElement.nodeName.toLowerCase() === "input" || r.activeElement.nodeName.toLowerCase() === "textarea")))) {
3294
- if (e.params.keyboard.onlyInViewport && (g || E || v || S || p || T)) {
3295
- let x = !1;
3296
- if (fe(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && fe(e.el, `.${e.params.slideActiveClass}`).length === 0)
3293
+ if (!(h.shiftKey || h.altKey || h.ctrlKey || h.metaKey) && !(r.activeElement && (r.activeElement.isContentEditable || r.activeElement.nodeName && (r.activeElement.nodeName.toLowerCase() === "input" || r.activeElement.nodeName.toLowerCase() === "textarea")))) {
3294
+ if (e.params.keyboard.onlyInViewport && (m || S || v || b || p || T)) {
3295
+ let E = !1;
3296
+ if (ue(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && ue(e.el, `.${e.params.slideActiveClass}`).length === 0)
3297
3297
  return;
3298
- const C = e.el, P = C.clientWidth, y = C.clientHeight, w = l.innerWidth, b = l.innerHeight, M = et(C);
3299
- u && (M.left -= C.scrollLeft);
3298
+ const C = e.el, P = C.clientWidth, y = C.clientHeight, w = l.innerWidth, x = l.innerHeight, M = et(C);
3299
+ f && (M.left -= C.scrollLeft);
3300
3300
  const I = [[M.left, M.top], [M.left + P, M.top], [M.left, M.top + y], [M.left + P, M.top + y]];
3301
3301
  for (let O = 0; O < I.length; O += 1) {
3302
3302
  const B = I[O];
3303
- if (B[0] >= 0 && B[0] <= w && B[1] >= 0 && B[1] <= b) {
3303
+ if (B[0] >= 0 && B[0] <= w && B[1] >= 0 && B[1] <= x) {
3304
3304
  if (B[0] === 0 && B[1] === 0) continue;
3305
- x = !0;
3305
+ E = !0;
3306
3306
  }
3307
3307
  }
3308
- if (!x) return;
3308
+ if (!E) return;
3309
3309
  }
3310
- e.isHorizontal() ? ((g || E || v || S) && (m.preventDefault ? m.preventDefault() : m.returnValue = !1), ((E || S) && !u || (g || v) && u) && e.slideNext(), ((g || v) && !u || (E || S) && u) && e.slidePrev()) : ((g || E || p || T) && (m.preventDefault ? m.preventDefault() : m.returnValue = !1), (E || T) && e.slideNext(), (g || p) && e.slidePrev()), s("keyPress", h);
3310
+ e.isHorizontal() ? ((m || S || v || b) && (h.preventDefault ? h.preventDefault() : h.returnValue = !1), ((S || b) && !f || (m || v) && f) && e.slideNext(), ((m || v) && !f || (S || b) && f) && e.slidePrev()) : ((m || S || p || T) && (h.preventDefault ? h.preventDefault() : h.returnValue = !1), (S || T) && e.slideNext(), (m || p) && e.slidePrev()), s("keyPress", g);
3311
3311
  }
3312
3312
  }
3313
3313
  function o() {
@@ -3325,7 +3325,7 @@ function yi(t) {
3325
3325
  disable: d
3326
3326
  });
3327
3327
  }
3328
- function Ei(t) {
3328
+ function xi(t) {
3329
3329
  let {
3330
3330
  swiper: e,
3331
3331
  extendParams: i,
@@ -3350,22 +3350,22 @@ function Ei(t) {
3350
3350
  };
3351
3351
  let l, a = R(), o;
3352
3352
  const d = [];
3353
- function f(p) {
3354
- let P = 0, y = 0, w = 0, b = 0;
3355
- return "detail" in p && (y = p.detail), "wheelDelta" in p && (y = -p.wheelDelta / 120), "wheelDeltaY" in p && (y = -p.wheelDeltaY / 120), "wheelDeltaX" in p && (P = -p.wheelDeltaX / 120), "axis" in p && p.axis === p.HORIZONTAL_AXIS && (P = y, y = 0), w = P * 10, b = y * 10, "deltaY" in p && (b = p.deltaY), "deltaX" in p && (w = p.deltaX), p.shiftKey && !w && (w = b, b = 0), (w || b) && p.deltaMode && (p.deltaMode === 1 ? (w *= 40, b *= 40) : (w *= 800, b *= 800)), w && !P && (P = w < 1 ? -1 : 1), b && !y && (y = b < 1 ? -1 : 1), {
3353
+ function u(p) {
3354
+ let P = 0, y = 0, w = 0, x = 0;
3355
+ return "detail" in p && (y = p.detail), "wheelDelta" in p && (y = -p.wheelDelta / 120), "wheelDeltaY" in p && (y = -p.wheelDeltaY / 120), "wheelDeltaX" in p && (P = -p.wheelDeltaX / 120), "axis" in p && p.axis === p.HORIZONTAL_AXIS && (P = y, y = 0), w = P * 10, x = y * 10, "deltaY" in p && (x = p.deltaY), "deltaX" in p && (w = p.deltaX), p.shiftKey && !w && (w = x, x = 0), (w || x) && p.deltaMode && (p.deltaMode === 1 ? (w *= 40, x *= 40) : (w *= 800, x *= 800)), w && !P && (P = w < 1 ? -1 : 1), x && !y && (y = x < 1 ? -1 : 1), {
3356
3356
  spinX: P,
3357
3357
  spinY: y,
3358
3358
  pixelX: w,
3359
- pixelY: b
3359
+ pixelY: x
3360
3360
  };
3361
3361
  }
3362
- function u() {
3362
+ function f() {
3363
3363
  e.enabled && (e.mouseEntered = !0);
3364
3364
  }
3365
- function m() {
3365
+ function h() {
3366
3366
  e.enabled && (e.mouseEntered = !1);
3367
3367
  }
3368
- function h(p) {
3368
+ function g(p) {
3369
3369
  return e.params.mousewheel.thresholdDelta && p.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && R() - a < e.params.mousewheel.thresholdTime ? !1 : p.delta >= 6 && R() - a < 60 ? !0 : (p.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), s("scroll", p.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), s("scroll", p.raw)), a = new r.Date().getTime(), !1);
3370
3370
  }
3371
3371
  function c(p) {
@@ -3377,8 +3377,8 @@ function Ei(t) {
3377
3377
  return !0;
3378
3378
  return !1;
3379
3379
  }
3380
- function g(p) {
3381
- let T = p, x = !0;
3380
+ function m(p) {
3381
+ let T = p, E = !0;
3382
3382
  if (!e.enabled || p.target.closest(`.${e.params.mousewheel.noMousewheelClass}`)) return;
3383
3383
  const C = e.params.mousewheel;
3384
3384
  e.params.cssMode && T.preventDefault();
@@ -3388,19 +3388,19 @@ function Ei(t) {
3388
3388
  if (!e.mouseEntered && !y && !C.releaseOnEdges) return !0;
3389
3389
  T.originalEvent && (T = T.originalEvent);
3390
3390
  let w = 0;
3391
- const b = e.rtlTranslate ? -1 : 1, M = f(T);
3391
+ const x = e.rtlTranslate ? -1 : 1, M = u(T);
3392
3392
  if (C.forceToAxis)
3393
3393
  if (e.isHorizontal())
3394
- if (Math.abs(M.pixelX) > Math.abs(M.pixelY)) w = -M.pixelX * b;
3394
+ if (Math.abs(M.pixelX) > Math.abs(M.pixelY)) w = -M.pixelX * x;
3395
3395
  else return !0;
3396
3396
  else if (Math.abs(M.pixelY) > Math.abs(M.pixelX)) w = -M.pixelY;
3397
3397
  else return !0;
3398
3398
  else
3399
- w = Math.abs(M.pixelX) > Math.abs(M.pixelY) ? -M.pixelX * b : -M.pixelY;
3399
+ w = Math.abs(M.pixelX) > Math.abs(M.pixelY) ? -M.pixelX * x : -M.pixelY;
3400
3400
  if (w === 0) return !0;
3401
3401
  C.invert && (w = -w);
3402
3402
  let I = e.getTranslate() + w * C.sensitivity;
3403
- if (I >= e.minTranslate() && (I = e.minTranslate()), I <= e.maxTranslate() && (I = e.maxTranslate()), x = e.params.loop ? !0 : !(I === e.minTranslate() || I === e.maxTranslate()), x && e.params.nested && T.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
3403
+ if (I >= e.minTranslate() && (I = e.minTranslate()), I <= e.maxTranslate() && (I = e.maxTranslate()), E = e.params.loop ? !0 : !(I === e.minTranslate() || I === e.maxTranslate()), E && e.params.nested && T.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
3404
3404
  const O = {
3405
3405
  time: R(),
3406
3406
  delta: Math.abs(w),
@@ -3409,7 +3409,7 @@ function Ei(t) {
3409
3409
  };
3410
3410
  d.length >= 2 && d.shift();
3411
3411
  const B = d.length ? d[d.length - 1] : void 0;
3412
- if (d.push(O), B ? (O.direction !== B.direction || O.delta > B.delta || O.time > B.time + 150) && h(O) : h(O), c(O))
3412
+ if (d.push(O), B ? (O.direction !== B.direction || O.delta > B.delta || O.time > B.time + 150) && g(O) : g(O), c(O))
3413
3413
  return !0;
3414
3414
  } else {
3415
3415
  const O = {
@@ -3447,23 +3447,23 @@ function Ei(t) {
3447
3447
  }
3448
3448
  return T.preventDefault ? T.preventDefault() : T.returnValue = !1, !1;
3449
3449
  }
3450
- function E(p) {
3450
+ function S(p) {
3451
3451
  let T = e.el;
3452
- e.params.mousewheel.eventsTarget !== "container" && (T = document.querySelector(e.params.mousewheel.eventsTarget)), T[p]("mouseenter", u), T[p]("mouseleave", m), T[p]("wheel", g);
3452
+ e.params.mousewheel.eventsTarget !== "container" && (T = document.querySelector(e.params.mousewheel.eventsTarget)), T[p]("mouseenter", f), T[p]("mouseleave", h), T[p]("wheel", m);
3453
3453
  }
3454
3454
  function v() {
3455
- return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", g), !0) : e.mousewheel.enabled ? !1 : (E("addEventListener"), e.mousewheel.enabled = !0, !0);
3455
+ return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", m), !0) : e.mousewheel.enabled ? !1 : (S("addEventListener"), e.mousewheel.enabled = !0, !0);
3456
3456
  }
3457
- function S() {
3458
- return e.params.cssMode ? (e.wrapperEl.addEventListener(event, g), !0) : e.mousewheel.enabled ? (E("removeEventListener"), e.mousewheel.enabled = !1, !0) : !1;
3457
+ function b() {
3458
+ return e.params.cssMode ? (e.wrapperEl.addEventListener(event, m), !0) : e.mousewheel.enabled ? (S("removeEventListener"), e.mousewheel.enabled = !1, !0) : !1;
3459
3459
  }
3460
3460
  n("init", () => {
3461
- !e.params.mousewheel.enabled && e.params.cssMode && S(), e.params.mousewheel.enabled && v();
3461
+ !e.params.mousewheel.enabled && e.params.cssMode && b(), e.params.mousewheel.enabled && v();
3462
3462
  }), n("destroy", () => {
3463
- e.params.cssMode && v(), e.mousewheel.enabled && S();
3463
+ e.params.cssMode && v(), e.mousewheel.enabled && b();
3464
3464
  }), Object.assign(e.mousewheel, {
3465
3465
  enable: v,
3466
- disable: S
3466
+ disable: b
3467
3467
  });
3468
3468
  }
3469
3469
  function wi(t, e, i, n) {
@@ -3474,7 +3474,7 @@ function wi(t, e, i, n) {
3474
3474
  }
3475
3475
  }), i;
3476
3476
  }
3477
- function xi(t) {
3477
+ function Ei(t) {
3478
3478
  let {
3479
3479
  swiper: e,
3480
3480
  extendParams: i,
@@ -3496,25 +3496,25 @@ function xi(t) {
3496
3496
  prevEl: null
3497
3497
  };
3498
3498
  function r(c) {
3499
- let g;
3500
- return c && typeof c == "string" && e.isElement && (g = e.el.querySelector(c) || e.hostEl.querySelector(c), g) ? g : (c && (typeof c == "string" && (g = [...document.querySelectorAll(c)]), e.params.uniqueNavElements && typeof c == "string" && g && g.length > 1 && e.el.querySelectorAll(c).length === 1 ? g = e.el.querySelector(c) : g && g.length === 1 && (g = g[0])), c && !g ? c : g);
3499
+ let m;
3500
+ return c && typeof c == "string" && e.isElement && (m = e.el.querySelector(c) || e.hostEl.querySelector(c), m) ? m : (c && (typeof c == "string" && (m = [...document.querySelectorAll(c)]), e.params.uniqueNavElements && typeof c == "string" && m && m.length > 1 && e.el.querySelectorAll(c).length === 1 ? m = e.el.querySelector(c) : m && m.length === 1 && (m = m[0])), c && !m ? c : m);
3501
3501
  }
3502
- function l(c, g) {
3503
- const E = e.params.navigation;
3502
+ function l(c, m) {
3503
+ const S = e.params.navigation;
3504
3504
  c = F(c), c.forEach((v) => {
3505
- v && (v.classList[g ? "add" : "remove"](...E.disabledClass.split(" ")), v.tagName === "BUTTON" && (v.disabled = g), e.params.watchOverflow && e.enabled && v.classList[e.isLocked ? "add" : "remove"](E.lockClass));
3505
+ v && (v.classList[m ? "add" : "remove"](...S.disabledClass.split(" ")), v.tagName === "BUTTON" && (v.disabled = m), e.params.watchOverflow && e.enabled && v.classList[e.isLocked ? "add" : "remove"](S.lockClass));
3506
3506
  });
3507
3507
  }
3508
3508
  function a() {
3509
3509
  const {
3510
3510
  nextEl: c,
3511
- prevEl: g
3511
+ prevEl: m
3512
3512
  } = e.navigation;
3513
3513
  if (e.params.loop) {
3514
- l(g, !1), l(c, !1);
3514
+ l(m, !1), l(c, !1);
3515
3515
  return;
3516
3516
  }
3517
- l(g, e.isBeginning && !e.params.rewind), l(c, e.isEnd && !e.params.rewind);
3517
+ l(m, e.isBeginning && !e.params.rewind), l(c, e.isEnd && !e.params.rewind);
3518
3518
  }
3519
3519
  function o(c) {
3520
3520
  c.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), s("navigationPrev"));
@@ -3522,78 +3522,78 @@ function xi(t) {
3522
3522
  function d(c) {
3523
3523
  c.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), s("navigationNext"));
3524
3524
  }
3525
- function f() {
3525
+ function u() {
3526
3526
  const c = e.params.navigation;
3527
3527
  if (e.params.navigation = wi(e, e.originalParams.navigation, e.params.navigation, {
3528
3528
  nextEl: "swiper-button-next",
3529
3529
  prevEl: "swiper-button-prev"
3530
3530
  }), !(c.nextEl || c.prevEl)) return;
3531
- let g = r(c.nextEl), E = r(c.prevEl);
3531
+ let m = r(c.nextEl), S = r(c.prevEl);
3532
3532
  Object.assign(e.navigation, {
3533
- nextEl: g,
3534
- prevEl: E
3535
- }), g = F(g), E = F(E);
3536
- const v = (S, p) => {
3537
- S && S.addEventListener("click", p === "next" ? d : o), !e.enabled && S && S.classList.add(...c.lockClass.split(" "));
3533
+ nextEl: m,
3534
+ prevEl: S
3535
+ }), m = F(m), S = F(S);
3536
+ const v = (b, p) => {
3537
+ b && b.addEventListener("click", p === "next" ? d : o), !e.enabled && b && b.classList.add(...c.lockClass.split(" "));
3538
3538
  };
3539
- g.forEach((S) => v(S, "next")), E.forEach((S) => v(S, "prev"));
3539
+ m.forEach((b) => v(b, "next")), S.forEach((b) => v(b, "prev"));
3540
3540
  }
3541
- function u() {
3541
+ function f() {
3542
3542
  let {
3543
3543
  nextEl: c,
3544
- prevEl: g
3544
+ prevEl: m
3545
3545
  } = e.navigation;
3546
- c = F(c), g = F(g);
3547
- const E = (v, S) => {
3548
- v.removeEventListener("click", S === "next" ? d : o), v.classList.remove(...e.params.navigation.disabledClass.split(" "));
3546
+ c = F(c), m = F(m);
3547
+ const S = (v, b) => {
3548
+ v.removeEventListener("click", b === "next" ? d : o), v.classList.remove(...e.params.navigation.disabledClass.split(" "));
3549
3549
  };
3550
- c.forEach((v) => E(v, "next")), g.forEach((v) => E(v, "prev"));
3550
+ c.forEach((v) => S(v, "next")), m.forEach((v) => S(v, "prev"));
3551
3551
  }
3552
3552
  n("init", () => {
3553
- e.params.navigation.enabled === !1 ? h() : (f(), a());
3553
+ e.params.navigation.enabled === !1 ? g() : (u(), a());
3554
3554
  }), n("toEdge fromEdge lock unlock", () => {
3555
3555
  a();
3556
3556
  }), n("destroy", () => {
3557
- u();
3557
+ f();
3558
3558
  }), n("enable disable", () => {
3559
3559
  let {
3560
3560
  nextEl: c,
3561
- prevEl: g
3561
+ prevEl: m
3562
3562
  } = e.navigation;
3563
- if (c = F(c), g = F(g), e.enabled) {
3563
+ if (c = F(c), m = F(m), e.enabled) {
3564
3564
  a();
3565
3565
  return;
3566
3566
  }
3567
- [...c, ...g].filter((E) => !!E).forEach((E) => E.classList.add(e.params.navigation.lockClass));
3568
- }), n("click", (c, g) => {
3567
+ [...c, ...m].filter((S) => !!S).forEach((S) => S.classList.add(e.params.navigation.lockClass));
3568
+ }), n("click", (c, m) => {
3569
3569
  let {
3570
- nextEl: E,
3570
+ nextEl: S,
3571
3571
  prevEl: v
3572
3572
  } = e.navigation;
3573
- E = F(E), v = F(v);
3574
- const S = g.target;
3575
- let p = v.includes(S) || E.includes(S);
3573
+ S = F(S), v = F(v);
3574
+ const b = m.target;
3575
+ let p = v.includes(b) || S.includes(b);
3576
3576
  if (e.isElement && !p) {
3577
- const T = g.path || g.composedPath && g.composedPath();
3578
- T && (p = T.find((x) => E.includes(x) || v.includes(x)));
3577
+ const T = m.path || m.composedPath && m.composedPath();
3578
+ T && (p = T.find((E) => S.includes(E) || v.includes(E)));
3579
3579
  }
3580
3580
  if (e.params.navigation.hideOnClick && !p) {
3581
- if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === S || e.pagination.el.contains(S))) return;
3581
+ if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === b || e.pagination.el.contains(b))) return;
3582
3582
  let T;
3583
- E.length ? T = E[0].classList.contains(e.params.navigation.hiddenClass) : v.length && (T = v[0].classList.contains(e.params.navigation.hiddenClass)), s(T === !0 ? "navigationShow" : "navigationHide"), [...E, ...v].filter((x) => !!x).forEach((x) => x.classList.toggle(e.params.navigation.hiddenClass));
3583
+ S.length ? T = S[0].classList.contains(e.params.navigation.hiddenClass) : v.length && (T = v[0].classList.contains(e.params.navigation.hiddenClass)), s(T === !0 ? "navigationShow" : "navigationHide"), [...S, ...v].filter((E) => !!E).forEach((E) => E.classList.toggle(e.params.navigation.hiddenClass));
3584
3584
  }
3585
3585
  });
3586
- const m = () => {
3587
- e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), f(), a();
3588
- }, h = () => {
3589
- e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), u();
3586
+ const h = () => {
3587
+ e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), u(), a();
3588
+ }, g = () => {
3589
+ e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), f();
3590
3590
  };
3591
3591
  Object.assign(e.navigation, {
3592
- enable: m,
3593
- disable: h,
3592
+ enable: h,
3593
+ disable: g,
3594
3594
  update: a,
3595
- init: f,
3596
- destroy: u
3595
+ init: u,
3596
+ destroy: f
3597
3597
  });
3598
3598
  }
3599
3599
  function Mi(t) {
@@ -3642,72 +3642,72 @@ function Mi(t) {
3642
3642
  } = o;
3643
3643
  if (e.params.cssMode) return;
3644
3644
  const {
3645
- params: f,
3646
- wrapperEl: u,
3647
- rtlTranslate: m,
3648
- snapGrid: h,
3645
+ params: u,
3646
+ wrapperEl: f,
3647
+ rtlTranslate: h,
3648
+ snapGrid: g,
3649
3649
  touchEventsData: c
3650
- } = e, E = R() - c.touchStartTime;
3650
+ } = e, S = R() - c.touchStartTime;
3651
3651
  if (d < -e.minTranslate()) {
3652
3652
  e.slideTo(e.activeIndex);
3653
3653
  return;
3654
3654
  }
3655
3655
  if (d > -e.maxTranslate()) {
3656
- e.slides.length < h.length ? e.slideTo(h.length - 1) : e.slideTo(e.slides.length - 1);
3656
+ e.slides.length < g.length ? e.slideTo(g.length - 1) : e.slideTo(e.slides.length - 1);
3657
3657
  return;
3658
3658
  }
3659
- if (f.freeMode.momentum) {
3659
+ if (u.freeMode.momentum) {
3660
3660
  if (c.velocities.length > 1) {
3661
- const y = c.velocities.pop(), w = c.velocities.pop(), b = y.position - w.position, M = y.time - w.time;
3662
- e.velocity = b / M, e.velocity /= 2, Math.abs(e.velocity) < f.freeMode.minimumVelocity && (e.velocity = 0), (M > 150 || R() - y.time > 300) && (e.velocity = 0);
3661
+ const y = c.velocities.pop(), w = c.velocities.pop(), x = y.position - w.position, M = y.time - w.time;
3662
+ e.velocity = x / M, e.velocity /= 2, Math.abs(e.velocity) < u.freeMode.minimumVelocity && (e.velocity = 0), (M > 150 || R() - y.time > 300) && (e.velocity = 0);
3663
3663
  } else
3664
3664
  e.velocity = 0;
3665
- e.velocity *= f.freeMode.momentumVelocityRatio, c.velocities.length = 0;
3666
- let v = 1e3 * f.freeMode.momentumRatio;
3667
- const S = e.velocity * v;
3668
- let p = e.translate + S;
3669
- m && (p = -p);
3670
- let T = !1, x;
3671
- const C = Math.abs(e.velocity) * 20 * f.freeMode.momentumBounceRatio;
3665
+ e.velocity *= u.freeMode.momentumVelocityRatio, c.velocities.length = 0;
3666
+ let v = 1e3 * u.freeMode.momentumRatio;
3667
+ const b = e.velocity * v;
3668
+ let p = e.translate + b;
3669
+ h && (p = -p);
3670
+ let T = !1, E;
3671
+ const C = Math.abs(e.velocity) * 20 * u.freeMode.momentumBounceRatio;
3672
3672
  let P;
3673
3673
  if (p < e.maxTranslate())
3674
- f.freeMode.momentumBounce ? (p + e.maxTranslate() < -C && (p = e.maxTranslate() - C), x = e.maxTranslate(), T = !0, c.allowMomentumBounce = !0) : p = e.maxTranslate(), f.loop && f.centeredSlides && (P = !0);
3674
+ u.freeMode.momentumBounce ? (p + e.maxTranslate() < -C && (p = e.maxTranslate() - C), E = e.maxTranslate(), T = !0, c.allowMomentumBounce = !0) : p = e.maxTranslate(), u.loop && u.centeredSlides && (P = !0);
3675
3675
  else if (p > e.minTranslate())
3676
- f.freeMode.momentumBounce ? (p - e.minTranslate() > C && (p = e.minTranslate() + C), x = e.minTranslate(), T = !0, c.allowMomentumBounce = !0) : p = e.minTranslate(), f.loop && f.centeredSlides && (P = !0);
3677
- else if (f.freeMode.sticky) {
3676
+ u.freeMode.momentumBounce ? (p - e.minTranslate() > C && (p = e.minTranslate() + C), E = e.minTranslate(), T = !0, c.allowMomentumBounce = !0) : p = e.minTranslate(), u.loop && u.centeredSlides && (P = !0);
3677
+ else if (u.freeMode.sticky) {
3678
3678
  let y;
3679
- for (let w = 0; w < h.length; w += 1)
3680
- if (h[w] > -p) {
3679
+ for (let w = 0; w < g.length; w += 1)
3680
+ if (g[w] > -p) {
3681
3681
  y = w;
3682
3682
  break;
3683
3683
  }
3684
- Math.abs(h[y] - p) < Math.abs(h[y - 1] - p) || e.swipeDirection === "next" ? p = h[y] : p = h[y - 1], p = -p;
3684
+ Math.abs(g[y] - p) < Math.abs(g[y - 1] - p) || e.swipeDirection === "next" ? p = g[y] : p = g[y - 1], p = -p;
3685
3685
  }
3686
3686
  if (P && s("transitionEnd", () => {
3687
3687
  e.loopFix();
3688
3688
  }), e.velocity !== 0) {
3689
- if (m ? v = Math.abs((-p - e.translate) / e.velocity) : v = Math.abs((p - e.translate) / e.velocity), f.freeMode.sticky) {
3690
- const y = Math.abs((m ? -p : p) - e.translate), w = e.slidesSizesGrid[e.activeIndex];
3691
- y < w ? v = f.speed : y < 2 * w ? v = f.speed * 1.5 : v = f.speed * 2.5;
3689
+ if (h ? v = Math.abs((-p - e.translate) / e.velocity) : v = Math.abs((p - e.translate) / e.velocity), u.freeMode.sticky) {
3690
+ const y = Math.abs((h ? -p : p) - e.translate), w = e.slidesSizesGrid[e.activeIndex];
3691
+ y < w ? v = u.speed : y < 2 * w ? v = u.speed * 1.5 : v = u.speed * 2.5;
3692
3692
  }
3693
- } else if (f.freeMode.sticky) {
3693
+ } else if (u.freeMode.sticky) {
3694
3694
  e.slideToClosest();
3695
3695
  return;
3696
3696
  }
3697
- f.freeMode.momentumBounce && T ? (e.updateProgress(x), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating = !0, te(u, () => {
3698
- !e || e.destroyed || !c.allowMomentumBounce || (n("momentumBounce"), e.setTransition(f.speed), setTimeout(() => {
3699
- e.setTranslate(x), te(u, () => {
3697
+ u.freeMode.momentumBounce && T ? (e.updateProgress(E), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating = !0, te(f, () => {
3698
+ !e || e.destroyed || !c.allowMomentumBounce || (n("momentumBounce"), e.setTransition(u.speed), setTimeout(() => {
3699
+ e.setTranslate(E), te(f, () => {
3700
3700
  !e || e.destroyed || e.transitionEnd();
3701
3701
  });
3702
3702
  }, 0));
3703
- })) : e.velocity ? (n("_freeModeNoMomentumRelease"), e.updateProgress(p), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, te(u, () => {
3703
+ })) : e.velocity ? (n("_freeModeNoMomentumRelease"), e.updateProgress(p), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, te(f, () => {
3704
3704
  !e || e.destroyed || e.transitionEnd();
3705
3705
  }))) : e.updateProgress(p), e.updateActiveIndex(), e.updateSlidesClasses();
3706
- } else if (f.freeMode.sticky) {
3706
+ } else if (u.freeMode.sticky) {
3707
3707
  e.slideToClosest();
3708
3708
  return;
3709
- } else f.freeMode && n("_freeModeNoMomentumRelease");
3710
- (!f.freeMode.momentum || E >= f.longSwipesMs) && (n("_freeModeStaticRelease"), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses());
3709
+ } else u.freeMode && n("_freeModeNoMomentumRelease");
3710
+ (!u.freeMode.momentum || S >= u.longSwipesMs) && (n("_freeModeStaticRelease"), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses());
3711
3711
  }
3712
3712
  Object.assign(e, {
3713
3713
  freeMode: {
@@ -3717,10 +3717,83 @@ function Mi(t) {
3717
3717
  }
3718
3718
  });
3719
3719
  }
3720
+ function Pi(t) {
3721
+ let {
3722
+ swiper: e,
3723
+ extendParams: i,
3724
+ on: n
3725
+ } = t;
3726
+ i({
3727
+ grid: {
3728
+ rows: 1,
3729
+ fill: "column"
3730
+ }
3731
+ });
3732
+ let s, r, l, a;
3733
+ const o = () => {
3734
+ let m = e.params.spaceBetween;
3735
+ return typeof m == "string" && m.indexOf("%") >= 0 ? m = parseFloat(m.replace("%", "")) / 100 * e.size : typeof m == "string" && (m = parseFloat(m)), m;
3736
+ }, d = (m) => {
3737
+ const {
3738
+ slidesPerView: S
3739
+ } = e.params, {
3740
+ rows: v,
3741
+ fill: b
3742
+ } = e.params.grid, p = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : m.length;
3743
+ l = Math.floor(p / v), Math.floor(p / v) === p / v ? s = p : s = Math.ceil(p / v) * v, S !== "auto" && b === "row" && (s = Math.max(s, S * v)), r = s / v;
3744
+ }, u = () => {
3745
+ e.slides && e.slides.forEach((m) => {
3746
+ m.swiperSlideGridSet && (m.style.height = "", m.style[e.getDirectionLabel("margin-top")] = "");
3747
+ });
3748
+ }, f = (m, S, v) => {
3749
+ const {
3750
+ slidesPerGroup: b
3751
+ } = e.params, p = o(), {
3752
+ rows: T,
3753
+ fill: E
3754
+ } = e.params.grid, C = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : v.length;
3755
+ let P, y, w;
3756
+ if (E === "row" && b > 1) {
3757
+ const x = Math.floor(m / (b * T)), M = m - T * b * x, I = x === 0 ? b : Math.min(Math.ceil((C - x * T * b) / T), b);
3758
+ w = Math.floor(M / I), y = M - w * I + x * b, P = y + w * s / T, S.style.order = P;
3759
+ } else E === "column" ? (y = Math.floor(m / T), w = m - y * T, (y > l || y === l && w === T - 1) && (w += 1, w >= T && (w = 0, y += 1))) : (w = Math.floor(m / r), y = m - w * r);
3760
+ S.row = w, S.column = y, S.style.height = `calc((100% - ${(T - 1) * p}px) / ${T})`, S.style[e.getDirectionLabel("margin-top")] = w !== 0 ? p && `${p}px` : "", S.swiperSlideGridSet = !0;
3761
+ }, h = (m, S) => {
3762
+ const {
3763
+ centeredSlides: v,
3764
+ roundLengths: b
3765
+ } = e.params, p = o(), {
3766
+ rows: T
3767
+ } = e.params.grid;
3768
+ if (e.virtualSize = (m + p) * s, e.virtualSize = Math.ceil(e.virtualSize / T) - p, e.params.cssMode || (e.wrapperEl.style[e.getDirectionLabel("width")] = `${e.virtualSize + p}px`), v) {
3769
+ const E = [];
3770
+ for (let C = 0; C < S.length; C += 1) {
3771
+ let P = S[C];
3772
+ b && (P = Math.floor(P)), S[C] < e.virtualSize + S[0] && E.push(P);
3773
+ }
3774
+ S.splice(0, S.length), S.push(...E);
3775
+ }
3776
+ }, g = () => {
3777
+ a = e.params.grid && e.params.grid.rows > 1;
3778
+ }, c = () => {
3779
+ const {
3780
+ params: m,
3781
+ el: S
3782
+ } = e, v = m.grid && m.grid.rows > 1;
3783
+ a && !v ? (S.classList.remove(`${m.containerModifierClass}grid`, `${m.containerModifierClass}grid-column`), l = 1, e.emitContainerClasses()) : !a && v && (S.classList.add(`${m.containerModifierClass}grid`), m.grid.fill === "column" && S.classList.add(`${m.containerModifierClass}grid-column`), e.emitContainerClasses()), a = v;
3784
+ };
3785
+ n("init", g), n("update", c), e.grid = {
3786
+ initSlides: d,
3787
+ unsetSlides: u,
3788
+ updateSlide: f,
3789
+ updateWrapperSize: h
3790
+ };
3791
+ }
3720
3792
  export {
3793
+ Pi as G,
3721
3794
  yi as K,
3722
- Ei as M,
3723
- xi as N,
3795
+ xi as M,
3796
+ Ei as N,
3724
3797
  bi as S,
3725
3798
  Ti as a,
3726
3799
  Mi as f