@purpurds/footer 8.8.1 → 8.10.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.cjs.js +1 -61
- package/dist/footer.cjs.js.map +1 -1
- package/dist/footer.es.js +377 -469
- package/dist/footer.es.js.map +1 -1
- package/package.json +29 -29
package/dist/footer.es.js
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
1
|
+
import { jsx as o, jsxs as h, Fragment as te } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { Children as
|
|
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";
|
|
5
|
-
import { useTheme as
|
|
6
|
-
function
|
|
5
|
+
import { useTheme as oe, useColorScheme as le, useApplyTheme as se } from "@purpurds/theme";
|
|
6
|
+
function _e(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
9
|
-
var
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Licensed under the MIT License (MIT), see
|
|
13
|
-
http://jedwatson.github.io/classnames
|
|
14
|
-
*/
|
|
15
|
-
var or;
|
|
16
|
-
function he() {
|
|
17
|
-
return or || (or = 1, (function(e) {
|
|
9
|
+
var er = { exports: {} }, tr;
|
|
10
|
+
function ce() {
|
|
11
|
+
return tr || (tr = 1, (function(e) {
|
|
18
12
|
(function() {
|
|
19
13
|
var a = {}.hasOwnProperty;
|
|
20
14
|
function n() {
|
|
@@ -43,10 +37,10 @@ function he() {
|
|
|
43
37
|
}
|
|
44
38
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
45
39
|
})();
|
|
46
|
-
})(
|
|
40
|
+
})(er)), er.exports;
|
|
47
41
|
}
|
|
48
|
-
var
|
|
49
|
-
const
|
|
42
|
+
var de = ce();
|
|
43
|
+
const Rr = /* @__PURE__ */ _e(de), ge = {
|
|
50
44
|
"purpur-grid-item": "_purpur-grid-item_zx9tz_1",
|
|
51
45
|
"purpur-grid-item--no-col-gap": "_purpur-grid-item--no-col-gap_zx9tz_6",
|
|
52
46
|
"purpur-grid-item-colspan-sm-4": "_purpur-grid-item-colspan-sm-4_zx9tz_24",
|
|
@@ -73,7 +67,7 @@ const Wr = /* @__PURE__ */ ve(ye), $e = {
|
|
|
73
67
|
"purpur-grid-item-colspan-lg-3": "_purpur-grid-item-colspan-lg-3_zx9tz_122",
|
|
74
68
|
"purpur-grid-item-colspan-lg-2": "_purpur-grid-item-colspan-lg-2_zx9tz_127",
|
|
75
69
|
"purpur-grid-item-colspan-lg-1": "_purpur-grid-item-colspan-lg-1_zx9tz_77"
|
|
76
|
-
},
|
|
70
|
+
}, me = Rr.bind(ge), A = "purpur-grid-item", L = ({
|
|
77
71
|
children: e,
|
|
78
72
|
className: a,
|
|
79
73
|
colSpanSm: n = 4,
|
|
@@ -82,20 +76,20 @@ const Wr = /* @__PURE__ */ ve(ye), $e = {
|
|
|
82
76
|
noColGap: r = !1,
|
|
83
77
|
...t
|
|
84
78
|
}) => {
|
|
85
|
-
const i =
|
|
86
|
-
|
|
79
|
+
const i = me([
|
|
80
|
+
A,
|
|
87
81
|
{
|
|
88
|
-
[`${
|
|
89
|
-
[`${
|
|
90
|
-
[`${
|
|
91
|
-
[`${
|
|
82
|
+
[`${A}--no-col-gap`]: r,
|
|
83
|
+
[`${A}-colspan-sm-${n}`]: n,
|
|
84
|
+
[`${A}-colspan-md-${u}`]: u,
|
|
85
|
+
[`${A}-colspan-lg-${p}`]: p
|
|
92
86
|
},
|
|
93
87
|
a
|
|
94
88
|
]);
|
|
95
89
|
return /* @__PURE__ */ o("div", { className: i, ...t, children: e });
|
|
96
|
-
},
|
|
97
|
-
|
|
98
|
-
const
|
|
90
|
+
}, fe = (e) => !!e && ne(e) && e.type === L;
|
|
91
|
+
L.displayName = "Grid.Item";
|
|
92
|
+
const he = {
|
|
99
93
|
"purpur-grid": "_purpur-grid_8kjv6_1",
|
|
100
94
|
"purpur-grid__inner": "_purpur-grid__inner_8kjv6_27",
|
|
101
95
|
"purpur-grid__inner--no-gap": "_purpur-grid__inner--no-gap_8kjv6_32",
|
|
@@ -124,7 +118,7 @@ const we = {
|
|
|
124
118
|
"purpur-grid__inner-col-lg-3": "_purpur-grid__inner-col-lg-3_8kjv6_147",
|
|
125
119
|
"purpur-grid__inner-col-lg-2": "_purpur-grid__inner-col-lg-2_8kjv6_152",
|
|
126
120
|
"purpur-grid__inner--flex": "_purpur-grid__inner--flex_8kjv6_156"
|
|
127
|
-
},
|
|
121
|
+
}, nr = Rr.bind(he), ve = "purpur-grid", j = "purpur-grid__inner", W = ({
|
|
128
122
|
children: e,
|
|
129
123
|
className: a,
|
|
130
124
|
containerClassName: n,
|
|
@@ -136,7 +130,7 @@ const we = {
|
|
|
136
130
|
noRowGap: c = !1,
|
|
137
131
|
...g
|
|
138
132
|
}) => {
|
|
139
|
-
const
|
|
133
|
+
const x = rr.toArray(e).filter(fe), l = !!x.length, m = nr([ve, n]), $ = nr([
|
|
140
134
|
j,
|
|
141
135
|
{
|
|
142
136
|
[`${j}--grid`]: !l,
|
|
@@ -150,22 +144,16 @@ const we = {
|
|
|
150
144
|
},
|
|
151
145
|
a
|
|
152
146
|
]);
|
|
153
|
-
return /* @__PURE__ */ o("div", { className: m, ...g, children: /* @__PURE__ */ o("div", { className:
|
|
147
|
+
return /* @__PURE__ */ o("div", { className: m, ...g, children: /* @__PURE__ */ o("div", { className: $, children: l ? rr.map(x, ({ props: { children: b, ...S } }) => /* @__PURE__ */ o(L, { ...S, noColGap: t || i, children: b })) : e }) });
|
|
154
148
|
};
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
function
|
|
149
|
+
W.displayName = "Grid";
|
|
150
|
+
W.Item = L;
|
|
151
|
+
function ye(e) {
|
|
158
152
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
159
153
|
}
|
|
160
|
-
var
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
Licensed under the MIT License (MIT), see
|
|
164
|
-
http://jedwatson.github.io/classnames
|
|
165
|
-
*/
|
|
166
|
-
var _r;
|
|
167
|
-
function Se() {
|
|
168
|
-
return _r || (_r = 1, (function(e) {
|
|
154
|
+
var ir = { exports: {} }, ar;
|
|
155
|
+
function $e() {
|
|
156
|
+
return ar || (ar = 1, (function(e) {
|
|
169
157
|
(function() {
|
|
170
158
|
var a = {}.hasOwnProperty;
|
|
171
159
|
function n() {
|
|
@@ -194,10 +182,10 @@ function Se() {
|
|
|
194
182
|
}
|
|
195
183
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
196
184
|
})();
|
|
197
|
-
})(
|
|
185
|
+
})(ir)), ir.exports;
|
|
198
186
|
}
|
|
199
|
-
var
|
|
200
|
-
const
|
|
187
|
+
var xe = $e();
|
|
188
|
+
const be = /* @__PURE__ */ ye(xe), we = {
|
|
201
189
|
"purpur-link": "_purpur-link_5pram_1",
|
|
202
190
|
"purpur-link--text": "_purpur-link--text_5pram_18",
|
|
203
191
|
"purpur-link--standalone": "_purpur-link--standalone_5pram_18",
|
|
@@ -208,7 +196,7 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
208
196
|
"purpur-link--navigation-negative": "_purpur-link--navigation-negative_5pram_32",
|
|
209
197
|
"purpur-link--ensure-target-area": "_purpur-link--ensure-target-area_5pram_71",
|
|
210
198
|
"purpur-link--silent": "_purpur-link--silent_5pram_77"
|
|
211
|
-
},
|
|
199
|
+
}, Ne = be.bind(we), k = "purpur-link", J = ({
|
|
212
200
|
["data-testid"]: e,
|
|
213
201
|
children: a,
|
|
214
202
|
className: n,
|
|
@@ -219,7 +207,7 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
219
207
|
onClick: i,
|
|
220
208
|
rel: c,
|
|
221
209
|
silent: g,
|
|
222
|
-
target:
|
|
210
|
+
target: x,
|
|
223
211
|
variant: l,
|
|
224
212
|
...m
|
|
225
213
|
}) => (
|
|
@@ -227,15 +215,15 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
227
215
|
/* @__PURE__ */ o(
|
|
228
216
|
"span",
|
|
229
217
|
{
|
|
230
|
-
className:
|
|
218
|
+
className: Ne(
|
|
231
219
|
n,
|
|
232
|
-
|
|
233
|
-
`${
|
|
220
|
+
k,
|
|
221
|
+
`${k}--${t ? `${l}-negative` : l}`,
|
|
234
222
|
{
|
|
235
|
-
[`${
|
|
236
|
-
[`${
|
|
237
|
-
[`${
|
|
238
|
-
[`${
|
|
223
|
+
[`${k}--silent`]: g,
|
|
224
|
+
[`${k}--negative`]: t,
|
|
225
|
+
[`${k}--disable-visited`]: u ?? g,
|
|
226
|
+
[`${k}--ensure-target-area`]: p
|
|
239
227
|
}
|
|
240
228
|
),
|
|
241
229
|
"data-testid": e,
|
|
@@ -245,7 +233,7 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
245
233
|
"a",
|
|
246
234
|
{
|
|
247
235
|
href: r,
|
|
248
|
-
target:
|
|
236
|
+
target: x,
|
|
249
237
|
rel: c,
|
|
250
238
|
onClick: i,
|
|
251
239
|
"data-testid": e ? `${e} a` : void 0,
|
|
@@ -256,19 +244,13 @@ const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
|
256
244
|
}
|
|
257
245
|
)
|
|
258
246
|
);
|
|
259
|
-
|
|
260
|
-
function
|
|
247
|
+
J.displayName = "Link";
|
|
248
|
+
function je(e) {
|
|
261
249
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
262
250
|
}
|
|
263
|
-
var
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
Licensed under the MIT License (MIT), see
|
|
267
|
-
http://jedwatson.github.io/classnames
|
|
268
|
-
*/
|
|
269
|
-
var dr;
|
|
270
|
-
function Ae() {
|
|
271
|
-
return dr || (dr = 1, (function(e) {
|
|
251
|
+
var pr = { exports: {} }, ur;
|
|
252
|
+
function Se() {
|
|
253
|
+
return ur || (ur = 1, (function(e) {
|
|
272
254
|
(function() {
|
|
273
255
|
var a = {}.hasOwnProperty;
|
|
274
256
|
function n() {
|
|
@@ -297,10 +279,10 @@ function Ae() {
|
|
|
297
279
|
}
|
|
298
280
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
299
281
|
})();
|
|
300
|
-
})(
|
|
282
|
+
})(pr)), pr.exports;
|
|
301
283
|
}
|
|
302
|
-
var
|
|
303
|
-
const
|
|
284
|
+
var Ce = Se();
|
|
285
|
+
const ke = /* @__PURE__ */ je(Ce), Oe = {
|
|
304
286
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
305
287
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
306
288
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -308,40 +290,34 @@ const qe = /* @__PURE__ */ Pe(Me), Te = {
|
|
|
308
290
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
309
291
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
310
292
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
311
|
-
},
|
|
293
|
+
}, ze = ke.bind(Oe), 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 } = {}) => {
|
|
312
294
|
const n = [
|
|
313
295
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
314
296
|
{ name: "fill", value: "currentColor" },
|
|
315
297
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
316
298
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
317
299
|
], u = a ? `<title>${a}</title>` : "";
|
|
318
|
-
return `<svg ${
|
|
319
|
-
},
|
|
320
|
-
const r =
|
|
321
|
-
content:
|
|
300
|
+
return `<svg ${Ae(n)}>${u}${e}</svg>`;
|
|
301
|
+
}, qe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Br = ({ svg: e, allyTitle: a, className: n, size: u = Pe, ...p }) => {
|
|
302
|
+
const r = Me({
|
|
303
|
+
content: qe(e.svg),
|
|
322
304
|
title: a
|
|
323
|
-
}), t =
|
|
305
|
+
}), t = ze(or, `${or}--${u}`, n);
|
|
324
306
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
325
307
|
};
|
|
326
|
-
|
|
327
|
-
const
|
|
308
|
+
Br.displayName = "Icon";
|
|
309
|
+
const Te = {
|
|
328
310
|
name: "error-filled",
|
|
329
311
|
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
312
|
keywords: ["error-filled"],
|
|
331
313
|
category: "status"
|
|
332
314
|
};
|
|
333
|
-
function
|
|
315
|
+
function Ve(e) {
|
|
334
316
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
335
317
|
}
|
|
336
|
-
var
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
Licensed under the MIT License (MIT), see
|
|
340
|
-
http://jedwatson.github.io/classnames
|
|
341
|
-
*/
|
|
342
|
-
var fr;
|
|
343
|
-
function Ee() {
|
|
344
|
-
return fr || (fr = 1, (function(e) {
|
|
318
|
+
var lr = { exports: {} }, sr;
|
|
319
|
+
function Ie() {
|
|
320
|
+
return sr || (sr = 1, (function(e) {
|
|
345
321
|
(function() {
|
|
346
322
|
var a = {}.hasOwnProperty;
|
|
347
323
|
function n() {
|
|
@@ -370,46 +346,40 @@ function Ee() {
|
|
|
370
346
|
}
|
|
371
347
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
372
348
|
})();
|
|
373
|
-
})(
|
|
349
|
+
})(lr)), lr.exports;
|
|
374
350
|
}
|
|
375
|
-
var
|
|
376
|
-
const
|
|
351
|
+
var He = Ie();
|
|
352
|
+
const Le = /* @__PURE__ */ Ve(He), Ze = {
|
|
377
353
|
"purpur-field-error-text": "_purpur-field-error-text_u1cy2_1",
|
|
378
354
|
"purpur-field-error-text--negative": "_purpur-field-error-text--negative_u1cy2_11",
|
|
379
355
|
"purpur-field-error-text__icon": "_purpur-field-error-text__icon_u1cy2_14"
|
|
380
|
-
},
|
|
356
|
+
}, _r = Le.bind(Ze), R = "purpur-field-error-text", Re = ({
|
|
381
357
|
children: e,
|
|
382
358
|
className: a,
|
|
383
359
|
negative: n = !1,
|
|
384
360
|
["aria-relevant"]: u = "additions text",
|
|
385
361
|
...p
|
|
386
|
-
}) => /* @__PURE__ */
|
|
362
|
+
}) => /* @__PURE__ */ h(
|
|
387
363
|
"div",
|
|
388
364
|
{
|
|
389
|
-
className:
|
|
390
|
-
[`${
|
|
365
|
+
className: _r(a, R, {
|
|
366
|
+
[`${R}--negative`]: n
|
|
391
367
|
}),
|
|
392
368
|
"aria-live": "assertive",
|
|
393
369
|
"aria-relevant": u,
|
|
394
370
|
...p,
|
|
395
371
|
children: [
|
|
396
|
-
/* @__PURE__ */ o(
|
|
372
|
+
/* @__PURE__ */ o(Br, { svg: Te, size: "xs", className: _r(`${R}__icon`) }),
|
|
397
373
|
e
|
|
398
374
|
]
|
|
399
375
|
}
|
|
400
376
|
);
|
|
401
|
-
function
|
|
377
|
+
function Be(e) {
|
|
402
378
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
403
379
|
}
|
|
404
|
-
var
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
Licensed under the MIT License (MIT), see
|
|
408
|
-
http://jedwatson.github.io/classnames
|
|
409
|
-
*/
|
|
410
|
-
var yr;
|
|
411
|
-
function Ke() {
|
|
412
|
-
return yr || (yr = 1, (function(e) {
|
|
380
|
+
var cr = { exports: {} }, dr;
|
|
381
|
+
function Ee() {
|
|
382
|
+
return dr || (dr = 1, (function(e) {
|
|
413
383
|
(function() {
|
|
414
384
|
var a = {}.hasOwnProperty;
|
|
415
385
|
function n() {
|
|
@@ -438,14 +408,14 @@ function Ke() {
|
|
|
438
408
|
}
|
|
439
409
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
440
410
|
})();
|
|
441
|
-
})(
|
|
411
|
+
})(cr)), cr.exports;
|
|
442
412
|
}
|
|
443
|
-
var
|
|
444
|
-
const
|
|
413
|
+
var Fe = Ee();
|
|
414
|
+
const Ge = /* @__PURE__ */ Be(Fe), De = {
|
|
445
415
|
"purpur-field-helper-text": "_purpur-field-helper-text_11nsh_1",
|
|
446
416
|
"purpur-field-helper-text--disabled": "_purpur-field-helper-text--disabled_11nsh_9",
|
|
447
417
|
"purpur-field-helper-text--negative": "_purpur-field-helper-text--negative_11nsh_12"
|
|
448
|
-
},
|
|
418
|
+
}, We = Ge.bind(De), B = "purpur-field-helper-text", Je = ({
|
|
449
419
|
children: e,
|
|
450
420
|
className: a,
|
|
451
421
|
disabled: n,
|
|
@@ -453,24 +423,18 @@ const Ue = /* @__PURE__ */ Je(Qe), Xe = {
|
|
|
453
423
|
negative: p,
|
|
454
424
|
...r
|
|
455
425
|
}) => {
|
|
456
|
-
const t =
|
|
457
|
-
[`${
|
|
458
|
-
[`${
|
|
426
|
+
const t = We(a, B, {
|
|
427
|
+
[`${B}--disabled`]: n,
|
|
428
|
+
[`${B}--negative`]: p
|
|
459
429
|
});
|
|
460
430
|
return /* @__PURE__ */ o("span", { id: u, className: t, ...r, children: e });
|
|
461
431
|
};
|
|
462
|
-
function
|
|
432
|
+
function Ke(e) {
|
|
463
433
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
464
434
|
}
|
|
465
|
-
var
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
Licensed under the MIT License (MIT), see
|
|
469
|
-
http://jedwatson.github.io/classnames
|
|
470
|
-
*/
|
|
471
|
-
var xr;
|
|
472
|
-
function tt() {
|
|
473
|
-
return xr || (xr = 1, (function(e) {
|
|
435
|
+
var gr = { exports: {} }, mr;
|
|
436
|
+
function Qe() {
|
|
437
|
+
return mr || (mr = 1, (function(e) {
|
|
474
438
|
(function() {
|
|
475
439
|
var a = {}.hasOwnProperty;
|
|
476
440
|
function n() {
|
|
@@ -499,10 +463,10 @@ function tt() {
|
|
|
499
463
|
}
|
|
500
464
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
501
465
|
})();
|
|
502
|
-
})(
|
|
466
|
+
})(gr)), gr.exports;
|
|
503
467
|
}
|
|
504
|
-
var
|
|
505
|
-
const
|
|
468
|
+
var Ue = Qe();
|
|
469
|
+
const Xe = /* @__PURE__ */ Ke(Ue), Ye = {
|
|
506
470
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
507
471
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
508
472
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -510,95 +474,95 @@ const it = /* @__PURE__ */ et(nt), at = {
|
|
|
510
474
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
511
475
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
512
476
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
513
|
-
},
|
|
477
|
+
}, rt = Xe.bind(Ye), fr = "purpur-icon", et = "md", tt = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), nt = ({ content: e = "", title: a } = {}) => {
|
|
514
478
|
const n = [
|
|
515
479
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
516
480
|
{ name: "fill", value: "currentColor" },
|
|
517
481
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
518
482
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
519
483
|
], u = a ? `<title>${a}</title>` : "";
|
|
520
|
-
return `<svg ${
|
|
521
|
-
},
|
|
522
|
-
const r =
|
|
523
|
-
content:
|
|
484
|
+
return `<svg ${tt(n)}>${u}${e}</svg>`;
|
|
485
|
+
}, it = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), K = ({ svg: e, allyTitle: a, className: n, size: u = et, ...p }) => {
|
|
486
|
+
const r = nt({
|
|
487
|
+
content: it(e.svg),
|
|
524
488
|
title: a
|
|
525
|
-
}), t =
|
|
489
|
+
}), t = rt(fr, `${fr}--${u}`, n);
|
|
526
490
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
527
491
|
};
|
|
528
|
-
|
|
529
|
-
const
|
|
492
|
+
K.displayName = "Icon";
|
|
493
|
+
const at = {
|
|
530
494
|
name: "check-circle-filled",
|
|
531
495
|
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
496
|
keywords: ["check-circle-filled"],
|
|
533
497
|
category: "status"
|
|
534
|
-
},
|
|
535
|
-
|
|
536
|
-
const
|
|
498
|
+
}, Er = (e) => /* @__PURE__ */ o(K, { ...e, svg: at });
|
|
499
|
+
Er.displayName = "IconCheckCircleFilled";
|
|
500
|
+
const pt = {
|
|
537
501
|
name: "chevron-down",
|
|
538
502
|
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
503
|
keywords: ["chevron-down"],
|
|
540
504
|
category: "utility"
|
|
541
|
-
},
|
|
542
|
-
|
|
543
|
-
function
|
|
505
|
+
}, Fr = (e) => /* @__PURE__ */ o(K, { ...e, svg: pt });
|
|
506
|
+
Fr.displayName = "IconChevronDown";
|
|
507
|
+
function hr(e, a) {
|
|
544
508
|
if (typeof e == "function")
|
|
545
509
|
return e(a);
|
|
546
510
|
e != null && (e.current = a);
|
|
547
511
|
}
|
|
548
|
-
function
|
|
512
|
+
function ut(...e) {
|
|
549
513
|
return (a) => {
|
|
550
514
|
let n = !1;
|
|
551
515
|
const u = e.map((p) => {
|
|
552
|
-
const r =
|
|
516
|
+
const r = hr(p, a);
|
|
553
517
|
return !n && typeof r == "function" && (n = !0), r;
|
|
554
518
|
});
|
|
555
519
|
if (n)
|
|
556
520
|
return () => {
|
|
557
521
|
for (let p = 0; p < u.length; p++) {
|
|
558
522
|
const r = u[p];
|
|
559
|
-
typeof r == "function" ? r() :
|
|
523
|
+
typeof r == "function" ? r() : hr(e[p], null);
|
|
560
524
|
}
|
|
561
525
|
};
|
|
562
526
|
};
|
|
563
527
|
}
|
|
564
|
-
var
|
|
565
|
-
function
|
|
528
|
+
var ot = Symbol.for("react.lazy"), I = d[" use ".trim().toString()];
|
|
529
|
+
function lt(e) {
|
|
566
530
|
return typeof e == "object" && e !== null && "then" in e;
|
|
567
531
|
}
|
|
568
|
-
function
|
|
569
|
-
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof ===
|
|
532
|
+
function Gr(e) {
|
|
533
|
+
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === ot && "_payload" in e && lt(e._payload);
|
|
570
534
|
}
|
|
571
535
|
// @__NO_SIDE_EFFECTS__
|
|
572
|
-
function
|
|
573
|
-
const a = /* @__PURE__ */
|
|
536
|
+
function st(e) {
|
|
537
|
+
const a = /* @__PURE__ */ _t(e), n = d.forwardRef((u, p) => {
|
|
574
538
|
let { children: r, ...t } = u;
|
|
575
|
-
|
|
576
|
-
const i = d.Children.toArray(r), c = i.find(
|
|
539
|
+
Gr(r) && typeof I == "function" && (r = I(r._payload));
|
|
540
|
+
const i = d.Children.toArray(r), c = i.find(dt);
|
|
577
541
|
if (c) {
|
|
578
|
-
const g = c.props.children,
|
|
579
|
-
return /* @__PURE__ */ o(a, { ...t, ref: p, children: d.isValidElement(g) ? d.cloneElement(g, void 0,
|
|
542
|
+
const g = c.props.children, x = i.map((l) => l === c ? d.Children.count(g) > 1 ? d.Children.only(null) : d.isValidElement(g) ? g.props.children : null : l);
|
|
543
|
+
return /* @__PURE__ */ o(a, { ...t, ref: p, children: d.isValidElement(g) ? d.cloneElement(g, void 0, x) : null });
|
|
580
544
|
}
|
|
581
545
|
return /* @__PURE__ */ o(a, { ...t, ref: p, children: r });
|
|
582
546
|
});
|
|
583
547
|
return n.displayName = `${e}.Slot`, n;
|
|
584
548
|
}
|
|
585
549
|
// @__NO_SIDE_EFFECTS__
|
|
586
|
-
function
|
|
550
|
+
function _t(e) {
|
|
587
551
|
const a = d.forwardRef((n, u) => {
|
|
588
552
|
let { children: p, ...r } = n;
|
|
589
|
-
if (
|
|
590
|
-
const t =
|
|
591
|
-
return p.type !== d.Fragment && (i.ref = u ?
|
|
553
|
+
if (Gr(p) && typeof I == "function" && (p = I(p._payload)), d.isValidElement(p)) {
|
|
554
|
+
const t = mt(p), i = gt(r, p.props);
|
|
555
|
+
return p.type !== d.Fragment && (i.ref = u ? ut(u, t) : t), d.cloneElement(p, i);
|
|
592
556
|
}
|
|
593
557
|
return d.Children.count(p) > 1 ? d.Children.only(null) : null;
|
|
594
558
|
});
|
|
595
559
|
return a.displayName = `${e}.SlotClone`, a;
|
|
596
560
|
}
|
|
597
|
-
var
|
|
598
|
-
function
|
|
599
|
-
return d.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
561
|
+
var ct = Symbol("radix.slottable");
|
|
562
|
+
function dt(e) {
|
|
563
|
+
return d.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ct;
|
|
600
564
|
}
|
|
601
|
-
function
|
|
565
|
+
function gt(e, a) {
|
|
602
566
|
const n = { ...a };
|
|
603
567
|
for (const u in a) {
|
|
604
568
|
const p = e[u], r = a[u];
|
|
@@ -609,12 +573,11 @@ function $t(e, a) {
|
|
|
609
573
|
}
|
|
610
574
|
return { ...e, ...n };
|
|
611
575
|
}
|
|
612
|
-
function
|
|
613
|
-
|
|
614
|
-
|
|
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);
|
|
576
|
+
function mt(e) {
|
|
577
|
+
let a = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = a && "isReactWarning" in a && a.isReactWarning;
|
|
578
|
+
return n ? e.ref : (a = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
616
579
|
}
|
|
617
|
-
var
|
|
580
|
+
var ft = [
|
|
618
581
|
"a",
|
|
619
582
|
"button",
|
|
620
583
|
"div",
|
|
@@ -632,37 +595,30 @@ var bt = [
|
|
|
632
595
|
"span",
|
|
633
596
|
"svg",
|
|
634
597
|
"ul"
|
|
635
|
-
],
|
|
636
|
-
const n = /* @__PURE__ */
|
|
598
|
+
], ht = ft.reduce((e, a) => {
|
|
599
|
+
const n = /* @__PURE__ */ st(`Primitive.${a}`), u = d.forwardRef((p, r) => {
|
|
637
600
|
const { asChild: t, ...i } = p, c = t ? n : a;
|
|
638
601
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ o(c, { ...i, ref: r });
|
|
639
602
|
});
|
|
640
603
|
return u.displayName = `Primitive.${a}`, { ...e, [a]: u };
|
|
641
|
-
}, {}),
|
|
642
|
-
|
|
604
|
+
}, {}), vt = "Label", Dr = d.forwardRef((e, a) => /* @__PURE__ */ o(
|
|
605
|
+
ht.label,
|
|
643
606
|
{
|
|
644
607
|
...e,
|
|
645
608
|
ref: a,
|
|
646
609
|
onMouseDown: (n) => {
|
|
647
|
-
|
|
648
|
-
n.target.closest("button, input, select, textarea") || ((u = e.onMouseDown) == null || u.call(e, n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());
|
|
610
|
+
n.target.closest("button, input, select, textarea") || (e.onMouseDown?.(n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());
|
|
649
611
|
}
|
|
650
612
|
}
|
|
651
613
|
));
|
|
652
|
-
|
|
653
|
-
var
|
|
654
|
-
function
|
|
614
|
+
Dr.displayName = vt;
|
|
615
|
+
var yt = Dr;
|
|
616
|
+
function $t(e) {
|
|
655
617
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
656
618
|
}
|
|
657
|
-
var
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
Licensed under the MIT License (MIT), see
|
|
661
|
-
http://jedwatson.github.io/classnames
|
|
662
|
-
*/
|
|
663
|
-
var jr;
|
|
664
|
-
function Ct() {
|
|
665
|
-
return jr || (jr = 1, (function(e) {
|
|
619
|
+
var vr = { exports: {} }, yr;
|
|
620
|
+
function xt() {
|
|
621
|
+
return yr || (yr = 1, (function(e) {
|
|
666
622
|
(function() {
|
|
667
623
|
var a = {}.hasOwnProperty;
|
|
668
624
|
function n() {
|
|
@@ -691,38 +647,32 @@ function Ct() {
|
|
|
691
647
|
}
|
|
692
648
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
693
649
|
})();
|
|
694
|
-
})(
|
|
650
|
+
})(vr)), vr.exports;
|
|
695
651
|
}
|
|
696
|
-
var
|
|
697
|
-
const
|
|
652
|
+
var bt = xt();
|
|
653
|
+
const wt = /* @__PURE__ */ $t(bt), Nt = {
|
|
698
654
|
"purpur-label": "_purpur-label_1x80u_1",
|
|
699
655
|
"purpur-label--negative": "_purpur-label--negative_1x80u_8",
|
|
700
656
|
"purpur-label--disabled": "_purpur-label--disabled_1x80u_11"
|
|
701
|
-
},
|
|
657
|
+
}, jt = wt.bind(Nt), E = "purpur-label", St = ({
|
|
702
658
|
children: e,
|
|
703
659
|
className: a,
|
|
704
660
|
disabled: n,
|
|
705
661
|
negative: u = !1,
|
|
706
662
|
...p
|
|
707
663
|
}) => {
|
|
708
|
-
const r =
|
|
709
|
-
[`${
|
|
710
|
-
[`${
|
|
664
|
+
const r = jt(a, E, {
|
|
665
|
+
[`${E}--disabled`]: n,
|
|
666
|
+
[`${E}--negative`]: u
|
|
711
667
|
});
|
|
712
|
-
return /* @__PURE__ */ o(
|
|
668
|
+
return /* @__PURE__ */ o(yt, { className: r, ...p, children: e });
|
|
713
669
|
};
|
|
714
|
-
function
|
|
670
|
+
function Ct(e) {
|
|
715
671
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
716
672
|
}
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
Licensed under the MIT License (MIT), see
|
|
721
|
-
http://jedwatson.github.io/classnames
|
|
722
|
-
*/
|
|
723
|
-
var Cr;
|
|
724
|
-
function qt() {
|
|
725
|
-
return Cr || (Cr = 1, (function(e) {
|
|
673
|
+
var $r = { exports: {} }, xr;
|
|
674
|
+
function kt() {
|
|
675
|
+
return xr || (xr = 1, (function(e) {
|
|
726
676
|
(function() {
|
|
727
677
|
var a = {}.hasOwnProperty;
|
|
728
678
|
function n() {
|
|
@@ -751,54 +701,48 @@ function qt() {
|
|
|
751
701
|
}
|
|
752
702
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
753
703
|
})();
|
|
754
|
-
})(
|
|
704
|
+
})($r)), $r.exports;
|
|
755
705
|
}
|
|
756
|
-
var
|
|
757
|
-
const
|
|
706
|
+
var Ot = kt();
|
|
707
|
+
const zt = /* @__PURE__ */ Ct(Ot), Pt = "_rotate_12t9p_1", At = "_dash_12t9p_1", Mt = {
|
|
758
708
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
759
|
-
rotate:
|
|
709
|
+
rotate: Pt,
|
|
760
710
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
761
711
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
762
712
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
763
713
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
764
714
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
765
715
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
766
|
-
dash:
|
|
716
|
+
dash: At,
|
|
767
717
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
768
718
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
769
|
-
},
|
|
719
|
+
}, br = zt.bind(Mt), M = "purpur-spinner", qt = {
|
|
770
720
|
SM: "sm"
|
|
771
|
-
},
|
|
721
|
+
}, Wr = ({
|
|
772
722
|
disabled: e = !1,
|
|
773
723
|
negative: a = !1,
|
|
774
|
-
size: n =
|
|
724
|
+
size: n = qt.SM,
|
|
775
725
|
className: u,
|
|
776
726
|
...p
|
|
777
|
-
}) => /* @__PURE__ */ o("div", { className:
|
|
727
|
+
}) => /* @__PURE__ */ o("div", { className: br(M, `${M}--${n}`, u), ...p, children: /* @__PURE__ */ o("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ o(
|
|
778
728
|
"circle",
|
|
779
729
|
{
|
|
780
|
-
className:
|
|
781
|
-
[`${
|
|
782
|
-
[`${
|
|
730
|
+
className: br(`${M}__circle`, {
|
|
731
|
+
[`${M}__circle--disabled`]: e,
|
|
732
|
+
[`${M}__circle--negative`]: a
|
|
783
733
|
}),
|
|
784
734
|
cx: "25",
|
|
785
735
|
cy: "25",
|
|
786
736
|
r: "20"
|
|
787
737
|
}
|
|
788
738
|
) }) });
|
|
789
|
-
|
|
790
|
-
function
|
|
739
|
+
Wr.displayName = "Spinner";
|
|
740
|
+
function Tt(e) {
|
|
791
741
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
792
742
|
}
|
|
793
|
-
var
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
Licensed under the MIT License (MIT), see
|
|
797
|
-
http://jedwatson.github.io/classnames
|
|
798
|
-
*/
|
|
799
|
-
var zr;
|
|
800
|
-
function Bt() {
|
|
801
|
-
return zr || (zr = 1, (function(e) {
|
|
743
|
+
var wr = { exports: {} }, Nr;
|
|
744
|
+
function Vt() {
|
|
745
|
+
return Nr || (Nr = 1, (function(e) {
|
|
802
746
|
(function() {
|
|
803
747
|
var a = {}.hasOwnProperty;
|
|
804
748
|
function n() {
|
|
@@ -827,10 +771,10 @@ function Bt() {
|
|
|
827
771
|
}
|
|
828
772
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
829
773
|
})();
|
|
830
|
-
})(
|
|
774
|
+
})(wr)), wr.exports;
|
|
831
775
|
}
|
|
832
|
-
var
|
|
833
|
-
const
|
|
776
|
+
var It = Vt();
|
|
777
|
+
const Ht = /* @__PURE__ */ Tt(It), Lt = {
|
|
834
778
|
"purpur-select": "_purpur-select_t7uxd_1",
|
|
835
779
|
"purpur-select__label": "_purpur-select__label_t7uxd_7",
|
|
836
780
|
"purpur-select__field-row": "_purpur-select__field-row_t7uxd_12",
|
|
@@ -850,7 +794,7 @@ const Ft = /* @__PURE__ */ Rt(Et), Gt = {
|
|
|
850
794
|
"purpur-select__select-icon--disabled": "_purpur-select__select-icon--disabled_t7uxd_133",
|
|
851
795
|
"purpur-select__select-icon--negative": "_purpur-select__select-icon--negative_t7uxd_136",
|
|
852
796
|
"purpur-select__valid-icon": "_purpur-select__valid-icon_t7uxd_142"
|
|
853
|
-
},
|
|
797
|
+
}, w = Ht.bind(Lt), s = "purpur-select", Jr = ie(
|
|
854
798
|
({
|
|
855
799
|
label: e,
|
|
856
800
|
options: a,
|
|
@@ -862,32 +806,32 @@ const Ft = /* @__PURE__ */ Rt(Et), Gt = {
|
|
|
862
806
|
readOnly: i = !1,
|
|
863
807
|
["data-testid"]: c,
|
|
864
808
|
valid: g,
|
|
865
|
-
loading:
|
|
809
|
+
loading: x,
|
|
866
810
|
...l
|
|
867
811
|
}, m) => {
|
|
868
|
-
const
|
|
812
|
+
const $ = (P) => c ? `${c}-${P}` : void 0, b = g && !u, S = D(), f = l.id ?? S, v = p ? `${f}-helper-text` : void 0, C = w(`${s}__select-container`, {
|
|
869
813
|
[`${s}__select-container--disabled`]: l.disabled,
|
|
870
814
|
[`${s}__select-container--readonly`]: i && !l.disabled,
|
|
871
815
|
[`${s}__select-container--negative`]: r
|
|
872
816
|
});
|
|
873
|
-
return
|
|
817
|
+
return w(`${s}__select-icon`, {
|
|
874
818
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
875
819
|
[`${s}__select-icon--readonly`]: i && !l.disabled,
|
|
876
|
-
[`${s}__select-icon--is-valid`]:
|
|
820
|
+
[`${s}__select-icon--is-valid`]: b,
|
|
877
821
|
[`${s}__select-icon--negative`]: r
|
|
878
|
-
}),
|
|
822
|
+
}), b && w(`${s}__valid-icon`), /* @__PURE__ */ h(
|
|
879
823
|
"div",
|
|
880
824
|
{
|
|
881
|
-
className:
|
|
825
|
+
className: w(s, n, {
|
|
882
826
|
[`${s}--negative`]: r
|
|
883
827
|
}),
|
|
884
828
|
children: [
|
|
885
|
-
e && /* @__PURE__ */
|
|
886
|
-
|
|
829
|
+
e && /* @__PURE__ */ h(
|
|
830
|
+
St,
|
|
887
831
|
{
|
|
888
|
-
htmlFor:
|
|
889
|
-
className:
|
|
890
|
-
"data-testid":
|
|
832
|
+
htmlFor: f,
|
|
833
|
+
className: w(`${s}__label`),
|
|
834
|
+
"data-testid": $("label"),
|
|
891
835
|
disabled: l.disabled,
|
|
892
836
|
negative: r,
|
|
893
837
|
children: [
|
|
@@ -896,61 +840,61 @@ const Ft = /* @__PURE__ */ Rt(Et), Gt = {
|
|
|
896
840
|
]
|
|
897
841
|
}
|
|
898
842
|
),
|
|
899
|
-
/* @__PURE__ */ o("div", { className:
|
|
900
|
-
/* @__PURE__ */
|
|
843
|
+
/* @__PURE__ */ o("div", { className: w(`${s}__field-row`), children: /* @__PURE__ */ h("div", { className: C, children: [
|
|
844
|
+
/* @__PURE__ */ h(
|
|
901
845
|
"select",
|
|
902
846
|
{
|
|
903
847
|
...l,
|
|
904
|
-
onChange: i
|
|
905
|
-
id:
|
|
848
|
+
onChange: i ? void 0 : l?.onChange,
|
|
849
|
+
id: f,
|
|
906
850
|
ref: m,
|
|
907
|
-
"data-testid":
|
|
908
|
-
"aria-describedby": l["aria-describedby"] ||
|
|
851
|
+
"data-testid": $("select"),
|
|
852
|
+
"aria-describedby": l["aria-describedby"] || v,
|
|
909
853
|
"aria-invalid": l["aria-invalid"] || !!u,
|
|
910
854
|
"aria-disabled": l["aria-disabled"] || l.disabled,
|
|
911
855
|
"aria-readonly": l["aria-readonly"] || i && !l.disabled,
|
|
912
|
-
className:
|
|
856
|
+
className: w(`${s}__select`, {
|
|
913
857
|
[`${s}__select--error`]: !!u,
|
|
914
|
-
[`${s}__select--is-valid`]:
|
|
858
|
+
[`${s}__select--is-valid`]: b,
|
|
915
859
|
[`${s}__select--negative`]: r
|
|
916
860
|
}),
|
|
917
861
|
children: [
|
|
918
862
|
t && /* @__PURE__ */ o("option", { value: t.value ?? t.label, disabled: !0, children: t.label }),
|
|
919
863
|
a.map(
|
|
920
|
-
(
|
|
864
|
+
(P, Y) => Zt(P) ? Rt(P, f, Y, i) : Kr(P, f, Y, i)
|
|
921
865
|
)
|
|
922
866
|
]
|
|
923
867
|
}
|
|
924
868
|
),
|
|
925
|
-
/* @__PURE__ */
|
|
926
|
-
|
|
927
|
-
|
|
869
|
+
/* @__PURE__ */ h("div", { className: w(`${s}__end-adornments`), children: [
|
|
870
|
+
x ? /* @__PURE__ */ o(
|
|
871
|
+
Wr,
|
|
928
872
|
{
|
|
929
873
|
disabled: l.disabled,
|
|
930
874
|
size: "xxs",
|
|
931
875
|
negative: r,
|
|
932
|
-
"data-testid":
|
|
876
|
+
"data-testid": $("spinner")
|
|
933
877
|
},
|
|
934
878
|
"spinner"
|
|
935
879
|
) : /* @__PURE__ */ o(
|
|
936
|
-
|
|
880
|
+
Fr,
|
|
937
881
|
{
|
|
938
|
-
className:
|
|
882
|
+
className: w(`${s}__select-icon`, {
|
|
939
883
|
[`${s}__select-icon--disabled`]: l.disabled,
|
|
940
884
|
[`${s}__select-icon--readonly`]: i && !l.disabled,
|
|
941
|
-
[`${s}__select-icon--is-valid`]:
|
|
885
|
+
[`${s}__select-icon--is-valid`]: b,
|
|
942
886
|
[`${s}__select-icon--negative`]: r
|
|
943
887
|
}),
|
|
944
|
-
"data-testid":
|
|
888
|
+
"data-testid": $("dropdown-icon"),
|
|
945
889
|
size: "sm"
|
|
946
890
|
},
|
|
947
891
|
"chevron-down-icon"
|
|
948
892
|
),
|
|
949
|
-
|
|
950
|
-
|
|
893
|
+
b && /* @__PURE__ */ o(
|
|
894
|
+
Er,
|
|
951
895
|
{
|
|
952
|
-
"data-testid":
|
|
953
|
-
className:
|
|
896
|
+
"data-testid": $("valid-icon"),
|
|
897
|
+
className: w(`${s}__valid-icon`)
|
|
954
898
|
},
|
|
955
899
|
"valid-icon"
|
|
956
900
|
)
|
|
@@ -958,31 +902,31 @@ const Ft = /* @__PURE__ */ Rt(Et), Gt = {
|
|
|
958
902
|
/* @__PURE__ */ o(
|
|
959
903
|
"div",
|
|
960
904
|
{
|
|
961
|
-
className:
|
|
905
|
+
className: w(`${s}__frame`, {
|
|
962
906
|
[`${s}__frame--negative`]: r
|
|
963
907
|
})
|
|
964
908
|
}
|
|
965
909
|
)
|
|
966
910
|
] }) }),
|
|
967
|
-
|
|
968
|
-
|
|
911
|
+
v && /* @__PURE__ */ o(
|
|
912
|
+
Je,
|
|
969
913
|
{
|
|
970
914
|
disabled: l.disabled,
|
|
971
|
-
"data-testid":
|
|
972
|
-
id:
|
|
915
|
+
"data-testid": $("helper-text"),
|
|
916
|
+
id: v,
|
|
973
917
|
negative: r,
|
|
974
918
|
children: p
|
|
975
919
|
}
|
|
976
920
|
),
|
|
977
|
-
u && /* @__PURE__ */ o(
|
|
921
|
+
u && /* @__PURE__ */ o(Re, { negative: r, "data-testid": $("error-text"), children: u })
|
|
978
922
|
]
|
|
979
923
|
}
|
|
980
924
|
);
|
|
981
925
|
}
|
|
982
|
-
),
|
|
926
|
+
), Zt = (e) => e.hasOwnProperty("options"), Rt = (e, a, n, u) => {
|
|
983
927
|
const p = `${a}--group--${n}`;
|
|
984
|
-
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) =>
|
|
985
|
-
},
|
|
928
|
+
return /* @__PURE__ */ o("optgroup", { label: e.label, children: e.options.map((r, t) => Kr(r, p, t, u)) }, p);
|
|
929
|
+
}, Kr = (e, a, n, u) => /* @__PURE__ */ o(
|
|
986
930
|
"option",
|
|
987
931
|
{
|
|
988
932
|
value: e.value ?? e.label,
|
|
@@ -991,19 +935,14 @@ const Ft = /* @__PURE__ */ Rt(Et), Gt = {
|
|
|
991
935
|
},
|
|
992
936
|
`${a}--option--${n}`
|
|
993
937
|
);
|
|
994
|
-
|
|
995
|
-
function
|
|
938
|
+
Jr.displayName = "Select";
|
|
939
|
+
function Bt(e) {
|
|
996
940
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
997
941
|
}
|
|
998
|
-
var
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
http://jedwatson.github.io/classnames
|
|
1003
|
-
*/
|
|
1004
|
-
var Pr;
|
|
1005
|
-
function Kt() {
|
|
1006
|
-
return Pr || (Pr = 1, (function(e) {
|
|
942
|
+
var F = { exports: {} };
|
|
943
|
+
var jr;
|
|
944
|
+
function Et() {
|
|
945
|
+
return jr || (jr = 1, (function(e) {
|
|
1007
946
|
(function() {
|
|
1008
947
|
var a = {}.hasOwnProperty;
|
|
1009
948
|
function n() {
|
|
@@ -1032,10 +971,10 @@ function Kt() {
|
|
|
1032
971
|
}
|
|
1033
972
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1034
973
|
})();
|
|
1035
|
-
})(
|
|
974
|
+
})(F)), F.exports;
|
|
1036
975
|
}
|
|
1037
|
-
var
|
|
1038
|
-
const
|
|
976
|
+
var Ft = Et();
|
|
977
|
+
const Q = /* @__PURE__ */ Bt(Ft), _ = "purpur-footer", U = {
|
|
1039
978
|
"purpur-footer": "_purpur-footer_1jrwm_1",
|
|
1040
979
|
"purpur-footer__container": "_purpur-footer__container_1jrwm_8",
|
|
1041
980
|
"purpur-footer__logo": "_purpur-footer__logo_1jrwm_29",
|
|
@@ -1060,18 +999,12 @@ const rr = /* @__PURE__ */ Jt(Qt), _ = "purpur-footer", er = {
|
|
|
1060
999
|
"purpur-footer__additional-links": "_purpur-footer__additional-links_1jrwm_271",
|
|
1061
1000
|
"purpur-footer__custom-content": "_purpur-footer__custom-content_1jrwm_283"
|
|
1062
1001
|
};
|
|
1063
|
-
function
|
|
1002
|
+
function Gt(e) {
|
|
1064
1003
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1065
1004
|
}
|
|
1066
|
-
var
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
Licensed under the MIT License (MIT), see
|
|
1070
|
-
http://jedwatson.github.io/classnames
|
|
1071
|
-
*/
|
|
1072
|
-
var Mr;
|
|
1073
|
-
function Xt() {
|
|
1074
|
-
return Mr || (Mr = 1, (function(e) {
|
|
1005
|
+
var Sr = { exports: {} }, Cr;
|
|
1006
|
+
function Dt() {
|
|
1007
|
+
return Cr || (Cr = 1, (function(e) {
|
|
1075
1008
|
(function() {
|
|
1076
1009
|
var a = {}.hasOwnProperty;
|
|
1077
1010
|
function n() {
|
|
@@ -1100,10 +1033,10 @@ function Xt() {
|
|
|
1100
1033
|
}
|
|
1101
1034
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1102
1035
|
})();
|
|
1103
|
-
})(
|
|
1036
|
+
})(Sr)), Sr.exports;
|
|
1104
1037
|
}
|
|
1105
|
-
var
|
|
1106
|
-
const
|
|
1038
|
+
var Wt = Dt();
|
|
1039
|
+
const Jt = /* @__PURE__ */ Gt(Wt), T = {
|
|
1107
1040
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1108
1041
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1109
1042
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1123,41 +1056,35 @@ const rn = /* @__PURE__ */ Ut(Yt), L = {
|
|
|
1123
1056
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1124
1057
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1125
1058
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1126
|
-
},
|
|
1059
|
+
}, Kt = {
|
|
1127
1060
|
TITLE100: "title-100"
|
|
1128
|
-
},
|
|
1061
|
+
}, V = "purpur-heading", X = ({
|
|
1129
1062
|
children: e,
|
|
1130
1063
|
className: a = "",
|
|
1131
1064
|
enableHyphenation: n = !1,
|
|
1132
1065
|
negative: u = !1,
|
|
1133
1066
|
tag: p,
|
|
1134
|
-
variant: r =
|
|
1067
|
+
variant: r = Kt.TITLE100,
|
|
1135
1068
|
...t
|
|
1136
1069
|
}) => {
|
|
1137
|
-
const i = p, c =
|
|
1070
|
+
const i = p, c = Jt([
|
|
1138
1071
|
a,
|
|
1139
|
-
|
|
1140
|
-
|
|
1072
|
+
T[V],
|
|
1073
|
+
T[`${V}--${r}`],
|
|
1141
1074
|
{
|
|
1142
|
-
[
|
|
1143
|
-
[
|
|
1075
|
+
[T[`${V}--hyphens`]]: n,
|
|
1076
|
+
[T[`${V}--negative`]]: u
|
|
1144
1077
|
}
|
|
1145
1078
|
]);
|
|
1146
1079
|
return /* @__PURE__ */ o(i, { className: c, ...t, children: e });
|
|
1147
1080
|
};
|
|
1148
|
-
|
|
1149
|
-
function
|
|
1081
|
+
X.displayName = "Heading";
|
|
1082
|
+
function Qt(e) {
|
|
1150
1083
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1151
1084
|
}
|
|
1152
|
-
var
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
Licensed under the MIT License (MIT), see
|
|
1156
|
-
http://jedwatson.github.io/classnames
|
|
1157
|
-
*/
|
|
1158
|
-
var Tr;
|
|
1159
|
-
function nn() {
|
|
1160
|
-
return Tr || (Tr = 1, (function(e) {
|
|
1085
|
+
var kr = { exports: {} }, Or;
|
|
1086
|
+
function Ut() {
|
|
1087
|
+
return Or || (Or = 1, (function(e) {
|
|
1161
1088
|
(function() {
|
|
1162
1089
|
var a = {}.hasOwnProperty;
|
|
1163
1090
|
function n() {
|
|
@@ -1186,26 +1113,20 @@ function nn() {
|
|
|
1186
1113
|
}
|
|
1187
1114
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1188
1115
|
})();
|
|
1189
|
-
})(
|
|
1116
|
+
})(kr)), kr.exports;
|
|
1190
1117
|
}
|
|
1191
|
-
var
|
|
1192
|
-
const
|
|
1118
|
+
var Xt = Ut();
|
|
1119
|
+
const Qr = /* @__PURE__ */ Qt(Xt), Yt = {
|
|
1193
1120
|
"purpur-accordion": "_purpur-accordion_mwmy0_1",
|
|
1194
1121
|
"purpur-accordion__title": "_purpur-accordion__title_mwmy0_4",
|
|
1195
1122
|
"purpur-accordion--negative": "_purpur-accordion--negative_mwmy0_13"
|
|
1196
1123
|
};
|
|
1197
|
-
function
|
|
1124
|
+
function rn(e) {
|
|
1198
1125
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1199
1126
|
}
|
|
1200
|
-
var
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
Licensed under the MIT License (MIT), see
|
|
1204
|
-
http://jedwatson.github.io/classnames
|
|
1205
|
-
*/
|
|
1206
|
-
var Ir;
|
|
1207
|
-
function on() {
|
|
1208
|
-
return Ir || (Ir = 1, (function(e) {
|
|
1127
|
+
var zr = { exports: {} }, Pr;
|
|
1128
|
+
function en() {
|
|
1129
|
+
return Pr || (Pr = 1, (function(e) {
|
|
1209
1130
|
(function() {
|
|
1210
1131
|
var a = {}.hasOwnProperty;
|
|
1211
1132
|
function n() {
|
|
@@ -1234,10 +1155,10 @@ function on() {
|
|
|
1234
1155
|
}
|
|
1235
1156
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1236
1157
|
})();
|
|
1237
|
-
})(
|
|
1158
|
+
})(zr)), zr.exports;
|
|
1238
1159
|
}
|
|
1239
|
-
var
|
|
1240
|
-
const
|
|
1160
|
+
var tn = en();
|
|
1161
|
+
const nn = /* @__PURE__ */ rn(tn), an = {
|
|
1241
1162
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1242
1163
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1243
1164
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1245,41 +1166,35 @@ const sn = /* @__PURE__ */ pn(ln), _n = {
|
|
|
1245
1166
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1246
1167
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1247
1168
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1248
|
-
},
|
|
1169
|
+
}, pn = nn.bind(an), Ar = "purpur-icon", un = "md", on = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), ln = ({ content: e = "", title: a } = {}) => {
|
|
1249
1170
|
const n = [
|
|
1250
1171
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1251
1172
|
{ name: "fill", value: "currentColor" },
|
|
1252
1173
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1253
1174
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1254
1175
|
], u = a ? `<title>${a}</title>` : "";
|
|
1255
|
-
return `<svg ${
|
|
1256
|
-
},
|
|
1257
|
-
const r =
|
|
1258
|
-
content:
|
|
1176
|
+
return `<svg ${on(n)}>${u}${e}</svg>`;
|
|
1177
|
+
}, sn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ur = ({ svg: e, allyTitle: a, className: n, size: u = un, ...p }) => {
|
|
1178
|
+
const r = ln({
|
|
1179
|
+
content: sn(e.svg),
|
|
1259
1180
|
title: a
|
|
1260
|
-
}), t =
|
|
1181
|
+
}), t = pn(Ar, `${Ar}--${u}`, n);
|
|
1261
1182
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1262
1183
|
};
|
|
1263
|
-
|
|
1264
|
-
const
|
|
1184
|
+
Ur.displayName = "Icon";
|
|
1185
|
+
const _n = {
|
|
1265
1186
|
name: "chevron-down",
|
|
1266
1187
|
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>',
|
|
1267
1188
|
keywords: ["chevron-down"],
|
|
1268
1189
|
category: "utility"
|
|
1269
|
-
},
|
|
1270
|
-
|
|
1271
|
-
function
|
|
1190
|
+
}, Xr = (e) => /* @__PURE__ */ o(Ur, { ...e, svg: _n });
|
|
1191
|
+
Xr.displayName = "IconChevronDown";
|
|
1192
|
+
function cn(e) {
|
|
1272
1193
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1273
1194
|
}
|
|
1274
|
-
var
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
Licensed under the MIT License (MIT), see
|
|
1278
|
-
http://jedwatson.github.io/classnames
|
|
1279
|
-
*/
|
|
1280
|
-
var Zr;
|
|
1281
|
-
function yn() {
|
|
1282
|
-
return Zr || (Zr = 1, (function(e) {
|
|
1195
|
+
var Mr = { exports: {} }, qr;
|
|
1196
|
+
function dn() {
|
|
1197
|
+
return qr || (qr = 1, (function(e) {
|
|
1283
1198
|
(function() {
|
|
1284
1199
|
var a = {}.hasOwnProperty;
|
|
1285
1200
|
function n() {
|
|
@@ -1308,10 +1223,10 @@ function yn() {
|
|
|
1308
1223
|
}
|
|
1309
1224
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1310
1225
|
})();
|
|
1311
|
-
})(
|
|
1226
|
+
})(Mr)), Mr.exports;
|
|
1312
1227
|
}
|
|
1313
|
-
var
|
|
1314
|
-
const
|
|
1228
|
+
var gn = dn();
|
|
1229
|
+
const mn = /* @__PURE__ */ cn(gn), fn = {
|
|
1315
1230
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1316
1231
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1317
1232
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1326,26 +1241,26 @@ const xn = /* @__PURE__ */ hn($n), bn = {
|
|
|
1326
1241
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1327
1242
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1328
1243
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1329
|
-
},
|
|
1244
|
+
}, hn = mn.bind(fn), vn = {
|
|
1330
1245
|
PARAGRAPH100: "paragraph-100"
|
|
1331
|
-
},
|
|
1246
|
+
}, q = "purpur-paragraph", Yr = ({
|
|
1332
1247
|
children: e,
|
|
1333
1248
|
className: a,
|
|
1334
1249
|
disabled: n,
|
|
1335
1250
|
enableHyphenation: u = !1,
|
|
1336
1251
|
negative: p = !1,
|
|
1337
|
-
variant: r =
|
|
1252
|
+
variant: r = vn.PARAGRAPH100,
|
|
1338
1253
|
...t
|
|
1339
1254
|
}) => {
|
|
1340
|
-
const i =
|
|
1341
|
-
[`${
|
|
1342
|
-
[`${
|
|
1343
|
-
[`${
|
|
1255
|
+
const i = hn(a, q, `${q}--${r}`, {
|
|
1256
|
+
[`${q}--hyphens`]: u,
|
|
1257
|
+
[`${q}--disabled`]: n,
|
|
1258
|
+
[`${q}--negative`]: p
|
|
1344
1259
|
});
|
|
1345
1260
|
return /* @__PURE__ */ o("p", { ...t, className: i, children: e });
|
|
1346
1261
|
};
|
|
1347
|
-
|
|
1348
|
-
const
|
|
1262
|
+
Yr.displayName = "Paragraph";
|
|
1263
|
+
const yn = {
|
|
1349
1264
|
"purpur-accordion-item": "_purpur-accordion-item_1du2l_1",
|
|
1350
1265
|
"purpur-accordion-item__trigger": "_purpur-accordion-item__trigger_1du2l_4",
|
|
1351
1266
|
"purpur-accordion-item__header": "_purpur-accordion-item__header_1du2l_10",
|
|
@@ -1357,7 +1272,7 @@ const jn = {
|
|
|
1357
1272
|
"purpur-accordion-item__contentText": "_purpur-accordion-item__contentText_1du2l_82",
|
|
1358
1273
|
"purpur-accordion-item__contentText--limit-width": "_purpur-accordion-item__contentText--limit-width_1du2l_85",
|
|
1359
1274
|
"purpur-accordion-item--negative": "_purpur-accordion-item--negative_1du2l_107"
|
|
1360
|
-
},
|
|
1275
|
+
}, O = Qr.bind(yn), N = "purpur-accordion-item", $n = ({
|
|
1361
1276
|
children: e,
|
|
1362
1277
|
className: a,
|
|
1363
1278
|
fullWidth: n = !1,
|
|
@@ -1369,29 +1284,29 @@ const jn = {
|
|
|
1369
1284
|
onClose: c,
|
|
1370
1285
|
...g
|
|
1371
1286
|
}) => {
|
|
1372
|
-
const
|
|
1287
|
+
const x = pe(re), l = D(), [m, $] = ue(!r), b = O([
|
|
1373
1288
|
N,
|
|
1374
1289
|
{
|
|
1375
|
-
[`${N}--negative`]:
|
|
1290
|
+
[`${N}--negative`]: x
|
|
1376
1291
|
},
|
|
1377
1292
|
a
|
|
1378
1293
|
]);
|
|
1379
|
-
return /* @__PURE__ */
|
|
1294
|
+
return /* @__PURE__ */ h("div", { className: b, ...g, children: [
|
|
1380
1295
|
/* @__PURE__ */ o(
|
|
1381
|
-
|
|
1296
|
+
X,
|
|
1382
1297
|
{
|
|
1383
1298
|
tag: p,
|
|
1384
1299
|
variant: "title-100",
|
|
1385
|
-
className:
|
|
1386
|
-
children: /* @__PURE__ */
|
|
1300
|
+
className: O([`${N}__header`, `${N}__title`]),
|
|
1301
|
+
children: /* @__PURE__ */ h(
|
|
1387
1302
|
"button",
|
|
1388
1303
|
{
|
|
1389
1304
|
type: "button",
|
|
1390
1305
|
"data-state": m ? "open" : "close",
|
|
1391
|
-
onClick: (
|
|
1392
|
-
t && t(
|
|
1306
|
+
onClick: (S) => {
|
|
1307
|
+
t && t(S), m ? i && i() : c && c(), $(!m);
|
|
1393
1308
|
},
|
|
1394
|
-
className:
|
|
1309
|
+
className: O(`${N}__trigger`, a, {
|
|
1395
1310
|
[`${N}__rotate`]: !m
|
|
1396
1311
|
}),
|
|
1397
1312
|
"aria-expanded": !m,
|
|
@@ -1399,7 +1314,7 @@ const jn = {
|
|
|
1399
1314
|
id: l + "button",
|
|
1400
1315
|
children: [
|
|
1401
1316
|
u,
|
|
1402
|
-
/* @__PURE__ */ o(
|
|
1317
|
+
/* @__PURE__ */ o(Xr, { size: "md", className: O(`${N}__icon`), "aria-hidden": !0 })
|
|
1403
1318
|
]
|
|
1404
1319
|
}
|
|
1405
1320
|
)
|
|
@@ -1408,7 +1323,7 @@ const jn = {
|
|
|
1408
1323
|
/* @__PURE__ */ o(
|
|
1409
1324
|
"div",
|
|
1410
1325
|
{
|
|
1411
|
-
className:
|
|
1326
|
+
className: O(`${N}__content`, a),
|
|
1412
1327
|
"aria-hidden": m,
|
|
1413
1328
|
id: l,
|
|
1414
1329
|
"aria-labelledby": l + "button",
|
|
@@ -1416,16 +1331,16 @@ const jn = {
|
|
|
1416
1331
|
children: /* @__PURE__ */ o(
|
|
1417
1332
|
"div",
|
|
1418
1333
|
{
|
|
1419
|
-
className:
|
|
1334
|
+
className: O(`${N}__contentText`, {
|
|
1420
1335
|
[`${N}__contentText--limit-width`]: !n
|
|
1421
1336
|
}),
|
|
1422
|
-
children: typeof e == "string" ? /* @__PURE__ */ o(
|
|
1337
|
+
children: typeof e == "string" ? /* @__PURE__ */ o(Yr, { variant: "paragraph-200", children: e }) : e
|
|
1423
1338
|
}
|
|
1424
1339
|
)
|
|
1425
1340
|
}
|
|
1426
1341
|
)
|
|
1427
1342
|
] });
|
|
1428
|
-
},
|
|
1343
|
+
}, Tr = Qr.bind(Yt), G = "purpur-accordion", re = ae(!1), H = ({
|
|
1429
1344
|
children: e,
|
|
1430
1345
|
className: a,
|
|
1431
1346
|
negative: n = !1,
|
|
@@ -1435,16 +1350,16 @@ const jn = {
|
|
|
1435
1350
|
schema: t,
|
|
1436
1351
|
...i
|
|
1437
1352
|
}) => {
|
|
1438
|
-
const c =
|
|
1439
|
-
|
|
1353
|
+
const c = Tr([
|
|
1354
|
+
G,
|
|
1440
1355
|
{
|
|
1441
|
-
[`${
|
|
1356
|
+
[`${G}--negative`]: n
|
|
1442
1357
|
},
|
|
1443
1358
|
a
|
|
1444
1359
|
]);
|
|
1445
|
-
return /* @__PURE__ */
|
|
1446
|
-
u && /* @__PURE__ */ o(
|
|
1447
|
-
/* @__PURE__ */ o(
|
|
1360
|
+
return /* @__PURE__ */ h("div", { className: c, ...i, children: [
|
|
1361
|
+
u && /* @__PURE__ */ o(X, { tag: p, variant: r, className: Tr(`${G}__title`), children: u }),
|
|
1362
|
+
/* @__PURE__ */ o(re.Provider, { value: n, children: e }),
|
|
1448
1363
|
t && /* @__PURE__ */ o(
|
|
1449
1364
|
"script",
|
|
1450
1365
|
{
|
|
@@ -1456,33 +1371,33 @@ const jn = {
|
|
|
1456
1371
|
)
|
|
1457
1372
|
] });
|
|
1458
1373
|
};
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
const
|
|
1374
|
+
H.Item = $n;
|
|
1375
|
+
H.displayName = "Accordion";
|
|
1376
|
+
const z = 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(
|
|
1462
1377
|
a,
|
|
1463
1378
|
{
|
|
1464
1379
|
...p,
|
|
1465
1380
|
href: n,
|
|
1466
|
-
className:
|
|
1381
|
+
className: z(`${_}__custom-link-navigation`),
|
|
1467
1382
|
children: u
|
|
1468
1383
|
}
|
|
1469
|
-
) : /* @__PURE__ */ o(
|
|
1384
|
+
) : /* @__PURE__ */ o(J, { ...p, variant: "navigation", negative: !0, href: n, disableVisited: !0, children: u }) }, r)) }), xn = ({
|
|
1470
1385
|
navigationLinks: e,
|
|
1471
1386
|
sectionProps: a,
|
|
1472
1387
|
customLink: n
|
|
1473
|
-
}) => /* @__PURE__ */
|
|
1388
|
+
}) => /* @__PURE__ */ h(te, { children: [
|
|
1474
1389
|
/* @__PURE__ */ o(
|
|
1475
1390
|
"section",
|
|
1476
1391
|
{
|
|
1477
1392
|
...a,
|
|
1478
|
-
className:
|
|
1393
|
+
className: z(
|
|
1479
1394
|
`${_}__navigation`,
|
|
1480
1395
|
`${_}__navigation--lg`,
|
|
1481
|
-
a
|
|
1396
|
+
a?.className
|
|
1482
1397
|
),
|
|
1483
|
-
children: e.map((u, p) => /* @__PURE__ */
|
|
1484
|
-
/* @__PURE__ */ o("h3", { className:
|
|
1485
|
-
/* @__PURE__ */ o(
|
|
1398
|
+
children: e.map((u, p) => /* @__PURE__ */ h("div", { className: z(`${_}__navigation-section`), children: [
|
|
1399
|
+
/* @__PURE__ */ o("h3", { className: z(`${_}__navigation-section-heading`), children: u.heading }),
|
|
1400
|
+
/* @__PURE__ */ o(Vr, { links: u.links, customLink: n })
|
|
1486
1401
|
] }, p))
|
|
1487
1402
|
}
|
|
1488
1403
|
),
|
|
@@ -1490,36 +1405,30 @@ const A = rr.bind(er), Br = ({ links: e, customLink: a }) => /* @__PURE__ */ o("
|
|
|
1490
1405
|
"section",
|
|
1491
1406
|
{
|
|
1492
1407
|
...a,
|
|
1493
|
-
className:
|
|
1408
|
+
className: z(
|
|
1494
1409
|
`${_}__navigation`,
|
|
1495
1410
|
`${_}__navigation--sm`,
|
|
1496
|
-
a
|
|
1411
|
+
a?.className
|
|
1497
1412
|
),
|
|
1498
|
-
children: /* @__PURE__ */ o(
|
|
1499
|
-
|
|
1413
|
+
children: /* @__PURE__ */ o(H, { negative: !0, children: e.map((u, p) => /* @__PURE__ */ o(
|
|
1414
|
+
H.Item,
|
|
1500
1415
|
{
|
|
1501
1416
|
title: u.heading,
|
|
1502
1417
|
titleTag: "h2",
|
|
1503
|
-
className:
|
|
1504
|
-
children: /* @__PURE__ */ o(
|
|
1418
|
+
className: z(`${_}__navigation-section`),
|
|
1419
|
+
children: /* @__PURE__ */ o(Vr, { links: u.links, customLink: n })
|
|
1505
1420
|
},
|
|
1506
1421
|
p
|
|
1507
1422
|
)) })
|
|
1508
1423
|
}
|
|
1509
1424
|
)
|
|
1510
1425
|
] });
|
|
1511
|
-
function
|
|
1426
|
+
function bn(e) {
|
|
1512
1427
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1513
1428
|
}
|
|
1514
|
-
var
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
Licensed under the MIT License (MIT), see
|
|
1518
|
-
http://jedwatson.github.io/classnames
|
|
1519
|
-
*/
|
|
1520
|
-
var Fr;
|
|
1521
|
-
function On() {
|
|
1522
|
-
return Fr || (Fr = 1, (function(e) {
|
|
1429
|
+
var Ir = { exports: {} }, Hr;
|
|
1430
|
+
function wn() {
|
|
1431
|
+
return Hr || (Hr = 1, (function(e) {
|
|
1523
1432
|
(function() {
|
|
1524
1433
|
var a = {}.hasOwnProperty;
|
|
1525
1434
|
function n() {
|
|
@@ -1548,10 +1457,10 @@ function On() {
|
|
|
1548
1457
|
}
|
|
1549
1458
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
1550
1459
|
})();
|
|
1551
|
-
})(
|
|
1460
|
+
})(Ir)), Ir.exports;
|
|
1552
1461
|
}
|
|
1553
|
-
var
|
|
1554
|
-
const
|
|
1462
|
+
var Nn = wn();
|
|
1463
|
+
const jn = /* @__PURE__ */ bn(Nn), Sn = {
|
|
1555
1464
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1556
1465
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1557
1466
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1559,33 +1468,33 @@ const Pn = /* @__PURE__ */ kn(zn), An = {
|
|
|
1559
1468
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1560
1469
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1561
1470
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1562
|
-
},
|
|
1471
|
+
}, Cn = jn.bind(Sn), Lr = "purpur-icon", kn = "md", On = (e) => e.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), zn = ({ content: e = "", title: a } = {}) => {
|
|
1563
1472
|
const n = [
|
|
1564
1473
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1565
1474
|
{ name: "fill", value: "currentColor" },
|
|
1566
1475
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1567
1476
|
a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1568
1477
|
], u = a ? `<title>${a}</title>` : "";
|
|
1569
|
-
return `<svg ${
|
|
1570
|
-
},
|
|
1571
|
-
const r =
|
|
1572
|
-
content:
|
|
1478
|
+
return `<svg ${On(n)}>${u}${e}</svg>`;
|
|
1479
|
+
}, Pn = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ee = ({ svg: e, allyTitle: a, className: n, size: u = kn, ...p }) => {
|
|
1480
|
+
const r = zn({
|
|
1481
|
+
content: Pn(e.svg),
|
|
1573
1482
|
title: a
|
|
1574
|
-
}), t =
|
|
1483
|
+
}), t = Cn(Lr, `${Lr}--${u}`, n);
|
|
1575
1484
|
return /* @__PURE__ */ o("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
1576
1485
|
};
|
|
1577
|
-
|
|
1578
|
-
const
|
|
1486
|
+
ee.displayName = "Icon";
|
|
1487
|
+
const An = Q.bind(U), Zr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
1579
1488
|
"a",
|
|
1580
1489
|
{
|
|
1581
1490
|
...n,
|
|
1582
1491
|
href: a,
|
|
1583
|
-
className:
|
|
1492
|
+
className: An(`${_}__social-link`),
|
|
1584
1493
|
rel: "noreferrer",
|
|
1585
1494
|
target: "_blank",
|
|
1586
|
-
children: /* @__PURE__ */ o(
|
|
1495
|
+
children: /* @__PURE__ */ o(ee, { svg: e })
|
|
1587
1496
|
}
|
|
1588
|
-
),
|
|
1497
|
+
), Mn = () => /* @__PURE__ */ h(
|
|
1589
1498
|
"svg",
|
|
1590
1499
|
{
|
|
1591
1500
|
width: "81",
|
|
@@ -1595,7 +1504,7 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1595
1504
|
role: "img",
|
|
1596
1505
|
"aria-hidden": "true",
|
|
1597
1506
|
children: [
|
|
1598
|
-
/* @__PURE__ */
|
|
1507
|
+
/* @__PURE__ */ h("g", { clipPath: "url(#clip0_5309_7721)", children: [
|
|
1599
1508
|
/* @__PURE__ */ o(
|
|
1600
1509
|
"path",
|
|
1601
1510
|
{
|
|
@@ -1656,7 +1565,7 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1656
1565
|
/* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_5309_7721", children: /* @__PURE__ */ o("rect", { width: "81", height: "32", fill: "currentColor" }) }) })
|
|
1657
1566
|
]
|
|
1658
1567
|
}
|
|
1659
|
-
),
|
|
1568
|
+
), y = Q.bind(U), qn = ({
|
|
1660
1569
|
className: e,
|
|
1661
1570
|
navigation: a,
|
|
1662
1571
|
social: n,
|
|
@@ -1667,37 +1576,36 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1667
1576
|
logo: i,
|
|
1668
1577
|
themeSelect: c,
|
|
1669
1578
|
forceColorScheme: g,
|
|
1670
|
-
...
|
|
1579
|
+
...x
|
|
1671
1580
|
}) => {
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
return fe({
|
|
1581
|
+
const l = y(e, _), m = D(), { options: $ } = oe(), [b, S] = le();
|
|
1582
|
+
return se({
|
|
1675
1583
|
cssVariablesSelector: `[data-id="${m}"]`,
|
|
1676
|
-
currentColorScheme: g ??
|
|
1677
|
-
}), /* @__PURE__ */ o("footer", { "data-id": m, className: l, ...
|
|
1584
|
+
currentColorScheme: g ?? $?.footerColorScheme
|
|
1585
|
+
}), /* @__PURE__ */ o("footer", { "data-id": m, className: l, ...x, children: /* @__PURE__ */ o(W, { children: /* @__PURE__ */ h("div", { className: y(`${_}__container`), children: [
|
|
1678
1586
|
/* @__PURE__ */ o(
|
|
1679
1587
|
"div",
|
|
1680
1588
|
{
|
|
1681
|
-
className:
|
|
1589
|
+
className: y(`${_}__logo`, {
|
|
1682
1590
|
[`${_}__logo--telia`]: !i
|
|
1683
1591
|
}),
|
|
1684
|
-
children: i ?? /* @__PURE__ */ o(
|
|
1592
|
+
children: i ?? /* @__PURE__ */ o(Mn, {})
|
|
1685
1593
|
}
|
|
1686
1594
|
),
|
|
1687
1595
|
n && /* @__PURE__ */ o(
|
|
1688
1596
|
"section",
|
|
1689
1597
|
{
|
|
1690
1598
|
...n.sectionProps,
|
|
1691
|
-
className:
|
|
1599
|
+
className: y(
|
|
1692
1600
|
`${_}__social`,
|
|
1693
1601
|
`${_}__social--md`,
|
|
1694
|
-
|
|
1602
|
+
n.sectionProps?.className
|
|
1695
1603
|
),
|
|
1696
|
-
children: n.links.map(({ icon:
|
|
1604
|
+
children: n.links.map(({ icon: f, href: v, ...C }) => /* @__PURE__ */ Z(Zr, { ...C, icon: f, href: v, key: v }))
|
|
1697
1605
|
}
|
|
1698
1606
|
),
|
|
1699
1607
|
a && /* @__PURE__ */ o(
|
|
1700
|
-
|
|
1608
|
+
xn,
|
|
1701
1609
|
{
|
|
1702
1610
|
customLink: a.customLink,
|
|
1703
1611
|
navigationLinks: a.links,
|
|
@@ -1708,32 +1616,32 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1708
1616
|
"section",
|
|
1709
1617
|
{
|
|
1710
1618
|
...t.sectionProps,
|
|
1711
|
-
className:
|
|
1712
|
-
children: t.images.map(({ alt:
|
|
1619
|
+
className: y(`${_}__payments`, t.sectionProps?.className),
|
|
1620
|
+
children: t.images.map(({ alt: f, src: v }) => /* @__PURE__ */ o(
|
|
1713
1621
|
"img",
|
|
1714
1622
|
{
|
|
1715
|
-
className:
|
|
1716
|
-
src:
|
|
1717
|
-
alt:
|
|
1623
|
+
className: y(`${_}__payments-image`),
|
|
1624
|
+
src: v,
|
|
1625
|
+
alt: f
|
|
1718
1626
|
},
|
|
1719
|
-
|
|
1627
|
+
v
|
|
1720
1628
|
))
|
|
1721
1629
|
}
|
|
1722
1630
|
),
|
|
1723
|
-
u && /* @__PURE__ */
|
|
1631
|
+
u && /* @__PURE__ */ h(
|
|
1724
1632
|
"section",
|
|
1725
1633
|
{
|
|
1726
1634
|
...u.sectionProps,
|
|
1727
|
-
className:
|
|
1635
|
+
className: y(`${_}__contacts`, u.sectionProps?.className),
|
|
1728
1636
|
children: [
|
|
1729
|
-
u.copyright && /* @__PURE__ */ o("div", { className:
|
|
1637
|
+
u.copyright && /* @__PURE__ */ o("div", { className: y(`${_}__contacts-copyright`), children: u.copyright }),
|
|
1730
1638
|
u.address && /* @__PURE__ */ o(
|
|
1731
1639
|
"address",
|
|
1732
1640
|
{
|
|
1733
1641
|
...u.address.addressProps,
|
|
1734
|
-
className:
|
|
1642
|
+
className: y(
|
|
1735
1643
|
`${_}__contacts-address`,
|
|
1736
|
-
|
|
1644
|
+
u.address.addressProps?.className
|
|
1737
1645
|
),
|
|
1738
1646
|
children: u.address.content
|
|
1739
1647
|
}
|
|
@@ -1741,25 +1649,25 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1741
1649
|
]
|
|
1742
1650
|
}
|
|
1743
1651
|
),
|
|
1744
|
-
(r || p) && /* @__PURE__ */
|
|
1652
|
+
(r || p) && /* @__PURE__ */ h("div", { className: y(`${_}__additional`), children: [
|
|
1745
1653
|
r && /* @__PURE__ */ o(
|
|
1746
1654
|
"section",
|
|
1747
1655
|
{
|
|
1748
1656
|
...r.sectionProps,
|
|
1749
|
-
className:
|
|
1657
|
+
className: y(`${_}__custom-content`, r.sectionProps?.className),
|
|
1750
1658
|
children: r.content
|
|
1751
1659
|
}
|
|
1752
1660
|
),
|
|
1753
1661
|
c && /* @__PURE__ */ o(
|
|
1754
|
-
|
|
1662
|
+
Jr,
|
|
1755
1663
|
{
|
|
1756
|
-
value:
|
|
1664
|
+
value: b,
|
|
1757
1665
|
label: c.label,
|
|
1758
1666
|
options: c.options,
|
|
1759
1667
|
negative: !0,
|
|
1760
|
-
className:
|
|
1761
|
-
onChange: (
|
|
1762
|
-
|
|
1668
|
+
className: y(`${_}__theme-select`),
|
|
1669
|
+
onChange: (f) => {
|
|
1670
|
+
S(f.target.value);
|
|
1763
1671
|
}
|
|
1764
1672
|
}
|
|
1765
1673
|
),
|
|
@@ -1767,21 +1675,21 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1767
1675
|
"section",
|
|
1768
1676
|
{
|
|
1769
1677
|
...p.sectionProps,
|
|
1770
|
-
className:
|
|
1678
|
+
className: y(
|
|
1771
1679
|
`${_}__additional-links`,
|
|
1772
|
-
|
|
1680
|
+
p.sectionProps?.className
|
|
1773
1681
|
),
|
|
1774
|
-
children:
|
|
1775
|
-
|
|
1682
|
+
children: p?.links?.map(({ href: f, text: v, ...C }) => /* @__PURE__ */ Z(
|
|
1683
|
+
J,
|
|
1776
1684
|
{
|
|
1777
|
-
...
|
|
1685
|
+
...C,
|
|
1778
1686
|
variant: "standalone",
|
|
1779
1687
|
negative: !0,
|
|
1780
|
-
href:
|
|
1781
|
-
key:
|
|
1688
|
+
href: f,
|
|
1689
|
+
key: f,
|
|
1782
1690
|
disableVisited: !0
|
|
1783
1691
|
},
|
|
1784
|
-
|
|
1692
|
+
v
|
|
1785
1693
|
))
|
|
1786
1694
|
}
|
|
1787
1695
|
)
|
|
@@ -1790,18 +1698,18 @@ const Hn = rr.bind(er), Dr = ({ icon: e, href: a, ...n }) => /* @__PURE__ */ o(
|
|
|
1790
1698
|
"section",
|
|
1791
1699
|
{
|
|
1792
1700
|
...n.sectionProps,
|
|
1793
|
-
className:
|
|
1701
|
+
className: y(
|
|
1794
1702
|
`${_}__social`,
|
|
1795
1703
|
`${_}__social--sm`,
|
|
1796
|
-
|
|
1704
|
+
n.sectionProps?.className
|
|
1797
1705
|
),
|
|
1798
|
-
children: n.links.map(({ icon:
|
|
1706
|
+
children: n.links.map(({ icon: f, href: v, ...C }) => /* @__PURE__ */ Z(Zr, { ...C, icon: f, href: v, key: v }))
|
|
1799
1707
|
}
|
|
1800
1708
|
)
|
|
1801
1709
|
] }) }) });
|
|
1802
1710
|
};
|
|
1803
|
-
|
|
1711
|
+
qn.displayName = "Footer";
|
|
1804
1712
|
export {
|
|
1805
|
-
|
|
1713
|
+
qn as Footer
|
|
1806
1714
|
};
|
|
1807
1715
|
//# sourceMappingURL=footer.es.js.map
|