@purpurds/promotion-card 7.6.1 → 7.7.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 +4 -4
- package/dist/promotion-card.cjs.js +13 -13
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +9 -7
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +458 -533
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +12 -11
- package/src/promotion-card.stories.tsx +5 -5
- package/src/promotion-card.tsx +119 -135
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as c, jsx as u, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as c, jsx as u, Fragment as zr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as kr } from "react";
|
|
3
|
+
function Rr(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Q = { exports: {} };
|
|
7
7
|
/*!
|
|
8
8
|
Copyright (c) 2018 Jed Watson.
|
|
9
9
|
Licensed under the MIT License (MIT), see
|
|
10
10
|
http://jedwatson.github.io/classnames
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
return
|
|
12
|
+
var X;
|
|
13
|
+
function Lr() {
|
|
14
|
+
return X || (X = 1, function(e) {
|
|
15
15
|
(function() {
|
|
16
16
|
var n = {}.hasOwnProperty;
|
|
17
17
|
function a() {
|
|
@@ -40,10 +40,10 @@ function Hr() {
|
|
|
40
40
|
}
|
|
41
41
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
42
42
|
})();
|
|
43
|
-
}(
|
|
43
|
+
}(Q)), Q.exports;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
const
|
|
45
|
+
var Dr = Lr();
|
|
46
|
+
const Pr = /* @__PURE__ */ Rr(Dr), Hr = {
|
|
47
47
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
48
48
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
49
49
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -51,90 +51,75 @@ const Vr = /* @__PURE__ */ Dr(Tr), Wr = {
|
|
|
51
51
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
52
52
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
53
53
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
54
|
-
},
|
|
54
|
+
}, Tr = Pr.bind(Hr), rr = "purpur-icon", Vr = "md", Wr = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), Kr = ({ content: e = "", title: n } = {}) => {
|
|
55
55
|
const a = [
|
|
56
56
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
57
57
|
{ name: "fill", value: "currentColor" },
|
|
58
58
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
59
59
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
60
60
|
], o = n ? `<title>${n}</title>` : "";
|
|
61
|
-
return `<svg ${
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
...r
|
|
69
|
-
}) => {
|
|
70
|
-
const t = Qr({
|
|
71
|
-
content: Xr(n.svg),
|
|
72
|
-
title: a
|
|
73
|
-
}), i = Kr(o, ar, `${ar}--${p}`);
|
|
74
|
-
return /* @__PURE__ */ u(
|
|
75
|
-
"span",
|
|
76
|
-
{
|
|
77
|
-
className: i,
|
|
78
|
-
"data-testid": e,
|
|
79
|
-
dangerouslySetInnerHTML: { __html: t },
|
|
80
|
-
...r
|
|
81
|
-
}
|
|
82
|
-
);
|
|
61
|
+
return `<svg ${Wr(a)}>${o}${e}</svg>`;
|
|
62
|
+
}, Yr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Nr = ({ svg: e, allyTitle: n, className: a, size: o = Vr, ...p }) => {
|
|
63
|
+
const r = Kr({
|
|
64
|
+
content: Yr(e.svg),
|
|
65
|
+
title: n
|
|
66
|
+
}), t = Tr(a, rr, `${rr}--${o}`);
|
|
67
|
+
return /* @__PURE__ */ u("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
83
68
|
};
|
|
84
|
-
|
|
85
|
-
const
|
|
69
|
+
Nr.displayName = "Icon";
|
|
70
|
+
const Jr = {
|
|
86
71
|
name: "alert",
|
|
87
72
|
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>',
|
|
88
73
|
keywords: ["alert"],
|
|
89
74
|
category: "status"
|
|
90
|
-
},
|
|
75
|
+
}, Qr = {
|
|
91
76
|
name: "check-circle",
|
|
92
77
|
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>',
|
|
93
78
|
keywords: ["check-circle"],
|
|
94
79
|
category: "status"
|
|
95
|
-
},
|
|
80
|
+
}, Xr = {
|
|
96
81
|
name: "devices",
|
|
97
82
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10 3.4a.1.1 0 0 0-.1.1V4a.9.9 0 0 1-1.8 0v-.5c0-1.05.85-1.9 1.9-1.9h10c1.05 0 1.9.85 1.9 1.9v15a1.9 1.9 0 0 1-1.9 1.9h-6a.9.9 0 1 1 0-1.8h6a.1.1 0 0 0 .1-.1v-15a.1.1 0 0 0-.1-.1H10ZM2.1 8c0-1.05.85-1.9 1.9-1.9h6c1.05 0 1.9.85 1.9 1.9v12a1.9 1.9 0 0 1-1.9 1.9H4A1.9 1.9 0 0 1 2.1 20V8ZM4 7.9a.1.1 0 0 0-.1.1v12a.1.1 0 0 0 .1.1h6a.1.1 0 0 0 .1-.1V8a.1.1 0 0 0-.1-.1H4ZM14.6 17a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8h-.5a.9.9 0 0 1-.9-.9Zm-8.5 1.5a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8H7a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"/></svg>',
|
|
98
83
|
keywords: ["devices"],
|
|
99
84
|
category: "device"
|
|
100
|
-
},
|
|
85
|
+
}, re = {
|
|
101
86
|
name: "error",
|
|
102
87
|
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>',
|
|
103
88
|
keywords: ["error"],
|
|
104
89
|
category: "status"
|
|
105
|
-
},
|
|
90
|
+
}, ee = {
|
|
106
91
|
name: "info",
|
|
107
92
|
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>',
|
|
108
93
|
keywords: ["info"],
|
|
109
94
|
category: "status"
|
|
110
|
-
},
|
|
95
|
+
}, te = {
|
|
111
96
|
name: "offering",
|
|
112
97
|
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>',
|
|
113
98
|
keywords: ["offering"],
|
|
114
99
|
category: "other"
|
|
115
|
-
},
|
|
100
|
+
}, ae = {
|
|
116
101
|
name: "question",
|
|
117
102
|
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>',
|
|
118
103
|
keywords: ["question"],
|
|
119
104
|
category: "status"
|
|
120
|
-
},
|
|
105
|
+
}, ie = {
|
|
121
106
|
name: "tag",
|
|
122
107
|
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>',
|
|
123
108
|
keywords: ["tag"],
|
|
124
109
|
category: "other"
|
|
125
110
|
};
|
|
126
|
-
function
|
|
111
|
+
function ne(e) {
|
|
127
112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
128
113
|
}
|
|
129
|
-
var
|
|
114
|
+
var er = { exports: {} };
|
|
130
115
|
/*!
|
|
131
116
|
Copyright (c) 2018 Jed Watson.
|
|
132
117
|
Licensed under the MIT License (MIT), see
|
|
133
118
|
http://jedwatson.github.io/classnames
|
|
134
119
|
*/
|
|
135
|
-
var
|
|
136
|
-
function
|
|
137
|
-
return
|
|
120
|
+
var tr;
|
|
121
|
+
function oe() {
|
|
122
|
+
return tr || (tr = 1, function(e) {
|
|
138
123
|
(function() {
|
|
139
124
|
var n = {}.hasOwnProperty;
|
|
140
125
|
function a() {
|
|
@@ -163,10 +148,10 @@ function le() {
|
|
|
163
148
|
}
|
|
164
149
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
165
150
|
})();
|
|
166
|
-
}(
|
|
151
|
+
}(er)), er.exports;
|
|
167
152
|
}
|
|
168
|
-
var
|
|
169
|
-
const
|
|
153
|
+
var pe = oe();
|
|
154
|
+
const ar = /* @__PURE__ */ ne(pe), R = {
|
|
170
155
|
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
171
156
|
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
172
157
|
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
@@ -178,7 +163,7 @@ const or = /* @__PURE__ */ ue(se), D = {
|
|
|
178
163
|
"purpur-badge--warning": "_purpur-badge--warning_1mlzj_41",
|
|
179
164
|
"purpur-badge--error": "_purpur-badge--error_1mlzj_45",
|
|
180
165
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1mlzj_49"
|
|
181
|
-
},
|
|
166
|
+
}, L = "purpur-badge", g = {
|
|
182
167
|
ATTENTION: "attention",
|
|
183
168
|
BLACK_FRIDAY: "black-friday",
|
|
184
169
|
ERROR: "error",
|
|
@@ -188,29 +173,29 @@ const or = /* @__PURE__ */ ue(se), D = {
|
|
|
188
173
|
SPECIAL: "special",
|
|
189
174
|
SUCCESS: "success",
|
|
190
175
|
WARNING: "warning"
|
|
191
|
-
},
|
|
176
|
+
}, ue = (e) => {
|
|
192
177
|
switch (e) {
|
|
193
178
|
case g.ATTENTION:
|
|
194
179
|
case g.SPECIAL:
|
|
195
|
-
return
|
|
180
|
+
return te;
|
|
196
181
|
case g.INFORMATION:
|
|
197
|
-
return
|
|
182
|
+
return ee;
|
|
198
183
|
case g.GENERAL:
|
|
199
|
-
return
|
|
184
|
+
return Xr;
|
|
200
185
|
case g.SUCCESS:
|
|
201
|
-
return
|
|
186
|
+
return Qr;
|
|
202
187
|
case g.WARNING:
|
|
203
|
-
return
|
|
188
|
+
return Jr;
|
|
204
189
|
case g.ERROR:
|
|
205
|
-
return
|
|
190
|
+
return re;
|
|
206
191
|
case g.NEUTRAL:
|
|
207
|
-
return
|
|
192
|
+
return ae;
|
|
208
193
|
case g.BLACK_FRIDAY:
|
|
209
|
-
return
|
|
194
|
+
return ie;
|
|
210
195
|
default:
|
|
211
196
|
return;
|
|
212
197
|
}
|
|
213
|
-
},
|
|
198
|
+
}, le = ({
|
|
214
199
|
children: e,
|
|
215
200
|
showIcon: n = !0,
|
|
216
201
|
iconAllyTitle: a,
|
|
@@ -219,33 +204,33 @@ const or = /* @__PURE__ */ ue(se), D = {
|
|
|
219
204
|
className: r = "",
|
|
220
205
|
...t
|
|
221
206
|
}) => {
|
|
222
|
-
const i =
|
|
223
|
-
return /* @__PURE__ */ c("span", { className:
|
|
207
|
+
const i = ue(o), s = ar([r, R[L], R[`${L}--${o}`]]);
|
|
208
|
+
return /* @__PURE__ */ c("span", { className: s, "data-testid": p, ...t, children: [
|
|
224
209
|
n && i && /* @__PURE__ */ u(
|
|
225
|
-
|
|
210
|
+
Nr,
|
|
226
211
|
{
|
|
227
212
|
"data-testid": `${p}-icon`,
|
|
228
213
|
allyTitle: a,
|
|
229
214
|
size: "xs",
|
|
230
215
|
svg: i,
|
|
231
|
-
className:
|
|
216
|
+
className: ar(R[`${L}__icon`])
|
|
232
217
|
}
|
|
233
218
|
),
|
|
234
219
|
e
|
|
235
220
|
] });
|
|
236
221
|
};
|
|
237
|
-
function
|
|
222
|
+
function se(e) {
|
|
238
223
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
239
224
|
}
|
|
240
|
-
var
|
|
225
|
+
var ir = { exports: {} };
|
|
241
226
|
/*!
|
|
242
227
|
Copyright (c) 2018 Jed Watson.
|
|
243
228
|
Licensed under the MIT License (MIT), see
|
|
244
229
|
http://jedwatson.github.io/classnames
|
|
245
230
|
*/
|
|
246
|
-
var
|
|
247
|
-
function
|
|
248
|
-
return
|
|
231
|
+
var nr;
|
|
232
|
+
function de() {
|
|
233
|
+
return nr || (nr = 1, function(e) {
|
|
249
234
|
(function() {
|
|
250
235
|
var n = {}.hasOwnProperty;
|
|
251
236
|
function a() {
|
|
@@ -274,26 +259,26 @@ function fe() {
|
|
|
274
259
|
}
|
|
275
260
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
276
261
|
})();
|
|
277
|
-
}(
|
|
262
|
+
}(ir)), ir.exports;
|
|
278
263
|
}
|
|
279
|
-
var
|
|
280
|
-
const _ = /* @__PURE__ */
|
|
264
|
+
var ce = de();
|
|
265
|
+
const _ = /* @__PURE__ */ se(ce), _e = {
|
|
281
266
|
"purpur-card__container": "_purpur-card__container_fwz6v_1",
|
|
282
267
|
"purpur-card__container--full-height": "_purpur-card__container--full-height_fwz6v_4",
|
|
283
268
|
"purpur-card": "_purpur-card_fwz6v_1"
|
|
284
269
|
};
|
|
285
|
-
function
|
|
270
|
+
function fe(e) {
|
|
286
271
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
287
272
|
}
|
|
288
|
-
var
|
|
273
|
+
var or = { exports: {} };
|
|
289
274
|
/*!
|
|
290
275
|
Copyright (c) 2018 Jed Watson.
|
|
291
276
|
Licensed under the MIT License (MIT), see
|
|
292
277
|
http://jedwatson.github.io/classnames
|
|
293
278
|
*/
|
|
294
|
-
var
|
|
295
|
-
function
|
|
296
|
-
return
|
|
279
|
+
var pr;
|
|
280
|
+
function he() {
|
|
281
|
+
return pr || (pr = 1, function(e) {
|
|
297
282
|
(function() {
|
|
298
283
|
var n = {}.hasOwnProperty;
|
|
299
284
|
function a() {
|
|
@@ -322,10 +307,10 @@ function ve() {
|
|
|
322
307
|
}
|
|
323
308
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
324
309
|
})();
|
|
325
|
-
}(
|
|
310
|
+
}(or)), or.exports;
|
|
326
311
|
}
|
|
327
|
-
var
|
|
328
|
-
const
|
|
312
|
+
var ge = he();
|
|
313
|
+
const me = /* @__PURE__ */ fe(ge), ve = {
|
|
329
314
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
330
315
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
331
316
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -333,90 +318,75 @@ const we = /* @__PURE__ */ me(ye), xe = {
|
|
|
333
318
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
334
319
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
335
320
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
336
|
-
},
|
|
321
|
+
}, ye = me.bind(ve), ur = "purpur-icon", we = "md", xe = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), be = ({ content: e = "", title: n } = {}) => {
|
|
337
322
|
const a = [
|
|
338
323
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
339
324
|
{ name: "fill", value: "currentColor" },
|
|
340
325
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
341
326
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
342
327
|
], o = n ? `<title>${n}</title>` : "";
|
|
343
|
-
return `<svg ${
|
|
344
|
-
},
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
...r
|
|
351
|
-
}) => {
|
|
352
|
-
const t = $e({
|
|
353
|
-
content: Ae(n.svg),
|
|
354
|
-
title: a
|
|
355
|
-
}), i = be(o, dr, `${dr}--${p}`);
|
|
356
|
-
return /* @__PURE__ */ u(
|
|
357
|
-
"span",
|
|
358
|
-
{
|
|
359
|
-
className: i,
|
|
360
|
-
"data-testid": e,
|
|
361
|
-
dangerouslySetInnerHTML: { __html: t },
|
|
362
|
-
...r
|
|
363
|
-
}
|
|
364
|
-
);
|
|
328
|
+
return `<svg ${xe(a)}>${o}${e}</svg>`;
|
|
329
|
+
}, Ce = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Or = ({ svg: e, allyTitle: n, className: a, size: o = we, ...p }) => {
|
|
330
|
+
const r = be({
|
|
331
|
+
content: Ce(e.svg),
|
|
332
|
+
title: n
|
|
333
|
+
}), t = ye(a, ur, `${ur}--${o}`);
|
|
334
|
+
return /* @__PURE__ */ u("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
365
335
|
};
|
|
366
|
-
|
|
367
|
-
const
|
|
336
|
+
Or.displayName = "Icon";
|
|
337
|
+
const Se = {
|
|
368
338
|
name: "alert",
|
|
369
339
|
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>',
|
|
370
340
|
keywords: ["alert"],
|
|
371
341
|
category: "status"
|
|
372
|
-
},
|
|
342
|
+
}, $e = {
|
|
373
343
|
name: "check-circle",
|
|
374
344
|
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>',
|
|
375
345
|
keywords: ["check-circle"],
|
|
376
346
|
category: "status"
|
|
377
|
-
},
|
|
347
|
+
}, Ae = {
|
|
378
348
|
name: "devices",
|
|
379
349
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10 3.4a.1.1 0 0 0-.1.1V4a.9.9 0 0 1-1.8 0v-.5c0-1.05.85-1.9 1.9-1.9h10c1.05 0 1.9.85 1.9 1.9v15a1.9 1.9 0 0 1-1.9 1.9h-6a.9.9 0 1 1 0-1.8h6a.1.1 0 0 0 .1-.1v-15a.1.1 0 0 0-.1-.1H10ZM2.1 8c0-1.05.85-1.9 1.9-1.9h6c1.05 0 1.9.85 1.9 1.9v12a1.9 1.9 0 0 1-1.9 1.9H4A1.9 1.9 0 0 1 2.1 20V8ZM4 7.9a.1.1 0 0 0-.1.1v12a.1.1 0 0 0 .1.1h6a.1.1 0 0 0 .1-.1V8a.1.1 0 0 0-.1-.1H4ZM14.6 17a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8h-.5a.9.9 0 0 1-.9-.9Zm-8.5 1.5a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8H7a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"/></svg>',
|
|
380
350
|
keywords: ["devices"],
|
|
381
351
|
category: "device"
|
|
382
|
-
},
|
|
352
|
+
}, Fe = {
|
|
383
353
|
name: "error",
|
|
384
354
|
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>',
|
|
385
355
|
keywords: ["error"],
|
|
386
356
|
category: "status"
|
|
387
|
-
},
|
|
357
|
+
}, Be = {
|
|
388
358
|
name: "info",
|
|
389
359
|
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>',
|
|
390
360
|
keywords: ["info"],
|
|
391
361
|
category: "status"
|
|
392
|
-
},
|
|
362
|
+
}, ke = {
|
|
393
363
|
name: "offering",
|
|
394
364
|
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>',
|
|
395
365
|
keywords: ["offering"],
|
|
396
366
|
category: "other"
|
|
397
|
-
},
|
|
367
|
+
}, Ne = {
|
|
398
368
|
name: "question",
|
|
399
369
|
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>',
|
|
400
370
|
keywords: ["question"],
|
|
401
371
|
category: "status"
|
|
402
|
-
},
|
|
372
|
+
}, Oe = {
|
|
403
373
|
name: "tag",
|
|
404
374
|
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>',
|
|
405
375
|
keywords: ["tag"],
|
|
406
376
|
category: "other"
|
|
407
377
|
};
|
|
408
|
-
function
|
|
378
|
+
function Me(e) {
|
|
409
379
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
410
380
|
}
|
|
411
|
-
var
|
|
381
|
+
var lr = { exports: {} };
|
|
412
382
|
/*!
|
|
413
383
|
Copyright (c) 2018 Jed Watson.
|
|
414
384
|
Licensed under the MIT License (MIT), see
|
|
415
385
|
http://jedwatson.github.io/classnames
|
|
416
386
|
*/
|
|
417
|
-
var
|
|
418
|
-
function
|
|
419
|
-
return
|
|
387
|
+
var sr;
|
|
388
|
+
function Ge() {
|
|
389
|
+
return sr || (sr = 1, function(e) {
|
|
420
390
|
(function() {
|
|
421
391
|
var n = {}.hasOwnProperty;
|
|
422
392
|
function a() {
|
|
@@ -445,10 +415,10 @@ function Ee() {
|
|
|
445
415
|
}
|
|
446
416
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
447
417
|
})();
|
|
448
|
-
}(
|
|
418
|
+
}(lr)), lr.exports;
|
|
449
419
|
}
|
|
450
|
-
var
|
|
451
|
-
const
|
|
420
|
+
var je = Ge();
|
|
421
|
+
const dr = /* @__PURE__ */ Me(je), D = {
|
|
452
422
|
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
453
423
|
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
454
424
|
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
@@ -460,7 +430,7 @@ const fr = /* @__PURE__ */ Ze(Ue), T = {
|
|
|
460
430
|
"purpur-badge--warning": "_purpur-badge--warning_1mlzj_41",
|
|
461
431
|
"purpur-badge--error": "_purpur-badge--error_1mlzj_45",
|
|
462
432
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1mlzj_49"
|
|
463
|
-
},
|
|
433
|
+
}, P = "purpur-badge", m = {
|
|
464
434
|
ATTENTION: "attention",
|
|
465
435
|
BLACK_FRIDAY: "black-friday",
|
|
466
436
|
ERROR: "error",
|
|
@@ -470,29 +440,29 @@ const fr = /* @__PURE__ */ Ze(Ue), T = {
|
|
|
470
440
|
SPECIAL: "special",
|
|
471
441
|
SUCCESS: "success",
|
|
472
442
|
WARNING: "warning"
|
|
473
|
-
},
|
|
443
|
+
}, Ze = (e) => {
|
|
474
444
|
switch (e) {
|
|
475
445
|
case m.ATTENTION:
|
|
476
446
|
case m.SPECIAL:
|
|
477
|
-
return
|
|
447
|
+
return ke;
|
|
478
448
|
case m.INFORMATION:
|
|
479
|
-
return
|
|
449
|
+
return Be;
|
|
480
450
|
case m.GENERAL:
|
|
481
|
-
return
|
|
451
|
+
return Ae;
|
|
482
452
|
case m.SUCCESS:
|
|
483
|
-
return
|
|
453
|
+
return $e;
|
|
484
454
|
case m.WARNING:
|
|
485
|
-
return
|
|
455
|
+
return Se;
|
|
486
456
|
case m.ERROR:
|
|
487
|
-
return
|
|
457
|
+
return Fe;
|
|
488
458
|
case m.NEUTRAL:
|
|
489
|
-
return
|
|
459
|
+
return Ne;
|
|
490
460
|
case m.BLACK_FRIDAY:
|
|
491
|
-
return
|
|
461
|
+
return Oe;
|
|
492
462
|
default:
|
|
493
463
|
return;
|
|
494
464
|
}
|
|
495
|
-
},
|
|
465
|
+
}, Ee = ({
|
|
496
466
|
children: e,
|
|
497
467
|
showIcon: n = !0,
|
|
498
468
|
iconAllyTitle: a,
|
|
@@ -501,50 +471,50 @@ const fr = /* @__PURE__ */ Ze(Ue), T = {
|
|
|
501
471
|
className: r = "",
|
|
502
472
|
...t
|
|
503
473
|
}) => {
|
|
504
|
-
const i =
|
|
505
|
-
return /* @__PURE__ */ c("span", { className:
|
|
474
|
+
const i = Ze(o), s = dr([r, D[P], D[`${P}--${o}`]]);
|
|
475
|
+
return /* @__PURE__ */ c("span", { className: s, "data-testid": p, ...t, children: [
|
|
506
476
|
n && i && /* @__PURE__ */ u(
|
|
507
|
-
|
|
477
|
+
Or,
|
|
508
478
|
{
|
|
509
479
|
"data-testid": `${p}-icon`,
|
|
510
480
|
allyTitle: a,
|
|
511
481
|
size: "xs",
|
|
512
482
|
svg: i,
|
|
513
|
-
className:
|
|
483
|
+
className: dr(D[`${P}__icon`])
|
|
514
484
|
}
|
|
515
485
|
),
|
|
516
486
|
e
|
|
517
487
|
] });
|
|
518
|
-
},
|
|
488
|
+
}, Ue = {
|
|
519
489
|
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
520
|
-
},
|
|
490
|
+
}, Ie = _.bind(Ue), qe = "purpur-card-badge", ze = ({
|
|
521
491
|
["data-testid"]: e = "purpur-card-badge",
|
|
522
492
|
variant: n,
|
|
523
493
|
text: a
|
|
524
494
|
}) => n && a ? /* @__PURE__ */ u(
|
|
525
|
-
|
|
495
|
+
Ee,
|
|
526
496
|
{
|
|
527
|
-
className:
|
|
497
|
+
className: Ie(qe),
|
|
528
498
|
variant: n,
|
|
529
499
|
showIcon: !1,
|
|
530
500
|
"data-testid": e,
|
|
531
501
|
children: a
|
|
532
502
|
}
|
|
533
|
-
) : null,
|
|
503
|
+
) : null, Re = {
|
|
534
504
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
535
|
-
},
|
|
505
|
+
}, Le = _.bind(Re), De = "purpur-card-content", Pe = ({
|
|
536
506
|
["data-testid"]: e = "purpur-card-content",
|
|
537
507
|
children: n,
|
|
538
508
|
className: a,
|
|
539
509
|
...o
|
|
540
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
510
|
+
}) => /* @__PURE__ */ u("div", { className: Le(De, a), "data-testid": e, ...o, children: n }), He = {
|
|
541
511
|
"purpur-card-content-container": "_purpur-card-content-container_5c1mb_1",
|
|
542
512
|
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-height_5c1mb_6",
|
|
543
513
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_5c1mb_14",
|
|
544
514
|
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_5c1mb_22",
|
|
545
515
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_5c1mb_25",
|
|
546
516
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_5c1mb_28"
|
|
547
|
-
},
|
|
517
|
+
}, Te = _.bind(He), O = "purpur-card-content-container", Ve = ({
|
|
548
518
|
["data-testid"]: e = "purpur-card-content-container",
|
|
549
519
|
children: n,
|
|
550
520
|
className: a,
|
|
@@ -555,13 +525,13 @@ const fr = /* @__PURE__ */ Ze(Ue), T = {
|
|
|
555
525
|
}) => /* @__PURE__ */ u(
|
|
556
526
|
"div",
|
|
557
527
|
{
|
|
558
|
-
className:
|
|
559
|
-
|
|
528
|
+
className: Te([
|
|
529
|
+
O,
|
|
560
530
|
a,
|
|
561
|
-
`${
|
|
531
|
+
`${O}--gap-size--${r}`,
|
|
562
532
|
{
|
|
563
|
-
[`${
|
|
564
|
-
[`${
|
|
533
|
+
[`${O}--full-height`]: p,
|
|
534
|
+
[`${O}--footer`]: o
|
|
565
535
|
}
|
|
566
536
|
]),
|
|
567
537
|
"data-testid": e,
|
|
@@ -569,39 +539,39 @@ const fr = /* @__PURE__ */ Ze(Ue), T = {
|
|
|
569
539
|
children: n
|
|
570
540
|
}
|
|
571
541
|
);
|
|
572
|
-
function
|
|
542
|
+
function We(e) {
|
|
573
543
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
544
|
}
|
|
575
|
-
var
|
|
545
|
+
var cr = { exports: {} };
|
|
576
546
|
/*!
|
|
577
547
|
Copyright (c) 2018 Jed Watson.
|
|
578
548
|
Licensed under the MIT License (MIT), see
|
|
579
549
|
http://jedwatson.github.io/classnames
|
|
580
550
|
*/
|
|
581
|
-
var
|
|
582
|
-
function
|
|
583
|
-
return
|
|
551
|
+
var _r;
|
|
552
|
+
function Ke() {
|
|
553
|
+
return _r || (_r = 1, function(e) {
|
|
584
554
|
(function() {
|
|
585
555
|
var n = {}.hasOwnProperty;
|
|
586
556
|
function a() {
|
|
587
557
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
588
558
|
var i = arguments[t];
|
|
589
|
-
i && (r = p(r, o(i)));
|
|
559
|
+
i && (r = p(r, o.call(this, i)));
|
|
590
560
|
}
|
|
591
561
|
return r;
|
|
592
562
|
}
|
|
593
563
|
function o(r) {
|
|
594
564
|
if (typeof r == "string" || typeof r == "number")
|
|
595
|
-
return r;
|
|
565
|
+
return this && this[r] || r;
|
|
596
566
|
if (typeof r != "object")
|
|
597
567
|
return "";
|
|
598
568
|
if (Array.isArray(r))
|
|
599
|
-
return a.apply(
|
|
569
|
+
return a.apply(this, r);
|
|
600
570
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
601
571
|
return r.toString();
|
|
602
572
|
var t = "";
|
|
603
573
|
for (var i in r)
|
|
604
|
-
n.call(r, i) && r[i] && (t = p(t, i));
|
|
574
|
+
n.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
|
|
605
575
|
return t;
|
|
606
576
|
}
|
|
607
577
|
function p(r, t) {
|
|
@@ -609,49 +579,40 @@ function Qe() {
|
|
|
609
579
|
}
|
|
610
580
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
611
581
|
})();
|
|
612
|
-
}(
|
|
582
|
+
}(cr)), cr.exports;
|
|
613
583
|
}
|
|
614
|
-
var
|
|
615
|
-
const
|
|
584
|
+
var Ye = Ke();
|
|
585
|
+
const Je = /* @__PURE__ */ We(Ye), Qe = "_rotate_12t9p_1", Xe = "_dash_12t9p_1", rt = {
|
|
616
586
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
617
|
-
rotate:
|
|
587
|
+
rotate: Qe,
|
|
618
588
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
619
589
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
620
590
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
621
591
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
622
592
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
623
593
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
624
|
-
dash:
|
|
594
|
+
dash: Xe,
|
|
625
595
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
626
596
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
627
|
-
},
|
|
597
|
+
}, fr = Je.bind(rt), $ = "purpur-spinner", et = {
|
|
628
598
|
SM: "sm"
|
|
629
|
-
},
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
"div",
|
|
599
|
+
}, tt = ({
|
|
600
|
+
disabled: e = !1,
|
|
601
|
+
negative: n = !1,
|
|
602
|
+
size: a = et.SM,
|
|
603
|
+
...o
|
|
604
|
+
}) => /* @__PURE__ */ u("div", { className: fr($, `${$}--${a}`), ...o, children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
605
|
+
"circle",
|
|
637
606
|
{
|
|
638
|
-
className:
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
[$[`${A}__circle--disabled`]]: n,
|
|
646
|
-
[$[`${A}__circle--negative`]]: a
|
|
647
|
-
}),
|
|
648
|
-
cx: "25",
|
|
649
|
-
cy: "25",
|
|
650
|
-
r: "20"
|
|
651
|
-
}
|
|
652
|
-
) })
|
|
607
|
+
className: fr(`${$}__circle`, {
|
|
608
|
+
[`${$}__circle--disabled`]: e,
|
|
609
|
+
[`${$}__circle--negative`]: n
|
|
610
|
+
}),
|
|
611
|
+
cx: "25",
|
|
612
|
+
cy: "25",
|
|
613
|
+
r: "20"
|
|
653
614
|
}
|
|
654
|
-
),
|
|
615
|
+
) }) }), at = {
|
|
655
616
|
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1wc0z_1",
|
|
656
617
|
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1wc0z_33",
|
|
657
618
|
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1wc0z_36",
|
|
@@ -670,7 +631,7 @@ const mr = /* @__PURE__ */ Je(Xe), rt = "_rotate_12t9p_1", et = "_dash_12t9p_1",
|
|
|
670
631
|
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1wc0z_131",
|
|
671
632
|
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1wc0z_131",
|
|
672
633
|
"purpur-card-cta--text": "_purpur-card-cta--text_1wc0z_139"
|
|
673
|
-
},
|
|
634
|
+
}, it = _.bind(at), v = "purpur-card-cta", nt = ({
|
|
674
635
|
["data-testid"]: e = "purpur-card-cta",
|
|
675
636
|
className: n,
|
|
676
637
|
children: a,
|
|
@@ -679,11 +640,11 @@ const mr = /* @__PURE__ */ Je(Xe), rt = "_rotate_12t9p_1", et = "_dash_12t9p_1",
|
|
|
679
640
|
loading: r = !1,
|
|
680
641
|
text: t,
|
|
681
642
|
linkStyling: i = !1,
|
|
682
|
-
...
|
|
643
|
+
...s
|
|
683
644
|
}) => /* @__PURE__ */ u(
|
|
684
645
|
"div",
|
|
685
646
|
{
|
|
686
|
-
className: `${
|
|
647
|
+
className: `${it([
|
|
687
648
|
v,
|
|
688
649
|
n,
|
|
689
650
|
{
|
|
@@ -697,26 +658,26 @@ const mr = /* @__PURE__ */ Je(Xe), rt = "_rotate_12t9p_1", et = "_dash_12t9p_1",
|
|
|
697
658
|
}
|
|
698
659
|
])} ${v}`,
|
|
699
660
|
"data-testid": e,
|
|
700
|
-
...
|
|
701
|
-
children: r ? /* @__PURE__ */ u(
|
|
661
|
+
...s,
|
|
662
|
+
children: r ? /* @__PURE__ */ u(tt, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ c(zr, { children: [
|
|
702
663
|
p === "left" && a,
|
|
703
664
|
t,
|
|
704
665
|
p === "right" && a
|
|
705
666
|
] })
|
|
706
667
|
}
|
|
707
668
|
);
|
|
708
|
-
function
|
|
669
|
+
function ot(e) {
|
|
709
670
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
710
671
|
}
|
|
711
|
-
var
|
|
672
|
+
var hr = { exports: {} };
|
|
712
673
|
/*!
|
|
713
674
|
Copyright (c) 2018 Jed Watson.
|
|
714
675
|
Licensed under the MIT License (MIT), see
|
|
715
676
|
http://jedwatson.github.io/classnames
|
|
716
677
|
*/
|
|
717
|
-
var
|
|
718
|
-
function
|
|
719
|
-
return
|
|
678
|
+
var gr;
|
|
679
|
+
function pt() {
|
|
680
|
+
return gr || (gr = 1, function(e) {
|
|
720
681
|
(function() {
|
|
721
682
|
var n = {}.hasOwnProperty;
|
|
722
683
|
function a() {
|
|
@@ -745,10 +706,10 @@ function ut() {
|
|
|
745
706
|
}
|
|
746
707
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
747
708
|
})();
|
|
748
|
-
}(
|
|
709
|
+
}(hr)), hr.exports;
|
|
749
710
|
}
|
|
750
|
-
var
|
|
751
|
-
const
|
|
711
|
+
var ut = pt();
|
|
712
|
+
const lt = /* @__PURE__ */ ot(ut), st = {
|
|
752
713
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
753
714
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
754
715
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -756,77 +717,62 @@ const st = /* @__PURE__ */ pt(lt), dt = {
|
|
|
756
717
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
757
718
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
758
719
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
759
|
-
},
|
|
720
|
+
}, dt = lt.bind(st), mr = "purpur-icon", ct = "md", _t = (e) => e.filter((n) => Object.keys(n).length >= 1).map((n) => `${n.name}="${n.value}"`).join(" "), ft = ({ content: e = "", title: n } = {}) => {
|
|
760
721
|
const a = [
|
|
761
722
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
762
723
|
{ name: "fill", value: "currentColor" },
|
|
763
724
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
764
725
|
n ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
765
726
|
], o = n ? `<title>${n}</title>` : "";
|
|
766
|
-
return `<svg ${
|
|
767
|
-
},
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
...r
|
|
774
|
-
}) => {
|
|
775
|
-
const t = ht({
|
|
776
|
-
content: gt(n.svg),
|
|
777
|
-
title: a
|
|
778
|
-
}), i = ct(o, wr, `${wr}--${p}`);
|
|
779
|
-
return /* @__PURE__ */ u(
|
|
780
|
-
"span",
|
|
781
|
-
{
|
|
782
|
-
className: i,
|
|
783
|
-
"data-testid": e,
|
|
784
|
-
dangerouslySetInnerHTML: { __html: t },
|
|
785
|
-
...r
|
|
786
|
-
}
|
|
787
|
-
);
|
|
727
|
+
return `<svg ${_t(a)}>${o}${e}</svg>`;
|
|
728
|
+
}, ht = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Mr = ({ svg: e, allyTitle: n, className: a, size: o = ct, ...p }) => {
|
|
729
|
+
const r = ft({
|
|
730
|
+
content: ht(e.svg),
|
|
731
|
+
title: n
|
|
732
|
+
}), t = dt(a, mr, `${mr}--${o}`);
|
|
733
|
+
return /* @__PURE__ */ u("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
788
734
|
};
|
|
789
|
-
|
|
790
|
-
const
|
|
735
|
+
Mr.displayName = "Icon";
|
|
736
|
+
const gt = {
|
|
791
737
|
name: "checkmark",
|
|
792
738
|
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>',
|
|
793
739
|
keywords: ["checkmark"],
|
|
794
740
|
category: "utility"
|
|
795
|
-
},
|
|
796
|
-
|
|
797
|
-
function
|
|
741
|
+
}, Gr = (e) => /* @__PURE__ */ u(Mr, { ...e, svg: gt });
|
|
742
|
+
Gr.displayName = "IconCheckmark";
|
|
743
|
+
function mt(e) {
|
|
798
744
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
799
745
|
}
|
|
800
|
-
var
|
|
746
|
+
var vr = { exports: {} };
|
|
801
747
|
/*!
|
|
802
748
|
Copyright (c) 2018 Jed Watson.
|
|
803
749
|
Licensed under the MIT License (MIT), see
|
|
804
750
|
http://jedwatson.github.io/classnames
|
|
805
751
|
*/
|
|
806
|
-
var
|
|
807
|
-
function
|
|
808
|
-
return
|
|
752
|
+
var yr;
|
|
753
|
+
function vt() {
|
|
754
|
+
return yr || (yr = 1, function(e) {
|
|
809
755
|
(function() {
|
|
810
756
|
var n = {}.hasOwnProperty;
|
|
811
757
|
function a() {
|
|
812
758
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
813
759
|
var i = arguments[t];
|
|
814
|
-
i && (r = p(r, o(i)));
|
|
760
|
+
i && (r = p(r, o.call(this, i)));
|
|
815
761
|
}
|
|
816
762
|
return r;
|
|
817
763
|
}
|
|
818
764
|
function o(r) {
|
|
819
765
|
if (typeof r == "string" || typeof r == "number")
|
|
820
|
-
return r;
|
|
766
|
+
return this && this[r] || r;
|
|
821
767
|
if (typeof r != "object")
|
|
822
768
|
return "";
|
|
823
769
|
if (Array.isArray(r))
|
|
824
|
-
return a.apply(
|
|
770
|
+
return a.apply(this, r);
|
|
825
771
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
826
772
|
return r.toString();
|
|
827
773
|
var t = "";
|
|
828
774
|
for (var i in r)
|
|
829
|
-
n.call(r, i) && r[i] && (t = p(t, i));
|
|
775
|
+
n.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
|
|
830
776
|
return t;
|
|
831
777
|
}
|
|
832
778
|
function p(r, t) {
|
|
@@ -834,10 +780,10 @@ function yt() {
|
|
|
834
780
|
}
|
|
835
781
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
836
782
|
})();
|
|
837
|
-
}(
|
|
783
|
+
}(vr)), vr.exports;
|
|
838
784
|
}
|
|
839
|
-
var
|
|
840
|
-
const
|
|
785
|
+
var yt = vt();
|
|
786
|
+
const wt = /* @__PURE__ */ mt(yt), xt = {
|
|
841
787
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
842
788
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
843
789
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -852,62 +798,56 @@ const xt = /* @__PURE__ */ vt(wt), F = {
|
|
|
852
798
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
853
799
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
854
800
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
855
|
-
}, bt = {
|
|
801
|
+
}, bt = wt.bind(xt), Ct = {
|
|
856
802
|
PARAGRAPH100: "paragraph-100"
|
|
857
|
-
},
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
...i
|
|
803
|
+
}, A = "purpur-paragraph", J = ({
|
|
804
|
+
children: e,
|
|
805
|
+
className: n,
|
|
806
|
+
disabled: a,
|
|
807
|
+
enableHyphenation: o = !1,
|
|
808
|
+
negative: p = !1,
|
|
809
|
+
variant: r = Ct.PARAGRAPH100,
|
|
810
|
+
...t
|
|
866
811
|
}) => {
|
|
867
|
-
const
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
[F[`${B}--disabled`]]: o,
|
|
874
|
-
[F[`${B}--negative`]]: r
|
|
875
|
-
}
|
|
876
|
-
]);
|
|
877
|
-
return /* @__PURE__ */ u("p", { ...i, className: l, "data-testid": e, children: n });
|
|
812
|
+
const i = bt(n, A, `${A}--${r}`, {
|
|
813
|
+
[`${A}--hyphens`]: o,
|
|
814
|
+
[`${A}--disabled`]: a,
|
|
815
|
+
[`${A}--negative`]: p
|
|
816
|
+
});
|
|
817
|
+
return /* @__PURE__ */ u("p", { ...t, className: i, children: e });
|
|
878
818
|
};
|
|
879
|
-
|
|
880
|
-
const
|
|
819
|
+
J.displayName = "Paragraph";
|
|
820
|
+
const St = {
|
|
881
821
|
"purpur-card-feature-list": "_purpur-card-feature-list_1hnss_1",
|
|
882
822
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_1hnss_7",
|
|
883
823
|
"purpur-card-feature-list__icon": "_purpur-card-feature-list__icon_1hnss_12"
|
|
884
|
-
},
|
|
824
|
+
}, H = _.bind(St), T = "purpur-card-feature-list", $t = ({
|
|
885
825
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
886
826
|
listItems: n
|
|
887
|
-
}) => n && n.length > 0 ? /* @__PURE__ */ u("ul", { className:
|
|
827
|
+
}) => n && n.length > 0 ? /* @__PURE__ */ u("ul", { className: H(T), "data-testid": e, children: n.map((a) => /* @__PURE__ */ c(
|
|
888
828
|
"li",
|
|
889
829
|
{
|
|
890
|
-
className:
|
|
830
|
+
className: H(`${T}__list-item`),
|
|
891
831
|
"data-testid": `${e}-item`,
|
|
892
832
|
children: [
|
|
893
|
-
/* @__PURE__ */ u(
|
|
894
|
-
/* @__PURE__ */ u(
|
|
833
|
+
/* @__PURE__ */ u(Gr, { size: "xs", className: H(`${T}__icon`) }),
|
|
834
|
+
/* @__PURE__ */ u(J, { children: a })
|
|
895
835
|
]
|
|
896
836
|
},
|
|
897
837
|
a
|
|
898
838
|
)) }) : null;
|
|
899
|
-
function
|
|
839
|
+
function At(e) {
|
|
900
840
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
901
841
|
}
|
|
902
|
-
var
|
|
842
|
+
var wr = { exports: {} };
|
|
903
843
|
/*!
|
|
904
844
|
Copyright (c) 2018 Jed Watson.
|
|
905
845
|
Licensed under the MIT License (MIT), see
|
|
906
846
|
http://jedwatson.github.io/classnames
|
|
907
847
|
*/
|
|
908
|
-
var
|
|
909
|
-
function
|
|
910
|
-
return
|
|
848
|
+
var xr;
|
|
849
|
+
function Ft() {
|
|
850
|
+
return xr || (xr = 1, function(e) {
|
|
911
851
|
(function() {
|
|
912
852
|
var n = {}.hasOwnProperty;
|
|
913
853
|
function a() {
|
|
@@ -936,10 +876,10 @@ function At() {
|
|
|
936
876
|
}
|
|
937
877
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
938
878
|
})();
|
|
939
|
-
}(
|
|
879
|
+
}(wr)), wr.exports;
|
|
940
880
|
}
|
|
941
|
-
var
|
|
942
|
-
const
|
|
881
|
+
var Bt = Ft();
|
|
882
|
+
const kt = /* @__PURE__ */ At(Bt), M = {
|
|
943
883
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
944
884
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
945
885
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -955,40 +895,40 @@ const Bt = /* @__PURE__ */ $t(Ft), Z = {
|
|
|
955
895
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
956
896
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
957
897
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
958
|
-
},
|
|
898
|
+
}, Nt = {
|
|
959
899
|
TITLE100: "title-100"
|
|
960
|
-
},
|
|
900
|
+
}, G = "purpur-heading", jr = ({
|
|
961
901
|
children: e,
|
|
962
902
|
className: n = "",
|
|
963
903
|
enableHyphenation: a = !1,
|
|
964
904
|
negative: o = !1,
|
|
965
905
|
tag: p,
|
|
966
|
-
variant: r =
|
|
906
|
+
variant: r = Nt.TITLE100,
|
|
967
907
|
...t
|
|
968
908
|
}) => {
|
|
969
|
-
const i = p,
|
|
909
|
+
const i = p, s = kt([
|
|
970
910
|
n,
|
|
971
|
-
|
|
972
|
-
|
|
911
|
+
M[G],
|
|
912
|
+
M[`${G}--${r}`],
|
|
973
913
|
{
|
|
974
|
-
[
|
|
975
|
-
[
|
|
914
|
+
[M[`${G}--hyphens`]]: a,
|
|
915
|
+
[M[`${G}--negative`]]: o
|
|
976
916
|
}
|
|
977
917
|
]);
|
|
978
|
-
return /* @__PURE__ */ u(i, { className:
|
|
918
|
+
return /* @__PURE__ */ u(i, { className: s, ...t, children: e });
|
|
979
919
|
};
|
|
980
|
-
|
|
981
|
-
const
|
|
920
|
+
jr.displayName = "Heading";
|
|
921
|
+
const Ot = {
|
|
982
922
|
"purpur-card-heading": "_purpur-card-heading_j3j6u_1",
|
|
983
923
|
"purpur-card-heading__header": "_purpur-card-heading__header_j3j6u_6",
|
|
984
924
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_j3j6u_11",
|
|
985
925
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_j3j6u_14"
|
|
986
|
-
},
|
|
926
|
+
}, Mt = {
|
|
987
927
|
"purpur-card-trigger-item--link": "_purpur-card-trigger-item--link_t6ena_1",
|
|
988
928
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_t6ena_5",
|
|
989
929
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_t6ena_18",
|
|
990
930
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_t6ena_1"
|
|
991
|
-
},
|
|
931
|
+
}, br = _.bind(Mt), w = "purpur-card-trigger-item", Gt = ({
|
|
992
932
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
993
933
|
["aria-label"]: n,
|
|
994
934
|
disabled: a = !1,
|
|
@@ -999,19 +939,19 @@ const Nt = {
|
|
|
999
939
|
}) => {
|
|
1000
940
|
const i = (x) => {
|
|
1001
941
|
a ? x.preventDefault() : p && p();
|
|
1002
|
-
},
|
|
942
|
+
}, s = `${w} ${a ? `${w}--disabled` : ""}`;
|
|
1003
943
|
return o ? /* @__PURE__ */ u(
|
|
1004
944
|
t,
|
|
1005
945
|
{
|
|
1006
946
|
"aria-disabled": a,
|
|
1007
947
|
"aria-label": n,
|
|
1008
|
-
className: `${
|
|
948
|
+
className: `${br([
|
|
1009
949
|
w,
|
|
1010
950
|
`${w}--link`,
|
|
1011
951
|
{
|
|
1012
952
|
[`${w}--disabled`]: a
|
|
1013
953
|
}
|
|
1014
|
-
])} ${
|
|
954
|
+
])} ${s}`,
|
|
1015
955
|
"data-testid": e,
|
|
1016
956
|
href: a ? void 0 : o,
|
|
1017
957
|
tabIndex: a ? 0 : void 0,
|
|
@@ -1023,20 +963,20 @@ const Nt = {
|
|
|
1023
963
|
{
|
|
1024
964
|
"aria-disabled": a,
|
|
1025
965
|
"aria-label": n,
|
|
1026
|
-
className: `${
|
|
966
|
+
className: `${br([
|
|
1027
967
|
w,
|
|
1028
968
|
`${w}--button`,
|
|
1029
969
|
{
|
|
1030
970
|
[`${w}--disabled`]: a
|
|
1031
971
|
}
|
|
1032
|
-
])} ${
|
|
972
|
+
])} ${s}`,
|
|
1033
973
|
"data-testid": e,
|
|
1034
974
|
type: "button",
|
|
1035
975
|
onClick: i,
|
|
1036
976
|
children: r
|
|
1037
977
|
}
|
|
1038
978
|
);
|
|
1039
|
-
},
|
|
979
|
+
}, j = _.bind(Ot), b = "purpur-card-heading", jt = ({
|
|
1040
980
|
["data-testid"]: e = "purpur-card-heading",
|
|
1041
981
|
["aria-label"]: n,
|
|
1042
982
|
title: a,
|
|
@@ -1045,35 +985,35 @@ const Nt = {
|
|
|
1045
985
|
titleTag: r = "h2",
|
|
1046
986
|
enableHyphenation: t,
|
|
1047
987
|
onClick: i = void 0,
|
|
1048
|
-
href:
|
|
988
|
+
href: s = void 0,
|
|
1049
989
|
disabled: x = !1,
|
|
1050
|
-
linkElement:
|
|
1051
|
-
variant:
|
|
1052
|
-
...
|
|
990
|
+
linkElement: U = "a",
|
|
991
|
+
variant: I = "title-100",
|
|
992
|
+
...q
|
|
1053
993
|
}) => {
|
|
1054
|
-
const
|
|
1055
|
-
[`${b}--is-interactive`]: i ||
|
|
994
|
+
const B = j(b, {
|
|
995
|
+
[`${b}--is-interactive`]: i || s,
|
|
1056
996
|
[`${b}--disabled`]: x
|
|
1057
997
|
});
|
|
1058
|
-
return /* @__PURE__ */ c("div", { className:
|
|
1059
|
-
/* @__PURE__ */ c("div", { className:
|
|
1060
|
-
o && /* @__PURE__ */ u("div", { className:
|
|
998
|
+
return /* @__PURE__ */ c("div", { className: B, "data-testid": e, children: [
|
|
999
|
+
/* @__PURE__ */ c("div", { className: j(`${b}__header`), children: [
|
|
1000
|
+
o && /* @__PURE__ */ u("div", { className: j(`${b}__icon`), children: o }),
|
|
1061
1001
|
/* @__PURE__ */ u(
|
|
1062
|
-
|
|
1002
|
+
jr,
|
|
1063
1003
|
{
|
|
1064
1004
|
tag: r,
|
|
1065
|
-
className:
|
|
1066
|
-
variant:
|
|
1005
|
+
className: j(`${b}__heading`),
|
|
1006
|
+
variant: I,
|
|
1067
1007
|
enableHyphenation: t,
|
|
1068
|
-
...
|
|
1069
|
-
children: i ||
|
|
1070
|
-
|
|
1008
|
+
...q,
|
|
1009
|
+
children: i || s ? /* @__PURE__ */ u(
|
|
1010
|
+
Gt,
|
|
1071
1011
|
{
|
|
1072
1012
|
"aria-label": n,
|
|
1073
1013
|
disabled: x,
|
|
1074
|
-
href:
|
|
1014
|
+
href: s,
|
|
1075
1015
|
onClick: i,
|
|
1076
|
-
linkElement:
|
|
1016
|
+
linkElement: U,
|
|
1077
1017
|
children: a
|
|
1078
1018
|
}
|
|
1079
1019
|
) : a
|
|
@@ -1082,17 +1022,17 @@ const Nt = {
|
|
|
1082
1022
|
] }),
|
|
1083
1023
|
p
|
|
1084
1024
|
] });
|
|
1085
|
-
},
|
|
1025
|
+
}, Zt = {
|
|
1086
1026
|
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1087
|
-
},
|
|
1027
|
+
}, Et = _.bind(Zt), Ut = "purpur-card-media", It = ({
|
|
1088
1028
|
["data-testid"]: e = "purpur-card-media",
|
|
1089
1029
|
className: n,
|
|
1090
1030
|
children: a,
|
|
1091
1031
|
...o
|
|
1092
|
-
}) => /* @__PURE__ */ u("div", { ...o, className:
|
|
1032
|
+
}) => /* @__PURE__ */ u("div", { ...o, className: Et([Ut, n]), "data-testid": e, children: a }), qt = {
|
|
1093
1033
|
"purpur-card-media-layout": "_purpur-card-media-layout_1tkaa_1",
|
|
1094
1034
|
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-top_1tkaa_11"
|
|
1095
|
-
},
|
|
1035
|
+
}, zt = _.bind(qt), Cr = "purpur-card-media-layout", Rt = ({
|
|
1096
1036
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1097
1037
|
className: n,
|
|
1098
1038
|
children: a,
|
|
@@ -1102,21 +1042,21 @@ const Nt = {
|
|
|
1102
1042
|
"div",
|
|
1103
1043
|
{
|
|
1104
1044
|
...p,
|
|
1105
|
-
className:
|
|
1045
|
+
className: zt(Cr, n, { [`${Cr}--image-top`]: o }),
|
|
1106
1046
|
"data-testid": e,
|
|
1107
1047
|
children: a
|
|
1108
1048
|
}
|
|
1109
|
-
),
|
|
1049
|
+
), Lt = {
|
|
1110
1050
|
"purpur-card-overline": "_purpur-card-overline_qhfj0_1"
|
|
1111
|
-
},
|
|
1051
|
+
}, Dt = _.bind(Lt), Pt = "purpur-card-overline", Ht = ({
|
|
1112
1052
|
["data-testid"]: e = "purpur-card-overline",
|
|
1113
1053
|
overline: n
|
|
1114
|
-
}) => n ? /* @__PURE__ */ u(
|
|
1054
|
+
}) => n ? /* @__PURE__ */ u(J, { variant: "overline-100", className: Dt(Pt), "data-testid": e, children: n }) : null, Tt = {
|
|
1115
1055
|
"purpur-card-root": "_purpur-card-root_eupww_1",
|
|
1116
1056
|
"purpur-card-root--primary": "_purpur-card-root--primary_eupww_7",
|
|
1117
1057
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_eupww_10",
|
|
1118
1058
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_eupww_13"
|
|
1119
|
-
},
|
|
1059
|
+
}, Vt = _.bind(Tt), V = "purpur-card-root", Zr = kr(
|
|
1120
1060
|
({
|
|
1121
1061
|
["data-testid"]: e = "purpur-card-root",
|
|
1122
1062
|
children: n,
|
|
@@ -1125,52 +1065,52 @@ const Nt = {
|
|
|
1125
1065
|
variant: p,
|
|
1126
1066
|
...r
|
|
1127
1067
|
}, t) => {
|
|
1128
|
-
const i =
|
|
1129
|
-
|
|
1068
|
+
const i = Vt([
|
|
1069
|
+
V,
|
|
1130
1070
|
a,
|
|
1131
1071
|
{
|
|
1132
|
-
[`${
|
|
1133
|
-
[`${
|
|
1072
|
+
[`${V}--${p}`]: p,
|
|
1073
|
+
[`${V}--full-height`]: o
|
|
1134
1074
|
}
|
|
1135
1075
|
]);
|
|
1136
1076
|
return /* @__PURE__ */ u("div", { className: i, "data-testid": e, ref: t, ...r, children: n });
|
|
1137
1077
|
}
|
|
1138
1078
|
);
|
|
1139
|
-
|
|
1140
|
-
const
|
|
1141
|
-
const o =
|
|
1079
|
+
Zr.displayName = "CardRoot";
|
|
1080
|
+
const W = _.bind(_e), K = "purpur-card", f = ({ children: e, className: n, ...a }) => {
|
|
1081
|
+
const o = W([K, n]);
|
|
1142
1082
|
return /* @__PURE__ */ u(
|
|
1143
1083
|
"div",
|
|
1144
1084
|
{
|
|
1145
|
-
className:
|
|
1146
|
-
[`${
|
|
1085
|
+
className: W(`${K}__container`, {
|
|
1086
|
+
[`${K}__container--full-height`]: a.fullHeight
|
|
1147
1087
|
}),
|
|
1148
|
-
children: /* @__PURE__ */ u(
|
|
1088
|
+
children: /* @__PURE__ */ u(Zr, { className: W(o), ...a, children: e })
|
|
1149
1089
|
}
|
|
1150
1090
|
);
|
|
1151
1091
|
};
|
|
1152
|
-
f.Badge =
|
|
1153
|
-
f.Content =
|
|
1154
|
-
f.ContentContainer =
|
|
1155
|
-
f.Cta =
|
|
1156
|
-
f.FeatureList =
|
|
1157
|
-
f.Overline =
|
|
1158
|
-
f.Heading =
|
|
1159
|
-
f.Media =
|
|
1160
|
-
f.MediaLayout =
|
|
1092
|
+
f.Badge = ze;
|
|
1093
|
+
f.Content = Pe;
|
|
1094
|
+
f.ContentContainer = Ve;
|
|
1095
|
+
f.Cta = nt;
|
|
1096
|
+
f.FeatureList = $t;
|
|
1097
|
+
f.Overline = Ht;
|
|
1098
|
+
f.Heading = jt;
|
|
1099
|
+
f.Media = It;
|
|
1100
|
+
f.MediaLayout = Rt;
|
|
1161
1101
|
f.displayName = "Card";
|
|
1162
|
-
function
|
|
1102
|
+
function Wt(e) {
|
|
1163
1103
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1164
1104
|
}
|
|
1165
|
-
var
|
|
1105
|
+
var Sr = { exports: {} };
|
|
1166
1106
|
/*!
|
|
1167
1107
|
Copyright (c) 2018 Jed Watson.
|
|
1168
1108
|
Licensed under the MIT License (MIT), see
|
|
1169
1109
|
http://jedwatson.github.io/classnames
|
|
1170
1110
|
*/
|
|
1171
|
-
var
|
|
1172
|
-
function
|
|
1173
|
-
return
|
|
1111
|
+
var $r;
|
|
1112
|
+
function Kt() {
|
|
1113
|
+
return $r || ($r = 1, function(e) {
|
|
1174
1114
|
(function() {
|
|
1175
1115
|
var n = {}.hasOwnProperty;
|
|
1176
1116
|
function a() {
|
|
@@ -1199,10 +1139,10 @@ function Wt() {
|
|
|
1199
1139
|
}
|
|
1200
1140
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1201
1141
|
})();
|
|
1202
|
-
}(
|
|
1142
|
+
}(Sr)), Sr.exports;
|
|
1203
1143
|
}
|
|
1204
|
-
var
|
|
1205
|
-
const
|
|
1144
|
+
var Yt = Kt();
|
|
1145
|
+
const Jt = /* @__PURE__ */ Wt(Yt), Z = {
|
|
1206
1146
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1207
1147
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1208
1148
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1218,62 +1158,62 @@ const Yt = /* @__PURE__ */ Vt(Kt), I = {
|
|
|
1218
1158
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1219
1159
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1220
1160
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1221
|
-
},
|
|
1161
|
+
}, Qt = {
|
|
1222
1162
|
TITLE100: "title-100"
|
|
1223
|
-
},
|
|
1163
|
+
}, E = "purpur-heading", Er = ({
|
|
1224
1164
|
children: e,
|
|
1225
1165
|
className: n = "",
|
|
1226
1166
|
enableHyphenation: a = !1,
|
|
1227
1167
|
negative: o = !1,
|
|
1228
1168
|
tag: p,
|
|
1229
|
-
variant: r =
|
|
1169
|
+
variant: r = Qt.TITLE100,
|
|
1230
1170
|
...t
|
|
1231
1171
|
}) => {
|
|
1232
|
-
const i = p,
|
|
1172
|
+
const i = p, s = Jt([
|
|
1233
1173
|
n,
|
|
1234
|
-
|
|
1235
|
-
|
|
1174
|
+
Z[E],
|
|
1175
|
+
Z[`${E}--${r}`],
|
|
1236
1176
|
{
|
|
1237
|
-
[
|
|
1238
|
-
[
|
|
1177
|
+
[Z[`${E}--hyphens`]]: a,
|
|
1178
|
+
[Z[`${E}--negative`]]: o
|
|
1239
1179
|
}
|
|
1240
1180
|
]);
|
|
1241
|
-
return /* @__PURE__ */ u(i, { className:
|
|
1181
|
+
return /* @__PURE__ */ u(i, { className: s, ...t, children: e });
|
|
1242
1182
|
};
|
|
1243
|
-
|
|
1244
|
-
function
|
|
1183
|
+
Er.displayName = "Heading";
|
|
1184
|
+
function Xt(e) {
|
|
1245
1185
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1246
1186
|
}
|
|
1247
|
-
var
|
|
1187
|
+
var Ar = { exports: {} };
|
|
1248
1188
|
/*!
|
|
1249
1189
|
Copyright (c) 2018 Jed Watson.
|
|
1250
1190
|
Licensed under the MIT License (MIT), see
|
|
1251
1191
|
http://jedwatson.github.io/classnames
|
|
1252
1192
|
*/
|
|
1253
|
-
var
|
|
1254
|
-
function
|
|
1255
|
-
return
|
|
1193
|
+
var Fr;
|
|
1194
|
+
function ra() {
|
|
1195
|
+
return Fr || (Fr = 1, function(e) {
|
|
1256
1196
|
(function() {
|
|
1257
1197
|
var n = {}.hasOwnProperty;
|
|
1258
1198
|
function a() {
|
|
1259
1199
|
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
1260
1200
|
var i = arguments[t];
|
|
1261
|
-
i && (r = p(r, o(i)));
|
|
1201
|
+
i && (r = p(r, o.call(this, i)));
|
|
1262
1202
|
}
|
|
1263
1203
|
return r;
|
|
1264
1204
|
}
|
|
1265
1205
|
function o(r) {
|
|
1266
1206
|
if (typeof r == "string" || typeof r == "number")
|
|
1267
|
-
return r;
|
|
1207
|
+
return this && this[r] || r;
|
|
1268
1208
|
if (typeof r != "object")
|
|
1269
1209
|
return "";
|
|
1270
1210
|
if (Array.isArray(r))
|
|
1271
|
-
return a.apply(
|
|
1211
|
+
return a.apply(this, r);
|
|
1272
1212
|
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
1273
1213
|
return r.toString();
|
|
1274
1214
|
var t = "";
|
|
1275
1215
|
for (var i in r)
|
|
1276
|
-
n.call(r, i) && r[i] && (t = p(t, i));
|
|
1216
|
+
n.call(r, i) && r[i] && (t = p(t, this && this[i] || i));
|
|
1277
1217
|
return t;
|
|
1278
1218
|
}
|
|
1279
1219
|
function p(r, t) {
|
|
@@ -1281,10 +1221,10 @@ function Xt() {
|
|
|
1281
1221
|
}
|
|
1282
1222
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1283
1223
|
})();
|
|
1284
|
-
}(
|
|
1224
|
+
}(Ar)), Ar.exports;
|
|
1285
1225
|
}
|
|
1286
|
-
var
|
|
1287
|
-
const
|
|
1226
|
+
var ea = ra();
|
|
1227
|
+
const ta = /* @__PURE__ */ Xt(ea), aa = {
|
|
1288
1228
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1289
1229
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1290
1230
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1299,43 +1239,37 @@ const ea = /* @__PURE__ */ Qt(ra), k = {
|
|
|
1299
1239
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1300
1240
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1301
1241
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1302
|
-
}, ta = {
|
|
1242
|
+
}, ia = ta.bind(aa), na = {
|
|
1303
1243
|
PARAGRAPH100: "paragraph-100"
|
|
1304
|
-
},
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
...i
|
|
1244
|
+
}, F = "purpur-paragraph", Ur = ({
|
|
1245
|
+
children: e,
|
|
1246
|
+
className: n,
|
|
1247
|
+
disabled: a,
|
|
1248
|
+
enableHyphenation: o = !1,
|
|
1249
|
+
negative: p = !1,
|
|
1250
|
+
variant: r = na.PARAGRAPH100,
|
|
1251
|
+
...t
|
|
1313
1252
|
}) => {
|
|
1314
|
-
const
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
[k[`${N}--disabled`]]: o,
|
|
1321
|
-
[k[`${N}--negative`]]: r
|
|
1322
|
-
}
|
|
1323
|
-
]);
|
|
1324
|
-
return /* @__PURE__ */ u("p", { ...i, className: l, "data-testid": e, children: n });
|
|
1253
|
+
const i = ia(n, F, `${F}--${r}`, {
|
|
1254
|
+
[`${F}--hyphens`]: o,
|
|
1255
|
+
[`${F}--disabled`]: a,
|
|
1256
|
+
[`${F}--negative`]: p
|
|
1257
|
+
});
|
|
1258
|
+
return /* @__PURE__ */ u("p", { ...t, className: i, children: e });
|
|
1325
1259
|
};
|
|
1326
|
-
|
|
1327
|
-
function
|
|
1260
|
+
Ur.displayName = "Paragraph";
|
|
1261
|
+
function oa(e) {
|
|
1328
1262
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1329
1263
|
}
|
|
1330
|
-
var
|
|
1264
|
+
var Y = { exports: {} };
|
|
1331
1265
|
/*!
|
|
1332
1266
|
Copyright (c) 2018 Jed Watson.
|
|
1333
1267
|
Licensed under the MIT License (MIT), see
|
|
1334
1268
|
http://jedwatson.github.io/classnames
|
|
1335
1269
|
*/
|
|
1336
|
-
var
|
|
1337
|
-
function
|
|
1338
|
-
return
|
|
1270
|
+
var Br;
|
|
1271
|
+
function pa() {
|
|
1272
|
+
return Br || (Br = 1, function(e) {
|
|
1339
1273
|
(function() {
|
|
1340
1274
|
var n = {}.hasOwnProperty;
|
|
1341
1275
|
function a() {
|
|
@@ -1364,10 +1298,10 @@ function ia() {
|
|
|
1364
1298
|
}
|
|
1365
1299
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1366
1300
|
})();
|
|
1367
|
-
}(
|
|
1301
|
+
}(Y)), Y.exports;
|
|
1368
1302
|
}
|
|
1369
|
-
var
|
|
1370
|
-
const
|
|
1303
|
+
var ua = pa();
|
|
1304
|
+
const la = /* @__PURE__ */ oa(ua), sa = {
|
|
1371
1305
|
"purpur-promotion-card": "_purpur-promotion-card_1ufmj_1",
|
|
1372
1306
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1ufmj_8",
|
|
1373
1307
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_1ufmj_8",
|
|
@@ -1388,151 +1322,142 @@ const oa = /* @__PURE__ */ aa(na), pa = {
|
|
|
1388
1322
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1ufmj_148",
|
|
1389
1323
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1ufmj_151",
|
|
1390
1324
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1ufmj_152"
|
|
1391
|
-
},
|
|
1325
|
+
}, ma = ["primary", "secondary", "quaternary"], da = {
|
|
1392
1326
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1393
1327
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1394
1328
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1395
|
-
},
|
|
1329
|
+
}, ca = {
|
|
1396
1330
|
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>')`,
|
|
1397
1331
|
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>')`,
|
|
1398
1332
|
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>')`
|
|
1399
|
-
},
|
|
1333
|
+
}, _a = {
|
|
1400
1334
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1401
1335
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1402
1336
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1403
|
-
}, d =
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
l,
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
] }) }),
|
|
1470
|
-
/* @__PURE__ */ c(
|
|
1471
|
-
"div",
|
|
1472
|
-
{
|
|
1473
|
-
className: d(
|
|
1474
|
-
`${s}__main-content`,
|
|
1475
|
-
`${s}__main-content--${L}`
|
|
1476
|
-
),
|
|
1477
|
-
children: [
|
|
1478
|
-
/* @__PURE__ */ u(
|
|
1479
|
-
qr,
|
|
1480
|
-
{
|
|
1481
|
-
tag: r,
|
|
1482
|
-
variant: t,
|
|
1483
|
-
enableHyphenation: i,
|
|
1484
|
-
className: d(`${s}__heading`),
|
|
1485
|
-
children: p
|
|
1486
|
-
}
|
|
1337
|
+
}, d = la.bind(sa), l = "purpur-promotion-card", fa = kr(
|
|
1338
|
+
({
|
|
1339
|
+
["data-testid"]: e,
|
|
1340
|
+
variant: n = "primary",
|
|
1341
|
+
badgeText: a,
|
|
1342
|
+
badgeIcon: o,
|
|
1343
|
+
title: p,
|
|
1344
|
+
titleTag: r = "h2",
|
|
1345
|
+
titleVariant: t = "title-300",
|
|
1346
|
+
enableTitleHyphenation: i = !1,
|
|
1347
|
+
className: s,
|
|
1348
|
+
actions: x,
|
|
1349
|
+
children: U,
|
|
1350
|
+
style: I,
|
|
1351
|
+
alignment: q = "space-between",
|
|
1352
|
+
additionalText: B,
|
|
1353
|
+
...h
|
|
1354
|
+
}, Ir) => {
|
|
1355
|
+
let k = h, y, N;
|
|
1356
|
+
if ("decorativeImage" in h) {
|
|
1357
|
+
const { hasGradient: C, decorativeImage: S, ...z } = h;
|
|
1358
|
+
y = S, N = C, k = z;
|
|
1359
|
+
} else if ("productImage" in h) {
|
|
1360
|
+
const { hasGradient: C, productImage: S, ...z } = h;
|
|
1361
|
+
y = S, N = C, k = z;
|
|
1362
|
+
} else if ("hasGradient" in h) {
|
|
1363
|
+
const { hasGradient: C, ...S } = h;
|
|
1364
|
+
N = C, k = S;
|
|
1365
|
+
}
|
|
1366
|
+
const qr = {
|
|
1367
|
+
"--promotion-card-background": da[n],
|
|
1368
|
+
"--promotion-card-color": _a[n],
|
|
1369
|
+
"--promotion-card-background-image": ca[n]
|
|
1370
|
+
};
|
|
1371
|
+
return /* @__PURE__ */ u(f, { ref: Ir, className: d(`${l}__card`), fullHeight: !0, children: /* @__PURE__ */ c(
|
|
1372
|
+
"div",
|
|
1373
|
+
{
|
|
1374
|
+
"data-testid": e,
|
|
1375
|
+
style: {
|
|
1376
|
+
...qr,
|
|
1377
|
+
...I
|
|
1378
|
+
},
|
|
1379
|
+
className: d(s, l, `${l}--${n}`, {
|
|
1380
|
+
[`${l}--with-image`]: y,
|
|
1381
|
+
[`${l}--without-image`]: !y
|
|
1382
|
+
}),
|
|
1383
|
+
...k,
|
|
1384
|
+
children: [
|
|
1385
|
+
/* @__PURE__ */ c(
|
|
1386
|
+
"div",
|
|
1387
|
+
{
|
|
1388
|
+
className: d(`${l}__content`, {
|
|
1389
|
+
[`${l}__content--with-image`]: y,
|
|
1390
|
+
[`${l}__content--without-image`]: !y
|
|
1391
|
+
}),
|
|
1392
|
+
children: [
|
|
1393
|
+
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: d(`${l}__badge-wrapper`), children: /* @__PURE__ */ c(le, { variant: n === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1394
|
+
o && o,
|
|
1395
|
+
a
|
|
1396
|
+
] }) }),
|
|
1397
|
+
/* @__PURE__ */ c(
|
|
1398
|
+
"div",
|
|
1399
|
+
{
|
|
1400
|
+
className: d(
|
|
1401
|
+
`${l}__main-content`,
|
|
1402
|
+
`${l}__main-content--${q}`
|
|
1487
1403
|
),
|
|
1488
|
-
|
|
1489
|
-
/* @__PURE__ */ u(
|
|
1490
|
-
|
|
1491
|
-
O && /* @__PURE__ */ u(
|
|
1492
|
-
zr,
|
|
1404
|
+
children: [
|
|
1405
|
+
/* @__PURE__ */ u(
|
|
1406
|
+
Er,
|
|
1493
1407
|
{
|
|
1494
|
-
|
|
1495
|
-
variant:
|
|
1496
|
-
|
|
1497
|
-
|
|
1408
|
+
tag: r,
|
|
1409
|
+
variant: t,
|
|
1410
|
+
enableHyphenation: i,
|
|
1411
|
+
className: d(`${l}__heading`),
|
|
1412
|
+
children: p
|
|
1498
1413
|
}
|
|
1499
|
-
)
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
}
|
|
1525
|
-
)
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1414
|
+
),
|
|
1415
|
+
/* @__PURE__ */ c("div", { className: d(`${l}__body`), children: [
|
|
1416
|
+
/* @__PURE__ */ u("div", { className: d(`${l}__child-content`), children: U }),
|
|
1417
|
+
x && /* @__PURE__ */ u("div", { className: d(`${l}__actions`), children: x }),
|
|
1418
|
+
B && /* @__PURE__ */ u(
|
|
1419
|
+
Ur,
|
|
1420
|
+
{
|
|
1421
|
+
negative: !0,
|
|
1422
|
+
variant: "additional-100",
|
|
1423
|
+
className: d(`${l}__additional-text`),
|
|
1424
|
+
children: B
|
|
1425
|
+
}
|
|
1426
|
+
)
|
|
1427
|
+
] })
|
|
1428
|
+
]
|
|
1429
|
+
}
|
|
1430
|
+
)
|
|
1431
|
+
]
|
|
1432
|
+
}
|
|
1433
|
+
),
|
|
1434
|
+
y && /* @__PURE__ */ c(
|
|
1435
|
+
"div",
|
|
1436
|
+
{
|
|
1437
|
+
className: d(`${l}__image-wrapper`, {
|
|
1438
|
+
[`${l}__image-wrapper--product`]: "productImage" in h,
|
|
1439
|
+
[`${l}__image-wrapper--decorative`]: "decorativeImage" in h
|
|
1440
|
+
}),
|
|
1441
|
+
children: [
|
|
1442
|
+
y,
|
|
1443
|
+
N && /* @__PURE__ */ u(
|
|
1444
|
+
"div",
|
|
1445
|
+
{
|
|
1446
|
+
className: d(`${l}__image-gradient`),
|
|
1447
|
+
"data-testid": "promotion-card-gradient"
|
|
1448
|
+
}
|
|
1449
|
+
)
|
|
1450
|
+
]
|
|
1451
|
+
}
|
|
1452
|
+
)
|
|
1453
|
+
]
|
|
1454
|
+
}
|
|
1455
|
+
) });
|
|
1456
|
+
}
|
|
1457
|
+
);
|
|
1458
|
+
fa.displayName = "PromotionCard";
|
|
1534
1459
|
export {
|
|
1535
|
-
|
|
1536
|
-
|
|
1460
|
+
fa as PromotionCard,
|
|
1461
|
+
ma as promotionCardVariants
|
|
1537
1462
|
};
|
|
1538
1463
|
//# sourceMappingURL=promotion-card.es.js.map
|