@purpurds/promotion-card 4.4.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,8 +10,8 @@ var U = { exports: {} };
10
10
  */
11
11
  (function(t) {
12
12
  (function() {
13
- var a = {}.hasOwnProperty;
14
- function i() {
13
+ var i = {}.hasOwnProperty;
14
+ function a() {
15
15
  for (var e = "", r = 0; r < arguments.length; r++) {
16
16
  var o = arguments[r];
17
17
  o && (e = n(e, l.call(this, o)));
@@ -24,18 +24,18 @@ var U = { exports: {} };
24
24
  if (typeof e != "object")
25
25
  return "";
26
26
  if (Array.isArray(e))
27
- return i.apply(this, e);
27
+ return a.apply(this, e);
28
28
  if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
29
29
  return e.toString();
30
30
  var r = "";
31
31
  for (var o in e)
32
- a.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
32
+ i.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
33
33
  return r;
34
34
  }
35
35
  function n(e, r) {
36
36
  return r ? e ? e + " " + r : e + r : e;
37
37
  }
38
- t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
38
+ t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
39
39
  })();
40
40
  })(U);
41
41
  var N = U.exports;
@@ -52,22 +52,22 @@ const $ = /* @__PURE__ */ D(N), L = {
52
52
  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>',
53
53
  keywords: ["alert"],
54
54
  category: "status"
55
- }, R = {
55
+ }, q = {
56
56
  name: "check-circle",
57
57
  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>',
58
58
  keywords: ["check-circle"],
59
59
  category: "status"
60
- }, j = {
60
+ }, R = {
61
61
  name: "error",
62
62
  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>',
63
63
  keywords: ["error"],
64
64
  category: "status"
65
- }, P = {
65
+ }, j = {
66
66
  name: "info",
67
67
  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>',
68
68
  keywords: ["info"],
69
69
  category: "status"
70
- }, q = {
70
+ }, P = {
71
71
  name: "offering",
72
72
  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>',
73
73
  keywords: ["offering"],
@@ -77,30 +77,30 @@ const $ = /* @__PURE__ */ D(N), L = {
77
77
  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>',
78
78
  keywords: ["question"],
79
79
  category: "status"
80
- }, V = $.bind(L), F = "purpur-icon", W = "md", z = (t) => t.filter((a) => Object.keys(a).length >= 1).map((a) => `${a.name}="${a.value}"`).join(" "), J = ({ content: t = "", title: a } = {}) => {
81
- const i = [
80
+ }, V = $.bind(L), F = "purpur-icon", W = "md", z = (t) => t.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), J = ({ content: t = "", title: i } = {}) => {
81
+ const a = [
82
82
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
83
83
  { name: "fill", value: "currentColor" },
84
84
  { name: "viewBox", value: "0 0 24 24" },
85
- a ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
86
- ], l = a ? `<title>${a}</title>` : "";
87
- return `<svg ${z(i)}>${l}${t}</svg>`;
85
+ i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
86
+ ], l = i ? `<title>${i}</title>` : "";
87
+ return `<svg ${z(a)}>${l}${t}</svg>`;
88
88
  }, K = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Q = ({
89
89
  ["data-testid"]: t,
90
- svg: a,
91
- allyTitle: i,
90
+ svg: i,
91
+ allyTitle: a,
92
92
  className: l = "",
93
93
  size: n = W,
94
94
  ...e
95
95
  }) => {
96
96
  const r = J({
97
- content: K(a.svg),
98
- title: i
97
+ content: K(i.svg),
98
+ title: a
99
99
  }), o = V(l, F, `${F}--${n}`);
100
100
  return /* @__PURE__ */ d(
101
101
  "span",
102
102
  {
103
- "aria-label": i,
103
+ "aria-label": a,
104
104
  className: o,
105
105
  "data-testid": t,
106
106
  dangerouslySetInnerHTML: { __html: r },
@@ -119,8 +119,8 @@ var A = { exports: {} };
119
119
  */
120
120
  (function(t) {
121
121
  (function() {
122
- var a = {}.hasOwnProperty;
123
- function i() {
122
+ var i = {}.hasOwnProperty;
123
+ function a() {
124
124
  for (var e = "", r = 0; r < arguments.length; r++) {
125
125
  var o = arguments[r];
126
126
  o && (e = n(e, l(o)));
@@ -133,30 +133,30 @@ var A = { exports: {} };
133
133
  if (typeof e != "object")
134
134
  return "";
135
135
  if (Array.isArray(e))
136
- return i.apply(null, e);
136
+ return a.apply(null, e);
137
137
  if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
138
138
  return e.toString();
139
139
  var r = "";
140
140
  for (var o in e)
141
- a.call(e, o) && e[o] && (r = n(r, o));
141
+ i.call(e, o) && e[o] && (r = n(r, o));
142
142
  return r;
143
143
  }
144
144
  function n(e, r) {
145
145
  return r ? e ? e + " " + r : e + r : e;
146
146
  }
147
- t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
147
+ t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
148
148
  })();
149
149
  })(A);
150
150
  var Y = A.exports;
151
151
  const e0 = /* @__PURE__ */ X(Y), B = {
152
- "purpur-badge": "_purpur-badge_yhork_1",
153
- "purpur-badge--attention": "_purpur-badge--attention_yhork_13",
154
- "purpur-badge--special": "_purpur-badge--special_yhork_17",
155
- "purpur-badge--neutral": "_purpur-badge--neutral_yhork_21",
156
- "purpur-badge--information": "_purpur-badge--information_yhork_25",
157
- "purpur-badge--success": "_purpur-badge--success_yhork_29",
158
- "purpur-badge--warning": "_purpur-badge--warning_yhork_33",
159
- "purpur-badge--error": "_purpur-badge--error_yhork_37"
152
+ "purpur-badge": "_purpur-badge_stlab_1",
153
+ "purpur-badge--attention": "_purpur-badge--attention_stlab_13",
154
+ "purpur-badge--special": "_purpur-badge--special_stlab_17",
155
+ "purpur-badge--neutral": "_purpur-badge--neutral_stlab_21",
156
+ "purpur-badge--information": "_purpur-badge--information_stlab_25",
157
+ "purpur-badge--success": "_purpur-badge--success_stlab_29",
158
+ "purpur-badge--warning": "_purpur-badge--warning_stlab_33",
159
+ "purpur-badge--error": "_purpur-badge--error_stlab_37"
160
160
  }, G = "purpur-badge", f = {
161
161
  ATTENTION: "attention",
162
162
  SPECIAL: "special",
@@ -169,15 +169,15 @@ const e0 = /* @__PURE__ */ X(Y), B = {
169
169
  switch (t) {
170
170
  case f.ATTENTION:
171
171
  case f.SPECIAL:
172
- return q;
173
- case f.INFORMATION:
174
172
  return P;
173
+ case f.INFORMATION:
174
+ return j;
175
175
  case f.SUCCESS:
176
- return R;
176
+ return q;
177
177
  case f.WARNING:
178
178
  return T;
179
179
  case f.ERROR:
180
- return j;
180
+ return R;
181
181
  case f.NEUTRAL:
182
182
  return H;
183
183
  default:
@@ -185,16 +185,16 @@ const e0 = /* @__PURE__ */ X(Y), B = {
185
185
  }
186
186
  }, t0 = ({
187
187
  children: t,
188
- showIcon: a = !0,
189
- variant: i,
188
+ showIcon: i = !0,
189
+ variant: a,
190
190
  ["data-testid"]: l,
191
191
  allyLabel: n,
192
192
  className: e = "",
193
193
  ...r
194
194
  }) => {
195
- const o = r0(i), h = e0([e, B[G], B[`${G}--${i}`]]);
195
+ const o = r0(a), h = e0([e, B[G], B[`${G}--${a}`]]);
196
196
  return /* @__PURE__ */ _("span", { "aria-label": n, className: h, "data-testid": l, ...r, children: [
197
- a && o && /* @__PURE__ */ d(Q, { "data-testid": `${l}-icon`, allyTitle: n, size: "xs", svg: o }),
197
+ i && o && /* @__PURE__ */ d(Q, { "data-testid": `${l}-icon`, allyTitle: n, size: "xs", svg: o }),
198
198
  t
199
199
  ] });
200
200
  };
@@ -209,8 +209,8 @@ var b = { exports: {} };
209
209
  */
210
210
  (function(t) {
211
211
  (function() {
212
- var a = {}.hasOwnProperty;
213
- function i() {
212
+ var i = {}.hasOwnProperty;
213
+ function a() {
214
214
  for (var e = "", r = 0; r < arguments.length; r++) {
215
215
  var o = arguments[r];
216
216
  o && (e = n(e, l.call(this, o)));
@@ -223,36 +223,36 @@ var b = { exports: {} };
223
223
  if (typeof e != "object")
224
224
  return "";
225
225
  if (Array.isArray(e))
226
- return i.apply(this, e);
226
+ return a.apply(this, e);
227
227
  if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
228
228
  return e.toString();
229
229
  var r = "";
230
230
  for (var o in e)
231
- a.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
231
+ i.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
232
232
  return r;
233
233
  }
234
234
  function n(e, r) {
235
235
  return r ? e ? e + " " + r : e + r : e;
236
236
  }
237
- t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
237
+ t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
238
238
  })();
239
239
  })(b);
240
- var i0 = b.exports;
241
- const a0 = /* @__PURE__ */ o0(i0), n0 = {
240
+ var a0 = b.exports;
241
+ const i0 = /* @__PURE__ */ o0(a0), n0 = {
242
242
  "purpur-card": "_purpur-card_172jf_1",
243
243
  "purpur-card__container": "_purpur-card__container_172jf_10"
244
- }, O = a0.bind(n0), E = "purpur-card", M = ({
244
+ }, O = i0.bind(n0), E = "purpur-card", k = ({
245
245
  ["data-testid"]: t,
246
- children: a,
247
- className: i,
246
+ children: i,
247
+ className: a,
248
248
  containerClassName: l,
249
249
  ...n
250
- }) => /* @__PURE__ */ d("div", { className: O(`${E}__container`, l), children: /* @__PURE__ */ d("div", { className: O([E, i]), "data-testid": t, ...n, children: a }) });
251
- M.displayName = "Card";
250
+ }) => /* @__PURE__ */ d("div", { className: O(`${E}__container`, l), children: /* @__PURE__ */ d("div", { className: O([E, a]), "data-testid": t, ...n, children: i }) });
251
+ k.displayName = "Card";
252
252
  function l0(t) {
253
253
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
254
254
  }
255
- var k = { exports: {} };
255
+ var M = { exports: {} };
256
256
  /*!
257
257
  Copyright (c) 2018 Jed Watson.
258
258
  Licensed under the MIT License (MIT), see
@@ -260,8 +260,8 @@ var k = { exports: {} };
260
260
  */
261
261
  (function(t) {
262
262
  (function() {
263
- var a = {}.hasOwnProperty;
264
- function i() {
263
+ var i = {}.hasOwnProperty;
264
+ function a() {
265
265
  for (var e = "", r = 0; r < arguments.length; r++) {
266
266
  var o = arguments[r];
267
267
  o && (e = n(e, l(o)));
@@ -274,37 +274,37 @@ var k = { exports: {} };
274
274
  if (typeof e != "object")
275
275
  return "";
276
276
  if (Array.isArray(e))
277
- return i.apply(null, e);
277
+ return a.apply(null, e);
278
278
  if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
279
279
  return e.toString();
280
280
  var r = "";
281
281
  for (var o in e)
282
- a.call(e, o) && e[o] && (r = n(r, o));
282
+ i.call(e, o) && e[o] && (r = n(r, o));
283
283
  return r;
284
284
  }
285
285
  function n(e, r) {
286
286
  return r ? e ? e + " " + r : e + r : e;
287
287
  }
288
- t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
288
+ t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
289
289
  })();
290
- })(k);
291
- var s0 = k.exports;
290
+ })(M);
291
+ var s0 = M.exports;
292
292
  const p0 = /* @__PURE__ */ l0(s0), v = {
293
- "purpur-heading": "_purpur-heading_1g237_1",
294
- "purpur-heading--hyphens": "_purpur-heading--hyphens_1g237_8",
295
- "purpur-heading--negative": "_purpur-heading--negative_1g237_11",
296
- "purpur-heading--subsection-100": "_purpur-heading--subsection-100_1g237_14",
297
- "purpur-heading--title-100": "_purpur-heading--title-100_1g237_20",
298
- "purpur-heading--title-200": "_purpur-heading--title-200_1g237_26",
299
- "purpur-heading--title-300": "_purpur-heading--title-300_1g237_32",
300
- "purpur-heading--title-400": "_purpur-heading--title-400_1g237_38",
301
- "purpur-heading--title-500": "_purpur-heading--title-500_1g237_44",
302
- "purpur-heading--title-600": "_purpur-heading--title-600_1g237_50",
303
- "purpur-heading--title-700": "_purpur-heading--title-700_1g237_56",
304
- "purpur-heading--display-25": "_purpur-heading--display-25_1g237_62",
305
- "purpur-heading--display-50": "_purpur-heading--display-50_1g237_68",
306
- "purpur-heading--display-100": "_purpur-heading--display-100_1g237_74",
307
- "purpur-heading--display-200": "_purpur-heading--display-200_1g237_80"
293
+ "purpur-heading": "_purpur-heading_k9fhq_1",
294
+ "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
295
+ "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
296
+ "purpur-heading--subsection-100": "_purpur-heading--subsection-100_k9fhq_14",
297
+ "purpur-heading--title-100": "_purpur-heading--title-100_k9fhq_20",
298
+ "purpur-heading--title-200": "_purpur-heading--title-200_k9fhq_26",
299
+ "purpur-heading--title-300": "_purpur-heading--title-300_k9fhq_32",
300
+ "purpur-heading--title-400": "_purpur-heading--title-400_k9fhq_38",
301
+ "purpur-heading--title-500": "_purpur-heading--title-500_k9fhq_44",
302
+ "purpur-heading--title-600": "_purpur-heading--title-600_k9fhq_50",
303
+ "purpur-heading--title-700": "_purpur-heading--title-700_k9fhq_56",
304
+ "purpur-heading--display-25": "_purpur-heading--display-25_k9fhq_62",
305
+ "purpur-heading--display-50": "_purpur-heading--display-50_k9fhq_68",
306
+ "purpur-heading--display-100": "_purpur-heading--display-100_k9fhq_74",
307
+ "purpur-heading--display-200": "_purpur-heading--display-200_k9fhq_80"
308
308
  }, d0 = {
309
309
  TITLE100: "title-100",
310
310
  TITLE200: "title-200",
@@ -316,8 +316,8 @@ const p0 = /* @__PURE__ */ l0(s0), v = {
316
316
  SUBSECTION100: "subsection-100"
317
317
  }, w = "purpur-heading", u0 = ({
318
318
  ["data-testid"]: t,
319
- children: a,
320
- className: i = "",
319
+ children: i,
320
+ className: a = "",
321
321
  enableHyphenation: l = !1,
322
322
  negative: n = !1,
323
323
  tag: e,
@@ -325,7 +325,7 @@ const p0 = /* @__PURE__ */ l0(s0), v = {
325
325
  ...o
326
326
  }) => {
327
327
  const h = e, C = p0([
328
- i,
328
+ a,
329
329
  v[w],
330
330
  v[`${w}--${r}`],
331
331
  {
@@ -333,7 +333,7 @@ const p0 = /* @__PURE__ */ l0(s0), v = {
333
333
  [v[`${w}--negative`]]: n
334
334
  }
335
335
  ]);
336
- return /* @__PURE__ */ d(h, { ...o, className: C, "data-testid": t, children: a });
336
+ return /* @__PURE__ */ d(h, { ...o, className: C, "data-testid": t, children: i });
337
337
  };
338
338
  function c0(t) {
339
339
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -346,8 +346,8 @@ var I = { exports: {} };
346
346
  */
347
347
  (function(t) {
348
348
  (function() {
349
- var a = {}.hasOwnProperty;
350
- function i() {
349
+ var i = {}.hasOwnProperty;
350
+ function a() {
351
351
  for (var e = "", r = 0; r < arguments.length; r++) {
352
352
  var o = arguments[r];
353
353
  o && (e = n(e, l.call(this, o)));
@@ -360,18 +360,18 @@ var I = { exports: {} };
360
360
  if (typeof e != "object")
361
361
  return "";
362
362
  if (Array.isArray(e))
363
- return i.apply(this, e);
363
+ return a.apply(this, e);
364
364
  if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
365
365
  return e.toString();
366
366
  var r = "";
367
367
  for (var o in e)
368
- a.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
368
+ i.call(e, o) && e[o] && (r = n(r, this && this[o] || o));
369
369
  return r;
370
370
  }
371
371
  function n(e, r) {
372
372
  return r ? e ? e + " " + r : e + r : e;
373
373
  }
374
- t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
374
+ t.exports ? (a.default = a, t.exports = a) : window.classNames = a;
375
375
  })();
376
376
  })(I);
377
377
  var f0 = I.exports;
@@ -406,8 +406,8 @@ const _0 = /* @__PURE__ */ c0(f0), h0 = {
406
406
  quaternary: "var(--purpur-color-text-tone-on-tone-tertiary)"
407
407
  }, p = _0.bind(h0), s = "purpur-promotion-card", x0 = ({
408
408
  ["data-testid"]: t,
409
- variant: a = "primary",
410
- badgeText: i,
409
+ variant: i = "primary",
410
+ badgeText: a,
411
411
  badgeIcon: l,
412
412
  title: n,
413
413
  titleTag: e = "h2",
@@ -429,12 +429,12 @@ const _0 = /* @__PURE__ */ c0(f0), h0 = {
429
429
  x = g, y = m;
430
430
  }
431
431
  const Z = {
432
- "--promotion-card-background": g0[a],
433
- "--promotion-card-color": y0[a],
434
- "--promotion-card-background-image": m0[a]
432
+ "--promotion-card-background": g0[i],
433
+ "--promotion-card-color": y0[i],
434
+ "--promotion-card-background-image": m0[i]
435
435
  };
436
436
  return /* @__PURE__ */ d(
437
- M,
437
+ k,
438
438
  {
439
439
  className: p(`${s}__card`),
440
440
  containerClassName: p(`${s}__card-container`),
@@ -449,7 +449,7 @@ const _0 = /* @__PURE__ */ c0(f0), h0 = {
449
449
  className: p([
450
450
  o,
451
451
  s,
452
- `${s}--${a}`,
452
+ `${s}--${i}`,
453
453
  {
454
454
  [`${s}--with-image`]: c,
455
455
  [`${s}--without-image`]: !c
@@ -468,9 +468,9 @@ const _0 = /* @__PURE__ */ c0(f0), h0 = {
468
468
  }
469
469
  ]),
470
470
  children: [
471
- i && /* @__PURE__ */ d("div", { "data-testid": "badgeWrapper", className: p(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(t0, { variant: a === "primary" ? "special" : "attention", showIcon: !1, children: [
471
+ a && /* @__PURE__ */ d("div", { "data-testid": "badgeWrapper", className: p(`${s}__badge-wrapper`), children: /* @__PURE__ */ _(t0, { variant: i === "primary" ? "special" : "attention", showIcon: !1, children: [
472
472
  l && l,
473
- i
473
+ a
474
474
  ] }) }),
475
475
  /* @__PURE__ */ _("div", { className: p(`${s}__main-content`), children: [
476
476
  /* @__PURE__ */ d(