@redhq/ui 0.5.0 → 0.7.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 +126 -126
- package/package.json +8 -6
package/dist/index.es.js
CHANGED
|
@@ -2,7 +2,7 @@ import ne, { createContext as ye, useContext as ce, useState as be, useCallback
|
|
|
2
2
|
function vn(e) {
|
|
3
3
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
4
|
}
|
|
5
|
-
var
|
|
5
|
+
var qe = { exports: {} }, Re = {};
|
|
6
6
|
var Wt;
|
|
7
7
|
function bn() {
|
|
8
8
|
if (Wt) return Re;
|
|
@@ -111,7 +111,7 @@ function yn() {
|
|
|
111
111
|
return Error("react-stack-top-frame");
|
|
112
112
|
}
|
|
113
113
|
function o(h) {
|
|
114
|
-
if (
|
|
114
|
+
if (V.call(h, "key")) {
|
|
115
115
|
var L = Object.getOwnPropertyDescriptor(h, "key").get;
|
|
116
116
|
if (L && L.isReactWarning) return !1;
|
|
117
117
|
}
|
|
@@ -181,7 +181,7 @@ function yn() {
|
|
|
181
181
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
182
182
|
);
|
|
183
183
|
else d(j);
|
|
184
|
-
if (
|
|
184
|
+
if (V.call(L, "key")) {
|
|
185
185
|
j = e(h);
|
|
186
186
|
var X = Object.keys(L).filter(function(U) {
|
|
187
187
|
return U !== "key";
|
|
@@ -222,7 +222,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
222
222
|
function E(h) {
|
|
223
223
|
return typeof h == "object" && h !== null && h.$$typeof === m;
|
|
224
224
|
}
|
|
225
|
-
var f = ne, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), C = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), _ = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
225
|
+
var f = ne, m = Symbol.for("react.transitional.element"), y = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), C = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), k = Symbol.for("react.activity"), I = Symbol.for("react.client.reference"), _ = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, W = Array.isArray, Z = console.createTask ? console.createTask : function() {
|
|
226
226
|
return null;
|
|
227
227
|
};
|
|
228
228
|
f = {
|
|
@@ -259,9 +259,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
259
259
|
}
|
|
260
260
|
var Yt;
|
|
261
261
|
function xn() {
|
|
262
|
-
return Yt || (Yt = 1, process.env.NODE_ENV === "production" ?
|
|
262
|
+
return Yt || (Yt = 1, process.env.NODE_ENV === "production" ? qe.exports = bn() : qe.exports = yn()), qe.exports;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
264
|
+
var q = xn(), Ve = { exports: {} }, We = { exports: {} }, ee = {};
|
|
265
265
|
var Xt;
|
|
266
266
|
function Sn() {
|
|
267
267
|
if (Xt) return ee;
|
|
@@ -352,14 +352,14 @@ function Tn() {
|
|
|
352
352
|
case d:
|
|
353
353
|
return Fe;
|
|
354
354
|
default:
|
|
355
|
-
var
|
|
356
|
-
switch (
|
|
355
|
+
var Vt = Fe && Fe.$$typeof;
|
|
356
|
+
switch (Vt) {
|
|
357
357
|
case l:
|
|
358
358
|
case p:
|
|
359
359
|
case m:
|
|
360
360
|
case f:
|
|
361
361
|
case o:
|
|
362
|
-
return
|
|
362
|
+
return Vt;
|
|
363
363
|
default:
|
|
364
364
|
return ue;
|
|
365
365
|
}
|
|
@@ -369,7 +369,7 @@ function Tn() {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
var S = a, z = c, R = l, v = o, $ = r, k = p, I = n, _ = m,
|
|
372
|
+
var S = a, z = c, R = l, v = o, $ = r, k = p, I = n, _ = m, V = f, W = t, Z = i, w = s, M = d, T = !1;
|
|
373
373
|
function B(D) {
|
|
374
374
|
return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), P(D) || C(D) === a;
|
|
375
375
|
}
|
|
@@ -409,7 +409,7 @@ function Tn() {
|
|
|
409
409
|
function ie(D) {
|
|
410
410
|
return C(D) === d;
|
|
411
411
|
}
|
|
412
|
-
te.AsyncMode = S, te.ConcurrentMode = z, te.ContextConsumer = R, te.ContextProvider = v, te.Element = $, te.ForwardRef = k, te.Fragment = I, te.Lazy = _, te.Memo =
|
|
412
|
+
te.AsyncMode = S, te.ConcurrentMode = z, te.ContextConsumer = R, te.ContextProvider = v, te.Element = $, te.ForwardRef = k, te.Fragment = I, te.Lazy = _, te.Memo = V, te.Portal = W, te.Profiler = Z, te.StrictMode = w, te.Suspense = M, te.isAsyncMode = B, te.isConcurrentMode = P, te.isContextConsumer = h, te.isContextProvider = L, te.isElement = A, te.isForwardRef = N, te.isFragment = Y, te.isLazy = H, te.isMemo = j, te.isPortal = X, te.isProfiler = K, te.isStrictMode = U, te.isSuspense = ie, te.isValidElementType = b, te.typeOf = C;
|
|
413
413
|
})()), te;
|
|
414
414
|
}
|
|
415
415
|
var Jt;
|
|
@@ -565,7 +565,7 @@ function Cn() {
|
|
|
565
565
|
oneOf: R,
|
|
566
566
|
oneOfType: $,
|
|
567
567
|
shape: _,
|
|
568
|
-
exact:
|
|
568
|
+
exact: V
|
|
569
569
|
};
|
|
570
570
|
function m(P, h) {
|
|
571
571
|
return P === h ? P !== 0 || 1 / P === 1 / h : P !== P && h !== h;
|
|
@@ -748,7 +748,7 @@ function Cn() {
|
|
|
748
748
|
}
|
|
749
749
|
return x(h);
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function V(P) {
|
|
752
752
|
function h(L, A, N, Y, H) {
|
|
753
753
|
var j = L[A], X = w(j);
|
|
754
754
|
if (X !== "object")
|
|
@@ -893,13 +893,13 @@ function Pn() {
|
|
|
893
893
|
}
|
|
894
894
|
var nr;
|
|
895
895
|
function Mn() {
|
|
896
|
-
if (nr) return
|
|
896
|
+
if (nr) return Ve.exports;
|
|
897
897
|
if (nr = 1, process.env.NODE_ENV !== "production") {
|
|
898
898
|
var e = vr(), r = !0;
|
|
899
|
-
|
|
899
|
+
Ve.exports = /* @__PURE__ */ Cn()(e.isElement, r);
|
|
900
900
|
} else
|
|
901
|
-
|
|
902
|
-
return
|
|
901
|
+
Ve.exports = /* @__PURE__ */ Pn()();
|
|
902
|
+
return Ve.exports;
|
|
903
903
|
}
|
|
904
904
|
var On = /* @__PURE__ */ Mn();
|
|
905
905
|
const O = /* @__PURE__ */ vn(On);
|
|
@@ -1047,13 +1047,13 @@ const In = (e, r) => {
|
|
|
1047
1047
|
i in t ? t[i] = o : s(i, o);
|
|
1048
1048
|
}
|
|
1049
1049
|
};
|
|
1050
|
-
}, bt = "!", ir = ":",
|
|
1050
|
+
}, bt = "!", ir = ":", qn = [], ar = (e, r, t, n, s) => ({
|
|
1051
1051
|
modifiers: e,
|
|
1052
1052
|
hasImportantModifier: r,
|
|
1053
1053
|
baseClassName: t,
|
|
1054
1054
|
maybePostfixModifierPosition: n,
|
|
1055
1055
|
isExternal: s
|
|
1056
|
-
}),
|
|
1056
|
+
}), Vn = (e) => {
|
|
1057
1057
|
const {
|
|
1058
1058
|
prefix: r,
|
|
1059
1059
|
experimentalParseClassName: t
|
|
@@ -1090,7 +1090,7 @@ const In = (e, r) => {
|
|
|
1090
1090
|
};
|
|
1091
1091
|
if (r) {
|
|
1092
1092
|
const s = r + ir, i = n;
|
|
1093
|
-
n = (o) => o.startsWith(s) ? i(o.slice(s.length)) : ar(
|
|
1093
|
+
n = (o) => o.startsWith(s) ? i(o.slice(s.length)) : ar(qn, !1, o, void 0, !0);
|
|
1094
1094
|
}
|
|
1095
1095
|
if (t) {
|
|
1096
1096
|
const s = n;
|
|
@@ -1115,7 +1115,7 @@ const In = (e, r) => {
|
|
|
1115
1115
|
};
|
|
1116
1116
|
}, Hn = (e) => ({
|
|
1117
1117
|
cache: Fn(e.cacheSize),
|
|
1118
|
-
parseClassName:
|
|
1118
|
+
parseClassName: Vn(e),
|
|
1119
1119
|
sortModifiers: Wn(e),
|
|
1120
1120
|
...Rn(e)
|
|
1121
1121
|
}), Yn = /\s+/, Xn = (e, r) => {
|
|
@@ -1222,7 +1222,7 @@ const In = (e, r) => {
|
|
|
1222
1222
|
"left-bottom"
|
|
1223
1223
|
], S = () => [...C(), F, G], z = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", "contain", "none"], v = () => [F, G, a], $ = () => [we, "full", "auto", ...v()], k = () => [ge, "none", "subgrid", F, G], I = () => ["auto", {
|
|
1224
1224
|
span: ["full", ge, F, G]
|
|
1225
|
-
}, ge, F, G], _ = () => [ge, "auto", F, G],
|
|
1225
|
+
}, ge, F, G], _ = () => [ge, "auto", F, G], V = () => ["auto", "min", "max", "fr", F, G], W = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], w = () => ["auto", ...v()], M = () => [we, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...v()], T = () => [e, F, G], B = () => [...C(), lr, or, {
|
|
1226
1226
|
position: [F, G]
|
|
1227
1227
|
}], P = () => ["no-repeat", {
|
|
1228
1228
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -1611,14 +1611,14 @@ const In = (e, r) => {
|
|
|
1611
1611
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1612
1612
|
*/
|
|
1613
1613
|
"auto-cols": [{
|
|
1614
|
-
"auto-cols":
|
|
1614
|
+
"auto-cols": V()
|
|
1615
1615
|
}],
|
|
1616
1616
|
/**
|
|
1617
1617
|
* Grid Auto Rows
|
|
1618
1618
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1619
1619
|
*/
|
|
1620
1620
|
"auto-rows": [{
|
|
1621
|
-
"auto-rows":
|
|
1621
|
+
"auto-rows": V()
|
|
1622
1622
|
}],
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Gap
|
|
@@ -3702,7 +3702,7 @@ const ze = {
|
|
|
3702
3702
|
ze.corner.squared,
|
|
3703
3703
|
e
|
|
3704
3704
|
);
|
|
3705
|
-
return /* @__PURE__ */
|
|
3705
|
+
return /* @__PURE__ */ q.jsx("button", { type: s, disabled: t || n, className: o, ...i, children: r });
|
|
3706
3706
|
};
|
|
3707
3707
|
bs.propTypes = {
|
|
3708
3708
|
className: O.string,
|
|
@@ -3713,9 +3713,9 @@ bs.propTypes = {
|
|
|
3713
3713
|
};
|
|
3714
3714
|
const Lr = ye({
|
|
3715
3715
|
id: ""
|
|
3716
|
-
}), ys = ({ id: e, children: r }) => /* @__PURE__ */
|
|
3716
|
+
}), ys = ({ id: e, children: r }) => /* @__PURE__ */ q.jsx(Lr.Provider, { value: { id: e }, children: r }), Rr = ({ id: e = "", className: r = "", children: t }) => {
|
|
3717
3717
|
const { id: n } = ce(Lr), s = e || n;
|
|
3718
|
-
return /* @__PURE__ */
|
|
3718
|
+
return /* @__PURE__ */ q.jsx(
|
|
3719
3719
|
"section",
|
|
3720
3720
|
{
|
|
3721
3721
|
id: `${s}-cover`,
|
|
@@ -3725,7 +3725,7 @@ const Lr = ye({
|
|
|
3725
3725
|
);
|
|
3726
3726
|
};
|
|
3727
3727
|
Rr.displayName = "Cover.Base";
|
|
3728
|
-
const _r = ({ className: e = "", alt: r = "", src: t }) => /* @__PURE__ */
|
|
3728
|
+
const _r = ({ className: e = "", alt: r = "", src: t }) => /* @__PURE__ */ q.jsx(
|
|
3729
3729
|
"img",
|
|
3730
3730
|
{
|
|
3731
3731
|
alt: r,
|
|
@@ -3734,7 +3734,7 @@ const _r = ({ className: e = "", alt: r = "", src: t }) => /* @__PURE__ */ V.jsx
|
|
|
3734
3734
|
}
|
|
3735
3735
|
);
|
|
3736
3736
|
_r.displayName = "Cover.Image";
|
|
3737
|
-
const Nr = ({ className: e = "", position: r = "center", children: t }) => /* @__PURE__ */
|
|
3737
|
+
const Nr = ({ className: e = "", position: r = "center", children: t }) => /* @__PURE__ */ q.jsx(
|
|
3738
3738
|
"div",
|
|
3739
3739
|
{
|
|
3740
3740
|
className: re(
|
|
@@ -3750,9 +3750,9 @@ const Nr = ({ className: e = "", position: r = "center", children: t }) => /* @_
|
|
|
3750
3750
|
}
|
|
3751
3751
|
);
|
|
3752
3752
|
Nr.displayName = "Cover.Overlay";
|
|
3753
|
-
const zr = ({ className: e = "", children: r }) => /* @__PURE__ */
|
|
3753
|
+
const zr = ({ className: e = "", children: r }) => /* @__PURE__ */ q.jsx("div", { className: re("h-auto w-full mx-auto", e), children: r });
|
|
3754
3754
|
zr.displayName = "Cover.OverlayContainer";
|
|
3755
|
-
const jr = ({ className: e = "", children: r }) => /* @__PURE__ */
|
|
3755
|
+
const jr = ({ className: e = "", children: r }) => /* @__PURE__ */ q.jsx("p", { className: re("", e), children: r });
|
|
3756
3756
|
jr.displayName = "Cover.Address";
|
|
3757
3757
|
const Dr = ({ className: e = "", specs: r = [], children: t }) => {
|
|
3758
3758
|
const [
|
|
@@ -3762,7 +3762,7 @@ const Dr = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3762
3762
|
o = "1.2"
|
|
3763
3763
|
// ...
|
|
3764
3764
|
] = r;
|
|
3765
|
-
return /* @__PURE__ */
|
|
3765
|
+
return /* @__PURE__ */ q.jsx(
|
|
3766
3766
|
"h1",
|
|
3767
3767
|
{
|
|
3768
3768
|
className: re("leading-tight font-bold", e),
|
|
@@ -3772,7 +3772,7 @@ const Dr = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
3772
3772
|
);
|
|
3773
3773
|
};
|
|
3774
3774
|
Dr.displayName = "Cover.Title";
|
|
3775
|
-
const Te = ({ id: e, children: r }) => /* @__PURE__ */
|
|
3775
|
+
const Te = ({ id: e, children: r }) => /* @__PURE__ */ q.jsx(ys, { id: e, children: r });
|
|
3776
3776
|
Te.Base = Rr;
|
|
3777
3777
|
Te.Image = _r;
|
|
3778
3778
|
Te.Overlay = Nr;
|
|
@@ -3791,9 +3791,9 @@ const Ie = ye({
|
|
|
3791
3791
|
foreground: ""
|
|
3792
3792
|
},
|
|
3793
3793
|
open: !1
|
|
3794
|
-
}), xs = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */
|
|
3794
|
+
}), xs = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ q.jsx(Ie.Provider, { value: { id: e, theme: r, open: t }, children: n }), $r = ({ id: e = "", className: r = "", open: t = !1, onClose: n }) => {
|
|
3795
3795
|
const { id: s, open: i } = ce(Ie), o = e || s, l = t || i;
|
|
3796
|
-
return /* @__PURE__ */
|
|
3796
|
+
return /* @__PURE__ */ q.jsx(
|
|
3797
3797
|
"div",
|
|
3798
3798
|
{
|
|
3799
3799
|
id: `${o}-drawer-overlay`,
|
|
@@ -3818,7 +3818,7 @@ const Br = ({
|
|
|
3818
3818
|
children: i
|
|
3819
3819
|
}) => {
|
|
3820
3820
|
const { id: o, theme: l, open: a } = ce(Ie), c = e || o, p = t || a;
|
|
3821
|
-
return /* @__PURE__ */
|
|
3821
|
+
return /* @__PURE__ */ q.jsx(
|
|
3822
3822
|
"aside",
|
|
3823
3823
|
{
|
|
3824
3824
|
id: `${c}-drawer`,
|
|
@@ -3839,7 +3839,7 @@ const Br = ({
|
|
|
3839
3839
|
);
|
|
3840
3840
|
};
|
|
3841
3841
|
Br.displayName = "Drawer.Base";
|
|
3842
|
-
const Ss = () => /* @__PURE__ */
|
|
3842
|
+
const Ss = () => /* @__PURE__ */ q.jsxs(
|
|
3843
3843
|
"svg",
|
|
3844
3844
|
{
|
|
3845
3845
|
width: "40",
|
|
@@ -3848,7 +3848,7 @@ const Ss = () => /* @__PURE__ */ V.jsxs(
|
|
|
3848
3848
|
fill: "none",
|
|
3849
3849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3850
3850
|
children: [
|
|
3851
|
-
/* @__PURE__ */
|
|
3851
|
+
/* @__PURE__ */ q.jsx(
|
|
3852
3852
|
"rect",
|
|
3853
3853
|
{
|
|
3854
3854
|
width: "24",
|
|
@@ -3857,7 +3857,7 @@ const Ss = () => /* @__PURE__ */ V.jsxs(
|
|
|
3857
3857
|
transform: "matrix(-0.707107 -0.707107 -0.707107 0.707107 29.1924 27.7782)"
|
|
3858
3858
|
}
|
|
3859
3859
|
),
|
|
3860
|
-
/* @__PURE__ */
|
|
3860
|
+
/* @__PURE__ */ q.jsx(
|
|
3861
3861
|
"rect",
|
|
3862
3862
|
{
|
|
3863
3863
|
x: "10.8076",
|
|
@@ -3872,7 +3872,7 @@ const Ss = () => /* @__PURE__ */ V.jsxs(
|
|
|
3872
3872
|
}
|
|
3873
3873
|
), Gr = ({ className: e = "", style: r = {}, onClick: t }) => {
|
|
3874
3874
|
const { theme: n } = ce(Ie);
|
|
3875
|
-
return /* @__PURE__ */
|
|
3875
|
+
return /* @__PURE__ */ q.jsx(
|
|
3876
3876
|
"button",
|
|
3877
3877
|
{
|
|
3878
3878
|
className: re(
|
|
@@ -3884,25 +3884,25 @@ const Ss = () => /* @__PURE__ */ V.jsxs(
|
|
|
3884
3884
|
onMouseEnter: (s) => s.currentTarget.style.color = n.primary,
|
|
3885
3885
|
onMouseLeave: (s) => s.currentTarget.style.color = n.foreground,
|
|
3886
3886
|
style: r,
|
|
3887
|
-
children: /* @__PURE__ */
|
|
3887
|
+
children: /* @__PURE__ */ q.jsx(Ss, {})
|
|
3888
3888
|
}
|
|
3889
3889
|
);
|
|
3890
3890
|
};
|
|
3891
3891
|
Gr.displayName = "Drawer.Close";
|
|
3892
|
-
const Fr = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */
|
|
3892
|
+
const Fr = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */ q.jsx("img", { alt: e, src: r, className: re("aspect-auto object-contain object-center", t) }), qr = ({ alt: e = "", src: r = "" }) => {
|
|
3893
3893
|
const { theme: t } = ce(Ie);
|
|
3894
|
-
return /* @__PURE__ */
|
|
3894
|
+
return /* @__PURE__ */ q.jsx(
|
|
3895
3895
|
"div",
|
|
3896
3896
|
{
|
|
3897
3897
|
className: "relative min-h-18 w-[calc(100%-3.5rem)] p-4 flex items-center justify-between gap-4",
|
|
3898
3898
|
style: { background: t.background },
|
|
3899
|
-
children: /* @__PURE__ */
|
|
3899
|
+
children: /* @__PURE__ */ q.jsx("a", { href: "/", children: /* @__PURE__ */ q.jsx(Fr, { alt: e, src: r, className: "h-8 w-fit" }) })
|
|
3900
3900
|
}
|
|
3901
3901
|
);
|
|
3902
3902
|
};
|
|
3903
|
-
|
|
3904
|
-
const
|
|
3905
|
-
|
|
3903
|
+
qr.displayName = "Drawer.Logo";
|
|
3904
|
+
const Vr = ({ className: e = "", children: r }) => /* @__PURE__ */ q.jsx("nav", { className: "", children: /* @__PURE__ */ q.jsx("ul", { className: re("", e), children: r }) });
|
|
3905
|
+
Vr.displayName = "Drawer.Menu";
|
|
3906
3906
|
const Wr = ({
|
|
3907
3907
|
className: e = "",
|
|
3908
3908
|
path: r = "",
|
|
@@ -3912,7 +3912,7 @@ const Wr = ({
|
|
|
3912
3912
|
onClick: i
|
|
3913
3913
|
}) => {
|
|
3914
3914
|
const { theme: o } = ce(Ie);
|
|
3915
|
-
return /* @__PURE__ */
|
|
3915
|
+
return /* @__PURE__ */ q.jsx("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ q.jsx(
|
|
3916
3916
|
"a",
|
|
3917
3917
|
{
|
|
3918
3918
|
href: r,
|
|
@@ -3926,12 +3926,12 @@ const Wr = ({
|
|
|
3926
3926
|
) });
|
|
3927
3927
|
};
|
|
3928
3928
|
Wr.displayName = "Drawer.Item";
|
|
3929
|
-
const Ee = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */
|
|
3929
|
+
const Ee = ({ id: e, theme: r, open: t, children: n }) => /* @__PURE__ */ q.jsx(xs, { id: e, theme: r, open: t, children: n });
|
|
3930
3930
|
Ee.Overlay = $r;
|
|
3931
3931
|
Ee.Base = Br;
|
|
3932
3932
|
Ee.Close = Gr;
|
|
3933
|
-
Ee.Logo =
|
|
3934
|
-
Ee.Menu =
|
|
3933
|
+
Ee.Logo = qr;
|
|
3934
|
+
Ee.Menu = Vr;
|
|
3935
3935
|
Ee.Item = Wr;
|
|
3936
3936
|
Ee.propTypes = {
|
|
3937
3937
|
id: O.string.isRequired,
|
|
@@ -3957,10 +3957,10 @@ const Be = ye({
|
|
|
3957
3957
|
const [n, s] = be(!1), i = gn((o) => {
|
|
3958
3958
|
s(!!o);
|
|
3959
3959
|
}, []);
|
|
3960
|
-
return /* @__PURE__ */
|
|
3960
|
+
return /* @__PURE__ */ q.jsx(Be.Provider, { value: { id: e, theme: r, isOverflowing: n, updateOverflow: i }, children: t });
|
|
3961
3961
|
}, Ct = ({ id: e = "", className: r = "", children: t }) => {
|
|
3962
3962
|
const { id: n, theme: s, isOverflowing: i } = ce(Be);
|
|
3963
|
-
return /* @__PURE__ */
|
|
3963
|
+
return /* @__PURE__ */ q.jsx(
|
|
3964
3964
|
"header",
|
|
3965
3965
|
{
|
|
3966
3966
|
id: `${e || n}-header`,
|
|
@@ -3983,7 +3983,7 @@ Ct.propTypes = {
|
|
|
3983
3983
|
className: O.string,
|
|
3984
3984
|
children: O.node.isRequired
|
|
3985
3985
|
};
|
|
3986
|
-
const Pt = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */
|
|
3986
|
+
const Pt = ({ alt: e = "", src: r = "", className: t = "" }) => /* @__PURE__ */ q.jsx("a", { href: "/", children: /* @__PURE__ */ q.jsx(Fr, { alt: e, src: r, className: re("h-8 w-fit", t) }) });
|
|
3987
3987
|
Pt.displayName = "Header.Logo";
|
|
3988
3988
|
Pt.propTypes = {
|
|
3989
3989
|
className: O.string,
|
|
@@ -4007,7 +4007,7 @@ const Mt = ({ className: e = "", children: r }) => {
|
|
|
4007
4007
|
return d.observe(o), d.observe(l), window.addEventListener("resize", p), () => {
|
|
4008
4008
|
d.disconnect(), window.removeEventListener("resize", p), cancelAnimationFrame(a);
|
|
4009
4009
|
};
|
|
4010
|
-
}, [i]), /* @__PURE__ */
|
|
4010
|
+
}, [i]), /* @__PURE__ */ q.jsx("nav", { ref: t, className: "grow flex items-center justify-end overflow-hidden", children: /* @__PURE__ */ q.jsx(
|
|
4011
4011
|
"ul",
|
|
4012
4012
|
{
|
|
4013
4013
|
ref: n,
|
|
@@ -4027,7 +4027,7 @@ Mt.propTypes = {
|
|
|
4027
4027
|
};
|
|
4028
4028
|
const Ot = ({ className: e = "", path: r = "", active: t = !1, children: n }) => {
|
|
4029
4029
|
const { theme: s } = ce(Be);
|
|
4030
|
-
return /* @__PURE__ */
|
|
4030
|
+
return /* @__PURE__ */ q.jsx("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ q.jsx(
|
|
4031
4031
|
"a",
|
|
4032
4032
|
{
|
|
4033
4033
|
href: r,
|
|
@@ -4049,7 +4049,7 @@ Ot.propTypes = {
|
|
|
4049
4049
|
const kt = ({ className: e = "", onClick: r }) => {
|
|
4050
4050
|
const { theme: t, isOverflowing: n } = ce(Be), [s, i] = be(!1), o = s ? t.primary : t.foreground;
|
|
4051
4051
|
if (n)
|
|
4052
|
-
return /* @__PURE__ */
|
|
4052
|
+
return /* @__PURE__ */ q.jsxs(
|
|
4053
4053
|
"button",
|
|
4054
4054
|
{
|
|
4055
4055
|
className: re(
|
|
@@ -4060,10 +4060,10 @@ const kt = ({ className: e = "", onClick: r }) => {
|
|
|
4060
4060
|
onMouseEnter: () => i(!0),
|
|
4061
4061
|
onMouseLeave: () => i(!1),
|
|
4062
4062
|
children: [
|
|
4063
|
-
/* @__PURE__ */
|
|
4064
|
-
/* @__PURE__ */
|
|
4065
|
-
/* @__PURE__ */
|
|
4066
|
-
/* @__PURE__ */
|
|
4063
|
+
/* @__PURE__ */ q.jsx("span", { className: "inline-block h-0.5 w-6", style: { background: o } }),
|
|
4064
|
+
/* @__PURE__ */ q.jsx("span", { className: "inline-block h-0.5 w-6", style: { background: o } }),
|
|
4065
|
+
/* @__PURE__ */ q.jsx("span", { className: "inline-block h-0.5 w-6", style: { background: o } }),
|
|
4066
|
+
/* @__PURE__ */ q.jsx("span", { className: "sr-only", children: "Toggle" })
|
|
4067
4067
|
]
|
|
4068
4068
|
}
|
|
4069
4069
|
);
|
|
@@ -4073,7 +4073,7 @@ kt.propTypes = {
|
|
|
4073
4073
|
className: O.string,
|
|
4074
4074
|
onClick: O.onClick
|
|
4075
4075
|
};
|
|
4076
|
-
const Ae = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
4076
|
+
const Ae = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(Ts, { id: e, theme: r, children: t });
|
|
4077
4077
|
Ae.Base = Ct;
|
|
4078
4078
|
Ae.Logo = Pt;
|
|
4079
4079
|
Ae.Menu = Mt;
|
|
@@ -4096,15 +4096,15 @@ const Hr = ye({
|
|
|
4096
4096
|
tertiary: "",
|
|
4097
4097
|
quaternary: ""
|
|
4098
4098
|
}
|
|
4099
|
-
}), Es = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
4099
|
+
}), Es = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(Hr.Provider, { value: { id: e, theme: r }, children: t }), It = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ q.jsx(
|
|
4100
4100
|
"section",
|
|
4101
4101
|
{
|
|
4102
4102
|
className: re(
|
|
4103
4103
|
"NEXTSTEPS-BASE",
|
|
4104
|
-
"h-auto w-full",
|
|
4105
|
-
"px-4 md:px-5 lg:px-6 py-6 md:py-9 lg:py-12",
|
|
4104
|
+
"hqui-h-auto hqui-w-full",
|
|
4105
|
+
"hqui-px-4 md:hqui-px-5 lg:hqui-px-6 hqui-py-6 md:hqui-py-9 lg:hqui-py-12",
|
|
4106
4106
|
// spacing around the section
|
|
4107
|
-
"space-y-4 md:space-y-6 lg:space-y-8",
|
|
4107
|
+
"hqui-space-y-4 md:hqui-space-y-6 lg:hqui-space-y-8",
|
|
4108
4108
|
// spacing between block elements
|
|
4109
4109
|
e
|
|
4110
4110
|
),
|
|
@@ -4118,7 +4118,7 @@ It.propTypes = {
|
|
|
4118
4118
|
style: O.object,
|
|
4119
4119
|
children: O.node.isRequired
|
|
4120
4120
|
};
|
|
4121
|
-
const At = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */
|
|
4121
|
+
const At = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ q.jsx(
|
|
4122
4122
|
"div",
|
|
4123
4123
|
{
|
|
4124
4124
|
className: re(
|
|
@@ -4145,7 +4145,7 @@ const Lt = ({ className: e = "", style: r = {}, specs: t = [], children: n }) =>
|
|
|
4145
4145
|
o = "normal",
|
|
4146
4146
|
l = "1.2"
|
|
4147
4147
|
] = t, { theme: a } = ce(Hr);
|
|
4148
|
-
return /* @__PURE__ */
|
|
4148
|
+
return /* @__PURE__ */ q.jsx(
|
|
4149
4149
|
"h2",
|
|
4150
4150
|
{
|
|
4151
4151
|
className: re("NEXTSTEPS-TITLE", e),
|
|
@@ -4161,14 +4161,14 @@ Lt.propTypes = {
|
|
|
4161
4161
|
specs: O.arrayOf(O.string),
|
|
4162
4162
|
children: O.node.isRequired
|
|
4163
4163
|
};
|
|
4164
|
-
const Rt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */
|
|
4164
|
+
const Rt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ q.jsx("div", { className: re("NEXTSTEPS-CONTENT", e), style: r, children: t });
|
|
4165
4165
|
Rt.displayName = "NextSteps.Content";
|
|
4166
4166
|
Rt.propTypes = {
|
|
4167
4167
|
className: O.string,
|
|
4168
4168
|
style: O.object,
|
|
4169
4169
|
children: O.node.isRequired
|
|
4170
4170
|
};
|
|
4171
|
-
const _t = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */
|
|
4171
|
+
const _t = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ q.jsx(
|
|
4172
4172
|
"div",
|
|
4173
4173
|
{
|
|
4174
4174
|
className: re(
|
|
@@ -4186,7 +4186,7 @@ _t.propTypes = {
|
|
|
4186
4186
|
style: O.object,
|
|
4187
4187
|
children: O.node.isRequired
|
|
4188
4188
|
};
|
|
4189
|
-
const Le = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
4189
|
+
const Le = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(Es, { id: e, theme: r, children: t });
|
|
4190
4190
|
Le.Base = It;
|
|
4191
4191
|
Le.Container = At;
|
|
4192
4192
|
Le.Title = Lt;
|
|
@@ -4210,7 +4210,7 @@ const Yr = ye({
|
|
|
4210
4210
|
tertiary: "",
|
|
4211
4211
|
quaternary: ""
|
|
4212
4212
|
}
|
|
4213
|
-
}), ws = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
4213
|
+
}), ws = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(Yr.Provider, { value: { id: e, theme: r }, children: t }), Nt = ({ className: e = "", children: r }) => /* @__PURE__ */ q.jsx("div", { className: re("RECORD-BASE", "space-y-4 md:space-y-6 lg:space-y-8", e), children: r });
|
|
4214
4214
|
Nt.displayName = "Record.Base";
|
|
4215
4215
|
Nt.propTypes = {
|
|
4216
4216
|
className: O.string,
|
|
@@ -4223,7 +4223,7 @@ const zt = ({ className: e = "", specs: r = [], children: t }) => {
|
|
|
4223
4223
|
i = "normal",
|
|
4224
4224
|
o = "1.2"
|
|
4225
4225
|
] = r, { theme: l } = ce(Yr);
|
|
4226
|
-
return /* @__PURE__ */
|
|
4226
|
+
return /* @__PURE__ */ q.jsx(
|
|
4227
4227
|
"h2",
|
|
4228
4228
|
{
|
|
4229
4229
|
className: re("RECORD-TITLE", "text-2xl", e),
|
|
@@ -4276,7 +4276,7 @@ const Ce = (e) => ({
|
|
|
4276
4276
|
children: o
|
|
4277
4277
|
}) => {
|
|
4278
4278
|
const [l, a] = Cs(), c = hn(() => a ? a <= 640 ? Ce(i) : a <= 768 ? Ce(s) : a <= 1024 ? Ce(n) : a <= 1280 ? Ce(t) : Ce(r) : Ce(r), [a, i, s, n, t, r]);
|
|
4279
|
-
return /* @__PURE__ */
|
|
4279
|
+
return /* @__PURE__ */ q.jsx("div", { ref: l, className: re("RECORD-GRID", "grid gap-4", c, e), children: o });
|
|
4280
4280
|
};
|
|
4281
4281
|
jt.displayName = "Record.Grid";
|
|
4282
4282
|
jt.propTypes = {
|
|
@@ -4288,13 +4288,13 @@ jt.propTypes = {
|
|
|
4288
4288
|
smCol: O.number,
|
|
4289
4289
|
children: O.node.isRequired
|
|
4290
4290
|
};
|
|
4291
|
-
const Dt = ({ className: e = "", children: r }) => /* @__PURE__ */
|
|
4291
|
+
const Dt = ({ className: e = "", children: r }) => /* @__PURE__ */ q.jsx("div", { className: re("RECORD-ITEM", e), children: r });
|
|
4292
4292
|
Dt.displayName = "Record.Item";
|
|
4293
4293
|
Dt.propTypes = {
|
|
4294
4294
|
className: O.string,
|
|
4295
4295
|
children: O.node.isRequired
|
|
4296
4296
|
};
|
|
4297
|
-
const Ge = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
4297
|
+
const Ge = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(ws, { id: e, theme: r, children: t });
|
|
4298
4298
|
Ge.Base = Nt;
|
|
4299
4299
|
Ge.Title = zt;
|
|
4300
4300
|
Ge.Grid = jt;
|
|
@@ -4317,7 +4317,7 @@ const Xr = ye({
|
|
|
4317
4317
|
tertiary: "",
|
|
4318
4318
|
quaternary: ""
|
|
4319
4319
|
}
|
|
4320
|
-
}), Ps = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
4320
|
+
}), Ps = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(Xr.Provider, { value: { id: e, theme: r }, children: t }), $t = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ q.jsx(
|
|
4321
4321
|
"section",
|
|
4322
4322
|
{
|
|
4323
4323
|
className: re(
|
|
@@ -4335,7 +4335,7 @@ $t.propTypes = {
|
|
|
4335
4335
|
style: O.object,
|
|
4336
4336
|
children: O.node.isRequired
|
|
4337
4337
|
};
|
|
4338
|
-
const Bt = ({ className: e = "", width: r, style: t = {}, children: n }) => /* @__PURE__ */
|
|
4338
|
+
const Bt = ({ className: e = "", width: r, style: t = {}, children: n }) => /* @__PURE__ */ q.jsx(
|
|
4339
4339
|
"div",
|
|
4340
4340
|
{
|
|
4341
4341
|
className: re("TESTIMONIALS-CONTAINER", "w-full mx-auto", e),
|
|
@@ -4829,7 +4829,7 @@ var Fs = {
|
|
|
4829
4829
|
}), r;
|
|
4830
4830
|
}
|
|
4831
4831
|
};
|
|
4832
|
-
function
|
|
4832
|
+
function qs() {
|
|
4833
4833
|
const e = this;
|
|
4834
4834
|
let r, t;
|
|
4835
4835
|
const n = e.el;
|
|
@@ -4839,7 +4839,7 @@ function Vs() {
|
|
|
4839
4839
|
size: e.isHorizontal() ? r : t
|
|
4840
4840
|
}));
|
|
4841
4841
|
}
|
|
4842
|
-
function
|
|
4842
|
+
function Vs() {
|
|
4843
4843
|
const e = this;
|
|
4844
4844
|
function r(k, I) {
|
|
4845
4845
|
return parseFloat(k.getPropertyValue(e.getDirectionLabel(I)) || 0);
|
|
@@ -4875,8 +4875,8 @@ function qs() {
|
|
|
4875
4875
|
t.virtual.slidesPerViewAutoSlideSize && (v = t.virtual.slidesPerViewAutoSlideSize), v && I && (t.roundLengths && (v = Math.floor(v)), I.style[e.getDirectionLabel("width")] = `${v}px`);
|
|
4876
4876
|
else if (t.slidesPerView === "auto") {
|
|
4877
4877
|
$ && (I.style[e.getDirectionLabel("width")] = "");
|
|
4878
|
-
const _ = getComputedStyle(I),
|
|
4879
|
-
if (
|
|
4878
|
+
const _ = getComputedStyle(I), V = I.style.transform, W = I.style.webkitTransform;
|
|
4879
|
+
if (V && (I.style.transform = "none"), W && (I.style.webkitTransform = "none"), t.roundLengths)
|
|
4880
4880
|
v = e.isHorizontal() ? yt(I, "width") : yt(I, "height");
|
|
4881
4881
|
else {
|
|
4882
4882
|
const Z = r(_, "width"), w = r(_, "padding-left"), M = r(_, "padding-right"), T = r(_, "margin-left"), B = r(_, "margin-right"), P = _.getPropertyValue("box-sizing");
|
|
@@ -4890,7 +4890,7 @@ function qs() {
|
|
|
4890
4890
|
v = Z + w + M + T + B + (L - h);
|
|
4891
4891
|
}
|
|
4892
4892
|
}
|
|
4893
|
-
|
|
4893
|
+
V && (I.style.transform = V), W && (I.style.webkitTransform = W), t.roundLengths && (v = Math.floor(v));
|
|
4894
4894
|
} else
|
|
4895
4895
|
v = (g - (t.slidesPerView - 1) * b) / t.slidesPerView, t.roundLengths && (v = Math.floor(v)), I && (I.style[e.getDirectionLabel("width")] = `${v}px`);
|
|
4896
4896
|
I && (I.swiperSlideSize = v), f.push(v), t.centeredSlides ? (C = C + v / 2 + S / 2 + b, S === 0 && k !== 0 && (C = C - g / 2 - b), k === 0 && (C = C - g / 2 - b), Math.abs(C) < 1 / 1e3 && (C = 0), t.roundLengths && (C = Math.floor(C)), z % t.slidesPerGroup === 0 && d.push(C), E.push(C)) : (t.roundLengths && (C = Math.floor(C)), (z - Math.min(e.params.slidesPerGroupSkip, z)) % e.params.slidesPerGroup === 0 && d.push(C), E.push(C), C = C + v + b), e.virtualSize += v + b, S = v, z += 1;
|
|
@@ -4908,7 +4908,7 @@ function qs() {
|
|
|
4908
4908
|
const k = f[0] + b;
|
|
4909
4909
|
if (t.slidesPerGroup > 1) {
|
|
4910
4910
|
const I = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / t.slidesPerGroup), _ = k * t.slidesPerGroup;
|
|
4911
|
-
for (let
|
|
4911
|
+
for (let V = 0; V < I; V += 1)
|
|
4912
4912
|
d.push(d[d.length - 1] + _);
|
|
4913
4913
|
}
|
|
4914
4914
|
for (let I = 0; I < e.virtual.slidesBefore + e.virtual.slidesAfter; I += 1)
|
|
@@ -4936,10 +4936,10 @@ function qs() {
|
|
|
4936
4936
|
const I = (m || 0) + (y || 0);
|
|
4937
4937
|
if (k + I < g) {
|
|
4938
4938
|
const _ = (g - k - I) / 2;
|
|
4939
|
-
d.forEach((
|
|
4940
|
-
d[W] =
|
|
4941
|
-
}), E.forEach((
|
|
4942
|
-
E[W] =
|
|
4939
|
+
d.forEach((V, W) => {
|
|
4940
|
+
d[W] = V - _;
|
|
4941
|
+
}), E.forEach((V, W) => {
|
|
4942
|
+
E[W] = V + _;
|
|
4943
4943
|
});
|
|
4944
4944
|
}
|
|
4945
4945
|
}
|
|
@@ -5187,8 +5187,8 @@ function Zs(e, r) {
|
|
|
5187
5187
|
n.slideToClickedSlide && t.clickedIndex !== void 0 && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide();
|
|
5188
5188
|
}
|
|
5189
5189
|
var Qs = {
|
|
5190
|
-
updateSize:
|
|
5191
|
-
updateSlides:
|
|
5190
|
+
updateSize: qs,
|
|
5191
|
+
updateSlides: Vs,
|
|
5192
5192
|
updateAutoHeight: Ws,
|
|
5193
5193
|
updateSlidesOffset: Hs,
|
|
5194
5194
|
updateSlidesProgress: Ys,
|
|
@@ -5612,7 +5612,7 @@ function yi({
|
|
|
5612
5612
|
const R = [], v = [], $ = z ? Math.ceil(c.length / f.grid.rows) : c.length, k = i && $ - u < b && !g;
|
|
5613
5613
|
let I = k ? u : a.activeIndex;
|
|
5614
5614
|
typeof s > "u" ? s = a.getSlideIndex(c.find((T) => T.classList.contains(f.slideActiveClass))) : I = s;
|
|
5615
|
-
const _ = t === "next" || !t,
|
|
5615
|
+
const _ = t === "next" || !t, V = t === "prev" || !t;
|
|
5616
5616
|
let W = 0, Z = 0;
|
|
5617
5617
|
const M = (z ? c[s].column : s) + (g && typeof n > "u" ? -b / 2 + 0.5 : 0);
|
|
5618
5618
|
if (M < S) {
|
|
@@ -5637,14 +5637,14 @@ function yi({
|
|
|
5637
5637
|
}
|
|
5638
5638
|
if (a.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
5639
5639
|
a.__preventObserver__ = !1;
|
|
5640
|
-
}), a.params.effect === "cards" && c.length < b + S * 2 && (v.includes(s) && v.splice(v.indexOf(s), 1), R.includes(s) && R.splice(R.indexOf(s), 1)),
|
|
5640
|
+
}), a.params.effect === "cards" && c.length < b + S * 2 && (v.includes(s) && v.splice(v.indexOf(s), 1), R.includes(s) && R.splice(R.indexOf(s), 1)), V && R.forEach((T) => {
|
|
5641
5641
|
c[T].swiperLoopMoveDOM = !0, E.prepend(c[T]), c[T].swiperLoopMoveDOM = !1;
|
|
5642
5642
|
}), _ && v.forEach((T) => {
|
|
5643
5643
|
c[T].swiperLoopMoveDOM = !0, E.append(c[T]), c[T].swiperLoopMoveDOM = !1;
|
|
5644
|
-
}), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : z && (R.length > 0 &&
|
|
5644
|
+
}), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : z && (R.length > 0 && V || v.length > 0 && _) && a.slides.forEach((T, B) => {
|
|
5645
5645
|
a.grid.updateSlide(B, T, a.slides);
|
|
5646
5646
|
}), f.watchSlidesProgress && a.updateSlidesOffset(), r) {
|
|
5647
|
-
if (R.length > 0 &&
|
|
5647
|
+
if (R.length > 0 && V) {
|
|
5648
5648
|
if (typeof e > "u") {
|
|
5649
5649
|
const T = a.slidesGrid[I], P = a.slidesGrid[I + W] - T;
|
|
5650
5650
|
l ? a.setTranslate(a.translate - P) : (a.slideTo(I + Math.ceil(W), 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - P, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - P));
|
|
@@ -6170,7 +6170,7 @@ var Fi = {
|
|
|
6170
6170
|
addClasses: Bi,
|
|
6171
6171
|
removeClasses: Gi
|
|
6172
6172
|
};
|
|
6173
|
-
function
|
|
6173
|
+
function qi() {
|
|
6174
6174
|
const e = this, {
|
|
6175
6175
|
isLocked: r,
|
|
6176
6176
|
params: t
|
|
@@ -6184,8 +6184,8 @@ function Vi() {
|
|
|
6184
6184
|
e.isLocked = e.snapGrid.length === 1;
|
|
6185
6185
|
t.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), t.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), r && r !== e.isLocked && (e.isEnd = !1), r !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
|
|
6186
6186
|
}
|
|
6187
|
-
var
|
|
6188
|
-
checkOverflow:
|
|
6187
|
+
var Vi = {
|
|
6188
|
+
checkOverflow: qi
|
|
6189
6189
|
}, St = {
|
|
6190
6190
|
init: !0,
|
|
6191
6191
|
direction: "horizontal",
|
|
@@ -6335,7 +6335,7 @@ const gt = {
|
|
|
6335
6335
|
grabCursor: wi,
|
|
6336
6336
|
events: Ni,
|
|
6337
6337
|
breakpoints: Di,
|
|
6338
|
-
checkOverflow:
|
|
6338
|
+
checkOverflow: Vi,
|
|
6339
6339
|
classes: Fi
|
|
6340
6340
|
}, ht = {};
|
|
6341
6341
|
let Ft = class me {
|
|
@@ -6957,7 +6957,7 @@ const mr = /* @__PURE__ */ ye(null), ea = /* @__PURE__ */ ye(null), fn = /* @__P
|
|
|
6957
6957
|
} = Xi(i), {
|
|
6958
6958
|
slides: I,
|
|
6959
6959
|
slots: _
|
|
6960
|
-
} = Zi(n),
|
|
6960
|
+
} = Zi(n), V = () => {
|
|
6961
6961
|
f(!E);
|
|
6962
6962
|
};
|
|
6963
6963
|
Object.assign(R.on, {
|
|
@@ -6981,7 +6981,7 @@ const mr = /* @__PURE__ */ ye(null), ea = /* @__PURE__ */ ye(null), fn = /* @__P
|
|
|
6981
6981
|
Pe(x.current.params.virtual, B), Pe(x.current.originalParams.virtual, B);
|
|
6982
6982
|
}
|
|
6983
6983
|
};
|
|
6984
|
-
y.current || W(), x.current && x.current.on("_beforeBreakpoint",
|
|
6984
|
+
y.current || W(), x.current && x.current.on("_beforeBreakpoint", V);
|
|
6985
6985
|
const Z = () => {
|
|
6986
6986
|
l || !k || !x.current || Object.keys(k).forEach((T) => {
|
|
6987
6987
|
x.current.on(T, k[T]);
|
|
@@ -6992,7 +6992,7 @@ const mr = /* @__PURE__ */ ye(null), ea = /* @__PURE__ */ ye(null), fn = /* @__P
|
|
|
6992
6992
|
});
|
|
6993
6993
|
};
|
|
6994
6994
|
vt(() => () => {
|
|
6995
|
-
x.current && x.current.off("_beforeBreakpoint",
|
|
6995
|
+
x.current && x.current.off("_beforeBreakpoint", V);
|
|
6996
6996
|
}), vt(() => {
|
|
6997
6997
|
!m.current && x.current && (x.current.emitSlidesClasses(), m.current = !0);
|
|
6998
6998
|
}), je(() => {
|
|
@@ -7334,28 +7334,28 @@ function ra({
|
|
|
7334
7334
|
if (g.dynamicBullets && (i = yt(v[0], e.isHorizontal() ? "width" : "height"), b.forEach((_) => {
|
|
7335
7335
|
_.style[e.isHorizontal() ? "width" : "height"] = `${i * (g.dynamicMainBullets + 4)}px`;
|
|
7336
7336
|
}), g.dynamicMainBullets > 1 && S !== void 0 && (o += C - (S || 0), o > g.dynamicMainBullets - 1 ? o = g.dynamicMainBullets - 1 : o < 0 && (o = 0)), $ = Math.max(C - o, 0), k = $ + (Math.min(v.length, g.dynamicMainBullets) - 1), I = (k + $) / 2), v.forEach((_) => {
|
|
7337
|
-
const
|
|
7338
|
-
_.classList.remove(...
|
|
7337
|
+
const V = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((W) => `${g.bulletActiveClass}${W}`)].map((W) => typeof W == "string" && W.includes(" ") ? W.split(" ") : W).flat();
|
|
7338
|
+
_.classList.remove(...V);
|
|
7339
7339
|
}), b.length > 1)
|
|
7340
7340
|
v.forEach((_) => {
|
|
7341
|
-
const
|
|
7342
|
-
|
|
7341
|
+
const V = $e(_);
|
|
7342
|
+
V === C ? _.classList.add(...g.bulletActiveClass.split(" ")) : e.isElement && _.setAttribute("part", "bullet"), g.dynamicBullets && (V >= $ && V <= k && _.classList.add(...`${g.bulletActiveClass}-main`.split(" ")), V === $ && a(_, "prev"), V === k && a(_, "next"));
|
|
7343
7343
|
});
|
|
7344
7344
|
else {
|
|
7345
7345
|
const _ = v[C];
|
|
7346
|
-
if (_ && _.classList.add(...g.bulletActiveClass.split(" ")), e.isElement && v.forEach((
|
|
7347
|
-
|
|
7346
|
+
if (_ && _.classList.add(...g.bulletActiveClass.split(" ")), e.isElement && v.forEach((V, W) => {
|
|
7347
|
+
V.setAttribute("part", W === C ? "bullet-active" : "bullet");
|
|
7348
7348
|
}), g.dynamicBullets) {
|
|
7349
|
-
const
|
|
7349
|
+
const V = v[$], W = v[k];
|
|
7350
7350
|
for (let Z = $; Z <= k; Z += 1)
|
|
7351
7351
|
v[Z] && v[Z].classList.add(...`${g.bulletActiveClass}-main`.split(" "));
|
|
7352
|
-
a(
|
|
7352
|
+
a(V, "prev"), a(W, "next");
|
|
7353
7353
|
}
|
|
7354
7354
|
}
|
|
7355
7355
|
if (g.dynamicBullets) {
|
|
7356
|
-
const _ = Math.min(v.length, g.dynamicMainBullets + 4),
|
|
7356
|
+
const _ = Math.min(v.length, g.dynamicMainBullets + 4), V = (i * _ - i) / 2 - I * i, W = u ? "right" : "left";
|
|
7357
7357
|
v.forEach((Z) => {
|
|
7358
|
-
Z.style[e.isHorizontal() ? W : "top"] = `${
|
|
7358
|
+
Z.style[e.isHorizontal() ? W : "top"] = `${V}px`;
|
|
7359
7359
|
});
|
|
7360
7360
|
}
|
|
7361
7361
|
}
|
|
@@ -7368,9 +7368,9 @@ function ra({
|
|
|
7368
7368
|
let k;
|
|
7369
7369
|
g.progressbarOpposite ? k = e.isHorizontal() ? "vertical" : "horizontal" : k = e.isHorizontal() ? "horizontal" : "vertical";
|
|
7370
7370
|
const I = (C + 1) / R;
|
|
7371
|
-
let _ = 1,
|
|
7372
|
-
k === "horizontal" ? _ = I :
|
|
7373
|
-
W.style.transform = `translate3d(0,0,0) scaleX(${_}) scaleY(${
|
|
7371
|
+
let _ = 1, V = 1;
|
|
7372
|
+
k === "horizontal" ? _ = I : V = I, v.querySelectorAll(he(g.progressbarFillClass)).forEach((W) => {
|
|
7373
|
+
W.style.transform = `translate3d(0,0,0) scaleX(${_}) scaleY(${V})`, W.style.transitionDuration = `${e.params.speed}ms`;
|
|
7374
7374
|
});
|
|
7375
7375
|
}
|
|
7376
7376
|
g.type === "custom" && g.renderCustom ? (Me(v, g.renderCustom(e, C + 1, R)), $ === 0 && n("paginationRender", v)) : ($ === 0 && n("paginationRender", v), n("paginationUpdate", v)), e.params.watchOverflow && e.enabled && v.classList[e.isLocked ? "add" : "remove"](g.lockClass);
|
|
@@ -7608,7 +7608,7 @@ function na({
|
|
|
7608
7608
|
T || B || w.sourceCapabilities && w.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
|
|
7609
7609
|
s || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(M.getAttribute("data-swiper-slide-index"))), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(M)), 0), s = !1);
|
|
7610
7610
|
}));
|
|
7611
|
-
},
|
|
7611
|
+
}, V = () => {
|
|
7612
7612
|
const w = e.params.a11y;
|
|
7613
7613
|
w.itemRoleDescriptionMessage && E(e.slides, w.itemRoleDescriptionMessage), w.slideRole && d(e.slides, w.slideRole);
|
|
7614
7614
|
const M = e.slides.length;
|
|
@@ -7626,7 +7626,7 @@ function na({
|
|
|
7626
7626
|
const A = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite";
|
|
7627
7627
|
x(T, A);
|
|
7628
7628
|
}
|
|
7629
|
-
|
|
7629
|
+
V();
|
|
7630
7630
|
let {
|
|
7631
7631
|
nextEl: P,
|
|
7632
7632
|
prevEl: h
|
|
@@ -7650,7 +7650,7 @@ function na({
|
|
|
7650
7650
|
}), t("afterInit", () => {
|
|
7651
7651
|
e.params.a11y.enabled && W();
|
|
7652
7652
|
}), t("slidesLengthChange snapGridLengthChange slidesGridLengthChange", () => {
|
|
7653
|
-
e.params.a11y.enabled &&
|
|
7653
|
+
e.params.a11y.enabled && V();
|
|
7654
7654
|
}), t("fromEdge toEdge afterInit lock unlock", () => {
|
|
7655
7655
|
e.params.a11y.enabled && C();
|
|
7656
7656
|
}), t("paginationUpdate", () => {
|
|
@@ -7737,7 +7737,7 @@ function sa({
|
|
|
7737
7737
|
M.pointerType === "mouse" && (x = !0, u = !0, !(e.animating || e.autoplay.paused) && v(!0));
|
|
7738
7738
|
}, _ = (M) => {
|
|
7739
7739
|
M.pointerType === "mouse" && (u = !1, e.autoplay.paused && $());
|
|
7740
|
-
},
|
|
7740
|
+
}, V = () => {
|
|
7741
7741
|
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", I), e.el.addEventListener("pointerleave", _));
|
|
7742
7742
|
}, W = () => {
|
|
7743
7743
|
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", I), e.el.removeEventListener("pointerleave", _));
|
|
@@ -7747,7 +7747,7 @@ function sa({
|
|
|
7747
7747
|
de().removeEventListener("visibilitychange", k);
|
|
7748
7748
|
};
|
|
7749
7749
|
t("init", () => {
|
|
7750
|
-
e.params.autoplay.enabled && (
|
|
7750
|
+
e.params.autoplay.enabled && (V(), Z(), z());
|
|
7751
7751
|
}), t("destroy", () => {
|
|
7752
7752
|
W(), w(), e.autoplay.running && R();
|
|
7753
7753
|
}), t("_freeModeStaticRelease", () => {
|
|
@@ -7854,7 +7854,7 @@ function ia({
|
|
|
7854
7854
|
updateWrapperSize: d
|
|
7855
7855
|
};
|
|
7856
7856
|
}
|
|
7857
|
-
const
|
|
7857
|
+
const qt = ({
|
|
7858
7858
|
className: e = "",
|
|
7859
7859
|
slides: r,
|
|
7860
7860
|
breakpoints: t,
|
|
@@ -7877,7 +7877,7 @@ const Vt = ({
|
|
|
7877
7877
|
fill: "row",
|
|
7878
7878
|
rows: 2
|
|
7879
7879
|
};
|
|
7880
|
-
return /* @__PURE__ */
|
|
7880
|
+
return /* @__PURE__ */ q.jsx("div", { className: "relative w-full", children: /* @__PURE__ */ q.jsx(
|
|
7881
7881
|
fn,
|
|
7882
7882
|
{
|
|
7883
7883
|
modules: [na, sa, ia, ta, ra],
|
|
@@ -7897,12 +7897,12 @@ const Vt = ({
|
|
|
7897
7897
|
"--swiper-pagination-color": f.primary,
|
|
7898
7898
|
"--swiper-navigation-color": f.primary
|
|
7899
7899
|
},
|
|
7900
|
-
children: r.map((x, u) => /* @__PURE__ */
|
|
7900
|
+
children: r.map((x, u) => /* @__PURE__ */ q.jsx(pn, { children: x }, u))
|
|
7901
7901
|
}
|
|
7902
7902
|
) });
|
|
7903
7903
|
};
|
|
7904
|
-
|
|
7905
|
-
|
|
7904
|
+
qt.displayName = "Testimonials.Carousel";
|
|
7905
|
+
qt.propTypes = {
|
|
7906
7906
|
slides: O.arrayOf(O.node).isRequired,
|
|
7907
7907
|
breakpoints: O.object,
|
|
7908
7908
|
spaceBetween: O.number,
|
|
@@ -7916,10 +7916,10 @@ Vt.propTypes = {
|
|
|
7916
7916
|
onSwiper: O.func,
|
|
7917
7917
|
onSlideChange: O.func
|
|
7918
7918
|
};
|
|
7919
|
-
const tt = ({ id: e, theme: r, children: t }) => /* @__PURE__ */
|
|
7919
|
+
const tt = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ q.jsx(Ps, { id: e, theme: r, children: t });
|
|
7920
7920
|
tt.Base = $t;
|
|
7921
7921
|
tt.Container = Bt;
|
|
7922
|
-
tt.Carousel =
|
|
7922
|
+
tt.Carousel = qt;
|
|
7923
7923
|
tt.propTypes = {
|
|
7924
7924
|
id: O.string.isRequired,
|
|
7925
7925
|
theme: O.shape({
|