@purpurds/promotion-card 5.24.2 → 5.24.3
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 +15 -15
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.es.js +272 -272
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +12 -12
- package/src/promotion-card.module.scss +1 -1
- package/src/promotion-card.tsx +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as _, jsx as l, Fragment as
|
|
2
|
-
import { forwardRef as $, Children as q, isValidElement as V, createElement as D, cloneElement as
|
|
1
|
+
import { jsxs as _, jsx as l, Fragment as hr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as $, Children as q, isValidElement as V, createElement as D, cloneElement as mr, useEffect as Dr, Fragment as Pr } from "react";
|
|
3
3
|
import "react-dom";
|
|
4
|
-
function
|
|
4
|
+
function Tr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var vr = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
@@ -39,9 +39,9 @@ var yr = { exports: {} };
|
|
|
39
39
|
}
|
|
40
40
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
41
41
|
})();
|
|
42
|
-
})(
|
|
43
|
-
var
|
|
44
|
-
const
|
|
42
|
+
})(vr);
|
|
43
|
+
var zr = vr.exports;
|
|
44
|
+
const Hr = /* @__PURE__ */ Tr(zr), 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",
|
|
@@ -49,61 +49,61 @@ const Vr = /* @__PURE__ */ zr(Hr), Wr = {
|
|
|
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
|
+
}, Wr = {
|
|
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
|
+
}, Xr = {
|
|
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
|
+
}, Kr = {
|
|
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
|
+
}, Yr = {
|
|
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
|
+
}, Jr = {
|
|
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
|
+
}, Qr = {
|
|
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
|
+
}, re = {
|
|
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
|
+
}, ee = Hr.bind(Vr), rr = "purpur-icon", te = "md", ae = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ie = ({ content: e = "", title: i } = {}) => {
|
|
88
88
|
const a = [
|
|
89
89
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
90
90
|
{ name: "fill", value: "currentColor" },
|
|
91
91
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
92
92
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
93
93
|
], n = i ? `<title>${i}</title>` : "";
|
|
94
|
-
return `<svg ${
|
|
95
|
-
},
|
|
94
|
+
return `<svg ${ae(a)}>${n}${e}</svg>`;
|
|
95
|
+
}, oe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), yr = ({
|
|
96
96
|
["data-testid"]: e,
|
|
97
97
|
svg: i,
|
|
98
98
|
allyTitle: a,
|
|
99
99
|
className: n,
|
|
100
|
-
size: p =
|
|
100
|
+
size: p = te,
|
|
101
101
|
...r
|
|
102
102
|
}) => {
|
|
103
|
-
const t =
|
|
104
|
-
content:
|
|
103
|
+
const t = ie({
|
|
104
|
+
content: oe(i.svg),
|
|
105
105
|
title: a
|
|
106
|
-
}), o =
|
|
106
|
+
}), o = ee(n, rr, `${rr}--${p}`);
|
|
107
107
|
return /* @__PURE__ */ l(
|
|
108
108
|
"span",
|
|
109
109
|
{
|
|
@@ -115,11 +115,11 @@ const Vr = /* @__PURE__ */ zr(Hr), Wr = {
|
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
117
|
};
|
|
118
|
-
|
|
119
|
-
function
|
|
118
|
+
yr.displayName = "Icon";
|
|
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 xr = { exports: {} };
|
|
123
123
|
/*!
|
|
124
124
|
Copyright (c) 2018 Jed Watson.
|
|
125
125
|
Licensed under the MIT License (MIT), see
|
|
@@ -154,9 +154,9 @@ var wr = { exports: {} };
|
|
|
154
154
|
}
|
|
155
155
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
156
156
|
})();
|
|
157
|
-
})(
|
|
158
|
-
var
|
|
159
|
-
const
|
|
157
|
+
})(xr);
|
|
158
|
+
var pe = xr.exports;
|
|
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",
|
|
162
162
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -166,7 +166,7 @@ const ue = /* @__PURE__ */ pe(le), tr = {
|
|
|
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
|
-
},
|
|
169
|
+
}, tr = "purpur-badge", w = {
|
|
170
170
|
ATTENTION: "attention",
|
|
171
171
|
SPECIAL: "special",
|
|
172
172
|
NEUTRAL: "neutral",
|
|
@@ -175,27 +175,27 @@ const ue = /* @__PURE__ */ pe(le), tr = {
|
|
|
175
175
|
WARNING: "warning",
|
|
176
176
|
ERROR: "error",
|
|
177
177
|
BLACK_FRIDAY: "black-friday"
|
|
178
|
-
},
|
|
178
|
+
}, ue = (e) => {
|
|
179
179
|
switch (e) {
|
|
180
180
|
case w.ATTENTION:
|
|
181
181
|
case w.SPECIAL:
|
|
182
|
-
return Qr;
|
|
183
|
-
case w.INFORMATION:
|
|
184
182
|
return Jr;
|
|
183
|
+
case w.INFORMATION:
|
|
184
|
+
return Yr;
|
|
185
185
|
case w.SUCCESS:
|
|
186
|
-
return Kr;
|
|
187
|
-
case w.WARNING:
|
|
188
186
|
return Xr;
|
|
187
|
+
case w.WARNING:
|
|
188
|
+
return Wr;
|
|
189
189
|
case w.ERROR:
|
|
190
|
-
return
|
|
190
|
+
return Kr;
|
|
191
191
|
case w.NEUTRAL:
|
|
192
|
-
return
|
|
192
|
+
return Qr;
|
|
193
193
|
case w.BLACK_FRIDAY:
|
|
194
|
-
return
|
|
194
|
+
return re;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, se = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: i = !0,
|
|
201
201
|
variant: a,
|
|
@@ -204,20 +204,20 @@ const ue = /* @__PURE__ */ pe(le), tr = {
|
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const o =
|
|
207
|
+
const o = ue(a), u = le([r, er[tr], er[`${tr}--${a}`]]);
|
|
208
208
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
209
|
-
i && o && /* @__PURE__ */ l(
|
|
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
213
|
SM: "sm",
|
|
214
214
|
MD: "md",
|
|
215
215
|
LG: "lg"
|
|
216
216
|
};
|
|
217
|
-
function
|
|
217
|
+
function ce(e) {
|
|
218
218
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var wr = { exports: {} };
|
|
221
221
|
/*!
|
|
222
222
|
Copyright (c) 2018 Jed Watson.
|
|
223
223
|
Licensed under the MIT License (MIT), see
|
|
@@ -252,42 +252,42 @@ var br = { exports: {} };
|
|
|
252
252
|
}
|
|
253
253
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
254
254
|
})();
|
|
255
|
-
})(
|
|
256
|
-
var
|
|
257
|
-
const
|
|
255
|
+
})(wr);
|
|
256
|
+
var _e = wr.exports;
|
|
257
|
+
const ar = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1", Z = {
|
|
258
258
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
259
|
-
rotate:
|
|
259
|
+
rotate: fe,
|
|
260
260
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
261
261
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
262
262
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
263
263
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
264
264
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
265
265
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
266
|
-
dash:
|
|
266
|
+
dash: ge,
|
|
267
267
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
268
268
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
269
|
-
}, I = "purpur-spinner",
|
|
269
|
+
}, I = "purpur-spinner", he = {
|
|
270
270
|
XXS: "xxs",
|
|
271
271
|
XS: "xs",
|
|
272
272
|
SM: "sm",
|
|
273
273
|
MD: "md",
|
|
274
274
|
LG: "lg"
|
|
275
|
-
},
|
|
275
|
+
}, me = ({
|
|
276
276
|
["data-testid"]: e,
|
|
277
277
|
disabled: i = !1,
|
|
278
278
|
negative: a = !1,
|
|
279
|
-
size: n =
|
|
279
|
+
size: n = he.SM,
|
|
280
280
|
...p
|
|
281
281
|
}) => /* @__PURE__ */ l(
|
|
282
282
|
"div",
|
|
283
283
|
{
|
|
284
|
-
className:
|
|
284
|
+
className: ar([Z[I], Z[`${I}--${n}`]]),
|
|
285
285
|
"data-testid": e,
|
|
286
286
|
...p,
|
|
287
287
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
288
288
|
"circle",
|
|
289
289
|
{
|
|
290
|
-
className:
|
|
290
|
+
className: ar(Z[`${I}__circle`], {
|
|
291
291
|
[Z[`${I}__circle--disabled`]]: i,
|
|
292
292
|
[Z[`${I}__circle--negative`]]: a
|
|
293
293
|
}),
|
|
@@ -298,10 +298,10 @@ const ir = /* @__PURE__ */ _e(fe), ge = "_rotate_1xozj_1", he = "_dash_1xozj_1",
|
|
|
298
298
|
) })
|
|
299
299
|
}
|
|
300
300
|
);
|
|
301
|
-
function
|
|
301
|
+
function ve(e) {
|
|
302
302
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
303
303
|
}
|
|
304
|
-
var
|
|
304
|
+
var br = { exports: {} };
|
|
305
305
|
/*!
|
|
306
306
|
Copyright (c) 2018 Jed Watson.
|
|
307
307
|
Licensed under the MIT License (MIT), see
|
|
@@ -336,9 +336,9 @@ var $r = { exports: {} };
|
|
|
336
336
|
}
|
|
337
337
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
338
338
|
})();
|
|
339
|
-
})(
|
|
340
|
-
var
|
|
341
|
-
const
|
|
339
|
+
})(br);
|
|
340
|
+
var ye = br.exports;
|
|
341
|
+
const xe = /* @__PURE__ */ ve(ye), we = {
|
|
342
342
|
"purpur-button": "_purpur-button_1acxn_1",
|
|
343
343
|
"purpur-button--sm": "_purpur-button--sm_1acxn_33",
|
|
344
344
|
"purpur-button--icon-only": "_purpur-button--icon-only_1acxn_36",
|
|
@@ -359,7 +359,7 @@ const we = /* @__PURE__ */ ye(xe), be = {
|
|
|
359
359
|
"purpur-button--tertiary-purple-negative": "_purpur-button--tertiary-purple-negative_1acxn_160",
|
|
360
360
|
"purpur-button--text-negative": "_purpur-button--text-negative_1acxn_175",
|
|
361
361
|
"purpur-button--text": "_purpur-button--text_1acxn_175"
|
|
362
|
-
},
|
|
362
|
+
}, be = xe.bind(we), A = "purpur-button", $e = ({
|
|
363
363
|
children: e,
|
|
364
364
|
className: i,
|
|
365
365
|
["data-testid"]: a,
|
|
@@ -376,7 +376,7 @@ const we = /* @__PURE__ */ ye(xe), be = {
|
|
|
376
376
|
}, F) => {
|
|
377
377
|
if (r && g === "destructive")
|
|
378
378
|
return null;
|
|
379
|
-
const v =
|
|
379
|
+
const v = be(
|
|
380
380
|
[
|
|
381
381
|
A,
|
|
382
382
|
`${A}--${o ? `${g}-negative` : g}`,
|
|
@@ -403,18 +403,18 @@ const we = /* @__PURE__ */ ye(xe), be = {
|
|
|
403
403
|
onClick: h,
|
|
404
404
|
...d,
|
|
405
405
|
children: [
|
|
406
|
-
t && /* @__PURE__ */ l(
|
|
406
|
+
t && /* @__PURE__ */ l(me, { size: c === de.LG ? "xs" : "xxs", negative: o, disabled: C }),
|
|
407
407
|
" ",
|
|
408
408
|
e
|
|
409
409
|
]
|
|
410
410
|
}
|
|
411
411
|
);
|
|
412
|
-
},
|
|
413
|
-
|
|
414
|
-
function
|
|
412
|
+
}, $r = $($e);
|
|
413
|
+
$r.displayName = "Button";
|
|
414
|
+
function Se(e) {
|
|
415
415
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
416
416
|
}
|
|
417
|
-
var
|
|
417
|
+
var Sr = { exports: {} };
|
|
418
418
|
/*!
|
|
419
419
|
Copyright (c) 2018 Jed Watson.
|
|
420
420
|
Licensed under the MIT License (MIT), see
|
|
@@ -449,15 +449,15 @@ var Cr = { exports: {} };
|
|
|
449
449
|
}
|
|
450
450
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
451
451
|
})();
|
|
452
|
-
})(
|
|
453
|
-
var
|
|
454
|
-
const m = /* @__PURE__ */ Ce
|
|
452
|
+
})(Sr);
|
|
453
|
+
var Ce = Sr.exports;
|
|
454
|
+
const m = /* @__PURE__ */ Se(Ce), ke = {
|
|
455
455
|
"purpur-card": "_purpur-card_1owb4_1"
|
|
456
456
|
};
|
|
457
|
-
function
|
|
457
|
+
function Ae(e) {
|
|
458
458
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
459
459
|
}
|
|
460
|
-
var
|
|
460
|
+
var Cr = { exports: {} };
|
|
461
461
|
/*!
|
|
462
462
|
Copyright (c) 2018 Jed Watson.
|
|
463
463
|
Licensed under the MIT License (MIT), see
|
|
@@ -492,9 +492,9 @@ var kr = { exports: {} };
|
|
|
492
492
|
}
|
|
493
493
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
494
494
|
})();
|
|
495
|
-
})(
|
|
496
|
-
var
|
|
497
|
-
const
|
|
495
|
+
})(Cr);
|
|
496
|
+
var Oe = Cr.exports;
|
|
497
|
+
const Be = /* @__PURE__ */ Ae(Oe), Fe = {
|
|
498
498
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
499
499
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
500
500
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -502,61 +502,61 @@ const Fe = /* @__PURE__ */ Oe(Be), Me = {
|
|
|
502
502
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
503
503
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
504
504
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
505
|
-
},
|
|
505
|
+
}, Me = {
|
|
506
506
|
name: "alert",
|
|
507
507
|
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
508
|
keywords: ["alert"],
|
|
509
509
|
category: "status"
|
|
510
|
-
},
|
|
510
|
+
}, Ne = {
|
|
511
511
|
name: "check-circle",
|
|
512
512
|
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
513
|
keywords: ["check-circle"],
|
|
514
514
|
category: "status"
|
|
515
|
-
},
|
|
515
|
+
}, Ee = {
|
|
516
516
|
name: "error",
|
|
517
517
|
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
518
|
keywords: ["error"],
|
|
519
519
|
category: "status"
|
|
520
|
-
},
|
|
520
|
+
}, Ge = {
|
|
521
521
|
name: "info",
|
|
522
522
|
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
523
|
keywords: ["info"],
|
|
524
524
|
category: "status"
|
|
525
|
-
},
|
|
525
|
+
}, Ze = {
|
|
526
526
|
name: "offering",
|
|
527
527
|
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
528
|
keywords: ["offering"],
|
|
529
529
|
category: "other"
|
|
530
|
-
},
|
|
530
|
+
}, Ie = {
|
|
531
531
|
name: "question",
|
|
532
532
|
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
533
|
keywords: ["question"],
|
|
534
534
|
category: "status"
|
|
535
|
-
},
|
|
535
|
+
}, je = {
|
|
536
536
|
name: "tag",
|
|
537
537
|
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
538
|
keywords: ["tag"],
|
|
539
539
|
category: "other"
|
|
540
|
-
},
|
|
540
|
+
}, Ue = Be.bind(Fe), ir = "purpur-icon", Le = "md", Re = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), qe = ({ content: e = "", title: i } = {}) => {
|
|
541
541
|
const a = [
|
|
542
542
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
543
543
|
{ name: "fill", value: "currentColor" },
|
|
544
544
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
545
545
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
546
546
|
], n = i ? `<title>${i}</title>` : "";
|
|
547
|
-
return `<svg ${
|
|
548
|
-
},
|
|
547
|
+
return `<svg ${Re(a)}>${n}${e}</svg>`;
|
|
548
|
+
}, De = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({
|
|
549
549
|
["data-testid"]: e,
|
|
550
550
|
svg: i,
|
|
551
551
|
allyTitle: a,
|
|
552
552
|
className: n,
|
|
553
|
-
size: p =
|
|
553
|
+
size: p = Le,
|
|
554
554
|
...r
|
|
555
555
|
}) => {
|
|
556
|
-
const t =
|
|
557
|
-
content:
|
|
556
|
+
const t = qe({
|
|
557
|
+
content: De(i.svg),
|
|
558
558
|
title: a
|
|
559
|
-
}), o =
|
|
559
|
+
}), o = Ue(n, ir, `${ir}--${p}`);
|
|
560
560
|
return /* @__PURE__ */ l(
|
|
561
561
|
"span",
|
|
562
562
|
{
|
|
@@ -568,11 +568,11 @@ const Fe = /* @__PURE__ */ Oe(Be), Me = {
|
|
|
568
568
|
}
|
|
569
569
|
);
|
|
570
570
|
};
|
|
571
|
-
|
|
572
|
-
function
|
|
571
|
+
kr.displayName = "Icon";
|
|
572
|
+
function Pe(e) {
|
|
573
573
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
574
|
}
|
|
575
|
-
var
|
|
575
|
+
var Ar = { exports: {} };
|
|
576
576
|
/*!
|
|
577
577
|
Copyright (c) 2018 Jed Watson.
|
|
578
578
|
Licensed under the MIT License (MIT), see
|
|
@@ -607,9 +607,9 @@ var Or = { exports: {} };
|
|
|
607
607
|
}
|
|
608
608
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
609
609
|
})();
|
|
610
|
-
})(
|
|
611
|
-
var
|
|
612
|
-
const
|
|
610
|
+
})(Ar);
|
|
611
|
+
var Te = Ar.exports;
|
|
612
|
+
const ze = /* @__PURE__ */ Pe(Te), or = {
|
|
613
613
|
"purpur-badge": "_purpur-badge_1r1mu_1",
|
|
614
614
|
"purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
|
|
615
615
|
"purpur-badge--special": "_purpur-badge--special_1r1mu_17",
|
|
@@ -619,7 +619,7 @@ const He = /* @__PURE__ */ Te(ze), nr = {
|
|
|
619
619
|
"purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
|
|
620
620
|
"purpur-badge--error": "_purpur-badge--error_1r1mu_37",
|
|
621
621
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
|
|
622
|
-
},
|
|
622
|
+
}, nr = "purpur-badge", b = {
|
|
623
623
|
ATTENTION: "attention",
|
|
624
624
|
SPECIAL: "special",
|
|
625
625
|
NEUTRAL: "neutral",
|
|
@@ -628,27 +628,27 @@ const He = /* @__PURE__ */ Te(ze), nr = {
|
|
|
628
628
|
WARNING: "warning",
|
|
629
629
|
ERROR: "error",
|
|
630
630
|
BLACK_FRIDAY: "black-friday"
|
|
631
|
-
},
|
|
631
|
+
}, He = (e) => {
|
|
632
632
|
switch (e) {
|
|
633
633
|
case b.ATTENTION:
|
|
634
634
|
case b.SPECIAL:
|
|
635
|
-
return Ie;
|
|
636
|
-
case b.INFORMATION:
|
|
637
635
|
return Ze;
|
|
636
|
+
case b.INFORMATION:
|
|
637
|
+
return Ge;
|
|
638
638
|
case b.SUCCESS:
|
|
639
|
-
return Ee;
|
|
640
|
-
case b.WARNING:
|
|
641
639
|
return Ne;
|
|
640
|
+
case b.WARNING:
|
|
641
|
+
return Me;
|
|
642
642
|
case b.ERROR:
|
|
643
|
-
return
|
|
643
|
+
return Ee;
|
|
644
644
|
case b.NEUTRAL:
|
|
645
|
-
return
|
|
645
|
+
return Ie;
|
|
646
646
|
case b.BLACK_FRIDAY:
|
|
647
|
-
return
|
|
647
|
+
return je;
|
|
648
648
|
default:
|
|
649
649
|
return;
|
|
650
650
|
}
|
|
651
|
-
},
|
|
651
|
+
}, Ve = ({
|
|
652
652
|
children: e,
|
|
653
653
|
showIcon: i = !0,
|
|
654
654
|
variant: a,
|
|
@@ -657,55 +657,55 @@ const He = /* @__PURE__ */ Te(ze), nr = {
|
|
|
657
657
|
className: r = "",
|
|
658
658
|
...t
|
|
659
659
|
}) => {
|
|
660
|
-
const o =
|
|
660
|
+
const o = He(a), u = ze([r, or[nr], or[`${nr}--${a}`]]);
|
|
661
661
|
return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
|
|
662
|
-
i && o && /* @__PURE__ */ l(
|
|
662
|
+
i && o && /* @__PURE__ */ l(kr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
|
|
663
663
|
e
|
|
664
664
|
] });
|
|
665
|
-
},
|
|
665
|
+
}, We = {
|
|
666
666
|
"purpur-card-badge": "_purpur-card-badge_r7moe_1"
|
|
667
|
-
},
|
|
667
|
+
}, Xe = m.bind(We), Ke = "purpur-card-badge", Ye = ({
|
|
668
668
|
["data-testid"]: e = "purpur-card-badge",
|
|
669
669
|
variant: i,
|
|
670
670
|
text: a
|
|
671
671
|
}) => i && a ? /* @__PURE__ */ l(
|
|
672
|
-
|
|
672
|
+
Ve,
|
|
673
673
|
{
|
|
674
|
-
className: Ke
|
|
674
|
+
className: Xe(Ke),
|
|
675
675
|
variant: i,
|
|
676
676
|
showIcon: !1,
|
|
677
677
|
"data-testid": e,
|
|
678
678
|
children: a
|
|
679
679
|
}
|
|
680
|
-
) : null,
|
|
680
|
+
) : null, Je = {
|
|
681
681
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
682
|
-
},
|
|
682
|
+
}, Qe = m.bind(Je), rt = "purpur-card-content", et = ({
|
|
683
683
|
["data-testid"]: e = "purpur-card-content",
|
|
684
684
|
children: i
|
|
685
|
-
}) => /* @__PURE__ */ l("div", { className: rt
|
|
685
|
+
}) => /* @__PURE__ */ l("div", { className: Qe(rt), "data-testid": e, children: i }), tt = {
|
|
686
686
|
"purpur-card-content-container": "_purpur-card-content-container_ueryq_1",
|
|
687
687
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_ueryq_12"
|
|
688
|
-
},
|
|
688
|
+
}, at = m.bind(tt), pr = "purpur-card-content-container", it = ({
|
|
689
689
|
["data-testid"]: e = "purpur-card-content-container",
|
|
690
690
|
children: i,
|
|
691
691
|
isFooter: a = !1
|
|
692
692
|
}) => /* @__PURE__ */ l(
|
|
693
693
|
"div",
|
|
694
694
|
{
|
|
695
|
-
className:
|
|
696
|
-
|
|
695
|
+
className: at([
|
|
696
|
+
pr,
|
|
697
697
|
{
|
|
698
|
-
[`${
|
|
698
|
+
[`${pr}--footer`]: a
|
|
699
699
|
}
|
|
700
700
|
]),
|
|
701
701
|
"data-testid": e,
|
|
702
702
|
children: i
|
|
703
703
|
}
|
|
704
704
|
);
|
|
705
|
-
function
|
|
705
|
+
function ot(e) {
|
|
706
706
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
707
707
|
}
|
|
708
|
-
var
|
|
708
|
+
var Or = { exports: {} };
|
|
709
709
|
/*!
|
|
710
710
|
Copyright (c) 2018 Jed Watson.
|
|
711
711
|
Licensed under the MIT License (MIT), see
|
|
@@ -740,42 +740,42 @@ var Br = { exports: {} };
|
|
|
740
740
|
}
|
|
741
741
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
742
742
|
})();
|
|
743
|
-
})(
|
|
744
|
-
var
|
|
745
|
-
const
|
|
743
|
+
})(Or);
|
|
744
|
+
var nt = Or.exports;
|
|
745
|
+
const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1", j = {
|
|
746
746
|
"purpur-spinner": "_purpur-spinner_1xozj_1",
|
|
747
|
-
rotate:
|
|
747
|
+
rotate: pt,
|
|
748
748
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
|
|
749
749
|
"purpur-spinner--xs": "_purpur-spinner--xs_1xozj_8",
|
|
750
750
|
"purpur-spinner--sm": "_purpur-spinner--sm_1xozj_12",
|
|
751
751
|
"purpur-spinner--md": "_purpur-spinner--md_1xozj_16",
|
|
752
752
|
"purpur-spinner--lg": "_purpur-spinner--lg_1xozj_20",
|
|
753
753
|
"purpur-spinner__circle": "_purpur-spinner__circle_1xozj_24",
|
|
754
|
-
dash:
|
|
754
|
+
dash: lt,
|
|
755
755
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_1xozj_33",
|
|
756
756
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_1xozj_36"
|
|
757
|
-
}, U = "purpur-spinner",
|
|
757
|
+
}, U = "purpur-spinner", ut = {
|
|
758
758
|
XXS: "xxs",
|
|
759
759
|
XS: "xs",
|
|
760
760
|
SM: "sm",
|
|
761
761
|
MD: "md",
|
|
762
762
|
LG: "lg"
|
|
763
|
-
},
|
|
763
|
+
}, Br = ({
|
|
764
764
|
["data-testid"]: e,
|
|
765
765
|
disabled: i = !1,
|
|
766
766
|
negative: a = !1,
|
|
767
|
-
size: n =
|
|
767
|
+
size: n = ut.SM,
|
|
768
768
|
...p
|
|
769
769
|
}) => /* @__PURE__ */ l(
|
|
770
770
|
"div",
|
|
771
771
|
{
|
|
772
|
-
className:
|
|
772
|
+
className: lr([j[U], j[`${U}--${n}`]]),
|
|
773
773
|
"data-testid": e,
|
|
774
774
|
...p,
|
|
775
775
|
children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
776
776
|
"circle",
|
|
777
777
|
{
|
|
778
|
-
className:
|
|
778
|
+
className: lr(j[`${U}__circle`], {
|
|
779
779
|
[j[`${U}__circle--disabled`]]: i,
|
|
780
780
|
[j[`${U}__circle--negative`]]: a
|
|
781
781
|
}),
|
|
@@ -785,7 +785,7 @@ const ur = /* @__PURE__ */ nt(pt), lt = "_rotate_1xozj_1", ut = "_dash_1xozj_1",
|
|
|
785
785
|
}
|
|
786
786
|
) })
|
|
787
787
|
}
|
|
788
|
-
),
|
|
788
|
+
), st = {
|
|
789
789
|
"purpur-card-cta": "_purpur-card-cta_1fd16_1",
|
|
790
790
|
"purpur-card-cta--sm": "_purpur-card-cta--sm_1fd16_33",
|
|
791
791
|
"purpur-card-cta--icon-only": "_purpur-card-cta--icon-only_1fd16_36",
|
|
@@ -800,7 +800,7 @@ const ur = /* @__PURE__ */ nt(pt), lt = "_rotate_1xozj_1", ut = "_dash_1xozj_1",
|
|
|
800
800
|
"purpur-card-cta--expressive": "_purpur-card-cta--expressive_1fd16_98",
|
|
801
801
|
"purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_1fd16_108",
|
|
802
802
|
"purpur-card-cta--text": "_purpur-card-cta--text_1fd16_128"
|
|
803
|
-
},
|
|
803
|
+
}, dt = m.bind(st), O = "purpur-card-cta", ct = ({
|
|
804
804
|
["data-testid"]: e = "purpur-card-cta",
|
|
805
805
|
className: i,
|
|
806
806
|
children: a,
|
|
@@ -812,7 +812,7 @@ const ur = /* @__PURE__ */ nt(pt), lt = "_rotate_1xozj_1", ut = "_dash_1xozj_1",
|
|
|
812
812
|
}) => /* @__PURE__ */ l(
|
|
813
813
|
"div",
|
|
814
814
|
{
|
|
815
|
-
className: `${
|
|
815
|
+
className: `${dt([
|
|
816
816
|
O,
|
|
817
817
|
i,
|
|
818
818
|
`${O}--md`,
|
|
@@ -825,17 +825,17 @@ const ur = /* @__PURE__ */ nt(pt), lt = "_rotate_1xozj_1", ut = "_dash_1xozj_1",
|
|
|
825
825
|
])} ${O}`,
|
|
826
826
|
"data-testid": e,
|
|
827
827
|
...o,
|
|
828
|
-
children: r ? /* @__PURE__ */ l(
|
|
828
|
+
children: r ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ _(hr, { children: [
|
|
829
829
|
p === "left" && a,
|
|
830
830
|
t,
|
|
831
831
|
p === "right" && a
|
|
832
832
|
] })
|
|
833
833
|
}
|
|
834
834
|
);
|
|
835
|
-
function
|
|
835
|
+
function _t(e) {
|
|
836
836
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
837
837
|
}
|
|
838
|
-
var
|
|
838
|
+
var Fr = { exports: {} };
|
|
839
839
|
/*!
|
|
840
840
|
Copyright (c) 2018 Jed Watson.
|
|
841
841
|
Licensed under the MIT License (MIT), see
|
|
@@ -870,9 +870,9 @@ var Mr = { exports: {} };
|
|
|
870
870
|
}
|
|
871
871
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
872
872
|
})();
|
|
873
|
-
})(
|
|
874
|
-
var
|
|
875
|
-
const
|
|
873
|
+
})(Fr);
|
|
874
|
+
var ft = Fr.exports;
|
|
875
|
+
const gt = /* @__PURE__ */ _t(ft), ht = {
|
|
876
876
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
877
877
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
878
878
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -880,52 +880,52 @@ const ht = /* @__PURE__ */ ft(gt), mt = {
|
|
|
880
880
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
881
881
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
882
882
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
883
|
-
},
|
|
883
|
+
}, mt = {
|
|
884
884
|
name: "arrow-right",
|
|
885
885
|
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>',
|
|
886
886
|
keywords: ["arrow-right"],
|
|
887
887
|
category: "utility"
|
|
888
|
-
},
|
|
888
|
+
}, vt = {
|
|
889
889
|
name: "checkmark",
|
|
890
890
|
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
891
|
keywords: ["checkmark"],
|
|
892
892
|
category: "utility"
|
|
893
|
-
},
|
|
893
|
+
}, Mr = (e) => /* @__PURE__ */ l(
|
|
894
894
|
J,
|
|
895
895
|
{
|
|
896
896
|
...e,
|
|
897
|
-
svg:
|
|
897
|
+
svg: mt
|
|
898
898
|
}
|
|
899
899
|
);
|
|
900
|
-
|
|
901
|
-
const
|
|
900
|
+
Mr.displayName = "IconArrowRight";
|
|
901
|
+
const Nr = (e) => /* @__PURE__ */ l(
|
|
902
902
|
J,
|
|
903
903
|
{
|
|
904
904
|
...e,
|
|
905
|
-
svg:
|
|
905
|
+
svg: vt
|
|
906
906
|
}
|
|
907
907
|
);
|
|
908
|
-
|
|
909
|
-
const
|
|
908
|
+
Nr.displayName = "IconCheckmark";
|
|
909
|
+
const yt = gt.bind(ht), ur = "purpur-icon", xt = "md", wt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), bt = ({ content: e = "", title: i } = {}) => {
|
|
910
910
|
const a = [
|
|
911
911
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
912
912
|
{ name: "fill", value: "currentColor" },
|
|
913
913
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
914
914
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
915
915
|
], n = i ? `<title>${i}</title>` : "";
|
|
916
|
-
return `<svg ${
|
|
917
|
-
},
|
|
916
|
+
return `<svg ${wt(a)}>${n}${e}</svg>`;
|
|
917
|
+
}, $t = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), J = ({
|
|
918
918
|
["data-testid"]: e,
|
|
919
919
|
svg: i,
|
|
920
920
|
allyTitle: a,
|
|
921
921
|
className: n,
|
|
922
|
-
size: p =
|
|
922
|
+
size: p = xt,
|
|
923
923
|
...r
|
|
924
924
|
}) => {
|
|
925
|
-
const t =
|
|
926
|
-
content:
|
|
925
|
+
const t = bt({
|
|
926
|
+
content: $t(i.svg),
|
|
927
927
|
title: a
|
|
928
|
-
}), o =
|
|
928
|
+
}), o = yt(n, ur, `${ur}--${p}`);
|
|
929
929
|
return /* @__PURE__ */ l(
|
|
930
930
|
"span",
|
|
931
931
|
{
|
|
@@ -938,10 +938,10 @@ const xt = ht.bind(mt), sr = "purpur-icon", wt = "md", bt = (e) => e.filter((i)
|
|
|
938
938
|
);
|
|
939
939
|
};
|
|
940
940
|
J.displayName = "Icon";
|
|
941
|
-
function
|
|
941
|
+
function St(e) {
|
|
942
942
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
943
943
|
}
|
|
944
|
-
var
|
|
944
|
+
var Er = { exports: {} };
|
|
945
945
|
/*!
|
|
946
946
|
Copyright (c) 2018 Jed Watson.
|
|
947
947
|
Licensed under the MIT License (MIT), see
|
|
@@ -976,9 +976,9 @@ var Gr = { exports: {} };
|
|
|
976
976
|
}
|
|
977
977
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
978
978
|
})();
|
|
979
|
-
})(
|
|
980
|
-
var
|
|
981
|
-
const
|
|
979
|
+
})(Er);
|
|
980
|
+
var Ct = Er.exports;
|
|
981
|
+
const kt = /* @__PURE__ */ St(Ct), L = {
|
|
982
982
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
983
983
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
984
984
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -993,7 +993,7 @@ const At = /* @__PURE__ */ Ct(kt), L = {
|
|
|
993
993
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
994
994
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
995
995
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
996
|
-
},
|
|
996
|
+
}, At = {
|
|
997
997
|
PARAGRAPH100: "paragraph-100",
|
|
998
998
|
PARAGRAPH100MEDIUM: "paragraph-100-medium",
|
|
999
999
|
PARAGRAPH100BOLD: "paragraph-100-bold",
|
|
@@ -1011,10 +1011,10 @@ const At = /* @__PURE__ */ Ct(kt), L = {
|
|
|
1011
1011
|
disabled: n,
|
|
1012
1012
|
enableHyphenation: p = !1,
|
|
1013
1013
|
negative: r = !1,
|
|
1014
|
-
variant: t =
|
|
1014
|
+
variant: t = At.PARAGRAPH100,
|
|
1015
1015
|
...o
|
|
1016
1016
|
}) => {
|
|
1017
|
-
const u =
|
|
1017
|
+
const u = kt([
|
|
1018
1018
|
a,
|
|
1019
1019
|
L[R],
|
|
1020
1020
|
L[`${R}--${t}`],
|
|
@@ -1027,24 +1027,24 @@ const At = /* @__PURE__ */ Ct(kt), L = {
|
|
|
1027
1027
|
return /* @__PURE__ */ l("p", { ...o, className: u, "data-testid": e, children: i });
|
|
1028
1028
|
};
|
|
1029
1029
|
Q.displayName = "Paragraph";
|
|
1030
|
-
const
|
|
1030
|
+
const Ot = {
|
|
1031
1031
|
"purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
|
|
1032
1032
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
|
|
1033
|
-
},
|
|
1033
|
+
}, sr = m.bind(Ot), dr = "purpur-card-feature-list", Bt = ({
|
|
1034
1034
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
1035
1035
|
listItems: i
|
|
1036
|
-
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: dr
|
|
1036
|
+
}) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: sr(dr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
|
|
1037
1037
|
"li",
|
|
1038
1038
|
{
|
|
1039
|
-
className:
|
|
1039
|
+
className: sr(`${dr}__list-item`),
|
|
1040
1040
|
"data-testid": `${e}-item`,
|
|
1041
1041
|
children: [
|
|
1042
|
-
/* @__PURE__ */ l(
|
|
1042
|
+
/* @__PURE__ */ l(Nr, { size: "xs" }),
|
|
1043
1043
|
/* @__PURE__ */ l(Q, { children: a })
|
|
1044
1044
|
]
|
|
1045
1045
|
},
|
|
1046
1046
|
a
|
|
1047
|
-
)) }) : null,
|
|
1047
|
+
)) }) : null, Ft = {
|
|
1048
1048
|
"purpur-card-link-arrow": "_purpur-card-link-arrow_1r4zu_1",
|
|
1049
1049
|
"purpur-card-link-arrow--sm": "_purpur-card-link-arrow--sm_1r4zu_33",
|
|
1050
1050
|
"purpur-card-link-arrow--icon-only": "_purpur-card-link-arrow--icon-only_1r4zu_36",
|
|
@@ -1058,7 +1058,7 @@ const Bt = {
|
|
|
1058
1058
|
"purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
|
|
1059
1059
|
"purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
|
|
1060
1060
|
"purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
|
|
1061
|
-
},
|
|
1061
|
+
}, Mt = m.bind(Ft), M = "purpur-card-link-arrow", Nt = ({
|
|
1062
1062
|
["data-testid"]: e = "purpur-card-link-arrow",
|
|
1063
1063
|
className: i,
|
|
1064
1064
|
disabled: a = !1,
|
|
@@ -1067,7 +1067,7 @@ const Bt = {
|
|
|
1067
1067
|
}) => /* @__PURE__ */ l(
|
|
1068
1068
|
"div",
|
|
1069
1069
|
{
|
|
1070
|
-
className: `${
|
|
1070
|
+
className: `${Mt([
|
|
1071
1071
|
M,
|
|
1072
1072
|
i,
|
|
1073
1073
|
`${M}--md`,
|
|
@@ -1079,19 +1079,19 @@ const Bt = {
|
|
|
1079
1079
|
])} ${M}`,
|
|
1080
1080
|
"data-testid": e,
|
|
1081
1081
|
...p,
|
|
1082
|
-
children: n ? /* @__PURE__ */ l(
|
|
1082
|
+
children: n ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(Mr, { "data-testid": `${e}-arrow`, size: "md" })
|
|
1083
1083
|
}
|
|
1084
|
-
),
|
|
1084
|
+
), Et = {
|
|
1085
1085
|
"purpur-card-overline": "_purpur-card-overline_192fe_1"
|
|
1086
|
-
},
|
|
1086
|
+
}, Gt = m.bind(Et), Zt = "purpur-card-overline", It = ({
|
|
1087
1087
|
["data-testid"]: e = "purpur-card-overline",
|
|
1088
1088
|
overline: i
|
|
1089
|
-
}) => i ? /* @__PURE__ */ l(Q, { className: Zt
|
|
1089
|
+
}) => i ? /* @__PURE__ */ l(Q, { className: Gt(Zt), "data-testid": e, children: i }) : null, jt = {
|
|
1090
1090
|
"purpur-card-root": "_purpur-card-root_bqk1d_1",
|
|
1091
1091
|
"purpur-card-root--primary": "_purpur-card-root--primary_bqk1d_8",
|
|
1092
1092
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_bqk1d_11",
|
|
1093
1093
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_bqk1d_14"
|
|
1094
|
-
},
|
|
1094
|
+
}, Ut = {
|
|
1095
1095
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_1sp43_1",
|
|
1096
1096
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
|
|
1097
1097
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
|
|
@@ -1105,40 +1105,40 @@ function E() {
|
|
|
1105
1105
|
return e;
|
|
1106
1106
|
}, E.apply(null, arguments);
|
|
1107
1107
|
}
|
|
1108
|
-
function
|
|
1108
|
+
function Lt(e, i) {
|
|
1109
1109
|
typeof e == "function" ? e(i) : e != null && (e.current = i);
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Rt(...e) {
|
|
1112
1112
|
return (i) => e.forEach(
|
|
1113
|
-
(a) =>
|
|
1113
|
+
(a) => Lt(a, i)
|
|
1114
1114
|
);
|
|
1115
1115
|
}
|
|
1116
|
-
const
|
|
1117
|
-
const { children: a, ...n } = e, p = q.toArray(a), r = p.find(
|
|
1116
|
+
const Gr = /* @__PURE__ */ $((e, i) => {
|
|
1117
|
+
const { children: a, ...n } = e, p = q.toArray(a), r = p.find(Dt);
|
|
1118
1118
|
if (r) {
|
|
1119
1119
|
const t = r.props.children, o = p.map((u) => u === r ? q.count(t) > 1 ? q.only(null) : /* @__PURE__ */ V(t) ? t.props.children : null : u);
|
|
1120
1120
|
return /* @__PURE__ */ D(K, E({}, n, {
|
|
1121
1121
|
ref: i
|
|
1122
|
-
}), /* @__PURE__ */ V(t) ? /* @__PURE__ */
|
|
1122
|
+
}), /* @__PURE__ */ V(t) ? /* @__PURE__ */ mr(t, void 0, o) : null);
|
|
1123
1123
|
}
|
|
1124
1124
|
return /* @__PURE__ */ D(K, E({}, n, {
|
|
1125
1125
|
ref: i
|
|
1126
1126
|
}), a);
|
|
1127
1127
|
});
|
|
1128
|
-
|
|
1128
|
+
Gr.displayName = "Slot";
|
|
1129
1129
|
const K = /* @__PURE__ */ $((e, i) => {
|
|
1130
1130
|
const { children: a, ...n } = e;
|
|
1131
|
-
return /* @__PURE__ */ V(a) ? /* @__PURE__ */
|
|
1132
|
-
...
|
|
1133
|
-
ref: i ?
|
|
1131
|
+
return /* @__PURE__ */ V(a) ? /* @__PURE__ */ mr(a, {
|
|
1132
|
+
...Pt(n, a.props),
|
|
1133
|
+
ref: i ? Rt(i, a.ref) : a.ref
|
|
1134
1134
|
}) : q.count(a) > 1 ? q.only(null) : null;
|
|
1135
1135
|
});
|
|
1136
1136
|
K.displayName = "SlotClone";
|
|
1137
|
-
const
|
|
1138
|
-
function
|
|
1139
|
-
return /* @__PURE__ */ V(e) && e.type ===
|
|
1137
|
+
const qt = ({ children: e }) => /* @__PURE__ */ D(Pr, null, e);
|
|
1138
|
+
function Dt(e) {
|
|
1139
|
+
return /* @__PURE__ */ V(e) && e.type === qt;
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function Pt(e, i) {
|
|
1142
1142
|
const a = {
|
|
1143
1143
|
...i
|
|
1144
1144
|
};
|
|
@@ -1159,7 +1159,7 @@ function Tt(e, i) {
|
|
|
1159
1159
|
...a
|
|
1160
1160
|
};
|
|
1161
1161
|
}
|
|
1162
|
-
const
|
|
1162
|
+
const Tt = [
|
|
1163
1163
|
"a",
|
|
1164
1164
|
"button",
|
|
1165
1165
|
"div",
|
|
@@ -1176,10 +1176,10 @@ const zt = [
|
|
|
1176
1176
|
"span",
|
|
1177
1177
|
"svg",
|
|
1178
1178
|
"ul"
|
|
1179
|
-
],
|
|
1179
|
+
], zt = Tt.reduce((e, i) => {
|
|
1180
1180
|
const a = /* @__PURE__ */ $((n, p) => {
|
|
1181
|
-
const { asChild: r, ...t } = n, o = r ?
|
|
1182
|
-
return
|
|
1181
|
+
const { asChild: r, ...t } = n, o = r ? Gr : i;
|
|
1182
|
+
return Dr(() => {
|
|
1183
1183
|
window[Symbol.for("radix-ui")] = !0;
|
|
1184
1184
|
}, []), /* @__PURE__ */ D(o, E({}, t, {
|
|
1185
1185
|
ref: p
|
|
@@ -1189,7 +1189,7 @@ const zt = [
|
|
|
1189
1189
|
...e,
|
|
1190
1190
|
[i]: a
|
|
1191
1191
|
};
|
|
1192
|
-
}, {}),
|
|
1192
|
+
}, {}), Ht = /* @__PURE__ */ $((e, i) => /* @__PURE__ */ D(zt.span, E({}, e, {
|
|
1193
1193
|
ref: i,
|
|
1194
1194
|
style: {
|
|
1195
1195
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -1205,12 +1205,12 @@ const zt = [
|
|
|
1205
1205
|
wordWrap: "normal",
|
|
1206
1206
|
...e.style
|
|
1207
1207
|
}
|
|
1208
|
-
}))),
|
|
1208
|
+
}))), Vt = Ht, cr = ({
|
|
1209
1209
|
asChild: e,
|
|
1210
1210
|
children: i,
|
|
1211
1211
|
className: a = "",
|
|
1212
1212
|
["data-testid"]: n
|
|
1213
|
-
}) => /* @__PURE__ */ l(
|
|
1213
|
+
}) => /* @__PURE__ */ l(Vt, { asChild: e, "data-testid": n, className: a, children: i }), _r = m.bind(Ut), B = "purpur-card-trigger-item", Wt = ({
|
|
1214
1214
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
1215
1215
|
disabled: i = !1,
|
|
1216
1216
|
href: a,
|
|
@@ -1226,7 +1226,7 @@ const zt = [
|
|
|
1226
1226
|
"a",
|
|
1227
1227
|
{
|
|
1228
1228
|
"aria-disabled": i,
|
|
1229
|
-
className: `${
|
|
1229
|
+
className: `${_r([
|
|
1230
1230
|
B,
|
|
1231
1231
|
{
|
|
1232
1232
|
[`${B}--disabled`]: i
|
|
@@ -1235,14 +1235,14 @@ const zt = [
|
|
|
1235
1235
|
"data-testid": e,
|
|
1236
1236
|
href: i ? void 0 : a,
|
|
1237
1237
|
tabIndex: i ? 0 : void 0,
|
|
1238
|
-
children: /* @__PURE__ */ l(
|
|
1238
|
+
children: /* @__PURE__ */ l(cr, { children: p })
|
|
1239
1239
|
}
|
|
1240
1240
|
)
|
|
1241
1241
|
) : /* @__PURE__ */ l(
|
|
1242
1242
|
"button",
|
|
1243
1243
|
{
|
|
1244
1244
|
"aria-disabled": i,
|
|
1245
|
-
className: `${
|
|
1245
|
+
className: `${_r([
|
|
1246
1246
|
B,
|
|
1247
1247
|
`${B}--button`,
|
|
1248
1248
|
{
|
|
@@ -1252,10 +1252,10 @@ const zt = [
|
|
|
1252
1252
|
"data-testid": e,
|
|
1253
1253
|
type: "button",
|
|
1254
1254
|
onClick: r,
|
|
1255
|
-
children: /* @__PURE__ */ l(
|
|
1255
|
+
children: /* @__PURE__ */ l(cr, { children: p })
|
|
1256
1256
|
}
|
|
1257
1257
|
);
|
|
1258
|
-
},
|
|
1258
|
+
}, Xt = m.bind(jt), W = "purpur-card-root", Zr = $(
|
|
1259
1259
|
({
|
|
1260
1260
|
["data-testid"]: e = "purpur-card-root",
|
|
1261
1261
|
children: i,
|
|
@@ -1268,7 +1268,7 @@ const zt = [
|
|
|
1268
1268
|
variant: u,
|
|
1269
1269
|
...c
|
|
1270
1270
|
}, g) => {
|
|
1271
|
-
const S =
|
|
1271
|
+
const S = Xt([
|
|
1272
1272
|
W,
|
|
1273
1273
|
a,
|
|
1274
1274
|
{
|
|
@@ -1279,7 +1279,7 @@ const zt = [
|
|
|
1279
1279
|
return /* @__PURE__ */ _("div", { className: S, "data-testid": e, ref: g, ...c, children: [
|
|
1280
1280
|
i,
|
|
1281
1281
|
(t || r) && o && /* @__PURE__ */ l(
|
|
1282
|
-
|
|
1282
|
+
Wt,
|
|
1283
1283
|
{
|
|
1284
1284
|
disabled: n,
|
|
1285
1285
|
href: r,
|
|
@@ -1290,9 +1290,9 @@ const zt = [
|
|
|
1290
1290
|
] });
|
|
1291
1291
|
}
|
|
1292
1292
|
);
|
|
1293
|
-
|
|
1294
|
-
const
|
|
1295
|
-
const n =
|
|
1293
|
+
Zr.displayName = "CardRoot";
|
|
1294
|
+
const fr = m.bind(ke), X = "purpur-card", x = ({ children: e, className: i, ...a }) => {
|
|
1295
|
+
const n = fr([
|
|
1296
1296
|
X,
|
|
1297
1297
|
i,
|
|
1298
1298
|
{
|
|
@@ -1300,20 +1300,20 @@ const gr = m.bind(Ae), X = "purpur-card", x = ({ children: e, className: i, ...a
|
|
|
1300
1300
|
[`${X}--disabled`]: a.disabled
|
|
1301
1301
|
}
|
|
1302
1302
|
]);
|
|
1303
|
-
return /* @__PURE__ */ l(
|
|
1303
|
+
return /* @__PURE__ */ l(Zr, { className: fr(n), ...a, children: e });
|
|
1304
1304
|
};
|
|
1305
|
-
x.Badge =
|
|
1306
|
-
x.LinkArrow =
|
|
1307
|
-
x.Content =
|
|
1308
|
-
x.ContentContainer =
|
|
1309
|
-
x.Cta =
|
|
1310
|
-
x.FeatureList =
|
|
1311
|
-
x.Overline =
|
|
1305
|
+
x.Badge = Ye;
|
|
1306
|
+
x.LinkArrow = Nt;
|
|
1307
|
+
x.Content = et;
|
|
1308
|
+
x.ContentContainer = it;
|
|
1309
|
+
x.Cta = ct;
|
|
1310
|
+
x.FeatureList = Bt;
|
|
1311
|
+
x.Overline = It;
|
|
1312
1312
|
x.displayName = "Card";
|
|
1313
|
-
function
|
|
1313
|
+
function Kt(e) {
|
|
1314
1314
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1315
1315
|
}
|
|
1316
|
-
var
|
|
1316
|
+
var Ir = { exports: {} };
|
|
1317
1317
|
/*!
|
|
1318
1318
|
Copyright (c) 2018 Jed Watson.
|
|
1319
1319
|
Licensed under the MIT License (MIT), see
|
|
@@ -1348,9 +1348,9 @@ var jr = { exports: {} };
|
|
|
1348
1348
|
}
|
|
1349
1349
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1350
1350
|
})();
|
|
1351
|
-
})(
|
|
1352
|
-
var
|
|
1353
|
-
const
|
|
1351
|
+
})(Ir);
|
|
1352
|
+
var Yt = Ir.exports;
|
|
1353
|
+
const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
|
|
1354
1354
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
1355
1355
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
1356
1356
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -1358,46 +1358,46 @@ const Qt = /* @__PURE__ */ Yt(Jt), ra = {
|
|
|
1358
1358
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
1359
1359
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
1360
1360
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
1361
|
-
},
|
|
1361
|
+
}, ra = {
|
|
1362
1362
|
name: "arrow-left",
|
|
1363
1363
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
|
|
1364
1364
|
keywords: ["arrow-left"],
|
|
1365
1365
|
category: "utility"
|
|
1366
|
-
},
|
|
1366
|
+
}, ea = {
|
|
1367
1367
|
name: "arrow-right",
|
|
1368
1368
|
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>',
|
|
1369
1369
|
keywords: ["arrow-right"],
|
|
1370
1370
|
category: "utility"
|
|
1371
|
-
},
|
|
1371
|
+
}, ta = {
|
|
1372
1372
|
name: "external",
|
|
1373
1373
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
|
|
1374
1374
|
keywords: ["external"],
|
|
1375
1375
|
category: "media"
|
|
1376
|
-
},
|
|
1376
|
+
}, aa = {
|
|
1377
1377
|
name: "phone",
|
|
1378
1378
|
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
1379
|
keywords: ["phone"],
|
|
1380
1380
|
category: "device"
|
|
1381
|
-
},
|
|
1381
|
+
}, ia = Jt.bind(Qt), 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
1382
|
const a = [
|
|
1383
1383
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
1384
1384
|
{ name: "fill", value: "currentColor" },
|
|
1385
1385
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
1386
1386
|
i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
1387
1387
|
], n = i ? `<title>${i}</title>` : "";
|
|
1388
|
-
return `<svg ${
|
|
1389
|
-
},
|
|
1388
|
+
return `<svg ${na(a)}>${n}${e}</svg>`;
|
|
1389
|
+
}, la = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Y = ({
|
|
1390
1390
|
["data-testid"]: e,
|
|
1391
1391
|
svg: i,
|
|
1392
1392
|
allyTitle: a,
|
|
1393
1393
|
className: n,
|
|
1394
|
-
size: p =
|
|
1394
|
+
size: p = oa,
|
|
1395
1395
|
...r
|
|
1396
1396
|
}) => {
|
|
1397
|
-
const t =
|
|
1398
|
-
content:
|
|
1397
|
+
const t = pa({
|
|
1398
|
+
content: la(i.svg),
|
|
1399
1399
|
title: a
|
|
1400
|
-
}), o =
|
|
1400
|
+
}), o = ia(n, gr, `${gr}--${p}`);
|
|
1401
1401
|
return /* @__PURE__ */ l(
|
|
1402
1402
|
"span",
|
|
1403
1403
|
{
|
|
@@ -1410,10 +1410,10 @@ const Qt = /* @__PURE__ */ Yt(Jt), ra = {
|
|
|
1410
1410
|
);
|
|
1411
1411
|
};
|
|
1412
1412
|
Y.displayName = "Icon";
|
|
1413
|
-
function
|
|
1413
|
+
function ua(e) {
|
|
1414
1414
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1415
1415
|
}
|
|
1416
|
-
var
|
|
1416
|
+
var jr = { exports: {} };
|
|
1417
1417
|
/*!
|
|
1418
1418
|
Copyright (c) 2018 Jed Watson.
|
|
1419
1419
|
Licensed under the MIT License (MIT), see
|
|
@@ -1448,9 +1448,9 @@ var Ur = { exports: {} };
|
|
|
1448
1448
|
}
|
|
1449
1449
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1450
1450
|
})();
|
|
1451
|
-
})(
|
|
1452
|
-
var
|
|
1453
|
-
const
|
|
1451
|
+
})(jr);
|
|
1452
|
+
var sa = jr.exports;
|
|
1453
|
+
const da = /* @__PURE__ */ ua(sa), ca = {
|
|
1454
1454
|
"purpur-cta-link": "_purpur-cta-link_1mhg7_1",
|
|
1455
1455
|
"purpur-cta-link--sm": "_purpur-cta-link--sm_1mhg7_33",
|
|
1456
1456
|
"purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1mhg7_36",
|
|
@@ -1464,12 +1464,12 @@ const ca = /* @__PURE__ */ sa(da), _a = {
|
|
|
1464
1464
|
"purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1mhg7_87",
|
|
1465
1465
|
"purpur-cta-link--expressive": "_purpur-cta-link--expressive_1mhg7_98",
|
|
1466
1466
|
"purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1mhg7_108"
|
|
1467
|
-
},
|
|
1468
|
-
forward:
|
|
1469
|
-
external:
|
|
1470
|
-
back:
|
|
1471
|
-
phone:
|
|
1472
|
-
},
|
|
1467
|
+
}, _a = da.bind(ca), N = "purpur-cta-link", fa = {
|
|
1468
|
+
forward: ea,
|
|
1469
|
+
external: ta,
|
|
1470
|
+
back: ra,
|
|
1471
|
+
phone: aa
|
|
1472
|
+
}, ga = $(
|
|
1473
1473
|
({
|
|
1474
1474
|
children: e,
|
|
1475
1475
|
className: i,
|
|
@@ -1482,7 +1482,7 @@ const ca = /* @__PURE__ */ sa(da), _a = {
|
|
|
1482
1482
|
icon: u = "forward",
|
|
1483
1483
|
...c
|
|
1484
1484
|
}, g) => {
|
|
1485
|
-
const S =
|
|
1485
|
+
const S = _a(
|
|
1486
1486
|
[
|
|
1487
1487
|
i,
|
|
1488
1488
|
N,
|
|
@@ -1494,7 +1494,7 @@ const ca = /* @__PURE__ */ sa(da), _a = {
|
|
|
1494
1494
|
[`${N}--negative`]: r,
|
|
1495
1495
|
[`${N}--full-width`]: n
|
|
1496
1496
|
}
|
|
1497
|
-
), d =
|
|
1497
|
+
), d = fa[u], F = /* @__PURE__ */ _(hr, { children: [
|
|
1498
1498
|
(u === "back" || u === "phone") && /* @__PURE__ */ l(Y, { svg: d, size: t === "lg" ? "sm" : "xs" }),
|
|
1499
1499
|
!p && e,
|
|
1500
1500
|
(u === "forward" || u === "external") && /* @__PURE__ */ l(Y, { svg: d, size: t === "lg" ? "sm" : "xs" })
|
|
@@ -1506,10 +1506,10 @@ const ca = /* @__PURE__ */ sa(da), _a = {
|
|
|
1506
1506
|
return "href" in c && c.href ? /* @__PURE__ */ l("a", { ...v, ref: g, children: F }) : /* @__PURE__ */ l("span", { ...v, ref: g, children: F });
|
|
1507
1507
|
}
|
|
1508
1508
|
);
|
|
1509
|
-
function
|
|
1509
|
+
function ha(e) {
|
|
1510
1510
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1511
1511
|
}
|
|
1512
|
-
var
|
|
1512
|
+
var Ur = { exports: {} };
|
|
1513
1513
|
/*!
|
|
1514
1514
|
Copyright (c) 2018 Jed Watson.
|
|
1515
1515
|
Licensed under the MIT License (MIT), see
|
|
@@ -1544,9 +1544,9 @@ var Lr = { exports: {} };
|
|
|
1544
1544
|
}
|
|
1545
1545
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1546
1546
|
})();
|
|
1547
|
-
})(
|
|
1548
|
-
var
|
|
1549
|
-
const
|
|
1547
|
+
})(Ur);
|
|
1548
|
+
var ma = Ur.exports;
|
|
1549
|
+
const va = /* @__PURE__ */ ha(ma), z = {
|
|
1550
1550
|
"purpur-heading": "_purpur-heading_k9fhq_1",
|
|
1551
1551
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
|
|
1552
1552
|
"purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
|
|
@@ -1562,7 +1562,7 @@ const ya = /* @__PURE__ */ ma(va), z = {
|
|
|
1562
1562
|
"purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
|
|
1563
1563
|
"purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
|
|
1564
1564
|
"purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
|
|
1565
|
-
},
|
|
1565
|
+
}, ya = {
|
|
1566
1566
|
TITLE100: "title-100",
|
|
1567
1567
|
TITLE200: "title-200",
|
|
1568
1568
|
TITLE300: "title-300",
|
|
@@ -1571,17 +1571,17 @@ const ya = /* @__PURE__ */ ma(va), z = {
|
|
|
1571
1571
|
TITLE600: "title-600",
|
|
1572
1572
|
TITLE700: "title-700",
|
|
1573
1573
|
SUBSECTION100: "subsection-100"
|
|
1574
|
-
}, H = "purpur-heading",
|
|
1574
|
+
}, H = "purpur-heading", Lr = ({
|
|
1575
1575
|
["data-testid"]: e,
|
|
1576
1576
|
children: i,
|
|
1577
1577
|
className: a = "",
|
|
1578
1578
|
enableHyphenation: n = !1,
|
|
1579
1579
|
negative: p = !1,
|
|
1580
1580
|
tag: r,
|
|
1581
|
-
variant: t =
|
|
1581
|
+
variant: t = ya.TITLE100,
|
|
1582
1582
|
...o
|
|
1583
1583
|
}) => {
|
|
1584
|
-
const u = r, c =
|
|
1584
|
+
const u = r, c = va([
|
|
1585
1585
|
a,
|
|
1586
1586
|
z[H],
|
|
1587
1587
|
z[`${H}--${t}`],
|
|
@@ -1592,11 +1592,11 @@ const ya = /* @__PURE__ */ ma(va), z = {
|
|
|
1592
1592
|
]);
|
|
1593
1593
|
return /* @__PURE__ */ l(u, { ...o, className: c, "data-testid": e, children: i });
|
|
1594
1594
|
};
|
|
1595
|
-
|
|
1596
|
-
function
|
|
1595
|
+
Lr.displayName = "Heading";
|
|
1596
|
+
function xa(e) {
|
|
1597
1597
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1598
1598
|
}
|
|
1599
|
-
var
|
|
1599
|
+
var Rr = { exports: {} };
|
|
1600
1600
|
/*!
|
|
1601
1601
|
Copyright (c) 2018 Jed Watson.
|
|
1602
1602
|
Licensed under the MIT License (MIT), see
|
|
@@ -1631,9 +1631,9 @@ var qr = { exports: {} };
|
|
|
1631
1631
|
}
|
|
1632
1632
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1633
1633
|
})();
|
|
1634
|
-
})(
|
|
1635
|
-
var
|
|
1636
|
-
const
|
|
1634
|
+
})(Rr);
|
|
1635
|
+
var wa = Rr.exports;
|
|
1636
|
+
const ba = /* @__PURE__ */ xa(wa), $a = {
|
|
1637
1637
|
"purpur-promotion-card": "_purpur-promotion-card_12rh3_1",
|
|
1638
1638
|
"purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_12rh3_8",
|
|
1639
1639
|
"purpur-promotion-card__content": "_purpur-promotion-card__content_12rh3_8",
|
|
@@ -1651,19 +1651,19 @@ const $a = /* @__PURE__ */ wa(ba), Sa = {
|
|
|
1651
1651
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_12rh3_140",
|
|
1652
1652
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_12rh3_143",
|
|
1653
1653
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_12rh3_144"
|
|
1654
|
-
}, Za = ["primary", "secondary", "quaternary"],
|
|
1654
|
+
}, Za = ["primary", "secondary", "quaternary"], Sa = {
|
|
1655
1655
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1656
1656
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1657
1657
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1658
|
-
},
|
|
1658
|
+
}, Ca = {
|
|
1659
1659
|
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
1660
|
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
1661
|
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>')`
|
|
1662
|
-
},
|
|
1662
|
+
}, ka = {
|
|
1663
1663
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1664
1664
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1665
1665
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1666
|
-
}, f =
|
|
1666
|
+
}, f = ba.bind($a), s = "purpur-promotion-card", Aa = ({
|
|
1667
1667
|
["data-testid"]: e,
|
|
1668
1668
|
variant: i = "primary",
|
|
1669
1669
|
badgeText: a,
|
|
@@ -1690,9 +1690,9 @@ const $a = /* @__PURE__ */ wa(ba), Sa = {
|
|
|
1690
1690
|
C = y, v = k;
|
|
1691
1691
|
}
|
|
1692
1692
|
const P = {
|
|
1693
|
-
"--promotion-card-background":
|
|
1694
|
-
"--promotion-card-color":
|
|
1695
|
-
"--promotion-card-background-image":
|
|
1693
|
+
"--promotion-card-background": Sa[i],
|
|
1694
|
+
"--promotion-card-color": ka[i],
|
|
1695
|
+
"--promotion-card-background-image": Ca[i]
|
|
1696
1696
|
};
|
|
1697
1697
|
return /* @__PURE__ */ l(x, { ref: F, className: f(`${s}__card`), children: /* @__PURE__ */ _(
|
|
1698
1698
|
"div",
|
|
@@ -1724,13 +1724,13 @@ const $a = /* @__PURE__ */ wa(ba), Sa = {
|
|
|
1724
1724
|
}
|
|
1725
1725
|
]),
|
|
1726
1726
|
children: [
|
|
1727
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1727
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: f(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(se, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1728
1728
|
n && n,
|
|
1729
1729
|
a
|
|
1730
1730
|
] }) }),
|
|
1731
1731
|
/* @__PURE__ */ _("div", { className: f(`${s}__main-content`), children: [
|
|
1732
1732
|
/* @__PURE__ */ l(
|
|
1733
|
-
|
|
1733
|
+
Lr,
|
|
1734
1734
|
{
|
|
1735
1735
|
tag: r,
|
|
1736
1736
|
variant: t,
|
|
@@ -1741,14 +1741,14 @@ const $a = /* @__PURE__ */ wa(ba), Sa = {
|
|
|
1741
1741
|
),
|
|
1742
1742
|
/* @__PURE__ */ _("div", { className: f(`${s}__body`), children: [
|
|
1743
1743
|
/* @__PURE__ */ l("div", { className: f(`${s}__child-content`), children: g }),
|
|
1744
|
-
c && c.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: c.map(({ label: y, variant: k, ...G },
|
|
1745
|
-
const
|
|
1746
|
-
variant:
|
|
1747
|
-
negative:
|
|
1744
|
+
c && c.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: c.map(({ label: y, variant: k, ...G }, qr) => {
|
|
1745
|
+
const T = {
|
|
1746
|
+
variant: k ?? qr === 0 ? "primary" : "secondary",
|
|
1747
|
+
negative: i === "primary",
|
|
1748
1748
|
...G,
|
|
1749
1749
|
children: y
|
|
1750
1750
|
};
|
|
1751
|
-
return
|
|
1751
|
+
return Oa(T) ? /* @__PURE__ */ l(ga, { ...T }, y) : Ba(T) ? /* @__PURE__ */ l($r, { ...T }, y) : null;
|
|
1752
1752
|
}) })
|
|
1753
1753
|
] })
|
|
1754
1754
|
] })
|
|
@@ -1780,10 +1780,10 @@ const $a = /* @__PURE__ */ wa(ba), Sa = {
|
|
|
1780
1780
|
]
|
|
1781
1781
|
}
|
|
1782
1782
|
) });
|
|
1783
|
-
},
|
|
1784
|
-
|
|
1783
|
+
}, Oa = (e) => "href" in e, Ba = (e) => "onClick" in e, Fa = $(Aa);
|
|
1784
|
+
Fa.displayName = "PromotionCard";
|
|
1785
1785
|
export {
|
|
1786
|
-
|
|
1786
|
+
Fa as PromotionCard,
|
|
1787
1787
|
Za as promotionCardVariants
|
|
1788
1788
|
};
|
|
1789
1789
|
//# sourceMappingURL=promotion-card.es.js.map
|