@purpurds/content-block 5.33.0 → 5.34.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.
@@ -1,6 +1,6 @@
1
- import { jsxs as w, jsx as i, Fragment as Q } from "react/jsx-runtime";
2
- import M, { forwardRef as rr, Children as er } from "react";
3
- function tr(t) {
1
+ import { jsxs as w, jsx as i, Fragment as rr } from "react/jsx-runtime";
2
+ import M, { forwardRef as er, Children as tr } from "react";
3
+ function ar(t) {
4
4
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
5
5
  }
6
6
  var E = { exports: {} };
@@ -39,8 +39,8 @@ var E = { exports: {} };
39
39
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
40
40
  })();
41
41
  })(E);
42
- var ar = E.exports;
43
- const nr = /* @__PURE__ */ tr(ar), ur = {
42
+ var nr = E.exports;
43
+ const ur = /* @__PURE__ */ ar(nr), pr = {
44
44
  "purpur-icon": "_purpur-icon_8u1lq_1",
45
45
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
46
46
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -48,61 +48,61 @@ const nr = /* @__PURE__ */ tr(ar), ur = {
48
48
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
49
49
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
50
50
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
51
- }, pr = {
51
+ }, lr = {
52
52
  name: "alert",
53
53
  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>',
54
54
  keywords: ["alert"],
55
55
  category: "status"
56
- }, lr = {
56
+ }, ir = {
57
57
  name: "check-circle",
58
58
  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>',
59
59
  keywords: ["check-circle"],
60
60
  category: "status"
61
- }, ir = {
61
+ }, or = {
62
62
  name: "error",
63
63
  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>',
64
64
  keywords: ["error"],
65
65
  category: "status"
66
- }, or = {
66
+ }, sr = {
67
67
  name: "info",
68
68
  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>',
69
69
  keywords: ["info"],
70
70
  category: "status"
71
- }, sr = {
71
+ }, cr = {
72
72
  name: "offering",
73
73
  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>',
74
74
  keywords: ["offering"],
75
75
  category: "other"
76
- }, cr = {
76
+ }, dr = {
77
77
  name: "question",
78
78
  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>',
79
79
  keywords: ["question"],
80
80
  category: "status"
81
- }, dr = {
81
+ }, _r = {
82
82
  name: "tag",
83
83
  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>',
84
84
  keywords: ["tag"],
85
85
  category: "other"
86
- }, _r = nr.bind(ur), Z = "purpur-icon", gr = "md", hr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), vr = ({ content: t = "", title: u } = {}) => {
86
+ }, gr = ur.bind(pr), Z = "purpur-icon", hr = "md", vr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), fr = ({ content: t = "", title: u } = {}) => {
87
87
  const n = [
88
88
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
89
89
  { name: "fill", value: "currentColor" },
90
90
  { name: "viewBox", value: "0 0 24 24" },
91
91
  u ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
92
92
  ], l = u ? `<title>${u}</title>` : "";
93
- return `<svg ${hr(n)}>${l}${t}</svg>`;
94
- }, fr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), P = ({
93
+ return `<svg ${vr(n)}>${l}${t}</svg>`;
94
+ }, mr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), C = ({
95
95
  ["data-testid"]: t,
96
96
  svg: u,
97
97
  allyTitle: n,
98
98
  className: l,
99
- size: p = gr,
99
+ size: p = hr,
100
100
  ...r
101
101
  }) => {
102
- const e = vr({
103
- content: fr(u.svg),
102
+ const e = fr({
103
+ content: mr(u.svg),
104
104
  title: n
105
- }), a = _r(l, Z, `${Z}--${p}`);
105
+ }), a = gr(l, Z, `${Z}--${p}`);
106
106
  return /* @__PURE__ */ i(
107
107
  "span",
108
108
  {
@@ -114,11 +114,11 @@ const nr = /* @__PURE__ */ tr(ar), ur = {
114
114
  }
115
115
  );
116
116
  };
117
- P.displayName = "Icon";
118
- function mr(t) {
117
+ C.displayName = "Icon";
118
+ function yr(t) {
119
119
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
120
120
  }
121
- var R = { exports: {} };
121
+ var P = { exports: {} };
122
122
  /*!
123
123
  Copyright (c) 2018 Jed Watson.
124
124
  Licensed under the MIT License (MIT), see
@@ -153,9 +153,9 @@ var R = { exports: {} };
153
153
  }
154
154
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
155
155
  })();
156
- })(R);
157
- var yr = R.exports;
158
- const wr = /* @__PURE__ */ mr(yr), I = {
156
+ })(P);
157
+ var wr = P.exports;
158
+ const br = /* @__PURE__ */ yr(wr), I = {
159
159
  "purpur-badge": "_purpur-badge_19vzu_1",
160
160
  "purpur-badge--attention": "_purpur-badge--attention_19vzu_13",
161
161
  "purpur-badge--special": "_purpur-badge--special_19vzu_17",
@@ -174,23 +174,23 @@ const wr = /* @__PURE__ */ mr(yr), I = {
174
174
  WARNING: "warning",
175
175
  ERROR: "error",
176
176
  BLACK_FRIDAY: "black-friday"
177
- }, br = (t) => {
177
+ }, kr = (t) => {
178
178
  switch (t) {
179
179
  case g.ATTENTION:
180
180
  case g.SPECIAL:
181
- return sr;
181
+ return cr;
182
182
  case g.INFORMATION:
183
- return or;
183
+ return sr;
184
184
  case g.SUCCESS:
185
- return lr;
185
+ return ir;
186
186
  case g.WARNING:
187
- return pr;
187
+ return lr;
188
188
  case g.ERROR:
189
- return ir;
189
+ return or;
190
190
  case g.NEUTRAL:
191
- return cr;
192
- case g.BLACK_FRIDAY:
193
191
  return dr;
192
+ case g.BLACK_FRIDAY:
193
+ return _r;
194
194
  default:
195
195
  return;
196
196
  }
@@ -203,16 +203,16 @@ const wr = /* @__PURE__ */ mr(yr), I = {
203
203
  className: r = "",
204
204
  ...e
205
205
  }) => {
206
- const a = br(n), o = wr([r, I[q], I[`${q}--${n}`]]);
206
+ const a = kr(n), o = br([r, I[q], I[`${q}--${n}`]]);
207
207
  return /* @__PURE__ */ w("span", { "aria-label": p, className: o, "data-testid": l, ...e, children: [
208
- u && a && /* @__PURE__ */ i(P, { "data-testid": `${l}-icon`, allyTitle: p, size: "xs", svg: a }),
208
+ u && a && /* @__PURE__ */ i(C, { "data-testid": `${l}-icon`, allyTitle: p, size: "xs", svg: a }),
209
209
  t
210
210
  ] });
211
211
  };
212
- function kr(t) {
212
+ function $r(t) {
213
213
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
214
214
  }
215
- var C = { exports: {} };
215
+ var R = { exports: {} };
216
216
  /*!
217
217
  Copyright (c) 2018 Jed Watson.
218
218
  Licensed under the MIT License (MIT), see
@@ -247,9 +247,9 @@ var C = { exports: {} };
247
247
  }
248
248
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
249
249
  })();
250
- })(C);
251
- var $r = C.exports;
252
- const Nr = /* @__PURE__ */ kr($r), Ar = {
250
+ })(R);
251
+ var Nr = R.exports;
252
+ const Ar = /* @__PURE__ */ $r(Nr), Sr = {
253
253
  "purpur-icon": "_purpur-icon_8u1lq_1",
254
254
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
255
255
  "purpur-icon--xs": "_purpur-icon--xs_8u1lq_8",
@@ -257,46 +257,46 @@ const Nr = /* @__PURE__ */ kr($r), Ar = {
257
257
  "purpur-icon--md": "_purpur-icon--md_8u1lq_16",
258
258
  "purpur-icon--lg": "_purpur-icon--lg_8u1lq_20",
259
259
  "purpur-icon--xl": "_purpur-icon--xl_8u1lq_24"
260
- }, Sr = {
260
+ }, Or = {
261
261
  name: "arrow-left",
262
262
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 12a.9.9 0 0 1 .264-.636l5.5-5.5a.9.9 0 0 1 1.272 1.272L6.173 11.1H20a.9.9 0 0 1 0 1.8H6.173l3.963 3.964a.9.9 0 1 1-1.272 1.272l-5.5-5.5A.9.9 0 0 1 3.1 12Z" clip-rule="evenodd"/></svg>',
263
263
  keywords: ["arrow-left"],
264
264
  category: "utility"
265
- }, Or = {
265
+ }, Mr = {
266
266
  name: "arrow-right",
267
267
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M20.9 12a.9.9 0 0 1-.264.636l-5.5 5.5a.9.9 0 0 1-1.272-1.272l3.963-3.964H4a.9.9 0 0 1 0-1.8h13.827l-3.963-3.964a.9.9 0 1 1 1.272-1.272l5.5 5.5A.9.9 0 0 1 20.9 12Z" clip-rule="evenodd"/></svg>',
268
268
  keywords: ["arrow-right"],
269
269
  category: "utility"
270
- }, Mr = {
270
+ }, Zr = {
271
271
  name: "external",
272
272
  svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M15 3.4a.9.9 0 1 1 0-1.8h6.5a.9.9 0 0 1 .9.9V9a.9.9 0 1 1-1.8 0V4.673l-7.964 7.963a.9.9 0 1 1-1.272-1.272L19.327 3.4H15ZM1.6 5c0-1.05.85-1.9 1.9-1.9h6a.9.9 0 0 1 0 1.8h-6a.1.1 0 0 0-.1.1v15.5a.1.1 0 0 0 .1.1h16a.1.1 0 0 0 .1-.1V14a.9.9 0 1 1 1.8 0v6.5a1.9 1.9 0 0 1-1.9 1.9h-16a1.9 1.9 0 0 1-1.9-1.9V5Z" clip-rule="evenodd"/></svg>',
273
273
  keywords: ["external"],
274
274
  category: "media"
275
- }, Zr = {
275
+ }, Ir = {
276
276
  name: "phone",
277
277
  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>',
278
278
  keywords: ["phone"],
279
279
  category: "device"
280
- }, Ir = Nr.bind(Ar), T = "purpur-icon", qr = "md", Tr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), Lr = ({ content: t = "", title: u } = {}) => {
280
+ }, qr = Ar.bind(Sr), T = "purpur-icon", Tr = "md", Lr = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), jr = ({ content: t = "", title: u } = {}) => {
281
281
  const n = [
282
282
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
283
283
  { name: "fill", value: "currentColor" },
284
284
  { name: "viewBox", value: "0 0 24 24" },
285
285
  u ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
286
286
  ], l = u ? `<title>${u}</title>` : "";
287
- return `<svg ${Tr(n)}>${l}${t}</svg>`;
288
- }, jr = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), S = ({
287
+ return `<svg ${Lr(n)}>${l}${t}</svg>`;
288
+ }, Er = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), S = ({
289
289
  ["data-testid"]: t,
290
290
  svg: u,
291
291
  allyTitle: n,
292
292
  className: l,
293
- size: p = qr,
293
+ size: p = Tr,
294
294
  ...r
295
295
  }) => {
296
- const e = Lr({
297
- content: jr(u.svg),
296
+ const e = jr({
297
+ content: Er(u.svg),
298
298
  title: n
299
- }), a = Ir(l, T, `${T}--${p}`);
299
+ }), a = qr(l, T, `${T}--${p}`);
300
300
  return /* @__PURE__ */ i(
301
301
  "span",
302
302
  {
@@ -309,7 +309,7 @@ const Nr = /* @__PURE__ */ kr($r), Ar = {
309
309
  );
310
310
  };
311
311
  S.displayName = "Icon";
312
- function Er(t) {
312
+ function Cr(t) {
313
313
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
314
314
  }
315
315
  var B = { exports: {} };
@@ -349,7 +349,7 @@ var B = { exports: {} };
349
349
  })();
350
350
  })(B);
