@cfpb/design-system-react 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as c, jsxs as v, Fragment as oe } from "react/jsx-runtime";
2
- import ne, { useState as ae, useEffect as j, createElement as Ze, Fragment as ds, forwardRef as Se, useCallback as Ke, useRef as ze, useId as Xe, cloneElement as as } from "react";
3
- import { Link as ls } from "react-router-dom";
1
+ import { jsx as i, jsxs as v, Fragment as ne } from "react/jsx-runtime";
2
+ import se, { useState as ae, useEffect as Q, createElement as Ge, Fragment as ds, forwardRef as Se, useCallback as ze, useRef as Xe, useId as Je, cloneElement as as } from "react";
3
+ import { Link as ls } from "react-router";
4
4
  function ms(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
@@ -13,7 +13,7 @@ function fs() {
13
13
  function o() {
14
14
  for (var n = "", r = 0; r < arguments.length; r++) {
15
15
  var p = arguments[r];
16
- p && (n = i(n, t(p)));
16
+ p && (n = c(n, t(p)));
17
17
  }
18
18
  return n;
19
19
  }
@@ -28,10 +28,10 @@ function fs() {
28
28
  return n.toString();
29
29
  var r = "";
30
30
  for (var p in n)
31
- s.call(n, p) && n[p] && (r = i(r, p));
31
+ s.call(n, p) && n[p] && (r = c(r, p));
32
32
  return r;
33
33
  }
34
- function i(n, r) {
34
+ function c(n, r) {
35
35
  return r ? n ? n + " " + r : n + r : n;
36
36
  }
37
37
  e.exports ? (o.default = o, e.exports = o) : window.classNames = o;
@@ -41,12 +41,12 @@ function fs() {
41
41
  var us = fs();
42
42
  const w = /* @__PURE__ */ ms(us), bs = (e, s, o) => {
43
43
  const t = e[s];
44
- return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((i, n) => {
44
+ return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((c, n) => {
45
45
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + s + (s.split("/").length !== o ? ". Note that variables only represent file names one level deep." : ""))));
46
46
  });
47
47
  }, gs = (e) => {
48
48
  const [s, o] = ae(null);
49
- return j(() => {
49
+ return Q(() => {
50
50
  let t = !0;
51
51
  return (async () => {
52
52
  try {
@@ -79,113 +79,121 @@ const w = /* @__PURE__ */ ms(us), bs = (e, s, o) => {
79
79
  h5: "14px",
80
80
  p: "16px",
81
81
  sub: "12px"
82
- }, _s = /* @__PURE__ */ new Set(["email", "facebook", "flickr", "github", "linkedin", "pinterest", "x", "youtube"]), ys = new Set(hs), Es = (e, s) => ys.has(e) ? s ? "-closed" : "-open" : s ? _s.has(e) ? "-square" : "-round" : "", T = ({ name: e, alt: s, ariaLabel: o = "", ariaLabelledby: t = "", ariaDescribedby: i = "", isPresentational: n = !1, withBg: r = !1, size: p = "inherit", ...d }) => {
83
- const l = Es(e, r), a = `${e}${l}`, u = gs(a);
84
- if (!u) return null;
85
- const b = w("cf-icon-svg", `cf-icon-svg--${a}`), h = vs[p] || p;
86
- return c(u, {
82
+ }, _s = /* @__PURE__ */ new Set(["email", "facebook", "flickr", "github", "linkedin", "pinterest", "x", "youtube"]), ys = new Set(hs), Es = (e, s) => ys.has(e) ? s ? "-closed" : "-open" : s ? _s.has(e) ? "-square" : "-round" : "", C = ({ name: e, alt: s, ariaLabel: o = "", ariaLabelledby: t = "", ariaDescribedby: c = "", isPresentational: n = !1, withBg: r = !1, size: p = "inherit", ...d }) => {
83
+ const l = Es(e, r), a = `${e}${l}`, f = gs(a);
84
+ if (!f) return null;
85
+ const b = w("cf-icon-svg", `cf-icon-svg--${a}`), g = vs[p] || p;
86
+ return i(f, {
87
87
  className: b,
88
88
  style: {
89
- fontSize: h
89
+ fontSize: g
90
90
  },
91
91
  role: n ? void 0 : "img",
92
92
  "aria-label": o || (n ? void 0 : s ?? e),
93
93
  "aria-labelledby": t || void 0,
94
- "aria-describedby": i || void 0,
94
+ "aria-describedby": c || void 0,
95
95
  "aria-hidden": n ? "true" : void 0,
96
96
  ...d
97
97
  });
98
98
  };
99
- function ie({ children: e, className: s, isHorizontal: o, isLinks: t = !1, isOrdered: i, isSpaced: n, isUnstyled: r }) {
99
+ function te({ children: e, className: s, isHorizontal: o, isLinks: t = !1, isOrdered: c, isSpaced: n, isUnstyled: r }) {
100
100
  const p = ["m-list"];
101
- return o && p.push("m-list--horizontal"), t && p.push("m-list--links"), n && p.push("m-list--spaced"), r && p.push("m-list--unstyled"), s && p.push(s), i ? c("ol", {
101
+ return o && p.push("m-list--horizontal"), t && p.push("m-list--links"), n && p.push("m-list--spaced"), r && p.push("m-list--unstyled"), s && p.push(s), c ? i("ol", {
102
102
  className: w(p),
103
103
  children: e
104
- }) : c("ul", {
104
+ }) : i("ul", {
105
105
  className: w(p),
106
106
  children: e
107
107
  });
108
108
  }
109
- var Je = ((e) => (e.info = "--info", e.error = "--error", e.success = "--success", e.warning = "--warning", e))(Je || {});
109
+ var es = ((e) => (e.info = "--info", e.error = "--error", e.success = "--success", e.warning = "--warning", e))(es || {});
110
110
  const ws = {
111
111
  info: "information",
112
112
  error: "error",
113
113
  success: "approved",
114
114
  warning: "warning"
115
115
  }, Ss = ({ status: e = "info", message: s, isVisible: o = !0, ...t }) => !o || !s ? null : ["error", "success", "warning", "info"].includes(e) ? v("div", {
116
- className: `a-form-alert a-form-alert${Je[e]}`,
116
+ className: `a-form-alert a-form-alert${es[e]}`,
117
117
  ...t,
118
- children: [c(T, {
118
+ children: [i(C, {
119
119
  ariaLabel: `${e} icon`,
120
120
  name: ws[e],
121
121
  withBg: !0
122
- }), c("span", {
122
+ }), i("span", {
123
123
  className: "a-form-alert__text",
124
124
  children: s
125
125
  })]
126
126
  }) : v("p", {
127
127
  children: ["[Error] Unsupported field-level alert type provided: ", e]
128
128
  });
129
- function Ne({ children: e, className: s, ...o }) {
130
- return c("li", {
129
+ function Le({ children: e, className: s, ...o }) {
130
+ return i("li", {
131
131
  className: w("m-list__item", s),
132
132
  ...o,
133
133
  children: e
134
134
  });
135
135
  }
136
136
  function Me({ children: e, itemClassname: s = "", className: o }) {
137
- return c(oe, {
138
- children: e.map((t) => c(Ne, {
137
+ return i(ne, {
138
+ children: e.map((t) => i(Le, {
139
139
  className: o,
140
- children: ne.cloneElement(t, {
140
+ children: se.cloneElement(t, {
141
141
  className: `${s} ${t.props?.className ?? ""}`
142
142
  })
143
143
  }, t.key))
144
144
  });
145
145
  }
146
- function U({ asButton: e = !1, children: s, href: o, iconLeft: t, iconRight: i, isJump: n = !1, isRouterLink: r = !1, label: p, type: d = "default", ...l }) {
147
- const u = !e && (!!(t ?? i) || n), h = e || u ? c(Ns, {
146
+ function re({ isButton: e = !1, children: s, href: o, iconLeft: t, iconRight: c, isJump: n = !1, isRouterLink: r = !1, label: p, type: d = "default", ...l }) {
147
+ const a = !!t, f = !!c, g = !e && (a || f || n), _ = e || g ? i(Ls, {
148
148
  children: p
149
- }) : p, y = w(l.className, {
149
+ }) : p, L = w(l.className, {
150
150
  "a-btn": e || d === "destructive",
151
151
  "a-btn--link": d === "destructive",
152
152
  "a-btn--warning": d === "destructive",
153
153
  "a-link--jump": n,
154
- "a-link": u
154
+ "a-link": g
155
155
  });
156
+ if (a && f)
157
+ throw new Error("Link component: only one of iconLeft or iconRight can be provided");
156
158
  if (r) {
157
159
  if (!o)
158
160
  throw new Error("Link component: href is a required attribute when isRouterLink is true");
159
- return c(ls, {
161
+ return v(ls, {
160
162
  to: o,
161
163
  ...l,
162
- className: y,
163
- children: p
164
+ className: L,
165
+ children: [s, !!t && i(C, {
166
+ name: t,
167
+ isPresentational: !0
168
+ }), _, !!c && i(C, {
169
+ name: c,
170
+ isPresentational: !0
171
+ })]
164
172
  });
165
173
  }
166
174
  return v("a", {
167
175
  ...l,
168
- className: y,
176
+ className: L,
169
177
  href: o,
170
- children: [s, !!t && c(T, {
178
+ children: [s, !!t && i(C, {
171
179
  name: t,
172
180
  isPresentational: !0
173
- }), h, !!i && c(T, {
174
- name: i,
181
+ }), _, !!c && i(C, {
182
+ name: c,
175
183
  isPresentational: !0
176
184
  })]
177
185
  });
178
186
  }
179
- const Ns = ({ children: e, ...s }) => c("span", {
187
+ const Ls = ({ children: e, ...s }) => i("span", {
180
188
  className: "a-link__text",
181
189
  ...s,
182
190
  children: e
183
- }), Ls = (e) => c(Ne, {
184
- children: c(U, {
191
+ }), Ns = (e) => i(Le, {
192
+ children: i(re, {
185
193
  ...e,
186
194
  isJump: !0
187
195
  })
188
- }), xs = ({ href: e, label: s, isExternal: o }) => c(Ls, {
196
+ }), xs = ({ href: e, label: s, isExternal: o }) => i(Ns, {
189
197
  href: e,
190
198
  label: s,
191
199
  iconRight: o ? "external-link" : void 0
@@ -210,38 +218,38 @@ const Ns = ({ children: e, ...s }) => c("span", {
210
218
  name: "warning",
211
219
  withBg: !0
212
220
  }
213
- }, Yn = ({ children: e, className: s, links: o, message: t, status: i = "info", isVisible: n = !0, isFieldLevel: r = !1, showIcon: p = !0, ...d }) => {
221
+ }, Vn = ({ children: e, className: s, links: o, message: t, status: c = "info", isVisible: n = !0, isFieldLevel: r = !1, showIcon: p = !0, ...d }) => {
214
222
  if (!n) return null;
215
223
  if (r)
216
- return c(Ss, {
217
- status: i,
224
+ return i(Ss, {
225
+ status: c,
218
226
  message: t,
219
227
  isVisible: n,
220
228
  ...d
221
229
  });
222
230
  const l = w("m-notification", "m-notification--visible", {
223
- "m-notification--success": i === "success",
224
- "m-notification--warning": i === "warning",
225
- "m-notification--error": i === "error",
226
- "m-notification--info": i === "info"
231
+ "m-notification--success": c === "success",
232
+ "m-notification--warning": c === "warning",
233
+ "m-notification--error": c === "error",
234
+ "m-notification--info": c === "info"
227
235
  }, s);
228
236
  return v("div", {
229
237
  className: l,
230
238
  ...d,
231
- children: [p ? c(T, {
232
- ariaLabel: `${i} icon`,
233
- ...ks[i]
239
+ children: [p ? i(C, {
240
+ ariaLabel: `${c} icon`,
241
+ ...ks[c]
234
242
  }) : null, v("div", {
235
243
  className: "m-notification__content",
236
- children: [t ? c("div", {
244
+ children: [t ? i("div", {
237
245
  className: "m-notification__message",
238
246
  children: t
239
- }) : null, e ? c("div", {
247
+ }) : null, e ? i("div", {
240
248
  className: `${t ? "m-notification__explanation" : ""}`,
241
249
  children: e
242
- }) : null, o && o.length > 0 ? c(ie, {
250
+ }) : null, o && o.length > 0 ? i(te, {
243
251
  isLinks: !0,
244
- children: o.map((a) => Ze(xs, {
252
+ children: o.map((a) => Ge(xs, {
245
253
  ...a,
246
254
  key: a.href
247
255
  }))
@@ -252,9 +260,9 @@ const Ns = ({ children: e, ...s }) => c("span", {
252
260
  const o = ["a-tagline"];
253
261
  return e && o.push("a-tagline--large"), v("div", {
254
262
  className: w(o),
255
- children: [c("span", {
263
+ children: [i("span", {
256
264
  className: "u-usa-flag"
257
- }), c("div", {
265
+ }), i("div", {
258
266
  className: "a-tagline__text",
259
267
  children: s
260
268
  })]
@@ -267,36 +275,36 @@ const Ns = ({ children: e, ...s }) => c("span", {
267
275
  children: ["(", s, ") ", o.join("-")]
268
276
  });
269
277
  }
270
- return c("a", {
278
+ return i("a", {
271
279
  href: `tel:+${e}`,
272
280
  children: e
273
281
  });
274
- }, Ts = ({ isHorizontal: e = !0, tagline: s = v(oe, {
275
- children: ["An official website of the", " ", c("span", {
282
+ }, Ts = ({ isHorizontal: e = !0, tagline: s = v(ne, {
283
+ children: ["An official website of the", " ", i("span", {
276
284
  className: "u-nowrap",
277
285
  children: "United States government"
278
286
  })]
279
- }), phoneNumber: o, links: t = [], className: i, ...n }) => {
287
+ }), phoneNumber: o, links: t = [], className: c, ...n }) => {
280
288
  const r = ["m-global-eyebrow"], p = ["wrapper"], d = ["m-list"];
281
289
  let l = null;
282
- return e ? (r.push("m-global-eyebrow--horizontal"), p.push("wrapper--match-content"), d.push("m-list--horizontal m-global-eyebrow__languages"), l = c(As, {
290
+ return e ? (r.push("m-global-eyebrow--horizontal"), p.push("wrapper--match-content"), d.push("m-list--horizontal m-global-eyebrow__languages"), l = i(As, {
283
291
  children: s
284
- })) : r.push("m-global-eyebrow--list"), i && r.push(i), c("div", {
292
+ })) : r.push("m-global-eyebrow--list"), c && r.push(c), i("div", {
285
293
  className: w(r),
286
294
  ...n,
287
295
  children: v("div", {
288
296
  className: w(p),
289
297
  children: [l, v("div", {
290
298
  className: "m-global-eyebrow__actions",
291
- children: [t.length > 0 && c("ul", {
299
+ children: [t.length > 0 && i("ul", {
292
300
  className: w(d),
293
- children: t.map((a) => c("li", {
301
+ children: t.map((a) => i("li", {
294
302
  className: "m-list__item",
295
303
  children: a
296
304
  }, a.key))
297
- }), o ? c("span", {
305
+ }), o ? i("span", {
298
306
  className: "m-global-eyebrow__phone",
299
- children: c(Cs, {
307
+ children: i(Cs, {
300
308
  phoneNumber: o
301
309
  })
302
310
  }) : null]
@@ -342,33 +350,33 @@ const Ns = ({ children: e, ...s }) => c("span", {
342
350
  label: "Kreyòl Ayisyen",
343
351
  code: "ht"
344
352
  }
345
- }, Gn = ({ code: e, href: s, label: o, languageMap: t = Is, ...i }) => {
353
+ }, Qn = ({ code: e, href: s, label: o, languageMap: t = Is, ...c }) => {
346
354
  const n = t[e];
347
355
  let r = e, p = e, d = o, l = s;
348
- return n && (r = n.code, p = n.code, d = o ?? n.label, l = n.href || s), c("a", {
356
+ return n && (r = n.code, p = n.code, d = o ?? n.label, l = n.href || s), i("a", {
349
357
  href: l ?? `/language/${r}/`,
350
358
  hrefLang: r,
351
359
  lang: p,
352
- ...i,
360
+ ...c,
353
361
  children: d
354
362
  });
355
- }, Zn = ({ crumbs: e, ariaLabel: s = "Breadcrumbs", className: o, ...t }) => e.length === 0 ? null : c("div", {
363
+ }, jn = ({ crumbs: e, ariaLabel: s = "Breadcrumbs", className: o, ...t }) => e.length === 0 ? null : i("div", {
356
364
  className: w("u-layout-grid__breadcrumbs", o),
357
365
  ...t,
358
- children: c("nav", {
366
+ children: i("nav", {
359
367
  className: "m-breadcrumbs",
360
368
  "aria-label": s,
361
- children: e.map((i) => v(ds, {
362
- children: [" / ", i.isCurrent ? c("span", {
369
+ children: e.map((c) => v(ds, {
370
+ children: [" / ", c.isCurrent ? i("span", {
363
371
  className: "m-breadcrumbs__crumb",
364
372
  "aria-current": "page",
365
- children: ` ${i.label} `
366
- }) : c("a", {
373
+ children: ` ${c.label} `
374
+ }) : i("a", {
367
375
  className: "m-breadcrumbs__crumb",
368
- href: i.href,
369
- children: ` ${i.label} `
376
+ href: c.href,
377
+ children: ` ${c.label} `
370
378
  })]
371
- }, `${i.href}-${i.label}`))
379
+ }, `${c.href}-${c.label}`))
372
380
  })
373
381
  }), Os = ["a-btn"], Bs = {
374
382
  primary: [],
@@ -377,37 +385,41 @@ const Ns = ({ children: e, ...s }) => c("span", {
377
385
  }, Hs = {
378
386
  default: [],
379
387
  full: ["a-btn--full-on-xs"]
380
- }, te = Se(({ appearance: e = "primary", asLink: s = !1, size: o = "default", label: t, className: i, iconLeft: n, iconRight: r, ...p }, d) => {
381
- const l = [...Os, ...Bs[e], ...Hs[o]];
382
- return s && l.push("a-btn--link"), i && l.push(i), p.disabled && l.push("a-btn--disabled"), v("button", {
383
- ref: d,
388
+ }, de = Se(({ appearance: e = "primary", isLink: s = !1, size: o = "default", label: t, className: c, iconLeft: n, iconRight: r, children: p, ...d }, l) => {
389
+ const a = [...Os, ...Bs[e], ...Hs[o]];
390
+ s && a.push("a-btn--link"), c && a.push(c), d.disabled && a.push("a-btn--disabled");
391
+ const f = !!n, b = !!r, y = t ? f || b ? i("span", {
392
+ children: t
393
+ }) : t : null;
394
+ if (f && b)
395
+ throw new Error("Button component: only one of iconLeft or iconRight can be provided");
396
+ return v("button", {
397
+ ref: l,
384
398
  type: "button",
385
- className: [...l].join(" "),
386
- ...p,
387
- children: [!!n && c(T, {
399
+ className: [...a].join(" "),
400
+ ...d,
401
+ children: [p, !!n && i(C, {
388
402
  name: n,
389
403
  isPresentational: !0
390
- }), n || r ? c("span", {
391
- children: t
392
- }) : t, !!r && c(T, {
404
+ }), y, !!r && i(C, {
393
405
  name: r,
394
406
  isPresentational: !0
395
407
  })]
396
408
  });
397
409
  });
398
- te.displayName = "Button";
399
- const Kn = ({ className: e, children: s, ...o }) => s ? c("div", {
410
+ de.displayName = "Button";
411
+ const Yn = ({ className: e, children: s, ...o }) => s ? i("div", {
400
412
  className: `m-btn-group ${e ?? ""}`,
401
413
  ...o,
402
414
  children: s
403
- }) : null, es = ({ children: e, className: s, ...o }) => e ? v("small", {
415
+ }) : null, ss = ({ children: e, className: s, ...o }) => e ? v("small", {
404
416
  className: w(["a-label__helper", s]),
405
417
  ...o,
406
418
  children: ["(", e, ")"]
407
- }) : null, Ms = ["a-label"], ss = ({ children: e, inline: s = !1, htmlFor: o, className: t, ...i }) => {
419
+ }) : null, Ms = ["a-label"], ns = ({ children: e, isInline: s = !1, htmlFor: o, className: t, ...c }) => {
408
420
  const r = [...[...Ms, s ? "" : "a-label--heading"], t];
409
- return e ? c("label", {
410
- ...i,
421
+ return e ? i("label", {
422
+ ...c,
411
423
  className: w(r),
412
424
  htmlFor: o,
413
425
  children: e
@@ -416,35 +428,41 @@ const Kn = ({ className: e, children: s, ...o }) => s ? c("div", {
416
428
  success: "m-form-field--checkbox-success",
417
429
  warning: "m-form-field--checkbox-warning",
418
430
  error: "m-form-field--checkbox-error"
419
- }, zn = ({ id: e, label: s, className: o, inputClassName: t, labelClassName: i = "", checked: n = !1, helperText: r, inputRef: p, disabled: d = !1, isLarge: l = !1, labelInline: a = !0, name: u, onChange: b, status: h, ...y }) => {
420
- const _ = Ke((x) => {
421
- b?.(x);
422
- }, [b]), L = [...Ds, l ? "m-form-field--lg-target" : "", h ? Ps[h] : "", o];
423
- return v("div", {
424
- className: w(L),
425
- children: [c("input", {
426
- id: e,
427
- type: "checkbox",
428
- checked: n,
429
- "aria-checked": n,
430
- "aria-labelledby": `${e}-label`,
431
- name: u ?? e,
432
- ref: p,
433
- disabled: d,
434
- onChange: _,
435
- ...y,
436
- className: w(["a-checkbox", t])
437
- }), v(ss, {
431
+ }, Zn = ({ id: e, label: s, className: o, inputClassName: t, labelClassName: c = "", checked: n, defaultChecked: r, helperText: p, inputRef: d, disabled: l = !1, isLarge: a = !1, isLabelInline: f = !0, name: b, onChange: g, status: y, ..._ }) => {
432
+ const L = n !== void 0, k = ze((H) => {
433
+ g?.(H);
434
+ }, [g]), x = [...Ds, a ? "m-form-field--lg-target" : "", y ? Ps[y] : "", o], O = {
435
+ ..._,
436
+ id: e,
437
+ type: "checkbox",
438
+ "aria-labelledby": `${e}-label`,
439
+ name: b ?? e,
440
+ ref: d,
441
+ disabled: l,
442
+ onChange: k,
443
+ "data-testid": `${e}-input`,
444
+ className: w(["a-checkbox", t])
445
+ };
446
+ return L ? Object.assign(O, {
447
+ checked: n,
448
+ "aria-checked": n
449
+ }) : Object.assign(O, {
450
+ defaultChecked: r ?? !1
451
+ }), v("div", {
452
+ className: w(x),
453
+ children: [i("input", {
454
+ ...O
455
+ }), v(ns, {
438
456
  id: `${e}-label`,
439
- className: i,
457
+ className: c,
440
458
  htmlFor: e,
441
- inline: a,
442
- children: [s, c(es, {
443
- children: r
459
+ isInline: f,
460
+ children: [s, i(ss, {
461
+ children: p
444
462
  })]
445
463
  })]
446
464
  });
447
- }, Xn = ({ className: e = "", ...s }) => c("div", {
465
+ }, Kn = ({ className: e = "", ...s }) => i("div", {
448
466
  className: `content__line ${e}`,
449
467
  ...s
450
468
  }), We = {
@@ -494,43 +512,43 @@ function Us(e) {
494
512
  let s = !1;
495
513
  return (Fs().bpXS || e === qs || e === $s) && (s = !0), s;
496
514
  }
497
- const G = "data-js-hook", Vs = "behavior_", Qs = "state_";
498
- function re() {
515
+ const Y = "data-js-hook", Vs = "behavior_", Qs = "state_";
516
+ function ce() {
499
517
  const e = {};
500
- function s(i, n) {
501
- return {}.hasOwnProperty.call(e, i) ? e[i].push(n) : e[i] = [n], this;
518
+ function s(c, n) {
519
+ return {}.hasOwnProperty.call(e, c) ? e[c].push(n) : e[c] = [n], this;
502
520
  }
503
- function o(i, n) {
504
- if (!{}.hasOwnProperty.call(e, i))
521
+ function o(c, n) {
522
+ if (!{}.hasOwnProperty.call(e, c))
505
523
  return this;
506
- const r = e[i].indexOf(n);
507
- return r !== -1 && e[i].splice(r, 1), this;
524
+ const r = e[c].indexOf(n);
525
+ return r !== -1 && e[c].splice(r, 1), this;
508
526
  }
509
- function t(i, n) {
510
- if (!{}.hasOwnProperty.call(e, i))
527
+ function t(c, n) {
528
+ if (!{}.hasOwnProperty.call(e, c))
511
529
  return this;
512
530
  n = n || {};
513
- const r = e[i];
531
+ const r = e[c];
514
532
  for (let p = 0, d = r.length; p < d; p++)
515
533
  r[p].call(this, n);
516
534
  return this;
517
535
  }
518
536
  return this.addEventListener = s, this.removeEventListener = o, this.dispatchEvent = t, this.getRegisteredEvents = () => e, this;
519
537
  }
520
- function Le(e, s) {
538
+ function Ne(e, s) {
521
539
  if (!e)
522
540
  return !1;
523
- let o = e.getAttribute(G);
541
+ let o = e.getAttribute(Y);
524
542
  return o ? (o = o.split(" "), o.indexOf(s) > -1) : !1;
525
543
  }
526
544
  function W(e, s) {
527
- if (Le(e, s)) return s;
545
+ if (Ne(e, s)) return s;
528
546
  if (s.indexOf(" ") !== -1) {
529
- const t = G + " values cannot contain spaces!";
547
+ const t = Y + " values cannot contain spaces!";
530
548
  throw new Error(t);
531
549
  }
532
- const o = e.getAttribute(G);
533
- return o !== null && (s = o + " " + s), e.setAttribute(G, s), s;
550
+ const o = e.getAttribute(Y);
551
+ return o !== null && (s = o + " " + s), e.setAttribute(Y, s), s;
534
552
  }
535
553
  const He = Qs + "atomic_init";
536
554
  function js(e, s) {
@@ -551,22 +569,22 @@ function Ys(e, s) {
551
569
  function le(e, s) {
552
570
  return js(e, s), Ys(e, s);
553
571
  }
554
- function ce(e) {
555
- return Le(e, He) ? !1 : (W(e, He), !0);
572
+ function oe(e) {
573
+ return Ne(e, He) ? !1 : (W(e, He), !0);
556
574
  }
557
575
  function me(e, s, o, t = {}) {
558
576
  const n = (o || document).querySelectorAll(e), r = [];
559
577
  let p, d;
560
578
  for (let l = 0, a = n.length; l < a; l++)
561
- d = n[l], Le(d, He) === !1 && (p = new s(d), p.init(t), r.push(p));
579
+ d = n[l], Ne(d, He) === !1 && (p = new s(d), p.init(t), r.push(p));
562
580
  return r;
563
581
  }
564
582
  function qe(e, s) {
565
583
  let o;
566
- if (Le(e, s))
584
+ if (Ne(e, s))
567
585
  return o = e, o;
568
586
  if (e) {
569
- const t = "[" + G + "=" + s + "]";
587
+ const t = "[" + Y + "=" + s + "]";
570
588
  o = e.querySelector(t);
571
589
  }
572
590
  if (!o) {
@@ -575,35 +593,35 @@ function qe(e, s) {
575
593
  }
576
594
  return o;
577
595
  }
578
- function Gs() {
596
+ function Zs() {
579
597
  return !!new RegExp(
580
598
  /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i
581
599
  ).test(navigator.userAgent);
582
600
  }
583
601
  function I(e, s, o) {
584
602
  const t = s;
585
- let i = e;
603
+ let c = e;
586
604
  if (!o) throw new Error("Child transition argument must be defined!");
587
605
  const n = o;
588
- let r, p, d, l = !1, a = !1, u = !1;
606
+ let r, p, d, l = !1, a = !1, f = !1;
589
607
  if (typeof t.CSS_PROPERTY > "u" || typeof t.BASE_CLASS > "u")
590
608
  throw new Error(
591
609
  "Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition."
592
610
  );
593
611
  function b() {
594
- p && l ? (i.addEventListener(p, d), n.dispatchEvent(I.BEGIN_EVENT, {
612
+ p && l ? (c.addEventListener(p, d), n.dispatchEvent(I.BEGIN_EVENT, {
595
613
  target: n,
596
614
  type: I.BEGIN_EVENT
597
- }), i.classList.add(I.ANIMATING_CLASS), a = !0) : (n.dispatchEvent(I.BEGIN_EVENT, {
615
+ }), c.classList.add(I.ANIMATING_CLASS), a = !0) : (n.dispatchEvent(I.BEGIN_EVENT, {
598
616
  target: n,
599
617
  type: I.BEGIN_EVENT
600
618
  }), d());
601
619
  }
602
- function h() {
603
- i.removeEventListener(p, d);
620
+ function g() {
621
+ c.removeEventListener(p, d);
604
622
  }
605
623
  function y(N) {
606
- return N && N.propertyName !== t.CSS_PROPERTY ? !1 : (h(), i.classList.remove(I.ANIMATING_CLASS), n.dispatchEvent(I.END_EVENT, {
624
+ return N && N.propertyName !== t.CSS_PROPERTY ? !1 : (g(), c.classList.remove(I.ANIMATING_CLASS), n.dispatchEvent(I.END_EVENT, {
607
625
  target: n,
608
626
  type: I.END_EVENT
609
627
  }), a = !1, !0);
@@ -611,26 +629,26 @@ function I(e, s, o) {
611
629
  function _() {
612
630
  let N;
613
631
  for (N in t)
614
- ({}).hasOwnProperty.call(t, N) && t[N] !== t.BASE_CLASS && i.classList.contains(t[N]) && i.classList.remove(t[N]);
632
+ ({}).hasOwnProperty.call(t, N) && t[N] !== t.BASE_CLASS && c.classList.contains(t[N]) && c.classList.remove(t[N]);
615
633
  }
616
634
  function L() {
617
- a && (i.style.webkitTransitionDuration = "0", i.style.mozTransitionDuration = "0", i.style.oTransitionDuration = "0", i.style.transitionDuration = "0", i.removeEventListener(p, d), d(), i.style.webkitTransitionDuration = "", i.style.mozTransitionDuration = "", i.style.oTransitionDuration = "", i.style.transitionDuration = "");
618
- }
619
- function x() {
620
- L(), _(), i.classList.remove(t.BASE_CLASS);
635
+ a && (c.style.webkitTransitionDuration = "0", c.style.mozTransitionDuration = "0", c.style.oTransitionDuration = "0", c.style.transitionDuration = "0", c.removeEventListener(p, d), d(), c.style.webkitTransitionDuration = "", c.style.mozTransitionDuration = "", c.style.oTransitionDuration = "", c.style.transitionDuration = "");
621
636
  }
622
637
  function k() {
623
- i.classList.remove(I.NO_ANIMATION_CLASS), l = !0;
638
+ L(), _(), c.classList.remove(t.BASE_CLASS);
624
639
  }
625
- function B() {
626
- i.classList.add(I.NO_ANIMATION_CLASS), l = !1;
640
+ function x() {
641
+ c.classList.remove(I.NO_ANIMATION_CLASS), l = !0;
642
+ }
643
+ function O() {
644
+ c.classList.add(I.NO_ANIMATION_CLASS), l = !1;
627
645
  }
628
- function M(N) {
646
+ function H(N) {
629
647
  if (!N) {
630
- const X = "Element does not have TransitionEnd event. It may be null!";
631
- throw new Error(X);
648
+ const z = "Element does not have TransitionEnd event. It may be null!";
649
+ throw new Error(z);
632
650
  }
633
- let H;
651
+ let M;
634
652
  const D = {
635
653
  WebkitTransition: "webkitTransitionEnd",
636
654
  MozTransition: "transitionend",
@@ -640,70 +658,70 @@ function I(e, s, o) {
640
658
  let q;
641
659
  for (q in D)
642
660
  if ({}.hasOwnProperty.call(D, q) && typeof N.style[q] < "u") {
643
- H = D[q];
661
+ M = D[q];
644
662
  break;
645
663
  }
646
- return H;
664
+ return M;
647
665
  }
648
666
  function S(N) {
649
- x(), k(), i = N, i.classList.add(t.BASE_CLASS), p = M(i);
667
+ k(), x(), c = N, c.classList.add(t.BASE_CLASS), p = H(c);
650
668
  }
651
669
  function A(N) {
652
- if (l = !i.classList.contains(I.NO_ANIMATION_CLASS), d = y.bind(this), S(i), !N)
670
+ if (l = !c.classList.contains(I.NO_ANIMATION_CLASS), d = y.bind(this), S(c), !N)
653
671
  throw new Error(
654
672
  "Transition needs to be passed an initial CSS class on initialization!"
655
673
  );
656
- return i.classList.add(N), this;
674
+ return c.classList.add(N), this;
657
675
  }
658
- function O(N) {
659
- return u || (_(), u = !0), i.classList.contains(N) ? !1 : (h(), i.classList.remove(r), r = N, b(), i.classList.add(r), !0);
676
+ function B(N) {
677
+ return f || (_(), f = !0), c.classList.contains(N) ? !1 : (g(), c.classList.remove(r), r = N, b(), c.classList.add(r), !0);
660
678
  }
661
- return this.animateOff = B, this.animateOn = k, this.applyClass = O, this.halt = L, this.init = A, this.isAnimated = () => l, this.remove = x, this.setElement = S, this;
679
+ return this.animateOff = O, this.animateOn = x, this.applyClass = B, this.halt = L, this.init = A, this.isAnimated = () => l, this.remove = k, this.setElement = S, this;
662
680
  }
663
681
  I.BEGIN_EVENT = "transitionbegin";
664
682
  I.END_EVENT = "transitionend";
665
683
  I.NO_ANIMATION_CLASS = "u-no-animation";
666
684
  I.ANIMATING_CLASS = "u-is-animating";
667
- const pe = Vs + "flyout-menu", Zs = "[" + G + "=" + pe;
685
+ const ie = Vs + "flyout-menu", Ks = "[" + Y + "=" + ie;
668
686
  function xe(e, s = !0) {
669
- const o = qe(e, pe), t = k(e), i = qe(e, pe + "_content");
687
+ const o = qe(e, ie), t = x(e), c = qe(e, ie + "_content");
670
688
  let n = 0;
671
689
  const r = 0, p = 1, d = 2, l = 3;
672
- let a, u, b;
673
- const h = X.bind(this), y = q.bind(this);
674
- let _, L = !0, x = !1;
675
- function k(m) {
676
- const f = [], g = m.querySelectorAll(`${Zs}_trigger]`);
677
- let E, C, $;
678
- for (let R = g.length >>> 0; R--; ) {
679
- for ($ = !1, E = g[R], C = E.parentElement; C !== m; )
680
- C.getAttribute(G) && C.getAttribute(G).split(" ").indexOf(pe) !== -1 ? ($ = !0, C = m) : C = C.parentElement;
681
- $ || f.unshift(g[R]);
690
+ let a, f, b;
691
+ const g = z.bind(this), y = q.bind(this);
692
+ let _, L = !0, k = !1;
693
+ function x(m) {
694
+ const u = [], h = m.querySelectorAll(`${Ks}_trigger]`);
695
+ let E, T, $;
696
+ for (let R = h.length >>> 0; R--; ) {
697
+ for ($ = !1, E = h[R], T = E.parentElement; T !== m; )
698
+ T.getAttribute(Y) && T.getAttribute(Y).split(" ").indexOf(ie) !== -1 ? ($ = !0, T = m) : T = T.parentElement;
699
+ $ || u.unshift(h[R]);
682
700
  }
683
- return f;
701
+ return u;
684
702
  }
685
- function B(m = !1) {
686
- return n = m ? l : r, t.forEach((f) => {
687
- M("expanded", f, m), f.addEventListener("click", N.bind(this)), f.addEventListener("touchstart", S, {
703
+ function O(m = !1) {
704
+ return n = m ? l : r, t.forEach((u) => {
705
+ H("expanded", u, m), u.addEventListener("click", N.bind(this)), u.addEventListener("touchstart", S, {
688
706
  passive: !0
689
- }), f.addEventListener("mouseover", A.bind(this)), f.addEventListener("mouseout", O.bind(this));
690
- }), i.setAttribute("data-open", m ? "true" : "false"), s && !m && i.setAttribute("hidden", ""), ue(), this;
707
+ }), u.addEventListener("mouseover", A.bind(this)), u.addEventListener("mouseout", B.bind(this));
708
+ }), c.setAttribute("data-open", m ? "true" : "false"), s && !m && c.setAttribute("hidden", ""), ue(), this;
691
709
  }
692
- function M(m, f, g) {
693
- const E = String(g);
694
- return f.setAttribute("aria-" + m, E), E;
710
+ function H(m, u, h) {
711
+ const E = String(h);
712
+ return u.setAttribute("aria-" + m, E), E;
695
713
  }
696
714
  function S() {
697
- x = !0;
715
+ k = !0;
698
716
  }
699
717
  function A(m) {
700
- L || (x || this.dispatchEvent("triggerover", {
718
+ L || (k || this.dispatchEvent("triggerover", {
701
719
  target: this,
702
720
  trigger: m.target,
703
721
  type: "triggerover"
704
- }), x = !1);
722
+ }), k = !1);
705
723
  }
706
- function O(m) {
724
+ function B(m) {
707
725
  L || this.dispatchEvent("triggerout", {
708
726
  target: this,
709
727
  trigger: m.target,
@@ -727,54 +745,54 @@ function xe(e, s = !0) {
727
745
  break;
728
746
  }
729
747
  }
730
- function H() {
748
+ function M() {
731
749
  if (a?.halt(), n === d || n === l) return this;
732
- if (n = d, s && i.removeAttribute("hidden"), this.dispatchEvent("expandbegin", { target: this, type: "expandbegin" }), !u || !b)
750
+ if (n = d, s && c.removeAttribute("hidden"), this.dispatchEvent("expandbegin", { target: this, type: "expandbegin" }), !f || !b)
733
751
  return y(), this;
734
752
  const m = a?.isAnimated();
735
- return m && a.addEventListener(I.END_EVENT, y), u(), m || y(), this;
753
+ return m && a.addEventListener(I.END_EVENT, y), f(), m || y(), this;
736
754
  }
737
755
  function D() {
738
756
  if (a?.halt(), n === p || n === r) return this;
739
- for (let f = 0, g = t.length; f < g; f++)
740
- M("expanded", t[f], !1);
741
- if (i.setAttribute("data-open", "false"), n = p, this.dispatchEvent("collapsebegin", {
757
+ for (let u = 0, h = t.length; u < h; u++)
758
+ H("expanded", t[u], !1);
759
+ if (c.setAttribute("data-open", "false"), n = p, this.dispatchEvent("collapsebegin", {
742
760
  target: this,
743
761
  type: "collapsebegin"
744
- }), !b || !u)
745
- return h(), this;
762
+ }), !b || !f)
763
+ return g(), this;
746
764
  const m = a?.isAnimated();
747
765
  return m && a.addEventListener(
748
766
  I.END_EVENT,
749
- h
750
- ), b(), m || h(), this;
767
+ g
768
+ ), b(), m || g(), this;
751
769
  }
752
770
  function q() {
753
- n = l, i.setAttribute("data-open", "true"), a && a.removeEventListener(
771
+ n = l, c.setAttribute("data-open", "true"), a && a.removeEventListener(
754
772
  I.END_EVENT,
755
773
  y
756
774
  ), this.dispatchEvent("expandend", { target: this, type: "expandend" });
757
- for (let m = 0, f = t.length; m < f; m++)
758
- M("expanded", t[m], !0);
775
+ for (let m = 0, u = t.length; m < u; m++)
776
+ H("expanded", t[m], !0);
759
777
  }
760
- function X() {
761
- n = r, s && i.setAttribute("hidden", ""), a && a.removeEventListener(
778
+ function z() {
779
+ n = r, s && c.setAttribute("hidden", ""), a && a.removeEventListener(
762
780
  I.END_EVENT,
763
- h
781
+ g
764
782
  ), this.dispatchEvent("collapseend", { target: this, type: "collapseend" });
765
783
  }
766
- function fe(m, f, g) {
767
- a = m, f && f !== b && (b = f), g && g !== u && (u = g);
784
+ function fe(m, u, h) {
785
+ a = m, u && u !== b && (b = u), h && h !== f && (f = h);
768
786
  }
769
787
  function ke() {
770
788
  a && a.remove();
771
789
  let m;
772
- a = m, u = m, b = m;
790
+ a = m, f = m, b = m;
773
791
  }
774
792
  function Ae() {
775
793
  return {
776
794
  container: o,
777
- content: i,
795
+ content: c,
778
796
  trigger: t
779
797
  };
780
798
  }
@@ -787,10 +805,10 @@ function xe(e, s = !0) {
787
805
  function Te(m) {
788
806
  return _ = m, this;
789
807
  }
790
- const K = new re();
791
- return this.addEventListener = K.addEventListener, this.removeEventListener = K.removeEventListener, this.dispatchEvent = K.dispatchEvent, this.init = B, this.expand = H, this.collapse = D, this.setTransition = fe, this.clearTransition = ke, this.getData = () => _, this.getTransition = () => a, this.getDom = Ae, this.isAnimating = () => n === d || n === p, this.isExpanded = () => n === l, this.resume = ue, this.setData = Te, this.suspend = Ce, xe.BASE_CLASS = pe, this;
808
+ const K = new ce();
809
+ return this.addEventListener = K.addEventListener, this.removeEventListener = K.removeEventListener, this.dispatchEvent = K.dispatchEvent, this.init = O, this.expand = M, this.collapse = D, this.setTransition = fe, this.clearTransition = ke, this.getData = () => _, this.getTransition = () => a, this.getDom = Ae, this.isAnimating = () => n === d || n === p, this.isExpanded = () => n === l, this.resume = ue, this.setData = Te, this.suspend = Ce, xe.BASE_CLASS = ie, this;
792
810
  }
793
- const $e = "transitiondir", J = {
811
+ const $e = "transitiondir", X = {
794
812
  CSS_PROPERTY: "max-height",
795
813
  BASE_CLASS: "u-max-height-transition",
796
814
  MH_DEFAULT: "u-max-height-default",
@@ -798,20 +816,20 @@ const $e = "transitiondir", J = {
798
816
  MH_DYNAMIC: "u-max-height-dynamic",
799
817
  MH_ZERO: "u-max-height-zero"
800
818
  };
801
- function V(e) {
802
- const s = this, o = new re(), t = new I(e, J, this);
803
- let i = 0;
819
+ function U(e) {
820
+ const s = this, o = new ce(), t = new I(e, X, this);
821
+ let c = 0;
804
822
  function n() {
805
823
  const _ = e.scrollHeight + "px";
806
824
  e.style.maxHeight = _, e.style.bottom = "auto", e.style.top = "auto";
807
825
  }
808
826
  function r() {
809
- const y = e.getBoundingClientRect(), _ = window.innerHeight - y.top, L = y.top, x = _ <= 140 ? "up" : "down";
827
+ const y = e.getBoundingClientRect(), _ = window.innerHeight - y.top, L = y.top, k = _ <= 140 ? "up" : "down";
810
828
  return {
811
829
  rect: y,
812
830
  distanceToBottom: _,
813
831
  distanceToTop: L,
814
- dir: x
832
+ dir: k
815
833
  };
816
834
  }
817
835
  function p() {
@@ -823,48 +841,48 @@ function V(e) {
823
841
  }), this;
824
842
  }
825
843
  function l() {
826
- return n(), t.applyClass(J.MH_DEFAULT), (!i || e.scrollHeight > i) && (i = e.scrollHeight), this;
844
+ return n(), t.applyClass(X.MH_DEFAULT), (!c || e.scrollHeight > c) && (c = e.scrollHeight), this;
827
845
  }
828
846
  function a() {
829
- return n(), t.applyClass(J.MH_SUMMARY), i = e.scrollHeight, this;
847
+ return n(), t.applyClass(X.MH_SUMMARY), c = e.scrollHeight, this;
830
848
  }
831
- function u() {
849
+ function f() {
832
850
  n(), e.style.top = "100%";
833
851
  const y = r();
834
852
  let _ = 30;
835
853
  const L = 2;
836
- let x = e.scrollHeight + _ < y.distanceToBottom ? `${e.scrollHeight + L}px` : `${y.distanceToBottom - _}px`;
854
+ let k = e.scrollHeight + _ < y.distanceToBottom ? `${e.scrollHeight + L}px` : `${y.distanceToBottom - _}px`;
837
855
  if (y.dir === "up") {
838
- const k = e.parentElement.offsetHeight;
839
- _ += k, e.style.bottom = `${k - L}px`, x = e.scrollHeight + _ < y.distanceToTop ? `${e.scrollHeight + L}px` : `${y.distanceToTop - _}px`, e.style.top = "unset";
856
+ const x = e.parentElement.offsetHeight;
857
+ _ += x, e.style.bottom = `${x - L}px`, k = e.scrollHeight + _ < y.distanceToTop ? `${e.scrollHeight + L}px` : `${y.distanceToTop - _}px`, e.style.top = "unset";
840
858
  }
841
- return e.style.maxHeight = x, t.applyClass(J.MH_DYNAMIC), s.dispatchEvent($e, {
859
+ return e.style.maxHeight = k, t.applyClass(X.MH_DYNAMIC), s.dispatchEvent($e, {
842
860
  target: s,
843
861
  type: $e,
844
862
  dir: y.dir
845
- }), i = e.scrollHeight, this;
863
+ }), c = e.scrollHeight, this;
846
864
  }
847
865
  function b() {
848
- return t.applyClass(J.MH_ZERO), i = e.scrollHeight, this;
866
+ return t.applyClass(X.MH_ZERO), c = e.scrollHeight, this;
849
867
  }
850
- function h() {
868
+ function g() {
851
869
  return e.style.maxHeight = "", t.remove();
852
870
  }
853
- return this.addEventListener = o.addEventListener, this.dispatchEvent = o.dispatchEvent, this.removeEventListener = o.removeEventListener, this.animateOff = t.animateOff, this.animateOn = t.animateOn, this.halt = t.halt, this.isAnimated = t.isAnimated, this.setElement = t.setElement, this.refresh = n, this.remove = h, this.init = d, this.maxHeightDefault = l, this.maxHeightSummary = a, this.maxHeightZero = b, this.maxHeightDynamic = u, this;
871
+ return this.addEventListener = o.addEventListener, this.dispatchEvent = o.dispatchEvent, this.removeEventListener = o.removeEventListener, this.animateOff = t.animateOff, this.animateOn = t.animateOn, this.halt = t.halt, this.isAnimated = t.isAnimated, this.setElement = t.setElement, this.refresh = n, this.remove = g, this.init = d, this.maxHeightDefault = l, this.maxHeightSummary = a, this.maxHeightZero = b, this.maxHeightDynamic = f, this;
854
872
  }
855
- V.CLASSES = J;
856
- const ee = "o-expandable";
857
- function z(e) {
858
- const s = le(e, ee);
859
- let o, t, i, n, r;
873
+ U.CLASSES = X;
874
+ const J = "o-expandable";
875
+ function G(e) {
876
+ const s = le(e, J);
877
+ let o, t, c, n, r;
860
878
  function p() {
861
- if (!ce(s))
879
+ if (!oe(s))
862
880
  return this;
863
- o = s.querySelector(`.${ee}__header`), t = s.querySelector(`.${ee}__content`), i = s.querySelector(`.${ee}__label`);
864
- const a = s.classList.contains(`${ee}--onload-open`);
881
+ o = s.querySelector(`.${J}__header`), t = s.querySelector(`.${J}__content`), c = s.querySelector(`.${J}__label`);
882
+ const a = s.classList.contains(`${J}--onload-open`);
865
883
  W(s, "behavior_flyout-menu"), W(o, "behavior_flyout-menu_trigger"), W(t, "behavior_flyout-menu_content");
866
- const u = a ? V.CLASSES.MH_DEFAULT : V.CLASSES.MH_ZERO;
867
- return n = new V(t).init(u), a || t.classList.add("u-hidden"), r = new xe(s), r.setTransition(
884
+ const f = a ? U.CLASSES.MH_DEFAULT : U.CLASSES.MH_ZERO;
885
+ return n = new U(t).init(f), a || t.classList.add("u-hidden"), r = new xe(s), r.setTransition(
868
886
  n,
869
887
  n.maxHeightZero,
870
888
  n.maxHeightDefault
@@ -875,24 +893,24 @@ function z(e) {
875
893
  }), this;
876
894
  }
877
895
  function d() {
878
- return i.textContent.trim();
896
+ return c.textContent.trim();
879
897
  }
880
898
  this.init = p, this.expand = () => r.expand(), this.collapse = () => r.collapse(), this.isExpanded = () => r.isExpanded(), this.refresh = () => r.getTransition().refresh(), this.getLabelText = d;
881
- const l = new re();
899
+ const l = new ce();
882
900
  return this.addEventListener = l.addEventListener, this.removeEventListener = l.removeEventListener, this.dispatchEvent = l.dispatchEvent, this;
883
901
  }
884
- z.BASE_CLASS = ee;
885
- z.init = (e) => me(`.${z.BASE_CLASS}`, z, e);
902
+ G.BASE_CLASS = J;
903
+ G.init = (e) => me(`.${G.BASE_CLASS}`, G, e);
886
904
  const he = "o-expandable-group";
887
905
  function ve(e) {
888
906
  const s = le(e, he), o = s.classList.contains(`${he}--accordion`);
889
- let t, i;
907
+ let t, c;
890
908
  function n(p) {
891
909
  const d = p.target;
892
- i && i !== d && i.collapse(), i = d;
910
+ c && c !== d && c.collapse(), c = d;
893
911
  }
894
912
  function r(p) {
895
- return ce(s) ? (o && (t = p, t.forEach((d) => {
913
+ return oe(s) ? (o && (t = p, t.forEach((d) => {
896
914
  d.addEventListener("expandbegin", n);
897
915
  })), this) : this;
898
916
  }
@@ -901,204 +919,217 @@ function ve(e) {
901
919
  ve.BASE_CLASS = he;
902
920
  ve.init = (e) => {
903
921
  (e || document).querySelectorAll(`.${he}`).forEach((t) => {
904
- const i = me(
905
- `.${z.BASE_CLASS}`,
906
- z,
922
+ const c = me(
923
+ `.${G.BASE_CLASS}`,
924
+ G,
907
925
  t
908
926
  );
909
- new ve(t).init(i);
927
+ new ve(t).init(c);
910
928
  });
911
929
  };
912
- const se = "o-summary";
930
+ const ee = "o-summary";
913
931
  function _e(e) {
914
- const s = le(e, se), o = s.classList.contains(`${se}--mobile`), t = s.querySelector(`.${se}__content`), i = s.querySelector(`.${se}__btn`);
932
+ const s = le(e, ee), o = s.classList.contains(`${ee}--mobile`), t = s.querySelector(`.${ee}__content`), c = s.querySelector(`.${ee}__btn`);
915
933
  let n, r, p;
916
934
  function d() {
917
- return ce(s) ? (window.addEventListener("load", l), this) : this;
935
+ return oe(s) ? (window.addEventListener("load", l), this) : this;
918
936
  }
919
937
  function l() {
920
- window.removeEventListener("load", l), p = !h(), W(s, "behavior_flyout-menu"), W(t, "behavior_flyout-menu_content"), W(i, "behavior_flyout-menu_trigger"), r = new xe(s, !1), n = new V(t), n.init(
921
- p ? V.CLASSES.MH_SUMMARY : V.CLASSES.MH_DEFAULT
938
+ window.removeEventListener("load", l), p = !g(), W(s, "behavior_flyout-menu"), W(t, "behavior_flyout-menu_content"), W(c, "behavior_flyout-menu_trigger"), r = new xe(s, !1), n = new U(t), n.init(
939
+ p ? U.CLASSES.MH_SUMMARY : U.CLASSES.MH_DEFAULT
922
940
  ), r.setTransition(
923
941
  n,
924
942
  n.maxHeightSummary,
925
943
  n.maxHeightDefault
926
- ), r.addEventListener("triggerclick", y), r.init(), b(), window.addEventListener("resize", b), "onorientationchange" in window && window.addEventListener("orientationchange", b), s.addEventListener("focusin", a), t.addEventListener("click", u);
944
+ ), r.addEventListener("triggerclick", y), r.init(), b(), window.addEventListener("resize", b), "onorientationchange" in window && window.addEventListener("orientationchange", b), s.addEventListener("focusin", a), t.addEventListener("click", f);
927
945
  }
928
946
  function a(S) {
929
- !p && S.target !== i && (i.click(), s.removeEventListener("focusin", a));
947
+ !p && S.target !== c && (c.click(), s.removeEventListener("focusin", a));
930
948
  }
931
- function u(S) {
949
+ function f(S) {
932
950
  S.target.tagName !== "A" && r.isExpanded() && n.refresh();
933
951
  }
934
952
  function b() {
935
- h() ? B() : k();
953
+ g() ? O() : x();
936
954
  }
937
- function h() {
955
+ function g() {
938
956
  return o && !Us(Ws) || t.scrollHeight <= 88;
939
957
  }
940
958
  function y() {
941
959
  r.addEventListener("expandend", _);
942
960
  }
943
961
  function _() {
944
- x(), window.removeEventListener("resize", b), window.removeEventListener("orientationchange", b), r.removeEventListener("expandend", _), r.suspend(), n.remove();
962
+ k(), window.removeEventListener("resize", b), window.removeEventListener("orientationchange", b), r.removeEventListener("expandend", _), r.suspend(), n.remove();
945
963
  }
946
964
  function L() {
947
- i.classList.remove("u-hidden");
948
- }
949
- function x() {
950
- i.classList.add("u-hidden");
965
+ c.classList.remove("u-hidden");
951
966
  }
952
967
  function k() {
968
+ c.classList.add("u-hidden");
969
+ }
970
+ function x() {
953
971
  return p && (r.collapse(), n.animateOn(), L(), p = !1), !p;
954
972
  }
955
- function B() {
956
- return p || (n.animateOff(), r.expand(), x(), p = !0), p;
973
+ function O() {
974
+ return p || (n.animateOff(), r.expand(), k(), p = !0), p;
957
975
  }
958
- const M = new re();
959
- return this.addEventListener = M.addEventListener, this.removeEventListener = M.removeEventListener, this.dispatchEvent = M.dispatchEvent, this.init = d, this;
976
+ const H = new ce();
977
+ return this.addEventListener = H.addEventListener, this.removeEventListener = H.removeEventListener, this.dispatchEvent = H.dispatchEvent, this.init = d, this;
960
978
  }
961
- _e.BASE_CLASS = se;
962
- _e.init = (e) => me(`.${se}`, _e, e);
963
- const de = "o-summary-minimal";
979
+ _e.BASE_CLASS = ee;
980
+ _e.init = (e) => me(`.${ee}`, _e, e);
981
+ const pe = "o-summary-minimal";
964
982
  function ye(e) {
965
- const s = le(e, de), o = s.querySelector(`.${de}__content`), t = s.querySelector(`.${de}__btn`);
966
- let i, n;
983
+ const s = le(e, pe), o = s.querySelector(`.${pe}__content`), t = s.querySelector(`.${pe}__btn`);
984
+ let c, n;
967
985
  function r() {
968
- return ce(s) ? (W(s, "behavior_flyout-menu"), W(o, "behavior_flyout-menu_content"), W(t, "behavior_flyout-menu_trigger"), window.addEventListener("load", p), this) : this;
986
+ return oe(s) ? (W(s, "behavior_flyout-menu"), W(o, "behavior_flyout-menu_content"), W(t, "behavior_flyout-menu_trigger"), window.addEventListener("load", p), this) : this;
969
987
  }
970
988
  function p() {
971
- window.removeEventListener("load", p), n = new xe(s, !1), i = new V(o), i.init(V.CLASSES.MH_SUMMARY), n.setTransition(
972
- i,
973
- i.maxHeightSummary,
974
- i.maxHeightDefault
975
- ), n.init(), s.addEventListener("focusin", d), o.addEventListener("click", l), n.collapse(), i.animateOn();
989
+ window.removeEventListener("load", p), n = new xe(s, !1), c = new U(o), c.init(U.CLASSES.MH_SUMMARY), n.setTransition(
990
+ c,
991
+ c.maxHeightSummary,
992
+ c.maxHeightDefault
993
+ ), n.init(), s.addEventListener("focusin", d), o.addEventListener("click", l), n.collapse(), c.animateOn();
976
994
  }
977
- function d(u) {
978
- u.target !== t && (t.click(), s.removeEventListener("focusin", d));
995
+ function d(f) {
996
+ f.target !== t && (t.click(), s.removeEventListener("focusin", d));
979
997
  }
980
- function l(u) {
981
- u.target.tagName !== "A" && n.isExpanded() && i.refresh();
998
+ function l(f) {
999
+ f.target.tagName !== "A" && n.isExpanded() && c.refresh();
982
1000
  }
983
- const a = new re();
1001
+ const a = new ce();
984
1002
  return this.addEventListener = a.addEventListener, this.removeEventListener = a.removeEventListener, this.dispatchEvent = a.dispatchEvent, this.init = r, this;
985
1003
  }
986
- ye.BASE_CLASS = de;
987
- ye.init = (e) => me(`.${de}`, ye, e);
988
- const Jn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadded: i = !1, openOnLoad: n = !1, className: r = "", ...p }) => {
989
- j(() => {
990
- t || z.init();
1004
+ ye.BASE_CLASS = pe;
1005
+ ye.init = (e) => me(`.${pe}`, ye, e);
1006
+ const Gn = ({ header: e, children: s, icon: o = "", inAccordion: t = !1, isPadded: c = !1, openOnLoad: n = !1, className: r = "", ...p }) => {
1007
+ Q(() => {
1008
+ t || G.init();
991
1009
  }, [t]);
992
1010
  const d = ["o-expandable", r];
993
- return t || d.push("o-expandable--background", "o-expandable--border"), i && d.push("o-expandable--padded"), n && d.push("o-expandable--onload-open"), v("div", {
1011
+ return t || d.push("o-expandable--background", "o-expandable--border"), c && d.push("o-expandable--padded"), n && d.push("o-expandable--onload-open"), v("div", {
994
1012
  className: w(d),
995
1013
  ...p,
996
1014
  children: [v("button", {
997
1015
  type: "button",
998
1016
  className: "o-expandable__header",
999
1017
  title: e,
1000
- children: [o ? c("span", {
1018
+ children: [o ? i("span", {
1001
1019
  className: "o-expandable__icon",
1002
- children: c(T, {
1020
+ children: i(C, {
1003
1021
  name: o
1004
1022
  })
1005
- }) : null, c("h3", {
1023
+ }) : null, i("h3", {
1006
1024
  className: "o-expandable__label",
1007
1025
  children: e
1008
1026
  }), v("span", {
1009
1027
  className: "o-expandable__cues",
1010
- children: [c("span", {
1028
+ children: [i("span", {
1011
1029
  className: "o-expandable__cue-open",
1012
1030
  "aria-label": "Show",
1013
- children: c(T, {
1031
+ children: i(C, {
1014
1032
  name: "plus-round",
1015
1033
  isPresentational: !0
1016
1034
  })
1017
- }), c("span", {
1035
+ }), i("span", {
1018
1036
  className: "o-expandable__cue-close",
1019
1037
  "aria-label": "Hide",
1020
- children: c(T, {
1038
+ children: i(C, {
1021
1039
  name: "minus-round",
1022
1040
  isPresentational: !0
1023
1041
  })
1024
1042
  })]
1025
1043
  })]
1026
- }), c("div", {
1044
+ }), i("div", {
1027
1045
  className: "o-expandable__content",
1028
1046
  children: s
1029
1047
  })]
1030
1048
  });
1031
- }, eo = ({ groupId: e, accordion: s = !1, children: o, className: t = "", ...i }) => {
1049
+ }, zn = ({ legend: e, legendHelperText: s, children: o, isInline: t = !1, className: c, ...n }) => v("fieldset", {
1050
+ className: w("o-form__fieldset", t && "o-form__fieldset--inline", c),
1051
+ ...n,
1052
+ children: [v("legend", {
1053
+ className: "h4",
1054
+ children: [e, s && i("small", {
1055
+ className: "a-label__helper a-label__helper--block",
1056
+ children: s
1057
+ })]
1058
+ }), t ? i("div", {
1059
+ className: "o-form__fieldset-options",
1060
+ children: o
1061
+ }) : o]
1062
+ }), Xn = ({ groupId: e, accordion: s = !1, children: o, className: t = "", ...c }) => {
1032
1063
  const n = ["o-expandable-group", t];
1033
- s && n.push("o-expandable-group--accordion"), j(() => {
1064
+ s && n.push("o-expandable-group--accordion"), Q(() => {
1034
1065
  ve.init();
1035
1066
  }, [s]);
1036
- const r = ne.Children.map(o, (p) => ne.isValidElement(p) ? ne.cloneElement(p, {
1067
+ const r = se.Children.map(o, (p) => se.isValidElement(p) ? se.cloneElement(p, {
1037
1068
  inAccordion: !0,
1038
1069
  openOnLoad: p.props.openOnLoad ?? !1
1039
1070
  }) : p);
1040
- return c("div", {
1071
+ return i("div", {
1041
1072
  id: e,
1042
1073
  className: w(n),
1043
- ...i,
1074
+ ...c,
1044
1075
  children: r
1045
1076
  });
1046
- }, Ks = () => v("a", {
1077
+ }, Gs = () => v("a", {
1047
1078
  className: "a-btn a-btn--secondary o-footer__top-button",
1048
1079
  "data-gtm_ignore": "true",
1049
1080
  "data-js-hook": "behavior_return-to-top",
1050
1081
  href: "#",
1051
- children: ["Back to top", c(T, {
1082
+ children: ["Back to top", i(C, {
1052
1083
  name: "arrow-up",
1053
1084
  isPresentational: !0
1054
1085
  })]
1055
- }), zs = () => c("div", {
1086
+ }), zs = () => i("div", {
1056
1087
  className: "o-footer__post",
1057
1088
  children: v("div", {
1058
1089
  className: "a-tagline a-tagline--large",
1059
1090
  "aria-label": "Official website of the United States government",
1060
- children: [c("span", {
1091
+ children: [i("span", {
1061
1092
  className: "u-usa-flag"
1062
1093
  }), v("div", {
1063
1094
  className: "a-tagline__text",
1064
- children: ["An official website of the ", c("span", {
1095
+ children: ["An official website of the ", i("span", {
1065
1096
  className: "u-nowrap",
1066
1097
  children: "United States government"
1067
1098
  })]
1068
1099
  })]
1069
1100
  })
1070
- }), De = (e) => e.length === 0, Xs = ({ children: e }) => De(e) ? null : c(ie, {
1101
+ }), De = (e) => e.length === 0, Xs = ({ children: e }) => De(e) ? null : i(te, {
1071
1102
  className: "o-footer__nav-list m-list--links m-list--horizontal",
1072
- children: c(Me, {
1103
+ children: i(Me, {
1073
1104
  itemClassname: "m-list__link",
1074
1105
  children: e
1075
1106
  })
1076
- }), Js = ({ children: e }) => De(e) ? null : c("div", {
1107
+ }), Js = ({ children: e }) => De(e) ? null : i("div", {
1077
1108
  className: "block block--flush-top block--flush-bottom block--padded-top",
1078
- children: c("div", {
1109
+ children: i("div", {
1079
1110
  className: "m-social-media m-social-media--follow",
1080
- children: c(ie, {
1111
+ children: i(te, {
1081
1112
  className: "m-social-media__icons",
1082
1113
  isUnstyled: !0,
1083
1114
  isHorizontal: !0,
1084
- children: c(Me, {
1115
+ children: i(Me, {
1085
1116
  itemClassname: "m-social-media__icon",
1086
1117
  children: e
1087
1118
  })
1088
1119
  })
1089
1120
  })
1090
- }), Oe = ({ children: e }) => De(e) ? null : c("div", {
1121
+ }), Oe = ({ children: e }) => De(e) ? null : i("div", {
1091
1122
  className: "o-footer__col",
1092
- children: c(ie, {
1123
+ children: i(te, {
1093
1124
  className: "o-footer__list",
1094
- children: c(Me, {
1125
+ children: i(Me, {
1095
1126
  itemClassname: "m-list__link",
1096
1127
  children: e
1097
1128
  })
1098
1129
  })
1099
1130
  });
1100
- function en({ navLinks: e = [], socialLinks: s = [], linksCol1: o = [], linksCol2: t = [], linksCol3: i = [], className: n, ...r }) {
1101
- return c("footer", {
1131
+ function en({ navLinks: e = [], socialLinks: s = [], linksCol1: o = [], linksCol2: t = [], linksCol3: c = [], className: n, ...r }) {
1132
+ return i("footer", {
1102
1133
  className: w(["o-footer", n]),
1103
1134
  "data-js-hook": "state_atomic_init",
1104
1135
  ...r,
@@ -1106,139 +1137,139 @@ function en({ navLinks: e = [], socialLinks: s = [], linksCol1: o = [], linksCol
1106
1137
  className: "wrapper wrapper--match-content",
1107
1138
  children: [v("div", {
1108
1139
  className: "o-footer__pre",
1109
- children: [c(Ks, {}), c(Xs, {
1140
+ children: [i(Gs, {}), i(Xs, {
1110
1141
  children: e
1111
- }), c(Js, {
1142
+ }), i(Js, {
1112
1143
  children: s
1113
1144
  })]
1114
1145
  }), v("div", {
1115
1146
  className: "o-footer__middle-left",
1116
- children: [c(Oe, {
1147
+ children: [i(Oe, {
1117
1148
  children: o
1118
- }), c(Oe, {
1149
+ }), i(Oe, {
1119
1150
  children: t
1120
1151
  })]
1121
- }), c("div", {
1152
+ }), i("div", {
1122
1153
  className: "o-footer__middle-right",
1123
- children: c(Oe, {
1124
- children: i
1154
+ children: i(Oe, {
1155
+ children: c
1125
1156
  })
1126
- }), c(zs, {})]
1157
+ }), i(zs, {})]
1127
1158
  })
1128
1159
  });
1129
1160
  }
1130
- const so = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o }) => {
1131
- const t = [c("a", {
1161
+ const Jn = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o }) => {
1162
+ const t = [i("a", {
1132
1163
  href: `${e}/about-us/`,
1133
1164
  children: "About Us"
1134
- }, "about"), c("a", {
1165
+ }, "about"), i("a", {
1135
1166
  href: `${e}/about-us/contact-us/`,
1136
1167
  children: "Contact Us"
1137
- }, "contact"), c("a", {
1168
+ }, "contact"), i("a", {
1138
1169
  href: `${e}/about-us/careers/`,
1139
1170
  children: "Careers"
1140
- }, "careers"), c("a", {
1171
+ }, "careers"), i("a", {
1141
1172
  href: `${e}/about-us/events/`,
1142
1173
  children: "Events"
1143
- }, "events"), c("a", {
1174
+ }, "events"), i("a", {
1144
1175
  href: `${e}/enforcement/information-industry-whistleblowers/`,
1145
1176
  children: "Industry Whistleblowers"
1146
- }, "whistle"), c("a", {
1177
+ }, "whistle"), i("a", {
1147
1178
  href: `${e}/cfpb-ombudsman/`,
1148
1179
  children: "CFPB Ombudsman"
1149
- }, "ombudsman")], i = "https://www.facebook.com/CFPB", n = "https://www.linkedin.com/company/consumer-financial-protection-bureau", r = "https://twitter.com/CFPB", p = "https://www.youtube.com/user/cfpbvideo", d = "https://www.flickr.com/photos/cfpbphotos", l = [c("a", {
1180
+ }, "ombudsman")], c = "https://www.facebook.com/CFPB", n = "https://www.linkedin.com/company/consumer-financial-protection-bureau", r = "https://twitter.com/CFPB", p = "https://www.youtube.com/user/cfpbvideo", d = "https://www.flickr.com/photos/cfpbphotos", l = [i("a", {
1150
1181
  "aria-label": "Visit us on Facebook",
1151
- "data-pretty-href": i,
1152
- href: i,
1153
- children: c(T, {
1182
+ "data-pretty-href": c,
1183
+ href: c,
1184
+ children: i(C, {
1154
1185
  name: "facebook",
1155
1186
  isPresentational: !0,
1156
1187
  withBg: !0
1157
1188
  })
1158
- }, "facebook"), c("a", {
1189
+ }, "facebook"), i("a", {
1159
1190
  "aria-label": "Visit us on Twitter",
1160
1191
  "data-pretty-href": r,
1161
1192
  href: r,
1162
- children: c(T, {
1193
+ children: i(C, {
1163
1194
  name: "x",
1164
1195
  isPresentational: !0,
1165
1196
  withBg: !0
1166
1197
  })
1167
- }, "twitter"), c("a", {
1198
+ }, "twitter"), i("a", {
1168
1199
  "aria-label": "Visit us on LinkedIn",
1169
1200
  "data-pretty-href": n,
1170
1201
  href: n,
1171
- children: c(T, {
1202
+ children: i(C, {
1172
1203
  name: "linkedin",
1173
1204
  isPresentational: !0,
1174
1205
  withBg: !0
1175
1206
  })
1176
- }, "linkedin"), c("a", {
1207
+ }, "linkedin"), i("a", {
1177
1208
  "aria-label": "Visit us on YouTube",
1178
1209
  "data-pretty-href": p,
1179
1210
  href: p,
1180
- children: c(T, {
1211
+ children: i(C, {
1181
1212
  name: "youtube",
1182
1213
  alt: "Visit us on YouTube",
1183
1214
  isPresentational: !0,
1184
1215
  withBg: !0
1185
1216
  })
1186
- }, "youtube"), c("a", {
1217
+ }, "youtube"), i("a", {
1187
1218
  "aria-label": "Visit us on Flickr",
1188
1219
  "data-pretty-href": d,
1189
1220
  href: d,
1190
- children: c(T, {
1221
+ children: i(C, {
1191
1222
  name: "flickr",
1192
1223
  alt: "Visit us on Flickr",
1193
1224
  isPresentational: !0,
1194
1225
  withBg: !0
1195
1226
  })
1196
- }, "flickr")], a = [c("a", {
1227
+ }, "flickr")], a = [i("a", {
1197
1228
  href: `${e}/foia-requests/`,
1198
1229
  children: "FOIA"
1199
- }, "foia"), c("a", {
1230
+ }, "foia"), i("a", {
1200
1231
  href: `${e}/privacy/`,
1201
1232
  children: "Privacy"
1202
- }, "privacy"), c("a", {
1233
+ }, "privacy"), i("a", {
1203
1234
  href: `${e}/privacy/website-privacy-policy/`,
1204
1235
  children: "Website Privacy Policy & Legal Notices"
1205
- }, "privacy-policy"), c("a", {
1236
+ }, "privacy-policy"), i("a", {
1206
1237
  href: `${e}/data/`,
1207
1238
  children: "Data"
1208
- }, "data"), c("a", {
1239
+ }, "data"), i("a", {
1209
1240
  href: `${e}/open-government/`,
1210
1241
  children: "Open Government"
1211
- }, "open-government"), c("a", {
1242
+ }, "open-government"), i("a", {
1212
1243
  href: `${e}/open-government/information-quality-guidelines/`,
1213
1244
  children: "Information Quality Guidelines"
1214
- }, "info-quality")], u = [c("a", {
1245
+ }, "info-quality")], f = [i("a", {
1215
1246
  href: `${e}/about-us/diversity-and-inclusion/`,
1216
1247
  children: "Diversity & Inclusion"
1217
- }, "dei"), c("a", {
1248
+ }, "dei"), i("a", {
1218
1249
  href: `${e}/administrative-adjudication-proceedings/`,
1219
1250
  children: "Administrative Adjudication"
1220
- }, "adjudication"), c("a", {
1251
+ }, "adjudication"), i("a", {
1221
1252
  href: `${e}/plain-writing/`,
1222
1253
  children: "Plain Writing"
1223
- }, "writing"), c("a", {
1254
+ }, "writing"), i("a", {
1224
1255
  href: `${e}/accessibility/`,
1225
1256
  children: "Accessibility"
1226
- }, "accessibility"), c("a", {
1257
+ }, "accessibility"), i("a", {
1227
1258
  href: `${e}/office-civil-rights/`,
1228
1259
  children: "Office of Civil Rights"
1229
- }, "civ-rights"), c("a", {
1260
+ }, "civ-rights"), i("a", {
1230
1261
  href: `${e}/office-civil-rights/no-fear-act-cummings-act/`,
1231
1262
  children: "No FEAR Act & Cummings Act"
1232
- }, "no-fear"), c("a", {
1263
+ }, "no-fear"), i("a", {
1233
1264
  href: `${e}/tribal/`,
1234
1265
  children: "Tribal"
1235
1266
  }, "tribal")], b = [v("a", {
1236
1267
  className: "a-link a-link--icon",
1237
1268
  href: "https://usa.gov/",
1238
- children: [c("span", {
1269
+ children: [i("span", {
1239
1270
  className: "a-link__text",
1240
1271
  children: "USA.gov"
1241
- }), " ", c(T, {
1272
+ }), " ", i(C, {
1242
1273
  ariaLabel: "External link",
1243
1274
  name: "external-link",
1244
1275
  alt: "External link"
@@ -1246,82 +1277,82 @@ const so = ({ cfLink: e = "https://www.consumerfinance.gov", className: s, ...o
1246
1277
  }, "usa-gov"), v("a", {
1247
1278
  className: "a-link a-link--icon",
1248
1279
  href: "https://oig.federalreserve.gov/",
1249
- children: [c("span", {
1280
+ children: [i("span", {
1250
1281
  className: "a-link__text",
1251
1282
  children: "Office of Inspector General"
1252
- }), " ", c(T, {
1283
+ }), " ", i(C, {
1253
1284
  ariaLabel: "External link",
1254
1285
  name: "external-link",
1255
1286
  alt: "External link"
1256
1287
  })]
1257
1288
  }, "inspector")];
1258
- return c(en, {
1289
+ return i(en, {
1259
1290
  ...o,
1260
1291
  className: s,
1261
1292
  navLinks: t,
1262
1293
  socialLinks: l,
1263
1294
  linksCol1: a,
1264
- linksCol2: u,
1295
+ linksCol2: f,
1265
1296
  linksCol3: b
1266
1297
  });
1267
1298
  };
1268
1299
  var Pe = ((e) => (e[e.Full = 12] = "Full", e[e.ThreeQuarters = 9] = "ThreeQuarters", e[e.TwoThirds = 8] = "TwoThirds", e[e.Half = 6] = "Half", e[e.Third = 4] = "Third", e[e.Quarter = 3] = "Quarter", e[e.Single = 1] = "Single", e))(Pe || {});
1269
1300
  function sn({ width: e = 1, children: s, className: o = "", ...t }) {
1270
- const i = ["col", `col-${e}`, o];
1271
- return c("div", {
1272
- className: w(i),
1301
+ const c = ["col", `col-${e}`, o];
1302
+ return i("div", {
1303
+ className: w(c),
1273
1304
  role: "gridcell",
1274
1305
  ...t,
1275
1306
  children: s
1276
1307
  });
1277
1308
  }
1278
1309
  function nn({ children: e, className: s, ...o }) {
1279
- return c("div", {
1310
+ return i("div", {
1280
1311
  className: w(["row", s]),
1281
1312
  role: "row",
1282
1313
  ...o,
1283
1314
  children: e
1284
1315
  });
1285
1316
  }
1286
- function on({ children: e, width: s = Pe.Full, demo: o, center: t, className: i, ...n }) {
1287
- const r = [`grid cols-${s}`, i];
1288
- return o && r.push("demo"), t && r.push("centered"), c("div", {
1317
+ function on({ children: e, width: s = Pe.Full, demo: o, center: t, className: c, ...n }) {
1318
+ const r = [`grid cols-${s}`, c];
1319
+ return o && r.push("demo"), t && r.push("centered"), i("div", {
1289
1320
  className: w(r),
1290
1321
  role: "grid",
1291
1322
  ...n,
1292
1323
  children: e
1293
1324
  });
1294
1325
  }
1295
- const no = {
1326
+ const eo = {
1296
1327
  Column: sn,
1297
1328
  Row: nn,
1298
1329
  Width: Pe,
1299
1330
  Wrapper: on
1300
1331
  }, Ee = ({ type: e = "1", children: s, className: o, ...t }) => {
1301
- let i;
1332
+ let c;
1302
1333
  const n = [o];
1303
- return e === "slug" ? (n.push("m-slug-header"), c("header", {
1334
+ return e === "slug" ? (n.push("m-slug-header"), i("header", {
1304
1335
  className: w(n),
1305
1336
  ...t,
1306
- children: c("h2", {
1337
+ children: i("h2", {
1307
1338
  className: "m-slug-header_heading",
1308
1339
  children: s
1309
1340
  })
1310
- })) : (e === "display" ? (i = "h1", n.push("superheading")) : e === "eyebrow" ? (i = "div", n.push("h5 eyebrow")) : i = `h${e}`, c(i, {
1341
+ })) : (e === "display" ? (c = "h1", n.push("superheading")) : e === "eyebrow" ? (c = "div", n.push("h5 eyebrow")) : c = `h${e}`, i(c, {
1311
1342
  ...t,
1312
1343
  className: w(n),
1313
1344
  children: s
1314
1345
  }));
1315
- }, tn = ({ image: e, altText: s }) => e ? c("div", {
1346
+ }, tn = ({ image: e, altText: s }) => e ? i("div", {
1316
1347
  className: "m-hero__image-wrapper",
1317
- children: c("img", {
1348
+ children: i("img", {
1318
1349
  src: e,
1319
1350
  alt: s,
1320
1351
  className: "m-hero__image"
1321
1352
  })
1322
1353
  }) : null, cn = (e, s) => {
1323
- const o = ze(null);
1324
- return j(() => {
1354
+ const o = Xe(null);
1355
+ return Q(() => {
1325
1356
  if (!s || !e || !o.current) {
1326
1357
  o.current?.setAttribute("style", "");
1327
1358
  return;
@@ -1337,14 +1368,14 @@ const no = {
1337
1368
  );`);
1338
1369
  }, [o, e, s]), o;
1339
1370
  };
1340
- function oo({ backgroundColor: e, heading: s, headingLevel: o = "h1", image: t, imageAltText: i = "hero image", imageIsPhoto: n, is5050: r, isJumbo: p, isKnockout: d, subheading: l, subheadingLevel: a = "p", textColor: u, className: b, ...h }) {
1371
+ function so({ backgroundColor: e, heading: s, headingLevel: o = "h1", image: t, imageAltText: c = "hero image", imageIsPhoto: n, is5050: r, isJumbo: p, isKnockout: d, subheading: l, subheadingLevel: a = "p", textColor: f, className: b, ...g }) {
1341
1372
  const _ = cn(t, n ?? p ?? r), L = {
1342
1373
  backgroundColor: e
1343
- }, x = {
1344
- color: u
1345
- }, k = ["m-hero", b];
1346
- p && k.push("m-hero--jumbo"), r && k.push("m-hero--50-50"), d && k.push("m-hero--knockout"), n && k.push("m-hero--overlay");
1347
- const B = {
1374
+ }, k = {
1375
+ color: f
1376
+ }, x = ["m-hero", b];
1377
+ p && x.push("m-hero--jumbo"), r && x.push("m-hero--50-50"), d && x.push("m-hero--knockout"), n && x.push("m-hero--overlay");
1378
+ const O = {
1348
1379
  h1: "1",
1349
1380
  h2: "2",
1350
1381
  h3: "3",
@@ -1354,240 +1385,189 @@ function oo({ backgroundColor: e, heading: s, headingLevel: o = "h1", image: t,
1354
1385
  eyebrow: "eyebrow",
1355
1386
  slug: "slug"
1356
1387
  };
1357
- return c("div", {
1358
- className: w(k),
1388
+ return i("div", {
1389
+ className: w(x),
1359
1390
  style: L,
1360
- ...h,
1391
+ ...g,
1361
1392
  children: v("div", {
1362
1393
  className: "m-hero__wrapper",
1363
1394
  ref: _,
1364
1395
  children: [v("div", {
1365
1396
  className: "m-hero__text",
1366
- style: x,
1367
- children: [c(Ee, {
1397
+ style: k,
1398
+ children: [i(Ee, {
1368
1399
  className: "m-hero__heading",
1369
- type: B[o],
1400
+ type: O[o],
1370
1401
  children: s
1371
- }), a === "p" ? c("p", {
1402
+ }), a === "p" ? i("p", {
1372
1403
  className: "m-hero__subhead",
1373
1404
  children: l
1374
- }) : c(Ee, {
1405
+ }) : i(Ee, {
1375
1406
  className: "m-hero__subhead",
1376
- type: B[a],
1407
+ type: O[a],
1377
1408
  children: l
1378
1409
  })]
1379
- }), c(tn, {
1410
+ }), i(tn, {
1380
1411
  image: t,
1381
- altText: i
1412
+ altText: c
1382
1413
  })]
1383
1414
  })
1384
1415
  });
1385
1416
  }
1386
- const rn = ({ children: e, flushBottom: s, flushTopOnSmall: o, flushAllOnSmall: t, ...i }) => {
1417
+ const rn = ({ children: e, flushBottom: s, flushTopOnSmall: o, flushAllOnSmall: t, ...c }) => {
1387
1418
  const n = ["content__main"];
1388
- return s && n.push("content--flush-bottom"), o && n.push("content--flush-top-on-small"), t && n.push("content--flush-all-on-small"), c("div", {
1419
+ return s && n.push("content--flush-bottom"), o && n.push("content--flush-top-on-small"), t && n.push("content--flush-all-on-small"), i("div", {
1389
1420
  className: w(n),
1390
- ...i,
1421
+ ...c,
1391
1422
  children: e
1392
1423
  });
1393
1424
  }, pn = ({ children: e, classes: s = "", id: o = "main", layout: t = "2-1" }) => {
1394
- const i = ["content", `content--${t}`, s];
1395
- return c("main", {
1425
+ const c = ["content", `content--${t}`, s];
1426
+ return i("main", {
1396
1427
  id: o,
1397
- className: w(i),
1428
+ className: w(c),
1398
1429
  role: "main",
1399
1430
  children: e
1400
1431
  });
1401
- }, dn = ({ children: e, flushBottom: s, flushTopOnSmall: o, flushAllOnSmall: t, ...i }) => {
1432
+ }, dn = ({ children: e, flushBottom: s, flushTopOnSmall: o, flushAllOnSmall: t, ...c }) => {
1402
1433
  const n = ["sidebar", "content__sidebar", "o-sidebar-content"];
1403
- return s && n.push("content--flush-bottom"), o && n.push("content--flush-top-on-small"), t && n.push("content--flush-all-on-small"), c("aside", {
1434
+ return s && n.push("content--flush-bottom"), o && n.push("content--flush-top-on-small"), t && n.push("content--flush-all-on-small"), i("aside", {
1404
1435
  className: w(n),
1405
- ...i,
1436
+ ...c,
1406
1437
  children: e
1407
1438
  });
1408
- }, an = ({ children: e, ...s }) => c("div", {
1439
+ }, an = ({ children: e, ...s }) => i("div", {
1409
1440
  className: "wrapper",
1410
1441
  ...s,
1411
1442
  children: e
1412
- }), to = {
1443
+ }), no = {
1413
1444
  Content: rn,
1414
1445
  Main: pn,
1415
1446
  Sidebar: dn,
1416
1447
  Wrapper: an
1417
- }, ns = "data:image/png;base64,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";
1418
- function ln({ href: e = "https://www.consumerfinance.gov" }) {
1419
- return c(U, {
1448
+ }, ln = "data:image/png;base64,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";
1449
+ function Ue({ href: e = "https://www.consumerfinance.gov" }) {
1450
+ return i(re, {
1420
1451
  href: e,
1421
1452
  title: "Home",
1422
1453
  "aria-label": "Home",
1423
1454
  className: "o-header__logo",
1424
- children: c("img", {
1455
+ children: i("img", {
1425
1456
  className: "o-header__logo-img",
1426
- src: ns,
1457
+ src: ln,
1427
1458
  alt: "CFPB Logo"
1428
1459
  })
1429
1460
  });
1430
1461
  }
1431
- const mn = ({ elements: e }) => e?.length ? c("div", {
1462
+ const mn = ({ elements: e, onLinkClick: s }) => e?.length ? i("div", {
1432
1463
  className: "links",
1433
- children: e
1434
- }) : null;
1435
- function fn({ links: e, href: s }) {
1436
- return c("div", {
1437
- className: "o-header__content",
1438
- children: v("div", {
1439
- className: "navbar-static wrapper wrapper--match-content",
1440
- children: [c(ln, {
1441
- href: s
1442
- }), c("div", {
1443
- className: "nav-items",
1444
- children: c(mn, {
1445
- elements: e
1446
- })
1447
- })]
1448
- })
1449
- });
1450
- }
1451
- c(U, {
1452
- className: "nav-item",
1453
- href: "/",
1454
- children: "Home"
1455
- }, "home"), c(U, {
1456
- className: "nav-item active",
1457
- href: "/filing",
1458
- children: "Filing"
1459
- }, "filing"), c(U, {
1460
- className: "nav-item",
1461
- href: "/profile",
1462
- children: "John Sample"
1463
- }, "profile"), c(te, {
1464
- label: "LOG OUT",
1465
- asLink: !0,
1466
- onClick: ""
1467
- }, "logout");
1468
- function un({ href: e = "https://www.consumerfinance.gov" }) {
1469
- return c(U, {
1470
- href: e,
1471
- title: "Home",
1472
- "aria-label": "Home",
1473
- className: "o-header__logo",
1474
- children: c("img", {
1475
- className: "o-header__logo-img",
1476
- src: ns,
1477
- alt: "CFPB Logo"
1478
- })
1479
- });
1480
- }
1481
- const bn = ({ elements: e, onLinkClick: s }) => e?.length ? c("div", {
1482
- className: "links",
1483
- children: e.map((o, t) => ne.isValidElement(o) ? ne.cloneElement(o, {
1464
+ children: e.map((o, t) => se.isValidElement(o) ? se.cloneElement(o, {
1484
1465
  ...o.props,
1485
1466
  key: o.key ?? t,
1486
- onClick: (i) => {
1487
- o.props.onClick && o.props.onClick(i), s();
1467
+ onClick: (c) => {
1468
+ o.props.onClick && o.props.onClick(c), s();
1488
1469
  }
1489
1470
  }) : o)
1490
1471
  }) : null;
1491
- function gn({ links: e, href: s }) {
1492
- const [o, t] = ae(!1), i = () => {
1472
+ function fn({ links: e, href: s }) {
1473
+ const [o, t] = ae(!1), c = () => {
1493
1474
  t(!o);
1494
1475
  }, n = () => {
1495
1476
  t(!1);
1496
- }, r = Ke((p) => {
1477
+ }, r = ze((p) => {
1497
1478
  p.key === "Escape" && t(!1);
1498
1479
  }, []);
1499
- return e?.length ? v(oe, {
1500
- children: [o ? c("div", {
1480
+ return e?.length ? v(ne, {
1481
+ children: [o ? i("div", {
1501
1482
  className: "menu-overlay open",
1502
- onClick: i,
1483
+ onClick: c,
1503
1484
  onKeyDown: r,
1504
1485
  tabIndex: 0,
1505
1486
  role: "button",
1506
1487
  "aria-label": "Close menu"
1507
- }) : null, c("header", {
1488
+ }) : null, i("div", {
1508
1489
  className: "o-header__content",
1509
1490
  children: v("div", {
1510
1491
  className: "navbar wrapper wrapper--match-content",
1511
1492
  children: [v("button", {
1512
1493
  className: "menu-toggle",
1513
- onClick: i,
1494
+ onClick: c,
1514
1495
  "aria-expanded": o,
1515
1496
  "aria-controls": "nav-links",
1516
1497
  type: "button",
1517
- children: [c(T, {
1498
+ children: [i(C, {
1518
1499
  name: o ? "error" : "menu"
1519
- }), c("span", {
1500
+ }), i("span", {
1520
1501
  className: "sr-only",
1521
1502
  children: o ? "Close menu" : "Open menu"
1522
1503
  })]
1523
- }), c(un, {
1504
+ }), i(Ue, {
1524
1505
  href: s
1525
- }), c("nav", {
1506
+ }), i("nav", {
1526
1507
  className: `nav-items ${o ? "open" : ""}`,
1527
1508
  id: "nav-links",
1528
- children: c(bn, {
1509
+ children: i(mn, {
1529
1510
  elements: e,
1530
1511
  onLinkClick: n
1531
1512
  })
1532
1513
  })]
1533
1514
  })
1534
1515
  })]
1535
- }) : c(fn, {
1536
- href: s
1516
+ }) : i("div", {
1517
+ className: "o-header__content",
1518
+ children: i("div", {
1519
+ className: "navbar wrapper wrapper--match-content",
1520
+ children: i(Ue, {
1521
+ href: s
1522
+ })
1523
+ })
1537
1524
  });
1538
1525
  }
1539
- c(U, {
1526
+ i(re, {
1540
1527
  href: "/",
1541
- children: c("span", {
1542
- className: "nav-item",
1543
- children: "Home"
1544
- })
1545
- }, "home"), c(U, {
1528
+ label: "Home"
1529
+ }, "home"), i(re, {
1546
1530
  className: "nav-item active",
1547
1531
  href: "/filing",
1548
- children: "Filing"
1549
- }, "filing"), c(U, {
1532
+ label: "Filing"
1533
+ }, "filing"), i(re, {
1550
1534
  className: "nav-item profile",
1551
1535
  href: "/profile",
1552
- children: c("span", {
1553
- children: "John Sample"
1554
- })
1555
- }, "profile"), c(te, {
1556
- label: "LOG OUT",
1557
- asLink: !0,
1536
+ label: "John Sample"
1537
+ }, "profile"), i(de, {
1538
+ label: "Log Out",
1539
+ isLink: !0,
1558
1540
  onClick: () => {
1559
1541
  }
1560
1542
  }, "logout");
1561
- function co({ links: e, user: s, href: o, withBottomBorder: t = !0 }) {
1562
- const i = ["o-header"];
1563
- return t && i.push("bottom-border"), v("header", {
1564
- className: w(i),
1565
- children: [c(Ts, {
1543
+ const oo = ({ links: e, href: s, withBottomBorder: o = !0 }) => {
1544
+ const t = ["o-header"];
1545
+ return o && t.push("bottom-border"), v("header", {
1546
+ className: w(t),
1547
+ children: [i(Ts, {
1566
1548
  tagline: "An official website of the United States government"
1567
- }), c(gn, {
1549
+ }), i(fn, {
1568
1550
  links: e,
1569
- user: s,
1570
- href: o
1551
+ href: s
1571
1552
  })]
1572
1553
  });
1573
- }
1574
- const Q = () => null, Y = 1, os = 20, hn = () => c(te, {
1575
- asLink: !0,
1554
+ }, V = () => null, j = 1, os = 20, un = () => i(de, {
1555
+ isLink: !0,
1576
1556
  className: "m-pagination__btn-submit",
1577
1557
  id: "m-pagination__btn-submit-default",
1578
1558
  label: "Go",
1579
1559
  type: "submit"
1580
- }), vn = ({ tableId: e, page: s, pageCount: o, onChange: t }) => {
1581
- const i = (r) => {
1560
+ }), bn = ({ tableId: e, page: s, pageCount: o, onChange: t }) => {
1561
+ const c = (r) => {
1582
1562
  t(Number.parseInt(r.currentTarget.value, 10));
1583
1563
  }, n = `${e}-pagination_current-page`;
1584
1564
  return v("label", {
1585
1565
  className: "m-pagination__label",
1586
1566
  htmlFor: n,
1587
- children: ["Page", c("span", {
1567
+ children: ["Page", i("span", {
1588
1568
  className: "u-visually-hidden",
1589
1569
  children: `number ${s} out`
1590
- }), c("input", {
1570
+ }), i("input", {
1591
1571
  className: "m-pagination__current-page",
1592
1572
  id: n,
1593
1573
  name: "page",
@@ -1597,173 +1577,173 @@ const Q = () => null, Y = 1, os = 20, hn = () => c(te, {
1597
1577
  pattern: "[0-9]*",
1598
1578
  inputMode: "numeric",
1599
1579
  value: s,
1600
- onChange: i
1580
+ onChange: c
1601
1581
  }), `of ${o}`]
1602
1582
  });
1603
- }, _n = ({ tableId: e, page: s, pageCount: o, onClickPrevious: t = Q, onClickNext: i = Q, onClickGo: n = Q, previousLabel: r = "Previous", nextLabel: p = "Next" }) => {
1583
+ }, gn = ({ tableId: e, page: s, pageCount: o, onClickPrevious: t = V, onClickNext: c = V, onClickGo: n = V, previousLabel: r = "Previous", nextLabel: p = "Next" }) => {
1604
1584
  const [d, l] = ae(s);
1605
- j(() => l(s), [s]);
1606
- const a = (h) => {
1607
- h.preventDefault();
1608
- const y = Object.fromEntries(new FormData(h.currentTarget)), _ = Number.parseInt(y.page, 10);
1585
+ Q(() => l(s), [s]);
1586
+ const a = (g) => {
1587
+ g.preventDefault();
1588
+ const y = Object.fromEntries(new FormData(g.currentTarget)), _ = Number.parseInt(y.page, 10);
1609
1589
  _ !== s && n(_);
1610
- }, u = Xe(), b = l;
1590
+ }, f = Je(), b = l;
1611
1591
  return v("nav", {
1612
1592
  className: "m-pagination",
1613
1593
  role: "navigation",
1614
1594
  "aria-label": "Pagination",
1615
- children: [c(te, {
1595
+ children: [i(de, {
1616
1596
  iconLeft: "left",
1617
- className: `m-pagination__btn-prev${s === Y ? " a-btn--disabled" : ""}`,
1597
+ className: `m-pagination__btn-prev${s === j ? " a-btn--disabled" : ""}`,
1618
1598
  onClick: t,
1619
1599
  label: r,
1620
- disabled: s === Y
1621
- }), c(te, {
1600
+ disabled: s === j
1601
+ }), i(de, {
1622
1602
  iconRight: "right",
1623
1603
  className: `m-pagination__btn-next${s === o ? " a-btn--disabled" : ""}`,
1624
- onClick: i,
1604
+ onClick: c,
1625
1605
  label: p,
1626
1606
  disabled: s === o
1627
1607
  }), v("form", {
1628
1608
  className: "m-pagination__form",
1629
1609
  action: "#pagination_content",
1630
1610
  onSubmit: a,
1631
- children: [c(vn, {
1632
- tableId: e ?? u,
1611
+ children: [i(bn, {
1612
+ tableId: e ?? f,
1633
1613
  page: d,
1634
1614
  pageCount: o,
1635
1615
  onChange: b
1636
- }), c(hn, {})]
1616
+ }), i(un, {})]
1637
1617
  })]
1638
1618
  });
1639
- }, Ue = 1, yn = ({ isPaginated: e = !0, startPage: s = Y, rows: o = [], perPage: t = os }) => {
1640
- const i = o.length, n = Math.max(Math.ceil(i / t), Y), r = e && i > t, [p, d] = ae(Math.min(s, n));
1641
- j(() => {
1619
+ }, Ve = 1, hn = ({ isPaginated: e = !0, startPage: s = j, rows: o = [], perPage: t = os }) => {
1620
+ const c = o.length, n = Math.max(Math.ceil(c / t), j), r = e && c > t, [p, d] = ae(Math.min(s, n));
1621
+ Q(() => {
1642
1622
  d(Math.min(p, n));
1643
1623
  }, [p, n, t]);
1644
1624
  const l = {
1645
- page: Y,
1646
- pageCount: Y,
1647
- onClickNext: Q,
1648
- onClickPrevious: Q,
1649
- onClickGo: Q
1625
+ page: j,
1626
+ pageCount: j,
1627
+ onClickNext: V,
1628
+ onClickPrevious: V,
1629
+ onClickGo: V
1650
1630
  };
1651
1631
  if (!e || !r) return [o, l];
1652
- const a = p - Ue, u = {
1632
+ const a = p - Ve, f = {
1653
1633
  page: p,
1654
1634
  pageCount: n,
1655
- onClickNext: () => d(Math.min(p + Ue, n)),
1656
- onClickPrevious: () => d(Math.max(a, Y)),
1635
+ onClickNext: () => d(Math.min(p + Ve, n)),
1636
+ onClickPrevious: () => d(Math.max(a, j)),
1657
1637
  onClickGo: (_) => d(_)
1658
- }, b = a * t, h = a * t + t;
1659
- return [o.slice(b, h), u];
1638
+ }, b = a * t, g = a * t + t;
1639
+ return [o.slice(b, g), f];
1660
1640
  };
1661
1641
  function Re({ children: e, isLead: s, className: o, ...t }) {
1662
- const i = [o];
1663
- return s && i.push("lead-paragraph"), c("p", {
1642
+ const c = [o];
1643
+ return s && c.push("lead-paragraph"), i("p", {
1664
1644
  ...t,
1665
- className: w(i),
1645
+ className: w(c),
1666
1646
  children: e
1667
1647
  });
1668
1648
  }
1669
- const En = ["a-radio"], wn = ["m-form-field m-form-field--radio"], io = ({ id: e, name: s, helperText: o, className: t, disabled: i = !1, isLarge: n = !1, labelClassName: r, labelInline: p = !0, label: d, inputRef: l, ...a }) => {
1670
- const u = [...En, t].join(" "), b = [...wn, n ? "m-form-field--lg-target" : ""].join(" ");
1649
+ const vn = ["a-radio"], _n = ["m-form-field m-form-field--radio"], to = ({ id: e, name: s, helperText: o, className: t, disabled: c = !1, isLarge: n = !1, labelClassName: r, isLabelInline: p = !0, label: d, inputRef: l, ...a }) => {
1650
+ const f = [...vn, t].join(" "), b = [..._n, n ? "m-form-field--lg-target" : ""].join(" ");
1671
1651
  return v("div", {
1672
1652
  className: b,
1673
- children: [c("input", {
1653
+ children: [i("input", {
1674
1654
  id: e,
1675
1655
  type: "radio",
1676
1656
  name: s ?? e,
1677
- className: u,
1657
+ className: f,
1678
1658
  ref: l,
1679
- disabled: i,
1659
+ disabled: c,
1680
1660
  ...a
1681
- }), v(ss, {
1661
+ }), v(ns, {
1682
1662
  htmlFor: e,
1683
1663
  className: r,
1684
- inline: p,
1685
- children: [d, c(es, {
1664
+ isInline: p,
1665
+ children: [d, i(ss, {
1686
1666
  children: o
1687
1667
  })]
1688
1668
  })]
1689
1669
  });
1690
1670
  };
1691
- let Sn;
1671
+ let yn;
1692
1672
  const ts = 5;
1693
- function Nn(e) {
1673
+ function En(e) {
1694
1674
  return e.replace(/[-\\^$*+?.()|[\]{}]/g, "\\$&");
1695
1675
  }
1696
- function Ln(e, s) {
1697
- return RegExp(Nn(s.trim()), "i").test(e);
1676
+ function wn(e, s) {
1677
+ return RegExp(En(s.trim()), "i").test(e);
1698
1678
  }
1699
- function xn(e, s, o) {
1700
- const t = e, i = s, n = o?.maxSelections || ts;
1679
+ function Sn(e, s, o) {
1680
+ const t = e, c = s, n = o?.maxSelections || ts;
1701
1681
  let r = [], p = [], d = [], l = [], a = -1;
1702
- function u(S) {
1703
- return i + "-" + S.value.trim().replace(/\s+/g, "-").toLowerCase();
1682
+ function f(S) {
1683
+ return c + "-" + S.value.trim().replace(/\s+/g, "-").toLowerCase();
1704
1684
  }
1705
1685
  function b() {
1706
1686
  return p.length >= n;
1707
1687
  }
1708
- function h(S) {
1688
+ function g(S) {
1709
1689
  let A;
1710
- const O = [];
1690
+ const B = [];
1711
1691
  let N = !1;
1712
- for (let H = 0, D = S.length; H < D; H++)
1713
- A = S[H], N = b() ? !1 : A.defaultSelected, O.push({
1714
- id: u(A),
1692
+ for (let M = 0, D = S.length; M < D; M++)
1693
+ A = S[M], N = b() ? !1 : A.defaultSelected, B.push({
1694
+ id: f(A),
1715
1695
  value: A.value,
1716
1696
  text: A.text,
1717
1697
  checked: N
1718
- }), N && p.push(H);
1719
- return O;
1698
+ }), N && p.push(M);
1699
+ return B;
1720
1700
  }
1721
1701
  function y() {
1722
- return r = h(t), this;
1702
+ return r = g(t), this;
1723
1703
  }
1724
1704
  function _(S) {
1725
1705
  return r[S].checked = !r[S].checked, p.length < n && r[S].checked ? (p.push(S), p.sort(), !0) : (r[S].checked = !1, p = p.filter(function(A) {
1726
1706
  return A !== S;
1727
1707
  }), !1);
1728
1708
  }
1729
- function L(S, A, O, N) {
1730
- return Ln(A.text, N) && S.push(O), S;
1709
+ function L(S, A, B, N) {
1710
+ return wn(A.text, N) && S.push(B), S;
1731
1711
  }
1732
- function x(S) {
1733
- return Object.prototype.toString.call(S) !== "[object String]" && (S = ""), l = d, r.length > 0 && (d = r.reduce(function(A, O, N) {
1734
- return L(A, O, N, S);
1712
+ function k(S) {
1713
+ return Object.prototype.toString.call(S) !== "[object String]" && (S = ""), l = d, r.length > 0 && (d = r.reduce(function(A, B, N) {
1714
+ return L(A, B, N, S);
1735
1715
  }, [])), a = -1, d;
1736
1716
  }
1737
- function k(S) {
1717
+ function x(S) {
1738
1718
  return r[S];
1739
1719
  }
1740
- function B(S) {
1741
- const A = d.length, O = A === 0 ? r.length : A;
1742
- S < 0 ? a = -1 : S >= O ? a = O - 1 : a = S;
1720
+ function O(S) {
1721
+ const A = d.length, B = A === 0 ? r.length : A;
1722
+ S < 0 ? a = -1 : S >= B ? a = B - 1 : a = S;
1743
1723
  }
1744
- function M() {
1724
+ function H() {
1745
1725
  return a;
1746
1726
  }
1747
1727
  return this.init = y, this.toggleOption = _, this.getSelectedIndices = function() {
1748
1728
  return p;
1749
- }, this.isAtMaxSelections = b, this.filterIndices = x, this.clearFilter = function() {
1750
- return d = l = [], Sn;
1729
+ }, this.isAtMaxSelections = b, this.filterIndices = k, this.clearFilter = function() {
1730
+ return d = l = [], yn;
1751
1731
  }, this.getFilterIndices = function() {
1752
1732
  return d;
1753
1733
  }, this.getLastFilterIndices = function() {
1754
1734
  return l;
1755
- }, this.getIndex = M, this.setIndex = B, this.resetIndex = function() {
1735
+ }, this.getIndex = H, this.setIndex = O, this.resetIndex = function() {
1756
1736
  return a = -1, a;
1757
- }, this.getOption = k, this;
1737
+ }, this.getOption = x, this;
1758
1738
  }
1759
1739
  function F(e, s, o) {
1760
1740
  const t = document.createElement(e);
1761
- return Object.keys(o).forEach((i) => {
1762
- const n = o[i];
1763
- i in t ? t[i] = n : t.setAttribute(i, n);
1741
+ return Object.keys(o).forEach((c) => {
1742
+ const n = o[c];
1743
+ c in t ? t[c] = n : t.setAttribute(c, n);
1764
1744
  }), s && s.appendChild(t), t;
1765
1745
  }
1766
- const kn = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>', An = kn, P = "o-multiselect", Cn = "a-checkbox", Tn = "a-text-input", Ve = "prev", ge = "next", Be = "Enter", In = " ", Qe = "Escape", On = "ArrowUp", je = "ArrowDown", Ye = "Tab", Ge = {
1746
+ const Ln = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>', Nn = Ln, P = "o-multiselect", xn = "a-checkbox", kn = "a-text-input", Qe = "prev", ge = "next", Be = "Enter", An = " ", je = "Escape", Cn = "ArrowUp", Ye = "ArrowDown", Ze = "Tab", Ke = {
1767
1747
  // TODO: renderTags was added as a workaround for DS icons not rendering correctly when integrating with a React implementation.
1768
1748
  renderTags: !0,
1769
1749
  // Allow the Multiselect to generate the Tag elements in the DOM
@@ -1772,34 +1752,34 @@ const kn = '<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf
1772
1752
  };
1773
1753
  function we(e) {
1774
1754
  e.classList.add(P);
1775
- let s = le(e, P), o = !1, t, i, n, r, p, d, l, a, u, b, h;
1755
+ let s = le(e, P), o = !1, t, c, n, r, p, d, l, a, f, b, g;
1776
1756
  const y = [];
1777
1757
  let _;
1778
1758
  function L() {
1779
- h.classList.remove("u-no-results"), h.classList.add("u-filtered");
1759
+ g.classList.remove("u-no-results"), g.classList.add("u-filtered");
1780
1760
  let m = n.getLastFilterIndices();
1781
- for (let f = 0, g = m.length; f < g; f++)
1782
- y[m[f]].classList.remove("u-filter-match");
1761
+ for (let u = 0, h = m.length; u < h; u++)
1762
+ y[m[u]].classList.remove("u-filter-match");
1783
1763
  m = n.getFilterIndices();
1784
- for (let f = 0, g = m.length; f < g; f++)
1785
- y[m[f]].classList.add("u-filter-match");
1764
+ for (let u = 0, h = m.length; u < h; u++)
1765
+ y[m[u]].classList.add("u-filter-match");
1786
1766
  }
1787
- function x() {
1788
- h.classList.remove("u-filtered", "u-no-results");
1789
- for (let m = 0, f = h.children.length; m < f; m++)
1790
- h.children[m].classList.remove("u-filter-match");
1767
+ function k() {
1768
+ g.classList.remove("u-filtered", "u-no-results");
1769
+ for (let m = 0, u = g.children.length; m < u; m++)
1770
+ g.children[m].classList.remove("u-filter-match");
1791
1771
  n.clearFilter();
1792
1772
  }
1793
- function k() {
1794
- h.classList.add("u-no-results"), h.classList.remove("u-filtered");
1773
+ function x() {
1774
+ g.classList.add("u-no-results"), g.classList.remove("u-filtered");
1795
1775
  }
1796
- function B(m) {
1797
- return m.length > 0 ? (L(), !0) : (k(), !1);
1776
+ function O(m) {
1777
+ return m.length > 0 ? (L(), !0) : (x(), !1);
1798
1778
  }
1799
- function M(m) {
1800
- x(), n.resetIndex();
1801
- const f = n.filterIndices(m);
1802
- B(f);
1779
+ function H(m) {
1780
+ k(), n.resetIndex();
1781
+ const u = n.filterIndices(m);
1782
+ O(u);
1803
1783
  }
1804
1784
  function S() {
1805
1785
  return d.classList.add("u-active"), b.classList.remove("u-invisible"), b.setAttribute("aria-hidden", !1), _.dispatchEvent("expandbegin", { target: _ }), _;
@@ -1807,108 +1787,108 @@ function we(e) {
1807
1787
  function A() {
1808
1788
  return d.classList.remove("u-active"), b.classList.add("u-invisible"), b.setAttribute("aria-hidden", !0), n.resetIndex(), _.dispatchEvent("collapsebegin", { target: _ }), _;
1809
1789
  }
1810
- function O(m) {
1811
- m === ge ? n.setIndex(n.getIndex() + 1) : m === Ve && n.setIndex(n.getIndex() - 1);
1812
- const f = n.getIndex();
1813
- if (f > -1) {
1814
- let g = f;
1790
+ function B(m) {
1791
+ m === ge ? n.setIndex(n.getIndex() + 1) : m === Qe && n.setIndex(n.getIndex() - 1);
1792
+ const u = n.getIndex();
1793
+ if (u > -1) {
1794
+ let h = u;
1815
1795
  const E = n.getFilterIndices();
1816
- E.length > 0 && (g = E[f]);
1817
- const $ = n.getOption(g).value, ps = h.querySelector('[data-option="' + $ + '"]').querySelector("input");
1796
+ E.length > 0 && (h = E[u]);
1797
+ const $ = n.getOption(h).value, ps = g.querySelector('[data-option="' + $ + '"]').querySelector("input");
1818
1798
  o = !0, ps.focus();
1819
1799
  } else
1820
- o = !1, u.focus();
1800
+ o = !1, f.focus();
1821
1801
  }
1822
1802
  function N() {
1823
- u.value = "", x();
1803
+ f.value = "", k();
1824
1804
  }
1825
- function H(m) {
1826
- const f = m.target;
1827
- f.tagName === "BUTTON" && (m.preventDefault(), f.removeEventListener("click", H), f.querySelector("label").click());
1805
+ function M(m) {
1806
+ const u = m.target;
1807
+ u.tagName === "BUTTON" && (m.preventDefault(), u.removeEventListener("click", M), u.querySelector("label").click());
1828
1808
  }
1829
1809
  function D(m) {
1830
- if (m.key === In || m.key === Be) {
1831
- const f = m.target.querySelector("label");
1832
- h.querySelector(
1833
- "#" + f.getAttribute("for")
1810
+ if (m.key === An || m.key === Be) {
1811
+ const u = m.target.querySelector("label");
1812
+ g.querySelector(
1813
+ "#" + u.getAttribute("for")
1834
1814
  ).click();
1835
1815
  }
1836
1816
  }
1837
1817
  function q(m) {
1838
1818
  return t + "-" + m.value.trim().replace(/[^\w]/g, "-").toLowerCase();
1839
1819
  }
1840
- function X(m, f) {
1841
- const g = q(f), E = F("li", null, {
1842
- "data-option": f.value
1843
- }), C = F("button", E, {
1820
+ function z(m, u) {
1821
+ const h = q(u), E = F("li", null, {
1822
+ "data-option": u.value
1823
+ }), T = F("button", E, {
1844
1824
  type: "button",
1845
1825
  class: "a-tag-filter",
1846
- innerHTML: "<label for=" + g + ">" + f.text + An + "</label>"
1826
+ innerHTML: "<label for=" + h + ">" + u.text + Nn + "</label>"
1847
1827
  });
1848
- m.appendChild(E), C.addEventListener("click", H), C.addEventListener(
1828
+ m.appendChild(E), T.addEventListener("click", M), T.addEventListener(
1849
1829
  "keydown",
1850
1830
  D
1851
1831
  );
1852
1832
  }
1853
1833
  function fe(m) {
1854
- const f = n.getOption(m) || n.getOption(n.getIndex());
1855
- if (f) {
1856
- if (f.checked) {
1857
- h.classList.contains("u-max-selections") && h.classList.remove("u-max-selections");
1858
- const g = '[data-option="' + f.value + '"]', E = l.querySelector(g);
1834
+ const u = n.getOption(m) || n.getOption(n.getIndex());
1835
+ if (u) {
1836
+ if (u.checked) {
1837
+ g.classList.contains("u-max-selections") && g.classList.remove("u-max-selections");
1838
+ const h = '[data-option="' + u.value + '"]', E = l.querySelector(h);
1859
1839
  typeof E < "u" && E && l?.removeChild(E);
1860
- } else p?.renderTags && l && X(l, f);
1861
- n.toggleOption(m), n.isAtMaxSelections() && h.classList.add("u-max-selections"), _.dispatchEvent("selectionsupdated", { target: _ });
1840
+ } else p?.renderTags && l && z(l, u);
1841
+ n.toggleOption(m), n.isAtMaxSelections() && g.classList.add("u-max-selections"), _.dispatchEvent("selectionsupdated", { target: _ });
1862
1842
  }
1863
- n.resetIndex(), o = !1, b.getAttribute("aria-hidden") === "false" && u.focus();
1843
+ n.resetIndex(), o = !1, b.getAttribute("aria-hidden") === "false" && f.focus();
1864
1844
  }
1865
1845
  function ke(m) {
1866
1846
  fe(Number(m.target.getAttribute("data-index"))), N();
1867
1847
  }
1868
1848
  function Ae() {
1869
- a.addEventListener("mousemove", function(g) {
1870
- const E = g.target;
1871
- g.offsetX > E.offsetWidth - 35 ? E.style.cursor = "pointer" : E.style.cursor = "auto";
1872
- }), a.addEventListener("mouseup", function(g) {
1873
- const E = g.target;
1874
- g.offsetX > E.offsetWidth - 35 && b.offsetHeight === 140 && u.blur();
1875
- }), u.addEventListener("input", function() {
1876
- M(this.value);
1877
- }), u.addEventListener("focus", function() {
1849
+ a.addEventListener("mousemove", function(h) {
1850
+ const E = h.target;
1851
+ h.offsetX > E.offsetWidth - 35 ? E.style.cursor = "pointer" : E.style.cursor = "auto";
1852
+ }), a.addEventListener("mouseup", function(h) {
1853
+ const E = h.target;
1854
+ h.offsetX > E.offsetWidth - 35 && b.offsetHeight === 140 && f.blur();
1855
+ }), f.addEventListener("input", function() {
1856
+ H(this.value);
1857
+ }), f.addEventListener("focus", function() {
1878
1858
  b.getAttribute("aria-hidden") === "true" && S();
1879
- }), u.addEventListener("blur", function() {
1859
+ }), f.addEventListener("blur", function() {
1880
1860
  !o && b.getAttribute("aria-hidden") === "false" && A();
1881
- }), u.addEventListener("keydown", function(g) {
1882
- const E = g.key;
1883
- b.getAttribute("aria-hidden") === "true" && E !== Ye && S(), E === Be ? (g.preventDefault(), O(ge)) : E === Qe ? (N(), A()) : E === je ? O(ge) : E === Ye && !g.shiftKey && b.getAttribute("aria-hidden") === "false" && A();
1884
- }), h.addEventListener("mousedown", function() {
1861
+ }), f.addEventListener("keydown", function(h) {
1862
+ const E = h.key;
1863
+ b.getAttribute("aria-hidden") === "true" && E !== Ze && S(), E === Be ? (h.preventDefault(), B(ge)) : E === je ? (N(), A()) : E === Ye ? B(ge) : E === Ze && !h.shiftKey && b.getAttribute("aria-hidden") === "false" && A();
1864
+ }), g.addEventListener("mousedown", function() {
1885
1865
  o = !0;
1886
- }), h.addEventListener("keydown", function(g) {
1887
- const E = g.key, C = g.target, $ = C.checked;
1866
+ }), g.addEventListener("keydown", function(h) {
1867
+ const E = h.key, T = h.target, $ = T.checked;
1888
1868
  if (E === Be) {
1889
- g.preventDefault(), C.checked = !$;
1869
+ h.preventDefault(), T.checked = !$;
1890
1870
  const R = new Event("change", { bubbles: !1, cancelable: !0 });
1891
- C.dispatchEvent(R);
1892
- } else E === Qe ? (u.focus(), A()) : E === On ? O(Ve) : E === je && O(ge);
1893
- }), b.addEventListener("mousedown", function(g) {
1894
- g.target.tagName === "LABEL" && (o = !0);
1871
+ T.dispatchEvent(R);
1872
+ } else E === je ? (f.focus(), A()) : E === Cn ? B(Qe) : E === Ye && B(ge);
1873
+ }), b.addEventListener("mousedown", function(h) {
1874
+ h.target.tagName === "LABEL" && (o = !0);
1895
1875
  });
1896
- const m = h.querySelectorAll("input");
1897
- for (let g = 0, E = m.length; g < E; g++)
1898
- m[g].addEventListener("change", ke);
1899
- const f = l.querySelectorAll("button");
1900
- for (let g = 0, E = f.length; g < E; g++)
1901
- f[g].addEventListener("click", H), f[g].addEventListener("keydown", D);
1876
+ const m = g.querySelectorAll("input");
1877
+ for (let h = 0, E = m.length; h < E; h++)
1878
+ m[h].addEventListener("change", ke);
1879
+ const u = l.querySelectorAll("button");
1880
+ for (let h = 0, E = u.length; h < E; h++)
1881
+ u[h].addEventListener("click", M), u[h].addEventListener("keydown", D);
1902
1882
  }
1903
1883
  function ue() {
1904
1884
  d = document.createElement("div"), d.className = P, l = F("ul", null, {
1905
1885
  className: "m-tag-group"
1906
1886
  }), a = F("header", d, {
1907
1887
  className: P + "__header"
1908
- }), u = F("input", a, {
1909
- className: P + "__search " + Tn,
1888
+ }), f = F("input", a, {
1889
+ className: P + "__search " + kn,
1910
1890
  type: "text",
1911
- placeholder: i || "Select up to five",
1891
+ placeholder: c || "Select up to five",
1912
1892
  id: s.id,
1913
1893
  autocomplete: "off"
1914
1894
  }), b = F("fieldset", d, {
@@ -1916,43 +1896,43 @@ function we(e) {
1916
1896
  "aria-hidden": "true"
1917
1897
  });
1918
1898
  let m = P + "__options";
1919
- n.isAtMaxSelections() && (m += " u-max-selections"), h = F("ul", b, {
1899
+ n.isAtMaxSelections() && (m += " u-max-selections"), g = F("ul", b, {
1920
1900
  className: m
1921
1901
  });
1922
- let f, g, E;
1923
- for (let C = 0, $ = r.length; C < $; C++) {
1924
- f = r[C], g = q(f), E = n.getOption(C).checked;
1925
- const R = F("li", h, {
1926
- "data-option": f.value,
1902
+ let u, h, E;
1903
+ for (let T = 0, $ = r.length; T < $; T++) {
1904
+ u = r[T], h = q(u), E = n.getOption(T).checked;
1905
+ const R = F("li", g, {
1906
+ "data-option": u.value,
1927
1907
  "data-cy": "multiselect-option",
1928
1908
  class: "m-form-field m-form-field--checkbox"
1929
1909
  });
1930
1910
  F("input", R, {
1931
- id: g,
1911
+ id: h,
1932
1912
  // Type must come before value or IE fails
1933
1913
  type: "checkbox",
1934
- value: f.value,
1914
+ value: u.value,
1935
1915
  name: t,
1936
- class: Cn + " " + P + "__checkbox",
1916
+ class: xn + " " + P + "__checkbox",
1937
1917
  checked: E,
1938
- "data-index": C
1918
+ "data-index": T
1939
1919
  }), F("label", R, {
1940
- for: g,
1941
- textContent: f.text,
1920
+ for: h,
1921
+ textContent: u.text,
1942
1922
  className: P + "__label a-label"
1943
- }), y.push(R), E && p?.renderTags && X(l, f);
1923
+ }), y.push(R), E && p?.renderTags && z(l, u);
1944
1924
  }
1945
1925
  return d.insertBefore(l, a), s.parentNode.insertBefore(d, s), d.appendChild(s), d;
1946
1926
  }
1947
- function Ce(m = Ge) {
1948
- if (!ce(s))
1927
+ function Ce(m = Ke) {
1928
+ if (!oe(s))
1949
1929
  return this;
1950
- if (Gs())
1930
+ if (Zs())
1951
1931
  return this;
1952
- if (_ = this, t = s.name || s.id, i = s.getAttribute("data-placeholder"), r = s.options || [], p = { ...Ge, ...m }, r.length > 0) {
1953
- n = new xn(r, t, p).init();
1954
- const f = ue();
1955
- s.parentNode.removeChild(s), s = f, ce(s), Ae();
1932
+ if (_ = this, t = s.name || s.id, c = s.getAttribute("data-placeholder"), r = s.options || [], p = { ...Ke, ...m }, r.length > 0) {
1933
+ n = new Sn(r, t, p).init();
1934
+ const u = ue();
1935
+ s.parentNode.removeChild(s), s = u, oe(s), Ae();
1956
1936
  }
1957
1937
  return this;
1958
1938
  }
@@ -1960,46 +1940,46 @@ function we(e) {
1960
1940
  return n;
1961
1941
  }
1962
1942
  this.init = Ce, this.expand = S, this.collapse = A;
1963
- const K = new re();
1964
- return this.addEventListener = K.addEventListener, this.removeEventListener = K.removeEventListener, this.dispatchEvent = K.dispatchEvent, this.getModel = Te, this.updateSelections = fe, this.selectionClickHandler = H, this.selectionKeyDownHandler = D, this;
1943
+ const K = new ce();
1944
+ return this.addEventListener = K.addEventListener, this.removeEventListener = K.removeEventListener, this.dispatchEvent = K.dispatchEvent, this.getModel = Te, this.updateSelections = fe, this.selectionClickHandler = M, this.selectionKeyDownHandler = D, this;
1965
1945
  }
1966
1946
  we.BASE_CLASS = P;
1967
1947
  we.init = (e) => me(`.${P}`, we, void 0, e);
1968
1948
  const cs = (e, s) => {
1969
- const o = e.map(({ value: t, label: i }) => c("option", {
1949
+ const o = e.map(({ value: t, label: c }) => i("option", {
1970
1950
  value: t,
1971
- children: i
1951
+ children: c
1972
1952
  }, t));
1973
- return o.length > 0 ? o : [c("option", {
1953
+ return o.length > 0 ? o : [i("option", {
1974
1954
  disabled: !0,
1975
1955
  value: "",
1976
1956
  children: s
1977
1957
  }, "initial")];
1978
- }, Bn = (e, s) => e.find((o) => o.value === s), Hn = 5, Mn = ({ id: e, options: s, label: o, onChange: t = Q, defaultOptionLabel: i = "-- select an option --", maxSelections: n = Hn, ...r }) => {
1979
- const [p, d] = ae([]), l = ze(null);
1980
- return j(() => {
1981
- const u = new we(l.current).init({
1958
+ }, Tn = (e, s) => e.find((o) => o.value === s), In = 5, On = ({ id: e, options: s, label: o, onChange: t = V, defaultOptionLabel: c = "-- select an option --", maxSelections: n = In, ...r }) => {
1959
+ const [p, d] = ae([]), l = Xe(null);
1960
+ return Q(() => {
1961
+ const f = new we(l.current).init({
1982
1962
  maxSelections: n,
1983
1963
  renderTags: !0
1984
1964
  }), b = () => {
1985
- const y = u.getModel().getSelectedIndices();
1965
+ const y = f.getModel().getSelectedIndices();
1986
1966
  d([...y]);
1987
- }, h = "selectionsupdated";
1988
- return u.addEventListener(h, b), () => u.removeEventListener(h, b);
1989
- }, [n]), j(() => {
1990
- const a = p.map((u) => ({
1991
- ...s[u],
1967
+ }, g = "selectionsupdated";
1968
+ return f.addEventListener(g, b), () => f.removeEventListener(g, b);
1969
+ }, [n]), Q(() => {
1970
+ const a = p.map((f) => ({
1971
+ ...s[f],
1992
1972
  selected: !0
1993
1973
  }));
1994
1974
  t(a);
1995
1975
  }, [p, t, s]), v("div", {
1996
1976
  className: "m-form-field",
1997
1977
  id: `multi-wrapper-${e}`,
1998
- children: [c("label", {
1978
+ children: [i("label", {
1999
1979
  className: "a-label a-label--heading",
2000
1980
  htmlFor: e,
2001
1981
  children: o
2002
- }), c("select", {
1982
+ }), i("select", {
2003
1983
  id: e,
2004
1984
  className: "o-multiselect",
2005
1985
  ref: l,
@@ -2007,23 +1987,23 @@ const cs = (e, s) => {
2007
1987
  "data-placeholder": `Select up to ${n}`,
2008
1988
  "data-open": !0,
2009
1989
  ...r,
2010
- children: cs(s, i)
1990
+ children: cs(s, c)
2011
1991
  })]
2012
1992
  });
2013
- }, Dn = ({ id: e, options: s, label: o, onChange: t = Q, maxSelections: i, value: n = "", defaultOptionLabel: r = "-- select an option --", ...p }) => {
1993
+ }, Bn = ({ id: e, options: s, label: o, onChange: t = V, maxSelections: c, value: n = "", defaultOptionLabel: r = "-- select an option --", ...p }) => {
2014
1994
  const d = (l) => {
2015
- const a = Bn(s, l.target.value);
1995
+ const a = Tn(s, l.target.value);
2016
1996
  return t(a), a;
2017
1997
  };
2018
1998
  return v("div", {
2019
1999
  className: "m-form-field",
2020
- children: [c("label", {
2000
+ children: [i("label", {
2021
2001
  className: "a-label a-label--heading",
2022
2002
  htmlFor: e,
2023
2003
  children: o
2024
- }), c("div", {
2004
+ }), i("div", {
2025
2005
  className: "a-select",
2026
- children: c("select", {
2006
+ children: i("select", {
2027
2007
  id: e,
2028
2008
  ...p,
2029
2009
  onChange: d,
@@ -2032,55 +2012,55 @@ const cs = (e, s) => {
2032
2012
  })
2033
2013
  })]
2034
2014
  });
2035
- }, ro = ({ isMulti: e = !1, onChange: s = () => null, ...o }) => e ? c(Mn, {
2015
+ }, co = ({ isMulti: e = !1, onChange: s = () => null, ...o }) => e ? i(On, {
2036
2016
  onChange: s,
2037
2017
  ...o
2038
- }) : c(Dn, {
2018
+ }) : i(Bn, {
2039
2019
  onChange: s,
2040
2020
  ...o
2041
2021
  });
2042
- function po({ href: e = "#main", text: s = "Skip to main content" }) {
2043
- return c("div", {
2022
+ function io({ href: e = "#main", text: s = "Skip to main content" }) {
2023
+ return i("div", {
2044
2024
  className: "skip-nav",
2045
- children: c("a", {
2025
+ children: i("a", {
2046
2026
  className: "skip-nav__link a-btn",
2047
2027
  href: e,
2048
2028
  children: s
2049
2029
  })
2050
2030
  });
2051
2031
  }
2052
- const ao = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, isMinimal: t = !1, className: i = "", ...n }) => {
2053
- j(() => {
2032
+ const ro = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, isMinimal: t = !1, className: c = "", ...n }) => {
2033
+ Q(() => {
2054
2034
  t ? ye.init() : _e.init(), document.readyState === "complete" && globalThis.dispatchEvent(new Event("load"));
2055
2035
  }, [t]);
2056
- const r = t ? "o-summary-minimal" : "o-summary", p = [r, i];
2036
+ const r = t ? "o-summary-minimal" : "o-summary", p = [r, c];
2057
2037
  return o && p.push(`${r}--mobile`), v("div", {
2058
2038
  className: w(p),
2059
2039
  ...n,
2060
- children: [c("div", {
2040
+ children: [i("div", {
2061
2041
  className: `${r}__content`,
2062
2042
  children: e
2063
- }), c("button", {
2043
+ }), i("button", {
2064
2044
  type: "button",
2065
2045
  className: `${r}__btn`,
2066
- children: t ? v(oe, {
2046
+ children: t ? v(ne, {
2067
2047
  children: [v("span", {
2068
2048
  className: "o-summary-minimal__cue-open",
2069
- children: ["Show ", c(T, {
2049
+ children: ["Show ", i(C, {
2070
2050
  name: "plus",
2071
2051
  isPresentational: !0,
2072
2052
  withBg: !0
2073
2053
  })]
2074
2054
  }), v("span", {
2075
2055
  className: "o-summary-minimal__cue-close",
2076
- children: ["Hide ", c(T, {
2056
+ children: ["Hide ", i(C, {
2077
2057
  name: "minus",
2078
2058
  isPresentational: !0,
2079
2059
  withBg: !0
2080
2060
  })]
2081
2061
  })]
2082
- }) : v(oe, {
2083
- children: [s, c(T, {
2062
+ }) : v(ne, {
2063
+ children: [s, i(C, {
2084
2064
  name: "plus",
2085
2065
  isPresentational: !0,
2086
2066
  withBg: !0
@@ -2088,18 +2068,18 @@ const ao = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, is
2088
2068
  })
2089
2069
  })]
2090
2070
  });
2091
- }, Pn = (e) => c("thead", {
2092
- children: c("tr", {
2071
+ }, Hn = (e) => i("thead", {
2072
+ children: i("tr", {
2093
2073
  children: e.map((s, o) => {
2094
2074
  let t = "";
2095
- const i = [""], n = `header-${o}`;
2096
- return typeof s == "object" ? (t = s.header, s.alignRight && i.push("o-table_cell--right-align"), s.width && i.push(`u-w${s.width}pct`), s.headerWordWrap || i.push("white-space-nowrap")) : t = s, c("th", {
2097
- className: w(i),
2075
+ const c = [""], n = `header-${o}`;
2076
+ return typeof s == "object" ? (t = s.header, s.alignRight && c.push("o-table_cell--right-align"), s.width && c.push(`u-w${s.width}pct`), s.headerWordWrap || c.push("white-space-nowrap")) : t = s, i("th", {
2077
+ className: w(c),
2098
2078
  children: t
2099
2079
  }, n);
2100
2080
  })
2101
2081
  })
2102
- }), Rn = (e) => {
2082
+ }), Mn = (e) => {
2103
2083
  if (!e) return {};
2104
2084
  if (typeof e == "string")
2105
2085
  return {
@@ -2110,62 +2090,62 @@ const ao = ({ children: e, label: s = "Show full text", isMobileOnly: o = !1, is
2110
2090
  "data-label": e.header,
2111
2091
  className: w(s)
2112
2092
  };
2113
- }, Fn = (e, s) => c("tbody", {
2093
+ }, Dn = (e, s) => i("tbody", {
2114
2094
  children: e.map((o, t) => {
2115
- const i = `row-${t}`;
2116
- return c("tr", {
2095
+ const c = `row-${t}`;
2096
+ return i("tr", {
2117
2097
  children: o.map((n, r) => {
2118
2098
  const p = s[r], d = `row-${t}-col-${r}`;
2119
- return Ze("td", {
2120
- ...Rn(p),
2099
+ return Ge("td", {
2100
+ ...Mn(p),
2121
2101
  key: d
2122
2102
  }, n);
2123
2103
  })
2124
- }, i);
2104
+ }, c);
2125
2105
  })
2126
- }), Wn = ({ children: e }) => e ? c("caption", {
2106
+ }), Pn = ({ children: e }) => e ? i("caption", {
2127
2107
  children: e
2128
- }) : null, qn = Se(({ id: e, caption: s, columns: o, rows: t, isResponsive: i = !1, isScrollableHorizontal: n = !1, isStriped: r = !1, isPaginated: p = !1, startPage: d = Y, perPage: l = os, className: a, divRef: u, tableRef: b, ...h }, y) => {
2129
- const [_, L] = yn({
2108
+ }) : null, Rn = Se(({ id: e, caption: s, columns: o, rows: t, isResponsive: c = !1, isScrollableHorizontal: n = !1, isStriped: r = !1, isPaginated: p = !1, startPage: d = j, perPage: l = os, className: a, divRef: f, tableRef: b, ...g }, y) => {
2109
+ const [_, L] = hn({
2130
2110
  rows: t,
2131
2111
  isPaginated: p,
2132
2112
  startPage: d,
2133
2113
  perPage: l
2134
- }), x = Xe(), k = [];
2135
- i && k.push("o-table o-table--stack-on-small"), r && k.push("o-table--striped"), p && k.push("u-w100pct"), a && k.push(a);
2136
- const B = v(oe, {
2114
+ }), k = Je(), x = [];
2115
+ c && x.push("o-table o-table--stack-on-small"), r && x.push("o-table--striped"), p && x.push("u-w100pct"), a && x.push(a);
2116
+ const O = v(ne, {
2137
2117
  children: [v("table", {
2138
- className: w(k),
2118
+ className: w(x),
2139
2119
  ref: b,
2140
- id: e ?? x,
2141
- ...h,
2142
- children: [c(Wn, {
2120
+ id: e ?? k,
2121
+ ...g,
2122
+ children: [i(Pn, {
2143
2123
  children: s
2144
- }), Pn(o), Fn(_, o)]
2145
- }), p ? c(_n, {
2124
+ }), Hn(o), Dn(_, o)]
2125
+ }), p ? i(gn, {
2146
2126
  ...L,
2147
- tableId: e ?? x
2127
+ tableId: e ?? k
2148
2128
  }) : null]
2149
2129
  });
2150
- return n ? c("div", {
2130
+ return n ? i("div", {
2151
2131
  className: "o-table o-table-wrapper--scrolling",
2152
- ref: y ?? u,
2153
- children: B
2154
- }) : B;
2132
+ ref: y ?? f,
2133
+ children: O
2134
+ }) : O;
2155
2135
  });
2156
- qn.displayName = "Table";
2157
- const $n = {
2136
+ Rn.displayName = "Table";
2137
+ const Fn = {
2158
2138
  success: "a-text-input--success",
2159
2139
  error: "a-text-input--error",
2160
2140
  warning: "a-text-input--warning",
2161
2141
  info: "a-text-input--info"
2162
- }, is = (e) => $n[e], lo = Se(({ id: e, className: s = "", status: o = "info", placeholder: t = "Placeholder text", isFullWidth: i = !1, isDisabled: n = !1, onChange: r = Q, ...p }, d) => {
2163
- const l = (u) => {
2164
- u.preventDefault(), r(u.target.value);
2165
- }, a = ["a-text-input", is(o), i ? "a-text-input--full" : "", s || ""].filter((u) => u.length);
2166
- return c("div", {
2142
+ }, is = (e) => Fn[e], po = Se(({ id: e, className: s = "", status: o = "info", placeholder: t = "Placeholder text", isFullWidth: c = !1, isDisabled: n = !1, onChange: r = V, ...p }, d) => {
2143
+ const l = (f) => {
2144
+ f.preventDefault(), r(f.target.value);
2145
+ }, a = ["a-text-input", is(o), c ? "a-text-input--full" : "", s || ""].filter((f) => f.length);
2146
+ return i("div", {
2167
2147
  className: "m-form-field",
2168
- children: c("textarea", {
2148
+ children: i("textarea", {
2169
2149
  className: w(a),
2170
2150
  id: e,
2171
2151
  placeholder: t,
@@ -2175,34 +2155,34 @@ const $n = {
2175
2155
  ...p
2176
2156
  })
2177
2157
  });
2178
- }), mo = Se(({ className: e, id: s, inputRef: o, isDisabled: t = !1, name: i, status: n = "info", type: r = "text", isFullWidth: p = !1, ...d }, l) => {
2158
+ }), ao = Se(({ className: e, id: s, inputRef: o, isDisabled: t = !1, name: c, status: n = "info", type: r = "text", isFullWidth: p = !1, ...d }, l) => {
2179
2159
  const a = ["a-text-input", e, is(n)];
2180
- return p ? (a.push("a-text-input--full"), c("div", {
2160
+ return p ? (a.push("a-text-input--full"), i("div", {
2181
2161
  className: "m-form-field",
2182
- children: c("input", {
2162
+ children: i("input", {
2183
2163
  className: w(a),
2184
2164
  disabled: t,
2185
2165
  id: s,
2186
- name: i,
2166
+ name: c,
2187
2167
  type: r,
2188
2168
  ref: l,
2189
2169
  ...d
2190
2170
  })
2191
- })) : c("input", {
2171
+ })) : i("input", {
2192
2172
  className: w(a),
2193
2173
  disabled: t,
2194
2174
  id: s,
2195
- name: i,
2175
+ name: c,
2196
2176
  type: r,
2197
2177
  ref: l,
2198
2178
  ...d
2199
2179
  });
2200
- }), rs = (e) => e ? typeof e == "string" ? c(Re, {
2180
+ }), rs = (e) => e ? typeof e == "string" ? i(Re, {
2201
2181
  children: e
2202
- }) : e : null, Z = ({ heading: e, subheading: s, description: o, callToAction: t, className: i, ...n }) => {
2203
- const r = ["o-text-introduction", i], p = t && c(ie, {
2182
+ }) : e : null, Z = ({ heading: e, subheading: s, description: o, callToAction: t, className: c, ...n }) => {
2183
+ const r = ["o-text-introduction", c], p = t && i(te, {
2204
2184
  isLinks: !0,
2205
- children: c(Ne, {
2185
+ children: i(Le, {
2206
2186
  children: as(t, {
2207
2187
  type: "list"
2208
2188
  })
@@ -2211,105 +2191,105 @@ const $n = {
2211
2191
  return v("div", {
2212
2192
  className: w(r),
2213
2193
  ...n,
2214
- children: [c(Ee, {
2194
+ children: [i(Ee, {
2215
2195
  type: "1",
2216
2196
  children: e
2217
- }), c(Re, {
2197
+ }), i(Re, {
2218
2198
  isLead: !0,
2219
2199
  children: s
2220
2200
  }), rs(o), p]
2221
2201
  });
2222
2202
  };
2223
- Z.Container = ({ className: e, children: s, ...o }) => c("div", {
2203
+ Z.Container = ({ className: e, children: s, ...o }) => i("div", {
2224
2204
  className: w(["o-text-introduction", e]),
2225
2205
  ...o,
2226
2206
  children: s
2227
2207
  });
2228
- const fo = Z.Container;
2229
- Z.Heading = ({ children: e }) => c(Ee, {
2208
+ const lo = Z.Container;
2209
+ Z.Heading = ({ children: e }) => i(Ee, {
2230
2210
  type: "1",
2231
2211
  children: e
2232
2212
  });
2233
- const uo = Z.Heading;
2213
+ const mo = Z.Heading;
2234
2214
  Z.Description = ({ children: e }) => rs(e);
2235
- const bo = Z.Description;
2236
- Z.Subheading = ({ children: e }) => c(Re, {
2215
+ const fo = Z.Description;
2216
+ Z.Subheading = ({ children: e }) => i(Re, {
2237
2217
  isLead: !0,
2238
2218
  children: e
2239
2219
  });
2240
- const go = Z.Subheading, Un = ({ children: e, className: s = "", ...o }) => c("div", {
2220
+ const uo = Z.Subheading, Wn = ({ children: e, className: s = "", ...o }) => i("div", {
2241
2221
  className: `o-well ${s}`,
2242
2222
  ...o,
2243
2223
  children: e
2244
2224
  });
2245
- function ho({ heading: e, headingLevel: s = "h3", links: o, text: t, className: i = "", ...n }) {
2225
+ function bo({ heading: e, headingLevel: s = "h3", links: o, text: t, className: c = "", ...n }) {
2246
2226
  const r = [];
2247
2227
  if (o) for (const p of o)
2248
- r.push(c(Ne, {
2228
+ r.push(i(Le, {
2249
2229
  children: p
2250
2230
  }, p.key));
2251
- return v(Un, {
2252
- className: i,
2231
+ return v(Wn, {
2232
+ className: c,
2253
2233
  ...n,
2254
- children: [e ? c("p", {
2234
+ children: [e ? i("p", {
2255
2235
  className: s,
2256
2236
  children: e
2257
- }) : null, t ? c("p", {
2237
+ }) : null, t ? i("p", {
2258
2238
  className: "text",
2259
2239
  children: t
2260
- }) : null, r.length > 0 ? c(ie, {
2240
+ }) : null, r.length > 0 ? i(te, {
2261
2241
  isLinks: !0,
2262
2242
  children: r
2263
2243
  }) : null]
2264
2244
  });
2265
2245
  }
2266
2246
  export {
2267
- Yn as Alert,
2247
+ Vn as Alert,
2268
2248
  Ss as AlertFieldLevel,
2269
2249
  Ts as Banner,
2270
- Zn as Breadcrumb,
2271
- te as Button,
2272
- Kn as ButtonGroup,
2273
- zn as Checkbox,
2274
- Xn as Divider,
2275
- Jn as Expandable,
2276
- eo as ExpandableGroup,
2250
+ jn as Breadcrumb,
2251
+ de as Button,
2252
+ Yn as ButtonGroup,
2253
+ Zn as Checkbox,
2254
+ Kn as Divider,
2255
+ Gn as Expandable,
2256
+ Xn as ExpandableGroup,
2257
+ zn as Fieldset,
2277
2258
  en as Footer,
2278
- so as FooterCfGov,
2279
- no as Grid,
2259
+ Jn as FooterCfGov,
2260
+ eo as Grid,
2261
+ oo as Header,
2280
2262
  Ee as Heading,
2281
- oo as Hero,
2282
- T as Icon,
2283
- ss as Label,
2284
- Gn as LanguageLink,
2285
- to as Layout,
2286
- U as Link,
2287
- Ns as LinkText,
2288
- ie as List,
2289
- Ne as ListItem,
2263
+ so as Hero,
2264
+ C as Icon,
2265
+ ns as Label,
2266
+ Qn as LanguageLink,
2267
+ no as Layout,
2268
+ re as Link,
2269
+ Ls as LinkText,
2270
+ te as List,
2271
+ Le as ListItem,
2290
2272
  Me as ListItemBuilder,
2291
- Ls as ListLink,
2292
- fn as Navbar,
2293
- co as PageHeader,
2294
- _n as Pagination,
2273
+ Ns as ListLink,
2274
+ gn as Pagination,
2295
2275
  Re as Paragraph,
2296
- io as RadioButton,
2297
- gn as ResponsiveMenu,
2298
- ro as Select,
2299
- Mn as SelectMulti,
2300
- Dn as SelectSingle,
2301
- po as SkipNav,
2302
- ao as Summary,
2303
- qn as Table,
2276
+ to as RadioButton,
2277
+ fn as ResponsiveMenu,
2278
+ co as Select,
2279
+ On as SelectMulti,
2280
+ Bn as SelectSingle,
2281
+ io as SkipNav,
2282
+ ro as Summary,
2283
+ Rn as Table,
2304
2284
  As as Tagline,
2305
- lo as TextArea,
2306
- mo as TextInput,
2285
+ po as TextArea,
2286
+ ao as TextInput,
2307
2287
  Z as TextIntroduction,
2308
- fo as TextIntroductionContainer,
2309
- bo as TextIntroductionDescription,
2310
- uo as TextIntroductionHeading,
2311
- go as TextIntroductionSubheading,
2312
- Un as WellContainer,
2313
- ho as WellContent,
2314
- yn as usePagination
2288
+ lo as TextIntroductionContainer,
2289
+ fo as TextIntroductionDescription,
2290
+ mo as TextIntroductionHeading,
2291
+ uo as TextIntroductionSubheading,
2292
+ Wn as WellContainer,
2293
+ bo as WellContent,
2294
+ hn as usePagination
2315
2295
  };