@purpurds/promotion-card 6.3.1 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +6 -6
- package/dist/promotion-card.cjs.js +17 -17
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +498 -460
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +12 -12
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as _, jsx as u, Fragment as
|
|
1
|
+
import { jsxs as _, jsx as u, Fragment as pr } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
3
|
import { forwardRef as W } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
function
|
|
5
|
+
function _e(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
7
|
}
|
|
8
|
-
var
|
|
8
|
+
var lr = { exports: {} };
|
|
9
9
|
/*!
|
|
10
10
|
Copyright (c) 2018 Jed Watson.
|
|
11
11
|
Licensed under the MIT License (MIT), see
|
|
12
12
|
http://jedwatson.github.io/classnames
|
|
13
13
|
*/
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
return
|
|
14
|
+
var sr;
|
|
15
|
+
function fe() {
|
|
16
|
+
return sr || (sr = 1, function(e) {
|
|
17
17
|
(function() {
|
|
18
18
|
var i = {}.hasOwnProperty;
|
|
19
19
|
function a() {
|
|
@@ -42,10 +42,10 @@ function ce() {
|
|
|
42
42
|
}
|
|
43
43
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
44
44
|
})();
|
|
45
|
-
}(
|
|
45
|
+
}(lr)), lr.exports;
|
|
46
46
|
}
|
|
47
|
-
var
|
|
48
|
-
const
|
|
47
|
+
var ge = fe();
|
|
48
|
+
const he = /* @__PURE__ */ _e(ge), me = {
|
|
49
49
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
50
50
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
51
51
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -53,26 +53,26 @@ const fe = /* @__PURE__ */ de(_e), ge = {
|
|
|
53
53
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
54
54
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
55
55
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
56
|
-
},
|
|
56
|
+
}, ve = he.bind(me), dr = "purpur-icon", ye = "md", we = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), xe = ({ content: e = "", title: i } = {}) => {
|
|
57
57
|
const a = [
|
|
58
58
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
59
59
|
{ name: "fill", value: "currentColor" },
|
|
60
60
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
61
61
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
62
62
|
], o = i ? `<title>${i}</title>` : "";
|
|
63
|
-
return `<svg ${
|
|
64
|
-
},
|
|
63
|
+
return `<svg ${we(a)}>${o}${e}</svg>`;
|
|
64
|
+
}, be = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), re = ({
|
|
65
65
|
["data-testid"]: e,
|
|
66
66
|
svg: i,
|
|
67
67
|
allyTitle: a,
|
|
68
68
|
className: o,
|
|
69
|
-
size: p =
|
|
69
|
+
size: p = ye,
|
|
70
70
|
...r
|
|
71
71
|
}) => {
|
|
72
|
-
const t =
|
|
73
|
-
content:
|
|
72
|
+
const t = xe({
|
|
73
|
+
content: be(i.svg),
|
|
74
74
|
title: a
|
|
75
|
-
}), n =
|
|
75
|
+
}), n = ve(o, dr, `${dr}--${p}`);
|
|
76
76
|
return /* @__PURE__ */ u(
|
|
77
77
|
"span",
|
|
78
78
|
{
|
|
@@ -84,55 +84,60 @@ const fe = /* @__PURE__ */ de(_e), ge = {
|
|
|
84
84
|
}
|
|
85
85
|
);
|
|
86
86
|
};
|
|
87
|
-
|
|
88
|
-
const
|
|
87
|
+
re.displayName = "Icon";
|
|
88
|
+
const $e = {
|
|
89
89
|
name: "alert",
|
|
90
90
|
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>',
|
|
91
91
|
keywords: ["alert"],
|
|
92
92
|
category: "status"
|
|
93
|
-
},
|
|
93
|
+
}, Ce = {
|
|
94
94
|
name: "check-circle",
|
|
95
95
|
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>',
|
|
96
96
|
keywords: ["check-circle"],
|
|
97
97
|
category: "status"
|
|
98
|
-
},
|
|
98
|
+
}, Se = {
|
|
99
|
+
name: "devices",
|
|
100
|
+
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>',
|
|
101
|
+
keywords: ["devices"],
|
|
102
|
+
category: "device"
|
|
103
|
+
}, ke = {
|
|
99
104
|
name: "error",
|
|
100
105
|
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>',
|
|
101
106
|
keywords: ["error"],
|
|
102
107
|
category: "status"
|
|
103
|
-
},
|
|
108
|
+
}, Ae = {
|
|
104
109
|
name: "info",
|
|
105
110
|
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>',
|
|
106
111
|
keywords: ["info"],
|
|
107
112
|
category: "status"
|
|
108
|
-
},
|
|
113
|
+
}, Oe = {
|
|
109
114
|
name: "offering",
|
|
110
115
|
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>',
|
|
111
116
|
keywords: ["offering"],
|
|
112
117
|
category: "other"
|
|
113
|
-
},
|
|
118
|
+
}, Ne = {
|
|
114
119
|
name: "question",
|
|
115
120
|
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>',
|
|
116
121
|
keywords: ["question"],
|
|
117
122
|
category: "status"
|
|
118
|
-
},
|
|
123
|
+
}, Be = {
|
|
119
124
|
name: "tag",
|
|
120
125
|
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>',
|
|
121
126
|
keywords: ["tag"],
|
|
122
127
|
category: "other"
|
|
123
128
|
};
|
|
124
|
-
function
|
|
129
|
+
function Fe(e) {
|
|
125
130
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
126
131
|
}
|
|
127
|
-
var
|
|
132
|
+
var cr = { exports: {} };
|
|
128
133
|
/*!
|
|
129
134
|
Copyright (c) 2018 Jed Watson.
|
|
130
135
|
Licensed under the MIT License (MIT), see
|
|
131
136
|
http://jedwatson.github.io/classnames
|
|
132
137
|
*/
|
|
133
|
-
var
|
|
134
|
-
function
|
|
135
|
-
return
|
|
138
|
+
var _r;
|
|
139
|
+
function je() {
|
|
140
|
+
return _r || (_r = 1, function(e) {
|
|
136
141
|
(function() {
|
|
137
142
|
var i = {}.hasOwnProperty;
|
|
138
143
|
function a() {
|
|
@@ -161,49 +166,54 @@ function Fe() {
|
|
|
161
166
|
}
|
|
162
167
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
163
168
|
})();
|
|
164
|
-
}(
|
|
169
|
+
}(cr)), cr.exports;
|
|
165
170
|
}
|
|
166
|
-
var
|
|
167
|
-
const
|
|
168
|
-
"purpur-badge": "_purpur-
|
|
169
|
-
"purpur-
|
|
170
|
-
"purpur-badge--
|
|
171
|
-
"purpur-badge--
|
|
172
|
-
"purpur-badge--
|
|
173
|
-
"purpur-badge--
|
|
174
|
-
"purpur-badge--
|
|
175
|
-
"purpur-badge--
|
|
176
|
-
"purpur-badge--
|
|
177
|
-
|
|
171
|
+
var Me = je();
|
|
172
|
+
const fr = /* @__PURE__ */ Fe(Me), Y = {
|
|
173
|
+
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
174
|
+
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
175
|
+
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
176
|
+
"purpur-badge--special": "_purpur-badge--special_1mlzj_21",
|
|
177
|
+
"purpur-badge--neutral": "_purpur-badge--neutral_1mlzj_25",
|
|
178
|
+
"purpur-badge--general": "_purpur-badge--general_1mlzj_29",
|
|
179
|
+
"purpur-badge--information": "_purpur-badge--information_1mlzj_33",
|
|
180
|
+
"purpur-badge--success": "_purpur-badge--success_1mlzj_37",
|
|
181
|
+
"purpur-badge--warning": "_purpur-badge--warning_1mlzj_41",
|
|
182
|
+
"purpur-badge--error": "_purpur-badge--error_1mlzj_45",
|
|
183
|
+
"purpur-badge--black-friday": "_purpur-badge--black-friday_1mlzj_49"
|
|
184
|
+
}, K = "purpur-badge", x = {
|
|
178
185
|
ATTENTION: "attention",
|
|
179
|
-
|
|
180
|
-
|
|
186
|
+
BLACK_FRIDAY: "black-friday",
|
|
187
|
+
ERROR: "error",
|
|
188
|
+
GENERAL: "general",
|
|
181
189
|
INFORMATION: "information",
|
|
190
|
+
NEUTRAL: "neutral",
|
|
191
|
+
SPECIAL: "special",
|
|
182
192
|
SUCCESS: "success",
|
|
183
|
-
WARNING: "warning"
|
|
184
|
-
|
|
185
|
-
BLACK_FRIDAY: "black-friday"
|
|
186
|
-
}, Me = (e) => {
|
|
193
|
+
WARNING: "warning"
|
|
194
|
+
}, Ge = (e) => {
|
|
187
195
|
switch (e) {
|
|
188
|
-
case
|
|
189
|
-
case
|
|
190
|
-
return
|
|
191
|
-
case
|
|
196
|
+
case x.ATTENTION:
|
|
197
|
+
case x.SPECIAL:
|
|
198
|
+
return Oe;
|
|
199
|
+
case x.INFORMATION:
|
|
200
|
+
return Ae;
|
|
201
|
+
case x.GENERAL:
|
|
192
202
|
return Se;
|
|
193
|
-
case
|
|
194
|
-
return
|
|
195
|
-
case
|
|
196
|
-
return xe;
|
|
197
|
-
case $.ERROR:
|
|
203
|
+
case x.SUCCESS:
|
|
204
|
+
return Ce;
|
|
205
|
+
case x.WARNING:
|
|
198
206
|
return $e;
|
|
199
|
-
case
|
|
207
|
+
case x.ERROR:
|
|
200
208
|
return ke;
|
|
201
|
-
case
|
|
202
|
-
return
|
|
209
|
+
case x.NEUTRAL:
|
|
210
|
+
return Ne;
|
|
211
|
+
case x.BLACK_FRIDAY:
|
|
212
|
+
return Be;
|
|
203
213
|
default:
|
|
204
214
|
return;
|
|
205
215
|
}
|
|
206
|
-
},
|
|
216
|
+
}, Ze = ({
|
|
207
217
|
children: e,
|
|
208
218
|
showIcon: i = !0,
|
|
209
219
|
variant: a,
|
|
@@ -212,26 +222,35 @@ const Ne = /* @__PURE__ */ Ae(Be), sr = {
|
|
|
212
222
|
className: r = "",
|
|
213
223
|
...t
|
|
214
224
|
}) => {
|
|
215
|
-
const n =
|
|
225
|
+
const n = Ge(a), l = fr([r, Y[K], Y[`${K}--${a}`]]);
|
|
216
226
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
217
|
-
i && n && /* @__PURE__ */ u(
|
|
227
|
+
i && n && /* @__PURE__ */ u(
|
|
228
|
+
re,
|
|
229
|
+
{
|
|
230
|
+
"data-testid": `${o}-icon`,
|
|
231
|
+
allyTitle: p,
|
|
232
|
+
size: "xs",
|
|
233
|
+
svg: n,
|
|
234
|
+
className: fr(Y[`${K}__icon`])
|
|
235
|
+
}
|
|
236
|
+
),
|
|
218
237
|
e
|
|
219
238
|
] });
|
|
220
|
-
},
|
|
239
|
+
}, qe = {
|
|
221
240
|
LG: "lg"
|
|
222
241
|
};
|
|
223
|
-
function
|
|
242
|
+
function Ee(e) {
|
|
224
243
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
225
244
|
}
|
|
226
|
-
var
|
|
245
|
+
var gr = { exports: {} };
|
|
227
246
|
/*!
|
|
228
247
|
Copyright (c) 2018 Jed Watson.
|
|
229
248
|
Licensed under the MIT License (MIT), see
|
|
230
249
|
http://jedwatson.github.io/classnames
|
|
231
250
|
*/
|
|
232
|
-
var
|
|
233
|
-
function
|
|
234
|
-
return
|
|
251
|
+
var hr;
|
|
252
|
+
function ze() {
|
|
253
|
+
return hr || (hr = 1, function(e) {
|
|
235
254
|
(function() {
|
|
236
255
|
var i = {}.hasOwnProperty;
|
|
237
256
|
function a() {
|
|
@@ -260,41 +279,41 @@ function Ze() {
|
|
|
260
279
|
}
|
|
261
280
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
262
281
|
})();
|
|
263
|
-
}(
|
|
282
|
+
}(gr)), gr.exports;
|
|
264
283
|
}
|
|
265
|
-
var
|
|
266
|
-
const
|
|
284
|
+
var Ue = ze();
|
|
285
|
+
const mr = /* @__PURE__ */ Ee(Ue), Ie = "_rotate_1xozj_1", Re = "_dash_1xozj_1", Z = {
|
|
267
286
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
268
|
-
rotate:
|
|
287
|
+
rotate: Ie,
|
|
269
288
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
270
289
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
271
290
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
272
291
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
273
292
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
274
293
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
275
|
-
dash:
|
|
294
|
+
dash: Re,
|
|
276
295
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
277
296
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
278
|
-
},
|
|
297
|
+
}, q = "purpur-spinner", Pe = {
|
|
279
298
|
SM: "sm"
|
|
280
|
-
},
|
|
299
|
+
}, Le = ({
|
|
281
300
|
["data-testid"]: e,
|
|
282
301
|
disabled: i = !1,
|
|
283
302
|
negative: a = !1,
|
|
284
|
-
size: o =
|
|
303
|
+
size: o = Pe.SM,
|
|
285
304
|
...p
|
|
286
305
|
}) => /* @__PURE__ */ u(
|
|
287
306
|
"div",
|
|
288
307
|
{
|
|
289
|
-
className:
|
|
308
|
+
className: mr([Z[q], Z[`${q}--${o}`]]),
|
|
290
309
|
"data-testid": e,
|
|
291
310
|
...p,
|
|
292
311
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
293
312
|
"circle",
|
|
294
313
|
{
|
|
295
|
-
className:
|
|
296
|
-
[
|
|
297
|
-
[
|
|
314
|
+
className: mr(Z[`${q}__circle`], {
|
|
315
|
+
[Z[`${q}__circle--disabled`]]: i,
|
|
316
|
+
[Z[`${q}__circle--negative`]]: a
|
|
298
317
|
}),
|
|
299
318
|
cx: "25",
|
|
300
319
|
cy: "25",
|
|
@@ -303,18 +322,18 @@ const fr = /* @__PURE__ */ qe(Ee), ze = "_rotate_1xozj_1", Ue = "_dash_1xozj_1",
|
|
|
303
322
|
) })
|
|
304
323
|
}
|
|
305
324
|
);
|
|
306
|
-
function
|
|
325
|
+
function De(e) {
|
|
307
326
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
308
327
|
}
|
|
309
|
-
var
|
|
328
|
+
var vr = { exports: {} };
|
|
310
329
|
/*!
|
|
311
330
|
Copyright (c) 2018 Jed Watson.
|
|
312
331
|
Licensed under the MIT License (MIT), see
|
|
313
332
|
http://jedwatson.github.io/classnames
|
|
314
333
|
*/
|
|
315
|
-
var
|
|
316
|
-
function
|
|
317
|
-
return
|
|
334
|
+
var yr;
|
|
335
|
+
function He() {
|
|
336
|
+
return yr || (yr = 1, function(e) {
|
|
318
337
|
(function() {
|
|
319
338
|
var i = {}.hasOwnProperty;
|
|
320
339
|
function a() {
|
|
@@ -343,10 +362,10 @@ function Le() {
|
|
|
343
362
|
}
|
|
344
363
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
345
364
|
})();
|
|
346
|
-
}(
|
|
365
|
+
}(vr)), vr.exports;
|
|
347
366
|
}
|
|
348
|
-
var
|
|
349
|
-
const
|
|
367
|
+
var Te = He();
|
|
368
|
+
const Ve = /* @__PURE__ */ De(Te), We = {
|
|
350
369
|
"purpur-button": "_purpur-button_w455q_1",
|
|
351
370
|
"purpur-button--xs": "_purpur-button--xs_w455q_33",
|
|
352
371
|
"purpur-button--icon-only": "_purpur-button--icon-only_w455q_36",
|
|
@@ -368,7 +387,7 @@ const Te = /* @__PURE__ */ Pe(De), He = {
|
|
|
368
387
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_w455q_166",
|
|
369
388
|
"purpur-button--text-negative": "_purpur-button--text-negative_w455q_181",
|
|
370
389
|
"purpur-button--text": "_purpur-button--text_w455q_181"
|
|
371
|
-
},
|
|
390
|
+
}, Ye = Ve.bind(We), O = "purpur-button", Ke = ({
|
|
372
391
|
children: e,
|
|
373
392
|
className: i,
|
|
374
393
|
["data-testid"]: a,
|
|
@@ -380,25 +399,25 @@ const Te = /* @__PURE__ */ Pe(De), He = {
|
|
|
380
399
|
onClick: l,
|
|
381
400
|
size: d = "md",
|
|
382
401
|
variant: m,
|
|
383
|
-
type:
|
|
402
|
+
type: C = "button",
|
|
384
403
|
...B
|
|
385
|
-
},
|
|
404
|
+
}, S) => {
|
|
386
405
|
if (r && m === "destructive")
|
|
387
406
|
return null;
|
|
388
|
-
const f =
|
|
407
|
+
const f = Ye(
|
|
389
408
|
[
|
|
390
|
-
|
|
391
|
-
`${
|
|
392
|
-
`${
|
|
409
|
+
O,
|
|
410
|
+
`${O}--${n ? `${m}-negative` : m}`,
|
|
411
|
+
`${O}--${d}`
|
|
393
412
|
],
|
|
394
413
|
{
|
|
395
|
-
[`${
|
|
396
|
-
[`${
|
|
397
|
-
[`${
|
|
398
|
-
[`${
|
|
414
|
+
[`${O}--icon-only`]: r,
|
|
415
|
+
[`${O}--negative`]: n,
|
|
416
|
+
[`${O}--full-width`]: p,
|
|
417
|
+
[`${O}--disabled`]: o || t
|
|
399
418
|
},
|
|
400
419
|
i
|
|
401
|
-
),
|
|
420
|
+
), F = (v) => {
|
|
402
421
|
o || t ? v.preventDefault() : l && l(v);
|
|
403
422
|
}, k = !!B["aria-disabled"] || o || t;
|
|
404
423
|
return /* @__PURE__ */ _(
|
|
@@ -406,32 +425,32 @@ const Te = /* @__PURE__ */ Pe(De), He = {
|
|
|
406
425
|
{
|
|
407
426
|
className: f,
|
|
408
427
|
"data-testid": a,
|
|
409
|
-
type:
|
|
410
|
-
ref:
|
|
428
|
+
type: C,
|
|
429
|
+
ref: S,
|
|
411
430
|
"aria-disabled": k,
|
|
412
|
-
onClick:
|
|
431
|
+
onClick: F,
|
|
413
432
|
...B,
|
|
414
433
|
children: [
|
|
415
|
-
t && /* @__PURE__ */ u(
|
|
434
|
+
t && /* @__PURE__ */ u(Le, { size: d === qe.LG ? "xs" : "xxs", negative: n, disabled: k }),
|
|
416
435
|
" ",
|
|
417
436
|
e
|
|
418
437
|
]
|
|
419
438
|
}
|
|
420
439
|
);
|
|
421
|
-
},
|
|
422
|
-
|
|
423
|
-
function
|
|
440
|
+
}, ee = W(Ke);
|
|
441
|
+
ee.displayName = "Button";
|
|
442
|
+
function Je(e) {
|
|
424
443
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
425
444
|
}
|
|
426
|
-
var
|
|
445
|
+
var wr = { exports: {} };
|
|
427
446
|
/*!
|
|
428
447
|
Copyright (c) 2018 Jed Watson.
|
|
429
448
|
Licensed under the MIT License (MIT), see
|
|
430
449
|
http://jedwatson.github.io/classnames
|
|
431
450
|
*/
|
|
432
|
-
var
|
|
433
|
-
function
|
|
434
|
-
return
|
|
451
|
+
var xr;
|
|
452
|
+
function Xe() {
|
|
453
|
+
return xr || (xr = 1, function(e) {
|
|
435
454
|
(function() {
|
|
436
455
|
var i = {}.hasOwnProperty;
|
|
437
456
|
function a() {
|
|
@@ -460,24 +479,24 @@ function Ke() {
|
|
|
460
479
|
}
|
|
461
480
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
462
481
|
})();
|
|
463
|
-
}(
|
|
482
|
+
}(wr)), wr.exports;
|
|
464
483
|
}
|
|
465
|
-
var
|
|
466
|
-
const h = /* @__PURE__ */
|
|
484
|
+
var Qe = Xe();
|
|
485
|
+
const h = /* @__PURE__ */ Je(Qe), rt = {
|
|
467
486
|
"purpur-card": "_purpur-card_1ruml_1"
|
|
468
487
|
};
|
|
469
|
-
function
|
|
488
|
+
function et(e) {
|
|
470
489
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
471
490
|
}
|
|
472
|
-
var
|
|
491
|
+
var br = { exports: {} };
|
|
473
492
|
/*!
|
|
474
493
|
Copyright (c) 2018 Jed Watson.
|
|
475
494
|
Licensed under the MIT License (MIT), see
|
|
476
495
|
http://jedwatson.github.io/classnames
|
|
477
496
|
*/
|
|
478
|
-
var
|
|
479
|
-
function
|
|
480
|
-
return
|
|
497
|
+
var $r;
|
|
498
|
+
function tt() {
|
|
499
|
+
return $r || ($r = 1, function(e) {
|
|
481
500
|
(function() {
|
|
482
501
|
var i = {}.hasOwnProperty;
|
|
483
502
|
function a() {
|
|
@@ -506,10 +525,10 @@ function rt() {
|
|
|
506
525
|
}
|
|
507
526
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
508
527
|
})();
|
|
509
|
-
}(
|
|
528
|
+
}(br)), br.exports;
|
|
510
529
|
}
|
|
511
|
-
var
|
|
512
|
-
const
|
|
530
|
+
var at = tt();
|
|
531
|
+
const nt = /* @__PURE__ */ et(at), it = {
|
|
513
532
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
514
533
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
515
534
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -517,26 +536,26 @@ const tt = /* @__PURE__ */ Qe(et), at = {
|
|
|
517
536
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
518
537
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
519
538
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
520
|
-
},
|
|
539
|
+
}, ot = nt.bind(it), Cr = "purpur-icon", pt = "md", ut = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), lt = ({ content: e = "", title: i } = {}) => {
|
|
521
540
|
const a = [
|
|
522
541
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
523
542
|
{ name: "fill", value: "currentColor" },
|
|
524
543
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
525
544
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
526
545
|
], o = i ? `<title>${i}</title>` : "";
|
|
527
|
-
return `<svg ${
|
|
528
|
-
},
|
|
546
|
+
return `<svg ${ut(a)}>${o}${e}</svg>`;
|
|
547
|
+
}, st = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), te = ({
|
|
529
548
|
["data-testid"]: e,
|
|
530
549
|
svg: i,
|
|
531
550
|
allyTitle: a,
|
|
532
551
|
className: o,
|
|
533
|
-
size: p =
|
|
552
|
+
size: p = pt,
|
|
534
553
|
...r
|
|
535
554
|
}) => {
|
|
536
|
-
const t =
|
|
537
|
-
content:
|
|
555
|
+
const t = lt({
|
|
556
|
+
content: st(i.svg),
|
|
538
557
|
title: a
|
|
539
|
-
}), n =
|
|
558
|
+
}), n = ot(o, Cr, `${Cr}--${p}`);
|
|
540
559
|
return /* @__PURE__ */ u(
|
|
541
560
|
"span",
|
|
542
561
|
{
|
|
@@ -548,55 +567,60 @@ const tt = /* @__PURE__ */ Qe(et), at = {
|
|
|
548
567
|
}
|
|
549
568
|
);
|
|
550
569
|
};
|
|
551
|
-
|
|
552
|
-
const
|
|
570
|
+
te.displayName = "Icon";
|
|
571
|
+
const dt = {
|
|
553
572
|
name: "alert",
|
|
554
573
|
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>',
|
|
555
574
|
keywords: ["alert"],
|
|
556
575
|
category: "status"
|
|
557
|
-
},
|
|
576
|
+
}, ct = {
|
|
558
577
|
name: "check-circle",
|
|
559
578
|
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>',
|
|
560
579
|
keywords: ["check-circle"],
|
|
561
580
|
category: "status"
|
|
562
|
-
},
|
|
581
|
+
}, _t = {
|
|
582
|
+
name: "devices",
|
|
583
|
+
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>',
|
|
584
|
+
keywords: ["devices"],
|
|
585
|
+
category: "device"
|
|
586
|
+
}, ft = {
|
|
563
587
|
name: "error",
|
|
564
588
|
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>',
|
|
565
589
|
keywords: ["error"],
|
|
566
590
|
category: "status"
|
|
567
|
-
},
|
|
591
|
+
}, gt = {
|
|
568
592
|
name: "info",
|
|
569
593
|
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>',
|
|
570
594
|
keywords: ["info"],
|
|
571
595
|
category: "status"
|
|
572
|
-
},
|
|
596
|
+
}, ht = {
|
|
573
597
|
name: "offering",
|
|
574
598
|
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>',
|
|
575
599
|
keywords: ["offering"],
|
|
576
600
|
category: "other"
|
|
577
|
-
},
|
|
601
|
+
}, mt = {
|
|
578
602
|
name: "question",
|
|
579
603
|
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>',
|
|
580
604
|
keywords: ["question"],
|
|
581
605
|
category: "status"
|
|
582
|
-
},
|
|
606
|
+
}, vt = {
|
|
583
607
|
name: "tag",
|
|
584
608
|
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>',
|
|
585
609
|
keywords: ["tag"],
|
|
586
610
|
category: "other"
|
|
587
611
|
};
|
|
588
|
-
function
|
|
612
|
+
function yt(e) {
|
|
589
613
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
590
614
|
}
|
|
591
|
-
var
|
|
615
|
+
var Sr = { exports: {} };
|
|
592
616
|
/*!
|
|
593
617
|
Copyright (c) 2018 Jed Watson.
|
|
594
618
|
Licensed under the MIT License (MIT), see
|
|
595
619
|
http://jedwatson.github.io/classnames
|
|
596
620
|
*/
|
|
597
|
-
var
|
|
598
|
-
function
|
|
599
|
-
return
|
|
621
|
+
var kr;
|
|
622
|
+
function wt() {
|
|
623
|
+
return kr || (kr = 1, function(e) {
|
|
600
624
|
(function() {
|
|
601
625
|
var i = {}.hasOwnProperty;
|
|
602
626
|
function a() {
|
|
@@ -625,49 +649,54 @@ function mt() {
|
|
|
625
649
|
}
|
|
626
650
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
627
651
|
})();
|
|
628
|
-
}(
|
|
652
|
+
}(Sr)), Sr.exports;
|
|
629
653
|
}
|
|
630
|
-
var
|
|
631
|
-
const
|
|
632
|
-
"purpur-badge": "_purpur-
|
|
633
|
-
"purpur-
|
|
634
|
-
"purpur-badge--
|
|
635
|
-
"purpur-badge--
|
|
636
|
-
"purpur-badge--
|
|
637
|
-
"purpur-badge--
|
|
638
|
-
"purpur-badge--
|
|
639
|
-
"purpur-badge--
|
|
640
|
-
"purpur-badge--
|
|
641
|
-
|
|
654
|
+
var xt = wt();
|
|
655
|
+
const Ar = /* @__PURE__ */ yt(xt), J = {
|
|
656
|
+
"purpur-badge": "_purpur-badge_1mlzj_1",
|
|
657
|
+
"purpur-badge__icon": "_purpur-badge__icon_1mlzj_13",
|
|
658
|
+
"purpur-badge--attention": "_purpur-badge--attention_1mlzj_17",
|
|
659
|
+
"purpur-badge--special": "_purpur-badge--special_1mlzj_21",
|
|
660
|
+
"purpur-badge--neutral": "_purpur-badge--neutral_1mlzj_25",
|
|
661
|
+
"purpur-badge--general": "_purpur-badge--general_1mlzj_29",
|
|
662
|
+
"purpur-badge--information": "_purpur-badge--information_1mlzj_33",
|
|
663
|
+
"purpur-badge--success": "_purpur-badge--success_1mlzj_37",
|
|
664
|
+
"purpur-badge--warning": "_purpur-badge--warning_1mlzj_41",
|
|
665
|
+
"purpur-badge--error": "_purpur-badge--error_1mlzj_45",
|
|
666
|
+
"purpur-badge--black-friday": "_purpur-badge--black-friday_1mlzj_49"
|
|
667
|
+
}, X = "purpur-badge", b = {
|
|
642
668
|
ATTENTION: "attention",
|
|
643
|
-
|
|
644
|
-
|
|
669
|
+
BLACK_FRIDAY: "black-friday",
|
|
670
|
+
ERROR: "error",
|
|
671
|
+
GENERAL: "general",
|
|
645
672
|
INFORMATION: "information",
|
|
673
|
+
NEUTRAL: "neutral",
|
|
674
|
+
SPECIAL: "special",
|
|
646
675
|
SUCCESS: "success",
|
|
647
|
-
WARNING: "warning"
|
|
648
|
-
|
|
649
|
-
BLACK_FRIDAY: "black-friday"
|
|
650
|
-
}, wt = (e) => {
|
|
676
|
+
WARNING: "warning"
|
|
677
|
+
}, bt = (e) => {
|
|
651
678
|
switch (e) {
|
|
652
|
-
case
|
|
653
|
-
case
|
|
679
|
+
case b.ATTENTION:
|
|
680
|
+
case b.SPECIAL:
|
|
681
|
+
return ht;
|
|
682
|
+
case b.INFORMATION:
|
|
683
|
+
return gt;
|
|
684
|
+
case b.GENERAL:
|
|
654
685
|
return _t;
|
|
655
|
-
case
|
|
686
|
+
case b.SUCCESS:
|
|
656
687
|
return ct;
|
|
657
|
-
case
|
|
658
|
-
return st;
|
|
659
|
-
case S.WARNING:
|
|
660
|
-
return lt;
|
|
661
|
-
case S.ERROR:
|
|
688
|
+
case b.WARNING:
|
|
662
689
|
return dt;
|
|
663
|
-
case
|
|
690
|
+
case b.ERROR:
|
|
664
691
|
return ft;
|
|
665
|
-
case
|
|
666
|
-
return
|
|
692
|
+
case b.NEUTRAL:
|
|
693
|
+
return mt;
|
|
694
|
+
case b.BLACK_FRIDAY:
|
|
695
|
+
return vt;
|
|
667
696
|
default:
|
|
668
697
|
return;
|
|
669
698
|
}
|
|
670
|
-
},
|
|
699
|
+
}, $t = ({
|
|
671
700
|
children: e,
|
|
672
701
|
showIcon: i = !0,
|
|
673
702
|
variant: a,
|
|
@@ -676,38 +705,47 @@ const yt = /* @__PURE__ */ ht(vt), Sr = {
|
|
|
676
705
|
className: r = "",
|
|
677
706
|
...t
|
|
678
707
|
}) => {
|
|
679
|
-
const n =
|
|
708
|
+
const n = bt(a), l = Ar([r, J[X], J[`${X}--${a}`]]);
|
|
680
709
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: l, "data-testid": o, ...t, children: [
|
|
681
|
-
i && n && /* @__PURE__ */ u(
|
|
710
|
+
i && n && /* @__PURE__ */ u(
|
|
711
|
+
te,
|
|
712
|
+
{
|
|
713
|
+
"data-testid": `${o}-icon`,
|
|
714
|
+
allyTitle: p,
|
|
715
|
+
size: "xs",
|
|
716
|
+
svg: n,
|
|
717
|
+
className: Ar(J[`${X}__icon`])
|
|
718
|
+
}
|
|
719
|
+
),
|
|
682
720
|
e
|
|
683
721
|
] });
|
|
684
|
-
},
|
|
722
|
+
}, Ct = {
|
|
685
723
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
686
|
-
},
|
|
724
|
+
}, St = h.bind(Ct), kt = "purpur-card-badge", At = ({
|
|
687
725
|
["data-testid"]: e = "purpur-card-badge",
|
|
688
726
|
variant: i,
|
|
689
727
|
text: a
|
|
690
728
|
}) => i && a ? /* @__PURE__ */ u(
|
|
691
|
-
|
|
729
|
+
$t,
|
|
692
730
|
{
|
|
693
|
-
className:
|
|
731
|
+
className: St(kt),
|
|
694
732
|
variant: i,
|
|
695
733
|
showIcon: !1,
|
|
696
734
|
"data-testid": e,
|
|
697
735
|
children: a
|
|
698
736
|
}
|
|
699
|
-
) : null,
|
|
737
|
+
) : null, Ot = {
|
|
700
738
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
701
|
-
},
|
|
739
|
+
}, Nt = h.bind(Ot), Bt = "purpur-card-content", Ft = ({
|
|
702
740
|
["data-testid"]: e = "purpur-card-content",
|
|
703
741
|
children: i
|
|
704
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
742
|
+
}) => /* @__PURE__ */ u("div", { className: Nt(Bt), "data-testid": e, children: i }), jt = {
|
|
705
743
|
"purpur-card-content-container": "_purpur-card-content-container_putaw_1",
|
|
706
744
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_putaw_12",
|
|
707
745
|
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_putaw_20",
|
|
708
746
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_putaw_23",
|
|
709
747
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_putaw_26"
|
|
710
|
-
},
|
|
748
|
+
}, Mt = h.bind(jt), Q = "purpur-card-content-container", Gt = ({
|
|
711
749
|
["data-testid"]: e = "purpur-card-content-container",
|
|
712
750
|
children: i,
|
|
713
751
|
isFooter: a = !1,
|
|
@@ -715,29 +753,29 @@ const yt = /* @__PURE__ */ ht(vt), Sr = {
|
|
|
715
753
|
}) => /* @__PURE__ */ u(
|
|
716
754
|
"div",
|
|
717
755
|
{
|
|
718
|
-
className:
|
|
719
|
-
|
|
720
|
-
`${
|
|
756
|
+
className: Mt([
|
|
757
|
+
Q,
|
|
758
|
+
`${Q}--gap-size--${o}`,
|
|
721
759
|
{
|
|
722
|
-
[`${
|
|
760
|
+
[`${Q}--footer`]: a
|
|
723
761
|
}
|
|
724
762
|
]),
|
|
725
763
|
"data-testid": e,
|
|
726
764
|
children: i
|
|
727
765
|
}
|
|
728
766
|
);
|
|
729
|
-
function
|
|
767
|
+
function Zt(e) {
|
|
730
768
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
731
769
|
}
|
|
732
|
-
var
|
|
770
|
+
var Or = { exports: {} };
|
|
733
771
|
/*!
|
|
734
772
|
Copyright (c) 2018 Jed Watson.
|
|
735
773
|
Licensed under the MIT License (MIT), see
|
|
736
774
|
http://jedwatson.github.io/classnames
|
|
737
775
|
*/
|
|
738
|
-
var
|
|
739
|
-
function
|
|
740
|
-
return
|
|
776
|
+
var Nr;
|
|
777
|
+
function qt() {
|
|
778
|
+
return Nr || (Nr = 1, function(e) {
|
|
741
779
|
(function() {
|
|
742
780
|
var i = {}.hasOwnProperty;
|
|
743
781
|
function a() {
|
|
@@ -766,39 +804,39 @@ function Gt() {
|
|
|
766
804
|
}
|
|
767
805
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
768
806
|
})();
|
|
769
|
-
}(
|
|
807
|
+
}(Or)), Or.exports;
|
|
770
808
|
}
|
|
771
|
-
var
|
|
772
|
-
const
|
|
809
|
+
var Et = qt();
|
|
810
|
+
const Br = /* @__PURE__ */ Zt(Et), zt = "_rotate_1xozj_1", Ut = "_dash_1xozj_1", E = {
|
|
773
811
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
774
|
-
rotate:
|
|
812
|
+
rotate: zt,
|
|
775
813
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
776
814
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
777
815
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
778
816
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
779
817
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
780
818
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
781
|
-
dash:
|
|
819
|
+
dash: Ut,
|
|
782
820
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
783
821
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
784
|
-
}, z = "purpur-spinner",
|
|
822
|
+
}, z = "purpur-spinner", It = {
|
|
785
823
|
SM: "sm"
|
|
786
|
-
},
|
|
824
|
+
}, Rt = ({
|
|
787
825
|
["data-testid"]: e,
|
|
788
826
|
disabled: i = !1,
|
|
789
827
|
negative: a = !1,
|
|
790
|
-
size: o =
|
|
828
|
+
size: o = It.SM,
|
|
791
829
|
...p
|
|
792
830
|
}) => /* @__PURE__ */ u(
|
|
793
831
|
"div",
|
|
794
832
|
{
|
|
795
|
-
className:
|
|
833
|
+
className: Br([E[z], E[`${z}--${o}`]]),
|
|
796
834
|
"data-testid": e,
|
|
797
835
|
...p,
|
|
798
836
|
children: /* @__PURE__ */ u("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ u(
|
|
799
837
|
"circle",
|
|
800
838
|
{
|
|
801
|
-
className:
|
|
839
|
+
className: Br(E[`${z}__circle`], {
|
|
802
840
|
[E[`${z}__circle--disabled`]]: i,
|
|
803
841
|
[E[`${z}__circle--negative`]]: a
|
|
804
842
|
}),
|
|
@@ -808,7 +846,7 @@ const Ar = /* @__PURE__ */ jt(qt), Zt = "_rotate_1xozj_1", Et = "_dash_1xozj_1",
|
|
|
808
846
|
}
|
|
809
847
|
) })
|
|
810
848
|
}
|
|
811
|
-
),
|
|
849
|
+
), Pt = {
|
|
812
850
|
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1wc0z_1",
|
|
813
851
|
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1wc0z_33",
|
|
814
852
|
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1wc0z_36",
|
|
@@ -827,7 +865,7 @@ const Ar = /* @__PURE__ */ jt(qt), Zt = "_rotate_1xozj_1", Et = "_dash_1xozj_1",
|
|
|
827
865
|
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1wc0z_131",
|
|
828
866
|
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1wc0z_131",
|
|
829
867
|
"purpur-card-cta--text": "_purpur-card-cta--text_1wc0z_139"
|
|
830
|
-
},
|
|
868
|
+
}, Lt = h.bind(Pt), $ = "purpur-card-cta", Dt = ({
|
|
831
869
|
["data-testid"]: e = "purpur-card-cta",
|
|
832
870
|
className: i,
|
|
833
871
|
children: a,
|
|
@@ -840,29 +878,29 @@ const Ar = /* @__PURE__ */ jt(qt), Zt = "_rotate_1xozj_1", Et = "_dash_1xozj_1",
|
|
|
840
878
|
}) => /* @__PURE__ */ u(
|
|
841
879
|
"div",
|
|
842
880
|
{
|
|
843
|
-
className: `${
|
|
844
|
-
|
|
881
|
+
className: `${Lt([
|
|
882
|
+
$,
|
|
845
883
|
i,
|
|
846
884
|
{
|
|
847
|
-
[`${
|
|
848
|
-
[`${
|
|
849
|
-
[`${
|
|
850
|
-
[`${
|
|
851
|
-
[`${
|
|
852
|
-
[`${
|
|
853
|
-
[`${
|
|
885
|
+
[`${$}--disabled`]: o,
|
|
886
|
+
[`${$}--text`]: !!t,
|
|
887
|
+
[`${$}--cta-styling`]: n,
|
|
888
|
+
[`${$}--button-styling`]: !n,
|
|
889
|
+
[`${$}--button-styling--md`]: !n,
|
|
890
|
+
[`${$}--button-styling--secondary`]: !n,
|
|
891
|
+
[`${$}--button-styling--icon-only`]: !n && !t
|
|
854
892
|
}
|
|
855
|
-
])} ${
|
|
893
|
+
])} ${$}`,
|
|
856
894
|
"data-testid": e,
|
|
857
895
|
...l,
|
|
858
|
-
children: r ? /* @__PURE__ */ u(
|
|
896
|
+
children: r ? /* @__PURE__ */ u(Rt, { "data-testid": `${e}-spinner`, size: "xs", disabled: o }) : /* @__PURE__ */ _(pr, { children: [
|
|
859
897
|
p === "left" && a,
|
|
860
898
|
t,
|
|
861
899
|
p === "right" && a
|
|
862
900
|
] })
|
|
863
901
|
}
|
|
864
902
|
);
|
|
865
|
-
function
|
|
903
|
+
function Ht(e) {
|
|
866
904
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
867
905
|
}
|
|
868
906
|
var Fr = { exports: {} };
|
|
@@ -871,9 +909,9 @@ var Fr = { exports: {} };
|
|
|
871
909
|
Licensed under the MIT License (MIT), see
|
|
872
910
|
http://jedwatson.github.io/classnames
|
|
873
911
|
*/
|
|
874
|
-
var
|
|
875
|
-
function
|
|
876
|
-
return
|
|
912
|
+
var jr;
|
|
913
|
+
function Tt() {
|
|
914
|
+
return jr || (jr = 1, function(e) {
|
|
877
915
|
(function() {
|
|
878
916
|
var i = {}.hasOwnProperty;
|
|
879
917
|
function a() {
|
|
@@ -904,8 +942,8 @@ function Dt() {
|
|
|
904
942
|
})();
|
|
905
943
|
}(Fr)), Fr.exports;
|
|
906
944
|
}
|
|
907
|
-
var
|
|
908
|
-
const
|
|
945
|
+
var Vt = Tt();
|
|
946
|
+
const Wt = /* @__PURE__ */ Ht(Vt), Yt = {
|
|
909
947
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
910
948
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
911
949
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -913,26 +951,26 @@ const Ht = /* @__PURE__ */ Lt(Tt), Vt = {
|
|
|
913
951
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
914
952
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
915
953
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
916
|
-
},
|
|
954
|
+
}, Kt = Wt.bind(Yt), Mr = "purpur-icon", Jt = "md", Xt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Qt = ({ content: e = "", title: i } = {}) => {
|
|
917
955
|
const a = [
|
|
918
956
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
919
957
|
{ name: "fill", value: "currentColor" },
|
|
920
958
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
921
959
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
922
960
|
], o = i ? `<title>${i}</title>` : "";
|
|
923
|
-
return `<svg ${
|
|
924
|
-
},
|
|
961
|
+
return `<svg ${Xt(a)}>${o}${e}</svg>`;
|
|
962
|
+
}, ra = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), ae = ({
|
|
925
963
|
["data-testid"]: e,
|
|
926
964
|
svg: i,
|
|
927
965
|
allyTitle: a,
|
|
928
966
|
className: o,
|
|
929
|
-
size: p =
|
|
967
|
+
size: p = Jt,
|
|
930
968
|
...r
|
|
931
969
|
}) => {
|
|
932
|
-
const t =
|
|
933
|
-
content:
|
|
970
|
+
const t = Qt({
|
|
971
|
+
content: ra(i.svg),
|
|
934
972
|
title: a
|
|
935
|
-
}), n =
|
|
973
|
+
}), n = Kt(o, Mr, `${Mr}--${p}`);
|
|
936
974
|
return /* @__PURE__ */ u(
|
|
937
975
|
"span",
|
|
938
976
|
{
|
|
@@ -944,26 +982,26 @@ const Ht = /* @__PURE__ */ Lt(Tt), Vt = {
|
|
|
944
982
|
}
|
|
945
983
|
);
|
|
946
984
|
};
|
|
947
|
-
|
|
948
|
-
const
|
|
985
|
+
ae.displayName = "Icon";
|
|
986
|
+
const ea = {
|
|
949
987
|
name: "checkmark",
|
|
950
988
|
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>',
|
|
951
989
|
keywords: ["checkmark"],
|
|
952
990
|
category: "utility"
|
|
953
|
-
},
|
|
954
|
-
|
|
955
|
-
function
|
|
991
|
+
}, ne = (e) => /* @__PURE__ */ u(ae, { ...e, svg: ea });
|
|
992
|
+
ne.displayName = "IconCheckmark";
|
|
993
|
+
function ta(e) {
|
|
956
994
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
957
995
|
}
|
|
958
|
-
var
|
|
996
|
+
var Gr = { exports: {} };
|
|
959
997
|
/*!
|
|
960
998
|
Copyright (c) 2018 Jed Watson.
|
|
961
999
|
Licensed under the MIT License (MIT), see
|
|
962
1000
|
http://jedwatson.github.io/classnames
|
|
963
1001
|
*/
|
|
964
|
-
var
|
|
965
|
-
function
|
|
966
|
-
return
|
|
1002
|
+
var Zr;
|
|
1003
|
+
function aa() {
|
|
1004
|
+
return Zr || (Zr = 1, function(e) {
|
|
967
1005
|
(function() {
|
|
968
1006
|
var i = {}.hasOwnProperty;
|
|
969
1007
|
function a() {
|
|
@@ -992,10 +1030,10 @@ function ea() {
|
|
|
992
1030
|
}
|
|
993
1031
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
994
1032
|
})();
|
|
995
|
-
}(
|
|
1033
|
+
}(Gr)), Gr.exports;
|
|
996
1034
|
}
|
|
997
|
-
var
|
|
998
|
-
const
|
|
1035
|
+
var na = aa();
|
|
1036
|
+
const ia = /* @__PURE__ */ ta(na), U = {
|
|
999
1037
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1000
1038
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1001
1039
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1010,19 +1048,19 @@ const aa = /* @__PURE__ */ ra(ta), U = {
|
|
|
1010
1048
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1011
1049
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1012
1050
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1013
|
-
},
|
|
1051
|
+
}, oa = {
|
|
1014
1052
|
PARAGRAPH100: "paragraph-100"
|
|
1015
|
-
}, I = "purpur-paragraph",
|
|
1053
|
+
}, I = "purpur-paragraph", ur = ({
|
|
1016
1054
|
["data-testid"]: e,
|
|
1017
1055
|
children: i,
|
|
1018
1056
|
className: a,
|
|
1019
1057
|
disabled: o,
|
|
1020
1058
|
enableHyphenation: p = !1,
|
|
1021
1059
|
negative: r = !1,
|
|
1022
|
-
variant: t =
|
|
1060
|
+
variant: t = oa.PARAGRAPH100,
|
|
1023
1061
|
...n
|
|
1024
1062
|
}) => {
|
|
1025
|
-
const l =
|
|
1063
|
+
const l = ia([
|
|
1026
1064
|
a,
|
|
1027
1065
|
U[I],
|
|
1028
1066
|
U[`${I}--${t}`],
|
|
@@ -1034,37 +1072,37 @@ const aa = /* @__PURE__ */ ra(ta), U = {
|
|
|
1034
1072
|
]);
|
|
1035
1073
|
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1036
1074
|
};
|
|
1037
|
-
|
|
1038
|
-
const
|
|
1075
|
+
ur.displayName = "Paragraph";
|
|
1076
|
+
const pa = {
|
|
1039
1077
|
"purpur-card-feature-list": "_purpur-card-feature-list_198s4_1",
|
|
1040
1078
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_198s4_7"
|
|
1041
|
-
},
|
|
1079
|
+
}, qr = h.bind(pa), Er = "purpur-card-feature-list", ua = ({
|
|
1042
1080
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1043
1081
|
listItems: i
|
|
1044
|
-
}) => i && i.length > 0 ? /* @__PURE__ */ u("ul", { className:
|
|
1082
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ u("ul", { className: qr(Er), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
1045
1083
|
"li",
|
|
1046
1084
|
{
|
|
1047
|
-
className:
|
|
1085
|
+
className: qr(`${Er}__list-item`),
|
|
1048
1086
|
"data-testid": `${e}-item`,
|
|
1049
1087
|
children: [
|
|
1050
|
-
/* @__PURE__ */ u(
|
|
1051
|
-
/* @__PURE__ */ u(
|
|
1088
|
+
/* @__PURE__ */ u(ne, { size: "xs" }),
|
|
1089
|
+
/* @__PURE__ */ u(ur, { children: a })
|
|
1052
1090
|
]
|
|
1053
1091
|
},
|
|
1054
1092
|
a
|
|
1055
1093
|
)) }) : null;
|
|
1056
|
-
function
|
|
1094
|
+
function la(e) {
|
|
1057
1095
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1058
1096
|
}
|
|
1059
|
-
var
|
|
1097
|
+
var zr = { exports: {} };
|
|
1060
1098
|
/*!
|
|
1061
1099
|
Copyright (c) 2018 Jed Watson.
|
|
1062
1100
|
Licensed under the MIT License (MIT), see
|
|
1063
1101
|
http://jedwatson.github.io/classnames
|
|
1064
1102
|
*/
|
|
1065
|
-
var
|
|
1066
|
-
function
|
|
1067
|
-
return
|
|
1103
|
+
var Ur;
|
|
1104
|
+
function sa() {
|
|
1105
|
+
return Ur || (Ur = 1, function(e) {
|
|
1068
1106
|
(function() {
|
|
1069
1107
|
var i = {}.hasOwnProperty;
|
|
1070
1108
|
function a() {
|
|
@@ -1093,10 +1131,10 @@ function ua() {
|
|
|
1093
1131
|
}
|
|
1094
1132
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1095
1133
|
})();
|
|
1096
|
-
}(
|
|
1134
|
+
}(zr)), zr.exports;
|
|
1097
1135
|
}
|
|
1098
|
-
var
|
|
1099
|
-
const
|
|
1136
|
+
var da = sa();
|
|
1137
|
+
const ca = /* @__PURE__ */ la(da), D = {
|
|
1100
1138
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1101
1139
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1102
1140
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1112,117 +1150,117 @@ const sa = /* @__PURE__ */ pa(la), D = {
|
|
|
1112
1150
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1113
1151
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1114
1152
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1115
|
-
},
|
|
1153
|
+
}, _a = {
|
|
1116
1154
|
TITLE100: "title-100"
|
|
1117
|
-
},
|
|
1155
|
+
}, H = "purpur-heading", ie = ({
|
|
1118
1156
|
["data-testid"]: e,
|
|
1119
1157
|
children: i,
|
|
1120
1158
|
className: a = "",
|
|
1121
1159
|
enableHyphenation: o = !1,
|
|
1122
1160
|
negative: p = !1,
|
|
1123
1161
|
tag: r,
|
|
1124
|
-
variant: t =
|
|
1162
|
+
variant: t = _a.TITLE100,
|
|
1125
1163
|
...n
|
|
1126
1164
|
}) => {
|
|
1127
|
-
const l = r, d =
|
|
1165
|
+
const l = r, d = ca([
|
|
1128
1166
|
a,
|
|
1129
|
-
D[
|
|
1130
|
-
D[`${
|
|
1167
|
+
D[H],
|
|
1168
|
+
D[`${H}--${t}`],
|
|
1131
1169
|
{
|
|
1132
|
-
[D[`${
|
|
1133
|
-
[D[`${
|
|
1170
|
+
[D[`${H}--hyphens`]]: o,
|
|
1171
|
+
[D[`${H}--negative`]]: p
|
|
1134
1172
|
}
|
|
1135
1173
|
]);
|
|
1136
1174
|
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
1137
1175
|
};
|
|
1138
|
-
|
|
1139
|
-
const
|
|
1176
|
+
ie.displayName = "Heading";
|
|
1177
|
+
const fa = {
|
|
1140
1178
|
"purpur-card-heading": "_purpur-card-heading_1lsjo_1",
|
|
1141
1179
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_1lsjo_6",
|
|
1142
1180
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_1lsjo_11"
|
|
1143
|
-
},
|
|
1181
|
+
}, rr = h.bind(fa), er = "purpur-card-heading", ga = ({
|
|
1144
1182
|
["data-testid"]: e = "purpur-card-heading",
|
|
1145
1183
|
title: i,
|
|
1146
1184
|
icon: a,
|
|
1147
1185
|
children: o,
|
|
1148
1186
|
titleTag: p = "h2"
|
|
1149
|
-
}) => /* @__PURE__ */ _("div", { className:
|
|
1150
|
-
/* @__PURE__ */ _("div", { className:
|
|
1151
|
-
a && /* @__PURE__ */ u("div", { className:
|
|
1152
|
-
/* @__PURE__ */ u(
|
|
1187
|
+
}) => /* @__PURE__ */ _("div", { className: rr(er), "data-testid": e, children: [
|
|
1188
|
+
/* @__PURE__ */ _("div", { className: rr(`${er}__heading`), children: [
|
|
1189
|
+
a && /* @__PURE__ */ u("div", { className: rr(`${er}__icon`), children: a }),
|
|
1190
|
+
/* @__PURE__ */ u(ie, { tag: p, variant: "title-100", children: i })
|
|
1153
1191
|
] }),
|
|
1154
1192
|
o
|
|
1155
|
-
] }),
|
|
1193
|
+
] }), ha = {
|
|
1156
1194
|
"purpur-card-media": "_purpur-card-media_udc1o_1"
|
|
1157
|
-
},
|
|
1195
|
+
}, ma = h.bind(ha), va = "purpur-card-media", ya = ({
|
|
1158
1196
|
["data-testid"]: e = "purpur-card-media",
|
|
1159
1197
|
className: i,
|
|
1160
1198
|
children: a
|
|
1161
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
1199
|
+
}) => /* @__PURE__ */ u("div", { className: ma([va, i]), "data-testid": e, children: a }), wa = {
|
|
1162
1200
|
"purpur-card-media-layout": "_purpur-card-media-layout_1yfvb_1"
|
|
1163
|
-
},
|
|
1201
|
+
}, xa = h.bind(wa), ba = "purpur-card-media-layout", $a = ({
|
|
1164
1202
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1165
1203
|
className: i,
|
|
1166
1204
|
children: a
|
|
1167
|
-
}) => /* @__PURE__ */ u("div", { className:
|
|
1205
|
+
}) => /* @__PURE__ */ u("div", { className: xa([ba, i]), "data-testid": e, children: a }), Ca = {
|
|
1168
1206
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1169
|
-
},
|
|
1207
|
+
}, Sa = h.bind(Ca), ka = "purpur-card-overline", Aa = ({
|
|
1170
1208
|
["data-testid"]: e = "purpur-card-overline",
|
|
1171
1209
|
overline: i
|
|
1172
|
-
}) => i ? /* @__PURE__ */ u(
|
|
1210
|
+
}) => i ? /* @__PURE__ */ u(ur, { className: Sa(ka), "data-testid": e, children: i }) : null, Oa = {
|
|
1173
1211
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1174
1212
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1175
1213
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1176
1214
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1177
|
-
},
|
|
1215
|
+
}, Na = {
|
|
1178
1216
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1179
1217
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1180
1218
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1181
1219
|
};
|
|
1182
|
-
function
|
|
1220
|
+
function Ir(e, i) {
|
|
1183
1221
|
if (typeof e == "function")
|
|
1184
1222
|
return e(i);
|
|
1185
1223
|
e != null && (e.current = i);
|
|
1186
1224
|
}
|
|
1187
|
-
function
|
|
1225
|
+
function Ba(...e) {
|
|
1188
1226
|
return (i) => {
|
|
1189
1227
|
let a = !1;
|
|
1190
1228
|
const o = e.map((p) => {
|
|
1191
|
-
const r =
|
|
1229
|
+
const r = Ir(p, i);
|
|
1192
1230
|
return !a && typeof r == "function" && (a = !0), r;
|
|
1193
1231
|
});
|
|
1194
1232
|
if (a)
|
|
1195
1233
|
return () => {
|
|
1196
1234
|
for (let p = 0; p < o.length; p++) {
|
|
1197
1235
|
const r = o[p];
|
|
1198
|
-
typeof r == "function" ? r() :
|
|
1236
|
+
typeof r == "function" ? r() : Ir(e[p], null);
|
|
1199
1237
|
}
|
|
1200
1238
|
};
|
|
1201
1239
|
};
|
|
1202
1240
|
}
|
|
1203
|
-
var
|
|
1204
|
-
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(
|
|
1241
|
+
var oe = c.forwardRef((e, i) => {
|
|
1242
|
+
const { children: a, ...o } = e, p = c.Children.toArray(a), r = p.find(ja);
|
|
1205
1243
|
if (r) {
|
|
1206
1244
|
const t = r.props.children, n = p.map((l) => l === r ? c.Children.count(t) > 1 ? c.Children.only(null) : c.isValidElement(t) ? t.props.children : null : l);
|
|
1207
|
-
return /* @__PURE__ */ u(
|
|
1245
|
+
return /* @__PURE__ */ u(ir, { ...o, ref: i, children: c.isValidElement(t) ? c.cloneElement(t, void 0, n) : null });
|
|
1208
1246
|
}
|
|
1209
|
-
return /* @__PURE__ */ u(
|
|
1247
|
+
return /* @__PURE__ */ u(ir, { ...o, ref: i, children: a });
|
|
1210
1248
|
});
|
|
1211
|
-
|
|
1212
|
-
var
|
|
1249
|
+
oe.displayName = "Slot";
|
|
1250
|
+
var ir = c.forwardRef((e, i) => {
|
|
1213
1251
|
const { children: a, ...o } = e;
|
|
1214
1252
|
if (c.isValidElement(a)) {
|
|
1215
|
-
const p =
|
|
1216
|
-
return a.type !== c.Fragment && (r.ref = i ?
|
|
1253
|
+
const p = Ga(a), r = Ma(o, a.props);
|
|
1254
|
+
return a.type !== c.Fragment && (r.ref = i ? Ba(i, p) : p), c.cloneElement(a, r);
|
|
1217
1255
|
}
|
|
1218
1256
|
return c.Children.count(a) > 1 ? c.Children.only(null) : null;
|
|
1219
1257
|
});
|
|
1220
|
-
|
|
1221
|
-
var Fa = ({ children: e }) => /* @__PURE__ */ u(
|
|
1222
|
-
function
|
|
1258
|
+
ir.displayName = "SlotClone";
|
|
1259
|
+
var Fa = ({ children: e }) => /* @__PURE__ */ u(pr, { children: e });
|
|
1260
|
+
function ja(e) {
|
|
1223
1261
|
return c.isValidElement(e) && e.type === Fa;
|
|
1224
1262
|
}
|
|
1225
|
-
function
|
|
1263
|
+
function Ma(e, i) {
|
|
1226
1264
|
const a = { ...i };
|
|
1227
1265
|
for (const o in i) {
|
|
1228
1266
|
const p = e[o], r = i[o];
|
|
@@ -1232,12 +1270,12 @@ function Na(e, i) {
|
|
|
1232
1270
|
}
|
|
1233
1271
|
return { ...e, ...a };
|
|
1234
1272
|
}
|
|
1235
|
-
function
|
|
1273
|
+
function Ga(e) {
|
|
1236
1274
|
var i, a;
|
|
1237
1275
|
let o = (i = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : i.get, p = o && "isReactWarning" in o && o.isReactWarning;
|
|
1238
1276
|
return p ? e.ref : (o = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, p = o && "isReactWarning" in o && o.isReactWarning, p ? e.props.ref : e.props.ref || e.ref);
|
|
1239
1277
|
}
|
|
1240
|
-
var
|
|
1278
|
+
var Za = [
|
|
1241
1279
|
"a",
|
|
1242
1280
|
"button",
|
|
1243
1281
|
"div",
|
|
@@ -1254,15 +1292,15 @@ var ja = [
|
|
|
1254
1292
|
"span",
|
|
1255
1293
|
"svg",
|
|
1256
1294
|
"ul"
|
|
1257
|
-
],
|
|
1295
|
+
], qa = Za.reduce((e, i) => {
|
|
1258
1296
|
const a = c.forwardRef((o, p) => {
|
|
1259
|
-
const { asChild: r, ...t } = o, n = r ?
|
|
1297
|
+
const { asChild: r, ...t } = o, n = r ? oe : i;
|
|
1260
1298
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(n, { ...t, ref: p });
|
|
1261
1299
|
});
|
|
1262
1300
|
return a.displayName = `Primitive.${i}`, { ...e, [i]: a };
|
|
1263
|
-
}, {}),
|
|
1301
|
+
}, {}), Ea = "VisuallyHidden", pe = c.forwardRef(
|
|
1264
1302
|
(e, i) => /* @__PURE__ */ u(
|
|
1265
|
-
|
|
1303
|
+
qa.span,
|
|
1266
1304
|
{
|
|
1267
1305
|
...e,
|
|
1268
1306
|
ref: i,
|
|
@@ -1283,14 +1321,14 @@ var ja = [
|
|
|
1283
1321
|
}
|
|
1284
1322
|
)
|
|
1285
1323
|
);
|
|
1286
|
-
|
|
1287
|
-
var
|
|
1288
|
-
const
|
|
1324
|
+
pe.displayName = Ea;
|
|
1325
|
+
var za = pe;
|
|
1326
|
+
const Rr = ({
|
|
1289
1327
|
asChild: e,
|
|
1290
1328
|
children: i,
|
|
1291
1329
|
className: a = "",
|
|
1292
1330
|
["data-testid"]: o
|
|
1293
|
-
}) => /* @__PURE__ */ u(
|
|
1331
|
+
}) => /* @__PURE__ */ u(za, { asChild: e, "data-testid": o, className: a, children: i }), Pr = h.bind(Na), N = "purpur-card-trigger-item", Ua = ({
|
|
1294
1332
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1295
1333
|
disabled: i = !1,
|
|
1296
1334
|
href: a,
|
|
@@ -1299,44 +1337,44 @@ const Ur = ({
|
|
|
1299
1337
|
}) => {
|
|
1300
1338
|
const r = (n) => {
|
|
1301
1339
|
i ? n.preventDefault() : o && o();
|
|
1302
|
-
}, t = `${
|
|
1340
|
+
}, t = `${N} ${i ? `${N}--disabled` : ""}`;
|
|
1303
1341
|
return a ? (
|
|
1304
1342
|
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
1305
1343
|
/* @__PURE__ */ u(
|
|
1306
1344
|
"a",
|
|
1307
1345
|
{
|
|
1308
1346
|
"aria-disabled": i,
|
|
1309
|
-
className: `${
|
|
1310
|
-
|
|
1347
|
+
className: `${Pr([
|
|
1348
|
+
N,
|
|
1311
1349
|
{
|
|
1312
|
-
[`${
|
|
1350
|
+
[`${N}--disabled`]: i
|
|
1313
1351
|
}
|
|
1314
1352
|
])} ${t}`,
|
|
1315
1353
|
"data-testid": e,
|
|
1316
1354
|
href: i ? void 0 : a,
|
|
1317
1355
|
tabIndex: i ? 0 : void 0,
|
|
1318
1356
|
onClick: r,
|
|
1319
|
-
children: /* @__PURE__ */ u(
|
|
1357
|
+
children: /* @__PURE__ */ u(Rr, { children: p })
|
|
1320
1358
|
}
|
|
1321
1359
|
)
|
|
1322
1360
|
) : /* @__PURE__ */ u(
|
|
1323
1361
|
"button",
|
|
1324
1362
|
{
|
|
1325
1363
|
"aria-disabled": i,
|
|
1326
|
-
className: `${
|
|
1327
|
-
|
|
1328
|
-
`${
|
|
1364
|
+
className: `${Pr([
|
|
1365
|
+
N,
|
|
1366
|
+
`${N}--button`,
|
|
1329
1367
|
{
|
|
1330
|
-
[`${
|
|
1368
|
+
[`${N}--disabled`]: i
|
|
1331
1369
|
}
|
|
1332
1370
|
])} ${t}`,
|
|
1333
1371
|
"data-testid": e,
|
|
1334
1372
|
type: "button",
|
|
1335
1373
|
onClick: r,
|
|
1336
|
-
children: /* @__PURE__ */ u(
|
|
1374
|
+
children: /* @__PURE__ */ u(Rr, { children: p })
|
|
1337
1375
|
}
|
|
1338
1376
|
);
|
|
1339
|
-
},
|
|
1377
|
+
}, Ia = h.bind(Oa), tr = "purpur-card-root", ue = W(
|
|
1340
1378
|
({
|
|
1341
1379
|
["data-testid"]: e = "purpur-card-root",
|
|
1342
1380
|
children: i,
|
|
@@ -1349,18 +1387,18 @@ const Ur = ({
|
|
|
1349
1387
|
variant: l,
|
|
1350
1388
|
...d
|
|
1351
1389
|
}, m) => {
|
|
1352
|
-
const
|
|
1353
|
-
|
|
1390
|
+
const C = Ia([
|
|
1391
|
+
tr,
|
|
1354
1392
|
a,
|
|
1355
1393
|
{
|
|
1356
|
-
[`${
|
|
1357
|
-
[`${
|
|
1394
|
+
[`${tr}--${l}`]: l,
|
|
1395
|
+
[`${tr}--full-height`]: p
|
|
1358
1396
|
}
|
|
1359
1397
|
]);
|
|
1360
|
-
return /* @__PURE__ */ _("div", { className:
|
|
1398
|
+
return /* @__PURE__ */ _("div", { className: C, "data-testid": e, ref: m, ...d, children: [
|
|
1361
1399
|
i,
|
|
1362
1400
|
(t || r) && n && /* @__PURE__ */ u(
|
|
1363
|
-
|
|
1401
|
+
Ua,
|
|
1364
1402
|
{
|
|
1365
1403
|
disabled: o,
|
|
1366
1404
|
href: r,
|
|
@@ -1371,40 +1409,40 @@ const Ur = ({
|
|
|
1371
1409
|
] });
|
|
1372
1410
|
}
|
|
1373
1411
|
);
|
|
1374
|
-
|
|
1375
|
-
const
|
|
1376
|
-
const o =
|
|
1377
|
-
|
|
1412
|
+
ue.displayName = "CardRoot";
|
|
1413
|
+
const Lr = h.bind(rt), ar = "purpur-card", y = ({ children: e, className: i, ...a }) => {
|
|
1414
|
+
const o = Lr([
|
|
1415
|
+
ar,
|
|
1378
1416
|
i,
|
|
1379
1417
|
{
|
|
1380
|
-
[`${
|
|
1381
|
-
[`${
|
|
1418
|
+
[`${ar}--is-interactive`]: a.onClick || a.href,
|
|
1419
|
+
[`${ar}--disabled`]: a.disabled
|
|
1382
1420
|
}
|
|
1383
1421
|
]);
|
|
1384
|
-
return /* @__PURE__ */ u(
|
|
1422
|
+
return /* @__PURE__ */ u(ue, { className: Lr(o), ...a, children: e });
|
|
1385
1423
|
};
|
|
1386
|
-
y.Badge =
|
|
1424
|
+
y.Badge = At;
|
|
1387
1425
|
y.Content = Ft;
|
|
1388
|
-
y.ContentContainer =
|
|
1389
|
-
y.Cta =
|
|
1390
|
-
y.FeatureList =
|
|
1391
|
-
y.Overline =
|
|
1392
|
-
y.Heading =
|
|
1393
|
-
y.Media =
|
|
1394
|
-
y.MediaLayout =
|
|
1426
|
+
y.ContentContainer = Gt;
|
|
1427
|
+
y.Cta = Dt;
|
|
1428
|
+
y.FeatureList = ua;
|
|
1429
|
+
y.Overline = Aa;
|
|
1430
|
+
y.Heading = ga;
|
|
1431
|
+
y.Media = ya;
|
|
1432
|
+
y.MediaLayout = $a;
|
|
1395
1433
|
y.displayName = "Card";
|
|
1396
|
-
function
|
|
1434
|
+
function Ra(e) {
|
|
1397
1435
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1398
1436
|
}
|
|
1399
|
-
var
|
|
1437
|
+
var Dr = { exports: {} };
|
|
1400
1438
|
/*!
|
|
1401
1439
|
Copyright (c) 2018 Jed Watson.
|
|
1402
1440
|
Licensed under the MIT License (MIT), see
|
|
1403
1441
|
http://jedwatson.github.io/classnames
|
|
1404
1442
|
*/
|
|
1405
|
-
var
|
|
1406
|
-
function
|
|
1407
|
-
return
|
|
1443
|
+
var Hr;
|
|
1444
|
+
function Pa() {
|
|
1445
|
+
return Hr || (Hr = 1, function(e) {
|
|
1408
1446
|
(function() {
|
|
1409
1447
|
var i = {}.hasOwnProperty;
|
|
1410
1448
|
function a() {
|
|
@@ -1433,10 +1471,10 @@ function Ia() {
|
|
|
1433
1471
|
}
|
|
1434
1472
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1435
1473
|
})();
|
|
1436
|
-
}(
|
|
1474
|
+
}(Dr)), Dr.exports;
|
|
1437
1475
|
}
|
|
1438
|
-
var
|
|
1439
|
-
const
|
|
1476
|
+
var La = Pa();
|
|
1477
|
+
const Da = /* @__PURE__ */ Ra(La), Ha = {
|
|
1440
1478
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1441
1479
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1442
1480
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1444,26 +1482,26 @@ const Pa = /* @__PURE__ */ Ua(Ra), La = {
|
|
|
1444
1482
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1445
1483
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1446
1484
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1447
|
-
},
|
|
1485
|
+
}, Ta = Da.bind(Ha), Tr = "purpur-icon", Va = "md", Wa = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), Ya = ({ content: e = "", title: i } = {}) => {
|
|
1448
1486
|
const a = [
|
|
1449
1487
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1450
1488
|
{ name: "fill", value: "currentColor" },
|
|
1451
1489
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1452
1490
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1453
1491
|
], o = i ? `<title>${i}</title>` : "";
|
|
1454
|
-
return `<svg ${
|
|
1455
|
-
},
|
|
1492
|
+
return `<svg ${Wa(a)}>${o}${e}</svg>`;
|
|
1493
|
+
}, Ka = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), or = ({
|
|
1456
1494
|
["data-testid"]: e,
|
|
1457
1495
|
svg: i,
|
|
1458
1496
|
allyTitle: a,
|
|
1459
1497
|
className: o,
|
|
1460
|
-
size: p =
|
|
1498
|
+
size: p = Va,
|
|
1461
1499
|
...r
|
|
1462
1500
|
}) => {
|
|
1463
|
-
const t =
|
|
1464
|
-
content:
|
|
1501
|
+
const t = Ya({
|
|
1502
|
+
content: Ka(i.svg),
|
|
1465
1503
|
title: a
|
|
1466
|
-
}), n =
|
|
1504
|
+
}), n = Ta(o, Tr, `${Tr}--${p}`);
|
|
1467
1505
|
return /* @__PURE__ */ u(
|
|
1468
1506
|
"span",
|
|
1469
1507
|
{
|
|
@@ -1475,40 +1513,40 @@ const Pa = /* @__PURE__ */ Ua(Ra), La = {
|
|
|
1475
1513
|
}
|
|
1476
1514
|
);
|
|
1477
1515
|
};
|
|
1478
|
-
|
|
1479
|
-
const
|
|
1516
|
+
or.displayName = "Icon";
|
|
1517
|
+
const Ja = {
|
|
1480
1518
|
name: "arrow-left",
|
|
1481
1519
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
|
|
1482
1520
|
keywords: ["arrow-left"],
|
|
1483
1521
|
category: "utility"
|
|
1484
|
-
},
|
|
1522
|
+
}, Xa = {
|
|
1485
1523
|
name: "arrow-right",
|
|
1486
1524
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
|
|
1487
1525
|
keywords: ["arrow-right"],
|
|
1488
1526
|
category: "utility"
|
|
1489
|
-
},
|
|
1527
|
+
}, Qa = {
|
|
1490
1528
|
name: "external",
|
|
1491
1529
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
|
|
1492
1530
|
keywords: ["external"],
|
|
1493
1531
|
category: "media"
|
|
1494
|
-
},
|
|
1532
|
+
}, r0 = {
|
|
1495
1533
|
name: "phone",
|
|
1496
1534
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.341 2.228c.75-.622 1.73-.43 2.305.145l2.783 2.783a1.9 1.9 0 0 1 0 2.687L8.843 9.43a.1.1 0 0 0 0 .142l5.586 5.585a.1.1 0 0 0 .142 0l1.585-1.585a1.9 1.9 0 0 1 2.687 0l3.5 3.5c.343.342.698 1.023.31 1.742-.346.645-1.173 1.615-3.154 2.936-1.75 1.167-3.667 1.269-5.297.903-1.61-.361-3.015-1.192-3.839-2.016a.9.9 0 0 1 1.273-1.272c.573.572 1.669 1.242 2.96 1.532 1.27.285 2.656.188 3.905-.645 1.483-.989 2.137-1.68 2.418-2.06l-3.348-3.347a.1.1 0 0 0-.142 0l-1.586 1.585a1.9 1.9 0 0 1-2.687 0l-5.585-5.585a1.9 1.9 0 0 1 0-2.688l1.585-1.585a.1.1 0 0 0 0-.142L6.41 3.682c-.447.383-1.183 1.102-2.206 2.38-.878 1.097-1.14 2.08-1.127 2.951.013.898.323 1.758.732 2.59.24.488.733 1.079 1.551 1.88.561.549 1.227 1.152 2.002 1.854.344.312.71.644 1.098 1a.9.9 0 0 1-1.215 1.327c-.367-.336-.722-.658-1.061-.965a77.443 77.443 0 0 1-2.082-1.93c-.831-.813-1.523-1.586-1.909-2.372-.456-.93-.896-2.07-.916-3.356-.02-1.314.399-2.7 1.521-4.103 1.148-1.435 1.995-2.254 2.544-2.71Z" clip-rule="evenodd"/></svg>',
|
|
1497
1535
|
keywords: ["phone"],
|
|
1498
1536
|
category: "device"
|
|
1499
1537
|
};
|
|
1500
|
-
function
|
|
1538
|
+
function e0(e) {
|
|
1501
1539
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1502
1540
|
}
|
|
1503
|
-
var
|
|
1541
|
+
var Vr = { exports: {} };
|
|
1504
1542
|
/*!
|
|
1505
1543
|
Copyright (c) 2018 Jed Watson.
|
|
1506
1544
|
Licensed under the MIT License (MIT), see
|
|
1507
1545
|
http://jedwatson.github.io/classnames
|
|
1508
1546
|
*/
|
|
1509
|
-
var
|
|
1510
|
-
function
|
|
1511
|
-
return
|
|
1547
|
+
var Wr;
|
|
1548
|
+
function t0() {
|
|
1549
|
+
return Wr || (Wr = 1, function(e) {
|
|
1512
1550
|
(function() {
|
|
1513
1551
|
var i = {}.hasOwnProperty;
|
|
1514
1552
|
function a() {
|
|
@@ -1537,10 +1575,10 @@ function rn() {
|
|
|
1537
1575
|
}
|
|
1538
1576
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1539
1577
|
})();
|
|
1540
|
-
}(
|
|
1578
|
+
}(Vr)), Vr.exports;
|
|
1541
1579
|
}
|
|
1542
|
-
var
|
|
1543
|
-
const
|
|
1580
|
+
var a0 = t0();
|
|
1581
|
+
const n0 = /* @__PURE__ */ e0(a0), i0 = {
|
|
1544
1582
|
"purpur-cta-link": "_purpur-cta-link_1e75l_1",
|
|
1545
1583
|
"purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
|
|
1546
1584
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
|
|
@@ -1555,12 +1593,12 @@ const tn = /* @__PURE__ */ Qa(en), an = {
|
|
|
1555
1593
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
|
|
1556
1594
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
|
|
1557
1595
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
|
|
1558
|
-
},
|
|
1559
|
-
forward:
|
|
1560
|
-
external:
|
|
1561
|
-
back:
|
|
1562
|
-
phone:
|
|
1563
|
-
},
|
|
1596
|
+
}, o0 = n0.bind(i0), j = "purpur-cta-link", p0 = {
|
|
1597
|
+
forward: Xa,
|
|
1598
|
+
external: Qa,
|
|
1599
|
+
back: Ja,
|
|
1600
|
+
phone: r0
|
|
1601
|
+
}, le = W(
|
|
1564
1602
|
({
|
|
1565
1603
|
children: e,
|
|
1566
1604
|
className: i,
|
|
@@ -1573,44 +1611,44 @@ const tn = /* @__PURE__ */ Qa(en), an = {
|
|
|
1573
1611
|
variant: l,
|
|
1574
1612
|
icon: d = "forward",
|
|
1575
1613
|
...m
|
|
1576
|
-
},
|
|
1577
|
-
const B =
|
|
1614
|
+
}, C) => {
|
|
1615
|
+
const B = o0(
|
|
1578
1616
|
[
|
|
1579
1617
|
i,
|
|
1580
|
-
|
|
1581
|
-
`${
|
|
1582
|
-
`${
|
|
1618
|
+
j,
|
|
1619
|
+
`${j}--${t ? `${l}-negative` : l}`,
|
|
1620
|
+
`${j}--${n}`
|
|
1583
1621
|
],
|
|
1584
1622
|
{
|
|
1585
|
-
[`${
|
|
1586
|
-
[`${
|
|
1587
|
-
[`${
|
|
1623
|
+
[`${j}--icon-only`]: p,
|
|
1624
|
+
[`${j}--negative`]: t,
|
|
1625
|
+
[`${j}--full-width`]: o
|
|
1588
1626
|
}
|
|
1589
|
-
),
|
|
1590
|
-
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(
|
|
1627
|
+
), S = p0[d], f = /* @__PURE__ */ _(pr, { children: [
|
|
1628
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ u(or, { svg: S, size: n === "lg" ? "sm" : "xs" }),
|
|
1591
1629
|
(!p || p && !r) && e,
|
|
1592
|
-
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(
|
|
1593
|
-
] }),
|
|
1630
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ u(or, { svg: S, size: n === "lg" ? "sm" : "xs" })
|
|
1631
|
+
] }), F = {
|
|
1594
1632
|
...m,
|
|
1595
1633
|
className: B,
|
|
1596
1634
|
"data-testid": a
|
|
1597
1635
|
};
|
|
1598
|
-
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...
|
|
1636
|
+
return "href" in m && m.href ? /* @__PURE__ */ u("a", { ...F, ref: C, children: f }) : /* @__PURE__ */ u("span", { ...F, ref: C, children: f });
|
|
1599
1637
|
}
|
|
1600
1638
|
);
|
|
1601
|
-
|
|
1602
|
-
function
|
|
1639
|
+
le.displayName = "CtaLink";
|
|
1640
|
+
function u0(e) {
|
|
1603
1641
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1604
1642
|
}
|
|
1605
|
-
var
|
|
1643
|
+
var Yr = { exports: {} };
|
|
1606
1644
|
/*!
|
|
1607
1645
|
Copyright (c) 2018 Jed Watson.
|
|
1608
1646
|
Licensed under the MIT License (MIT), see
|
|
1609
1647
|
http://jedwatson.github.io/classnames
|
|
1610
1648
|
*/
|
|
1611
|
-
var
|
|
1612
|
-
function
|
|
1613
|
-
return
|
|
1649
|
+
var Kr;
|
|
1650
|
+
function l0() {
|
|
1651
|
+
return Kr || (Kr = 1, function(e) {
|
|
1614
1652
|
(function() {
|
|
1615
1653
|
var i = {}.hasOwnProperty;
|
|
1616
1654
|
function a() {
|
|
@@ -1639,10 +1677,10 @@ function un() {
|
|
|
1639
1677
|
}
|
|
1640
1678
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1641
1679
|
})();
|
|
1642
|
-
}(
|
|
1680
|
+
}(Yr)), Yr.exports;
|
|
1643
1681
|
}
|
|
1644
|
-
var
|
|
1645
|
-
const
|
|
1682
|
+
var s0 = l0();
|
|
1683
|
+
const d0 = /* @__PURE__ */ u0(s0), T = {
|
|
1646
1684
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1647
1685
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1648
1686
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1658,42 +1696,42 @@ const sn = /* @__PURE__ */ pn(ln), H = {
|
|
|
1658
1696
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1659
1697
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1660
1698
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1661
|
-
},
|
|
1699
|
+
}, c0 = {
|
|
1662
1700
|
TITLE100: "title-100"
|
|
1663
|
-
}, V = "purpur-heading",
|
|
1701
|
+
}, V = "purpur-heading", se = ({
|
|
1664
1702
|
["data-testid"]: e,
|
|
1665
1703
|
children: i,
|
|
1666
1704
|
className: a = "",
|
|
1667
1705
|
enableHyphenation: o = !1,
|
|
1668
1706
|
negative: p = !1,
|
|
1669
1707
|
tag: r,
|
|
1670
|
-
variant: t =
|
|
1708
|
+
variant: t = c0.TITLE100,
|
|
1671
1709
|
...n
|
|
1672
1710
|
}) => {
|
|
1673
|
-
const l = r, d =
|
|
1711
|
+
const l = r, d = d0([
|
|
1674
1712
|
a,
|
|
1675
|
-
|
|
1676
|
-
|
|
1713
|
+
T[V],
|
|
1714
|
+
T[`${V}--${t}`],
|
|
1677
1715
|
{
|
|
1678
|
-
[
|
|
1679
|
-
[
|
|
1716
|
+
[T[`${V}--hyphens`]]: o,
|
|
1717
|
+
[T[`${V}--negative`]]: p
|
|
1680
1718
|
}
|
|
1681
1719
|
]);
|
|
1682
1720
|
return /* @__PURE__ */ u(l, { ...n, className: d, "data-testid": e, children: i });
|
|
1683
1721
|
};
|
|
1684
|
-
|
|
1685
|
-
function
|
|
1722
|
+
se.displayName = "Heading";
|
|
1723
|
+
function _0(e) {
|
|
1686
1724
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1687
1725
|
}
|
|
1688
|
-
var
|
|
1726
|
+
var Jr = { exports: {} };
|
|
1689
1727
|
/*!
|
|
1690
1728
|
Copyright (c) 2018 Jed Watson.
|
|
1691
1729
|
Licensed under the MIT License (MIT), see
|
|
1692
1730
|
http://jedwatson.github.io/classnames
|
|
1693
1731
|
*/
|
|
1694
|
-
var
|
|
1695
|
-
function
|
|
1696
|
-
return
|
|
1732
|
+
var Xr;
|
|
1733
|
+
function f0() {
|
|
1734
|
+
return Xr || (Xr = 1, function(e) {
|
|
1697
1735
|
(function() {
|
|
1698
1736
|
var i = {}.hasOwnProperty;
|
|
1699
1737
|
function a() {
|
|
@@ -1722,10 +1760,10 @@ function _n() {
|
|
|
1722
1760
|
}
|
|
1723
1761
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1724
1762
|
})();
|
|
1725
|
-
}(
|
|
1763
|
+
}(Jr)), Jr.exports;
|
|
1726
1764
|
}
|
|
1727
|
-
var
|
|
1728
|
-
const
|
|
1765
|
+
var g0 = f0();
|
|
1766
|
+
const h0 = /* @__PURE__ */ _0(g0), R = {
|
|
1729
1767
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1730
1768
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1731
1769
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1740,19 +1778,19 @@ const gn = /* @__PURE__ */ cn(fn), R = {
|
|
|
1740
1778
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1741
1779
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1742
1780
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1743
|
-
},
|
|
1781
|
+
}, m0 = {
|
|
1744
1782
|
PARAGRAPH100: "paragraph-100"
|
|
1745
|
-
}, P = "purpur-paragraph",
|
|
1783
|
+
}, P = "purpur-paragraph", de = ({
|
|
1746
1784
|
["data-testid"]: e,
|
|
1747
1785
|
children: i,
|
|
1748
1786
|
className: a,
|
|
1749
1787
|
disabled: o,
|
|
1750
1788
|
enableHyphenation: p = !1,
|
|
1751
1789
|
negative: r = !1,
|
|
1752
|
-
variant: t =
|
|
1790
|
+
variant: t = m0.PARAGRAPH100,
|
|
1753
1791
|
...n
|
|
1754
1792
|
}) => {
|
|
1755
|
-
const l =
|
|
1793
|
+
const l = h0([
|
|
1756
1794
|
a,
|
|
1757
1795
|
R[P],
|
|
1758
1796
|
R[`${P}--${t}`],
|
|
@@ -1764,19 +1802,19 @@ const gn = /* @__PURE__ */ cn(fn), R = {
|
|
|
1764
1802
|
]);
|
|
1765
1803
|
return /* @__PURE__ */ u("p", { ...n, className: l, "data-testid": e, children: i });
|
|
1766
1804
|
};
|
|
1767
|
-
|
|
1768
|
-
function
|
|
1805
|
+
de.displayName = "Paragraph";
|
|
1806
|
+
function v0(e) {
|
|
1769
1807
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1770
1808
|
}
|
|
1771
|
-
var
|
|
1809
|
+
var nr = { exports: {} };
|
|
1772
1810
|
/*!
|
|
1773
1811
|
Copyright (c) 2018 Jed Watson.
|
|
1774
1812
|
Licensed under the MIT License (MIT), see
|
|
1775
1813
|
http://jedwatson.github.io/classnames
|
|
1776
1814
|
*/
|
|
1777
|
-
var
|
|
1778
|
-
function
|
|
1779
|
-
return
|
|
1815
|
+
var Qr;
|
|
1816
|
+
function y0() {
|
|
1817
|
+
return Qr || (Qr = 1, function(e) {
|
|
1780
1818
|
(function() {
|
|
1781
1819
|
var i = {}.hasOwnProperty;
|
|
1782
1820
|
function a() {
|
|
@@ -1805,10 +1843,10 @@ function vn() {
|
|
|
1805
1843
|
}
|
|
1806
1844
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1807
1845
|
})();
|
|
1808
|
-
}(
|
|
1846
|
+
}(nr)), nr.exports;
|
|
1809
1847
|
}
|
|
1810
|
-
var
|
|
1811
|
-
const
|
|
1848
|
+
var w0 = y0();
|
|
1849
|
+
const x0 = /* @__PURE__ */ v0(w0), b0 = {
|
|
1812
1850
|
"purpur-promotion-card": "_purpur-promotion-card_1cvjr_1",
|
|
1813
1851
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1cvjr_8",
|
|
1814
1852
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_1cvjr_8",
|
|
@@ -1829,19 +1867,19 @@ const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
|
1829
1867
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1cvjr_149",
|
|
1830
1868
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1cvjr_152",
|
|
1831
1869
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1cvjr_153"
|
|
1832
|
-
},
|
|
1870
|
+
}, M0 = ["primary", "secondary", "quaternary"], $0 = {
|
|
1833
1871
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1834
1872
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1835
1873
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1836
|
-
},
|
|
1874
|
+
}, C0 = {
|
|
1837
1875
|
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>')`,
|
|
1838
1876
|
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>')`,
|
|
1839
1877
|
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>')`
|
|
1840
|
-
},
|
|
1878
|
+
}, S0 = {
|
|
1841
1879
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1842
1880
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1843
1881
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1844
|
-
}, g =
|
|
1882
|
+
}, g = x0.bind(b0), s = "purpur-promotion-card", k0 = ({
|
|
1845
1883
|
["data-testid"]: e,
|
|
1846
1884
|
variant: i = "primary",
|
|
1847
1885
|
badgeText: a,
|
|
@@ -1853,34 +1891,34 @@ const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
|
1853
1891
|
className: l,
|
|
1854
1892
|
actions: d,
|
|
1855
1893
|
children: m,
|
|
1856
|
-
style:
|
|
1894
|
+
style: C,
|
|
1857
1895
|
alignment: B = "space-between",
|
|
1858
|
-
additionalText:
|
|
1896
|
+
additionalText: S,
|
|
1859
1897
|
...f
|
|
1860
|
-
},
|
|
1898
|
+
}, F) => {
|
|
1861
1899
|
let k = f, v, L;
|
|
1862
1900
|
if ("decorativeImage" in f) {
|
|
1863
|
-
const { hasGradient: w, decorativeImage:
|
|
1864
|
-
v =
|
|
1901
|
+
const { hasGradient: w, decorativeImage: A, ...M } = f;
|
|
1902
|
+
v = A, L = w, k = M;
|
|
1865
1903
|
} else if ("productImage" in f) {
|
|
1866
|
-
const { hasGradient: w, productImage:
|
|
1867
|
-
v =
|
|
1904
|
+
const { hasGradient: w, productImage: A, ...M } = f;
|
|
1905
|
+
v = A, L = w, k = M;
|
|
1868
1906
|
} else if ("hasGradient" in f) {
|
|
1869
|
-
const { hasGradient: w, ...
|
|
1870
|
-
L = w, k =
|
|
1907
|
+
const { hasGradient: w, ...A } = f;
|
|
1908
|
+
L = w, k = A;
|
|
1871
1909
|
}
|
|
1872
|
-
const
|
|
1873
|
-
"--promotion-card-background":
|
|
1874
|
-
"--promotion-card-color":
|
|
1875
|
-
"--promotion-card-background-image":
|
|
1910
|
+
const ce = {
|
|
1911
|
+
"--promotion-card-background": $0[i],
|
|
1912
|
+
"--promotion-card-color": S0[i],
|
|
1913
|
+
"--promotion-card-background-image": C0[i]
|
|
1876
1914
|
};
|
|
1877
|
-
return /* @__PURE__ */ u(y, { ref:
|
|
1915
|
+
return /* @__PURE__ */ u(y, { ref: F, className: g(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1878
1916
|
"div",
|
|
1879
1917
|
{
|
|
1880
1918
|
"data-testid": e,
|
|
1881
1919
|
style: {
|
|
1882
|
-
...
|
|
1883
|
-
...
|
|
1920
|
+
...ce,
|
|
1921
|
+
...C
|
|
1884
1922
|
},
|
|
1885
1923
|
className: g([
|
|
1886
1924
|
l,
|
|
@@ -1904,7 +1942,7 @@ const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
|
1904
1942
|
}
|
|
1905
1943
|
]),
|
|
1906
1944
|
children: [
|
|
1907
|
-
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: g(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1945
|
+
a && /* @__PURE__ */ u("div", { "data-testid": "badgeWrapper", className: g(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(Ze, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1908
1946
|
o && o,
|
|
1909
1947
|
a
|
|
1910
1948
|
] }) }),
|
|
@@ -1917,7 +1955,7 @@ const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
|
1917
1955
|
),
|
|
1918
1956
|
children: [
|
|
1919
1957
|
/* @__PURE__ */ u(
|
|
1920
|
-
|
|
1958
|
+
se,
|
|
1921
1959
|
{
|
|
1922
1960
|
tag: r,
|
|
1923
1961
|
variant: t,
|
|
@@ -1928,22 +1966,22 @@ const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
|
1928
1966
|
),
|
|
1929
1967
|
/* @__PURE__ */ _("div", { className: g(`${s}__body`), children: [
|
|
1930
1968
|
/* @__PURE__ */ u("div", { className: g(`${s}__child-content`), children: m }),
|
|
1931
|
-
d && d.length > 0 && /* @__PURE__ */ u("div", { className: g(`${s}__actions`), children: d.map(({ label: w, ...
|
|
1969
|
+
d && d.length > 0 && /* @__PURE__ */ u("div", { className: g(`${s}__actions`), children: d.map(({ label: w, ...A }, M) => {
|
|
1932
1970
|
const G = {
|
|
1933
|
-
variant:
|
|
1971
|
+
variant: M === 0 ? "primary" : "secondary",
|
|
1934
1972
|
negative: i === "primary",
|
|
1935
|
-
...
|
|
1973
|
+
...A,
|
|
1936
1974
|
children: w
|
|
1937
1975
|
};
|
|
1938
|
-
return
|
|
1976
|
+
return A0(G) ? /* @__PURE__ */ u(le, { ...G }, w) : "onClick" in G && !("href" in G) ? /* @__PURE__ */ u(ee, { ...G }, w) : null;
|
|
1939
1977
|
}) }),
|
|
1940
|
-
|
|
1941
|
-
|
|
1978
|
+
S && /* @__PURE__ */ u(
|
|
1979
|
+
de,
|
|
1942
1980
|
{
|
|
1943
1981
|
negative: !0,
|
|
1944
1982
|
variant: "additional-100",
|
|
1945
1983
|
className: g(`${s}__additional-text`),
|
|
1946
|
-
children:
|
|
1984
|
+
children: S
|
|
1947
1985
|
}
|
|
1948
1986
|
)
|
|
1949
1987
|
] })
|
|
@@ -1978,10 +2016,10 @@ const wn = /* @__PURE__ */ mn(yn), xn = {
|
|
|
1978
2016
|
]
|
|
1979
2017
|
}
|
|
1980
2018
|
) });
|
|
1981
|
-
},
|
|
1982
|
-
|
|
2019
|
+
}, A0 = (e) => "href" in e, O0 = W(k0);
|
|
2020
|
+
O0.displayName = "PromotionCard";
|
|
1983
2021
|
export {
|
|
1984
|
-
|
|
1985
|
-
|
|
2022
|
+
O0 as PromotionCard,
|
|
2023
|
+
M0 as promotionCardVariants
|
|
1986
2024
|
};
|
|
1987
2025
|
//# sourceMappingURL=promotion-card.es.js.map
|