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