well-waterfall 1.2.7 → 1.2.8

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.
package/dist/index.es.js CHANGED
@@ -2,14 +2,14 @@
2
2
  function ot(t) {
3
3
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
4
4
  }
5
- function it(t, e) {
5
+ function rt(t, e) {
6
6
  t === void 0 && (t = {}), e === void 0 && (e = {});
7
7
  const s = ["__proto__", "constructor", "prototype"];
8
8
  Object.keys(e).filter((i) => s.indexOf(i) < 0).forEach((i) => {
9
- typeof t[i] > "u" ? t[i] = e[i] : ot(e[i]) && ot(t[i]) && Object.keys(e[i]).length > 0 && it(t[i], e[i]);
9
+ typeof t[i] > "u" ? t[i] = e[i] : ot(e[i]) && ot(t[i]) && Object.keys(e[i]).length > 0 && rt(t[i], e[i]);
10
10
  });
11
11
  }
12
- const ht = {
12
+ const gt = {
13
13
  body: {},
14
14
  addEventListener() {
15
15
  },
@@ -66,10 +66,10 @@ const ht = {
66
66
  };
67
67
  function q() {
68
68
  const t = typeof document < "u" ? document : {};
69
- return it(t, ht), t;
69
+ return rt(t, gt), t;
70
70
  }
71
71
  const Lt = {
72
- document: ht,
72
+ document: gt,
73
73
  navigator: {
74
74
  userAgent: ""
75
75
  },
@@ -128,7 +128,7 @@ const Lt = {
128
128
  };
129
129
  function Y() {
130
130
  const t = typeof window < "u" ? window : {};
131
- return it(t, Lt), t;
131
+ return rt(t, Lt), t;
132
132
  }
133
133
  function ce(t) {
134
134
  return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
@@ -146,7 +146,7 @@ function Mt(t) {
146
146
  }
147
147
  });
148
148
  }
149
- function Te(t, e) {
149
+ function ve(t, e) {
150
150
  return e === void 0 && (e = 0), setTimeout(t, e);
151
151
  }
152
152
  function te() {
@@ -164,7 +164,7 @@ function et(t, e) {
164
164
  const c = Ct(t);
165
165
  return s.WebKitCSSMatrix ? (a = c.transform || c.webkitTransform, a.split(",").length > 6 && (a = a.split(", ").map((d) => d.replace(",", ".")).join(", ")), r = new s.WebKitCSSMatrix(a === "none" ? "" : a)) : (r = c.MozTransform || c.OTransform || c.MsTransform || c.msTransform || c.transform || c.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), i = r.toString().split(",")), e === "x" && (s.WebKitCSSMatrix ? a = r.m41 : i.length === 16 ? a = parseFloat(i[12]) : a = parseFloat(i[4])), e === "y" && (s.WebKitCSSMatrix ? a = r.m42 : i.length === 16 ? a = parseFloat(i[13]) : a = parseFloat(i[5])), a || 0;
166
166
  }
167
- function _e(t) {
167
+ function xe(t) {
168
168
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
169
169
  }
170
170
  function It(t) {
@@ -178,16 +178,16 @@ function J() {
178
178
  const a = Object.keys(Object(i)).filter((r) => e.indexOf(r) < 0);
179
179
  for (let r = 0, c = a.length; r < c; r += 1) {
180
180
  const d = a[r], f = Object.getOwnPropertyDescriptor(i, d);
181
- f !== void 0 && f.enumerable && (_e(t[d]) && _e(i[d]) ? i[d].__swiper__ ? t[d] = i[d] : J(t[d], i[d]) : !_e(t[d]) && _e(i[d]) ? (t[d] = {}, i[d].__swiper__ ? t[d] = i[d] : J(t[d], i[d])) : t[d] = i[d]);
181
+ f !== void 0 && f.enumerable && (xe(t[d]) && xe(i[d]) ? i[d].__swiper__ ? t[d] = i[d] : J(t[d], i[d]) : !xe(t[d]) && xe(i[d]) ? (t[d] = {}, i[d].__swiper__ ? t[d] = i[d] : J(t[d], i[d])) : t[d] = i[d]);
182
182
  }
183
183
  }
184
184
  }
185
185
  return t;
186
186
  }
187
- function xe(t, e, s) {
187
+ function Le(t, e, s) {
188
188
  t.style.setProperty(e, s);
189
189
  }
190
- function gt(t) {
190
+ function wt(t) {
191
191
  let {
192
192
  swiper: e,
193
193
  targetPosition: s,
@@ -275,7 +275,7 @@ function Dt(t, e) {
275
275
  function fe(t, e) {
276
276
  return Y().getComputedStyle(t, null).getPropertyValue(e);
277
277
  }
278
- function Me(t) {
278
+ function Ce(t) {
279
279
  let e = t, s;
280
280
  if (e) {
281
281
  for (s = 0; (e = e.previousSibling) !== null; )
@@ -290,7 +290,7 @@ function ue(t, e) {
290
290
  e ? i.matches(e) && s.push(i) : s.push(i), i = i.parentElement;
291
291
  return s;
292
292
  }
293
- function Le(t, e) {
293
+ function Me(t, e) {
294
294
  function s(i) {
295
295
  i.target === t && (e.call(t, i), t.removeEventListener("transitionend", s));
296
296
  }
@@ -319,7 +319,7 @@ function Nt() {
319
319
  touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
320
320
  };
321
321
  }
322
- function wt() {
322
+ function Tt() {
323
323
  return Ue || (Ue = Nt()), Ue;
324
324
  }
325
325
  let qe;
@@ -327,7 +327,7 @@ function zt(t) {
327
327
  let {
328
328
  userAgent: e
329
329
  } = t === void 0 ? {} : t;
330
- const s = wt(), i = Y(), a = i.navigator.platform, r = e || i.navigator.userAgent, c = {
330
+ const s = Tt(), i = Y(), a = i.navigator.platform, r = e || i.navigator.userAgent, c = {
331
331
  ios: !1,
332
332
  android: !1
333
333
  }, d = i.screen.width, f = i.screen.height, o = r.match(/(Android);?[\s\/]+([\d.]+)?/);
@@ -337,12 +337,12 @@ function zt(t) {
337
337
  const l = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
338
338
  return !u && n && s.touch && l.indexOf(`${d}x${f}`) >= 0 && (u = r.match(/(Version)\/([\d.]+)/), u || (u = [0, 1, "13_0_0"]), n = !1), o && !g && (c.os = "android", c.android = !0), (u || T || m) && (c.os = "ios", c.ios = !0), c;
339
339
  }
340
- function Tt(t) {
340
+ function vt(t) {
341
341
  return t === void 0 && (t = {}), qe || (qe = zt(t)), qe;
342
342
  }
343
343
  let je;
344
344
  function $t() {
345
- const t = Y(), e = Tt();
345
+ const t = Y(), e = vt();
346
346
  let s = !1;
347
347
  function i() {
348
348
  const d = t.navigator.userAgent.toLowerCase();
@@ -363,7 +363,7 @@ function $t() {
363
363
  isWebView: a
364
364
  };
365
365
  }
366
- function vt() {
366
+ function Et() {
367
367
  return je || (je = $t()), je;
368
368
  }
369
369
  function Gt(t) {
@@ -547,7 +547,7 @@ function Vt() {
547
547
  return;
548
548
  typeof p == "string" && p.indexOf("%") >= 0 ? p = parseFloat(p.replace("%", "")) / 100 * r : typeof p == "string" && (p = parseFloat(p)), t.virtualSize = -p, u.forEach((A) => {
549
549
  c ? A.style.marginLeft = "" : A.style.marginRight = "", A.style.marginBottom = "", A.style.marginTop = "";
550
- }), s.centeredSlides && s.cssMode && (xe(i, "--swiper-centered-offset-before", ""), xe(i, "--swiper-centered-offset-after", ""));
550
+ }), s.centeredSlides && s.cssMode && (Le(i, "--swiper-centered-offset-before", ""), Le(i, "--swiper-centered-offset-after", ""));
551
551
  const I = s.grid && s.grid.rows > 1 && t.grid;
552
552
  I ? t.grid.initSlides(u) : t.grid && t.grid.unsetSlides();
553
553
  let R;
@@ -632,7 +632,7 @@ function Vt() {
632
632
  slidesGrid: g,
633
633
  slidesSizesGrid: n
634
634
  }), s.centeredSlides && s.cssMode && !s.centeredSlidesBounds) {
635
- xe(i, "--swiper-centered-offset-before", `${-T[0]}px`), xe(i, "--swiper-centered-offset-after", `${t.size / 2 - n[n.length - 1] / 2}px`);
635
+ Le(i, "--swiper-centered-offset-before", `${-T[0]}px`), Le(i, "--swiper-centered-offset-after", `${t.size / 2 - n[n.length - 1] / 2}px`);
636
636
  const A = -t.snapGrid[0], M = -t.slidesGrid[0];
637
637
  t.snapGrid = t.snapGrid.map((L) => L + A), t.slidesGrid = t.slidesGrid.map((L) => L + M);
638
638
  }
@@ -932,7 +932,7 @@ function ss(t, e, s, i, a) {
932
932
  d[m ? "scrollLeft" : "scrollTop"] = -u;
933
933
  else {
934
934
  if (!r.support.smoothScroll)
935
- return gt({
935
+ return wt({
936
936
  swiper: r,
937
937
  targetPosition: -u,
938
938
  side: m ? "left" : "top"
@@ -959,7 +959,7 @@ function as(t, e) {
959
959
  const s = this;
960
960
  s.params.cssMode || (s.wrapperEl.style.transitionDuration = `${t}ms`, s.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), s.emit("setTransition", t, e);
961
961
  }
962
- function Et(t) {
962
+ function St(t) {
963
963
  let {
964
964
  swiper: e,
965
965
  runCallbacks: s,
@@ -978,7 +978,7 @@ function rs(t, e) {
978
978
  const s = this, {
979
979
  params: i
980
980
  } = s;
981
- i.cssMode || (i.autoHeight && s.updateAutoHeight(), Et({
981
+ i.cssMode || (i.autoHeight && s.updateAutoHeight(), St({
982
982
  swiper: s,
983
983
  runCallbacks: t,
984
984
  direction: e,
@@ -990,7 +990,7 @@ function ns(t, e) {
990
990
  const s = this, {
991
991
  params: i
992
992
  } = s;
993
- s.animating = !1, !i.cssMode && (s.setTransition(0), Et({
993
+ s.animating = !1, !i.cssMode && (s.setTransition(0), St({
994
994
  swiper: s,
995
995
  runCallbacks: t,
996
996
  direction: e,
@@ -1047,7 +1047,7 @@ function os(t, e, s, i, a) {
1047
1047
  });
1048
1048
  else {
1049
1049
  if (!r.support.smoothScroll)
1050
- return gt({
1050
+ return wt({
1051
1051
  swiper: r,
1052
1052
  targetPosition: R,
1053
1053
  side: I ? "left" : "top"
@@ -1059,7 +1059,7 @@ function os(t, e, s, i, a) {
1059
1059
  }
1060
1060
  return !0;
1061
1061
  }
1062
- const O = vt().isSafari;
1062
+ const O = Et().isSafari;
1063
1063
  return p && !a && O && r.isElement && r.virtual.update(!1, !1, c), r.setTransition(e), r.setTranslate(v), r.updateActiveIndex(c), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, i), r.transitionStart(s, h), e === 0 ? r.transitionEnd(s, h) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(R) {
1064
1064
  !r || r.destroyed || R.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(s, h));
1065
1065
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
@@ -1203,7 +1203,7 @@ function ms() {
1203
1203
  const c = t.isElement ? "swiper-slide" : `.${e.slideClass}`, d = t.grid && t.params.grid && t.params.grid.rows > 1;
1204
1204
  if (e.loop) {
1205
1205
  if (t.animating) return;
1206
- r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : a > (d ? (t.slides.length - i) / 2 - (t.params.grid.rows - 1) : t.slides.length - i) ? (t.loopFix(), a = t.getSlideIndex(j(s, `${c}[data-swiper-slide-index="${r}"]`)[0]), Te(() => {
1206
+ r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : a > (d ? (t.slides.length - i) / 2 - (t.params.grid.rows - 1) : t.slides.length - i) ? (t.loopFix(), a = t.getSlideIndex(j(s, `${c}[data-swiper-slide-index="${r}"]`)[0]), ve(() => {
1207
1207
  t.slideTo(a);
1208
1208
  })) : t.slideTo(a);
1209
1209
  } else
@@ -1623,7 +1623,7 @@ function xs(t) {
1623
1623
  const b = i.path || i.composedPath && i.composedPath();
1624
1624
  e.updateClickedSlide(b && b[0] || i.target, b), e.emit("tap click", i), T < 300 && m - s.lastClickTime < 300 && e.emit("doubleTap doubleClick", i);
1625
1625
  }
1626
- if (s.lastClickTime = te(), Te(() => {
1626
+ if (s.lastClickTime = te(), ve(() => {
1627
1627
  e.destroyed || (e.allowClick = !0);
1628
1628
  }), !s.isTouched || !s.isMoved || !e.swipeDirection || d.diff === 0 && !s.loopSwapReset || s.currentTranslate === s.startTranslate && !s.loopSwapReset) {
1629
1629
  s.isTouched = !1, s.isMoved = !1, s.startMoving = !1;
@@ -1704,7 +1704,7 @@ function Is() {
1704
1704
  const t = this;
1705
1705
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1706
1706
  }
1707
- const St = (t, e) => {
1707
+ const bt = (t, e) => {
1708
1708
  const s = q(), {
1709
1709
  params: i,
1710
1710
  el: a,
@@ -1746,10 +1746,10 @@ function Rs() {
1746
1746
  const t = this, {
1747
1747
  params: e
1748
1748
  } = t;
1749
- t.onTouchStart = As.bind(t), t.onTouchMove = _s.bind(t), t.onTouchEnd = xs.bind(t), t.onDocumentTouchStart = Is.bind(t), e.cssMode && (t.onScroll = Ms.bind(t)), t.onClick = Ls.bind(t), t.onLoad = Cs.bind(t), St(t, "on");
1749
+ t.onTouchStart = As.bind(t), t.onTouchMove = _s.bind(t), t.onTouchEnd = xs.bind(t), t.onDocumentTouchStart = Is.bind(t), e.cssMode && (t.onScroll = Ms.bind(t)), t.onClick = Ls.bind(t), t.onLoad = Cs.bind(t), bt(t, "on");
1750
1750
  }
1751
1751
  function Os() {
1752
- St(this, "off");
1752
+ bt(this, "off");
1753
1753
  }
1754
1754
  var Ps = {
1755
1755
  attachEvents: Rs,
@@ -2046,9 +2046,9 @@ class Q {
2046
2046
  }), u;
2047
2047
  }
2048
2048
  const d = this;
2049
- d.__swiper__ = !0, d.support = wt(), d.device = Tt({
2049
+ d.__swiper__ = !0, d.support = Tt(), d.device = vt({
2050
2050
  userAgent: s.userAgent
2051
- }), d.browser = vt(), d.eventsListeners = {}, d.eventsAnyListeners = [], d.modules = [...d.__modules__], s.modules && Array.isArray(s.modules) && d.modules.push(...s.modules);
2051
+ }), d.browser = Et(), d.eventsListeners = {}, d.eventsAnyListeners = [], d.modules = [...d.__modules__], s.modules && Array.isArray(s.modules) && d.modules.push(...s.modules);
2052
2052
  const f = {};
2053
2053
  d.modules.forEach((u) => {
2054
2054
  u({
@@ -2153,8 +2153,8 @@ class Q {
2153
2153
  const {
2154
2154
  slidesEl: s,
2155
2155
  params: i
2156
- } = this, a = j(s, `.${i.slideClass}, swiper-slide`), r = Me(a[0]);
2157
- return Me(e) - r;
2156
+ } = this, a = j(s, `.${i.slideClass}, swiper-slide`), r = Ce(a[0]);
2157
+ return Ce(e) - r;
2158
2158
  }
2159
2159
  getSlideIndexByData(e) {
2160
2160
  return this.getSlideIndex(this.slides.find((s) => s.getAttribute("data-swiper-slide-index") * 1 === e));
@@ -2533,7 +2533,7 @@ function Ws(t) {
2533
2533
  o();
2534
2534
  }, 100)) : o());
2535
2535
  }), i("init update resize", () => {
2536
- e.params.virtual.enabled && e.params.cssMode && xe(e.wrapperEl, "--swiper-virtual-size", `${e.virtualSize}px`);
2536
+ e.params.virtual.enabled && e.params.cssMode && Le(e.wrapperEl, "--swiper-virtual-size", `${e.virtualSize}px`);
2537
2537
  }), Object.assign(e.virtual, {
2538
2538
  appendSlide: u,
2539
2539
  prependSlide: m,
@@ -2710,11 +2710,11 @@ function Xs(t) {
2710
2710
  o.splice(0);
2711
2711
  else if (o.length >= 15 && x.time - B.time < 500 && B.delta - x.delta >= 1 && x.delta <= 6) {
2712
2712
  const V = _ > 0 ? 0.8 : 0.2;
2713
- f = x, o.splice(0), c = Te(() => {
2713
+ f = x, o.splice(0), c = ve(() => {
2714
2714
  e.destroyed || !e.params || e.slideToClosest(e.params.speed, !0, void 0, V);
2715
2715
  }, 0);
2716
2716
  }
2717
- c || (c = Te(() => {
2717
+ c || (c = ve(() => {
2718
2718
  if (e.destroyed || !e.params) return;
2719
2719
  const V = 0.5;
2720
2720
  f = x, o.splice(0), e.slideToClosest(e.params.speed, !0, void 0, V);
@@ -2745,7 +2745,7 @@ function Xs(t) {
2745
2745
  disable: h
2746
2746
  });
2747
2747
  }
2748
- function at(t, e, s, i) {
2748
+ function nt(t, e, s, i) {
2749
2749
  return t.params.createElements && Object.keys(i).forEach((a) => {
2750
2750
  if (!s[a] && s.auto === !0) {
2751
2751
  let r = j(t.el, `.${i[a]}`)[0];
@@ -2803,7 +2803,7 @@ function Us(t) {
2803
2803
  }
2804
2804
  function u() {
2805
2805
  const n = e.params.navigation;
2806
- if (e.params.navigation = at(e, e.originalParams.navigation, e.params.navigation, {
2806
+ if (e.params.navigation = nt(e, e.originalParams.navigation, e.params.navigation, {
2807
2807
  nextEl: "swiper-button-next",
2808
2808
  prevEl: "swiper-button-prev"
2809
2809
  }), !(n.nextEl || n.prevEl)) return;
@@ -2942,7 +2942,7 @@ function qs(t) {
2942
2942
  if (!p)
2943
2943
  return;
2944
2944
  h.preventDefault();
2945
- const E = Me(p) * e.params.slidesPerGroup;
2945
+ const E = Ce(p) * e.params.slidesPerGroup;
2946
2946
  if (e.params.loop) {
2947
2947
  if (e.realIndex === E) return;
2948
2948
  const b = u(e.realIndex, E, e.slides.length);
@@ -2967,7 +2967,7 @@ function qs(t) {
2967
2967
  x.classList.remove(...C);
2968
2968
  }), E.length > 1)
2969
2969
  _.forEach((x) => {
2970
- const C = Me(x);
2970
+ const C = Ce(x);
2971
2971
  C === b ? x.classList.add(...p.bulletActiveClass.split(" ")) : e.isElement && x.setAttribute("part", "bullet"), p.dynamicBullets && (C >= A && C <= M && x.classList.add(...`${p.bulletActiveClass}-main`.split(" ")), C === A && o(x, "prev"), C === M && o(x, "next"));
2972
2972
  });
2973
2973
  else {
@@ -3023,7 +3023,7 @@ function qs(t) {
3023
3023
  }), h.type !== "custom" && a("paginationRender", E[0]);
3024
3024
  }
3025
3025
  function n() {
3026
- e.params.pagination = at(e, e.originalParams.pagination, e.params.pagination, {
3026
+ e.params.pagination = nt(e, e.originalParams.pagination, e.params.pagination, {
3027
3027
  el: "swiper-pagination"
3028
3028
  });
3029
3029
  const h = e.params.pagination;
@@ -3194,7 +3194,7 @@ function js(t) {
3194
3194
  } = e, {
3195
3195
  el: $
3196
3196
  } = C;
3197
- c && (c = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", N.style.transitionDuration = ""), x.hide && (clearTimeout(f), f = Te(() => {
3197
+ c && (c = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", N.style.transitionDuration = ""), x.hide && (clearTimeout(f), f = ve(() => {
3198
3198
  $.style.opacity = 0, $.style.transitionDuration = "400ms";
3199
3199
  }, 1e3)), a("scrollbarDragEnd", L), x.snapOnRelease && e.slideToClosest());
3200
3200
  }
@@ -3226,7 +3226,7 @@ function js(t) {
3226
3226
  scrollbar: L,
3227
3227
  el: x
3228
3228
  } = e;
3229
- e.params.scrollbar = at(e, e.originalParams.scrollbar, e.params.scrollbar, {
3229
+ e.params.scrollbar = nt(e, e.originalParams.scrollbar, e.params.scrollbar, {
3230
3230
  el: "swiper-scrollbar"
3231
3231
  });
3232
3232
  const C = e.params.scrollbar;
@@ -3710,9 +3710,9 @@ function Qs(t) {
3710
3710
  const m = e.constructor, T = e.controller.control;
3711
3711
  let g;
3712
3712
  function n(l) {
3713
- l.destroyed || (l.setTransition(o, e), o !== 0 && (l.transitionStart(), l.params.autoHeight && Te(() => {
3713
+ l.destroyed || (l.setTransition(o, e), o !== 0 && (l.transitionStart(), l.params.autoHeight && ve(() => {
3714
3714
  l.updateAutoHeight();
3715
- }), Le(l.wrapperEl, () => {
3715
+ }), Me(l.wrapperEl, () => {
3716
3716
  T && l.transitionEnd();
3717
3717
  })));
3718
3718
  }
@@ -3869,7 +3869,7 @@ function Js(t) {
3869
3869
  function R() {
3870
3870
  const S = e.params.a11y;
3871
3871
  O() && e.pagination.bullets.forEach((y) => {
3872
- e.params.pagination.clickable && (u(y), e.params.pagination.renderBullet || (T(y, "button"), l(y, S.paginationBulletMessage.replace(/\{\{index\}\}/, Me(y) + 1)))), y.matches(re(e.params.pagination.bulletActiveClass)) ? y.setAttribute("aria-current", "true") : y.removeAttribute("aria-current");
3872
+ e.params.pagination.clickable && (u(y), e.params.pagination.renderBullet || (T(y, "button"), l(y, S.paginationBulletMessage.replace(/\{\{index\}\}/, Ce(y) + 1)))), y.matches(re(e.params.pagination.bulletActiveClass)) ? y.setAttribute("aria-current", "true") : y.removeAttribute("aria-current");
3873
3873
  });
3874
3874
  }
3875
3875
  const _ = (S, y, B) => {
@@ -4248,7 +4248,7 @@ function ii(t) {
4248
4248
  watchSlidesProgress: !0,
4249
4249
  slideToClickedSlide: !1
4250
4250
  }), e.thumbs.swiper.update();
4251
- } else if (_e(o.swiper)) {
4251
+ } else if (xe(o.swiper)) {
4252
4252
  const m = Object.assign({}, o.swiper);
4253
4253
  Object.assign(m, {
4254
4254
  watchSlidesProgress: !0,
@@ -4418,13 +4418,13 @@ function ai(t) {
4418
4418
  e.slideToClosest();
4419
4419
  return;
4420
4420
  }
4421
- u.freeMode.momentumBounce && E ? (e.updateProgress(b), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating = !0, Le(m, () => {
4421
+ u.freeMode.momentumBounce && E ? (e.updateProgress(b), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating = !0, Me(m, () => {
4422
4422
  !e || e.destroyed || !n.allowMomentumBounce || (i("momentumBounce"), e.setTransition(u.speed), setTimeout(() => {
4423
- e.setTranslate(b), Le(m, () => {
4423
+ e.setTranslate(b), Me(m, () => {
4424
4424
  !e || e.destroyed || e.transitionEnd();
4425
4425
  });
4426
4426
  }, 0));
4427
- })) : e.velocity ? (i("_freeModeNoMomentumRelease"), e.updateProgress(p), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, Le(m, () => {
4427
+ })) : e.velocity ? (i("_freeModeNoMomentumRelease"), e.updateProgress(p), e.setTransition(v), e.setTranslate(p), e.transitionStart(!0, e.swipeDirection), e.animating || (e.animating = !0, Me(m, () => {
4428
4428
  !e || e.destroyed || e.transitionEnd();
4429
4429
  }))) : e.updateProgress(p), e.updateActiveIndex(), e.updateSlidesClasses();
4430
4430
  } else if (u.freeMode.sticky) {
@@ -4679,7 +4679,7 @@ function He(t) {
4679
4679
  const u = o.classList.contains("swiper-slide-transform") ? c(o) : o;
4680
4680
  return e.getSlideIndex(u) === r;
4681
4681
  }), f.forEach((o) => {
4682
- Le(o, () => {
4682
+ Me(o, () => {
4683
4683
  if (d || !e || e.destroyed) return;
4684
4684
  d = !0, e.animating = !1;
4685
4685
  const u = new window.CustomEvent("transitionend", {
@@ -4830,7 +4830,7 @@ function pi(t) {
4830
4830
  })
4831
4831
  });
4832
4832
  }
4833
- function ve(t, e, s) {
4833
+ function Ee(t, e, s) {
4834
4834
  const i = `swiper-slide-shadow${s ? `-${s}` : ""}${t ? ` swiper-slide-shadow-${t}` : ""}`, a = me(e);
4835
4835
  let r = a.querySelector(`.${i.split(" ").join(".")}`);
4836
4836
  return r || (r = ee("div", i.split(" ")), a.append(r)), r;
@@ -4849,7 +4849,7 @@ function mi(t) {
4849
4849
  });
4850
4850
  const a = (f, o) => {
4851
4851
  let u = e.isHorizontal() ? f.querySelector(".swiper-slide-shadow-left") : f.querySelector(".swiper-slide-shadow-top"), m = e.isHorizontal() ? f.querySelector(".swiper-slide-shadow-right") : f.querySelector(".swiper-slide-shadow-bottom");
4852
- u || (u = ve("flip", f, e.isHorizontal() ? "left" : "top")), m || (m = ve("flip", f, e.isHorizontal() ? "right" : "bottom")), u && (u.style.opacity = Math.max(-o, 0)), m && (m.style.opacity = Math.max(o, 0));
4852
+ u || (u = Ee("flip", f, e.isHorizontal() ? "left" : "top")), m || (m = Ee("flip", f, e.isHorizontal() ? "right" : "bottom")), u && (u.style.opacity = Math.max(-o, 0)), m && (m.style.opacity = Math.max(o, 0));
4853
4853
  };
4854
4854
  Se({
4855
4855
  effect: "flip",
@@ -4935,7 +4935,7 @@ function hi(t) {
4935
4935
  const N = `translate3d(${x}px,${L}px,${A}px) rotateX(${w(_)}deg) rotateY(${w(R)}deg) scale(${C})`, $ = Re(u, p);
4936
4936
  if ($.style.transform = N, p.style.zIndex = -Math.abs(Math.round(I)) + 1, u.slideShadows) {
4937
4937
  let S = m ? p.querySelector(".swiper-slide-shadow-left") : p.querySelector(".swiper-slide-shadow-top"), y = m ? p.querySelector(".swiper-slide-shadow-right") : p.querySelector(".swiper-slide-shadow-bottom");
4938
- S || (S = ve("coverflow", p, m ? "left" : "top")), y || (y = ve("coverflow", p, m ? "right" : "bottom")), S && (S.style.opacity = I > 0 ? I : 0), y && (y.style.opacity = -I > 0 ? -I : 0);
4938
+ S || (S = Ee("coverflow", p, m ? "left" : "top")), y || (y = Ee("coverflow", p, m ? "right" : "bottom")), S && (S.style.opacity = I > 0 ? I : 0), y && (y.style.opacity = -I > 0 ? -I : 0);
4939
4939
  }
4940
4940
  }
4941
4941
  },
@@ -5017,7 +5017,7 @@ function gi(t) {
5017
5017
  const R = E.join(", "), _ = `rotateX(${g(b[0])}deg) rotateY(${g(b[1])}deg) rotateZ(${g(b[2])}deg)`, A = h < 0 ? `scale(${1 + (1 - I.scale) * h * m})` : `scale(${1 - (1 - I.scale) * h * m})`, M = h < 0 ? 1 + (1 - I.opacity) * h * m : 1 - (1 - I.opacity) * h * m, L = `translate3d(${R}) ${_} ${A}`;
5018
5018
  if (O && I.shadow || !O) {
5019
5019
  let C = l.querySelector(".swiper-slide-shadow");
5020
- if (!C && I.shadow && (C = ve("creative", l)), C) {
5020
+ if (!C && I.shadow && (C = Ee("creative", l)), C) {
5021
5021
  const N = u.shadowPerProgress ? v * (1 / u.limitProgress) : v;
5022
5022
  C.style.opacity = Math.min(Math.max(Math.abs(N), 0), 1);
5023
5023
  }
@@ -5095,7 +5095,7 @@ function wi(t) {
5095
5095
  `;
5096
5096
  if (o.slideShadows) {
5097
5097
  let C = n.querySelector(".swiper-slide-shadow");
5098
- C || (C = ve("cards", n)), C && (C.style.opacity = Math.min(Math.max((Math.abs(w) - 0.5) / 0.5, 0), 1));
5098
+ C || (C = Ee("cards", n)), C && (C.style.opacity = Math.min(Math.max((Math.abs(w) - 0.5) / 0.5, 0), 1));
5099
5099
  }
5100
5100
  n.style.zIndex = -Math.abs(Math.round(l)) + c.length;
5101
5101
  const x = Re(o, n);
@@ -5131,7 +5131,7 @@ function k(t, e, s) {
5131
5131
  if (!(!i || i === s))
5132
5132
  return i;
5133
5133
  }
5134
- function Ce(t, e, s) {
5134
+ function Ie(t, e, s) {
5135
5135
  const i = t.getAttribute(e)?.trim();
5136
5136
  if (!(!i || i === s))
5137
5137
  return i;
@@ -5153,11 +5153,11 @@ function D(t, e, s) {
5153
5153
  function vi(t) {
5154
5154
  return typeof HTMLElement < "u" && t instanceof HTMLElement;
5155
5155
  }
5156
- function bt(t) {
5156
+ function yt(t) {
5157
5157
  if (typeof t != "object" || t === null) return t;
5158
5158
  for (const e in t) {
5159
5159
  const s = t[e];
5160
- s == null ? delete t[e] : typeof s == "object" && s !== null && !vi(s) && (bt(s), Object.keys(s).length === 0 && delete t[e]);
5160
+ s == null ? delete t[e] : typeof s == "object" && s !== null && !vi(s) && (yt(s), Object.keys(s).length === 0 && delete t[e]);
5161
5161
  }
5162
5162
  return t;
5163
5163
  }
@@ -5170,17 +5170,17 @@ function Si() {
5170
5170
  t.removeAttribute("role");
5171
5171
  });
5172
5172
  }
5173
- const Ee = "waterfall", oo = "waterfall-preload", co = "waterfall-postload", fo = "waterfall-content", bi = "waterfall-debug-mode", uo = "waterfall-advanced-debug-mode", po = "waterfall-a11y", yi = "waterfall-a11y-container-message", Ai = "waterfall-a11y-container-role", _i = "waterfall-a11y-container-role-description-message", xi = "waterfall-a11y-enabled", Li = "waterfall-a11y-first-slide-message", Mi = "waterfall-a11y-id", Ci = "waterfall-a11y-item-role-description-message", Ii = "waterfall-a11y-last-slide-message", Ri = "waterfall-a11y-next-slide-message", Oi = "waterfall-a11y-notification-class", Pi = "waterfall-a11y-pagination-bullet-message", Di = "waterfall-a11y-prev-slide-message", Ni = "waterfall-a11y-scroll-on-focus", zi = "waterfall-a11y-slide-label-message", $i = "waterfall-a11y-slide-role", Gi = "waterfall-centered-slides-lmobile", Bi = "waterfall-slides-per-view-lmobile", ki = "waterfall-slides-per-group-lmobile", Hi = "waterfall-space-between-lmobile", Vi = "waterfall-centered-slides-tablet", Fi = "waterfall-slides-per-view-tablet", mo = "waterfall-slides-per-group-tablet", Wi = "waterfall-space-between-tablet", Yi = "waterfall-centered-slides-desktop", Xi = "waterfall-slides-per-view-desktop", Ui = "waterfall-slides-per-group-desktop", qi = "waterfall-space-between-desktop", ji = "waterfall-centered-slides-large", Ki = "waterfall-slides-per-view-large", mt = "waterfall-slides-per-group-large", Zi = "waterfall-space-between-large", Qi = "waterfall-centered-slides-xlarge", Ji = "waterfall-slides-per-view-xlarge", ea = "waterfall-slides-per-group-xlarge", ta = "waterfall-space-between-xlarge", rt = "waterfall-controller", sa = "waterfall-controller-by", ia = "waterfall-controller-inverse", ho = "waterfall-effect-crossfade", aa = "waterfall-coverflow-depth", ra = "waterfall-coverflow-modifier", na = "waterfall-coverflow-rotate", la = "waterfall-coverflow-scale", oa = "waterfall-coverflow-slide-shadows", da = "waterfall-coverflow-stretch", ca = "waterfall-flip-limit-rotation", fa = "waterfall-flip-slide-shadows", ua = "waterfall-cube-shadow", pa = "waterfall-cube-shadow-offset", ma = "waterfall-cube-shadow-scale", ha = "waterfall-cube-slide-shadows", ga = "waterfall-cards-per-slide-offset", wa = "waterfall-cards-per-slide-rotate", Ta = "waterfall-cards-rotate", va = "waterfall-cards-slide-shadows", Ea = "waterfall-allow-slide-next", Sa = "waterfall-allow-slide-prev", ba = "waterfall-allow-touch-move", ya = "waterfall-auto-height", Aa = "waterfall-breakpoints-base", _a = "waterfall-center-insufficient-slides", xa = "waterfall-centered-slides", go = "waterfall-centered-slides-bounds", La = "waterfall-container-modifier-class", Ma = "waterfall-create-elements", Ca = "waterfall-css-mode", Ia = "waterfall-direction", Ra = "waterfall-edge-swipe-detection", Oa = "waterfall-edge-swipe-threshold", Pa = "waterfall-effect", Da = "waterfall-enabled", Na = "waterfall-events-prefix", za = "waterfall-focusable-elements", $a = "waterfall-follow-finger", Ga = "waterfall-grab-cursor", Ba = "waterfall-height", ka = "waterfall-init", Ha = "waterfall-initial-slide", Va = "waterfall-lazy-preload-prev-next", Fa = "waterfall-lazy-preloader-class", Wa = "waterfall-long-swipes", Ya = "waterfall-long-swipes-ms", Xa = "waterfall-long-swipes-ratio", wo = "waterfall-loop-mode", Ua = "waterfall-loop-add-blank-slides", qa = "waterfall-loop-additional-slides", ja = "waterfall-loop-prevents-sliding", Ka = "waterfall-max-backface-hidden-slides", Za = "waterfall-nested", Qa = "waterfall-no-swiping", Ja = "waterfall-no-swiping-class", er = "waterfall-no-swiping-selector", tr = "waterfall-normalize-slide-index", sr = "waterfall-observe-parents", ir = "waterfall-observe-slide-children", ar = "waterfall-observer", rr = "waterfall-data-one-way-movement", nr = "waterfall-passive-listeners", lr = "waterfall-prevent-clicks", or = "waterfall-prevent-clicks-propagation", dr = "waterfall-prevent-interaction-on-transition", cr = "waterfall-resistance", fr = "waterfall-resistance-ratio", ur = "waterfall-resize-observer", To = "waterfall-rewind", pr = "waterfall-round-lengths", mr = "waterfall-run-callbacks-on-init", hr = "waterfall-set-wrapper-size", gr = "waterfall-short-swipes", wr = "waterfall-simulate-touch", Tr = "waterfall-slide-active-class", vr = "waterfall-slide-class", Er = "waterfall-slide-blank-class", Sr = "waterfall-slide-fully-visible-class", br = "waterfall-slide-next-class", yr = "waterfall-slide-prev-class", Ar = "waterfall-slide-to-clicked-slide", _r = "waterfall-slide-visible-class", xr = "waterfall-slides-offset-after", Lr = "waterfall-slides-offset-before", Mr = "waterfall-slides-per-group", Cr = "waterfall-slides-per-group-auto", Ir = "waterfall-slides-per-group-skip", Rr = "waterfall-slides-per-view", Or = "waterfall-space-between", Pr = "waterfall-speed", Dr = "waterfall-swipe-handler", Nr = "waterfall-swiper-element-node-name", zr = "waterfall-threshold", $r = "waterfall-touch-angle", Gr = "waterfall-touch-events-target", Br = "waterfall-touch-move-stop-propagation", kr = "waterfall-touch-ratio", Hr = "waterfall-touch-release-on-edges", Vr = "waterfall-touch-start-force-prevent-default", Fr = "waterfall-touch-start-prevent-default", Wr = "waterfall-unique-nav-elements", Yr = "waterfall-update-on-window-resize", Xr = "waterfall-url", Ur = "waterfall-user-agent", vo = "waterfall-virtual-translate", qr = "waterfall-watch-overflow", jr = "waterfall-watch-slides-progress", Kr = "waterfall-width", Zr = "waterfall-wrapper-class", Qr = "waterfall-hash-replace-state", Jr = "waterfall-hash-watch-state", en = "waterfall-history-keep-query", tn = "waterfall-history-key", sn = "waterfall-history-replace-state", an = "waterfall-history-root", rn = "waterfall-keyboard-enabled", nn = "waterfall-keyboard-only-in-viewport", ln = "waterfall-keyboard-page-up-down", on = "waterfall-mouse-enabled", dn = "waterfall-mouse-events-target", cn = "waterfall-mouse-force-to-axis", fn = "waterfall-mouse-invert", un = "waterfall-mouse-no-mouse-wheel-class", pn = "waterfall-mouse-release-on-edges", mn = "waterfall-mouse-sensitivity", hn = "waterfall-mouse-threshold-delta", gn = "waterfall-mouse-threshold-time", wn = "waterfall-grid-rows", Tn = "waterfall-grid-fill", vn = "waterfall-navigation-disabled-class", En = "waterfall-navigation-enabled", Sn = "waterfall-navigation-hidden-class", bn = "waterfall-navigation-hide-on-click", yt = "waterfall-navigation-lock-class", yn = "waterfall-navigation-navigation-disabled-class", An = "waterfall-pagination-type", Eo = "waterfall-pagination-bullet-class", _n = "waterfall-pagination-bullet-active-class", xn = "waterfall-pagination-clickable", Ln = "waterfall-pagination-clickable-class", Mn = "waterfall-pagination-current-class", Cn = "waterfall-pagination-dynamic-bullets", In = "waterfall-pagination-dynamic-main-bullets", Rn = "waterfall-pagination-enabled", On = "waterfall-pagination-hidden-class", Pn = "waterfall-pagination-hide-on-click", Dn = "waterfall-pagination-horizontal-class", So = "waterfall-pagination-lock-class", Nn = "waterfall-pagination-modifier-class", zn = "waterfall-pagination-pagination-disabled-class", $n = "waterfall-pagination-progressbar-fill-class", Gn = "waterfall-pagination-progressbar-opposite", Bn = "waterfall-pagination-progressbar-opposite-class", kn = "waterfall-pagination-total-class", Hn = "waterfall-pagination-vertical-class", Vn = "waterfall-autoplay-mode", At = "waterfall-smooth-autoplay", Fn = "waterfall-delay", Wn = "waterfall-disable-on-interaction", Yn = "waterfall-reverse-direction", Xn = "waterfall-pause-on-mouse-enter", Un = "waterfall-stop-on-last-slide", bo = "waterfall-wait-for-transition", qn = "waterfall-free-mode-enabled", jn = "waterfall-free-mode-minimum-velocity", Kn = "waterfall-free-mode-momentum", Zn = "waterfall-free-mode-momentum-bounce", Qn = "waterfall-free-mode-momentum-bounce-ratio", Jn = "waterfall-free-mode-momentum-ratio", el = "waterfall-free-mode-momentum-velocity-ratio", tl = "waterfall-free-mode-sticky", yo = "waterfall-scrollbar-drag-class", sl = "waterfall-scrollbar-drag-size", il = "waterfall-scrollbar-draggable", al = "waterfall-scrollbar-enabled", rl = "waterfall-scrollbar-hide", nl = "waterfall-scrollbar-horizontal-class", ll = "waterfall-scrollbar-lock-class", ol = "waterfall-scrollbar-scrollbar-disabled-class", dl = "waterfall-scrollbar-vertical-class", cl = "waterfall-scrollbar-snap-on-release", nt = "waterfall-thumbs", fl = "waterfall-thumbs-auto-scroll-offset", ul = "waterfall-thumbs-multiple-active-thumbs", pl = "waterfall-slide-thumb-active-class", ml = "waterfall-thumbs-container-class", hl = "waterfall-add-slide", gl = "waterfall-add-index", wl = "waterfall-append-slide", Tl = "waterfall-prepend-slide", vl = "waterfall-remove-slide", El = "waterfall-remove-index", Ao = "waterfall-remove-all-slides", _o = "waterfall-zoom", xo = "waterfall-zoom-enabled", Sl = "waterfall-zoom-container-class", bl = "waterfall-zoom-limit-to-original-size", yl = "waterfall-zoom-max-ratio", Al = "waterfall-zoom-min-ratio", _l = "waterfall-zoom-pan-on-mouse-move", xl = "waterfall-zoom-toggle", Ll = "waterfall-zoomed-slide-class", Lo = "waterfall-zoom-fade", Ml = "waterfall-parallax-enabled", Mo = "data-swiper-parallax", Co = "data-swiper-parallax-x", Io = "data-swiper-parallax-y", Ro = "data-swiper-parallax-scale", Oo = "data-swiper-parallax-opacity", Po = "data-swiper-parallax-duration", Cl = "waterfall-playback-mode", pe = "waterfall-el", Il = "pagination", Rl = "pagination-bullet", Do = "pagination-bullet-active", No = "waterfall-navigation", Ol = "navigation-next", Pl = "navigation-prev", Dl = "scrollbar", Nl = "scrollbar-drag", zl = "slide-count";
5173
+ const Te = "waterfall", oo = "waterfall-preload", co = "waterfall-postload", fo = "waterfall-content", bi = "waterfall-debug-mode", uo = "waterfall-advanced-debug-mode", po = "waterfall-a11y", yi = "waterfall-a11y-container-message", Ai = "waterfall-a11y-container-role", _i = "waterfall-a11y-container-role-description-message", xi = "waterfall-a11y-enabled", Li = "waterfall-a11y-first-slide-message", Mi = "waterfall-a11y-id", Ci = "waterfall-a11y-item-role-description-message", Ii = "waterfall-a11y-last-slide-message", Ri = "waterfall-a11y-next-slide-message", Oi = "waterfall-a11y-notification-class", Pi = "waterfall-a11y-pagination-bullet-message", Di = "waterfall-a11y-prev-slide-message", Ni = "waterfall-a11y-scroll-on-focus", zi = "waterfall-a11y-slide-label-message", $i = "waterfall-a11y-slide-role", Gi = "waterfall-centered-slides-lmobile", Bi = "waterfall-slides-per-view-lmobile", ki = "waterfall-slides-per-group-lmobile", Hi = "waterfall-space-between-lmobile", Vi = "waterfall-centered-slides-tablet", Fi = "waterfall-slides-per-view-tablet", mo = "waterfall-slides-per-group-tablet", Wi = "waterfall-space-between-tablet", Yi = "waterfall-centered-slides-desktop", Xi = "waterfall-slides-per-view-desktop", Ui = "waterfall-slides-per-group-desktop", qi = "waterfall-space-between-desktop", ji = "waterfall-centered-slides-large", Ki = "waterfall-slides-per-view-large", mt = "waterfall-slides-per-group-large", Zi = "waterfall-space-between-large", Qi = "waterfall-centered-slides-xlarge", Ji = "waterfall-slides-per-view-xlarge", ea = "waterfall-slides-per-group-xlarge", ta = "waterfall-space-between-xlarge", it = "waterfall-controller", sa = "waterfall-controller-by", ia = "waterfall-controller-inverse", ho = "waterfall-effect-crossfade", aa = "waterfall-coverflow-depth", ra = "waterfall-coverflow-modifier", na = "waterfall-coverflow-rotate", la = "waterfall-coverflow-scale", oa = "waterfall-coverflow-slide-shadows", da = "waterfall-coverflow-stretch", ca = "waterfall-flip-limit-rotation", fa = "waterfall-flip-slide-shadows", ua = "waterfall-cube-shadow", pa = "waterfall-cube-shadow-offset", ma = "waterfall-cube-shadow-scale", ha = "waterfall-cube-slide-shadows", ga = "waterfall-cards-per-slide-offset", wa = "waterfall-cards-per-slide-rotate", Ta = "waterfall-cards-rotate", va = "waterfall-cards-slide-shadows", Ea = "waterfall-allow-slide-next", Sa = "waterfall-allow-slide-prev", ba = "waterfall-allow-touch-move", ya = "waterfall-auto-height", Aa = "waterfall-breakpoints-base", _a = "waterfall-center-insufficient-slides", xa = "waterfall-centered-slides", go = "waterfall-centered-slides-bounds", La = "waterfall-container-modifier-class", Ma = "waterfall-create-elements", Ca = "waterfall-css-mode", Ia = "waterfall-direction", Ra = "waterfall-edge-swipe-detection", Oa = "waterfall-edge-swipe-threshold", Pa = "waterfall-effect", Da = "waterfall-enabled", Na = "waterfall-events-prefix", za = "waterfall-focusable-elements", $a = "waterfall-follow-finger", Ga = "waterfall-grab-cursor", Ba = "waterfall-height", ka = "waterfall-init", Ha = "waterfall-initial-slide", Va = "waterfall-lazy-preload-prev-next", Fa = "waterfall-lazy-preloader-class", Wa = "waterfall-long-swipes", Ya = "waterfall-long-swipes-ms", Xa = "waterfall-long-swipes-ratio", wo = "waterfall-loop-mode", Ua = "waterfall-loop-add-blank-slides", qa = "waterfall-loop-additional-slides", ja = "waterfall-loop-prevents-sliding", Ka = "waterfall-max-backface-hidden-slides", Za = "waterfall-nested", Qa = "waterfall-no-swiping", Ja = "waterfall-no-swiping-class", er = "waterfall-no-swiping-selector", tr = "waterfall-normalize-slide-index", sr = "waterfall-observe-parents", ir = "waterfall-observe-slide-children", ar = "waterfall-observer", rr = "waterfall-data-one-way-movement", nr = "waterfall-passive-listeners", lr = "waterfall-prevent-clicks", or = "waterfall-prevent-clicks-propagation", dr = "waterfall-prevent-interaction-on-transition", cr = "waterfall-resistance", fr = "waterfall-resistance-ratio", ur = "waterfall-resize-observer", To = "waterfall-rewind", pr = "waterfall-round-lengths", mr = "waterfall-run-callbacks-on-init", hr = "waterfall-set-wrapper-size", gr = "waterfall-short-swipes", wr = "waterfall-simulate-touch", Tr = "waterfall-slide-active-class", vr = "waterfall-slide-class", Er = "waterfall-slide-blank-class", Sr = "waterfall-slide-fully-visible-class", br = "waterfall-slide-next-class", yr = "waterfall-slide-prev-class", Ar = "waterfall-slide-to-clicked-slide", _r = "waterfall-slide-visible-class", xr = "waterfall-slides-offset-after", Lr = "waterfall-slides-offset-before", Mr = "waterfall-slides-per-group", Cr = "waterfall-slides-per-group-auto", Ir = "waterfall-slides-per-group-skip", Rr = "waterfall-slides-per-view", Or = "waterfall-space-between", Pr = "waterfall-speed", Dr = "waterfall-swipe-handler", Nr = "waterfall-swiper-element-node-name", zr = "waterfall-threshold", $r = "waterfall-touch-angle", Gr = "waterfall-touch-events-target", Br = "waterfall-touch-move-stop-propagation", kr = "waterfall-touch-ratio", Hr = "waterfall-touch-release-on-edges", Vr = "waterfall-touch-start-force-prevent-default", Fr = "waterfall-touch-start-prevent-default", Wr = "waterfall-unique-nav-elements", Yr = "waterfall-update-on-window-resize", Xr = "waterfall-url", Ur = "waterfall-user-agent", vo = "waterfall-virtual-translate", qr = "waterfall-watch-overflow", jr = "waterfall-watch-slides-progress", Kr = "waterfall-width", Zr = "waterfall-wrapper-class", Qr = "waterfall-hash-replace-state", Jr = "waterfall-hash-watch-state", en = "waterfall-history-keep-query", tn = "waterfall-history-key", sn = "waterfall-history-replace-state", an = "waterfall-history-root", rn = "waterfall-keyboard-enabled", nn = "waterfall-keyboard-only-in-viewport", ln = "waterfall-keyboard-page-up-down", on = "waterfall-mouse-enabled", dn = "waterfall-mouse-events-target", cn = "waterfall-mouse-force-to-axis", fn = "waterfall-mouse-invert", un = "waterfall-mouse-no-mouse-wheel-class", pn = "waterfall-mouse-release-on-edges", mn = "waterfall-mouse-sensitivity", hn = "waterfall-mouse-threshold-delta", gn = "waterfall-mouse-threshold-time", wn = "waterfall-grid-rows", Tn = "waterfall-grid-fill", vn = "waterfall-navigation-disabled-class", En = "waterfall-navigation-enabled", Sn = "waterfall-navigation-hidden-class", bn = "waterfall-navigation-hide-on-click", At = "waterfall-navigation-lock-class", yn = "waterfall-navigation-navigation-disabled-class", An = "waterfall-pagination-type", Eo = "waterfall-pagination-bullet-class", _n = "waterfall-pagination-bullet-active-class", xn = "waterfall-pagination-clickable", Ln = "waterfall-pagination-clickable-class", Mn = "waterfall-pagination-current-class", Cn = "waterfall-pagination-dynamic-bullets", In = "waterfall-pagination-dynamic-main-bullets", Rn = "waterfall-pagination-enabled", On = "waterfall-pagination-hidden-class", Pn = "waterfall-pagination-hide-on-click", Dn = "waterfall-pagination-horizontal-class", So = "waterfall-pagination-lock-class", Nn = "waterfall-pagination-modifier-class", zn = "waterfall-pagination-pagination-disabled-class", $n = "waterfall-pagination-progressbar-fill-class", Gn = "waterfall-pagination-progressbar-opposite", Bn = "waterfall-pagination-progressbar-opposite-class", kn = "waterfall-pagination-total-class", Hn = "waterfall-pagination-vertical-class", Vn = "waterfall-autoplay-mode", _t = "waterfall-smooth-autoplay", Fn = "waterfall-delay", Wn = "waterfall-disable-on-interaction", Yn = "waterfall-reverse-direction", Xn = "waterfall-pause-on-mouse-enter", Un = "waterfall-stop-on-last-slide", bo = "waterfall-wait-for-transition", qn = "waterfall-free-mode-enabled", jn = "waterfall-free-mode-minimum-velocity", Kn = "waterfall-free-mode-momentum", Zn = "waterfall-free-mode-momentum-bounce", Qn = "waterfall-free-mode-momentum-bounce-ratio", Jn = "waterfall-free-mode-momentum-ratio", el = "waterfall-free-mode-momentum-velocity-ratio", tl = "waterfall-free-mode-sticky", yo = "waterfall-scrollbar-drag-class", sl = "waterfall-scrollbar-drag-size", il = "waterfall-scrollbar-draggable", al = "waterfall-scrollbar-enabled", rl = "waterfall-scrollbar-hide", nl = "waterfall-scrollbar-horizontal-class", ll = "waterfall-scrollbar-lock-class", ol = "waterfall-scrollbar-scrollbar-disabled-class", dl = "waterfall-scrollbar-vertical-class", cl = "waterfall-scrollbar-snap-on-release", at = "waterfall-thumbs", fl = "waterfall-thumbs-auto-scroll-offset", ul = "waterfall-thumbs-multiple-active-thumbs", pl = "waterfall-slide-thumb-active-class", ml = "waterfall-thumbs-container-class", hl = "waterfall-add-slide", gl = "waterfall-add-index", wl = "waterfall-append-slide", Tl = "waterfall-prepend-slide", vl = "waterfall-remove-slide", El = "waterfall-remove-index", Ao = "waterfall-remove-all-slides", _o = "waterfall-zoom", xo = "waterfall-zoom-enabled", Sl = "waterfall-zoom-container-class", bl = "waterfall-zoom-limit-to-original-size", yl = "waterfall-zoom-max-ratio", Al = "waterfall-zoom-min-ratio", _l = "waterfall-zoom-pan-on-mouse-move", xl = "waterfall-zoom-toggle", Ll = "waterfall-zoomed-slide-class", Lo = "waterfall-zoom-fade", Ml = "waterfall-parallax-enabled", Mo = "data-swiper-parallax", Co = "data-swiper-parallax-x", Io = "data-swiper-parallax-y", Ro = "data-swiper-parallax-scale", Oo = "data-swiper-parallax-opacity", Po = "data-swiper-parallax-duration", Cl = "waterfall-playback-mode", pe = "waterfall-el", Il = "pagination", Rl = "pagination-bullet", Do = "pagination-bullet-active", No = "waterfall-navigation", Ol = "navigation-next", Pl = "navigation-prev", Dl = "scrollbar", Nl = "scrollbar-drag", zl = "slide-count";
5174
5174
  function $l(t, e, s) {
5175
5175
  t.allowSlideNext = D(e, Ea, !0), t.allowSlidePrev = D(e, Sa, !0), t.navigation = {
5176
5176
  disabledClass: k(e, vn, "swiper-button-disabled"),
5177
5177
  enabled: D(e, En),
5178
5178
  hiddenClass: k(e, Sn, "swiper-button-hidden"),
5179
5179
  hideOnClick: D(e, bn, !1),
5180
- lockClass: k(e, yt, "swiper-button-lock"),
5180
+ lockClass: k(e, At, "swiper-button-lock"),
5181
5181
  navigationDisabledClass: k(e, yn, "swiper-navigation-disabled"),
5182
- nextEl: `[${Ee}='${s}'] [${pe}=${Ol}]`,
5183
- prevEl: `[${Ee}='${s}'] [${pe}=${Pl}]`
5182
+ nextEl: `[${Te}='${s}'] [${pe}=${Ol}]`,
5183
+ prevEl: `[${Te}='${s}'] [${pe}=${Pl}]`
5184
5184
  };
5185
5185
  }
5186
5186
  function Gl(t, e) {
@@ -5235,7 +5235,7 @@ function Bl(t, e) {
5235
5235
  hiddenClass: k(e, On, "swiper-pagination-hidden"),
5236
5236
  hideOnClick: D(e, Pn, !0),
5237
5237
  horizontalClass: k(e, Dn, "swiper-pagination-horizontal"),
5238
- lockClass: k(e, yt, "swiper-pagination-lock"),
5238
+ lockClass: k(e, At, "swiper-pagination-lock"),
5239
5239
  modifierClass: k(e, Nn, "swiper-pagination-"),
5240
5240
  paginationDisabledClass: k(
5241
5241
  e,
@@ -5274,7 +5274,7 @@ function kl(t, e) {
5274
5274
  const i = s?.querySelector(`[${pe}=${Nl}]`);
5275
5275
  t.scrollbar = {
5276
5276
  dragClass: i?.getAttribute("class") || "",
5277
- dragSize: Ce(e, sl, "auto"),
5277
+ dragSize: Ie(e, sl, "auto"),
5278
5278
  draggable: D(e, il, !1),
5279
5279
  el: s || null,
5280
5280
  enabled: D(e, al),
@@ -5290,7 +5290,7 @@ function kl(t, e) {
5290
5290
  function Hl(t, e) {
5291
5291
  const s = k(e, Cl, "none");
5292
5292
  s === "loop" && (t.loop = !0), s === "rewind" && (t.rewind = !0), s === "none" && (t.loop = !1, t.rewind = !1), t.loopAddBlankSlides = D(e, Ua, !0), t.loopAdditionalSlides = H(e, qa, 0), t.loopPreventsSliding = D(e, ja, !0);
5293
- const i = D(e, Vn, !1), a = D(e, At, !1);
5293
+ const i = D(e, Vn, !1), a = D(e, _t, !1);
5294
5294
  let r = H(e, Fn, void 0);
5295
5295
  a && (r = 0), i && (Vl(), t.autoplay = {
5296
5296
  delay: r,
@@ -5302,7 +5302,7 @@ function Hl(t, e) {
5302
5302
  }), t.speed = H(e, Pr, 300), t.oneWayMovement = D(e, rr, !1);
5303
5303
  }
5304
5304
  function Vl() {
5305
- document.querySelectorAll(`[${At}='true'] .swiper-wrapper`).forEach((t) => {
5305
+ document.querySelectorAll(`[${_t}='true'] .swiper-wrapper`).forEach((t) => {
5306
5306
  t.style.transitionTimingFunction = "linear";
5307
5307
  });
5308
5308
  }
@@ -5331,8 +5331,8 @@ function Fl(t, e) {
5331
5331
  });
5332
5332
  }
5333
5333
  function Wl(t, e) {
5334
- t.autoHeight = D(e, ya, !1), t.centerInsufficientSlides = D(e, _a, !1), t.centeredSlides = D(e, xa, !1), t.direction = Ce(e, Ia, "horizontal"), t.grid = {
5335
- fill: Ce(e, Tn, "column"),
5334
+ t.autoHeight = D(e, ya, !1), t.centerInsufficientSlides = D(e, _a, !1), t.centeredSlides = D(e, xa, !1), t.direction = Ie(e, Ia, "horizontal"), t.grid = {
5335
+ fill: Ie(e, Tn, "column"),
5336
5336
  rows: H(e, wn, 1)
5337
5337
  }, t.height = H(e, Ba), t.slidesOffsetAfter = H(e, xr, 0), t.slidesOffsetBefore = H(e, Lr, 0), t.slidesPerGroup = H(e, Mr, 1), t.slidesPerGroupAuto = D(e, Cr, !1), t.slidesPerGroupSkip = H(e, Ir, 0), t.slidesPerView = H(e, Rr, 1), t.spaceBetween = H(e, Or, 0), t.width = H(e, Kr);
5338
5338
  }
@@ -5348,7 +5348,7 @@ function Xl() {
5348
5348
  });
5349
5349
  }
5350
5350
  function Ul(t, e, s, i) {
5351
- const a = k(e, nt, "");
5351
+ const a = k(e, at, "");
5352
5352
  if (!a || a === "")
5353
5353
  return;
5354
5354
  const r = s.find((c) => c.name === a);
@@ -5387,11 +5387,11 @@ function Kl(t, e) {
5387
5387
  };
5388
5388
  }
5389
5389
  function Zl(t, e, s, i) {
5390
- const a = k(e, rt, "");
5390
+ const a = k(e, it, "");
5391
5391
  if (!a) return;
5392
5392
  const r = Ei(s, a, i);
5393
5393
  i && (r.length ? console.log(`Controller Swipers for selector "${a}":`, r) : console.error(`No controller swipers found for selector "${a}"`)), t.controller = {
5394
- by: Ce(e, sa, "slide"),
5394
+ by: Ie(e, sa, "slide"),
5395
5395
  control: r,
5396
5396
  inverse: D(e, ia, !1)
5397
5397
  };
@@ -5467,7 +5467,7 @@ function to(t, e) {
5467
5467
  e,
5468
5468
  za,
5469
5469
  "input, select, option, textarea, button, video, label"
5470
- ), t.followFinger = D(e, $a, !0), t.grabCursor = D(e, Ga, !1), t.longSwipes = D(e, Wa, !0), t.longSwipesMs = H(e, Ya, 300), t.longSwipesRatio = H(e, Xa, 0.5), t.noSwiping = D(e, Qa, !0), t.noSwipingClass = k(e, Ja, "swiper-no-swiping"), t.noSwipingSelector = k(e, er), t.preventClicks = D(e, lr, !0), t.preventClicksPropagation = D(e, or, !0), t.preventInteractionOnTransition = D(e, dr, !1), t.resistance = D(e, cr, !0), t.resistanceRatio = H(e, fr, 0.85), t.shortSwipes = D(e, gr, !0), t.simulateTouch = D(e, wr, !0), t.slideToClickedSlide = D(e, Ar, !1), t.threshold = H(e, zr, 5), t.touchAngle = H(e, $r, 45), t.touchEventsTarget = Ce(e, Gr, "wrapper"), t.touchMoveStopPropagation = D(e, Br, !1), t.touchRatio = H(e, kr, 1), t.touchReleaseOnEdges = D(e, Hr, !1), t.touchStartForcePreventDefault = D(e, Vr, !1), t.touchStartPreventDefault = D(e, Fr, !0);
5470
+ ), t.followFinger = D(e, $a, !0), t.grabCursor = D(e, Ga, !1), t.longSwipes = D(e, Wa, !0), t.longSwipesMs = H(e, Ya, 300), t.longSwipesRatio = H(e, Xa, 0.5), t.noSwiping = D(e, Qa, !0), t.noSwipingClass = k(e, Ja, "swiper-no-swiping"), t.noSwipingSelector = k(e, er), t.preventClicks = D(e, lr, !0), t.preventClicksPropagation = D(e, or, !0), t.preventInteractionOnTransition = D(e, dr, !1), t.resistance = D(e, cr, !0), t.resistanceRatio = H(e, fr, 0.85), t.shortSwipes = D(e, gr, !0), t.simulateTouch = D(e, wr, !0), t.slideToClickedSlide = D(e, Ar, !1), t.threshold = H(e, zr, 5), t.touchAngle = H(e, $r, 45), t.touchEventsTarget = Ie(e, Gr, "wrapper"), t.touchMoveStopPropagation = D(e, Br, !1), t.touchRatio = H(e, kr, 1), t.touchReleaseOnEdges = D(e, Hr, !1), t.touchStartForcePreventDefault = D(e, Vr, !1), t.touchStartPreventDefault = D(e, Fr, !0);
5471
5471
  }
5472
5472
  function so(t, e) {
5473
5473
  t.mousewheel = {
@@ -5508,30 +5508,30 @@ function lo(t, e) {
5508
5508
  enabled: D(e, Ml, !1)
5509
5509
  };
5510
5510
  }
5511
- console.log("🚿 Hello from Wellflow Waterfall v1.2.7");
5511
+ console.log("🚿 Hello from Wellflow Waterfall v1.2.8");
5512
5512
  const $e = [];
5513
5513
  window.waterfalls = $e;
5514
- function _t(t, e) {
5514
+ function ht(t, e) {
5515
5515
  let s = e;
5516
5516
  return document.querySelectorAll(t).forEach((i) => {
5517
5517
  xt(i, s++);
5518
5518
  }), s;
5519
5519
  }
5520
- let Ie = 0;
5521
- document.querySelectorAll(`[${Ee}]`).forEach((t) => {
5522
- t.hasAttribute(nt) || t.hasAttribute(rt) || xt(t, Ie++);
5520
+ let _e = 0;
5521
+ document.addEventListener("DOMContentLoaded", () => {
5522
+ document.querySelectorAll(`[${Te}]`).forEach((t) => {
5523
+ t.hasAttribute(at) || t.hasAttribute(it) || xt(t, _e++);
5524
+ }), _e = ht(`[${Te}][${at}]`, _e), _e = ht(`[${Te}][${it}]`, _e), Jl(), Xl(), Si();
5523
5525
  });
5524
- Ie = _t(`[${Ee}][${nt}]`, Ie);
5525
- Ie = _t(`[${Ee}][${rt}]`, Ie);
5526
5526
  function xt(t, e) {
5527
5527
  {
5528
- const s = k(t, Ee, `Swiper ${e}`);
5528
+ const s = k(t, Te, `Swiper ${e}`);
5529
5529
  if (!s) return;
5530
5530
  const i = !!D(t, bi, !1);
5531
5531
  i && console.warn(`Initializing Waterfall: ${s}`);
5532
5532
  let a = {};
5533
5533
  Yl(a, t), Gl(a, t), Hl(a, t), $l(a, t, s), Bl(a, t), kl(a, t), Fl(a, t), io(a, t), Wl(a, t), Ul(a, t, $e, i), ql(a, t), so(a, t), to(a, t), jl(a, t), Kl(a, t), Zl(a, t, $e, i), Ql(a, t), ao(a, t), no(a, t), eo(a, t), lo(a, t), ro(a, t), i && console.warn(a);
5534
- const r = bt(a), c = t.querySelector(".swiper");
5534
+ const r = yt(a), c = t.querySelector(".swiper");
5535
5535
  i && console.log("SWIPER: ", c);
5536
5536
  const d = c?.querySelectorAll(".swiper-slide") || [];
5537
5537
  if (i && console.log("SWIPER SLIDES: ", d), d.length === 0) {
@@ -5542,9 +5542,6 @@ function xt(t, e) {
5542
5542
  $e.push({ name: s, swiper: f });
5543
5543
  }
5544
5544
  }
5545
- Jl();
5546
- Xl();
5547
- Si();
5548
5545
  export {
5549
5546
  po as ATTR_A11Y,
5550
5547
  yi as ATTR_A11Y_CONTAINER_MESSAGE,
@@ -5577,7 +5574,7 @@ export {
5577
5574
  go as ATTR_CENTERED_SLIDES_BOUNDS,
5578
5575
  _a as ATTR_CENTER_INSUFFICIENT_SLIDES,
5579
5576
  La as ATTR_CONTAINER_MODIFIER_CLASS,
5580
- rt as ATTR_CONTROLLER,
5577
+ it as ATTR_CONTROLLER,
5581
5578
  sa as ATTR_CONTROLLER_BY,
5582
5579
  ia as ATTR_CONTROLLER_INVERSE,
5583
5580
  aa as ATTR_COVERFLOW_DEPTH,
@@ -5671,7 +5668,7 @@ export {
5671
5668
  En as ATTR_NAVIGATION_ENABLED,
5672
5669
  Sn as ATTR_NAVIGATION_HIDDEN_CLASS,
5673
5670
  bn as ATTR_NAVIGATION_HIDE_ON_CLICK,
5674
- yt as ATTR_NAVIGATION_LOCK_CLASS,
5671
+ At as ATTR_NAVIGATION_LOCK_CLASS,
5675
5672
  yn as ATTR_NAVIGATION_NAVIGATION_DISABLED_CLASS,
5676
5673
  Za as ATTR_NESTED,
5677
5674
  tr as ATTR_NORMALIZE_SLIDE_INDEX,
@@ -5749,7 +5746,7 @@ export {
5749
5746
  yr as ATTR_SLIDE_PREV_CLASS,
5750
5747
  Ar as ATTR_SLIDE_TO_CLICKED_SLIDE,
5751
5748
  _r as ATTR_SLIDE_VISIBLE_CLASS,
5752
- At as ATTR_SMOOTH_AUTOPLAY,
5749
+ _t as ATTR_SMOOTH_AUTOPLAY,
5753
5750
  Or as ATTR_SPACE_BETWEEN,
5754
5751
  Pr as ATTR_SPEED,
5755
5752
  Un as ATTR_STOP_ON_LAST_SLIDE,
@@ -5760,7 +5757,7 @@ export {
5760
5757
  Fi as ATTR_TABLET_SLIDES_PER_VIEW,
5761
5758
  Wi as ATTR_TABLET_SPACE_BETWEEN,
5762
5759
  zr as ATTR_THRESHOLD,
5763
- nt as ATTR_THUMBS,
5760
+ at as ATTR_THUMBS,
5764
5761
  fl as ATTR_THUMBS_AUTO_SCROLL_OFFSET,
5765
5762
  ml as ATTR_THUMBS_CONTAINER_CLASS,
5766
5763
  ul as ATTR_THUMBS_MULTIPLE_ACTIVE_THUMBS,
@@ -5780,7 +5777,7 @@ export {
5780
5777
  bo as ATTR_WAIT_FOR_TRANSITION,
5781
5778
  qr as ATTR_WATCH_OVERFLOW,
5782
5779
  jr as ATTR_WATCH_SLIDES_PROGRESS,
5783
- Ee as ATTR_WATERFALL,
5780
+ Te as ATTR_WATERFALL,
5784
5781
  fo as ATTR_WATERFALL_CONTENT,
5785
5782
  pe as ATTR_WATERFALL_ELEMENT,
5786
5783
  co as ATTR_WATERFALL_POSTLOAD,