@phillips/seldon 1.104.0 → 1.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Carousel/Carousel.js +34 -30
- package/dist/components/Carousel/CarouselContent.js +10 -18
- package/dist/components/Carousel/CarouselDot.d.ts +3 -4
- package/dist/components/Carousel/CarouselDot.js +24 -22
- package/dist/components/Carousel/CarouselDots.js +31 -32
- package/dist/components/Carousel/CarouselItem.js +7 -7
- package/dist/components/Drawer/Drawer.js +11 -11
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +545 -539
- package/dist/node_modules/embla-carousel-class-names/esm/embla-carousel-class-names.esm.js +74 -0
- package/dist/scss/components/Carousel/_carousel.scss +26 -26
- package/package.json +3 -2
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
function Tt(t) {
|
|
2
2
|
return typeof t == "number";
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Lt(t) {
|
|
5
5
|
return typeof t == "string";
|
|
6
6
|
}
|
|
7
7
|
function gt(t) {
|
|
8
8
|
return typeof t == "boolean";
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Nt(t) {
|
|
11
11
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
12
12
|
}
|
|
13
13
|
function P(t) {
|
|
14
14
|
return Math.abs(t);
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function It(t) {
|
|
17
17
|
return Math.sign(t);
|
|
18
18
|
}
|
|
19
19
|
function ft(t, n) {
|
|
20
20
|
return P(t - n);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function _t(t, n) {
|
|
23
23
|
if (t === 0 || n === 0 || P(t) <= P(n)) return 0;
|
|
24
|
-
const
|
|
25
|
-
return P(
|
|
24
|
+
const s = ft(P(t), P(n));
|
|
25
|
+
return P(s / t);
|
|
26
|
+
}
|
|
27
|
+
function Jt(t) {
|
|
28
|
+
return Math.round(t * 100) / 100;
|
|
26
29
|
}
|
|
27
30
|
function at(t) {
|
|
28
31
|
return lt(t).map(Number);
|
|
@@ -36,28 +39,28 @@ function pt(t) {
|
|
|
36
39
|
function vt(t, n) {
|
|
37
40
|
return n === pt(t);
|
|
38
41
|
}
|
|
39
|
-
function
|
|
40
|
-
return Array.from(Array(t), (
|
|
42
|
+
function Vt(t, n = 0) {
|
|
43
|
+
return Array.from(Array(t), (s, r) => n + r);
|
|
41
44
|
}
|
|
42
45
|
function lt(t) {
|
|
43
46
|
return Object.keys(t);
|
|
44
47
|
}
|
|
45
|
-
function
|
|
46
|
-
return [t, n].reduce((
|
|
47
|
-
const o =
|
|
48
|
-
|
|
49
|
-
}),
|
|
48
|
+
function zt(t, n) {
|
|
49
|
+
return [t, n].reduce((s, r) => (lt(r).forEach((c) => {
|
|
50
|
+
const o = s[c], e = r[c], f = Nt(o) && Nt(e);
|
|
51
|
+
s[c] = f ? zt(o, e) : e;
|
|
52
|
+
}), s), {});
|
|
50
53
|
}
|
|
51
|
-
function
|
|
54
|
+
function Et(t, n) {
|
|
52
55
|
return typeof n.MouseEvent != "undefined" && t instanceof n.MouseEvent;
|
|
53
56
|
}
|
|
54
|
-
function
|
|
55
|
-
const
|
|
56
|
-
start:
|
|
57
|
+
function Zt(t, n) {
|
|
58
|
+
const s = {
|
|
59
|
+
start: r,
|
|
57
60
|
center: c,
|
|
58
61
|
end: o
|
|
59
62
|
};
|
|
60
|
-
function
|
|
63
|
+
function r() {
|
|
61
64
|
return 0;
|
|
62
65
|
}
|
|
63
66
|
function c(i) {
|
|
@@ -67,7 +70,7 @@ function _t(t, n) {
|
|
|
67
70
|
return n - i;
|
|
68
71
|
}
|
|
69
72
|
function e(i, u) {
|
|
70
|
-
return
|
|
73
|
+
return Lt(t) ? s[t](i) : t(n, i, u);
|
|
71
74
|
}
|
|
72
75
|
return {
|
|
73
76
|
measure: e
|
|
@@ -85,72 +88,72 @@ function dt() {
|
|
|
85
88
|
const u = c;
|
|
86
89
|
u.addListener(e), i = () => u.removeListener(e);
|
|
87
90
|
}
|
|
88
|
-
return t.push(i),
|
|
91
|
+
return t.push(i), r;
|
|
89
92
|
}
|
|
90
|
-
function
|
|
93
|
+
function s() {
|
|
91
94
|
t = t.filter((c) => c());
|
|
92
95
|
}
|
|
93
|
-
const
|
|
96
|
+
const r = {
|
|
94
97
|
add: n,
|
|
95
|
-
clear:
|
|
98
|
+
clear: s
|
|
96
99
|
};
|
|
97
|
-
return
|
|
100
|
+
return r;
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function Wt(t, n, s, r) {
|
|
100
103
|
const c = dt(), o = 1e3 / 60;
|
|
101
104
|
let e = null, f = 0, i = 0;
|
|
102
105
|
function u() {
|
|
103
106
|
c.add(t, "visibilitychange", () => {
|
|
104
|
-
t.hidden &&
|
|
107
|
+
t.hidden && l();
|
|
105
108
|
});
|
|
106
109
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
110
|
+
function h() {
|
|
111
|
+
b(), c.clear();
|
|
109
112
|
}
|
|
110
|
-
function
|
|
113
|
+
function d(g) {
|
|
111
114
|
if (!i) return;
|
|
112
115
|
e || (e = g);
|
|
113
116
|
const a = g - e;
|
|
114
117
|
for (e = g, f += a; f >= o; )
|
|
115
|
-
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
+
s(), f -= o;
|
|
119
|
+
const S = f / o;
|
|
120
|
+
r(S), i && (i = n.requestAnimationFrame(d));
|
|
118
121
|
}
|
|
119
|
-
function
|
|
120
|
-
i || (i = n.requestAnimationFrame(
|
|
122
|
+
function p() {
|
|
123
|
+
i || (i = n.requestAnimationFrame(d));
|
|
121
124
|
}
|
|
122
|
-
function
|
|
125
|
+
function b() {
|
|
123
126
|
n.cancelAnimationFrame(i), e = null, f = 0, i = 0;
|
|
124
127
|
}
|
|
125
|
-
function
|
|
128
|
+
function l() {
|
|
126
129
|
e = null, f = 0;
|
|
127
130
|
}
|
|
128
131
|
return {
|
|
129
132
|
init: u,
|
|
130
|
-
destroy:
|
|
131
|
-
start:
|
|
132
|
-
stop:
|
|
133
|
-
update:
|
|
134
|
-
render:
|
|
133
|
+
destroy: h,
|
|
134
|
+
start: p,
|
|
135
|
+
stop: b,
|
|
136
|
+
update: s,
|
|
137
|
+
render: r
|
|
135
138
|
};
|
|
136
139
|
}
|
|
137
|
-
function
|
|
138
|
-
const
|
|
139
|
-
function u(
|
|
140
|
+
function tn(t, n) {
|
|
141
|
+
const s = n === "rtl", r = t === "y", c = r ? "y" : "x", o = r ? "x" : "y", e = !r && s ? -1 : 1, f = h(), i = d();
|
|
142
|
+
function u(l) {
|
|
140
143
|
const {
|
|
141
|
-
height:
|
|
144
|
+
height: m,
|
|
142
145
|
width: g
|
|
143
|
-
} =
|
|
144
|
-
return
|
|
146
|
+
} = l;
|
|
147
|
+
return r ? m : g;
|
|
145
148
|
}
|
|
146
|
-
function
|
|
147
|
-
return
|
|
149
|
+
function h() {
|
|
150
|
+
return r ? "top" : s ? "right" : "left";
|
|
148
151
|
}
|
|
149
|
-
function
|
|
150
|
-
return
|
|
152
|
+
function d() {
|
|
153
|
+
return r ? "bottom" : s ? "left" : "right";
|
|
151
154
|
}
|
|
152
|
-
function
|
|
153
|
-
return
|
|
155
|
+
function p(l) {
|
|
156
|
+
return l * e;
|
|
154
157
|
}
|
|
155
158
|
return {
|
|
156
159
|
scroll: c,
|
|
@@ -158,155 +161,155 @@ function Zt(t, n) {
|
|
|
158
161
|
startEdge: f,
|
|
159
162
|
endEdge: i,
|
|
160
163
|
measureSize: u,
|
|
161
|
-
direction:
|
|
164
|
+
direction: p
|
|
162
165
|
};
|
|
163
166
|
}
|
|
164
|
-
function
|
|
165
|
-
const
|
|
166
|
-
function
|
|
167
|
+
function tt(t = 0, n = 0) {
|
|
168
|
+
const s = P(t - n);
|
|
169
|
+
function r(u) {
|
|
167
170
|
return u < t;
|
|
168
171
|
}
|
|
169
172
|
function c(u) {
|
|
170
173
|
return u > n;
|
|
171
174
|
}
|
|
172
175
|
function o(u) {
|
|
173
|
-
return
|
|
176
|
+
return r(u) || c(u);
|
|
174
177
|
}
|
|
175
178
|
function e(u) {
|
|
176
|
-
return o(u) ?
|
|
179
|
+
return o(u) ? r(u) ? t : n : u;
|
|
177
180
|
}
|
|
178
181
|
function f(u) {
|
|
179
|
-
return
|
|
182
|
+
return s ? u - s * Math.ceil((u - n) / s) : u;
|
|
180
183
|
}
|
|
181
184
|
return {
|
|
182
|
-
length:
|
|
185
|
+
length: s,
|
|
183
186
|
max: n,
|
|
184
187
|
min: t,
|
|
185
188
|
constrain: e,
|
|
186
189
|
reachedAny: o,
|
|
187
190
|
reachedMax: c,
|
|
188
|
-
reachedMin:
|
|
191
|
+
reachedMin: r,
|
|
189
192
|
removeOffset: f
|
|
190
193
|
};
|
|
191
194
|
}
|
|
192
|
-
function
|
|
195
|
+
function Bt(t, n, s) {
|
|
193
196
|
const {
|
|
194
|
-
constrain:
|
|
195
|
-
} =
|
|
197
|
+
constrain: r
|
|
198
|
+
} = tt(0, t), c = t + 1;
|
|
196
199
|
let o = e(n);
|
|
197
|
-
function e(
|
|
198
|
-
return
|
|
200
|
+
function e(p) {
|
|
201
|
+
return s ? P((c + p) % c) : r(p);
|
|
199
202
|
}
|
|
200
203
|
function f() {
|
|
201
204
|
return o;
|
|
202
205
|
}
|
|
203
|
-
function i(
|
|
204
|
-
return o = e(
|
|
206
|
+
function i(p) {
|
|
207
|
+
return o = e(p), d;
|
|
205
208
|
}
|
|
206
|
-
function u(
|
|
207
|
-
return
|
|
209
|
+
function u(p) {
|
|
210
|
+
return h().set(f() + p);
|
|
208
211
|
}
|
|
209
|
-
function
|
|
210
|
-
return
|
|
212
|
+
function h() {
|
|
213
|
+
return Bt(t, f(), s);
|
|
211
214
|
}
|
|
212
|
-
const
|
|
215
|
+
const d = {
|
|
213
216
|
get: f,
|
|
214
217
|
set: i,
|
|
215
218
|
add: u,
|
|
216
|
-
clone:
|
|
219
|
+
clone: h
|
|
217
220
|
};
|
|
218
|
-
return
|
|
221
|
+
return d;
|
|
219
222
|
}
|
|
220
|
-
function
|
|
223
|
+
function nn(t, n, s, r, c, o, e, f, i, u, h, d, p, b, l, m, g, a, S) {
|
|
221
224
|
const {
|
|
222
|
-
cross:
|
|
223
|
-
direction:
|
|
224
|
-
} = t,
|
|
225
|
+
cross: x,
|
|
226
|
+
direction: T
|
|
227
|
+
} = t, A = ["INPUT", "SELECT", "TEXTAREA"], I = {
|
|
225
228
|
passive: !1
|
|
226
|
-
}, L = dt(), E = dt(),
|
|
229
|
+
}, L = dt(), E = dt(), v = tt(50, 225).constrain(b.measure(20)), C = {
|
|
227
230
|
mouse: 300,
|
|
228
231
|
touch: 400
|
|
229
|
-
},
|
|
232
|
+
}, D = {
|
|
230
233
|
mouse: 500,
|
|
231
234
|
touch: 600
|
|
232
|
-
}, V =
|
|
233
|
-
let G = !1, H = 0, j = 0,
|
|
234
|
-
function
|
|
235
|
-
if (!
|
|
236
|
-
function
|
|
237
|
-
(gt(
|
|
235
|
+
}, V = l ? 43 : 25;
|
|
236
|
+
let G = !1, H = 0, j = 0, J = !1, Y = !1, U = !1, $ = !1;
|
|
237
|
+
function rt(y) {
|
|
238
|
+
if (!S) return;
|
|
239
|
+
function M(N) {
|
|
240
|
+
(gt(S) || S(y, N)) && it(N);
|
|
238
241
|
}
|
|
239
242
|
const O = n;
|
|
240
|
-
L.add(O, "dragstart", (N) => N.preventDefault(),
|
|
241
|
-
},
|
|
242
|
-
}).add(O, "touchstart",
|
|
243
|
+
L.add(O, "dragstart", (N) => N.preventDefault(), I).add(O, "touchmove", () => {
|
|
244
|
+
}, I).add(O, "touchend", () => {
|
|
245
|
+
}).add(O, "touchstart", M).add(O, "mousedown", M).add(O, "touchcancel", w).add(O, "contextmenu", w).add(O, "click", K, !0);
|
|
243
246
|
}
|
|
244
247
|
function R() {
|
|
245
248
|
L.clear(), E.clear();
|
|
246
249
|
}
|
|
247
|
-
function
|
|
248
|
-
const y = $ ?
|
|
249
|
-
E.add(y, "touchmove", z,
|
|
250
|
+
function nt() {
|
|
251
|
+
const y = $ ? s : n;
|
|
252
|
+
E.add(y, "touchmove", z, I).add(y, "touchend", w).add(y, "mousemove", z, I).add(y, "mouseup", w);
|
|
250
253
|
}
|
|
251
|
-
function
|
|
252
|
-
const
|
|
253
|
-
return
|
|
254
|
+
function et(y) {
|
|
255
|
+
const M = y.nodeName || "";
|
|
256
|
+
return A.includes(M);
|
|
254
257
|
}
|
|
255
258
|
function Q() {
|
|
256
|
-
return (
|
|
259
|
+
return (l ? D : C)[$ ? "mouse" : "touch"];
|
|
257
260
|
}
|
|
258
|
-
function
|
|
259
|
-
const O =
|
|
260
|
-
return
|
|
261
|
+
function st(y, M) {
|
|
262
|
+
const O = d.add(It(y) * -1), N = h.byDistance(y, !l).distance;
|
|
263
|
+
return l || P(y) < v ? N : g && M ? N * 0.5 : h.byIndex(O.get(), 0).distance;
|
|
261
264
|
}
|
|
262
265
|
function it(y) {
|
|
263
|
-
const
|
|
264
|
-
$ =
|
|
266
|
+
const M = Et(y, r);
|
|
267
|
+
$ = M, U = l && M && !y.buttons && G, G = ft(c.get(), e.get()) >= 2, !(M && y.button !== 0) && (et(y.target) || (J = !0, o.pointerDown(y), u.useFriction(0).useDuration(0), c.set(e), nt(), H = o.readPoint(y), j = o.readPoint(y, x), p.emit("pointerDown")));
|
|
265
268
|
}
|
|
266
269
|
function z(y) {
|
|
267
|
-
if (!
|
|
268
|
-
const O = o.readPoint(y), N = o.readPoint(y,
|
|
270
|
+
if (!Et(y, r) && y.touches.length >= 2) return w(y);
|
|
271
|
+
const O = o.readPoint(y), N = o.readPoint(y, x), q = ft(O, H), X = ft(N, j);
|
|
269
272
|
if (!Y && !$ && (!y.cancelable || (Y = q > X, !Y)))
|
|
270
273
|
return w(y);
|
|
271
|
-
const
|
|
272
|
-
q >
|
|
274
|
+
const Z = o.pointerMove(y);
|
|
275
|
+
q > m && (U = !0), u.useFriction(0.3).useDuration(0.75), f.start(), c.add(T(Z)), y.preventDefault();
|
|
273
276
|
}
|
|
274
277
|
function w(y) {
|
|
275
|
-
const O =
|
|
276
|
-
Y = !1,
|
|
278
|
+
const O = h.byDistance(0, !1).index !== d.get(), N = o.pointerUp(y) * Q(), q = st(T(N), O), X = _t(N, q), Z = V - 10 * X, _ = a + X / 50;
|
|
279
|
+
Y = !1, J = !1, E.clear(), u.useDuration(Z).useFriction(_), i.distance(q, !l), $ = !1, p.emit("pointerUp");
|
|
277
280
|
}
|
|
278
281
|
function K(y) {
|
|
279
282
|
U && (y.stopPropagation(), y.preventDefault(), U = !1);
|
|
280
283
|
}
|
|
281
284
|
function B() {
|
|
282
|
-
return
|
|
285
|
+
return J;
|
|
283
286
|
}
|
|
284
287
|
return {
|
|
285
|
-
init:
|
|
288
|
+
init: rt,
|
|
286
289
|
destroy: R,
|
|
287
290
|
pointerDown: B
|
|
288
291
|
};
|
|
289
292
|
}
|
|
290
|
-
function
|
|
291
|
-
let
|
|
292
|
-
function o(
|
|
293
|
-
return
|
|
293
|
+
function en(t, n) {
|
|
294
|
+
let r, c;
|
|
295
|
+
function o(d) {
|
|
296
|
+
return d.timeStamp;
|
|
294
297
|
}
|
|
295
|
-
function e(
|
|
296
|
-
const
|
|
297
|
-
return (
|
|
298
|
+
function e(d, p) {
|
|
299
|
+
const l = `client${(p || t.scroll) === "x" ? "X" : "Y"}`;
|
|
300
|
+
return (Et(d, n) ? d : d.touches[0])[l];
|
|
298
301
|
}
|
|
299
|
-
function f(
|
|
300
|
-
return
|
|
302
|
+
function f(d) {
|
|
303
|
+
return r = d, c = d, e(d);
|
|
301
304
|
}
|
|
302
|
-
function i(
|
|
303
|
-
const
|
|
304
|
-
return c =
|
|
305
|
+
function i(d) {
|
|
306
|
+
const p = e(d) - e(c), b = o(d) - o(r) > 170;
|
|
307
|
+
return c = d, b && (r = d), p;
|
|
305
308
|
}
|
|
306
|
-
function u(
|
|
307
|
-
if (!
|
|
308
|
-
const
|
|
309
|
-
return
|
|
309
|
+
function u(d) {
|
|
310
|
+
if (!r || !c) return 0;
|
|
311
|
+
const p = e(c) - e(r), b = o(d) - o(r), l = o(d) - o(c) > 170, m = p / b;
|
|
312
|
+
return b && !l && P(m) > 0.1 ? m : 0;
|
|
310
313
|
}
|
|
311
314
|
return {
|
|
312
315
|
pointerDown: f,
|
|
@@ -315,18 +318,18 @@ function tn(t, n) {
|
|
|
315
318
|
readPoint: e
|
|
316
319
|
};
|
|
317
320
|
}
|
|
318
|
-
function
|
|
319
|
-
function t(
|
|
321
|
+
function on() {
|
|
322
|
+
function t(s) {
|
|
320
323
|
const {
|
|
321
|
-
offsetTop:
|
|
324
|
+
offsetTop: r,
|
|
322
325
|
offsetLeft: c,
|
|
323
326
|
offsetWidth: o,
|
|
324
327
|
offsetHeight: e
|
|
325
|
-
} =
|
|
328
|
+
} = s;
|
|
326
329
|
return {
|
|
327
|
-
top:
|
|
330
|
+
top: r,
|
|
328
331
|
right: c + o,
|
|
329
|
-
bottom:
|
|
332
|
+
bottom: r + e,
|
|
330
333
|
left: c,
|
|
331
334
|
width: o,
|
|
332
335
|
height: e
|
|
@@ -336,334 +339,334 @@ function nn() {
|
|
|
336
339
|
measure: t
|
|
337
340
|
};
|
|
338
341
|
}
|
|
339
|
-
function
|
|
340
|
-
function n(
|
|
341
|
-
return t * (
|
|
342
|
+
function rn(t) {
|
|
343
|
+
function n(r) {
|
|
344
|
+
return t * (r / 100);
|
|
342
345
|
}
|
|
343
346
|
return {
|
|
344
347
|
measure: n
|
|
345
348
|
};
|
|
346
349
|
}
|
|
347
|
-
function
|
|
348
|
-
const f = [t].concat(
|
|
349
|
-
let i, u,
|
|
350
|
-
function
|
|
350
|
+
function sn(t, n, s, r, c, o, e) {
|
|
351
|
+
const f = [t].concat(r);
|
|
352
|
+
let i, u, h = [], d = !1;
|
|
353
|
+
function p(g) {
|
|
351
354
|
return c.measureSize(e.measure(g));
|
|
352
355
|
}
|
|
353
|
-
function
|
|
356
|
+
function b(g) {
|
|
354
357
|
if (!o) return;
|
|
355
|
-
u =
|
|
356
|
-
function a(
|
|
357
|
-
for (const
|
|
358
|
-
if (
|
|
359
|
-
const
|
|
360
|
-
if (P(L -
|
|
358
|
+
u = p(t), h = r.map(p);
|
|
359
|
+
function a(S) {
|
|
360
|
+
for (const x of S) {
|
|
361
|
+
if (d) return;
|
|
362
|
+
const T = x.target === t, A = r.indexOf(x.target), I = T ? u : h[A], L = p(T ? t : r[A]);
|
|
363
|
+
if (P(L - I) >= 0.5) {
|
|
361
364
|
g.reInit(), n.emit("resize");
|
|
362
365
|
break;
|
|
363
366
|
}
|
|
364
367
|
}
|
|
365
368
|
}
|
|
366
|
-
i = new ResizeObserver((
|
|
367
|
-
(gt(o) || o(g,
|
|
368
|
-
}),
|
|
369
|
-
f.forEach((
|
|
369
|
+
i = new ResizeObserver((S) => {
|
|
370
|
+
(gt(o) || o(g, S)) && a(S);
|
|
371
|
+
}), s.requestAnimationFrame(() => {
|
|
372
|
+
f.forEach((S) => i.observe(S));
|
|
370
373
|
});
|
|
371
374
|
}
|
|
372
|
-
function
|
|
373
|
-
|
|
375
|
+
function l() {
|
|
376
|
+
d = !0, i && i.disconnect();
|
|
374
377
|
}
|
|
375
378
|
return {
|
|
376
|
-
init:
|
|
377
|
-
destroy:
|
|
379
|
+
init: b,
|
|
380
|
+
destroy: l
|
|
378
381
|
};
|
|
379
382
|
}
|
|
380
|
-
function
|
|
381
|
-
let e = 0, f = 0, i = c, u = o,
|
|
382
|
-
function
|
|
383
|
-
const
|
|
384
|
-
let
|
|
385
|
-
return
|
|
383
|
+
function cn(t, n, s, r, c, o) {
|
|
384
|
+
let e = 0, f = 0, i = c, u = o, h = t.get(), d = 0;
|
|
385
|
+
function p() {
|
|
386
|
+
const I = r.get() - t.get(), L = !i;
|
|
387
|
+
let E = 0;
|
|
388
|
+
return L ? (e = 0, s.set(r), t.set(r), E = I) : (s.set(t), e += I / i, e *= u, h += e, t.add(e), E = h - d), f = It(E), d = h, A;
|
|
386
389
|
}
|
|
387
|
-
function
|
|
388
|
-
const
|
|
389
|
-
return P(
|
|
390
|
+
function b() {
|
|
391
|
+
const I = r.get() - n.get();
|
|
392
|
+
return P(I) < 1e-3;
|
|
390
393
|
}
|
|
391
|
-
function
|
|
394
|
+
function l() {
|
|
392
395
|
return i;
|
|
393
396
|
}
|
|
394
|
-
function
|
|
397
|
+
function m() {
|
|
395
398
|
return f;
|
|
396
399
|
}
|
|
397
400
|
function g() {
|
|
398
401
|
return e;
|
|
399
402
|
}
|
|
400
403
|
function a() {
|
|
401
|
-
return
|
|
404
|
+
return x(c);
|
|
402
405
|
}
|
|
403
|
-
function
|
|
404
|
-
return
|
|
406
|
+
function S() {
|
|
407
|
+
return T(o);
|
|
405
408
|
}
|
|
406
|
-
function
|
|
407
|
-
return i =
|
|
409
|
+
function x(I) {
|
|
410
|
+
return i = I, A;
|
|
408
411
|
}
|
|
409
|
-
function
|
|
410
|
-
return u =
|
|
412
|
+
function T(I) {
|
|
413
|
+
return u = I, A;
|
|
411
414
|
}
|
|
412
|
-
const
|
|
413
|
-
direction:
|
|
414
|
-
duration:
|
|
415
|
+
const A = {
|
|
416
|
+
direction: m,
|
|
417
|
+
duration: l,
|
|
415
418
|
velocity: g,
|
|
416
|
-
seek:
|
|
417
|
-
settled:
|
|
418
|
-
useBaseFriction:
|
|
419
|
+
seek: p,
|
|
420
|
+
settled: b,
|
|
421
|
+
useBaseFriction: S,
|
|
419
422
|
useBaseDuration: a,
|
|
420
|
-
useFriction:
|
|
421
|
-
useDuration:
|
|
423
|
+
useFriction: T,
|
|
424
|
+
useDuration: x
|
|
422
425
|
};
|
|
423
|
-
return
|
|
426
|
+
return A;
|
|
424
427
|
}
|
|
425
|
-
function
|
|
426
|
-
const o = c.measure(10), e = c.measure(50), f =
|
|
428
|
+
function un(t, n, s, r, c) {
|
|
429
|
+
const o = c.measure(10), e = c.measure(50), f = tt(0.1, 0.99);
|
|
427
430
|
let i = !1;
|
|
428
431
|
function u() {
|
|
429
|
-
return !(i || !t.reachedAny(
|
|
432
|
+
return !(i || !t.reachedAny(s.get()) || !t.reachedAny(n.get()));
|
|
430
433
|
}
|
|
431
|
-
function
|
|
434
|
+
function h(b) {
|
|
432
435
|
if (!u()) return;
|
|
433
|
-
const
|
|
434
|
-
|
|
436
|
+
const l = t.reachedMin(n.get()) ? "min" : "max", m = P(t[l] - n.get()), g = s.get() - n.get(), a = f.constrain(m / e);
|
|
437
|
+
s.subtract(g * a), !b && P(g) < o && (s.set(t.constrain(s.get())), r.useDuration(25).useBaseFriction());
|
|
435
438
|
}
|
|
436
|
-
function
|
|
437
|
-
i = !
|
|
439
|
+
function d(b) {
|
|
440
|
+
i = !b;
|
|
438
441
|
}
|
|
439
442
|
return {
|
|
440
443
|
shouldConstrain: u,
|
|
441
|
-
constrain:
|
|
442
|
-
toggleActive:
|
|
444
|
+
constrain: h,
|
|
445
|
+
toggleActive: d
|
|
443
446
|
};
|
|
444
447
|
}
|
|
445
|
-
function
|
|
446
|
-
const o =
|
|
447
|
-
function u(
|
|
448
|
-
return ft(
|
|
448
|
+
function fn(t, n, s, r, c) {
|
|
449
|
+
const o = tt(-n + t, 0), e = d(), f = h(), i = p();
|
|
450
|
+
function u(l, m) {
|
|
451
|
+
return ft(l, m) < 1;
|
|
449
452
|
}
|
|
450
|
-
function
|
|
451
|
-
const
|
|
452
|
-
return
|
|
453
|
+
function h() {
|
|
454
|
+
const l = e[0], m = k(e), g = e.lastIndexOf(l), a = e.indexOf(m) + 1;
|
|
455
|
+
return tt(g, a);
|
|
453
456
|
}
|
|
454
|
-
function
|
|
455
|
-
return
|
|
457
|
+
function d() {
|
|
458
|
+
return s.map((l, m) => {
|
|
456
459
|
const {
|
|
457
460
|
min: g,
|
|
458
461
|
max: a
|
|
459
|
-
} = o,
|
|
460
|
-
return
|
|
461
|
-
}).map((
|
|
462
|
+
} = o, S = o.constrain(l), x = !m, T = vt(s, m);
|
|
463
|
+
return x ? a : T || u(g, S) ? g : u(a, S) ? a : S;
|
|
464
|
+
}).map((l) => parseFloat(l.toFixed(3)));
|
|
462
465
|
}
|
|
463
|
-
function
|
|
466
|
+
function p() {
|
|
464
467
|
if (n <= t + c) return [o.max];
|
|
465
|
-
if (
|
|
468
|
+
if (r === "keepSnaps") return e;
|
|
466
469
|
const {
|
|
467
|
-
min:
|
|
468
|
-
max:
|
|
470
|
+
min: l,
|
|
471
|
+
max: m
|
|
469
472
|
} = f;
|
|
470
|
-
return e.slice(
|
|
473
|
+
return e.slice(l, m);
|
|
471
474
|
}
|
|
472
475
|
return {
|
|
473
476
|
snapsContained: i,
|
|
474
477
|
scrollContainLimit: f
|
|
475
478
|
};
|
|
476
479
|
}
|
|
477
|
-
function
|
|
478
|
-
const
|
|
480
|
+
function an(t, n, s) {
|
|
481
|
+
const r = n[0], c = s ? r - t : k(n);
|
|
479
482
|
return {
|
|
480
|
-
limit:
|
|
483
|
+
limit: tt(c, r)
|
|
481
484
|
};
|
|
482
485
|
}
|
|
483
|
-
function
|
|
486
|
+
function ln(t, n, s, r) {
|
|
484
487
|
const o = n.min + 0.1, e = n.max + 0.1, {
|
|
485
488
|
reachedMin: f,
|
|
486
489
|
reachedMax: i
|
|
487
|
-
} =
|
|
488
|
-
function u(
|
|
489
|
-
return
|
|
490
|
+
} = tt(o, e);
|
|
491
|
+
function u(p) {
|
|
492
|
+
return p === 1 ? i(s.get()) : p === -1 ? f(s.get()) : !1;
|
|
490
493
|
}
|
|
491
|
-
function
|
|
492
|
-
if (!u(
|
|
493
|
-
const
|
|
494
|
-
|
|
494
|
+
function h(p) {
|
|
495
|
+
if (!u(p)) return;
|
|
496
|
+
const b = t * (p * -1);
|
|
497
|
+
r.forEach((l) => l.add(b));
|
|
495
498
|
}
|
|
496
499
|
return {
|
|
497
|
-
loop:
|
|
500
|
+
loop: h
|
|
498
501
|
};
|
|
499
502
|
}
|
|
500
|
-
function
|
|
503
|
+
function dn(t) {
|
|
501
504
|
const {
|
|
502
505
|
max: n,
|
|
503
|
-
length:
|
|
506
|
+
length: s
|
|
504
507
|
} = t;
|
|
505
|
-
function
|
|
508
|
+
function r(o) {
|
|
506
509
|
const e = o - n;
|
|
507
|
-
return
|
|
510
|
+
return s ? e / -s : 0;
|
|
508
511
|
}
|
|
509
512
|
return {
|
|
510
|
-
get:
|
|
513
|
+
get: r
|
|
511
514
|
};
|
|
512
515
|
}
|
|
513
|
-
function
|
|
516
|
+
function pn(t, n, s, r, c) {
|
|
514
517
|
const {
|
|
515
518
|
startEdge: o,
|
|
516
519
|
endEdge: e
|
|
517
520
|
} = t, {
|
|
518
521
|
groupSlides: f
|
|
519
|
-
} = c, i =
|
|
520
|
-
function
|
|
521
|
-
return f(
|
|
522
|
+
} = c, i = d().map(n.measure), u = p(), h = b();
|
|
523
|
+
function d() {
|
|
524
|
+
return f(r).map((m) => k(m)[e] - m[0][o]).map(P);
|
|
522
525
|
}
|
|
523
|
-
function
|
|
524
|
-
return
|
|
526
|
+
function p() {
|
|
527
|
+
return r.map((m) => s[o] - m[o]).map((m) => -P(m));
|
|
525
528
|
}
|
|
526
|
-
function
|
|
527
|
-
return f(u).map((
|
|
529
|
+
function b() {
|
|
530
|
+
return f(u).map((m) => m[0]).map((m, g) => m + i[g]);
|
|
528
531
|
}
|
|
529
532
|
return {
|
|
530
533
|
snaps: u,
|
|
531
|
-
snapsAligned:
|
|
534
|
+
snapsAligned: h
|
|
532
535
|
};
|
|
533
536
|
}
|
|
534
|
-
function
|
|
537
|
+
function mn(t, n, s, r, c, o) {
|
|
535
538
|
const {
|
|
536
539
|
groupSlides: e
|
|
537
540
|
} = c, {
|
|
538
541
|
min: f,
|
|
539
542
|
max: i
|
|
540
|
-
} =
|
|
541
|
-
function
|
|
542
|
-
const
|
|
543
|
-
return
|
|
544
|
-
const a = !
|
|
543
|
+
} = r, u = h();
|
|
544
|
+
function h() {
|
|
545
|
+
const p = e(o), b = !t || n === "keepSnaps";
|
|
546
|
+
return s.length === 1 ? [o] : b ? p : p.slice(f, i).map((l, m, g) => {
|
|
547
|
+
const a = !m, S = vt(g, m);
|
|
545
548
|
if (a) {
|
|
546
|
-
const
|
|
547
|
-
return
|
|
549
|
+
const x = k(g[0]) + 1;
|
|
550
|
+
return Vt(x);
|
|
548
551
|
}
|
|
549
|
-
if (
|
|
550
|
-
const
|
|
551
|
-
return
|
|
552
|
+
if (S) {
|
|
553
|
+
const x = pt(o) - k(g)[0] + 1;
|
|
554
|
+
return Vt(x, k(g)[0]);
|
|
552
555
|
}
|
|
553
|
-
return
|
|
556
|
+
return l;
|
|
554
557
|
});
|
|
555
558
|
}
|
|
556
559
|
return {
|
|
557
560
|
slideRegistry: u
|
|
558
561
|
};
|
|
559
562
|
}
|
|
560
|
-
function
|
|
563
|
+
function gn(t, n, s, r, c) {
|
|
561
564
|
const {
|
|
562
565
|
reachedAny: o,
|
|
563
566
|
removeOffset: e,
|
|
564
567
|
constrain: f
|
|
565
|
-
} =
|
|
566
|
-
function i(
|
|
567
|
-
return
|
|
568
|
+
} = r;
|
|
569
|
+
function i(l) {
|
|
570
|
+
return l.concat().sort((m, g) => P(m) - P(g))[0];
|
|
568
571
|
}
|
|
569
|
-
function u(
|
|
570
|
-
const
|
|
571
|
-
diff: S
|
|
572
|
-
index:
|
|
573
|
-
})).sort((
|
|
572
|
+
function u(l) {
|
|
573
|
+
const m = t ? e(l) : f(l), g = n.map((S, x) => ({
|
|
574
|
+
diff: h(S - m, 0),
|
|
575
|
+
index: x
|
|
576
|
+
})).sort((S, x) => P(S.diff) - P(x.diff)), {
|
|
574
577
|
index: a
|
|
575
578
|
} = g[0];
|
|
576
579
|
return {
|
|
577
580
|
index: a,
|
|
578
|
-
distance:
|
|
581
|
+
distance: m
|
|
579
582
|
};
|
|
580
583
|
}
|
|
581
|
-
function
|
|
582
|
-
const g = [
|
|
583
|
-
if (!t) return
|
|
584
|
-
if (!
|
|
585
|
-
const a = g.filter((
|
|
586
|
-
return a.length ? i(a) : k(g) -
|
|
584
|
+
function h(l, m) {
|
|
585
|
+
const g = [l, l + s, l - s];
|
|
586
|
+
if (!t) return l;
|
|
587
|
+
if (!m) return i(g);
|
|
588
|
+
const a = g.filter((S) => It(S) === m);
|
|
589
|
+
return a.length ? i(a) : k(g) - s;
|
|
587
590
|
}
|
|
588
|
-
function l
|
|
589
|
-
const g = n[
|
|
591
|
+
function d(l, m) {
|
|
592
|
+
const g = n[l] - c.get(), a = h(g, m);
|
|
590
593
|
return {
|
|
591
|
-
index:
|
|
594
|
+
index: l,
|
|
592
595
|
distance: a
|
|
593
596
|
};
|
|
594
597
|
}
|
|
595
|
-
function
|
|
596
|
-
const g = c.get() +
|
|
598
|
+
function p(l, m) {
|
|
599
|
+
const g = c.get() + l, {
|
|
597
600
|
index: a,
|
|
598
|
-
distance:
|
|
599
|
-
} = u(g),
|
|
600
|
-
if (!
|
|
601
|
+
distance: S
|
|
602
|
+
} = u(g), x = !t && o(g);
|
|
603
|
+
if (!m || x) return {
|
|
601
604
|
index: a,
|
|
602
|
-
distance:
|
|
605
|
+
distance: l
|
|
603
606
|
};
|
|
604
|
-
const
|
|
607
|
+
const T = n[a] - S, A = l + h(T, 0);
|
|
605
608
|
return {
|
|
606
609
|
index: a,
|
|
607
|
-
distance:
|
|
610
|
+
distance: A
|
|
608
611
|
};
|
|
609
612
|
}
|
|
610
613
|
return {
|
|
611
|
-
byDistance:
|
|
612
|
-
byIndex:
|
|
613
|
-
shortcut:
|
|
614
|
+
byDistance: p,
|
|
615
|
+
byIndex: d,
|
|
616
|
+
shortcut: h
|
|
614
617
|
};
|
|
615
618
|
}
|
|
616
|
-
function
|
|
617
|
-
function f(
|
|
618
|
-
const
|
|
619
|
-
o.add(
|
|
619
|
+
function hn(t, n, s, r, c, o, e) {
|
|
620
|
+
function f(d) {
|
|
621
|
+
const p = d.distance, b = d.index !== n.get();
|
|
622
|
+
o.add(p), p && (r.duration() ? t.start() : (t.update(), t.render(1), t.update())), b && (s.set(n.get()), n.set(d.index), e.emit("select"));
|
|
620
623
|
}
|
|
621
|
-
function i(
|
|
622
|
-
const
|
|
623
|
-
f(
|
|
624
|
+
function i(d, p) {
|
|
625
|
+
const b = c.byDistance(d, p);
|
|
626
|
+
f(b);
|
|
624
627
|
}
|
|
625
|
-
function u(
|
|
626
|
-
const
|
|
627
|
-
f(
|
|
628
|
+
function u(d, p) {
|
|
629
|
+
const b = n.clone().set(d), l = c.byIndex(b.get(), p);
|
|
630
|
+
f(l);
|
|
628
631
|
}
|
|
629
632
|
return {
|
|
630
633
|
distance: i,
|
|
631
634
|
index: u
|
|
632
635
|
};
|
|
633
636
|
}
|
|
634
|
-
function
|
|
637
|
+
function Sn(t, n, s, r, c, o, e, f) {
|
|
635
638
|
const i = {
|
|
636
639
|
passive: !0,
|
|
637
640
|
capture: !0
|
|
638
641
|
};
|
|
639
642
|
let u = 0;
|
|
640
|
-
function
|
|
643
|
+
function h(b) {
|
|
641
644
|
if (!f) return;
|
|
642
|
-
function
|
|
645
|
+
function l(m) {
|
|
643
646
|
if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
|
|
644
647
|
e.emit("slideFocusStart"), t.scrollLeft = 0;
|
|
645
|
-
const
|
|
646
|
-
Tt(
|
|
648
|
+
const S = s.findIndex((x) => x.includes(m));
|
|
649
|
+
Tt(S) && (c.useDuration(0), r.index(S, 0), e.emit("slideFocus"));
|
|
647
650
|
}
|
|
648
|
-
o.add(document, "keydown",
|
|
649
|
-
o.add(
|
|
650
|
-
(gt(f) || f(
|
|
651
|
+
o.add(document, "keydown", d, !1), n.forEach((m, g) => {
|
|
652
|
+
o.add(m, "focus", (a) => {
|
|
653
|
+
(gt(f) || f(b, a)) && l(g);
|
|
651
654
|
}, i);
|
|
652
655
|
});
|
|
653
656
|
}
|
|
654
|
-
function
|
|
655
|
-
|
|
657
|
+
function d(b) {
|
|
658
|
+
b.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
|
|
656
659
|
}
|
|
657
660
|
return {
|
|
658
|
-
init:
|
|
661
|
+
init: h
|
|
659
662
|
};
|
|
660
663
|
}
|
|
661
664
|
function ut(t) {
|
|
662
665
|
let n = t;
|
|
663
|
-
function
|
|
666
|
+
function s() {
|
|
664
667
|
return n;
|
|
665
668
|
}
|
|
666
|
-
function
|
|
669
|
+
function r(i) {
|
|
667
670
|
n = e(i);
|
|
668
671
|
}
|
|
669
672
|
function c(i) {
|
|
@@ -676,337 +679,340 @@ function ut(t) {
|
|
|
676
679
|
return Tt(i) ? i : i.get();
|
|
677
680
|
}
|
|
678
681
|
return {
|
|
679
|
-
get:
|
|
680
|
-
set:
|
|
682
|
+
get: s,
|
|
683
|
+
set: r,
|
|
681
684
|
add: c,
|
|
682
685
|
subtract: o
|
|
683
686
|
};
|
|
684
687
|
}
|
|
685
|
-
function
|
|
686
|
-
const
|
|
687
|
-
let c = !1;
|
|
688
|
-
function
|
|
689
|
-
return `translate3d(${
|
|
688
|
+
function kt(t, n) {
|
|
689
|
+
const s = t.scroll === "x" ? e : f, r = n.style;
|
|
690
|
+
let c = null, o = !1;
|
|
691
|
+
function e(p) {
|
|
692
|
+
return `translate3d(${p}px,0px,0px)`;
|
|
690
693
|
}
|
|
691
|
-
function
|
|
692
|
-
return `translate3d(0px,${
|
|
694
|
+
function f(p) {
|
|
695
|
+
return `translate3d(0px,${p}px,0px)`;
|
|
693
696
|
}
|
|
694
|
-
function
|
|
695
|
-
|
|
697
|
+
function i(p) {
|
|
698
|
+
if (o) return;
|
|
699
|
+
const b = Jt(t.direction(p));
|
|
700
|
+
b !== c && (r.transform = s(b), c = b);
|
|
696
701
|
}
|
|
697
|
-
function
|
|
698
|
-
|
|
702
|
+
function u(p) {
|
|
703
|
+
o = !p;
|
|
699
704
|
}
|
|
700
|
-
function
|
|
701
|
-
|
|
705
|
+
function h() {
|
|
706
|
+
o || (r.transform = "", n.getAttribute("style") || n.removeAttribute("style"));
|
|
702
707
|
}
|
|
703
708
|
return {
|
|
704
|
-
clear:
|
|
705
|
-
to:
|
|
706
|
-
toggleActive:
|
|
709
|
+
clear: h,
|
|
710
|
+
to: i,
|
|
711
|
+
toggleActive: u
|
|
707
712
|
};
|
|
708
713
|
}
|
|
709
|
-
function
|
|
710
|
-
const
|
|
711
|
-
function
|
|
712
|
-
return L.reduce((
|
|
714
|
+
function yn(t, n, s, r, c, o, e, f, i) {
|
|
715
|
+
const h = at(c), d = at(c).reverse(), p = a().concat(S());
|
|
716
|
+
function b(L, E) {
|
|
717
|
+
return L.reduce((v, C) => v - c[C], E);
|
|
713
718
|
}
|
|
714
|
-
function
|
|
715
|
-
return L.reduce((
|
|
719
|
+
function l(L, E) {
|
|
720
|
+
return L.reduce((v, C) => b(v, E) > 0 ? v.concat([C]) : v, []);
|
|
716
721
|
}
|
|
717
|
-
function
|
|
718
|
-
return o.map((E,
|
|
719
|
-
start: E -
|
|
722
|
+
function m(L) {
|
|
723
|
+
return o.map((E, v) => ({
|
|
724
|
+
start: E - r[v] + 0.5 + L,
|
|
720
725
|
end: E + n - 0.5 + L
|
|
721
726
|
}));
|
|
722
727
|
}
|
|
723
|
-
function g(L, E,
|
|
724
|
-
const C =
|
|
725
|
-
return L.map((
|
|
726
|
-
const V =
|
|
728
|
+
function g(L, E, v) {
|
|
729
|
+
const C = m(E);
|
|
730
|
+
return L.map((D) => {
|
|
731
|
+
const V = v ? 0 : -s, G = v ? s : 0, H = v ? "end" : "start", j = C[D][H];
|
|
727
732
|
return {
|
|
728
|
-
index:
|
|
733
|
+
index: D,
|
|
729
734
|
loopPoint: j,
|
|
730
735
|
slideLocation: ut(-1),
|
|
731
|
-
translate:
|
|
736
|
+
translate: kt(t, i[D]),
|
|
732
737
|
target: () => f.get() > j ? V : G
|
|
733
738
|
};
|
|
734
739
|
});
|
|
735
740
|
}
|
|
736
741
|
function a() {
|
|
737
|
-
const L = e[0], E = d
|
|
738
|
-
return g(E,
|
|
742
|
+
const L = e[0], E = l(d, L);
|
|
743
|
+
return g(E, s, !1);
|
|
739
744
|
}
|
|
740
|
-
function
|
|
741
|
-
const L = n - e[0] - 1, E =
|
|
742
|
-
return g(E, -
|
|
745
|
+
function S() {
|
|
746
|
+
const L = n - e[0] - 1, E = l(h, L);
|
|
747
|
+
return g(E, -s, !0);
|
|
743
748
|
}
|
|
744
|
-
function
|
|
745
|
-
return
|
|
749
|
+
function x() {
|
|
750
|
+
return p.every(({
|
|
746
751
|
index: L
|
|
747
752
|
}) => {
|
|
748
|
-
const E =
|
|
749
|
-
return
|
|
753
|
+
const E = h.filter((v) => v !== L);
|
|
754
|
+
return b(E, n) <= 0.1;
|
|
750
755
|
});
|
|
751
756
|
}
|
|
752
|
-
function
|
|
753
|
-
|
|
757
|
+
function T() {
|
|
758
|
+
p.forEach((L) => {
|
|
754
759
|
const {
|
|
755
760
|
target: E,
|
|
756
|
-
translate:
|
|
761
|
+
translate: v,
|
|
757
762
|
slideLocation: C
|
|
758
|
-
} = L,
|
|
759
|
-
|
|
763
|
+
} = L, D = E();
|
|
764
|
+
D !== C.get() && (v.to(D), C.set(D));
|
|
760
765
|
});
|
|
761
766
|
}
|
|
762
|
-
function
|
|
763
|
-
|
|
767
|
+
function A() {
|
|
768
|
+
p.forEach((L) => L.translate.clear());
|
|
764
769
|
}
|
|
765
770
|
return {
|
|
766
|
-
canLoop:
|
|
767
|
-
clear:
|
|
768
|
-
loop:
|
|
769
|
-
loopPoints:
|
|
771
|
+
canLoop: x,
|
|
772
|
+
clear: A,
|
|
773
|
+
loop: T,
|
|
774
|
+
loopPoints: p
|
|
770
775
|
};
|
|
771
776
|
}
|
|
772
|
-
function
|
|
773
|
-
let
|
|
777
|
+
function bn(t, n, s) {
|
|
778
|
+
let r, c = !1;
|
|
774
779
|
function o(i) {
|
|
775
|
-
if (!
|
|
776
|
-
function u(
|
|
777
|
-
for (const
|
|
778
|
-
if (
|
|
780
|
+
if (!s) return;
|
|
781
|
+
function u(h) {
|
|
782
|
+
for (const d of h)
|
|
783
|
+
if (d.type === "childList") {
|
|
779
784
|
i.reInit(), n.emit("slidesChanged");
|
|
780
785
|
break;
|
|
781
786
|
}
|
|
782
787
|
}
|
|
783
|
-
|
|
784
|
-
c || (gt(
|
|
785
|
-
}),
|
|
788
|
+
r = new MutationObserver((h) => {
|
|
789
|
+
c || (gt(s) || s(i, h)) && u(h);
|
|
790
|
+
}), r.observe(t, {
|
|
786
791
|
childList: !0
|
|
787
792
|
});
|
|
788
793
|
}
|
|
789
794
|
function e() {
|
|
790
|
-
|
|
795
|
+
r && r.disconnect(), c = !0;
|
|
791
796
|
}
|
|
792
797
|
return {
|
|
793
798
|
init: o,
|
|
794
799
|
destroy: e
|
|
795
800
|
};
|
|
796
801
|
}
|
|
797
|
-
function
|
|
802
|
+
function xn(t, n, s, r) {
|
|
798
803
|
const c = {};
|
|
799
804
|
let o = null, e = null, f, i = !1;
|
|
800
805
|
function u() {
|
|
801
|
-
f = new IntersectionObserver((
|
|
802
|
-
i || (
|
|
803
|
-
const g = n.indexOf(
|
|
804
|
-
c[g] =
|
|
805
|
-
}), o = null, e = null,
|
|
806
|
+
f = new IntersectionObserver((l) => {
|
|
807
|
+
i || (l.forEach((m) => {
|
|
808
|
+
const g = n.indexOf(m.target);
|
|
809
|
+
c[g] = m;
|
|
810
|
+
}), o = null, e = null, s.emit("slidesInView"));
|
|
806
811
|
}, {
|
|
807
812
|
root: t.parentElement,
|
|
808
|
-
threshold:
|
|
809
|
-
}), n.forEach((
|
|
813
|
+
threshold: r
|
|
814
|
+
}), n.forEach((l) => f.observe(l));
|
|
810
815
|
}
|
|
811
|
-
function
|
|
816
|
+
function h() {
|
|
812
817
|
f && f.disconnect(), i = !0;
|
|
813
818
|
}
|
|
814
|
-
function l
|
|
815
|
-
return lt(c).reduce((
|
|
819
|
+
function d(l) {
|
|
820
|
+
return lt(c).reduce((m, g) => {
|
|
816
821
|
const a = parseInt(g), {
|
|
817
|
-
isIntersecting:
|
|
822
|
+
isIntersecting: S
|
|
818
823
|
} = c[a];
|
|
819
|
-
return (
|
|
824
|
+
return (l && S || !l && !S) && m.push(a), m;
|
|
820
825
|
}, []);
|
|
821
826
|
}
|
|
822
|
-
function
|
|
823
|
-
if (
|
|
824
|
-
if (!
|
|
825
|
-
const
|
|
826
|
-
return
|
|
827
|
+
function p(l = !0) {
|
|
828
|
+
if (l && o) return o;
|
|
829
|
+
if (!l && e) return e;
|
|
830
|
+
const m = d(l);
|
|
831
|
+
return l && (o = m), l || (e = m), m;
|
|
827
832
|
}
|
|
828
833
|
return {
|
|
829
834
|
init: u,
|
|
830
|
-
destroy:
|
|
831
|
-
get:
|
|
835
|
+
destroy: h,
|
|
836
|
+
get: p
|
|
832
837
|
};
|
|
833
838
|
}
|
|
834
|
-
function
|
|
839
|
+
function Ln(t, n, s, r, c, o) {
|
|
835
840
|
const {
|
|
836
841
|
measureSize: e,
|
|
837
842
|
startEdge: f,
|
|
838
843
|
endEdge: i
|
|
839
|
-
} = t, u =
|
|
840
|
-
function
|
|
844
|
+
} = t, u = s[0] && c, h = l(), d = m(), p = s.map(e), b = g();
|
|
845
|
+
function l() {
|
|
841
846
|
if (!u) return 0;
|
|
842
|
-
const
|
|
843
|
-
return P(n[f] -
|
|
847
|
+
const S = s[0];
|
|
848
|
+
return P(n[f] - S[f]);
|
|
844
849
|
}
|
|
845
|
-
function
|
|
850
|
+
function m() {
|
|
846
851
|
if (!u) return 0;
|
|
847
|
-
const
|
|
848
|
-
return parseFloat(
|
|
852
|
+
const S = o.getComputedStyle(k(r));
|
|
853
|
+
return parseFloat(S.getPropertyValue(`margin-${i}`));
|
|
849
854
|
}
|
|
850
855
|
function g() {
|
|
851
|
-
return
|
|
852
|
-
const
|
|
853
|
-
return
|
|
856
|
+
return s.map((S, x, T) => {
|
|
857
|
+
const A = !x, I = vt(T, x);
|
|
858
|
+
return A ? p[x] + h : I ? p[x] + d : T[x + 1][f] - S[f];
|
|
854
859
|
}).map(P);
|
|
855
860
|
}
|
|
856
861
|
return {
|
|
857
|
-
slideSizes:
|
|
858
|
-
slideSizesWithGaps:
|
|
859
|
-
startGap:
|
|
860
|
-
endGap:
|
|
862
|
+
slideSizes: p,
|
|
863
|
+
slideSizesWithGaps: b,
|
|
864
|
+
startGap: h,
|
|
865
|
+
endGap: d
|
|
861
866
|
};
|
|
862
867
|
}
|
|
863
|
-
function
|
|
868
|
+
function En(t, n, s, r, c, o, e, f, i) {
|
|
864
869
|
const {
|
|
865
870
|
startEdge: u,
|
|
866
|
-
endEdge:
|
|
867
|
-
direction:
|
|
868
|
-
} = t,
|
|
869
|
-
function
|
|
870
|
-
return at(a).filter((
|
|
871
|
-
}
|
|
872
|
-
function
|
|
873
|
-
return a.length ? at(a).reduce((
|
|
874
|
-
const
|
|
875
|
-
return
|
|
876
|
-
}, []).map((
|
|
877
|
-
const
|
|
878
|
-
return a.slice(
|
|
871
|
+
endEdge: h,
|
|
872
|
+
direction: d
|
|
873
|
+
} = t, p = Tt(s);
|
|
874
|
+
function b(a, S) {
|
|
875
|
+
return at(a).filter((x) => x % S === 0).map((x) => a.slice(x, x + S));
|
|
876
|
+
}
|
|
877
|
+
function l(a) {
|
|
878
|
+
return a.length ? at(a).reduce((S, x, T) => {
|
|
879
|
+
const A = k(S) || 0, I = A === 0, L = x === pt(a), E = c[u] - o[A][u], v = c[u] - o[x][h], C = !r && I ? d(e) : 0, D = !r && L ? d(f) : 0, V = P(v - D - (E + C));
|
|
880
|
+
return T && V > n + i && S.push(x), L && S.push(a.length), S;
|
|
881
|
+
}, []).map((S, x, T) => {
|
|
882
|
+
const A = Math.max(T[x - 1] || 0);
|
|
883
|
+
return a.slice(A, S);
|
|
879
884
|
}) : [];
|
|
880
885
|
}
|
|
881
|
-
function
|
|
882
|
-
return
|
|
886
|
+
function m(a) {
|
|
887
|
+
return p ? b(a, s) : l(a);
|
|
883
888
|
}
|
|
884
889
|
return {
|
|
885
|
-
groupSlides:
|
|
890
|
+
groupSlides: m
|
|
886
891
|
};
|
|
887
892
|
}
|
|
888
|
-
function
|
|
893
|
+
function Tn(t, n, s, r, c, o, e) {
|
|
889
894
|
const {
|
|
890
895
|
align: f,
|
|
891
896
|
axis: i,
|
|
892
897
|
direction: u,
|
|
893
|
-
startIndex:
|
|
894
|
-
loop:
|
|
895
|
-
duration:
|
|
896
|
-
dragFree:
|
|
897
|
-
dragThreshold:
|
|
898
|
-
inViewThreshold:
|
|
898
|
+
startIndex: h,
|
|
899
|
+
loop: d,
|
|
900
|
+
duration: p,
|
|
901
|
+
dragFree: b,
|
|
902
|
+
dragThreshold: l,
|
|
903
|
+
inViewThreshold: m,
|
|
899
904
|
slidesToScroll: g,
|
|
900
905
|
skipSnaps: a,
|
|
901
|
-
containScroll:
|
|
902
|
-
watchResize:
|
|
903
|
-
watchSlides:
|
|
904
|
-
watchDrag:
|
|
905
|
-
watchFocus:
|
|
906
|
-
} = o, L = 2, E =
|
|
906
|
+
containScroll: S,
|
|
907
|
+
watchResize: x,
|
|
908
|
+
watchSlides: T,
|
|
909
|
+
watchDrag: A,
|
|
910
|
+
watchFocus: I
|
|
911
|
+
} = o, L = 2, E = on(), v = E.measure(n), C = s.map(E.measure), D = tn(i, u), V = D.measureSize(v), G = rn(V), H = Zt(f, V), j = !d && !!S, J = d || !!S, {
|
|
907
912
|
slideSizes: Y,
|
|
908
913
|
slideSizesWithGaps: U,
|
|
909
914
|
startGap: $,
|
|
910
|
-
endGap:
|
|
911
|
-
} =
|
|
912
|
-
snaps:
|
|
913
|
-
snapsAligned:
|
|
914
|
-
} =
|
|
915
|
-
snapsContained:
|
|
915
|
+
endGap: rt
|
|
916
|
+
} = Ln(D, v, C, s, J, c), R = En(D, V, g, d, v, C, $, rt, L), {
|
|
917
|
+
snaps: nt,
|
|
918
|
+
snapsAligned: et
|
|
919
|
+
} = pn(D, H, v, C, R), Q = -k(nt) + k(U), {
|
|
920
|
+
snapsContained: st,
|
|
916
921
|
scrollContainLimit: it
|
|
917
|
-
} =
|
|
922
|
+
} = fn(V, Q, et, S, L), z = j ? st : et, {
|
|
918
923
|
limit: w
|
|
919
|
-
} =
|
|
920
|
-
dragHandler:
|
|
924
|
+
} = an(Q, z, d), K = Bt(pt(z), h, d), B = K.clone(), F = at(s), y = ({
|
|
925
|
+
dragHandler: ot,
|
|
921
926
|
scrollBody: bt,
|
|
922
927
|
scrollBounds: xt,
|
|
923
928
|
options: {
|
|
924
929
|
loop: mt
|
|
925
930
|
}
|
|
926
|
-
}
|
|
927
|
-
mt || xt.constrain(
|
|
928
|
-
},
|
|
929
|
-
scrollBody:
|
|
931
|
+
}) => {
|
|
932
|
+
mt || xt.constrain(ot.pointerDown()), bt.seek();
|
|
933
|
+
}, M = ({
|
|
934
|
+
scrollBody: ot,
|
|
930
935
|
translate: bt,
|
|
931
936
|
location: xt,
|
|
932
937
|
offsetLocation: mt,
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
938
|
+
previousLocation: Rt,
|
|
939
|
+
scrollLooper: qt,
|
|
940
|
+
slideLooper: Ut,
|
|
941
|
+
dragHandler: $t,
|
|
942
|
+
animation: Qt,
|
|
943
|
+
eventHandler: Ft,
|
|
944
|
+
scrollBounds: Kt,
|
|
939
945
|
options: {
|
|
940
|
-
loop:
|
|
946
|
+
loop: Pt
|
|
941
947
|
}
|
|
942
|
-
},
|
|
943
|
-
const
|
|
944
|
-
|
|
945
|
-
const
|
|
946
|
-
mt.set(
|
|
947
|
-
}, O =
|
|
948
|
-
slideRegistry:
|
|
949
|
-
} =
|
|
950
|
-
ownerDocument:
|
|
948
|
+
}, Ct) => {
|
|
949
|
+
const Ot = ot.settled(), Xt = !Kt.shouldConstrain(), wt = Pt ? Ot : Ot && Xt;
|
|
950
|
+
wt && !$t.pointerDown() && (Qt.stop(), Ft.emit("settle")), wt || Ft.emit("scroll");
|
|
951
|
+
const Yt = xt.get() * Ct + Rt.get() * (1 - Ct);
|
|
952
|
+
mt.set(Yt), Pt && (qt.loop(ot.direction()), Ut.loop()), bt.to(mt.get());
|
|
953
|
+
}, O = Wt(r, c, () => y(yt), (ot) => M(yt, ot)), N = 0.68, q = z[K.get()], X = ut(q), Z = ut(q), _ = ut(q), W = ut(q), ct = cn(X, _, Z, W, p, N), ht = gn(d, z, Q, w, W), St = hn(O, K, B, ct, ht, W, e), Dt = dn(w), Mt = dt(), Ht = xn(n, s, e, m), {
|
|
954
|
+
slideRegistry: At
|
|
955
|
+
} = mn(j, S, z, it, R, F), jt = Sn(t, s, At, St, ct, Mt, e, I), yt = {
|
|
956
|
+
ownerDocument: r,
|
|
951
957
|
ownerWindow: c,
|
|
952
958
|
eventHandler: e,
|
|
953
|
-
containerRect:
|
|
959
|
+
containerRect: v,
|
|
954
960
|
slideRects: C,
|
|
955
961
|
animation: O,
|
|
956
|
-
axis:
|
|
957
|
-
dragHandler:
|
|
962
|
+
axis: D,
|
|
963
|
+
dragHandler: nn(D, t, r, c, W, en(D, c), X, O, St, ct, ht, K, e, G, b, l, a, N, A),
|
|
958
964
|
eventStore: Mt,
|
|
959
965
|
percentOfView: G,
|
|
960
966
|
index: K,
|
|
961
967
|
indexPrevious: B,
|
|
962
968
|
limit: w,
|
|
963
969
|
location: X,
|
|
964
|
-
offsetLocation:
|
|
965
|
-
previousLocation:
|
|
970
|
+
offsetLocation: _,
|
|
971
|
+
previousLocation: Z,
|
|
966
972
|
options: o,
|
|
967
|
-
resizeHandler:
|
|
973
|
+
resizeHandler: sn(n, e, c, s, D, x, E),
|
|
968
974
|
scrollBody: ct,
|
|
969
|
-
scrollBounds:
|
|
970
|
-
scrollLooper:
|
|
971
|
-
scrollProgress:
|
|
972
|
-
scrollSnapList: z.map(
|
|
975
|
+
scrollBounds: un(w, _, W, ct, G),
|
|
976
|
+
scrollLooper: ln(Q, w, _, [X, _, Z, W]),
|
|
977
|
+
scrollProgress: Dt,
|
|
978
|
+
scrollSnapList: z.map(Dt.get),
|
|
973
979
|
scrollSnaps: z,
|
|
974
980
|
scrollTarget: ht,
|
|
975
981
|
scrollTo: St,
|
|
976
|
-
slideLooper:
|
|
977
|
-
slideFocus:
|
|
978
|
-
slidesHandler:
|
|
979
|
-
slidesInView:
|
|
982
|
+
slideLooper: yn(D, V, Q, Y, U, nt, z, _, s),
|
|
983
|
+
slideFocus: jt,
|
|
984
|
+
slidesHandler: bn(n, e, T),
|
|
985
|
+
slidesInView: Ht,
|
|
980
986
|
slideIndexes: F,
|
|
981
|
-
slideRegistry:
|
|
987
|
+
slideRegistry: At,
|
|
982
988
|
slidesToScroll: R,
|
|
983
|
-
target:
|
|
984
|
-
translate:
|
|
989
|
+
target: W,
|
|
990
|
+
translate: kt(D, n)
|
|
985
991
|
};
|
|
986
992
|
return yt;
|
|
987
993
|
}
|
|
988
|
-
function
|
|
994
|
+
function In() {
|
|
989
995
|
let t = {}, n;
|
|
990
|
-
function
|
|
996
|
+
function s(u) {
|
|
991
997
|
n = u;
|
|
992
998
|
}
|
|
993
|
-
function
|
|
999
|
+
function r(u) {
|
|
994
1000
|
return t[u] || [];
|
|
995
1001
|
}
|
|
996
1002
|
function c(u) {
|
|
997
|
-
return
|
|
1003
|
+
return r(u).forEach((h) => h(n, u)), i;
|
|
998
1004
|
}
|
|
999
|
-
function o(u,
|
|
1000
|
-
return t[u] =
|
|
1005
|
+
function o(u, h) {
|
|
1006
|
+
return t[u] = r(u).concat([h]), i;
|
|
1001
1007
|
}
|
|
1002
|
-
function e(u,
|
|
1003
|
-
return t[u] =
|
|
1008
|
+
function e(u, h) {
|
|
1009
|
+
return t[u] = r(u).filter((d) => d !== h), i;
|
|
1004
1010
|
}
|
|
1005
1011
|
function f() {
|
|
1006
1012
|
t = {};
|
|
1007
1013
|
}
|
|
1008
1014
|
const i = {
|
|
1009
|
-
init:
|
|
1015
|
+
init: s,
|
|
1010
1016
|
emit: c,
|
|
1011
1017
|
off: e,
|
|
1012
1018
|
on: o,
|
|
@@ -1014,7 +1020,7 @@ function En() {
|
|
|
1014
1020
|
};
|
|
1015
1021
|
return i;
|
|
1016
1022
|
}
|
|
1017
|
-
const
|
|
1023
|
+
const vn = {
|
|
1018
1024
|
align: "center",
|
|
1019
1025
|
axis: "x",
|
|
1020
1026
|
container: null,
|
|
@@ -1036,79 +1042,79 @@ const In = {
|
|
|
1036
1042
|
watchSlides: !0,
|
|
1037
1043
|
watchFocus: !0
|
|
1038
1044
|
};
|
|
1039
|
-
function
|
|
1045
|
+
function Dn(t) {
|
|
1040
1046
|
function n(o, e) {
|
|
1041
|
-
return
|
|
1047
|
+
return zt(o, e || {});
|
|
1042
1048
|
}
|
|
1043
|
-
function
|
|
1049
|
+
function s(o) {
|
|
1044
1050
|
const e = o.breakpoints || {}, f = lt(e).filter((i) => t.matchMedia(i).matches).map((i) => e[i]).reduce((i, u) => n(i, u), {});
|
|
1045
1051
|
return n(o, f);
|
|
1046
1052
|
}
|
|
1047
|
-
function
|
|
1053
|
+
function r(o) {
|
|
1048
1054
|
return o.map((e) => lt(e.breakpoints || {})).reduce((e, f) => e.concat(f), []).map(t.matchMedia);
|
|
1049
1055
|
}
|
|
1050
1056
|
return {
|
|
1051
1057
|
mergeOptions: n,
|
|
1052
|
-
optionsAtMedia:
|
|
1053
|
-
optionsMediaQueries:
|
|
1058
|
+
optionsAtMedia: s,
|
|
1059
|
+
optionsMediaQueries: r
|
|
1054
1060
|
};
|
|
1055
1061
|
}
|
|
1056
|
-
function
|
|
1062
|
+
function Mn(t) {
|
|
1057
1063
|
let n = [];
|
|
1058
|
-
function
|
|
1064
|
+
function s(o, e) {
|
|
1059
1065
|
return n = e.filter(({
|
|
1060
1066
|
options: f
|
|
1061
1067
|
}) => t.optionsAtMedia(f).active !== !1), n.forEach((f) => f.init(o, t)), e.reduce((f, i) => Object.assign(f, {
|
|
1062
1068
|
[i.name]: i
|
|
1063
1069
|
}), {});
|
|
1064
1070
|
}
|
|
1065
|
-
function
|
|
1071
|
+
function r() {
|
|
1066
1072
|
n = n.filter((o) => o.destroy());
|
|
1067
1073
|
}
|
|
1068
1074
|
return {
|
|
1069
|
-
init:
|
|
1070
|
-
destroy:
|
|
1075
|
+
init: s,
|
|
1076
|
+
destroy: r
|
|
1071
1077
|
};
|
|
1072
1078
|
}
|
|
1073
|
-
function
|
|
1074
|
-
const
|
|
1079
|
+
function Gt(t, n, s) {
|
|
1080
|
+
const r = t.ownerDocument, c = r.defaultView, o = Dn(c), e = Mn(o), f = dt(), i = In(), {
|
|
1075
1081
|
mergeOptions: u,
|
|
1076
|
-
optionsAtMedia:
|
|
1077
|
-
optionsMediaQueries:
|
|
1082
|
+
optionsAtMedia: h,
|
|
1083
|
+
optionsMediaQueries: d
|
|
1078
1084
|
} = o, {
|
|
1079
|
-
on:
|
|
1080
|
-
off:
|
|
1081
|
-
emit:
|
|
1082
|
-
} = i,
|
|
1083
|
-
let g = !1, a,
|
|
1085
|
+
on: p,
|
|
1086
|
+
off: b,
|
|
1087
|
+
emit: l
|
|
1088
|
+
} = i, m = D;
|
|
1089
|
+
let g = !1, a, S = u(vn, Gt.globalOptions), x = u(S), T = [], A, I, L;
|
|
1084
1090
|
function E() {
|
|
1085
1091
|
const {
|
|
1086
1092
|
container: F,
|
|
1087
1093
|
slides: y
|
|
1088
|
-
} =
|
|
1089
|
-
|
|
1090
|
-
const O =
|
|
1091
|
-
L = [].slice.call(O ||
|
|
1094
|
+
} = x;
|
|
1095
|
+
I = (Lt(F) ? t.querySelector(F) : F) || t.children[0];
|
|
1096
|
+
const O = Lt(y) ? I.querySelectorAll(y) : y;
|
|
1097
|
+
L = [].slice.call(O || I.children);
|
|
1092
1098
|
}
|
|
1093
|
-
function
|
|
1094
|
-
const y =
|
|
1099
|
+
function v(F) {
|
|
1100
|
+
const y = Tn(t, I, L, r, c, F, i);
|
|
1095
1101
|
if (F.loop && !y.slideLooper.canLoop()) {
|
|
1096
|
-
const
|
|
1102
|
+
const M = Object.assign({}, F, {
|
|
1097
1103
|
loop: !1
|
|
1098
1104
|
});
|
|
1099
|
-
return
|
|
1105
|
+
return v(M);
|
|
1100
1106
|
}
|
|
1101
1107
|
return y;
|
|
1102
1108
|
}
|
|
1103
1109
|
function C(F, y) {
|
|
1104
|
-
g || (
|
|
1105
|
-
options:
|
|
1106
|
-
}) =>
|
|
1110
|
+
g || (S = u(S, F), x = h(S), T = y || T, E(), a = v(x), d([S, ...T.map(({
|
|
1111
|
+
options: M
|
|
1112
|
+
}) => M)]).forEach((M) => f.add(M, "change", D)), x.active && (a.translate.to(a.location.get()), a.animation.init(), a.slidesInView.init(), a.slideFocus.init(B), a.eventHandler.init(B), a.resizeHandler.init(B), a.slidesHandler.init(B), a.options.loop && a.slideLooper.loop(), I.offsetParent && L.length && a.dragHandler.init(B), A = e.init(B, T)));
|
|
1107
1113
|
}
|
|
1108
|
-
function
|
|
1109
|
-
const
|
|
1114
|
+
function D(F, y) {
|
|
1115
|
+
const M = R();
|
|
1110
1116
|
V(), C(u({
|
|
1111
|
-
startIndex:
|
|
1117
|
+
startIndex: M
|
|
1112
1118
|
}, F), y), i.emit("reInit");
|
|
1113
1119
|
}
|
|
1114
1120
|
function V() {
|
|
@@ -1117,14 +1123,14 @@ function Ht(t, n, r) {
|
|
|
1117
1123
|
function G() {
|
|
1118
1124
|
g || (g = !0, f.clear(), V(), i.emit("destroy"), i.clear());
|
|
1119
1125
|
}
|
|
1120
|
-
function H(F, y,
|
|
1121
|
-
!
|
|
1126
|
+
function H(F, y, M) {
|
|
1127
|
+
!x.active || g || (a.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : x.duration), a.scrollTo.index(F, M || 0));
|
|
1122
1128
|
}
|
|
1123
1129
|
function j(F) {
|
|
1124
1130
|
const y = a.index.add(1).get();
|
|
1125
1131
|
H(y, F, -1);
|
|
1126
1132
|
}
|
|
1127
|
-
function
|
|
1133
|
+
function J(F) {
|
|
1128
1134
|
const y = a.index.add(-1).get();
|
|
1129
1135
|
H(y, F, 1);
|
|
1130
1136
|
}
|
|
@@ -1137,23 +1143,23 @@ function Ht(t, n, r) {
|
|
|
1137
1143
|
function $() {
|
|
1138
1144
|
return a.scrollSnapList;
|
|
1139
1145
|
}
|
|
1140
|
-
function
|
|
1146
|
+
function rt() {
|
|
1141
1147
|
return a.scrollProgress.get(a.location.get());
|
|
1142
1148
|
}
|
|
1143
1149
|
function R() {
|
|
1144
1150
|
return a.index.get();
|
|
1145
1151
|
}
|
|
1146
|
-
function
|
|
1152
|
+
function nt() {
|
|
1147
1153
|
return a.indexPrevious.get();
|
|
1148
1154
|
}
|
|
1149
|
-
function
|
|
1155
|
+
function et() {
|
|
1150
1156
|
return a.slidesInView.get();
|
|
1151
1157
|
}
|
|
1152
1158
|
function Q() {
|
|
1153
1159
|
return a.slidesInView.get(!1);
|
|
1154
1160
|
}
|
|
1155
|
-
function
|
|
1156
|
-
return
|
|
1161
|
+
function st() {
|
|
1162
|
+
return A;
|
|
1157
1163
|
}
|
|
1158
1164
|
function it() {
|
|
1159
1165
|
return a;
|
|
@@ -1162,7 +1168,7 @@ function Ht(t, n, r) {
|
|
|
1162
1168
|
return t;
|
|
1163
1169
|
}
|
|
1164
1170
|
function w() {
|
|
1165
|
-
return
|
|
1171
|
+
return I;
|
|
1166
1172
|
}
|
|
1167
1173
|
function K() {
|
|
1168
1174
|
return L;
|
|
@@ -1173,26 +1179,26 @@ function Ht(t, n, r) {
|
|
|
1173
1179
|
containerNode: w,
|
|
1174
1180
|
internalEngine: it,
|
|
1175
1181
|
destroy: G,
|
|
1176
|
-
off:
|
|
1177
|
-
on:
|
|
1178
|
-
emit:
|
|
1179
|
-
plugins:
|
|
1180
|
-
previousScrollSnap:
|
|
1181
|
-
reInit:
|
|
1182
|
+
off: b,
|
|
1183
|
+
on: p,
|
|
1184
|
+
emit: l,
|
|
1185
|
+
plugins: st,
|
|
1186
|
+
previousScrollSnap: nt,
|
|
1187
|
+
reInit: m,
|
|
1182
1188
|
rootNode: z,
|
|
1183
1189
|
scrollNext: j,
|
|
1184
|
-
scrollPrev:
|
|
1185
|
-
scrollProgress:
|
|
1190
|
+
scrollPrev: J,
|
|
1191
|
+
scrollProgress: rt,
|
|
1186
1192
|
scrollSnapList: $,
|
|
1187
1193
|
scrollTo: H,
|
|
1188
1194
|
selectedScrollSnap: R,
|
|
1189
1195
|
slideNodes: K,
|
|
1190
|
-
slidesInView:
|
|
1196
|
+
slidesInView: et,
|
|
1191
1197
|
slidesNotInView: Q
|
|
1192
1198
|
};
|
|
1193
|
-
return C(n,
|
|
1199
|
+
return C(n, s), setTimeout(() => i.emit("init"), 0), B;
|
|
1194
1200
|
}
|
|
1195
|
-
|
|
1201
|
+
Gt.globalOptions = void 0;
|
|
1196
1202
|
export {
|
|
1197
|
-
|
|
1203
|
+
Gt as default
|
|
1198
1204
|
};
|