@xwadex/fesd 0.0.14-re.59 → 0.0.14-re.61

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.
@@ -1,9 +1,9 @@
1
- function Me(e) {
1
+ function Pe(e) {
2
2
  return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
3
  }
4
- function Ee(e = {}, a = {}) {
4
+ function xe(e = {}, a = {}) {
5
5
  Object.keys(a).forEach((t) => {
6
- typeof e[t] > "u" ? e[t] = a[t] : Me(a[t]) && Me(e[t]) && Object.keys(a[t]).length > 0 && Ee(e[t], a[t]);
6
+ typeof e[t] > "u" ? e[t] = a[t] : Pe(a[t]) && Pe(e[t]) && Object.keys(a[t]).length > 0 && xe(e[t], a[t]);
7
7
  });
8
8
  }
9
9
  const De = {
@@ -63,7 +63,7 @@ const De = {
63
63
  };
64
64
  function Y() {
65
65
  const e = typeof document < "u" ? document : {};
66
- return Ee(e, De), e;
66
+ return xe(e, De), e;
67
67
  }
68
68
  const Ye = {
69
69
  document: De,
@@ -125,7 +125,7 @@ const Ye = {
125
125
  };
126
126
  function X() {
127
127
  const e = typeof window < "u" ? window : {};
128
- return Ee(e, Ye), e;
128
+ return xe(e, Ye), e;
129
129
  }
130
130
  function Re(e) {
131
131
  const a = e.__proto__;
@@ -456,7 +456,7 @@ function ht(e) {
456
456
  }
457
457
  return P([this[e]]);
458
458
  }
459
- function mt(...e) {
459
+ function pt(...e) {
460
460
  let a;
461
461
  const t = Y();
462
462
  for (let n = 0; n < e.length; n += 1) {
@@ -474,7 +474,7 @@ function mt(...e) {
474
474
  }
475
475
  return this;
476
476
  }
477
- function pt(e) {
477
+ function mt(e) {
478
478
  const a = Y();
479
479
  let t, n;
480
480
  for (t = 0; t < this.length; t += 1)
@@ -563,7 +563,7 @@ function Ct() {
563
563
  this[e].parentNode && this[e].parentNode.removeChild(this[e]);
564
564
  return this;
565
565
  }
566
- const Pe = {
566
+ const ze = {
567
567
  addClass: We,
568
568
  removeClass: qe,
569
569
  hasClass: je,
@@ -587,8 +587,8 @@ const Pe = {
587
587
  is: ft,
588
588
  index: ut,
589
589
  eq: ht,
590
- append: mt,
591
- prepend: pt,
590
+ append: pt,
591
+ prepend: mt,
592
592
  next: gt,
593
593
  nextAll: vt,
594
594
  prev: bt,
@@ -601,9 +601,9 @@ const Pe = {
601
601
  filter: ot,
602
602
  remove: Ct
603
603
  };
604
- Object.keys(Pe).forEach((e) => {
604
+ Object.keys(ze).forEach((e) => {
605
605
  Object.defineProperty(P.fn, e, {
606
- value: Pe[e],
606
+ value: ze[e],
607
607
  writable: !0
608
608
  });
609
609
  });
@@ -687,7 +687,7 @@ function He({
687
687
  };
688
688
  d();
689
689
  }
690
- let me;
690
+ let pe;
691
691
  function It() {
692
692
  const e = X(), a = Y();
693
693
  return {
@@ -713,9 +713,9 @@ function It() {
713
713
  };
714
714
  }
715
715
  function Ge() {
716
- return me || (me = It()), me;
716
+ return pe || (pe = It()), pe;
717
717
  }
718
- let pe;
718
+ let me;
719
719
  function kt({
720
720
  userAgent: e
721
721
  } = {}) {
@@ -730,7 +730,7 @@ function kt({
730
730
  return !l && g && a.touch && v.indexOf(`${u}x${h}`) >= 0 && (l = s.match(/(Version)\/([\d.]+)/), l || (l = [0, 1, "13_0_0"]), g = !1), r && !f && (o.os = "android", o.android = !0), (l || c || d) && (o.os = "ios", o.ios = !0), o;
731
731
  }
732
732
  function Lt(e = {}) {
733
- return pe || (pe = kt(e)), pe;
733
+ return me || (me = kt(e)), me;
734
734
  }
735
735
  let ge;
736
736
  function Ot() {
@@ -765,11 +765,11 @@ function At({
765
765
  } = e;
766
766
  let g = c, v = f;
767
767
  d.forEach(({
768
- contentBoxSize: m,
769
- contentRect: p,
768
+ contentBoxSize: p,
769
+ contentRect: m,
770
770
  target: y
771
771
  }) => {
772
- y && y !== e.el || (g = p ? p.width : (m[0] || m).inlineSize, v = p ? p.height : (m[0] || m).blockSize);
772
+ y && y !== e.el || (g = m ? m.width : (p[0] || p).inlineSize, v = m ? m.height : (p[0] || p).blockSize);
773
773
  }), (g !== c || v !== f) && u();
774
774
  });
775
775
  }), s.observe(e.el));
@@ -924,12 +924,12 @@ function Bt() {
924
924
  } = e, r = e.virtual && n.virtual.enabled, l = r ? e.virtual.slides.length : e.slides.length, d = s.children(`.${e.params.slideClass}`), c = r ? e.virtual.slides.length : d.length;
925
925
  let f = [];
926
926
  const g = [], v = [];
927
- let m = n.slidesOffsetBefore;
928
- typeof m == "function" && (m = n.slidesOffsetBefore.call(e));
929
- let p = n.slidesOffsetAfter;
930
- typeof p == "function" && (p = n.slidesOffsetAfter.call(e));
927
+ let p = n.slidesOffsetBefore;
928
+ typeof p == "function" && (p = n.slidesOffsetBefore.call(e));
929
+ let m = n.slidesOffsetAfter;
930
+ typeof m == "function" && (m = n.slidesOffsetAfter.call(e));
931
931
  const y = e.snapGrid.length, b = e.slidesGrid.length;
932
- let E = n.spaceBetween, M = -m, C = 0, k = 0;
932
+ let E = n.spaceBetween, M = -p, C = 0, k = 0;
933
933
  if (typeof o > "u")
934
934
  return;
935
935
  typeof E == "string" && E.indexOf("%") >= 0 && (E = parseFloat(E.replace("%", "")) / 100 * o), e.virtualSize = -E, u ? d.css({
@@ -972,7 +972,7 @@ function Bt() {
972
972
  d[I] && (d[I].swiperSlideSize = O), v.push(O), n.centeredSlides ? (M = M + O / 2 + C / 2 + E, C === 0 && I !== 0 && (M = M - o / 2 - E), I === 0 && (M = M - o / 2 - E), Math.abs(M) < 1 / 1e3 && (M = 0), n.roundLengths && (M = Math.floor(M)), k % n.slidesPerGroup === 0 && f.push(M), g.push(M)) : (n.roundLengths && (M = Math.floor(M)), (k - Math.min(e.params.slidesPerGroupSkip, k)) % e.params.slidesPerGroup === 0 && f.push(M), g.push(M), M = M + O + E), e.virtualSize += O + E, C = O, k += 1;
973
973
  }
974
974
  }
975
- if (e.virtualSize = Math.max(e.virtualSize, o) + p, u && h && (n.effect === "slide" || n.effect === "coverflow") && s.css({
975
+ if (e.virtualSize = Math.max(e.virtualSize, o) + m, u && h && (n.effect === "slide" || n.effect === "coverflow") && s.css({
976
976
  width: `${e.virtualSize + n.spaceBetween}px`
977
977
  }), n.setWrapperSize && s.css({
978
978
  [a("width")]: `${e.virtualSize + n.spaceBetween}px`
@@ -996,7 +996,7 @@ function Bt() {
996
996
  I += x + (n.spaceBetween ? n.spaceBetween : 0);
997
997
  }), I -= n.spaceBetween;
998
998
  const T = I - o;
999
- f = f.map((x) => x < 0 ? -m : x > T ? T + p : x);
999
+ f = f.map((x) => x < 0 ? -p : x > T ? T + m : x);
1000
1000
  }
1001
1001
  if (n.centerInsufficientSlides) {
1002
1002
  let I = 0;
@@ -1321,10 +1321,10 @@ function na(e = 0, a = this.params.speed, t = !0, n, s) {
1321
1321
  } = o;
1322
1322
  if (o.animating && h.preventInteractionOnTransition || !v && !n && !s)
1323
1323
  return !1;
1324
- const m = Math.min(o.params.slidesPerGroupSkip, u);
1325
- let p = m + Math.floor((u - m) / o.params.slidesPerGroup);
1326
- p >= r.length && (p = r.length - 1);
1327
- const y = -r[p];
1324
+ const p = Math.min(o.params.slidesPerGroupSkip, u);
1325
+ let m = p + Math.floor((u - p) / o.params.slidesPerGroup);
1326
+ m >= r.length && (m = r.length - 1);
1327
+ const y = -r[m];
1328
1328
  if (h.normalizeSlideIndex)
1329
1329
  for (let E = 0; E < l.length; E += 1) {
1330
1330
  const M = -Math.floor(y * 100), C = Math.floor(l[E] * 100), k = Math.floor(l[E + 1] * 100);
@@ -1407,23 +1407,23 @@ function la(e = this.params.speed, a = !0, t) {
1407
1407
  n.loopFix(), n._clientLeft = n.$wrapperEl[0].clientLeft;
1408
1408
  }
1409
1409
  const d = r ? n.translate : -n.translate;
1410
- function c(p) {
1411
- return p < 0 ? -Math.floor(Math.abs(p)) : Math.floor(p);
1410
+ function c(m) {
1411
+ return m < 0 ? -Math.floor(Math.abs(m)) : Math.floor(m);
1412
1412
  }
1413
- const f = c(d), g = u.map((p) => c(p));
1413
+ const f = c(d), g = u.map((m) => c(m));
1414
1414
  let v = u[g.indexOf(f) - 1];
1415
1415
  if (typeof v > "u" && s.cssMode) {
1416
- let p;
1416
+ let m;
1417
1417
  u.forEach((y, b) => {
1418
- f >= y && (p = b);
1419
- }), typeof p < "u" && (v = u[p > 0 ? p - 1 : p]);
1418
+ f >= y && (m = b);
1419
+ }), typeof m < "u" && (v = u[m > 0 ? m - 1 : m]);
1420
1420
  }
1421
- let m = 0;
1422
- if (typeof v < "u" && (m = h.indexOf(v), m < 0 && (m = n.activeIndex - 1), s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto && (m = m - n.slidesPerViewDynamic("previous", !0) + 1, m = Math.max(m, 0))), s.rewind && n.isBeginning) {
1423
- const p = n.params.virtual && n.params.virtual.enabled && n.virtual ? n.virtual.slides.length - 1 : n.slides.length - 1;
1424
- return n.slideTo(p, e, a, t);
1421
+ let p = 0;
1422
+ if (typeof v < "u" && (p = h.indexOf(v), p < 0 && (p = n.activeIndex - 1), s.slidesPerView === "auto" && s.slidesPerGroup === 1 && s.slidesPerGroupAuto && (p = p - n.slidesPerViewDynamic("previous", !0) + 1, p = Math.max(p, 0))), s.rewind && n.isBeginning) {
1423
+ const m = n.params.virtual && n.params.virtual.enabled && n.virtual ? n.virtual.slides.length - 1 : n.slides.length - 1;
1424
+ return n.slideTo(m, e, a, t);
1425
1425
  }
1426
- return n.slideTo(m, e, a, t);
1426
+ return n.slideTo(p, e, a, t);
1427
1427
  }
1428
1428
  function ra(e = this.params.speed, a = !0, t) {
1429
1429
  const n = this;
@@ -1524,12 +1524,12 @@ function ha() {
1524
1524
  } = e;
1525
1525
  a.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(), n.removeAttr("data-swiper-slide-index");
1526
1526
  }
1527
- const ma = {
1527
+ const pa = {
1528
1528
  loopCreate: fa,
1529
1529
  loopFix: ua,
1530
1530
  loopDestroy: ha
1531
1531
  };
1532
- function pa(e) {
1532
+ function ma(e) {
1533
1533
  const a = this;
1534
1534
  if (a.support.touch || !a.params.simulateTouch || a.params.watchOverflow && a.isLocked || a.params.cssMode)
1535
1535
  return;
@@ -1541,7 +1541,7 @@ function ga() {
1541
1541
  e.support.touch || e.params.watchOverflow && e.isLocked || e.params.cssMode || (e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "");
1542
1542
  }
1543
1543
  const va = {
1544
- setGrabCursor: pa,
1544
+ setGrabCursor: ma,
1545
1545
  unsetGrabCursor: ga
1546
1546
  };
1547
1547
  function ba(e, a = this) {
@@ -1578,9 +1578,9 @@ function ya(e) {
1578
1578
  if (o.swipeHandler && !l.closest(o.swipeHandler)[0])
1579
1579
  return;
1580
1580
  u.currentX = r.type === "touchstart" ? r.targetTouches[0].pageX : r.pageX, u.currentY = r.type === "touchstart" ? r.targetTouches[0].pageY : r.pageY;
1581
- const v = u.currentX, m = u.currentY, p = o.edgeSwipeDetection || o.iOSEdgeSwipeDetection, y = o.edgeSwipeThreshold || o.iOSEdgeSwipeThreshold;
1582
- if (p && (v <= y || v >= n.innerWidth - y))
1583
- if (p === "prevent")
1581
+ const v = u.currentX, p = u.currentY, m = o.edgeSwipeDetection || o.iOSEdgeSwipeDetection, y = o.edgeSwipeThreshold || o.iOSEdgeSwipeThreshold;
1582
+ if (m && (v <= y || v >= n.innerWidth - y))
1583
+ if (m === "prevent")
1584
1584
  e.preventDefault();
1585
1585
  else
1586
1586
  return;
@@ -1590,7 +1590,7 @@ function ya(e) {
1590
1590
  allowTouchCallbacks: !0,
1591
1591
  isScrolling: void 0,
1592
1592
  startMoving: void 0
1593
- }), u.startX = v, u.startY = m, s.touchStartTime = _(), a.allowClick = !0, a.updateSize(), a.swipeDirection = void 0, o.threshold > 0 && (s.allowThresholdMove = !1), r.type !== "touchstart") {
1593
+ }), u.startX = v, u.startY = p, s.touchStartTime = _(), a.allowClick = !0, a.updateSize(), a.swipeDirection = void 0, o.threshold > 0 && (s.allowThresholdMove = !1), r.type !== "touchstart") {
1594
1594
  let b = !0;
1595
1595
  l.is(s.focusableElements) && (b = !1, l[0].nodeName === "SELECT" && (s.isTouched = !1)), t.activeElement && P(t.activeElement).is(s.focusableElements) && t.activeElement !== l[0] && t.activeElement.blur();
1596
1596
  const E = b && a.allowTouchMove && o.touchStartPreventDefault;
@@ -1660,8 +1660,8 @@ function Ea(e) {
1660
1660
  t.allowClick = !1, !s.cssMode && r.cancelable && r.preventDefault(), s.touchMoveStopPropagation && !s.nested && r.stopPropagation(), n.isMoved || (s.loop && !s.cssMode && t.loopFix(), n.startTranslate = t.getTranslate(), t.setTransition(0), t.animating && t.$wrapperEl.trigger("webkitTransitionEnd transitionend"), n.allowMomentumBounce = !1, s.grabCursor && (t.allowSlideNext === !0 || t.allowSlidePrev === !0) && t.setGrabCursor(!0), t.emit("sliderFirstMove", r)), t.emit("sliderMove", r), n.isMoved = !0;
1661
1661
  let v = t.isHorizontal() ? f : g;
1662
1662
  o.diff = v, v *= s.touchRatio, u && (v = -v), t.swipeDirection = v > 0 ? "prev" : "next", n.currentTranslate = v + n.startTranslate;
1663
- let m = !0, p = s.resistanceRatio;
1664
- if (s.touchReleaseOnEdges && (p = 0), v > 0 && n.currentTranslate > t.minTranslate() ? (m = !1, s.resistance && (n.currentTranslate = t.minTranslate() - 1 + (-t.minTranslate() + n.startTranslate + v) ** p)) : v < 0 && n.currentTranslate < t.maxTranslate() && (m = !1, s.resistance && (n.currentTranslate = t.maxTranslate() + 1 - (t.maxTranslate() - n.startTranslate - v) ** p)), m && (r.preventedByNestedSwiper = !0), !t.allowSlideNext && t.swipeDirection === "next" && n.currentTranslate < n.startTranslate && (n.currentTranslate = n.startTranslate), !t.allowSlidePrev && t.swipeDirection === "prev" && n.currentTranslate > n.startTranslate && (n.currentTranslate = n.startTranslate), !t.allowSlidePrev && !t.allowSlideNext && (n.currentTranslate = n.startTranslate), s.threshold > 0)
1663
+ let p = !0, m = s.resistanceRatio;
1664
+ if (s.touchReleaseOnEdges && (m = 0), v > 0 && n.currentTranslate > t.minTranslate() ? (p = !1, s.resistance && (n.currentTranslate = t.minTranslate() - 1 + (-t.minTranslate() + n.startTranslate + v) ** m)) : v < 0 && n.currentTranslate < t.maxTranslate() && (p = !1, s.resistance && (n.currentTranslate = t.maxTranslate() + 1 - (t.maxTranslate() - n.startTranslate - v) ** m)), p && (r.preventedByNestedSwiper = !0), !t.allowSlideNext && t.swipeDirection === "next" && n.currentTranslate < n.startTranslate && (n.currentTranslate = n.startTranslate), !t.allowSlidePrev && t.swipeDirection === "prev" && n.currentTranslate > n.startTranslate && (n.currentTranslate = n.startTranslate), !t.allowSlidePrev && !t.allowSlideNext && (n.currentTranslate = n.startTranslate), s.threshold > 0)
1665
1665
  if (Math.abs(v) > s.threshold || n.allowThresholdMove) {
1666
1666
  if (!n.allowThresholdMove) {
1667
1667
  n.allowThresholdMove = !0, o.startX = o.currentX, o.startY = o.currentY, n.currentTranslate = n.startTranslate, o.diff = t.isHorizontal() ? o.currentX - o.startX : o.currentY - o.startY;
@@ -1715,24 +1715,24 @@ function xa(e) {
1715
1715
  const E = b < n.slidesPerGroupSkip - 1 ? 1 : n.slidesPerGroup;
1716
1716
  typeof u[b + E] < "u" ? c >= u[b] && c < u[b + E] && (f = b, g = u[b + E] - u[b]) : c >= u[b] && (f = b, g = u[u.length - 1] - u[u.length - 2]);
1717
1717
  }
1718
- let v = null, m = null;
1719
- n.rewind && (a.isBeginning ? m = a.params.virtual && a.params.virtual.enabled && a.virtual ? a.virtual.slides.length - 1 : a.slides.length - 1 : a.isEnd && (v = 0));
1720
- const p = (c - u[f]) / g, y = f < n.slidesPerGroupSkip - 1 ? 1 : n.slidesPerGroup;
1718
+ let v = null, p = null;
1719
+ n.rewind && (a.isBeginning ? p = a.params.virtual && a.params.virtual.enabled && a.virtual ? a.virtual.slides.length - 1 : a.slides.length - 1 : a.isEnd && (v = 0));
1720
+ const m = (c - u[f]) / g, y = f < n.slidesPerGroupSkip - 1 ? 1 : n.slidesPerGroup;
1721
1721
  if (d > n.longSwipesMs) {
1722
1722
  if (!n.longSwipes) {
1723
1723
  a.slideTo(a.activeIndex);
1724
1724
  return;
1725
1725
  }
1726
- a.swipeDirection === "next" && (p >= n.longSwipesRatio ? a.slideTo(n.rewind && a.isEnd ? v : f + y) : a.slideTo(f)), a.swipeDirection === "prev" && (p > 1 - n.longSwipesRatio ? a.slideTo(f + y) : m !== null && p < 0 && Math.abs(p) > n.longSwipesRatio ? a.slideTo(m) : a.slideTo(f));
1726
+ a.swipeDirection === "next" && (m >= n.longSwipesRatio ? a.slideTo(n.rewind && a.isEnd ? v : f + y) : a.slideTo(f)), a.swipeDirection === "prev" && (m > 1 - n.longSwipesRatio ? a.slideTo(f + y) : p !== null && m < 0 && Math.abs(m) > n.longSwipesRatio ? a.slideTo(p) : a.slideTo(f));
1727
1727
  } else {
1728
1728
  if (!n.shortSwipes) {
1729
1729
  a.slideTo(a.activeIndex);
1730
1730
  return;
1731
1731
  }
1732
- a.navigation && (r.target === a.navigation.nextEl || r.target === a.navigation.prevEl) ? r.target === a.navigation.nextEl ? a.slideTo(f + y) : a.slideTo(f) : (a.swipeDirection === "next" && a.slideTo(v !== null ? v : f + y), a.swipeDirection === "prev" && a.slideTo(m !== null ? m : f));
1732
+ a.navigation && (r.target === a.navigation.nextEl || r.target === a.navigation.prevEl) ? r.target === a.navigation.nextEl ? a.slideTo(f + y) : a.slideTo(f) : (a.swipeDirection === "next" && a.slideTo(v !== null ? v : f + y), a.swipeDirection === "prev" && a.slideTo(p !== null ? p : f));
1733
1733
  }
1734
1734
  }
1735
- function ze() {
1735
+ function Ie() {
1736
1736
  const e = this, {
1737
1737
  params: a,
1738
1738
  el: t
@@ -1764,7 +1764,7 @@ function Sa() {
1764
1764
  const o = e.maxTranslate() - e.minTranslate();
1765
1765
  o === 0 ? s = 0 : s = (e.translate - e.minTranslate()) / o, s !== e.progress && e.updateProgress(t ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
1766
1766
  }
1767
- let Ie = !1;
1767
+ let ke = !1;
1768
1768
  function $a() {
1769
1769
  }
1770
1770
  const Be = (e, a) => {
@@ -1788,14 +1788,14 @@ const Be = (e, a) => {
1788
1788
  capture: l
1789
1789
  } : l), o[d](s.end, e.onTouchEnd, f), s.cancel && o[d](s.cancel, e.onTouchEnd, f);
1790
1790
  }
1791
- (n.preventClicks || n.preventClicksPropagation) && o[d]("click", e.onClick, !0), n.cssMode && u[d]("scroll", e.onScroll), n.updateOnWindowResize ? e[c](h.ios || h.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", ze, !0) : e[c]("observerUpdate", ze, !0);
1791
+ (n.preventClicks || n.preventClicksPropagation) && o[d]("click", e.onClick, !0), n.cssMode && u[d]("scroll", e.onScroll), n.updateOnWindowResize ? e[c](h.ios || h.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Ie, !0) : e[c]("observerUpdate", Ie, !0);
1792
1792
  };
1793
1793
  function Ca() {
1794
1794
  const e = this, a = Y(), {
1795
1795
  params: t,
1796
1796
  support: n
1797
1797
  } = e;
1798
- e.onTouchStart = ya.bind(e), e.onTouchMove = Ea.bind(e), e.onTouchEnd = xa.bind(e), t.cssMode && (e.onScroll = Sa.bind(e)), e.onClick = Ta.bind(e), n.touch && !Ie && (a.addEventListener("touchstart", $a), Ie = !0), Be(e, "on");
1798
+ e.onTouchStart = ya.bind(e), e.onTouchMove = Ea.bind(e), e.onTouchEnd = xa.bind(e), t.cssMode && (e.onScroll = Sa.bind(e)), e.onClick = Ta.bind(e), n.touch && !ke && (a.addEventListener("touchstart", $a), ke = !0), Be(e, "on");
1799
1799
  }
1800
1800
  function Ma() {
1801
1801
  Be(this, "off");
@@ -1803,7 +1803,7 @@ function Ma() {
1803
1803
  const Pa = {
1804
1804
  attachEvents: Ca,
1805
1805
  detachEvents: Ma
1806
- }, ke = (e, a) => e.grid && a.grid && a.grid.rows > 1;
1806
+ }, Le = (e, a) => e.grid && a.grid && a.grid.rows > 1;
1807
1807
  function za() {
1808
1808
  const e = this, {
1809
1809
  activeIndex: a,
@@ -1817,19 +1817,19 @@ function za() {
1817
1817
  const h = e.getBreakpoint(u, e.params.breakpointsBase, e.el);
1818
1818
  if (!h || e.currentBreakpoint === h)
1819
1819
  return;
1820
- const l = (h in u ? u[h] : void 0) || e.originalParams, d = ke(e, s), c = ke(e, l), f = s.enabled;
1821
- d && !c ? (o.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`), e.emitContainerClasses()) : !d && c && (o.addClass(`${s.containerModifierClass}grid`), (l.grid.fill && l.grid.fill === "column" || !l.grid.fill && s.grid.fill === "column") && o.addClass(`${s.containerModifierClass}grid-column`), e.emitContainerClasses()), ["navigation", "pagination", "scrollbar"].forEach((p) => {
1822
- const y = s[p] && s[p].enabled, b = l[p] && l[p].enabled;
1823
- y && !b && e[p].disable(), !y && b && e[p].enable();
1820
+ const l = (h in u ? u[h] : void 0) || e.originalParams, d = Le(e, s), c = Le(e, l), f = s.enabled;
1821
+ d && !c ? (o.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`), e.emitContainerClasses()) : !d && c && (o.addClass(`${s.containerModifierClass}grid`), (l.grid.fill && l.grid.fill === "column" || !l.grid.fill && s.grid.fill === "column") && o.addClass(`${s.containerModifierClass}grid-column`), e.emitContainerClasses()), ["navigation", "pagination", "scrollbar"].forEach((m) => {
1822
+ const y = s[m] && s[m].enabled, b = l[m] && l[m].enabled;
1823
+ y && !b && e[m].disable(), !y && b && e[m].enable();
1824
1824
  });
1825
1825
  const g = l.direction && l.direction !== s.direction, v = s.loop && (l.slidesPerView !== s.slidesPerView || g);
1826
1826
  g && t && e.changeDirection(), V(e.params, l);
1827
- const m = e.params.enabled;
1827
+ const p = e.params.enabled;
1828
1828
  Object.assign(e, {
1829
1829
  allowTouchMove: e.params.allowTouchMove,
1830
1830
  allowSlideNext: e.params.allowSlideNext,
1831
1831
  allowSlidePrev: e.params.allowSlidePrev
1832
- }), f && !m ? e.disable() : !f && m && e.enable(), e.currentBreakpoint = h, e.emit("_beforeBreakpoint", l), v && t && (e.loopDestroy(), e.loopCreate(), e.updateSlides(), e.slideTo(a - n + e.loopedSlides, 0, !1)), e.emit("breakpoint", l);
1832
+ }), f && !p ? e.disable() : !f && p && e.enable(), e.currentBreakpoint = h, e.emit("_beforeBreakpoint", l), v && t && (e.loopDestroy(), e.loopCreate(), e.updateSlides(), e.slideTo(a - n + e.loopedSlides, 0, !1)), e.emit("breakpoint", l);
1833
1833
  }
1834
1834
  function Ia(e, a = "window", t) {
1835
1835
  if (!e || a === "container" && !t)
@@ -1953,7 +1953,7 @@ function Ba() {
1953
1953
  }
1954
1954
  const Xa = {
1955
1955
  checkOverflow: Ba
1956
- }, Le = {
1956
+ }, Oe = {
1957
1957
  init: !0,
1958
1958
  direction: "horizontal",
1959
1959
  touchEventsTarget: "wrapper",
@@ -2103,7 +2103,7 @@ const ve = {
2103
2103
  translate: Jt,
2104
2104
  transition: aa,
2105
2105
  slide: ca,
2106
- loop: ma,
2106
+ loop: pa,
2107
2107
  grabCursor: va,
2108
2108
  events: Pa,
2109
2109
  breakpoints: ka,
@@ -2138,7 +2138,7 @@ class W {
2138
2138
  emit: s.emit.bind(s)
2139
2139
  });
2140
2140
  });
2141
- const u = V({}, Le, o);
2141
+ const u = V({}, Oe, o);
2142
2142
  return s.params = V({}, u, be, n), s.originalParams = V({}, s.params), s.passedParams = V({}, n), s.params && s.params.on && Object.keys(s.params.on).forEach((h) => {
2143
2143
  s.on(h, s.params.on[h]);
2144
2144
  }), s.params && s.params.onAny && s.onAny(s.params.onAny), s.$ = P, Object.assign(s, {
@@ -2367,7 +2367,7 @@ class W {
2367
2367
  return be;
2368
2368
  }
2369
2369
  static get defaults() {
2370
- return Le;
2370
+ return Oe;
2371
2371
  }
2372
2372
  static installModule(a) {
2373
2373
  W.prototype.__modules__ || (W.prototype.__modules__ = []);
@@ -2424,8 +2424,8 @@ function Ra({
2424
2424
  slidesPerGroup: g,
2425
2425
  centeredSlides: v
2426
2426
  } = e.params, {
2427
- addSlidesBefore: m,
2428
- addSlidesAfter: p
2427
+ addSlidesBefore: p,
2428
+ addSlidesAfter: m
2429
2429
  } = e.params.virtual, {
2430
2430
  from: y,
2431
2431
  to: b,
@@ -2438,7 +2438,7 @@ function Ra({
2438
2438
  let z;
2439
2439
  e.rtlTranslate ? z = "right" : z = e.isHorizontal() ? "left" : "top";
2440
2440
  let O, D;
2441
- v ? (O = Math.floor(f / 2) + g + p, D = Math.floor(f / 2) + g + m) : (O = f + (g - 1) + p, D = g + m);
2441
+ v ? (O = Math.floor(f / 2) + g + m, D = Math.floor(f / 2) + g + p) : (O = f + (g - 1) + m, D = g + p);
2442
2442
  const I = Math.max((k || 0) - D, 0), T = Math.min((k || 0) + O, E.length - 1), x = (e.slidesGrid[I] || 0) - (e.slidesGrid[0] || 0);
2443
2443
  Object.assign(e.virtual, {
2444
2444
  from: I,
@@ -2493,17 +2493,17 @@ function Ra({
2493
2493
  const f = e.activeIndex;
2494
2494
  let g = f + 1, v = 1;
2495
2495
  if (Array.isArray(c)) {
2496
- for (let m = 0; m < c.length; m += 1)
2497
- c[m] && e.virtual.slides.unshift(c[m]);
2496
+ for (let p = 0; p < c.length; p += 1)
2497
+ c[p] && e.virtual.slides.unshift(c[p]);
2498
2498
  g = f + c.length, v = c.length;
2499
2499
  } else
2500
2500
  e.virtual.slides.unshift(c);
2501
2501
  if (e.params.virtual.cache) {
2502
- const m = e.virtual.cache, p = {};
2503
- Object.keys(m).forEach((y) => {
2504
- const b = m[y], E = b.attr("data-swiper-slide-index");
2505
- E && b.attr("data-swiper-slide-index", parseInt(E, 10) + v), p[parseInt(y, 10) + v] = b;
2506
- }), e.virtual.cache = p;
2502
+ const p = e.virtual.cache, m = {};
2503
+ Object.keys(p).forEach((y) => {
2504
+ const b = p[y], E = b.attr("data-swiper-slide-index");
2505
+ E && b.attr("data-swiper-slide-index", parseInt(E, 10) + v), m[parseInt(y, 10) + v] = b;
2506
+ }), e.virtual.cache = m;
2507
2507
  }
2508
2508
  u(!0), e.slideTo(g, 0);
2509
2509
  }
@@ -2561,11 +2561,11 @@ function Va({
2561
2561
  } = e;
2562
2562
  let c = l;
2563
2563
  c.originalEvent && (c = c.originalEvent);
2564
- const f = c.keyCode || c.charCode, g = e.params.keyboard.pageUpDown, v = g && f === 33, m = g && f === 34, p = f === 37, y = f === 39, b = f === 38, E = f === 40;
2565
- if (!e.allowSlideNext && (e.isHorizontal() && y || e.isVertical() && E || m) || !e.allowSlidePrev && (e.isHorizontal() && p || e.isVertical() && b || v))
2564
+ const f = c.keyCode || c.charCode, g = e.params.keyboard.pageUpDown, v = g && f === 33, p = g && f === 34, m = f === 37, y = f === 39, b = f === 38, E = f === 40;
2565
+ if (!e.allowSlideNext && (e.isHorizontal() && y || e.isVertical() && E || p) || !e.allowSlidePrev && (e.isHorizontal() && m || e.isVertical() && b || v))
2566
2566
  return !1;
2567
2567
  if (!(c.shiftKey || c.altKey || c.ctrlKey || c.metaKey) && !(s.activeElement && s.activeElement.nodeName && (s.activeElement.nodeName.toLowerCase() === "input" || s.activeElement.nodeName.toLowerCase() === "textarea"))) {
2568
- if (e.params.keyboard.onlyInViewport && (v || m || p || y || b || E)) {
2568
+ if (e.params.keyboard.onlyInViewport && (v || p || m || y || b || E)) {
2569
2569
  let M = !1;
2570
2570
  if (e.$el.parents(`.${e.params.slideClass}`).length > 0 && e.$el.parents(`.${e.params.slideActiveClass}`).length === 0)
2571
2571
  return;
@@ -2583,7 +2583,7 @@ function Va({
2583
2583
  if (!M)
2584
2584
  return;
2585
2585
  }
2586
- e.isHorizontal() ? ((v || m || p || y) && (c.preventDefault ? c.preventDefault() : c.returnValue = !1), ((m || y) && !d || (v || p) && d) && e.slideNext(), ((v || p) && !d || (m || y) && d) && e.slidePrev()) : ((v || m || b || E) && (c.preventDefault ? c.preventDefault() : c.returnValue = !1), (m || E) && e.slideNext(), (v || b) && e.slidePrev()), n("keyPress", f);
2586
+ e.isHorizontal() ? ((v || p || m || y) && (c.preventDefault ? c.preventDefault() : c.returnValue = !1), ((p || y) && !d || (v || m) && d) && e.slideNext(), ((v || m) && !d || (p || y) && d) && e.slidePrev()) : ((v || p || b || E) && (c.preventDefault ? c.preventDefault() : c.returnValue = !1), (p || E) && e.slideNext(), (v || b) && e.slidePrev()), n("keyPress", f);
2587
2587
  }
2588
2588
  }
2589
2589
  function h() {
@@ -2721,26 +2721,26 @@ function _a({
2721
2721
  }
2722
2722
  return E.preventDefault ? E.preventDefault() : E.returnValue = !1, !1;
2723
2723
  }
2724
- function m(b) {
2724
+ function p(b) {
2725
2725
  let E = e.$el;
2726
2726
  e.params.mousewheel.eventsTarget !== "container" && (E = P(e.params.mousewheel.eventsTarget)), E[b]("mouseenter", d), E[b]("mouseleave", c), E[b]("wheel", v);
2727
2727
  }
2728
- function p() {
2729
- return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", v), !0) : e.mousewheel.enabled ? !1 : (m("on"), e.mousewheel.enabled = !0, !0);
2728
+ function m() {
2729
+ return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", v), !0) : e.mousewheel.enabled ? !1 : (p("on"), e.mousewheel.enabled = !0, !0);
2730
2730
  }
2731
2731
  function y() {
2732
- return e.params.cssMode ? (e.wrapperEl.addEventListener(event, v), !0) : e.mousewheel.enabled ? (m("off"), e.mousewheel.enabled = !1, !0) : !1;
2732
+ return e.params.cssMode ? (e.wrapperEl.addEventListener(event, v), !0) : e.mousewheel.enabled ? (p("off"), e.mousewheel.enabled = !1, !0) : !1;
2733
2733
  }
2734
2734
  t("init", () => {
2735
- !e.params.mousewheel.enabled && e.params.cssMode && y(), e.params.mousewheel.enabled && p();
2735
+ !e.params.mousewheel.enabled && e.params.cssMode && y(), e.params.mousewheel.enabled && m();
2736
2736
  }), t("destroy", () => {
2737
- e.params.cssMode && p(), e.mousewheel.enabled && y();
2737
+ e.params.cssMode && m(), e.mousewheel.enabled && y();
2738
2738
  }), Object.assign(e.mousewheel, {
2739
- enable: p,
2739
+ enable: m,
2740
2740
  disable: y
2741
2741
  });
2742
2742
  }
2743
- function xe(e, a, t, n) {
2743
+ function Te(e, a, t, n) {
2744
2744
  const s = Y();
2745
2745
  return e.params.createElements && Object.keys(n).forEach((o) => {
2746
2746
  if (!t[o] && t.auto === !0) {
@@ -2776,8 +2776,8 @@ function Wa({
2776
2776
  return g && (v = P(g), e.params.uniqueNavElements && typeof g == "string" && v.length > 1 && e.$el.find(g).length === 1 && (v = e.$el.find(g))), v;
2777
2777
  }
2778
2778
  function o(g, v) {
2779
- const m = e.params.navigation;
2780
- g && g.length > 0 && (g[v ? "addClass" : "removeClass"](m.disabledClass), g[0] && g[0].tagName === "BUTTON" && (g[0].disabled = v), e.params.watchOverflow && e.enabled && g[e.isLocked ? "addClass" : "removeClass"](m.lockClass));
2779
+ const p = e.params.navigation;
2780
+ g && g.length > 0 && (g[v ? "addClass" : "removeClass"](p.disabledClass), g[0] && g[0].tagName === "BUTTON" && (g[0].disabled = v), e.params.watchOverflow && e.enabled && g[e.isLocked ? "addClass" : "removeClass"](p.lockClass));
2781
2781
  }
2782
2782
  function u() {
2783
2783
  if (e.params.loop)
@@ -2796,18 +2796,18 @@ function Wa({
2796
2796
  }
2797
2797
  function l() {
2798
2798
  const g = e.params.navigation;
2799
- if (e.params.navigation = xe(e, e.originalParams.navigation, e.params.navigation, {
2799
+ if (e.params.navigation = Te(e, e.originalParams.navigation, e.params.navigation, {
2800
2800
  nextEl: "swiper-button-next",
2801
2801
  prevEl: "swiper-button-prev"
2802
2802
  }), !(g.nextEl || g.prevEl))
2803
2803
  return;
2804
- const v = s(g.nextEl), m = s(g.prevEl);
2805
- v && v.length > 0 && v.on("click", r), m && m.length > 0 && m.on("click", h), Object.assign(e.navigation, {
2804
+ const v = s(g.nextEl), p = s(g.prevEl);
2805
+ v && v.length > 0 && v.on("click", r), p && p.length > 0 && p.on("click", h), Object.assign(e.navigation, {
2806
2806
  $nextEl: v,
2807
2807
  nextEl: v && v[0],
2808
- $prevEl: m,
2809
- prevEl: m && m[0]
2810
- }), e.enabled || (v && v.addClass(g.lockClass), m && m.addClass(g.lockClass));
2808
+ $prevEl: p,
2809
+ prevEl: p && p[0]
2810
+ }), e.enabled || (v && v.addClass(g.lockClass), p && p.addClass(g.lockClass));
2811
2811
  }
2812
2812
  function d() {
2813
2813
  const {
@@ -2830,14 +2830,14 @@ function Wa({
2830
2830
  g && g[e.enabled ? "removeClass" : "addClass"](e.params.navigation.lockClass), v && v[e.enabled ? "removeClass" : "addClass"](e.params.navigation.lockClass);
2831
2831
  }), t("click", (g, v) => {
2832
2832
  const {
2833
- $nextEl: m,
2834
- $prevEl: p
2833
+ $nextEl: p,
2834
+ $prevEl: m
2835
2835
  } = e.navigation, y = v.target;
2836
- if (e.params.navigation.hideOnClick && !P(y).is(p) && !P(y).is(m)) {
2836
+ if (e.params.navigation.hideOnClick && !P(y).is(m) && !P(y).is(p)) {
2837
2837
  if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === y || e.pagination.el.contains(y)))
2838
2838
  return;
2839
2839
  let b;
2840
- m ? b = m.hasClass(e.params.navigation.hiddenClass) : p && (b = p.hasClass(e.params.navigation.hiddenClass)), n(b === !0 ? "navigationShow" : "navigationHide"), m && m.toggleClass(e.params.navigation.hiddenClass), p && p.toggleClass(e.params.navigation.hiddenClass);
2840
+ p ? b = p.hasClass(e.params.navigation.hiddenClass) : m && (b = m.hasClass(e.params.navigation.hiddenClass)), n(b === !0 ? "navigationShow" : "navigationHide"), p && p.toggleClass(e.params.navigation.hiddenClass), m && m.toggleClass(e.params.navigation.hiddenClass);
2841
2841
  }
2842
2842
  });
2843
2843
  const c = () => {
@@ -2878,8 +2878,8 @@ function qa({
2878
2878
  // 'bullets' or 'progressbar' or 'fraction' or 'custom'
2879
2879
  dynamicBullets: !1,
2880
2880
  dynamicMainBullets: 1,
2881
- formatFractionCurrent: (m) => m,
2882
- formatFractionTotal: (m) => m,
2881
+ formatFractionCurrent: (p) => p,
2882
+ formatFractionTotal: (p) => p,
2883
2883
  bulletClass: `${s}-bullet`,
2884
2884
  bulletActiveClass: `${s}-bullet-active`,
2885
2885
  modifierClass: `${s}-`,
@@ -2903,96 +2903,96 @@ function qa({
2903
2903
  function h() {
2904
2904
  return !e.params.pagination.el || !e.pagination.el || !e.pagination.$el || e.pagination.$el.length === 0;
2905
2905
  }
2906
- function r(m, p) {
2906
+ function r(p, m) {
2907
2907
  const {
2908
2908
  bulletActiveClass: y
2909
2909
  } = e.params.pagination;
2910
- m[p]().addClass(`${y}-${p}`)[p]().addClass(`${y}-${p}-${p}`);
2910
+ p[m]().addClass(`${y}-${m}`)[m]().addClass(`${y}-${m}-${m}`);
2911
2911
  }
2912
2912
  function l() {
2913
- const m = e.rtl, p = e.params.pagination;
2913
+ const p = e.rtl, m = e.params.pagination;
2914
2914
  if (h())
2915
2915
  return;
2916
2916
  const y = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, b = e.pagination.$el;
2917
2917
  let E;
2918
2918
  const M = e.params.loop ? Math.ceil((y - e.loopedSlides * 2) / e.params.slidesPerGroup) : e.snapGrid.length;
2919
- if (e.params.loop ? (E = Math.ceil((e.activeIndex - e.loopedSlides) / e.params.slidesPerGroup), E > y - 1 - e.loopedSlides * 2 && (E -= y - e.loopedSlides * 2), E > M - 1 && (E -= M), E < 0 && e.params.paginationType !== "bullets" && (E = M + E)) : typeof e.snapIndex < "u" ? E = e.snapIndex : E = e.activeIndex || 0, p.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
2919
+ if (e.params.loop ? (E = Math.ceil((e.activeIndex - e.loopedSlides) / e.params.slidesPerGroup), E > y - 1 - e.loopedSlides * 2 && (E -= y - e.loopedSlides * 2), E > M - 1 && (E -= M), E < 0 && e.params.paginationType !== "bullets" && (E = M + E)) : typeof e.snapIndex < "u" ? E = e.snapIndex : E = e.activeIndex || 0, m.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
2920
2920
  const C = e.pagination.bullets;
2921
2921
  let k, z, O;
2922
- if (p.dynamicBullets && (o = C.eq(0)[e.isHorizontal() ? "outerWidth" : "outerHeight"](!0), b.css(e.isHorizontal() ? "width" : "height", `${o * (p.dynamicMainBullets + 4)}px`), p.dynamicMainBullets > 1 && e.previousIndex !== void 0 && (u += E - (e.previousIndex - e.loopedSlides || 0), u > p.dynamicMainBullets - 1 ? u = p.dynamicMainBullets - 1 : u < 0 && (u = 0)), k = Math.max(E - u, 0), z = k + (Math.min(C.length, p.dynamicMainBullets) - 1), O = (z + k) / 2), C.removeClass(["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((D) => `${p.bulletActiveClass}${D}`).join(" ")), b.length > 1)
2922
+ if (m.dynamicBullets && (o = C.eq(0)[e.isHorizontal() ? "outerWidth" : "outerHeight"](!0), b.css(e.isHorizontal() ? "width" : "height", `${o * (m.dynamicMainBullets + 4)}px`), m.dynamicMainBullets > 1 && e.previousIndex !== void 0 && (u += E - (e.previousIndex - e.loopedSlides || 0), u > m.dynamicMainBullets - 1 ? u = m.dynamicMainBullets - 1 : u < 0 && (u = 0)), k = Math.max(E - u, 0), z = k + (Math.min(C.length, m.dynamicMainBullets) - 1), O = (z + k) / 2), C.removeClass(["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((D) => `${m.bulletActiveClass}${D}`).join(" ")), b.length > 1)
2923
2923
  C.each((D) => {
2924
2924
  const I = P(D), T = I.index();
2925
- T === E && I.addClass(p.bulletActiveClass), p.dynamicBullets && (T >= k && T <= z && I.addClass(`${p.bulletActiveClass}-main`), T === k && r(I, "prev"), T === z && r(I, "next"));
2925
+ T === E && I.addClass(m.bulletActiveClass), m.dynamicBullets && (T >= k && T <= z && I.addClass(`${m.bulletActiveClass}-main`), T === k && r(I, "prev"), T === z && r(I, "next"));
2926
2926
  });
2927
2927
  else {
2928
2928
  const D = C.eq(E), I = D.index();
2929
- if (D.addClass(p.bulletActiveClass), p.dynamicBullets) {
2929
+ if (D.addClass(m.bulletActiveClass), m.dynamicBullets) {
2930
2930
  const T = C.eq(k), x = C.eq(z);
2931
2931
  for (let $ = k; $ <= z; $ += 1)
2932
- C.eq($).addClass(`${p.bulletActiveClass}-main`);
2932
+ C.eq($).addClass(`${m.bulletActiveClass}-main`);
2933
2933
  if (e.params.loop)
2934
2934
  if (I >= C.length) {
2935
- for (let $ = p.dynamicMainBullets; $ >= 0; $ -= 1)
2936
- C.eq(C.length - $).addClass(`${p.bulletActiveClass}-main`);
2937
- C.eq(C.length - p.dynamicMainBullets - 1).addClass(`${p.bulletActiveClass}-prev`);
2935
+ for (let $ = m.dynamicMainBullets; $ >= 0; $ -= 1)
2936
+ C.eq(C.length - $).addClass(`${m.bulletActiveClass}-main`);
2937
+ C.eq(C.length - m.dynamicMainBullets - 1).addClass(`${m.bulletActiveClass}-prev`);
2938
2938
  } else
2939
2939
  r(T, "prev"), r(x, "next");
2940
2940
  else
2941
2941
  r(T, "prev"), r(x, "next");
2942
2942
  }
2943
2943
  }
2944
- if (p.dynamicBullets) {
2945
- const D = Math.min(C.length, p.dynamicMainBullets + 4), I = (o * D - o) / 2 - O * o, T = m ? "right" : "left";
2944
+ if (m.dynamicBullets) {
2945
+ const D = Math.min(C.length, m.dynamicMainBullets + 4), I = (o * D - o) / 2 - O * o, T = p ? "right" : "left";
2946
2946
  C.css(e.isHorizontal() ? T : "top", `${I}px`);
2947
2947
  }
2948
2948
  }
2949
- if (p.type === "fraction" && (b.find(j(p.currentClass)).text(p.formatFractionCurrent(E + 1)), b.find(j(p.totalClass)).text(p.formatFractionTotal(M))), p.type === "progressbar") {
2949
+ if (m.type === "fraction" && (b.find(j(m.currentClass)).text(m.formatFractionCurrent(E + 1)), b.find(j(m.totalClass)).text(m.formatFractionTotal(M))), m.type === "progressbar") {
2950
2950
  let C;
2951
- p.progressbarOpposite ? C = e.isHorizontal() ? "vertical" : "horizontal" : C = e.isHorizontal() ? "horizontal" : "vertical";
2951
+ m.progressbarOpposite ? C = e.isHorizontal() ? "vertical" : "horizontal" : C = e.isHorizontal() ? "horizontal" : "vertical";
2952
2952
  const k = (E + 1) / M;
2953
2953
  let z = 1, O = 1;
2954
- C === "horizontal" ? z = k : O = k, b.find(j(p.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${z}) scaleY(${O})`).transition(e.params.speed);
2954
+ C === "horizontal" ? z = k : O = k, b.find(j(m.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${z}) scaleY(${O})`).transition(e.params.speed);
2955
2955
  }
2956
- p.type === "custom" && p.renderCustom ? (b.html(p.renderCustom(e, E + 1, M)), n("paginationRender", b[0])) : n("paginationUpdate", b[0]), e.params.watchOverflow && e.enabled && b[e.isLocked ? "addClass" : "removeClass"](p.lockClass);
2956
+ m.type === "custom" && m.renderCustom ? (b.html(m.renderCustom(e, E + 1, M)), n("paginationRender", b[0])) : n("paginationUpdate", b[0]), e.params.watchOverflow && e.enabled && b[e.isLocked ? "addClass" : "removeClass"](m.lockClass);
2957
2957
  }
2958
2958
  function d() {
2959
- const m = e.params.pagination;
2959
+ const p = e.params.pagination;
2960
2960
  if (h())
2961
2961
  return;
2962
- const p = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, y = e.pagination.$el;
2962
+ const m = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, y = e.pagination.$el;
2963
2963
  let b = "";
2964
- if (m.type === "bullets") {
2965
- let E = e.params.loop ? Math.ceil((p - e.loopedSlides * 2) / e.params.slidesPerGroup) : e.snapGrid.length;
2966
- e.params.freeMode && e.params.freeMode.enabled && !e.params.loop && E > p && (E = p);
2964
+ if (p.type === "bullets") {
2965
+ let E = e.params.loop ? Math.ceil((m - e.loopedSlides * 2) / e.params.slidesPerGroup) : e.snapGrid.length;
2966
+ e.params.freeMode && e.params.freeMode.enabled && !e.params.loop && E > m && (E = m);
2967
2967
  for (let M = 0; M < E; M += 1)
2968
- m.renderBullet ? b += m.renderBullet.call(e, M, m.bulletClass) : b += `<${m.bulletElement} class="${m.bulletClass}"></${m.bulletElement}>`;
2969
- y.html(b), e.pagination.bullets = y.find(j(m.bulletClass));
2968
+ p.renderBullet ? b += p.renderBullet.call(e, M, p.bulletClass) : b += `<${p.bulletElement} class="${p.bulletClass}"></${p.bulletElement}>`;
2969
+ y.html(b), e.pagination.bullets = y.find(j(p.bulletClass));
2970
2970
  }
2971
- m.type === "fraction" && (m.renderFraction ? b = m.renderFraction.call(e, m.currentClass, m.totalClass) : b = `<span class="${m.currentClass}"></span> / <span class="${m.totalClass}"></span>`, y.html(b)), m.type === "progressbar" && (m.renderProgressbar ? b = m.renderProgressbar.call(e, m.progressbarFillClass) : b = `<span class="${m.progressbarFillClass}"></span>`, y.html(b)), m.type !== "custom" && n("paginationRender", e.pagination.$el[0]);
2971
+ p.type === "fraction" && (p.renderFraction ? b = p.renderFraction.call(e, p.currentClass, p.totalClass) : b = `<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`, y.html(b)), p.type === "progressbar" && (p.renderProgressbar ? b = p.renderProgressbar.call(e, p.progressbarFillClass) : b = `<span class="${p.progressbarFillClass}"></span>`, y.html(b)), p.type !== "custom" && n("paginationRender", e.pagination.$el[0]);
2972
2972
  }
2973
2973
  function c() {
2974
- e.params.pagination = xe(e, e.originalParams.pagination, e.params.pagination, {
2974
+ e.params.pagination = Te(e, e.originalParams.pagination, e.params.pagination, {
2975
2975
  el: "swiper-pagination"
2976
2976
  });
2977
- const m = e.params.pagination;
2978
- if (!m.el)
2977
+ const p = e.params.pagination;
2978
+ if (!p.el)
2979
2979
  return;
2980
- let p = P(m.el);
2981
- p.length !== 0 && (e.params.uniqueNavElements && typeof m.el == "string" && p.length > 1 && (p = e.$el.find(m.el), p.length > 1 && (p = p.filter((y) => P(y).parents(".swiper")[0] === e.el))), m.type === "bullets" && m.clickable && p.addClass(m.clickableClass), p.addClass(m.modifierClass + m.type), p.addClass(e.isHorizontal() ? m.horizontalClass : m.verticalClass), m.type === "bullets" && m.dynamicBullets && (p.addClass(`${m.modifierClass}${m.type}-dynamic`), u = 0, m.dynamicMainBullets < 1 && (m.dynamicMainBullets = 1)), m.type === "progressbar" && m.progressbarOpposite && p.addClass(m.progressbarOppositeClass), m.clickable && p.on("click", j(m.bulletClass), function(b) {
2980
+ let m = P(p.el);
2981
+ m.length !== 0 && (e.params.uniqueNavElements && typeof p.el == "string" && m.length > 1 && (m = e.$el.find(p.el), m.length > 1 && (m = m.filter((y) => P(y).parents(".swiper")[0] === e.el))), p.type === "bullets" && p.clickable && m.addClass(p.clickableClass), m.addClass(p.modifierClass + p.type), m.addClass(e.isHorizontal() ? p.horizontalClass : p.verticalClass), p.type === "bullets" && p.dynamicBullets && (m.addClass(`${p.modifierClass}${p.type}-dynamic`), u = 0, p.dynamicMainBullets < 1 && (p.dynamicMainBullets = 1)), p.type === "progressbar" && p.progressbarOpposite && m.addClass(p.progressbarOppositeClass), p.clickable && m.on("click", j(p.bulletClass), function(b) {
2982
2982
  b.preventDefault();
2983
2983
  let E = P(this).index() * e.params.slidesPerGroup;
2984
2984
  e.params.loop && (E += e.loopedSlides), e.slideTo(E);
2985
2985
  }), Object.assign(e.pagination, {
2986
- $el: p,
2987
- el: p[0]
2988
- }), e.enabled || p.addClass(m.lockClass));
2986
+ $el: m,
2987
+ el: m[0]
2988
+ }), e.enabled || m.addClass(p.lockClass));
2989
2989
  }
2990
2990
  function f() {
2991
- const m = e.params.pagination;
2991
+ const p = e.params.pagination;
2992
2992
  if (h())
2993
2993
  return;
2994
- const p = e.pagination.$el;
2995
- p.removeClass(m.hiddenClass), p.removeClass(m.modifierClass + m.type), p.removeClass(e.isHorizontal() ? m.horizontalClass : m.verticalClass), e.pagination.bullets && e.pagination.bullets.removeClass && e.pagination.bullets.removeClass(m.bulletActiveClass), m.clickable && p.off("click", j(m.bulletClass));
2994
+ const m = e.pagination.$el;
2995
+ m.removeClass(p.hiddenClass), m.removeClass(p.modifierClass + p.type), m.removeClass(e.isHorizontal() ? p.horizontalClass : p.verticalClass), e.pagination.bullets && e.pagination.bullets.removeClass && e.pagination.bullets.removeClass(p.bulletActiveClass), p.clickable && m.off("click", j(p.bulletClass));
2996
2996
  }
2997
2997
  t("init", () => {
2998
2998
  e.params.pagination.enabled === !1 ? v() : (c(), d(), l());
@@ -3008,13 +3008,13 @@ function qa({
3008
3008
  f();
3009
3009
  }), t("enable disable", () => {
3010
3010
  const {
3011
- $el: m
3011
+ $el: p
3012
3012
  } = e.pagination;
3013
- m && m[e.enabled ? "removeClass" : "addClass"](e.params.pagination.lockClass);
3013
+ p && p[e.enabled ? "removeClass" : "addClass"](e.params.pagination.lockClass);
3014
3014
  }), t("lock unlock", () => {
3015
3015
  l();
3016
- }), t("click", (m, p) => {
3017
- const y = p.target, {
3016
+ }), t("click", (p, m) => {
3017
+ const y = m.target, {
3018
3018
  $el: b
3019
3019
  } = e.pagination;
3020
3020
  if (e.params.pagination.el && e.params.pagination.hideOnClick && b && b.length > 0 && !P(y).hasClass(e.params.pagination.bulletClass)) {
@@ -3095,10 +3095,10 @@ function Fa({
3095
3095
  } = T;
3096
3096
  x[0].style.width = "", x[0].style.height = "", d = e.isHorizontal() ? $[0].offsetWidth : $[0].offsetHeight, c = e.size / (e.virtualSize + e.params.slidesOffsetBefore - (e.params.centeredSlides ? e.snapGrid[0] : 0)), e.params.scrollbar.dragSize === "auto" ? l = d * c : l = parseInt(e.params.scrollbar.dragSize, 10), e.isHorizontal() ? x[0].style.width = `${l}px` : x[0].style.height = `${l}px`, c >= 1 ? $[0].style.display = "none" : $[0].style.display = "", e.params.scrollbar.hide && ($[0].style.opacity = 0), e.params.watchOverflow && e.enabled && T.$el[e.isLocked ? "addClass" : "removeClass"](e.params.scrollbar.lockClass);
3097
3097
  }
3098
- function m(T) {
3098
+ function p(T) {
3099
3099
  return e.isHorizontal() ? T.type === "touchstart" || T.type === "touchmove" ? T.targetTouches[0].clientX : T.clientX : T.type === "touchstart" || T.type === "touchmove" ? T.targetTouches[0].clientY : T.clientY;
3100
3100
  }
3101
- function p(T) {
3101
+ function m(T) {
3102
3102
  const {
3103
3103
  scrollbar: x,
3104
3104
  rtlTranslate: $
@@ -3106,7 +3106,7 @@ function Fa({
3106
3106
  $el: H
3107
3107
  } = x;
3108
3108
  let G;
3109
- G = (m(T) - H.offset()[e.isHorizontal() ? "left" : "top"] - (r !== null ? r : l / 2)) / (d - l), G = Math.max(Math.min(G, 1), 0), $ && (G = 1 - G);
3109
+ G = (p(T) - H.offset()[e.isHorizontal() ? "left" : "top"] - (r !== null ? r : l / 2)) / (d - l), G = Math.max(Math.min(G, 1), 0), $ && (G = 1 - G);
3110
3110
  const S = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * G;
3111
3111
  e.updateProgress(S), e.setTranslate(S), e.updateActiveIndex(), e.updateSlidesClasses();
3112
3112
  }
@@ -3118,7 +3118,7 @@ function Fa({
3118
3118
  $el: G,
3119
3119
  $dragEl: S
3120
3120
  } = $;
3121
- o = !0, r = T.target === S[0] || T.target === S ? m(T) - T.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, T.preventDefault(), T.stopPropagation(), H.transition(100), S.transition(100), p(T), clearTimeout(h), G.transition(0), x.hide && G.css("opacity", 1), e.params.cssMode && e.$wrapperEl.css("scroll-snap-type", "none"), n("scrollbarDragStart", T);
3121
+ o = !0, r = T.target === S[0] || T.target === S ? p(T) - T.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, T.preventDefault(), T.stopPropagation(), H.transition(100), S.transition(100), m(T), clearTimeout(h), G.transition(0), x.hide && G.css("opacity", 1), e.params.cssMode && e.$wrapperEl.css("scroll-snap-type", "none"), n("scrollbarDragStart", T);
3122
3122
  }
3123
3123
  function b(T) {
3124
3124
  const {
@@ -3128,7 +3128,7 @@ function Fa({
3128
3128
  $el: H,
3129
3129
  $dragEl: G
3130
3130
  } = x;
3131
- o && (T.preventDefault ? T.preventDefault() : T.returnValue = !1, p(T), $.transition(0), H.transition(0), G.transition(0), n("scrollbarDragMove", T));
3131
+ o && (T.preventDefault ? T.preventDefault() : T.returnValue = !1, m(T), $.transition(0), H.transition(0), G.transition(0), n("scrollbarDragMove", T));
3132
3132
  }
3133
3133
  function E(T) {
3134
3134
  const x = e.params.scrollbar, {
@@ -3174,7 +3174,7 @@ function Fa({
3174
3174
  scrollbar: T,
3175
3175
  $el: x
3176
3176
  } = e;
3177
- e.params.scrollbar = xe(e, e.originalParams.scrollbar, e.params.scrollbar, {
3177
+ e.params.scrollbar = Te(e, e.originalParams.scrollbar, e.params.scrollbar, {
3178
3178
  el: "swiper-scrollbar"
3179
3179
  });
3180
3180
  const $ = e.params.scrollbar;
@@ -3239,16 +3239,16 @@ function ja({
3239
3239
  rtl: r
3240
3240
  } = e, l = P(u), d = r ? -1 : 1, c = l.attr("data-swiper-parallax") || "0";
3241
3241
  let f = l.attr("data-swiper-parallax-x"), g = l.attr("data-swiper-parallax-y");
3242
- const v = l.attr("data-swiper-parallax-scale"), m = l.attr("data-swiper-parallax-opacity");
3243
- if (f || g ? (f = f || "0", g = g || "0") : e.isHorizontal() ? (f = c, g = "0") : (g = c, f = "0"), f.indexOf("%") >= 0 ? f = `${parseInt(f, 10) * h * d}%` : f = `${f * h * d}px`, g.indexOf("%") >= 0 ? g = `${parseInt(g, 10) * h}%` : g = `${g * h}px`, typeof m < "u" && m !== null) {
3244
- const p = m - (m - 1) * (1 - Math.abs(h));
3245
- l[0].style.opacity = p;
3242
+ const v = l.attr("data-swiper-parallax-scale"), p = l.attr("data-swiper-parallax-opacity");
3243
+ if (f || g ? (f = f || "0", g = g || "0") : e.isHorizontal() ? (f = c, g = "0") : (g = c, f = "0"), f.indexOf("%") >= 0 ? f = `${parseInt(f, 10) * h * d}%` : f = `${f * h * d}px`, g.indexOf("%") >= 0 ? g = `${parseInt(g, 10) * h}%` : g = `${g * h}px`, typeof p < "u" && p !== null) {
3244
+ const m = p - (p - 1) * (1 - Math.abs(h));
3245
+ l[0].style.opacity = m;
3246
3246
  }
3247
3247
  if (typeof v > "u" || v === null)
3248
3248
  l.transform(`translate3d(${f}, ${g}, 0px)`);
3249
3249
  else {
3250
- const p = v - (v - 1) * (1 - Math.abs(h));
3251
- l.transform(`translate3d(${f}, ${g}, 0px) scale(${p})`);
3250
+ const m = v - (v - 1) * (1 - Math.abs(h));
3251
+ l.transform(`translate3d(${f}, ${g}, 0px) scale(${m})`);
3252
3252
  }
3253
3253
  }, s = () => {
3254
3254
  const {
@@ -3353,7 +3353,7 @@ function Ua({
3353
3353
  const A = S.targetTouches[0].pageX, L = S.targetTouches[0].pageY, N = S.targetTouches[1].pageX, B = S.targetTouches[1].pageY;
3354
3354
  return Math.sqrt((N - A) ** 2 + (B - L) ** 2);
3355
3355
  }
3356
- function m(S) {
3356
+ function p(S) {
3357
3357
  const A = e.support, L = e.params.zoom;
3358
3358
  if (r = !1, l = !1, !A.gestures) {
3359
3359
  if (S.type !== "touchstart" || S.type === "touchstart" && S.targetTouches.length < 2)
@@ -3366,7 +3366,7 @@ function Ua({
3366
3366
  }
3367
3367
  d.$imageEl && d.$imageEl.transition(0), u = !0;
3368
3368
  }
3369
- function p(S) {
3369
+ function m(S) {
3370
3370
  const A = e.support, L = e.params.zoom, N = e.zoom;
3371
3371
  if (!A.gestures) {
3372
3372
  if (S.type !== "touchmove" || S.type === "touchmove" && S.targetTouches.length < 2)
@@ -3374,7 +3374,7 @@ function Ua({
3374
3374
  l = !0, d.scaleMove = v(S);
3375
3375
  }
3376
3376
  if (!d.$imageEl || d.$imageEl.length === 0) {
3377
- S.type === "gesturechange" && m(S);
3377
+ S.type === "gesturechange" && p(S);
3378
3378
  return;
3379
3379
  }
3380
3380
  A.gestures ? N.scale = S.scale * o : N.scale = d.scaleMove / d.scaleStart * o, N.scale > d.maxRatio && (N.scale = d.maxRatio - 1 + (N.scale - d.maxRatio + 1) ** 0.5), N.scale < L.minRatio && (N.scale = L.minRatio + 1 - (L.minRatio - N.scale + 1) ** 0.5), d.$imageEl.transform(`translate3d(0,0,0) scale(${N.scale})`);
@@ -3438,8 +3438,8 @@ function Ua({
3438
3438
  if (d.$slideEl || (S && S.target && (d.$slideEl = P(S.target).closest(`.${e.params.slideClass}`)), d.$slideEl || (e.params.virtual && e.params.virtual.enabled && e.virtual ? d.$slideEl = e.$wrapperEl.children(`.${e.params.slideActiveClass}`) : d.$slideEl = e.slides.eq(e.activeIndex)), d.$imageEl = d.$slideEl.find(`.${L.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0), d.$imageWrapEl = d.$imageEl.parent(`.${L.containerClass}`)), !d.$imageEl || d.$imageEl.length === 0 || !d.$imageWrapEl || d.$imageWrapEl.length === 0)
3439
3439
  return;
3440
3440
  e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), d.$slideEl.addClass(`${L.zoomedSlideClass}`);
3441
- let N, B, R, Z, ie, le, q, Q, Te, Se, $e, Ce, re, oe, ce, fe, ue, he;
3442
- typeof c.touchesStart.x > "u" && S ? (N = S.type === "touchend" ? S.changedTouches[0].pageX : S.pageX, B = S.type === "touchend" ? S.changedTouches[0].pageY : S.pageY) : (N = c.touchesStart.x, B = c.touchesStart.y), A.scale = d.$imageWrapEl.attr("data-swiper-zoom") || L.maxRatio, o = d.$imageWrapEl.attr("data-swiper-zoom") || L.maxRatio, S ? (ue = d.$slideEl[0].offsetWidth, he = d.$slideEl[0].offsetHeight, R = d.$slideEl.offset().left + s.scrollX, Z = d.$slideEl.offset().top + s.scrollY, ie = R + ue / 2 - N, le = Z + he / 2 - B, Te = d.$imageEl[0].offsetWidth, Se = d.$imageEl[0].offsetHeight, $e = Te * A.scale, Ce = Se * A.scale, re = Math.min(ue / 2 - $e / 2, 0), oe = Math.min(he / 2 - Ce / 2, 0), ce = -re, fe = -oe, q = ie * A.scale, Q = le * A.scale, q < re && (q = re), q > ce && (q = ce), Q < oe && (Q = oe), Q > fe && (Q = fe)) : (q = 0, Q = 0), d.$imageWrapEl.transition(300).transform(`translate3d(${q}px, ${Q}px,0)`), d.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${A.scale})`);
3441
+ let N, B, R, Z, ie, le, q, Q, Se, $e, Ce, Me, re, oe, ce, fe, ue, he;
3442
+ typeof c.touchesStart.x > "u" && S ? (N = S.type === "touchend" ? S.changedTouches[0].pageX : S.pageX, B = S.type === "touchend" ? S.changedTouches[0].pageY : S.pageY) : (N = c.touchesStart.x, B = c.touchesStart.y), A.scale = d.$imageWrapEl.attr("data-swiper-zoom") || L.maxRatio, o = d.$imageWrapEl.attr("data-swiper-zoom") || L.maxRatio, S ? (ue = d.$slideEl[0].offsetWidth, he = d.$slideEl[0].offsetHeight, R = d.$slideEl.offset().left + s.scrollX, Z = d.$slideEl.offset().top + s.scrollY, ie = R + ue / 2 - N, le = Z + he / 2 - B, Se = d.$imageEl[0].offsetWidth, $e = d.$imageEl[0].offsetHeight, Ce = Se * A.scale, Me = $e * A.scale, re = Math.min(ue / 2 - Ce / 2, 0), oe = Math.min(he / 2 - Me / 2, 0), ce = -re, fe = -oe, q = ie * A.scale, Q = le * A.scale, q < re && (q = re), q > ce && (q = ce), Q < oe && (Q = oe), Q > fe && (Q = fe)) : (q = 0, Q = 0), d.$imageWrapEl.transition(300).transform(`translate3d(${q}px, ${Q}px,0)`), d.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${A.scale})`);
3443
3443
  }
3444
3444
  function z() {
3445
3445
  const S = e.zoom, A = e.params.zoom;
@@ -3469,7 +3469,7 @@ function Ua({
3469
3469
  const {
3470
3470
  passiveListener: A
3471
3471
  } = D(), L = I();
3472
- e.$wrapperEl[S]("gesturestart", L, m, A), e.$wrapperEl[S]("gesturechange", L, p, A), e.$wrapperEl[S]("gestureend", L, y, A);
3472
+ e.$wrapperEl[S]("gesturestart", L, p, A), e.$wrapperEl[S]("gesturechange", L, m, A), e.$wrapperEl[S]("gestureend", L, y, A);
3473
3473
  }
3474
3474
  function x() {
3475
3475
  h || (h = !0, T("on"));
@@ -3486,7 +3486,7 @@ function Ua({
3486
3486
  passiveListener: L,
3487
3487
  activeListenerWithCapture: N
3488
3488
  } = D(), B = I();
3489
- A.gestures ? (e.$wrapperEl.on(e.touchEvents.start, x, L), e.$wrapperEl.on(e.touchEvents.end, $, L)) : e.touchEvents.start === "touchstart" && (e.$wrapperEl.on(e.touchEvents.start, B, m, L), e.$wrapperEl.on(e.touchEvents.move, B, p, N), e.$wrapperEl.on(e.touchEvents.end, B, y, L), e.touchEvents.cancel && e.$wrapperEl.on(e.touchEvents.cancel, B, y, L)), e.$wrapperEl.on(e.touchEvents.move, `.${e.params.zoom.containerClass}`, E, N);
3489
+ A.gestures ? (e.$wrapperEl.on(e.touchEvents.start, x, L), e.$wrapperEl.on(e.touchEvents.end, $, L)) : e.touchEvents.start === "touchstart" && (e.$wrapperEl.on(e.touchEvents.start, B, p, L), e.$wrapperEl.on(e.touchEvents.move, B, m, N), e.$wrapperEl.on(e.touchEvents.end, B, y, L), e.touchEvents.cancel && e.$wrapperEl.on(e.touchEvents.cancel, B, y, L)), e.$wrapperEl.on(e.touchEvents.move, `.${e.params.zoom.containerClass}`, E, N);
3490
3490
  }
3491
3491
  function G() {
3492
3492
  const S = e.zoom;
@@ -3498,7 +3498,7 @@ function Ua({
3498
3498
  passiveListener: L,
3499
3499
  activeListenerWithCapture: N
3500
3500
  } = D(), B = I();
3501
- A.gestures ? (e.$wrapperEl.off(e.touchEvents.start, x, L), e.$wrapperEl.off(e.touchEvents.end, $, L)) : e.touchEvents.start === "touchstart" && (e.$wrapperEl.off(e.touchEvents.start, B, m, L), e.$wrapperEl.off(e.touchEvents.move, B, p, N), e.$wrapperEl.off(e.touchEvents.end, B, y, L), e.touchEvents.cancel && e.$wrapperEl.off(e.touchEvents.cancel, B, y, L)), e.$wrapperEl.off(e.touchEvents.move, `.${e.params.zoom.containerClass}`, E, N);
3501
+ A.gestures ? (e.$wrapperEl.off(e.touchEvents.start, x, L), e.$wrapperEl.off(e.touchEvents.end, $, L)) : e.touchEvents.start === "touchstart" && (e.$wrapperEl.off(e.touchEvents.start, B, p, L), e.$wrapperEl.off(e.touchEvents.move, B, m, N), e.$wrapperEl.off(e.touchEvents.end, B, y, L), e.touchEvents.cancel && e.$wrapperEl.off(e.touchEvents.cancel, B, y, L)), e.$wrapperEl.off(e.touchEvents.move, `.${e.params.zoom.containerClass}`, E, N);
3502
3502
  }
3503
3503
  t("init", () => {
3504
3504
  e.params.zoom.enabled && H();
@@ -3548,16 +3548,16 @@ function Ka({
3548
3548
  if (typeof l > "u" || e.slides.length === 0)
3549
3549
  return;
3550
3550
  const g = e.virtual && e.params.virtual.enabled ? e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${l}"]`) : e.slides.eq(l), v = g.find(`.${c.elementClass}:not(.${c.loadedClass}):not(.${c.loadingClass})`);
3551
- g.hasClass(c.elementClass) && !g.hasClass(c.loadedClass) && !g.hasClass(c.loadingClass) && v.push(g[0]), v.length !== 0 && v.each((m) => {
3552
- const p = P(m);
3553
- p.addClass(c.loadingClass);
3554
- const y = p.attr("data-background"), b = p.attr("data-src"), E = p.attr("data-srcset"), M = p.attr("data-sizes"), C = p.parent("picture");
3555
- e.loadImage(p[0], b || y, E, M, !1, () => {
3551
+ g.hasClass(c.elementClass) && !g.hasClass(c.loadedClass) && !g.hasClass(c.loadingClass) && v.push(g[0]), v.length !== 0 && v.each((p) => {
3552
+ const m = P(p);
3553
+ m.addClass(c.loadingClass);
3554
+ const y = m.attr("data-background"), b = m.attr("data-src"), E = m.attr("data-srcset"), M = m.attr("data-sizes"), C = m.parent("picture");
3555
+ e.loadImage(m[0], b || y, E, M, !1, () => {
3556
3556
  if (!(typeof e > "u" || e === null || !e || e && !e.params || e.destroyed)) {
3557
- if (y ? (p.css("background-image", `url("${y}")`), p.removeAttr("data-background")) : (E && (p.attr("srcset", E), p.removeAttr("data-srcset")), M && (p.attr("sizes", M), p.removeAttr("data-sizes")), C.length && C.children("source").each((k) => {
3557
+ if (y ? (m.css("background-image", `url("${y}")`), m.removeAttr("data-background")) : (E && (m.attr("srcset", E), m.removeAttr("data-srcset")), M && (m.attr("sizes", M), m.removeAttr("data-sizes")), C.length && C.children("source").each((k) => {
3558
3558
  const z = P(k);
3559
3559
  z.attr("data-srcset") && (z.attr("srcset", z.attr("data-srcset")), z.removeAttr("data-srcset"));
3560
- }), b && (p.attr("src", b), p.removeAttr("data-src"))), p.addClass(c.loadedClass).removeClass(c.loadingClass), g.find(`.${c.preloaderClass}`).remove(), e.params.loop && d) {
3560
+ }), b && (m.attr("src", b), m.removeAttr("data-src"))), m.addClass(c.loadedClass).removeClass(c.loadingClass), g.find(`.${c.preloaderClass}`).remove(), e.params.loop && d) {
3561
3561
  const k = g.attr("data-swiper-slide-index");
3562
3562
  if (g.hasClass(e.params.slideDuplicateClass)) {
3563
3563
  const z = e.$wrapperEl.children(`[data-swiper-slide-index="${k}"]:not(.${e.params.slideDuplicateClass})`);
@@ -3567,9 +3567,9 @@ function Ka({
3567
3567
  u(z.index(), !1);
3568
3568
  }
3569
3569
  }
3570
- n("lazyImageReady", g[0], p[0]), e.params.autoHeight && e.updateAutoHeight();
3570
+ n("lazyImageReady", g[0], m[0]), e.params.autoHeight && e.updateAutoHeight();
3571
3571
  }
3572
- }), n("lazyImageLoad", g[0], p[0]);
3572
+ }), n("lazyImageLoad", g[0], m[0]);
3573
3573
  });
3574
3574
  }
3575
3575
  function h() {
@@ -3579,9 +3579,9 @@ function Ka({
3579
3579
  slides: c,
3580
3580
  activeIndex: f
3581
3581
  } = e, g = e.virtual && d.virtual.enabled, v = d.lazy;
3582
- let m = d.slidesPerView;
3583
- m === "auto" && (m = 0);
3584
- function p(b) {
3582
+ let p = d.slidesPerView;
3583
+ p === "auto" && (p = 0);
3584
+ function m(b) {
3585
3585
  if (g) {
3586
3586
  if (l.children(`.${d.slideClass}[data-swiper-slide-index="${b}"]`).length)
3587
3587
  return !0;
@@ -3597,18 +3597,18 @@ function Ka({
3597
3597
  const E = g ? P(b).attr("data-swiper-slide-index") : P(b).index();
3598
3598
  u(E);
3599
3599
  });
3600
- else if (m > 1)
3601
- for (let b = f; b < f + m; b += 1)
3602
- p(b) && u(b);
3600
+ else if (p > 1)
3601
+ for (let b = f; b < f + p; b += 1)
3602
+ m(b) && u(b);
3603
3603
  else
3604
3604
  u(f);
3605
3605
  if (v.loadPrevNext)
3606
- if (m > 1 || v.loadPrevNextAmount && v.loadPrevNextAmount > 1) {
3607
- const b = v.loadPrevNextAmount, E = Math.ceil(m), M = Math.min(f + E + Math.max(b, E), c.length), C = Math.max(f - Math.max(E, b), 0);
3606
+ if (p > 1 || v.loadPrevNextAmount && v.loadPrevNextAmount > 1) {
3607
+ const b = v.loadPrevNextAmount, E = Math.ceil(p), M = Math.min(f + E + Math.max(b, E), c.length), C = Math.max(f - Math.max(E, b), 0);
3608
3608
  for (let k = f + E; k < M; k += 1)
3609
- p(k) && u(k);
3609
+ m(k) && u(k);
3610
3610
  for (let k = C; k < f; k += 1)
3611
- p(k) && u(k);
3611
+ m(k) && u(k);
3612
3612
  } else {
3613
3613
  const b = l.children(`.${d.slideNextClass}`);
3614
3614
  b.length > 0 && u(y(b));
@@ -3621,24 +3621,24 @@ function Ka({
3621
3621
  if (!e || e.destroyed)
3622
3622
  return;
3623
3623
  const d = e.params.lazy.scrollingElement ? P(e.params.lazy.scrollingElement) : P(l), c = d[0] === l, f = c ? l.innerWidth : d[0].offsetWidth, g = c ? l.innerHeight : d[0].offsetHeight, v = e.$el.offset(), {
3624
- rtlTranslate: m
3624
+ rtlTranslate: p
3625
3625
  } = e;
3626
- let p = !1;
3627
- m && (v.left -= e.$el[0].scrollLeft);
3626
+ let m = !1;
3627
+ p && (v.left -= e.$el[0].scrollLeft);
3628
3628
  const y = [[v.left, v.top], [v.left + e.width, v.top], [v.left, v.top + e.height], [v.left + e.width, v.top + e.height]];
3629
3629
  for (let E = 0; E < y.length; E += 1) {
3630
3630
  const M = y[E];
3631
3631
  if (M[0] >= 0 && M[0] <= f && M[1] >= 0 && M[1] <= g) {
3632
3632
  if (M[0] === 0 && M[1] === 0)
3633
3633
  continue;
3634
- p = !0;
3634
+ m = !0;
3635
3635
  }
3636
3636
  }
3637
3637
  const b = e.touchEvents.start === "touchstart" && e.support.passiveListener && e.params.passiveListeners ? {
3638
3638
  passive: !0,
3639
3639
  capture: !1
3640
3640
  } : !1;
3641
- p ? (h(), d.off("scroll", r, b)) : s || (s = !0, d.on("scroll", r, b));
3641
+ m ? (h(), d.off("scroll", r, b)) : s || (s = !0, d.on("scroll", r, b));
3642
3642
  }
3643
3643
  t("beforeInit", () => {
3644
3644
  e.params.lazy.enabled && e.params.preloadImages && (e.params.preloadImages = !1);
@@ -3685,10 +3685,10 @@ function Za({
3685
3685
  };
3686
3686
  function n(r, l) {
3687
3687
  const d = /* @__PURE__ */ function() {
3688
- let v, m, p;
3688
+ let v, p, m;
3689
3689
  return (y, b) => {
3690
- for (m = -1, v = y.length; v - m > 1; )
3691
- p = v + m >> 1, y[p] <= b ? m = p : v = p;
3690
+ for (p = -1, v = y.length; v - p > 1; )
3691
+ m = v + p >> 1, y[m] <= b ? p = m : v = m;
3692
3692
  return v;
3693
3693
  };
3694
3694
  }();
@@ -3705,13 +3705,13 @@ function Za({
3705
3705
  const d = e.controller.control;
3706
3706
  let c, f;
3707
3707
  const g = e.constructor;
3708
- function v(m) {
3709
- const p = e.rtlTranslate ? -e.translate : e.translate;
3710
- e.params.controller.by === "slide" && (s(m), f = -e.controller.spline.interpolate(-p)), (!f || e.params.controller.by === "container") && (c = (m.maxTranslate() - m.minTranslate()) / (e.maxTranslate() - e.minTranslate()), f = (p - e.minTranslate()) * c + m.minTranslate()), e.params.controller.inverse && (f = m.maxTranslate() - f), m.updateProgress(f), m.setTranslate(f, e), m.updateActiveIndex(), m.updateSlidesClasses();
3708
+ function v(p) {
3709
+ const m = e.rtlTranslate ? -e.translate : e.translate;
3710
+ e.params.controller.by === "slide" && (s(p), f = -e.controller.spline.interpolate(-m)), (!f || e.params.controller.by === "container") && (c = (p.maxTranslate() - p.minTranslate()) / (e.maxTranslate() - e.minTranslate()), f = (m - e.minTranslate()) * c + p.minTranslate()), e.params.controller.inverse && (f = p.maxTranslate() - f), p.updateProgress(f), p.setTranslate(f, e), p.updateActiveIndex(), p.updateSlidesClasses();
3711
3711
  }
3712
3712
  if (Array.isArray(d))
3713
- for (let m = 0; m < d.length; m += 1)
3714
- d[m] !== l && d[m] instanceof g && v(d[m]);
3713
+ for (let p = 0; p < d.length; p += 1)
3714
+ d[p] !== l && d[p] instanceof g && v(d[p]);
3715
3715
  else
3716
3716
  d instanceof g && l !== d && v(d);
3717
3717
  }
@@ -3811,10 +3811,10 @@ function Qa({
3811
3811
  function v(x) {
3812
3812
  x.attr("aria-disabled", !0);
3813
3813
  }
3814
- function m(x) {
3814
+ function p(x) {
3815
3815
  x.attr("aria-disabled", !1);
3816
3816
  }
3817
- function p(x) {
3817
+ function m(x) {
3818
3818
  if (x.keyCode !== 13 && x.keyCode !== 32)
3819
3819
  return;
3820
3820
  const $ = e.params.a11y, H = P(x.target);
@@ -3827,7 +3827,7 @@ function Qa({
3827
3827
  $nextEl: x,
3828
3828
  $prevEl: $
3829
3829
  } = e.navigation;
3830
- $ && $.length > 0 && (e.isBeginning ? (v($), h($)) : (m($), u($))), x && x.length > 0 && (e.isEnd ? (v(x), h(x)) : (m(x), u(x)));
3830
+ $ && $.length > 0 && (e.isBeginning ? (v($), h($)) : (p($), u($))), x && x.length > 0 && (e.isEnd ? (v(x), h(x)) : (p(x), u(x)));
3831
3831
  }
3832
3832
  function b() {
3833
3833
  return e.pagination && e.pagination.bullets && e.pagination.bullets.length;
@@ -3843,7 +3843,7 @@ function Qa({
3843
3843
  });
3844
3844
  }
3845
3845
  const C = (x, $, H) => {
3846
- u(x), x[0].tagName !== "BUTTON" && (r(x, "button"), x.on("keydown", p)), c(x, H), d(x, $);
3846
+ u(x), x[0].tagName !== "BUTTON" && (r(x, "button"), x.on("keydown", m)), c(x, H), d(x, $);
3847
3847
  }, k = () => {
3848
3848
  e.a11y.clicked = !0;
3849
3849
  }, z = () => {
@@ -3876,12 +3876,12 @@ function Qa({
3876
3876
  const H = e.$wrapperEl, G = x.id || H.attr("id") || `swiper-wrapper-${o(16)}`, S = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite";
3877
3877
  f(H, G), g(H, S), D();
3878
3878
  let A, L;
3879
- e.navigation && e.navigation.$nextEl && (A = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && (L = e.navigation.$prevEl), A && A.length && C(A, G, x.nextSlideMessage), L && L.length && C(L, G, x.prevSlideMessage), E() && e.pagination.$el.on("keydown", j(e.params.pagination.bulletClass), p), e.$el.on("focus", O, !0), e.$el.on("pointerdown", k, !0), e.$el.on("pointerup", z, !0);
3879
+ e.navigation && e.navigation.$nextEl && (A = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && (L = e.navigation.$prevEl), A && A.length && C(A, G, x.nextSlideMessage), L && L.length && C(L, G, x.prevSlideMessage), E() && e.pagination.$el.on("keydown", j(e.params.pagination.bulletClass), m), e.$el.on("focus", O, !0), e.$el.on("pointerdown", k, !0), e.$el.on("pointerup", z, !0);
3880
3880
  };
3881
3881
  function T() {
3882
3882
  n && n.length > 0 && n.remove();
3883
3883
  let x, $;
3884
- e.navigation && e.navigation.$nextEl && (x = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && ($ = e.navigation.$prevEl), x && x.off("keydown", p), $ && $.off("keydown", p), E() && e.pagination.$el.off("keydown", j(e.params.pagination.bulletClass), p), e.$el.off("focus", O, !0), e.$el.off("pointerdown", k, !0), e.$el.off("pointerup", z, !0);
3884
+ e.navigation && e.navigation.$nextEl && (x = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && ($ = e.navigation.$prevEl), x && x.off("keydown", m), $ && $.off("keydown", m), E() && e.pagination.$el.off("keydown", j(e.params.pagination.bulletClass), m), e.$el.off("focus", O, !0), e.$el.off("pointerdown", k, !0), e.$el.off("pointerup", z, !0);
3885
3885
  }
3886
3886
  t("beforeInit", () => {
3887
3887
  n = P(`<span class="${e.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`);
@@ -3916,7 +3916,7 @@ function Ja({
3916
3916
  const g = X();
3917
3917
  let v;
3918
3918
  f ? v = new URL(f) : v = g.location;
3919
- const m = v.pathname.slice(1).split("/").filter((E) => E !== ""), p = m.length, y = m[p - 2], b = m[p - 1];
3919
+ const p = v.pathname.slice(1).split("/").filter((E) => E !== ""), m = p.length, y = p[m - 2], b = p[m - 1];
3920
3920
  return {
3921
3921
  key: y,
3922
3922
  value: b
@@ -3925,16 +3925,16 @@ function Ja({
3925
3925
  const v = X();
3926
3926
  if (!n || !e.params.history.enabled)
3927
3927
  return;
3928
- let m;
3929
- e.params.url ? m = new URL(e.params.url) : m = v.location;
3930
- const p = e.slides.eq(g);
3931
- let y = o(p.attr("data-history"));
3928
+ let p;
3929
+ e.params.url ? p = new URL(e.params.url) : p = v.location;
3930
+ const m = e.slides.eq(g);
3931
+ let y = o(m.attr("data-history"));
3932
3932
  if (e.params.history.root.length > 0) {
3933
3933
  let E = e.params.history.root;
3934
3934
  E[E.length - 1] === "/" && (E = E.slice(0, E.length - 1)), y = `${E}/${f}/${y}`;
3935
3935
  } else
3936
- m.pathname.includes(f) || (y = `${f}/${y}`);
3937
- e.params.history.keepQuery && (y += m.search);
3936
+ p.pathname.includes(f) || (y = `${f}/${y}`);
3937
+ e.params.history.keepQuery && (y += p.search);
3938
3938
  const b = v.history.state;
3939
3939
  b && b.value === y || (e.params.history.replaceState ? v.history.replaceState({
3940
3940
  value: y
@@ -3943,8 +3943,8 @@ function Ja({
3943
3943
  }, null, y));
3944
3944
  }, r = (f, g, v) => {
3945
3945
  if (g)
3946
- for (let m = 0, p = e.slides.length; m < p; m += 1) {
3947
- const y = e.slides.eq(m);
3946
+ for (let p = 0, m = e.slides.length; p < m; p += 1) {
3947
+ const y = e.slides.eq(p);
3948
3948
  if (o(y.attr("data-history")) === g && !y.hasClass(e.params.slideDuplicateClass)) {
3949
3949
  const E = y.index();
3950
3950
  e.slideTo(E, f, v);
@@ -4016,9 +4016,9 @@ function wa({
4016
4016
  const c = o.location.hash.replace("#", "");
4017
4017
  if (c)
4018
4018
  for (let g = 0, v = e.slides.length; g < v; g += 1) {
4019
- const m = e.slides.eq(g);
4020
- if ((m.attr("data-hash") || m.attr("data-history")) === c && !m.hasClass(e.params.slideDuplicateClass)) {
4021
- const y = m.index();
4019
+ const p = e.slides.eq(g);
4020
+ if ((p.attr("data-hash") || p.attr("data-history")) === c && !p.hasClass(e.params.slideDuplicateClass)) {
4021
+ const y = p.index();
4022
4022
  e.slideTo(y, 0, e.params.runCallbacksOnInit, !0);
4023
4023
  }
4024
4024
  }
@@ -4062,12 +4062,12 @@ function en({
4062
4062
  e.autoplay.running = !1, e.autoplay.paused = !1;
4063
4063
  return;
4064
4064
  }
4065
- const m = e.slides.eq(e.activeIndex);
4066
- let p = e.params.autoplay.delay;
4067
- m.attr("data-swiper-autoplay") && (p = m.attr("data-swiper-autoplay") || e.params.autoplay.delay), clearTimeout(s), s = K(() => {
4065
+ const p = e.slides.eq(e.activeIndex);
4066
+ let m = e.params.autoplay.delay;
4067
+ p.attr("data-swiper-autoplay") && (m = p.attr("data-swiper-autoplay") || e.params.autoplay.delay), clearTimeout(s), s = K(() => {
4068
4068
  let y;
4069
4069
  e.params.autoplay.reverseDirection ? e.params.loop ? (e.loopFix(), y = e.slidePrev(e.params.speed, !0, !0), n("autoplay")) : e.isBeginning ? e.params.autoplay.stopOnLastSlide ? h() : (y = e.slideTo(e.slides.length - 1, e.params.speed, !0, !0), n("autoplay")) : (y = e.slidePrev(e.params.speed, !0, !0), n("autoplay")) : e.params.loop ? (e.loopFix(), y = e.slideNext(e.params.speed, !0, !0), n("autoplay")) : e.isEnd ? e.params.autoplay.stopOnLastSlide ? h() : (y = e.slideTo(0, e.params.speed, !0, !0), n("autoplay")) : (y = e.slideNext(e.params.speed, !0, !0), n("autoplay")), (e.params.cssMode && e.autoplay.running || y === !1) && o();
4070
- }, p);
4070
+ }, m);
4071
4071
  }
4072
4072
  function u() {
4073
4073
  return typeof s < "u" || e.autoplay.running ? !1 : (e.autoplay.running = !0, n("autoplayStart"), o(), !0);
@@ -4075,23 +4075,23 @@ function en({
4075
4075
  function h() {
4076
4076
  return !e.autoplay.running || typeof s > "u" ? !1 : (s && (clearTimeout(s), s = void 0), e.autoplay.running = !1, n("autoplayStop"), !0);
4077
4077
  }
4078
- function r(m) {
4079
- e.autoplay.running && (e.autoplay.paused || (s && clearTimeout(s), e.autoplay.paused = !0, m === 0 || !e.params.autoplay.waitForTransition ? (e.autoplay.paused = !1, o()) : ["transitionend", "webkitTransitionEnd"].forEach((p) => {
4080
- e.$wrapperEl[0].addEventListener(p, d);
4078
+ function r(p) {
4079
+ e.autoplay.running && (e.autoplay.paused || (s && clearTimeout(s), e.autoplay.paused = !0, p === 0 || !e.params.autoplay.waitForTransition ? (e.autoplay.paused = !1, o()) : ["transitionend", "webkitTransitionEnd"].forEach((m) => {
4080
+ e.$wrapperEl[0].addEventListener(m, d);
4081
4081
  })));
4082
4082
  }
4083
4083
  function l() {
4084
- const m = Y();
4085
- m.visibilityState === "hidden" && e.autoplay.running && r(), m.visibilityState === "visible" && e.autoplay.paused && (o(), e.autoplay.paused = !1);
4084
+ const p = Y();
4085
+ p.visibilityState === "hidden" && e.autoplay.running && r(), p.visibilityState === "visible" && e.autoplay.paused && (o(), e.autoplay.paused = !1);
4086
4086
  }
4087
- function d(m) {
4088
- !e || e.destroyed || !e.$wrapperEl || m.target === e.$wrapperEl[0] && (["transitionend", "webkitTransitionEnd"].forEach((p) => {
4089
- e.$wrapperEl[0].removeEventListener(p, d);
4087
+ function d(p) {
4088
+ !e || e.destroyed || !e.$wrapperEl || p.target === e.$wrapperEl[0] && (["transitionend", "webkitTransitionEnd"].forEach((m) => {
4089
+ e.$wrapperEl[0].removeEventListener(m, d);
4090
4090
  }), e.autoplay.paused = !1, e.autoplay.running ? o() : h());
4091
4091
  }
4092
4092
  function c() {
4093
- e.params.autoplay.disableOnInteraction ? h() : (n("autoplayPause"), r()), ["transitionend", "webkitTransitionEnd"].forEach((m) => {
4094
- e.$wrapperEl[0].removeEventListener(m, d);
4093
+ e.params.autoplay.disableOnInteraction ? h() : (n("autoplayPause"), r()), ["transitionend", "webkitTransitionEnd"].forEach((p) => {
4094
+ e.$wrapperEl[0].removeEventListener(p, d);
4095
4095
  });
4096
4096
  }
4097
4097
  function f() {
@@ -4105,8 +4105,8 @@ function en({
4105
4105
  }
4106
4106
  t("init", () => {
4107
4107
  e.params.autoplay.enabled && (u(), Y().addEventListener("visibilitychange", l), g());
4108
- }), t("beforeTransitionStart", (m, p, y) => {
4109
- e.autoplay.running && (y || !e.params.autoplay.disableOnInteraction ? e.autoplay.pause(p) : h());
4108
+ }), t("beforeTransitionStart", (p, m, y) => {
4109
+ e.autoplay.running && (y || !e.params.autoplay.disableOnInteraction ? e.autoplay.pause(m) : h());
4110
4110
  }), t("sliderFirstMove", () => {
4111
4111
  e.autoplay.running && (e.params.autoplay.disableOnInteraction ? h() : r());
4112
4112
  }), t("touchEnd", () => {
@@ -4187,21 +4187,21 @@ function tn({
4187
4187
  let c = 1;
4188
4188
  const f = e.params.thumbs.slideThumbActiveClass;
4189
4189
  if (e.params.slidesPerView > 1 && !e.params.centeredSlides && (c = e.params.slidesPerView), e.params.thumbs.multipleActiveThumbs || (c = 1), c = Math.floor(c), l.slides.removeClass(f), l.params.loop || l.params.virtual && l.params.virtual.enabled)
4190
- for (let m = 0; m < c; m += 1)
4191
- l.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex + m}"]`).addClass(f);
4190
+ for (let p = 0; p < c; p += 1)
4191
+ l.$wrapperEl.children(`[data-swiper-slide-index="${e.realIndex + p}"]`).addClass(f);
4192
4192
  else
4193
- for (let m = 0; m < c; m += 1)
4194
- l.slides.eq(e.realIndex + m).addClass(f);
4193
+ for (let p = 0; p < c; p += 1)
4194
+ l.slides.eq(e.realIndex + p).addClass(f);
4195
4195
  const g = e.params.thumbs.autoScrollOffset, v = g && !l.params.loop;
4196
4196
  if (e.realIndex !== l.realIndex || v) {
4197
- let m = l.activeIndex, p, y;
4197
+ let p = l.activeIndex, m, y;
4198
4198
  if (l.params.loop) {
4199
- l.slides.eq(m).hasClass(l.params.slideDuplicateClass) && (l.loopFix(), l._clientLeft = l.$wrapperEl[0].clientLeft, m = l.activeIndex);
4200
- const b = l.slides.eq(m).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(), E = l.slides.eq(m).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();
4201
- typeof b > "u" ? p = E : typeof E > "u" ? p = b : E - m === m - b ? p = l.params.slidesPerGroup > 1 ? E : m : E - m < m - b ? p = E : p = b, y = e.activeIndex > e.previousIndex ? "next" : "prev";
4199
+ l.slides.eq(p).hasClass(l.params.slideDuplicateClass) && (l.loopFix(), l._clientLeft = l.$wrapperEl[0].clientLeft, p = l.activeIndex);
4200
+ const b = l.slides.eq(p).prevAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index(), E = l.slides.eq(p).nextAll(`[data-swiper-slide-index="${e.realIndex}"]`).eq(0).index();
4201
+ typeof b > "u" ? m = E : typeof E > "u" ? m = b : E - p === p - b ? m = l.params.slidesPerGroup > 1 ? E : p : E - p < p - b ? m = E : m = b, y = e.activeIndex > e.previousIndex ? "next" : "prev";
4202
4202
  } else
4203
- p = e.realIndex, y = p > e.previousIndex ? "next" : "prev";
4204
- v && (p += y === "next" ? g : -1 * g), l.visibleSlidesIndexes && l.visibleSlidesIndexes.indexOf(p) < 0 && (l.params.centeredSlides ? p > m ? p = p - Math.floor(d / 2) + 1 : p = p + Math.floor(d / 2) - 1 : p > m && l.params.slidesPerGroup, l.slideTo(p, r ? 0 : void 0));
4203
+ m = e.realIndex, y = m > e.previousIndex ? "next" : "prev";
4204
+ v && (m += y === "next" ? g : -1 * g), l.visibleSlidesIndexes && l.visibleSlidesIndexes.indexOf(m) < 0 && (l.params.centeredSlides ? m > p ? m = m - Math.floor(d / 2) + 1 : m = m + Math.floor(d / 2) - 1 : m > p && l.params.slidesPerGroup, l.slideTo(m, r ? 0 : void 0));
4205
4205
  }
4206
4206
  }
4207
4207
  t("beforeInit", () => {
@@ -4284,9 +4284,9 @@ function an({
4284
4284
  } else
4285
4285
  e.velocity = 0;
4286
4286
  e.velocity *= r.freeMode.momentumVelocityRatio, f.velocities.length = 0;
4287
- let m = 1e3 * r.freeMode.momentumRatio;
4288
- const p = e.velocity * m;
4289
- let y = e.translate + p;
4287
+ let p = 1e3 * r.freeMode.momentumRatio;
4288
+ const m = e.velocity * p;
4289
+ let y = e.translate + m;
4290
4290
  d && (y = -y);
4291
4291
  let b = !1, E;
4292
4292
  const M = Math.abs(e.velocity) * 20 * r.freeMode.momentumBounceRatio;
@@ -4307,21 +4307,21 @@ function an({
4307
4307
  if (C && n("transitionEnd", () => {
4308
4308
  e.loopFix();
4309
4309
  }), e.velocity !== 0) {
4310
- if (d ? m = Math.abs((-y - e.translate) / e.velocity) : m = Math.abs((y - e.translate) / e.velocity), r.freeMode.sticky) {
4310
+ if (d ? p = Math.abs((-y - e.translate) / e.velocity) : p = Math.abs((y - e.translate) / e.velocity), r.freeMode.sticky) {
4311
4311
  const k = Math.abs((d ? -y : y) - e.translate), z = e.slidesSizesGrid[e.activeIndex];
4312
- k < z ? m = r.speed : k < 2 * z ? m = r.speed * 1.5 : m = r.speed * 2.5;
4312
+ k < z ? p = r.speed : k < 2 * z ? p = r.speed * 1.5 : p = r.speed * 2.5;
4313
4313
  }
4314
4314
  } else if (r.freeMode.sticky) {
4315
4315
  e.slideToClosest();
4316
4316
  return;
4317
4317
  }
4318
- r.freeMode.momentumBounce && b ? (e.updateProgress(E), e.setTransition(m), e.setTranslate(y), e.transitionStart(!0, e.swipeDirection), e.animating = !0, l.transitionEnd(() => {
4318
+ r.freeMode.momentumBounce && b ? (e.updateProgress(E), e.setTransition(p), e.setTranslate(y), e.transitionStart(!0, e.swipeDirection), e.animating = !0, l.transitionEnd(() => {
4319
4319
  !e || e.destroyed || !f.allowMomentumBounce || (t("momentumBounce"), e.setTransition(r.speed), setTimeout(() => {
4320
4320
  e.setTranslate(E), l.transitionEnd(() => {
4321
4321
  !e || e.destroyed || e.transitionEnd();
4322
4322
  });
4323
4323
  }, 0));
4324
- })) : e.velocity ? (t("_freeModeNoMomentumRelease"), e.updateProgress(y), e.setTransition(m), e.setTranslate(y), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, l.transitionEnd(() => {
4324
+ })) : e.velocity ? (t("_freeModeNoMomentumRelease"), e.updateProgress(y), e.setTransition(p), e.setTranslate(y), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, l.transitionEnd(() => {
4325
4325
  !e || e.destroyed || e.transitionEnd();
4326
4326
  }))) : e.updateProgress(y), e.updateActiveIndex(), e.updateSlidesClasses();
4327
4327
  } else if (r.freeMode.sticky) {
@@ -4364,17 +4364,17 @@ function nn({
4364
4364
  spaceBetween: g
4365
4365
  } = e.params, {
4366
4366
  rows: v,
4367
- fill: m
4367
+ fill: p
4368
4368
  } = e.params.grid;
4369
- let p, y, b;
4370
- if (m === "row" && f > 1) {
4369
+ let m, y, b;
4370
+ if (p === "row" && f > 1) {
4371
4371
  const E = Math.floor(r / (f * v)), M = r - v * f * E, C = E === 0 ? f : Math.min(Math.ceil((d - E * v * f) / v), f);
4372
- b = Math.floor(M / C), y = M - b * C + E * f, p = y + b * t / v, l.css({
4373
- "-webkit-order": p,
4374
- order: p
4372
+ b = Math.floor(M / C), y = M - b * C + E * f, m = y + b * t / v, l.css({
4373
+ "-webkit-order": m,
4374
+ order: m
4375
4375
  });
4376
4376
  } else
4377
- m === "column" ? (y = Math.floor(r / v), b = r - y * v, (y > s || y === s && b === v - 1) && (b += 1, b >= v && (b = 0, y += 1))) : (b = Math.floor(r / n), y = r - b * n);
4377
+ p === "column" ? (y = Math.floor(r / v), b = r - y * v, (y > s || y === s && b === v - 1) && (b += 1, b >= v && (b = 0, y += 1))) : (b = Math.floor(r / n), y = r - b * n);
4378
4378
  l.css(c("margin-top"), b !== 0 ? g && `${g}px` : "");
4379
4379
  }, h = (r, l, d) => {
4380
4380
  const {
@@ -4388,12 +4388,12 @@ function nn({
4388
4388
  [d("width")]: `${e.virtualSize + c}px`
4389
4389
  }), f) {
4390
4390
  l.splice(0, l.length);
4391
- const m = [];
4392
- for (let p = 0; p < l.length; p += 1) {
4393
- let y = l[p];
4394
- g && (y = Math.floor(y)), l[p] < e.virtualSize + l[0] && m.push(y);
4391
+ const p = [];
4392
+ for (let m = 0; m < l.length; m += 1) {
4393
+ let y = l[m];
4394
+ g && (y = Math.floor(y)), l[m] < e.virtualSize + l[0] && p.push(y);
4395
4395
  }
4396
- l.push(...m);
4396
+ l.push(...p);
4397
4397
  }
4398
4398
  };
4399
4399
  e.grid = {
@@ -4645,9 +4645,9 @@ function un({
4645
4645
  rtlTranslate: f,
4646
4646
  size: g,
4647
4647
  browser: v
4648
- } = e, m = e.params.cubeEffect, p = e.isHorizontal(), y = e.virtual && e.params.virtual.enabled;
4648
+ } = e, p = e.params.cubeEffect, m = e.isHorizontal(), y = e.virtual && e.params.virtual.enabled;
4649
4649
  let b = 0, E;
4650
- m.shadow && (p ? (E = r.find(".swiper-cube-shadow"), E.length === 0 && (E = P('<div class="swiper-cube-shadow"></div>'), r.append(E)), E.css({
4650
+ p.shadow && (m ? (E = r.find(".swiper-cube-shadow"), E.length === 0 && (E = P('<div class="swiper-cube-shadow"></div>'), r.append(E)), E.css({
4651
4651
  height: `${d}px`
4652
4652
  })) : (E = h.find(".swiper-cube-shadow"), E.length === 0 && (E = P('<div class="swiper-cube-shadow"></div>'), h.append(E))));
4653
4653
  for (let C = 0; C < l.length; C += 1) {
@@ -4658,18 +4658,18 @@ function un({
4658
4658
  f && (O = -O, D = Math.floor(-O / 360));
4659
4659
  const I = Math.max(Math.min(k[0].progress, 1), -1);
4660
4660
  let T = 0, x = 0, $ = 0;
4661
- z % 4 === 0 ? (T = -D * 4 * g, $ = 0) : (z - 1) % 4 === 0 ? (T = 0, $ = -D * 4 * g) : (z - 2) % 4 === 0 ? (T = g + D * 4 * g, $ = g) : (z - 3) % 4 === 0 && (T = -g, $ = 3 * g + g * 4 * D), f && (T = -T), p || (x = T, T = 0);
4662
- const H = `rotateX(${p ? 0 : -O}deg) rotateY(${p ? O : 0}deg) translate3d(${T}px, ${x}px, ${$}px)`;
4663
- I <= 1 && I > -1 && (b = z * 90 + I * 90, f && (b = -z * 90 - I * 90)), k.transform(H), m.slideShadows && n(k, I, p);
4661
+ z % 4 === 0 ? (T = -D * 4 * g, $ = 0) : (z - 1) % 4 === 0 ? (T = 0, $ = -D * 4 * g) : (z - 2) % 4 === 0 ? (T = g + D * 4 * g, $ = g) : (z - 3) % 4 === 0 && (T = -g, $ = 3 * g + g * 4 * D), f && (T = -T), m || (x = T, T = 0);
4662
+ const H = `rotateX(${m ? 0 : -O}deg) rotateY(${m ? O : 0}deg) translate3d(${T}px, ${x}px, ${$}px)`;
4663
+ I <= 1 && I > -1 && (b = z * 90 + I * 90, f && (b = -z * 90 - I * 90)), k.transform(H), p.slideShadows && n(k, I, m);
4664
4664
  }
4665
4665
  if (r.css({
4666
4666
  "-webkit-transform-origin": `50% 50% -${g / 2}px`,
4667
4667
  "transform-origin": `50% 50% -${g / 2}px`
4668
- }), m.shadow)
4669
- if (p)
4670
- E.transform(`translate3d(0px, ${d / 2 + m.shadowOffset}px, ${-d / 2}px) rotateX(90deg) rotateZ(0deg) scale(${m.shadowScale})`);
4668
+ }), p.shadow)
4669
+ if (m)
4670
+ E.transform(`translate3d(0px, ${d / 2 + p.shadowOffset}px, ${-d / 2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);
4671
4671
  else {
4672
- const C = Math.abs(b) - Math.floor(Math.abs(b) / 90) * 90, k = 1.5 - (Math.sin(C * 2 * Math.PI / 360) / 2 + Math.cos(C * 2 * Math.PI / 360) / 2), z = m.shadowScale, O = m.shadowScale / k, D = m.shadowOffset;
4672
+ const C = Math.abs(b) - Math.floor(Math.abs(b) / 90) * 90, k = 1.5 - (Math.sin(C * 2 * Math.PI / 360) / 2 + Math.cos(C * 2 * Math.PI / 360) / 2), z = p.shadowScale, O = p.shadowScale / k, D = p.shadowOffset;
4673
4673
  E.transform(`scale3d(${z}, 1, ${O}) translate3d(0px, ${c / 2 + D}px, ${-c / 2 / O}px) rotateX(-90deg)`);
4674
4674
  }
4675
4675
  const M = v.isSafari || v.isWebView ? -g / 2 : 0;
@@ -4737,9 +4737,9 @@ function hn({
4737
4737
  let f = c[0].progress;
4738
4738
  e.params.flipEffect.limitRotation && (f = Math.max(Math.min(c[0].progress, 1), -1));
4739
4739
  const g = c[0].swiperSlideOffset;
4740
- let m = -180 * f, p = 0, y = e.params.cssMode ? -g - e.translate : -g, b = 0;
4741
- e.isHorizontal() ? r && (m = -m) : (b = y, y = 0, p = -m, m = 0), c[0].style.zIndex = -Math.abs(Math.round(f)) + h.length, l.slideShadows && n(c, f, l);
4742
- const E = `translate3d(${y}px, ${b}px, 0px) rotateX(${p}deg) rotateY(${m}deg)`;
4740
+ let p = -180 * f, m = 0, y = e.params.cssMode ? -g - e.translate : -g, b = 0;
4741
+ e.isHorizontal() ? r && (p = -p) : (b = y, y = 0, m = -p, p = 0), c[0].style.zIndex = -Math.abs(Math.round(f)) + h.length, l.slideShadows && n(c, f, l);
4742
+ const E = `translate3d(${y}px, ${b}px, 0px) rotateX(${m}deg) rotateY(${p}deg)`;
4743
4743
  se(l, c).transform(E);
4744
4744
  }
4745
4745
  },
@@ -4772,7 +4772,7 @@ function hn({
4772
4772
  })
4773
4773
  });
4774
4774
  }
4775
- function mn({
4775
+ function pn({
4776
4776
  swiper: e,
4777
4777
  extendParams: a,
4778
4778
  on: t
@@ -4798,8 +4798,8 @@ function mn({
4798
4798
  slides: h,
4799
4799
  slidesSizesGrid: r
4800
4800
  } = e, l = e.params.coverflowEffect, d = e.isHorizontal(), c = e.translate, f = d ? -c + o / 2 : -c + u / 2, g = d ? l.rotate : -l.rotate, v = l.depth;
4801
- for (let m = 0, p = h.length; m < p; m += 1) {
4802
- const y = h.eq(m), b = r[m], E = y[0].swiperSlideOffset, M = (f - E - b / 2) / b, C = typeof l.modifier == "function" ? l.modifier(M) : M * l.modifier;
4801
+ for (let p = 0, m = h.length; p < m; p += 1) {
4802
+ const y = h.eq(p), b = r[p], E = y[0].swiperSlideOffset, M = (f - E - b / 2) / b, C = typeof l.modifier == "function" ? l.modifier(M) : M * l.modifier;
4803
4803
  let k = d ? g * C : 0, z = d ? 0 : g * C, O = -v * Math.abs(C), D = l.stretch;
4804
4804
  typeof D == "string" && D.indexOf("%") !== -1 && (D = parseFloat(l.stretch) / 100 * b);
4805
4805
  let I = d ? 0 : D * C, T = d ? D * C : 0, x = 1 - (1 - l.scale) * Math.abs(C);
@@ -4823,7 +4823,7 @@ function mn({
4823
4823
  })
4824
4824
  });
4825
4825
  }
4826
- function pn({
4826
+ function mn({
4827
4827
  swiper: e,
4828
4828
  extendParams: a,
4829
4829
  on: t
@@ -4867,9 +4867,9 @@ function pn({
4867
4867
  h.transform(`translateX(calc(50% - ${f}px))`);
4868
4868
  }
4869
4869
  for (let f = 0; f < u.length; f += 1) {
4870
- const g = u.eq(f), v = g[0].progress, m = Math.min(Math.max(g[0].progress, -l.limitProgress), l.limitProgress);
4871
- let p = m;
4872
- c || (p = Math.min(Math.max(g[0].originalProgress, -l.limitProgress), l.limitProgress));
4870
+ const g = u.eq(f), v = g[0].progress, p = Math.min(Math.max(g[0].progress, -l.limitProgress), l.limitProgress);
4871
+ let m = p;
4872
+ c || (m = Math.min(Math.max(g[0].originalProgress, -l.limitProgress), l.limitProgress));
4873
4873
  const y = g[0].swiperSlideOffset, b = [e.params.cssMode ? -y - e.translate : -y, 0, 0], E = [0, 0, 0];
4874
4874
  let M = !1;
4875
4875
  e.isHorizontal() || (b[1] = b[0], b[0] = 0);
@@ -4879,16 +4879,16 @@ function pn({
4879
4879
  scale: 1,
4880
4880
  opacity: 1
4881
4881
  };
4882
- m < 0 ? (C = l.next, M = !0) : m > 0 && (C = l.prev, M = !0), b.forEach((x, $) => {
4883
- b[$] = `calc(${x}px + (${n(C.translate[$])} * ${Math.abs(m * d)}))`;
4882
+ p < 0 ? (C = l.next, M = !0) : p > 0 && (C = l.prev, M = !0), b.forEach((x, $) => {
4883
+ b[$] = `calc(${x}px + (${n(C.translate[$])} * ${Math.abs(p * d)}))`;
4884
4884
  }), E.forEach((x, $) => {
4885
- E[$] = C.rotate[$] * Math.abs(m * d);
4885
+ E[$] = C.rotate[$] * Math.abs(p * d);
4886
4886
  }), g[0].style.zIndex = -Math.abs(Math.round(v)) + u.length;
4887
- const k = b.join(", "), z = `rotateX(${E[0]}deg) rotateY(${E[1]}deg) rotateZ(${E[2]}deg)`, O = p < 0 ? `scale(${1 + (1 - C.scale) * p * d})` : `scale(${1 - (1 - C.scale) * p * d})`, D = p < 0 ? 1 + (1 - C.opacity) * p * d : 1 - (1 - C.opacity) * p * d, I = `translate3d(${k}) ${z} ${O}`;
4887
+ const k = b.join(", "), z = `rotateX(${E[0]}deg) rotateY(${E[1]}deg) rotateZ(${E[2]}deg)`, O = m < 0 ? `scale(${1 + (1 - C.scale) * m * d})` : `scale(${1 - (1 - C.scale) * m * d})`, D = m < 0 ? 1 + (1 - C.opacity) * m * d : 1 - (1 - C.opacity) * m * d, I = `translate3d(${k}) ${z} ${O}`;
4888
4888
  if (M && C.shadow || !M) {
4889
4889
  let x = g.children(".swiper-slide-shadow");
4890
4890
  if (x.length === 0 && C.shadow && (x = J(l, g)), x.length) {
4891
- const $ = l.shadowPerProgress ? m * (1 / l.limitProgress) : m;
4891
+ const $ = l.shadowPerProgress ? p * (1 / l.limitProgress) : p;
4892
4892
  x[0].style.opacity = Math.min(Math.max(Math.abs($), 0), 1);
4893
4893
  }
4894
4894
  }
@@ -4943,9 +4943,9 @@ function gn({
4943
4943
  } = e.touchEventsData, d = e.translate;
4944
4944
  for (let c = 0; c < o.length; c += 1) {
4945
4945
  const f = o.eq(c), g = f[0].progress, v = Math.min(Math.max(g, -4), 4);
4946
- let m = f[0].swiperSlideOffset;
4947
- e.params.centeredSlides && !e.params.cssMode && e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`), e.params.centeredSlides && e.params.cssMode && (m -= o[0].swiperSlideOffset);
4948
- let p = e.params.cssMode ? -m - e.translate : -m, y = 0;
4946
+ let p = f[0].swiperSlideOffset;
4947
+ e.params.centeredSlides && !e.params.cssMode && e.$wrapperEl.transform(`translateX(${e.minTranslate()}px)`), e.params.centeredSlides && e.params.cssMode && (p -= o[0].swiperSlideOffset);
4948
+ let m = e.params.cssMode ? -p - e.translate : -p, y = 0;
4949
4949
  const b = -100 * Math.abs(v);
4950
4950
  let E = 1, M = -h.perSlideRotate * v, C = h.perSlideOffset - Math.abs(v) * 0.75;
4951
4951
  const k = e.virtual && e.params.virtual.enabled ? e.virtual.from + c : c, z = (k === u || k === u - 1) && v > 0 && v < 1 && (l || e.params.cssMode) && d < r, O = (k === u || k === u + 1) && v < 0 && v > -1 && (l || e.params.cssMode) && d > r;
@@ -4953,12 +4953,12 @@ function gn({
4953
4953
  const x = (1 - Math.abs((Math.abs(v) - 0.5) / 0.5)) ** 0.5;
4954
4954
  M += -28 * v * x, E += -0.5 * x, C += 96 * x, y = `${-25 * x * Math.abs(v)}%`;
4955
4955
  }
4956
- if (v < 0 ? p = `calc(${p}px + (${C * Math.abs(v)}%))` : v > 0 ? p = `calc(${p}px + (-${C * Math.abs(v)}%))` : p = `${p}px`, !e.isHorizontal()) {
4956
+ if (v < 0 ? m = `calc(${m}px + (${C * Math.abs(v)}%))` : v > 0 ? m = `calc(${m}px + (-${C * Math.abs(v)}%))` : m = `${m}px`, !e.isHorizontal()) {
4957
4957
  const x = y;
4958
- y = p, p = x;
4958
+ y = m, m = x;
4959
4959
  }
4960
4960
  const D = v < 0 ? `${1 + (1 - E) * v}` : `${1 - (1 - E) * v}`, I = `
4961
- translate3d(${p}, ${y}, ${b}px)
4961
+ translate3d(${m}, ${y}, ${b}px)
4962
4962
  rotateZ(${h.rotate ? M : 0}deg)
4963
4963
  scale(${D})
4964
4964
  `;
@@ -4986,7 +4986,7 @@ function gn({
4986
4986
  })
4987
4987
  });
4988
4988
  }
4989
- const vn = [Ra, Va, _a, Wa, qa, Fa, ja, Ua, Ka, Za, Qa, Ja, wa, en, tn, an, nn, cn, fn, un, hn, mn, pn, gn];
4989
+ const vn = [Ra, Va, _a, Wa, qa, Fa, ja, Ua, Ka, Za, Qa, Ja, wa, en, tn, an, nn, cn, fn, un, hn, pn, mn, gn];
4990
4990
  W.use(vn);
4991
4991
  if (!F)
4992
4992
  var F = { map: function(e, a) {
@@ -5031,8 +5031,8 @@ var bn = function() {
5031
5031
  } };
5032
5032
  }
5033
5033
  function o(r, l, d, c, f, g, v) {
5034
- var m = this;
5035
- m.r1 = r, m.r2 = l, m.g1 = d, m.g2 = c, m.b1 = f, m.b2 = g, m.histo = v;
5034
+ var p = this;
5035
+ p.r1 = r, p.r2 = l, p.g1 = d, p.g2 = c, p.b1 = f, p.b2 = g, p.histo = v;
5036
5036
  }
5037
5037
  function u() {
5038
5038
  this.vboxes = new s(function(r, l) {
@@ -5044,27 +5044,27 @@ var bn = function() {
5044
5044
  var d = l.r2 - l.r1 + 1, c = l.g2 - l.g1 + 1, f = F.max([d, c, l.b2 - l.b1 + 1]);
5045
5045
  if (l.count() == 1)
5046
5046
  return [l.copy()];
5047
- var g, v, m, p, y = 0, b = [], E = [];
5047
+ var g, v, p, m, y = 0, b = [], E = [];
5048
5048
  if (f == d)
5049
5049
  for (g = l.r1; g <= l.r2; g++) {
5050
- for (p = 0, v = l.g1; v <= l.g2; v++)
5051
- for (m = l.b1; m <= l.b2; m++)
5052
- p += r[n(g, v, m)] || 0;
5053
- b[g] = y += p;
5050
+ for (m = 0, v = l.g1; v <= l.g2; v++)
5051
+ for (p = l.b1; p <= l.b2; p++)
5052
+ m += r[n(g, v, p)] || 0;
5053
+ b[g] = y += m;
5054
5054
  }
5055
5055
  else if (f == c)
5056
5056
  for (g = l.g1; g <= l.g2; g++) {
5057
- for (p = 0, v = l.r1; v <= l.r2; v++)
5058
- for (m = l.b1; m <= l.b2; m++)
5059
- p += r[n(v, g, m)] || 0;
5060
- b[g] = y += p;
5057
+ for (m = 0, v = l.r1; v <= l.r2; v++)
5058
+ for (p = l.b1; p <= l.b2; p++)
5059
+ m += r[n(v, g, p)] || 0;
5060
+ b[g] = y += m;
5061
5061
  }
5062
5062
  else
5063
5063
  for (g = l.b1; g <= l.b2; g++) {
5064
- for (p = 0, v = l.r1; v <= l.r2; v++)
5065
- for (m = l.g1; m <= l.g2; m++)
5066
- p += r[n(v, m, g)] || 0;
5067
- b[g] = y += p;
5064
+ for (m = 0, v = l.r1; v <= l.r2; v++)
5065
+ for (p = l.g1; p <= l.g2; p++)
5066
+ m += r[n(v, p, g)] || 0;
5067
+ b[g] = y += m;
5068
5068
  }
5069
5069
  return b.forEach(function(M, C) {
5070
5070
  E[C] = y - M;
@@ -5101,12 +5101,12 @@ var bn = function() {
5101
5101
  }, avg: function(r) {
5102
5102
  var l = this, d = l.histo;
5103
5103
  if (!l._avg || r) {
5104
- var c, f, g, v, m = 0, p = 1 << 8 - e, y = 0, b = 0, E = 0;
5104
+ var c, f, g, v, p = 0, m = 1 << 8 - e, y = 0, b = 0, E = 0;
5105
5105
  for (f = l.r1; f <= l.r2; f++)
5106
5106
  for (g = l.g1; g <= l.g2; g++)
5107
5107
  for (v = l.b1; v <= l.b2; v++)
5108
- m += c = d[n(f, g, v)] || 0, y += c * (f + 0.5) * p, b += c * (g + 0.5) * p, E += c * (v + 0.5) * p;
5109
- l._avg = m ? [~~(y / m), ~~(b / m), ~~(E / m)] : [~~(p * (l.r1 + l.r2 + 1) / 2), ~~(p * (l.g1 + l.g2 + 1) / 2), ~~(p * (l.b1 + l.b2 + 1) / 2)];
5108
+ p += c = d[n(f, g, v)] || 0, y += c * (f + 0.5) * m, b += c * (g + 0.5) * m, E += c * (v + 0.5) * m;
5109
+ l._avg = p ? [~~(y / p), ~~(b / p), ~~(E / p)] : [~~(m * (l.r1 + l.r2 + 1) / 2), ~~(m * (l.g1 + l.g2 + 1) / 2), ~~(m * (l.b1 + l.b2 + 1) / 2)];
5110
5110
  }
5111
5111
  return l._avg;
5112
5112
  }, contains: function(r) {
@@ -5141,44 +5141,44 @@ var bn = function() {
5141
5141
  } }, { quantize: function(r, l) {
5142
5142
  if (!r.length || l < 2 || l > 256)
5143
5143
  return !1;
5144
- var d = function(p) {
5144
+ var d = function(m) {
5145
5145
  var y, b = new Array(1 << 3 * e);
5146
- return p.forEach(function(E) {
5146
+ return m.forEach(function(E) {
5147
5147
  y = n(E[0] >> a, E[1] >> a, E[2] >> a), b[y] = (b[y] || 0) + 1;
5148
5148
  }), b;
5149
5149
  }(r);
5150
5150
  d.forEach(function() {
5151
5151
  });
5152
- var c = function(p, y) {
5152
+ var c = function(m, y) {
5153
5153
  var b, E, M, C = 1e6, k = 0, z = 1e6, O = 0, D = 1e6, I = 0;
5154
- return p.forEach(function(T) {
5154
+ return m.forEach(function(T) {
5155
5155
  (b = T[0] >> a) < C ? C = b : b > k && (k = b), (E = T[1] >> a) < z ? z = E : E > O && (O = E), (M = T[2] >> a) < D ? D = M : M > I && (I = M);
5156
5156
  }), new o(C, k, z, O, D, I, y);
5157
- }(r, d), f = new s(function(p, y) {
5158
- return F.naturalOrder(p.count(), y.count());
5157
+ }(r, d), f = new s(function(m, y) {
5158
+ return F.naturalOrder(m.count(), y.count());
5159
5159
  });
5160
- function g(p, y) {
5161
- for (var b, E = p.size(), M = 0; M < t; ) {
5160
+ function g(m, y) {
5161
+ for (var b, E = m.size(), M = 0; M < t; ) {
5162
5162
  if (E >= y || M++ > t)
5163
5163
  return;
5164
- if ((b = p.pop()).count()) {
5164
+ if ((b = m.pop()).count()) {
5165
5165
  var C = h(d, b), k = C[0], z = C[1];
5166
5166
  if (!k)
5167
5167
  return;
5168
- p.push(k), z && (p.push(z), E++);
5168
+ m.push(k), z && (m.push(z), E++);
5169
5169
  } else
5170
- p.push(b), M++;
5170
+ m.push(b), M++;
5171
5171
  }
5172
5172
  }
5173
5173
  f.push(c), g(f, 0.75 * l);
5174
- for (var v = new s(function(p, y) {
5175
- return F.naturalOrder(p.count() * p.volume(), y.count() * y.volume());
5174
+ for (var v = new s(function(m, y) {
5175
+ return F.naturalOrder(m.count() * m.volume(), y.count() * y.volume());
5176
5176
  }); f.size(); )
5177
5177
  v.push(f.pop());
5178
5178
  g(v, l);
5179
- for (var m = new u(); v.size(); )
5180
- m.push(v.pop());
5181
- return m;
5179
+ for (var p = new u(); v.size(); )
5180
+ p.push(v.pop());
5181
+ return p;
5182
5182
  } };
5183
5183
  }().quantize, Xe = function(e) {
5184
5184
  this.canvas = document.createElement("canvas"), this.context = this.canvas.getContext("2d"), this.width = this.canvas.width = e.naturalWidth, this.height = this.canvas.height = e.naturalHeight, this.context.drawImage(e, 0, 0, this.width, this.height);
@@ -5201,9 +5201,9 @@ ee.prototype.getColor = function(e, a) {
5201
5201
  r = 10;
5202
5202
  return (l === void 0 || !Number.isInteger(l) || l < 1) && (l = 10), { colorCount: r, quality: l };
5203
5203
  }({ colorCount: a, quality: t }), s = new Xe(e), o = function(h, r, l) {
5204
- for (var d, c, f, g, v, m = h, p = [], y = 0; y < r; y += l)
5205
- c = m[0 + (d = 4 * y)], f = m[d + 1], g = m[d + 2], ((v = m[d + 3]) === void 0 || v >= 125) && (c > 250 && f > 250 && g > 250 || p.push([c, f, g]));
5206
- return p;
5204
+ for (var d, c, f, g, v, p = h, m = [], y = 0; y < r; y += l)
5205
+ c = p[0 + (d = 4 * y)], f = p[d + 1], g = p[d + 2], ((v = p[d + 3]) === void 0 || v >= 125) && (c > 250 && f > 250 && g > 250 || m.push([c, f, g]));
5206
+ return m;
5207
5207
  }(s.getImageData().data, s.width * s.height, n.quality), u = bn(o, n.colorCount);
5208
5208
  return u ? u.palette() : null;
5209
5209
  }, ee.prototype.getColorFromUrl = function(e, a, t) {
@@ -5234,7 +5234,7 @@ ee.prototype.getColor = function(e, a) {
5234
5234
  }), o.src = s;
5235
5235
  });
5236
5236
  };
5237
- var yn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Oe = { exports: {} };
5237
+ var yn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ee = { exports: {} };
5238
5238
  (function(e, a) {
5239
5239
  (function(t, n) {
5240
5240
  n(a);
@@ -5293,9 +5293,11 @@ var yn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
5293
5293
  var o = n.l10ns;
5294
5294
  t.Mandarin = s, t.default = o, Object.defineProperty(t, "__esModule", { value: !0 });
5295
5295
  });
5296
- })(Oe, Oe.exports);
5296
+ })(Ee, Ee.exports);
5297
+ var En = Ee.exports;
5297
5298
  export {
5298
5299
  W as S,
5299
- ee as o
5300
+ ee as o,
5301
+ En as z
5300
5302
  };
5301
5303
  //# sourceMappingURL=vendor-bundle.js.map