@purpurds/promotion-card 5.17.0 → 5.18.1
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 +3 -3
- package/dist/promotion-card.cjs.js +11 -11
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +416 -369
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +10 -10
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as c, jsx as l, Fragment as Cr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as E, Children as O, isValidElement as U, createElement as M, cloneElement as or, useEffect as Sr, Fragment as Ar } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function Fr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var ir = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
@@ -39,9 +39,9 @@ var or = { exports: {} };
|
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
42
|
+
})(ir);
|
|
43
|
+
var kr = ir.exports;
|
|
44
|
+
const Br = /* @__PURE__ */ Fr(kr), $r = {
|
|
45
45
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
46
46
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
47
47
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -49,61 +49,61 @@ const Ar = /* @__PURE__ */ br(Sr), Fr = {
|
|
|
49
49
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
50
50
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
51
51
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
52
|
-
},
|
|
52
|
+
}, Or = {
|
|
53
53
|
name: "alert",
|
|
54
54
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
55
55
|
keywords: ["alert"],
|
|
56
56
|
category: "status"
|
|
57
|
-
},
|
|
57
|
+
}, Mr = {
|
|
58
58
|
name: "check-circle",
|
|
59
59
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
60
60
|
keywords: ["check-circle"],
|
|
61
61
|
category: "status"
|
|
62
|
-
},
|
|
62
|
+
}, Er = {
|
|
63
63
|
name: "error",
|
|
64
64
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
65
65
|
keywords: ["error"],
|
|
66
66
|
category: "status"
|
|
67
|
-
},
|
|
67
|
+
}, Nr = {
|
|
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
|
+
}, Gr = {
|
|
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
|
+
}, Zr = {
|
|
78
78
|
name: "question",
|
|
79
79
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
80
80
|
keywords: ["question"],
|
|
81
81
|
category: "status"
|
|
82
|
-
},
|
|
82
|
+
}, Ir = {
|
|
83
83
|
name: "tag",
|
|
84
84
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
85
85
|
keywords: ["tag"],
|
|
86
86
|
category: "other"
|
|
87
|
-
},
|
|
87
|
+
}, Ur = Br.bind($r), P = "purpur-icon", Rr = "md", Lr = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Dr = ({ content: e = "", title: o } = {}) => {
|
|
88
88
|
const a = [
|
|
89
89
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
90
90
|
{ name: "fill", value: "currentColor" },
|
|
91
91
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
92
92
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
93
93
|
], n = o ? `<title>${o}</title>` : "";
|
|
94
|
-
return `<svg ${
|
|
95
|
-
},
|
|
94
|
+
return `<svg ${Lr(a)}>${n}${e}</svg>`;
|
|
95
|
+
}, jr = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), qr = ({
|
|
96
96
|
["data-testid"]: e,
|
|
97
97
|
svg: o,
|
|
98
98
|
allyTitle: a,
|
|
99
99
|
className: n,
|
|
100
|
-
size: p =
|
|
100
|
+
size: p = Rr,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = Dr({
|
|
104
|
+
content: jr(o.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}), i =
|
|
106
|
+
}), i = Ur(n, P, `${P}--${p}`);
|
|
107
107
|
return /* @__PURE__ */ l(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
@@ -115,10 +115,10 @@ const Ar = /* @__PURE__ */ br(Sr), Fr = {
|
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
|
-
function
|
|
118
|
+
function Tr(e) {
|
|
119
119
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
120
120
|
}
|
|
121
|
-
var
|
|
121
|
+
var nr = { exports: {} };
|
|
122
122
|
/*!
|
|
123
123
|
Copyright (c) 2018 Jed Watson.
|
|
124
124
|
Licensed under the MIT License (MIT), see
|
|
@@ -153,9 +153,9 @@ var ir = { exports: {} };
|
|
|
153
153
|
}
|
|
154
154
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
155
155
|
})();
|
|
156
|
-
})(
|
|
157
|
-
var
|
|
158
|
-
const
|
|
156
|
+
})(nr);
|
|
157
|
+
var Pr = nr.exports;
|
|
158
|
+
const zr = /* @__PURE__ */ Tr(Pr), z = {
|
|
159
159
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
160
160
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
161
161
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -165,7 +165,7 @@ const qr = /* @__PURE__ */ Dr(jr), P = {
|
|
|
165
165
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
166
166
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
167
167
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
168
|
-
},
|
|
168
|
+
}, H = "purpur-badge", m = {
|
|
169
169
|
ATTENTION: "attention",
|
|
170
170
|
SPECIAL: "special",
|
|
171
171
|
NEUTRAL: "neutral",
|
|
@@ -174,27 +174,27 @@ const qr = /* @__PURE__ */ Dr(jr), P = {
|
|
|
174
174
|
WARNING: "warning",
|
|
175
175
|
ERROR: "error",
|
|
176
176
|
BLACK_FRIDAY: "black-friday"
|
|
177
|
-
},
|
|
177
|
+
}, Hr = (e) => {
|
|
178
178
|
switch (e) {
|
|
179
|
-
case
|
|
180
|
-
case
|
|
179
|
+
case m.ATTENTION:
|
|
180
|
+
case m.SPECIAL:
|
|
181
|
+
return Gr;
|
|
182
|
+
case m.INFORMATION:
|
|
183
|
+
return Nr;
|
|
184
|
+
case m.SUCCESS:
|
|
181
185
|
return Mr;
|
|
182
|
-
case
|
|
183
|
-
return $r;
|
|
184
|
-
case g.SUCCESS:
|
|
185
|
-
return Br;
|
|
186
|
-
case g.WARNING:
|
|
187
|
-
return kr;
|
|
188
|
-
case g.ERROR:
|
|
186
|
+
case m.WARNING:
|
|
189
187
|
return Or;
|
|
190
|
-
case
|
|
188
|
+
case m.ERROR:
|
|
191
189
|
return Er;
|
|
192
|
-
case
|
|
193
|
-
return
|
|
190
|
+
case m.NEUTRAL:
|
|
191
|
+
return Zr;
|
|
192
|
+
case m.BLACK_FRIDAY:
|
|
193
|
+
return Ir;
|
|
194
194
|
default:
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
|
-
},
|
|
197
|
+
}, Vr = ({
|
|
198
198
|
children: e,
|
|
199
199
|
showIcon: o = !0,
|
|
200
200
|
variant: a,
|
|
@@ -203,16 +203,16 @@ const qr = /* @__PURE__ */ Dr(jr), P = {
|
|
|
203
203
|
className: r = "",
|
|
204
204
|
...t
|
|
205
205
|
}) => {
|
|
206
|
-
const i =
|
|
207
|
-
return /* @__PURE__ */
|
|
208
|
-
o && i && /* @__PURE__ */ l(
|
|
206
|
+
const i = Hr(a), u = zr([r, z[H], z[`${H}--${a}`]]);
|
|
207
|
+
return /* @__PURE__ */ c("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
208
|
+
o && i && /* @__PURE__ */ l(qr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: i }),
|
|
209
209
|
e
|
|
210
210
|
] });
|
|
211
211
|
};
|
|
212
|
-
function
|
|
212
|
+
function Wr(e) {
|
|
213
213
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
214
214
|
}
|
|
215
|
-
var
|
|
215
|
+
var pr = { exports: {} };
|
|
216
216
|
/*!
|
|
217
217
|
Copyright (c) 2018 Jed Watson.
|
|
218
218
|
Licensed under the MIT License (MIT), see
|
|
@@ -247,15 +247,15 @@ var nr = { exports: {} };
|
|
|
247
247
|
}
|
|
248
248
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
249
249
|
})();
|
|
250
|
-
})(
|
|
251
|
-
var
|
|
252
|
-
const
|
|
253
|
-
"purpur-card": "_purpur-
|
|
250
|
+
})(pr);
|
|
251
|
+
var Kr = pr.exports;
|
|
252
|
+
const _ = /* @__PURE__ */ Wr(Kr), Yr = {
|
|
253
|
+
"purpur-card": "_purpur-card_1owb4_1"
|
|
254
254
|
};
|
|
255
|
-
function
|
|
255
|
+
function Xr(e) {
|
|
256
256
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
257
257
|
}
|
|
258
|
-
var
|
|
258
|
+
var lr = { exports: {} };
|
|
259
259
|
/*!
|
|
260
260
|
Copyright (c) 2018 Jed Watson.
|
|
261
261
|
Licensed under the MIT License (MIT), see
|
|
@@ -290,9 +290,9 @@ var pr = { exports: {} };
|
|
|
290
290
|
}
|
|
291
291
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
292
292
|
})();
|
|
293
|
-
})(
|
|
294
|
-
var
|
|
295
|
-
const
|
|
293
|
+
})(lr);
|
|
294
|
+
var Jr = lr.exports;
|
|
295
|
+
const Qr = /* @__PURE__ */ Xr(Jr), re = {
|
|
296
296
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
297
297
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
298
298
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -300,61 +300,61 @@ const Yr = /* @__PURE__ */ Wr(Kr), Xr = {
|
|
|
300
300
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
301
301
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
302
302
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
303
|
-
},
|
|
303
|
+
}, ee = {
|
|
304
304
|
name: "alert",
|
|
305
305
|
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>',
|
|
306
306
|
keywords: ["alert"],
|
|
307
307
|
category: "status"
|
|
308
|
-
},
|
|
308
|
+
}, te = {
|
|
309
309
|
name: "check-circle",
|
|
310
310
|
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>',
|
|
311
311
|
keywords: ["check-circle"],
|
|
312
312
|
category: "status"
|
|
313
|
-
},
|
|
313
|
+
}, ae = {
|
|
314
314
|
name: "error",
|
|
315
315
|
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>',
|
|
316
316
|
keywords: ["error"],
|
|
317
317
|
category: "status"
|
|
318
|
-
},
|
|
318
|
+
}, oe = {
|
|
319
319
|
name: "info",
|
|
320
320
|
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>',
|
|
321
321
|
keywords: ["info"],
|
|
322
322
|
category: "status"
|
|
323
|
-
},
|
|
323
|
+
}, ie = {
|
|
324
324
|
name: "offering",
|
|
325
325
|
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>',
|
|
326
326
|
keywords: ["offering"],
|
|
327
327
|
category: "other"
|
|
328
|
-
},
|
|
328
|
+
}, ne = {
|
|
329
329
|
name: "question",
|
|
330
330
|
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>',
|
|
331
331
|
keywords: ["question"],
|
|
332
332
|
category: "status"
|
|
333
|
-
},
|
|
333
|
+
}, pe = {
|
|
334
334
|
name: "tag",
|
|
335
335
|
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>',
|
|
336
336
|
keywords: ["tag"],
|
|
337
337
|
category: "other"
|
|
338
|
-
},
|
|
338
|
+
}, le = Qr.bind(re), V = "purpur-icon", se = "md", ue = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), de = ({ content: e = "", title: o } = {}) => {
|
|
339
339
|
const a = [
|
|
340
340
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
341
341
|
{ name: "fill", value: "currentColor" },
|
|
342
342
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
343
343
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
344
344
|
], n = o ? `<title>${o}</title>` : "";
|
|
345
|
-
return `<svg ${
|
|
346
|
-
},
|
|
345
|
+
return `<svg ${ue(a)}>${n}${e}</svg>`;
|
|
346
|
+
}, ce = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), _e = ({
|
|
347
347
|
["data-testid"]: e,
|
|
348
348
|
svg: o,
|
|
349
349
|
allyTitle: a,
|
|
350
350
|
className: n,
|
|
351
|
-
size: p =
|
|
351
|
+
size: p = se,
|
|
352
352
|
...r
|
|
353
353
|
}) => {
|
|
354
|
-
const t =
|
|
355
|
-
content:
|
|
354
|
+
const t = de({
|
|
355
|
+
content: ce(o.svg),
|
|
356
356
|
title: a
|
|
357
|
-
}), i =
|
|
357
|
+
}), i = le(n, V, `${V}--${p}`);
|
|
358
358
|
return /* @__PURE__ */ l(
|
|
359
359
|
"span",
|
|
360
360
|
{
|
|
@@ -366,10 +366,10 @@ const Yr = /* @__PURE__ */ Wr(Kr), Xr = {
|
|
|
366
366
|
}
|
|
367
367
|
);
|
|
368
368
|
};
|
|
369
|
-
function
|
|
369
|
+
function fe(e) {
|
|
370
370
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var sr = { exports: {} };
|
|
373
373
|
/*!
|
|
374
374
|
Copyright (c) 2018 Jed Watson.
|
|
375
375
|
Licensed under the MIT License (MIT), see
|
|
@@ -404,9 +404,9 @@ var lr = { exports: {} };
|
|
|
404
404
|
}
|
|
405
405
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
406
406
|
})();
|
|
407
|
-
})(
|
|
408
|
-
var
|
|
409
|
-
const
|
|
407
|
+
})(sr);
|
|
408
|
+
var he = sr.exports;
|
|
409
|
+
const ge = /* @__PURE__ */ fe(he), W = {
|
|
410
410
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
411
411
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
412
412
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -416,7 +416,7 @@ const _e = /* @__PURE__ */ de(ce), V = {
|
|
|
416
416
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
417
417
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
418
418
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
419
|
-
},
|
|
419
|
+
}, K = "purpur-badge", v = {
|
|
420
420
|
ATTENTION: "attention",
|
|
421
421
|
SPECIAL: "special",
|
|
422
422
|
NEUTRAL: "neutral",
|
|
@@ -425,27 +425,27 @@ const _e = /* @__PURE__ */ de(ce), V = {
|
|
|
425
425
|
WARNING: "warning",
|
|
426
426
|
ERROR: "error",
|
|
427
427
|
BLACK_FRIDAY: "black-friday"
|
|
428
|
-
},
|
|
428
|
+
}, me = (e) => {
|
|
429
429
|
switch (e) {
|
|
430
|
-
case
|
|
431
|
-
case
|
|
430
|
+
case v.ATTENTION:
|
|
431
|
+
case v.SPECIAL:
|
|
432
|
+
return ie;
|
|
433
|
+
case v.INFORMATION:
|
|
434
|
+
return oe;
|
|
435
|
+
case v.SUCCESS:
|
|
432
436
|
return te;
|
|
433
|
-
case
|
|
437
|
+
case v.WARNING:
|
|
434
438
|
return ee;
|
|
435
|
-
case
|
|
436
|
-
return Qr;
|
|
437
|
-
case m.WARNING:
|
|
438
|
-
return Jr;
|
|
439
|
-
case m.ERROR:
|
|
440
|
-
return re;
|
|
441
|
-
case m.NEUTRAL:
|
|
439
|
+
case v.ERROR:
|
|
442
440
|
return ae;
|
|
443
|
-
case
|
|
444
|
-
return
|
|
441
|
+
case v.NEUTRAL:
|
|
442
|
+
return ne;
|
|
443
|
+
case v.BLACK_FRIDAY:
|
|
444
|
+
return pe;
|
|
445
445
|
default:
|
|
446
446
|
return;
|
|
447
447
|
}
|
|
448
|
-
},
|
|
448
|
+
}, ve = ({
|
|
449
449
|
children: e,
|
|
450
450
|
showIcon: o = !0,
|
|
451
451
|
variant: a,
|
|
@@ -454,55 +454,185 @@ const _e = /* @__PURE__ */ de(ce), V = {
|
|
|
454
454
|
className: r = "",
|
|
455
455
|
...t
|
|
456
456
|
}) => {
|
|
457
|
-
const i =
|
|
458
|
-
return /* @__PURE__ */
|
|
459
|
-
o && i && /* @__PURE__ */ l(
|
|
457
|
+
const i = me(a), u = ge([r, W[K], W[`${K}--${a}`]]);
|
|
458
|
+
return /* @__PURE__ */ c("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
459
|
+
o && i && /* @__PURE__ */ l(_e, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: i }),
|
|
460
460
|
e
|
|
461
461
|
] });
|
|
462
|
-
},
|
|
462
|
+
}, ye = {
|
|
463
463
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
464
|
-
},
|
|
464
|
+
}, we = _.bind(ye), xe = "purpur-card-badge", be = ({
|
|
465
465
|
["data-testid"]: e = "purpur-card-badge",
|
|
466
466
|
variant: o,
|
|
467
467
|
text: a
|
|
468
468
|
}) => o && a ? /* @__PURE__ */ l(
|
|
469
|
-
|
|
469
|
+
ve,
|
|
470
470
|
{
|
|
471
|
-
className:
|
|
471
|
+
className: we(xe),
|
|
472
472
|
variant: o,
|
|
473
473
|
showIcon: !1,
|
|
474
474
|
"data-testid": e,
|
|
475
475
|
children: a
|
|
476
476
|
}
|
|
477
|
-
) : null,
|
|
477
|
+
) : null, Ce = {
|
|
478
478
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
479
|
-
},
|
|
479
|
+
}, Se = _.bind(Ce), Ae = "purpur-card-content", Fe = ({
|
|
480
480
|
["data-testid"]: e = "purpur-card-content",
|
|
481
481
|
children: o
|
|
482
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
483
|
-
"purpur-card-content-container": "_purpur-card-content-
|
|
484
|
-
"purpur-card-content-container--footer": "_purpur-card-content-container--
|
|
485
|
-
},
|
|
482
|
+
}) => /* @__PURE__ */ l("div", { className: Se(Ae), "data-testid": e, children: o }), ke = {
|
|
483
|
+
"purpur-card-content-container": "_purpur-card-content-container_1oawn_1",
|
|
484
|
+
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_1oawn_12"
|
|
485
|
+
}, Be = _.bind(ke), Y = "purpur-card-content-container", $e = ({
|
|
486
486
|
["data-testid"]: e = "purpur-card-content-container",
|
|
487
487
|
children: o,
|
|
488
488
|
isFooter: a = !1
|
|
489
489
|
}) => /* @__PURE__ */ l(
|
|
490
490
|
"div",
|
|
491
491
|
{
|
|
492
|
-
className:
|
|
493
|
-
|
|
492
|
+
className: Be([
|
|
493
|
+
Y,
|
|
494
494
|
{
|
|
495
|
-
[`${
|
|
495
|
+
[`${Y}--footer`]: a
|
|
496
496
|
}
|
|
497
497
|
]),
|
|
498
498
|
"data-testid": e,
|
|
499
499
|
children: o
|
|
500
500
|
}
|
|
501
501
|
);
|
|
502
|
-
function
|
|
502
|
+
function Oe(e) {
|
|
503
503
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
504
504
|
}
|
|
505
|
-
var
|
|
505
|
+
var ur = { exports: {} };
|
|
506
|
+
/*!
|
|
507
|
+
Copyright (c) 2018 Jed Watson.
|
|
508
|
+
Licensed under the MIT License (MIT), see
|
|
509
|
+
http://jedwatson.github.io/classnames
|
|
510
|
+
*/
|
|
511
|
+
(function(e) {
|
|
512
|
+
(function() {
|
|
513
|
+
var o = {}.hasOwnProperty;
|
|
514
|
+
function a() {
|
|
515
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
516
|
+
var i = arguments[t];
|
|
517
|
+
i && (r = p(r, n(i)));
|
|
518
|
+
}
|
|
519
|
+
return r;
|
|
520
|
+
}
|
|
521
|
+
function n(r) {
|
|
522
|
+
if (typeof r == "string" || typeof r == "number")
|
|
523
|
+
return r;
|
|
524
|
+
if (typeof r != "object")
|
|
525
|
+
return "";
|
|
526
|
+
if (Array.isArray(r))
|
|
527
|
+
return a.apply(null, r);
|
|
528
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
529
|
+
return r.toString();
|
|
530
|
+
var t = "";
|
|
531
|
+
for (var i in r)
|
|
532
|
+
o.call(r, i) && r[i] && (t = p(t, i));
|
|
533
|
+
return t;
|
|
534
|
+
}
|
|
535
|
+
function p(r, t) {
|
|
536
|
+
return t ? r ? r + " " + t : r + t : r;
|
|
537
|
+
}
|
|
538
|
+
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
539
|
+
})();
|
|
540
|
+
})(ur);
|
|
541
|
+
var Me = ur.exports;
|
|
542
|
+
const X = /* @__PURE__ */ Oe(Me), Ee = "_rotate_1xozj_1", Ne = "_dash_1xozj_1", F = {
|
|
543
|
+
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
544
|
+
rotate: Ee,
|
|
545
|
+
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
546
|
+
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
547
|
+
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
548
|
+
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
549
|
+
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
550
|
+
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
551
|
+
dash: Ne,
|
|
552
|
+
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
553
|
+
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
554
|
+
}, k = "purpur-spinner", Ge = {
|
|
555
|
+
XXS: "xxs",
|
|
556
|
+
XS: "xs",
|
|
557
|
+
SM: "sm",
|
|
558
|
+
MD: "md",
|
|
559
|
+
LG: "lg"
|
|
560
|
+
}, dr = ({
|
|
561
|
+
["data-testid"]: e,
|
|
562
|
+
disabled: o = !1,
|
|
563
|
+
negative: a = !1,
|
|
564
|
+
size: n = Ge.SM,
|
|
565
|
+
...p
|
|
566
|
+
}) => /* @__PURE__ */ l(
|
|
567
|
+
"div",
|
|
568
|
+
{
|
|
569
|
+
className: X([F[k], F[`${k}--${n}`]]),
|
|
570
|
+
"data-testid": e,
|
|
571
|
+
...p,
|
|
572
|
+
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
573
|
+
"circle",
|
|
574
|
+
{
|
|
575
|
+
className: X(F[`${k}__circle`], {
|
|
576
|
+
[F[`${k}__circle--disabled`]]: o,
|
|
577
|
+
[F[`${k}__circle--negative`]]: a
|
|
578
|
+
}),
|
|
579
|
+
cx: "25",
|
|
580
|
+
cy: "25",
|
|
581
|
+
r: "20"
|
|
582
|
+
}
|
|
583
|
+
) })
|
|
584
|
+
}
|
|
585
|
+
), Ze = {
|
|
586
|
+
"purpur-card-cta": "_purpur-card-cta_1fd16_1",
|
|
587
|
+
"purpur-card-cta--sm": "_purpur-card-cta--sm_1fd16_33",
|
|
588
|
+
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-only_1fd16_36",
|
|
589
|
+
"purpur-card-cta--md": "_purpur-card-cta--md_1fd16_39",
|
|
590
|
+
"purpur-card-cta--lg": "_purpur-card-cta--lg_1fd16_45",
|
|
591
|
+
"purpur-card-cta--full-width": "_purpur-card-cta--full-width_1fd16_51",
|
|
592
|
+
"purpur-card-cta--primary": "_purpur-card-cta--primary_1fd16_54",
|
|
593
|
+
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1fd16_58",
|
|
594
|
+
"purpur-card-cta--primary-negative": "_purpur-card-cta--primary-negative_1fd16_64",
|
|
595
|
+
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1fd16_76",
|
|
596
|
+
"purpur-card-cta--secondary-negative": "_purpur-card-cta--secondary-negative_1fd16_87",
|
|
597
|
+
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_1fd16_98",
|
|
598
|
+
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_1fd16_108",
|
|
599
|
+
"purpur-card-cta--text": "_purpur-card-cta--text_1fd16_128"
|
|
600
|
+
}, Ie = _.bind(Ze), y = "purpur-card-cta", Ue = ({
|
|
601
|
+
["data-testid"]: e = "purpur-card-cta",
|
|
602
|
+
className: o,
|
|
603
|
+
children: a,
|
|
604
|
+
disabled: n = !1,
|
|
605
|
+
iconPosition: p = "right",
|
|
606
|
+
loading: r = !1,
|
|
607
|
+
text: t,
|
|
608
|
+
...i
|
|
609
|
+
}) => /* @__PURE__ */ l(
|
|
610
|
+
"div",
|
|
611
|
+
{
|
|
612
|
+
className: `${Ie([
|
|
613
|
+
y,
|
|
614
|
+
o,
|
|
615
|
+
`${y}--md`,
|
|
616
|
+
`${y}--secondary`,
|
|
617
|
+
{
|
|
618
|
+
[`${y}--disabled`]: n,
|
|
619
|
+
[`${y}--icon-only`]: !t,
|
|
620
|
+
[`${y}--text`]: !!t
|
|
621
|
+
}
|
|
622
|
+
])} ${y}`,
|
|
623
|
+
"data-testid": e,
|
|
624
|
+
...i,
|
|
625
|
+
children: r ? /* @__PURE__ */ l(dr, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ c(Cr, { children: [
|
|
626
|
+
p === "left" && a,
|
|
627
|
+
t,
|
|
628
|
+
p === "right" && a
|
|
629
|
+
] })
|
|
630
|
+
}
|
|
631
|
+
);
|
|
632
|
+
function Re(e) {
|
|
633
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
634
|
+
}
|
|
635
|
+
var cr = { exports: {} };
|
|
506
636
|
/*!
|
|
507
637
|
Copyright (c) 2018 Jed Watson.
|
|
508
638
|
Licensed under the MIT License (MIT), see
|
|
@@ -537,9 +667,9 @@ var sr = { exports: {} };
|
|
|
537
667
|
}
|
|
538
668
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
539
669
|
})();
|
|
540
|
-
})(
|
|
541
|
-
var
|
|
542
|
-
const
|
|
670
|
+
})(cr);
|
|
671
|
+
var Le = cr.exports;
|
|
672
|
+
const De = /* @__PURE__ */ Re(Le), je = {
|
|
543
673
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
544
674
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
545
675
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -547,52 +677,52 @@ const Oe = /* @__PURE__ */ ke(Be), $e = {
|
|
|
547
677
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
548
678
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
549
679
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
550
|
-
},
|
|
680
|
+
}, qe = {
|
|
551
681
|
name: "arrow-right",
|
|
552
682
|
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>',
|
|
553
683
|
keywords: ["arrow-right"],
|
|
554
684
|
category: "utility"
|
|
555
|
-
},
|
|
685
|
+
}, Te = {
|
|
556
686
|
name: "checkmark",
|
|
557
687
|
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>',
|
|
558
688
|
keywords: ["checkmark"],
|
|
559
689
|
category: "utility"
|
|
560
|
-
},
|
|
561
|
-
|
|
690
|
+
}, _r = (e) => /* @__PURE__ */ l(
|
|
691
|
+
hr,
|
|
562
692
|
{
|
|
563
693
|
...e,
|
|
564
|
-
svg:
|
|
694
|
+
svg: qe
|
|
565
695
|
}
|
|
566
696
|
);
|
|
567
|
-
|
|
568
|
-
const
|
|
569
|
-
|
|
697
|
+
_r.displayName = "IconArrowRight";
|
|
698
|
+
const fr = (e) => /* @__PURE__ */ l(
|
|
699
|
+
hr,
|
|
570
700
|
{
|
|
571
701
|
...e,
|
|
572
|
-
svg:
|
|
702
|
+
svg: Te
|
|
573
703
|
}
|
|
574
704
|
);
|
|
575
|
-
|
|
576
|
-
const
|
|
705
|
+
fr.displayName = "IconCheckmark";
|
|
706
|
+
const Pe = De.bind(je), J = "purpur-icon", ze = "md", He = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Ve = ({ content: e = "", title: o } = {}) => {
|
|
577
707
|
const a = [
|
|
578
708
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
579
709
|
{ name: "fill", value: "currentColor" },
|
|
580
710
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
581
711
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
582
712
|
], n = o ? `<title>${o}</title>` : "";
|
|
583
|
-
return `<svg ${
|
|
584
|
-
},
|
|
713
|
+
return `<svg ${He(a)}>${n}${e}</svg>`;
|
|
714
|
+
}, We = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), hr = ({
|
|
585
715
|
["data-testid"]: e,
|
|
586
716
|
svg: o,
|
|
587
717
|
allyTitle: a,
|
|
588
718
|
className: n,
|
|
589
|
-
size: p =
|
|
719
|
+
size: p = ze,
|
|
590
720
|
...r
|
|
591
721
|
}) => {
|
|
592
|
-
const t =
|
|
593
|
-
content:
|
|
722
|
+
const t = Ve({
|
|
723
|
+
content: We(o.svg),
|
|
594
724
|
title: a
|
|
595
|
-
}), i =
|
|
725
|
+
}), i = Pe(n, J, `${J}--${p}`);
|
|
596
726
|
return /* @__PURE__ */ l(
|
|
597
727
|
"span",
|
|
598
728
|
{
|
|
@@ -604,10 +734,10 @@ const Ne = Oe.bind($e), Y = "purpur-icon", Ge = "md", Ze = (e) => e.filter((o) =
|
|
|
604
734
|
}
|
|
605
735
|
);
|
|
606
736
|
};
|
|
607
|
-
function
|
|
737
|
+
function Ke(e) {
|
|
608
738
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
609
739
|
}
|
|
610
|
-
var
|
|
740
|
+
var gr = { exports: {} };
|
|
611
741
|
/*!
|
|
612
742
|
Copyright (c) 2018 Jed Watson.
|
|
613
743
|
Licensed under the MIT License (MIT), see
|
|
@@ -642,9 +772,9 @@ var _r = { exports: {} };
|
|
|
642
772
|
}
|
|
643
773
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
644
774
|
})();
|
|
645
|
-
})(
|
|
646
|
-
var
|
|
647
|
-
const
|
|
775
|
+
})(gr);
|
|
776
|
+
var Ye = gr.exports;
|
|
777
|
+
const Xe = /* @__PURE__ */ Ke(Ye), B = {
|
|
648
778
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
649
779
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
650
780
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -659,7 +789,7 @@ const De = /* @__PURE__ */ Re(Le), A = {
|
|
|
659
789
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
660
790
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
661
791
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
662
|
-
},
|
|
792
|
+
}, Je = {
|
|
663
793
|
PARAGRAPH100: "paragraph-100",
|
|
664
794
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
665
795
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -670,131 +800,47 @@ const De = /* @__PURE__ */ Re(Le), A = {
|
|
|
670
800
|
ADDITIONAL100MEDIUM: "additional-100-medium",
|
|
671
801
|
OVERLINE100: "overline-100",
|
|
672
802
|
OVERLINE200: "overline-200"
|
|
673
|
-
},
|
|
803
|
+
}, $ = "purpur-paragraph", T = ({
|
|
674
804
|
["data-testid"]: e,
|
|
675
805
|
children: o,
|
|
676
806
|
className: a,
|
|
677
807
|
disabled: n,
|
|
678
808
|
enableHyphenation: p = !1,
|
|
679
809
|
negative: r = !1,
|
|
680
|
-
variant: t =
|
|
810
|
+
variant: t = Je.PARAGRAPH100,
|
|
681
811
|
...i
|
|
682
812
|
}) => {
|
|
683
|
-
const u =
|
|
813
|
+
const u = Xe([
|
|
684
814
|
a,
|
|
685
|
-
|
|
686
|
-
|
|
815
|
+
B[$],
|
|
816
|
+
B[`${$}--${t}`],
|
|
687
817
|
{
|
|
688
|
-
[
|
|
689
|
-
[
|
|
690
|
-
[
|
|
818
|
+
[B[`${$}--hyphens`]]: p,
|
|
819
|
+
[B[`${$}--disabled`]]: n,
|
|
820
|
+
[B[`${$}--negative`]]: r
|
|
691
821
|
}
|
|
692
822
|
]);
|
|
693
823
|
return /* @__PURE__ */ l("p", { ...i, className: u, "data-testid": e, children: o });
|
|
694
824
|
};
|
|
695
|
-
|
|
696
|
-
const
|
|
825
|
+
T.displayName = "Paragraph";
|
|
826
|
+
const Qe = {
|
|
697
827
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
698
828
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
699
|
-
},
|
|
829
|
+
}, Q = _.bind(Qe), rr = "purpur-card-feature-list", rt = ({
|
|
700
830
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
701
831
|
listItems: o
|
|
702
|
-
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className:
|
|
832
|
+
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: Q(rr), "data-testid": e, children: o.map((a) => /* @__PURE__ */ c(
|
|
703
833
|
"li",
|
|
704
834
|
{
|
|
705
|
-
className:
|
|
835
|
+
className: Q(`${rr}__list-item`),
|
|
706
836
|
"data-testid": `${e}-item`,
|
|
707
837
|
children: [
|
|
708
|
-
/* @__PURE__ */ l(
|
|
709
|
-
/* @__PURE__ */ l(
|
|
838
|
+
/* @__PURE__ */ l(fr, { size: "xs" }),
|
|
839
|
+
/* @__PURE__ */ l(T, { children: a })
|
|
710
840
|
]
|
|
711
841
|
},
|
|
712
842
|
a
|
|
713
|
-
)) }) : null
|
|
714
|
-
function Pe(e) {
|
|
715
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
716
|
-
}
|
|
717
|
-
var fr = { exports: {} };
|
|
718
|
-
/*!
|
|
719
|
-
Copyright (c) 2018 Jed Watson.
|
|
720
|
-
Licensed under the MIT License (MIT), see
|
|
721
|
-
http://jedwatson.github.io/classnames
|
|
722
|
-
*/
|
|
723
|
-
(function(e) {
|
|
724
|
-
(function() {
|
|
725
|
-
var o = {}.hasOwnProperty;
|
|
726
|
-
function a() {
|
|
727
|
-
for (var r = "", t = 0; t < arguments.length; t++) {
|
|
728
|
-
var i = arguments[t];
|
|
729
|
-
i && (r = p(r, n(i)));
|
|
730
|
-
}
|
|
731
|
-
return r;
|
|
732
|
-
}
|
|
733
|
-
function n(r) {
|
|
734
|
-
if (typeof r == "string" || typeof r == "number")
|
|
735
|
-
return r;
|
|
736
|
-
if (typeof r != "object")
|
|
737
|
-
return "";
|
|
738
|
-
if (Array.isArray(r))
|
|
739
|
-
return a.apply(null, r);
|
|
740
|
-
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
|
741
|
-
return r.toString();
|
|
742
|
-
var t = "";
|
|
743
|
-
for (var i in r)
|
|
744
|
-
o.call(r, i) && r[i] && (t = p(t, i));
|
|
745
|
-
return t;
|
|
746
|
-
}
|
|
747
|
-
function p(r, t) {
|
|
748
|
-
return t ? r ? r + " " + t : r + t : r;
|
|
749
|
-
}
|
|
750
|
-
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
751
|
-
})();
|
|
752
|
-
})(fr);
|
|
753
|
-
var ze = fr.exports;
|
|
754
|
-
const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1", k = {
|
|
755
|
-
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
756
|
-
rotate: He,
|
|
757
|
-
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
758
|
-
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
759
|
-
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
760
|
-
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
761
|
-
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
762
|
-
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
763
|
-
dash: Ve,
|
|
764
|
-
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
765
|
-
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
766
|
-
}, B = "purpur-spinner", We = {
|
|
767
|
-
XXS: "xxs",
|
|
768
|
-
XS: "xs",
|
|
769
|
-
SM: "sm",
|
|
770
|
-
MD: "md",
|
|
771
|
-
LG: "lg"
|
|
772
|
-
}, Ke = ({
|
|
773
|
-
["data-testid"]: e,
|
|
774
|
-
disabled: o = !1,
|
|
775
|
-
negative: a = !1,
|
|
776
|
-
size: n = We.SM,
|
|
777
|
-
...p
|
|
778
|
-
}) => /* @__PURE__ */ l(
|
|
779
|
-
"div",
|
|
780
|
-
{
|
|
781
|
-
className: Q([k[B], k[`${B}--${n}`]]),
|
|
782
|
-
"data-testid": e,
|
|
783
|
-
...p,
|
|
784
|
-
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
785
|
-
"circle",
|
|
786
|
-
{
|
|
787
|
-
className: Q(k[`${B}__circle`], {
|
|
788
|
-
[k[`${B}__circle--disabled`]]: o,
|
|
789
|
-
[k[`${B}__circle--negative`]]: a
|
|
790
|
-
}),
|
|
791
|
-
cx: "25",
|
|
792
|
-
cy: "25",
|
|
793
|
-
r: "20"
|
|
794
|
-
}
|
|
795
|
-
) })
|
|
796
|
-
}
|
|
797
|
-
), Ye = {
|
|
843
|
+
)) }) : null, et = {
|
|
798
844
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
|
|
799
845
|
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
|
|
800
846
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
|
|
@@ -808,7 +854,7 @@ const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1",
|
|
|
808
854
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
|
|
809
855
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
|
|
810
856
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
|
|
811
|
-
},
|
|
857
|
+
}, tt = _.bind(et), x = "purpur-card-link-arrow", at = ({
|
|
812
858
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
813
859
|
className: o,
|
|
814
860
|
disabled: a = !1,
|
|
@@ -817,78 +863,78 @@ const Q = /* @__PURE__ */ Pe(ze), He = "_rotate_1xozj_1", Ve = "_dash_1xozj_1",
|
|
|
817
863
|
}) => /* @__PURE__ */ l(
|
|
818
864
|
"div",
|
|
819
865
|
{
|
|
820
|
-
className: `${
|
|
821
|
-
|
|
866
|
+
className: `${tt([
|
|
867
|
+
x,
|
|
822
868
|
o,
|
|
823
|
-
`${
|
|
824
|
-
`${
|
|
825
|
-
`${
|
|
869
|
+
`${x}--md`,
|
|
870
|
+
`${x}--icon-only`,
|
|
871
|
+
`${x}--secondary`,
|
|
826
872
|
{
|
|
827
|
-
[`${
|
|
873
|
+
[`${x}--disabled`]: a
|
|
828
874
|
}
|
|
829
|
-
])} ${
|
|
875
|
+
])} ${x}`,
|
|
830
876
|
"data-testid": e,
|
|
831
877
|
...p,
|
|
832
|
-
children: n ? /* @__PURE__ */ l(
|
|
878
|
+
children: n ? /* @__PURE__ */ l(dr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(_r, { "data-testid": `${e}-arrow`, size: "md" })
|
|
833
879
|
}
|
|
834
|
-
),
|
|
835
|
-
"purpur-card-overline": "_purpur-card-
|
|
836
|
-
},
|
|
880
|
+
), ot = {
|
|
881
|
+
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
882
|
+
}, it = _.bind(ot), nt = "purpur-card-overline", pt = ({
|
|
837
883
|
["data-testid"]: e = "purpur-card-overline",
|
|
838
884
|
overline: o
|
|
839
|
-
}) => o ? /* @__PURE__ */ l(
|
|
885
|
+
}) => o ? /* @__PURE__ */ l(T, { className: it(nt), "data-testid": e, children: o }) : null, lt = {
|
|
840
886
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
841
887
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
842
888
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
843
889
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
844
|
-
},
|
|
890
|
+
}, st = {
|
|
845
891
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
846
892
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
847
893
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
848
894
|
};
|
|
849
|
-
function
|
|
850
|
-
return
|
|
895
|
+
function b() {
|
|
896
|
+
return b = Object.assign ? Object.assign.bind() : function(e) {
|
|
851
897
|
for (var o = 1; o < arguments.length; o++) {
|
|
852
898
|
var a = arguments[o];
|
|
853
899
|
for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
|
|
854
900
|
}
|
|
855
901
|
return e;
|
|
856
|
-
},
|
|
902
|
+
}, b.apply(null, arguments);
|
|
857
903
|
}
|
|
858
|
-
function
|
|
904
|
+
function ut(e, o) {
|
|
859
905
|
typeof e == "function" ? e(o) : e != null && (e.current = o);
|
|
860
906
|
}
|
|
861
|
-
function
|
|
907
|
+
function dt(...e) {
|
|
862
908
|
return (o) => e.forEach(
|
|
863
|
-
(a) =>
|
|
909
|
+
(a) => ut(a, o)
|
|
864
910
|
);
|
|
865
911
|
}
|
|
866
|
-
const
|
|
867
|
-
const { children: a, ...n } = e, p = O.toArray(a), r = p.find(
|
|
912
|
+
const mr = /* @__PURE__ */ E((e, o) => {
|
|
913
|
+
const { children: a, ...n } = e, p = O.toArray(a), r = p.find(_t);
|
|
868
914
|
if (r) {
|
|
869
|
-
const t = r.props.children, i = p.map((u) => u === r ? O.count(t) > 1 ? O.only(null) : /* @__PURE__ */
|
|
870
|
-
return /* @__PURE__ */
|
|
915
|
+
const t = r.props.children, i = p.map((u) => u === r ? O.count(t) > 1 ? O.only(null) : /* @__PURE__ */ U(t) ? t.props.children : null : u);
|
|
916
|
+
return /* @__PURE__ */ M(q, b({}, n, {
|
|
871
917
|
ref: o
|
|
872
|
-
}), /* @__PURE__ */
|
|
918
|
+
}), /* @__PURE__ */ U(t) ? /* @__PURE__ */ or(t, void 0, i) : null);
|
|
873
919
|
}
|
|
874
|
-
return /* @__PURE__ */
|
|
920
|
+
return /* @__PURE__ */ M(q, b({}, n, {
|
|
875
921
|
ref: o
|
|
876
922
|
}), a);
|
|
877
923
|
});
|
|
878
|
-
|
|
879
|
-
const
|
|
924
|
+
mr.displayName = "Slot";
|
|
925
|
+
const q = /* @__PURE__ */ E((e, o) => {
|
|
880
926
|
const { children: a, ...n } = e;
|
|
881
|
-
return /* @__PURE__ */
|
|
882
|
-
...
|
|
883
|
-
ref: o ?
|
|
927
|
+
return /* @__PURE__ */ U(a) ? /* @__PURE__ */ or(a, {
|
|
928
|
+
...ft(n, a.props),
|
|
929
|
+
ref: o ? dt(o, a.ref) : a.ref
|
|
884
930
|
}) : O.count(a) > 1 ? O.only(null) : null;
|
|
885
931
|
});
|
|
886
|
-
|
|
887
|
-
const
|
|
888
|
-
function
|
|
889
|
-
return /* @__PURE__ */
|
|
932
|
+
q.displayName = "SlotClone";
|
|
933
|
+
const ct = ({ children: e }) => /* @__PURE__ */ M(Ar, null, e);
|
|
934
|
+
function _t(e) {
|
|
935
|
+
return /* @__PURE__ */ U(e) && e.type === ct;
|
|
890
936
|
}
|
|
891
|
-
function
|
|
937
|
+
function ft(e, o) {
|
|
892
938
|
const a = {
|
|
893
939
|
...o
|
|
894
940
|
};
|
|
@@ -909,7 +955,7 @@ function st(e, o) {
|
|
|
909
955
|
...a
|
|
910
956
|
};
|
|
911
957
|
}
|
|
912
|
-
const
|
|
958
|
+
const ht = [
|
|
913
959
|
"a",
|
|
914
960
|
"button",
|
|
915
961
|
"div",
|
|
@@ -926,12 +972,12 @@ const ut = [
|
|
|
926
972
|
"span",
|
|
927
973
|
"svg",
|
|
928
974
|
"ul"
|
|
929
|
-
],
|
|
930
|
-
const a = /* @__PURE__ */
|
|
931
|
-
const { asChild: r, ...t } = n, i = r ?
|
|
932
|
-
return
|
|
975
|
+
], gt = ht.reduce((e, o) => {
|
|
976
|
+
const a = /* @__PURE__ */ E((n, p) => {
|
|
977
|
+
const { asChild: r, ...t } = n, i = r ? mr : o;
|
|
978
|
+
return Sr(() => {
|
|
933
979
|
window[Symbol.for("radix-ui")] = !0;
|
|
934
|
-
}, []), /* @__PURE__ */
|
|
980
|
+
}, []), /* @__PURE__ */ M(i, b({}, t, {
|
|
935
981
|
ref: p
|
|
936
982
|
}));
|
|
937
983
|
});
|
|
@@ -939,7 +985,7 @@ const ut = [
|
|
|
939
985
|
...e,
|
|
940
986
|
[o]: a
|
|
941
987
|
};
|
|
942
|
-
}, {}),
|
|
988
|
+
}, {}), mt = /* @__PURE__ */ E((e, o) => /* @__PURE__ */ M(gt.span, b({}, e, {
|
|
943
989
|
ref: o,
|
|
944
990
|
style: {
|
|
945
991
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -955,12 +1001,12 @@ const ut = [
|
|
|
955
1001
|
wordWrap: "normal",
|
|
956
1002
|
...e.style
|
|
957
1003
|
}
|
|
958
|
-
}))),
|
|
1004
|
+
}))), vt = mt, er = ({
|
|
959
1005
|
asChild: e,
|
|
960
1006
|
children: o,
|
|
961
1007
|
className: a = "",
|
|
962
1008
|
["data-testid"]: n
|
|
963
|
-
}) => /* @__PURE__ */ l(
|
|
1009
|
+
}) => /* @__PURE__ */ l(vt, { asChild: e, "data-testid": n, className: a, children: o }), tr = _.bind(st), w = "purpur-card-trigger-item", yt = ({
|
|
964
1010
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
965
1011
|
disabled: o = !1,
|
|
966
1012
|
href: a,
|
|
@@ -969,43 +1015,43 @@ const ut = [
|
|
|
969
1015
|
}) => {
|
|
970
1016
|
const r = (i) => {
|
|
971
1017
|
o ? i.preventDefault() : n && n();
|
|
972
|
-
}, t = `${
|
|
1018
|
+
}, t = `${w} ${o ? `${w}--disabled` : ""}`;
|
|
973
1019
|
return a ? (
|
|
974
1020
|
// eslint-disable-next-line jsx-a11y/anchor-is-valid
|
|
975
1021
|
/* @__PURE__ */ l(
|
|
976
1022
|
"a",
|
|
977
1023
|
{
|
|
978
1024
|
"aria-disabled": o,
|
|
979
|
-
className: `${
|
|
980
|
-
|
|
1025
|
+
className: `${tr([
|
|
1026
|
+
w,
|
|
981
1027
|
{
|
|
982
|
-
[`${
|
|
1028
|
+
[`${w}--disabled`]: o
|
|
983
1029
|
}
|
|
984
1030
|
])} ${t}`,
|
|
985
1031
|
"data-testid": e,
|
|
986
1032
|
href: o ? void 0 : a,
|
|
987
1033
|
tabIndex: o ? 0 : void 0,
|
|
988
|
-
children: /* @__PURE__ */ l(
|
|
1034
|
+
children: /* @__PURE__ */ l(er, { children: p })
|
|
989
1035
|
}
|
|
990
1036
|
)
|
|
991
1037
|
) : /* @__PURE__ */ l(
|
|
992
1038
|
"button",
|
|
993
1039
|
{
|
|
994
1040
|
"aria-disabled": o,
|
|
995
|
-
className: `${
|
|
996
|
-
|
|
997
|
-
`${
|
|
1041
|
+
className: `${tr([
|
|
1042
|
+
w,
|
|
1043
|
+
`${w}--button`,
|
|
998
1044
|
{
|
|
999
|
-
[`${
|
|
1045
|
+
[`${w}--disabled`]: o
|
|
1000
1046
|
}
|
|
1001
1047
|
])} ${t}`,
|
|
1002
1048
|
"data-testid": e,
|
|
1003
1049
|
type: "button",
|
|
1004
1050
|
onClick: r,
|
|
1005
|
-
children: /* @__PURE__ */ l(
|
|
1051
|
+
children: /* @__PURE__ */ l(er, { children: p })
|
|
1006
1052
|
}
|
|
1007
1053
|
);
|
|
1008
|
-
},
|
|
1054
|
+
}, wt = _.bind(lt), D = "purpur-card-root", vr = E(
|
|
1009
1055
|
({
|
|
1010
1056
|
["data-testid"]: e = "purpur-card-root",
|
|
1011
1057
|
children: o,
|
|
@@ -1017,19 +1063,19 @@ const ut = [
|
|
|
1017
1063
|
screenReaderText: i,
|
|
1018
1064
|
variant: u,
|
|
1019
1065
|
...C
|
|
1020
|
-
},
|
|
1021
|
-
const d =
|
|
1022
|
-
|
|
1066
|
+
}, R) => {
|
|
1067
|
+
const d = wt([
|
|
1068
|
+
D,
|
|
1023
1069
|
a,
|
|
1024
1070
|
{
|
|
1025
|
-
[`${
|
|
1026
|
-
[`${
|
|
1071
|
+
[`${D}--${u}`]: u,
|
|
1072
|
+
[`${D}--full-height`]: p
|
|
1027
1073
|
}
|
|
1028
1074
|
]);
|
|
1029
|
-
return /* @__PURE__ */
|
|
1075
|
+
return /* @__PURE__ */ c("div", { className: d, "data-testid": e, ref: R, ...C, children: [
|
|
1030
1076
|
o,
|
|
1031
1077
|
(t || r) && i && /* @__PURE__ */ l(
|
|
1032
|
-
|
|
1078
|
+
yt,
|
|
1033
1079
|
{
|
|
1034
1080
|
disabled: n,
|
|
1035
1081
|
href: r,
|
|
@@ -1040,29 +1086,30 @@ const ut = [
|
|
|
1040
1086
|
] });
|
|
1041
1087
|
}
|
|
1042
1088
|
);
|
|
1043
|
-
|
|
1044
|
-
const
|
|
1045
|
-
const n =
|
|
1046
|
-
|
|
1089
|
+
vr.displayName = "CardRoot";
|
|
1090
|
+
const ar = _.bind(Yr), j = "purpur-card", h = ({ children: e, className: o, ...a }) => {
|
|
1091
|
+
const n = ar([
|
|
1092
|
+
j,
|
|
1047
1093
|
o,
|
|
1048
1094
|
{
|
|
1049
|
-
[`${
|
|
1050
|
-
[`${
|
|
1095
|
+
[`${j}--is-interactive`]: a.onClick || a.href,
|
|
1096
|
+
[`${j}--disabled`]: a.disabled
|
|
1051
1097
|
}
|
|
1052
1098
|
]);
|
|
1053
|
-
return /* @__PURE__ */ l(
|
|
1099
|
+
return /* @__PURE__ */ l(vr, { className: ar(n), ...a, children: e });
|
|
1054
1100
|
};
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1101
|
+
h.Badge = be;
|
|
1102
|
+
h.LinkArrow = at;
|
|
1103
|
+
h.Content = Fe;
|
|
1104
|
+
h.ContentContainer = $e;
|
|
1105
|
+
h.Cta = Ue;
|
|
1106
|
+
h.FeatureList = rt;
|
|
1107
|
+
h.Overline = pt;
|
|
1108
|
+
h.displayName = "Card";
|
|
1109
|
+
function xt(e) {
|
|
1063
1110
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1064
1111
|
}
|
|
1065
|
-
var
|
|
1112
|
+
var yr = { exports: {} };
|
|
1066
1113
|
/*!
|
|
1067
1114
|
Copyright (c) 2018 Jed Watson.
|
|
1068
1115
|
Licensed under the MIT License (MIT), see
|
|
@@ -1097,9 +1144,9 @@ var mr = { exports: {} };
|
|
|
1097
1144
|
}
|
|
1098
1145
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1099
1146
|
})();
|
|
1100
|
-
})(
|
|
1101
|
-
var
|
|
1102
|
-
const
|
|
1147
|
+
})(yr);
|
|
1148
|
+
var bt = yr.exports;
|
|
1149
|
+
const Ct = /* @__PURE__ */ xt(bt), Z = {
|
|
1103
1150
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1104
1151
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1105
1152
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1115,7 +1162,7 @@ const vt = /* @__PURE__ */ gt(mt), G = {
|
|
|
1115
1162
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1116
1163
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1117
1164
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1118
|
-
},
|
|
1165
|
+
}, St = {
|
|
1119
1166
|
TITLE100: "title-100",
|
|
1120
1167
|
TITLE200: "title-200",
|
|
1121
1168
|
TITLE300: "title-300",
|
|
@@ -1124,32 +1171,32 @@ const vt = /* @__PURE__ */ gt(mt), G = {
|
|
|
1124
1171
|
TITLE600: "title-600",
|
|
1125
1172
|
TITLE700: "title-700",
|
|
1126
1173
|
SUBSECTION100: "subsection-100"
|
|
1127
|
-
},
|
|
1174
|
+
}, I = "purpur-heading", wr = ({
|
|
1128
1175
|
["data-testid"]: e,
|
|
1129
1176
|
children: o,
|
|
1130
1177
|
className: a = "",
|
|
1131
1178
|
enableHyphenation: n = !1,
|
|
1132
1179
|
negative: p = !1,
|
|
1133
1180
|
tag: r,
|
|
1134
|
-
variant: t =
|
|
1181
|
+
variant: t = St.TITLE100,
|
|
1135
1182
|
...i
|
|
1136
1183
|
}) => {
|
|
1137
|
-
const u = r, C =
|
|
1184
|
+
const u = r, C = Ct([
|
|
1138
1185
|
a,
|
|
1139
|
-
|
|
1140
|
-
|
|
1186
|
+
Z[I],
|
|
1187
|
+
Z[`${I}--${t}`],
|
|
1141
1188
|
{
|
|
1142
|
-
[
|
|
1143
|
-
[
|
|
1189
|
+
[Z[`${I}--hyphens`]]: n,
|
|
1190
|
+
[Z[`${I}--negative`]]: p
|
|
1144
1191
|
}
|
|
1145
1192
|
]);
|
|
1146
1193
|
return /* @__PURE__ */ l(u, { ...i, className: C, "data-testid": e, children: o });
|
|
1147
1194
|
};
|
|
1148
|
-
|
|
1149
|
-
function
|
|
1195
|
+
wr.displayName = "Heading";
|
|
1196
|
+
function At(e) {
|
|
1150
1197
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1151
1198
|
}
|
|
1152
|
-
var
|
|
1199
|
+
var xr = { exports: {} };
|
|
1153
1200
|
/*!
|
|
1154
1201
|
Copyright (c) 2018 Jed Watson.
|
|
1155
1202
|
Licensed under the MIT License (MIT), see
|
|
@@ -1184,9 +1231,9 @@ var yr = { exports: {} };
|
|
|
1184
1231
|
}
|
|
1185
1232
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1186
1233
|
})();
|
|
1187
|
-
})(
|
|
1188
|
-
var
|
|
1189
|
-
const
|
|
1234
|
+
})(xr);
|
|
1235
|
+
var Ft = xr.exports;
|
|
1236
|
+
const kt = /* @__PURE__ */ At(Ft), Bt = {
|
|
1190
1237
|
"purpur-promotion-card": "_purpur-promotion-card_1vt4e_1",
|
|
1191
1238
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_1vt4e_8",
|
|
1192
1239
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_1vt4e_8",
|
|
@@ -1202,19 +1249,19 @@ const Ct = /* @__PURE__ */ wt(xt), bt = {
|
|
|
1202
1249
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1vt4e_125",
|
|
1203
1250
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1vt4e_128",
|
|
1204
1251
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1vt4e_129"
|
|
1205
|
-
},
|
|
1252
|
+
}, It = ["primary", "secondary", "quaternary"], $t = {
|
|
1206
1253
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1207
1254
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1208
1255
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1209
|
-
},
|
|
1256
|
+
}, Ot = {
|
|
1210
1257
|
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>')`,
|
|
1211
1258
|
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>')`,
|
|
1212
1259
|
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>')`
|
|
1213
|
-
},
|
|
1260
|
+
}, Mt = {
|
|
1214
1261
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1215
1262
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1216
1263
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1217
|
-
},
|
|
1264
|
+
}, f = kt.bind(Bt), s = "purpur-promotion-card", Et = ({
|
|
1218
1265
|
["data-testid"]: e,
|
|
1219
1266
|
variant: o = "primary",
|
|
1220
1267
|
badgeText: a,
|
|
@@ -1225,79 +1272,79 @@ const Ct = /* @__PURE__ */ wt(xt), bt = {
|
|
|
1225
1272
|
enableTitleHyphenation: i = !0,
|
|
1226
1273
|
className: u,
|
|
1227
1274
|
children: C,
|
|
1228
|
-
style:
|
|
1275
|
+
style: R,
|
|
1229
1276
|
...d
|
|
1230
1277
|
}) => {
|
|
1231
|
-
let
|
|
1278
|
+
let N = d, g, G;
|
|
1232
1279
|
if ("decorativeImage" in d) {
|
|
1233
|
-
const { hasGradient:
|
|
1234
|
-
|
|
1280
|
+
const { hasGradient: S, decorativeImage: A, ...L } = d;
|
|
1281
|
+
g = A, G = S, N = L;
|
|
1235
1282
|
} else if ("productImage" in d) {
|
|
1236
|
-
const { hasGradient:
|
|
1237
|
-
|
|
1283
|
+
const { hasGradient: S, productImage: A, ...L } = d;
|
|
1284
|
+
g = A, G = S, N = L;
|
|
1238
1285
|
} else if ("hasGradient" in d) {
|
|
1239
|
-
const { hasGradient:
|
|
1240
|
-
|
|
1286
|
+
const { hasGradient: S, ...A } = d;
|
|
1287
|
+
G = S, N = A;
|
|
1241
1288
|
}
|
|
1242
|
-
const
|
|
1243
|
-
"--promotion-card-background":
|
|
1244
|
-
"--promotion-card-color":
|
|
1245
|
-
"--promotion-card-background-image":
|
|
1289
|
+
const br = {
|
|
1290
|
+
"--promotion-card-background": $t[o],
|
|
1291
|
+
"--promotion-card-color": Mt[o],
|
|
1292
|
+
"--promotion-card-background-image": Ot[o]
|
|
1246
1293
|
};
|
|
1247
|
-
return /* @__PURE__ */ l(
|
|
1294
|
+
return /* @__PURE__ */ l(h, { className: f(`${s}__card`), children: /* @__PURE__ */ c(
|
|
1248
1295
|
"div",
|
|
1249
1296
|
{
|
|
1250
1297
|
"data-testid": e,
|
|
1251
1298
|
style: {
|
|
1252
|
-
...
|
|
1253
|
-
...
|
|
1299
|
+
...br,
|
|
1300
|
+
...R
|
|
1254
1301
|
},
|
|
1255
|
-
className:
|
|
1302
|
+
className: f([
|
|
1256
1303
|
u,
|
|
1257
1304
|
s,
|
|
1258
1305
|
`${s}--${o}`,
|
|
1259
1306
|
{
|
|
1260
|
-
[`${s}--with-image`]:
|
|
1261
|
-
[`${s}--without-image`]: !
|
|
1307
|
+
[`${s}--with-image`]: g,
|
|
1308
|
+
[`${s}--without-image`]: !g
|
|
1262
1309
|
}
|
|
1263
1310
|
]),
|
|
1264
|
-
...
|
|
1311
|
+
...N,
|
|
1265
1312
|
children: [
|
|
1266
|
-
/* @__PURE__ */
|
|
1313
|
+
/* @__PURE__ */ c(
|
|
1267
1314
|
"div",
|
|
1268
1315
|
{
|
|
1269
|
-
className:
|
|
1316
|
+
className: f([
|
|
1270
1317
|
`${s}__content`,
|
|
1271
1318
|
{
|
|
1272
|
-
[`${s}__content--with-image`]:
|
|
1273
|
-
[`${s}__content--without-image`]: !
|
|
1319
|
+
[`${s}__content--with-image`]: g,
|
|
1320
|
+
[`${s}__content--without-image`]: !g
|
|
1274
1321
|
}
|
|
1275
1322
|
]),
|
|
1276
1323
|
children: [
|
|
1277
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className:
|
|
1324
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ c(Vr, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1278
1325
|
n && n,
|
|
1279
1326
|
a
|
|
1280
1327
|
] }) }),
|
|
1281
|
-
/* @__PURE__ */
|
|
1328
|
+
/* @__PURE__ */ c("div", { className: f(`${s}__main-content`), children: [
|
|
1282
1329
|
/* @__PURE__ */ l(
|
|
1283
|
-
|
|
1330
|
+
wr,
|
|
1284
1331
|
{
|
|
1285
1332
|
tag: r,
|
|
1286
1333
|
variant: t,
|
|
1287
1334
|
enableHyphenation: i,
|
|
1288
|
-
className:
|
|
1335
|
+
className: f(`${s}__heading`),
|
|
1289
1336
|
children: p
|
|
1290
1337
|
}
|
|
1291
1338
|
),
|
|
1292
|
-
/* @__PURE__ */ l("div", { className:
|
|
1339
|
+
/* @__PURE__ */ l("div", { className: f(`${s}__body`), children: C })
|
|
1293
1340
|
] })
|
|
1294
1341
|
]
|
|
1295
1342
|
}
|
|
1296
1343
|
),
|
|
1297
|
-
|
|
1344
|
+
g && /* @__PURE__ */ c(
|
|
1298
1345
|
"div",
|
|
1299
1346
|
{
|
|
1300
|
-
className:
|
|
1347
|
+
className: f([
|
|
1301
1348
|
`${s}__image-wrapper`,
|
|
1302
1349
|
{
|
|
1303
1350
|
[`${s}__image-wrapper--product`]: "productImage" in d,
|
|
@@ -1305,11 +1352,11 @@ const Ct = /* @__PURE__ */ wt(xt), bt = {
|
|
|
1305
1352
|
}
|
|
1306
1353
|
]),
|
|
1307
1354
|
children: [
|
|
1308
|
-
|
|
1309
|
-
|
|
1355
|
+
g,
|
|
1356
|
+
G && /* @__PURE__ */ l(
|
|
1310
1357
|
"div",
|
|
1311
1358
|
{
|
|
1312
|
-
className:
|
|
1359
|
+
className: f(`${s}__image-gradient`),
|
|
1313
1360
|
"data-testid": "promotion-card-gradient"
|
|
1314
1361
|
}
|
|
1315
1362
|
)
|
|
@@ -1320,9 +1367,9 @@ const Ct = /* @__PURE__ */ wt(xt), bt = {
|
|
|
1320
1367
|
}
|
|
1321
1368
|
) });
|
|
1322
1369
|
};
|
|
1323
|
-
|
|
1370
|
+
Et.displayName = "PromotionCard";
|
|
1324
1371
|
export {
|
|
1325
|
-
|
|
1326
|
-
|
|
1372
|
+
Et as PromotionCard,
|
|
1373
|
+
It as promotionCardVariants
|
|
1327
1374
|
};
|
|
1328
1375
|
//# sourceMappingURL=promotion-card.es.js.map
|