md-components-mdigial-azamat 0.0.112 → 0.0.114

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 (147) hide show
  1. package/dist/ActionCardList/ActionCardList.js +28 -5
  2. package/dist/ActionCardList/index.js +1 -1
  3. package/dist/ActionCardList/info.js +1 -1
  4. package/dist/ActionCardSecondaryList/ActionCardSecondaryList.js +32 -0
  5. package/dist/ActionCardSecondaryList/index.js +6 -0
  6. package/dist/ActionCardSecondaryList/info.js +11 -0
  7. package/dist/ActionCardSecondaryList/schema.js +51 -0
  8. package/dist/ActionCardSecondaryList/types.js +4 -0
  9. package/dist/ActionIconList/ActionIconList.js +25 -2
  10. package/dist/AllComponents.js +28 -5
  11. package/dist/AllComponentsInfo.js +111 -95
  12. package/dist/AnimatedSwiper/index.js +40 -38
  13. package/dist/CardImageList/CardImageList.js +122 -81
  14. package/dist/CardImageList/schema.js +17 -12
  15. package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
  16. package/dist/Cards/ActionSecondaryCard/index.js +6 -0
  17. package/dist/Cards/ActionSecondaryCard/info.js +11 -0
  18. package/dist/Cards/ActionSecondaryCard/types.js +4 -0
  19. package/dist/Cards/CardImage/CardImage.js +48 -50
  20. package/dist/Cards/InfoCard/InfoCard.js +114 -0
  21. package/dist/Cards/InfoCard/index.js +9 -0
  22. package/dist/Cards/InfoCard/info.js +11 -0
  23. package/dist/Cards/InfoCard/schema.js +60 -0
  24. package/dist/Cards/InfoCard/types.js +4 -0
  25. package/dist/Cards/PostCard/PostCard.js +60 -0
  26. package/dist/Cards/PostCard/index.js +6 -0
  27. package/dist/Cards/PostCard/info.js +11 -0
  28. package/dist/Cards/PostCard/types.js +4 -0
  29. package/dist/Cards/WarningCard/WarningCard.js +27 -4
  30. package/dist/Cards/WarningCard/index.js +1 -1
  31. package/dist/Cards/WarningCard/info.js +1 -1
  32. package/dist/Cards/WarningCard/model.js +1 -1
  33. package/dist/CurrencyRates/CurrencyRates.js +78 -0
  34. package/dist/CurrencyRates/components/Calculator.js +101 -0
  35. package/dist/CurrencyRates/components/RateCell.js +15 -0
  36. package/dist/CurrencyRates/components/RatesTable.js +134 -0
  37. package/dist/CurrencyRates/components/index.js +6 -0
  38. package/dist/CurrencyRates/index.js +8 -0
  39. package/dist/CurrencyRates/info.js +11 -0
  40. package/dist/CurrencyRates/schema.js +63 -0
  41. package/dist/CurrencyRates/types.js +4 -0
  42. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  43. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  44. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  45. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  46. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
  47. package/dist/Faq/Faq.js +1 -1
  48. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
  49. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  50. package/dist/FieldInput-ef2a18d4.js +2743 -0
  51. package/dist/Forms/FormDefault/FormDefault.js +12 -0
  52. package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
  53. package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
  54. package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
  55. package/dist/Forms/FormDefault/components/FormContent.js +10 -0
  56. package/dist/Forms/FormDefault/components/FormFields.js +7 -0
  57. package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
  58. package/dist/Forms/FormDefault/components/index.js +6 -0
  59. package/dist/Forms/FormDefault/hooks/index.js +10 -0
  60. package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
  61. package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
  62. package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
  63. package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
  64. package/dist/Forms/FormDefault/index.js +6 -12
  65. package/dist/Forms/FormDefault/info.js +3 -115
  66. package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
  67. package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
  68. package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
  69. package/dist/Forms/FormDefault/model/index.js +13 -0
  70. package/dist/Forms/FormDefault/model/requestForm.js +4 -0
  71. package/dist/Forms/{model/components.js → FormDefault/schema.js} +32 -5
  72. package/dist/Forms/FormDefault/utils.js +20 -0
  73. package/dist/Grid-331af266.js +80 -0
  74. package/dist/Header/Header.js +54 -42
  75. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +21 -19
  76. package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
  77. package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
  78. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
  79. package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
  80. package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
  81. package/dist/HeroIconsBanner/HeroIconsBanner.js +25 -25
  82. package/dist/IconList/IconList.js +60 -54
  83. package/dist/InfoCardList/InfoCardList.js +100 -0
  84. package/dist/InfoCardList/index.js +6 -0
  85. package/dist/InfoCardList/info.js +11 -0
  86. package/dist/InfoCardList/schema.js +39 -0
  87. package/dist/InfoCardList/types.js +1 -0
  88. package/dist/PageViewer/renderComponents.js +1 -1
  89. package/dist/PostsList/PostsList.js +78 -0
  90. package/dist/PostsList/index.js +4 -0
  91. package/dist/PostsList/info.js +11 -0
  92. package/dist/PostsList/schema.js +49 -0
  93. package/dist/PostsList/types.js +1 -0
  94. package/dist/PostsSlider/PostsSlider.js +78 -0
  95. package/dist/PostsSlider/index.js +4 -0
  96. package/dist/PostsSlider/info.js +11 -0
  97. package/dist/PostsSlider/schema.js +49 -0
  98. package/dist/PostsSlider/types.js +1 -0
  99. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  100. package/dist/RenderAllComponents/const.js +1 -1
  101. package/dist/SearchBlock/SearchBlock.js +36 -37
  102. package/dist/SegmentedContent/SegmentedContent.js +160 -0
  103. package/dist/SegmentedContent/components/ContentCard.js +50 -0
  104. package/dist/SegmentedContent/components/index.js +4 -0
  105. package/dist/SegmentedContent/index.js +8 -0
  106. package/dist/SegmentedContent/info.js +12 -0
  107. package/dist/SegmentedContent/schema.js +108 -0
  108. package/dist/SegmentedContent/types.js +1 -0
  109. package/dist/Segments/Segments.js +36 -28
  110. package/dist/Segments/index.js +8 -2
  111. package/dist/Segments/info.js +1 -1
  112. package/dist/Segments/schema.js +21 -0
  113. package/dist/Segments/types.js +4 -1
  114. package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
  115. package/dist/SegmentsIcons/index.js +8 -0
  116. package/dist/SegmentsIcons/info.js +11 -0
  117. package/dist/SegmentsIcons/schema.js +14 -0
  118. package/dist/SegmentsIcons/types.js +1 -0
  119. package/dist/SwiperList/SwiperList.js +13 -11
  120. package/dist/assets/index.css +1 -1
  121. package/dist/{componentsMap-cac6c316.js → componentsMap-6fc8d724.js} +5 -3
  122. package/dist/{data.mock-ebc679ec.js → data.mock-a00d8eec.js} +546 -148
  123. package/dist/index-0791c17f.js +56 -0
  124. package/dist/index-2ec92a04.js +32 -0
  125. package/dist/index.esm-0558519f.js +1171 -0
  126. package/dist/info-ce6598a7.js +794 -0
  127. package/dist/main.js +151 -119
  128. package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
  129. package/dist/navigation-266856e7.js +136 -0
  130. package/dist/navigation-cd786a0d.js +133 -0
  131. package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
  132. package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
  133. package/dist/types-c3843cc0.js +4 -0
  134. package/dist/useDraggableScroll-440da9b7.js +29 -0
  135. package/dist/useTranslation-d7a3ca6f.js +298 -0
  136. package/package.json +1 -1
  137. package/dist/FileLoader/fileLoader.js +0 -22
  138. package/dist/FileLoader/index.js +0 -8
  139. package/dist/Forms/FormDefault/componentTypes.js +0 -31
  140. package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
  141. package/dist/Forms/helpers/renderFormFields.js +0 -7
  142. package/dist/Forms/model/requestForm.js +0 -4
  143. package/dist/index-6686852d.js +0 -1794
  144. package/dist/index-a0ed2e4a.js +0 -1221
  145. package/dist/info-d05a1f02.js +0 -1547
  146. package/dist/navigation-b894d0cd.js +0 -183
  147. /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
@@ -1,15 +1,15 @@
1
- import A, { forwardRef as ye, useState as X, useRef as k, useEffect as ce, useLayoutEffect as He, createContext as Pe } from "react";
2
- function he(t) {
1
+ import A, { forwardRef as Ee, useState as q, useRef as R, useEffect as oe, useLayoutEffect as ke, createContext as ye } from "react";
2
+ function me(t) {
3
3
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
4
4
  }
5
- function pe(t, e) {
5
+ function ue(t, e) {
6
6
  t === void 0 && (t = {}), e === void 0 && (e = {});
7
7
  const i = ["__proto__", "constructor", "prototype"];
8
8
  Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
9
- typeof t[s] > "u" ? t[s] = e[s] : he(e[s]) && he(t[s]) && Object.keys(e[s]).length > 0 && pe(t[s], e[s]);
9
+ typeof t[s] > "u" ? t[s] = e[s] : me(e[s]) && me(t[s]) && Object.keys(e[s]).length > 0 && ue(t[s], e[s]);
10
10
  });
11
11
  }