351
351
  var Pr = B.exports;
352
- const Rr = /* @__PURE__ */ Er(Pr), Cr = {
352
+ const Rr = /* @__PURE__ */ Cr(Pr), Br = {
353
353
  "purpur-cta-link": "_purpur-cta-link_1e75l_1",
354
354
  "purpur-cta-link--xs": "_purpur-cta-link--xs_1e75l_33",
355
355
  "purpur-cta-link--icon-only": "_purpur-cta-link--icon-only_1e75l_36",
@@ -364,12 +364,12 @@ const Rr = /* @__PURE__ */ Er(Pr), Cr = {
364
364
  "purpur-cta-link--secondary-negative": "_purpur-cta-link--secondary-negative_1e75l_93",
365
365
  "purpur-cta-link--expressive": "_purpur-cta-link--expressive_1e75l_104",
366
366
  "purpur-cta-link--expressive-negative": "_purpur-cta-link--expressive-negative_1e75l_114"
367
- }, Br = Rr.bind(Cr), v = "purpur-cta-link", Hr = {
368
- forward: Or,
369
- external: Mr,
370
- back: Sr,
371
- phone: Zr
372
- }, zr = rr(
367
+ }, Hr = Rr.bind(Br), v = "purpur-cta-link", zr = {
368
+ forward: Mr,
369
+ external: Zr,
370
+ back: Or,
371
+ phone: Ir
372
+ }, H = er(
373
373
  ({
374
374
  children: t,
375
375
  className: u,
@@ -383,7 +383,7 @@ const Rr = /* @__PURE__ */ Er(Pr), Cr = {
383
383
  icon: _ = "forward",
384
384
  ...f
385
385
  }, h) => {
386
- const A = Br(
386
+ const A = Hr(
387
387
  [
388
388
  u,
389
389
  v,
@@ -395,7 +395,7 @@ const Rr = /* @__PURE__ */ Er(Pr), Cr = {
395
395
  [`${v}--negative`]: e,
396
396
  [`${v}--full-width`]: l
397
397
  }
398
- ), b = Hr[_], x = /* @__PURE__ */ w(Q, { children: [
398
+ ), b = zr[_], k = /* @__PURE__ */ w(rr, { children: [
399
399
  r && (_ === "back" || _ === "phone") && /* @__PURE__ */ i(S, { svg: b, size: a === "lg" ? "sm" : "xs" }),
400
400
  (!p || p && !r) && t,
401
401
  r && (_ === "forward" || _ === "external") && /* @__PURE__ */ i(S, { svg: b, size: a === "lg" ? "sm" : "xs" })
@@ -404,13 +404,14 @@ const Rr = /* @__PURE__ */ Er(Pr), Cr = {
404
404
  className: A,
405
405
  "data-testid": n
406
406
  };
407
- return "href" in f && f.href ? /* @__PURE__ */ i("a", { ...d, ref: h, children: x }) : /* @__PURE__ */ i("span", { ...d, ref: h, children: x });
407
+ return "href" in f && f.href ? /* @__PURE__ */ i("a", { ...d, ref: h, children: k }) : /* @__PURE__ */ i("span", { ...d, ref: h, children: k });
408
408
  }
409
409
  );
410
+ H.displayName = "CtaLink";
410
411
  function Vr(t) {
411
412
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
412
413
  }
413
- var H = { exports: {} };
414
+ var z = { exports: {} };
414
415
  /*!
415
416
  Copyright (c) 2018 Jed Watson.
416
417
  Licensed under the MIT License (MIT), see
@@ -445,8 +446,8 @@ var H = { exports: {} };
445
446
  }
446
447
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
447
448
  })();
448
- })(H);
449
- var Dr = H.exports;
449
+ })(z);
450
+ var Dr = z.exports;
450
451
  const Gr = /* @__PURE__ */ Vr(Dr), $ = {
451
452
  "purpur-heading": "_purpur-heading_k9fhq_1",
452
453
  "purpur-heading--hyphens": "_purpur-heading--hyphens_k9fhq_8",
@@ -472,7 +473,7 @@ const Gr = /* @__PURE__ */ Vr(Dr), $ = {
472
473
  TITLE600: "title-600",
473
474
  TITLE700: "title-700",
474
475
  SUBSECTION100: "subsection-100"
475
- }, N = "purpur-heading", z = ({
476
+ }, N = "purpur-heading", V = ({
476
477
  ["data-testid"]: t,
477
478
  children: u,
478
479
  className: n = "",
@@ -493,11 +494,11 @@ const Gr = /* @__PURE__ */ Vr(Dr), $ = {
493
494
  ]);
494
495
  return /* @__PURE__ */ i(o, { ...a, className: _, "data-testid": t, children: u });
495
496
  };
496
- z.displayName = "Heading";
497
+ V.displayName = "Heading";
497
498
  function Ur(t) {
498
499
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
499
500
  }
500
- var V = { exports: {} };
501
+ var D = { exports: {} };
501
502
  /*!
502
503
  Copyright (c) 2018 Jed Watson.
503
504
  Licensed under the MIT License (MIT), see
@@ -532,8 +533,8 @@ var V = { exports: {} };
532
533
  }
533
534
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
534
535
  })();
535
- })(V);
536
- var Wr = V.exports;
536
+ })(D);
537
+ var Wr = D.exports;
537
538
  const Yr = /* @__PURE__ */ Ur(Wr), Jr = {
538
539
  "purpur-icon": "_purpur-icon_8u1lq_1",
539
540
  "purpur-icon--xxs": "_purpur-icon--xxs_8u1lq_4",
@@ -547,14 +548,14 @@ const Yr = /* @__PURE__ */ Ur(Wr), Jr = {
547
548
  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>',
548
549
  keywords: ["checkmark"],
549
550
  category: "utility"
550
- }, D = (t) => /* @__PURE__ */ i(
551
- G,
551
+ }, G = (t) => /* @__PURE__ */ i(
552
+ F,
552
553
  {
553
554
  ...t,
554
555
  svg: Kr
555
556
  }
556
557
  );
557
- D.displayName = "IconCheckmark";
558
+ G.displayName = "IconCheckmark";
558
559
  const Xr = Yr.bind(Jr), L = "purpur-icon", Qr = "md", re = (t) => t.filter((u) => Object.keys(u).length >= 1).map((u) => `${u.name}="${u.value}"`).join(" "), ee = ({ content: t = "", title: u } = {}) => {
559
560
  const n = [
560
561
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -563,7 +564,7 @@ const Xr = Yr.bind(Jr), L = "purpur-icon", Qr = "md", re = (t) => t.filter((u) =
563
564
  u ? { name: "role", value: "img" } : { name: "aria-hidden", value: "true" }
564
565
  ], l = u ? `<title>${u}</title>` : "";
565
566
  return `<svg ${re(n)}>${l}${t}</svg>`;
566
- }, te = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), G = ({
567
+ }, te = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim(), F = ({
567
568
  ["data-testid"]: t,
568
569
  svg: u,
569
570
  allyTitle: n,
@@ -586,11 +587,11 @@ const Xr = Yr.bind(Jr), L = "purpur-icon", Qr = "md", re = (t) => t.filter((u) =
586
587
  }
587
588
  );
588
589
  };
589
- G.displayName = "Icon";
590
+ F.displayName = "Icon";
590
591
  function ae(t) {
591
592
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
592
593
  }
593
- var F = { exports: {} };
594
+ var U = { exports: {} };
594
595
  /*!
595
596
  Copyright (c) 2018 Jed Watson.
596
597
  Licensed under the MIT License (MIT), see
@@ -625,8 +626,8 @@ var F = { exports: {} };
625
626
  }
626
627
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
627
628
  })();
628
- })(F);
629
- var ne = F.exports;
629
+ })(U);
630
+ var ne = U.exports;
630
631
  const ue = /* @__PURE__ */ ae(ne), m = {
631
632
  "purpur-paragraph": "_purpur-paragraph_1rh57_1",
632
633
  "purpur-paragraph--disabled": "_purpur-paragraph--disabled_1rh57_7",
@@ -653,7 +654,7 @@ const ue = /* @__PURE__ */ ae(ne), m = {
653
654
  ADDITIONAL100MEDIUM: "additional-100-medium",
654
655
  OVERLINE100: "overline-100",
655
656
  OVERLINE200: "overline-200"
656
- }, y = "purpur-paragraph", U = ({
657
+ }, y = "purpur-paragraph", W = ({
657
658
  ["data-testid"]: t,
658
659
  children: u,
659
660
  className: n,
@@ -675,11 +676,11 @@ const ue = /* @__PURE__ */ ae(ne), m = {
675
676
  ]);
676
677
  return /* @__PURE__ */ i("p", { ...a, className: o, "data-testid": t, children: u });
677
678
  };
678
- U.displayName = "Paragraph";
679
+ W.displayName = "Paragraph";
679
680
  function le(t) {
680
681
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
681
682
  }
682
- var W = { exports: {} };
683
+ var Y = { exports: {} };
683
684
  /*!
684
685
  Copyright (c) 2018 Jed Watson.
685
686
  Licensed under the MIT License (MIT), see
@@ -714,9 +715,9 @@ var W = { exports: {} };
714
715
  }
715
716
  t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
716
717
  })();
717
- })(W);
718
- var ie = W.exports;
719
- const Y = /* @__PURE__ */ le(ie), oe = {
718
+ })(Y);
719
+ var ie = Y.exports;
720
+ const J = /* @__PURE__ */ le(ie), oe = {
720
721
  "purpur-content-block": "_purpur-content-block_5l7rg_1",
721
722
  "purpur-content-block__section": "_purpur-content-block__section_5l7rg_17",
722
723
  "purpur-content-block__image-wrapper": "_purpur-content-block__image-wrapper_5l7rg_25",
@@ -732,7 +733,7 @@ const Y = /* @__PURE__ */ le(ie), oe = {
732
733
  "purpur-content-block__text-spacing": "_purpur-content-block__text-spacing_5l7rg_76"
733
734
  }, se = {
734
735
  "purpur-content-block-group": "_purpur-content-block-group_1g4rh_1"
735
- }, ce = Y.bind(se), j = "purpur-content-block-group", J = ({
736
+ }, ce = J.bind(se), j = "purpur-content-block-group", K = ({
736
737
  children: t,
737
738
  className: u,
738
739
  negative: n,
@@ -746,10 +747,10 @@ const Y = /* @__PURE__ */ le(ie), oe = {
746
747
  [`${j}--negative`]: n
747
748
  }
748
749
  ]);
749
- return /* @__PURE__ */ i("div", { className: r, "data-testid": l, ...p, children: er.map(t, (a) => M.isValidElement(a) ? M.cloneElement(a, { negative: n }) : a) });
750
+ return /* @__PURE__ */ i("div", { className: r, "data-testid": l, ...p, children: tr.map(t, (a) => M.isValidElement(a) ? M.cloneElement(a, { negative: n }) : a) });
750
751
  };
751
- J.displayName = "ContentBlockGroup";
752
- const c = Y.bind(oe), s = "purpur-content-block", K = ({
752
+ K.displayName = "ContentBlockGroup";
753
+ const c = J.bind(oe), s = "purpur-content-block", X = ({
753
754
  ["data-testid"]: t,
754
755
  className: u,
755
756
  negative: n,
@@ -765,51 +766,51 @@ const c = Y.bind(oe), s = "purpur-content-block", K = ({
765
766
  children: A,
766
767
  ...b
767
768
  }) => {
768
- const x = c([
769
+ const k = c([
769
770
  u,
770
771
  s,
771
772
  {
772
773
  [`${s}--negative`]: n
773
774
  }
774
775
  ]);
775
- return /* @__PURE__ */ w("div", { "data-testid": t, className: x, ...b, children: [
776
+ return /* @__PURE__ */ w("div", { "data-testid": t, className: k, ...b, children: [
776
777
  /* @__PURE__ */ i("div", { className: c(`${s}__section`), children: p ? /* @__PURE__ */ i("div", { className: c(`${s}__video-wrapper`), children: p }) : /* @__PURE__ */ i("div", { className: c(`${s}__image-wrapper`), children: l }) }),
777
778
  /* @__PURE__ */ i("div", { className: c(`${s}__section`), children: /* @__PURE__ */ w("div", { className: c(`${s}__content-wrapper`), children: [
778
779
  r ? /* @__PURE__ */ i(xr, { variant: "special", className: c(`${s}__badge`), children: r }) : null,
779
- e && e.trim() && /* @__PURE__ */ i(z, { variant: f, tag: _, negative: n, children: e }),
780
+ e && e.trim() && /* @__PURE__ */ i(V, { variant: f, tag: _, negative: n, children: e }),
780
781
  /* @__PURE__ */ i("div", { className: c(`${s}__content`), children: A }),
781
782
  o != null && o.length ? /* @__PURE__ */ i("ul", { className: c(`${s}__usp-list`), children: o.map(
782
783
  (d) => d && /* @__PURE__ */ w("li", { className: c(`${s}__usp-list-item`), children: [
783
784
  /* @__PURE__ */ i(
784
- D,
785
+ G,
785
786
  {
786
787
  size: "xs",
787
788
  className: c(`${s}__usp-list-item-icon`)
788
789
  }
789
790
  ),
790
- /* @__PURE__ */ i(U, { negative: n, children: d })
791
+ /* @__PURE__ */ i(W, { negative: n, children: d })
791
792
  ] }, d)
792
793
  ) }) : null,
793
794
  a && a.length > 0 && /* @__PURE__ */ i("div", { className: c(`${s}__links`), children: a.map(
794
- ({ text: d, href: k, ...O }, X) => k && /* @__PURE__ */ i(
795
- zr,
795
+ ({ text: d, href: x, ...O }, Q) => x && /* @__PURE__ */ i(
796
+ H,
796
797
  {
797
- href: k,
798
- variant: X === 0 ? "primary" : "secondary",
798
+ href: x,
799
+ variant: Q === 0 ? "primary" : "secondary",
799
800
  negative: n,
800
- onClick: () => h == null ? void 0 : h({ text: d, href: k, ...O }),
801
+ onClick: () => h == null ? void 0 : h({ text: d, href: x, ...O }),
801
802
  ...O,
802
803
  children: d
803
804
  },
804
- d + k
805
+ d + x
805
806
  )
806
807
  ) })
807
808
  ] }) })
808
809
  ] });
809
810
  };
810
- K.Group = J;
811
- K.displayName = "ContentBlock";
811
+ X.Group = K;
812
+ X.displayName = "ContentBlock";
812
813
  export {
813
- K as ContentBlock
814
+ X as ContentBlock
814
815
  };
815
816
  //# sourceMappingURL=content-block.es.js.map