md-components-mdigial-azamat 0.0.32 → 0.0.33
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/Actions/downloadFile/downloadFile.js +28 -0
- package/dist/Actions/index.js +13 -0
- package/dist/Actions/types.js +9 -0
- package/dist/AllComponents.js +4 -8
- package/dist/AnimatedSwiper/Slide/Slide.js +29 -29
- package/dist/AnimatedSwiper/index.js +8 -137
- package/dist/Banner/Banner.js +2 -2
- package/dist/Banner/index.js +1 -1
- package/dist/BannerAndText/index.js +3 -7
- package/dist/CardIconList/CardIconList.js +3 -7
- package/dist/CardIconList/index.js +1 -1
- package/dist/CardImageList/CardImageList.js +1 -1
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +4 -8
- package/dist/CardImageSecondary/index.js +2 -2
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +3 -7
- package/dist/Cards/ContentCard/ContentCard.js +1 -1
- package/dist/Cards/ContentCard/index.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +1 -1
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/ContentCardList/ContentCardList.js +3 -7
- package/dist/ContentCardList/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/index.js +2 -3
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +4 -2
- package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +4 -2
- package/dist/DownloadFile/components/DownloadFileMini/index.js +1 -1
- package/dist/Faq/Faq.js +3 -7
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1 -1
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/Faq/index.js +1 -1
- package/dist/InfoBanner/index.js +4 -3
- package/dist/InfoBannerList/InfoBannerList.js +3 -4
- package/dist/InfoBannerList/index.js +1 -1
- package/dist/InstructionList/InstructionList.js +3 -3
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +23 -66
- package/dist/InstructionList/components/InstructionCard/index.js +2 -2
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +2 -2
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MainBanner/index.js +1 -1
- package/dist/MultiCards/index.js +1 -1
- package/dist/PageViewer/PageViewer.js +3 -4
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PreviewList/PreviewList.js +1 -1
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +20 -2
- package/dist/PreviewList/components/PreviewCard/index.js +1 -1
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +7 -48
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +3 -3
- package/dist/StandartTable/components/CardMarkedRow/index.js +23 -73
- package/dist/StandartTable/components/CardWarning/index.js +1 -1
- package/dist/StandartTable/index.js +2 -3
- package/dist/Stepper/Stepper.js +1 -1
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +10 -97
- package/dist/SwiperList/components/Slide/Slide.js +6 -6
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +9 -123
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +5 -30
- package/dist/TasksBannerList/index.js +2 -2
- package/dist/Types/FiledTypes.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
- package/dist/VideoMainBanner/index.js +1 -1
- package/dist/componentsMap-6d7d63d5.js +47 -0
- package/dist/{swiper-react-c049ea66.js → index-b093f70c.js} +645 -502
- package/dist/{index-92f77047.js → index-b999483f.js} +2085 -1636
- package/dist/main.js +53 -54
- package/package.json +1 -1
- package/dist/componentsMap-71c9335f.js +0 -50
- package/dist/useScreenSize-c1b64c02.js +0 -19
- /package/dist/assets/{swiper-react.css → index2.css} +0 -0
- /package/dist/assets/{TasksBanner.css → index3.css} +0 -0
|
@@ -1,10 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import G, {
|
|
3
|
-
import
|
|
1
|
+
import { jsx as F, jsxs as Te } from "react/jsx-runtime";
|
|
2
|
+
import G, { useState as U, useEffect as re, forwardRef as Oe, useRef as R, useLayoutEffect as Ue, createContext as Ae } from "react";
|
|
3
|
+
import { Bullet as Ke } from "./SwiperList/components/Bullet/Bullet.js";
|
|
4
|
+
import { FieldTypes as X } from "./Types/FiledTypes.js";
|
|
5
|
+
import { c as Z } from "./cn-d8c04b28.js";
|
|
6
|
+
import { Slide as Qe } from "./AnimatedSwiper/Slide/Slide.js";
|
|
7
|
+
import './assets/index2.css';const Ze = (t = 768) => {
|
|
8
|
+
const [e, i] = U({
|
|
9
|
+
width: void 0,
|
|
10
|
+
height: void 0
|
|
11
|
+
});
|
|
12
|
+
return re(() => {
|
|
13
|
+
function s() {
|
|
14
|
+
i({
|
|
15
|
+
width: window.innerWidth,
|
|
16
|
+
height: window.innerHeight
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return window.addEventListener("resize", s), s(), () => window.removeEventListener("resize", s);
|
|
20
|
+
}, []), e.width <= t;
|
|
21
|
+
}, Je = ({
|
|
4
22
|
color: t = "#40474F",
|
|
5
23
|
size: e = 24,
|
|
6
24
|
...i
|
|
7
|
-
}) => /* @__PURE__ */
|
|
25
|
+
}) => /* @__PURE__ */ F(
|
|
8
26
|
"svg",
|
|
9
27
|
{
|
|
10
28
|
width: e,
|
|
@@ -13,7 +31,7 @@ import './assets/swiper-react.css';const Pi = ({
|
|
|
13
31
|
fill: "none",
|
|
14
32
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
33
|
...i,
|
|
16
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ F(
|
|
17
35
|
"path",
|
|
18
36
|
{
|
|
19
37
|
d: "M17 22L8.41418 13.4142C7.74752 12.7476 7.41418 12.4142 7.41418 12C7.41418 11.5858 7.74752 11.2525 8.41418 10.5858L17 2",
|
|
@@ -23,11 +41,11 @@ import './assets/swiper-react.css';const Pi = ({
|
|
|
23
41
|
}
|
|
24
42
|
)
|
|
25
43
|
}
|
|
26
|
-
),
|
|
44
|
+
), et = ({
|
|
27
45
|
color: t = "#40474F",
|
|
28
46
|
size: e = 24,
|
|
29
47
|
...i
|
|
30
|
-
}) => /* @__PURE__ */
|
|
48
|
+
}) => /* @__PURE__ */ F(
|
|
31
49
|
"svg",
|
|
32
50
|
{
|
|
33
51
|
width: e,
|
|
@@ -36,7 +54,7 @@ import './assets/swiper-react.css';const Pi = ({
|
|
|
36
54
|
fill: "none",
|
|
37
55
|
xmlns: "http://www.w3.org/2000/svg",
|
|
38
56
|
...i,
|
|
39
|
-
children: /* @__PURE__ */
|
|
57
|
+
children: /* @__PURE__ */ F(
|
|
40
58
|
"path",
|
|
41
59
|
{
|
|
42
60
|
d: "M7 22L15.5858 13.4142C16.2524 12.7476 16.5858 12.4142 16.5858 12C16.5858 11.5858 16.2525 11.2525 15.5858 10.5858L7 2",
|
|
@@ -47,17 +65,17 @@ import './assets/swiper-react.css';const Pi = ({
|
|
|
47
65
|
)
|
|
48
66
|
}
|
|
49
67
|
);
|
|
50
|
-
function
|
|
68
|
+
function xe(t) {
|
|
51
69
|
return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
|
|
52
70
|
}
|
|
53
|
-
function
|
|
71
|
+
function we(t, e) {
|
|
54
72
|
t === void 0 && (t = {}), e === void 0 && (e = {});
|
|
55
73
|
const i = ["__proto__", "constructor", "prototype"];
|
|
56
74
|
Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
|
|
57
|
-
typeof t[s] > "u" ? t[s] = e[s] :
|
|
75
|
+
typeof t[s] > "u" ? t[s] = e[s] : xe(e[s]) && xe(t[s]) && Object.keys(e[s]).length > 0 && we(t[s], e[s]);
|
|
58
76
|
});
|
|
59
77
|
}
|
|
60
|
-
const
|
|
78
|
+
const ze = {
|
|
61
79
|
body: {},
|
|
62
80
|
addEventListener() {
|
|
63
81
|
},
|
|
@@ -112,12 +130,12 @@ const Le = {
|
|
|
112
130
|
search: ""
|
|
113
131
|
}
|
|
114
132
|
};
|
|
115
|
-
function
|
|
133
|
+
function H() {
|
|
116
134
|
const t = typeof document < "u" ? document : {};
|
|
117
|
-
return
|
|
135
|
+
return we(t, ze), t;
|
|
118
136
|
}
|
|
119
|
-
const
|
|
120
|
-
document:
|
|
137
|
+
const tt = {
|
|
138
|
+
document: ze,
|
|
121
139
|
navigator: {
|
|
122
140
|
userAgent: ""
|
|
123
141
|
},
|
|
@@ -176,12 +194,12 @@ const We = {
|
|
|
176
194
|
};
|
|
177
195
|
function B() {
|
|
178
196
|
const t = typeof window < "u" ? window : {};
|
|
179
|
-
return
|
|
197
|
+
return we(t, tt), t;
|
|
180
198
|
}
|
|
181
|
-
function
|
|
199
|
+
function it(t) {
|
|
182
200
|
return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
|
|
183
201
|
}
|
|
184
|
-
function
|
|
202
|
+
function st(t) {
|
|
185
203
|
const e = t;
|
|
186
204
|
Object.keys(e).forEach((i) => {
|
|
187
205
|
try {
|
|
@@ -194,48 +212,48 @@ function Ye(t) {
|
|
|
194
212
|
}
|
|
195
213
|
});
|
|
196
214
|
}
|
|
197
|
-
function
|
|
215
|
+
function _e(t, e) {
|
|
198
216
|
return e === void 0 && (e = 0), setTimeout(t, e);
|
|
199
217
|
}
|
|
200
|
-
function
|
|
218
|
+
function ne() {
|
|
201
219
|
return Date.now();
|
|
202
220
|
}
|
|
203
|
-
function
|
|
221
|
+
function rt(t) {
|
|
204
222
|
const e = B();
|
|
205
223
|
let i;
|
|
206
224
|
return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
|
|
207
225
|
}
|
|
208
|
-
function
|
|
226
|
+
function nt(t, e) {
|
|
209
227
|
e === void 0 && (e = "x");
|
|
210
228
|
const i = B();
|
|
211
229
|
let s, n, r;
|
|
212
|
-
const l =
|
|
230
|
+
const l = rt(t);
|
|
213
231
|
return i.WebKitCSSMatrix ? (n = l.transform || l.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map((a) => a.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(n === "none" ? "" : n)) : (r = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), s = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? n = r.m41 : s.length === 16 ? n = parseFloat(s[12]) : n = parseFloat(s[4])), e === "y" && (i.WebKitCSSMatrix ? n = r.m42 : s.length === 16 ? n = parseFloat(s[13]) : n = parseFloat(s[5])), n || 0;
|
|
214
232
|
}
|
|
215
|
-
function
|
|
233
|
+
function te(t) {
|
|
216
234
|
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
|
|
217
235
|
}
|
|
218
|
-
function
|
|
236
|
+
function at(t) {
|
|
219
237
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
|
|
220
238
|
}
|
|
221
|
-
function
|
|
239
|
+
function k() {
|
|
222
240
|
const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
|
|
223
241
|
for (let i = 1; i < arguments.length; i += 1) {
|
|
224
242
|
const s = i < 0 || arguments.length <= i ? void 0 : arguments[i];
|
|
225
|
-
if (s != null && !
|
|
243
|
+
if (s != null && !at(s)) {
|
|
226
244
|
const n = Object.keys(Object(s)).filter((r) => e.indexOf(r) < 0);
|
|
227
245
|
for (let r = 0, l = n.length; r < l; r += 1) {
|
|
228
246
|
const a = n[r], o = Object.getOwnPropertyDescriptor(s, a);
|
|
229
|
-
o !== void 0 && o.enumerable && (
|
|
247
|
+
o !== void 0 && o.enumerable && (te(t[a]) && te(s[a]) ? s[a].__swiper__ ? t[a] = s[a] : k(t[a], s[a]) : !te(t[a]) && te(s[a]) ? (t[a] = {}, s[a].__swiper__ ? t[a] = s[a] : k(t[a], s[a])) : t[a] = s[a]);
|
|
230
248
|
}
|
|
231
249
|
}
|
|
232
250
|
}
|
|
233
251
|
return t;
|
|
234
252
|
}
|
|
235
|
-
function
|
|
253
|
+
function ie(t, e, i) {
|
|
236
254
|
t.style.setProperty(e, i);
|
|
237
255
|
}
|
|
238
|
-
function
|
|
256
|
+
function De(t) {
|
|
239
257
|
let {
|
|
240
258
|
swiper: e,
|
|
241
259
|
targetPosition: i,
|
|
@@ -263,12 +281,12 @@ function ze(t) {
|
|
|
263
281
|
};
|
|
264
282
|
u();
|
|
265
283
|
}
|
|
266
|
-
function
|
|
284
|
+
function $(t, e) {
|
|
267
285
|
e === void 0 && (e = "");
|
|
268
286
|
const i = B(), s = [...t.children];
|
|
269
287
|
return i.HTMLSlotElement && t instanceof HTMLSlotElement && s.push(...t.assignedElements()), e ? s.filter((n) => n.matches(e)) : s;
|
|
270
288
|
}
|
|
271
|
-
function
|
|
289
|
+
function lt(t, e) {
|
|
272
290
|
const i = [e];
|
|
273
291
|
for (; i.length > 0; ) {
|
|
274
292
|
const s = i.shift();
|
|
@@ -277,24 +295,24 @@ function Qe(t, e) {
|
|
|
277
295
|
i.push(...s.children, ...s.shadowRoot ? s.shadowRoot.children : [], ...s.assignedElements ? s.assignedElements() : []);
|
|
278
296
|
}
|
|
279
297
|
}
|
|
280
|
-
function
|
|
298
|
+
function ot(t, e) {
|
|
281
299
|
const i = B();
|
|
282
300
|
let s = e.contains(t);
|
|
283
|
-
return !s && i.HTMLSlotElement && e instanceof HTMLSlotElement && (s = [...e.assignedElements()].includes(t), s || (s =
|
|
301
|
+
return !s && i.HTMLSlotElement && e instanceof HTMLSlotElement && (s = [...e.assignedElements()].includes(t), s || (s = lt(t, e))), s;
|
|
284
302
|
}
|
|
285
|
-
function
|
|
303
|
+
function ae(t) {
|
|
286
304
|
try {
|
|
287
305
|
console.warn(t);
|
|
288
306
|
return;
|
|
289
307
|
} catch {
|
|
290
308
|
}
|
|
291
309
|
}
|
|
292
|
-
function
|
|
310
|
+
function le(t, e) {
|
|
293
311
|
e === void 0 && (e = []);
|
|
294
312
|
const i = document.createElement(t);
|
|
295
|
-
return i.classList.add(...Array.isArray(e) ? e :
|
|
313
|
+
return i.classList.add(...Array.isArray(e) ? e : it(e)), i;
|
|
296
314
|
}
|
|
297
|
-
function
|
|
315
|
+
function dt(t, e) {
|
|
298
316
|
const i = [];
|
|
299
317
|
for (; t.previousElementSibling; ) {
|
|
300
318
|
const s = t.previousElementSibling;
|
|
@@ -302,7 +320,7 @@ function Je(t, e) {
|
|
|
302
320
|
}
|
|
303
321
|
return i;
|
|
304
322
|
}
|
|
305
|
-
function
|
|
323
|
+
function ct(t, e) {
|
|
306
324
|
const i = [];
|
|
307
325
|
for (; t.nextElementSibling; ) {
|
|
308
326
|
const s = t.nextElementSibling;
|
|
@@ -310,10 +328,10 @@ function et(t, e) {
|
|
|
310
328
|
}
|
|
311
329
|
return i;
|
|
312
330
|
}
|
|
313
|
-
function
|
|
331
|
+
function q(t, e) {
|
|
314
332
|
return B().getComputedStyle(t, null).getPropertyValue(e);
|
|
315
333
|
}
|
|
316
|
-
function
|
|
334
|
+
function be(t) {
|
|
317
335
|
let e = t, i;
|
|
318
336
|
if (e) {
|
|
319
337
|
for (i = 0; (e = e.previousSibling) !== null; )
|
|
@@ -321,34 +339,34 @@ function Se(t) {
|
|
|
321
339
|
return i;
|
|
322
340
|
}
|
|
323
341
|
}
|
|
324
|
-
function
|
|
342
|
+
function ut(t, e) {
|
|
325
343
|
const i = [];
|
|
326
344
|
let s = t.parentElement;
|
|
327
345
|
for (; s; )
|
|
328
346
|
e ? s.matches(e) && i.push(s) : i.push(s), s = s.parentElement;
|
|
329
347
|
return i;
|
|
330
348
|
}
|
|
331
|
-
function
|
|
349
|
+
function ye(t, e, i) {
|
|
332
350
|
const s = B();
|
|
333
351
|
return i ? t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom")) : t.offsetWidth;
|
|
334
352
|
}
|
|
335
|
-
function
|
|
353
|
+
function j(t) {
|
|
336
354
|
return (Array.isArray(t) ? t : [t]).filter((e) => !!e);
|
|
337
355
|
}
|
|
338
|
-
function
|
|
356
|
+
function Ee(t, e) {
|
|
339
357
|
e === void 0 && (e = ""), typeof trustedTypes < "u" ? t.innerHTML = trustedTypes.createPolicy("html", {
|
|
340
358
|
createHTML: (i) => i
|
|
341
359
|
}).createHTML(e) : t.innerHTML = e;
|
|
342
360
|
}
|
|
343
|
-
function
|
|
361
|
+
function ft(t, e, i, s) {
|
|
344
362
|
return t.params.createElements && Object.keys(s).forEach((n) => {
|
|
345
363
|
if (!i[n] && i.auto === !0) {
|
|
346
|
-
let r =
|
|
347
|
-
r || (r =
|
|
364
|
+
let r = $(t.el, `.${s[n]}`)[0];
|
|
365
|
+
r || (r = le("div", s[n]), r.className = s[n], t.el.append(r)), i[n] = r, e[n] = r;
|
|
348
366
|
}
|
|
349
367
|
}), i;
|
|
350
368
|
}
|
|
351
|
-
function
|
|
369
|
+
function pt(t) {
|
|
352
370
|
let {
|
|
353
371
|
swiper: e,
|
|
354
372
|
extendParams: i,
|
|
@@ -375,7 +393,7 @@ function Mi(t) {
|
|
|
375
393
|
}
|
|
376
394
|
function l(f, g) {
|
|
377
395
|
const S = e.params.navigation;
|
|
378
|
-
f =
|
|
396
|
+
f = j(f), f.forEach((p) => {
|
|
379
397
|
p && (p.classList[g ? "add" : "remove"](...S.disabledClass.split(" ")), p.tagName === "BUTTON" && (p.disabled = g), e.params.watchOverflow && e.enabled && p.classList[e.isLocked ? "add" : "remove"](S.lockClass));
|
|
380
398
|
});
|
|
381
399
|
}
|
|
@@ -398,7 +416,7 @@ function Mi(t) {
|
|
|
398
416
|
}
|
|
399
417
|
function c() {
|
|
400
418
|
const f = e.params.navigation;
|
|
401
|
-
if (e.params.navigation =
|
|
419
|
+
if (e.params.navigation = ft(e, e.originalParams.navigation, e.params.navigation, {
|
|
402
420
|
nextEl: "swiper-button-next",
|
|
403
421
|
prevEl: "swiper-button-prev"
|
|
404
422
|
}), !(f.nextEl || f.prevEl))
|
|
@@ -407,7 +425,7 @@ function Mi(t) {
|
|
|
407
425
|
Object.assign(e.navigation, {
|
|
408
426
|
nextEl: g,
|
|
409
427
|
prevEl: S
|
|
410
|
-
}), g =
|
|
428
|
+
}), g = j(g), S = j(S);
|
|
411
429
|
const p = (v, w) => {
|
|
412
430
|
v && v.addEventListener("click", w === "next" ? d : o), !e.enabled && v && v.classList.add(...f.lockClass.split(" "));
|
|
413
431
|
};
|
|
@@ -418,7 +436,7 @@ function Mi(t) {
|
|
|
418
436
|
nextEl: f,
|
|
419
437
|
prevEl: g
|
|
420
438
|
} = e.navigation;
|
|
421
|
-
f =
|
|
439
|
+
f = j(f), g = j(g);
|
|
422
440
|
const S = (p, v) => {
|
|
423
441
|
p.removeEventListener("click", v === "next" ? d : o), p.classList.remove(...e.params.navigation.disabledClass.split(" "));
|
|
424
442
|
};
|
|
@@ -435,7 +453,7 @@ function Mi(t) {
|
|
|
435
453
|
nextEl: f,
|
|
436
454
|
prevEl: g
|
|
437
455
|
} = e.navigation;
|
|
438
|
-
if (f =
|
|
456
|
+
if (f = j(f), g = j(g), e.enabled) {
|
|
439
457
|
a();
|
|
440
458
|
return;
|
|
441
459
|
}
|
|
@@ -445,18 +463,18 @@ function Mi(t) {
|
|
|
445
463
|
nextEl: S,
|
|
446
464
|
prevEl: p
|
|
447
465
|
} = e.navigation;
|
|
448
|
-
S =
|
|
466
|
+
S = j(S), p = j(p);
|
|
449
467
|
const v = g.target;
|
|
450
468
|
let w = p.includes(v) || S.includes(v);
|
|
451
469
|
if (e.isElement && !w) {
|
|
452
|
-
const
|
|
453
|
-
|
|
470
|
+
const y = g.path || g.composedPath && g.composedPath();
|
|
471
|
+
y && (w = y.find((x) => S.includes(x) || p.includes(x)));
|
|
454
472
|
}
|
|
455
473
|
if (e.params.navigation.hideOnClick && !w) {
|
|
456
474
|
if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === v || e.pagination.el.contains(v)))
|
|
457
475
|
return;
|
|
458
|
-
let
|
|
459
|
-
S.length ?
|
|
476
|
+
let y;
|
|
477
|
+
S.length ? y = S[0].classList.contains(e.params.navigation.hiddenClass) : p.length && (y = p[0].classList.contains(e.params.navigation.hiddenClass)), n(y === !0 ? "navigationShow" : "navigationHide"), [...S, ...p].filter((x) => !!x).forEach((x) => x.classList.toggle(e.params.navigation.hiddenClass));
|
|
460
478
|
}
|
|
461
479
|
});
|
|
462
480
|
const m = () => {
|
|
@@ -472,7 +490,7 @@ function Mi(t) {
|
|
|
472
490
|
destroy: u
|
|
473
491
|
});
|
|
474
492
|
}
|
|
475
|
-
function
|
|
493
|
+
function mt(t) {
|
|
476
494
|
let {
|
|
477
495
|
swiper: e,
|
|
478
496
|
extendParams: i,
|
|
@@ -499,47 +517,47 @@ function Ii(t) {
|
|
|
499
517
|
function w(M) {
|
|
500
518
|
!e || e.destroyed || !e.wrapperEl || M.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", w), !(v || M.detail && M.detail.bySwiperTouchMove) && T());
|
|
501
519
|
}
|
|
502
|
-
const
|
|
520
|
+
const y = () => {
|
|
503
521
|
if (e.destroyed || !e.autoplay.running)
|
|
504
522
|
return;
|
|
505
523
|
e.autoplay.paused ? m = !0 : m && (d = c, m = !1);
|
|
506
524
|
const M = e.autoplay.paused ? c : u + d - (/* @__PURE__ */ new Date()).getTime();
|
|
507
525
|
e.autoplay.timeLeft = M, n("autoplayTimeLeft", M, M / o), a = requestAnimationFrame(() => {
|
|
508
|
-
|
|
526
|
+
y();
|
|
509
527
|
});
|
|
510
|
-
},
|
|
528
|
+
}, x = () => {
|
|
511
529
|
let M;
|
|
512
530
|
return e.virtual && e.params.virtual.enabled ? M = e.slides.find((_) => _.classList.contains("swiper-slide-active")) : M = e.slides[e.activeIndex], M ? parseInt(M.getAttribute("data-swiper-autoplay"), 10) : void 0;
|
|
513
531
|
}, C = (M) => {
|
|
514
532
|
if (e.destroyed || !e.autoplay.running)
|
|
515
533
|
return;
|
|
516
|
-
cancelAnimationFrame(a),
|
|
517
|
-
let
|
|
534
|
+
cancelAnimationFrame(a), y();
|
|
535
|
+
let A = typeof M > "u" ? e.params.autoplay.delay : M;
|
|
518
536
|
o = e.params.autoplay.delay, d = e.params.autoplay.delay;
|
|
519
|
-
const _ =
|
|
520
|
-
!Number.isNaN(_) && _ > 0 && typeof M > "u" && (
|
|
521
|
-
const
|
|
522
|
-
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(
|
|
537
|
+
const _ = x();
|
|
538
|
+
!Number.isNaN(_) && _ > 0 && typeof M > "u" && (A = _, o = _, d = _), c = A;
|
|
539
|
+
const Y = e.params.speed, ee = () => {
|
|
540
|
+
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(Y, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, Y, !0, !0), n("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(Y, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, Y, !0, !0), n("autoplay")), e.params.cssMode && (u = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
|
|
523
541
|
C();
|
|
524
542
|
})));
|
|
525
543
|
};
|
|
526
|
-
return
|
|
527
|
-
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
}),
|
|
544
|
+
return A > 0 ? (clearTimeout(l), l = setTimeout(() => {
|
|
545
|
+
ee();
|
|
546
|
+
}, A)) : requestAnimationFrame(() => {
|
|
547
|
+
ee();
|
|
548
|
+
}), A;
|
|
531
549
|
}, I = () => {
|
|
532
550
|
u = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, C(), n("autoplayStart");
|
|
533
|
-
},
|
|
551
|
+
}, E = () => {
|
|
534
552
|
e.autoplay.running = !1, clearTimeout(l), cancelAnimationFrame(a), n("autoplayStop");
|
|
535
|
-
},
|
|
553
|
+
}, b = (M, A) => {
|
|
536
554
|
if (e.destroyed || !e.autoplay.running)
|
|
537
555
|
return;
|
|
538
556
|
clearTimeout(l), M || (p = !0);
|
|
539
557
|
const _ = () => {
|
|
540
558
|
n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", w) : T();
|
|
541
559
|
};
|
|
542
|
-
if (e.autoplay.paused = !0,
|
|
560
|
+
if (e.autoplay.paused = !0, A) {
|
|
543
561
|
S && (c = e.params.autoplay.delay), S = !1, _();
|
|
544
562
|
return;
|
|
545
563
|
}
|
|
@@ -549,39 +567,39 @@ function Ii(t) {
|
|
|
549
567
|
}, P = () => {
|
|
550
568
|
if (e.destroyed || !e.autoplay.running)
|
|
551
569
|
return;
|
|
552
|
-
const M =
|
|
553
|
-
M.visibilityState === "hidden" && (p = !0,
|
|
570
|
+
const M = H();
|
|
571
|
+
M.visibilityState === "hidden" && (p = !0, b(!0)), M.visibilityState === "visible" && T();
|
|
554
572
|
}, L = (M) => {
|
|
555
|
-
M.pointerType === "mouse" && (p = !0, v = !0, !(e.animating || e.autoplay.paused) &&
|
|
556
|
-
},
|
|
573
|
+
M.pointerType === "mouse" && (p = !0, v = !0, !(e.animating || e.autoplay.paused) && b(!0));
|
|
574
|
+
}, z = (M) => {
|
|
557
575
|
M.pointerType === "mouse" && (v = !1, e.autoplay.paused && T());
|
|
558
|
-
}, V = () => {
|
|
559
|
-
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", L), e.el.addEventListener("pointerleave", A));
|
|
560
576
|
}, N = () => {
|
|
561
|
-
e.
|
|
577
|
+
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", L), e.el.addEventListener("pointerleave", z));
|
|
578
|
+
}, V = () => {
|
|
579
|
+
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", L), e.el.removeEventListener("pointerleave", z));
|
|
562
580
|
}, O = () => {
|
|
563
|
-
|
|
581
|
+
H().addEventListener("visibilitychange", P);
|
|
564
582
|
}, D = () => {
|
|
565
|
-
|
|
583
|
+
H().removeEventListener("visibilitychange", P);
|
|
566
584
|
};
|
|
567
585
|
s("init", () => {
|
|
568
|
-
e.params.autoplay.enabled && (
|
|
586
|
+
e.params.autoplay.enabled && (N(), O(), I());
|
|
569
587
|
}), s("destroy", () => {
|
|
570
|
-
|
|
588
|
+
V(), D(), e.autoplay.running && E();
|
|
571
589
|
}), s("_freeModeStaticRelease", () => {
|
|
572
590
|
(f || p) && T();
|
|
573
591
|
}), s("_freeModeNoMomentumRelease", () => {
|
|
574
|
-
e.params.autoplay.disableOnInteraction ?
|
|
575
|
-
}), s("beforeTransitionStart", (M,
|
|
576
|
-
e.destroyed || !e.autoplay.running || (_ || !e.params.autoplay.disableOnInteraction ?
|
|
592
|
+
e.params.autoplay.disableOnInteraction ? E() : b(!0, !0);
|
|
593
|
+
}), s("beforeTransitionStart", (M, A, _) => {
|
|
594
|
+
e.destroyed || !e.autoplay.running || (_ || !e.params.autoplay.disableOnInteraction ? b(!0, !0) : E());
|
|
577
595
|
}), s("sliderFirstMove", () => {
|
|
578
596
|
if (!(e.destroyed || !e.autoplay.running)) {
|
|
579
597
|
if (e.params.autoplay.disableOnInteraction) {
|
|
580
|
-
|
|
598
|
+
E();
|
|
581
599
|
return;
|
|
582
600
|
}
|
|
583
601
|
h = !0, f = !1, p = !1, g = setTimeout(() => {
|
|
584
|
-
p = !0, f = !0,
|
|
602
|
+
p = !0, f = !0, b(!0);
|
|
585
603
|
}, 200);
|
|
586
604
|
}
|
|
587
605
|
}), s("touchEnd", () => {
|
|
@@ -596,28 +614,28 @@ function Ii(t) {
|
|
|
596
614
|
e.destroyed || !e.autoplay.running || (S = !0);
|
|
597
615
|
}), Object.assign(e.autoplay, {
|
|
598
616
|
start: I,
|
|
599
|
-
stop:
|
|
600
|
-
pause:
|
|
617
|
+
stop: E,
|
|
618
|
+
pause: b,
|
|
601
619
|
resume: T
|
|
602
620
|
});
|
|
603
621
|
}
|
|
604
|
-
let
|
|
605
|
-
function
|
|
606
|
-
const t = B(), e =
|
|
622
|
+
let de;
|
|
623
|
+
function ht() {
|
|
624
|
+
const t = B(), e = H();
|
|
607
625
|
return {
|
|
608
626
|
smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
|
|
609
627
|
touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
|
|
610
628
|
};
|
|
611
629
|
}
|
|
612
|
-
function
|
|
613
|
-
return
|
|
630
|
+
function Ge() {
|
|
631
|
+
return de || (de = ht()), de;
|
|
614
632
|
}
|
|
615
|
-
let
|
|
616
|
-
function
|
|
633
|
+
let ce;
|
|
634
|
+
function gt(t) {
|
|
617
635
|
let {
|
|
618
636
|
userAgent: e
|
|
619
637
|
} = t === void 0 ? {} : t;
|
|
620
|
-
const i =
|
|
638
|
+
const i = Ge(), s = B(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
|
|
621
639
|
ios: !1,
|
|
622
640
|
android: !1
|
|
623
641
|
}, a = s.screen.width, o = s.screen.height, d = r.match(/(Android);?[\s\/]+([\d.]+)?/);
|
|
@@ -627,12 +645,12 @@ function rt(t) {
|
|
|
627
645
|
const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
|
|
628
646
|
return !c && f && i.touch && g.indexOf(`${a}x${o}`) >= 0 && (c = r.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), f = !1), d && !h && (l.os = "android", l.android = !0), (c || m || u) && (l.os = "ios", l.ios = !0), l;
|
|
629
647
|
}
|
|
630
|
-
function
|
|
631
|
-
return t === void 0 && (t = {}),
|
|
648
|
+
function Be(t) {
|
|
649
|
+
return t === void 0 && (t = {}), ce || (ce = gt(t)), ce;
|
|
632
650
|
}
|
|
633
|
-
let
|
|
634
|
-
function
|
|
635
|
-
const t = B(), e =
|
|
651
|
+
let ue;
|
|
652
|
+
function vt() {
|
|
653
|
+
const t = B(), e = Be();
|
|
636
654
|
let i = !1;
|
|
637
655
|
function s() {
|
|
638
656
|
const a = t.navigator.userAgent.toLowerCase();
|
|
@@ -653,10 +671,10 @@ function nt() {
|
|
|
653
671
|
isWebView: n
|
|
654
672
|
};
|
|
655
673
|
}
|
|
656
|
-
function
|
|
657
|
-
return
|
|
674
|
+
function Ne() {
|
|
675
|
+
return ue || (ue = vt()), ue;
|
|
658
676
|
}
|
|
659
|
-
function
|
|
677
|
+
function wt(t) {
|
|
660
678
|
let {
|
|
661
679
|
swiper: e,
|
|
662
680
|
on: i,
|
|
@@ -699,7 +717,7 @@ function at(t) {
|
|
|
699
717
|
d(), n.removeEventListener("resize", a), n.removeEventListener("orientationchange", c);
|
|
700
718
|
});
|
|
701
719
|
}
|
|
702
|
-
function
|
|
720
|
+
function St(t) {
|
|
703
721
|
let {
|
|
704
722
|
swiper: e,
|
|
705
723
|
extendParams: i,
|
|
@@ -728,7 +746,7 @@ function lt(t) {
|
|
|
728
746
|
}, o = () => {
|
|
729
747
|
if (e.params.observer) {
|
|
730
748
|
if (e.params.observeParents) {
|
|
731
|
-
const c =
|
|
749
|
+
const c = ut(e.hostEl);
|
|
732
750
|
for (let u = 0; u < c.length; u += 1)
|
|
733
751
|
a(c[u]);
|
|
734
752
|
}
|
|
@@ -749,7 +767,7 @@ function lt(t) {
|
|
|
749
767
|
observeSlideChildren: !1
|
|
750
768
|
}), s("init", o), s("destroy", d);
|
|
751
769
|
}
|
|
752
|
-
var
|
|
770
|
+
var Tt = {
|
|
753
771
|
on(t, e, i) {
|
|
754
772
|
const s = this;
|
|
755
773
|
if (!s.eventsListeners || s.destroyed || typeof e != "function")
|
|
@@ -809,17 +827,17 @@ var ot = {
|
|
|
809
827
|
}), t;
|
|
810
828
|
}
|
|
811
829
|
};
|
|
812
|
-
function
|
|
830
|
+
function xt() {
|
|
813
831
|
const t = this;
|
|
814
832
|
let e, i;
|
|
815
833
|
const s = t.el;
|
|
816
|
-
typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = s.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = s.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(
|
|
834
|
+
typeof t.params.width < "u" && t.params.width !== null ? e = t.params.width : e = s.clientWidth, typeof t.params.height < "u" && t.params.height !== null ? i = t.params.height : i = s.clientHeight, !(e === 0 && t.isHorizontal() || i === 0 && t.isVertical()) && (e = e - parseInt(q(s, "padding-left") || 0, 10) - parseInt(q(s, "padding-right") || 0, 10), i = i - parseInt(q(s, "padding-top") || 0, 10) - parseInt(q(s, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(i) && (i = 0), Object.assign(t, {
|
|
817
835
|
width: e,
|
|
818
836
|
height: i,
|
|
819
837
|
size: t.isHorizontal() ? e : i
|
|
820
838
|
}));
|
|
821
839
|
}
|
|
822
|
-
function
|
|
840
|
+
function bt() {
|
|
823
841
|
const t = this;
|
|
824
842
|
function e(T, P) {
|
|
825
843
|
return parseFloat(T.getPropertyValue(t.getDirectionLabel(P)) || 0);
|
|
@@ -830,7 +848,7 @@ function ct() {
|
|
|
830
848
|
size: r,
|
|
831
849
|
rtlTranslate: l,
|
|
832
850
|
wrongRTL: a
|
|
833
|
-
} = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, c =
|
|
851
|
+
} = t, o = t.virtual && i.virtual.enabled, d = o ? t.virtual.slides.length : t.slides.length, c = $(n, `.${t.params.slideClass}, swiper-slide`), u = o ? t.virtual.slides.length : c.length;
|
|
834
852
|
let m = [];
|
|
835
853
|
const h = [], f = [];
|
|
836
854
|
let g = i.slidesOffsetBefore;
|
|
@@ -838,44 +856,44 @@ function ct() {
|
|
|
838
856
|
let S = i.slidesOffsetAfter;
|
|
839
857
|
typeof S == "function" && (S = i.slidesOffsetAfter.call(t));
|
|
840
858
|
const p = t.snapGrid.length, v = t.slidesGrid.length;
|
|
841
|
-
let w = i.spaceBetween,
|
|
859
|
+
let w = i.spaceBetween, y = -g, x = 0, C = 0;
|
|
842
860
|
if (typeof r > "u")
|
|
843
861
|
return;
|
|
844
862
|
typeof w == "string" && w.indexOf("%") >= 0 ? w = parseFloat(w.replace("%", "")) / 100 * r : typeof w == "string" && (w = parseFloat(w)), t.virtualSize = -w, c.forEach((T) => {
|
|
845
863
|
l ? T.style.marginLeft = "" : T.style.marginRight = "", T.style.marginBottom = "", T.style.marginTop = "";
|
|
846
|
-
}), i.centeredSlides && i.cssMode && (
|
|
864
|
+
}), i.centeredSlides && i.cssMode && (ie(s, "--swiper-centered-offset-before", ""), ie(s, "--swiper-centered-offset-after", ""));
|
|
847
865
|
const I = i.grid && i.grid.rows > 1 && t.grid;
|
|
848
866
|
I ? t.grid.initSlides(c) : t.grid && t.grid.unsetSlides();
|
|
849
|
-
let
|
|
850
|
-
const
|
|
867
|
+
let E;
|
|
868
|
+
const b = i.slidesPerView === "auto" && i.breakpoints && Object.keys(i.breakpoints).filter((T) => typeof i.breakpoints[T].slidesPerView < "u").length > 0;
|
|
851
869
|
for (let T = 0; T < u; T += 1) {
|
|
852
|
-
|
|
870
|
+
E = 0;
|
|
853
871
|
let P;
|
|
854
|
-
if (c[T] && (P = c[T]), I && t.grid.updateSlide(T, P, c), !(c[T] &&
|
|
872
|
+
if (c[T] && (P = c[T]), I && t.grid.updateSlide(T, P, c), !(c[T] && q(P, "display") === "none")) {
|
|
855
873
|
if (i.slidesPerView === "auto") {
|
|
856
|
-
|
|
857
|
-
const L = getComputedStyle(P),
|
|
858
|
-
if (
|
|
859
|
-
|
|
874
|
+
b && (c[T].style[t.getDirectionLabel("width")] = "");
|
|
875
|
+
const L = getComputedStyle(P), z = P.style.transform, N = P.style.webkitTransform;
|
|
876
|
+
if (z && (P.style.transform = "none"), N && (P.style.webkitTransform = "none"), i.roundLengths)
|
|
877
|
+
E = t.isHorizontal() ? ye(P, "width", !0) : ye(P, "height", !0);
|
|
860
878
|
else {
|
|
861
|
-
const
|
|
879
|
+
const V = e(L, "width"), O = e(L, "padding-left"), D = e(L, "padding-right"), M = e(L, "margin-left"), A = e(L, "margin-right"), _ = L.getPropertyValue("box-sizing");
|
|
862
880
|
if (_ && _ === "border-box")
|
|
863
|
-
|
|
881
|
+
E = V + M + A;
|
|
864
882
|
else {
|
|
865
883
|
const {
|
|
866
|
-
clientWidth:
|
|
867
|
-
offsetWidth:
|
|
884
|
+
clientWidth: Y,
|
|
885
|
+
offsetWidth: ee
|
|
868
886
|
} = P;
|
|
869
|
-
|
|
887
|
+
E = V + O + D + M + A + (ee - Y);
|
|
870
888
|
}
|
|
871
889
|
}
|
|
872
|
-
|
|
890
|
+
z && (P.style.transform = z), N && (P.style.webkitTransform = N), i.roundLengths && (E = Math.floor(E));
|
|
873
891
|
} else
|
|
874
|
-
|
|
875
|
-
c[T] && (c[T].swiperSlideSize =
|
|
892
|
+
E = (r - (i.slidesPerView - 1) * w) / i.slidesPerView, i.roundLengths && (E = Math.floor(E)), c[T] && (c[T].style[t.getDirectionLabel("width")] = `${E}px`);
|
|
893
|
+
c[T] && (c[T].swiperSlideSize = E), f.push(E), i.centeredSlides ? (y = y + E / 2 + x / 2 + w, x === 0 && T !== 0 && (y = y - r / 2 - w), T === 0 && (y = y - r / 2 - w), Math.abs(y) < 1 / 1e3 && (y = 0), i.roundLengths && (y = Math.floor(y)), C % i.slidesPerGroup === 0 && m.push(y), h.push(y)) : (i.roundLengths && (y = Math.floor(y)), (C - Math.min(t.params.slidesPerGroupSkip, C)) % t.params.slidesPerGroup === 0 && m.push(y), h.push(y), y = y + E + w), t.virtualSize += E + w, x = E, C += 1;
|
|
876
894
|
}
|
|
877
895
|
}
|
|
878
|
-
if (t.virtualSize = Math.max(t.virtualSize, r) + S, l && a && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + w}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + w}px`), I && t.grid.updateWrapperSize(
|
|
896
|
+
if (t.virtualSize = Math.max(t.virtualSize, r) + S, l && a && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + w}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + w}px`), I && t.grid.updateWrapperSize(E, m), !i.centeredSlides) {
|
|
879
897
|
const T = [];
|
|
880
898
|
for (let P = 0; P < m.length; P += 1) {
|
|
881
899
|
let L = m[P];
|
|
@@ -887,7 +905,7 @@ function ct() {
|
|
|
887
905
|
const T = f[0] + w;
|
|
888
906
|
if (i.slidesPerGroup > 1) {
|
|
889
907
|
const P = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), L = T * i.slidesPerGroup;
|
|
890
|
-
for (let
|
|
908
|
+
for (let z = 0; z < P; z += 1)
|
|
891
909
|
m.push(m[m.length - 1] + L);
|
|
892
910
|
}
|
|
893
911
|
for (let P = 0; P < t.virtual.slidesBefore + t.virtual.slidesAfter; P += 1)
|
|
@@ -915,10 +933,10 @@ function ct() {
|
|
|
915
933
|
const P = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
|
|
916
934
|
if (T + P < r) {
|
|
917
935
|
const L = (r - T - P) / 2;
|
|
918
|
-
m.forEach((
|
|
919
|
-
m[
|
|
920
|
-
}), h.forEach((
|
|
921
|
-
h[
|
|
936
|
+
m.forEach((z, N) => {
|
|
937
|
+
m[N] = z - L;
|
|
938
|
+
}), h.forEach((z, N) => {
|
|
939
|
+
h[N] = z + L;
|
|
922
940
|
});
|
|
923
941
|
}
|
|
924
942
|
}
|
|
@@ -928,7 +946,7 @@ function ct() {
|
|
|
928
946
|
slidesGrid: h,
|
|
929
947
|
slidesSizesGrid: f
|
|
930
948
|
}), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
|
|
931
|
-
|
|
949
|
+
ie(s, "--swiper-centered-offset-before", `${-m[0]}px`), ie(s, "--swiper-centered-offset-after", `${t.size / 2 - f[f.length - 1] / 2}px`);
|
|
932
950
|
const T = -t.snapGrid[0], P = -t.slidesGrid[0];
|
|
933
951
|
t.snapGrid = t.snapGrid.map((L) => L + T), t.slidesGrid = t.slidesGrid.map((L) => L + P);
|
|
934
952
|
}
|
|
@@ -937,7 +955,7 @@ function ct() {
|
|
|
937
955
|
u <= i.maxBackfaceHiddenSlides ? P || t.el.classList.add(T) : P && t.el.classList.remove(T);
|
|
938
956
|
}
|
|
939
957
|
}
|
|
940
|
-
function
|
|
958
|
+
function yt(t) {
|
|
941
959
|
const e = this, i = [], s = e.virtual && e.params.virtual.enabled;
|
|
942
960
|
let n = 0, r;
|
|
943
961
|
typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
|
|
@@ -963,15 +981,15 @@ function ut(t) {
|
|
|
963
981
|
}
|
|
964
982
|
(n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
|
|
965
983
|
}
|
|
966
|
-
function
|
|
984
|
+
function Et() {
|
|
967
985
|
const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
|
|
968
986
|
for (let s = 0; s < e.length; s += 1)
|
|
969
987
|
e[s].swiperSlideOffset = (t.isHorizontal() ? e[s].offsetLeft : e[s].offsetTop) - i - t.cssOverflowAdjustment();
|
|
970
988
|
}
|
|
971
|
-
const
|
|
989
|
+
const Pe = (t, e, i) => {
|
|
972
990
|
e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
|
|
973
991
|
};
|
|
974
|
-
function
|
|
992
|
+
function Pt(t) {
|
|
975
993
|
t === void 0 && (t = this && this.translate || 0);
|
|
976
994
|
const e = this, i = e.params, {
|
|
977
995
|
slides: s,
|
|
@@ -990,10 +1008,10 @@ function pt(t) {
|
|
|
990
1008
|
let c = d.swiperSlideOffset;
|
|
991
1009
|
i.cssMode && i.centeredSlides && (c -= s[0].swiperSlideOffset);
|
|
992
1010
|
const u = (l + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), m = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + a), h = -(l - c), f = h + e.slidesSizesGrid[o], g = h >= 0 && h <= e.size - e.slidesSizesGrid[o], S = h >= 0 && h < e.size - 1 || f > 1 && f <= e.size || h <= 0 && f >= e.size;
|
|
993
|
-
S && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)),
|
|
1011
|
+
S && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), Pe(d, S, i.slideVisibleClass), Pe(d, g, i.slideFullyVisibleClass), d.progress = n ? -u : u, d.originalProgress = n ? -m : m;
|
|
994
1012
|
}
|
|
995
1013
|
}
|
|
996
|
-
function
|
|
1014
|
+
function Ct(t) {
|
|
997
1015
|
const e = this;
|
|
998
1016
|
if (typeof t > "u") {
|
|
999
1017
|
const c = e.rtlTranslate ? -1 : 1;
|
|
@@ -1025,16 +1043,16 @@ function mt(t) {
|
|
|
1025
1043
|
isEnd: l
|
|
1026
1044
|
}), (i.watchSlidesProgress || i.centeredSlides && i.autoHeight) && e.updateSlidesProgress(t), r && !o && e.emit("reachBeginning toEdge"), l && !d && e.emit("reachEnd toEdge"), (o && !r || d && !l) && e.emit("fromEdge"), e.emit("progress", n);
|
|
1027
1045
|
}
|
|
1028
|
-
const
|
|
1046
|
+
const fe = (t, e, i) => {
|
|
1029
1047
|
e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
|
|
1030
1048
|
};
|
|
1031
|
-
function
|
|
1049
|
+
function Mt() {
|
|
1032
1050
|
const t = this, {
|
|
1033
1051
|
slides: e,
|
|
1034
1052
|
params: i,
|
|
1035
1053
|
slidesEl: s,
|
|
1036
1054
|
activeIndex: n
|
|
1037
|
-
} = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (u) =>
|
|
1055
|
+
} = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, a = (u) => $(s, `.${i.slideClass}${u}, swiper-slide${u}`)[0];
|
|
1038
1056
|
let o, d, c;
|
|
1039
1057
|
if (r)
|
|
1040
1058
|
if (i.loop) {
|
|
@@ -1044,11 +1062,11 @@ function ht() {
|
|
|
1044
1062
|
o = a(`[data-swiper-slide-index="${n}"]`);
|
|
1045
1063
|
else
|
|
1046
1064
|
l ? (o = e.find((u) => u.column === n), c = e.find((u) => u.column === n + 1), d = e.find((u) => u.column === n - 1)) : o = e[n];
|
|
1047
|
-
o && (l || (c =
|
|
1048
|
-
|
|
1065
|
+
o && (l || (c = ct(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !c && (c = e[0]), d = dt(o, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((u) => {
|
|
1066
|
+
fe(u, u === o, i.slideActiveClass), fe(u, u === c, i.slideNextClass), fe(u, u === d, i.slidePrevClass);
|
|
1049
1067
|
}), t.emitSlidesClasses();
|
|
1050
1068
|
}
|
|
1051
|
-
const
|
|
1069
|
+
const se = (t, e) => {
|
|
1052
1070
|
if (!t || t.destroyed || !t.params)
|
|
1053
1071
|
return;
|
|
1054
1072
|
const i = () => t.isElement ? "swiper-slide" : `.${t.params.slideClass}`, s = e.closest(i());
|
|
@@ -1058,12 +1076,12 @@ const ee = (t, e) => {
|
|
|
1058
1076
|
s.shadowRoot && (n = s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`), n && n.remove());
|
|
1059
1077
|
})), n && n.remove();
|
|
1060
1078
|
}
|
|
1061
|
-
},
|
|
1079
|
+
}, pe = (t, e) => {
|
|
1062
1080
|
if (!t.slides[e])
|
|
1063
1081
|
return;
|
|
1064
1082
|
const i = t.slides[e].querySelector('[loading="lazy"]');
|
|
1065
1083
|
i && i.removeAttribute("loading");
|
|
1066
|
-
},
|
|
1084
|
+
}, ge = (t) => {
|
|
1067
1085
|
if (!t || t.destroyed || !t.params)
|
|
1068
1086
|
return;
|
|
1069
1087
|
let e = t.params.lazyPreloadPrevNext;
|
|
@@ -1077,7 +1095,7 @@ const ee = (t, e) => {
|
|
|
1077
1095
|
a.push(...Array.from({
|
|
1078
1096
|
length: e
|
|
1079
1097
|
}).map((o, d) => l + s + d)), t.slides.forEach((o, d) => {
|
|
1080
|
-
a.includes(o.column) &&
|
|
1098
|
+
a.includes(o.column) && pe(t, d);
|
|
1081
1099
|
});
|
|
1082
1100
|
return;
|
|
1083
1101
|
}
|
|
@@ -1085,13 +1103,13 @@ const ee = (t, e) => {
|
|
|
1085
1103
|
if (t.params.rewind || t.params.loop)
|
|
1086
1104
|
for (let l = n - e; l <= r + e; l += 1) {
|
|
1087
1105
|
const a = (l % i + i) % i;
|
|
1088
|
-
(a < n || a > r) &&
|
|
1106
|
+
(a < n || a > r) && pe(t, a);
|
|
1089
1107
|
}
|
|
1090
1108
|
else
|
|
1091
1109
|
for (let l = Math.max(n - e, 0); l <= Math.min(r + e, i - 1); l += 1)
|
|
1092
|
-
l !== n && (l > r || l < n) &&
|
|
1110
|
+
l !== n && (l > r || l < n) && pe(t, l);
|
|
1093
1111
|
};
|
|
1094
|
-
function
|
|
1112
|
+
function It(t) {
|
|
1095
1113
|
const {
|
|
1096
1114
|
slidesGrid: e,
|
|
1097
1115
|
params: i
|
|
@@ -1101,7 +1119,7 @@ function gt(t) {
|
|
|
1101
1119
|
typeof e[r + 1] < "u" ? s >= e[r] && s < e[r + 1] - (e[r + 1] - e[r]) / 2 ? n = r : s >= e[r] && s < e[r + 1] && (n = r + 1) : s >= e[r] && (n = r);
|
|
1102
1120
|
return i.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
|
|
1103
1121
|
}
|
|
1104
|
-
function
|
|
1122
|
+
function Lt(t) {
|
|
1105
1123
|
const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
|
|
1106
1124
|
snapGrid: s,
|
|
1107
1125
|
params: n,
|
|
@@ -1114,7 +1132,7 @@ function vt(t) {
|
|
|
1114
1132
|
let f = h - e.virtual.slidesBefore;
|
|
1115
1133
|
return f < 0 && (f = e.virtual.slides.length + f), f >= e.virtual.slides.length && (f -= e.virtual.slides.length), f;
|
|
1116
1134
|
};
|
|
1117
|
-
if (typeof o > "u" && (o =
|
|
1135
|
+
if (typeof o > "u" && (o = It(e)), s.indexOf(i) >= 0)
|
|
1118
1136
|
d = s.indexOf(i);
|
|
1119
1137
|
else {
|
|
1120
1138
|
const h = Math.min(n.slidesPerGroupSkip, o);
|
|
@@ -1148,9 +1166,9 @@ function vt(t) {
|
|
|
1148
1166
|
realIndex: m,
|
|
1149
1167
|
previousIndex: r,
|
|
1150
1168
|
activeIndex: o
|
|
1151
|
-
}), e.initialized &&
|
|
1169
|
+
}), e.initialized && ge(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== m && e.emit("realIndexChange"), e.emit("slideChange"));
|
|
1152
1170
|
}
|
|
1153
|
-
function
|
|
1171
|
+
function Ot(t, e) {
|
|
1154
1172
|
const i = this, s = i.params;
|
|
1155
1173
|
let n = t.closest(`.${s.slideClass}, swiper-slide`);
|
|
1156
1174
|
!n && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
|
|
@@ -1172,18 +1190,18 @@ function wt(t, e) {
|
|
|
1172
1190
|
}
|
|
1173
1191
|
s.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
|
|
1174
1192
|
}
|
|
1175
|
-
var
|
|
1176
|
-
updateSize:
|
|
1177
|
-
updateSlides:
|
|
1178
|
-
updateAutoHeight:
|
|
1179
|
-
updateSlidesOffset:
|
|
1180
|
-
updateSlidesProgress:
|
|
1181
|
-
updateProgress:
|
|
1182
|
-
updateSlidesClasses:
|
|
1183
|
-
updateActiveIndex:
|
|
1184
|
-
updateClickedSlide:
|
|
1193
|
+
var At = {
|
|
1194
|
+
updateSize: xt,
|
|
1195
|
+
updateSlides: bt,
|
|
1196
|
+
updateAutoHeight: yt,
|
|
1197
|
+
updateSlidesOffset: Et,
|
|
1198
|
+
updateSlidesProgress: Pt,
|
|
1199
|
+
updateProgress: Ct,
|
|
1200
|
+
updateSlidesClasses: Mt,
|
|
1201
|
+
updateActiveIndex: Lt,
|
|
1202
|
+
updateClickedSlide: Ot
|
|
1185
1203
|
};
|
|
1186
|
-
function
|
|
1204
|
+
function zt(t) {
|
|
1187
1205
|
t === void 0 && (t = this.isHorizontal() ? "x" : "y");
|
|
1188
1206
|
const e = this, {
|
|
1189
1207
|
params: i,
|
|
@@ -1195,10 +1213,10 @@ function Tt(t) {
|
|
|
1195
1213
|
return s ? -n : n;
|
|
1196
1214
|
if (i.cssMode)
|
|
1197
1215
|
return n;
|
|
1198
|
-
let l =
|
|
1216
|
+
let l = nt(r, t);
|
|
1199
1217
|
return l += e.cssOverflowAdjustment(), s && (l = -l), l || 0;
|
|
1200
1218
|
}
|
|
1201
|
-
function
|
|
1219
|
+
function _t(t, e) {
|
|
1202
1220
|
const i = this, {
|
|
1203
1221
|
rtlTranslate: s,
|
|
1204
1222
|
params: n,
|
|
@@ -1212,13 +1230,13 @@ function bt(t, e) {
|
|
|
1212
1230
|
const u = i.maxTranslate() - i.minTranslate();
|
|
1213
1231
|
u === 0 ? c = 0 : c = (t - i.minTranslate()) / u, c !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
|
|
1214
1232
|
}
|
|
1215
|
-
function
|
|
1233
|
+
function Dt() {
|
|
1216
1234
|
return -this.snapGrid[0];
|
|
1217
1235
|
}
|
|
1218
|
-
function
|
|
1236
|
+
function Gt() {
|
|
1219
1237
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
1220
1238
|
}
|
|
1221
|
-
function
|
|
1239
|
+
function Bt(t, e, i, s, n) {
|
|
1222
1240
|
t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), s === void 0 && (s = !0);
|
|
1223
1241
|
const r = this, {
|
|
1224
1242
|
params: l,
|
|
@@ -1234,7 +1252,7 @@ function xt(t, e, i, s, n) {
|
|
|
1234
1252
|
a[u ? "scrollLeft" : "scrollTop"] = -c;
|
|
1235
1253
|
else {
|
|
1236
1254
|
if (!r.support.smoothScroll)
|
|
1237
|
-
return
|
|
1255
|
+
return De({
|
|
1238
1256
|
swiper: r,
|
|
1239
1257
|
targetPosition: -c,
|
|
1240
1258
|
side: u ? "left" : "top"
|
|
@@ -1250,18 +1268,18 @@ function xt(t, e, i, s, n) {
|
|
|
1250
1268
|
!r || r.destroyed || m.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
|
|
1251
1269
|
}), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
|
|
1252
1270
|
}
|
|
1253
|
-
var
|
|
1254
|
-
getTranslate:
|
|
1255
|
-
setTranslate:
|
|
1256
|
-
minTranslate:
|
|
1257
|
-
maxTranslate:
|
|
1258
|
-
translateTo:
|
|
1271
|
+
var Nt = {
|
|
1272
|
+
getTranslate: zt,
|
|
1273
|
+
setTranslate: _t,
|
|
1274
|
+
minTranslate: Dt,
|
|
1275
|
+
maxTranslate: Gt,
|
|
1276
|
+
translateTo: Bt
|
|
1259
1277
|
};
|
|
1260
|
-
function
|
|
1278
|
+
function Vt(t, e) {
|
|
1261
1279
|
const i = this;
|
|
1262
1280
|
i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
|
|
1263
1281
|
}
|
|
1264
|
-
function
|
|
1282
|
+
function Ve(t) {
|
|
1265
1283
|
let {
|
|
1266
1284
|
swiper: e,
|
|
1267
1285
|
runCallbacks: i,
|
|
@@ -1275,36 +1293,36 @@ function Ge(t) {
|
|
|
1275
1293
|
let a = s;
|
|
1276
1294
|
a || (r > l ? a = "next" : r < l ? a = "prev" : a = "reset"), e.emit(`transition${n}`), i && a === "reset" ? e.emit(`slideResetTransition${n}`) : i && r !== l && (e.emit(`slideChangeTransition${n}`), a === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`));
|
|
1277
1295
|
}
|
|
1278
|
-
function
|
|
1296
|
+
function Ft(t, e) {
|
|
1279
1297
|
t === void 0 && (t = !0);
|
|
1280
1298
|
const i = this, {
|
|
1281
1299
|
params: s
|
|
1282
1300
|
} = i;
|
|
1283
|
-
s.cssMode || (s.autoHeight && i.updateAutoHeight(),
|
|
1301
|
+
s.cssMode || (s.autoHeight && i.updateAutoHeight(), Ve({
|
|
1284
1302
|
swiper: i,
|
|
1285
1303
|
runCallbacks: t,
|
|
1286
1304
|
direction: e,
|
|
1287
1305
|
step: "Start"
|
|
1288
1306
|
}));
|
|
1289
1307
|
}
|
|
1290
|
-
function
|
|
1308
|
+
function Rt(t, e) {
|
|
1291
1309
|
t === void 0 && (t = !0);
|
|
1292
1310
|
const i = this, {
|
|
1293
1311
|
params: s
|
|
1294
1312
|
} = i;
|
|
1295
|
-
i.animating = !1, !s.cssMode && (i.setTransition(0),
|
|
1313
|
+
i.animating = !1, !s.cssMode && (i.setTransition(0), Ve({
|
|
1296
1314
|
swiper: i,
|
|
1297
1315
|
runCallbacks: t,
|
|
1298
1316
|
direction: e,
|
|
1299
1317
|
step: "End"
|
|
1300
1318
|
}));
|
|
1301
1319
|
}
|
|
1302
|
-
var
|
|
1303
|
-
setTransition:
|
|
1304
|
-
transitionStart:
|
|
1305
|
-
transitionEnd:
|
|
1320
|
+
var kt = {
|
|
1321
|
+
setTransition: Vt,
|
|
1322
|
+
transitionStart: Ft,
|
|
1323
|
+
transitionEnd: Rt
|
|
1306
1324
|
};
|
|
1307
|
-
function
|
|
1325
|
+
function $t(t, e, i, s, n) {
|
|
1308
1326
|
t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
|
|
1309
1327
|
const r = this;
|
|
1310
1328
|
let l = t;
|
|
@@ -1328,8 +1346,8 @@ function Ot(t, e, i, s, n) {
|
|
|
1328
1346
|
const p = -o[S];
|
|
1329
1347
|
if (a.normalizeSlideIndex)
|
|
1330
1348
|
for (let I = 0; I < d.length; I += 1) {
|
|
1331
|
-
const
|
|
1332
|
-
typeof d[I + 1] < "u" ?
|
|
1349
|
+
const E = -Math.floor(p * 100), b = Math.floor(d[I] * 100), T = Math.floor(d[I + 1] * 100);
|
|
1350
|
+
typeof d[I + 1] < "u" ? E >= b && E < T - (T - b) / 2 ? l = I : E >= b && E < T && (l = I + 1) : E >= b && (l = I);
|
|
1333
1351
|
}
|
|
1334
1352
|
if (r.initialized && l !== u && (!r.allowSlideNext && (m ? p > r.translate && p > r.minTranslate() : p < r.translate && p < r.minTranslate()) || !r.allowSlidePrev && p > r.translate && p > r.maxTranslate() && (u || 0) !== l))
|
|
1335
1353
|
return !1;
|
|
@@ -1340,33 +1358,33 @@ function Ot(t, e, i, s, n) {
|
|
|
1340
1358
|
if (!(w && n) && (m && -p === r.translate || !m && p === r.translate))
|
|
1341
1359
|
return r.updateActiveIndex(l), a.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), a.effect !== "slide" && r.setTranslate(p), v !== "reset" && (r.transitionStart(i, v), r.transitionEnd(i, v)), !1;
|
|
1342
1360
|
if (a.cssMode) {
|
|
1343
|
-
const I = r.isHorizontal(),
|
|
1361
|
+
const I = r.isHorizontal(), E = m ? p : -p;
|
|
1344
1362
|
if (e === 0)
|
|
1345
1363
|
w && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), w && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
|
|
1346
|
-
h[I ? "scrollLeft" : "scrollTop"] =
|
|
1347
|
-
})) : h[I ? "scrollLeft" : "scrollTop"] =
|
|
1364
|
+
h[I ? "scrollLeft" : "scrollTop"] = E;
|
|
1365
|
+
})) : h[I ? "scrollLeft" : "scrollTop"] = E, w && requestAnimationFrame(() => {
|
|
1348
1366
|
r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
|
|
1349
1367
|
});
|
|
1350
1368
|
else {
|
|
1351
1369
|
if (!r.support.smoothScroll)
|
|
1352
|
-
return
|
|
1370
|
+
return De({
|
|
1353
1371
|
swiper: r,
|
|
1354
|
-
targetPosition:
|
|
1372
|
+
targetPosition: E,
|
|
1355
1373
|
side: I ? "left" : "top"
|
|
1356
1374
|
}), !0;
|
|
1357
1375
|
h.scrollTo({
|
|
1358
|
-
[I ? "left" : "top"]:
|
|
1376
|
+
[I ? "left" : "top"]: E,
|
|
1359
1377
|
behavior: "smooth"
|
|
1360
1378
|
});
|
|
1361
1379
|
}
|
|
1362
1380
|
return !0;
|
|
1363
1381
|
}
|
|
1364
|
-
const C =
|
|
1365
|
-
return w && !n && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(p), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, v), e === 0 ? r.transitionEnd(i, v) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(
|
|
1366
|
-
!r || r.destroyed ||
|
|
1382
|
+
const C = Ne().isSafari;
|
|
1383
|
+
return w && !n && C && r.isElement && r.virtual.update(!1, !1, l), r.setTransition(e), r.setTranslate(p), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, v), e === 0 ? r.transitionEnd(i, v) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(E) {
|
|
1384
|
+
!r || r.destroyed || E.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, v));
|
|
1367
1385
|
}), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
|
|
1368
1386
|
}
|
|
1369
|
-
function
|
|
1387
|
+
function Ht(t, e, i, s) {
|
|
1370
1388
|
t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
|
|
1371
1389
|
const n = this;
|
|
1372
1390
|
if (n.destroyed)
|
|
@@ -1409,7 +1427,7 @@ function zt(t, e, i, s) {
|
|
|
1409
1427
|
n.slideTo(l, e, i, s);
|
|
1410
1428
|
}), n;
|
|
1411
1429
|
}
|
|
1412
|
-
function
|
|
1430
|
+
function jt(t, e, i) {
|
|
1413
1431
|
e === void 0 && (e = !0);
|
|
1414
1432
|
const s = this, {
|
|
1415
1433
|
enabled: n,
|
|
@@ -1434,7 +1452,7 @@ function At(t, e, i) {
|
|
|
1434
1452
|
}
|
|
1435
1453
|
return r.rewind && s.isEnd ? s.slideTo(0, t, e, i) : s.slideTo(s.activeIndex + o, t, e, i);
|
|
1436
1454
|
}
|
|
1437
|
-
function
|
|
1455
|
+
function Wt(t, e, i) {
|
|
1438
1456
|
e === void 0 && (e = !0);
|
|
1439
1457
|
const s = this, {
|
|
1440
1458
|
params: n,
|
|
@@ -1463,8 +1481,8 @@ function _t(t, e, i) {
|
|
|
1463
1481
|
let S = r[f.indexOf(h) - 1];
|
|
1464
1482
|
if (typeof S > "u" && (n.cssMode || g)) {
|
|
1465
1483
|
let v;
|
|
1466
|
-
r.forEach((w,
|
|
1467
|
-
h >= w && (v =
|
|
1484
|
+
r.forEach((w, y) => {
|
|
1485
|
+
h >= w && (v = y);
|
|
1468
1486
|
}), typeof v < "u" && (S = g ? r[v] : r[v > 0 ? v - 1 : v]);
|
|
1469
1487
|
}
|
|
1470
1488
|
let p = 0;
|
|
@@ -1477,13 +1495,13 @@ function _t(t, e, i) {
|
|
|
1477
1495
|
}), !0;
|
|
1478
1496
|
return s.slideTo(p, t, e, i);
|
|
1479
1497
|
}
|
|
1480
|
-
function
|
|
1498
|
+
function qt(t, e, i) {
|
|
1481
1499
|
e === void 0 && (e = !0);
|
|
1482
1500
|
const s = this;
|
|
1483
1501
|
if (!s.destroyed)
|
|
1484
1502
|
return typeof t > "u" && (t = s.params.speed), s.slideTo(s.activeIndex, t, e, i);
|
|
1485
1503
|
}
|
|
1486
|
-
function
|
|
1504
|
+
function Yt(t, e, i, s) {
|
|
1487
1505
|
e === void 0 && (e = !0), s === void 0 && (s = 0.5);
|
|
1488
1506
|
const n = this;
|
|
1489
1507
|
if (n.destroyed)
|
|
@@ -1500,7 +1518,7 @@ function Gt(t, e, i, s) {
|
|
|
1500
1518
|
}
|
|
1501
1519
|
return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, t, e, i);
|
|
1502
1520
|
}
|
|
1503
|
-
function
|
|
1521
|
+
function Xt() {
|
|
1504
1522
|
const t = this;
|
|
1505
1523
|
if (t.destroyed)
|
|
1506
1524
|
return;
|
|
@@ -1513,22 +1531,22 @@ function Bt() {
|
|
|
1513
1531
|
if (e.loop) {
|
|
1514
1532
|
if (t.animating)
|
|
1515
1533
|
return;
|
|
1516
|
-
r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : n > (a ? (t.slides.length - s) / 2 - (t.params.grid.rows - 1) : t.slides.length - s) ? (t.loopFix(), n = t.getSlideIndex(
|
|
1534
|
+
r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : n > (a ? (t.slides.length - s) / 2 - (t.params.grid.rows - 1) : t.slides.length - s) ? (t.loopFix(), n = t.getSlideIndex($(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), _e(() => {
|
|
1517
1535
|
t.slideTo(n);
|
|
1518
1536
|
})) : t.slideTo(n);
|
|
1519
1537
|
} else
|
|
1520
1538
|
t.slideTo(n);
|
|
1521
1539
|
}
|
|
1522
|
-
var
|
|
1523
|
-
slideTo:
|
|
1524
|
-
slideToLoop:
|
|
1525
|
-
slideNext:
|
|
1526
|
-
slidePrev:
|
|
1527
|
-
slideReset:
|
|
1528
|
-
slideToClosest:
|
|
1529
|
-
slideToClickedSlide:
|
|
1540
|
+
var Ut = {
|
|
1541
|
+
slideTo: $t,
|
|
1542
|
+
slideToLoop: Ht,
|
|
1543
|
+
slideNext: jt,
|
|
1544
|
+
slidePrev: Wt,
|
|
1545
|
+
slideReset: qt,
|
|
1546
|
+
slideToClosest: Yt,
|
|
1547
|
+
slideToClickedSlide: Xt
|
|
1530
1548
|
};
|
|
1531
|
-
function
|
|
1549
|
+
function Kt(t, e) {
|
|
1532
1550
|
const i = this, {
|
|
1533
1551
|
params: s,
|
|
1534
1552
|
slidesEl: n
|
|
@@ -1536,11 +1554,11 @@ function Nt(t, e) {
|
|
|
1536
1554
|
if (!s.loop || i.virtual && i.params.virtual.enabled)
|
|
1537
1555
|
return;
|
|
1538
1556
|
const r = () => {
|
|
1539
|
-
|
|
1557
|
+
$(n, `.${s.slideClass}, swiper-slide`).forEach((h, f) => {
|
|
1540
1558
|
h.setAttribute("data-swiper-slide-index", f);
|
|
1541
1559
|
});
|
|
1542
1560
|
}, l = () => {
|
|
1543
|
-
const m =
|
|
1561
|
+
const m = $(n, `.${s.slideBlankClass}`);
|
|
1544
1562
|
m.forEach((h) => {
|
|
1545
1563
|
h.remove();
|
|
1546
1564
|
}), m.length > 0 && (i.recalcSlides(), i.updateSlides());
|
|
@@ -1548,7 +1566,7 @@ function Nt(t, e) {
|
|
|
1548
1566
|
s.loopAddBlankSlides && (s.slidesPerGroup > 1 || a) && l();
|
|
1549
1567
|
const o = s.slidesPerGroup * (a ? s.grid.rows : 1), d = i.slides.length % o !== 0, c = a && i.slides.length % s.grid.rows !== 0, u = (m) => {
|
|
1550
1568
|
for (let h = 0; h < m; h += 1) {
|
|
1551
|
-
const f = i.isElement ?
|
|
1569
|
+
const f = i.isElement ? le("swiper-slide", [s.slideBlankClass]) : le("div", [s.slideClass, s.slideBlankClass]);
|
|
1552
1570
|
i.slidesEl.append(f);
|
|
1553
1571
|
}
|
|
1554
1572
|
};
|
|
@@ -1557,14 +1575,14 @@ function Nt(t, e) {
|
|
|
1557
1575
|
const m = o - i.slides.length % o;
|
|
1558
1576
|
u(m), i.recalcSlides(), i.updateSlides();
|
|
1559
1577
|
} else
|
|
1560
|
-
|
|
1578
|
+
ae("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
1561
1579
|
r();
|
|
1562
1580
|
} else if (c) {
|
|
1563
1581
|
if (s.loopAddBlankSlides) {
|
|
1564
1582
|
const m = s.grid.rows - i.slides.length % s.grid.rows;
|
|
1565
1583
|
u(m), i.recalcSlides(), i.updateSlides();
|
|
1566
1584
|
} else
|
|
1567
|
-
|
|
1585
|
+
ae("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
1568
1586
|
r();
|
|
1569
1587
|
} else
|
|
1570
1588
|
r();
|
|
@@ -1574,7 +1592,7 @@ function Nt(t, e) {
|
|
|
1574
1592
|
initial: e
|
|
1575
1593
|
});
|
|
1576
1594
|
}
|
|
1577
|
-
function
|
|
1595
|
+
function Qt(t) {
|
|
1578
1596
|
let {
|
|
1579
1597
|
slideRealIndex: e,
|
|
1580
1598
|
slideTo: i = !0,
|
|
@@ -1608,57 +1626,57 @@ function Ft(t) {
|
|
|
1608
1626
|
const v = f.slidesPerGroupAuto ? p : f.slidesPerGroup;
|
|
1609
1627
|
let w = g ? Math.max(v, Math.ceil(p / 2)) : v;
|
|
1610
1628
|
w % v !== 0 && (w += v - w % v), w += f.loopAdditionalSlides, d.loopedSlides = w;
|
|
1611
|
-
const
|
|
1612
|
-
c.length < p + w || d.params.effect === "cards" && c.length < p + w * 2 ?
|
|
1613
|
-
const
|
|
1614
|
-
let
|
|
1615
|
-
typeof r > "u" ? r = d.getSlideIndex(c.find((O) => O.classList.contains(f.slideActiveClass))) :
|
|
1629
|
+
const y = d.grid && f.grid && f.grid.rows > 1;
|
|
1630
|
+
c.length < p + w || d.params.effect === "cards" && c.length < p + w * 2 ? ae("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : y && f.grid.fill === "row" && ae("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
1631
|
+
const x = [], C = [], I = y ? Math.ceil(c.length / f.grid.rows) : c.length, E = l && I - S < p && !g;
|
|
1632
|
+
let b = E ? S : d.activeIndex;
|
|
1633
|
+
typeof r > "u" ? r = d.getSlideIndex(c.find((O) => O.classList.contains(f.slideActiveClass))) : b = r;
|
|
1616
1634
|
const T = s === "next" || !s, P = s === "prev" || !s;
|
|
1617
|
-
let L = 0,
|
|
1618
|
-
const
|
|
1619
|
-
if (
|
|
1620
|
-
L = Math.max(w -
|
|
1621
|
-
for (let O = 0; O < w -
|
|
1635
|
+
let L = 0, z = 0;
|
|
1636
|
+
const V = (y ? c[r].column : r) + (g && typeof n > "u" ? -p / 2 + 0.5 : 0);
|
|
1637
|
+
if (V < w) {
|
|
1638
|
+
L = Math.max(w - V, v);
|
|
1639
|
+
for (let O = 0; O < w - V; O += 1) {
|
|
1622
1640
|
const D = O - Math.floor(O / I) * I;
|
|
1623
|
-
if (
|
|
1641
|
+
if (y) {
|
|
1624
1642
|
const M = I - D - 1;
|
|
1625
|
-
for (let
|
|
1626
|
-
c[
|
|
1643
|
+
for (let A = c.length - 1; A >= 0; A -= 1)
|
|
1644
|
+
c[A].column === M && x.push(A);
|
|
1627
1645
|
} else
|
|
1628
|
-
|
|
1646
|
+
x.push(I - D - 1);
|
|
1629
1647
|
}
|
|
1630
|
-
} else if (
|
|
1631
|
-
|
|
1632
|
-
for (let O = 0; O <
|
|
1648
|
+
} else if (V + p > I - w) {
|
|
1649
|
+
z = Math.max(V - (I - w * 2), v), E && (z = Math.max(z, p - I + S + 1));
|
|
1650
|
+
for (let O = 0; O < z; O += 1) {
|
|
1633
1651
|
const D = O - Math.floor(O / I) * I;
|
|
1634
|
-
|
|
1635
|
-
M.column === D && C.push(
|
|
1652
|
+
y ? c.forEach((M, A) => {
|
|
1653
|
+
M.column === D && C.push(A);
|
|
1636
1654
|
}) : C.push(D);
|
|
1637
1655
|
}
|
|
1638
1656
|
}
|
|
1639
1657
|
if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
1640
1658
|
d.__preventObserver__ = !1;
|
|
1641
|
-
}), d.params.effect === "cards" && c.length < p + w * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1),
|
|
1659
|
+
}), d.params.effect === "cards" && c.length < p + w * 2 && (C.includes(r) && C.splice(C.indexOf(r), 1), x.includes(r) && x.splice(x.indexOf(r), 1)), P && x.forEach((O) => {
|
|
1642
1660
|
c[O].swiperLoopMoveDOM = !0, h.prepend(c[O]), c[O].swiperLoopMoveDOM = !1;
|
|
1643
1661
|
}), T && C.forEach((O) => {
|
|
1644
1662
|
c[O].swiperLoopMoveDOM = !0, h.append(c[O]), c[O].swiperLoopMoveDOM = !1;
|
|
1645
|
-
}), d.recalcSlides(), f.slidesPerView === "auto" ? d.updateSlides() :
|
|
1663
|
+
}), d.recalcSlides(), f.slidesPerView === "auto" ? d.updateSlides() : y && (x.length > 0 && P || C.length > 0 && T) && d.slides.forEach((O, D) => {
|
|
1646
1664
|
d.grid.updateSlide(D, O, d.slides);
|
|
1647
1665
|
}), f.watchSlidesProgress && d.updateSlidesOffset(), i) {
|
|
1648
|
-
if (
|
|
1666
|
+
if (x.length > 0 && P) {
|
|
1649
1667
|
if (typeof e > "u") {
|
|
1650
|
-
const O = d.slidesGrid[
|
|
1651
|
-
o ? d.setTranslate(d.translate - M) : (d.slideTo(
|
|
1668
|
+
const O = d.slidesGrid[b], M = d.slidesGrid[b + L] - O;
|
|
1669
|
+
o ? d.setTranslate(d.translate - M) : (d.slideTo(b + Math.ceil(L), 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - M, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - M));
|
|
1652
1670
|
} else if (n) {
|
|
1653
|
-
const O =
|
|
1671
|
+
const O = y ? x.length / f.grid.rows : x.length;
|
|
1654
1672
|
d.slideTo(d.activeIndex + O, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
|
|
1655
1673
|
}
|
|
1656
1674
|
} else if (C.length > 0 && T)
|
|
1657
1675
|
if (typeof e > "u") {
|
|
1658
|
-
const O = d.slidesGrid[
|
|
1659
|
-
o ? d.setTranslate(d.translate - M) : (d.slideTo(
|
|
1676
|
+
const O = d.slidesGrid[b], M = d.slidesGrid[b - z] - O;
|
|
1677
|
+
o ? d.setTranslate(d.translate - M) : (d.slideTo(b - z, 0, !1, !0), n && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - M, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - M));
|
|
1660
1678
|
} else {
|
|
1661
|
-
const O =
|
|
1679
|
+
const O = y ? C.length / f.grid.rows : C.length;
|
|
1662
1680
|
d.slideTo(d.activeIndex - O, 0, !1, !0);
|
|
1663
1681
|
}
|
|
1664
1682
|
}
|
|
@@ -1682,7 +1700,7 @@ function Ft(t) {
|
|
|
1682
1700
|
}
|
|
1683
1701
|
d.emit("loopFix");
|
|
1684
1702
|
}
|
|
1685
|
-
function
|
|
1703
|
+
function Zt() {
|
|
1686
1704
|
const t = this, {
|
|
1687
1705
|
params: e,
|
|
1688
1706
|
slidesEl: i
|
|
@@ -1700,12 +1718,12 @@ function kt() {
|
|
|
1700
1718
|
i.append(n);
|
|
1701
1719
|
}), t.recalcSlides(), t.slideTo(t.realIndex, 0);
|
|
1702
1720
|
}
|
|
1703
|
-
var
|
|
1704
|
-
loopCreate:
|
|
1705
|
-
loopFix:
|
|
1706
|
-
loopDestroy:
|
|
1721
|
+
var Jt = {
|
|
1722
|
+
loopCreate: Kt,
|
|
1723
|
+
loopFix: Qt,
|
|
1724
|
+
loopDestroy: Zt
|
|
1707
1725
|
};
|
|
1708
|
-
function
|
|
1726
|
+
function ei(t) {
|
|
1709
1727
|
const e = this;
|
|
1710
1728
|
if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode)
|
|
1711
1729
|
return;
|
|
@@ -1714,20 +1732,20 @@ function $t(t) {
|
|
|
1714
1732
|
e.__preventObserver__ = !1;
|
|
1715
1733
|
});
|
|
1716
1734
|
}
|
|
1717
|
-
function
|
|
1735
|
+
function ti() {
|
|
1718
1736
|
const t = this;
|
|
1719
1737
|
t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
|
|
1720
1738
|
t.__preventObserver__ = !1;
|
|
1721
1739
|
}));
|
|
1722
1740
|
}
|
|
1723
|
-
var
|
|
1724
|
-
setGrabCursor:
|
|
1725
|
-
unsetGrabCursor:
|
|
1741
|
+
var ii = {
|
|
1742
|
+
setGrabCursor: ei,
|
|
1743
|
+
unsetGrabCursor: ti
|
|
1726
1744
|
};
|
|
1727
|
-
function
|
|
1745
|
+
function si(t, e) {
|
|
1728
1746
|
e === void 0 && (e = this);
|
|
1729
1747
|
function i(s) {
|
|
1730
|
-
if (!s || s ===
|
|
1748
|
+
if (!s || s === H() || s === B())
|
|
1731
1749
|
return null;
|
|
1732
1750
|
s.assignedSlot && (s = s.assignedSlot);
|
|
1733
1751
|
const n = s.closest(t);
|
|
@@ -1735,14 +1753,14 @@ function Wt(t, e) {
|
|
|
1735
1753
|
}
|
|
1736
1754
|
return i(e);
|
|
1737
1755
|
}
|
|
1738
|
-
function
|
|
1756
|
+
function Ce(t, e, i) {
|
|
1739
1757
|
const s = B(), {
|
|
1740
1758
|
params: n
|
|
1741
1759
|
} = t, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
|
|
1742
1760
|
return r && (i <= l || i >= s.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
|
|
1743
1761
|
}
|
|
1744
|
-
function
|
|
1745
|
-
const e = this, i =
|
|
1762
|
+
function ri(t) {
|
|
1763
|
+
const e = this, i = H();
|
|
1746
1764
|
let s = t;
|
|
1747
1765
|
s.originalEvent && (s = s.originalEvent);
|
|
1748
1766
|
const n = e.touchEventsData;
|
|
@@ -1753,7 +1771,7 @@ function qt(t) {
|
|
|
1753
1771
|
} else
|
|
1754
1772
|
s.type === "touchstart" && s.targetTouches.length === 1 && (n.touchId = s.targetTouches[0].identifier);
|
|
1755
1773
|
if (s.type === "touchstart") {
|
|
1756
|
-
|
|
1774
|
+
Ce(e, s, s.targetTouches[0].pageX);
|
|
1757
1775
|
return;
|
|
1758
1776
|
}
|
|
1759
1777
|
const {
|
|
@@ -1765,12 +1783,12 @@ function qt(t) {
|
|
|
1765
1783
|
return;
|
|
1766
1784
|
!e.animating && r.cssMode && r.loop && e.loopFix();
|
|
1767
1785
|
let o = s.target;
|
|
1768
|
-
if (r.touchEventsTarget === "wrapper" && !
|
|
1786
|
+
if (r.touchEventsTarget === "wrapper" && !ot(o, e.wrapperEl) || "which" in s && s.which === 3 || "button" in s && s.button > 0 || n.isTouched && n.isMoved)
|
|
1769
1787
|
return;
|
|
1770
1788
|
const d = !!r.noSwipingClass && r.noSwipingClass !== "", c = s.composedPath ? s.composedPath() : s.path;
|
|
1771
1789
|
d && s.target && s.target.shadowRoot && c && (o = c[0]);
|
|
1772
1790
|
const u = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, m = !!(s.target && s.target.shadowRoot);
|
|
1773
|
-
if (r.noSwiping && (m ?
|
|
1791
|
+
if (r.noSwiping && (m ? si(u, o) : o.closest(u))) {
|
|
1774
1792
|
e.allowClick = !0;
|
|
1775
1793
|
return;
|
|
1776
1794
|
}
|
|
@@ -1778,7 +1796,7 @@ function qt(t) {
|
|
|
1778
1796
|
return;
|
|
1779
1797
|
l.currentX = s.pageX, l.currentY = s.pageY;
|
|
1780
1798
|
const h = l.currentX, f = l.currentY;
|
|
1781
|
-
if (!
|
|
1799
|
+
if (!Ce(e, s, h))
|
|
1782
1800
|
return;
|
|
1783
1801
|
Object.assign(n, {
|
|
1784
1802
|
isTouched: !0,
|
|
@@ -1786,14 +1804,14 @@ function qt(t) {
|
|
|
1786
1804
|
allowTouchCallbacks: !0,
|
|
1787
1805
|
isScrolling: void 0,
|
|
1788
1806
|
startMoving: void 0
|
|
1789
|
-
}), l.startX = h, l.startY = f, n.touchStartTime =
|
|
1807
|
+
}), l.startX = h, l.startY = f, n.touchStartTime = ne(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1);
|
|
1790
1808
|
let g = !0;
|
|
1791
1809
|
o.matches(n.focusableElements) && (g = !1, o.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== o && (s.pointerType === "mouse" || s.pointerType !== "mouse" && !o.matches(n.focusableElements)) && i.activeElement.blur();
|
|
1792
1810
|
const S = g && e.allowTouchMove && r.touchStartPreventDefault;
|
|
1793
1811
|
(r.touchStartForcePreventDefault || S) && !o.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
|
|
1794
1812
|
}
|
|
1795
|
-
function
|
|
1796
|
-
const e =
|
|
1813
|
+
function ni(t) {
|
|
1814
|
+
const e = H(), i = this, s = i.touchEventsData, {
|
|
1797
1815
|
params: n,
|
|
1798
1816
|
touches: r,
|
|
1799
1817
|
rtlTranslate: l,
|
|
@@ -1825,7 +1843,7 @@ function Yt(t) {
|
|
|
1825
1843
|
startY: u,
|
|
1826
1844
|
currentX: c,
|
|
1827
1845
|
currentY: u
|
|
1828
|
-
}), s.touchStartTime =
|
|
1846
|
+
}), s.touchStartTime = ne());
|
|
1829
1847
|
return;
|
|
1830
1848
|
}
|
|
1831
1849
|
if (n.touchReleaseOnEdges && !n.loop)
|
|
@@ -1891,16 +1909,16 @@ function Yt(t) {
|
|
|
1891
1909
|
return;
|
|
1892
1910
|
}
|
|
1893
1911
|
i.emit("sliderMove", o), s.isMoved = !0, s.currentTranslate = f + s.startTranslate;
|
|
1894
|
-
let
|
|
1895
|
-
if (n.touchReleaseOnEdges && (
|
|
1912
|
+
let y = !0, x = n.resistanceRatio;
|
|
1913
|
+
if (n.touchReleaseOnEdges && (x = 0), f > 0 ? (p && v && !w && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] - (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.activeIndex + 1] + i.params.spaceBetween : 0) - i.params.spaceBetween : i.minTranslate()) && i.loopFix({
|
|
1896
1914
|
direction: "prev",
|
|
1897
1915
|
setTranslate: !0,
|
|
1898
1916
|
activeSlideIndex: 0
|
|
1899
|
-
}), s.currentTranslate > i.minTranslate() && (
|
|
1917
|
+
}), s.currentTranslate > i.minTranslate() && (y = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + f) ** x))) : f < 0 && (p && v && !w && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween + (n.slidesPerView !== "auto" && i.slides.length - n.slidesPerView >= 2 ? i.slidesSizesGrid[i.slidesSizesGrid.length - 1] + i.params.spaceBetween : 0) : i.maxTranslate()) && i.loopFix({
|
|
1900
1918
|
direction: "next",
|
|
1901
1919
|
setTranslate: !0,
|
|
1902
1920
|
activeSlideIndex: i.slides.length - (n.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(n.slidesPerView, 10)))
|
|
1903
|
-
}), s.currentTranslate < i.maxTranslate() && (
|
|
1921
|
+
}), s.currentTranslate < i.maxTranslate() && (y = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - f) ** x))), y && (o.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
|
|
1904
1922
|
if (Math.abs(f) > n.threshold || s.allowThresholdMove) {
|
|
1905
1923
|
if (!s.allowThresholdMove) {
|
|
1906
1924
|
s.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, s.currentTranslate = s.startTranslate, r.diff = i.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY;
|
|
@@ -1912,13 +1930,13 @@ function Yt(t) {
|
|
|
1912
1930
|
}
|
|
1913
1931
|
!n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && i.freeMode || n.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(s.currentTranslate), i.setTranslate(s.currentTranslate));
|
|
1914
1932
|
}
|
|
1915
|
-
function
|
|
1933
|
+
function ai(t) {
|
|
1916
1934
|
const e = this, i = e.touchEventsData;
|
|
1917
1935
|
let s = t;
|
|
1918
1936
|
s.originalEvent && (s = s.originalEvent);
|
|
1919
1937
|
let n;
|
|
1920
1938
|
if (s.type === "touchend" || s.type === "touchcancel") {
|
|
1921
|
-
if (n = [...s.changedTouches].find((
|
|
1939
|
+
if (n = [...s.changedTouches].find((x) => x.identifier === i.touchId), !n || n.identifier !== i.touchId)
|
|
1922
1940
|
return;
|
|
1923
1941
|
} else {
|
|
1924
1942
|
if (i.touchId !== null || s.pointerId !== i.pointerId)
|
|
@@ -1942,12 +1960,12 @@ function Xt(t) {
|
|
|
1942
1960
|
return;
|
|
1943
1961
|
}
|
|
1944
1962
|
l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
|
|
1945
|
-
const u =
|
|
1963
|
+
const u = ne(), m = u - i.touchStartTime;
|
|
1946
1964
|
if (e.allowClick) {
|
|
1947
|
-
const
|
|
1948
|
-
e.updateClickedSlide(
|
|
1965
|
+
const x = s.path || s.composedPath && s.composedPath();
|
|
1966
|
+
e.updateClickedSlide(x && x[0] || s.target, x), e.emit("tap click", s), m < 300 && u - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
|
|
1949
1967
|
}
|
|
1950
|
-
if (i.lastClickTime =
|
|
1968
|
+
if (i.lastClickTime = ne(), _e(() => {
|
|
1951
1969
|
e.destroyed || (e.allowClick = !0);
|
|
1952
1970
|
}), !i.isTouched || !i.isMoved || !e.swipeDirection || a.diff === 0 && !i.loopSwapReset || i.currentTranslate === i.startTranslate && !i.loopSwapReset) {
|
|
1953
1971
|
i.isTouched = !1, i.isMoved = !1, i.startMoving = !1;
|
|
@@ -1965,28 +1983,28 @@ function Xt(t) {
|
|
|
1965
1983
|
}
|
|
1966
1984
|
const f = h >= -e.maxTranslate() && !e.params.loop;
|
|
1967
1985
|
let g = 0, S = e.slidesSizesGrid[0];
|
|
1968
|
-
for (let
|
|
1969
|
-
const C =
|
|
1970
|
-
typeof d[
|
|
1986
|
+
for (let x = 0; x < d.length; x += x < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
|
|
1987
|
+
const C = x < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
|
|
1988
|
+
typeof d[x + C] < "u" ? (f || h >= d[x] && h < d[x + C]) && (g = x, S = d[x + C] - d[x]) : (f || h >= d[x]) && (g = x, S = d[d.length - 1] - d[d.length - 2]);
|
|
1971
1989
|
}
|
|
1972
1990
|
let p = null, v = null;
|
|
1973
1991
|
l.rewind && (e.isBeginning ? v = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (p = 0));
|
|
1974
|
-
const w = (h - d[g]) / S,
|
|
1992
|
+
const w = (h - d[g]) / S, y = g < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
|
|
1975
1993
|
if (m > l.longSwipesMs) {
|
|
1976
1994
|
if (!l.longSwipes) {
|
|
1977
1995
|
e.slideTo(e.activeIndex);
|
|
1978
1996
|
return;
|
|
1979
1997
|
}
|
|
1980
|
-
e.swipeDirection === "next" && (w >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? p : g +
|
|
1998
|
+
e.swipeDirection === "next" && (w >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? p : g + y) : e.slideTo(g)), e.swipeDirection === "prev" && (w > 1 - l.longSwipesRatio ? e.slideTo(g + y) : v !== null && w < 0 && Math.abs(w) > l.longSwipesRatio ? e.slideTo(v) : e.slideTo(g));
|
|
1981
1999
|
} else {
|
|
1982
2000
|
if (!l.shortSwipes) {
|
|
1983
2001
|
e.slideTo(e.activeIndex);
|
|
1984
2002
|
return;
|
|
1985
2003
|
}
|
|
1986
|
-
e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(g +
|
|
2004
|
+
e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(g + y) : e.slideTo(g) : (e.swipeDirection === "next" && e.slideTo(p !== null ? p : g + y), e.swipeDirection === "prev" && e.slideTo(v !== null ? v : g));
|
|
1987
2005
|
}
|
|
1988
2006
|
}
|
|
1989
|
-
function
|
|
2007
|
+
function Me() {
|
|
1990
2008
|
const t = this, {
|
|
1991
2009
|
params: e,
|
|
1992
2010
|
el: i
|
|
@@ -2005,11 +2023,11 @@ function xe() {
|
|
|
2005
2023
|
t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
|
|
2006
2024
|
}, 500)), t.allowSlidePrev = n, t.allowSlideNext = s, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
|
|
2007
2025
|
}
|
|
2008
|
-
function
|
|
2026
|
+
function li(t) {
|
|
2009
2027
|
const e = this;
|
|
2010
2028
|
e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
|
|
2011
2029
|
}
|
|
2012
|
-
function
|
|
2030
|
+
function oi() {
|
|
2013
2031
|
const t = this, {
|
|
2014
2032
|
wrapperEl: e,
|
|
2015
2033
|
rtlTranslate: i,
|
|
@@ -2022,16 +2040,16 @@ function Kt() {
|
|
|
2022
2040
|
const r = t.maxTranslate() - t.minTranslate();
|
|
2023
2041
|
r === 0 ? n = 0 : n = (t.translate - t.minTranslate()) / r, n !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
|
|
2024
2042
|
}
|
|
2025
|
-
function
|
|
2043
|
+
function di(t) {
|
|
2026
2044
|
const e = this;
|
|
2027
|
-
|
|
2045
|
+
se(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
|
|
2028
2046
|
}
|
|
2029
|
-
function
|
|
2047
|
+
function ci() {
|
|
2030
2048
|
const t = this;
|
|
2031
2049
|
t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
|
|
2032
2050
|
}
|
|
2033
|
-
const
|
|
2034
|
-
const i =
|
|
2051
|
+
const Fe = (t, e) => {
|
|
2052
|
+
const i = H(), {
|
|
2035
2053
|
params: s,
|
|
2036
2054
|
el: n,
|
|
2037
2055
|
wrapperEl: r,
|
|
@@ -2064,25 +2082,25 @@ const Be = (t, e) => {
|
|
|
2064
2082
|
passive: !0
|
|
2065
2083
|
}), i[o]("contextmenu", t.onTouchEnd, {
|
|
2066
2084
|
passive: !0
|
|
2067
|
-
}), (s.preventClicks || s.preventClicksPropagation) && n[o]("click", t.onClick, !0), s.cssMode && r[o]("scroll", t.onScroll), s.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate",
|
|
2085
|
+
}), (s.preventClicks || s.preventClicksPropagation) && n[o]("click", t.onClick, !0), s.cssMode && r[o]("scroll", t.onScroll), s.updateOnWindowResize ? t[d](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Me, !0) : t[d]("observerUpdate", Me, !0), n[o]("load", t.onLoad, {
|
|
2068
2086
|
capture: !0
|
|
2069
2087
|
}));
|
|
2070
2088
|
};
|
|
2071
|
-
function
|
|
2089
|
+
function ui() {
|
|
2072
2090
|
const t = this, {
|
|
2073
2091
|
params: e
|
|
2074
2092
|
} = t;
|
|
2075
|
-
t.onTouchStart =
|
|
2093
|
+
t.onTouchStart = ri.bind(t), t.onTouchMove = ni.bind(t), t.onTouchEnd = ai.bind(t), t.onDocumentTouchStart = ci.bind(t), e.cssMode && (t.onScroll = oi.bind(t)), t.onClick = li.bind(t), t.onLoad = di.bind(t), Fe(t, "on");
|
|
2076
2094
|
}
|
|
2077
|
-
function
|
|
2078
|
-
|
|
2095
|
+
function fi() {
|
|
2096
|
+
Fe(this, "off");
|
|
2079
2097
|
}
|
|
2080
|
-
var
|
|
2081
|
-
attachEvents:
|
|
2082
|
-
detachEvents:
|
|
2098
|
+
var pi = {
|
|
2099
|
+
attachEvents: ui,
|
|
2100
|
+
detachEvents: fi
|
|
2083
2101
|
};
|
|
2084
|
-
const
|
|
2085
|
-
function
|
|
2102
|
+
const Ie = (t, e) => t.grid && e.grid && e.grid.rows > 1;
|
|
2103
|
+
function mi() {
|
|
2086
2104
|
const t = this, {
|
|
2087
2105
|
realIndex: e,
|
|
2088
2106
|
initialized: i,
|
|
@@ -2091,26 +2109,26 @@ function ii() {
|
|
|
2091
2109
|
} = t, r = s.breakpoints;
|
|
2092
2110
|
if (!r || r && Object.keys(r).length === 0)
|
|
2093
2111
|
return;
|
|
2094
|
-
const l =
|
|
2112
|
+
const l = H(), a = s.breakpointsBase === "window" || !s.breakpointsBase ? s.breakpointsBase : "container", o = ["window", "container"].includes(s.breakpointsBase) || !s.breakpointsBase ? t.el : l.querySelector(s.breakpointsBase), d = t.getBreakpoint(r, a, o);
|
|
2095
2113
|
if (!d || t.currentBreakpoint === d)
|
|
2096
2114
|
return;
|
|
2097
|
-
const u = (d in r ? r[d] : void 0) || t.originalParams, m =
|
|
2115
|
+
const u = (d in r ? r[d] : void 0) || t.originalParams, m = Ie(t, s), h = Ie(t, u), f = t.params.grabCursor, g = u.grabCursor, S = s.enabled;
|
|
2098
2116
|
m && !h ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !m && h && (n.classList.add(`${s.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), f && !g ? t.unsetGrabCursor() : !f && g && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((C) => {
|
|
2099
2117
|
if (typeof u[C] > "u")
|
|
2100
2118
|
return;
|
|
2101
|
-
const I = s[C] && s[C].enabled,
|
|
2102
|
-
I && !
|
|
2119
|
+
const I = s[C] && s[C].enabled, E = u[C] && u[C].enabled;
|
|
2120
|
+
I && !E && t[C].disable(), !I && E && t[C].enable();
|
|
2103
2121
|
});
|
|
2104
2122
|
const p = u.direction && u.direction !== s.direction, v = s.loop && (u.slidesPerView !== s.slidesPerView || p), w = s.loop;
|
|
2105
|
-
p && i && t.changeDirection(),
|
|
2106
|
-
const
|
|
2123
|
+
p && i && t.changeDirection(), k(t.params, u);
|
|
2124
|
+
const y = t.params.enabled, x = t.params.loop;
|
|
2107
2125
|
Object.assign(t, {
|
|
2108
2126
|
allowTouchMove: t.params.allowTouchMove,
|
|
2109
2127
|
allowSlideNext: t.params.allowSlideNext,
|
|
2110
2128
|
allowSlidePrev: t.params.allowSlidePrev
|
|
2111
|
-
}), S && !
|
|
2129
|
+
}), S && !y ? t.disable() : !S && y && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", u), i && (v ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !w && x ? (t.loopCreate(e), t.updateSlides()) : w && !x && t.loopDestroy()), t.emit("breakpoint", u);
|
|
2112
2130
|
}
|
|
2113
|
-
function
|
|
2131
|
+
function hi(t, e, i) {
|
|
2114
2132
|
if (e === void 0 && (e = "window"), !t || e === "container" && !i)
|
|
2115
2133
|
return;
|
|
2116
2134
|
let s = !1;
|
|
@@ -2137,11 +2155,11 @@ function si(t, e, i) {
|
|
|
2137
2155
|
}
|
|
2138
2156
|
return s || "max";
|
|
2139
2157
|
}
|
|
2140
|
-
var
|
|
2141
|
-
setBreakpoint:
|
|
2142
|
-
getBreakpoint:
|
|
2158
|
+
var gi = {
|
|
2159
|
+
setBreakpoint: mi,
|
|
2160
|
+
getBreakpoint: hi
|
|
2143
2161
|
};
|
|
2144
|
-
function
|
|
2162
|
+
function vi(t, e) {
|
|
2145
2163
|
const i = [];
|
|
2146
2164
|
return t.forEach((s) => {
|
|
2147
2165
|
typeof s == "object" ? Object.keys(s).forEach((n) => {
|
|
@@ -2149,14 +2167,14 @@ function ni(t, e) {
|
|
|
2149
2167
|
}) : typeof s == "string" && i.push(e + s);
|
|
2150
2168
|
}), i;
|
|
2151
2169
|
}
|
|
2152
|
-
function
|
|
2170
|
+
function wi() {
|
|
2153
2171
|
const t = this, {
|
|
2154
2172
|
classNames: e,
|
|
2155
2173
|
params: i,
|
|
2156
2174
|
rtl: s,
|
|
2157
2175
|
el: n,
|
|
2158
2176
|
device: r
|
|
2159
|
-
} = t, l =
|
|
2177
|
+
} = t, l = vi(["initialized", i.direction, {
|
|
2160
2178
|
"free-mode": t.params.freeMode && i.freeMode.enabled
|
|
2161
2179
|
}, {
|
|
2162
2180
|
autoheight: i.autoHeight
|
|
@@ -2179,18 +2197,18 @@ function ai() {
|
|
|
2179
2197
|
}], i.containerModifierClass);
|
|
2180
2198
|
e.push(...l), n.classList.add(...e), t.emitContainerClasses();
|
|
2181
2199
|
}
|
|
2182
|
-
function
|
|
2200
|
+
function Si() {
|
|
2183
2201
|
const t = this, {
|
|
2184
2202
|
el: e,
|
|
2185
2203
|
classNames: i
|
|
2186
2204
|
} = t;
|
|
2187
2205
|
!e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
|
|
2188
2206
|
}
|
|
2189
|
-
var
|
|
2190
|
-
addClasses:
|
|
2191
|
-
removeClasses:
|
|
2207
|
+
var Ti = {
|
|
2208
|
+
addClasses: wi,
|
|
2209
|
+
removeClasses: Si
|
|
2192
2210
|
};
|
|
2193
|
-
function
|
|
2211
|
+
function xi() {
|
|
2194
2212
|
const t = this, {
|
|
2195
2213
|
isLocked: e,
|
|
2196
2214
|
params: i
|
|
@@ -2204,9 +2222,9 @@ function di() {
|
|
|
2204
2222
|
t.isLocked = t.snapGrid.length === 1;
|
|
2205
2223
|
i.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), i.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
|
|
2206
2224
|
}
|
|
2207
|
-
var
|
|
2208
|
-
checkOverflow:
|
|
2209
|
-
},
|
|
2225
|
+
var bi = {
|
|
2226
|
+
checkOverflow: xi
|
|
2227
|
+
}, ve = {
|
|
2210
2228
|
init: !0,
|
|
2211
2229
|
direction: "horizontal",
|
|
2212
2230
|
oneWayMovement: !1,
|
|
@@ -2327,72 +2345,72 @@ var ci = {
|
|
|
2327
2345
|
// Internals
|
|
2328
2346
|
_emitClasses: !1
|
|
2329
2347
|
};
|
|
2330
|
-
function
|
|
2348
|
+
function yi(t, e) {
|
|
2331
2349
|
return function(s) {
|
|
2332
2350
|
s === void 0 && (s = {});
|
|
2333
2351
|
const n = Object.keys(s)[0], r = s[n];
|
|
2334
2352
|
if (typeof r != "object" || r === null) {
|
|
2335
|
-
|
|
2353
|
+
k(e, s);
|
|
2336
2354
|
return;
|
|
2337
2355
|
}
|
|
2338
2356
|
if (t[n] === !0 && (t[n] = {
|
|
2339
2357
|
enabled: !0
|
|
2340
2358
|
}), n === "navigation" && t[n] && t[n].enabled && !t[n].prevEl && !t[n].nextEl && (t[n].auto = !0), ["pagination", "scrollbar"].indexOf(n) >= 0 && t[n] && t[n].enabled && !t[n].el && (t[n].auto = !0), !(n in t && "enabled" in r)) {
|
|
2341
|
-
|
|
2359
|
+
k(e, s);
|
|
2342
2360
|
return;
|
|
2343
2361
|
}
|
|
2344
2362
|
typeof t[n] == "object" && !("enabled" in t[n]) && (t[n].enabled = !0), t[n] || (t[n] = {
|
|
2345
2363
|
enabled: !1
|
|
2346
|
-
}),
|
|
2364
|
+
}), k(e, s);
|
|
2347
2365
|
};
|
|
2348
2366
|
}
|
|
2349
|
-
const
|
|
2350
|
-
eventsEmitter:
|
|
2351
|
-
update:
|
|
2352
|
-
translate:
|
|
2353
|
-
transition:
|
|
2354
|
-
slide:
|
|
2355
|
-
loop:
|
|
2356
|
-
grabCursor:
|
|
2357
|
-
events:
|
|
2358
|
-
breakpoints:
|
|
2359
|
-
checkOverflow:
|
|
2360
|
-
classes:
|
|
2361
|
-
},
|
|
2362
|
-
let
|
|
2367
|
+
const me = {
|
|
2368
|
+
eventsEmitter: Tt,
|
|
2369
|
+
update: At,
|
|
2370
|
+
translate: Nt,
|
|
2371
|
+
transition: kt,
|
|
2372
|
+
slide: Ut,
|
|
2373
|
+
loop: Jt,
|
|
2374
|
+
grabCursor: ii,
|
|
2375
|
+
events: pi,
|
|
2376
|
+
breakpoints: gi,
|
|
2377
|
+
checkOverflow: bi,
|
|
2378
|
+
classes: Ti
|
|
2379
|
+
}, he = {};
|
|
2380
|
+
let Se = class W {
|
|
2363
2381
|
constructor() {
|
|
2364
2382
|
let e, i;
|
|
2365
2383
|
for (var s = arguments.length, n = new Array(s), r = 0; r < s; r++)
|
|
2366
2384
|
n[r] = arguments[r];
|
|
2367
|
-
n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i =
|
|
2368
|
-
const l =
|
|
2385
|
+
n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = k({}, i), e && !i.el && (i.el = e);
|
|
2386
|
+
const l = H();
|
|
2369
2387
|
if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
|
|
2370
2388
|
const c = [];
|
|
2371
2389
|
return l.querySelectorAll(i.el).forEach((u) => {
|
|
2372
|
-
const m =
|
|
2390
|
+
const m = k({}, i, {
|
|
2373
2391
|
el: u
|
|
2374
2392
|
});
|
|
2375
|
-
c.push(new
|
|
2393
|
+
c.push(new W(m));
|
|
2376
2394
|
}), c;
|
|
2377
2395
|
}
|
|
2378
2396
|
const a = this;
|
|
2379
|
-
a.__swiper__ = !0, a.support =
|
|
2397
|
+
a.__swiper__ = !0, a.support = Ge(), a.device = Be({
|
|
2380
2398
|
userAgent: i.userAgent
|
|
2381
|
-
}), a.browser =
|
|
2399
|
+
}), a.browser = Ne(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], i.modules && Array.isArray(i.modules) && a.modules.push(...i.modules);
|
|
2382
2400
|
const o = {};
|
|
2383
2401
|
a.modules.forEach((c) => {
|
|
2384
2402
|
c({
|
|
2385
2403
|
params: i,
|
|
2386
2404
|
swiper: a,
|
|
2387
|
-
extendParams:
|
|
2405
|
+
extendParams: yi(i, o),
|
|
2388
2406
|
on: a.on.bind(a),
|
|
2389
2407
|
once: a.once.bind(a),
|
|
2390
2408
|
off: a.off.bind(a),
|
|
2391
2409
|
emit: a.emit.bind(a)
|
|
2392
2410
|
});
|
|
2393
2411
|
});
|
|
2394
|
-
const d =
|
|
2395
|
-
return a.params =
|
|
2412
|
+
const d = k({}, ve, o);
|
|
2413
|
+
return a.params = k({}, d, he, i), a.originalParams = k({}, a.params), a.passedParams = k({}, i), a.params && a.params.on && Object.keys(a.params.on).forEach((c) => {
|
|
2396
2414
|
a.on(c, a.params.on[c]);
|
|
2397
2415
|
}), a.params && a.params.onAny && a.onAny(a.params.onAny), Object.assign(a, {
|
|
2398
2416
|
enabled: a.params.enabled,
|
|
@@ -2483,8 +2501,8 @@ let ve = class j {
|
|
|
2483
2501
|
const {
|
|
2484
2502
|
slidesEl: i,
|
|
2485
2503
|
params: s
|
|
2486
|
-
} = this, n =
|
|
2487
|
-
return
|
|
2504
|
+
} = this, n = $(i, `.${s.slideClass}, swiper-slide`), r = be(n[0]);
|
|
2505
|
+
return be(e) - r;
|
|
2488
2506
|
}
|
|
2489
2507
|
getSlideIndexByData(e) {
|
|
2490
2508
|
return this.getSlideIndex(this.slides.find((i) => i.getAttribute("data-swiper-slide-index") * 1 === e));
|
|
@@ -2497,7 +2515,7 @@ let ve = class j {
|
|
|
2497
2515
|
slidesEl: i,
|
|
2498
2516
|
params: s
|
|
2499
2517
|
} = e;
|
|
2500
|
-
e.slides =
|
|
2518
|
+
e.slides = $(i, `.${s.slideClass}, swiper-slide`);
|
|
2501
2519
|
}
|
|
2502
2520
|
enable() {
|
|
2503
2521
|
const e = this;
|
|
@@ -2573,7 +2591,7 @@ let ve = class j {
|
|
|
2573
2591
|
params: s
|
|
2574
2592
|
} = e;
|
|
2575
2593
|
s.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((l) => {
|
|
2576
|
-
l.complete &&
|
|
2594
|
+
l.complete && se(e, l);
|
|
2577
2595
|
}), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
|
|
2578
2596
|
function n() {
|
|
2579
2597
|
const l = e.rtlTranslate ? e.translate * -1 : e.translate, a = Math.min(Math.max(l, e.maxTranslate()), e.minTranslate());
|
|
@@ -2612,8 +2630,8 @@ let ve = class j {
|
|
|
2612
2630
|
return !1;
|
|
2613
2631
|
s.swiper = i, s.parentNode && s.parentNode.host && s.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
|
|
2614
2632
|
const n = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
|
|
2615
|
-
let l = (() => s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) :
|
|
2616
|
-
return !l && i.params.createElements && (l =
|
|
2633
|
+
let l = (() => s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : $(s, n())[0])();
|
|
2634
|
+
return !l && i.params.createElements && (l = le("div", i.params.wrapperClass), s.append(l), $(s, `.${i.params.slideClass}`).forEach((a) => {
|
|
2617
2635
|
l.append(a);
|
|
2618
2636
|
})), Object.assign(i, {
|
|
2619
2637
|
el: s,
|
|
@@ -2622,9 +2640,9 @@ let ve = class j {
|
|
|
2622
2640
|
hostEl: i.isElement ? s.parentNode.host : s,
|
|
2623
2641
|
mounted: !0,
|
|
2624
2642
|
// RTL
|
|
2625
|
-
rtl: s.dir.toLowerCase() === "rtl" ||
|
|
2626
|
-
rtlTranslate: i.params.direction === "horizontal" && (s.dir.toLowerCase() === "rtl" ||
|
|
2627
|
-
wrongRTL:
|
|
2643
|
+
rtl: s.dir.toLowerCase() === "rtl" || q(s, "direction") === "rtl",
|
|
2644
|
+
rtlTranslate: i.params.direction === "horizontal" && (s.dir.toLowerCase() === "rtl" || q(s, "direction") === "rtl"),
|
|
2645
|
+
wrongRTL: q(l, "display") === "-webkit-box"
|
|
2628
2646
|
}), !0;
|
|
2629
2647
|
}
|
|
2630
2648
|
init(e) {
|
|
@@ -2634,10 +2652,10 @@ let ve = class j {
|
|
|
2634
2652
|
i.emit("beforeInit"), i.params.breakpoints && i.setBreakpoint(), i.addClasses(), i.updateSize(), i.updateSlides(), i.params.watchOverflow && i.checkOverflow(), i.params.grabCursor && i.enabled && i.setGrabCursor(), i.params.loop && i.virtual && i.params.virtual.enabled ? i.slideTo(i.params.initialSlide + i.virtual.slidesBefore, 0, i.params.runCallbacksOnInit, !1, !0) : i.slideTo(i.params.initialSlide, 0, i.params.runCallbacksOnInit, !1, !0), i.params.loop && i.loopCreate(void 0, !0), i.attachEvents();
|
|
2635
2653
|
const n = [...i.el.querySelectorAll('[loading="lazy"]')];
|
|
2636
2654
|
return i.isElement && n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')), n.forEach((r) => {
|
|
2637
|
-
r.complete ?
|
|
2638
|
-
|
|
2655
|
+
r.complete ? se(i, r) : r.addEventListener("load", (l) => {
|
|
2656
|
+
se(i, l.target);
|
|
2639
2657
|
});
|
|
2640
|
-
}),
|
|
2658
|
+
}), ge(i), i.initialized = !0, ge(i), i.emit("init"), i.emit("afterInit"), i;
|
|
2641
2659
|
}
|
|
2642
2660
|
destroy(e, i) {
|
|
2643
2661
|
e === void 0 && (e = !0), i === void 0 && (i = !0);
|
|
@@ -2651,33 +2669,33 @@ let ve = class j {
|
|
|
2651
2669
|
o.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), o.removeAttribute("style"), o.removeAttribute("data-swiper-slide-index");
|
|
2652
2670
|
})), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((o) => {
|
|
2653
2671
|
s.off(o);
|
|
2654
|
-
}), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null),
|
|
2672
|
+
}), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), st(s)), s.destroyed = !0), null;
|
|
2655
2673
|
}
|
|
2656
2674
|
static extendDefaults(e) {
|
|
2657
|
-
|
|
2675
|
+
k(he, e);
|
|
2658
2676
|
}
|
|
2659
2677
|
static get extendedDefaults() {
|
|
2660
|
-
return
|
|
2678
|
+
return he;
|
|
2661
2679
|
}
|
|
2662
2680
|
static get defaults() {
|
|
2663
|
-
return
|
|
2681
|
+
return ve;
|
|
2664
2682
|
}
|
|
2665
2683
|
static installModule(e) {
|
|
2666
|
-
|
|
2667
|
-
const i =
|
|
2684
|
+
W.prototype.__modules__ || (W.prototype.__modules__ = []);
|
|
2685
|
+
const i = W.prototype.__modules__;
|
|
2668
2686
|
typeof e == "function" && i.indexOf(e) < 0 && i.push(e);
|
|
2669
2687
|
}
|
|
2670
2688
|
static use(e) {
|
|
2671
|
-
return Array.isArray(e) ? (e.forEach((i) =>
|
|
2689
|
+
return Array.isArray(e) ? (e.forEach((i) => W.installModule(i)), W) : (W.installModule(e), W);
|
|
2672
2690
|
}
|
|
2673
2691
|
};
|
|
2674
|
-
Object.keys(
|
|
2675
|
-
Object.keys(
|
|
2676
|
-
|
|
2692
|
+
Object.keys(me).forEach((t) => {
|
|
2693
|
+
Object.keys(me[t]).forEach((e) => {
|
|
2694
|
+
Se.prototype[e] = me[t][e];
|
|
2677
2695
|
});
|
|
2678
2696
|
});
|
|
2679
|
-
|
|
2680
|
-
const
|
|
2697
|
+
Se.use([wt, St]);
|
|
2698
|
+
const Re = [
|
|
2681
2699
|
"eventsPrefix",
|
|
2682
2700
|
"injectStyles",
|
|
2683
2701
|
"injectStylesUrls",
|
|
@@ -2796,35 +2814,35 @@ const Ve = [
|
|
|
2796
2814
|
"zoom",
|
|
2797
2815
|
"control"
|
|
2798
2816
|
];
|
|
2799
|
-
function
|
|
2817
|
+
function K(t) {
|
|
2800
2818
|
return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
|
|
2801
2819
|
}
|
|
2802
|
-
function
|
|
2820
|
+
function Q(t, e) {
|
|
2803
2821
|
const i = ["__proto__", "constructor", "prototype"];
|
|
2804
2822
|
Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
|
|
2805
|
-
typeof t[s] > "u" ? t[s] = e[s] :
|
|
2823
|
+
typeof t[s] > "u" ? t[s] = e[s] : K(e[s]) && K(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : Q(t[s], e[s]) : t[s] = e[s];
|
|
2806
2824
|
});
|
|
2807
2825
|
}
|
|
2808
|
-
function
|
|
2826
|
+
function ke(t) {
|
|
2809
2827
|
return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
|
|
2810
2828
|
}
|
|
2811
|
-
function
|
|
2829
|
+
function $e(t) {
|
|
2812
2830
|
return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
|
|
2813
2831
|
}
|
|
2814
|
-
function
|
|
2832
|
+
function He(t) {
|
|
2815
2833
|
return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
|
|
2816
2834
|
}
|
|
2817
|
-
function
|
|
2835
|
+
function je(t) {
|
|
2818
2836
|
t === void 0 && (t = "");
|
|
2819
2837
|
const e = t.split(" ").map((s) => s.trim()).filter((s) => !!s), i = [];
|
|
2820
2838
|
return e.forEach((s) => {
|
|
2821
2839
|
i.indexOf(s) < 0 && i.push(s);
|
|
2822
2840
|
}), i.join(" ");
|
|
2823
2841
|
}
|
|
2824
|
-
function
|
|
2842
|
+
function Ei(t) {
|
|
2825
2843
|
return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
|
|
2826
2844
|
}
|
|
2827
|
-
function
|
|
2845
|
+
function Pi(t) {
|
|
2828
2846
|
let {
|
|
2829
2847
|
swiper: e,
|
|
2830
2848
|
slides: i,
|
|
@@ -2835,7 +2853,7 @@ function pi(t) {
|
|
|
2835
2853
|
scrollbarEl: a,
|
|
2836
2854
|
paginationEl: o
|
|
2837
2855
|
} = t;
|
|
2838
|
-
const d = n.filter((
|
|
2856
|
+
const d = n.filter((b) => b !== "children" && b !== "direction" && b !== "wrapperClass"), {
|
|
2839
2857
|
params: c,
|
|
2840
2858
|
pagination: u,
|
|
2841
2859
|
navigation: m,
|
|
@@ -2843,29 +2861,29 @@ function pi(t) {
|
|
|
2843
2861
|
virtual: f,
|
|
2844
2862
|
thumbs: g
|
|
2845
2863
|
} = e;
|
|
2846
|
-
let S, p, v, w,
|
|
2847
|
-
n.includes("thumbs") && s.thumbs && s.thumbs.swiper && !s.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (S = !0), n.includes("controller") && s.controller && s.controller.control && c.controller && !c.controller.control && (p = !0), n.includes("pagination") && s.pagination && (s.pagination.el || o) && (c.pagination || c.pagination === !1) && u && !u.el && (v = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && h && !h.el && (w = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (c.navigation || c.navigation === !1) && m && !m.prevEl && !m.nextEl && (
|
|
2848
|
-
const
|
|
2849
|
-
e[
|
|
2864
|
+
let S, p, v, w, y, x, C, I;
|
|
2865
|
+
n.includes("thumbs") && s.thumbs && s.thumbs.swiper && !s.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (S = !0), n.includes("controller") && s.controller && s.controller.control && c.controller && !c.controller.control && (p = !0), n.includes("pagination") && s.pagination && (s.pagination.el || o) && (c.pagination || c.pagination === !1) && u && !u.el && (v = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && h && !h.el && (w = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (c.navigation || c.navigation === !1) && m && !m.prevEl && !m.nextEl && (y = !0);
|
|
2866
|
+
const E = (b) => {
|
|
2867
|
+
e[b] && (e[b].destroy(), b === "navigation" ? (e.isElement && (e[b].prevEl.remove(), e[b].nextEl.remove()), c[b].prevEl = void 0, c[b].nextEl = void 0, e[b].prevEl = void 0, e[b].nextEl = void 0) : (e.isElement && e[b].el.remove(), c[b].el = void 0, e[b].el = void 0));
|
|
2850
2868
|
};
|
|
2851
|
-
n.includes("loop") && e.isElement && (c.loop && !s.loop ?
|
|
2852
|
-
if (
|
|
2853
|
-
Object.assign(c[
|
|
2869
|
+
n.includes("loop") && e.isElement && (c.loop && !s.loop ? x = !0 : !c.loop && s.loop ? C = !0 : I = !0), d.forEach((b) => {
|
|
2870
|
+
if (K(c[b]) && K(s[b]))
|
|
2871
|
+
Object.assign(c[b], s[b]), (b === "navigation" || b === "pagination" || b === "scrollbar") && "enabled" in s[b] && !s[b].enabled && E(b);
|
|
2854
2872
|
else {
|
|
2855
|
-
const T = s[
|
|
2856
|
-
(T === !0 || T === !1) && (
|
|
2873
|
+
const T = s[b];
|
|
2874
|
+
(T === !0 || T === !1) && (b === "navigation" || b === "pagination" || b === "scrollbar") ? T === !1 && E(b) : c[b] = s[b];
|
|
2857
2875
|
}
|
|
2858
|
-
}), d.includes("controller") && !p && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), n.includes("children") && i && f && c.virtual.enabled ? (f.slides = i, f.update(!0)) : n.includes("virtual") && f && c.virtual.enabled && (i && (f.slides = i), f.update(!0)), n.includes("children") && i && c.loop && (I = !0), S && g.init() && g.update(!0), p && (e.controller.control = c.controller.control), v && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (c.pagination.el = o), u.init(), u.render(), u.update()), w && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (c.scrollbar.el = a), h.init(), h.updateSize(), h.setTranslate()),
|
|
2876
|
+
}), d.includes("controller") && !p && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), n.includes("children") && i && f && c.virtual.enabled ? (f.slides = i, f.update(!0)) : n.includes("virtual") && f && c.virtual.enabled && (i && (f.slides = i), f.update(!0)), n.includes("children") && i && c.loop && (I = !0), S && g.init() && g.update(!0), p && (e.controller.control = c.controller.control), v && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-pagination"), o.part.add("pagination"), e.el.appendChild(o)), o && (c.pagination.el = o), u.init(), u.render(), u.update()), w && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), e.el.appendChild(a)), a && (c.scrollbar.el = a), h.init(), h.updateSize(), h.setTranslate()), y && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), Ee(r, e.hostEl.constructor.nextButtonSvg), r.part.add("button-next"), e.el.appendChild(r)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), Ee(l, e.hostEl.constructor.prevButtonSvg), l.part.add("button-prev"), e.el.appendChild(l))), r && (c.navigation.nextEl = r), l && (c.navigation.prevEl = l), m.init(), m.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (x || I) && e.loopDestroy(), (C || I) && e.loopCreate(), e.update();
|
|
2859
2877
|
}
|
|
2860
|
-
function
|
|
2878
|
+
function Ci(t, e) {
|
|
2861
2879
|
t === void 0 && (t = {}), e === void 0 && (e = !0);
|
|
2862
2880
|
const i = {
|
|
2863
2881
|
on: {}
|
|
2864
2882
|
}, s = {}, n = {};
|
|
2865
|
-
|
|
2866
|
-
const r = {}, l =
|
|
2883
|
+
Q(i, ve), i._emitClasses = !0, i.init = !1;
|
|
2884
|
+
const r = {}, l = Re.map((o) => o.replace(/_/, "")), a = Object.assign({}, t);
|
|
2867
2885
|
return Object.keys(a).forEach((o) => {
|
|
2868
|
-
typeof t[o] > "u" || (l.indexOf(o) >= 0 ?
|
|
2886
|
+
typeof t[o] > "u" || (l.indexOf(o) >= 0 ? K(t[o]) ? (i[o] = {}, n[o] = {}, Q(i[o], t[o]), Q(n[o], t[o])) : (i[o] = t[o], n[o] = t[o]) : o.search(/on[A-Z]/) === 0 && typeof t[o] == "function" ? e ? s[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : i.on[`${o[2].toLowerCase()}${o.substr(3)}`] = t[o] : r[o] = t[o]);
|
|
2869
2887
|
}), ["navigation", "pagination", "scrollbar"].forEach((o) => {
|
|
2870
2888
|
i[o] === !0 && (i[o] = {}), i[o] === !1 && delete i[o];
|
|
2871
2889
|
}), {
|
|
@@ -2875,7 +2893,7 @@ function mi(t, e) {
|
|
|
2875
2893
|
events: s
|
|
2876
2894
|
};
|
|
2877
2895
|
}
|
|
2878
|
-
function
|
|
2896
|
+
function Mi(t, e) {
|
|
2879
2897
|
let {
|
|
2880
2898
|
el: i,
|
|
2881
2899
|
nextEl: s,
|
|
@@ -2884,9 +2902,9 @@ function hi(t, e) {
|
|
|
2884
2902
|
scrollbarEl: l,
|
|
2885
2903
|
swiper: a
|
|
2886
2904
|
} = t;
|
|
2887
|
-
|
|
2905
|
+
ke(e) && s && n && (a.params.navigation.nextEl = s, a.originalParams.navigation.nextEl = s, a.params.navigation.prevEl = n, a.originalParams.navigation.prevEl = n), $e(e) && r && (a.params.pagination.el = r, a.originalParams.pagination.el = r), He(e) && l && (a.params.scrollbar.el = l, a.originalParams.scrollbar.el = l), a.init(i);
|
|
2888
2906
|
}
|
|
2889
|
-
function
|
|
2907
|
+
function Ii(t, e, i, s, n) {
|
|
2890
2908
|
const r = [];
|
|
2891
2909
|
if (!e)
|
|
2892
2910
|
return r;
|
|
@@ -2897,9 +2915,9 @@ function gi(t, e, i, s, n) {
|
|
|
2897
2915
|
const o = s.map(n), d = i.map(n);
|
|
2898
2916
|
o.join("") !== d.join("") && l("children"), s.length !== i.length && l("children");
|
|
2899
2917
|
}
|
|
2900
|
-
return
|
|
2918
|
+
return Re.filter((o) => o[0] === "_").map((o) => o.replace(/_/, "")).forEach((o) => {
|
|
2901
2919
|
if (o in t && o in e)
|
|
2902
|
-
if (
|
|
2920
|
+
if (K(t[o]) && K(e[o])) {
|
|
2903
2921
|
const d = Object.keys(t[o]), c = Object.keys(e[o]);
|
|
2904
2922
|
d.length !== c.length ? l(o) : (d.forEach((u) => {
|
|
2905
2923
|
t[o][u] !== e[o][u] && l(o);
|
|
@@ -2910,29 +2928,29 @@ function gi(t, e, i, s, n) {
|
|
|
2910
2928
|
t[o] !== e[o] && l(o);
|
|
2911
2929
|
}), r;
|
|
2912
2930
|
}
|
|
2913
|
-
const
|
|
2931
|
+
const Li = (t) => {
|
|
2914
2932
|
!t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.emit("_virtualUpdated"), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
|
|
2915
2933
|
};
|
|
2916
|
-
function
|
|
2917
|
-
return
|
|
2934
|
+
function oe() {
|
|
2935
|
+
return oe = Object.assign ? Object.assign.bind() : function(t) {
|
|
2918
2936
|
for (var e = 1; e < arguments.length; e++) {
|
|
2919
2937
|
var i = arguments[e];
|
|
2920
2938
|
for (var s in i)
|
|
2921
2939
|
Object.prototype.hasOwnProperty.call(i, s) && (t[s] = i[s]);
|
|
2922
2940
|
}
|
|
2923
2941
|
return t;
|
|
2924
|
-
},
|
|
2942
|
+
}, oe.apply(this, arguments);
|
|
2925
2943
|
}
|
|
2926
|
-
function
|
|
2944
|
+
function We(t) {
|
|
2927
2945
|
return t.type && t.type.displayName && t.type.displayName.includes("SwiperSlide");
|
|
2928
2946
|
}
|
|
2929
|
-
function
|
|
2947
|
+
function qe(t) {
|
|
2930
2948
|
const e = [];
|
|
2931
2949
|
return G.Children.toArray(t).forEach((i) => {
|
|
2932
|
-
|
|
2950
|
+
We(i) ? e.push(i) : i.props && i.props.children && qe(i.props.children).forEach((s) => e.push(s));
|
|
2933
2951
|
}), e;
|
|
2934
2952
|
}
|
|
2935
|
-
function
|
|
2953
|
+
function Oi(t) {
|
|
2936
2954
|
const e = [], i = {
|
|
2937
2955
|
"container-start": [],
|
|
2938
2956
|
"container-end": [],
|
|
@@ -2940,12 +2958,12 @@ function wi(t) {
|
|
|
2940
2958
|
"wrapper-end": []
|
|
2941
2959
|
};
|
|
2942
2960
|
return G.Children.toArray(t).forEach((s) => {
|
|
2943
|
-
if (
|
|
2961
|
+
if (We(s))
|
|
2944
2962
|
e.push(s);
|
|
2945
2963
|
else if (s.props && s.props.slot && i[s.props.slot])
|
|
2946
2964
|
i[s.props.slot].push(s);
|
|
2947
2965
|
else if (s.props && s.props.children) {
|
|
2948
|
-
const n =
|
|
2966
|
+
const n = qe(s.props.children);
|
|
2949
2967
|
n.length > 0 ? n.forEach((r) => e.push(r)) : i["container-end"].push(s);
|
|
2950
2968
|
} else
|
|
2951
2969
|
i["container-end"].push(s);
|
|
@@ -2954,7 +2972,7 @@ function wi(t) {
|
|
|
2954
2972
|
slots: i
|
|
2955
2973
|
};
|
|
2956
2974
|
}
|
|
2957
|
-
function
|
|
2975
|
+
function Ai(t, e, i) {
|
|
2958
2976
|
if (!i)
|
|
2959
2977
|
return null;
|
|
2960
2978
|
const s = (c) => {
|
|
@@ -2976,10 +2994,10 @@ function Si(t, e, i) {
|
|
|
2976
2994
|
key: c.props.virtualIndex || c.key || `slide-${u}`
|
|
2977
2995
|
}));
|
|
2978
2996
|
}
|
|
2979
|
-
function
|
|
2980
|
-
return typeof window > "u" ?
|
|
2997
|
+
function J(t, e) {
|
|
2998
|
+
return typeof window > "u" ? re(t, e) : Ue(t, e);
|
|
2981
2999
|
}
|
|
2982
|
-
const
|
|
3000
|
+
const Le = /* @__PURE__ */ Ae(null), zi = /* @__PURE__ */ Ae(null), Ye = /* @__PURE__ */ Oe(function(t, e) {
|
|
2983
3001
|
let {
|
|
2984
3002
|
className: i,
|
|
2985
3003
|
tag: s = "div",
|
|
@@ -2988,28 +3006,28 @@ const Ce = /* @__PURE__ */ Ie(null), Ti = /* @__PURE__ */ Ie(null), bi = /* @__P
|
|
|
2988
3006
|
onSwiper: l,
|
|
2989
3007
|
...a
|
|
2990
3008
|
} = t === void 0 ? {} : t, o = !1;
|
|
2991
|
-
const [d, c] = U("swiper"), [u, m] = U(null), [h, f] = U(!1), g =
|
|
2992
|
-
params:
|
|
2993
|
-
passedParams:
|
|
3009
|
+
const [d, c] = U("swiper"), [u, m] = U(null), [h, f] = U(!1), g = R(!1), S = R(null), p = R(null), v = R(null), w = R(null), y = R(null), x = R(null), C = R(null), I = R(null), {
|
|
3010
|
+
params: E,
|
|
3011
|
+
passedParams: b,
|
|
2994
3012
|
rest: T,
|
|
2995
3013
|
events: P
|
|
2996
|
-
} =
|
|
3014
|
+
} = Ci(a), {
|
|
2997
3015
|
slides: L,
|
|
2998
|
-
slots:
|
|
2999
|
-
} =
|
|
3016
|
+
slots: z
|
|
3017
|
+
} = Oi(r), N = () => {
|
|
3000
3018
|
f(!h);
|
|
3001
3019
|
};
|
|
3002
|
-
Object.assign(
|
|
3003
|
-
_containerClasses(
|
|
3020
|
+
Object.assign(E.on, {
|
|
3021
|
+
_containerClasses(A, _) {
|
|
3004
3022
|
c(_);
|
|
3005
3023
|
}
|
|
3006
3024
|
});
|
|
3007
|
-
const
|
|
3008
|
-
Object.assign(
|
|
3009
|
-
const
|
|
3010
|
-
...
|
|
3025
|
+
const V = () => {
|
|
3026
|
+
Object.assign(E.on, P), o = !0;
|
|
3027
|
+
const A = {
|
|
3028
|
+
...E
|
|
3011
3029
|
};
|
|
3012
|
-
if (delete
|
|
3030
|
+
if (delete A.wrapperClass, p.current = new Se(A), p.current.virtual && p.current.params.virtual.enabled) {
|
|
3013
3031
|
p.current.virtual.slides = L;
|
|
3014
3032
|
const _ = {
|
|
3015
3033
|
cache: !1,
|
|
@@ -3017,82 +3035,82 @@ const Ce = /* @__PURE__ */ Ie(null), Ti = /* @__PURE__ */ Ie(null), bi = /* @__P
|
|
|
3017
3035
|
renderExternal: m,
|
|
3018
3036
|
renderExternalUpdate: !1
|
|
3019
3037
|
};
|
|
3020
|
-
|
|
3038
|
+
Q(p.current.params.virtual, _), Q(p.current.originalParams.virtual, _);
|
|
3021
3039
|
}
|
|
3022
3040
|
};
|
|
3023
|
-
S.current ||
|
|
3041
|
+
S.current || V(), p.current && p.current.on("_beforeBreakpoint", N);
|
|
3024
3042
|
const O = () => {
|
|
3025
|
-
o || !P || !p.current || Object.keys(P).forEach((
|
|
3026
|
-
p.current.on(
|
|
3043
|
+
o || !P || !p.current || Object.keys(P).forEach((A) => {
|
|
3044
|
+
p.current.on(A, P[A]);
|
|
3027
3045
|
});
|
|
3028
3046
|
}, D = () => {
|
|
3029
|
-
!P || !p.current || Object.keys(P).forEach((
|
|
3030
|
-
p.current.off(
|
|
3047
|
+
!P || !p.current || Object.keys(P).forEach((A) => {
|
|
3048
|
+
p.current.off(A, P[A]);
|
|
3031
3049
|
});
|
|
3032
3050
|
};
|
|
3033
|
-
|
|
3034
|
-
p.current && p.current.off("_beforeBreakpoint",
|
|
3035
|
-
}),
|
|
3051
|
+
re(() => () => {
|
|
3052
|
+
p.current && p.current.off("_beforeBreakpoint", N);
|
|
3053
|
+
}), re(() => {
|
|
3036
3054
|
!g.current && p.current && (p.current.emitSlidesClasses(), g.current = !0);
|
|
3037
|
-
}),
|
|
3055
|
+
}), J(() => {
|
|
3038
3056
|
if (e && (e.current = S.current), !!S.current)
|
|
3039
|
-
return p.current.destroyed &&
|
|
3057
|
+
return p.current.destroyed && V(), Mi({
|
|
3040
3058
|
el: S.current,
|
|
3041
|
-
nextEl:
|
|
3042
|
-
prevEl:
|
|
3059
|
+
nextEl: y.current,
|
|
3060
|
+
prevEl: x.current,
|
|
3043
3061
|
paginationEl: C.current,
|
|
3044
3062
|
scrollbarEl: I.current,
|
|
3045
3063
|
swiper: p.current
|
|
3046
|
-
},
|
|
3064
|
+
}, E), l && !p.current.destroyed && l(p.current), () => {
|
|
3047
3065
|
p.current && !p.current.destroyed && p.current.destroy(!0, !1);
|
|
3048
3066
|
};
|
|
3049
|
-
}, []),
|
|
3067
|
+
}, []), J(() => {
|
|
3050
3068
|
O();
|
|
3051
|
-
const
|
|
3052
|
-
return v.current =
|
|
3069
|
+
const A = Ii(b, v.current, L, w.current, (_) => _.key);
|
|
3070
|
+
return v.current = b, w.current = L, A.length && p.current && !p.current.destroyed && Pi({
|
|
3053
3071
|
swiper: p.current,
|
|
3054
3072
|
slides: L,
|
|
3055
|
-
passedParams:
|
|
3056
|
-
changedParams:
|
|
3057
|
-
nextEl:
|
|
3058
|
-
prevEl:
|
|
3073
|
+
passedParams: b,
|
|
3074
|
+
changedParams: A,
|
|
3075
|
+
nextEl: y.current,
|
|
3076
|
+
prevEl: x.current,
|
|
3059
3077
|
scrollbarEl: I.current,
|
|
3060
3078
|
paginationEl: C.current
|
|
3061
3079
|
}), () => {
|
|
3062
3080
|
D();
|
|
3063
3081
|
};
|
|
3064
|
-
}),
|
|
3065
|
-
|
|
3082
|
+
}), J(() => {
|
|
3083
|
+
Li(p.current);
|
|
3066
3084
|
}, [u]);
|
|
3067
3085
|
function M() {
|
|
3068
|
-
return
|
|
3086
|
+
return E.virtual ? Ai(p.current, L, u) : L.map((A, _) => /* @__PURE__ */ G.cloneElement(A, {
|
|
3069
3087
|
swiper: p.current,
|
|
3070
3088
|
swiperSlideIndex: _
|
|
3071
3089
|
}));
|
|
3072
3090
|
}
|
|
3073
|
-
return /* @__PURE__ */ G.createElement(s,
|
|
3091
|
+
return /* @__PURE__ */ G.createElement(s, oe({
|
|
3074
3092
|
ref: S,
|
|
3075
|
-
className:
|
|
3076
|
-
}, T), /* @__PURE__ */ G.createElement(
|
|
3093
|
+
className: je(`${d}${i ? ` ${i}` : ""}`)
|
|
3094
|
+
}, T), /* @__PURE__ */ G.createElement(zi.Provider, {
|
|
3077
3095
|
value: p.current
|
|
3078
|
-
},
|
|
3079
|
-
className:
|
|
3080
|
-
},
|
|
3081
|
-
ref:
|
|
3096
|
+
}, z["container-start"], /* @__PURE__ */ G.createElement(n, {
|
|
3097
|
+
className: Ei(E.wrapperClass)
|
|
3098
|
+
}, z["wrapper-start"], M(), z["wrapper-end"]), ke(E) && /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement("div", {
|
|
3099
|
+
ref: x,
|
|
3082
3100
|
className: "swiper-button-prev"
|
|
3083
3101
|
}), /* @__PURE__ */ G.createElement("div", {
|
|
3084
|
-
ref:
|
|
3102
|
+
ref: y,
|
|
3085
3103
|
className: "swiper-button-next"
|
|
3086
|
-
})),
|
|
3104
|
+
})), He(E) && /* @__PURE__ */ G.createElement("div", {
|
|
3087
3105
|
ref: I,
|
|
3088
3106
|
className: "swiper-scrollbar"
|
|
3089
|
-
}),
|
|
3107
|
+
}), $e(E) && /* @__PURE__ */ G.createElement("div", {
|
|
3090
3108
|
ref: C,
|
|
3091
3109
|
className: "swiper-pagination"
|
|
3092
|
-
}),
|
|
3110
|
+
}), z["container-end"]));
|
|
3093
3111
|
});
|
|
3094
|
-
|
|
3095
|
-
const
|
|
3112
|
+
Ye.displayName = "Swiper";
|
|
3113
|
+
const Xe = /* @__PURE__ */ Oe(function(t, e) {
|
|
3096
3114
|
let {
|
|
3097
3115
|
tag: i = "div",
|
|
3098
3116
|
children: s,
|
|
@@ -3104,11 +3122,11 @@ const yi = /* @__PURE__ */ Me(function(t, e) {
|
|
|
3104
3122
|
swiperSlideIndex: d,
|
|
3105
3123
|
...c
|
|
3106
3124
|
} = t === void 0 ? {} : t;
|
|
3107
|
-
const u =
|
|
3108
|
-
function S(
|
|
3109
|
-
|
|
3125
|
+
const u = R(null), [m, h] = U("swiper-slide"), [f, g] = U(!1);
|
|
3126
|
+
function S(y, x, C) {
|
|
3127
|
+
x === u.current && h(C);
|
|
3110
3128
|
}
|
|
3111
|
-
|
|
3129
|
+
J(() => {
|
|
3112
3130
|
if (typeof d < "u" && (u.current.swiperSlideIndex = d), e && (e.current = u.current), !(!u.current || !r)) {
|
|
3113
3131
|
if (r.destroyed) {
|
|
3114
3132
|
m !== "swiper-slide" && h("swiper-slide");
|
|
@@ -3118,7 +3136,7 @@ const yi = /* @__PURE__ */ Me(function(t, e) {
|
|
|
3118
3136
|
r && r.off("_slideClass", S);
|
|
3119
3137
|
};
|
|
3120
3138
|
}
|
|
3121
|
-
}),
|
|
3139
|
+
}), J(() => {
|
|
3122
3140
|
r && u.current && !r.destroyed && h(r.getSlideClasses(u.current));
|
|
3123
3141
|
}, [r]);
|
|
3124
3142
|
const p = {
|
|
@@ -3129,30 +3147,155 @@ const yi = /* @__PURE__ */ Me(function(t, e) {
|
|
|
3129
3147
|
}, v = () => typeof s == "function" ? s(p) : s, w = () => {
|
|
3130
3148
|
g(!0);
|
|
3131
3149
|
};
|
|
3132
|
-
return /* @__PURE__ */ G.createElement(i,
|
|
3150
|
+
return /* @__PURE__ */ G.createElement(i, oe({
|
|
3133
3151
|
ref: u,
|
|
3134
|
-
className:
|
|
3152
|
+
className: je(`${m}${n ? ` ${n}` : ""}`),
|
|
3135
3153
|
"data-swiper-slide-index": o,
|
|
3136
3154
|
onLoad: w
|
|
3137
|
-
}, c), l && /* @__PURE__ */ G.createElement(
|
|
3155
|
+
}, c), l && /* @__PURE__ */ G.createElement(Le.Provider, {
|
|
3138
3156
|
value: p
|
|
3139
3157
|
}, /* @__PURE__ */ G.createElement("div", {
|
|
3140
3158
|
className: "swiper-zoom-container",
|
|
3141
3159
|
"data-swiper-zoom": typeof l == "number" ? l : void 0
|
|
3142
3160
|
}, v(), a && !f && /* @__PURE__ */ G.createElement("div", {
|
|
3143
3161
|
className: "swiper-lazy-preloader"
|
|
3144
|
-
}))), !l && /* @__PURE__ */ G.createElement(
|
|
3162
|
+
}))), !l && /* @__PURE__ */ G.createElement(Le.Provider, {
|
|
3145
3163
|
value: p
|
|
3146
3164
|
}, v(), a && !f && /* @__PURE__ */ G.createElement("div", {
|
|
3147
3165
|
className: "swiper-lazy-preloader"
|
|
3148
3166
|
})));
|
|
3149
3167
|
});
|
|
3150
|
-
|
|
3168
|
+
Xe.displayName = "SwiperSlide";
|
|
3169
|
+
const _i = {
|
|
3170
|
+
type: "cards",
|
|
3171
|
+
label: "Карточки слайдера",
|
|
3172
|
+
dataType: "array",
|
|
3173
|
+
data: {
|
|
3174
|
+
title: X.TITLE,
|
|
3175
|
+
description: X.DESCRIPTION,
|
|
3176
|
+
image: X.FILE,
|
|
3177
|
+
icon: X.FILE,
|
|
3178
|
+
is_black: X.BOOLEAN,
|
|
3179
|
+
is_promo: X.BOOLEAN,
|
|
3180
|
+
is_yellow: X.BOOLEAN
|
|
3181
|
+
}
|
|
3182
|
+
}, Di = ["title", _i, "autoplay", "isLight", "isButton"];
|
|
3183
|
+
function Gi({
|
|
3184
|
+
title: t,
|
|
3185
|
+
cards: e,
|
|
3186
|
+
autoplay: i = !1,
|
|
3187
|
+
isLight: s = !1,
|
|
3188
|
+
isButton: n = !0
|
|
3189
|
+
}) {
|
|
3190
|
+
const [r, l] = U(1), a = R(null), o = Ze(960), d = o ? 1.2 : 3, c = o ? 16 : 0, m = i ? {
|
|
3191
|
+
delay: 3e3,
|
|
3192
|
+
disableOnInteraction: !1,
|
|
3193
|
+
waitForTransition: !0
|
|
3194
|
+
} : !1, h = R(null), f = R(null), g = e.length <= d + 1 ? [...e, ...e] : e, S = e.length <= d + 1 ? r % e.length : r;
|
|
3195
|
+
return /* @__PURE__ */ Te("div", { className: "flex flex-col items-center gap-6 h-fit max-w-[1232px] w-full mx-auto px-4 relative max-tablet:max-w-full max-tablet:p-0", children: [
|
|
3196
|
+
t && /* @__PURE__ */ F("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: t }),
|
|
3197
|
+
/* @__PURE__ */ Te("div", { className: "relative w-full h-[346px] max-tablet:h-fit", children: [
|
|
3198
|
+
/* @__PURE__ */ F(
|
|
3199
|
+
Ye,
|
|
3200
|
+
{
|
|
3201
|
+
modules: [pt, mt],
|
|
3202
|
+
className: "feature_swiper",
|
|
3203
|
+
initialSlide: 0,
|
|
3204
|
+
slidesPerView: d,
|
|
3205
|
+
spaceBetween: c,
|
|
3206
|
+
centeredSlides: !0,
|
|
3207
|
+
speed: 500,
|
|
3208
|
+
autoplay: m,
|
|
3209
|
+
onSwiper: (p) => {
|
|
3210
|
+
a.current = p, l(p.realIndex);
|
|
3211
|
+
},
|
|
3212
|
+
onBeforeTransitionStart: (p) => {
|
|
3213
|
+
let v = p.realIndex;
|
|
3214
|
+
l(v);
|
|
3215
|
+
},
|
|
3216
|
+
navigation: {
|
|
3217
|
+
nextEl: h.current,
|
|
3218
|
+
prevEl: f.current
|
|
3219
|
+
},
|
|
3220
|
+
loop: !0,
|
|
3221
|
+
children: g.map((p, v) => {
|
|
3222
|
+
const w = v === r;
|
|
3223
|
+
return /* @__PURE__ */ F(Xe, { children: /* @__PURE__ */ F(
|
|
3224
|
+
Qe,
|
|
3225
|
+
{
|
|
3226
|
+
image: p == null ? void 0 : p.image,
|
|
3227
|
+
description: p == null ? void 0 : p.description,
|
|
3228
|
+
className: Z(
|
|
3229
|
+
"h-[314px] transition-all duration-500 transform scale-[0.85] relative max-tablet:h-[288px] max-tablet:scale-100",
|
|
3230
|
+
{
|
|
3231
|
+
"!h-[346px] !w-full transform scale-100 flex flex-col gap-[40px] md:h-auto md:gap-6": w && !o
|
|
3232
|
+
}
|
|
3233
|
+
),
|
|
3234
|
+
imgClassName: Z({
|
|
3235
|
+
"h-[122px] w-[122px]": w && !o
|
|
3236
|
+
}),
|
|
3237
|
+
imgStyle: Z({
|
|
3238
|
+
"h-[122px] w-[122px]": w && !o
|
|
3239
|
+
}),
|
|
3240
|
+
isLight: s
|
|
3241
|
+
}
|
|
3242
|
+
) }, p.id);
|
|
3243
|
+
})
|
|
3244
|
+
}
|
|
3245
|
+
),
|
|
3246
|
+
n && /* @__PURE__ */ F(
|
|
3247
|
+
"button",
|
|
3248
|
+
{
|
|
3249
|
+
ref: f,
|
|
3250
|
+
className: Z(
|
|
3251
|
+
"absolute h-[40px] w-[40px] left-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
|
|
3252
|
+
),
|
|
3253
|
+
children: /* @__PURE__ */ F(
|
|
3254
|
+
Je,
|
|
3255
|
+
{
|
|
3256
|
+
size: 24,
|
|
3257
|
+
color: "#ffffff"
|
|
3258
|
+
}
|
|
3259
|
+
)
|
|
3260
|
+
}
|
|
3261
|
+
),
|
|
3262
|
+
n && /* @__PURE__ */ F(
|
|
3263
|
+
"button",
|
|
3264
|
+
{
|
|
3265
|
+
ref: h,
|
|
3266
|
+
className: Z(
|
|
3267
|
+
"absolute h-[40px] w-[40px] right-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
|
|
3268
|
+
),
|
|
3269
|
+
children: /* @__PURE__ */ F(
|
|
3270
|
+
et,
|
|
3271
|
+
{
|
|
3272
|
+
size: 24,
|
|
3273
|
+
color: "#ffffff"
|
|
3274
|
+
}
|
|
3275
|
+
)
|
|
3276
|
+
}
|
|
3277
|
+
)
|
|
3278
|
+
] }),
|
|
3279
|
+
e.length && /* @__PURE__ */ F(
|
|
3280
|
+
Ke,
|
|
3281
|
+
{
|
|
3282
|
+
count: e.length,
|
|
3283
|
+
active: S,
|
|
3284
|
+
activeColor: "#16A34A",
|
|
3285
|
+
anActiveColor: "#A6B2BA",
|
|
3286
|
+
className: "mt-[24px]"
|
|
3287
|
+
}
|
|
3288
|
+
)
|
|
3289
|
+
] });
|
|
3290
|
+
}
|
|
3291
|
+
Gi.propsToEdit = Di;
|
|
3151
3292
|
export {
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3293
|
+
Gi as A,
|
|
3294
|
+
Je as C,
|
|
3295
|
+
pt as N,
|
|
3296
|
+
Ye as S,
|
|
3297
|
+
mt as a,
|
|
3298
|
+
Xe as b,
|
|
3299
|
+
et as c,
|
|
3300
|
+
Ze as u
|
|
3158
3301
|
};
|