aptechka 0.35.3 → 0.36.1
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,63 +1,63 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
throw TypeError(
|
|
1
|
+
var Me = Object.defineProperty;
|
|
2
|
+
var we = Object.getOwnPropertySymbols;
|
|
3
|
+
var Ve = Object.prototype.hasOwnProperty, Oe = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var xe = (a) => {
|
|
5
|
+
throw TypeError(a);
|
|
6
6
|
};
|
|
7
|
-
var
|
|
7
|
+
var Ee = (a, h, e) => h in a ? Me(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e, Pe = (a, h) => {
|
|
8
8
|
for (var e in h || (h = {}))
|
|
9
|
-
|
|
10
|
-
if (
|
|
11
|
-
for (var e of
|
|
12
|
-
|
|
13
|
-
return
|
|
9
|
+
Ve.call(h, e) && Ee(a, e, h[e]);
|
|
10
|
+
if (we)
|
|
11
|
+
for (var e of we(h))
|
|
12
|
+
Oe.call(h, e) && Ee(a, e, h[e]);
|
|
13
|
+
return a;
|
|
14
14
|
};
|
|
15
|
-
var
|
|
16
|
-
var t = (
|
|
17
|
-
import { S as
|
|
18
|
-
import { i as
|
|
19
|
-
import { q as
|
|
20
|
-
import { d as
|
|
21
|
-
import { c as
|
|
22
|
-
import { a as
|
|
23
|
-
import { c as
|
|
15
|
+
var de = (a, h, e) => h.has(a) || xe("Cannot " + e);
|
|
16
|
+
var t = (a, h, e) => (de(a, h, "read from private field"), e ? e.call(a) : h.get(a)), s = (a, h, e) => h.has(a) ? xe("Cannot add the same private member more than once") : h instanceof WeakSet ? h.add(a) : h.set(a, e), r = (a, h, e, i) => (de(a, h, "write to private field"), i ? i.call(a, e) : h.set(a, e), e), c = (a, h, e) => (de(a, h, "access private method"), e);
|
|
17
|
+
import { S as Re } from "../../Store-OTdcl6SX.js";
|
|
18
|
+
import { i as ae } from "../../browser-0zX67oeU.js";
|
|
19
|
+
import { q as He } from "../../easings-BEmRlrDd.js";
|
|
20
|
+
import { d as he } from "../../events-CsVF98U6.js";
|
|
21
|
+
import { c as ke } from "../../jss-CjccJC-K.js";
|
|
22
|
+
import { a as pe, g as fe } from "../../layout-HoBT_Da2.js";
|
|
23
|
+
import { c as ze } from "../../math-BOBiC4TN.js";
|
|
24
24
|
import "../../ticker/vanilla/index.js";
|
|
25
|
-
import { TICK_ORDER as
|
|
26
|
-
import { D as
|
|
27
|
-
import { T as
|
|
28
|
-
import { WheelControls as
|
|
29
|
-
import { windowResizer as
|
|
30
|
-
import { scrollEntries as
|
|
31
|
-
import { cssUnitParser as
|
|
25
|
+
import { TICK_ORDER as Be, RESIZE_ORDER as me } from "../../order/index.js";
|
|
26
|
+
import { D as We } from "../../Damped-Chu29wn-.js";
|
|
27
|
+
import { T as Fe } from "../../Tweened-DJzAFsVZ.js";
|
|
28
|
+
import { WheelControls as $e, KeyboardControls as qe, DragControls as Ne, AutoplayControls as Ue } from "../../controls/index.js";
|
|
29
|
+
import { windowResizer as kt } from "../../window-resizer/vanilla/index.js";
|
|
30
|
+
import { scrollEntries as mt } from "../../scroll-entries/index.js";
|
|
31
|
+
import { cssUnitParser as Le } from "../../css-unit-parser/index.js";
|
|
32
32
|
import { CSSProperty as p } from "../../css-property/index.js";
|
|
33
|
-
import { device as
|
|
34
|
-
import { elementResizer as
|
|
35
|
-
import { s as
|
|
36
|
-
import { f as
|
|
37
|
-
import { d as
|
|
38
|
-
import { ScrollSegmentElement as
|
|
39
|
-
var b,
|
|
40
|
-
class
|
|
33
|
+
import { device as Ge } from "../../device/index.js";
|
|
34
|
+
import { elementResizer as Zt } from "../../element-resizer/vanilla/index.js";
|
|
35
|
+
import { s as Ke } from "../../gestures-D2Fdra_G.js";
|
|
36
|
+
import { f as Ie } from "../../dom-0S_WDL4g.js";
|
|
37
|
+
import { d as _e } from "../../function-C10DGppn.js";
|
|
38
|
+
import { ScrollSegmentElement as Ze } from "../../scroll-segment/index.js";
|
|
39
|
+
var b, Jt, g, bt, H, Q;
|
|
40
|
+
class je {
|
|
41
41
|
constructor(h, e, i) {
|
|
42
42
|
s(this, b);
|
|
43
|
-
s(this,
|
|
43
|
+
s(this, Jt);
|
|
44
44
|
s(this, g);
|
|
45
|
-
s(this,
|
|
45
|
+
s(this, bt, 0);
|
|
46
46
|
s(this, H, 0);
|
|
47
47
|
s(this, Q, null);
|
|
48
|
-
r(this, b, h), r(this,
|
|
48
|
+
r(this, b, h), r(this, Jt, e), r(this, g, i), mt.register(t(this, b));
|
|
49
49
|
}
|
|
50
50
|
get index() {
|
|
51
|
-
return t(this,
|
|
51
|
+
return t(this, Jt);
|
|
52
52
|
}
|
|
53
53
|
get size() {
|
|
54
|
-
return t(this,
|
|
54
|
+
return t(this, bt);
|
|
55
55
|
}
|
|
56
56
|
get position() {
|
|
57
57
|
return t(this, H);
|
|
58
58
|
}
|
|
59
59
|
destroy() {
|
|
60
|
-
|
|
60
|
+
mt.unregister(t(this, b)), this.unsetTransform();
|
|
61
61
|
}
|
|
62
62
|
unsetTransform() {
|
|
63
63
|
t(this, b).style.transform = "", this.mark(null), this.setSize();
|
|
@@ -66,21 +66,21 @@ class _e {
|
|
|
66
66
|
h ? (t(this, b).style.setProperty("--size", h + "px"), t(this, g).axisCSSProperty.current === "x" ? (t(this, b).style.width = h + "px", t(this, b).style.height = "") : (t(this, b).style.height = h + "px", t(this, b).style.width = "")) : (t(this, b).style.width = "", t(this, b).style.height = "", t(this, b).style.removeProperty("--size"));
|
|
67
67
|
}
|
|
68
68
|
resize() {
|
|
69
|
-
r(this,
|
|
69
|
+
r(this, bt, t(this, g).vertical ? t(this, b).offsetHeight : t(this, b).offsetWidth), r(this, H, t(this, g).vertical ? pe(t(this, b)) : fe(t(this, b))), r(this, H, t(this, H) - t(this, g).contentPosition);
|
|
70
70
|
}
|
|
71
71
|
transform() {
|
|
72
72
|
let h = 0;
|
|
73
73
|
const e = t(this, g).viewportSize * t(this, g).sectionDistanceScaleCSSProperty.current;
|
|
74
|
-
t(this, g).loopCSSProperty.current && t(this, g).overscroll && t(this, H) + t(this,
|
|
74
|
+
t(this, g).loopCSSProperty.current && t(this, g).overscroll && t(this, H) + t(this, bt) < t(this, g).currentScrollValue && (h = t(this, g).distance * -1 - t(this, g).gap), mt.update(
|
|
75
75
|
t(this, b),
|
|
76
76
|
t(this, g).axisCSSProperty.current,
|
|
77
77
|
h
|
|
78
78
|
);
|
|
79
|
-
const i = t(this, g).currentScrollValue + h, n = t(this, H) - t(this, g).viewportSize - e,
|
|
79
|
+
const i = t(this, g).currentScrollValue + h, n = t(this, H) - t(this, g).viewportSize - e, d = t(this, H) + t(this, bt) + e, m = ze(i, n, d);
|
|
80
80
|
t(this, g).vertical ? t(this, b).style.transform = `translate3d(0px, ${m * -1}px, 0px)` : t(this, b).style.transform = `translate3d(${m * -1}px, 0px, 0px)`;
|
|
81
81
|
}
|
|
82
82
|
mark(h) {
|
|
83
|
-
t(this, Q) !== h && (t(this, Q) && t(this, b).classList.remove(t(this, Q)), h && t(this, b).classList.add(h), r(this, Q, h),
|
|
83
|
+
t(this, Q) !== h && (t(this, Q) && t(this, b).classList.remove(t(this, Q)), h && t(this, b).classList.add(h), r(this, Q, h), he(t(this, b), "scrollSectionMarkChange", {
|
|
84
84
|
composed: !0,
|
|
85
85
|
detail: {
|
|
86
86
|
mark: t(this, Q)
|
|
@@ -89,8 +89,8 @@ class _e {
|
|
|
89
89
|
}));
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
b = new WeakMap(),
|
|
93
|
-
const
|
|
92
|
+
b = new WeakMap(), Jt = new WeakMap(), g = new WeakMap(), bt = new WeakMap(), H = new WeakMap(), Q = new WeakMap();
|
|
93
|
+
const Je = ke({
|
|
94
94
|
":host": {
|
|
95
95
|
position: "relative",
|
|
96
96
|
width: "100%",
|
|
@@ -128,65 +128,66 @@ const Ze = Pe({
|
|
|
128
128
|
flexShrink: "0"
|
|
129
129
|
}
|
|
130
130
|
});
|
|
131
|
-
var
|
|
132
|
-
class
|
|
131
|
+
var u, St, P, X, B, W, F, D, Y, tt, $, et, gt, T, y, vt, yt, Ct, wt, zt, A, Et, st, M, it, q, rt, xt, N, U, nt, f, It, l, Qt, Xt, v, S, k, V, ht, O, w, E, At, ot, G, lt, Pt, Dt, ct, K, Tt, R, x, o, be, _t, Lt, oe, le, Se, ge, z, Mt, Ae, Vt, Yt, ve, ye, ft, ce, te;
|
|
132
|
+
class jt extends HTMLElement {
|
|
133
133
|
constructor() {
|
|
134
134
|
super();
|
|
135
135
|
s(this, o);
|
|
136
|
-
s(this,
|
|
137
|
-
s(this,
|
|
138
|
-
s(this,
|
|
136
|
+
s(this, u, null);
|
|
137
|
+
s(this, St, new p(this, "--controls", !0));
|
|
138
|
+
s(this, P, new p(this, "--axis", "y"));
|
|
139
|
+
s(this, X, new p(this, "--reverse", !1));
|
|
139
140
|
s(this, B, new p(this, "--direction", 0));
|
|
140
141
|
s(this, W, new p(this, "--pages", 0, {
|
|
141
142
|
validate: (e) => Math.max(0, e - 1)
|
|
142
143
|
}));
|
|
143
144
|
s(this, F, new p(this, "--split", !1));
|
|
144
|
-
s(this,
|
|
145
|
-
s(this,
|
|
145
|
+
s(this, D, new p(this, "--sectional", !1));
|
|
146
|
+
s(this, Y, new p(
|
|
146
147
|
this,
|
|
147
148
|
"--tween-easing",
|
|
148
149
|
!1
|
|
149
150
|
));
|
|
150
|
-
s(this,
|
|
151
|
+
s(this, tt, new p(
|
|
151
152
|
this,
|
|
152
153
|
"--tween-duration",
|
|
153
154
|
!1
|
|
154
155
|
));
|
|
155
156
|
s(this, $, new p(this, "--auto-size", !1));
|
|
156
|
-
s(this,
|
|
157
|
+
s(this, et, new p(
|
|
157
158
|
this,
|
|
158
159
|
"--wheel-max-delta",
|
|
159
160
|
!1
|
|
160
161
|
));
|
|
161
|
-
s(this,
|
|
162
|
-
s(this,
|
|
162
|
+
s(this, gt, new p(this, "--drag-inertion", 1));
|
|
163
|
+
s(this, T, new p(
|
|
163
164
|
this,
|
|
164
165
|
"--sections-in-view",
|
|
165
166
|
1
|
|
166
167
|
));
|
|
167
168
|
s(this, y, new p(this, "--loop", !1));
|
|
168
|
-
s(this,
|
|
169
|
-
s(this,
|
|
170
|
-
s(this,
|
|
171
|
-
s(this,
|
|
172
|
-
s(this,
|
|
169
|
+
s(this, vt, new p(this, "--damping", 20));
|
|
170
|
+
s(this, yt, new p(this, "--mass", 0));
|
|
171
|
+
s(this, Ct, new p(this, "--stiffness", 0));
|
|
172
|
+
s(this, wt, new p(this, "--mouse-drag", !1));
|
|
173
|
+
s(this, zt, new p(
|
|
173
174
|
this,
|
|
174
175
|
"--section-distance-scale",
|
|
175
176
|
0.5
|
|
176
177
|
));
|
|
177
|
-
s(this,
|
|
178
|
-
s(this,
|
|
178
|
+
s(this, A, new p(this, "--autoplay", 0));
|
|
179
|
+
s(this, Et, new p(
|
|
179
180
|
this,
|
|
180
181
|
"--autoplay-pause-duration",
|
|
181
182
|
0
|
|
182
183
|
));
|
|
183
|
-
s(this,
|
|
184
|
+
s(this, st, new p(
|
|
184
185
|
this,
|
|
185
186
|
"--autoplay-user-direction",
|
|
186
187
|
!1
|
|
187
188
|
));
|
|
188
189
|
s(this, M, new p(this, "--classes", !1));
|
|
189
|
-
s(this,
|
|
190
|
+
s(this, it, new p(
|
|
190
191
|
this,
|
|
191
192
|
"--current-index-start-offset",
|
|
192
193
|
0
|
|
@@ -196,52 +197,52 @@ class Zt extends HTMLElement {
|
|
|
196
197
|
"--current-index-end-offset",
|
|
197
198
|
0
|
|
198
199
|
));
|
|
199
|
-
s(this,
|
|
200
|
-
s(this,
|
|
200
|
+
s(this, rt, new p(this, "--focus-delay", 0));
|
|
201
|
+
s(this, xt, new p(
|
|
201
202
|
this,
|
|
202
203
|
"--focus-duration",
|
|
203
204
|
3e3
|
|
204
205
|
));
|
|
205
206
|
s(this, N, new p(this, "--disabled", !1));
|
|
206
207
|
s(this, U, new p(this, "--hibernate", !1));
|
|
207
|
-
s(this,
|
|
208
|
+
s(this, nt, null);
|
|
208
209
|
s(this, f, null);
|
|
209
|
-
s(this,
|
|
210
|
+
s(this, It, null);
|
|
210
211
|
s(this, l, []);
|
|
211
|
-
s(this, Jt, 0);
|
|
212
212
|
s(this, Qt, 0);
|
|
213
|
+
s(this, Xt, 0);
|
|
213
214
|
s(this, v, 0);
|
|
214
215
|
s(this, S, 0);
|
|
215
216
|
s(this, k, 0);
|
|
216
217
|
s(this, V, null);
|
|
217
|
-
s(this,
|
|
218
|
+
s(this, ht, null);
|
|
218
219
|
s(this, O, null);
|
|
219
220
|
s(this, w, null);
|
|
220
|
-
s(this, E, new
|
|
221
|
-
s(this,
|
|
222
|
-
s(this,
|
|
221
|
+
s(this, E, new Re(0));
|
|
222
|
+
s(this, At, 0);
|
|
223
|
+
s(this, ot, 0);
|
|
223
224
|
s(this, G, !1);
|
|
224
|
-
s(this,
|
|
225
|
-
s(this,
|
|
225
|
+
s(this, lt, !0);
|
|
226
|
+
s(this, Pt, !0);
|
|
226
227
|
s(this, Dt);
|
|
227
|
-
s(this,
|
|
228
|
-
s(this, K, new
|
|
228
|
+
s(this, ct);
|
|
229
|
+
s(this, K, new Fe());
|
|
229
230
|
s(this, Tt, !1);
|
|
230
231
|
s(this, R, null);
|
|
231
232
|
s(this, x, !1);
|
|
232
233
|
s(this, z, () => {
|
|
233
234
|
if (t(this, U).current)
|
|
234
235
|
return;
|
|
235
|
-
t(this,
|
|
236
|
+
t(this, u).unlistenAnimationFrame();
|
|
236
237
|
const e = this.currentScrollValue / t(this, S) || 0, i = t(this, E).current;
|
|
237
|
-
if (r(this,
|
|
238
|
+
if (r(this, Qt, this.vertical ? pe(this) : fe(this)), r(this, Xt, this.vertical ? pe(t(this, f)) : fe(t(this, f))), r(this, v, this.vertical ? this.offsetHeight : this.offsetWidth), this.vertical ? r(this, k, Le.parse(
|
|
238
239
|
getComputedStyle(t(this, f)).rowGap
|
|
239
|
-
)) : r(this, k,
|
|
240
|
+
)) : r(this, k, Le.parse(
|
|
240
241
|
getComputedStyle(t(this, f)).columnGap
|
|
241
242
|
)), t(this, $).current && t(this, l).length) {
|
|
242
|
-
const n = t(this,
|
|
243
|
+
const n = t(this, T).current, d = (t(this, v) - t(this, k) * (n - 1)) / n;
|
|
243
244
|
t(this, l).forEach((m) => {
|
|
244
|
-
m.setSize(
|
|
245
|
+
m.setSize(d);
|
|
245
246
|
});
|
|
246
247
|
} else
|
|
247
248
|
t(this, l).forEach((n) => {
|
|
@@ -256,95 +257,98 @@ class Zt extends HTMLElement {
|
|
|
256
257
|
} else
|
|
257
258
|
this.vertical ? (t(this, f).style.width = "100%", t(this, f).style.height = "max-content", r(this, S, t(this, f).offsetHeight - t(this, v))) : (t(this, f).style.width = "max-content", t(this, f).style.height = "100%", r(this, S, t(this, f).offsetWidth - t(this, v)));
|
|
258
259
|
if (!t(this, y).current) {
|
|
259
|
-
const n = getComputedStyle(this),
|
|
260
|
-
r(this, S, t(this, S) +
|
|
260
|
+
const n = getComputedStyle(this), d = this.vertical ? parseFloat(n.paddingBlockStart) + parseFloat(n.paddingBlockEnd) : parseFloat(n.paddingInlineStart) + parseFloat(n.paddingInlineEnd);
|
|
261
|
+
r(this, S, t(this, S) + d), t(this, u).max = t(this, S);
|
|
261
262
|
}
|
|
262
263
|
if (t(this, y).current && t(this, l).length) {
|
|
263
|
-
const n = t(this, l)[t(this, l).length - 1],
|
|
264
|
-
r(this,
|
|
264
|
+
const n = t(this, l)[t(this, l).length - 1], d = n.position + n.size - t(this, v), m = t(this, S) - d;
|
|
265
|
+
r(this, ot, n.position + n.size + m);
|
|
265
266
|
} else
|
|
266
|
-
r(this,
|
|
267
|
-
if (t(this,
|
|
267
|
+
r(this, ot, t(this, S));
|
|
268
|
+
if (t(this, D).current && t(this, l).length) {
|
|
268
269
|
const n = t(this, l)[i];
|
|
269
|
-
t(this,
|
|
270
|
+
t(this, u).set(n.position, {
|
|
270
271
|
equalize: !0
|
|
271
272
|
});
|
|
272
273
|
} else
|
|
273
|
-
t(this,
|
|
274
|
+
t(this, u).set(e * t(this, S), {
|
|
274
275
|
equalize: !0
|
|
275
276
|
});
|
|
276
|
-
r(this, G, (this.vertical ? t(this, f).offsetHeight : t(this, f).offsetWidth) > t(this, v)), this.classList.toggle("has-overflow", t(this, G)), t(this, G) ? t(this, N).current ||
|
|
277
|
+
r(this, G, (this.vertical ? t(this, f).offsetHeight : t(this, f).offsetWidth) > t(this, v)), this.classList.toggle("has-overflow", t(this, G)), t(this, G) ? t(this, N).current || c(this, o, le).call(this) : c(this, o, oe).call(this), t(this, Mt).call(this);
|
|
277
278
|
});
|
|
278
|
-
s(this,
|
|
279
|
+
s(this, Mt, () => {
|
|
279
280
|
if (!t(this, G) || t(this, U).current || t(this, N).current)
|
|
280
281
|
return;
|
|
281
282
|
const e = this.currentScrollValue;
|
|
282
|
-
if (r(this,
|
|
283
|
+
if (r(this, At, Math.max(0, e - t(this, S))), t(this, l).length) {
|
|
283
284
|
for (let i = 0; i < t(this, l).length; i++)
|
|
284
285
|
t(this, l)[i].transform();
|
|
285
|
-
t(this, E).current =
|
|
286
|
+
t(this, E).current = c(this, o, ce).call(this);
|
|
286
287
|
} else
|
|
287
288
|
this.vertical ? t(this, f).style.transform = `translate3d(0px, ${e * -1}px, 0px)` : t(this, f).style.transform = `translate3d(${e * -1}px, 0px, 0px)`;
|
|
288
|
-
|
|
289
|
+
mt.update(
|
|
289
290
|
this,
|
|
290
|
-
t(this,
|
|
291
|
+
t(this, P).current,
|
|
291
292
|
e
|
|
292
293
|
);
|
|
293
294
|
});
|
|
294
|
-
s(this,
|
|
295
|
-
t(this,
|
|
295
|
+
s(this, Vt, (e, i) => {
|
|
296
|
+
t(this, St).current && (c(this, o, ve).call(this, Math.sign(i) || 1), t(this, Yt).call(this, e, i));
|
|
296
297
|
});
|
|
297
|
-
s(this,
|
|
298
|
+
s(this, Yt, (e, i) => {
|
|
298
299
|
if (t(this, B).current) {
|
|
299
300
|
if (t(this, B).current < 0 && i > 0)
|
|
300
301
|
return;
|
|
301
302
|
if (t(this, B).current > 0 && i < 0)
|
|
302
303
|
return;
|
|
303
304
|
}
|
|
304
|
-
if (t(this,
|
|
305
|
-
const n = t(this, l)[
|
|
305
|
+
if (t(this, ct) || t(this, K).unlistenAnimationFrame(), !t(this, A).current && t(this, rt).current && (clearInterval(t(this, Dt)), r(this, Dt, setTimeout(() => {
|
|
306
|
+
const n = t(this, l)[c(this, o, ce).call(this)];
|
|
306
307
|
n && this.scrollToSection(n.index, {
|
|
307
308
|
tween: {
|
|
308
|
-
duration: t(this,
|
|
309
|
-
easing:
|
|
309
|
+
duration: t(this, xt).current,
|
|
310
|
+
easing: He
|
|
310
311
|
}
|
|
311
312
|
});
|
|
312
|
-
}, t(this,
|
|
313
|
-
if (t(this,
|
|
313
|
+
}, t(this, rt).current))), !(e.includes("drag") && !Ge.isMobile && !t(this, wt).current)) {
|
|
314
|
+
if (t(this, D).current && e !== "drag") {
|
|
314
315
|
const n = Math.sign(i);
|
|
315
316
|
if (t(this, l).length) {
|
|
316
|
-
const
|
|
317
|
-
tween: t(this,
|
|
318
|
-
easing: t(this,
|
|
319
|
-
duration: t(this,
|
|
317
|
+
const d = {
|
|
318
|
+
tween: t(this, Y).current || t(this, tt).current ? {
|
|
319
|
+
easing: t(this, Y).current || "easeInOutCubic",
|
|
320
|
+
duration: t(this, tt).current || 500
|
|
320
321
|
} : void 0
|
|
321
322
|
};
|
|
322
|
-
t(this, Tt) ? this.scrollToSection(t(this, E).current,
|
|
323
|
+
t(this, Tt) ? this.scrollToSection(t(this, E).current, d) : this.shiftSections(n, d);
|
|
323
324
|
} else
|
|
324
|
-
t(this,
|
|
325
|
+
t(this, u).shift(n * t(this, v));
|
|
325
326
|
} else
|
|
326
|
-
t(this,
|
|
327
|
+
t(this, u).shift(i);
|
|
327
328
|
r(this, Tt, e === "drag");
|
|
328
329
|
}
|
|
329
330
|
});
|
|
330
|
-
s(this,
|
|
331
|
-
r(this, x, !0), this.hibernatedCSSProperty.current ||
|
|
331
|
+
s(this, te, () => {
|
|
332
|
+
r(this, x, !0), this.hibernatedCSSProperty.current || c(this, o, ge).call(this);
|
|
332
333
|
});
|
|
333
|
-
if (
|
|
334
|
+
if (ae) {
|
|
334
335
|
const e = this.attachShadow({ mode: "open" });
|
|
335
|
-
e.adoptedStyleSheets = [
|
|
336
|
+
e.adoptedStyleSheets = [Je];
|
|
336
337
|
const i = document.createElement("div");
|
|
337
|
-
i.className = "static", i.innerHTML = '<slot name="static"></slot>', e.appendChild(i), r(this,
|
|
338
|
+
i.className = "static", i.innerHTML = '<slot name="static"></slot>', e.appendChild(i), r(this, nt, document.createElement("div")), t(this, nt).className = "content-wrapper", r(this, f, document.createElement("div")), t(this, f).className = "content", r(this, It, document.createElement("slot")), t(this, f).appendChild(t(this, It)), t(this, nt).appendChild(t(this, f)), e.appendChild(t(this, nt));
|
|
338
339
|
}
|
|
339
340
|
}
|
|
340
341
|
get damped() {
|
|
341
|
-
return t(this,
|
|
342
|
+
return t(this, u);
|
|
342
343
|
}
|
|
343
344
|
get controlsCSSProperty() {
|
|
344
|
-
return t(this,
|
|
345
|
+
return t(this, St);
|
|
345
346
|
}
|
|
346
347
|
get axisCSSProperty() {
|
|
347
|
-
return t(this,
|
|
348
|
+
return t(this, P);
|
|
349
|
+
}
|
|
350
|
+
get reverseCSSProperty() {
|
|
351
|
+
return t(this, X);
|
|
348
352
|
}
|
|
349
353
|
get directionCSSProperty() {
|
|
350
354
|
return t(this, B);
|
|
@@ -356,67 +360,67 @@ class Zt extends HTMLElement {
|
|
|
356
360
|
return t(this, F);
|
|
357
361
|
}
|
|
358
362
|
get sectionalCSSProperty() {
|
|
359
|
-
return t(this,
|
|
363
|
+
return t(this, D);
|
|
360
364
|
}
|
|
361
365
|
get easingCSSProperty() {
|
|
362
|
-
return t(this,
|
|
366
|
+
return t(this, Y);
|
|
363
367
|
}
|
|
364
368
|
get durationCSSProperty() {
|
|
365
|
-
return t(this,
|
|
369
|
+
return t(this, tt);
|
|
366
370
|
}
|
|
367
371
|
get autoSizeCSSProperty() {
|
|
368
372
|
return t(this, $);
|
|
369
373
|
}
|
|
370
374
|
get wheelMaxDeltaCSSProperty() {
|
|
371
|
-
return t(this,
|
|
375
|
+
return t(this, et);
|
|
372
376
|
}
|
|
373
377
|
get dragInertionCSSProperty() {
|
|
374
|
-
return t(this,
|
|
378
|
+
return t(this, gt);
|
|
375
379
|
}
|
|
376
380
|
get sectionsInViewCSSProperty() {
|
|
377
|
-
return t(this,
|
|
381
|
+
return t(this, T);
|
|
378
382
|
}
|
|
379
383
|
get loopCSSProperty() {
|
|
380
384
|
return t(this, y);
|
|
381
385
|
}
|
|
382
386
|
get dampingCSSProperty() {
|
|
383
|
-
return t(this,
|
|
387
|
+
return t(this, vt);
|
|
384
388
|
}
|
|
385
389
|
get massCSSProperty() {
|
|
386
|
-
return t(this,
|
|
390
|
+
return t(this, yt);
|
|
387
391
|
}
|
|
388
392
|
get stiffnessCSSProperty() {
|
|
389
|
-
return t(this,
|
|
393
|
+
return t(this, Ct);
|
|
390
394
|
}
|
|
391
395
|
get mouseDragCSSProperty() {
|
|
392
|
-
return t(this,
|
|
396
|
+
return t(this, wt);
|
|
393
397
|
}
|
|
394
398
|
get sectionDistanceScaleCSSProperty() {
|
|
395
|
-
return t(this,
|
|
399
|
+
return t(this, zt);
|
|
396
400
|
}
|
|
397
401
|
get autoplayCSSProperty() {
|
|
398
|
-
return t(this,
|
|
402
|
+
return t(this, A);
|
|
399
403
|
}
|
|
400
404
|
get autoplayPauseDurationCSSProperty() {
|
|
401
|
-
return t(this,
|
|
405
|
+
return t(this, Et);
|
|
402
406
|
}
|
|
403
407
|
get autoplayUserDirectionCSSProperty() {
|
|
404
|
-
return t(this,
|
|
408
|
+
return t(this, st);
|
|
405
409
|
}
|
|
406
410
|
get classesCSSProperty() {
|
|
407
411
|
return t(this, M);
|
|
408
412
|
}
|
|
409
413
|
get currentIndexStartOffsetCSSProperty() {
|
|
410
|
-
return t(this,
|
|
414
|
+
return t(this, it);
|
|
411
415
|
}
|
|
412
416
|
get currentIndexEndOffsetCSSProperty() {
|
|
413
417
|
return t(this, q);
|
|
414
418
|
}
|
|
415
419
|
get focusDelayCSSProperty() {
|
|
416
|
-
return t(this,
|
|
420
|
+
return t(this, rt);
|
|
417
421
|
}
|
|
418
422
|
get focusDurationCSSProperty() {
|
|
419
|
-
return t(this,
|
|
423
|
+
return t(this, xt);
|
|
420
424
|
}
|
|
421
425
|
get disabledCSSProperty() {
|
|
422
426
|
return t(this, N);
|
|
@@ -425,13 +429,13 @@ class Zt extends HTMLElement {
|
|
|
425
429
|
return t(this, U);
|
|
426
430
|
}
|
|
427
431
|
get currentScrollValue() {
|
|
428
|
-
return
|
|
432
|
+
return c(this, o, ye).call(this, "current");
|
|
429
433
|
}
|
|
430
434
|
get targetScrollValue() {
|
|
431
|
-
return
|
|
435
|
+
return c(this, o, ye).call(this, "target");
|
|
432
436
|
}
|
|
433
437
|
get contentWrapperElement() {
|
|
434
|
-
return t(this,
|
|
438
|
+
return t(this, nt);
|
|
435
439
|
}
|
|
436
440
|
get contentElement() {
|
|
437
441
|
return t(this, f);
|
|
@@ -440,10 +444,10 @@ class Zt extends HTMLElement {
|
|
|
440
444
|
return t(this, l);
|
|
441
445
|
}
|
|
442
446
|
get position() {
|
|
443
|
-
return t(this,
|
|
447
|
+
return t(this, Qt);
|
|
444
448
|
}
|
|
445
449
|
get contentPosition() {
|
|
446
|
-
return t(this,
|
|
450
|
+
return t(this, Xt);
|
|
447
451
|
}
|
|
448
452
|
get viewportSize() {
|
|
449
453
|
return t(this, v);
|
|
@@ -459,26 +463,26 @@ class Zt extends HTMLElement {
|
|
|
459
463
|
}
|
|
460
464
|
get limit() {
|
|
461
465
|
return Math.ceil(
|
|
462
|
-
t(this, l).length - t(this,
|
|
466
|
+
t(this, l).length - t(this, T).current
|
|
463
467
|
);
|
|
464
468
|
}
|
|
465
469
|
get distance() {
|
|
466
|
-
return t(this,
|
|
470
|
+
return t(this, ot);
|
|
467
471
|
}
|
|
468
472
|
get loopDistance() {
|
|
469
|
-
return t(this, y).current ? t(this,
|
|
473
|
+
return t(this, y).current ? t(this, ot) + t(this, k) : t(this, ot);
|
|
470
474
|
}
|
|
471
475
|
get hasOverflow() {
|
|
472
476
|
return t(this, G);
|
|
473
477
|
}
|
|
474
478
|
get overscroll() {
|
|
475
|
-
return t(this,
|
|
479
|
+
return t(this, At);
|
|
476
480
|
}
|
|
477
481
|
get scrollLine() {
|
|
478
482
|
return t(this, R);
|
|
479
483
|
}
|
|
480
484
|
get vertical() {
|
|
481
|
-
return t(this,
|
|
485
|
+
return t(this, P).current === "y";
|
|
482
486
|
}
|
|
483
487
|
get currentProgress() {
|
|
484
488
|
return this.currentScrollValue / this.loopDistance || 0;
|
|
@@ -487,218 +491,223 @@ class Zt extends HTMLElement {
|
|
|
487
491
|
return this.targetScrollValue / this.loopDistance || 0;
|
|
488
492
|
}
|
|
489
493
|
get scrollWidth() {
|
|
490
|
-
return t(this,
|
|
494
|
+
return t(this, P).current === "y" ? 0 : t(this, u).distance;
|
|
491
495
|
}
|
|
492
496
|
get scrollHeight() {
|
|
493
|
-
return t(this,
|
|
497
|
+
return t(this, P).current === "x" ? 0 : t(this, u).distance;
|
|
494
498
|
}
|
|
495
499
|
onScroll(...e) {
|
|
496
|
-
return t(this,
|
|
500
|
+
return t(this, u).subscribe(...e);
|
|
497
501
|
}
|
|
498
502
|
offScroll(...e) {
|
|
499
|
-
t(this,
|
|
503
|
+
t(this, u).unsubscribe(...e);
|
|
500
504
|
}
|
|
501
505
|
//https://github.com/pmndrs/drei/blob/d3282cdd02d170ef603a5e096505d83dc93cd57a/src/web/ScrollControls.tsx#L85C7-L100C9
|
|
502
506
|
range(e, i, n = 0) {
|
|
503
|
-
const
|
|
504
|
-
return this.currentProgress <
|
|
507
|
+
const d = e - n, m = d + i + n * 2;
|
|
508
|
+
return this.currentProgress < d ? 0 : this.currentProgress > m ? 1 : (this.currentProgress - d) / (m - d);
|
|
505
509
|
}
|
|
506
510
|
curve(e, i, n = 0) {
|
|
507
511
|
return Math.sin(this.range(e, i, n) * Math.PI);
|
|
508
512
|
}
|
|
509
513
|
visible(e, i, n = 0) {
|
|
510
|
-
const
|
|
511
|
-
return this.currentProgress >=
|
|
514
|
+
const d = e - n, m = d + i + n * 2;
|
|
515
|
+
return this.currentProgress >= d && this.currentProgress <= m;
|
|
512
516
|
}
|
|
513
517
|
scrollToSection(e, i) {
|
|
514
518
|
if (!t(this, l).length)
|
|
515
519
|
return;
|
|
516
|
-
const n = t(this, E).current,
|
|
520
|
+
const n = t(this, E).current, d = c(this, o, Ae).call(this, e), m = t(this, l)[n], C = t(this, l)[d];
|
|
517
521
|
if (m && C) {
|
|
518
522
|
let I = 0;
|
|
519
|
-
const
|
|
520
|
-
t(this, y).current ?
|
|
523
|
+
const ue = c(this, o, ce).call(this), Kt = t(this, l)[ue], Te = Kt ? this.targetScrollValue - Kt.position : 0;
|
|
524
|
+
t(this, y).current ? d === 0 && n === t(this, l).length - 1 ? I = t(this, S) + t(this, v) - m.position + t(this, k) : d === t(this, l).length - 1 && n === 0 ? I = C.position - (t(this, S) + t(this, v) + t(this, k)) : I = C.position - m.position : I = C.position - m.position, this.shiftPosition(I - Te, i);
|
|
521
525
|
}
|
|
522
526
|
}
|
|
523
527
|
shiftSections(e, i) {
|
|
524
528
|
t(this, l).length && this.scrollToSection(t(this, E).current + e, i);
|
|
525
529
|
}
|
|
526
530
|
setPosition(e, i) {
|
|
527
|
-
|
|
528
|
-
r(this,
|
|
529
|
-
}, i.tween.duration || 0))) : t(this,
|
|
531
|
+
c(this, o, ve).call(this, Math.sign(e) || 1), i != null && i.tween ? t(this, ct) || (t(this, K).set(t(this, u).current, { equalize: !0 }), t(this, K).set(e, Pe({}, i.tween)), r(this, ct, setTimeout(() => {
|
|
532
|
+
r(this, ct, void 0);
|
|
533
|
+
}, i.tween.duration || 0))) : t(this, u).set(e, {
|
|
530
534
|
equalize: (i == null ? void 0 : i.behaviour) === "instant"
|
|
531
535
|
});
|
|
532
536
|
}
|
|
533
537
|
shiftPosition(e, i) {
|
|
534
|
-
this.setPosition(t(this,
|
|
538
|
+
this.setPosition(t(this, u).target + e, i);
|
|
535
539
|
}
|
|
536
540
|
connectedCallback() {
|
|
537
|
-
|
|
541
|
+
mt.register(this), r(this, u, new We(0, {
|
|
538
542
|
damping: 0.01,
|
|
539
543
|
min: 0,
|
|
540
|
-
order:
|
|
541
|
-
})), this.setAttribute("tabindex", "0"), r(this, V, new
|
|
544
|
+
order: Be.SCROLL
|
|
545
|
+
})), this.setAttribute("tabindex", "0"), r(this, V, new $e({ element: t(this, f) })), t(this, V).changeEvent.subscribe(t(this, Vt)), r(this, ht, new qe({
|
|
542
546
|
element: this
|
|
543
|
-
})), t(this,
|
|
544
|
-
t(this,
|
|
545
|
-
), r(this, O, new
|
|
547
|
+
})), t(this, ht).changeEvent.subscribe(
|
|
548
|
+
t(this, Vt)
|
|
549
|
+
), r(this, O, new Ne({ element: t(this, f) })), t(this, O).changeEvent.subscribe(t(this, Vt)), r(this, w, new Ue({
|
|
546
550
|
culling: this
|
|
547
|
-
})), t(this, w).changeEvent.subscribe(t(this,
|
|
548
|
-
|
|
549
|
-
}), t(this,
|
|
550
|
-
|
|
551
|
-
}), t(this,
|
|
551
|
+
})), t(this, w).changeEvent.subscribe(t(this, Yt)), t(this, P).subscribe(() => {
|
|
552
|
+
c(this, o, be).call(this);
|
|
553
|
+
}), t(this, X).subscribe(() => {
|
|
554
|
+
c(this, o, be).call(this);
|
|
555
|
+
}), t(this, et).subscribe((e) => {
|
|
556
|
+
t(this, V).axis = e.current ? "max" : t(this, P).current;
|
|
557
|
+
}), t(this, gt).subscribe((e) => {
|
|
552
558
|
t(this, O).inertion = typeof e.current == "number" ? e.current : 1;
|
|
553
559
|
}), t(this, W).subscribe(() => {
|
|
554
560
|
t(this, x) && t(this, z).call(this);
|
|
555
561
|
}), t(this, F).subscribe(({ current: e }) => {
|
|
556
|
-
t(this, x) && (e ?
|
|
557
|
-
}), t(this,
|
|
558
|
-
t(this, V).debounce = e.current, t(this, O).swipe = e.current, t(this, w).interval = e.current, t(this, x) && (e.current && !e.previous && !t(this, l).length ?
|
|
562
|
+
t(this, x) && (e ? c(this, o, _t).call(this) : c(this, o, Lt).call(this));
|
|
563
|
+
}), t(this, D).subscribe((e) => {
|
|
564
|
+
t(this, V).debounce = e.current, t(this, O).swipe = e.current, t(this, w).interval = e.current, t(this, x) && (e.current && !e.previous && !t(this, l).length ? c(this, o, _t).call(this) : !e.current && e.previous && t(this, l).length && c(this, o, Lt).call(this));
|
|
559
565
|
}), t(this, $).subscribe((e) => {
|
|
560
|
-
t(this, x) && (t(this, z).call(this), e.current && !e.previous && !t(this, l).length ?
|
|
561
|
-
}), t(this,
|
|
562
|
-
t(this, x) && (t(this, z).call(this),
|
|
566
|
+
t(this, x) && (t(this, z).call(this), e.current && !e.previous && !t(this, l).length ? c(this, o, _t).call(this) : !e.current && e.previous && t(this, l).length && c(this, o, Lt).call(this));
|
|
567
|
+
}), t(this, T).subscribe((e) => {
|
|
568
|
+
t(this, x) && (t(this, z).call(this), c(this, o, ft).call(this));
|
|
563
569
|
}), t(this, y).subscribe((e) => {
|
|
564
|
-
e.current ? (t(this, x) && (t(this, l).length || (t(this, F).current = !0)), t(this,
|
|
565
|
-
}), t(this, gt).subscribe((e) => {
|
|
566
|
-
t(this, a).damping = e.current;
|
|
570
|
+
e.current ? (t(this, x) && (t(this, l).length || (t(this, F).current = !0)), t(this, u).max = 1 / 0, t(this, u).min = -1 / 0) : (r(this, At, 0), t(this, u).max = t(this, S), t(this, u).min = 0);
|
|
567
571
|
}), t(this, vt).subscribe((e) => {
|
|
568
|
-
t(this,
|
|
572
|
+
t(this, u).damping = e.current;
|
|
569
573
|
}), t(this, yt).subscribe((e) => {
|
|
570
|
-
t(this,
|
|
571
|
-
}), t(this,
|
|
572
|
-
t(this,
|
|
573
|
-
}), t(this,
|
|
574
|
+
t(this, u).mass = e.current;
|
|
575
|
+
}), t(this, Ct).subscribe((e) => {
|
|
576
|
+
t(this, u).stiffness = e.current;
|
|
577
|
+
}), t(this, A).subscribe((e) => {
|
|
578
|
+
t(this, w).speed = e.current, !t(this, lt) && e.current && !e.previous ? t(this, w).connect() : !e.current && e.previous && t(this, w).disconnect();
|
|
579
|
+
}), t(this, st).subscribe((e) => {
|
|
574
580
|
e.current || (t(this, w).direction = 1);
|
|
575
581
|
}), t(this, M).subscribe((e) => {
|
|
576
|
-
t(this, x) &&
|
|
577
|
-
}), t(this,
|
|
578
|
-
t(this, x) && t(this, M).current &&
|
|
582
|
+
t(this, x) && c(this, o, ft).call(this);
|
|
583
|
+
}), t(this, it).subscribe((e) => {
|
|
584
|
+
t(this, x) && t(this, M).current && c(this, o, ft).call(this);
|
|
579
585
|
}), t(this, q).subscribe((e) => {
|
|
580
|
-
t(this, x) && t(this, M).current &&
|
|
581
|
-
}), t(this,
|
|
586
|
+
t(this, x) && t(this, M).current && c(this, o, ft).call(this);
|
|
587
|
+
}), t(this, u).isRunning.subscribe((e) => {
|
|
582
588
|
this.classList.toggle("active", e.current);
|
|
583
589
|
}), t(this, E).subscribe((e) => {
|
|
584
|
-
t(this, l).length &&
|
|
590
|
+
t(this, l).length && c(this, o, ft).call(this);
|
|
585
591
|
}), t(this, K).subscribe((e) => {
|
|
586
|
-
t(this, K).isRunning.current && t(this,
|
|
592
|
+
t(this, K).isRunning.current && t(this, u).set(e.current, { equalize: !0 });
|
|
587
593
|
}), t(this, N).subscribe((e) => {
|
|
588
|
-
e.current && !e.previous ? (this.classList.add("disabled"),
|
|
594
|
+
e.current && !e.previous ? (this.classList.add("disabled"), c(this, o, oe).call(this)) : !e.current && e.previous && (this.classList.remove("disabled"), c(this, o, le).call(this));
|
|
589
595
|
}), t(this, U).subscribe((e) => {
|
|
590
|
-
e.current && !e.previous ? (this.classList.add("hibernated"),
|
|
591
|
-
}), t(this,
|
|
596
|
+
e.current && !e.previous ? (this.classList.add("hibernated"), c(this, o, Se).call(this)) : !e.current && e.previous && (this.classList.remove("hibernated"), c(this, o, ge).call(this));
|
|
597
|
+
}), t(this, St).observe(), t(this, P).observe(), t(this, X).observe(), t(this, B).observe(), t(this, W).observe(), t(this, F).observe(), t(this, D).observe(), t(this, Y).observe(), t(this, tt).observe(), t(this, $).observe(), t(this, et).observe(), t(this, gt).observe(), t(this, T).observe(), t(this, y).observe(), t(this, vt).observe(), t(this, yt).observe(), t(this, Ct).observe(), t(this, wt).observe(), t(this, zt).observe(), t(this, A).observe(), t(this, A).observe(), t(this, Et).observe(), t(this, st).observe(), t(this, M).observe(), t(this, it).observe(), t(this, q).observe(), t(this, rt).observe(), t(this, xt).observe(), t(this, N).observe(), t(this, U).observe(), kt.subscribe(t(this, te), me.LAST);
|
|
592
598
|
}
|
|
593
599
|
disconnectedCallback() {
|
|
594
|
-
this.removeAttribute("tabindex"), this.classList.remove("disabled"), this.classList.remove("hibernated"), t(this,
|
|
600
|
+
this.removeAttribute("tabindex"), this.classList.remove("disabled"), this.classList.remove("hibernated"), t(this, St).unobserve(), t(this, P).unobserve(), t(this, X).unobserve(), t(this, B).unobserve(), t(this, W).unobserve(), t(this, F).unobserve(), t(this, D).unobserve(), t(this, Y).unobserve(), t(this, tt).unobserve(), t(this, $).unobserve(), t(this, et).unobserve(), t(this, gt).unobserve(), t(this, T).unobserve(), t(this, y).unobserve(), t(this, vt).unobserve(), t(this, yt).unobserve(), t(this, Ct).unobserve(), t(this, wt).unobserve(), t(this, zt).unobserve(), t(this, A).unobserve(), t(this, Et).unobserve(), t(this, st).unobserve(), t(this, M).unobserve(), t(this, it).unobserve(), t(this, q).unobserve(), t(this, rt).unobserve(), t(this, xt).unobserve(), t(this, N).unobserve(), t(this, U).unobserve(), kt.unsubscribe(t(this, te)), c(this, o, Se).call(this);
|
|
595
601
|
}
|
|
596
602
|
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
603
|
+
u = new WeakMap(), St = new WeakMap(), P = new WeakMap(), X = new WeakMap(), B = new WeakMap(), W = new WeakMap(), F = new WeakMap(), D = new WeakMap(), Y = new WeakMap(), tt = new WeakMap(), $ = new WeakMap(), et = new WeakMap(), gt = new WeakMap(), T = new WeakMap(), y = new WeakMap(), vt = new WeakMap(), yt = new WeakMap(), Ct = new WeakMap(), wt = new WeakMap(), zt = new WeakMap(), A = new WeakMap(), Et = new WeakMap(), st = new WeakMap(), M = new WeakMap(), it = new WeakMap(), q = new WeakMap(), rt = new WeakMap(), xt = new WeakMap(), N = new WeakMap(), U = new WeakMap(), nt = new WeakMap(), f = new WeakMap(), It = new WeakMap(), l = new WeakMap(), Qt = new WeakMap(), Xt = new WeakMap(), v = new WeakMap(), S = new WeakMap(), k = new WeakMap(), V = new WeakMap(), ht = new WeakMap(), O = new WeakMap(), w = new WeakMap(), E = new WeakMap(), At = new WeakMap(), ot = new WeakMap(), G = new WeakMap(), lt = new WeakMap(), Pt = new WeakMap(), Dt = new WeakMap(), ct = new WeakMap(), K = new WeakMap(), Tt = new WeakMap(), R = new WeakMap(), x = new WeakMap(), o = new WeakSet(), be = function() {
|
|
604
|
+
const e = t(this, P).current, i = t(this, X).current ? "-reverse" : "";
|
|
605
|
+
t(this, f).style.flexDirection = e === "x" ? `row${i}` : `column${i}`, t(this, V).axis = t(this, et).current ? "max" : e, t(this, ht).dimension = e === "x" ? "width" : "height", t(this, O).axis = e, e === "x" ? this.style.touchAction = "pan-y" : e === "y" && (this.style.touchAction = "pan-x"), t(this, x) && t(this, z).call(this);
|
|
606
|
+
}, _t = function() {
|
|
607
|
+
c(this, o, Lt).call(this), t(this, It).assignedElements().forEach((e, i) => {
|
|
608
|
+
e instanceof HTMLElement && t(this, l).push(new je(e, i, this));
|
|
609
|
+
}), t(this, f).style.transform = "", he(this, "scrollSectionsChange", {
|
|
601
610
|
custom: !0,
|
|
602
611
|
composed: !0
|
|
603
|
-
}), t(this, z).call(this),
|
|
604
|
-
},
|
|
612
|
+
}), t(this, z).call(this), c(this, o, ft).call(this);
|
|
613
|
+
}, Lt = function() {
|
|
605
614
|
t(this, l).forEach((e) => {
|
|
606
615
|
e.destroy();
|
|
607
|
-
}), r(this, l, []), t(this, E).reset(), t(this,
|
|
616
|
+
}), r(this, l, []), t(this, E).reset(), t(this, u).reset(), he(this, "scrollSectionsChange", {
|
|
608
617
|
custom: !0,
|
|
609
618
|
composed: !0
|
|
610
619
|
});
|
|
611
|
-
},
|
|
612
|
-
t(this,
|
|
620
|
+
}, oe = function() {
|
|
621
|
+
t(this, lt) || (r(this, lt, !0), t(this, u).unsubscribe(t(this, Mt)), t(this, u).unlistenAnimationFrame(), clearInterval(t(this, Dt)), clearInterval(t(this, ct)), t(this, K).unlistenAnimationFrame(), t(this, V).disconnect(), t(this, ht).disconnect(), t(this, O).disconnect(), t(this, w).disconnect(), t(this, G) || this.sections.forEach((e) => {
|
|
613
622
|
e.unsetTransform();
|
|
614
623
|
}));
|
|
615
|
-
},
|
|
616
|
-
t(this,
|
|
617
|
-
},
|
|
618
|
-
t(this,
|
|
619
|
-
},
|
|
620
|
-
t(this,
|
|
621
|
-
}, z = new WeakMap(),
|
|
624
|
+
}, le = function() {
|
|
625
|
+
t(this, lt) && (r(this, lt, !1), t(this, u).subscribe(t(this, Mt)), t(this, V).connect(), t(this, ht).connect(), t(this, O).connect(), t(this, A).current && t(this, w).connect());
|
|
626
|
+
}, Se = function() {
|
|
627
|
+
t(this, Pt) || (r(this, Pt, !0), kt.unsubscribe(t(this, z)), Zt.unsubscribe(t(this, z)), c(this, o, oe).call(this), t(this, f).style.transform = "", t(this, f).style.height = "", t(this, f).style.width = "", this.classList.remove("has-overflow", "start", "end"), t(this, l).length ? c(this, o, Lt).call(this) : (t(this, E).reset(), t(this, u).reset()), mt.unregister(this));
|
|
628
|
+
}, ge = function() {
|
|
629
|
+
t(this, Pt) && (r(this, Pt, !1), mt.register(this), (t(this, y).current || t(this, F).current || t(this, y).current || t(this, $).current || t(this, D).current) && c(this, o, _t).call(this), c(this, o, le).call(this), kt.subscribe(t(this, z), me.SCROLL), Zt.subscribe(this, t(this, z)));
|
|
630
|
+
}, z = new WeakMap(), Mt = new WeakMap(), Ae = function(e) {
|
|
622
631
|
let i = t(this, E).current;
|
|
623
|
-
return t(this, y).current ? (i = e % t(this, l).length, i = i < 0 ? t(this, l).length + i : i) : i =
|
|
624
|
-
},
|
|
625
|
-
t(this,
|
|
626
|
-
t(this,
|
|
632
|
+
return t(this, y).current ? (i = e % t(this, l).length, i = i < 0 ? t(this, l).length + i : i) : i = ze(e, 0, this.limit), i;
|
|
633
|
+
}, Vt = new WeakMap(), Yt = new WeakMap(), ve = function(e = 1) {
|
|
634
|
+
t(this, st).current && (t(this, w).direction = e), t(this, A).current && t(this, w).pauseAndContinue(
|
|
635
|
+
t(this, Et).current,
|
|
627
636
|
this.sectionalCSSProperty.current
|
|
628
637
|
);
|
|
629
|
-
},
|
|
638
|
+
}, ye = function(e = "current") {
|
|
630
639
|
if (t(this, y).current && t(this, l).length) {
|
|
631
|
-
const i = t(this,
|
|
640
|
+
const i = t(this, u)[e] % (t(this, S) + t(this, v) + t(this, k));
|
|
632
641
|
return i < 0 ? t(this, S) + i + t(this, v) + t(this, k) : i;
|
|
633
642
|
} else
|
|
634
|
-
return t(this,
|
|
643
|
+
return t(this, u)[e];
|
|
635
644
|
}, ft = function() {
|
|
636
645
|
if (t(this, l).length) {
|
|
637
|
-
const e = t(this, E).current + t(this,
|
|
638
|
-
if (e === 0 ? r(this, R, "start") : e === this.limit ? r(this, R, "end") : r(this, R, null),
|
|
646
|
+
const e = t(this, E).current + t(this, it).current;
|
|
647
|
+
if (e === 0 ? r(this, R, "start") : e === this.limit ? r(this, R, "end") : r(this, R, null), he(this, "scrollLine", {
|
|
639
648
|
detail: { line: t(this, R) }
|
|
640
649
|
}), t(this, M).current) {
|
|
641
650
|
this.classList.remove("end", "start"), t(this, R) && this.classList.add(t(this, R));
|
|
642
|
-
const i = t(this,
|
|
643
|
-
t(this, l).forEach((n,
|
|
651
|
+
const i = t(this, T).current + t(this, q).current;
|
|
652
|
+
t(this, l).forEach((n, d) => {
|
|
644
653
|
const m = e - this.limit - 1 + t(this, q).current, C = e + i, I = this.sections.length - C;
|
|
645
|
-
|
|
654
|
+
d >= e && d < C || d <= m ? n.mark("current") : d >= C && d < C + I / 2 || d <= m + i ? n.mark("next") : n.mark("previous");
|
|
646
655
|
});
|
|
647
656
|
}
|
|
648
657
|
}
|
|
649
658
|
}, // TODO: Учитывать loop
|
|
650
|
-
|
|
659
|
+
ce = function() {
|
|
651
660
|
let e = this.targetScrollValue, i = 1 / 0, n = 0;
|
|
652
|
-
const
|
|
661
|
+
const d = t(this, u).direction;
|
|
653
662
|
for (let m = 0; m < t(this, l).length; m++) {
|
|
654
663
|
const C = t(this, l)[m];
|
|
655
|
-
let I = t(this, Tt) ? C.size *
|
|
656
|
-
const
|
|
657
|
-
|
|
664
|
+
let I = t(this, Tt) ? C.size * d * -1 * 0.4 : 0, ue = C.position;
|
|
665
|
+
const Kt = Math.abs(ue + I - e);
|
|
666
|
+
Kt < i && (i = Kt, n = m);
|
|
658
667
|
}
|
|
659
668
|
return n;
|
|
660
|
-
},
|
|
661
|
-
customElements.get("e-scroll") || customElements.define("e-scroll",
|
|
662
|
-
var
|
|
663
|
-
class
|
|
669
|
+
}, te = new WeakMap();
|
|
670
|
+
customElements.get("e-scroll") || customElements.define("e-scroll", jt);
|
|
671
|
+
var ee;
|
|
672
|
+
class Ce extends HTMLElement {
|
|
664
673
|
constructor() {
|
|
665
674
|
super(...arguments);
|
|
666
|
-
s(this,
|
|
675
|
+
s(this, ee, null);
|
|
667
676
|
}
|
|
668
677
|
get scrollElement() {
|
|
669
|
-
return t(this,
|
|
678
|
+
return t(this, ee);
|
|
670
679
|
}
|
|
671
680
|
connectedCallback() {
|
|
672
|
-
const e =
|
|
673
|
-
e instanceof
|
|
681
|
+
const e = Ie(this, jt);
|
|
682
|
+
e instanceof jt ? r(this, ee, e) : console.error(this, "e-scroll not found");
|
|
674
683
|
}
|
|
675
684
|
}
|
|
676
|
-
|
|
677
|
-
var
|
|
678
|
-
class
|
|
685
|
+
ee = new WeakMap();
|
|
686
|
+
var at, L, _, Z, Ot, Rt, ut, Ht, se, ie;
|
|
687
|
+
class Qe extends Ce {
|
|
679
688
|
constructor() {
|
|
680
689
|
super();
|
|
681
|
-
s(this,
|
|
682
|
-
s(this,
|
|
690
|
+
s(this, at, null);
|
|
691
|
+
s(this, L, null);
|
|
683
692
|
s(this, _, !1);
|
|
684
693
|
s(this, Z, 0);
|
|
685
|
-
s(this, Vt, 0);
|
|
686
694
|
s(this, Ot, 0);
|
|
687
|
-
s(this,
|
|
695
|
+
s(this, Rt, 0);
|
|
696
|
+
s(this, ut, () => {
|
|
688
697
|
r(this, _, this.offsetWidth > this.offsetHeight);
|
|
689
698
|
const e = t(this, _) ? this.offsetWidth : this.offsetHeight;
|
|
690
|
-
r(this, Z, e / ((this.scrollElement.scrollSize + this.scrollElement.viewportSize) / e)), r(this, Z, Math.max(t(this, Z), 30)), t(this, _) ? (t(this,
|
|
699
|
+
r(this, Z, e / ((this.scrollElement.scrollSize + this.scrollElement.viewportSize) / e)), r(this, Z, Math.max(t(this, Z), 30)), t(this, _) ? (t(this, L).style.width = t(this, Z) + "px", t(this, L).style.height = "100%") : (t(this, L).style.width = "100%", t(this, L).style.height = t(this, Z) + "px"), r(this, Ot, e - t(this, Z)), this.scrollElement.scrollSize ? this.style.display = "" : this.style.display = "none", t(this, Ht).call(this);
|
|
691
700
|
});
|
|
692
|
-
s(this,
|
|
693
|
-
r(this,
|
|
701
|
+
s(this, Ht, () => {
|
|
702
|
+
r(this, Rt, this.scrollElement.currentProgress * t(this, Ot)), t(this, _) ? t(this, L).style.transform = `translate3d(${t(this, Rt)}px, 0px, 0px)` : t(this, L).style.transform = `translate3d(0px, ${t(this, Rt)}px, 0px)`;
|
|
694
703
|
});
|
|
695
|
-
s(this,
|
|
704
|
+
s(this, se, () => {
|
|
696
705
|
this.setAttribute("axis", this.scrollElement.axisCSSProperty.current);
|
|
697
706
|
});
|
|
698
|
-
s(this,
|
|
699
|
-
document.documentElement.classList.add("grabbing"),
|
|
700
|
-
(
|
|
701
|
-
const m = t(this, _) ?
|
|
707
|
+
s(this, ie, (e) => {
|
|
708
|
+
document.documentElement.classList.add("grabbing"), Ke(
|
|
709
|
+
(d) => {
|
|
710
|
+
const m = t(this, _) ? d.x : d.y, C = this.scrollElement.distance / t(this, Ot), I = (m - n) * C;
|
|
702
711
|
this.scrollElement.setPosition(i + I);
|
|
703
712
|
},
|
|
704
713
|
() => {
|
|
@@ -707,10 +716,10 @@ class je extends ve {
|
|
|
707
716
|
);
|
|
708
717
|
const i = this.scrollElement.damped.target, n = t(this, _) ? e.x : e.y;
|
|
709
718
|
});
|
|
710
|
-
if (
|
|
719
|
+
if (ae) {
|
|
711
720
|
const e = this.attachShadow({ mode: "open" });
|
|
712
721
|
e.adoptedStyleSheets = [
|
|
713
|
-
|
|
722
|
+
ke({
|
|
714
723
|
":host": {
|
|
715
724
|
display: "inline-block",
|
|
716
725
|
zIndex: "1",
|
|
@@ -739,36 +748,36 @@ class je extends ve {
|
|
|
739
748
|
touchAction: "none"
|
|
740
749
|
}
|
|
741
750
|
})
|
|
742
|
-
], r(this,
|
|
751
|
+
], r(this, at, document.createElement("slot")), t(this, at).innerHTML = '<div class="default-thumb"></div>', e.appendChild(t(this, at));
|
|
743
752
|
}
|
|
744
753
|
}
|
|
745
754
|
get thumbElement() {
|
|
746
|
-
return t(this,
|
|
755
|
+
return t(this, L);
|
|
747
756
|
}
|
|
748
757
|
connectedCallback() {
|
|
749
758
|
super.connectedCallback(), this.setAttribute("drag-dead-zone", "");
|
|
750
|
-
const e = t(this,
|
|
751
|
-
r(this,
|
|
759
|
+
const e = t(this, at).assignedElements()[0] || t(this, at).firstElementChild;
|
|
760
|
+
r(this, L, e), t(this, L).addEventListener("pointerdown", t(this, ie)), kt.subscribe(t(this, ut), me.SCROLL), Zt.subscribe(this, t(this, ut)), Zt.subscribe(this.scrollElement, t(this, ut)), this.scrollElement.onScroll(t(this, Ht)), this.scrollElement.axisCSSProperty.subscribe(t(this, se));
|
|
752
761
|
}
|
|
753
762
|
disconnectedCallback() {
|
|
754
|
-
this.removeAttribute("drag-dead-zone"), this.style.display = "", t(this,
|
|
763
|
+
this.removeAttribute("drag-dead-zone"), this.style.display = "", t(this, L).removeEventListener("pointerdown", t(this, ie)), kt.unsubscribe(t(this, ut)), Zt.unsubscribe(t(this, ut)), this.scrollElement.offScroll(t(this, Ht)), this.scrollElement.axisCSSProperty.unsubscribe(t(this, se));
|
|
755
764
|
}
|
|
756
765
|
}
|
|
757
|
-
|
|
758
|
-
customElements.get("e-scrollbar") || customElements.define("e-scrollbar",
|
|
759
|
-
var
|
|
760
|
-
class
|
|
766
|
+
at = new WeakMap(), L = new WeakMap(), _ = new WeakMap(), Z = new WeakMap(), Ot = new WeakMap(), Rt = new WeakMap(), ut = new WeakMap(), Ht = new WeakMap(), se = new WeakMap(), ie = new WeakMap();
|
|
767
|
+
customElements.get("e-scrollbar") || customElements.define("e-scrollbar", Qe);
|
|
768
|
+
var Bt, Wt, Ft;
|
|
769
|
+
class De extends Ce {
|
|
761
770
|
constructor() {
|
|
762
771
|
super();
|
|
763
|
-
s(this,
|
|
764
|
-
s(this,
|
|
772
|
+
s(this, Bt, new p(this, "--behaviour", "smooth"));
|
|
773
|
+
s(this, Wt, new p(
|
|
765
774
|
this,
|
|
766
775
|
"--tween-easing",
|
|
767
776
|
!1
|
|
768
777
|
));
|
|
769
|
-
s(this,
|
|
770
|
-
|
|
771
|
-
const e = t(this,
|
|
778
|
+
s(this, Ft, new p(this, "--tween-duration", 0));
|
|
779
|
+
ae && this.addEventListener("click", () => {
|
|
780
|
+
const e = t(this, Bt).current, i = t(this, Wt).current, n = t(this, Ft).current;
|
|
772
781
|
this.handleClick({
|
|
773
782
|
behaviour: e,
|
|
774
783
|
tween: i || n ? { easing: i, duration: n } : void 0
|
|
@@ -776,37 +785,37 @@ class Ie extends ve {
|
|
|
776
785
|
});
|
|
777
786
|
}
|
|
778
787
|
connectedCallback() {
|
|
779
|
-
super.connectedCallback(), t(this,
|
|
788
|
+
super.connectedCallback(), t(this, Bt).observe(), t(this, Wt).observe(), t(this, Ft).observe();
|
|
780
789
|
}
|
|
781
790
|
disconnectedCallback() {
|
|
782
|
-
t(this,
|
|
791
|
+
t(this, Bt).close(), t(this, Wt).close(), t(this, Ft).close();
|
|
783
792
|
}
|
|
784
793
|
}
|
|
785
|
-
|
|
786
|
-
var
|
|
787
|
-
class
|
|
794
|
+
Bt = new WeakMap(), Wt = new WeakMap(), Ft = new WeakMap();
|
|
795
|
+
var $t;
|
|
796
|
+
class Xe extends De {
|
|
788
797
|
constructor() {
|
|
789
798
|
super(...arguments);
|
|
790
|
-
s(this,
|
|
799
|
+
s(this, $t, new p(this, "--set", 1));
|
|
791
800
|
}
|
|
792
801
|
handleClick(e) {
|
|
793
|
-
this.scrollElement.scrollToSection(t(this,
|
|
802
|
+
this.scrollElement.scrollToSection(t(this, $t).current, e);
|
|
794
803
|
}
|
|
795
804
|
connectedCallback() {
|
|
796
|
-
super.connectedCallback(), t(this,
|
|
805
|
+
super.connectedCallback(), t(this, $t).observe();
|
|
797
806
|
}
|
|
798
807
|
disconnectedCallback() {
|
|
799
|
-
super.disconnectedCallback(), t(this,
|
|
808
|
+
super.disconnectedCallback(), t(this, $t).close();
|
|
800
809
|
}
|
|
801
810
|
}
|
|
802
|
-
|
|
803
|
-
customElements.get("e-scroll-set-button") || customElements.define("e-scroll-set-button",
|
|
804
|
-
var j,
|
|
805
|
-
class
|
|
811
|
+
$t = new WeakMap();
|
|
812
|
+
customElements.get("e-scroll-set-button") || customElements.define("e-scroll-set-button", Xe);
|
|
813
|
+
var j, qt;
|
|
814
|
+
class Ye extends De {
|
|
806
815
|
constructor() {
|
|
807
816
|
super(...arguments);
|
|
808
817
|
s(this, j, new p(this, "--step", 1));
|
|
809
|
-
s(this,
|
|
818
|
+
s(this, qt, () => {
|
|
810
819
|
this.scrollElement.loopCSSProperty.current ? this.removeAttribute("disabled") : t(this, j).current > 0 && this.scrollElement.scrollLine === "end" || t(this, j).current < 0 && this.scrollElement.scrollLine === "start" ? this.setAttribute("disabled", "") : this.removeAttribute("disabled");
|
|
811
820
|
});
|
|
812
821
|
}
|
|
@@ -815,93 +824,93 @@ class Qe extends Ie {
|
|
|
815
824
|
}
|
|
816
825
|
connectedCallback() {
|
|
817
826
|
super.connectedCallback(), this.scrollElement && (t(this, j).subscribe(() => {
|
|
818
|
-
t(this,
|
|
827
|
+
t(this, qt).call(this);
|
|
819
828
|
}), t(this, j).observe(), this.scrollElement.addEventListener(
|
|
820
829
|
"scrollLine",
|
|
821
|
-
t(this,
|
|
822
|
-
), t(this,
|
|
830
|
+
t(this, qt)
|
|
831
|
+
), t(this, qt).call(this));
|
|
823
832
|
}
|
|
824
833
|
disconnectedCallback() {
|
|
825
834
|
super.disconnectedCallback(), t(this, j).close(), this.removeAttribute("disabled");
|
|
826
835
|
}
|
|
827
836
|
}
|
|
828
|
-
j = new WeakMap(),
|
|
829
|
-
customElements.get("e-scroll-step-button") || customElements.define("e-scroll-step-button",
|
|
830
|
-
var J,
|
|
831
|
-
class
|
|
837
|
+
j = new WeakMap(), qt = new WeakMap();
|
|
838
|
+
customElements.get("e-scroll-step-button") || customElements.define("e-scroll-step-button", Ye);
|
|
839
|
+
var J, dt, Nt, re, ne, Ut;
|
|
840
|
+
class ts {
|
|
832
841
|
constructor(h, e, i) {
|
|
833
842
|
s(this, J, null);
|
|
834
|
-
s(this,
|
|
835
|
-
s(this,
|
|
836
|
-
s(this,
|
|
837
|
-
s(this,
|
|
838
|
-
t(this,
|
|
839
|
-
behaviour: t(this,
|
|
843
|
+
s(this, dt, null);
|
|
844
|
+
s(this, Nt, null);
|
|
845
|
+
s(this, re, null);
|
|
846
|
+
s(this, ne, () => {
|
|
847
|
+
t(this, dt).scrollToSection(t(this, Nt), {
|
|
848
|
+
behaviour: t(this, re)
|
|
840
849
|
});
|
|
841
850
|
});
|
|
842
|
-
s(this,
|
|
851
|
+
s(this, Ut, () => {
|
|
843
852
|
t(this, J).classList.toggle(
|
|
844
853
|
"current",
|
|
845
|
-
t(this,
|
|
854
|
+
t(this, dt).counter.current === t(this, Nt)
|
|
846
855
|
);
|
|
847
856
|
});
|
|
848
|
-
|
|
857
|
+
ae && (r(this, J, document.createElement("button")), r(this, dt, h), r(this, re, i), r(this, Nt, e), t(this, J).addEventListener("click", t(this, ne)), t(this, dt).counter.subscribe(t(this, Ut)), t(this, Ut).call(this));
|
|
849
858
|
}
|
|
850
859
|
get element() {
|
|
851
860
|
return t(this, J);
|
|
852
861
|
}
|
|
853
862
|
destroy() {
|
|
854
|
-
t(this, J).removeEventListener("click", t(this,
|
|
863
|
+
t(this, J).removeEventListener("click", t(this, ne)), t(this, dt).counter.unsubscribe(t(this, Ut)), t(this, J).remove();
|
|
855
864
|
}
|
|
856
865
|
}
|
|
857
|
-
J = new WeakMap(),
|
|
858
|
-
var
|
|
859
|
-
class
|
|
866
|
+
J = new WeakMap(), dt = new WeakMap(), Nt = new WeakMap(), re = new WeakMap(), ne = new WeakMap(), Ut = new WeakMap();
|
|
867
|
+
var pt, Gt;
|
|
868
|
+
class es extends Ce {
|
|
860
869
|
constructor() {
|
|
861
870
|
super(...arguments);
|
|
862
|
-
s(this,
|
|
863
|
-
s(this,
|
|
864
|
-
t(this,
|
|
871
|
+
s(this, pt, []);
|
|
872
|
+
s(this, Gt, _e(() => {
|
|
873
|
+
t(this, pt).forEach((e) => e.destroy()), r(this, pt, []);
|
|
865
874
|
for (let e = 0; e < this.scrollElement.sections.length; e++) {
|
|
866
|
-
const i = new
|
|
875
|
+
const i = new ts(
|
|
867
876
|
this.scrollElement,
|
|
868
877
|
e,
|
|
869
878
|
this.getAttribute("behaviour") || "smooth"
|
|
870
879
|
);
|
|
871
|
-
this.appendChild(i.element), t(this,
|
|
880
|
+
this.appendChild(i.element), t(this, pt).push(i);
|
|
872
881
|
}
|
|
873
882
|
}, 0));
|
|
874
883
|
}
|
|
875
884
|
connectedCallback() {
|
|
876
885
|
super.connectedCallback(), this.scrollElement.addEventListener(
|
|
877
886
|
"sectionsChange",
|
|
878
|
-
t(this,
|
|
879
|
-
), t(this,
|
|
887
|
+
t(this, Gt)
|
|
888
|
+
), t(this, Gt).call(this);
|
|
880
889
|
}
|
|
881
890
|
disconnectedCallback() {
|
|
882
891
|
this.scrollElement.removeEventListener(
|
|
883
892
|
"sectionsChange",
|
|
884
|
-
t(this,
|
|
885
|
-
), t(this,
|
|
893
|
+
t(this, Gt)
|
|
894
|
+
), t(this, pt).forEach((e) => e.destroy()), r(this, pt, []);
|
|
886
895
|
}
|
|
887
896
|
}
|
|
888
|
-
|
|
889
|
-
customElements.get("e-scroll-bullet-buttons") || customElements.define("e-scroll-bullet-buttons",
|
|
890
|
-
class
|
|
897
|
+
pt = new WeakMap(), Gt = new WeakMap();
|
|
898
|
+
customElements.get("e-scroll-bullet-buttons") || customElements.define("e-scroll-bullet-buttons", es);
|
|
899
|
+
class ss extends Ze {
|
|
891
900
|
connectedCallback() {
|
|
892
|
-
const h =
|
|
893
|
-
h instanceof
|
|
901
|
+
const h = Ie(this, jt);
|
|
902
|
+
h instanceof jt ? (this.scrollContainer = h, this.scrollContainer.addEventListener(
|
|
894
903
|
"scrollSectionsChange",
|
|
895
904
|
this.findAnotherScrollEntries
|
|
896
905
|
)) : console.error(this, "e-scroll not found");
|
|
897
906
|
}
|
|
898
907
|
}
|
|
899
|
-
customElements.get("e-scroll-segment") || customElements.define("e-scroll-segment",
|
|
908
|
+
customElements.get("e-scroll-segment") || customElements.define("e-scroll-segment", ss);
|
|
900
909
|
export {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
910
|
+
es as ScrollBulletButtonsElement,
|
|
911
|
+
jt as ScrollElement,
|
|
912
|
+
ss as ScrollSegmentElement,
|
|
913
|
+
Xe as ScrollSetButtonElement,
|
|
914
|
+
Ye as ScrollStepButtonElement,
|
|
915
|
+
Qe as ScrollbarElement
|
|
907
916
|
};
|