aptechka 0.71.27 → 0.71.28

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
- var ci = Object.defineProperty;
2
- var qs = Object.getOwnPropertySymbols, li = Object.getPrototypeOf, ui = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, di = Reflect.get;
1
+ var li = Object.defineProperty;
2
+ var qs = Object.getOwnPropertySymbols, ci = Object.getPrototypeOf, ui = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, di = Reflect.get;
3
3
  var Us = (d) => {
4
4
  throw TypeError(d);
5
5
  };
6
- var Gs = (d, n, e) => n in d ? ci(d, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[n] = e, Ks = (d, n) => {
6
+ var Gs = (d, n, e) => n in d ? li(d, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[n] = e, Ks = (d, n) => {
7
7
  for (var e in n || (n = {}))
8
8
  ui.call(n, e) && Gs(d, e, n[e]);
9
9
  if (qs)
@@ -13,19 +13,19 @@ var Gs = (d, n, e) => n in d ? ci(d, n, { enumerable: !0, configurable: !0, writ
13
13
  };
14
14
  var ks = (d, n, e) => n.has(d) || Us("Cannot " + e);
15
15
  var t = (d, n, e) => (ks(d, n, "read from private field"), e ? e.call(d) : n.get(d)), i = (d, n, e) => n.has(d) ? Us("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(d) : n.set(d, e), r = (d, n, e, s) => (ks(d, n, "write to private field"), s ? s.call(d, e) : n.set(d, e), e), o = (d, n, e) => (ks(d, n, "access private method"), e);
16
- var Vs = (d, n, e) => di(li(d), e, n);
16
+ var Vs = (d, n, e) => di(ci(d), e, n);
17
17
  var zs = (d, n, e) => new Promise((s, h) => {
18
18
  var u = (C) => {
19
19
  try {
20
20
  v(e.next(C));
21
- } catch (le) {
22
- h(le);
21
+ } catch (ce) {
22
+ h(ce);
23
23
  }
24
24
  }, g = (C) => {
25
25
  try {
26
26
  v(e.throw(C));
27
- } catch (le) {
28
- h(le);
27
+ } catch (ce) {
28
+ h(ce);
29
29
  }
30
30
  }, v = (C) => C.done ? s(C.value) : Promise.resolve(C.value).then(u, g);
31
31
  v((e = e.apply(d, n)).next());
@@ -36,7 +36,7 @@ import { q as fi } from "../easings-BEmRlrDd.js";
36
36
  import { i as pi } from "../element-CGVl1jA-.js";
37
37
  import { d as st } from "../events-CsVF98U6.js";
38
38
  import { d as xs } from "../function-C10DGppn.js";
39
- import { a as cs, g as ls, c as bi } from "../layout-DpZo-I0y.js";
39
+ import { a as ls, g as cs, c as bi } from "../layout-DpZo-I0y.js";
40
40
  import { c as js, s as mi } from "../math-BOBiC4TN.js";
41
41
  import { p as Si, l as gi } from "../number-CumqY64S.js";
42
42
  import { c as Js } from "../stylesheet-DpnWNVyD.js";
@@ -46,18 +46,18 @@ import { D as Xs } from "../Damped-CtQmJ52v.js";
46
46
  import { T as vi } from "../Tweened-BlZB0vl4.js";
47
47
  import { W as yi, K as Ci, D as Pi, A as Ei } from "../DragControls-CkhCt-4W.js";
48
48
  import { windowResizer as pt } from "../window-resizer/index.js";
49
- import { scrollEntries as ce } from "../scroll-entries/index.js";
49
+ import { scrollEntries as le } from "../scroll-entries/index.js";
50
50
  import { cssUnitParser as Zs } from "../css-unit-parser/index.js";
51
- import { CSSProperty as c } from "../css-property/index.js";
51
+ import { CSSProperty as l } from "../css-property/index.js";
52
52
  import { d as wi } from "../Viewport-DA10iWAO.js";
53
53
  import "construct-style-sheets-polyfill";
54
54
  import { elementResizer as os } from "../element-resizer/index.js";
55
55
  import { s as xi } from "../gestures-CcXV6fCp.js";
56
56
  import { b as Li } from "../dom-CVWzyXPH.js";
57
- var p, Re, E, us, as, fe, bt, Dt, pe, Ot, Fe;
57
+ var p, Re, E, us, as, fe, bt, Ot, pe, Ht, Fe;
58
58
  class ki {
59
59
  constructor(n, e, s) {
60
- i(this, Ot);
60
+ i(this, Ht);
61
61
  i(this, p);
62
62
  i(this, Re);
63
63
  i(this, E);
@@ -65,9 +65,9 @@ class ki {
65
65
  i(this, as, 0);
66
66
  i(this, fe, 0);
67
67
  i(this, bt, 0);
68
- i(this, Dt, null);
68
+ i(this, Ot, null);
69
69
  i(this, pe, 0);
70
- r(this, p, n), r(this, Re, e), r(this, E, s), ce.register(t(this, p)), this.setIndex(t(this, Re));
70
+ r(this, p, n), r(this, Re, e), r(this, E, s), le.register(t(this, p)), this.setIndex(t(this, Re));
71
71
  }
72
72
  get element() {
73
73
  return t(this, p);
@@ -91,7 +91,7 @@ class ki {
91
91
  return t(this, pe);
92
92
  }
93
93
  destroy() {
94
- ce.unregister(t(this, p)), this.unsetTransform();
94
+ le.unregister(t(this, p)), this.unsetTransform();
95
95
  }
96
96
  unsetTransform() {
97
97
  t(this, p).style.transform = "", this.setMark(null), this.setIndex(null), this.setCurrentIndex(null), this.setCurrentIndexArc(null), this.setCurrentIndexArcAbs(null), this.setOffsetIndex(null), this.setMiddle(!1), this.setSize();
@@ -100,13 +100,13 @@ class ki {
100
100
  n ? (t(this, p).style.setProperty("--size", n + "px"), t(this, E).axisCSSProperty.current === "x" ? (t(this, p).style.width = n + "px", t(this, p).style.height = "") : (t(this, p).style.height = n + "px", t(this, p).style.width = "")) : (t(this, p).style.width = "", t(this, p).style.height = "", t(this, p).style.removeProperty("--size"));
101
101
  }
102
102
  resize() {
103
- r(this, us, t(this, p).offsetWidth), r(this, as, t(this, p).offsetHeight), r(this, fe, t(this, E).vertical ? t(this, p).offsetHeight : t(this, p).offsetWidth), r(this, bt, t(this, E).vertical ? cs(t(this, p)) : ls(t(this, p))), r(this, bt, t(this, bt) - t(this, E).contentPosition);
103
+ r(this, us, t(this, p).offsetWidth), r(this, as, t(this, p).offsetHeight), r(this, fe, t(this, E).vertical ? t(this, p).offsetHeight : t(this, p).offsetWidth), r(this, bt, t(this, E).vertical ? ls(t(this, p)) : cs(t(this, p))), r(this, bt, t(this, bt) - t(this, E).contentPosition);
104
104
  }
105
105
  transform() {
106
106
  const n = t(this, E).shiftSectionPositionCSSProperty.current;
107
107
  let e = n;
108
108
  const s = t(this, E).viewportSize * t(this, E).sectionDistanceScaleCSSProperty.current;
109
- t(this, E).loopCSSProperty.current && t(this, bt) + t(this, fe) <= t(this, E).currentScrollValue - n / 2 && (e = (t(this, E).distance - n) * -1 - t(this, E).gap), ce.update(
109
+ t(this, E).loopCSSProperty.current && t(this, bt) + t(this, fe) <= t(this, E).currentScrollValue - n / 2 && (e = (t(this, E).distance - n) * -1 - t(this, E).gap), le.update(
110
110
  t(this, p),
111
111
  t(this, E).axisCSSProperty.current,
112
112
  e
@@ -115,10 +115,10 @@ class ki {
115
115
  r(this, pe, v * -1), t(this, E).vertical ? t(this, p).style.transform = `translate3d(0px, ${t(this, pe)}px, 0px)` : t(this, p).style.transform = `translate3d(${t(this, pe)}px, 0px, 0px)`;
116
116
  }
117
117
  setMark(n) {
118
- t(this, Dt) !== n && (t(this, Dt) && t(this, p).classList.remove(t(this, Dt)), n && t(this, p).classList.add(n), r(this, Dt, n), st(t(this, p), "scrollSectionMarkChange", {
118
+ t(this, Ot) !== n && (t(this, Ot) && t(this, p).classList.remove(t(this, Ot)), n && t(this, p).classList.add(n), r(this, Ot, n), st(t(this, p), "scrollSectionMarkChange", {
119
119
  composed: !0,
120
120
  detail: {
121
- mark: t(this, Dt)
121
+ mark: t(this, Ot)
122
122
  },
123
123
  custom: !0
124
124
  }));
@@ -127,22 +127,22 @@ class ki {
127
127
  t(this, p).classList.toggle("middle", n);
128
128
  }
129
129
  setIndex(n) {
130
- o(this, Ot, Fe).call(this, "index", n);
130
+ o(this, Ht, Fe).call(this, "index", n);
131
131
  }
132
132
  setCurrentIndex(n) {
133
- o(this, Ot, Fe).call(this, "current-index", n);
133
+ o(this, Ht, Fe).call(this, "current-index", n);
134
134
  }
135
135
  setCurrentIndexArc(n) {
136
- o(this, Ot, Fe).call(this, "current-index-arc", n);
136
+ o(this, Ht, Fe).call(this, "current-index-arc", n);
137
137
  }
138
138
  setOffsetIndex(n) {
139
- o(this, Ot, Fe).call(this, "offset-index", n);
139
+ o(this, Ht, Fe).call(this, "offset-index", n);
140
140
  }
141
141
  setCurrentIndexArcAbs(n) {
142
- o(this, Ot, Fe).call(this, "current-index-arc-abs", n);
142
+ o(this, Ht, Fe).call(this, "current-index-arc-abs", n);
143
143
  }
144
144
  }
145
- p = new WeakMap(), Re = new WeakMap(), E = new WeakMap(), us = new WeakMap(), as = new WeakMap(), fe = new WeakMap(), bt = new WeakMap(), Dt = new WeakMap(), pe = new WeakMap(), Ot = new WeakSet(), Fe = function(n, e) {
145
+ p = new WeakMap(), Re = new WeakMap(), E = new WeakMap(), us = new WeakMap(), as = new WeakMap(), fe = new WeakMap(), bt = new WeakMap(), Ot = new WeakMap(), pe = new WeakMap(), Ht = new WeakSet(), Fe = function(n, e) {
146
146
  e !== null ? (t(this, p).style.setProperty(`--${n}`, e.toString()), t(this, p).setAttribute(`data-${n}`, e.toString())) : (t(this, p).style.removeProperty(`--${n}`), t(this, p).removeAttribute(`data-${n}`));
147
147
  };
148
148
  const Vi = Js({
@@ -184,91 +184,91 @@ const Vi = Js({
184
184
  flexShrink: "0"
185
185
  }
186
186
  });
187
- var f, be, D, Ht, mt, St, gt, J, $t, Bt, vt, Wt, me, Q, V, Se, ge, ve, ye, De, Ce, X, Pe, Nt, Y, qt, yt, Ee, Gt, we, xe, Ut, Kt, Zt, b, Oe, G, a, ds, fs, L, P, U, it, jt, rt, F, z, He, Ct, Pt, Et, K, $e, Jt, Qt, Le, ht, A, Be, wt, ke, We, l, Is, hs, Te, Es, ws, Ms, Fs, T, ps, Ys, Ne, bs, Ts, Rs, ae, _s, ms, ns, qe;
187
+ var f, be, D, $t, mt, St, gt, J, Bt, Wt, vt, Nt, me, Q, V, Se, ge, ve, ye, De, Ce, X, Pe, qt, Y, yt, Ct, Ee, Gt, we, xe, Ut, Kt, Zt, b, Oe, G, a, ds, fs, L, P, U, it, jt, rt, F, z, He, Pt, Et, wt, K, $e, Jt, Qt, Le, ht, A, Be, xt, ke, We, c, Is, hs, Te, Es, ws, Ms, Fs, T, ps, Ys, Ne, bs, Ts, Rs, ae, _s, ms, ns, qe;
188
188
  class As extends HTMLElement {
189
189
  constructor() {
190
190
  super();
191
- i(this, l);
191
+ i(this, c);
192
192
  i(this, f, null);
193
- i(this, be, new c(this, "--controls", !0));
194
- i(this, D, new c(this, "--axis", "y"));
195
- i(this, Ht, new c(this, "--reverse", !1));
196
- i(this, mt, new c(this, "--direction", 0));
197
- i(this, St, new c(this, "--pages", 0, {
193
+ i(this, be, new l(this, "--controls", !0));
194
+ i(this, D, new l(this, "--axis", "y"));
195
+ i(this, $t, new l(this, "--reverse", !1));
196
+ i(this, mt, new l(this, "--direction", 0));
197
+ i(this, St, new l(this, "--pages", 0, {
198
198
  validate: (e) => Math.max(0, e - 1)
199
199
  }));
200
- i(this, gt, new c(this, "--split", !1));
201
- i(this, J, new c(this, "--sectional", !1));
202
- i(this, $t, new c(
200
+ i(this, gt, new l(this, "--split", !1));
201
+ i(this, J, new l(this, "--sectional", !1));
202
+ i(this, Bt, new l(
203
203
  this,
204
204
  "--tween-easing",
205
205
  !1
206
206
  ));
207
- i(this, Bt, new c(
207
+ i(this, Wt, new l(
208
208
  this,
209
209
  "--tween-duration",
210
210
  !1
211
211
  ));
212
- i(this, vt, new c(this, "--auto-size", !1));
213
- i(this, Wt, new c(
212
+ i(this, vt, new l(this, "--auto-size", !1));
213
+ i(this, Nt, new l(
214
214
  this,
215
215
  "--wheel-max-delta",
216
216
  !1
217
217
  ));
218
- i(this, me, new c(this, "--drag-inertion", 1));
219
- i(this, Q, new c(
218
+ i(this, me, new l(this, "--drag-inertion", 1));
219
+ i(this, Q, new l(
220
220
  this,
221
221
  "--sections-in-view",
222
222
  1
223
223
  ));
224
- i(this, V, new c(this, "--loop", !1));
225
- i(this, Se, new c(this, "--damping", 20));
226
- i(this, ge, new c(this, "--mass", 0));
227
- i(this, ve, new c(this, "--stiffness", 0));
228
- i(this, ye, new c(this, "--mouse-drag", !1));
229
- i(this, De, new c(
224
+ i(this, V, new l(this, "--loop", !1));
225
+ i(this, Se, new l(this, "--damping", 20));
226
+ i(this, ge, new l(this, "--mass", 0));
227
+ i(this, ve, new l(this, "--stiffness", 0));
228
+ i(this, ye, new l(this, "--mouse-drag", !1));
229
+ i(this, De, new l(
230
230
  this,
231
231
  "--section-distance-scale",
232
232
  0.5
233
233
  ));
234
- i(this, Ce, new c(this, "--start-section", 0));
235
- i(this, X, new c(this, "--autoplay", 0));
236
- i(this, Pe, new c(
234
+ i(this, Ce, new l(this, "--start-section", 0));
235
+ i(this, X, new l(this, "--autoplay", 0));
236
+ i(this, Pe, new l(
237
237
  this,
238
238
  "--autoplay-pause-duration",
239
239
  0
240
240
  ));
241
- i(this, Nt, new c(
241
+ i(this, qt, new l(
242
242
  this,
243
243
  "--autoplay-user-direction",
244
244
  !1
245
245
  ));
246
- i(this, Y, new c(this, "--classes", !1));
247
- i(this, qt, new c(
246
+ i(this, Y, new l(this, "--classes", !1));
247
+ i(this, yt, new l(
248
248
  this,
249
249
  "--current-index-start-offset",
250
250
  0
251
251
  ));
252
- i(this, yt, new c(
252
+ i(this, Ct, new l(
253
253
  this,
254
254
  "--current-index-end-offset",
255
255
  0
256
256
  ));
257
- i(this, Ee, new c(
257
+ i(this, Ee, new l(
258
258
  this,
259
259
  "--shift-section-position",
260
260
  0,
261
261
  { rawValueCheck: !1 }
262
262
  ));
263
- i(this, Gt, new c(this, "--focus-delay", 0));
264
- i(this, we, new c(
263
+ i(this, Gt, new l(this, "--focus-delay", 0));
264
+ i(this, we, new l(
265
265
  this,
266
266
  "--focus-duration",
267
267
  3e3
268
268
  ));
269
- i(this, xe, new c(this, "--shift-limit", 0));
270
- i(this, Ut, new c(this, "--disabled", !1));
271
- i(this, Kt, new c(this, "--hibernate", !1));
269
+ i(this, xe, new l(this, "--shift-limit", 0));
270
+ i(this, Ut, new l(this, "--disabled", !1));
271
+ i(this, Kt, new l(this, "--hibernate", !1));
272
272
  i(this, Zt, null);
273
273
  i(this, b, null);
274
274
  i(this, Oe, null);
@@ -285,9 +285,9 @@ class As extends HTMLElement {
285
285
  i(this, F, null);
286
286
  i(this, z, new ue(0));
287
287
  i(this, He, 0);
288
- i(this, Ct, 0);
289
- i(this, Pt, !1);
290
- i(this, Et, !0);
288
+ i(this, Pt, 0);
289
+ i(this, Et, !1);
290
+ i(this, wt, !0);
291
291
  i(this, K, !0);
292
292
  i(this, $e);
293
293
  i(this, Jt);
@@ -296,7 +296,7 @@ class As extends HTMLElement {
296
296
  i(this, ht, null);
297
297
  i(this, A, !1);
298
298
  i(this, Be, null);
299
- i(this, wt, []);
299
+ i(this, xt, []);
300
300
  i(this, ke, !1);
301
301
  i(this, We);
302
302
  i(this, T, (e) => {
@@ -307,23 +307,23 @@ class As extends HTMLElement {
307
307
  this.resize();
308
308
  });
309
309
  i(this, ps, () => {
310
- if (!t(this, Pt) || t(this, K) || t(this, Et))
310
+ if (!t(this, Et) || t(this, K) || t(this, wt))
311
311
  return;
312
312
  const e = this.currentScrollValue;
313
313
  if (r(this, He, Math.max(0, e - t(this, P))), t(this, a).length) {
314
314
  for (let s = 0; s < t(this, G).length; s++)
315
315
  t(this, G)[s].transform();
316
- t(this, J).current || (t(this, z).current = o(this, l, ns).call(this));
316
+ t(this, J).current || (t(this, z).current = o(this, c, ns).call(this));
317
317
  } else
318
318
  this.vertical ? t(this, b).style.transform = `translate3d(0px, ${e * -1}px, 0px)` : t(this, b).style.transform = `translate3d(${e * -1}px, 0px, 0px)`;
319
- o(this, l, _s).call(this), ce.update(
319
+ o(this, c, _s).call(this), le.update(
320
320
  this,
321
321
  t(this, D).current,
322
322
  e
323
323
  );
324
324
  });
325
325
  i(this, Ne, (e, s) => {
326
- t(this, be).current && (o(this, l, Ts).call(this, Math.sign(s) || 1), t(this, bs).call(this, e, s));
326
+ t(this, be).current && (o(this, c, Ts).call(this, Math.sign(s) || 1), t(this, bs).call(this, e, s));
327
327
  });
328
328
  i(this, bs, (e, s) => {
329
329
  if (!t(this, Jt)) {
@@ -334,7 +334,7 @@ class As extends HTMLElement {
334
334
  return;
335
335
  }
336
336
  if (!t(this, X).current && t(this, Gt).current && (clearInterval(t(this, $e)), r(this, $e, setTimeout(() => {
337
- const h = t(this, a)[o(this, l, ns).call(this)];
337
+ const h = t(this, a)[o(this, c, ns).call(this)];
338
338
  h && this.scrollToSection(h.index, {
339
339
  tween: {
340
340
  duration: t(this, we).current,
@@ -346,12 +346,12 @@ class As extends HTMLElement {
346
346
  const h = Math.sign(s);
347
347
  if (t(this, a).length) {
348
348
  const u = {
349
- tween: t(this, $t).current || t(this, Bt).current ? {
350
- easing: t(this, $t).current || "easeInOutCubic",
351
- duration: t(this, Bt).current || 500
349
+ tween: t(this, Bt).current || t(this, Wt).current ? {
350
+ easing: t(this, Bt).current || "easeInOutCubic",
351
+ duration: t(this, Wt).current || 500
352
352
  } : void 0
353
353
  };
354
- t(this, Le) ? this.scrollToSection(o(this, l, ns).call(this, !0), u) : this.shiftSections(h, u);
354
+ t(this, Le) ? this.scrollToSection(o(this, c, ns).call(this, !0), u) : this.shiftSections(h, u);
355
355
  } else
356
356
  t(this, f).shift(h * t(this, L));
357
357
  } else
@@ -361,7 +361,7 @@ class As extends HTMLElement {
361
361
  }
362
362
  });
363
363
  i(this, ms, xs(() => {
364
- const e = t(this, wt).reduce((s, h) => {
364
+ const e = t(this, xt).reduce((s, h) => {
365
365
  const u = this.vertical ? h.width : h.height;
366
366
  return u > s ? u : s;
367
367
  }, 0);
@@ -370,7 +370,7 @@ class As extends HTMLElement {
370
370
  }, 10));
371
371
  }, 20));
372
372
  i(this, qe, () => {
373
- r(this, A, !0), this.hibernatedCSSProperty.current || o(this, l, Fs).call(this), os.subscribe(this, t(this, T)), pt.unsubscribe(t(this, qe));
373
+ r(this, A, !0), this.hibernatedCSSProperty.current || o(this, c, Fs).call(this), os.subscribe(this, t(this, T)), pt.unsubscribe(t(this, qe));
374
374
  });
375
375
  if (q) {
376
376
  const e = this.attachShadow({ mode: "open" });
@@ -393,7 +393,7 @@ class As extends HTMLElement {
393
393
  return t(this, D);
394
394
  }
395
395
  get reverseCSSProperty() {
396
- return t(this, Ht);
396
+ return t(this, $t);
397
397
  }
398
398
  get directionCSSProperty() {
399
399
  return t(this, mt);
@@ -408,16 +408,16 @@ class As extends HTMLElement {
408
408
  return t(this, J);
409
409
  }
410
410
  get easingCSSProperty() {
411
- return t(this, $t);
411
+ return t(this, Bt);
412
412
  }
413
413
  get durationCSSProperty() {
414
- return t(this, Bt);
414
+ return t(this, Wt);
415
415
  }
416
416
  get autoSizeCSSProperty() {
417
417
  return t(this, vt);
418
418
  }
419
419
  get wheelMaxDeltaCSSProperty() {
420
- return t(this, Wt);
420
+ return t(this, Nt);
421
421
  }
422
422
  get dragInertionCSSProperty() {
423
423
  return t(this, me);
@@ -453,16 +453,16 @@ class As extends HTMLElement {
453
453
  return t(this, Pe);
454
454
  }
455
455
  get autoplayUserDirectionCSSProperty() {
456
- return t(this, Nt);
456
+ return t(this, qt);
457
457
  }
458
458
  get classesCSSProperty() {
459
459
  return t(this, Y);
460
460
  }
461
461
  get currentIndexStartOffsetCSSProperty() {
462
- return t(this, qt);
462
+ return t(this, yt);
463
463
  }
464
464
  get currentIndexEndOffsetCSSProperty() {
465
- return t(this, yt);
465
+ return t(this, Ct);
466
466
  }
467
467
  get shiftSectionPositionCSSProperty() {
468
468
  return t(this, Ee);
@@ -483,10 +483,10 @@ class As extends HTMLElement {
483
483
  return t(this, Kt);
484
484
  }
485
485
  get currentScrollValue() {
486
- return o(this, l, Rs).call(this, "current");
486
+ return o(this, c, Rs).call(this, "current");
487
487
  }
488
488
  get targetScrollValue() {
489
- return o(this, l, Rs).call(this, "target");
489
+ return o(this, c, Rs).call(this, "target");
490
490
  }
491
491
  get contentWrapperElement() {
492
492
  return t(this, Zt);
@@ -524,13 +524,13 @@ class As extends HTMLElement {
524
524
  );
525
525
  }
526
526
  get distance() {
527
- return t(this, Ct);
527
+ return t(this, Pt);
528
528
  }
529
529
  get loopDistance() {
530
- return t(this, V).current ? t(this, Ct) + t(this, U) : t(this, Ct);
530
+ return t(this, V).current ? t(this, Pt) + t(this, U) : t(this, Pt);
531
531
  }
532
532
  get hasOverflow() {
533
- return t(this, Pt);
533
+ return t(this, Et);
534
534
  }
535
535
  get overscroll() {
536
536
  return t(this, He);
@@ -554,7 +554,7 @@ class As extends HTMLElement {
554
554
  return t(this, D).current === "x" ? 0 : t(this, f).distance;
555
555
  }
556
556
  tryResplit() {
557
- !t(this, K) && (t(this, V).current || t(this, gt).current || t(this, V).current || t(this, vt).current || t(this, J).current) && o(this, l, hs).call(this);
557
+ !t(this, K) && (t(this, V).current || t(this, gt).current || t(this, V).current || t(this, vt).current || t(this, J).current) && o(this, c, hs).call(this);
558
558
  }
559
559
  onScroll(...e) {
560
560
  return t(this, f).subscribe(...e);
@@ -577,12 +577,12 @@ class As extends HTMLElement {
577
577
  scrollToSection(e, s) {
578
578
  if (!t(this, a).length || t(this, K))
579
579
  return;
580
- const h = t(this, z).current, u = o(this, l, Ys).call(this, e);
580
+ const h = t(this, z).current, u = o(this, c, Ys).call(this, e);
581
581
  t(this, z).current = u;
582
582
  const g = t(this, a)[h], v = t(this, a)[u];
583
583
  if (g && v) {
584
584
  let C = 0;
585
- const le = o(this, l, ns).call(this), Me = t(this, a)[le];
585
+ const ce = o(this, c, ns).call(this), Me = t(this, a)[ce];
586
586
  let rs = Me ? this.targetScrollValue - Me.position : 0;
587
587
  t(this, V).current ? u === 0 && h === t(this, a).length - 1 ? (C = t(this, P) + t(this, L) - g.position + t(this, U), t(this, Le) || (rs = 0)) : u === t(this, a).length - 1 && h === 0 ? C = v.position - (t(this, P) + t(this, L) + t(this, U)) : C = v.position - g.position : C = v.position - g.position, this.shiftPosition(C - rs, s);
588
588
  }
@@ -591,7 +591,7 @@ class As extends HTMLElement {
591
591
  t(this, a).length && this.scrollToSection(t(this, z).current + e, s);
592
592
  }
593
593
  setPosition(e, s) {
594
- t(this, K) || (o(this, l, Ts).call(this, Math.sign(e) || 1), s != null && s.tween ? (clearTimeout(t(this, Jt)), t(this, Qt).set(t(this, f).current, { equalize: !0 }), t(this, Qt).set(Math.min(e, this.distance), Ks({}, s.tween)), r(this, Jt, setTimeout(() => {
594
+ t(this, K) || (o(this, c, Ts).call(this, Math.sign(e) || 1), s != null && s.tween ? (clearTimeout(t(this, Jt)), t(this, Qt).set(t(this, f).current, { equalize: !0 }), t(this, Qt).set(e, Ks({}, s.tween)), r(this, Jt, setTimeout(() => {
595
595
  r(this, Jt, void 0);
596
596
  }, s.tween.duration || 0))) : t(this, f).set(e, {
597
597
  equalize: (s == null ? void 0 : s.behaviour) === "instant"
@@ -610,7 +610,7 @@ class As extends HTMLElement {
610
610
  t(this, a).length.toString()
611
611
  ), t(this, f).unlistenAnimationFrame();
612
612
  const e = this.currentScrollValue / t(this, P) || 0, s = t(this, z).current;
613
- if (r(this, ds, this.vertical ? cs(this) : ls(this)), r(this, fs, this.vertical ? cs(t(this, b)) : ls(t(this, b))), r(this, L, this.vertical ? this.offsetHeight : this.offsetWidth), this.vertical ? r(this, U, Zs.parse(
613
+ if (r(this, ds, this.vertical ? ls(this) : cs(this)), r(this, fs, this.vertical ? ls(t(this, b)) : cs(t(this, b))), r(this, L, this.vertical ? this.offsetHeight : this.offsetWidth), this.vertical ? r(this, U, Zs.parse(
614
614
  getComputedStyle(t(this, b)).rowGap
615
615
  )) : r(this, U, Zs.parse(
616
616
  getComputedStyle(t(this, b)).columnGap
@@ -637,9 +637,9 @@ class As extends HTMLElement {
637
637
  }
638
638
  if (t(this, V).current && t(this, a).length) {
639
639
  const h = t(this, a)[t(this, a).length - 1], u = h.position + h.size - t(this, L), g = t(this, P) - u;
640
- r(this, Ct, h.position + h.size + g);
640
+ r(this, Pt, h.position + h.size + g);
641
641
  } else
642
- r(this, Ct, t(this, P));
642
+ r(this, Pt, t(this, P));
643
643
  if (t(this, J).current && t(this, a).length) {
644
644
  const h = t(this, a)[s];
645
645
  t(this, f).set(h.position, {
@@ -649,10 +649,10 @@ class As extends HTMLElement {
649
649
  t(this, f).set(e * t(this, P), {
650
650
  equalize: !0
651
651
  });
652
- r(this, Pt, (this.vertical ? t(this, b).offsetHeight : t(this, b).offsetWidth) > t(this, L)), this.classList.toggle("has-overflow", t(this, Pt)), t(this, Pt) ? t(this, Ut).current || o(this, l, ws).call(this) : o(this, l, Es).call(this), t(this, ms).call(this), st(this, "scrollResize", { custom: !0 }), t(this, f).notify();
652
+ r(this, Et, (this.vertical ? t(this, b).offsetHeight : t(this, b).offsetWidth) > t(this, L)), this.classList.toggle("has-overflow", t(this, Et)), t(this, Et) ? t(this, Ut).current || o(this, c, ws).call(this) : o(this, c, Es).call(this), t(this, ms).call(this), st(this, "scrollResize", { custom: !0 }), t(this, f).notify();
653
653
  }
654
654
  connectedCallback() {
655
- ce.register(this), r(this, f, new Xs(0, {
655
+ le.register(this), r(this, f, new Xs(0, {
656
656
  damping: 0.01,
657
657
  min: 0,
658
658
  order: Qs.SCROLL
@@ -666,25 +666,25 @@ class As extends HTMLElement {
666
666
  })), t(this, rt).changeEvent.subscribe(t(this, Ne)), r(this, F, new Ei({
667
667
  culling: this
668
668
  })), t(this, F).changeEvent.subscribe(t(this, bs)), t(this, D).subscribe(() => {
669
- o(this, l, Is).call(this);
670
- }), t(this, Ht).subscribe(() => {
671
- o(this, l, Is).call(this);
672
- }), t(this, Wt).subscribe((e) => {
669
+ o(this, c, Is).call(this);
670
+ }), t(this, $t).subscribe(() => {
671
+ o(this, c, Is).call(this);
672
+ }), t(this, Nt).subscribe((e) => {
673
673
  t(this, it).axis = e.current ? "max" : t(this, D).current;
674
674
  }), t(this, me).subscribe((e) => {
675
675
  t(this, rt).inertion = typeof e.current == "number" ? e.current : 1;
676
676
  }), t(this, St).subscribe(() => {
677
677
  t(this, A) && t(this, T).call(this);
678
678
  }), t(this, gt).subscribe(({ current: e }) => {
679
- t(this, A) && (e ? o(this, l, hs).call(this) : o(this, l, Te).call(this));
679
+ t(this, A) && (e ? o(this, c, hs).call(this) : o(this, c, Te).call(this));
680
680
  }), t(this, J).subscribe((e) => {
681
- t(this, it).debounce = e.current, t(this, rt).swipe = e.current, t(this, F).interval = e.current, t(this, A) && (e.current && !e.previous && !t(this, a).length ? o(this, l, hs).call(this) : !e.current && e.previous && t(this, a).length && o(this, l, Te).call(this));
681
+ t(this, it).debounce = e.current, t(this, rt).swipe = e.current, t(this, F).interval = e.current, t(this, A) && (e.current && !e.previous && !t(this, a).length ? o(this, c, hs).call(this) : !e.current && e.previous && t(this, a).length && o(this, c, Te).call(this));
682
682
  }), t(this, vt).subscribe((e) => {
683
- t(this, A) && (t(this, T).call(this), e.current && !e.previous && !t(this, a).length ? o(this, l, hs).call(this) : !e.current && e.previous && t(this, a).length && o(this, l, Te).call(this));
683
+ t(this, A) && (t(this, T).call(this), e.current && !e.previous && !t(this, a).length ? o(this, c, hs).call(this) : !e.current && e.previous && t(this, a).length && o(this, c, Te).call(this));
684
684
  }), t(this, Q).subscribe((e) => {
685
- t(this, A) && (t(this, T).call(this), o(this, l, ae).call(this));
685
+ t(this, A) && (t(this, T).call(this), o(this, c, ae).call(this));
686
686
  }), t(this, V).subscribe((e) => {
687
- e.current ? (t(this, A) && (t(this, a).length || (t(this, gt).current = !0)), t(this, f).max = 1 / 0, t(this, f).min = -1 / 0) : (r(this, He, 0), t(this, f).max = t(this, P), t(this, f).min = 0);
687
+ e.current ? (t(this, A) && (t(this, a).length || (t(this, gt).current = !0)), t(this, f).max = 1 / 0, t(this, f).min = -1 / 0) : (r(this, He, 0), t(this, f).max = t(this, P), t(this, f).min = 0), this.classList.toggle("loop", !!e.current);
688
688
  }), t(this, Se).subscribe((e) => {
689
689
  t(this, f).damping = e.current;
690
690
  }), t(this, ge).subscribe((e) => {
@@ -692,43 +692,43 @@ class As extends HTMLElement {
692
692
  }), t(this, ve).subscribe((e) => {
693
693
  t(this, f).stiffness = e.current;
694
694
  }), t(this, X).subscribe((e) => {
695
- t(this, F).speed = e.current, !t(this, Et) && e.current && !e.previous ? t(this, F).connect() : !e.current && e.previous && t(this, F).disconnect();
696
- }), t(this, Nt).subscribe((e) => {
695
+ t(this, F).speed = e.current, !t(this, wt) && e.current && !e.previous ? t(this, F).connect() : !e.current && e.previous && t(this, F).disconnect();
696
+ }), t(this, qt).subscribe((e) => {
697
697
  e.current || (t(this, F).direction = 1);
698
698
  }), t(this, Y).subscribe((e) => {
699
- t(this, A) && o(this, l, ae).call(this);
700
- }), t(this, qt).subscribe((e) => {
701
- t(this, A) && t(this, Y).current && o(this, l, ae).call(this);
699
+ t(this, A) && o(this, c, ae).call(this);
702
700
  }), t(this, yt).subscribe((e) => {
703
- t(this, A) && t(this, Y).current && o(this, l, ae).call(this);
701
+ t(this, A) && t(this, Y).current && o(this, c, ae).call(this);
702
+ }), t(this, Ct).subscribe((e) => {
703
+ t(this, A) && t(this, Y).current && o(this, c, ae).call(this);
704
704
  }), t(this, Ee).subscribe((e) => {
705
705
  t(this, A) && t(this, f).notify();
706
706
  }), t(this, f).isRunning.subscribe((e) => {
707
707
  this.classList.toggle("active", e.current);
708
708
  }), t(this, z).subscribe((e) => {
709
- t(this, K) || (t(this, a).length && o(this, l, ae).call(this), this.style.setProperty("--counter", e.current + ""));
709
+ t(this, K) || (t(this, a).length && o(this, c, ae).call(this), this.style.setProperty("--counter", e.current + ""));
710
710
  }), t(this, Qt).subscribe((e) => {
711
711
  t(this, Qt).isRunning.current && t(this, f).set(e.current, { equalize: !0 });
712
712
  }), t(this, Ut).subscribe((e) => {
713
- e.current && !e.previous ? (this.classList.add("disabled"), o(this, l, Es).call(this)) : !e.current && e.previous && (this.classList.remove("disabled"), o(this, l, ws).call(this));
713
+ e.current && !e.previous ? (this.classList.add("disabled"), o(this, c, Es).call(this)) : !e.current && e.previous && (this.classList.remove("disabled"), o(this, c, ws).call(this));
714
714
  }), t(this, Kt).subscribe((e) => {
715
- e.current && !e.previous ? (this.classList.add("hibernated"), o(this, l, Ms).call(this)) : !e.current && e.previous && (this.classList.remove("hibernated"), o(this, l, Fs).call(this));
716
- }), t(this, be).observe(), t(this, D).observe(), t(this, Ht).observe(), t(this, mt).observe(), t(this, St).observe(), t(this, gt).observe(), t(this, J).observe(), t(this, $t).observe(), t(this, Bt).observe(), t(this, vt).observe(), t(this, Wt).observe(), t(this, me).observe(), t(this, Q).observe(), t(this, V).observe(), t(this, Se).observe(), t(this, ge).observe(), t(this, ve).observe(), t(this, ye).observe(), t(this, De).observe(), t(this, Ce).observe(), t(this, X).observe(), t(this, X).observe(), t(this, Pe).observe(), t(this, Nt).observe(), t(this, Y).observe(), t(this, qt).observe(), t(this, yt).observe(), t(this, Ee).observe(), t(this, Gt).observe(), t(this, we).observe(), t(this, xe).observe(), t(this, Ut).observe(), t(this, Kt).observe(), pt.subscribe(t(this, qe), Ls.LAST), t(this, Be).observe(this, { childList: !0 });
715
+ e.current && !e.previous ? (this.classList.add("hibernated"), o(this, c, Ms).call(this)) : !e.current && e.previous && (this.classList.remove("hibernated"), o(this, c, Fs).call(this));
716
+ }), t(this, be).observe(), t(this, D).observe(), t(this, $t).observe(), t(this, mt).observe(), t(this, St).observe(), t(this, gt).observe(), t(this, J).observe(), t(this, Bt).observe(), t(this, Wt).observe(), t(this, vt).observe(), t(this, Nt).observe(), t(this, me).observe(), t(this, Q).observe(), t(this, V).observe(), t(this, Se).observe(), t(this, ge).observe(), t(this, ve).observe(), t(this, ye).observe(), t(this, De).observe(), t(this, Ce).observe(), t(this, X).observe(), t(this, X).observe(), t(this, Pe).observe(), t(this, qt).observe(), t(this, Y).observe(), t(this, yt).observe(), t(this, Ct).observe(), t(this, Ee).observe(), t(this, Gt).observe(), t(this, we).observe(), t(this, xe).observe(), t(this, Ut).observe(), t(this, Kt).observe(), pt.subscribe(t(this, qe), Ls.LAST), t(this, Be).observe(this, { childList: !0 });
717
717
  }
718
718
  disconnectedCallback() {
719
- this.removeAttribute("tabindex"), this.classList.remove("disabled"), this.classList.remove("hibernated"), t(this, be).unobserve(), t(this, D).unobserve(), t(this, Ht).unobserve(), t(this, mt).unobserve(), t(this, St).unobserve(), t(this, gt).unobserve(), t(this, J).unobserve(), t(this, $t).unobserve(), t(this, Bt).unobserve(), t(this, vt).unobserve(), t(this, Wt).unobserve(), t(this, me).unobserve(), t(this, Q).unobserve(), t(this, V).unobserve(), t(this, Se).unobserve(), t(this, ge).unobserve(), t(this, ve).unobserve(), t(this, ye).unobserve(), t(this, De).unobserve(), t(this, Ce).unobserve(), t(this, X).unobserve(), t(this, Pe).unobserve(), t(this, Nt).unobserve(), t(this, Y).unobserve(), t(this, qt).unobserve(), t(this, yt).unobserve(), t(this, Ee).unobserve(), t(this, Gt).unobserve(), t(this, we).unobserve(), t(this, xe).unobserve(), t(this, Ut).unobserve(), t(this, Kt).unobserve(), pt.unsubscribe(t(this, qe)), pt.unsubscribe(t(this, T)), os.unsubscribe(t(this, T)), o(this, l, Ms).call(this), t(this, Be).disconnect();
719
+ this.removeAttribute("tabindex"), this.classList.remove("disabled"), this.classList.remove("hibernated"), t(this, be).unobserve(), t(this, D).unobserve(), t(this, $t).unobserve(), t(this, mt).unobserve(), t(this, St).unobserve(), t(this, gt).unobserve(), t(this, J).unobserve(), t(this, Bt).unobserve(), t(this, Wt).unobserve(), t(this, vt).unobserve(), t(this, Nt).unobserve(), t(this, me).unobserve(), t(this, Q).unobserve(), t(this, V).unobserve(), t(this, Se).unobserve(), t(this, ge).unobserve(), t(this, ve).unobserve(), t(this, ye).unobserve(), t(this, De).unobserve(), t(this, Ce).unobserve(), t(this, X).unobserve(), t(this, Pe).unobserve(), t(this, qt).unobserve(), t(this, Y).unobserve(), t(this, yt).unobserve(), t(this, Ct).unobserve(), t(this, Ee).unobserve(), t(this, Gt).unobserve(), t(this, we).unobserve(), t(this, xe).unobserve(), t(this, Ut).unobserve(), t(this, Kt).unobserve(), pt.unsubscribe(t(this, qe)), pt.unsubscribe(t(this, T)), os.unsubscribe(t(this, T)), o(this, c, Ms).call(this), t(this, Be).disconnect();
720
720
  }
721
721
  }
722
- f = new WeakMap(), be = new WeakMap(), D = new WeakMap(), Ht = new WeakMap(), mt = new WeakMap(), St = new WeakMap(), gt = new WeakMap(), J = new WeakMap(), $t = new WeakMap(), Bt = new WeakMap(), vt = new WeakMap(), Wt = new WeakMap(), me = new WeakMap(), Q = new WeakMap(), V = new WeakMap(), Se = new WeakMap(), ge = new WeakMap(), ve = new WeakMap(), ye = new WeakMap(), De = new WeakMap(), Ce = new WeakMap(), X = new WeakMap(), Pe = new WeakMap(), Nt = new WeakMap(), Y = new WeakMap(), qt = new WeakMap(), yt = new WeakMap(), Ee = new WeakMap(), Gt = new WeakMap(), we = new WeakMap(), xe = new WeakMap(), Ut = new WeakMap(), Kt = new WeakMap(), Zt = new WeakMap(), b = new WeakMap(), Oe = new WeakMap(), G = new WeakMap(), a = new WeakMap(), ds = new WeakMap(), fs = new WeakMap(), L = new WeakMap(), P = new WeakMap(), U = new WeakMap(), it = new WeakMap(), jt = new WeakMap(), rt = new WeakMap(), F = new WeakMap(), z = new WeakMap(), He = new WeakMap(), Ct = new WeakMap(), Pt = new WeakMap(), Et = new WeakMap(), K = new WeakMap(), $e = new WeakMap(), Jt = new WeakMap(), Qt = new WeakMap(), Le = new WeakMap(), ht = new WeakMap(), A = new WeakMap(), Be = new WeakMap(), wt = new WeakMap(), ke = new WeakMap(), We = new WeakMap(), l = new WeakSet(), Is = function() {
723
- const e = t(this, D).current, s = t(this, Ht).current ? "-reverse" : "";
724
- t(this, b).style.flexDirection = e === "x" ? `row${s}` : `column${s}`, t(this, it).axis = t(this, Wt).current ? "max" : e, t(this, jt).dimension = e === "x" ? "width" : "height", t(this, rt).axis = e, e === "x" ? this.style.touchAction = "pan-y" : e === "y" && (this.style.touchAction = "pan-x"), t(this, A) && t(this, T).call(this);
722
+ f = new WeakMap(), be = new WeakMap(), D = new WeakMap(), $t = new WeakMap(), mt = new WeakMap(), St = new WeakMap(), gt = new WeakMap(), J = new WeakMap(), Bt = new WeakMap(), Wt = new WeakMap(), vt = new WeakMap(), Nt = new WeakMap(), me = new WeakMap(), Q = new WeakMap(), V = new WeakMap(), Se = new WeakMap(), ge = new WeakMap(), ve = new WeakMap(), ye = new WeakMap(), De = new WeakMap(), Ce = new WeakMap(), X = new WeakMap(), Pe = new WeakMap(), qt = new WeakMap(), Y = new WeakMap(), yt = new WeakMap(), Ct = new WeakMap(), Ee = new WeakMap(), Gt = new WeakMap(), we = new WeakMap(), xe = new WeakMap(), Ut = new WeakMap(), Kt = new WeakMap(), Zt = new WeakMap(), b = new WeakMap(), Oe = new WeakMap(), G = new WeakMap(), a = new WeakMap(), ds = new WeakMap(), fs = new WeakMap(), L = new WeakMap(), P = new WeakMap(), U = new WeakMap(), it = new WeakMap(), jt = new WeakMap(), rt = new WeakMap(), F = new WeakMap(), z = new WeakMap(), He = new WeakMap(), Pt = new WeakMap(), Et = new WeakMap(), wt = new WeakMap(), K = new WeakMap(), $e = new WeakMap(), Jt = new WeakMap(), Qt = new WeakMap(), Le = new WeakMap(), ht = new WeakMap(), A = new WeakMap(), Be = new WeakMap(), xt = new WeakMap(), ke = new WeakMap(), We = new WeakMap(), c = new WeakSet(), Is = function() {
723
+ const e = t(this, D).current, s = t(this, $t).current ? "-reverse" : "";
724
+ t(this, b).style.flexDirection = e === "x" ? `row${s}` : `column${s}`, t(this, it).axis = t(this, Nt).current ? "max" : e, t(this, jt).dimension = e === "x" ? "width" : "height", t(this, rt).axis = e, e === "x" ? this.style.touchAction = "pan-y" : e === "y" && (this.style.touchAction = "pan-x"), t(this, A) && t(this, T).call(this);
725
725
  }, hs = function() {
726
- o(this, l, Te).call(this), t(this, Oe).assignedElements().forEach((e, s) => {
726
+ o(this, c, Te).call(this), t(this, Oe).assignedElements().forEach((e, s) => {
727
727
  e instanceof HTMLElement && e.tagName !== "SCRIPT" && t(this, G).push(new ki(e, s, this));
728
728
  }), r(this, a, [...t(this, G)]), t(this, b).style.transform = "", st(this, "scrollSectionsChange", {
729
729
  custom: !0,
730
730
  composed: !0
731
- }), t(this, T).call(this), o(this, l, ae).call(this);
731
+ }), t(this, T).call(this), o(this, c, ae).call(this);
732
732
  }, Te = function() {
733
733
  t(this, G).forEach((e) => {
734
734
  e.destroy();
@@ -737,22 +737,22 @@ f = new WeakMap(), be = new WeakMap(), D = new WeakMap(), Ht = new WeakMap(), mt
737
737
  composed: !0
738
738
  });
739
739
  }, Es = function() {
740
- t(this, Et) || (r(this, Et, !0), t(this, f).unsubscribe(t(this, ps)), t(this, f).unlistenAnimationFrame(), clearInterval(t(this, $e)), clearInterval(t(this, Jt)), t(this, Qt).unlistenAnimationFrame(), t(this, it).disconnect(), t(this, jt).disconnect(), t(this, rt).disconnect(), t(this, F).disconnect(), t(this, Pt) || (this.sections.forEach((e) => {
740
+ t(this, wt) || (r(this, wt, !0), t(this, f).unsubscribe(t(this, ps)), t(this, f).unlistenAnimationFrame(), clearInterval(t(this, $e)), clearInterval(t(this, Jt)), t(this, Qt).unlistenAnimationFrame(), t(this, it).disconnect(), t(this, jt).disconnect(), t(this, rt).disconnect(), t(this, F).disconnect(), t(this, Et) || (this.sections.forEach((e) => {
741
741
  e.unsetTransform();
742
742
  }), t(this, T).call(this)));
743
743
  }, ws = function() {
744
- t(this, Et) && (r(this, Et, !1), t(this, f).subscribe(t(this, ps), -1e4), t(this, f).notify(), t(this, it).connect(), t(this, jt).connect(), t(this, rt).connect(), t(this, X).current && t(this, F).connect());
744
+ t(this, wt) && (r(this, wt, !1), t(this, f).subscribe(t(this, ps), -1e4), t(this, f).notify(), t(this, it).connect(), t(this, jt).connect(), t(this, rt).connect(), t(this, X).current && t(this, F).connect());
745
745
  }, Ms = function() {
746
- t(this, K) || (r(this, K, !0), clearTimeout(t(this, We)), pt.unsubscribe(t(this, T)), o(this, l, Es).call(this), t(this, b).style.transform = "", t(this, b).style.height = "", t(this, b).style.width = "", this.classList.remove("has-overflow", "start", "end"), this.style.removeProperty("--counter"), t(this, G).length ? o(this, l, Te).call(this) : (t(this, z).reset(), t(this, f).reset()), ce.unregister(this));
746
+ t(this, K) || (r(this, K, !0), clearTimeout(t(this, We)), pt.unsubscribe(t(this, T)), o(this, c, Es).call(this), t(this, b).style.transform = "", t(this, b).style.height = "", t(this, b).style.width = "", this.classList.remove("has-overflow", "start", "end"), this.style.removeProperty("--counter"), t(this, G).length ? o(this, c, Te).call(this) : (t(this, z).reset(), t(this, f).reset()), le.unregister(this));
747
747
  }, Fs = function() {
748
- t(this, K) && (r(this, K, !1), ce.register(this), this.tryResplit(), o(this, l, ws).call(this), this.scrollToSection(t(this, Ce).current, {
748
+ t(this, K) && (r(this, K, !1), le.register(this), this.tryResplit(), o(this, c, ws).call(this), this.scrollToSection(t(this, Ce).current, {
749
749
  behaviour: "instant"
750
750
  }), pt.subscribe(t(this, T), Ls.SCROLL));
751
751
  }, T = new WeakMap(), ps = new WeakMap(), Ys = function(e) {
752
752
  let s = t(this, z).current;
753
753
  return t(this, V).current ? s = gi(e, t(this, a).length) : s = js(e, 0, this.limit), s;
754
754
  }, Ne = new WeakMap(), bs = new WeakMap(), Ts = function(e = 1) {
755
- t(this, Nt).current && (t(this, F).direction = e), t(this, X).current && t(this, F).pauseAndContinue(
755
+ t(this, qt).current && (t(this, F).direction = e), t(this, X).current && t(this, F).pauseAndContinue(
756
756
  t(this, Pe).current,
757
757
  this.sectionalCSSProperty.current
758
758
  );
@@ -764,23 +764,23 @@ f = new WeakMap(), be = new WeakMap(), D = new WeakMap(), Ht = new WeakMap(), mt
764
764
  return t(this, f)[e];
765
765
  }, ae = function() {
766
766
  if (t(this, a).length) {
767
- const e = t(this, z).current + t(this, qt).current;
768
- if (e === 0 ? r(this, ht, "start") : e === this.limit ? r(this, ht, "end") : r(this, ht, null), st(this, "scrollLine", {
767
+ const e = t(this, z).current + t(this, yt).current;
768
+ if (e === t(this, yt).current ? r(this, ht, "start") : e === this.limit ? r(this, ht, "end") : r(this, ht, null), st(this, "scrollLine", {
769
769
  detail: { line: t(this, ht) }
770
770
  }), t(this, Y).current) {
771
771
  this.classList.remove("end", "start"), t(this, ht) && this.classList.add(t(this, ht));
772
- const s = t(this, Q).current + t(this, yt).current;
773
- r(this, wt, []), t(this, a).forEach((h, u) => {
772
+ const s = t(this, Q).current + t(this, Ct).current;
773
+ r(this, xt, []), t(this, a).forEach((h, u) => {
774
774
  h.setCurrentIndex(null), h.setCurrentIndexArc(null), h.setCurrentIndexArcAbs(null), h.setMiddle(!1);
775
- const g = e - this.limit - 1 + t(this, yt).current, v = e + s, C = this.sections.length - v;
776
- u >= e && u < v || u <= g ? (h.setMark("current"), t(this, wt).push(h)) : u >= v && u < v + C / 2 || u <= g + s ? h.setMark("next") : h.setMark("previous");
775
+ const g = e - this.limit - 1 + t(this, Ct).current, v = e + s, C = this.sections.length - v;
776
+ u >= e && u < v || u <= g ? (h.setMark("current"), t(this, xt).push(h)) : u >= v && u < v + C / 2 || u <= g + s ? h.setMark("next") : h.setMark("previous");
777
777
  }), t(this, ms).call(this);
778
778
  }
779
779
  }
780
780
  }, _s = function() {
781
781
  if (t(this, Y).current) {
782
- const e = Math.floor(t(this, wt).length / 2);
783
- t(this, wt).sort((s, h) => s.element.getBoundingClientRect().left - h.element.getBoundingClientRect().left), t(this, wt).forEach((s, h) => {
782
+ const e = Math.floor(t(this, xt).length / 2);
783
+ t(this, xt).sort((s, h) => s.element.getBoundingClientRect().left - h.element.getBoundingClientRect().left), t(this, xt).forEach((s, h) => {
784
784
  const u = h - e;
785
785
  s.setCurrentIndex(h), s.setCurrentIndexArc(u), s.setCurrentIndexArcAbs(Math.abs(u)), s.setMiddle(h === e);
786
786
  }), t(this, a).forEach((s, h) => {
@@ -794,9 +794,9 @@ f = new WeakMap(), be = new WeakMap(), D = new WeakMap(), Ht = new WeakMap(), mt
794
794
  const g = t(this, f).direction;
795
795
  for (let v = 0; v < t(this, a).length; v++) {
796
796
  const C = t(this, a)[v];
797
- let le = t(this, Le) ? C.size * g * -1 * 0.4 : 0, Me = C.position;
798
- this.overscroll && Me === 0 && e && (Me = t(this, Ct));
799
- let rs = Math.abs(Me + le - s);
797
+ let ce = t(this, Le) ? C.size * g * -1 * 0.4 : 0, Me = C.position;
798
+ this.overscroll && Me === 0 && e && (Me = t(this, Pt));
799
+ let rs = Math.abs(Me + ce - s);
800
800
  rs <= h && (h = rs, u = v);
801
801
  }
802
802
  return u;
@@ -817,23 +817,23 @@ class is extends HTMLElement {
817
817
  }
818
818
  }
819
819
  Ss = new WeakMap();
820
- var Xt, O, xt, Lt, Ge, Ue, Yt, Ke, gs, vs;
820
+ var Xt, O, Lt, kt, Ge, Ue, Yt, Ke, gs, vs;
821
821
  class zi extends is {
822
822
  constructor() {
823
823
  super();
824
824
  i(this, Xt, null);
825
825
  i(this, O, null);
826
- i(this, xt, !1);
827
- i(this, Lt, 0);
826
+ i(this, Lt, !1);
827
+ i(this, kt, 0);
828
828
  i(this, Ge, 0);
829
829
  i(this, Ue, 0);
830
830
  i(this, Yt, () => {
831
- r(this, xt, this.offsetWidth > this.offsetHeight);
832
- const e = t(this, xt) ? this.offsetWidth : this.offsetHeight;
833
- r(this, Lt, e / ((this.scrollElement.scrollSize + this.scrollElement.viewportSize) / e)), r(this, Lt, Math.max(t(this, Lt), 30)), t(this, xt) ? (t(this, O).style.width = t(this, Lt) + "px", t(this, O).style.height = "100%") : (t(this, O).style.width = "100%", t(this, O).style.height = t(this, Lt) + "px"), r(this, Ge, e - t(this, Lt)), this.scrollElement.scrollSize <= 0 ? this.style.display = "none" : this.style.display = "", t(this, Ke).call(this);
831
+ r(this, Lt, this.offsetWidth > this.offsetHeight);
832
+ const e = t(this, Lt) ? this.offsetWidth : this.offsetHeight;
833
+ r(this, kt, e / ((this.scrollElement.scrollSize + this.scrollElement.viewportSize) / e)), r(this, kt, Math.max(t(this, kt), 30)), t(this, Lt) ? (t(this, O).style.width = t(this, kt) + "px", t(this, O).style.height = "100%") : (t(this, O).style.width = "100%", t(this, O).style.height = t(this, kt) + "px"), r(this, Ge, e - t(this, kt)), this.scrollElement.scrollSize <= 0 ? this.style.display = "none" : this.style.display = "", t(this, Ke).call(this);
834
834
  });
835
835
  i(this, Ke, () => {
836
- r(this, Ue, this.scrollElement.currentProgress * t(this, Ge)), t(this, xt) ? t(this, O).style.transform = `translate3d(${t(this, Ue)}px, 0px, 0px)` : t(this, O).style.transform = `translate3d(0px, ${t(this, Ue)}px, 0px)`;
836
+ r(this, Ue, this.scrollElement.currentProgress * t(this, Ge)), t(this, Lt) ? t(this, O).style.transform = `translate3d(${t(this, Ue)}px, 0px, 0px)` : t(this, O).style.transform = `translate3d(0px, ${t(this, Ue)}px, 0px)`;
837
837
  });
838
838
  i(this, gs, () => {
839
839
  this.setAttribute("axis", this.scrollElement.axisCSSProperty.current);
@@ -841,14 +841,14 @@ class zi extends is {
841
841
  i(this, vs, (e) => {
842
842
  document.documentElement.classList.add("grabbing"), xi(
843
843
  (u) => {
844
- const g = t(this, xt) ? u.x : u.y, v = this.scrollElement.distance / t(this, Ge), C = (g - h) * v;
844
+ const g = t(this, Lt) ? u.x : u.y, v = this.scrollElement.distance / t(this, Ge), C = (g - h) * v;
845
845
  this.scrollElement.setPosition(s + C);
846
846
  },
847
847
  () => {
848
848
  document.documentElement.classList.remove("grabbing");
849
849
  }
850
850
  );
851
- const s = this.scrollElement.damped.target, h = t(this, xt) ? e.x : e.y;
851
+ const s = this.scrollElement.damped.target, h = t(this, Lt) ? e.x : e.y;
852
852
  });
853
853
  if (q) {
854
854
  const e = this.attachShadow({ mode: "open" });
@@ -897,19 +897,19 @@ class zi extends is {
897
897
  this.removeAttribute("drag-dead-zone"), this.style.display = "", t(this, O).removeEventListener("pointerdown", t(this, vs)), pt.unsubscribe(t(this, Yt)), os.unsubscribe(t(this, Yt)), this.scrollElement.offScroll(t(this, Ke)), this.scrollElement.axisCSSProperty.unsubscribe(t(this, gs));
898
898
  }
899
899
  }
900
- Xt = new WeakMap(), O = new WeakMap(), xt = new WeakMap(), Lt = new WeakMap(), Ge = new WeakMap(), Ue = new WeakMap(), Yt = new WeakMap(), Ke = new WeakMap(), gs = new WeakMap(), vs = new WeakMap();
900
+ Xt = new WeakMap(), O = new WeakMap(), Lt = new WeakMap(), kt = new WeakMap(), Ge = new WeakMap(), Ue = new WeakMap(), Yt = new WeakMap(), Ke = new WeakMap(), gs = new WeakMap(), vs = new WeakMap();
901
901
  q && !customElements.get("e-scrollbar") && customElements.define("e-scrollbar", zi);
902
902
  var Ze, je, Je;
903
903
  class Bs extends is {
904
904
  constructor() {
905
905
  super();
906
- i(this, Ze, new c(this, "--behaviour", "smooth"));
907
- i(this, je, new c(
906
+ i(this, Ze, new l(this, "--behaviour", "smooth"));
907
+ i(this, je, new l(
908
908
  this,
909
909
  "--tween-easing",
910
910
  !1
911
911
  ));
912
- i(this, Je, new c(this, "--tween-duration", 0));
912
+ i(this, Je, new l(this, "--tween-duration", 0));
913
913
  q && this.addEventListener("click", () => {
914
914
  const e = t(this, Ze).current, s = t(this, je).current, h = t(this, Je).current;
915
915
  this.handleClick({
@@ -930,7 +930,7 @@ var Qe;
930
930
  class Ai extends Bs {
931
931
  constructor() {
932
932
  super(...arguments);
933
- i(this, Qe, new c(this, "--set", 1));
933
+ i(this, Qe, new l(this, "--set", 1));
934
934
  }
935
935
  handleClick(e) {
936
936
  this.scrollElement.scrollToSection(t(this, Qe).current, e);
@@ -944,31 +944,31 @@ class Ai extends Bs {
944
944
  }
945
945
  Qe = new WeakMap();
946
946
  q && !customElements.get("e-scroll-set-button") && customElements.define("e-scroll-set-button", Ai);
947
- var kt, Xe;
947
+ var Vt, Xe;
948
948
  class Ii extends Bs {
949
949
  constructor() {
950
950
  super(...arguments);
951
- i(this, kt, new c(this, "--step", 1));
951
+ i(this, Vt, new l(this, "--step", 1));
952
952
  i(this, Xe, () => {
953
- this.scrollElement.loopCSSProperty.current ? this.removeAttribute("disabled") : t(this, kt).current > 0 && this.scrollElement.scrollLine === "end" || t(this, kt).current < 0 && this.scrollElement.scrollLine === "start" ? this.setAttribute("disabled", "") : this.removeAttribute("disabled");
953
+ this.scrollElement.loopCSSProperty.current ? this.removeAttribute("disabled") : t(this, Vt).current > 0 && this.scrollElement.scrollLine === "end" || t(this, Vt).current < 0 && this.scrollElement.scrollLine === "start" ? this.setAttribute("disabled", "") : this.removeAttribute("disabled");
954
954
  });
955
955
  }
956
956
  handleClick(e) {
957
- this.scrollElement.shiftSections(t(this, kt).current, e);
957
+ this.scrollElement.shiftSections(t(this, Vt).current, e);
958
958
  }
959
959
  connectedCallback() {
960
- super.connectedCallback(), this.scrollElement && (t(this, kt).subscribe(() => {
960
+ super.connectedCallback(), this.scrollElement && (t(this, Vt).subscribe(() => {
961
961
  t(this, Xe).call(this);
962
- }), t(this, kt).observe(), this.scrollElement.addEventListener(
962
+ }), t(this, Vt).observe(), this.scrollElement.addEventListener(
963
963
  "scrollLine",
964
964
  t(this, Xe)
965
965
  ), t(this, Xe).call(this));
966
966
  }
967
967
  disconnectedCallback() {
968
- super.disconnectedCallback(), t(this, kt).close(), this.removeAttribute("disabled");
968
+ super.disconnectedCallback(), t(this, Vt).close(), this.removeAttribute("disabled");
969
969
  }
970
970
  }
971
- kt = new WeakMap(), Xe = new WeakMap();
971
+ Vt = new WeakMap(), Xe = new WeakMap();
972
972
  q && !customElements.get("e-scroll-step-button") && customElements.define("e-scroll-step-button", Ii);
973
973
  var nt, _t, Ye, ys, Cs, _e;
974
974
  class Mi {
@@ -1037,7 +1037,7 @@ class Fi extends is {
1037
1037
  }
1038
1038
  Ve = new WeakMap(), te = new WeakMap(), ot = new WeakMap();
1039
1039
  q && !customElements.get("e-scroll-bullet-buttons") && customElements.define("e-scroll-bullet-buttons", Fi);
1040
- var ee, se, ie, re, Vt, zt, At, It, I, H, $, B, Mt, k, ct, lt, _, Ft, ze, ut, at, dt, w, W, N, tt, et, Z, ts, S, Tt, he, es, x, ft, R, M, j, Ae, Rt, y, ne, m, ti, ei, si, ii, ri, hi, ss, Ie, Ds, de, ni, oi, Os;
1040
+ var ee, se, ie, re, zt, At, It, Mt, I, H, $, B, Ft, k, lt, ct, _, Tt, ze, ut, at, dt, w, W, N, tt, et, Z, ts, S, Rt, he, es, x, ft, R, M, j, Ae, Dt, y, ne, m, ti, ei, si, ii, ri, hi, ss, Ie, Ds, de, ni, oi, Os;
1041
1041
  class Ti extends is {
1042
1042
  constructor() {
1043
1043
  super(...arguments);
@@ -1046,20 +1046,20 @@ class Ti extends is {
1046
1046
  i(this, se);
1047
1047
  i(this, ie);
1048
1048
  i(this, re);
1049
- i(this, Vt);
1050
1049
  i(this, zt);
1051
1050
  i(this, At);
1052
1051
  i(this, It);
1052
+ i(this, Mt);
1053
1053
  i(this, I);
1054
1054
  i(this, H);
1055
1055
  i(this, $);
1056
1056
  i(this, B);
1057
- i(this, Mt);
1057
+ i(this, Ft);
1058
1058
  i(this, k);
1059
- i(this, ct);
1060
1059
  i(this, lt);
1060
+ i(this, ct);
1061
1061
  i(this, _);
1062
- i(this, Ft);
1062
+ i(this, Tt);
1063
1063
  i(this, ze);
1064
1064
  i(this, ut);
1065
1065
  i(this, at);
@@ -1072,7 +1072,7 @@ class Ti extends is {
1072
1072
  i(this, Z);
1073
1073
  i(this, ts);
1074
1074
  i(this, S);
1075
- i(this, Tt);
1075
+ i(this, Rt);
1076
1076
  i(this, he);
1077
1077
  i(this, es);
1078
1078
  i(this, x);
@@ -1081,59 +1081,59 @@ class Ti extends is {
1081
1081
  i(this, M);
1082
1082
  i(this, j);
1083
1083
  i(this, Ae);
1084
- i(this, Rt);
1084
+ i(this, Dt);
1085
1085
  i(this, y);
1086
1086
  i(this, ne);
1087
1087
  i(this, ss);
1088
1088
  i(this, Ie);
1089
- r(this, ee, new c(this, "--damping", 20)), r(this, se, new c(this, "--mass", 0)), r(this, ie, new c(this, "--stiffness", 0)), r(this, re, new c(this, "--target", "")), r(this, Vt, new c(this, "--disabled", !1)), r(this, zt, new c(
1089
+ r(this, ee, new l(this, "--damping", 20)), r(this, se, new l(this, "--mass", 0)), r(this, ie, new l(this, "--stiffness", 0)), r(this, re, new l(this, "--target", "")), r(this, zt, new l(this, "--disabled", !1)), r(this, At, new l(
1090
1090
  this,
1091
1091
  "--distance-offset",
1092
1092
  0,
1093
1093
  { rawValueCheck: !1 }
1094
- )), r(this, At, new c(this, "--start-offset", 0, {
1094
+ )), r(this, It, new l(this, "--start-offset", 0, {
1095
1095
  rawValueCheck: !1
1096
- })), r(this, It, new c(
1096
+ })), r(this, Mt, new l(
1097
1097
  this,
1098
1098
  "--capture-once",
1099
1099
  !1
1100
- )), r(this, I, new c(this, "--captured", "")), r(this, H, new c(this, "--released", "")), r(this, $, new c(
1100
+ )), r(this, I, new l(this, "--captured", "")), r(this, H, new l(this, "--released", "")), r(this, $, new l(
1101
1101
  this,
1102
1102
  "--captured-from-start",
1103
1103
  ""
1104
- )), r(this, B, new c(
1104
+ )), r(this, B, new l(
1105
1105
  this,
1106
1106
  "--captured-from-finish",
1107
1107
  ""
1108
- )), r(this, Mt, new c(
1108
+ )), r(this, Ft, new l(
1109
1109
  this,
1110
1110
  "--released-from-start",
1111
1111
  ""
1112
- )), r(this, k, new c(
1112
+ )), r(this, k, new l(
1113
1113
  this,
1114
1114
  "--released-from-finish",
1115
1115
  ""
1116
- )), r(this, ct, new c(this, "--passed-var", "")), r(this, lt, new c(this, "--progress-var", "")), r(this, _, new c(
1116
+ )), r(this, lt, new l(this, "--passed-var", "")), r(this, ct, new l(this, "--progress-var", "")), r(this, _, new l(
1117
1117
  this,
1118
1118
  "--progress-arc-var",
1119
1119
  ""
1120
- )), r(this, Ft, new c(
1120
+ )), r(this, Tt, new l(
1121
1121
  this,
1122
1122
  "--progress-arc-mult",
1123
1123
  1
1124
- )), r(this, ze, new c(
1124
+ )), r(this, ze, new l(
1125
1125
  this,
1126
1126
  "--animation-var-type",
1127
1127
  "target"
1128
- )), r(this, ut, new c(this, "--distance-var", "")), r(this, at, new c(this, "--start-var", "")), r(this, dt, new c(this, "--finish-var", "")), r(this, w, new ue(!1)), r(this, W, new ue(!1)), r(this, N, new ue(!1)), r(this, tt, new ue(!1)), r(this, et, new ue(!1)), r(this, Z, new ue(!1)), r(this, ts, []), r(this, S, this), r(this, Tt, 0), r(this, he, 0), r(this, es, 0), r(this, x, new Xs(0, { order: Qs.SEGMENT, min: 0, max: 1 })), r(this, ft, 0), r(this, R, 0), r(this, M, 0), r(this, j, 0), r(this, Ae, !1), r(this, Rt, !1), r(this, y, !0), r(this, ne, !1), this.resize = () => {
1129
- r(this, he, this.scrollElement.vertical ? this.offsetHeight : this.offsetWidth), r(this, Tt, this.scrollElement.vertical ? cs(this, this.scrollElement) : ls(this, this.scrollElement));
1128
+ )), r(this, ut, new l(this, "--distance-var", "")), r(this, at, new l(this, "--start-var", "")), r(this, dt, new l(this, "--finish-var", "")), r(this, w, new ue(!1)), r(this, W, new ue(!1)), r(this, N, new ue(!1)), r(this, tt, new ue(!1)), r(this, et, new ue(!1)), r(this, Z, new ue(!1)), r(this, ts, []), r(this, S, this), r(this, Rt, 0), r(this, he, 0), r(this, es, 0), r(this, x, new Xs(0, { order: Qs.SEGMENT, min: 0, max: 1 })), r(this, ft, 0), r(this, R, 0), r(this, M, 0), r(this, j, 0), r(this, Ae, !1), r(this, Dt, !1), r(this, y, !0), r(this, ne, !1), this.resize = () => {
1129
+ r(this, he, this.scrollElement.vertical ? this.offsetHeight : this.offsetWidth), r(this, Rt, this.scrollElement.vertical ? ls(this, this.scrollElement) : cs(this, this.scrollElement));
1130
1130
  const e = bi(
1131
1131
  this,
1132
1132
  this.scrollElement.vertical ? "top" : "left"
1133
1133
  );
1134
- r(this, Tt, t(this, Tt) - e), r(this, R, this.getStart()), r(this, M, this.getDistance()), r(this, R, t(this, R) + t(this, At).current), r(this, M, t(this, M) + t(this, zt).current), r(this, j, t(this, R) + t(this, M)), this.scrollElement.currentScrollValue > t(this, j) && !t(this, w).current && !t(this, W).current && (t(this, w).current = !0), this.setVar(t(this, at).current, t(this, R)), this.setVar(t(this, dt).current, t(this, j)), this.setVar(t(this, ut).current, t(this, M)), t(this, x).max = t(this, M), r(this, Ae, !0), t(this, Ie).call(this);
1134
+ r(this, Rt, t(this, Rt) - e), r(this, R, this.getStart()), r(this, M, this.getDistance()), r(this, R, t(this, R) + t(this, It).current), r(this, M, t(this, M) + t(this, At).current), r(this, j, t(this, R) + t(this, M)), this.scrollElement.currentScrollValue > t(this, j) && !t(this, w).current && !t(this, W).current && (t(this, w).current = !0), this.setVar(t(this, at).current, t(this, R)), this.setVar(t(this, dt).current, t(this, j)), this.setVar(t(this, ut).current, t(this, M)), t(this, x).max = t(this, M), r(this, Ae, !0), t(this, Ie).call(this);
1135
1135
  }, this.findAnotherScrollEntries = xs(() => {
1136
- const e = ce.getAll(this).reverse();
1136
+ const e = le.getAll(this).reverse();
1137
1137
  let s = 0;
1138
1138
  e.forEach((h, u) => {
1139
1139
  h.element === this.scrollElement && (s = u);
@@ -1145,13 +1145,13 @@ class Ti extends is {
1145
1145
  });
1146
1146
  }
1147
1147
  get distanceOffsetCSSProperty() {
1148
- return t(this, zt);
1148
+ return t(this, At);
1149
1149
  }
1150
1150
  get startOffsetCSSProperty() {
1151
- return t(this, At);
1151
+ return t(this, It);
1152
1152
  }
1153
1153
  get captureOnceCSSProperty() {
1154
- return t(this, It);
1154
+ return t(this, Mt);
1155
1155
  }
1156
1156
  get capturedCSSProperty() {
1157
1157
  return t(this, I);
@@ -1166,22 +1166,22 @@ class Ti extends is {
1166
1166
  return t(this, B);
1167
1167
  }
1168
1168
  get releasedFromStartCSSProperty() {
1169
- return t(this, Mt);
1169
+ return t(this, Ft);
1170
1170
  }
1171
1171
  get releasedFromFinishCSSProperty() {
1172
1172
  return t(this, k);
1173
1173
  }
1174
1174
  get passedVarCSSProperty() {
1175
- return t(this, ct);
1175
+ return t(this, lt);
1176
1176
  }
1177
1177
  get progressVarCSSProperty() {
1178
- return t(this, lt);
1178
+ return t(this, ct);
1179
1179
  }
1180
1180
  get progressArcVarCSSProperty() {
1181
1181
  return t(this, _);
1182
1182
  }
1183
1183
  get progressArcMultCSSProperty() {
1184
- return t(this, Ft);
1184
+ return t(this, Tt);
1185
1185
  }
1186
1186
  get animationVarTypeCSSProperty() {
1187
1187
  return t(this, ze);
@@ -1196,7 +1196,7 @@ class Ti extends is {
1196
1196
  return t(this, dt);
1197
1197
  }
1198
1198
  get disabledCSSProperty() {
1199
- return t(this, Vt);
1199
+ return t(this, zt);
1200
1200
  }
1201
1201
  get dampingCSSProperty() {
1202
1202
  return t(this, ee);
@@ -1229,7 +1229,7 @@ class Ti extends is {
1229
1229
  return t(this, Z);
1230
1230
  }
1231
1231
  get directionPosition() {
1232
- return t(this, Tt);
1232
+ return t(this, Rt);
1233
1233
  }
1234
1234
  get directionSize() {
1235
1235
  return t(this, he);
@@ -1241,7 +1241,7 @@ class Ti extends is {
1241
1241
  return t(this, ft);
1242
1242
  }
1243
1243
  get progressArc() {
1244
- return Math.abs(Math.cos(t(this, ft) * Math.PI)) * t(this, Ft).current;
1244
+ return Math.abs(Math.cos(t(this, ft) * Math.PI)) * t(this, Tt).current;
1245
1245
  }
1246
1246
  get start() {
1247
1247
  return t(this, R);
@@ -1253,7 +1253,7 @@ class Ti extends is {
1253
1253
  return t(this, M);
1254
1254
  }
1255
1255
  get isCapturedOnce() {
1256
- return t(this, Rt);
1256
+ return t(this, Dt);
1257
1257
  }
1258
1258
  get isDisabled() {
1259
1259
  return t(this, y);
@@ -1268,10 +1268,10 @@ class Ti extends is {
1268
1268
  const h = Math.round(e);
1269
1269
  t(this, w).current && (h >= t(this, R) ? t(this, N).current || o(this, m, si).call(this) : t(this, N).current && !t(this, tt).current && o(this, m, ri).call(this), h < t(this, j) ? t(this, Z).current && !t(this, et).current && o(this, m, ii).call(this) : t(this, N).current && !t(this, Z).current && o(this, m, hi).call(this)), h >= t(this, R) && h < t(this, j) ? t(this, w).current || o(this, m, ti).call(this) : t(this, w).current && (t(this, x).set(
1270
1270
  mi(t(this, M) / 2, t(this, x).target, 0, t(this, M))
1271
- ), o(this, m, ei).call(this)), t(this, Rt) && t(this, It).current && (t(this, I).current && t(this, S).classList.add(t(this, I).current), r(this, y, !0));
1271
+ ), o(this, m, ei).call(this)), t(this, Dt) && t(this, Mt).current && (t(this, I).current && t(this, S).classList.add(t(this, I).current), r(this, y, !0));
1272
1272
  }
1273
1273
  disable() {
1274
- this.style.cssText = "", r(this, Tt, 0), r(this, he, 0), t(this, x).reset(), r(this, ft, 0), r(this, R, 0), r(this, M, 0), r(this, j, 0), r(this, Ae, !1), t(this, w).current = !1, t(this, W).current = !1, t(this, N).current = !1, t(this, tt).current = !1, t(this, et).current = !1, t(this, Z).current = !1, r(this, Rt, !1), r(this, y, !0), o(this, m, Os).call(this);
1274
+ this.style.cssText = "", r(this, Rt, 0), r(this, he, 0), t(this, x).reset(), r(this, ft, 0), r(this, R, 0), r(this, M, 0), r(this, j, 0), r(this, Ae, !1), t(this, w).current = !1, t(this, W).current = !1, t(this, N).current = !1, t(this, tt).current = !1, t(this, et).current = !1, t(this, Z).current = !1, r(this, Dt, !1), r(this, y, !0), o(this, m, Os).call(this);
1275
1275
  }
1276
1276
  enable() {
1277
1277
  r(this, y, !1);
@@ -1307,9 +1307,9 @@ class Ti extends is {
1307
1307
  composed: !0,
1308
1308
  custom: !0
1309
1309
  });
1310
- }), t(this, ee).observe(), t(this, se).observe(), t(this, ie).observe(), t(this, re).observe(), t(this, Vt).observe(), t(this, zt).observe(), t(this, At).observe(), t(this, It).observe(), t(this, I).observe(), t(this, H).observe(), t(this, $).observe(), t(this, B).observe(), t(this, Mt).observe(), t(this, k).observe(), t(this, ct).observe(), t(this, lt).observe(), t(this, _).observe(), t(this, Ft).observe(), t(this, ze).observe(), t(this, ut).observe(), t(this, at).observe(), t(this, dt).observe();
1310
+ }), t(this, ee).observe(), t(this, se).observe(), t(this, ie).observe(), t(this, re).observe(), t(this, zt).observe(), t(this, At).observe(), t(this, It).observe(), t(this, Mt).observe(), t(this, I).observe(), t(this, H).observe(), t(this, $).observe(), t(this, B).observe(), t(this, Ft).observe(), t(this, k).observe(), t(this, lt).observe(), t(this, ct).observe(), t(this, _).observe(), t(this, Tt).observe(), t(this, ze).observe(), t(this, ut).observe(), t(this, at).observe(), t(this, dt).observe();
1311
1311
  let e = !1;
1312
- this.findAnotherScrollEntries(), t(this, Vt).current || this.enable(), t(this, ee).subscribe((s) => {
1312
+ this.findAnotherScrollEntries(), t(this, zt).current || this.enable(), t(this, ee).subscribe((s) => {
1313
1313
  t(this, x).damping = s.current;
1314
1314
  }), t(this, se).subscribe((s) => {
1315
1315
  t(this, x).mass = s.current;
@@ -1317,11 +1317,11 @@ class Ti extends is {
1317
1317
  t(this, x).stiffness = s.current;
1318
1318
  }), t(this, re).subscribe((s) => {
1319
1319
  s.previous && o(this, m, Os).call(this), s.current ? s.current === "parent" ? r(this, S, this.parentElement || this) : r(this, S, document.querySelector(s.current) || this) : r(this, S, this);
1320
- }), t(this, Vt).subscribe((s) => {
1320
+ }), t(this, zt).subscribe((s) => {
1321
1321
  s.current && !s.previous ? this.disable() : !s.current && s.previous && (this.resize(), this.enable());
1322
- }), t(this, At).subscribe(() => {
1322
+ }), t(this, It).subscribe(() => {
1323
1323
  e && !t(this, y) && this.resize();
1324
- }), t(this, zt).subscribe(() => {
1324
+ }), t(this, At).subscribe(() => {
1325
1325
  e && !t(this, y) && this.resize();
1326
1326
  }), t(this, I).subscribe((s) => {
1327
1327
  o(this, m, de).call(this, s);
@@ -1331,19 +1331,19 @@ class Ti extends is {
1331
1331
  o(this, m, de).call(this, s);
1332
1332
  }), t(this, H).subscribe((s) => {
1333
1333
  o(this, m, de).call(this, s);
1334
- }), t(this, Mt).subscribe((s) => {
1334
+ }), t(this, Ft).subscribe((s) => {
1335
1335
  o(this, m, de).call(this, s);
1336
1336
  }), t(this, k).subscribe((s) => {
1337
1337
  o(this, m, de).call(this, s);
1338
- }), t(this, It).subscribe((s) => {
1338
+ }), t(this, Mt).subscribe((s) => {
1339
1339
  t(this, y) || !s.current && s.previous && (this.resize(), this.enable());
1340
- }), t(this, ct).subscribe((s) => {
1341
- t(this, y) || (this.removeVar(s.previous), this.setVar(s.current, this.passed.current));
1342
1340
  }), t(this, lt).subscribe((s) => {
1341
+ t(this, y) || (this.removeVar(s.previous), this.setVar(s.current, this.passed.current));
1342
+ }), t(this, ct).subscribe((s) => {
1343
1343
  t(this, y) || (this.removeVar(s.previous), this.setVar(s.current, t(this, ft)));
1344
1344
  }), t(this, _).subscribe((s) => {
1345
1345
  t(this, y) || (this.removeVar(s.previous), this.setVar(s.current, this.progressArc));
1346
- }), t(this, Ft).subscribe((s) => {
1346
+ }), t(this, Tt).subscribe((s) => {
1347
1347
  t(this, y) || o(this, m, Ds).call(this);
1348
1348
  }), t(this, at).subscribe((s) => {
1349
1349
  t(this, y) || (this.removeVar(s.previous), this.setVar(s.current, t(this, R)));
@@ -1366,7 +1366,7 @@ class Ti extends is {
1366
1366
  pt.unsubscribe(t(this, ss)), this.scrollElement.offScroll(t(this, Ie)), this.scrollElement.removeEventListener(
1367
1367
  "scrollSectionsChange",
1368
1368
  this.findAnotherScrollEntries
1369
- ), this.scrollElement.removeEventListener("scrollResize", this.resize), t(this, ee).close(), t(this, se).close(), t(this, ie).close(), t(this, re).close(), t(this, Vt).close(), t(this, zt).close(), t(this, At).close(), t(this, It).close(), t(this, I).close(), t(this, H).close(), t(this, $).close(), t(this, B).close(), t(this, Mt).close(), t(this, k).close(), t(this, ct).close(), t(this, lt).close(), t(this, _).close(), t(this, Ft).close(), t(this, ut).close(), t(this, at).close(), t(this, dt).close(), t(this, w).close(), t(this, W).close(), t(this, N).close(), t(this, tt).close(), t(this, et).close(), t(this, Z).close(), this.disable(), t(this, x).close();
1369
+ ), this.scrollElement.removeEventListener("scrollResize", this.resize), t(this, ee).close(), t(this, se).close(), t(this, ie).close(), t(this, re).close(), t(this, zt).close(), t(this, At).close(), t(this, It).close(), t(this, Mt).close(), t(this, I).close(), t(this, H).close(), t(this, $).close(), t(this, B).close(), t(this, Ft).close(), t(this, k).close(), t(this, lt).close(), t(this, ct).close(), t(this, _).close(), t(this, Tt).close(), t(this, ut).close(), t(this, at).close(), t(this, dt).close(), t(this, w).close(), t(this, W).close(), t(this, N).close(), t(this, tt).close(), t(this, et).close(), t(this, Z).close(), this.disable(), t(this, x).close();
1370
1370
  }
1371
1371
  removeVar(e) {
1372
1372
  e && t(this, S).style.removeProperty(`--${e}`);
@@ -1381,17 +1381,17 @@ class Ti extends is {
1381
1381
  return t(this, he) + t(this, es);
1382
1382
  }
1383
1383
  getStart() {
1384
- return t(this, Tt) - t(this, es);
1384
+ return t(this, Rt) - t(this, es);
1385
1385
  }
1386
1386
  }
1387
- ee = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), re = new WeakMap(), Vt = new WeakMap(), zt = new WeakMap(), At = new WeakMap(), It = new WeakMap(), I = new WeakMap(), H = new WeakMap(), $ = new WeakMap(), B = new WeakMap(), Mt = new WeakMap(), k = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), _ = new WeakMap(), Ft = new WeakMap(), ze = new WeakMap(), ut = new WeakMap(), at = new WeakMap(), dt = new WeakMap(), w = new WeakMap(), W = new WeakMap(), N = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), Z = new WeakMap(), ts = new WeakMap(), S = new WeakMap(), Tt = new WeakMap(), he = new WeakMap(), es = new WeakMap(), x = new WeakMap(), ft = new WeakMap(), R = new WeakMap(), M = new WeakMap(), j = new WeakMap(), Ae = new WeakMap(), Rt = new WeakMap(), y = new WeakMap(), ne = new WeakMap(), m = new WeakSet(), ti = function() {
1388
- t(this, w).current = !0, t(this, W).current = !1, r(this, Rt, !0), t(this, H).current && t(this, S).classList.remove(t(this, H).current), t(this, k).current && t(this, S).classList.remove(
1387
+ ee = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), re = new WeakMap(), zt = new WeakMap(), At = new WeakMap(), It = new WeakMap(), Mt = new WeakMap(), I = new WeakMap(), H = new WeakMap(), $ = new WeakMap(), B = new WeakMap(), Ft = new WeakMap(), k = new WeakMap(), lt = new WeakMap(), ct = new WeakMap(), _ = new WeakMap(), Tt = new WeakMap(), ze = new WeakMap(), ut = new WeakMap(), at = new WeakMap(), dt = new WeakMap(), w = new WeakMap(), W = new WeakMap(), N = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), Z = new WeakMap(), ts = new WeakMap(), S = new WeakMap(), Rt = new WeakMap(), he = new WeakMap(), es = new WeakMap(), x = new WeakMap(), ft = new WeakMap(), R = new WeakMap(), M = new WeakMap(), j = new WeakMap(), Ae = new WeakMap(), Dt = new WeakMap(), y = new WeakMap(), ne = new WeakMap(), m = new WeakSet(), ti = function() {
1388
+ t(this, w).current = !0, t(this, W).current = !1, r(this, Dt, !0), t(this, H).current && t(this, S).classList.remove(t(this, H).current), t(this, k).current && t(this, S).classList.remove(
1389
1389
  t(this, k).current
1390
1390
  ), t(this, k).current && t(this, S).classList.remove(
1391
1391
  t(this, k).current
1392
1392
  ), t(this, I).current && t(this, S).classList.add(t(this, I).current);
1393
1393
  }, ei = function() {
1394
- t(this, W).current = !0, t(this, w).current = !1, r(this, Rt, !0), t(this, I).current && t(this, S).classList.remove(t(this, I).current), t(this, $).current && t(this, S).classList.remove(
1394
+ t(this, W).current = !0, t(this, w).current = !1, r(this, Dt, !0), t(this, I).current && t(this, S).classList.remove(t(this, I).current), t(this, $).current && t(this, S).classList.remove(
1395
1395
  t(this, $).current
1396
1396
  ), t(this, B).current && t(this, S).classList.remove(
1397
1397
  t(this, B).current
@@ -1414,7 +1414,7 @@ ee = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), re = new WeakMap(),
1414
1414
  );
1415
1415
  }, ss = new WeakMap(), Ie = new WeakMap(), Ds = function() {
1416
1416
  const e = t(this, x)[t(this, ze).current];
1417
- this.setVar(t(this, ct).current, e), r(this, ft, e / t(this, M) || 0), this.setVar(t(this, lt).current, t(this, ft)), t(this, _).current && this.setVar(t(this, _).current, this.progressArc);
1417
+ this.setVar(t(this, lt).current, e), r(this, ft, e / t(this, M) || 0), this.setVar(t(this, ct).current, t(this, ft)), t(this, _).current && this.setVar(t(this, _).current, this.progressArc);
1418
1418
  }, de = function(e) {
1419
1419
  if (t(this, y)) {
1420
1420
  e.previous && t(this, S).classList.remove(e.previous), e.current && t(this, S).classList.remove(e.current);
@@ -1430,13 +1430,13 @@ ee = new WeakMap(), se = new WeakMap(), ie = new WeakMap(), re = new WeakMap(),
1430
1430
  s && t(this, S).style.removeProperty(`--${s}`);
1431
1431
  });
1432
1432
  }, Os = function() {
1433
- o(this, m, ni).call(this, t(this, I).current, t(this, $).current, t(this, B).current, t(this, H).current, t(this, Mt).current, t(this, k).current), o(this, m, oi).call(this, t(this, ct).current, t(this, lt).current, t(this, _).current, t(this, ut).current, t(this, at).current, t(this, dt).current);
1433
+ o(this, m, ni).call(this, t(this, I).current, t(this, $).current, t(this, B).current, t(this, H).current, t(this, Ft).current, t(this, k).current), o(this, m, oi).call(this, t(this, lt).current, t(this, ct).current, t(this, _).current, t(this, ut).current, t(this, at).current, t(this, dt).current);
1434
1434
  };
1435
1435
  q && !customElements.get("e-scroll-segment") && customElements.define("e-scroll-segment", Ti);
1436
1436
  class Ri extends Bs {
1437
1437
  handleClick(n) {
1438
1438
  this.scrollElement.setPosition(
1439
- this.scrollElement.vertical ? cs(this) : ls(this),
1439
+ this.scrollElement.vertical ? ls(this) : cs(this),
1440
1440
  n
1441
1441
  );
1442
1442
  }