12
- const Ce = {
12
+ const Pe = {
13
13
  body: {},
14
14
  addEventListener() {
15
15
  },
@@ -64,12 +64,12 @@ const Ce = {
64
64
  search: ""
65
65
  }
66
66
  };
67
- function q() {
67
+ function j() {
68
68
  const t = typeof document < "u" ? document : {};
69
- return pe(t, Ce), t;
69
+ return ue(t, Pe), t;
70
70
  }
71
- const We = {
72
- document: Ce,
71
+ const He = {
72
+ document: Pe,
73
73
  navigator: {
74
74
  userAgent: ""
75
75
  },
@@ -126,14 +126,14 @@ const We = {
126
126
  typeof setTimeout > "u" || clearTimeout(t);
127
127
  }
128
128
  };
129
- function D() {
129
+ function V() {
130
130
  const t = typeof window < "u" ? window : {};
131
- return pe(t, We), t;
131
+ return ue(t, He), t;
132
132
  }
133
- function je(t) {
133
+ function We(t) {
134
134
  return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
135
135
  }
136
- function qe(t) {
136
+ function je(t) {
137
137
  const e = t;
138
138
  Object.keys(e).forEach((i) => {
139
139
  try {
@@ -149,64 +149,64 @@ function qe(t) {
149
149
  function Me(t, e) {
150
150
  return e === void 0 && (e = 0), setTimeout(t, e);
151
151
  }
152
- function J() {
152
+ function Z() {
153
153
  return Date.now();
154
154
  }
155
155
  function Ye(t) {
156
- const e = D();
156
+ const e = V();
157
157
  let i;
158
158
  return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
159
159
  }
160
- function Xe(t, e) {
160
+ function qe(t, e) {
161
161
  e === void 0 && (e = "x");
162
- const i = D();
162
+ const i = V();
163
163
  let s, n, r;
164
164
  const l = Ye(t);
165
165
  return i.WebKitCSSMatrix ? (n = l.transform || l.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map((a) => a.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(n === "none" ? "" : n)) : (r = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), s = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? n = r.m41 : s.length === 16 ? n = parseFloat(s[12]) : n = parseFloat(s[4])), e === "y" && (i.WebKitCSSMatrix ? n = r.m42 : s.length === 16 ? n = parseFloat(s[13]) : n = parseFloat(s[5])), n || 0;
166
166
  }
167
- function K(t) {
167
+ function U(t) {
168
168
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
169
169
  }
170
- function Ue(t) {
170
+ function Xe(t) {
171
171
  return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
172
172
  }
173
- function V() {
173
+ function D() {
174
174
  const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
175
175
  for (let i = 1; i < arguments.length; i += 1) {
176
176
  const s = i < 0 || arguments.length <= i ? void 0 : arguments[i];
177
- if (s != null && !Ue(s)) {
177
+ if (s != null && !Xe(s)) {
178
178
  const n = Object.keys(Object(s)).filter((r) => e.indexOf(r) < 0);
179
179
  for (let r = 0, l = n.length; r < l; r += 1) {
180
180
  const a = n[r], o = Object.getOwnPropertyDescriptor(s, a);
181
- o !== void 0 && o.enumerable && (K(t[a]) && K(s[a]) ? s[a].__swiper__ ? t[a] = s[a] : V(t[a], s[a]) : !K(t[a]) && K(s[a]) ? (t[a] = {}, s[a].__swiper__ ? t[a] = s[a] : V(t[a], s[a])) : t[a] = s[a]);
181
+ o !== void 0 && o.enumerable && (U(t[a]) && U(s[a]) ? s[a].__swiper__ ? t[a] = s[a] : D(t[a], s[a]) : !U(t[a]) && U(s[a]) ? (t[a] = {}, s[a].__swiper__ ? t[a] = s[a] : D(t[a], s[a])) : t[a] = s[a]);
182
182
  }
183
183
  }
184
184
  }
185
185
  return t;
186
186
  }
187
- function Q(t, e, i) {
187
+ function K(t, e, i) {
188
188
  t.style.setProperty(e, i);
189
189
  }
190
- function Ie(t) {
190
+ function Ce(t) {
191
191
  let {
192
192
  swiper: e,
193
193
  targetPosition: i,
194
194
  side: s
195
195
  } = t;
196
- const n = D(), r = -e.translate;
196
+ const n = V(), r = -e.translate;
197
197
  let l = null, a;
198
198
  const o = e.params.speed;
199
199
  e.wrapperEl.style.scrollSnapType = "none", n.cancelAnimationFrame(e.cssModeFrameID);
200
- const d = i > r ? "next" : "prev", c = (m, h) => d === "next" && m >= h || d === "prev" && m <= h, f = () => {
200
+ const d = i > r ? "next" : "prev", c = (u, m) => d === "next" && u >= m || d === "prev" && u <= m, 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 u = r + h * (i - r);
204
- if (c(u, i) && (u = i), e.wrapperEl.scrollTo({
205
- [s]: u
206
- }), c(u, i)) {
202
+ const u = Math.max(Math.min((a - l) / o, 1), 0), m = 0.5 - Math.cos(u * Math.PI) / 2;
203
+ let p = r + m * (i - r);
204
+ if (c(p, i) && (p = i), e.wrapperEl.scrollTo({
205
+ [s]: p
206
+ }), c(p, i)) {
207
207
  e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
208
208
  e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
209
- [s]: u
209
+ [s]: p
210
210
  });
211
211
  }), n.cancelAnimationFrame(e.cssModeFrameID);
212
212
  return;
@@ -215,12 +215,12 @@ function Ie(t) {
215
215
  };
216
216
  f();
217
217
  }
218
- function R(t, e) {
218
+ function k(t, e) {
219
219
  e === void 0 && (e = "");
220
- const i = D(), s = [...t.children];
220
+ const i = V(), s = [...t.children];
221
221
  return i.HTMLSlotElement && t instanceof HTMLSlotElement && s.push(...t.assignedElements()), e ? s.filter((n) => n.matches(e)) : s;
222
222
  }
223
- function Ke(t, e) {
223
+ function Ue(t, e) {
224
224
  const i = [e];
225
225
  for (; i.length > 0; ) {
226
226
  const s = i.shift();
@@ -229,24 +229,24 @@ function Ke(t, e) {
229
229
  i.push(...s.children, ...s.shadowRoot ? s.shadowRoot.children : [], ...s.assignedElements ? s.assignedElements() : []);
230
230
  }
231
231
  }
232
- function Qe(t, e) {
233
- const i = D();
232
+ function Ke(t, e) {
233
+ const i = V();
234
234
  let s = e.contains(t);
235
- return !s && i.HTMLSlotElement && e instanceof HTMLSlotElement && (s = [...e.assignedElements()].includes(t), s || (s = Ke(t, e))), s;
235
+ return !s && i.HTMLSlotElement && e instanceof HTMLSlotElement && (s = [...e.assignedElements()].includes(t), s || (s = Ue(t, e))), s;
236
236
  }
237
- function ee(t) {
237
+ function J(t) {
238
238
  try {
239
239
  console.warn(t);
240
240
  return;
241
241
  } catch {
242
242
  }
243
243
  }
244
- function te(t, e) {
244
+ function de(t, e) {
245
245
  e === void 0 && (e = []);
246
246
  const i = document.createElement(t);
247
- return i.classList.add(...Array.isArray(e) ? e : je(e)), i;
247
+ return i.classList.add(...Array.isArray(e) ? e : We(e)), i;
248
248
  }
249
- function Ze(t, e) {
249
+ function Qe(t, e) {
250
250
  const i = [];
251
251
  for (; t.previousElementSibling; ) {
252
252
  const s = t.previousElementSibling;
@@ -254,7 +254,7 @@ function Ze(t, e) {
254
254
  }
255
255
  return i;
256
256
  }
257
- function Je(t, e) {
257
+ function Ze(t, e) {
258
258
  const i = [];
259
259
  for (; t.nextElementSibling; ) {
260
260
  const s = t.nextElementSibling;
@@ -262,10 +262,10 @@ function Je(t, e) {
262
262
  }
263
263
  return i;
264
264
  }
265
- function W(t, e) {
266
- return D().getComputedStyle(t, null).getPropertyValue(e);
265
+ function H(t, e) {
266
+ return V().getComputedStyle(t, null).getPropertyValue(e);
267
267
  }
268
- function ge(t) {
268
+ function he(t) {
269
269
  let e = t, i;
270
270
  if (e) {
271
271
  for (i = 0; (e = e.previousSibling) !== null; )
@@ -273,57 +273,57 @@ function ge(t) {
273
273
  return i;
274
274
  }
275
275
  }
276
- function et(t, e) {
276
+ function Je(t, e) {
277
277
  const i = [];
278
278
  let s = t.parentElement;
279
279
  for (; s; )
280
280
  e ? s.matches(e) && i.push(s) : i.push(s), s = s.parentElement;
281
281
  return i;
282
282
  }
283
- function ve(t, e, i) {
284
- const s = D();
283
+ function ge(t, e, i) {
284
+ const s = V();
285
285
  return i ? t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom")) : t.offsetWidth;
286
286
  }
287
- function $(t) {
287
+ function bi(t) {
288
288
  return (Array.isArray(t) ? t : [t]).filter((e) => !!e);
289
289
  }
290
- function we(t, e) {
290
+ function ve(t, e) {
291
291
  e === void 0 && (e = ""), typeof trustedTypes < "u" ? t.innerHTML = trustedTypes.createPolicy("html", {
292
292
  createHTML: (i) => i
293
293
  }).createHTML(e) : t.innerHTML = e;
294
294
  }
295
- let se;
296
- function tt() {
297
- const t = D(), e = q();
295
+ let te;
296
+ function et() {
297
+ const t = V(), e = j();
298
298
  return {
299
299
  smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
300
300
  touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
301
301
  };
302
302
  }
303
- function Le() {
304
- return se || (se = tt()), se;
303
+ function Ie() {
304
+ return te || (te = et()), te;
305
305
  }
306
- let re;
307
- function it(t) {
306
+ let ie;
307
+ function tt(t) {
308
308
  let {
309
309
  userAgent: e
310
310
  } = t === void 0 ? {} : t;
311
- const i = Le(), s = D(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
311
+ const i = Ie(), s = V(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
312
312
  ios: !1,
313
313
  android: !1
314
314
  }, a = s.screen.width, o = s.screen.height, d = r.match(/(Android);?[\s\/]+([\d.]+)?/);
315
315
  let c = r.match(/(iPad).*OS\s([\d_]+)/);
316
- const f = r.match(/(iPod)(.*OS\s([\d_]+))?/), m = !c && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), h = n === "Win32";
317
- let u = n === "MacIntel";
318
- const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
319
- return !c && u && i.touch && g.indexOf(`${a}x${o}`) >= 0 && (c = r.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), u = !1), d && !h && (l.os = "android", l.android = !0), (c || m || f) && (l.os = "ios", l.ios = !0), l;
316
+ const f = r.match(/(iPod)(.*OS\s([\d_]+))?/), u = !c && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), m = n === "Win32";
317
+ let p = n === "MacIntel";
318
+ const v = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
319
+ return !c && p && i.touch && v.indexOf(`${a}x${o}`) >= 0 && (c = r.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), p = !1), d && !m && (l.os = "android", l.android = !0), (c || u || f) && (l.os = "ios", l.ios = !0), l;
320
320
  }
321
321
  function Oe(t) {
322
- return t === void 0 && (t = {}), re || (re = it(t)), re;
322
+ return t === void 0 && (t = {}), ie || (ie = tt(t)), ie;
323
323
  }
324
- let ne;
325
- function st() {
326
- const t = D(), e = Oe();
324
+ let se;
325
+ function it() {
326
+ const t = V(), e = Oe();
327
327
  let i = !1;
328
328
  function s() {
329
329
  const a = t.navigator.userAgent.toLowerCase();
@@ -344,16 +344,16 @@ function st() {
344
344
  isWebView: n
345
345
  };
346
346
  }
347
- function ze() {
348
- return ne || (ne = st()), ne;
347
+ function Le() {
348
+ return se || (se = it()), se;
349
349
  }
350
- function rt(t) {
350
+ function st(t) {
351
351
  let {
352
352
  swiper: e,
353
353
  on: i,
354
354
  emit: s
355
355
  } = t;
356
- const n = D();
356
+ const n = V();
357
357
  let r = null, l = null;
358
358
  const a = () => {
359
359
  !e || e.destroyed || !e.initialized || (s("beforeResize"), s("resize"));
@@ -361,18 +361,18 @@ function rt(t) {
361
361
  !e || e.destroyed || !e.initialized || (r = new ResizeObserver((f) => {
362
362
  l = n.requestAnimationFrame(() => {
363
363
  const {
364
- width: m,
365
- height: h
364
+ width: u,
365
+ height: m
366
366
  } = e;
367
- let u = m, g = h;
368
- f.forEach((S) => {
367
+ let p = u, v = m;
368
+ f.forEach((M) => {
369
369
  let {
370
- contentBoxSize: p,
371
- contentRect: v,
372
- target: w
373
- } = S;
374
- w && w !== e.el || (u = v ? v.width : (p[0] || p).inlineSize, g = v ? v.height : (p[0] || p).blockSize);
375
- }), (u !== m || g !== h) && a();
370
+ contentBoxSize: h,
371
+ contentRect: S,
372
+ target: g
373
+ } = M;
374
+ g && g !== e.el || (p = S ? S.width : (h[0] || h).inlineSize, v = S ? S.height : (h[0] || h).blockSize);
375
+ }), (p !== u || v !== m) && a();
376
376
  });
377
377
  }), r.observe(e.el));
378
378
  }, d = () => {
@@ -390,36 +390,36 @@ function rt(t) {
390
390
  d(), n.removeEventListener("resize", a), n.removeEventListener("orientationchange", c);
391
391
  });
392
392
  }
393
- function nt(t) {
393
+ function rt(t) {
394
394
  let {
395
395
  swiper: e,
396
396
  extendParams: i,
397
397
  on: s,
398
398
  emit: n
399
399
  } = t;
400
- const r = [], l = D(), a = function(c, f) {
400
+ const r = [], l = V(), a = function(c, f) {
401
401
  f === void 0 && (f = {});
402
- const m = l.MutationObserver || l.WebkitMutationObserver, h = new m((u) => {
402
+ const u = l.MutationObserver || l.WebkitMutationObserver, m = new u((p) => {
403
403
  if (e.__preventObserver__)
404
404
  return;
405
- if (u.length === 1) {
406
- n("observerUpdate", u[0]);
405
+ if (p.length === 1) {
406
+ n("observerUpdate", p[0]);
407
407
  return;
408
408
  }
409
- const g = function() {
410
- n("observerUpdate", u[0]);
409
+ const v = function() {
410
+ n("observerUpdate", p[0]);
411
411
  };
412
- l.requestAnimationFrame ? l.requestAnimationFrame(g) : l.setTimeout(g, 0);
412
+ l.requestAnimationFrame ? l.requestAnimationFrame(v) : l.setTimeout(v, 0);
413
413
  });
414
- h.observe(c, {
414
+ m.observe(c, {
415
415
  attributes: typeof f.attributes > "u" ? !0 : f.attributes,
416
416
  childList: e.isElement || (typeof f.childList > "u" ? !0 : f).childList,
417
417
  characterData: typeof f.characterData > "u" ? !0 : f.characterData
418
- }), r.push(h);
418
+ }), r.push(m);
419
419
  }, o = () => {
420
420
  if (e.params.observer) {
421
421
  if (e.params.observeParents) {
422
- const c = et(e.hostEl);
422
+ const c = Je(e.hostEl);
423
423
  for (let f = 0; f < c.length; f += 1)
424
424
  a(c[f]);
425
425
  }
@@ -440,7 +440,7 @@ function nt(t) {
440
440
  observeSlideChildren: !1
441
441
  }), s("init", o), s("destroy", d);
442
442
  }
443
- var at = {
443
+ var nt = {
444
444
  on(t, e, i) {
445
445
  const s = this;
446
446
  if (!s.eventsListeners || s.destroyed || typeof e != "function")
@@ -500,20 +500,20 @@ var at = {
500
500
  }), t;
501
501
  }
502
502
  };
503
- function lt() {
503
+ function at() {
504
504
  const t = this;
505
505
  let e, i;
506
506
  const s = t.el;
507
- typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = s.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = s.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(W(s, "padding-left") || 0, 10) - parseInt(W(s, "padding-right") || 0, 10), i = i - parseInt(W(s, "padding-top") || 0, 10) - parseInt(W(s, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
507
+ typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = s.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = s.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(H(s, "padding-left") || 0, 10) - parseInt(H(s, "padding-right") || 0, 10), i = i - parseInt(H(s, "padding-top") || 0, 10) - parseInt(H(s, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
508
508
  width: e,
509
509
  height: i,
510
510
  size: t.isHorizontal() ? e : i
511
511
  }));
512
512
  }
513
- function ot() {
513
+ function lt() {
514
514
  const t = this;
515
- function e(T, y) {
516
- return parseFloat(T.getPropertyValue(t.getDirectionLabel(y)) || 0);
515
+ function e(w, x) {
516
+ return parseFloat(w.getPropertyValue(t.getDirectionLabel(x)) || 0);
517
517
  }
518
518
  const i = t.params, {
519
519
  wrapperEl: s,
@@ -521,114 +521,114 @@ function ot() {
521
521
  size: r,
522
522
  rtlTranslate: l,
523
523
  wrongRTL: a
524
- } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, c = R(n, `.${t.params.slideClass}, swiper-slide`), f = o ? t.virtual.slides.length : c.length;
525
- let m = [];
526
- const h = [], u = [];
527
- let g = i.slidesOffsetBefore;
528
- typeof g == "function" && (g = i.slidesOffsetBefore.call(t));
529
- let S = i.slidesOffsetAfter;
530
- typeof S == "function" && (S = i.slidesOffsetAfter.call(t));
531
- const p = t.snapGrid.length, v = t.slidesGrid.length;
532
- let w = i.spaceBetween, x = -g, b = 0, C = 0;
524
+ } = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, c = k(n, `.${t.params.slideClass}, swiper-slide`), f = o ? t.virtual.slides.length : c.length;
525
+ let u = [];
526
+ const m = [], p = [];
527
+ let v = i.slidesOffsetBefore;
528
+ typeof v == "function" && (v = i.slidesOffsetBefore.call(t));
529
+ let M = i.slidesOffsetAfter;
530
+ typeof M == "function" && (M = i.slidesOffsetAfter.call(t));
531
+ const h = t.snapGrid.length, S = t.slidesGrid.length;
532
+ let g = i.spaceBetween, E = -v, b = 0, P = 0;
533
533
  if (typeof r > "u")
534
534
  return;
535
- typeof w == "string" && w.indexOf("%") >= 0 ? w = parseFloat(w.replace("%", "")) / 100 * r : typeof w == "string" && (w = parseFloat(w)), t.virtualSize = -w, c.forEach((T) => {
536
- l ? T.style.marginLeft = "" : T.style.marginRight = "", T.style.marginBottom = "", T.style.marginTop = "";
537
- }), i.centeredSlides && i.cssMode && (Q(s, "--swiper-centered-offset-before", ""), Q(s, "--swiper-centered-offset-after", ""));
538
- const M = i.grid && i.grid.rows > 1 && t.grid;
539
- M ? t.grid.initSlides(c) : t.grid && t.grid.unsetSlides();
540
- let P;
541
- const E = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((T) => typeof i.breakpoints[T].slidesPerView < "u").length > 0;
542
- for (let T = 0; T < f; T += 1) {
543
- P = 0;
544
- let y;
545
- if (c[T] && (y = c[T]), M && t.grid.updateSlide(T, y, c), !(c[T] && W(y, "display") === "none")) {
535
+ typeof g == "string" && g.indexOf("%") >= 0 ? g = parseFloat(g.replace("%", "")) / 100 * r : typeof g == "string" && (g = parseFloat(g)), t.virtualSize = -g, c.forEach((w) => {
536
+ l ? w.style.marginLeft = "" : w.style.marginRight = "", w.style.marginBottom = "", w.style.marginTop = "";
537
+ }), i.centeredSlides && i.cssMode && (K(s, "--swiper-centered-offset-before", ""), K(s, "--swiper-centered-offset-after", ""));
538
+ const C = i.grid && i.grid.rows > 1 && t.grid;
539
+ C ? t.grid.initSlides(c) : t.grid && t.grid.unsetSlides();
540
+ let y;
541
+ const T = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((w) => typeof i.breakpoints[w].slidesPerView < "u").length > 0;
542
+ for (let w = 0; w < f; w += 1) {
543
+ y = 0;
544
+ let x;
545
+ if (c[w] && (x = c[w]), C && t.grid.updateSlide(w, x, c), !(c[w] && H(x, "display") === "none")) {
546
546
  if (i.slidesPerView === "auto") {
547
- E && (c[T].style[t.getDirectionLabel("width")] = "");
548
- const I = getComputedStyle(y), z = y.style.transform, B = y.style.webkitTransform;
549
- if (z && (y.style.transform = "none"), B && (y.style.webkitTransform = "none"), i.roundLengths)
550
- P = t.isHorizontal() ? ve(y, "width", !0) : ve(y, "height", !0);
547
+ T && (c[w].style[t.getDirectionLabel("width")] = "");
548
+ const I = getComputedStyle(x), z = x.style.transform, B = x.style.webkitTransform;
549
+ if (z && (x.style.transform = "none"), B && (x.style.webkitTransform = "none"), i.roundLengths)
550
+ y = t.isHorizontal() ? ge(x, "width", !0) : ge(x, "height", !0);
551
551
  else {
552
- const N = e(I, "width"), L = e(I, "padding-left"), _ = e(I, "padding-right"), G = e(I, "margin-left"), O = e(I, "margin-right"), F = I.getPropertyValue("box-sizing");
552
+ const N = e(I, "width"), O = e(I, "padding-left"), _ = e(I, "padding-right"), G = e(I, "margin-left"), L = e(I, "margin-right"), F = I.getPropertyValue("box-sizing");
553
553
  if (F && F === "border-box")
554
- P = N + G + O;
554
+ y = N + G + L;
555
555
  else {
556
556
  const {
557
557
  clientWidth: Re,
558
558
  offsetWidth: $e
559
- } = y;
560
- P = N + L + _ + G + O + ($e - Re);
559
+ } = x;
560
+ y = N + O + _ + G + L + ($e - Re);
561
561
  }
562
562
  }
563
- z && (y.style.transform = z), B && (y.style.webkitTransform = B), i.roundLengths && (P = Math.floor(P));
563
+ z && (x.style.transform = z), B && (x.style.webkitTransform = B), i.roundLengths && (y = Math.floor(y));
564
564
  } else
565
- P = (r - (i.slidesPerView - 1) * w) / i.slidesPerView, i.roundLengths && (P = Math.floor(P)), c[T] && (c[T].style[t.getDirectionLabel("width")] = `${P}px`);
566
- c[T] && (c[T].swiperSlideSize = P), u.push(P), i.centeredSlides ? (x = x + P / 2 + b / 2 + w, b === 0 && T !== 0 && (x = x - r / 2 - w), T === 0 && (x = x - r / 2 - w), Math.abs(x) < 1 / 1e3 && (x = 0), i.roundLengths && (x = Math.floor(x)), C % i.slidesPerGroup === 0 && m.push(x), h.push(x)) : (i.roundLengths && (x = Math.floor(x)), (C - Math.min(t.params.slidesPerGroupSkip, C)) % t.params.slidesPerGroup === 0 && m.push(x), h.push(x), x = x + P + w), t.virtualSize += P + w, b = P, C += 1;
565
+ y = (r - (i.slidesPerView - 1) * g) / i.slidesPerView, i.roundLengths && (y = Math.floor(y)), c[w] && (c[w].style[t.getDirectionLabel("width")] = `${y}px`);
566
+ c[w] && (c[w].swiperSlideSize = y), p.push(y), i.centeredSlides ? (E = E + y / 2 + b / 2 + g, b === 0 && w !== 0 && (E = E - r / 2 - g), w === 0 && (E = E - r / 2 - g), Math.abs(E) < 1 / 1e3 && (E = 0), i.roundLengths && (E = Math.floor(E)), P % i.slidesPerGroup === 0 && u.push(E), m.push(E)) : (i.roundLengths && (E = Math.floor(E)), (P - Math.min(t.params.slidesPerGroupSkip, P)) % t.params.slidesPerGroup === 0 && u.push(E), m.push(E), E = E + y + g), t.virtualSize += y + g, b = y, P += 1;
567
567
  }
568
568
  }
569
- if (t.virtualSize = Math.max(t.virtualSize, r) + S, l && a && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + w}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + w}px`), M && t.grid.updateWrapperSize(P, m), !i.centeredSlides) {
570
- const T = [];
571
- for (let y = 0; y < m.length; y += 1) {
572
- let I = m[y];
573
- i.roundLengths && (I = Math.floor(I)), m[y] <= t.virtualSize - r && T.push(I);
569
+ if (t.virtualSize = Math.max(t.virtualSize, r) + M, l && a && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + g}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + g}px`), C && t.grid.updateWrapperSize(y, u), !i.centeredSlides) {
570
+ const w = [];
571
+ for (let x = 0; x < u.length; x += 1) {
572
+ let I = u[x];
573
+ i.roundLengths && (I = Math.floor(I)), u[x] <= t.virtualSize - r && w.push(I);
574
574
  }
575
- m = T, Math.floor(t.virtualSize - r) - Math.floor(m[m.length - 1]) > 1 && m.push(t.virtualSize - r);
575
+ u = w, Math.floor(t.virtualSize - r) - Math.floor(u[u.length - 1]) > 1 && u.push(t.virtualSize - r);
576
576
  }
577
577
  if (o && i.loop) {
578
- const T = u[0] + w;
578
+ const w = p[0] + g;
579
579
  if (i.slidesPerGroup > 1) {
580
- const y = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), I = T * i.slidesPerGroup;
581
- for (let z = 0; z < y; z += 1)
582
- m.push(m[m.length - 1] + I);
580
+ const x = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), I = w * i.slidesPerGroup;
581
+ for (let z = 0; z < x; z += 1)
582
+ u.push(u[u.length - 1] + I);
583
583
  }
584
- for (let y = 0; y < t.virtual.slidesBefore + t.virtual.slidesAfter; y += 1)
585
- i.slidesPerGroup === 1 && m.push(m[m.length - 1] + T), h.push(h[h.length - 1] + T), t.virtualSize += T;
584
+ for (let x = 0; x < t.virtual.slidesBefore + t.virtual.slidesAfter; x += 1)
585
+ i.slidesPerGroup === 1 && u.push(u[u.length - 1] + w), m.push(m[m.length - 1] + w), t.virtualSize += w;
586
586
  }
587
- if (m.length === 0 && (m = [0]), w !== 0) {
588
- const T = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
589
- c.filter((y, I) => !i.cssMode || i.loop ? !0 : I !== c.length - 1).forEach((y) => {
590
- y.style[T] = `${w}px`;
587
+ if (u.length === 0 && (u = [0]), g !== 0) {
588
+ const w = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
589
+ c.filter((x, I) => !i.cssMode || i.loop ? !0 : I !== c.length - 1).forEach((x) => {
590
+ x.style[w] = `${g}px`;
591
591
  });
592
592
  }
593
593
  if (i.centeredSlides && i.centeredSlidesBounds) {
594
- let T = 0;
595
- u.forEach((I) => {
596
- T += I + (w || 0);
597
- }), T -= w;
598
- const y = T > r ? T - r : 0;
599
- m = m.map((I) => I <= 0 ? -g : I > y ? y + S : I);
594
+ let w = 0;
595
+ p.forEach((I) => {
596
+ w += I + (g || 0);
597
+ }), w -= g;
598
+ const x = w > r ? w - r : 0;
599
+ u = u.map((I) => I <= 0 ? -v : I > x ? x + M : I);
600
600
  }
601
601
  if (i.centerInsufficientSlides) {
602
- let T = 0;
603
- u.forEach((I) => {
604
- T += I + (w || 0);
605
- }), T -= w;
606
- const y = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
607
- if (T + y < r) {
608
- const I = (r - T - y) / 2;
609
- m.forEach((z, B) => {
610
- m[B] = z - I;
611
- }), h.forEach((z, B) => {
612
- h[B] = z + I;
602
+ let w = 0;
603
+ p.forEach((I) => {
604
+ w += I + (g || 0);
605
+ }), w -= g;
606
+ const x = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
607
+ if (w + x < r) {
608
+ const I = (r - w - x) / 2;
609
+ u.forEach((z, B) => {
610
+ u[B] = z - I;
611
+ }), m.forEach((z, B) => {
612
+ m[B] = z + I;
613
613
  });
614
614
  }
615
615
  }
616
616
  if (Object.assign(t, {
617
617
  slides: c,
618
- snapGrid: m,
619
- slidesGrid: h,
620
- slidesSizesGrid: u
618
+ snapGrid: u,
619
+ slidesGrid: m,
620
+ slidesSizesGrid: p
621
621
  }), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
622
- Q(s, "--swiper-centered-offset-before", `${-m[0]}px`), Q(s, "--swiper-centered-offset-after", `${t.size / 2 - u[u.length - 1] / 2}px`);
623
- const T = -t.snapGrid[0], y = -t.slidesGrid[0];
624
- t.snapGrid = t.snapGrid.map((I) => I + T), t.slidesGrid = t.slidesGrid.map((I) => I + y);
622
+ K(s, "--swiper-centered-offset-before", `${-u[0]}px`), K(s, "--swiper-centered-offset-after", `${t.size / 2 - p[p.length - 1] / 2}px`);
623
+ const w = -t.snapGrid[0], x = -t.slidesGrid[0];
624
+ t.snapGrid = t.snapGrid.map((I) => I + w), t.slidesGrid = t.slidesGrid.map((I) => I + x);
625
625
  }
626
- if (f !== d && t.emit("slidesLengthChange"), m.length !== p && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), h.length !== v && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
627
- const T = `${i.containerModifierClass}backface-hidden`, y = t.el.classList.contains(T);
628
- f <= i.maxBackfaceHiddenSlides ? y || t.el.classList.add(T) : y && t.el.classList.remove(T);
626
+ if (f !== d && t.emit("slidesLengthChange"), u.length !== h && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), m.length !== S && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !o && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
627
+ const w = `${i.containerModifierClass}backface-hidden`, x = t.el.classList.contains(w);
628
+ f <= i.maxBackfaceHiddenSlides ? x || t.el.classList.add(w) : x && t.el.classList.remove(w);
629
629
  }
630
630
  }
631
- function dt(t) {
631
+ function ot(t) {
632
632
  const e = this, i = [], s = e.virtual && e.params.virtual.enabled;
633
633
  let n = 0, r;
634
634
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
@@ -654,15 +654,15 @@ function dt(t) {
654
654
  }
655
655
  (n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
656
656
  }
657
- function ct() {
657
+ function dt() {
658
658
  const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
659
659
  for (let s = 0; s < e.length; s += 1)
660
660
  e[s].swiperSlideOffset = (t.isHorizontal() ? e[s].offsetLeft : e[s].offsetTop) - i - t.cssOverflowAdjustment();
661
661
  }
662
- const Se = (t, e, i) => {
662
+ const we = (t, e, i) => {
663
663
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
664
664
  };
665
- function ft(t) {
665
+ function ct(t) {
666
666
  t === void 0 && (t = this && this.translate || 0);
667
667
  const e = this, i = e.params, {
668
668
  slides: s,
@@ -680,11 +680,11 @@ function ft(t) {
680
680
  const d = s[o];
681
681
  let c = d.swiperSlideOffset;
682
682
  i.cssMode && i.centeredSlides && (c -= s[0].swiperSlideOffset);
683
- const f = (l + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), m = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), h = -(l - c), u = h + e.slidesSizesGrid[o], g = h >= 0 && h <= e.size - e.slidesSizesGrid[o], S = h >= 0 && h < e.size - 1 || u > 1 && u <= e.size || h <= 0 && u >= e.size;
684
- S && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), Se(d, S, i.slideVisibleClass), Se(d, g, i.slideFullyVisibleClass), d.progress = n ? -f : f, d.originalProgress = n ? -m : m;
683
+ const f = (l + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), u = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), m = -(l - c), p = m + e.slidesSizesGrid[o], v = m >= 0 && m <= e.size - e.slidesSizesGrid[o], M = m >= 0 && m < e.size - 1 || p > 1 && p <= e.size || m <= 0 && p >= e.size;
684
+ M && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), we(d, M, i.slideVisibleClass), we(d, v, i.slideFullyVisibleClass), d.progress = n ? -f : f, d.originalProgress = n ? -u : u;
685
685
  }
686
686
  }
687
- function ut(t) {
687
+ function ft(t) {
688
688
  const e = this;
689
689
  if (typeof t > "u") {
690
690
  const c = e.rtlTranslate ? -1 : 1;
@@ -706,8 +706,8 @@ function ut(t) {
706
706
  r = c || n <= 0, l = f || n >= 1, c && (n = 0), f && (n = 1);
707
707
  }
708
708
  if (i.loop) {
709
- const c = e.getSlideIndexByData(0), f = e.getSlideIndexByData(e.slides.length - 1), m = e.slidesGrid[c], h = e.slidesGrid[f], u = e.slidesGrid[e.slidesGrid.length - 1], g = Math.abs(t);
710
- g >= m ? a = (g - m) / u : a = (g + u - h) / u, a > 1 && (a -= 1);
709
+ const c = e.getSlideIndexByData(0), f = e.getSlideIndexByData(e.slides.length - 1), u = e.slidesGrid[c], m = e.slidesGrid[f], p = e.slidesGrid[e.slidesGrid.length - 1], v = Math.abs(t);
710
+ v >= u ? a = (v - u) / p : a = (v + p - m) / p, a > 1 && (a -= 1);
711
711
  }
712
712
  Object.assign(e, {
713
713
  progress: n,
@@ -716,16 +716,16 @@ function ut(t) {
716
716
  isEnd: l
717
717
  }), (i.watchSlidesProgress || i.centeredSlides && i.autoHeight) && e.updateSlidesProgress(t), r && !o && e.emit("reachBeginning toEdge"), l && !d && e.emit("reachEnd toEdge"), (o && !r || d && !l) && e.emit("fromEdge"), e.emit("progress", n);
718
718
  }
719
- const ae = (t, e, i) => {
719
+ const re = (t, e, i) => {
720
720
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
721
721
  };
722
- function pt() {
722
+ function ut() {
723
723
  const t = this, {
724
724
  slides: e,
725
725
  params: i,
726
726
  slidesEl: s,
727
727
  activeIndex: n
728
- } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (f) => R(s, `.${i.slideClass}${f}, swiper-slide${f}`)[0];
728
+ } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (f) => k(s, `.${i.slideClass}${f}, swiper-slide${f}`)[0];
729
729
  let o, d, c;
730
730
  if (r)
731
731
  if (i.loop) {
@@ -735,11 +735,11 @@ function pt() {
735
735
  o = a(`[data-swiper-slide-index="${n}"]`);
736
736
  else
737
737
  l ? (o = e.find((f) => f.column === n), c = e.find((f) => f.column === n + 1), d = e.find((f) => f.column === n - 1)) : o = e[n];
738
- o && (l || (c = Je(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !c && (c = e[0]), d = Ze(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((f) => {
739
- ae(f, f === o, i.slideActiveClass), ae(f, f === c, i.slideNextClass), ae(f, f === d, i.slidePrevClass);
738
+ o && (l || (c = Ze(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !c && (c = e[0]), d = Qe(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((f) => {
739
+ re(f, f === o, i.slideActiveClass), re(f, f === c, i.slideNextClass), re(f, f === d, i.slidePrevClass);
740
740
  }), t.emitSlidesClasses();
741
741
  }
742
- const Z = (t, e) => {
742
+ const Q = (t, e) => {
743
743
  if (!t || t.destroyed || !t.params)
744
744
  return;
745
745
  const i = () => t.isElement ? "swiper-slide" : `.${t.params.slideClass}`, s = e.closest(i());
@@ -749,12 +749,12 @@ const Z = (t, e) => {
749
749
  s.shadowRoot && (n = s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`), n && n.remove());
750
750
  })), n && n.remove();
751
751
  }
752
- }, le = (t, e) => {
752
+ }, ne = (t, e) => {
753
753
  if (!t.slides[e])
754
754
  return;
755
755
  const i = t.slides[e].querySelector('[loading="lazy"]');
756
756
  i && i.removeAttribute("loading");
757
- }, fe = (t) => {
757
+ }, ce = (t) => {
758
758
  if (!t || t.destroyed || !t.params)
759
759
  return;
760
760
  let e = t.params.lazyPreloadPrevNext;
@@ -768,7 +768,7 @@ const Z = (t, e) => {
768
768
  a.push(...Array.from({
769
769
  length: e
770
770
  }).map((o, d) => l + s + d)), t.slides.forEach((o, d) => {
771
- a.includes(o.column) && le(t, d);
771
+ a.includes(o.column) && ne(t, d);
772
772
  });
773
773
  return;
774
774
  }
@@ -776,13 +776,13 @@ const Z = (t, e) => {
776
776
  if (t.params.rewind || t.params.loop)
777
777
  for (let l = n - e; l <= r + e; l += 1) {
778
778
  const a = (l % i + i) % i;
779
- (a < n || a > r) && le(t, a);
779
+ (a < n || a > r) && ne(t, a);
780
780
  }
781
781
  else
782
782
  for (let l = Math.max(n - e, 0); l <= Math.min(r + e, i - 1); l += 1)
783
- l !== n && (l > r || l < n) && le(t, l);
783
+ l !== n && (l > r || l < n) && ne(t, l);
784
784
  };
785
- function mt(t) {
785
+ function pt(t) {
786
786
  const {
787
787
  slidesGrid: e,
788
788
  params: i
@@ -792,7 +792,7 @@ function mt(t) {
792
792
  typeof e[r + 1] < "u" ? s >= e[r] && s < e[r + 1] - (e[r + 1] - e[r]) / 2 ? n = r : s >= e[r] && s < e[r + 1] && (n = r + 1) : s >= e[r] && (n = r);
793
793
  return i.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
794
794
  }
795
- function ht(t) {
795
+ function mt(t) {
796
796
  const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
797
797
  snapGrid: s,
798
798
  params: n,
@@ -801,15 +801,15 @@ function ht(t) {
801
801
  snapIndex: a
802
802
  } = e;
803
803
  let o = t, d;
804
- const c = (h) => {
805
- let u = h - e.virtual.slidesBefore;
806
- return u < 0 && (u = e.virtual.slides.length + u), u >= e.virtual.slides.length && (u -= e.virtual.slides.length), u;
804
+ const c = (m) => {
805
+ let p = m - e.virtual.slidesBefore;
806
+ return p < 0 && (p = e.virtual.slides.length + p), p >= e.virtual.slides.length && (p -= e.virtual.slides.length), p;
807
807
  };
808
- if (typeof o > "u" && (o = mt(e)), s.indexOf(i) >= 0)
808
+ if (typeof o > "u" && (o = pt(e)), s.indexOf(i) >= 0)
809
809
  d = s.indexOf(i);
810
810
  else {
811
- const h = Math.min(n.slidesPerGroupSkip, o);
812
- d = h + Math.floor((o - h) / n.slidesPerGroup);
811
+ const m = Math.min(n.slidesPerGroupSkip, o);
812
+ d = m + Math.floor((o - m) / n.slidesPerGroup);
813
813
  }
814
814
  if (d >= s.length && (d = s.length - 1), o === r && !e.params.loop) {
815
815
  d !== a && (e.snapIndex = d, e.emit("snapIndexChange"));
@@ -820,28 +820,28 @@ function ht(t) {
820
820
  return;
821
821
  }
822
822
  const f = e.grid && n.grid && n.grid.rows > 1;
823
- let m;
823
+ let u;
824
824
  if (e.virtual && n.virtual.enabled && n.loop)
825
- m = c(o);
825
+ u = c(o);
826
826
  else if (f) {
827
- const h = e.slides.find((g) => g.column === o);
828
- let u = parseInt(h.getAttribute("data-swiper-slide-index"), 10);
829
- Number.isNaN(u) && (u = Math.max(e.slides.indexOf(h), 0)), m = Math.floor(u / n.grid.rows);
827
+ const m = e.slides.find((v) => v.column === o);
828
+ let p = parseInt(m.getAttribute("data-swiper-slide-index"), 10);
829
+ Number.isNaN(p) && (p = Math.max(e.slides.indexOf(m), 0)), u = Math.floor(p / n.grid.rows);
830
830
  } else if (e.slides[o]) {
831
- const h = e.slides[o].getAttribute("data-swiper-slide-index");
832
- h ? m = parseInt(h, 10) : m = o;
831
+ const m = e.slides[o].getAttribute("data-swiper-slide-index");
832
+ m ? u = parseInt(m, 10) : u = o;
833
833
  } else
834
- m = o;
834
+ u = o;
835
835
  Object.assign(e, {
836
836
  previousSnapIndex: a,
837
837
  snapIndex: d,
838
838
  previousRealIndex: l,
839
- realIndex: m,
839
+ realIndex: u,
840
840
  previousIndex: r,
841
841
  activeIndex: o
842
- }), e.initialized && fe(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== m && e.emit("realIndexChange"), e.emit("slideChange"));
842
+ }), e.initialized && ce(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== u && e.emit("realIndexChange"), e.emit("slideChange"));
843
843
  }
844
- function gt(t, e) {
844
+ function ht(t, e) {
845
845
  const i = this, s = i.params;
846
846
  let n = t.closest(`.${s.slideClass}, swiper-slide`);
847
847
  !n && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
@@ -863,18 +863,18 @@ function gt(t, e) {
863
863
  }
864
864
  s.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
865
865
  }
866
- var vt = {
867
- updateSize: lt,
868
- updateSlides: ot,
869
- updateAutoHeight: dt,
870
- updateSlidesOffset: ct,
871
- updateSlidesProgress: ft,
872
- updateProgress: ut,
873
- updateSlidesClasses: pt,
874
- updateActiveIndex: ht,
875
- updateClickedSlide: gt
866
+ var gt = {
867
+ updateSize: at,
868
+ updateSlides: lt,
869
+ updateAutoHeight: ot,
870
+ updateSlidesOffset: dt,
871
+ updateSlidesProgress: ct,
872
+ updateProgress: ft,
873
+ updateSlidesClasses: ut,
874
+ updateActiveIndex: mt,
875
+ updateClickedSlide: ht
876
876
  };
877
- function wt(t) {
877
+ function vt(t) {
878
878
  t === void 0 && (t = this.isHorizontal() ? "x" : "y");
879
879
  const e = this, {
880
880
  params: i,
@@ -886,10 +886,10 @@ function wt(t) {
886
886
  return s ? -n : n;
887
887
  if (i.cssMode)
888
888
  return n;
889
- let l = Xe(r, t);
889
+ let l = qe(r, t);
890
890
  return l += e.cssOverflowAdjustment(), s && (l = -l), l || 0;
891
891
  }
892
- function St(t, e) {
892
+ function wt(t, e) {
893
893
  const i = this, {
894
894
  rtlTranslate: s,
895
895
  params: n,
@@ -903,13 +903,13 @@ function St(t, e) {
903
903
  const f = i.maxTranslate() - i.minTranslate();
904
904
  f === 0 ? c = 0 : c = (t - i.minTranslate()) / f, c !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
905
905
  }
906
- function Tt() {
906
+ function St() {
907
907
  return -this.snapGrid[0];
908
908
  }
909
- function bt() {
909
+ function Tt() {
910
910
  return -this.snapGrid[this.snapGrid.length - 1];
911
911
  }
912
- function xt(t, e, i, s, n) {
912
+ function bt(t, e, i, s, n) {
913
913
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), s === void 0 && (s = !0);
914
914
  const r = this, {
915
915
  params: l,
@@ -925,7 +925,7 @@ function xt(t, e, i, s, n) {
925
925
  a[f ? "scrollLeft" : "scrollTop"] = -c;
926
926
  else {
927
927
  if (!r.support.smoothScroll)
928
- return Ie({
928
+ return Ce({
929
929
  swiper: r,
930
930
  targetPosition: -c,
931
931
  side: f ? "left" : "top"
@@ -937,22 +937,22 @@ function xt(t, e, i, s, n) {
937
937
  }
938
938
  return !0;
939
939
  }
940
- return e === 0 ? (r.setTransition(0), r.setTranslate(c), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(c), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(m) {
941
- !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"));
940
+ return e === 0 ? (r.setTransition(0), r.setTranslate(c), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionEnd"))) : (r.setTransition(e), r.setTranslate(c), i && (r.emit("beforeTransitionStart", e, n), r.emit("transitionStart")), r.animating || (r.animating = !0, r.onTranslateToWrapperTransitionEnd || (r.onTranslateToWrapperTransitionEnd = function(u) {
941
+ !r || r.destroyed || u.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
942
942
  }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
943
943
  }
944
- var Et = {
945
- getTranslate: wt,
946
- setTranslate: St,
947
- minTranslate: Tt,
948
- maxTranslate: bt,
949
- translateTo: xt
944
+ var xt = {
945
+ getTranslate: vt,
946
+ setTranslate: wt,
947
+ minTranslate: St,
948
+ maxTranslate: Tt,
949
+ translateTo: bt
950
950
  };
951
- function yt(t, e) {
951
+ function Et(t, e) {
952
952
  const i = this;
953
953
  i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
954
954
  }
955
- function Ae(t) {
955
+ function ze(t) {
956
956
  let {
957
957
  swiper: e,
958
958
  runCallbacks: i,
@@ -966,24 +966,24 @@ function Ae(t) {
966
966
  let a = s;
967
967
  a || (r > l ? a = "next" : r < l ? a = "prev" : a = "reset"), e.emit(`transition${n}`), i && a === "reset" ? e.emit(`slideResetTransition${n}`) : i && r !== l && (e.emit(`slideChangeTransition${n}`), a === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`));
968
968
  }
969
- function Pt(t, e) {
969
+ function yt(t, e) {
970
970
  t === void 0 && (t = !0);
971
971
  const i = this, {
972
972
  params: s
973
973
  } = i;
974
- s.cssMode || (s.autoHeight && i.updateAutoHeight(), Ae({
974
+ s.cssMode || (s.autoHeight && i.updateAutoHeight(), ze({
975
975
  swiper: i,
976
976
  runCallbacks: t,
977
977
  direction: e,
978
978
  step: "Start"
979
979
  }));
980
980
  }
981
- function Ct(t, e) {
981
+ function Pt(t, e) {
982
982
  t === void 0 && (t = !0);
983
983
  const i = this, {
984
984
  params: s
985
985
  } = i;
986
- i.animating = !1, !s.cssMode && (i.setTransition(0), Ae({
986
+ i.animating = !1, !s.cssMode && (i.setTransition(0), ze({
987
987
  swiper: i,
988
988
  runCallbacks: t,
989
989
  direction: e,
@@ -991,11 +991,11 @@ function Ct(t, e) {
991
991
  }));
992
992
  }
993
993
  var Mt = {
994
- setTransition: yt,
995
- transitionStart: Pt,
996
- transitionEnd: Ct
994
+ setTransition: Et,
995
+ transitionStart: yt,
996
+ transitionEnd: Pt
997
997
  };
998
- function It(t, e, i, s, n) {
998
+ function Ct(t, e, i, s, n) {
999
999
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1000
1000
  const r = this;
1001
1001
  let l = t;
@@ -1006,58 +1006,58 @@ function It(t, e, i, s, n) {
1006
1006
  slidesGrid: d,
1007
1007
  previousIndex: c,
1008
1008
  activeIndex: f,
1009
- rtlTranslate: m,
1010
- wrapperEl: h,
1011
- enabled: u
1009
+ rtlTranslate: u,
1010
+ wrapperEl: m,
1011
+ enabled: p
1012
1012
  } = r;
1013
- if (!u && !s && !n || r.destroyed || r.animating && a.preventInteractionOnTransition)
1013
+ if (!p && !s && !n || r.destroyed || r.animating && a.preventInteractionOnTransition)
1014
1014
  return !1;
1015
1015
  typeof e > "u" && (e = r.params.speed);
1016
- const g = Math.min(r.params.slidesPerGroupSkip, l);
1017
- let S = g + Math.floor((l - g) / r.params.slidesPerGroup);
1018
- S >= o.length && (S = o.length - 1);
1019
- const p = -o[S];
1016
+ const v = Math.min(r.params.slidesPerGroupSkip, l);
1017
+ let M = v + Math.floor((l - v) / r.params.slidesPerGroup);
1018
+ M >= o.length && (M = o.length - 1);
1019
+ const h = -o[M];
1020
1020
  if (a.normalizeSlideIndex)
1021
- for (let M = 0; M < d.length; M += 1) {
1022
- const P = -Math.floor(p * 100), E = Math.floor(d[M] * 100), T = Math.floor(d[M + 1] * 100);
1023
- typeof d[M + 1] < "u" ? P >= E && P < T - (T - E) / 2 ? l = M : P >= E && P < T && (l = M + 1) : P >= E && (l = M);
1021
+ for (let C = 0; C < d.length; C += 1) {
1022
+ const y = -Math.floor(h * 100), T = Math.floor(d[C] * 100), w = Math.floor(d[C + 1] * 100);
1023
+ typeof d[C + 1] < "u" ? y >= T && y < w - (w - T) / 2 ? l = C : y >= T && y < w && (l = C + 1) : y >= T && (l = C);
1024
1024
  }
1025
- if (r.initialized && l !== f && (!r.allowSlideNext && (m ? p > r.translate && p > r.minTranslate() : p < r.translate && p < r.minTranslate()) || !r.allowSlidePrev && p > r.translate && p > r.maxTranslate() && (f || 0) !== l))
1025
+ if (r.initialized && l !== f && (!r.allowSlideNext && (u ? h > r.translate && h > r.minTranslate() : h < r.translate && h < r.minTranslate()) || !r.allowSlidePrev && h > r.translate && h > r.maxTranslate() && (f || 0) !== l))
1026
1026
  return !1;
1027
- l !== (c || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(p);
1028
- let v;
1029
- l > f ? v = "next" : l < f ? v = "prev" : v = "reset";
1030
- const w = r.virtual && r.params.virtual.enabled;
1031
- if (!(w && n) && (m && -p === r.translate || !m && p === r.translate))
1032
- return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(p), v !== "reset" && (r.transitionStart(i, v), r.transitionEnd(i, v)), !1;
1027
+ l !== (c || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(h);
1028
+ let S;
1029
+ l > f ? S = "next" : l < f ? S = "prev" : S = "reset";
1030
+ const g = r.virtual && r.params.virtual.enabled;
1031
+ if (!(g && n) && (u && -h === r.translate || !u && h === r.translate))
1032
+ return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(h), S !== "reset" && (r.transitionStart(i, S), r.transitionEnd(i, S)), !1;
1033
1033
  if (a.cssMode) {
1034
- const M = r.isHorizontal(), P = m ? p : -p;
1034
+ const C = r.isHorizontal(), y = u ? h : -h;
1035
1035
  if (e === 0)
1036
- w && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), w && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1037
- h[M ? "scrollLeft" : "scrollTop"] = P;
1038
- })) : h[M ? "scrollLeft" : "scrollTop"] = P, w && requestAnimationFrame(() => {
1036
+ g && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), g && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1037
+ m[C ? "scrollLeft" : "scrollTop"] = y;
1038
+ })) : m[C ? "scrollLeft" : "scrollTop"] = y, g && requestAnimationFrame(() => {
1039
1039
  r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
1040
1040
  });
1041
1041
  else {
1042
1042
  if (!r.support.smoothScroll)
1043
- return Ie({
1043
+ return Ce({
1044
1044
  swiper: r,
1045
- targetPosition: P,
1046
- side: M ? "left" : "top"
1045
+ targetPosition: y,
1046
+ side: C ? "left" : "top"
1047
1047
  }), !0;
1048
- h.scrollTo({
1049
- [M ? "left" : "top"]: P,
1048
+ m.scrollTo({
1049
+ [C ? "left" : "top"]: y,
1050
1050
  behavior: "smooth"
1051
1051
  });
1052
1052
  }
1053
1053
  return !0;
1054
1054
  }
1055
- const C = ze().isSafari;
1056
- return w && !n && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(p), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, v), e === 0 ? r.transitionEnd(i, v) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(P) {
1057
- !r || r.destroyed || P.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, v));
1055
+ const P = Le().isSafari;
1056
+ return g && !n && P && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(h), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, S), e === 0 ? r.transitionEnd(i, S) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(y) {
1057
+ !r || r.destroyed || y.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, S));
1058
1058
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1059
1059
  }
1060
- function Lt(t, e, i, s) {
1060
+ function It(t, e, i, s) {
1061
1061
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1062
1062
  const n = this;
1063
1063
  if (n.destroyed)
@@ -1071,8 +1071,8 @@ function Lt(t, e, i, s) {
1071
1071
  else {
1072
1072
  let a;
1073
1073
  if (r) {
1074
- const m = l * n.params.grid.rows;
1075
- a = n.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1074
+ const u = l * n.params.grid.rows;
1075
+ a = n.slides.find((m) => m.getAttribute("data-swiper-slide-index") * 1 === u).column;
1076
1076
  } else
1077
1077
  a = n.getSlideIndexByData(l);
1078
1078
  const o = r ? Math.ceil(n.slides.length / n.params.grid.rows) : n.slides.length, {
@@ -1082,17 +1082,17 @@ function Lt(t, e, i, s) {
1082
1082
  c === "auto" ? c = n.slidesPerViewDynamic() : (c = Math.ceil(parseFloat(n.params.slidesPerView, 10)), d && c % 2 === 0 && (c = c + 1));
1083
1083
  let f = o - a < c;
1084
1084
  if (d && (f = f || a < Math.ceil(c / 2)), s && d && n.params.slidesPerView !== "auto" && !r && (f = !1), f) {
1085
- const m = d ? a < n.activeIndex ? "prev" : "next" : a - n.activeIndex - 1 < n.params.slidesPerView ? "next" : "prev";
1085
+ const u = d ? a < n.activeIndex ? "prev" : "next" : a - n.activeIndex - 1 < n.params.slidesPerView ? "next" : "prev";
1086
1086
  n.loopFix({
1087
- direction: m,
1087
+ direction: u,
1088
1088
  slideTo: !0,
1089
- activeSlideIndex: m === "next" ? a + 1 : a - o + 1,
1090
- slideRealIndex: m === "next" ? n.realIndex : void 0
1089
+ activeSlideIndex: u === "next" ? a + 1 : a - o + 1,
1090
+ slideRealIndex: u === "next" ? n.realIndex : void 0
1091
1091
  });
1092
1092
  }
1093
1093
  if (r) {
1094
- const m = l * n.params.grid.rows;
1095
- l = n.slides.find((h) => h.getAttribute("data-swiper-slide-index") * 1 === m).column;
1094
+ const u = l * n.params.grid.rows;
1095
+ l = n.slides.find((m) => m.getAttribute("data-swiper-slide-index") * 1 === u).column;
1096
1096
  } else
1097
1097
  l = n.getSlideIndexByData(l);
1098
1098
  }
@@ -1125,7 +1125,7 @@ function Ot(t, e, i) {
1125
1125
  }
1126
1126
  return r.rewind && s.isEnd ? s.slideTo(0, t, e, i) : s.slideTo(s.activeIndex + o, t, e, i);
1127
1127
  }
1128
- function zt(t, e, i) {
1128
+ function Lt(t, e, i) {
1129
1129
  e === void 0 && (e = !0);
1130
1130
  const s = this, {
1131
1131
  params: n,
@@ -1147,34 +1147,34 @@ function zt(t, e, i) {
1147
1147
  }), s._clientLeft = s.wrapperEl.clientLeft;
1148
1148
  }
1149
1149
  const f = a ? s.translate : -s.translate;
1150
- function m(v) {
1151
- return v < 0 ? -Math.floor(Math.abs(v)) : Math.floor(v);
1152
- }
1153
- const h = m(f), u = r.map((v) => m(v)), g = n.freeMode && n.freeMode.enabled;
1154
- let S = r[u.indexOf(h) - 1];
1155
- if (typeof S > "u" && (n.cssMode || g)) {
1156
- let v;
1157
- r.forEach((w, x) => {
1158
- h >= w && (v = x);
1159
- }), typeof v < "u" && (S = g ? r[v] : r[v > 0 ? v - 1 : v]);
1160
- }
1161
- let p = 0;
1162
- if (typeof S < "u" && (p = l.indexOf(S), p < 0 && (p = s.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (p = p - s.slidesPerViewDynamic("previous", !0) + 1, p = Math.max(p, 0))), n.rewind && s.isBeginning) {
1163
- const v = s.params.virtual && s.params.virtual.enabled && s.virtual ? s.virtual.slides.length - 1 : s.slides.length - 1;
1164
- return s.slideTo(v, t, e, i);
1150
+ function u(S) {
1151
+ return S < 0 ? -Math.floor(Math.abs(S)) : Math.floor(S);
1152
+ }
1153
+ const m = u(f), p = r.map((S) => u(S)), v = n.freeMode && n.freeMode.enabled;
1154
+ let M = r[p.indexOf(m) - 1];
1155
+ if (typeof M > "u" && (n.cssMode || v)) {
1156
+ let S;
1157
+ r.forEach((g, E) => {
1158
+ m >= g && (S = E);
1159
+ }), typeof S < "u" && (M = v ? r[S] : r[S > 0 ? S - 1 : S]);
1160
+ }
1161
+ let h = 0;
1162
+ if (typeof M < "u" && (h = l.indexOf(M), h < 0 && (h = s.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (h = h - s.slidesPerViewDynamic("previous", !0) + 1, h = Math.max(h, 0))), n.rewind && s.isBeginning) {
1163
+ const S = s.params.virtual && s.params.virtual.enabled && s.virtual ? s.virtual.slides.length - 1 : s.slides.length - 1;
1164
+ return s.slideTo(S, t, e, i);
1165
1165
  } else if (n.loop && s.activeIndex === 0 && n.cssMode)
1166
1166
  return requestAnimationFrame(() => {
1167
- s.slideTo(p, t, e, i);
1167
+ s.slideTo(h, t, e, i);
1168
1168
  }), !0;
1169
- return s.slideTo(p, t, e, i);
1169
+ return s.slideTo(h, t, e, i);
1170
1170
  }
1171
- function At(t, e, i) {
1171
+ function zt(t, e, i) {
1172
1172
  e === void 0 && (e = !0);
1173
1173
  const s = this;
1174
1174
  if (!s.destroyed)
1175
1175
  return typeof t > "u" && (t = s.params.speed), s.slideTo(s.activeIndex, t, e, i);
1176
1176
  }
1177
- function _t(t, e, i, s) {
1177
+ function At(t, e, i, s) {
1178
1178
  e === void 0 && (e = !0), s === void 0 && (s = 0.5);
1179
1179
  const n = this;
1180
1180
  if (n.destroyed)
@@ -1191,7 +1191,7 @@ function _t(t, e, i, s) {
1191
1191
  }
1192
1192
  return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, t, e, i);
1193
1193
  }
1194
- function Gt() {
1194
+ function _t() {
1195
1195
  const t = this;
1196
1196
  if (t.destroyed)
1197
1197
  return;
@@ -1204,20 +1204,20 @@ function Gt() {
1204
1204
  if (e.loop) {
1205
1205
  if (t.animating)
1206
1206
  return;
1207
- r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : n > (a ? (t.slides.length - s) / 2 - (t.params.grid.rows - 1) : t.slides.length - s) ? (t.loopFix(), n = t.getSlideIndex(R(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), Me(() => {
1207
+ r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : n > (a ? (t.slides.length - s) / 2 - (t.params.grid.rows - 1) : t.slides.length - s) ? (t.loopFix(), n = t.getSlideIndex(k(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), Me(() => {
1208
1208
  t.slideTo(n);
1209
1209
  })) : t.slideTo(n);
1210
1210
  } else
1211
1211
  t.slideTo(n);
1212
1212
  }
1213
- var Dt = {
1214
- slideTo: It,
1215
- slideToLoop: Lt,
1213
+ var Gt = {
1214
+ slideTo: Ct,
1215
+ slideToLoop: It,
1216
1216
  slideNext: Ot,
1217
- slidePrev: zt,
1218
- slideReset: At,
1219
- slideToClosest: _t,
1220
- slideToClickedSlide: Gt
1217
+ slidePrev: Lt,
1218
+ slideReset: zt,
1219
+ slideToClosest: At,
1220
+ slideToClickedSlide: _t
1221
1221
  };
1222
1222
  function Vt(t, e) {
1223
1223
  const i = this, {
@@ -1227,35 +1227,35 @@ function Vt(t, e) {
1227
1227
  if (!s.loop || i.virtual && i.params.virtual.enabled)
1228
1228
  return;
1229
1229
  const r = () => {
1230
- R(n, `.${s.slideClass}, swiper-slide`).forEach((h, u) => {
1231
- h.setAttribute("data-swiper-slide-index", u);
1230
+ k(n, `.${s.slideClass}, swiper-slide`).forEach((m, p) => {
1231
+ m.setAttribute("data-swiper-slide-index", p);
1232
1232
  });
1233
1233
  }, l = () => {
1234
- const m = R(n, `.${s.slideBlankClass}`);
1235
- m.forEach((h) => {
1236
- h.remove();
1237
- }), m.length > 0 && (i.recalcSlides(), i.updateSlides());
1234
+ const u = k(n, `.${s.slideBlankClass}`);
1235
+ u.forEach((m) => {
1236
+ m.remove();
1237
+ }), u.length > 0 && (i.recalcSlides(), i.updateSlides());
1238
1238
  }, a = i.grid && s.grid && s.grid.rows > 1;
1239
1239
  s.loopAddBlankSlides && (s.slidesPerGroup > 1 || a) && l();
1240
- const o = s.slidesPerGroup * (a ? s.grid.rows : 1), d = i.slides.length % o !== 0, c = a && i.slides.length % s.grid.rows !== 0, f = (m) => {
1241
- for (let h = 0; h < m; h += 1) {
1242
- const u = i.isElement ? te("swiper-slide", [s.slideBlankClass]) : te("div", [s.slideClass, s.slideBlankClass]);
1243
- i.slidesEl.append(u);
1240
+ const o = s.slidesPerGroup * (a ? s.grid.rows : 1), d = i.slides.length % o !== 0, c = a && i.slides.length % s.grid.rows !== 0, f = (u) => {
1241
+ for (let m = 0; m < u; m += 1) {
1242
+ const p = i.isElement ? de("swiper-slide", [s.slideBlankClass]) : de("div", [s.slideClass, s.slideBlankClass]);
1243
+ i.slidesEl.append(p);
1244
1244
  }
1245
1245
  };
1246
1246
  if (d) {
1247
1247
  if (s.loopAddBlankSlides) {
1248
- const m = o - i.slides.length % o;
1249
- f(m), i.recalcSlides(), i.updateSlides();
1248
+ const u = o - i.slides.length % o;
1249
+ f(u), i.recalcSlides(), i.updateSlides();
1250
1250
  } else
1251
- ee("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)");
1251
+ 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)");
1252
1252
  r();
1253
1253
  } else if (c) {
1254
1254
  if (s.loopAddBlankSlides) {
1255
- const m = s.grid.rows - i.slides.length % s.grid.rows;
1256
- f(m), i.recalcSlides(), i.updateSlides();
1255
+ const u = s.grid.rows - i.slides.length % s.grid.rows;
1256
+ f(u), i.recalcSlides(), i.updateSlides();
1257
1257
  } else
1258
- ee("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)");
1258
+ 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)");
1259
1259
  r();
1260
1260
  } else
1261
1261
  r();
@@ -1265,7 +1265,7 @@ function Vt(t, e) {
1265
1265
  initial: e
1266
1266
  });
1267
1267
  }
1268
- function Bt(t) {
1268
+ function Dt(t) {
1269
1269
  let {
1270
1270
  slideRealIndex: e,
1271
1271
  slideTo: i = !0,
@@ -1283,78 +1283,78 @@ function Bt(t) {
1283
1283
  const {
1284
1284
  slides: c,
1285
1285
  allowSlidePrev: f,
1286
- allowSlideNext: m,
1287
- slidesEl: h,
1288
- params: u
1286
+ allowSlideNext: u,
1287
+ slidesEl: m,
1288
+ params: p
1289
1289
  } = d, {
1290
- centeredSlides: g,
1291
- initialSlide: S
1292
- } = u;
1293
- if (d.allowSlidePrev = !0, d.allowSlideNext = !0, d.virtual && u.virtual.enabled) {
1294
- i && (!u.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : u.centeredSlides && d.snapIndex < u.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 = m, d.emit("loopFix");
1290
+ centeredSlides: v,
1291
+ initialSlide: M
1292
+ } = p;
1293
+ if (d.allowSlidePrev = !0, d.allowSlideNext = !0, d.virtual && p.virtual.enabled) {
1294
+ i && (!p.centeredSlides && d.snapIndex === 0 ? d.slideTo(d.virtual.slides.length, 0, !1, !0) : p.centeredSlides && d.snapIndex < p.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 = u, d.emit("loopFix");
1295
1295
  return;
1296
1296
  }
1297
- let p = u.slidesPerView;
1298
- p === "auto" ? p = d.slidesPerViewDynamic() : (p = Math.ceil(parseFloat(u.slidesPerView, 10)), g && p % 2 === 0 && (p = p + 1));
1299
- const v = u.slidesPerGroupAuto ? p : u.slidesPerGroup;
1300
- let w = g ? Math.max(v, Math.ceil(p / 2)) : v;
1301
- w % v !== 0 && (w += v - w % v), w += u.loopAdditionalSlides, d.loopedSlides = w;
1302
- const x = d.grid && u.grid && u.grid.rows > 1;
1303
- c.length < p + w || d.params.effect === "cards" && c.length < p + w * 2 ? ee("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") : x && u.grid.fill === "row" && ee("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1304
- const b = [], C = [], M = x ? Math.ceil(c.length / u.grid.rows) : c.length, P = l && M - S < p && !g;
1305
- let E = P ? S : d.activeIndex;
1306
- typeof r > "u" ? r = d.getSlideIndex(c.find((L) => L.classList.contains(u.slideActiveClass))) : E = r;
1307
- const T = s === "next" || !s, y = s === "prev" || !s;
1297
+ let h = p.slidesPerView;
1298
+ h === "auto" ? h = d.slidesPerViewDynamic() : (h = Math.ceil(parseFloat(p.slidesPerView, 10)), v && h % 2 === 0 && (h = h + 1));
1299
+ const S = p.slidesPerGroupAuto ? h : p.slidesPerGroup;
1300
+ let g = v ? Math.max(S, Math.ceil(h / 2)) : S;
1301
+ g % S !== 0 && (g += S - g % S), g += p.loopAdditionalSlides, d.loopedSlides = g;
1302
+ const E = d.grid && p.grid && p.grid.rows > 1;
1303
+ c.length < h + g || d.params.effect === "cards" && c.length < h + g * 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") : E && p.grid.fill === "row" && J("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1304
+ const b = [], P = [], C = E ? Math.ceil(c.length / p.grid.rows) : c.length, y = l && C - M < h && !v;
1305
+ let T = y ? M : d.activeIndex;
1306
+ typeof r > "u" ? r = d.getSlideIndex(c.find((O) => O.classList.contains(p.slideActiveClass))) : T = r;
1307
+ const w = s === "next" || !s, x = s === "prev" || !s;
1308
1308
  let I = 0, z = 0;
1309
- const N = (x ? c[r].column : r) + (g && typeof n > "u" ? -p / 2 + 0.5 : 0);
1310
- if (N < w) {
1311
- I = Math.max(w - N, v);
1312
- for (let L = 0; L < w - N; L += 1) {
1313
- const _ = L - Math.floor(L / M) * M;
1314
- if (x) {
1315
- const G = M - _ - 1;
1316
- for (let O = c.length - 1; O >= 0; O -= 1)
1317
- c[O].column === G && b.push(O);
1309
+ const N = (E ? c[r].column : r) + (v && typeof n > "u" ? -h / 2 + 0.5 : 0);
1310
+ if (N < g) {
1311
+ I = Math.max(g - N, S);
1312
+ for (let O = 0; O < g - N; O += 1) {
1313
+ const _ = O - Math.floor(O / C) * C;
1314
+ if (E) {
1315
+ const G = C - _ - 1;
1316
+ for (let L = c.length - 1; L >= 0; L -= 1)
1317
+ c[L].column === G && b.push(L);
1318
1318
  } else
1319
- b.push(M - _ - 1);
1319
+ b.push(C - _ - 1);
1320
1320
  }
1321
- } else if (N + p > M - w) {
1322
- z = Math.max(N - (M - w * 2), v), P && (z = Math.max(z, p - M + S + 1));
1323
- for (let L = 0; L < z; L += 1) {
1324
- const _ = L - Math.floor(L / M) * M;
1325
- x ? c.forEach((G, O) => {
1326
- G.column === _ && C.push(O);
1327
- }) : C.push(_);
1321
+ } else if (N + h > C - g) {
1322
+ z = Math.max(N - (C - g * 2), S), y && (z = Math.max(z, h - C + M + 1));
1323
+ for (let O = 0; O < z; O += 1) {
1324
+ const _ = O - Math.floor(O / C) * C;
1325
+ E ? c.forEach((G, L) => {
1326
+ G.column === _ && P.push(L);
1327
+ }) : P.push(_);
1328
1328
  }
1329
1329
  }
1330
1330
  if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
1331
1331
  d.__preventObserver__ = !1;
1332
- }), d.params.effect === "cards" && c.length < p + w * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1), b.includes(r) && b.splice(b.indexOf(r), 1)), y && b.forEach((L) => {
1333
- c[L].swiperLoopMoveDOM = !0, h.prepend(c[L]), c[L].swiperLoopMoveDOM = !1;
1334
- }), T && C.forEach((L) => {
1335
- c[L].swiperLoopMoveDOM = !0, h.append(c[L]), c[L].swiperLoopMoveDOM = !1;
1336
- }), d.recalcSlides(), u.slidesPerView === "auto" ? d.updateSlides() : x && (b.length > 0 && y || C.length > 0 && T) && d.slides.forEach((L, _) => {
1337
- d.grid.updateSlide(_, L, d.slides);
1338
- }), u.watchSlidesProgress && d.updateSlidesOffset(), i) {
1339
- if (b.length > 0 && y) {
1332
+ }), d.params.effect === "cards" && c.length < h + g * 2 && (P.includes(r) && P.splice(P.indexOf(r), 1), b.includes(r) && b.splice(b.indexOf(r), 1)), x && b.forEach((O) => {
1333
+ c[O].swiperLoopMoveDOM = !0, m.prepend(c[O]), c[O].swiperLoopMoveDOM = !1;
1334
+ }), w && P.forEach((O) => {
1335
+ c[O].swiperLoopMoveDOM = !0, m.append(c[O]), c[O].swiperLoopMoveDOM = !1;
1336
+ }), d.recalcSlides(), p.slidesPerView === "auto" ? d.updateSlides() : E && (b.length > 0 && x || P.length > 0 && w) && d.slides.forEach((O, _) => {
1337
+ d.grid.updateSlide(_, O, d.slides);
1338
+ }), p.watchSlidesProgress && d.updateSlidesOffset(), i) {
1339
+ if (b.length > 0 && x) {
1340
1340
  if (typeof e > "u") {
1341
- const L = d.slidesGrid[E], G = d.slidesGrid[E + I] - L;
1342
- o ? d.setTranslate(d.translate - G) : (d.slideTo(E + Math.ceil(I), 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - G, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - G));
1341
+ const O = d.slidesGrid[T], G = d.slidesGrid[T + I] - O;
1342
+ o ? d.setTranslate(d.translate - G) : (d.slideTo(T + Math.ceil(I), 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - G, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - G));
1343
1343
  } else if (n) {
1344
- const L = x ? b.length / u.grid.rows : b.length;
1345
- d.slideTo(d.activeIndex + L, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
1344
+ const O = E ? b.length / p.grid.rows : b.length;
1345
+ d.slideTo(d.activeIndex + O, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
1346
1346
  }
1347
- } else if (C.length > 0 && T)
1347
+ } else if (P.length > 0 && w)
1348
1348
  if (typeof e > "u") {
1349
- const L = d.slidesGrid[E], G = d.slidesGrid[E - z] - L;
1350
- o ? d.setTranslate(d.translate - G) : (d.slideTo(E - z, 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - G, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - G));
1349
+ const O = d.slidesGrid[T], G = d.slidesGrid[T - z] - O;
1350
+ o ? d.setTranslate(d.translate - G) : (d.slideTo(T - z, 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - G, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - G));
1351
1351
  } else {
1352
- const L = x ? C.length / u.grid.rows : C.length;
1353
- d.slideTo(d.activeIndex - L, 0, !1, !0);
1352
+ const O = E ? P.length / p.grid.rows : P.length;
1353
+ d.slideTo(d.activeIndex - O, 0, !1, !0);
1354
1354
  }
1355
1355
  }
1356
- if (d.allowSlidePrev = f, d.allowSlideNext = m, d.controller && d.controller.control && !a) {
1357
- const L = {
1356
+ if (d.allowSlidePrev = f, d.allowSlideNext = u, d.controller && d.controller.control && !a) {
1357
+ const O = {
1358
1358
  slideRealIndex: e,
1359
1359
  direction: s,
1360
1360
  setTranslate: n,
@@ -1363,17 +1363,17 @@ function Bt(t) {
1363
1363
  };
1364
1364
  Array.isArray(d.controller.control) ? d.controller.control.forEach((_) => {
1365
1365
  !_.destroyed && _.params.loop && _.loopFix({
1366
- ...L,
1367
- slideTo: _.params.slidesPerView === u.slidesPerView ? i : !1
1366
+ ...O,
1367
+ slideTo: _.params.slidesPerView === p.slidesPerView ? i : !1
1368
1368
  });
1369
1369
  }) : d.controller.control instanceof d.constructor && d.controller.control.params.loop && d.controller.control.loopFix({
1370
- ...L,
1371
- slideTo: d.controller.control.params.slidesPerView === u.slidesPerView ? i : !1
1370
+ ...O,
1371
+ slideTo: d.controller.control.params.slidesPerView === p.slidesPerView ? i : !1
1372
1372
  });
1373
1373
  }
1374
1374
  d.emit("loopFix");
1375
1375
  }
1376
- function Nt() {
1376
+ function Bt() {
1377
1377
  const t = this, {
1378
1378
  params: e,
1379
1379
  slidesEl: i
@@ -1391,12 +1391,12 @@ function Nt() {
1391
1391
  i.append(n);
1392
1392
  }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1393
1393
  }
1394
- var Ft = {
1394
+ var Nt = {
1395
1395
  loopCreate: Vt,
1396
- loopFix: Bt,
1397
- loopDestroy: Nt
1396
+ loopFix: Dt,
1397
+ loopDestroy: Bt
1398
1398
  };
1399
- function kt(t) {
1399
+ function Ft(t) {
1400
1400
  const e = this;
1401
1401
  if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode)
1402
1402
  return;
@@ -1412,13 +1412,13 @@ function Rt() {
1412
1412
  }));
1413
1413
  }
1414
1414
  var $t = {
1415
- setGrabCursor: kt,
1415
+ setGrabCursor: Ft,
1416
1416
  unsetGrabCursor: Rt
1417
1417
  };
1418
- function Ht(t, e) {
1418
+ function kt(t, e) {
1419
1419
  e === void 0 && (e = this);
1420
1420
  function i(s) {
1421
- if (!s || s === q() || s === D())
1421
+ if (!s || s === j() || s === V())
1422
1422
  return null;
1423
1423
  s.assignedSlot && (s = s.assignedSlot);
1424
1424
  const n = s.closest(t);
@@ -1426,14 +1426,14 @@ function Ht(t, e) {
1426
1426
  }
1427
1427
  return i(e);
1428
1428
  }
1429
- function Te(t, e, i) {
1430
- const s = D(), {
1429
+ function Se(t, e, i) {
1430
+ const s = V(), {
1431
1431
  params: n
1432
1432
  } = t, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1433
1433
  return r && (i <= l || i >= s.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1434
1434
  }
1435
- function Wt(t) {
1436
- const e = this, i = q();
1435
+ function Ht(t) {
1436
+ const e = this, i = j();
1437
1437
  let s = t;
1438
1438
  s.originalEvent && (s = s.originalEvent);
1439
1439
  const n = e.touchEventsData;
@@ -1444,7 +1444,7 @@ function Wt(t) {
1444
1444
  } else
1445
1445
  s.type === "touchstart" && s.targetTouches.length === 1 && (n.touchId = s.targetTouches[0].identifier);
1446
1446
  if (s.type === "touchstart") {
1447
- Te(e, s, s.targetTouches[0].pageX);
1447
+ Se(e, s, s.targetTouches[0].pageX);
1448
1448
  return;
1449
1449
  }
1450
1450
  const {
@@ -1456,20 +1456,20 @@ function Wt(t) {
1456
1456
  return;
1457
1457
  !e.animating && r.cssMode && r.loop && e.loopFix();
1458
1458
  let o = s.target;
1459
- if (r.touchEventsTarget === "wrapper" && !Qe(o, e.wrapperEl) || "which" in s && s.which === 3 || "button" in s && s.button > 0 || n.isTouched && n.isMoved)
1459
+ if (r.touchEventsTarget === "wrapper" && !Ke(o, e.wrapperEl) || "which" in s && s.which === 3 || "button" in s && s.button > 0 || n.isTouched && n.isMoved)
1460
1460
  return;
1461
1461
  const d = !!r.noSwipingClass && r.noSwipingClass !== "", c = s.composedPath ? s.composedPath() : s.path;
1462
1462
  d && s.target && s.target.shadowRoot && c && (o = c[0]);
1463
- const f = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, m = !!(s.target && s.target.shadowRoot);
1464
- if (r.noSwiping && (m ? Ht(f, o) : o.closest(f))) {
1463
+ const f = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, u = !!(s.target && s.target.shadowRoot);
1464
+ if (r.noSwiping && (u ? kt(f, o) : o.closest(f))) {
1465
1465
  e.allowClick = !0;
1466
1466
  return;
1467
1467
  }
1468
1468
  if (r.swipeHandler && !o.closest(r.swipeHandler))
1469
1469
  return;
1470
1470
  l.currentX = s.pageX, l.currentY = s.pageY;
1471
- const h = l.currentX, u = l.currentY;
1472
- if (!Te(e, s, h))
1471
+ const m = l.currentX, p = l.currentY;
1472
+ if (!Se(e, s, m))
1473
1473
  return;
1474
1474
  Object.assign(n, {
1475
1475
  isTouched: !0,
@@ -1477,14 +1477,14 @@ function Wt(t) {
1477
1477
  allowTouchCallbacks: !0,
1478
1478
  isScrolling: void 0,
1479
1479
  startMoving: void 0
1480
- }), l.startX = h, l.startY = u, n.touchStartTime = J(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1);
1481
- let g = !0;
1482
- o.matches(n.focusableElements) && (g = !1, o.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== o && (s.pointerType === "mouse" || s.pointerType !== "mouse" && !o.matches(n.focusableElements)) && i.activeElement.blur();
1483
- const S = g && e.allowTouchMove && r.touchStartPreventDefault;
1484
- (r.touchStartForcePreventDefault || S) && !o.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1480
+ }), l.startX = m, l.startY = p, n.touchStartTime = Z(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1);
1481
+ let v = !0;
1482
+ o.matches(n.focusableElements) && (v = !1, o.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== o && (s.pointerType === "mouse" || s.pointerType !== "mouse" && !o.matches(n.focusableElements)) && i.activeElement.blur();
1483
+ const M = v && e.allowTouchMove && r.touchStartPreventDefault;
1484
+ (r.touchStartForcePreventDefault || M) && !o.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1485
1485
  }
1486
- function jt(t) {
1487
- const e = q(), i = this, s = i.touchEventsData, {
1486
+ function Wt(t) {
1487
+ const e = j(), i = this, s = i.touchEventsData, {
1488
1488
  params: n,
1489
1489
  touches: r,
1490
1490
  rtlTranslate: l,
@@ -1497,7 +1497,7 @@ function jt(t) {
1497
1497
  return;
1498
1498
  let d;
1499
1499
  if (o.type === "touchmove") {
1500
- if (d = [...o.changedTouches].find((C) => C.identifier === s.touchId), !d || d.identifier !== s.touchId)
1500
+ if (d = [...o.changedTouches].find((P) => P.identifier === s.touchId), !d || d.identifier !== s.touchId)
1501
1501
  return;
1502
1502
  } else
1503
1503
  d = o;
@@ -1516,7 +1516,7 @@ function jt(t) {
1516
1516
  startY: f,
1517
1517
  currentX: c,
1518
1518
  currentY: f
1519
- }), s.touchStartTime = J());
1519
+ }), s.touchStartTime = Z());
1520
1520
  return;
1521
1521
  }
1522
1522
  if (n.touchReleaseOnEdges && !n.loop)
@@ -1536,12 +1536,12 @@ function jt(t) {
1536
1536
  return;
1537
1537
  }
1538
1538
  s.allowTouchCallbacks && i.emit("touchMove", o), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = c, r.currentY = f;
1539
- const m = r.currentX - r.startX, h = r.currentY - r.startY;
1540
- if (i.params.threshold && Math.sqrt(m ** 2 + h ** 2) < i.params.threshold)
1539
+ const u = r.currentX - r.startX, m = r.currentY - r.startY;
1540
+ if (i.params.threshold && Math.sqrt(u ** 2 + m ** 2) < i.params.threshold)
1541
1541
  return;
1542
1542
  if (typeof s.isScrolling > "u") {
1543
- let C;
1544
- i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? s.isScrolling = !1 : m * m + h * h >= 25 && (C = Math.atan2(Math.abs(h), Math.abs(m)) * 180 / Math.PI, s.isScrolling = i.isHorizontal() ? C > n.touchAngle : 90 - C > n.touchAngle);
1543
+ let P;
1544
+ i.isHorizontal() && r.currentY === r.startY || i.isVertical() && r.currentX === r.startX ? s.isScrolling = !1 : u * u + m * m >= 25 && (P = Math.atan2(Math.abs(m), Math.abs(u)) * 180 / Math.PI, s.isScrolling = i.isHorizontal() ? P > n.touchAngle : 90 - P > n.touchAngle);
1545
1545
  }
1546
1546
  if (s.isScrolling && i.emit("touchMoveOpposite", o), typeof s.startMoving > "u" && (r.currentX !== r.startX || r.currentY !== r.startY) && (s.startMoving = !0), s.isScrolling || o.type === "touchmove" && s.preventTouchMoveFromPointerMove) {
1547
1547
  s.isTouched = !1;
@@ -1550,28 +1550,28 @@ function jt(t) {
1550
1550
  if (!s.startMoving)
1551
1551
  return;
1552
1552
  i.allowClick = !1, !n.cssMode && o.cancelable && o.preventDefault(), n.touchMoveStopPropagation && !n.nested && o.stopPropagation();
1553
- let u = i.isHorizontal() ? m : h, g = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1554
- n.oneWayMovement && (u = Math.abs(u) * (l ? 1 : -1), g = Math.abs(g) * (l ? 1 : -1)), r.diff = u, u *= n.touchRatio, l && (u = -u, g = -g);
1555
- const S = i.touchesDirection;
1556
- i.swipeDirection = u > 0 ? "prev" : "next", i.touchesDirection = g > 0 ? "prev" : "next";
1557
- const p = i.params.loop && !n.cssMode, v = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1553
+ let p = i.isHorizontal() ? u : m, v = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1554
+ n.oneWayMovement && (p = Math.abs(p) * (l ? 1 : -1), v = Math.abs(v) * (l ? 1 : -1)), r.diff = p, p *= n.touchRatio, l && (p = -p, v = -v);
1555
+ const M = i.touchesDirection;
1556
+ i.swipeDirection = p > 0 ? "prev" : "next", i.touchesDirection = v > 0 ? "prev" : "next";
1557
+ const h = i.params.loop && !n.cssMode, S = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1558
1558
  if (!s.isMoved) {
1559
- if (p && v && i.loopFix({
1559
+ if (h && S && i.loopFix({
1560
1560
  direction: i.swipeDirection
1561
1561
  }), s.startTranslate = i.getTranslate(), i.setTransition(0), i.animating) {
1562
- const C = new window.CustomEvent("transitionend", {
1562
+ const P = new window.CustomEvent("transitionend", {
1563
1563
  bubbles: !0,
1564
1564
  cancelable: !0,
1565
1565
  detail: {
1566
1566
  bySwiperTouchMove: !0
1567
1567
  }
1568
1568
  });
1569
- i.wrapperEl.dispatchEvent(C);
1569
+ i.wrapperEl.dispatchEvent(P);
1570
1570
  }
1571
1571
  s.allowMomentumBounce = !1, n.grabCursor && (i.allowSlideNext === !0 || i.allowSlidePrev === !0) && i.setGrabCursor(!0), i.emit("sliderFirstMove", o);
1572
1572
  }
1573
- let w;
1574
- if ((/* @__PURE__ */ new Date()).getTime(), n._loopSwapReset !== !1 && s.isMoved && s.allowThresholdMove && S !== i.touchesDirection && p && v && Math.abs(u) >= 1) {
1573
+ let g;
1574
+ if ((/* @__PURE__ */ new Date()).getTime(), n._loopSwapReset !== !1 && s.isMoved && s.allowThresholdMove && M !== i.touchesDirection && h && S && Math.abs(p) >= 1) {
1575
1575
  Object.assign(r, {
1576
1576
  startX: c,
1577
1577
  startY: f,
@@ -1581,18 +1581,18 @@ function jt(t) {
1581
1581
  }), s.loopSwapReset = !0, s.startTranslate = s.currentTranslate;
1582
1582
  return;
1583
1583
  }
1584
- i.emit("sliderMove", o), s.isMoved = !0, s.currentTranslate = u + s.startTranslate;
1585
- let x = !0, b = n.resistanceRatio;
1586
- if (n.touchReleaseOnEdges && (b = 0), u > 0 ? (p && v && !w && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1584
+ i.emit("sliderMove", o), s.isMoved = !0, s.currentTranslate = p + s.startTranslate;
1585
+ let E = !0, b = n.resistanceRatio;
1586
+ if (n.touchReleaseOnEdges && (b = 0), p > 0 ? (h && S && !g && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
1587
1587
  direction: "prev",
1588
1588
  setTranslate: !0,
1589
1589
  activeSlideIndex: 0
1590
- }), s.currentTranslate > i.minTranslate() && (x = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + u) ** b))) : u < 0 && (p && v && !w && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1590
+ }), s.currentTranslate > i.minTranslate() && (E = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + p) ** b))) : p < 0 && (h && S && !g && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
1591
1591
  direction: "next",
1592
1592
  setTranslate: !0,
1593
1593
  activeSlideIndex: i.slides.length - (n.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(n.slidesPerView, 10)))
1594
- }), s.currentTranslate < i.maxTranslate() && (x = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - u) ** b))), x && (o.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
1595
- if (Math.abs(u) > n.threshold || s.allowThresholdMove) {
1594
+ }), s.currentTranslate < i.maxTranslate() && (E = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - p) ** b))), E && (o.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
1595
+ if (Math.abs(p) > n.threshold || s.allowThresholdMove) {
1596
1596
  if (!s.allowThresholdMove) {
1597
1597
  s.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, s.currentTranslate = s.startTranslate, r.diff = i.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY;
1598
1598
  return;
@@ -1603,7 +1603,7 @@ function jt(t) {
1603
1603
  }
1604
1604
  !n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && i.freeMode || n.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(s.currentTranslate), i.setTranslate(s.currentTranslate));
1605
1605
  }
1606
- function qt(t) {
1606
+ function jt(t) {
1607
1607
  const e = this, i = e.touchEventsData;
1608
1608
  let s = t;
1609
1609
  s.originalEvent && (s = s.originalEvent);
@@ -1633,51 +1633,51 @@ function qt(t) {
1633
1633
  return;
1634
1634
  }
1635
1635
  l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1636
- const f = J(), m = f - i.touchStartTime;
1636
+ const f = Z(), u = f - i.touchStartTime;
1637
1637
  if (e.allowClick) {
1638
1638
  const b = s.path || s.composedPath && s.composedPath();
1639
- e.updateClickedSlide(b && b[0] || s.target, b), e.emit("tap click", s), m < 300 && f - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
1639
+ e.updateClickedSlide(b && b[0] || s.target, b), e.emit("tap click", s), u < 300 && f - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
1640
1640
  }
1641
- if (i.lastClickTime = J(), Me(() => {
1641
+ if (i.lastClickTime = Z(), Me(() => {
1642
1642
  e.destroyed || (e.allowClick = !0);
1643
1643
  }), !i.isTouched || !i.isMoved || !e.swipeDirection || a.diff === 0 && !i.loopSwapReset || i.currentTranslate === i.startTranslate && !i.loopSwapReset) {
1644
1644
  i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1645
1645
  return;
1646
1646
  }
1647
1647
  i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
1648
- let h;
1649
- if (l.followFinger ? h = o ? e.translate : -e.translate : h = -i.currentTranslate, l.cssMode)
1648
+ let m;
1649
+ if (l.followFinger ? m = o ? e.translate : -e.translate : m = -i.currentTranslate, l.cssMode)
1650
1650
  return;
1651
1651
  if (l.freeMode && l.freeMode.enabled) {
1652
1652
  e.freeMode.onTouchEnd({
1653
- currentPos: h
1653
+ currentPos: m
1654
1654
  });
1655
1655
  return;
1656
1656
  }
1657
- const u = h >= -e.maxTranslate() && !e.params.loop;
1658
- let g = 0, S = e.slidesSizesGrid[0];
1657
+ const p = m >= -e.maxTranslate() && !e.params.loop;
1658
+ let v = 0, M = e.slidesSizesGrid[0];
1659
1659
  for (let b = 0; b < d.length; b += b < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1660
- const C = b < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1661
- typeof d[b + C] < "u" ? (u || h >= d[b] && h < d[b + C]) && (g = b, S = d[b + C] - d[b]) : (u || h >= d[b]) && (g = b, S = d[d.length - 1] - d[d.length - 2]);
1660
+ const P = b < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1661
+ typeof d[b + P] < "u" ? (p || m >= d[b] && m < d[b + P]) && (v = b, M = d[b + P] - d[b]) : (p || m >= d[b]) && (v = b, M = d[d.length - 1] - d[d.length - 2]);
1662
1662
  }
1663
- let p = null, v = null;
1664
- l.rewind && (e.isBeginning ? v = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (p = 0));
1665
- const w = (h - d[g]) / S, x = g < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1666
- if (m > l.longSwipesMs) {
1663
+ let h = null, S = null;
1664
+ l.rewind && (e.isBeginning ? S = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (h = 0));
1665
+ const g = (m - d[v]) / M, E = v < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1666
+ if (u > l.longSwipesMs) {
1667
1667
  if (!l.longSwipes) {
1668
1668
  e.slideTo(e.activeIndex);
1669
1669
  return;
1670
1670
  }
1671
- e.swipeDirection === "next" && (w >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? p : g + x) : e.slideTo(g)), e.swipeDirection === "prev" && (w > 1 - l.longSwipesRatio ? e.slideTo(g + x) : v !== null && w < 0 && Math.abs(w) > l.longSwipesRatio ? e.slideTo(v) : e.slideTo(g));
1671
+ e.swipeDirection === "next" && (g >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? h : v + E) : e.slideTo(v)), e.swipeDirection === "prev" && (g > 1 - l.longSwipesRatio ? e.slideTo(v + E) : S !== null && g < 0 && Math.abs(g) > l.longSwipesRatio ? e.slideTo(S) : e.slideTo(v));
1672
1672
  } else {
1673
1673
  if (!l.shortSwipes) {
1674
1674
  e.slideTo(e.activeIndex);
1675
1675
  return;
1676
1676
  }
1677
- e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(g + x) : e.slideTo(g) : (e.swipeDirection === "next" && e.slideTo(p !== null ? p : g + x), e.swipeDirection === "prev" && e.slideTo(v !== null ? v : g));
1677
+ e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(v + E) : e.slideTo(v) : (e.swipeDirection === "next" && e.slideTo(h !== null ? h : v + E), e.swipeDirection === "prev" && e.slideTo(S !== null ? S : v));
1678
1678
  }
1679
1679
  }
1680
- function be() {
1680
+ function Te() {
1681
1681
  const t = this, {
1682
1682
  params: e,
1683
1683
  el: i
@@ -1700,7 +1700,7 @@ function Yt(t) {
1700
1700
  const e = this;
1701
1701
  e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
1702
1702
  }
1703
- function Xt() {
1703
+ function qt() {
1704
1704
  const t = this, {
1705
1705
  wrapperEl: e,
1706
1706
  rtlTranslate: i,
@@ -1713,16 +1713,16 @@ function Xt() {
1713
1713
  const r = t.maxTranslate() - t.minTranslate();
1714
1714
  r === 0 ? n = 0 : n = (t.translate - t.minTranslate()) / r, n !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
1715
1715
  }
1716
- function Ut(t) {
1716
+ function Xt(t) {
1717
1717
  const e = this;
1718
- Z(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1718
+ Q(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1719
1719
  }
1720
- function Kt() {
1720
+ function Ut() {
1721
1721
  const t = this;
1722
1722
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1723
1723
  }
1724
- const _e = (t, e) => {
1725
- const i = q(), {
1724
+ const Ae = (t, e) => {
1725
+ const i = j(), {
1726
1726
  params: s,
1727
1727
  el: n,
1728
1728
  wrapperEl: r,
@@ -1755,25 +1755,25 @@ const _e = (t, e) => {
1755
1755
  passive: !0
1756
1756
  }), i[o]("contextmenu", t.onTouchEnd, {
1757
1757
  passive: !0
1758
- }), (s.preventClicks || s.preventClicksPropagation) && n[o]("click", t.onClick, !0), s.cssMode && r[o]("scroll", t.onScroll), s.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", be, !0) : t[d]("observerUpdate", be, !0), n[o]("load", t.onLoad, {
1758
+ }), (s.preventClicks || s.preventClicksPropagation) && n[o]("click", t.onClick, !0), s.cssMode && r[o]("scroll", t.onScroll), s.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Te, !0) : t[d]("observerUpdate", Te, !0), n[o]("load", t.onLoad, {
1759
1759
  capture: !0
1760
1760
  }));
1761
1761
  };
1762
- function Qt() {
1762
+ function Kt() {
1763
1763
  const t = this, {
1764
1764
  params: e
1765
1765
  } = t;
1766
- t.onTouchStart = Wt.bind(t), t.onTouchMove = jt.bind(t), t.onTouchEnd = qt.bind(t), t.onDocumentTouchStart = Kt.bind(t), e.cssMode && (t.onScroll = Xt.bind(t)), t.onClick = Yt.bind(t), t.onLoad = Ut.bind(t), _e(t, "on");
1766
+ t.onTouchStart = Ht.bind(t), t.onTouchMove = Wt.bind(t), t.onTouchEnd = jt.bind(t), t.onDocumentTouchStart = Ut.bind(t), e.cssMode && (t.onScroll = qt.bind(t)), t.onClick = Yt.bind(t), t.onLoad = Xt.bind(t), Ae(t, "on");
1767
1767
  }
1768
- function Zt() {
1769
- _e(this, "off");
1768
+ function Qt() {
1769
+ Ae(this, "off");
1770
1770
  }
1771
- var Jt = {
1772
- attachEvents: Qt,
1773
- detachEvents: Zt
1771
+ var Zt = {
1772
+ attachEvents: Kt,
1773
+ detachEvents: Qt
1774
1774
  };
1775
- const xe = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1776
- function ei() {
1775
+ const be = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1776
+ function Jt() {
1777
1777
  const t = this, {
1778
1778
  realIndex: e,
1779
1779
  initialized: i,
@@ -1782,30 +1782,30 @@ function ei() {
1782
1782
  } = t, r = s.breakpoints;
1783
1783
  if (!r || r && Object.keys(r).length === 0)
1784
1784
  return;
1785
- const l = q(), a = s.breakpointsBase === "window" || !s.breakpointsBase ? s.breakpointsBase : "container", o = ["window", "container"].includes(s.breakpointsBase) || !s.breakpointsBase ? t.el : l.querySelector(s.breakpointsBase), d = t.getBreakpoint(r, a, o);
1785
+ const l = j(), a = s.breakpointsBase === "window" || !s.breakpointsBase ? s.breakpointsBase : "container", o = ["window", "container"].includes(s.breakpointsBase) || !s.breakpointsBase ? t.el : l.querySelector(s.breakpointsBase), d = t.getBreakpoint(r, a, o);
1786
1786
  if (!d || t.currentBreakpoint === d)
1787
1787
  return;
1788
- const f = (d in r ? r[d] : void 0) || t.originalParams, m = xe(t, s), h = xe(t, f), u = t.params.grabCursor, g = f.grabCursor, S = s.enabled;
1789
- m && !h ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !m && h && (n.classList.add(`${s.containerModifierClass}grid`), (f.grid.fill && f.grid.fill === "column" || !f.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), u && !g ? t.unsetGrabCursor() : !u && g && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((C) => {
1790
- if (typeof f[C] > "u")
1788
+ const f = (d in r ? r[d] : void 0) || t.originalParams, u = be(t, s), m = be(t, f), p = t.params.grabCursor, v = f.grabCursor, M = s.enabled;
1789
+ u && !m ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !u && m && (n.classList.add(`${s.containerModifierClass}grid`), (f.grid.fill && f.grid.fill === "column" || !f.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), p && !v ? t.unsetGrabCursor() : !p && v && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((P) => {
1790
+ if (typeof f[P] > "u")
1791
1791
  return;
1792
- const M = s[C] && s[C].enabled, P = f[C] && f[C].enabled;
1793
- M && !P && t[C].disable(), !M && P && t[C].enable();
1792
+ const C = s[P] && s[P].enabled, y = f[P] && f[P].enabled;
1793
+ C && !y && t[P].disable(), !C && y && t[P].enable();
1794
1794
  });
1795
- const p = f.direction && f.direction !== s.direction, v = s.loop && (f.slidesPerView !== s.slidesPerView || p), w = s.loop;
1796
- p && i && t.changeDirection(), V(t.params, f);
1797
- const x = t.params.enabled, b = t.params.loop;
1795
+ const h = f.direction && f.direction !== s.direction, S = s.loop && (f.slidesPerView !== s.slidesPerView || h), g = s.loop;
1796
+ h && i && t.changeDirection(), D(t.params, f);
1797
+ const E = t.params.enabled, b = t.params.loop;
1798
1798
  Object.assign(t, {
1799
1799
  allowTouchMove: t.params.allowTouchMove,
1800
1800
  allowSlideNext: t.params.allowSlideNext,
1801
1801
  allowSlidePrev: t.params.allowSlidePrev
1802
- }), S && !x ? t.disable() : !S && x && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", f), i && (v ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !w && b ? (t.loopCreate(e), t.updateSlides()) : w && !b && t.loopDestroy()), t.emit("breakpoint", f);
1802
+ }), M && !E ? t.disable() : !M && E && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", f), i && (S ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !g && b ? (t.loopCreate(e), t.updateSlides()) : g && !b && t.loopDestroy()), t.emit("breakpoint", f);
1803
1803
  }
1804
- function ti(t, e, i) {
1804
+ function ei(t, e, i) {
1805
1805
  if (e === void 0 && (e = "window"), !t || e === "container" && !i)
1806
1806
  return;
1807
1807
  let s = !1;
1808
- const n = D(), r = e === "window" ? n.innerHeight : i.clientHeight, l = Object.keys(t).map((a) => {
1808
+ const n = V(), r = e === "window" ? n.innerHeight : i.clientHeight, l = Object.keys(t).map((a) => {
1809
1809
  if (typeof a == "string" && a.indexOf("@") === 0) {
1810
1810
  const o = parseFloat(a.substr(1));
1811
1811
  return {
@@ -1828,11 +1828,11 @@ function ti(t, e, i) {
1828
1828
  }
1829
1829
  return s || "max";
1830
1830
  }
1831
- var ii = {
1832
- setBreakpoint: ei,
1833
- getBreakpoint: ti
1831
+ var ti = {
1832
+ setBreakpoint: Jt,
1833
+ getBreakpoint: ei
1834
1834
  };
1835
- function si(t, e) {
1835
+ function ii(t, e) {
1836
1836
  const i = [];
1837
1837
  return t.forEach((s) => {
1838
1838
  typeof s == "object" ? Object.keys(s).forEach((n) => {
@@ -1840,14 +1840,14 @@ function si(t, e) {
1840
1840
  }) : typeof s == "string" && i.push(e + s);
1841
1841
  }), i;
1842
1842
  }
1843
- function ri() {
1843
+ function si() {
1844
1844
  const t = this, {
1845
1845
  classNames: e,
1846
1846
  params: i,
1847
1847
  rtl: s,
1848
1848
  el: n,
1849
1849
  device: r
1850
- } = t, l = si(["initialized", i.direction, {
1850
+ } = t, l = ii(["initialized", i.direction, {
1851
1851
  "free-mode": t.params.freeMode && i.freeMode.enabled
1852
1852
  }, {
1853
1853
  autoheight: i.autoHeight
@@ -1870,18 +1870,18 @@ function ri() {
1870
1870
  }], i.containerModifierClass);
1871
1871
  e.push(...l), n.classList.add(...e), t.emitContainerClasses();
1872
1872
  }
1873
- function ni() {
1873
+ function ri() {
1874
1874
  const t = this, {
1875
1875
  el: e,
1876
1876
  classNames: i
1877
1877
  } = t;
1878
1878
  !e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
1879
1879
  }
1880
- var ai = {
1881
- addClasses: ri,
1882
- removeClasses: ni
1880
+ var ni = {
1881
+ addClasses: si,
1882
+ removeClasses: ri
1883
1883
  };
1884
- function li() {
1884
+ function ai() {
1885
1885
  const t = this, {
1886
1886
  isLocked: e,
1887
1887
  params: i
@@ -1895,9 +1895,9 @@ function li() {
1895
1895
  t.isLocked = t.snapGrid.length === 1;
1896
1896
  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");
1897
1897
  }
1898
- var oi = {
1899
- checkOverflow: li
1900
- }, ue = {
1898
+ var li = {
1899
+ checkOverflow: ai
1900
+ }, fe = {
1901
1901
  init: !0,
1902
1902
  direction: "horizontal",
1903
1903
  oneWayMovement: !1,
@@ -2018,72 +2018,72 @@ var oi = {
2018
2018
  // Internals
2019
2019
  _emitClasses: !1
2020
2020
  };
2021
- function di(t, e) {
2021
+ function oi(t, e) {
2022
2022
  return function(s) {
2023
2023
  s === void 0 && (s = {});
2024
2024
  const n = Object.keys(s)[0], r = s[n];
2025
2025
  if (typeof r != "object" || r === null) {
2026
- V(e, s);
2026
+ D(e, s);
2027
2027
  return;
2028
2028
  }
2029
2029
  if (t[n] === !0 && (t[n] = {
2030
2030
  enabled: !0
2031
2031
  }), n === "navigation" && t[n] && t[n].enabled && !t[n].prevEl && !t[n].nextEl && (t[n].auto = !0), ["pagination", "scrollbar"].indexOf(n) >= 0 && t[n] && t[n].enabled && !t[n].el && (t[n].auto = !0), !(n in t && "enabled" in r)) {
2032
- V(e, s);
2032
+ D(e, s);
2033
2033
  return;
2034
2034
  }
2035
2035
  typeof t[n] == "object" && !("enabled" in t[n]) && (t[n].enabled = !0), t[n] || (t[n] = {
2036
2036
  enabled: !1
2037
- }), V(e, s);
2037
+ }), D(e, s);
2038
2038
  };
2039
2039
  }
2040
- const oe = {
2041
- eventsEmitter: at,
2042
- update: vt,
2043
- translate: Et,
2040
+ const ae = {
2041
+ eventsEmitter: nt,
2042
+ update: gt,
2043
+ translate: xt,
2044
2044
  transition: Mt,
2045
- slide: Dt,
2046
- loop: Ft,
2045
+ slide: Gt,
2046
+ loop: Nt,
2047
2047
  grabCursor: $t,
2048
- events: Jt,
2049
- breakpoints: ii,
2050
- checkOverflow: oi,
2051
- classes: ai
2052
- }, de = {};
2053
- let me = class H {
2048
+ events: Zt,
2049
+ breakpoints: ti,
2050
+ checkOverflow: li,
2051
+ classes: ni
2052
+ }, le = {};
2053
+ let pe = class $ {
2054
2054
  constructor() {
2055
2055
  let e, i;
2056
2056
  for (var s = arguments.length, n = new Array(s), r = 0; r < s; r++)
2057
2057
  n[r] = arguments[r];
2058
- n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = V({}, i), e && !i.el && (i.el = e);
2059
- const l = q();
2058
+ n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = D({}, i), e && !i.el && (i.el = e);
2059
+ const l = j();
2060
2060
  if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
2061
2061
  const c = [];
2062
2062
  return l.querySelectorAll(i.el).forEach((f) => {
2063
- const m = V({}, i, {
2063
+ const u = D({}, i, {
2064
2064
  el: f
2065
2065
  });
2066
- c.push(new H(m));
2066
+ c.push(new $(u));
2067
2067
  }), c;
2068
2068
  }
2069
2069
  const a = this;
2070
- a.__swiper__ = !0, a.support = Le(), a.device = Oe({
2070
+ a.__swiper__ = !0, a.support = Ie(), a.device = Oe({
2071
2071
  userAgent: i.userAgent
2072
- }), a.browser = ze(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
2072
+ }), a.browser = Le(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
2073
2073
  const o = {};
2074
2074
  a.modules.forEach((c) => {
2075
2075
  c({
2076
2076
  params: i,
2077
2077
  swiper: a,
2078
- extendParams: di(i, o),
2078
+ extendParams: oi(i, o),
2079
2079
  on: a.on.bind(a),
2080
2080
  once: a.once.bind(a),
2081
2081
  off: a.off.bind(a),
2082
2082
  emit: a.emit.bind(a)
2083
2083
  });
2084
2084
  });
2085
- const d = V({}, ue, o);
2086
- return a.params = V({}, d, de, i), a.originalParams = V({}, a.params), a.passedParams = V({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((c) => {
2085
+ const d = D({}, fe, o);
2086
+ return a.params = D({}, d, le, i), a.originalParams = D({}, a.params), a.passedParams = D({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((c) => {
2087
2087
  a.on(c, a.params.on[c]);
2088
2088
  }), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
2089
2089
  enabled: a.params.enabled,
@@ -2174,8 +2174,8 @@ let me = class H {
2174
2174
  const {
2175
2175
  slidesEl: i,
2176
2176
  params: s
2177
- } = this, n = R(i, `.${s.slideClass}, swiper-slide`), r = ge(n[0]);
2178
- return ge(e) - r;
2177
+ } = this, n = k(i, `.${s.slideClass}, swiper-slide`), r = he(n[0]);
2178
+ return he(e) - r;
2179
2179
  }
2180
2180
  getSlideIndexByData(e) {
2181
2181
  return this.getSlideIndex(this.slides.find((i) => i.getAttribute("data-swiper-slide-index") * 1 === e));
@@ -2188,7 +2188,7 @@ let me = class H {
2188
2188
  slidesEl: i,
2189
2189
  params: s
2190
2190
  } = e;
2191
- e.slides = R(i, `.${s.slideClass}, swiper-slide`);
2191
+ e.slides = k(i, `.${s.slideClass}, swiper-slide`);
2192
2192
  }
2193
2193
  enable() {
2194
2194
  const e = this;
@@ -2242,11 +2242,11 @@ let me = class H {
2242
2242
  if (typeof n.slidesPerView == "number")
2243
2243
  return n.slidesPerView;
2244
2244
  if (n.centeredSlides) {
2245
- let f = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, m;
2246
- for (let h = d + 1; h < r.length; h += 1)
2247
- r[h] && !m && (f += Math.ceil(r[h].swiperSlideSize), c += 1, f > o && (m = !0));
2248
- for (let h = d - 1; h >= 0; h -= 1)
2249
- r[h] && !m && (f += r[h].swiperSlideSize, c += 1, f > o && (m = !0));
2245
+ let f = r[d] ? Math.ceil(r[d].swiperSlideSize) : 0, u;
2246
+ for (let m = d + 1; m < r.length; m += 1)
2247
+ r[m] && !u && (f += Math.ceil(r[m].swiperSlideSize), c += 1, f > o && (u = !0));
2248
+ for (let m = d - 1; m >= 0; m -= 1)
2249
+ r[m] && !u && (f += r[m].swiperSlideSize, c += 1, f > o && (u = !0));
2250
2250
  } else if (e === "current")
2251
2251
  for (let f = d + 1; f < r.length; f += 1)
2252
2252
  (i ? l[f] + a[f] - l[d] < o : l[f] - l[d] < o) && (c += 1);
@@ -2264,7 +2264,7 @@ let me = class H {
2264
2264
  params: s
2265
2265
  } = e;
2266
2266
  s.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((l) => {
2267
- l.complete && Z(e, l);
2267
+ l.complete && Q(e, l);
2268
2268
  }), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
2269
2269
  function n() {
2270
2270
  const l = e.rtlTranslate ? e.translate * -1 : e.translate, a = Math.min(Math.max(l, e.maxTranslate()), e.minTranslate());
@@ -2303,8 +2303,8 @@ let me = class H {
2303
2303
  return !1;
2304
2304
  s.swiper = i, s.parentNode && s.parentNode.host && s.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
2305
2305
  const n = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
2306
- let l = (() => s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : R(s, n())[0])();
2307
- return !l && i.params.createElements && (l = te("div", i.params.wrapperClass), s.append(l), R(s, `.${i.params.slideClass}`).forEach((a) => {
2306
+ let l = (() => s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : k(s, n())[0])();
2307
+ return !l && i.params.createElements && (l = de("div", i.params.wrapperClass), s.append(l), k(s, `.${i.params.slideClass}`).forEach((a) => {
2308
2308
  l.append(a);
2309
2309
  })), Object.assign(i, {
2310
2310
  el: s,
@@ -2313,9 +2313,9 @@ let me = class H {
2313
2313
  hostEl: i.isElement ? s.parentNode.host : s,
2314
2314
  mounted: !0,
2315
2315
  // RTL
2316
- rtl: s.dir.toLowerCase() === "rtl" || W(s, "direction") === "rtl",
2317
- rtlTranslate: i.params.direction === "horizontal" && (s.dir.toLowerCase() === "rtl" || W(s, "direction") === "rtl"),
2318
- wrongRTL: W(l, "display") === "-webkit-box"
2316
+ rtl: s.dir.toLowerCase() === "rtl" || H(s, "direction") === "rtl",
2317
+ rtlTranslate: i.params.direction === "horizontal" && (s.dir.toLowerCase() === "rtl" || H(s, "direction") === "rtl"),
2318
+ wrongRTL: H(l, "display") === "-webkit-box"
2319
2319
  }), !0;
2320
2320
  }
2321
2321
  init(e) {
@@ -2325,10 +2325,10 @@ let me = class H {
2325
2325
  i.emit("beforeInit"), i.params.breakpoints && i.setBreakpoint(), i.addClasses(), i.updateSize(), i.updateSlides(), i.params.watchOverflow && i.checkOverflow(), i.params.grabCursor && i.enabled && i.setGrabCursor(), i.params.loop && i.virtual && i.params.virtual.enabled ? i.slideTo(i.params.initialSlide + i.virtual.slidesBefore, 0, i.params.runCallbacksOnInit, !1, !0) : i.slideTo(i.params.initialSlide, 0, i.params.runCallbacksOnInit, !1, !0), i.params.loop && i.loopCreate(void 0, !0), i.attachEvents();
2326
2326
  const n = [...i.el.querySelectorAll('[loading="lazy"]')];
2327
2327
  return i.isElement && n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')), n.forEach((r) => {
2328
- r.complete ? Z(i, r) : r.addEventListener("load", (l) => {
2329
- Z(i, l.target);
2328
+ r.complete ? Q(i, r) : r.addEventListener("load", (l) => {
2329
+ Q(i, l.target);
2330
2330
  });
2331
- }), fe(i), i.initialized = !0, fe(i), i.emit("init"), i.emit("afterInit"), i;
2331
+ }), ce(i), i.initialized = !0, ce(i), i.emit("init"), i.emit("afterInit"), i;
2332
2332
  }
2333
2333
  destroy(e, i) {
2334
2334
  e === void 0 && (e = !0), i === void 0 && (i = !0);
@@ -2342,165 +2342,33 @@ let me = class H {
2342
2342
  o.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), o.removeAttribute("style"), o.removeAttribute("data-swiper-slide-index");
2343
2343
  })), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((o) => {
2344
2344
  s.off(o);
2345
- }), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), qe(s)), s.destroyed = !0), null;
2345
+ }), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), je(s)), s.destroyed = !0), null;
2346
2346
  }
2347
2347
  static extendDefaults(e) {
2348
- V(de, e);
2348
+ D(le, e);
2349
2349
  }
2350
2350
  static get extendedDefaults() {
2351
- return de;
2351
+ return le;
2352
2352
  }
2353
2353
  static get defaults() {
2354
- return ue;
2354
+ return fe;
2355
2355
  }
2356
2356
  static installModule(e) {
2357
- H.prototype.__modules__ || (H.prototype.__modules__ = []);
2358
- const i = H.prototype.__modules__;
2357
+ $.prototype.__modules__ || ($.prototype.__modules__ = []);
2358
+ const i = $.prototype.__modules__;
2359
2359
  typeof e == "function" && i.indexOf(e) < 0 && i.push(e);
2360
2360
  }
2361
2361
  static use(e) {
2362
- return Array.isArray(e) ? (e.forEach((i) => H.installModule(i)), H) : (H.installModule(e), H);
2362
+ return Array.isArray(e) ? (e.forEach((i) => $.installModule(i)), $) : ($.installModule(e), $);
2363
2363
  }
2364
2364
  };
2365
- Object.keys(oe).forEach((t) => {
2366
- Object.keys(oe[t]).forEach((e) => {
2367
- me.prototype[e] = oe[t][e];
2365
+ Object.keys(ae).forEach((t) => {
2366
+ Object.keys(ae[t]).forEach((e) => {
2367
+ pe.prototype[e] = ae[t][e];
2368
2368
  });
2369
2369
  });
2370
- me.use([rt, nt]);
2371
- function ci(t, e, i, s) {
2372
- return t.params.createElements && Object.keys(s).forEach((n) => {
2373
- if (!i[n] && i.auto === !0) {
2374
- let r = R(t.el, `.${s[n]}`)[0];
2375
- r || (r = te("div", s[n]), r.className = s[n], t.el.append(r)), i[n] = r, e[n] = r;
2376
- }
2377
- }), i;
2378
- }
2379
- function Ei(t) {
2380
- let {
2381
- swiper: e,
2382
- extendParams: i,
2383
- on: s,
2384
- emit: n
2385
- } = t;
2386
- i({
2387
- navigation: {
2388
- nextEl: null,
2389
- prevEl: null,
2390
- hideOnClick: !1,
2391
- disabledClass: "swiper-button-disabled",
2392
- hiddenClass: "swiper-button-hidden",
2393
- lockClass: "swiper-button-lock",
2394
- navigationDisabledClass: "swiper-navigation-disabled"
2395
- }
2396
- }), e.navigation = {
2397
- nextEl: null,
2398
- prevEl: null
2399
- };
2400
- function r(u) {
2401
- let g;
2402
- return u && typeof u == "string" && e.isElement && (g = e.el.querySelector(u) || e.hostEl.querySelector(u), g) ? g : (u && (typeof u == "string" && (g = [...document.querySelectorAll(u)]), e.params.uniqueNavElements && typeof u == "string" && g && g.length > 1 && e.el.querySelectorAll(u).length === 1 ? g = e.el.querySelector(u) : g && g.length === 1 && (g = g[0])), u && !g ? u : g);
2403
- }
2404
- function l(u, g) {
2405
- const S = e.params.navigation;
2406
- u = $(u), u.forEach((p) => {
2407
- p && (p.classList[g ? "add" : "remove"](...S.disabledClass.split(" ")), p.tagName === "BUTTON" && (p.disabled = g), e.params.watchOverflow && e.enabled && p.classList[e.isLocked ? "add" : "remove"](S.lockClass));
2408
- });
2409
- }
2410
- function a() {
2411
- const {
2412
- nextEl: u,
2413
- prevEl: g
2414
- } = e.navigation;
2415
- if (e.params.loop) {
2416
- l(g, !1), l(u, !1);
2417
- return;
2418
- }
2419
- l(g, e.isBeginning && !e.params.rewind), l(u, e.isEnd && !e.params.rewind);
2420
- }
2421
- function o(u) {
2422
- u.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), n("navigationPrev"));
2423
- }
2424
- function d(u) {
2425
- u.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), n("navigationNext"));
2426
- }
2427
- function c() {
2428
- const u = e.params.navigation;
2429
- if (e.params.navigation = ci(e, e.originalParams.navigation, e.params.navigation, {
2430
- nextEl: "swiper-button-next",
2431
- prevEl: "swiper-button-prev"
2432
- }), !(u.nextEl || u.prevEl))
2433
- return;
2434
- let g = r(u.nextEl), S = r(u.prevEl);
2435
- Object.assign(e.navigation, {
2436
- nextEl: g,
2437
- prevEl: S
2438
- }), g = $(g), S = $(S);
2439
- const p = (v, w) => {
2440
- v && v.addEventListener("click", w === "next" ? d : o), !e.enabled && v && v.classList.add(...u.lockClass.split(" "));
2441
- };
2442
- g.forEach((v) => p(v, "next")), S.forEach((v) => p(v, "prev"));
2443
- }
2444
- function f() {
2445
- let {
2446
- nextEl: u,
2447
- prevEl: g
2448
- } = e.navigation;
2449
- u = $(u), g = $(g);
2450
- const S = (p, v) => {
2451
- p.removeEventListener("click", v === "next" ? d : o), p.classList.remove(...e.params.navigation.disabledClass.split(" "));
2452
- };
2453
- u.forEach((p) => S(p, "next")), g.forEach((p) => S(p, "prev"));
2454
- }
2455
- s("init", () => {
2456
- e.params.navigation.enabled === !1 ? h() : (c(), a());
2457
- }), s("toEdge fromEdge lock unlock", () => {
2458
- a();
2459
- }), s("destroy", () => {
2460
- f();
2461
- }), s("enable disable", () => {
2462
- let {
2463
- nextEl: u,
2464
- prevEl: g
2465
- } = e.navigation;
2466
- if (u = $(u), g = $(g), e.enabled) {
2467
- a();
2468
- return;
2469
- }
2470
- [...u, ...g].filter((S) => !!S).forEach((S) => S.classList.add(e.params.navigation.lockClass));
2471
- }), s("click", (u, g) => {
2472
- let {
2473
- nextEl: S,
2474
- prevEl: p
2475
- } = e.navigation;
2476
- S = $(S), p = $(p);
2477
- const v = g.target;
2478
- let w = p.includes(v) || S.includes(v);
2479
- if (e.isElement && !w) {
2480
- const x = g.path || g.composedPath && g.composedPath();
2481
- x && (w = x.find((b) => S.includes(b) || p.includes(b)));
2482
- }
2483
- if (e.params.navigation.hideOnClick && !w) {
2484
- if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === v || e.pagination.el.contains(v)))
2485
- return;
2486
- let x;
2487
- S.length ? x = S[0].classList.contains(e.params.navigation.hiddenClass) : p.length && (x = p[0].classList.contains(e.params.navigation.hiddenClass)), n(x === !0 ? "navigationShow" : "navigationHide"), [...S, ...p].filter((b) => !!b).forEach((b) => b.classList.toggle(e.params.navigation.hiddenClass));
2488
- }
2489
- });
2490
- const m = () => {
2491
- e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), c(), a();
2492
- }, h = () => {
2493
- e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), f();
2494
- };
2495
- Object.assign(e.navigation, {
2496
- enable: m,
2497
- disable: h,
2498
- update: a,
2499
- init: c,
2500
- destroy: f
2501
- });
2502
- }
2503
- const Ge = [
2370
+ pe.use([st, rt]);
2371
+ const _e = [
2504
2372
  "eventsPrefix",
2505
2373
  "injectStyles",
2506
2374
  "injectStylesUrls",
@@ -2619,35 +2487,35 @@ const Ge = [
2619
2487
  "zoom",
2620
2488
  "control"
2621
2489
  ];
2622
- function j(t) {
2490
+ function W(t) {
2623
2491
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
2624
2492
  }
2625
2493
  function Y(t, e) {
2626
2494
  const i = ["__proto__", "constructor", "prototype"];
2627
2495
  Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
2628
- typeof t[s] > "u" ? t[s] = e[s] : j(e[s]) && j(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : Y(t[s], e[s]) : t[s] = e[s];
2496
+ typeof t[s] > "u" ? t[s] = e[s] : W(e[s]) && W(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : Y(t[s], e[s]) : t[s] = e[s];
2629
2497
  });
2630
2498
  }
2631
- function De(t) {
2499
+ function Ge(t) {
2632
2500
  return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
2633
2501
  }
2634
2502
  function Ve(t) {
2635
2503
  return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
2636
2504
  }
2637
- function Be(t) {
2505
+ function De(t) {
2638
2506
  return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
2639
2507
  }
2640
- function Ne(t) {
2508
+ function Be(t) {
2641
2509
  t === void 0 && (t = "");
2642
2510
  const e = t.split(" ").map((s) => s.trim()).filter((s) => !!s), i = [];
2643
2511
  return e.forEach((s) => {
2644
2512
  i.indexOf(s) < 0 && i.push(s);
2645
2513
  }), i.join(" ");
2646
2514
  }
2647
- function fi(t) {
2515
+ function di(t) {
2648
2516
  return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
2649
2517
  }
2650
- function ui(t) {
2518
+ function ci(t) {
2651
2519
  let {
2652
2520
  swiper: e,
2653
2521
  slides: i,
@@ -2658,37 +2526,37 @@ function ui(t) {
2658
2526
  scrollbarEl: a,
2659
2527
  paginationEl: o
2660
2528
  } = t;
2661
- const d = n.filter((E) => E !== "children" && E !== "direction" && E !== "wrapperClass"), {
2529
+ const d = n.filter((T) => T !== "children" && T !== "direction" && T !== "wrapperClass"), {
2662
2530
  params: c,
2663
2531
  pagination: f,
2664
- navigation: m,
2665
- scrollbar: h,
2666
- virtual: u,
2667
- thumbs: g
2532
+ navigation: u,
2533
+ scrollbar: m,
2534
+ virtual: p,
2535
+ thumbs: v
2668
2536
  } = e;
2669
- let S, p, v, w, x, b, C, M;
2670
- n.includes("thumbs") && s.thumbs && s.thumbs.swiper && !s.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (S = !0), n.includes("controller") && s.controller && s.controller.control && c.controller && !c.controller.control && (p = !0), n.includes("pagination") && s.pagination && (s.pagination.el || o) && (c.pagination || c.pagination === !1) && f && !f.el && (v = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && h && !h.el && (w = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (c.navigation || c.navigation === !1) && m && !m.prevEl && !m.nextEl && (x = !0);
2671
- const P = (E) => {
2672
- e[E] && (e[E].destroy(), E === "navigation" ? (e.isElement && (e[E].prevEl.remove(), e[E].nextEl.remove()), c[E].prevEl = void 0, c[E].nextEl = void 0, e[E].prevEl = void 0, e[E].nextEl = void 0) : (e.isElement && e[E].el.remove(), c[E].el = void 0, e[E].el = void 0));
2537
+ let M, h, S, g, E, b, P, C;
2538
+ n.includes("thumbs") && s.thumbs && s.thumbs.swiper && !s.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (M = !0), n.includes("controller") && s.controller && s.controller.control && c.controller && !c.controller.control && (h = !0), n.includes("pagination") && s.pagination && (s.pagination.el || o) && (c.pagination || c.pagination === !1) && f && !f.el && (S = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && m && !m.el && (g = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (c.navigation || c.navigation === !1) && u && !u.prevEl && !u.nextEl && (E = !0);
2539
+ const y = (T) => {
2540
+ e[T] && (e[T].destroy(), T === "navigation" ? (e.isElement && (e[T].prevEl.remove(), e[T].nextEl.remove()), c[T].prevEl = void 0, c[T].nextEl = void 0, e[T].prevEl = void 0, e[T].nextEl = void 0) : (e.isElement && e[T].el.remove(), c[T].el = void 0, e[T].el = void 0));
2673
2541
  };
2674
- n.includes("loop") && e.isElement && (c.loop && !s.loop ? b = !0 : !c.loop && s.loop ? C = !0 : M = !0), d.forEach((E) => {
2675
- if (j(c[E]) && j(s[E]))
2676
- Object.assign(c[E], s[E]), (E === "navigation" || E === "pagination" || E === "scrollbar") && "enabled" in s[E] && !s[E].enabled && P(E);
2542
+ n.includes("loop") && e.isElement && (c.loop && !s.loop ? b = !0 : !c.loop && s.loop ? P = !0 : C = !0), d.forEach((T) => {
2543
+ if (W(c[T]) && W(s[T]))
2544
+ Object.assign(c[T], s[T]), (T === "navigation" || T === "pagination" || T === "scrollbar") && "enabled" in s[T] && !s[T].enabled && y(T);
2677
2545
  else {
2678
- const T = s[E];
2679
- (T === !0 || T === !1) && (E === "navigation" || E === "pagination" || E === "scrollbar") ? T === !1 && P(E) : c[E] = s[E];
2546
+ const w = s[T];
2547
+ (w === !0 || w === !1) && (T === "navigation" || T === "pagination" || T === "scrollbar") ? w === !1 && y(T) : c[T] = s[T];
2680
2548
  }
2681
- }), d.includes("controller") && !p && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), n.includes("children") && i && u && c.virtual.enabled ? (u.slides = i, u.update(!0)) : n.includes("virtual") && u && c.virtual.enabled && (i && (u.slides = i), u.update(!0)), n.includes("children") && i && c.loop && (M = !0), S && g.init() && g.update(!0), p && (e.controller.control = c.controller.control), v && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (c.pagination.el = o), f.init(), f.render(), f.update()), w && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (c.scrollbar.el = a), h.init(), h.updateSize(), h.setTranslate()), x && (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 && (c.navigation.nextEl = r), l && (c.navigation.prevEl = l), m.init(), m.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (b || M) && e.loopDestroy(), (C || M) && e.loopCreate(), e.update();
2549
+ }), d.includes("controller") && !h && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), n.includes("children") && i && p && c.virtual.enabled ? (p.slides = i, p.update(!0)) : n.includes("virtual") && p && c.virtual.enabled && (i && (p.slides = i), p.update(!0)), n.includes("children") && i && c.loop && (C = !0), M && v.init() && v.update(!0), h && (e.controller.control = c.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 && (c.pagination.el = o), f.init(), f.render(), f.update()), g && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (c.scrollbar.el = a), m.init(), m.updateSize(), m.setTranslate()), E && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), ve(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"), ve(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (c.navigation.nextEl = r), l && (c.navigation.prevEl = l), u.init(), u.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (b || C) && e.loopDestroy(), (P || C) && e.loopCreate(), e.update();
2682
2550
  }
2683
- function pi(t, e) {
2551
+ function fi(t, e) {
2684
2552
  t === void 0 && (t = {}), e === void 0 && (e = !0);
2685
2553
  const i = {
2686
2554
  on: {}
2687
2555
  }, s = {}, n = {};
2688
- Y(i, ue), i._emitClasses = !0, i.init = !1;
2689
- const r = {}, l = Ge.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
2556
+ Y(i, fe), i._emitClasses = !0, i.init = !1;
2557
+ const r = {}, l = _e.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
2690
2558
  return Object.keys(a).forEach((o) => {
2691
- typeof t[o] > "u" || (l.indexOf(o) >= 0 ? j(t[o]) ? (i[o] = {}, n[o] = {}, Y(i[o], t[o]), Y(n[o], t[o])) : (i[o] = t[o], n[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? e ? s[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : i.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : r[o] = t[o]);
2559
+ typeof t[o] > "u" || (l.indexOf(o) >= 0 ? W(t[o]) ? (i[o] = {}, n[o] = {}, Y(i[o], t[o]), Y(n[o], t[o])) : (i[o] = t[o], n[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? e ? s[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : i.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : r[o] = t[o]);
2692
2560
  }), ["navigation", "pagination", "scrollbar"].forEach((o) => {
2693
2561
  i[o] === !0 && (i[o] = {}), i[o] === !1 && delete i[o];
2694
2562
  }), {
@@ -2698,7 +2566,7 @@ function pi(t, e) {
2698
2566
  events: s
2699
2567
  };
2700
2568
  }
2701
- function mi(t, e) {
2569
+ function ui(t, e) {
2702
2570
  let {
2703
2571
  el: i,
2704
2572
  nextEl: s,
@@ -2707,9 +2575,9 @@ function mi(t, e) {
2707
2575
  scrollbarEl: l,
2708
2576
  swiper: a
2709
2577
  } = t;
2710
- De(e) && s && n && (a.params.navigation.nextEl = s, a.originalParams.navigation.nextEl = s, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), Ve(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), Be(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(i);
2578
+ Ge(e) && s && n && (a.params.navigation.nextEl = s, a.originalParams.navigation.nextEl = s, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), Ve(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), De(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(i);
2711
2579
  }
2712
- function hi(t, e, i, s, n) {
2580
+ function pi(t, e, i, s, n) {
2713
2581
  const r = [];
2714
2582
  if (!e)
2715
2583
  return r;
@@ -2720,9 +2588,9 @@ function hi(t, e, i, s, n) {
2720
2588
  const o = s.map(n), d = i.map(n);
2721
2589
  o.join("") !== d.join("") && l("children"), s.length !== i.length && l("children");
2722
2590
  }
2723
- return Ge.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
2591
+ return _e.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
2724
2592
  if (o in t && o in e)
2725
- if (j(t[o]) && j(e[o])) {
2593
+ if (W(t[o]) && W(e[o])) {
2726
2594
  const d = Object.keys(t[o]), c = Object.keys(e[o]);
2727
2595
  d.length !== c.length ? l(o) : (d.forEach((f) => {
2728
2596
  t[o][f] !== e[o][f] && l(o);
@@ -2733,29 +2601,29 @@ function hi(t, e, i, s, n) {
2733
2601
  t[o] !== e[o] && l(o);
2734
2602
  }), r;
2735
2603
  }
2736
- const gi = (t) => {
2604
+ const mi = (t) => {
2737
2605
  !t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.emit("_virtualUpdated"), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
2738
2606
  };
2739
- function ie() {
2740
- return ie = Object.assign ? Object.assign.bind() : function(t) {
2607
+ function ee() {
2608
+ return ee = Object.assign ? Object.assign.bind() : function(t) {
2741
2609
  for (var e = 1; e < arguments.length; e++) {
2742
2610
  var i = arguments[e];
2743
2611
  for (var s in i)
2744
2612
  Object.prototype.hasOwnProperty.call(i, s) && (t[s] = i[s]);
2745
2613
  }
2746
2614
  return t;
2747
- }, ie.apply(this, arguments);
2615
+ }, ee.apply(this, arguments);
2748
2616
  }
2749
- function Fe(t) {
2617
+ function Ne(t) {
2750
2618
  return t.type && t.type.displayName && t.type.displayName.includes("SwiperSlide");
2751
2619
  }
2752
- function ke(t) {
2620
+ function Fe(t) {
2753
2621
  const e = [];
2754
2622
  return A.Children.toArray(t).forEach((i) => {
2755
- Fe(i) ? e.push(i) : i.props && i.props.children && ke(i.props.children).forEach((s) => e.push(s));
2623
+ Ne(i) ? e.push(i) : i.props && i.props.children && Fe(i.props.children).forEach((s) => e.push(s));
2756
2624
  }), e;
2757
2625
  }
2758
- function vi(t) {
2626
+ function hi(t) {
2759
2627
  const e = [], i = {
2760
2628
  "container-start": [],
2761
2629
  "container-end": [],
@@ -2763,12 +2631,12 @@ function vi(t) {
2763
2631
  "wrapper-end": []
2764
2632
  };
2765
2633
  return A.Children.toArray(t).forEach((s) => {
2766
- if (Fe(s))
2634
+ if (Ne(s))
2767
2635
  e.push(s);
2768
2636
  else if (s.props && s.props.slot && i[s.props.slot])
2769
2637
  i[s.props.slot].push(s);
2770
2638
  else if (s.props && s.props.children) {
2771
- const n = ke(s.props.children);
2639
+ const n = Fe(s.props.children);
2772
2640
  n.length > 0 ? n.forEach((r) => e.push(r)) : i["container-end"].push(s);
2773
2641
  } else
2774
2642
  i["container-end"].push(s);
@@ -2777,7 +2645,7 @@ function vi(t) {
2777
2645
  slots: i
2778
2646
  };
2779
2647
  }
2780
- function wi(t, e, i) {
2648
+ function gi(t, e, i) {
2781
2649
  if (!i)
2782
2650
  return null;
2783
2651
  const s = (c) => {
@@ -2799,10 +2667,10 @@ function wi(t, e, i) {
2799
2667
  key: c.props.virtualIndex || c.key || `slide-${f}`
2800
2668
  }));
2801
2669
  }
2802
- function U(t, e) {
2803
- return typeof window > "u" ? ce(t, e) : He(t, e);
2670
+ function X(t, e) {
2671
+ return typeof window > "u" ? oe(t, e) : ke(t, e);
2804
2672
  }
2805
- const Ee = /* @__PURE__ */ Pe(null), Si = /* @__PURE__ */ Pe(null), Ti = /* @__PURE__ */ ye(function(t, e) {
2673
+ const xe = /* @__PURE__ */ ye(null), vi = /* @__PURE__ */ ye(null), wi = /* @__PURE__ */ Ee(function(t, e) {
2806
2674
  let {
2807
2675
  className: i,
2808
2676
  tag: s = "div",
@@ -2811,111 +2679,111 @@ const Ee = /* @__PURE__ */ Pe(null), Si = /* @__PURE__ */ Pe(null), Ti = /* @__P
2811
2679
  onSwiper: l,
2812
2680
  ...a
2813
2681
  } = t === void 0 ? {} : t, o = !1;
2814
- const [d, c] = X("swiper"), [f, m] = X(null), [h, u] = X(!1), g = k(!1), S = k(null), p = k(null), v = k(null), w = k(null), x = k(null), b = k(null), C = k(null), M = k(null), {
2815
- params: P,
2816
- passedParams: E,
2817
- rest: T,
2818
- events: y
2819
- } = pi(a), {
2682
+ const [d, c] = q("swiper"), [f, u] = q(null), [m, p] = q(!1), v = R(!1), M = R(null), h = R(null), S = R(null), g = R(null), E = R(null), b = R(null), P = R(null), C = R(null), {
2683
+ params: y,
2684
+ passedParams: T,
2685
+ rest: w,
2686
+ events: x
2687
+ } = fi(a), {
2820
2688
  slides: I,
2821
2689
  slots: z
2822
- } = vi(r), B = () => {
2823
- u(!h);
2690
+ } = hi(r), B = () => {
2691
+ p(!m);
2824
2692
  };
2825
- Object.assign(P.on, {
2826
- _containerClasses(O, F) {
2693
+ Object.assign(y.on, {
2694
+ _containerClasses(L, F) {
2827
2695
  c(F);
2828
2696
  }
2829
2697
  });
2830
2698
  const N = () => {
2831
- Object.assign(P.on, y), o = !0;
2832
- const O = {
2833
- ...P
2699
+ Object.assign(y.on, x), o = !0;
2700
+ const L = {
2701
+ ...y
2834
2702
  };
2835
- if (delete O.wrapperClass, p.current = new me(O), p.current.virtual && p.current.params.virtual.enabled) {
2836
- p.current.virtual.slides = I;
2703
+ if (delete L.wrapperClass, h.current = new pe(L), h.current.virtual && h.current.params.virtual.enabled) {
2704
+ h.current.virtual.slides = I;
2837
2705
  const F = {
2838
2706
  cache: !1,
2839
2707
  slides: I,
2840
- renderExternal: m,
2708
+ renderExternal: u,
2841
2709
  renderExternalUpdate: !1
2842
2710
  };
2843
- Y(p.current.params.virtual, F), Y(p.current.originalParams.virtual, F);
2711
+ Y(h.current.params.virtual, F), Y(h.current.originalParams.virtual, F);
2844
2712
  }
2845
2713
  };
2846
- S.current || N(), p.current && p.current.on("_beforeBreakpoint", B);
2847
- const L = () => {
2848
- o || !y || !p.current || Object.keys(y).forEach((O) => {
2849
- p.current.on(O, y[O]);
2714
+ M.current || N(), h.current && h.current.on("_beforeBreakpoint", B);
2715
+ const O = () => {
2716
+ o || !x || !h.current || Object.keys(x).forEach((L) => {
2717
+ h.current.on(L, x[L]);
2850
2718
  });
2851
2719
  }, _ = () => {
2852
- !y || !p.current || Object.keys(y).forEach((O) => {
2853
- p.current.off(O, y[O]);
2720
+ !x || !h.current || Object.keys(x).forEach((L) => {
2721
+ h.current.off(L, x[L]);
2854
2722
  });
2855
2723
  };
2856
- ce(() => () => {
2857
- p.current && p.current.off("_beforeBreakpoint", B);
2858
- }), ce(() => {
2859
- !g.current && p.current && (p.current.emitSlidesClasses(), g.current = !0);
2860
- }), U(() => {
2861
- if (e && (e.current = S.current), !!S.current)
2862
- return p.current.destroyed && N(), mi({
2863
- el: S.current,
2864
- nextEl: x.current,
2724
+ oe(() => () => {
2725
+ h.current && h.current.off("_beforeBreakpoint", B);
2726
+ }), oe(() => {
2727
+ !v.current && h.current && (h.current.emitSlidesClasses(), v.current = !0);
2728
+ }), X(() => {
2729
+ if (e && (e.current = M.current), !!M.current)
2730
+ return h.current.destroyed && N(), ui({
2731
+ el: M.current,
2732
+ nextEl: E.current,
2865
2733
  prevEl: b.current,
2866
- paginationEl: C.current,
2867
- scrollbarEl: M.current,
2868
- swiper: p.current
2869
- }, P), l && !p.current.destroyed && l(p.current), () => {
2870
- p.current && !p.current.destroyed && p.current.destroy(!0, !1);
2734
+ paginationEl: P.current,
2735
+ scrollbarEl: C.current,
2736
+ swiper: h.current
2737
+ }, y), l && !h.current.destroyed && l(h.current), () => {
2738
+ h.current && !h.current.destroyed && h.current.destroy(!0, !1);
2871
2739
  };
2872
- }, []), U(() => {
2873
- L();
2874
- const O = hi(E, v.current, I, w.current, (F) => F.key);
2875
- return v.current = E, w.current = I, O.length && p.current && !p.current.destroyed && ui({
2876
- swiper: p.current,
2740
+ }, []), X(() => {
2741
+ O();
2742
+ const L = pi(T, S.current, I, g.current, (F) => F.key);
2743
+ return S.current = T, g.current = I, L.length && h.current && !h.current.destroyed && ci({
2744
+ swiper: h.current,
2877
2745
  slides: I,
2878
- passedParams: E,
2879
- changedParams: O,
2880
- nextEl: x.current,
2746
+ passedParams: T,
2747
+ changedParams: L,
2748
+ nextEl: E.current,
2881
2749
  prevEl: b.current,
2882
- scrollbarEl: M.current,
2883
- paginationEl: C.current
2750
+ scrollbarEl: C.current,
2751
+ paginationEl: P.current
2884
2752
  }), () => {
2885
2753
  _();
2886
2754
  };
2887
- }), U(() => {
2888
- gi(p.current);
2755
+ }), X(() => {
2756
+ mi(h.current);
2889
2757
  }, [f]);
2890
2758
  function G() {
2891
- return P.virtual ? wi(p.current, I, f) : I.map((O, F) => /* @__PURE__ */ A.cloneElement(O, {
2892
- swiper: p.current,
2759
+ return y.virtual ? gi(h.current, I, f) : I.map((L, F) => /* @__PURE__ */ A.cloneElement(L, {
2760
+ swiper: h.current,
2893
2761
  swiperSlideIndex: F
2894
2762
  }));
2895
2763
  }
2896
- return /* @__PURE__ */ A.createElement(s, ie({
2897
- ref: S,
2898
- className: Ne(`${d}${i ? ` ${i}` : ""}`)
2899
- }, T), /* @__PURE__ */ A.createElement(Si.Provider, {
2900
- value: p.current
2764
+ return /* @__PURE__ */ A.createElement(s, ee({
2765
+ ref: M,
2766
+ className: Be(`${d}${i ? ` ${i}` : ""}`)
2767
+ }, w), /* @__PURE__ */ A.createElement(vi.Provider, {
2768
+ value: h.current
2901
2769
  }, z["container-start"], /* @__PURE__ */ A.createElement(n, {
2902
- className: fi(P.wrapperClass)
2903
- }, z["wrapper-start"], G(), z["wrapper-end"]), De(P) && /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement("div", {
2770
+ className: di(y.wrapperClass)
2771
+ }, z["wrapper-start"], G(), z["wrapper-end"]), Ge(y) && /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement("div", {
2904
2772
  ref: b,
2905
2773
  className: "swiper-button-prev"
2906
2774
  }), /* @__PURE__ */ A.createElement("div", {
2907
- ref: x,
2775
+ ref: E,
2908
2776
  className: "swiper-button-next"
2909
- })), Be(P) && /* @__PURE__ */ A.createElement("div", {
2910
- ref: M,
2911
- className: "swiper-scrollbar"
2912
- }), Ve(P) && /* @__PURE__ */ A.createElement("div", {
2777
+ })), De(y) && /* @__PURE__ */ A.createElement("div", {
2913
2778
  ref: C,
2779
+ className: "swiper-scrollbar"
2780
+ }), Ve(y) && /* @__PURE__ */ A.createElement("div", {
2781
+ ref: P,
2914
2782
  className: "swiper-pagination"
2915
2783
  }), z["container-end"]));
2916
2784
  });
2917
- Ti.displayName = "Swiper";
2918
- const bi = /* @__PURE__ */ ye(function(t, e) {
2785
+ wi.displayName = "Swiper";
2786
+ const Si = /* @__PURE__ */ Ee(function(t, e) {
2919
2787
  let {
2920
2788
  tag: i = "div",
2921
2789
  children: s,
@@ -2927,57 +2795,59 @@ const bi = /* @__PURE__ */ ye(function(t, e) {
2927
2795
  swiperSlideIndex: d,
2928
2796
  ...c
2929
2797
  } = t === void 0 ? {} : t;
2930
- const f = k(null), [m, h] = X("swiper-slide"), [u, g] = X(!1);
2931
- function S(x, b, C) {
2932
- b === f.current && h(C);
2798
+ const f = R(null), [u, m] = q("swiper-slide"), [p, v] = q(!1);
2799
+ function M(E, b, P) {
2800
+ b === f.current && m(P);
2933
2801
  }
2934
- U(() => {
2802
+ X(() => {
2935
2803
  if (typeof d < "u" && (f.current.swiperSlideIndex = d), e && (e.current = f.current), !(!f.current || !r)) {
2936
2804
  if (r.destroyed) {
2937
- m !== "swiper-slide" && h("swiper-slide");
2805
+ u !== "swiper-slide" && m("swiper-slide");
2938
2806
  return;
2939
2807
  }
2940
- return r.on("_slideClass", S), () => {
2941
- r && r.off("_slideClass", S);
2808
+ return r.on("_slideClass", M), () => {
2809
+ r && r.off("_slideClass", M);
2942
2810
  };
2943
2811
  }
2944
- }), U(() => {
2945
- r && f.current && !r.destroyed && h(r.getSlideClasses(f.current));
2812
+ }), X(() => {
2813
+ r && f.current && !r.destroyed && m(r.getSlideClasses(f.current));
2946
2814
  }, [r]);
2947
- const p = {
2948
- isActive: m.indexOf("swiper-slide-active") >= 0,
2949
- isVisible: m.indexOf("swiper-slide-visible") >= 0,
2950
- isPrev: m.indexOf("swiper-slide-prev") >= 0,
2951
- isNext: m.indexOf("swiper-slide-next") >= 0
2952
- }, v = () => typeof s == "function" ? s(p) : s, w = () => {
2953
- g(!0);
2815
+ const h = {
2816
+ isActive: u.indexOf("swiper-slide-active") >= 0,
2817
+ isVisible: u.indexOf("swiper-slide-visible") >= 0,
2818
+ isPrev: u.indexOf("swiper-slide-prev") >= 0,
2819
+ isNext: u.indexOf("swiper-slide-next") >= 0
2820
+ }, S = () => typeof s == "function" ? s(h) : s, g = () => {
2821
+ v(!0);
2954
2822
  };
2955
- return /* @__PURE__ */ A.createElement(i, ie({
2823
+ return /* @__PURE__ */ A.createElement(i, ee({
2956
2824
  ref: f,
2957
- className: Ne(`${m}${n ? ` ${n}` : ""}`),
2825
+ className: Be(`${u}${n ? ` ${n}` : ""}`),
2958
2826
  "data-swiper-slide-index": o,
2959
- onLoad: w
2960
- }, c), l && /* @__PURE__ */ A.createElement(Ee.Provider, {
2961
- value: p
2827
+ onLoad: g
2828
+ }, c), l && /* @__PURE__ */ A.createElement(xe.Provider, {
2829
+ value: h
2962
2830
  }, /* @__PURE__ */ A.createElement("div", {
2963
2831
  className: "swiper-zoom-container",
2964
2832
  "data-swiper-zoom": typeof l == "number" ? l : void 0
2965
- }, v(), a && !u && /* @__PURE__ */ A.createElement("div", {
2833
+ }, S(), a && !p && /* @__PURE__ */ A.createElement("div", {
2966
2834
  className: "swiper-lazy-preloader"
2967
- }))), !l && /* @__PURE__ */ A.createElement(Ee.Provider, {
2968
- value: p
2969
- }, v(), a && !u && /* @__PURE__ */ A.createElement("div", {
2835
+ }))), !l && /* @__PURE__ */ A.createElement(xe.Provider, {
2836
+ value: h
2837
+ }, S(), a && !p && /* @__PURE__ */ A.createElement("div", {
2970
2838
  className: "swiper-lazy-preloader"
2971
2839
  })));
2972
2840
  });
2973
- bi.displayName = "SwiperSlide";
2841
+ Si.displayName = "SwiperSlide";
2974
2842
  export {
2975
- Ei as N,
2976
- me as S,
2977
- Ti as a,
2978
- bi as b,
2979
- J as c,
2980
- q as d,
2981
- D as g,
2843
+ pe as S,
2844
+ wi as a,
2845
+ Si as b,
2846
+ Z as c,
2847
+ de as d,
2848
+ k as e,
2849
+ j as f,
2850
+ V as g,
2851
+ bi as m,
2982
2852
  Me as n
2983
2853
  };