@getcredify/credify-insurance-widget 1.47.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/{address-BEVwov8q-CFogwodr.js → address-BEVwov8q-CazC1JIl.js} +1 -1
  2. package/dist/{api-EzrQ6TjH.js → api-Bepbbwlb.js} +15 -15
  3. package/dist/{car-CxlVKO91.js → car-B21VP4YN.js} +1 -1
  4. package/dist/{check-BAikbl_K.js → check-CwRR4vvM.js} +1 -1
  5. package/dist/{copy-applicant-offer-UApiJBeU-BesLtSKE.js → copy-applicant-offer-B-BuqAOO-a4y-KPDr.js} +11 -11
  6. package/dist/{copy-from-record-DL503itm-Cr4NH27U.js → copy-from-record-DL503itm-2slKSwa4.js} +4 -4
  7. package/dist/{coverageDerivation-CV2ORogj-C2Nwlsa1.js → coverageDerivation-CV2ORogj-BoLiDnjR.js} +1 -1
  8. package/dist/{fixtures-ijbZ16Zg-B9zEGweJ.js → fixtures-ijbZ16Zg-CwFDJNFI.js} +1 -1
  9. package/dist/{household-prefill-BwSS00qI-Cngp1yri.js → household-prefill-CdB4ZxsR-D4_lkTx8.js} +26 -26
  10. package/dist/{householdPrefill-DLm3pxFH-CSdgf8cD.js → householdPrefill-DLm3pxFH-dPJrX2ul.js} +1 -1
  11. package/dist/iframe/assets/{address-BEVwov8q-CQFQYwN_.js → address-BEVwov8q-EtrExGBv.js} +1 -1
  12. package/dist/iframe/assets/{car-dMyHgJCm.js → car-lKtbZzIv.js} +1 -1
  13. package/dist/iframe/assets/{check-vA4Wm8iT.js → check-DafU7JDn.js} +1 -1
  14. package/dist/iframe/assets/{copy-applicant-offer-UApiJBeU-DoOvd5Iq.js → copy-applicant-offer-B-BuqAOO-CtFqk8YK.js} +1 -1
  15. package/dist/iframe/assets/{copy-from-record-DL503itm-Db_VVvOI.js → copy-from-record-DL503itm-BXJJYs1Y.js} +1 -1
  16. package/dist/iframe/assets/{coverageDerivation-CV2ORogj-gpaPp3-I.js → coverageDerivation-CV2ORogj-Dne34PDQ.js} +1 -1
  17. package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-Tg0d9tov.js → dob-calendar-RIJ5S6YU-BfbUKPI9.js} +1 -1
  18. package/dist/iframe/assets/{fixtures-ijbZ16Zg-Cbt1vB2m.js → fixtures-ijbZ16Zg-D-3ehYX7.js} +1 -1
  19. package/dist/iframe/assets/{household-prefill-BwSS00qI-C8MTGR1p.js → household-prefill-CdB4ZxsR-BPthWPX-.js} +1 -1
  20. package/dist/iframe/assets/{householdPrefill-DLm3pxFH-BMN6WUsw.js → householdPrefill-DLm3pxFH-jl-HbpRV.js} +1 -1
  21. package/dist/iframe/assets/iframe-ZamrsKm7.js +107 -0
  22. package/dist/iframe/assets/{index-CeDETFEQ.js → index-BeV6waqv.js} +1 -1
  23. package/dist/iframe/assets/intake-review-panel-BJRYQaBx-CIkJtRek.js +1 -0
  24. package/dist/iframe/assets/{mockJump-DCZoGtRl-DqT1rb7l.js → mockJump-CKjCOGxR-tRN3Jwzq.js} +1 -1
  25. package/dist/iframe/assets/{payload-DurIYSZk-Bq3ZDZQk.js → payload-BMtl8VDy-DSIXtfb-.js} +1 -1
  26. package/dist/iframe/assets/{question-list-CjN64tfw-D8aGV13x.js → question-list-BK2EN74l-8nbZZnvU.js} +3 -3
  27. package/dist/iframe/assets/{rates-panel-B1xVYtTQ-CInEw7cd.js → rates-panel-BOaKRZ_Y-DspzIEmi.js} +3 -3
  28. package/dist/iframe/assets/{review-panel-DuzWoTKP-Rwdzp6eC.js → review-panel-BQmrPgdC-Dh84GHcf.js} +2 -2
  29. package/dist/iframe/assets/{stage-CnucLiNn-DuURgPad.js → stage-zClSIgVN-CQ0m7lYx.js} +1 -1
  30. package/dist/iframe/assets/{validation-Db4WCn17-_NNdawKQ.js → validation-D9L1J71d-D-I9M7xX.js} +2 -2
  31. package/dist/iframe/assets/{vehicleCoverage-CDBtkdww-Bo-t8CRG.js → vehicleCoverage-CgeEazR0-DlDAnkau.js} +1 -1
  32. package/dist/iframe/assets/{visibility-iwttXt0y-DNGCSVig.js → visibility-xQNTF1no-_O_ggMOv.js} +1 -1
  33. package/dist/iframe/assets/{waves-DRA5QD6r.js → waves-CGWFF4s2.js} +1 -1
  34. package/dist/iframe/iframe.html +1 -1
  35. package/dist/{index-DBc8hvqD.js → index-DbadJytg.js} +1 -1
  36. package/dist/index.es.js +1 -1
  37. package/dist/index.umd.js +103 -103
  38. package/dist/intake-review-panel-BJRYQaBx-Bb4VAszN.js +224 -0
  39. package/dist/{mockJump-DCZoGtRl-DBhd5ad0.js → mockJump-CKjCOGxR-Boxby2dZ.js} +1 -1
  40. package/dist/{payload-DurIYSZk-CKtSbWzb.js → payload-BMtl8VDy-maqSOQIZ.js} +20 -20
  41. package/dist/{question-list-CjN64tfw-BpPrkylH.js → question-list-BK2EN74l-Cn9ka_Tm.js} +13 -13
  42. package/dist/{rates-panel-B1xVYtTQ-BUF3Ofoi.js → rates-panel-BOaKRZ_Y-ciWr81fl.js} +47 -47
  43. package/dist/{review-panel-DuzWoTKP-BfwFC6Jz.js → review-panel-BQmrPgdC-CXP39hws.js} +98 -98
  44. package/dist/{stage-CnucLiNn-CjHsEHOW.js → stage-zClSIgVN-CC_teHAO.js} +26 -26
  45. package/dist/utils/support/cobrowse.d.ts +1 -1
  46. package/dist/utils/support/index.d.ts +2 -0
  47. package/dist/{validation-Db4WCn17-DiPhPmjM.js → validation-D9L1J71d-BF62B66y.js} +22 -17
  48. package/dist/{vehicleCoverage-CDBtkdww-Bm9pGAq7.js → vehicleCoverage-CgeEazR0-C3ugp85r.js} +8 -8
  49. package/dist/{visibility-iwttXt0y-DtOOYFcv.js → visibility-xQNTF1no-t9wamJ9M.js} +7 -7
  50. package/dist/{waves-oZRnENZl.js → waves-BpyYhsaC.js} +1 -1
  51. package/dist/{widget-CpC6N1oq.js → widget-fDShn8w9.js} +2887 -2844
  52. package/package.json +2 -2
  53. package/dist/iframe/assets/iframe-BqFwviRo.js +0 -107
  54. package/dist/iframe/assets/intake-review-panel-CjiYTJXh-CxJXC0fl.js +0 -1
  55. package/dist/intake-review-panel-CjiYTJXh-Cy_2auOe.js +0 -186
