quirk-ui 0.0.317 → 0.0.319
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-CkbTHke1.js → index-CNxNHDqn.js} +206 -209
- package/dist/main.js +1 -1
- package/dist/next.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import wt, { jsx as
|
|
1
|
+
import wt, { jsx as g, jsxs as ie, Fragment as Te } from "react/jsx-runtime";
|
|
2
2
|
import Re, { useState as ve, createContext as Nt, useContext as Tt, useRef as Ze, useEffect as Ee, useMemo as It } from "react";
|
|
3
3
|
import { PortableText as $t } from "@portabletext/react";
|
|
4
4
|
import { c as Lt, T as Ct, H as Ce, B as kt, C as Oe, M as tt, P as Ht } from "./index-QdomYDiW.js";
|
|
@@ -15,7 +15,7 @@ const jt = [
|
|
|
15
15
|
], qt = Lt("pause", jt), xt = Nt(void 0);
|
|
16
16
|
function Ur({ children: i }) {
|
|
17
17
|
const [e, t] = ve(!1);
|
|
18
|
-
return /* @__PURE__ */
|
|
18
|
+
return /* @__PURE__ */ g(
|
|
19
19
|
xt.Provider,
|
|
20
20
|
{
|
|
21
21
|
value: { isFullbleedHeroAtTop: e, setIsFullbleedHeroAtTop: t },
|
|
@@ -42,7 +42,7 @@ function Wt({
|
|
|
42
42
|
prevText: e,
|
|
43
43
|
className: t
|
|
44
44
|
}) {
|
|
45
|
-
const [
|
|
45
|
+
const [_, m] = ve(e), [n, o] = ve(i), [l, f] = ve(null), [x, w] = ve(null), p = Ze(null);
|
|
46
46
|
return Ee(() => (p.current && clearTimeout(p.current), o(i), w(xe.reset), m(e), f(null), requestAnimationFrame(() => {
|
|
47
47
|
document.body.offsetHeight, f(xe.slideOff), w(xe.slideOn);
|
|
48
48
|
}), p.current = setTimeout(() => {
|
|
@@ -50,10 +50,10 @@ function Wt({
|
|
|
50
50
|
}, 300), () => {
|
|
51
51
|
p.current && clearTimeout(p.current);
|
|
52
52
|
}), [i, e]), Ee(() => {
|
|
53
|
-
!
|
|
54
|
-
}, [
|
|
55
|
-
|
|
56
|
-
/* @__PURE__ */
|
|
53
|
+
!_ && !n && i && (o(i), w(null));
|
|
54
|
+
}, [_, n, i]), /* @__PURE__ */ ie("span", { className: `${xe.animatedSpan} ${t ?? ""}`, children: [
|
|
55
|
+
_ !== void 0 && /* @__PURE__ */ g("span", { className: `${xe.previous} ${l}`, children: _ }),
|
|
56
|
+
/* @__PURE__ */ g("span", { className: `${xe.current} ${x}`, children: n })
|
|
57
57
|
] });
|
|
58
58
|
}
|
|
59
59
|
function Vt(i) {
|
|
@@ -83,8 +83,8 @@ function Je() {
|
|
|
83
83
|
};
|
|
84
84
|
if (process.env.NODE_ENV !== "production") {
|
|
85
85
|
const t = /* @__PURE__ */ new Set();
|
|
86
|
-
e = (
|
|
87
|
-
t.has(
|
|
86
|
+
e = (_) => {
|
|
87
|
+
t.has(_) || console.warn(_), t.add(_);
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
}(Me)), Me;
|
|
@@ -101,8 +101,8 @@ function Kt() {
|
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
103
|
function e(t) {
|
|
104
|
-
let { widthInt:
|
|
105
|
-
const x = 20, w = n ? n * 40 :
|
|
104
|
+
let { widthInt: _, heightInt: m, blurWidth: n, blurHeight: o, blurDataURL: l, objectFit: f } = t;
|
|
105
|
+
const x = 20, w = n ? n * 40 : _, p = o ? o * 40 : m, b = w && p ? "viewBox='0 0 " + w + " " + p + "'" : "", h = b ? "none" : f === "contain" ? "xMidYMid" : f === "cover" ? "xMidYMid slice" : "none";
|
|
106
106
|
return "%3Csvg xmlns='http://www.w3.org/2000/svg' " + b + "%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='" + x + "'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='" + x + "'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='" + h + "' style='filter: url(%23b);' href='" + l + "'/%3E%3C/svg%3E";
|
|
107
107
|
}
|
|
108
108
|
}(je)), je;
|
|
@@ -124,7 +124,7 @@ function et() {
|
|
|
124
124
|
return t;
|
|
125
125
|
},
|
|
126
126
|
imageConfigDefault: function() {
|
|
127
|
-
return
|
|
127
|
+
return _;
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
const t = [
|
|
@@ -133,7 +133,7 @@ function et() {
|
|
|
133
133
|
"cloudinary",
|
|
134
134
|
"akamai",
|
|
135
135
|
"custom"
|
|
136
|
-
],
|
|
136
|
+
], _ = {
|
|
137
137
|
deviceSizes: [
|
|
138
138
|
640,
|
|
139
139
|
750,
|
|
@@ -184,7 +184,7 @@ function Ot() {
|
|
|
184
184
|
return C;
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
const e = Je(), t = Kt(),
|
|
187
|
+
const e = Je(), t = Kt(), _ = et(), m = [
|
|
188
188
|
"lazy",
|
|
189
189
|
"eager",
|
|
190
190
|
void 0
|
|
@@ -285,7 +285,7 @@ function Ot() {
|
|
|
285
285
|
function C(v, I) {
|
|
286
286
|
let { src: c, sizes: H, unoptimized: r = !1, priority: S = !1, loading: d, className: O, quality: E, width: T, height: W, fill: $ = !1, style: M, overrideSrc: L, onLoad: re, onLoadingComplete: B, placeholder: z = "empty", blurDataURL: j, fetchPriority: ce, decoding: Y = "async", layout: q, objectFit: V, objectPosition: se, lazyBoundary: ne, lazyRoot: ae, ...X } = v;
|
|
287
287
|
const { imgConf: me, showAltText: Q, blurComplete: a, defaultLoader: te } = I;
|
|
288
|
-
let Z, J = me ||
|
|
288
|
+
let Z, J = me || _.imageConfigDefault;
|
|
289
289
|
if ("allSizes" in J)
|
|
290
290
|
Z = J;
|
|
291
291
|
else {
|
|
@@ -622,15 +622,15 @@ function At() {
|
|
|
622
622
|
at = 1;
|
|
623
623
|
function i(t) {
|
|
624
624
|
if (typeof WeakMap != "function") return null;
|
|
625
|
-
var
|
|
625
|
+
var _ = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap();
|
|
626
626
|
return (i = function(n) {
|
|
627
|
-
return n ? m :
|
|
627
|
+
return n ? m : _;
|
|
628
628
|
})(t);
|
|
629
629
|
}
|
|
630
|
-
function e(t,
|
|
631
|
-
if (!
|
|
630
|
+
function e(t, _) {
|
|
631
|
+
if (!_ && t && t.__esModule) return t;
|
|
632
632
|
if (t === null || typeof t != "object" && typeof t != "function") return { default: t };
|
|
633
|
-
var m = i(
|
|
633
|
+
var m = i(_);
|
|
634
634
|
if (m && m.has(t)) return m.get(t);
|
|
635
635
|
var n = { __proto__: null }, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
636
636
|
for (var l in t)
|
|
@@ -653,7 +653,7 @@ function Qt() {
|
|
|
653
653
|
return n;
|
|
654
654
|
}
|
|
655
655
|
});
|
|
656
|
-
const e = Re, t = typeof window > "u",
|
|
656
|
+
const e = Re, t = typeof window > "u", _ = t ? () => {
|
|
657
657
|
} : e.useLayoutEffect, m = t ? () => {
|
|
658
658
|
} : e.useEffect;
|
|
659
659
|
function n(o) {
|
|
@@ -668,13 +668,13 @@ function Qt() {
|
|
|
668
668
|
var w;
|
|
669
669
|
l == null || (w = l.mountedInstances) == null || w.add(o.children), x();
|
|
670
670
|
}
|
|
671
|
-
return
|
|
671
|
+
return _(() => {
|
|
672
672
|
var p;
|
|
673
673
|
return l == null || (p = l.mountedInstances) == null || p.add(o.children), () => {
|
|
674
674
|
var b;
|
|
675
675
|
l == null || (b = l.mountedInstances) == null || b.delete(o.children);
|
|
676
676
|
};
|
|
677
|
-
}),
|
|
677
|
+
}), _(() => (l && (l._pendingUpdate = x), () => {
|
|
678
678
|
l && (l._pendingUpdate = x);
|
|
679
679
|
})), m(() => (l && l._pendingUpdate && (l._pendingUpdate(), l._pendingUpdate = null), () => {
|
|
680
680
|
l && l._pendingUpdate && (l._pendingUpdate(), l._pendingUpdate = null);
|
|
@@ -690,11 +690,11 @@ function Yt() {
|
|
|
690
690
|
}), Object.defineProperty(i, "AmpStateContext", {
|
|
691
691
|
enumerable: !0,
|
|
692
692
|
get: function() {
|
|
693
|
-
return
|
|
693
|
+
return _;
|
|
694
694
|
}
|
|
695
695
|
});
|
|
696
|
-
const
|
|
697
|
-
process.env.NODE_ENV !== "production" && (
|
|
696
|
+
const _ = (/* @__PURE__ */ (/* @__PURE__ */ we())._(Re)).default.createContext({});
|
|
697
|
+
process.env.NODE_ENV !== "production" && (_.displayName = "AmpStateContext");
|
|
698
698
|
}(Ue)), Ue;
|
|
699
699
|
}
|
|
700
700
|
var ze = {}, lt;
|
|
@@ -705,11 +705,11 @@ function Zt() {
|
|
|
705
705
|
}), Object.defineProperty(i, "HeadManagerContext", {
|
|
706
706
|
enumerable: !0,
|
|
707
707
|
get: function() {
|
|
708
|
-
return
|
|
708
|
+
return _;
|
|
709
709
|
}
|
|
710
710
|
});
|
|
711
|
-
const
|
|
712
|
-
process.env.NODE_ENV !== "production" && (
|
|
711
|
+
const _ = (/* @__PURE__ */ (/* @__PURE__ */ we())._(Re)).default.createContext({});
|
|
712
|
+
process.env.NODE_ENV !== "production" && (_.displayName = "HeadManagerContext");
|
|
713
713
|
}(ze)), ze;
|
|
714
714
|
}
|
|
715
715
|
var Ge = {}, ft;
|
|
@@ -724,8 +724,8 @@ function Jt() {
|
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
726
|
function e(t) {
|
|
727
|
-
let { ampFirst:
|
|
728
|
-
return
|
|
727
|
+
let { ampFirst: _ = !1, hybrid: m = !1, hasQuery: n = !1 } = t === void 0 ? {} : t;
|
|
728
|
+
return _ || m && n;
|
|
729
729
|
}
|
|
730
730
|
}(Ge)), Ge;
|
|
731
731
|
}
|
|
@@ -750,7 +750,7 @@ function er() {
|
|
|
750
750
|
return b;
|
|
751
751
|
}
|
|
752
752
|
});
|
|
753
|
-
const
|
|
753
|
+
const _ = /* @__PURE__ */ we(), m = /* @__PURE__ */ At(), n = wt, o = /* @__PURE__ */ m._(Re), l = /* @__PURE__ */ _._(Qt()), f = Yt(), x = Zt(), w = Jt(), p = Je();
|
|
754
754
|
function b(r) {
|
|
755
755
|
r === void 0 && (r = !1);
|
|
756
756
|
const S = [
|
|
@@ -850,7 +850,7 @@ function tr() {
|
|
|
850
850
|
return m;
|
|
851
851
|
}
|
|
852
852
|
});
|
|
853
|
-
const t = /* @__PURE__ */ (/* @__PURE__ */ we())._(Re),
|
|
853
|
+
const t = /* @__PURE__ */ (/* @__PURE__ */ we())._(Re), _ = et(), m = t.default.createContext(_.imageConfigDefault);
|
|
854
854
|
process.env.NODE_ENV !== "production" && (m.displayName = "ImageConfigContext");
|
|
855
855
|
}(Xe)), Xe;
|
|
856
856
|
}
|
|
@@ -862,11 +862,11 @@ function rr() {
|
|
|
862
862
|
}), Object.defineProperty(i, "RouterContext", {
|
|
863
863
|
enumerable: !0,
|
|
864
864
|
get: function() {
|
|
865
|
-
return
|
|
865
|
+
return _;
|
|
866
866
|
}
|
|
867
867
|
});
|
|
868
|
-
const
|
|
869
|
-
process.env.NODE_ENV !== "production" && (
|
|
868
|
+
const _ = (/* @__PURE__ */ (/* @__PURE__ */ we())._(Re)).default.createContext(null);
|
|
869
|
+
process.env.NODE_ENV !== "production" && (_.displayName = "RouterContext");
|
|
870
870
|
}(Fe)), Fe;
|
|
871
871
|
}
|
|
872
872
|
var We = {}, Ve = {}, Ke = { exports: {} }, mt;
|
|
@@ -933,8 +933,8 @@ function St() {
|
|
|
933
933
|
a[R]--, J.pop();
|
|
934
934
|
}, N = (R) => {
|
|
935
935
|
if (s.type === "globstar") {
|
|
936
|
-
const F = a.braces > 0 && (R.type === "comma" || R.type === "brace"),
|
|
937
|
-
R.type !== "slash" && R.type !== "paren" && !F && !
|
|
936
|
+
const F = a.braces > 0 && (R.type === "comma" || R.type === "brace"), y = R.extglob === !0 || te.length && (R.type === "pipe" || R.type === "paren");
|
|
937
|
+
R.type !== "slash" && R.type !== "paren" && !F && !y && (a.output = a.output.slice(0, -s.output.length), s.type = "star", s.value = "*", s.output = Q, a.output += s.output);
|
|
938
938
|
}
|
|
939
939
|
if (te.length && R.type !== "paren" && (te[te.length - 1].inner += R.value), (R.value || R.output) && ue(R), s && s.type === "text" && R.type === "text") {
|
|
940
940
|
s.output = (s.output || s.value) + R.value, s.value += R.value;
|
|
@@ -942,16 +942,16 @@ function St() {
|
|
|
942
942
|
}
|
|
943
943
|
R.prev = s, E.push(R), s = R;
|
|
944
944
|
}, le = (R, F) => {
|
|
945
|
-
const
|
|
946
|
-
|
|
947
|
-
const U = (r.capture ? "(" : "") +
|
|
948
|
-
_e("parens"), N({ type: R, value: F, output: a.output ? "" : B }), N({ type: "paren", extglob: !0, value: k(), output: U }), te.push(
|
|
945
|
+
const y = { ...$[F], conditions: 1, inner: "" };
|
|
946
|
+
y.prev = s, y.parens = a.parens, y.output = a.output;
|
|
947
|
+
const U = (r.capture ? "(" : "") + y.open;
|
|
948
|
+
_e("parens"), N({ type: R, value: F, output: a.output ? "" : B }), N({ type: "paren", extglob: !0, value: k(), output: U }), te.push(y);
|
|
949
949
|
}, fe = (R) => {
|
|
950
|
-
let F = R.close + (r.capture ? ")" : ""),
|
|
950
|
+
let F = R.close + (r.capture ? ")" : ""), y;
|
|
951
951
|
if (R.type === "negate") {
|
|
952
952
|
let U = Q;
|
|
953
|
-
if (R.inner && R.inner.length > 1 && R.inner.includes("/") && (U = ae(r)), (U !== Q || ye() || /^\)+$/.test(ee())) && (F = R.close = `)$))${U}`), R.inner.includes("*") && (
|
|
954
|
-
const A = I(
|
|
953
|
+
if (R.inner && R.inner.length > 1 && R.inner.includes("/") && (U = ae(r)), (U !== Q || ye() || /^\)+$/.test(ee())) && (F = R.close = `)$))${U}`), R.inner.includes("*") && (y = ee()) && /^\.[^\\/.]+$/.test(y)) {
|
|
954
|
+
const A = I(y, { ...H, fastpaths: !1 }).output;
|
|
955
955
|
F = R.close = `)${A})${U})`;
|
|
956
956
|
}
|
|
957
957
|
R.prev.type === "bos" && (a.negatedExtglob = !0);
|
|
@@ -959,17 +959,17 @@ function St() {
|
|
|
959
959
|
N({ type: "paren", extglob: !0, value: u, output: F }), de("parens");
|
|
960
960
|
};
|
|
961
961
|
if (r.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(c)) {
|
|
962
|
-
let R = !1, F = c.replace(b, (
|
|
963
|
-
return R === !0 && (r.unescape === !0 ? F = F.replace(/\\/g, "") : F = F.replace(/\\+/g, (
|
|
962
|
+
let R = !1, F = c.replace(b, (y, U, A, G, K, he) => G === "\\" ? (R = !0, y) : G === "?" ? U ? U + G + (K ? q.repeat(K.length) : "") : he === 0 ? me + (K ? q.repeat(K.length) : "") : q.repeat(A.length) : G === "." ? M.repeat(A.length) : G === "*" ? U ? U + G + (K ? Q : "") : Q : U ? y : `\\${y}`);
|
|
963
|
+
return R === !0 && (r.unescape === !0 ? F = F.replace(/\\/g, "") : F = F.replace(/\\+/g, (y) => y.length % 2 === 0 ? "\\\\" : y ? "\\" : "")), F === c && r.contains === !0 ? (a.output = c, a) : (a.output = f.wrapOutput(F, a, H), a);
|
|
964
964
|
}
|
|
965
965
|
for (; !ye(); ) {
|
|
966
966
|
if (u = k(), u === "\0")
|
|
967
967
|
continue;
|
|
968
968
|
if (u === "\\") {
|
|
969
|
-
const
|
|
970
|
-
if (
|
|
969
|
+
const y = P();
|
|
970
|
+
if (y === "/" && r.bash !== !0 || y === "." || y === ";")
|
|
971
971
|
continue;
|
|
972
|
-
if (!
|
|
972
|
+
if (!y) {
|
|
973
973
|
u += "\\", N({ type: "text", value: u });
|
|
974
974
|
continue;
|
|
975
975
|
}
|
|
@@ -982,8 +982,8 @@ function St() {
|
|
|
982
982
|
}
|
|
983
983
|
if (a.brackets > 0 && (u !== "]" || s.value === "[" || s.value === "[^")) {
|
|
984
984
|
if (r.posix !== !1 && u === ":") {
|
|
985
|
-
const
|
|
986
|
-
if (
|
|
985
|
+
const y = s.value.slice(1);
|
|
986
|
+
if (y.includes("[") && (s.posix = !0, y.includes(":"))) {
|
|
987
987
|
const U = s.value.lastIndexOf("["), A = s.value.slice(0, U), G = s.value.slice(U + 2), K = w[G];
|
|
988
988
|
if (K) {
|
|
989
989
|
s.value = A + K, a.backtrack = !0, k(), !O.output && E.indexOf(s) === 1 && (O.output = B);
|
|
@@ -1009,8 +1009,8 @@ function St() {
|
|
|
1009
1009
|
if (u === ")") {
|
|
1010
1010
|
if (a.parens === 0 && r.strictBrackets === !0)
|
|
1011
1011
|
throw new SyntaxError(v("opening", "("));
|
|
1012
|
-
const
|
|
1013
|
-
if (
|
|
1012
|
+
const y = te[te.length - 1];
|
|
1013
|
+
if (y && a.parens === y.parens + 1) {
|
|
1014
1014
|
fe(te.pop());
|
|
1015
1015
|
continue;
|
|
1016
1016
|
}
|
|
@@ -1039,8 +1039,8 @@ function St() {
|
|
|
1039
1039
|
continue;
|
|
1040
1040
|
}
|
|
1041
1041
|
de("brackets");
|
|
1042
|
-
const
|
|
1043
|
-
if (s.posix !== !0 &&
|
|
1042
|
+
const y = s.value.slice(1);
|
|
1043
|
+
if (s.posix !== !0 && y[0] === "^" && !y.includes("/") && (u = `/${u}`), s.value += u, ue({ value: u }), r.literalBrackets === !1 || f.hasRegexChars(y))
|
|
1044
1044
|
continue;
|
|
1045
1045
|
const U = f.escapeRegex(s.value);
|
|
1046
1046
|
if (a.output = a.output.slice(0, -s.value.length), r.literalBrackets === !0) {
|
|
@@ -1052,26 +1052,26 @@ function St() {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
if (u === "{" && r.nobrace !== !0) {
|
|
1054
1054
|
_e("braces");
|
|
1055
|
-
const
|
|
1056
|
-
Z.push(
|
|
1055
|
+
const y = { type: "brace", value: u, output: "(", outputIndex: a.output.length, tokensIndex: a.tokens.length };
|
|
1056
|
+
Z.push(y), N(y);
|
|
1057
1057
|
continue;
|
|
1058
1058
|
}
|
|
1059
1059
|
if (u === "}") {
|
|
1060
|
-
const
|
|
1061
|
-
if (r.nobrace === !0 || !
|
|
1060
|
+
const y = Z[Z.length - 1];
|
|
1061
|
+
if (r.nobrace === !0 || !y) {
|
|
1062
1062
|
N({ type: "text", value: u, output: u });
|
|
1063
1063
|
continue;
|
|
1064
1064
|
}
|
|
1065
1065
|
let U = ")";
|
|
1066
|
-
if (
|
|
1066
|
+
if (y.dots === !0) {
|
|
1067
1067
|
const A = E.slice(), G = [];
|
|
1068
1068
|
for (let K = A.length - 1; K >= 0 && (E.pop(), A[K].type !== "brace"); K--)
|
|
1069
1069
|
A[K].type !== "dots" && G.unshift(A[K].value);
|
|
1070
1070
|
U = C(G, r), a.backtrack = !0;
|
|
1071
1071
|
}
|
|
1072
|
-
if (
|
|
1073
|
-
const A = a.output.slice(0,
|
|
1074
|
-
|
|
1072
|
+
if (y.comma !== !0 && y.dots !== !0) {
|
|
1073
|
+
const A = a.output.slice(0, y.outputIndex), G = a.tokens.slice(y.tokensIndex);
|
|
1074
|
+
y.value = y.output = "\\{", u = U = "\\}", a.output = A;
|
|
1075
1075
|
for (const K of G)
|
|
1076
1076
|
a.output += K.output || K.value;
|
|
1077
1077
|
}
|
|
@@ -1083,9 +1083,9 @@ function St() {
|
|
|
1083
1083
|
continue;
|
|
1084
1084
|
}
|
|
1085
1085
|
if (u === ",") {
|
|
1086
|
-
let
|
|
1086
|
+
let y = u;
|
|
1087
1087
|
const U = Z[Z.length - 1];
|
|
1088
|
-
U && J[J.length - 1] === "braces" && (U.comma = !0,
|
|
1088
|
+
U && J[J.length - 1] === "braces" && (U.comma = !0, y = "|"), N({ type: "comma", value: u, output: y });
|
|
1089
1089
|
continue;
|
|
1090
1090
|
}
|
|
1091
1091
|
if (u === "/") {
|
|
@@ -1099,8 +1099,8 @@ function St() {
|
|
|
1099
1099
|
if (u === ".") {
|
|
1100
1100
|
if (a.braces > 0 && s.type === "dot") {
|
|
1101
1101
|
s.value === "." && (s.output = M);
|
|
1102
|
-
const
|
|
1103
|
-
s.type = "dots", s.output += u, s.value += u,
|
|
1102
|
+
const y = Z[Z.length - 1];
|
|
1103
|
+
s.type = "dots", s.output += u, s.value += u, y.dots = !0;
|
|
1104
1104
|
continue;
|
|
1105
1105
|
}
|
|
1106
1106
|
if (a.braces + a.parens === 0 && s.type !== "bos" && s.type !== "slash") {
|
|
@@ -1164,8 +1164,8 @@ function St() {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
if (u !== "*") {
|
|
1166
1166
|
(u === "$" || u === "^") && (u = `\\${u}`);
|
|
1167
|
-
const
|
|
1168
|
-
|
|
1167
|
+
const y = p.exec(ee());
|
|
1168
|
+
y && (u += y[0], a.index += y[0].length), N({ type: "text", value: u });
|
|
1169
1169
|
continue;
|
|
1170
1170
|
}
|
|
1171
1171
|
if (s && (s.type === "globstar" || s.star === !0)) {
|
|
@@ -1182,13 +1182,13 @@ function St() {
|
|
|
1182
1182
|
ge(u);
|
|
1183
1183
|
continue;
|
|
1184
1184
|
}
|
|
1185
|
-
const
|
|
1185
|
+
const y = s.prev, U = y.prev, A = y.type === "slash" || y.type === "bos", G = U && (U.type === "star" || U.type === "globstar");
|
|
1186
1186
|
if (r.bash === !0 && (!A || R[0] && R[0] !== "/")) {
|
|
1187
1187
|
N({ type: "star", value: u, output: "" });
|
|
1188
1188
|
continue;
|
|
1189
1189
|
}
|
|
1190
|
-
const K = a.braces > 0 && (
|
|
1191
|
-
if (!A &&
|
|
1190
|
+
const K = a.braces > 0 && (y.type === "comma" || y.type === "brace"), he = te.length && (y.type === "pipe" || y.type === "paren");
|
|
1191
|
+
if (!A && y.type !== "paren" && !K && !he) {
|
|
1192
1192
|
N({ type: "star", value: u, output: "" });
|
|
1193
1193
|
continue;
|
|
1194
1194
|
}
|
|
@@ -1198,20 +1198,20 @@ function St() {
|
|
|
1198
1198
|
break;
|
|
1199
1199
|
R = R.slice(3), ge("/**", 3);
|
|
1200
1200
|
}
|
|
1201
|
-
if (
|
|
1201
|
+
if (y.type === "bos" && ye()) {
|
|
1202
1202
|
s.type = "globstar", s.value += u, s.output = ae(r), a.output = s.output, a.globstar = !0, ge(u);
|
|
1203
1203
|
continue;
|
|
1204
1204
|
}
|
|
1205
|
-
if (
|
|
1206
|
-
a.output = a.output.slice(0, -(
|
|
1205
|
+
if (y.type === "slash" && y.prev.type !== "bos" && !G && ye()) {
|
|
1206
|
+
a.output = a.output.slice(0, -(y.output + s.output).length), y.output = `(?:${y.output}`, s.type = "globstar", s.output = ae(r) + (r.strictSlashes ? ")" : "|$)"), s.value += u, a.globstar = !0, a.output += y.output + s.output, ge(u);
|
|
1207
1207
|
continue;
|
|
1208
1208
|
}
|
|
1209
|
-
if (
|
|
1209
|
+
if (y.type === "slash" && y.prev.type !== "bos" && R[0] === "/") {
|
|
1210
1210
|
const pe = R[1] !== void 0 ? "|$" : "";
|
|
1211
|
-
a.output = a.output.slice(0, -(
|
|
1211
|
+
a.output = a.output.slice(0, -(y.output + s.output).length), y.output = `(?:${y.output}`, s.type = "globstar", s.output = `${ae(r)}${re}|${re}${pe})`, s.value += u, a.output += y.output + s.output, a.globstar = !0, ge(u + k()), N({ type: "slash", value: "/", output: "" });
|
|
1212
1212
|
continue;
|
|
1213
1213
|
}
|
|
1214
|
-
if (
|
|
1214
|
+
if (y.type === "bos" && R[0] === "/") {
|
|
1215
1215
|
s.type = "globstar", s.value += u, s.output = `(?:^|${re}|${ae(r)}${re})`, a.output = s.output, a.globstar = !0, ge(u + k()), N({ type: "slash", value: "/", output: "" });
|
|
1216
1216
|
continue;
|
|
1217
1217
|
}
|
|
@@ -1469,8 +1469,8 @@ function St() {
|
|
|
1469
1469
|
if (L.tokens === !0 && (N.maxDepth = 0, E(P) || j.push(k), N.tokens = j), L.parts === !0 || L.tokens === !0) {
|
|
1470
1470
|
let le;
|
|
1471
1471
|
for (let fe = 0; fe < z.length; fe++) {
|
|
1472
|
-
const R = le ? le + 1 : V, F = z[fe],
|
|
1473
|
-
L.tokens && (fe === 0 && V !== 0 ? (j[fe].isPrefix = !0, j[fe].value = _e) : j[fe].value =
|
|
1472
|
+
const R = le ? le + 1 : V, F = z[fe], y = $.slice(R, F);
|
|
1473
|
+
L.tokens && (fe === 0 && V !== 0 ? (j[fe].isPrefix = !0, j[fe].value = _e) : j[fe].value = y, T(j[fe]), N.maxDepth += j[fe].depth), (fe !== 0 || y !== "") && ce.push(y), le = F;
|
|
1474
1474
|
}
|
|
1475
1475
|
if (le && le + 1 < $.length) {
|
|
1476
1476
|
const fe = $.slice(le + 1);
|
|
@@ -1511,8 +1511,8 @@ function St() {
|
|
|
1511
1511
|
return o.exports;
|
|
1512
1512
|
}
|
|
1513
1513
|
typeof t < "u" && (t.ab = __dirname + "/");
|
|
1514
|
-
var
|
|
1515
|
-
Ke.exports =
|
|
1514
|
+
var _ = t(170);
|
|
1515
|
+
Ke.exports = _;
|
|
1516
1516
|
})()), Ke.exports;
|
|
1517
1517
|
}
|
|
1518
1518
|
var gt;
|
|
@@ -1532,11 +1532,11 @@ function nr() {
|
|
|
1532
1532
|
return m;
|
|
1533
1533
|
},
|
|
1534
1534
|
matchLocalPattern: function() {
|
|
1535
|
-
return
|
|
1535
|
+
return _;
|
|
1536
1536
|
}
|
|
1537
1537
|
});
|
|
1538
1538
|
const t = St();
|
|
1539
|
-
function
|
|
1539
|
+
function _(n, o) {
|
|
1540
1540
|
if (n.search !== void 0 && n.search !== o.search)
|
|
1541
1541
|
return !1;
|
|
1542
1542
|
var l;
|
|
@@ -1548,7 +1548,7 @@ function nr() {
|
|
|
1548
1548
|
if (!n)
|
|
1549
1549
|
return !0;
|
|
1550
1550
|
const l = new URL(o, "http://n");
|
|
1551
|
-
return n.some((f) =>
|
|
1551
|
+
return n.some((f) => _(f, l));
|
|
1552
1552
|
}
|
|
1553
1553
|
}(Ve)), Ve;
|
|
1554
1554
|
}
|
|
@@ -1569,11 +1569,11 @@ function or() {
|
|
|
1569
1569
|
return m;
|
|
1570
1570
|
},
|
|
1571
1571
|
matchRemotePattern: function() {
|
|
1572
|
-
return
|
|
1572
|
+
return _;
|
|
1573
1573
|
}
|
|
1574
1574
|
});
|
|
1575
1575
|
const t = St();
|
|
1576
|
-
function
|
|
1576
|
+
function _(n, o) {
|
|
1577
1577
|
if (n.protocol !== void 0 && n.protocol.replace(/:$/, "") !== o.protocol.replace(/:$/, "") || n.port !== void 0 && n.port !== o.port)
|
|
1578
1578
|
return !1;
|
|
1579
1579
|
if (n.hostname === void 0)
|
|
@@ -1591,7 +1591,7 @@ function or() {
|
|
|
1591
1591
|
}).test(o.pathname);
|
|
1592
1592
|
}
|
|
1593
1593
|
function m(n, o, l) {
|
|
1594
|
-
return n.some((f) => l.hostname === f) || o.some((f) =>
|
|
1594
|
+
return n.some((f) => l.hostname === f) || o.some((f) => _(f, l));
|
|
1595
1595
|
}
|
|
1596
1596
|
}(Qe)), Qe;
|
|
1597
1597
|
}
|
|
@@ -1603,7 +1603,7 @@ function Pt() {
|
|
|
1603
1603
|
}), Object.defineProperty(i, "default", {
|
|
1604
1604
|
enumerable: !0,
|
|
1605
1605
|
get: function() {
|
|
1606
|
-
return
|
|
1606
|
+
return _;
|
|
1607
1607
|
}
|
|
1608
1608
|
});
|
|
1609
1609
|
const e = 75;
|
|
@@ -1671,7 +1671,7 @@ function Pt() {
|
|
|
1671
1671
|
return n.path + "?url=" + encodeURIComponent(o) + "&w=" + l + "&q=" + w + (o.startsWith("/_next/static/media/") && process.env.NEXT_DEPLOYMENT_ID ? "&dpl=" + process.env.NEXT_DEPLOYMENT_ID : "");
|
|
1672
1672
|
}
|
|
1673
1673
|
t.__next_img_default = !0;
|
|
1674
|
-
const
|
|
1674
|
+
const _ = t;
|
|
1675
1675
|
}(We)), We;
|
|
1676
1676
|
}
|
|
1677
1677
|
var Pe = { exports: {} }, bt;
|
|
@@ -1682,11 +1682,11 @@ function ir() {
|
|
|
1682
1682
|
}), Object.defineProperty(e, "useMergedRef", {
|
|
1683
1683
|
enumerable: !0,
|
|
1684
1684
|
get: function() {
|
|
1685
|
-
return
|
|
1685
|
+
return _;
|
|
1686
1686
|
}
|
|
1687
1687
|
});
|
|
1688
1688
|
const t = Re;
|
|
1689
|
-
function
|
|
1689
|
+
function _(n, o) {
|
|
1690
1690
|
const l = (0, t.useRef)(null), f = (0, t.useRef)(null);
|
|
1691
1691
|
return (0, t.useCallback)((x) => {
|
|
1692
1692
|
if (x === null) {
|
|
@@ -1725,7 +1725,7 @@ function sr() {
|
|
|
1725
1725
|
return S;
|
|
1726
1726
|
}
|
|
1727
1727
|
});
|
|
1728
|
-
const t = /* @__PURE__ */ we(),
|
|
1728
|
+
const t = /* @__PURE__ */ we(), _ = /* @__PURE__ */ At(), m = wt, n = /* @__PURE__ */ _._(Re), o = /* @__PURE__ */ t._(Mt), l = /* @__PURE__ */ t._(er()), f = Ot(), x = et(), w = tr(), p = Je(), b = rr(), h = /* @__PURE__ */ t._(Pt()), C = ir(), v = process.env.__NEXT_IMAGE_OPTS;
|
|
1729
1729
|
typeof window > "u" && (globalThis.__NEXT_IMAGE_IMPORTED = !0);
|
|
1730
1730
|
function I(d, O, E, T, W, $, M) {
|
|
1731
1731
|
const L = d == null ? void 0 : d.src;
|
|
@@ -1930,9 +1930,9 @@ function ar() {
|
|
|
1930
1930
|
return o;
|
|
1931
1931
|
}
|
|
1932
1932
|
});
|
|
1933
|
-
const t = /* @__PURE__ */ we(),
|
|
1933
|
+
const t = /* @__PURE__ */ we(), _ = Ot(), m = sr(), n = /* @__PURE__ */ t._(Pt());
|
|
1934
1934
|
function o(f) {
|
|
1935
|
-
const { props: x } = (0,
|
|
1935
|
+
const { props: x } = (0, _.getImgProps)(f, {
|
|
1936
1936
|
defaultLoader: n.default,
|
|
1937
1937
|
// This is replaced by webpack define plugin
|
|
1938
1938
|
imgConf: process.env.__NEXT_IMAGE_OPTS
|
|
@@ -1961,23 +1961,23 @@ function hr(i) {
|
|
|
1961
1961
|
const [e, t] = ve(!1);
|
|
1962
1962
|
return Ee(() => {
|
|
1963
1963
|
if (typeof window < "u") {
|
|
1964
|
-
const
|
|
1965
|
-
|
|
1966
|
-
const m = () => t(
|
|
1967
|
-
return
|
|
1964
|
+
const _ = window.matchMedia(i);
|
|
1965
|
+
_.matches !== e && t(_.matches);
|
|
1966
|
+
const m = () => t(_.matches);
|
|
1967
|
+
return _.addEventListener("change", m), () => _.removeEventListener("change", m);
|
|
1968
1968
|
}
|
|
1969
1969
|
}, [e, i]), e;
|
|
1970
1970
|
}
|
|
1971
1971
|
const mr = (i) => ({
|
|
1972
|
-
normal: ({ children: t }) => /* @__PURE__ */
|
|
1973
|
-
h1: ({ children: t }) => /* @__PURE__ */
|
|
1974
|
-
h2: ({ children: t }) => /* @__PURE__ */
|
|
1975
|
-
h3: ({ children: t }) => /* @__PURE__ */
|
|
1976
|
-
h4: ({ children: t }) => /* @__PURE__ */
|
|
1977
|
-
h5: ({ children: t }) => /* @__PURE__ */
|
|
1978
|
-
h6: ({ children: t }) => /* @__PURE__ */
|
|
1979
|
-
quote: ({ children: t }) => /* @__PURE__ */
|
|
1980
|
-
}), gr = (i, e, t,
|
|
1972
|
+
normal: ({ children: t }) => /* @__PURE__ */ g(Ct, { className: i, children: t }),
|
|
1973
|
+
h1: ({ children: t }) => /* @__PURE__ */ g(Ce, { className: i, level: 1, children: t }),
|
|
1974
|
+
h2: ({ children: t }) => /* @__PURE__ */ g(Ce, { className: i, level: 2, children: t }),
|
|
1975
|
+
h3: ({ children: t }) => /* @__PURE__ */ g(Ce, { className: i, level: 3, children: t }),
|
|
1976
|
+
h4: ({ children: t }) => /* @__PURE__ */ g(Ce, { className: i, level: 4, children: t }),
|
|
1977
|
+
h5: ({ children: t }) => /* @__PURE__ */ g(Ce, { className: i, level: 5, children: t }),
|
|
1978
|
+
h6: ({ children: t }) => /* @__PURE__ */ g(Ce, { className: i, level: 6, children: t }),
|
|
1979
|
+
quote: ({ children: t }) => /* @__PURE__ */ g("blockquote", { className: i, children: t })
|
|
1980
|
+
}), gr = (i, e, t, _, m) => {
|
|
1981
1981
|
const n = mr(i);
|
|
1982
1982
|
return {
|
|
1983
1983
|
marks: {
|
|
@@ -1985,9 +1985,9 @@ const mr = (i) => ({
|
|
|
1985
1985
|
children: f,
|
|
1986
1986
|
value: x
|
|
1987
1987
|
}) => {
|
|
1988
|
-
if (!x) return /* @__PURE__ */
|
|
1988
|
+
if (!x) return /* @__PURE__ */ g(Te, { children: f });
|
|
1989
1989
|
const { colorClass: w } = x, p = e == null ? void 0 : e.current;
|
|
1990
|
-
return
|
|
1990
|
+
return _ && t ? /* @__PURE__ */ g(
|
|
1991
1991
|
Wt,
|
|
1992
1992
|
{
|
|
1993
1993
|
className: w,
|
|
@@ -1995,19 +1995,19 @@ const mr = (i) => ({
|
|
|
1995
1995
|
prevText: p
|
|
1996
1996
|
},
|
|
1997
1997
|
"animated-span"
|
|
1998
|
-
) : /* @__PURE__ */
|
|
1998
|
+
) : /* @__PURE__ */ g("span", { className: w, children: f });
|
|
1999
1999
|
},
|
|
2000
|
-
strong: ({ children: f }) => /* @__PURE__ */
|
|
2001
|
-
em: ({ children: f }) => /* @__PURE__ */
|
|
2002
|
-
number: ({ children: f }) => /* @__PURE__ */
|
|
2003
|
-
left: ({ children: f }) => /* @__PURE__ */
|
|
2004
|
-
center: ({ children: f }) => /* @__PURE__ */
|
|
2005
|
-
right: ({ children: f }) => /* @__PURE__ */
|
|
2000
|
+
strong: ({ children: f }) => /* @__PURE__ */ g("strong", { children: f }),
|
|
2001
|
+
em: ({ children: f }) => /* @__PURE__ */ g("em", { children: f }),
|
|
2002
|
+
number: ({ children: f }) => /* @__PURE__ */ g("span", { className: "inlineNumber", children: f }),
|
|
2003
|
+
left: ({ children: f }) => /* @__PURE__ */ g("span", { className: "textLeft", children: f }),
|
|
2004
|
+
center: ({ children: f }) => /* @__PURE__ */ g("span", { className: "textCenter", children: f }),
|
|
2005
|
+
right: ({ children: f }) => /* @__PURE__ */ g("span", { className: "textRight", children: f }),
|
|
2006
2006
|
link: ({ children: f, value: x }) => {
|
|
2007
2007
|
var I;
|
|
2008
2008
|
const { linkType: w, internalUrl: p, externalUrl: b, blank: h } = x;
|
|
2009
2009
|
let C = "#";
|
|
2010
|
-
return w === "external" && b ? C = b : w === "internal" && ((I = p == null ? void 0 : p.slug) != null && I.current) && (C = `/${p == null ? void 0 : p.slug.current}`), /* @__PURE__ */
|
|
2010
|
+
return w === "external" && b ? C = b : w === "internal" && ((I = p == null ? void 0 : p.slug) != null && I.current) && (C = `/${p == null ? void 0 : p.slug.current}`), /* @__PURE__ */ g(
|
|
2011
2011
|
"a",
|
|
2012
2012
|
{
|
|
2013
2013
|
href: C,
|
|
@@ -2020,14 +2020,14 @@ const mr = (i) => ({
|
|
|
2020
2020
|
},
|
|
2021
2021
|
textSize: ({ children: f, value: x }) => {
|
|
2022
2022
|
const w = x != null && x.size ? `text-${x.size}` : "";
|
|
2023
|
-
return /* @__PURE__ */
|
|
2023
|
+
return /* @__PURE__ */ g("span", { className: w, children: f });
|
|
2024
2024
|
}
|
|
2025
2025
|
},
|
|
2026
2026
|
block: n,
|
|
2027
2027
|
list: {
|
|
2028
2028
|
bullet: ({ children: f = [] }) => {
|
|
2029
2029
|
const x = Re.Children.count(f);
|
|
2030
|
-
return /* @__PURE__ */
|
|
2030
|
+
return /* @__PURE__ */ g(
|
|
2031
2031
|
"ul",
|
|
2032
2032
|
{
|
|
2033
2033
|
style: {
|
|
@@ -2045,7 +2045,7 @@ const mr = (i) => ({
|
|
|
2045
2045
|
if (!(f != null && f.imageUrl)) return null;
|
|
2046
2046
|
const x = ((w = f.asset) == null ? void 0 : w.altText) || "Content image";
|
|
2047
2047
|
return /* @__PURE__ */ ie("figure", { className: `${i} ${$e.richTextImage}`, children: [
|
|
2048
|
-
/* @__PURE__ */
|
|
2048
|
+
/* @__PURE__ */ g(
|
|
2049
2049
|
Ie,
|
|
2050
2050
|
{
|
|
2051
2051
|
src: f.imageUrl,
|
|
@@ -2056,19 +2056,19 @@ const mr = (i) => ({
|
|
|
2056
2056
|
}
|
|
2057
2057
|
),
|
|
2058
2058
|
(((p = f.asset) == null ? void 0 : p.title) || ((b = f.asset) == null ? void 0 : b.description)) && /* @__PURE__ */ ie("figcaption", { children: [
|
|
2059
|
-
((h = f.asset) == null ? void 0 : h.title) && /* @__PURE__ */
|
|
2060
|
-
((v = f.asset) == null ? void 0 : v.description) && /* @__PURE__ */
|
|
2059
|
+
((h = f.asset) == null ? void 0 : h.title) && /* @__PURE__ */ g("strong", { children: (C = f.asset) == null ? void 0 : C.title }),
|
|
2060
|
+
((v = f.asset) == null ? void 0 : v.description) && /* @__PURE__ */ g("p", { children: (I = f.asset) == null ? void 0 : I.description })
|
|
2061
2061
|
] })
|
|
2062
2062
|
] });
|
|
2063
2063
|
},
|
|
2064
|
-
divider: () => /* @__PURE__ */
|
|
2064
|
+
divider: () => /* @__PURE__ */ g("hr", { className: $e.divider })
|
|
2065
2065
|
}
|
|
2066
2066
|
};
|
|
2067
2067
|
}, be = ({
|
|
2068
2068
|
blocks: i,
|
|
2069
2069
|
className: e,
|
|
2070
2070
|
textOverride: t,
|
|
2071
|
-
animateText:
|
|
2071
|
+
animateText: _
|
|
2072
2072
|
}) => {
|
|
2073
2073
|
const m = hr("(max-width: 767px)"), n = Ze(t);
|
|
2074
2074
|
Ee(() => {
|
|
@@ -2079,37 +2079,37 @@ const mr = (i) => ({
|
|
|
2079
2079
|
e,
|
|
2080
2080
|
n,
|
|
2081
2081
|
t,
|
|
2082
|
-
|
|
2082
|
+
_,
|
|
2083
2083
|
m
|
|
2084
2084
|
),
|
|
2085
|
-
[e, n, t,
|
|
2085
|
+
[e, n, t, _, m]
|
|
2086
2086
|
);
|
|
2087
2087
|
return i ? typeof i == "string" ? (console.warn(
|
|
2088
2088
|
"RichText component received a string. Expected PortableTextBlock[]"
|
|
2089
|
-
), /* @__PURE__ */
|
|
2089
|
+
), /* @__PURE__ */ g(Ct, { className: e, children: i })) : /* @__PURE__ */ g("div", { className: `${$e.container} portableTextContainer`, children: /* @__PURE__ */ g($t, { value: i, components: o }) }) : null;
|
|
2090
2090
|
};
|
|
2091
2091
|
function Ne({
|
|
2092
2092
|
items: i,
|
|
2093
2093
|
alignment: e,
|
|
2094
2094
|
className: t,
|
|
2095
|
-
resolveLinkURL:
|
|
2095
|
+
resolveLinkURL: _
|
|
2096
2096
|
}) {
|
|
2097
2097
|
const [m, n] = ve([]);
|
|
2098
2098
|
return Ee(() => {
|
|
2099
|
-
if (!(i != null && i.length) || !
|
|
2099
|
+
if (!(i != null && i.length) || !_) return;
|
|
2100
2100
|
async function o() {
|
|
2101
2101
|
const l = await Promise.all(
|
|
2102
|
-
i.map((f) =>
|
|
2102
|
+
i.map((f) => _(f))
|
|
2103
2103
|
);
|
|
2104
2104
|
n(l);
|
|
2105
2105
|
}
|
|
2106
2106
|
o();
|
|
2107
|
-
}, [i]), i != null && i.length ? /* @__PURE__ */
|
|
2107
|
+
}, [i]), i != null && i.length ? /* @__PURE__ */ g(kt, { className: t, alignment: e, children: i.slice(0, 3).map((o, l) => {
|
|
2108
2108
|
var x, w;
|
|
2109
2109
|
const f = m[l] ?? "#";
|
|
2110
2110
|
switch (o.type) {
|
|
2111
2111
|
case "link":
|
|
2112
|
-
return /* @__PURE__ */
|
|
2112
|
+
return /* @__PURE__ */ g(
|
|
2113
2113
|
Oe,
|
|
2114
2114
|
{
|
|
2115
2115
|
as: "a",
|
|
@@ -2125,10 +2125,10 @@ function Ne({
|
|
|
2125
2125
|
l
|
|
2126
2126
|
);
|
|
2127
2127
|
case "modal":
|
|
2128
|
-
return /* @__PURE__ */
|
|
2128
|
+
return /* @__PURE__ */ g(
|
|
2129
2129
|
tt,
|
|
2130
2130
|
{
|
|
2131
|
-
trigger: /* @__PURE__ */
|
|
2131
|
+
trigger: /* @__PURE__ */ g(
|
|
2132
2132
|
Oe,
|
|
2133
2133
|
{
|
|
2134
2134
|
as: "button",
|
|
@@ -2143,10 +2143,10 @@ function Ne({
|
|
|
2143
2143
|
l
|
|
2144
2144
|
);
|
|
2145
2145
|
case "video":
|
|
2146
|
-
return /* @__PURE__ */
|
|
2146
|
+
return /* @__PURE__ */ g(
|
|
2147
2147
|
tt,
|
|
2148
2148
|
{
|
|
2149
|
-
trigger: /* @__PURE__ */
|
|
2149
|
+
trigger: /* @__PURE__ */ g(
|
|
2150
2150
|
Oe,
|
|
2151
2151
|
{
|
|
2152
2152
|
as: "button",
|
|
@@ -2156,12 +2156,12 @@ function Ne({
|
|
|
2156
2156
|
children: o.label
|
|
2157
2157
|
}
|
|
2158
2158
|
),
|
|
2159
|
-
content: /* @__PURE__ */
|
|
2159
|
+
content: /* @__PURE__ */ g("video", { src: o.videoUrl, controls: !0, autoPlay: !0 })
|
|
2160
2160
|
},
|
|
2161
2161
|
l
|
|
2162
2162
|
);
|
|
2163
2163
|
case "download":
|
|
2164
|
-
return /* @__PURE__ */
|
|
2164
|
+
return /* @__PURE__ */ g(
|
|
2165
2165
|
Oe,
|
|
2166
2166
|
{
|
|
2167
2167
|
as: "a",
|
|
@@ -2185,8 +2185,8 @@ function _r() {
|
|
|
2185
2185
|
return Ee(() => {
|
|
2186
2186
|
const t = window.matchMedia("(prefers-reduced-motion: reduce");
|
|
2187
2187
|
e(t.matches);
|
|
2188
|
-
const
|
|
2189
|
-
return t.addEventListener("change",
|
|
2188
|
+
const _ = () => e(t.matches);
|
|
2189
|
+
return t.addEventListener("change", _), () => t.removeEventListener("change", _);
|
|
2190
2190
|
}, []), i;
|
|
2191
2191
|
}
|
|
2192
2192
|
const yr = "_hero_c7i2h_1", br = "_container_c7i2h_7", vr = "_eyebrow_c7i2h_27", Rr = "_disclaimer_c7i2h_31", Er = "_text_c7i2h_36", wr = "_articleDetails_c7i2h_43", Cr = "_articleType_c7i2h_56", xr = "_articleCategories_c7i2h_69", Or = "_category_c7i2h_75", Ar = "_number_c7i2h_90", Sr = "_blog_c7i2h_117", Pr = "_overlay_c7i2h_141", Nr = "_fullBleed_c7i2h_211", Tr = "_split_c7i2h_305", Ir = "_image_c7i2h_310", $r = "_videoControl_c7i2h_333", Lr = "_videoWrapper_c7i2h_354", kr = "_videoBackground_c7i2h_374", Hr = "_iframe_c7i2h_375", D = {
|
|
@@ -2215,7 +2215,7 @@ function zr({
|
|
|
2215
2215
|
heading: i,
|
|
2216
2216
|
image: e,
|
|
2217
2217
|
video: t,
|
|
2218
|
-
callToAction:
|
|
2218
|
+
callToAction: _,
|
|
2219
2219
|
pageData: m,
|
|
2220
2220
|
styleOptions: n
|
|
2221
2221
|
}) {
|
|
@@ -2236,25 +2236,22 @@ function zr({
|
|
|
2236
2236
|
const d = w.current;
|
|
2237
2237
|
d && (o ? d.pause() : d.play());
|
|
2238
2238
|
}, [o]);
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
{
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
);
|
|
2253
|
-
}
|
|
2254
|
-
const I = () => {
|
|
2239
|
+
const v = () => /* @__PURE__ */ g(
|
|
2240
|
+
"button",
|
|
2241
|
+
{
|
|
2242
|
+
title: `${l ? "Pause the video" : "Play the video"}`,
|
|
2243
|
+
className: D.videoControl,
|
|
2244
|
+
onClick: () => {
|
|
2245
|
+
const d = w.current;
|
|
2246
|
+
d && (d.paused ? (d.play().catch(() => {
|
|
2247
|
+
}), f(!0)) : (d.pause(), f(!1)));
|
|
2248
|
+
},
|
|
2249
|
+
children: l ? /* @__PURE__ */ g(qt, { size: 18 }) : /* @__PURE__ */ g(Ht, { size: 18 })
|
|
2250
|
+
}
|
|
2251
|
+
), I = () => {
|
|
2255
2252
|
if (!t) return null;
|
|
2256
2253
|
const d = t.includes("vimeo.com"), O = t.includes("youtube.com") || t.includes("youtu.be");
|
|
2257
|
-
return d || O ? /* @__PURE__ */
|
|
2254
|
+
return d || O ? /* @__PURE__ */ g("div", { className: D.videoWrapper, children: /* @__PURE__ */ g(
|
|
2258
2255
|
"iframe",
|
|
2259
2256
|
{
|
|
2260
2257
|
src: d ? `${t}?autoplay=1&muted=1&loop=1&background=1` : `${t}?autoplay=1&mute=1&loop=1&playlist=${c(
|
|
@@ -2264,8 +2261,8 @@ function zr({
|
|
|
2264
2261
|
allowFullScreen: !0
|
|
2265
2262
|
}
|
|
2266
2263
|
) }) : /* @__PURE__ */ ie("div", { className: D.videoWrapper, children: [
|
|
2267
|
-
v
|
|
2268
|
-
/* @__PURE__ */
|
|
2264
|
+
/* @__PURE__ */ g(v, {}),
|
|
2265
|
+
/* @__PURE__ */ g(
|
|
2269
2266
|
"video",
|
|
2270
2267
|
{
|
|
2271
2268
|
ref: w,
|
|
@@ -2283,7 +2280,7 @@ function zr({
|
|
|
2283
2280
|
const O = d.match(/(?:youtube\.com\/.*v=|youtu\.be\/)([^&?/]+)/);
|
|
2284
2281
|
return (O == null ? void 0 : O[1]) || "";
|
|
2285
2282
|
}
|
|
2286
|
-
const H = () => e && e.imageUrl ? /* @__PURE__ */
|
|
2283
|
+
const H = () => e && e.imageUrl ? /* @__PURE__ */ g("div", { className: D.image, children: /* @__PURE__ */ g(
|
|
2287
2284
|
Ie,
|
|
2288
2285
|
{
|
|
2289
2286
|
src: e.imageUrl,
|
|
@@ -2294,21 +2291,21 @@ function zr({
|
|
|
2294
2291
|
}
|
|
2295
2292
|
) }) : null;
|
|
2296
2293
|
if (p === "split")
|
|
2297
|
-
return /* @__PURE__ */
|
|
2294
|
+
return /* @__PURE__ */ g("section", { className: `${D.hero} ${D.split}`, children: /* @__PURE__ */ ie("article", { className: D.container, children: [
|
|
2298
2295
|
/* @__PURE__ */ ie("div", { className: D.text, children: [
|
|
2299
2296
|
/* @__PURE__ */ ie("div", { children: [
|
|
2300
|
-
i.eyebrow && /* @__PURE__ */
|
|
2301
|
-
/* @__PURE__ */
|
|
2297
|
+
i.eyebrow && /* @__PURE__ */ g(be, { className: D.eyebrow, blocks: i.eyebrow }),
|
|
2298
|
+
/* @__PURE__ */ g(be, { blocks: i.title })
|
|
2302
2299
|
] }),
|
|
2303
|
-
i.description && /* @__PURE__ */
|
|
2304
|
-
|
|
2300
|
+
i.description && /* @__PURE__ */ g(be, { blocks: i.description }),
|
|
2301
|
+
_ && /* @__PURE__ */ g(
|
|
2305
2302
|
Ne,
|
|
2306
2303
|
{
|
|
2307
|
-
items:
|
|
2308
|
-
alignment:
|
|
2304
|
+
items: _.items,
|
|
2305
|
+
alignment: _.alignment
|
|
2309
2306
|
}
|
|
2310
2307
|
),
|
|
2311
|
-
i.disclaimer && /* @__PURE__ */
|
|
2308
|
+
i.disclaimer && /* @__PURE__ */ g(
|
|
2312
2309
|
be,
|
|
2313
2310
|
{
|
|
2314
2311
|
className: D.disclaimer,
|
|
@@ -2316,29 +2313,29 @@ function zr({
|
|
|
2316
2313
|
}
|
|
2317
2314
|
)
|
|
2318
2315
|
] }),
|
|
2319
|
-
t ? I
|
|
2316
|
+
t ? /* @__PURE__ */ g(I, {}) : /* @__PURE__ */ g(H, {})
|
|
2320
2317
|
] }) });
|
|
2321
2318
|
if (p === "default")
|
|
2322
|
-
return /* @__PURE__ */
|
|
2323
|
-
t ? I
|
|
2319
|
+
return /* @__PURE__ */ g("section", { className: `${D.hero} ${b}`, children: /* @__PURE__ */ ie("article", { className: D.container, children: [
|
|
2320
|
+
t ? /* @__PURE__ */ g(I, {}) : /* @__PURE__ */ g(H, {}),
|
|
2324
2321
|
/* @__PURE__ */ ie("div", { className: D.text, children: [
|
|
2325
2322
|
/* @__PURE__ */ ie("div", { children: [
|
|
2326
|
-
i.eyebrow && /* @__PURE__ */
|
|
2327
|
-
/* @__PURE__ */
|
|
2323
|
+
i.eyebrow && /* @__PURE__ */ g(be, { className: D.eyebrow, blocks: i.eyebrow }),
|
|
2324
|
+
/* @__PURE__ */ g(be, { blocks: i.title })
|
|
2328
2325
|
] }),
|
|
2329
|
-
i.description && /* @__PURE__ */
|
|
2330
|
-
|
|
2326
|
+
i.description && /* @__PURE__ */ g(be, { blocks: i.description }),
|
|
2327
|
+
_ && /* @__PURE__ */ g(
|
|
2331
2328
|
Ne,
|
|
2332
2329
|
{
|
|
2333
|
-
items:
|
|
2334
|
-
alignment:
|
|
2330
|
+
items: _.items,
|
|
2331
|
+
alignment: _.alignment
|
|
2335
2332
|
}
|
|
2336
2333
|
)
|
|
2337
2334
|
] })
|
|
2338
2335
|
] }) });
|
|
2339
2336
|
if (p === "full-bleed")
|
|
2340
|
-
return /* @__PURE__ */
|
|
2341
|
-
t ? t.includes("vimeo.com") || t.includes("youtube.com") || t.includes("youtu.be") ? /* @__PURE__ */
|
|
2337
|
+
return /* @__PURE__ */ g("section", { className: `${D.hero} ${b}`, children: /* @__PURE__ */ ie("article", { className: D.container, children: [
|
|
2338
|
+
t ? t.includes("vimeo.com") || t.includes("youtube.com") || t.includes("youtu.be") ? /* @__PURE__ */ g("div", { className: D.videoBackground, children: /* @__PURE__ */ g(
|
|
2342
2339
|
"iframe",
|
|
2343
2340
|
{
|
|
2344
2341
|
src: t.includes("vimeo.com") ? `${t}?autoplay=1&muted=1&loop=1&background=1` : `${t}?autoplay=1&mute=1&loop=1&playlist=${c(
|
|
@@ -2349,8 +2346,8 @@ function zr({
|
|
|
2349
2346
|
allowFullScreen: !0
|
|
2350
2347
|
}
|
|
2351
2348
|
) }) : /* @__PURE__ */ ie(Te, { children: [
|
|
2352
|
-
v
|
|
2353
|
-
/* @__PURE__ */
|
|
2349
|
+
/* @__PURE__ */ g(v, {}),
|
|
2350
|
+
/* @__PURE__ */ g(
|
|
2354
2351
|
"video",
|
|
2355
2352
|
{
|
|
2356
2353
|
ref: w,
|
|
@@ -2363,7 +2360,7 @@ function zr({
|
|
|
2363
2360
|
poster: (e == null ? void 0 : e.imageUrl) || void 0
|
|
2364
2361
|
}
|
|
2365
2362
|
)
|
|
2366
|
-
] }) : /* @__PURE__ */
|
|
2363
|
+
] }) : /* @__PURE__ */ g(
|
|
2367
2364
|
Ie,
|
|
2368
2365
|
{
|
|
2369
2366
|
src: (e == null ? void 0 : e.imageUrl) ?? "",
|
|
@@ -2375,30 +2372,30 @@ function zr({
|
|
|
2375
2372
|
sizes: "(min-width: 500px) 500px, 100vw"
|
|
2376
2373
|
}
|
|
2377
2374
|
),
|
|
2378
|
-
/* @__PURE__ */
|
|
2375
|
+
/* @__PURE__ */ g("div", { className: D.overlay, children: /* @__PURE__ */ ie("div", { className: D.text, children: [
|
|
2379
2376
|
/* @__PURE__ */ ie("div", { children: [
|
|
2380
|
-
i.eyebrow && /* @__PURE__ */
|
|
2377
|
+
i.eyebrow && /* @__PURE__ */ g(
|
|
2381
2378
|
be,
|
|
2382
2379
|
{
|
|
2383
2380
|
className: D.eyebrow,
|
|
2384
2381
|
blocks: i.eyebrow
|
|
2385
2382
|
}
|
|
2386
2383
|
),
|
|
2387
|
-
/* @__PURE__ */
|
|
2384
|
+
/* @__PURE__ */ g(be, { blocks: i.title })
|
|
2388
2385
|
] }),
|
|
2389
|
-
i.description && /* @__PURE__ */
|
|
2390
|
-
|
|
2386
|
+
i.description && /* @__PURE__ */ g(be, { blocks: i.description }),
|
|
2387
|
+
_ && /* @__PURE__ */ g(
|
|
2391
2388
|
Ne,
|
|
2392
2389
|
{
|
|
2393
|
-
items:
|
|
2394
|
-
alignment:
|
|
2390
|
+
items: _.items,
|
|
2391
|
+
alignment: _.alignment
|
|
2395
2392
|
}
|
|
2396
2393
|
)
|
|
2397
2394
|
] }) })
|
|
2398
2395
|
] }) });
|
|
2399
2396
|
if (p === "blog")
|
|
2400
|
-
return /* @__PURE__ */
|
|
2401
|
-
t ? t.includes("vimeo.com") || t.includes("youtube.com") || t.includes("youtu.be") ? /* @__PURE__ */
|
|
2397
|
+
return /* @__PURE__ */ g("section", { className: `${D.hero} ${b}`, children: /* @__PURE__ */ ie("article", { className: D.container, children: [
|
|
2398
|
+
t ? t.includes("vimeo.com") || t.includes("youtube.com") || t.includes("youtu.be") ? /* @__PURE__ */ g("div", { className: D.videoBackground, children: /* @__PURE__ */ g(
|
|
2402
2399
|
"iframe",
|
|
2403
2400
|
{
|
|
2404
2401
|
src: t.includes("vimeo.com") ? `${t}?autoplay=1&muted=1&loop=1&background=1` : `${t}?autoplay=1&mute=1&loop=1&playlist=${c(
|
|
@@ -2409,8 +2406,8 @@ function zr({
|
|
|
2409
2406
|
allowFullScreen: !0
|
|
2410
2407
|
}
|
|
2411
2408
|
) }) : /* @__PURE__ */ ie(Te, { children: [
|
|
2412
|
-
v
|
|
2413
|
-
/* @__PURE__ */
|
|
2409
|
+
/* @__PURE__ */ g(v, {}),
|
|
2410
|
+
/* @__PURE__ */ g(
|
|
2414
2411
|
"video",
|
|
2415
2412
|
{
|
|
2416
2413
|
ref: w,
|
|
@@ -2423,7 +2420,7 @@ function zr({
|
|
|
2423
2420
|
poster: (e == null ? void 0 : e.imageUrl) || void 0
|
|
2424
2421
|
}
|
|
2425
2422
|
)
|
|
2426
|
-
] }) : /* @__PURE__ */
|
|
2423
|
+
] }) : /* @__PURE__ */ g(
|
|
2427
2424
|
Ie,
|
|
2428
2425
|
{
|
|
2429
2426
|
src: (e == null ? void 0 : e.imageUrl) ?? "",
|
|
@@ -2435,9 +2432,9 @@ function zr({
|
|
|
2435
2432
|
sizes: "(min-width: 500px) 500px, 100vw"
|
|
2436
2433
|
}
|
|
2437
2434
|
),
|
|
2438
|
-
/* @__PURE__ */
|
|
2435
|
+
/* @__PURE__ */ g("div", { className: D.overlay, children: /* @__PURE__ */ ie("div", { className: D.text, children: [
|
|
2439
2436
|
/* @__PURE__ */ ie("div", { children: [
|
|
2440
|
-
i.eyebrow && /* @__PURE__ */
|
|
2437
|
+
i.eyebrow && /* @__PURE__ */ g(
|
|
2441
2438
|
be,
|
|
2442
2439
|
{
|
|
2443
2440
|
className: D.eyebrow,
|
|
@@ -2445,26 +2442,26 @@ function zr({
|
|
|
2445
2442
|
}
|
|
2446
2443
|
),
|
|
2447
2444
|
m && /* @__PURE__ */ ie("div", { className: D.articleDetails, children: [
|
|
2448
|
-
m.articleType && /* @__PURE__ */
|
|
2445
|
+
m.articleType && /* @__PURE__ */ g("div", { className: D.articleType, children: m.articleType }),
|
|
2449
2446
|
/* @__PURE__ */ ie("div", { className: D.articleCategories, children: [
|
|
2450
|
-
h && /* @__PURE__ */
|
|
2447
|
+
h && /* @__PURE__ */ g("span", { className: D.category, children: h.title }),
|
|
2451
2448
|
C && C.title.toLowerCase() !== "library" && !C.slug.current.includes(
|
|
2452
2449
|
"keywords"
|
|
2453
|
-
) && /* @__PURE__ */
|
|
2450
|
+
) && /* @__PURE__ */ g("span", { className: D.category, children: C.title })
|
|
2454
2451
|
] }),
|
|
2455
|
-
m.timeToRead && /* @__PURE__ */
|
|
2456
|
-
/* @__PURE__ */
|
|
2452
|
+
m.timeToRead && /* @__PURE__ */ g(Te, { children: /* @__PURE__ */ ie("span", { children: [
|
|
2453
|
+
/* @__PURE__ */ g("span", { className: D.number, children: m.timeToRead }),
|
|
2457
2454
|
"min read"
|
|
2458
2455
|
] }) })
|
|
2459
2456
|
] }),
|
|
2460
|
-
/* @__PURE__ */
|
|
2457
|
+
/* @__PURE__ */ g(be, { blocks: i.title })
|
|
2461
2458
|
] }),
|
|
2462
|
-
i.description && /* @__PURE__ */
|
|
2463
|
-
|
|
2459
|
+
i.description && /* @__PURE__ */ g(be, { blocks: i.description }),
|
|
2460
|
+
_ && /* @__PURE__ */ g(
|
|
2464
2461
|
Ne,
|
|
2465
2462
|
{
|
|
2466
|
-
items:
|
|
2467
|
-
alignment:
|
|
2463
|
+
items: _.items,
|
|
2464
|
+
alignment: _.alignment
|
|
2468
2465
|
}
|
|
2469
2466
|
)
|
|
2470
2467
|
] }) })
|
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as e, C as o, H as r, M as t, T as i } from "./index-QdomYDiW.js";
|
|
2
2
|
import { e as l, f as c, A as d, c as u, B as p, n as B, b as x, j as C, t as T, C as S, x as b, D as m, l as f, s as g, z as k, F as v, o as A, p as F, G as H, I as P, r as h, q as D, L as M, M as N, k as w, N as G, g as I, P as L, R, y as j, v as q, i as y, a as z, h as E, S as U, w as J, T as K, m as O, u as Q, E as V, d as W } from "./index-Bm7LEtJU.js";
|
|
3
|
-
import { H as Y, a as Z, u as _ } from "./index-
|
|
3
|
+
import { H as Y, a as Z, u as _ } from "./index-CNxNHDqn.js";
|
|
4
4
|
export {
|
|
5
5
|
l as Accordion,
|
|
6
6
|
c as Alert,
|
package/dist/next.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quirk-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.319",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"path": ">=0.12.7",
|
|
47
47
|
"react": ">=19.0.0",
|
|
48
48
|
"react-dom": ">=19.0.0",
|
|
49
|
-
"micromatch": ">=
|
|
49
|
+
"micromatch": ">=4.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@eslint/js": "^9.21.0",
|