@danielcruzcode/ui-core 0.1.2 → 0.1.3

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 (72) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs11.js +1 -1
  3. package/dist/index.cjs12.js +1 -1
  4. package/dist/index.cjs13.js +1 -1
  5. package/dist/index.cjs14.js +1 -1
  6. package/dist/index.cjs15.js +1 -1
  7. package/dist/index.cjs16.js +1 -1
  8. package/dist/index.cjs17.js +1 -1
  9. package/dist/index.cjs18.js +1 -1
  10. package/dist/index.cjs19.js +1 -1
  11. package/dist/index.cjs20.js +1 -1
  12. package/dist/index.cjs21.js +1 -1
  13. package/dist/index.cjs22.js +1 -1
  14. package/dist/index.cjs23.js +1 -1
  15. package/dist/index.cjs24.js +1 -0
  16. package/dist/index.cjs25.js +1 -1
  17. package/dist/index.cjs26.js +1 -1
  18. package/dist/index.cjs27.js +1 -1
  19. package/dist/index.cjs28.js +1 -1
  20. package/dist/index.cjs30.js +1 -1
  21. package/dist/index.cjs4.js +1 -1
  22. package/dist/index.cjs44.js +1 -0
  23. package/dist/index.cjs45.js +1 -0
  24. package/dist/index.cjs46.js +1 -0
  25. package/dist/index.cjs5.js +1 -1
  26. package/dist/index.cjs50.js +1 -1
  27. package/dist/index.cjs52.js +1 -1
  28. package/dist/index.cjs6.js +1 -1
  29. package/dist/index.cjs7.js +1 -1
  30. package/dist/index.cjs8.js +1 -1
  31. package/dist/index.cjs9.js +1 -1
  32. package/dist/index.esm10.js +47 -36
  33. package/dist/index.esm11.js +27 -27
  34. package/dist/index.esm12.js +1 -1
  35. package/dist/index.esm13.js +1 -1
  36. package/dist/index.esm14.js +8 -4
  37. package/dist/index.esm15.js +1 -1
  38. package/dist/index.esm16.js +1 -1
  39. package/dist/index.esm17.js +4 -8
  40. package/dist/index.esm18.js +11 -8
  41. package/dist/index.esm19.js +10 -134
  42. package/dist/index.esm20.js +24 -224
  43. package/dist/index.esm21.js +5 -128
  44. package/dist/index.esm22.js +5 -245
  45. package/dist/index.esm23.js +7 -7
  46. package/dist/index.esm24.js +136 -0
  47. package/dist/index.esm25.js +224 -9
  48. package/dist/index.esm26.js +128 -24
  49. package/dist/index.esm27.js +278 -5
  50. package/dist/index.esm28.js +7 -3
  51. package/dist/index.esm30.js +2 -12
  52. package/dist/index.esm4.js +1 -1
  53. package/dist/{index.esm39.js → index.esm44.js} +232 -222
  54. package/dist/{index.esm40.js → index.esm45.js} +3 -3
  55. package/dist/{index.esm41.js → index.esm46.js} +4 -4
  56. package/dist/index.esm5.js +36 -35
  57. package/dist/index.esm50.js +5 -5
  58. package/dist/index.esm52.js +5 -5
  59. package/dist/index.esm6.js +24 -24
  60. package/dist/index.esm7.js +1 -1
  61. package/dist/index.esm8.js +23 -23
  62. package/dist/index.esm9.js +1 -1
  63. package/dist/styles.css +1 -1
  64. package/package.json +1 -1
  65. package/styles.css +1 -1
  66. package/dist/index.cjs29.js +0 -1
  67. package/dist/index.cjs39.js +0 -1
  68. package/dist/index.cjs40.js +0 -1
  69. package/dist/index.cjs41.js +0 -1
  70. package/dist/index.esm29.js +0 -5
  71. /package/dist/{index.cjs34.js → index.cjs35.js} +0 -0
  72. /package/dist/{index.esm34.js → index.esm35.js} +0 -0