@@ -2,12 +2,12 @@ var Ce = (n) => {
2
2
  throw TypeError(n);
3
3
  };
4
4
  var be = (n, o, e) => o.has(n) || Ce("Cannot " + e);
5
- var w = (n, o, e) => (be(n, o, "read from private field"), e ? e.call(n) : o.get(n)), xe = (n, o, e) => o.has(n) ? Ce("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(n) : o.set(n, e), Q = (n, o, e, t) => (be(n, o, "write to private field"), t ? t.call(n, e) : o.set(n, e), e);
6
- import { a6 as He, ai as $, aj as V, t as Be, U as ye, K as Re, $ as Fe, ak as Ge, W as te } from "./widget-CpC6N1oq.js";
7
- import { o as Ue, n as We, r as Ye } from "./stage-CnucLiNn-CjHsEHOW.js";
5
+ var w = (n, o, e) => (be(n, o, "read from private field"), e ? e.call(n) : o.get(n)), xe = (n, o, e) => o.has(n) ? Ce("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(n) : o.set(n, e), J = (n, o, e, t) => (be(n, o, "write to private field"), t ? t.call(n, e) : o.set(n, e), e);
6
+ import { a7 as Be, ai as $, aj as K, s as He, Q as ye, I as Re, a0 as Fe, ak as Ge, R as te } from "./widget-fDShn8w9.js";
7
+ import { o as Ue, n as Qe, r as We } from "./stage-zClSIgVN-CC_teHAO.js";
8
8
  import * as l from "react";
9
- import { jsx as i, jsxs as M, Fragment as Je } from "react/jsx-runtime";
10
- import { c as q, u as oe, a as we, P as z, b as Ne, d as Qe, e as Xe, C as Ze } from "./index-DBc8hvqD.js";
9
+ import { jsx as i, jsxs as M, Fragment as Ye } from "react/jsx-runtime";
10
+ import { c as q, u as oe, a as we, P as z, b as Ne, d as Je, e as Xe, C as Ze } from "./index-DbadJytg.js";
11
11
  (function() {
12
12
  if (typeof n > "u")
13
13
  var n = { env: {} };
@@ -27,7 +27,7 @@ const et = [
27
27
  }
28
28
  ],
29
29
  ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
30
- ], tt = He("pencil", et);
30
+ ], tt = Be("pencil", et);
31
31
  var ot = Object.defineProperty, y = (n, o) => ot(n, "name", { value: o, configurable: !0 });
32
32
  // @__NO_SIDE_EFFECTS__
33
33
  function Pe(n) {
@@ -39,17 +39,17 @@ function Pe(n) {
39
39
  return /* @__PURE__ */ i(s, { scope: v, itemMap: u, collectionRef: A, children: I });
40
40
  }, "CollectionProvider");
41
41
  c.displayName = o;
42
- const d = n + "CollectionSlot", f = V(d), p = l.forwardRef(
42
+ const d = n + "CollectionSlot", f = K(d), p = l.forwardRef(
43
43
  (b, v) => {
44
- const { scope: I, children: A } = b, u = r(d, I), m = $(v, u.collectionRef);
45
- return /* @__PURE__ */ i(f, { ref: m, children: A });
44
+ const { scope: I, children: A } = b, u = r(d, I), h = $(v, u.collectionRef);
45
+ return /* @__PURE__ */ i(f, { ref: h, children: A });
46
46
  }
47
47
  );
48
48
  p.displayName = d;
49
- const a = n + "CollectionItemSlot", h = "data-radix-collection-item", g = V(a), N = l.forwardRef(
49
+ const a = n + "CollectionItemSlot", m = "data-radix-collection-item", g = K(a), N = l.forwardRef(
50
50
  (b, v) => {
51
- const { scope: I, children: A, ...u } = b, m = l.useRef(null), E = $(v, m), P = r(a, I);
52
- return l.useEffect(() => (P.itemMap.set(m, { ref: m, ...u }), () => void P.itemMap.delete(m))), /* @__PURE__ */ i(g, { [h]: "", ref: E, children: A });
51
+ const { scope: I, children: A, ...u } = b, h = l.useRef(null), E = $(v, h), P = r(a, I);
52
+ return l.useEffect(() => (P.itemMap.set(h, { ref: h, ...u }), () => void P.itemMap.delete(h))), /* @__PURE__ */ i(g, { [m]: "", ref: E, children: A });
53
53
  }
54
54
  );
55
55
  N.displayName = a;
@@ -58,7 +58,7 @@ function Pe(n) {
58
58
  return l.useCallback(() => {
59
59
  const A = v.collectionRef.current;
60
60
  if (!A) return [];
61
- const u = Array.from(A.querySelectorAll(`[${h}]`));
61
+ const u = Array.from(A.querySelectorAll(`[${m}]`));
62
62
  return Array.from(v.itemMap.values()).sort(
63
63
  (P, _) => u.indexOf(P.ref.current) - u.indexOf(_.ref.current)
64
64
  );
@@ -75,7 +75,7 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
75
75
  constructor(e) {
76
76
  super(e);
77
77
  xe(this, x);
78
- Q(this, x, [...super.keys()]), Ie.set(this, !0);
78
+ J(this, x, [...super.keys()]), Ie.set(this, !0);
79
79
  }
80
80
  set(e, t) {
81
81
  return Ie.get(this) && (this.has(e) ? w(this, x)[w(this, x).indexOf(e)] = e : w(this, x).push(e)), super.set(e, t), this;
@@ -88,15 +88,15 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
88
88
  return this.set(t, s), this;
89
89
  const a = this.size + (r ? 0 : 1);
90
90
  d < 0 && f++;
91
- const h = [...w(this, x)];
91
+ const m = [...w(this, x)];
92
92
  let g, N = !1;
93
93
  for (let C = f; C < a; C++)
94
94
  if (f === C) {
95
- let b = h[C];
96
- h[C] === t && (b = h[C + 1]), r && this.delete(t), g = this.get(b), this.set(t, s);
95
+ let b = m[C];
96
+ m[C] === t && (b = m[C + 1]), r && this.delete(t), g = this.get(b), this.set(t, s);
97
97
  } else {
98
- !N && h[C - 1] === t && (N = !0);
99
- const b = h[N ? C : C - 1], v = g;
98
+ !N && m[C - 1] === t && (N = !0);
99
+ const b = m[N ? C : C - 1], v = g;
100
100
  g = this.get(b), this.delete(b), this.set(b, v);
101
101
  }
102
102
  return this;
@@ -136,7 +136,7 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
136
136
  return this.entryAt(-1);
137
137
  }
138
138
  clear() {
139
- return Q(this, x, []), super.clear();
139
+ return J(this, x, []), super.clear();
140
140
  }
141
141
  delete(e) {
142
142
  const t = super.delete(e);
@@ -147,12 +147,12 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
147
147
  return t !== void 0 ? this.delete(t) : !1;
148
148
  }
149
149
  at(e) {
150
- const t = K(w(this, x), e);
150
+ const t = V(w(this, x), e);
151
151
  if (t !== void 0)
152
152
  return this.get(t);
153
153
  }
154
154
  entryAt(e) {
155
- const t = K(w(this, x), e);
155
+ const t = V(w(this, x), e);
156
156
  if (t !== void 0)
157
157
  return [t, this.get(t)];
158
158
  }
@@ -160,7 +160,7 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
160
160
  return w(this, x).indexOf(e);
161
161
  }
162
162
  keyAt(e) {
163
- return K(w(this, x), e);
163
+ return V(w(this, x), e);
164
164
  }
165
165
  from(e, t) {
166
166
  const s = this.indexOf(e);
@@ -270,13 +270,13 @@ var Ie = /* @__PURE__ */ new WeakMap(), x, S, X = (S = class extends Map {
270
270
  return !1;
271
271
  }
272
272
  }, x = new WeakMap(), y(S, "OrderedDict"), S);
273
- function K(n, o) {
273
+ function V(n, o) {
274
274
  if ("at" in Array.prototype)
275
275
  return Array.prototype.at.call(n, o);
276
276
  const e = _e(n, o);
277
277
  return e === -1 ? void 0 : n[e];
278
278
  }
279
- y(K, "at");
279
+ y(V, "at");
280
280
  function _e(n, o) {
281
281
  const e = n.length, t = ne(o), s = t >= 0 ? t : e + t;
282
282
  return s < 0 || s >= e ? -1 : s;
@@ -298,17 +298,17 @@ function nt(n) {
298
298
  setItemMap: /* @__PURE__ */ y(() => {
299
299
  }, "setItemMap")
300
300
  }
301
- ), c = /* @__PURE__ */ y(({ state: u, ...m }) => u ? /* @__PURE__ */ i(f, { ...m, state: u }) : /* @__PURE__ */ i(d, { ...m }), "CollectionProvider");
301
+ ), c = /* @__PURE__ */ y(({ state: u, ...h }) => u ? /* @__PURE__ */ i(f, { ...h, state: u }) : /* @__PURE__ */ i(d, { ...h }), "CollectionProvider");
302
302
  c.displayName = o;
303
303
  const d = /* @__PURE__ */ y((u) => {
304
- const m = v();
305
- return /* @__PURE__ */ i(f, { ...u, state: m });
304
+ const h = v();
305
+ return /* @__PURE__ */ i(f, { ...u, state: h });
306
306
  }, "CollectionInit");
307
307
  d.displayName = o + "Init";
308
308
  const f = /* @__PURE__ */ y((u) => {
309
- const { scope: m, children: E, state: P } = u, _ = l.useRef(null), [k, R] = l.useState(
309
+ const { scope: h, children: E, state: P } = u, _ = l.useRef(null), [k, R] = l.useState(
310
310
  null
311
- ), U = $(_, R), [W, Y] = P;
311
+ ), U = $(_, R), [Q, W] = P;
312
312
  return l.useEffect(() => {
313
313
  if (!k) return;
314
314
  const L = Ee(() => {
@@ -322,9 +322,9 @@ function nt(n) {
322
322
  }, [k]), /* @__PURE__ */ i(
323
323
  s,
324
324
  {
325
- scope: m,
326
- itemMap: W,
327
- setItemMap: Y,
325
+ scope: h,
326
+ itemMap: Q,
327
+ setItemMap: W,
328
328
  collectionRef: U,
329
329
  collectionRefObject: _,
330
330
  collectionElement: k,
@@ -333,24 +333,24 @@ function nt(n) {
333
333
  );
334
334
  }, "CollectionProviderImpl");
335
335
  f.displayName = o + "Impl";
336
- const p = n + "CollectionSlot", a = V(p), h = l.forwardRef(
337
- (u, m) => {
338
- const { scope: E, children: P } = u, _ = r(p, E), k = $(m, _.collectionRef);
336
+ const p = n + "CollectionSlot", a = K(p), m = l.forwardRef(
337
+ (u, h) => {
338
+ const { scope: E, children: P } = u, _ = r(p, E), k = $(h, _.collectionRef);
339
339
  return /* @__PURE__ */ i(a, { ref: k, children: P });
340
340
  }
341
341
  );
342
- h.displayName = p;
343
- const g = n + "CollectionItemSlot", N = "data-radix-collection-item", C = V(g), b = l.forwardRef(
344
- (u, m) => {
345
- const { scope: E, children: P, ..._ } = u, k = l.useRef(null), [R, U] = l.useState(null), W = $(m, k, U), Y = r(g, E), { setItemMap: L } = Y, J = l.useRef(_);
346
- Se(J.current, _) || (J.current = _);
347
- const ge = J.current;
342
+ m.displayName = p;
343
+ const g = n + "CollectionItemSlot", N = "data-radix-collection-item", C = K(g), b = l.forwardRef(
344
+ (u, h) => {
345
+ const { scope: E, children: P, ..._ } = u, k = l.useRef(null), [R, U] = l.useState(null), Q = $(h, k, U), W = r(g, E), { setItemMap: L } = W, Y = l.useRef(_);
346
+ Se(Y.current, _) || (Y.current = _);
347
+ const ge = Y.current;
348
348
  return l.useEffect(() => {
349
349
  const ve = ge;
350
350
  return L((T) => R ? T.has(R) ? T.set(R, { ...ve, element: R }).toSorted(Z) : (T.set(R, { ...ve, element: R }), T.toSorted(Z)) : T), () => {
351
351
  L((T) => !R || !T.has(R) ? T : (T.delete(R), new X(T)));
352
352
  };
353
- }, [R, ge, L]), /* @__PURE__ */ i(C, { [N]: "", ref: W, children: P });
353
+ }, [R, ge, L]), /* @__PURE__ */ i(C, { [N]: "", ref: Q, children: P });
354
354
  }
355
355
  );
356
356
  b.displayName = g;
@@ -359,11 +359,11 @@ function nt(n) {
359
359
  }
360
360
  y(v, "useInitCollection");
361
361
  function I(u) {
362
- const { itemMap: m } = r(n + "CollectionConsumer", u);
363
- return m;
362
+ const { itemMap: h } = r(n + "CollectionConsumer", u);
363
+ return h;
364
364
  }
365
365
  return y(I, "useCollection"), [
366
- { Provider: c, Slot: h, ItemSlot: b },
366
+ { Provider: c, Slot: m, ItemSlot: b },
367
367
  {
368
368
  createCollectionScope: t,
369
369
  useCollection: I,
@@ -428,11 +428,11 @@ var it = Object.defineProperty, j = (n, o) => it(n, "name", { value: o, configur
428
428
  disabled: c,
429
429
  contentId: we(),
430
430
  open: p,
431
- onOpenToggle: l.useCallback(() => a((h) => !h), [a]),
431
+ onOpenToggle: l.useCallback(() => a((m) => !m), [a]),
432
432
  children: /* @__PURE__ */ i(
433
433
  z.div,
434
434
  {
435
- "data-state": H(p),
435
+ "data-state": B(p),
436
436
  "data-disabled": c ? "" : void 0,
437
437
  ...f,
438
438
  ref: e
@@ -451,7 +451,7 @@ var it = Object.defineProperty, j = (n, o) => it(n, "name", { value: o, configur
451
451
  type: "button",
452
452
  "aria-controls": r.open ? r.contentId : void 0,
453
453
  "aria-expanded": r.open || !1,
454
- "data-state": H(r.open),
454
+ "data-state": B(r.open),
455
455
  "data-disabled": r.disabled ? "" : void 0,
456
456
  disabled: r.disabled,
457
457
  ...s,
@@ -464,10 +464,10 @@ var it = Object.defineProperty, j = (n, o) => it(n, "name", { value: o, configur
464
464
  // blank line to reduce diff noise
465
465
  /* @__PURE__ */ j(function(o, e) {
466
466
  const { forceMount: t, ...s } = o, r = se(Te, o.__scopeCollapsible);
467
- return /* @__PURE__ */ i(Qe, { present: t || r.open, children: ({ present: c }) => /* @__PURE__ */ i(ht, { ...s, ref: e, present: c }) });
467
+ return /* @__PURE__ */ i(Je, { present: t || r.open, children: ({ present: c }) => /* @__PURE__ */ i(mt, { ...s, ref: e, present: c }) });
468
468
  }, "CollapsibleContent")
469
- ), ht = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ j(function(o, e) {
470
- const { __scopeCollapsible: t, present: s, children: r, ...c } = o, d = se(Te, t), [f, p] = l.useState(s), a = l.useRef(null), h = $(e, a), g = l.useRef(0), N = g.current, C = l.useRef(0), b = C.current, v = d.open || f, I = l.useRef(v), A = l.useRef(void 0);
469
+ ), mt = /* @__PURE__ */ l.forwardRef(/* @__PURE__ */ j(function(o, e) {
470
+ const { __scopeCollapsible: t, present: s, children: r, ...c } = o, d = se(Te, t), [f, p] = l.useState(s), a = l.useRef(null), m = $(e, a), g = l.useRef(0), N = g.current, C = l.useRef(0), b = C.current, v = d.open || f, I = l.useRef(v), A = l.useRef(void 0);
471
471
  return l.useEffect(() => {
472
472
  const u = requestAnimationFrame(() => I.current = !1);
473
473
  return () => cancelAnimationFrame(u);
@@ -478,18 +478,18 @@ var it = Object.defineProperty, j = (n, o) => it(n, "name", { value: o, configur
478
478
  transitionDuration: u.style.transitionDuration,
479
479
  animationName: u.style.animationName
480
480
  }, u.style.transitionDuration = "0s", u.style.animationName = "none";
481
- const m = u.getBoundingClientRect();
482
- g.current = m.height, C.current = m.width, I.current || (u.style.transitionDuration = A.current.transitionDuration, u.style.animationName = A.current.animationName), p(s);
481
+ const h = u.getBoundingClientRect();
482
+ g.current = h.height, C.current = h.width, I.current || (u.style.transitionDuration = A.current.transitionDuration, u.style.animationName = A.current.animationName), p(s);
483
483
  }
484
484
  }, [d.open, s]), /* @__PURE__ */ i(
485
485
  z.div,
486
486
  {
487
- "data-state": H(d.open),
487
+ "data-state": B(d.open),
488
488
  "data-disabled": d.disabled ? "" : void 0,
489
489
  id: d.contentId,
490
490
  hidden: !v,
491
491
  ...c,
492
- ref: h,
492
+ ref: m,
493
493
  style: {
494
494
  "--radix-collapsible-content-height": N ? `${N}px` : void 0,
495
495
  "--radix-collapsible-content-width": b ? `${b}px` : void 0,
@@ -499,11 +499,11 @@ var it = Object.defineProperty, j = (n, o) => it(n, "name", { value: o, configur
499
499
  }
500
500
  );
501
501
  }, "CollapsibleContentImpl"));
502
- function H(n) {
502
+ function B(n) {
503
503
  return n ? "open" : "closed";
504
504
  }
505
- j(H, "getState");
506
- var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "name", { value: o, configurable: !0 }), D = "Accordion", bt = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [ce, xt, yt] = /* @__PURE__ */ Pe(D), [B, Ft] = q(D, [
505
+ j(B, "getState");
506
+ var ht = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "name", { value: o, configurable: !0 }), D = "Accordion", bt = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [ce, xt, yt] = /* @__PURE__ */ Pe(D), [H, Ft] = q(D, [
507
507
  yt,
508
508
  ke
509
509
  ]), ie = ke(), It = /* @__PURE__ */ l.forwardRef(
@@ -512,7 +512,7 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
512
512
  const { type: t, ...s } = o, r = s, c = s;
513
513
  return /* @__PURE__ */ i(ce.Provider, { scope: o.__scopeAccordion, children: t === "multiple" ? /* @__PURE__ */ i(Nt, { ...c, ref: e }) : /* @__PURE__ */ i(wt, { ...r, ref: e }) });
514
514
  }, "Accordion")
515
- ), [De, At] = B(D), [$e, Rt] = B(
515
+ ), [De, At] = H(D), [$e, Rt] = H(
516
516
  D,
517
517
  { collapsible: !1 }
518
518
  ), wt = /* @__PURE__ */ l.forwardRef(
@@ -555,10 +555,10 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
555
555
  onChange: r,
556
556
  caller: D
557
557
  }), p = l.useCallback(
558
- (h) => f((g = []) => [...g, h]),
558
+ (m) => f((g = []) => [...g, m]),
559
559
  [f]
560
560
  ), a = l.useCallback(
561
- (h) => f((g = []) => g.filter((N) => N !== h)),
561
+ (m) => f((g = []) => g.filter((N) => N !== m)),
562
562
  [f]
563
563
  );
564
564
  return /* @__PURE__ */ i(
@@ -571,7 +571,7 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
571
571
  children: /* @__PURE__ */ i($e, { scope: o.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ i(Le, { ...c, ref: e }) })
572
572
  }
573
573
  );
574
- }, "AccordionImplMultiple")), [Pt, F] = B(D), Le = /* @__PURE__ */ l.forwardRef(
574
+ }, "AccordionImplMultiple")), [Pt, F] = H(D), Le = /* @__PURE__ */ l.forwardRef(
575
575
  /* @__PURE__ */ O(function(o, e) {
576
576
  const { __scopeAccordion: t, disabled: s, dir: r, orientation: c = "vertical", ...d } = o, f = l.useRef(null), p = $(f, e), a = xt(t), g = Me(r) === "ltr", N = Ne(o.onKeyDown, (C) => {
577
577
  if (!bt.includes(C.key)) return;
@@ -579,14 +579,14 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
579
579
  if (I === -1) return;
580
580
  C.preventDefault();
581
581
  let u = I;
582
- const m = 0, E = A - 1, P = /* @__PURE__ */ O(() => {
583
- u = I + 1, u > E && (u = m);
582
+ const h = 0, E = A - 1, P = /* @__PURE__ */ O(() => {
583
+ u = I + 1, u > E && (u = h);
584
584
  }, "moveNext"), _ = /* @__PURE__ */ O(() => {
585
- u = I - 1, u < m && (u = E);
585
+ u = I - 1, u < h && (u = E);
586
586
  }, "movePrev");
587
587
  switch (C.key) {
588
588
  case "Home":
589
- u = m;
589
+ u = h;
590
590
  break;
591
591
  case "End":
592
592
  u = E;
@@ -626,25 +626,25 @@ var mt = dt, gt = ft, vt = pt, Ct = Object.defineProperty, O = (n, o) => Ct(n, "
626
626
  }
627
627
  );
628
628
  }, "AccordionImpl")
629
- ), ee = "AccordionItem", [_t, le] = B(ee), St = /* @__PURE__ */ l.forwardRef(
629
+ ), ee = "AccordionItem", [_t, le] = H(ee), St = /* @__PURE__ */ l.forwardRef(
630
630
  /* @__PURE__ */ O(function(o, e) {
631
- const { __scopeAccordion: t, value: s, ...r } = o, c = F(ee, t), d = At(ee, t), f = ie(t), p = we(), a = s && d.value.includes(s) || !1, h = c.disabled || o.disabled;
631
+ const { __scopeAccordion: t, value: s, ...r } = o, c = F(ee, t), d = At(ee, t), f = ie(t), p = we(), a = s && d.value.includes(s) || !1, m = c.disabled || o.disabled;
632
632
  return /* @__PURE__ */ i(
633
633
  _t,
634
634
  {
635
635
  scope: t,
636
636
  open: a,
637
- disabled: h,
637
+ disabled: m,
638
638
  triggerId: p,
639
639
  children: /* @__PURE__ */ i(
640
- mt,
640
+ ht,
641
641
  {
642
642
  "data-orientation": c.orientation,
643
643
  "data-state": ae(a),
644
644
  ...f,
645
645
  ...r,
646
646
  ref: e,
647
- disabled: h,
647
+ disabled: m,
648
648
  open: a,
649
649
  onOpenChange: (g) => {
650
650
  g ? d.onItemOpen(s) : d.onItemClose(s);
@@ -711,7 +711,7 @@ function ae(n) {
711
711
  return n ? "open" : "closed";
712
712
  }
713
713
  O(ae, "getState");
714
- var Dt = It, $t = St, Lt = Et, ze = Mt, je = Tt, Ke = Dt, de = l.forwardRef(({ className: n, ...o }, e) => /* @__PURE__ */ i($t, {
714
+ var Dt = It, $t = St, Lt = Et, ze = Mt, je = Tt, Ve = Dt, de = l.forwardRef(({ className: n, ...o }, e) => /* @__PURE__ */ i($t, {
715
715
  ref: e,
716
716
  className: te("cds-border-b cds-border-border", n),
717
717
  ...o
@@ -737,14 +737,14 @@ var fe = l.forwardRef(({ className: n, children: o, ...e }, t) => /* @__PURE__ *
737
737
  })
738
738
  }));
739
739
  fe.displayName = je.displayName;
740
- var zt = /* @__PURE__ */ Be({
741
- GroupEntries: () => me,
742
- ReviewEditButton: () => Ve,
740
+ var zt = /* @__PURE__ */ He({
741
+ GroupEntries: () => he,
742
+ ReviewEditButton: () => Ke,
743
743
  ReviewPanel: () => qe,
744
744
  RowList: () => G,
745
745
  sectionClass: () => pe,
746
- sectionHeadingClass: () => he
747
- }), pe = "cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4", he = "cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg", jt = (n) => {
746
+ sectionHeadingClass: () => me
747
+ }), pe = "cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4", me = "cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg", jt = (n) => {
748
748
  let o = n.label.replace(/s$/i, "").toLowerCase();
749
749
  return `${n.entries.length} ${n.entries.length === 1 ? o : `${o}s`}`;
750
750
  }, G = ({ rows: n }) => /* @__PURE__ */ i("dl", {
@@ -760,7 +760,7 @@ var zt = /* @__PURE__ */ Be({
760
760
  children: o.value
761
761
  })]
762
762
  }, o.key))
763
- }), Ve = ({ label: n, onClick: o }) => /* @__PURE__ */ M("button", {
763
+ }), Ke = ({ label: n, onClick: o }) => /* @__PURE__ */ M("button", {
764
764
  type: "button",
765
765
  onClick: o,
766
766
  "aria-label": `Edit ${n}`,
@@ -771,23 +771,23 @@ var zt = /* @__PURE__ */ Be({
771
771
  }), "Edit"]
772
772
  }), qe = ({ stages: n, questionsByStage: o, values: e, busy: t, error: s, suppressedKeys: r, onEditStage: c, onConfirm: d }) => {
773
773
  let f = n.map((a) => {
774
- let h = o[a] ?? [];
774
+ let m = o[a] ?? [];
775
775
  return {
776
776
  stage: a,
777
- rows: Ye({
778
- questions: h,
777
+ rows: We({
778
+ questions: m,
779
779
  values: e,
780
780
  stageKey: a,
781
781
  suppressedKeys: r
782
782
  }),
783
- groups: We({
784
- questions: h,
783
+ groups: Qe({
784
+ questions: m,
785
785
  values: e,
786
786
  stageKey: a,
787
787
  suppressedKeys: r
788
788
  }),
789
789
  validation: Ue({
790
- questions: h,
790
+ questions: m,
791
791
  values: e,
792
792
  stageKey: a
793
793
  })
@@ -825,22 +825,22 @@ var zt = /* @__PURE__ */ Be({
825
825
  })]
826
826
  }) : null,
827
827
  f.filter((a) => a.rows.length > 0 || a.groups.length > 0).map((a) => {
828
- let h = ye(a.stage).short;
828
+ let m = ye(a.stage).short;
829
829
  return /* @__PURE__ */ M("section", {
830
830
  className: pe,
831
831
  children: [
832
832
  /* @__PURE__ */ M("div", {
833
833
  className: "cds-mb-2 cds-flex cds-items-center cds-justify-between",
834
834
  children: [/* @__PURE__ */ i("h3", {
835
- className: he,
836
- children: h
837
- }), /* @__PURE__ */ i(Ve, {
838
- label: h,
835
+ className: me,
836
+ children: m
837
+ }), /* @__PURE__ */ i(Ke, {
838
+ label: m,
839
839
  onClick: () => c(a.stage)
840
840
  })]
841
841
  }),
842
842
  a.rows.length ? /* @__PURE__ */ i(G, { rows: a.rows }) : null,
843
- a.groups.map((g) => /* @__PURE__ */ i(me, { group: g }, g.groupKey))
843
+ a.groups.map((g) => /* @__PURE__ */ i(he, { group: g }, g.groupKey))
844
844
  ]
845
845
  }, a.stage);
846
846
  }),
@@ -856,10 +856,10 @@ var zt = /* @__PURE__ */ Be({
856
856
  })
857
857
  ]
858
858
  });
859
- }, me = ({ group: n }) => n.entries.length ? /* @__PURE__ */ M(Je, { children: [/* @__PURE__ */ i("p", {
859
+ }, he = ({ group: n }) => n.entries.length ? /* @__PURE__ */ M(Ye, { children: [/* @__PURE__ */ i("p", {
860
860
  className: "cds-mb-1 cds-text-sm cds-text-fg-muted",
861
861
  children: jt(n)
862
- }), /* @__PURE__ */ i(Ke, {
862
+ }), /* @__PURE__ */ i(Ve, {
863
863
  type: "multiple",
864
864
  children: n.entries.map((o, e) => /* @__PURE__ */ M(de, {
865
865
  value: `${n.groupKey}-${e}`,
@@ -887,16 +887,16 @@ const Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
887
887
  i: zt,
888
888
  l: de,
889
889
  n: qe,
890
- o: he,
890
+ o: me,
891
891
  r: G,
892
- s: Ke,
893
- t: me,
892
+ s: Ve,
893
+ t: he,
894
894
  u: ue
895
895
  }, Symbol.toStringTag, { value: "Module" }));
896
896
  export {
897
- me as D,
897
+ he as D,
898
898
  tt as P,
899
- he as S,
899
+ me as S,
900
900
  Gt as r,
901
901
  G as w,
902
902
  pe as x
@@ -1,8 +1,8 @@
1
- import { t as O, a1 as P, a2 as V, a3 as x, a4 as D } from "./widget-CpC6N1oq.js";
1
+ import { s as N, a2 as O, a3 as V, a4 as x, a5 as D } from "./widget-fDShn8w9.js";
2
2
  import { t as q, n as k } from "./types-LUGvo5ic-CiVRcsV9.js";
3
- import { k as d, j as f, n as F, u as L, c as U, d as R, A as j } from "./visibility-iwttXt0y-DtOOYFcv.js";
4
- import { A as b } from "./validation-Db4WCn17-DiPhPmjM.js";
5
- import { t as $, l as Y, a as Q, o as M, i as K, f as I, n as W, r as B } from "./vehicleCoverage-CDBtkdww-Bm9pGAq7.js";
3
+ import { k as h, j as f, n as L, u as P, c as R, d as U, A as j } from "./visibility-xQNTF1no-t9wamJ9M.js";
4
+ import { A as b } from "./validation-D9L1J71d-BF62B66y.js";
5
+ import { t as $, l as Y, a as Q, o as H, i as K, f as I, n as M, r as B } from "./vehicleCoverage-CgeEazR0-C3ugp85r.js";
6
6
  (function() {
7
7
  if (typeof s > "u")
8
8
  var s = { env: {} };
@@ -20,19 +20,19 @@ var C = /* @__PURE__ */ new Set([
20
20
  "personal_injury_amount_paid_cents",
21
21
  "auto_current_annual_premium_cents",
22
22
  "amount_paid_cents"
23
- ]), G = /* @__PURE__ */ new Set([
23
+ ]), W = /* @__PURE__ */ new Set([
24
24
  "total_area_sq_ft",
25
25
  "annual_mileage",
26
26
  "miles_to_work",
27
27
  "distance_to_coast_miles"
28
- ]), H = (s) => C.has(s), Z = (s) => C.has(s) || G.has(s), z = (s, e) => {
28
+ ]), G = (s) => C.has(s), Z = (s) => C.has(s) || W.has(s), z = (s, e) => {
29
29
  let i = String(s ?? "").replace(/\D/g, "");
30
30
  if (!i) return "";
31
31
  let r = Number(i);
32
32
  if (!Number.isFinite(r)) return "";
33
33
  let n = r.toLocaleString("en-US");
34
34
  return e ? `$${n}` : n;
35
- }, pe = /* @__PURE__ */ O({
35
+ }, pe = /* @__PURE__ */ N({
36
36
  STAGES_BY_PRODUCT: () => D,
37
37
  ZIP_FIRST_PAINT_CACHE_KEY: () => x,
38
38
  ZIP_FIRST_PAINT_QUESTIONS: () => V,
@@ -59,22 +59,22 @@ var C = /* @__PURE__ */ new Set([
59
59
  driver_violations: "Violation",
60
60
  losses: "Loss",
61
61
  home_losses: "Loss"
62
- }, h = (s) => ee[s] ?? "Entry", w = (s, e, i, r) => {
62
+ }, d = (s) => ee[s] ?? "Entry", w = (s, e, i, r) => {
63
63
  let n = (l, t) => {
64
64
  l.forEach((a) => {
65
- let u = L(a);
65
+ let u = P(a);
66
66
  if (u) {
67
- let o = U(a) || t[a.key] === u.conditionalValue;
67
+ let o = R(a) || t[a.key] === u.conditionalValue;
68
68
  r(a.key, u.conditionalQuestions ?? [], o);
69
69
  }
70
- R(a, t).forEach((o) => {
70
+ U(a, t).forEach((o) => {
71
71
  o.conditionalQuestionsAllowMultiple || n(o.conditionalQuestions ?? [], t);
72
72
  });
73
73
  });
74
74
  };
75
- n(F(s), e);
75
+ n(L(s), e);
76
76
  }, se = ({ questions: s, values: e, stageKey: i }) => {
77
- let r = d(s, e, i), n = b(r, e), l = [], t = [];
77
+ let r = h(s, e, i), n = b(r, e), l = [], t = [];
78
78
  for (let [a, u] of Object.entries(n)) {
79
79
  let o = r.find((c) => c.key === a);
80
80
  t.push(`${o?.question ?? a}: ${u}`);
@@ -83,14 +83,14 @@ var C = /* @__PURE__ */ new Set([
83
83
  if (!o) return;
84
84
  let c = f(e, a);
85
85
  if (!c.length) {
86
- t.push(`Add at least one ${h(a).toLowerCase()}.`), n[k(a)] = `Add at least one ${h(a).toLowerCase()}.`;
86
+ t.push(`Add at least one ${d(a).toLowerCase()}.`), n[k(a)] = `Add at least one ${d(a).toLowerCase()}.`;
87
87
  return;
88
88
  }
89
89
  c.forEach((y, p) => {
90
- let _ = j(u, y, e, i, p), N = b(_, X(e, y, _)), m = {};
90
+ let _ = j(u, y, e, i, p), F = b(_, X(e, y, _)), m = {};
91
91
  for (let v of _) {
92
- let g = N[v.key];
93
- g && (m[v.key] = g, t.push(`${h(a)} ${p + 1} — ${v.question}: ${g}`));
92
+ let g = F[v.key];
93
+ g && (m[v.key] = g, t.push(`${d(a)} ${p + 1} — ${v.question}: ${g}`));
94
94
  }
95
95
  Object.keys(m).length && l.push({
96
96
  groupKey: a,
@@ -103,7 +103,7 @@ var C = /* @__PURE__ */ new Set([
103
103
  for (let y of Y(a)) u.set(y.index, { ...y.errorsByKey }), t.push(`Vehicle ${y.index + 1} — coverage selections are incomplete.`);
104
104
  let o = Q(e), c = f(e, "drivers").length;
105
105
  a.forEach((y, p) => {
106
- let _ = M(o, p, c);
106
+ let _ = H(o, p, c);
107
107
  _ && (u.set(p, {
108
108
  ...u.get(p) ?? {},
109
109
  [$]: _
@@ -123,7 +123,7 @@ var C = /* @__PURE__ */ new Set([
123
123
  };
124
124
  }, E = (s) => Object.values(s).every((e) => e == null || String(e).trim() === ""), re = (s, e, i) => {
125
125
  let r = {};
126
- for (let l of d(s, e, i)) l.key in e && (r[l.key] = e[l.key]);
126
+ for (let l of h(s, e, i)) l.key in e && (r[l.key] = e[l.key]);
127
127
  w(s, e, i, (l, t, a) => {
128
128
  let u = k(l);
129
129
  if (!a || !(u in e)) return;
@@ -131,8 +131,8 @@ var C = /* @__PURE__ */ new Set([
131
131
  !c.length && o.length || (r[u] = c, r[l] = e[l] ?? "Yes");
132
132
  });
133
133
  let n = k("vehicles");
134
- return d(s, e, i).some((l) => l.key === "vehicle_policy_selections") && n in e && !(n in r) && (r[n] = f(e, "vehicles").filter((l) => !E(l)), r.vehicles = e.vehicles ?? "Yes", "driver_vehicle_assignments" in e && (r[$] = e[$])), r;
135
- }, ie = (s, e) => [s.first_name, s.last_name].map((i) => String(i ?? "").trim()).filter(Boolean).join(" ") || `Driver ${e + 1}`, te = (s, e, i) => s === "vehicles" ? I(e, i) : s === "drivers" ? ie(e, i) : `${h(s)} ${i + 1}`, le = ({ questions: s, values: e, stageKey: i, suppressedKeys: r }) => {
134
+ return h(s, e, i).some((l) => l.key === "vehicle_policy_selections") && n in e && !(n in r) && (r[n] = f(e, "vehicles").filter((l) => !E(l)), r.vehicles = e.vehicles ?? "Yes", "driver_vehicle_assignments" in e && (r[$] = e[$])), r;
135
+ }, ie = (s, e) => [s.first_name, s.last_name].map((i) => String(i ?? "").trim()).filter(Boolean).join(" ") || `Driver ${e + 1}`, te = (s, e, i) => s === "vehicles" ? I(e, i) : s === "drivers" ? ie(e, i) : `${d(s)} ${i + 1}`, le = ({ questions: s, values: e, stageKey: i, suppressedKeys: r }) => {
136
136
  let n = [];
137
137
  return w(s, e, i, (l, t, a) => {
138
138
  if (!a) return;
@@ -161,21 +161,21 @@ var C = /* @__PURE__ */ new Set([
161
161
  let r = T(e) ?? T(i.ssn_display);
162
162
  return r ? `•••–••–${r}` : "—";
163
163
  }
164
- return e == null || e === "" ? "—" : e === !0 ? "Yes" : e === !1 ? "No" : Array.isArray(e) ? `${e.length} added` : s.inputType === "select" || s.inputType === "radio" ? P(s.key, String(e)) : s.inputType === "number" && Z(s.key) && z(e, H(s.key)) || String(e);
164
+ return e == null || e === "" ? "—" : e === !0 ? "Yes" : e === !1 ? "No" : Array.isArray(e) ? `${e.length} added` : s.inputType === "select" || s.inputType === "radio" ? O(s.key, String(e)) : s.inputType === "number" && Z(s.key) && z(e, G(s.key)) || String(e);
165
165
  }, ae = (s) => ({
166
166
  question: B[s],
167
167
  key: s,
168
168
  required: !0,
169
169
  inputType: "select"
170
170
  }), ne = ({ questions: s, values: e, stageKey: i, suppressedKeys: r }) => {
171
- let n = d(s, e, i), l = n.filter((t) => !t.key.endsWith(q)).filter((t) => t.key !== K).filter((t) => !r?.has(t.key)).map((t) => ({
171
+ let n = h(s, e, i), l = n.filter((t) => !t.key.endsWith(q)).filter((t) => t.key !== K).filter((t) => !r?.has(t.key)).map((t) => ({
172
172
  key: t.key,
173
173
  label: t.question,
174
174
  value: S(t, e[t.key], e)
175
175
  }));
176
176
  return n.some((t) => t.key === "vehicle_policy_selections") && f(e, "vehicles").forEach((t, a) => {
177
177
  let u = I(t, a);
178
- for (let o of W) l.push({
178
+ for (let o of M) l.push({
179
179
  key: `${K}__${a}__${o}`,
180
180
  label: `${u} — ${B[o]}`,
181
181
  value: S(ae(o), t[o], e)
@@ -184,7 +184,7 @@ var C = /* @__PURE__ */ new Set([
184
184
  };
185
185
  export {
186
186
  pe as a,
187
- G as c,
187
+ W as c,
188
188
  Z as d,
189
189
  re as i,
190
190
  z as l,
@@ -193,5 +193,5 @@ export {
193
193
  ne as r,
194
194
  C as s,
195
195
  A as t,
196
- H as u
196
+ G as u
197
197
  };