@purpurds/promotion-card 5.24.1 → 5.24.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { jsxs as _, jsx as l, Fragment as mr } from "react/jsx-runtime";
2
- import { forwardRef as S, Children as D, isValidElement as H, createElement as P, cloneElement as vr, useEffect as Pr, Fragment as qr } from "react";
1
+ import { jsxs as _, jsx as l, Fragment as hr } from "react/jsx-runtime";
2
+ import { forwardRef as $, Children as q, isValidElement as V, createElement as D, cloneElement as mr, useEffect as Dr, Fragment as Pr } from "react";
3
3
  import "react-dom";
4
4
  function Tr(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
7
- var yr = { exports: {} };
7
+ var vr = { exports: {} };
8
8
  /*!
9
9
  Copyright (c) 2018 Jed Watson.
10
10
  Licensed under the MIT License (MIT), see
@@ -39,8 +39,8 @@ var yr = { exports: {} };
39
39
  }
40
40
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
41
41
  })();
42
- })(yr);
43
- var zr = yr.exports;
42
+ })(vr);
43
+ var zr = vr.exports;
44
44
  const Hr = /* @__PURE__ */ Tr(zr), Vr = {
45
45
  "purpur-icon": "_purpur-icon_8u1lq_1",
46
46
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
@@ -84,7 +84,7 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
84
84
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
85
85
  keywords: ["tag"],
86
86
  category: "other"
87
- }, ee = Hr.bind(Vr), er = "purpur-icon", te = "md", ae = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ie = ({ content: e = "", title: i } = {}) => {
87
+ }, ee = Hr.bind(Vr), rr = "purpur-icon", te = "md", ae = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), ie = ({ content: e = "", title: i } = {}) => {
88
88
  const a = [
89
89
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
90
90
  { name: "fill", value: "currentColor" },
@@ -92,7 +92,7 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
92
92
  i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
93
93
  ], n = i ? `<title>${i}</title>` : "";
94
94
  return `<svg ${ae(a)}>${n}${e}</svg>`;
95
- }, oe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), xr = ({
95
+ }, oe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), yr = ({
96
96
  ["data-testid"]: e,
97
97
  svg: i,
98
98
  allyTitle: a,
@@ -103,7 +103,7 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
103
103
  const t = ie({
104
104
  content: oe(i.svg),
105
105
  title: a
106
- }), o = ee(n, er, `${er}--${p}`);
106
+ }), o = ee(n, rr, `${rr}--${p}`);
107
107
  return /* @__PURE__ */ l(
108
108
  "span",
109
109
  {
@@ -115,11 +115,11 @@ const Hr = /* @__PURE__ */ Tr(zr), Vr = {
115
115
  }
116
116
  );
117
117
  };
118
- xr.displayName = "Icon";
118
+ yr.displayName = "Icon";
119
119
  function ne(e) {
120
120
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
121
121
  }
