boottent-design 0.1.111 → 0.1.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.cjs.js +3 -3
- package/dist/components.es.js +1238 -1224
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -6,7 +6,7 @@ import V, { forwardRef as vn, useState as Fe, useRef as de, useEffect as Xe, use
|
|
|
6
6
|
import { a as ue, d as Ut, c as Ja } from "./index-CEwEyzHV.js";
|
|
7
7
|
import { S as K } from "./index-TpPaGoFn.js";
|
|
8
8
|
import { p as Le, R as es } from "./portal-container-NQjGIrzU.js";
|
|
9
|
-
import { A as
|
|
9
|
+
import { A as uf, D as ff, M as pf, P as mf, T as hf } from "./portal-container-NQjGIrzU.js";
|
|
10
10
|
var yr = "Collapsible", [ts, bn] = gr(yr), [rs, xr] = ts(yr), yn = O.forwardRef(
|
|
11
11
|
(r, e) => {
|
|
12
12
|
const {
|
|
@@ -32,7 +32,7 @@ var yr = "Collapsible", [ts, bn] = gr(yr), [rs, xr] = ts(yr), yn = O.forwardRef(
|
|
|
32
32
|
children: /* @__PURE__ */ b(
|
|
33
33
|
Pe.div,
|
|
34
34
|
{
|
|
35
|
-
"data-state":
|
|
35
|
+
"data-state": Tr(s),
|
|
36
36
|
"data-disabled": a ? "" : void 0,
|
|
37
37
|
...o,
|
|
38
38
|
ref: e
|
|
@@ -43,7 +43,7 @@ var yr = "Collapsible", [ts, bn] = gr(yr), [rs, xr] = ts(yr), yn = O.forwardRef(
|
|
|
43
43
|
}
|
|
44
44
|
);
|
|
45
45
|
yn.displayName = yr;
|
|
46
|
-
var xn = "CollapsibleTrigger",
|
|
46
|
+
var xn = "CollapsibleTrigger", Sn = O.forwardRef(
|
|
47
47
|
(r, e) => {
|
|
48
48
|
const { __scopeCollapsible: t, ...n } = r, i = xr(xn, t);
|
|
49
49
|
return /* @__PURE__ */ b(
|
|
@@ -52,7 +52,7 @@ var xn = "CollapsibleTrigger", Tn = O.forwardRef(
|
|
|
52
52
|
type: "button",
|
|
53
53
|
"aria-controls": i.contentId,
|
|
54
54
|
"aria-expanded": i.open || !1,
|
|
55
|
-
"data-state":
|
|
55
|
+
"data-state": Tr(i.open),
|
|
56
56
|
"data-disabled": i.disabled ? "" : void 0,
|
|
57
57
|
disabled: i.disabled,
|
|
58
58
|
...n,
|
|
@@ -62,16 +62,16 @@ var xn = "CollapsibleTrigger", Tn = O.forwardRef(
|
|
|
62
62
|
);
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
|
-
|
|
66
|
-
var
|
|
65
|
+
Sn.displayName = xn;
|
|
66
|
+
var Sr = "CollapsibleContent", Tn = O.forwardRef(
|
|
67
67
|
(r, e) => {
|
|
68
|
-
const { forceMount: t, ...n } = r, i = xr(
|
|
68
|
+
const { forceMount: t, ...n } = r, i = xr(Sr, r.__scopeCollapsible);
|
|
69
69
|
return /* @__PURE__ */ b(un, { present: t || i.open, children: ({ present: a }) => /* @__PURE__ */ b(ns, { ...n, ref: e, present: a }) });
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
|
-
|
|
72
|
+
Tn.displayName = Sr;
|
|
73
73
|
var ns = O.forwardRef((r, e) => {
|
|
74
|
-
const { __scopeCollapsible: t, present: n, children: i, ...a } = r, l = xr(
|
|
74
|
+
const { __scopeCollapsible: t, present: n, children: i, ...a } = r, l = xr(Sr, t), [o, s] = O.useState(n), d = O.useRef(null), c = _t(e, d), h = O.useRef(0), f = h.current, p = O.useRef(0), u = p.current, m = l.open || o, w = O.useRef(m), y = O.useRef();
|
|
75
75
|
return O.useEffect(() => {
|
|
76
76
|
const g = requestAnimationFrame(() => w.current = !1);
|
|
77
77
|
return () => cancelAnimationFrame(g);
|
|
@@ -88,7 +88,7 @@ var ns = O.forwardRef((r, e) => {
|
|
|
88
88
|
}, [l.open, n]), /* @__PURE__ */ b(
|
|
89
89
|
Pe.div,
|
|
90
90
|
{
|
|
91
|
-
"data-state":
|
|
91
|
+
"data-state": Tr(l.open),
|
|
92
92
|
"data-disabled": l.disabled ? "" : void 0,
|
|
93
93
|
id: l.contentId,
|
|
94
94
|
hidden: !m,
|
|
@@ -103,10 +103,10 @@ var ns = O.forwardRef((r, e) => {
|
|
|
103
103
|
}
|
|
104
104
|
);
|
|
105
105
|
});
|
|
106
|
-
function
|
|
106
|
+
function Tr(r) {
|
|
107
107
|
return r ? "open" : "closed";
|
|
108
108
|
}
|
|
109
|
-
var is = yn, as =
|
|
109
|
+
var is = yn, as = Sn, ss = Tn, Oe = "Accordion", os = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Cr, ls, cs] = _a(Oe), [Ft, Gu] = gr(Oe, [
|
|
110
110
|
cs,
|
|
111
111
|
bn
|
|
112
112
|
]), Er = bn(), Cn = V.forwardRef(
|
|
@@ -175,16 +175,16 @@ var [En, ds] = Ft(Oe), [Pn, us] = Ft(
|
|
|
175
175
|
}), [ms, zt] = Ft(Oe), Mn = V.forwardRef(
|
|
176
176
|
(r, e) => {
|
|
177
177
|
const { __scopeAccordion: t, disabled: n, dir: i, orientation: a = "vertical", ...l } = r, o = V.useRef(null), s = _t(o, e), d = ls(t), h = fn(i) === "ltr", f = Ce(r.onKeyDown, (p) => {
|
|
178
|
-
var
|
|
178
|
+
var N;
|
|
179
179
|
if (!os.includes(p.key)) return;
|
|
180
180
|
const u = p.target, m = d().filter((E) => {
|
|
181
|
-
var
|
|
182
|
-
return !((
|
|
181
|
+
var T;
|
|
182
|
+
return !((T = E.ref.current) != null && T.disabled);
|
|
183
183
|
}), w = m.findIndex((E) => E.ref.current === u), y = m.length;
|
|
184
184
|
if (w === -1) return;
|
|
185
185
|
p.preventDefault();
|
|
186
186
|
let g = w;
|
|
187
|
-
const v = 0, x = y - 1,
|
|
187
|
+
const v = 0, x = y - 1, S = () => {
|
|
188
188
|
g = w + 1, g > x && (g = v);
|
|
189
189
|
}, C = () => {
|
|
190
190
|
g = w - 1, g < v && (g = x);
|
|
@@ -197,20 +197,20 @@ var [En, ds] = Ft(Oe), [Pn, us] = Ft(
|
|
|
197
197
|
g = x;
|
|
198
198
|
break;
|
|
199
199
|
case "ArrowRight":
|
|
200
|
-
a === "horizontal" && (h ?
|
|
200
|
+
a === "horizontal" && (h ? S() : C());
|
|
201
201
|
break;
|
|
202
202
|
case "ArrowDown":
|
|
203
|
-
a === "vertical" &&
|
|
203
|
+
a === "vertical" && S();
|
|
204
204
|
break;
|
|
205
205
|
case "ArrowLeft":
|
|
206
|
-
a === "horizontal" && (h ? C() :
|
|
206
|
+
a === "horizontal" && (h ? C() : S());
|
|
207
207
|
break;
|
|
208
208
|
case "ArrowUp":
|
|
209
209
|
a === "vertical" && C();
|
|
210
210
|
break;
|
|
211
211
|
}
|
|
212
|
-
const
|
|
213
|
-
(
|
|
212
|
+
const k = g % y;
|
|
213
|
+
(N = m[k].ref.current) == null || N.focus();
|
|
214
214
|
});
|
|
215
215
|
return /* @__PURE__ */ b(
|
|
216
216
|
ms,
|
|
@@ -231,9 +231,9 @@ var [En, ds] = Ft(Oe), [Pn, us] = Ft(
|
|
|
231
231
|
}
|
|
232
232
|
);
|
|
233
233
|
}
|
|
234
|
-
),
|
|
234
|
+
), Tt = "AccordionItem", [hs, Pr] = Ft(Tt), On = V.forwardRef(
|
|
235
235
|
(r, e) => {
|
|
236
|
-
const { __scopeAccordion: t, value: n, ...i } = r, a = zt(
|
|
236
|
+
const { __scopeAccordion: t, value: n, ...i } = r, a = zt(Tt, t), l = ds(Tt, t), o = Er(t), s = vr(), d = n && l.value.includes(n) || !1, c = a.disabled || r.disabled;
|
|
237
237
|
return /* @__PURE__ */ b(
|
|
238
238
|
hs,
|
|
239
239
|
{
|
|
@@ -260,8 +260,8 @@ var [En, ds] = Ft(Oe), [Pn, us] = Ft(
|
|
|
260
260
|
);
|
|
261
261
|
}
|
|
262
262
|
);
|
|
263
|
-
On.displayName =
|
|
264
|
-
var In = "AccordionHeader",
|
|
263
|
+
On.displayName = Tt;
|
|
264
|
+
var In = "AccordionHeader", Nn = V.forwardRef(
|
|
265
265
|
(r, e) => {
|
|
266
266
|
const { __scopeAccordion: t, ...n } = r, i = zt(Oe, t), a = Pr(In, t);
|
|
267
267
|
return /* @__PURE__ */ b(
|
|
@@ -276,8 +276,8 @@ var In = "AccordionHeader", An = V.forwardRef(
|
|
|
276
276
|
);
|
|
277
277
|
}
|
|
278
278
|
);
|
|
279
|
-
|
|
280
|
-
var ar = "AccordionTrigger",
|
|
279
|
+
Nn.displayName = In;
|
|
280
|
+
var ar = "AccordionTrigger", An = V.forwardRef(
|
|
281
281
|
(r, e) => {
|
|
282
282
|
const { __scopeAccordion: t, ...n } = r, i = zt(Oe, t), a = Pr(ar, t), l = us(ar, t), o = Er(t);
|
|
283
283
|
return /* @__PURE__ */ b(Cr.ItemSlot, { scope: t, children: /* @__PURE__ */ b(
|
|
@@ -293,10 +293,10 @@ var ar = "AccordionTrigger", kn = V.forwardRef(
|
|
|
293
293
|
) });
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
|
-
|
|
297
|
-
var
|
|
296
|
+
An.displayName = ar;
|
|
297
|
+
var kn = "AccordionContent", Ln = V.forwardRef(
|
|
298
298
|
(r, e) => {
|
|
299
|
-
const { __scopeAccordion: t, ...n } = r, i = zt(Oe, t), a = Pr(
|
|
299
|
+
const { __scopeAccordion: t, ...n } = r, i = zt(Oe, t), a = Pr(kn, t), l = Er(t);
|
|
300
300
|
return /* @__PURE__ */ b(
|
|
301
301
|
ss,
|
|
302
302
|
{
|
|
@@ -315,11 +315,11 @@ var Nn = "AccordionContent", Ln = V.forwardRef(
|
|
|
315
315
|
);
|
|
316
316
|
}
|
|
317
317
|
);
|
|
318
|
-
Ln.displayName =
|
|
318
|
+
Ln.displayName = kn;
|
|
319
319
|
function Dn(r) {
|
|
320
320
|
return r ? "open" : "closed";
|
|
321
321
|
}
|
|
322
|
-
var gs = Cn, vs = On, ws =
|
|
322
|
+
var gs = Cn, vs = On, ws = Nn, _n = An, Fn = Ln;
|
|
323
323
|
const bs = gs, zn = O.forwardRef(({ className: r, ...e }, t) => /* @__PURE__ */ b(vs, { ref: t, className: Q("w-full border-b", r), ...e }));
|
|
324
324
|
zn.displayName = "AccordionItem";
|
|
325
325
|
const Vn = O.forwardRef(({ className: r, children: e, disabled: t, ...n }, i) => /* @__PURE__ */ b(ws, { className: "flex", children: /* @__PURE__ */ _(
|
|
@@ -349,12 +349,12 @@ const Rn = O.forwardRef(({ className: r, children: e, ...t }, n) => /* @__PURE__
|
|
|
349
349
|
}
|
|
350
350
|
));
|
|
351
351
|
Rn.displayName = Fn.displayName;
|
|
352
|
-
const
|
|
352
|
+
const $u = {
|
|
353
353
|
Root: bs,
|
|
354
354
|
Item: zn,
|
|
355
355
|
Trigger: Vn,
|
|
356
356
|
Content: Rn
|
|
357
|
-
},
|
|
357
|
+
}, Ct = ({
|
|
358
358
|
src: r,
|
|
359
359
|
alt: e,
|
|
360
360
|
object: t = "cover",
|
|
@@ -447,15 +447,15 @@ function Hn(r, e, t) {
|
|
|
447
447
|
), a = qr(n), l = qr(i), o = +a - Yr(a), s = +l - Yr(l);
|
|
448
448
|
return Math.round((o - s) / ys);
|
|
449
449
|
}
|
|
450
|
-
function
|
|
450
|
+
function Ss(r, e) {
|
|
451
451
|
const t = $n(r, e), n = Me(r, 0);
|
|
452
452
|
return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), Et(n);
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function Ts(r) {
|
|
455
455
|
return r instanceof Date || typeof r == "object" && Object.prototype.toString.call(r) === "[object Date]";
|
|
456
456
|
}
|
|
457
457
|
function Cs(r) {
|
|
458
|
-
return !(!
|
|
458
|
+
return !(!Ts(r) && typeof r != "number" || isNaN(+ae(r)));
|
|
459
459
|
}
|
|
460
460
|
function Es(r, e, t) {
|
|
461
461
|
const [n, i] = jn(
|
|
@@ -555,27 +555,27 @@ const Is = {
|
|
|
555
555
|
long: "MMMM do, y",
|
|
556
556
|
medium: "MMM d, y",
|
|
557
557
|
short: "MM/dd/yyyy"
|
|
558
|
-
},
|
|
558
|
+
}, Ns = {
|
|
559
559
|
full: "h:mm:ss a zzzz",
|
|
560
560
|
long: "h:mm:ss a z",
|
|
561
561
|
medium: "h:mm:ss a",
|
|
562
562
|
short: "h:mm a"
|
|
563
|
-
},
|
|
563
|
+
}, As = {
|
|
564
564
|
full: "{{date}} 'at' {{time}}",
|
|
565
565
|
long: "{{date}} 'at' {{time}}",
|
|
566
566
|
medium: "{{date}}, {{time}}",
|
|
567
567
|
short: "{{date}}, {{time}}"
|
|
568
|
-
},
|
|
568
|
+
}, ks = {
|
|
569
569
|
date: Xt({
|
|
570
570
|
formats: Is,
|
|
571
571
|
defaultWidth: "full"
|
|
572
572
|
}),
|
|
573
573
|
time: Xt({
|
|
574
|
-
formats:
|
|
574
|
+
formats: Ns,
|
|
575
575
|
defaultWidth: "full"
|
|
576
576
|
}),
|
|
577
577
|
dateTime: Xt({
|
|
578
|
-
formats:
|
|
578
|
+
formats: As,
|
|
579
579
|
defaultWidth: "full"
|
|
580
580
|
})
|
|
581
581
|
}, Ls = {
|
|
@@ -899,7 +899,7 @@ const Ys = /^(\d+)(th|st|nd|rd)?/i, qs = /\d+/i, Us = {
|
|
|
899
899
|
}, ao = {
|
|
900
900
|
code: "en-US",
|
|
901
901
|
formatDistance: Os,
|
|
902
|
-
formatLong:
|
|
902
|
+
formatLong: ks,
|
|
903
903
|
formatRelative: Ds,
|
|
904
904
|
localize: Gs,
|
|
905
905
|
match: io,
|
|
@@ -913,7 +913,7 @@ function so(r, e) {
|
|
|
913
913
|
return Hn(t, Ps(t)) + 1;
|
|
914
914
|
}
|
|
915
915
|
function oo(r, e) {
|
|
916
|
-
const t = ae(r, e == null ? void 0 : e.in), n = +Et(t) - +
|
|
916
|
+
const t = ae(r, e == null ? void 0 : e.in), n = +Et(t) - +Ss(t);
|
|
917
917
|
return Math.round(n / Bn) + 1;
|
|
918
918
|
}
|
|
919
919
|
function Yn(r, e) {
|
|
@@ -1562,7 +1562,7 @@ function bo(r, e, t) {
|
|
|
1562
1562
|
const n = r[0] === "Y" ? "years" : "days of the month";
|
|
1563
1563
|
return `Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${e}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1564
1564
|
}
|
|
1565
|
-
const yo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, xo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,
|
|
1565
|
+
const yo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, xo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, So = /^'([^]*?)'?$/, To = /''/g, Co = /[a-zA-Z]/;
|
|
1566
1566
|
function Qt(r, e, t) {
|
|
1567
1567
|
var c, h, f, p;
|
|
1568
1568
|
const n = Vt(), i = n.locale ?? ao, a = n.firstWeekContainsDate ?? ((h = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, l = n.weekStartsOn ?? ((p = (f = n.locale) == null ? void 0 : f.options) == null ? void 0 : p.weekStartsOn) ?? 0, o = ae(r, t == null ? void 0 : t.in);
|
|
@@ -1604,20 +1604,20 @@ function Qt(r, e, t) {
|
|
|
1604
1604
|
}).join("");
|
|
1605
1605
|
}
|
|
1606
1606
|
function Eo(r) {
|
|
1607
|
-
const e = r.match(
|
|
1608
|
-
return e ? e[1].replace(
|
|
1607
|
+
const e = r.match(So);
|
|
1608
|
+
return e ? e[1].replace(To, "'") : r;
|
|
1609
1609
|
}
|
|
1610
1610
|
function Un(r, e) {
|
|
1611
1611
|
const t = () => Me(e == null ? void 0 : e.in, NaN), i = Io(r);
|
|
1612
1612
|
let a;
|
|
1613
1613
|
if (i.date) {
|
|
1614
|
-
const d =
|
|
1615
|
-
a =
|
|
1614
|
+
const d = No(i.date, 2);
|
|
1615
|
+
a = Ao(d.restDateString, d.year);
|
|
1616
1616
|
}
|
|
1617
1617
|
if (!a || isNaN(+a)) return t();
|
|
1618
1618
|
const l = +a;
|
|
1619
1619
|
let o = 0, s;
|
|
1620
|
-
if (i.time && (o =
|
|
1620
|
+
if (i.time && (o = ko(i.time), isNaN(o)))
|
|
1621
1621
|
return t();
|
|
1622
1622
|
if (i.timezone) {
|
|
1623
1623
|
if (s = Lo(i.timezone), isNaN(s)) return t();
|
|
@@ -1655,7 +1655,7 @@ function Io(r) {
|
|
|
1655
1655
|
}
|
|
1656
1656
|
return e;
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function No(r, e) {
|
|
1659
1659
|
const t = new RegExp(
|
|
1660
1660
|
"^(?:(\\d{4}|[+-]\\d{" + (4 + e) + "})|(\\d{2}|[+-]\\d{" + (2 + e) + "})$)"
|
|
1661
1661
|
), n = r.match(t);
|
|
@@ -1666,7 +1666,7 @@ function Ao(r, e) {
|
|
|
1666
1666
|
restDateString: r.slice((n[1] || n[2]).length)
|
|
1667
1667
|
};
|
|
1668
1668
|
}
|
|
1669
|
-
function
|
|
1669
|
+
function Ao(r, e) {
|
|
1670
1670
|
if (e === null) return /* @__PURE__ */ new Date(NaN);
|
|
1671
1671
|
const t = r.match(Po);
|
|
1672
1672
|
if (!t) return /* @__PURE__ */ new Date(NaN);
|
|
@@ -1681,7 +1681,7 @@ function ko(r, e) {
|
|
|
1681
1681
|
function it(r) {
|
|
1682
1682
|
return r ? parseInt(r) : 1;
|
|
1683
1683
|
}
|
|
1684
|
-
function
|
|
1684
|
+
function ko(r) {
|
|
1685
1685
|
const e = r.match(Mo);
|
|
1686
1686
|
if (!e) return NaN;
|
|
1687
1687
|
const t = Kt(e[1]), n = Kt(e[2]), i = Kt(e[3]);
|
|
@@ -1722,7 +1722,7 @@ function Ro(r, e, t) {
|
|
|
1722
1722
|
function Bo(r, e) {
|
|
1723
1723
|
return e >= 0 && e <= 59;
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function ju({
|
|
1726
1726
|
logo: r,
|
|
1727
1727
|
title: e,
|
|
1728
1728
|
batchName: t = "",
|
|
@@ -1766,10 +1766,10 @@ function Wo({ logo: r, title: e, adTitle: t, footerText: n, regEndDate: i, class
|
|
|
1766
1766
|
background: ue.event.background,
|
|
1767
1767
|
color: ue.event.color
|
|
1768
1768
|
},
|
|
1769
|
-
children: i ?
|
|
1769
|
+
children: i ? Yo(i) : ue.event.value.toUpperCase()
|
|
1770
1770
|
}
|
|
1771
1771
|
),
|
|
1772
|
-
/* @__PURE__ */ b(
|
|
1772
|
+
/* @__PURE__ */ b(Ct, { src: r, alt: `${e} 로고`, className: "h-4 object-contain" }),
|
|
1773
1773
|
/* @__PURE__ */ _(ee.Col, { className: "w-full gap-2", children: [
|
|
1774
1774
|
/* @__PURE__ */ b("h3", { className: "line-clamp-2 h-auto text-sm font-normal md:text-base lg:h-12", title: e, children: e }),
|
|
1775
1775
|
/* @__PURE__ */ b("p", { className: "line-clamp-2 h-auto w-full break-keep rounded bg-grey-100 px-2 py-1 text-[13px] font-semibold text-grey-600 md:h-[54px] md:text-[15px] md:text-grey-800", children: t }),
|
|
@@ -1821,9 +1821,14 @@ const $o = (r) => {
|
|
|
1821
1821
|
const t = e ? "(내배카💳)" : "";
|
|
1822
1822
|
return r === 0 || r === void 0 ? `무료 ${t}` : `유료 ${t}`;
|
|
1823
1823
|
}, Ho = (r) => {
|
|
1824
|
-
const
|
|
1824
|
+
const t = r.split(" ")[0].split("-"), n = Number(t[0]), i = Number(t[1]);
|
|
1825
|
+
let a = t[2];
|
|
1826
|
+
const l = new Date(n, i, 0).getDate();
|
|
1827
|
+
return (isNaN(Number(a)) || Number(a) > l) && (a = l.toString()), `${n}-${String(i).padStart(2, "0")}-${String(a).padStart(2, "0")}`;
|
|
1828
|
+
}, Yo = (r) => {
|
|
1829
|
+
const e = Es(Un(Ho(r)), /* @__PURE__ */ new Date());
|
|
1825
1830
|
return e <= 0 ? "마감임박" : `D-${e}`;
|
|
1826
|
-
},
|
|
1831
|
+
}, qo = {
|
|
1827
1832
|
homepage: { label: "홈페이지", value: "homepage", query: !1 },
|
|
1828
1833
|
boottent: { label: "자세히보기", value: "boottent", query: !1 },
|
|
1829
1834
|
curriculum: {
|
|
@@ -1834,458 +1839,166 @@ const $o = (r) => {
|
|
|
1834
1839
|
event: { label: "이벤트", value: "event", query: "event" },
|
|
1835
1840
|
reviews: { label: "후기보기", value: "reviews", query: "reviews" }
|
|
1836
1841
|
};
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
|
|
1842
|
+
var Uo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, I = {}, sr = { exports: {} };
|
|
1843
|
+
(function(r, e) {
|
|
1844
|
+
(function(t, n) {
|
|
1845
|
+
var i = "1.0.39", a = "", l = "?", o = "function", s = "undefined", d = "object", c = "string", h = "major", f = "model", p = "name", u = "type", m = "vendor", w = "version", y = "architecture", g = "console", v = "mobile", x = "tablet", S = "smarttv", C = "wearable", k = "embedded", N = 500, E = "Amazon", T = "Apple", M = "ASUS", A = "BlackBerry", P = "Browser", L = "Chrome", R = "Edge", X = "Firefox", fe = "Google", B = "Huawei", G = "LG", Y = "Microsoft", pe = "Motorola", me = "Opera", et = "Samsung", Fr = "Sharp", pt = "Sony", jt = "Xiaomi", Ht = "Zebra", zr = "Facebook", Vr = "Chromium OS", Rr = "Mac OS", Br = " Browser", Aa = function(W, $) {
|
|
1846
|
+
var z = {};
|
|
1847
|
+
for (var q in W)
|
|
1848
|
+
$[q] && $[q].length % 2 === 0 ? z[q] = $[q].concat(W[q]) : z[q] = W[q];
|
|
1849
|
+
return z;
|
|
1850
|
+
}, mt = function(W) {
|
|
1851
|
+
for (var $ = {}, z = 0; z < W.length; z++)
|
|
1852
|
+
$[W[z].toUpperCase()] = W[z];
|
|
1853
|
+
return $;
|
|
1854
|
+
}, Wr = function(W, $) {
|
|
1855
|
+
return typeof W === c ? $e($).indexOf($e(W)) !== -1 : !1;
|
|
1856
|
+
}, $e = function(W) {
|
|
1857
|
+
return W.toLowerCase();
|
|
1858
|
+
}, ka = function(W) {
|
|
1859
|
+
return typeof W === c ? W.replace(/[^\d\.]/g, a).split(".")[0] : n;
|
|
1860
|
+
}, Yt = function(W, $) {
|
|
1861
|
+
if (typeof W === c)
|
|
1862
|
+
return W = W.replace(/^\s\s*/, a), typeof $ === s ? W : W.substring(0, N);
|
|
1863
|
+
}, tt = function(W, $) {
|
|
1864
|
+
for (var z = 0, q, Se, he, j, F, ge; z < $.length && !F; ) {
|
|
1865
|
+
var qt = $[z], jr = $[z + 1];
|
|
1866
|
+
for (q = Se = 0; q < qt.length && !F && qt[q]; )
|
|
1867
|
+
if (F = qt[q++].exec(W), F)
|
|
1868
|
+
for (he = 0; he < jr.length; he++)
|
|
1869
|
+
ge = F[++Se], j = jr[he], typeof j === d && j.length > 0 ? j.length === 2 ? typeof j[1] == o ? this[j[0]] = j[1].call(this, ge) : this[j[0]] = j[1] : j.length === 3 ? typeof j[1] === o && !(j[1].exec && j[1].test) ? this[j[0]] = ge ? j[1].call(this, ge, j[2]) : n : this[j[0]] = ge ? ge.replace(j[1], j[2]) : n : j.length === 4 && (this[j[0]] = ge ? j[3].call(this, ge.replace(j[1], j[2])) : n) : this[j] = ge || n;
|
|
1870
|
+
z += 2;
|
|
1871
|
+
}
|
|
1872
|
+
}, ht = function(W, $) {
|
|
1873
|
+
for (var z in $)
|
|
1874
|
+
if (typeof $[z] === d && $[z].length > 0) {
|
|
1875
|
+
for (var q = 0; q < $[z].length; q++)
|
|
1876
|
+
if (Wr($[z][q], W))
|
|
1877
|
+
return z === l ? n : z;
|
|
1878
|
+
} else if (Wr($[z], W))
|
|
1879
|
+
return z === l ? n : z;
|
|
1880
|
+
return $.hasOwnProperty("*") ? $["*"] : W;
|
|
1881
|
+
}, La = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Gr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $r = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [p, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [p, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [p, w], [/opios[\/ ]+([\w\.]+)/i], [w, [p, me + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [p, me + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [p, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [p, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [p, w], [/quark(?:pc)?\/([-\w\.]+)/i], [w, [p, "Quark"]], [/\bddg\/([\w\.]+)/i], [w, [p, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [p, "UC" + P]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [p, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [p, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [p, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [p, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [p, "Smart Lenovo " + P]], [/(avast|avg)\/([\w\.]+)/i], [[p, /(.+)/, "$1 Secure " + P], w], [/\bfocus\/([\w\.]+)/i], [w, [p, X + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [p, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [p, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [p, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [p, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [p, "MIUI " + P]], [/fxios\/([-\w\.]+)/i], [w, [p, X]], [/\bqihu|(qi?ho?o?|360)browser/i], [[p, "360" + Br]], [/\b(qq)\/([\w\.]+)/i], [[p, /(.+)/, "$1Browser"], w], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[p, /(.+)/, "$1" + Br], w], [/samsungbrowser\/([\w\.]+)/i], [w, [p, et + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[p, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [p, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[p, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [p, w], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [p], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[p, zr], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [p, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [p, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [p, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [p, L + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[p, L + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [p, "Android " + P]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [p, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [p, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, p], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [p, [w, ht, La]], [/(webkit|khtml)\/([\w\.]+)/i], [p, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[p, "Netscape"], w], [/(wolvic)\/([\w\.]+)/i], [p, w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [p, X + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [p, [w, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [p, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, $e]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, a, $e]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, $e]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [f, [m, et], [u, x]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [f, [m, et], [u, v]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [f, [m, T], [u, v]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [f, [m, T], [u, x]], [/(macintosh);/i], [f, [m, T]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [f, [m, Fr], [u, v]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [f, [m, B], [u, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [f, [m, B], [u, v]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[f, /_/g, " "], [m, jt], [u, v]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[f, /_/g, " "], [m, jt], [u, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [f, [m, "OPPO"], [u, v]], [/\b(opd2\d{3}a?) bui/i], [f, [m, "OPPO"], [u, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [f, [m, "Vivo"], [u, v]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [f, [m, "Realme"], [u, v]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [f, [m, pe], [u, v]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [f, [m, pe], [u, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [f, [m, G], [u, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [f, [m, G], [u, v]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [f, [m, "Lenovo"], [u, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[f, /_/g, " "], [m, "Nokia"], [u, v]], [/(pixel c)\b/i], [f, [m, fe], [u, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [f, [m, fe], [u, v]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [f, [m, pt], [u, v]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[f, "Xperia Tablet"], [m, pt], [u, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [f, [m, "OnePlus"], [u, v]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [f, [m, E], [u, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[f, /(.+)/g, "Fire Phone $1"], [m, E], [u, v]], [/(playbook);[-\w\),; ]+(rim)/i], [f, m, [u, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [f, [m, A], [u, v]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [f, [m, M], [u, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [f, [m, M], [u, v]], [/(nexus 9)/i], [f, [m, "HTC"], [u, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [m, [f, /_/g, " "], [u, v]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [f, [m, "TCL"], [u, x]], [/(itel) ((\w+))/i], [[m, $e], f, [u, ht, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [f, [m, "Acer"], [u, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [f, [m, "Meizu"], [u, v]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [f, [m, "Ulefone"], [u, v]], [/droid.+; (a(?:015|06[35]|142p?))/i], [f, [m, "Nothing"], [u, v]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [m, f, [u, v]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [m, f, [u, x]], [/(surface duo)/i], [f, [m, Y], [u, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [f, [m, "Fairphone"], [u, v]], [/(u304aa)/i], [f, [m, "AT&T"], [u, v]], [/\bsie-(\w*)/i], [f, [m, "Siemens"], [u, v]], [/\b(rct\w+) b/i], [f, [m, "RCA"], [u, x]], [/\b(venue[\d ]{2,7}) b/i], [f, [m, "Dell"], [u, x]], [/\b(q(?:mv|ta)\w+) b/i], [f, [m, "Verizon"], [u, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [f, [m, "Barnes & Noble"], [u, x]], [/\b(tm\d{3}\w+) b/i], [f, [m, "NuVision"], [u, x]], [/\b(k88) b/i], [f, [m, "ZTE"], [u, x]], [/\b(nx\d{3}j) b/i], [f, [m, "ZTE"], [u, v]], [/\b(gen\d{3}) b.+49h/i], [f, [m, "Swiss"], [u, v]], [/\b(zur\d{3}) b/i], [f, [m, "Swiss"], [u, x]], [/\b((zeki)?tb.*\b) b/i], [f, [m, "Zeki"], [u, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], f, [u, x]], [/\b(ns-?\w{0,9}) b/i], [f, [m, "Insignia"], [u, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [f, [m, "NextBook"], [u, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], f, [u, v]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], f, [u, v]], [/\b(ph-1) /i], [f, [m, "Essential"], [u, v]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [f, [m, "Envizen"], [u, x]], [/\b(trio[-\w\. ]+) b/i], [f, [m, "MachSpeed"], [u, x]], [/\btu_(1491) b/i], [f, [m, "Rotor"], [u, x]], [/(shield[\w ]+) b/i], [f, [m, "Nvidia"], [u, x]], [/(sprint) (\w+)/i], [m, f, [u, v]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [m, Y], [u, v]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [f, [m, Ht], [u, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [f, [m, Ht], [u, v]], [/smart-tv.+(samsung)/i], [m, [u, S]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [m, et], [u, S]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, G], [u, S]], [/(apple) ?tv/i], [m, [f, T + " TV"], [u, S]], [/crkey/i], [[f, L + "cast"], [m, fe], [u, S]], [/droid.+aft(\w+)( bui|\))/i], [f, [m, E], [u, S]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [f, [m, Fr], [u, S]], [/(bravia[\w ]+)( bui|\))/i], [f, [m, pt], [u, S]], [/(mitv-\w{5}) bui/i], [f, [m, jt], [u, S]], [/Hbbtv.*(technisat) (.*);/i], [m, f, [u, S]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[m, Yt], [f, Yt], [u, S]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[u, S]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, f, [u, g]], [/droid.+; (shield) bui/i], [f, [m, "Nvidia"], [u, g]], [/(playstation [345portablevi]+)/i], [f, [m, pt], [u, g]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [f, [m, Y], [u, g]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [f, [m, et], [u, C]], [/((pebble))app/i], [m, f, [u, C]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [f, [m, T], [u, C]], [/droid.+; (glass) \d/i], [f, [m, fe], [u, C]], [/droid.+; (wt63?0{2,3})\)/i], [f, [m, Ht], [u, C]], [/(quest( \d| pro)?)/i], [f, [m, zr], [u, C]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [u, k]], [/(aeobc)\b/i], [f, [m, E], [u, k]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [f, [u, v]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [f, [u, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[u, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[u, v]], [/(android[-\w\. ]{0,9});.+buil/i], [f, [m, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [p, R + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [p, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [p, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, p]], os: [[/microsoft (windows) (vista|xp)/i], [p, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [p, [w, ht, Gr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, ht, Gr], [p, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [p, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[p, Rr], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, p], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [p, w], [/\(bb(10);/i], [w, [p, A]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [p, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [p, X + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [p, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [p, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [p, L + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[p, Vr], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [p, w], [/(sunos) ?([\w\.\d]*)/i], [[p, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [p, w]] }, ce = function(W, $) {
|
|
1882
|
+
if (typeof W === d && ($ = W, W = n), !(this instanceof ce))
|
|
1883
|
+
return new ce(W, $).getResult();
|
|
1884
|
+
var z = typeof t !== s && t.navigator ? t.navigator : n, q = W || (z && z.userAgent ? z.userAgent : a), Se = z && z.userAgentData ? z.userAgentData : n, he = $ ? Aa($r, $) : $r, j = z && z.userAgent == q;
|
|
1885
|
+
return this.getBrowser = function() {
|
|
1886
|
+
var F = {};
|
|
1887
|
+
return F[p] = n, F[w] = n, tt.call(F, q, he.browser), F[h] = ka(F[w]), j && z && z.brave && typeof z.brave.isBrave == o && (F[p] = "Brave"), F;
|
|
1888
|
+
}, this.getCPU = function() {
|
|
1889
|
+
var F = {};
|
|
1890
|
+
return F[y] = n, tt.call(F, q, he.cpu), F;
|
|
1891
|
+
}, this.getDevice = function() {
|
|
1892
|
+
var F = {};
|
|
1893
|
+
return F[m] = n, F[f] = n, F[u] = n, tt.call(F, q, he.device), j && !F[u] && Se && Se.mobile && (F[u] = v), j && F[f] == "Macintosh" && z && typeof z.standalone !== s && z.maxTouchPoints && z.maxTouchPoints > 2 && (F[f] = "iPad", F[u] = x), F;
|
|
1894
|
+
}, this.getEngine = function() {
|
|
1895
|
+
var F = {};
|
|
1896
|
+
return F[p] = n, F[w] = n, tt.call(F, q, he.engine), F;
|
|
1897
|
+
}, this.getOS = function() {
|
|
1898
|
+
var F = {};
|
|
1899
|
+
return F[p] = n, F[w] = n, tt.call(F, q, he.os), j && !F[p] && Se && Se.platform && Se.platform != "Unknown" && (F[p] = Se.platform.replace(/chrome os/i, Vr).replace(/macos/i, Rr)), F;
|
|
1900
|
+
}, this.getResult = function() {
|
|
1901
|
+
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
1902
|
+
}, this.getUA = function() {
|
|
1903
|
+
return q;
|
|
1904
|
+
}, this.setUA = function(F) {
|
|
1905
|
+
return q = typeof F === c && F.length > N ? Yt(F, N) : F, this;
|
|
1906
|
+
}, this.setUA(q), this;
|
|
1907
|
+
};
|
|
1908
|
+
ce.VERSION = i, ce.BROWSER = mt([p, w, h]), ce.CPU = mt([y]), ce.DEVICE = mt([f, m, u, g, v, S, x, C, k]), ce.ENGINE = ce.OS = mt([p, w]), r.exports && (e = r.exports = ce), e.UAParser = ce;
|
|
1909
|
+
var je = typeof t !== s && (t.jQuery || t.Zepto);
|
|
1910
|
+
if (je && !je.ua) {
|
|
1911
|
+
var gt = new ce();
|
|
1912
|
+
je.ua = gt.getResult(), je.ua.get = function() {
|
|
1913
|
+
return gt.getUA();
|
|
1914
|
+
}, je.ua.set = function(W) {
|
|
1915
|
+
gt.setUA(W);
|
|
1916
|
+
var $ = gt.getResult();
|
|
1917
|
+
for (var z in $)
|
|
1918
|
+
je.ua[z] = $[z];
|
|
1919
|
+
};
|
|
1879
1920
|
}
|
|
1880
|
-
);
|
|
1921
|
+
})(typeof window == "object" ? window : Uo);
|
|
1922
|
+
})(sr, sr.exports);
|
|
1923
|
+
var Xo = sr.exports;
|
|
1924
|
+
Object.defineProperty(I, "__esModule", { value: !0 });
|
|
1925
|
+
function Qo(r) {
|
|
1926
|
+
return r && typeof r == "object" && "default" in r ? r.default : r;
|
|
1881
1927
|
}
|
|
1882
|
-
|
|
1883
|
-
return
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
)
|
|
1893
|
-
|
|
1928
|
+
var te = V, U = Qo(te), Qn = Xo, Ae = new Qn(), re = Ae.getBrowser(), Ko = Ae.getCPU(), se = Ae.getDevice(), Mr = Ae.getEngine(), ke = Ae.getOS(), ut = Ae.getUA(), Kn = function(e) {
|
|
1929
|
+
return Ae.setUA(e);
|
|
1930
|
+
}, ft = function(e) {
|
|
1931
|
+
if (!e) {
|
|
1932
|
+
console.error("No userAgent string was provided");
|
|
1933
|
+
return;
|
|
1934
|
+
}
|
|
1935
|
+
var t = new Qn(e);
|
|
1936
|
+
return {
|
|
1937
|
+
UA: t,
|
|
1938
|
+
browser: t.getBrowser(),
|
|
1939
|
+
cpu: t.getCPU(),
|
|
1940
|
+
device: t.getDevice(),
|
|
1941
|
+
engine: t.getEngine(),
|
|
1942
|
+
os: t.getOS(),
|
|
1943
|
+
ua: t.getUA(),
|
|
1944
|
+
setUserAgent: function(i) {
|
|
1945
|
+
return t.setUA(i);
|
|
1946
|
+
}
|
|
1947
|
+
};
|
|
1948
|
+
}, Zn = /* @__PURE__ */ Object.freeze({
|
|
1949
|
+
ClientUAInstance: Ae,
|
|
1950
|
+
browser: re,
|
|
1951
|
+
cpu: Ko,
|
|
1952
|
+
device: se,
|
|
1953
|
+
engine: Mr,
|
|
1954
|
+
os: ke,
|
|
1955
|
+
ua: ut,
|
|
1956
|
+
setUa: Kn,
|
|
1957
|
+
parseUserAgent: ft
|
|
1958
|
+
});
|
|
1959
|
+
function Jr(r, e) {
|
|
1960
|
+
var t = Object.keys(r);
|
|
1961
|
+
if (Object.getOwnPropertySymbols) {
|
|
1962
|
+
var n = Object.getOwnPropertySymbols(r);
|
|
1963
|
+
e && (n = n.filter(function(i) {
|
|
1964
|
+
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
1965
|
+
})), t.push.apply(t, n);
|
|
1966
|
+
}
|
|
1967
|
+
return t;
|
|
1894
1968
|
}
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
tag: o,
|
|
1904
|
-
isLoading: s = !1,
|
|
1905
|
-
className: d
|
|
1906
|
-
}) => /* @__PURE__ */ _(
|
|
1907
|
-
s ? K : be,
|
|
1908
|
-
{
|
|
1909
|
-
title: e,
|
|
1910
|
-
type: "background",
|
|
1911
|
-
className: Q(
|
|
1912
|
-
"xs:h-full relative z-10 box-border h-[154px] w-full max-w-[720px] cursor-pointer overflow-hidden rounded-xl bg-white p-4 md:h-[174px] md:max-w-[592px] md:p-5 lg:h-[174px] lg:p-6 xl:h-[174px]",
|
|
1913
|
-
s ? "" : "border border-grey-200",
|
|
1914
|
-
d
|
|
1915
|
-
),
|
|
1916
|
-
children: [
|
|
1917
|
-
/* @__PURE__ */ b(
|
|
1918
|
-
ze,
|
|
1919
|
-
{
|
|
1920
|
-
variant: "ad",
|
|
1921
|
-
style: {
|
|
1922
|
-
background: ue.premiumCard.background,
|
|
1923
|
-
color: ue.premiumCard.color
|
|
1924
|
-
},
|
|
1925
|
-
className: Q(s && "h-7 w-28 animate-pulse"),
|
|
1926
|
-
children: s ? "" : o
|
|
1927
|
-
}
|
|
1928
|
-
),
|
|
1929
|
-
s ? /* @__PURE__ */ b(Xo, {}) : /* @__PURE__ */ b(
|
|
1930
|
-
Uo,
|
|
1931
|
-
{
|
|
1932
|
-
logo: r,
|
|
1933
|
-
brandName: l,
|
|
1934
|
-
batchTitle: i,
|
|
1935
|
-
batchName: a,
|
|
1936
|
-
subtitle: t,
|
|
1937
|
-
thumbnail: n
|
|
1938
|
-
}
|
|
1939
|
-
)
|
|
1940
|
-
]
|
|
1941
|
-
}
|
|
1942
|
-
), Uo = ({
|
|
1943
|
-
logo: r,
|
|
1944
|
-
brandName: e,
|
|
1945
|
-
batchTitle: t,
|
|
1946
|
-
batchName: n,
|
|
1947
|
-
subtitle: i,
|
|
1948
|
-
thumbnail: a
|
|
1949
|
-
}) => /* @__PURE__ */ _(ee.Col, { className: "h-full justify-center gap-2", children: [
|
|
1950
|
-
/* @__PURE__ */ b(lt, { src: r, alt: `${e} 로고`, className: "h-4 object-contain" }),
|
|
1951
|
-
/* @__PURE__ */ _(ee.Row, { className: "w-full items-start justify-between gap-6", children: [
|
|
1952
|
-
/* @__PURE__ */ _(ee.Col, { className: "flex h-full grow flex-col justify-between gap-2 pb-2", children: [
|
|
1953
|
-
/* @__PURE__ */ _(
|
|
1954
|
-
"h3",
|
|
1955
|
-
{
|
|
1956
|
-
className: "line-clamp-2 h-auto text-sm font-normal md:h-12 md:text-base",
|
|
1957
|
-
title: `${e} ${t} ${n}`,
|
|
1958
|
-
children: [
|
|
1959
|
-
t,
|
|
1960
|
-
" ",
|
|
1961
|
-
n
|
|
1962
|
-
]
|
|
1963
|
-
}
|
|
1964
|
-
),
|
|
1965
|
-
/* @__PURE__ */ b(
|
|
1966
|
-
"h4",
|
|
1967
|
-
{
|
|
1968
|
-
className: "line-clamp-2 max-h-[56px] w-full break-keep rounded bg-grey-100 px-2 py-1 text-[13px] font-semibold text-grey-600 md:text-[15px] md:text-grey-800",
|
|
1969
|
-
title: i,
|
|
1970
|
-
children: i
|
|
1971
|
-
}
|
|
1972
|
-
)
|
|
1973
|
-
] }),
|
|
1974
|
-
/* @__PURE__ */ b(
|
|
1975
|
-
lt,
|
|
1976
|
-
{
|
|
1977
|
-
src: a,
|
|
1978
|
-
alt: `${t} 썸네일`,
|
|
1979
|
-
className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-xl border border-grey-200 object-cover md:h-[96px] md:w-[96px]"
|
|
1980
|
-
}
|
|
1981
|
-
)
|
|
1982
|
-
] })
|
|
1983
|
-
] }), Xo = () => /* @__PURE__ */ _(ee.Col, { className: "h-full justify-center gap-2", children: [
|
|
1984
|
-
/* @__PURE__ */ b(K, { className: "h-4 w-1/2" }),
|
|
1985
|
-
/* @__PURE__ */ _(ee.Row, { className: "w-full items-start justify-between gap-6", children: [
|
|
1986
|
-
/* @__PURE__ */ _(ee.Col, { className: "flex h-full w-full flex-col justify-between gap-2 pb-2", children: [
|
|
1987
|
-
/* @__PURE__ */ b(K, { className: "h-5 w-4/5 lg:h-12" }),
|
|
1988
|
-
/* @__PURE__ */ b(K, { className: "h-5 w-4/5" })
|
|
1989
|
-
] }),
|
|
1990
|
-
/* @__PURE__ */ b(K, { className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-xl md:h-[96px] md:w-[96px]" })
|
|
1991
|
-
] })
|
|
1992
|
-
] }), Yu = ({
|
|
1993
|
-
tags: r,
|
|
1994
|
-
coverImage: e,
|
|
1995
|
-
brandName: t,
|
|
1996
|
-
title: n,
|
|
1997
|
-
batchName: i = "",
|
|
1998
|
-
titleTagType: a,
|
|
1999
|
-
adTitle: l,
|
|
2000
|
-
changedAspect: o = "aspect-[8/5]",
|
|
2001
|
-
isLoading: s = !1,
|
|
2002
|
-
className: d
|
|
2003
|
-
}) => s ? /* @__PURE__ */ b(Qo, { changedAspect: o, className: d, titleTagType: a }) : /* @__PURE__ */ _(
|
|
2004
|
-
ee.Col,
|
|
2005
|
-
{
|
|
2006
|
-
className: Q(
|
|
2007
|
-
"shadow-base h-full w-full shrink-0 cursor-pointer overflow-hidden rounded-xl border border-grey-700 bg-white transition-all",
|
|
2008
|
-
d
|
|
2009
|
-
),
|
|
2010
|
-
children: [
|
|
2011
|
-
/* @__PURE__ */ _(
|
|
2012
|
-
be,
|
|
2013
|
-
{
|
|
2014
|
-
style: {
|
|
2015
|
-
background: "linear-gradient(0deg, rgba(24, 25, 25, 0.00) 17.43%, #181919 91.02%)"
|
|
2016
|
-
},
|
|
2017
|
-
className: `relative flex ${o} w-full flex-col items-center justify-center overflow-hidden`,
|
|
2018
|
-
children: [
|
|
2019
|
-
/* @__PURE__ */ b(
|
|
2020
|
-
lt,
|
|
2021
|
-
{
|
|
2022
|
-
src: e,
|
|
2023
|
-
alt: `${t} ${n} ${i} 이미지`,
|
|
2024
|
-
className: "h-full w-full object-cover"
|
|
2025
|
-
}
|
|
2026
|
-
),
|
|
2027
|
-
a && /* @__PURE__ */ b(
|
|
2028
|
-
ze,
|
|
2029
|
-
{
|
|
2030
|
-
variant: "ad",
|
|
2031
|
-
style: {
|
|
2032
|
-
background: ue.titleTag.background,
|
|
2033
|
-
color: ue.titleTag.color
|
|
2034
|
-
},
|
|
2035
|
-
children: a
|
|
2036
|
-
}
|
|
2037
|
-
),
|
|
2038
|
-
l && /* @__PURE__ */ _(Dt, { children: [
|
|
2039
|
-
/* @__PURE__ */ b(be, { className: "absolute left-4 top-4 z-10 w-36 whitespace-pre-wrap break-keep text-[18px] font-semibold text-white md:left-5 md:top-7", children: l }),
|
|
2040
|
-
/* @__PURE__ */ b(
|
|
2041
|
-
be,
|
|
2042
|
-
{
|
|
2043
|
-
className: "absolute inset-0 opacity-50",
|
|
2044
|
-
style: {
|
|
2045
|
-
background: "linear-gradient(270deg, rgba(24, 25, 25, 0.00) 17.43%, #181919 91.02%)"
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
)
|
|
2049
|
-
] })
|
|
2050
|
-
]
|
|
2051
|
-
}
|
|
2052
|
-
),
|
|
2053
|
-
/* @__PURE__ */ _(ee.Col, { className: "w-full justify-between gap-2 p-4 text-grey-800 md:p-5 lg:p-6", children: [
|
|
2054
|
-
/* @__PURE__ */ _("h4", { className: "flex flex-col gap-2", title: `${t} ${n} ${i}`, children: [
|
|
2055
|
-
/* @__PURE__ */ b("p", { className: "text-sm", children: t }),
|
|
2056
|
-
/* @__PURE__ */ b("p", { className: "truncate3 break-keep text-base font-semibold", children: `${n} ${i}` })
|
|
2057
|
-
] }),
|
|
2058
|
-
r && /* @__PURE__ */ b("ul", { className: "flex w-full max-w-full flex-wrap gap-1", children: r.map((c, h) => {
|
|
2059
|
-
var p;
|
|
2060
|
-
const f = Object.values(Ja).find(
|
|
2061
|
-
(u) => u.tags.some((m) => m.value === c)
|
|
2062
|
-
);
|
|
2063
|
-
return f && /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
2064
|
-
ze,
|
|
2065
|
-
{
|
|
2066
|
-
size: "sm",
|
|
2067
|
-
style: {
|
|
2068
|
-
background: f.background,
|
|
2069
|
-
color: f.color
|
|
2070
|
-
},
|
|
2071
|
-
children: (p = f.tags.find((u) => u.value === c)) == null ? void 0 : p.text
|
|
2072
|
-
}
|
|
2073
|
-
) }, h);
|
|
2074
|
-
}) })
|
|
2075
|
-
] })
|
|
2076
|
-
]
|
|
2077
|
-
}
|
|
2078
|
-
), Qo = ({
|
|
2079
|
-
changedAspect: r,
|
|
2080
|
-
className: e,
|
|
2081
|
-
titleTagType: t
|
|
2082
|
-
}) => /* @__PURE__ */ _(
|
|
2083
|
-
K,
|
|
2084
|
-
{
|
|
2085
|
-
type: "background",
|
|
2086
|
-
className: Q(
|
|
2087
|
-
"relative h-full w-full shrink-0 cursor-pointer overflow-hidden rounded-xl bg-grey-50 transition-all",
|
|
2088
|
-
e
|
|
2089
|
-
),
|
|
2090
|
-
children: [
|
|
2091
|
-
t && /* @__PURE__ */ b(
|
|
2092
|
-
ze,
|
|
2093
|
-
{
|
|
2094
|
-
variant: "ad",
|
|
2095
|
-
style: {
|
|
2096
|
-
background: ue.titleTag.background,
|
|
2097
|
-
color: ue.titleTag.color
|
|
2098
|
-
},
|
|
2099
|
-
className: Q(
|
|
2100
|
-
"h-7 w-28 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"
|
|
2101
|
-
),
|
|
2102
|
-
children: ""
|
|
2103
|
-
}
|
|
2104
|
-
),
|
|
2105
|
-
/* @__PURE__ */ b(
|
|
2106
|
-
be,
|
|
2107
|
-
{
|
|
2108
|
-
style: {
|
|
2109
|
-
background: "linear-gradient(270deg, rgba(24, 25, 25, 0.00) 17.43%, #181919 91.02%)"
|
|
2110
|
-
},
|
|
2111
|
-
className: `relative flex ${r} w-full`,
|
|
2112
|
-
children: /* @__PURE__ */ b(K, { className: "h-full w-full", type: "background" })
|
|
2113
|
-
}
|
|
2114
|
-
),
|
|
2115
|
-
/* @__PURE__ */ _(ee.Col, { className: "w-full justify-between gap-2 p-4", children: [
|
|
2116
|
-
/* @__PURE__ */ _(ee.Col, { className: "relative w-full gap-2", children: [
|
|
2117
|
-
/* @__PURE__ */ b(K, { className: "h-5 w-1/2", type: "text" }),
|
|
2118
|
-
/* @__PURE__ */ b(K, { className: "h-12 w-full", type: "text" })
|
|
2119
|
-
] }),
|
|
2120
|
-
/* @__PURE__ */ _(ee.Row, { className: "w-full gap-1", children: [
|
|
2121
|
-
/* @__PURE__ */ b(K, { className: "h-5 w-1/4", type: "text" }),
|
|
2122
|
-
/* @__PURE__ */ b(K, { className: "h-5 w-2/5", type: "text" }),
|
|
2123
|
-
/* @__PURE__ */ b(K, { className: "h-5 w-1/4", type: "text" })
|
|
2124
|
-
] })
|
|
2125
|
-
] })
|
|
2126
|
-
]
|
|
2127
|
-
}
|
|
2128
|
-
);
|
|
2129
|
-
var Ko = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, I = {}, sr = { exports: {} };
|
|
2130
|
-
(function(r, e) {
|
|
2131
|
-
(function(t, n) {
|
|
2132
|
-
var i = "1.0.39", a = "", l = "?", o = "function", s = "undefined", d = "object", c = "string", h = "major", f = "model", p = "name", u = "type", m = "vendor", w = "version", y = "architecture", g = "console", v = "mobile", x = "tablet", T = "smarttv", C = "wearable", N = "embedded", A = 500, E = "Amazon", S = "Apple", M = "ASUS", k = "BlackBerry", P = "Browser", L = "Chrome", R = "Edge", X = "Firefox", fe = "Google", B = "Huawei", G = "LG", Y = "Microsoft", pe = "Motorola", me = "Opera", et = "Samsung", Fr = "Sharp", pt = "Sony", jt = "Xiaomi", Ht = "Zebra", zr = "Facebook", Vr = "Chromium OS", Rr = "Mac OS", Br = " Browser", ka = function(W, $) {
|
|
2133
|
-
var z = {};
|
|
2134
|
-
for (var q in W)
|
|
2135
|
-
$[q] && $[q].length % 2 === 0 ? z[q] = $[q].concat(W[q]) : z[q] = W[q];
|
|
2136
|
-
return z;
|
|
2137
|
-
}, mt = function(W) {
|
|
2138
|
-
for (var $ = {}, z = 0; z < W.length; z++)
|
|
2139
|
-
$[W[z].toUpperCase()] = W[z];
|
|
2140
|
-
return $;
|
|
2141
|
-
}, Wr = function(W, $) {
|
|
2142
|
-
return typeof W === c ? $e($).indexOf($e(W)) !== -1 : !1;
|
|
2143
|
-
}, $e = function(W) {
|
|
2144
|
-
return W.toLowerCase();
|
|
2145
|
-
}, Na = function(W) {
|
|
2146
|
-
return typeof W === c ? W.replace(/[^\d\.]/g, a).split(".")[0] : n;
|
|
2147
|
-
}, Yt = function(W, $) {
|
|
2148
|
-
if (typeof W === c)
|
|
2149
|
-
return W = W.replace(/^\s\s*/, a), typeof $ === s ? W : W.substring(0, A);
|
|
2150
|
-
}, tt = function(W, $) {
|
|
2151
|
-
for (var z = 0, q, Te, he, j, F, ge; z < $.length && !F; ) {
|
|
2152
|
-
var qt = $[z], jr = $[z + 1];
|
|
2153
|
-
for (q = Te = 0; q < qt.length && !F && qt[q]; )
|
|
2154
|
-
if (F = qt[q++].exec(W), F)
|
|
2155
|
-
for (he = 0; he < jr.length; he++)
|
|
2156
|
-
ge = F[++Te], j = jr[he], typeof j === d && j.length > 0 ? j.length === 2 ? typeof j[1] == o ? this[j[0]] = j[1].call(this, ge) : this[j[0]] = j[1] : j.length === 3 ? typeof j[1] === o && !(j[1].exec && j[1].test) ? this[j[0]] = ge ? j[1].call(this, ge, j[2]) : n : this[j[0]] = ge ? ge.replace(j[1], j[2]) : n : j.length === 4 && (this[j[0]] = ge ? j[3].call(this, ge.replace(j[1], j[2])) : n) : this[j] = ge || n;
|
|
2157
|
-
z += 2;
|
|
2158
|
-
}
|
|
2159
|
-
}, ht = function(W, $) {
|
|
2160
|
-
for (var z in $)
|
|
2161
|
-
if (typeof $[z] === d && $[z].length > 0) {
|
|
2162
|
-
for (var q = 0; q < $[z].length; q++)
|
|
2163
|
-
if (Wr($[z][q], W))
|
|
2164
|
-
return z === l ? n : z;
|
|
2165
|
-
} else if (Wr($[z], W))
|
|
2166
|
-
return z === l ? n : z;
|
|
2167
|
-
return $.hasOwnProperty("*") ? $["*"] : W;
|
|
2168
|
-
}, La = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Gr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $r = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [p, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [p, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [p, w], [/opios[\/ ]+([\w\.]+)/i], [w, [p, me + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [p, me + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [p, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [p, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [p, w], [/quark(?:pc)?\/([-\w\.]+)/i], [w, [p, "Quark"]], [/\bddg\/([\w\.]+)/i], [w, [p, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [p, "UC" + P]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [p, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [p, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [p, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [p, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [p, "Smart Lenovo " + P]], [/(avast|avg)\/([\w\.]+)/i], [[p, /(.+)/, "$1 Secure " + P], w], [/\bfocus\/([\w\.]+)/i], [w, [p, X + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [p, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [p, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [p, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [p, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [p, "MIUI " + P]], [/fxios\/([-\w\.]+)/i], [w, [p, X]], [/\bqihu|(qi?ho?o?|360)browser/i], [[p, "360" + Br]], [/\b(qq)\/([\w\.]+)/i], [[p, /(.+)/, "$1Browser"], w], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[p, /(.+)/, "$1" + Br], w], [/samsungbrowser\/([\w\.]+)/i], [w, [p, et + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[p, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [p, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[p, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [p, w], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [p], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[p, zr], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [p, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [p, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [p, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [p, L + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[p, L + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [p, "Android " + P]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [p, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [p, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, p], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [p, [w, ht, La]], [/(webkit|khtml)\/([\w\.]+)/i], [p, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[p, "Netscape"], w], [/(wolvic)\/([\w\.]+)/i], [p, w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [p, X + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [p, [w, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [p, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, $e]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, a, $e]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, $e]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [f, [m, et], [u, x]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [f, [m, et], [u, v]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [f, [m, S], [u, v]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [f, [m, S], [u, x]], [/(macintosh);/i], [f, [m, S]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [f, [m, Fr], [u, v]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [f, [m, B], [u, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [f, [m, B], [u, v]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[f, /_/g, " "], [m, jt], [u, v]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[f, /_/g, " "], [m, jt], [u, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [f, [m, "OPPO"], [u, v]], [/\b(opd2\d{3}a?) bui/i], [f, [m, "OPPO"], [u, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [f, [m, "Vivo"], [u, v]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [f, [m, "Realme"], [u, v]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [f, [m, pe], [u, v]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [f, [m, pe], [u, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [f, [m, G], [u, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [f, [m, G], [u, v]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [f, [m, "Lenovo"], [u, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[f, /_/g, " "], [m, "Nokia"], [u, v]], [/(pixel c)\b/i], [f, [m, fe], [u, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [f, [m, fe], [u, v]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [f, [m, pt], [u, v]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[f, "Xperia Tablet"], [m, pt], [u, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [f, [m, "OnePlus"], [u, v]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [f, [m, E], [u, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[f, /(.+)/g, "Fire Phone $1"], [m, E], [u, v]], [/(playbook);[-\w\),; ]+(rim)/i], [f, m, [u, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [f, [m, k], [u, v]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [f, [m, M], [u, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [f, [m, M], [u, v]], [/(nexus 9)/i], [f, [m, "HTC"], [u, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [m, [f, /_/g, " "], [u, v]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [f, [m, "TCL"], [u, x]], [/(itel) ((\w+))/i], [[m, $e], f, [u, ht, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [f, [m, "Acer"], [u, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [f, [m, "Meizu"], [u, v]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [f, [m, "Ulefone"], [u, v]], [/droid.+; (a(?:015|06[35]|142p?))/i], [f, [m, "Nothing"], [u, v]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [m, f, [u, v]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [m, f, [u, x]], [/(surface duo)/i], [f, [m, Y], [u, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [f, [m, "Fairphone"], [u, v]], [/(u304aa)/i], [f, [m, "AT&T"], [u, v]], [/\bsie-(\w*)/i], [f, [m, "Siemens"], [u, v]], [/\b(rct\w+) b/i], [f, [m, "RCA"], [u, x]], [/\b(venue[\d ]{2,7}) b/i], [f, [m, "Dell"], [u, x]], [/\b(q(?:mv|ta)\w+) b/i], [f, [m, "Verizon"], [u, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [f, [m, "Barnes & Noble"], [u, x]], [/\b(tm\d{3}\w+) b/i], [f, [m, "NuVision"], [u, x]], [/\b(k88) b/i], [f, [m, "ZTE"], [u, x]], [/\b(nx\d{3}j) b/i], [f, [m, "ZTE"], [u, v]], [/\b(gen\d{3}) b.+49h/i], [f, [m, "Swiss"], [u, v]], [/\b(zur\d{3}) b/i], [f, [m, "Swiss"], [u, x]], [/\b((zeki)?tb.*\b) b/i], [f, [m, "Zeki"], [u, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[m, "Dragon Touch"], f, [u, x]], [/\b(ns-?\w{0,9}) b/i], [f, [m, "Insignia"], [u, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [f, [m, "NextBook"], [u, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[m, "Voice"], f, [u, v]], [/\b(lvtel\-)?(v1[12]) b/i], [[m, "LvTel"], f, [u, v]], [/\b(ph-1) /i], [f, [m, "Essential"], [u, v]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [f, [m, "Envizen"], [u, x]], [/\b(trio[-\w\. ]+) b/i], [f, [m, "MachSpeed"], [u, x]], [/\btu_(1491) b/i], [f, [m, "Rotor"], [u, x]], [/(shield[\w ]+) b/i], [f, [m, "Nvidia"], [u, x]], [/(sprint) (\w+)/i], [m, f, [u, v]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [m, Y], [u, v]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [f, [m, Ht], [u, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [f, [m, Ht], [u, v]], [/smart-tv.+(samsung)/i], [m, [u, T]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [m, et], [u, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[m, G], [u, T]], [/(apple) ?tv/i], [m, [f, S + " TV"], [u, T]], [/crkey/i], [[f, L + "cast"], [m, fe], [u, T]], [/droid.+aft(\w+)( bui|\))/i], [f, [m, E], [u, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [f, [m, Fr], [u, T]], [/(bravia[\w ]+)( bui|\))/i], [f, [m, pt], [u, T]], [/(mitv-\w{5}) bui/i], [f, [m, jt], [u, T]], [/Hbbtv.*(technisat) (.*);/i], [m, f, [u, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[m, Yt], [f, Yt], [u, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[u, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [m, f, [u, g]], [/droid.+; (shield) bui/i], [f, [m, "Nvidia"], [u, g]], [/(playstation [345portablevi]+)/i], [f, [m, pt], [u, g]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [f, [m, Y], [u, g]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [f, [m, et], [u, C]], [/((pebble))app/i], [m, f, [u, C]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [f, [m, S], [u, C]], [/droid.+; (glass) \d/i], [f, [m, fe], [u, C]], [/droid.+; (wt63?0{2,3})\)/i], [f, [m, Ht], [u, C]], [/(quest( \d| pro)?)/i], [f, [m, zr], [u, C]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [m, [u, N]], [/(aeobc)\b/i], [f, [m, E], [u, N]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [f, [u, v]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [f, [u, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[u, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[u, v]], [/(android[-\w\. ]{0,9});.+buil/i], [f, [m, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [p, R + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [p, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [p, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, p]], os: [[/microsoft (windows) (vista|xp)/i], [p, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [p, [w, ht, Gr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, ht, Gr], [p, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [p, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[p, Rr], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, p], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [p, w], [/\(bb(10);/i], [w, [p, k]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [p, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [p, X + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [p, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [p, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [p, L + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[p, Vr], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [p, w], [/(sunos) ?([\w\.\d]*)/i], [[p, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [p, w]] }, ce = function(W, $) {
|
|
2169
|
-
if (typeof W === d && ($ = W, W = n), !(this instanceof ce))
|
|
2170
|
-
return new ce(W, $).getResult();
|
|
2171
|
-
var z = typeof t !== s && t.navigator ? t.navigator : n, q = W || (z && z.userAgent ? z.userAgent : a), Te = z && z.userAgentData ? z.userAgentData : n, he = $ ? ka($r, $) : $r, j = z && z.userAgent == q;
|
|
2172
|
-
return this.getBrowser = function() {
|
|
2173
|
-
var F = {};
|
|
2174
|
-
return F[p] = n, F[w] = n, tt.call(F, q, he.browser), F[h] = Na(F[w]), j && z && z.brave && typeof z.brave.isBrave == o && (F[p] = "Brave"), F;
|
|
2175
|
-
}, this.getCPU = function() {
|
|
2176
|
-
var F = {};
|
|
2177
|
-
return F[y] = n, tt.call(F, q, he.cpu), F;
|
|
2178
|
-
}, this.getDevice = function() {
|
|
2179
|
-
var F = {};
|
|
2180
|
-
return F[m] = n, F[f] = n, F[u] = n, tt.call(F, q, he.device), j && !F[u] && Te && Te.mobile && (F[u] = v), j && F[f] == "Macintosh" && z && typeof z.standalone !== s && z.maxTouchPoints && z.maxTouchPoints > 2 && (F[f] = "iPad", F[u] = x), F;
|
|
2181
|
-
}, this.getEngine = function() {
|
|
2182
|
-
var F = {};
|
|
2183
|
-
return F[p] = n, F[w] = n, tt.call(F, q, he.engine), F;
|
|
2184
|
-
}, this.getOS = function() {
|
|
2185
|
-
var F = {};
|
|
2186
|
-
return F[p] = n, F[w] = n, tt.call(F, q, he.os), j && !F[p] && Te && Te.platform && Te.platform != "Unknown" && (F[p] = Te.platform.replace(/chrome os/i, Vr).replace(/macos/i, Rr)), F;
|
|
2187
|
-
}, this.getResult = function() {
|
|
2188
|
-
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
2189
|
-
}, this.getUA = function() {
|
|
2190
|
-
return q;
|
|
2191
|
-
}, this.setUA = function(F) {
|
|
2192
|
-
return q = typeof F === c && F.length > A ? Yt(F, A) : F, this;
|
|
2193
|
-
}, this.setUA(q), this;
|
|
2194
|
-
};
|
|
2195
|
-
ce.VERSION = i, ce.BROWSER = mt([p, w, h]), ce.CPU = mt([y]), ce.DEVICE = mt([f, m, u, g, v, T, x, C, N]), ce.ENGINE = ce.OS = mt([p, w]), r.exports && (e = r.exports = ce), e.UAParser = ce;
|
|
2196
|
-
var je = typeof t !== s && (t.jQuery || t.Zepto);
|
|
2197
|
-
if (je && !je.ua) {
|
|
2198
|
-
var gt = new ce();
|
|
2199
|
-
je.ua = gt.getResult(), je.ua.get = function() {
|
|
2200
|
-
return gt.getUA();
|
|
2201
|
-
}, je.ua.set = function(W) {
|
|
2202
|
-
gt.setUA(W);
|
|
2203
|
-
var $ = gt.getResult();
|
|
2204
|
-
for (var z in $)
|
|
2205
|
-
je.ua[z] = $[z];
|
|
2206
|
-
};
|
|
2207
|
-
}
|
|
2208
|
-
})(typeof window == "object" ? window : Ko);
|
|
2209
|
-
})(sr, sr.exports);
|
|
2210
|
-
var Zo = sr.exports;
|
|
2211
|
-
Object.defineProperty(I, "__esModule", { value: !0 });
|
|
2212
|
-
function Jo(r) {
|
|
2213
|
-
return r && typeof r == "object" && "default" in r ? r.default : r;
|
|
2214
|
-
}
|
|
2215
|
-
var te = V, U = Jo(te), Qn = Zo, ke = new Qn(), re = ke.getBrowser(), el = ke.getCPU(), se = ke.getDevice(), Mr = ke.getEngine(), Ne = ke.getOS(), ut = ke.getUA(), Kn = function(e) {
|
|
2216
|
-
return ke.setUA(e);
|
|
2217
|
-
}, ft = function(e) {
|
|
2218
|
-
if (!e) {
|
|
2219
|
-
console.error("No userAgent string was provided");
|
|
2220
|
-
return;
|
|
2221
|
-
}
|
|
2222
|
-
var t = new Qn(e);
|
|
2223
|
-
return {
|
|
2224
|
-
UA: t,
|
|
2225
|
-
browser: t.getBrowser(),
|
|
2226
|
-
cpu: t.getCPU(),
|
|
2227
|
-
device: t.getDevice(),
|
|
2228
|
-
engine: t.getEngine(),
|
|
2229
|
-
os: t.getOS(),
|
|
2230
|
-
ua: t.getUA(),
|
|
2231
|
-
setUserAgent: function(i) {
|
|
2232
|
-
return t.setUA(i);
|
|
2233
|
-
}
|
|
2234
|
-
};
|
|
2235
|
-
}, Zn = /* @__PURE__ */ Object.freeze({
|
|
2236
|
-
ClientUAInstance: ke,
|
|
2237
|
-
browser: re,
|
|
2238
|
-
cpu: el,
|
|
2239
|
-
device: se,
|
|
2240
|
-
engine: Mr,
|
|
2241
|
-
os: Ne,
|
|
2242
|
-
ua: ut,
|
|
2243
|
-
setUa: Kn,
|
|
2244
|
-
parseUserAgent: ft
|
|
2245
|
-
});
|
|
2246
|
-
function Jr(r, e) {
|
|
2247
|
-
var t = Object.keys(r);
|
|
2248
|
-
if (Object.getOwnPropertySymbols) {
|
|
2249
|
-
var n = Object.getOwnPropertySymbols(r);
|
|
2250
|
-
e && (n = n.filter(function(i) {
|
|
2251
|
-
return Object.getOwnPropertyDescriptor(r, i).enumerable;
|
|
2252
|
-
})), t.push.apply(t, n);
|
|
2253
|
-
}
|
|
2254
|
-
return t;
|
|
2255
|
-
}
|
|
2256
|
-
function tl(r) {
|
|
2257
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
2258
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
|
2259
|
-
e % 2 ? Jr(Object(t), !0).forEach(function(n) {
|
|
2260
|
-
al(r, n, t[n]);
|
|
2261
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : Jr(Object(t)).forEach(function(n) {
|
|
2262
|
-
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
|
|
2263
|
-
});
|
|
1969
|
+
function Zo(r) {
|
|
1970
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
1971
|
+
var t = arguments[e] != null ? arguments[e] : {};
|
|
1972
|
+
e % 2 ? Jr(Object(t), !0).forEach(function(n) {
|
|
1973
|
+
rl(r, n, t[n]);
|
|
1974
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : Jr(Object(t)).forEach(function(n) {
|
|
1975
|
+
Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
|
|
1976
|
+
});
|
|
2264
1977
|
}
|
|
2265
1978
|
return r;
|
|
2266
1979
|
}
|
|
2267
|
-
function
|
|
1980
|
+
function ot(r) {
|
|
2268
1981
|
"@babel/helpers - typeof";
|
|
2269
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
1982
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ot = function(e) {
|
|
2270
1983
|
return typeof e;
|
|
2271
|
-
} :
|
|
1984
|
+
} : ot = function(e) {
|
|
2272
1985
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
2273
|
-
},
|
|
1986
|
+
}, ot(r);
|
|
2274
1987
|
}
|
|
2275
|
-
function
|
|
1988
|
+
function Jo(r, e) {
|
|
2276
1989
|
if (!(r instanceof e))
|
|
2277
1990
|
throw new TypeError("Cannot call a class as a function");
|
|
2278
1991
|
}
|
|
2279
|
-
function
|
|
1992
|
+
function el(r, e) {
|
|
2280
1993
|
for (var t = 0; t < e.length; t++) {
|
|
2281
1994
|
var n = e[t];
|
|
2282
1995
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, n.key, n);
|
|
2283
1996
|
}
|
|
2284
1997
|
}
|
|
2285
|
-
function
|
|
2286
|
-
return e &&
|
|
1998
|
+
function tl(r, e, t) {
|
|
1999
|
+
return e && el(r.prototype, e), r;
|
|
2287
2000
|
}
|
|
2288
|
-
function
|
|
2001
|
+
function rl(r, e, t) {
|
|
2289
2002
|
return e in r ? Object.defineProperty(r, e, {
|
|
2290
2003
|
value: t,
|
|
2291
2004
|
enumerable: !0,
|
|
@@ -2303,7 +2016,7 @@ function or() {
|
|
|
2303
2016
|
return r;
|
|
2304
2017
|
}, or.apply(this, arguments);
|
|
2305
2018
|
}
|
|
2306
|
-
function
|
|
2019
|
+
function nl(r, e) {
|
|
2307
2020
|
if (typeof e != "function" && e !== null)
|
|
2308
2021
|
throw new TypeError("Super expression must either be null or a function");
|
|
2309
2022
|
r.prototype = Object.create(e && e.prototype, {
|
|
@@ -2324,7 +2037,7 @@ function cr(r, e) {
|
|
|
2324
2037
|
return n.__proto__ = i, n;
|
|
2325
2038
|
}, cr(r, e);
|
|
2326
2039
|
}
|
|
2327
|
-
function
|
|
2040
|
+
function il(r, e) {
|
|
2328
2041
|
if (r == null) return {};
|
|
2329
2042
|
var t = {}, n = Object.keys(r), i, a;
|
|
2330
2043
|
for (a = 0; a < n.length; a++)
|
|
@@ -2333,7 +2046,7 @@ function ol(r, e) {
|
|
|
2333
2046
|
}
|
|
2334
2047
|
function le(r, e) {
|
|
2335
2048
|
if (r == null) return {};
|
|
2336
|
-
var t =
|
|
2049
|
+
var t = il(r, e), n, i;
|
|
2337
2050
|
if (Object.getOwnPropertySymbols) {
|
|
2338
2051
|
var a = Object.getOwnPropertySymbols(r);
|
|
2339
2052
|
for (i = 0; i < a.length; i++)
|
|
@@ -2341,25 +2054,25 @@ function le(r, e) {
|
|
|
2341
2054
|
}
|
|
2342
2055
|
return t;
|
|
2343
2056
|
}
|
|
2344
|
-
function
|
|
2057
|
+
function yt(r) {
|
|
2345
2058
|
if (r === void 0)
|
|
2346
2059
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2347
2060
|
return r;
|
|
2348
2061
|
}
|
|
2349
|
-
function
|
|
2062
|
+
function al(r, e) {
|
|
2350
2063
|
if (e && (typeof e == "object" || typeof e == "function"))
|
|
2351
2064
|
return e;
|
|
2352
2065
|
if (e !== void 0)
|
|
2353
2066
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
2354
|
-
return
|
|
2067
|
+
return yt(r);
|
|
2355
2068
|
}
|
|
2356
|
-
function
|
|
2357
|
-
return
|
|
2069
|
+
function sl(r, e) {
|
|
2070
|
+
return ol(r) || ll(r, e) || cl(r, e) || dl();
|
|
2358
2071
|
}
|
|
2359
|
-
function
|
|
2072
|
+
function ol(r) {
|
|
2360
2073
|
if (Array.isArray(r)) return r;
|
|
2361
2074
|
}
|
|
2362
|
-
function
|
|
2075
|
+
function ll(r, e) {
|
|
2363
2076
|
var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
2364
2077
|
if (t != null) {
|
|
2365
2078
|
var n = [], i = !0, a = !1, l, o;
|
|
@@ -2378,7 +2091,7 @@ function ul(r, e) {
|
|
|
2378
2091
|
return n;
|
|
2379
2092
|
}
|
|
2380
2093
|
}
|
|
2381
|
-
function
|
|
2094
|
+
function cl(r, e) {
|
|
2382
2095
|
if (r) {
|
|
2383
2096
|
if (typeof r == "string") return en(r, e);
|
|
2384
2097
|
var t = Object.prototype.toString.call(r).slice(8, -1);
|
|
@@ -2391,7 +2104,7 @@ function en(r, e) {
|
|
|
2391
2104
|
for (var t = 0, n = new Array(e); t < e; t++) n[t] = r[t];
|
|
2392
2105
|
return n;
|
|
2393
2106
|
}
|
|
2394
|
-
function
|
|
2107
|
+
function dl() {
|
|
2395
2108
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2396
2109
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2397
2110
|
}
|
|
@@ -2423,14 +2136,14 @@ var J = {
|
|
|
2423
2136
|
WindowsPhone: "Windows Phone",
|
|
2424
2137
|
Windows: "Windows",
|
|
2425
2138
|
MAC_OS: "Mac OS"
|
|
2426
|
-
},
|
|
2139
|
+
}, ul = {
|
|
2427
2140
|
isMobile: !1,
|
|
2428
2141
|
isTablet: !1,
|
|
2429
2142
|
isBrowser: !1,
|
|
2430
2143
|
isSmartTV: !1,
|
|
2431
2144
|
isConsole: !1,
|
|
2432
2145
|
isWearable: !1
|
|
2433
|
-
},
|
|
2146
|
+
}, fl = function(e) {
|
|
2434
2147
|
switch (e) {
|
|
2435
2148
|
case J.Mobile:
|
|
2436
2149
|
return {
|
|
@@ -2461,9 +2174,9 @@ var J = {
|
|
|
2461
2174
|
isEmbedded: !0
|
|
2462
2175
|
};
|
|
2463
2176
|
default:
|
|
2464
|
-
return
|
|
2177
|
+
return ul;
|
|
2465
2178
|
}
|
|
2466
|
-
},
|
|
2179
|
+
}, pl = function(e) {
|
|
2467
2180
|
return Kn(e);
|
|
2468
2181
|
}, D = function(e) {
|
|
2469
2182
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
@@ -2473,7 +2186,7 @@ var J = {
|
|
|
2473
2186
|
}, Ir = function(e) {
|
|
2474
2187
|
var t = Or();
|
|
2475
2188
|
return t && t.platform && (t.platform.indexOf(e) !== -1 || t.platform === "MacIntel" && t.maxTouchPoints > 1 && !window.MSStream);
|
|
2476
|
-
},
|
|
2189
|
+
}, ml = function(e, t, n, i, a) {
|
|
2477
2190
|
return {
|
|
2478
2191
|
isBrowser: e,
|
|
2479
2192
|
browserMajorVersion: D(t.major),
|
|
@@ -2486,14 +2199,14 @@ var J = {
|
|
|
2486
2199
|
userAgent: D(a)
|
|
2487
2200
|
};
|
|
2488
2201
|
}, tn = function(e, t, n, i) {
|
|
2489
|
-
return
|
|
2202
|
+
return Zo({}, e, {
|
|
2490
2203
|
vendor: D(t.vendor),
|
|
2491
2204
|
model: D(t.model),
|
|
2492
2205
|
os: D(n.name),
|
|
2493
2206
|
osVersion: D(n.version),
|
|
2494
2207
|
ua: D(i)
|
|
2495
2208
|
});
|
|
2496
|
-
},
|
|
2209
|
+
}, hl = function(e, t, n, i) {
|
|
2497
2210
|
return {
|
|
2498
2211
|
isSmartTV: e,
|
|
2499
2212
|
engineName: D(t.name),
|
|
@@ -2502,7 +2215,7 @@ var J = {
|
|
|
2502
2215
|
osVersion: D(n.version),
|
|
2503
2216
|
userAgent: D(i)
|
|
2504
2217
|
};
|
|
2505
|
-
},
|
|
2218
|
+
}, gl = function(e, t, n, i) {
|
|
2506
2219
|
return {
|
|
2507
2220
|
isConsole: e,
|
|
2508
2221
|
engineName: D(t.name),
|
|
@@ -2511,7 +2224,7 @@ var J = {
|
|
|
2511
2224
|
osVersion: D(n.version),
|
|
2512
2225
|
userAgent: D(i)
|
|
2513
2226
|
};
|
|
2514
|
-
},
|
|
2227
|
+
}, vl = function(e, t, n, i) {
|
|
2515
2228
|
return {
|
|
2516
2229
|
isWearable: e,
|
|
2517
2230
|
engineName: D(t.name),
|
|
@@ -2520,7 +2233,7 @@ var J = {
|
|
|
2520
2233
|
osVersion: D(n.version),
|
|
2521
2234
|
userAgent: D(i)
|
|
2522
2235
|
};
|
|
2523
|
-
},
|
|
2236
|
+
}, wl = function(e, t, n, i, a) {
|
|
2524
2237
|
return {
|
|
2525
2238
|
isEmbedded: e,
|
|
2526
2239
|
vendor: D(t.vendor),
|
|
@@ -2532,20 +2245,20 @@ var J = {
|
|
|
2532
2245
|
userAgent: D(a)
|
|
2533
2246
|
};
|
|
2534
2247
|
};
|
|
2535
|
-
function
|
|
2536
|
-
var e = r ? ft(r) : Zn, t = e.device, n = e.browser, i = e.engine, a = e.os, l = e.ua, o =
|
|
2248
|
+
function bl(r) {
|
|
2249
|
+
var e = r ? ft(r) : Zn, t = e.device, n = e.browser, i = e.engine, a = e.os, l = e.ua, o = fl(t.type), s = o.isBrowser, d = o.isMobile, c = o.isTablet, h = o.isSmartTV, f = o.isConsole, p = o.isWearable, u = o.isEmbedded;
|
|
2537
2250
|
if (s)
|
|
2538
|
-
return
|
|
2251
|
+
return ml(s, n, i, a, l);
|
|
2539
2252
|
if (h)
|
|
2540
|
-
return
|
|
2253
|
+
return hl(h, i, a, l);
|
|
2541
2254
|
if (f)
|
|
2542
|
-
return
|
|
2255
|
+
return gl(f, i, a, l);
|
|
2543
2256
|
if (d || c)
|
|
2544
2257
|
return tn(o, t, a, l);
|
|
2545
2258
|
if (p)
|
|
2546
|
-
return
|
|
2259
|
+
return vl(p, i, a, l);
|
|
2547
2260
|
if (u)
|
|
2548
|
-
return
|
|
2261
|
+
return wl(u, t, i, a, l);
|
|
2549
2262
|
}
|
|
2550
2263
|
var Jn = function(e) {
|
|
2551
2264
|
var t = e.type;
|
|
@@ -2622,10 +2335,10 @@ var Jn = function(e) {
|
|
|
2622
2335
|
}, xi = function(e) {
|
|
2623
2336
|
var t = e.name;
|
|
2624
2337
|
return t === ne.MobileSafari;
|
|
2625
|
-
},
|
|
2338
|
+
}, Si = function(e) {
|
|
2626
2339
|
var t = e.name;
|
|
2627
2340
|
return t === ne.Opera;
|
|
2628
|
-
},
|
|
2341
|
+
}, Ti = function(e) {
|
|
2629
2342
|
var t = e.name;
|
|
2630
2343
|
return t === ne.InternetExplorer || t === ne.Ie;
|
|
2631
2344
|
}, Ci = function(e) {
|
|
@@ -2646,15 +2359,15 @@ var Jn = function(e) {
|
|
|
2646
2359
|
}, Ii = function(e) {
|
|
2647
2360
|
var t = e.name;
|
|
2648
2361
|
return D(t);
|
|
2649
|
-
},
|
|
2362
|
+
}, Ni = function(e) {
|
|
2650
2363
|
var t = e.version;
|
|
2651
2364
|
return D(t);
|
|
2652
|
-
},
|
|
2365
|
+
}, Ai = function() {
|
|
2653
2366
|
var e = Or(), t = e && e.userAgent && e.userAgent.toLowerCase();
|
|
2654
2367
|
return typeof t == "string" ? /electron/.test(t) : !1;
|
|
2655
2368
|
}, Ye = function(e) {
|
|
2656
2369
|
return typeof e == "string" && e.indexOf("Edg/") !== -1;
|
|
2657
|
-
},
|
|
2370
|
+
}, ki = function() {
|
|
2658
2371
|
var e = Or();
|
|
2659
2372
|
return e && (/iPad|iPhone|iPod/.test(e.platform) || e.platform === "MacIntel" && e.maxTouchPoints > 1) && !window.MSStream;
|
|
2660
2373
|
}, ve = function() {
|
|
@@ -2686,8 +2399,8 @@ function Fi(r) {
|
|
|
2686
2399
|
isChrome: gi(n),
|
|
2687
2400
|
isFirefox: vi(n),
|
|
2688
2401
|
isSafari: yi(n),
|
|
2689
|
-
isOpera:
|
|
2690
|
-
isIE:
|
|
2402
|
+
isOpera: Si(n),
|
|
2403
|
+
isIE: Ti(n),
|
|
2691
2404
|
osVersion: mi(i),
|
|
2692
2405
|
osName: hi(i),
|
|
2693
2406
|
fullBrowserVersion: Pi(n),
|
|
@@ -2696,16 +2409,16 @@ function Fi(r) {
|
|
|
2696
2409
|
mobileVendor: si(t),
|
|
2697
2410
|
mobileModel: oi(t),
|
|
2698
2411
|
engineName: Ii(a),
|
|
2699
|
-
engineVersion:
|
|
2412
|
+
engineVersion: Ni(a),
|
|
2700
2413
|
getUA: _i(l),
|
|
2701
2414
|
isEdge: Mt(n) || Ye(l),
|
|
2702
2415
|
isYandex: bi(n),
|
|
2703
2416
|
deviceType: li(t),
|
|
2704
|
-
isIOS13:
|
|
2417
|
+
isIOS13: ki(),
|
|
2705
2418
|
isIPad13: ve(),
|
|
2706
2419
|
isIPhone13: Li(),
|
|
2707
2420
|
isIPod13: Di(),
|
|
2708
|
-
isElectron:
|
|
2421
|
+
isElectron: Ai(),
|
|
2709
2422
|
isEdgeChromium: Ye(l),
|
|
2710
2423
|
isLegacyEdge: Mt(n) && !Ye(l),
|
|
2711
2424
|
isWindows: di(i),
|
|
@@ -2714,212 +2427,513 @@ function Fi(r) {
|
|
|
2714
2427
|
isSamsungBrowser: Ei(n)
|
|
2715
2428
|
};
|
|
2716
2429
|
}
|
|
2717
|
-
var zi = ri(se), Vi = ii(se), Ri = ni(se),
|
|
2430
|
+
var zi = ri(se), Vi = ii(se), Ri = ni(se), yl = ai(se), xl = xi(re) || ve(), Sl = wi(re), Rt = ti(se) || ve(), Bi = Jn(se), Wi = ei(se) || ve(), Gi = Pt(se), Tl = Pt(se), $i = ci(ke), ji = fi(ke), Hi = pi(ke) || ve(), Cl = gi(re), El = vi(re), Pl = yi(re), Ml = Si(re), Yi = Ti(re), Ol = mi(ke), Il = hi(ke), Nl = Pi(re), Al = Mi(re), kl = Oi(re), Ll = si(se), Dl = oi(se), _l = Ii(Mr), Fl = Ni(Mr), zl = _i(ut), Vl = Mt(re) || Ye(ut), Rl = bi(re), Bl = li(se), Wl = ki(), Gl = ve(), $l = Li(), jl = Di(), Hl = Ai(), Yl = Ye(ut), ql = Mt(re) && !Ye(ut), Ul = di(ke), Xl = ui(ke), Ql = Ci(re), Kl = Ei(re), Zl = function(e) {
|
|
2718
2431
|
if (!e || typeof e != "string") {
|
|
2719
2432
|
console.error("No valid user agent string was provided");
|
|
2720
2433
|
return;
|
|
2721
2434
|
}
|
|
2722
|
-
var t = ft(e), n = t.device, i = t.browser, a = t.os, l = t.engine, o = t.ua;
|
|
2723
|
-
return Fi({
|
|
2724
|
-
device: n,
|
|
2725
|
-
browser: i,
|
|
2726
|
-
os: a,
|
|
2727
|
-
engine: l,
|
|
2728
|
-
ua: o
|
|
2729
|
-
});
|
|
2730
|
-
},
|
|
2731
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2732
|
-
return $i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2733
|
-
},
|
|
2734
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2735
|
-
return Gi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2736
|
-
},
|
|
2737
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2738
|
-
return Yi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2739
|
-
},
|
|
2740
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2741
|
-
return Hi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2742
|
-
},
|
|
2743
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2744
|
-
return Rt ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2745
|
-
},
|
|
2746
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2747
|
-
return Wi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2748
|
-
},
|
|
2749
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2750
|
-
return ji ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2751
|
-
},
|
|
2752
|
-
var t = e.renderWithFragment, n = e.children;
|
|
2753
|
-
e.viewClassName, e.style;
|
|
2754
|
-
var i = le(e, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2755
|
-
return Bi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2756
|
-
},
|
|
2757
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2758
|
-
return zi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2759
|
-
},
|
|
2760
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2761
|
-
return Vi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2762
|
-
},
|
|
2763
|
-
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2764
|
-
return Ri ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2765
|
-
},
|
|
2766
|
-
var t = e.renderWithFragment, n = e.children;
|
|
2767
|
-
e.viewClassName, e.style;
|
|
2768
|
-
var i = e.condition, a = le(e, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2769
|
-
return i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", a, n) : null;
|
|
2770
|
-
};
|
|
2771
|
-
function
|
|
2772
|
-
return /* @__PURE__ */ function(e) {
|
|
2773
|
-
|
|
2774
|
-
function t(n) {
|
|
2775
|
-
var i;
|
|
2776
|
-
return
|
|
2777
|
-
isLandscape: !1,
|
|
2778
|
-
isPortrait: !1
|
|
2779
|
-
}, i;
|
|
2780
|
-
}
|
|
2781
|
-
return
|
|
2782
|
-
key: "handleOrientationChange",
|
|
2783
|
-
value: function() {
|
|
2784
|
-
this.isEventListenerAdded || (this.isEventListenerAdded = !0);
|
|
2785
|
-
var i = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2786
|
-
this.setState({
|
|
2787
|
-
isPortrait: i === 0,
|
|
2788
|
-
isLandscape: i === 90
|
|
2789
|
-
});
|
|
2790
|
-
}
|
|
2791
|
-
}, {
|
|
2792
|
-
key: "onOrientationChange",
|
|
2793
|
-
value: function() {
|
|
2794
|
-
this.handleOrientationChange();
|
|
2795
|
-
}
|
|
2796
|
-
}, {
|
|
2797
|
-
key: "onPageLoad",
|
|
2798
|
-
value: function() {
|
|
2799
|
-
this.handleOrientationChange();
|
|
2800
|
-
}
|
|
2801
|
-
}, {
|
|
2802
|
-
key: "componentDidMount",
|
|
2803
|
-
value: function() {
|
|
2804
|
-
(typeof window > "u" ? "undefined" :
|
|
2805
|
-
}
|
|
2806
|
-
}, {
|
|
2807
|
-
key: "componentWillUnmount",
|
|
2808
|
-
value: function() {
|
|
2809
|
-
window.removeEventListener("resize", this.onOrientationChange, !1);
|
|
2810
|
-
}
|
|
2811
|
-
}, {
|
|
2812
|
-
key: "render",
|
|
2813
|
-
value: function() {
|
|
2814
|
-
return U.createElement(r, or({}, this.props, {
|
|
2815
|
-
isLandscape: this.state.isLandscape,
|
|
2816
|
-
isPortrait: this.state.isPortrait
|
|
2817
|
-
}));
|
|
2818
|
-
}
|
|
2819
|
-
}]), t;
|
|
2820
|
-
}(U.Component);
|
|
2821
|
-
}
|
|
2822
|
-
function
|
|
2823
|
-
var r = te.useState(function() {
|
|
2824
|
-
var a = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2825
|
-
return {
|
|
2826
|
-
isPortrait: a === 0,
|
|
2827
|
-
isLandscape: a === 90,
|
|
2828
|
-
orientation: a === 0 ? "portrait" : "landscape"
|
|
2829
|
-
};
|
|
2830
|
-
}), e =
|
|
2831
|
-
var a = window.innerWidth > window.innerHeight ? 90 : 0, l = {
|
|
2832
|
-
isPortrait: a === 0,
|
|
2833
|
-
isLandscape: a === 90,
|
|
2834
|
-
orientation: a === 0 ? "portrait" : "landscape"
|
|
2835
|
-
};
|
|
2836
|
-
t.orientation !== l.orientation && n(l);
|
|
2837
|
-
}, [t.orientation]);
|
|
2838
|
-
return te.useEffect(function() {
|
|
2839
|
-
return (typeof window > "u" ? "undefined" :
|
|
2840
|
-
window.removeEventListener("resize", i, !1), window.removeEventListener("load", i, !1);
|
|
2841
|
-
};
|
|
2842
|
-
}, [i]), t;
|
|
2843
|
-
}
|
|
2844
|
-
function qi(r) {
|
|
2845
|
-
var e = r || window.navigator.userAgent;
|
|
2846
|
-
return ft(e);
|
|
2847
|
-
}
|
|
2848
|
-
function
|
|
2849
|
-
var e = r || window.navigator.userAgent, t = qi(e), n = Fi(t);
|
|
2850
|
-
return [n, t];
|
|
2851
|
-
}
|
|
2852
|
-
I.AndroidView =
|
|
2853
|
-
I.BrowserTypes = ne;
|
|
2854
|
-
I.BrowserView =
|
|
2855
|
-
I.ConsoleView =
|
|
2856
|
-
I.CustomView =
|
|
2857
|
-
I.IEView =
|
|
2858
|
-
I.IOSView =
|
|
2859
|
-
I.MobileOnlyView =
|
|
2860
|
-
I.MobileView =
|
|
2861
|
-
I.OsTypes = Ze;
|
|
2862
|
-
I.SmartTVView =
|
|
2863
|
-
I.TabletView =
|
|
2864
|
-
I.WearableView =
|
|
2865
|
-
I.WinPhoneView =
|
|
2866
|
-
I.browserName =
|
|
2867
|
-
I.browserVersion =
|
|
2868
|
-
I.deviceDetect =
|
|
2869
|
-
I.deviceType =
|
|
2870
|
-
I.engineName =
|
|
2871
|
-
I.engineVersion =
|
|
2872
|
-
I.fullBrowserVersion =
|
|
2873
|
-
I.getSelectorsByUserAgent =
|
|
2874
|
-
I.getUA =
|
|
2875
|
-
I.isAndroid = $i;
|
|
2876
|
-
I.isBrowser = Gi;
|
|
2877
|
-
I.isChrome =
|
|
2878
|
-
I.isChromium =
|
|
2879
|
-
I.isConsole = Vi;
|
|
2880
|
-
var
|
|
2881
|
-
I.isEdge =
|
|
2882
|
-
I.isEdgeChromium =
|
|
2883
|
-
I.isElectron =
|
|
2884
|
-
I.isEmbedded =
|
|
2885
|
-
I.isFirefox =
|
|
2886
|
-
I.isIE = Yi;
|
|
2887
|
-
I.isIOS = Hi;
|
|
2888
|
-
I.isIOS13 =
|
|
2889
|
-
I.isIPad13 =
|
|
2890
|
-
I.isIPhone13 =
|
|
2891
|
-
I.isIPod13 =
|
|
2892
|
-
I.isLegacyEdge =
|
|
2893
|
-
I.isMIUI =
|
|
2894
|
-
I.isMacOs =
|
|
2895
|
-
var
|
|
2896
|
-
I.isMobileOnly = Bi;
|
|
2897
|
-
I.isMobileSafari =
|
|
2898
|
-
I.isOpera =
|
|
2899
|
-
I.isSafari =
|
|
2900
|
-
I.isSamsungBrowser =
|
|
2901
|
-
I.isSmartTV = zi;
|
|
2902
|
-
I.isTablet = Wi;
|
|
2903
|
-
I.isWearable = Ri;
|
|
2904
|
-
I.isWinPhone = ji;
|
|
2905
|
-
I.isWindows =
|
|
2906
|
-
I.isYandex =
|
|
2907
|
-
I.mobileModel =
|
|
2908
|
-
I.mobileVendor =
|
|
2909
|
-
I.osName =
|
|
2910
|
-
I.osVersion =
|
|
2911
|
-
I.parseUserAgent = ft;
|
|
2912
|
-
I.setUserAgent =
|
|
2913
|
-
I.useDeviceData = qi;
|
|
2914
|
-
I.useDeviceSelectors =
|
|
2915
|
-
I.useMobileOrientation =
|
|
2916
|
-
I.withOrientationChange =
|
|
2435
|
+
var t = ft(e), n = t.device, i = t.browser, a = t.os, l = t.engine, o = t.ua;
|
|
2436
|
+
return Fi({
|
|
2437
|
+
device: n,
|
|
2438
|
+
browser: i,
|
|
2439
|
+
os: a,
|
|
2440
|
+
engine: l,
|
|
2441
|
+
ua: o
|
|
2442
|
+
});
|
|
2443
|
+
}, Jl = function(e) {
|
|
2444
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2445
|
+
return $i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2446
|
+
}, ec = function(e) {
|
|
2447
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2448
|
+
return Gi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2449
|
+
}, tc = function(e) {
|
|
2450
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2451
|
+
return Yi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2452
|
+
}, rc = function(e) {
|
|
2453
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2454
|
+
return Hi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2455
|
+
}, nc = function(e) {
|
|
2456
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2457
|
+
return Rt ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2458
|
+
}, ic = function(e) {
|
|
2459
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2460
|
+
return Wi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2461
|
+
}, ac = function(e) {
|
|
2462
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2463
|
+
return ji ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2464
|
+
}, sc = function(e) {
|
|
2465
|
+
var t = e.renderWithFragment, n = e.children;
|
|
2466
|
+
e.viewClassName, e.style;
|
|
2467
|
+
var i = le(e, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2468
|
+
return Bi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2469
|
+
}, oc = function(e) {
|
|
2470
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2471
|
+
return zi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2472
|
+
}, lc = function(e) {
|
|
2473
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2474
|
+
return Vi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2475
|
+
}, cc = function(e) {
|
|
2476
|
+
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2477
|
+
return Ri ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2478
|
+
}, dc = function(e) {
|
|
2479
|
+
var t = e.renderWithFragment, n = e.children;
|
|
2480
|
+
e.viewClassName, e.style;
|
|
2481
|
+
var i = e.condition, a = le(e, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2482
|
+
return i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", a, n) : null;
|
|
2483
|
+
};
|
|
2484
|
+
function uc(r) {
|
|
2485
|
+
return /* @__PURE__ */ function(e) {
|
|
2486
|
+
nl(t, e);
|
|
2487
|
+
function t(n) {
|
|
2488
|
+
var i;
|
|
2489
|
+
return Jo(this, t), i = al(this, lr(t).call(this, n)), i.isEventListenerAdded = !1, i.handleOrientationChange = i.handleOrientationChange.bind(yt(i)), i.onOrientationChange = i.onOrientationChange.bind(yt(i)), i.onPageLoad = i.onPageLoad.bind(yt(i)), i.state = {
|
|
2490
|
+
isLandscape: !1,
|
|
2491
|
+
isPortrait: !1
|
|
2492
|
+
}, i;
|
|
2493
|
+
}
|
|
2494
|
+
return tl(t, [{
|
|
2495
|
+
key: "handleOrientationChange",
|
|
2496
|
+
value: function() {
|
|
2497
|
+
this.isEventListenerAdded || (this.isEventListenerAdded = !0);
|
|
2498
|
+
var i = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2499
|
+
this.setState({
|
|
2500
|
+
isPortrait: i === 0,
|
|
2501
|
+
isLandscape: i === 90
|
|
2502
|
+
});
|
|
2503
|
+
}
|
|
2504
|
+
}, {
|
|
2505
|
+
key: "onOrientationChange",
|
|
2506
|
+
value: function() {
|
|
2507
|
+
this.handleOrientationChange();
|
|
2508
|
+
}
|
|
2509
|
+
}, {
|
|
2510
|
+
key: "onPageLoad",
|
|
2511
|
+
value: function() {
|
|
2512
|
+
this.handleOrientationChange();
|
|
2513
|
+
}
|
|
2514
|
+
}, {
|
|
2515
|
+
key: "componentDidMount",
|
|
2516
|
+
value: function() {
|
|
2517
|
+
(typeof window > "u" ? "undefined" : ot(window)) !== void 0 && Rt && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
|
|
2518
|
+
}
|
|
2519
|
+
}, {
|
|
2520
|
+
key: "componentWillUnmount",
|
|
2521
|
+
value: function() {
|
|
2522
|
+
window.removeEventListener("resize", this.onOrientationChange, !1);
|
|
2523
|
+
}
|
|
2524
|
+
}, {
|
|
2525
|
+
key: "render",
|
|
2526
|
+
value: function() {
|
|
2527
|
+
return U.createElement(r, or({}, this.props, {
|
|
2528
|
+
isLandscape: this.state.isLandscape,
|
|
2529
|
+
isPortrait: this.state.isPortrait
|
|
2530
|
+
}));
|
|
2531
|
+
}
|
|
2532
|
+
}]), t;
|
|
2533
|
+
}(U.Component);
|
|
2534
|
+
}
|
|
2535
|
+
function fc() {
|
|
2536
|
+
var r = te.useState(function() {
|
|
2537
|
+
var a = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2538
|
+
return {
|
|
2539
|
+
isPortrait: a === 0,
|
|
2540
|
+
isLandscape: a === 90,
|
|
2541
|
+
orientation: a === 0 ? "portrait" : "landscape"
|
|
2542
|
+
};
|
|
2543
|
+
}), e = sl(r, 2), t = e[0], n = e[1], i = te.useCallback(function() {
|
|
2544
|
+
var a = window.innerWidth > window.innerHeight ? 90 : 0, l = {
|
|
2545
|
+
isPortrait: a === 0,
|
|
2546
|
+
isLandscape: a === 90,
|
|
2547
|
+
orientation: a === 0 ? "portrait" : "landscape"
|
|
2548
|
+
};
|
|
2549
|
+
t.orientation !== l.orientation && n(l);
|
|
2550
|
+
}, [t.orientation]);
|
|
2551
|
+
return te.useEffect(function() {
|
|
2552
|
+
return (typeof window > "u" ? "undefined" : ot(window)) !== void 0 && Rt && (i(), window.addEventListener("load", i, !1), window.addEventListener("resize", i, !1)), function() {
|
|
2553
|
+
window.removeEventListener("resize", i, !1), window.removeEventListener("load", i, !1);
|
|
2554
|
+
};
|
|
2555
|
+
}, [i]), t;
|
|
2556
|
+
}
|
|
2557
|
+
function qi(r) {
|
|
2558
|
+
var e = r || window.navigator.userAgent;
|
|
2559
|
+
return ft(e);
|
|
2560
|
+
}
|
|
2561
|
+
function pc(r) {
|
|
2562
|
+
var e = r || window.navigator.userAgent, t = qi(e), n = Fi(t);
|
|
2563
|
+
return [n, t];
|
|
2564
|
+
}
|
|
2565
|
+
I.AndroidView = Jl;
|
|
2566
|
+
I.BrowserTypes = ne;
|
|
2567
|
+
I.BrowserView = ec;
|
|
2568
|
+
I.ConsoleView = lc;
|
|
2569
|
+
I.CustomView = dc;
|
|
2570
|
+
I.IEView = tc;
|
|
2571
|
+
I.IOSView = rc;
|
|
2572
|
+
I.MobileOnlyView = sc;
|
|
2573
|
+
I.MobileView = nc;
|
|
2574
|
+
I.OsTypes = Ze;
|
|
2575
|
+
I.SmartTVView = oc;
|
|
2576
|
+
I.TabletView = ic;
|
|
2577
|
+
I.WearableView = cc;
|
|
2578
|
+
I.WinPhoneView = ac;
|
|
2579
|
+
I.browserName = kl;
|
|
2580
|
+
I.browserVersion = Al;
|
|
2581
|
+
I.deviceDetect = bl;
|
|
2582
|
+
I.deviceType = Bl;
|
|
2583
|
+
I.engineName = _l;
|
|
2584
|
+
I.engineVersion = Fl;
|
|
2585
|
+
I.fullBrowserVersion = Nl;
|
|
2586
|
+
I.getSelectorsByUserAgent = Zl;
|
|
2587
|
+
I.getUA = zl;
|
|
2588
|
+
I.isAndroid = $i;
|
|
2589
|
+
I.isBrowser = Gi;
|
|
2590
|
+
I.isChrome = Cl;
|
|
2591
|
+
I.isChromium = Sl;
|
|
2592
|
+
I.isConsole = Vi;
|
|
2593
|
+
var mc = I.isDesktop = Tl;
|
|
2594
|
+
I.isEdge = Vl;
|
|
2595
|
+
I.isEdgeChromium = Yl;
|
|
2596
|
+
I.isElectron = Hl;
|
|
2597
|
+
I.isEmbedded = yl;
|
|
2598
|
+
I.isFirefox = El;
|
|
2599
|
+
I.isIE = Yi;
|
|
2600
|
+
I.isIOS = Hi;
|
|
2601
|
+
I.isIOS13 = Wl;
|
|
2602
|
+
I.isIPad13 = Gl;
|
|
2603
|
+
I.isIPhone13 = $l;
|
|
2604
|
+
I.isIPod13 = jl;
|
|
2605
|
+
I.isLegacyEdge = ql;
|
|
2606
|
+
I.isMIUI = Ql;
|
|
2607
|
+
I.isMacOs = Xl;
|
|
2608
|
+
var st = I.isMobile = Rt;
|
|
2609
|
+
I.isMobileOnly = Bi;
|
|
2610
|
+
I.isMobileSafari = xl;
|
|
2611
|
+
I.isOpera = Ml;
|
|
2612
|
+
I.isSafari = Pl;
|
|
2613
|
+
I.isSamsungBrowser = Kl;
|
|
2614
|
+
I.isSmartTV = zi;
|
|
2615
|
+
I.isTablet = Wi;
|
|
2616
|
+
I.isWearable = Ri;
|
|
2617
|
+
I.isWinPhone = ji;
|
|
2618
|
+
I.isWindows = Ul;
|
|
2619
|
+
I.isYandex = Rl;
|
|
2620
|
+
I.mobileModel = Dl;
|
|
2621
|
+
I.mobileVendor = Ll;
|
|
2622
|
+
I.osName = Il;
|
|
2623
|
+
I.osVersion = Ol;
|
|
2624
|
+
I.parseUserAgent = ft;
|
|
2625
|
+
I.setUserAgent = pl;
|
|
2626
|
+
I.useDeviceData = qi;
|
|
2627
|
+
I.useDeviceSelectors = pc;
|
|
2628
|
+
I.useMobileOrientation = fc;
|
|
2629
|
+
I.withOrientationChange = uc;
|
|
2630
|
+
function Hu({
|
|
2631
|
+
adKey: r,
|
|
2632
|
+
filename: e,
|
|
2633
|
+
title: t,
|
|
2634
|
+
backgroundColor: n,
|
|
2635
|
+
hideButton: i = !1,
|
|
2636
|
+
buttonColors: a,
|
|
2637
|
+
linkType: l = "homepage",
|
|
2638
|
+
isLoading: o = !1,
|
|
2639
|
+
className: s
|
|
2640
|
+
}) {
|
|
2641
|
+
var p;
|
|
2642
|
+
const d = r && e, c = `https://cdn.sayun.studio/boottent/images/banners/${r}/${e}`, h = {
|
|
2643
|
+
background: a ? a.button : Ut.button,
|
|
2644
|
+
color: a ? a.buttonText : Ut.buttonText,
|
|
2645
|
+
border: a ? a.button : Ut.button
|
|
2646
|
+
};
|
|
2647
|
+
return /* @__PURE__ */ b(
|
|
2648
|
+
o ? K : be,
|
|
2649
|
+
{
|
|
2650
|
+
style: {
|
|
2651
|
+
backgroundColor: o ? void 0 : n
|
|
2652
|
+
},
|
|
2653
|
+
type: o ? "background" : void 0,
|
|
2654
|
+
className: Q(
|
|
2655
|
+
"relative h-40 w-full overflow-hidden md:h-[200px]",
|
|
2656
|
+
o ? "bg-white" : "border-y border-y-grey-200",
|
|
2657
|
+
s
|
|
2658
|
+
),
|
|
2659
|
+
children: o ? /* @__PURE__ */ b(hc, {}) : /* @__PURE__ */ b(Dt, { children: /* @__PURE__ */ _(ee.Row, { className: "absolute inset-0 mx-auto h-full w-full max-w-screen-xl px-0 pb-6 pt-0 md:h-auto md:px-6 md:pb-0 md:pt-10 lg:px-10 lg:pt-6", children: [
|
|
2660
|
+
d ? /* @__PURE__ */ b("div", { className: "mx-auto flex h-full w-full items-center md:items-start", children: /* @__PURE__ */ b(
|
|
2661
|
+
"img",
|
|
2662
|
+
{
|
|
2663
|
+
loading: "lazy",
|
|
2664
|
+
src: c,
|
|
2665
|
+
alt: `${t} 이미지`,
|
|
2666
|
+
className: "h-auto max-h-[136px] w-full object-contain md:max-h-40 lg:max-h-[176px]"
|
|
2667
|
+
}
|
|
2668
|
+
) }) : /* @__PURE__ */ b(be, { className: "h-full w-full bg-grey-100 text-muted", children: t }),
|
|
2669
|
+
!i && /* @__PURE__ */ b(be, { className: "absolute inset-0 mx-auto max-w-screen-xl px-4 md:px-6 lg:px-10", children: /* @__PURE__ */ b(
|
|
2670
|
+
Ue,
|
|
2671
|
+
{
|
|
2672
|
+
style: h,
|
|
2673
|
+
theme: "etc",
|
|
2674
|
+
variant: "solid",
|
|
2675
|
+
size: st ? "sm" : "md",
|
|
2676
|
+
className: "absolute bottom-4 right-4 h-9 w-24 md:bottom-6 md:right-6 md:h-11 md:w-32 lg:bottom-4 lg:right-10",
|
|
2677
|
+
children: ((p = qo[l]) == null ? void 0 : p.label) + " →" || "홈페이지 →"
|
|
2678
|
+
}
|
|
2679
|
+
) })
|
|
2680
|
+
] }) })
|
|
2681
|
+
}
|
|
2682
|
+
);
|
|
2683
|
+
}
|
|
2684
|
+
function hc() {
|
|
2685
|
+
return /* @__PURE__ */ _(ee.Col, { className: "mx-auto flex h-full w-full max-w-screen-xl items-start gap-5 px-4 pt-4 md:px-6 md:pt-0 lg:px-10", children: [
|
|
2686
|
+
/* @__PURE__ */ b(K, { type: "text", className: "h-6 w-4/5 rounded-xl md:h-10" }),
|
|
2687
|
+
/* @__PURE__ */ b(K, { type: "text", className: "h-10 w-1/2 rounded-xl md:h-16 lg:w-3/5" }),
|
|
2688
|
+
/* @__PURE__ */ b(
|
|
2689
|
+
K,
|
|
2690
|
+
{
|
|
2691
|
+
type: "text",
|
|
2692
|
+
className: "absolute bottom-4 right-4 aspect-[3/1] w-[120px] shrink-0 md:right-6 md:w-[140px] lg:right-10"
|
|
2693
|
+
}
|
|
2694
|
+
)
|
|
2695
|
+
] });
|
|
2696
|
+
}
|
|
2697
|
+
const Yu = ({
|
|
2698
|
+
logo: r,
|
|
2699
|
+
title: e,
|
|
2700
|
+
subtitle: t,
|
|
2701
|
+
thumbnail: n,
|
|
2702
|
+
batchTitle: i,
|
|
2703
|
+
batchName: a = "",
|
|
2704
|
+
brandName: l,
|
|
2705
|
+
tag: o,
|
|
2706
|
+
isLoading: s = !1,
|
|
2707
|
+
className: d
|
|
2708
|
+
}) => /* @__PURE__ */ _(
|
|
2709
|
+
s ? K : be,
|
|
2710
|
+
{
|
|
2711
|
+
title: e,
|
|
2712
|
+
type: "background",
|
|
2713
|
+
className: Q(
|
|
2714
|
+
"xs:h-full relative z-10 box-border h-[154px] w-full max-w-[720px] cursor-pointer overflow-hidden rounded-xl bg-white p-4 md:h-[174px] md:max-w-[592px] md:p-5 lg:h-[174px] lg:p-6 xl:h-[174px]",
|
|
2715
|
+
s ? "" : "border border-grey-200",
|
|
2716
|
+
d
|
|
2717
|
+
),
|
|
2718
|
+
children: [
|
|
2719
|
+
/* @__PURE__ */ b(
|
|
2720
|
+
ze,
|
|
2721
|
+
{
|
|
2722
|
+
variant: "ad",
|
|
2723
|
+
style: {
|
|
2724
|
+
background: ue.premiumCard.background,
|
|
2725
|
+
color: ue.premiumCard.color
|
|
2726
|
+
},
|
|
2727
|
+
className: Q(s && "h-7 w-28 animate-pulse"),
|
|
2728
|
+
children: s ? "" : o
|
|
2729
|
+
}
|
|
2730
|
+
),
|
|
2731
|
+
s ? /* @__PURE__ */ b(vc, {}) : /* @__PURE__ */ b(
|
|
2732
|
+
gc,
|
|
2733
|
+
{
|
|
2734
|
+
logo: r,
|
|
2735
|
+
brandName: l,
|
|
2736
|
+
batchTitle: i,
|
|
2737
|
+
batchName: a,
|
|
2738
|
+
subtitle: t,
|
|
2739
|
+
thumbnail: n
|
|
2740
|
+
}
|
|
2741
|
+
)
|
|
2742
|
+
]
|
|
2743
|
+
}
|
|
2744
|
+
), gc = ({
|
|
2745
|
+
logo: r,
|
|
2746
|
+
brandName: e,
|
|
2747
|
+
batchTitle: t,
|
|
2748
|
+
batchName: n,
|
|
2749
|
+
subtitle: i,
|
|
2750
|
+
thumbnail: a
|
|
2751
|
+
}) => /* @__PURE__ */ _(ee.Col, { className: "h-full justify-center gap-2", children: [
|
|
2752
|
+
/* @__PURE__ */ b(Ct, { src: r, alt: `${e} 로고`, className: "h-4 object-contain" }),
|
|
2753
|
+
/* @__PURE__ */ _(ee.Row, { className: "w-full items-start justify-between gap-6", children: [
|
|
2754
|
+
/* @__PURE__ */ _(ee.Col, { className: "flex h-full grow flex-col justify-between gap-2 pb-2", children: [
|
|
2755
|
+
/* @__PURE__ */ _(
|
|
2756
|
+
"h3",
|
|
2757
|
+
{
|
|
2758
|
+
className: "line-clamp-2 h-auto text-sm font-normal md:h-12 md:text-base",
|
|
2759
|
+
title: `${e} ${t} ${n}`,
|
|
2760
|
+
children: [
|
|
2761
|
+
t,
|
|
2762
|
+
" ",
|
|
2763
|
+
n
|
|
2764
|
+
]
|
|
2765
|
+
}
|
|
2766
|
+
),
|
|
2767
|
+
/* @__PURE__ */ b(
|
|
2768
|
+
"h4",
|
|
2769
|
+
{
|
|
2770
|
+
className: "line-clamp-2 max-h-[56px] w-full break-keep rounded bg-grey-100 px-2 py-1 text-[13px] font-semibold text-grey-600 md:text-[15px] md:text-grey-800",
|
|
2771
|
+
title: i,
|
|
2772
|
+
children: i
|
|
2773
|
+
}
|
|
2774
|
+
)
|
|
2775
|
+
] }),
|
|
2776
|
+
/* @__PURE__ */ b(
|
|
2777
|
+
Ct,
|
|
2778
|
+
{
|
|
2779
|
+
src: a,
|
|
2780
|
+
alt: `${t} 썸네일`,
|
|
2781
|
+
className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-xl border border-grey-200 object-cover md:h-[96px] md:w-[96px]"
|
|
2782
|
+
}
|
|
2783
|
+
)
|
|
2784
|
+
] })
|
|
2785
|
+
] }), vc = () => /* @__PURE__ */ _(ee.Col, { className: "h-full justify-center gap-2", children: [
|
|
2786
|
+
/* @__PURE__ */ b(K, { className: "h-4 w-1/2" }),
|
|
2787
|
+
/* @__PURE__ */ _(ee.Row, { className: "w-full items-start justify-between gap-6", children: [
|
|
2788
|
+
/* @__PURE__ */ _(ee.Col, { className: "flex h-full w-full flex-col justify-between gap-2 pb-2", children: [
|
|
2789
|
+
/* @__PURE__ */ b(K, { className: "h-5 w-4/5 lg:h-12" }),
|
|
2790
|
+
/* @__PURE__ */ b(K, { className: "h-5 w-4/5" })
|
|
2791
|
+
] }),
|
|
2792
|
+
/* @__PURE__ */ b(K, { className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-xl md:h-[96px] md:w-[96px]" })
|
|
2793
|
+
] })
|
|
2794
|
+
] }), qu = ({
|
|
2795
|
+
tags: r,
|
|
2796
|
+
coverImage: e,
|
|
2797
|
+
brandName: t,
|
|
2798
|
+
title: n,
|
|
2799
|
+
batchName: i = "",
|
|
2800
|
+
titleTagType: a,
|
|
2801
|
+
adTitle: l,
|
|
2802
|
+
changedAspect: o = "aspect-[8/5]",
|
|
2803
|
+
isLoading: s = !1,
|
|
2804
|
+
className: d
|
|
2805
|
+
}) => s ? /* @__PURE__ */ b(wc, { changedAspect: o, className: d, titleTagType: a }) : /* @__PURE__ */ _(
|
|
2806
|
+
ee.Col,
|
|
2807
|
+
{
|
|
2808
|
+
className: Q(
|
|
2809
|
+
"shadow-base h-full w-full shrink-0 cursor-pointer overflow-hidden rounded-xl border border-grey-700 bg-white transition-all",
|
|
2810
|
+
d
|
|
2811
|
+
),
|
|
2812
|
+
children: [
|
|
2813
|
+
/* @__PURE__ */ _(
|
|
2814
|
+
be,
|
|
2815
|
+
{
|
|
2816
|
+
style: {
|
|
2817
|
+
background: "linear-gradient(0deg, rgba(24, 25, 25, 0.00) 17.43%, #181919 91.02%)"
|
|
2818
|
+
},
|
|
2819
|
+
className: `relative flex ${o} w-full flex-col items-center justify-center overflow-hidden`,
|
|
2820
|
+
children: [
|
|
2821
|
+
/* @__PURE__ */ b(
|
|
2822
|
+
Ct,
|
|
2823
|
+
{
|
|
2824
|
+
src: e,
|
|
2825
|
+
alt: `${t} ${n} ${i} 이미지`,
|
|
2826
|
+
className: "h-full w-full object-cover"
|
|
2827
|
+
}
|
|
2828
|
+
),
|
|
2829
|
+
a && /* @__PURE__ */ b(
|
|
2830
|
+
ze,
|
|
2831
|
+
{
|
|
2832
|
+
variant: "ad",
|
|
2833
|
+
style: {
|
|
2834
|
+
background: ue.titleTag.background,
|
|
2835
|
+
color: ue.titleTag.color
|
|
2836
|
+
},
|
|
2837
|
+
children: a
|
|
2838
|
+
}
|
|
2839
|
+
),
|
|
2840
|
+
l && /* @__PURE__ */ _(Dt, { children: [
|
|
2841
|
+
/* @__PURE__ */ b(be, { className: "absolute left-4 top-4 z-10 w-36 whitespace-pre-wrap break-keep text-[18px] font-semibold text-white md:left-5 md:top-7", children: l }),
|
|
2842
|
+
/* @__PURE__ */ b(
|
|
2843
|
+
be,
|
|
2844
|
+
{
|
|
2845
|
+
className: "absolute inset-0 opacity-50",
|
|
2846
|
+
style: {
|
|
2847
|
+
background: "linear-gradient(270deg, rgba(24, 25, 25, 0.00) 17.43%, #181919 91.02%)"
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
)
|
|
2851
|
+
] })
|
|
2852
|
+
]
|
|
2853
|
+
}
|
|
2854
|
+
),
|
|
2855
|
+
/* @__PURE__ */ _(ee.Col, { className: "w-full justify-between gap-2 p-4 text-grey-800 md:p-5 lg:p-6", children: [
|
|
2856
|
+
/* @__PURE__ */ _("h4", { className: "flex flex-col gap-2", title: `${t} ${n} ${i}`, children: [
|
|
2857
|
+
/* @__PURE__ */ b("p", { className: "text-sm", children: t }),
|
|
2858
|
+
/* @__PURE__ */ b("p", { className: "truncate3 break-keep text-base font-semibold", children: `${n} ${i}` })
|
|
2859
|
+
] }),
|
|
2860
|
+
r && /* @__PURE__ */ b("ul", { className: "flex w-full max-w-full flex-wrap gap-1", children: r.map((c, h) => {
|
|
2861
|
+
var p;
|
|
2862
|
+
const f = Object.values(Ja).find(
|
|
2863
|
+
(u) => u.tags.some((m) => m.value === c)
|
|
2864
|
+
);
|
|
2865
|
+
return f && /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
2866
|
+
ze,
|
|
2867
|
+
{
|
|
2868
|
+
size: "sm",
|
|
2869
|
+
style: {
|
|
2870
|
+
background: f.background,
|
|
2871
|
+
color: f.color
|
|
2872
|
+
},
|
|
2873
|
+
children: (p = f.tags.find((u) => u.value === c)) == null ? void 0 : p.text
|
|
2874
|
+
}
|
|
2875
|
+
) }, h);
|
|
2876
|
+
}) })
|
|
2877
|
+
] })
|
|
2878
|
+
]
|
|
2879
|
+
}
|
|
2880
|
+
), wc = ({
|
|
2881
|
+
changedAspect: r,
|
|
2882
|
+
className: e,
|
|
2883
|
+
titleTagType: t
|
|
2884
|
+
}) => /* @__PURE__ */ _(
|
|
2885
|
+
K,
|
|
2886
|
+
{
|
|
2887
|
+
type: "background",
|
|
2888
|
+
className: Q(
|
|
2889
|
+
"relative h-full w-full shrink-0 cursor-pointer overflow-hidden rounded-xl bg-grey-50 transition-all",
|
|
2890
|
+
e
|
|
2891
|
+
),
|
|
2892
|
+
children: [
|
|
2893
|
+
t && /* @__PURE__ */ b(
|
|
2894
|
+
ze,
|
|
2895
|
+
{
|
|
2896
|
+
variant: "ad",
|
|
2897
|
+
style: {
|
|
2898
|
+
background: ue.titleTag.background,
|
|
2899
|
+
color: ue.titleTag.color
|
|
2900
|
+
},
|
|
2901
|
+
className: Q(
|
|
2902
|
+
"h-7 w-28 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"
|
|
2903
|
+
),
|
|
2904
|
+
children: ""
|
|
2905
|
+
}
|
|
2906
|
+
),
|
|
2907
|
+
/* @__PURE__ */ b(
|
|
2908
|
+
be,
|
|
2909
|
+
{
|
|
2910
|
+
style: {
|
|
2911
|
+
background: "linear-gradient(270deg, rgba(24, 25, 25, 0.00) 17.43%, #181919 91.02%)"
|
|
2912
|
+
},
|
|
2913
|
+
className: `relative flex ${r} w-full`,
|
|
2914
|
+
children: /* @__PURE__ */ b(K, { className: "h-full w-full", type: "background" })
|
|
2915
|
+
}
|
|
2916
|
+
),
|
|
2917
|
+
/* @__PURE__ */ _(ee.Col, { className: "w-full justify-between gap-2 p-4", children: [
|
|
2918
|
+
/* @__PURE__ */ _(ee.Col, { className: "relative w-full gap-2", children: [
|
|
2919
|
+
/* @__PURE__ */ b(K, { className: "h-5 w-1/2", type: "text" }),
|
|
2920
|
+
/* @__PURE__ */ b(K, { className: "h-12 w-full", type: "text" })
|
|
2921
|
+
] }),
|
|
2922
|
+
/* @__PURE__ */ _(ee.Row, { className: "w-full gap-1", children: [
|
|
2923
|
+
/* @__PURE__ */ b(K, { className: "h-5 w-1/4", type: "text" }),
|
|
2924
|
+
/* @__PURE__ */ b(K, { className: "h-5 w-2/5", type: "text" }),
|
|
2925
|
+
/* @__PURE__ */ b(K, { className: "h-5 w-1/4", type: "text" })
|
|
2926
|
+
] })
|
|
2927
|
+
] })
|
|
2928
|
+
]
|
|
2929
|
+
}
|
|
2930
|
+
);
|
|
2917
2931
|
function rn(r) {
|
|
2918
2932
|
return r !== null && typeof r == "object" && "constructor" in r && r.constructor === Object;
|
|
2919
2933
|
}
|
|
2920
|
-
function
|
|
2934
|
+
function Nr(r, e) {
|
|
2921
2935
|
r === void 0 && (r = {}), e === void 0 && (e = {}), Object.keys(e).forEach((t) => {
|
|
2922
|
-
typeof r[t] > "u" ? r[t] = e[t] : rn(e[t]) && rn(r[t]) && Object.keys(e[t]).length > 0 &&
|
|
2936
|
+
typeof r[t] > "u" ? r[t] = e[t] : rn(e[t]) && rn(r[t]) && Object.keys(e[t]).length > 0 && Nr(r[t], e[t]);
|
|
2923
2937
|
});
|
|
2924
2938
|
}
|
|
2925
2939
|
const Ui = {
|
|
@@ -2979,9 +2993,9 @@ const Ui = {
|
|
|
2979
2993
|
};
|
|
2980
2994
|
function Ee() {
|
|
2981
2995
|
const r = typeof document < "u" ? document : {};
|
|
2982
|
-
return
|
|
2996
|
+
return Nr(r, Ui), r;
|
|
2983
2997
|
}
|
|
2984
|
-
const
|
|
2998
|
+
const bc = {
|
|
2985
2999
|
document: Ui,
|
|
2986
3000
|
navigator: {
|
|
2987
3001
|
userAgent: ""
|
|
@@ -3041,12 +3055,12 @@ const wc = {
|
|
|
3041
3055
|
};
|
|
3042
3056
|
function oe() {
|
|
3043
3057
|
const r = typeof window < "u" ? window : {};
|
|
3044
|
-
return
|
|
3058
|
+
return Nr(r, bc), r;
|
|
3045
3059
|
}
|
|
3046
|
-
function
|
|
3060
|
+
function yc(r) {
|
|
3047
3061
|
return r === void 0 && (r = ""), r.trim().split(" ").filter((e) => !!e.trim());
|
|
3048
3062
|
}
|
|
3049
|
-
function
|
|
3063
|
+
function xc(r) {
|
|
3050
3064
|
const e = r;
|
|
3051
3065
|
Object.keys(e).forEach((t) => {
|
|
3052
3066
|
try {
|
|
@@ -3065,7 +3079,7 @@ function dr(r, e) {
|
|
|
3065
3079
|
function Ot() {
|
|
3066
3080
|
return Date.now();
|
|
3067
3081
|
}
|
|
3068
|
-
function
|
|
3082
|
+
function Sc(r) {
|
|
3069
3083
|
const e = oe();
|
|
3070
3084
|
let t;
|
|
3071
3085
|
return e.getComputedStyle && (t = e.getComputedStyle(r, null)), !t && r.currentStyle && (t = r.currentStyle), t || (t = r.style), t;
|
|
@@ -3074,30 +3088,30 @@ function Tc(r, e) {
|
|
|
3074
3088
|
e === void 0 && (e = "x");
|
|
3075
3089
|
const t = oe();
|
|
3076
3090
|
let n, i, a;
|
|
3077
|
-
const l =
|
|
3091
|
+
const l = Sc(r);
|
|
3078
3092
|
return t.WebKitCSSMatrix ? (i = l.transform || l.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((o) => o.replace(",", ".")).join(", ")), a = new t.WebKitCSSMatrix(i === "none" ? "" : i)) : (a = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = a.toString().split(",")), e === "x" && (t.WebKitCSSMatrix ? i = a.m41 : n.length === 16 ? i = parseFloat(n[12]) : i = parseFloat(n[4])), e === "y" && (t.WebKitCSSMatrix ? i = a.m42 : n.length === 16 ? i = parseFloat(n[13]) : i = parseFloat(n[5])), i || 0;
|
|
3079
3093
|
}
|
|
3080
|
-
function
|
|
3094
|
+
function wt(r) {
|
|
3081
3095
|
return typeof r == "object" && r !== null && r.constructor && Object.prototype.toString.call(r).slice(8, -1) === "Object";
|
|
3082
3096
|
}
|
|
3083
|
-
function
|
|
3097
|
+
function Cc(r) {
|
|
3084
3098
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? r instanceof HTMLElement : r && (r.nodeType === 1 || r.nodeType === 11);
|
|
3085
3099
|
}
|
|
3086
3100
|
function ie() {
|
|
3087
3101
|
const r = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
|
|
3088
3102
|
for (let t = 1; t < arguments.length; t += 1) {
|
|
3089
3103
|
const n = t < 0 || arguments.length <= t ? void 0 : arguments[t];
|
|
3090
|
-
if (n != null && !
|
|
3104
|
+
if (n != null && !Cc(n)) {
|
|
3091
3105
|
const i = Object.keys(Object(n)).filter((a) => e.indexOf(a) < 0);
|
|
3092
3106
|
for (let a = 0, l = i.length; a < l; a += 1) {
|
|
3093
3107
|
const o = i[a], s = Object.getOwnPropertyDescriptor(n, o);
|
|
3094
|
-
s !== void 0 && s.enumerable && (
|
|
3108
|
+
s !== void 0 && s.enumerable && (wt(r[o]) && wt(n[o]) ? n[o].__swiper__ ? r[o] = n[o] : ie(r[o], n[o]) : !wt(r[o]) && wt(n[o]) ? (r[o] = {}, n[o].__swiper__ ? r[o] = n[o] : ie(r[o], n[o])) : r[o] = n[o]);
|
|
3095
3109
|
}
|
|
3096
3110
|
}
|
|
3097
3111
|
}
|
|
3098
3112
|
return r;
|
|
3099
3113
|
}
|
|
3100
|
-
function
|
|
3114
|
+
function bt(r, e, t) {
|
|
3101
3115
|
r.style.setProperty(e, t);
|
|
3102
3116
|
}
|
|
3103
3117
|
function Xi(r) {
|
|
@@ -3136,7 +3150,7 @@ function we(r, e) {
|
|
|
3136
3150
|
const t = [...r.children];
|
|
3137
3151
|
return r instanceof HTMLSlotElement && t.push(...r.assignedElements()), e ? t.filter((n) => n.matches(e)) : t;
|
|
3138
3152
|
}
|
|
3139
|
-
function
|
|
3153
|
+
function Ec(r, e) {
|
|
3140
3154
|
const t = e.contains(r);
|
|
3141
3155
|
return !t && e instanceof HTMLSlotElement ? [...e.assignedElements()].includes(r) : t;
|
|
3142
3156
|
}
|
|
@@ -3147,12 +3161,12 @@ function It(r) {
|
|
|
3147
3161
|
} catch {
|
|
3148
3162
|
}
|
|
3149
3163
|
}
|
|
3150
|
-
function
|
|
3164
|
+
function Nt(r, e) {
|
|
3151
3165
|
e === void 0 && (e = []);
|
|
3152
3166
|
const t = document.createElement(r);
|
|
3153
|
-
return t.classList.add(...Array.isArray(e) ? e :
|
|
3167
|
+
return t.classList.add(...Array.isArray(e) ? e : yc(e)), t;
|
|
3154
3168
|
}
|
|
3155
|
-
function
|
|
3169
|
+
function Pc(r, e) {
|
|
3156
3170
|
const t = [];
|
|
3157
3171
|
for (; r.previousElementSibling; ) {
|
|
3158
3172
|
const n = r.previousElementSibling;
|
|
@@ -3160,7 +3174,7 @@ function Ec(r, e) {
|
|
|
3160
3174
|
}
|
|
3161
3175
|
return t;
|
|
3162
3176
|
}
|
|
3163
|
-
function
|
|
3177
|
+
function Mc(r, e) {
|
|
3164
3178
|
const t = [];
|
|
3165
3179
|
for (; r.nextElementSibling; ) {
|
|
3166
3180
|
const n = r.nextElementSibling;
|
|
@@ -3168,10 +3182,10 @@ function Pc(r, e) {
|
|
|
3168
3182
|
}
|
|
3169
3183
|
return t;
|
|
3170
3184
|
}
|
|
3171
|
-
function
|
|
3185
|
+
function Ne(r, e) {
|
|
3172
3186
|
return oe().getComputedStyle(r, null).getPropertyValue(e);
|
|
3173
3187
|
}
|
|
3174
|
-
function
|
|
3188
|
+
function At(r) {
|
|
3175
3189
|
let e = r, t;
|
|
3176
3190
|
if (e) {
|
|
3177
3191
|
for (t = 0; (e = e.previousSibling) !== null; )
|
|
@@ -3186,7 +3200,7 @@ function Ki(r, e) {
|
|
|
3186
3200
|
e ? n.matches(e) && t.push(n) : t.push(n), n = n.parentElement;
|
|
3187
3201
|
return t;
|
|
3188
3202
|
}
|
|
3189
|
-
function
|
|
3203
|
+
function Oc(r, e) {
|
|
3190
3204
|
function t(n) {
|
|
3191
3205
|
n.target === r && (e.call(r, n), r.removeEventListener("transitionend", t));
|
|
3192
3206
|
}
|
|
@@ -3203,11 +3217,11 @@ function Zi(r, e, t, n) {
|
|
|
3203
3217
|
return r.params.createElements && Object.keys(n).forEach((i) => {
|
|
3204
3218
|
if (!t[i] && t.auto === !0) {
|
|
3205
3219
|
let a = we(r.el, `.${n[i]}`)[0];
|
|
3206
|
-
a || (a =
|
|
3220
|
+
a || (a = Nt("div", n[i]), a.className = n[i], r.el.append(a)), t[i] = a, e[i] = a;
|
|
3207
3221
|
}
|
|
3208
3222
|
}), t;
|
|
3209
3223
|
}
|
|
3210
|
-
function
|
|
3224
|
+
function Ic(r) {
|
|
3211
3225
|
let {
|
|
3212
3226
|
swiper: e,
|
|
3213
3227
|
extendParams: t,
|
|
@@ -3308,12 +3322,12 @@ function Oc(r) {
|
|
|
3308
3322
|
let v = y.includes(g) || w.includes(g);
|
|
3309
3323
|
if (e.isElement && !v) {
|
|
3310
3324
|
const x = m.path || m.composedPath && m.composedPath();
|
|
3311
|
-
x && (v = x.find((
|
|
3325
|
+
x && (v = x.find((S) => w.includes(S) || y.includes(S)));
|
|
3312
3326
|
}
|
|
3313
3327
|
if (e.params.navigation.hideOnClick && !v) {
|
|
3314
3328
|
if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === g || e.pagination.el.contains(g))) return;
|
|
3315
3329
|
let x;
|
|
3316
|
-
w.length ? x = w[0].classList.contains(e.params.navigation.hiddenClass) : y.length && (x = y[0].classList.contains(e.params.navigation.hiddenClass)), i(x === !0 ? "navigationShow" : "navigationHide"), [...w, ...y].filter((
|
|
3330
|
+
w.length ? x = w[0].classList.contains(e.params.navigation.hiddenClass) : y.length && (x = y[0].classList.contains(e.params.navigation.hiddenClass)), i(x === !0 ? "navigationShow" : "navigationHide"), [...w, ...y].filter((S) => !!S).forEach((S) => S.classList.toggle(e.params.navigation.hiddenClass));
|
|
3317
3331
|
}
|
|
3318
3332
|
});
|
|
3319
3333
|
const f = () => {
|
|
@@ -3332,7 +3346,7 @@ function Oc(r) {
|
|
|
3332
3346
|
function at(r) {
|
|
3333
3347
|
return r === void 0 && (r = ""), `.${r.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
|
3334
3348
|
}
|
|
3335
|
-
function
|
|
3349
|
+
function Nc(r) {
|
|
3336
3350
|
let {
|
|
3337
3351
|
swiper: e,
|
|
3338
3352
|
extendParams: t,
|
|
@@ -3396,11 +3410,11 @@ function Ic(r) {
|
|
|
3396
3410
|
if (!v)
|
|
3397
3411
|
return;
|
|
3398
3412
|
g.preventDefault();
|
|
3399
|
-
const x =
|
|
3413
|
+
const x = At(v) * e.params.slidesPerGroup;
|
|
3400
3414
|
if (e.params.loop) {
|
|
3401
3415
|
if (e.realIndex === x) return;
|
|
3402
|
-
const
|
|
3403
|
-
|
|
3416
|
+
const S = c(e.realIndex, x, e.slides.length);
|
|
3417
|
+
S === "next" ? e.slideNext() : S === "previous" ? e.slidePrev() : e.slideToLoop(x);
|
|
3404
3418
|
} else
|
|
3405
3419
|
e.slideTo(x);
|
|
3406
3420
|
}
|
|
@@ -3409,54 +3423,54 @@ function Ic(r) {
|
|
|
3409
3423
|
if (s()) return;
|
|
3410
3424
|
let x = e.pagination.el;
|
|
3411
3425
|
x = Z(x);
|
|
3412
|
-
let
|
|
3413
|
-
const
|
|
3414
|
-
if (e.params.loop ? (C = e.previousRealIndex || 0,
|
|
3426
|
+
let S, C;
|
|
3427
|
+
const k = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length, N = e.params.loop ? Math.ceil(k / e.params.slidesPerGroup) : e.snapGrid.length;
|
|
3428
|
+
if (e.params.loop ? (C = e.previousRealIndex || 0, S = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : typeof e.snapIndex < "u" ? (S = e.snapIndex, C = e.previousSnapIndex) : (C = e.previousIndex || 0, S = e.activeIndex || 0), v.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
|
|
3415
3429
|
const E = e.pagination.bullets;
|
|
3416
|
-
let
|
|
3430
|
+
let T, M, A;
|
|
3417
3431
|
if (v.dynamicBullets && (l = ur(E[0], e.isHorizontal() ? "width" : "height"), x.forEach((P) => {
|
|
3418
3432
|
P.style[e.isHorizontal() ? "width" : "height"] = `${l * (v.dynamicMainBullets + 4)}px`;
|
|
3419
|
-
}), v.dynamicMainBullets > 1 && C !== void 0 && (o +=
|
|
3433
|
+
}), v.dynamicMainBullets > 1 && C !== void 0 && (o += S - (C || 0), o > v.dynamicMainBullets - 1 ? o = v.dynamicMainBullets - 1 : o < 0 && (o = 0)), T = Math.max(S - o, 0), M = T + (Math.min(E.length, v.dynamicMainBullets) - 1), A = (M + T) / 2), E.forEach((P) => {
|
|
3420
3434
|
const L = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((R) => `${v.bulletActiveClass}${R}`)].map((R) => typeof R == "string" && R.includes(" ") ? R.split(" ") : R).flat();
|
|
3421
3435
|
P.classList.remove(...L);
|
|
3422
3436
|
}), x.length > 1)
|
|
3423
3437
|
E.forEach((P) => {
|
|
3424
|
-
const L =
|
|
3425
|
-
L ===
|
|
3438
|
+
const L = At(P);
|
|
3439
|
+
L === S ? P.classList.add(...v.bulletActiveClass.split(" ")) : e.isElement && P.setAttribute("part", "bullet"), v.dynamicBullets && (L >= T && L <= M && P.classList.add(...`${v.bulletActiveClass}-main`.split(" ")), L === T && d(P, "prev"), L === M && d(P, "next"));
|
|
3426
3440
|
});
|
|
3427
3441
|
else {
|
|
3428
|
-
const P = E[
|
|
3442
|
+
const P = E[S];
|
|
3429
3443
|
if (P && P.classList.add(...v.bulletActiveClass.split(" ")), e.isElement && E.forEach((L, R) => {
|
|
3430
|
-
L.setAttribute("part", R ===
|
|
3444
|
+
L.setAttribute("part", R === S ? "bullet-active" : "bullet");
|
|
3431
3445
|
}), v.dynamicBullets) {
|
|
3432
|
-
const L = E[
|
|
3433
|
-
for (let X =
|
|
3446
|
+
const L = E[T], R = E[M];
|
|
3447
|
+
for (let X = T; X <= M; X += 1)
|
|
3434
3448
|
E[X] && E[X].classList.add(...`${v.bulletActiveClass}-main`.split(" "));
|
|
3435
3449
|
d(L, "prev"), d(R, "next");
|
|
3436
3450
|
}
|
|
3437
3451
|
}
|
|
3438
3452
|
if (v.dynamicBullets) {
|
|
3439
|
-
const P = Math.min(E.length, v.dynamicMainBullets + 4), L = (l * P - l) / 2 -
|
|
3453
|
+
const P = Math.min(E.length, v.dynamicMainBullets + 4), L = (l * P - l) / 2 - A * l, R = g ? "right" : "left";
|
|
3440
3454
|
E.forEach((X) => {
|
|
3441
3455
|
X.style[e.isHorizontal() ? R : "top"] = `${L}px`;
|
|
3442
3456
|
});
|
|
3443
3457
|
}
|
|
3444
3458
|
}
|
|
3445
|
-
x.forEach((E,
|
|
3459
|
+
x.forEach((E, T) => {
|
|
3446
3460
|
if (v.type === "fraction" && (E.querySelectorAll(at(v.currentClass)).forEach((M) => {
|
|
3447
|
-
M.textContent = v.formatFractionCurrent(
|
|
3461
|
+
M.textContent = v.formatFractionCurrent(S + 1);
|
|
3448
3462
|
}), E.querySelectorAll(at(v.totalClass)).forEach((M) => {
|
|
3449
|
-
M.textContent = v.formatFractionTotal(
|
|
3463
|
+
M.textContent = v.formatFractionTotal(N);
|
|
3450
3464
|
})), v.type === "progressbar") {
|
|
3451
3465
|
let M;
|
|
3452
3466
|
v.progressbarOpposite ? M = e.isHorizontal() ? "vertical" : "horizontal" : M = e.isHorizontal() ? "horizontal" : "vertical";
|
|
3453
|
-
const
|
|
3467
|
+
const A = (S + 1) / N;
|
|
3454
3468
|
let P = 1, L = 1;
|
|
3455
|
-
M === "horizontal" ? P =
|
|
3469
|
+
M === "horizontal" ? P = A : L = A, E.querySelectorAll(at(v.progressbarFillClass)).forEach((R) => {
|
|
3456
3470
|
R.style.transform = `translate3d(0,0,0) scaleX(${P}) scaleY(${L})`, R.style.transitionDuration = `${e.params.speed}ms`;
|
|
3457
3471
|
});
|
|
3458
3472
|
}
|
|
3459
|
-
v.type === "custom" && v.renderCustom ? (E.innerHTML = v.renderCustom(e,
|
|
3473
|
+
v.type === "custom" && v.renderCustom ? (E.innerHTML = v.renderCustom(e, S + 1, N), T === 0 && i("paginationRender", E)) : (T === 0 && i("paginationRender", E), i("paginationUpdate", E)), e.params.watchOverflow && e.enabled && E.classList[e.isLocked ? "add" : "remove"](v.lockClass);
|
|
3460
3474
|
});
|
|
3461
3475
|
}
|
|
3462
3476
|
function p() {
|
|
@@ -3465,15 +3479,15 @@ function Ic(r) {
|
|
|
3465
3479
|
const v = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.grid && e.params.grid.rows > 1 ? e.slides.length / Math.ceil(e.params.grid.rows) : e.slides.length;
|
|
3466
3480
|
let x = e.pagination.el;
|
|
3467
3481
|
x = Z(x);
|
|
3468
|
-
let
|
|
3482
|
+
let S = "";
|
|
3469
3483
|
if (g.type === "bullets") {
|
|
3470
3484
|
let C = e.params.loop ? Math.ceil(v / e.params.slidesPerGroup) : e.snapGrid.length;
|
|
3471
3485
|
e.params.freeMode && e.params.freeMode.enabled && C > v && (C = v);
|
|
3472
|
-
for (let
|
|
3473
|
-
g.renderBullet ?
|
|
3486
|
+
for (let k = 0; k < C; k += 1)
|
|
3487
|
+
g.renderBullet ? S += g.renderBullet.call(e, k, g.bulletClass) : S += `<${g.bulletElement} ${e.isElement ? 'part="bullet"' : ""} class="${g.bulletClass}"></${g.bulletElement}>`;
|
|
3474
3488
|
}
|
|
3475
|
-
g.type === "fraction" && (g.renderFraction ?
|
|
3476
|
-
g.type !== "custom" && (C.innerHTML =
|
|
3489
|
+
g.type === "fraction" && (g.renderFraction ? S = g.renderFraction.call(e, g.currentClass, g.totalClass) : S = `<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`), g.type === "progressbar" && (g.renderProgressbar ? S = g.renderProgressbar.call(e, g.progressbarFillClass) : S = `<span class="${g.progressbarFillClass}"></span>`), e.pagination.bullets = [], x.forEach((C) => {
|
|
3490
|
+
g.type !== "custom" && (C.innerHTML = S || ""), g.type === "bullets" && e.pagination.bullets.push(...C.querySelectorAll(at(g.bulletClass)));
|
|
3477
3491
|
}), g.type !== "custom" && i("paginationRender", x[0]);
|
|
3478
3492
|
}
|
|
3479
3493
|
function u() {
|
|
@@ -3524,11 +3538,11 @@ function Ic(r) {
|
|
|
3524
3538
|
}), n("lock unlock", () => {
|
|
3525
3539
|
f();
|
|
3526
3540
|
}), n("click", (g, v) => {
|
|
3527
|
-
const x = v.target,
|
|
3528
|
-
if (e.params.pagination.el && e.params.pagination.hideOnClick &&
|
|
3541
|
+
const x = v.target, S = Z(e.pagination.el);
|
|
3542
|
+
if (e.params.pagination.el && e.params.pagination.hideOnClick && S && S.length > 0 && !x.classList.contains(e.params.pagination.bulletClass)) {
|
|
3529
3543
|
if (e.navigation && (e.navigation.nextEl && x === e.navigation.nextEl || e.navigation.prevEl && x === e.navigation.prevEl)) return;
|
|
3530
|
-
const C =
|
|
3531
|
-
i(C === !0 ? "paginationShow" : "paginationHide"),
|
|
3544
|
+
const C = S[0].classList.contains(e.params.pagination.hiddenClass);
|
|
3545
|
+
i(C === !0 ? "paginationShow" : "paginationHide"), S.forEach((k) => k.classList.toggle(e.params.pagination.hiddenClass));
|
|
3532
3546
|
}
|
|
3533
3547
|
});
|
|
3534
3548
|
const w = () => {
|
|
@@ -3578,7 +3592,7 @@ function Ac(r) {
|
|
|
3578
3592
|
});
|
|
3579
3593
|
let l, o, s = a && a.autoplay ? a.autoplay.delay : 3e3, d = a && a.autoplay ? a.autoplay.delay : 3e3, c, h = (/* @__PURE__ */ new Date()).getTime(), f, p, u, m, w, y, g;
|
|
3580
3594
|
function v(B) {
|
|
3581
|
-
!e || e.destroyed || !e.wrapperEl || B.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", v), !(g || B.detail && B.detail.bySwiperTouchMove) &&
|
|
3595
|
+
!e || e.destroyed || !e.wrapperEl || B.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", v), !(g || B.detail && B.detail.bySwiperTouchMove) && T());
|
|
3582
3596
|
}
|
|
3583
3597
|
const x = () => {
|
|
3584
3598
|
if (e.destroyed || !e.autoplay.running) return;
|
|
@@ -3587,7 +3601,7 @@ function Ac(r) {
|
|
|
3587
3601
|
e.autoplay.timeLeft = B, i("autoplayTimeLeft", B, B / s), o = requestAnimationFrame(() => {
|
|
3588
3602
|
x();
|
|
3589
3603
|
});
|
|
3590
|
-
},
|
|
3604
|
+
}, S = () => {
|
|
3591
3605
|
let B;
|
|
3592
3606
|
return e.virtual && e.params.virtual.enabled ? B = e.slides.filter((Y) => Y.classList.contains("swiper-slide-active"))[0] : B = e.slides[e.activeIndex], B ? parseInt(B.getAttribute("data-swiper-autoplay"), 10) : void 0;
|
|
3593
3607
|
}, C = (B) => {
|
|
@@ -3595,7 +3609,7 @@ function Ac(r) {
|
|
|
3595
3609
|
cancelAnimationFrame(o), x();
|
|
3596
3610
|
let G = typeof B > "u" ? e.params.autoplay.delay : B;
|
|
3597
3611
|
s = e.params.autoplay.delay, d = e.params.autoplay.delay;
|
|
3598
|
-
const Y =
|
|
3612
|
+
const Y = S();
|
|
3599
3613
|
!Number.isNaN(Y) && Y > 0 && typeof B > "u" && (G = Y, s = Y, d = Y), c = G;
|
|
3600
3614
|
const pe = e.params.speed, me = () => {
|
|
3601
3615
|
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(pe, !0, !0), i("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, pe, !0, !0), i("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(pe, !0, !0), i("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, pe, !0, !0), i("autoplay")), e.params.cssMode && (h = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
|
|
@@ -3607,54 +3621,54 @@ function Ac(r) {
|
|
|
3607
3621
|
}, G)) : requestAnimationFrame(() => {
|
|
3608
3622
|
me();
|
|
3609
3623
|
}), G;
|
|
3610
|
-
},
|
|
3624
|
+
}, k = () => {
|
|
3611
3625
|
h = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, C(), i("autoplayStart");
|
|
3612
|
-
},
|
|
3626
|
+
}, N = () => {
|
|
3613
3627
|
e.autoplay.running = !1, clearTimeout(l), cancelAnimationFrame(o), i("autoplayStop");
|
|
3614
3628
|
}, E = (B, G) => {
|
|
3615
3629
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3616
3630
|
clearTimeout(l), B || (y = !0);
|
|
3617
3631
|
const Y = () => {
|
|
3618
|
-
i("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", v) :
|
|
3632
|
+
i("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", v) : T();
|
|
3619
3633
|
};
|
|
3620
3634
|
if (e.autoplay.paused = !0, G) {
|
|
3621
3635
|
w && (c = e.params.autoplay.delay), w = !1, Y();
|
|
3622
3636
|
return;
|
|
3623
3637
|
}
|
|
3624
3638
|
c = (c || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - h), !(e.isEnd && c < 0 && !e.params.loop) && (c < 0 && (c = 0), Y());
|
|
3625
|
-
},
|
|
3639
|
+
}, T = () => {
|
|
3626
3640
|
e.isEnd && c < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (h = (/* @__PURE__ */ new Date()).getTime(), y ? (y = !1, C(c)) : C(), e.autoplay.paused = !1, i("autoplayResume"));
|
|
3627
3641
|
}, M = () => {
|
|
3628
3642
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3629
3643
|
const B = Ee();
|
|
3630
|
-
B.visibilityState === "hidden" && (y = !0, E(!0)), B.visibilityState === "visible" &&
|
|
3631
|
-
},
|
|
3644
|
+
B.visibilityState === "hidden" && (y = !0, E(!0)), B.visibilityState === "visible" && T();
|
|
3645
|
+
}, A = (B) => {
|
|
3632
3646
|
B.pointerType === "mouse" && (y = !0, g = !0, !(e.animating || e.autoplay.paused) && E(!0));
|
|
3633
3647
|
}, P = (B) => {
|
|
3634
|
-
B.pointerType === "mouse" && (g = !1, e.autoplay.paused &&
|
|
3648
|
+
B.pointerType === "mouse" && (g = !1, e.autoplay.paused && T());
|
|
3635
3649
|
}, L = () => {
|
|
3636
|
-
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter",
|
|
3650
|
+
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", A), e.el.addEventListener("pointerleave", P));
|
|
3637
3651
|
}, R = () => {
|
|
3638
|
-
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter",
|
|
3652
|
+
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", A), e.el.removeEventListener("pointerleave", P));
|
|
3639
3653
|
}, X = () => {
|
|
3640
3654
|
Ee().addEventListener("visibilitychange", M);
|
|
3641
3655
|
}, fe = () => {
|
|
3642
3656
|
Ee().removeEventListener("visibilitychange", M);
|
|
3643
3657
|
};
|
|
3644
3658
|
n("init", () => {
|
|
3645
|
-
e.params.autoplay.enabled && (L(), X(),
|
|
3659
|
+
e.params.autoplay.enabled && (L(), X(), k());
|
|
3646
3660
|
}), n("destroy", () => {
|
|
3647
|
-
R(), fe(), e.autoplay.running &&
|
|
3661
|
+
R(), fe(), e.autoplay.running && N();
|
|
3648
3662
|
}), n("_freeModeStaticRelease", () => {
|
|
3649
|
-
(u || y) &&
|
|
3663
|
+
(u || y) && T();
|
|
3650
3664
|
}), n("_freeModeNoMomentumRelease", () => {
|
|
3651
|
-
e.params.autoplay.disableOnInteraction ?
|
|
3665
|
+
e.params.autoplay.disableOnInteraction ? N() : E(!0, !0);
|
|
3652
3666
|
}), n("beforeTransitionStart", (B, G, Y) => {
|
|
3653
|
-
e.destroyed || !e.autoplay.running || (Y || !e.params.autoplay.disableOnInteraction ? E(!0, !0) :
|
|
3667
|
+
e.destroyed || !e.autoplay.running || (Y || !e.params.autoplay.disableOnInteraction ? E(!0, !0) : N());
|
|
3654
3668
|
}), n("sliderFirstMove", () => {
|
|
3655
3669
|
if (!(e.destroyed || !e.autoplay.running)) {
|
|
3656
3670
|
if (e.params.autoplay.disableOnInteraction) {
|
|
3657
|
-
|
|
3671
|
+
N();
|
|
3658
3672
|
return;
|
|
3659
3673
|
}
|
|
3660
3674
|
p = !0, u = !1, y = !1, m = setTimeout(() => {
|
|
@@ -3667,15 +3681,15 @@ function Ac(r) {
|
|
|
3667
3681
|
u = !1, p = !1;
|
|
3668
3682
|
return;
|
|
3669
3683
|
}
|
|
3670
|
-
u && e.params.cssMode &&
|
|
3684
|
+
u && e.params.cssMode && T(), u = !1, p = !1;
|
|
3671
3685
|
}
|
|
3672
3686
|
}), n("slideChange", () => {
|
|
3673
3687
|
e.destroyed || !e.autoplay.running || (w = !0);
|
|
3674
3688
|
}), Object.assign(e.autoplay, {
|
|
3675
|
-
start:
|
|
3676
|
-
stop:
|
|
3689
|
+
start: k,
|
|
3690
|
+
stop: N,
|
|
3677
3691
|
pause: E,
|
|
3678
|
-
resume:
|
|
3692
|
+
resume: T
|
|
3679
3693
|
});
|
|
3680
3694
|
}
|
|
3681
3695
|
function kc(r) {
|
|
@@ -3714,11 +3728,11 @@ function kc(r) {
|
|
|
3714
3728
|
}));
|
|
3715
3729
|
});
|
|
3716
3730
|
}
|
|
3717
|
-
function
|
|
3731
|
+
function Lc(r, e) {
|
|
3718
3732
|
const t = Qi(e);
|
|
3719
3733
|
return t !== e && (t.style.backfaceVisibility = "hidden", t.style["-webkit-backface-visibility"] = "hidden"), t;
|
|
3720
3734
|
}
|
|
3721
|
-
function
|
|
3735
|
+
function Dc(r) {
|
|
3722
3736
|
let {
|
|
3723
3737
|
swiper: e,
|
|
3724
3738
|
duration: t,
|
|
@@ -3734,7 +3748,7 @@ function Lc(r) {
|
|
|
3734
3748
|
const c = d.classList.contains("swiper-slide-transform") ? l(d) : d;
|
|
3735
3749
|
return e.getSlideIndex(c) === a;
|
|
3736
3750
|
}), s.forEach((d) => {
|
|
3737
|
-
|
|
3751
|
+
Oc(d, () => {
|
|
3738
3752
|
if (o || !e || e.destroyed) return;
|
|
3739
3753
|
o = !0, e.animating = !1;
|
|
3740
3754
|
const c = new window.CustomEvent("transitionend", {
|
|
@@ -3746,7 +3760,7 @@ function Lc(r) {
|
|
|
3746
3760
|
});
|
|
3747
3761
|
}
|
|
3748
3762
|
}
|
|
3749
|
-
function
|
|
3763
|
+
function _c(r) {
|
|
3750
3764
|
let {
|
|
3751
3765
|
swiper: e,
|
|
3752
3766
|
extendParams: t,
|
|
@@ -3770,7 +3784,7 @@ function Dc(r) {
|
|
|
3770
3784
|
e.params.virtualTranslate || (h -= e.translate);
|
|
3771
3785
|
let f = 0;
|
|
3772
3786
|
e.isHorizontal() || (f = h, h = 0);
|
|
3773
|
-
const p = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(d.progress), 0) : 1 + Math.min(Math.max(d.progress, -1), 0), u =
|
|
3787
|
+
const p = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(d.progress), 0) : 1 + Math.min(Math.max(d.progress, -1), 0), u = Lc(o, d);
|
|
3774
3788
|
u.style.opacity = p, u.style.transform = `translate3d(${h}px, ${f}px, 0px)`;
|
|
3775
3789
|
}
|
|
3776
3790
|
},
|
|
@@ -3778,7 +3792,7 @@ function Dc(r) {
|
|
|
3778
3792
|
const o = e.slides.map((s) => Qi(s));
|
|
3779
3793
|
o.forEach((s) => {
|
|
3780
3794
|
s.style.transitionDuration = `${l}ms`;
|
|
3781
|
-
}),
|
|
3795
|
+
}), Dc({
|
|
3782
3796
|
swiper: e,
|
|
3783
3797
|
duration: l,
|
|
3784
3798
|
transformElements: o,
|
|
@@ -3795,7 +3809,7 @@ function Dc(r) {
|
|
|
3795
3809
|
});
|
|
3796
3810
|
}
|
|
3797
3811
|
let Zt;
|
|
3798
|
-
function
|
|
3812
|
+
function Fc() {
|
|
3799
3813
|
const r = oe(), e = Ee();
|
|
3800
3814
|
return {
|
|
3801
3815
|
smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
|
|
@@ -3803,10 +3817,10 @@ function _c() {
|
|
|
3803
3817
|
};
|
|
3804
3818
|
}
|
|
3805
3819
|
function Ji() {
|
|
3806
|
-
return Zt || (Zt =
|
|
3820
|
+
return Zt || (Zt = Fc()), Zt;
|
|
3807
3821
|
}
|
|
3808
3822
|
let Jt;
|
|
3809
|
-
function
|
|
3823
|
+
function zc(r) {
|
|
3810
3824
|
let {
|
|
3811
3825
|
userAgent: e
|
|
3812
3826
|
} = r === void 0 ? {} : r;
|
|
@@ -3821,10 +3835,10 @@ function Fc(r) {
|
|
|
3821
3835
|
return !c && u && t.touch && m.indexOf(`${o}x${s}`) >= 0 && (c = a.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), u = !1), d && !p && (l.os = "android", l.android = !0), (c || f || h) && (l.os = "ios", l.ios = !0), l;
|
|
3822
3836
|
}
|
|
3823
3837
|
function ea(r) {
|
|
3824
|
-
return r === void 0 && (r = {}), Jt || (Jt =
|
|
3838
|
+
return r === void 0 && (r = {}), Jt || (Jt = zc(r)), Jt;
|
|
3825
3839
|
}
|
|
3826
3840
|
let er;
|
|
3827
|
-
function
|
|
3841
|
+
function Vc() {
|
|
3828
3842
|
const r = oe(), e = ea();
|
|
3829
3843
|
let t = !1;
|
|
3830
3844
|
function n() {
|
|
@@ -3846,10 +3860,10 @@ function zc() {
|
|
|
3846
3860
|
isWebView: i
|
|
3847
3861
|
};
|
|
3848
3862
|
}
|
|
3849
|
-
function
|
|
3850
|
-
return er || (er =
|
|
3863
|
+
function Rc() {
|
|
3864
|
+
return er || (er = Vc()), er;
|
|
3851
3865
|
}
|
|
3852
|
-
function
|
|
3866
|
+
function Bc(r) {
|
|
3853
3867
|
let {
|
|
3854
3868
|
swiper: e,
|
|
3855
3869
|
on: t,
|
|
@@ -3892,7 +3906,7 @@ function Rc(r) {
|
|
|
3892
3906
|
d(), i.removeEventListener("resize", o), i.removeEventListener("orientationchange", c);
|
|
3893
3907
|
});
|
|
3894
3908
|
}
|
|
3895
|
-
function
|
|
3909
|
+
function Wc(r) {
|
|
3896
3910
|
let {
|
|
3897
3911
|
swiper: e,
|
|
3898
3912
|
extendParams: t,
|
|
@@ -3941,7 +3955,7 @@ function Bc(r) {
|
|
|
3941
3955
|
observeSlideChildren: !1
|
|
3942
3956
|
}), n("init", s), n("destroy", d);
|
|
3943
3957
|
}
|
|
3944
|
-
var
|
|
3958
|
+
var Gc = {
|
|
3945
3959
|
on(r, e, t) {
|
|
3946
3960
|
const n = this;
|
|
3947
3961
|
if (!n.eventsListeners || n.destroyed || typeof e != "function") return n;
|
|
@@ -3996,20 +4010,20 @@ var Wc = {
|
|
|
3996
4010
|
}), r;
|
|
3997
4011
|
}
|
|
3998
4012
|
};
|
|
3999
|
-
function
|
|
4013
|
+
function $c() {
|
|
4000
4014
|
const r = this;
|
|
4001
4015
|
let e, t;
|
|
4002
4016
|
const n = r.el;
|
|
4003
|
-
typeof r.params.width < "u" && r.params.width !== null ? e = r.params.width : e = n.clientWidth, typeof r.params.height < "u" && r.params.height !== null ? t = r.params.height : t = n.clientHeight, !(e === 0 && r.isHorizontal() || t === 0 && r.isVertical()) && (e = e - parseInt(
|
|
4017
|
+
typeof r.params.width < "u" && r.params.width !== null ? e = r.params.width : e = n.clientWidth, typeof r.params.height < "u" && r.params.height !== null ? t = r.params.height : t = n.clientHeight, !(e === 0 && r.isHorizontal() || t === 0 && r.isVertical()) && (e = e - parseInt(Ne(n, "padding-left") || 0, 10) - parseInt(Ne(n, "padding-right") || 0, 10), t = t - parseInt(Ne(n, "padding-top") || 0, 10) - parseInt(Ne(n, "padding-bottom") || 0, 10), Number.isNaN(e) && (e = 0), Number.isNaN(t) && (t = 0), Object.assign(r, {
|
|
4004
4018
|
width: e,
|
|
4005
4019
|
height: t,
|
|
4006
4020
|
size: r.isHorizontal() ? e : t
|
|
4007
4021
|
}));
|
|
4008
4022
|
}
|
|
4009
|
-
function
|
|
4023
|
+
function jc() {
|
|
4010
4024
|
const r = this;
|
|
4011
|
-
function e(
|
|
4012
|
-
return parseFloat(
|
|
4025
|
+
function e(T, M) {
|
|
4026
|
+
return parseFloat(T.getPropertyValue(r.getDirectionLabel(M)) || 0);
|
|
4013
4027
|
}
|
|
4014
4028
|
const t = r.params, {
|
|
4015
4029
|
wrapperEl: n,
|
|
@@ -4025,87 +4039,87 @@ function $c() {
|
|
|
4025
4039
|
let w = t.slidesOffsetAfter;
|
|
4026
4040
|
typeof w == "function" && (w = t.slidesOffsetAfter.call(r));
|
|
4027
4041
|
const y = r.snapGrid.length, g = r.slidesGrid.length;
|
|
4028
|
-
let v = t.spaceBetween, x = -m,
|
|
4042
|
+
let v = t.spaceBetween, x = -m, S = 0, C = 0;
|
|
4029
4043
|
if (typeof a > "u")
|
|
4030
4044
|
return;
|
|
4031
|
-
typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * a : typeof v == "string" && (v = parseFloat(v)), r.virtualSize = -v, c.forEach((
|
|
4032
|
-
l ?
|
|
4033
|
-
}), t.centeredSlides && t.cssMode && (
|
|
4034
|
-
const
|
|
4035
|
-
|
|
4036
|
-
let
|
|
4037
|
-
const E = t.slidesPerView === "auto" && t.breakpoints && Object.keys(t.breakpoints).filter((
|
|
4038
|
-
for (let
|
|
4039
|
-
|
|
4045
|
+
typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * a : typeof v == "string" && (v = parseFloat(v)), r.virtualSize = -v, c.forEach((T) => {
|
|
4046
|
+
l ? T.style.marginLeft = "" : T.style.marginRight = "", T.style.marginBottom = "", T.style.marginTop = "";
|
|
4047
|
+
}), t.centeredSlides && t.cssMode && (bt(n, "--swiper-centered-offset-before", ""), bt(n, "--swiper-centered-offset-after", ""));
|
|
4048
|
+
const k = t.grid && t.grid.rows > 1 && r.grid;
|
|
4049
|
+
k ? r.grid.initSlides(c) : r.grid && r.grid.unsetSlides();
|
|
4050
|
+
let N;
|
|
4051
|
+
const E = t.slidesPerView === "auto" && t.breakpoints && Object.keys(t.breakpoints).filter((T) => typeof t.breakpoints[T].slidesPerView < "u").length > 0;
|
|
4052
|
+
for (let T = 0; T < h; T += 1) {
|
|
4053
|
+
N = 0;
|
|
4040
4054
|
let M;
|
|
4041
|
-
if (c[
|
|
4055
|
+
if (c[T] && (M = c[T]), k && r.grid.updateSlide(T, M, c), !(c[T] && Ne(M, "display") === "none")) {
|
|
4042
4056
|
if (t.slidesPerView === "auto") {
|
|
4043
|
-
E && (c[
|
|
4044
|
-
const
|
|
4057
|
+
E && (c[T].style[r.getDirectionLabel("width")] = "");
|
|
4058
|
+
const A = getComputedStyle(M), P = M.style.transform, L = M.style.webkitTransform;
|
|
4045
4059
|
if (P && (M.style.transform = "none"), L && (M.style.webkitTransform = "none"), t.roundLengths)
|
|
4046
|
-
|
|
4060
|
+
N = r.isHorizontal() ? ur(M, "width") : ur(M, "height");
|
|
4047
4061
|
else {
|
|
4048
|
-
const R = e(
|
|
4062
|
+
const R = e(A, "width"), X = e(A, "padding-left"), fe = e(A, "padding-right"), B = e(A, "margin-left"), G = e(A, "margin-right"), Y = A.getPropertyValue("box-sizing");
|
|
4049
4063
|
if (Y && Y === "border-box")
|
|
4050
|
-
|
|
4064
|
+
N = R + B + G;
|
|
4051
4065
|
else {
|
|
4052
4066
|
const {
|
|
4053
4067
|
clientWidth: pe,
|
|
4054
4068
|
offsetWidth: me
|
|
4055
4069
|
} = M;
|
|
4056
|
-
|
|
4070
|
+
N = R + X + fe + B + G + (me - pe);
|
|
4057
4071
|
}
|
|
4058
4072
|
}
|
|
4059
|
-
P && (M.style.transform = P), L && (M.style.webkitTransform = L), t.roundLengths && (
|
|
4073
|
+
P && (M.style.transform = P), L && (M.style.webkitTransform = L), t.roundLengths && (N = Math.floor(N));
|
|
4060
4074
|
} else
|
|
4061
|
-
|
|
4062
|
-
c[
|
|
4075
|
+
N = (a - (t.slidesPerView - 1) * v) / t.slidesPerView, t.roundLengths && (N = Math.floor(N)), c[T] && (c[T].style[r.getDirectionLabel("width")] = `${N}px`);
|
|
4076
|
+
c[T] && (c[T].swiperSlideSize = N), u.push(N), t.centeredSlides ? (x = x + N / 2 + S / 2 + v, S === 0 && T !== 0 && (x = x - a / 2 - v), T === 0 && (x = x - a / 2 - v), Math.abs(x) < 1 / 1e3 && (x = 0), t.roundLengths && (x = Math.floor(x)), C % t.slidesPerGroup === 0 && f.push(x), p.push(x)) : (t.roundLengths && (x = Math.floor(x)), (C - Math.min(r.params.slidesPerGroupSkip, C)) % r.params.slidesPerGroup === 0 && f.push(x), p.push(x), x = x + N + v), r.virtualSize += N + v, S = N, C += 1;
|
|
4063
4077
|
}
|
|
4064
4078
|
}
|
|
4065
|
-
if (r.virtualSize = Math.max(r.virtualSize, a) + w, l && o && (t.effect === "slide" || t.effect === "coverflow") && (n.style.width = `${r.virtualSize + v}px`), t.setWrapperSize && (n.style[r.getDirectionLabel("width")] = `${r.virtualSize + v}px`),
|
|
4066
|
-
const
|
|
4079
|
+
if (r.virtualSize = Math.max(r.virtualSize, a) + w, l && o && (t.effect === "slide" || t.effect === "coverflow") && (n.style.width = `${r.virtualSize + v}px`), t.setWrapperSize && (n.style[r.getDirectionLabel("width")] = `${r.virtualSize + v}px`), k && r.grid.updateWrapperSize(N, f), !t.centeredSlides) {
|
|
4080
|
+
const T = [];
|
|
4067
4081
|
for (let M = 0; M < f.length; M += 1) {
|
|
4068
|
-
let
|
|
4069
|
-
t.roundLengths && (
|
|
4082
|
+
let A = f[M];
|
|
4083
|
+
t.roundLengths && (A = Math.floor(A)), f[M] <= r.virtualSize - a && T.push(A);
|
|
4070
4084
|
}
|
|
4071
|
-
f =
|
|
4085
|
+
f = T, Math.floor(r.virtualSize - a) - Math.floor(f[f.length - 1]) > 1 && f.push(r.virtualSize - a);
|
|
4072
4086
|
}
|
|
4073
4087
|
if (s && t.loop) {
|
|
4074
|
-
const
|
|
4088
|
+
const T = u[0] + v;
|
|
4075
4089
|
if (t.slidesPerGroup > 1) {
|
|
4076
|
-
const M = Math.ceil((r.virtual.slidesBefore + r.virtual.slidesAfter) / t.slidesPerGroup),
|
|
4090
|
+
const M = Math.ceil((r.virtual.slidesBefore + r.virtual.slidesAfter) / t.slidesPerGroup), A = T * t.slidesPerGroup;
|
|
4077
4091
|
for (let P = 0; P < M; P += 1)
|
|
4078
|
-
f.push(f[f.length - 1] +
|
|
4092
|
+
f.push(f[f.length - 1] + A);
|
|
4079
4093
|
}
|
|
4080
4094
|
for (let M = 0; M < r.virtual.slidesBefore + r.virtual.slidesAfter; M += 1)
|
|
4081
|
-
t.slidesPerGroup === 1 && f.push(f[f.length - 1] +
|
|
4095
|
+
t.slidesPerGroup === 1 && f.push(f[f.length - 1] + T), p.push(p[p.length - 1] + T), r.virtualSize += T;
|
|
4082
4096
|
}
|
|
4083
4097
|
if (f.length === 0 && (f = [0]), v !== 0) {
|
|
4084
|
-
const
|
|
4085
|
-
c.filter((M,
|
|
4086
|
-
M.style[
|
|
4098
|
+
const T = r.isHorizontal() && l ? "marginLeft" : r.getDirectionLabel("marginRight");
|
|
4099
|
+
c.filter((M, A) => !t.cssMode || t.loop ? !0 : A !== c.length - 1).forEach((M) => {
|
|
4100
|
+
M.style[T] = `${v}px`;
|
|
4087
4101
|
});
|
|
4088
4102
|
}
|
|
4089
4103
|
if (t.centeredSlides && t.centeredSlidesBounds) {
|
|
4090
|
-
let
|
|
4091
|
-
u.forEach((
|
|
4092
|
-
|
|
4093
|
-
}),
|
|
4094
|
-
const M =
|
|
4095
|
-
f = f.map((
|
|
4104
|
+
let T = 0;
|
|
4105
|
+
u.forEach((A) => {
|
|
4106
|
+
T += A + (v || 0);
|
|
4107
|
+
}), T -= v;
|
|
4108
|
+
const M = T > a ? T - a : 0;
|
|
4109
|
+
f = f.map((A) => A <= 0 ? -m : A > M ? M + w : A);
|
|
4096
4110
|
}
|
|
4097
4111
|
if (t.centerInsufficientSlides) {
|
|
4098
|
-
let
|
|
4099
|
-
u.forEach((
|
|
4100
|
-
|
|
4101
|
-
}),
|
|
4112
|
+
let T = 0;
|
|
4113
|
+
u.forEach((A) => {
|
|
4114
|
+
T += A + (v || 0);
|
|
4115
|
+
}), T -= v;
|
|
4102
4116
|
const M = (t.slidesOffsetBefore || 0) + (t.slidesOffsetAfter || 0);
|
|
4103
|
-
if (
|
|
4104
|
-
const
|
|
4117
|
+
if (T + M < a) {
|
|
4118
|
+
const A = (a - T - M) / 2;
|
|
4105
4119
|
f.forEach((P, L) => {
|
|
4106
|
-
f[L] = P -
|
|
4120
|
+
f[L] = P - A;
|
|
4107
4121
|
}), p.forEach((P, L) => {
|
|
4108
|
-
p[L] = P +
|
|
4122
|
+
p[L] = P + A;
|
|
4109
4123
|
});
|
|
4110
4124
|
}
|
|
4111
4125
|
}
|
|
@@ -4115,16 +4129,16 @@ function $c() {
|
|
|
4115
4129
|
slidesGrid: p,
|
|
4116
4130
|
slidesSizesGrid: u
|
|
4117
4131
|
}), t.centeredSlides && t.cssMode && !t.centeredSlidesBounds) {
|
|
4118
|
-
|
|
4119
|
-
const
|
|
4120
|
-
r.snapGrid = r.snapGrid.map((
|
|
4132
|
+
bt(n, "--swiper-centered-offset-before", `${-f[0]}px`), bt(n, "--swiper-centered-offset-after", `${r.size / 2 - u[u.length - 1] / 2}px`);
|
|
4133
|
+
const T = -r.snapGrid[0], M = -r.slidesGrid[0];
|
|
4134
|
+
r.snapGrid = r.snapGrid.map((A) => A + T), r.slidesGrid = r.slidesGrid.map((A) => A + M);
|
|
4121
4135
|
}
|
|
4122
4136
|
if (h !== d && r.emit("slidesLengthChange"), f.length !== y && (r.params.watchOverflow && r.checkOverflow(), r.emit("snapGridLengthChange")), p.length !== g && r.emit("slidesGridLengthChange"), t.watchSlidesProgress && r.updateSlidesOffset(), r.emit("slidesUpdated"), !s && !t.cssMode && (t.effect === "slide" || t.effect === "fade")) {
|
|
4123
|
-
const
|
|
4124
|
-
h <= t.maxBackfaceHiddenSlides ? M || r.el.classList.add(
|
|
4137
|
+
const T = `${t.containerModifierClass}backface-hidden`, M = r.el.classList.contains(T);
|
|
4138
|
+
h <= t.maxBackfaceHiddenSlides ? M || r.el.classList.add(T) : M && r.el.classList.remove(T);
|
|
4125
4139
|
}
|
|
4126
4140
|
}
|
|
4127
|
-
function
|
|
4141
|
+
function Hc(r) {
|
|
4128
4142
|
const e = this, t = [], n = e.virtual && e.params.virtual.enabled;
|
|
4129
4143
|
let i = 0, a;
|
|
4130
4144
|
typeof r == "number" ? e.setTransition(r) : r === !0 && e.setTransition(e.params.speed);
|
|
@@ -4149,7 +4163,7 @@ function jc(r) {
|
|
|
4149
4163
|
}
|
|
4150
4164
|
(i || i === 0) && (e.wrapperEl.style.height = `${i}px`);
|
|
4151
4165
|
}
|
|
4152
|
-
function
|
|
4166
|
+
function Yc() {
|
|
4153
4167
|
const r = this, e = r.slides, t = r.isElement ? r.isHorizontal() ? r.wrapperEl.offsetLeft : r.wrapperEl.offsetTop : 0;
|
|
4154
4168
|
for (let n = 0; n < e.length; n += 1)
|
|
4155
4169
|
e[n].swiperSlideOffset = (r.isHorizontal() ? e[n].offsetLeft : e[n].offsetTop) - t - r.cssOverflowAdjustment();
|
|
@@ -4157,7 +4171,7 @@ function Hc() {
|
|
|
4157
4171
|
const nn = (r, e, t) => {
|
|
4158
4172
|
e && !r.classList.contains(t) ? r.classList.add(t) : !e && r.classList.contains(t) && r.classList.remove(t);
|
|
4159
4173
|
};
|
|
4160
|
-
function
|
|
4174
|
+
function qc(r) {
|
|
4161
4175
|
r === void 0 && (r = this && this.translate || 0);
|
|
4162
4176
|
const e = this, t = e.params, {
|
|
4163
4177
|
slides: n,
|
|
@@ -4178,7 +4192,7 @@ function Yc(r) {
|
|
|
4178
4192
|
w && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(s)), nn(d, w, t.slideVisibleClass), nn(d, m, t.slideFullyVisibleClass), d.progress = i ? -h : h, d.originalProgress = i ? -f : f;
|
|
4179
4193
|
}
|
|
4180
4194
|
}
|
|
4181
|
-
function
|
|
4195
|
+
function Uc(r) {
|
|
4182
4196
|
const e = this;
|
|
4183
4197
|
if (typeof r > "u") {
|
|
4184
4198
|
const c = e.rtlTranslate ? -1 : 1;
|
|
@@ -4213,7 +4227,7 @@ function qc(r) {
|
|
|
4213
4227
|
const tr = (r, e, t) => {
|
|
4214
4228
|
e && !r.classList.contains(t) ? r.classList.add(t) : !e && r.classList.contains(t) && r.classList.remove(t);
|
|
4215
4229
|
};
|
|
4216
|
-
function
|
|
4230
|
+
function Xc() {
|
|
4217
4231
|
const r = this, {
|
|
4218
4232
|
slides: e,
|
|
4219
4233
|
params: t,
|
|
@@ -4229,11 +4243,11 @@ function Uc() {
|
|
|
4229
4243
|
s = o(`[data-swiper-slide-index="${i}"]`);
|
|
4230
4244
|
else
|
|
4231
4245
|
l ? (s = e.filter((h) => h.column === i)[0], c = e.filter((h) => h.column === i + 1)[0], d = e.filter((h) => h.column === i - 1)[0]) : s = e[i];
|
|
4232
|
-
s && (l || (c =
|
|
4246
|
+
s && (l || (c = Mc(s, `.${t.slideClass}, swiper-slide`)[0], t.loop && !c && (c = e[0]), d = Pc(s, `.${t.slideClass}, swiper-slide`)[0], t.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((h) => {
|
|
4233
4247
|
tr(h, h === s, t.slideActiveClass), tr(h, h === c, t.slideNextClass), tr(h, h === d, t.slidePrevClass);
|
|
4234
4248
|
}), r.emitSlidesClasses();
|
|
4235
4249
|
}
|
|
4236
|
-
const
|
|
4250
|
+
const xt = (r, e) => {
|
|
4237
4251
|
if (!r || r.destroyed || !r.params) return;
|
|
4238
4252
|
const t = () => r.isElement ? "swiper-slide" : `.${r.params.slideClass}`, n = e.closest(t());
|
|
4239
4253
|
if (n) {
|
|
@@ -4272,7 +4286,7 @@ const Tt = (r, e) => {
|
|
|
4272
4286
|
for (let l = Math.max(i - e, 0); l <= Math.min(a + e, t - 1); l += 1)
|
|
4273
4287
|
l !== i && (l > a || l < i) && rr(r, l);
|
|
4274
4288
|
};
|
|
4275
|
-
function
|
|
4289
|
+
function Qc(r) {
|
|
4276
4290
|
const {
|
|
4277
4291
|
slidesGrid: e,
|
|
4278
4292
|
params: t
|
|
@@ -4282,7 +4296,7 @@ function Xc(r) {
|
|
|
4282
4296
|
typeof e[a + 1] < "u" ? n >= e[a] && n < e[a + 1] - (e[a + 1] - e[a]) / 2 ? i = a : n >= e[a] && n < e[a + 1] && (i = a + 1) : n >= e[a] && (i = a);
|
|
4283
4297
|
return t.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
|
|
4284
4298
|
}
|
|
4285
|
-
function
|
|
4299
|
+
function Kc(r) {
|
|
4286
4300
|
const e = this, t = e.rtlTranslate ? e.translate : -e.translate, {
|
|
4287
4301
|
snapGrid: n,
|
|
4288
4302
|
params: i,
|
|
@@ -4295,7 +4309,7 @@ function Qc(r) {
|
|
|
4295
4309
|
let u = p - e.virtual.slidesBefore;
|
|
4296
4310
|
return u < 0 && (u = e.virtual.slides.length + u), u >= e.virtual.slides.length && (u -= e.virtual.slides.length), u;
|
|
4297
4311
|
};
|
|
4298
|
-
if (typeof s > "u" && (s =
|
|
4312
|
+
if (typeof s > "u" && (s = Qc(e)), n.indexOf(t) >= 0)
|
|
4299
4313
|
d = n.indexOf(t);
|
|
4300
4314
|
else {
|
|
4301
4315
|
const p = Math.min(i.slidesPerGroupSkip, s);
|
|
@@ -4331,7 +4345,7 @@ function Qc(r) {
|
|
|
4331
4345
|
activeIndex: s
|
|
4332
4346
|
}), e.initialized && fr(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== f && e.emit("realIndexChange"), e.emit("slideChange"));
|
|
4333
4347
|
}
|
|
4334
|
-
function
|
|
4348
|
+
function Zc(r, e) {
|
|
4335
4349
|
const t = this, n = t.params;
|
|
4336
4350
|
let i = r.closest(`.${n.slideClass}, swiper-slide`);
|
|
4337
4351
|
!i && t.isElement && e && e.length > 1 && e.includes(r) && [...e.slice(e.indexOf(r) + 1, e.length)].forEach((o) => {
|
|
@@ -4353,18 +4367,18 @@ function Kc(r, e) {
|
|
|
4353
4367
|
}
|
|
4354
4368
|
n.slideToClickedSlide && t.clickedIndex !== void 0 && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide();
|
|
4355
4369
|
}
|
|
4356
|
-
var
|
|
4357
|
-
updateSize:
|
|
4358
|
-
updateSlides:
|
|
4359
|
-
updateAutoHeight:
|
|
4360
|
-
updateSlidesOffset:
|
|
4361
|
-
updateSlidesProgress:
|
|
4362
|
-
updateProgress:
|
|
4363
|
-
updateSlidesClasses:
|
|
4364
|
-
updateActiveIndex:
|
|
4365
|
-
updateClickedSlide:
|
|
4370
|
+
var Jc = {
|
|
4371
|
+
updateSize: $c,
|
|
4372
|
+
updateSlides: jc,
|
|
4373
|
+
updateAutoHeight: Hc,
|
|
4374
|
+
updateSlidesOffset: Yc,
|
|
4375
|
+
updateSlidesProgress: qc,
|
|
4376
|
+
updateProgress: Uc,
|
|
4377
|
+
updateSlidesClasses: Xc,
|
|
4378
|
+
updateActiveIndex: Kc,
|
|
4379
|
+
updateClickedSlide: Zc
|
|
4366
4380
|
};
|
|
4367
|
-
function
|
|
4381
|
+
function ed(r) {
|
|
4368
4382
|
r === void 0 && (r = this.isHorizontal() ? "x" : "y");
|
|
4369
4383
|
const e = this, {
|
|
4370
4384
|
params: t,
|
|
@@ -4379,7 +4393,7 @@ function Jc(r) {
|
|
|
4379
4393
|
let l = Tc(a, r);
|
|
4380
4394
|
return l += e.cssOverflowAdjustment(), n && (l = -l), l || 0;
|
|
4381
4395
|
}
|
|
4382
|
-
function
|
|
4396
|
+
function td(r, e) {
|
|
4383
4397
|
const t = this, {
|
|
4384
4398
|
rtlTranslate: n,
|
|
4385
4399
|
params: i,
|
|
@@ -4393,13 +4407,13 @@ function ed(r, e) {
|
|
|
4393
4407
|
const h = t.maxTranslate() - t.minTranslate();
|
|
4394
4408
|
h === 0 ? c = 0 : c = (r - t.minTranslate()) / h, c !== l && t.updateProgress(r), t.emit("setTranslate", t.translate, e);
|
|
4395
4409
|
}
|
|
4396
|
-
function
|
|
4410
|
+
function rd() {
|
|
4397
4411
|
return -this.snapGrid[0];
|
|
4398
4412
|
}
|
|
4399
|
-
function
|
|
4413
|
+
function nd() {
|
|
4400
4414
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
4401
4415
|
}
|
|
4402
|
-
function
|
|
4416
|
+
function id(r, e, t, n, i) {
|
|
4403
4417
|
r === void 0 && (r = 0), e === void 0 && (e = this.params.speed), t === void 0 && (t = !0), n === void 0 && (n = !0);
|
|
4404
4418
|
const a = this, {
|
|
4405
4419
|
params: l,
|
|
@@ -4431,14 +4445,14 @@ function nd(r, e, t, n, i) {
|
|
|
4431
4445
|
!a || a.destroyed || f.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onTranslateToWrapperTransitionEnd), a.onTranslateToWrapperTransitionEnd = null, delete a.onTranslateToWrapperTransitionEnd, a.animating = !1, t && a.emit("transitionEnd"));
|
|
4432
4446
|
}), a.wrapperEl.addEventListener("transitionend", a.onTranslateToWrapperTransitionEnd))), !0;
|
|
4433
4447
|
}
|
|
4434
|
-
var
|
|
4435
|
-
getTranslate:
|
|
4436
|
-
setTranslate:
|
|
4437
|
-
minTranslate:
|
|
4438
|
-
maxTranslate:
|
|
4439
|
-
translateTo:
|
|
4448
|
+
var ad = {
|
|
4449
|
+
getTranslate: ed,
|
|
4450
|
+
setTranslate: td,
|
|
4451
|
+
minTranslate: rd,
|
|
4452
|
+
maxTranslate: nd,
|
|
4453
|
+
translateTo: id
|
|
4440
4454
|
};
|
|
4441
|
-
function
|
|
4455
|
+
function sd(r, e) {
|
|
4442
4456
|
const t = this;
|
|
4443
4457
|
t.params.cssMode || (t.wrapperEl.style.transitionDuration = `${r}ms`, t.wrapperEl.style.transitionDelay = r === 0 ? "0ms" : ""), t.emit("setTransition", r, e);
|
|
4444
4458
|
}
|
|
@@ -4462,7 +4476,7 @@ function ta(r) {
|
|
|
4462
4476
|
e.emit(`slideChangeTransition${i}`), o === "next" ? e.emit(`slideNextTransition${i}`) : e.emit(`slidePrevTransition${i}`);
|
|
4463
4477
|
}
|
|
4464
4478
|
}
|
|
4465
|
-
function
|
|
4479
|
+
function od(r, e) {
|
|
4466
4480
|
r === void 0 && (r = !0);
|
|
4467
4481
|
const t = this, {
|
|
4468
4482
|
params: n
|
|
@@ -4474,7 +4488,7 @@ function sd(r, e) {
|
|
|
4474
4488
|
step: "Start"
|
|
4475
4489
|
}));
|
|
4476
4490
|
}
|
|
4477
|
-
function
|
|
4491
|
+
function ld(r, e) {
|
|
4478
4492
|
r === void 0 && (r = !0);
|
|
4479
4493
|
const t = this, {
|
|
4480
4494
|
params: n
|
|
@@ -4486,12 +4500,12 @@ function od(r, e) {
|
|
|
4486
4500
|
step: "End"
|
|
4487
4501
|
}));
|
|
4488
4502
|
}
|
|
4489
|
-
var
|
|
4490
|
-
setTransition:
|
|
4491
|
-
transitionStart:
|
|
4492
|
-
transitionEnd:
|
|
4503
|
+
var cd = {
|
|
4504
|
+
setTransition: sd,
|
|
4505
|
+
transitionStart: od,
|
|
4506
|
+
transitionEnd: ld
|
|
4493
4507
|
};
|
|
4494
|
-
function
|
|
4508
|
+
function dd(r, e, t, n, i) {
|
|
4495
4509
|
r === void 0 && (r = 0), t === void 0 && (t = !0), typeof r == "string" && (r = parseInt(r, 10));
|
|
4496
4510
|
const a = this;
|
|
4497
4511
|
let l = r;
|
|
@@ -4514,9 +4528,9 @@ function cd(r, e, t, n, i) {
|
|
|
4514
4528
|
w >= s.length && (w = s.length - 1);
|
|
4515
4529
|
const y = -s[w];
|
|
4516
4530
|
if (o.normalizeSlideIndex)
|
|
4517
|
-
for (let
|
|
4518
|
-
const C = -Math.floor(y * 100),
|
|
4519
|
-
typeof d[
|
|
4531
|
+
for (let S = 0; S < d.length; S += 1) {
|
|
4532
|
+
const C = -Math.floor(y * 100), k = Math.floor(d[S] * 100), N = Math.floor(d[S + 1] * 100);
|
|
4533
|
+
typeof d[S + 1] < "u" ? C >= k && C < N - (N - k) / 2 ? l = S : C >= k && C < N && (l = S + 1) : C >= k && (l = S);
|
|
4520
4534
|
}
|
|
4521
4535
|
if (a.initialized && l !== h && (!a.allowSlideNext && (f ? y > a.translate && y > a.minTranslate() : y < a.translate && y < a.minTranslate()) || !a.allowSlidePrev && y > a.translate && y > a.maxTranslate() && (h || 0) !== l))
|
|
4522
4536
|
return !1;
|
|
@@ -4527,11 +4541,11 @@ function cd(r, e, t, n, i) {
|
|
|
4527
4541
|
if (!(v && i) && (f && -y === a.translate || !f && y === a.translate))
|
|
4528
4542
|
return a.updateActiveIndex(l), o.autoHeight && a.updateAutoHeight(), a.updateSlidesClasses(), o.effect !== "slide" && a.setTranslate(y), g !== "reset" && (a.transitionStart(t, g), a.transitionEnd(t, g)), !1;
|
|
4529
4543
|
if (o.cssMode) {
|
|
4530
|
-
const
|
|
4544
|
+
const S = a.isHorizontal(), C = f ? y : -y;
|
|
4531
4545
|
if (e === 0)
|
|
4532
4546
|
v && (a.wrapperEl.style.scrollSnapType = "none", a._immediateVirtual = !0), v && !a._cssModeVirtualInitialSet && a.params.initialSlide > 0 ? (a._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
|
|
4533
|
-
p[
|
|
4534
|
-
})) : p[
|
|
4547
|
+
p[S ? "scrollLeft" : "scrollTop"] = C;
|
|
4548
|
+
})) : p[S ? "scrollLeft" : "scrollTop"] = C, v && requestAnimationFrame(() => {
|
|
4535
4549
|
a.wrapperEl.style.scrollSnapType = "", a._immediateVirtual = !1;
|
|
4536
4550
|
});
|
|
4537
4551
|
else {
|
|
@@ -4539,10 +4553,10 @@ function cd(r, e, t, n, i) {
|
|
|
4539
4553
|
return Xi({
|
|
4540
4554
|
swiper: a,
|
|
4541
4555
|
targetPosition: C,
|
|
4542
|
-
side:
|
|
4556
|
+
side: S ? "left" : "top"
|
|
4543
4557
|
}), !0;
|
|
4544
4558
|
p.scrollTo({
|
|
4545
|
-
[
|
|
4559
|
+
[S ? "left" : "top"]: C,
|
|
4546
4560
|
behavior: "smooth"
|
|
4547
4561
|
});
|
|
4548
4562
|
}
|
|
@@ -4552,7 +4566,7 @@ function cd(r, e, t, n, i) {
|
|
|
4552
4566
|
!a || a.destroyed || C.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onSlideToWrapperTransitionEnd), a.onSlideToWrapperTransitionEnd = null, delete a.onSlideToWrapperTransitionEnd, a.transitionEnd(t, g));
|
|
4553
4567
|
}), a.wrapperEl.addEventListener("transitionend", a.onSlideToWrapperTransitionEnd)), !0;
|
|
4554
4568
|
}
|
|
4555
|
-
function
|
|
4569
|
+
function ud(r, e, t, n) {
|
|
4556
4570
|
r === void 0 && (r = 0), t === void 0 && (t = !0), typeof r == "string" && (r = parseInt(r, 10));
|
|
4557
4571
|
const i = this;
|
|
4558
4572
|
if (i.destroyed) return;
|
|
@@ -4594,7 +4608,7 @@ function dd(r, e, t, n) {
|
|
|
4594
4608
|
i.slideTo(l, e, t, n);
|
|
4595
4609
|
}), i;
|
|
4596
4610
|
}
|
|
4597
|
-
function
|
|
4611
|
+
function fd(r, e, t) {
|
|
4598
4612
|
e === void 0 && (e = !0);
|
|
4599
4613
|
const n = this, {
|
|
4600
4614
|
enabled: i,
|
|
@@ -4617,7 +4631,7 @@ function ud(r, e, t) {
|
|
|
4617
4631
|
}
|
|
4618
4632
|
return a.rewind && n.isEnd ? n.slideTo(0, r, e, t) : n.slideTo(n.activeIndex + s, r, e, t);
|
|
4619
4633
|
}
|
|
4620
|
-
function
|
|
4634
|
+
function pd(r, e, t) {
|
|
4621
4635
|
e === void 0 && (e = !0);
|
|
4622
4636
|
const n = this, {
|
|
4623
4637
|
params: i,
|
|
@@ -4658,13 +4672,13 @@ function fd(r, e, t) {
|
|
|
4658
4672
|
}), !0;
|
|
4659
4673
|
return n.slideTo(w, r, e, t);
|
|
4660
4674
|
}
|
|
4661
|
-
function
|
|
4675
|
+
function md(r, e, t) {
|
|
4662
4676
|
e === void 0 && (e = !0);
|
|
4663
4677
|
const n = this;
|
|
4664
4678
|
if (!n.destroyed)
|
|
4665
4679
|
return typeof r > "u" && (r = n.params.speed), n.slideTo(n.activeIndex, r, e, t);
|
|
4666
4680
|
}
|
|
4667
|
-
function
|
|
4681
|
+
function hd(r, e, t, n) {
|
|
4668
4682
|
e === void 0 && (e = !0), n === void 0 && (n = 0.5);
|
|
4669
4683
|
const i = this;
|
|
4670
4684
|
if (i.destroyed) return;
|
|
@@ -4680,7 +4694,7 @@ function md(r, e, t, n) {
|
|
|
4680
4694
|
}
|
|
4681
4695
|
return a = Math.max(a, 0), a = Math.min(a, i.slidesGrid.length - 1), i.slideTo(a, r, e, t);
|
|
4682
4696
|
}
|
|
4683
|
-
function
|
|
4697
|
+
function gd() {
|
|
4684
4698
|
const r = this;
|
|
4685
4699
|
if (r.destroyed) return;
|
|
4686
4700
|
const {
|
|
@@ -4699,16 +4713,16 @@ function hd() {
|
|
|
4699
4713
|
} else
|
|
4700
4714
|
r.slideTo(i);
|
|
4701
4715
|
}
|
|
4702
|
-
var
|
|
4703
|
-
slideTo:
|
|
4704
|
-
slideToLoop:
|
|
4705
|
-
slideNext:
|
|
4706
|
-
slidePrev:
|
|
4707
|
-
slideReset:
|
|
4708
|
-
slideToClosest:
|
|
4709
|
-
slideToClickedSlide:
|
|
4716
|
+
var vd = {
|
|
4717
|
+
slideTo: dd,
|
|
4718
|
+
slideToLoop: ud,
|
|
4719
|
+
slideNext: fd,
|
|
4720
|
+
slidePrev: pd,
|
|
4721
|
+
slideReset: md,
|
|
4722
|
+
slideToClosest: hd,
|
|
4723
|
+
slideToClickedSlide: gd
|
|
4710
4724
|
};
|
|
4711
|
-
function
|
|
4725
|
+
function wd(r) {
|
|
4712
4726
|
const e = this, {
|
|
4713
4727
|
params: t,
|
|
4714
4728
|
slidesEl: n
|
|
@@ -4720,7 +4734,7 @@ function vd(r) {
|
|
|
4720
4734
|
});
|
|
4721
4735
|
}, a = e.grid && t.grid && t.grid.rows > 1, l = t.slidesPerGroup * (a ? t.grid.rows : 1), o = e.slides.length % l !== 0, s = a && e.slides.length % t.grid.rows !== 0, d = (c) => {
|
|
4722
4736
|
for (let h = 0; h < c; h += 1) {
|
|
4723
|
-
const f = e.isElement ?
|
|
4737
|
+
const f = e.isElement ? Nt("swiper-slide", [t.slideBlankClass]) : Nt("div", [t.slideClass, t.slideBlankClass]);
|
|
4724
4738
|
e.slidesEl.append(f);
|
|
4725
4739
|
}
|
|
4726
4740
|
};
|
|
@@ -4745,7 +4759,7 @@ function vd(r) {
|
|
|
4745
4759
|
direction: t.centeredSlides ? void 0 : "next"
|
|
4746
4760
|
});
|
|
4747
4761
|
}
|
|
4748
|
-
function
|
|
4762
|
+
function bd(r) {
|
|
4749
4763
|
let {
|
|
4750
4764
|
slideRealIndex: e,
|
|
4751
4765
|
slideTo: t = !0,
|
|
@@ -4779,26 +4793,26 @@ function wd(r) {
|
|
|
4779
4793
|
const g = s.grid && p.grid && p.grid.rows > 1;
|
|
4780
4794
|
d.length < m + y ? It("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : g && p.grid.fill === "row" && It("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
4781
4795
|
const v = [], x = [];
|
|
4782
|
-
let
|
|
4783
|
-
typeof a > "u" ? a = s.getSlideIndex(d.filter((P) => P.classList.contains(p.slideActiveClass))[0]) :
|
|
4784
|
-
const C = n === "next" || !n,
|
|
4785
|
-
let
|
|
4786
|
-
const
|
|
4787
|
-
if (
|
|
4788
|
-
|
|
4789
|
-
for (let P = 0; P < y -
|
|
4790
|
-
const L = P - Math.floor(P /
|
|
4796
|
+
let S = s.activeIndex;
|
|
4797
|
+
typeof a > "u" ? a = s.getSlideIndex(d.filter((P) => P.classList.contains(p.slideActiveClass))[0]) : S = a;
|
|
4798
|
+
const C = n === "next" || !n, k = n === "prev" || !n;
|
|
4799
|
+
let N = 0, E = 0;
|
|
4800
|
+
const T = g ? Math.ceil(d.length / p.grid.rows) : d.length, A = (g ? d[a].column : a) + (u && typeof i > "u" ? -m / 2 + 0.5 : 0);
|
|
4801
|
+
if (A < y) {
|
|
4802
|
+
N = Math.max(y - A, w);
|
|
4803
|
+
for (let P = 0; P < y - A; P += 1) {
|
|
4804
|
+
const L = P - Math.floor(P / T) * T;
|
|
4791
4805
|
if (g) {
|
|
4792
|
-
const R =
|
|
4806
|
+
const R = T - L - 1;
|
|
4793
4807
|
for (let X = d.length - 1; X >= 0; X -= 1)
|
|
4794
4808
|
d[X].column === R && v.push(X);
|
|
4795
4809
|
} else
|
|
4796
|
-
v.push(
|
|
4810
|
+
v.push(T - L - 1);
|
|
4797
4811
|
}
|
|
4798
|
-
} else if (
|
|
4799
|
-
E = Math.max(
|
|
4812
|
+
} else if (A + m > T - y) {
|
|
4813
|
+
E = Math.max(A - (T - y * 2), w);
|
|
4800
4814
|
for (let P = 0; P < E; P += 1) {
|
|
4801
|
-
const L = P - Math.floor(P /
|
|
4815
|
+
const L = P - Math.floor(P / T) * T;
|
|
4802
4816
|
g ? d.forEach((R, X) => {
|
|
4803
4817
|
R.column === L && x.push(X);
|
|
4804
4818
|
}) : x.push(L);
|
|
@@ -4806,25 +4820,25 @@ function wd(r) {
|
|
|
4806
4820
|
}
|
|
4807
4821
|
if (s.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
4808
4822
|
s.__preventObserver__ = !1;
|
|
4809
|
-
}),
|
|
4823
|
+
}), k && v.forEach((P) => {
|
|
4810
4824
|
d[P].swiperLoopMoveDOM = !0, f.prepend(d[P]), d[P].swiperLoopMoveDOM = !1;
|
|
4811
4825
|
}), C && x.forEach((P) => {
|
|
4812
4826
|
d[P].swiperLoopMoveDOM = !0, f.append(d[P]), d[P].swiperLoopMoveDOM = !1;
|
|
4813
|
-
}), s.recalcSlides(), p.slidesPerView === "auto" ? s.updateSlides() : g && (v.length > 0 &&
|
|
4827
|
+
}), s.recalcSlides(), p.slidesPerView === "auto" ? s.updateSlides() : g && (v.length > 0 && k || x.length > 0 && C) && s.slides.forEach((P, L) => {
|
|
4814
4828
|
s.grid.updateSlide(L, P, s.slides);
|
|
4815
4829
|
}), p.watchSlidesProgress && s.updateSlidesOffset(), t) {
|
|
4816
|
-
if (v.length > 0 &&
|
|
4830
|
+
if (v.length > 0 && k) {
|
|
4817
4831
|
if (typeof e > "u") {
|
|
4818
|
-
const P = s.slidesGrid[
|
|
4819
|
-
o ? s.setTranslate(s.translate - R) : (s.slideTo(
|
|
4832
|
+
const P = s.slidesGrid[S], R = s.slidesGrid[S + N] - P;
|
|
4833
|
+
o ? s.setTranslate(s.translate - R) : (s.slideTo(S + Math.ceil(N), 0, !1, !0), i && (s.touchEventsData.startTranslate = s.touchEventsData.startTranslate - R, s.touchEventsData.currentTranslate = s.touchEventsData.currentTranslate - R));
|
|
4820
4834
|
} else if (i) {
|
|
4821
4835
|
const P = g ? v.length / p.grid.rows : v.length;
|
|
4822
4836
|
s.slideTo(s.activeIndex + P, 0, !1, !0), s.touchEventsData.currentTranslate = s.translate;
|
|
4823
4837
|
}
|
|
4824
4838
|
} else if (x.length > 0 && C)
|
|
4825
4839
|
if (typeof e > "u") {
|
|
4826
|
-
const P = s.slidesGrid[
|
|
4827
|
-
o ? s.setTranslate(s.translate - R) : (s.slideTo(
|
|
4840
|
+
const P = s.slidesGrid[S], R = s.slidesGrid[S - E] - P;
|
|
4841
|
+
o ? s.setTranslate(s.translate - R) : (s.slideTo(S - E, 0, !1, !0), i && (s.touchEventsData.startTranslate = s.touchEventsData.startTranslate - R, s.touchEventsData.currentTranslate = s.touchEventsData.currentTranslate - R));
|
|
4828
4842
|
} else {
|
|
4829
4843
|
const P = g ? x.length / p.grid.rows : x.length;
|
|
4830
4844
|
s.slideTo(s.activeIndex - P, 0, !1, !0);
|
|
@@ -4850,7 +4864,7 @@ function wd(r) {
|
|
|
4850
4864
|
}
|
|
4851
4865
|
s.emit("loopFix");
|
|
4852
4866
|
}
|
|
4853
|
-
function
|
|
4867
|
+
function yd() {
|
|
4854
4868
|
const r = this, {
|
|
4855
4869
|
params: e,
|
|
4856
4870
|
slidesEl: t
|
|
@@ -4867,12 +4881,12 @@ function bd() {
|
|
|
4867
4881
|
t.append(i);
|
|
4868
4882
|
}), r.recalcSlides(), r.slideTo(r.realIndex, 0);
|
|
4869
4883
|
}
|
|
4870
|
-
var
|
|
4871
|
-
loopCreate:
|
|
4872
|
-
loopFix:
|
|
4873
|
-
loopDestroy:
|
|
4884
|
+
var xd = {
|
|
4885
|
+
loopCreate: wd,
|
|
4886
|
+
loopFix: bd,
|
|
4887
|
+
loopDestroy: yd
|
|
4874
4888
|
};
|
|
4875
|
-
function
|
|
4889
|
+
function Sd(r) {
|
|
4876
4890
|
const e = this;
|
|
4877
4891
|
if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
|
|
4878
4892
|
const t = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
|
|
@@ -4886,11 +4900,11 @@ function Td() {
|
|
|
4886
4900
|
r.__preventObserver__ = !1;
|
|
4887
4901
|
}));
|
|
4888
4902
|
}
|
|
4889
|
-
var
|
|
4890
|
-
setGrabCursor:
|
|
4903
|
+
var Cd = {
|
|
4904
|
+
setGrabCursor: Sd,
|
|
4891
4905
|
unsetGrabCursor: Td
|
|
4892
4906
|
};
|
|
4893
|
-
function
|
|
4907
|
+
function Ed(r, e) {
|
|
4894
4908
|
e === void 0 && (e = this);
|
|
4895
4909
|
function t(n) {
|
|
4896
4910
|
if (!n || n === Ee() || n === oe()) return null;
|
|
@@ -4906,7 +4920,7 @@ function an(r, e, t) {
|
|
|
4906
4920
|
} = r, a = i.edgeSwipeDetection, l = i.edgeSwipeThreshold;
|
|
4907
4921
|
return a && (t <= l || t >= n.innerWidth - l) ? a === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
|
|
4908
4922
|
}
|
|
4909
|
-
function
|
|
4923
|
+
function Pd(r) {
|
|
4910
4924
|
const e = this, t = Ee();
|
|
4911
4925
|
let n = r;
|
|
4912
4926
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -4929,11 +4943,11 @@ function Ed(r) {
|
|
|
4929
4943
|
return;
|
|
4930
4944
|
!e.animating && a.cssMode && a.loop && e.loopFix();
|
|
4931
4945
|
let s = n.target;
|
|
4932
|
-
if (a.touchEventsTarget === "wrapper" && !
|
|
4946
|
+
if (a.touchEventsTarget === "wrapper" && !Ec(s, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || i.isTouched && i.isMoved) return;
|
|
4933
4947
|
const d = !!a.noSwipingClass && a.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
|
|
4934
4948
|
d && n.target && n.target.shadowRoot && c && (s = c[0]);
|
|
4935
4949
|
const h = a.noSwipingSelector ? a.noSwipingSelector : `.${a.noSwipingClass}`, f = !!(n.target && n.target.shadowRoot);
|
|
4936
|
-
if (a.noSwiping && (f ?
|
|
4950
|
+
if (a.noSwiping && (f ? Ed(h, s) : s.closest(h))) {
|
|
4937
4951
|
e.allowClick = !0;
|
|
4938
4952
|
return;
|
|
4939
4953
|
}
|
|
@@ -4955,7 +4969,7 @@ function Ed(r) {
|
|
|
4955
4969
|
const w = m && e.allowTouchMove && a.touchStartPreventDefault;
|
|
4956
4970
|
(a.touchStartForcePreventDefault || w) && !s.isContentEditable && n.preventDefault(), a.freeMode && a.freeMode.enabled && e.freeMode && e.animating && !a.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
|
|
4957
4971
|
}
|
|
4958
|
-
function
|
|
4972
|
+
function Md(r) {
|
|
4959
4973
|
const e = Ee(), t = this, n = t.touchEventsData, {
|
|
4960
4974
|
params: i,
|
|
4961
4975
|
touches: a,
|
|
@@ -5048,16 +5062,16 @@ function Pd(r) {
|
|
|
5048
5062
|
return;
|
|
5049
5063
|
}
|
|
5050
5064
|
t.emit("sliderMove", s), n.isMoved = !0, n.currentTranslate = u + n.startTranslate;
|
|
5051
|
-
let x = !0,
|
|
5052
|
-
if (i.touchReleaseOnEdges && (
|
|
5065
|
+
let x = !0, S = i.resistanceRatio;
|
|
5066
|
+
if (i.touchReleaseOnEdges && (S = 0), u > 0 ? (y && g && !v && n.allowThresholdMove && n.currentTranslate > (i.centeredSlides ? t.minTranslate() - t.slidesSizesGrid[t.activeIndex + 1] - (i.slidesPerView !== "auto" && t.slides.length - i.slidesPerView >= 2 ? t.slidesSizesGrid[t.activeIndex + 1] + t.params.spaceBetween : 0) - t.params.spaceBetween : t.minTranslate()) && t.loopFix({
|
|
5053
5067
|
direction: "prev",
|
|
5054
5068
|
setTranslate: !0,
|
|
5055
5069
|
activeSlideIndex: 0
|
|
5056
|
-
}), n.currentTranslate > t.minTranslate() && (x = !1, i.resistance && (n.currentTranslate = t.minTranslate() - 1 + (-t.minTranslate() + n.startTranslate + u) **
|
|
5070
|
+
}), n.currentTranslate > t.minTranslate() && (x = !1, i.resistance && (n.currentTranslate = t.minTranslate() - 1 + (-t.minTranslate() + n.startTranslate + u) ** S))) : u < 0 && (y && g && !v && n.allowThresholdMove && n.currentTranslate < (i.centeredSlides ? t.maxTranslate() + t.slidesSizesGrid[t.slidesSizesGrid.length - 1] + t.params.spaceBetween + (i.slidesPerView !== "auto" && t.slides.length - i.slidesPerView >= 2 ? t.slidesSizesGrid[t.slidesSizesGrid.length - 1] + t.params.spaceBetween : 0) : t.maxTranslate()) && t.loopFix({
|
|
5057
5071
|
direction: "next",
|
|
5058
5072
|
setTranslate: !0,
|
|
5059
5073
|
activeSlideIndex: t.slides.length - (i.slidesPerView === "auto" ? t.slidesPerViewDynamic() : Math.ceil(parseFloat(i.slidesPerView, 10)))
|
|
5060
|
-
}), n.currentTranslate < t.maxTranslate() && (x = !1, i.resistance && (n.currentTranslate = t.maxTranslate() + 1 - (t.maxTranslate() - n.startTranslate - u) **
|
|
5074
|
+
}), n.currentTranslate < t.maxTranslate() && (x = !1, i.resistance && (n.currentTranslate = t.maxTranslate() + 1 - (t.maxTranslate() - n.startTranslate - u) ** S))), x && (s.preventedByNestedSwiper = !0), !t.allowSlideNext && t.swipeDirection === "next" && n.currentTranslate < n.startTranslate && (n.currentTranslate = n.startTranslate), !t.allowSlidePrev && t.swipeDirection === "prev" && n.currentTranslate > n.startTranslate && (n.currentTranslate = n.startTranslate), !t.allowSlidePrev && !t.allowSlideNext && (n.currentTranslate = n.startTranslate), i.threshold > 0)
|
|
5061
5075
|
if (Math.abs(u) > i.threshold || n.allowThresholdMove) {
|
|
5062
5076
|
if (!n.allowThresholdMove) {
|
|
5063
5077
|
n.allowThresholdMove = !0, a.startX = a.currentX, a.startY = a.currentY, n.currentTranslate = n.startTranslate, a.diff = t.isHorizontal() ? a.currentX - a.startX : a.currentY - a.startY;
|
|
@@ -5069,13 +5083,13 @@ function Pd(r) {
|
|
|
5069
5083
|
}
|
|
5070
5084
|
!i.followFinger || i.cssMode || ((i.freeMode && i.freeMode.enabled && t.freeMode || i.watchSlidesProgress) && (t.updateActiveIndex(), t.updateSlidesClasses()), i.freeMode && i.freeMode.enabled && t.freeMode && t.freeMode.onTouchMove(), t.updateProgress(n.currentTranslate), t.setTranslate(n.currentTranslate));
|
|
5071
5085
|
}
|
|
5072
|
-
function
|
|
5086
|
+
function Od(r) {
|
|
5073
5087
|
const e = this, t = e.touchEventsData;
|
|
5074
5088
|
let n = r;
|
|
5075
5089
|
n.originalEvent && (n = n.originalEvent);
|
|
5076
5090
|
let i;
|
|
5077
5091
|
if (n.type === "touchend" || n.type === "touchcancel") {
|
|
5078
|
-
if (i = [...n.changedTouches].filter((
|
|
5092
|
+
if (i = [...n.changedTouches].filter((S) => S.identifier === t.touchId)[0], !i || i.identifier !== t.touchId) return;
|
|
5079
5093
|
} else {
|
|
5080
5094
|
if (t.touchId !== null || n.pointerId !== t.pointerId) return;
|
|
5081
5095
|
i = n;
|
|
@@ -5098,8 +5112,8 @@ function Md(r) {
|
|
|
5098
5112
|
l.grabCursor && t.isMoved && t.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
|
|
5099
5113
|
const h = Ot(), f = h - t.touchStartTime;
|
|
5100
5114
|
if (e.allowClick) {
|
|
5101
|
-
const
|
|
5102
|
-
e.updateClickedSlide(
|
|
5115
|
+
const S = n.path || n.composedPath && n.composedPath();
|
|
5116
|
+
e.updateClickedSlide(S && S[0] || n.target, S), e.emit("tap click", n), f < 300 && h - t.lastClickTime < 300 && e.emit("doubleTap doubleClick", n);
|
|
5103
5117
|
}
|
|
5104
5118
|
if (t.lastClickTime = Ot(), dr(() => {
|
|
5105
5119
|
e.destroyed || (e.allowClick = !0);
|
|
@@ -5119,9 +5133,9 @@ function Md(r) {
|
|
|
5119
5133
|
}
|
|
5120
5134
|
const u = p >= -e.maxTranslate() && !e.params.loop;
|
|
5121
5135
|
let m = 0, w = e.slidesSizesGrid[0];
|
|
5122
|
-
for (let
|
|
5123
|
-
const C =
|
|
5124
|
-
typeof d[
|
|
5136
|
+
for (let S = 0; S < d.length; S += S < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
|
|
5137
|
+
const C = S < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
|
|
5138
|
+
typeof d[S + C] < "u" ? (u || p >= d[S] && p < d[S + C]) && (m = S, w = d[S + C] - d[S]) : (u || p >= d[S]) && (m = S, w = d[d.length - 1] - d[d.length - 2]);
|
|
5125
5139
|
}
|
|
5126
5140
|
let y = null, g = null;
|
|
5127
5141
|
l.rewind && (e.isBeginning ? g = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (y = 0));
|
|
@@ -5158,11 +5172,11 @@ function sn() {
|
|
|
5158
5172
|
r.autoplay && r.autoplay.running && r.autoplay.paused && r.autoplay.resume();
|
|
5159
5173
|
}, 500)), r.allowSlidePrev = i, r.allowSlideNext = n, r.params.watchOverflow && a !== r.snapGrid && r.checkOverflow();
|
|
5160
5174
|
}
|
|
5161
|
-
function
|
|
5175
|
+
function Id(r) {
|
|
5162
5176
|
const e = this;
|
|
5163
5177
|
e.enabled && (e.allowClick || (e.params.preventClicks && r.preventDefault(), e.params.preventClicksPropagation && e.animating && (r.stopPropagation(), r.stopImmediatePropagation())));
|
|
5164
5178
|
}
|
|
5165
|
-
function
|
|
5179
|
+
function Nd() {
|
|
5166
5180
|
const r = this, {
|
|
5167
5181
|
wrapperEl: e,
|
|
5168
5182
|
rtlTranslate: t,
|
|
@@ -5176,7 +5190,7 @@ function Id() {
|
|
|
5176
5190
|
}
|
|
5177
5191
|
function Ad(r) {
|
|
5178
5192
|
const e = this;
|
|
5179
|
-
|
|
5193
|
+
xt(e, r.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
|
|
5180
5194
|
}
|
|
5181
5195
|
function kd() {
|
|
5182
5196
|
const r = this;
|
|
@@ -5220,21 +5234,21 @@ const ra = (r, e) => {
|
|
|
5220
5234
|
capture: !0
|
|
5221
5235
|
}));
|
|
5222
5236
|
};
|
|
5223
|
-
function
|
|
5237
|
+
function Ld() {
|
|
5224
5238
|
const r = this, {
|
|
5225
5239
|
params: e
|
|
5226
5240
|
} = r;
|
|
5227
|
-
r.onTouchStart =
|
|
5241
|
+
r.onTouchStart = Pd.bind(r), r.onTouchMove = Md.bind(r), r.onTouchEnd = Od.bind(r), r.onDocumentTouchStart = kd.bind(r), e.cssMode && (r.onScroll = Nd.bind(r)), r.onClick = Id.bind(r), r.onLoad = Ad.bind(r), ra(r, "on");
|
|
5228
5242
|
}
|
|
5229
|
-
function
|
|
5243
|
+
function Dd() {
|
|
5230
5244
|
ra(this, "off");
|
|
5231
5245
|
}
|
|
5232
|
-
var
|
|
5233
|
-
attachEvents:
|
|
5234
|
-
detachEvents:
|
|
5246
|
+
var _d = {
|
|
5247
|
+
attachEvents: Ld,
|
|
5248
|
+
detachEvents: Dd
|
|
5235
5249
|
};
|
|
5236
5250
|
const on = (r, e) => r.grid && e.grid && e.grid.rows > 1;
|
|
5237
|
-
function
|
|
5251
|
+
function Fd() {
|
|
5238
5252
|
const r = this, {
|
|
5239
5253
|
realIndex: e,
|
|
5240
5254
|
initialized: t,
|
|
@@ -5247,8 +5261,8 @@ function _d() {
|
|
|
5247
5261
|
const s = (l in a ? a[l] : void 0) || r.originalParams, d = on(r, n), c = on(r, s), h = r.params.grabCursor, f = s.grabCursor, p = n.enabled;
|
|
5248
5262
|
d && !c ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), r.emitContainerClasses()) : !d && c && (i.classList.add(`${n.containerModifierClass}grid`), (s.grid.fill && s.grid.fill === "column" || !s.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), r.emitContainerClasses()), h && !f ? r.unsetGrabCursor() : !h && f && r.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((v) => {
|
|
5249
5263
|
if (typeof s[v] > "u") return;
|
|
5250
|
-
const x = n[v] && n[v].enabled,
|
|
5251
|
-
x && !
|
|
5264
|
+
const x = n[v] && n[v].enabled, S = s[v] && s[v].enabled;
|
|
5265
|
+
x && !S && r[v].disable(), !x && S && r[v].enable();
|
|
5252
5266
|
});
|
|
5253
5267
|
const u = s.direction && s.direction !== n.direction, m = n.loop && (s.slidesPerView !== n.slidesPerView || u), w = n.loop;
|
|
5254
5268
|
u && t && r.changeDirection(), ie(r.params, s);
|
|
@@ -5259,7 +5273,7 @@ function _d() {
|
|
|
5259
5273
|
allowSlidePrev: r.params.allowSlidePrev
|
|
5260
5274
|
}), p && !y ? r.disable() : !p && y && r.enable(), r.currentBreakpoint = l, r.emit("_beforeBreakpoint", s), t && (m ? (r.loopDestroy(), r.loopCreate(e), r.updateSlides()) : !w && g ? (r.loopCreate(e), r.updateSlides()) : w && !g && r.loopDestroy()), r.emit("breakpoint", s);
|
|
5261
5275
|
}
|
|
5262
|
-
function
|
|
5276
|
+
function zd(r, e, t) {
|
|
5263
5277
|
if (e === void 0 && (e = "window"), !r || e === "container" && !t) return;
|
|
5264
5278
|
let n = !1;
|
|
5265
5279
|
const i = oe(), a = e === "window" ? i.innerHeight : t.clientHeight, l = Object.keys(r).map((o) => {
|
|
@@ -5285,11 +5299,11 @@ function Fd(r, e, t) {
|
|
|
5285
5299
|
}
|
|
5286
5300
|
return n || "max";
|
|
5287
5301
|
}
|
|
5288
|
-
var
|
|
5289
|
-
setBreakpoint:
|
|
5290
|
-
getBreakpoint:
|
|
5302
|
+
var Vd = {
|
|
5303
|
+
setBreakpoint: Fd,
|
|
5304
|
+
getBreakpoint: zd
|
|
5291
5305
|
};
|
|
5292
|
-
function
|
|
5306
|
+
function Rd(r, e) {
|
|
5293
5307
|
const t = [];
|
|
5294
5308
|
return r.forEach((n) => {
|
|
5295
5309
|
typeof n == "object" ? Object.keys(n).forEach((i) => {
|
|
@@ -5297,14 +5311,14 @@ function Vd(r, e) {
|
|
|
5297
5311
|
}) : typeof n == "string" && t.push(e + n);
|
|
5298
5312
|
}), t;
|
|
5299
5313
|
}
|
|
5300
|
-
function
|
|
5314
|
+
function Bd() {
|
|
5301
5315
|
const r = this, {
|
|
5302
5316
|
classNames: e,
|
|
5303
5317
|
params: t,
|
|
5304
5318
|
rtl: n,
|
|
5305
5319
|
el: i,
|
|
5306
5320
|
device: a
|
|
5307
|
-
} = r, l =
|
|
5321
|
+
} = r, l = Rd(["initialized", t.direction, {
|
|
5308
5322
|
"free-mode": r.params.freeMode && t.freeMode.enabled
|
|
5309
5323
|
}, {
|
|
5310
5324
|
autoheight: t.autoHeight
|
|
@@ -5327,18 +5341,18 @@ function Rd() {
|
|
|
5327
5341
|
}], t.containerModifierClass);
|
|
5328
5342
|
e.push(...l), i.classList.add(...e), r.emitContainerClasses();
|
|
5329
5343
|
}
|
|
5330
|
-
function
|
|
5344
|
+
function Wd() {
|
|
5331
5345
|
const r = this, {
|
|
5332
5346
|
el: e,
|
|
5333
5347
|
classNames: t
|
|
5334
5348
|
} = r;
|
|
5335
5349
|
!e || typeof e == "string" || (e.classList.remove(...t), r.emitContainerClasses());
|
|
5336
5350
|
}
|
|
5337
|
-
var
|
|
5338
|
-
addClasses:
|
|
5339
|
-
removeClasses:
|
|
5351
|
+
var Gd = {
|
|
5352
|
+
addClasses: Bd,
|
|
5353
|
+
removeClasses: Wd
|
|
5340
5354
|
};
|
|
5341
|
-
function
|
|
5355
|
+
function $d() {
|
|
5342
5356
|
const r = this, {
|
|
5343
5357
|
isLocked: e,
|
|
5344
5358
|
params: t
|
|
@@ -5352,8 +5366,8 @@ function Gd() {
|
|
|
5352
5366
|
r.isLocked = r.snapGrid.length === 1;
|
|
5353
5367
|
t.allowSlideNext === !0 && (r.allowSlideNext = !r.isLocked), t.allowSlidePrev === !0 && (r.allowSlidePrev = !r.isLocked), e && e !== r.isLocked && (r.isEnd = !1), e !== r.isLocked && r.emit(r.isLocked ? "lock" : "unlock");
|
|
5354
5368
|
}
|
|
5355
|
-
var
|
|
5356
|
-
checkOverflow:
|
|
5369
|
+
var jd = {
|
|
5370
|
+
checkOverflow: $d
|
|
5357
5371
|
}, pr = {
|
|
5358
5372
|
init: !0,
|
|
5359
5373
|
direction: "horizontal",
|
|
@@ -5475,7 +5489,7 @@ var $d = {
|
|
|
5475
5489
|
// Internals
|
|
5476
5490
|
_emitClasses: !1
|
|
5477
5491
|
};
|
|
5478
|
-
function
|
|
5492
|
+
function Hd(r, e) {
|
|
5479
5493
|
return function(n) {
|
|
5480
5494
|
n === void 0 && (n = {});
|
|
5481
5495
|
const i = Object.keys(n)[0], a = n[i];
|
|
@@ -5495,19 +5509,19 @@ function jd(r, e) {
|
|
|
5495
5509
|
};
|
|
5496
5510
|
}
|
|
5497
5511
|
const nr = {
|
|
5498
|
-
eventsEmitter:
|
|
5499
|
-
update:
|
|
5500
|
-
translate:
|
|
5501
|
-
transition:
|
|
5502
|
-
slide:
|
|
5503
|
-
loop:
|
|
5504
|
-
grabCursor:
|
|
5505
|
-
events:
|
|
5506
|
-
breakpoints:
|
|
5507
|
-
checkOverflow:
|
|
5508
|
-
classes:
|
|
5512
|
+
eventsEmitter: Gc,
|
|
5513
|
+
update: Jc,
|
|
5514
|
+
translate: ad,
|
|
5515
|
+
transition: cd,
|
|
5516
|
+
slide: vd,
|
|
5517
|
+
loop: xd,
|
|
5518
|
+
grabCursor: Cd,
|
|
5519
|
+
events: _d,
|
|
5520
|
+
breakpoints: Vd,
|
|
5521
|
+
checkOverflow: jd,
|
|
5522
|
+
classes: Gd
|
|
5509
5523
|
}, ir = {};
|
|
5510
|
-
let
|
|
5524
|
+
let Ar = class Te {
|
|
5511
5525
|
constructor() {
|
|
5512
5526
|
let e, t;
|
|
5513
5527
|
for (var n = arguments.length, i = new Array(n), a = 0; a < n; a++)
|
|
@@ -5520,19 +5534,19 @@ let kr = class Se {
|
|
|
5520
5534
|
const f = ie({}, t, {
|
|
5521
5535
|
el: h
|
|
5522
5536
|
});
|
|
5523
|
-
c.push(new
|
|
5537
|
+
c.push(new Te(f));
|
|
5524
5538
|
}), c;
|
|
5525
5539
|
}
|
|
5526
5540
|
const o = this;
|
|
5527
5541
|
o.__swiper__ = !0, o.support = Ji(), o.device = ea({
|
|
5528
5542
|
userAgent: t.userAgent
|
|
5529
|
-
}), o.browser =
|
|
5543
|
+
}), o.browser = Rc(), o.eventsListeners = {}, o.eventsAnyListeners = [], o.modules = [...o.__modules__], t.modules && Array.isArray(t.modules) && o.modules.push(...t.modules);
|
|
5530
5544
|
const s = {};
|
|
5531
5545
|
o.modules.forEach((c) => {
|
|
5532
5546
|
c({
|
|
5533
5547
|
params: t,
|
|
5534
5548
|
swiper: o,
|
|
5535
|
-
extendParams:
|
|
5549
|
+
extendParams: Hd(t, s),
|
|
5536
5550
|
on: o.on.bind(o),
|
|
5537
5551
|
once: o.once.bind(o),
|
|
5538
5552
|
off: o.off.bind(o),
|
|
@@ -5631,8 +5645,8 @@ let kr = class Se {
|
|
|
5631
5645
|
const {
|
|
5632
5646
|
slidesEl: t,
|
|
5633
5647
|
params: n
|
|
5634
|
-
} = this, i = we(t, `.${n.slideClass}, swiper-slide`), a =
|
|
5635
|
-
return
|
|
5648
|
+
} = this, i = we(t, `.${n.slideClass}, swiper-slide`), a = At(i[0]);
|
|
5649
|
+
return At(e) - a;
|
|
5636
5650
|
}
|
|
5637
5651
|
getSlideIndexByData(e) {
|
|
5638
5652
|
return this.getSlideIndex(this.slides.filter((t) => t.getAttribute("data-swiper-slide-index") * 1 === e)[0]);
|
|
@@ -5714,7 +5728,7 @@ let kr = class Se {
|
|
|
5714
5728
|
params: n
|
|
5715
5729
|
} = e;
|
|
5716
5730
|
n.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((l) => {
|
|
5717
|
-
l.complete &&
|
|
5731
|
+
l.complete && xt(e, l);
|
|
5718
5732
|
}), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
|
|
5719
5733
|
function i() {
|
|
5720
5734
|
const l = e.rtlTranslate ? e.translate * -1 : e.translate, o = Math.min(Math.max(l, e.maxTranslate()), e.minTranslate());
|
|
@@ -5753,7 +5767,7 @@ let kr = class Se {
|
|
|
5753
5767
|
n.swiper = t, n.parentNode && n.parentNode.host && n.parentNode.host.nodeName === t.params.swiperElementNodeName.toUpperCase() && (t.isElement = !0);
|
|
5754
5768
|
const i = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`;
|
|
5755
5769
|
let l = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(i()) : we(n, i())[0];
|
|
5756
|
-
return !l && t.params.createElements && (l =
|
|
5770
|
+
return !l && t.params.createElements && (l = Nt("div", t.params.wrapperClass), n.append(l), we(n, `.${t.params.slideClass}`).forEach((o) => {
|
|
5757
5771
|
l.append(o);
|
|
5758
5772
|
})), Object.assign(t, {
|
|
5759
5773
|
el: n,
|
|
@@ -5762,9 +5776,9 @@ let kr = class Se {
|
|
|
5762
5776
|
hostEl: t.isElement ? n.parentNode.host : n,
|
|
5763
5777
|
mounted: !0,
|
|
5764
5778
|
// RTL
|
|
5765
|
-
rtl: n.dir.toLowerCase() === "rtl" ||
|
|
5766
|
-
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" ||
|
|
5767
|
-
wrongRTL:
|
|
5779
|
+
rtl: n.dir.toLowerCase() === "rtl" || Ne(n, "direction") === "rtl",
|
|
5780
|
+
rtlTranslate: t.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || Ne(n, "direction") === "rtl"),
|
|
5781
|
+
wrongRTL: Ne(l, "display") === "-webkit-box"
|
|
5768
5782
|
}), !0;
|
|
5769
5783
|
}
|
|
5770
5784
|
init(e) {
|
|
@@ -5773,8 +5787,8 @@ let kr = class Se {
|
|
|
5773
5787
|
t.emit("beforeInit"), t.params.breakpoints && t.setBreakpoint(), t.addClasses(), t.updateSize(), t.updateSlides(), t.params.watchOverflow && t.checkOverflow(), t.params.grabCursor && t.enabled && t.setGrabCursor(), t.params.loop && t.virtual && t.params.virtual.enabled ? t.slideTo(t.params.initialSlide + t.virtual.slidesBefore, 0, t.params.runCallbacksOnInit, !1, !0) : t.slideTo(t.params.initialSlide, 0, t.params.runCallbacksOnInit, !1, !0), t.params.loop && t.loopCreate(), t.attachEvents();
|
|
5774
5788
|
const i = [...t.el.querySelectorAll('[loading="lazy"]')];
|
|
5775
5789
|
return t.isElement && i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')), i.forEach((a) => {
|
|
5776
|
-
a.complete ?
|
|
5777
|
-
|
|
5790
|
+
a.complete ? xt(t, a) : a.addEventListener("load", (l) => {
|
|
5791
|
+
xt(t, l.target);
|
|
5778
5792
|
});
|
|
5779
5793
|
}), fr(t), t.initialized = !0, fr(t), t.emit("init"), t.emit("afterInit"), t;
|
|
5780
5794
|
}
|
|
@@ -5790,7 +5804,7 @@ let kr = class Se {
|
|
|
5790
5804
|
s.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), s.removeAttribute("style"), s.removeAttribute("data-swiper-slide-index");
|
|
5791
5805
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((s) => {
|
|
5792
5806
|
n.off(s);
|
|
5793
|
-
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
5807
|
+
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), xc(n)), n.destroyed = !0), null;
|
|
5794
5808
|
}
|
|
5795
5809
|
static extendDefaults(e) {
|
|
5796
5810
|
ie(ir, e);
|
|
@@ -5802,20 +5816,20 @@ let kr = class Se {
|
|
|
5802
5816
|
return pr;
|
|
5803
5817
|
}
|
|
5804
5818
|
static installModule(e) {
|
|
5805
|
-
|
|
5806
|
-
const t =
|
|
5819
|
+
Te.prototype.__modules__ || (Te.prototype.__modules__ = []);
|
|
5820
|
+
const t = Te.prototype.__modules__;
|
|
5807
5821
|
typeof e == "function" && t.indexOf(e) < 0 && t.push(e);
|
|
5808
5822
|
}
|
|
5809
5823
|
static use(e) {
|
|
5810
|
-
return Array.isArray(e) ? (e.forEach((t) =>
|
|
5824
|
+
return Array.isArray(e) ? (e.forEach((t) => Te.installModule(t)), Te) : (Te.installModule(e), Te);
|
|
5811
5825
|
}
|
|
5812
5826
|
};
|
|
5813
5827
|
Object.keys(nr).forEach((r) => {
|
|
5814
5828
|
Object.keys(nr[r]).forEach((e) => {
|
|
5815
|
-
|
|
5829
|
+
Ar.prototype[e] = nr[r][e];
|
|
5816
5830
|
});
|
|
5817
5831
|
});
|
|
5818
|
-
|
|
5832
|
+
Ar.use([Bc, Wc]);
|
|
5819
5833
|
const na = [
|
|
5820
5834
|
"eventsPrefix",
|
|
5821
5835
|
"injectStyles",
|
|
@@ -5960,10 +5974,10 @@ function oa(r) {
|
|
|
5960
5974
|
t.indexOf(n) < 0 && t.push(n);
|
|
5961
5975
|
}), t.join(" ");
|
|
5962
5976
|
}
|
|
5963
|
-
function
|
|
5977
|
+
function Yd(r) {
|
|
5964
5978
|
return r === void 0 && (r = ""), r ? r.includes("swiper-wrapper") ? r : `swiper-wrapper ${r}` : "swiper-wrapper";
|
|
5965
5979
|
}
|
|
5966
|
-
function
|
|
5980
|
+
function qd(r) {
|
|
5967
5981
|
let {
|
|
5968
5982
|
swiper: e,
|
|
5969
5983
|
slides: t,
|
|
@@ -5982,21 +5996,21 @@ function Yd(r) {
|
|
|
5982
5996
|
virtual: u,
|
|
5983
5997
|
thumbs: m
|
|
5984
5998
|
} = e;
|
|
5985
|
-
let w, y, g, v, x,
|
|
5999
|
+
let w, y, g, v, x, S, C, k;
|
|
5986
6000
|
i.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (w = !0), i.includes("controller") && n.controller && n.controller.control && c.controller && !c.controller.control && (y = !0), i.includes("pagination") && n.pagination && (n.pagination.el || s) && (c.pagination || c.pagination === !1) && h && !h.el && (g = !0), i.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || o) && (c.scrollbar || c.scrollbar === !1) && p && !p.el && (v = !0), i.includes("navigation") && n.navigation && (n.navigation.prevEl || l) && (n.navigation.nextEl || a) && (c.navigation || c.navigation === !1) && f && !f.prevEl && !f.nextEl && (x = !0);
|
|
5987
|
-
const
|
|
6001
|
+
const N = (E) => {
|
|
5988
6002
|
e[E] && (e[E].destroy(), E === "navigation" ? (e.isElement && (e[E].prevEl.remove(), e[E].nextEl.remove()), c[E].prevEl = void 0, c[E].nextEl = void 0, e[E].prevEl = void 0, e[E].nextEl = void 0) : (e.isElement && e[E].el.remove(), c[E].el = void 0, e[E].el = void 0));
|
|
5989
6003
|
};
|
|
5990
|
-
i.includes("loop") && e.isElement && (c.loop && !n.loop ?
|
|
6004
|
+
i.includes("loop") && e.isElement && (c.loop && !n.loop ? S = !0 : !c.loop && n.loop ? C = !0 : k = !0), d.forEach((E) => {
|
|
5991
6005
|
if (Ve(c[E]) && Ve(n[E]))
|
|
5992
|
-
Object.assign(c[E], n[E]), (E === "navigation" || E === "pagination" || E === "scrollbar") && "enabled" in n[E] && !n[E].enabled &&
|
|
6006
|
+
Object.assign(c[E], n[E]), (E === "navigation" || E === "pagination" || E === "scrollbar") && "enabled" in n[E] && !n[E].enabled && N(E);
|
|
5993
6007
|
else {
|
|
5994
|
-
const
|
|
5995
|
-
(
|
|
6008
|
+
const T = n[E];
|
|
6009
|
+
(T === !0 || T === !1) && (E === "navigation" || E === "pagination" || E === "scrollbar") ? T === !1 && N(E) : c[E] = n[E];
|
|
5996
6010
|
}
|
|
5997
|
-
}), d.includes("controller") && !y && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), i.includes("children") && t && u && c.virtual.enabled ? (u.slides = t, u.update(!0)) : i.includes("virtual") && u && c.virtual.enabled && (t && (u.slides = t), u.update(!0)), i.includes("children") && t && c.loop && (
|
|
6011
|
+
}), d.includes("controller") && !y && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), i.includes("children") && t && u && c.virtual.enabled ? (u.slides = t, u.update(!0)) : i.includes("virtual") && u && c.virtual.enabled && (t && (u.slides = t), u.update(!0)), i.includes("children") && t && c.loop && (k = !0), w && m.init() && m.update(!0), y && (e.controller.control = c.controller.control), g && (e.isElement && (!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-pagination"), s.part.add("pagination"), e.el.appendChild(s)), s && (c.pagination.el = s), h.init(), h.render(), h.update()), v && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-scrollbar"), o.part.add("scrollbar"), e.el.appendChild(o)), o && (c.scrollbar.el = o), p.init(), p.updateSize(), p.setTranslate()), x && (e.isElement && ((!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-button-next"), a.innerHTML = e.hostEl.constructor.nextButtonSvg, a.part.add("button-next"), e.el.appendChild(a)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), l.innerHTML = e.hostEl.constructor.prevButtonSvg, l.part.add("button-prev"), e.el.appendChild(l))), a && (c.navigation.nextEl = a), l && (c.navigation.prevEl = l), f.init(), f.update()), i.includes("allowSlideNext") && (e.allowSlideNext = n.allowSlideNext), i.includes("allowSlidePrev") && (e.allowSlidePrev = n.allowSlidePrev), i.includes("direction") && e.changeDirection(n.direction, !1), (S || k) && e.loopDestroy(), (C || k) && e.loopCreate(), e.update();
|
|
5998
6012
|
}
|
|
5999
|
-
function
|
|
6013
|
+
function Ud(r, e) {
|
|
6000
6014
|
r === void 0 && (r = {}), e === void 0 && (e = !0);
|
|
6001
6015
|
const t = {
|
|
6002
6016
|
on: {}
|
|
@@ -6014,7 +6028,7 @@ function qd(r, e) {
|
|
|
6014
6028
|
events: n
|
|
6015
6029
|
};
|
|
6016
6030
|
}
|
|
6017
|
-
function
|
|
6031
|
+
function Xd(r, e) {
|
|
6018
6032
|
let {
|
|
6019
6033
|
el: t,
|
|
6020
6034
|
nextEl: n,
|
|
@@ -6025,7 +6039,7 @@ function Ud(r, e) {
|
|
|
6025
6039
|
} = r;
|
|
6026
6040
|
ia(e) && n && i && (o.params.navigation.nextEl = n, o.originalParams.navigation.nextEl = n, o.params.navigation.prevEl = i, o.originalParams.navigation.prevEl = i), aa(e) && a && (o.params.pagination.el = a, o.originalParams.pagination.el = a), sa(e) && l && (o.params.scrollbar.el = l, o.originalParams.scrollbar.el = l), o.init(t);
|
|
6027
6041
|
}
|
|
6028
|
-
function
|
|
6042
|
+
function Qd(r, e, t, n, i) {
|
|
6029
6043
|
const a = [];
|
|
6030
6044
|
if (!e) return a;
|
|
6031
6045
|
const l = (s) => {
|
|
@@ -6047,18 +6061,18 @@ function Xd(r, e, t, n, i) {
|
|
|
6047
6061
|
} else r[s] !== e[s] && l(s);
|
|
6048
6062
|
}), a;
|
|
6049
6063
|
}
|
|
6050
|
-
const
|
|
6064
|
+
const Kd = (r) => {
|
|
6051
6065
|
!r || r.destroyed || !r.params.virtual || r.params.virtual && !r.params.virtual.enabled || (r.updateSlides(), r.updateProgress(), r.updateSlidesClasses(), r.parallax && r.params.parallax && r.params.parallax.enabled && r.parallax.setTranslate());
|
|
6052
6066
|
};
|
|
6053
|
-
function
|
|
6054
|
-
return
|
|
6067
|
+
function kt() {
|
|
6068
|
+
return kt = Object.assign ? Object.assign.bind() : function(r) {
|
|
6055
6069
|
for (var e = 1; e < arguments.length; e++) {
|
|
6056
6070
|
var t = arguments[e];
|
|
6057
6071
|
for (var n in t)
|
|
6058
6072
|
Object.prototype.hasOwnProperty.call(t, n) && (r[n] = t[n]);
|
|
6059
6073
|
}
|
|
6060
6074
|
return r;
|
|
6061
|
-
},
|
|
6075
|
+
}, kt.apply(this, arguments);
|
|
6062
6076
|
}
|
|
6063
6077
|
function la(r) {
|
|
6064
6078
|
return r.type && r.type.displayName && r.type.displayName.includes("SwiperSlide");
|
|
@@ -6069,7 +6083,7 @@ function ca(r) {
|
|
|
6069
6083
|
la(t) ? e.push(t) : t.props && t.props.children && ca(t.props.children).forEach((n) => e.push(n));
|
|
6070
6084
|
}), e;
|
|
6071
6085
|
}
|
|
6072
|
-
function
|
|
6086
|
+
function Zd(r) {
|
|
6073
6087
|
const e = [], t = {
|
|
6074
6088
|
"container-start": [],
|
|
6075
6089
|
"container-end": [],
|
|
@@ -6091,7 +6105,7 @@ function Kd(r) {
|
|
|
6091
6105
|
slots: t
|
|
6092
6106
|
};
|
|
6093
6107
|
}
|
|
6094
|
-
function
|
|
6108
|
+
function Jd(r, e, t) {
|
|
6095
6109
|
if (!t) return null;
|
|
6096
6110
|
const n = (c) => {
|
|
6097
6111
|
let h = c;
|
|
@@ -6112,10 +6126,10 @@ function Zd(r, e, t) {
|
|
|
6112
6126
|
key: c.props.virtualIndex || c.key || `slide-${h}`
|
|
6113
6127
|
}));
|
|
6114
6128
|
}
|
|
6115
|
-
function
|
|
6129
|
+
function lt(r, e) {
|
|
6116
6130
|
return typeof window > "u" ? Xe(r, e) : Ka(r, e);
|
|
6117
6131
|
}
|
|
6118
|
-
const ln = /* @__PURE__ */ wn(null),
|
|
6132
|
+
const ln = /* @__PURE__ */ wn(null), eu = /* @__PURE__ */ wn(null), da = /* @__PURE__ */ vn(function(r, e) {
|
|
6119
6133
|
let {
|
|
6120
6134
|
className: t,
|
|
6121
6135
|
tag: n = "div",
|
|
@@ -6124,32 +6138,32 @@ const ln = /* @__PURE__ */ wn(null), Jd = /* @__PURE__ */ wn(null), da = /* @__P
|
|
|
6124
6138
|
onSwiper: l,
|
|
6125
6139
|
...o
|
|
6126
6140
|
} = r === void 0 ? {} : r, s = !1;
|
|
6127
|
-
const [d, c] = Fe("swiper"), [h, f] = Fe(null), [p, u] = Fe(!1), m = de(!1), w = de(null), y = de(null), g = de(null), v = de(null), x = de(null),
|
|
6128
|
-
params:
|
|
6141
|
+
const [d, c] = Fe("swiper"), [h, f] = Fe(null), [p, u] = Fe(!1), m = de(!1), w = de(null), y = de(null), g = de(null), v = de(null), x = de(null), S = de(null), C = de(null), k = de(null), {
|
|
6142
|
+
params: N,
|
|
6129
6143
|
passedParams: E,
|
|
6130
|
-
rest:
|
|
6144
|
+
rest: T,
|
|
6131
6145
|
events: M
|
|
6132
|
-
} =
|
|
6133
|
-
slides:
|
|
6146
|
+
} = Ud(o), {
|
|
6147
|
+
slides: A,
|
|
6134
6148
|
slots: P
|
|
6135
|
-
} =
|
|
6149
|
+
} = Zd(a), L = () => {
|
|
6136
6150
|
u(!p);
|
|
6137
6151
|
};
|
|
6138
|
-
Object.assign(
|
|
6152
|
+
Object.assign(N.on, {
|
|
6139
6153
|
_containerClasses(G, Y) {
|
|
6140
6154
|
c(Y);
|
|
6141
6155
|
}
|
|
6142
6156
|
});
|
|
6143
6157
|
const R = () => {
|
|
6144
|
-
Object.assign(
|
|
6158
|
+
Object.assign(N.on, M), s = !0;
|
|
6145
6159
|
const G = {
|
|
6146
|
-
...
|
|
6160
|
+
...N
|
|
6147
6161
|
};
|
|
6148
|
-
if (delete G.wrapperClass, y.current = new
|
|
6149
|
-
y.current.virtual.slides =
|
|
6162
|
+
if (delete G.wrapperClass, y.current = new Ar(G), y.current.virtual && y.current.params.virtual.enabled) {
|
|
6163
|
+
y.current.virtual.slides = A;
|
|
6150
6164
|
const Y = {
|
|
6151
6165
|
cache: !1,
|
|
6152
|
-
slides:
|
|
6166
|
+
slides: A,
|
|
6153
6167
|
renderExternal: f,
|
|
6154
6168
|
renderExternalUpdate: !1
|
|
6155
6169
|
};
|
|
@@ -6170,59 +6184,59 @@ const ln = /* @__PURE__ */ wn(null), Jd = /* @__PURE__ */ wn(null), da = /* @__P
|
|
|
6170
6184
|
y.current && y.current.off("_beforeBreakpoint", L);
|
|
6171
6185
|
}), Xe(() => {
|
|
6172
6186
|
!m.current && y.current && (y.current.emitSlidesClasses(), m.current = !0);
|
|
6173
|
-
}),
|
|
6187
|
+
}), lt(() => {
|
|
6174
6188
|
if (e && (e.current = w.current), !!w.current)
|
|
6175
|
-
return y.current.destroyed && R(),
|
|
6189
|
+
return y.current.destroyed && R(), Xd({
|
|
6176
6190
|
el: w.current,
|
|
6177
6191
|
nextEl: x.current,
|
|
6178
|
-
prevEl:
|
|
6192
|
+
prevEl: S.current,
|
|
6179
6193
|
paginationEl: C.current,
|
|
6180
|
-
scrollbarEl:
|
|
6194
|
+
scrollbarEl: k.current,
|
|
6181
6195
|
swiper: y.current
|
|
6182
|
-
},
|
|
6196
|
+
}, N), l && !y.current.destroyed && l(y.current), () => {
|
|
6183
6197
|
y.current && !y.current.destroyed && y.current.destroy(!0, !1);
|
|
6184
6198
|
};
|
|
6185
|
-
}, []),
|
|
6199
|
+
}, []), lt(() => {
|
|
6186
6200
|
X();
|
|
6187
|
-
const G =
|
|
6188
|
-
return g.current = E, v.current =
|
|
6201
|
+
const G = Qd(E, g.current, A, v.current, (Y) => Y.key);
|
|
6202
|
+
return g.current = E, v.current = A, G.length && y.current && !y.current.destroyed && qd({
|
|
6189
6203
|
swiper: y.current,
|
|
6190
|
-
slides:
|
|
6204
|
+
slides: A,
|
|
6191
6205
|
passedParams: E,
|
|
6192
6206
|
changedParams: G,
|
|
6193
6207
|
nextEl: x.current,
|
|
6194
|
-
prevEl:
|
|
6195
|
-
scrollbarEl:
|
|
6208
|
+
prevEl: S.current,
|
|
6209
|
+
scrollbarEl: k.current,
|
|
6196
6210
|
paginationEl: C.current
|
|
6197
6211
|
}), () => {
|
|
6198
6212
|
fe();
|
|
6199
6213
|
};
|
|
6200
|
-
}),
|
|
6201
|
-
|
|
6214
|
+
}), lt(() => {
|
|
6215
|
+
Kd(y.current);
|
|
6202
6216
|
}, [h]);
|
|
6203
6217
|
function B() {
|
|
6204
|
-
return
|
|
6218
|
+
return N.virtual ? Jd(y.current, A, h) : A.map((G, Y) => /* @__PURE__ */ V.cloneElement(G, {
|
|
6205
6219
|
swiper: y.current,
|
|
6206
6220
|
swiperSlideIndex: Y
|
|
6207
6221
|
}));
|
|
6208
6222
|
}
|
|
6209
|
-
return /* @__PURE__ */ V.createElement(n,
|
|
6223
|
+
return /* @__PURE__ */ V.createElement(n, kt({
|
|
6210
6224
|
ref: w,
|
|
6211
6225
|
className: oa(`${d}${t ? ` ${t}` : ""}`)
|
|
6212
|
-
},
|
|
6226
|
+
}, T), /* @__PURE__ */ V.createElement(eu.Provider, {
|
|
6213
6227
|
value: y.current
|
|
6214
6228
|
}, P["container-start"], /* @__PURE__ */ V.createElement(i, {
|
|
6215
|
-
className:
|
|
6216
|
-
}, P["wrapper-start"], B(), P["wrapper-end"]), ia(
|
|
6217
|
-
ref:
|
|
6229
|
+
className: Yd(N.wrapperClass)
|
|
6230
|
+
}, P["wrapper-start"], B(), P["wrapper-end"]), ia(N) && /* @__PURE__ */ V.createElement(V.Fragment, null, /* @__PURE__ */ V.createElement("div", {
|
|
6231
|
+
ref: S,
|
|
6218
6232
|
className: "swiper-button-prev"
|
|
6219
6233
|
}), /* @__PURE__ */ V.createElement("div", {
|
|
6220
6234
|
ref: x,
|
|
6221
6235
|
className: "swiper-button-next"
|
|
6222
|
-
})), sa(
|
|
6223
|
-
ref:
|
|
6236
|
+
})), sa(N) && /* @__PURE__ */ V.createElement("div", {
|
|
6237
|
+
ref: k,
|
|
6224
6238
|
className: "swiper-scrollbar"
|
|
6225
|
-
}), aa(
|
|
6239
|
+
}), aa(N) && /* @__PURE__ */ V.createElement("div", {
|
|
6226
6240
|
ref: C,
|
|
6227
6241
|
className: "swiper-pagination"
|
|
6228
6242
|
}), P["container-end"]));
|
|
@@ -6241,10 +6255,10 @@ const ua = /* @__PURE__ */ vn(function(r, e) {
|
|
|
6241
6255
|
...c
|
|
6242
6256
|
} = r === void 0 ? {} : r;
|
|
6243
6257
|
const h = de(null), [f, p] = Fe("swiper-slide"), [u, m] = Fe(!1);
|
|
6244
|
-
function w(x,
|
|
6245
|
-
|
|
6258
|
+
function w(x, S, C) {
|
|
6259
|
+
S === h.current && p(C);
|
|
6246
6260
|
}
|
|
6247
|
-
|
|
6261
|
+
lt(() => {
|
|
6248
6262
|
if (typeof d < "u" && (h.current.swiperSlideIndex = d), e && (e.current = h.current), !(!h.current || !a)) {
|
|
6249
6263
|
if (a.destroyed) {
|
|
6250
6264
|
f !== "swiper-slide" && p("swiper-slide");
|
|
@@ -6254,7 +6268,7 @@ const ua = /* @__PURE__ */ vn(function(r, e) {
|
|
|
6254
6268
|
a && a.off("_slideClass", w);
|
|
6255
6269
|
};
|
|
6256
6270
|
}
|
|
6257
|
-
}),
|
|
6271
|
+
}), lt(() => {
|
|
6258
6272
|
a && h.current && !a.destroyed && p(a.getSlideClasses(h.current));
|
|
6259
6273
|
}, [a]);
|
|
6260
6274
|
const y = {
|
|
@@ -6265,7 +6279,7 @@ const ua = /* @__PURE__ */ vn(function(r, e) {
|
|
|
6265
6279
|
}, g = () => typeof n == "function" ? n(y) : n, v = () => {
|
|
6266
6280
|
m(!0);
|
|
6267
6281
|
};
|
|
6268
|
-
return /* @__PURE__ */ V.createElement(t,
|
|
6282
|
+
return /* @__PURE__ */ V.createElement(t, kt({
|
|
6269
6283
|
ref: h,
|
|
6270
6284
|
className: oa(`${f}${i ? ` ${i}` : ""}`),
|
|
6271
6285
|
"data-swiper-slide-index": s,
|
|
@@ -6284,7 +6298,7 @@ const ua = /* @__PURE__ */ vn(function(r, e) {
|
|
|
6284
6298
|
})));
|
|
6285
6299
|
});
|
|
6286
6300
|
ua.displayName = "SwiperSlide";
|
|
6287
|
-
const
|
|
6301
|
+
const Uu = ({
|
|
6288
6302
|
slides: r,
|
|
6289
6303
|
loop: e = !0,
|
|
6290
6304
|
autoplay: t = { delay: 3e3 },
|
|
@@ -6312,14 +6326,14 @@ const qu = ({
|
|
|
6312
6326
|
const m = Za(() => {
|
|
6313
6327
|
if (!a || a <= 1) return r;
|
|
6314
6328
|
const g = Math.floor(a);
|
|
6315
|
-
function v(
|
|
6316
|
-
for (;
|
|
6317
|
-
[
|
|
6318
|
-
return
|
|
6329
|
+
function v(k, N) {
|
|
6330
|
+
for (; N; )
|
|
6331
|
+
[k, N] = [N, k % N];
|
|
6332
|
+
return k;
|
|
6319
6333
|
}
|
|
6320
|
-
const
|
|
6321
|
-
for (let
|
|
6322
|
-
C.push(r[
|
|
6334
|
+
const S = Math.floor(r.length * g / v(r.length, g)) - r.length, C = [];
|
|
6335
|
+
for (let k = 0; k < S; k++)
|
|
6336
|
+
C.push(r[k % r.length]);
|
|
6323
6337
|
return [...r, ...C];
|
|
6324
6338
|
}, [r, a]), w = (g) => {
|
|
6325
6339
|
f && f(g);
|
|
@@ -6329,7 +6343,7 @@ const qu = ({
|
|
|
6329
6343
|
}, [p]), /* @__PURE__ */ _(
|
|
6330
6344
|
da,
|
|
6331
6345
|
{
|
|
6332
|
-
modules: [
|
|
6346
|
+
modules: [Ic, Nc, Ac, _c],
|
|
6333
6347
|
onSwiper: (g) => {
|
|
6334
6348
|
u.current = g;
|
|
6335
6349
|
},
|
|
@@ -6345,7 +6359,7 @@ const qu = ({
|
|
|
6345
6359
|
onSlideChange: w,
|
|
6346
6360
|
children: [
|
|
6347
6361
|
m.map((g, v) => /* @__PURE__ */ b(ua, { style: { height: "auto" }, className: Q(d), children: g }, v)),
|
|
6348
|
-
o &&
|
|
6362
|
+
o && mc && /* @__PURE__ */ _(Dt, { children: [
|
|
6349
6363
|
/* @__PURE__ */ b(
|
|
6350
6364
|
Ue,
|
|
6351
6365
|
{
|
|
@@ -6375,7 +6389,7 @@ const qu = ({
|
|
|
6375
6389
|
}
|
|
6376
6390
|
);
|
|
6377
6391
|
};
|
|
6378
|
-
function
|
|
6392
|
+
function tu({
|
|
6379
6393
|
defaultClass: r,
|
|
6380
6394
|
activeClass: e,
|
|
6381
6395
|
commonClass: t
|
|
@@ -6393,11 +6407,11 @@ function eu({
|
|
|
6393
6407
|
).join("")}</div>`
|
|
6394
6408
|
};
|
|
6395
6409
|
}
|
|
6396
|
-
const
|
|
6410
|
+
const Xu = tu({
|
|
6397
6411
|
commonClass: "h-2 md:h-3 w-3 xl:w-4 rounded-[2px] bg-grey-200",
|
|
6398
6412
|
defaultClass: "opacity-30",
|
|
6399
6413
|
activeClass: "opacity-90"
|
|
6400
|
-
}),
|
|
6414
|
+
}), Qu = ({
|
|
6401
6415
|
name: r,
|
|
6402
6416
|
control: e,
|
|
6403
6417
|
heading: t,
|
|
@@ -6443,7 +6457,7 @@ const Uu = eu({
|
|
|
6443
6457
|
] })
|
|
6444
6458
|
}
|
|
6445
6459
|
);
|
|
6446
|
-
},
|
|
6460
|
+
}, Ku = ({
|
|
6447
6461
|
name: r,
|
|
6448
6462
|
control: e,
|
|
6449
6463
|
heading: t,
|
|
@@ -6509,7 +6523,7 @@ const Uu = eu({
|
|
|
6509
6523
|
] })
|
|
6510
6524
|
}
|
|
6511
6525
|
);
|
|
6512
|
-
},
|
|
6526
|
+
}, Zu = ({
|
|
6513
6527
|
name: r,
|
|
6514
6528
|
control: e,
|
|
6515
6529
|
label: t,
|
|
@@ -6532,7 +6546,7 @@ const Uu = eu({
|
|
|
6532
6546
|
o && /* @__PURE__ */ b(Ge, {})
|
|
6533
6547
|
] })
|
|
6534
6548
|
}
|
|
6535
|
-
),
|
|
6549
|
+
), Ju = ({
|
|
6536
6550
|
name: r,
|
|
6537
6551
|
control: e,
|
|
6538
6552
|
heading: t,
|
|
@@ -6586,7 +6600,7 @@ const Uu = eu({
|
|
|
6586
6600
|
] })
|
|
6587
6601
|
}
|
|
6588
6602
|
);
|
|
6589
|
-
},
|
|
6603
|
+
}, ef = ({
|
|
6590
6604
|
required: r,
|
|
6591
6605
|
heading: e,
|
|
6592
6606
|
name: t,
|
|
@@ -6614,8 +6628,8 @@ const Uu = eu({
|
|
|
6614
6628
|
}, y = (x) => {
|
|
6615
6629
|
x.key === "Enter" && !x.nativeEvent.isComposing && (x.preventDefault(), w());
|
|
6616
6630
|
}, g = (x) => {
|
|
6617
|
-
const
|
|
6618
|
-
|
|
6631
|
+
const S = h(t) || [];
|
|
6632
|
+
S.splice(x, 1), c(t, S);
|
|
6619
6633
|
}, v = n || e || i;
|
|
6620
6634
|
return /* @__PURE__ */ b(
|
|
6621
6635
|
Be,
|
|
@@ -6625,16 +6639,16 @@ const Uu = eu({
|
|
|
6625
6639
|
render: () => /* @__PURE__ */ _(ye, { children: [
|
|
6626
6640
|
v && /* @__PURE__ */ b(We, { required: r, heading: e, label: n, description: i }),
|
|
6627
6641
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ _("div", { className: "flex flex-col gap-2", children: [
|
|
6628
|
-
f.value && f.value.length > 0 && /* @__PURE__ */ b("ul", { className: Q("flex flex-col flex-wrap gap-1", o), children: f.value.map((x,
|
|
6642
|
+
f.value && f.value.length > 0 && /* @__PURE__ */ b("ul", { className: Q("flex flex-col flex-wrap gap-1", o), children: f.value.map((x, S) => /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
6629
6643
|
ze,
|
|
6630
6644
|
{
|
|
6631
6645
|
size: s,
|
|
6632
6646
|
variant: "solid-secondary-100",
|
|
6633
|
-
onClick: () => g(
|
|
6647
|
+
onClick: () => g(S),
|
|
6634
6648
|
icRight: /* @__PURE__ */ b(St.Cancel, { size: "10", className: "text-grey-600" }),
|
|
6635
6649
|
children: /* @__PURE__ */ b("span", { children: x })
|
|
6636
6650
|
}
|
|
6637
|
-
) },
|
|
6651
|
+
) }, S)) }),
|
|
6638
6652
|
/* @__PURE__ */ _("div", { className: "flex items-center gap-2", children: [
|
|
6639
6653
|
/* @__PURE__ */ b(
|
|
6640
6654
|
br,
|
|
@@ -6665,7 +6679,7 @@ const Uu = eu({
|
|
|
6665
6679
|
] })
|
|
6666
6680
|
}
|
|
6667
6681
|
);
|
|
6668
|
-
},
|
|
6682
|
+
}, tf = ({
|
|
6669
6683
|
name: r,
|
|
6670
6684
|
control: e,
|
|
6671
6685
|
heading: t,
|
|
@@ -6693,16 +6707,16 @@ const Uu = eu({
|
|
|
6693
6707
|
control: e,
|
|
6694
6708
|
rules: y
|
|
6695
6709
|
}), x = (C) => {
|
|
6696
|
-
const
|
|
6697
|
-
g.onChange(
|
|
6698
|
-
},
|
|
6710
|
+
const k = c === "number" ? Number(C.target.value) : C.target.value;
|
|
6711
|
+
g.onChange(k), f == null || f(k);
|
|
6712
|
+
}, S = n || t || i;
|
|
6699
6713
|
return /* @__PURE__ */ b(
|
|
6700
6714
|
Be,
|
|
6701
6715
|
{
|
|
6702
6716
|
control: e,
|
|
6703
6717
|
name: r,
|
|
6704
6718
|
render: () => /* @__PURE__ */ _(ye, { children: [
|
|
6705
|
-
|
|
6719
|
+
S && /* @__PURE__ */ b(We, { required: l, heading: t, label: n, description: i }),
|
|
6706
6720
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ _("div", { className: Q("flex w-full max-w-screen-sm items-center gap-2", h), children: [
|
|
6707
6721
|
d && /* @__PURE__ */ b("div", { className: "whitespace-nowrap", children: d }),
|
|
6708
6722
|
o ? /* @__PURE__ */ b(
|
|
@@ -6735,7 +6749,7 @@ const Uu = eu({
|
|
|
6735
6749
|
] })
|
|
6736
6750
|
}
|
|
6737
6751
|
);
|
|
6738
|
-
},
|
|
6752
|
+
}, rf = ({
|
|
6739
6753
|
name: r,
|
|
6740
6754
|
control: e,
|
|
6741
6755
|
heading: t,
|
|
@@ -6770,8 +6784,8 @@ const Uu = eu({
|
|
|
6770
6784
|
if (x.preventDefault(), s)
|
|
6771
6785
|
s(x);
|
|
6772
6786
|
else if (m.value && !w) {
|
|
6773
|
-
const
|
|
6774
|
-
window.open(
|
|
6787
|
+
const S = m.value.startsWith("http") ? m.value : `https://${m.value}`;
|
|
6788
|
+
window.open(S, "_blank");
|
|
6775
6789
|
}
|
|
6776
6790
|
}, v = n || t || i;
|
|
6777
6791
|
return /* @__PURE__ */ b(
|
|
@@ -6811,7 +6825,7 @@ const Uu = eu({
|
|
|
6811
6825
|
] })
|
|
6812
6826
|
}
|
|
6813
6827
|
);
|
|
6814
|
-
},
|
|
6828
|
+
}, nf = () => {
|
|
6815
6829
|
const [r, e] = Fe([]);
|
|
6816
6830
|
return Xe(() => {
|
|
6817
6831
|
const o = (d, c) => {
|
|
@@ -6838,12 +6852,12 @@ const Uu = eu({
|
|
|
6838
6852
|
return Le.showPortal("dialog", { ...o, onClose: s });
|
|
6839
6853
|
}, getIsOpen: (o) => Le.getIsPortalOpen(o), openPortals: r };
|
|
6840
6854
|
};
|
|
6841
|
-
var [Bt,
|
|
6855
|
+
var [Bt, af] = gr("Tooltip", [
|
|
6842
6856
|
hn
|
|
6843
|
-
]), Wt = hn(), fa = "TooltipProvider",
|
|
6857
|
+
]), Wt = hn(), fa = "TooltipProvider", ru = 700, mr = "tooltip.open", [nu, kr] = Bt(fa), pa = (r) => {
|
|
6844
6858
|
const {
|
|
6845
6859
|
__scopeTooltip: e,
|
|
6846
|
-
delayDuration: t =
|
|
6860
|
+
delayDuration: t = ru,
|
|
6847
6861
|
skipDelayDuration: n = 300,
|
|
6848
6862
|
disableHoverableContent: i = !1,
|
|
6849
6863
|
children: a
|
|
@@ -6852,7 +6866,7 @@ var [Bt, nf] = gr("Tooltip", [
|
|
|
6852
6866
|
const c = d.current;
|
|
6853
6867
|
return () => window.clearTimeout(c);
|
|
6854
6868
|
}, []), /* @__PURE__ */ b(
|
|
6855
|
-
|
|
6869
|
+
nu,
|
|
6856
6870
|
{
|
|
6857
6871
|
scope: e,
|
|
6858
6872
|
isOpenDelayed: l,
|
|
@@ -6876,7 +6890,7 @@ var [Bt, nf] = gr("Tooltip", [
|
|
|
6876
6890
|
);
|
|
6877
6891
|
};
|
|
6878
6892
|
pa.displayName = fa;
|
|
6879
|
-
var Gt = "Tooltip", [
|
|
6893
|
+
var Gt = "Tooltip", [iu, $t] = Bt(Gt), ma = (r) => {
|
|
6880
6894
|
const {
|
|
6881
6895
|
__scopeTooltip: e,
|
|
6882
6896
|
children: t,
|
|
@@ -6885,15 +6899,15 @@ var Gt = "Tooltip", [nu, $t] = Bt(Gt), ma = (r) => {
|
|
|
6885
6899
|
onOpenChange: a,
|
|
6886
6900
|
disableHoverableContent: l,
|
|
6887
6901
|
delayDuration: o
|
|
6888
|
-
} = r, s =
|
|
6902
|
+
} = r, s = kr(Gt, r.__scopeTooltip), d = Wt(e), [c, h] = O.useState(null), f = vr(), p = O.useRef(0), u = l ?? s.disableHoverableContent, m = o ?? s.delayDuration, w = O.useRef(!1), [y = !1, g] = Re({
|
|
6889
6903
|
prop: n,
|
|
6890
6904
|
defaultProp: i,
|
|
6891
|
-
onChange: (
|
|
6892
|
-
|
|
6905
|
+
onChange: (k) => {
|
|
6906
|
+
k ? (s.onOpen(), document.dispatchEvent(new CustomEvent(mr))) : s.onClose(), a == null || a(k);
|
|
6893
6907
|
}
|
|
6894
6908
|
}), v = O.useMemo(() => y ? w.current ? "delayed-open" : "instant-open" : "closed", [y]), x = O.useCallback(() => {
|
|
6895
6909
|
window.clearTimeout(p.current), p.current = 0, w.current = !1, g(!0);
|
|
6896
|
-
}, [g]),
|
|
6910
|
+
}, [g]), S = O.useCallback(() => {
|
|
6897
6911
|
window.clearTimeout(p.current), p.current = 0, g(!1);
|
|
6898
6912
|
}, [g]), C = O.useCallback(() => {
|
|
6899
6913
|
window.clearTimeout(p.current), p.current = window.setTimeout(() => {
|
|
@@ -6903,7 +6917,7 @@ var Gt = "Tooltip", [nu, $t] = Bt(Gt), ma = (r) => {
|
|
|
6903
6917
|
return O.useEffect(() => () => {
|
|
6904
6918
|
p.current && (window.clearTimeout(p.current), p.current = 0);
|
|
6905
6919
|
}, []), /* @__PURE__ */ b(qa, { ...d, children: /* @__PURE__ */ b(
|
|
6906
|
-
|
|
6920
|
+
iu,
|
|
6907
6921
|
{
|
|
6908
6922
|
scope: e,
|
|
6909
6923
|
contentId: f,
|
|
@@ -6915,10 +6929,10 @@ var Gt = "Tooltip", [nu, $t] = Bt(Gt), ma = (r) => {
|
|
|
6915
6929
|
s.isOpenDelayed ? C() : x();
|
|
6916
6930
|
}, [s.isOpenDelayed, C, x]),
|
|
6917
6931
|
onTriggerLeave: O.useCallback(() => {
|
|
6918
|
-
u ?
|
|
6919
|
-
}, [
|
|
6932
|
+
u ? S() : (window.clearTimeout(p.current), p.current = 0);
|
|
6933
|
+
}, [S, u]),
|
|
6920
6934
|
onOpen: x,
|
|
6921
|
-
onClose:
|
|
6935
|
+
onClose: S,
|
|
6922
6936
|
disableHoverableContent: u,
|
|
6923
6937
|
children: t
|
|
6924
6938
|
}
|
|
@@ -6927,7 +6941,7 @@ var Gt = "Tooltip", [nu, $t] = Bt(Gt), ma = (r) => {
|
|
|
6927
6941
|
ma.displayName = Gt;
|
|
6928
6942
|
var hr = "TooltipTrigger", ha = O.forwardRef(
|
|
6929
6943
|
(r, e) => {
|
|
6930
|
-
const { __scopeTooltip: t, ...n } = r, i = $t(hr, t), a =
|
|
6944
|
+
const { __scopeTooltip: t, ...n } = r, i = $t(hr, t), a = kr(hr, t), l = Wt(t), o = O.useRef(null), s = _t(e, o, i.onTriggerChange), d = O.useRef(!1), c = O.useRef(!1), h = O.useCallback(() => d.current = !1, []);
|
|
6931
6945
|
return O.useEffect(() => () => document.removeEventListener("pointerup", h), [h]), /* @__PURE__ */ b(Ga, { asChild: !0, ...l, children: /* @__PURE__ */ b(
|
|
6932
6946
|
Pe.button,
|
|
6933
6947
|
{
|
|
@@ -6954,20 +6968,20 @@ var hr = "TooltipTrigger", ha = O.forwardRef(
|
|
|
6954
6968
|
}
|
|
6955
6969
|
);
|
|
6956
6970
|
ha.displayName = hr;
|
|
6957
|
-
var
|
|
6971
|
+
var au = "TooltipPortal", [sf, su] = Bt(au, {
|
|
6958
6972
|
forceMount: void 0
|
|
6959
6973
|
}), Qe = "TooltipContent", ga = O.forwardRef(
|
|
6960
6974
|
(r, e) => {
|
|
6961
|
-
const t =
|
|
6962
|
-
return /* @__PURE__ */ b(un, { present: n || l.open, children: l.disableHoverableContent ? /* @__PURE__ */ b(va, { side: i, ...a, ref: e }) : /* @__PURE__ */ b(
|
|
6975
|
+
const t = su(Qe, r.__scopeTooltip), { forceMount: n = t.forceMount, side: i = "top", ...a } = r, l = $t(Qe, r.__scopeTooltip);
|
|
6976
|
+
return /* @__PURE__ */ b(un, { present: n || l.open, children: l.disableHoverableContent ? /* @__PURE__ */ b(va, { side: i, ...a, ref: e }) : /* @__PURE__ */ b(ou, { side: i, ...a, ref: e }) });
|
|
6963
6977
|
}
|
|
6964
|
-
),
|
|
6965
|
-
const t = $t(Qe, r.__scopeTooltip), n =
|
|
6978
|
+
), ou = O.forwardRef((r, e) => {
|
|
6979
|
+
const t = $t(Qe, r.__scopeTooltip), n = kr(Qe, r.__scopeTooltip), i = O.useRef(null), a = _t(e, i), [l, o] = O.useState(null), { trigger: s, onClose: d } = t, c = i.current, { onPointerInTransitChange: h } = n, f = O.useCallback(() => {
|
|
6966
6980
|
o(null), h(!1);
|
|
6967
6981
|
}, [h]), p = O.useCallback(
|
|
6968
6982
|
(u, m) => {
|
|
6969
|
-
const w = u.currentTarget, y = { x: u.clientX, y: u.clientY }, g =
|
|
6970
|
-
o(
|
|
6983
|
+
const w = u.currentTarget, y = { x: u.clientX, y: u.clientY }, g = uu(y, w.getBoundingClientRect()), v = fu(y, g), x = pu(m.getBoundingClientRect()), S = hu([...v, ...x]);
|
|
6984
|
+
o(S), h(!0);
|
|
6971
6985
|
},
|
|
6972
6986
|
[h]
|
|
6973
6987
|
);
|
|
@@ -6981,13 +6995,13 @@ var iu = "TooltipPortal", [af, au] = Bt(iu, {
|
|
|
6981
6995
|
}, [s, c, p, f]), O.useEffect(() => {
|
|
6982
6996
|
if (l) {
|
|
6983
6997
|
const u = (m) => {
|
|
6984
|
-
const w = m.target, y = { x: m.clientX, y: m.clientY }, g = (s == null ? void 0 : s.contains(w)) || (c == null ? void 0 : c.contains(w)), v = !
|
|
6998
|
+
const w = m.target, y = { x: m.clientX, y: m.clientY }, g = (s == null ? void 0 : s.contains(w)) || (c == null ? void 0 : c.contains(w)), v = !mu(y, l);
|
|
6985
6999
|
g ? f() : v && (f(), d());
|
|
6986
7000
|
};
|
|
6987
7001
|
return document.addEventListener("pointermove", u), () => document.removeEventListener("pointermove", u);
|
|
6988
7002
|
}
|
|
6989
7003
|
}, [s, c, l, d, f]), /* @__PURE__ */ b(va, { ...r, ref: a });
|
|
6990
|
-
}), [
|
|
7004
|
+
}), [lu, cu] = Bt(Gt, { isInside: !1 }), va = O.forwardRef(
|
|
6991
7005
|
(r, e) => {
|
|
6992
7006
|
const {
|
|
6993
7007
|
__scopeTooltip: t,
|
|
@@ -7031,7 +7045,7 @@ var iu = "TooltipPortal", [af, au] = Bt(iu, {
|
|
|
7031
7045
|
},
|
|
7032
7046
|
children: [
|
|
7033
7047
|
/* @__PURE__ */ b(Ha, { children: n }),
|
|
7034
|
-
/* @__PURE__ */ b(
|
|
7048
|
+
/* @__PURE__ */ b(lu, { scope: t, isInside: !0, children: /* @__PURE__ */ b(es, { id: s.contentId, role: "tooltip", children: i || n }) })
|
|
7035
7049
|
]
|
|
7036
7050
|
}
|
|
7037
7051
|
)
|
|
@@ -7040,17 +7054,17 @@ var iu = "TooltipPortal", [af, au] = Bt(iu, {
|
|
|
7040
7054
|
}
|
|
7041
7055
|
);
|
|
7042
7056
|
ga.displayName = Qe;
|
|
7043
|
-
var wa = "TooltipArrow",
|
|
7057
|
+
var wa = "TooltipArrow", du = O.forwardRef(
|
|
7044
7058
|
(r, e) => {
|
|
7045
7059
|
const { __scopeTooltip: t, ...n } = r, i = Wt(t);
|
|
7046
|
-
return
|
|
7060
|
+
return cu(
|
|
7047
7061
|
wa,
|
|
7048
7062
|
t
|
|
7049
7063
|
).isInside ? null : /* @__PURE__ */ b(Ya, { ...i, ...n, ref: e });
|
|
7050
7064
|
}
|
|
7051
7065
|
);
|
|
7052
|
-
|
|
7053
|
-
function
|
|
7066
|
+
du.displayName = wa;
|
|
7067
|
+
function uu(r, e) {
|
|
7054
7068
|
const t = Math.abs(e.top - r.y), n = Math.abs(e.bottom - r.y), i = Math.abs(e.right - r.x), a = Math.abs(e.left - r.x);
|
|
7055
7069
|
switch (Math.min(t, n, i, a)) {
|
|
7056
7070
|
case a:
|
|
@@ -7065,7 +7079,7 @@ function du(r, e) {
|
|
|
7065
7079
|
throw new Error("unreachable");
|
|
7066
7080
|
}
|
|
7067
7081
|
}
|
|
7068
|
-
function
|
|
7082
|
+
function fu(r, e, t = 5) {
|
|
7069
7083
|
const n = [];
|
|
7070
7084
|
switch (e) {
|
|
7071
7085
|
case "top":
|
|
@@ -7095,7 +7109,7 @@ function uu(r, e, t = 5) {
|
|
|
7095
7109
|
}
|
|
7096
7110
|
return n;
|
|
7097
7111
|
}
|
|
7098
|
-
function
|
|
7112
|
+
function pu(r) {
|
|
7099
7113
|
const { top: e, right: t, bottom: n, left: i } = r;
|
|
7100
7114
|
return [
|
|
7101
7115
|
{ x: i, y: e },
|
|
@@ -7104,7 +7118,7 @@ function fu(r) {
|
|
|
7104
7118
|
{ x: i, y: n }
|
|
7105
7119
|
];
|
|
7106
7120
|
}
|
|
7107
|
-
function
|
|
7121
|
+
function mu(r, e) {
|
|
7108
7122
|
const { x: t, y: n } = r;
|
|
7109
7123
|
let i = !1;
|
|
7110
7124
|
for (let a = 0, l = e.length - 1; a < e.length; l = a++) {
|
|
@@ -7113,11 +7127,11 @@ function pu(r, e) {
|
|
|
7113
7127
|
}
|
|
7114
7128
|
return i;
|
|
7115
7129
|
}
|
|
7116
|
-
function
|
|
7130
|
+
function hu(r) {
|
|
7117
7131
|
const e = r.slice();
|
|
7118
|
-
return e.sort((t, n) => t.x < n.x ? -1 : t.x > n.x ? 1 : t.y < n.y ? -1 : t.y > n.y ? 1 : 0),
|
|
7132
|
+
return e.sort((t, n) => t.x < n.x ? -1 : t.x > n.x ? 1 : t.y < n.y ? -1 : t.y > n.y ? 1 : 0), gu(e);
|
|
7119
7133
|
}
|
|
7120
|
-
function
|
|
7134
|
+
function gu(r) {
|
|
7121
7135
|
if (r.length <= 1) return r.slice();
|
|
7122
7136
|
const e = [];
|
|
7123
7137
|
for (let n = 0; n < r.length; n++) {
|
|
@@ -7142,15 +7156,15 @@ function hu(r) {
|
|
|
7142
7156
|
}
|
|
7143
7157
|
return t.pop(), e.length === 1 && t.length === 1 && e[0].x === t[0].x && e[0].y === t[0].y ? e : e.concat(t);
|
|
7144
7158
|
}
|
|
7145
|
-
var
|
|
7159
|
+
var vu = pa, wu = ma, bu = ha, ba = ga;
|
|
7146
7160
|
const cn = {
|
|
7147
7161
|
primary: "bg-main-600 text-white",
|
|
7148
7162
|
secondary: "bg-grey-800 text-white",
|
|
7149
7163
|
white: "bg-grey-50 text-grey-800"
|
|
7150
|
-
},
|
|
7164
|
+
}, yu = {
|
|
7151
7165
|
sm: "p-2 text-[13px] rounded",
|
|
7152
7166
|
md: "p-2 text-sm font-normal rounded"
|
|
7153
|
-
},
|
|
7167
|
+
}, xu = vu, Su = wu, Tu = bu, Cu = (r, e) => {
|
|
7154
7168
|
const t = e === "primary" ? _e.main[600] : e === "secondary" ? _e.grey[800] : _e.grey[50], n = e === "white" ? _e.grey[200] : t;
|
|
7155
7169
|
return { ...{
|
|
7156
7170
|
width: "12px",
|
|
@@ -7217,7 +7231,7 @@ const cn = {
|
|
|
7217
7231
|
bubbleTip: s = !0,
|
|
7218
7232
|
...d
|
|
7219
7233
|
}, c) => {
|
|
7220
|
-
const h =
|
|
7234
|
+
const h = Cu(n, e), f = n.startsWith("top"), p = n === "right" || n === "left" ? n : f ? "top" : "bottom", u = n === "right" || n === "left" ? "center" : n.includes("left") ? "start" : n.includes("right") ? "end" : "center";
|
|
7221
7235
|
return /* @__PURE__ */ b(
|
|
7222
7236
|
ba,
|
|
7223
7237
|
{
|
|
@@ -7248,7 +7262,7 @@ const cn = {
|
|
|
7248
7262
|
"relative z-40 flex max-w-sm items-center font-normal",
|
|
7249
7263
|
e !== "white" && "bg-opacity-90",
|
|
7250
7264
|
cn[e],
|
|
7251
|
-
|
|
7265
|
+
yu[t]
|
|
7252
7266
|
),
|
|
7253
7267
|
children: [
|
|
7254
7268
|
a && /* @__PURE__ */ b("span", { className: "mr-1", children: a }),
|
|
@@ -7275,22 +7289,22 @@ const xa = ({
|
|
|
7275
7289
|
position: l = "top-center",
|
|
7276
7290
|
bubbleTip: o = !0,
|
|
7277
7291
|
forceMount: s,
|
|
7278
|
-
isMobile: d =
|
|
7292
|
+
isMobile: d = st
|
|
7279
7293
|
}) => {
|
|
7280
7294
|
const [c, h] = O.useState(!1), f = O.useRef(null), p = typeof d == "number" ? d : 3e3, u = () => {
|
|
7281
7295
|
c ? h(!1) : (h(!0), f.current && clearTimeout(f.current), f.current = setTimeout(() => h(!1), p));
|
|
7282
7296
|
};
|
|
7283
7297
|
return O.useEffect(() => () => {
|
|
7284
7298
|
f.current && clearTimeout(f.current);
|
|
7285
|
-
}, []), /* @__PURE__ */ b(
|
|
7299
|
+
}, []), /* @__PURE__ */ b(xu, { delayDuration: 200, children: /* @__PURE__ */ _(Su, { delayDuration: 200, children: [
|
|
7286
7300
|
/* @__PURE__ */ b(
|
|
7287
7301
|
Tu,
|
|
7288
7302
|
{
|
|
7289
7303
|
asChild: !0,
|
|
7290
7304
|
"data-state": c ? "delayed-open" : "closed",
|
|
7291
|
-
onMouseLeave:
|
|
7292
|
-
onMouseEnter:
|
|
7293
|
-
onClick:
|
|
7305
|
+
onMouseLeave: st ? void 0 : () => h(!1),
|
|
7306
|
+
onMouseEnter: st ? void 0 : () => h(!0),
|
|
7307
|
+
onClick: st ? u : void 0,
|
|
7294
7308
|
children: n
|
|
7295
7309
|
}
|
|
7296
7310
|
),
|
|
@@ -7309,7 +7323,7 @@ const xa = ({
|
|
|
7309
7323
|
)
|
|
7310
7324
|
] }) });
|
|
7311
7325
|
};
|
|
7312
|
-
function
|
|
7326
|
+
function Eu(r, e = []) {
|
|
7313
7327
|
let t = [];
|
|
7314
7328
|
function n(a, l) {
|
|
7315
7329
|
const o = O.createContext(l), s = t.length;
|
|
@@ -7336,9 +7350,9 @@ function Cu(r, e = []) {
|
|
|
7336
7350
|
);
|
|
7337
7351
|
};
|
|
7338
7352
|
};
|
|
7339
|
-
return i.scopeName = r, [n,
|
|
7353
|
+
return i.scopeName = r, [n, Pu(i, ...e)];
|
|
7340
7354
|
}
|
|
7341
|
-
function
|
|
7355
|
+
function Pu(...r) {
|
|
7342
7356
|
const e = r[0];
|
|
7343
7357
|
if (r.length === 1) return e;
|
|
7344
7358
|
const t = () => {
|
|
@@ -7356,7 +7370,7 @@ function Eu(...r) {
|
|
|
7356
7370
|
};
|
|
7357
7371
|
return t.scopeName = e.scopeName, t;
|
|
7358
7372
|
}
|
|
7359
|
-
var
|
|
7373
|
+
var Mu = "Toggle", Sa = O.forwardRef((r, e) => {
|
|
7360
7374
|
const { pressed: t, defaultPressed: n = !1, onPressedChange: i, ...a } = r, [l = !1, o] = Re({
|
|
7361
7375
|
prop: t,
|
|
7362
7376
|
onChange: i,
|
|
@@ -7377,19 +7391,19 @@ var Pu = "Toggle", Ta = O.forwardRef((r, e) => {
|
|
|
7377
7391
|
}
|
|
7378
7392
|
);
|
|
7379
7393
|
});
|
|
7380
|
-
|
|
7381
|
-
var Je = "ToggleGroup", [
|
|
7394
|
+
Sa.displayName = Mu;
|
|
7395
|
+
var Je = "ToggleGroup", [Ta, of] = Eu(Je, [
|
|
7382
7396
|
gn
|
|
7383
7397
|
]), Ca = gn(), Lr = V.forwardRef((r, e) => {
|
|
7384
7398
|
const { type: t, ...n } = r;
|
|
7385
7399
|
if (t === "single")
|
|
7386
|
-
return /* @__PURE__ */ b(Mu, { ...n, ref: e });
|
|
7387
|
-
if (t === "multiple")
|
|
7388
7400
|
return /* @__PURE__ */ b(Ou, { ...n, ref: e });
|
|
7401
|
+
if (t === "multiple")
|
|
7402
|
+
return /* @__PURE__ */ b(Iu, { ...n, ref: e });
|
|
7389
7403
|
throw new Error(`Missing prop \`type\` expected on \`${Je}\``);
|
|
7390
7404
|
});
|
|
7391
7405
|
Lr.displayName = Je;
|
|
7392
|
-
var [Ea, Pa] =
|
|
7406
|
+
var [Ea, Pa] = Ta(Je), Ou = V.forwardRef((r, e) => {
|
|
7393
7407
|
const {
|
|
7394
7408
|
value: t,
|
|
7395
7409
|
defaultValue: n,
|
|
@@ -7412,7 +7426,7 @@ var [Ea, Pa] = Sa(Je), Mu = V.forwardRef((r, e) => {
|
|
|
7412
7426
|
children: /* @__PURE__ */ b(Ma, { ...a, ref: e })
|
|
7413
7427
|
}
|
|
7414
7428
|
);
|
|
7415
|
-
}),
|
|
7429
|
+
}), Iu = V.forwardRef((r, e) => {
|
|
7416
7430
|
const {
|
|
7417
7431
|
value: t,
|
|
7418
7432
|
defaultValue: n,
|
|
@@ -7443,7 +7457,7 @@ var [Ea, Pa] = Sa(Je), Mu = V.forwardRef((r, e) => {
|
|
|
7443
7457
|
);
|
|
7444
7458
|
});
|
|
7445
7459
|
Lr.displayName = Je;
|
|
7446
|
-
var [
|
|
7460
|
+
var [Nu, Au] = Ta(Je), Ma = V.forwardRef(
|
|
7447
7461
|
(r, e) => {
|
|
7448
7462
|
const {
|
|
7449
7463
|
__scopeToggleGroup: t,
|
|
@@ -7454,7 +7468,7 @@ var [Iu, Au] = Sa(Je), Ma = V.forwardRef(
|
|
|
7454
7468
|
loop: o = !0,
|
|
7455
7469
|
...s
|
|
7456
7470
|
} = r, d = Ca(t), c = fn(l), h = { role: "group", dir: c, ...s };
|
|
7457
|
-
return /* @__PURE__ */ b(
|
|
7471
|
+
return /* @__PURE__ */ b(Nu, { scope: t, rovingFocus: i, disabled: n, children: i ? /* @__PURE__ */ b(
|
|
7458
7472
|
Ua,
|
|
7459
7473
|
{
|
|
7460
7474
|
asChild: !0,
|
|
@@ -7487,7 +7501,7 @@ var dn = V.forwardRef(
|
|
|
7487
7501
|
(r, e) => {
|
|
7488
7502
|
const { __scopeToggleGroup: t, value: n, ...i } = r, a = Pa(Lt, t), l = { role: "radio", "aria-checked": r.pressed, "aria-pressed": void 0 }, o = a.type === "single" ? l : void 0;
|
|
7489
7503
|
return /* @__PURE__ */ b(
|
|
7490
|
-
|
|
7504
|
+
Sa,
|
|
7491
7505
|
{
|
|
7492
7506
|
...o,
|
|
7493
7507
|
...i,
|
|
@@ -7498,7 +7512,7 @@ var dn = V.forwardRef(
|
|
|
7498
7512
|
}
|
|
7499
7513
|
);
|
|
7500
7514
|
}
|
|
7501
|
-
), Ia = Lr,
|
|
7515
|
+
), Ia = Lr, Na = Oa;
|
|
7502
7516
|
const ku = Qa(
|
|
7503
7517
|
"inline-flex items-center justify-center gap-1 whitespace-nowrap text-sm font-normal ring-offset-background transition-all focus-visible:outline-none disabled:pointer-events-none",
|
|
7504
7518
|
{
|
|
@@ -7557,7 +7571,7 @@ _r.displayName = Ia.displayName;
|
|
|
7557
7571
|
const dt = O.forwardRef(({ className: r, checked: e = !1, children: t, ...n }, i) => {
|
|
7558
7572
|
const a = O.useContext(Dr);
|
|
7559
7573
|
return /* @__PURE__ */ b(
|
|
7560
|
-
|
|
7574
|
+
Na,
|
|
7561
7575
|
{
|
|
7562
7576
|
ref: i,
|
|
7563
7577
|
className: Q(
|
|
@@ -7575,8 +7589,8 @@ const dt = O.forwardRef(({ className: r, checked: e = !1, children: t, ...n }, i
|
|
|
7575
7589
|
}
|
|
7576
7590
|
);
|
|
7577
7591
|
});
|
|
7578
|
-
dt.displayName =
|
|
7579
|
-
const
|
|
7592
|
+
dt.displayName = Na.displayName;
|
|
7593
|
+
const Lu = ({
|
|
7580
7594
|
options: r,
|
|
7581
7595
|
variant: e = "outline",
|
|
7582
7596
|
theme: t = "primary",
|
|
@@ -7632,7 +7646,7 @@ const Nu = ({
|
|
|
7632
7646
|
d.value
|
|
7633
7647
|
))
|
|
7634
7648
|
}
|
|
7635
|
-
),
|
|
7649
|
+
), Du = ({
|
|
7636
7650
|
options: r,
|
|
7637
7651
|
variant: e = "outline",
|
|
7638
7652
|
theme: t = "primary",
|
|
@@ -7685,37 +7699,37 @@ const Nu = ({
|
|
|
7685
7699
|
s.value
|
|
7686
7700
|
))
|
|
7687
7701
|
}
|
|
7688
|
-
),
|
|
7689
|
-
Single:
|
|
7690
|
-
Multiple:
|
|
7702
|
+
), lf = {
|
|
7703
|
+
Single: Lu,
|
|
7704
|
+
Multiple: Du
|
|
7691
7705
|
};
|
|
7692
7706
|
export {
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7707
|
+
$u as Accordion,
|
|
7708
|
+
uf as Alert,
|
|
7709
|
+
Uu as Carousel,
|
|
7710
|
+
Qu as CheckboxBooleanFormField,
|
|
7711
|
+
Ku as CheckboxGroupFormField,
|
|
7698
7712
|
Wo as ContentsCard,
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7713
|
+
Zu as DefaultFormField,
|
|
7714
|
+
ff as Dialog,
|
|
7715
|
+
ju as EventCard,
|
|
7702
7716
|
Go as LoadingCard,
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
+
Xu as MainBannerCarouselPaginationBullets,
|
|
7718
|
+
Hu as MainBannerImage,
|
|
7719
|
+
hc as MainBannerLoading,
|
|
7720
|
+
pf as Modal,
|
|
7721
|
+
Du as Multiple,
|
|
7722
|
+
mf as PortalContainer,
|
|
7723
|
+
Yu as PremiumCard,
|
|
7724
|
+
Ju as RadioFormField,
|
|
7725
|
+
Lu as Single,
|
|
7726
|
+
ef as StringArrayFormField,
|
|
7727
|
+
tf as StringInputField,
|
|
7728
|
+
qu as TitleTagCard,
|
|
7729
|
+
hf as Toaster,
|
|
7730
|
+
lf as ToggleButtonGroup,
|
|
7717
7731
|
xa as Tooltip,
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7732
|
+
rf as UrlFormField,
|
|
7733
|
+
tu as setCarouselCustomPaginationBullets,
|
|
7734
|
+
nf as usePortal
|
|
7721
7735
|
};
|