@purpurds/promotion-card 7.14.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.txt +11 -4
- package/dist/promotion-card.cjs.js +13 -13
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +527 -502
- package/dist/promotion-card.es.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +14 -13
- package/src/promotion-card.module.scss +34 -34
- package/src/promotion-card.stories.tsx +14 -14
- package/src/promotion-card.test.tsx +53 -88
- package/src/promotion-card.tsx +28 -12
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as c, jsx as l, Fragment as Pr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Gr, createContext as Hr, useContext as Tr } from "react";
|
|
3
|
+
function qr(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var X = { exports: {} };
|
|
7
7
|
/*!
|
|
8
8
|
Copyright (c) 2018 Jed Watson.
|
|
9
9
|
Licensed under the MIT License (MIT), see
|
|
10
10
|
http://jedwatson.github.io/classnames
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
return
|
|
12
|
+
var rr;
|
|
13
|
+
function Vr() {
|
|
14
|
+
return rr || (rr = 1, function(e) {
|
|
15
15
|
(function() {
|
|
16
16
|
var o = {}.hasOwnProperty;
|
|
17
17
|
function a() {
|
|
@@ -40,10 +40,10 @@ function Dr() {
|
|
|
40
40
|
}
|
|
41
41
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
42
42
|
})();
|
|
43
|
-
}(
|
|
43
|
+
}(X)), X.exports;
|
|
44
44
|
}
|
|
45
|
-
var
|
|
46
|
-
const
|
|
45
|
+
var zr = Vr();
|
|
46
|
+
const Wr = /* @__PURE__ */ qr(zr), Kr = {
|
|
47
47
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
48
48
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
49
49
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -51,75 +51,75 @@ const Hr = /* @__PURE__ */ Lr(Pr), Tr = {
|
|
|
51
51
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
52
52
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
53
53
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
54
|
-
},
|
|
54
|
+
}, Yr = Wr.bind(Kr), er = "purpur-icon", Qr = "md", Jr = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Xr = ({ content: e = "", title: o } = {}) => {
|
|
55
55
|
const a = [
|
|
56
56
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
57
57
|
{ name: "fill", value: "currentColor" },
|
|
58
58
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
59
59
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
60
60
|
], n = o ? `<title>${o}</title>` : "";
|
|
61
|
-
return `<svg ${
|
|
62
|
-
},
|
|
63
|
-
const r =
|
|
64
|
-
content:
|
|
61
|
+
return `<svg ${Jr(a)}>${n}${e}</svg>`;
|
|
62
|
+
}, re = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Mr = ({ svg: e, allyTitle: o, className: a, size: n = Qr, ...p }) => {
|
|
63
|
+
const r = Xr({
|
|
64
|
+
content: re(e.svg),
|
|
65
65
|
title: o
|
|
66
|
-
}), t =
|
|
67
|
-
return /* @__PURE__ */
|
|
66
|
+
}), t = Yr(a, er, `${er}--${n}`);
|
|
67
|
+
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
68
68
|
};
|
|
69
|
-
|
|
70
|
-
const
|
|
69
|
+
Mr.displayName = "Icon";
|
|
70
|
+
const ee = {
|
|
71
71
|
name: "alert",
|
|
72
72
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
73
73
|
keywords: ["alert"],
|
|
74
74
|
category: "status"
|
|
75
|
-
},
|
|
75
|
+
}, te = {
|
|
76
76
|
name: "check-circle",
|
|
77
77
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
78
78
|
keywords: ["check-circle"],
|
|
79
79
|
category: "status"
|
|
80
|
-
},
|
|
80
|
+
}, ae = {
|
|
81
81
|
name: "devices",
|
|
82
82
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10 3.4a.1.1 0 0 0-.1.1V4a.9.9 0 0 1-1.8 0v-.5c0-1.05.85-1.9 1.9-1.9h10c1.05 0 1.9.85 1.9 1.9v15a1.9 1.9 0 0 1-1.9 1.9h-6a.9.9 0 1 1 0-1.8h6a.1.1 0 0 0 .1-.1v-15a.1.1 0 0 0-.1-.1H10ZM2.1 8c0-1.05.85-1.9 1.9-1.9h6c1.05 0 1.9.85 1.9 1.9v12a1.9 1.9 0 0 1-1.9 1.9H4A1.9 1.9 0 0 1 2.1 20V8ZM4 7.9a.1.1 0 0 0-.1.1v12a.1.1 0 0 0 .1.1h6a.1.1 0 0 0 .1-.1V8a.1.1 0 0 0-.1-.1H4ZM14.6 17a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8h-.5a.9.9 0 0 1-.9-.9Zm-8.5 1.5a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8H7a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"/></svg>',
|
|
83
83
|
keywords: ["devices"],
|
|
84
84
|
category: "device"
|
|
85
|
-
},
|
|
85
|
+
}, ie = {
|
|
86
86
|
name: "error",
|
|
87
87
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',
|
|
88
88
|
keywords: ["error"],
|
|
89
89
|
category: "status"
|
|
90
|
-
},
|
|
90
|
+
}, oe = {
|
|
91
91
|
name: "info",
|
|
92
92
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
93
93
|
keywords: ["info"],
|
|
94
94
|
category: "status"
|
|
95
|
-
},
|
|
95
|
+
}, ne = {
|
|
96
96
|
name: "offering",
|
|
97
97
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',
|
|
98
98
|
keywords: ["offering"],
|
|
99
99
|
category: "other"
|
|
100
|
-
},
|
|
100
|
+
}, pe = {
|
|
101
101
|
name: "question",
|
|
102
102
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',
|
|
103
103
|
keywords: ["question"],
|
|
104
104
|
category: "status"
|
|
105
|
-
},
|
|
105
|
+
}, le = {
|
|
106
106
|
name: "tag",
|
|
107
107
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
|
|
108
108
|
keywords: ["tag"],
|
|
109
109
|
category: "other"
|
|
110
110
|
};
|
|
111
|
-
function
|
|
111
|
+
function ue(e) {
|
|
112
112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var tr = { exports: {} };
|
|
115
115
|
/*!
|
|
116
116
|
Copyright (c) 2018 Jed Watson.
|
|
117
117
|
Licensed under the MIT License (MIT), see
|
|
118
118
|
http://jedwatson.github.io/classnames
|
|
119
119
|
*/
|
|
120
|
-
var
|
|
121
|
-
function
|
|
122
|
-
return
|
|
120
|
+
var ar;
|
|
121
|
+
function se() {
|
|
122
|
+
return ar || (ar = 1, function(e) {
|
|
123
123
|
(function() {
|
|
124
124
|
var o = {}.hasOwnProperty;
|
|
125
125
|
function a() {
|
|
@@ -148,22 +148,22 @@ function ne() {
|
|
|
148
148
|
}
|
|
149
149
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
150
150
|
})();
|
|
151
|
-
}(
|
|
151
|
+
}(tr)), tr.exports;
|
|
152
152
|
}
|
|
153
|
-
var
|
|
154
|
-
const
|
|
155
|
-
"purpur-badge": "_purpur-
|
|
156
|
-
"purpur-badge__icon": "_purpur-
|
|
157
|
-
"purpur-badge--attention": "_purpur-badge--
|
|
158
|
-
"purpur-badge--special": "_purpur-badge--
|
|
159
|
-
"purpur-badge--neutral": "_purpur-badge--
|
|
160
|
-
"purpur-badge--general": "_purpur-badge--
|
|
161
|
-
"purpur-badge--information": "_purpur-badge--
|
|
162
|
-
"purpur-badge--success": "_purpur-badge--
|
|
163
|
-
"purpur-badge--warning": "_purpur-badge--
|
|
164
|
-
"purpur-badge--error": "_purpur-badge--
|
|
165
|
-
"purpur-badge--black-friday": "_purpur-badge--black-
|
|
166
|
-
},
|
|
153
|
+
var de = se();
|
|
154
|
+
const ir = /* @__PURE__ */ ue(de), P = {
|
|
155
|
+
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
156
|
+
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
157
|
+
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
158
|
+
"purpur-badge--special": "_purpur-badge--special_1nup9_21",
|
|
159
|
+
"purpur-badge--neutral": "_purpur-badge--neutral_1nup9_25",
|
|
160
|
+
"purpur-badge--general": "_purpur-badge--general_1nup9_29",
|
|
161
|
+
"purpur-badge--information": "_purpur-badge--information_1nup9_33",
|
|
162
|
+
"purpur-badge--success": "_purpur-badge--success_1nup9_37",
|
|
163
|
+
"purpur-badge--warning": "_purpur-badge--warning_1nup9_41",
|
|
164
|
+
"purpur-badge--error": "_purpur-badge--error_1nup9_45",
|
|
165
|
+
"purpur-badge--black-friday": "_purpur-badge--black-friday_1nup9_49"
|
|
166
|
+
}, H = "purpur-badge", m = {
|
|
167
167
|
ATTENTION: "attention",
|
|
168
168
|
BLACK_FRIDAY: "black-friday",
|
|
169
169
|
ERROR: "error",
|
|
@@ -173,29 +173,29 @@ const ar = /* @__PURE__ */ oe(pe), L = {
|
|
|
173
173
|
SPECIAL: "special",
|
|
174
174
|
SUCCESS: "success",
|
|
175
175
|
WARNING: "warning"
|
|
176
|
-
},
|
|
176
|
+
}, ce = (e) => {
|
|
177
177
|
switch (e) {
|
|
178
|
-
case
|
|
179
|
-
case
|
|
178
|
+
case m.ATTENTION:
|
|
179
|
+
case m.SPECIAL:
|
|
180
|
+
return ne;
|
|
181
|
+
case m.INFORMATION:
|
|
182
|
+
return oe;
|
|
183
|
+
case m.GENERAL:
|
|
184
|
+
return ae;
|
|
185
|
+
case m.SUCCESS:
|
|
180
186
|
return te;
|
|
181
|
-
case
|
|
187
|
+
case m.WARNING:
|
|
182
188
|
return ee;
|
|
183
|
-
case
|
|
184
|
-
return Xr;
|
|
185
|
-
case h.SUCCESS:
|
|
186
|
-
return Qr;
|
|
187
|
-
case h.WARNING:
|
|
188
|
-
return Jr;
|
|
189
|
-
case h.ERROR:
|
|
190
|
-
return re;
|
|
191
|
-
case h.NEUTRAL:
|
|
192
|
-
return ae;
|
|
193
|
-
case h.BLACK_FRIDAY:
|
|
189
|
+
case m.ERROR:
|
|
194
190
|
return ie;
|
|
191
|
+
case m.NEUTRAL:
|
|
192
|
+
return pe;
|
|
193
|
+
case m.BLACK_FRIDAY:
|
|
194
|
+
return le;
|
|
195
195
|
default:
|
|
196
196
|
return;
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, _e = ({
|
|
199
199
|
children: e,
|
|
200
200
|
showIcon: o = !0,
|
|
201
201
|
iconAllyTitle: a,
|
|
@@ -204,33 +204,33 @@ const ar = /* @__PURE__ */ oe(pe), L = {
|
|
|
204
204
|
className: r = "",
|
|
205
205
|
...t
|
|
206
206
|
}) => {
|
|
207
|
-
const i =
|
|
207
|
+
const i = ce(n), s = ir([r, P[H], P[`${H}--${n}`]]);
|
|
208
208
|
return /* @__PURE__ */ c("span", { className: s, "data-testid": p, ...t, children: [
|
|
209
|
-
o && i && /* @__PURE__ */
|
|
210
|
-
|
|
209
|
+
o && i && /* @__PURE__ */ l(
|
|
210
|
+
Mr,
|
|
211
211
|
{
|
|
212
212
|
"data-testid": `${p}-icon`,
|
|
213
213
|
allyTitle: a,
|
|
214
214
|
size: "xs",
|
|
215
215
|
svg: i,
|
|
216
|
-
className:
|
|
216
|
+
className: ir(P[`${H}__icon`])
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
e
|
|
220
220
|
] });
|
|
221
221
|
};
|
|
222
|
-
function
|
|
222
|
+
function fe(e) {
|
|
223
223
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var or = { exports: {} };
|
|
226
226
|
/*!
|
|
227
227
|
Copyright (c) 2018 Jed Watson.
|
|
228
228
|
Licensed under the MIT License (MIT), see
|
|
229
229
|
http://jedwatson.github.io/classnames
|
|
230
230
|
*/
|
|
231
|
-
var
|
|
232
|
-
function
|
|
233
|
-
return
|
|
231
|
+
var nr;
|
|
232
|
+
function he() {
|
|
233
|
+
return nr || (nr = 1, function(e) {
|
|
234
234
|
(function() {
|
|
235
235
|
var o = {}.hasOwnProperty;
|
|
236
236
|
function a() {
|
|
@@ -259,26 +259,27 @@ function de() {
|
|
|
259
259
|
}
|
|
260
260
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
261
261
|
})();
|
|
262
|
-
}(
|
|
262
|
+
}(or)), or.exports;
|
|
263
263
|
}
|
|
264
|
-
var
|
|
265
|
-
const _ = /* @__PURE__ */
|
|
266
|
-
"purpur-card__container": "_purpur-
|
|
267
|
-
"purpur-card__container--
|
|
268
|
-
"purpur-card": "_purpur-
|
|
264
|
+
var ge = he();
|
|
265
|
+
const _ = /* @__PURE__ */ fe(ge), me = {
|
|
266
|
+
"purpur-card__container--full-height": "_purpur-card__container--full-height_1ethe_1",
|
|
267
|
+
"purpur-card__container--use-container-queries": "_purpur-card__container--use-container-queries_1ethe_4",
|
|
268
|
+
"purpur-card": "_purpur-card_1ethe_1",
|
|
269
|
+
"purpur-card__container--use-media-queries": "_purpur-card__container--use-media-queries_1ethe_25"
|
|
269
270
|
};
|
|
270
|
-
function
|
|
271
|
+
function ve(e) {
|
|
271
272
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
272
273
|
}
|
|
273
|
-
var
|
|
274
|
+
var pr = { exports: {} };
|
|
274
275
|
/*!
|
|
275
276
|
Copyright (c) 2018 Jed Watson.
|
|
276
277
|
Licensed under the MIT License (MIT), see
|
|
277
278
|
http://jedwatson.github.io/classnames
|
|
278
279
|
*/
|
|
279
|
-
var
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
var lr;
|
|
281
|
+
function ye() {
|
|
282
|
+
return lr || (lr = 1, function(e) {
|
|
282
283
|
(function() {
|
|
283
284
|
var o = {}.hasOwnProperty;
|
|
284
285
|
function a() {
|
|
@@ -307,10 +308,10 @@ function ge() {
|
|
|
307
308
|
}
|
|
308
309
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
309
310
|
})();
|
|
310
|
-
}(
|
|
311
|
+
}(pr)), pr.exports;
|
|
311
312
|
}
|
|
312
|
-
var
|
|
313
|
-
const
|
|
313
|
+
var xe = ye();
|
|
314
|
+
const we = /* @__PURE__ */ ve(xe), be = {
|
|
314
315
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
315
316
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
316
317
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -318,75 +319,75 @@ const me = /* @__PURE__ */ fe(he), ve = {
|
|
|
318
319
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
319
320
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
320
321
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
321
|
-
},
|
|
322
|
+
}, Ce = we.bind(be), ur = "purpur-icon", Se = "md", $e = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Fe = ({ content: e = "", title: o } = {}) => {
|
|
322
323
|
const a = [
|
|
323
324
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
324
325
|
{ name: "fill", value: "currentColor" },
|
|
325
326
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
326
327
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
327
328
|
], n = o ? `<title>${o}</title>` : "";
|
|
328
|
-
return `<svg ${
|
|
329
|
-
},
|
|
330
|
-
const r =
|
|
331
|
-
content:
|
|
329
|
+
return `<svg ${$e(a)}>${n}${e}</svg>`;
|
|
330
|
+
}, Be = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Nr = ({ svg: e, allyTitle: o, className: a, size: n = Se, ...p }) => {
|
|
331
|
+
const r = Fe({
|
|
332
|
+
content: Be(e.svg),
|
|
332
333
|
title: o
|
|
333
|
-
}), t =
|
|
334
|
-
return /* @__PURE__ */
|
|
334
|
+
}), t = Ce(a, ur, `${ur}--${n}`);
|
|
335
|
+
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
335
336
|
};
|
|
336
|
-
|
|
337
|
-
const
|
|
337
|
+
Nr.displayName = "Icon";
|
|
338
|
+
const Ae = {
|
|
338
339
|
name: "alert",
|
|
339
340
|
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>',
|
|
340
341
|
keywords: ["alert"],
|
|
341
342
|
category: "status"
|
|
342
|
-
},
|
|
343
|
+
}, Oe = {
|
|
343
344
|
name: "check-circle",
|
|
344
345
|
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>',
|
|
345
346
|
keywords: ["check-circle"],
|
|
346
347
|
category: "status"
|
|
347
|
-
},
|
|
348
|
+
}, Ge = {
|
|
348
349
|
name: "devices",
|
|
349
350
|
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10 3.4a.1.1 0 0 0-.1.1V4a.9.9 0 0 1-1.8 0v-.5c0-1.05.85-1.9 1.9-1.9h10c1.05 0 1.9.85 1.9 1.9v15a1.9 1.9 0 0 1-1.9 1.9h-6a.9.9 0 1 1 0-1.8h6a.1.1 0 0 0 .1-.1v-15a.1.1 0 0 0-.1-.1H10ZM2.1 8c0-1.05.85-1.9 1.9-1.9h6c1.05 0 1.9.85 1.9 1.9v12a1.9 1.9 0 0 1-1.9 1.9H4A1.9 1.9 0 0 1 2.1 20V8ZM4 7.9a.1.1 0 0 0-.1.1v12a.1.1 0 0 0 .1.1h6a.1.1 0 0 0 .1-.1V8a.1.1 0 0 0-.1-.1H4ZM14.6 17a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8h-.5a.9.9 0 0 1-.9-.9Zm-8.5 1.5a.9.9 0 0 1 .9-.9h.5a.9.9 0 1 1 0 1.8H7a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"/></svg>',
|
|
350
351
|
keywords: ["devices"],
|
|
351
352
|
category: "device"
|
|
352
|
-
},
|
|
353
|
+
}, Me = {
|
|
353
354
|
name: "error",
|
|
354
355
|
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>',
|
|
355
356
|
keywords: ["error"],
|
|
356
357
|
category: "status"
|
|
357
|
-
},
|
|
358
|
+
}, Ne = {
|
|
358
359
|
name: "info",
|
|
359
360
|
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>',
|
|
360
361
|
keywords: ["info"],
|
|
361
362
|
category: "status"
|
|
362
|
-
},
|
|
363
|
+
}, ke = {
|
|
363
364
|
name: "offering",
|
|
364
365
|
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>',
|
|
365
366
|
keywords: ["offering"],
|
|
366
367
|
category: "other"
|
|
367
|
-
},
|
|
368
|
+
}, Ze = {
|
|
368
369
|
name: "question",
|
|
369
370
|
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>',
|
|
370
371
|
keywords: ["question"],
|
|
371
372
|
category: "status"
|
|
372
|
-
},
|
|
373
|
+
}, Ee = {
|
|
373
374
|
name: "tag",
|
|
374
375
|
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>',
|
|
375
376
|
keywords: ["tag"],
|
|
376
377
|
category: "other"
|
|
377
378
|
};
|
|
378
|
-
function
|
|
379
|
+
function Ue(e) {
|
|
379
380
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
380
381
|
}
|
|
381
|
-
var
|
|
382
|
+
var sr = { exports: {} };
|
|
382
383
|
/*!
|
|
383
384
|
Copyright (c) 2018 Jed Watson.
|
|
384
385
|
Licensed under the MIT License (MIT), see
|
|
385
386
|
http://jedwatson.github.io/classnames
|
|
386
387
|
*/
|
|
387
|
-
var
|
|
388
|
-
function
|
|
389
|
-
return
|
|
388
|
+
var dr;
|
|
389
|
+
function Ie() {
|
|
390
|
+
return dr || (dr = 1, function(e) {
|
|
390
391
|
(function() {
|
|
391
392
|
var o = {}.hasOwnProperty;
|
|
392
393
|
function a() {
|
|
@@ -415,22 +416,22 @@ function je() {
|
|
|
415
416
|
}
|
|
416
417
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
417
418
|
})();
|
|
418
|
-
}(
|
|
419
|
+
}(sr)), sr.exports;
|
|
419
420
|
}
|
|
420
|
-
var
|
|
421
|
-
const
|
|
422
|
-
"purpur-badge": "_purpur-
|
|
423
|
-
"purpur-badge__icon": "_purpur-
|
|
424
|
-
"purpur-badge--attention": "_purpur-badge--
|
|
425
|
-
"purpur-badge--special": "_purpur-badge--
|
|
426
|
-
"purpur-badge--neutral": "_purpur-badge--
|
|
427
|
-
"purpur-badge--general": "_purpur-badge--
|
|
428
|
-
"purpur-badge--information": "_purpur-badge--
|
|
429
|
-
"purpur-badge--success": "_purpur-badge--
|
|
430
|
-
"purpur-badge--warning": "_purpur-badge--
|
|
431
|
-
"purpur-badge--error": "_purpur-badge--
|
|
432
|
-
"purpur-badge--black-friday": "_purpur-badge--black-
|
|
433
|
-
},
|
|
421
|
+
var De = Ie();
|
|
422
|
+
const cr = /* @__PURE__ */ Ue(De), T = {
|
|
423
|
+
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
424
|
+
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
425
|
+
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
426
|
+
"purpur-badge--special": "_purpur-badge--special_1nup9_21",
|
|
427
|
+
"purpur-badge--neutral": "_purpur-badge--neutral_1nup9_25",
|
|
428
|
+
"purpur-badge--general": "_purpur-badge--general_1nup9_29",
|
|
429
|
+
"purpur-badge--information": "_purpur-badge--information_1nup9_33",
|
|
430
|
+
"purpur-badge--success": "_purpur-badge--success_1nup9_37",
|
|
431
|
+
"purpur-badge--warning": "_purpur-badge--warning_1nup9_41",
|
|
432
|
+
"purpur-badge--error": "_purpur-badge--error_1nup9_45",
|
|
433
|
+
"purpur-badge--black-friday": "_purpur-badge--black-friday_1nup9_49"
|
|
434
|
+
}, q = "purpur-badge", v = {
|
|
434
435
|
ATTENTION: "attention",
|
|
435
436
|
BLACK_FRIDAY: "black-friday",
|
|
436
437
|
ERROR: "error",
|
|
@@ -440,29 +441,29 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
440
441
|
SPECIAL: "special",
|
|
441
442
|
SUCCESS: "success",
|
|
442
443
|
WARNING: "warning"
|
|
443
|
-
},
|
|
444
|
+
}, Re = (e) => {
|
|
444
445
|
switch (e) {
|
|
445
|
-
case
|
|
446
|
-
case
|
|
446
|
+
case v.ATTENTION:
|
|
447
|
+
case v.SPECIAL:
|
|
448
|
+
return ke;
|
|
449
|
+
case v.INFORMATION:
|
|
447
450
|
return Ne;
|
|
448
|
-
case
|
|
449
|
-
return
|
|
450
|
-
case
|
|
451
|
-
return Ae;
|
|
452
|
-
case m.SUCCESS:
|
|
453
|
-
return $e;
|
|
454
|
-
case m.WARNING:
|
|
455
|
-
return Se;
|
|
456
|
-
case m.ERROR:
|
|
457
|
-
return Fe;
|
|
458
|
-
case m.NEUTRAL:
|
|
451
|
+
case v.GENERAL:
|
|
452
|
+
return Ge;
|
|
453
|
+
case v.SUCCESS:
|
|
459
454
|
return Oe;
|
|
460
|
-
case
|
|
455
|
+
case v.WARNING:
|
|
456
|
+
return Ae;
|
|
457
|
+
case v.ERROR:
|
|
461
458
|
return Me;
|
|
459
|
+
case v.NEUTRAL:
|
|
460
|
+
return Ze;
|
|
461
|
+
case v.BLACK_FRIDAY:
|
|
462
|
+
return Ee;
|
|
462
463
|
default:
|
|
463
464
|
return;
|
|
464
465
|
}
|
|
465
|
-
},
|
|
466
|
+
}, Le = ({
|
|
466
467
|
children: e,
|
|
467
468
|
showIcon: o = !0,
|
|
468
469
|
iconAllyTitle: a,
|
|
@@ -471,50 +472,51 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
471
472
|
className: r = "",
|
|
472
473
|
...t
|
|
473
474
|
}) => {
|
|
474
|
-
const i =
|
|
475
|
+
const i = Re(n), s = cr([r, T[q], T[`${q}--${n}`]]);
|
|
475
476
|
return /* @__PURE__ */ c("span", { className: s, "data-testid": p, ...t, children: [
|
|
476
|
-
o && i && /* @__PURE__ */
|
|
477
|
-
|
|
477
|
+
o && i && /* @__PURE__ */ l(
|
|
478
|
+
Nr,
|
|
478
479
|
{
|
|
479
480
|
"data-testid": `${p}-icon`,
|
|
480
481
|
allyTitle: a,
|
|
481
482
|
size: "xs",
|
|
482
483
|
svg: i,
|
|
483
|
-
className:
|
|
484
|
+
className: cr(T[`${q}__icon`])
|
|
484
485
|
}
|
|
485
486
|
),
|
|
486
487
|
e
|
|
487
488
|
] });
|
|
488
|
-
},
|
|
489
|
+
}, je = {
|
|
489
490
|
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
490
|
-
},
|
|
491
|
+
}, Pe = _.bind(je), He = "purpur-card-badge", Te = ({
|
|
491
492
|
["data-testid"]: e = "purpur-card-badge",
|
|
492
493
|
variant: o,
|
|
493
494
|
text: a
|
|
494
|
-
}) => o && a ? /* @__PURE__ */
|
|
495
|
-
|
|
495
|
+
}) => o && a ? /* @__PURE__ */ l(
|
|
496
|
+
Le,
|
|
496
497
|
{
|
|
497
|
-
className:
|
|
498
|
+
className: Pe(He),
|
|
498
499
|
variant: o,
|
|
499
500
|
showIcon: !1,
|
|
500
501
|
"data-testid": e,
|
|
501
502
|
children: a
|
|
502
503
|
}
|
|
503
|
-
) : null,
|
|
504
|
+
) : null, qe = {
|
|
504
505
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
505
|
-
},
|
|
506
|
+
}, Ve = _.bind(qe), ze = "purpur-card-content", We = ({
|
|
506
507
|
["data-testid"]: e = "purpur-card-content",
|
|
507
508
|
children: o,
|
|
508
509
|
className: a,
|
|
509
510
|
...n
|
|
510
|
-
}) => /* @__PURE__ */
|
|
511
|
-
"purpur-card-content-container": "_purpur-card-content-
|
|
512
|
-
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-
|
|
513
|
-
"purpur-card-content-container--footer": "_purpur-card-content-container--
|
|
514
|
-
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--
|
|
515
|
-
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--
|
|
516
|
-
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--
|
|
517
|
-
|
|
511
|
+
}) => /* @__PURE__ */ l("div", { className: Ve(ze, a), "data-testid": e, ...n, children: o }), Ke = {
|
|
512
|
+
"purpur-card-content-container": "_purpur-card-content-container_2oha5_1",
|
|
513
|
+
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-height_2oha5_6",
|
|
514
|
+
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_2oha5_21",
|
|
515
|
+
"purpur-card-content-container--gap-size--sm": "_purpur-card-content-container--gap-size--sm_2oha5_36",
|
|
516
|
+
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_2oha5_39",
|
|
517
|
+
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_2oha5_42",
|
|
518
|
+
"purpur-card-content-container--gap-size--xl": "_purpur-card-content-container--gap-size--xl_2oha5_45"
|
|
519
|
+
}, Ye = _.bind(Ke), N = "purpur-card-content-container", Qe = ({
|
|
518
520
|
["data-testid"]: e = "purpur-card-content-container",
|
|
519
521
|
children: o,
|
|
520
522
|
className: a,
|
|
@@ -522,16 +524,16 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
522
524
|
fullHeight: p = !1,
|
|
523
525
|
gapSize: r = "md",
|
|
524
526
|
...t
|
|
525
|
-
}) => /* @__PURE__ */
|
|
527
|
+
}) => /* @__PURE__ */ l(
|
|
526
528
|
"div",
|
|
527
529
|
{
|
|
528
|
-
className:
|
|
529
|
-
|
|
530
|
+
className: Ye([
|
|
531
|
+
N,
|
|
530
532
|
a,
|
|
531
|
-
`${
|
|
533
|
+
`${N}--gap-size--${r}`,
|
|
532
534
|
{
|
|
533
|
-
[`${
|
|
534
|
-
[`${
|
|
535
|
+
[`${N}--full-height`]: p,
|
|
536
|
+
[`${N}--footer`]: n
|
|
535
537
|
}
|
|
536
538
|
]),
|
|
537
539
|
"data-testid": e,
|
|
@@ -539,18 +541,18 @@ const dr = /* @__PURE__ */ Ge(Ze), P = {
|
|
|
539
541
|
children: o
|
|
540
542
|
}
|
|
541
543
|
);
|
|
542
|
-
function
|
|
544
|
+
function Je(e) {
|
|
543
545
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
544
546
|
}
|
|
545
|
-
var
|
|
547
|
+
var _r = { exports: {} };
|
|
546
548
|
/*!
|
|
547
549
|
Copyright (c) 2018 Jed Watson.
|
|
548
550
|
Licensed under the MIT License (MIT), see
|
|
549
551
|
http://jedwatson.github.io/classnames
|
|
550
552
|
*/
|
|
551
|
-
var
|
|
552
|
-
function
|
|
553
|
-
return
|
|
553
|
+
var fr;
|
|
554
|
+
function Xe() {
|
|
555
|
+
return fr || (fr = 1, function(e) {
|
|
554
556
|
(function() {
|
|
555
557
|
var o = {}.hasOwnProperty;
|
|
556
558
|
function a() {
|
|
@@ -579,32 +581,32 @@ function Ke() {
|
|
|
579
581
|
}
|
|
580
582
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
581
583
|
})();
|
|
582
|
-
}(
|
|
584
|
+
}(_r)), _r.exports;
|
|
583
585
|
}
|
|
584
|
-
var
|
|
585
|
-
const
|
|
586
|
+
var rt = Xe();
|
|
587
|
+
const et = /* @__PURE__ */ Je(rt), tt = "_rotate_12t9p_1", at = "_dash_12t9p_1", it = {
|
|
586
588
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
587
|
-
rotate:
|
|
589
|
+
rotate: tt,
|
|
588
590
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
589
591
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
590
592
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
591
593
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
592
594
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
593
595
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
594
|
-
dash:
|
|
596
|
+
dash: at,
|
|
595
597
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
596
598
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
597
|
-
},
|
|
599
|
+
}, hr = et.bind(it), $ = "purpur-spinner", ot = {
|
|
598
600
|
SM: "sm"
|
|
599
|
-
},
|
|
601
|
+
}, nt = ({
|
|
600
602
|
disabled: e = !1,
|
|
601
603
|
negative: o = !1,
|
|
602
|
-
size: a =
|
|
604
|
+
size: a = ot.SM,
|
|
603
605
|
...n
|
|
604
|
-
}) => /* @__PURE__ */
|
|
606
|
+
}) => /* @__PURE__ */ l("div", { className: hr($, `${$}--${a}`), ...n, children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
605
607
|
"circle",
|
|
606
608
|
{
|
|
607
|
-
className:
|
|
609
|
+
className: hr(`${$}__circle`, {
|
|
608
610
|
[`${$}__circle--disabled`]: e,
|
|
609
611
|
[`${$}__circle--negative`]: o
|
|
610
612
|
}),
|
|
@@ -612,26 +614,26 @@ const Je = /* @__PURE__ */ We(Ye), Qe = "_rotate_12t9p_1", Xe = "_dash_12t9p_1",
|
|
|
612
614
|
cy: "25",
|
|
613
615
|
r: "20"
|
|
614
616
|
}
|
|
615
|
-
) }) }),
|
|
616
|
-
"purpur-card-cta--button-styling": "_purpur-card-cta--button-
|
|
617
|
-
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--
|
|
618
|
-
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-
|
|
619
|
-
"purpur-card-cta--button-styling--sm": "_purpur-card-cta--button-styling--
|
|
620
|
-
"purpur-card-cta--button-styling--md": "_purpur-card-cta--button-styling--
|
|
621
|
-
"purpur-card-cta--button-styling--lg": "_purpur-card-cta--button-styling--
|
|
622
|
-
"purpur-card-cta--button-styling--full-width": "_purpur-card-cta--button-styling--full-
|
|
623
|
-
"purpur-card-cta--button-styling--primary": "_purpur-card-cta--button-styling--
|
|
624
|
-
"purpur-card-cta--button-styling--disabled": "_purpur-card-cta--button-styling--
|
|
625
|
-
"purpur-card-cta--button-styling--primary-negative": "_purpur-card-cta--button-styling--primary-
|
|
626
|
-
"purpur-card-cta--button-styling--secondary": "_purpur-card-cta--button-styling--
|
|
627
|
-
"purpur-card-cta--button-styling--secondary-negative": "_purpur-card-cta--button-styling--secondary-
|
|
628
|
-
"purpur-card-cta--button-styling--expressive": "_purpur-card-cta--button-styling--
|
|
629
|
-
"purpur-card-cta--button-styling--expressive-negative": "_purpur-card-cta--button-styling--expressive-
|
|
630
|
-
"purpur-card-cta--cta-styling": "_purpur-card-cta--cta-
|
|
631
|
-
"purpur-card-cta--secondary": "_purpur-card-cta--
|
|
632
|
-
"purpur-card-cta--disabled": "_purpur-card-cta--
|
|
633
|
-
"purpur-card-cta--text": "_purpur-card-cta--
|
|
634
|
-
},
|
|
617
|
+
) }) }), pt = {
|
|
618
|
+
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1xiey_1",
|
|
619
|
+
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1xiey_33",
|
|
620
|
+
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1xiey_36",
|
|
621
|
+
"purpur-card-cta--button-styling--sm": "_purpur-card-cta--button-styling--sm_1xiey_39",
|
|
622
|
+
"purpur-card-cta--button-styling--md": "_purpur-card-cta--button-styling--md_1xiey_45",
|
|
623
|
+
"purpur-card-cta--button-styling--lg": "_purpur-card-cta--button-styling--lg_1xiey_51",
|
|
624
|
+
"purpur-card-cta--button-styling--full-width": "_purpur-card-cta--button-styling--full-width_1xiey_57",
|
|
625
|
+
"purpur-card-cta--button-styling--primary": "_purpur-card-cta--button-styling--primary_1xiey_60",
|
|
626
|
+
"purpur-card-cta--button-styling--disabled": "_purpur-card-cta--button-styling--disabled_1xiey_64",
|
|
627
|
+
"purpur-card-cta--button-styling--primary-negative": "_purpur-card-cta--button-styling--primary-negative_1xiey_70",
|
|
628
|
+
"purpur-card-cta--button-styling--secondary": "_purpur-card-cta--button-styling--secondary_1xiey_82",
|
|
629
|
+
"purpur-card-cta--button-styling--secondary-negative": "_purpur-card-cta--button-styling--secondary-negative_1xiey_93",
|
|
630
|
+
"purpur-card-cta--button-styling--expressive": "_purpur-card-cta--button-styling--expressive_1xiey_104",
|
|
631
|
+
"purpur-card-cta--button-styling--expressive-negative": "_purpur-card-cta--button-styling--expressive-negative_1xiey_114",
|
|
632
|
+
"purpur-card-cta--cta-styling": "_purpur-card-cta--cta-styling_1xiey_126",
|
|
633
|
+
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1xiey_131",
|
|
634
|
+
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1xiey_131",
|
|
635
|
+
"purpur-card-cta--text": "_purpur-card-cta--text_1xiey_139"
|
|
636
|
+
}, lt = _.bind(pt), y = "purpur-card-cta", ut = ({
|
|
635
637
|
["data-testid"]: e = "purpur-card-cta",
|
|
636
638
|
className: o,
|
|
637
639
|
children: a,
|
|
@@ -641,32 +643,32 @@ const Je = /* @__PURE__ */ We(Ye), Qe = "_rotate_12t9p_1", Xe = "_dash_12t9p_1",
|
|
|
641
643
|
text: t,
|
|
642
644
|
linkStyling: i = !1,
|
|
643
645
|
...s
|
|
644
|
-
}) => /* @__PURE__ */
|
|
646
|
+
}) => /* @__PURE__ */ l(
|
|
645
647
|
"div",
|
|
646
648
|
{
|
|
647
|
-
className: `${
|
|
648
|
-
|
|
649
|
+
className: `${lt([
|
|
650
|
+
y,
|
|
649
651
|
o,
|
|
650
652
|
{
|
|
651
|
-
[`${
|
|
652
|
-
[`${
|
|
653
|
-
[`${
|
|
654
|
-
[`${
|
|
655
|
-
[`${
|
|
656
|
-
[`${
|
|
657
|
-
[`${
|
|
653
|
+
[`${y}--disabled`]: n,
|
|
654
|
+
[`${y}--text`]: !!t,
|
|
655
|
+
[`${y}--cta-styling`]: i,
|
|
656
|
+
[`${y}--button-styling`]: !i,
|
|
657
|
+
[`${y}--button-styling--md`]: !i,
|
|
658
|
+
[`${y}--button-styling--secondary`]: !i,
|
|
659
|
+
[`${y}--button-styling--icon-only`]: !i && !t
|
|
658
660
|
}
|
|
659
|
-
])} ${
|
|
661
|
+
])} ${y}`,
|
|
660
662
|
"data-testid": e,
|
|
661
663
|
...s,
|
|
662
|
-
children: r ? /* @__PURE__ */
|
|
664
|
+
children: r ? /* @__PURE__ */ l(nt, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ c(Pr, { children: [
|
|
663
665
|
p === "left" && a,
|
|
664
666
|
t,
|
|
665
667
|
p === "right" && a
|
|
666
668
|
] })
|
|
667
669
|
}
|
|
668
670
|
);
|
|
669
|
-
function
|
|
671
|
+
function st(e) {
|
|
670
672
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
671
673
|
}
|
|
672
674
|
var gr = { exports: {} };
|
|
@@ -675,9 +677,9 @@ var gr = { exports: {} };
|
|
|
675
677
|
Licensed under the MIT License (MIT), see
|
|
676
678
|
http://jedwatson.github.io/classnames
|
|
677
679
|
*/
|
|
678
|
-
var
|
|
679
|
-
function
|
|
680
|
-
return
|
|
680
|
+
var mr;
|
|
681
|
+
function dt() {
|
|
682
|
+
return mr || (mr = 1, function(e) {
|
|
681
683
|
(function() {
|
|
682
684
|
var o = {}.hasOwnProperty;
|
|
683
685
|
function a() {
|
|
@@ -708,8 +710,8 @@ function pt() {
|
|
|
708
710
|
})();
|
|
709
711
|
}(gr)), gr.exports;
|
|
710
712
|
}
|
|
711
|
-
var
|
|
712
|
-
const
|
|
713
|
+
var ct = dt();
|
|
714
|
+
const _t = /* @__PURE__ */ st(ct), ft = {
|
|
713
715
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
714
716
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
715
717
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -717,41 +719,41 @@ const lt = /* @__PURE__ */ nt(ut), st = {
|
|
|
717
719
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
718
720
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
719
721
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
720
|
-
},
|
|
722
|
+
}, ht = _t.bind(ft), vr = "purpur-icon", gt = "md", mt = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), vt = ({ content: e = "", title: o } = {}) => {
|
|
721
723
|
const a = [
|
|
722
724
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
723
725
|
{ name: "fill", value: "currentColor" },
|
|
724
726
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
725
727
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
726
728
|
], n = o ? `<title>${o}</title>` : "";
|
|
727
|
-
return `<svg ${
|
|
728
|
-
},
|
|
729
|
-
const r =
|
|
730
|
-
content:
|
|
729
|
+
return `<svg ${mt(a)}>${n}${e}</svg>`;
|
|
730
|
+
}, yt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({ svg: e, allyTitle: o, className: a, size: n = gt, ...p }) => {
|
|
731
|
+
const r = vt({
|
|
732
|
+
content: yt(e.svg),
|
|
731
733
|
title: o
|
|
732
|
-
}), t =
|
|
733
|
-
return /* @__PURE__ */
|
|
734
|
+
}), t = ht(a, vr, `${vr}--${n}`);
|
|
735
|
+
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
734
736
|
};
|
|
735
|
-
|
|
736
|
-
const
|
|
737
|
+
kr.displayName = "Icon";
|
|
738
|
+
const xt = {
|
|
737
739
|
name: "checkmark",
|
|
738
740
|
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>',
|
|
739
741
|
keywords: ["checkmark"],
|
|
740
742
|
category: "utility"
|
|
741
|
-
},
|
|
742
|
-
|
|
743
|
-
function
|
|
743
|
+
}, Zr = (e) => /* @__PURE__ */ l(kr, { ...e, svg: xt });
|
|
744
|
+
Zr.displayName = "IconCheckmark";
|
|
745
|
+
function wt(e) {
|
|
744
746
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
745
747
|
}
|
|
746
|
-
var
|
|
748
|
+
var yr = { exports: {} };
|
|
747
749
|
/*!
|
|
748
750
|
Copyright (c) 2018 Jed Watson.
|
|
749
751
|
Licensed under the MIT License (MIT), see
|
|
750
752
|
http://jedwatson.github.io/classnames
|
|
751
753
|
*/
|
|
752
|
-
var
|
|
753
|
-
function
|
|
754
|
-
return
|
|
754
|
+
var xr;
|
|
755
|
+
function bt() {
|
|
756
|
+
return xr || (xr = 1, function(e) {
|
|
755
757
|
(function() {
|
|
756
758
|
var o = {}.hasOwnProperty;
|
|
757
759
|
function a() {
|
|
@@ -780,10 +782,10 @@ function vt() {
|
|
|
780
782
|
}
|
|
781
783
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
782
784
|
})();
|
|
783
|
-
}(
|
|
785
|
+
}(yr)), yr.exports;
|
|
784
786
|
}
|
|
785
|
-
var
|
|
786
|
-
const
|
|
787
|
+
var Ct = bt();
|
|
788
|
+
const St = /* @__PURE__ */ wt(Ct), $t = {
|
|
787
789
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
788
790
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
789
791
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -798,45 +800,45 @@ const wt = /* @__PURE__ */ mt(yt), xt = {
|
|
|
798
800
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
799
801
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
800
802
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
801
|
-
},
|
|
803
|
+
}, Ft = St.bind($t), Bt = {
|
|
802
804
|
PARAGRAPH100: "paragraph-100"
|
|
803
|
-
},
|
|
805
|
+
}, F = "purpur-paragraph", J = ({
|
|
804
806
|
children: e,
|
|
805
807
|
className: o,
|
|
806
808
|
disabled: a,
|
|
807
809
|
enableHyphenation: n = !1,
|
|
808
810
|
negative: p = !1,
|
|
809
|
-
variant: r =
|
|
811
|
+
variant: r = Bt.PARAGRAPH100,
|
|
810
812
|
...t
|
|
811
813
|
}) => {
|
|
812
|
-
const i =
|
|
813
|
-
[`${
|
|
814
|
-
[`${
|
|
815
|
-
[`${
|
|
814
|
+
const i = Ft(o, F, `${F}--${r}`, {
|
|
815
|
+
[`${F}--hyphens`]: n,
|
|
816
|
+
[`${F}--disabled`]: a,
|
|
817
|
+
[`${F}--negative`]: p
|
|
816
818
|
});
|
|
817
|
-
return /* @__PURE__ */
|
|
819
|
+
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
818
820
|
};
|
|
819
821
|
J.displayName = "Paragraph";
|
|
820
|
-
const
|
|
822
|
+
const At = {
|
|
821
823
|
"purpur-card-feature-list": "_purpur-card-feature-list_1hnss_1",
|
|
822
824
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_1hnss_7",
|
|
823
825
|
"purpur-card-feature-list__icon": "_purpur-card-feature-list__icon_1hnss_12"
|
|
824
|
-
},
|
|
826
|
+
}, V = _.bind(At), z = "purpur-card-feature-list", Ot = ({
|
|
825
827
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
826
828
|
listItems: o
|
|
827
|
-
}) => o && o.length > 0 ? /* @__PURE__ */
|
|
829
|
+
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: V(z), "data-testid": e, children: o.map((a) => /* @__PURE__ */ c(
|
|
828
830
|
"li",
|
|
829
831
|
{
|
|
830
|
-
className:
|
|
832
|
+
className: V(`${z}__list-item`),
|
|
831
833
|
"data-testid": `${e}-item`,
|
|
832
834
|
children: [
|
|
833
|
-
/* @__PURE__ */
|
|
834
|
-
/* @__PURE__ */
|
|
835
|
+
/* @__PURE__ */ l(Zr, { size: "xs", className: V(`${z}__icon`) }),
|
|
836
|
+
/* @__PURE__ */ l(J, { children: a })
|
|
835
837
|
]
|
|
836
838
|
},
|
|
837
839
|
a
|
|
838
840
|
)) }) : null;
|
|
839
|
-
function
|
|
841
|
+
function Gt(e) {
|
|
840
842
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
841
843
|
}
|
|
842
844
|
var wr = { exports: {} };
|
|
@@ -845,9 +847,9 @@ var wr = { exports: {} };
|
|
|
845
847
|
Licensed under the MIT License (MIT), see
|
|
846
848
|
http://jedwatson.github.io/classnames
|
|
847
849
|
*/
|
|
848
|
-
var
|
|
849
|
-
function
|
|
850
|
-
return
|
|
850
|
+
var br;
|
|
851
|
+
function Mt() {
|
|
852
|
+
return br || (br = 1, function(e) {
|
|
851
853
|
(function() {
|
|
852
854
|
var o = {}.hasOwnProperty;
|
|
853
855
|
function a() {
|
|
@@ -878,8 +880,8 @@ function Ft() {
|
|
|
878
880
|
})();
|
|
879
881
|
}(wr)), wr.exports;
|
|
880
882
|
}
|
|
881
|
-
var
|
|
882
|
-
const
|
|
883
|
+
var Nt = Mt();
|
|
884
|
+
const kt = /* @__PURE__ */ Gt(Nt), k = {
|
|
883
885
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
884
886
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
885
887
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -899,40 +901,40 @@ const Nt = /* @__PURE__ */ At(Bt), G = {
|
|
|
899
901
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
900
902
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
901
903
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
902
|
-
},
|
|
904
|
+
}, Zt = {
|
|
903
905
|
TITLE100: "title-100"
|
|
904
|
-
},
|
|
906
|
+
}, Z = "purpur-heading", Er = ({
|
|
905
907
|
children: e,
|
|
906
908
|
className: o = "",
|
|
907
909
|
enableHyphenation: a = !1,
|
|
908
910
|
negative: n = !1,
|
|
909
911
|
tag: p,
|
|
910
|
-
variant: r =
|
|
912
|
+
variant: r = Zt.TITLE100,
|
|
911
913
|
...t
|
|
912
914
|
}) => {
|
|
913
|
-
const i = p, s =
|
|
915
|
+
const i = p, s = kt([
|
|
914
916
|
o,
|
|
915
|
-
|
|
916
|
-
|
|
917
|
+
k[Z],
|
|
918
|
+
k[`${Z}--${r}`],
|
|
917
919
|
{
|
|
918
|
-
[
|
|
919
|
-
[
|
|
920
|
+
[k[`${Z}--hyphens`]]: a,
|
|
921
|
+
[k[`${Z}--negative`]]: n
|
|
920
922
|
}
|
|
921
923
|
]);
|
|
922
|
-
return /* @__PURE__ */
|
|
924
|
+
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
923
925
|
};
|
|
924
|
-
|
|
925
|
-
const
|
|
926
|
+
Er.displayName = "Heading";
|
|
927
|
+
const Et = {
|
|
926
928
|
"purpur-card-heading": "_purpur-card-heading_j3j6u_1",
|
|
927
929
|
"purpur-card-heading__header": "_purpur-card-heading__header_j3j6u_6",
|
|
928
930
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_j3j6u_11",
|
|
929
931
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_j3j6u_14"
|
|
930
|
-
},
|
|
932
|
+
}, Ut = {
|
|
931
933
|
"purpur-card-trigger-item--link": "_purpur-card-trigger-item--link_t6ena_1",
|
|
932
934
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_t6ena_5",
|
|
933
935
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_t6ena_18",
|
|
934
936
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_t6ena_1"
|
|
935
|
-
},
|
|
937
|
+
}, Cr = _.bind(Ut), x = "purpur-card-trigger-item", It = ({
|
|
936
938
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
937
939
|
["aria-label"]: o,
|
|
938
940
|
disabled: a = !1,
|
|
@@ -941,19 +943,19 @@ const Mt = {
|
|
|
941
943
|
children: r,
|
|
942
944
|
linkElement: t = "a"
|
|
943
945
|
}) => {
|
|
944
|
-
const i = (
|
|
945
|
-
a ?
|
|
946
|
-
}, s = `${
|
|
947
|
-
return n ? /* @__PURE__ */
|
|
946
|
+
const i = (w) => {
|
|
947
|
+
a ? w.preventDefault() : p && p();
|
|
948
|
+
}, s = `${x} ${a ? `${x}--disabled` : ""}`;
|
|
949
|
+
return n ? /* @__PURE__ */ l(
|
|
948
950
|
t,
|
|
949
951
|
{
|
|
950
952
|
"aria-disabled": a,
|
|
951
953
|
"aria-label": o,
|
|
952
|
-
className: `${
|
|
953
|
-
|
|
954
|
-
`${
|
|
954
|
+
className: `${Cr([
|
|
955
|
+
x,
|
|
956
|
+
`${x}--link`,
|
|
955
957
|
{
|
|
956
|
-
[`${
|
|
958
|
+
[`${x}--disabled`]: a
|
|
957
959
|
}
|
|
958
960
|
])} ${s}`,
|
|
959
961
|
"data-testid": e,
|
|
@@ -962,16 +964,16 @@ const Mt = {
|
|
|
962
964
|
onClick: i,
|
|
963
965
|
children: r
|
|
964
966
|
}
|
|
965
|
-
) : /* @__PURE__ */
|
|
967
|
+
) : /* @__PURE__ */ l(
|
|
966
968
|
"button",
|
|
967
969
|
{
|
|
968
970
|
"aria-disabled": a,
|
|
969
971
|
"aria-label": o,
|
|
970
|
-
className: `${
|
|
971
|
-
|
|
972
|
-
`${
|
|
972
|
+
className: `${Cr([
|
|
973
|
+
x,
|
|
974
|
+
`${x}--button`,
|
|
973
975
|
{
|
|
974
|
-
[`${
|
|
976
|
+
[`${x}--disabled`]: a
|
|
975
977
|
}
|
|
976
978
|
])} ${s}`,
|
|
977
979
|
"data-testid": e,
|
|
@@ -980,7 +982,7 @@ const Mt = {
|
|
|
980
982
|
children: r
|
|
981
983
|
}
|
|
982
984
|
);
|
|
983
|
-
},
|
|
985
|
+
}, E = _.bind(Et), b = "purpur-card-heading", Dt = ({
|
|
984
986
|
["data-testid"]: e = "purpur-card-heading",
|
|
985
987
|
["aria-label"]: o,
|
|
986
988
|
title: a,
|
|
@@ -990,34 +992,34 @@ const Mt = {
|
|
|
990
992
|
enableHyphenation: t,
|
|
991
993
|
onClick: i = void 0,
|
|
992
994
|
href: s = void 0,
|
|
993
|
-
disabled:
|
|
994
|
-
linkElement:
|
|
995
|
-
variant:
|
|
996
|
-
...
|
|
995
|
+
disabled: w = !1,
|
|
996
|
+
linkElement: D = "a",
|
|
997
|
+
variant: R = "title-100",
|
|
998
|
+
...L
|
|
997
999
|
}) => {
|
|
998
|
-
const
|
|
1000
|
+
const O = E(b, {
|
|
999
1001
|
[`${b}--is-interactive`]: i || s,
|
|
1000
|
-
[`${b}--disabled`]:
|
|
1002
|
+
[`${b}--disabled`]: w
|
|
1001
1003
|
});
|
|
1002
|
-
return /* @__PURE__ */ c("div", { className:
|
|
1003
|
-
/* @__PURE__ */ c("div", { className:
|
|
1004
|
-
n && /* @__PURE__ */
|
|
1005
|
-
/* @__PURE__ */
|
|
1006
|
-
|
|
1004
|
+
return /* @__PURE__ */ c("div", { className: O, "data-testid": e, children: [
|
|
1005
|
+
/* @__PURE__ */ c("div", { className: E(`${b}__header`), children: [
|
|
1006
|
+
n && /* @__PURE__ */ l("div", { className: E(`${b}__icon`), children: n }),
|
|
1007
|
+
/* @__PURE__ */ l(
|
|
1008
|
+
Er,
|
|
1007
1009
|
{
|
|
1008
1010
|
tag: r,
|
|
1009
|
-
className:
|
|
1010
|
-
variant:
|
|
1011
|
+
className: E(`${b}__heading`),
|
|
1012
|
+
variant: R,
|
|
1011
1013
|
enableHyphenation: t,
|
|
1012
|
-
...
|
|
1013
|
-
children: i || s ? /* @__PURE__ */
|
|
1014
|
-
|
|
1014
|
+
...L,
|
|
1015
|
+
children: i || s ? /* @__PURE__ */ l(
|
|
1016
|
+
It,
|
|
1015
1017
|
{
|
|
1016
1018
|
"aria-label": o,
|
|
1017
|
-
disabled:
|
|
1019
|
+
disabled: w,
|
|
1018
1020
|
href: s,
|
|
1019
1021
|
onClick: i,
|
|
1020
|
-
linkElement:
|
|
1022
|
+
linkElement: D,
|
|
1021
1023
|
children: a
|
|
1022
1024
|
}
|
|
1023
1025
|
) : a
|
|
@@ -1026,41 +1028,41 @@ const Mt = {
|
|
|
1026
1028
|
] }),
|
|
1027
1029
|
p
|
|
1028
1030
|
] });
|
|
1029
|
-
},
|
|
1030
|
-
"purpur-card-media": "_purpur-card-
|
|
1031
|
-
},
|
|
1031
|
+
}, Rt = {
|
|
1032
|
+
"purpur-card-media": "_purpur-card-media_1om4o_1"
|
|
1033
|
+
}, Lt = _.bind(Rt), jt = "purpur-card-media", Pt = ({
|
|
1032
1034
|
["data-testid"]: e = "purpur-card-media",
|
|
1033
1035
|
className: o,
|
|
1034
1036
|
children: a,
|
|
1035
1037
|
...n
|
|
1036
|
-
}) => /* @__PURE__ */
|
|
1037
|
-
"purpur-card-media-layout": "_purpur-card-media-
|
|
1038
|
-
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-
|
|
1039
|
-
},
|
|
1038
|
+
}) => /* @__PURE__ */ l("div", { ...n, className: Lt([jt, o]), "data-testid": e, children: a }), Ht = {
|
|
1039
|
+
"purpur-card-media-layout": "_purpur-card-media-layout_h3935_1",
|
|
1040
|
+
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-top_h3935_11"
|
|
1041
|
+
}, Tt = _.bind(Ht), Sr = "purpur-card-media-layout", qt = ({
|
|
1040
1042
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1041
1043
|
className: o,
|
|
1042
1044
|
children: a,
|
|
1043
1045
|
imageTop: n = !1,
|
|
1044
1046
|
...p
|
|
1045
|
-
}) => /* @__PURE__ */
|
|
1047
|
+
}) => /* @__PURE__ */ l(
|
|
1046
1048
|
"div",
|
|
1047
1049
|
{
|
|
1048
1050
|
...p,
|
|
1049
|
-
className:
|
|
1051
|
+
className: Tt(Sr, o, { [`${Sr}--image-top`]: n }),
|
|
1050
1052
|
"data-testid": e,
|
|
1051
1053
|
children: a
|
|
1052
1054
|
}
|
|
1053
|
-
),
|
|
1055
|
+
), Vt = {
|
|
1054
1056
|
"purpur-card-overline": "_purpur-card-overline_qhfj0_1"
|
|
1055
|
-
},
|
|
1057
|
+
}, zt = _.bind(Vt), Wt = "purpur-card-overline", Kt = ({
|
|
1056
1058
|
["data-testid"]: e = "purpur-card-overline",
|
|
1057
1059
|
overline: o
|
|
1058
|
-
}) => o ? /* @__PURE__ */
|
|
1060
|
+
}) => o ? /* @__PURE__ */ l(J, { variant: "overline-100", className: zt(Wt), "data-testid": e, children: o }) : null, Yt = {
|
|
1059
1061
|
"purpur-card-root": "_purpur-card-root_eupww_1",
|
|
1060
1062
|
"purpur-card-root--primary": "_purpur-card-root--primary_eupww_7",
|
|
1061
1063
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_eupww_10",
|
|
1062
1064
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_eupww_13"
|
|
1063
|
-
},
|
|
1065
|
+
}, Qt = _.bind(Yt), W = "purpur-card-root", Ur = Gr(
|
|
1064
1066
|
({
|
|
1065
1067
|
["data-testid"]: e = "purpur-card-root",
|
|
1066
1068
|
children: o,
|
|
@@ -1069,52 +1071,54 @@ const Mt = {
|
|
|
1069
1071
|
variant: p,
|
|
1070
1072
|
...r
|
|
1071
1073
|
}, t) => {
|
|
1072
|
-
const i =
|
|
1073
|
-
|
|
1074
|
+
const i = Qt([
|
|
1075
|
+
W,
|
|
1074
1076
|
a,
|
|
1075
1077
|
{
|
|
1076
|
-
[`${
|
|
1077
|
-
[`${
|
|
1078
|
+
[`${W}--${p}`]: p,
|
|
1079
|
+
[`${W}--full-height`]: n
|
|
1078
1080
|
}
|
|
1079
1081
|
]);
|
|
1080
|
-
return /* @__PURE__ */
|
|
1082
|
+
return /* @__PURE__ */ l("div", { className: i, "data-testid": e, ref: t, ...r, children: o });
|
|
1081
1083
|
}
|
|
1082
1084
|
);
|
|
1083
|
-
|
|
1084
|
-
const
|
|
1085
|
-
const
|
|
1086
|
-
return /* @__PURE__ */
|
|
1085
|
+
Ur.displayName = "CardRoot";
|
|
1086
|
+
const K = _.bind(me), B = "purpur-card", f = ({ children: e, className: o, useMediaQueries: a, ...n }) => {
|
|
1087
|
+
const p = K([B, o]);
|
|
1088
|
+
return /* @__PURE__ */ l(
|
|
1087
1089
|
"div",
|
|
1088
1090
|
{
|
|
1089
|
-
className:
|
|
1090
|
-
[`${
|
|
1091
|
+
className: K(`${B}__container`, {
|
|
1092
|
+
[`${B}__container--full-height`]: n.fullHeight,
|
|
1093
|
+
[`${B}__container--use-container-queries`]: !a,
|
|
1094
|
+
[`${B}__container--use-media-queries`]: a
|
|
1091
1095
|
}),
|
|
1092
|
-
children: /* @__PURE__ */
|
|
1096
|
+
children: /* @__PURE__ */ l(Ur, { className: K(p), ...n, children: e })
|
|
1093
1097
|
}
|
|
1094
1098
|
);
|
|
1095
1099
|
};
|
|
1096
|
-
f.Badge =
|
|
1097
|
-
f.Content =
|
|
1098
|
-
f.ContentContainer =
|
|
1099
|
-
f.Cta =
|
|
1100
|
-
f.FeatureList =
|
|
1101
|
-
f.Overline =
|
|
1102
|
-
f.Heading =
|
|
1103
|
-
f.Media =
|
|
1104
|
-
f.MediaLayout =
|
|
1100
|
+
f.Badge = Te;
|
|
1101
|
+
f.Content = We;
|
|
1102
|
+
f.ContentContainer = Qe;
|
|
1103
|
+
f.Cta = ut;
|
|
1104
|
+
f.FeatureList = Ot;
|
|
1105
|
+
f.Overline = Kt;
|
|
1106
|
+
f.Heading = Dt;
|
|
1107
|
+
f.Media = Pt;
|
|
1108
|
+
f.MediaLayout = qt;
|
|
1105
1109
|
f.displayName = "Card";
|
|
1106
|
-
function
|
|
1110
|
+
function Jt(e) {
|
|
1107
1111
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1108
1112
|
}
|
|
1109
|
-
var
|
|
1113
|
+
var $r = { exports: {} };
|
|
1110
1114
|
/*!
|
|
1111
1115
|
Copyright (c) 2018 Jed Watson.
|
|
1112
1116
|
Licensed under the MIT License (MIT), see
|
|
1113
1117
|
http://jedwatson.github.io/classnames
|
|
1114
1118
|
*/
|
|
1115
|
-
var
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1119
|
+
var Fr;
|
|
1120
|
+
function Xt() {
|
|
1121
|
+
return Fr || (Fr = 1, function(e) {
|
|
1118
1122
|
(function() {
|
|
1119
1123
|
var o = {}.hasOwnProperty;
|
|
1120
1124
|
function a() {
|
|
@@ -1143,10 +1147,10 @@ function Kt() {
|
|
|
1143
1147
|
}
|
|
1144
1148
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1145
1149
|
})();
|
|
1146
|
-
}(
|
|
1150
|
+
}($r)), $r.exports;
|
|
1147
1151
|
}
|
|
1148
|
-
var
|
|
1149
|
-
const
|
|
1152
|
+
var ra = Xt();
|
|
1153
|
+
const ea = /* @__PURE__ */ Jt(ra), U = {
|
|
1150
1154
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1151
1155
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1152
1156
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1166,41 +1170,41 @@ const Jt = /* @__PURE__ */ Wt(Yt), E = {
|
|
|
1166
1170
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1167
1171
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1168
1172
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1169
|
-
},
|
|
1173
|
+
}, ta = {
|
|
1170
1174
|
TITLE100: "title-100"
|
|
1171
|
-
},
|
|
1175
|
+
}, I = "purpur-heading", Ir = ({
|
|
1172
1176
|
children: e,
|
|
1173
1177
|
className: o = "",
|
|
1174
1178
|
enableHyphenation: a = !1,
|
|
1175
1179
|
negative: n = !1,
|
|
1176
1180
|
tag: p,
|
|
1177
|
-
variant: r =
|
|
1181
|
+
variant: r = ta.TITLE100,
|
|
1178
1182
|
...t
|
|
1179
1183
|
}) => {
|
|
1180
|
-
const i = p, s =
|
|
1184
|
+
const i = p, s = ea([
|
|
1181
1185
|
o,
|
|
1182
|
-
|
|
1183
|
-
|
|
1186
|
+
U[I],
|
|
1187
|
+
U[`${I}--${r}`],
|
|
1184
1188
|
{
|
|
1185
|
-
[
|
|
1186
|
-
[
|
|
1189
|
+
[U[`${I}--hyphens`]]: a,
|
|
1190
|
+
[U[`${I}--negative`]]: n
|
|
1187
1191
|
}
|
|
1188
1192
|
]);
|
|
1189
|
-
return /* @__PURE__ */
|
|
1193
|
+
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
1190
1194
|
};
|
|
1191
|
-
|
|
1192
|
-
function
|
|
1195
|
+
Ir.displayName = "Heading";
|
|
1196
|
+
function aa(e) {
|
|
1193
1197
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1194
1198
|
}
|
|
1195
|
-
var
|
|
1199
|
+
var Br = { exports: {} };
|
|
1196
1200
|
/*!
|
|
1197
1201
|
Copyright (c) 2018 Jed Watson.
|
|
1198
1202
|
Licensed under the MIT License (MIT), see
|
|
1199
1203
|
http://jedwatson.github.io/classnames
|
|
1200
1204
|
*/
|
|
1201
|
-
var
|
|
1202
|
-
function
|
|
1203
|
-
return
|
|
1205
|
+
var Ar;
|
|
1206
|
+
function ia() {
|
|
1207
|
+
return Ar || (Ar = 1, function(e) {
|
|
1204
1208
|
(function() {
|
|
1205
1209
|
var o = {}.hasOwnProperty;
|
|
1206
1210
|
function a() {
|
|
@@ -1229,10 +1233,10 @@ function ra() {
|
|
|
1229
1233
|
}
|
|
1230
1234
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1231
1235
|
})();
|
|
1232
|
-
}(
|
|
1236
|
+
}(Br)), Br.exports;
|
|
1233
1237
|
}
|
|
1234
|
-
var
|
|
1235
|
-
const
|
|
1238
|
+
var oa = ia();
|
|
1239
|
+
const na = /* @__PURE__ */ aa(oa), pa = {
|
|
1236
1240
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1237
1241
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1238
1242
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1247,26 +1251,35 @@ const ta = /* @__PURE__ */ Xt(ea), aa = {
|
|
|
1247
1251
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1248
1252
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1249
1253
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1250
|
-
},
|
|
1254
|
+
}, la = na.bind(pa), ua = {
|
|
1251
1255
|
PARAGRAPH100: "paragraph-100"
|
|
1252
|
-
},
|
|
1256
|
+
}, A = "purpur-paragraph", Dr = ({
|
|
1253
1257
|
children: e,
|
|
1254
1258
|
className: o,
|
|
1255
1259
|
disabled: a,
|
|
1256
1260
|
enableHyphenation: n = !1,
|
|
1257
1261
|
negative: p = !1,
|
|
1258
|
-
variant: r =
|
|
1262
|
+
variant: r = ua.PARAGRAPH100,
|
|
1259
1263
|
...t
|
|
1260
1264
|
}) => {
|
|
1261
|
-
const i =
|
|
1262
|
-
[`${
|
|
1263
|
-
[`${
|
|
1264
|
-
[`${
|
|
1265
|
+
const i = la(o, A, `${A}--${r}`, {
|
|
1266
|
+
[`${A}--hyphens`]: n,
|
|
1267
|
+
[`${A}--disabled`]: a,
|
|
1268
|
+
[`${A}--negative`]: p
|
|
1265
1269
|
});
|
|
1266
|
-
return /* @__PURE__ */
|
|
1270
|
+
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
1271
|
+
};
|
|
1272
|
+
Dr.displayName = "Paragraph";
|
|
1273
|
+
const sa = Hr(void 0), da = () => {
|
|
1274
|
+
const e = Tr(sa);
|
|
1275
|
+
if (!e)
|
|
1276
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
1277
|
+
return e;
|
|
1278
|
+
}, ca = () => {
|
|
1279
|
+
const { colorScheme: e, setColorScheme: o } = da();
|
|
1280
|
+
return [e, o];
|
|
1267
1281
|
};
|
|
1268
|
-
|
|
1269
|
-
function na(e) {
|
|
1282
|
+
function _a(e) {
|
|
1270
1283
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1271
1284
|
}
|
|
1272
1285
|
var Y = { exports: {} };
|
|
@@ -1275,9 +1288,9 @@ var Y = { exports: {} };
|
|
|
1275
1288
|
Licensed under the MIT License (MIT), see
|
|
1276
1289
|
http://jedwatson.github.io/classnames
|
|
1277
1290
|
*/
|
|
1278
|
-
var
|
|
1279
|
-
function
|
|
1280
|
-
return
|
|
1291
|
+
var Or;
|
|
1292
|
+
function fa() {
|
|
1293
|
+
return Or || (Or = 1, function(e) {
|
|
1281
1294
|
(function() {
|
|
1282
1295
|
var o = {}.hasOwnProperty;
|
|
1283
1296
|
function a() {
|
|
@@ -1308,41 +1321,44 @@ function pa() {
|
|
|
1308
1321
|
})();
|
|
1309
1322
|
}(Y)), Y.exports;
|
|
1310
1323
|
}
|
|
1311
|
-
var
|
|
1312
|
-
const
|
|
1313
|
-
"purpur-promotion-card": "_purpur-promotion-
|
|
1314
|
-
"purpur-promotion-
|
|
1315
|
-
"purpur-promotion-card__content": "_purpur-promotion-
|
|
1316
|
-
"purpur-promotion-
|
|
1317
|
-
"purpur-promotion-
|
|
1318
|
-
"purpur-promotion-
|
|
1319
|
-
"purpur-promotion-
|
|
1320
|
-
"purpur-promotion-
|
|
1321
|
-
"purpur-promotion-
|
|
1322
|
-
"purpur-promotion-
|
|
1323
|
-
"purpur-promotion-
|
|
1324
|
-
"purpur-promotion-
|
|
1325
|
-
"purpur-promotion-
|
|
1326
|
-
"purpur-promotion-card__main-content--
|
|
1327
|
-
"purpur-promotion-
|
|
1328
|
-
"purpur-promotion-
|
|
1329
|
-
"purpur-promotion-
|
|
1330
|
-
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-
|
|
1331
|
-
"purpur-promotion-card__image-wrapper--
|
|
1332
|
-
|
|
1333
|
-
}, ma = ["primary", "secondary", "quaternary"], da = {
|
|
1324
|
+
var ha = fa();
|
|
1325
|
+
const ga = /* @__PURE__ */ _a(ha), ma = {
|
|
1326
|
+
"purpur-promotion-card": "_purpur-promotion-card_w866l_1",
|
|
1327
|
+
"purpur-promotion-card__inner--without-image": "_purpur-promotion-card__inner--without-image_w866l_9",
|
|
1328
|
+
"purpur-promotion-card__content": "_purpur-promotion-card__content_w866l_9",
|
|
1329
|
+
"purpur-promotion-card__inner--with-image": "_purpur-promotion-card__inner--with-image_w866l_34",
|
|
1330
|
+
"purpur-promotion-card__image-gradient": "_purpur-promotion-card__image-gradient_w866l_46",
|
|
1331
|
+
"purpur-promotion-card__actions": "_purpur-promotion-card__actions_w866l_62",
|
|
1332
|
+
"purpur-promotion-card__content--without-image": "_purpur-promotion-card__content--without-image_w866l_78",
|
|
1333
|
+
"purpur-promotion-card__main-content": "_purpur-promotion-card__main-content_w866l_81",
|
|
1334
|
+
"purpur-promotion-card__heading": "_purpur-promotion-card__heading_w866l_86",
|
|
1335
|
+
"purpur-promotion-card__content--with-image": "_purpur-promotion-card__content--with-image_w866l_91",
|
|
1336
|
+
"purpur-promotion-card__badge-wrapper": "_purpur-promotion-card__badge-wrapper_w866l_102",
|
|
1337
|
+
"purpur-promotion-card__body": "_purpur-promotion-card__body_w866l_106",
|
|
1338
|
+
"purpur-promotion-card__main-content--space-between": "_purpur-promotion-card__main-content--space-between_w866l_117",
|
|
1339
|
+
"purpur-promotion-card__main-content--flex-end": "_purpur-promotion-card__main-content--flex-end_w866l_120",
|
|
1340
|
+
"purpur-promotion-card__child-content": "_purpur-promotion-card__child-content_w866l_140",
|
|
1341
|
+
"purpur-promotion-card__additional-text": "_purpur-promotion-card__additional-text_w866l_143",
|
|
1342
|
+
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_w866l_146",
|
|
1343
|
+
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_w866l_149",
|
|
1344
|
+
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_w866l_150"
|
|
1345
|
+
}, Sa = ["primary", "secondary", "quaternary"], va = {
|
|
1334
1346
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1335
1347
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1336
1348
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1337
|
-
},
|
|
1349
|
+
}, Q = {
|
|
1338
1350
|
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>')`,
|
|
1339
1351
|
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>')`,
|
|
1340
1352
|
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>')`
|
|
1341
|
-
},
|
|
1353
|
+
}, ya = {
|
|
1354
|
+
primary: Q.secondary,
|
|
1355
|
+
secondary: Q.primary,
|
|
1356
|
+
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_24984_14652)"><rect width="2000" height="1125" fill="url(%23paint0_linear_24984_14652)"/><g filter="url(%23filter0_d_24984_14652)"><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.5808 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23FFF0E5"/></g><g filter="url(%23filter1_d_24984_14652)"><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.3462 51.596 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_24984_14652)"/></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_24984_14652)" stroke="url(%23paint3_linear_24984_14652)" stroke-width="0.488281"/><g filter="url(%23filter2_d_24984_14652)"><path d="M895.095 -81.1636L897.087 -83.483C2339.19 -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.808 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23FFF0E5"/></g><g filter="url(%23filter3_d_24984_14652)"><path d="M892.877 -81.1462L894.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.598C521.196 351.573 686.155 159.524 892.877 -81.1462Z" fill="url(%23paint4_linear_24984_14652)"/></g><path d="M899.248 -92.33L901.24 -94.6492C2343.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.34 899.248 -92.33Z" fill="url(%23paint5_linear_24984_14652)" stroke="url(%23paint6_linear_24984_14652)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter1_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter2_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter3_d_24984_14652" 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.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><linearGradient id="paint0_linear_24984_14652" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%232C2520"/><stop offset="0.576094" stop-color="%2329221D"/><stop offset="1" stop-color="%2327211C"/></linearGradient><linearGradient id="paint1_linear_24984_14652" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2340362E"/><stop offset="0.265" stop-color="%23372E27"/><stop offset="0.385" stop-color="%232D2621"/><stop offset="0.720829" stop-color="%231E1916"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint2_linear_24984_14652" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.19574" stop-color="%232C2520"/><stop offset="1" stop-color="%23221D19"/></linearGradient><linearGradient id="paint3_linear_24984_14652" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23887363"/><stop offset="0.506509" stop-color="%233E342D"/><stop offset="1" stop-color="%23251F1A"/></linearGradient><linearGradient id="paint4_linear_24984_14652" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%233B312A"/><stop offset="0.340552" stop-color="%232D2621"/><stop offset="0.616738" stop-color="%231F1A17"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint5_linear_24984_14652" x1="781.493" y1="72.65" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.51248" stop-color="%2326201C"/><stop offset="1" stop-color="%23201B17"/></linearGradient><linearGradient id="paint6_linear_24984_14652" x1="820.5" y1="32.5" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%23645549"/><stop offset="0.425" stop-color="%23594B41"/><stop offset="1" stop-color="%23221C18"/></linearGradient><clipPath id="clip0_24984_14652"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`
|
|
1357
|
+
}, xa = {
|
|
1342
1358
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1343
1359
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1344
1360
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1345
|
-
}, d =
|
|
1361
|
+
}, d = ga.bind(ma), u = "purpur-promotion-card", wa = Gr(
|
|
1346
1362
|
({
|
|
1347
1363
|
["data-testid"]: e,
|
|
1348
1364
|
variant: o = "primary",
|
|
@@ -1353,119 +1369,128 @@ const la = /* @__PURE__ */ na(ua), sa = {
|
|
|
1353
1369
|
titleVariant: t = "title-300",
|
|
1354
1370
|
enableTitleHyphenation: i = !1,
|
|
1355
1371
|
className: s,
|
|
1356
|
-
actions:
|
|
1357
|
-
children:
|
|
1358
|
-
style:
|
|
1359
|
-
alignment:
|
|
1360
|
-
additionalText:
|
|
1361
|
-
...
|
|
1362
|
-
},
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1372
|
+
actions: w,
|
|
1373
|
+
children: D,
|
|
1374
|
+
style: R,
|
|
1375
|
+
alignment: L = "space-between",
|
|
1376
|
+
additionalText: O,
|
|
1377
|
+
...h
|
|
1378
|
+
}, Rr) => {
|
|
1379
|
+
const [Lr] = ca();
|
|
1380
|
+
let G = h, g, M;
|
|
1381
|
+
if ("decorativeImage" in h) {
|
|
1382
|
+
const { hasGradient: C, decorativeImage: S, ...j } = h;
|
|
1383
|
+
g = S, M = C, G = j;
|
|
1384
|
+
} else if ("productImage" in h) {
|
|
1385
|
+
const { hasGradient: C, productImage: S, ...j } = h;
|
|
1386
|
+
g = S, M = C, G = j;
|
|
1387
|
+
} else if ("hasGradient" in h) {
|
|
1388
|
+
const { hasGradient: C, ...S } = h;
|
|
1389
|
+
M = C, G = S;
|
|
1373
1390
|
}
|
|
1374
|
-
const
|
|
1375
|
-
"--promotion-card-background":
|
|
1376
|
-
"--promotion-card-color":
|
|
1377
|
-
"--promotion-card-background-image":
|
|
1391
|
+
const jr = {
|
|
1392
|
+
"--promotion-card-background": va[o],
|
|
1393
|
+
"--promotion-card-color": xa[o],
|
|
1394
|
+
"--promotion-card-background-image": g ? "none" : Lr === "dark" ? ya[o] : Q[o]
|
|
1378
1395
|
};
|
|
1379
|
-
return /* @__PURE__ */
|
|
1380
|
-
|
|
1396
|
+
return /* @__PURE__ */ l(
|
|
1397
|
+
f,
|
|
1381
1398
|
{
|
|
1382
1399
|
"data-testid": e,
|
|
1400
|
+
ref: Rr,
|
|
1401
|
+
fullHeight: !0,
|
|
1402
|
+
className: d(s, u, `${u}--${o}`),
|
|
1383
1403
|
style: {
|
|
1384
|
-
...
|
|
1385
|
-
...
|
|
1404
|
+
...jr,
|
|
1405
|
+
...R
|
|
1386
1406
|
},
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1407
|
+
...G,
|
|
1408
|
+
children: /* @__PURE__ */ c(
|
|
1409
|
+
"div",
|
|
1410
|
+
{
|
|
1411
|
+
className: d(`${u}__inner`, {
|
|
1412
|
+
[`${u}__inner--with-image`]: g,
|
|
1413
|
+
[`${u}__inner--without-image`]: !g
|
|
1414
|
+
}),
|
|
1415
|
+
children: [
|
|
1416
|
+
/* @__PURE__ */ c(
|
|
1417
|
+
"div",
|
|
1418
|
+
{
|
|
1419
|
+
className: d(`${u}__content`, {
|
|
1420
|
+
[`${u}__content--with-image`]: g,
|
|
1421
|
+
[`${u}__content--without-image`]: !g
|
|
1422
|
+
}),
|
|
1423
|
+
children: [
|
|
1424
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: d(`${u}__badge-wrapper`), children: /* @__PURE__ */ c(_e, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1425
|
+
n && n,
|
|
1426
|
+
a
|
|
1427
|
+
] }) }),
|
|
1428
|
+
/* @__PURE__ */ c(
|
|
1429
|
+
"div",
|
|
1430
|
+
{
|
|
1431
|
+
className: d(
|
|
1432
|
+
`${u}__main-content`,
|
|
1433
|
+
`${u}__main-content--${L}`
|
|
1434
|
+
),
|
|
1435
|
+
children: [
|
|
1436
|
+
/* @__PURE__ */ l(
|
|
1437
|
+
Ir,
|
|
1438
|
+
{
|
|
1439
|
+
tag: r,
|
|
1440
|
+
variant: t,
|
|
1441
|
+
enableHyphenation: i,
|
|
1442
|
+
className: d(`${u}__heading`),
|
|
1443
|
+
children: p
|
|
1444
|
+
}
|
|
1445
|
+
),
|
|
1446
|
+
/* @__PURE__ */ c("div", { className: d(`${u}__body`), children: [
|
|
1447
|
+
/* @__PURE__ */ l("div", { className: d(`${u}__child-content`), children: D }),
|
|
1448
|
+
w && /* @__PURE__ */ l("div", { className: d(`${u}__actions`), children: w }),
|
|
1449
|
+
O && /* @__PURE__ */ l(
|
|
1450
|
+
Dr,
|
|
1451
|
+
{
|
|
1452
|
+
negative: !0,
|
|
1453
|
+
variant: "additional-100",
|
|
1454
|
+
className: d(`${u}__additional-text`),
|
|
1455
|
+
children: O
|
|
1456
|
+
}
|
|
1457
|
+
)
|
|
1458
|
+
] })
|
|
1459
|
+
]
|
|
1460
|
+
}
|
|
1461
|
+
)
|
|
1462
|
+
]
|
|
1463
|
+
}
|
|
1464
|
+
),
|
|
1465
|
+
g && /* @__PURE__ */ c(
|
|
1466
|
+
"div",
|
|
1467
|
+
{
|
|
1468
|
+
className: d(`${u}__image-wrapper`, {
|
|
1469
|
+
[`${u}__image-wrapper--product`]: "productImage" in h,
|
|
1470
|
+
[`${u}__image-wrapper--decorative`]: "decorativeImage" in h
|
|
1471
|
+
}),
|
|
1472
|
+
children: [
|
|
1473
|
+
g,
|
|
1474
|
+
M && /* @__PURE__ */ l(
|
|
1475
|
+
"div",
|
|
1476
|
+
{
|
|
1477
|
+
className: d(`${u}__image-gradient`),
|
|
1478
|
+
"data-testid": "promotion-card-gradient"
|
|
1479
|
+
}
|
|
1480
|
+
)
|
|
1481
|
+
]
|
|
1482
|
+
}
|
|
1483
|
+
)
|
|
1484
|
+
]
|
|
1485
|
+
}
|
|
1486
|
+
)
|
|
1462
1487
|
}
|
|
1463
|
-
)
|
|
1488
|
+
);
|
|
1464
1489
|
}
|
|
1465
1490
|
);
|
|
1466
|
-
|
|
1491
|
+
wa.displayName = "PromotionCard";
|
|
1467
1492
|
export {
|
|
1468
|
-
|
|
1469
|
-
|
|
1493
|
+
wa as PromotionCard,
|
|
1494
|
+
Sa as promotionCardVariants
|
|
1470
1495
|
};
|
|
1471
1496
|
//# sourceMappingURL=promotion-card.es.js.map
|