122
- var wr = { exports: {} };
122
+ var xr = { exports: {} };
123
123
  /*!
124
124
  Copyright (c) 2018 Jed Watson.
125
125
  Licensed under the MIT License (MIT), see
@@ -154,9 +154,9 @@ var wr = { exports: {} };
154
154
  }
155
155
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
156
156
  })();
157
- })(wr);
158
- var pe = wr.exports;
159
- const le = /* @__PURE__ */ ne(pe), tr = {
157
+ })(xr);
158
+ var pe = xr.exports;
159
+ const le = /* @__PURE__ */ ne(pe), er = {
160
160
  "purpur-badge": "_purpur-badge_1r1mu_1",
161
161
  "purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
162
162
  "purpur-badge--special": "_purpur-badge--special_1r1mu_17",
@@ -166,7 +166,7 @@ const le = /* @__PURE__ */ ne(pe), tr = {
166
166
  "purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
167
167
  "purpur-badge--error": "_purpur-badge--error_1r1mu_37",
168
168
  "purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
169
- }, ar = "purpur-badge", b = {
169
+ }, tr = "purpur-badge", w = {
170
170
  ATTENTION: "attention",
171
171
  SPECIAL: "special",
172
172
  NEUTRAL: "neutral",
@@ -177,20 +177,20 @@ const le = /* @__PURE__ */ ne(pe), tr = {
177
177
  BLACK_FRIDAY: "black-friday"
178
178
  }, ue = (e) => {
179
179
  switch (e) {
180
- case b.ATTENTION:
181
- case b.SPECIAL:
180
+ case w.ATTENTION:
181
+ case w.SPECIAL:
182
182
  return Jr;
183
- case b.INFORMATION:
183
+ case w.INFORMATION:
184
184
  return Yr;
185
- case b.SUCCESS:
185
+ case w.SUCCESS:
186
186
  return Xr;
187
- case b.WARNING:
187
+ case w.WARNING:
188
188
  return Wr;
189
- case b.ERROR:
189
+ case w.ERROR:
190
190
  return Kr;
191
- case b.NEUTRAL:
191
+ case w.NEUTRAL:
192
192
  return Qr;
193
- case b.BLACK_FRIDAY:
193
+ case w.BLACK_FRIDAY:
194
194
  return re;
195
195
  default:
196
196
  return;
@@ -204,9 +204,9 @@ const le = /* @__PURE__ */ ne(pe), tr = {
204
204
  className: r = "",
205
205
  ...t
206
206
  }) => {
207
- const o = ue(a), u = le([r, tr[ar], tr[`${ar}--${a}`]]);
207
+ const o = ue(a), u = le([r, er[tr], er[`${tr}--${a}`]]);
208
208
  return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
209
- i && o && /* @__PURE__ */ l(xr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
209
+ i && o && /* @__PURE__ */ l(yr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
210
210
  e
211
211
  ] });
212
212
  }, de = {
@@ -217,7 +217,7 @@ const le = /* @__PURE__ */ ne(pe), tr = {
217
217
  function ce(e) {
218
218
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
219
219
  }
220
- var br = { exports: {} };
220
+ var wr = { exports: {} };
221
221
  /*!
222
222
  Copyright (c) 2018 Jed Watson.
223
223
  Licensed under the MIT License (MIT), see
@@ -252,9 +252,9 @@ var br = { exports: {} };
252
252
  }
253
253
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
254
254
  })();
255
- })(br);
256
- var _e = br.exports;
257
- const ir = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1", Z = {
255
+ })(wr);
256
+ var _e = wr.exports;
257
+ const ar = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1", Z = {
258
258
  "purpur-spinner": "_purpur-spinner_1xozj_1",
259
259
  rotate: fe,
260
260
  "purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
@@ -281,13 +281,13 @@ const ir = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1",
281
281
  }) => /* @__PURE__ */ l(
282
282
  "div",
283
283
  {
284
- className: ir([Z[I], Z[`${I}--${n}`]]),
284
+ className: ar([Z[I], Z[`${I}--${n}`]]),
285
285
  "data-testid": e,
286
286
  ...p,
287
287
  children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
288
288
  "circle",
289
289
  {
290
- className: ir(Z[`${I}__circle`], {
290
+ className: ar(Z[`${I}__circle`], {
291
291
  [Z[`${I}__circle--disabled`]]: i,
292
292
  [Z[`${I}__circle--negative`]]: a
293
293
  }),
@@ -301,7 +301,7 @@ const ir = /* @__PURE__ */ ce(_e), fe = "_rotate_1xozj_1", ge = "_dash_1xozj_1",
301
301
  function ve(e) {
302
302
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
303
303
  }
304
- var $r = { exports: {} };
304
+ var br = { exports: {} };
305
305
  /*!
306
306
  Copyright (c) 2018 Jed Watson.
307
307
  Licensed under the MIT License (MIT), see
@@ -336,8 +336,8 @@ var $r = { exports: {} };
336
336
  }
337
337
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
338
338
  })();
339
- })($r);
340
- var ye = $r.exports;
339
+ })(br);
340
+ var ye = br.exports;
341
341
  const xe = /* @__PURE__ */ ve(ye), we = {
342
342
  "purpur-button": "_purpur-button_1acxn_1",
343
343
  "purpur-button--sm": "_purpur-button--sm_1acxn_33",
@@ -371,12 +371,12 @@ const xe = /* @__PURE__ */ ve(ye), we = {
371
371
  onClick: u,
372
372
  size: c = "md",
373
373
  variant: g,
374
- type: C = "button",
374
+ type: S = "button",
375
375
  ...d
376
376
  }, F) => {
377
377
  if (r && g === "destructive")
378
378
  return null;
379
- const x = be(
379
+ const v = be(
380
380
  [
381
381
  A,
382
382
  `${A}--${o ? `${g}-negative` : g}`,
@@ -389,32 +389,32 @@ const xe = /* @__PURE__ */ ve(ye), we = {
389
389
  [`${A}--disabled`]: n || t
390
390
  },
391
391
  i
392
- ), h = (q) => {
393
- n || t ? q.preventDefault() : u && u(q);
394
- }, k = !!d["aria-disabled"] || n || t;
392
+ ), h = (P) => {
393
+ n || t ? P.preventDefault() : u && u(P);
394
+ }, C = !!d["aria-disabled"] || n || t;
395
395
  return /* @__PURE__ */ _(
396
396
  "button",
397
397
  {
398
- className: x,
398
+ className: v,
399
399
  "data-testid": a,
400
- type: C,
400
+ type: S,
401
401
  ref: F,
402
- "aria-disabled": k,
402
+ "aria-disabled": C,
403
403
  onClick: h,
404
404
  ...d,
405
405
  children: [
406
- t && /* @__PURE__ */ l(me, { size: c === de.LG ? "xs" : "xxs", negative: o, disabled: k }),
406
+ t && /* @__PURE__ */ l(me, { size: c === de.LG ? "xs" : "xxs", negative: o, disabled: C }),
407
407
  " ",
408
408
  e
409
409
  ]
410
410
  }
411
411
  );
412
- }, Sr = S($e);
413
- Sr.displayName = "Button";
412
+ }, $r = $($e);
413
+ $r.displayName = "Button";
414
414
  function Se(e) {
415
415
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
416
416
  }
417
- var Cr = { exports: {} };
417
+ var Sr = { exports: {} };
418
418
  /*!
419
419
  Copyright (c) 2018 Jed Watson.
420
420
  Licensed under the MIT License (MIT), see
@@ -449,15 +449,15 @@ var Cr = { exports: {} };
449
449
  }
450
450
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
451
451
  })();
452
- })(Cr);
453
- var Ce = Cr.exports;
454
- const y = /* @__PURE__ */ Se(Ce), ke = {
452
+ })(Sr);
453
+ var Ce = Sr.exports;
454
+ const m = /* @__PURE__ */ Se(Ce), ke = {
455
455
  "purpur-card": "_purpur-card_1owb4_1"
456
456
  };
457
457
  function Ae(e) {
458
458
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
459
459
  }
460
- var kr = { exports: {} };
460
+ var Cr = { exports: {} };
461
461
  /*!
462
462
  Copyright (c) 2018 Jed Watson.
463
463
  Licensed under the MIT License (MIT), see
@@ -492,8 +492,8 @@ var kr = { exports: {} };
492
492
  }
493
493
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
494
494
  })();
495
- })(kr);
496
- var Oe = kr.exports;
495
+ })(Cr);
496
+ var Oe = Cr.exports;
497
497
  const Be = /* @__PURE__ */ Ae(Oe), Fe = {
498
498
  "purpur-icon": "_purpur-icon_8u1lq_1",
499
499
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
@@ -537,7 +537,7 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
537
537
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',
538
538
  keywords: ["tag"],
539
539
  category: "other"
540
- }, Ue = Be.bind(Fe), or = "purpur-icon", Le = "md", Re = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), De = ({ content: e = "", title: i } = {}) => {
540
+ }, Ue = Be.bind(Fe), ir = "purpur-icon", Le = "md", Re = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), qe = ({ content: e = "", title: i } = {}) => {
541
541
  const a = [
542
542
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
543
543
  { name: "fill", value: "currentColor" },
@@ -545,7 +545,7 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
545
545
  i ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
546
546
  ], n = i ? `<title>${i}</title>` : "";
547
547
  return `<svg ${Re(a)}>${n}${e}</svg>`;
548
- }, Pe = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), Ar = ({
548
+ }, De = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim(), kr = ({
549
549
  ["data-testid"]: e,
550
550
  svg: i,
551
551
  allyTitle: a,
@@ -553,10 +553,10 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
553
553
  size: p = Le,
554
554
  ...r
555
555
  }) => {
556
- const t = De({
557
- content: Pe(i.svg),
556
+ const t = qe({
557
+ content: De(i.svg),
558
558
  title: a
559
- }), o = Ue(n, or, `${or}--${p}`);
559
+ }), o = Ue(n, ir, `${ir}--${p}`);
560
560
  return /* @__PURE__ */ l(
561
561
  "span",
562
562
  {
@@ -568,11 +568,11 @@ const Be = /* @__PURE__ */ Ae(Oe), Fe = {
568
568
  }
569
569
  );
570
570
  };
571
- Ar.displayName = "Icon";
572
- function qe(e) {
571
+ kr.displayName = "Icon";
572
+ function Pe(e) {
573
573
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
574
574
  }
575
- var Or = { exports: {} };
575
+ var Ar = { exports: {} };
576
576
  /*!
577
577
  Copyright (c) 2018 Jed Watson.
578
578
  Licensed under the MIT License (MIT), see
@@ -607,9 +607,9 @@ var Or = { exports: {} };
607
607
  }
608
608
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
609
609
  })();
610
- })(Or);
611
- var Te = Or.exports;
612
- const ze = /* @__PURE__ */ qe(Te), nr = {
610
+ })(Ar);
611
+ var Te = Ar.exports;
612
+ const ze = /* @__PURE__ */ Pe(Te), or = {
613
613
  "purpur-badge": "_purpur-badge_1r1mu_1",
614
614
  "purpur-badge--attention": "_purpur-badge--attention_1r1mu_13",
615
615
  "purpur-badge--special": "_purpur-badge--special_1r1mu_17",
@@ -619,7 +619,7 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
619
619
  "purpur-badge--warning": "_purpur-badge--warning_1r1mu_33",
620
620
  "purpur-badge--error": "_purpur-badge--error_1r1mu_37",
621
621
  "purpur-badge--black-friday": "_purpur-badge--black-friday_1r1mu_41"
622
- }, pr = "purpur-badge", $ = {
622
+ }, nr = "purpur-badge", b = {
623
623
  ATTENTION: "attention",
624
624
  SPECIAL: "special",
625
625
  NEUTRAL: "neutral",
@@ -630,20 +630,20 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
630
630
  BLACK_FRIDAY: "black-friday"
631
631
  }, He = (e) => {
632
632
  switch (e) {
633
- case $.ATTENTION:
634
- case $.SPECIAL:
633
+ case b.ATTENTION:
634
+ case b.SPECIAL:
635
635
  return Ze;
636
- case $.INFORMATION:
636
+ case b.INFORMATION:
637
637
  return Ge;
638
- case $.SUCCESS:
638
+ case b.SUCCESS:
639
639
  return Ne;
640
- case $.WARNING:
640
+ case b.WARNING:
641
641
  return Me;
642
- case $.ERROR:
642
+ case b.ERROR:
643
643
  return Ee;
644
- case $.NEUTRAL:
644
+ case b.NEUTRAL:
645
645
  return Ie;
646
- case $.BLACK_FRIDAY:
646
+ case b.BLACK_FRIDAY:
647
647
  return je;
648
648
  default:
649
649
  return;
@@ -657,14 +657,14 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
657
657
  className: r = "",
658
658
  ...t
659
659
  }) => {
660
- const o = He(a), u = ze([r, nr[pr], nr[`${pr}--${a}`]]);
660
+ const o = He(a), u = ze([r, or[nr], or[`${nr}--${a}`]]);
661
661
  return /* @__PURE__ */ _("span", { "aria-label": p, className: u, "data-testid": n, ...t, children: [
662
- i && o && /* @__PURE__ */ l(Ar, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
662
+ i && o && /* @__PURE__ */ l(kr, { "data-testid": `${n}-icon`, allyTitle: p, size: "xs", svg: o }),
663
663
  e
664
664
  ] });
665
665
  }, We = {
666
666
  "purpur-card-badge": "_purpur-card-badge_r7moe_1"
667
- }, Xe = y.bind(We), Ke = "purpur-card-badge", Ye = ({
667
+ }, Xe = m.bind(We), Ke = "purpur-card-badge", Ye = ({
668
668
  ["data-testid"]: e = "purpur-card-badge",
669
669
  variant: i,
670
670
  text: a
@@ -679,13 +679,13 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
679
679
  }
680
680
  ) : null, Je = {
681
681
  "purpur-card-content": "_purpur-card-content_2uc00_1"
682
- }, Qe = y.bind(Je), rt = "purpur-card-content", et = ({
682
+ }, Qe = m.bind(Je), rt = "purpur-card-content", et = ({
683
683
  ["data-testid"]: e = "purpur-card-content",
684
684
  children: i
685
685
  }) => /* @__PURE__ */ l("div", { className: Qe(rt), "data-testid": e, children: i }), tt = {
686
- "purpur-card-content-container": "_purpur-card-content-container_1oawn_1",
687
- "purpur-card-content-container--footer": "_purpur-card-content-container--footer_1oawn_12"
688
- }, at = y.bind(tt), lr = "purpur-card-content-container", it = ({
686
+ "purpur-card-content-container": "_purpur-card-content-container_ueryq_1",
687
+ "purpur-card-content-container--footer": "_purpur-card-content-container--footer_ueryq_12"
688
+ }, at = m.bind(tt), pr = "purpur-card-content-container", it = ({
689
689
  ["data-testid"]: e = "purpur-card-content-container",
690
690
  children: i,
691
691
  isFooter: a = !1
@@ -693,9 +693,9 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
693
693
  "div",
694
694
  {
695
695
  className: at([
696
- lr,
696
+ pr,
697
697
  {
698
- [`${lr}--footer`]: a
698
+ [`${pr}--footer`]: a
699
699
  }
700
700
  ]),
701
701
  "data-testid": e,
@@ -705,7 +705,7 @@ const ze = /* @__PURE__ */ qe(Te), nr = {
705
705
  function ot(e) {
706
706
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
707
707
  }
708
- var Br = { exports: {} };
708
+ var Or = { exports: {} };
709
709
  /*!
710
710
  Copyright (c) 2018 Jed Watson.
711
711
  Licensed under the MIT License (MIT), see
@@ -740,9 +740,9 @@ var Br = { exports: {} };
740
740
  }
741
741
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
742
742
  })();
743
- })(Br);
744
- var nt = Br.exports;
745
- const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1", j = {
743
+ })(Or);
744
+ var nt = Or.exports;
745
+ const lr = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1", j = {
746
746
  "purpur-spinner": "_purpur-spinner_1xozj_1",
747
747
  rotate: pt,
748
748
  "purpur-spinner--xxs": "_purpur-spinner--xxs_1xozj_4",
@@ -760,7 +760,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
760
760
  SM: "sm",
761
761
  MD: "md",
762
762
  LG: "lg"
763
- }, Fr = ({
763
+ }, Br = ({
764
764
  ["data-testid"]: e,
765
765
  disabled: i = !1,
766
766
  negative: a = !1,
@@ -769,13 +769,13 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
769
769
  }) => /* @__PURE__ */ l(
770
770
  "div",
771
771
  {
772
- className: ur([j[U], j[`${U}--${n}`]]),
772
+ className: lr([j[U], j[`${U}--${n}`]]),
773
773
  "data-testid": e,
774
774
  ...p,
775
775
  children: /* @__PURE__ */ l("svg", { viewBox: "0 0 50 50", children: /* @__PURE__ */ l(
776
776
  "circle",
777
777
  {
778
- className: ur(j[`${U}__circle`], {
778
+ className: lr(j[`${U}__circle`], {
779
779
  [j[`${U}__circle--disabled`]]: i,
780
780
  [j[`${U}__circle--negative`]]: a
781
781
  }),
@@ -800,7 +800,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
800
800
  "purpur-card-cta--expressive": "_purpur-card-cta--expressive_1fd16_98",
801
801
  "purpur-card-cta--expressive-negative": "_purpur-card-cta--expressive-negative_1fd16_108",
802
802
  "purpur-card-cta--text": "_purpur-card-cta--text_1fd16_128"
803
- }, dt = y.bind(st), O = "purpur-card-cta", ct = ({
803
+ }, dt = m.bind(st), O = "purpur-card-cta", ct = ({
804
804
  ["data-testid"]: e = "purpur-card-cta",
805
805
  className: i,
806
806
  children: a,
@@ -825,7 +825,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
825
825
  ])} ${O}`,
826
826
  "data-testid": e,
827
827
  ...o,
828
- children: r ? /* @__PURE__ */ l(Fr, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ _(mr, { children: [
828
+ children: r ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: n }) : /* @__PURE__ */ _(hr, { children: [
829
829
  p === "left" && a,
830
830
  t,
831
831
  p === "right" && a
@@ -835,7 +835,7 @@ const ur = /* @__PURE__ */ ot(nt), pt = "_rotate_1xozj_1", lt = "_dash_1xozj_1",
835
835
  function _t(e) {
836
836
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
837
837
  }
838
- var Mr = { exports: {} };
838
+ var Fr = { exports: {} };
839
839
  /*!
840
840
  Copyright (c) 2018 Jed Watson.
841
841
  Licensed under the MIT License (MIT), see
@@ -870,8 +870,8 @@ var Mr = { exports: {} };
870
870
  }
871
871
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
872
872
  })();
873
- })(Mr);
874
- var ft = Mr.exports;
873
+ })(Fr);
874
+ var ft = Fr.exports;
875
875
  const gt = /* @__PURE__ */ _t(ft), ht = {
876
876
  "purpur-icon": "_purpur-icon_8u1lq_1",
877
877
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
@@ -890,23 +890,23 @@ const gt = /* @__PURE__ */ _t(ft), ht = {
890
890
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',
891
891
  keywords: ["checkmark"],
892
892
  category: "utility"
893
- }, Nr = (e) => /* @__PURE__ */ l(
893
+ }, Mr = (e) => /* @__PURE__ */ l(
894
894
  J,
895
895
  {
896
896
  ...e,
897
897
  svg: mt
898
898
  }
899
899
  );
900
- Nr.displayName = "IconArrowRight";
901
- const Er = (e) => /* @__PURE__ */ l(
900
+ Mr.displayName = "IconArrowRight";
901
+ const Nr = (e) => /* @__PURE__ */ l(
902
902
  J,
903
903
  {
904
904
  ...e,
905
905
  svg: vt
906
906
  }
907
907
  );
908
- Er.displayName = "IconCheckmark";
909
- const yt = gt.bind(ht), sr = "purpur-icon", xt = "md", wt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), bt = ({ content: e = "", title: i } = {}) => {
908
+ Nr.displayName = "IconCheckmark";
909
+ const yt = gt.bind(ht), ur = "purpur-icon", xt = "md", wt = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), bt = ({ content: e = "", title: i } = {}) => {
910
910
  const a = [
911
911
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
912
912
  { name: "fill", value: "currentColor" },
@@ -925,7 +925,7 @@ const yt = gt.bind(ht), sr = "purpur-icon", xt = "md", wt = (e) => e.filter((i)
925
925
  const t = bt({
926
926
  content: $t(i.svg),
927
927
  title: a
928
- }), o = yt(n, sr, `${sr}--${p}`);
928
+ }), o = yt(n, ur, `${ur}--${p}`);
929
929
  return /* @__PURE__ */ l(
930
930
  "span",
931
931
  {
@@ -941,7 +941,7 @@ J.displayName = "Icon";
941
941
  function St(e) {
942
942
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
943
943
  }
944
- var Gr = { exports: {} };
944
+ var Er = { exports: {} };
945
945
  /*!
946
946
  Copyright (c) 2018 Jed Watson.
947
947
  Licensed under the MIT License (MIT), see
@@ -976,8 +976,8 @@ var Gr = { exports: {} };
976
976
  }
977
977
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
978
978
  })();
979
- })(Gr);
980
- var Ct = Gr.exports;
979
+ })(Er);
980
+ var Ct = Er.exports;
981
981
  const kt = /* @__PURE__ */ St(Ct), L = {
982
982
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
983
983
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
@@ -1030,16 +1030,16 @@ Q.displayName = "Paragraph";
1030
1030
  const Ot = {
1031
1031
  "purpur-card-feature-list": "_purpur-card-feature-list_ej4qm_1",
1032
1032
  "purpur-card-feature-list__list-item": "_purpur-card-feature-list__list-item_ej4qm_6"
1033
- }, dr = y.bind(Ot), cr = "purpur-card-feature-list", Bt = ({
1033
+ }, sr = m.bind(Ot), dr = "purpur-card-feature-list", Bt = ({
1034
1034
  ["data-testid"]: e = "purpur-card-feature-list",
1035
1035
  listItems: i
1036
- }) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: dr(cr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
1036
+ }) => i && i.length > 0 ? /* @__PURE__ */ l("ul", { className: sr(dr), "data-testid": e, children: i.map((a) => /* @__PURE__ */ _(
1037
1037
  "li",
1038
1038
  {
1039
- className: dr(`${cr}__list-item`),
1039
+ className: sr(`${dr}__list-item`),
1040
1040
  "data-testid": `${e}-item`,
1041
1041
  children: [
1042
- /* @__PURE__ */ l(Er, { size: "xs" }),
1042
+ /* @__PURE__ */ l(Nr, { size: "xs" }),
1043
1043
  /* @__PURE__ */ l(Q, { children: a })
1044
1044
  ]
1045
1045
  },
@@ -1058,7 +1058,7 @@ const Ot = {
1058
1058
  "purpur-card-link-arrow--secondary-negative": "_purpur-card-link-arrow--secondary-negative_1r4zu_87",
1059
1059
  "purpur-card-link-arrow--expressive": "_purpur-card-link-arrow--expressive_1r4zu_98",
1060
1060
  "purpur-card-link-arrow--expressive-negative": "_purpur-card-link-arrow--expressive-negative_1r4zu_108"
1061
- }, Mt = y.bind(Ft), N = "purpur-card-link-arrow", Nt = ({
1061
+ }, Mt = m.bind(Ft), M = "purpur-card-link-arrow", Nt = ({
1062
1062
  ["data-testid"]: e = "purpur-card-link-arrow",
1063
1063
  className: i,
1064
1064
  disabled: a = !1,
@@ -1068,22 +1068,22 @@ const Ot = {
1068
1068
  "div",
1069
1069
  {
1070
1070
  className: `${Mt([
1071
- N,
1071
+ M,
1072
1072
  i,
1073
- `${N}--md`,
1074
- `${N}--icon-only`,
1075
- `${N}--secondary`,
1073
+ `${M}--md`,
1074
+ `${M}--icon-only`,
1075
+ `${M}--secondary`,
1076
1076
  {
1077
- [`${N}--disabled`]: a
1077
+ [`${M}--disabled`]: a
1078
1078
  }
1079
- ])} ${N}`,
1079
+ ])} ${M}`,
1080
1080
  "data-testid": e,
1081
1081
  ...p,
1082
- children: n ? /* @__PURE__ */ l(Fr, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(Nr, { "data-testid": `${e}-arrow`, size: "md" })
1082
+ children: n ? /* @__PURE__ */ l(Br, { "data-testid": `${e}-spinner`, size: "xs", disabled: a }) : /* @__PURE__ */ l(Mr, { "data-testid": `${e}-arrow`, size: "md" })
1083
1083
  }
1084
1084
  ), Et = {
1085
1085
  "purpur-card-overline": "_purpur-card-overline_192fe_1"
1086
- }, Gt = y.bind(Et), Zt = "purpur-card-overline", It = ({
1086
+ }, Gt = m.bind(Et), Zt = "purpur-card-overline", It = ({
1087
1087
  ["data-testid"]: e = "purpur-card-overline",
1088
1088
  overline: i
1089
1089
  }) => i ? /* @__PURE__ */ l(Q, { className: Gt(Zt), "data-testid": e, children: i }) : null, jt = {
@@ -1096,14 +1096,14 @@ const Ot = {
1096
1096
  "purpur-card-trigger-item--button": "_purpur-card-trigger-item--button_1sp43_6",
1097
1097
  "purpur-card-trigger-item--disabled": "_purpur-card-trigger-item--disabled_1sp43_11"
1098
1098
  };
1099
- function G() {
1100
- return G = Object.assign ? Object.assign.bind() : function(e) {
1099
+ function E() {
1100
+ return E = Object.assign ? Object.assign.bind() : function(e) {
1101
1101
  for (var i = 1; i < arguments.length; i++) {
1102
1102
  var a = arguments[i];
1103
1103
  for (var n in a) ({}).hasOwnProperty.call(a, n) && (e[n] = a[n]);
1104
1104
  }
1105
1105
  return e;
1106
- }, G.apply(null, arguments);
1106
+ }, E.apply(null, arguments);
1107
1107
  }
1108
1108
  function Lt(e, i) {
1109
1109
  typeof e == "function" ? e(i) : e != null && (e.current = i);
@@ -1113,32 +1113,32 @@ function Rt(...e) {
1113
1113
  (a) => Lt(a, i)
1114
1114
  );
1115
1115
  }
1116
- const Zr = /* @__PURE__ */ S((e, i) => {
1117
- const { children: a, ...n } = e, p = D.toArray(a), r = p.find(Pt);
1116
+ const Gr = /* @__PURE__ */ $((e, i) => {
1117
+ const { children: a, ...n } = e, p = q.toArray(a), r = p.find(Dt);
1118
1118
  if (r) {
1119
- const t = r.props.children, o = p.map((u) => u === r ? D.count(t) > 1 ? D.only(null) : /* @__PURE__ */ H(t) ? t.props.children : null : u);
1120
- return /* @__PURE__ */ P(K, G({}, n, {
1119
+ const t = r.props.children, o = p.map((u) => u === r ? q.count(t) > 1 ? q.only(null) : /* @__PURE__ */ V(t) ? t.props.children : null : u);
1120
+ return /* @__PURE__ */ D(K, E({}, n, {
1121
1121
  ref: i
1122
- }), /* @__PURE__ */ H(t) ? /* @__PURE__ */ vr(t, void 0, o) : null);
1122
+ }), /* @__PURE__ */ V(t) ? /* @__PURE__ */ mr(t, void 0, o) : null);
1123
1123
  }
1124
- return /* @__PURE__ */ P(K, G({}, n, {
1124
+ return /* @__PURE__ */ D(K, E({}, n, {
1125
1125
  ref: i
1126
1126
  }), a);
1127
1127
  });
1128
- Zr.displayName = "Slot";
1129
- const K = /* @__PURE__ */ S((e, i) => {
1128
+ Gr.displayName = "Slot";
1129
+ const K = /* @__PURE__ */ $((e, i) => {
1130
1130
  const { children: a, ...n } = e;
1131
- return /* @__PURE__ */ H(a) ? /* @__PURE__ */ vr(a, {
1132
- ...qt(n, a.props),
1131
+ return /* @__PURE__ */ V(a) ? /* @__PURE__ */ mr(a, {
1132
+ ...Pt(n, a.props),
1133
1133
  ref: i ? Rt(i, a.ref) : a.ref
1134
- }) : D.count(a) > 1 ? D.only(null) : null;
1134
+ }) : q.count(a) > 1 ? q.only(null) : null;
1135
1135
  });
1136
1136
  K.displayName = "SlotClone";
1137
- const Dt = ({ children: e }) => /* @__PURE__ */ P(qr, null, e);
1138
- function Pt(e) {
1139
- return /* @__PURE__ */ H(e) && e.type === Dt;
1137
+ const qt = ({ children: e }) => /* @__PURE__ */ D(Pr, null, e);
1138
+ function Dt(e) {
1139
+ return /* @__PURE__ */ V(e) && e.type === qt;
1140
1140
  }
1141
- function qt(e, i) {
1141
+ function Pt(e, i) {
1142
1142
  const a = {
1143
1143
  ...i
1144
1144
  };
@@ -1177,11 +1177,11 @@ const Tt = [
1177
1177
  "svg",
1178
1178
  "ul"
1179
1179
  ], zt = Tt.reduce((e, i) => {
1180
- const a = /* @__PURE__ */ S((n, p) => {
1181
- const { asChild: r, ...t } = n, o = r ? Zr : i;
1182
- return Pr(() => {
1180
+ const a = /* @__PURE__ */ $((n, p) => {
1181
+ const { asChild: r, ...t } = n, o = r ? Gr : i;
1182
+ return Dr(() => {
1183
1183
  window[Symbol.for("radix-ui")] = !0;
1184
- }, []), /* @__PURE__ */ P(o, G({}, t, {
1184
+ }, []), /* @__PURE__ */ D(o, E({}, t, {
1185
1185
  ref: p
1186
1186
  }));
1187
1187
  });
@@ -1189,7 +1189,7 @@ const Tt = [
1189
1189
  ...e,
1190
1190
  [i]: a
1191
1191
  };
1192
- }, {}), Ht = /* @__PURE__ */ S((e, i) => /* @__PURE__ */ P(zt.span, G({}, e, {
1192
+ }, {}), Ht = /* @__PURE__ */ $((e, i) => /* @__PURE__ */ D(zt.span, E({}, e, {
1193
1193
  ref: i,
1194
1194
  style: {
1195
1195
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -1205,12 +1205,12 @@ const Tt = [
1205
1205
  wordWrap: "normal",
1206
1206
  ...e.style
1207
1207
  }
1208
- }))), Vt = Ht, _r = ({
1208
+ }))), Vt = Ht, cr = ({
1209
1209
  asChild: e,
1210
1210
  children: i,
1211
1211
  className: a = "",
1212
1212
  ["data-testid"]: n
1213
- }) => /* @__PURE__ */ l(Vt, { asChild: e, "data-testid": n, className: a, children: i }), fr = y.bind(Ut), B = "purpur-card-trigger-item", Wt = ({
1213
+ }) => /* @__PURE__ */ l(Vt, { asChild: e, "data-testid": n, className: a, children: i }), _r = m.bind(Ut), B = "purpur-card-trigger-item", Wt = ({
1214
1214
  ["data-testid"]: e = "purpur-card-trigger-item",
1215
1215
  disabled: i = !1,
1216
1216
  href: a,
@@ -1226,7 +1226,7 @@ const Tt = [
1226
1226
  "a",
1227
1227
  {
1228
1228
  "aria-disabled": i,
1229
- className: `${fr([
1229
+ className: `${_r([
1230
1230
  B,
1231
1231
  {
1232
1232
  [`${B}--disabled`]: i
@@ -1235,14 +1235,14 @@ const Tt = [
1235
1235
  "data-testid": e,
1236
1236
  href: i ? void 0 : a,
1237
1237
  tabIndex: i ? 0 : void 0,
1238
- children: /* @__PURE__ */ l(_r, { children: p })
1238
+ children: /* @__PURE__ */ l(cr, { children: p })
1239
1239
  }
1240
1240
  )
1241
1241
  ) : /* @__PURE__ */ l(
1242
1242
  "button",
1243
1243
  {
1244
1244
  "aria-disabled": i,
1245
- className: `${fr([
1245
+ className: `${_r([
1246
1246
  B,
1247
1247
  `${B}--button`,
1248
1248
  {
@@ -1252,10 +1252,10 @@ const Tt = [
1252
1252
  "data-testid": e,
1253
1253
  type: "button",
1254
1254
  onClick: r,
1255
- children: /* @__PURE__ */ l(_r, { children: p })
1255
+ children: /* @__PURE__ */ l(cr, { children: p })
1256
1256
  }
1257
1257
  );
1258
- }, Xt = y.bind(jt), W = "purpur-card-root", Ir = S(
1258
+ }, Xt = m.bind(jt), W = "purpur-card-root", Zr = $(
1259
1259
  ({
1260
1260
  ["data-testid"]: e = "purpur-card-root",
1261
1261
  children: i,
@@ -1268,7 +1268,7 @@ const Tt = [
1268
1268
  variant: u,
1269
1269
  ...c
1270
1270
  }, g) => {
1271
- const C = Xt([
1271
+ const S = Xt([
1272
1272
  W,
1273
1273
  a,
1274
1274
  {
@@ -1276,7 +1276,7 @@ const Tt = [
1276
1276
  [`${W}--full-height`]: p
1277
1277
  }
1278
1278
  ]);
1279
- return /* @__PURE__ */ _("div", { className: C, "data-testid": e, ref: g, ...c, children: [
1279
+ return /* @__PURE__ */ _("div", { className: S, "data-testid": e, ref: g, ...c, children: [
1280
1280
  i,
1281
1281
  (t || r) && o && /* @__PURE__ */ l(
1282
1282
  Wt,
@@ -1290,9 +1290,9 @@ const Tt = [
1290
1290
  ] });
1291
1291
  }
1292
1292
  );
1293
- Ir.displayName = "CardRoot";
1294
- const gr = y.bind(ke), X = "purpur-card", w = ({ children: e, className: i, ...a }) => {
1295
- const n = gr([
1293
+ Zr.displayName = "CardRoot";
1294
+ const fr = m.bind(ke), X = "purpur-card", x = ({ children: e, className: i, ...a }) => {
1295
+ const n = fr([
1296
1296
  X,
1297
1297
  i,
1298
1298
  {
@@ -1300,20 +1300,20 @@ const gr = y.bind(ke), X = "purpur-card", w = ({ children: e, className: i, ...a
1300
1300
  [`${X}--disabled`]: a.disabled
1301
1301
  }
1302
1302
  ]);
1303
- return /* @__PURE__ */ l(Ir, { className: gr(n), ...a, children: e });
1303
+ return /* @__PURE__ */ l(Zr, { className: fr(n), ...a, children: e });
1304
1304
  };
1305
- w.Badge = Ye;
1306
- w.LinkArrow = Nt;
1307
- w.Content = et;
1308
- w.ContentContainer = it;
1309
- w.Cta = ct;
1310
- w.FeatureList = Bt;
1311
- w.Overline = It;
1312
- w.displayName = "Card";
1305
+ x.Badge = Ye;
1306
+ x.LinkArrow = Nt;
1307
+ x.Content = et;
1308
+ x.ContentContainer = it;
1309
+ x.Cta = ct;
1310
+ x.FeatureList = Bt;
1311
+ x.Overline = It;
1312
+ x.displayName = "Card";
1313
1313
  function Kt(e) {
1314
1314
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1315
1315
  }
1316
- var jr = { exports: {} };
1316
+ var Ir = { exports: {} };
1317
1317
  /*!
1318
1318
  Copyright (c) 2018 Jed Watson.
1319
1319
  Licensed under the MIT License (MIT), see
@@ -1348,8 +1348,8 @@ var jr = { exports: {} };
1348
1348
  }
1349
1349
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
1350
1350
  })();
1351
- })(jr);
1352
- var Yt = jr.exports;
1351
+ })(Ir);
1352
+ var Yt = Ir.exports;
1353
1353
  const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
1354
1354
  "purpur-icon": "_purpur-icon_8u1lq_1",
1355
1355
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
@@ -1378,7 +1378,7 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
1378
1378
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M5.341 2.228c.75-.622 1.73-.43 2.305.145l2.783 2.783a1.9 1.9 0 0 1 0 2.687L8.843 9.43a.1.1 0 0 0 0 .142l5.586 5.585a.1.1 0 0 0 .142 0l1.585-1.585a1.9 1.9 0 0 1 2.687 0l3.5 3.5c.343.342.698 1.023.31 1.742-.346.645-1.173 1.615-3.154 2.936-1.75 1.167-3.667 1.269-5.297.903-1.61-.361-3.015-1.192-3.839-2.016a.9.9 0 0 1 1.273-1.272c.573.572 1.669 1.242 2.96 1.532 1.27.285 2.656.188 3.905-.645 1.483-.989 2.137-1.68 2.418-2.06l-3.348-3.347a.1.1 0 0 0-.142 0l-1.586 1.585a1.9 1.9 0 0 1-2.687 0l-5.585-5.585a1.9 1.9 0 0 1 0-2.688l1.585-1.585a.1.1 0 0 0 0-.142L6.41 3.682c-.447.383-1.183 1.102-2.206 2.38-.878 1.097-1.14 2.08-1.127 2.951.013.898.323 1.758.732 2.59.24.488.733 1.079 1.551 1.88.561.549 1.227 1.152 2.002 1.854.344.312.71.644 1.098 1a.9.9 0 0 1-1.215 1.327c-.367-.336-.722-.658-1.061-.965a77.443 77.443 0 0 1-2.082-1.93c-.831-.813-1.523-1.586-1.909-2.372-.456-.93-.896-2.07-.916-3.356-.02-1.314.399-2.7 1.521-4.103 1.148-1.435 1.995-2.254 2.544-2.71Z" clip-rule="evenodd"/></svg>',
1379
1379
  keywords: ["phone"],
1380
1380
  category: "device"
1381
- }, ia = Jt.bind(Qt), hr = "purpur-icon", oa = "md", na = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), pa = ({ content: e = "", title: i } = {}) => {
1381
+ }, ia = Jt.bind(Qt), gr = "purpur-icon", oa = "md", na = (e) => e.filter((i) => Object.keys(i).length >= 1).map((i) => `${i.name}="${i.value}"`).join(" "), pa = ({ content: e = "", title: i } = {}) => {
1382
1382
  const a = [
1383
1383
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1384
1384
  { name: "fill", value: "currentColor" },
@@ -1397,7 +1397,7 @@ const Jt = /* @__PURE__ */ Kt(Yt), Qt = {
1397
1397
  const t = pa({
1398
1398
  content: la(i.svg),
1399
1399
  title: a
1400
- }), o = ia(n, hr, `${hr}--${p}`);
1400
+ }), o = ia(n, gr, `${gr}--${p}`);
1401
1401
  return /* @__PURE__ */ l(
1402
1402
  "span",
1403
1403
  {
@@ -1413,7 +1413,7 @@ Y.displayName = "Icon";
1413
1413
  function ua(e) {
1414
1414
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1415
1415
  }
1416
- var Ur = { exports: {} };
1416
+ var jr = { exports: {} };
1417
1417
  /*!
1418
1418
  Copyright (c) 2018 Jed Watson.
1419
1419
  Licensed under the MIT License (MIT), see
@@ -1448,8 +1448,8 @@ var Ur = { exports: {} };
1448
1448
  }
1449
1449
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
1450
1450
  })();
1451
- })(Ur);
1452
- var sa = Ur.exports;
1451
+ })(jr);
1452
+ var sa = jr.exports;
1453
1453
  const da = /* @__PURE__ */ ua(sa), ca = {
1454
1454
  "purpur-cta-link": "_purpur-cta-link_1mhg7_1",
1455
1455
  "purpur-cta-link--sm": "_purpur-cta-link--sm_1mhg7_33",
@@ -1464,12 +1464,12 @@ const da = /* @__PURE__ */ ua(sa), ca = {
1464
1464
  "purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1mhg7_87",
1465
1465
  "purpur-cta-link--expressive": "_purpur-cta-link--expressive_1mhg7_98",
1466
1466
  "purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1mhg7_108"
1467
- }, _a = da.bind(ca), E = "purpur-cta-link", fa = {
1467
+ }, _a = da.bind(ca), N = "purpur-cta-link", fa = {
1468
1468
  forward: ea,
1469
1469
  external: ta,
1470
1470
  back: ra,
1471
1471
  phone: aa
1472
- }, ga = S(
1472
+ }, ga = $(
1473
1473
  ({
1474
1474
  children: e,
1475
1475
  className: i,
@@ -1482,34 +1482,34 @@ const da = /* @__PURE__ */ ua(sa), ca = {
1482
1482
  icon: u = "forward",
1483
1483
  ...c
1484
1484
  }, g) => {
1485
- const C = _a(
1485
+ const S = _a(
1486
1486
  [
1487
1487
  i,
1488
- E,
1489
- `${E}--${r ? `${o}-negative` : o}`,
1490
- `${E}--${t}`
1488
+ N,
1489
+ `${N}--${r ? `${o}-negative` : o}`,
1490
+ `${N}--${t}`
1491
1491
  ],
1492
1492
  {
1493
- [`${E}--icon-only`]: p,
1494
- [`${E}--negative`]: r,
1495
- [`${E}--full-width`]: n
1493
+ [`${N}--icon-only`]: p,
1494
+ [`${N}--negative`]: r,
1495
+ [`${N}--full-width`]: n
1496
1496
  }
1497
- ), d = fa[u], F = /* @__PURE__ */ _(mr, { children: [
1497
+ ), d = fa[u], F = /* @__PURE__ */ _(hr, { children: [
1498
1498
  (u === "back" || u === "phone") && /* @__PURE__ */ l(Y, { svg: d, size: t === "lg" ? "sm" : "xs" }),
1499
1499
  !p && e,
1500
1500
  (u === "forward" || u === "external") && /* @__PURE__ */ l(Y, { svg: d, size: t === "lg" ? "sm" : "xs" })
1501
- ] }), x = {
1501
+ ] }), v = {
1502
1502
  ...c,
1503
- className: C,
1503
+ className: S,
1504
1504
  "data-testid": a
1505
1505
  };
1506
- return "href" in c && c.href ? /* @__PURE__ */ l("a", { ...x, ref: g, children: F }) : /* @__PURE__ */ l("span", { ...x, ref: g, children: F });
1506
+ return "href" in c && c.href ? /* @__PURE__ */ l("a", { ...v, ref: g, children: F }) : /* @__PURE__ */ l("span", { ...v, ref: g, children: F });
1507
1507
  }
1508
1508
  );
1509
1509
  function ha(e) {
1510
1510
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1511
1511
  }
1512
- var Lr = { exports: {} };
1512
+ var Ur = { exports: {} };
1513
1513
  /*!
1514
1514
  Copyright (c) 2018 Jed Watson.
1515
1515
  Licensed under the MIT License (MIT), see
@@ -1544,9 +1544,9 @@ var Lr = { exports: {} };
1544
1544
  }
1545
1545
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
1546
1546
  })();
1547
- })(Lr);
1548
- var ma = Lr.exports;
1549
- const va = /* @__PURE__ */ ha(ma), T = {
1547
+ })(Ur);
1548
+ var ma = Ur.exports;
1549
+ const va = /* @__PURE__ */ ha(ma), z = {
1550
1550
  "purpur-heading": "_purpur-heading_k9fhq_1",
1551
1551
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
1552
1552
  "purpur-heading--negative": "_purpur-heading--negative_k9fhq_11",
@@ -1571,7 +1571,7 @@ const va = /* @__PURE__ */ ha(ma), T = {
1571
1571
  TITLE600: "title-600",
1572
1572
  TITLE700: "title-700",
1573
1573
  SUBSECTION100: "subsection-100"
1574
- }, z = "purpur-heading", Rr = ({
1574
+ }, H = "purpur-heading", Lr = ({
1575
1575
  ["data-testid"]: e,
1576
1576
  children: i,
1577
1577
  className: a = "",
@@ -1583,20 +1583,20 @@ const va = /* @__PURE__ */ ha(ma), T = {
1583
1583
  }) => {
1584
1584
  const u = r, c = va([
1585
1585
  a,
1586
- T[z],
1587
- T[`${z}--${t}`],
1586
+ z[H],
1587
+ z[`${H}--${t}`],
1588
1588
  {
1589
- [T[`${z}--hyphens`]]: n,
1590
- [T[`${z}--negative`]]: p
1589
+ [z[`${H}--hyphens`]]: n,
1590
+ [z[`${H}--negative`]]: p
1591
1591
  }
1592
1592
  ]);
1593
1593
  return /* @__PURE__ */ l(u, { ...o, className: c, "data-testid": e, children: i });
1594
1594
  };
1595
- Rr.displayName = "Heading";
1595
+ Lr.displayName = "Heading";
1596
1596
  function xa(e) {
1597
1597
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1598
1598
  }
1599
- var Dr = { exports: {} };
1599
+ var Rr = { exports: {} };
1600
1600
  /*!
1601
1601
  Copyright (c) 2018 Jed Watson.
1602
1602
  Licensed under the MIT License (MIT), see
@@ -1631,8 +1631,8 @@ var Dr = { exports: {} };
1631
1631
  }
1632
1632
  e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
1633
1633
  })();
1634
- })(Dr);
1635
- var wa = Dr.exports;
1634
+ })(Rr);
1635
+ var wa = Rr.exports;
1636
1636
  const ba = /* @__PURE__ */ xa(wa), $a = {
1637
1637
  "purpur-promotion-card": "_purpur-promotion-card_12rh3_1",
1638
1638
  "purpur-promotion-card--without-image": "_purpur-promotion-card--without-image_12rh3_8",
@@ -1651,7 +1651,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1651
1651
  "purpur-promotion-card__image-wrapper": "_purpur-promotion-card__image-wrapper_12rh3_140",
1652
1652
  "purpur-promotion-card__image-wrapper--decorative": "_purpur-promotion-card__image-wrapper--decorative_12rh3_143",
1653
1653
  "purpur-promotion-card__image-wrapper--product": "_purpur-promotion-card__image-wrapper--product_12rh3_144"
1654
- }, Ea = ["primary", "secondary", "quaternary"], Sa = {
1654
+ }, Za = ["primary", "secondary", "quaternary"], Sa = {
1655
1655
  primary: "var(--purpur-color-background-tone-on-tone-primary)",
1656
1656
  secondary: "var(--purpur-color-background-tone-on-tone-secondary)",
1657
1657
  quaternary: "var(--purpur-color-background-tone-on-tone-quaternary)"
@@ -1675,32 +1675,32 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1675
1675
  className: u,
1676
1676
  actions: c,
1677
1677
  children: g,
1678
- style: C,
1678
+ style: S,
1679
1679
  ...d
1680
1680
  }, F) => {
1681
- let x = d, h, k;
1681
+ let v = d, h, C;
1682
1682
  if ("decorativeImage" in d) {
1683
- const { hasGradient: m, decorativeImage: v, ...M } = d;
1684
- h = v, k = m, x = M;
1683
+ const { hasGradient: y, decorativeImage: k, ...G } = d;
1684
+ h = k, C = y, v = G;
1685
1685
  } else if ("productImage" in d) {
1686
- const { hasGradient: m, productImage: v, ...M } = d;
1687
- h = v, k = m, x = M;
1686
+ const { hasGradient: y, productImage: k, ...G } = d;
1687
+ h = k, C = y, v = G;
1688
1688
  } else if ("hasGradient" in d) {
1689
- const { hasGradient: m, ...v } = d;
1690
- k = m, x = v;
1689
+ const { hasGradient: y, ...k } = d;
1690
+ C = y, v = k;
1691
1691
  }
1692
- const q = {
1692
+ const P = {
1693
1693
  "--promotion-card-background": Sa[i],
1694
1694
  "--promotion-card-color": ka[i],
1695
1695
  "--promotion-card-background-image": Ca[i]
1696
1696
  };
1697
- return /* @__PURE__ */ l(w, { ref: F, className: f(`${s}__card`), children: /* @__PURE__ */ _(
1697
+ return /* @__PURE__ */ l(x, { ref: F, className: f(`${s}__card`), children: /* @__PURE__ */ _(
1698
1698
  "div",
1699
1699
  {
1700
1700
  "data-testid": e,
1701
1701
  style: {
1702
- ...q,
1703
- ...C
1702
+ ...P,
1703
+ ...S
1704
1704
  },
1705
1705
  className: f([
1706
1706
  u,
@@ -1711,7 +1711,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1711
1711
  [`${s}--without-image`]: !h
1712
1712
  }
1713
1713
  ]),
1714
- ...x,
1714
+ ...v,
1715
1715
  children: [
1716
1716
  /* @__PURE__ */ _(
1717
1717
  "div",
@@ -1730,7 +1730,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1730
1730
  ] }) }),
1731
1731
  /* @__PURE__ */ _("div", { className: f(`${s}__main-content`), children: [
1732
1732
  /* @__PURE__ */ l(
1733
- Rr,
1733
+ Lr,
1734
1734
  {
1735
1735
  tag: r,
1736
1736
  variant: t,
@@ -1741,29 +1741,15 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1741
1741
  ),
1742
1742
  /* @__PURE__ */ _("div", { className: f(`${s}__body`), children: [
1743
1743
  /* @__PURE__ */ l("div", { className: f(`${s}__child-content`), children: g }),
1744
- c && c.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: c.map(
1745
- ({ label: m, variant: v, iconOnly: M = void 0, ...V }, rr) => Oa(V) ? /* @__PURE__ */ l(
1746
- ga,
1747
- {
1748
- iconOnly: M,
1749
- variant: v ?? rr === 0 ? "primary" : "secondary",
1750
- negative: v === "primary",
1751
- ...V,
1752
- children: m
1753
- },
1754
- m
1755
- ) : /* @__PURE__ */ l(
1756
- Sr,
1757
- {
1758
- iconOnly: M,
1759
- variant: v ?? rr === 0 ? "primary" : "secondary",
1760
- negative: v === "primary",
1761
- ...V,
1762
- children: m
1763
- },
1764
- m
1765
- )
1766
- ) })
1744
+ c && c.length > 0 && /* @__PURE__ */ l("div", { className: f(`${s}__actions`), children: c.map(({ label: y, variant: k, ...G }, qr) => {
1745
+ const T = {
1746
+ variant: k ?? qr === 0 ? "primary" : "secondary",
1747
+ negative: i === "primary",
1748
+ ...G,
1749
+ children: y
1750
+ };
1751
+ return Oa(T) ? /* @__PURE__ */ l(ga, { ...T }, y) : Ba(T) ? /* @__PURE__ */ l($r, { ...T }, y) : null;
1752
+ }) })
1767
1753
  ] })
1768
1754
  ] })
1769
1755
  ]
@@ -1781,7 +1767,7 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1781
1767
  ]),
1782
1768
  children: [
1783
1769
  h,
1784
- k && /* @__PURE__ */ l(
1770
+ C && /* @__PURE__ */ l(
1785
1771
  "div",
1786
1772
  {
1787
1773
  className: f(`${s}__image-gradient`),
@@ -1794,10 +1780,10 @@ const ba = /* @__PURE__ */ xa(wa), $a = {
1794
1780
  ]
1795
1781
  }
1796
1782
  ) });
1797
- }, Oa = (e) => "href" in e, Ba = S(Aa);
1798
- Ba.displayName = "PromotionCard";
1783
+ }, Oa = (e) => "href" in e, Ba = (e) => "onClick" in e, Fa = $(Aa);
1784
+ Fa.displayName = "PromotionCard";
1799
1785
  export {
1800
- Ba as PromotionCard,
1801
- Ea as promotionCardVariants
1786
+ Fa as PromotionCard,
1787
+ Za as promotionCardVariants
1802
1788
  };
1803
1789
  //# sourceMappingURL=promotion-card.es.js.map