@@ -1,21 +1,33 @@
1
+ var xe = Object.defineProperty, ye = Object.defineProperties;
2
+ var Ee = Object.getOwnPropertyDescriptors;
3
+ var ne = Object.getOwnPropertySymbols;
4
+ var Pe = Object.prototype.hasOwnProperty, Me = Object.prototype.propertyIsEnumerable;
5
+ var ae = (s, t, e) => t in s ? xe(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, q = (s, t) => {
6
+ for (var e in t || (t = {}))
7
+ Pe.call(t, e) && ae(s, e, t[e]);
8
+ if (ne)
9
+ for (var e of ne(t))
10
+ Me.call(t, e) && ae(s, e, t[e]);
11
+ return s;
12
+ }, U = (s, t) => ye(s, Ee(t));
1
13
  import { g as R, a as $ } from "./index.esm52.js";
2
- import { x as D, e as B, j as ie, c as te, q as N, y as we, v as X, n as ce, u as fe, l as Se, r as Te, t as be, b as W, i as re, w as xe, h as j, d as ye } from "./index.esm50.js";
3
- let q;
4
- function Ee() {
14
+ import { x as D, e as B, j as le, c as ie, q as N, y as Ce, v as X, n as he, u as me, l as Ie, r as Le, t as ze, b as W, i as oe, w as ke, h as j, d as Oe } from "./index.esm50.js";
15
+ let K;
16
+ function Ae() {
5
17
  const s = $(), t = R();
6
18
  return {
7
19
  smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
8
20
  touch: !!("ontouchstart" in s || s.DocumentTouch && t instanceof s.DocumentTouch)
9
21
  };
10
22
  }
11
- function ue() {
12
- return q || (q = Ee()), q;
23
+ function ge() {
24
+ return K || (K = Ae()), K;
13
25
  }
14
- let U;
15
- function Pe({
26
+ let J;
27
+ function Ge({
16
28
  userAgent: s
17
29
  } = {}) {
18
- const t = ue(), e = $(), i = e.navigator.platform, n = s || e.navigator.userAgent, r = {
30
+ const t = ge(), e = $(), i = e.navigator.platform, n = s || e.navigator.userAgent, r = {
19
31
  ios: !1,
20
32
  android: !1
21
33
  }, l = e.screen.width, o = e.screen.height, a = n.match(/(Android);?[\s\/]+([\d.]+)?/);
@@ -25,12 +37,12 @@ function Pe({
25
37
  const p = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
26
38
  return !d && f && t.touch && p.indexOf(`${l}x${o}`) >= 0 && (d = n.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), f = !1), a && !h && (r.os = "android", r.android = !0), (d || c || u) && (r.os = "ios", r.ios = !0), r;
27
39
  }
28
- function pe(s = {}) {
29
- return U || (U = Pe(s)), U;
40
+ function ve(s = {}) {
41
+ return J || (J = Ge(s)), J;
30
42
  }
31
- let K;
32
- function Me() {
33
- const s = $(), t = pe();
43
+ let Q;
44
+ function Ve() {
45
+ const s = $(), t = ve();
34
46
  let e = !1;
35
47
  function i() {
36
48
  const o = s.navigator.userAgent.toLowerCase();
@@ -51,10 +63,10 @@ function Me() {
51
63
  isWebView: n
52
64
  };
53
65
  }
54
- function he() {
55
- return K || (K = Me()), K;
66
+ function we() {
67
+ return Q || (Q = Ve()), Q;
56
68
  }
57
- function Ce({
69
+ function De({
58
70
  swiper: s,
59
71
  on: t,
60
72
  emit: e
@@ -86,7 +98,7 @@ function Ce({
86
98
  !s || s.destroyed || !s.initialized || e("orientationchange");
87
99
  };
88
100
  t("init", () => {
89
- if (s.params.resizeObserver && typeof i.ResizeObserver < "u") {
101
+ if (s.params.resizeObserver && typeof i.ResizeObserver != "undefined") {
90
102
  o();
91
103
  return;
92
104
  }
@@ -95,7 +107,7 @@ function Ce({
95
107
  a(), i.removeEventListener("resize", l), i.removeEventListener("orientationchange", d);
96
108
  });
97
109
  }
98
- function Ie({
110
+ function Be({
99
111
  swiper: s,
100
112
  extendParams: t,
101
113
  on: e,
@@ -114,14 +126,14 @@ function Ie({
114
126
  r.requestAnimationFrame ? r.requestAnimationFrame(p) : r.setTimeout(p, 0);
115
127
  });
116
128
  h.observe(d, {
117
- attributes: typeof u.attributes > "u" ? !0 : u.attributes,
118
- childList: s.isElement || (typeof u.childList > "u" ? !0 : u).childList,
119
- characterData: typeof u.characterData > "u" ? !0 : u.characterData
129
+ attributes: typeof u.attributes == "undefined" ? !0 : u.attributes,
130
+ childList: s.isElement || (typeof u.childList == "undefined" ? !0 : u).childList,
131
+ characterData: typeof u.characterData == "undefined" ? !0 : u.characterData
120
132
  }), n.push(h);
121
133
  }, o = () => {
122
134
  if (s.params.observer) {
123
135
  if (s.params.observeParents) {
124
- const d = ye(s.hostEl);
136
+ const d = Oe(s.hostEl);
125
137
  for (let u = 0; u < d.length; u += 1)
126
138
  l(d[u]);
127
139
  }
@@ -142,7 +154,7 @@ function Ie({
142
154
  observeSlideChildren: !1
143
155
  }), e("init", o), e("destroy", a);
144
156
  }
145
- var Le = {
157
+ var _e = {
146
158
  on(s, t, e) {
147
159
  const i = this;
148
160
  if (!i.eventsListeners || i.destroyed || typeof t != "function") return i;
@@ -174,7 +186,7 @@ var Le = {
174
186
  off(s, t) {
175
187
  const e = this;
176
188
  return !e.eventsListeners || e.destroyed || !e.eventsListeners || s.split(" ").forEach((i) => {
177
- typeof t > "u" ? e.eventsListeners[i] = [] : e.eventsListeners[i] && e.eventsListeners[i].forEach((n, r) => {
189
+ typeof t == "undefined" ? e.eventsListeners[i] = [] : e.eventsListeners[i] && e.eventsListeners[i].forEach((n, r) => {
178
190
  (n === t || n.__emitterProxy && n.__emitterProxy === t) && e.eventsListeners[i].splice(r, 1);
179
191
  });
180
192
  }), e;
@@ -192,17 +204,17 @@ var Le = {
192
204
  }), t;
193
205
  }
194
206
  };
195
- function ze() {
207
+ function Fe() {
196
208
  const s = this;
197
209
  let t, e;
198
210
  const i = s.el;
199
- typeof s.params.width < "u" && s.params.width !== null ? t = s.params.width : t = i.clientWidth, typeof s.params.height < "u" && s.params.height !== null ? e = s.params.height : e = i.clientHeight, !(t === 0 && s.isHorizontal() || e === 0 && s.isVertical()) && (t = t - parseInt(N(i, "padding-left") || 0, 10) - parseInt(N(i, "padding-right") || 0, 10), e = e - parseInt(N(i, "padding-top") || 0, 10) - parseInt(N(i, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(e) && (e = 0), Object.assign(s, {
211
+ typeof s.params.width != "undefined" && s.params.width !== null ? t = s.params.width : t = i.clientWidth, typeof s.params.height != "undefined" && s.params.height !== null ? e = s.params.height : e = i.clientHeight, !(t === 0 && s.isHorizontal() || e === 0 && s.isVertical()) && (t = t - parseInt(N(i, "padding-left") || 0, 10) - parseInt(N(i, "padding-right") || 0, 10), e = e - parseInt(N(i, "padding-top") || 0, 10) - parseInt(N(i, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(e) && (e = 0), Object.assign(s, {
200
212
  width: t,
201
213
  height: e,
202
214
  size: s.isHorizontal() ? t : e
203
215
  }));
204
216
  }
205
- function ke() {
217
+ function Ne() {
206
218
  const s = this;
207
219
  function t(b, w) {
208
220
  return parseFloat(b.getPropertyValue(s.getDirectionLabel(w)) || 0);
@@ -221,7 +233,7 @@ function ke() {
221
233
  typeof m == "function" && (m = e.slidesOffsetAfter.call(s));
222
234
  const E = s.snapGrid.length, x = s.slidesGrid.length, v = s.size - p - m;
223
235
  let g = e.spaceBetween, y = -p, S = 0, I = 0;
224
- if (typeof v > "u")
236
+ if (typeof v == "undefined")
225
237
  return;
226
238
  typeof g == "string" && g.indexOf("%") >= 0 ? g = parseFloat(g.replace("%", "")) / 100 * v : typeof g == "string" && (g = parseFloat(g)), s.virtualSize = -g - p - m, d.forEach((b) => {
227
239
  r ? b.style.marginLeft = "" : b.style.marginRight = "", b.style.marginBottom = "", b.style.marginTop = "";
@@ -229,7 +241,7 @@ function ke() {
229
241
  const M = e.grid && e.grid.rows > 1 && s.grid;
230
242
  M ? s.grid.initSlides(d) : s.grid && s.grid.unsetSlides();
231
243
  let T;
232
- const k = e.slidesPerView === "auto" && e.breakpoints && Object.keys(e.breakpoints).filter((b) => typeof e.breakpoints[b].slidesPerView < "u").length > 0;
244
+ const k = e.slidesPerView === "auto" && e.breakpoints && Object.keys(e.breakpoints).filter((b) => typeof e.breakpoints[b].slidesPerView != "undefined").length > 0;
233
245
  for (let b = 0; b < u; b += 1) {
234
246
  T = 0;
235
247
  const w = d[b];
@@ -240,7 +252,7 @@ function ke() {
240
252
  k && (w.style[s.getDirectionLabel("width")] = "");
241
253
  const C = getComputedStyle(w), L = w.style.transform, z = w.style.webkitTransform;
242
254
  if (L && (w.style.transform = "none"), z && (w.style.webkitTransform = "none"), e.roundLengths)
243
- T = s.isHorizontal() ? re(w, "width") : re(w, "height");
255
+ T = s.isHorizontal() ? oe(w, "width") : oe(w, "height");
244
256
  else {
245
257
  const O = t(C, "width"), _ = t(C, "padding-left"), H = t(C, "padding-right"), P = t(C, "margin-left"), A = t(C, "margin-right"), G = C.getPropertyValue("box-sizing");
246
258
  if (G && G === "border-box")
@@ -248,9 +260,9 @@ function ke() {
248
260
  else {
249
261
  const {
250
262
  clientWidth: F,
251
- offsetWidth: ve
263
+ offsetWidth: be
252
264
  } = w;
253
- T = O + _ + H + P + A + (ve - F);
265
+ T = O + _ + H + P + A + (be - F);
254
266
  }
255
267
  }
256
268
  L && (w.style.transform = L), z && (w.style.webkitTransform = z), e.roundLengths && (T = Math.floor(T));
@@ -332,7 +344,7 @@ function ke() {
332
344
  u <= e.maxBackfaceHiddenSlides ? w || s.el.classList.add(b) : w && s.el.classList.remove(b);
333
345
  }
334
346
  }
335
- function Oe(s) {
347
+ function $e(s) {
336
348
  const t = this, e = [], i = t.virtual && t.params.virtual.enabled;
337
349
  let n = 0, r;
338
350
  typeof s == "number" ? t.setTransition(s) : s === !0 && t.setTransition(t.params.speed);
@@ -351,28 +363,28 @@ function Oe(s) {
351
363
  else
352
364
  e.push(l(t.activeIndex));
353
365
  for (r = 0; r < e.length; r += 1)
354
- if (typeof e[r] < "u") {
366
+ if (typeof e[r] != "undefined") {
355
367
  const o = e[r].offsetHeight;
356
368
  n = o > n ? o : n;
357
369
  }
358
370
  (n || n === 0) && (t.wrapperEl.style.height = `${n}px`);
359
371
  }
360
- function Ae() {
372
+ function He() {
361
373
  const s = this, t = s.slides, e = s.isElement ? s.isHorizontal() ? s.wrapperEl.offsetLeft : s.wrapperEl.offsetTop : 0;
362
374
  for (let i = 0; i < t.length; i += 1)
363
375
  t[i].swiperSlideOffset = (s.isHorizontal() ? t[i].offsetLeft : t[i].offsetTop) - e - s.cssOverflowAdjustment();
364
376
  }
365
- const ne = (s, t, e) => {
377
+ const de = (s, t, e) => {
366
378
  t && !s.classList.contains(e) ? s.classList.add(e) : !t && s.classList.contains(e) && s.classList.remove(e);
367
379
  };
368
- function Ge(s = this && this.translate || 0) {
380
+ function Re(s = this && this.translate || 0) {
369
381
  const t = this, e = t.params, {
370
382
  slides: i,
371
383
  rtlTranslate: n,
372
384
  snapGrid: r
373
385
  } = t;
374
386
  if (i.length === 0) return;
375
- typeof i[0].swiperSlideOffset > "u" && t.updateSlidesOffset();
387
+ typeof i[0].swiperSlideOffset == "undefined" && t.updateSlidesOffset();
376
388
  let l = -s;
377
389
  n && (l = s), t.visibleSlidesIndexes = [], t.visibleSlides = [];
378
390
  let o = e.spaceBetween;
@@ -382,12 +394,12 @@ function Ge(s = this && this.translate || 0) {
382
394
  let u = d.swiperSlideOffset;
383
395
  e.cssMode && e.centeredSlides && (u -= i[0].swiperSlideOffset);
384
396
  const c = (l + (e.centeredSlides ? t.minTranslate() : 0) - u) / (d.swiperSlideSize + o), h = (l - r[0] + (e.centeredSlides ? t.minTranslate() : 0) - u) / (d.swiperSlideSize + o), f = -(l - u), p = f + t.slidesSizesGrid[a], m = f >= 0 && f <= t.size - t.slidesSizesGrid[a], E = f >= 0 && f < t.size - 1 || p > 1 && p <= t.size || f <= 0 && p >= t.size;
385
- E && (t.visibleSlides.push(d), t.visibleSlidesIndexes.push(a)), ne(d, E, e.slideVisibleClass), ne(d, m, e.slideFullyVisibleClass), d.progress = n ? -c : c, d.originalProgress = n ? -h : h;
397
+ E && (t.visibleSlides.push(d), t.visibleSlidesIndexes.push(a)), de(d, E, e.slideVisibleClass), de(d, m, e.slideFullyVisibleClass), d.progress = n ? -c : c, d.originalProgress = n ? -h : h;
386
398
  }
387
399
  }
388
- function Ve(s) {
400
+ function We(s) {
389
401
  const t = this;
390
- if (typeof s > "u") {
402
+ if (typeof s == "undefined") {
391
403
  const u = t.rtlTranslate ? -1 : 1;
392
404
  s = t && t.translate && t.translate * u || 0;
393
405
  }
@@ -417,10 +429,10 @@ function Ve(s) {
417
429
  isEnd: l
418
430
  }), (e.watchSlidesProgress || e.centeredSlides && e.autoHeight) && t.updateSlidesProgress(s), r && !a && t.emit("reachBeginning toEdge"), l && !d && t.emit("reachEnd toEdge"), (a && !r || d && !l) && t.emit("fromEdge"), t.emit("progress", n);
419
431
  }
420
- const J = (s, t, e) => {
432
+ const Z = (s, t, e) => {
421
433
  t && !s.classList.contains(e) ? s.classList.add(e) : !t && s.classList.contains(e) && s.classList.remove(e);
422
434
  };
423
- function De() {
435
+ function Ye() {
424
436
  const s = this, {
425
437
  slides: t,
426
438
  params: e,
@@ -436,8 +448,8 @@ function De() {
436
448
  a = o(`[data-swiper-slide-index="${n}"]`);
437
449
  else
438
450
  l ? (a = t.find((c) => c.column === n), u = t.find((c) => c.column === n + 1), d = t.find((c) => c.column === n - 1)) : a = t[n];
439
- a && (l || (u = Te(a, `.${e.slideClass}, swiper-slide`)[0], e.loop && !u && (u = t[0]), d = be(a, `.${e.slideClass}, swiper-slide`)[0], e.loop && !d === 0 && (d = t[t.length - 1]))), t.forEach((c) => {
440
- J(c, c === a, e.slideActiveClass), J(c, c === u, e.slideNextClass), J(c, c === d, e.slidePrevClass);
451
+ a && (l || (u = Le(a, `.${e.slideClass}, swiper-slide`)[0], e.loop && !u && (u = t[0]), d = ze(a, `.${e.slideClass}, swiper-slide`)[0], e.loop && !d === 0 && (d = t[t.length - 1]))), t.forEach((c) => {
452
+ Z(c, c === a, e.slideActiveClass), Z(c, c === u, e.slideNextClass), Z(c, c === d, e.slidePrevClass);
441
453
  }), s.emitSlidesClasses();
442
454
  }
443
455
  const Y = (s, t) => {
@@ -449,11 +461,11 @@ const Y = (s, t) => {
449
461
  i.shadowRoot && (n = i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`), n && !n.lazyPreloaderManaged && n.remove());
450
462
  })), n && !n.lazyPreloaderManaged && n.remove();
451
463
  }
452
- }, Q = (s, t) => {
464
+ }, ee = (s, t) => {
453
465
  if (!s.slides[t]) return;
454
466
  const e = s.slides[t].querySelector('[loading="lazy"]');
455
467
  e && e.removeAttribute("loading");
456
- }, se = (s) => {
468
+ }, re = (s) => {
457
469
  if (!s || s.destroyed || !s.params) return;
458
470
  let t = s.params.lazyPreloadPrevNext;
459
471
  const e = s.slides.length;
@@ -465,7 +477,7 @@ const Y = (s, t) => {
465
477
  o.push(...Array.from({
466
478
  length: t
467
479
  }).map((a, d) => l + i + d)), s.slides.forEach((a, d) => {
468
- o.includes(a.column) && Q(s, d);
480
+ o.includes(a.column) && ee(s, d);
469
481
  });
470
482
  return;
471
483
  }
@@ -473,23 +485,23 @@ const Y = (s, t) => {
473
485
  if (s.params.rewind || s.params.loop)
474
486
  for (let l = n - t; l <= r + t; l += 1) {
475
487
  const o = (l % e + e) % e;
476
- (o < n || o > r) && Q(s, o);
488
+ (o < n || o > r) && ee(s, o);
477
489
  }
478
490
  else
479
491
  for (let l = Math.max(n - t, 0); l <= Math.min(r + t, e - 1); l += 1)
480
- l !== n && (l > r || l < n) && Q(s, l);
492
+ l !== n && (l > r || l < n) && ee(s, l);
481
493
  };
482
- function Be(s) {
494
+ function Xe(s) {
483
495
  const {
484
496
  slidesGrid: t,
485
497
  params: e
486
498
  } = s, i = s.rtlTranslate ? s.translate : -s.translate;
487
499
  let n;
488
500
  for (let r = 0; r < t.length; r += 1)
489
- typeof t[r + 1] < "u" ? i >= t[r] && i < t[r + 1] - (t[r + 1] - t[r]) / 2 ? n = r : i >= t[r] && i < t[r + 1] && (n = r + 1) : i >= t[r] && (n = r);
490
- return e.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
501
+ typeof t[r + 1] != "undefined" ? i >= t[r] && i < t[r + 1] - (t[r + 1] - t[r]) / 2 ? n = r : i >= t[r] && i < t[r + 1] && (n = r + 1) : i >= t[r] && (n = r);
502
+ return e.normalizeSlideIndex && (n < 0 || typeof n == "undefined") && (n = 0), n;
491
503
  }
492
- function _e(s) {
504
+ function je(s) {
493
505
  const t = this, e = t.rtlTranslate ? t.translate : -t.translate, {
494
506
  snapGrid: i,
495
507
  params: n,
@@ -502,7 +514,7 @@ function _e(s) {
502
514
  let p = f - t.virtual.slidesBefore;
503
515
  return p < 0 && (p = t.virtual.slides.length + p), p >= t.virtual.slides.length && (p -= t.virtual.slides.length), p;
504
516
  };
505
- if (typeof a > "u" && (a = Be(t)), i.indexOf(e) >= 0)
517
+ if (typeof a == "undefined" && (a = Xe(t)), i.indexOf(e) >= 0)
506
518
  d = i.indexOf(e);
507
519
  else {
508
520
  const f = Math.min(n.slidesPerGroupSkip, a);
@@ -536,9 +548,9 @@ function _e(s) {
536
548
  realIndex: h,
537
549
  previousIndex: r,
538
550
  activeIndex: a
539
- }), t.initialized && se(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (l !== h && t.emit("realIndexChange"), t.emit("slideChange"));
551
+ }), t.initialized && re(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (l !== h && t.emit("realIndexChange"), t.emit("slideChange"));
540
552
  }
541
- function Fe(s, t) {
553
+ function qe(s, t) {
542
554
  const e = this, i = e.params;
543
555
  let n = s.closest(`.${i.slideClass}, swiper-slide`);
544
556
  !n && e.isElement && t && t.length > 1 && t.includes(s) && [...t.slice(t.indexOf(s) + 1, t.length)].forEach((o) => {
@@ -560,18 +572,18 @@ function Fe(s, t) {
560
572
  }
561
573
  i.slideToClickedSlide && e.clickedIndex !== void 0 && e.clickedIndex !== e.activeIndex && e.slideToClickedSlide();
562
574
  }
563
- var Ne = {
564
- updateSize: ze,
565
- updateSlides: ke,
566
- updateAutoHeight: Oe,
567
- updateSlidesOffset: Ae,
568
- updateSlidesProgress: Ge,
569
- updateProgress: Ve,
570
- updateSlidesClasses: De,
571
- updateActiveIndex: _e,
572
- updateClickedSlide: Fe
575
+ var Ue = {
576
+ updateSize: Fe,
577
+ updateSlides: Ne,
578
+ updateAutoHeight: $e,
579
+ updateSlidesOffset: He,
580
+ updateSlidesProgress: Re,
581
+ updateProgress: We,
582
+ updateSlidesClasses: Ye,
583
+ updateActiveIndex: je,
584
+ updateClickedSlide: qe
573
585
  };
574
- function $e(s = this.isHorizontal() ? "x" : "y") {
586
+ function Ke(s = this.isHorizontal() ? "x" : "y") {
575
587
  const t = this, {
576
588
  params: e,
577
589
  rtlTranslate: i,
@@ -582,10 +594,10 @@ function $e(s = this.isHorizontal() ? "x" : "y") {
582
594
  return i ? -n : n;
583
595
  if (e.cssMode)
584
596
  return n;
585
- let l = Se(r, s);
597
+ let l = Ie(r, s);
586
598
  return l += t.cssOverflowAdjustment(), i && (l = -l), l || 0;
587
599
  }
588
- function He(s, t) {
600
+ function Je(s, t) {
589
601
  const e = this, {
590
602
  rtlTranslate: i,
591
603
  params: n,
@@ -599,13 +611,13 @@ function He(s, t) {
599
611
  const c = e.maxTranslate() - e.minTranslate();
600
612
  c === 0 ? u = 0 : u = (s - e.minTranslate()) / c, u !== l && e.updateProgress(s), e.emit("setTranslate", e.translate, t);
601
613
  }
602
- function Re() {
614
+ function Qe() {
603
615
  return -this.snapGrid[0];
604
616
  }
605
- function We() {
617
+ function Ze() {
606
618
  return -this.snapGrid[this.snapGrid.length - 1];
607
619
  }
608
- function Ye(s = 0, t = this.params.speed, e = !0, i = !0, n) {
620
+ function et(s = 0, t = this.params.speed, e = !0, i = !0, n) {
609
621
  const r = this, {
610
622
  params: l,
611
623
  wrapperEl: o
@@ -620,7 +632,7 @@ function Ye(s = 0, t = this.params.speed, e = !0, i = !0, n) {
620
632
  o[c ? "scrollLeft" : "scrollTop"] = -u;
621
633
  else {
622
634
  if (!r.support.smoothScroll)
623
- return fe({
635
+ return me({
624
636
  swiper: r,
625
637
  targetPosition: -u,
626
638
  side: c ? "left" : "top"
@@ -636,18 +648,18 @@ function Ye(s = 0, t = this.params.speed, e = !0, i = !0, n) {
636
648
  !r || r.destroyed || h.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, e && r.emit("transitionEnd"));
637
649
  }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
638
650
  }
639
- var Xe = {
640
- getTranslate: $e,
641
- setTranslate: He,
642
- minTranslate: Re,
643
- maxTranslate: We,
644
- translateTo: Ye
651
+ var tt = {
652
+ getTranslate: Ke,
653
+ setTranslate: Je,
654
+ minTranslate: Qe,
655
+ maxTranslate: Ze,
656
+ translateTo: et
645
657
  };
646
- function je(s, t) {
658
+ function st(s, t) {
647
659
  const e = this;
648
660
  e.params.cssMode || (e.wrapperEl.style.transitionDuration = `${s}ms`, e.wrapperEl.style.transitionDelay = s === 0 ? "0ms" : ""), e.emit("setTransition", s, t);
649
661
  }
650
- function me({
662
+ function Se({
651
663
  swiper: s,
652
664
  runCallbacks: t,
653
665
  direction: e,
@@ -660,34 +672,34 @@ function me({
660
672
  let l = e;
661
673
  l || (n > r ? l = "next" : n < r ? l = "prev" : l = "reset"), s.emit(`transition${i}`), t && l === "reset" ? s.emit(`slideResetTransition${i}`) : t && n !== r && (s.emit(`slideChangeTransition${i}`), l === "next" ? s.emit(`slideNextTransition${i}`) : s.emit(`slidePrevTransition${i}`));
662
674
  }
663
- function qe(s = !0, t) {
675
+ function it(s = !0, t) {
664
676
  const e = this, {
665
677
  params: i
666
678
  } = e;
667
- i.cssMode || (i.autoHeight && e.updateAutoHeight(), me({
679
+ i.cssMode || (i.autoHeight && e.updateAutoHeight(), Se({
668
680
  swiper: e,
669
681
  runCallbacks: s,
670
682
  direction: t,
671
683
  step: "Start"
672
684
  }));
673
685
  }
674
- function Ue(s = !0, t) {
686
+ function rt(s = !0, t) {
675
687
  const e = this, {
676
688
  params: i
677
689
  } = e;
678
- e.animating = !1, !i.cssMode && (e.setTransition(0), me({
690
+ e.animating = !1, !i.cssMode && (e.setTransition(0), Se({
679
691
  swiper: e,
680
692
  runCallbacks: s,
681
693
  direction: t,
682
694
  step: "End"
683
695
  }));
684
696
  }
685
- var Ke = {
686
- setTransition: je,
687
- transitionStart: qe,
688
- transitionEnd: Ue
697
+ var nt = {
698
+ setTransition: st,
699
+ transitionStart: it,
700
+ transitionEnd: rt
689
701
  };
690
- function Je(s = 0, t, e = !0, i, n) {
702
+ function at(s = 0, t, e = !0, i, n) {
691
703
  typeof s == "string" && (s = parseInt(s, 10));
692
704
  const r = this;
693
705
  let l = s;
@@ -704,7 +716,7 @@ function Je(s = 0, t, e = !0, i, n) {
704
716
  } = r;
705
717
  if (!p && !i && !n || r.destroyed || r.animating && o.preventInteractionOnTransition)
706
718
  return !1;
707
- typeof t > "u" && (t = r.params.speed);
719
+ typeof t == "undefined" && (t = r.params.speed);
708
720
  const m = Math.min(r.params.slidesPerGroupSkip, l);
709
721
  let E = m + Math.floor((l - m) / r.params.slidesPerGroup);
710
722
  E >= a.length && (E = a.length - 1);
@@ -712,7 +724,7 @@ function Je(s = 0, t, e = !0, i, n) {
712
724
  if (o.normalizeSlideIndex)
713
725
  for (let M = 0; M < d.length; M += 1) {
714
726
  const T = -Math.floor(x * 100), k = Math.floor(d[M] * 100), b = Math.floor(d[M + 1] * 100);
715
- typeof d[M + 1] < "u" ? T >= k && T < b - (b - k) / 2 ? l = M : T >= k && T < b && (l = M + 1) : T >= k && (l = M);
727
+ typeof d[M + 1] != "undefined" ? T >= k && T < b - (b - k) / 2 ? l = M : T >= k && T < b && (l = M + 1) : T >= k && (l = M);
716
728
  }
717
729
  if (r.initialized && l !== c && (!r.allowSlideNext && (h ? x > r.translate && x > r.minTranslate() : x < r.translate && x < r.minTranslate()) || !r.allowSlidePrev && x > r.translate && x > r.maxTranslate() && (c || 0) !== l))
718
730
  return !1;
@@ -732,7 +744,7 @@ function Je(s = 0, t, e = !0, i, n) {
732
744
  });
733
745
  else {
734
746
  if (!r.support.smoothScroll)
735
- return fe({
747
+ return me({
736
748
  swiper: r,
737
749
  targetPosition: T,
738
750
  side: M ? "left" : "top"
@@ -744,16 +756,16 @@ function Je(s = 0, t, e = !0, i, n) {
744
756
  }
745
757
  return !0;
746
758
  }
747
- const I = he().isSafari;
759
+ const I = we().isSafari;
748
760
  return g && !n && I && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(t), r.setTranslate(x), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", t, i), r.transitionStart(e, v), t === 0 ? r.transitionEnd(e, v) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(T) {
749
761
  !r || r.destroyed || T.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(e, v));
750
762
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
751
763
  }
752
- function Qe(s = 0, t, e = !0, i) {
764
+ function lt(s = 0, t, e = !0, i) {
753
765
  typeof s == "string" && (s = parseInt(s, 10));
754
766
  const n = this;
755
767
  if (n.destroyed) return;
756
- typeof t > "u" && (t = n.params.speed);
768
+ typeof t == "undefined" && (t = n.params.speed);
757
769
  const r = n.grid && n.params.grid && n.params.grid.rows > 1;
758
770
  let l = s;
759
771
  if (n.params.loop)
@@ -793,14 +805,14 @@ function Qe(s = 0, t, e = !0, i) {
793
805
  n.slideTo(l, t, e, i);
794
806
  }), n;
795
807
  }
796
- function Ze(s, t = !0, e) {
808
+ function ot(s, t = !0, e) {
797
809
  const i = this, {
798
810
  enabled: n,
799
811
  params: r,
800
812
  animating: l
801
813
  } = i;
802
814
  if (!n || i.destroyed) return i;
803
- typeof s > "u" && (s = i.params.speed);
815
+ typeof s == "undefined" && (s = i.params.speed);
804
816
  let o = r.slidesPerGroup;
805
817
  r.slidesPerView === "auto" && r.slidesPerGroup === 1 && r.slidesPerGroupAuto && (o = Math.max(i.slidesPerViewDynamic("current", !0), 1));
806
818
  const a = i.activeIndex < r.slidesPerGroupSkip ? 1 : o, d = i.virtual && r.virtual.enabled;
@@ -815,7 +827,7 @@ function Ze(s, t = !0, e) {
815
827
  }
816
828
  return r.rewind && i.isEnd ? i.slideTo(0, s, t, e) : i.slideTo(i.activeIndex + a, s, t, e);
817
829
  }
818
- function et(s, t = !0, e) {
830
+ function dt(s, t = !0, e) {
819
831
  const i = this, {
820
832
  params: n,
821
833
  snapGrid: r,
@@ -825,7 +837,7 @@ function et(s, t = !0, e) {
825
837
  animating: d
826
838
  } = i;
827
839
  if (!a || i.destroyed) return i;
828
- typeof s > "u" && (s = i.params.speed);
840
+ typeof s == "undefined" && (s = i.params.speed);
829
841
  const u = i.virtual && n.virtual.enabled;
830
842
  if (n.loop) {
831
843
  if (d && !u && n.loopPreventsSliding) return !1;
@@ -839,14 +851,14 @@ function et(s, t = !0, e) {
839
851
  }
840
852
  const f = h(c), p = r.map((v) => h(v)), m = n.freeMode && n.freeMode.enabled;
841
853
  let E = r[p.indexOf(f) - 1];
842
- if (typeof E > "u" && (n.cssMode || m)) {
854
+ if (typeof E == "undefined" && (n.cssMode || m)) {
843
855
  let v;
844
856
  r.forEach((g, y) => {
845
857
  f >= g && (v = y);
846
- }), typeof v < "u" && (E = m ? r[v] : r[v > 0 ? v - 1 : v]);
858
+ }), typeof v != "undefined" && (E = m ? r[v] : r[v > 0 ? v - 1 : v]);
847
859
  }
848
860
  let x = 0;
849
- if (typeof E < "u" && (x = l.indexOf(E), x < 0 && (x = i.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (x = x - i.slidesPerViewDynamic("previous", !0) + 1, x = Math.max(x, 0))), n.rewind && i.isBeginning) {
861
+ if (typeof E != "undefined" && (x = l.indexOf(E), x < 0 && (x = i.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (x = x - i.slidesPerViewDynamic("previous", !0) + 1, x = Math.max(x, 0))), n.rewind && i.isBeginning) {
850
862
  const v = i.params.virtual && i.params.virtual.enabled && i.virtual ? i.virtual.slides.length - 1 : i.slides.length - 1;
851
863
  return i.slideTo(v, s, t, e);
852
864
  } else if (n.loop && i.activeIndex === 0 && n.cssMode)
@@ -855,15 +867,15 @@ function et(s, t = !0, e) {
855
867
  }), !0;
856
868
  return i.slideTo(x, s, t, e);
857
869
  }
858
- function tt(s, t = !0, e) {
870
+ function ct(s, t = !0, e) {
859
871
  const i = this;
860
872
  if (!i.destroyed)
861
- return typeof s > "u" && (s = i.params.speed), i.slideTo(i.activeIndex, s, t, e);
873
+ return typeof s == "undefined" && (s = i.params.speed), i.slideTo(i.activeIndex, s, t, e);
862
874
  }
863
- function st(s, t = !0, e, i = 0.5) {
875
+ function ft(s, t = !0, e, i = 0.5) {
864
876
  const n = this;
865
877
  if (n.destroyed) return;
866
- typeof s > "u" && (s = n.params.speed);
878
+ typeof s == "undefined" && (s = n.params.speed);
867
879
  let r = n.activeIndex;
868
880
  const l = Math.min(n.params.slidesPerGroupSkip, r), o = l + Math.floor((r - l) / n.params.slidesPerGroup), a = n.rtlTranslate ? n.translate : -n.translate;
869
881
  if (a >= n.snapGrid[o]) {
@@ -875,7 +887,7 @@ function st(s, t = !0, e, i = 0.5) {
875
887
  }
876
888
  return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, s, t, e);
877
889
  }
878
- function it() {
890
+ function ut() {
879
891
  const s = this;
880
892
  if (s.destroyed) return;
881
893
  const {
@@ -886,22 +898,22 @@ function it() {
886
898
  const l = s.isElement ? "swiper-slide" : `.${t.slideClass}`, o = s.grid && s.params.grid && s.params.grid.rows > 1;
887
899
  if (t.loop) {
888
900
  if (s.animating) return;
889
- r = parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? s.slideToLoop(r) : n > (o ? (s.slides.length - i) / 2 - (s.params.grid.rows - 1) : s.slides.length - i) ? (s.loopFix(), n = s.getSlideIndex(B(e, `${l}[data-swiper-slide-index="${r}"]`)[0]), ce(() => {
901
+ r = parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? s.slideToLoop(r) : n > (o ? (s.slides.length - i) / 2 - (s.params.grid.rows - 1) : s.slides.length - i) ? (s.loopFix(), n = s.getSlideIndex(B(e, `${l}[data-swiper-slide-index="${r}"]`)[0]), he(() => {
890
902
  s.slideTo(n);
891
903
  })) : s.slideTo(n);
892
904
  } else
893
905
  s.slideTo(n);
894
906
  }
895
- var rt = {
896
- slideTo: Je,
897
- slideToLoop: Qe,
898
- slideNext: Ze,
899
- slidePrev: et,
900
- slideReset: tt,
901
- slideToClosest: st,
902
- slideToClickedSlide: it
907
+ var pt = {
908
+ slideTo: at,
909
+ slideToLoop: lt,
910
+ slideNext: ot,
911
+ slidePrev: dt,
912
+ slideReset: ct,
913
+ slideToClosest: ft,
914
+ slideToClickedSlide: ut
903
915
  };
904
- function nt(s, t) {
916
+ function ht(s, t) {
905
917
  const e = this, {
906
918
  params: i,
907
919
  slidesEl: n
@@ -920,7 +932,7 @@ function nt(s, t) {
920
932
  i.loopAddBlankSlides && (i.slidesPerGroup > 1 || o) && l();
921
933
  const a = i.slidesPerGroup * (o ? i.grid.rows : 1), d = e.slides.length % a !== 0, u = o && e.slides.length % i.grid.rows !== 0, c = (f) => {
922
934
  for (let p = 0; p < f; p += 1) {
923
- const m = e.isElement ? te("swiper-slide", [i.slideBlankClass]) : te("div", [i.slideClass, i.slideBlankClass]);
935
+ const m = e.isElement ? ie("swiper-slide", [i.slideBlankClass]) : ie("div", [i.slideClass, i.slideBlankClass]);
924
936
  e.slidesEl.append(m);
925
937
  }
926
938
  };
@@ -947,7 +959,7 @@ function nt(s, t) {
947
959
  initial: t
948
960
  });
949
961
  }
950
- function at({
962
+ function mt({
951
963
  slideRealIndex: s,
952
964
  slideTo: t = !0,
953
965
  direction: e,
@@ -985,10 +997,10 @@ function at({
985
997
  d.length < g + S || a.params.effect === "cards" && d.length < g + S * 2 ? X("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") : I && f.grid.fill === "row" && X("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
986
998
  const M = [], T = [], k = I ? Math.ceil(d.length / f.grid.rows) : d.length, b = r && k - x < g && !v;
987
999
  let w = b ? x : a.activeIndex;
988
- typeof n > "u" ? n = a.getSlideIndex(d.find((P) => P.classList.contains(f.slideActiveClass))) : w = n;
1000
+ typeof n == "undefined" ? n = a.getSlideIndex(d.find((P) => P.classList.contains(f.slideActiveClass))) : w = n;
989
1001
  const C = e === "next" || !e, L = e === "prev" || !e;
990
1002
  let z = 0, O = 0;
991
- const H = (I ? d[n].column : n) + (v && typeof i > "u" ? -g / 2 + 0.5 : 0);
1003
+ const H = (I ? d[n].column : n) + (v && typeof i == "undefined" ? -g / 2 + 0.5 : 0);
992
1004
  if (H < S) {
993
1005
  z = Math.max(S - H, y);
994
1006
  for (let P = 0; P < S - H; P += 1) {
@@ -1019,7 +1031,7 @@ function at({
1019
1031
  a.grid.updateSlide(A, P, a.slides);
1020
1032
  }), f.watchSlidesProgress && a.updateSlidesOffset(), t) {
1021
1033
  if (M.length > 0 && L) {
1022
- if (typeof s > "u") {
1034
+ if (typeof s == "undefined") {
1023
1035
  const P = a.slidesGrid[w], G = a.slidesGrid[w + z] - P;
1024
1036
  o ? a.setTranslate(a.translate - G) : (a.slideTo(w + Math.ceil(z), 0, !1, !0), i && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - G, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - G));
1025
1037
  } else if (i) {
@@ -1027,7 +1039,7 @@ function at({
1027
1039
  a.slideTo(a.activeIndex + P, 0, !1, !0), a.touchEventsData.currentTranslate = a.translate;
1028
1040
  }
1029
1041
  } else if (T.length > 0 && C)
1030
- if (typeof s > "u") {
1042
+ if (typeof s == "undefined") {
1031
1043
  const P = a.slidesGrid[w], G = a.slidesGrid[w - O] - P;
1032
1044
  o ? a.setTranslate(a.translate - G) : (a.slideTo(w - O, 0, !1, !0), i && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - G, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - G));
1033
1045
  } else {
@@ -1044,18 +1056,16 @@ function at({
1044
1056
  byController: !0
1045
1057
  };
1046
1058
  Array.isArray(a.controller.control) ? a.controller.control.forEach((A) => {
1047
- !A.destroyed && A.params.loop && A.loopFix({
1048
- ...P,
1059
+ !A.destroyed && A.params.loop && A.loopFix(U(q({}, P), {
1049
1060
  slideTo: A.params.slidesPerView === f.slidesPerView ? t : !1
1050
- });
1051
- }) : a.controller.control instanceof a.constructor && a.controller.control.params.loop && a.controller.control.loopFix({
1052
- ...P,
1061
+ }));
1062
+ }) : a.controller.control instanceof a.constructor && a.controller.control.params.loop && a.controller.control.loopFix(U(q({}, P), {
1053
1063
  slideTo: a.controller.control.params.slidesPerView === f.slidesPerView ? t : !1
1054
- });
1064
+ }));
1055
1065
  }
1056
1066
  a.emit("loopFix");
1057
1067
  }
1058
- function lt() {
1068
+ function gt() {
1059
1069
  const s = this, {
1060
1070
  params: t,
1061
1071
  slidesEl: e
@@ -1064,7 +1074,7 @@ function lt() {
1064
1074
  s.recalcSlides();
1065
1075
  const i = [];
1066
1076
  s.slides.forEach((n) => {
1067
- const r = typeof n.swiperSlideIndex > "u" ? n.getAttribute("data-swiper-slide-index") * 1 : n.swiperSlideIndex;
1077
+ const r = typeof n.swiperSlideIndex == "undefined" ? n.getAttribute("data-swiper-slide-index") * 1 : n.swiperSlideIndex;
1068
1078
  i[r] = n;
1069
1079
  }), s.slides.forEach((n) => {
1070
1080
  n.removeAttribute("data-swiper-slide-index");
@@ -1072,12 +1082,12 @@ function lt() {
1072
1082
  e.append(n);
1073
1083
  }), s.recalcSlides(), s.slideTo(s.realIndex, 0);
1074
1084
  }
1075
- var ot = {
1076
- loopCreate: nt,
1077
- loopFix: at,
1078
- loopDestroy: lt
1085
+ var vt = {
1086
+ loopCreate: ht,
1087
+ loopFix: mt,
1088
+ loopDestroy: gt
1079
1089
  };
1080
- function dt(s) {
1090
+ function wt(s) {
1081
1091
  const t = this;
1082
1092
  if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
1083
1093
  const e = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
@@ -1085,17 +1095,17 @@ function dt(s) {
1085
1095
  t.__preventObserver__ = !1;
1086
1096
  });
1087
1097
  }
1088
- function ct() {
1098
+ function St() {
1089
1099
  const s = this;
1090
1100
  s.params.watchOverflow && s.isLocked || s.params.cssMode || (s.isElement && (s.__preventObserver__ = !0), s[s.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", s.isElement && requestAnimationFrame(() => {
1091
1101
  s.__preventObserver__ = !1;
1092
1102
  }));
1093
1103
  }
1094
- var ft = {
1095
- setGrabCursor: dt,
1096
- unsetGrabCursor: ct
1104
+ var Tt = {
1105
+ setGrabCursor: wt,
1106
+ unsetGrabCursor: St
1097
1107
  };
1098
- function ut(s, t = this) {
1108
+ function bt(s, t = this) {
1099
1109
  function e(i) {
1100
1110
  if (!i || i === R() || i === $()) return null;
1101
1111
  i.assignedSlot && (i = i.assignedSlot);
@@ -1104,13 +1114,13 @@ function ut(s, t = this) {
1104
1114
  }
1105
1115
  return e(t);
1106
1116
  }
1107
- function ae(s, t, e) {
1117
+ function ce(s, t, e) {
1108
1118
  const i = $(), {
1109
1119
  params: n
1110
1120
  } = s, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1111
1121
  return r && (e <= l || e >= i.innerWidth - l) ? r === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
1112
1122
  }
1113
- function pt(s) {
1123
+ function xt(s) {
1114
1124
  const t = this, e = R();
1115
1125
  let i = s;
1116
1126
  i.originalEvent && (i = i.originalEvent);
@@ -1121,7 +1131,7 @@ function pt(s) {
1121
1131
  n.pointerId = i.pointerId;
1122
1132
  } else i.type === "touchstart" && i.targetTouches.length === 1 && (n.touchId = i.targetTouches[0].identifier);
1123
1133
  if (i.type === "touchstart") {
1124
- ae(t, i, i.targetTouches[0].pageX);
1134
+ ce(t, i, i.targetTouches[0].pageX);
1125
1135
  return;
1126
1136
  }
1127
1137
  const {
@@ -1133,11 +1143,11 @@ function pt(s) {
1133
1143
  return;
1134
1144
  !t.animating && r.cssMode && r.loop && t.loopFix();
1135
1145
  let a = i.target;
1136
- if (r.touchEventsTarget === "wrapper" && !xe(a, t.wrapperEl) || "which" in i && i.which === 3 || "button" in i && i.button > 0 || n.isTouched && n.isMoved) return;
1146
+ if (r.touchEventsTarget === "wrapper" && !ke(a, t.wrapperEl) || "which" in i && i.which === 3 || "button" in i && i.button > 0 || n.isTouched && n.isMoved) return;
1137
1147
  const d = !!r.noSwipingClass && r.noSwipingClass !== "", u = i.composedPath ? i.composedPath() : i.path;
1138
1148
  d && i.target && i.target.shadowRoot && u && (a = u[0]);
1139
1149
  const c = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, h = !!(i.target && i.target.shadowRoot);
1140
- if (r.noSwiping && (h ? ut(c, a) : a.closest(c))) {
1150
+ if (r.noSwiping && (h ? bt(c, a) : a.closest(c))) {
1141
1151
  t.allowClick = !0;
1142
1152
  return;
1143
1153
  }
@@ -1145,7 +1155,7 @@ function pt(s) {
1145
1155
  return;
1146
1156
  l.currentX = i.pageX, l.currentY = i.pageY;
1147
1157
  const f = l.currentX, p = l.currentY;
1148
- if (!ae(t, i, f))
1158
+ if (!ce(t, i, f))
1149
1159
  return;
1150
1160
  Object.assign(n, {
1151
1161
  isTouched: !0,
@@ -1159,7 +1169,7 @@ function pt(s) {
1159
1169
  const E = m && t.allowTouchMove && r.touchStartPreventDefault;
1160
1170
  (r.touchStartForcePreventDefault || E) && !a.isContentEditable && i.preventDefault(), r.freeMode && r.freeMode.enabled && t.freeMode && t.animating && !r.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", i);
1161
1171
  }
1162
- function ht(s) {
1172
+ function yt(s) {
1163
1173
  const t = R(), e = this, i = e.touchEventsData, {
1164
1174
  params: n,
1165
1175
  touches: r,
@@ -1212,11 +1222,11 @@ function ht(s) {
1212
1222
  i.allowTouchCallbacks && e.emit("touchMove", a), r.previousX = r.currentX, r.previousY = r.currentY, r.currentX = u, r.currentY = c;
1213
1223
  const h = r.currentX - r.startX, f = r.currentY - r.startY;
1214
1224
  if (e.params.threshold && Math.sqrt(h ** 2 + f ** 2) < e.params.threshold) return;
1215
- if (typeof i.isScrolling > "u") {
1225
+ if (typeof i.isScrolling == "undefined") {
1216
1226
  let S;
1217
1227
  e.isHorizontal() && r.currentY === r.startY || e.isVertical() && r.currentX === r.startX ? i.isScrolling = !1 : h * h + f * f >= 25 && (S = Math.atan2(Math.abs(f), Math.abs(h)) * 180 / Math.PI, i.isScrolling = e.isHorizontal() ? S > n.touchAngle : 90 - S > n.touchAngle);
1218
1228
  }
1219
- if (i.isScrolling && e.emit("touchMoveOpposite", a), typeof i.startMoving > "u" && (r.currentX !== r.startX || r.currentY !== r.startY) && (i.startMoving = !0), i.isScrolling || a.type === "touchmove" && i.preventTouchMoveFromPointerMove) {
1229
+ if (i.isScrolling && e.emit("touchMoveOpposite", a), typeof i.startMoving == "undefined" && (r.currentX !== r.startX || r.currentY !== r.startY) && (i.startMoving = !0), i.isScrolling || a.type === "touchmove" && i.preventTouchMoveFromPointerMove) {
1220
1230
  i.isTouched = !1;
1221
1231
  return;
1222
1232
  }
@@ -1275,7 +1285,7 @@ function ht(s) {
1275
1285
  }
1276
1286
  !n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && e.freeMode || n.watchSlidesProgress) && (e.updateActiveIndex(), e.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && e.freeMode && e.freeMode.onTouchMove(), e.updateProgress(i.currentTranslate), e.setTranslate(i.currentTranslate));
1277
1287
  }
1278
- function mt(s) {
1288
+ function Et(s) {
1279
1289
  const t = this, e = t.touchEventsData;
1280
1290
  let i = s;
1281
1291
  i.originalEvent && (i = i.originalEvent);
@@ -1307,7 +1317,7 @@ function mt(s) {
1307
1317
  const S = i.path || i.composedPath && i.composedPath();
1308
1318
  t.updateClickedSlide(S && S[0] || i.target, S), t.emit("tap click", i), h < 300 && c - e.lastClickTime < 300 && t.emit("doubleTap doubleClick", i);
1309
1319
  }
1310
- if (e.lastClickTime = j(), ce(() => {
1320
+ if (e.lastClickTime = j(), he(() => {
1311
1321
  t.destroyed || (t.allowClick = !0);
1312
1322
  }), !e.isTouched || !e.isMoved || !t.swipeDirection || o.diff === 0 && !e.loopSwapReset || e.currentTranslate === e.startTranslate && !e.loopSwapReset) {
1313
1323
  e.isTouched = !1, e.isMoved = !1, e.startMoving = !1;
@@ -1327,7 +1337,7 @@ function mt(s) {
1327
1337
  let m = 0, E = t.slidesSizesGrid[0];
1328
1338
  for (let S = 0; S < d.length; S += S < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1329
1339
  const I = S < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1330
- typeof d[S + I] < "u" ? (p || f >= d[S] && f < d[S + I]) && (m = S, E = d[S + I] - d[S]) : (p || f >= d[S]) && (m = S, E = d[d.length - 1] - d[d.length - 2]);
1340
+ typeof d[S + I] != "undefined" ? (p || f >= d[S] && f < d[S + I]) && (m = S, E = d[S + I] - d[S]) : (p || f >= d[S]) && (m = S, E = d[d.length - 1] - d[d.length - 2]);
1331
1341
  }
1332
1342
  let x = null, v = null;
1333
1343
  l.rewind && (t.isBeginning ? v = l.virtual && l.virtual.enabled && t.virtual ? t.virtual.slides.length - 1 : t.slides.length - 1 : t.isEnd && (x = 0));
@@ -1346,7 +1356,7 @@ function mt(s) {
1346
1356
  t.navigation && (i.target === t.navigation.nextEl || i.target === t.navigation.prevEl) ? i.target === t.navigation.nextEl ? t.slideTo(m + y) : t.slideTo(m) : (t.swipeDirection === "next" && t.slideTo(x !== null ? x : m + y), t.swipeDirection === "prev" && t.slideTo(v !== null ? v : m));
1347
1357
  }
1348
1358
  }
1349
- function le() {
1359
+ function fe() {
1350
1360
  const s = this, {
1351
1361
  params: t,
1352
1362
  el: e
@@ -1364,11 +1374,11 @@ function le() {
1364
1374
  s.autoplay && s.autoplay.running && s.autoplay.paused && s.autoplay.resume();
1365
1375
  }, 500)), s.allowSlidePrev = n, s.allowSlideNext = i, s.params.watchOverflow && r !== s.snapGrid && s.checkOverflow();
1366
1376
  }
1367
- function gt(s) {
1377
+ function Pt(s) {
1368
1378
  const t = this;
1369
1379
  t.enabled && (t.allowClick || (t.params.preventClicks && s.preventDefault(), t.params.preventClicksPropagation && t.animating && (s.stopPropagation(), s.stopImmediatePropagation())));
1370
1380
  }
1371
- function vt() {
1381
+ function Mt() {
1372
1382
  const s = this, {
1373
1383
  wrapperEl: t,
1374
1384
  rtlTranslate: e,
@@ -1380,15 +1390,15 @@ function vt() {
1380
1390
  const r = s.maxTranslate() - s.minTranslate();
1381
1391
  r === 0 ? n = 0 : n = (s.translate - s.minTranslate()) / r, n !== s.progress && s.updateProgress(e ? -s.translate : s.translate), s.emit("setTranslate", s.translate, !1);
1382
1392
  }
1383
- function wt(s) {
1393
+ function Ct(s) {
1384
1394
  const t = this;
1385
1395
  Y(t, s.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
1386
1396
  }
1387
- function St() {
1397
+ function It() {
1388
1398
  const s = this;
1389
1399
  s.documentTouchHandlerProceeded || (s.documentTouchHandlerProceeded = !0, s.params.touchReleaseOnEdges && (s.el.style.touchAction = "auto"));
1390
1400
  }
1391
- const ge = (s, t) => {
1401
+ const Te = (s, t) => {
1392
1402
  const e = R(), {
1393
1403
  params: i,
1394
1404
  el: n,
@@ -1422,25 +1432,25 @@ const ge = (s, t) => {
1422
1432
  passive: !0
1423
1433
  }), e[a]("contextmenu", s.onTouchEnd, {
1424
1434
  passive: !0
1425
- }), (i.preventClicks || i.preventClicksPropagation) && n[a]("click", s.onClick, !0), i.cssMode && r[a]("scroll", s.onScroll), i.updateOnWindowResize ? s[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", le, !0) : s[d]("observerUpdate", le, !0), n[a]("load", s.onLoad, {
1435
+ }), (i.preventClicks || i.preventClicksPropagation) && n[a]("click", s.onClick, !0), i.cssMode && r[a]("scroll", s.onScroll), i.updateOnWindowResize ? s[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", fe, !0) : s[d]("observerUpdate", fe, !0), n[a]("load", s.onLoad, {
1426
1436
  capture: !0
1427
1437
  }));
1428
1438
  };
1429
- function Tt() {
1439
+ function Lt() {
1430
1440
  const s = this, {
1431
1441
  params: t
1432
1442
  } = s;
1433
- s.onTouchStart = pt.bind(s), s.onTouchMove = ht.bind(s), s.onTouchEnd = mt.bind(s), s.onDocumentTouchStart = St.bind(s), t.cssMode && (s.onScroll = vt.bind(s)), s.onClick = gt.bind(s), s.onLoad = wt.bind(s), ge(s, "on");
1443
+ s.onTouchStart = xt.bind(s), s.onTouchMove = yt.bind(s), s.onTouchEnd = Et.bind(s), s.onDocumentTouchStart = It.bind(s), t.cssMode && (s.onScroll = Mt.bind(s)), s.onClick = Pt.bind(s), s.onLoad = Ct.bind(s), Te(s, "on");
1434
1444
  }
1435
- function bt() {
1436
- ge(this, "off");
1445
+ function zt() {
1446
+ Te(this, "off");
1437
1447
  }
1438
- var xt = {
1439
- attachEvents: Tt,
1440
- detachEvents: bt
1448
+ var kt = {
1449
+ attachEvents: Lt,
1450
+ detachEvents: zt
1441
1451
  };
1442
- const oe = (s, t) => s.grid && t.grid && t.grid.rows > 1;
1443
- function yt() {
1452
+ const ue = (s, t) => s.grid && t.grid && t.grid.rows > 1;
1453
+ function Ot() {
1444
1454
  const s = this, {
1445
1455
  realIndex: t,
1446
1456
  initialized: e,
@@ -1450,9 +1460,9 @@ function yt() {
1450
1460
  if (!r || r && Object.keys(r).length === 0) return;
1451
1461
  const l = R(), o = i.breakpointsBase === "window" || !i.breakpointsBase ? i.breakpointsBase : "container", a = ["window", "container"].includes(i.breakpointsBase) || !i.breakpointsBase ? s.el : l.querySelector(i.breakpointsBase), d = s.getBreakpoint(r, o, a);
1452
1462
  if (!d || s.currentBreakpoint === d) return;
1453
- const c = (d in r ? r[d] : void 0) || s.originalParams, h = oe(s, i), f = oe(s, c), p = s.params.grabCursor, m = c.grabCursor, E = i.enabled;
1463
+ const c = (d in r ? r[d] : void 0) || s.originalParams, h = ue(s, i), f = ue(s, c), p = s.params.grabCursor, m = c.grabCursor, E = i.enabled;
1454
1464
  h && !f ? (n.classList.remove(`${i.containerModifierClass}grid`, `${i.containerModifierClass}grid-column`), s.emitContainerClasses()) : !h && f && (n.classList.add(`${i.containerModifierClass}grid`), (c.grid.fill && c.grid.fill === "column" || !c.grid.fill && i.grid.fill === "column") && n.classList.add(`${i.containerModifierClass}grid-column`), s.emitContainerClasses()), p && !m ? s.unsetGrabCursor() : !p && m && s.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((I) => {
1455
- if (typeof c[I] > "u") return;
1465
+ if (typeof c[I] == "undefined") return;
1456
1466
  const M = i[I] && i[I].enabled, T = c[I] && c[I].enabled;
1457
1467
  M && !T && s[I].disable(), !M && T && s[I].enable();
1458
1468
  });
@@ -1465,7 +1475,7 @@ function yt() {
1465
1475
  allowSlidePrev: s.params.allowSlidePrev
1466
1476
  }), E && !y ? s.disable() : !E && y && s.enable(), s.currentBreakpoint = d, s.emit("_beforeBreakpoint", c), e && (v ? (s.loopDestroy(), s.loopCreate(t), s.updateSlides()) : !g && S ? (s.loopCreate(t), s.updateSlides()) : g && !S && s.loopDestroy()), s.emit("breakpoint", c);
1467
1477
  }
1468
- function Et(s, t = "window", e) {
1478
+ function At(s, t = "window", e) {
1469
1479
  if (!s || t === "container" && !e) return;
1470
1480
  let i = !1;
1471
1481
  const n = $(), r = t === "window" ? n.innerHeight : e.clientHeight, l = Object.keys(s).map((o) => {
@@ -1491,11 +1501,11 @@ function Et(s, t = "window", e) {
1491
1501
  }
1492
1502
  return i || "max";
1493
1503
  }
1494
- var Pt = {
1495
- setBreakpoint: yt,
1496
- getBreakpoint: Et
1504
+ var Gt = {
1505
+ setBreakpoint: Ot,
1506
+ getBreakpoint: At
1497
1507
  };
1498
- function Mt(s, t) {
1508
+ function Vt(s, t) {
1499
1509
  const e = [];
1500
1510
  return s.forEach((i) => {
1501
1511
  typeof i == "object" ? Object.keys(i).forEach((n) => {
@@ -1503,14 +1513,14 @@ function Mt(s, t) {
1503
1513
  }) : typeof i == "string" && e.push(t + i);
1504
1514
  }), e;
1505
1515
  }
1506
- function Ct() {
1516
+ function Dt() {
1507
1517
  const s = this, {
1508
1518
  classNames: t,
1509
1519
  params: e,
1510
1520
  rtl: i,
1511
1521
  el: n,
1512
1522
  device: r
1513
- } = s, l = Mt(["initialized", e.direction, {
1523
+ } = s, l = Vt(["initialized", e.direction, {
1514
1524
  "free-mode": s.params.freeMode && e.freeMode.enabled
1515
1525
  }, {
1516
1526
  autoheight: e.autoHeight
@@ -1533,18 +1543,18 @@ function Ct() {
1533
1543
  }], e.containerModifierClass);
1534
1544
  t.push(...l), n.classList.add(...t), s.emitContainerClasses();
1535
1545
  }
1536
- function It() {
1546
+ function Bt() {
1537
1547
  const s = this, {
1538
1548
  el: t,
1539
1549
  classNames: e
1540
1550
  } = s;
1541
1551
  !t || typeof t == "string" || (t.classList.remove(...e), s.emitContainerClasses());
1542
1552
  }
1543
- var Lt = {
1544
- addClasses: Ct,
1545
- removeClasses: It
1553
+ var _t = {
1554
+ addClasses: Dt,
1555
+ removeClasses: Bt
1546
1556
  };
1547
- function zt() {
1557
+ function Ft() {
1548
1558
  const s = this, {
1549
1559
  isLocked: t,
1550
1560
  params: e
@@ -1558,9 +1568,9 @@ function zt() {
1558
1568
  s.isLocked = s.snapGrid.length === 1;
1559
1569
  e.allowSlideNext === !0 && (s.allowSlideNext = !s.isLocked), e.allowSlidePrev === !0 && (s.allowSlidePrev = !s.isLocked), t && t !== s.isLocked && (s.isEnd = !1), t !== s.isLocked && s.emit(s.isLocked ? "lock" : "unlock");
1560
1570
  }
1561
- var kt = {
1562
- checkOverflow: zt
1563
- }, de = {
1571
+ var Nt = {
1572
+ checkOverflow: Ft
1573
+ }, pe = {
1564
1574
  init: !0,
1565
1575
  direction: "horizontal",
1566
1576
  oneWayMovement: !1,
@@ -1682,7 +1692,7 @@ var kt = {
1682
1692
  // Internals
1683
1693
  _emitClasses: !1
1684
1694
  };
1685
- function Ot(s, t) {
1695
+ function $t(s, t) {
1686
1696
  return function(i = {}) {
1687
1697
  const n = Object.keys(i)[0], r = i[n];
1688
1698
  if (typeof r != "object" || r === null) {
@@ -1700,19 +1710,19 @@ function Ot(s, t) {
1700
1710
  }), D(t, i);
1701
1711
  };
1702
1712
  }
1703
- const Z = {
1704
- eventsEmitter: Le,
1705
- update: Ne,
1706
- translate: Xe,
1707
- transition: Ke,
1708
- slide: rt,
1709
- loop: ot,
1710
- grabCursor: ft,
1711
- events: xt,
1712
- breakpoints: Pt,
1713
- checkOverflow: kt,
1714
- classes: Lt
1715
- }, ee = {};
1713
+ const te = {
1714
+ eventsEmitter: _e,
1715
+ update: Ue,
1716
+ translate: tt,
1717
+ transition: nt,
1718
+ slide: pt,
1719
+ loop: vt,
1720
+ grabCursor: Tt,
1721
+ events: kt,
1722
+ breakpoints: Gt,
1723
+ checkOverflow: Nt,
1724
+ classes: _t
1725
+ }, se = {};
1716
1726
  class V {
1717
1727
  constructor(...t) {
1718
1728
  let e, i;
@@ -1728,9 +1738,9 @@ class V {
1728
1738
  }), a;
1729
1739
  }
1730
1740
  const r = this;
1731
- r.__swiper__ = !0, r.support = ue(), r.device = pe({
1741
+ r.__swiper__ = !0, r.support = ge(), r.device = ve({
1732
1742
  userAgent: i.userAgent
1733
- }), r.browser = he(), r.eventsListeners = {}, r.eventsAnyListeners = [], r.modules = [...r.__modules__], i.modules && Array.isArray(i.modules) && i.modules.forEach((a) => {
1743
+ }), r.browser = we(), r.eventsListeners = {}, r.eventsAnyListeners = [], r.modules = [...r.__modules__], i.modules && Array.isArray(i.modules) && i.modules.forEach((a) => {
1734
1744
  typeof a == "function" && r.modules.indexOf(a) < 0 && r.modules.push(a);
1735
1745
  });
1736
1746
  const l = {};
@@ -1738,15 +1748,15 @@ class V {
1738
1748
  a({
1739
1749
  params: i,
1740
1750
  swiper: r,
1741
- extendParams: Ot(i, l),
1751
+ extendParams: $t(i, l),
1742
1752
  on: r.on.bind(r),
1743
1753
  once: r.once.bind(r),
1744
1754
  off: r.off.bind(r),
1745
1755
  emit: r.emit.bind(r)
1746
1756
  });
1747
1757
  });
1748
- const o = D({}, de, l);
1749
- return r.params = D({}, o, ee, i), r.originalParams = D({}, r.params), r.passedParams = D({}, i), r.params && r.params.on && Object.keys(r.params.on).forEach((a) => {
1758
+ const o = D({}, pe, l);
1759
+ return r.params = D({}, o, se, i), r.originalParams = D({}, r.params), r.passedParams = D({}, i), r.params && r.params.on && Object.keys(r.params.on).forEach((a) => {
1750
1760
  r.on(a, r.params.on[a]);
1751
1761
  }), r.params && r.params.onAny && r.onAny(r.params.onAny), Object.assign(r, {
1752
1762
  enabled: r.params.enabled,
@@ -1837,8 +1847,8 @@ class V {
1837
1847
  const {
1838
1848
  slidesEl: e,
1839
1849
  params: i
1840
- } = this, n = B(e, `.${i.slideClass}, swiper-slide`), r = ie(n[0]);
1841
- return ie(t) - r;
1850
+ } = this, n = B(e, `.${i.slideClass}, swiper-slide`), r = le(n[0]);
1851
+ return le(t) - r;
1842
1852
  }
1843
1853
  getSlideIndexByData(t) {
1844
1854
  return this.getSlideIndex(this.slides.find((e) => e.getAttribute("data-swiper-slide-index") * 1 === t));
@@ -1865,7 +1875,7 @@ class V {
1865
1875
  const i = this;
1866
1876
  t = Math.min(Math.max(t, 0), 1);
1867
1877
  const n = i.minTranslate(), l = (i.maxTranslate() - n) * t + n;
1868
- i.translateTo(l, typeof e > "u" ? 0 : e), i.updateActiveIndex(), i.updateSlidesClasses();
1878
+ i.translateTo(l, typeof e == "undefined" ? 0 : e), i.updateActiveIndex(), i.updateSlidesClasses();
1869
1879
  }
1870
1880
  emitContainerClasses() {
1871
1881
  const t = this;
@@ -1960,7 +1970,7 @@ class V {
1960
1970
  i.swiper = e, i.parentNode && i.parentNode.host && i.parentNode.host.nodeName === e.params.swiperElementNodeName.toUpperCase() && (e.isElement = !0);
1961
1971
  const n = () => `.${(e.params.wrapperClass || "").trim().split(" ").join(".")}`;
1962
1972
  let l = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(n()) : B(i, n())[0];
1963
- return !l && e.params.createElements && (l = te("div", e.params.wrapperClass), i.append(l), B(i, `.${e.params.slideClass}`).forEach((o) => {
1973
+ return !l && e.params.createElements && (l = ie("div", e.params.wrapperClass), i.append(l), B(i, `.${e.params.slideClass}`).forEach((o) => {
1964
1974
  l.append(o);
1965
1975
  })), Object.assign(e, {
1966
1976
  el: i,
@@ -1983,7 +1993,7 @@ class V {
1983
1993
  r.complete ? Y(e, r) : r.addEventListener("load", (l) => {
1984
1994
  Y(e, l.target);
1985
1995
  });
1986
- }), se(e), e.initialized = !0, se(e), e.emit("init"), e.emit("afterInit"), e;
1996
+ }), re(e), e.initialized = !0, re(e), e.emit("init"), e.emit("afterInit"), e;
1987
1997
  }
1988
1998
  destroy(t = !0, e = !0) {
1989
1999
  const i = this, {
@@ -1992,20 +2002,20 @@ class V {
1992
2002
  wrapperEl: l,
1993
2003
  slides: o
1994
2004
  } = i;
1995
- return typeof i.params > "u" || i.destroyed || (i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), n.loop && i.loopDestroy(), e && (i.removeClasses(), r && typeof r != "string" && r.removeAttribute("style"), l && l.removeAttribute("style"), o && o.length && o.forEach((a) => {
2005
+ return typeof i.params == "undefined" || i.destroyed || (i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), n.loop && i.loopDestroy(), e && (i.removeClasses(), r && typeof r != "string" && r.removeAttribute("style"), l && l.removeAttribute("style"), o && o.length && o.forEach((a) => {
1996
2006
  a.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), a.removeAttribute("style"), a.removeAttribute("data-swiper-slide-index");
1997
2007
  })), i.emit("destroy"), Object.keys(i.eventsListeners).forEach((a) => {
1998
2008
  i.off(a);
1999
- }), t !== !1 && (i.el && typeof i.el != "string" && (i.el.swiper = null), we(i)), i.destroyed = !0), null;
2009
+ }), t !== !1 && (i.el && typeof i.el != "string" && (i.el.swiper = null), Ce(i)), i.destroyed = !0), null;
2000
2010
  }
2001
2011
  static extendDefaults(t) {
2002
- D(ee, t);
2012
+ D(se, t);
2003
2013
  }
2004
2014
  static get extendedDefaults() {
2005
- return ee;
2015
+ return se;
2006
2016
  }
2007
2017
  static get defaults() {
2008
- return de;
2018
+ return pe;
2009
2019
  }
2010
2020
  static installModule(t) {
2011
2021
  V.prototype.__modules__ || (V.prototype.__modules__ = []);
@@ -2016,13 +2026,13 @@ class V {
2016
2026
  return Array.isArray(t) ? (t.forEach((e) => V.installModule(e)), V) : (V.installModule(t), V);
2017
2027
  }
2018
2028
  }
2019
- Object.keys(Z).forEach((s) => {
2020
- Object.keys(Z[s]).forEach((t) => {
2021
- V.prototype[t] = Z[s][t];
2029
+ Object.keys(te).forEach((s) => {
2030
+ Object.keys(te[s]).forEach((t) => {
2031
+ V.prototype[t] = te[s][t];
2022
2032
  });
2023
2033
  });
2024
- V.use([Ce, Ie]);
2034
+ V.use([De, Be]);
2025
2035
  export {
2026
2036
  V as S,
2027
- de as d
2037
+ pe as d
2028
2038
  };