@cooperco/cooper-component-library 0.1.118 → 0.1.119
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/lib/component-lib.js +524 -520
- package/dist/lib/component-lib.umd.cjs +10 -10
- package/package.json +1 -1
|
@@ -111,26 +111,26 @@ const c1 = "-", Ji = (n) => {
|
|
|
111
111
|
} = n, i = e.length === 1, o = e[0], s = e.length, r = (a) => {
|
|
112
112
|
const l = [];
|
|
113
113
|
let c = 0, d = 0, u;
|
|
114
|
-
for (let
|
|
115
|
-
let b = a[
|
|
114
|
+
for (let p = 0; p < a.length; p++) {
|
|
115
|
+
let b = a[p];
|
|
116
116
|
if (c === 0) {
|
|
117
|
-
if (b === o && (i || a.slice(
|
|
118
|
-
l.push(a.slice(d,
|
|
117
|
+
if (b === o && (i || a.slice(p, p + s) === e)) {
|
|
118
|
+
l.push(a.slice(d, p)), d = p + s;
|
|
119
119
|
continue;
|
|
120
120
|
}
|
|
121
121
|
if (b === "/") {
|
|
122
|
-
u =
|
|
122
|
+
u = p;
|
|
123
123
|
continue;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
b === "[" ? c++ : b === "]" && c--;
|
|
127
127
|
}
|
|
128
|
-
const h = l.length === 0 ? a : a.substring(d), f = h.startsWith(mn), g = f ? h.substring(1) : h,
|
|
128
|
+
const h = l.length === 0 ? a : a.substring(d), f = h.startsWith(mn), g = f ? h.substring(1) : h, C = u && u > d ? u - d : void 0;
|
|
129
129
|
return {
|
|
130
130
|
modifiers: l,
|
|
131
131
|
hasImportantModifier: f,
|
|
132
132
|
baseClassName: g,
|
|
133
|
-
maybePostfixModifierPosition:
|
|
133
|
+
maybePostfixModifierPosition: C
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
return t ? (a) => t({
|
|
@@ -163,25 +163,25 @@ const c1 = "-", Ji = (n) => {
|
|
|
163
163
|
baseClassName: h,
|
|
164
164
|
maybePostfixModifierPosition: f
|
|
165
165
|
} = t(c);
|
|
166
|
-
let g = !!f,
|
|
167
|
-
if (!
|
|
166
|
+
let g = !!f, C = i(g ? h.substring(0, f) : h);
|
|
167
|
+
if (!C) {
|
|
168
168
|
if (!g) {
|
|
169
169
|
a = c + (a.length > 0 ? " " + a : a);
|
|
170
170
|
continue;
|
|
171
171
|
}
|
|
172
|
-
if (
|
|
172
|
+
if (C = i(h), !C) {
|
|
173
173
|
a = c + (a.length > 0 ? " " + a : a);
|
|
174
174
|
continue;
|
|
175
175
|
}
|
|
176
176
|
g = !1;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
178
|
+
const p = so(d).join(":"), b = u ? p + mn : p, y = b + C;
|
|
179
179
|
if (s.includes(y))
|
|
180
180
|
continue;
|
|
181
181
|
s.push(y);
|
|
182
|
-
const
|
|
183
|
-
for (let B = 0; B <
|
|
184
|
-
const $ =
|
|
182
|
+
const _ = o(C, g);
|
|
183
|
+
for (let B = 0; B < _.length; ++B) {
|
|
184
|
+
const $ = _[B];
|
|
185
185
|
s.push(b + $);
|
|
186
186
|
}
|
|
187
187
|
a = c + (a.length > 0 ? " " + a : a);
|
|
@@ -231,7 +231,7 @@ const d2 = (n) => {
|
|
|
231
231
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
232
232
|
Co.test(n) && !go.test(n)
|
|
233
233
|
), vn = () => !1, Zo = (n) => mo.test(n), So = (n) => bo.test(n), $o = () => {
|
|
234
|
-
const n = d2("colors"), e = d2("spacing"), t = d2("blur"), i = d2("brightness"), o = d2("borderColor"), s = d2("borderRadius"), r = d2("borderSpacing"), a = d2("borderWidth"), l = d2("contrast"), c = d2("grayscale"), d = d2("hueRotate"), u = d2("invert"), h = d2("gap"), f = d2("gradientColorStops"), g = d2("gradientColorStopPositions"),
|
|
234
|
+
const n = d2("colors"), e = d2("spacing"), t = d2("blur"), i = d2("brightness"), o = d2("borderColor"), s = d2("borderRadius"), r = d2("borderSpacing"), a = d2("borderWidth"), l = d2("contrast"), c = d2("grayscale"), d = d2("hueRotate"), u = d2("invert"), h = d2("gap"), f = d2("gradientColorStops"), g = d2("gradientColorStopPositions"), C = d2("inset"), p = d2("margin"), b = d2("opacity"), y = d2("padding"), _ = d2("saturate"), B = d2("scale"), $ = d2("sepia"), Z = d2("skew"), O = d2("space"), k = d2("translate"), E = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", X, e], L = () => [X, e], P = () => ["", K2, t0], H = () => ["auto", I0, X], F = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], w = () => ["solid", "dashed", "dotted", "double", "none"], I = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], N = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", X], r2 = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], l2 = () => [I0, X];
|
|
235
235
|
return {
|
|
236
236
|
cacheSize: 500,
|
|
237
237
|
separator: ":",
|
|
@@ -408,63 +408,63 @@ const d2 = (n) => {
|
|
|
408
408
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
409
409
|
*/
|
|
410
410
|
inset: [{
|
|
411
|
-
inset: [
|
|
411
|
+
inset: [C]
|
|
412
412
|
}],
|
|
413
413
|
/**
|
|
414
414
|
* Right / Left
|
|
415
415
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
416
416
|
*/
|
|
417
417
|
"inset-x": [{
|
|
418
|
-
"inset-x": [
|
|
418
|
+
"inset-x": [C]
|
|
419
419
|
}],
|
|
420
420
|
/**
|
|
421
421
|
* Top / Bottom
|
|
422
422
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
423
423
|
*/
|
|
424
424
|
"inset-y": [{
|
|
425
|
-
"inset-y": [
|
|
425
|
+
"inset-y": [C]
|
|
426
426
|
}],
|
|
427
427
|
/**
|
|
428
428
|
* Start
|
|
429
429
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
430
430
|
*/
|
|
431
431
|
start: [{
|
|
432
|
-
start: [
|
|
432
|
+
start: [C]
|
|
433
433
|
}],
|
|
434
434
|
/**
|
|
435
435
|
* End
|
|
436
436
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
437
437
|
*/
|
|
438
438
|
end: [{
|
|
439
|
-
end: [
|
|
439
|
+
end: [C]
|
|
440
440
|
}],
|
|
441
441
|
/**
|
|
442
442
|
* Top
|
|
443
443
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
444
444
|
*/
|
|
445
445
|
top: [{
|
|
446
|
-
top: [
|
|
446
|
+
top: [C]
|
|
447
447
|
}],
|
|
448
448
|
/**
|
|
449
449
|
* Right
|
|
450
450
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
451
451
|
*/
|
|
452
452
|
right: [{
|
|
453
|
-
right: [
|
|
453
|
+
right: [C]
|
|
454
454
|
}],
|
|
455
455
|
/**
|
|
456
456
|
* Bottom
|
|
457
457
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
458
458
|
*/
|
|
459
459
|
bottom: [{
|
|
460
|
-
bottom: [
|
|
460
|
+
bottom: [C]
|
|
461
461
|
}],
|
|
462
462
|
/**
|
|
463
463
|
* Left
|
|
464
464
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
465
465
|
*/
|
|
466
466
|
left: [{
|
|
467
|
-
left: [
|
|
467
|
+
left: [C]
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Visibility
|
|
@@ -762,63 +762,63 @@ const d2 = (n) => {
|
|
|
762
762
|
* @see https://tailwindcss.com/docs/margin
|
|
763
763
|
*/
|
|
764
764
|
m: [{
|
|
765
|
-
m: [
|
|
765
|
+
m: [p]
|
|
766
766
|
}],
|
|
767
767
|
/**
|
|
768
768
|
* Margin X
|
|
769
769
|
* @see https://tailwindcss.com/docs/margin
|
|
770
770
|
*/
|
|
771
771
|
mx: [{
|
|
772
|
-
mx: [
|
|
772
|
+
mx: [p]
|
|
773
773
|
}],
|
|
774
774
|
/**
|
|
775
775
|
* Margin Y
|
|
776
776
|
* @see https://tailwindcss.com/docs/margin
|
|
777
777
|
*/
|
|
778
778
|
my: [{
|
|
779
|
-
my: [
|
|
779
|
+
my: [p]
|
|
780
780
|
}],
|
|
781
781
|
/**
|
|
782
782
|
* Margin Start
|
|
783
783
|
* @see https://tailwindcss.com/docs/margin
|
|
784
784
|
*/
|
|
785
785
|
ms: [{
|
|
786
|
-
ms: [
|
|
786
|
+
ms: [p]
|
|
787
787
|
}],
|
|
788
788
|
/**
|
|
789
789
|
* Margin End
|
|
790
790
|
* @see https://tailwindcss.com/docs/margin
|
|
791
791
|
*/
|
|
792
792
|
me: [{
|
|
793
|
-
me: [
|
|
793
|
+
me: [p]
|
|
794
794
|
}],
|
|
795
795
|
/**
|
|
796
796
|
* Margin Top
|
|
797
797
|
* @see https://tailwindcss.com/docs/margin
|
|
798
798
|
*/
|
|
799
799
|
mt: [{
|
|
800
|
-
mt: [
|
|
800
|
+
mt: [p]
|
|
801
801
|
}],
|
|
802
802
|
/**
|
|
803
803
|
* Margin Right
|
|
804
804
|
* @see https://tailwindcss.com/docs/margin
|
|
805
805
|
*/
|
|
806
806
|
mr: [{
|
|
807
|
-
mr: [
|
|
807
|
+
mr: [p]
|
|
808
808
|
}],
|
|
809
809
|
/**
|
|
810
810
|
* Margin Bottom
|
|
811
811
|
* @see https://tailwindcss.com/docs/margin
|
|
812
812
|
*/
|
|
813
813
|
mb: [{
|
|
814
|
-
mb: [
|
|
814
|
+
mb: [p]
|
|
815
815
|
}],
|
|
816
816
|
/**
|
|
817
817
|
* Margin Left
|
|
818
818
|
* @see https://tailwindcss.com/docs/margin
|
|
819
819
|
*/
|
|
820
820
|
ml: [{
|
|
821
|
-
ml: [
|
|
821
|
+
ml: [p]
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Space Between X
|
|
@@ -1683,7 +1683,7 @@ const d2 = (n) => {
|
|
|
1683
1683
|
* @see https://tailwindcss.com/docs/saturate
|
|
1684
1684
|
*/
|
|
1685
1685
|
saturate: [{
|
|
1686
|
-
saturate: [
|
|
1686
|
+
saturate: [_]
|
|
1687
1687
|
}],
|
|
1688
1688
|
/**
|
|
1689
1689
|
* Sepia
|
|
@@ -1754,7 +1754,7 @@ const d2 = (n) => {
|
|
|
1754
1754
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1755
1755
|
*/
|
|
1756
1756
|
"backdrop-saturate": [{
|
|
1757
|
-
"backdrop-saturate": [
|
|
1757
|
+
"backdrop-saturate": [_]
|
|
1758
1758
|
}],
|
|
1759
1759
|
/**
|
|
1760
1760
|
* Backdrop Sepia
|
|
@@ -1883,14 +1883,14 @@ const d2 = (n) => {
|
|
|
1883
1883
|
* @see https://tailwindcss.com/docs/translate
|
|
1884
1884
|
*/
|
|
1885
1885
|
"translate-x": [{
|
|
1886
|
-
"translate-x": [
|
|
1886
|
+
"translate-x": [k]
|
|
1887
1887
|
}],
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Translate Y
|
|
1890
1890
|
* @see https://tailwindcss.com/docs/translate
|
|
1891
1891
|
*/
|
|
1892
1892
|
"translate-y": [{
|
|
1893
|
-
"translate-y": [
|
|
1893
|
+
"translate-y": [k]
|
|
1894
1894
|
}],
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Skew X
|
|
@@ -3135,12 +3135,12 @@ var o2 = {
|
|
|
3135
3135
|
if (f === "string" || f === "number")
|
|
3136
3136
|
u.push(h);
|
|
3137
3137
|
else if (f === "object") {
|
|
3138
|
-
var g = Array.isArray(h) ? s(r, h) : Object.entries(h).map(function(
|
|
3139
|
-
var
|
|
3138
|
+
var g = Array.isArray(h) ? s(r, h) : Object.entries(h).map(function(C) {
|
|
3139
|
+
var p = At(C, 2), b = p[0], y = p[1];
|
|
3140
3140
|
return r === "style" && (y || y === 0) ? "".concat(b.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), ":").concat(y) : y ? b : void 0;
|
|
3141
3141
|
});
|
|
3142
|
-
u = g.length ? u.concat(g.filter(function(
|
|
3143
|
-
return !!
|
|
3142
|
+
u = g.length ? u.concat(g.filter(function(C) {
|
|
3143
|
+
return !!C;
|
|
3144
3144
|
})) : u;
|
|
3145
3145
|
}
|
|
3146
3146
|
}
|
|
@@ -3188,8 +3188,8 @@ var o2 = {
|
|
|
3188
3188
|
var o = e.offsetParent ? {
|
|
3189
3189
|
width: e.offsetWidth,
|
|
3190
3190
|
height: e.offsetHeight
|
|
3191
|
-
} : this.getHiddenElementDimensions(e), s = o.height, r = o.width, a = t.offsetHeight, l = t.offsetWidth, c = t.getBoundingClientRect(), d = this.getWindowScrollTop(), u = this.getWindowScrollLeft(), h = this.getViewport(), f, g,
|
|
3192
|
-
c.top + a + s > h.height ? (f = c.top + d - s,
|
|
3191
|
+
} : this.getHiddenElementDimensions(e), s = o.height, r = o.width, a = t.offsetHeight, l = t.offsetWidth, c = t.getBoundingClientRect(), d = this.getWindowScrollTop(), u = this.getWindowScrollLeft(), h = this.getViewport(), f, g, C = "top";
|
|
3192
|
+
c.top + a + s > h.height ? (f = c.top + d - s, C = "bottom", f < 0 && (f = d)) : f = a + c.top + d, c.left + r > h.width ? g = Math.max(0, c.left + u + l - r) : g = c.left + u, e.style.top = f + "px", e.style.left = g + "px", e.style.transformOrigin = C, i && (e.style.marginTop = C === "bottom" ? "calc(var(--p-anchor-gutter) * -1)" : "calc(var(--p-anchor-gutter))");
|
|
3193
3193
|
}
|
|
3194
3194
|
},
|
|
3195
3195
|
relativePosition: function(e, t) {
|
|
@@ -3219,9 +3219,9 @@ var o2 = {
|
|
|
3219
3219
|
getScrollableParents: function(e) {
|
|
3220
3220
|
var t = [];
|
|
3221
3221
|
if (e) {
|
|
3222
|
-
var i = this.getParents(e), o = /(auto|scroll)/, s = function(
|
|
3222
|
+
var i = this.getParents(e), o = /(auto|scroll)/, s = function(p) {
|
|
3223
3223
|
try {
|
|
3224
|
-
var b = window.getComputedStyle(
|
|
3224
|
+
var b = window.getComputedStyle(p, null);
|
|
3225
3225
|
return o.test(b.getPropertyValue("overflow")) || o.test(b.getPropertyValue("overflowX")) || o.test(b.getPropertyValue("overflowY"));
|
|
3226
3226
|
} catch {
|
|
3227
3227
|
return !1;
|
|
@@ -3237,16 +3237,16 @@ var o2 = {
|
|
|
3237
3237
|
var f = h.value, g = this.findSingle(l, f);
|
|
3238
3238
|
g && s(g) && t.push(g);
|
|
3239
3239
|
}
|
|
3240
|
-
} catch (
|
|
3241
|
-
u.e(
|
|
3240
|
+
} catch (C) {
|
|
3241
|
+
u.e(C);
|
|
3242
3242
|
} finally {
|
|
3243
3243
|
u.f();
|
|
3244
3244
|
}
|
|
3245
3245
|
}
|
|
3246
3246
|
l.nodeType !== 9 && s(l) && t.push(l);
|
|
3247
3247
|
}
|
|
3248
|
-
} catch (
|
|
3249
|
-
r.e(
|
|
3248
|
+
} catch (C) {
|
|
3249
|
+
r.e(C);
|
|
3250
3250
|
} finally {
|
|
3251
3251
|
r.f();
|
|
3252
3252
|
}
|
|
@@ -3906,11 +3906,11 @@ function e4(n) {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
var t4 = 0;
|
|
3908
3908
|
function Nn(n) {
|
|
3909
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = J(!1), i = J(n), o = J(null), s = o2.isClient() ? window.document : void 0, r = e.document, a = r === void 0 ? s : r, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, u = d === void 0 ? !1 : d, h = e.name, f = h === void 0 ? "style_".concat(++t4) : h, g = e.id,
|
|
3909
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = J(!1), i = J(n), o = J(null), s = o2.isClient() ? window.document : void 0, r = e.document, a = r === void 0 ? s : r, l = e.immediate, c = l === void 0 ? !0 : l, d = e.manual, u = d === void 0 ? !1 : d, h = e.name, f = h === void 0 ? "style_".concat(++t4) : h, g = e.id, C = g === void 0 ? void 0 : g, p = e.media, b = p === void 0 ? void 0 : p, y = e.nonce, _ = y === void 0 ? void 0 : y, B = e.props, $ = B === void 0 ? {} : B, Z = function() {
|
|
3910
3910
|
}, O = function(R) {
|
|
3911
3911
|
var j = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3912
3912
|
if (a) {
|
|
3913
|
-
var L = R1(R1({}, $), j), P = L.name || f, H = L.id ||
|
|
3913
|
+
var L = R1(R1({}, $), j), P = L.name || f, H = L.id || C, F = L.nonce || _;
|
|
3914
3914
|
o.value = a.querySelector('style[data-primevue-style-id="'.concat(P, '"]')) || a.getElementById(H) || a.createElement("style"), o.value.isConnected || (i.value = R || n, o2.setAttributes(o.value, {
|
|
3915
3915
|
type: "text/css",
|
|
3916
3916
|
id: H,
|
|
@@ -3922,14 +3922,14 @@ function Nn(n) {
|
|
|
3922
3922
|
immediate: !0
|
|
3923
3923
|
}), t.value = !0);
|
|
3924
3924
|
}
|
|
3925
|
-
},
|
|
3925
|
+
}, k = function() {
|
|
3926
3926
|
!a || !t.value || (Z(), o2.isExist(o.value) && a.head.removeChild(o.value), t.value = !1);
|
|
3927
3927
|
};
|
|
3928
3928
|
return c && !u && e4(O), {
|
|
3929
|
-
id:
|
|
3929
|
+
id: C,
|
|
3930
3930
|
name: f,
|
|
3931
3931
|
css: i,
|
|
3932
|
-
unload:
|
|
3932
|
+
unload: k,
|
|
3933
3933
|
load: O,
|
|
3934
3934
|
isLoaded: un(t)
|
|
3935
3935
|
};
|
|
@@ -4305,8 +4305,8 @@ var Ae = {
|
|
|
4305
4305
|
beforeCreate: function() {
|
|
4306
4306
|
var e, t, i, o, s, r, a, l, c, d, u, h = (e = this.pt) === null || e === void 0 ? void 0 : e._usept, f = h ? (t = this.pt) === null || t === void 0 || (t = t.originalValue) === null || t === void 0 ? void 0 : t[this.$.type.name] : void 0, g = h ? (i = this.pt) === null || i === void 0 || (i = i.value) === null || i === void 0 ? void 0 : i[this.$.type.name] : this.pt;
|
|
4307
4307
|
(o = g || f) === null || o === void 0 || (o = o.hooks) === null || o === void 0 || (s = o.onBeforeCreate) === null || s === void 0 || s.call(o);
|
|
4308
|
-
var
|
|
4309
|
-
(d = b ||
|
|
4308
|
+
var C = (r = this.$config) === null || r === void 0 || (r = r.pt) === null || r === void 0 ? void 0 : r._usept, p = C ? (a = this.$primevue) === null || a === void 0 || (a = a.config) === null || a === void 0 || (a = a.pt) === null || a === void 0 ? void 0 : a.originalValue : void 0, b = C ? (l = this.$primevue) === null || l === void 0 || (l = l.config) === null || l === void 0 || (l = l.pt) === null || l === void 0 ? void 0 : l.value : (c = this.$primevue) === null || c === void 0 || (c = c.config) === null || c === void 0 ? void 0 : c.pt;
|
|
4309
|
+
(d = b || p) === null || d === void 0 || (d = d[this.$.type.name]) === null || d === void 0 || (d = d.hooks) === null || d === void 0 || (u = d.onBeforeCreate) === null || u === void 0 || u.call(d);
|
|
4310
4310
|
},
|
|
4311
4311
|
created: function() {
|
|
4312
4312
|
this._hook("onCreated");
|
|
@@ -4401,8 +4401,8 @@ var Ae = {
|
|
|
4401
4401
|
} : s(e, !0);
|
|
4402
4402
|
},
|
|
4403
4403
|
_usePT: function(e, t, i, o) {
|
|
4404
|
-
var s = function(
|
|
4405
|
-
return t(
|
|
4404
|
+
var s = function(C) {
|
|
4405
|
+
return t(C, i, o);
|
|
4406
4406
|
};
|
|
4407
4407
|
if (e != null && e.hasOwnProperty("_usept")) {
|
|
4408
4408
|
var r, a = e._usept || ((r = this.$config) === null || r === void 0 ? void 0 : r.ptOptions) || {}, l = a.mergeSections, c = l === void 0 ? !0 : l, d = a.mergeProps, u = d === void 0 ? !1 : d, h = s(e.originalValue), f = s(e.value);
|
|
@@ -4798,10 +4798,10 @@ var Q = {
|
|
|
4798
4798
|
return q.isString(y) || q.isArray(y) ? {
|
|
4799
4799
|
class: y
|
|
4800
4800
|
} : y;
|
|
4801
|
-
}, c = ((e = i.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((t = i.$config) === null || t === void 0 ? void 0 : t.ptOptions) || {}, d = c.mergeSections, u = d === void 0 ? !0 : d, h = c.mergeProps, f = h === void 0 ? !1 : h, g = a ? Q._useDefaultPT(i, i.defaultPT(), l, s, r) : void 0,
|
|
4801
|
+
}, c = ((e = i.binding) === null || e === void 0 || (e = e.value) === null || e === void 0 ? void 0 : e.ptOptions) || ((t = i.$config) === null || t === void 0 ? void 0 : t.ptOptions) || {}, d = c.mergeSections, u = d === void 0 ? !0 : d, h = c.mergeProps, f = h === void 0 ? !1 : h, g = a ? Q._useDefaultPT(i, i.defaultPT(), l, s, r) : void 0, C = Q._usePT(i, Q._getPT(o, i.$name), l, s, f2(f2({}, r), {}, {
|
|
4802
4802
|
global: g || {}
|
|
4803
|
-
})),
|
|
4804
|
-
return u || !u &&
|
|
4803
|
+
})), p = Q._getPTDatasets(i, s);
|
|
4804
|
+
return u || !u && C ? f ? Q._mergeProps(i, f, g, C, p) : f2(f2(f2({}, g), C), p) : f2(f2({}, C), p);
|
|
4805
4805
|
},
|
|
4806
4806
|
_getPTDatasets: function() {
|
|
4807
4807
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = "data-pc-";
|
|
@@ -4819,8 +4819,8 @@ var Q = {
|
|
|
4819
4819
|
} : o(e);
|
|
4820
4820
|
},
|
|
4821
4821
|
_usePT: function() {
|
|
4822
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, i = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, s = arguments.length > 4 ? arguments[4] : void 0, r = function(
|
|
4823
|
-
return i(
|
|
4822
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, i = arguments.length > 2 ? arguments[2] : void 0, o = arguments.length > 3 ? arguments[3] : void 0, s = arguments.length > 4 ? arguments[4] : void 0, r = function(p) {
|
|
4823
|
+
return i(p, o, s);
|
|
4824
4824
|
};
|
|
4825
4825
|
if (t != null && t.hasOwnProperty("_usept")) {
|
|
4826
4826
|
var a, l = t._usept || ((a = e.$config) === null || a === void 0 ? void 0 : a.ptOptions) || {}, c = l.mergeSections, d = c === void 0 ? !0 : c, u = l.mergeProps, h = u === void 0 ? !1 : u, f = r(t.originalValue), g = r(t.value);
|
|
@@ -4868,31 +4868,31 @@ var Q = {
|
|
|
4868
4868
|
$config: h,
|
|
4869
4869
|
/* computed instance variables */
|
|
4870
4870
|
defaultPT: function() {
|
|
4871
|
-
return Q._getPT(h == null ? void 0 : h.pt, void 0, function(
|
|
4871
|
+
return Q._getPT(h == null ? void 0 : h.pt, void 0, function(p) {
|
|
4872
4872
|
var b;
|
|
4873
|
-
return
|
|
4873
|
+
return p == null || (b = p.directives) === null || b === void 0 ? void 0 : b[e];
|
|
4874
4874
|
});
|
|
4875
4875
|
},
|
|
4876
4876
|
isUnstyled: function() {
|
|
4877
|
-
var
|
|
4878
|
-
return ((
|
|
4877
|
+
var p, b;
|
|
4878
|
+
return ((p = r.$instance) === null || p === void 0 || (p = p.$binding) === null || p === void 0 || (p = p.value) === null || p === void 0 ? void 0 : p.unstyled) !== void 0 ? (b = r.$instance) === null || b === void 0 || (b = b.$binding) === null || b === void 0 || (b = b.value) === null || b === void 0 ? void 0 : b.unstyled : h == null ? void 0 : h.unstyled;
|
|
4879
4879
|
},
|
|
4880
4880
|
/* instance's methods */
|
|
4881
4881
|
ptm: function() {
|
|
4882
|
-
var
|
|
4883
|
-
return Q._getPTValue(r.$instance, (
|
|
4882
|
+
var p, b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4883
|
+
return Q._getPTValue(r.$instance, (p = r.$instance) === null || p === void 0 || (p = p.$binding) === null || p === void 0 || (p = p.value) === null || p === void 0 ? void 0 : p.pt, b, f2({}, y));
|
|
4884
4884
|
},
|
|
4885
4885
|
ptmo: function() {
|
|
4886
|
-
var
|
|
4887
|
-
return Q._getPTValue(r.$instance,
|
|
4886
|
+
var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, b = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", y = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4887
|
+
return Q._getPTValue(r.$instance, p, b, y, !1);
|
|
4888
4888
|
},
|
|
4889
4889
|
cx: function() {
|
|
4890
|
-
var
|
|
4891
|
-
return (
|
|
4890
|
+
var p, b, y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", _ = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4891
|
+
return (p = r.$instance) !== null && p !== void 0 && p.isUnstyled() ? void 0 : Q._getOptionValue((b = r.$instance) === null || b === void 0 || (b = b.$style) === null || b === void 0 ? void 0 : b.classes, y, f2({}, _));
|
|
4892
4892
|
},
|
|
4893
4893
|
sx: function() {
|
|
4894
|
-
var
|
|
4895
|
-
return y ? Q._getOptionValue((
|
|
4894
|
+
var p, b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, _ = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
4895
|
+
return y ? Q._getOptionValue((p = r.$instance) === null || p === void 0 || (p = p.$style) === null || p === void 0 ? void 0 : p.inlineStyles, b, f2({}, _)) : void 0;
|
|
4896
4896
|
}
|
|
4897
4897
|
}, g), r.$instance = r._$instances[e], (d = (u = r.$instance)[s]) === null || d === void 0 || d.call(u, r, a, l, c), r["$".concat(e)] = r.$instance, Q._hook(e, s, r, a, l, c);
|
|
4898
4898
|
};
|
|
@@ -5270,7 +5270,7 @@ const ts = ["innerHTML"], be = /* @__PURE__ */ n2({
|
|
|
5270
5270
|
e.modules.length - 1 <= 4 ? e.modules.length - 1 : 4
|
|
5271
5271
|
), u = () => {
|
|
5272
5272
|
d.value = d.value + 4;
|
|
5273
|
-
}, h = J(null), f = J(0), g = J("0px"),
|
|
5273
|
+
}, h = J(null), f = J(0), g = J("0px"), C = J("100%"), p = async () => {
|
|
5274
5274
|
if (e.type === "Tile") {
|
|
5275
5275
|
if (await l1(), l.value === null || window.innerWidth < 768) {
|
|
5276
5276
|
f.value = 0;
|
|
@@ -5279,36 +5279,36 @@ const ts = ["innerHTML"], be = /* @__PURE__ */ n2({
|
|
|
5279
5279
|
if (h.value) {
|
|
5280
5280
|
const y = h.value.querySelector(
|
|
5281
5281
|
".accordion-item-body.active"
|
|
5282
|
-
),
|
|
5282
|
+
), _ = h.value.querySelector(
|
|
5283
5283
|
".accordion-module-container"
|
|
5284
|
-
), B =
|
|
5284
|
+
), B = _ == null ? void 0 : _.querySelector(
|
|
5285
5285
|
".accordion-item.first"
|
|
5286
|
-
), $ =
|
|
5286
|
+
), $ = _ == null ? void 0 : _.querySelector(
|
|
5287
5287
|
".accordion-item.last"
|
|
5288
5288
|
);
|
|
5289
5289
|
if (y && B && $) {
|
|
5290
5290
|
f.value = y.scrollHeight;
|
|
5291
|
-
const Z =
|
|
5292
|
-
g.value = `${O.left - Z.left}px`,
|
|
5291
|
+
const Z = _.getBoundingClientRect(), O = B.getBoundingClientRect(), k = $.getBoundingClientRect();
|
|
5292
|
+
g.value = `${O.left - Z.left}px`, C.value = `${k.right - O.left}px`;
|
|
5293
5293
|
} else
|
|
5294
5294
|
y ? f.value = y.scrollHeight : f.value = 0;
|
|
5295
5295
|
}
|
|
5296
5296
|
}
|
|
5297
5297
|
};
|
|
5298
5298
|
j2(l, () => {
|
|
5299
|
-
|
|
5299
|
+
p();
|
|
5300
5300
|
});
|
|
5301
5301
|
const b = () => {
|
|
5302
|
-
|
|
5302
|
+
p();
|
|
5303
5303
|
};
|
|
5304
5304
|
return R0(() => {
|
|
5305
|
-
|
|
5306
|
-
|
|
5305
|
+
p(), typeof ResizeObserver < "u" && h.value && (a.value = new ResizeObserver(() => {
|
|
5306
|
+
p();
|
|
5307
5307
|
}), a.value.observe(h.value));
|
|
5308
5308
|
}), fn(() => {
|
|
5309
5309
|
var y;
|
|
5310
5310
|
(y = a.value) == null || y.disconnect(), window.removeEventListener("resize", b);
|
|
5311
|
-
}), (y,
|
|
5311
|
+
}), (y, _) => {
|
|
5312
5312
|
var B;
|
|
5313
5313
|
return m(), z(y2(y.isChild ? "div" : "section"), {
|
|
5314
5314
|
ref_key: "accordionRoot",
|
|
@@ -5329,27 +5329,27 @@ const ts = ["innerHTML"], be = /* @__PURE__ */ n2({
|
|
|
5329
5329
|
y.modules ? (m(), M("div", {
|
|
5330
5330
|
key: 1,
|
|
5331
5331
|
style: M2(
|
|
5332
|
-
y.type === "Tile" ? { "--body-left": g.value, "--body-width":
|
|
5332
|
+
y.type === "Tile" ? { "--body-left": g.value, "--body-width": C.value } : {}
|
|
5333
5333
|
),
|
|
5334
5334
|
class: x(`accordion-module-container flex ${((Z = o.value) == null ? void 0 : Z.container) ?? ""} ${y.type === "Tile" ? "justify-center" : ""} ${e.isSubAccordion ? "[&>:last-child]:border-b-0" : ""}`)
|
|
5335
5335
|
}, [
|
|
5336
|
-
(m(!0), M(G, null, t2(y.modules, (O,
|
|
5337
|
-
key: `${O.headline}-${
|
|
5336
|
+
(m(!0), M(G, null, t2(y.modules, (O, k) => (m(), M(G, {
|
|
5337
|
+
key: `${O.headline}-${k}`
|
|
5338
5338
|
}, [
|
|
5339
|
-
y.type === "Tile" ||
|
|
5339
|
+
y.type === "Tile" || k <= d.value ? (m(), z(y2(`Accordion${y.type}Item`), D({
|
|
5340
5340
|
key: 0,
|
|
5341
5341
|
ref_for: !0
|
|
5342
5342
|
}, O, {
|
|
5343
|
-
"item-number":
|
|
5344
|
-
"is-first":
|
|
5345
|
-
"is-last": y.type === "Tile" ?
|
|
5343
|
+
"item-number": k,
|
|
5344
|
+
"is-first": k === 0,
|
|
5345
|
+
"is-last": y.type === "Tile" ? k === y.modules.length - 1 : k === d.value,
|
|
5346
5346
|
"is-child": y.isChild,
|
|
5347
5347
|
"icon-default": t.value,
|
|
5348
5348
|
"icon-active": i.value,
|
|
5349
5349
|
"total-items": y.modules.length,
|
|
5350
5350
|
"open-accordion-index": l.value,
|
|
5351
5351
|
"background-color": v(s),
|
|
5352
|
-
onToggleAccordion: (E) => c(
|
|
5352
|
+
onToggleAccordion: (E) => c(k)
|
|
5353
5353
|
}), null, 16, ["item-number", "is-first", "is-last", "is-child", "icon-default", "icon-active", "total-items", "open-accordion-index", "background-color", "onToggleAccordion"])) : S("", !0)
|
|
5354
5354
|
], 64))), 128)),
|
|
5355
5355
|
d.value < y.modules.length - 1 ? (m(), z(v(pt), {
|
|
@@ -5409,7 +5409,7 @@ const ts = ["innerHTML"], be = /* @__PURE__ */ n2({
|
|
|
5409
5409
|
a("toggleAccordion", c);
|
|
5410
5410
|
};
|
|
5411
5411
|
return (c, d) => {
|
|
5412
|
-
var u, h, f, g,
|
|
5412
|
+
var u, h, f, g, C, p, b, y;
|
|
5413
5413
|
return c.isListType ? (m(), M("div", {
|
|
5414
5414
|
key: 0,
|
|
5415
5415
|
class: x({
|
|
@@ -5432,7 +5432,7 @@ const ts = ["innerHTML"], be = /* @__PURE__ */ n2({
|
|
|
5432
5432
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5433
5433
|
"aria-expanded": !0,
|
|
5434
5434
|
"aria-controls": `accordion-collapse-body-${c.itemNumber}`,
|
|
5435
|
-
onClick: d[0] || (d[0] = ce((
|
|
5435
|
+
onClick: d[0] || (d[0] = ce((_) => o.value = !o.value, ["prevent"]))
|
|
5436
5436
|
}, [
|
|
5437
5437
|
T("span", null, K(c.headline), 1),
|
|
5438
5438
|
T("div", {
|
|
@@ -5472,15 +5472,15 @@ const ts = ["innerHTML"], be = /* @__PURE__ */ n2({
|
|
|
5472
5472
|
}, [
|
|
5473
5473
|
T("h3", {
|
|
5474
5474
|
id: `accordion-collapse-headline-${c.itemNumber}`,
|
|
5475
|
-
class: x(`flex accordion-item-headline ${((
|
|
5475
|
+
class: x(`flex accordion-item-headline ${((C = i.value) == null ? void 0 : C.headline) ?? ""}`)
|
|
5476
5476
|
}, [
|
|
5477
5477
|
T("button", {
|
|
5478
5478
|
type: "button",
|
|
5479
|
-
class: x(`flex items-center w-full ${((
|
|
5479
|
+
class: x(`flex items-center w-full ${((p = i.value) == null ? void 0 : p.button) ?? ""} ${t.isListType ? "justify-between" : "justify-center"}`),
|
|
5480
5480
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5481
5481
|
"aria-expanded": c.openAccordionIndex === c.itemNumber,
|
|
5482
5482
|
"aria-controls": `accordion-collapse-body-${c.itemNumber}`,
|
|
5483
|
-
onClick: d[1] || (d[1] = ce((
|
|
5483
|
+
onClick: d[1] || (d[1] = ce((_) => l(c.itemNumber), ["prevent"]))
|
|
5484
5484
|
}, [
|
|
5485
5485
|
T("span", null, K(c.headline), 1),
|
|
5486
5486
|
T("div", {
|
|
@@ -5566,19 +5566,19 @@ function gs(n, e, t = {}) {
|
|
|
5566
5566
|
let d = h0;
|
|
5567
5567
|
const u = J(a), h = l.value ? j2(
|
|
5568
5568
|
() => [c.value, Tt(i), u.value],
|
|
5569
|
-
([g,
|
|
5569
|
+
([g, C]) => {
|
|
5570
5570
|
if (d(), !u.value || !g.length)
|
|
5571
5571
|
return;
|
|
5572
|
-
const
|
|
5572
|
+
const p = new IntersectionObserver(
|
|
5573
5573
|
e,
|
|
5574
5574
|
{
|
|
5575
|
-
root: Tt(
|
|
5575
|
+
root: Tt(C),
|
|
5576
5576
|
rootMargin: o,
|
|
5577
5577
|
threshold: s
|
|
5578
5578
|
}
|
|
5579
5579
|
);
|
|
5580
|
-
g.forEach((b) => b &&
|
|
5581
|
-
|
|
5580
|
+
g.forEach((b) => b && p.observe(b)), d = () => {
|
|
5581
|
+
p.disconnect(), d = h0;
|
|
5582
5582
|
};
|
|
5583
5583
|
},
|
|
5584
5584
|
{ immediate: a, flush: "post" }
|
|
@@ -5800,7 +5800,7 @@ const ms = /* @__PURE__ */ n2({
|
|
|
5800
5800
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5801
5801
|
"aria-expanded": "true",
|
|
5802
5802
|
"aria-controls": `accordion-collapse-body-${a.itemNumber}`,
|
|
5803
|
-
onClick: l[0] || (l[0] = ce((
|
|
5803
|
+
onClick: l[0] || (l[0] = ce((C) => o.value = !o.value, ["prevent"]))
|
|
5804
5804
|
}, [
|
|
5805
5805
|
T("span", null, K(a.headline), 1),
|
|
5806
5806
|
T("div", {
|
|
@@ -5882,7 +5882,7 @@ const ms = /* @__PURE__ */ n2({
|
|
|
5882
5882
|
l("toggleAccordion", d);
|
|
5883
5883
|
};
|
|
5884
5884
|
return (d, u) => {
|
|
5885
|
-
var h, f, g,
|
|
5885
|
+
var h, f, g, C, p, b, y, _, B, $;
|
|
5886
5886
|
return m(), M("div", {
|
|
5887
5887
|
class: x([
|
|
5888
5888
|
`accordion-item-${d.itemNumber}`,
|
|
@@ -5897,11 +5897,11 @@ const ms = /* @__PURE__ */ n2({
|
|
|
5897
5897
|
class: x(`flex accordion-item-headline text-2xl p-8 !mb-0 md:p-16 ${((f = i.value) == null ? void 0 : f.headline) ?? ""} bg-${(g = v(o).interactive) == null ? void 0 : g.bg}`)
|
|
5898
5898
|
}, [
|
|
5899
5899
|
d.image ? (m(), z(A2, D({ key: 0 }, d.image, {
|
|
5900
|
-
class: `${((
|
|
5900
|
+
class: `${((C = i.value) == null ? void 0 : C.image) ?? ""}`
|
|
5901
5901
|
}), null, 16, ["class"])) : S("", !0),
|
|
5902
5902
|
T("button", {
|
|
5903
5903
|
type: "button",
|
|
5904
|
-
class: x(`flex items-center w-full ${((
|
|
5904
|
+
class: x(`flex items-center w-full ${((p = i.value) == null ? void 0 : p.button) ?? ""} text-${(b = v(o).interactive) == null ? void 0 : b.copy}`),
|
|
5905
5905
|
"data-accordion-target": "#accordion-collapse-body-1",
|
|
5906
5906
|
"aria-expanded": "true",
|
|
5907
5907
|
"aria-controls": `accordion-collapse-body-${d.itemNumber}`,
|
|
@@ -5922,7 +5922,7 @@ const ms = /* @__PURE__ */ n2({
|
|
|
5922
5922
|
], 10, As),
|
|
5923
5923
|
T("div", {
|
|
5924
5924
|
id: `accordion-collapse-body-${d.itemNumber}`,
|
|
5925
|
-
class: x(`accordion-item-body ${s.value ? "active" : "hidden"} z-30 ${((
|
|
5925
|
+
class: x(`accordion-item-body ${s.value ? "active" : "hidden"} z-30 ${((_ = i.value) == null ? void 0 : _.bodyCopy) ?? ""} bg-${(B = v(o).interactive) == null ? void 0 : B.bg} text-${($ = v(o).interactive) == null ? void 0 : $.copy}`),
|
|
5926
5926
|
"aria-labelledby": `accordion-collapse-heading-${d.itemNumber}`
|
|
5927
5927
|
}, [
|
|
5928
5928
|
a.value ? (m(), z(be, x0(D({ key: 0 }, a.value)), null, 16)) : (m(), M("div", {
|
|
@@ -6658,14 +6658,14 @@ const cr = ["innerHTML"], dr = ["onClick"], ur = ["onClick"], hr = { class: "lg:
|
|
|
6658
6658
|
},
|
|
6659
6659
|
setup(n) {
|
|
6660
6660
|
const e = n, t = A(() => U(kn, e.pt ?? {})), i = J(0), o = A(() => i.value > 0), s = A(() => i.value < e.carouselItems.length - 1), { backgroundColor: r, palette: a } = C2(e), l = A(() => {
|
|
6661
|
-
var
|
|
6661
|
+
var p, b, y, _;
|
|
6662
6662
|
if (!e.backgroundImage)
|
|
6663
6663
|
return null;
|
|
6664
|
-
const
|
|
6665
|
-
return (
|
|
6664
|
+
const C = JSON.parse(JSON.stringify(e.backgroundImage));
|
|
6665
|
+
return (p = C == null ? void 0 : C.media) != null && p.width && (C.media.width = void 0), (b = C == null ? void 0 : C.media) != null && b.height && (C.media.height = void 0), (y = C == null ? void 0 : C.mobileMedia) != null && y.width && (C.mobileMedia.width = void 0), (_ = C == null ? void 0 : C.mobileMedia) != null && _.height && (C.mobileMedia.height = void 0), C;
|
|
6666
6666
|
}), c = A(() => {
|
|
6667
|
-
var
|
|
6668
|
-
return l.value ? ((
|
|
6667
|
+
var C, p;
|
|
6668
|
+
return l.value ? ((C = l.value.mobileMedia) == null ? void 0 : C.url) ?? ((p = l.value.media) == null ? void 0 : p.url) ?? "" : "";
|
|
6669
6669
|
}), d = A(() => c.value ? {
|
|
6670
6670
|
backgroundImage: `linear-gradient(180deg, transparent 0%, var(--${r}) 70%), url(${c.value})`,
|
|
6671
6671
|
backgroundPosition: "center top",
|
|
@@ -6679,48 +6679,48 @@ const cr = ["innerHTML"], dr = ["onClick"], ur = ["onClick"], hr = { class: "lg:
|
|
|
6679
6679
|
)} ${e.variant.toLowerCase()} carousel relative overflow-hidden`
|
|
6680
6680
|
), h = A(
|
|
6681
6681
|
() => {
|
|
6682
|
-
var
|
|
6682
|
+
var C;
|
|
6683
6683
|
return W(
|
|
6684
|
-
`carousel-headline ${((
|
|
6684
|
+
`carousel-headline ${((C = t.value) == null ? void 0 : C.headline) ?? ""} text-${a.headline}`,
|
|
6685
6685
|
e.backgroundImage ? "text-[7vmin] lg:text-5xl px-4 lg:px-0" : ""
|
|
6686
6686
|
);
|
|
6687
6687
|
}
|
|
6688
|
-
), f = (
|
|
6689
|
-
return (
|
|
6688
|
+
), f = (C) => C.__typename === "TileContent" ? "TileContentTextTile" : C.__typename ?? "div", g = (C) => C.__typename === "TileContent";
|
|
6689
|
+
return (C, p) => {
|
|
6690
6690
|
var b;
|
|
6691
6691
|
return m(), M("div", {
|
|
6692
6692
|
class: x(u.value),
|
|
6693
|
-
style: M2(
|
|
6693
|
+
style: M2(C.backgroundImage ? d.value : {})
|
|
6694
6694
|
}, [
|
|
6695
|
-
|
|
6695
|
+
C.backgroundImage && l.value ? (m(), z(A2, {
|
|
6696
6696
|
key: 0,
|
|
6697
6697
|
media: l.value.media,
|
|
6698
6698
|
class: x(br),
|
|
6699
6699
|
"mobile-breakpoint": "lg"
|
|
6700
6700
|
}, null, 8, ["media"])) : S("", !0),
|
|
6701
6701
|
F2(v(ii), {
|
|
6702
|
-
value:
|
|
6702
|
+
value: C.carouselItems,
|
|
6703
6703
|
"num-visible": 1,
|
|
6704
6704
|
"num-scroll": 1,
|
|
6705
6705
|
circular: !1,
|
|
6706
|
-
class: x(`relative z-10 w-full ${
|
|
6706
|
+
class: x(`relative z-10 w-full ${C.backgroundImage ? "lg:my-auto lg:max-w-[55%] lg:mx-auto" : ""}`),
|
|
6707
6707
|
pt: t.value,
|
|
6708
6708
|
"show-navigators": !1,
|
|
6709
6709
|
"show-indicators": !1,
|
|
6710
6710
|
page: i.value,
|
|
6711
6711
|
"pt:item:class": `carousel-item w-full ${((b = t.value) == null ? void 0 : b.item) ?? ""}`,
|
|
6712
|
-
"onUpdate:page":
|
|
6712
|
+
"onUpdate:page": p[0] || (p[0] = (y) => i.value = y)
|
|
6713
6713
|
}, {
|
|
6714
6714
|
header: p2(() => [
|
|
6715
|
-
|
|
6715
|
+
C.headline ? (m(), M("h2", {
|
|
6716
6716
|
key: 0,
|
|
6717
6717
|
class: x(h.value),
|
|
6718
|
-
innerHTML:
|
|
6718
|
+
innerHTML: C.headline
|
|
6719
6719
|
}, null, 10, cr)) : S("", !0)
|
|
6720
6720
|
]),
|
|
6721
6721
|
item: p2((y) => [
|
|
6722
6722
|
T("div", {
|
|
6723
|
-
class: x(`flex w-full justify-center ${
|
|
6723
|
+
class: x(`flex w-full justify-center ${C.backgroundImage ? "px-4 lg:px-0" : ""}`)
|
|
6724
6724
|
}, [
|
|
6725
6725
|
(m(), z(y2(f(y.data)), D(y.data, {
|
|
6726
6726
|
key: `${f(y.data)}-${y.index}`,
|
|
@@ -6733,11 +6733,11 @@ const cr = ["innerHTML"], dr = ["onClick"], ur = ["onClick"], hr = { class: "lg:
|
|
|
6733
6733
|
]),
|
|
6734
6734
|
_: 1
|
|
6735
6735
|
}, 8, ["value", "class", "pt", "page", "pt:item:class"]),
|
|
6736
|
-
|
|
6736
|
+
C.backgroundImage ? (m(), M(G, { key: 1 }, [
|
|
6737
6737
|
T("button", {
|
|
6738
6738
|
class: "lg:hidden absolute z-50 top-[70%] left-[5%] scale-[0.8]",
|
|
6739
|
-
onClick: () => o.value ? i.value-- : i.value =
|
|
6740
|
-
},
|
|
6739
|
+
onClick: () => o.value ? i.value-- : i.value = C.carouselItems.length - 1
|
|
6740
|
+
}, p[1] || (p[1] = [
|
|
6741
6741
|
T("img", {
|
|
6742
6742
|
class: "w-[11px]",
|
|
6743
6743
|
src: "https://images.ctfassets.net/qqblaiss500w/5Nhdf7R1DeedcyBCxbqEGZ/789698047434d57ca6337e3f210ee1f9/icon-left-arrow.svg?fm=webp"
|
|
@@ -6746,41 +6746,41 @@ const cr = ["innerHTML"], dr = ["onClick"], ur = ["onClick"], hr = { class: "lg:
|
|
|
6746
6746
|
T("button", {
|
|
6747
6747
|
class: "lg:hidden absolute z-50 top-[70%] right-[5%] scale-[0.8]",
|
|
6748
6748
|
onClick: () => s.value ? i.value++ : i.value = 0
|
|
6749
|
-
},
|
|
6749
|
+
}, p[2] || (p[2] = [
|
|
6750
6750
|
T("img", {
|
|
6751
6751
|
class: "w-[11px]",
|
|
6752
6752
|
src: "https://images.ctfassets.net/qqblaiss500w/52baRb2rAQgjt4FV4eCjog/91068343d7082e65d18f4eb4030656d9/icon-right-arrow.svg?fm=webp"
|
|
6753
6753
|
}, null, -1)
|
|
6754
6754
|
]), 8, ur),
|
|
6755
6755
|
T("div", hr, [
|
|
6756
|
-
(m(!0), M(G, null, t2(
|
|
6757
|
-
key:
|
|
6758
|
-
onClick: () => i.value =
|
|
6759
|
-
class: x(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value ===
|
|
6756
|
+
(m(!0), M(G, null, t2(C.carouselItems, (y, _) => (m(), M("button", {
|
|
6757
|
+
key: _,
|
|
6758
|
+
onClick: () => i.value = _,
|
|
6759
|
+
class: x(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value === _ ? "bg-secondary border-none" : "border-gray-400"}`)
|
|
6760
6760
|
}, null, 10, fr))), 128))
|
|
6761
6761
|
])
|
|
6762
6762
|
], 64)) : S("", !0),
|
|
6763
6763
|
T("div", {
|
|
6764
|
-
class: x(`absolute z-50 bottom-8 left-1/2 -translate-x-1/2 flex justify-center items-center gap-6 ${
|
|
6764
|
+
class: x(`absolute z-50 bottom-8 left-1/2 -translate-x-1/2 flex justify-center items-center gap-6 ${C.backgroundImage ? "hidden lg:flex" : ""}`)
|
|
6765
6765
|
}, [
|
|
6766
6766
|
T("button", {
|
|
6767
|
-
onClick: () => o.value ? i.value-- : i.value =
|
|
6768
|
-
},
|
|
6767
|
+
onClick: () => o.value ? i.value-- : i.value = C.carouselItems.length - 1
|
|
6768
|
+
}, p[3] || (p[3] = [
|
|
6769
6769
|
T("img", {
|
|
6770
6770
|
class: "w-[11px]",
|
|
6771
6771
|
src: "https://images.ctfassets.net/qqblaiss500w/5Nhdf7R1DeedcyBCxbqEGZ/789698047434d57ca6337e3f210ee1f9/icon-left-arrow.svg?fm=webp"
|
|
6772
6772
|
}, null, -1)
|
|
6773
6773
|
]), 8, pr),
|
|
6774
6774
|
T("div", Cr, [
|
|
6775
|
-
(m(!0), M(G, null, t2(
|
|
6776
|
-
key:
|
|
6777
|
-
onClick: () => i.value =
|
|
6778
|
-
class: x(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value ===
|
|
6775
|
+
(m(!0), M(G, null, t2(C.carouselItems, (y, _) => (m(), M("button", {
|
|
6776
|
+
key: _,
|
|
6777
|
+
onClick: () => i.value = _,
|
|
6778
|
+
class: x(`w-[11px] h-[11px] rounded-full transition duration-200 focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-primary-500 dark:focus:ring-primary-400 border dark:bg-surface-700 dark:hover:bg-surface-600 ${i.value === _ ? "bg-secondary border-none" : "border-gray-400"}`)
|
|
6779
6779
|
}, null, 10, gr))), 128))
|
|
6780
6780
|
]),
|
|
6781
6781
|
T("button", {
|
|
6782
6782
|
onClick: () => s.value ? i.value++ : i.value = 0
|
|
6783
|
-
},
|
|
6783
|
+
}, p[4] || (p[4] = [
|
|
6784
6784
|
T("img", {
|
|
6785
6785
|
class: "w-[11px]",
|
|
6786
6786
|
src: "https://images.ctfassets.net/qqblaiss500w/52baRb2rAQgjt4FV4eCjog/91068343d7082e65d18f4eb4030656d9/icon-right-arrow.svg?fm=webp"
|
|
@@ -6906,38 +6906,38 @@ const xr = ["innerHTML"], wr = {
|
|
|
6906
6906
|
if (!l.value)
|
|
6907
6907
|
return "";
|
|
6908
6908
|
const w = [];
|
|
6909
|
-
return y === "ContentModule" &&
|
|
6910
|
-
}), f = A(() => l.value &&
|
|
6909
|
+
return y === "ContentModule" && _ === "Image" && w.push("lg:flex lg:items-center lg:z-10"), y !== "Image" && (w.push("py-16 px-16 lg:py-0 lg:px-16"), t.testimonialTile && w.push("pt-8 pb-0 lg:pt-0 lg:pb-0")), t.mobileImagePosition === "Bottom" && w.push("pt-16 pb-0 lg:py-0"), W(...w);
|
|
6910
|
+
}), f = A(() => l.value && _ !== "Image" ? "py-16 lg:pr-16 lg:pl-0 px-12" : l.value && _ === "Image" ? t.testimonialTile ? "hidden lg:block lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero" : "max-h-[500px] lg:max-h-none overflow-hidden lg:overflow-visible lg:absolute lg:h-[100%] lg:-right-[100px] lg:z-0 clip-hero" : d.value && _ === "Image" ? "md:absolute md:right-0 md:top-0 md:h-full md:w-1/2" : ""), g = A(() => {
|
|
6911
6911
|
var w, I, N, V;
|
|
6912
6912
|
return W(
|
|
6913
6913
|
`container-module ${t.testimonialTile ? "lg:flex" : "md:flex"} ${t.backgroundImage ? "" : `bg-${o}`} relative ${l.value ? "overflow-hidden" : ""} ${(w = a.value) == null ? void 0 : w.root} ${l.value ? t.backgroundImage ? `lg:h-[60vw] lg:max-h-[33.75rem] ${(I = a.value) == null ? void 0 : I.container}` : `${(N = a.value) == null ? void 0 : N.container}` : ""} `,
|
|
6914
6914
|
d.value ? `${(V = a.value) == null ? void 0 : V.container}` : "",
|
|
6915
|
-
l.value && y === "ContentModule" &&
|
|
6915
|
+
l.value && y === "ContentModule" && _ === "Image" ? "lg:h-[33.75rem] " : "",
|
|
6916
6916
|
t.class ?? "",
|
|
6917
6917
|
t.mobileImagePosition === "Top" && l.value && !t.testimonialTile ? "clip-mobile-hero lg:no-clip" : ""
|
|
6918
6918
|
);
|
|
6919
|
-
}),
|
|
6919
|
+
}), C = A(() => W(
|
|
6920
6920
|
`md:absolute md:top-0 md:right-0 object-cover w-full h-full z-0', ${l.value ? "object-bottom" : ""}`,
|
|
6921
6921
|
t.backgroundImageClass ?? ""
|
|
6922
|
-
)),
|
|
6922
|
+
)), p = A(() => {
|
|
6923
6923
|
var I, N;
|
|
6924
6924
|
let w = JSON.parse(JSON.stringify(t.backgroundImage));
|
|
6925
6925
|
return w != null && w.media.width && (w.media.width = void 0), w != null && w.media.height && (w.media.height = void 0), (I = w == null ? void 0 : w.mobileMedia) != null && I.width && (w.mobileMedia.width = void 0), (N = w == null ? void 0 : w.mobileMedia) != null && N.height && (w.mobileMedia.height = void 0), w;
|
|
6926
|
-
}), b = ((R = t.fullWidthContent) == null ? void 0 : R.__typename) === "TileContent" ? "TileContentTextTile" : (j = t.fullWidthContent) == null ? void 0 : j.__typename, y = ((L = t.start) == null ? void 0 : L.__typename) === "TileContent" ? "TileContentTextTile" : (P = t.start) == null ? void 0 : P.__typename,
|
|
6926
|
+
}), b = ((R = t.fullWidthContent) == null ? void 0 : R.__typename) === "TileContent" ? "TileContentTextTile" : (j = t.fullWidthContent) == null ? void 0 : j.__typename, y = ((L = t.start) == null ? void 0 : L.__typename) === "TileContent" ? "TileContentTextTile" : (P = t.start) == null ? void 0 : P.__typename, _ = ((H = t.end) == null ? void 0 : H.__typename) === "TileContent" ? "TileContentTextTile" : (F = t.end) == null ? void 0 : F.__typename, B = (w) => {
|
|
6927
6927
|
const I = w;
|
|
6928
6928
|
return I == null ? void 0 : I.backgroundColor;
|
|
6929
|
-
}, $ = b === "TileCollectionModule" || y === "TileCollectionModule" ||
|
|
6929
|
+
}, $ = b === "TileCollectionModule" || y === "TileCollectionModule" || _ === "TileCollectionModule", Z = A(() => {
|
|
6930
6930
|
var w, I;
|
|
6931
6931
|
return ((w = t.end) == null ? void 0 : w.__typename) === "Image" || ((I = t.end) == null ? void 0 : I.__typename) === "Video";
|
|
6932
6932
|
}), O = A(() => {
|
|
6933
6933
|
var r2, l2, Z2, $2;
|
|
6934
6934
|
const w = ((r2 = t.start) == null ? void 0 : r2.__typename) === "Accordion", I = ((l2 = t.end) == null ? void 0 : l2.__typename) === "Accordion", N = ((Z2 = t.start) == null ? void 0 : Z2.__typename) === "TileCollectionModule", V = (($2 = t.end) == null ? void 0 : $2.__typename) === "TileCollectionModule";
|
|
6935
6935
|
return w && I ? "basis-2/3 md:pr-8" : w ? "basis-2/3 md:pr-16" : I ? "basis-1/3" : V ? "lg:basis-2/5" : N ? "lg:basis-3/5" : "basis-1/2";
|
|
6936
|
-
}),
|
|
6936
|
+
}), k = A(() => {
|
|
6937
6937
|
var r2, l2, Z2, $2;
|
|
6938
6938
|
const w = ((r2 = t.start) == null ? void 0 : r2.__typename) === "Accordion", I = ((l2 = t.end) == null ? void 0 : l2.__typename) === "Accordion", N = ((Z2 = t.start) == null ? void 0 : Z2.__typename) === "TileCollectionModule", V = (($2 = t.end) == null ? void 0 : $2.__typename) === "TileCollectionModule";
|
|
6939
6939
|
return w && I ? "basis-2/3 md:pl-8" : I ? "basis-2/3 md:pl-16" : w ? "basis-1/3" : N ? "lg:basis-2/5" : V ? "lg:basis-3/5" : "basis-1/2";
|
|
6940
|
-
}), E = A(() => d.value &&
|
|
6940
|
+
}), E = A(() => d.value && _ === "Image" ? "h-full w-full object-cover object-right" : l.value && _ === "Image" ? "max-h-[500px] lg:max-h-none lg:h-full w-full object-cover" : "");
|
|
6941
6941
|
return (w, I) => {
|
|
6942
6942
|
const N = A2;
|
|
6943
6943
|
return m(), z(y2(w.isChild ? "div" : "section"), {
|
|
@@ -6946,11 +6946,11 @@ const xr = ["innerHTML"], wr = {
|
|
|
6946
6946
|
default: p2(() => {
|
|
6947
6947
|
var V, r2, l2, Z2, $2, z2, e0, N2, B1, P1;
|
|
6948
6948
|
return [
|
|
6949
|
-
w.backgroundImage &&
|
|
6949
|
+
w.backgroundImage && p.value ? (m(), z(N, {
|
|
6950
6950
|
key: 0,
|
|
6951
|
-
media:
|
|
6952
|
-
"mobile-media":
|
|
6953
|
-
class: x(
|
|
6951
|
+
media: p.value.media,
|
|
6952
|
+
"mobile-media": p.value.mobileMedia,
|
|
6953
|
+
class: x(C.value)
|
|
6954
6954
|
}, null, 8, ["media", "mobile-media", "class"])) : S("", !0),
|
|
6955
6955
|
T("div", {
|
|
6956
6956
|
class: x(`container-module-inner relative z-10 ${d.value ? "" : l.value ? ((V = w.start) == null ? void 0 : V.__typename) === "Image" ? "container-hero-right" : "container-hero" : "container"} ${w.isChild || l.value || d.value ? "" : "py-[2rem] px-8 md:py-16 md:px-4"} ${u.value}`)
|
|
@@ -7004,18 +7004,18 @@ const xr = ["innerHTML"], wr = {
|
|
|
7004
7004
|
}), null, 16, ["use-child-headline", "is-hero", "is-feature", "background-color", "parent-background-color", "parent-has-background-image", "class"])) : S("", !0)
|
|
7005
7005
|
], 2)) : S("", !0),
|
|
7006
7006
|
T("div", {
|
|
7007
|
-
class: x(`container-module-end ${d.value ? "md:basis-1/2" :
|
|
7007
|
+
class: x(`container-module-end ${d.value ? "md:basis-1/2" : k.value} ${((e0 = a.value) == null ? void 0 : e0.end) ?? ""} ${f.value} ${d.value && v(_) === "Image" ? "" : d.value ? "p-8 md:p-12 lg:p-16 flex items-center" : ""}`)
|
|
7008
7008
|
}, [
|
|
7009
|
-
v(
|
|
7009
|
+
v(_) ? (m(), z(y2(v(_)), D({ key: 0 }, w.end, {
|
|
7010
7010
|
"is-child": !0,
|
|
7011
7011
|
"use-child-headline": !!w.headline,
|
|
7012
|
-
"is-hero": !!(v(
|
|
7013
|
-
"is-feature": !!(v(
|
|
7012
|
+
"is-hero": !!(v(_) === "ContentModule" && l.value && !d.value),
|
|
7013
|
+
"is-feature": !!(v(_) === "ContentModule" && d.value),
|
|
7014
7014
|
"background-color": B(w.end),
|
|
7015
7015
|
"parent-background-color": v(o),
|
|
7016
7016
|
"parent-has-background-image": !!w.backgroundImage,
|
|
7017
7017
|
class: E.value,
|
|
7018
|
-
"mobile-breakpoint": l.value && v(
|
|
7018
|
+
"mobile-breakpoint": l.value && v(_) === "Image" ? "lg" : "md",
|
|
7019
7019
|
onTrigger: I[2] || (I[2] = (N0) => i("trigger", N0))
|
|
7020
7020
|
}), null, 16, ["use-child-headline", "is-hero", "is-feature", "background-color", "parent-background-color", "parent-has-background-image", "class", "mobile-breakpoint"])) : S("", !0)
|
|
7021
7021
|
], 2)
|
|
@@ -7090,10 +7090,10 @@ const p1 = (n, e) => {
|
|
|
7090
7090
|
bg: "lily"
|
|
7091
7091
|
};
|
|
7092
7092
|
}), l = A(() => {
|
|
7093
|
-
var
|
|
7093
|
+
var b;
|
|
7094
7094
|
const p = [
|
|
7095
7095
|
"cta whitespace-nowrap",
|
|
7096
|
-
W(((
|
|
7096
|
+
W(((b = o.value) == null ? void 0 : b.root) ?? "", t.class ?? "", "flex items-center gap-2")
|
|
7097
7097
|
];
|
|
7098
7098
|
if ((t.buttonType === "link" || t.buttonType === "logo") && p.push("hover:underline"), p.push(`text-${t.textColor ?? a.value.copy}`), t.size)
|
|
7099
7099
|
switch (t.size) {
|
|
@@ -7112,8 +7112,8 @@ const p1 = (n, e) => {
|
|
|
7112
7112
|
}
|
|
7113
7113
|
return t.buttonType === "fill" && (p.push("rounded-[2rem]"), (t.color || a.value.bg) && p.push(`bg-${t.color || a.value.bg}`), t.size || p.push("py-1 px-4")), t.buttonType !== "outline" && a.value.border && p.push(`border-${t.color ?? a.value.border}`), p.join(" ");
|
|
7114
7114
|
}), c = A(() => {
|
|
7115
|
-
var p,
|
|
7116
|
-
return (
|
|
7115
|
+
var p, b, y, _, B, $;
|
|
7116
|
+
return (b = (p = t.link) == null ? void 0 : p.page) != null && b.slug ? `${(_ = (y = t.link) == null ? void 0 : y.page) == null ? void 0 : _.slug}` : (B = t.link) != null && B.externalUrl ? ($ = t.link) == null ? void 0 : $.externalUrl : "";
|
|
7117
7117
|
}), d = A(() => {
|
|
7118
7118
|
var p;
|
|
7119
7119
|
return !!((p = t.link) != null && p.externalUrl);
|
|
@@ -7121,32 +7121,36 @@ const p1 = (n, e) => {
|
|
|
7121
7121
|
var p;
|
|
7122
7122
|
return t.ariaLabel ?? ((p = t.link) == null ? void 0 : p.ariaLabel) ?? t.title;
|
|
7123
7123
|
}), h = A(() => {
|
|
7124
|
-
var p
|
|
7125
|
-
return (p = t.ctaAction)
|
|
7124
|
+
var p;
|
|
7125
|
+
return (p = t.ctaAction) == null ? void 0 : p.triggerMappingValue;
|
|
7126
7126
|
}), f = A(() => {
|
|
7127
|
+
var p, b;
|
|
7128
|
+
return (p = t.ctaAction) != null && p.ariaDescription ? t.ctaAction.ariaDescription : t.ariaDescription ?? ((b = t.link) == null ? void 0 : b.ariaDescription) ?? "";
|
|
7129
|
+
}), g = A(() => {
|
|
7127
7130
|
var p;
|
|
7128
7131
|
return d.value ? (p = t.link) == null ? void 0 : p.thirdPartyId : void 0;
|
|
7129
|
-
}),
|
|
7130
|
-
var
|
|
7132
|
+
}), C = (p) => {
|
|
7133
|
+
var _;
|
|
7131
7134
|
if (t.disabled) {
|
|
7132
7135
|
p.preventDefault();
|
|
7133
7136
|
return;
|
|
7134
7137
|
}
|
|
7135
|
-
const
|
|
7136
|
-
(t.ctaAction || !
|
|
7138
|
+
const b = (_ = t.ctaAction) == null ? void 0 : _.triggerMappingValue, y = c.value;
|
|
7139
|
+
(t.ctaAction || !y || y === "#") && p.preventDefault(), b && i("trigger", b), t.onClick && t.onClick();
|
|
7137
7140
|
};
|
|
7138
|
-
return (p,
|
|
7139
|
-
var
|
|
7140
|
-
const
|
|
7141
|
+
return (p, b) => {
|
|
7142
|
+
var _;
|
|
7143
|
+
const y = A2;
|
|
7141
7144
|
return m(), z(y2("a"), {
|
|
7142
|
-
id:
|
|
7145
|
+
id: g.value,
|
|
7143
7146
|
"aria-label": u.value,
|
|
7144
|
-
"aria-description":
|
|
7147
|
+
"aria-description": f.value,
|
|
7148
|
+
"data-trigger": h.value,
|
|
7145
7149
|
href: c.value || "#",
|
|
7146
|
-
target: v(p1)(t.target || ((
|
|
7150
|
+
target: v(p1)(t.target || ((_ = t.link) == null ? void 0 : _.target), t.link),
|
|
7147
7151
|
rel: d.value ? "noopener" : "",
|
|
7148
7152
|
class: x(t.class),
|
|
7149
|
-
onClick:
|
|
7153
|
+
onClick: C
|
|
7150
7154
|
}, {
|
|
7151
7155
|
default: p2(() => [
|
|
7152
7156
|
F2(v(pt), {
|
|
@@ -7155,21 +7159,21 @@ const p1 = (n, e) => {
|
|
|
7155
7159
|
disabled: t.disabled
|
|
7156
7160
|
}, {
|
|
7157
7161
|
default: p2(() => {
|
|
7158
|
-
var
|
|
7162
|
+
var B, $, Z;
|
|
7159
7163
|
return [
|
|
7160
7164
|
T("div", Zr, [
|
|
7161
7165
|
p.logo ? (m(), M("div", {
|
|
7162
7166
|
key: 0,
|
|
7163
|
-
class: x(`flex items-center ${p.buttonType === "logo" ? (
|
|
7167
|
+
class: x(`flex items-center ${p.buttonType === "logo" ? (B = o.value) == null ? void 0 : B.logo : ""} ${p.buttonType === "logo" ? `bg-${t.textColor ?? a.value.copy}` : ""}`)
|
|
7164
7168
|
}, [
|
|
7165
|
-
typeof p.logo == "object" ? (m(), z(
|
|
7169
|
+
typeof p.logo == "object" ? (m(), z(y, x0(D({ key: 0 }, p.logo)), null, 16)) : typeof p.logo == "string" ? (m(), M("div", {
|
|
7166
7170
|
key: 1,
|
|
7167
|
-
class: x(v(W)(p.logo, (
|
|
7171
|
+
class: x(v(W)(p.logo, ($ = o.value) == null ? void 0 : $.logo))
|
|
7168
7172
|
}, null, 2)) : S("", !0)
|
|
7169
7173
|
], 2)) : S("", !0),
|
|
7170
7174
|
T("p", {
|
|
7171
7175
|
class: x(
|
|
7172
|
-
v(W)("pointer-events-none whitespace-nowrap", ((
|
|
7176
|
+
v(W)("pointer-events-none whitespace-nowrap", ((Z = o.value) == null ? void 0 : Z.headline) ?? "")
|
|
7173
7177
|
)
|
|
7174
7178
|
}, K(p.title), 3)
|
|
7175
7179
|
])
|
|
@@ -7179,7 +7183,7 @@ const p1 = (n, e) => {
|
|
|
7179
7183
|
}, 8, ["class", "link", "disabled"])
|
|
7180
7184
|
]),
|
|
7181
7185
|
_: 1
|
|
7182
|
-
}, 8, ["id", "aria-label", "aria-description", "href", "target", "rel", "class"]);
|
|
7186
|
+
}, 8, ["id", "aria-label", "aria-description", "data-trigger", "href", "target", "rel", "class"]);
|
|
7183
7187
|
};
|
|
7184
7188
|
}
|
|
7185
7189
|
}), Sr = { key: 1 }, $r = ["innerHTML"], Tr = ["innerHTML"], Br = ["innerHTML"], Pr = ["innerHTML"], Ir = /* @__PURE__ */ n2({
|
|
@@ -7216,18 +7220,18 @@ const p1 = (n, e) => {
|
|
|
7216
7220
|
} : {}), r = A(
|
|
7217
7221
|
() => U(Sn, s.value, t.pt ?? {})
|
|
7218
7222
|
), a = A(() => o === I2.Inline ? "text-center md:text-left" : `text-${o}`), l = A(() => {
|
|
7219
|
-
let
|
|
7223
|
+
let k = "";
|
|
7220
7224
|
switch (o) {
|
|
7221
7225
|
case I2.Right:
|
|
7222
|
-
|
|
7226
|
+
k = "justify-end";
|
|
7223
7227
|
break;
|
|
7224
7228
|
case I2.Center:
|
|
7225
|
-
|
|
7229
|
+
k = "justify-center";
|
|
7226
7230
|
break;
|
|
7227
7231
|
default:
|
|
7228
|
-
|
|
7232
|
+
k = "justify-start";
|
|
7229
7233
|
}
|
|
7230
|
-
return
|
|
7234
|
+
return k;
|
|
7231
7235
|
}), c = A(() => {
|
|
7232
7236
|
switch (o) {
|
|
7233
7237
|
case I2.Center:
|
|
@@ -7239,39 +7243,39 @@ const p1 = (n, e) => {
|
|
|
7239
7243
|
}
|
|
7240
7244
|
}), d = A(() => t.bodyCopyAlignment ? `text-${t.bodyCopyAlignment.toLowerCase()}` : a.value), u = A(
|
|
7241
7245
|
() => {
|
|
7242
|
-
var
|
|
7243
|
-
return `${((
|
|
7246
|
+
var k, E;
|
|
7247
|
+
return `${((k = r.value) == null ? void 0 : k.logo) ?? ""} ${((E = t == null ? void 0 : t.logo) == null ? void 0 : E.class) ?? ""} max-w-[50%]`;
|
|
7244
7248
|
}
|
|
7245
7249
|
), { backgroundColor: h, palette: f } = C2({
|
|
7246
7250
|
...t,
|
|
7247
7251
|
backgroundColor: t.backgroundColor || t.parentBackgroundColor
|
|
7248
7252
|
}), g = A(() => {
|
|
7249
7253
|
var E;
|
|
7250
|
-
const
|
|
7254
|
+
const k = [
|
|
7251
7255
|
`content-module-headline ${b ? "" : "max-w-[30ch]"} ${o === I2.Center ? "mx-auto" : o === I2.Right ? "ml-auto" : ""}`,
|
|
7252
7256
|
`text-${f.headline}`,
|
|
7253
7257
|
W(((E = r == null ? void 0 : r.value) == null ? void 0 : E.headline) ?? "", a.value)
|
|
7254
7258
|
];
|
|
7255
|
-
return t.isHero && t.isChild ?
|
|
7259
|
+
return t.isHero && t.isChild ? k.push(
|
|
7256
7260
|
"text-[27px] leading-[27px] md:text-[36px] md:leading-[36px] xl:text-[48px] xl:leading-[48px]"
|
|
7257
|
-
) : t.isFeature && t.isChild ?
|
|
7261
|
+
) : t.isFeature && t.isChild ? k.push(
|
|
7258
7262
|
"text-[27px] leading-[27px] lg:text-[48px] lg:leading-[48px]"
|
|
7259
|
-
) : t.useChildHeadline || t.logo ?
|
|
7263
|
+
) : t.useChildHeadline || t.logo ? k.push(
|
|
7260
7264
|
"text-[24px] leading-[24px] md:text-[36px] md:leading-[36px]"
|
|
7261
|
-
) :
|
|
7265
|
+
) : k.push(
|
|
7262
7266
|
"text-[27px] leading-[27px] md:text-[48px] md:leading-[48px]"
|
|
7263
|
-
),
|
|
7264
|
-
}),
|
|
7267
|
+
), k.join(" ");
|
|
7268
|
+
}), C = A(() => {
|
|
7265
7269
|
var E;
|
|
7266
7270
|
return [
|
|
7267
7271
|
`content-module-subheadline text-[17px] md:text-[22px] ${o === I2.Center ? "mx-auto" : o === I2.Right ? "ml-auto" : ""}`,
|
|
7268
7272
|
`text-${f.subheadline}`,
|
|
7269
7273
|
W(((E = r == null ? void 0 : r.value) == null ? void 0 : E.subheadline) ?? "", a.value)
|
|
7270
7274
|
].join(" ");
|
|
7271
|
-
}),
|
|
7272
|
-
const
|
|
7273
|
-
return b ? "space-y-[10px]" : `space-y-[10px] ${
|
|
7274
|
-
}),
|
|
7275
|
+
}), p = A(() => t.headline ? t.headline.replace(/<[^>]*>/g, "").trim().length > 0 : !1), b = o === I2.Inline, y = A(() => {
|
|
7276
|
+
const k = t.bodyCopy || t.ctas || t.image;
|
|
7277
|
+
return b ? "space-y-[10px]" : `space-y-[10px] ${k ? "mb-6" : ""}`;
|
|
7278
|
+
}), _ = A(() => {
|
|
7275
7279
|
switch (t.verticalAlignment) {
|
|
7276
7280
|
case G0.Center:
|
|
7277
7281
|
return "justify-center";
|
|
@@ -7281,10 +7285,10 @@ const p1 = (n, e) => {
|
|
|
7281
7285
|
default:
|
|
7282
7286
|
return "justify-start";
|
|
7283
7287
|
}
|
|
7284
|
-
}), B = A(() => t.bodyCopy ? typeof t.bodyCopy == "string" && t.bodyCopy.toLowerCase().includes("<table") : !1), $ = (
|
|
7285
|
-
if (!
|
|
7286
|
-
return
|
|
7287
|
-
const R = new globalThis.DOMParser().parseFromString(
|
|
7288
|
+
}), B = A(() => t.bodyCopy ? typeof t.bodyCopy == "string" && t.bodyCopy.toLowerCase().includes("<table") : !1), $ = (k) => {
|
|
7289
|
+
if (!k || !k.includes("<table") || typeof globalThis.DOMParser > "u")
|
|
7290
|
+
return k;
|
|
7291
|
+
const R = new globalThis.DOMParser().parseFromString(k, "text/html");
|
|
7288
7292
|
return R.querySelectorAll("table").forEach((L) => {
|
|
7289
7293
|
L.querySelectorAll(
|
|
7290
7294
|
".table-highlighted-cell, .table-empty-row, .table-empty-column"
|
|
@@ -7346,71 +7350,71 @@ const p1 = (n, e) => {
|
|
|
7346
7350
|
() => {
|
|
7347
7351
|
typeof globalThis.DOMParser < "u" && O();
|
|
7348
7352
|
}
|
|
7349
|
-
), (
|
|
7353
|
+
), (k, E) => {
|
|
7350
7354
|
var R, j, L, P, H, F;
|
|
7351
7355
|
return m(), M("div", {
|
|
7352
7356
|
class: x([
|
|
7353
7357
|
"content-module",
|
|
7354
7358
|
B.value ? "is-table" : "",
|
|
7355
7359
|
B.value ? "" : "flex flex-col",
|
|
7356
|
-
B.value ? "" :
|
|
7357
|
-
|
|
7360
|
+
B.value ? "" : _.value,
|
|
7361
|
+
k.isChild ? B.value ? "" : "h-full" : "p-8 md:p-16",
|
|
7358
7362
|
((R = r.value) == null ? void 0 : R.root) ?? "",
|
|
7359
7363
|
t.class ?? "",
|
|
7360
|
-
!t.parentHasBackgroundImage && (t.backgroundColor || !
|
|
7364
|
+
!t.parentHasBackgroundImage && (t.backgroundColor || !k.isChild) ? `bg-${v(h)}` : ""
|
|
7361
7365
|
])
|
|
7362
7366
|
}, [
|
|
7363
7367
|
T("div", {
|
|
7364
7368
|
class: x(`content-module-container w-full mx-auto ${((j = r.value) == null ? void 0 : j.container) ?? ""} ${v(o) === v(I2).Inline ? "flex flex-col md:flex-row justify-between items-center md:gap-4" : ""}`)
|
|
7365
7369
|
}, [
|
|
7366
|
-
|
|
7367
|
-
|
|
7370
|
+
k.logo && k.logo.media ? (m(), z(A2, D({ key: 0 }, k.logo, { class: u.value }), null, 16, ["class"])) : S("", !0),
|
|
7371
|
+
p.value || k.subHeadline ? (m(), M("div", {
|
|
7368
7372
|
key: 1,
|
|
7369
7373
|
class: x(y.value)
|
|
7370
7374
|
}, [
|
|
7371
|
-
|
|
7375
|
+
k.subHeadline && !k.isHero ? (m(), M("h6", {
|
|
7372
7376
|
key: 0,
|
|
7373
|
-
class: x(
|
|
7374
|
-
}, K(
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
+
class: x(C.value)
|
|
7378
|
+
}, K(k.subHeadline), 3)) : S("", !0),
|
|
7379
|
+
p.value ? (m(), M("div", Sr, [
|
|
7380
|
+
k.isHero ? (m(), M("h1", {
|
|
7377
7381
|
key: 0,
|
|
7378
7382
|
class: x(g.value),
|
|
7379
|
-
innerHTML:
|
|
7380
|
-
}, null, 10, $r)) :
|
|
7383
|
+
innerHTML: k.headline
|
|
7384
|
+
}, null, 10, $r)) : k.useChildHeadline ? (m(), M("h3", {
|
|
7381
7385
|
key: 1,
|
|
7382
7386
|
class: x(g.value),
|
|
7383
|
-
innerHTML:
|
|
7387
|
+
innerHTML: k.headline
|
|
7384
7388
|
}, null, 10, Tr)) : (m(), M("h2", {
|
|
7385
7389
|
key: 2,
|
|
7386
7390
|
class: x([g.value]),
|
|
7387
|
-
innerHTML:
|
|
7391
|
+
innerHTML: k.headline
|
|
7388
7392
|
}, null, 10, Br))
|
|
7389
7393
|
])) : S("", !0),
|
|
7390
|
-
|
|
7394
|
+
k.subHeadline && k.isHero ? (m(), M("h6", {
|
|
7391
7395
|
key: 2,
|
|
7392
|
-
class: x(
|
|
7393
|
-
}, K(
|
|
7396
|
+
class: x(C.value)
|
|
7397
|
+
}, K(k.subHeadline), 3)) : S("", !0)
|
|
7394
7398
|
], 2)) : S("", !0),
|
|
7395
|
-
|
|
7399
|
+
k.bodyCopy ? (m(), M("div", {
|
|
7396
7400
|
key: 2,
|
|
7397
|
-
class: x(`content-module-body-copy text-[17px] text-${v(f).copy} break-words ${
|
|
7401
|
+
class: x(`content-module-body-copy text-[17px] text-${v(f).copy} break-words ${k.isHero ? "lg:max-w-[80%]" : ""} ${v(W)(((L = r.value) == null ? void 0 : L.bodyCopy) ?? "", d.value)}`),
|
|
7398
7402
|
style: M2({
|
|
7399
7403
|
"--copy-accent-color": `var(--${v(f).copyAccent})`,
|
|
7400
7404
|
"--bullet-color": `var(--${v(f).bullet})`
|
|
7401
7405
|
}),
|
|
7402
7406
|
innerHTML: Z.value
|
|
7403
7407
|
}, null, 14, Pr)) : S("", !0),
|
|
7404
|
-
|
|
7405
|
-
class: `content-module-image ${v(W)(((P = r.value) == null ? void 0 : P.image) ?? "", c.value)} ${((H =
|
|
7408
|
+
k.image && k.image.media ? (m(), z(A2, D({ key: 3 }, k.image, {
|
|
7409
|
+
class: `content-module-image ${v(W)(((P = r.value) == null ? void 0 : P.image) ?? "", c.value)} ${((H = k.image) == null ? void 0 : H.class) ?? ""}`
|
|
7406
7410
|
}), null, 16, ["class"])) : S("", !0),
|
|
7407
|
-
|
|
7411
|
+
k.ctas ? (m(), M("div", {
|
|
7408
7412
|
key: 4,
|
|
7409
|
-
class: x(`content-module-ctas flex flex-wrap items-center gap-4 ${
|
|
7413
|
+
class: x(`content-module-ctas flex flex-wrap items-center gap-4 ${k.isHero ? "justify-center lg:justify-start" : l.value} ${v(W)(((F = r.value) == null ? void 0 : F.ctas) ?? "", a.value, b ? "md:mt-0" : "")}`)
|
|
7410
7414
|
}, [
|
|
7411
|
-
(m(!0), M(G, null, t2(
|
|
7415
|
+
(m(!0), M(G, null, t2(k.ctas, (w, I) => (m(), z(H2, D({ ref_for: !0 }, w, {
|
|
7412
7416
|
key: `cta-${w.title}-${I}`,
|
|
7413
|
-
class: `content-module-cta ${
|
|
7417
|
+
class: `content-module-cta ${k.isHero ? "w-auto justify-center" : ""}`,
|
|
7414
7418
|
"background-color": v(h),
|
|
7415
7419
|
onTrigger: E[0] || (E[0] = (N) => i("trigger", N))
|
|
7416
7420
|
}), null, 16, ["class", "background-color"]))), 128))
|
|
@@ -7496,8 +7500,8 @@ const Er = {
|
|
|
7496
7500
|
return (h = e.link) != null && h.externalUrl ? (f = e.link) == null ? void 0 : f.thirdPartyId : void 0;
|
|
7497
7501
|
}
|
|
7498
7502
|
), r = A(() => {
|
|
7499
|
-
var h, f, g,
|
|
7500
|
-
return (f = (h = e.link) == null ? void 0 : h.page) != null && f.slug ? `${(
|
|
7503
|
+
var h, f, g, C, p, b;
|
|
7504
|
+
return (f = (h = e.link) == null ? void 0 : h.page) != null && f.slug ? `${(C = (g = e.link) == null ? void 0 : g.page) == null ? void 0 : C.slug}` : (p = e.link) != null && p.externalUrl ? (b = e.link) == null ? void 0 : b.externalUrl : "";
|
|
7501
7505
|
}), a = A(() => {
|
|
7502
7506
|
var h, f, g;
|
|
7503
7507
|
return (f = (h = e.link) == null ? void 0 : h.page) != null && f.slug || (g = e.link) != null && g.externalUrl ? "a" : "button";
|
|
@@ -7512,25 +7516,25 @@ const Er = {
|
|
|
7512
7516
|
class: x(d.value)
|
|
7513
7517
|
}, {
|
|
7514
7518
|
default: p2(() => {
|
|
7515
|
-
var
|
|
7519
|
+
var C;
|
|
7516
7520
|
return [
|
|
7517
7521
|
l.value === v(s0).header || h.isChild && (r.value || h.subNavigation) ? (m(), z(y2(a.value), {
|
|
7518
7522
|
key: 0,
|
|
7519
7523
|
id: s.value,
|
|
7520
7524
|
href: r.value ?? "",
|
|
7521
|
-
target: e.link ? v(p1)((
|
|
7525
|
+
target: e.link ? v(p1)((C = e.link) == null ? void 0 : C.target, e.link) : "_self",
|
|
7522
7526
|
class: x(`flex leading-tight items-center hover:underline cursor-pointer text-${v(o).copy} ${l.value === v(s0).header ? "whitespace-nowrap" : ""}`),
|
|
7523
7527
|
"aria-expanded": a.value === "button" ? !0 : void 0,
|
|
7524
7528
|
"aria-haspopup": a.value === "button" ? !0 : void 0,
|
|
7525
7529
|
onClick: u
|
|
7526
7530
|
}, {
|
|
7527
7531
|
default: p2(() => {
|
|
7528
|
-
var
|
|
7532
|
+
var p;
|
|
7529
7533
|
return [
|
|
7530
7534
|
E0(K(h.title) + " ", 1),
|
|
7531
7535
|
!h.isChild && h.subNavigation && !(r.value || h.isChild) ? (m(), M("div", {
|
|
7532
7536
|
key: 0,
|
|
7533
|
-
class: x((
|
|
7537
|
+
class: x((p = t.value) == null ? void 0 : p.icon)
|
|
7534
7538
|
}, [
|
|
7535
7539
|
P2(T("i", Er, null, 512), [
|
|
7536
7540
|
[U2, !c.value]
|
|
@@ -7558,13 +7562,13 @@ const Er = {
|
|
|
7558
7562
|
"aria-labelledby": "menu-button",
|
|
7559
7563
|
tabindex: "-1"
|
|
7560
7564
|
}, [
|
|
7561
|
-
(m(!0), M(G, null, t2(h.subNavigation, (
|
|
7562
|
-
key:
|
|
7565
|
+
(m(!0), M(G, null, t2(h.subNavigation, (p, b) => (m(), z(g, D({
|
|
7566
|
+
key: p.title,
|
|
7563
7567
|
class: ["ms-3 sm:ms-0", `sub-navigation-element-item-${b}`],
|
|
7564
7568
|
role: "menuitem",
|
|
7565
7569
|
tabindex: "-1",
|
|
7566
7570
|
ref_for: !0
|
|
7567
|
-
}, { ...
|
|
7571
|
+
}, { ...p, elementType: h.elementType, isChild: !0, backgroundColor: v(i) }), null, 16, ["class"]))), 128))
|
|
7568
7572
|
], 2)) : S("", !0),
|
|
7569
7573
|
h.htmlRef ? (m(), M("div", {
|
|
7570
7574
|
key: 3,
|
|
@@ -7865,25 +7869,25 @@ const Er = {
|
|
|
7865
7869
|
return (h, f) => (m(), M("header", ea, [
|
|
7866
7870
|
T("div", ta, [
|
|
7867
7871
|
c.value.length > 0 || d.value.length > 0 ? (m(), M("nav", na, [
|
|
7868
|
-
(m(!0), M(G, null, t2(c.value, (g,
|
|
7869
|
-
key: `${g.title}-${
|
|
7872
|
+
(m(!0), M(G, null, t2(c.value, (g, C) => (m(), z(r0, D({
|
|
7873
|
+
key: `${g.title}-${C}`,
|
|
7870
7874
|
role: "menuitem",
|
|
7871
7875
|
tabindex: "-1",
|
|
7872
7876
|
ref_for: !0
|
|
7873
7877
|
}, {
|
|
7874
7878
|
...g,
|
|
7875
|
-
class: `primary-nav-item-${
|
|
7879
|
+
class: `primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4 h-full" : ""}`,
|
|
7876
7880
|
isChild: !1,
|
|
7877
7881
|
elementType: "header"
|
|
7878
7882
|
}, {
|
|
7879
|
-
onClick: (
|
|
7883
|
+
onClick: (p) => r("navigation-click", g)
|
|
7880
7884
|
}), null, 16, ["onClick"]))), 128)),
|
|
7881
7885
|
(m(!0), M(G, null, t2(d.value, (g) => (m(), z(H2, D({
|
|
7882
7886
|
key: g.title,
|
|
7883
7887
|
class: ["my-4 sm:my-0", g.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7884
7888
|
ref_for: !0
|
|
7885
7889
|
}, g, {
|
|
7886
|
-
onClick: (
|
|
7890
|
+
onClick: (C) => r("cta-click", g)
|
|
7887
7891
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7888
7892
|
])) : S("", !0)
|
|
7889
7893
|
]),
|
|
@@ -7897,18 +7901,18 @@ const Er = {
|
|
|
7897
7901
|
])) : S("", !0),
|
|
7898
7902
|
T("div", ra, [
|
|
7899
7903
|
c.value.length > 0 ? (m(), M("nav", aa, [
|
|
7900
|
-
(m(!0), M(G, null, t2(c.value, (g,
|
|
7901
|
-
key: `${g.title}-${
|
|
7904
|
+
(m(!0), M(G, null, t2(c.value, (g, C) => (m(), z(r0, D({
|
|
7905
|
+
key: `${g.title}-${C}`,
|
|
7902
7906
|
role: "menuitem",
|
|
7903
7907
|
tabindex: "-1",
|
|
7904
7908
|
ref_for: !0
|
|
7905
7909
|
}, {
|
|
7906
7910
|
...g,
|
|
7907
|
-
class: `h-full primary-nav-item-${
|
|
7911
|
+
class: `h-full primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4" : ""}`,
|
|
7908
7912
|
isChild: !1,
|
|
7909
7913
|
elementType: "header"
|
|
7910
7914
|
}, {
|
|
7911
|
-
onClick: (
|
|
7915
|
+
onClick: (p) => r("navigation-click", g)
|
|
7912
7916
|
}), null, 16, ["onClick"]))), 128))
|
|
7913
7917
|
])) : S("", !0),
|
|
7914
7918
|
T("button", {
|
|
@@ -7932,45 +7936,45 @@ const Er = {
|
|
|
7932
7936
|
key: 0,
|
|
7933
7937
|
class: x(["primary-navigation text-sm xl:text-base items-center px-2 pt-2 pb-4 md:flex gap-2 lg:gap-4 md:justify-evenly md:p-0", i.value ? "block" : "hidden"])
|
|
7934
7938
|
}, [
|
|
7935
|
-
(m(!0), M(G, null, t2(u.value, (g,
|
|
7936
|
-
key: `mobile-${g.title}-${
|
|
7939
|
+
(m(!0), M(G, null, t2(u.value, (g, C) => (m(), z(r0, D({
|
|
7940
|
+
key: `mobile-${g.title}-${C}`,
|
|
7937
7941
|
role: "menuitem",
|
|
7938
7942
|
tabindex: "-1",
|
|
7939
7943
|
ref_for: !0
|
|
7940
7944
|
}, {
|
|
7941
7945
|
...g,
|
|
7942
|
-
class: `md:hidden h-full primary-nav-item-${
|
|
7946
|
+
class: `md:hidden h-full primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "md:border-r pr-4" : ""}`,
|
|
7943
7947
|
isChild: !1,
|
|
7944
7948
|
elementType: "header"
|
|
7945
7949
|
}, {
|
|
7946
|
-
onClick: (
|
|
7950
|
+
onClick: (p) => r("navigation-click", g)
|
|
7947
7951
|
}), null, 16, ["onClick"]))), 128)),
|
|
7948
|
-
(m(!0), M(G, null, t2(a.value, (g,
|
|
7949
|
-
key: `desktop-${g.title}-${
|
|
7952
|
+
(m(!0), M(G, null, t2(a.value, (g, C) => (m(), z(r0, D({
|
|
7953
|
+
key: `desktop-${g.title}-${C}`,
|
|
7950
7954
|
role: "menuitem",
|
|
7951
7955
|
tabindex: "-1",
|
|
7952
7956
|
ref_for: !0
|
|
7953
7957
|
}, {
|
|
7954
7958
|
...g,
|
|
7955
|
-
class: `hidden md:block h-full primary-nav-item-${
|
|
7959
|
+
class: `hidden md:block h-full primary-nav-item-${C} ${g.class || ""} ${g.dividerLine ? "sm:border-r pr-4" : ""}`,
|
|
7956
7960
|
isChild: !1,
|
|
7957
7961
|
elementType: "header"
|
|
7958
7962
|
}, {
|
|
7959
|
-
onClick: (
|
|
7963
|
+
onClick: (p) => r("navigation-click", g)
|
|
7960
7964
|
}), null, 16, ["onClick"]))), 128)),
|
|
7961
7965
|
(m(!0), M(G, null, t2(l.value, (g) => (m(), z(H2, D({
|
|
7962
7966
|
key: `filtered-${g.title}`,
|
|
7963
7967
|
class: g.buttonType === "fill" ? "justify-center w-full" : "",
|
|
7964
7968
|
ref_for: !0
|
|
7965
7969
|
}, g, {
|
|
7966
|
-
onClick: (
|
|
7970
|
+
onClick: (C) => r("cta-click", g)
|
|
7967
7971
|
}), null, 16, ["class", "onClick"]))), 128)),
|
|
7968
7972
|
(m(!0), M(G, null, t2(d.value, (g) => (m(), z(H2, D({
|
|
7969
7973
|
key: g.title,
|
|
7970
7974
|
class: ["flex md:hidden my-2 md:my-0", g.buttonType === "fill" ? "justify-center w-full" : ""],
|
|
7971
7975
|
ref_for: !0
|
|
7972
7976
|
}, g, {
|
|
7973
|
-
onClick: (
|
|
7977
|
+
onClick: (C) => r("cta-click", g)
|
|
7974
7978
|
}), null, 16, ["class", "onClick"]))), 128))
|
|
7975
7979
|
], 2)) : S("", !0)
|
|
7976
7980
|
])
|
|
@@ -8021,7 +8025,7 @@ const Er = {
|
|
|
8021
8025
|
class: x(a.value)
|
|
8022
8026
|
}, {
|
|
8023
8027
|
default: p2(() => {
|
|
8024
|
-
var d, u, h, f, g,
|
|
8028
|
+
var d, u, h, f, g, C;
|
|
8025
8029
|
return [
|
|
8026
8030
|
l.headline ? (m(), M("h2", {
|
|
8027
8031
|
key: 0,
|
|
@@ -8042,7 +8046,7 @@ const Er = {
|
|
|
8042
8046
|
"is-split-module-child": !0
|
|
8043
8047
|
}), null, 16, ["class"])) : S("", !0),
|
|
8044
8048
|
l.end ? (m(), z(y2(l.end.__typename), D({ key: 2 }, l.end, {
|
|
8045
|
-
class: `split-module-end ${((
|
|
8049
|
+
class: `split-module-end ${((C = i.value) == null ? void 0 : C.end) ?? ""}`,
|
|
8046
8050
|
"is-child": !0,
|
|
8047
8051
|
"is-split-module-child": !0
|
|
8048
8052
|
}), null, 16, ["class"])) : S("", !0)
|
|
@@ -8150,8 +8154,8 @@ const Er = {
|
|
|
8150
8154
|
var Z;
|
|
8151
8155
|
return ((Z = t.ctas) == null ? void 0 : Z.some(
|
|
8152
8156
|
(O) => {
|
|
8153
|
-
var
|
|
8154
|
-
return l(((
|
|
8157
|
+
var k;
|
|
8158
|
+
return l(((k = O == null ? void 0 : O.ctaAction) == null ? void 0 : k.triggerMappingValue) ?? "");
|
|
8155
8159
|
}
|
|
8156
8160
|
)) ?? !1;
|
|
8157
8161
|
}), d = A(
|
|
@@ -8172,8 +8176,8 @@ const Er = {
|
|
|
8172
8176
|
{ deep: !1 }
|
|
8173
8177
|
);
|
|
8174
8178
|
const u = A(() => t.modules ? c.value ? t.modules.slice(0, a.value) : t.modules : []), h = A(() => t.ctas ? t.ctas.filter((Z) => {
|
|
8175
|
-
var
|
|
8176
|
-
const O = ((
|
|
8179
|
+
var k;
|
|
8180
|
+
const O = ((k = Z == null ? void 0 : Z.ctaAction) == null ? void 0 : k.triggerMappingValue) ?? "";
|
|
8177
8181
|
return !(d.value && l(O));
|
|
8178
8182
|
}) : []), f = () => {
|
|
8179
8183
|
var E;
|
|
@@ -8182,20 +8186,20 @@ const Er = {
|
|
|
8182
8186
|
const Z = ((E = t.modules) == null ? void 0 : E.length) ?? 0, O = t.totalTiles ?? Z;
|
|
8183
8187
|
if (a.value > Z)
|
|
8184
8188
|
return;
|
|
8185
|
-
const
|
|
8186
|
-
|
|
8189
|
+
const k = a.value + wa;
|
|
8190
|
+
k > Z && Z < O && r("loadMore"), a.value = Math.min(k, O);
|
|
8187
8191
|
}, g = (Z) => {
|
|
8188
8192
|
l(Z) && f();
|
|
8189
|
-
},
|
|
8193
|
+
}, C = A(
|
|
8190
8194
|
() => t.variant === "ImageStackedAnimatedTile"
|
|
8191
|
-
),
|
|
8192
|
-
var
|
|
8193
|
-
const Z = t.columns ?? 3, O = ((
|
|
8195
|
+
), p = A(() => {
|
|
8196
|
+
var k;
|
|
8197
|
+
const Z = t.columns ?? 3, O = ((k = t.modules) == null ? void 0 : k.length) ?? 0;
|
|
8194
8198
|
return O < Z ? O : Z;
|
|
8195
8199
|
}), b = A(() => {
|
|
8196
|
-
if (
|
|
8200
|
+
if (C.value)
|
|
8197
8201
|
return "";
|
|
8198
|
-
switch (
|
|
8202
|
+
switch (p.value) {
|
|
8199
8203
|
case 1:
|
|
8200
8204
|
return "max-w-[352px]";
|
|
8201
8205
|
case 2:
|
|
@@ -8204,9 +8208,9 @@ const Er = {
|
|
|
8204
8208
|
return "max-w-[728px] lg:max-w-[1104px]";
|
|
8205
8209
|
}
|
|
8206
8210
|
}), y = A(() => {
|
|
8207
|
-
if (
|
|
8211
|
+
if (C.value)
|
|
8208
8212
|
return "";
|
|
8209
|
-
switch (
|
|
8213
|
+
switch (p.value) {
|
|
8210
8214
|
case 1:
|
|
8211
8215
|
return "w-full max-w-[352px]";
|
|
8212
8216
|
case 2:
|
|
@@ -8214,14 +8218,14 @@ const Er = {
|
|
|
8214
8218
|
default:
|
|
8215
8219
|
return "w-full md:w-[calc(50%-12px)] lg:w-[calc(33.333%-16px)] max-w-[352px]";
|
|
8216
8220
|
}
|
|
8217
|
-
}),
|
|
8218
|
-
() =>
|
|
8221
|
+
}), _ = /* @__PURE__ */ new Set(["iris", "wisteria"]), B = A(
|
|
8222
|
+
() => _.has(o) ? ga : ma
|
|
8219
8223
|
);
|
|
8220
8224
|
return (Z, O) => {
|
|
8221
8225
|
var E, R, j, L, P, H;
|
|
8222
|
-
const
|
|
8226
|
+
const k = H2;
|
|
8223
8227
|
return m(), M("section", {
|
|
8224
|
-
class: x(`tile-collection ${Z.variant} ${v(W)("overflow-hidden py-16", Z.includeDecoration && !
|
|
8228
|
+
class: x(`tile-collection ${Z.variant} ${v(W)("overflow-hidden py-16", Z.includeDecoration && !C.value ? "!pb-0" : "", ((E = i.value) == null ? void 0 : E.root) ?? "", t.class ?? "")} bg-${v(o)}`)
|
|
8225
8229
|
}, [
|
|
8226
8230
|
T("div", {
|
|
8227
8231
|
class: x(`container mx-auto ${((R = i.value) == null ? void 0 : R.container) ?? ""}`)
|
|
@@ -8242,7 +8246,7 @@ const Er = {
|
|
|
8242
8246
|
], 2)) : S("", !0),
|
|
8243
8247
|
Z.modules ? (m(), M("div", {
|
|
8244
8248
|
key: 1,
|
|
8245
|
-
class: x(`tile-collection-content ${v(W)(
|
|
8249
|
+
class: x(`tile-collection-content ${v(W)(C.value ? "flex flex-col gap-12 md:gap-4 justify-center" : `flex flex-wrap gap-12 md:gap-6 justify-center mx-auto ${b.value}`, ((H = i.value) == null ? void 0 : H.bodyCopy) ?? "")}`)
|
|
8246
8250
|
}, [
|
|
8247
8251
|
(m(!0), M(G, null, t2(u.value, (F, w) => {
|
|
8248
8252
|
var I;
|
|
@@ -8261,7 +8265,7 @@ const Er = {
|
|
|
8261
8265
|
h.value.length ? (m(), M("div", va, [
|
|
8262
8266
|
(m(!0), M(G, null, t2(h.value, (F) => {
|
|
8263
8267
|
var w;
|
|
8264
|
-
return m(), z(
|
|
8268
|
+
return m(), z(k, D({
|
|
8265
8269
|
key: `${F.title}-cta`,
|
|
8266
8270
|
ref_for: !0
|
|
8267
8271
|
}, F, {
|
|
@@ -8272,7 +8276,7 @@ const Er = {
|
|
|
8272
8276
|
}), null, 16, ["background-color", "disabled"]);
|
|
8273
8277
|
}), 128))
|
|
8274
8278
|
])) : S("", !0),
|
|
8275
|
-
Z.includeDecoration && !
|
|
8279
|
+
Z.includeDecoration && !C.value ? (m(), M("div", Ma, [
|
|
8276
8280
|
T("img", {
|
|
8277
8281
|
src: B.value,
|
|
8278
8282
|
class: "mx-auto w-full lg:w-3/4",
|
|
@@ -8481,21 +8485,21 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8481
8485
|
}
|
|
8482
8486
|
), d = A(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start"), u = J(null), h = f1(u, { threshold: 0.1 });
|
|
8483
8487
|
return (f, g) => {
|
|
8484
|
-
var b, y,
|
|
8485
|
-
const
|
|
8488
|
+
var b, y, _, B, $, Z, O, k, E, R, j;
|
|
8489
|
+
const C = $e, p = H2;
|
|
8486
8490
|
return m(), M("div", {
|
|
8487
8491
|
ref_key: "content",
|
|
8488
8492
|
ref: u,
|
|
8489
8493
|
style: M2({ transitionDelay: `${(f.index ?? 0) * 0.2}s` }),
|
|
8490
8494
|
class: x(`tile-content animate-slide-on-top ${v(h) ? "visible" : ""} ${v(W)((b = t.value) == null ? void 0 : b.root, r ? "" : "w-full md:w-full lg:w-full")} ${e.class} bg-${v(a)}`)
|
|
8491
8495
|
}, [
|
|
8492
|
-
f.tileLabel || f.tileLabelType ? (m(), z(
|
|
8496
|
+
f.tileLabel || f.tileLabelType ? (m(), z(C, D({ key: 0 }, f.tileLabel, {
|
|
8493
8497
|
type: f.tileLabelType ?? ((y = f.tileLabel) == null ? void 0 : y.type),
|
|
8494
|
-
class: f.tileLabelType === "Numeric" || ((
|
|
8498
|
+
class: f.tileLabelType === "Numeric" || ((_ = f.tileLabel) == null ? void 0 : _.type) === "Numeric" ? (B = t.value) == null ? void 0 : B.numericLabel : ($ = t.value) == null ? void 0 : $.label,
|
|
8495
8499
|
"background-color": v(s).label[f.tileLabelType ?? ((Z = f.tileLabel) == null ? void 0 : Z.type) ?? "Text"].bg,
|
|
8496
8500
|
"text-color": v(s).label[f.tileLabelType ?? ((O = f.tileLabel) == null ? void 0 : O.type) ?? "Text"].copy,
|
|
8497
8501
|
index: f.index,
|
|
8498
|
-
alignment: ((
|
|
8502
|
+
alignment: ((k = f.tileLabel) == null ? void 0 : k.alignment) ?? "right"
|
|
8499
8503
|
}), null, 16, ["type", "class", "background-color", "text-color", "index", "alignment"])) : S("", !0),
|
|
8500
8504
|
F2(v(k0), {
|
|
8501
8505
|
class: x(`${((E = t.value) == null ? void 0 : E.container) ?? ""} tile-content-container shadow-none`),
|
|
@@ -8557,7 +8561,7 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8557
8561
|
}, [
|
|
8558
8562
|
(m(!0), M(G, null, t2(f.ctas, (H, F) => {
|
|
8559
8563
|
var w;
|
|
8560
|
-
return m(), z(
|
|
8564
|
+
return m(), z(p, D({
|
|
8561
8565
|
key: `cta-${H.title}-${F}`,
|
|
8562
8566
|
class: `cta-${F} ${(w = t.value) == null ? void 0 : w.cta}`,
|
|
8563
8567
|
color: v(gt)(H, v(a)),
|
|
@@ -8617,8 +8621,8 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8617
8621
|
}
|
|
8618
8622
|
), d = A(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start"), u = J(null), h = f1(u, { threshold: 0.1 });
|
|
8619
8623
|
return (f, g) => {
|
|
8620
|
-
var b, y,
|
|
8621
|
-
const
|
|
8624
|
+
var b, y, _, B;
|
|
8625
|
+
const C = $e, p = H2;
|
|
8622
8626
|
return m(), M("div", {
|
|
8623
8627
|
ref_key: "content",
|
|
8624
8628
|
ref: u,
|
|
@@ -8627,13 +8631,13 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8627
8631
|
}, [
|
|
8628
8632
|
F2(v(k0), {
|
|
8629
8633
|
class: x(`${((y = t.value) == null ? void 0 : y.container) ?? ""} tile-content-container shadow-none`),
|
|
8630
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8634
|
+
"pt:footer:class": `tile-content-ctas ${((_ = t.value) == null ? void 0 : _.footer) ?? ""}`,
|
|
8631
8635
|
"pt:body:class": ((B = t.value) == null ? void 0 : B.body) ?? ""
|
|
8632
8636
|
}, ke({ _: 2 }, [
|
|
8633
8637
|
f.image || f.bodyCopy || f.listItems ? {
|
|
8634
8638
|
name: "content",
|
|
8635
8639
|
fn: p2(() => {
|
|
8636
|
-
var $, Z, O,
|
|
8640
|
+
var $, Z, O, k, E, R, j, L, P, H, F, w, I, N, V;
|
|
8637
8641
|
return [
|
|
8638
8642
|
T("div", {
|
|
8639
8643
|
class: x(`flex flex-col tile-content-inner ${(($ = t.value) == null ? void 0 : $.bodyCopy) ?? ""} ${d.value}`)
|
|
@@ -8642,10 +8646,10 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8642
8646
|
key: 0,
|
|
8643
8647
|
class: x(`tile-content-media w-4/5 ${((Z = t.value) == null ? void 0 : Z.media) ?? ""}`)
|
|
8644
8648
|
}, [
|
|
8645
|
-
f.tileLabel || f.tileLabelType ? (m(), z(
|
|
8649
|
+
f.tileLabel || f.tileLabelType ? (m(), z(C, {
|
|
8646
8650
|
key: 0,
|
|
8647
8651
|
class: x(
|
|
8648
|
-
f.tileLabelType === "Numeric" || ((O = f.tileLabel) == null ? void 0 : O.type) === "Numeric" ? (
|
|
8652
|
+
f.tileLabelType === "Numeric" || ((O = f.tileLabel) == null ? void 0 : O.type) === "Numeric" ? (k = t.value) == null ? void 0 : k.numericLabel : (E = t.value) == null ? void 0 : E.label
|
|
8649
8653
|
),
|
|
8650
8654
|
index: f.index,
|
|
8651
8655
|
alignment: ((R = f.tileLabel) == null ? void 0 : R.alignment) ?? "left",
|
|
@@ -8693,11 +8697,11 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8693
8697
|
T("div", {
|
|
8694
8698
|
class: x(((Z = t.value) == null ? void 0 : Z.ctas) ?? "")
|
|
8695
8699
|
}, [
|
|
8696
|
-
(m(!0), M(G, null, t2(f.ctas, (O,
|
|
8700
|
+
(m(!0), M(G, null, t2(f.ctas, (O, k) => {
|
|
8697
8701
|
var E;
|
|
8698
|
-
return m(), z(
|
|
8699
|
-
key: `cta-${O.title}-${
|
|
8700
|
-
class: `cta-${
|
|
8702
|
+
return m(), z(p, D({
|
|
8703
|
+
key: `cta-${O.title}-${k}`,
|
|
8704
|
+
class: `cta-${k} ${(E = t.value) == null ? void 0 : E.cta}`,
|
|
8701
8705
|
color: v(gt)(O, v(a)),
|
|
8702
8706
|
"text-color": v(mt)(O, v(a)),
|
|
8703
8707
|
ref_for: !0
|
|
@@ -8761,14 +8765,14 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8761
8765
|
}
|
|
8762
8766
|
);
|
|
8763
8767
|
return (h, f) => {
|
|
8764
|
-
var
|
|
8765
|
-
const g = $e,
|
|
8768
|
+
var p, b, y, _, B, $, Z, O, k, E;
|
|
8769
|
+
const g = $e, C = H2;
|
|
8766
8770
|
return m(), M("div", {
|
|
8767
|
-
class: x(`tile-content ${v(W)((
|
|
8771
|
+
class: x(`tile-content ${v(W)((p = t.value) == null ? void 0 : p.root, o.value, e.class)} bg-${a.value}`),
|
|
8768
8772
|
style: M2(c.value)
|
|
8769
8773
|
}, [
|
|
8770
8774
|
h.tileLabel || h.tileLabelType ? (m(), z(g, D({ key: 0 }, h.tileLabel, {
|
|
8771
|
-
class: h.tileLabelType === "Numeric" || ((b = h.tileLabel) == null ? void 0 : b.type) === "Numeric" ? (y = t.value) == null ? void 0 : y.numericLabel : (
|
|
8775
|
+
class: h.tileLabelType === "Numeric" || ((b = h.tileLabel) == null ? void 0 : b.type) === "Numeric" ? (y = t.value) == null ? void 0 : y.numericLabel : (_ = t.value) == null ? void 0 : _.label,
|
|
8772
8776
|
index: h.index,
|
|
8773
8777
|
type: h.tileLabelType ?? ((B = h.tileLabel) == null ? void 0 : B.type),
|
|
8774
8778
|
"background-color": l.value.label[h.tileLabelType ?? (($ = h.tileLabel) == null ? void 0 : $.type) ?? "Text"].bg,
|
|
@@ -8776,7 +8780,7 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8776
8780
|
}), null, 16, ["class", "index", "type", "background-color", "text-color"])) : S("", !0),
|
|
8777
8781
|
F2(v(k0), {
|
|
8778
8782
|
class: x(`${((O = t.value) == null ? void 0 : O.container) ?? ""} tile-content-container shadow-none !bg-transparent !border-0`),
|
|
8779
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8783
|
+
"pt:footer:class": `tile-content-ctas ${((k = t.value) == null ? void 0 : k.footer) ?? ""}`,
|
|
8780
8784
|
"pt:body:class": ((E = t.value) == null ? void 0 : E.body) ?? "",
|
|
8781
8785
|
"pt:root:class": "!bg-transparent !border-0 !shadow-none"
|
|
8782
8786
|
}, ke({ _: 2 }, [
|
|
@@ -8821,7 +8825,7 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8821
8825
|
}, [
|
|
8822
8826
|
(m(!0), M(G, null, t2(h.ctas, (L, P) => {
|
|
8823
8827
|
var H;
|
|
8824
|
-
return m(), z(
|
|
8828
|
+
return m(), z(C, D({
|
|
8825
8829
|
key: `cta-${L.title}-${P}`,
|
|
8826
8830
|
class: `cta-${P} ${(H = t.value) == null ? void 0 : H.cta} w-full`,
|
|
8827
8831
|
color: v(gt)(L, a.value),
|
|
@@ -8882,25 +8886,25 @@ const $a = ["src", "height", "width"], Ta = ["src"], bt = /* @__PURE__ */ n2({
|
|
|
8882
8886
|
}
|
|
8883
8887
|
), d = A(() => l.value === "center" ? "items-center" : l.value === "right" ? "items-end" : "items-start");
|
|
8884
8888
|
return (u, h) => {
|
|
8885
|
-
var
|
|
8889
|
+
var C, p, b, y, _, B, $, Z, O, k, E;
|
|
8886
8890
|
const f = $e, g = H2;
|
|
8887
8891
|
return m(), M("div", {
|
|
8888
|
-
class: x(`tile-content ${v(W)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none", `bg-${v(a)}`, i ? "" : "w-full md:w-full lg:w-full", ((
|
|
8892
|
+
class: x(`tile-content ${v(W)("relative text-center list-none flex-auto rounded overflow-visible mx-auto shadow-none", `bg-${v(a)}`, i ? "" : "w-full md:w-full lg:w-full", ((C = t.value) == null ? void 0 : C.root) ?? "", e.class ?? "")} ${e.class}`)
|
|
8889
8893
|
}, [
|
|
8890
8894
|
u.tileLabel || u.tileLabelType ? (m(), z(f, {
|
|
8891
8895
|
key: 0,
|
|
8892
8896
|
class: x(
|
|
8893
|
-
u.tileLabelType === "Numeric" || ((
|
|
8897
|
+
u.tileLabelType === "Numeric" || ((p = u.tileLabel) == null ? void 0 : p.type) === "Numeric" ? (b = t.value) == null ? void 0 : b.numericLabel : (y = t.value) == null ? void 0 : y.label
|
|
8894
8898
|
),
|
|
8895
8899
|
index: u.index,
|
|
8896
|
-
alignment: ((
|
|
8900
|
+
alignment: ((_ = u.tileLabel) == null ? void 0 : _.alignment) ?? "right",
|
|
8897
8901
|
type: u.tileLabelType ?? ((B = u.tileLabel) == null ? void 0 : B.type),
|
|
8898
8902
|
"background-color": v(r).label[u.tileLabelType ?? (($ = u.tileLabel) == null ? void 0 : $.type) ?? "Text"].bg,
|
|
8899
8903
|
"text-color": v(r).label[u.tileLabelType ?? ((Z = u.tileLabel) == null ? void 0 : Z.type) ?? "Text"].copy
|
|
8900
8904
|
}, null, 8, ["class", "index", "alignment", "type", "background-color", "text-color"])) : S("", !0),
|
|
8901
8905
|
F2(v(k0), {
|
|
8902
8906
|
class: x(`${((O = t.value) == null ? void 0 : O.container) ?? ""} tile-content-container shadow-none`),
|
|
8903
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
8907
|
+
"pt:footer:class": `tile-content-ctas ${((k = t.value) == null ? void 0 : k.ctas) ?? ""}`,
|
|
8904
8908
|
"pt:body:class": ((E = t.value) == null ? void 0 : E.body) ?? ""
|
|
8905
8909
|
}, ke({ _: 2 }, [
|
|
8906
8910
|
u.bodyCopy || u.listItems ? {
|
|
@@ -9019,19 +9023,19 @@ function Va(n, e, t = {}) {
|
|
|
9019
9023
|
let d = h0;
|
|
9020
9024
|
const u = J(a), h = l.value ? j2(
|
|
9021
9025
|
() => [c.value, qe(i), u.value],
|
|
9022
|
-
([g,
|
|
9026
|
+
([g, C]) => {
|
|
9023
9027
|
if (d(), !u.value || !g.length)
|
|
9024
9028
|
return;
|
|
9025
|
-
const
|
|
9029
|
+
const p = new IntersectionObserver(
|
|
9026
9030
|
e,
|
|
9027
9031
|
{
|
|
9028
|
-
root: qe(
|
|
9032
|
+
root: qe(C),
|
|
9029
9033
|
rootMargin: o,
|
|
9030
9034
|
threshold: s
|
|
9031
9035
|
}
|
|
9032
9036
|
);
|
|
9033
|
-
g.forEach((b) => b &&
|
|
9034
|
-
|
|
9037
|
+
g.forEach((b) => b && p.observe(b)), d = () => {
|
|
9038
|
+
p.disconnect(), d = h0;
|
|
9035
9039
|
};
|
|
9036
9040
|
},
|
|
9037
9041
|
{ immediate: a, flush: "post" }
|
|
@@ -9182,24 +9186,24 @@ const Ka = ["innerHTML"], Xa = ["innerHTML"], Ga = ["src"], Ja = /* @__PURE__ */
|
|
|
9182
9186
|
t.value = u;
|
|
9183
9187
|
};
|
|
9184
9188
|
return (u, h) => {
|
|
9185
|
-
var g,
|
|
9189
|
+
var g, C, p, b;
|
|
9186
9190
|
const f = $e;
|
|
9187
9191
|
return m(), M("div", {
|
|
9188
9192
|
class: x(`tile-content ${v(W)(((g = o.value) == null ? void 0 : g.root) ?? "", i.class ?? "")} max-w-[1024px]`)
|
|
9189
9193
|
}, [
|
|
9190
9194
|
F2(v(k0), {
|
|
9191
|
-
class: x(`${((
|
|
9192
|
-
"pt:footer:class": `tile-content-ctas ${((
|
|
9195
|
+
class: x(`${((C = o.value) == null ? void 0 : C.container) ?? ""} tile-content-container shadow-none`),
|
|
9196
|
+
"pt:footer:class": `tile-content-ctas ${((p = o.value) == null ? void 0 : p.ctas) ?? ""}`,
|
|
9193
9197
|
"pt:body:class": ((b = o.value) == null ? void 0 : b.body) ?? ""
|
|
9194
9198
|
}, ke({
|
|
9195
9199
|
content: p2(() => {
|
|
9196
|
-
var y,
|
|
9200
|
+
var y, _, B, $, Z, O, k, E, R, j, L, P;
|
|
9197
9201
|
return [
|
|
9198
9202
|
T("div", {
|
|
9199
9203
|
class: x(`flex gap-[5vmin] md:gap-12 relative ${s.value ? "flex-row-reverse" : ""} tile-content-inner ${((y = o.value) == null ? void 0 : y.bodyCopy) ?? ""}`)
|
|
9200
9204
|
}, [
|
|
9201
9205
|
T("div", {
|
|
9202
|
-
class: x(`tile-content-text flex-auto relative z-20 flex flex-col justify-center ${((
|
|
9206
|
+
class: x(`tile-content-text flex-auto relative z-20 flex flex-col justify-center ${((_ = o.value) == null ? void 0 : _.text) ?? ""} text-left ${s.value ? "items-start" : "items-end"}`)
|
|
9203
9207
|
}, [
|
|
9204
9208
|
u.headline ? (m(), M("h3", {
|
|
9205
9209
|
key: 0,
|
|
@@ -9243,7 +9247,7 @@ const Ka = ["innerHTML"], Xa = ["innerHTML"], Ga = ["src"], Ja = /* @__PURE__ */
|
|
|
9243
9247
|
}, null, 10, Ga)) : S("", !0),
|
|
9244
9248
|
u.tileLabel || u.tileLabelType ? (m(), z(f, D({ key: 1 }, u.tileLabel, {
|
|
9245
9249
|
class: {
|
|
9246
|
-
[((O = o.value) == null ? void 0 : O.numericLabel) ?? ""]: u.tileLabelType === "Numeric" || ((
|
|
9250
|
+
[((O = o.value) == null ? void 0 : O.numericLabel) ?? ""]: u.tileLabelType === "Numeric" || ((k = u.tileLabel) == null ? void 0 : k.type) === "Numeric",
|
|
9247
9251
|
[((E = o.value) == null ? void 0 : E.label) ?? ""]: u.tileLabelType === "Text" || ((R = u.tileLabel) == null ? void 0 : R.type) === "Text",
|
|
9248
9252
|
"top-1 md:top-8": !0,
|
|
9249
9253
|
"left-1": !s.value,
|
|
@@ -9315,7 +9319,7 @@ const Ka = ["innerHTML"], Xa = ["innerHTML"], Ga = ["src"], Ja = /* @__PURE__ */
|
|
|
9315
9319
|
"pt:content:class": "flex flex-col md:flex-row gap-8"
|
|
9316
9320
|
}, {
|
|
9317
9321
|
content: p2(() => {
|
|
9318
|
-
var c, d, u, h, f, g,
|
|
9322
|
+
var c, d, u, h, f, g, C, p, b;
|
|
9319
9323
|
return [
|
|
9320
9324
|
T("div", {
|
|
9321
9325
|
class: x((c = o.value) == null ? void 0 : c.mobileCollapsed)
|
|
@@ -9331,11 +9335,11 @@ const Ka = ["innerHTML"], Xa = ["innerHTML"], Ga = ["src"], Ja = /* @__PURE__ */
|
|
|
9331
9335
|
], 2),
|
|
9332
9336
|
(g = e.helloBannerData) != null && g.cta ? (m(), M("section", e6, [
|
|
9333
9337
|
F2(H2, D(e.helloBannerData.cta, {
|
|
9334
|
-
class: v(W)((
|
|
9338
|
+
class: v(W)((C = o.value) == null ? void 0 : C.cta, "cta")
|
|
9335
9339
|
}), null, 16, ["class"])
|
|
9336
9340
|
])) : S("", !0),
|
|
9337
9341
|
F2(v(pt), {
|
|
9338
|
-
class: x([(
|
|
9342
|
+
class: x([(p = o.value) == null ? void 0 : p.toggle, "toggle"]),
|
|
9339
9343
|
"pt:root:class": (b = o.value) == null ? void 0 : b.toggle,
|
|
9340
9344
|
tabindex: "0",
|
|
9341
9345
|
"aria-label": t.value === "minimized" ? "Expand banner" : "Minimize banner",
|
|
@@ -10483,45 +10487,45 @@ function C3(n, e, t, i) {
|
|
|
10483
10487
|
}
|
|
10484
10488
|
function bi(n, e, t, i, o) {
|
|
10485
10489
|
let s, r, a, l, c, d, u, h;
|
|
10486
|
-
const f = e.pointStyle, g = e.rotation,
|
|
10487
|
-
let
|
|
10490
|
+
const f = e.pointStyle, g = e.rotation, C = e.radius;
|
|
10491
|
+
let p = (g || 0) * P6;
|
|
10488
10492
|
if (f && typeof f == "object" && (s = f.toString(), s === "[object HTMLImageElement]" || s === "[object HTMLCanvasElement]")) {
|
|
10489
|
-
n.save(), n.translate(t, i), n.rotate(
|
|
10493
|
+
n.save(), n.translate(t, i), n.rotate(p), n.drawImage(f, -f.width / 2, -f.height / 2, f.width, f.height), n.restore();
|
|
10490
10494
|
return;
|
|
10491
10495
|
}
|
|
10492
|
-
if (!(isNaN(
|
|
10496
|
+
if (!(isNaN(C) || C <= 0)) {
|
|
10493
10497
|
switch (n.beginPath(), f) {
|
|
10494
10498
|
default:
|
|
10495
|
-
o ? n.ellipse(t, i, o / 2,
|
|
10499
|
+
o ? n.ellipse(t, i, o / 2, C, 0, 0, g2) : n.arc(t, i, C, 0, g2), n.closePath();
|
|
10496
10500
|
break;
|
|
10497
10501
|
case "triangle":
|
|
10498
|
-
d = o ? o / 2 :
|
|
10502
|
+
d = o ? o / 2 : C, n.moveTo(t + Math.sin(p) * d, i - Math.cos(p) * C), p += r3, n.lineTo(t + Math.sin(p) * d, i - Math.cos(p) * C), p += r3, n.lineTo(t + Math.sin(p) * d, i - Math.cos(p) * C), n.closePath();
|
|
10499
10503
|
break;
|
|
10500
10504
|
case "rectRounded":
|
|
10501
|
-
c =
|
|
10505
|
+
c = C * 0.516, l = C - c, r = Math.cos(p + C0) * l, u = Math.cos(p + C0) * (o ? o / 2 - c : l), a = Math.sin(p + C0) * l, h = Math.sin(p + C0) * (o ? o / 2 - c : l), n.arc(t - u, i - a, c, p - a2, p - v2), n.arc(t + h, i - r, c, p - v2, p), n.arc(t + u, i + a, c, p, p + v2), n.arc(t - h, i + r, c, p + v2, p + a2), n.closePath();
|
|
10502
10506
|
break;
|
|
10503
10507
|
case "rect":
|
|
10504
10508
|
if (!g) {
|
|
10505
|
-
l = Math.SQRT1_2 *
|
|
10509
|
+
l = Math.SQRT1_2 * C, d = o ? o / 2 : l, n.rect(t - d, i - l, 2 * d, 2 * l);
|
|
10506
10510
|
break;
|
|
10507
10511
|
}
|
|
10508
|
-
|
|
10512
|
+
p += C0;
|
|
10509
10513
|
case "rectRot":
|
|
10510
|
-
u = Math.cos(
|
|
10514
|
+
u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, h = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + h, i - r), n.lineTo(t + u, i + a), n.lineTo(t - h, i + r), n.closePath();
|
|
10511
10515
|
break;
|
|
10512
10516
|
case "crossRot":
|
|
10513
|
-
|
|
10517
|
+
p += C0;
|
|
10514
10518
|
case "cross":
|
|
10515
|
-
u = Math.cos(
|
|
10519
|
+
u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, h = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + h, i - r), n.lineTo(t - h, i + r);
|
|
10516
10520
|
break;
|
|
10517
10521
|
case "star":
|
|
10518
|
-
u = Math.cos(
|
|
10522
|
+
u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, h = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + h, i - r), n.lineTo(t - h, i + r), p += C0, u = Math.cos(p) * (o ? o / 2 : C), r = Math.cos(p) * C, a = Math.sin(p) * C, h = Math.sin(p) * (o ? o / 2 : C), n.moveTo(t - u, i - a), n.lineTo(t + u, i + a), n.moveTo(t + h, i - r), n.lineTo(t - h, i + r);
|
|
10519
10523
|
break;
|
|
10520
10524
|
case "line":
|
|
10521
|
-
r = o ? o / 2 : Math.cos(
|
|
10525
|
+
r = o ? o / 2 : Math.cos(p) * C, a = Math.sin(p) * C, n.moveTo(t - r, i - a), n.lineTo(t + r, i + a);
|
|
10522
10526
|
break;
|
|
10523
10527
|
case "dash":
|
|
10524
|
-
n.moveTo(t, i), n.lineTo(t + Math.cos(
|
|
10528
|
+
n.moveTo(t, i), n.lineTo(t + Math.cos(p) * (o ? o / 2 : C), i + Math.sin(p) * C);
|
|
10525
10529
|
break;
|
|
10526
10530
|
case !1:
|
|
10527
10531
|
n.closePath();
|
|
@@ -11400,10 +11404,10 @@ function _3(n, e) {
|
|
|
11400
11404
|
const { chart: t, _cachedMeta: i } = n, o = t._stacks || (t._stacks = {}), { iScale: s, vScale: r, index: a } = i, l = s.axis, c = r.axis, d = F5(s, r, i), u = e.length;
|
|
11401
11405
|
let h;
|
|
11402
11406
|
for (let f = 0; f < u; ++f) {
|
|
11403
|
-
const g = e[f], { [l]:
|
|
11404
|
-
h = b[c] = R5(o, d,
|
|
11407
|
+
const g = e[f], { [l]: C, [c]: p } = g, b = g._stacks || (g._stacks = {});
|
|
11408
|
+
h = b[c] = R5(o, d, C), h[a] = p, h._top = w3(h, r, !0, i.type), h._bottom = w3(h, r, !1, i.type);
|
|
11405
11409
|
const y = h._visualValues || (h._visualValues = {});
|
|
11406
|
-
y[a] =
|
|
11410
|
+
y[a] = p;
|
|
11407
11411
|
}
|
|
11408
11412
|
}
|
|
11409
11413
|
function Ft(n, e) {
|
|
@@ -11585,8 +11589,8 @@ class le {
|
|
|
11585
11589
|
let h, f;
|
|
11586
11590
|
function g() {
|
|
11587
11591
|
f = o[h];
|
|
11588
|
-
const
|
|
11589
|
-
return !_2(f[e.axis]) || d >
|
|
11592
|
+
const C = f[a.axis];
|
|
11593
|
+
return !_2(f[e.axis]) || d > C || u < C;
|
|
11590
11594
|
}
|
|
11591
11595
|
for (h = 0; h < r && !(!g() && (this.updateRangeFromParsed(c, e, f, l), s)); ++h)
|
|
11592
11596
|
;
|
|
@@ -11664,8 +11668,8 @@ class le {
|
|
|
11664
11668
|
] : [
|
|
11665
11669
|
e,
|
|
11666
11670
|
""
|
|
11667
|
-
], h = c.getOptionScopes(this.getDataset(), d), f = Object.keys(m2.elements[e]), g = () => this.getContext(i, o, t),
|
|
11668
|
-
return
|
|
11671
|
+
], h = c.getOptionScopes(this.getDataset(), d), f = Object.keys(m2.elements[e]), g = () => this.getContext(i, o, t), C = c.resolveNamedOptions(h, f, g, u);
|
|
11672
|
+
return C.$shared && (C.$shared = l, s[r] = Object.freeze(k3(C, l))), C;
|
|
11669
11673
|
}
|
|
11670
11674
|
_resolveAnimations(e, t, i) {
|
|
11671
11675
|
const o = this.chart, s = this._cachedDataOpts, r = `animation-${t}`, a = s[r];
|
|
@@ -11808,8 +11812,8 @@ Y(le, "defaults", {}), Y(le, "datasetElementType", null), Y(le, "dataElementType
|
|
|
11808
11812
|
function N5(n, e, t) {
|
|
11809
11813
|
let i = 1, o = 1, s = 0, r = 0;
|
|
11810
11814
|
if (e < g2) {
|
|
11811
|
-
const a = n, l = a + e, c = Math.cos(a), d = Math.sin(a), u = Math.cos(l), h = Math.sin(l), f = (
|
|
11812
|
-
i = (
|
|
11815
|
+
const a = n, l = a + e, c = Math.cos(a), d = Math.sin(a), u = Math.cos(l), h = Math.sin(l), f = (_, B, $) => st(_, a, l, !0) ? 1 : Math.max(B, B * t, $, $ * t), g = (_, B, $) => st(_, a, l, !0) ? -1 : Math.min(B, B * t, $, $ * t), C = f(0, c, u), p = f(v2, d, h), b = g(a2, c, u), y = g(a2 + v2, d, h);
|
|
11816
|
+
i = (C - b) / 2, o = (p - y) / 2, s = -(C + b) / 2, r = -(p + y) / 2;
|
|
11813
11817
|
}
|
|
11814
11818
|
return {
|
|
11815
11819
|
ratioX: i,
|
|
@@ -11858,29 +11862,29 @@ class P0 extends le {
|
|
|
11858
11862
|
};
|
|
11859
11863
|
}
|
|
11860
11864
|
update(e) {
|
|
11861
|
-
const t = this.chart, { chartArea: i } = t, o = this._cachedMeta, s = o.data, r = this.getMaxBorderWidth() + this.getMaxOffset(s) + this.options.spacing, a = Math.max((Math.min(i.width, i.height) - r) / 2, 0), l = Math.min(A6(this.options.cutout, a), 1), c = this._getRingWeight(this.index), { circumference: d, rotation: u } = this._getRotationExtents(), { ratioX: h, ratioY: f, offsetX: g, offsetY:
|
|
11862
|
-
this.offsetX = g *
|
|
11865
|
+
const t = this.chart, { chartArea: i } = t, o = this._cachedMeta, s = o.data, r = this.getMaxBorderWidth() + this.getMaxOffset(s) + this.options.spacing, a = Math.max((Math.min(i.width, i.height) - r) / 2, 0), l = Math.min(A6(this.options.cutout, a), 1), c = this._getRingWeight(this.index), { circumference: d, rotation: u } = this._getRotationExtents(), { ratioX: h, ratioY: f, offsetX: g, offsetY: C } = N5(u, d, l), p = (i.width - r) / h, b = (i.height - r) / f, y = Math.max(Math.min(p, b) / 2, 0), _ = li(this.options.radius, y), B = Math.max(_ * l, 0), $ = (_ - B) / this._getVisibleDatasetWeightTotal();
|
|
11866
|
+
this.offsetX = g * _, this.offsetY = C * _, o.total = this.calculateTotal(), this.outerRadius = _ - $ * this._getRingWeightOffset(this.index), this.innerRadius = Math.max(this.outerRadius - $ * c, 0), this.updateElements(s, 0, s.length, e);
|
|
11863
11867
|
}
|
|
11864
11868
|
_circumference(e, t) {
|
|
11865
11869
|
const i = this.options, o = this._cachedMeta, s = this._getCircumference();
|
|
11866
11870
|
return t && i.animation.animateRotate || !this.chart.getDataVisibility(e) || o._parsed[e] === null || o.data[e].hidden ? 0 : this.calculateCircumference(o._parsed[e] * s / g2);
|
|
11867
11871
|
}
|
|
11868
11872
|
updateElements(e, t, i, o) {
|
|
11869
|
-
const s = o === "reset", r = this.chart, a = r.chartArea, c = r.options.animation, d = (a.left + a.right) / 2, u = (a.top + a.bottom) / 2, h = s && c.animateScale, f = h ? 0 : this.innerRadius, g = h ? 0 : this.outerRadius, { sharedOptions:
|
|
11873
|
+
const s = o === "reset", r = this.chart, a = r.chartArea, c = r.options.animation, d = (a.left + a.right) / 2, u = (a.top + a.bottom) / 2, h = s && c.animateScale, f = h ? 0 : this.innerRadius, g = h ? 0 : this.outerRadius, { sharedOptions: C, includeOptions: p } = this._getSharedOptions(t, o);
|
|
11870
11874
|
let b = this._getRotation(), y;
|
|
11871
11875
|
for (y = 0; y < t; ++y)
|
|
11872
11876
|
b += this._circumference(y, s);
|
|
11873
11877
|
for (y = t; y < t + i; ++y) {
|
|
11874
|
-
const
|
|
11878
|
+
const _ = this._circumference(y, s), B = e[y], $ = {
|
|
11875
11879
|
x: d + this.offsetX,
|
|
11876
11880
|
y: u + this.offsetY,
|
|
11877
11881
|
startAngle: b,
|
|
11878
|
-
endAngle: b +
|
|
11879
|
-
circumference:
|
|
11882
|
+
endAngle: b + _,
|
|
11883
|
+
circumference: _,
|
|
11880
11884
|
outerRadius: g,
|
|
11881
11885
|
innerRadius: f
|
|
11882
11886
|
};
|
|
11883
|
-
|
|
11887
|
+
p && ($.options = C || this.resolveDataElementOptions(y, B.active ? "active" : o)), b += _, this.updateElement(B, y, $, o);
|
|
11884
11888
|
}
|
|
11885
11889
|
}
|
|
11886
11890
|
calculateTotal() {
|
|
@@ -12082,9 +12086,9 @@ function W5(n, e, t, i) {
|
|
|
12082
12086
|
} else {
|
|
12083
12087
|
const d = c(s, e, t);
|
|
12084
12088
|
if (l) {
|
|
12085
|
-
const { vScale: u } = o._cachedMeta, { _parsed: h } = n, f = h.slice(0, d.lo + 1).reverse().findIndex((
|
|
12089
|
+
const { vScale: u } = o._cachedMeta, { _parsed: h } = n, f = h.slice(0, d.lo + 1).reverse().findIndex((C) => !h2(C[u.axis]));
|
|
12086
12090
|
d.lo -= Math.max(0, f);
|
|
12087
|
-
const g = h.slice(d.hi).findIndex((
|
|
12091
|
+
const g = h.slice(d.hi).findIndex((C) => !h2(C[u.axis]));
|
|
12088
12092
|
d.hi += Math.max(0, g);
|
|
12089
12093
|
}
|
|
12090
12094
|
return d;
|
|
@@ -12151,14 +12155,14 @@ function q5(n, e, t, i, o, s) {
|
|
|
12151
12155
|
const g = d.getCenterPoint(o);
|
|
12152
12156
|
if (!(!!s || n.isPointInArea(g)) && !f)
|
|
12153
12157
|
return;
|
|
12154
|
-
const
|
|
12155
|
-
|
|
12158
|
+
const p = a(e, g);
|
|
12159
|
+
p < l ? (r = [
|
|
12156
12160
|
{
|
|
12157
12161
|
element: d,
|
|
12158
12162
|
datasetIndex: u,
|
|
12159
12163
|
index: h
|
|
12160
12164
|
}
|
|
12161
|
-
], l =
|
|
12165
|
+
], l = p) : p === l && r.push({
|
|
12162
12166
|
element: d,
|
|
12163
12167
|
datasetIndex: u,
|
|
12164
12168
|
index: h
|
|
@@ -12408,10 +12412,10 @@ var d0 = {
|
|
|
12408
12412
|
if (!n)
|
|
12409
12413
|
return;
|
|
12410
12414
|
const o = S2(n.options.layout.padding), s = Math.max(e - o.width, 0), r = Math.max(t - o.height, 0), a = Q5(n.boxes), l = a.vertical, c = a.horizontal;
|
|
12411
|
-
s2(n.boxes, (
|
|
12412
|
-
typeof
|
|
12415
|
+
s2(n.boxes, (C) => {
|
|
12416
|
+
typeof C.beforeLayout == "function" && C.beforeLayout();
|
|
12413
12417
|
});
|
|
12414
|
-
const d = l.reduce((
|
|
12418
|
+
const d = l.reduce((C, p) => p.box.options && p.box.options.display === !1 ? C : C + 1, 0) || 1, u = Object.freeze({
|
|
12415
12419
|
outerWidth: e,
|
|
12416
12420
|
outerHeight: t,
|
|
12417
12421
|
padding: o,
|
|
@@ -12435,9 +12439,9 @@ var d0 = {
|
|
|
12435
12439
|
bottom: f.top + f.h,
|
|
12436
12440
|
height: f.h,
|
|
12437
12441
|
width: f.w
|
|
12438
|
-
}, s2(a.chartArea, (
|
|
12439
|
-
const
|
|
12440
|
-
Object.assign(
|
|
12442
|
+
}, s2(a.chartArea, (C) => {
|
|
12443
|
+
const p = C.box;
|
|
12444
|
+
Object.assign(p, n.chartArea), p.update(f.w, f.h, {
|
|
12441
12445
|
left: 0,
|
|
12442
12446
|
top: 0,
|
|
12443
12447
|
right: 0,
|
|
@@ -12800,20 +12804,20 @@ function Sl(n, e, t) {
|
|
|
12800
12804
|
function $l(n, e, t, i) {
|
|
12801
12805
|
const { top: o, left: s, bottom: r, right: a, chart: l } = n, { chartArea: c, scales: d } = l;
|
|
12802
12806
|
let u = 0, h, f, g;
|
|
12803
|
-
const
|
|
12807
|
+
const C = r - o, p = a - s;
|
|
12804
12808
|
if (n.isHorizontal()) {
|
|
12805
12809
|
if (f = L2(i, s, a), e2(t)) {
|
|
12806
12810
|
const b = Object.keys(t)[0], y = t[b];
|
|
12807
|
-
g = d[b].getPixelForValue(y) +
|
|
12811
|
+
g = d[b].getPixelForValue(y) + C - e;
|
|
12808
12812
|
} else
|
|
12809
|
-
t === "center" ? g = (c.bottom + c.top) / 2 +
|
|
12813
|
+
t === "center" ? g = (c.bottom + c.top) / 2 + C - e : g = P3(n, t, e);
|
|
12810
12814
|
h = a - s;
|
|
12811
12815
|
} else {
|
|
12812
12816
|
if (e2(t)) {
|
|
12813
12817
|
const b = Object.keys(t)[0], y = t[b];
|
|
12814
|
-
f = d[b].getPixelForValue(y) -
|
|
12818
|
+
f = d[b].getPixelForValue(y) - p + e;
|
|
12815
12819
|
} else
|
|
12816
|
-
t === "center" ? f = (c.left + c.right) / 2 -
|
|
12820
|
+
t === "center" ? f = (c.left + c.right) / 2 - p + e : f = P3(n, t, e);
|
|
12817
12821
|
g = L2(i, r, o), u = t === "left" ? -v2 : v2;
|
|
12818
12822
|
}
|
|
12819
12823
|
return {
|
|
@@ -12998,15 +13002,15 @@ class z0 extends _0 {
|
|
|
12998
13002
|
if (r) {
|
|
12999
13003
|
const l = O3(o, t.options.font);
|
|
13000
13004
|
if (a ? (e.width = this.maxWidth, e.height = K0(s) + l) : (e.height = this.maxHeight, e.width = K0(s) + l), i.display && this.ticks.length) {
|
|
13001
|
-
const { first: c, last: d, widest: u, highest: h } = this._getLabelSizes(), f = i.padding * 2, g = Y2(this.labelRotation),
|
|
13005
|
+
const { first: c, last: d, widest: u, highest: h } = this._getLabelSizes(), f = i.padding * 2, g = Y2(this.labelRotation), C = Math.cos(g), p = Math.sin(g);
|
|
13002
13006
|
if (a) {
|
|
13003
|
-
const b = i.mirror ? 0 :
|
|
13007
|
+
const b = i.mirror ? 0 : p * u.width + C * h.height;
|
|
13004
13008
|
e.height = Math.min(this.maxHeight, e.height + b + f);
|
|
13005
13009
|
} else {
|
|
13006
|
-
const b = i.mirror ? 0 :
|
|
13010
|
+
const b = i.mirror ? 0 : C * u.width + p * h.height;
|
|
13007
13011
|
e.width = Math.min(this.maxWidth, e.width + b + f);
|
|
13008
13012
|
}
|
|
13009
|
-
this._calculatePadding(c, d,
|
|
13013
|
+
this._calculatePadding(c, d, p, C);
|
|
13010
13014
|
}
|
|
13011
13015
|
}
|
|
13012
13016
|
this._handleMargins(), a ? (this.width = this._length = t.width - this._margins.left - this._margins.right, this.height = e.height) : (this.width = e.width, this.height = this._length = t.height - this._margins.top - this._margins.bottom);
|
|
@@ -13055,28 +13059,28 @@ class z0 extends _0 {
|
|
|
13055
13059
|
}
|
|
13056
13060
|
_computeLabelSizes(e, t, i) {
|
|
13057
13061
|
const { ctx: o, _longestTextCache: s } = this, r = [], a = [], l = Math.floor(t / I3(t, i));
|
|
13058
|
-
let c = 0, d = 0, u, h, f, g,
|
|
13062
|
+
let c = 0, d = 0, u, h, f, g, C, p, b, y, _, B, $;
|
|
13059
13063
|
for (u = 0; u < t; u += l) {
|
|
13060
|
-
if (g = e[u].label,
|
|
13064
|
+
if (g = e[u].label, C = this._resolveTickFontOptions(u), o.font = p = C.string, b = s[p] = s[p] || {
|
|
13061
13065
|
data: {},
|
|
13062
13066
|
gc: []
|
|
13063
|
-
}, y =
|
|
13064
|
-
|
|
13067
|
+
}, y = C.lineHeight, _ = B = 0, !h2(g) && !b2(g))
|
|
13068
|
+
_ = rt(o, b.data, b.gc, _, g), B = y;
|
|
13065
13069
|
else if (b2(g))
|
|
13066
13070
|
for (h = 0, f = g.length; h < f; ++h)
|
|
13067
|
-
$ = g[h], !h2($) && !b2($) && (
|
|
13068
|
-
r.push(
|
|
13071
|
+
$ = g[h], !h2($) && !b2($) && (_ = rt(o, b.data, b.gc, _, $), B += y);
|
|
13072
|
+
r.push(_), a.push(B), c = Math.max(_, c), d = Math.max(B, d);
|
|
13069
13073
|
}
|
|
13070
13074
|
kl(s, t);
|
|
13071
|
-
const Z = r.indexOf(c), O = a.indexOf(d),
|
|
13075
|
+
const Z = r.indexOf(c), O = a.indexOf(d), k = (E) => ({
|
|
13072
13076
|
width: r[E] || 0,
|
|
13073
13077
|
height: a[E] || 0
|
|
13074
13078
|
});
|
|
13075
13079
|
return {
|
|
13076
|
-
first:
|
|
13077
|
-
last:
|
|
13078
|
-
widest:
|
|
13079
|
-
highest:
|
|
13080
|
+
first: k(0),
|
|
13081
|
+
last: k(t - 1),
|
|
13082
|
+
widest: k(Z),
|
|
13083
|
+
highest: k(O),
|
|
13080
13084
|
widths: r,
|
|
13081
13085
|
heights: a
|
|
13082
13086
|
};
|
|
@@ -13126,18 +13130,18 @@ class z0 extends _0 {
|
|
|
13126
13130
|
return e !== "auto" ? !!e : this.getMatchingVisibleMetas().length > 0;
|
|
13127
13131
|
}
|
|
13128
13132
|
_computeGridLineItems(e) {
|
|
13129
|
-
const t = this.axis, i = this.chart, o = this.options, { grid: s, position: r, border: a } = o, l = s.offset, c = this.isHorizontal(), u = this.ticks.length + (l ? 1 : 0), h = K0(s), f = [], g = a.setContext(this.getContext()),
|
|
13130
|
-
return g0(i, w,
|
|
13133
|
+
const t = this.axis, i = this.chart, o = this.options, { grid: s, position: r, border: a } = o, l = s.offset, c = this.isHorizontal(), u = this.ticks.length + (l ? 1 : 0), h = K0(s), f = [], g = a.setContext(this.getContext()), C = g.display ? g.width : 0, p = C / 2, b = function(w) {
|
|
13134
|
+
return g0(i, w, C);
|
|
13131
13135
|
};
|
|
13132
|
-
let y,
|
|
13136
|
+
let y, _, B, $, Z, O, k, E, R, j, L, P;
|
|
13133
13137
|
if (r === "top")
|
|
13134
|
-
y = b(this.bottom), O = this.bottom - h, E = y -
|
|
13138
|
+
y = b(this.bottom), O = this.bottom - h, E = y - p, j = b(e.top) + p, P = e.bottom;
|
|
13135
13139
|
else if (r === "bottom")
|
|
13136
|
-
y = b(this.top), j = e.top, P = b(e.bottom) -
|
|
13140
|
+
y = b(this.top), j = e.top, P = b(e.bottom) - p, O = y + p, E = this.top + h;
|
|
13137
13141
|
else if (r === "left")
|
|
13138
|
-
y = b(this.right), Z = this.right - h,
|
|
13142
|
+
y = b(this.right), Z = this.right - h, k = y - p, R = b(e.left) + p, L = e.right;
|
|
13139
13143
|
else if (r === "right")
|
|
13140
|
-
y = b(this.left), R = e.left, L = b(e.right) -
|
|
13144
|
+
y = b(this.left), R = e.left, L = b(e.right) - p, Z = y + p, k = this.left + h;
|
|
13141
13145
|
else if (t === "x") {
|
|
13142
13146
|
if (r === "center")
|
|
13143
13147
|
y = b((e.top + e.bottom) / 2 + 0.5);
|
|
@@ -13145,7 +13149,7 @@ class z0 extends _0 {
|
|
|
13145
13149
|
const w = Object.keys(r)[0], I = r[w];
|
|
13146
13150
|
y = b(this.chart.scales[w].getPixelForValue(I));
|
|
13147
13151
|
}
|
|
13148
|
-
j = e.top, P = e.bottom, O = y +
|
|
13152
|
+
j = e.top, P = e.bottom, O = y + p, E = O + h;
|
|
13149
13153
|
} else if (t === "y") {
|
|
13150
13154
|
if (r === "center")
|
|
13151
13155
|
y = b((e.left + e.right) / 2);
|
|
@@ -13153,15 +13157,15 @@ class z0 extends _0 {
|
|
|
13153
13157
|
const w = Object.keys(r)[0], I = r[w];
|
|
13154
13158
|
y = b(this.chart.scales[w].getPixelForValue(I));
|
|
13155
13159
|
}
|
|
13156
|
-
Z = y -
|
|
13160
|
+
Z = y - p, k = Z - h, R = e.left, L = e.right;
|
|
13157
13161
|
}
|
|
13158
13162
|
const H = i2(o.ticks.maxTicksLimit, u), F = Math.max(1, Math.ceil(u / H));
|
|
13159
|
-
for (
|
|
13160
|
-
const w = this.getContext(
|
|
13161
|
-
B = _l(this,
|
|
13163
|
+
for (_ = 0; _ < u; _ += F) {
|
|
13164
|
+
const w = this.getContext(_), I = s.setContext(w), N = a.setContext(w), V = I.lineWidth, r2 = I.color, l2 = N.dash || [], Z2 = N.dashOffset, $2 = I.tickWidth, z2 = I.tickColor, e0 = I.tickBorderDash || [], N2 = I.tickBorderDashOffset;
|
|
13165
|
+
B = _l(this, _, l), B !== void 0 && ($ = g0(i, B, V), c ? Z = k = R = L = $ : O = E = j = P = $, f.push({
|
|
13162
13166
|
tx1: Z,
|
|
13163
13167
|
ty1: O,
|
|
13164
|
-
tx2:
|
|
13168
|
+
tx2: k,
|
|
13165
13169
|
ty2: E,
|
|
13166
13170
|
x1: R,
|
|
13167
13171
|
y1: j,
|
|
@@ -13180,8 +13184,8 @@ class z0 extends _0 {
|
|
|
13180
13184
|
return this._ticksLength = u, this._borderValue = y, f;
|
|
13181
13185
|
}
|
|
13182
13186
|
_computeLabelItems(e) {
|
|
13183
|
-
const t = this.axis, i = this.options, { position: o, ticks: s } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: d, mirror: u } = s, h = K0(i.grid), f = h + d, g = u ? -d : f,
|
|
13184
|
-
let b, y,
|
|
13187
|
+
const t = this.axis, i = this.options, { position: o, ticks: s } = i, r = this.isHorizontal(), a = this.ticks, { align: l, crossAlign: c, padding: d, mirror: u } = s, h = K0(i.grid), f = h + d, g = u ? -d : f, C = -Y2(this.labelRotation), p = [];
|
|
13188
|
+
let b, y, _, B, $, Z, O, k, E, R, j, L, P = "middle";
|
|
13185
13189
|
if (o === "top")
|
|
13186
13190
|
Z = this.bottom - g, O = this._getXAxisLabelAlignment();
|
|
13187
13191
|
else if (o === "bottom")
|
|
@@ -13212,12 +13216,12 @@ class z0 extends _0 {
|
|
|
13212
13216
|
t === "y" && (l === "start" ? P = "top" : l === "end" && (P = "bottom"));
|
|
13213
13217
|
const H = this._getLabelSizes();
|
|
13214
13218
|
for (b = 0, y = a.length; b < y; ++b) {
|
|
13215
|
-
|
|
13219
|
+
_ = a[b], B = _.label;
|
|
13216
13220
|
const F = s.setContext(this.getContext(b));
|
|
13217
|
-
|
|
13221
|
+
k = this.getPixelForTick(b) + s.labelOffset, E = this._resolveTickFontOptions(b), R = E.lineHeight, j = b2(B) ? B.length : 1;
|
|
13218
13222
|
const w = j / 2, I = F.color, N = F.textStrokeColor, V = F.textStrokeWidth;
|
|
13219
13223
|
let r2 = O;
|
|
13220
|
-
r ? ($ =
|
|
13224
|
+
r ? ($ = k, O === "inner" && (b === y - 1 ? r2 = this.options.reverse ? "left" : "right" : b === 0 ? r2 = this.options.reverse ? "right" : "left" : r2 = "center"), o === "top" ? c === "near" || C !== 0 ? L = -j * R + R / 2 : c === "center" ? L = -H.highest.height / 2 - w * R + R : L = -H.highest.height + R / 2 : c === "near" || C !== 0 ? L = R / 2 : c === "center" ? L = H.highest.height / 2 - w * R : L = H.highest.height - j * R, u && (L *= -1), C !== 0 && !F.showLabelBackdrop && ($ += R / 2 * Math.sin(C))) : (Z = k, L = (1 - j) * R / 2);
|
|
13221
13225
|
let l2;
|
|
13222
13226
|
if (F.showLabelBackdrop) {
|
|
13223
13227
|
const Z2 = S2(F.backdropPadding), $2 = H.heights[b], z2 = H.widths[b];
|
|
@@ -13249,12 +13253,12 @@ class z0 extends _0 {
|
|
|
13249
13253
|
color: F.backdropColor
|
|
13250
13254
|
};
|
|
13251
13255
|
}
|
|
13252
|
-
|
|
13256
|
+
p.push({
|
|
13253
13257
|
label: B,
|
|
13254
13258
|
font: E,
|
|
13255
13259
|
textOffset: L,
|
|
13256
13260
|
options: {
|
|
13257
|
-
rotation:
|
|
13261
|
+
rotation: C,
|
|
13258
13262
|
color: I,
|
|
13259
13263
|
strokeColor: N,
|
|
13260
13264
|
strokeWidth: V,
|
|
@@ -13268,7 +13272,7 @@ class z0 extends _0 {
|
|
|
13268
13272
|
}
|
|
13269
13273
|
});
|
|
13270
13274
|
}
|
|
13271
|
-
return
|
|
13275
|
+
return p;
|
|
13272
13276
|
}
|
|
13273
13277
|
_getXAxisLabelAlignment() {
|
|
13274
13278
|
const { position: e, ticks: t } = this.options;
|
|
@@ -14427,8 +14431,8 @@ function Ql(n, e, t) {
|
|
|
14427
14431
|
if (d === "round")
|
|
14428
14432
|
n.arc(o, s, h, t - a2 / 2, i + a2 / 2, !0);
|
|
14429
14433
|
else if (d === "bevel") {
|
|
14430
|
-
const f = 2 * h * h, g = -f * Math.cos(t + a2 / 2) + o,
|
|
14431
|
-
n.lineTo(g,
|
|
14434
|
+
const f = 2 * h * h, g = -f * Math.cos(t + a2 / 2) + o, C = -f * Math.sin(t + a2 / 2) + s, p = f * Math.cos(i + a2 / 2) + o, b = f * Math.sin(i + a2 / 2) + s;
|
|
14435
|
+
n.lineTo(g, C), n.lineTo(p, b);
|
|
14432
14436
|
}
|
|
14433
14437
|
}
|
|
14434
14438
|
n.closePath(), n.moveTo(0, 0), n.rect(0, 0, n.canvas.width, n.canvas.height), n.clip("evenodd");
|
|
@@ -14472,11 +14476,11 @@ function dt(n, e, t, i, o, s) {
|
|
|
14472
14476
|
const F = d > 0 ? d - i : 0, w = u > 0 ? u - i : 0, I = (F + w) / 2, N = I !== 0 ? g * I / (I + i) : g;
|
|
14473
14477
|
f = (g - N) / 2;
|
|
14474
14478
|
}
|
|
14475
|
-
const
|
|
14479
|
+
const C = Math.max(1e-3, g * u - t / a2) / u, p = (g - C) / 2, b = l + p + f, y = o - p - f, { outerStart: _, outerEnd: B, innerStart: $, innerEnd: Z } = n8(e, h, u, y - b), O = u - _, k = u - B, E = b + _ / O, R = y - B / k, j = h + $, L = h + Z, P = b + $ / j, H = y - Z / L;
|
|
14476
14480
|
if (n.beginPath(), s) {
|
|
14477
14481
|
const F = (E + R) / 2;
|
|
14478
14482
|
if (n.arc(r, a, u, E, F), n.arc(r, a, u, F, R), B > 0) {
|
|
14479
|
-
const V = $0(
|
|
14483
|
+
const V = $0(k, R, r, a);
|
|
14480
14484
|
n.arc(V.x, V.y, B, R, y + v2);
|
|
14481
14485
|
}
|
|
14482
14486
|
const w = $0(L, y, r, a);
|
|
@@ -14490,9 +14494,9 @@ function dt(n, e, t, i, o, s) {
|
|
|
14490
14494
|
n.arc(V.x, V.y, $, P + Math.PI, b - v2);
|
|
14491
14495
|
}
|
|
14492
14496
|
const N = $0(O, b, r, a);
|
|
14493
|
-
if (n.lineTo(N.x, N.y),
|
|
14497
|
+
if (n.lineTo(N.x, N.y), _ > 0) {
|
|
14494
14498
|
const V = $0(O, E, r, a);
|
|
14495
|
-
n.arc(V.x, V.y,
|
|
14499
|
+
n.arc(V.x, V.y, _, b - v2, E);
|
|
14496
14500
|
}
|
|
14497
14501
|
} else {
|
|
14498
14502
|
n.moveTo(r, a);
|
|
@@ -14519,14 +14523,14 @@ function o8(n, e, t, i, o) {
|
|
|
14519
14523
|
if (!c)
|
|
14520
14524
|
return;
|
|
14521
14525
|
n.setLineDash(u || []), n.lineDashOffset = h, g ? (n.lineWidth = c * 2, n.lineJoin = d || "round") : (n.lineWidth = c, n.lineJoin = d || "bevel");
|
|
14522
|
-
let
|
|
14526
|
+
let C = e.endAngle;
|
|
14523
14527
|
if (s) {
|
|
14524
|
-
dt(n, e, t, i,
|
|
14525
|
-
for (let
|
|
14528
|
+
dt(n, e, t, i, C, o);
|
|
14529
|
+
for (let p = 0; p < s; ++p)
|
|
14526
14530
|
n.stroke();
|
|
14527
|
-
isNaN(a) || (
|
|
14531
|
+
isNaN(a) || (C = r + (a % g2 || g2));
|
|
14528
14532
|
}
|
|
14529
|
-
g && e8(n, e,
|
|
14533
|
+
g && e8(n, e, C), l.selfJoin && C - r >= a2 && f === 0 && d !== "miter" && Ql(n, e, C), s || (dt(n, e, t, i, C, o), n.stroke());
|
|
14530
14534
|
}
|
|
14531
14535
|
class te extends _0 {
|
|
14532
14536
|
constructor(t) {
|
|
@@ -14553,8 +14557,8 @@ class te extends _0 {
|
|
|
14553
14557
|
"innerRadius",
|
|
14554
14558
|
"outerRadius",
|
|
14555
14559
|
"circumference"
|
|
14556
|
-
], o), f = (this.options.spacing + this.options.borderWidth) / 2, g = i2(h, c - l),
|
|
14557
|
-
return
|
|
14560
|
+
], o), f = (this.options.spacing + this.options.borderWidth) / 2, g = i2(h, c - l), C = st(r, l, c) && l !== c, p = g >= g2 || C, b = Q0(a, d + f, u + f);
|
|
14561
|
+
return p && b;
|
|
14558
14562
|
}
|
|
14559
14563
|
getCenterPoint(t) {
|
|
14560
14564
|
const { x: i, y: o, startAngle: s, endAngle: r, innerRadius: a, outerRadius: l } = this.getProps([
|
|
@@ -14645,32 +14649,32 @@ class U3 extends _0 {
|
|
|
14645
14649
|
let u = e;
|
|
14646
14650
|
s.textAlign = "left", s.textBaseline = "middle";
|
|
14647
14651
|
let h = -1, f = -d;
|
|
14648
|
-
return this.legendItems.forEach((g,
|
|
14649
|
-
const
|
|
14650
|
-
(
|
|
14652
|
+
return this.legendItems.forEach((g, C) => {
|
|
14653
|
+
const p = i + t / 2 + s.measureText(g.text).width;
|
|
14654
|
+
(C === 0 || c[c.length - 1] + p + 2 * a > r) && (u += d, c[c.length - (C > 0 ? 0 : 1)] = 0, f += d, h++), l[C] = {
|
|
14651
14655
|
left: 0,
|
|
14652
14656
|
top: f,
|
|
14653
14657
|
row: h,
|
|
14654
|
-
width:
|
|
14658
|
+
width: p,
|
|
14655
14659
|
height: o
|
|
14656
|
-
}, c[c.length - 1] +=
|
|
14660
|
+
}, c[c.length - 1] += p + a;
|
|
14657
14661
|
}), u;
|
|
14658
14662
|
}
|
|
14659
14663
|
_fitCols(e, t, i, o) {
|
|
14660
14664
|
const { ctx: s, maxHeight: r, options: { labels: { padding: a } } } = this, l = this.legendHitBoxes = [], c = this.columnSizes = [], d = r - e;
|
|
14661
|
-
let u = a, h = 0, f = 0, g = 0,
|
|
14662
|
-
return this.legendItems.forEach((
|
|
14663
|
-
const { itemWidth: y, itemHeight:
|
|
14664
|
-
b > 0 && f +
|
|
14665
|
+
let u = a, h = 0, f = 0, g = 0, C = 0;
|
|
14666
|
+
return this.legendItems.forEach((p, b) => {
|
|
14667
|
+
const { itemWidth: y, itemHeight: _ } = r8(i, t, s, p, o);
|
|
14668
|
+
b > 0 && f + _ + 2 * a > d && (u += h + a, c.push({
|
|
14665
14669
|
width: h,
|
|
14666
14670
|
height: f
|
|
14667
|
-
}), g += h + a,
|
|
14671
|
+
}), g += h + a, C++, h = f = 0), l[b] = {
|
|
14668
14672
|
left: g,
|
|
14669
14673
|
top: f,
|
|
14670
|
-
col:
|
|
14674
|
+
col: C,
|
|
14671
14675
|
width: y,
|
|
14672
|
-
height:
|
|
14673
|
-
}, h = Math.max(h, y), f +=
|
|
14676
|
+
height: _
|
|
14677
|
+
}, h = Math.max(h, y), f += _ + a;
|
|
14674
14678
|
}), u += h, c.push({
|
|
14675
14679
|
width: h,
|
|
14676
14680
|
height: f
|
|
@@ -14703,37 +14707,37 @@ class U3 extends _0 {
|
|
|
14703
14707
|
const { options: e, columnSizes: t, lineWidths: i, ctx: o } = this, { align: s, labels: r } = e, a = m2.color, l = O0(e.rtl, this.left, this.width), c = k2(r.font), { padding: d } = r, u = c.size, h = u / 2;
|
|
14704
14708
|
let f;
|
|
14705
14709
|
this.drawTitle(), o.textAlign = l.textAlign("left"), o.textBaseline = "middle", o.lineWidth = 0.5, o.font = c.string;
|
|
14706
|
-
const { boxWidth: g, boxHeight:
|
|
14707
|
-
if (isNaN(g) || g <= 0 || isNaN(
|
|
14710
|
+
const { boxWidth: g, boxHeight: C, itemHeight: p } = W3(r, u), b = function(Z, O, k) {
|
|
14711
|
+
if (isNaN(g) || g <= 0 || isNaN(C) || C < 0)
|
|
14708
14712
|
return;
|
|
14709
14713
|
o.save();
|
|
14710
|
-
const E = i2(
|
|
14711
|
-
if (o.fillStyle = i2(
|
|
14714
|
+
const E = i2(k.lineWidth, 1);
|
|
14715
|
+
if (o.fillStyle = i2(k.fillStyle, a), o.lineCap = i2(k.lineCap, "butt"), o.lineDashOffset = i2(k.lineDashOffset, 0), o.lineJoin = i2(k.lineJoin, "miter"), o.lineWidth = E, o.strokeStyle = i2(k.strokeStyle, a), o.setLineDash(i2(k.lineDash, [])), r.usePointStyle) {
|
|
14712
14716
|
const R = {
|
|
14713
|
-
radius:
|
|
14714
|
-
pointStyle:
|
|
14715
|
-
rotation:
|
|
14717
|
+
radius: C * Math.SQRT2 / 2,
|
|
14718
|
+
pointStyle: k.pointStyle,
|
|
14719
|
+
rotation: k.rotation,
|
|
14716
14720
|
borderWidth: E
|
|
14717
14721
|
}, j = l.xPlus(Z, g / 2), L = O + h;
|
|
14718
14722
|
bi(o, R, j, L, r.pointStyleWidth && g);
|
|
14719
14723
|
} else {
|
|
14720
|
-
const R = O + Math.max((u -
|
|
14724
|
+
const R = O + Math.max((u - C) / 2, 0), j = l.leftForLtr(Z, g), L = L0(k.borderRadius);
|
|
14721
14725
|
o.beginPath(), Object.values(L).some((P) => P !== 0) ? at(o, {
|
|
14722
14726
|
x: j,
|
|
14723
14727
|
y: R,
|
|
14724
14728
|
w: g,
|
|
14725
|
-
h:
|
|
14729
|
+
h: C,
|
|
14726
14730
|
radius: L
|
|
14727
|
-
}) : o.rect(j, R, g,
|
|
14731
|
+
}) : o.rect(j, R, g, C), o.fill(), E !== 0 && o.stroke();
|
|
14728
14732
|
}
|
|
14729
14733
|
o.restore();
|
|
14730
|
-
}, y = function(Z, O,
|
|
14731
|
-
F0(o,
|
|
14732
|
-
strikethrough:
|
|
14733
|
-
textAlign: l.textAlign(
|
|
14734
|
+
}, y = function(Z, O, k) {
|
|
14735
|
+
F0(o, k.text, Z, O + p / 2, c, {
|
|
14736
|
+
strikethrough: k.hidden,
|
|
14737
|
+
textAlign: l.textAlign(k.textAlign)
|
|
14734
14738
|
});
|
|
14735
|
-
},
|
|
14736
|
-
|
|
14739
|
+
}, _ = this.isHorizontal(), B = this._computeTitleHeight();
|
|
14740
|
+
_ ? f = {
|
|
14737
14741
|
x: L2(s, this.left + d, this.right - i[0]),
|
|
14738
14742
|
y: this.top + d + B,
|
|
14739
14743
|
line: 0
|
|
@@ -14742,14 +14746,14 @@ class U3 extends _0 {
|
|
|
14742
14746
|
y: L2(s, this.top + B + d, this.bottom - t[0].height),
|
|
14743
14747
|
line: 0
|
|
14744
14748
|
}, wi(this.ctx, e.textDirection);
|
|
14745
|
-
const $ =
|
|
14749
|
+
const $ = p + d;
|
|
14746
14750
|
this.legendItems.forEach((Z, O) => {
|
|
14747
14751
|
o.strokeStyle = Z.fontColor, o.fillStyle = Z.fontColor;
|
|
14748
|
-
const
|
|
14752
|
+
const k = o.measureText(Z.text).width, E = l.textAlign(Z.textAlign || (Z.textAlign = r.textAlign)), R = g + h + k;
|
|
14749
14753
|
let j = f.x, L = f.y;
|
|
14750
|
-
l.setWidth(this.width),
|
|
14754
|
+
l.setWidth(this.width), _ ? O > 0 && j + R + d > this.right && (L = f.y += $, f.line++, j = f.x = L2(s, this.left + d, this.right - i[f.line])) : O > 0 && L + $ > this.bottom && (j = f.x = j + t[f.line].width + d, f.line++, L = f.y = L2(s, this.top + B + d, this.bottom - t[f.line].height));
|
|
14751
14755
|
const P = l.x(j);
|
|
14752
|
-
if (b(P, L, Z), j = N6(E, j + g + h,
|
|
14756
|
+
if (b(P, L, Z), j = N6(E, j + g + h, _ ? j + R : this.right, e.rtl), y(l.x(j), L, Z), _)
|
|
14753
14757
|
f.x += R + d;
|
|
14754
14758
|
else if (typeof Z.text != "string") {
|
|
14755
14759
|
const H = c.lineHeight;
|
|
@@ -14767,7 +14771,7 @@ class U3 extends _0 {
|
|
|
14767
14771
|
if (this.isHorizontal())
|
|
14768
14772
|
h = Math.max(...this.lineWidths), d = this.top + c, u = L2(e.align, u, this.right - h);
|
|
14769
14773
|
else {
|
|
14770
|
-
const g = this.columnSizes.reduce((
|
|
14774
|
+
const g = this.columnSizes.reduce((C, p) => Math.max(C, p.height), 0);
|
|
14771
14775
|
d = c + L2(e.align, this.top, this.bottom - g - e.labels.padding - this._computeTitleHeight());
|
|
14772
14776
|
}
|
|
14773
14777
|
const f = L2(a, u, u + h);
|
|
@@ -14980,21 +14984,21 @@ function u8(n, e) {
|
|
|
14980
14984
|
}
|
|
14981
14985
|
function Y3(n, e) {
|
|
14982
14986
|
const t = n.chart.ctx, { body: i, footer: o, title: s } = n, { boxWidth: r, boxHeight: a } = e, l = k2(e.bodyFont), c = k2(e.titleFont), d = k2(e.footerFont), u = s.length, h = o.length, f = i.length, g = S2(e.padding);
|
|
14983
|
-
let
|
|
14984
|
-
if (b += n.beforeBody.length + n.afterBody.length, u && (
|
|
14987
|
+
let C = g.height, p = 0, b = i.reduce((B, $) => B + $.before.length + $.lines.length + $.after.length, 0);
|
|
14988
|
+
if (b += n.beforeBody.length + n.afterBody.length, u && (C += u * c.lineHeight + (u - 1) * e.titleSpacing + e.titleMarginBottom), b) {
|
|
14985
14989
|
const B = e.displayColors ? Math.max(a, l.lineHeight) : l.lineHeight;
|
|
14986
|
-
|
|
14990
|
+
C += f * B + (b - f) * l.lineHeight + (b - 1) * e.bodySpacing;
|
|
14987
14991
|
}
|
|
14988
|
-
h && (
|
|
14992
|
+
h && (C += e.footerMarginTop + h * d.lineHeight + (h - 1) * e.footerSpacing);
|
|
14989
14993
|
let y = 0;
|
|
14990
|
-
const
|
|
14991
|
-
|
|
14994
|
+
const _ = function(B) {
|
|
14995
|
+
p = Math.max(p, t.measureText(B).width + y);
|
|
14992
14996
|
};
|
|
14993
|
-
return t.save(), t.font = c.string, s2(n.title,
|
|
14994
|
-
s2(B.before,
|
|
14995
|
-
}), y = 0, t.font = d.string, s2(n.footer,
|
|
14996
|
-
width:
|
|
14997
|
-
height:
|
|
14997
|
+
return t.save(), t.font = c.string, s2(n.title, _), t.font = l.string, s2(n.beforeBody.concat(n.afterBody), _), y = e.displayColors ? r + 2 + e.boxPadding : 0, s2(i, (B) => {
|
|
14998
|
+
s2(B.before, _), s2(B.lines, _), s2(B.after, _);
|
|
14999
|
+
}), y = 0, t.font = d.string, s2(n.footer, _), t.restore(), p += g.width, {
|
|
15000
|
+
width: p,
|
|
15001
|
+
height: C
|
|
14998
15002
|
};
|
|
14999
15003
|
}
|
|
15000
15004
|
function h8(n, e) {
|
|
@@ -15029,10 +15033,10 @@ function g8(n, e, t) {
|
|
|
15029
15033
|
function K3(n, e, t, i) {
|
|
15030
15034
|
const { caretSize: o, caretPadding: s, cornerRadius: r } = n, { xAlign: a, yAlign: l } = t, c = o + s, { topLeft: d, topRight: u, bottomLeft: h, bottomRight: f } = L0(r);
|
|
15031
15035
|
let g = C8(e, a);
|
|
15032
|
-
const
|
|
15036
|
+
const C = g8(e, l, c);
|
|
15033
15037
|
return l === "center" ? a === "left" ? g += c : a === "right" && (g -= c) : a === "left" ? g -= Math.max(d, h) + o : a === "right" && (g += Math.max(u, f) + o), {
|
|
15034
15038
|
x: R2(g, 0, i.width - e.width),
|
|
15035
|
-
y: R2(
|
|
15039
|
+
y: R2(C, 0, i.height - e.height)
|
|
15036
15040
|
};
|
|
15037
15041
|
}
|
|
15038
15042
|
function Ve(n, e, t) {
|
|
@@ -15195,13 +15199,13 @@ class s1 extends _0 {
|
|
|
15195
15199
|
t.lineTo(s.x1, s.y1), t.lineTo(s.x2, s.y2), t.lineTo(s.x3, s.y3);
|
|
15196
15200
|
}
|
|
15197
15201
|
getCaretPosition(e, t, i) {
|
|
15198
|
-
const { xAlign: o, yAlign: s } = this, { caretSize: r, cornerRadius: a } = i, { topLeft: l, topRight: c, bottomLeft: d, bottomRight: u } = L0(a), { x: h, y: f } = e, { width: g, height:
|
|
15199
|
-
let
|
|
15200
|
-
return s === "center" ? (B = f +
|
|
15201
|
-
x1:
|
|
15202
|
+
const { xAlign: o, yAlign: s } = this, { caretSize: r, cornerRadius: a } = i, { topLeft: l, topRight: c, bottomLeft: d, bottomRight: u } = L0(a), { x: h, y: f } = e, { width: g, height: C } = t;
|
|
15203
|
+
let p, b, y, _, B, $;
|
|
15204
|
+
return s === "center" ? (B = f + C / 2, o === "left" ? (p = h, b = p - r, _ = B + r, $ = B - r) : (p = h + g, b = p + r, _ = B - r, $ = B + r), y = p) : (o === "left" ? b = h + Math.max(l, d) + r : o === "right" ? b = h + g - Math.max(c, u) - r : b = this.caretX, s === "top" ? (_ = f, B = _ - r, p = b - r, y = b + r) : (_ = f + C, B = _ + r, p = b + r, y = b - r), $ = _), {
|
|
15205
|
+
x1: p,
|
|
15202
15206
|
x2: b,
|
|
15203
15207
|
x3: y,
|
|
15204
|
-
y1:
|
|
15208
|
+
y1: _,
|
|
15205
15209
|
y2: B,
|
|
15206
15210
|
y3: $
|
|
15207
15211
|
};
|
|
@@ -15218,45 +15222,45 @@ class s1 extends _0 {
|
|
|
15218
15222
|
_drawColorBox(e, t, i, o, s) {
|
|
15219
15223
|
const r = this.labelColors[i], a = this.labelPointStyles[i], { boxHeight: l, boxWidth: c } = s, d = k2(s.bodyFont), u = Ve(this, "left", s), h = o.x(u), f = l < d.lineHeight ? (d.lineHeight - l) / 2 : 0, g = t.y + f;
|
|
15220
15224
|
if (s.usePointStyle) {
|
|
15221
|
-
const
|
|
15225
|
+
const C = {
|
|
15222
15226
|
radius: Math.min(c, l) / 2,
|
|
15223
15227
|
pointStyle: a.pointStyle,
|
|
15224
15228
|
rotation: a.rotation,
|
|
15225
15229
|
borderWidth: 1
|
|
15226
|
-
},
|
|
15227
|
-
e.strokeStyle = s.multiKeyBackground, e.fillStyle = s.multiKeyBackground, C3(e,
|
|
15230
|
+
}, p = o.leftForLtr(h, c) + c / 2, b = g + l / 2;
|
|
15231
|
+
e.strokeStyle = s.multiKeyBackground, e.fillStyle = s.multiKeyBackground, C3(e, C, p, b), e.strokeStyle = r.borderColor, e.fillStyle = r.backgroundColor, C3(e, C, p, b);
|
|
15228
15232
|
} else {
|
|
15229
15233
|
e.lineWidth = e2(r.borderWidth) ? Math.max(...Object.values(r.borderWidth)) : r.borderWidth || 1, e.strokeStyle = r.borderColor, e.setLineDash(r.borderDash || []), e.lineDashOffset = r.borderDashOffset || 0;
|
|
15230
|
-
const
|
|
15234
|
+
const C = o.leftForLtr(h, c), p = o.leftForLtr(o.xPlus(h, 1), c - 2), b = L0(r.borderRadius);
|
|
15231
15235
|
Object.values(b).some((y) => y !== 0) ? (e.beginPath(), e.fillStyle = s.multiKeyBackground, at(e, {
|
|
15232
|
-
x:
|
|
15236
|
+
x: C,
|
|
15233
15237
|
y: g,
|
|
15234
15238
|
w: c,
|
|
15235
15239
|
h: l,
|
|
15236
15240
|
radius: b
|
|
15237
15241
|
}), e.fill(), e.stroke(), e.fillStyle = r.backgroundColor, e.beginPath(), at(e, {
|
|
15238
|
-
x:
|
|
15242
|
+
x: p,
|
|
15239
15243
|
y: g + 1,
|
|
15240
15244
|
w: c - 2,
|
|
15241
15245
|
h: l - 2,
|
|
15242
15246
|
radius: b
|
|
15243
|
-
}), e.fill()) : (e.fillStyle = s.multiKeyBackground, e.fillRect(
|
|
15247
|
+
}), e.fill()) : (e.fillStyle = s.multiKeyBackground, e.fillRect(C, g, c, l), e.strokeRect(C, g, c, l), e.fillStyle = r.backgroundColor, e.fillRect(p, g + 1, c - 2, l - 2));
|
|
15244
15248
|
}
|
|
15245
15249
|
e.fillStyle = this.labelTextColors[i];
|
|
15246
15250
|
}
|
|
15247
15251
|
drawBody(e, t, i) {
|
|
15248
15252
|
const { body: o } = this, { bodySpacing: s, bodyAlign: r, displayColors: a, boxHeight: l, boxWidth: c, boxPadding: d } = i, u = k2(i.bodyFont);
|
|
15249
15253
|
let h = u.lineHeight, f = 0;
|
|
15250
|
-
const g = O0(i.rtl, this.x, this.width),
|
|
15251
|
-
t.fillText(
|
|
15252
|
-
},
|
|
15253
|
-
let b, y,
|
|
15254
|
-
for (t.textAlign = r, t.textBaseline = "middle", t.font = u.string, e.x = Ve(this,
|
|
15255
|
-
for (b = o[B], y = this.labelTextColors[B], t.fillStyle = y, s2(b.before,
|
|
15256
|
-
|
|
15257
|
-
s2(b.after,
|
|
15254
|
+
const g = O0(i.rtl, this.x, this.width), C = function(k) {
|
|
15255
|
+
t.fillText(k, g.x(e.x + f), e.y + h / 2), e.y += h + s;
|
|
15256
|
+
}, p = g.textAlign(r);
|
|
15257
|
+
let b, y, _, B, $, Z, O;
|
|
15258
|
+
for (t.textAlign = r, t.textBaseline = "middle", t.font = u.string, e.x = Ve(this, p, i), t.fillStyle = i.bodyColor, s2(this.beforeBody, C), f = a && p !== "right" ? r === "center" ? c / 2 + d : c + 2 + d : 0, B = 0, Z = o.length; B < Z; ++B) {
|
|
15259
|
+
for (b = o[B], y = this.labelTextColors[B], t.fillStyle = y, s2(b.before, C), _ = b.lines, a && _.length && (this._drawColorBox(t, e, B, g, i), h = Math.max(u.lineHeight, l)), $ = 0, O = _.length; $ < O; ++$)
|
|
15260
|
+
C(_[$]), h = u.lineHeight;
|
|
15261
|
+
s2(b.after, C);
|
|
15258
15262
|
}
|
|
15259
|
-
f = 0, h = u.lineHeight, s2(this.afterBody,
|
|
15263
|
+
f = 0, h = u.lineHeight, s2(this.afterBody, C), e.y -= s;
|
|
15260
15264
|
}
|
|
15261
15265
|
drawFooter(e, t, i) {
|
|
15262
15266
|
const o = this.footer, s = o.length;
|
|
@@ -15459,20 +15463,20 @@ var b8 = {
|
|
|
15459
15463
|
]
|
|
15460
15464
|
};
|
|
15461
15465
|
function y8(n, e) {
|
|
15462
|
-
const t = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: d, maxDigits: u, includeBounds: h } = n, f = s || 1, g = d - 1, { min:
|
|
15463
|
-
let $ = a3((
|
|
15466
|
+
const t = [], { bounds: o, step: s, min: r, max: a, precision: l, count: c, maxTicks: d, maxDigits: u, includeBounds: h } = n, f = s || 1, g = d - 1, { min: C, max: p } = e, b = !h2(r), y = !h2(a), _ = !h2(c), B = (p - C) / (u + 1);
|
|
15467
|
+
let $ = a3((p - C) / g / f) * f, Z, O, k, E;
|
|
15464
15468
|
if ($ < 1e-14 && !b && !y)
|
|
15465
15469
|
return [
|
|
15466
15470
|
{
|
|
15467
|
-
value:
|
|
15471
|
+
value: C
|
|
15468
15472
|
},
|
|
15469
15473
|
{
|
|
15470
|
-
value:
|
|
15474
|
+
value: p
|
|
15471
15475
|
}
|
|
15472
15476
|
];
|
|
15473
|
-
E = Math.ceil(
|
|
15477
|
+
E = Math.ceil(p / $) - Math.floor(C / $), E > g && ($ = a3(E * $ / g / f) * f), h2(l) || (Z = Math.pow(10, l), $ = Math.ceil($ * Z) / Z), o === "ticks" ? (O = Math.floor(C / $) * $, k = Math.ceil(p / $) * $) : (O = C, k = p), b && y && s && O6((a - r) / s, $ / 1e3) ? (E = Math.round(Math.min((a - r) / $, d)), $ = (a - r) / E, O = r, k = a) : _ ? (O = b ? r : O, k = y ? a : k, E = c - 1, $ = (k - O) / E) : (E = (k - O) / $, Ke(E, Math.round(E), $ / 1e3) ? E = Math.round(E) : E = Math.ceil(E));
|
|
15474
15478
|
const R = Math.max(l3($), l3(O));
|
|
15475
|
-
Z = Math.pow(10, h2(l) ? R : l), O = Math.round(O * Z) / Z,
|
|
15479
|
+
Z = Math.pow(10, h2(l) ? R : l), O = Math.round(O * Z) / Z, k = Math.round(k * Z) / Z;
|
|
15476
15480
|
let j = 0;
|
|
15477
15481
|
for (b && (h && O !== r ? (t.push({
|
|
15478
15482
|
value: r
|
|
@@ -15484,10 +15488,10 @@ function y8(n, e) {
|
|
|
15484
15488
|
value: L
|
|
15485
15489
|
});
|
|
15486
15490
|
}
|
|
15487
|
-
return y && h &&
|
|
15491
|
+
return y && h && k !== a ? t.length && Ke(t[t.length - 1].value, a, J3(a, B, n)) ? t[t.length - 1].value = a : t.push({
|
|
15488
15492
|
value: a
|
|
15489
|
-
}) : (!y ||
|
|
15490
|
-
value:
|
|
15493
|
+
}) : (!y || k === a) && t.push({
|
|
15494
|
+
value: k
|
|
15491
15495
|
}), t;
|
|
15492
15496
|
}
|
|
15493
15497
|
function J3(n, e, { horizontal: t, minRotation: i }) {
|
|
@@ -15707,8 +15711,8 @@ function w8(n) {
|
|
|
15707
15711
|
o[l] = c.padding;
|
|
15708
15712
|
const d = n.getPointPosition(l, n.drawingArea + o[l], a), u = k2(c.font), h = x8(n.ctx, u, n._pointLabels[l]);
|
|
15709
15713
|
i[l] = h;
|
|
15710
|
-
const f = E2(n.getIndexAngle(l) + a), g = Math.round(v1(f)),
|
|
15711
|
-
_8(t, e, f,
|
|
15714
|
+
const f = E2(n.getIndexAngle(l) + a), g = Math.round(v1(f)), C = on(g, d.x, h.w, 0, 180), p = on(g, d.y, h.h, 90, 270);
|
|
15715
|
+
_8(t, e, f, C, p);
|
|
15712
15716
|
}
|
|
15713
15717
|
n.setCenterPoint(e.l - t.l, t.r - e.r, e.t - t.t, t.b - e.b), n._pointLabelItems = Z8(n, i, o);
|
|
15714
15718
|
}
|
|
@@ -16163,7 +16167,7 @@ class ht extends z0 {
|
|
|
16163
16167
|
const g = o.ticks.source === "data" && this.getDataTimestamps();
|
|
16164
16168
|
for (h = u, f = 0; h < i; h = +e.add(h, a, r), f++)
|
|
16165
16169
|
ln(d, h, g);
|
|
16166
|
-
return (h === i || o.bounds === "ticks" || f === 1) && ln(d, h, g), Object.keys(d).sort(sn).map((
|
|
16170
|
+
return (h === i || o.bounds === "ticks" || f === 1) && ln(d, h, g), Object.keys(d).sort(sn).map((C) => +C);
|
|
16167
16171
|
}
|
|
16168
16172
|
getLabelForValue(e) {
|
|
16169
16173
|
const t = this._adapter, i = this.options.time;
|
|
@@ -16399,10 +16403,10 @@ const V8 = n2({
|
|
|
16399
16403
|
const r = () => {
|
|
16400
16404
|
if (!o.value)
|
|
16401
16405
|
return;
|
|
16402
|
-
const { type: c, data: d, options: u, plugins: h, datasetIdKey: f } = n, g = N8(d, f),
|
|
16406
|
+
const { type: c, data: d, options: u, plugins: h, datasetIdKey: f } = n, g = N8(d, f), C = H8(g, d);
|
|
16403
16407
|
s.value = new xt(o.value, {
|
|
16404
16408
|
type: c,
|
|
16405
|
-
data:
|
|
16409
|
+
data: C,
|
|
16406
16410
|
options: {
|
|
16407
16411
|
...u
|
|
16408
16412
|
},
|
|
@@ -16421,20 +16425,20 @@ const V8 = n2({
|
|
|
16421
16425
|
() => n.data
|
|
16422
16426
|
], (c, d) => {
|
|
16423
16427
|
let [u, h] = c, [f, g] = d;
|
|
16424
|
-
const
|
|
16425
|
-
if (!
|
|
16428
|
+
const C = Nt(s.value);
|
|
16429
|
+
if (!C)
|
|
16426
16430
|
return;
|
|
16427
|
-
let
|
|
16431
|
+
let p = !1;
|
|
16428
16432
|
if (u) {
|
|
16429
16433
|
const b = T0(u), y = T0(f);
|
|
16430
|
-
b && b !== y && (z8(
|
|
16434
|
+
b && b !== y && (z8(C, b), p = !0);
|
|
16431
16435
|
}
|
|
16432
16436
|
if (h) {
|
|
16433
|
-
const b = T0(h.labels), y = T0(g.labels),
|
|
16434
|
-
b !== y && (ji(
|
|
16437
|
+
const b = T0(h.labels), y = T0(g.labels), _ = T0(h.datasets), B = T0(g.datasets);
|
|
16438
|
+
b !== y && (ji(C.config.data, b), p = !0), _ && _ !== B && (Hi(C.config.data, _, n.datasetIdKey), p = !0);
|
|
16435
16439
|
}
|
|
16436
|
-
|
|
16437
|
-
l(
|
|
16440
|
+
p && l1(() => {
|
|
16441
|
+
l(C);
|
|
16438
16442
|
});
|
|
16439
16443
|
}, {
|
|
16440
16444
|
deep: !0
|
|
@@ -16553,14 +16557,14 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16553
16557
|
}), g = A(() => {
|
|
16554
16558
|
var P;
|
|
16555
16559
|
return d.value && ((P = u.value) == null ? void 0 : P.variant) === "Multi" ? u.value.tabs ?? [] : t.tabs ?? [];
|
|
16556
|
-
}),
|
|
16560
|
+
}), C = A(() => {
|
|
16557
16561
|
var P, H, F, w;
|
|
16558
16562
|
if (d.value && u.value) {
|
|
16559
16563
|
const I = u.value;
|
|
16560
16564
|
return I.variant === "Multi" && ((P = I.tabs) != null && P.length) ? ((H = I.tabs[r.value]) == null ? void 0 : H.headline) ?? I.headline : I.headline;
|
|
16561
16565
|
}
|
|
16562
16566
|
return t.variant === "Multi" && ((F = t.tabs) != null && F.length) ? ((w = t.tabs[r.value]) == null ? void 0 : w.headline) ?? t.chartHeadline ?? t.headline : t.variant === "Section" ? t.chartHeadline ?? t.headline : t.headline;
|
|
16563
|
-
}),
|
|
16567
|
+
}), p = A(() => {
|
|
16564
16568
|
var P, H, F, w;
|
|
16565
16569
|
if (d.value && u.value) {
|
|
16566
16570
|
const I = u.value;
|
|
@@ -16570,7 +16574,7 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16570
16574
|
return ((w = t.tabs[r.value]) == null ? void 0 : w.subHeadline) ?? t.subHeadline;
|
|
16571
16575
|
if (t.variant !== "Section")
|
|
16572
16576
|
return t.subHeadline;
|
|
16573
|
-
}), b = A(() => d.value && u.value ? u.value.bodyCopy : t.variant === "Section" ? t.chartBodyCopy ?? t.bodyCopy : t.bodyCopy), y = (P) => e[P] ?? P,
|
|
16577
|
+
}), b = A(() => d.value && u.value ? u.value.bodyCopy : t.variant === "Section" ? t.chartBodyCopy ?? t.bodyCopy : t.bodyCopy), y = (P) => e[P] ?? P, _ = A(() => ({
|
|
16574
16578
|
labels: h.value.map((P) => P.label),
|
|
16575
16579
|
datasets: [
|
|
16576
16580
|
{
|
|
@@ -16616,7 +16620,7 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16616
16620
|
l.value = -1, (P = c.value) != null && P.chart && (c.value.chart.setActiveElements([]), c.value.chart.update());
|
|
16617
16621
|
}, O = (P) => {
|
|
16618
16622
|
P.drillDown && (r.value = 0, a.value.push(P.drillDown));
|
|
16619
|
-
},
|
|
16623
|
+
}, k = () => {
|
|
16620
16624
|
a.value.pop(), r.value = 0;
|
|
16621
16625
|
}, E = (P) => {
|
|
16622
16626
|
r.value = P;
|
|
@@ -16697,7 +16701,7 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16697
16701
|
)
|
|
16698
16702
|
)
|
|
16699
16703
|
}, [
|
|
16700
|
-
|
|
16704
|
+
C.value ? (m(), M("div", G8, [
|
|
16701
16705
|
d.value ? (m(), M("button", {
|
|
16702
16706
|
key: 0,
|
|
16703
16707
|
class: x(
|
|
@@ -16707,7 +16711,7 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16707
16711
|
)
|
|
16708
16712
|
),
|
|
16709
16713
|
"aria-label": "Go back",
|
|
16710
|
-
onClick:
|
|
16714
|
+
onClick: k
|
|
16711
16715
|
}, H[0] || (H[0] = [
|
|
16712
16716
|
T("svg", {
|
|
16713
16717
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -16725,12 +16729,12 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16725
16729
|
]), 2)) : S("", !0),
|
|
16726
16730
|
T("h2", {
|
|
16727
16731
|
class: "text-iris text-3xl md:text-4xl font-bold leading-tight",
|
|
16728
|
-
innerHTML:
|
|
16732
|
+
innerHTML: C.value
|
|
16729
16733
|
}, null, 8, J8)
|
|
16730
16734
|
])) : S("", !0),
|
|
16731
16735
|
T("div", Q8, [
|
|
16732
16736
|
T("div", e7, [
|
|
16733
|
-
|
|
16737
|
+
p.value ? (m(), M("h3", {
|
|
16734
16738
|
key: 0,
|
|
16735
16739
|
class: x(
|
|
16736
16740
|
v(W)(
|
|
@@ -16738,7 +16742,7 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16738
16742
|
s.value.subheadline ?? ""
|
|
16739
16743
|
)
|
|
16740
16744
|
),
|
|
16741
|
-
innerHTML:
|
|
16745
|
+
innerHTML: p.value
|
|
16742
16746
|
}, null, 10, t7)) : S("", !0),
|
|
16743
16747
|
b.value ? (m(), M("p", {
|
|
16744
16748
|
key: 1,
|
|
@@ -16790,13 +16794,13 @@ const W8 = /* @__PURE__ */ zi("doughnut", P0), U8 = /* @__PURE__ */ zi("pie", n1
|
|
|
16790
16794
|
key: 0,
|
|
16791
16795
|
ref_key: "chartRef",
|
|
16792
16796
|
ref: c,
|
|
16793
|
-
data:
|
|
16797
|
+
data: _.value,
|
|
16794
16798
|
options: B
|
|
16795
16799
|
}, null, 8, ["data"])) : (m(), z(v(U8), {
|
|
16796
16800
|
key: 1,
|
|
16797
16801
|
ref_key: "chartRef",
|
|
16798
16802
|
ref: c,
|
|
16799
|
-
data:
|
|
16803
|
+
data: _.value,
|
|
16800
16804
|
options: B
|
|
16801
16805
|
}, null, 8, ["data", "options"]))
|
|
16802
16806
|
])
|