@purpurds/footer 8.8.0 → 8.8.1
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.cjs.js +16 -16
- package/dist/footer.cjs.js.map +1 -1
- package/dist/footer.es.js +315 -306
- package/dist/footer.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +15 -15
package/dist/footer.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as o, jsxs as f, Fragment as
|
|
2
|
-
import * as
|
|
3
|
-
import { Children as
|
|
1
|
+
import { jsx as o, jsxs as f, Fragment as oe } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import { Children as ur, isValidElement as le, forwardRef as se, useId as Q, createContext as _e, useContext as ce, useState as de, createElement as F } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
import { useTheme as
|
|
6
|
-
function
|
|
5
|
+
import { useTheme as ge, useColorScheme as me, useApplyTheme as fe } from "@purpurds/theme";
|
|
6
|
+
function ve(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
9
|
-
var
|
|
9
|
+
var pr = { exports: {} };
|
|
10
10
|
/*!
|
|
11
11
|
Copyright (c) 2018 Jed Watson.
|
|
12
12
|
Licensed under the MIT License (MIT), see
|
|
13
13
|
http://jedwatson.github.io/classnames
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
return
|
|
15
|
+
var or;
|
|
16
|
+
function he() {
|
|
17
|
+
return or || (or = 1, (function(e) {
|
|
18
18
|
(function() {
|
|
19
19
|
var a = {}.hasOwnProperty;
|
|
20
20
|
function n() {
|
|
@@ -43,10 +43,10 @@ function fe() {
|
|
|
43
43
|
}
|
|
44
44
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
45
45
|
})();
|
|
46
|
-
})(
|
|
46
|
+
})(pr)), pr.exports;
|
|
47
47
|
}
|
|
48
|
-
var
|
|
49
|
-
const
|
|
48
|
+
var ye = he();
|
|
49
|
+
const Wr = /* @__PURE__ */ ve(ye), $e = {
|
|
50
50
|
"purpur-grid-item": "_purpur-grid-item_zx9tz_1",
|
|
51
51
|
"purpur-grid-item--no-col-gap": "_purpur-grid-item--no-col-gap_zx9tz_6",
|
|
52
52
|
"purpur-grid-item-colspan-sm-4": "_purpur-grid-item-colspan-sm-4_zx9tz_24",
|
|
@@ -73,7 +73,7 @@ const Gr = /* @__PURE__ */ me(ve), he = {
|
|
|
73
73
|
"purpur-grid-item-colspan-lg-3": "_purpur-grid-item-colspan-lg-3_zx9tz_122",
|
|
74
74
|
"purpur-grid-item-colspan-lg-2": "_purpur-grid-item-colspan-lg-2_zx9tz_127",
|
|
75
75
|
"purpur-grid-item-colspan-lg-1": "_purpur-grid-item-colspan-lg-1_zx9tz_77"
|
|
76
|
-
},
|
|
76
|
+
}, xe = Wr.bind($e), T = "purpur-grid-item", E = ({
|
|
77
77
|
children: e,
|
|
78
78
|
className: a,
|
|
79
79
|
colSpanSm: n = 4,
|
|
@@ -82,7 +82,7 @@ const Gr = /* @__PURE__ */ me(ve), he = {
|
|
|
82
82
|
noColGap: r = !1,
|
|
83
83
|
...t
|
|
84
84
|
}) => {
|
|
85
|
-
const i =
|
|
85
|
+
const i = xe([
|
|
86
86
|
T,
|
|
87
87
|
{
|
|
88
88
|
[`${T}--no-col-gap`]: r,
|
|
@@ -93,9 +93,9 @@ const Gr = /* @__PURE__ */ me(ve), he = {
|
|
|
93
93
|
a
|
|
94
94
|
]);
|
|
95
95
|
return /* @__PURE__ */ o("div", { className: i, ...t, children: e });
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
const
|
|
96
|
+
}, be = (e) => !!e && le(e) && e.type === E;
|
|
97
|
+
E.displayName = "Grid.Item";
|
|
98
|
+
const we = {
|
|
99
99
|
"purpur-grid": "_purpur-grid_8kjv6_1",
|
|
100
100
|
"purpur-grid__inner": "_purpur-grid__inner_8kjv6_27",
|
|
101
101
|
"purpur-grid__inner--no-gap": "_purpur-grid__inner--no-gap_8kjv6_32",
|
|
@@ -124,7 +124,7 @@ const xe = {
|
|
|
124
124
|
"purpur-grid__inner-col-lg-3": "_purpur-grid__inner-col-lg-3_8kjv6_147",
|
|
125
125
|
"purpur-grid__inner-col-lg-2": "_purpur-grid__inner-col-lg-2_8kjv6_152",
|
|
126
126
|
"purpur-grid__inner--flex": "_purpur-grid__inner--flex_8kjv6_156"
|
|
127
|
-
},
|
|
127
|
+
}, lr = Wr.bind(we), Ne = "purpur-grid", j = "purpur-grid__inner", U = ({
|
|
128
128
|
children: e,
|
|
129
129
|
className: a,
|
|
130
130
|
containerClassName: n,
|
|
@@ -134,9 +134,9 @@ const xe = {
|
|
|
134
134
|
noGap: t = !1,
|
|
135
135
|
noColGap: i = !1,
|
|
136
136
|
noRowGap: c = !1,
|
|
137
|
-
...
|
|
137
|
+
...g
|
|
138
138
|
}) => {
|
|
139
|
-
const y =
|
|
139
|
+
const y = ur.toArray(e).filter(be), l = !!y.length, m = lr([Ne, n]), v = lr([
|
|
140
140
|
j,
|
|
141
141
|
{
|
|
142
142
|
[`${j}--grid`]: !l,
|
|
@@ -150,22 +150,22 @@ const xe = {
|
|
|
150
150
|
},
|
|
151
151
|
a
|
|
152
152
|
]);
|
|
153
|
-
return /* @__PURE__ */ o("div", { className:
|
|
153
|
+
return /* @__PURE__ */ o("div", { className: m, ...g, children: /* @__PURE__ */ o("div", { className: v, children: l ? ur.map(y, ({ props: { children: $, ...k } }) => /* @__PURE__ */ o(E, { ...k, noColGap: t || i, children: $ })) : e }) });
|
|
154
154
|
};
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
function
|
|
155
|
+
U.displayName = "Grid";
|
|
156
|
+
U.Item = E;
|
|
157
|
+
function je(e) {
|
|
158
158
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
159
159
|
}
|
|
160
|
-
var
|
|
160
|
+
var sr = { exports: {} };
|
|
161
161
|
/*!
|
|
162
162
|
Copyright (c) 2018 Jed Watson.
|
|
163
163
|
Licensed under the MIT License (MIT), see
|
|
164
164
|
http://jedwatson.github.io/classnames
|
|
165
165
|
*/
|
|
166
|
-
var
|
|
167
|
-
function
|
|
168
|
-
return
|
|
166
|
+
var _r;
|
|
167
|
+
function Se() {
|
|
168
|
+
return _r || (_r = 1, (function(e) {
|
|
169
169
|
(function() {
|
|
170
170
|
var a = {}.hasOwnProperty;
|
|
171
171
|
function n() {
|
|
@@ -194,10 +194,10 @@ function Ne() {
|
|
|
194
194
|
}
|
|
195
195
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
196
196
|
})();
|
|
197
|
-
})(
|
|
197
|
+
})(sr)), sr.exports;
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
const
|
|
199
|
+
var Ce = Se();
|
|
200
|
+
const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
201
201
|
"purpur-link": "_purpur-link_5pram_1",
|
|
202
202
|
"purpur-link--text": "_purpur-link--text_5pram_18",
|
|
203
203
|
"purpur-link--standalone": "_purpur-link--standalone_5pram_18",
|
|
@@ -208,7 +208,7 @@ const Se = /* @__PURE__ */ we(je), Ce = {
|
|
|
208
208
|
"purpur-link--navigation-negative": "_purpur-link--navigation-negative_5pram_32",
|
|
209
209
|
"purpur-link--ensure-target-area": "_purpur-link--ensure-target-area_5pram_71",
|
|
210
210
|
"purpur-link--silent": "_purpur-link--silent_5pram_77"
|
|
211
|
-
},
|
|
211
|
+
}, ze = ke.bind(Oe), z = "purpur-link", X = ({
|
|
212
212
|
["data-testid"]: e,
|
|
213
213
|
children: a,
|
|
214
214
|
className: n,
|
|
@@ -218,29 +218,29 @@ const Se = /* @__PURE__ */ we(je), Ce = {
|
|
|
218
218
|
negative: t = !1,
|
|
219
219
|
onClick: i,
|
|
220
220
|
rel: c,
|
|
221
|
-
silent:
|
|
221
|
+
silent: g,
|
|
222
222
|
target: y,
|
|
223
223
|
variant: l,
|
|
224
|
-
...
|
|
224
|
+
...m
|
|
225
225
|
}) => (
|
|
226
226
|
/* eslint-disable-next-line jsx-a11y/click-events-have-key-events */
|
|
227
227
|
/* @__PURE__ */ o(
|
|
228
228
|
"span",
|
|
229
229
|
{
|
|
230
|
-
className:
|
|
230
|
+
className: ze(
|
|
231
231
|
n,
|
|
232
232
|
z,
|
|
233
233
|
`${z}--${t ? `${l}-negative` : l}`,
|
|
234
234
|
{
|
|
235
|
-
[`${z}--silent`]:
|
|
235
|
+
[`${z}--silent`]: g,
|
|
236
236
|
[`${z}--negative`]: t,
|
|
237
|
-
[`${z}--disable-visited`]: u ??
|
|
237
|
+
[`${z}--disable-visited`]: u ?? g,
|
|
238
238
|
[`${z}--ensure-target-area`]: p
|
|
239
239
|
}
|
|
240
240
|
),
|
|
241
241
|
"data-testid": e,
|
|
242
242
|
onClick: r ? void 0 : i,
|
|
243
|
-
...r ? {} :
|
|
243
|
+
...r ? {} : m,
|
|
244
244
|
children: r ? /* @__PURE__ */ o(
|
|
245
245
|
"a",
|
|
246
246
|
{
|
|
@@ -249,26 +249,26 @@ const Se = /* @__PURE__ */ we(je), Ce = {
|
|
|
249
249
|
rel: c,
|
|
250
250
|
onClick: i,
|
|
251
251
|
"data-testid": e ? `${e} a` : void 0,
|
|
252
|
-
...
|
|
252
|
+
...m,
|
|
253
253
|
children: a
|
|
254
254
|
}
|
|
255
255
|
) : a
|
|
256
256
|
}
|
|
257
257
|
)
|
|
258
258
|
);
|
|
259
|
-
|
|
260
|
-
function
|
|
259
|
+
X.displayName = "Link";
|
|
260
|
+
function Pe(e) {
|
|
261
261
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
262
262
|
}
|
|
263
|
-
var
|
|
263
|
+
var cr = { exports: {} };
|
|
264
264
|
/*!
|
|
265
265
|
Copyright (c) 2018 Jed Watson.
|
|
266
266
|
Licensed under the MIT License (MIT), see
|
|
267
267
|
http://jedwatson.github.io/classnames
|
|
268
268
|
*/
|
|
269
|
-
var
|
|
270
|
-
function
|
|
271
|
-
return
|
|
269
|
+
var dr;
|
|
270
|
+
function Ae() {
|
|
271
|
+
return dr || (dr = 1, (function(e) {
|
|
272
272
|
(function() {
|
|
273
273
|
var a = {}.hasOwnProperty;
|
|
274
274
|
function n() {
|
|
@@ -297,10 +297,10 @@ function ze() {
|
|
|
297
297
|
}
|
|
298
298
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
299
299
|
})();
|
|
300
|
-
})(
|
|
300
|
+
})(cr)), cr.exports;
|
|
301
301
|
}
|
|
302
|
-
var
|
|
303
|
-
const
|
|
302
|
+
var Me = Ae();
|
|
303
|
+
const qe = /* @__PURE__ */ Pe(Me), Te = {
|
|
304
304
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
305
305
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
306
306
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -308,40 +308,40 @@ const Ae = /* @__PURE__ */ Oe(Pe), Me = {
|
|
|
308
308
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
309
309
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
310
310
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
311
|
-
},
|
|
311
|
+
}, Ve = qe.bind(Te), gr = "purpur-icon", Ie = "md", He = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Le = ({ content: e = "", title: a } = {}) => {
|
|
312
312
|
const n = [
|
|
313
313
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
314
314
|
{ name: "fill", value: "currentColor" },
|
|
315
315
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
316
316
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
317
317
|
], u = a ? `<title>${a}</title>` : "";
|
|
318
|
-
return `<svg ${
|
|
319
|
-
},
|
|
320
|
-
const r =
|
|
321
|
-
content:
|
|
318
|
+
return `<svg ${He(n)}>${u}${e}</svg>`;
|
|
319
|
+
}, Ze = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Jr = ({ svg: e, allyTitle: a, className: n, size: u = Ie, ...p }) => {
|
|
320
|
+
const r = Le({
|
|
321
|
+
content: Ze(e.svg),
|
|
322
322
|
title: a
|
|
323
|
-
}), t =
|
|
323
|
+
}), t = Ve(gr, `${gr}--${u}`, n);
|
|
324
324
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
325
325
|
};
|
|
326
|
-
|
|
327
|
-
const
|
|
326
|
+
Jr.displayName = "Icon";
|
|
327
|
+
const Re = {
|
|
328
328
|
name: "error-filled",
|
|
329
329
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 24" fill="currentColor"><path fill-rule="evenodd" d="M14.268 3.5c-.77-1.333-2.694-1.333-3.464 0l-8.66 15c-.77 1.333.192 3 1.732 3h17.32c1.54 0 2.502-1.667 1.733-3l-8.66-15Zm-.694 5.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.585 1.234-1.25 1.234-.648 0-1.25-.585-1.25-1.234 0-.633.602-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"/></svg>',
|
|
330
330
|
keywords: ["error-filled"],
|
|
331
331
|
category: "status"
|
|
332
332
|
};
|
|
333
|
-
function
|
|
333
|
+
function Be(e) {
|
|
334
334
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
335
335
|
}
|
|
336
|
-
var
|
|
336
|
+
var mr = { exports: {} };
|
|
337
337
|
/*!
|
|
338
338
|
Copyright (c) 2018 Jed Watson.
|
|
339
339
|
Licensed under the MIT License (MIT), see
|
|
340
340
|
http://jedwatson.github.io/classnames
|
|
341
341
|
*/
|
|
342
|
-
var
|
|
343
|
-
function
|
|
344
|
-
return
|
|
342
|
+
var fr;
|
|
343
|
+
function Ee() {
|
|
344
|
+
return fr || (fr = 1, (function(e) {
|
|
345
345
|
(function() {
|
|
346
346
|
var a = {}.hasOwnProperty;
|
|
347
347
|
function n() {
|
|
@@ -370,14 +370,14 @@ function Re() {
|
|
|
370
370
|
}
|
|
371
371
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
372
372
|
})();
|
|
373
|
-
})(
|
|
373
|
+
})(mr)), mr.exports;
|
|
374
374
|
}
|
|
375
|
-
var
|
|
376
|
-
const
|
|
375
|
+
var Fe = Ee();
|
|
376
|
+
const Ge = /* @__PURE__ */ Be(Fe), De = {
|
|
377
377
|
"purpur-field-error-text": "_purpur-field-error-text_u1cy2_1",
|
|
378
378
|
"purpur-field-error-text--negative": "_purpur-field-error-text--negative_u1cy2_11",
|
|
379
379
|
"purpur-field-error-text__icon": "_purpur-field-error-text__icon_u1cy2_14"
|
|
380
|
-
},
|
|
380
|
+
}, vr = Ge.bind(De), G = "purpur-field-error-text", We = ({
|
|
381
381
|
children: e,
|
|
382
382
|
className: a,
|
|
383
383
|
negative: n = !1,
|
|
@@ -386,30 +386,30 @@ const Ee = /* @__PURE__ */ Ze(Be), Fe = {
|
|
|
386
386
|
}) => /* @__PURE__ */ f(
|
|
387
387
|
"div",
|
|
388
388
|
{
|
|
389
|
-
className:
|
|
390
|
-
[`${
|
|
389
|
+
className: vr(a, G, {
|
|
390
|
+
[`${G}--negative`]: n
|
|
391
391
|
}),
|
|
392
392
|
"aria-live": "assertive",
|
|
393
393
|
"aria-relevant": u,
|
|
394
394
|
...p,
|
|
395
395
|
children: [
|
|
396
|
-
/* @__PURE__ */ o(
|
|
396
|
+
/* @__PURE__ */ o(Jr, { svg: Re, size: "xs", className: vr(`${G}__icon`) }),
|
|
397
397
|
e
|
|
398
398
|
]
|
|
399
399
|
}
|
|
400
400
|
);
|
|
401
|
-
function
|
|
401
|
+
function Je(e) {
|
|
402
402
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
403
403
|
}
|
|
404
|
-
var
|
|
404
|
+
var hr = { exports: {} };
|
|
405
405
|
/*!
|
|
406
406
|
Copyright (c) 2018 Jed Watson.
|
|
407
407
|
Licensed under the MIT License (MIT), see
|
|
408
408
|
http://jedwatson.github.io/classnames
|
|
409
409
|
*/
|
|
410
|
-
var
|
|
411
|
-
function
|
|
412
|
-
return
|
|
410
|
+
var yr;
|
|
411
|
+
function Ke() {
|
|
412
|
+
return yr || (yr = 1, (function(e) {
|
|
413
413
|
(function() {
|
|
414
414
|
var a = {}.hasOwnProperty;
|
|
415
415
|
function n() {
|
|
@@ -438,14 +438,14 @@ function We() {
|
|
|
438
438
|
}
|
|
439
439
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
440
440
|
})();
|
|
441
|
-
})(
|
|
441
|
+
})(hr)), hr.exports;
|
|
442
442
|
}
|
|
443
|
-
var
|
|
444
|
-
const
|
|
443
|
+
var Qe = Ke();
|
|
444
|
+
const Ue = /* @__PURE__ */ Je(Qe), Xe = {
|
|
445
445
|
"purpur-field-helper-text": "_purpur-field-helper-text_11nsh_1",
|
|
446
446
|
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_11nsh_9",
|
|
447
447
|
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_11nsh_12"
|
|
448
|
-
},
|
|
448
|
+
}, Ye = Ue.bind(Xe), D = "purpur-field-helper-text", rt = ({
|
|
449
449
|
children: e,
|
|
450
450
|
className: a,
|
|
451
451
|
disabled: n,
|
|
@@ -453,24 +453,24 @@ const Ke = /* @__PURE__ */ Ge(Je), Qe = {
|
|
|
453
453
|
negative: p,
|
|
454
454
|
...r
|
|
455
455
|
}) => {
|
|
456
|
-
const t =
|
|
456
|
+
const t = Ye(a, D, {
|
|
457
457
|
[`${D}--disabled`]: n,
|
|
458
458
|
[`${D}--negative`]: p
|
|
459
459
|
});
|
|
460
460
|
return /* @__PURE__ */ o("span", { id: u, className: t, ...r, children: e });
|
|
461
461
|
};
|
|
462
|
-
function
|
|
462
|
+
function et(e) {
|
|
463
463
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
464
464
|
}
|
|
465
|
-
var
|
|
465
|
+
var $r = { exports: {} };
|
|
466
466
|
/*!
|
|
467
467
|
Copyright (c) 2018 Jed Watson.
|
|
468
468
|
Licensed under the MIT License (MIT), see
|
|
469
469
|
http://jedwatson.github.io/classnames
|
|
470
470
|
*/
|
|
471
|
-
var
|
|
472
|
-
function
|
|
473
|
-
return
|
|
471
|
+
var xr;
|
|
472
|
+
function tt() {
|
|
473
|
+
return xr || (xr = 1, (function(e) {
|
|
474
474
|
(function() {
|
|
475
475
|
var a = {}.hasOwnProperty;
|
|
476
476
|
function n() {
|
|
@@ -499,10 +499,10 @@ function rt() {
|
|
|
499
499
|
}
|
|
500
500
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
501
501
|
})();
|
|
502
|
-
})(
|
|
502
|
+
})($r)), $r.exports;
|
|
503
503
|
}
|
|
504
|
-
var
|
|
505
|
-
const
|
|
504
|
+
var nt = tt();
|
|
505
|
+
const it = /* @__PURE__ */ et(nt), at = {
|
|
506
506
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
507
507
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
508
508
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -510,86 +510,95 @@ const tt = /* @__PURE__ */ Ye(et), nt = {
|
|
|
510
510
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
511
511
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
512
512
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
513
|
-
},
|
|
513
|
+
}, ut = it.bind(at), br = "purpur-icon", pt = "md", ot = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), lt = ({ content: e = "", title: a } = {}) => {
|
|
514
514
|
const n = [
|
|
515
515
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
516
516
|
{ name: "fill", value: "currentColor" },
|
|
517
517
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
518
518
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
519
519
|
], u = a ? `<title>${a}</title>` : "";
|
|
520
|
-
return `<svg ${
|
|
521
|
-
},
|
|
522
|
-
const r =
|
|
523
|
-
content:
|
|
520
|
+
return `<svg ${ot(n)}>${u}${e}</svg>`;
|
|
521
|
+
}, st = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Y = ({ svg: e, allyTitle: a, className: n, size: u = pt, ...p }) => {
|
|
522
|
+
const r = lt({
|
|
523
|
+
content: st(e.svg),
|
|
524
524
|
title: a
|
|
525
|
-
}), t =
|
|
525
|
+
}), t = ut(br, `${br}--${u}`, n);
|
|
526
526
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
527
527
|
};
|
|
528
|
-
|
|
529
|
-
const
|
|
528
|
+
Y.displayName = "Icon";
|
|
529
|
+
const _t = {
|
|
530
530
|
name: "check-circle-filled",
|
|
531
531
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm4.712-12.491a.875.875 0 1 0-1.424-1.018l-4.4 6.16-2.27-2.27a.875.875 0 0 0-1.237 1.238l3 3a.875.875 0 0 0 1.331-.11l5-7Z" clip-rule="evenodd"/></svg>',
|
|
532
532
|
keywords: ["check-circle-filled"],
|
|
533
533
|
category: "status"
|
|
534
|
-
},
|
|
535
|
-
|
|
536
|
-
const
|
|
534
|
+
}, Kr = (e) => /* @__PURE__ */ o(Y, { ...e, svg: _t });
|
|
535
|
+
Kr.displayName = "IconCheckCircleFilled";
|
|
536
|
+
const ct = {
|
|
537
537
|
name: "chevron-down",
|
|
538
538
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',
|
|
539
539
|
keywords: ["chevron-down"],
|
|
540
540
|
category: "utility"
|
|
541
|
-
},
|
|
542
|
-
|
|
543
|
-
function
|
|
541
|
+
}, Qr = (e) => /* @__PURE__ */ o(Y, { ...e, svg: ct });
|
|
542
|
+
Qr.displayName = "IconChevronDown";
|
|
543
|
+
function wr(e, a) {
|
|
544
544
|
if (typeof e == "function")
|
|
545
545
|
return e(a);
|
|
546
546
|
e != null && (e.current = a);
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function dt(...e) {
|
|
549
549
|
return (a) => {
|
|
550
550
|
let n = !1;
|
|
551
551
|
const u = e.map((p) => {
|
|
552
|
-
const r =
|
|
552
|
+
const r = wr(p, a);
|
|
553
553
|
return !n && typeof r == "function" && (n = !0), r;
|
|
554
554
|
});
|
|
555
555
|
if (n)
|
|
556
556
|
return () => {
|
|
557
557
|
for (let p = 0; p < u.length; p++) {
|
|
558
558
|
const r = u[p];
|
|
559
|
-
typeof r == "function" ? r() :
|
|
559
|
+
typeof r == "function" ? r() : wr(e[p], null);
|
|
560
560
|
}
|
|
561
561
|
};
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
|
+
var gt = Symbol.for("react.lazy"), R = d[" use ".trim().toString()];
|
|
565
|
+
function mt(e) {
|
|
566
|
+
return typeof e == "object" && e !== null && "then" in e;
|
|
567
|
+
}
|
|
568
|
+
function Ur(e) {
|
|
569
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === gt && "_payload" in e && mt(e._payload);
|
|
570
|
+
}
|
|
564
571
|
// @__NO_SIDE_EFFECTS__
|
|
565
|
-
function
|
|
566
|
-
const a = /* @__PURE__ */
|
|
567
|
-
|
|
572
|
+
function ft(e) {
|
|
573
|
+
const a = /* @__PURE__ */ vt(e), n = d.forwardRef((u, p) => {
|
|
574
|
+
let { children: r, ...t } = u;
|
|
575
|
+
Ur(r) && typeof R == "function" && (r = R(r._payload));
|
|
576
|
+
const i = d.Children.toArray(r), c = i.find(yt);
|
|
568
577
|
if (c) {
|
|
569
|
-
const
|
|
570
|
-
return /* @__PURE__ */ o(a, { ...t, ref: p, children:
|
|
578
|
+
const g = c.props.children, y = i.map((l) => l === c ? d.Children.count(g) > 1 ? d.Children.only(null) : d.isValidElement(g) ? g.props.children : null : l);
|
|
579
|
+
return /* @__PURE__ */ o(a, { ...t, ref: p, children: d.isValidElement(g) ? d.cloneElement(g, void 0, y) : null });
|
|
571
580
|
}
|
|
572
581
|
return /* @__PURE__ */ o(a, { ...t, ref: p, children: r });
|
|
573
582
|
});
|
|
574
583
|
return n.displayName = `${e}.Slot`, n;
|
|
575
584
|
}
|
|
576
585
|
// @__NO_SIDE_EFFECTS__
|
|
577
|
-
function
|
|
578
|
-
const a =
|
|
579
|
-
|
|
580
|
-
if (
|
|
581
|
-
const t =
|
|
582
|
-
return p.type !==
|
|
586
|
+
function vt(e) {
|
|
587
|
+
const a = d.forwardRef((n, u) => {
|
|
588
|
+
let { children: p, ...r } = n;
|
|
589
|
+
if (Ur(p) && typeof R == "function" && (p = R(p._payload)), d.isValidElement(p)) {
|
|
590
|
+
const t = xt(p), i = $t(r, p.props);
|
|
591
|
+
return p.type !== d.Fragment && (i.ref = u ? dt(u, t) : t), d.cloneElement(p, i);
|
|
583
592
|
}
|
|
584
|
-
return
|
|
593
|
+
return d.Children.count(p) > 1 ? d.Children.only(null) : null;
|
|
585
594
|
});
|
|
586
595
|
return a.displayName = `${e}.SlotClone`, a;
|
|
587
596
|
}
|
|
588
|
-
var
|
|
589
|
-
function
|
|
590
|
-
return
|
|
597
|
+
var ht = Symbol("radix.slottable");
|
|
598
|
+
function yt(e) {
|
|
599
|
+
return d.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ht;
|
|
591
600
|
}
|
|
592
|
-
function
|
|
601
|
+
function $t(e, a) {
|
|
593
602
|
const n = { ...a };
|
|
594
603
|
for (const u in a) {
|
|
595
604
|
const p = e[u], r = a[u];
|
|
@@ -600,12 +609,12 @@ function ft(e, a) {
|
|
|
600
609
|
}
|
|
601
610
|
return { ...e, ...n };
|
|
602
611
|
}
|
|
603
|
-
function
|
|
612
|
+
function xt(e) {
|
|
604
613
|
var a, n;
|
|
605
614
|
let u = (a = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : a.get, p = u && "isReactWarning" in u && u.isReactWarning;
|
|
606
615
|
return p ? e.ref : (u = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, p = u && "isReactWarning" in u && u.isReactWarning, p ? e.props.ref : e.props.ref || e.ref);
|
|
607
616
|
}
|
|
608
|
-
var
|
|
617
|
+
var bt = [
|
|
609
618
|
"a",
|
|
610
619
|
"button",
|
|
611
620
|
"div",
|
|
@@ -623,14 +632,14 @@ var ht = [
|
|
|
623
632
|
"span",
|
|
624
633
|
"svg",
|
|
625
634
|
"ul"
|
|
626
|
-
],
|
|
627
|
-
const n = /* @__PURE__ */
|
|
635
|
+
], wt = bt.reduce((e, a) => {
|
|
636
|
+
const n = /* @__PURE__ */ ft(`Primitive.${a}`), u = d.forwardRef((p, r) => {
|
|
628
637
|
const { asChild: t, ...i } = p, c = t ? n : a;
|
|
629
638
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(c, { ...i, ref: r });
|
|
630
639
|
});
|
|
631
640
|
return u.displayName = `Primitive.${a}`, { ...e, [a]: u };
|
|
632
|
-
}, {}),
|
|
633
|
-
|
|
641
|
+
}, {}), Nt = "Label", Xr = d.forwardRef((e, a) => /* @__PURE__ */ o(
|
|
642
|
+
wt.label,
|
|
634
643
|
{
|
|
635
644
|
...e,
|
|
636
645
|
ref: a,
|
|
@@ -640,20 +649,20 @@ var ht = [
|
|
|
640
649
|
}
|
|
641
650
|
}
|
|
642
651
|
));
|
|
643
|
-
|
|
644
|
-
var
|
|
645
|
-
function
|
|
652
|
+
Xr.displayName = Nt;
|
|
653
|
+
var jt = Xr;
|
|
654
|
+
function St(e) {
|
|
646
655
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
647
656
|
}
|
|
648
|
-
var
|
|
657
|
+
var Nr = { exports: {} };
|
|
649
658
|
/*!
|
|
650
659
|
Copyright (c) 2018 Jed Watson.
|
|
651
660
|
Licensed under the MIT License (MIT), see
|
|
652
661
|
http://jedwatson.github.io/classnames
|
|
653
662
|
*/
|
|
654
|
-
var
|
|
655
|
-
function
|
|
656
|
-
return
|
|
663
|
+
var jr;
|
|
664
|
+
function Ct() {
|
|
665
|
+
return jr || (jr = 1, (function(e) {
|
|
657
666
|
(function() {
|
|
658
667
|
var a = {}.hasOwnProperty;
|
|
659
668
|
function n() {
|
|
@@ -682,38 +691,38 @@ function wt() {
|
|
|
682
691
|
}
|
|
683
692
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
684
693
|
})();
|
|
685
|
-
})(
|
|
694
|
+
})(Nr)), Nr.exports;
|
|
686
695
|
}
|
|
687
|
-
var
|
|
688
|
-
const
|
|
696
|
+
var kt = Ct();
|
|
697
|
+
const Ot = /* @__PURE__ */ St(kt), zt = {
|
|
689
698
|
"purpur-label": "_purpur-label_1x80u_1",
|
|
690
699
|
"purpur-label--negative": "_purpur-label--negative_1x80u_8",
|
|
691
700
|
"purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
|
|
692
|
-
},
|
|
701
|
+
}, Pt = Ot.bind(zt), W = "purpur-label", At = ({
|
|
693
702
|
children: e,
|
|
694
703
|
className: a,
|
|
695
704
|
disabled: n,
|
|
696
705
|
negative: u = !1,
|
|
697
706
|
...p
|
|
698
707
|
}) => {
|
|
699
|
-
const r =
|
|
700
|
-
[`${
|
|
701
|
-
[`${
|
|
708
|
+
const r = Pt(a, W, {
|
|
709
|
+
[`${W}--disabled`]: n,
|
|
710
|
+
[`${W}--negative`]: u
|
|
702
711
|
});
|
|
703
|
-
return /* @__PURE__ */ o(
|
|
712
|
+
return /* @__PURE__ */ o(jt, { className: r, ...p, children: e });
|
|
704
713
|
};
|
|
705
|
-
function
|
|
714
|
+
function Mt(e) {
|
|
706
715
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
707
716
|
}
|
|
708
|
-
var
|
|
717
|
+
var Sr = { exports: {} };
|
|
709
718
|
/*!
|
|
710
719
|
Copyright (c) 2018 Jed Watson.
|
|
711
720
|
Licensed under the MIT License (MIT), see
|
|
712
721
|
http://jedwatson.github.io/classnames
|
|
713
722
|
*/
|
|
714
|
-
var
|
|
715
|
-
function
|
|
716
|
-
return
|
|
723
|
+
var Cr;
|
|
724
|
+
function qt() {
|
|
725
|
+
return Cr || (Cr = 1, (function(e) {
|
|
717
726
|
(function() {
|
|
718
727
|
var a = {}.hasOwnProperty;
|
|
719
728
|
function n() {
|
|
@@ -742,33 +751,33 @@ function zt() {
|
|
|
742
751
|
}
|
|
743
752
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
744
753
|
})();
|
|
745
|
-
})(
|
|
754
|
+
})(Sr)), Sr.exports;
|
|
746
755
|
}
|
|
747
|
-
var
|
|
748
|
-
const
|
|
756
|
+
var Tt = qt();
|
|
757
|
+
const Vt = /* @__PURE__ */ Mt(Tt), It = "_rotate_12t9p_1", Ht = "_dash_12t9p_1", Lt = {
|
|
749
758
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
750
|
-
rotate:
|
|
759
|
+
rotate: It,
|
|
751
760
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
752
761
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
753
762
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
754
763
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
755
764
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
756
765
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
757
|
-
dash:
|
|
766
|
+
dash: Ht,
|
|
758
767
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
759
768
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
760
|
-
},
|
|
769
|
+
}, kr = Vt.bind(Lt), V = "purpur-spinner", Zt = {
|
|
761
770
|
SM: "sm"
|
|
762
|
-
},
|
|
771
|
+
}, Yr = ({
|
|
763
772
|
disabled: e = !1,
|
|
764
773
|
negative: a = !1,
|
|
765
|
-
size: n =
|
|
774
|
+
size: n = Zt.SM,
|
|
766
775
|
className: u,
|
|
767
776
|
...p
|
|
768
|
-
}) => /* @__PURE__ */ o("div", { className:
|
|
777
|
+
}) => /* @__PURE__ */ o("div", { className: kr(V, `${V}--${n}`, u), ...p, children: /* @__PURE__ */ o("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ o(
|
|
769
778
|
"circle",
|
|
770
779
|
{
|
|
771
|
-
className:
|
|
780
|
+
className: kr(`${V}__circle`, {
|
|
772
781
|
[`${V}__circle--disabled`]: e,
|
|
773
782
|
[`${V}__circle--negative`]: a
|
|
774
783
|
}),
|
|
@@ -777,19 +786,19 @@ const At = /* @__PURE__ */ Ot(Pt), Mt = "_rotate_12t9p_1", qt = "_dash_12t9p_1",
|
|
|
777
786
|
r: "20"
|
|
778
787
|
}
|
|
779
788
|
) }) });
|
|
780
|
-
|
|
781
|
-
function
|
|
789
|
+
Yr.displayName = "Spinner";
|
|
790
|
+
function Rt(e) {
|
|
782
791
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
783
792
|
}
|
|
784
|
-
var
|
|
793
|
+
var Or = { exports: {} };
|
|
785
794
|
/*!
|
|
786
795
|
Copyright (c) 2018 Jed Watson.
|
|
787
796
|
Licensed under the MIT License (MIT), see
|
|
788
797
|
http://jedwatson.github.io/classnames
|
|
789
798
|
*/
|
|
790
|
-
var
|
|
791
|
-
function
|
|
792
|
-
return
|
|
799
|
+
var zr;
|
|
800
|
+
function Bt() {
|
|
801
|
+
return zr || (zr = 1, (function(e) {
|
|
793
802
|
(function() {
|
|
794
803
|
var a = {}.hasOwnProperty;
|
|
795
804
|
function n() {
|
|
@@ -818,10 +827,10 @@ function Ht() {
|
|
|
818
827
|
}
|
|
819
828
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
820
829
|
})();
|
|
821
|
-
})(
|
|
830
|
+
})(Or)), Or.exports;
|
|
822
831
|
}
|
|
823
|
-
var
|
|
824
|
-
const
|
|
832
|
+
var Et = Bt();
|
|
833
|
+
const Ft = /* @__PURE__ */ Rt(Et), Gt = {
|
|
825
834
|
"purpur-select": "_purpur-select_t7uxd_1",
|
|
826
835
|
"purpur-select__label": "_purpur-select__label_t7uxd_7",
|
|
827
836
|
"purpur-select__field-row": "_purpur-select__field-row_t7uxd_12",
|
|
@@ -841,7 +850,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
841
850
|
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_t7uxd_133",
|
|
842
851
|
"purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_t7uxd_136",
|
|
843
852
|
"purpur-select__valid-icon": "_purpur-select__valid-icon_t7uxd_142"
|
|
844
|
-
}, x =
|
|
853
|
+
}, x = Ft.bind(Gt), s = "purpur-select", re = se(
|
|
845
854
|
({
|
|
846
855
|
label: e,
|
|
847
856
|
options: a,
|
|
@@ -852,11 +861,11 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
852
861
|
placeholder: t,
|
|
853
862
|
readOnly: i = !1,
|
|
854
863
|
["data-testid"]: c,
|
|
855
|
-
valid:
|
|
864
|
+
valid: g,
|
|
856
865
|
loading: y,
|
|
857
866
|
...l
|
|
858
|
-
},
|
|
859
|
-
const v = (C) => c ? `${c}-${C}` : void 0, $ =
|
|
867
|
+
}, m) => {
|
|
868
|
+
const v = (C) => c ? `${c}-${C}` : void 0, $ = g && !u, k = Q(), S = l.id ?? k, O = p ? `${S}-helper-text` : void 0, H = x(`${s}__select-container`, {
|
|
860
869
|
[`${s}__select-container--disabled`]: l.disabled,
|
|
861
870
|
[`${s}__select-container--readonly`]: i && !l.disabled,
|
|
862
871
|
[`${s}__select-container--negative`]: r
|
|
@@ -874,7 +883,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
874
883
|
}),
|
|
875
884
|
children: [
|
|
876
885
|
e && /* @__PURE__ */ f(
|
|
877
|
-
|
|
886
|
+
At,
|
|
878
887
|
{
|
|
879
888
|
htmlFor: S,
|
|
880
889
|
className: x(`${s}__label`),
|
|
@@ -894,7 +903,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
894
903
|
...l,
|
|
895
904
|
onChange: i || l == null ? void 0 : l.onChange,
|
|
896
905
|
id: S,
|
|
897
|
-
ref:
|
|
906
|
+
ref: m,
|
|
898
907
|
"data-testid": v("select"),
|
|
899
908
|
"aria-describedby": l["aria-describedby"] || O,
|
|
900
909
|
"aria-invalid": l["aria-invalid"] || !!u,
|
|
@@ -908,14 +917,14 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
908
917
|
children: [
|
|
909
918
|
t && /* @__PURE__ */ o("option", { value: t.value ?? t.label, disabled: !0, children: t.label }),
|
|
910
919
|
a.map(
|
|
911
|
-
(C, M) =>
|
|
920
|
+
(C, M) => Dt(C) ? Wt(C, S, M, i) : ee(C, S, M, i)
|
|
912
921
|
)
|
|
913
922
|
]
|
|
914
923
|
}
|
|
915
924
|
),
|
|
916
925
|
/* @__PURE__ */ f("div", { className: x(`${s}__end-adornments`), children: [
|
|
917
926
|
y ? /* @__PURE__ */ o(
|
|
918
|
-
|
|
927
|
+
Yr,
|
|
919
928
|
{
|
|
920
929
|
disabled: l.disabled,
|
|
921
930
|
size: "xxs",
|
|
@@ -924,7 +933,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
924
933
|
},
|
|
925
934
|
"spinner"
|
|
926
935
|
) : /* @__PURE__ */ o(
|
|
927
|
-
|
|
936
|
+
Qr,
|
|
928
937
|
{
|
|
929
938
|
className: x(`${s}__select-icon`, {
|
|
930
939
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
@@ -938,7 +947,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
938
947
|
"chevron-down-icon"
|
|
939
948
|
),
|
|
940
949
|
$ && /* @__PURE__ */ o(
|
|
941
|
-
|
|
950
|
+
Kr,
|
|
942
951
|
{
|
|
943
952
|
"data-testid": v("valid-icon"),
|
|
944
953
|
className: x(`${s}__valid-icon`)
|
|
@@ -956,7 +965,7 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
956
965
|
)
|
|
957
966
|
] }) }),
|
|
958
967
|
O && /* @__PURE__ */ o(
|
|
959
|
-
|
|
968
|
+
rt,
|
|
960
969
|
{
|
|
961
970
|
disabled: l.disabled,
|
|
962
971
|
"data-testid": v("helper-text"),
|
|
@@ -965,15 +974,15 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
965
974
|
children: p
|
|
966
975
|
}
|
|
967
976
|
),
|
|
968
|
-
u && /* @__PURE__ */ o(
|
|
977
|
+
u && /* @__PURE__ */ o(We, { negative: r, "data-testid": v("error-text"), children: u })
|
|
969
978
|
]
|
|
970
979
|
}
|
|
971
980
|
);
|
|
972
981
|
}
|
|
973
|
-
),
|
|
982
|
+
), Dt = (e) => e.hasOwnProperty("options"), Wt = (e, a, n, u) => {
|
|
974
983
|
const p = `${a}--group--${n}`;
|
|
975
|
-
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) =>
|
|
976
|
-
},
|
|
984
|
+
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) => ee(r, p, t, u)) }, p);
|
|
985
|
+
}, ee = (e, a, n, u) => /* @__PURE__ */ o(
|
|
977
986
|
"option",
|
|
978
987
|
{
|
|
979
988
|
value: e.value ?? e.label,
|
|
@@ -982,19 +991,19 @@ const Zt = /* @__PURE__ */ It(Lt), Rt = {
|
|
|
982
991
|
},
|
|
983
992
|
`${a}--option--${n}`
|
|
984
993
|
);
|
|
985
|
-
|
|
986
|
-
function
|
|
994
|
+
re.displayName = "Select";
|
|
995
|
+
function Jt(e) {
|
|
987
996
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
988
997
|
}
|
|
989
|
-
var
|
|
998
|
+
var J = { exports: {} };
|
|
990
999
|
/*!
|
|
991
1000
|
Copyright (c) 2018 Jed Watson.
|
|
992
1001
|
Licensed under the MIT License (MIT), see
|
|
993
1002
|
http://jedwatson.github.io/classnames
|
|
994
1003
|
*/
|
|
995
|
-
var
|
|
996
|
-
function
|
|
997
|
-
return
|
|
1004
|
+
var Pr;
|
|
1005
|
+
function Kt() {
|
|
1006
|
+
return Pr || (Pr = 1, (function(e) {
|
|
998
1007
|
(function() {
|
|
999
1008
|
var a = {}.hasOwnProperty;
|
|
1000
1009
|
function n() {
|
|
@@ -1023,10 +1032,10 @@ function Dt() {
|
|
|
1023
1032
|
}
|
|
1024
1033
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1025
1034
|
})();
|
|
1026
|
-
})(
|
|
1035
|
+
})(J)), J.exports;
|
|
1027
1036
|
}
|
|
1028
|
-
var
|
|
1029
|
-
const
|
|
1037
|
+
var Qt = Kt();
|
|
1038
|
+
const rr = /* @__PURE__ */ Jt(Qt), _ = "purpur-footer", er = {
|
|
1030
1039
|
"purpur-footer": "_purpur-footer_1jrwm_1",
|
|
1031
1040
|
"purpur-footer__container": "_purpur-footer__container_1jrwm_8",
|
|
1032
1041
|
"purpur-footer__logo": "_purpur-footer__logo_1jrwm_29",
|
|
@@ -1051,18 +1060,18 @@ const Y = /* @__PURE__ */ Ft(Gt), _ = "purpur-footer", rr = {
|
|
|
1051
1060
|
"purpur-footer__additional-links": "_purpur-footer__additional-links_1jrwm_271",
|
|
1052
1061
|
"purpur-footer__custom-content": "_purpur-footer__custom-content_1jrwm_283"
|
|
1053
1062
|
};
|
|
1054
|
-
function
|
|
1063
|
+
function Ut(e) {
|
|
1055
1064
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1056
1065
|
}
|
|
1057
|
-
var
|
|
1066
|
+
var Ar = { exports: {} };
|
|
1058
1067
|
/*!
|
|
1059
1068
|
Copyright (c) 2018 Jed Watson.
|
|
1060
1069
|
Licensed under the MIT License (MIT), see
|
|
1061
1070
|
http://jedwatson.github.io/classnames
|
|
1062
1071
|
*/
|
|
1063
|
-
var
|
|
1064
|
-
function
|
|
1065
|
-
return
|
|
1072
|
+
var Mr;
|
|
1073
|
+
function Xt() {
|
|
1074
|
+
return Mr || (Mr = 1, (function(e) {
|
|
1066
1075
|
(function() {
|
|
1067
1076
|
var a = {}.hasOwnProperty;
|
|
1068
1077
|
function n() {
|
|
@@ -1091,10 +1100,10 @@ function Jt() {
|
|
|
1091
1100
|
}
|
|
1092
1101
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1093
1102
|
})();
|
|
1094
|
-
})(
|
|
1103
|
+
})(Ar)), Ar.exports;
|
|
1095
1104
|
}
|
|
1096
|
-
var
|
|
1097
|
-
const
|
|
1105
|
+
var Yt = Xt();
|
|
1106
|
+
const rn = /* @__PURE__ */ Ut(Yt), L = {
|
|
1098
1107
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1099
1108
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1100
1109
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1114,18 +1123,18 @@ const Qt = /* @__PURE__ */ Wt(Kt), L = {
|
|
|
1114
1123
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1115
1124
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1116
1125
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1117
|
-
},
|
|
1126
|
+
}, en = {
|
|
1118
1127
|
TITLE100: "title-100"
|
|
1119
|
-
}, Z = "purpur-heading",
|
|
1128
|
+
}, Z = "purpur-heading", tr = ({
|
|
1120
1129
|
children: e,
|
|
1121
1130
|
className: a = "",
|
|
1122
1131
|
enableHyphenation: n = !1,
|
|
1123
1132
|
negative: u = !1,
|
|
1124
1133
|
tag: p,
|
|
1125
|
-
variant: r =
|
|
1134
|
+
variant: r = en.TITLE100,
|
|
1126
1135
|
...t
|
|
1127
1136
|
}) => {
|
|
1128
|
-
const i = p, c =
|
|
1137
|
+
const i = p, c = rn([
|
|
1129
1138
|
a,
|
|
1130
1139
|
L[Z],
|
|
1131
1140
|
L[`${Z}--${r}`],
|
|
@@ -1136,19 +1145,19 @@ const Qt = /* @__PURE__ */ Wt(Kt), L = {
|
|
|
1136
1145
|
]);
|
|
1137
1146
|
return /* @__PURE__ */ o(i, { className: c, ...t, children: e });
|
|
1138
1147
|
};
|
|
1139
|
-
|
|
1140
|
-
function
|
|
1148
|
+
tr.displayName = "Heading";
|
|
1149
|
+
function tn(e) {
|
|
1141
1150
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1142
1151
|
}
|
|
1143
|
-
var
|
|
1152
|
+
var qr = { exports: {} };
|
|
1144
1153
|
/*!
|
|
1145
1154
|
Copyright (c) 2018 Jed Watson.
|
|
1146
1155
|
Licensed under the MIT License (MIT), see
|
|
1147
1156
|
http://jedwatson.github.io/classnames
|
|
1148
1157
|
*/
|
|
1149
|
-
var
|
|
1150
|
-
function
|
|
1151
|
-
return
|
|
1158
|
+
var Tr;
|
|
1159
|
+
function nn() {
|
|
1160
|
+
return Tr || (Tr = 1, (function(e) {
|
|
1152
1161
|
(function() {
|
|
1153
1162
|
var a = {}.hasOwnProperty;
|
|
1154
1163
|
function n() {
|
|
@@ -1177,26 +1186,26 @@ function Yt() {
|
|
|
1177
1186
|
}
|
|
1178
1187
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1179
1188
|
})();
|
|
1180
|
-
})(
|
|
1189
|
+
})(qr)), qr.exports;
|
|
1181
1190
|
}
|
|
1182
|
-
var
|
|
1183
|
-
const
|
|
1191
|
+
var an = nn();
|
|
1192
|
+
const te = /* @__PURE__ */ tn(an), un = {
|
|
1184
1193
|
"purpur-accordion": "_purpur-accordion_mwmy0_1",
|
|
1185
1194
|
"purpur-accordion__title": "_purpur-accordion__title_mwmy0_4",
|
|
1186
1195
|
"purpur-accordion--negative": "_purpur-accordion--negative_mwmy0_13"
|
|
1187
1196
|
};
|
|
1188
|
-
function
|
|
1197
|
+
function pn(e) {
|
|
1189
1198
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1190
1199
|
}
|
|
1191
|
-
var
|
|
1200
|
+
var Vr = { exports: {} };
|
|
1192
1201
|
/*!
|
|
1193
1202
|
Copyright (c) 2018 Jed Watson.
|
|
1194
1203
|
Licensed under the MIT License (MIT), see
|
|
1195
1204
|
http://jedwatson.github.io/classnames
|
|
1196
1205
|
*/
|
|
1197
|
-
var
|
|
1198
|
-
function
|
|
1199
|
-
return
|
|
1206
|
+
var Ir;
|
|
1207
|
+
function on() {
|
|
1208
|
+
return Ir || (Ir = 1, (function(e) {
|
|
1200
1209
|
(function() {
|
|
1201
1210
|
var a = {}.hasOwnProperty;
|
|
1202
1211
|
function n() {
|
|
@@ -1225,10 +1234,10 @@ function nn() {
|
|
|
1225
1234
|
}
|
|
1226
1235
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1227
1236
|
})();
|
|
1228
|
-
})(
|
|
1237
|
+
})(Vr)), Vr.exports;
|
|
1229
1238
|
}
|
|
1230
|
-
var
|
|
1231
|
-
const
|
|
1239
|
+
var ln = on();
|
|
1240
|
+
const sn = /* @__PURE__ */ pn(ln), _n = {
|
|
1232
1241
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1233
1242
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1234
1243
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1236,41 +1245,41 @@ const un = /* @__PURE__ */ tn(an), pn = {
|
|
|
1236
1245
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1237
1246
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1238
1247
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1239
|
-
},
|
|
1248
|
+
}, cn = sn.bind(_n), Hr = "purpur-icon", dn = "md", gn = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), mn = ({ content: e = "", title: a } = {}) => {
|
|
1240
1249
|
const n = [
|
|
1241
1250
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1242
1251
|
{ name: "fill", value: "currentColor" },
|
|
1243
1252
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1244
1253
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1245
1254
|
], u = a ? `<title>${a}</title>` : "";
|
|
1246
|
-
return `<svg ${
|
|
1247
|
-
},
|
|
1248
|
-
const r =
|
|
1249
|
-
content:
|
|
1255
|
+
return `<svg ${gn(n)}>${u}${e}</svg>`;
|
|
1256
|
+
}, fn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ne = ({ svg: e, allyTitle: a, className: n, size: u = dn, ...p }) => {
|
|
1257
|
+
const r = mn({
|
|
1258
|
+
content: fn(e.svg),
|
|
1250
1259
|
title: a
|
|
1251
|
-
}), t =
|
|
1260
|
+
}), t = cn(Hr, `${Hr}--${u}`, n);
|
|
1252
1261
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1253
1262
|
};
|
|
1254
|
-
|
|
1255
|
-
const
|
|
1263
|
+
ne.displayName = "Icon";
|
|
1264
|
+
const vn = {
|
|
1256
1265
|
name: "chevron-down",
|
|
1257
1266
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.136 7.864a.9.9 0 0 0-1.272 0L12 14.727 5.136 7.864a.9.9 0 0 0-1.272 1.272l7.5 7.5a.9.9 0 0 0 1.272 0l7.5-7.5a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"/></svg>',
|
|
1258
1267
|
keywords: ["chevron-down"],
|
|
1259
1268
|
category: "utility"
|
|
1260
|
-
},
|
|
1261
|
-
|
|
1262
|
-
function
|
|
1269
|
+
}, ie = (e) => /* @__PURE__ */ o(ne, { ...e, svg: vn });
|
|
1270
|
+
ie.displayName = "IconChevronDown";
|
|
1271
|
+
function hn(e) {
|
|
1263
1272
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1264
1273
|
}
|
|
1265
|
-
var
|
|
1274
|
+
var Lr = { exports: {} };
|
|
1266
1275
|
/*!
|
|
1267
1276
|
Copyright (c) 2018 Jed Watson.
|
|
1268
1277
|
Licensed under the MIT License (MIT), see
|
|
1269
1278
|
http://jedwatson.github.io/classnames
|
|
1270
1279
|
*/
|
|
1271
|
-
var
|
|
1272
|
-
function
|
|
1273
|
-
return
|
|
1280
|
+
var Zr;
|
|
1281
|
+
function yn() {
|
|
1282
|
+
return Zr || (Zr = 1, (function(e) {
|
|
1274
1283
|
(function() {
|
|
1275
1284
|
var a = {}.hasOwnProperty;
|
|
1276
1285
|
function n() {
|
|
@@ -1299,10 +1308,10 @@ function mn() {
|
|
|
1299
1308
|
}
|
|
1300
1309
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1301
1310
|
})();
|
|
1302
|
-
})(
|
|
1311
|
+
})(Lr)), Lr.exports;
|
|
1303
1312
|
}
|
|
1304
|
-
var
|
|
1305
|
-
const
|
|
1313
|
+
var $n = yn();
|
|
1314
|
+
const xn = /* @__PURE__ */ hn($n), bn = {
|
|
1306
1315
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1307
1316
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1308
1317
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1317,26 +1326,26 @@ const vn = /* @__PURE__ */ gn(fn), hn = {
|
|
|
1317
1326
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1318
1327
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1319
1328
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1320
|
-
},
|
|
1329
|
+
}, wn = xn.bind(bn), Nn = {
|
|
1321
1330
|
PARAGRAPH100: "paragraph-100"
|
|
1322
|
-
}, I = "purpur-paragraph",
|
|
1331
|
+
}, I = "purpur-paragraph", ae = ({
|
|
1323
1332
|
children: e,
|
|
1324
1333
|
className: a,
|
|
1325
1334
|
disabled: n,
|
|
1326
1335
|
enableHyphenation: u = !1,
|
|
1327
1336
|
negative: p = !1,
|
|
1328
|
-
variant: r =
|
|
1337
|
+
variant: r = Nn.PARAGRAPH100,
|
|
1329
1338
|
...t
|
|
1330
1339
|
}) => {
|
|
1331
|
-
const i =
|
|
1340
|
+
const i = wn(a, I, `${I}--${r}`, {
|
|
1332
1341
|
[`${I}--hyphens`]: u,
|
|
1333
1342
|
[`${I}--disabled`]: n,
|
|
1334
1343
|
[`${I}--negative`]: p
|
|
1335
1344
|
});
|
|
1336
1345
|
return /* @__PURE__ */ o("p", { ...t, className: i, children: e });
|
|
1337
1346
|
};
|
|
1338
|
-
|
|
1339
|
-
const
|
|
1347
|
+
ae.displayName = "Paragraph";
|
|
1348
|
+
const jn = {
|
|
1340
1349
|
"purpur-accordion-item": "_purpur-accordion-item_1du2l_1",
|
|
1341
1350
|
"purpur-accordion-item__trigger": "_purpur-accordion-item__trigger_1du2l_4",
|
|
1342
1351
|
"purpur-accordion-item__header": "_purpur-accordion-item__header_1du2l_10",
|
|
@@ -1348,7 +1357,7 @@ const xn = {
|
|
|
1348
1357
|
"purpur-accordion-item__contentText": "_purpur-accordion-item__contentText_1du2l_82",
|
|
1349
1358
|
"purpur-accordion-item__contentText--limit-width": "_purpur-accordion-item__contentText--limit-width_1du2l_85",
|
|
1350
1359
|
"purpur-accordion-item--negative": "_purpur-accordion-item--negative_1du2l_107"
|
|
1351
|
-
}, P =
|
|
1360
|
+
}, P = te.bind(jn), N = "purpur-accordion-item", Sn = ({
|
|
1352
1361
|
children: e,
|
|
1353
1362
|
className: a,
|
|
1354
1363
|
fullWidth: n = !1,
|
|
@@ -1358,18 +1367,18 @@ const xn = {
|
|
|
1358
1367
|
onClick: t,
|
|
1359
1368
|
onOpen: i,
|
|
1360
1369
|
onClose: c,
|
|
1361
|
-
...
|
|
1370
|
+
...g
|
|
1362
1371
|
}) => {
|
|
1363
|
-
const y =
|
|
1372
|
+
const y = ce(ue), l = Q(), [m, v] = de(!r), $ = P([
|
|
1364
1373
|
N,
|
|
1365
1374
|
{
|
|
1366
1375
|
[`${N}--negative`]: y
|
|
1367
1376
|
},
|
|
1368
1377
|
a
|
|
1369
1378
|
]);
|
|
1370
|
-
return /* @__PURE__ */ f("div", { className: $, ...
|
|
1379
|
+
return /* @__PURE__ */ f("div", { className: $, ...g, children: [
|
|
1371
1380
|
/* @__PURE__ */ o(
|
|
1372
|
-
|
|
1381
|
+
tr,
|
|
1373
1382
|
{
|
|
1374
1383
|
tag: p,
|
|
1375
1384
|
variant: "title-100",
|
|
@@ -1378,19 +1387,19 @@ const xn = {
|
|
|
1378
1387
|
"button",
|
|
1379
1388
|
{
|
|
1380
1389
|
type: "button",
|
|
1381
|
-
"data-state":
|
|
1390
|
+
"data-state": m ? "open" : "close",
|
|
1382
1391
|
onClick: (k) => {
|
|
1383
|
-
t && t(k),
|
|
1392
|
+
t && t(k), m ? i && i() : c && c(), v(!m);
|
|
1384
1393
|
},
|
|
1385
1394
|
className: P(`${N}__trigger`, a, {
|
|
1386
|
-
[`${N}__rotate`]: !
|
|
1395
|
+
[`${N}__rotate`]: !m
|
|
1387
1396
|
}),
|
|
1388
|
-
"aria-expanded": !
|
|
1397
|
+
"aria-expanded": !m,
|
|
1389
1398
|
"aria-controls": l,
|
|
1390
1399
|
id: l + "button",
|
|
1391
1400
|
children: [
|
|
1392
1401
|
u,
|
|
1393
|
-
/* @__PURE__ */ o(
|
|
1402
|
+
/* @__PURE__ */ o(ie, { size: "md", className: P(`${N}__icon`), "aria-hidden": !0 })
|
|
1394
1403
|
]
|
|
1395
1404
|
}
|
|
1396
1405
|
)
|
|
@@ -1400,7 +1409,7 @@ const xn = {
|
|
|
1400
1409
|
"div",
|
|
1401
1410
|
{
|
|
1402
1411
|
className: P(`${N}__content`, a),
|
|
1403
|
-
"aria-hidden":
|
|
1412
|
+
"aria-hidden": m,
|
|
1404
1413
|
id: l,
|
|
1405
1414
|
"aria-labelledby": l + "button",
|
|
1406
1415
|
role: "region",
|
|
@@ -1410,13 +1419,13 @@ const xn = {
|
|
|
1410
1419
|
className: P(`${N}__contentText`, {
|
|
1411
1420
|
[`${N}__contentText--limit-width`]: !n
|
|
1412
1421
|
}),
|
|
1413
|
-
children: typeof e == "string" ? /* @__PURE__ */ o(
|
|
1422
|
+
children: typeof e == "string" ? /* @__PURE__ */ o(ae, { variant: "paragraph-200", children: e }) : e
|
|
1414
1423
|
}
|
|
1415
1424
|
)
|
|
1416
1425
|
}
|
|
1417
1426
|
)
|
|
1418
1427
|
] });
|
|
1419
|
-
},
|
|
1428
|
+
}, Rr = te.bind(un), K = "purpur-accordion", ue = _e(!1), B = ({
|
|
1420
1429
|
children: e,
|
|
1421
1430
|
className: a,
|
|
1422
1431
|
negative: n = !1,
|
|
@@ -1426,16 +1435,16 @@ const xn = {
|
|
|
1426
1435
|
schema: t,
|
|
1427
1436
|
...i
|
|
1428
1437
|
}) => {
|
|
1429
|
-
const c =
|
|
1430
|
-
|
|
1438
|
+
const c = Rr([
|
|
1439
|
+
K,
|
|
1431
1440
|
{
|
|
1432
|
-
[`${
|
|
1441
|
+
[`${K}--negative`]: n
|
|
1433
1442
|
},
|
|
1434
1443
|
a
|
|
1435
1444
|
]);
|
|
1436
1445
|
return /* @__PURE__ */ f("div", { className: c, ...i, children: [
|
|
1437
|
-
u && /* @__PURE__ */ o(
|
|
1438
|
-
/* @__PURE__ */ o(
|
|
1446
|
+
u && /* @__PURE__ */ o(tr, { tag: p, variant: r, className: Rr(`${K}__title`), children: u }),
|
|
1447
|
+
/* @__PURE__ */ o(ue.Provider, { value: n, children: e }),
|
|
1439
1448
|
t && /* @__PURE__ */ o(
|
|
1440
1449
|
"script",
|
|
1441
1450
|
{
|
|
@@ -1447,9 +1456,9 @@ const xn = {
|
|
|
1447
1456
|
)
|
|
1448
1457
|
] });
|
|
1449
1458
|
};
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
const A =
|
|
1459
|
+
B.Item = Sn;
|
|
1460
|
+
B.displayName = "Accordion";
|
|
1461
|
+
const A = rr.bind(er), Br = ({ links: e, customLink: a }) => /* @__PURE__ */ o("ul", { children: e.map(({ href: n, text: u, ...p }, r) => /* @__PURE__ */ o("li", { children: a ? /* @__PURE__ */ o(
|
|
1453
1462
|
a,
|
|
1454
1463
|
{
|
|
1455
1464
|
...p,
|
|
@@ -1457,11 +1466,11 @@ const A = Y.bind(rr), Rr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("u
|
|
|
1457
1466
|
className: A(`${_}__custom-link-navigation`),
|
|
1458
1467
|
children: u
|
|
1459
1468
|
}
|
|
1460
|
-
) : /* @__PURE__ */ o(
|
|
1469
|
+
) : /* @__PURE__ */ o(X, { ...p, variant: "navigation", negative: !0, href: n, disableVisited: !0, children: u }) }, r)) }), Cn = ({
|
|
1461
1470
|
navigationLinks: e,
|
|
1462
1471
|
sectionProps: a,
|
|
1463
1472
|
customLink: n
|
|
1464
|
-
}) => /* @__PURE__ */ f(
|
|
1473
|
+
}) => /* @__PURE__ */ f(oe, { children: [
|
|
1465
1474
|
/* @__PURE__ */ o(
|
|
1466
1475
|
"section",
|
|
1467
1476
|
{
|
|
@@ -1473,7 +1482,7 @@ const A = Y.bind(rr), Rr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("u
|
|
|
1473
1482
|
),
|
|
1474
1483
|
children: e.map((u, p) => /* @__PURE__ */ f("div", { className: A(`${_}__navigation-section`), children: [
|
|
1475
1484
|
/* @__PURE__ */ o("h3", { className: A(`${_}__navigation-section-heading`), children: u.heading }),
|
|
1476
|
-
/* @__PURE__ */ o(
|
|
1485
|
+
/* @__PURE__ */ o(Br, { links: u.links, customLink: n })
|
|
1477
1486
|
] }, p))
|
|
1478
1487
|
}
|
|
1479
1488
|
),
|
|
@@ -1486,31 +1495,31 @@ const A = Y.bind(rr), Rr = ({ links: e, customLink: a }) => /* @__PURE__ */ o("u
|
|
|
1486
1495
|
`${_}__navigation--sm`,
|
|
1487
1496
|
a == null ? void 0 : a.className
|
|
1488
1497
|
),
|
|
1489
|
-
children: /* @__PURE__ */ o(
|
|
1490
|
-
|
|
1498
|
+
children: /* @__PURE__ */ o(B, { negative: !0, children: e.map((u, p) => /* @__PURE__ */ o(
|
|
1499
|
+
B.Item,
|
|
1491
1500
|
{
|
|
1492
1501
|
title: u.heading,
|
|
1493
1502
|
titleTag: "h2",
|
|
1494
1503
|
className: A(`${_}__navigation-section`),
|
|
1495
|
-
children: /* @__PURE__ */ o(
|
|
1504
|
+
children: /* @__PURE__ */ o(Br, { links: u.links, customLink: n })
|
|
1496
1505
|
},
|
|
1497
1506
|
p
|
|
1498
1507
|
)) })
|
|
1499
1508
|
}
|
|
1500
1509
|
)
|
|
1501
1510
|
] });
|
|
1502
|
-
function
|
|
1511
|
+
function kn(e) {
|
|
1503
1512
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1504
1513
|
}
|
|
1505
|
-
var
|
|
1514
|
+
var Er = { exports: {} };
|
|
1506
1515
|
/*!
|
|
1507
1516
|
Copyright (c) 2018 Jed Watson.
|
|
1508
1517
|
Licensed under the MIT License (MIT), see
|
|
1509
1518
|
http://jedwatson.github.io/classnames
|
|
1510
1519
|
*/
|
|
1511
|
-
var
|
|
1512
|
-
function
|
|
1513
|
-
return
|
|
1520
|
+
var Fr;
|
|
1521
|
+
function On() {
|
|
1522
|
+
return Fr || (Fr = 1, (function(e) {
|
|
1514
1523
|
(function() {
|
|
1515
1524
|
var a = {}.hasOwnProperty;
|
|
1516
1525
|
function n() {
|
|
@@ -1539,10 +1548,10 @@ function jn() {
|
|
|
1539
1548
|
}
|
|
1540
1549
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1541
1550
|
})();
|
|
1542
|
-
})(
|
|
1551
|
+
})(Er)), Er.exports;
|
|
1543
1552
|
}
|
|
1544
|
-
var
|
|
1545
|
-
const
|
|
1553
|
+
var zn = On();
|
|
1554
|
+
const Pn = /* @__PURE__ */ kn(zn), An = {
|
|
1546
1555
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1547
1556
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1548
1557
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1550,33 +1559,33 @@ const Cn = /* @__PURE__ */ Nn(Sn), kn = {
|
|
|
1550
1559
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1551
1560
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1552
1561
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1553
|
-
},
|
|
1562
|
+
}, Mn = Pn.bind(An), Gr = "purpur-icon", qn = "md", Tn = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), Vn = ({ content: e = "", title: a } = {}) => {
|
|
1554
1563
|
const n = [
|
|
1555
1564
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1556
1565
|
{ name: "fill", value: "currentColor" },
|
|
1557
1566
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1558
1567
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1559
1568
|
], u = a ? `<title>${a}</title>` : "";
|
|
1560
|
-
return `<svg ${
|
|
1561
|
-
},
|
|
1562
|
-
const r =
|
|
1563
|
-
content:
|
|
1569
|
+
return `<svg ${Tn(n)}>${u}${e}</svg>`;
|
|
1570
|
+
}, In = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), pe = ({ svg: e, allyTitle: a, className: n, size: u = qn, ...p }) => {
|
|
1571
|
+
const r = Vn({
|
|
1572
|
+
content: In(e.svg),
|
|
1564
1573
|
title: a
|
|
1565
|
-
}), t =
|
|
1574
|
+
}), t = Mn(Gr, `${Gr}--${u}`, n);
|
|
1566
1575
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1567
1576
|
};
|
|
1568
|
-
|
|
1569
|
-
const
|
|
1577
|
+
pe.displayName = "Icon";
|
|
1578
|
+
const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
1570
1579
|
"a",
|
|
1571
1580
|
{
|
|
1572
1581
|
...n,
|
|
1573
1582
|
href: a,
|
|
1574
|
-
className:
|
|
1583
|
+
className: Hn(`${_}__social-link`),
|
|
1575
1584
|
rel: "noreferrer",
|
|
1576
1585
|
target: "_blank",
|
|
1577
|
-
children: /* @__PURE__ */ o(
|
|
1586
|
+
children: /* @__PURE__ */ o(pe, { svg: e })
|
|
1578
1587
|
}
|
|
1579
|
-
),
|
|
1588
|
+
), Ln = () => /* @__PURE__ */ f(
|
|
1580
1589
|
"svg",
|
|
1581
1590
|
{
|
|
1582
1591
|
width: "81",
|
|
@@ -1647,7 +1656,7 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1647
1656
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_5309_7721", children: /* @__PURE__ */ o("rect", { width: "81", height: "32", fill: "currentColor" }) }) })
|
|
1648
1657
|
]
|
|
1649
1658
|
}
|
|
1650
|
-
), h =
|
|
1659
|
+
), h = rr.bind(er), Zn = ({
|
|
1651
1660
|
className: e,
|
|
1652
1661
|
navigation: a,
|
|
1653
1662
|
social: n,
|
|
@@ -1657,22 +1666,22 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1657
1666
|
payments: t,
|
|
1658
1667
|
logo: i,
|
|
1659
1668
|
themeSelect: c,
|
|
1660
|
-
forceColorScheme:
|
|
1669
|
+
forceColorScheme: g,
|
|
1661
1670
|
...y
|
|
1662
1671
|
}) => {
|
|
1663
|
-
var S, O, H, C, M,
|
|
1664
|
-
const l = h(e, _),
|
|
1665
|
-
return
|
|
1666
|
-
cssVariablesSelector: `[data-id="${
|
|
1667
|
-
currentColorScheme:
|
|
1668
|
-
}), /* @__PURE__ */ o("footer", { "data-id":
|
|
1672
|
+
var S, O, H, C, M, nr, ir, ar;
|
|
1673
|
+
const l = h(e, _), m = Q(), { options: v } = ge(), [$, k] = me();
|
|
1674
|
+
return fe({
|
|
1675
|
+
cssVariablesSelector: `[data-id="${m}"]`,
|
|
1676
|
+
currentColorScheme: g ?? (v == null ? void 0 : v.footerColorScheme)
|
|
1677
|
+
}), /* @__PURE__ */ o("footer", { "data-id": m, className: l, ...y, children: /* @__PURE__ */ o(U, { children: /* @__PURE__ */ f("div", { className: h(`${_}__container`), children: [
|
|
1669
1678
|
/* @__PURE__ */ o(
|
|
1670
1679
|
"div",
|
|
1671
1680
|
{
|
|
1672
1681
|
className: h(`${_}__logo`, {
|
|
1673
1682
|
[`${_}__logo--telia`]: !i
|
|
1674
1683
|
}),
|
|
1675
|
-
children: i ?? /* @__PURE__ */ o(
|
|
1684
|
+
children: i ?? /* @__PURE__ */ o(Ln, {})
|
|
1676
1685
|
}
|
|
1677
1686
|
),
|
|
1678
1687
|
n && /* @__PURE__ */ o(
|
|
@@ -1684,11 +1693,11 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1684
1693
|
`${_}__social--md`,
|
|
1685
1694
|
(S = n.sectionProps) == null ? void 0 : S.className
|
|
1686
1695
|
),
|
|
1687
|
-
children: n.links.map(({ icon: b, href: w, ...q }) => /* @__PURE__ */
|
|
1696
|
+
children: n.links.map(({ icon: b, href: w, ...q }) => /* @__PURE__ */ F(Dr, { ...q, icon: b, href: w, key: w }))
|
|
1688
1697
|
}
|
|
1689
1698
|
),
|
|
1690
1699
|
a && /* @__PURE__ */ o(
|
|
1691
|
-
|
|
1700
|
+
Cn,
|
|
1692
1701
|
{
|
|
1693
1702
|
customLink: a.customLink,
|
|
1694
1703
|
navigationLinks: a.links,
|
|
@@ -1742,7 +1751,7 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1742
1751
|
}
|
|
1743
1752
|
),
|
|
1744
1753
|
c && /* @__PURE__ */ o(
|
|
1745
|
-
|
|
1754
|
+
re,
|
|
1746
1755
|
{
|
|
1747
1756
|
value: $,
|
|
1748
1757
|
label: c.label,
|
|
@@ -1760,10 +1769,10 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1760
1769
|
...p.sectionProps,
|
|
1761
1770
|
className: h(
|
|
1762
1771
|
`${_}__additional-links`,
|
|
1763
|
-
(
|
|
1772
|
+
(nr = p.sectionProps) == null ? void 0 : nr.className
|
|
1764
1773
|
),
|
|
1765
|
-
children: (
|
|
1766
|
-
|
|
1774
|
+
children: (ir = p == null ? void 0 : p.links) == null ? void 0 : ir.map(({ href: b, text: w, ...q }) => /* @__PURE__ */ F(
|
|
1775
|
+
X,
|
|
1767
1776
|
{
|
|
1768
1777
|
...q,
|
|
1769
1778
|
variant: "standalone",
|
|
@@ -1784,15 +1793,15 @@ const qn = Y.bind(rr), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1784
1793
|
className: h(
|
|
1785
1794
|
`${_}__social`,
|
|
1786
1795
|
`${_}__social--sm`,
|
|
1787
|
-
(
|
|
1796
|
+
(ar = n.sectionProps) == null ? void 0 : ar.className
|
|
1788
1797
|
),
|
|
1789
|
-
children: n.links.map(({ icon: b, href: w, ...q }) => /* @__PURE__ */
|
|
1798
|
+
children: n.links.map(({ icon: b, href: w, ...q }) => /* @__PURE__ */ F(Dr, { ...q, icon: b, href: w, key: w }))
|
|
1790
1799
|
}
|
|
1791
1800
|
)
|
|
1792
1801
|
] }) }) });
|
|
1793
1802
|
};
|
|
1794
|
-
|
|
1803
|
+
Zn.displayName = "Footer";
|
|
1795
1804
|
export {
|
|
1796
|
-
|
|
1805
|
+
Zn as Footer
|
|
1797
1806
|
};
|
|
1798
1807
|
//# sourceMappingURL=footer.es.js.map
|