@purpurds/promotion-card 8.2.5 → 8.3.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 +4 -4
- package/dist/promotion-card.cjs.js +13 -13
- package/dist/promotion-card.cjs.js.map +1 -1
- package/dist/promotion-card.d.ts +16 -2
- package/dist/promotion-card.d.ts.map +1 -1
- package/dist/promotion-card.es.js +351 -346
- package/dist/promotion-card.es.js.map +1 -1
- package/package.json +13 -13
- package/src/promotion-card.stories.tsx +1 -2
- package/src/promotion-card.tsx +23 -8
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as _, jsx as l, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
function
|
|
1
|
+
import { jsxs as _, jsx as l, Fragment as Tr } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Gr, useId as qr } from "react";
|
|
3
|
+
import { useTheme as Vr, useApplyTheme as zr } from "@purpurds/theme";
|
|
4
|
+
function Wr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var rr = { exports: {} };
|
|
8
8
|
/*!
|
|
9
9
|
Copyright (c) 2018 Jed Watson.
|
|
10
10
|
Licensed under the MIT License (MIT), see
|
|
11
11
|
http://jedwatson.github.io/classnames
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
return
|
|
13
|
+
var er;
|
|
14
|
+
function Kr() {
|
|
15
|
+
return er || (er = 1, (function(e) {
|
|
16
16
|
(function() {
|
|
17
17
|
var o = {}.hasOwnProperty;
|
|
18
18
|
function a() {
|
|
@@ -41,10 +41,10 @@ function Hr() {
|
|
|
41
41
|
}
|
|
42
42
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
43
43
|
})();
|
|
44
|
-
})(
|
|
44
|
+
})(rr)), rr.exports;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
47
|
-
const
|
|
46
|
+
var Yr = Kr();
|
|
47
|
+
const Qr = /* @__PURE__ */ Wr(Yr), Jr = {
|
|
48
48
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
49
49
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
50
50
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -52,75 +52,75 @@ const Tr = /* @__PURE__ */ Pr(qr), Vr = {
|
|
|
52
52
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
53
53
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
54
54
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
55
|
-
},
|
|
55
|
+
}, Xr = Qr.bind(Jr), tr = "purpur-icon", re = "md", ee = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), te = ({ content: e = "", title: o } = {}) => {
|
|
56
56
|
const a = [
|
|
57
57
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
58
58
|
{ name: "fill", value: "currentColor" },
|
|
59
59
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
60
60
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
61
61
|
], n = o ? `<title>${o}</title>` : "";
|
|
62
|
-
return `<svg ${
|
|
63
|
-
},
|
|
64
|
-
const r =
|
|
65
|
-
content:
|
|
62
|
+
return `<svg ${ee(a)}>${n}${e}</svg>`;
|
|
63
|
+
}, ae = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Nr = ({ svg: e, allyTitle: o, className: a, size: n = re, ...p }) => {
|
|
64
|
+
const r = te({
|
|
65
|
+
content: ae(e.svg),
|
|
66
66
|
title: o
|
|
67
|
-
}), t =
|
|
67
|
+
}), t = Xr(a, tr, `${tr}--${n}`);
|
|
68
68
|
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
69
69
|
};
|
|
70
|
-
|
|
71
|
-
const
|
|
70
|
+
Nr.displayName = "Icon";
|
|
71
|
+
const ie = {
|
|
72
72
|
name: "alert",
|
|
73
73
|
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>',
|
|
74
74
|
keywords: ["alert"],
|
|
75
75
|
category: "status"
|
|
76
|
-
},
|
|
76
|
+
}, oe = {
|
|
77
77
|
name: "check-circle",
|
|
78
78
|
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>',
|
|
79
79
|
keywords: ["check-circle"],
|
|
80
80
|
category: "status"
|
|
81
|
-
},
|
|
81
|
+
}, ne = {
|
|
82
82
|
name: "devices",
|
|
83
83
|
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>',
|
|
84
84
|
keywords: ["devices"],
|
|
85
85
|
category: "device"
|
|
86
|
-
},
|
|
86
|
+
}, pe = {
|
|
87
87
|
name: "error",
|
|
88
88
|
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>',
|
|
89
89
|
keywords: ["error"],
|
|
90
90
|
category: "status"
|
|
91
|
-
},
|
|
91
|
+
}, le = {
|
|
92
92
|
name: "info",
|
|
93
93
|
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>',
|
|
94
94
|
keywords: ["info"],
|
|
95
95
|
category: "status"
|
|
96
|
-
},
|
|
96
|
+
}, ue = {
|
|
97
97
|
name: "offering",
|
|
98
98
|
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>',
|
|
99
99
|
keywords: ["offering"],
|
|
100
100
|
category: "other"
|
|
101
|
-
},
|
|
101
|
+
}, se = {
|
|
102
102
|
name: "question",
|
|
103
103
|
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>',
|
|
104
104
|
keywords: ["question"],
|
|
105
105
|
category: "status"
|
|
106
|
-
},
|
|
106
|
+
}, de = {
|
|
107
107
|
name: "tag",
|
|
108
108
|
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>',
|
|
109
109
|
keywords: ["tag"],
|
|
110
110
|
category: "other"
|
|
111
111
|
};
|
|
112
|
-
function
|
|
112
|
+
function ce(e) {
|
|
113
113
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
114
114
|
}
|
|
115
|
-
var
|
|
115
|
+
var ar = { exports: {} };
|
|
116
116
|
/*!
|
|
117
117
|
Copyright (c) 2018 Jed Watson.
|
|
118
118
|
Licensed under the MIT License (MIT), see
|
|
119
119
|
http://jedwatson.github.io/classnames
|
|
120
120
|
*/
|
|
121
|
-
var
|
|
122
|
-
function
|
|
123
|
-
return
|
|
121
|
+
var ir;
|
|
122
|
+
function _e() {
|
|
123
|
+
return ir || (ir = 1, (function(e) {
|
|
124
124
|
(function() {
|
|
125
125
|
var o = {}.hasOwnProperty;
|
|
126
126
|
function a() {
|
|
@@ -149,10 +149,10 @@ function pe() {
|
|
|
149
149
|
}
|
|
150
150
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
151
151
|
})();
|
|
152
|
-
})(
|
|
152
|
+
})(ar)), ar.exports;
|
|
153
153
|
}
|
|
154
|
-
var
|
|
155
|
-
const
|
|
154
|
+
var fe = _e();
|
|
155
|
+
const or = /* @__PURE__ */ ce(fe), L = {
|
|
156
156
|
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
157
157
|
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
158
158
|
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
@@ -164,7 +164,7 @@ const tr = /* @__PURE__ */ ne(le), R = {
|
|
|
164
164
|
"purpur-badge--warning": "_purpur-badge--warning_1nup9_41",
|
|
165
165
|
"purpur-badge--error": "_purpur-badge--error_1nup9_45",
|
|
166
166
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1nup9_49"
|
|
167
|
-
},
|
|
167
|
+
}, P = "purpur-badge", g = {
|
|
168
168
|
ATTENTION: "attention",
|
|
169
169
|
BLACK_FRIDAY: "black-friday",
|
|
170
170
|
ERROR: "error",
|
|
@@ -174,29 +174,29 @@ const tr = /* @__PURE__ */ ne(le), R = {
|
|
|
174
174
|
SPECIAL: "special",
|
|
175
175
|
SUCCESS: "success",
|
|
176
176
|
WARNING: "warning"
|
|
177
|
-
},
|
|
177
|
+
}, he = (e) => {
|
|
178
178
|
switch (e) {
|
|
179
|
-
case
|
|
180
|
-
case
|
|
181
|
-
return
|
|
182
|
-
case
|
|
183
|
-
return
|
|
184
|
-
case
|
|
185
|
-
return
|
|
186
|
-
case
|
|
187
|
-
return Xr;
|
|
188
|
-
case m.WARNING:
|
|
189
|
-
return Jr;
|
|
190
|
-
case m.ERROR:
|
|
191
|
-
return ee;
|
|
192
|
-
case m.NEUTRAL:
|
|
193
|
-
return ie;
|
|
194
|
-
case m.BLACK_FRIDAY:
|
|
179
|
+
case g.ATTENTION:
|
|
180
|
+
case g.SPECIAL:
|
|
181
|
+
return ue;
|
|
182
|
+
case g.INFORMATION:
|
|
183
|
+
return le;
|
|
184
|
+
case g.GENERAL:
|
|
185
|
+
return ne;
|
|
186
|
+
case g.SUCCESS:
|
|
195
187
|
return oe;
|
|
188
|
+
case g.WARNING:
|
|
189
|
+
return ie;
|
|
190
|
+
case g.ERROR:
|
|
191
|
+
return pe;
|
|
192
|
+
case g.NEUTRAL:
|
|
193
|
+
return se;
|
|
194
|
+
case g.BLACK_FRIDAY:
|
|
195
|
+
return de;
|
|
196
196
|
default:
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
|
-
},
|
|
199
|
+
}, ge = ({
|
|
200
200
|
children: e,
|
|
201
201
|
showIcon: o = !0,
|
|
202
202
|
iconAllyTitle: a,
|
|
@@ -205,33 +205,33 @@ const tr = /* @__PURE__ */ ne(le), R = {
|
|
|
205
205
|
className: r = "",
|
|
206
206
|
...t
|
|
207
207
|
}) => {
|
|
208
|
-
const i =
|
|
208
|
+
const i = he(n), s = or([r, L[P], L[`${P}--${n}`]]);
|
|
209
209
|
return /* @__PURE__ */ _("span", { className: s, "data-testid": p, ...t, children: [
|
|
210
210
|
o && i && /* @__PURE__ */ l(
|
|
211
|
-
|
|
211
|
+
Nr,
|
|
212
212
|
{
|
|
213
213
|
"data-testid": `${p}-icon`,
|
|
214
214
|
allyTitle: a,
|
|
215
215
|
size: "xs",
|
|
216
216
|
svg: i,
|
|
217
|
-
className:
|
|
217
|
+
className: or(L[`${P}__icon`])
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
220
|
e
|
|
221
221
|
] });
|
|
222
222
|
};
|
|
223
|
-
function
|
|
223
|
+
function me(e) {
|
|
224
224
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
225
225
|
}
|
|
226
|
-
var
|
|
226
|
+
var nr = { exports: {} };
|
|
227
227
|
/*!
|
|
228
228
|
Copyright (c) 2018 Jed Watson.
|
|
229
229
|
Licensed under the MIT License (MIT), see
|
|
230
230
|
http://jedwatson.github.io/classnames
|
|
231
231
|
*/
|
|
232
|
-
var
|
|
233
|
-
function
|
|
234
|
-
return
|
|
232
|
+
var pr;
|
|
233
|
+
function ve() {
|
|
234
|
+
return pr || (pr = 1, (function(e) {
|
|
235
235
|
(function() {
|
|
236
236
|
var o = {}.hasOwnProperty;
|
|
237
237
|
function a() {
|
|
@@ -260,27 +260,27 @@ function ce() {
|
|
|
260
260
|
}
|
|
261
261
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
262
262
|
})();
|
|
263
|
-
})(
|
|
263
|
+
})(nr)), nr.exports;
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
const d = /* @__PURE__ */
|
|
265
|
+
var ye = ve();
|
|
266
|
+
const d = /* @__PURE__ */ me(ye), xe = {
|
|
267
267
|
"purpur-card__container--full-height": "_purpur-card__container--full-height_1ethe_1",
|
|
268
268
|
"purpur-card__container--use-container-queries": "_purpur-card__container--use-container-queries_1ethe_4",
|
|
269
269
|
"purpur-card": "_purpur-card_1ethe_1",
|
|
270
270
|
"purpur-card__container--use-media-queries": "_purpur-card__container--use-media-queries_1ethe_25"
|
|
271
271
|
};
|
|
272
|
-
function
|
|
272
|
+
function we(e) {
|
|
273
273
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
274
274
|
}
|
|
275
|
-
var
|
|
275
|
+
var lr = { exports: {} };
|
|
276
276
|
/*!
|
|
277
277
|
Copyright (c) 2018 Jed Watson.
|
|
278
278
|
Licensed under the MIT License (MIT), see
|
|
279
279
|
http://jedwatson.github.io/classnames
|
|
280
280
|
*/
|
|
281
|
-
var
|
|
282
|
-
function
|
|
283
|
-
return
|
|
281
|
+
var ur;
|
|
282
|
+
function be() {
|
|
283
|
+
return ur || (ur = 1, (function(e) {
|
|
284
284
|
(function() {
|
|
285
285
|
var o = {}.hasOwnProperty;
|
|
286
286
|
function a() {
|
|
@@ -309,10 +309,10 @@ function ge() {
|
|
|
309
309
|
}
|
|
310
310
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
311
311
|
})();
|
|
312
|
-
})(
|
|
312
|
+
})(lr)), lr.exports;
|
|
313
313
|
}
|
|
314
|
-
var
|
|
315
|
-
const
|
|
314
|
+
var Ce = be();
|
|
315
|
+
const Se = /* @__PURE__ */ we(Ce), $e = {
|
|
316
316
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
317
317
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
318
318
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -320,75 +320,75 @@ const ve = /* @__PURE__ */ he(me), ye = {
|
|
|
320
320
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
321
321
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
322
322
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
323
|
-
},
|
|
323
|
+
}, Fe = Se.bind($e), sr = "purpur-icon", Be = "md", Ae = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), Oe = ({ content: e = "", title: o } = {}) => {
|
|
324
324
|
const a = [
|
|
325
325
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
326
326
|
{ name: "fill", value: "currentColor" },
|
|
327
327
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
328
328
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
329
329
|
], n = o ? `<title>${o}</title>` : "";
|
|
330
|
-
return `<svg ${
|
|
331
|
-
},
|
|
332
|
-
const r =
|
|
333
|
-
content:
|
|
330
|
+
return `<svg ${Ae(a)}>${n}${e}</svg>`;
|
|
331
|
+
}, Me = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({ svg: e, allyTitle: o, className: a, size: n = Be, ...p }) => {
|
|
332
|
+
const r = Oe({
|
|
333
|
+
content: Me(e.svg),
|
|
334
334
|
title: o
|
|
335
|
-
}), t =
|
|
335
|
+
}), t = Fe(a, sr, `${sr}--${n}`);
|
|
336
336
|
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
337
337
|
};
|
|
338
|
-
|
|
339
|
-
const
|
|
338
|
+
kr.displayName = "Icon";
|
|
339
|
+
const Ge = {
|
|
340
340
|
name: "alert",
|
|
341
341
|
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>',
|
|
342
342
|
keywords: ["alert"],
|
|
343
343
|
category: "status"
|
|
344
|
-
},
|
|
344
|
+
}, Ne = {
|
|
345
345
|
name: "check-circle",
|
|
346
346
|
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>',
|
|
347
347
|
keywords: ["check-circle"],
|
|
348
348
|
category: "status"
|
|
349
|
-
},
|
|
349
|
+
}, ke = {
|
|
350
350
|
name: "devices",
|
|
351
351
|
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>',
|
|
352
352
|
keywords: ["devices"],
|
|
353
353
|
category: "device"
|
|
354
|
-
},
|
|
354
|
+
}, Ze = {
|
|
355
355
|
name: "error",
|
|
356
356
|
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>',
|
|
357
357
|
keywords: ["error"],
|
|
358
358
|
category: "status"
|
|
359
|
-
},
|
|
359
|
+
}, Ee = {
|
|
360
360
|
name: "info",
|
|
361
361
|
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>',
|
|
362
362
|
keywords: ["info"],
|
|
363
363
|
category: "status"
|
|
364
|
-
},
|
|
364
|
+
}, Ue = {
|
|
365
365
|
name: "offering",
|
|
366
366
|
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>',
|
|
367
367
|
keywords: ["offering"],
|
|
368
368
|
category: "other"
|
|
369
|
-
},
|
|
369
|
+
}, Ie = {
|
|
370
370
|
name: "question",
|
|
371
371
|
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>',
|
|
372
372
|
keywords: ["question"],
|
|
373
373
|
category: "status"
|
|
374
|
-
},
|
|
374
|
+
}, je = {
|
|
375
375
|
name: "tag",
|
|
376
376
|
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>',
|
|
377
377
|
keywords: ["tag"],
|
|
378
378
|
category: "other"
|
|
379
379
|
};
|
|
380
|
-
function
|
|
380
|
+
function De(e) {
|
|
381
381
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
382
382
|
}
|
|
383
|
-
var
|
|
383
|
+
var dr = { exports: {} };
|
|
384
384
|
/*!
|
|
385
385
|
Copyright (c) 2018 Jed Watson.
|
|
386
386
|
Licensed under the MIT License (MIT), see
|
|
387
387
|
http://jedwatson.github.io/classnames
|
|
388
388
|
*/
|
|
389
|
-
var
|
|
390
|
-
function
|
|
391
|
-
return
|
|
389
|
+
var cr;
|
|
390
|
+
function Re() {
|
|
391
|
+
return cr || (cr = 1, (function(e) {
|
|
392
392
|
(function() {
|
|
393
393
|
var o = {}.hasOwnProperty;
|
|
394
394
|
function a() {
|
|
@@ -417,10 +417,10 @@ function Ze() {
|
|
|
417
417
|
}
|
|
418
418
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
419
419
|
})();
|
|
420
|
-
})(
|
|
420
|
+
})(dr)), dr.exports;
|
|
421
421
|
}
|
|
422
|
-
var
|
|
423
|
-
const
|
|
422
|
+
var Le = Re();
|
|
423
|
+
const _r = /* @__PURE__ */ De(Le), H = {
|
|
424
424
|
"purpur-badge": "_purpur-badge_1nup9_1",
|
|
425
425
|
"purpur-badge__icon": "_purpur-badge__icon_1nup9_13",
|
|
426
426
|
"purpur-badge--attention": "_purpur-badge--attention_1nup9_17",
|
|
@@ -432,7 +432,7 @@ const sr = /* @__PURE__ */ ke(Ee), P = {
|
|
|
432
432
|
"purpur-badge--warning": "_purpur-badge--warning_1nup9_41",
|
|
433
433
|
"purpur-badge--error": "_purpur-badge--error_1nup9_45",
|
|
434
434
|
"purpur-badge--black-friday": "_purpur-badge--black-friday_1nup9_49"
|
|
435
|
-
},
|
|
435
|
+
}, T = "purpur-badge", m = {
|
|
436
436
|
ATTENTION: "attention",
|
|
437
437
|
BLACK_FRIDAY: "black-friday",
|
|
438
438
|
ERROR: "error",
|
|
@@ -442,29 +442,29 @@ const sr = /* @__PURE__ */ ke(Ee), P = {
|
|
|
442
442
|
SPECIAL: "special",
|
|
443
443
|
SUCCESS: "success",
|
|
444
444
|
WARNING: "warning"
|
|
445
|
-
},
|
|
445
|
+
}, Pe = (e) => {
|
|
446
446
|
switch (e) {
|
|
447
|
-
case
|
|
448
|
-
case
|
|
449
|
-
return
|
|
450
|
-
case
|
|
451
|
-
return
|
|
452
|
-
case
|
|
453
|
-
return
|
|
454
|
-
case
|
|
455
|
-
return Fe;
|
|
456
|
-
case v.WARNING:
|
|
457
|
-
return $e;
|
|
458
|
-
case v.ERROR:
|
|
459
|
-
return Ae;
|
|
460
|
-
case v.NEUTRAL:
|
|
461
|
-
return Ge;
|
|
462
|
-
case v.BLACK_FRIDAY:
|
|
447
|
+
case m.ATTENTION:
|
|
448
|
+
case m.SPECIAL:
|
|
449
|
+
return Ue;
|
|
450
|
+
case m.INFORMATION:
|
|
451
|
+
return Ee;
|
|
452
|
+
case m.GENERAL:
|
|
453
|
+
return ke;
|
|
454
|
+
case m.SUCCESS:
|
|
463
455
|
return Ne;
|
|
456
|
+
case m.WARNING:
|
|
457
|
+
return Ge;
|
|
458
|
+
case m.ERROR:
|
|
459
|
+
return Ze;
|
|
460
|
+
case m.NEUTRAL:
|
|
461
|
+
return Ie;
|
|
462
|
+
case m.BLACK_FRIDAY:
|
|
463
|
+
return je;
|
|
464
464
|
default:
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
|
-
},
|
|
467
|
+
}, He = ({
|
|
468
468
|
children: e,
|
|
469
469
|
showIcon: o = !0,
|
|
470
470
|
iconAllyTitle: a,
|
|
@@ -473,43 +473,43 @@ const sr = /* @__PURE__ */ ke(Ee), P = {
|
|
|
473
473
|
className: r = "",
|
|
474
474
|
...t
|
|
475
475
|
}) => {
|
|
476
|
-
const i =
|
|
476
|
+
const i = Pe(n), s = _r([r, H[T], H[`${T}--${n}`]]);
|
|
477
477
|
return /* @__PURE__ */ _("span", { className: s, "data-testid": p, ...t, children: [
|
|
478
478
|
o && i && /* @__PURE__ */ l(
|
|
479
|
-
|
|
479
|
+
kr,
|
|
480
480
|
{
|
|
481
481
|
"data-testid": `${p}-icon`,
|
|
482
482
|
allyTitle: a,
|
|
483
483
|
size: "xs",
|
|
484
484
|
svg: i,
|
|
485
|
-
className:
|
|
485
|
+
className: _r(H[`${T}__icon`])
|
|
486
486
|
}
|
|
487
487
|
),
|
|
488
488
|
e
|
|
489
489
|
] });
|
|
490
|
-
},
|
|
490
|
+
}, Te = {
|
|
491
491
|
"purpur-card-badge": "_purpur-card-badge_k9ziu_1"
|
|
492
|
-
},
|
|
492
|
+
}, qe = d.bind(Te), Ve = "purpur-card-badge", ze = ({
|
|
493
493
|
["data-testid"]: e = "purpur-card-badge",
|
|
494
494
|
variant: o,
|
|
495
495
|
text: a
|
|
496
496
|
}) => o && a ? /* @__PURE__ */ l(
|
|
497
|
-
|
|
497
|
+
He,
|
|
498
498
|
{
|
|
499
|
-
className:
|
|
499
|
+
className: qe(Ve),
|
|
500
500
|
variant: o,
|
|
501
501
|
showIcon: !1,
|
|
502
502
|
"data-testid": e,
|
|
503
503
|
children: a
|
|
504
504
|
}
|
|
505
|
-
) : null,
|
|
505
|
+
) : null, We = {
|
|
506
506
|
"purpur-card-content": "_purpur-card-content_2uc00_1"
|
|
507
|
-
},
|
|
507
|
+
}, Ke = d.bind(We), Ye = "purpur-card-content", Qe = ({
|
|
508
508
|
["data-testid"]: e = "purpur-card-content",
|
|
509
509
|
children: o,
|
|
510
510
|
className: a,
|
|
511
511
|
...n
|
|
512
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
512
|
+
}) => /* @__PURE__ */ l("div", { className: Ke(Ye, a), "data-testid": e, ...n, children: o }), Je = {
|
|
513
513
|
"purpur-card-content-container": "_purpur-card-content-container_2oha5_1",
|
|
514
514
|
"purpur-card-content-container--full-height": "_purpur-card-content-container--full-height_2oha5_6",
|
|
515
515
|
"purpur-card-content-container--footer": "_purpur-card-content-container--footer_2oha5_21",
|
|
@@ -517,7 +517,7 @@ const sr = /* @__PURE__ */ ke(Ee), P = {
|
|
|
517
517
|
"purpur-card-content-container--gap-size--md": "_purpur-card-content-container--gap-size--md_2oha5_39",
|
|
518
518
|
"purpur-card-content-container--gap-size--lg": "_purpur-card-content-container--gap-size--lg_2oha5_42",
|
|
519
519
|
"purpur-card-content-container--gap-size--xl": "_purpur-card-content-container--gap-size--xl_2oha5_45"
|
|
520
|
-
},
|
|
520
|
+
}, Xe = d.bind(Je), O = "purpur-card-content-container", rt = ({
|
|
521
521
|
["data-testid"]: e = "purpur-card-content-container",
|
|
522
522
|
children: o,
|
|
523
523
|
className: a,
|
|
@@ -528,7 +528,7 @@ const sr = /* @__PURE__ */ ke(Ee), P = {
|
|
|
528
528
|
}) => /* @__PURE__ */ l(
|
|
529
529
|
"div",
|
|
530
530
|
{
|
|
531
|
-
className:
|
|
531
|
+
className: Xe([
|
|
532
532
|
O,
|
|
533
533
|
a,
|
|
534
534
|
`${O}--gap-size--${r}`,
|
|
@@ -542,18 +542,18 @@ const sr = /* @__PURE__ */ ke(Ee), P = {
|
|
|
542
542
|
children: o
|
|
543
543
|
}
|
|
544
544
|
);
|
|
545
|
-
function
|
|
545
|
+
function et(e) {
|
|
546
546
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
547
547
|
}
|
|
548
|
-
var
|
|
548
|
+
var fr = { exports: {} };
|
|
549
549
|
/*!
|
|
550
550
|
Copyright (c) 2018 Jed Watson.
|
|
551
551
|
Licensed under the MIT License (MIT), see
|
|
552
552
|
http://jedwatson.github.io/classnames
|
|
553
553
|
*/
|
|
554
|
-
var
|
|
555
|
-
function
|
|
556
|
-
return
|
|
554
|
+
var hr;
|
|
555
|
+
function tt() {
|
|
556
|
+
return hr || (hr = 1, (function(e) {
|
|
557
557
|
(function() {
|
|
558
558
|
var o = {}.hasOwnProperty;
|
|
559
559
|
function a() {
|
|
@@ -582,40 +582,40 @@ function Ye() {
|
|
|
582
582
|
}
|
|
583
583
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
584
584
|
})();
|
|
585
|
-
})(
|
|
585
|
+
})(fr)), fr.exports;
|
|
586
586
|
}
|
|
587
|
-
var
|
|
588
|
-
const
|
|
587
|
+
var at = tt();
|
|
588
|
+
const it = /* @__PURE__ */ et(at), ot = "_rotate_12t9p_1", nt = "_dash_12t9p_1", pt = {
|
|
589
589
|
"purpur-spinner": "_purpur-spinner_12t9p_2",
|
|
590
|
-
rotate:
|
|
590
|
+
rotate: ot,
|
|
591
591
|
"purpur-spinner--xxs": "_purpur-spinner--xxs_12t9p_6",
|
|
592
592
|
"purpur-spinner--xs": "_purpur-spinner--xs_12t9p_10",
|
|
593
593
|
"purpur-spinner--sm": "_purpur-spinner--sm_12t9p_14",
|
|
594
594
|
"purpur-spinner--md": "_purpur-spinner--md_12t9p_18",
|
|
595
595
|
"purpur-spinner--lg": "_purpur-spinner--lg_12t9p_22",
|
|
596
596
|
"purpur-spinner__circle": "_purpur-spinner__circle_12t9p_26",
|
|
597
|
-
dash:
|
|
597
|
+
dash: nt,
|
|
598
598
|
"purpur-spinner__circle--disabled": "_purpur-spinner__circle--disabled_12t9p_41",
|
|
599
599
|
"purpur-spinner__circle--negative": "_purpur-spinner__circle--negative_12t9p_44"
|
|
600
|
-
},
|
|
600
|
+
}, gr = it.bind(pt), S = "purpur-spinner", lt = {
|
|
601
601
|
SM: "sm"
|
|
602
|
-
},
|
|
602
|
+
}, ut = ({
|
|
603
603
|
disabled: e = !1,
|
|
604
604
|
negative: o = !1,
|
|
605
|
-
size: a =
|
|
605
|
+
size: a = lt.SM,
|
|
606
606
|
...n
|
|
607
|
-
}) => /* @__PURE__ */ l("div", { className:
|
|
607
|
+
}) => /* @__PURE__ */ l("div", { className: gr(S, `${S}--${a}`), ...n, children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
|
|
608
608
|
"circle",
|
|
609
609
|
{
|
|
610
|
-
className:
|
|
611
|
-
[`${
|
|
612
|
-
[`${
|
|
610
|
+
className: gr(`${S}__circle`, {
|
|
611
|
+
[`${S}__circle--disabled`]: e,
|
|
612
|
+
[`${S}__circle--negative`]: o
|
|
613
613
|
}),
|
|
614
614
|
cx: "25",
|
|
615
615
|
cy: "25",
|
|
616
616
|
r: "20"
|
|
617
617
|
}
|
|
618
|
-
) }) }),
|
|
618
|
+
) }) }), st = {
|
|
619
619
|
"purpur-card-cta--button-styling": "_purpur-card-cta--button-styling_1xiey_1",
|
|
620
620
|
"purpur-card-cta--button-styling--xs": "_purpur-card-cta--button-styling--xs_1xiey_33",
|
|
621
621
|
"purpur-card-cta--button-styling--icon-only": "_purpur-card-cta--button-styling--icon-only_1xiey_36",
|
|
@@ -634,7 +634,7 @@ const Je = /* @__PURE__ */ Ke(Qe), Xe = "_rotate_12t9p_1", rt = "_dash_12t9p_1",
|
|
|
634
634
|
"purpur-card-cta--secondary": "_purpur-card-cta--secondary_1xiey_131",
|
|
635
635
|
"purpur-card-cta--disabled": "_purpur-card-cta--disabled_1xiey_131",
|
|
636
636
|
"purpur-card-cta--text": "_purpur-card-cta--text_1xiey_139"
|
|
637
|
-
},
|
|
637
|
+
}, dt = d.bind(st), v = "purpur-card-cta", ct = ({
|
|
638
638
|
["data-testid"]: e = "purpur-card-cta",
|
|
639
639
|
className: o,
|
|
640
640
|
children: a,
|
|
@@ -647,40 +647,40 @@ const Je = /* @__PURE__ */ Ke(Qe), Xe = "_rotate_12t9p_1", rt = "_dash_12t9p_1",
|
|
|
647
647
|
}) => /* @__PURE__ */ l(
|
|
648
648
|
"div",
|
|
649
649
|
{
|
|
650
|
-
className: `${
|
|
651
|
-
|
|
650
|
+
className: `${dt([
|
|
651
|
+
v,
|
|
652
652
|
o,
|
|
653
653
|
{
|
|
654
|
-
[`${
|
|
655
|
-
[`${
|
|
656
|
-
[`${
|
|
657
|
-
[`${
|
|
658
|
-
[`${
|
|
659
|
-
[`${
|
|
660
|
-
[`${
|
|
654
|
+
[`${v}--disabled`]: n,
|
|
655
|
+
[`${v}--text`]: !!t,
|
|
656
|
+
[`${v}--cta-styling`]: i,
|
|
657
|
+
[`${v}--button-styling`]: !i,
|
|
658
|
+
[`${v}--button-styling--md`]: !i,
|
|
659
|
+
[`${v}--button-styling--secondary`]: !i,
|
|
660
|
+
[`${v}--button-styling--icon-only`]: !i && !t
|
|
661
661
|
}
|
|
662
|
-
])} ${
|
|
662
|
+
])} ${v}`,
|
|
663
663
|
"data-testid": e,
|
|
664
664
|
...s,
|
|
665
|
-
children: r ? /* @__PURE__ */ l(
|
|
665
|
+
children: r ? /* @__PURE__ */ l(ut, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ _(Tr, { children: [
|
|
666
666
|
p === "left" && a,
|
|
667
667
|
t,
|
|
668
668
|
p === "right" && a
|
|
669
669
|
] })
|
|
670
670
|
}
|
|
671
671
|
);
|
|
672
|
-
function
|
|
672
|
+
function _t(e) {
|
|
673
673
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
674
674
|
}
|
|
675
|
-
var
|
|
675
|
+
var mr = { exports: {} };
|
|
676
676
|
/*!
|
|
677
677
|
Copyright (c) 2018 Jed Watson.
|
|
678
678
|
Licensed under the MIT License (MIT), see
|
|
679
679
|
http://jedwatson.github.io/classnames
|
|
680
680
|
*/
|
|
681
|
-
var
|
|
682
|
-
function
|
|
683
|
-
return
|
|
681
|
+
var vr;
|
|
682
|
+
function ft() {
|
|
683
|
+
return vr || (vr = 1, (function(e) {
|
|
684
684
|
(function() {
|
|
685
685
|
var o = {}.hasOwnProperty;
|
|
686
686
|
function a() {
|
|
@@ -709,10 +709,10 @@ function lt() {
|
|
|
709
709
|
}
|
|
710
710
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
711
711
|
})();
|
|
712
|
-
})(
|
|
712
|
+
})(mr)), mr.exports;
|
|
713
713
|
}
|
|
714
|
-
var
|
|
715
|
-
const
|
|
714
|
+
var ht = ft();
|
|
715
|
+
const gt = /* @__PURE__ */ _t(ht), mt = {
|
|
716
716
|
"purpur-icon": "_purpur-icon_8u1lq_1",
|
|
717
717
|
"purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
|
|
718
718
|
"purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
|
|
@@ -720,41 +720,41 @@ const st = /* @__PURE__ */ pt(ut), dt = {
|
|
|
720
720
|
"purpur-icon--md": "_purpur-icon--md_8u1lq_16",
|
|
721
721
|
"purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
|
|
722
722
|
"purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
|
|
723
|
-
},
|
|
723
|
+
}, vt = gt.bind(mt), yr = "purpur-icon", yt = "md", xt = (e) => e.filter((o) => Object.keys(o).length >= 1).map((o) => `${o.name}="${o.value}"`).join(" "), wt = ({ content: e = "", title: o } = {}) => {
|
|
724
724
|
const a = [
|
|
725
725
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
726
726
|
{ name: "fill", value: "currentColor" },
|
|
727
727
|
{ name: "viewBox", value: "0 0 24 24" },
|
|
728
728
|
o ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
|
|
729
729
|
], n = o ? `<title>${o}</title>` : "";
|
|
730
|
-
return `<svg ${
|
|
731
|
-
},
|
|
732
|
-
const r =
|
|
733
|
-
content:
|
|
730
|
+
return `<svg ${xt(a)}>${n}${e}</svg>`;
|
|
731
|
+
}, bt = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Zr = ({ svg: e, allyTitle: o, className: a, size: n = yt, ...p }) => {
|
|
732
|
+
const r = wt({
|
|
733
|
+
content: bt(e.svg),
|
|
734
734
|
title: o
|
|
735
|
-
}), t =
|
|
735
|
+
}), t = vt(a, yr, `${yr}--${n}`);
|
|
736
736
|
return /* @__PURE__ */ l("span", { className: t, dangerouslySetInnerHTML: { __html: r }, ...p });
|
|
737
737
|
};
|
|
738
|
-
|
|
739
|
-
const
|
|
738
|
+
Zr.displayName = "Icon";
|
|
739
|
+
const Ct = {
|
|
740
740
|
name: "checkmark",
|
|
741
741
|
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>',
|
|
742
742
|
keywords: ["checkmark"],
|
|
743
743
|
category: "utility"
|
|
744
|
-
},
|
|
745
|
-
|
|
746
|
-
function
|
|
744
|
+
}, Er = (e) => /* @__PURE__ */ l(Zr, { ...e, svg: Ct });
|
|
745
|
+
Er.displayName = "IconCheckmark";
|
|
746
|
+
function St(e) {
|
|
747
747
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
748
748
|
}
|
|
749
|
-
var
|
|
749
|
+
var xr = { exports: {} };
|
|
750
750
|
/*!
|
|
751
751
|
Copyright (c) 2018 Jed Watson.
|
|
752
752
|
Licensed under the MIT License (MIT), see
|
|
753
753
|
http://jedwatson.github.io/classnames
|
|
754
754
|
*/
|
|
755
|
-
var
|
|
756
|
-
function
|
|
757
|
-
return
|
|
755
|
+
var wr;
|
|
756
|
+
function $t() {
|
|
757
|
+
return wr || (wr = 1, (function(e) {
|
|
758
758
|
(function() {
|
|
759
759
|
var o = {}.hasOwnProperty;
|
|
760
760
|
function a() {
|
|
@@ -783,10 +783,10 @@ function yt() {
|
|
|
783
783
|
}
|
|
784
784
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
785
785
|
})();
|
|
786
|
-
})(
|
|
786
|
+
})(xr)), xr.exports;
|
|
787
787
|
}
|
|
788
|
-
var
|
|
789
|
-
const
|
|
788
|
+
var Ft = $t();
|
|
789
|
+
const Bt = /* @__PURE__ */ St(Ft), At = {
|
|
790
790
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
791
791
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
792
792
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -801,56 +801,56 @@ const wt = /* @__PURE__ */ vt(xt), bt = {
|
|
|
801
801
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
802
802
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
803
803
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
804
|
-
},
|
|
804
|
+
}, Ot = Bt.bind(At), Mt = {
|
|
805
805
|
PARAGRAPH100: "paragraph-100"
|
|
806
|
-
},
|
|
806
|
+
}, $ = "purpur-paragraph", Q = ({
|
|
807
807
|
children: e,
|
|
808
808
|
className: o,
|
|
809
809
|
disabled: a,
|
|
810
810
|
enableHyphenation: n = !1,
|
|
811
811
|
negative: p = !1,
|
|
812
|
-
variant: r =
|
|
812
|
+
variant: r = Mt.PARAGRAPH100,
|
|
813
813
|
...t
|
|
814
814
|
}) => {
|
|
815
|
-
const i =
|
|
816
|
-
[`${
|
|
817
|
-
[`${
|
|
818
|
-
[`${
|
|
815
|
+
const i = Ot(o, $, `${$}--${r}`, {
|
|
816
|
+
[`${$}--hyphens`]: n,
|
|
817
|
+
[`${$}--disabled`]: a,
|
|
818
|
+
[`${$}--negative`]: p
|
|
819
819
|
});
|
|
820
820
|
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
821
821
|
};
|
|
822
|
-
|
|
823
|
-
const
|
|
822
|
+
Q.displayName = "Paragraph";
|
|
823
|
+
const Gt = {
|
|
824
824
|
"purpur-card-feature-list": "_purpur-card-feature-list_1hnss_1",
|
|
825
825
|
"purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_1hnss_7",
|
|
826
826
|
"purpur-card-feature-list__icon": "_purpur-card-feature-list__icon_1hnss_12"
|
|
827
|
-
}, q = d.bind(
|
|
827
|
+
}, q = d.bind(Gt), V = "purpur-card-feature-list", Nt = ({
|
|
828
828
|
["data-testid"]: e = "purpur-card-feature-list",
|
|
829
829
|
listItems: o
|
|
830
|
-
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: q(
|
|
830
|
+
}) => o && o.length > 0 ? /* @__PURE__ */ l("ul", { className: q(V), "data-testid": e, children: o.map((a) => /* @__PURE__ */ _(
|
|
831
831
|
"li",
|
|
832
832
|
{
|
|
833
|
-
className: q(`${
|
|
833
|
+
className: q(`${V}__list-item`),
|
|
834
834
|
"data-testid": `${e}-item`,
|
|
835
835
|
children: [
|
|
836
|
-
/* @__PURE__ */ l(
|
|
837
|
-
/* @__PURE__ */ l(
|
|
836
|
+
/* @__PURE__ */ l(Er, { size: "xs", className: q(`${V}__icon`) }),
|
|
837
|
+
/* @__PURE__ */ l(Q, { children: a })
|
|
838
838
|
]
|
|
839
839
|
},
|
|
840
840
|
a
|
|
841
841
|
)) }) : null;
|
|
842
|
-
function
|
|
842
|
+
function kt(e) {
|
|
843
843
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
844
844
|
}
|
|
845
|
-
var
|
|
845
|
+
var br = { exports: {} };
|
|
846
846
|
/*!
|
|
847
847
|
Copyright (c) 2018 Jed Watson.
|
|
848
848
|
Licensed under the MIT License (MIT), see
|
|
849
849
|
http://jedwatson.github.io/classnames
|
|
850
850
|
*/
|
|
851
|
-
var
|
|
852
|
-
function
|
|
853
|
-
return
|
|
851
|
+
var Cr;
|
|
852
|
+
function Zt() {
|
|
853
|
+
return Cr || (Cr = 1, (function(e) {
|
|
854
854
|
(function() {
|
|
855
855
|
var o = {}.hasOwnProperty;
|
|
856
856
|
function a() {
|
|
@@ -879,10 +879,10 @@ function At() {
|
|
|
879
879
|
}
|
|
880
880
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
881
881
|
})();
|
|
882
|
-
})(
|
|
882
|
+
})(br)), br.exports;
|
|
883
883
|
}
|
|
884
|
-
var
|
|
885
|
-
const
|
|
884
|
+
var Et = Zt();
|
|
885
|
+
const Ut = /* @__PURE__ */ kt(Et), M = {
|
|
886
886
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
887
887
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
888
888
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -902,18 +902,18 @@ const Mt = /* @__PURE__ */ Bt(Ot), M = {
|
|
|
902
902
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
903
903
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
904
904
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
905
|
-
},
|
|
905
|
+
}, It = {
|
|
906
906
|
TITLE100: "title-100"
|
|
907
|
-
}, G = "purpur-heading",
|
|
907
|
+
}, G = "purpur-heading", Ur = ({
|
|
908
908
|
children: e,
|
|
909
909
|
className: o = "",
|
|
910
910
|
enableHyphenation: a = !1,
|
|
911
911
|
negative: n = !1,
|
|
912
912
|
tag: p,
|
|
913
|
-
variant: r =
|
|
913
|
+
variant: r = It.TITLE100,
|
|
914
914
|
...t
|
|
915
915
|
}) => {
|
|
916
|
-
const i = p, s =
|
|
916
|
+
const i = p, s = Ut([
|
|
917
917
|
o,
|
|
918
918
|
M[G],
|
|
919
919
|
M[`${G}--${r}`],
|
|
@@ -924,18 +924,18 @@ const Mt = /* @__PURE__ */ Bt(Ot), M = {
|
|
|
924
924
|
]);
|
|
925
925
|
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
926
926
|
};
|
|
927
|
-
|
|
928
|
-
const
|
|
927
|
+
Ur.displayName = "Heading";
|
|
928
|
+
const jt = {
|
|
929
929
|
"purpur-card-heading": "_purpur-card-heading_j3j6u_1",
|
|
930
930
|
"purpur-card-heading__header": "_purpur-card-heading__header_j3j6u_6",
|
|
931
931
|
"purpur-card-heading__heading": "_purpur-card-heading__heading_j3j6u_11",
|
|
932
932
|
"purpur-card-heading__icon": "_purpur-card-heading__icon_j3j6u_14"
|
|
933
|
-
},
|
|
933
|
+
}, Dt = {
|
|
934
934
|
"purpur-card-trigger-item--link": "_purpur-card-trigger-item--link_t6ena_1",
|
|
935
935
|
"purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_t6ena_5",
|
|
936
936
|
"purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_t6ena_18",
|
|
937
937
|
"purpur-card-trigger-item": "_purpur-card-trigger-item_t6ena_1"
|
|
938
|
-
},
|
|
938
|
+
}, Sr = d.bind(Dt), y = "purpur-card-trigger-item", Rt = ({
|
|
939
939
|
["data-testid"]: e = "purpur-card-trigger-item",
|
|
940
940
|
["aria-label"]: o,
|
|
941
941
|
disabled: a = !1,
|
|
@@ -944,19 +944,19 @@ const Nt = {
|
|
|
944
944
|
children: r,
|
|
945
945
|
linkElement: t = "a"
|
|
946
946
|
}) => {
|
|
947
|
-
const i = (
|
|
948
|
-
a ?
|
|
949
|
-
}, s = `${
|
|
947
|
+
const i = (x) => {
|
|
948
|
+
a ? x.preventDefault() : p && p();
|
|
949
|
+
}, s = `${y} ${a ? `${y}--disabled` : ""}`;
|
|
950
950
|
return n ? /* @__PURE__ */ l(
|
|
951
951
|
t,
|
|
952
952
|
{
|
|
953
953
|
"aria-disabled": a,
|
|
954
954
|
"aria-label": o,
|
|
955
|
-
className: `${
|
|
956
|
-
|
|
957
|
-
`${
|
|
955
|
+
className: `${Sr([
|
|
956
|
+
y,
|
|
957
|
+
`${y}--link`,
|
|
958
958
|
{
|
|
959
|
-
[`${
|
|
959
|
+
[`${y}--disabled`]: a
|
|
960
960
|
}
|
|
961
961
|
])} ${s}`,
|
|
962
962
|
"data-testid": e,
|
|
@@ -970,11 +970,11 @@ const Nt = {
|
|
|
970
970
|
{
|
|
971
971
|
"aria-disabled": a,
|
|
972
972
|
"aria-label": o,
|
|
973
|
-
className: `${
|
|
974
|
-
|
|
975
|
-
`${
|
|
973
|
+
className: `${Sr([
|
|
974
|
+
y,
|
|
975
|
+
`${y}--button`,
|
|
976
976
|
{
|
|
977
|
-
[`${
|
|
977
|
+
[`${y}--disabled`]: a
|
|
978
978
|
}
|
|
979
979
|
])} ${s}`,
|
|
980
980
|
"data-testid": e,
|
|
@@ -983,7 +983,7 @@ const Nt = {
|
|
|
983
983
|
children: r
|
|
984
984
|
}
|
|
985
985
|
);
|
|
986
|
-
}, N = d.bind(
|
|
986
|
+
}, N = d.bind(jt), C = "purpur-card-heading", Lt = ({
|
|
987
987
|
["data-testid"]: e = "purpur-card-heading",
|
|
988
988
|
["aria-label"]: o,
|
|
989
989
|
title: a,
|
|
@@ -993,31 +993,31 @@ const Nt = {
|
|
|
993
993
|
enableHyphenation: t,
|
|
994
994
|
onClick: i = void 0,
|
|
995
995
|
href: s = void 0,
|
|
996
|
-
disabled:
|
|
996
|
+
disabled: x = !1,
|
|
997
997
|
linkElement: E = "a",
|
|
998
998
|
variant: U = "title-100",
|
|
999
999
|
...I
|
|
1000
1000
|
}) => {
|
|
1001
|
-
const
|
|
1002
|
-
[`${
|
|
1003
|
-
[`${
|
|
1001
|
+
const A = N(C, {
|
|
1002
|
+
[`${C}--is-interactive`]: i || s,
|
|
1003
|
+
[`${C}--disabled`]: x
|
|
1004
1004
|
});
|
|
1005
|
-
return /* @__PURE__ */ _("div", { className:
|
|
1006
|
-
/* @__PURE__ */ _("div", { className: N(`${
|
|
1007
|
-
n && /* @__PURE__ */ l("div", { className: N(`${
|
|
1005
|
+
return /* @__PURE__ */ _("div", { className: A, "data-testid": e, children: [
|
|
1006
|
+
/* @__PURE__ */ _("div", { className: N(`${C}__header`), children: [
|
|
1007
|
+
n && /* @__PURE__ */ l("div", { className: N(`${C}__icon`), children: n }),
|
|
1008
1008
|
/* @__PURE__ */ l(
|
|
1009
|
-
|
|
1009
|
+
Ur,
|
|
1010
1010
|
{
|
|
1011
1011
|
tag: r,
|
|
1012
|
-
className: N(`${
|
|
1012
|
+
className: N(`${C}__heading`),
|
|
1013
1013
|
variant: U,
|
|
1014
1014
|
enableHyphenation: t,
|
|
1015
1015
|
...I,
|
|
1016
1016
|
children: i || s ? /* @__PURE__ */ l(
|
|
1017
|
-
|
|
1017
|
+
Rt,
|
|
1018
1018
|
{
|
|
1019
1019
|
"aria-label": o,
|
|
1020
|
-
disabled:
|
|
1020
|
+
disabled: x,
|
|
1021
1021
|
href: s,
|
|
1022
1022
|
onClick: i,
|
|
1023
1023
|
linkElement: E,
|
|
@@ -1029,17 +1029,17 @@ const Nt = {
|
|
|
1029
1029
|
] }),
|
|
1030
1030
|
p
|
|
1031
1031
|
] });
|
|
1032
|
-
},
|
|
1032
|
+
}, Pt = {
|
|
1033
1033
|
"purpur-card-media": "_purpur-card-media_1om4o_1"
|
|
1034
|
-
},
|
|
1034
|
+
}, Ht = d.bind(Pt), Tt = "purpur-card-media", qt = ({
|
|
1035
1035
|
["data-testid"]: e = "purpur-card-media",
|
|
1036
1036
|
className: o,
|
|
1037
1037
|
children: a,
|
|
1038
1038
|
...n
|
|
1039
|
-
}) => /* @__PURE__ */ l("div", { ...n, className:
|
|
1039
|
+
}) => /* @__PURE__ */ l("div", { ...n, className: Ht([Tt, o]), "data-testid": e, children: a }), Vt = {
|
|
1040
1040
|
"purpur-card-media-layout": "_purpur-card-media-layout_h3935_1",
|
|
1041
1041
|
"purpur-card-media-layout--image-top": "_purpur-card-media-layout--image-top_h3935_11"
|
|
1042
|
-
},
|
|
1042
|
+
}, zt = d.bind(Vt), $r = "purpur-card-media-layout", Wt = ({
|
|
1043
1043
|
["data-testid"]: e = "purpur-card-media-layout",
|
|
1044
1044
|
className: o,
|
|
1045
1045
|
children: a,
|
|
@@ -1049,21 +1049,21 @@ const Nt = {
|
|
|
1049
1049
|
"div",
|
|
1050
1050
|
{
|
|
1051
1051
|
...p,
|
|
1052
|
-
className:
|
|
1052
|
+
className: zt($r, o, { [`${$r}--image-top`]: n }),
|
|
1053
1053
|
"data-testid": e,
|
|
1054
1054
|
children: a
|
|
1055
1055
|
}
|
|
1056
|
-
),
|
|
1056
|
+
), Kt = {
|
|
1057
1057
|
"purpur-card-overline": "_purpur-card-overline_qhfj0_1"
|
|
1058
|
-
},
|
|
1058
|
+
}, Yt = d.bind(Kt), Qt = "purpur-card-overline", Jt = ({
|
|
1059
1059
|
["data-testid"]: e = "purpur-card-overline",
|
|
1060
1060
|
overline: o
|
|
1061
|
-
}) => o ? /* @__PURE__ */ l(
|
|
1061
|
+
}) => o ? /* @__PURE__ */ l(Q, { variant: "overline-100", className: Yt(Qt), "data-testid": e, children: o }) : null, Xt = {
|
|
1062
1062
|
"purpur-card-root": "_purpur-card-root_eupww_1",
|
|
1063
1063
|
"purpur-card-root--primary": "_purpur-card-root--primary_eupww_7",
|
|
1064
1064
|
"purpur-card-root--secondary": "_purpur-card-root--secondary_eupww_10",
|
|
1065
1065
|
"purpur-card-root--full-height": "_purpur-card-root--full-height_eupww_13"
|
|
1066
|
-
},
|
|
1066
|
+
}, r0 = d.bind(Xt), z = "purpur-card-root", Ir = Gr(
|
|
1067
1067
|
({
|
|
1068
1068
|
["data-testid"]: e = "purpur-card-root",
|
|
1069
1069
|
children: o,
|
|
@@ -1072,54 +1072,54 @@ const Nt = {
|
|
|
1072
1072
|
variant: p,
|
|
1073
1073
|
...r
|
|
1074
1074
|
}, t) => {
|
|
1075
|
-
const i =
|
|
1076
|
-
|
|
1075
|
+
const i = r0([
|
|
1076
|
+
z,
|
|
1077
1077
|
a,
|
|
1078
1078
|
{
|
|
1079
|
-
[`${
|
|
1080
|
-
[`${
|
|
1079
|
+
[`${z}--${p}`]: p,
|
|
1080
|
+
[`${z}--full-height`]: n
|
|
1081
1081
|
}
|
|
1082
1082
|
]);
|
|
1083
1083
|
return /* @__PURE__ */ l("div", { className: i, "data-testid": e, ref: t, ...r, children: o });
|
|
1084
1084
|
}
|
|
1085
1085
|
);
|
|
1086
|
-
|
|
1087
|
-
const
|
|
1088
|
-
const p =
|
|
1086
|
+
Ir.displayName = "CardRoot";
|
|
1087
|
+
const W = d.bind(xe), F = "purpur-card", f = ({ children: e, className: o, useMediaQueries: a, ...n }) => {
|
|
1088
|
+
const p = W([F, o]);
|
|
1089
1089
|
return /* @__PURE__ */ l(
|
|
1090
1090
|
"div",
|
|
1091
1091
|
{
|
|
1092
|
-
className:
|
|
1093
|
-
[`${
|
|
1094
|
-
[`${
|
|
1095
|
-
[`${
|
|
1092
|
+
className: W(`${F}__container`, {
|
|
1093
|
+
[`${F}__container--full-height`]: n.fullHeight,
|
|
1094
|
+
[`${F}__container--use-container-queries`]: !a,
|
|
1095
|
+
[`${F}__container--use-media-queries`]: a
|
|
1096
1096
|
}),
|
|
1097
|
-
children: /* @__PURE__ */ l(
|
|
1097
|
+
children: /* @__PURE__ */ l(Ir, { className: W(p), ...n, children: e })
|
|
1098
1098
|
}
|
|
1099
1099
|
);
|
|
1100
1100
|
};
|
|
1101
|
-
f.Badge =
|
|
1102
|
-
f.Content =
|
|
1103
|
-
f.ContentContainer =
|
|
1104
|
-
f.Cta =
|
|
1105
|
-
f.FeatureList =
|
|
1106
|
-
f.Overline =
|
|
1107
|
-
f.Heading =
|
|
1108
|
-
f.Media =
|
|
1109
|
-
f.MediaLayout =
|
|
1101
|
+
f.Badge = ze;
|
|
1102
|
+
f.Content = Qe;
|
|
1103
|
+
f.ContentContainer = rt;
|
|
1104
|
+
f.Cta = ct;
|
|
1105
|
+
f.FeatureList = Nt;
|
|
1106
|
+
f.Overline = Jt;
|
|
1107
|
+
f.Heading = Lt;
|
|
1108
|
+
f.Media = qt;
|
|
1109
|
+
f.MediaLayout = Wt;
|
|
1110
1110
|
f.displayName = "Card";
|
|
1111
|
-
function
|
|
1111
|
+
function e0(e) {
|
|
1112
1112
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1113
1113
|
}
|
|
1114
|
-
var
|
|
1114
|
+
var Fr = { exports: {} };
|
|
1115
1115
|
/*!
|
|
1116
1116
|
Copyright (c) 2018 Jed Watson.
|
|
1117
1117
|
Licensed under the MIT License (MIT), see
|
|
1118
1118
|
http://jedwatson.github.io/classnames
|
|
1119
1119
|
*/
|
|
1120
|
-
var
|
|
1121
|
-
function
|
|
1122
|
-
return
|
|
1120
|
+
var Br;
|
|
1121
|
+
function t0() {
|
|
1122
|
+
return Br || (Br = 1, (function(e) {
|
|
1123
1123
|
(function() {
|
|
1124
1124
|
var o = {}.hasOwnProperty;
|
|
1125
1125
|
function a() {
|
|
@@ -1148,10 +1148,10 @@ function Yt() {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1150
1150
|
})();
|
|
1151
|
-
})(
|
|
1151
|
+
})(Fr)), Fr.exports;
|
|
1152
1152
|
}
|
|
1153
|
-
var
|
|
1154
|
-
const
|
|
1153
|
+
var a0 = t0();
|
|
1154
|
+
const i0 = /* @__PURE__ */ e0(a0), k = {
|
|
1155
1155
|
"purpur-heading": "_purpur-heading_vo751_1",
|
|
1156
1156
|
"purpur-heading--hyphens": "_purpur-heading--hyphens_vo751_8",
|
|
1157
1157
|
"purpur-heading--negative": "_purpur-heading--negative_vo751_11",
|
|
@@ -1171,18 +1171,18 @@ const Jt = /* @__PURE__ */ Kt(Qt), k = {
|
|
|
1171
1171
|
"purpur-heading--display-50": "_purpur-heading--display-50_vo751_92",
|
|
1172
1172
|
"purpur-heading--display-100": "_purpur-heading--display-100_vo751_98",
|
|
1173
1173
|
"purpur-heading--display-200": "_purpur-heading--display-200_vo751_104"
|
|
1174
|
-
},
|
|
1174
|
+
}, o0 = {
|
|
1175
1175
|
TITLE100: "title-100"
|
|
1176
|
-
}, Z = "purpur-heading",
|
|
1176
|
+
}, Z = "purpur-heading", jr = ({
|
|
1177
1177
|
children: e,
|
|
1178
1178
|
className: o = "",
|
|
1179
1179
|
enableHyphenation: a = !1,
|
|
1180
1180
|
negative: n = !1,
|
|
1181
1181
|
tag: p,
|
|
1182
|
-
variant: r =
|
|
1182
|
+
variant: r = o0.TITLE100,
|
|
1183
1183
|
...t
|
|
1184
1184
|
}) => {
|
|
1185
|
-
const i = p, s =
|
|
1185
|
+
const i = p, s = i0([
|
|
1186
1186
|
o,
|
|
1187
1187
|
k[Z],
|
|
1188
1188
|
k[`${Z}--${r}`],
|
|
@@ -1193,19 +1193,19 @@ const Jt = /* @__PURE__ */ Kt(Qt), k = {
|
|
|
1193
1193
|
]);
|
|
1194
1194
|
return /* @__PURE__ */ l(i, { className: s, ...t, children: e });
|
|
1195
1195
|
};
|
|
1196
|
-
|
|
1197
|
-
function
|
|
1196
|
+
jr.displayName = "Heading";
|
|
1197
|
+
function n0(e) {
|
|
1198
1198
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1199
1199
|
}
|
|
1200
|
-
var
|
|
1200
|
+
var Ar = { exports: {} };
|
|
1201
1201
|
/*!
|
|
1202
1202
|
Copyright (c) 2018 Jed Watson.
|
|
1203
1203
|
Licensed under the MIT License (MIT), see
|
|
1204
1204
|
http://jedwatson.github.io/classnames
|
|
1205
1205
|
*/
|
|
1206
|
-
var
|
|
1207
|
-
function
|
|
1208
|
-
return
|
|
1206
|
+
var Or;
|
|
1207
|
+
function p0() {
|
|
1208
|
+
return Or || (Or = 1, (function(e) {
|
|
1209
1209
|
(function() {
|
|
1210
1210
|
var o = {}.hasOwnProperty;
|
|
1211
1211
|
function a() {
|
|
@@ -1234,10 +1234,10 @@ function e0() {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1236
1236
|
})();
|
|
1237
|
-
})(
|
|
1237
|
+
})(Ar)), Ar.exports;
|
|
1238
1238
|
}
|
|
1239
|
-
var
|
|
1240
|
-
const
|
|
1239
|
+
var l0 = p0();
|
|
1240
|
+
const u0 = /* @__PURE__ */ n0(l0), s0 = {
|
|
1241
1241
|
"purpur-paragraph": "_purpur-paragraph_1rh57_1",
|
|
1242
1242
|
"purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
|
|
1243
1243
|
"purpur-paragraph--hyphens": "_purpur-paragraph--hyphens_1rh57_10",
|
|
@@ -1252,37 +1252,37 @@ const a0 = /* @__PURE__ */ r0(t0), i0 = {
|
|
|
1252
1252
|
"purpur-paragraph--additional-100-medium": "_purpur-paragraph--additional-100-medium_1rh57_60",
|
|
1253
1253
|
"purpur-paragraph--overline-100": "_purpur-paragraph--overline-100_1rh57_67",
|
|
1254
1254
|
"purpur-paragraph--overline-200": "_purpur-paragraph--overline-200_1rh57_75"
|
|
1255
|
-
},
|
|
1255
|
+
}, d0 = u0.bind(s0), c0 = {
|
|
1256
1256
|
PARAGRAPH100: "paragraph-100"
|
|
1257
|
-
},
|
|
1257
|
+
}, B = "purpur-paragraph", Dr = ({
|
|
1258
1258
|
children: e,
|
|
1259
1259
|
className: o,
|
|
1260
1260
|
disabled: a,
|
|
1261
1261
|
enableHyphenation: n = !1,
|
|
1262
1262
|
negative: p = !1,
|
|
1263
|
-
variant: r =
|
|
1263
|
+
variant: r = c0.PARAGRAPH100,
|
|
1264
1264
|
...t
|
|
1265
1265
|
}) => {
|
|
1266
|
-
const i =
|
|
1267
|
-
[`${
|
|
1268
|
-
[`${
|
|
1269
|
-
[`${
|
|
1266
|
+
const i = d0(o, B, `${B}--${r}`, {
|
|
1267
|
+
[`${B}--hyphens`]: n,
|
|
1268
|
+
[`${B}--disabled`]: a,
|
|
1269
|
+
[`${B}--negative`]: p
|
|
1270
1270
|
});
|
|
1271
1271
|
return /* @__PURE__ */ l("p", { ...t, className: i, children: e });
|
|
1272
1272
|
};
|
|
1273
|
-
|
|
1274
|
-
function
|
|
1273
|
+
Dr.displayName = "Paragraph";
|
|
1274
|
+
function _0(e) {
|
|
1275
1275
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1277
|
+
var K = { exports: {} };
|
|
1278
1278
|
/*!
|
|
1279
1279
|
Copyright (c) 2018 Jed Watson.
|
|
1280
1280
|
Licensed under the MIT License (MIT), see
|
|
1281
1281
|
http://jedwatson.github.io/classnames
|
|
1282
1282
|
*/
|
|
1283
|
-
var
|
|
1284
|
-
function
|
|
1285
|
-
return
|
|
1283
|
+
var Mr;
|
|
1284
|
+
function f0() {
|
|
1285
|
+
return Mr || (Mr = 1, (function(e) {
|
|
1286
1286
|
(function() {
|
|
1287
1287
|
var o = {}.hasOwnProperty;
|
|
1288
1288
|
function a() {
|
|
@@ -1311,10 +1311,10 @@ function l0() {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
|
|
1313
1313
|
})();
|
|
1314
|
-
})(
|
|
1314
|
+
})(K)), K.exports;
|
|
1315
1315
|
}
|
|
1316
|
-
var
|
|
1317
|
-
const
|
|
1316
|
+
var h0 = f0();
|
|
1317
|
+
const g0 = /* @__PURE__ */ _0(h0), m0 = {
|
|
1318
1318
|
"purpur-promotion-card": "_purpur-promotion-card_1hj0f_1",
|
|
1319
1319
|
"purpur-promotion-card__inner": "_purpur-promotion-card__inner_1hj0f_9",
|
|
1320
1320
|
"purpur-promotion-card__inner--without-image": "_purpur-promotion-card__inner--without-image_1hj0f_12",
|
|
@@ -1334,23 +1334,23 @@ const s0 = /* @__PURE__ */ p0(u0), d0 = {
|
|
|
1334
1334
|
"purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_1hj0f_133",
|
|
1335
1335
|
"purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_1hj0f_136",
|
|
1336
1336
|
"purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_1hj0f_137"
|
|
1337
|
-
},
|
|
1337
|
+
}, $0 = ["primary", "secondary", "quaternary"], v0 = {
|
|
1338
1338
|
primary: "var(--purpur-color-background-tone-on-tone-primary)",
|
|
1339
1339
|
secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
|
|
1340
1340
|
quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
|
|
1341
|
-
},
|
|
1341
|
+
}, Y = {
|
|
1342
1342
|
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>')`,
|
|
1343
1343
|
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>')`,
|
|
1344
1344
|
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>')`
|
|
1345
|
-
},
|
|
1346
|
-
primary:
|
|
1347
|
-
secondary:
|
|
1345
|
+
}, y0 = {
|
|
1346
|
+
primary: Y.secondary,
|
|
1347
|
+
secondary: Y.primary,
|
|
1348
1348
|
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>')`
|
|
1349
|
-
},
|
|
1349
|
+
}, x0 = {
|
|
1350
1350
|
primary: "var(--purpur-color-text-tone-on-tone-primary)",
|
|
1351
1351
|
secondary: "var(--purpur-color-text-tone-on-tone-secondary)",
|
|
1352
1352
|
quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
|
|
1353
|
-
}, c =
|
|
1353
|
+
}, c = g0.bind(m0), u = "purpur-promotion-card", w0 = Gr(
|
|
1354
1354
|
({
|
|
1355
1355
|
["data-testid"]: e,
|
|
1356
1356
|
variant: o = "primary",
|
|
@@ -1361,56 +1361,61 @@ const s0 = /* @__PURE__ */ p0(u0), d0 = {
|
|
|
1361
1361
|
titleVariant: t = "title-300",
|
|
1362
1362
|
enableTitleHyphenation: i = !1,
|
|
1363
1363
|
className: s,
|
|
1364
|
-
actions:
|
|
1364
|
+
actions: x,
|
|
1365
1365
|
children: E,
|
|
1366
1366
|
style: U,
|
|
1367
1367
|
alignment: I = "space-between",
|
|
1368
|
-
additionalText:
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
let
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1368
|
+
additionalText: A,
|
|
1369
|
+
forceColorScheme: J,
|
|
1370
|
+
...w
|
|
1371
|
+
}, Rr) => {
|
|
1372
|
+
let j = w, h;
|
|
1373
|
+
const X = qr(), { options: b, currentColorScheme: Lr } = Vr();
|
|
1374
|
+
if (zr({
|
|
1375
|
+
cssVariablesSelector: `[data-id="${X}"]`,
|
|
1376
|
+
currentColorScheme: J ?? (b == null ? void 0 : b.promotionCardScheme)
|
|
1377
|
+
}), "decorativeImage" in w) {
|
|
1378
|
+
const { decorativeImage: D, ...R } = w;
|
|
1379
|
+
h = D, j = R;
|
|
1380
|
+
} else if ("productImage" in w) {
|
|
1381
|
+
const { productImage: D, ...R } = w;
|
|
1382
|
+
h = D, j = R;
|
|
1383
|
+
}
|
|
1384
|
+
const Pr = J ?? (b == null ? void 0 : b.promotionCardScheme) ?? Lr, Hr = {
|
|
1385
|
+
"--promotion-card-background": v0[o],
|
|
1386
|
+
"--promotion-card-color": x0[o],
|
|
1387
|
+
"--promotion-card-background-image": h ? "none" : Pr === "dark" ? y0[o] : Y[o]
|
|
1384
1388
|
};
|
|
1385
1389
|
return /* @__PURE__ */ l(
|
|
1386
1390
|
f,
|
|
1387
1391
|
{
|
|
1392
|
+
"data-id": X,
|
|
1388
1393
|
"data-testid": e,
|
|
1389
|
-
ref:
|
|
1394
|
+
ref: Rr,
|
|
1390
1395
|
fullHeight: !0,
|
|
1391
1396
|
className: c(s, u, `${u}--${o}`),
|
|
1392
1397
|
style: {
|
|
1393
|
-
...
|
|
1398
|
+
...Hr,
|
|
1394
1399
|
...U
|
|
1395
1400
|
},
|
|
1396
|
-
...
|
|
1401
|
+
...j,
|
|
1397
1402
|
children: /* @__PURE__ */ _(
|
|
1398
1403
|
"div",
|
|
1399
1404
|
{
|
|
1400
1405
|
className: c(`${u}__inner`, {
|
|
1401
|
-
[`${u}__inner--with-image`]:
|
|
1402
|
-
[`${u}__inner--without-image`]: !
|
|
1406
|
+
[`${u}__inner--with-image`]: h,
|
|
1407
|
+
[`${u}__inner--without-image`]: !h
|
|
1403
1408
|
}),
|
|
1404
1409
|
children: [
|
|
1405
1410
|
/* @__PURE__ */ _(
|
|
1406
1411
|
"div",
|
|
1407
1412
|
{
|
|
1408
1413
|
className: c(`${u}__content`, {
|
|
1409
|
-
[`${u}__content--with-image`]:
|
|
1410
|
-
[`${u}__content--without-image`]: !
|
|
1414
|
+
[`${u}__content--with-image`]: h,
|
|
1415
|
+
[`${u}__content--without-image`]: !h
|
|
1411
1416
|
}),
|
|
1412
1417
|
children: [
|
|
1413
|
-
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${u}__badge-wrapper`), children: /* @__PURE__ */ _(
|
|
1418
|
+
a && /* @__PURE__ */ l("div", { "data-testid": "badgeWrapper", className: c(`${u}__badge-wrapper`), children: /* @__PURE__ */ _(ge, { variant: o === "primary" ? "special" : "attention", showIcon: !1, children: [
|
|
1414
1419
|
n && n,
|
|
1415
1420
|
a
|
|
1416
1421
|
] }) }),
|
|
@@ -1423,7 +1428,7 @@ const s0 = /* @__PURE__ */ p0(u0), d0 = {
|
|
|
1423
1428
|
),
|
|
1424
1429
|
children: [
|
|
1425
1430
|
/* @__PURE__ */ l(
|
|
1426
|
-
|
|
1431
|
+
jr,
|
|
1427
1432
|
{
|
|
1428
1433
|
tag: r,
|
|
1429
1434
|
variant: t,
|
|
@@ -1434,14 +1439,14 @@ const s0 = /* @__PURE__ */ p0(u0), d0 = {
|
|
|
1434
1439
|
),
|
|
1435
1440
|
/* @__PURE__ */ _("div", { className: c(`${u}__body`), children: [
|
|
1436
1441
|
/* @__PURE__ */ l("div", { className: c(`${u}__child-content`), children: E }),
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1442
|
+
x && /* @__PURE__ */ l("div", { className: c(`${u}__actions`), children: x }),
|
|
1443
|
+
A && /* @__PURE__ */ l(
|
|
1444
|
+
Dr,
|
|
1440
1445
|
{
|
|
1441
1446
|
negative: !0,
|
|
1442
1447
|
variant: "additional-100",
|
|
1443
1448
|
className: c(`${u}__additional-text`),
|
|
1444
|
-
children:
|
|
1449
|
+
children: A
|
|
1445
1450
|
}
|
|
1446
1451
|
)
|
|
1447
1452
|
] })
|
|
@@ -1451,14 +1456,14 @@ const s0 = /* @__PURE__ */ p0(u0), d0 = {
|
|
|
1451
1456
|
]
|
|
1452
1457
|
}
|
|
1453
1458
|
),
|
|
1454
|
-
|
|
1459
|
+
h && /* @__PURE__ */ l(
|
|
1455
1460
|
"div",
|
|
1456
1461
|
{
|
|
1457
1462
|
className: c(`${u}__image-wrapper`, {
|
|
1458
|
-
[`${u}__image-wrapper--product`]: "productImage" in
|
|
1459
|
-
[`${u}__image-wrapper--decorative`]: "decorativeImage" in
|
|
1463
|
+
[`${u}__image-wrapper--product`]: "productImage" in w,
|
|
1464
|
+
[`${u}__image-wrapper--decorative`]: "decorativeImage" in w
|
|
1460
1465
|
}),
|
|
1461
|
-
children:
|
|
1466
|
+
children: h
|
|
1462
1467
|
}
|
|
1463
1468
|
)
|
|
1464
1469
|
]
|
|
@@ -1468,9 +1473,9 @@ const s0 = /* @__PURE__ */ p0(u0), d0 = {
|
|
|
1468
1473
|
);
|
|
1469
1474
|
}
|
|
1470
1475
|
);
|
|
1471
|
-
|
|
1476
|
+
w0.displayName = "PromotionCard";
|
|
1472
1477
|
export {
|
|
1473
|
-
|
|
1474
|
-
|
|
1478
|
+
w0 as PromotionCard,
|
|
1479
|
+
$0 as promotionCardVariants
|
|
1475
1480
|
};
|
|
1476
1481
|
//# sourceMappingURL=promotion-card.es.js.map
|