@purpurds/promotion-card 5.24.3 → 5.25.1-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +5 -5
- package/dist/promotion-card.cjs.js +14 -14
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +324 -349
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +12 -12
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as f, jsx as l, Fragment as hr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as C, Children as z, isValidElement as V, createElement as P, Fragment as Pr, cloneElement as mr, useEffect as Rr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function Dr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
7
|
var vr = { exports: {} };
|
|
@@ -40,8 +40,8 @@ var vr = { exports: {} };
|
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
42
|
})(vr);
|
|
43
|
-
var
|
|
44
|
-
const Hr = /* @__PURE__ */ Tr
|
|
43
|
+
var Tr = vr.exports;
|
|
44
|
+
const Hr = /* @__PURE__ */ Dr(Tr), Vr = {
|
|
45
45
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
46
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
47
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -54,7 +54,7 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
|
|
|
54
54
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
55
55
|
keywords: ["alert"],
|
|
56
56
|
category: "status"
|
|
57
|
-
},
|
|
57
|
+
}, Yr = {
|
|
58
58
|
name: "check-circle",
|
|
59
59
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
60
60
|
keywords: ["check-circle"],
|
|
@@ -64,17 +64,17 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
|
|
|
64
64
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
65
65
|
keywords: ["error"],
|
|
66
66
|
category: "status"
|
|
67
|
-
},
|
|
67
|
+
}, Jr = {
|
|
68
68
|
name: "info",
|
|
69
69
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
70
70
|
keywords: ["info"],
|
|
71
71
|
category: "status"
|
|
72
|
-
},
|
|
72
|
+
}, Qr = {
|
|
73
73
|
name: "offering",
|
|
74
74
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
75
75
|
keywords: ["offering"],
|
|
76
76
|
category: "other"
|
|
77
|
-
},
|
|
77
|
+
}, Xr = {
|
|
78
78
|
name: "question",
|
|
79
79
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
80
80
|
keywords: ["question"],
|
|
@@ -119,7 +119,7 @@ yr.displayName = "Icon";
|
|
|
119
119
|
function ne(e) {
|
|
120
120
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
121
121
|
}
|
|
122
|
-
var
|
|
122
|
+
var wr = { exports: {} };
|
|
123
123
|
/*!
|
|
124
124
|
Copyright (c) 2018 Jed Watson.
|
|
125
125
|
Licensed under the MIT License (MIT), see
|
|
@@ -154,8 +154,8 @@ var xr = { exports: {} };
|
|
|
154
154
|
}
|
|
155
155
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
156
156
|
})();
|
|
157
|
-
})(
|
|
158
|
-
var pe =
|
|
157
|
+
})(wr);
|
|
158
|
+
var pe = wr.exports;
|
|
159
159
|
const le = /* @__PURE__ */ ne(pe), er = {
|
|
160
160
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
161
161
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
@@ -166,7 +166,7 @@ const le = /* @__PURE__ */ ne(pe), er = {
|
|
|
166
166
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
167
167
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
168
168
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
169
|
-
}, tr = "purpur-badge",
|
|
169
|
+
}, tr = "purpur-badge", b = {
|
|
170
170
|
ATTENTION: "attention",
|
|
171
171
|
SPECIAL: "special",
|
|
172
172
|
NEUTRAL: "neutral",
|
|
@@ -177,20 +177,20 @@ const le = /* @__PURE__ */ ne(pe), er = {
|
|
|
177
177
|
BLACK_FRIDAY: "black-friday"
|
|
178
178
|
}, ue = (e) => {
|
|
179
179
|
switch (e) {
|
|
180
|
-
case
|
|
181
|
-
case
|
|
180
|
+
case b.ATTENTION:
|
|
181
|
+
case b.SPECIAL:
|
|
182
|
+
return Qr;
|
|
183
|
+
case b.INFORMATION:
|
|
182
184
|
return Jr;
|
|
183
|
-
case
|
|
185
|
+
case b.SUCCESS:
|
|
184
186
|
return Yr;
|
|
185
|
-
case
|
|
186
|
-
return Xr;
|
|
187
|
-
case w.WARNING:
|
|
187
|
+
case b.WARNING:
|
|
188
188
|
return Wr;
|
|
189
|
-
case
|
|
189
|
+
case b.ERROR:
|
|
190
190
|
return Kr;
|
|
191
|
-
case
|
|
192
|
-
return
|
|
193
|
-
case
|
|
191
|
+
case b.NEUTRAL:
|
|
192
|
+
return Xr;
|
|
193
|
+
case b.BLACK_FRIDAY:
|
|
194
194
|
return re;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
@@ -205,19 +205,17 @@ const le = /* @__PURE__ */ ne(pe), er = {
|
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
207
|
const o = ue(a), u = le([r, er[tr], er[`${tr}--${a}`]]);
|
|
208
|
-
return /* @__PURE__ */
|
|
208
|
+
return /* @__PURE__ */ f("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
209
209
|
i && o && /* @__PURE__ */ l(yr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
210
210
|
e
|
|
211
211
|
] });
|
|
212
212
|
}, de = {
|
|
213
|
-
SM: "sm",
|
|
214
|
-
MD: "md",
|
|
215
213
|
LG: "lg"
|
|
216
214
|
};
|
|
217
215
|
function ce(e) {
|
|
218
216
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
219
217
|
}
|
|
220
|
-
var
|
|
218
|
+
var xr = { exports: {} };
|
|
221
219
|
/*!
|
|
222
220
|
Copyright (c) 2018 Jed Watson.
|
|
223
221
|
Licensed under the MIT License (MIT), see
|
|
@@ -252,9 +250,9 @@ var wr = { exports: {} };
|
|
|
252
250
|
}
|
|
253
251
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
254
252
|
})();
|
|
255
|
-
})(
|
|
256
|
-
var _e =
|
|
257
|
-
const ar = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1",
|
|
253
|
+
})(xr);
|
|
254
|
+
var _e = xr.exports;
|
|
255
|
+
const ar = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1", E = {
|
|
258
256
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
259
257
|
rotate: fe,
|
|
260
258
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
@@ -266,12 +264,8 @@ const ar = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1",
|
|
|
266
264
|
dash: ge,
|
|
267
265
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
268
266
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
269
|
-
},
|
|
270
|
-
|
|
271
|
-
XS: "xs",
|
|
272
|
-
SM: "sm",
|
|
273
|
-
MD: "md",
|
|
274
|
-
LG: "lg"
|
|
267
|
+
}, j = "purpur-spinner", he = {
|
|
268
|
+
SM: "sm"
|
|
275
269
|
}, me = ({
|
|
276
270
|
["data-testid"]: e,
|
|
277
271
|
disabled: i = !1,
|
|
@@ -281,15 +275,15 @@ const ar = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1",
|
|
|
281
275
|
}) => /* @__PURE__ */ l(
|
|
282
276
|
"div",
|
|
283
277
|
{
|
|
284
|
-
className: ar([
|
|
278
|
+
className: ar([E[j], E[`${j}--${n}`]]),
|
|
285
279
|
"data-testid": e,
|
|
286
280
|
...p,
|
|
287
281
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
288
282
|
"circle",
|
|
289
283
|
{
|
|
290
|
-
className: ar(
|
|
291
|
-
[
|
|
292
|
-
[
|
|
284
|
+
className: ar(E[`${j}__circle`], {
|
|
285
|
+
[E[`${j}__circle--disabled`]]: i,
|
|
286
|
+
[E[`${j}__circle--negative`]]: a
|
|
293
287
|
}),
|
|
294
288
|
cx: "25",
|
|
295
289
|
cy: "25",
|
|
@@ -338,7 +332,7 @@ var br = { exports: {} };
|
|
|
338
332
|
})();
|
|
339
333
|
})(br);
|
|
340
334
|
var ye = br.exports;
|
|
341
|
-
const
|
|
335
|
+
const we = /* @__PURE__ */ ve(ye), xe = {
|
|
342
336
|
"purpur-button": "_purpur-button_1acxn_1",
|
|
343
337
|
"purpur-button--sm": "_purpur-button--sm_1acxn_33",
|
|
344
338
|
"purpur-button--icon-only": "_purpur-button--icon-only_1acxn_36",
|
|
@@ -359,7 +353,7 @@ const xe = /* @__PURE__ */ ve(ye), we = {
|
|
|
359
353
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1acxn_160",
|
|
360
354
|
"purpur-button--text-negative": "_purpur-button--text-negative_1acxn_175",
|
|
361
355
|
"purpur-button--text": "_purpur-button--text_1acxn_175"
|
|
362
|
-
}, be =
|
|
356
|
+
}, be = we.bind(xe), O = "purpur-button", $e = ({
|
|
363
357
|
children: e,
|
|
364
358
|
className: i,
|
|
365
359
|
["data-testid"]: a,
|
|
@@ -369,52 +363,52 @@ const xe = /* @__PURE__ */ ve(ye), we = {
|
|
|
369
363
|
loading: t = !1,
|
|
370
364
|
negative: o = !1,
|
|
371
365
|
onClick: u,
|
|
372
|
-
size:
|
|
366
|
+
size: d = "md",
|
|
373
367
|
variant: g,
|
|
374
|
-
type:
|
|
375
|
-
...
|
|
376
|
-
},
|
|
368
|
+
type: x = "button",
|
|
369
|
+
...c
|
|
370
|
+
}, A) => {
|
|
377
371
|
if (r && g === "destructive")
|
|
378
372
|
return null;
|
|
379
373
|
const v = be(
|
|
380
374
|
[
|
|
381
|
-
|
|
382
|
-
`${
|
|
383
|
-
`${
|
|
375
|
+
O,
|
|
376
|
+
`${O}--${o ? `${g}-negative` : g}`,
|
|
377
|
+
`${O}--${d}`
|
|
384
378
|
],
|
|
385
379
|
{
|
|
386
|
-
[`${
|
|
387
|
-
[`${
|
|
388
|
-
[`${
|
|
389
|
-
[`${
|
|
380
|
+
[`${O}--icon-only`]: r,
|
|
381
|
+
[`${O}--negative`]: o,
|
|
382
|
+
[`${O}--full-width`]: p,
|
|
383
|
+
[`${O}--disabled`]: n || t
|
|
390
384
|
},
|
|
391
385
|
i
|
|
392
|
-
),
|
|
393
|
-
n || t ?
|
|
394
|
-
},
|
|
395
|
-
return /* @__PURE__ */
|
|
386
|
+
), _ = (R) => {
|
|
387
|
+
n || t ? R.preventDefault() : u && u(R);
|
|
388
|
+
}, S = !!c["aria-disabled"] || n || t;
|
|
389
|
+
return /* @__PURE__ */ f(
|
|
396
390
|
"button",
|
|
397
391
|
{
|
|
398
392
|
className: v,
|
|
399
393
|
"data-testid": a,
|
|
400
|
-
type:
|
|
401
|
-
ref:
|
|
402
|
-
"aria-disabled":
|
|
403
|
-
onClick:
|
|
404
|
-
...
|
|
394
|
+
type: x,
|
|
395
|
+
ref: A,
|
|
396
|
+
"aria-disabled": S,
|
|
397
|
+
onClick: _,
|
|
398
|
+
...c,
|
|
405
399
|
children: [
|
|
406
|
-
t && /* @__PURE__ */ l(me, { size:
|
|
400
|
+
t && /* @__PURE__ */ l(me, { size: d === de.LG ? "xs" : "xxs", negative: o, disabled: S }),
|
|
407
401
|
" ",
|
|
408
402
|
e
|
|
409
403
|
]
|
|
410
404
|
}
|
|
411
405
|
);
|
|
412
|
-
}, $r =
|
|
406
|
+
}, $r = C($e);
|
|
413
407
|
$r.displayName = "Button";
|
|
414
|
-
function
|
|
408
|
+
function Ce(e) {
|
|
415
409
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
416
410
|
}
|
|
417
|
-
var
|
|
411
|
+
var Cr = { exports: {} };
|
|
418
412
|
/*!
|
|
419
413
|
Copyright (c) 2018 Jed Watson.
|
|
420
414
|
Licensed under the MIT License (MIT), see
|
|
@@ -449,15 +443,15 @@ var Sr = { exports: {} };
|
|
|
449
443
|
}
|
|
450
444
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
451
445
|
})();
|
|
452
|
-
})(
|
|
453
|
-
var
|
|
454
|
-
const m = /* @__PURE__ */ Se
|
|
446
|
+
})(Cr);
|
|
447
|
+
var Se = Cr.exports;
|
|
448
|
+
const m = /* @__PURE__ */ Ce(Se), ke = {
|
|
455
449
|
"purpur-card": "_purpur-card_1owb4_1"
|
|
456
450
|
};
|
|
457
|
-
function
|
|
451
|
+
function Oe(e) {
|
|
458
452
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
459
453
|
}
|
|
460
|
-
var
|
|
454
|
+
var Sr = { exports: {} };
|
|
461
455
|
/*!
|
|
462
456
|
Copyright (c) 2018 Jed Watson.
|
|
463
457
|
Licensed under the MIT License (MIT), see
|
|
@@ -492,9 +486,9 @@ var Cr = { exports: {} };
|
|
|
492
486
|
}
|
|
493
487
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
494
488
|
})();
|
|
495
|
-
})(
|
|
496
|
-
var
|
|
497
|
-
const Be = /* @__PURE__ */
|
|
489
|
+
})(Sr);
|
|
490
|
+
var Fe = Sr.exports;
|
|
491
|
+
const Be = /* @__PURE__ */ Oe(Fe), Ae = {
|
|
498
492
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
499
493
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
500
494
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -502,61 +496,61 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
|
|
|
502
496
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
503
497
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
504
498
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
505
|
-
},
|
|
499
|
+
}, Ne = {
|
|
506
500
|
name: "alert",
|
|
507
501
|
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>',
|
|
508
502
|
keywords: ["alert"],
|
|
509
503
|
category: "status"
|
|
510
|
-
},
|
|
504
|
+
}, Me = {
|
|
511
505
|
name: "check-circle",
|
|
512
506
|
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>',
|
|
513
507
|
keywords: ["check-circle"],
|
|
514
508
|
category: "status"
|
|
515
|
-
},
|
|
509
|
+
}, Ge = {
|
|
516
510
|
name: "error",
|
|
517
511
|
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>',
|
|
518
512
|
keywords: ["error"],
|
|
519
513
|
category: "status"
|
|
520
|
-
},
|
|
514
|
+
}, Ze = {
|
|
521
515
|
name: "info",
|
|
522
516
|
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>',
|
|
523
517
|
keywords: ["info"],
|
|
524
518
|
category: "status"
|
|
525
|
-
},
|
|
519
|
+
}, Ee = {
|
|
526
520
|
name: "offering",
|
|
527
521
|
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>',
|
|
528
522
|
keywords: ["offering"],
|
|
529
523
|
category: "other"
|
|
530
|
-
},
|
|
524
|
+
}, je = {
|
|
531
525
|
name: "question",
|
|
532
526
|
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>',
|
|
533
527
|
keywords: ["question"],
|
|
534
528
|
category: "status"
|
|
535
|
-
},
|
|
529
|
+
}, Ue = {
|
|
536
530
|
name: "tag",
|
|
537
531
|
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>',
|
|
538
532
|
keywords: ["tag"],
|
|
539
533
|
category: "other"
|
|
540
|
-
},
|
|
534
|
+
}, Ie = Be.bind(Ae), ir = "purpur-icon", qe = "md", Le = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ze = ({ content: e = "", title: i } = {}) => {
|
|
541
535
|
const a = [
|
|
542
536
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
543
537
|
{ name: "fill", value: "currentColor" },
|
|
544
538
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
545
539
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
546
540
|
], n = i ? `<title>${i}</title>` : "";
|
|
547
|
-
return `<svg ${
|
|
548
|
-
},
|
|
541
|
+
return `<svg ${Le(a)}>${n}${e}</svg>`;
|
|
542
|
+
}, Pe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({
|
|
549
543
|
["data-testid"]: e,
|
|
550
544
|
svg: i,
|
|
551
545
|
allyTitle: a,
|
|
552
546
|
className: n,
|
|
553
|
-
size: p =
|
|
547
|
+
size: p = qe,
|
|
554
548
|
...r
|
|
555
549
|
}) => {
|
|
556
|
-
const t =
|
|
557
|
-
content:
|
|
550
|
+
const t = ze({
|
|
551
|
+
content: Pe(i.svg),
|
|
558
552
|
title: a
|
|
559
|
-
}), o =
|
|
553
|
+
}), o = Ie(n, ir, `${ir}--${p}`);
|
|
560
554
|
return /* @__PURE__ */ l(
|
|
561
555
|
"span",
|
|
562
556
|
{
|
|
@@ -569,10 +563,10 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
|
|
|
569
563
|
);
|
|
570
564
|
};
|
|
571
565
|
kr.displayName = "Icon";
|
|
572
|
-
function
|
|
566
|
+
function Re(e) {
|
|
573
567
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
568
|
}
|
|
575
|
-
var
|
|
569
|
+
var Or = { exports: {} };
|
|
576
570
|
/*!
|
|
577
571
|
Copyright (c) 2018 Jed Watson.
|
|
578
572
|
Licensed under the MIT License (MIT), see
|
|
@@ -607,9 +601,9 @@ var Ar = { exports: {} };
|
|
|
607
601
|
}
|
|
608
602
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
609
603
|
})();
|
|
610
|
-
})(
|
|
611
|
-
var
|
|
612
|
-
const
|
|
604
|
+
})(Or);
|
|
605
|
+
var De = Or.exports;
|
|
606
|
+
const Te = /* @__PURE__ */ Re(De), or = {
|
|
613
607
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
614
608
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
615
609
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -619,7 +613,7 @@ const ze = /* @__PURE__ */ Pe(Te), or = {
|
|
|
619
613
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
620
614
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
621
615
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
622
|
-
}, nr = "purpur-badge",
|
|
616
|
+
}, nr = "purpur-badge", $ = {
|
|
623
617
|
ATTENTION: "attention",
|
|
624
618
|
SPECIAL: "special",
|
|
625
619
|
NEUTRAL: "neutral",
|
|
@@ -630,21 +624,21 @@ const ze = /* @__PURE__ */ Pe(Te), or = {
|
|
|
630
624
|
BLACK_FRIDAY: "black-friday"
|
|
631
625
|
}, He = (e) => {
|
|
632
626
|
switch (e) {
|
|
633
|
-
case
|
|
634
|
-
case
|
|
627
|
+
case $.ATTENTION:
|
|
628
|
+
case $.SPECIAL:
|
|
629
|
+
return Ee;
|
|
630
|
+
case $.INFORMATION:
|
|
635
631
|
return Ze;
|
|
636
|
-
case
|
|
637
|
-
return Ge;
|
|
638
|
-
case b.SUCCESS:
|
|
639
|
-
return Ne;
|
|
640
|
-
case b.WARNING:
|
|
632
|
+
case $.SUCCESS:
|
|
641
633
|
return Me;
|
|
642
|
-
case
|
|
643
|
-
return
|
|
644
|
-
case
|
|
645
|
-
return
|
|
646
|
-
case
|
|
634
|
+
case $.WARNING:
|
|
635
|
+
return Ne;
|
|
636
|
+
case $.ERROR:
|
|
637
|
+
return Ge;
|
|
638
|
+
case $.NEUTRAL:
|
|
647
639
|
return je;
|
|
640
|
+
case $.BLACK_FRIDAY:
|
|
641
|
+
return Ue;
|
|
648
642
|
default:
|
|
649
643
|
return;
|
|
650
644
|
}
|
|
@@ -657,32 +651,32 @@ const ze = /* @__PURE__ */ Pe(Te), or = {
|
|
|
657
651
|
className: r = "",
|
|
658
652
|
...t
|
|
659
653
|
}) => {
|
|
660
|
-
const o = He(a), u =
|
|
661
|
-
return /* @__PURE__ */
|
|
654
|
+
const o = He(a), u = Te([r, or[nr], or[`${nr}--${a}`]]);
|
|
655
|
+
return /* @__PURE__ */ f("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
662
656
|
i && o && /* @__PURE__ */ l(kr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
663
657
|
e
|
|
664
658
|
] });
|
|
665
659
|
}, We = {
|
|
666
660
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
667
|
-
},
|
|
661
|
+
}, Ye = m.bind(We), Ke = "purpur-card-badge", Je = ({
|
|
668
662
|
["data-testid"]: e = "purpur-card-badge",
|
|
669
663
|
variant: i,
|
|
670
664
|
text: a
|
|
671
665
|
}) => i && a ? /* @__PURE__ */ l(
|
|
672
666
|
Ve,
|
|
673
667
|
{
|
|
674
|
-
className:
|
|
668
|
+
className: Ye(Ke),
|
|
675
669
|
variant: i,
|
|
676
670
|
showIcon: !1,
|
|
677
671
|
"data-testid": e,
|
|
678
672
|
children: a
|
|
679
673
|
}
|
|
680
|
-
) : null,
|
|
674
|
+
) : null, Qe = {
|
|
681
675
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
682
|
-
},
|
|
676
|
+
}, Xe = m.bind(Qe), rt = "purpur-card-content", et = ({
|
|
683
677
|
["data-testid"]: e = "purpur-card-content",
|
|
684
678
|
children: i
|
|
685
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
679
|
+
}) => /* @__PURE__ */ l("div", { className: Xe(rt), "data-testid": e, children: i }), tt = {
|
|
686
680
|
"purpur-card-content-container": "_purpur-card-content-container_ueryq_1",
|
|
687
681
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_ueryq_12"
|
|
688
682
|
}, at = m.bind(tt), pr = "purpur-card-content-container", it = ({
|
|
@@ -705,7 +699,7 @@ const ze = /* @__PURE__ */ Pe(Te), or = {
|
|
|
705
699
|
function ot(e) {
|
|
706
700
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
707
701
|
}
|
|
708
|
-
var
|
|
702
|
+
var Fr = { exports: {} };
|
|
709
703
|
/*!
|
|
710
704
|
Copyright (c) 2018 Jed Watson.
|
|
711
705
|
Licensed under the MIT License (MIT), see
|
|
@@ -740,9 +734,9 @@ var Or = { exports: {} };
|
|
|
740
734
|
}
|
|
741
735
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
742
736
|
})();
|
|
743
|
-
})(
|
|
744
|
-
var nt =
|
|
745
|
-
const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
737
|
+
})(Fr);
|
|
738
|
+
var nt = Fr.exports;
|
|
739
|
+
const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1", U = {
|
|
746
740
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
747
741
|
rotate: pt,
|
|
748
742
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
@@ -754,12 +748,8 @@ const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
754
748
|
dash: lt,
|
|
755
749
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
756
750
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
757
|
-
},
|
|
758
|
-
|
|
759
|
-
XS: "xs",
|
|
760
|
-
SM: "sm",
|
|
761
|
-
MD: "md",
|
|
762
|
-
LG: "lg"
|
|
751
|
+
}, I = "purpur-spinner", ut = {
|
|
752
|
+
SM: "sm"
|
|
763
753
|
}, Br = ({
|
|
764
754
|
["data-testid"]: e,
|
|
765
755
|
disabled: i = !1,
|
|
@@ -769,15 +759,15 @@ const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
769
759
|
}) => /* @__PURE__ */ l(
|
|
770
760
|
"div",
|
|
771
761
|
{
|
|
772
|
-
className: lr([
|
|
762
|
+
className: lr([U[I], U[`${I}--${n}`]]),
|
|
773
763
|
"data-testid": e,
|
|
774
764
|
...p,
|
|
775
765
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
776
766
|
"circle",
|
|
777
767
|
{
|
|
778
|
-
className: lr(
|
|
779
|
-
[
|
|
780
|
-
[
|
|
768
|
+
className: lr(U[`${I}__circle`], {
|
|
769
|
+
[U[`${I}__circle--disabled`]]: i,
|
|
770
|
+
[U[`${I}__circle--negative`]]: a
|
|
781
771
|
}),
|
|
782
772
|
cx: "25",
|
|
783
773
|
cy: "25",
|
|
@@ -800,7 +790,7 @@ const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
800
790
|
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_1fd16_98",
|
|
801
791
|
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_1fd16_108",
|
|
802
792
|
"purpur-card-cta--text": "_purpur-card-cta--text_1fd16_128"
|
|
803
|
-
}, dt = m.bind(st),
|
|
793
|
+
}, dt = m.bind(st), F = "purpur-card-cta", ct = ({
|
|
804
794
|
["data-testid"]: e = "purpur-card-cta",
|
|
805
795
|
className: i,
|
|
806
796
|
children: a,
|
|
@@ -813,19 +803,19 @@ const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
813
803
|
"div",
|
|
814
804
|
{
|
|
815
805
|
className: `${dt([
|
|
816
|
-
|
|
806
|
+
F,
|
|
817
807
|
i,
|
|
818
|
-
`${
|
|
819
|
-
`${
|
|
808
|
+
`${F}--md`,
|
|
809
|
+
`${F}--secondary`,
|
|
820
810
|
{
|
|
821
|
-
[`${
|
|
822
|
-
[`${
|
|
823
|
-
[`${
|
|
811
|
+
[`${F}--disabled`]: n,
|
|
812
|
+
[`${F}--icon-only`]: !t,
|
|
813
|
+
[`${F}--text`]: !!t
|
|
824
814
|
}
|
|
825
|
-
])} ${
|
|
815
|
+
])} ${F}`,
|
|
826
816
|
"data-testid": e,
|
|
827
817
|
...o,
|
|
828
|
-
children: r ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */
|
|
818
|
+
children: r ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ f(hr, { children: [
|
|
829
819
|
p === "left" && a,
|
|
830
820
|
t,
|
|
831
821
|
p === "right" && a
|
|
@@ -835,7 +825,7 @@ const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
|
|
|
835
825
|
function _t(e) {
|
|
836
826
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
837
827
|
}
|
|
838
|
-
var
|
|
828
|
+
var Ar = { exports: {} };
|
|
839
829
|
/*!
|
|
840
830
|
Copyright (c) 2018 Jed Watson.
|
|
841
831
|
Licensed under the MIT License (MIT), see
|
|
@@ -870,8 +860,8 @@ var Fr = { exports: {} };
|
|
|
870
860
|
}
|
|
871
861
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
872
862
|
})();
|
|
873
|
-
})(
|
|
874
|
-
var ft =
|
|
863
|
+
})(Ar);
|
|
864
|
+
var ft = Ar.exports;
|
|
875
865
|
const gt = /* @__PURE__ */ _t(ft), ht = {
|
|
876
866
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
877
867
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
@@ -890,36 +880,36 @@ const gt = /* @__PURE__ */ _t(ft), ht = {
|
|
|
890
880
|
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>',
|
|
891
881
|
keywords: ["checkmark"],
|
|
892
882
|
category: "utility"
|
|
893
|
-
},
|
|
894
|
-
|
|
883
|
+
}, Nr = (e) => /* @__PURE__ */ l(
|
|
884
|
+
Q,
|
|
895
885
|
{
|
|
896
886
|
...e,
|
|
897
887
|
svg: mt
|
|
898
888
|
}
|
|
899
889
|
);
|
|
900
|
-
|
|
901
|
-
const
|
|
902
|
-
|
|
890
|
+
Nr.displayName = "IconArrowRight";
|
|
891
|
+
const Mr = (e) => /* @__PURE__ */ l(
|
|
892
|
+
Q,
|
|
903
893
|
{
|
|
904
894
|
...e,
|
|
905
895
|
svg: vt
|
|
906
896
|
}
|
|
907
897
|
);
|
|
908
|
-
|
|
909
|
-
const yt = gt.bind(ht), ur = "purpur-icon",
|
|
898
|
+
Mr.displayName = "IconCheckmark";
|
|
899
|
+
const yt = gt.bind(ht), ur = "purpur-icon", wt = "md", xt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), bt = ({ content: e = "", title: i } = {}) => {
|
|
910
900
|
const a = [
|
|
911
901
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
912
902
|
{ name: "fill", value: "currentColor" },
|
|
913
903
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
914
904
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
915
905
|
], n = i ? `<title>${i}</title>` : "";
|
|
916
|
-
return `<svg ${
|
|
917
|
-
}, $t = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
906
|
+
return `<svg ${xt(a)}>${n}${e}</svg>`;
|
|
907
|
+
}, $t = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Q = ({
|
|
918
908
|
["data-testid"]: e,
|
|
919
909
|
svg: i,
|
|
920
910
|
allyTitle: a,
|
|
921
911
|
className: n,
|
|
922
|
-
size: p =
|
|
912
|
+
size: p = wt,
|
|
923
913
|
...r
|
|
924
914
|
}) => {
|
|
925
915
|
const t = bt({
|
|
@@ -937,11 +927,11 @@ const yt = gt.bind(ht), ur = "purpur-icon", xt = "md", wt = (e) => e.filter((i)
|
|
|
937
927
|
}
|
|
938
928
|
);
|
|
939
929
|
};
|
|
940
|
-
|
|
941
|
-
function
|
|
930
|
+
Q.displayName = "Icon";
|
|
931
|
+
function Ct(e) {
|
|
942
932
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
943
933
|
}
|
|
944
|
-
var
|
|
934
|
+
var Gr = { exports: {} };
|
|
945
935
|
/*!
|
|
946
936
|
Copyright (c) 2018 Jed Watson.
|
|
947
937
|
Licensed under the MIT License (MIT), see
|
|
@@ -976,9 +966,9 @@ var Er = { exports: {} };
|
|
|
976
966
|
}
|
|
977
967
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
978
968
|
})();
|
|
979
|
-
})(
|
|
980
|
-
var
|
|
981
|
-
const kt = /* @__PURE__ */ St
|
|
969
|
+
})(Gr);
|
|
970
|
+
var St = Gr.exports;
|
|
971
|
+
const kt = /* @__PURE__ */ Ct(St), q = {
|
|
982
972
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
983
973
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
984
974
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -993,58 +983,49 @@ const kt = /* @__PURE__ */ St(Ct), L = {
|
|
|
993
983
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
994
984
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
995
985
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
996
|
-
},
|
|
997
|
-
PARAGRAPH100: "paragraph-100"
|
|
998
|
-
|
|
999
|
-
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
1000
|
-
PARAGRAPH200: "paragraph-200",
|
|
1001
|
-
PREAMBLE100: "preamble-100",
|
|
1002
|
-
PREAMBLE200: "preamble-200",
|
|
1003
|
-
ADDITIONAL100: "additional-100",
|
|
1004
|
-
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
1005
|
-
OVERLINE100: "overline-100",
|
|
1006
|
-
OVERLINE200: "overline-200"
|
|
1007
|
-
}, R = "purpur-paragraph", Q = ({
|
|
986
|
+
}, Ot = {
|
|
987
|
+
PARAGRAPH100: "paragraph-100"
|
|
988
|
+
}, L = "purpur-paragraph", X = ({
|
|
1008
989
|
["data-testid"]: e,
|
|
1009
990
|
children: i,
|
|
1010
991
|
className: a,
|
|
1011
992
|
disabled: n,
|
|
1012
993
|
enableHyphenation: p = !1,
|
|
1013
994
|
negative: r = !1,
|
|
1014
|
-
variant: t =
|
|
995
|
+
variant: t = Ot.PARAGRAPH100,
|
|
1015
996
|
...o
|
|
1016
997
|
}) => {
|
|
1017
998
|
const u = kt([
|
|
1018
999
|
a,
|
|
1019
|
-
L
|
|
1020
|
-
|
|
1000
|
+
q[L],
|
|
1001
|
+
q[`${L}--${t}`],
|
|
1021
1002
|
{
|
|
1022
|
-
[
|
|
1023
|
-
[
|
|
1024
|
-
[
|
|
1003
|
+
[q[`${L}--hyphens`]]: p,
|
|
1004
|
+
[q[`${L}--disabled`]]: n,
|
|
1005
|
+
[q[`${L}--negative`]]: r
|
|
1025
1006
|
}
|
|
1026
1007
|
]);
|
|
1027
1008
|
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1028
1009
|
};
|
|
1029
|
-
|
|
1030
|
-
const
|
|
1010
|
+
X.displayName = "Paragraph";
|
|
1011
|
+
const Ft = {
|
|
1031
1012
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1032
1013
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1033
|
-
}, sr = m.bind(
|
|
1014
|
+
}, sr = m.bind(Ft), dr = "purpur-card-feature-list", Bt = ({
|
|
1034
1015
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1035
1016
|
listItems: i
|
|
1036
|
-
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: sr(dr), "data-testid": e, children: i.map((a) => /* @__PURE__ */
|
|
1017
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: sr(dr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ f(
|
|
1037
1018
|
"li",
|
|
1038
1019
|
{
|
|
1039
1020
|
className: sr(`${dr}__list-item`),
|
|
1040
1021
|
"data-testid": `${e}-item`,
|
|
1041
1022
|
children: [
|
|
1042
|
-
/* @__PURE__ */ l(
|
|
1043
|
-
/* @__PURE__ */ l(
|
|
1023
|
+
/* @__PURE__ */ l(Mr, { size: "xs" }),
|
|
1024
|
+
/* @__PURE__ */ l(X, { children: a })
|
|
1044
1025
|
]
|
|
1045
1026
|
},
|
|
1046
1027
|
a
|
|
1047
|
-
)) }) : null,
|
|
1028
|
+
)) }) : null, At = {
|
|
1048
1029
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
|
|
1049
1030
|
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
|
|
1050
1031
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
|
|
@@ -1058,7 +1039,7 @@ const Ot = {
|
|
|
1058
1039
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
|
|
1059
1040
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
|
|
1060
1041
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
|
|
1061
|
-
},
|
|
1042
|
+
}, Nt = m.bind(At), N = "purpur-card-link-arrow", Mt = ({
|
|
1062
1043
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
1063
1044
|
className: i,
|
|
1064
1045
|
disabled: a = !1,
|
|
@@ -1067,78 +1048,78 @@ const Ot = {
|
|
|
1067
1048
|
}) => /* @__PURE__ */ l(
|
|
1068
1049
|
"div",
|
|
1069
1050
|
{
|
|
1070
|
-
className: `${
|
|
1071
|
-
|
|
1051
|
+
className: `${Nt([
|
|
1052
|
+
N,
|
|
1072
1053
|
i,
|
|
1073
|
-
`${
|
|
1074
|
-
`${
|
|
1075
|
-
`${
|
|
1054
|
+
`${N}--md`,
|
|
1055
|
+
`${N}--icon-only`,
|
|
1056
|
+
`${N}--secondary`,
|
|
1076
1057
|
{
|
|
1077
|
-
[`${
|
|
1058
|
+
[`${N}--disabled`]: a
|
|
1078
1059
|
}
|
|
1079
|
-
])} ${
|
|
1060
|
+
])} ${N}`,
|
|
1080
1061
|
"data-testid": e,
|
|
1081
1062
|
...p,
|
|
1082
|
-
children: n ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(
|
|
1063
|
+
children: n ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(Nr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
1083
1064
|
}
|
|
1084
|
-
),
|
|
1065
|
+
), Gt = {
|
|
1085
1066
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1086
|
-
},
|
|
1067
|
+
}, Zt = m.bind(Gt), Et = "purpur-card-overline", jt = ({
|
|
1087
1068
|
["data-testid"]: e = "purpur-card-overline",
|
|
1088
1069
|
overline: i
|
|
1089
|
-
}) => i ? /* @__PURE__ */ l(
|
|
1070
|
+
}) => i ? /* @__PURE__ */ l(X, { className: Zt(Et), "data-testid": e, children: i }) : null, Ut = {
|
|
1090
1071
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1091
1072
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1092
1073
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1093
1074
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1094
|
-
},
|
|
1075
|
+
}, It = {
|
|
1095
1076
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1096
1077
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1097
1078
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
1098
1079
|
};
|
|
1099
|
-
function
|
|
1100
|
-
return
|
|
1080
|
+
function G() {
|
|
1081
|
+
return G = Object.assign ? Object.assign.bind() : function(e) {
|
|
1101
1082
|
for (var i = 1; i < arguments.length; i++) {
|
|
1102
1083
|
var a = arguments[i];
|
|
1103
1084
|
for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
1104
1085
|
}
|
|
1105
1086
|
return e;
|
|
1106
|
-
},
|
|
1087
|
+
}, G.apply(null, arguments);
|
|
1107
1088
|
}
|
|
1108
|
-
function
|
|
1089
|
+
function qt(e, i) {
|
|
1109
1090
|
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
1110
1091
|
}
|
|
1111
|
-
function
|
|
1092
|
+
function Lt(...e) {
|
|
1112
1093
|
return (i) => e.forEach(
|
|
1113
|
-
(a) =>
|
|
1094
|
+
(a) => qt(a, i)
|
|
1114
1095
|
);
|
|
1115
1096
|
}
|
|
1116
|
-
const
|
|
1117
|
-
const { children: a, ...n } = e, p =
|
|
1097
|
+
const Zr = /* @__PURE__ */ C((e, i) => {
|
|
1098
|
+
const { children: a, ...n } = e, p = z.toArray(a), r = p.find(Pt);
|
|
1118
1099
|
if (r) {
|
|
1119
|
-
const t = r.props.children, o = p.map((u) => u === r ?
|
|
1120
|
-
return /* @__PURE__ */
|
|
1100
|
+
const t = r.props.children, o = p.map((u) => u === r ? z.count(t) > 1 ? z.only(null) : /* @__PURE__ */ V(t) ? t.props.children : null : u);
|
|
1101
|
+
return /* @__PURE__ */ P(K, G({}, n, {
|
|
1121
1102
|
ref: i
|
|
1122
1103
|
}), /* @__PURE__ */ V(t) ? /* @__PURE__ */ mr(t, void 0, o) : null);
|
|
1123
1104
|
}
|
|
1124
|
-
return /* @__PURE__ */
|
|
1105
|
+
return /* @__PURE__ */ P(K, G({}, n, {
|
|
1125
1106
|
ref: i
|
|
1126
1107
|
}), a);
|
|
1127
1108
|
});
|
|
1128
|
-
|
|
1129
|
-
const K = /* @__PURE__ */
|
|
1109
|
+
Zr.displayName = "Slot";
|
|
1110
|
+
const K = /* @__PURE__ */ C((e, i) => {
|
|
1130
1111
|
const { children: a, ...n } = e;
|
|
1131
1112
|
return /* @__PURE__ */ V(a) ? /* @__PURE__ */ mr(a, {
|
|
1132
|
-
...
|
|
1133
|
-
ref: i ?
|
|
1134
|
-
}) :
|
|
1113
|
+
...Rt(n, a.props),
|
|
1114
|
+
ref: i ? Lt(i, a.ref) : a.ref
|
|
1115
|
+
}) : z.count(a) > 1 ? z.only(null) : null;
|
|
1135
1116
|
});
|
|
1136
1117
|
K.displayName = "SlotClone";
|
|
1137
|
-
const
|
|
1138
|
-
function
|
|
1139
|
-
return /* @__PURE__ */ V(e) && e.type ===
|
|
1118
|
+
const zt = ({ children: e }) => /* @__PURE__ */ P(Pr, null, e);
|
|
1119
|
+
function Pt(e) {
|
|
1120
|
+
return /* @__PURE__ */ V(e) && e.type === zt;
|
|
1140
1121
|
}
|
|
1141
|
-
function
|
|
1122
|
+
function Rt(e, i) {
|
|
1142
1123
|
const a = {
|
|
1143
1124
|
...i
|
|
1144
1125
|
};
|
|
@@ -1159,7 +1140,7 @@ function Pt(e, i) {
|
|
|
1159
1140
|
...a
|
|
1160
1141
|
};
|
|
1161
1142
|
}
|
|
1162
|
-
const
|
|
1143
|
+
const Dt = [
|
|
1163
1144
|
"a",
|
|
1164
1145
|
"button",
|
|
1165
1146
|
"div",
|
|
@@ -1176,12 +1157,12 @@ const Tt = [
|
|
|
1176
1157
|
"span",
|
|
1177
1158
|
"svg",
|
|
1178
1159
|
"ul"
|
|
1179
|
-
],
|
|
1180
|
-
const a = /* @__PURE__ */
|
|
1181
|
-
const { asChild: r, ...t } = n, o = r ?
|
|
1182
|
-
return
|
|
1160
|
+
], Tt = Dt.reduce((e, i) => {
|
|
1161
|
+
const a = /* @__PURE__ */ C((n, p) => {
|
|
1162
|
+
const { asChild: r, ...t } = n, o = r ? Zr : i;
|
|
1163
|
+
return Rr(() => {
|
|
1183
1164
|
window[Symbol.for("radix-ui")] = !0;
|
|
1184
|
-
}, []), /* @__PURE__ */
|
|
1165
|
+
}, []), /* @__PURE__ */ P(o, G({}, t, {
|
|
1185
1166
|
ref: p
|
|
1186
1167
|
}));
|
|
1187
1168
|
});
|
|
@@ -1189,7 +1170,7 @@ const Tt = [
|
|
|
1189
1170
|
...e,
|
|
1190
1171
|
[i]: a
|
|
1191
1172
|
};
|
|
1192
|
-
}, {}), Ht = /* @__PURE__ */
|
|
1173
|
+
}, {}), Ht = /* @__PURE__ */ C((e, i) => /* @__PURE__ */ P(Tt.span, G({}, e, {
|
|
1193
1174
|
ref: i,
|
|
1194
1175
|
style: {
|
|
1195
1176
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -1210,7 +1191,7 @@ const Tt = [
|
|
|
1210
1191
|
children: i,
|
|
1211
1192
|
className: a = "",
|
|
1212
1193
|
["data-testid"]: n
|
|
1213
|
-
}) => /* @__PURE__ */ l(Vt, { asChild: e, "data-testid": n, className: a, children: i }), _r = m.bind(
|
|
1194
|
+
}) => /* @__PURE__ */ l(Vt, { asChild: e, "data-testid": n, className: a, children: i }), _r = m.bind(It), B = "purpur-card-trigger-item", Wt = ({
|
|
1214
1195
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1215
1196
|
disabled: i = !1,
|
|
1216
1197
|
href: a,
|
|
@@ -1255,7 +1236,7 @@ const Tt = [
|
|
|
1255
1236
|
children: /* @__PURE__ */ l(cr, { children: p })
|
|
1256
1237
|
}
|
|
1257
1238
|
);
|
|
1258
|
-
},
|
|
1239
|
+
}, Yt = m.bind(Ut), W = "purpur-card-root", Er = C(
|
|
1259
1240
|
({
|
|
1260
1241
|
["data-testid"]: e = "purpur-card-root",
|
|
1261
1242
|
children: i,
|
|
@@ -1266,9 +1247,9 @@ const Tt = [
|
|
|
1266
1247
|
onClick: t,
|
|
1267
1248
|
screenReaderText: o,
|
|
1268
1249
|
variant: u,
|
|
1269
|
-
...
|
|
1250
|
+
...d
|
|
1270
1251
|
}, g) => {
|
|
1271
|
-
const
|
|
1252
|
+
const x = Yt([
|
|
1272
1253
|
W,
|
|
1273
1254
|
a,
|
|
1274
1255
|
{
|
|
@@ -1276,7 +1257,7 @@ const Tt = [
|
|
|
1276
1257
|
[`${W}--full-height`]: p
|
|
1277
1258
|
}
|
|
1278
1259
|
]);
|
|
1279
|
-
return /* @__PURE__ */
|
|
1260
|
+
return /* @__PURE__ */ f("div", { className: x, "data-testid": e, ref: g, ...d, children: [
|
|
1280
1261
|
i,
|
|
1281
1262
|
(t || r) && o && /* @__PURE__ */ l(
|
|
1282
1263
|
Wt,
|
|
@@ -1290,30 +1271,30 @@ const Tt = [
|
|
|
1290
1271
|
] });
|
|
1291
1272
|
}
|
|
1292
1273
|
);
|
|
1293
|
-
|
|
1294
|
-
const fr = m.bind(ke),
|
|
1274
|
+
Er.displayName = "CardRoot";
|
|
1275
|
+
const fr = m.bind(ke), Y = "purpur-card", w = ({ children: e, className: i, ...a }) => {
|
|
1295
1276
|
const n = fr([
|
|
1296
|
-
|
|
1277
|
+
Y,
|
|
1297
1278
|
i,
|
|
1298
1279
|
{
|
|
1299
|
-
[`${
|
|
1300
|
-
[`${
|
|
1280
|
+
[`${Y}--is-interactive`]: a.onClick || a.href,
|
|
1281
|
+
[`${Y}--disabled`]: a.disabled
|
|
1301
1282
|
}
|
|
1302
1283
|
]);
|
|
1303
|
-
return /* @__PURE__ */ l(
|
|
1284
|
+
return /* @__PURE__ */ l(Er, { className: fr(n), ...a, children: e });
|
|
1304
1285
|
};
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1286
|
+
w.Badge = Je;
|
|
1287
|
+
w.LinkArrow = Mt;
|
|
1288
|
+
w.Content = et;
|
|
1289
|
+
w.ContentContainer = it;
|
|
1290
|
+
w.Cta = ct;
|
|
1291
|
+
w.FeatureList = Bt;
|
|
1292
|
+
w.Overline = jt;
|
|
1293
|
+
w.displayName = "Card";
|
|
1313
1294
|
function Kt(e) {
|
|
1314
1295
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1315
1296
|
}
|
|
1316
|
-
var
|
|
1297
|
+
var jr = { exports: {} };
|
|
1317
1298
|
/*!
|
|
1318
1299
|
Copyright (c) 2018 Jed Watson.
|
|
1319
1300
|
Licensed under the MIT License (MIT), see
|
|
@@ -1348,9 +1329,9 @@ var Ir = { exports: {} };
|
|
|
1348
1329
|
}
|
|
1349
1330
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1350
1331
|
})();
|
|
1351
|
-
})(
|
|
1352
|
-
var
|
|
1353
|
-
const
|
|
1332
|
+
})(jr);
|
|
1333
|
+
var Jt = jr.exports;
|
|
1334
|
+
const Qt = /* @__PURE__ */ Kt(Jt), Xt = {
|
|
1354
1335
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1355
1336
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1356
1337
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1378,7 +1359,7 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
|
|
|
1378
1359
|
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>',
|
|
1379
1360
|
keywords: ["phone"],
|
|
1380
1361
|
category: "device"
|
|
1381
|
-
}, ia =
|
|
1362
|
+
}, ia = Qt.bind(Xt), gr = "purpur-icon", oa = "md", na = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), pa = ({ content: e = "", title: i } = {}) => {
|
|
1382
1363
|
const a = [
|
|
1383
1364
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1384
1365
|
{ name: "fill", value: "currentColor" },
|
|
@@ -1386,7 +1367,7 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
|
|
|
1386
1367
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1387
1368
|
], n = i ? `<title>${i}</title>` : "";
|
|
1388
1369
|
return `<svg ${na(a)}>${n}${e}</svg>`;
|
|
1389
|
-
}, la = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(),
|
|
1370
|
+
}, la = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), J = ({
|
|
1390
1371
|
["data-testid"]: e,
|
|
1391
1372
|
svg: i,
|
|
1392
1373
|
allyTitle: a,
|
|
@@ -1409,11 +1390,11 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
|
|
|
1409
1390
|
}
|
|
1410
1391
|
);
|
|
1411
1392
|
};
|
|
1412
|
-
|
|
1393
|
+
J.displayName = "Icon";
|
|
1413
1394
|
function ua(e) {
|
|
1414
1395
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1415
1396
|
}
|
|
1416
|
-
var
|
|
1397
|
+
var Ur = { exports: {} };
|
|
1417
1398
|
/*!
|
|
1418
1399
|
Copyright (c) 2018 Jed Watson.
|
|
1419
1400
|
Licensed under the MIT License (MIT), see
|
|
@@ -1448,8 +1429,8 @@ var jr = { exports: {} };
|
|
|
1448
1429
|
}
|
|
1449
1430
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1450
1431
|
})();
|
|
1451
|
-
})(
|
|
1452
|
-
var sa =
|
|
1432
|
+
})(Ur);
|
|
1433
|
+
var sa = Ur.exports;
|
|
1453
1434
|
const da = /* @__PURE__ */ ua(sa), ca = {
|
|
1454
1435
|
"purpur-cta-link": "_purpur-cta-link_1mhg7_1",
|
|
1455
1436
|
"purpur-cta-link--sm": "_purpur-cta-link--sm_1mhg7_33",
|
|
@@ -1464,52 +1445,53 @@ const da = /* @__PURE__ */ ua(sa), ca = {
|
|
|
1464
1445
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1mhg7_87",
|
|
1465
1446
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1mhg7_98",
|
|
1466
1447
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1mhg7_108"
|
|
1467
|
-
}, _a = da.bind(ca),
|
|
1448
|
+
}, _a = da.bind(ca), M = "purpur-cta-link", fa = {
|
|
1468
1449
|
forward: ea,
|
|
1469
1450
|
external: ta,
|
|
1470
1451
|
back: ra,
|
|
1471
1452
|
phone: aa
|
|
1472
|
-
}, ga =
|
|
1453
|
+
}, ga = C(
|
|
1473
1454
|
({
|
|
1474
1455
|
children: e,
|
|
1475
1456
|
className: i,
|
|
1476
1457
|
["data-testid"]: a,
|
|
1477
1458
|
fullWidth: n = !1,
|
|
1478
1459
|
iconOnly: p = !1,
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1460
|
+
showIcon: r = !0,
|
|
1461
|
+
negative: t = !1,
|
|
1462
|
+
size: o = "md",
|
|
1463
|
+
variant: u,
|
|
1464
|
+
icon: d = "forward",
|
|
1465
|
+
...g
|
|
1466
|
+
}, x) => {
|
|
1467
|
+
const c = _a(
|
|
1486
1468
|
[
|
|
1487
1469
|
i,
|
|
1488
|
-
|
|
1489
|
-
`${
|
|
1490
|
-
`${
|
|
1470
|
+
M,
|
|
1471
|
+
`${M}--${t ? `${u}-negative` : u}`,
|
|
1472
|
+
`${M}--${o}`
|
|
1491
1473
|
],
|
|
1492
1474
|
{
|
|
1493
|
-
[`${
|
|
1494
|
-
[`${
|
|
1495
|
-
[`${
|
|
1475
|
+
[`${M}--icon-only`]: p,
|
|
1476
|
+
[`${M}--negative`]: t,
|
|
1477
|
+
[`${M}--full-width`]: n
|
|
1496
1478
|
}
|
|
1497
|
-
),
|
|
1498
|
-
(
|
|
1499
|
-
!p && e,
|
|
1500
|
-
(
|
|
1501
|
-
] }),
|
|
1502
|
-
...
|
|
1503
|
-
className:
|
|
1479
|
+
), A = fa[d], v = /* @__PURE__ */ f(hr, { children: [
|
|
1480
|
+
r && (d === "back" || d === "phone") && /* @__PURE__ */ l(J, { svg: A, size: o === "lg" ? "sm" : "xs" }),
|
|
1481
|
+
(!p || p && !r) && e,
|
|
1482
|
+
r && (d === "forward" || d === "external") && /* @__PURE__ */ l(J, { svg: A, size: o === "lg" ? "sm" : "xs" })
|
|
1483
|
+
] }), _ = {
|
|
1484
|
+
...g,
|
|
1485
|
+
className: c,
|
|
1504
1486
|
"data-testid": a
|
|
1505
1487
|
};
|
|
1506
|
-
return "href" in
|
|
1488
|
+
return "href" in g && g.href ? /* @__PURE__ */ l("a", { ..._, ref: x, children: v }) : /* @__PURE__ */ l("span", { ..._, ref: x, children: v });
|
|
1507
1489
|
}
|
|
1508
1490
|
);
|
|
1509
1491
|
function ha(e) {
|
|
1510
1492
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1511
1493
|
}
|
|
1512
|
-
var
|
|
1494
|
+
var Ir = { exports: {} };
|
|
1513
1495
|
/*!
|
|
1514
1496
|
Copyright (c) 2018 Jed Watson.
|
|
1515
1497
|
Licensed under the MIT License (MIT), see
|
|
@@ -1544,9 +1526,9 @@ var Ur = { exports: {} };
|
|
|
1544
1526
|
}
|
|
1545
1527
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1546
1528
|
})();
|
|
1547
|
-
})(
|
|
1548
|
-
var ma =
|
|
1549
|
-
const va = /* @__PURE__ */ ha(ma),
|
|
1529
|
+
})(Ir);
|
|
1530
|
+
var ma = Ir.exports;
|
|
1531
|
+
const va = /* @__PURE__ */ ha(ma), T = {
|
|
1550
1532
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1551
1533
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1552
1534
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1563,15 +1545,8 @@ const va = /* @__PURE__ */ ha(ma), z = {
|
|
|
1563
1545
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1564
1546
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1565
1547
|
}, ya = {
|
|
1566
|
-
TITLE100: "title-100"
|
|
1567
|
-
|
|
1568
|
-
TITLE300: "title-300",
|
|
1569
|
-
TITLE400: "title-400",
|
|
1570
|
-
TITLE500: "title-500",
|
|
1571
|
-
TITLE600: "title-600",
|
|
1572
|
-
TITLE700: "title-700",
|
|
1573
|
-
SUBSECTION100: "subsection-100"
|
|
1574
|
-
}, H = "purpur-heading", Lr = ({
|
|
1548
|
+
TITLE100: "title-100"
|
|
1549
|
+
}, H = "purpur-heading", qr = ({
|
|
1575
1550
|
["data-testid"]: e,
|
|
1576
1551
|
children: i,
|
|
1577
1552
|
className: a = "",
|
|
@@ -1581,22 +1556,22 @@ const va = /* @__PURE__ */ ha(ma), z = {
|
|
|
1581
1556
|
variant: t = ya.TITLE100,
|
|
1582
1557
|
...o
|
|
1583
1558
|
}) => {
|
|
1584
|
-
const u = r,
|
|
1559
|
+
const u = r, d = va([
|
|
1585
1560
|
a,
|
|
1586
|
-
|
|
1587
|
-
|
|
1561
|
+
T[H],
|
|
1562
|
+
T[`${H}--${t}`],
|
|
1588
1563
|
{
|
|
1589
|
-
[
|
|
1590
|
-
[
|
|
1564
|
+
[T[`${H}--hyphens`]]: n,
|
|
1565
|
+
[T[`${H}--negative`]]: p
|
|
1591
1566
|
}
|
|
1592
1567
|
]);
|
|
1593
|
-
return /* @__PURE__ */ l(u, { ...o, className:
|
|
1568
|
+
return /* @__PURE__ */ l(u, { ...o, className: d, "data-testid": e, children: i });
|
|
1594
1569
|
};
|
|
1595
|
-
|
|
1596
|
-
function
|
|
1570
|
+
qr.displayName = "Heading";
|
|
1571
|
+
function wa(e) {
|
|
1597
1572
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1598
1573
|
}
|
|
1599
|
-
var
|
|
1574
|
+
var Lr = { exports: {} };
|
|
1600
1575
|
/*!
|
|
1601
1576
|
Copyright (c) 2018 Jed Watson.
|
|
1602
1577
|
Licensed under the MIT License (MIT), see
|
|
@@ -1631,9 +1606,9 @@ var Rr = { exports: {} };
|
|
|
1631
1606
|
}
|
|
1632
1607
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1633
1608
|
})();
|
|
1634
|
-
})(
|
|
1635
|
-
var
|
|
1636
|
-
const ba = /* @__PURE__ */ xa
|
|
1609
|
+
})(Lr);
|
|
1610
|
+
var xa = Lr.exports;
|
|
1611
|
+
const ba = /* @__PURE__ */ wa(xa), $a = {
|
|
1637
1612
|
"purpur-promotion-card": "_purpur-promotion-card_12rh3_1",
|
|
1638
1613
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_12rh3_8",
|
|
1639
1614
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_12rh3_8",
|
|
@@ -1651,11 +1626,11 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1651
1626
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_12rh3_140",
|
|
1652
1627
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_12rh3_143",
|
|
1653
1628
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_12rh3_144"
|
|
1654
|
-
},
|
|
1629
|
+
}, Ea = ["primary", "secondary", "quaternary"], Ca = {
|
|
1655
1630
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1656
1631
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1657
1632
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1658
|
-
},
|
|
1633
|
+
}, Sa = {
|
|
1659
1634
|
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>')`,
|
|
1660
1635
|
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>')`,
|
|
1661
1636
|
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>')`
|
|
@@ -1663,7 +1638,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1663
1638
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1664
1639
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1665
1640
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1666
|
-
},
|
|
1641
|
+
}, h = ba.bind($a), s = "purpur-promotion-card", Oa = ({
|
|
1667
1642
|
["data-testid"]: e,
|
|
1668
1643
|
variant: i = "primary",
|
|
1669
1644
|
badgeText: a,
|
|
@@ -1673,104 +1648,104 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1673
1648
|
titleVariant: t = "title-300",
|
|
1674
1649
|
enableTitleHyphenation: o = !0,
|
|
1675
1650
|
className: u,
|
|
1676
|
-
actions:
|
|
1651
|
+
actions: d,
|
|
1677
1652
|
children: g,
|
|
1678
|
-
style:
|
|
1679
|
-
...
|
|
1680
|
-
},
|
|
1681
|
-
let v =
|
|
1682
|
-
if ("decorativeImage" in
|
|
1683
|
-
const { hasGradient: y, decorativeImage: k, ...
|
|
1684
|
-
|
|
1685
|
-
} else if ("productImage" in
|
|
1686
|
-
const { hasGradient: y, productImage: k, ...
|
|
1687
|
-
|
|
1688
|
-
} else if ("hasGradient" in
|
|
1689
|
-
const { hasGradient: y, ...k } =
|
|
1690
|
-
|
|
1653
|
+
style: x,
|
|
1654
|
+
...c
|
|
1655
|
+
}, A) => {
|
|
1656
|
+
let v = c, _, S;
|
|
1657
|
+
if ("decorativeImage" in c) {
|
|
1658
|
+
const { hasGradient: y, decorativeImage: k, ...Z } = c;
|
|
1659
|
+
_ = k, S = y, v = Z;
|
|
1660
|
+
} else if ("productImage" in c) {
|
|
1661
|
+
const { hasGradient: y, productImage: k, ...Z } = c;
|
|
1662
|
+
_ = k, S = y, v = Z;
|
|
1663
|
+
} else if ("hasGradient" in c) {
|
|
1664
|
+
const { hasGradient: y, ...k } = c;
|
|
1665
|
+
S = y, v = k;
|
|
1691
1666
|
}
|
|
1692
|
-
const
|
|
1693
|
-
"--promotion-card-background":
|
|
1667
|
+
const R = {
|
|
1668
|
+
"--promotion-card-background": Ca[i],
|
|
1694
1669
|
"--promotion-card-color": ka[i],
|
|
1695
|
-
"--promotion-card-background-image":
|
|
1670
|
+
"--promotion-card-background-image": Sa[i]
|
|
1696
1671
|
};
|
|
1697
|
-
return /* @__PURE__ */ l(
|
|
1672
|
+
return /* @__PURE__ */ l(w, { ref: A, className: h(`${s}__card`), children: /* @__PURE__ */ f(
|
|
1698
1673
|
"div",
|
|
1699
1674
|
{
|
|
1700
1675
|
"data-testid": e,
|
|
1701
1676
|
style: {
|
|
1702
|
-
...
|
|
1703
|
-
...
|
|
1677
|
+
...R,
|
|
1678
|
+
...x
|
|
1704
1679
|
},
|
|
1705
|
-
className:
|
|
1680
|
+
className: h([
|
|
1706
1681
|
u,
|
|
1707
1682
|
s,
|
|
1708
1683
|
`${s}--${i}`,
|
|
1709
1684
|
{
|
|
1710
|
-
[`${s}--with-image`]:
|
|
1711
|
-
[`${s}--without-image`]: !
|
|
1685
|
+
[`${s}--with-image`]: _,
|
|
1686
|
+
[`${s}--without-image`]: !_
|
|
1712
1687
|
}
|
|
1713
1688
|
]),
|
|
1714
1689
|
...v,
|
|
1715
1690
|
children: [
|
|
1716
|
-
/* @__PURE__ */
|
|
1691
|
+
/* @__PURE__ */ f(
|
|
1717
1692
|
"div",
|
|
1718
1693
|
{
|
|
1719
|
-
className:
|
|
1694
|
+
className: h([
|
|
1720
1695
|
`${s}__content`,
|
|
1721
1696
|
{
|
|
1722
|
-
[`${s}__content--with-image`]:
|
|
1723
|
-
[`${s}__content--without-image`]: !
|
|
1697
|
+
[`${s}__content--with-image`]: _,
|
|
1698
|
+
[`${s}__content--without-image`]: !_
|
|
1724
1699
|
}
|
|
1725
1700
|
]),
|
|
1726
1701
|
children: [
|
|
1727
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className:
|
|
1702
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: h(`${s}__badge-wrapper`), children: /* @__PURE__ */ f(se, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1728
1703
|
n && n,
|
|
1729
1704
|
a
|
|
1730
1705
|
] }) }),
|
|
1731
|
-
/* @__PURE__ */
|
|
1706
|
+
/* @__PURE__ */ f("div", { className: h(`${s}__main-content`), children: [
|
|
1732
1707
|
/* @__PURE__ */ l(
|
|
1733
|
-
|
|
1708
|
+
qr,
|
|
1734
1709
|
{
|
|
1735
1710
|
tag: r,
|
|
1736
1711
|
variant: t,
|
|
1737
1712
|
enableHyphenation: o,
|
|
1738
|
-
className:
|
|
1713
|
+
className: h(`${s}__heading`),
|
|
1739
1714
|
children: p
|
|
1740
1715
|
}
|
|
1741
1716
|
),
|
|
1742
|
-
/* @__PURE__ */
|
|
1743
|
-
/* @__PURE__ */ l("div", { className:
|
|
1744
|
-
|
|
1745
|
-
const
|
|
1746
|
-
variant: k ??
|
|
1717
|
+
/* @__PURE__ */ f("div", { className: h(`${s}__body`), children: [
|
|
1718
|
+
/* @__PURE__ */ l("div", { className: h(`${s}__child-content`), children: g }),
|
|
1719
|
+
d && d.length > 0 && /* @__PURE__ */ l("div", { className: h(`${s}__actions`), children: d.map(({ label: y, variant: k, ...Z }, zr) => {
|
|
1720
|
+
const D = {
|
|
1721
|
+
variant: k ?? zr === 0 ? "primary" : "secondary",
|
|
1747
1722
|
negative: i === "primary",
|
|
1748
|
-
...
|
|
1723
|
+
...Z,
|
|
1749
1724
|
children: y
|
|
1750
1725
|
};
|
|
1751
|
-
return
|
|
1726
|
+
return Fa(D) ? /* @__PURE__ */ l(ga, { ...D }, y) : Ba(D) ? /* @__PURE__ */ l($r, { ...D }, y) : null;
|
|
1752
1727
|
}) })
|
|
1753
1728
|
] })
|
|
1754
1729
|
] })
|
|
1755
1730
|
]
|
|
1756
1731
|
}
|
|
1757
1732
|
),
|
|
1758
|
-
|
|
1733
|
+
_ && /* @__PURE__ */ f(
|
|
1759
1734
|
"div",
|
|
1760
1735
|
{
|
|
1761
|
-
className:
|
|
1736
|
+
className: h([
|
|
1762
1737
|
`${s}__image-wrapper`,
|
|
1763
1738
|
{
|
|
1764
|
-
[`${s}__image-wrapper--product`]: "productImage" in
|
|
1765
|
-
[`${s}__image-wrapper--decorative`]: "decorativeImage" in
|
|
1739
|
+
[`${s}__image-wrapper--product`]: "productImage" in c,
|
|
1740
|
+
[`${s}__image-wrapper--decorative`]: "decorativeImage" in c
|
|
1766
1741
|
}
|
|
1767
1742
|
]),
|
|
1768
1743
|
children: [
|
|
1769
|
-
|
|
1770
|
-
|
|
1744
|
+
_,
|
|
1745
|
+
S && /* @__PURE__ */ l(
|
|
1771
1746
|
"div",
|
|
1772
1747
|
{
|
|
1773
|
-
className:
|
|
1748
|
+
className: h(`${s}__image-gradient`),
|
|
1774
1749
|
"data-testid": "promotion-card-gradient"
|
|
1775
1750
|
}
|
|
1776
1751
|
)
|
|
@@ -1780,10 +1755,10 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
|
1780
1755
|
]
|
|
1781
1756
|
}
|
|
1782
1757
|
) });
|
|
1783
|
-
},
|
|
1784
|
-
|
|
1758
|
+
}, Fa = (e) => "href" in e, Ba = (e) => "onClick" in e, Aa = C(Oa);
|
|
1759
|
+
Aa.displayName = "PromotionCard";
|
|
1785
1760
|
export {
|
|
1786
|
-
|
|
1787
|
-
|
|
1761
|
+
Aa as PromotionCard,
|
|
1762
|
+
Ea as promotionCardVariants
|
|
1788
1763
|
};
|
|
1789
1764
|
//# sourceMappingURL=promotion-card.es.js.map
|