@redhq/ui 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +174 -195
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as $, jsxs as cr } from "react/jsx-runtime";
|
|
2
|
-
import ie, { createContext as ye, useContext as
|
|
3
|
-
function
|
|
2
|
+
import ie, { createContext as ye, useContext as ce, useState as be, useCallback as dn, useRef as oe, useLayoutEffect as yt, useMemo as cn, forwardRef as ur, useEffect as mt } from "react";
|
|
3
|
+
function un(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
6
|
var Ge = { exports: {} }, je = { exports: {} }, ee = {};
|
|
7
7
|
var jt;
|
|
8
|
-
function
|
|
8
|
+
function fn() {
|
|
9
9
|
if (jt) return ee;
|
|
10
10
|
jt = 1;
|
|
11
11
|
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, T = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, u = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
|
|
@@ -72,7 +72,7 @@ function pn() {
|
|
|
72
72
|
}
|
|
73
73
|
var te = {};
|
|
74
74
|
var Ft;
|
|
75
|
-
function
|
|
75
|
+
function pn() {
|
|
76
76
|
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
77
77
|
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, T = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, u = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
|
|
78
78
|
function v(z) {
|
|
@@ -156,10 +156,10 @@ function mn() {
|
|
|
156
156
|
}
|
|
157
157
|
var Vt;
|
|
158
158
|
function fr() {
|
|
159
|
-
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? je.exports =
|
|
159
|
+
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? je.exports = fn() : je.exports = pn()), je.exports;
|
|
160
160
|
}
|
|
161
161
|
var Qe, Ht;
|
|
162
|
-
function
|
|
162
|
+
function mn() {
|
|
163
163
|
if (Ht) return Qe;
|
|
164
164
|
Ht = 1;
|
|
165
165
|
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
@@ -216,7 +216,7 @@ function pr() {
|
|
|
216
216
|
return Yt || (Yt = 1, tt = Function.call.bind(Object.prototype.hasOwnProperty)), tt;
|
|
217
217
|
}
|
|
218
218
|
var rt, Xt;
|
|
219
|
-
function
|
|
219
|
+
function gn() {
|
|
220
220
|
if (Xt) return rt;
|
|
221
221
|
Xt = 1;
|
|
222
222
|
var e = function() {
|
|
@@ -265,10 +265,10 @@ function hn() {
|
|
|
265
265
|
}, rt = i, rt;
|
|
266
266
|
}
|
|
267
267
|
var nt, Ut;
|
|
268
|
-
function
|
|
268
|
+
function hn() {
|
|
269
269
|
if (Ut) return nt;
|
|
270
270
|
Ut = 1;
|
|
271
|
-
var e = fr(), r =
|
|
271
|
+
var e = fr(), r = mn(), t = /* @__PURE__ */ xt(), n = /* @__PURE__ */ pr(), i = /* @__PURE__ */ gn(), s = function() {
|
|
272
272
|
};
|
|
273
273
|
process.env.NODE_ENV !== "production" && (s = function(l) {
|
|
274
274
|
var a = "Warning: " + l;
|
|
@@ -586,7 +586,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
586
586
|
}, nt;
|
|
587
587
|
}
|
|
588
588
|
var it, Kt;
|
|
589
|
-
function
|
|
589
|
+
function vn() {
|
|
590
590
|
if (Kt) return it;
|
|
591
591
|
Kt = 1;
|
|
592
592
|
var e = /* @__PURE__ */ xt();
|
|
@@ -634,17 +634,17 @@ function bn() {
|
|
|
634
634
|
}, it;
|
|
635
635
|
}
|
|
636
636
|
var Jt;
|
|
637
|
-
function
|
|
637
|
+
function bn() {
|
|
638
638
|
if (Jt) return Ge.exports;
|
|
639
639
|
if (Jt = 1, process.env.NODE_ENV !== "production") {
|
|
640
640
|
var e = fr(), r = !0;
|
|
641
|
-
Ge.exports = /* @__PURE__ */
|
|
641
|
+
Ge.exports = /* @__PURE__ */ hn()(e.isElement, r);
|
|
642
642
|
} else
|
|
643
|
-
Ge.exports = /* @__PURE__ */
|
|
643
|
+
Ge.exports = /* @__PURE__ */ vn()();
|
|
644
644
|
return Ge.exports;
|
|
645
645
|
}
|
|
646
|
-
var
|
|
647
|
-
const P = /* @__PURE__ */
|
|
646
|
+
var yn = /* @__PURE__ */ bn();
|
|
647
|
+
const P = /* @__PURE__ */ un(yn);
|
|
648
648
|
function mr(e) {
|
|
649
649
|
var r, t, n = "";
|
|
650
650
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -654,40 +654,40 @@ function mr(e) {
|
|
|
654
654
|
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
655
655
|
return n;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function xn() {
|
|
658
658
|
for (var e, r, t = 0, n = "", i = arguments.length; t < i; t++) (e = arguments[t]) && (r = mr(e)) && (n && (n += " "), n += r);
|
|
659
659
|
return n;
|
|
660
660
|
}
|
|
661
|
-
const
|
|
661
|
+
const Sn = (e, r) => {
|
|
662
662
|
const t = new Array(e.length + r.length);
|
|
663
663
|
for (let n = 0; n < e.length; n++)
|
|
664
664
|
t[n] = e[n];
|
|
665
665
|
for (let n = 0; n < r.length; n++)
|
|
666
666
|
t[e.length + n] = r[n];
|
|
667
667
|
return t;
|
|
668
|
-
},
|
|
668
|
+
}, Tn = (e, r) => ({
|
|
669
669
|
classGroupId: e,
|
|
670
670
|
validator: r
|
|
671
671
|
}), gr = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
|
|
672
672
|
nextPart: e,
|
|
673
673
|
validators: r,
|
|
674
674
|
classGroupId: t
|
|
675
|
-
}), Xe = "-", Zt = [],
|
|
676
|
-
const r =
|
|
675
|
+
}), Xe = "-", Zt = [], wn = "arbitrary..", En = (e) => {
|
|
676
|
+
const r = Mn(e), {
|
|
677
677
|
conflictingClassGroups: t,
|
|
678
678
|
conflictingClassGroupModifiers: n
|
|
679
679
|
} = e;
|
|
680
680
|
return {
|
|
681
681
|
getClassGroupId: (o) => {
|
|
682
682
|
if (o.startsWith("[") && o.endsWith("]"))
|
|
683
|
-
return
|
|
683
|
+
return Cn(o);
|
|
684
684
|
const l = o.split(Xe), a = l[0] === "" && l.length > 1 ? 1 : 0;
|
|
685
685
|
return hr(l, a, r);
|
|
686
686
|
},
|
|
687
687
|
getConflictingClassGroupIds: (o, l) => {
|
|
688
688
|
if (l) {
|
|
689
689
|
const a = n[o], d = t[o];
|
|
690
|
-
return a ? d ?
|
|
690
|
+
return a ? d ? Sn(d, a) : a : d || Zt;
|
|
691
691
|
}
|
|
692
692
|
return t[o] || Zt;
|
|
693
693
|
}
|
|
@@ -709,16 +709,16 @@ const Tn = (e, r) => {
|
|
|
709
709
|
if (p.validator(l))
|
|
710
710
|
return p.classGroupId;
|
|
711
711
|
}
|
|
712
|
-
},
|
|
712
|
+
}, Cn = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
713
713
|
const r = e.slice(1, -1), t = r.indexOf(":"), n = r.slice(0, t);
|
|
714
|
-
return n ?
|
|
715
|
-
})(),
|
|
714
|
+
return n ? wn + n : void 0;
|
|
715
|
+
})(), Mn = (e) => {
|
|
716
716
|
const {
|
|
717
717
|
theme: r,
|
|
718
718
|
classGroups: t
|
|
719
719
|
} = e;
|
|
720
|
-
return
|
|
721
|
-
},
|
|
720
|
+
return Pn(t, r);
|
|
721
|
+
}, Pn = (e, r) => {
|
|
722
722
|
const t = gr();
|
|
723
723
|
for (const n in e) {
|
|
724
724
|
const i = e[n];
|
|
@@ -729,28 +729,28 @@ const Tn = (e, r) => {
|
|
|
729
729
|
const i = e.length;
|
|
730
730
|
for (let s = 0; s < i; s++) {
|
|
731
731
|
const o = e[s];
|
|
732
|
-
|
|
732
|
+
On(o, r, t, n);
|
|
733
733
|
}
|
|
734
|
-
},
|
|
734
|
+
}, On = (e, r, t, n) => {
|
|
735
735
|
if (typeof e == "string") {
|
|
736
|
-
|
|
736
|
+
kn(e, r, t);
|
|
737
737
|
return;
|
|
738
738
|
}
|
|
739
739
|
if (typeof e == "function") {
|
|
740
|
-
|
|
740
|
+
In(e, r, t, n);
|
|
741
741
|
return;
|
|
742
742
|
}
|
|
743
|
-
|
|
744
|
-
},
|
|
743
|
+
Ln(e, r, t, n);
|
|
744
|
+
}, kn = (e, r, t) => {
|
|
745
745
|
const n = e === "" ? r : vr(r, e);
|
|
746
746
|
n.classGroupId = t;
|
|
747
|
-
},
|
|
748
|
-
if (
|
|
747
|
+
}, In = (e, r, t, n) => {
|
|
748
|
+
if (An(e)) {
|
|
749
749
|
St(e(n), r, t, n);
|
|
750
750
|
return;
|
|
751
751
|
}
|
|
752
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
753
|
-
},
|
|
752
|
+
r.validators === null && (r.validators = []), r.validators.push(Tn(t, e));
|
|
753
|
+
}, Ln = (e, r, t, n) => {
|
|
754
754
|
const i = Object.entries(e), s = i.length;
|
|
755
755
|
for (let o = 0; o < s; o++) {
|
|
756
756
|
const [l, a] = i[o];
|
|
@@ -765,7 +765,7 @@ const Tn = (e, r) => {
|
|
|
765
765
|
l || (l = gr(), t.nextPart.set(o, l)), t = l;
|
|
766
766
|
}
|
|
767
767
|
return t;
|
|
768
|
-
},
|
|
768
|
+
}, An = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Rn = (e) => {
|
|
769
769
|
if (e < 1)
|
|
770
770
|
return {
|
|
771
771
|
get: () => {
|
|
@@ -789,13 +789,13 @@ const Tn = (e, r) => {
|
|
|
789
789
|
s in t ? t[s] = o : i(s, o);
|
|
790
790
|
}
|
|
791
791
|
};
|
|
792
|
-
}, gt = "!", Qt = ":",
|
|
792
|
+
}, gt = "!", Qt = ":", zn = [], er = (e, r, t, n, i) => ({
|
|
793
793
|
modifiers: e,
|
|
794
794
|
hasImportantModifier: r,
|
|
795
795
|
baseClassName: t,
|
|
796
796
|
maybePostfixModifierPosition: n,
|
|
797
797
|
isExternal: i
|
|
798
|
-
}),
|
|
798
|
+
}), _n = (e) => {
|
|
799
799
|
const {
|
|
800
800
|
prefix: r,
|
|
801
801
|
experimentalParseClassName: t
|
|
@@ -832,7 +832,7 @@ const Tn = (e, r) => {
|
|
|
832
832
|
};
|
|
833
833
|
if (r) {
|
|
834
834
|
const i = r + Qt, s = n;
|
|
835
|
-
n = (o) => o.startsWith(i) ? s(o.slice(i.length)) : er(
|
|
835
|
+
n = (o) => o.startsWith(i) ? s(o.slice(i.length)) : er(zn, !1, o, void 0, !0);
|
|
836
836
|
}
|
|
837
837
|
if (t) {
|
|
838
838
|
const i = n;
|
|
@@ -842,7 +842,7 @@ const Tn = (e, r) => {
|
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
return n;
|
|
845
|
-
},
|
|
845
|
+
}, Nn = (e) => {
|
|
846
846
|
const r = /* @__PURE__ */ new Map();
|
|
847
847
|
return e.orderSensitiveModifiers.forEach((t, n) => {
|
|
848
848
|
r.set(t, 1e6 + n);
|
|
@@ -855,18 +855,18 @@ const Tn = (e, r) => {
|
|
|
855
855
|
}
|
|
856
856
|
return i.length > 0 && (i.sort(), n.push(...i)), n;
|
|
857
857
|
};
|
|
858
|
-
},
|
|
859
|
-
cache:
|
|
860
|
-
parseClassName:
|
|
861
|
-
sortModifiers:
|
|
862
|
-
...
|
|
863
|
-
}),
|
|
858
|
+
}, Dn = (e) => ({
|
|
859
|
+
cache: Rn(e.cacheSize),
|
|
860
|
+
parseClassName: _n(e),
|
|
861
|
+
sortModifiers: Nn(e),
|
|
862
|
+
...En(e)
|
|
863
|
+
}), qn = /\s+/, Bn = (e, r) => {
|
|
864
864
|
const {
|
|
865
865
|
parseClassName: t,
|
|
866
866
|
getClassGroupId: n,
|
|
867
867
|
getConflictingClassGroupIds: i,
|
|
868
868
|
sortModifiers: s
|
|
869
|
-
} = r, o = [], l = e.trim().split(
|
|
869
|
+
} = r, o = [], l = e.trim().split(qn);
|
|
870
870
|
let a = "";
|
|
871
871
|
for (let d = l.length - 1; d >= 0; d -= 1) {
|
|
872
872
|
const p = l[d], {
|
|
@@ -904,7 +904,7 @@ const Tn = (e, r) => {
|
|
|
904
904
|
a = p + (a.length > 0 ? " " + a : a);
|
|
905
905
|
}
|
|
906
906
|
return a;
|
|
907
|
-
},
|
|
907
|
+
}, $n = (...e) => {
|
|
908
908
|
let r = 0, t, n, i = "";
|
|
909
909
|
for (; r < e.length; )
|
|
910
910
|
(t = e[r++]) && (n = br(t)) && (i && (i += " "), i += n);
|
|
@@ -916,34 +916,34 @@ const Tn = (e, r) => {
|
|
|
916
916
|
for (let n = 0; n < e.length; n++)
|
|
917
917
|
e[n] && (r = br(e[n])) && (t && (t += " "), t += r);
|
|
918
918
|
return t;
|
|
919
|
-
},
|
|
919
|
+
}, Gn = (e, ...r) => {
|
|
920
920
|
let t, n, i, s;
|
|
921
921
|
const o = (a) => {
|
|
922
922
|
const d = r.reduce((p, c) => c(p), e());
|
|
923
|
-
return t =
|
|
923
|
+
return t = Dn(d), n = t.cache.get, i = t.cache.set, s = l, l(a);
|
|
924
924
|
}, l = (a) => {
|
|
925
925
|
const d = n(a);
|
|
926
926
|
if (d)
|
|
927
927
|
return d;
|
|
928
|
-
const p =
|
|
928
|
+
const p = Bn(a, t);
|
|
929
929
|
return i(a, p), p;
|
|
930
930
|
};
|
|
931
|
-
return s = o, (...a) => s(
|
|
932
|
-
},
|
|
933
|
-
const r = (t) => t[e] ||
|
|
931
|
+
return s = o, (...a) => s($n(...a));
|
|
932
|
+
}, jn = [], ne = (e) => {
|
|
933
|
+
const r = (t) => t[e] || jn;
|
|
934
934
|
return r.isThemeGetter = !0, r;
|
|
935
|
-
}, yr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xr = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
935
|
+
}, yr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Fn = /^\d+\/\d+$/, Vn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Wn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Yn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ee = (e) => Fn.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), ge = (e) => !!e && Number.isInteger(Number(e)), st = (e) => e.endsWith("%") && Y(e.slice(0, -1)), pe = (e) => Vn.test(e), Un = () => !0, Kn = (e) => (
|
|
936
936
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
937
937
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
938
938
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
939
|
-
|
|
940
|
-
), Sr = () => !1,
|
|
939
|
+
Hn.test(e) && !Wn.test(e)
|
|
940
|
+
), Sr = () => !1, Jn = (e) => Yn.test(e), Zn = (e) => Xn.test(e), Qn = (e) => !N(e) && !D(e), ei = (e) => Oe(e, Er, Sr), N = (e) => yr.test(e), xe = (e) => Oe(e, Cr, Kn), at = (e) => Oe(e, si, Y), tr = (e) => Oe(e, Tr, Sr), ti = (e) => Oe(e, wr, Zn), Fe = (e) => Oe(e, Mr, Jn), D = (e) => xr.test(e), Re = (e) => ke(e, Cr), ri = (e) => ke(e, ai), rr = (e) => ke(e, Tr), ni = (e) => ke(e, Er), ii = (e) => ke(e, wr), Ve = (e) => ke(e, Mr, !0), Oe = (e, r, t) => {
|
|
941
941
|
const n = yr.exec(e);
|
|
942
942
|
return n ? n[1] ? r(n[1]) : t(n[2]) : !1;
|
|
943
943
|
}, ke = (e, r, t = !1) => {
|
|
944
944
|
const n = xr.exec(e);
|
|
945
945
|
return n ? n[1] ? r(n[1]) : t : !1;
|
|
946
|
-
}, Tr = (e) => e === "position" || e === "percentage", wr = (e) => e === "image" || e === "url", Er = (e) => e === "length" || e === "size" || e === "bg-size", Cr = (e) => e === "length",
|
|
946
|
+
}, Tr = (e) => e === "position" || e === "percentage", wr = (e) => e === "image" || e === "url", Er = (e) => e === "length" || e === "size" || e === "bg-size", Cr = (e) => e === "length", si = (e) => e === "number", ai = (e) => e === "family-name", Mr = (e) => e === "shadow", oi = () => {
|
|
947
947
|
const e = ne("color"), r = ne("font"), t = ne("text"), n = ne("font-weight"), i = ne("tracking"), s = ne("leading"), o = ne("breakpoint"), l = ne("container"), a = ne("spacing"), d = ne("radius"), p = ne("shadow"), c = ne("inset-shadow"), T = ne("text-shadow"), f = ne("drop-shadow"), g = ne("blur"), b = ne("perspective"), x = ne("aspect"), u = ne("ease"), m = ne("animate"), v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
|
|
948
948
|
"center",
|
|
949
949
|
"top",
|
|
@@ -968,7 +968,7 @@ const Tn = (e, r) => {
|
|
|
968
968
|
position: [D, N]
|
|
969
969
|
}], C = () => ["no-repeat", {
|
|
970
970
|
repeat: ["", "x", "y", "space", "round"]
|
|
971
|
-
}], I = () => ["auto", "cover", "contain",
|
|
971
|
+
}], I = () => ["auto", "cover", "contain", ni, ei, {
|
|
972
972
|
size: [D, N]
|
|
973
973
|
}], H = () => [st, Re, xe], B = () => [
|
|
974
974
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -993,11 +993,11 @@ const Tn = (e, r) => {
|
|
|
993
993
|
aspect: ["video"],
|
|
994
994
|
blur: [pe],
|
|
995
995
|
breakpoint: [pe],
|
|
996
|
-
color: [
|
|
996
|
+
color: [Un],
|
|
997
997
|
container: [pe],
|
|
998
998
|
"drop-shadow": [pe],
|
|
999
999
|
ease: ["in", "out", "in-out"],
|
|
1000
|
-
font: [
|
|
1000
|
+
font: [Qn],
|
|
1001
1001
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
1002
1002
|
"inset-shadow": [pe],
|
|
1003
1003
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -1709,7 +1709,7 @@ const Tn = (e, r) => {
|
|
|
1709
1709
|
* @see https://tailwindcss.com/docs/font-family
|
|
1710
1710
|
*/
|
|
1711
1711
|
"font-family": [{
|
|
1712
|
-
font: [
|
|
1712
|
+
font: [ri, N, r]
|
|
1713
1713
|
}],
|
|
1714
1714
|
/**
|
|
1715
1715
|
* Font Variant Numeric
|
|
@@ -1964,7 +1964,7 @@ const Tn = (e, r) => {
|
|
|
1964
1964
|
}, ge, D, N],
|
|
1965
1965
|
radial: ["", D, N],
|
|
1966
1966
|
conic: [ge, D, N]
|
|
1967
|
-
},
|
|
1967
|
+
}, ii, ti]
|
|
1968
1968
|
}],
|
|
1969
1969
|
/**
|
|
1970
1970
|
* Background Color
|
|
@@ -3413,9 +3413,9 @@ const Tn = (e, r) => {
|
|
|
3413
3413
|
},
|
|
3414
3414
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3415
3415
|
};
|
|
3416
|
-
},
|
|
3416
|
+
}, li = /* @__PURE__ */ Gn(oi);
|
|
3417
3417
|
function re(...e) {
|
|
3418
|
-
return
|
|
3418
|
+
return li(xn(e));
|
|
3419
3419
|
}
|
|
3420
3420
|
const ze = {
|
|
3421
3421
|
base: "outline-none px-4 py-2 text-base leading-snug",
|
|
@@ -3454,7 +3454,7 @@ const ze = {
|
|
|
3454
3454
|
"soft-edge": "rounded-md",
|
|
3455
3455
|
rounded: "rounded-full"
|
|
3456
3456
|
}
|
|
3457
|
-
},
|
|
3457
|
+
}, di = ({
|
|
3458
3458
|
id: e = "",
|
|
3459
3459
|
className: r = "",
|
|
3460
3460
|
children: t,
|
|
@@ -3476,7 +3476,7 @@ const ze = {
|
|
|
3476
3476
|
);
|
|
3477
3477
|
return /* @__PURE__ */ $("button", { id: e, type: o, disabled: n || i, className: c, ...p, children: i && s ? s : t });
|
|
3478
3478
|
};
|
|
3479
|
-
|
|
3479
|
+
di.propTypes = {
|
|
3480
3480
|
id: P.string,
|
|
3481
3481
|
className: P.string,
|
|
3482
3482
|
children: P.node.isRequired,
|
|
@@ -3490,8 +3490,8 @@ ci.propTypes = {
|
|
|
3490
3490
|
};
|
|
3491
3491
|
const Pr = ye({
|
|
3492
3492
|
id: ""
|
|
3493
|
-
}),
|
|
3494
|
-
const { id: n } =
|
|
3493
|
+
}), ci = ({ id: e, children: r }) => /* @__PURE__ */ $(Pr.Provider, { value: { id: e }, children: r }), Or = ({ id: e = "", className: r = "", children: t }) => {
|
|
3494
|
+
const { id: n } = ce(Pr);
|
|
3495
3495
|
return /* @__PURE__ */ $(
|
|
3496
3496
|
"section",
|
|
3497
3497
|
{
|
|
@@ -3549,7 +3549,7 @@ const Rr = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3549
3549
|
);
|
|
3550
3550
|
};
|
|
3551
3551
|
Rr.displayName = "Cover.Title";
|
|
3552
|
-
const Te = ({ id: e, children: r }) => /* @__PURE__ */ $(
|
|
3552
|
+
const Te = ({ id: e, children: r }) => /* @__PURE__ */ $(ci, { id: e, children: r });
|
|
3553
3553
|
Te.Base = Or;
|
|
3554
3554
|
Te.Image = kr;
|
|
3555
3555
|
Te.Overlay = Ir;
|
|
@@ -3568,8 +3568,8 @@ const Ie = ye({
|
|
|
3568
3568
|
foreground: ""
|
|
3569
3569
|
},
|
|
3570
3570
|
open: !1
|
|
3571
|
-
}),
|
|
3572
|
-
const { id: i, open: s } =
|
|
3571
|
+
}), ui = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ $(Ie.Provider, { value: { id: e, theme: r, open: t }, children: n }), zr = ({ id: e = "", className: r = "", open: t = !1, onClose: n }) => {
|
|
3572
|
+
const { id: i, open: s } = ce(Ie), o = e || i, l = t || s;
|
|
3573
3573
|
return /* @__PURE__ */ $(
|
|
3574
3574
|
"div",
|
|
3575
3575
|
{
|
|
@@ -3594,7 +3594,7 @@ const _r = ({
|
|
|
3594
3594
|
width: i = "20rem",
|
|
3595
3595
|
children: s
|
|
3596
3596
|
}) => {
|
|
3597
|
-
const { id: o, theme: l, open: a } =
|
|
3597
|
+
const { id: o, theme: l, open: a } = ce(Ie), d = e || o, p = t || a;
|
|
3598
3598
|
return /* @__PURE__ */ $(
|
|
3599
3599
|
"aside",
|
|
3600
3600
|
{
|
|
@@ -3616,7 +3616,7 @@ const _r = ({
|
|
|
3616
3616
|
);
|
|
3617
3617
|
};
|
|
3618
3618
|
_r.displayName = "Drawer.Base";
|
|
3619
|
-
const
|
|
3619
|
+
const fi = () => /* @__PURE__ */ cr(
|
|
3620
3620
|
"svg",
|
|
3621
3621
|
{
|
|
3622
3622
|
width: "40",
|
|
@@ -3648,7 +3648,7 @@ const pi = () => /* @__PURE__ */ cr(
|
|
|
3648
3648
|
]
|
|
3649
3649
|
}
|
|
3650
3650
|
), Nr = ({ className: e = "", style: r = {}, onClick: t }) => {
|
|
3651
|
-
const { theme: n } =
|
|
3651
|
+
const { theme: n } = ce(Ie);
|
|
3652
3652
|
return /* @__PURE__ */ $(
|
|
3653
3653
|
"button",
|
|
3654
3654
|
{
|
|
@@ -3661,13 +3661,13 @@ const pi = () => /* @__PURE__ */ cr(
|
|
|
3661
3661
|
onMouseEnter: (i) => i.currentTarget.style.color = n.primary,
|
|
3662
3662
|
onMouseLeave: (i) => i.currentTarget.style.color = n.foreground,
|
|
3663
3663
|
style: r,
|
|
3664
|
-
children: /* @__PURE__ */ $(
|
|
3664
|
+
children: /* @__PURE__ */ $(fi, {})
|
|
3665
3665
|
}
|
|
3666
3666
|
);
|
|
3667
3667
|
};
|
|
3668
3668
|
Nr.displayName = "Drawer.Close";
|
|
3669
3669
|
const Dr = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */ $("img", { alt: e, src: r, className: re("aspect-auto object-contain object-center", t) }), qr = ({ alt: e = "", src: r = "" }) => {
|
|
3670
|
-
const { theme: t } =
|
|
3670
|
+
const { theme: t } = ce(Ie);
|
|
3671
3671
|
return /* @__PURE__ */ $(
|
|
3672
3672
|
"div",
|
|
3673
3673
|
{
|
|
@@ -3688,7 +3688,7 @@ const $r = ({
|
|
|
3688
3688
|
children: i,
|
|
3689
3689
|
onClick: s
|
|
3690
3690
|
}) => {
|
|
3691
|
-
const { theme: o } =
|
|
3691
|
+
const { theme: o } = ce(Ie);
|
|
3692
3692
|
return /* @__PURE__ */ $("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ $(
|
|
3693
3693
|
"a",
|
|
3694
3694
|
{
|
|
@@ -3703,7 +3703,7 @@ const $r = ({
|
|
|
3703
3703
|
) });
|
|
3704
3704
|
};
|
|
3705
3705
|
$r.displayName = "Drawer.Item";
|
|
3706
|
-
const we = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ $(
|
|
3706
|
+
const we = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ $(ui, { id: e, theme: r, open: t, children: n });
|
|
3707
3707
|
we.Overlay = zr;
|
|
3708
3708
|
we.Base = _r;
|
|
3709
3709
|
we.Close = Nr;
|
|
@@ -3730,13 +3730,13 @@ const qe = ye({
|
|
|
3730
3730
|
isOverflowing: !1,
|
|
3731
3731
|
updateOverflow: () => {
|
|
3732
3732
|
}
|
|
3733
|
-
}),
|
|
3734
|
-
const [n, i] = be(!1), s =
|
|
3733
|
+
}), pi = ({ id: e, theme: r, children: t }) => {
|
|
3734
|
+
const [n, i] = be(!1), s = dn((o) => {
|
|
3735
3735
|
i(!!o);
|
|
3736
3736
|
}, []);
|
|
3737
3737
|
return /* @__PURE__ */ $(qe.Provider, { value: { id: e, theme: r, isOverflowing: n, updateOverflow: s }, children: t });
|
|
3738
3738
|
}, Tt = ({ id: e = "", className: r = "", children: t }) => {
|
|
3739
|
-
const { id: n, theme: i, isOverflowing: s } =
|
|
3739
|
+
const { id: n, theme: i, isOverflowing: s } = ce(qe);
|
|
3740
3740
|
return /* @__PURE__ */ $(
|
|
3741
3741
|
"header",
|
|
3742
3742
|
{
|
|
@@ -3768,7 +3768,7 @@ wt.propTypes = {
|
|
|
3768
3768
|
src: P.string.isRequired
|
|
3769
3769
|
};
|
|
3770
3770
|
const Et = ({ className: e = "", children: r }) => {
|
|
3771
|
-
const t = oe(null), n = oe(null), { isOverflowing: i, updateOverflow: s } =
|
|
3771
|
+
const t = oe(null), n = oe(null), { isOverflowing: i, updateOverflow: s } = ce(qe);
|
|
3772
3772
|
return yt(() => {
|
|
3773
3773
|
const o = t.current, l = n.current;
|
|
3774
3774
|
if (!o || !l) return;
|
|
@@ -3803,7 +3803,7 @@ Et.propTypes = {
|
|
|
3803
3803
|
children: P.node.isRequired
|
|
3804
3804
|
};
|
|
3805
3805
|
const Ct = ({ className: e = "", path: r = "", active: t = !1, children: n }) => {
|
|
3806
|
-
const { theme: i } =
|
|
3806
|
+
const { theme: i } = ce(qe);
|
|
3807
3807
|
return /* @__PURE__ */ $("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ $(
|
|
3808
3808
|
"a",
|
|
3809
3809
|
{
|
|
@@ -3824,7 +3824,7 @@ Ct.propTypes = {
|
|
|
3824
3824
|
children: P.node.isRequired
|
|
3825
3825
|
};
|
|
3826
3826
|
const Mt = ({ className: e = "", onClick: r }) => {
|
|
3827
|
-
const { theme: t, isOverflowing: n } =
|
|
3827
|
+
const { theme: t, isOverflowing: n } = ce(qe), [i, s] = be(!1), o = i ? t.primary : t.foreground;
|
|
3828
3828
|
if (n)
|
|
3829
3829
|
return /* @__PURE__ */ cr(
|
|
3830
3830
|
"button",
|
|
@@ -3850,7 +3850,7 @@ Mt.propTypes = {
|
|
|
3850
3850
|
className: P.string,
|
|
3851
3851
|
onClick: P.onClick
|
|
3852
3852
|
};
|
|
3853
|
-
const Le = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(
|
|
3853
|
+
const Le = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(pi, { id: e, theme: r, children: t });
|
|
3854
3854
|
Le.Base = Tt;
|
|
3855
3855
|
Le.Logo = wt;
|
|
3856
3856
|
Le.Menu = Et;
|
|
@@ -3865,15 +3865,9 @@ Le.propTypes = {
|
|
|
3865
3865
|
}).isRequired,
|
|
3866
3866
|
children: P.node.isRequired
|
|
3867
3867
|
};
|
|
3868
|
-
const
|
|
3869
|
-
id: ""
|
|
3870
|
-
|
|
3871
|
-
primary: "",
|
|
3872
|
-
secondary: "",
|
|
3873
|
-
tertiary: "",
|
|
3874
|
-
quaternary: ""
|
|
3875
|
-
}
|
|
3876
|
-
}), gi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(Gr.Provider, { value: { id: e, theme: r }, children: t }), Pt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ $(
|
|
3868
|
+
const mi = ye({
|
|
3869
|
+
id: ""
|
|
3870
|
+
}), gi = ({ id: e, children: r }) => /* @__PURE__ */ $(mi.Provider, { value: { id: e }, children: r }), Pt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ $(
|
|
3877
3871
|
"section",
|
|
3878
3872
|
{
|
|
3879
3873
|
className: re(
|
|
@@ -3915,27 +3909,18 @@ Ot.propTypes = {
|
|
|
3915
3909
|
style: P.object,
|
|
3916
3910
|
children: P.node.isRequired
|
|
3917
3911
|
};
|
|
3918
|
-
const kt = ({ className: e = "", style: r = {},
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
"h2",
|
|
3927
|
-
{
|
|
3928
|
-
className: re("NEXTSTEPS-TITLE", e),
|
|
3929
|
-
style: { fontSize: i, fontWeight: s, fontStyle: o, lineHeight: l, color: a.primary, ...r },
|
|
3930
|
-
children: n
|
|
3931
|
-
}
|
|
3932
|
-
);
|
|
3933
|
-
};
|
|
3912
|
+
const kt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ $(
|
|
3913
|
+
"h2",
|
|
3914
|
+
{
|
|
3915
|
+
className: re("NEXTSTEPS-TITLE", "text-(--redhq-primary-500) leading-[1.2]", e),
|
|
3916
|
+
style: { fontSize: "clamp(1.5rem, 2.2vw + 0.65rem, 2.75rem)", ...r },
|
|
3917
|
+
children: t
|
|
3918
|
+
}
|
|
3919
|
+
);
|
|
3934
3920
|
kt.displayName = "NextSteps.Title";
|
|
3935
3921
|
kt.propTypes = {
|
|
3936
3922
|
className: P.string,
|
|
3937
3923
|
style: P.object,
|
|
3938
|
-
specs: P.arrayOf(P.string),
|
|
3939
3924
|
children: P.node.isRequired
|
|
3940
3925
|
};
|
|
3941
3926
|
const It = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ $("div", { className: re("NEXTSTEPS-CONTENT", e), style: r, children: t });
|
|
@@ -3963,7 +3948,7 @@ Lt.propTypes = {
|
|
|
3963
3948
|
style: P.object,
|
|
3964
3949
|
children: P.node.isRequired
|
|
3965
3950
|
};
|
|
3966
|
-
const Ae = ({ id: e,
|
|
3951
|
+
const Ae = ({ id: e, children: r }) => /* @__PURE__ */ $(gi, { id: e, children: r });
|
|
3967
3952
|
Ae.Base = Pt;
|
|
3968
3953
|
Ae.Container = Ot;
|
|
3969
3954
|
Ae.Title = kt;
|
|
@@ -3971,15 +3956,9 @@ Ae.Content = It;
|
|
|
3971
3956
|
Ae.CtaWrapper = Lt;
|
|
3972
3957
|
Ae.propTypes = {
|
|
3973
3958
|
id: P.string.isRequired,
|
|
3974
|
-
theme: P.shape({
|
|
3975
|
-
primary: P.string,
|
|
3976
|
-
secondary: P.string,
|
|
3977
|
-
tertiary: P.string,
|
|
3978
|
-
quaternary: P.string
|
|
3979
|
-
}).isRequired,
|
|
3980
3959
|
children: P.node.isRequired
|
|
3981
3960
|
};
|
|
3982
|
-
const
|
|
3961
|
+
const Gr = ye({
|
|
3983
3962
|
id: "",
|
|
3984
3963
|
theme: {
|
|
3985
3964
|
primary: "",
|
|
@@ -3987,7 +3966,7 @@ const jr = ye({
|
|
|
3987
3966
|
tertiary: "",
|
|
3988
3967
|
quaternary: ""
|
|
3989
3968
|
}
|
|
3990
|
-
}), hi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(
|
|
3969
|
+
}), hi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(Gr.Provider, { value: { id: e, theme: r }, children: t }), At = ({ className: e = "", children: r }) => /* @__PURE__ */ $("div", { className: re("RECORD-BASE", "space-y-4 md:space-y-6 lg:space-y-8", e), children: r });
|
|
3991
3970
|
At.displayName = "Record.Base";
|
|
3992
3971
|
At.propTypes = {
|
|
3993
3972
|
className: P.string,
|
|
@@ -3999,7 +3978,7 @@ const Rt = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3999
3978
|
i = "normal",
|
|
4000
3979
|
s = "normal",
|
|
4001
3980
|
o = "1.2"
|
|
4002
|
-
] = r, { theme: l } =
|
|
3981
|
+
] = r, { theme: l } = ce(Gr);
|
|
4003
3982
|
return /* @__PURE__ */ $(
|
|
4004
3983
|
"h2",
|
|
4005
3984
|
{
|
|
@@ -4052,7 +4031,7 @@ const Ce = (e) => ({
|
|
|
4052
4031
|
// ≤ 640 Mobile
|
|
4053
4032
|
children: o
|
|
4054
4033
|
}) => {
|
|
4055
|
-
const [l, a] = vi(), d =
|
|
4034
|
+
const [l, a] = vi(), d = cn(() => a ? a <= 640 ? Ce(s) : a <= 768 ? Ce(i) : a <= 1024 ? Ce(n) : a <= 1280 ? Ce(t) : Ce(r) : Ce(r), [a, s, i, n, t, r]);
|
|
4056
4035
|
return /* @__PURE__ */ $("div", { ref: l, className: re("RECORD-GRID", "grid gap-4", d, e), children: o });
|
|
4057
4036
|
};
|
|
4058
4037
|
zt.displayName = "Record.Grid";
|
|
@@ -4086,7 +4065,7 @@ Be.propTypes = {
|
|
|
4086
4065
|
}).isRequired,
|
|
4087
4066
|
children: P.node.isRequired
|
|
4088
4067
|
};
|
|
4089
|
-
const
|
|
4068
|
+
const jr = ye({
|
|
4090
4069
|
id: "",
|
|
4091
4070
|
theme: {
|
|
4092
4071
|
primary: "",
|
|
@@ -4094,7 +4073,7 @@ const Fr = ye({
|
|
|
4094
4073
|
tertiary: "",
|
|
4095
4074
|
quaternary: ""
|
|
4096
4075
|
}
|
|
4097
|
-
}), bi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(
|
|
4076
|
+
}), bi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ $(jr.Provider, { value: { id: e, theme: r }, children: t }), Nt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ $(
|
|
4098
4077
|
"section",
|
|
4099
4078
|
{
|
|
4100
4079
|
className: re(
|
|
@@ -4135,7 +4114,7 @@ function qt(e = {}, r = {}) {
|
|
|
4135
4114
|
typeof e[n] > "u" ? e[n] = r[n] : nr(r[n]) && nr(e[n]) && Object.keys(r[n]).length > 0 && qt(e[n], r[n]);
|
|
4136
4115
|
});
|
|
4137
4116
|
}
|
|
4138
|
-
const
|
|
4117
|
+
const Fr = {
|
|
4139
4118
|
body: {},
|
|
4140
4119
|
addEventListener() {
|
|
4141
4120
|
},
|
|
@@ -4190,12 +4169,12 @@ const Vr = {
|
|
|
4190
4169
|
search: ""
|
|
4191
4170
|
}
|
|
4192
4171
|
};
|
|
4193
|
-
function
|
|
4172
|
+
function de() {
|
|
4194
4173
|
const e = typeof document < "u" ? document : {};
|
|
4195
|
-
return qt(e,
|
|
4174
|
+
return qt(e, Fr), e;
|
|
4196
4175
|
}
|
|
4197
4176
|
const yi = {
|
|
4198
|
-
document:
|
|
4177
|
+
document: Fr,
|
|
4199
4178
|
navigator: {
|
|
4200
4179
|
userAgent: ""
|
|
4201
4180
|
},
|
|
@@ -4272,7 +4251,7 @@ function Si(e) {
|
|
|
4272
4251
|
}
|
|
4273
4252
|
});
|
|
4274
4253
|
}
|
|
4275
|
-
function
|
|
4254
|
+
function Vr(e, r = 0) {
|
|
4276
4255
|
return setTimeout(e, r);
|
|
4277
4256
|
}
|
|
4278
4257
|
function Ue() {
|
|
@@ -4312,7 +4291,7 @@ function le(...e) {
|
|
|
4312
4291
|
function We(e, r, t) {
|
|
4313
4292
|
e.style.setProperty(r, t);
|
|
4314
4293
|
}
|
|
4315
|
-
function
|
|
4294
|
+
function Hr({
|
|
4316
4295
|
swiper: e,
|
|
4317
4296
|
targetPosition: r,
|
|
4318
4297
|
side: t
|
|
@@ -4395,7 +4374,7 @@ function De(e) {
|
|
|
4395
4374
|
return t;
|
|
4396
4375
|
}
|
|
4397
4376
|
}
|
|
4398
|
-
function
|
|
4377
|
+
function Wr(e, r) {
|
|
4399
4378
|
const t = [];
|
|
4400
4379
|
let n = e.parentElement;
|
|
4401
4380
|
for (; n; )
|
|
@@ -4416,20 +4395,20 @@ function Pe(e, r = "") {
|
|
|
4416
4395
|
}
|
|
4417
4396
|
let ot;
|
|
4418
4397
|
function ki() {
|
|
4419
|
-
const e = ae(), r =
|
|
4398
|
+
const e = ae(), r = de();
|
|
4420
4399
|
return {
|
|
4421
4400
|
smoothScroll: r.documentElement && r.documentElement.style && "scrollBehavior" in r.documentElement.style,
|
|
4422
4401
|
touch: !!("ontouchstart" in e || e.DocumentTouch && r instanceof e.DocumentTouch)
|
|
4423
4402
|
};
|
|
4424
4403
|
}
|
|
4425
|
-
function
|
|
4404
|
+
function Yr() {
|
|
4426
4405
|
return ot || (ot = ki()), ot;
|
|
4427
4406
|
}
|
|
4428
4407
|
let lt;
|
|
4429
4408
|
function Ii({
|
|
4430
4409
|
userAgent: e
|
|
4431
4410
|
} = {}) {
|
|
4432
|
-
const r =
|
|
4411
|
+
const r = Yr(), t = ae(), n = t.navigator.platform, i = e || t.navigator.userAgent, s = {
|
|
4433
4412
|
ios: !1,
|
|
4434
4413
|
android: !1
|
|
4435
4414
|
}, o = t.screen.width, l = t.screen.height, a = i.match(/(Android);?[\s\/]+([\d.]+)?/);
|
|
@@ -4439,12 +4418,12 @@ function Ii({
|
|
|
4439
4418
|
const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
|
|
4440
4419
|
return !d && f && r.touch && g.indexOf(`${o}x${l}`) >= 0 && (d = i.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), f = !1), a && !T && (s.os = "android", s.android = !0), (d || c || p) && (s.os = "ios", s.ios = !0), s;
|
|
4441
4420
|
}
|
|
4442
|
-
function
|
|
4421
|
+
function Xr(e = {}) {
|
|
4443
4422
|
return lt || (lt = Ii(e)), lt;
|
|
4444
4423
|
}
|
|
4445
4424
|
let dt;
|
|
4446
4425
|
function Li() {
|
|
4447
|
-
const e = ae(), r =
|
|
4426
|
+
const e = ae(), r = Xr();
|
|
4448
4427
|
let t = !1;
|
|
4449
4428
|
function n() {
|
|
4450
4429
|
const l = e.navigator.userAgent.toLowerCase();
|
|
@@ -4465,7 +4444,7 @@ function Li() {
|
|
|
4465
4444
|
isWebView: i
|
|
4466
4445
|
};
|
|
4467
4446
|
}
|
|
4468
|
-
function
|
|
4447
|
+
function Ur() {
|
|
4469
4448
|
return dt || (dt = Li()), dt;
|
|
4470
4449
|
}
|
|
4471
4450
|
function Ai({
|
|
@@ -4535,7 +4514,7 @@ function Ri({
|
|
|
4535
4514
|
}, l = () => {
|
|
4536
4515
|
if (e.params.observer) {
|
|
4537
4516
|
if (e.params.observeParents) {
|
|
4538
|
-
const d =
|
|
4517
|
+
const d = Wr(e.hostEl);
|
|
4539
4518
|
for (let p = 0; p < d.length; p += 1)
|
|
4540
4519
|
o(d[p]);
|
|
4541
4520
|
}
|
|
@@ -5023,7 +5002,7 @@ function Ki(e = 0, r = this.params.speed, t = !0, n = !0, i) {
|
|
|
5023
5002
|
l[c ? "scrollLeft" : "scrollTop"] = -p;
|
|
5024
5003
|
else {
|
|
5025
5004
|
if (!s.support.smoothScroll)
|
|
5026
|
-
return
|
|
5005
|
+
return Hr({
|
|
5027
5006
|
swiper: s,
|
|
5028
5007
|
targetPosition: -p,
|
|
5029
5008
|
side: c ? "left" : "top"
|
|
@@ -5050,7 +5029,7 @@ function Zi(e, r) {
|
|
|
5050
5029
|
const t = this;
|
|
5051
5030
|
t.params.cssMode || (t.wrapperEl.style.transitionDuration = `${e}ms`, t.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), t.emit("setTransition", e, r);
|
|
5052
5031
|
}
|
|
5053
|
-
function
|
|
5032
|
+
function Kr({
|
|
5054
5033
|
swiper: e,
|
|
5055
5034
|
runCallbacks: r,
|
|
5056
5035
|
direction: t,
|
|
@@ -5067,7 +5046,7 @@ function Qi(e = !0, r) {
|
|
|
5067
5046
|
const t = this, {
|
|
5068
5047
|
params: n
|
|
5069
5048
|
} = t;
|
|
5070
|
-
n.cssMode || (n.autoHeight && t.updateAutoHeight(),
|
|
5049
|
+
n.cssMode || (n.autoHeight && t.updateAutoHeight(), Kr({
|
|
5071
5050
|
swiper: t,
|
|
5072
5051
|
runCallbacks: e,
|
|
5073
5052
|
direction: r,
|
|
@@ -5078,7 +5057,7 @@ function es(e = !0, r) {
|
|
|
5078
5057
|
const t = this, {
|
|
5079
5058
|
params: n
|
|
5080
5059
|
} = t;
|
|
5081
|
-
t.animating = !1, !n.cssMode && (t.setTransition(0),
|
|
5060
|
+
t.animating = !1, !n.cssMode && (t.setTransition(0), Kr({
|
|
5082
5061
|
swiper: t,
|
|
5083
5062
|
runCallbacks: e,
|
|
5084
5063
|
direction: r,
|
|
@@ -5135,7 +5114,7 @@ function rs(e = 0, r, t = !0, n, i) {
|
|
|
5135
5114
|
});
|
|
5136
5115
|
else {
|
|
5137
5116
|
if (!s.support.smoothScroll)
|
|
5138
|
-
return
|
|
5117
|
+
return Hr({
|
|
5139
5118
|
swiper: s,
|
|
5140
5119
|
targetPosition: h,
|
|
5141
5120
|
side: L ? "left" : "top"
|
|
@@ -5147,7 +5126,7 @@ function rs(e = 0, r, t = !0, n, i) {
|
|
|
5147
5126
|
}
|
|
5148
5127
|
return !0;
|
|
5149
5128
|
}
|
|
5150
|
-
const A =
|
|
5129
|
+
const A = Ur().isSafari;
|
|
5151
5130
|
return v && !i && A && s.isElement && s.virtual.update(!1, !1, o), s.setTransition(r), s.setTranslate(u), s.updateActiveIndex(o), s.updateSlidesClasses(), s.emit("beforeTransitionStart", r, n), s.transitionStart(t, m), r === 0 ? s.transitionEnd(t, m) : s.animating || (s.animating = !0, s.onSlideToWrapperTransitionEnd || (s.onSlideToWrapperTransitionEnd = function(h) {
|
|
5152
5131
|
!s || s.destroyed || h.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onSlideToWrapperTransitionEnd), s.onSlideToWrapperTransitionEnd = null, delete s.onSlideToWrapperTransitionEnd, s.transitionEnd(t, m));
|
|
5153
5132
|
}), s.wrapperEl.addEventListener("transitionend", s.onSlideToWrapperTransitionEnd)), !0;
|
|
@@ -5289,7 +5268,7 @@ function ls() {
|
|
|
5289
5268
|
const o = e.isElement ? "swiper-slide" : `.${r.slideClass}`, l = e.grid && e.params.grid && e.params.grid.rows > 1;
|
|
5290
5269
|
if (r.loop) {
|
|
5291
5270
|
if (e.animating) return;
|
|
5292
|
-
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), r.centeredSlides ? e.slideToLoop(s) : i > (l ? (e.slides.length - n) / 2 - (e.params.grid.rows - 1) : e.slides.length - n) ? (e.loopFix(), i = e.getSlideIndex(fe(t, `${o}[data-swiper-slide-index="${s}"]`)[0]),
|
|
5271
|
+
s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), r.centeredSlides ? e.slideToLoop(s) : i > (l ? (e.slides.length - n) / 2 - (e.params.grid.rows - 1) : e.slides.length - n) ? (e.loopFix(), i = e.getSlideIndex(fe(t, `${o}[data-swiper-slide-index="${s}"]`)[0]), Vr(() => {
|
|
5293
5272
|
e.slideTo(i);
|
|
5294
5273
|
})) : e.slideTo(i);
|
|
5295
5274
|
} else
|
|
@@ -5500,7 +5479,7 @@ var hs = {
|
|
|
5500
5479
|
};
|
|
5501
5480
|
function vs(e, r = this) {
|
|
5502
5481
|
function t(n) {
|
|
5503
|
-
if (!n || n ===
|
|
5482
|
+
if (!n || n === de() || n === ae()) return null;
|
|
5504
5483
|
n.assignedSlot && (n = n.assignedSlot);
|
|
5505
5484
|
const i = n.closest(e);
|
|
5506
5485
|
return !i && !n.getRootNode ? null : i || t(n.getRootNode().host);
|
|
@@ -5514,7 +5493,7 @@ function sr(e, r, t) {
|
|
|
5514
5493
|
return s && (t <= o || t >= n.innerWidth - o) ? s === "prevent" ? (r.preventDefault(), !0) : !1 : !0;
|
|
5515
5494
|
}
|
|
5516
5495
|
function bs(e) {
|
|
5517
|
-
const r = this, t =
|
|
5496
|
+
const r = this, t = de();
|
|
5518
5497
|
let n = e;
|
|
5519
5498
|
n.originalEvent && (n = n.originalEvent);
|
|
5520
5499
|
const i = r.touchEventsData;
|
|
@@ -5563,7 +5542,7 @@ function bs(e) {
|
|
|
5563
5542
|
(s.touchStartForcePreventDefault || x) && !a.isContentEditable && n.preventDefault(), s.freeMode && s.freeMode.enabled && r.freeMode && r.animating && !s.cssMode && r.freeMode.onTouchStart(), r.emit("touchStart", n);
|
|
5564
5543
|
}
|
|
5565
5544
|
function ys(e) {
|
|
5566
|
-
const r =
|
|
5545
|
+
const r = de(), t = this, n = t.touchEventsData, {
|
|
5567
5546
|
params: i,
|
|
5568
5547
|
touches: s,
|
|
5569
5548
|
rtlTranslate: o,
|
|
@@ -5710,7 +5689,7 @@ function xs(e) {
|
|
|
5710
5689
|
const y = n.path || n.composedPath && n.composedPath();
|
|
5711
5690
|
r.updateClickedSlide(y && y[0] || n.target, y), r.emit("tap click", n), T < 300 && c - t.lastClickTime < 300 && r.emit("doubleTap doubleClick", n);
|
|
5712
5691
|
}
|
|
5713
|
-
if (t.lastClickTime = Ue(),
|
|
5692
|
+
if (t.lastClickTime = Ue(), Vr(() => {
|
|
5714
5693
|
r.destroyed || (r.allowClick = !0);
|
|
5715
5694
|
}), !t.isTouched || !t.isMoved || !r.swipeDirection || l.diff === 0 && !t.loopSwapReset || t.currentTranslate === t.startTranslate && !t.loopSwapReset) {
|
|
5716
5695
|
t.isTouched = !1, t.isMoved = !1, t.startMoving = !1;
|
|
@@ -5791,8 +5770,8 @@ function Es() {
|
|
|
5791
5770
|
const e = this;
|
|
5792
5771
|
e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
5793
5772
|
}
|
|
5794
|
-
const
|
|
5795
|
-
const t =
|
|
5773
|
+
const Jr = (e, r) => {
|
|
5774
|
+
const t = de(), {
|
|
5796
5775
|
params: n,
|
|
5797
5776
|
el: i,
|
|
5798
5777
|
wrapperEl: s,
|
|
@@ -5833,10 +5812,10 @@ function Cs() {
|
|
|
5833
5812
|
const e = this, {
|
|
5834
5813
|
params: r
|
|
5835
5814
|
} = e;
|
|
5836
|
-
e.onTouchStart = bs.bind(e), e.onTouchMove = ys.bind(e), e.onTouchEnd = xs.bind(e), e.onDocumentTouchStart = Es.bind(e), r.cssMode && (e.onScroll = Ts.bind(e)), e.onClick = Ss.bind(e), e.onLoad = ws.bind(e),
|
|
5815
|
+
e.onTouchStart = bs.bind(e), e.onTouchMove = ys.bind(e), e.onTouchEnd = xs.bind(e), e.onDocumentTouchStart = Es.bind(e), r.cssMode && (e.onScroll = Ts.bind(e)), e.onClick = Ss.bind(e), e.onLoad = ws.bind(e), Jr(e, "on");
|
|
5837
5816
|
}
|
|
5838
5817
|
function Ms() {
|
|
5839
|
-
|
|
5818
|
+
Jr(this, "off");
|
|
5840
5819
|
}
|
|
5841
5820
|
var Ps = {
|
|
5842
5821
|
attachEvents: Cs,
|
|
@@ -5851,7 +5830,7 @@ function Os() {
|
|
|
5851
5830
|
el: i
|
|
5852
5831
|
} = e, s = n.breakpoints;
|
|
5853
5832
|
if (!s || s && Object.keys(s).length === 0) return;
|
|
5854
|
-
const o =
|
|
5833
|
+
const o = de(), l = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", a = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? e.el : o.querySelector(n.breakpointsBase), d = e.getBreakpoint(s, l, a);
|
|
5855
5834
|
if (!d || e.currentBreakpoint === d) return;
|
|
5856
5835
|
const c = (d in s ? s[d] : void 0) || e.originalParams, T = or(e, n), f = or(e, c), g = e.params.grabCursor, b = c.grabCursor, x = n.enabled;
|
|
5857
5836
|
T && !f ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), e.emitContainerClasses()) : !T && f && (i.classList.add(`${n.containerModifierClass}grid`), (c.grid.fill && c.grid.fill === "column" || !c.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), e.emitContainerClasses()), g && !b ? e.unsetGrabCursor() : !g && b && e.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((A) => {
|
|
@@ -6119,7 +6098,7 @@ let Bt = class me {
|
|
|
6119
6098
|
constructor(...r) {
|
|
6120
6099
|
let t, n;
|
|
6121
6100
|
r.length === 1 && r[0].constructor && Object.prototype.toString.call(r[0]).slice(8, -1) === "Object" ? n = r[0] : [t, n] = r, n || (n = {}), n = le({}, n), t && !n.el && (n.el = t);
|
|
6122
|
-
const i =
|
|
6101
|
+
const i = de();
|
|
6123
6102
|
if (n.el && typeof n.el == "string" && i.querySelectorAll(n.el).length > 1) {
|
|
6124
6103
|
const a = [];
|
|
6125
6104
|
return i.querySelectorAll(n.el).forEach((d) => {
|
|
@@ -6130,9 +6109,9 @@ let Bt = class me {
|
|
|
6130
6109
|
}), a;
|
|
6131
6110
|
}
|
|
6132
6111
|
const s = this;
|
|
6133
|
-
s.__swiper__ = !0, s.support =
|
|
6112
|
+
s.__swiper__ = !0, s.support = Yr(), s.device = Xr({
|
|
6134
6113
|
userAgent: n.userAgent
|
|
6135
|
-
}), s.browser =
|
|
6114
|
+
}), s.browser = Ur(), s.eventsListeners = {}, s.eventsAnyListeners = [], s.modules = [...s.__modules__], n.modules && Array.isArray(n.modules) && s.modules.push(...n.modules);
|
|
6136
6115
|
const o = {};
|
|
6137
6116
|
s.modules.forEach((a) => {
|
|
6138
6117
|
a({
|
|
@@ -6422,7 +6401,7 @@ Object.keys(ft).forEach((e) => {
|
|
|
6422
6401
|
});
|
|
6423
6402
|
});
|
|
6424
6403
|
Bt.use([Ai, Ri]);
|
|
6425
|
-
const
|
|
6404
|
+
const Zr = [
|
|
6426
6405
|
"eventsPrefix",
|
|
6427
6406
|
"injectStyles",
|
|
6428
6407
|
"injectStylesUrls",
|
|
@@ -6550,16 +6529,16 @@ function Me(e, r) {
|
|
|
6550
6529
|
typeof e[n] > "u" ? e[n] = r[n] : Se(r[n]) && Se(e[n]) && Object.keys(r[n]).length > 0 ? r[n].__swiper__ ? e[n] = r[n] : Me(e[n], r[n]) : e[n] = r[n];
|
|
6551
6530
|
});
|
|
6552
6531
|
}
|
|
6553
|
-
function
|
|
6532
|
+
function Qr(e = {}) {
|
|
6554
6533
|
return e.navigation && typeof e.navigation.nextEl > "u" && typeof e.navigation.prevEl > "u";
|
|
6555
6534
|
}
|
|
6556
|
-
function
|
|
6535
|
+
function en(e = {}) {
|
|
6557
6536
|
return e.pagination && typeof e.pagination.el > "u";
|
|
6558
6537
|
}
|
|
6559
|
-
function
|
|
6538
|
+
function tn(e = {}) {
|
|
6560
6539
|
return e.scrollbar && typeof e.scrollbar.el > "u";
|
|
6561
6540
|
}
|
|
6562
|
-
function
|
|
6541
|
+
function rn(e = "") {
|
|
6563
6542
|
const r = e.split(" ").map((n) => n.trim()).filter((n) => !!n), t = [];
|
|
6564
6543
|
return r.forEach((n) => {
|
|
6565
6544
|
t.indexOf(n) < 0 && t.push(n);
|
|
@@ -6605,7 +6584,7 @@ function $s(e = {}, r = !0) {
|
|
|
6605
6584
|
on: {}
|
|
6606
6585
|
}, n = {}, i = {};
|
|
6607
6586
|
Me(t, bt), t._emitClasses = !0, t.init = !1;
|
|
6608
|
-
const s = {}, o =
|
|
6587
|
+
const s = {}, o = Zr.map((a) => a.replace(/_/, "")), l = Object.assign({}, e);
|
|
6609
6588
|
return Object.keys(l).forEach((a) => {
|
|
6610
6589
|
typeof e[a] > "u" || (o.indexOf(a) >= 0 ? Se(e[a]) ? (t[a] = {}, i[a] = {}, Me(t[a], e[a]), Me(i[a], e[a])) : (t[a] = e[a], i[a] = e[a]) : a.search(/on[A-Z]/) === 0 && typeof e[a] == "function" ? r ? n[`${a[2].toLowerCase()}${a.substr(3)}`] = e[a] : t.on[`${a[2].toLowerCase()}${a.substr(3)}`] = e[a] : s[a] = e[a]);
|
|
6611
6590
|
}), ["navigation", "pagination", "scrollbar"].forEach((a) => {
|
|
@@ -6625,7 +6604,7 @@ function Gs({
|
|
|
6625
6604
|
scrollbarEl: i,
|
|
6626
6605
|
swiper: s
|
|
6627
6606
|
}, o) {
|
|
6628
|
-
|
|
6607
|
+
Qr(o) && r && t && (s.params.navigation.nextEl = r, s.originalParams.navigation.nextEl = r, s.params.navigation.prevEl = t, s.originalParams.navigation.prevEl = t), en(o) && n && (s.params.pagination.el = n, s.originalParams.pagination.el = n), tn(o) && i && (s.params.scrollbar.el = i, s.originalParams.scrollbar.el = i), s.init(e);
|
|
6629
6608
|
}
|
|
6630
6609
|
function js(e, r, t, n, i) {
|
|
6631
6610
|
const s = [];
|
|
@@ -6637,7 +6616,7 @@ function js(e, r, t, n, i) {
|
|
|
6637
6616
|
const a = n.map(i), d = t.map(i);
|
|
6638
6617
|
a.join("") !== d.join("") && o("children"), n.length !== t.length && o("children");
|
|
6639
6618
|
}
|
|
6640
|
-
return
|
|
6619
|
+
return Zr.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
|
|
6641
6620
|
if (a in e && a in r)
|
|
6642
6621
|
if (Se(e[a]) && Se(r[a])) {
|
|
6643
6622
|
const d = Object.keys(e[a]), p = Object.keys(r[a]);
|
|
@@ -6662,13 +6641,13 @@ function Je() {
|
|
|
6662
6641
|
return e;
|
|
6663
6642
|
}, Je.apply(this, arguments);
|
|
6664
6643
|
}
|
|
6665
|
-
function
|
|
6644
|
+
function nn(e) {
|
|
6666
6645
|
return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
|
|
6667
6646
|
}
|
|
6668
|
-
function
|
|
6647
|
+
function sn(e) {
|
|
6669
6648
|
const r = [];
|
|
6670
6649
|
return ie.Children.toArray(e).forEach((t) => {
|
|
6671
|
-
|
|
6650
|
+
nn(t) ? r.push(t) : t.props && t.props.children && sn(t.props.children).forEach((n) => r.push(n));
|
|
6672
6651
|
}), r;
|
|
6673
6652
|
}
|
|
6674
6653
|
function Vs(e) {
|
|
@@ -6679,12 +6658,12 @@ function Vs(e) {
|
|
|
6679
6658
|
"wrapper-end": []
|
|
6680
6659
|
};
|
|
6681
6660
|
return ie.Children.toArray(e).forEach((n) => {
|
|
6682
|
-
if (
|
|
6661
|
+
if (nn(n))
|
|
6683
6662
|
r.push(n);
|
|
6684
6663
|
else if (n.props && n.props.slot && t[n.props.slot])
|
|
6685
6664
|
t[n.props.slot].push(n);
|
|
6686
6665
|
else if (n.props && n.props.children) {
|
|
6687
|
-
const i =
|
|
6666
|
+
const i = sn(n.props.children);
|
|
6688
6667
|
i.length > 0 ? i.forEach((s) => r.push(s)) : t["container-end"].push(n);
|
|
6689
6668
|
} else
|
|
6690
6669
|
t["container-end"].push(n);
|
|
@@ -6717,7 +6696,7 @@ function Hs(e, r, t) {
|
|
|
6717
6696
|
function _e(e, r) {
|
|
6718
6697
|
return typeof window > "u" ? mt(e, r) : yt(e, r);
|
|
6719
6698
|
}
|
|
6720
|
-
const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null),
|
|
6699
|
+
const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), an = /* @__PURE__ */ ur(({
|
|
6721
6700
|
className: e,
|
|
6722
6701
|
tag: r = "div",
|
|
6723
6702
|
wrapperTag: t = "div",
|
|
@@ -6810,27 +6789,27 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
|
|
|
6810
6789
|
}
|
|
6811
6790
|
return /* @__PURE__ */ ie.createElement(r, Je({
|
|
6812
6791
|
ref: b,
|
|
6813
|
-
className:
|
|
6792
|
+
className: rn(`${a}${e ? ` ${e}` : ""}`)
|
|
6814
6793
|
}, _), /* @__PURE__ */ ie.createElement(Ws.Provider, {
|
|
6815
6794
|
value: x.current
|
|
6816
6795
|
}, R["container-start"], /* @__PURE__ */ ie.createElement(t, {
|
|
6817
6796
|
className: qs(L.wrapperClass)
|
|
6818
|
-
}, R["wrapper-start"], M(), R["wrapper-end"]),
|
|
6797
|
+
}, R["wrapper-start"], M(), R["wrapper-end"]), Qr(L) && /* @__PURE__ */ ie.createElement(ie.Fragment, null, /* @__PURE__ */ ie.createElement("div", {
|
|
6819
6798
|
ref: E,
|
|
6820
6799
|
className: "swiper-button-prev"
|
|
6821
6800
|
}), /* @__PURE__ */ ie.createElement("div", {
|
|
6822
6801
|
ref: v,
|
|
6823
6802
|
className: "swiper-button-next"
|
|
6824
|
-
})),
|
|
6803
|
+
})), tn(L) && /* @__PURE__ */ ie.createElement("div", {
|
|
6825
6804
|
ref: A,
|
|
6826
6805
|
className: "swiper-scrollbar"
|
|
6827
|
-
}),
|
|
6806
|
+
}), en(L) && /* @__PURE__ */ ie.createElement("div", {
|
|
6828
6807
|
ref: y,
|
|
6829
6808
|
className: "swiper-pagination"
|
|
6830
6809
|
}), R["container-end"]));
|
|
6831
6810
|
});
|
|
6832
|
-
|
|
6833
|
-
const
|
|
6811
|
+
an.displayName = "Swiper";
|
|
6812
|
+
const on = /* @__PURE__ */ ur(({
|
|
6834
6813
|
tag: e = "div",
|
|
6835
6814
|
children: r,
|
|
6836
6815
|
className: t = "",
|
|
@@ -6868,7 +6847,7 @@ const ln = /* @__PURE__ */ ur(({
|
|
|
6868
6847
|
};
|
|
6869
6848
|
return /* @__PURE__ */ ie.createElement(e, Je({
|
|
6870
6849
|
ref: p,
|
|
6871
|
-
className:
|
|
6850
|
+
className: rn(`${c}${t ? ` ${t}` : ""}`),
|
|
6872
6851
|
"data-swiper-slide-index": o,
|
|
6873
6852
|
onLoad: m
|
|
6874
6853
|
}, a), i && /* @__PURE__ */ ie.createElement(lr.Provider, {
|
|
@@ -6884,8 +6863,8 @@ const ln = /* @__PURE__ */ ur(({
|
|
|
6884
6863
|
className: "swiper-lazy-preloader"
|
|
6885
6864
|
})));
|
|
6886
6865
|
});
|
|
6887
|
-
|
|
6888
|
-
function
|
|
6866
|
+
on.displayName = "SwiperSlide";
|
|
6867
|
+
function ln(e, r, t, n) {
|
|
6889
6868
|
return e.params.createElements && Object.keys(n).forEach((i) => {
|
|
6890
6869
|
if (!t[i] && t.auto === !0) {
|
|
6891
6870
|
let s = fe(e.el, `.${n[i]}`)[0];
|
|
@@ -6945,7 +6924,7 @@ function Ys({
|
|
|
6945
6924
|
}
|
|
6946
6925
|
function d() {
|
|
6947
6926
|
const f = e.params.navigation;
|
|
6948
|
-
if (e.params.navigation =
|
|
6927
|
+
if (e.params.navigation = ln(e, e.originalParams.navigation, e.params.navigation, {
|
|
6949
6928
|
nextEl: "swiper-button-next",
|
|
6950
6929
|
prevEl: "swiper-button-prev"
|
|
6951
6930
|
}), !(f.nextEl || f.prevEl)) return;
|
|
@@ -7171,13 +7150,13 @@ function Xs({
|
|
|
7171
7150
|
}), u.type !== "custom" && n("paginationRender", v[0]);
|
|
7172
7151
|
}
|
|
7173
7152
|
function f() {
|
|
7174
|
-
e.params.pagination =
|
|
7153
|
+
e.params.pagination = ln(e, e.originalParams.pagination, e.params.pagination, {
|
|
7175
7154
|
el: "swiper-pagination"
|
|
7176
7155
|
});
|
|
7177
7156
|
const u = e.params.pagination;
|
|
7178
7157
|
if (!u.el) return;
|
|
7179
7158
|
let m;
|
|
7180
|
-
typeof u.el == "string" && e.isElement && (m = e.el.querySelector(u.el)), !m && typeof u.el == "string" && (m = [...document.querySelectorAll(u.el)]), m || (m = u.el), !(!m || m.length === 0) && (e.params.uniqueNavElements && typeof u.el == "string" && Array.isArray(m) && m.length > 1 && (m = [...e.el.querySelectorAll(u.el)], m.length > 1 && (m = m.find((v) =>
|
|
7159
|
+
typeof u.el == "string" && e.isElement && (m = e.el.querySelector(u.el)), !m && typeof u.el == "string" && (m = [...document.querySelectorAll(u.el)]), m || (m = u.el), !(!m || m.length === 0) && (e.params.uniqueNavElements && typeof u.el == "string" && Array.isArray(m) && m.length > 1 && (m = [...e.el.querySelectorAll(u.el)], m.length > 1 && (m = m.find((v) => Wr(v, ".swiper")[0] === e.el))), Array.isArray(m) && m.length === 1 && (m = m[0]), Object.assign(e.pagination, {
|
|
7181
7160
|
el: m
|
|
7182
7161
|
}), m = K(m), m.forEach((v) => {
|
|
7183
7162
|
u.type === "bullets" && u.clickable && v.classList.add(...(u.clickableClass || "").split(" ")), v.classList.add(u.modifierClass + u.type), v.classList.add(e.isHorizontal() ? u.horizontalClass : u.verticalClass), u.type === "bullets" && u.dynamicBullets && (v.classList.add(`${u.modifierClass}${u.type}-dynamic`), o = 0, u.dynamicMainBullets < 1 && (u.dynamicMainBullets = 1)), u.type === "progressbar" && u.progressbarOpposite && v.classList.add(u.progressbarOppositeClass), u.clickable && v.addEventListener("click", p), e.enabled || v.classList.add(u.lockClass);
|
|
@@ -7410,7 +7389,7 @@ function Us({
|
|
|
7410
7389
|
} = e.navigation ? e.navigation : {};
|
|
7411
7390
|
C = K(C), I = K(I), C && C.forEach((B) => h(B, q, w.nextSlideMessage)), I && I.forEach((B) => h(B, q, w.prevSlideMessage)), A() && K(e.pagination.el).forEach((G) => {
|
|
7412
7391
|
G.addEventListener("keydown", v);
|
|
7413
|
-
}),
|
|
7392
|
+
}), de().addEventListener("visibilitychange", k), e.el.addEventListener("focus", R, !0), e.el.addEventListener("focus", R, !0), e.el.addEventListener("pointerdown", _, !0), e.el.addEventListener("pointerup", O, !0);
|
|
7414
7393
|
};
|
|
7415
7394
|
function Q() {
|
|
7416
7395
|
n && n.remove();
|
|
@@ -7420,7 +7399,7 @@ function Us({
|
|
|
7420
7399
|
} = e.navigation ? e.navigation : {};
|
|
7421
7400
|
w = K(w), M = K(M), w && w.forEach((q) => q.removeEventListener("keydown", v)), M && M.forEach((q) => q.removeEventListener("keydown", v)), A() && K(e.pagination.el).forEach((C) => {
|
|
7422
7401
|
C.removeEventListener("keydown", v);
|
|
7423
|
-
}),
|
|
7402
|
+
}), de().removeEventListener("visibilitychange", k), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", R, !0), e.el.removeEventListener("pointerdown", _, !0), e.el.removeEventListener("pointerup", O, !0));
|
|
7424
7403
|
}
|
|
7425
7404
|
t("beforeInit", () => {
|
|
7426
7405
|
n = Ne("span", e.params.a11y.notificationClass), n.setAttribute("aria-live", "assertive"), n.setAttribute("aria-atomic", "true");
|
|
@@ -7508,7 +7487,7 @@ function Ks({
|
|
|
7508
7487
|
e.isEnd && d < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (p = (/* @__PURE__ */ new Date()).getTime(), x ? (x = !1, y(d)) : y(), e.autoplay.paused = !1, n("autoplayResume"));
|
|
7509
7488
|
}, O = () => {
|
|
7510
7489
|
if (e.destroyed || !e.autoplay.running) return;
|
|
7511
|
-
const M =
|
|
7490
|
+
const M = de();
|
|
7512
7491
|
M.visibilityState === "hidden" && (x = !0, h(!0)), M.visibilityState === "visible" && _();
|
|
7513
7492
|
}, k = (M) => {
|
|
7514
7493
|
M.pointerType === "mouse" && (x = !0, u = !0, !(e.animating || e.autoplay.paused) && h(!0));
|
|
@@ -7519,9 +7498,9 @@ function Ks({
|
|
|
7519
7498
|
}, V = () => {
|
|
7520
7499
|
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", k), e.el.removeEventListener("pointerleave", R));
|
|
7521
7500
|
}, Q = () => {
|
|
7522
|
-
|
|
7501
|
+
de().addEventListener("visibilitychange", O);
|
|
7523
7502
|
}, w = () => {
|
|
7524
|
-
|
|
7503
|
+
de().removeEventListener("visibilitychange", O);
|
|
7525
7504
|
};
|
|
7526
7505
|
t("init", () => {
|
|
7527
7506
|
e.params.autoplay.enabled && (F(), Q(), A());
|
|
@@ -7647,9 +7626,9 @@ const $t = ({
|
|
|
7647
7626
|
onSwiper: c,
|
|
7648
7627
|
onSlideChange: T
|
|
7649
7628
|
}) => {
|
|
7650
|
-
const { theme: f } =
|
|
7629
|
+
const { theme: f } = ce(jr);
|
|
7651
7630
|
return /* @__PURE__ */ $("div", { className: "relative w-full", children: /* @__PURE__ */ $(
|
|
7652
|
-
|
|
7631
|
+
an,
|
|
7653
7632
|
{
|
|
7654
7633
|
modules: [Us, Ks, Js, Ys, Xs],
|
|
7655
7634
|
a11y: { enabled: !0 },
|
|
@@ -7674,7 +7653,7 @@ const $t = ({
|
|
|
7674
7653
|
"--swiper-pagination-color": f.primary,
|
|
7675
7654
|
"--swiper-navigation-color": f.primary
|
|
7676
7655
|
},
|
|
7677
|
-
children: r.map((x, u) => /* @__PURE__ */ $(
|
|
7656
|
+
children: r.map((x, u) => /* @__PURE__ */ $(on, { children: x }, u))
|
|
7678
7657
|
}
|
|
7679
7658
|
) });
|
|
7680
7659
|
};
|
|
@@ -7708,7 +7687,7 @@ Ze.propTypes = {
|
|
|
7708
7687
|
children: P.node.isRequired
|
|
7709
7688
|
};
|
|
7710
7689
|
export {
|
|
7711
|
-
|
|
7690
|
+
di as Button,
|
|
7712
7691
|
Te as Cover,
|
|
7713
7692
|
we as Drawer,
|
|
7714
7693
|
Le as Header,
|