@purpurds/footer 8.11.0 → 8.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +5 -5
- package/dist/footer-navigation.d.ts +0 -1
- package/dist/footer-social-link.d.ts +0 -1
- package/dist/footer.cjs.js +1 -1
- package/dist/footer.cjs.js.map +1 -1
- package/dist/footer.d.ts +0 -1
- package/dist/footer.es.js +84 -83
- package/dist/footer.es.js.map +1 -1
- package/dist/telia-logo.d.ts +0 -1
- package/package.json +14 -13
package/dist/footer.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { LinkProps } from '@purpurds/link';
|
|
|
4
4
|
import { ColorOptions, ColorScheme } from '@purpurds/theme';
|
|
5
5
|
import { CustomLinkType, FooterNavigationItem, FooterNavigationItemLink } from './footer-navigation';
|
|
6
6
|
import { FooterSocialLinkProps } from './footer-social-link';
|
|
7
|
-
|
|
8
7
|
type AdditionalLink = FooterNavigationItemLink & Omit<LinkProps, "href" | "variant" | "negative" | "children" | "disableVisited">;
|
|
9
8
|
type SectionProps = Omit<BaseProps<"section">, "children">;
|
|
10
9
|
export type FooterProps = BaseProps<"footer"> & {
|
package/dist/footer.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as v, Fragment as te } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import { Children as rr, isValidElement as ne, forwardRef as ie, useId as D, createContext as ae, useContext as pe, useState as ue, createElement as Z } from "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -89,7 +89,7 @@ const Rr = /* @__PURE__ */ _e(de), ge = {
|
|
|
89
89
|
return /* @__PURE__ */ o("div", { className: i, ...t, children: e });
|
|
90
90
|
}, fe = (e) => !!e && ne(e) && e.type === L;
|
|
91
91
|
L.displayName = "Grid.Item";
|
|
92
|
-
const
|
|
92
|
+
const ve = {
|
|
93
93
|
"purpur-grid": "_purpur-grid_8kjv6_1",
|
|
94
94
|
"purpur-grid__inner": "_purpur-grid__inner_8kjv6_27",
|
|
95
95
|
"purpur-grid__inner--no-gap": "_purpur-grid__inner--no-gap_8kjv6_32",
|
|
@@ -118,7 +118,7 @@ const he = {
|
|
|
118
118
|
"purpur-grid__inner-col-lg-3": "_purpur-grid__inner-col-lg-3_8kjv6_147",
|
|
119
119
|
"purpur-grid__inner-col-lg-2": "_purpur-grid__inner-col-lg-2_8kjv6_152",
|
|
120
120
|
"purpur-grid__inner--flex": "_purpur-grid__inner--flex_8kjv6_156"
|
|
121
|
-
}, nr = Rr.bind(
|
|
121
|
+
}, nr = Rr.bind(ve), he = "purpur-grid", j = "purpur-grid__inner", W = ({
|
|
122
122
|
children: e,
|
|
123
123
|
className: a,
|
|
124
124
|
containerClassName: n,
|
|
@@ -130,7 +130,7 @@ const he = {
|
|
|
130
130
|
noRowGap: c = !1,
|
|
131
131
|
...g
|
|
132
132
|
}) => {
|
|
133
|
-
const x = rr.toArray(e).filter(fe), l = !!x.length, m = nr([
|
|
133
|
+
const x = rr.toArray(e).filter(fe), l = !!x.length, m = nr([he, n]), $ = nr([
|
|
134
134
|
j,
|
|
135
135
|
{
|
|
136
136
|
[`${j}--grid`]: !l,
|
|
@@ -282,7 +282,7 @@ function Se() {
|
|
|
282
282
|
})(pr)), pr.exports;
|
|
283
283
|
}
|
|
284
284
|
var Ce = Se();
|
|
285
|
-
const ke = /* @__PURE__ */ je(Ce),
|
|
285
|
+
const ke = /* @__PURE__ */ je(Ce), ze = {
|
|
286
286
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
287
287
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
288
288
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -290,7 +290,7 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
290
290
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
291
291
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
292
292
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
293
|
-
},
|
|
293
|
+
}, Oe = ke.bind(ze), or = "purpur-icon", Pe = "md", Ae = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Me = ({ content: e = "", title: a } = {}) => {
|
|
294
294
|
const n = [
|
|
295
295
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
296
296
|
{ name: "fill", value: "currentColor" },
|
|
@@ -302,7 +302,7 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
302
302
|
const r = Me({
|
|
303
303
|
content: qe(e.svg),
|
|
304
304
|
title: a
|
|
305
|
-
}), t =
|
|
305
|
+
}), t = Oe(or, `${or}--${u}`, n);
|
|
306
306
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
307
307
|
};
|
|
308
308
|
Br.displayName = "Icon";
|
|
@@ -359,7 +359,7 @@ const Le = /* @__PURE__ */ Ve(He), Ze = {
|
|
|
359
359
|
negative: n = !1,
|
|
360
360
|
["aria-relevant"]: u = "additions text",
|
|
361
361
|
...p
|
|
362
|
-
}) => /* @__PURE__ */
|
|
362
|
+
}) => /* @__PURE__ */ v(
|
|
363
363
|
"div",
|
|
364
364
|
{
|
|
365
365
|
className: _r(a, R, {
|
|
@@ -504,7 +504,7 @@ const pt = {
|
|
|
504
504
|
category: "utility"
|
|
505
505
|
}, Fr = (e) => /* @__PURE__ */ o(K, { ...e, svg: pt });
|
|
506
506
|
Fr.displayName = "IconChevronDown";
|
|
507
|
-
function
|
|
507
|
+
function vr(e, a) {
|
|
508
508
|
if (typeof e == "function")
|
|
509
509
|
return e(a);
|
|
510
510
|
e != null && (e.current = a);
|
|
@@ -513,14 +513,14 @@ function ut(...e) {
|
|
|
513
513
|
return (a) => {
|
|
514
514
|
let n = !1;
|
|
515
515
|
const u = e.map((p) => {
|
|
516
|
-
const r =
|
|
516
|
+
const r = vr(p, a);
|
|
517
517
|
return !n && typeof r == "function" && (n = !0), r;
|
|
518
518
|
});
|
|
519
519
|
if (n)
|
|
520
520
|
return () => {
|
|
521
521
|
for (let p = 0; p < u.length; p++) {
|
|
522
522
|
const r = u[p];
|
|
523
|
-
typeof r == "function" ? r() :
|
|
523
|
+
typeof r == "function" ? r() : vr(e[p], null);
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
};
|
|
@@ -595,14 +595,14 @@ var ft = [
|
|
|
595
595
|
"span",
|
|
596
596
|
"svg",
|
|
597
597
|
"ul"
|
|
598
|
-
],
|
|
598
|
+
], vt = ft.reduce((e, a) => {
|
|
599
599
|
const n = /* @__PURE__ */ st(`Primitive.${a}`), u = d.forwardRef((p, r) => {
|
|
600
600
|
const { asChild: t, ...i } = p, c = t ? n : a;
|
|
601
601
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(c, { ...i, ref: r });
|
|
602
602
|
});
|
|
603
603
|
return u.displayName = `Primitive.${a}`, { ...e, [a]: u };
|
|
604
|
-
}, {}),
|
|
605
|
-
|
|
604
|
+
}, {}), ht = "Label", Dr = d.forwardRef((e, a) => /* @__PURE__ */ o(
|
|
605
|
+
vt.label,
|
|
606
606
|
{
|
|
607
607
|
...e,
|
|
608
608
|
ref: a,
|
|
@@ -611,12 +611,12 @@ var ft = [
|
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
));
|
|
614
|
-
Dr.displayName =
|
|
614
|
+
Dr.displayName = ht;
|
|
615
615
|
var yt = Dr;
|
|
616
616
|
function $t(e) {
|
|
617
617
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
618
618
|
}
|
|
619
|
-
var
|
|
619
|
+
var hr = { exports: {} }, yr;
|
|
620
620
|
function xt() {
|
|
621
621
|
return yr || (yr = 1, (function(e) {
|
|
622
622
|
(function() {
|
|
@@ -647,7 +647,7 @@ function xt() {
|
|
|
647
647
|
}
|
|
648
648
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
649
649
|
})();
|
|
650
|
-
})(
|
|
650
|
+
})(hr)), hr.exports;
|
|
651
651
|
}
|
|
652
652
|
var bt = xt();
|
|
653
653
|
const wt = /* @__PURE__ */ $t(bt), Nt = {
|
|
@@ -703,8 +703,8 @@ function kt() {
|
|
|
703
703
|
})();
|
|
704
704
|
})($r)), $r.exports;
|
|
705
705
|
}
|
|
706
|
-
var
|
|
707
|
-
const
|
|
706
|
+
var zt = kt();
|
|
707
|
+
const Ot = /* @__PURE__ */ Ct(zt), Pt = "_rotate_12t9p_1", At = "_dash_12t9p_1", Mt = {
|
|
708
708
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
709
709
|
rotate: Pt,
|
|
710
710
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
@@ -716,7 +716,7 @@ const zt = /* @__PURE__ */ Ct(Ot), Pt = "_rotate_12t9p_1", At = "_dash_12t9p_1",
|
|
|
716
716
|
dash: At,
|
|
717
717
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
718
718
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
719
|
-
}, br =
|
|
719
|
+
}, br = Ot.bind(Mt), M = "purpur-spinner", qt = {
|
|
720
720
|
SM: "sm"
|
|
721
721
|
}, Wr = ({
|
|
722
722
|
disabled: e = !1,
|
|
@@ -809,7 +809,7 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
809
809
|
loading: x,
|
|
810
810
|
...l
|
|
811
811
|
}, m) => {
|
|
812
|
-
const $ = (P) => c ? `${c}-${P}` : void 0, b = g && !u, S = D(), f = l.id ?? S,
|
|
812
|
+
const $ = (P) => c ? `${c}-${P}` : void 0, b = g && !u, S = D(), f = l.id ?? S, h = p ? `${f}-helper-text` : void 0, C = w(`${s}__select-container`, {
|
|
813
813
|
[`${s}__select-container--disabled`]: l.disabled,
|
|
814
814
|
[`${s}__select-container--readonly`]: i && !l.disabled,
|
|
815
815
|
[`${s}__select-container--negative`]: r
|
|
@@ -819,14 +819,14 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
819
819
|
[`${s}__select-icon--readonly`]: i && !l.disabled,
|
|
820
820
|
[`${s}__select-icon--is-valid`]: b,
|
|
821
821
|
[`${s}__select-icon--negative`]: r
|
|
822
|
-
}), b && w(`${s}__valid-icon`), /* @__PURE__ */
|
|
822
|
+
}), b && w(`${s}__valid-icon`), /* @__PURE__ */ v(
|
|
823
823
|
"div",
|
|
824
824
|
{
|
|
825
825
|
className: w(s, n, {
|
|
826
826
|
[`${s}--negative`]: r
|
|
827
827
|
}),
|
|
828
828
|
children: [
|
|
829
|
-
e && /* @__PURE__ */
|
|
829
|
+
e && /* @__PURE__ */ v(
|
|
830
830
|
St,
|
|
831
831
|
{
|
|
832
832
|
htmlFor: f,
|
|
@@ -840,8 +840,8 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
840
840
|
]
|
|
841
841
|
}
|
|
842
842
|
),
|
|
843
|
-
/* @__PURE__ */ o("div", { className: w(`${s}__field-row`), children: /* @__PURE__ */
|
|
844
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ o("div", { className: w(`${s}__field-row`), children: /* @__PURE__ */ v("div", { className: C, children: [
|
|
844
|
+
/* @__PURE__ */ v(
|
|
845
845
|
"select",
|
|
846
846
|
{
|
|
847
847
|
...l,
|
|
@@ -849,7 +849,7 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
849
849
|
id: f,
|
|
850
850
|
ref: m,
|
|
851
851
|
"data-testid": $("select"),
|
|
852
|
-
"aria-describedby": l["aria-describedby"] ||
|
|
852
|
+
"aria-describedby": l["aria-describedby"] || h,
|
|
853
853
|
"aria-invalid": l["aria-invalid"] || !!u,
|
|
854
854
|
"aria-disabled": l["aria-disabled"] || l.disabled,
|
|
855
855
|
"aria-readonly": l["aria-readonly"] || i && !l.disabled,
|
|
@@ -866,7 +866,7 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
866
866
|
]
|
|
867
867
|
}
|
|
868
868
|
),
|
|
869
|
-
/* @__PURE__ */
|
|
869
|
+
/* @__PURE__ */ v("div", { className: w(`${s}__end-adornments`), children: [
|
|
870
870
|
x ? /* @__PURE__ */ o(
|
|
871
871
|
Wr,
|
|
872
872
|
{
|
|
@@ -908,12 +908,12 @@ const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
|
908
908
|
}
|
|
909
909
|
)
|
|
910
910
|
] }) }),
|
|
911
|
-
|
|
911
|
+
h && /* @__PURE__ */ o(
|
|
912
912
|
Je,
|
|
913
913
|
{
|
|
914
914
|
disabled: l.disabled,
|
|
915
915
|
"data-testid": $("helper-text"),
|
|
916
|
-
id:
|
|
916
|
+
id: h,
|
|
917
917
|
negative: r,
|
|
918
918
|
children: p
|
|
919
919
|
}
|
|
@@ -1082,9 +1082,9 @@ X.displayName = "Heading";
|
|
|
1082
1082
|
function Qt(e) {
|
|
1083
1083
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1084
1084
|
}
|
|
1085
|
-
var kr = { exports: {} },
|
|
1085
|
+
var kr = { exports: {} }, zr;
|
|
1086
1086
|
function Ut() {
|
|
1087
|
-
return
|
|
1087
|
+
return zr || (zr = 1, (function(e) {
|
|
1088
1088
|
(function() {
|
|
1089
1089
|
var a = {}.hasOwnProperty;
|
|
1090
1090
|
function n() {
|
|
@@ -1124,7 +1124,7 @@ const Qr = /* @__PURE__ */ Qt(Xt), Yt = {
|
|
|
1124
1124
|
function rn(e) {
|
|
1125
1125
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1126
1126
|
}
|
|
1127
|
-
var
|
|
1127
|
+
var Or = { exports: {} }, Pr;
|
|
1128
1128
|
function en() {
|
|
1129
1129
|
return Pr || (Pr = 1, (function(e) {
|
|
1130
1130
|
(function() {
|
|
@@ -1155,7 +1155,7 @@ function en() {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1157
1157
|
})();
|
|
1158
|
-
})(
|
|
1158
|
+
})(Or)), Or.exports;
|
|
1159
1159
|
}
|
|
1160
1160
|
var tn = en();
|
|
1161
1161
|
const nn = /* @__PURE__ */ rn(tn), an = {
|
|
@@ -1227,21 +1227,22 @@ function dn() {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
var gn = dn();
|
|
1229
1229
|
const mn = /* @__PURE__ */ cn(gn), fn = {
|
|
1230
|
-
"purpur-paragraph": "_purpur-
|
|
1231
|
-
"purpur-paragraph--disabled": "_purpur-paragraph--
|
|
1232
|
-
"purpur-paragraph--hyphens": "_purpur-paragraph--
|
|
1233
|
-
"purpur-paragraph--negative": "_purpur-paragraph--
|
|
1234
|
-
"purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-
|
|
1235
|
-
"purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-
|
|
1236
|
-
"purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-
|
|
1237
|
-
"purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-
|
|
1238
|
-
"purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-
|
|
1239
|
-
"purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-
|
|
1240
|
-
"purpur-paragraph--additional-100": "_purpur-paragraph--additional-
|
|
1241
|
-
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-
|
|
1242
|
-
"purpur-paragraph--
|
|
1243
|
-
"purpur-paragraph--overline-
|
|
1244
|
-
|
|
1230
|
+
"purpur-paragraph": "_purpur-paragraph_1vz75_1",
|
|
1231
|
+
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1vz75_7",
|
|
1232
|
+
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1vz75_10",
|
|
1233
|
+
"purpur-paragraph--negative": "_purpur-paragraph--negative_1vz75_13",
|
|
1234
|
+
"purpur-paragraph--paragraph-100": "_purpur-paragraph--paragraph-100_1vz75_16",
|
|
1235
|
+
"purpur-paragraph--paragraph-100-medium": "_purpur-paragraph--paragraph-100-medium_1vz75_22",
|
|
1236
|
+
"purpur-paragraph--paragraph-100-bold": "_purpur-paragraph--paragraph-100-bold_1vz75_29",
|
|
1237
|
+
"purpur-paragraph--paragraph-200": "_purpur-paragraph--paragraph-200_1vz75_36",
|
|
1238
|
+
"purpur-paragraph--preamble-100": "_purpur-paragraph--preamble-100_1vz75_42",
|
|
1239
|
+
"purpur-paragraph--preamble-200": "_purpur-paragraph--preamble-200_1vz75_48",
|
|
1240
|
+
"purpur-paragraph--additional-100": "_purpur-paragraph--additional-100_1vz75_54",
|
|
1241
|
+
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1vz75_60",
|
|
1242
|
+
"purpur-paragraph--additional-100-bold": "_purpur-paragraph--additional-100-bold_1vz75_67",
|
|
1243
|
+
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1vz75_74",
|
|
1244
|
+
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1vz75_82"
|
|
1245
|
+
}, vn = mn.bind(fn), hn = {
|
|
1245
1246
|
PARAGRAPH100: "paragraph-100"
|
|
1246
1247
|
}, q = "purpur-paragraph", Yr = ({
|
|
1247
1248
|
children: e,
|
|
@@ -1249,10 +1250,10 @@ const mn = /* @__PURE__ */ cn(gn), fn = {
|
|
|
1249
1250
|
disabled: n,
|
|
1250
1251
|
enableHyphenation: u = !1,
|
|
1251
1252
|
negative: p = !1,
|
|
1252
|
-
variant: r =
|
|
1253
|
+
variant: r = hn.PARAGRAPH100,
|
|
1253
1254
|
...t
|
|
1254
1255
|
}) => {
|
|
1255
|
-
const i =
|
|
1256
|
+
const i = vn(a, q, `${q}--${r}`, {
|
|
1256
1257
|
[`${q}--hyphens`]: u,
|
|
1257
1258
|
[`${q}--disabled`]: n,
|
|
1258
1259
|
[`${q}--negative`]: p
|
|
@@ -1272,7 +1273,7 @@ const yn = {
|
|
|
1272
1273
|
"purpur-accordion-item__contentText": "_purpur-accordion-item__contentText_1du2l_82",
|
|
1273
1274
|
"purpur-accordion-item__contentText--limit-width": "_purpur-accordion-item__contentText--limit-width_1du2l_85",
|
|
1274
1275
|
"purpur-accordion-item--negative": "_purpur-accordion-item--negative_1du2l_107"
|
|
1275
|
-
},
|
|
1276
|
+
}, z = Qr.bind(yn), N = "purpur-accordion-item", $n = ({
|
|
1276
1277
|
children: e,
|
|
1277
1278
|
className: a,
|
|
1278
1279
|
fullWidth: n = !1,
|
|
@@ -1284,21 +1285,21 @@ const yn = {
|
|
|
1284
1285
|
onClose: c,
|
|
1285
1286
|
...g
|
|
1286
1287
|
}) => {
|
|
1287
|
-
const x = pe(re), l = D(), [m, $] = ue(!r), b =
|
|
1288
|
+
const x = pe(re), l = D(), [m, $] = ue(!r), b = z([
|
|
1288
1289
|
N,
|
|
1289
1290
|
{
|
|
1290
1291
|
[`${N}--negative`]: x
|
|
1291
1292
|
},
|
|
1292
1293
|
a
|
|
1293
1294
|
]);
|
|
1294
|
-
return /* @__PURE__ */
|
|
1295
|
+
return /* @__PURE__ */ v("div", { className: b, ...g, children: [
|
|
1295
1296
|
/* @__PURE__ */ o(
|
|
1296
1297
|
X,
|
|
1297
1298
|
{
|
|
1298
1299
|
tag: p,
|
|
1299
1300
|
variant: "title-100",
|
|
1300
|
-
className:
|
|
1301
|
-
children: /* @__PURE__ */
|
|
1301
|
+
className: z([`${N}__header`, `${N}__title`]),
|
|
1302
|
+
children: /* @__PURE__ */ v(
|
|
1302
1303
|
"button",
|
|
1303
1304
|
{
|
|
1304
1305
|
type: "button",
|
|
@@ -1306,7 +1307,7 @@ const yn = {
|
|
|
1306
1307
|
onClick: (S) => {
|
|
1307
1308
|
t && t(S), m ? i && i() : c && c(), $(!m);
|
|
1308
1309
|
},
|
|
1309
|
-
className:
|
|
1310
|
+
className: z(`${N}__trigger`, a, {
|
|
1310
1311
|
[`${N}__rotate`]: !m
|
|
1311
1312
|
}),
|
|
1312
1313
|
"aria-expanded": !m,
|
|
@@ -1314,7 +1315,7 @@ const yn = {
|
|
|
1314
1315
|
id: l + "button",
|
|
1315
1316
|
children: [
|
|
1316
1317
|
u,
|
|
1317
|
-
/* @__PURE__ */ o(Xr, { size: "md", className:
|
|
1318
|
+
/* @__PURE__ */ o(Xr, { size: "md", className: z(`${N}__icon`), "aria-hidden": !0 })
|
|
1318
1319
|
]
|
|
1319
1320
|
}
|
|
1320
1321
|
)
|
|
@@ -1323,7 +1324,7 @@ const yn = {
|
|
|
1323
1324
|
/* @__PURE__ */ o(
|
|
1324
1325
|
"div",
|
|
1325
1326
|
{
|
|
1326
|
-
className:
|
|
1327
|
+
className: z(`${N}__content`, a),
|
|
1327
1328
|
"aria-hidden": m,
|
|
1328
1329
|
id: l,
|
|
1329
1330
|
"aria-labelledby": l + "button",
|
|
@@ -1331,7 +1332,7 @@ const yn = {
|
|
|
1331
1332
|
children: /* @__PURE__ */ o(
|
|
1332
1333
|
"div",
|
|
1333
1334
|
{
|
|
1334
|
-
className:
|
|
1335
|
+
className: z(`${N}__contentText`, {
|
|
1335
1336
|
[`${N}__contentText--limit-width`]: !n
|
|
1336
1337
|
}),
|
|
1337
1338
|
children: typeof e == "string" ? /* @__PURE__ */ o(Yr, { variant: "paragraph-200", children: e }) : e
|
|
@@ -1357,7 +1358,7 @@ const yn = {
|
|
|
1357
1358
|
},
|
|
1358
1359
|
a
|
|
1359
1360
|
]);
|
|
1360
|
-
return /* @__PURE__ */
|
|
1361
|
+
return /* @__PURE__ */ v("div", { className: c, ...i, children: [
|
|
1361
1362
|
u && /* @__PURE__ */ o(X, { tag: p, variant: r, className: Tr(`${G}__title`), children: u }),
|
|
1362
1363
|
/* @__PURE__ */ o(re.Provider, { value: n, children: e }),
|
|
1363
1364
|
t && /* @__PURE__ */ o(
|
|
@@ -1373,30 +1374,30 @@ const yn = {
|
|
|
1373
1374
|
};
|
|
1374
1375
|
H.Item = $n;
|
|
1375
1376
|
H.displayName = "Accordion";
|
|
1376
|
-
const
|
|
1377
|
+
const O = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul", { children: e.map(({ href: n, text: u, ...p }, r) => /* @__PURE__ */ o("li", { children: a ? /* @__PURE__ */ o(
|
|
1377
1378
|
a,
|
|
1378
1379
|
{
|
|
1379
1380
|
...p,
|
|
1380
1381
|
href: n,
|
|
1381
|
-
className:
|
|
1382
|
+
className: O(`${_}__custom-link-navigation`),
|
|
1382
1383
|
children: u
|
|
1383
1384
|
}
|
|
1384
1385
|
) : /* @__PURE__ */ o(J, { ...p, variant: "navigation", negative: !0, href: n, disableVisited: !0, children: u }) }, r)) }), xn = ({
|
|
1385
1386
|
navigationLinks: e,
|
|
1386
1387
|
sectionProps: a,
|
|
1387
1388
|
customLink: n
|
|
1388
|
-
}) => /* @__PURE__ */
|
|
1389
|
+
}) => /* @__PURE__ */ v(te, { children: [
|
|
1389
1390
|
/* @__PURE__ */ o(
|
|
1390
1391
|
"section",
|
|
1391
1392
|
{
|
|
1392
1393
|
...a,
|
|
1393
|
-
className:
|
|
1394
|
+
className: O(
|
|
1394
1395
|
`${_}__navigation`,
|
|
1395
1396
|
`${_}__navigation--lg`,
|
|
1396
1397
|
a?.className
|
|
1397
1398
|
),
|
|
1398
|
-
children: e.map((u, p) => /* @__PURE__ */
|
|
1399
|
-
/* @__PURE__ */ o("h3", { className:
|
|
1399
|
+
children: e.map((u, p) => /* @__PURE__ */ v("div", { className: O(`${_}__navigation-section`), children: [
|
|
1400
|
+
/* @__PURE__ */ o("h3", { className: O(`${_}__navigation-section-heading`), children: u.heading }),
|
|
1400
1401
|
/* @__PURE__ */ o(Vr, { links: u.links, customLink: n })
|
|
1401
1402
|
] }, p))
|
|
1402
1403
|
}
|
|
@@ -1405,7 +1406,7 @@ const z = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul
|
|
|
1405
1406
|
"section",
|
|
1406
1407
|
{
|
|
1407
1408
|
...a,
|
|
1408
|
-
className:
|
|
1409
|
+
className: O(
|
|
1409
1410
|
`${_}__navigation`,
|
|
1410
1411
|
`${_}__navigation--sm`,
|
|
1411
1412
|
a?.className
|
|
@@ -1415,7 +1416,7 @@ const z = Q.bind(U), Vr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul
|
|
|
1415
1416
|
{
|
|
1416
1417
|
title: u.heading,
|
|
1417
1418
|
titleTag: "h2",
|
|
1418
|
-
className:
|
|
1419
|
+
className: O(`${_}__navigation-section`),
|
|
1419
1420
|
children: /* @__PURE__ */ o(Vr, { links: u.links, customLink: n })
|
|
1420
1421
|
},
|
|
1421
1422
|
p
|
|
@@ -1468,16 +1469,16 @@ const jn = /* @__PURE__ */ bn(Nn), Sn = {
|
|
|
1468
1469
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1469
1470
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1470
1471
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1471
|
-
}, Cn = jn.bind(Sn), Lr = "purpur-icon", kn = "md",
|
|
1472
|
+
}, Cn = jn.bind(Sn), Lr = "purpur-icon", kn = "md", zn = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), On = ({ content: e = "", title: a } = {}) => {
|
|
1472
1473
|
const n = [
|
|
1473
1474
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1474
1475
|
{ name: "fill", value: "currentColor" },
|
|
1475
1476
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1476
1477
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1477
1478
|
], u = a ? `<title>${a}</title>` : "";
|
|
1478
|
-
return `<svg ${
|
|
1479
|
+
return `<svg ${zn(n)}>${u}${e}</svg>`;
|
|
1479
1480
|
}, Pn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ee = ({ svg: e, allyTitle: a, className: n, size: u = kn, ...p }) => {
|
|
1480
|
-
const r =
|
|
1481
|
+
const r = On({
|
|
1481
1482
|
content: Pn(e.svg),
|
|
1482
1483
|
title: a
|
|
1483
1484
|
}), t = Cn(Lr, `${Lr}--${u}`, n);
|
|
@@ -1494,7 +1495,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1494
1495
|
target: "_blank",
|
|
1495
1496
|
children: /* @__PURE__ */ o(ee, { svg: e })
|
|
1496
1497
|
}
|
|
1497
|
-
), Mn = () => /* @__PURE__ */
|
|
1498
|
+
), Mn = () => /* @__PURE__ */ v(
|
|
1498
1499
|
"svg",
|
|
1499
1500
|
{
|
|
1500
1501
|
width: "81",
|
|
@@ -1504,7 +1505,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1504
1505
|
role: "img",
|
|
1505
1506
|
"aria-hidden": "true",
|
|
1506
1507
|
children: [
|
|
1507
|
-
/* @__PURE__ */
|
|
1508
|
+
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_5309_7721)", children: [
|
|
1508
1509
|
/* @__PURE__ */ o(
|
|
1509
1510
|
"path",
|
|
1510
1511
|
{
|
|
@@ -1582,7 +1583,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1582
1583
|
return se({
|
|
1583
1584
|
cssVariablesSelector: `[data-id="${m}"]`,
|
|
1584
1585
|
currentColorScheme: g ?? $?.footerColorScheme
|
|
1585
|
-
}), /* @__PURE__ */ o("footer", { "data-id": m, className: l, ...x, children: /* @__PURE__ */ o(W, { children: /* @__PURE__ */
|
|
1586
|
+
}), /* @__PURE__ */ o("footer", { "data-id": m, className: l, ...x, children: /* @__PURE__ */ o(W, { children: /* @__PURE__ */ v("div", { className: y(`${_}__container`), children: [
|
|
1586
1587
|
/* @__PURE__ */ o(
|
|
1587
1588
|
"div",
|
|
1588
1589
|
{
|
|
@@ -1601,7 +1602,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1601
1602
|
`${_}__social--md`,
|
|
1602
1603
|
n.sectionProps?.className
|
|
1603
1604
|
),
|
|
1604
|
-
children: n.links.map(({ icon: f, href:
|
|
1605
|
+
children: n.links.map(({ icon: f, href: h, ...C }) => /* @__PURE__ */ Z(Zr, { ...C, icon: f, href: h, key: h }))
|
|
1605
1606
|
}
|
|
1606
1607
|
),
|
|
1607
1608
|
a && /* @__PURE__ */ o(
|
|
@@ -1617,18 +1618,18 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1617
1618
|
{
|
|
1618
1619
|
...t.sectionProps,
|
|
1619
1620
|
className: y(`${_}__payments`, t.sectionProps?.className),
|
|
1620
|
-
children: t.images.map(({ alt: f, src:
|
|
1621
|
+
children: t.images.map(({ alt: f, src: h }) => /* @__PURE__ */ o(
|
|
1621
1622
|
"img",
|
|
1622
1623
|
{
|
|
1623
1624
|
className: y(`${_}__payments-image`),
|
|
1624
|
-
src:
|
|
1625
|
+
src: h,
|
|
1625
1626
|
alt: f
|
|
1626
1627
|
},
|
|
1627
|
-
|
|
1628
|
+
h
|
|
1628
1629
|
))
|
|
1629
1630
|
}
|
|
1630
1631
|
),
|
|
1631
|
-
u && /* @__PURE__ */
|
|
1632
|
+
u && /* @__PURE__ */ v(
|
|
1632
1633
|
"section",
|
|
1633
1634
|
{
|
|
1634
1635
|
...u.sectionProps,
|
|
@@ -1649,7 +1650,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1649
1650
|
]
|
|
1650
1651
|
}
|
|
1651
1652
|
),
|
|
1652
|
-
(r || p) && /* @__PURE__ */
|
|
1653
|
+
(r || p) && /* @__PURE__ */ v("div", { className: y(`${_}__additional`), children: [
|
|
1653
1654
|
r && /* @__PURE__ */ o(
|
|
1654
1655
|
"section",
|
|
1655
1656
|
{
|
|
@@ -1679,7 +1680,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1679
1680
|
`${_}__additional-links`,
|
|
1680
1681
|
p.sectionProps?.className
|
|
1681
1682
|
),
|
|
1682
|
-
children: p?.links?.map(({ href: f, text:
|
|
1683
|
+
children: p?.links?.map(({ href: f, text: h, ...C }) => /* @__PURE__ */ Z(
|
|
1683
1684
|
J,
|
|
1684
1685
|
{
|
|
1685
1686
|
...C,
|
|
@@ -1689,7 +1690,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1689
1690
|
key: f,
|
|
1690
1691
|
disableVisited: !0
|
|
1691
1692
|
},
|
|
1692
|
-
|
|
1693
|
+
h
|
|
1693
1694
|
))
|
|
1694
1695
|
}
|
|
1695
1696
|
)
|
|
@@ -1703,7 +1704,7 @@ const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1703
1704
|
`${_}__social--sm`,
|
|
1704
1705
|
n.sectionProps?.className
|
|
1705
1706
|
),
|
|
1706
|
-
children: n.links.map(({ icon: f, href:
|
|
1707
|
+
children: n.links.map(({ icon: f, href: h, ...C }) => /* @__PURE__ */ Z(Zr, { ...C, icon: f, href: h, key: h }))
|
|
1707
1708
|
}
|
|
1708
1709
|
)
|
|
1709
1710
|
] }) }) });
|