@purpurds/promotion-card 5.34.4 → 5.35.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 +6 -6
- package/dist/promotion-card.cjs.js +20 -16
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +729 -598
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as c, jsx as u, Fragment as $r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as S, Children as D, isValidElement as J, createElement as H, cloneElement as Sr, useEffect as re, Fragment as ee } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function te(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var Cr = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
@@ -15,12 +15,12 @@ var xr = { exports: {} };
|
|
|
15
15
|
var i = {}.hasOwnProperty;
|
|
16
16
|
function a() {
|
|
17
17
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
18
|
-
var
|
|
19
|
-
|
|
18
|
+
var n = arguments[t];
|
|
19
|
+
n && (r = p(r, o.call(this, n)));
|
|
20
20
|
}
|
|
21
21
|
return r;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function o(r) {
|
|
24
24
|
if (typeof r == "string" || typeof r == "number")
|
|
25
25
|
return this && this[r] || r;
|
|
26
26
|
if (typeof r != "object")
|
|
@@ -30,8 +30,8 @@ var xr = { exports: {} };
|
|
|
30
30
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
31
31
|
return r.toString();
|
|
32
32
|
var t = "";
|
|
33
|
-
for (var
|
|
34
|
-
i.call(r,
|
|
33
|
+
for (var n in r)
|
|
34
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
35
35
|
return t;
|
|
36
36
|
}
|
|
37
37
|
function p(r, t) {
|
|
@@ -39,9 +39,9 @@ var xr = { exports: {} };
|
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
42
|
+
})(Cr);
|
|
43
|
+
var ae = Cr.exports;
|
|
44
|
+
const ie = /* @__PURE__ */ te(ae), ne = {
|
|
45
45
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
46
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
47
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -49,77 +49,77 @@ const Jr = /* @__PURE__ */ Kr(Yr), Qr = {
|
|
|
49
49
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
50
50
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
51
51
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
52
|
-
},
|
|
52
|
+
}, oe = {
|
|
53
53
|
name: "alert",
|
|
54
54
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
55
55
|
keywords: ["alert"],
|
|
56
56
|
category: "status"
|
|
57
|
-
},
|
|
57
|
+
}, pe = {
|
|
58
58
|
name: "check-circle",
|
|
59
59
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
60
60
|
keywords: ["check-circle"],
|
|
61
61
|
category: "status"
|
|
62
|
-
},
|
|
62
|
+
}, ue = {
|
|
63
63
|
name: "error",
|
|
64
64
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
65
65
|
keywords: ["error"],
|
|
66
66
|
category: "status"
|
|
67
|
-
},
|
|
67
|
+
}, le = {
|
|
68
68
|
name: "info",
|
|
69
69
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
70
70
|
keywords: ["info"],
|
|
71
71
|
category: "status"
|
|
72
|
-
},
|
|
72
|
+
}, se = {
|
|
73
73
|
name: "offering",
|
|
74
74
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
75
75
|
keywords: ["offering"],
|
|
76
76
|
category: "other"
|
|
77
|
-
},
|
|
77
|
+
}, de = {
|
|
78
78
|
name: "question",
|
|
79
79
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
80
80
|
keywords: ["question"],
|
|
81
81
|
category: "status"
|
|
82
|
-
},
|
|
82
|
+
}, ce = {
|
|
83
83
|
name: "tag",
|
|
84
84
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
85
85
|
keywords: ["tag"],
|
|
86
86
|
category: "other"
|
|
87
|
-
},
|
|
87
|
+
}, _e = ie.bind(ne), ur = "purpur-icon", fe = "md", ge = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), he = ({ content: e = "", title: i } = {}) => {
|
|
88
88
|
const a = [
|
|
89
89
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
90
90
|
{ name: "fill", value: "currentColor" },
|
|
91
91
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
92
92
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
93
|
-
],
|
|
94
|
-
return `<svg ${
|
|
95
|
-
},
|
|
93
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
94
|
+
return `<svg ${ge(a)}>${o}${e}</svg>`;
|
|
95
|
+
}, me = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({
|
|
96
96
|
["data-testid"]: e,
|
|
97
97
|
svg: i,
|
|
98
98
|
allyTitle: a,
|
|
99
|
-
className:
|
|
100
|
-
size: p =
|
|
99
|
+
className: o,
|
|
100
|
+
size: p = fe,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = he({
|
|
104
|
+
content: me(i.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}),
|
|
107
|
-
return /* @__PURE__ */
|
|
106
|
+
}), n = _e(o, ur, `${ur}--${p}`);
|
|
107
|
+
return /* @__PURE__ */ u(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
110
110
|
"aria-label": a,
|
|
111
|
-
className:
|
|
111
|
+
className: n,
|
|
112
112
|
"data-testid": e,
|
|
113
113
|
dangerouslySetInnerHTML: { __html: t },
|
|
114
114
|
...r
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
function
|
|
118
|
+
kr.displayName = "Icon";
|
|
119
|
+
function ve(e) {
|
|
120
120
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
121
121
|
}
|
|
122
|
-
var
|
|
122
|
+
var Ar = { exports: {} };
|
|
123
123
|
/*!
|
|
124
124
|
Copyright (c) 2018 Jed Watson.
|
|
125
125
|
Licensed under the MIT License (MIT), see
|
|
@@ -130,12 +130,12 @@ var $r = { exports: {} };
|
|
|
130
130
|
var i = {}.hasOwnProperty;
|
|
131
131
|
function a() {
|
|
132
132
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
133
|
-
var
|
|
134
|
-
|
|
133
|
+
var n = arguments[t];
|
|
134
|
+
n && (r = p(r, o(n)));
|
|
135
135
|
}
|
|
136
136
|
return r;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function o(r) {
|
|
139
139
|
if (typeof r == "string" || typeof r == "number")
|
|
140
140
|
return r;
|
|
141
141
|
if (typeof r != "object")
|
|
@@ -145,8 +145,8 @@ var $r = { exports: {} };
|
|
|
145
145
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
146
146
|
return r.toString();
|
|
147
147
|
var t = "";
|
|
148
|
-
for (var
|
|
149
|
-
i.call(r,
|
|
148
|
+
for (var n in r)
|
|
149
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
150
150
|
return t;
|
|
151
151
|
}
|
|
152
152
|
function p(r, t) {
|
|
@@ -154,9 +154,9 @@ var $r = { exports: {} };
|
|
|
154
154
|
}
|
|
155
155
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
156
156
|
})();
|
|
157
|
-
})(
|
|
158
|
-
var
|
|
159
|
-
const
|
|
157
|
+
})(Ar);
|
|
158
|
+
var ye = Ar.exports;
|
|
159
|
+
const we = /* @__PURE__ */ ve(ye), lr = {
|
|
160
160
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
161
161
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
162
162
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -166,7 +166,7 @@ const fe = /* @__PURE__ */ ce(_e), ir = {
|
|
|
166
166
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
167
167
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
168
168
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
169
|
-
},
|
|
169
|
+
}, sr = "purpur-badge", b = {
|
|
170
170
|
ATTENTION: "attention",
|
|
171
171
|
SPECIAL: "special",
|
|
172
172
|
NEUTRAL: "neutral",
|
|
@@ -175,50 +175,50 @@ const fe = /* @__PURE__ */ ce(_e), ir = {
|
|
|
175
175
|
WARNING: "warning",
|
|
176
176
|
ERROR: "error",
|
|
177
177
|
BLACK_FRIDAY: "black-friday"
|
|
178
|
-
},
|
|
178
|
+
}, xe = (e) => {
|
|
179
179
|
switch (e) {
|
|
180
|
-
case
|
|
181
|
-
case
|
|
182
|
-
return
|
|
183
|
-
case
|
|
184
|
-
return
|
|
185
|
-
case
|
|
186
|
-
return
|
|
187
|
-
case
|
|
188
|
-
return re;
|
|
189
|
-
case x.ERROR:
|
|
190
|
-
return te;
|
|
191
|
-
case x.NEUTRAL:
|
|
180
|
+
case b.ATTENTION:
|
|
181
|
+
case b.SPECIAL:
|
|
182
|
+
return se;
|
|
183
|
+
case b.INFORMATION:
|
|
184
|
+
return le;
|
|
185
|
+
case b.SUCCESS:
|
|
186
|
+
return pe;
|
|
187
|
+
case b.WARNING:
|
|
192
188
|
return oe;
|
|
193
|
-
case
|
|
194
|
-
return
|
|
189
|
+
case b.ERROR:
|
|
190
|
+
return ue;
|
|
191
|
+
case b.NEUTRAL:
|
|
192
|
+
return de;
|
|
193
|
+
case b.BLACK_FRIDAY:
|
|
194
|
+
return ce;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, be = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: i = !0,
|
|
201
201
|
variant: a,
|
|
202
|
-
["data-testid"]:
|
|
202
|
+
["data-testid"]: o,
|
|
203
203
|
allyLabel: p,
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const
|
|
208
|
-
return /* @__PURE__ */
|
|
209
|
-
i &&
|
|
207
|
+
const n = xe(a), l = we([r, lr[sr], lr[`${sr}--${a}`]]);
|
|
208
|
+
return /* @__PURE__ */ c("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
209
|
+
i && n && /* @__PURE__ */ u(kr, { "data-testid": `${o}-icon`, allyTitle: p, size: "xs", svg: n }),
|
|
210
210
|
e
|
|
211
211
|
] });
|
|
212
|
-
},
|
|
212
|
+
}, $e = {
|
|
213
213
|
XS: "xs",
|
|
214
214
|
SM: "sm",
|
|
215
215
|
MD: "md",
|
|
216
216
|
LG: "lg"
|
|
217
217
|
};
|
|
218
|
-
function
|
|
218
|
+
function Se(e) {
|
|
219
219
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var Or = { exports: {} };
|
|
222
222
|
/*!
|
|
223
223
|
Copyright (c) 2018 Jed Watson.
|
|
224
224
|
Licensed under the MIT License (MIT), see
|
|
@@ -229,12 +229,12 @@ var Sr = { exports: {} };
|
|
|
229
229
|
var i = {}.hasOwnProperty;
|
|
230
230
|
function a() {
|
|
231
231
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
232
|
-
var
|
|
233
|
-
|
|
232
|
+
var n = arguments[t];
|
|
233
|
+
n && (r = p(r, o(n)));
|
|
234
234
|
}
|
|
235
235
|
return r;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function o(r) {
|
|
238
238
|
if (typeof r == "string" || typeof r == "number")
|
|
239
239
|
return r;
|
|
240
240
|
if (typeof r != "object")
|
|
@@ -244,8 +244,8 @@ var Sr = { exports: {} };
|
|
|
244
244
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
245
245
|
return r.toString();
|
|
246
246
|
var t = "";
|
|
247
|
-
for (var
|
|
248
|
-
i.call(r,
|
|
247
|
+
for (var n in r)
|
|
248
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
249
249
|
return t;
|
|
250
250
|
}
|
|
251
251
|
function p(r, t) {
|
|
@@ -253,44 +253,44 @@ var Sr = { exports: {} };
|
|
|
253
253
|
}
|
|
254
254
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
255
255
|
})();
|
|
256
|
-
})(
|
|
257
|
-
var
|
|
258
|
-
const
|
|
256
|
+
})(Or);
|
|
257
|
+
var Ce = Or.exports;
|
|
258
|
+
const dr = /* @__PURE__ */ Se(Ce), ke = "_rotate_1xozj_1", Ae = "_dash_1xozj_1", q = {
|
|
259
259
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
260
|
-
rotate:
|
|
260
|
+
rotate: ke,
|
|
261
261
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
262
262
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
263
263
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
264
264
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
265
265
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
266
266
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
267
|
-
dash:
|
|
267
|
+
dash: Ae,
|
|
268
268
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
269
269
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
270
|
-
},
|
|
270
|
+
}, Z = "purpur-spinner", Oe = {
|
|
271
271
|
XXS: "xxs",
|
|
272
272
|
XS: "xs",
|
|
273
273
|
SM: "sm",
|
|
274
274
|
MD: "md",
|
|
275
275
|
LG: "lg"
|
|
276
|
-
},
|
|
276
|
+
}, Ne = ({
|
|
277
277
|
["data-testid"]: e,
|
|
278
278
|
disabled: i = !1,
|
|
279
279
|
negative: a = !1,
|
|
280
|
-
size:
|
|
280
|
+
size: o = Oe.SM,
|
|
281
281
|
...p
|
|
282
|
-
}) => /* @__PURE__ */
|
|
282
|
+
}) => /* @__PURE__ */ u(
|
|
283
283
|
"div",
|
|
284
284
|
{
|
|
285
|
-
className:
|
|
285
|
+
className: dr([q[Z], q[`${Z}--${o}`]]),
|
|
286
286
|
"data-testid": e,
|
|
287
287
|
...p,
|
|
288
|
-
children: /* @__PURE__ */
|
|
288
|
+
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
289
289
|
"circle",
|
|
290
290
|
{
|
|
291
|
-
className:
|
|
292
|
-
[
|
|
293
|
-
[
|
|
291
|
+
className: dr(q[`${Z}__circle`], {
|
|
292
|
+
[q[`${Z}__circle--disabled`]]: i,
|
|
293
|
+
[q[`${Z}__circle--negative`]]: a
|
|
294
294
|
}),
|
|
295
295
|
cx: "25",
|
|
296
296
|
cy: "25",
|
|
@@ -299,10 +299,10 @@ const nr = /* @__PURE__ */ ve(ye), we = "_rotate_1xozj_1", xe = "_dash_1xozj_1",
|
|
|
299
299
|
) })
|
|
300
300
|
}
|
|
301
301
|
);
|
|
302
|
-
function
|
|
302
|
+
function Be(e) {
|
|
303
303
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
304
304
|
}
|
|
305
|
-
var
|
|
305
|
+
var Nr = { exports: {} };
|
|
306
306
|
/*!
|
|
307
307
|
Copyright (c) 2018 Jed Watson.
|
|
308
308
|
Licensed under the MIT License (MIT), see
|
|
@@ -313,12 +313,12 @@ var Cr = { exports: {} };
|
|
|
313
313
|
var i = {}.hasOwnProperty;
|
|
314
314
|
function a() {
|
|
315
315
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
316
|
-
var
|
|
317
|
-
|
|
316
|
+
var n = arguments[t];
|
|
317
|
+
n && (r = p(r, o.call(this, n)));
|
|
318
318
|
}
|
|
319
319
|
return r;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
321
|
+
function o(r) {
|
|
322
322
|
if (typeof r == "string" || typeof r == "number")
|
|
323
323
|
return this && this[r] || r;
|
|
324
324
|
if (typeof r != "object")
|
|
@@ -328,8 +328,8 @@ var Cr = { exports: {} };
|
|
|
328
328
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
329
329
|
return r.toString();
|
|
330
330
|
var t = "";
|
|
331
|
-
for (var
|
|
332
|
-
i.call(r,
|
|
331
|
+
for (var n in r)
|
|
332
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
333
333
|
return t;
|
|
334
334
|
}
|
|
335
335
|
function p(r, t) {
|
|
@@ -337,9 +337,9 @@ var Cr = { exports: {} };
|
|
|
337
337
|
}
|
|
338
338
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
339
339
|
})();
|
|
340
|
-
})(
|
|
341
|
-
var
|
|
342
|
-
const
|
|
340
|
+
})(Nr);
|
|
341
|
+
var Fe = Nr.exports;
|
|
342
|
+
const Me = /* @__PURE__ */ Be(Fe), Ee = {
|
|
343
343
|
"purpur-button": "_purpur-button_w455q_1",
|
|
344
344
|
"purpur-button--xs": "_purpur-button--xs_w455q_33",
|
|
345
345
|
"purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
|
|
@@ -361,62 +361,62 @@ const ke = /* @__PURE__ */ Se(Ce), Ae = {
|
|
|
361
361
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
|
|
362
362
|
"purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
|
|
363
363
|
"purpur-button--text": "_purpur-button--text_w455q_181"
|
|
364
|
-
},
|
|
364
|
+
}, je = Me.bind(Ee), O = "purpur-button", Ie = ({
|
|
365
365
|
children: e,
|
|
366
366
|
className: i,
|
|
367
367
|
["data-testid"]: a,
|
|
368
|
-
disabled:
|
|
368
|
+
disabled: o = !1,
|
|
369
369
|
fullWidth: p = !1,
|
|
370
370
|
iconOnly: r,
|
|
371
371
|
loading: t = !1,
|
|
372
|
-
negative:
|
|
373
|
-
onClick:
|
|
372
|
+
negative: n = !1,
|
|
373
|
+
onClick: l,
|
|
374
374
|
size: d = "md",
|
|
375
|
-
variant:
|
|
376
|
-
type:
|
|
377
|
-
...
|
|
378
|
-
},
|
|
379
|
-
if (r &&
|
|
375
|
+
variant: m,
|
|
376
|
+
type: x = "button",
|
|
377
|
+
...B
|
|
378
|
+
}, C) => {
|
|
379
|
+
if (r && m === "destructive")
|
|
380
380
|
return null;
|
|
381
|
-
const
|
|
381
|
+
const _ = je(
|
|
382
382
|
[
|
|
383
|
-
|
|
384
|
-
`${
|
|
385
|
-
`${
|
|
383
|
+
O,
|
|
384
|
+
`${O}--${n ? `${m}-negative` : m}`,
|
|
385
|
+
`${O}--${d}`
|
|
386
386
|
],
|
|
387
387
|
{
|
|
388
|
-
[`${
|
|
389
|
-
[`${
|
|
390
|
-
[`${
|
|
391
|
-
[`${
|
|
388
|
+
[`${O}--icon-only`]: r,
|
|
389
|
+
[`${O}--negative`]: n,
|
|
390
|
+
[`${O}--full-width`]: p,
|
|
391
|
+
[`${O}--disabled`]: o || t
|
|
392
392
|
},
|
|
393
393
|
i
|
|
394
|
-
),
|
|
395
|
-
|
|
396
|
-
},
|
|
397
|
-
return /* @__PURE__ */
|
|
394
|
+
), F = (v) => {
|
|
395
|
+
o || t ? v.preventDefault() : l && l(v);
|
|
396
|
+
}, k = !!B["aria-disabled"] || o || t;
|
|
397
|
+
return /* @__PURE__ */ c(
|
|
398
398
|
"button",
|
|
399
399
|
{
|
|
400
|
-
className:
|
|
400
|
+
className: _,
|
|
401
401
|
"data-testid": a,
|
|
402
|
-
type:
|
|
403
|
-
ref:
|
|
404
|
-
"aria-disabled":
|
|
405
|
-
onClick:
|
|
406
|
-
...
|
|
402
|
+
type: x,
|
|
403
|
+
ref: C,
|
|
404
|
+
"aria-disabled": k,
|
|
405
|
+
onClick: F,
|
|
406
|
+
...B,
|
|
407
407
|
children: [
|
|
408
|
-
t && /* @__PURE__ */
|
|
408
|
+
t && /* @__PURE__ */ u(Ne, { size: d === $e.LG ? "xs" : "xxs", negative: n, disabled: k }),
|
|
409
409
|
" ",
|
|
410
410
|
e
|
|
411
411
|
]
|
|
412
412
|
}
|
|
413
413
|
);
|
|
414
|
-
},
|
|
415
|
-
|
|
416
|
-
function
|
|
414
|
+
}, Br = S(Ie);
|
|
415
|
+
Br.displayName = "Button";
|
|
416
|
+
function Ge(e) {
|
|
417
417
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
418
418
|
}
|
|
419
|
-
var
|
|
419
|
+
var Fr = { exports: {} };
|
|
420
420
|
/*!
|
|
421
421
|
Copyright (c) 2018 Jed Watson.
|
|
422
422
|
Licensed under the MIT License (MIT), see
|
|
@@ -427,12 +427,12 @@ var Ar = { exports: {} };
|
|
|
427
427
|
var i = {}.hasOwnProperty;
|
|
428
428
|
function a() {
|
|
429
429
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
430
|
-
var
|
|
431
|
-
|
|
430
|
+
var n = arguments[t];
|
|
431
|
+
n && (r = p(r, o.call(this, n)));
|
|
432
432
|
}
|
|
433
433
|
return r;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function o(r) {
|
|
436
436
|
if (typeof r == "string" || typeof r == "number")
|
|
437
437
|
return this && this[r] || r;
|
|
438
438
|
if (typeof r != "object")
|
|
@@ -442,8 +442,8 @@ var Ar = { exports: {} };
|
|
|
442
442
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
443
443
|
return r.toString();
|
|
444
444
|
var t = "";
|
|
445
|
-
for (var
|
|
446
|
-
i.call(r,
|
|
445
|
+
for (var n in r)
|
|
446
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
447
447
|
return t;
|
|
448
448
|
}
|
|
449
449
|
function p(r, t) {
|
|
@@ -451,15 +451,15 @@ var Ar = { exports: {} };
|
|
|
451
451
|
}
|
|
452
452
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
453
453
|
})();
|
|
454
|
-
})(
|
|
455
|
-
var
|
|
456
|
-
const
|
|
457
|
-
"purpur-card": "_purpur-
|
|
454
|
+
})(Fr);
|
|
455
|
+
var qe = Fr.exports;
|
|
456
|
+
const f = /* @__PURE__ */ Ge(qe), Ze = {
|
|
457
|
+
"purpur-card": "_purpur-card_1ruml_1"
|
|
458
458
|
};
|
|
459
|
-
function
|
|
459
|
+
function Le(e) {
|
|
460
460
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
461
461
|
}
|
|
462
|
-
var
|
|
462
|
+
var Mr = { exports: {} };
|
|
463
463
|
/*!
|
|
464
464
|
Copyright (c) 2018 Jed Watson.
|
|
465
465
|
Licensed under the MIT License (MIT), see
|
|
@@ -470,12 +470,12 @@ var Or = { exports: {} };
|
|
|
470
470
|
var i = {}.hasOwnProperty;
|
|
471
471
|
function a() {
|
|
472
472
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
473
|
-
var
|
|
474
|
-
|
|
473
|
+
var n = arguments[t];
|
|
474
|
+
n && (r = p(r, o.call(this, n)));
|
|
475
475
|
}
|
|
476
476
|
return r;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function o(r) {
|
|
479
479
|
if (typeof r == "string" || typeof r == "number")
|
|
480
480
|
return this && this[r] || r;
|
|
481
481
|
if (typeof r != "object")
|
|
@@ -485,8 +485,8 @@ var Or = { exports: {} };
|
|
|
485
485
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
486
486
|
return r.toString();
|
|
487
487
|
var t = "";
|
|
488
|
-
for (var
|
|
489
|
-
i.call(r,
|
|
488
|
+
for (var n in r)
|
|
489
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
490
490
|
return t;
|
|
491
491
|
}
|
|
492
492
|
function p(r, t) {
|
|
@@ -494,9 +494,9 @@ var Or = { exports: {} };
|
|
|
494
494
|
}
|
|
495
495
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
496
496
|
})();
|
|
497
|
-
})(
|
|
498
|
-
var
|
|
499
|
-
const
|
|
497
|
+
})(Mr);
|
|
498
|
+
var ze = Mr.exports;
|
|
499
|
+
const Ue = /* @__PURE__ */ Le(ze), Pe = {
|
|
500
500
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
501
501
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
502
502
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -504,77 +504,77 @@ const Ge = /* @__PURE__ */ Ee(je), Ie = {
|
|
|
504
504
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
505
505
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
506
506
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
507
|
-
},
|
|
507
|
+
}, Re = {
|
|
508
508
|
name: "alert",
|
|
509
509
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
510
510
|
keywords: ["alert"],
|
|
511
511
|
category: "status"
|
|
512
|
-
},
|
|
512
|
+
}, Te = {
|
|
513
513
|
name: "check-circle",
|
|
514
514
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
515
515
|
keywords: ["check-circle"],
|
|
516
516
|
category: "status"
|
|
517
|
-
},
|
|
517
|
+
}, De = {
|
|
518
518
|
name: "error",
|
|
519
519
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
520
520
|
keywords: ["error"],
|
|
521
521
|
category: "status"
|
|
522
|
-
},
|
|
522
|
+
}, He = {
|
|
523
523
|
name: "info",
|
|
524
524
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
525
525
|
keywords: ["info"],
|
|
526
526
|
category: "status"
|
|
527
|
-
},
|
|
527
|
+
}, Ve = {
|
|
528
528
|
name: "offering",
|
|
529
529
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
530
530
|
keywords: ["offering"],
|
|
531
531
|
category: "other"
|
|
532
|
-
},
|
|
532
|
+
}, We = {
|
|
533
533
|
name: "question",
|
|
534
534
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
535
535
|
keywords: ["question"],
|
|
536
536
|
category: "status"
|
|
537
|
-
},
|
|
537
|
+
}, Xe = {
|
|
538
538
|
name: "tag",
|
|
539
539
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
540
540
|
keywords: ["tag"],
|
|
541
541
|
category: "other"
|
|
542
|
-
},
|
|
542
|
+
}, Ke = Ue.bind(Pe), cr = "purpur-icon", Ye = "md", Je = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Qe = ({ content: e = "", title: i } = {}) => {
|
|
543
543
|
const a = [
|
|
544
544
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
545
545
|
{ name: "fill", value: "currentColor" },
|
|
546
546
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
547
547
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
548
|
-
],
|
|
549
|
-
return `<svg ${
|
|
550
|
-
},
|
|
548
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
549
|
+
return `<svg ${Je(a)}>${o}${e}</svg>`;
|
|
550
|
+
}, rt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Er = ({
|
|
551
551
|
["data-testid"]: e,
|
|
552
552
|
svg: i,
|
|
553
553
|
allyTitle: a,
|
|
554
|
-
className:
|
|
555
|
-
size: p =
|
|
554
|
+
className: o,
|
|
555
|
+
size: p = Ye,
|
|
556
556
|
...r
|
|
557
557
|
}) => {
|
|
558
|
-
const t =
|
|
559
|
-
content:
|
|
558
|
+
const t = Qe({
|
|
559
|
+
content: rt(i.svg),
|
|
560
560
|
title: a
|
|
561
|
-
}),
|
|
562
|
-
return /* @__PURE__ */
|
|
561
|
+
}), n = Ke(o, cr, `${cr}--${p}`);
|
|
562
|
+
return /* @__PURE__ */ u(
|
|
563
563
|
"span",
|
|
564
564
|
{
|
|
565
565
|
"aria-label": a,
|
|
566
|
-
className:
|
|
566
|
+
className: n,
|
|
567
567
|
"data-testid": e,
|
|
568
568
|
dangerouslySetInnerHTML: { __html: t },
|
|
569
569
|
...r
|
|
570
570
|
}
|
|
571
571
|
);
|
|
572
572
|
};
|
|
573
|
-
|
|
574
|
-
function
|
|
573
|
+
Er.displayName = "Icon";
|
|
574
|
+
function et(e) {
|
|
575
575
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
576
576
|
}
|
|
577
|
-
var
|
|
577
|
+
var jr = { exports: {} };
|
|
578
578
|
/*!
|
|
579
579
|
Copyright (c) 2018 Jed Watson.
|
|
580
580
|
Licensed under the MIT License (MIT), see
|
|
@@ -585,12 +585,12 @@ var Fr = { exports: {} };
|
|
|
585
585
|
var i = {}.hasOwnProperty;
|
|
586
586
|
function a() {
|
|
587
587
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
588
|
-
var
|
|
589
|
-
|
|
588
|
+
var n = arguments[t];
|
|
589
|
+
n && (r = p(r, o(n)));
|
|
590
590
|
}
|
|
591
591
|
return r;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function o(r) {
|
|
594
594
|
if (typeof r == "string" || typeof r == "number")
|
|
595
595
|
return r;
|
|
596
596
|
if (typeof r != "object")
|
|
@@ -600,8 +600,8 @@ var Fr = { exports: {} };
|
|
|
600
600
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
601
601
|
return r.toString();
|
|
602
602
|
var t = "";
|
|
603
|
-
for (var
|
|
604
|
-
i.call(r,
|
|
603
|
+
for (var n in r)
|
|
604
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
605
605
|
return t;
|
|
606
606
|
}
|
|
607
607
|
function p(r, t) {
|
|
@@ -609,9 +609,9 @@ var Fr = { exports: {} };
|
|
|
609
609
|
}
|
|
610
610
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
611
611
|
})();
|
|
612
|
-
})(
|
|
613
|
-
var
|
|
614
|
-
const
|
|
612
|
+
})(jr);
|
|
613
|
+
var tt = jr.exports;
|
|
614
|
+
const at = /* @__PURE__ */ et(tt), _r = {
|
|
615
615
|
"purpur-badge": "_purpur-badge_19vzu_1",
|
|
616
616
|
"purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
|
|
617
617
|
"purpur-badge--special": "_purpur-badge--special_19vzu_17",
|
|
@@ -621,7 +621,7 @@ const Ye = /* @__PURE__ */ Xe(Ke), lr = {
|
|
|
621
621
|
"purpur-badge--warning": "_purpur-badge--warning_19vzu_33",
|
|
622
622
|
"purpur-badge--error": "_purpur-badge--error_19vzu_37",
|
|
623
623
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_19vzu_41"
|
|
624
|
-
},
|
|
624
|
+
}, fr = "purpur-badge", $ = {
|
|
625
625
|
ATTENTION: "attention",
|
|
626
626
|
SPECIAL: "special",
|
|
627
627
|
NEUTRAL: "neutral",
|
|
@@ -630,84 +630,89 @@ const Ye = /* @__PURE__ */ Xe(Ke), lr = {
|
|
|
630
630
|
WARNING: "warning",
|
|
631
631
|
ERROR: "error",
|
|
632
632
|
BLACK_FRIDAY: "black-friday"
|
|
633
|
-
},
|
|
633
|
+
}, it = (e) => {
|
|
634
634
|
switch (e) {
|
|
635
|
-
case
|
|
636
|
-
case
|
|
635
|
+
case $.ATTENTION:
|
|
636
|
+
case $.SPECIAL:
|
|
637
|
+
return Ve;
|
|
638
|
+
case $.INFORMATION:
|
|
639
|
+
return He;
|
|
640
|
+
case $.SUCCESS:
|
|
641
|
+
return Te;
|
|
642
|
+
case $.WARNING:
|
|
637
643
|
return Re;
|
|
638
|
-
case
|
|
639
|
-
return Le;
|
|
640
|
-
case b.SUCCESS:
|
|
641
|
-
return qe;
|
|
642
|
-
case b.WARNING:
|
|
643
|
-
return Ze;
|
|
644
|
-
case b.ERROR:
|
|
645
|
-
return Ue;
|
|
646
|
-
case b.NEUTRAL:
|
|
647
|
-
return Pe;
|
|
648
|
-
case b.BLACK_FRIDAY:
|
|
644
|
+
case $.ERROR:
|
|
649
645
|
return De;
|
|
646
|
+
case $.NEUTRAL:
|
|
647
|
+
return We;
|
|
648
|
+
case $.BLACK_FRIDAY:
|
|
649
|
+
return Xe;
|
|
650
650
|
default:
|
|
651
651
|
return;
|
|
652
652
|
}
|
|
653
|
-
},
|
|
653
|
+
}, nt = ({
|
|
654
654
|
children: e,
|
|
655
655
|
showIcon: i = !0,
|
|
656
656
|
variant: a,
|
|
657
|
-
["data-testid"]:
|
|
657
|
+
["data-testid"]: o,
|
|
658
658
|
allyLabel: p,
|
|
659
659
|
className: r = "",
|
|
660
660
|
...t
|
|
661
661
|
}) => {
|
|
662
|
-
const
|
|
663
|
-
return /* @__PURE__ */
|
|
664
|
-
i &&
|
|
662
|
+
const n = it(a), l = at([r, _r[fr], _r[`${fr}--${a}`]]);
|
|
663
|
+
return /* @__PURE__ */ c("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
664
|
+
i && n && /* @__PURE__ */ u(Er, { "data-testid": `${o}-icon`, allyTitle: p, size: "xs", svg: n }),
|
|
665
665
|
e
|
|
666
666
|
] });
|
|
667
|
-
},
|
|
667
|
+
}, ot = {
|
|
668
668
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
669
|
-
},
|
|
669
|
+
}, pt = f.bind(ot), ut = "purpur-card-badge", lt = ({
|
|
670
670
|
["data-testid"]: e = "purpur-card-badge",
|
|
671
671
|
variant: i,
|
|
672
672
|
text: a
|
|
673
|
-
}) => i && a ? /* @__PURE__ */
|
|
674
|
-
|
|
673
|
+
}) => i && a ? /* @__PURE__ */ u(
|
|
674
|
+
nt,
|
|
675
675
|
{
|
|
676
|
-
className:
|
|
676
|
+
className: pt(ut),
|
|
677
677
|
variant: i,
|
|
678
678
|
showIcon: !1,
|
|
679
679
|
"data-testid": e,
|
|
680
680
|
children: a
|
|
681
681
|
}
|
|
682
|
-
) : null,
|
|
682
|
+
) : null, st = {
|
|
683
683
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
684
|
-
},
|
|
684
|
+
}, dt = f.bind(st), ct = "purpur-card-content", _t = ({
|
|
685
685
|
["data-testid"]: e = "purpur-card-content",
|
|
686
686
|
children: i
|
|
687
|
-
}) => /* @__PURE__ */
|
|
688
|
-
"purpur-card-content-container": "_purpur-card-content-
|
|
689
|
-
"purpur-card-content-container--footer": "_purpur-card-content-container--
|
|
690
|
-
|
|
687
|
+
}) => /* @__PURE__ */ u("div", { className: dt(ct), "data-testid": e, children: i }), ft = {
|
|
688
|
+
"purpur-card-content-container": "_purpur-card-content-container_putaw_1",
|
|
689
|
+
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_putaw_12",
|
|
690
|
+
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_putaw_20",
|
|
691
|
+
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_putaw_23",
|
|
692
|
+
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_putaw_26"
|
|
693
|
+
}, gt = f.bind(ft), Q = "purpur-card-content-container", ht = ({
|
|
691
694
|
["data-testid"]: e = "purpur-card-content-container",
|
|
692
695
|
children: i,
|
|
693
|
-
isFooter: a = !1
|
|
694
|
-
|
|
696
|
+
isFooter: a = !1,
|
|
697
|
+
gapSize: o = "md"
|
|
698
|
+
}) => /* @__PURE__ */ u(
|
|
695
699
|
"div",
|
|
696
700
|
{
|
|
697
|
-
className:
|
|
698
|
-
|
|
701
|
+
className: gt([
|
|
702
|
+
Q,
|
|
703
|
+
`${Q}--gap-size--${o}`,
|
|
699
704
|
{
|
|
700
|
-
[`${
|
|
705
|
+
[`${Q}--footer`]: a
|
|
701
706
|
}
|
|
702
707
|
]),
|
|
703
708
|
"data-testid": e,
|
|
704
709
|
children: i
|
|
705
710
|
}
|
|
706
711
|
);
|
|
707
|
-
function
|
|
712
|
+
function mt(e) {
|
|
708
713
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
709
714
|
}
|
|
710
|
-
var
|
|
715
|
+
var Ir = { exports: {} };
|
|
711
716
|
/*!
|
|
712
717
|
Copyright (c) 2018 Jed Watson.
|
|
713
718
|
Licensed under the MIT License (MIT), see
|
|
@@ -718,12 +723,12 @@ var Nr = { exports: {} };
|
|
|
718
723
|
var i = {}.hasOwnProperty;
|
|
719
724
|
function a() {
|
|
720
725
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
721
|
-
var
|
|
722
|
-
|
|
726
|
+
var n = arguments[t];
|
|
727
|
+
n && (r = p(r, o(n)));
|
|
723
728
|
}
|
|
724
729
|
return r;
|
|
725
730
|
}
|
|
726
|
-
function
|
|
731
|
+
function o(r) {
|
|
727
732
|
if (typeof r == "string" || typeof r == "number")
|
|
728
733
|
return r;
|
|
729
734
|
if (typeof r != "object")
|
|
@@ -733,8 +738,8 @@ var Nr = { exports: {} };
|
|
|
733
738
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
734
739
|
return r.toString();
|
|
735
740
|
var t = "";
|
|
736
|
-
for (var
|
|
737
|
-
i.call(r,
|
|
741
|
+
for (var n in r)
|
|
742
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
738
743
|
return t;
|
|
739
744
|
}
|
|
740
745
|
function p(r, t) {
|
|
@@ -742,44 +747,44 @@ var Nr = { exports: {} };
|
|
|
742
747
|
}
|
|
743
748
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
744
749
|
})();
|
|
745
|
-
})(
|
|
746
|
-
var
|
|
747
|
-
const
|
|
750
|
+
})(Ir);
|
|
751
|
+
var vt = Ir.exports;
|
|
752
|
+
const gr = /* @__PURE__ */ mt(vt), yt = "_rotate_1xozj_1", wt = "_dash_1xozj_1", L = {
|
|
748
753
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
749
|
-
rotate:
|
|
754
|
+
rotate: yt,
|
|
750
755
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
751
756
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
752
757
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
753
758
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
754
759
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
755
760
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
756
|
-
dash:
|
|
761
|
+
dash: wt,
|
|
757
762
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
758
763
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
759
|
-
},
|
|
764
|
+
}, z = "purpur-spinner", xt = {
|
|
760
765
|
XXS: "xxs",
|
|
761
766
|
XS: "xs",
|
|
762
767
|
SM: "sm",
|
|
763
768
|
MD: "md",
|
|
764
769
|
LG: "lg"
|
|
765
|
-
},
|
|
770
|
+
}, Gr = ({
|
|
766
771
|
["data-testid"]: e,
|
|
767
772
|
disabled: i = !1,
|
|
768
773
|
negative: a = !1,
|
|
769
|
-
size:
|
|
774
|
+
size: o = xt.SM,
|
|
770
775
|
...p
|
|
771
|
-
}) => /* @__PURE__ */
|
|
776
|
+
}) => /* @__PURE__ */ u(
|
|
772
777
|
"div",
|
|
773
778
|
{
|
|
774
|
-
className:
|
|
779
|
+
className: gr([L[z], L[`${z}--${o}`]]),
|
|
775
780
|
"data-testid": e,
|
|
776
781
|
...p,
|
|
777
|
-
children: /* @__PURE__ */
|
|
782
|
+
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
778
783
|
"circle",
|
|
779
784
|
{
|
|
780
|
-
className:
|
|
781
|
-
[
|
|
782
|
-
[
|
|
785
|
+
className: gr(L[`${z}__circle`], {
|
|
786
|
+
[L[`${z}__circle--disabled`]]: i,
|
|
787
|
+
[L[`${z}__circle--negative`]]: a
|
|
783
788
|
}),
|
|
784
789
|
cx: "25",
|
|
785
790
|
cy: "25",
|
|
@@ -787,58 +792,64 @@ const dr = /* @__PURE__ */ dt(ct), _t = "_rotate_1xozj_1", ft = "_dash_1xozj_1",
|
|
|
787
792
|
}
|
|
788
793
|
) })
|
|
789
794
|
}
|
|
790
|
-
),
|
|
791
|
-
"purpur-card-cta": "_purpur-card-
|
|
792
|
-
"purpur-card-cta--xs": "_purpur-card-cta--
|
|
793
|
-
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-
|
|
794
|
-
"purpur-card-cta--sm": "_purpur-card-cta--
|
|
795
|
-
"purpur-card-cta--md": "_purpur-card-cta--
|
|
796
|
-
"purpur-card-cta--lg": "_purpur-card-cta--
|
|
797
|
-
"purpur-card-cta--full-width": "_purpur-card-cta--full-
|
|
798
|
-
"purpur-card-cta--primary": "_purpur-card-cta--
|
|
799
|
-
"purpur-card-cta--disabled": "_purpur-card-cta--
|
|
800
|
-
"purpur-card-cta--primary-negative": "_purpur-card-cta--primary-
|
|
801
|
-
"purpur-card-cta--secondary": "_purpur-card-cta--
|
|
802
|
-
"purpur-card-cta--secondary-negative": "_purpur-card-cta--secondary-
|
|
803
|
-
"purpur-card-cta--expressive": "_purpur-card-cta--
|
|
804
|
-
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-
|
|
805
|
-
"purpur-card-cta--
|
|
806
|
-
|
|
795
|
+
), bt = {
|
|
796
|
+
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1wc0z_1",
|
|
797
|
+
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1wc0z_33",
|
|
798
|
+
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1wc0z_36",
|
|
799
|
+
"purpur-card-cta--button-styling--sm": "_purpur-card-cta--button-styling--sm_1wc0z_39",
|
|
800
|
+
"purpur-card-cta--button-styling--md": "_purpur-card-cta--button-styling--md_1wc0z_45",
|
|
801
|
+
"purpur-card-cta--button-styling--lg": "_purpur-card-cta--button-styling--lg_1wc0z_51",
|
|
802
|
+
"purpur-card-cta--button-styling--full-width": "_purpur-card-cta--button-styling--full-width_1wc0z_57",
|
|
803
|
+
"purpur-card-cta--button-styling--primary": "_purpur-card-cta--button-styling--primary_1wc0z_60",
|
|
804
|
+
"purpur-card-cta--button-styling--disabled": "_purpur-card-cta--button-styling--disabled_1wc0z_64",
|
|
805
|
+
"purpur-card-cta--button-styling--primary-negative": "_purpur-card-cta--button-styling--primary-negative_1wc0z_70",
|
|
806
|
+
"purpur-card-cta--button-styling--secondary": "_purpur-card-cta--button-styling--secondary_1wc0z_82",
|
|
807
|
+
"purpur-card-cta--button-styling--secondary-negative": "_purpur-card-cta--button-styling--secondary-negative_1wc0z_93",
|
|
808
|
+
"purpur-card-cta--button-styling--expressive": "_purpur-card-cta--button-styling--expressive_1wc0z_104",
|
|
809
|
+
"purpur-card-cta--button-styling--expressive-negative": "_purpur-card-cta--button-styling--expressive-negative_1wc0z_114",
|
|
810
|
+
"purpur-card-cta--cta-styling": "_purpur-card-cta--cta-styling_1wc0z_126",
|
|
811
|
+
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1wc0z_131",
|
|
812
|
+
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1wc0z_131",
|
|
813
|
+
"purpur-card-cta--text": "_purpur-card-cta--text_1wc0z_139"
|
|
814
|
+
}, $t = f.bind(bt), w = "purpur-card-cta", St = ({
|
|
807
815
|
["data-testid"]: e = "purpur-card-cta",
|
|
808
816
|
className: i,
|
|
809
817
|
children: a,
|
|
810
|
-
disabled:
|
|
818
|
+
disabled: o = !1,
|
|
811
819
|
iconPosition: p = "right",
|
|
812
820
|
loading: r = !1,
|
|
813
821
|
text: t,
|
|
814
|
-
|
|
815
|
-
|
|
822
|
+
linkStyling: n = !1,
|
|
823
|
+
...l
|
|
824
|
+
}) => /* @__PURE__ */ u(
|
|
816
825
|
"div",
|
|
817
826
|
{
|
|
818
|
-
className: `${
|
|
819
|
-
|
|
827
|
+
className: `${$t([
|
|
828
|
+
w,
|
|
820
829
|
i,
|
|
821
|
-
`${O}--md`,
|
|
822
|
-
`${O}--secondary`,
|
|
823
830
|
{
|
|
824
|
-
[`${
|
|
825
|
-
[`${
|
|
826
|
-
[`${
|
|
831
|
+
[`${w}--disabled`]: o,
|
|
832
|
+
[`${w}--text`]: !!t,
|
|
833
|
+
[`${w}--cta-styling`]: n,
|
|
834
|
+
[`${w}--button-styling`]: !n,
|
|
835
|
+
[`${w}--button-styling--md`]: !n,
|
|
836
|
+
[`${w}--button-styling--secondary`]: !n,
|
|
837
|
+
[`${w}--button-styling--icon-only`]: !n && !t
|
|
827
838
|
}
|
|
828
|
-
])} ${
|
|
839
|
+
])} ${w}`,
|
|
829
840
|
"data-testid": e,
|
|
830
|
-
...
|
|
831
|
-
children: r ? /* @__PURE__ */
|
|
841
|
+
...l,
|
|
842
|
+
children: r ? /* @__PURE__ */ u(Gr, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ c($r, { children: [
|
|
832
843
|
p === "left" && a,
|
|
833
844
|
t,
|
|
834
845
|
p === "right" && a
|
|
835
846
|
] })
|
|
836
847
|
}
|
|
837
848
|
);
|
|
838
|
-
function
|
|
849
|
+
function Ct(e) {
|
|
839
850
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
840
851
|
}
|
|
841
|
-
var
|
|
852
|
+
var qr = { exports: {} };
|
|
842
853
|
/*!
|
|
843
854
|
Copyright (c) 2018 Jed Watson.
|
|
844
855
|
Licensed under the MIT License (MIT), see
|
|
@@ -849,12 +860,12 @@ var Er = { exports: {} };
|
|
|
849
860
|
var i = {}.hasOwnProperty;
|
|
850
861
|
function a() {
|
|
851
862
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
852
|
-
var
|
|
853
|
-
|
|
863
|
+
var n = arguments[t];
|
|
864
|
+
n && (r = p(r, o.call(this, n)));
|
|
854
865
|
}
|
|
855
866
|
return r;
|
|
856
867
|
}
|
|
857
|
-
function
|
|
868
|
+
function o(r) {
|
|
858
869
|
if (typeof r == "string" || typeof r == "number")
|
|
859
870
|
return this && this[r] || r;
|
|
860
871
|
if (typeof r != "object")
|
|
@@ -864,8 +875,8 @@ var Er = { exports: {} };
|
|
|
864
875
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
865
876
|
return r.toString();
|
|
866
877
|
var t = "";
|
|
867
|
-
for (var
|
|
868
|
-
i.call(r,
|
|
878
|
+
for (var n in r)
|
|
879
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
869
880
|
return t;
|
|
870
881
|
}
|
|
871
882
|
function p(r, t) {
|
|
@@ -873,9 +884,9 @@ var Er = { exports: {} };
|
|
|
873
884
|
}
|
|
874
885
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
875
886
|
})();
|
|
876
|
-
})(
|
|
877
|
-
var
|
|
878
|
-
const
|
|
887
|
+
})(qr);
|
|
888
|
+
var kt = qr.exports;
|
|
889
|
+
const At = /* @__PURE__ */ Ct(kt), Ot = {
|
|
879
890
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
880
891
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
881
892
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -883,68 +894,68 @@ const xt = /* @__PURE__ */ yt(wt), bt = {
|
|
|
883
894
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
884
895
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
885
896
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
886
|
-
},
|
|
897
|
+
}, Nt = {
|
|
887
898
|
name: "arrow-right",
|
|
888
899
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
|
|
889
900
|
keywords: ["arrow-right"],
|
|
890
901
|
category: "utility"
|
|
891
|
-
},
|
|
902
|
+
}, Bt = {
|
|
892
903
|
name: "checkmark",
|
|
893
904
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',
|
|
894
905
|
keywords: ["checkmark"],
|
|
895
906
|
category: "utility"
|
|
896
|
-
},
|
|
897
|
-
|
|
907
|
+
}, Zr = (e) => /* @__PURE__ */ u(
|
|
908
|
+
or,
|
|
898
909
|
{
|
|
899
910
|
...e,
|
|
900
|
-
svg:
|
|
911
|
+
svg: Nt
|
|
901
912
|
}
|
|
902
913
|
);
|
|
903
|
-
|
|
904
|
-
const
|
|
905
|
-
|
|
914
|
+
Zr.displayName = "IconArrowRight";
|
|
915
|
+
const Lr = (e) => /* @__PURE__ */ u(
|
|
916
|
+
or,
|
|
906
917
|
{
|
|
907
918
|
...e,
|
|
908
|
-
svg:
|
|
919
|
+
svg: Bt
|
|
909
920
|
}
|
|
910
921
|
);
|
|
911
|
-
|
|
912
|
-
const
|
|
922
|
+
Lr.displayName = "IconCheckmark";
|
|
923
|
+
const Ft = At.bind(Ot), hr = "purpur-icon", Mt = "md", Et = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), jt = ({ content: e = "", title: i } = {}) => {
|
|
913
924
|
const a = [
|
|
914
925
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
915
926
|
{ name: "fill", value: "currentColor" },
|
|
916
927
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
917
928
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
918
|
-
],
|
|
919
|
-
return `<svg ${
|
|
920
|
-
},
|
|
929
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
930
|
+
return `<svg ${Et(a)}>${o}${e}</svg>`;
|
|
931
|
+
}, It = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), or = ({
|
|
921
932
|
["data-testid"]: e,
|
|
922
933
|
svg: i,
|
|
923
934
|
allyTitle: a,
|
|
924
|
-
className:
|
|
925
|
-
size: p =
|
|
935
|
+
className: o,
|
|
936
|
+
size: p = Mt,
|
|
926
937
|
...r
|
|
927
938
|
}) => {
|
|
928
|
-
const t =
|
|
929
|
-
content:
|
|
939
|
+
const t = jt({
|
|
940
|
+
content: It(i.svg),
|
|
930
941
|
title: a
|
|
931
|
-
}),
|
|
932
|
-
return /* @__PURE__ */
|
|
942
|
+
}), n = Ft(o, hr, `${hr}--${p}`);
|
|
943
|
+
return /* @__PURE__ */ u(
|
|
933
944
|
"span",
|
|
934
945
|
{
|
|
935
946
|
"aria-label": a,
|
|
936
|
-
className:
|
|
947
|
+
className: n,
|
|
937
948
|
"data-testid": e,
|
|
938
949
|
dangerouslySetInnerHTML: { __html: t },
|
|
939
950
|
...r
|
|
940
951
|
}
|
|
941
952
|
);
|
|
942
953
|
};
|
|
943
|
-
|
|
944
|
-
function
|
|
954
|
+
or.displayName = "Icon";
|
|
955
|
+
function Gt(e) {
|
|
945
956
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
946
957
|
}
|
|
947
|
-
var
|
|
958
|
+
var zr = { exports: {} };
|
|
948
959
|
/*!
|
|
949
960
|
Copyright (c) 2018 Jed Watson.
|
|
950
961
|
Licensed under the MIT License (MIT), see
|
|
@@ -955,12 +966,12 @@ var Ir = { exports: {} };
|
|
|
955
966
|
var i = {}.hasOwnProperty;
|
|
956
967
|
function a() {
|
|
957
968
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
958
|
-
var
|
|
959
|
-
|
|
969
|
+
var n = arguments[t];
|
|
970
|
+
n && (r = p(r, o(n)));
|
|
960
971
|
}
|
|
961
972
|
return r;
|
|
962
973
|
}
|
|
963
|
-
function
|
|
974
|
+
function o(r) {
|
|
964
975
|
if (typeof r == "string" || typeof r == "number")
|
|
965
976
|
return r;
|
|
966
977
|
if (typeof r != "object")
|
|
@@ -970,8 +981,8 @@ var Ir = { exports: {} };
|
|
|
970
981
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
971
982
|
return r.toString();
|
|
972
983
|
var t = "";
|
|
973
|
-
for (var
|
|
974
|
-
i.call(r,
|
|
984
|
+
for (var n in r)
|
|
985
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
975
986
|
return t;
|
|
976
987
|
}
|
|
977
988
|
function p(r, t) {
|
|
@@ -979,9 +990,9 @@ var Ir = { exports: {} };
|
|
|
979
990
|
}
|
|
980
991
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
981
992
|
})();
|
|
982
|
-
})(
|
|
983
|
-
var
|
|
984
|
-
const
|
|
993
|
+
})(zr);
|
|
994
|
+
var qt = zr.exports;
|
|
995
|
+
const Zt = /* @__PURE__ */ Gt(qt), U = {
|
|
985
996
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
986
997
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
987
998
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -996,7 +1007,7 @@ const Mt = /* @__PURE__ */ Ft(Nt), R = {
|
|
|
996
1007
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
997
1008
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
998
1009
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
999
|
-
},
|
|
1010
|
+
}, Lt = {
|
|
1000
1011
|
PARAGRAPH100: "paragraph-100",
|
|
1001
1012
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
1002
1013
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1007,47 +1018,151 @@ const Mt = /* @__PURE__ */ Ft(Nt), R = {
|
|
|
1007
1018
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1008
1019
|
OVERLINE100: "overline-100",
|
|
1009
1020
|
OVERLINE200: "overline-200"
|
|
1010
|
-
}, P = "purpur-paragraph",
|
|
1021
|
+
}, P = "purpur-paragraph", pr = ({
|
|
1011
1022
|
["data-testid"]: e,
|
|
1012
1023
|
children: i,
|
|
1013
1024
|
className: a,
|
|
1014
|
-
disabled:
|
|
1025
|
+
disabled: o,
|
|
1015
1026
|
enableHyphenation: p = !1,
|
|
1016
1027
|
negative: r = !1,
|
|
1017
|
-
variant: t =
|
|
1018
|
-
...
|
|
1028
|
+
variant: t = Lt.PARAGRAPH100,
|
|
1029
|
+
...n
|
|
1019
1030
|
}) => {
|
|
1020
|
-
const
|
|
1031
|
+
const l = Zt([
|
|
1021
1032
|
a,
|
|
1022
|
-
|
|
1023
|
-
|
|
1033
|
+
U[P],
|
|
1034
|
+
U[`${P}--${t}`],
|
|
1024
1035
|
{
|
|
1025
|
-
[
|
|
1026
|
-
[
|
|
1027
|
-
[
|
|
1036
|
+
[U[`${P}--hyphens`]]: p,
|
|
1037
|
+
[U[`${P}--disabled`]]: o,
|
|
1038
|
+
[U[`${P}--negative`]]: r
|
|
1028
1039
|
}
|
|
1029
1040
|
]);
|
|
1030
|
-
return /* @__PURE__ */
|
|
1041
|
+
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1031
1042
|
};
|
|
1032
|
-
|
|
1033
|
-
const
|
|
1043
|
+
pr.displayName = "Paragraph";
|
|
1044
|
+
const zt = {
|
|
1034
1045
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1035
1046
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1036
|
-
},
|
|
1047
|
+
}, mr = f.bind(zt), vr = "purpur-card-feature-list", Ut = ({
|
|
1037
1048
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1038
1049
|
listItems: i
|
|
1039
|
-
}) => i && i.length > 0 ? /* @__PURE__ */
|
|
1050
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ u("ul", { className: mr(vr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ c(
|
|
1040
1051
|
"li",
|
|
1041
1052
|
{
|
|
1042
|
-
className:
|
|
1053
|
+
className: mr(`${vr}__list-item`),
|
|
1043
1054
|
"data-testid": `${e}-item`,
|
|
1044
1055
|
children: [
|
|
1045
|
-
/* @__PURE__ */
|
|
1046
|
-
/* @__PURE__ */
|
|
1056
|
+
/* @__PURE__ */ u(Lr, { size: "xs" }),
|
|
1057
|
+
/* @__PURE__ */ u(pr, { children: a })
|
|
1047
1058
|
]
|
|
1048
1059
|
},
|
|
1049
1060
|
a
|
|
1050
|
-
)) }) : null
|
|
1061
|
+
)) }) : null;
|
|
1062
|
+
function Pt(e) {
|
|
1063
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1064
|
+
}
|
|
1065
|
+
var Ur = { exports: {} };
|
|
1066
|
+
/*!
|
|
1067
|
+
Copyright (c) 2018 Jed Watson.
|
|
1068
|
+
Licensed under the MIT License (MIT), see
|
|
1069
|
+
http://jedwatson.github.io/classnames
|
|
1070
|
+
*/
|
|
1071
|
+
(function(e) {
|
|
1072
|
+
(function() {
|
|
1073
|
+
var i = {}.hasOwnProperty;
|
|
1074
|
+
function a() {
|
|
1075
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1076
|
+
var n = arguments[t];
|
|
1077
|
+
n && (r = p(r, o(n)));
|
|
1078
|
+
}
|
|
1079
|
+
return r;
|
|
1080
|
+
}
|
|
1081
|
+
function o(r) {
|
|
1082
|
+
if (typeof r == "string" || typeof r == "number")
|
|
1083
|
+
return r;
|
|
1084
|
+
if (typeof r != "object")
|
|
1085
|
+
return "";
|
|
1086
|
+
if (Array.isArray(r))
|
|
1087
|
+
return a.apply(null, r);
|
|
1088
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1089
|
+
return r.toString();
|
|
1090
|
+
var t = "";
|
|
1091
|
+
for (var n in r)
|
|
1092
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
1093
|
+
return t;
|
|
1094
|
+
}
|
|
1095
|
+
function p(r, t) {
|
|
1096
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
1097
|
+
}
|
|
1098
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1099
|
+
})();
|
|
1100
|
+
})(Ur);
|
|
1101
|
+
var Rt = Ur.exports;
|
|
1102
|
+
const Tt = /* @__PURE__ */ Pt(Rt), W = {
|
|
1103
|
+
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1104
|
+
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1105
|
+
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
1106
|
+
"purpur-heading--subsection-100": "_purpur-heading--subsection-100_k9fhq_14",
|
|
1107
|
+
"purpur-heading--title-100": "_purpur-heading--title-100_k9fhq_20",
|
|
1108
|
+
"purpur-heading--title-200": "_purpur-heading--title-200_k9fhq_26",
|
|
1109
|
+
"purpur-heading--title-300": "_purpur-heading--title-300_k9fhq_32",
|
|
1110
|
+
"purpur-heading--title-400": "_purpur-heading--title-400_k9fhq_38",
|
|
1111
|
+
"purpur-heading--title-500": "_purpur-heading--title-500_k9fhq_44",
|
|
1112
|
+
"purpur-heading--title-600": "_purpur-heading--title-600_k9fhq_50",
|
|
1113
|
+
"purpur-heading--title-700": "_purpur-heading--title-700_k9fhq_56",
|
|
1114
|
+
"purpur-heading--display-25": "_purpur-heading--display-25_k9fhq_62",
|
|
1115
|
+
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1116
|
+
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1117
|
+
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1118
|
+
}, Dt = {
|
|
1119
|
+
TITLE100: "title-100",
|
|
1120
|
+
TITLE200: "title-200",
|
|
1121
|
+
TITLE300: "title-300",
|
|
1122
|
+
TITLE400: "title-400",
|
|
1123
|
+
TITLE500: "title-500",
|
|
1124
|
+
TITLE600: "title-600",
|
|
1125
|
+
TITLE700: "title-700",
|
|
1126
|
+
SUBSECTION100: "subsection-100"
|
|
1127
|
+
}, X = "purpur-heading", Pr = ({
|
|
1128
|
+
["data-testid"]: e,
|
|
1129
|
+
children: i,
|
|
1130
|
+
className: a = "",
|
|
1131
|
+
enableHyphenation: o = !1,
|
|
1132
|
+
negative: p = !1,
|
|
1133
|
+
tag: r,
|
|
1134
|
+
variant: t = Dt.TITLE100,
|
|
1135
|
+
...n
|
|
1136
|
+
}) => {
|
|
1137
|
+
const l = r, d = Tt([
|
|
1138
|
+
a,
|
|
1139
|
+
W[X],
|
|
1140
|
+
W[`${X}--${t}`],
|
|
1141
|
+
{
|
|
1142
|
+
[W[`${X}--hyphens`]]: o,
|
|
1143
|
+
[W[`${X}--negative`]]: p
|
|
1144
|
+
}
|
|
1145
|
+
]);
|
|
1146
|
+
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
1147
|
+
};
|
|
1148
|
+
Pr.displayName = "Heading";
|
|
1149
|
+
const Ht = {
|
|
1150
|
+
"purpur-card-heading": "_purpur-card-heading_8heg4_1",
|
|
1151
|
+
"purpur-card-heading__heading": "_purpur-card-heading__heading_8heg4_6",
|
|
1152
|
+
"purpur-card-heading__icon": "_purpur-card-heading__icon_8heg4_11"
|
|
1153
|
+
}, rr = f.bind(Ht), er = "purpur-card-heading", Vt = ({
|
|
1154
|
+
["data-testid"]: e = "purpur-card-heading",
|
|
1155
|
+
title: i,
|
|
1156
|
+
icon: a,
|
|
1157
|
+
children: o,
|
|
1158
|
+
titleTag: p = "h2"
|
|
1159
|
+
}) => /* @__PURE__ */ c("div", { className: rr(er), "data-testid": e, children: [
|
|
1160
|
+
/* @__PURE__ */ c("div", { className: rr(`${er}__heading`), children: [
|
|
1161
|
+
a && /* @__PURE__ */ u("div", { className: rr(`${er}__icon`), children: a }),
|
|
1162
|
+
/* @__PURE__ */ u(Pr, { tag: p, variant: "title-100", children: i })
|
|
1163
|
+
] }),
|
|
1164
|
+
o
|
|
1165
|
+
] }), Wt = {
|
|
1051
1166
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_blsmb_1",
|
|
1052
1167
|
"purpur-card-link-arrow--xs": "_purpur-card-link-arrow--xs_blsmb_33",
|
|
1053
1168
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_blsmb_36",
|
|
@@ -1062,16 +1177,16 @@ const jt = {
|
|
|
1062
1177
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_blsmb_93",
|
|
1063
1178
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_blsmb_104",
|
|
1064
1179
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_blsmb_114"
|
|
1065
|
-
},
|
|
1180
|
+
}, Xt = f.bind(Wt), M = "purpur-card-link-arrow", Kt = ({
|
|
1066
1181
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
1067
1182
|
className: i,
|
|
1068
1183
|
disabled: a = !1,
|
|
1069
|
-
loading:
|
|
1184
|
+
loading: o = !1,
|
|
1070
1185
|
...p
|
|
1071
|
-
}) => /* @__PURE__ */
|
|
1186
|
+
}) => /* @__PURE__ */ u(
|
|
1072
1187
|
"div",
|
|
1073
1188
|
{
|
|
1074
|
-
className: `${
|
|
1189
|
+
className: `${Xt([
|
|
1075
1190
|
M,
|
|
1076
1191
|
i,
|
|
1077
1192
|
`${M}--md`,
|
|
@@ -1083,19 +1198,31 @@ const jt = {
|
|
|
1083
1198
|
])} ${M}`,
|
|
1084
1199
|
"data-testid": e,
|
|
1085
1200
|
...p,
|
|
1086
|
-
children:
|
|
1201
|
+
children: o ? /* @__PURE__ */ u(Gr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ u(Zr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
1087
1202
|
}
|
|
1088
|
-
),
|
|
1203
|
+
), Yt = {
|
|
1204
|
+
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1205
|
+
}, Jt = f.bind(Yt), Qt = "purpur-card-media", ra = ({
|
|
1206
|
+
["data-testid"]: e = "purpur-card-media",
|
|
1207
|
+
className: i,
|
|
1208
|
+
children: a
|
|
1209
|
+
}) => /* @__PURE__ */ u("div", { className: Jt([Qt, i]), "data-testid": e, children: a }), ea = {
|
|
1210
|
+
"purpur-card-media-layout": "_purpur-card-media-layout_1yfvb_1"
|
|
1211
|
+
}, ta = f.bind(ea), aa = "purpur-card-media-layout", ia = ({
|
|
1212
|
+
["data-testid"]: e = "purpur-card-media-layout",
|
|
1213
|
+
className: i,
|
|
1214
|
+
children: a
|
|
1215
|
+
}) => /* @__PURE__ */ u("div", { className: ta([aa, i]), "data-testid": e, children: a }), na = {
|
|
1089
1216
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1090
|
-
},
|
|
1217
|
+
}, oa = f.bind(na), pa = "purpur-card-overline", ua = ({
|
|
1091
1218
|
["data-testid"]: e = "purpur-card-overline",
|
|
1092
1219
|
overline: i
|
|
1093
|
-
}) => i ? /* @__PURE__ */
|
|
1220
|
+
}) => i ? /* @__PURE__ */ u(pr, { className: oa(pa), "data-testid": e, children: i }) : null, la = {
|
|
1094
1221
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1095
1222
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1096
1223
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1097
1224
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1098
|
-
},
|
|
1225
|
+
}, sa = {
|
|
1099
1226
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1100
1227
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1101
1228
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
@@ -1104,56 +1231,56 @@ function j() {
|
|
|
1104
1231
|
return j = Object.assign ? Object.assign.bind() : function(e) {
|
|
1105
1232
|
for (var i = 1; i < arguments.length; i++) {
|
|
1106
1233
|
var a = arguments[i];
|
|
1107
|
-
for (var
|
|
1234
|
+
for (var o in a) ({}).hasOwnProperty.call(a, o) && (e[o] = a[o]);
|
|
1108
1235
|
}
|
|
1109
1236
|
return e;
|
|
1110
1237
|
}, j.apply(null, arguments);
|
|
1111
1238
|
}
|
|
1112
|
-
function
|
|
1239
|
+
function da(e, i) {
|
|
1113
1240
|
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
1114
1241
|
}
|
|
1115
|
-
function
|
|
1242
|
+
function ca(...e) {
|
|
1116
1243
|
return (i) => e.forEach(
|
|
1117
|
-
(a) =>
|
|
1244
|
+
(a) => da(a, i)
|
|
1118
1245
|
);
|
|
1119
1246
|
}
|
|
1120
|
-
const
|
|
1121
|
-
const { children: a, ...
|
|
1247
|
+
const Rr = /* @__PURE__ */ S((e, i) => {
|
|
1248
|
+
const { children: a, ...o } = e, p = D.toArray(a), r = p.find(fa);
|
|
1122
1249
|
if (r) {
|
|
1123
|
-
const t = r.props.children,
|
|
1124
|
-
return /* @__PURE__ */ H(
|
|
1250
|
+
const t = r.props.children, n = p.map((l) => l === r ? D.count(t) > 1 ? D.only(null) : /* @__PURE__ */ J(t) ? t.props.children : null : l);
|
|
1251
|
+
return /* @__PURE__ */ H(ir, j({}, o, {
|
|
1125
1252
|
ref: i
|
|
1126
|
-
}), /* @__PURE__ */
|
|
1253
|
+
}), /* @__PURE__ */ J(t) ? /* @__PURE__ */ Sr(t, void 0, n) : null);
|
|
1127
1254
|
}
|
|
1128
|
-
return /* @__PURE__ */ H(
|
|
1255
|
+
return /* @__PURE__ */ H(ir, j({}, o, {
|
|
1129
1256
|
ref: i
|
|
1130
1257
|
}), a);
|
|
1131
1258
|
});
|
|
1132
|
-
|
|
1133
|
-
const
|
|
1134
|
-
const { children: a, ...
|
|
1135
|
-
return /* @__PURE__ */
|
|
1136
|
-
...
|
|
1137
|
-
ref: i ?
|
|
1138
|
-
}) :
|
|
1259
|
+
Rr.displayName = "Slot";
|
|
1260
|
+
const ir = /* @__PURE__ */ S((e, i) => {
|
|
1261
|
+
const { children: a, ...o } = e;
|
|
1262
|
+
return /* @__PURE__ */ J(a) ? /* @__PURE__ */ Sr(a, {
|
|
1263
|
+
...ga(o, a.props),
|
|
1264
|
+
ref: i ? ca(i, a.ref) : a.ref
|
|
1265
|
+
}) : D.count(a) > 1 ? D.only(null) : null;
|
|
1139
1266
|
});
|
|
1140
|
-
|
|
1141
|
-
const
|
|
1142
|
-
function
|
|
1143
|
-
return /* @__PURE__ */
|
|
1267
|
+
ir.displayName = "SlotClone";
|
|
1268
|
+
const _a = ({ children: e }) => /* @__PURE__ */ H(ee, null, e);
|
|
1269
|
+
function fa(e) {
|
|
1270
|
+
return /* @__PURE__ */ J(e) && e.type === _a;
|
|
1144
1271
|
}
|
|
1145
|
-
function
|
|
1272
|
+
function ga(e, i) {
|
|
1146
1273
|
const a = {
|
|
1147
1274
|
...i
|
|
1148
1275
|
};
|
|
1149
|
-
for (const
|
|
1150
|
-
const p = e[
|
|
1151
|
-
/^on[A-Z]/.test(
|
|
1276
|
+
for (const o in i) {
|
|
1277
|
+
const p = e[o], r = i[o];
|
|
1278
|
+
/^on[A-Z]/.test(o) ? p && r ? a[o] = (...t) => {
|
|
1152
1279
|
r(...t), p(...t);
|
|
1153
|
-
} : p && (a[
|
|
1280
|
+
} : p && (a[o] = p) : o === "style" ? a[o] = {
|
|
1154
1281
|
...p,
|
|
1155
1282
|
...r
|
|
1156
|
-
} :
|
|
1283
|
+
} : o === "className" && (a[o] = [
|
|
1157
1284
|
p,
|
|
1158
1285
|
r
|
|
1159
1286
|
].filter(Boolean).join(" "));
|
|
@@ -1163,7 +1290,7 @@ function Xt(e, i) {
|
|
|
1163
1290
|
...a
|
|
1164
1291
|
};
|
|
1165
1292
|
}
|
|
1166
|
-
const
|
|
1293
|
+
const ha = [
|
|
1167
1294
|
"a",
|
|
1168
1295
|
"button",
|
|
1169
1296
|
"div",
|
|
@@ -1180,12 +1307,12 @@ const Kt = [
|
|
|
1180
1307
|
"span",
|
|
1181
1308
|
"svg",
|
|
1182
1309
|
"ul"
|
|
1183
|
-
],
|
|
1184
|
-
const a = /* @__PURE__ */
|
|
1185
|
-
const { asChild: r, ...t } =
|
|
1186
|
-
return
|
|
1310
|
+
], ma = ha.reduce((e, i) => {
|
|
1311
|
+
const a = /* @__PURE__ */ S((o, p) => {
|
|
1312
|
+
const { asChild: r, ...t } = o, n = r ? Rr : i;
|
|
1313
|
+
return re(() => {
|
|
1187
1314
|
window[Symbol.for("radix-ui")] = !0;
|
|
1188
|
-
}, []), /* @__PURE__ */ H(
|
|
1315
|
+
}, []), /* @__PURE__ */ H(n, j({}, t, {
|
|
1189
1316
|
ref: p
|
|
1190
1317
|
}));
|
|
1191
1318
|
});
|
|
@@ -1193,7 +1320,7 @@ const Kt = [
|
|
|
1193
1320
|
...e,
|
|
1194
1321
|
[i]: a
|
|
1195
1322
|
};
|
|
1196
|
-
}, {}),
|
|
1323
|
+
}, {}), va = /* @__PURE__ */ S((e, i) => /* @__PURE__ */ H(ma.span, j({}, e, {
|
|
1197
1324
|
ref: i,
|
|
1198
1325
|
style: {
|
|
1199
1326
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -1209,115 +1336,119 @@ const Kt = [
|
|
|
1209
1336
|
wordWrap: "normal",
|
|
1210
1337
|
...e.style
|
|
1211
1338
|
}
|
|
1212
|
-
}))),
|
|
1339
|
+
}))), ya = va, yr = ({
|
|
1213
1340
|
asChild: e,
|
|
1214
1341
|
children: i,
|
|
1215
1342
|
className: a = "",
|
|
1216
|
-
["data-testid"]:
|
|
1217
|
-
}) => /* @__PURE__ */
|
|
1343
|
+
["data-testid"]: o
|
|
1344
|
+
}) => /* @__PURE__ */ u(ya, { asChild: e, "data-testid": o, className: a, children: i }), wr = f.bind(sa), N = "purpur-card-trigger-item", wa = ({
|
|
1218
1345
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1219
1346
|
disabled: i = !1,
|
|
1220
1347
|
href: a,
|
|
1221
|
-
onClick:
|
|
1348
|
+
onClick: o,
|
|
1222
1349
|
screenReaderText: p
|
|
1223
1350
|
}) => {
|
|
1224
|
-
const r = (
|
|
1225
|
-
i ?
|
|
1226
|
-
}, t = `${
|
|
1351
|
+
const r = (n) => {
|
|
1352
|
+
i ? n.preventDefault() : o && o();
|
|
1353
|
+
}, t = `${N} ${i ? `${N}--disabled` : ""}`;
|
|
1227
1354
|
return a ? (
|
|
1228
1355
|
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
1229
|
-
/* @__PURE__ */
|
|
1356
|
+
/* @__PURE__ */ u(
|
|
1230
1357
|
"a",
|
|
1231
1358
|
{
|
|
1232
1359
|
"aria-disabled": i,
|
|
1233
|
-
className: `${
|
|
1234
|
-
|
|
1360
|
+
className: `${wr([
|
|
1361
|
+
N,
|
|
1235
1362
|
{
|
|
1236
|
-
[`${
|
|
1363
|
+
[`${N}--disabled`]: i
|
|
1237
1364
|
}
|
|
1238
1365
|
])} ${t}`,
|
|
1239
1366
|
"data-testid": e,
|
|
1240
1367
|
href: i ? void 0 : a,
|
|
1241
1368
|
tabIndex: i ? 0 : void 0,
|
|
1242
|
-
|
|
1369
|
+
onClick: r,
|
|
1370
|
+
children: /* @__PURE__ */ u(yr, { children: p })
|
|
1243
1371
|
}
|
|
1244
1372
|
)
|
|
1245
|
-
) : /* @__PURE__ */
|
|
1373
|
+
) : /* @__PURE__ */ u(
|
|
1246
1374
|
"button",
|
|
1247
1375
|
{
|
|
1248
1376
|
"aria-disabled": i,
|
|
1249
|
-
className: `${
|
|
1250
|
-
|
|
1251
|
-
`${
|
|
1377
|
+
className: `${wr([
|
|
1378
|
+
N,
|
|
1379
|
+
`${N}--button`,
|
|
1252
1380
|
{
|
|
1253
|
-
[`${
|
|
1381
|
+
[`${N}--disabled`]: i
|
|
1254
1382
|
}
|
|
1255
1383
|
])} ${t}`,
|
|
1256
1384
|
"data-testid": e,
|
|
1257
1385
|
type: "button",
|
|
1258
1386
|
onClick: r,
|
|
1259
|
-
children: /* @__PURE__ */
|
|
1387
|
+
children: /* @__PURE__ */ u(yr, { children: p })
|
|
1260
1388
|
}
|
|
1261
1389
|
);
|
|
1262
|
-
},
|
|
1390
|
+
}, xa = f.bind(la), tr = "purpur-card-root", Tr = S(
|
|
1263
1391
|
({
|
|
1264
1392
|
["data-testid"]: e = "purpur-card-root",
|
|
1265
1393
|
children: i,
|
|
1266
1394
|
className: a,
|
|
1267
|
-
disabled:
|
|
1395
|
+
disabled: o,
|
|
1268
1396
|
fullHeight: p,
|
|
1269
1397
|
href: r,
|
|
1270
1398
|
onClick: t,
|
|
1271
|
-
screenReaderText:
|
|
1272
|
-
variant:
|
|
1399
|
+
screenReaderText: n,
|
|
1400
|
+
variant: l,
|
|
1273
1401
|
...d
|
|
1274
|
-
},
|
|
1275
|
-
const
|
|
1276
|
-
|
|
1402
|
+
}, m) => {
|
|
1403
|
+
const x = xa([
|
|
1404
|
+
tr,
|
|
1277
1405
|
a,
|
|
1278
1406
|
{
|
|
1279
|
-
[`${
|
|
1280
|
-
[`${
|
|
1407
|
+
[`${tr}--${l}`]: l,
|
|
1408
|
+
[`${tr}--full-height`]: p
|
|
1281
1409
|
}
|
|
1282
1410
|
]);
|
|
1283
|
-
return /* @__PURE__ */
|
|
1411
|
+
return /* @__PURE__ */ c("div", { className: x, "data-testid": e, ref: m, ...d, children: [
|
|
1284
1412
|
i,
|
|
1285
|
-
(t || r) &&
|
|
1286
|
-
|
|
1413
|
+
(t || r) && n && /* @__PURE__ */ u(
|
|
1414
|
+
wa,
|
|
1287
1415
|
{
|
|
1288
|
-
disabled:
|
|
1416
|
+
disabled: o,
|
|
1289
1417
|
href: r,
|
|
1290
1418
|
onClick: t,
|
|
1291
|
-
screenReaderText:
|
|
1419
|
+
screenReaderText: n
|
|
1292
1420
|
}
|
|
1293
1421
|
)
|
|
1294
1422
|
] });
|
|
1295
1423
|
}
|
|
1296
1424
|
);
|
|
1297
|
-
|
|
1298
|
-
const
|
|
1299
|
-
const
|
|
1300
|
-
|
|
1425
|
+
Tr.displayName = "CardRoot";
|
|
1426
|
+
const xr = f.bind(Ze), ar = "purpur-card", h = ({ children: e, className: i, ...a }) => {
|
|
1427
|
+
const o = xr([
|
|
1428
|
+
ar,
|
|
1301
1429
|
i,
|
|
1302
1430
|
{
|
|
1303
|
-
[`${
|
|
1304
|
-
[`${
|
|
1431
|
+
[`${ar}--is-interactive`]: a.onClick || a.href,
|
|
1432
|
+
[`${ar}--disabled`]: a.disabled
|
|
1305
1433
|
}
|
|
1306
1434
|
]);
|
|
1307
|
-
return /* @__PURE__ */
|
|
1435
|
+
return /* @__PURE__ */ u(Tr, { className: xr(o), ...a, children: e });
|
|
1308
1436
|
};
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1437
|
+
h.Badge = lt;
|
|
1438
|
+
h.LinkArrow = Kt;
|
|
1439
|
+
h.Content = _t;
|
|
1440
|
+
h.ContentContainer = ht;
|
|
1441
|
+
h.Cta = St;
|
|
1442
|
+
h.FeatureList = Ut;
|
|
1443
|
+
h.Overline = ua;
|
|
1444
|
+
h.Heading = Vt;
|
|
1445
|
+
h.Media = ra;
|
|
1446
|
+
h.MediaLayout = ia;
|
|
1447
|
+
h.displayName = "Card";
|
|
1448
|
+
function ba(e) {
|
|
1318
1449
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1319
1450
|
}
|
|
1320
|
-
var
|
|
1451
|
+
var Dr = { exports: {} };
|
|
1321
1452
|
/*!
|
|
1322
1453
|
Copyright (c) 2018 Jed Watson.
|
|
1323
1454
|
Licensed under the MIT License (MIT), see
|
|
@@ -1328,12 +1459,12 @@ var Ur = { exports: {} };
|
|
|
1328
1459
|
var i = {}.hasOwnProperty;
|
|
1329
1460
|
function a() {
|
|
1330
1461
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1331
|
-
var
|
|
1332
|
-
|
|
1462
|
+
var n = arguments[t];
|
|
1463
|
+
n && (r = p(r, o.call(this, n)));
|
|
1333
1464
|
}
|
|
1334
1465
|
return r;
|
|
1335
1466
|
}
|
|
1336
|
-
function
|
|
1467
|
+
function o(r) {
|
|
1337
1468
|
if (typeof r == "string" || typeof r == "number")
|
|
1338
1469
|
return this && this[r] || r;
|
|
1339
1470
|
if (typeof r != "object")
|
|
@@ -1343,8 +1474,8 @@ var Ur = { exports: {} };
|
|
|
1343
1474
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1344
1475
|
return r.toString();
|
|
1345
1476
|
var t = "";
|
|
1346
|
-
for (var
|
|
1347
|
-
i.call(r,
|
|
1477
|
+
for (var n in r)
|
|
1478
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
1348
1479
|
return t;
|
|
1349
1480
|
}
|
|
1350
1481
|
function p(r, t) {
|
|
@@ -1352,9 +1483,9 @@ var Ur = { exports: {} };
|
|
|
1352
1483
|
}
|
|
1353
1484
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1354
1485
|
})();
|
|
1355
|
-
})(
|
|
1356
|
-
var
|
|
1357
|
-
const
|
|
1486
|
+
})(Dr);
|
|
1487
|
+
var $a = Dr.exports;
|
|
1488
|
+
const Sa = /* @__PURE__ */ ba($a), Ca = {
|
|
1358
1489
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1359
1490
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1360
1491
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1362,62 +1493,62 @@ const ia = /* @__PURE__ */ ta(aa), oa = {
|
|
|
1362
1493
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1363
1494
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1364
1495
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1365
|
-
},
|
|
1496
|
+
}, ka = {
|
|
1366
1497
|
name: "arrow-left",
|
|
1367
1498
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
|
|
1368
1499
|
keywords: ["arrow-left"],
|
|
1369
1500
|
category: "utility"
|
|
1370
|
-
},
|
|
1501
|
+
}, Aa = {
|
|
1371
1502
|
name: "arrow-right",
|
|
1372
1503
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
|
|
1373
1504
|
keywords: ["arrow-right"],
|
|
1374
1505
|
category: "utility"
|
|
1375
|
-
},
|
|
1506
|
+
}, Oa = {
|
|
1376
1507
|
name: "external",
|
|
1377
1508
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
|
|
1378
1509
|
keywords: ["external"],
|
|
1379
1510
|
category: "media"
|
|
1380
|
-
},
|
|
1511
|
+
}, Na = {
|
|
1381
1512
|
name: "phone",
|
|
1382
1513
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.341 2.228c.75-.622 1.73-.43 2.305.145l2.783 2.783a1.9 1.9 0 0 1 0 2.687L8.843 9.43a.1.1 0 0 0 0 .142l5.586 5.585a.1.1 0 0 0 .142 0l1.585-1.585a1.9 1.9 0 0 1 2.687 0l3.5 3.5c.343.342.698 1.023.31 1.742-.346.645-1.173 1.615-3.154 2.936-1.75 1.167-3.667 1.269-5.297.903-1.61-.361-3.015-1.192-3.839-2.016a.9.9 0 0 1 1.273-1.272c.573.572 1.669 1.242 2.96 1.532 1.27.285 2.656.188 3.905-.645 1.483-.989 2.137-1.68 2.418-2.06l-3.348-3.347a.1.1 0 0 0-.142 0l-1.586 1.585a1.9 1.9 0 0 1-2.687 0l-5.585-5.585a1.9 1.9 0 0 1 0-2.688l1.585-1.585a.1.1 0 0 0 0-.142L6.41 3.682c-.447.383-1.183 1.102-2.206 2.38-.878 1.097-1.14 2.08-1.127 2.951.013.898.323 1.758.732 2.59.24.488.733 1.079 1.551 1.88.561.549 1.227 1.152 2.002 1.854.344.312.71.644 1.098 1a.9.9 0 0 1-1.215 1.327c-.367-.336-.722-.658-1.061-.965a77.443 77.443 0 0 1-2.082-1.93c-.831-.813-1.523-1.586-1.909-2.372-.456-.93-.896-2.07-.916-3.356-.02-1.314.399-2.7 1.521-4.103 1.148-1.435 1.995-2.254 2.544-2.71Z" clip-rule="evenodd"/></svg>',
|
|
1383
1514
|
keywords: ["phone"],
|
|
1384
1515
|
category: "device"
|
|
1385
|
-
},
|
|
1516
|
+
}, Ba = Sa.bind(Ca), br = "purpur-icon", Fa = "md", Ma = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Ea = ({ content: e = "", title: i } = {}) => {
|
|
1386
1517
|
const a = [
|
|
1387
1518
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1388
1519
|
{ name: "fill", value: "currentColor" },
|
|
1389
1520
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1390
1521
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1391
|
-
],
|
|
1392
|
-
return `<svg ${
|
|
1393
|
-
},
|
|
1522
|
+
], o = i ? `<title>${i}</title>` : "";
|
|
1523
|
+
return `<svg ${Ma(a)}>${o}${e}</svg>`;
|
|
1524
|
+
}, ja = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), nr = ({
|
|
1394
1525
|
["data-testid"]: e,
|
|
1395
1526
|
svg: i,
|
|
1396
1527
|
allyTitle: a,
|
|
1397
|
-
className:
|
|
1398
|
-
size: p =
|
|
1528
|
+
className: o,
|
|
1529
|
+
size: p = Fa,
|
|
1399
1530
|
...r
|
|
1400
1531
|
}) => {
|
|
1401
|
-
const t =
|
|
1402
|
-
content:
|
|
1532
|
+
const t = Ea({
|
|
1533
|
+
content: ja(i.svg),
|
|
1403
1534
|
title: a
|
|
1404
|
-
}),
|
|
1405
|
-
return /* @__PURE__ */
|
|
1535
|
+
}), n = Ba(o, br, `${br}--${p}`);
|
|
1536
|
+
return /* @__PURE__ */ u(
|
|
1406
1537
|
"span",
|
|
1407
1538
|
{
|
|
1408
1539
|
"aria-label": a,
|
|
1409
|
-
className:
|
|
1540
|
+
className: n,
|
|
1410
1541
|
"data-testid": e,
|
|
1411
1542
|
dangerouslySetInnerHTML: { __html: t },
|
|
1412
1543
|
...r
|
|
1413
1544
|
}
|
|
1414
1545
|
);
|
|
1415
1546
|
};
|
|
1416
|
-
|
|
1417
|
-
function
|
|
1547
|
+
nr.displayName = "Icon";
|
|
1548
|
+
function Ia(e) {
|
|
1418
1549
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1419
1550
|
}
|
|
1420
|
-
var
|
|
1551
|
+
var Hr = { exports: {} };
|
|
1421
1552
|
/*!
|
|
1422
1553
|
Copyright (c) 2018 Jed Watson.
|
|
1423
1554
|
Licensed under the MIT License (MIT), see
|
|
@@ -1428,12 +1559,12 @@ var Lr = { exports: {} };
|
|
|
1428
1559
|
var i = {}.hasOwnProperty;
|
|
1429
1560
|
function a() {
|
|
1430
1561
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1431
|
-
var
|
|
1432
|
-
|
|
1562
|
+
var n = arguments[t];
|
|
1563
|
+
n && (r = p(r, o.call(this, n)));
|
|
1433
1564
|
}
|
|
1434
1565
|
return r;
|
|
1435
1566
|
}
|
|
1436
|
-
function
|
|
1567
|
+
function o(r) {
|
|
1437
1568
|
if (typeof r == "string" || typeof r == "number")
|
|
1438
1569
|
return this && this[r] || r;
|
|
1439
1570
|
if (typeof r != "object")
|
|
@@ -1443,8 +1574,8 @@ var Lr = { exports: {} };
|
|
|
1443
1574
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1444
1575
|
return r.toString();
|
|
1445
1576
|
var t = "";
|
|
1446
|
-
for (var
|
|
1447
|
-
i.call(r,
|
|
1577
|
+
for (var n in r)
|
|
1578
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
1448
1579
|
return t;
|
|
1449
1580
|
}
|
|
1450
1581
|
function p(r, t) {
|
|
@@ -1452,9 +1583,9 @@ var Lr = { exports: {} };
|
|
|
1452
1583
|
}
|
|
1453
1584
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1454
1585
|
})();
|
|
1455
|
-
})(
|
|
1456
|
-
var
|
|
1457
|
-
const
|
|
1586
|
+
})(Hr);
|
|
1587
|
+
var Ga = Hr.exports;
|
|
1588
|
+
const qa = /* @__PURE__ */ Ia(Ga), Za = {
|
|
1458
1589
|
"purpur-cta-link": "_purpur-cta-link_1e75l_1",
|
|
1459
1590
|
"purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
|
|
1460
1591
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
|
|
@@ -1469,54 +1600,54 @@ const ma = /* @__PURE__ */ ga(ha), va = {
|
|
|
1469
1600
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1470
1601
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1471
1602
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1472
|
-
},
|
|
1473
|
-
forward:
|
|
1474
|
-
external:
|
|
1475
|
-
back:
|
|
1476
|
-
phone:
|
|
1477
|
-
},
|
|
1603
|
+
}, La = qa.bind(Za), E = "purpur-cta-link", za = {
|
|
1604
|
+
forward: Aa,
|
|
1605
|
+
external: Oa,
|
|
1606
|
+
back: ka,
|
|
1607
|
+
phone: Na
|
|
1608
|
+
}, Vr = S(
|
|
1478
1609
|
({
|
|
1479
1610
|
children: e,
|
|
1480
1611
|
className: i,
|
|
1481
1612
|
["data-testid"]: a,
|
|
1482
|
-
fullWidth:
|
|
1613
|
+
fullWidth: o = !1,
|
|
1483
1614
|
iconOnly: p = !1,
|
|
1484
1615
|
showIcon: r = !0,
|
|
1485
1616
|
negative: t = !1,
|
|
1486
|
-
size:
|
|
1487
|
-
variant:
|
|
1617
|
+
size: n = "md",
|
|
1618
|
+
variant: l,
|
|
1488
1619
|
icon: d = "forward",
|
|
1489
|
-
...
|
|
1490
|
-
},
|
|
1491
|
-
const
|
|
1620
|
+
...m
|
|
1621
|
+
}, x) => {
|
|
1622
|
+
const B = La(
|
|
1492
1623
|
[
|
|
1493
1624
|
i,
|
|
1494
1625
|
E,
|
|
1495
|
-
`${E}--${t ? `${
|
|
1496
|
-
`${E}--${
|
|
1626
|
+
`${E}--${t ? `${l}-negative` : l}`,
|
|
1627
|
+
`${E}--${n}`
|
|
1497
1628
|
],
|
|
1498
1629
|
{
|
|
1499
1630
|
[`${E}--icon-only`]: p,
|
|
1500
1631
|
[`${E}--negative`]: t,
|
|
1501
|
-
[`${E}--full-width`]:
|
|
1632
|
+
[`${E}--full-width`]: o
|
|
1502
1633
|
}
|
|
1503
|
-
),
|
|
1504
|
-
r && (d === "back" || d === "phone") && /* @__PURE__ */
|
|
1634
|
+
), C = za[d], _ = /* @__PURE__ */ c($r, { children: [
|
|
1635
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(nr, { svg: C, size: n === "lg" ? "sm" : "xs" }),
|
|
1505
1636
|
(!p || p && !r) && e,
|
|
1506
|
-
r && (d === "forward" || d === "external") && /* @__PURE__ */
|
|
1507
|
-
] }),
|
|
1508
|
-
...
|
|
1509
|
-
className:
|
|
1637
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(nr, { svg: C, size: n === "lg" ? "sm" : "xs" })
|
|
1638
|
+
] }), F = {
|
|
1639
|
+
...m,
|
|
1640
|
+
className: B,
|
|
1510
1641
|
"data-testid": a
|
|
1511
1642
|
};
|
|
1512
|
-
return "href" in
|
|
1643
|
+
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...F, ref: x, children: _ }) : /* @__PURE__ */ u("span", { ...F, ref: x, children: _ });
|
|
1513
1644
|
}
|
|
1514
1645
|
);
|
|
1515
|
-
|
|
1516
|
-
function
|
|
1646
|
+
Vr.displayName = "CtaLink";
|
|
1647
|
+
function Ua(e) {
|
|
1517
1648
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1518
1649
|
}
|
|
1519
|
-
var
|
|
1650
|
+
var Wr = { exports: {} };
|
|
1520
1651
|
/*!
|
|
1521
1652
|
Copyright (c) 2018 Jed Watson.
|
|
1522
1653
|
Licensed under the MIT License (MIT), see
|
|
@@ -1527,12 +1658,12 @@ var Pr = { exports: {} };
|
|
|
1527
1658
|
var i = {}.hasOwnProperty;
|
|
1528
1659
|
function a() {
|
|
1529
1660
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1530
|
-
var
|
|
1531
|
-
|
|
1661
|
+
var n = arguments[t];
|
|
1662
|
+
n && (r = p(r, o(n)));
|
|
1532
1663
|
}
|
|
1533
1664
|
return r;
|
|
1534
1665
|
}
|
|
1535
|
-
function
|
|
1666
|
+
function o(r) {
|
|
1536
1667
|
if (typeof r == "string" || typeof r == "number")
|
|
1537
1668
|
return r;
|
|
1538
1669
|
if (typeof r != "object")
|
|
@@ -1542,8 +1673,8 @@ var Pr = { exports: {} };
|
|
|
1542
1673
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1543
1674
|
return r.toString();
|
|
1544
1675
|
var t = "";
|
|
1545
|
-
for (var
|
|
1546
|
-
i.call(r,
|
|
1676
|
+
for (var n in r)
|
|
1677
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
1547
1678
|
return t;
|
|
1548
1679
|
}
|
|
1549
1680
|
function p(r, t) {
|
|
@@ -1551,9 +1682,9 @@ var Pr = { exports: {} };
|
|
|
1551
1682
|
}
|
|
1552
1683
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1553
1684
|
})();
|
|
1554
|
-
})(
|
|
1555
|
-
var
|
|
1556
|
-
const
|
|
1685
|
+
})(Wr);
|
|
1686
|
+
var Pa = Wr.exports;
|
|
1687
|
+
const Ra = /* @__PURE__ */ Ua(Pa), K = {
|
|
1557
1688
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1558
1689
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1559
1690
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1569,7 +1700,7 @@ const $a = /* @__PURE__ */ xa(ba), W = {
|
|
|
1569
1700
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1570
1701
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1571
1702
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1572
|
-
},
|
|
1703
|
+
}, Ta = {
|
|
1573
1704
|
TITLE100: "title-100",
|
|
1574
1705
|
TITLE200: "title-200",
|
|
1575
1706
|
TITLE300: "title-300",
|
|
@@ -1578,32 +1709,32 @@ const $a = /* @__PURE__ */ xa(ba), W = {
|
|
|
1578
1709
|
TITLE600: "title-600",
|
|
1579
1710
|
TITLE700: "title-700",
|
|
1580
1711
|
SUBSECTION100: "subsection-100"
|
|
1581
|
-
},
|
|
1712
|
+
}, Y = "purpur-heading", Xr = ({
|
|
1582
1713
|
["data-testid"]: e,
|
|
1583
1714
|
children: i,
|
|
1584
1715
|
className: a = "",
|
|
1585
|
-
enableHyphenation:
|
|
1716
|
+
enableHyphenation: o = !1,
|
|
1586
1717
|
negative: p = !1,
|
|
1587
1718
|
tag: r,
|
|
1588
|
-
variant: t =
|
|
1589
|
-
...
|
|
1719
|
+
variant: t = Ta.TITLE100,
|
|
1720
|
+
...n
|
|
1590
1721
|
}) => {
|
|
1591
|
-
const
|
|
1722
|
+
const l = r, d = Ra([
|
|
1592
1723
|
a,
|
|
1593
|
-
|
|
1594
|
-
|
|
1724
|
+
K[Y],
|
|
1725
|
+
K[`${Y}--${t}`],
|
|
1595
1726
|
{
|
|
1596
|
-
[
|
|
1597
|
-
[
|
|
1727
|
+
[K[`${Y}--hyphens`]]: o,
|
|
1728
|
+
[K[`${Y}--negative`]]: p
|
|
1598
1729
|
}
|
|
1599
1730
|
]);
|
|
1600
|
-
return /* @__PURE__ */ l
|
|
1731
|
+
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
1601
1732
|
};
|
|
1602
|
-
|
|
1603
|
-
function
|
|
1733
|
+
Xr.displayName = "Heading";
|
|
1734
|
+
function Da(e) {
|
|
1604
1735
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1605
1736
|
}
|
|
1606
|
-
var
|
|
1737
|
+
var Kr = { exports: {} };
|
|
1607
1738
|
/*!
|
|
1608
1739
|
Copyright (c) 2018 Jed Watson.
|
|
1609
1740
|
Licensed under the MIT License (MIT), see
|
|
@@ -1614,12 +1745,12 @@ var zr = { exports: {} };
|
|
|
1614
1745
|
var i = {}.hasOwnProperty;
|
|
1615
1746
|
function a() {
|
|
1616
1747
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1617
|
-
var
|
|
1618
|
-
|
|
1748
|
+
var n = arguments[t];
|
|
1749
|
+
n && (r = p(r, o(n)));
|
|
1619
1750
|
}
|
|
1620
1751
|
return r;
|
|
1621
1752
|
}
|
|
1622
|
-
function
|
|
1753
|
+
function o(r) {
|
|
1623
1754
|
if (typeof r == "string" || typeof r == "number")
|
|
1624
1755
|
return r;
|
|
1625
1756
|
if (typeof r != "object")
|
|
@@ -1629,8 +1760,8 @@ var zr = { exports: {} };
|
|
|
1629
1760
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1630
1761
|
return r.toString();
|
|
1631
1762
|
var t = "";
|
|
1632
|
-
for (var
|
|
1633
|
-
i.call(r,
|
|
1763
|
+
for (var n in r)
|
|
1764
|
+
i.call(r, n) && r[n] && (t = p(t, n));
|
|
1634
1765
|
return t;
|
|
1635
1766
|
}
|
|
1636
1767
|
function p(r, t) {
|
|
@@ -1638,9 +1769,9 @@ var zr = { exports: {} };
|
|
|
1638
1769
|
}
|
|
1639
1770
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1640
1771
|
})();
|
|
1641
|
-
})(
|
|
1642
|
-
var
|
|
1643
|
-
const
|
|
1772
|
+
})(Kr);
|
|
1773
|
+
var Ha = Kr.exports;
|
|
1774
|
+
const Va = /* @__PURE__ */ Da(Ha), R = {
|
|
1644
1775
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1645
1776
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1646
1777
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1655,7 +1786,7 @@ const Aa = /* @__PURE__ */ Ca(ka), D = {
|
|
|
1655
1786
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1656
1787
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1657
1788
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1658
|
-
},
|
|
1789
|
+
}, Wa = {
|
|
1659
1790
|
PARAGRAPH100: "paragraph-100",
|
|
1660
1791
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
1661
1792
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1666,33 +1797,33 @@ const Aa = /* @__PURE__ */ Ca(ka), D = {
|
|
|
1666
1797
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1667
1798
|
OVERLINE100: "overline-100",
|
|
1668
1799
|
OVERLINE200: "overline-200"
|
|
1669
|
-
},
|
|
1800
|
+
}, T = "purpur-paragraph", Yr = ({
|
|
1670
1801
|
["data-testid"]: e,
|
|
1671
1802
|
children: i,
|
|
1672
1803
|
className: a,
|
|
1673
|
-
disabled:
|
|
1804
|
+
disabled: o,
|
|
1674
1805
|
enableHyphenation: p = !1,
|
|
1675
1806
|
negative: r = !1,
|
|
1676
|
-
variant: t =
|
|
1677
|
-
...
|
|
1807
|
+
variant: t = Wa.PARAGRAPH100,
|
|
1808
|
+
...n
|
|
1678
1809
|
}) => {
|
|
1679
|
-
const
|
|
1810
|
+
const l = Va([
|
|
1680
1811
|
a,
|
|
1681
|
-
|
|
1682
|
-
|
|
1812
|
+
R[T],
|
|
1813
|
+
R[`${T}--${t}`],
|
|
1683
1814
|
{
|
|
1684
|
-
[
|
|
1685
|
-
[
|
|
1686
|
-
[
|
|
1815
|
+
[R[`${T}--hyphens`]]: p,
|
|
1816
|
+
[R[`${T}--disabled`]]: o,
|
|
1817
|
+
[R[`${T}--negative`]]: r
|
|
1687
1818
|
}
|
|
1688
1819
|
]);
|
|
1689
|
-
return /* @__PURE__ */
|
|
1820
|
+
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1690
1821
|
};
|
|
1691
|
-
|
|
1692
|
-
function
|
|
1822
|
+
Yr.displayName = "Paragraph";
|
|
1823
|
+
function Xa(e) {
|
|
1693
1824
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1694
1825
|
}
|
|
1695
|
-
var
|
|
1826
|
+
var Jr = { exports: {} };
|
|
1696
1827
|
/*!
|
|
1697
1828
|
Copyright (c) 2018 Jed Watson.
|
|
1698
1829
|
Licensed under the MIT License (MIT), see
|
|
@@ -1703,12 +1834,12 @@ var Hr = { exports: {} };
|
|
|
1703
1834
|
var i = {}.hasOwnProperty;
|
|
1704
1835
|
function a() {
|
|
1705
1836
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1706
|
-
var
|
|
1707
|
-
|
|
1837
|
+
var n = arguments[t];
|
|
1838
|
+
n && (r = p(r, o.call(this, n)));
|
|
1708
1839
|
}
|
|
1709
1840
|
return r;
|
|
1710
1841
|
}
|
|
1711
|
-
function
|
|
1842
|
+
function o(r) {
|
|
1712
1843
|
if (typeof r == "string" || typeof r == "number")
|
|
1713
1844
|
return this && this[r] || r;
|
|
1714
1845
|
if (typeof r != "object")
|
|
@@ -1718,8 +1849,8 @@ var Hr = { exports: {} };
|
|
|
1718
1849
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1719
1850
|
return r.toString();
|
|
1720
1851
|
var t = "";
|
|
1721
|
-
for (var
|
|
1722
|
-
i.call(r,
|
|
1852
|
+
for (var n in r)
|
|
1853
|
+
i.call(r, n) && r[n] && (t = p(t, this && this[n] || n));
|
|
1723
1854
|
return t;
|
|
1724
1855
|
}
|
|
1725
1856
|
function p(r, t) {
|
|
@@ -1727,9 +1858,9 @@ var Hr = { exports: {} };
|
|
|
1727
1858
|
}
|
|
1728
1859
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1729
1860
|
})();
|
|
1730
|
-
})(
|
|
1731
|
-
var
|
|
1732
|
-
const
|
|
1861
|
+
})(Jr);
|
|
1862
|
+
var Ka = Jr.exports;
|
|
1863
|
+
const Ya = /* @__PURE__ */ Xa(Ka), Ja = {
|
|
1733
1864
|
"purpur-promotion-card": "_purpur-promotion-card_1cvjr_1",
|
|
1734
1865
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1cvjr_8",
|
|
1735
1866
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_1cvjr_8",
|
|
@@ -1750,121 +1881,121 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1750
1881
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1cvjr_149",
|
|
1751
1882
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1cvjr_152",
|
|
1752
1883
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1cvjr_153"
|
|
1753
|
-
},
|
|
1884
|
+
}, l0 = ["primary", "secondary", "quaternary"], Qa = {
|
|
1754
1885
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1755
1886
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1756
1887
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1757
|
-
},
|
|
1888
|
+
}, r0 = {
|
|
1758
1889
|
primary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1759
1890
|
secondary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,
|
|
1760
1891
|
quaternary: `url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`
|
|
1761
|
-
},
|
|
1892
|
+
}, e0 = {
|
|
1762
1893
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1763
1894
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1764
1895
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1765
|
-
},
|
|
1896
|
+
}, g = Ya.bind(Ja), s = "purpur-promotion-card", t0 = ({
|
|
1766
1897
|
["data-testid"]: e,
|
|
1767
1898
|
variant: i = "primary",
|
|
1768
1899
|
badgeText: a,
|
|
1769
|
-
badgeIcon:
|
|
1900
|
+
badgeIcon: o,
|
|
1770
1901
|
title: p,
|
|
1771
1902
|
titleTag: r = "h2",
|
|
1772
1903
|
titleVariant: t = "title-300",
|
|
1773
|
-
enableTitleHyphenation:
|
|
1774
|
-
className:
|
|
1904
|
+
enableTitleHyphenation: n = !0,
|
|
1905
|
+
className: l,
|
|
1775
1906
|
actions: d,
|
|
1776
|
-
children:
|
|
1777
|
-
style:
|
|
1778
|
-
alignment:
|
|
1779
|
-
additionalText:
|
|
1780
|
-
...
|
|
1781
|
-
},
|
|
1782
|
-
let
|
|
1783
|
-
if ("decorativeImage" in
|
|
1784
|
-
const { hasGradient:
|
|
1785
|
-
|
|
1786
|
-
} else if ("productImage" in
|
|
1787
|
-
const { hasGradient:
|
|
1788
|
-
|
|
1789
|
-
} else if ("hasGradient" in
|
|
1790
|
-
const { hasGradient:
|
|
1791
|
-
V =
|
|
1907
|
+
children: m,
|
|
1908
|
+
style: x,
|
|
1909
|
+
alignment: B = "space-between",
|
|
1910
|
+
additionalText: C,
|
|
1911
|
+
..._
|
|
1912
|
+
}, F) => {
|
|
1913
|
+
let k = _, v, V;
|
|
1914
|
+
if ("decorativeImage" in _) {
|
|
1915
|
+
const { hasGradient: y, decorativeImage: A, ...I } = _;
|
|
1916
|
+
v = A, V = y, k = I;
|
|
1917
|
+
} else if ("productImage" in _) {
|
|
1918
|
+
const { hasGradient: y, productImage: A, ...I } = _;
|
|
1919
|
+
v = A, V = y, k = I;
|
|
1920
|
+
} else if ("hasGradient" in _) {
|
|
1921
|
+
const { hasGradient: y, ...A } = _;
|
|
1922
|
+
V = y, k = A;
|
|
1792
1923
|
}
|
|
1793
|
-
const
|
|
1794
|
-
"--promotion-card-background":
|
|
1795
|
-
"--promotion-card-color":
|
|
1796
|
-
"--promotion-card-background-image":
|
|
1924
|
+
const Qr = {
|
|
1925
|
+
"--promotion-card-background": Qa[i],
|
|
1926
|
+
"--promotion-card-color": e0[i],
|
|
1927
|
+
"--promotion-card-background-image": r0[i]
|
|
1797
1928
|
};
|
|
1798
|
-
return /* @__PURE__ */
|
|
1929
|
+
return /* @__PURE__ */ u(h, { ref: F, className: g(`${s}__card`), children: /* @__PURE__ */ c(
|
|
1799
1930
|
"div",
|
|
1800
1931
|
{
|
|
1801
1932
|
"data-testid": e,
|
|
1802
1933
|
style: {
|
|
1803
|
-
...
|
|
1804
|
-
...
|
|
1934
|
+
...Qr,
|
|
1935
|
+
...x
|
|
1805
1936
|
},
|
|
1806
|
-
className:
|
|
1807
|
-
|
|
1937
|
+
className: g([
|
|
1938
|
+
l,
|
|
1808
1939
|
s,
|
|
1809
1940
|
`${s}--${i}`,
|
|
1810
1941
|
{
|
|
1811
|
-
[`${s}--with-image`]:
|
|
1812
|
-
[`${s}--without-image`]: !
|
|
1942
|
+
[`${s}--with-image`]: v,
|
|
1943
|
+
[`${s}--without-image`]: !v
|
|
1813
1944
|
}
|
|
1814
1945
|
]),
|
|
1815
|
-
...
|
|
1946
|
+
...k,
|
|
1816
1947
|
children: [
|
|
1817
|
-
/* @__PURE__ */
|
|
1948
|
+
/* @__PURE__ */ c(
|
|
1818
1949
|
"div",
|
|
1819
1950
|
{
|
|
1820
|
-
className:
|
|
1951
|
+
className: g([
|
|
1821
1952
|
`${s}__content`,
|
|
1822
1953
|
{
|
|
1823
|
-
[`${s}__content--with-image`]:
|
|
1824
|
-
[`${s}__content--without-image`]: !
|
|
1954
|
+
[`${s}__content--with-image`]: v,
|
|
1955
|
+
[`${s}__content--without-image`]: !v
|
|
1825
1956
|
}
|
|
1826
1957
|
]),
|
|
1827
1958
|
children: [
|
|
1828
|
-
a && /* @__PURE__ */
|
|
1829
|
-
|
|
1959
|
+
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: g(`${s}__badge-wrapper`), children: /* @__PURE__ */ c(be, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1960
|
+
o && o,
|
|
1830
1961
|
a
|
|
1831
1962
|
] }) }),
|
|
1832
|
-
/* @__PURE__ */
|
|
1963
|
+
/* @__PURE__ */ c(
|
|
1833
1964
|
"div",
|
|
1834
1965
|
{
|
|
1835
|
-
className:
|
|
1966
|
+
className: g(
|
|
1836
1967
|
`${s}__main-content`,
|
|
1837
|
-
`${s}__main-content--${
|
|
1968
|
+
`${s}__main-content--${B}`
|
|
1838
1969
|
),
|
|
1839
1970
|
children: [
|
|
1840
|
-
/* @__PURE__ */
|
|
1841
|
-
|
|
1971
|
+
/* @__PURE__ */ u(
|
|
1972
|
+
Xr,
|
|
1842
1973
|
{
|
|
1843
1974
|
tag: r,
|
|
1844
1975
|
variant: t,
|
|
1845
|
-
enableHyphenation:
|
|
1846
|
-
className:
|
|
1976
|
+
enableHyphenation: n,
|
|
1977
|
+
className: g(`${s}__heading`),
|
|
1847
1978
|
children: p
|
|
1848
1979
|
}
|
|
1849
1980
|
),
|
|
1850
|
-
/* @__PURE__ */
|
|
1851
|
-
/* @__PURE__ */
|
|
1852
|
-
d && d.length > 0 && /* @__PURE__ */
|
|
1853
|
-
const
|
|
1854
|
-
variant:
|
|
1981
|
+
/* @__PURE__ */ c("div", { className: g(`${s}__body`), children: [
|
|
1982
|
+
/* @__PURE__ */ u("div", { className: g(`${s}__child-content`), children: m }),
|
|
1983
|
+
d && d.length > 0 && /* @__PURE__ */ u("div", { className: g(`${s}__actions`), children: d.map(({ label: y, ...A }, I) => {
|
|
1984
|
+
const G = {
|
|
1985
|
+
variant: I === 0 ? "primary" : "secondary",
|
|
1855
1986
|
negative: i === "primary",
|
|
1856
|
-
...
|
|
1857
|
-
children:
|
|
1987
|
+
...A,
|
|
1988
|
+
children: y
|
|
1858
1989
|
};
|
|
1859
|
-
return
|
|
1990
|
+
return a0(G) ? /* @__PURE__ */ u(Vr, { ...G }, y) : "onClick" in G && !("href" in G) ? /* @__PURE__ */ u(Br, { ...G }, y) : null;
|
|
1860
1991
|
}) }),
|
|
1861
|
-
|
|
1862
|
-
|
|
1992
|
+
C && /* @__PURE__ */ u(
|
|
1993
|
+
Yr,
|
|
1863
1994
|
{
|
|
1864
1995
|
negative: !0,
|
|
1865
1996
|
variant: "additional-100",
|
|
1866
|
-
className:
|
|
1867
|
-
children:
|
|
1997
|
+
className: g(`${s}__additional-text`),
|
|
1998
|
+
children: C
|
|
1868
1999
|
}
|
|
1869
2000
|
)
|
|
1870
2001
|
] })
|
|
@@ -1874,22 +2005,22 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1874
2005
|
]
|
|
1875
2006
|
}
|
|
1876
2007
|
),
|
|
1877
|
-
|
|
2008
|
+
v && /* @__PURE__ */ c(
|
|
1878
2009
|
"div",
|
|
1879
2010
|
{
|
|
1880
|
-
className:
|
|
2011
|
+
className: g([
|
|
1881
2012
|
`${s}__image-wrapper`,
|
|
1882
2013
|
{
|
|
1883
|
-
[`${s}__image-wrapper--product`]: "productImage" in
|
|
1884
|
-
[`${s}__image-wrapper--decorative`]: "decorativeImage" in
|
|
2014
|
+
[`${s}__image-wrapper--product`]: "productImage" in _,
|
|
2015
|
+
[`${s}__image-wrapper--decorative`]: "decorativeImage" in _
|
|
1885
2016
|
}
|
|
1886
2017
|
]),
|
|
1887
2018
|
children: [
|
|
1888
|
-
|
|
1889
|
-
V && /* @__PURE__ */
|
|
2019
|
+
v,
|
|
2020
|
+
V && /* @__PURE__ */ u(
|
|
1890
2021
|
"div",
|
|
1891
2022
|
{
|
|
1892
|
-
className:
|
|
2023
|
+
className: g(`${s}__image-gradient`),
|
|
1893
2024
|
"data-testid": "promotion-card-gradient"
|
|
1894
2025
|
}
|
|
1895
2026
|
)
|
|
@@ -1899,10 +2030,10 @@ const Na = /* @__PURE__ */ Ba(Fa), Ma = {
|
|
|
1899
2030
|
]
|
|
1900
2031
|
}
|
|
1901
2032
|
) });
|
|
1902
|
-
},
|
|
1903
|
-
|
|
2033
|
+
}, a0 = (e) => "href" in e, i0 = S(t0);
|
|
2034
|
+
i0.displayName = "PromotionCard";
|
|
1904
2035
|
export {
|
|
1905
|
-
|
|
1906
|
-
|
|
2036
|
+
i0 as PromotionCard,
|
|
2037
|
+
l0 as promotionCardVariants
|
|
1907
2038
|
};
|
|
1908
2039
|
//# sourceMappingURL=promotion-card.es.js.map
|