@opendoor/partner-sdk-client-vue 1.3.4 → 1.3.5-beta.121.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,57 +1,57 @@
1
- import { defineComponent as x, computed as w, provide as de, ref as I, watch as ee, onUnmounted as ae, renderSlot as ce, inject as V, openBlock as c, createElementBlock as p, normalizeClass as e, createElementVNode as n, onMounted as ve, normalizeStyle as le, createCommentVNode as E, Fragment as N, toDisplayString as _, renderList as Y, withKeys as Ie, withModifiers as Se, createBlock as K, unref as P, withDirectives as qe, vModelText as Ee, resolveDynamicComponent as Be, createTextVNode as $e, Teleport as Ge, createVNode as oe, useSlots as He, withCtx as Oe } from "vue";
2
- import { NOOP_TRACKING as Le, TrackingClient as Ve } from "@opendoor/partner-sdk-client-js-core/internal/tracking";
3
- import { resolveAppearance as Ue } from "@opendoor/partner-sdk-client-js-core";
4
- import { DTC_ONBOARDING_PAGE_IDS as lr, OpendoorClient as rr, THEMES as ir, resolveAppearance as ur } from "@opendoor/partner-sdk-client-js-core";
1
+ import { defineComponent as x, computed as w, provide as pe, ref as I, watch as te, onUnmounted as re, renderSlot as ve, inject as U, openBlock as c, createElementBlock as p, normalizeClass as e, createElementVNode as t, onMounted as ye, normalizeStyle as ie, createCommentVNode as q, Fragment as H, toDisplayString as L, renderList as Q, withKeys as Ie, withModifiers as Se, createBlock as K, unref as j, withDirectives as Ee, vModelText as qe, resolveDynamicComponent as Be, createTextVNode as ce, Teleport as He, createVNode as ee, useSlots as Ve, withCtx as Ue } from "vue";
2
+ import { NOOP_TRACKING as Le, TrackingClient as Ze } from "@opendoor/partner-sdk-client-js-core/internal/tracking";
3
+ import { resolveAppearance as We } from "@opendoor/partner-sdk-client-js-core";
4
+ import { DTC_ONBOARDING_PAGE_IDS as fr, OpendoorClient as mr, THEMES as gr, resolveAppearance as hr } from "@opendoor/partner-sdk-client-js-core";
5
5
  import { createDtcOnboardingFlow as Me } from "@opendoor/partner-sdk-client-js-core/internal/questionnaire";
6
- const Xl = /* @__PURE__ */ x({
6
+ const rr = /* @__PURE__ */ x({
7
7
  __name: "OpendoorProvider",
8
8
  props: {
9
9
  client: {}
10
10
  },
11
- setup(t) {
12
- const o = t, a = w(() => o.client);
13
- de("opendoor-client", a);
11
+ setup(s) {
12
+ const o = s, a = w(() => o.client);
13
+ pe("opendoor-client", a);
14
14
  const l = I(Le);
15
- return de("opendoor-tracking", l), ee(
15
+ return pe("opendoor-tracking", l), te(
16
16
  () => o.client,
17
17
  () => {
18
18
  l.value !== Le && l.value.destroy();
19
- const u = new Ve(o.client.environment);
19
+ const u = new Ze(o.client.environment);
20
20
  l.value = u;
21
21
  },
22
22
  { immediate: !0 }
23
- ), ae(() => {
23
+ ), re(() => {
24
24
  l.value !== Le && l.value.destroy();
25
- }), (u, r) => ce(u.$slots, "default");
25
+ }), (u, r) => ve(u.$slots, "default");
26
26
  }
27
27
  });
28
- function Pe() {
29
- const t = V("opendoor-client");
30
- if (!t)
28
+ function je() {
29
+ const s = U("opendoor-client");
30
+ if (!s)
31
31
  throw new Error(
32
32
  "useOpendoorClient must be used within an <OpendoorProvider>"
33
33
  );
34
- return t;
34
+ return s;
35
35
  }
36
- function ye(t) {
37
- const o = Ue(t), a = {};
36
+ function fe(s) {
37
+ const o = We(s), a = {};
38
38
  for (const [l, u] of Object.entries(o)) {
39
39
  const r = l.replace(/([A-Z])/g, "-$1").toLowerCase();
40
40
  a[`--od-${r}`] = u;
41
41
  }
42
42
  return a;
43
43
  }
44
- const Ze = /* @__PURE__ */ x({
44
+ const ze = /* @__PURE__ */ x({
45
45
  __name: "PoweredByOpendoor",
46
- setup(t) {
46
+ setup(s) {
47
47
  return (o, a) => (c(), p("div", {
48
48
  class: e(o.$style.attribution),
49
49
  "data-testid": "od-attribution"
50
50
  }, [
51
- n("span", {
51
+ t("span", {
52
52
  class: e(o.$style.text)
53
53
  }, "Powered by", 2),
54
- a[0] || (a[0] = n("svg", {
54
+ a[0] || (a[0] = t("svg", {
55
55
  width: "75",
56
56
  height: "16",
57
57
  viewBox: "0 0 112.574 24.0002",
@@ -60,24 +60,24 @@ const Ze = /* @__PURE__ */ x({
60
60
  "aria-label": "Opendoor",
61
61
  role: "img"
62
62
  }, [
63
- n("path", {
63
+ t("path", {
64
64
  d: "M21.8975 5.53219C22.0296 5.51725 22.144 5.62372 22.1396 5.7568L22.0928 7.21773H22.2148C23.2408 6.33834 24.6088 5.53316 26.3184 5.53316C28.6383 5.53337 31.1045 7.07197 31.1045 11.542C31.1044 16.6229 28.1252 18.8456 24.0469 18.8457C23.5341 18.8457 22.7277 18.748 22.1904 18.6015C22.1904 18.6015 22.2148 19.2369 22.2148 20.0918V23.4072C22.2148 23.5083 22.1393 23.593 22.0391 23.6045L18.5527 23.999C18.4349 24.0122 18.332 23.9191 18.332 23.8007V6.11324C18.332 6.01204 18.4082 5.92743 18.5088 5.91597L21.8975 5.53219ZM8.35254 1.33101C12.5528 1.33111 16.5088 3.8474 16.5088 9.90523C16.5088 16.3784 12.0884 18.8457 8.15625 18.8457C3.95617 18.8455 0 16.1584 0 10.2959C9.43202e-05 3.87138 4.42045 1.33101 8.35254 1.33101ZM38.9141 5.53219C42.245 5.53219 44.3351 7.17875 44.4541 11.4853C44.4565 11.5689 44.3887 11.6395 44.3047 11.6396H36.5518C36.4679 11.6398 36.4004 11.7102 36.4023 11.7939C36.5116 15.6741 38.0191 16.7451 40.502 16.7451C41.7135 16.745 42.6903 16.4632 43.5078 16.1005C43.5679 16.0738 43.6377 16.0896 43.6807 16.1396L44.0059 16.5214C44.0548 16.579 44.0546 16.6649 44.0029 16.7197C43.1121 17.6594 41.298 18.8457 38.9141 18.8457C34.6647 18.8457 32.54 16.3051 32.54 12.1523C32.5401 7.90199 35.6904 5.53219 38.9141 5.53219ZM71.8682 0.000935719C72.0069 -0.0114562 72.1257 0.100879 72.1191 0.240194C72.0964 0.716622 72.0527 1.87639 72.0527 3.13863V18.2412C72.0527 18.3558 71.9689 18.4538 71.8555 18.4697L68.5049 18.8437C68.3628 18.8638 68.2375 18.75 68.2432 18.6064L68.292 17.2578H68.1943C67.1441 18.1614 65.7768 18.8456 64.0674 18.8457C61.6496 18.8457 59.2804 17.087 59.2803 12.6416C59.2803 7.56051 62.5533 5.53219 66.3633 5.53219C67.0224 5.5322 67.706 5.65511 68.2188 5.80172C68.2188 5.80172 68.1699 4.89765 68.1699 4.01851V0.598592C68.1699 0.495514 68.2491 0.40955 68.3516 0.40035L71.8682 0.000935719ZM80.29 5.53219C83.831 5.53235 86.9325 7.65789 86.9326 12.1035C86.9326 16.7934 83.66 18.8455 80.29 18.8457C76.7489 18.8457 73.6719 16.6956 73.6719 12.2255C73.672 7.53545 76.993 5.53219 80.29 5.53219ZM94.8555 5.53219C98.3966 5.53219 101.498 7.65772 101.498 12.1035C101.498 16.7936 98.2258 18.8457 94.8555 18.8457C91.3146 18.8456 88.2373 16.6956 88.2373 12.2255C88.2375 7.53549 91.5587 5.53222 94.8555 5.53219ZM49.54 5.52828C49.6571 5.51515 49.7585 5.60852 49.7549 5.72652L49.707 7.26656H49.8047C51.0989 6.33849 52.7115 5.53219 54.4941 5.53219C56.5697 5.53235 57.6932 6.6075 57.6934 8.80562V18.3593C57.6931 18.4662 57.6057 18.5527 57.499 18.5527H53.9795C53.8728 18.5527 53.7854 18.4662 53.7852 18.3593V9.75875C53.7852 8.26873 53.2482 7.80466 52.1006 7.80465C51.2456 7.80465 50.3663 7.9998 49.8291 8.12203V18.3593C49.8289 18.4661 49.7423 18.5526 49.6357 18.5527H46.1396C46.033 18.5527 45.9465 18.4662 45.9463 18.3593V6.11324C45.9463 6.01204 46.0226 5.92724 46.123 5.91597L49.54 5.52828ZM110.574 5.53219C111.746 5.53219 112.574 6.1674 112.574 7.36422C112.574 8.53675 111.722 9.29195 110.77 9.29195C109.721 9.29192 109.354 8.85463 108.89 8.09762C108.743 7.82894 108.596 7.78023 108.376 7.78023C107.937 7.78032 107.375 8.09738 107.033 8.415V18.3222C107.033 18.4491 106.93 18.5527 106.803 18.5527H103.38C103.253 18.5527 103.15 18.4491 103.15 18.3222V6.11324C103.15 6.01203 103.226 5.92743 103.326 5.91597L106.703 5.53707C106.842 5.52148 106.963 5.63273 106.959 5.77242L106.911 7.41305H107.009C107.766 6.60703 109.158 5.53219 110.574 5.53219ZM80.2158 6.48531C78.6774 6.48551 77.7744 7.60933 77.7744 11.8105C77.7744 16.818 78.5799 17.8924 80.3623 17.8925C81.8279 17.8925 82.8291 17.0378 82.8291 12.3476C82.8291 7.41346 81.8766 6.48531 80.2158 6.48531ZM94.7822 6.48531C93.2437 6.48537 92.3399 7.60905 92.3398 11.8105C92.3398 16.8181 93.1462 17.8924 94.9287 17.8925C96.3942 17.8925 97.3955 17.0378 97.3955 12.3476C97.3955 7.41346 96.443 6.48531 94.7822 6.48531ZM24.1934 7.65816C23.2165 7.65816 22.6057 7.95117 22.2148 8.09762V16.9892C22.6546 17.5022 23.3141 17.8691 24.1445 17.8691C26.0737 17.8691 27.0996 16.8424 27.0996 12.372C27.0996 8.8791 26.0493 7.65823 24.1934 7.65816ZM8.20605 2.35738C5.83698 2.35738 4.63965 4.01812 4.63965 9.78316C4.63965 15.4746 5.56842 17.8203 8.30371 17.8203C10.7211 17.8201 11.8691 16.1825 11.8691 10.4423C11.8691 4.72668 10.8919 2.35759 8.20605 2.35738ZM66.2656 6.50972C64.5074 6.50972 63.2861 7.80421 63.2861 11.8349C63.2861 15.67 64.2631 16.916 66.1191 16.916C67.1198 16.9159 67.7791 16.5256 68.1699 16.3789V7.53512C67.7548 7.02239 67.1689 6.50989 66.2656 6.50972ZM38.7188 6.4609C37.4732 6.46096 36.4961 7.63335 36.3984 10.7109L40.5752 10.4912C40.5752 7.53568 40.1842 6.4609 38.7188 6.4609Z",
65
65
  fill: "currentColor"
66
66
  })
67
67
  ], -1))
68
68
  ], 2));
69
69
  }
70
- }), We = "_attribution_18rgp_8", ze = "_text_18rgp_17", Ke = {
71
- attribution: We,
72
- text: ze
73
- }, G = (t, o) => {
74
- const a = t.__vccOpts || t;
70
+ }), Ke = "_attribution_18rgp_8", Qe = "_text_18rgp_17", Ye = {
71
+ attribution: Ke,
72
+ text: Qe
73
+ }, G = (s, o) => {
74
+ const a = s.__vccOpts || s;
75
75
  for (const [l, u] of o)
76
76
  a[l] = u;
77
77
  return a;
78
- }, Qe = {
79
- $style: Ke
80
- }, Ye = /* @__PURE__ */ G(Ze, [["__cssModules", Qe]]), Xe = ["value", "placeholder", "disabled", "aria-controls", "aria-expanded"], Je = ["disabled", "aria-label"], et = ["id", "role", "aria-live"], tt = ["onClick", "onKeydown"], nt = ["for"], st = ["id", "value", "disabled"], ot = ["for"], at = ["id", "value", "disabled"], lt = ["for"], rt = ["id", "value", "disabled"], it = ["for"], ut = ["id", "value", "disabled"], ct = ["for"], dt = ["id", "value", "disabled"], vt = ["disabled"], yt = /* @__PURE__ */ x({
78
+ }, Xe = {
79
+ $style: Ye
80
+ }, Je = /* @__PURE__ */ G(ze, [["__cssModules", Xe]]), et = ["value", "placeholder", "disabled", "aria-controls", "aria-expanded"], tt = ["disabled", "aria-label"], st = ["id", "role", "aria-live"], nt = ["onClick", "onKeydown"], ot = ["for"], at = ["id", "value", "disabled"], lt = ["for"], rt = ["id", "value", "disabled"], it = ["for"], ut = ["id", "value", "disabled"], ct = ["for"], dt = ["id", "value", "disabled"], vt = ["for"], pt = ["id", "value", "disabled"], yt = ["disabled"], ft = /* @__PURE__ */ x({
81
81
  __name: "AddressEntry",
82
82
  props: {
83
83
  enableAddressSuggestions: { type: Boolean, default: !0 },
@@ -91,60 +91,60 @@ const Ze = /* @__PURE__ */ x({
91
91
  appearance: {}
92
92
  },
93
93
  emits: ["address-select", "ready", "change", "validation-error", "address-suggestions-start", "address-suggestions-complete", "error"],
94
- setup(t, { emit: o }) {
94
+ setup(s, { emit: o }) {
95
95
  let a = 0;
96
- const l = t, u = o, r = Pe(), v = `ae-${++a}`, d = I(""), i = I([]), f = I(!1), m = I(!1), b = I(null), g = I(!1), L = I(!1), M = I(null), D = I(null), H = I(null), A = I({
96
+ const l = s, u = o, r = je(), d = `ae-${++a}`, v = I(""), i = I([]), f = I(!1), m = I(!1), b = I(null), h = I(!1), _ = I(!1), A = I(null), D = I(null), F = I(null), M = I({
97
97
  street1: "",
98
98
  street2: "",
99
99
  city: "",
100
100
  state: "",
101
101
  postalCode: ""
102
- }), Z = w(() => ye(l.appearance)), j = w(
103
- () => f.value && !m.value && d.value.trim().length >= 3 && i.value.length === 0 && !g.value
102
+ }), V = w(() => fe(l.appearance)), Z = w(
103
+ () => f.value && !m.value && v.value.trim().length >= 3 && i.value.length === 0 && !h.value
104
104
  );
105
- let O = null, S = 0;
106
- ee(d, ($) => {
107
- if (L.value) return;
108
- if (u("change", { street1: $ }), O && clearTimeout(O), !l.enableAddressSuggestions || $.trim().length < 3) {
105
+ let B = null, S = 0;
106
+ te(v, ($) => {
107
+ if (_.value) return;
108
+ if (u("change", { street1: $ }), B && clearTimeout(B), !l.enableAddressSuggestions || $.trim().length < 3) {
109
109
  S += 1, i.value = [], f.value = !1, b.value = null, m.value = !1;
110
110
  return;
111
111
  }
112
112
  m.value = !0, b.value = null;
113
113
  const y = $.trim(), C = ++S;
114
- O = setTimeout(async () => {
114
+ B = setTimeout(async () => {
115
115
  u("address-suggestions-start", y);
116
116
  try {
117
- const q = await r.value.getAddressSuggestions(y);
117
+ const E = await r.value.getAddressSuggestions(y);
118
118
  if (C !== S) return;
119
- i.value = q.addresses, f.value = !0, u("address-suggestions-complete", q.addresses);
120
- } catch (q) {
119
+ i.value = E.addresses, f.value = !0, u("address-suggestions-complete", E.addresses);
120
+ } catch (E) {
121
121
  if (C !== S) return;
122
- const T = q instanceof Error ? q : new Error("Failed to fetch address suggestions");
122
+ const T = E instanceof Error ? E : new Error("Failed to fetch address suggestions");
123
123
  b.value = T.message, i.value = [], f.value = !0, u("error", T);
124
124
  } finally {
125
125
  C === S && (m.value = !1);
126
126
  }
127
127
  }, l.debounceMs);
128
128
  });
129
- function U($) {
129
+ function R($) {
130
130
  const y = [$.street1];
131
131
  return $.street2 && (y[0] += ` ${$.street2}`), y.push(`${$.city}, ${$.state} ${$.postalCode}`), y.join(", ");
132
132
  }
133
- async function Q($) {
134
- L.value = !0, d.value = U($), i.value = [], f.value = !1, b.value = null, u("change", $);
133
+ async function Y($) {
134
+ _.value = !0, v.value = R($), i.value = [], f.value = !1, b.value = null, u("change", $);
135
135
  try {
136
136
  u("address-select", $);
137
137
  } catch (y) {
138
138
  const C = y instanceof Error ? y : new Error("Failed to process address");
139
- b.value = C.message, u("error", C), d.value = "", L.value = !1;
139
+ b.value = C.message, u("error", C), v.value = "", _.value = !1;
140
140
  }
141
141
  }
142
- function re() {
143
- g.value = !0, f.value = !1;
142
+ function ne() {
143
+ h.value = !0, f.value = !1;
144
144
  }
145
- function J($, y) {
146
- A.value[$] = y;
147
- const C = A.value;
145
+ function X($, y) {
146
+ M.value[$] = y;
147
+ const C = M.value;
148
148
  u("change", {
149
149
  street1: C.street1,
150
150
  ...C.street2 ? { street2: C.street2 } : {},
@@ -153,11 +153,11 @@ const Ze = /* @__PURE__ */ x({
153
153
  postalCode: C.postalCode
154
154
  });
155
155
  }
156
- async function W() {
157
- const $ = A.value.street1.trim(), y = A.value.city.trim(), C = A.value.state.trim(), q = A.value.postalCode.trim(), T = A.value.street2.trim();
158
- if (!$ || !y || !C || !q) {
159
- const B = "Please fill in all required fields";
160
- b.value = B, u("validation-error", B);
156
+ async function z() {
157
+ const $ = M.value.street1.trim(), y = M.value.city.trim(), C = M.value.state.trim(), E = M.value.postalCode.trim(), T = M.value.street2.trim();
158
+ if (!$ || !y || !C || !E) {
159
+ const P = "Please fill in all required fields";
160
+ b.value = P, u("validation-error", P);
161
161
  return;
162
162
  }
163
163
  m.value = !0, b.value = null;
@@ -167,154 +167,154 @@ const Ze = /* @__PURE__ */ x({
167
167
  street2: T || void 0,
168
168
  city: y,
169
169
  state: C,
170
- postalCode: q
170
+ postalCode: E
171
171
  });
172
- } catch (B) {
173
- const z = B instanceof Error ? B : new Error("Failed to submit address");
174
- b.value = z.message, u("error", z);
172
+ } catch (P) {
173
+ const W = P instanceof Error ? P : new Error("Failed to submit address");
174
+ b.value = W.message, u("error", W);
175
175
  } finally {
176
176
  m.value = !1;
177
177
  }
178
178
  }
179
- function ie() {
180
- i.value.length > 0 && Q(i.value[0]);
179
+ function ue() {
180
+ i.value.length > 0 && Y(i.value[0]);
181
181
  }
182
- function X() {
183
- i.value.length > 0 && d.value.length > 0 && (f.value = !0);
182
+ function J() {
183
+ i.value.length > 0 && v.value.length > 0 && (f.value = !0);
184
184
  }
185
- function ue($) {
185
+ function oe($) {
186
186
  const y = $.target.value;
187
- d.value = y, L.value = !1;
187
+ v.value = y, _.value = !1;
188
188
  }
189
- function te($) {
190
- D.value && !D.value.contains($.target) && H.value && !H.value.contains($.target) && (f.value = !1);
189
+ function ae($) {
190
+ D.value && !D.value.contains($.target) && F.value && !F.value.contains($.target) && (f.value = !1);
191
191
  }
192
- return ve(() => {
193
- document.addEventListener("mousedown", te), u("ready");
194
- }), ae(() => {
195
- document.removeEventListener("mousedown", te), O && clearTimeout(O), S += 1;
192
+ return ye(() => {
193
+ document.addEventListener("mousedown", ae), u("ready");
194
+ }), re(() => {
195
+ document.removeEventListener("mousedown", ae), B && clearTimeout(B), S += 1;
196
196
  }), ($, y) => (c(), p("div", {
197
197
  ref_key: "containerRef",
198
- ref: M,
198
+ ref: A,
199
199
  class: e($.$style.container),
200
- style: le(Z.value)
200
+ style: ie(V.value)
201
201
  }, [
202
- g.value ? (c(), p("div", {
202
+ h.value ? (c(), p("div", {
203
203
  key: 1,
204
204
  class: e($.$style.manualForm)
205
205
  }, [
206
- n("div", {
206
+ t("div", {
207
207
  class: e($.$style.manualFormField)
208
208
  }, [
209
- n("label", {
209
+ t("label", {
210
210
  class: e($.$style.manualFormLabel),
211
- for: `${v}-street1`
212
- }, "Street Address *", 10, nt),
213
- n("input", {
214
- id: `${v}-street1`,
211
+ for: `${d}-street1`
212
+ }, "Street Address *", 10, ot),
213
+ t("input", {
214
+ id: `${d}-street1`,
215
215
  class: e($.$style.manualFormInput),
216
216
  type: "text",
217
- value: A.value.street1,
218
- disabled: t.disabled,
217
+ value: M.value.street1,
218
+ disabled: s.disabled,
219
219
  placeholder: "123 Main St",
220
- onInput: y[0] || (y[0] = (C) => J("street1", C.target.value))
221
- }, null, 42, st)
220
+ onInput: y[0] || (y[0] = (C) => X("street1", C.target.value))
221
+ }, null, 42, at)
222
222
  ], 2),
223
- n("div", {
223
+ t("div", {
224
224
  class: e($.$style.manualFormField)
225
225
  }, [
226
- n("label", {
226
+ t("label", {
227
227
  class: e($.$style.manualFormLabel),
228
- for: `${v}-street2`
229
- }, "Unit / Apt (optional)", 10, ot),
230
- n("input", {
231
- id: `${v}-street2`,
228
+ for: `${d}-street2`
229
+ }, "Unit / Apt (optional)", 10, lt),
230
+ t("input", {
231
+ id: `${d}-street2`,
232
232
  class: e($.$style.manualFormInput),
233
233
  type: "text",
234
- value: A.value.street2,
235
- disabled: t.disabled,
234
+ value: M.value.street2,
235
+ disabled: s.disabled,
236
236
  placeholder: "Apt 4B",
237
- onInput: y[1] || (y[1] = (C) => J("street2", C.target.value))
238
- }, null, 42, at)
237
+ onInput: y[1] || (y[1] = (C) => X("street2", C.target.value))
238
+ }, null, 42, rt)
239
239
  ], 2),
240
- n("div", {
240
+ t("div", {
241
241
  class: e($.$style.manualFormField)
242
242
  }, [
243
- n("label", {
243
+ t("label", {
244
244
  class: e($.$style.manualFormLabel),
245
- for: `${v}-city`
246
- }, "City *", 10, lt),
247
- n("input", {
248
- id: `${v}-city`,
245
+ for: `${d}-city`
246
+ }, "City *", 10, it),
247
+ t("input", {
248
+ id: `${d}-city`,
249
249
  class: e($.$style.manualFormInput),
250
250
  type: "text",
251
- value: A.value.city,
252
- disabled: t.disabled,
251
+ value: M.value.city,
252
+ disabled: s.disabled,
253
253
  placeholder: "Austin",
254
- onInput: y[2] || (y[2] = (C) => J("city", C.target.value))
255
- }, null, 42, rt)
254
+ onInput: y[2] || (y[2] = (C) => X("city", C.target.value))
255
+ }, null, 42, ut)
256
256
  ], 2),
257
- n("div", {
257
+ t("div", {
258
258
  class: e($.$style.formRow)
259
259
  }, [
260
- n("div", {
260
+ t("div", {
261
261
  class: e($.$style.manualFormField)
262
262
  }, [
263
- n("label", {
263
+ t("label", {
264
264
  class: e($.$style.manualFormLabel),
265
- for: `${v}-state`
266
- }, "State *", 10, it),
267
- n("input", {
268
- id: `${v}-state`,
265
+ for: `${d}-state`
266
+ }, "State *", 10, ct),
267
+ t("input", {
268
+ id: `${d}-state`,
269
269
  class: e($.$style.manualFormInput),
270
270
  type: "text",
271
- value: A.value.state,
272
- disabled: t.disabled,
271
+ value: M.value.state,
272
+ disabled: s.disabled,
273
273
  placeholder: "TX",
274
274
  maxlength: "2",
275
- onInput: y[3] || (y[3] = (C) => J("state", C.target.value))
276
- }, null, 42, ut)
275
+ onInput: y[3] || (y[3] = (C) => X("state", C.target.value))
276
+ }, null, 42, dt)
277
277
  ], 2),
278
- n("div", {
278
+ t("div", {
279
279
  class: e($.$style.manualFormField)
280
280
  }, [
281
- n("label", {
281
+ t("label", {
282
282
  class: e($.$style.manualFormLabel),
283
- for: `${v}-postalCode`
284
- }, "ZIP Code *", 10, ct),
285
- n("input", {
286
- id: `${v}-postalCode`,
283
+ for: `${d}-postalCode`
284
+ }, "ZIP Code *", 10, vt),
285
+ t("input", {
286
+ id: `${d}-postalCode`,
287
287
  class: e($.$style.manualFormInput),
288
288
  type: "text",
289
- value: A.value.postalCode,
290
- disabled: t.disabled,
289
+ value: M.value.postalCode,
290
+ disabled: s.disabled,
291
291
  placeholder: "78701",
292
292
  maxlength: "5",
293
- onInput: y[4] || (y[4] = (C) => J("postalCode", C.target.value))
294
- }, null, 42, dt)
293
+ onInput: y[4] || (y[4] = (C) => X("postalCode", C.target.value))
294
+ }, null, 42, pt)
295
295
  ], 2)
296
296
  ], 2),
297
297
  b.value ? (c(), p("div", {
298
298
  key: 0,
299
299
  class: e($.$style.error),
300
300
  role: "alert"
301
- }, _(b.value), 3)) : E("", !0),
302
- n("button", {
301
+ }, L(b.value), 3)) : q("", !0),
302
+ t("button", {
303
303
  class: e($.$style.submitButton),
304
304
  type: "button",
305
- disabled: t.disabled,
306
- onClick: W
305
+ disabled: s.disabled,
306
+ onClick: z
307
307
  }, [
308
- n("span", null, _(t.buttonText), 1),
309
- ce($.$slots, "button-icon", {}, () => [
310
- y[8] || (y[8] = n("svg", {
308
+ t("span", null, L(s.buttonText), 1),
309
+ ve($.$slots, "button-icon", {}, () => [
310
+ y[8] || (y[8] = t("svg", {
311
311
  width: "20",
312
312
  height: "20",
313
313
  viewBox: "0 0 24 24",
314
314
  fill: "none",
315
315
  xmlns: "http://www.w3.org/2000/svg"
316
316
  }, [
317
- n("path", {
317
+ t("path", {
318
318
  d: "M5 12h14m-7-7l7 7-7 7",
319
319
  stroke: "currentColor",
320
320
  "stroke-width": "2",
@@ -323,46 +323,46 @@ const Ze = /* @__PURE__ */ x({
323
323
  })
324
324
  ], -1))
325
325
  ])
326
- ], 10, vt)
326
+ ], 10, yt)
327
327
  ], 2)) : (c(), p("div", {
328
328
  key: 0,
329
329
  class: e($.$style.inputSection)
330
330
  }, [
331
- n("div", {
331
+ t("div", {
332
332
  class: e([$.$style.inputWrapper, b.value ? $.$style.errorBorder : ""])
333
333
  }, [
334
- n("input", {
334
+ t("input", {
335
335
  ref_key: "inputRef",
336
- ref: H,
337
- value: d.value,
336
+ ref: F,
337
+ value: v.value,
338
338
  class: e($.$style.input),
339
- placeholder: t.placeholderText,
340
- disabled: t.disabled,
339
+ placeholder: s.placeholderText,
340
+ disabled: s.disabled,
341
341
  type: "text",
342
342
  autocomplete: "off",
343
343
  "aria-label": "Address input",
344
344
  "aria-autocomplete": "list",
345
- "aria-controls": `${v}-suggestions`,
345
+ "aria-controls": `${d}-suggestions`,
346
346
  "aria-expanded": f.value,
347
- onInput: ue,
348
- onFocus: X
349
- }, null, 42, Xe),
347
+ onInput: oe,
348
+ onFocus: J
349
+ }, null, 42, et),
350
350
  $.$slots["input-icon"] ? (c(), p("div", {
351
351
  key: 0,
352
352
  class: e($.$style.inputIcon)
353
353
  }, [
354
- ce($.$slots, "input-icon")
355
- ], 2)) : E("", !0),
356
- t.showButton ? (c(), p("button", {
354
+ ve($.$slots, "input-icon")
355
+ ], 2)) : q("", !0),
356
+ s.showButton ? (c(), p("button", {
357
357
  key: 1,
358
358
  class: e($.$style.button),
359
- disabled: t.disabled,
360
- "aria-label": t.buttonText,
359
+ disabled: s.disabled,
360
+ "aria-label": s.buttonText,
361
361
  type: "button",
362
- onClick: ie
362
+ onClick: ue
363
363
  }, [
364
- m.value ? (c(), p(N, { key: 0 }, [
365
- n("span", null, _(t.buttonText), 1),
364
+ m.value ? (c(), p(H, { key: 0 }, [
365
+ t("span", null, L(s.buttonText), 1),
366
366
  (c(), p("svg", {
367
367
  class: e($.$style.spinner),
368
368
  width: "20",
@@ -371,7 +371,7 @@ const Ze = /* @__PURE__ */ x({
371
371
  fill: "none",
372
372
  xmlns: "http://www.w3.org/2000/svg"
373
373
  }, [...y[5] || (y[5] = [
374
- n("circle", {
374
+ t("circle", {
375
375
  cx: "12",
376
376
  cy: "12",
377
377
  r: "10",
@@ -379,24 +379,24 @@ const Ze = /* @__PURE__ */ x({
379
379
  "stroke-width": "4",
380
380
  "stroke-opacity": "0.25"
381
381
  }, null, -1),
382
- n("path", {
382
+ t("path", {
383
383
  d: "M12 2a10 10 0 0 1 10 10",
384
384
  stroke: "currentColor",
385
385
  "stroke-width": "4",
386
386
  "stroke-linecap": "round"
387
387
  }, null, -1)
388
388
  ])], 2))
389
- ], 64)) : (c(), p(N, { key: 1 }, [
390
- n("span", null, _(t.buttonText), 1),
391
- ce($.$slots, "button-icon", {}, () => [
392
- y[6] || (y[6] = n("svg", {
389
+ ], 64)) : (c(), p(H, { key: 1 }, [
390
+ t("span", null, L(s.buttonText), 1),
391
+ ve($.$slots, "button-icon", {}, () => [
392
+ y[6] || (y[6] = t("svg", {
393
393
  width: "20",
394
394
  height: "20",
395
395
  viewBox: "0 0 24 24",
396
396
  fill: "none",
397
397
  xmlns: "http://www.w3.org/2000/svg"
398
398
  }, [
399
- n("path", {
399
+ t("path", {
400
400
  d: "M5 12h14m-7-7l7 7-7 7",
401
401
  stroke: "currentColor",
402
402
  "stroke-width": "2",
@@ -406,38 +406,38 @@ const Ze = /* @__PURE__ */ x({
406
406
  ], -1))
407
407
  ])
408
408
  ], 64))
409
- ], 10, Je)) : E("", !0)
409
+ ], 10, tt)) : q("", !0)
410
410
  ], 2),
411
411
  f.value || b.value ? (c(), p("div", {
412
412
  key: 0,
413
413
  ref_key: "suggestionsRef",
414
414
  ref: D,
415
415
  class: e([$.$style.suggestions, b.value ? $.$style.errorState : ""]),
416
- id: `${v}-suggestions`,
416
+ id: `${d}-suggestions`,
417
417
  role: b.value ? "alert" : "listbox",
418
418
  "aria-live": b.value ? "polite" : void 0
419
419
  }, [
420
- b.value ? (c(), p(N, { key: 0 }, [
421
- n("div", {
420
+ b.value ? (c(), p(H, { key: 0 }, [
421
+ t("div", {
422
422
  class: e($.$style.error)
423
423
  }, [
424
- n("div", {
424
+ t("div", {
425
425
  class: e($.$style.errorIcon)
426
426
  }, [...y[7] || (y[7] = [
427
- n("svg", {
427
+ t("svg", {
428
428
  width: "20",
429
429
  height: "20",
430
430
  viewBox: "0 0 24 24",
431
431
  fill: "none"
432
432
  }, [
433
- n("circle", {
433
+ t("circle", {
434
434
  cx: "12",
435
435
  cy: "12",
436
436
  r: "10",
437
437
  stroke: "currentColor",
438
438
  "stroke-width": "2"
439
439
  }),
440
- n("path", {
440
+ t("path", {
441
441
  d: "M12 8v4M12 16h.01",
442
442
  stroke: "currentColor",
443
443
  "stroke-width": "2",
@@ -445,112 +445,112 @@ const Ze = /* @__PURE__ */ x({
445
445
  })
446
446
  ], -1)
447
447
  ])], 2),
448
- n("div", null, _(b.value), 1)
448
+ t("div", null, L(b.value), 1)
449
449
  ], 2),
450
- g.value ? E("", !0) : (c(), p("button", {
450
+ h.value ? q("", !0) : (c(), p("button", {
451
451
  key: 0,
452
452
  type: "button",
453
453
  class: e($.$style.manualLink),
454
- onClick: re
455
- }, _(t.manualEntryText), 3))
456
- ], 64)) : i.value.length > 0 ? (c(!0), p(N, { key: 1 }, Y(i.value, (C, q) => (c(), p("div", {
457
- key: `${C.street1}-${C.city}-${C.postalCode}-${q}`,
454
+ onClick: ne
455
+ }, L(s.manualEntryText), 3))
456
+ ], 64)) : i.value.length > 0 ? (c(!0), p(H, { key: 1 }, Q(i.value, (C, E) => (c(), p("div", {
457
+ key: `${C.street1}-${C.city}-${C.postalCode}-${E}`,
458
458
  class: e($.$style.suggestion),
459
459
  role: "option",
460
460
  "aria-selected": !1,
461
461
  tabindex: "0",
462
- onClick: (T) => Q(C),
462
+ onClick: (T) => Y(C),
463
463
  onKeydown: [
464
- Ie(Se((T) => Q(C), ["prevent"]), ["enter"]),
465
- Ie(Se((T) => Q(C), ["prevent"]), ["space"])
464
+ Ie(Se((T) => Y(C), ["prevent"]), ["enter"]),
465
+ Ie(Se((T) => Y(C), ["prevent"]), ["space"])
466
466
  ]
467
- }, _(U(C)), 43, tt))), 128)) : j.value ? (c(), p("button", {
467
+ }, L(R(C)), 43, nt))), 128)) : Z.value ? (c(), p("button", {
468
468
  key: 2,
469
469
  type: "button",
470
470
  class: e($.$style.manualLink),
471
- onClick: re
472
- }, _(t.manualEntryText), 3)) : E("", !0)
473
- ], 10, et)) : E("", !0)
471
+ onClick: ne
472
+ }, L(s.manualEntryText), 3)) : q("", !0)
473
+ ], 10, st)) : q("", !0)
474
474
  ], 2)),
475
- t.showAttribution ? (c(), K(Ye, { key: 2 })) : E("", !0)
475
+ s.showAttribution ? (c(), K(Je, { key: 2 })) : q("", !0)
476
476
  ], 6));
477
477
  }
478
- }), pt = "_container_1r0nf_9", ft = "_inputSection_1r0nf_17", mt = "_inputWrapper_1r0nf_23", gt = "_input_1r0nf_17", ht = "_inputIcon_1r0nf_64", bt = "_button_1r0nf_81", $t = "_spinner_1r0nf_122", kt = "_spin_1r0nf_122", Ct = "_suggestions_1r0nf_137", _t = "_errorState_1r0nf_151", wt = "_suggestion_1r0nf_137", Lt = "_error_1r0nf_151", It = "_errorIcon_1r0nf_200", St = "_errorBorder_1r0nf_214", qt = "_manualLink_1r0nf_224", Et = "_manualForm_1r0nf_246", Dt = "_slideIn_1r0nf_1", Mt = "_manualFormField_1r0nf_261", At = "_manualFormLabel_1r0nf_265", Tt = "_manualFormInput_1r0nf_274", Bt = "_formRow_1r0nf_295", Pt = "_submitButton_1r0nf_303", jt = {
479
- container: pt,
480
- inputSection: ft,
481
- inputWrapper: mt,
482
- input: gt,
483
- inputIcon: ht,
484
- button: bt,
485
- spinner: $t,
486
- spin: kt,
487
- suggestions: Ct,
488
- errorState: _t,
489
- suggestion: wt,
490
- error: Lt,
491
- errorIcon: It,
492
- errorBorder: St,
493
- manualLink: qt,
494
- manualForm: Et,
495
- slideIn: Dt,
496
- manualFormField: Mt,
497
- manualFormLabel: At,
498
- manualFormInput: Tt,
499
- formRow: Bt,
500
- submitButton: Pt
501
- }, xt = {
502
- $style: jt
503
- }, Jl = /* @__PURE__ */ G(yt, [["__cssModules", xt]]), Ft = "https://api.mapbox.com/geocoding/v5/mapbox.places", Rt = "https://api.mapbox.com/styles/v1/mapbox/light-v11/static", Nt = "pk.eyJ1Ijoib3BlbmRvb3IiLCJhIjoiWXJ2bTJiRSJ9.lsnjT9yTNyyVzKRIzqxnqg", Gt = "https://images.opendoor.com/source/s3/imgdrop-production/2026-02-1771546296495-06570.png?service=partner-sdk";
504
- function Ht(t, o, a) {
505
- return t.startsWith("http://") || t.startsWith("https://") ? `url-${encodeURIComponent(t)}(${o},${a})` : `${t}(${o},${a})`;
478
+ }), mt = "_container_1r0nf_9", gt = "_inputSection_1r0nf_17", ht = "_inputWrapper_1r0nf_23", bt = "_input_1r0nf_17", $t = "_inputIcon_1r0nf_64", kt = "_button_1r0nf_81", Ct = "_spinner_1r0nf_122", _t = "_spin_1r0nf_122", wt = "_suggestions_1r0nf_137", Lt = "_errorState_1r0nf_151", It = "_suggestion_1r0nf_137", St = "_error_1r0nf_151", Et = "_errorIcon_1r0nf_200", qt = "_errorBorder_1r0nf_214", Dt = "_manualLink_1r0nf_224", Mt = "_manualForm_1r0nf_246", At = "_slideIn_1r0nf_1", Tt = "_manualFormField_1r0nf_261", Pt = "_manualFormLabel_1r0nf_265", Bt = "_manualFormInput_1r0nf_274", jt = "_formRow_1r0nf_295", xt = "_submitButton_1r0nf_303", Ft = {
479
+ container: mt,
480
+ inputSection: gt,
481
+ inputWrapper: ht,
482
+ input: bt,
483
+ inputIcon: $t,
484
+ button: kt,
485
+ spinner: Ct,
486
+ spin: _t,
487
+ suggestions: wt,
488
+ errorState: Lt,
489
+ suggestion: It,
490
+ error: St,
491
+ errorIcon: Et,
492
+ errorBorder: qt,
493
+ manualLink: Dt,
494
+ manualForm: Mt,
495
+ slideIn: At,
496
+ manualFormField: Tt,
497
+ manualFormLabel: Pt,
498
+ manualFormInput: Bt,
499
+ formRow: jt,
500
+ submitButton: xt
501
+ }, Rt = {
502
+ $style: Ft
503
+ }, ir = /* @__PURE__ */ G(ft, [["__cssModules", Rt]]), Nt = "https://api.mapbox.com/geocoding/v5/mapbox.places", Gt = "https://api.mapbox.com/styles/v1/mapbox/light-v11/static", Ot = "pk.eyJ1Ijoib3BlbmRvb3IiLCJhIjoiWXJ2bTJiRSJ9.lsnjT9yTNyyVzKRIzqxnqg", Ht = "https://images.opendoor.com/source/s3/imgdrop-production/2026-02-1771546296495-06570.png?service=partner-sdk";
504
+ function Vt(s, o, a) {
505
+ return s.startsWith("http://") || s.startsWith("https://") ? `url-${encodeURIComponent(s)}(${o},${a})` : `${s}(${o},${a})`;
506
506
  }
507
- function Ot(t, o) {
508
- const a = (o == null ? void 0 : o.mapboxAccessToken) ?? Nt, l = (o == null ? void 0 : o.mapPinMarker) ?? Gt, u = (o == null ? void 0 : o.width) ?? 640, r = (o == null ? void 0 : o.height) ?? 320, v = (o == null ? void 0 : o.zoom) ?? 14, d = I(void 0), i = I("loading");
507
+ function Ut(s, o) {
508
+ const a = (o == null ? void 0 : o.mapboxAccessToken) ?? Ot, l = (o == null ? void 0 : o.mapPinMarker) ?? Ht, u = (o == null ? void 0 : o.width) ?? 640, r = (o == null ? void 0 : o.height) ?? 320, d = (o == null ? void 0 : o.zoom) ?? 14, v = I(void 0), i = I("loading");
509
509
  let f = null;
510
- return ee(
510
+ return te(
511
511
  () => [
512
- t.value.street1,
513
- t.value.city,
514
- t.value.state,
515
- t.value.postalCode
512
+ s.value.street1,
513
+ s.value.city,
514
+ s.value.state,
515
+ s.value.postalCode
516
516
  ],
517
517
  async () => {
518
- var L, M;
518
+ var _, A;
519
519
  f && f.abort();
520
520
  const m = new AbortController();
521
521
  f = m, i.value = "loading";
522
- const b = t.value, g = [
522
+ const b = s.value, h = [
523
523
  b.street1,
524
524
  b.city,
525
525
  b.state,
526
526
  b.postalCode
527
527
  ].join(" ");
528
528
  try {
529
- const D = `${Ft}/${encodeURIComponent(g)}.json?access_token=${a}&limit=1`, H = await fetch(D, { signal: m.signal });
530
- if (!H.ok) {
529
+ const D = `${Nt}/${encodeURIComponent(h)}.json?access_token=${a}&limit=1`, F = await fetch(D, { signal: m.signal });
530
+ if (!F.ok) {
531
531
  m.signal.aborted || (i.value = "error");
532
532
  return;
533
533
  }
534
- const A = await H.json();
534
+ const M = await F.json();
535
535
  if (m.signal.aborted) return;
536
- const Z = (M = (L = A.features) == null ? void 0 : L[0]) == null ? void 0 : M.center;
537
- if (!Z) {
536
+ const V = (A = (_ = M.features) == null ? void 0 : _[0]) == null ? void 0 : A.center;
537
+ if (!V) {
538
538
  i.value = "error";
539
539
  return;
540
540
  }
541
- const [j, O] = Z, S = Ht(l, j, O);
542
- d.value = `${Rt}/${S}/${j},${O},${v}/${u}x${r}@2x?access_token=${a}&attribution=false&logo=false`, i.value = "loaded";
541
+ const [Z, B] = V, S = Vt(l, Z, B);
542
+ v.value = `${Gt}/${S}/${Z},${B},${d}/${u}x${r}@2x?access_token=${a}&attribution=false&logo=false`, i.value = "loaded";
543
543
  } catch (D) {
544
544
  if (D instanceof DOMException && D.name === "AbortError") return;
545
545
  m.signal.aborted || (i.value = "error");
546
546
  }
547
547
  },
548
548
  { immediate: !0 }
549
- ), ae(() => {
549
+ ), re(() => {
550
550
  f && f.abort();
551
- }), { url: d, status: i };
551
+ }), { url: v, status: i };
552
552
  }
553
- const Vt = ["src"], Ut = /* @__PURE__ */ x({
553
+ const Zt = ["src"], Wt = /* @__PURE__ */ x({
554
554
  __name: "AddressMap",
555
555
  props: {
556
556
  address: {},
@@ -563,11 +563,11 @@ const Vt = ["src"], Ut = /* @__PURE__ */ x({
563
563
  borderRadius: {}
564
564
  },
565
565
  emits: ["load", "error"],
566
- setup(t, { emit: o }) {
567
- const a = t, l = o, u = w(() => {
568
- const f = ye(a.appearance);
566
+ setup(s, { emit: o }) {
567
+ const a = s, l = o, u = w(() => {
568
+ const f = fe(a.appearance);
569
569
  return a.borderRadius && (f["border-radius"] = a.borderRadius), f;
570
- }), { url: r, status: v } = Ot(
570
+ }), { url: r, status: d } = Ut(
571
571
  w(() => a.address),
572
572
  {
573
573
  mapboxAccessToken: a.mapboxAccessToken,
@@ -576,214 +576,214 @@ const Vt = ["src"], Ut = /* @__PURE__ */ x({
576
576
  height: a.height,
577
577
  zoom: a.zoom
578
578
  }
579
- ), d = I(!1);
580
- ee(v, (f) => {
581
- f === "loading" && (d.value = !1), f === "error" && l("error", new Error("Failed to load map for address"));
579
+ ), v = I(!1);
580
+ te(d, (f) => {
581
+ f === "loading" && (v.value = !1), f === "error" && l("error", new Error("Failed to load map for address"));
582
582
  });
583
583
  function i() {
584
- d.value = !0, l("load");
584
+ v.value = !0, l("load");
585
585
  }
586
586
  return (f, m) => (c(), p("div", {
587
587
  class: e(f.$style.container),
588
- style: le(u.value)
588
+ style: ie(u.value)
589
589
  }, [
590
- P(r) ? (c(), p("img", {
590
+ j(r) ? (c(), p("img", {
591
591
  key: 0,
592
- src: P(r),
592
+ src: j(r),
593
593
  alt: "Map",
594
- class: e([f.$style.mapImage, d.value ? f.$style.mapImageLoaded : ""]),
594
+ class: e([f.$style.mapImage, v.value ? f.$style.mapImageLoaded : ""]),
595
595
  onLoad: i
596
- }, null, 42, Vt)) : E("", !0)
596
+ }, null, 42, Zt)) : q("", !0)
597
597
  ], 6));
598
598
  }
599
- }), Zt = "_container_iumdj_4", Wt = "_mapImage_iumdj_14", zt = "_mapImageLoaded_iumdj_23", Kt = {
600
- container: Zt,
601
- mapImage: Wt,
602
- mapImageLoaded: zt
603
- }, Qt = {
604
- $style: Kt
605
- }, er = /* @__PURE__ */ G(Ut, [["__cssModules", Qt]]), Yt = ["disabled", "aria-invalid", "aria-describedby"], Xt = ["checked"], Jt = /* @__PURE__ */ x({
599
+ }), zt = "_container_iumdj_4", Kt = "_mapImage_iumdj_14", Qt = "_mapImageLoaded_iumdj_23", Yt = {
600
+ container: zt,
601
+ mapImage: Kt,
602
+ mapImageLoaded: Qt
603
+ }, Xt = {
604
+ $style: Yt
605
+ }, ur = /* @__PURE__ */ G(Wt, [["__cssModules", Xt]]), Jt = ["disabled", "aria-invalid", "aria-describedby"], es = ["checked"], ts = /* @__PURE__ */ x({
606
606
  __name: "AddressUnitConfirmation",
607
607
  props: {
608
608
  address: {},
609
609
  appearance: {}
610
610
  },
611
611
  emits: ["confirm", "edit", "ready", "error"],
612
- setup(t, { emit: o }) {
613
- const a = t, l = o, u = I(""), r = I(!1), v = I(null), d = w(() => ye(a.appearance)), i = w(() => {
614
- const g = a.address;
615
- return `${g.street1 + (g.street2 ? ` ${g.street2}` : "")}, ${g.city}, ${g.state} ${g.postalCode}`;
612
+ setup(s, { emit: o }) {
613
+ const a = s, l = o, u = I(""), r = I(!1), d = I(null), v = w(() => fe(a.appearance)), i = w(() => {
614
+ const h = a.address;
615
+ return `${h.street1 + (h.street2 ? ` ${h.street2}` : "")}, ${h.city}, ${h.state} ${h.postalCode}`;
616
616
  });
617
617
  function f() {
618
618
  if (!r.value && !u.value.trim()) {
619
- const g = "Please enter a unit number or select 'No unit number'";
620
- v.value = g, l("error", new Error(g));
619
+ const h = "Please enter a unit number or select 'No unit number'";
620
+ d.value = h, l("error", new Error(h));
621
621
  return;
622
622
  }
623
- if (v.value = null, r.value) {
624
- const { street2: g, ...L } = a.address;
625
- l("confirm", L);
623
+ if (d.value = null, r.value) {
624
+ const { street2: h, ..._ } = a.address;
625
+ l("confirm", _);
626
626
  } else
627
627
  l("confirm", { ...a.address, street2: u.value.trim() });
628
628
  }
629
629
  function m() {
630
- r.value = !r.value, r.value && (u.value = "", v.value = null);
630
+ r.value = !r.value, r.value && (u.value = "", d.value = null);
631
631
  }
632
632
  function b() {
633
- v.value && (v.value = null);
633
+ d.value && (d.value = null);
634
634
  }
635
- return ve(() => {
635
+ return ye(() => {
636
636
  l("ready");
637
- }), (g, L) => (c(), p("div", {
638
- class: e(g.$style.container),
639
- style: le(d.value)
637
+ }), (h, _) => (c(), p("div", {
638
+ class: e(h.$style.container),
639
+ style: ie(v.value)
640
640
  }, [
641
- n("h2", {
642
- class: e(g.$style.title)
641
+ t("h2", {
642
+ class: e(h.$style.title)
643
643
  }, "Confirm your home address", 2),
644
- n("div", {
645
- class: e(g.$style.addressCard)
644
+ t("div", {
645
+ class: e(h.$style.addressCard)
646
646
  }, [
647
- n("span", {
648
- class: e(g.$style.addressText)
649
- }, _(i.value), 3),
650
- n("button", {
651
- class: e(g.$style.editLink),
647
+ t("span", {
648
+ class: e(h.$style.addressText)
649
+ }, L(i.value), 3),
650
+ t("button", {
651
+ class: e(h.$style.editLink),
652
652
  type: "button",
653
- onClick: L[0] || (L[0] = (M) => l("edit"))
653
+ onClick: _[0] || (_[0] = (A) => l("edit"))
654
654
  }, " Edit ", 2)
655
655
  ], 2),
656
- n("div", {
657
- class: e(g.$style.fieldGroup)
656
+ t("div", {
657
+ class: e(h.$style.fieldGroup)
658
658
  }, [
659
- n("label", {
660
- class: e(g.$style.fieldLabel),
659
+ t("label", {
660
+ class: e(h.$style.fieldLabel),
661
661
  for: "od-unit-number"
662
662
  }, " Unit number, apt, or floor* ", 2),
663
- qe(n("input", {
663
+ Ee(t("input", {
664
664
  id: "od-unit-number",
665
- "onUpdate:modelValue": L[1] || (L[1] = (M) => u.value = M),
666
- class: e(g.$style.input),
665
+ "onUpdate:modelValue": _[1] || (_[1] = (A) => u.value = A),
666
+ class: e(h.$style.input),
667
667
  type: "text",
668
668
  placeholder: "#1234",
669
669
  disabled: r.value,
670
- "aria-invalid": v.value ? !0 : void 0,
671
- "aria-describedby": v.value ? "od-unit-error" : void 0,
670
+ "aria-invalid": d.value ? !0 : void 0,
671
+ "aria-describedby": d.value ? "od-unit-error" : void 0,
672
672
  onInput: b,
673
673
  onKeydown: Ie(f, ["enter"])
674
- }, null, 42, Yt), [
675
- [Ee, u.value]
674
+ }, null, 42, Jt), [
675
+ [qe, u.value]
676
676
  ])
677
677
  ], 2),
678
- n("label", {
679
- class: e(g.$style.checkboxRow)
678
+ t("label", {
679
+ class: e(h.$style.checkboxRow)
680
680
  }, [
681
- n("input", {
681
+ t("input", {
682
682
  type: "checkbox",
683
- class: e(g.$style.checkbox),
683
+ class: e(h.$style.checkbox),
684
684
  checked: r.value,
685
685
  onChange: m
686
- }, null, 42, Xt),
687
- n("span", {
688
- class: e(g.$style.checkboxLabel)
686
+ }, null, 42, es),
687
+ t("span", {
688
+ class: e(h.$style.checkboxLabel)
689
689
  }, "No unit number", 2)
690
690
  ], 2),
691
- v.value ? (c(), p("p", {
691
+ d.value ? (c(), p("p", {
692
692
  key: 0,
693
693
  id: "od-unit-error",
694
- class: e(g.$style.error),
694
+ class: e(h.$style.error),
695
695
  role: "alert"
696
- }, _(v.value), 3)) : E("", !0),
697
- n("div", {
698
- class: e(g.$style.actions)
696
+ }, L(d.value), 3)) : q("", !0),
697
+ t("div", {
698
+ class: e(h.$style.actions)
699
699
  }, [
700
- n("button", {
701
- class: e(g.$style.confirmButton),
700
+ t("button", {
701
+ class: e(h.$style.confirmButton),
702
702
  type: "button",
703
703
  onClick: f
704
704
  }, " Confirm address ", 2)
705
705
  ], 2)
706
706
  ], 6));
707
707
  }
708
- }), en = "_container_1hik1_4", tn = "_title_1hik1_8", nn = "_addressCard_1hik1_17", sn = "_addressText_1hik1_27", on = "_editLink_1hik1_35", an = "_fieldGroup_1hik1_48", ln = "_fieldLabel_1hik1_52", rn = "_input_1hik1_61", un = "_checkboxRow_1hik1_85", cn = "_checkbox_1hik1_85", dn = "_checkboxLabel_1hik1_102", vn = "_error_1hik1_109", yn = "_actions_1hik1_116", pn = "_confirmButton_1hik1_121", fn = {
709
- container: en,
710
- title: tn,
711
- addressCard: nn,
712
- addressText: sn,
713
- editLink: on,
714
- fieldGroup: an,
715
- fieldLabel: ln,
716
- input: rn,
717
- checkboxRow: un,
718
- checkbox: cn,
719
- checkboxLabel: dn,
720
- error: vn,
721
- actions: yn,
722
- confirmButton: pn
723
- }, mn = {
724
- $style: fn
725
- }, tr = /* @__PURE__ */ G(Jt, [["__cssModules", mn]]);
726
- function Ae(t, o, a, l, u, r) {
727
- const v = [
728
- t.on("answerChange", (d) => {
708
+ }), ss = "_container_1hik1_4", ns = "_title_1hik1_8", os = "_addressCard_1hik1_17", as = "_addressText_1hik1_27", ls = "_editLink_1hik1_35", rs = "_fieldGroup_1hik1_48", is = "_fieldLabel_1hik1_52", us = "_input_1hik1_61", cs = "_checkboxRow_1hik1_85", ds = "_checkbox_1hik1_85", vs = "_checkboxLabel_1hik1_102", ps = "_error_1hik1_109", ys = "_actions_1hik1_116", fs = "_confirmButton_1hik1_121", ms = {
709
+ container: ss,
710
+ title: ns,
711
+ addressCard: os,
712
+ addressText: as,
713
+ editLink: ls,
714
+ fieldGroup: rs,
715
+ fieldLabel: is,
716
+ input: us,
717
+ checkboxRow: cs,
718
+ checkbox: ds,
719
+ checkboxLabel: vs,
720
+ error: ps,
721
+ actions: ys,
722
+ confirmButton: fs
723
+ }, gs = {
724
+ $style: ms
725
+ }, cr = /* @__PURE__ */ G(ts, [["__cssModules", gs]]);
726
+ function Ae(s, o, a, l, u, r) {
727
+ const d = [
728
+ s.on("answerChange", (v) => {
729
729
  var i;
730
- o.value = t.answers, u.value = [...t.visiblePages], d.type === "answerChange" && ((i = r.onAnswerChange) == null || i.call(r, d.key, d.value));
730
+ o.value = s.answers, u.value = [...s.visiblePages], v.type === "answerChange" && ((i = r.onAnswerChange) == null || i.call(r, v.key, v.value));
731
731
  }),
732
- t.on("pageChange", (d) => {
732
+ s.on("pageChange", (v) => {
733
733
  var i;
734
- d.type === "pageChange" && (a.value = d.pageId, u.value = [...t.visiblePages], l.value = {}, (i = r.onPageChange) == null || i.call(r, d.pageIndex, d.pageId));
734
+ v.type === "pageChange" && (a.value = v.pageId, u.value = [...s.visiblePages], l.value = {}, (i = r.onPageChange) == null || i.call(r, v.pageIndex, v.pageId));
735
735
  }),
736
- t.on("validationError", (d) => {
737
- d.type === "validationError" && (l.value = d.errors);
736
+ s.on("validationError", (v) => {
737
+ v.type === "validationError" && (l.value = v.errors);
738
738
  }),
739
- t.on("submit", (d) => {
740
- d.type === "submit" && r.onSubmit(d.answers);
739
+ s.on("submit", (v) => {
740
+ v.type === "submit" && r.onSubmit(v.answers);
741
741
  })
742
742
  ];
743
- return () => v.forEach((d) => d());
743
+ return () => d.forEach((v) => v());
744
744
  }
745
- function gn(t) {
746
- var Z, j, O;
745
+ function hs(s) {
746
+ var V, Z, B;
747
747
  let o = Me({
748
- initialAnswers: t.getInitialAnswers(),
749
- skipPages: (Z = t.getSkipPages) == null ? void 0 : Z.call(t)
748
+ initialAnswers: s.getInitialAnswers(),
749
+ skipPages: (V = s.getSkipPages) == null ? void 0 : V.call(s)
750
750
  });
751
- const a = I(o.answers), l = I(((j = o.currentPage) == null ? void 0 : j.id) ?? ""), u = I({}), r = I(o.visiblePages);
752
- let v = Ae(
751
+ const a = I(o.answers), l = I(((Z = o.currentPage) == null ? void 0 : Z.id) ?? ""), u = I({}), r = I(o.visiblePages);
752
+ let d = Ae(
753
753
  o,
754
754
  a,
755
755
  l,
756
756
  u,
757
757
  r,
758
- t
758
+ s
759
759
  );
760
- (O = t.onReady) == null || O.call(t), ee(
760
+ (B = s.onReady) == null || B.call(s), te(
761
761
  () => {
762
762
  var S;
763
- return (((S = t.getSkipPages) == null ? void 0 : S.call(t)) ?? []).join("|");
763
+ return (((S = s.getSkipPages) == null ? void 0 : S.call(s)) ?? []).join("|");
764
764
  },
765
765
  () => {
766
- var S, U;
767
- v(), o.destroy(), o = Me({
768
- initialAnswers: t.getInitialAnswers(),
769
- skipPages: (S = t.getSkipPages) == null ? void 0 : S.call(t)
770
- }), a.value = o.answers, l.value = ((U = o.currentPage) == null ? void 0 : U.id) ?? "", u.value = {}, r.value = o.visiblePages, v = Ae(
766
+ var S, R;
767
+ d(), o.destroy(), o = Me({
768
+ initialAnswers: s.getInitialAnswers(),
769
+ skipPages: (S = s.getSkipPages) == null ? void 0 : S.call(s)
770
+ }), a.value = o.answers, l.value = ((R = o.currentPage) == null ? void 0 : R.id) ?? "", u.value = {}, r.value = o.visiblePages, d = Ae(
771
771
  o,
772
772
  a,
773
773
  l,
774
774
  u,
775
775
  r,
776
- t
776
+ s
777
777
  );
778
778
  }
779
779
  );
780
- let d = t.getInitialAnswers();
781
- ee(t.getInitialAnswers, (S) => {
782
- S && S !== d && (d = S, o.setAnswers(S));
780
+ let v = s.getInitialAnswers();
781
+ te(s.getInitialAnswers, (S) => {
782
+ S && S !== v && (v = S, o.setAnswers(S));
783
783
  });
784
784
  const i = w(() => {
785
785
  const S = r.value.findIndex(
786
- (U) => U.id === l.value
786
+ (R) => R.id === l.value
787
787
  );
788
788
  return S >= 0 ? S : 0;
789
789
  }), f = w(
@@ -791,35 +791,35 @@ function gn(t) {
791
791
  ), m = w(() => l.value ? (a.value, o.getVisibleQuestionsForCurrentPage()) : []), b = w(() => r.value.length <= 1 ? 0 : Math.min(
792
792
  1,
793
793
  Math.max(0, i.value / (r.value.length - 1))
794
- )), g = w(() => i.value === 0), L = w(
794
+ )), h = w(() => i.value === 0), _ = w(
795
795
  () => r.value.length > 0 && i.value === r.value.length - 1
796
796
  );
797
- function M(S, U) {
798
- o.setAnswer(S, U);
797
+ function A(S, R) {
798
+ o.setAnswer(S, R);
799
799
  }
800
800
  function D(S) {
801
801
  return a.value[S];
802
802
  }
803
- function H() {
804
- var U;
803
+ function F() {
804
+ var R;
805
805
  const S = o.goToNext();
806
806
  if (!S.valid)
807
807
  try {
808
- (U = t.onError) == null || U.call(
809
- t,
808
+ (R = s.onError) == null || R.call(
809
+ s,
810
810
  new Error(
811
811
  `Validation failed: ${Object.values(S.errors).join(", ")}`
812
812
  )
813
813
  );
814
- } catch (Q) {
815
- console.error("[DtcOnboardingFlow] onError callback threw:", Q);
814
+ } catch (Y) {
815
+ console.error("[DtcOnboardingFlow] onError callback threw:", Y);
816
816
  }
817
817
  }
818
- function A() {
818
+ function M() {
819
819
  o.goToPrev();
820
820
  }
821
- return ae(() => {
822
- v(), o.destroy();
821
+ return re(() => {
822
+ d(), o.destroy();
823
823
  }), {
824
824
  engine: o,
825
825
  currentPage: f,
@@ -829,15 +829,15 @@ function gn(t) {
829
829
  answers: a,
830
830
  validationErrors: u,
831
831
  progress: b,
832
- isFirstPage: g,
833
- isLastPage: L,
834
- setAnswer: M,
832
+ isFirstPage: h,
833
+ isLastPage: _,
834
+ setAnswer: A,
835
835
  getAnswer: D,
836
- goToNext: H,
837
- goToPrev: A
836
+ goToNext: F,
837
+ goToPrev: M
838
838
  };
839
839
  }
840
- const hn = /* @__PURE__ */ x({
840
+ const bs = /* @__PURE__ */ x({
841
841
  __name: "DtcProvider",
842
842
  props: {
843
843
  initialAnswers: {},
@@ -848,8 +848,8 @@ const hn = /* @__PURE__ */ x({
848
848
  onReady: { type: Function },
849
849
  onError: { type: Function }
850
850
  },
851
- setup(t) {
852
- const o = t, a = gn({
851
+ setup(s) {
852
+ const o = s, a = hs({
853
853
  getInitialAnswers: () => o.initialAnswers,
854
854
  getSkipPages: () => o.skipPages,
855
855
  onSubmit: (l) => o.onSubmit(l),
@@ -870,29 +870,29 @@ const hn = /* @__PURE__ */ x({
870
870
  return (u = o.onError) == null ? void 0 : u.call(o, l);
871
871
  }
872
872
  });
873
- return de("dtc-onboarding", a), (l, u) => ce(l.$slots, "default");
873
+ return pe("dtc-onboarding", a), (l, u) => ve(l.$slots, "default");
874
874
  }
875
- }), bn = ["src"], $n = /* @__PURE__ */ x({
875
+ }), $s = ["src"], ks = /* @__PURE__ */ x({
876
876
  __name: "OpendoorHeader",
877
877
  props: {
878
878
  partnerLogoUrl: {},
879
879
  showCloseButton: { type: Boolean }
880
880
  },
881
881
  emits: ["close"],
882
- setup(t, { emit: o }) {
882
+ setup(s, { emit: o }) {
883
883
  const a = o;
884
884
  return (l, u) => (c(), p("header", {
885
885
  class: e(l.$style.header)
886
886
  }, [
887
- n("div", {
887
+ t("div", {
888
888
  class: e(l.$style.headerLogos)
889
889
  }, [
890
- t.partnerLogoUrl ? (c(), p("img", {
890
+ s.partnerLogoUrl ? (c(), p("img", {
891
891
  key: 0,
892
- src: t.partnerLogoUrl,
892
+ src: s.partnerLogoUrl,
893
893
  alt: "Partner",
894
894
  class: e(l.$style.partnerLogo)
895
- }, null, 10, bn)) : E("", !0),
895
+ }, null, 10, $s)) : q("", !0),
896
896
  (c(), p("svg", {
897
897
  width: "90",
898
898
  height: "18",
@@ -903,20 +903,20 @@ const hn = /* @__PURE__ */ x({
903
903
  role: "img",
904
904
  class: e(l.$style.opendoorLogo)
905
905
  }, [...u[1] || (u[1] = [
906
- n("path", {
906
+ t("path", {
907
907
  d: "M21.8975 5.53219C22.0296 5.51725 22.144 5.62372 22.1396 5.7568L22.0928 7.21773H22.2148C23.2408 6.33834 24.6088 5.53316 26.3184 5.53316C28.6383 5.53337 31.1045 7.07197 31.1045 11.542C31.1044 16.6229 28.1252 18.8456 24.0469 18.8457C23.5341 18.8457 22.7277 18.748 22.1904 18.6015C22.1904 18.6015 22.2148 19.2369 22.2148 20.0918V23.4072C22.2148 23.5083 22.1393 23.593 22.0391 23.6045L18.5527 23.999C18.4349 24.0122 18.332 23.9191 18.332 23.8007V6.11324C18.332 6.01204 18.4082 5.92743 18.5088 5.91597L21.8975 5.53219ZM8.35254 1.33101C12.5528 1.33111 16.5088 3.8474 16.5088 9.90523C16.5088 16.3784 12.0884 18.8457 8.15625 18.8457C3.95617 18.8455 0 16.1584 0 10.2959C9.43202e-05 3.87138 4.42045 1.33101 8.35254 1.33101ZM38.9141 5.53219C42.245 5.53219 44.3351 7.17875 44.4541 11.4853C44.4565 11.5689 44.3887 11.6395 44.3047 11.6396H36.5518C36.4679 11.6398 36.4004 11.7102 36.4023 11.7939C36.5116 15.6741 38.0191 16.7451 40.502 16.7451C41.7135 16.745 42.6903 16.4632 43.5078 16.1005C43.5679 16.0738 43.6377 16.0896 43.6807 16.1396L44.0059 16.5214C44.0548 16.579 44.0546 16.6649 44.0029 16.7197C43.1121 17.6594 41.298 18.8457 38.9141 18.8457C34.6647 18.8457 32.54 16.3051 32.54 12.1523C32.5401 7.90199 35.6904 5.53219 38.9141 5.53219ZM71.8682 0.000935719C72.0069 -0.0114562 72.1257 0.100879 72.1191 0.240194C72.0964 0.716622 72.0527 1.87639 72.0527 3.13863V18.2412C72.0527 18.3558 71.9689 18.4538 71.8555 18.4697L68.5049 18.8437C68.3628 18.8638 68.2375 18.75 68.2432 18.6064L68.292 17.2578H68.1943C67.1441 18.1614 65.7768 18.8456 64.0674 18.8457C61.6496 18.8457 59.2804 17.087 59.2803 12.6416C59.2803 7.56051 62.5533 5.53219 66.3633 5.53219C67.0224 5.5322 67.706 5.65511 68.2188 5.80172C68.2188 5.80172 68.1699 4.89765 68.1699 4.01851V0.598592C68.1699 0.495514 68.2491 0.40955 68.3516 0.40035L71.8682 0.000935719ZM80.29 5.53219C83.831 5.53235 86.9325 7.65789 86.9326 12.1035C86.9326 16.7934 83.66 18.8455 80.29 18.8457C76.7489 18.8457 73.6719 16.6956 73.6719 12.2255C73.672 7.53545 76.993 5.53219 80.29 5.53219ZM94.8555 5.53219C98.3966 5.53219 101.498 7.65772 101.498 12.1035C101.498 16.7936 98.2258 18.8457 94.8555 18.8457C91.3146 18.8456 88.2373 16.6956 88.2373 12.2255C88.2375 7.53549 91.5587 5.53222 94.8555 5.53219ZM49.54 5.52828C49.6571 5.51515 49.7585 5.60852 49.7549 5.72652L49.707 7.26656H49.8047C51.0989 6.33849 52.7115 5.53219 54.4941 5.53219C56.5697 5.53235 57.6932 6.6075 57.6934 8.80562V18.3593C57.6931 18.4662 57.6057 18.5527 57.499 18.5527H53.9795C53.8728 18.5527 53.7854 18.4662 53.7852 18.3593V9.75875C53.7852 8.26873 53.2482 7.80466 52.1006 7.80465C51.2456 7.80465 50.3663 7.9998 49.8291 8.12203V18.3593C49.8289 18.4661 49.7423 18.5526 49.6357 18.5527H46.1396C46.033 18.5527 45.9465 18.4662 45.9463 18.3593V6.11324C45.9463 6.01204 46.0226 5.92724 46.123 5.91597L49.54 5.52828ZM110.574 5.53219C111.746 5.53219 112.574 6.1674 112.574 7.36422C112.574 8.53675 111.722 9.29195 110.77 9.29195C109.721 9.29192 109.354 8.85463 108.89 8.09762C108.743 7.82894 108.596 7.78023 108.376 7.78023C107.937 7.78032 107.375 8.09738 107.033 8.415V18.3222C107.033 18.4491 106.93 18.5527 106.803 18.5527H103.38C103.253 18.5527 103.15 18.4491 103.15 18.3222V6.11324C103.15 6.01203 103.226 5.92743 103.326 5.91597L106.703 5.53707C106.842 5.52148 106.963 5.63273 106.959 5.77242L106.911 7.41305H107.009C107.766 6.60703 109.158 5.53219 110.574 5.53219ZM80.2158 6.48531C78.6774 6.48551 77.7744 7.60933 77.7744 11.8105C77.7744 16.818 78.5799 17.8924 80.3623 17.8925C81.8279 17.8925 82.8291 17.0378 82.8291 12.3476C82.8291 7.41346 81.8766 6.48531 80.2158 6.48531ZM94.7822 6.48531C93.2437 6.48537 92.3399 7.60905 92.3398 11.8105C92.3398 16.8181 93.1462 17.8924 94.9287 17.8925C96.3942 17.8925 97.3955 17.0378 97.3955 12.3476C97.3955 7.41346 96.443 6.48531 94.7822 6.48531ZM24.1934 7.65816C23.2165 7.65816 22.6057 7.95117 22.2148 8.09762V16.9892C22.6546 17.5022 23.3141 17.8691 24.1445 17.8691C26.0737 17.8691 27.0996 16.8424 27.0996 12.372C27.0996 8.8791 26.0493 7.65823 24.1934 7.65816ZM8.20605 2.35738C5.83698 2.35738 4.63965 4.01812 4.63965 9.78316C4.63965 15.4746 5.56842 17.8203 8.30371 17.8203C10.7211 17.8201 11.8691 16.1825 11.8691 10.4423C11.8691 4.72668 10.8919 2.35759 8.20605 2.35738ZM66.2656 6.50972C64.5074 6.50972 63.2861 7.80421 63.2861 11.8349C63.2861 15.67 64.2631 16.916 66.1191 16.916C67.1198 16.9159 67.7791 16.5256 68.1699 16.3789V7.53512C67.7548 7.02239 67.1689 6.50989 66.2656 6.50972ZM38.7188 6.4609C37.4732 6.46096 36.4961 7.63335 36.3984 10.7109L40.5752 10.4912C40.5752 7.53568 40.1842 6.4609 38.7188 6.4609Z",
908
908
  fill: "#235ca3"
909
909
  }, null, -1)
910
910
  ])], 2))
911
911
  ], 2),
912
- t.showCloseButton ? (c(), p("button", {
912
+ s.showCloseButton ? (c(), p("button", {
913
913
  key: 0,
914
914
  type: "button",
915
915
  class: e(l.$style.closeButton),
916
916
  "aria-label": "Close",
917
917
  onClick: u[0] || (u[0] = (r) => a("close"))
918
918
  }, [...u[2] || (u[2] = [
919
- n("svg", {
919
+ t("svg", {
920
920
  width: "24",
921
921
  height: "24",
922
922
  viewBox: "0 0 24 24",
@@ -926,426 +926,426 @@ const hn = /* @__PURE__ */ x({
926
926
  "stroke-linecap": "round",
927
927
  "stroke-linejoin": "round"
928
928
  }, [
929
- n("line", {
929
+ t("line", {
930
930
  x1: "18",
931
931
  y1: "6",
932
932
  x2: "6",
933
933
  y2: "18"
934
934
  }),
935
- n("line", {
935
+ t("line", {
936
936
  x1: "6",
937
937
  y1: "6",
938
938
  x2: "18",
939
939
  y2: "18"
940
940
  })
941
941
  ], -1)
942
- ])], 2)) : E("", !0)
942
+ ])], 2)) : q("", !0)
943
943
  ], 2));
944
944
  }
945
- }), kn = "_header_1yqce_2", Cn = "_headerLogos_1yqce_12", _n = "_partnerLogo_1yqce_18", wn = "_opendoorLogo_1yqce_24", Ln = "_closeButton_1yqce_28", In = {
946
- header: kn,
947
- headerLogos: Cn,
948
- partnerLogo: _n,
949
- opendoorLogo: wn,
950
- closeButton: Ln
951
- }, Sn = {
952
- $style: In
953
- }, je = /* @__PURE__ */ G($n, [["__cssModules", Sn]]), qn = ["aria-label"], En = ["aria-checked", "tabindex", "onClick", "onKeydown"], Dn = /* @__PURE__ */ x({
945
+ }), Cs = "_header_1yqce_2", _s = "_headerLogos_1yqce_12", ws = "_partnerLogo_1yqce_18", Ls = "_opendoorLogo_1yqce_24", Is = "_closeButton_1yqce_28", Ss = {
946
+ header: Cs,
947
+ headerLogos: _s,
948
+ partnerLogo: ws,
949
+ opendoorLogo: Ls,
950
+ closeButton: Is
951
+ }, Es = {
952
+ $style: Ss
953
+ }, xe = /* @__PURE__ */ G(ks, [["__cssModules", Es]]), qs = ["aria-label"], Ds = ["aria-checked", "tabindex", "onClick", "onKeydown"], Ms = /* @__PURE__ */ x({
954
954
  __name: "RadioCardInput",
955
955
  props: {
956
956
  question: {}
957
957
  },
958
- setup(t) {
959
- const o = V("dtc-onboarding");
958
+ setup(s) {
959
+ const o = U("dtc-onboarding");
960
960
  let a = null;
961
- ae(() => {
961
+ re(() => {
962
962
  a && clearTimeout(a);
963
963
  });
964
- function l(r, v) {
965
- o.setAnswer(r.key, v), r.autoAdvance && (a && clearTimeout(a), a = setTimeout(() => o.goToNext(), 150));
964
+ function l(r, d) {
965
+ o.setAnswer(r.key, d), r.autoAdvance && (a && clearTimeout(a), a = setTimeout(() => o.goToNext(), 150));
966
966
  }
967
- function u(r, v, d) {
967
+ function u(r, d, v) {
968
968
  var m, b;
969
- const i = d.options;
969
+ const i = v.options;
970
970
  if (!i) return;
971
971
  let f = null;
972
- if (r.key === "ArrowDown" || r.key === "ArrowRight" ? (r.preventDefault(), f = (v + 1) % i.length) : (r.key === "ArrowUp" || r.key === "ArrowLeft") && (r.preventDefault(), f = (v - 1 + i.length) % i.length), f !== null) {
973
- const g = (m = r.currentTarget.closest('[role="radiogroup"]')) == null ? void 0 : m.querySelectorAll('[role="radio"]');
974
- (b = g == null ? void 0 : g[f]) == null || b.focus(), l(d, i[f].value);
972
+ if (r.key === "ArrowDown" || r.key === "ArrowRight" ? (r.preventDefault(), f = (d + 1) % i.length) : (r.key === "ArrowUp" || r.key === "ArrowLeft") && (r.preventDefault(), f = (d - 1 + i.length) % i.length), f !== null) {
973
+ const h = (m = r.currentTarget.closest('[role="radiogroup"]')) == null ? void 0 : m.querySelectorAll('[role="radio"]');
974
+ (b = h == null ? void 0 : h[f]) == null || b.focus(), l(v, i[f].value);
975
975
  }
976
976
  }
977
- return (r, v) => (c(), p("div", {
977
+ return (r, d) => (c(), p("div", {
978
978
  class: e(r.$style.radioCardGroup),
979
979
  role: "radiogroup",
980
- "aria-label": t.question.label
980
+ "aria-label": s.question.label
981
981
  }, [
982
- (c(!0), p(N, null, Y(t.question.options, (d, i) => (c(), p("button", {
983
- key: String(d.value),
982
+ (c(!0), p(H, null, Q(s.question.options, (v, i) => (c(), p("button", {
983
+ key: String(v.value),
984
984
  type: "button",
985
985
  role: "radio",
986
- "aria-checked": P(o).getAnswer(t.question.key) === d.value,
987
- tabindex: P(o).getAnswer(t.question.key) === d.value || i === 0 && P(o).getAnswer(t.question.key) === void 0 ? 0 : -1,
986
+ "aria-checked": j(o).getAnswer(s.question.key) === v.value,
987
+ tabindex: j(o).getAnswer(s.question.key) === v.value || i === 0 && j(o).getAnswer(s.question.key) === void 0 ? 0 : -1,
988
988
  class: e([
989
989
  r.$style.radioCard,
990
- P(o).getAnswer(t.question.key) === d.value ? r.$style.radioCardSelected : ""
990
+ j(o).getAnswer(s.question.key) === v.value ? r.$style.radioCardSelected : ""
991
991
  ]),
992
- onClick: (f) => l(t.question, d.value),
993
- onKeydown: (f) => u(f, i, t.question)
992
+ onClick: (f) => l(s.question, v.value),
993
+ onKeydown: (f) => u(f, i, s.question)
994
994
  }, [
995
- n("span", {
995
+ t("span", {
996
996
  class: e(r.$style.radioCardLabel)
997
- }, _(d.label), 3),
998
- d.description ? (c(), p("span", {
997
+ }, L(v.label), 3),
998
+ v.description ? (c(), p("span", {
999
999
  key: 0,
1000
1000
  class: e(r.$style.radioCardDescription)
1001
- }, _(d.description), 3)) : E("", !0)
1002
- ], 42, En))), 128)),
1003
- P(o).validationErrors.value[t.question.key] ? (c(), p("p", {
1001
+ }, L(v.description), 3)) : q("", !0)
1002
+ ], 42, Ds))), 128)),
1003
+ j(o).validationErrors.value[s.question.key] ? (c(), p("p", {
1004
1004
  key: 0,
1005
1005
  class: e(r.$style.fieldError),
1006
1006
  role: "alert"
1007
- }, _(P(o).validationErrors.value[t.question.key]), 3)) : E("", !0)
1008
- ], 10, qn));
1007
+ }, L(j(o).validationErrors.value[s.question.key]), 3)) : q("", !0)
1008
+ ], 10, qs));
1009
1009
  }
1010
- }), Mn = "_radioCardGroup_11rwj_2", An = "_radioCard_11rwj_2", Tn = "_radioCardSelected_11rwj_34", Bn = "_radioCardLabel_11rwj_39", Pn = "_radioCardDescription_11rwj_45", jn = "_fieldError_11rwj_50", xn = {
1011
- radioCardGroup: Mn,
1012
- radioCard: An,
1013
- radioCardSelected: Tn,
1014
- radioCardLabel: Bn,
1015
- radioCardDescription: Pn,
1016
- fieldError: jn
1017
- }, Fn = {
1018
- $style: xn
1019
- }, Rn = /* @__PURE__ */ G(Dn, [["__cssModules", Fn]]), Nn = "https://images.opendoor.com/source/s3/imgdrop-production", Gn = "service=reception-fe&dpr=2&fit=scale-down";
1020
- function R(t, o = "3:2-sm") {
1021
- return `${Nn}/${t}?${Gn}&preset=${o}`;
1010
+ }), As = "_radioCardGroup_11rwj_2", Ts = "_radioCard_11rwj_2", Ps = "_radioCardSelected_11rwj_34", Bs = "_radioCardLabel_11rwj_39", js = "_radioCardDescription_11rwj_45", xs = "_fieldError_11rwj_50", Fs = {
1011
+ radioCardGroup: As,
1012
+ radioCard: Ts,
1013
+ radioCardSelected: Ps,
1014
+ radioCardLabel: Bs,
1015
+ radioCardDescription: js,
1016
+ fieldError: xs
1017
+ }, Rs = {
1018
+ $style: Fs
1019
+ }, Ns = /* @__PURE__ */ G(Ms, [["__cssModules", Rs]]), Gs = "https://images.opendoor.com/source/s3/imgdrop-production", Os = "service=reception-fe&dpr=2&fit=scale-down";
1020
+ function O(s, o = "3:2-sm") {
1021
+ return `${Gs}/${s}?${Os}&preset=${o}`;
1022
1022
  }
1023
- const Hn = {
1023
+ const Hs = {
1024
1024
  // Kitchen
1025
- "kitchen-fixer_upper": R("2023-04-1681772974083-61414.png"),
1026
- "kitchen-dated": R("2023-04-1681772974089-39460.png"),
1027
- "kitchen-standard": R("2023-04-1681772974093-51260.png"),
1028
- "kitchen-high_end": R("2023-04-1682444345875-57331.jpeg", "3:2-xl"),
1029
- "kitchen-luxury": R("2023-04-1682444629335-69661.jpeg", "3:2-xl"),
1025
+ "kitchen-fixer_upper": O("2023-04-1681772974083-61414.png"),
1026
+ "kitchen-dated": O("2023-04-1681772974089-39460.png"),
1027
+ "kitchen-standard": O("2023-04-1681772974093-51260.png"),
1028
+ "kitchen-high_end": O("2023-04-1682444345875-57331.jpeg", "3:2-xl"),
1029
+ "kitchen-luxury": O("2023-04-1682444629335-69661.jpeg", "3:2-xl"),
1030
1030
  // Bathroom
1031
- "bathroom-fixer_upper": R("2023-04-1682103091299-33543.jpeg"),
1032
- "bathroom-dated": R("2023-04-1681773104207-98555.png"),
1033
- "bathroom-standard": R("2023-04-1682103088251-79730.jpeg", "3:2-xl"),
1034
- "bathroom-high_end": R("2023-04-1681773104214-77488.png"),
1035
- "bathroom-luxury": R("2023-04-1681773104217-27390.png"),
1031
+ "bathroom-fixer_upper": O("2023-04-1682103091299-33543.jpeg"),
1032
+ "bathroom-dated": O("2023-04-1681773104207-98555.png"),
1033
+ "bathroom-standard": O("2023-04-1682103088251-79730.jpeg", "3:2-xl"),
1034
+ "bathroom-high_end": O("2023-04-1681773104214-77488.png"),
1035
+ "bathroom-luxury": O("2023-04-1681773104217-27390.png"),
1036
1036
  // Living Room
1037
- "living-room-fixer_upper": R("2023-04-1681773170815-60328.png"),
1038
- "living-room-dated": R("2023-04-1681773170823-03451.png"),
1039
- "living-room-standard": R("2023-04-1681773170826-47471.png"),
1040
- "living-room-high_end": R("2023-04-1681773170828-76415.png"),
1041
- "living-room-luxury": R("2023-04-1681773170832-20699.png"),
1037
+ "living-room-fixer_upper": O("2023-04-1681773170815-60328.png"),
1038
+ "living-room-dated": O("2023-04-1681773170823-03451.png"),
1039
+ "living-room-standard": O("2023-04-1681773170826-47471.png"),
1040
+ "living-room-high_end": O("2023-04-1681773170828-76415.png"),
1041
+ "living-room-luxury": O("2023-04-1681773170832-20699.png"),
1042
1042
  // Exterior
1043
- "exterior-fixer_upper": R("2023-04-1681773220493-46489.png"),
1044
- "exterior-dated": R("2023-04-1681773220495-22229.png"),
1045
- "exterior-standard": R("2023-04-1681773220498-64940.png"),
1046
- "exterior-high_end": R("2023-04-1682103085417-24272.jpeg", "3:2-md"),
1047
- "exterior-luxury": R("2023-04-1681773220487-59852.png")
1048
- }, On = ["aria-label"], Vn = ["aria-checked", "onClick"], Un = ["src", "alt"], Zn = /* @__PURE__ */ x({
1043
+ "exterior-fixer_upper": O("2023-04-1681773220493-46489.png"),
1044
+ "exterior-dated": O("2023-04-1681773220495-22229.png"),
1045
+ "exterior-standard": O("2023-04-1681773220498-64940.png"),
1046
+ "exterior-high_end": O("2023-04-1682103085417-24272.jpeg", "3:2-md"),
1047
+ "exterior-luxury": O("2023-04-1681773220487-59852.png")
1048
+ }, Vs = ["aria-label"], Us = ["aria-checked", "onClick"], Zs = ["src", "alt"], Ws = /* @__PURE__ */ x({
1049
1049
  __name: "ImageCardInput",
1050
1050
  props: {
1051
1051
  question: {}
1052
1052
  },
1053
- setup(t) {
1054
- const o = V("dtc-onboarding");
1053
+ setup(s) {
1054
+ const o = U("dtc-onboarding");
1055
1055
  let a = null;
1056
- ae(() => {
1056
+ re(() => {
1057
1057
  a && clearTimeout(a);
1058
1058
  });
1059
- function l(r, v) {
1060
- o.setAnswer(r.key, v), r.autoAdvance && (a && clearTimeout(a), a = setTimeout(() => o.goToNext(), 300));
1059
+ function l(r, d) {
1060
+ o.setAnswer(r.key, d), r.autoAdvance && (a && clearTimeout(a), a = setTimeout(() => o.goToNext(), 300));
1061
1061
  }
1062
1062
  function u(r) {
1063
- return r ? Hn[r] : void 0;
1063
+ return r ? Hs[r] : void 0;
1064
1064
  }
1065
- return (r, v) => (c(), p("div", {
1065
+ return (r, d) => (c(), p("div", {
1066
1066
  class: e(r.$style.imageCardGroup),
1067
1067
  role: "radiogroup",
1068
- "aria-label": t.question.label
1068
+ "aria-label": s.question.label
1069
1069
  }, [
1070
- (c(!0), p(N, null, Y(t.question.options, (d) => (c(), p("button", {
1071
- key: String(d.value),
1070
+ (c(!0), p(H, null, Q(s.question.options, (v) => (c(), p("button", {
1071
+ key: String(v.value),
1072
1072
  type: "button",
1073
1073
  role: "radio",
1074
- "aria-checked": P(o).getAnswer(t.question.key) === d.value,
1074
+ "aria-checked": j(o).getAnswer(s.question.key) === v.value,
1075
1075
  class: e([
1076
1076
  r.$style.imageCard,
1077
- P(o).getAnswer(t.question.key) === d.value ? r.$style.imageCardSelected : ""
1077
+ j(o).getAnswer(s.question.key) === v.value ? r.$style.imageCardSelected : ""
1078
1078
  ]),
1079
- onClick: (i) => l(t.question, d.value)
1079
+ onClick: (i) => l(s.question, v.value)
1080
1080
  }, [
1081
- u(d.imageId) ? (c(), p("img", {
1081
+ u(v.imageId) ? (c(), p("img", {
1082
1082
  key: 0,
1083
- src: u(d.imageId),
1084
- alt: d.label,
1083
+ src: u(v.imageId),
1084
+ alt: v.label,
1085
1085
  class: e(r.$style.imageCardPhoto),
1086
1086
  loading: "lazy"
1087
- }, null, 10, Un)) : E("", !0),
1088
- n("span", {
1087
+ }, null, 10, Zs)) : q("", !0),
1088
+ t("span", {
1089
1089
  class: e(r.$style.imageCardLabel)
1090
- }, _(d.label), 3),
1091
- d.description ? (c(), p("span", {
1090
+ }, L(v.label), 3),
1091
+ v.description ? (c(), p("span", {
1092
1092
  key: 1,
1093
1093
  class: e(r.$style.imageCardDescription)
1094
- }, _(d.description), 3)) : E("", !0)
1095
- ], 10, Vn))), 128)),
1096
- P(o).validationErrors.value[t.question.key] ? (c(), p("p", {
1094
+ }, L(v.description), 3)) : q("", !0)
1095
+ ], 10, Us))), 128)),
1096
+ j(o).validationErrors.value[s.question.key] ? (c(), p("p", {
1097
1097
  key: 0,
1098
1098
  class: e(r.$style.fieldError),
1099
1099
  role: "alert"
1100
- }, _(P(o).validationErrors.value[t.question.key]), 3)) : E("", !0)
1101
- ], 10, On));
1100
+ }, L(j(o).validationErrors.value[s.question.key]), 3)) : q("", !0)
1101
+ ], 10, Vs));
1102
1102
  }
1103
- }), Wn = "_imageCardGroup_1vc6c_2", zn = "_imageCard_1vc6c_2", Kn = "_imageCardSelected_1vc6c_34", Qn = "_imageCardPhoto_1vc6c_39", Yn = "_imageCardLabel_1vc6c_46", Xn = "_imageCardDescription_1vc6c_53", Jn = "_fieldError_1vc6c_60", es = {
1104
- imageCardGroup: Wn,
1105
- imageCard: zn,
1106
- imageCardSelected: Kn,
1107
- imageCardPhoto: Qn,
1108
- imageCardLabel: Yn,
1109
- imageCardDescription: Xn,
1110
- fieldError: Jn
1111
- }, ts = {
1112
- $style: es
1113
- }, ns = /* @__PURE__ */ G(Zn, [["__cssModules", ts]]), ss = ["aria-label"], os = ["aria-checked", "onClick"], as = {
1103
+ }), zs = "_imageCardGroup_1vc6c_2", Ks = "_imageCard_1vc6c_2", Qs = "_imageCardSelected_1vc6c_34", Ys = "_imageCardPhoto_1vc6c_39", Xs = "_imageCardLabel_1vc6c_46", Js = "_imageCardDescription_1vc6c_53", en = "_fieldError_1vc6c_60", tn = {
1104
+ imageCardGroup: zs,
1105
+ imageCard: Ks,
1106
+ imageCardSelected: Qs,
1107
+ imageCardPhoto: Ys,
1108
+ imageCardLabel: Xs,
1109
+ imageCardDescription: Js,
1110
+ fieldError: en
1111
+ }, sn = {
1112
+ $style: tn
1113
+ }, nn = /* @__PURE__ */ G(Ws, [["__cssModules", sn]]), on = ["aria-label"], an = ["aria-checked", "onClick"], ln = {
1114
1114
  key: 0,
1115
1115
  width: "12",
1116
1116
  height: "12",
1117
1117
  viewBox: "0 0 12 12",
1118
1118
  fill: "none"
1119
- }, ls = /* @__PURE__ */ x({
1119
+ }, rn = /* @__PURE__ */ x({
1120
1120
  __name: "CheckboxCardInput",
1121
1121
  props: {
1122
1122
  question: {}
1123
1123
  },
1124
- setup(t) {
1125
- const o = t, a = V("dtc-onboarding"), l = w(
1124
+ setup(s) {
1125
+ const o = s, a = U("dtc-onboarding"), l = w(
1126
1126
  () => a.getAnswer(o.question.key) ?? []
1127
1127
  ), u = w(
1128
1128
  () => a.validationErrors.value[o.question.key]
1129
1129
  );
1130
- function r(v) {
1130
+ function r(d) {
1131
1131
  var f;
1132
- const d = (f = o.question.options) == null ? void 0 : f.find((m) => m.value === v);
1133
- if (d != null && d.exclusive) {
1134
- a.setAnswer(o.question.key, [v]);
1132
+ const v = (f = o.question.options) == null ? void 0 : f.find((m) => m.value === d);
1133
+ if (v != null && v.exclusive) {
1134
+ a.setAnswer(o.question.key, [d]);
1135
1135
  return;
1136
1136
  }
1137
1137
  const i = l.value.filter(
1138
1138
  (m) => {
1139
- var b, g;
1140
- return !((g = (b = o.question.options) == null ? void 0 : b.find((L) => L.value === m)) != null && g.exclusive);
1139
+ var b, h;
1140
+ return !((h = (b = o.question.options) == null ? void 0 : b.find((_) => _.value === m)) != null && h.exclusive);
1141
1141
  }
1142
1142
  );
1143
- if (i.includes(v)) {
1144
- const m = i.filter((b) => b !== v);
1143
+ if (i.includes(d)) {
1144
+ const m = i.filter((b) => b !== d);
1145
1145
  a.setAnswer(o.question.key, m.length > 0 ? m : void 0);
1146
1146
  } else
1147
- a.setAnswer(o.question.key, [...i, v]);
1147
+ a.setAnswer(o.question.key, [...i, d]);
1148
1148
  }
1149
- return (v, d) => (c(), p("div", {
1150
- class: e(v.$style.checkboxCardGroup),
1149
+ return (d, v) => (c(), p("div", {
1150
+ class: e(d.$style.checkboxCardGroup),
1151
1151
  role: "group",
1152
- "aria-label": t.question.label
1152
+ "aria-label": s.question.label
1153
1153
  }, [
1154
- (c(!0), p(N, null, Y(t.question.options, (i) => (c(), p("button", {
1154
+ (c(!0), p(H, null, Q(s.question.options, (i) => (c(), p("button", {
1155
1155
  key: String(i.value),
1156
1156
  type: "button",
1157
1157
  role: "checkbox",
1158
1158
  "aria-checked": l.value.includes(String(i.value)),
1159
1159
  class: e([
1160
- v.$style.checkboxCard,
1161
- l.value.includes(String(i.value)) ? v.$style.checkboxCardSelected : ""
1160
+ d.$style.checkboxCard,
1161
+ l.value.includes(String(i.value)) ? d.$style.checkboxCardSelected : ""
1162
1162
  ]),
1163
1163
  onClick: (f) => r(String(i.value))
1164
1164
  }, [
1165
- n("span", {
1166
- class: e(v.$style.checkboxCardContent)
1165
+ t("span", {
1166
+ class: e(d.$style.checkboxCardContent)
1167
1167
  }, [
1168
- n("span", {
1169
- class: e(v.$style.checkboxCardLabel)
1170
- }, _(i.label), 3),
1168
+ t("span", {
1169
+ class: e(d.$style.checkboxCardLabel)
1170
+ }, L(i.label), 3),
1171
1171
  i.helperText ? (c(), p("span", {
1172
1172
  key: 0,
1173
- class: e(v.$style.checkboxCardHelper)
1174
- }, _(i.helperText), 3)) : E("", !0)
1173
+ class: e(d.$style.checkboxCardHelper)
1174
+ }, L(i.helperText), 3)) : q("", !0)
1175
1175
  ], 2),
1176
- n("span", {
1176
+ t("span", {
1177
1177
  class: e([
1178
- v.$style.checkboxIndicator,
1179
- l.value.includes(String(i.value)) ? v.$style.checkboxIndicatorChecked : ""
1178
+ d.$style.checkboxIndicator,
1179
+ l.value.includes(String(i.value)) ? d.$style.checkboxIndicatorChecked : ""
1180
1180
  ])
1181
1181
  }, [
1182
- l.value.includes(String(i.value)) ? (c(), p("svg", as, [...d[0] || (d[0] = [
1183
- n("path", {
1182
+ l.value.includes(String(i.value)) ? (c(), p("svg", ln, [...v[0] || (v[0] = [
1183
+ t("path", {
1184
1184
  d: "M2 6l3 3 5-5",
1185
1185
  stroke: "currentColor",
1186
1186
  "stroke-width": "2",
1187
1187
  "stroke-linecap": "round",
1188
1188
  "stroke-linejoin": "round"
1189
1189
  }, null, -1)
1190
- ])])) : E("", !0)
1190
+ ])])) : q("", !0)
1191
1191
  ], 2)
1192
- ], 10, os))), 128)),
1192
+ ], 10, an))), 128)),
1193
1193
  u.value ? (c(), p("p", {
1194
1194
  key: 0,
1195
- class: e(v.$style.fieldError),
1195
+ class: e(d.$style.fieldError),
1196
1196
  role: "alert"
1197
- }, _(u.value), 3)) : E("", !0)
1198
- ], 10, ss));
1197
+ }, L(u.value), 3)) : q("", !0)
1198
+ ], 10, on));
1199
1199
  }
1200
- }), rs = "_checkboxCardGroup_uqwpe_2", is = "_checkboxCard_uqwpe_2", us = "_checkboxCardSelected_uqwpe_34", cs = "_checkboxCardContent_uqwpe_39", ds = "_checkboxCardLabel_uqwpe_46", vs = "_checkboxCardHelper_uqwpe_52", ys = "_checkboxIndicator_uqwpe_57", ps = "_checkboxIndicatorChecked_uqwpe_69", fs = "_fieldError_uqwpe_75", ms = {
1201
- checkboxCardGroup: rs,
1202
- checkboxCard: is,
1203
- checkboxCardSelected: us,
1204
- checkboxCardContent: cs,
1205
- checkboxCardLabel: ds,
1206
- checkboxCardHelper: vs,
1207
- checkboxIndicator: ys,
1208
- checkboxIndicatorChecked: ps,
1209
- fieldError: fs
1210
- }, gs = {
1211
- $style: ms
1212
- }, hs = /* @__PURE__ */ G(ls, [["__cssModules", gs]]), bs = ["for"], $s = ["id", "value", "aria-invalid", "aria-describedby"], ks = { value: "" }, Cs = ["value"], _s = ["id"], ws = /* @__PURE__ */ x({
1200
+ }), un = "_checkboxCardGroup_uqwpe_2", cn = "_checkboxCard_uqwpe_2", dn = "_checkboxCardSelected_uqwpe_34", vn = "_checkboxCardContent_uqwpe_39", pn = "_checkboxCardLabel_uqwpe_46", yn = "_checkboxCardHelper_uqwpe_52", fn = "_checkboxIndicator_uqwpe_57", mn = "_checkboxIndicatorChecked_uqwpe_69", gn = "_fieldError_uqwpe_75", hn = {
1201
+ checkboxCardGroup: un,
1202
+ checkboxCard: cn,
1203
+ checkboxCardSelected: dn,
1204
+ checkboxCardContent: vn,
1205
+ checkboxCardLabel: pn,
1206
+ checkboxCardHelper: yn,
1207
+ checkboxIndicator: fn,
1208
+ checkboxIndicatorChecked: mn,
1209
+ fieldError: gn
1210
+ }, bn = {
1211
+ $style: hn
1212
+ }, $n = /* @__PURE__ */ G(rn, [["__cssModules", bn]]), kn = ["for"], Cn = ["id", "value", "aria-invalid", "aria-describedby"], _n = { value: "" }, wn = ["value"], Ln = ["id"], In = /* @__PURE__ */ x({
1213
1213
  __name: "DropdownInput",
1214
1214
  props: {
1215
1215
  question: {}
1216
1216
  },
1217
- setup(t) {
1217
+ setup(s) {
1218
1218
  let o = 0;
1219
- const a = t, l = V("dtc-onboarding"), u = `dd-${++o}`, r = w(() => l.getAnswer(a.question.key)), v = w(
1219
+ const a = s, l = U("dtc-onboarding"), u = `dd-${++o}`, r = w(() => l.getAnswer(a.question.key)), d = w(
1220
1220
  () => l.validationErrors.value[a.question.key]
1221
1221
  );
1222
- function d(i) {
1222
+ function v(i) {
1223
1223
  const f = i.target.value;
1224
1224
  a.question.type === "number" && f !== "" ? l.setAnswer(a.question.key, Number(f)) : l.setAnswer(a.question.key, f || void 0);
1225
1225
  }
1226
1226
  return (i, f) => (c(), p("div", {
1227
1227
  class: e(i.$style.fieldGroup)
1228
1228
  }, [
1229
- n("label", {
1229
+ t("label", {
1230
1230
  class: e(i.$style.fieldLabel),
1231
- for: `${u}-${t.question.key}`
1232
- }, _(t.question.label), 11, bs),
1233
- t.question.description ? (c(), p("p", {
1231
+ for: `${u}-${s.question.key}`
1232
+ }, L(s.question.label), 11, kn),
1233
+ s.question.description ? (c(), p("p", {
1234
1234
  key: 0,
1235
1235
  class: e(i.$style.fieldDescription)
1236
- }, _(t.question.description), 3)) : E("", !0),
1237
- n("select", {
1238
- id: `${u}-${t.question.key}`,
1239
- class: e([i.$style.fieldSelect, v.value ? i.$style.fieldSelectError : ""]),
1236
+ }, L(s.question.description), 3)) : q("", !0),
1237
+ t("select", {
1238
+ id: `${u}-${s.question.key}`,
1239
+ class: e([i.$style.fieldSelect, d.value ? i.$style.fieldSelectError : ""]),
1240
1240
  value: r.value !== void 0 ? String(r.value) : "",
1241
- "aria-invalid": v.value ? "true" : void 0,
1242
- "aria-describedby": v.value ? `${u}-${t.question.key}-error` : void 0,
1243
- onChange: d
1241
+ "aria-invalid": d.value ? "true" : void 0,
1242
+ "aria-describedby": d.value ? `${u}-${s.question.key}-error` : void 0,
1243
+ onChange: v
1244
1244
  }, [
1245
- n("option", ks, _(t.question.placeholder || "Select..."), 1),
1246
- (c(!0), p(N, null, Y(t.question.options, (m) => (c(), p("option", {
1245
+ t("option", _n, L(s.question.placeholder || "Select..."), 1),
1246
+ (c(!0), p(H, null, Q(s.question.options, (m) => (c(), p("option", {
1247
1247
  key: String(m.value),
1248
1248
  value: String(m.value)
1249
- }, _(m.label), 9, Cs))), 128))
1250
- ], 42, $s),
1251
- v.value ? (c(), p("p", {
1249
+ }, L(m.label), 9, wn))), 128))
1250
+ ], 42, Cn),
1251
+ d.value ? (c(), p("p", {
1252
1252
  key: 1,
1253
- id: `${u}-${t.question.key}-error`,
1253
+ id: `${u}-${s.question.key}-error`,
1254
1254
  class: e(i.$style.fieldError),
1255
1255
  role: "alert"
1256
- }, _(v.value), 11, _s)) : E("", !0)
1256
+ }, L(d.value), 11, Ln)) : q("", !0)
1257
1257
  ], 2));
1258
1258
  }
1259
- }), Ls = "_fieldGroup_qcbne_2", Is = "_fieldLabel_qcbne_8", Ss = "_fieldDescription_qcbne_15", qs = "_fieldSelect_qcbne_22", Es = "_fieldSelectError_qcbne_47", Ds = "_fieldError_qcbne_51", Ms = {
1260
- fieldGroup: Ls,
1261
- fieldLabel: Is,
1262
- fieldDescription: Ss,
1263
- fieldSelect: qs,
1264
- fieldSelectError: Es,
1265
- fieldError: Ds
1266
- }, As = {
1267
- $style: Ms
1268
- }, Ts = /* @__PURE__ */ G(ws, [["__cssModules", As]]), Bs = ["for"], Ps = ["id", "type", "inputmode", "value", "placeholder", "aria-invalid", "aria-describedby"], js = ["id"], xs = /* @__PURE__ */ x({
1259
+ }), Sn = "_fieldGroup_qcbne_2", En = "_fieldLabel_qcbne_8", qn = "_fieldDescription_qcbne_15", Dn = "_fieldSelect_qcbne_22", Mn = "_fieldSelectError_qcbne_47", An = "_fieldError_qcbne_51", Tn = {
1260
+ fieldGroup: Sn,
1261
+ fieldLabel: En,
1262
+ fieldDescription: qn,
1263
+ fieldSelect: Dn,
1264
+ fieldSelectError: Mn,
1265
+ fieldError: An
1266
+ }, Pn = {
1267
+ $style: Tn
1268
+ }, Bn = /* @__PURE__ */ G(In, [["__cssModules", Pn]]), jn = ["for"], xn = ["id", "type", "inputmode", "value", "placeholder", "aria-invalid", "aria-describedby"], Fn = ["id"], Rn = /* @__PURE__ */ x({
1269
1269
  __name: "TextInput",
1270
1270
  props: {
1271
1271
  question: {}
1272
1272
  },
1273
- setup(t) {
1273
+ setup(s) {
1274
1274
  let o = 0;
1275
- const a = t, l = V("dtc-onboarding"), u = `ti-${++o}`, r = w(() => l.getAnswer(a.question.key)), v = w(
1275
+ const a = s, l = U("dtc-onboarding"), u = `ti-${++o}`, r = w(() => l.getAnswer(a.question.key)), d = w(
1276
1276
  () => l.validationErrors.value[a.question.key]
1277
- ), d = w(
1277
+ ), v = w(
1278
1278
  () => r.value !== void 0 && r.value !== null ? String(r.value) : ""
1279
1279
  ), i = w(() => a.question.type === "number" ? "text" : a.question.style === "email" ? "email" : "text"), f = w(
1280
1280
  () => a.question.type === "number" ? "numeric" : void 0
1281
1281
  );
1282
1282
  function m(b) {
1283
- const g = b.target.value;
1283
+ const h = b.target.value;
1284
1284
  if (a.question.type === "number") {
1285
- const L = g.replace(/[^0-9.]/g, ""), M = L === "" ? void 0 : Number(L), D = M !== void 0 && isNaN(M) ? void 0 : M;
1285
+ const _ = h.replace(/[^0-9.]/g, ""), A = _ === "" ? void 0 : Number(_), D = A !== void 0 && isNaN(A) ? void 0 : A;
1286
1286
  l.setAnswer(a.question.key, D);
1287
1287
  } else
1288
- l.setAnswer(a.question.key, g || void 0);
1288
+ l.setAnswer(a.question.key, h || void 0);
1289
1289
  }
1290
- return (b, g) => (c(), p("div", {
1290
+ return (b, h) => (c(), p("div", {
1291
1291
  class: e(b.$style.fieldGroup)
1292
1292
  }, [
1293
- n("label", {
1293
+ t("label", {
1294
1294
  class: e(b.$style.fieldLabel),
1295
- for: `${u}-${t.question.key}`
1296
- }, _(t.question.label), 11, Bs),
1297
- t.question.description ? (c(), p("p", {
1295
+ for: `${u}-${s.question.key}`
1296
+ }, L(s.question.label), 11, jn),
1297
+ s.question.description ? (c(), p("p", {
1298
1298
  key: 0,
1299
1299
  class: e(b.$style.fieldDescription)
1300
- }, _(t.question.description), 3)) : E("", !0),
1301
- n("div", {
1300
+ }, L(s.question.description), 3)) : q("", !0),
1301
+ t("div", {
1302
1302
  class: e(b.$style.fieldInputWrapper)
1303
1303
  }, [
1304
- n("input", {
1305
- id: `${u}-${t.question.key}`,
1304
+ t("input", {
1305
+ id: `${u}-${s.question.key}`,
1306
1306
  type: i.value,
1307
1307
  inputmode: f.value,
1308
- class: e([b.$style.fieldInput, v.value ? b.$style.fieldInputError : ""]),
1309
- value: d.value,
1310
- placeholder: t.question.placeholder,
1311
- "aria-invalid": v.value ? "true" : void 0,
1312
- "aria-describedby": v.value ? `${u}-${t.question.key}-error` : void 0,
1308
+ class: e([b.$style.fieldInput, d.value ? b.$style.fieldInputError : ""]),
1309
+ value: v.value,
1310
+ placeholder: s.question.placeholder,
1311
+ "aria-invalid": d.value ? "true" : void 0,
1312
+ "aria-describedby": d.value ? `${u}-${s.question.key}-error` : void 0,
1313
1313
  onInput: m
1314
- }, null, 42, Ps),
1315
- t.question.suffix ? (c(), p("span", {
1314
+ }, null, 42, xn),
1315
+ s.question.suffix ? (c(), p("span", {
1316
1316
  key: 0,
1317
1317
  class: e(b.$style.fieldSuffix)
1318
- }, _(t.question.suffix), 3)) : E("", !0)
1318
+ }, L(s.question.suffix), 3)) : q("", !0)
1319
1319
  ], 2),
1320
- v.value ? (c(), p("p", {
1320
+ d.value ? (c(), p("p", {
1321
1321
  key: 1,
1322
- id: `${u}-${t.question.key}-error`,
1322
+ id: `${u}-${s.question.key}-error`,
1323
1323
  class: e(b.$style.fieldError),
1324
1324
  role: "alert"
1325
- }, _(v.value), 11, js)) : E("", !0)
1325
+ }, L(d.value), 11, Fn)) : q("", !0)
1326
1326
  ], 2));
1327
1327
  }
1328
- }), Fs = "_fieldGroup_1jlim_2", Rs = "_fieldLabel_1jlim_8", Ns = "_fieldDescription_1jlim_15", Gs = "_fieldInputWrapper_1jlim_22", Hs = "_fieldInput_1jlim_22", Os = "_fieldInputError_1jlim_60", Vs = "_fieldSuffix_1jlim_64", Us = "_fieldError_1jlim_73", Zs = {
1329
- fieldGroup: Fs,
1330
- fieldLabel: Rs,
1331
- fieldDescription: Ns,
1332
- fieldInputWrapper: Gs,
1333
- fieldInput: Hs,
1334
- fieldInputError: Os,
1335
- fieldSuffix: Vs,
1336
- fieldError: Us
1337
- }, Ws = {
1338
- $style: Zs
1339
- }, zs = /* @__PURE__ */ G(xs, [["__cssModules", Ws]]), Ks = ["for"], Qs = ["id", "value", "placeholder", "aria-invalid", "aria-describedby"], Ys = ["id"], Xs = /* @__PURE__ */ x({
1328
+ }), Nn = "_fieldGroup_1jlim_2", Gn = "_fieldLabel_1jlim_8", On = "_fieldDescription_1jlim_15", Hn = "_fieldInputWrapper_1jlim_22", Vn = "_fieldInput_1jlim_22", Un = "_fieldInputError_1jlim_60", Zn = "_fieldSuffix_1jlim_64", Wn = "_fieldError_1jlim_73", zn = {
1329
+ fieldGroup: Nn,
1330
+ fieldLabel: Gn,
1331
+ fieldDescription: On,
1332
+ fieldInputWrapper: Hn,
1333
+ fieldInput: Vn,
1334
+ fieldInputError: Un,
1335
+ fieldSuffix: Zn,
1336
+ fieldError: Wn
1337
+ }, Kn = {
1338
+ $style: zn
1339
+ }, Qn = /* @__PURE__ */ G(Rn, [["__cssModules", Kn]]), Yn = ["for"], Xn = ["id", "value", "placeholder", "aria-invalid", "aria-describedby"], Jn = ["id"], eo = /* @__PURE__ */ x({
1340
1340
  __name: "CurrencyInput",
1341
1341
  props: {
1342
1342
  question: {}
1343
1343
  },
1344
- setup(t) {
1344
+ setup(s) {
1345
1345
  let o = 0;
1346
- const a = t, l = V("dtc-onboarding"), u = `ci-${++o}`, r = w(() => l.getAnswer(a.question.key)), v = w(
1346
+ const a = s, l = U("dtc-onboarding"), u = `ci-${++o}`, r = w(() => l.getAnswer(a.question.key)), d = w(
1347
1347
  () => l.validationErrors.value[a.question.key]
1348
- ), d = w(
1348
+ ), v = w(
1349
1349
  () => r.value !== void 0 && r.value !== null ? String(r.value) : ""
1350
1350
  );
1351
1351
  function i(f) {
@@ -1358,59 +1358,59 @@ const Hn = {
1358
1358
  return (f, m) => (c(), p("div", {
1359
1359
  class: e(f.$style.fieldGroup)
1360
1360
  }, [
1361
- n("label", {
1361
+ t("label", {
1362
1362
  class: e(f.$style.fieldLabel),
1363
- for: `${u}-${t.question.key}`
1364
- }, _(t.question.label), 11, Ks),
1365
- n("div", {
1363
+ for: `${u}-${s.question.key}`
1364
+ }, L(s.question.label), 11, Yn),
1365
+ t("div", {
1366
1366
  class: e(f.$style.currencyWrapper)
1367
1367
  }, [
1368
- n("span", {
1368
+ t("span", {
1369
1369
  class: e(f.$style.currencyPrefix)
1370
1370
  }, "$", 2),
1371
- n("input", {
1372
- id: `${u}-${t.question.key}`,
1371
+ t("input", {
1372
+ id: `${u}-${s.question.key}`,
1373
1373
  type: "text",
1374
1374
  inputmode: "numeric",
1375
- class: e([f.$style.currencyInput, v.value ? f.$style.fieldInputError : ""]),
1376
- value: d.value,
1377
- placeholder: t.question.placeholder,
1378
- "aria-invalid": v.value ? "true" : void 0,
1379
- "aria-describedby": v.value ? `${u}-${t.question.key}-error` : void 0,
1375
+ class: e([f.$style.currencyInput, d.value ? f.$style.fieldInputError : ""]),
1376
+ value: v.value,
1377
+ placeholder: s.question.placeholder,
1378
+ "aria-invalid": d.value ? "true" : void 0,
1379
+ "aria-describedby": d.value ? `${u}-${s.question.key}-error` : void 0,
1380
1380
  onInput: i
1381
- }, null, 42, Qs)
1381
+ }, null, 42, Xn)
1382
1382
  ], 2),
1383
- v.value ? (c(), p("p", {
1383
+ d.value ? (c(), p("p", {
1384
1384
  key: 0,
1385
- id: `${u}-${t.question.key}-error`,
1385
+ id: `${u}-${s.question.key}-error`,
1386
1386
  class: e(f.$style.fieldError),
1387
1387
  role: "alert"
1388
- }, _(v.value), 11, Ys)) : E("", !0)
1388
+ }, L(d.value), 11, Jn)) : q("", !0)
1389
1389
  ], 2));
1390
1390
  }
1391
- }), Js = "_fieldGroup_10ms9_2", eo = "_fieldLabel_10ms9_8", to = "_currencyWrapper_10ms9_15", no = "_currencyPrefix_10ms9_21", so = "_currencyInput_10ms9_30", oo = "_fieldInputError_10ms9_48", ao = "_fieldError_10ms9_52", lo = {
1392
- fieldGroup: Js,
1393
- fieldLabel: eo,
1394
- currencyWrapper: to,
1395
- currencyPrefix: no,
1396
- currencyInput: so,
1397
- fieldInputError: oo,
1398
- fieldError: ao
1399
- }, ro = {
1400
- $style: lo
1401
- }, io = /* @__PURE__ */ G(Xs, [["__cssModules", ro]]), uo = ["for"], co = ["id", "value", "placeholder", "aria-invalid", "aria-describedby"], vo = ["id"], yo = /* @__PURE__ */ x({
1391
+ }), to = "_fieldGroup_10ms9_2", so = "_fieldLabel_10ms9_8", no = "_currencyWrapper_10ms9_15", oo = "_currencyPrefix_10ms9_21", ao = "_currencyInput_10ms9_30", lo = "_fieldInputError_10ms9_48", ro = "_fieldError_10ms9_52", io = {
1392
+ fieldGroup: to,
1393
+ fieldLabel: so,
1394
+ currencyWrapper: no,
1395
+ currencyPrefix: oo,
1396
+ currencyInput: ao,
1397
+ fieldInputError: lo,
1398
+ fieldError: ro
1399
+ }, uo = {
1400
+ $style: io
1401
+ }, co = /* @__PURE__ */ G(eo, [["__cssModules", uo]]), vo = ["for"], po = ["id", "value", "placeholder", "aria-invalid", "aria-describedby"], yo = ["id"], fo = /* @__PURE__ */ x({
1402
1402
  __name: "PhoneInput",
1403
1403
  props: {
1404
1404
  question: {}
1405
1405
  },
1406
- setup(t) {
1406
+ setup(s) {
1407
1407
  let o = 0;
1408
- const a = t, l = V("dtc-onboarding"), u = `pi-${++o}`, r = w(
1408
+ const a = s, l = U("dtc-onboarding"), u = `pi-${++o}`, r = w(
1409
1409
  () => l.getAnswer(a.question.key) ?? ""
1410
- ), v = w(
1410
+ ), d = w(
1411
1411
  () => l.validationErrors.value[a.question.key]
1412
1412
  );
1413
- function d(f) {
1413
+ function v(f) {
1414
1414
  const m = f.replace(/\D/g, "").slice(0, 10);
1415
1415
  return m.length <= 3 ? m : m.length <= 6 ? `(${m.slice(0, 3)}) ${m.slice(3)}` : `(${m.slice(0, 3)}) ${m.slice(3, 6)}-${m.slice(6)}`;
1416
1416
  }
@@ -1421,48 +1421,48 @@ const Hn = {
1421
1421
  return (f, m) => (c(), p("div", {
1422
1422
  class: e(f.$style.fieldGroup)
1423
1423
  }, [
1424
- n("label", {
1424
+ t("label", {
1425
1425
  class: e(f.$style.fieldLabel),
1426
- for: `${u}-${t.question.key}`
1427
- }, _(t.question.label), 11, uo),
1428
- n("input", {
1429
- id: `${u}-${t.question.key}`,
1426
+ for: `${u}-${s.question.key}`
1427
+ }, L(s.question.label), 11, vo),
1428
+ t("input", {
1429
+ id: `${u}-${s.question.key}`,
1430
1430
  type: "tel",
1431
- class: e([f.$style.fieldInput, v.value ? f.$style.fieldInputError : ""]),
1432
- value: d(r.value),
1433
- placeholder: t.question.placeholder || "(555) 555-5555",
1434
- "aria-invalid": v.value ? "true" : void 0,
1435
- "aria-describedby": v.value ? `${u}-${t.question.key}-error` : void 0,
1431
+ class: e([f.$style.fieldInput, d.value ? f.$style.fieldInputError : ""]),
1432
+ value: v(r.value),
1433
+ placeholder: s.question.placeholder || "(555) 555-5555",
1434
+ "aria-invalid": d.value ? "true" : void 0,
1435
+ "aria-describedby": d.value ? `${u}-${s.question.key}-error` : void 0,
1436
1436
  onInput: i
1437
- }, null, 42, co),
1438
- v.value ? (c(), p("p", {
1437
+ }, null, 42, po),
1438
+ d.value ? (c(), p("p", {
1439
1439
  key: 0,
1440
- id: `${u}-${t.question.key}-error`,
1440
+ id: `${u}-${s.question.key}-error`,
1441
1441
  class: e(f.$style.fieldError),
1442
1442
  role: "alert"
1443
- }, _(v.value), 11, vo)) : E("", !0)
1443
+ }, L(d.value), 11, yo)) : q("", !0)
1444
1444
  ], 2));
1445
1445
  }
1446
- }), po = "_fieldGroup_p6z3v_2", fo = "_fieldLabel_p6z3v_8", mo = "_fieldInput_p6z3v_15", go = "_fieldInputError_p6z3v_37", ho = "_fieldError_p6z3v_41", bo = {
1447
- fieldGroup: po,
1448
- fieldLabel: fo,
1449
- fieldInput: mo,
1450
- fieldInputError: go,
1451
- fieldError: ho
1452
- }, $o = {
1453
- $style: bo
1454
- }, ko = /* @__PURE__ */ G(yo, [["__cssModules", $o]]), Co = ["checked"], _o = /* @__PURE__ */ x({
1446
+ }), mo = "_fieldGroup_p6z3v_2", go = "_fieldLabel_p6z3v_8", ho = "_fieldInput_p6z3v_15", bo = "_fieldInputError_p6z3v_37", $o = "_fieldError_p6z3v_41", ko = {
1447
+ fieldGroup: mo,
1448
+ fieldLabel: go,
1449
+ fieldInput: ho,
1450
+ fieldInputError: bo,
1451
+ fieldError: $o
1452
+ }, Co = {
1453
+ $style: ko
1454
+ }, _o = /* @__PURE__ */ G(fo, [["__cssModules", Co]]), wo = ["checked"], Lo = /* @__PURE__ */ x({
1455
1455
  __name: "ToggleInput",
1456
1456
  props: {
1457
1457
  question: {}
1458
1458
  },
1459
- setup(t) {
1460
- const o = t, a = V("dtc-onboarding"), l = V("dtc-consent-slots", {}), u = w(
1459
+ setup(s) {
1460
+ const o = s, a = U("dtc-onboarding"), l = U("dtc-consent-slots", {}), u = w(
1461
1461
  () => a.getAnswer(o.question.key)
1462
- ), r = w(() => o.question.label), v = w(
1462
+ ), r = w(() => o.question.label), d = w(
1463
1463
  () => o.question.key === "seller.sms_opt_in" && !!l["sms-consent-text"]
1464
1464
  );
1465
- function d(i) {
1465
+ function v(i) {
1466
1466
  a.setAnswer(
1467
1467
  o.question.key,
1468
1468
  i.target.checked
@@ -1471,105 +1471,105 @@ const Hn = {
1471
1471
  return (i, f) => (c(), p("div", {
1472
1472
  class: e(i.$style.toggleGroup)
1473
1473
  }, [
1474
- n("label", {
1474
+ t("label", {
1475
1475
  class: e(i.$style.toggleLabel)
1476
1476
  }, [
1477
- n("input", {
1477
+ t("input", {
1478
1478
  type: "checkbox",
1479
1479
  class: e(i.$style.toggleCheckbox),
1480
1480
  checked: u.value === !0,
1481
- onChange: d
1482
- }, null, 42, Co),
1483
- n("span", {
1481
+ onChange: v
1482
+ }, null, 42, wo),
1483
+ t("span", {
1484
1484
  class: e(i.$style.toggleText)
1485
1485
  }, [
1486
- v.value ? (c(), K(Be(() => {
1486
+ d.value ? (c(), K(Be(() => {
1487
1487
  var m, b;
1488
- return (b = (m = P(l))["sms-consent-text"]) == null ? void 0 : b.call(m);
1489
- }), { key: 0 })) : (c(), p(N, { key: 1 }, [
1490
- $e(_(r.value), 1)
1488
+ return (b = (m = j(l))["sms-consent-text"]) == null ? void 0 : b.call(m);
1489
+ }), { key: 0 })) : (c(), p(H, { key: 1 }, [
1490
+ ce(L(r.value), 1)
1491
1491
  ], 64))
1492
1492
  ], 2)
1493
1493
  ], 2)
1494
1494
  ], 2));
1495
1495
  }
1496
- }), wo = "_toggleGroup_1wi5o_2", Lo = "_toggleLabel_1wi5o_6", Io = "_toggleCheckbox_1wi5o_14", So = "_toggleText_1wi5o_23", qo = {
1497
- toggleGroup: wo,
1498
- toggleLabel: Lo,
1499
- toggleCheckbox: Io,
1500
- toggleText: So
1501
- }, Eo = {
1502
- $style: qo
1503
- }, Do = /* @__PURE__ */ G(_o, [["__cssModules", Eo]]), Mo = ["value", "placeholder", "aria-label", "aria-expanded", "aria-invalid", "aria-describedby", "aria-controls", "aria-activedescendant"], Ao = ["id", "aria-selected", "onClick"], To = ["id"], Te = 4, be = 8, Bo = 240, Po = 80, jo = /* @__PURE__ */ x({
1496
+ }), Io = "_toggleGroup_1wi5o_2", So = "_toggleLabel_1wi5o_6", Eo = "_toggleCheckbox_1wi5o_14", qo = "_toggleText_1wi5o_23", Do = {
1497
+ toggleGroup: Io,
1498
+ toggleLabel: So,
1499
+ toggleCheckbox: Eo,
1500
+ toggleText: qo
1501
+ }, Mo = {
1502
+ $style: Do
1503
+ }, Ao = /* @__PURE__ */ G(Lo, [["__cssModules", Mo]]), To = ["value", "placeholder", "aria-label", "aria-expanded", "aria-invalid", "aria-describedby", "aria-controls", "aria-activedescendant"], Po = ["id", "aria-selected", "onClick"], Bo = ["id"], Te = 4, be = 8, jo = 240, xo = 80, Fo = /* @__PURE__ */ x({
1504
1504
  __name: "SearchableDropdownInput",
1505
1505
  props: {
1506
1506
  question: {}
1507
1507
  },
1508
- setup(t) {
1508
+ setup(s) {
1509
1509
  let o = 0;
1510
1510
  function a(y) {
1511
1511
  const C = {};
1512
- for (let q = y; q; q = q.parentElement) {
1513
- const T = q.style;
1514
- for (let B = 0; B < T.length; B++) {
1515
- const z = T[B];
1516
- z.startsWith("--od-") && !(z in C) && (C[z] = T.getPropertyValue(z));
1512
+ for (let E = y; E; E = E.parentElement) {
1513
+ const T = E.style;
1514
+ for (let P = 0; P < T.length; P++) {
1515
+ const W = T[P];
1516
+ W.startsWith("--od-") && !(W in C) && (C[W] = T.getPropertyValue(W));
1517
1517
  }
1518
1518
  }
1519
1519
  return C;
1520
1520
  }
1521
- const l = t, u = V("dtc-onboarding"), r = V(
1521
+ const l = s, u = U("dtc-onboarding"), r = U(
1522
1522
  "opendoor-client",
1523
1523
  void 0
1524
- ), v = `sd-${++o}`, d = `${v}-${l.question.key}-listbox`, i = `${v}-${l.question.key}-combobox`, f = w(
1524
+ ), d = `sd-${++o}`, v = `${d}-${l.question.key}-listbox`, i = `${d}-${l.question.key}-combobox`, f = w(
1525
1525
  () => u.getAnswer(l.question.key)
1526
1526
  ), m = w(
1527
1527
  () => u.validationErrors.value[l.question.key]
1528
- ), b = I(""), g = I(!1), L = I([]), M = I(!1), D = I(-1), H = I(null), A = I(null), Z = I(null), j = I(null), O = I({});
1529
- ee(
1528
+ ), b = I(""), h = I(!1), _ = I([]), A = I(!1), D = I(-1), F = I(null), M = I(null), V = I(null), Z = I(null), B = I({});
1529
+ te(
1530
1530
  [() => l.question.dataSource, () => l.question.options, () => r == null ? void 0 : r.value],
1531
- (y, C, q) => {
1531
+ (y, C, E) => {
1532
1532
  let T = !1;
1533
- q(() => {
1533
+ E(() => {
1534
1534
  T = !0;
1535
- }), l.question.dataSource === "homebuilders" && (r != null && r.value) ? (M.value = !0, r.value.getHomebuilders().then((B) => {
1536
- T || (L.value = B.homebuilders.map((z) => ({
1537
- label: z.displayName,
1538
- value: z.identifier
1535
+ }), l.question.dataSource === "homebuilders" && (r != null && r.value) ? (A.value = !0, r.value.getHomebuilders().then((P) => {
1536
+ T || (_.value = P.homebuilders.map((W) => ({
1537
+ label: W.displayName,
1538
+ value: W.identifier
1539
1539
  })));
1540
1540
  }).catch(() => {
1541
- T || (l.question.options ? L.value = l.question.options.map((B) => ({
1542
- label: B.label,
1543
- value: String(B.value)
1544
- })) : L.value = []);
1541
+ T || (l.question.options ? _.value = l.question.options.map((P) => ({
1542
+ label: P.label,
1543
+ value: String(P.value)
1544
+ })) : _.value = []);
1545
1545
  }).finally(() => {
1546
- T || (M.value = !1);
1547
- })) : l.question.options ? L.value = l.question.options.map((B) => ({
1548
- label: B.label,
1549
- value: String(B.value)
1550
- })) : L.value = [];
1546
+ T || (A.value = !1);
1547
+ })) : l.question.options ? _.value = l.question.options.map((P) => ({
1548
+ label: P.label,
1549
+ value: String(P.value)
1550
+ })) : _.value = [];
1551
1551
  },
1552
1552
  { immediate: !0 }
1553
1553
  );
1554
1554
  const S = w(
1555
- () => b.value ? L.value.filter(
1555
+ () => b.value ? _.value.filter(
1556
1556
  (y) => y.label.toLowerCase().includes(b.value.toLowerCase())
1557
- ) : L.value
1558
- ), U = w(
1557
+ ) : _.value
1558
+ ), R = w(
1559
1559
  () => {
1560
1560
  var y;
1561
- return (y = L.value.find((C) => C.value === f.value)) == null ? void 0 : y.label;
1561
+ return (y = _.value.find((C) => C.value === f.value)) == null ? void 0 : y.label;
1562
1562
  }
1563
1563
  );
1564
- function Q(y) {
1565
- u.setAnswer(l.question.key, y), g.value = !1, b.value = "", D.value = -1;
1564
+ function Y(y) {
1565
+ u.setAnswer(l.question.key, y), h.value = !1, b.value = "", D.value = -1;
1566
1566
  }
1567
- function re(y) {
1568
- b.value = y.target.value, D.value = -1, g.value || (g.value = !0);
1567
+ function ne(y) {
1568
+ b.value = y.target.value, D.value = -1, h.value || (h.value = !0);
1569
1569
  }
1570
- function J(y) {
1571
- if (!g.value) {
1572
- (y.key === "ArrowDown" || y.key === "Enter") && (y.preventDefault(), g.value = !0);
1570
+ function X(y) {
1571
+ if (!h.value) {
1572
+ (y.key === "ArrowDown" || y.key === "Enter") && (y.preventDefault(), h.value = !0);
1573
1573
  return;
1574
1574
  }
1575
1575
  switch (y.key) {
@@ -1580,29 +1580,29 @@ const Hn = {
1580
1580
  y.preventDefault(), S.value.length > 0 && (D.value = D.value > 0 ? D.value - 1 : S.value.length - 1);
1581
1581
  break;
1582
1582
  case "Enter":
1583
- y.preventDefault(), D.value >= 0 && D.value < S.value.length && Q(S.value[D.value].value);
1583
+ y.preventDefault(), D.value >= 0 && D.value < S.value.length && Y(S.value[D.value].value);
1584
1584
  break;
1585
1585
  case "Escape":
1586
- y.preventDefault(), g.value = !1, D.value = -1;
1586
+ y.preventDefault(), h.value = !1, D.value = -1;
1587
1587
  break;
1588
1588
  }
1589
1589
  }
1590
- function W() {
1591
- const y = A.value;
1590
+ function z() {
1591
+ const y = M.value;
1592
1592
  if (!y) return;
1593
- const C = y.getBoundingClientRect(), q = window.visualViewport, T = (q == null ? void 0 : q.height) ?? window.innerHeight, B = (q == null ? void 0 : q.width) ?? window.innerWidth, z = (q == null ? void 0 : q.offsetTop) ?? 0, pe = (q == null ? void 0 : q.offsetLeft) ?? 0, fe = z + T - C.bottom - Te - be, me = Math.max(
1594
- Po,
1595
- Math.min(Bo, fe)
1596
- ), ge = Math.min(C.width, B - be * 2), ke = pe + be, Ce = pe + B - ge - be, _e = Math.max(ke, Math.min(C.left, Ce));
1597
- j.value = {
1593
+ const C = y.getBoundingClientRect(), E = window.visualViewport, T = (E == null ? void 0 : E.height) ?? window.innerHeight, P = (E == null ? void 0 : E.width) ?? window.innerWidth, W = (E == null ? void 0 : E.offsetTop) ?? 0, me = (E == null ? void 0 : E.offsetLeft) ?? 0, $e = W + T - C.bottom - Te - be, ge = Math.max(
1594
+ xo,
1595
+ Math.min(jo, $e)
1596
+ ), de = Math.min(C.width, P - be * 2), ke = me + be, Ce = me + P - de - be, _e = Math.max(ke, Math.min(C.left, Ce));
1597
+ Z.value = {
1598
1598
  top: C.bottom + window.scrollY + Te,
1599
1599
  left: _e + window.scrollX,
1600
- width: ge,
1601
- maxHeight: me
1600
+ width: de,
1601
+ maxHeight: ge
1602
1602
  };
1603
1603
  }
1604
- const ie = w(() => {
1605
- const y = j.value;
1604
+ const ue = w(() => {
1605
+ const y = Z.value;
1606
1606
  return y ? {
1607
1607
  position: "absolute",
1608
1608
  top: `${y.top}px`,
@@ -1610,72 +1610,72 @@ const Hn = {
1610
1610
  right: "auto",
1611
1611
  width: `${y.width}px`,
1612
1612
  maxHeight: `${y.maxHeight}px`,
1613
- ...O.value
1613
+ ...B.value
1614
1614
  } : { display: "none" };
1615
1615
  });
1616
- let X = null;
1617
- function ue() {
1616
+ let J = null;
1617
+ function oe() {
1618
1618
  const y = window.visualViewport;
1619
- window.addEventListener("scroll", W, !0), window.addEventListener("resize", W), y == null || y.addEventListener("resize", W), y == null || y.addEventListener("scroll", W);
1619
+ window.addEventListener("scroll", z, !0), window.addEventListener("resize", z), y == null || y.addEventListener("resize", z), y == null || y.addEventListener("scroll", z);
1620
1620
  }
1621
- function te() {
1621
+ function ae() {
1622
1622
  const y = window.visualViewport;
1623
- window.removeEventListener("scroll", W, !0), window.removeEventListener("resize", W), y == null || y.removeEventListener("resize", W), y == null || y.removeEventListener("scroll", W), X !== null && (window.clearTimeout(X), X = null);
1623
+ window.removeEventListener("scroll", z, !0), window.removeEventListener("resize", z), y == null || y.removeEventListener("resize", z), y == null || y.removeEventListener("scroll", z), J !== null && (window.clearTimeout(J), J = null);
1624
1624
  }
1625
- ee(g, (y) => {
1626
- y ? (A.value && (O.value = a(A.value)), W(), ue(), X = window.setTimeout(W, 300)) : (j.value = null, te());
1625
+ te(h, (y) => {
1626
+ y ? (M.value && (B.value = a(M.value)), z(), oe(), J = window.setTimeout(z, 300)) : (Z.value = null, ae());
1627
1627
  });
1628
1628
  function $(y) {
1629
- var q, T;
1629
+ var E, T;
1630
1630
  const C = y.target;
1631
- (q = H.value) != null && q.contains(C) || (T = Z.value) != null && T.contains(C) || (g.value = !1);
1631
+ (E = F.value) != null && E.contains(C) || (T = V.value) != null && T.contains(C) || (h.value = !1);
1632
1632
  }
1633
- return ve(() => {
1633
+ return ye(() => {
1634
1634
  document.addEventListener("mousedown", $);
1635
- }), ae(() => {
1636
- document.removeEventListener("mousedown", $), te();
1635
+ }), re(() => {
1636
+ document.removeEventListener("mousedown", $), ae();
1637
1637
  }), (y, C) => (c(), p("div", {
1638
1638
  ref_key: "containerRef",
1639
- ref: H,
1639
+ ref: F,
1640
1640
  class: e(y.$style.fieldGroup)
1641
1641
  }, [
1642
- n("div", {
1642
+ t("div", {
1643
1643
  ref_key: "anchorRef",
1644
- ref: A,
1644
+ ref: M,
1645
1645
  class: e(y.$style.searchableDropdown)
1646
1646
  }, [
1647
- n("input", {
1647
+ t("input", {
1648
1648
  id: i,
1649
1649
  type: "text",
1650
1650
  class: e(y.$style.fieldInput),
1651
- value: g.value ? b.value : U.value ?? "",
1652
- placeholder: t.question.placeholder || "Select or search...",
1653
- "aria-label": t.question.label,
1654
- "aria-expanded": g.value,
1651
+ value: h.value ? b.value : R.value ?? "",
1652
+ placeholder: s.question.placeholder || "Select or search...",
1653
+ "aria-label": s.question.label,
1654
+ "aria-expanded": h.value,
1655
1655
  "aria-invalid": m.value ? "true" : void 0,
1656
- "aria-describedby": m.value ? `${v}-${t.question.key}-error` : void 0,
1656
+ "aria-describedby": m.value ? `${d}-${s.question.key}-error` : void 0,
1657
1657
  role: "combobox",
1658
1658
  "aria-haspopup": "listbox",
1659
- "aria-controls": g.value ? d : void 0,
1660
- "aria-activedescendant": g.value && D.value >= 0 ? `${d}-option-${D.value}` : void 0,
1661
- onInput: re,
1662
- onFocus: C[0] || (C[0] = (q) => g.value = !0),
1663
- onKeydown: J
1664
- }, null, 42, Mo),
1665
- n("button", {
1659
+ "aria-controls": h.value ? v : void 0,
1660
+ "aria-activedescendant": h.value && D.value >= 0 ? `${v}-option-${D.value}` : void 0,
1661
+ onInput: ne,
1662
+ onFocus: C[0] || (C[0] = (E) => h.value = !0),
1663
+ onKeydown: X
1664
+ }, null, 42, To),
1665
+ t("button", {
1666
1666
  type: "button",
1667
1667
  class: e(y.$style.searchableDropdownToggle),
1668
1668
  "aria-label": "Toggle dropdown",
1669
1669
  tabindex: "-1",
1670
- onClick: C[1] || (C[1] = (q) => g.value = !g.value)
1670
+ onClick: C[1] || (C[1] = (E) => h.value = !h.value)
1671
1671
  }, [...C[3] || (C[3] = [
1672
- n("svg", {
1672
+ t("svg", {
1673
1673
  width: "12",
1674
1674
  height: "8",
1675
1675
  viewBox: "0 0 12 8",
1676
1676
  fill: "none"
1677
1677
  }, [
1678
- n("path", {
1678
+ t("path", {
1679
1679
  d: "M1 1l5 5 5-5",
1680
1680
  stroke: "currentColor",
1681
1681
  "stroke-width": "1.5",
@@ -1685,171 +1685,171 @@ const Hn = {
1685
1685
  ], -1)
1686
1686
  ])], 2)
1687
1687
  ], 2),
1688
- g.value ? (c(), K(Ge, {
1688
+ h.value ? (c(), K(He, {
1689
1689
  key: 0,
1690
1690
  to: "body"
1691
1691
  }, [
1692
- n("div", {
1692
+ t("div", {
1693
1693
  ref_key: "portalRef",
1694
- ref: Z,
1694
+ ref: V,
1695
1695
  class: e(y.$style.searchableDropdownList),
1696
1696
  role: "listbox",
1697
- id: d,
1698
- style: le(ie.value)
1697
+ id: v,
1698
+ style: ie(ue.value)
1699
1699
  }, [
1700
- M.value ? (c(), p("div", {
1700
+ A.value ? (c(), p("div", {
1701
1701
  key: 0,
1702
1702
  class: e(y.$style.searchableDropdownEmpty)
1703
1703
  }, " Loading... ", 2)) : S.value.length === 0 ? (c(), p("div", {
1704
1704
  key: 1,
1705
1705
  class: e(y.$style.searchableDropdownEmpty)
1706
- }, " No results found ", 2)) : (c(!0), p(N, { key: 2 }, Y(S.value, (q, T) => (c(), p("button", {
1707
- key: q.value,
1708
- id: `${d}-option-${T}`,
1706
+ }, " No results found ", 2)) : (c(!0), p(H, { key: 2 }, Q(S.value, (E, T) => (c(), p("button", {
1707
+ key: E.value,
1708
+ id: `${v}-option-${T}`,
1709
1709
  type: "button",
1710
1710
  role: "option",
1711
- "aria-selected": q.value === f.value,
1711
+ "aria-selected": E.value === f.value,
1712
1712
  class: e([
1713
1713
  y.$style.searchableDropdownOption,
1714
- q.value === f.value ? y.$style.searchableDropdownOptionSelected : "",
1714
+ E.value === f.value ? y.$style.searchableDropdownOptionSelected : "",
1715
1715
  T === D.value ? y.$style.searchableDropdownOptionHighlighted : ""
1716
1716
  ]),
1717
1717
  onMousedown: C[2] || (C[2] = Se(() => {
1718
1718
  }, ["prevent"])),
1719
- onClick: (B) => Q(q.value)
1720
- }, _(q.label), 43, Ao))), 128))
1719
+ onClick: (P) => Y(E.value)
1720
+ }, L(E.label), 43, Po))), 128))
1721
1721
  ], 6)
1722
- ])) : E("", !0),
1722
+ ])) : q("", !0),
1723
1723
  m.value ? (c(), p("p", {
1724
1724
  key: 1,
1725
- id: `${v}-${t.question.key}-error`,
1725
+ id: `${d}-${s.question.key}-error`,
1726
1726
  class: e(y.$style.fieldError),
1727
1727
  role: "alert"
1728
- }, _(m.value), 11, To)) : E("", !0)
1728
+ }, L(m.value), 11, Bo)) : q("", !0)
1729
1729
  ], 2));
1730
1730
  }
1731
- }), xo = "_fieldGroup_1adip_2", Fo = "_searchableDropdown_1adip_8", Ro = "_fieldInput_1adip_14", No = "_searchableDropdownToggle_1adip_40", Go = "_searchableDropdownList_1adip_53", Ho = "_searchableDropdownOption_1adip_62", Oo = "_searchableDropdownOptionSelected_1adip_80", Vo = "_searchableDropdownOptionHighlighted_1adip_85", Uo = "_searchableDropdownEmpty_1adip_89", Zo = "_fieldError_1adip_95", Wo = {
1732
- fieldGroup: xo,
1733
- searchableDropdown: Fo,
1734
- fieldInput: Ro,
1735
- searchableDropdownToggle: No,
1736
- searchableDropdownList: Go,
1737
- searchableDropdownOption: Ho,
1738
- searchableDropdownOptionSelected: Oo,
1739
- searchableDropdownOptionHighlighted: Vo,
1740
- searchableDropdownEmpty: Uo,
1741
- fieldError: Zo
1742
- }, zo = {
1743
- $style: Wo
1744
- }, Ko = /* @__PURE__ */ G(jo, [["__cssModules", zo]]), Qo = ["aria-label"], Yo = /* @__PURE__ */ x({
1731
+ }), Ro = "_fieldGroup_1adip_2", No = "_searchableDropdown_1adip_8", Go = "_fieldInput_1adip_14", Oo = "_searchableDropdownToggle_1adip_40", Ho = "_searchableDropdownList_1adip_53", Vo = "_searchableDropdownOption_1adip_62", Uo = "_searchableDropdownOptionSelected_1adip_80", Zo = "_searchableDropdownOptionHighlighted_1adip_85", Wo = "_searchableDropdownEmpty_1adip_89", zo = "_fieldError_1adip_95", Ko = {
1732
+ fieldGroup: Ro,
1733
+ searchableDropdown: No,
1734
+ fieldInput: Go,
1735
+ searchableDropdownToggle: Oo,
1736
+ searchableDropdownList: Ho,
1737
+ searchableDropdownOption: Vo,
1738
+ searchableDropdownOptionSelected: Uo,
1739
+ searchableDropdownOptionHighlighted: Zo,
1740
+ searchableDropdownEmpty: Wo,
1741
+ fieldError: zo
1742
+ }, Qo = {
1743
+ $style: Ko
1744
+ }, Yo = /* @__PURE__ */ G(Fo, [["__cssModules", Qo]]), Xo = ["aria-label"], Jo = /* @__PURE__ */ x({
1745
1745
  __name: "DtcPage",
1746
- setup(t) {
1747
- const o = V("dtc-onboarding"), a = V("dtc-consent-slots", {}), l = V("dtc-overrides"), u = w(() => {
1746
+ setup(s) {
1747
+ const o = U("dtc-onboarding"), a = U("dtc-consent-slots", {}), l = U("dtc-overrides"), u = w(() => {
1748
1748
  var f, m;
1749
1749
  return (((f = o.currentPage.value) == null ? void 0 : f.id) === "contact-info" ? l == null ? void 0 : l.value.submitLabel : void 0) ?? ((m = o.currentPage.value) == null ? void 0 : m.submitLabel) ?? "Next";
1750
1750
  }), r = w(() => {
1751
1751
  var i, f;
1752
1752
  return ((i = o.currentPage.value) == null ? void 0 : i.id) === "contact-info" && (l == null ? void 0 : l.value.contactPageTitle) !== void 0 ? l.value.contactPageTitle : (f = o.currentPage.value) == null ? void 0 : f.title;
1753
- }), v = I(null);
1754
- return ee(
1753
+ }), d = I(null);
1754
+ return te(
1755
1755
  () => {
1756
- var d;
1757
- return (d = o.currentPage.value) == null ? void 0 : d.id;
1756
+ var v;
1757
+ return (v = o.currentPage.value) == null ? void 0 : v.id;
1758
1758
  },
1759
1759
  () => {
1760
- var d, i, f;
1761
- (i = (d = v.value) == null ? void 0 : d.scrollTo) == null || i.call(d, { top: 0, behavior: "smooth" }), (f = v.value) == null || f.focus();
1760
+ var v, i, f;
1761
+ (i = (v = d.value) == null ? void 0 : v.scrollTo) == null || i.call(v, { top: 0, behavior: "smooth" }), (f = d.value) == null || f.focus();
1762
1762
  }
1763
- ), (d, i) => {
1763
+ ), (v, i) => {
1764
1764
  var f;
1765
- return P(o).currentPage.value ? (c(), p("div", {
1765
+ return j(o).currentPage.value ? (c(), p("div", {
1766
1766
  key: 0,
1767
1767
  ref_key: "containerRef",
1768
- ref: v,
1769
- class: e(d.$style.pageContent),
1768
+ ref: d,
1769
+ class: e(v.$style.pageContent),
1770
1770
  tabindex: "-1",
1771
1771
  role: "region",
1772
1772
  "aria-label": r.value
1773
1773
  }, [
1774
- (c(!0), p(N, null, Y(P(o).visibleQuestions.value, (m) => (c(), p(N, {
1774
+ (c(!0), p(H, null, Q(j(o).visibleQuestions.value, (m) => (c(), p(H, {
1775
1775
  key: m.key
1776
1776
  }, [
1777
- m.style === "radio-card" ? (c(), K(Rn, {
1777
+ m.style === "radio-card" ? (c(), K(Ns, {
1778
1778
  key: 0,
1779
1779
  question: m
1780
- }, null, 8, ["question"])) : m.style === "image-card" ? (c(), K(ns, {
1780
+ }, null, 8, ["question"])) : m.style === "image-card" ? (c(), K(nn, {
1781
1781
  key: 1,
1782
1782
  question: m
1783
- }, null, 8, ["question"])) : m.style === "checkbox-card" ? (c(), K(hs, {
1783
+ }, null, 8, ["question"])) : m.style === "checkbox-card" ? (c(), K($n, {
1784
1784
  key: 2,
1785
1785
  question: m
1786
- }, null, 8, ["question"])) : m.style === "dropdown" ? (c(), K(Ts, {
1786
+ }, null, 8, ["question"])) : m.style === "dropdown" ? (c(), K(Bn, {
1787
1787
  key: 3,
1788
1788
  question: m
1789
- }, null, 8, ["question"])) : m.style === "input" || m.style === "email" ? (c(), K(zs, {
1789
+ }, null, 8, ["question"])) : m.style === "input" || m.style === "email" ? (c(), K(Qn, {
1790
1790
  key: 4,
1791
1791
  question: m
1792
- }, null, 8, ["question"])) : m.style === "currency" ? (c(), K(io, {
1792
+ }, null, 8, ["question"])) : m.style === "currency" ? (c(), K(co, {
1793
1793
  key: 5,
1794
1794
  question: m
1795
- }, null, 8, ["question"])) : m.style === "phone" ? (c(), K(ko, {
1795
+ }, null, 8, ["question"])) : m.style === "phone" ? (c(), K(_o, {
1796
1796
  key: 6,
1797
1797
  question: m
1798
- }, null, 8, ["question"])) : m.style === "toggle" ? (c(), K(Do, {
1798
+ }, null, 8, ["question"])) : m.style === "toggle" ? (c(), K(Ao, {
1799
1799
  key: 7,
1800
1800
  question: m
1801
- }, null, 8, ["question"])) : m.style === "searchable-dropdown" ? (c(), K(Ko, {
1801
+ }, null, 8, ["question"])) : m.style === "searchable-dropdown" ? (c(), K(Yo, {
1802
1802
  key: 8,
1803
1803
  question: m
1804
- }, null, 8, ["question"])) : E("", !0)
1804
+ }, null, 8, ["question"])) : q("", !0)
1805
1805
  ], 64))), 128)),
1806
- ((f = P(o).currentPage.value) == null ? void 0 : f.id) === "contact-info" ? (c(), p(N, { key: 0 }, [
1807
- n("button", {
1806
+ ((f = j(o).currentPage.value) == null ? void 0 : f.id) === "contact-info" ? (c(), p(H, { key: 0 }, [
1807
+ t("button", {
1808
1808
  type: "button",
1809
- class: e(d.$style.ctaButton),
1810
- onClick: i[0] || (i[0] = (m) => P(o).goToNext())
1811
- }, _(u.value), 3),
1812
- P(a)["contact-consent-text"] ? (c(), K(Be(() => {
1809
+ class: e(v.$style.ctaButton),
1810
+ onClick: i[0] || (i[0] = (m) => j(o).goToNext())
1811
+ }, L(u.value), 3),
1812
+ j(a)["contact-consent-text"] ? (c(), K(Be(() => {
1813
1813
  var m, b;
1814
- return (b = (m = P(a))["contact-consent-text"]) == null ? void 0 : b.call(m);
1814
+ return (b = (m = j(a))["contact-consent-text"]) == null ? void 0 : b.call(m);
1815
1815
  }), { key: 0 })) : (c(), p("p", {
1816
1816
  key: 1,
1817
- class: e(d.$style.consentText)
1817
+ class: e(v.$style.consentText)
1818
1818
  }, [
1819
- $e(" By pressing “" + _(u.value) + ",” I agree to Opendoor’s ", 1),
1820
- n("a", {
1819
+ ce(" By pressing “" + L(u.value) + ",” I agree to Opendoor’s ", 1),
1820
+ t("a", {
1821
1821
  href: "https://www.opendoor.com/terms",
1822
1822
  target: "_blank",
1823
1823
  rel: "noopener noreferrer",
1824
- class: e(d.$style.consentLink)
1824
+ class: e(v.$style.consentLink)
1825
1825
  }, "Terms of Service", 2),
1826
- i[1] || (i[1] = $e(" and ", -1)),
1827
- n("a", {
1826
+ i[1] || (i[1] = ce(" and ", -1)),
1827
+ t("a", {
1828
1828
  href: "https://www.opendoor.com/privacy",
1829
1829
  target: "_blank",
1830
1830
  rel: "noopener noreferrer",
1831
- class: e(d.$style.consentLink)
1831
+ class: e(v.$style.consentLink)
1832
1832
  }, "Privacy Policy", 2),
1833
- i[2] || (i[2] = $e(". ", -1))
1833
+ i[2] || (i[2] = ce(". ", -1))
1834
1834
  ], 2))
1835
- ], 64)) : E("", !0)
1836
- ], 10, Qo)) : E("", !0);
1835
+ ], 64)) : q("", !0)
1836
+ ], 10, Xo)) : q("", !0);
1837
1837
  };
1838
1838
  }
1839
- }), Xo = "_pageContent_1jpin_2", Jo = "_consentText_1jpin_13", ea = "_consentLink_1jpin_21", ta = "_ctaButton_1jpin_26", na = {
1840
- pageContent: Xo,
1841
- consentText: Jo,
1842
- consentLink: ea,
1843
- ctaButton: ta
1844
- }, sa = {
1845
- $style: na
1846
- }, oa = /* @__PURE__ */ G(Yo, [["__cssModules", sa]]), aa = ["aria-valuenow"], la = /* @__PURE__ */ x({
1839
+ }), ea = "_pageContent_1jpin_2", ta = "_consentText_1jpin_13", sa = "_consentLink_1jpin_21", na = "_ctaButton_1jpin_26", oa = {
1840
+ pageContent: ea,
1841
+ consentText: ta,
1842
+ consentLink: sa,
1843
+ ctaButton: na
1844
+ }, aa = {
1845
+ $style: oa
1846
+ }, la = /* @__PURE__ */ G(Jo, [["__cssModules", aa]]), ra = ["aria-valuenow"], ia = /* @__PURE__ */ x({
1847
1847
  __name: "DtcProgressBar",
1848
1848
  props: {
1849
1849
  progress: {}
1850
1850
  },
1851
- setup(t) {
1852
- const o = t, a = w(
1851
+ setup(s) {
1852
+ const o = s, a = w(
1853
1853
  () => Math.min(100, Math.max(0, o.progress * 100))
1854
1854
  );
1855
1855
  return (l, u) => (c(), p("div", {
@@ -1859,21 +1859,21 @@ const Hn = {
1859
1859
  "aria-valuemin": 0,
1860
1860
  "aria-valuemax": 100
1861
1861
  }, [
1862
- n("div", {
1862
+ t("div", {
1863
1863
  class: e(l.$style.progressBarFill),
1864
- style: le({ width: `${a.value}%` })
1864
+ style: ie({ width: `${a.value}%` })
1865
1865
  }, null, 6)
1866
- ], 10, aa));
1866
+ ], 10, ra));
1867
1867
  }
1868
- }), ra = "_progressBar_y1k9k_2", ia = "_progressBarFill_y1k9k_9", ua = {
1869
- progressBar: ra,
1870
- progressBarFill: ia
1871
- }, ca = {
1872
- $style: ua
1873
- }, da = /* @__PURE__ */ G(la, [["__cssModules", ca]]), va = { key: 1 }, ya = /* @__PURE__ */ x({
1868
+ }), ua = "_progressBar_y1k9k_2", ca = "_progressBarFill_y1k9k_9", da = {
1869
+ progressBar: ua,
1870
+ progressBarFill: ca
1871
+ }, va = {
1872
+ $style: da
1873
+ }, pa = /* @__PURE__ */ G(ia, [["__cssModules", va]]), ya = { key: 1 }, fa = /* @__PURE__ */ x({
1874
1874
  __name: "DtcNavigation",
1875
- setup(t) {
1876
- const o = V("dtc-onboarding"), a = w(
1875
+ setup(s) {
1876
+ const o = U("dtc-onboarding"), a = w(
1877
1877
  () => {
1878
1878
  var u;
1879
1879
  return ((u = o.currentPage.value) == null ? void 0 : u.submitLabel) ?? "Next";
@@ -1884,25 +1884,25 @@ const Hn = {
1884
1884
  return ((u = o.currentPage.value) == null ? void 0 : u.id) === "contact-info";
1885
1885
  }
1886
1886
  );
1887
- return (u, r) => l.value ? E("", !0) : (c(), p("nav", {
1887
+ return (u, r) => l.value ? q("", !0) : (c(), p("nav", {
1888
1888
  key: 0,
1889
1889
  class: e(u.$style.navigation),
1890
1890
  "aria-label": "Page navigation"
1891
1891
  }, [
1892
- oe(da, {
1893
- progress: P(o).progress.value
1892
+ ee(pa, {
1893
+ progress: j(o).progress.value
1894
1894
  }, null, 8, ["progress"]),
1895
- n("div", {
1895
+ t("div", {
1896
1896
  class: e(u.$style.navigationButtons)
1897
1897
  }, [
1898
- P(o).isFirstPage.value ? (c(), p("div", va)) : (c(), p("button", {
1898
+ j(o).isFirstPage.value ? (c(), p("div", ya)) : (c(), p("button", {
1899
1899
  key: 0,
1900
1900
  type: "button",
1901
1901
  class: e(u.$style.backButton),
1902
1902
  "aria-label": "Go back",
1903
- onClick: r[0] || (r[0] = (v) => P(o).goToPrev())
1903
+ onClick: r[0] || (r[0] = (d) => j(o).goToPrev())
1904
1904
  }, [...r[2] || (r[2] = [
1905
- n("svg", {
1905
+ t("svg", {
1906
1906
  width: "24",
1907
1907
  height: "24",
1908
1908
  viewBox: "0 0 24 24",
@@ -1912,31 +1912,31 @@ const Hn = {
1912
1912
  "stroke-linecap": "round",
1913
1913
  "stroke-linejoin": "round"
1914
1914
  }, [
1915
- n("polyline", { points: "15 18 9 12 15 6" })
1915
+ t("polyline", { points: "15 18 9 12 15 6" })
1916
1916
  ], -1)
1917
1917
  ])], 2)),
1918
- n("button", {
1918
+ t("button", {
1919
1919
  type: "button",
1920
1920
  class: e(u.$style.nextButton),
1921
- onClick: r[1] || (r[1] = (v) => P(o).goToNext())
1922
- }, _(a.value), 3)
1921
+ onClick: r[1] || (r[1] = (d) => j(o).goToNext())
1922
+ }, L(a.value), 3)
1923
1923
  ], 2)
1924
1924
  ], 2));
1925
1925
  }
1926
- }), pa = "_navigation_14jpi_2", fa = "_navigationButtons_14jpi_16", ma = "_backButton_14jpi_22", ga = "_nextButton_14jpi_45", ha = {
1927
- navigation: pa,
1928
- navigationButtons: fa,
1929
- backButton: ma,
1930
- nextButton: ga
1931
- }, ba = {
1932
- $style: ha
1933
- }, $a = /* @__PURE__ */ G(ya, [["__cssModules", ba]]), ka = /* @__PURE__ */ x({
1926
+ }), ma = "_navigation_14jpi_2", ga = "_navigationButtons_14jpi_16", ha = "_backButton_14jpi_22", ba = "_nextButton_14jpi_45", $a = {
1927
+ navigation: ma,
1928
+ navigationButtons: ga,
1929
+ backButton: ha,
1930
+ nextButton: ba
1931
+ }, ka = {
1932
+ $style: $a
1933
+ }, Ca = /* @__PURE__ */ G(fa, [["__cssModules", ka]]), _a = /* @__PURE__ */ x({
1934
1934
  __name: "DtcLayout",
1935
1935
  props: {
1936
1936
  address: {}
1937
1937
  },
1938
- setup(t) {
1939
- const o = t, a = V("dtc-onboarding"), l = V("dtc-overrides"), u = w(
1938
+ setup(s) {
1939
+ const o = s, a = U("dtc-onboarding"), l = U("dtc-overrides"), u = w(
1940
1940
  () => {
1941
1941
  var i;
1942
1942
  return ((i = a.currentPage.value) == null ? void 0 : i.id) === "contact-info";
@@ -1944,10 +1944,10 @@ const Hn = {
1944
1944
  ), r = w(() => {
1945
1945
  var i;
1946
1946
  return u.value && (l == null ? void 0 : l.value.contactPageTitle) !== void 0 ? l.value.contactPageTitle : (i = a.currentPage.value) == null ? void 0 : i.title;
1947
- }), v = w(() => {
1947
+ }), d = w(() => {
1948
1948
  var i;
1949
1949
  return u.value && (l == null ? void 0 : l.value.contactPageSubtitle) !== void 0 ? l.value.contactPageSubtitle : (i = a.currentPage.value) == null ? void 0 : i.subtitle;
1950
- }), d = w(
1950
+ }), v = w(
1951
1951
  () => [
1952
1952
  o.address.street1,
1953
1953
  o.address.street2,
@@ -1956,14 +1956,14 @@ const Hn = {
1956
1956
  o.address.postalCode
1957
1957
  ].filter(Boolean).join(", ")
1958
1958
  );
1959
- return (i, f) => P(a).currentPage.value ? (c(), p("div", {
1959
+ return (i, f) => j(a).currentPage.value ? (c(), p("div", {
1960
1960
  key: 0,
1961
1961
  class: e(i.$style.layout)
1962
1962
  }, [
1963
- n("div", {
1963
+ t("div", {
1964
1964
  class: e(i.$style.layoutScrollable)
1965
1965
  }, [
1966
- n("div", {
1966
+ t("div", {
1967
1967
  class: e(i.$style.addressBar)
1968
1968
  }, [
1969
1969
  (c(), p("svg", {
@@ -1975,55 +1975,55 @@ const Hn = {
1975
1975
  "stroke-width": "2",
1976
1976
  class: e(i.$style.addressIcon)
1977
1977
  }, [...f[0] || (f[0] = [
1978
- n("circle", {
1978
+ t("circle", {
1979
1979
  cx: "12",
1980
1980
  cy: "10",
1981
1981
  r: "3"
1982
1982
  }, null, -1),
1983
- n("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z" }, null, -1)
1983
+ t("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z" }, null, -1)
1984
1984
  ])], 2)),
1985
- n("span", {
1985
+ t("span", {
1986
1986
  class: e(i.$style.addressText)
1987
- }, _(d.value), 3)
1987
+ }, L(v.value), 3)
1988
1988
  ], 2),
1989
- n("div", {
1989
+ t("div", {
1990
1990
  class: e(i.$style.contentSplit)
1991
1991
  }, [
1992
- n("div", {
1992
+ t("div", {
1993
1993
  class: e(i.$style.contentLeft)
1994
1994
  }, [
1995
- n("h1", {
1995
+ t("h1", {
1996
1996
  class: e(i.$style.pageTitle)
1997
- }, _(r.value), 3),
1998
- v.value ? (c(), p("p", {
1997
+ }, L(r.value), 3),
1998
+ d.value ? (c(), p("p", {
1999
1999
  key: 0,
2000
2000
  class: e(i.$style.pageSubtitle)
2001
- }, _(v.value), 3)) : E("", !0)
2001
+ }, L(d.value), 3)) : q("", !0)
2002
2002
  ], 2),
2003
- n("div", {
2003
+ t("div", {
2004
2004
  class: e(i.$style.contentRight)
2005
2005
  }, [
2006
- oe(oa)
2006
+ ee(la)
2007
2007
  ], 2)
2008
2008
  ], 2)
2009
2009
  ], 2),
2010
- oe($a)
2011
- ], 2)) : E("", !0);
2010
+ ee(Ca)
2011
+ ], 2)) : q("", !0);
2012
2012
  }
2013
- }), Ca = "_layout_1as8w_2", _a = "_layoutScrollable_1as8w_9", wa = "_addressBar_1as8w_25", La = "_addressIcon_1as8w_33", Ia = "_addressText_1as8w_37", Sa = "_contentSplit_1as8w_43", qa = "_contentLeft_1as8w_57", Ea = "_contentRight_1as8w_63", Da = "_pageTitle_1as8w_79", Ma = "_pageSubtitle_1as8w_87", Aa = {
2014
- layout: Ca,
2015
- layoutScrollable: _a,
2016
- addressBar: wa,
2017
- addressIcon: La,
2018
- addressText: Ia,
2019
- contentSplit: Sa,
2020
- contentLeft: qa,
2021
- contentRight: Ea,
2022
- pageTitle: Da,
2023
- pageSubtitle: Ma
2024
- }, Ta = {
2025
- $style: Aa
2026
- }, Ba = /* @__PURE__ */ G(ka, [["__cssModules", Ta]]), Pa = /* @__PURE__ */ x({
2013
+ }), wa = "_layout_1as8w_2", La = "_layoutScrollable_1as8w_9", Ia = "_addressBar_1as8w_25", Sa = "_addressIcon_1as8w_33", Ea = "_addressText_1as8w_37", qa = "_contentSplit_1as8w_43", Da = "_contentLeft_1as8w_57", Ma = "_contentRight_1as8w_63", Aa = "_pageTitle_1as8w_79", Ta = "_pageSubtitle_1as8w_87", Pa = {
2014
+ layout: wa,
2015
+ layoutScrollable: La,
2016
+ addressBar: Ia,
2017
+ addressIcon: Sa,
2018
+ addressText: Ea,
2019
+ contentSplit: qa,
2020
+ contentLeft: Da,
2021
+ contentRight: Ma,
2022
+ pageTitle: Aa,
2023
+ pageSubtitle: Ta
2024
+ }, Ba = {
2025
+ $style: Pa
2026
+ }, ja = /* @__PURE__ */ G(_a, [["__cssModules", Ba]]), xa = /* @__PURE__ */ x({
2027
2027
  __name: "DtcOnboardingFlow",
2028
2028
  props: {
2029
2029
  address: {},
@@ -2037,65 +2037,89 @@ const Hn = {
2037
2037
  onClose: {}
2038
2038
  },
2039
2039
  emits: ["submit", "page-change", "answer-change", "ready", "error"],
2040
- setup(t, { emit: o }) {
2041
- const a = t, l = He();
2042
- de("dtc-consent-slots", l);
2040
+ setup(s, { emit: o }) {
2041
+ const a = s, l = Ve();
2042
+ pe("dtc-consent-slots", l);
2043
2043
  const u = w(() => ({
2044
2044
  submitLabel: a.submitLabel,
2045
2045
  contactPageTitle: a.contactPageTitle,
2046
2046
  contactPageSubtitle: a.contactPageSubtitle
2047
2047
  }));
2048
- de("dtc-overrides", u);
2049
- const r = o, v = w(() => ye(a.appearance));
2050
- function d(L) {
2051
- r("submit", L);
2048
+ pe("dtc-overrides", u);
2049
+ const r = o, d = w(() => fe(a.appearance));
2050
+ function v(_) {
2051
+ r("submit", _);
2052
2052
  }
2053
- function i(L, M) {
2054
- r("page-change", L, M);
2053
+ function i(_, A) {
2054
+ r("page-change", _, A);
2055
2055
  }
2056
- function f(L, M) {
2057
- r("answer-change", L, M);
2056
+ function f(_, A) {
2057
+ r("answer-change", _, A);
2058
2058
  }
2059
2059
  function m() {
2060
2060
  r("ready");
2061
2061
  }
2062
- function b(L) {
2063
- r("error", L);
2062
+ function b(_) {
2063
+ r("error", _);
2064
2064
  }
2065
- function g() {
2066
- var L;
2067
- (L = a.onClose) == null || L.call(a);
2065
+ function h() {
2066
+ var _;
2067
+ (_ = a.onClose) == null || _.call(a);
2068
2068
  }
2069
- return (L, M) => (c(), p("div", {
2070
- class: e(L.$style.container),
2071
- style: le(v.value)
2069
+ return (_, A) => (c(), p("div", {
2070
+ class: e(_.$style.container),
2071
+ style: ie(d.value)
2072
2072
  }, [
2073
- oe(hn, {
2074
- "initial-answers": t.initialAnswers,
2075
- "skip-pages": t.skipPages,
2076
- "on-submit": d,
2073
+ ee(bs, {
2074
+ "initial-answers": s.initialAnswers,
2075
+ "skip-pages": s.skipPages,
2076
+ "on-submit": v,
2077
2077
  "on-page-change": i,
2078
2078
  "on-answer-change": f,
2079
2079
  "on-ready": m,
2080
2080
  "on-error": b
2081
2081
  }, {
2082
- default: Oe(() => [
2083
- oe(je, {
2084
- "partner-logo-url": t.partnerLogoUrl,
2085
- "show-close-button": !!t.onClose,
2086
- onClose: g
2082
+ default: Ue(() => [
2083
+ ee(xe, {
2084
+ "partner-logo-url": s.partnerLogoUrl,
2085
+ "show-close-button": !!s.onClose,
2086
+ onClose: h
2087
2087
  }, null, 8, ["partner-logo-url", "show-close-button"]),
2088
- oe(Ba, { address: t.address }, null, 8, ["address"])
2088
+ ee(ja, { address: s.address }, null, 8, ["address"])
2089
2089
  ]),
2090
2090
  _: 1
2091
2091
  }, 8, ["initial-answers", "skip-pages"])
2092
2092
  ], 6));
2093
2093
  }
2094
- }), ja = "_container_kjhh7_2", xa = {
2095
- container: ja
2096
- }, Fa = {
2097
- $style: xa
2098
- }, nr = /* @__PURE__ */ G(Pa, [["__cssModules", Fa]]), Ra = ["disabled"], Na = ["value", "disabled"], Ga = ["checked", "disabled"], Ha = ["checked", "disabled"], Oa = ["disabled"], Va = ["disabled"], Ua = ["disabled"], Za = ["disabled"], Wa = ["disabled"], za = ["disabled", "aria-pressed", "onClick"], Ka = ["onClick"], Qa = ["disabled"], Ya = /* @__PURE__ */ x({
2094
+ }), Fa = "_container_kjhh7_2", Ra = {
2095
+ container: Fa
2096
+ }, Na = {
2097
+ $style: Ra
2098
+ }, dr = /* @__PURE__ */ G(xa, [["__cssModules", Na]]), Ga = ["href"], Oa = /* @__PURE__ */ x({
2099
+ __name: "SupportFallback",
2100
+ props: {
2101
+ phone: {}
2102
+ },
2103
+ setup(s) {
2104
+ const o = s, a = w(() => `tel:${o.phone.replace(/\D/g, "")}`);
2105
+ return (l, u) => (c(), p("p", {
2106
+ class: e(l.$style.subtitle),
2107
+ "data-testid": "schedule-assessment-support"
2108
+ }, [
2109
+ u[0] || (u[0] = ce(" Call Opendoor at ", -1)),
2110
+ t("a", {
2111
+ class: e(l.$style.linkInline),
2112
+ href: a.value
2113
+ }, L(s.phone), 11, Ga),
2114
+ u[1] || (u[1] = ce(" to schedule. ", -1))
2115
+ ], 2));
2116
+ }
2117
+ }), Ha = "_subtitle_lo5t7_2", Va = "_linkInline_lo5t7_9", Ua = {
2118
+ subtitle: Ha,
2119
+ linkInline: Va
2120
+ }, Za = {
2121
+ $style: Ua
2122
+ }, Pe = /* @__PURE__ */ G(Oa, [["__cssModules", Za]]), Wa = ["disabled"], za = ["value", "disabled"], Ka = ["checked", "disabled"], Qa = ["checked", "disabled"], Ya = ["disabled"], Xa = ["disabled"], Ja = ["disabled"], el = ["disabled"], tl = ["disabled"], sl = ["disabled", "aria-pressed", "onClick"], nl = ["onClick"], ol = ["disabled"], al = "888-352-7075", ll = /* @__PURE__ */ x({
2099
2123
  __name: "ScheduleAssessmentFlow",
2100
2124
  props: {
2101
2125
  offerId: {},
@@ -2104,180 +2128,183 @@ const Hn = {
2104
2128
  address: {},
2105
2129
  appearance: {},
2106
2130
  partnerLogoUrl: {},
2107
- onClose: { type: Function }
2131
+ onClose: { type: Function },
2132
+ supportPhone: {}
2108
2133
  },
2109
2134
  emits: ["scheduled", "done", "ready", "error"],
2110
- setup(t, { emit: o }) {
2111
- const a = t;
2112
- function l() {
2113
- var s;
2114
- (s = a.onClose) == null || s.call(a);
2135
+ setup(s, { emit: o }) {
2136
+ const a = s, l = w(
2137
+ () => a.supportPhone || al
2138
+ );
2139
+ function u() {
2140
+ var n;
2141
+ (n = a.onClose) == null || n.call(a);
2115
2142
  }
2116
- const u = o, r = Pe(), v = w(() => ye(a.appearance)), d = I("select"), i = I(!0), f = I(null), m = I([]), b = I("UTC"), g = I(null), L = I(null), M = I(null), D = I(a.customerName ?? ""), H = I(T(a.customerPhone ?? "")), A = I(null), Z = I(""), j = I(!1), O = I(null);
2117
- ve(async () => {
2143
+ const r = o, d = je(), v = w(() => fe(a.appearance)), i = I("select"), f = I(!0), m = I(null), b = I([]), h = I("UTC"), _ = I(null), A = I(null), D = I(null), F = I(a.customerName ?? ""), M = I(P(a.customerPhone ?? "")), V = I(null), Z = I(""), B = I(!1), S = I(null);
2144
+ ye(async () => {
2118
2145
  if (!(a.customerName && a.customerPhone))
2119
2146
  try {
2120
- const s = await r.value.getCustomerContact({
2147
+ const n = await d.value.getCustomerContact({
2121
2148
  opendoorOfferRequestId: a.offerId
2122
2149
  });
2123
- !a.customerName && !D.value && s.fullName && (D.value = s.fullName), !a.customerPhone && !H.value && s.phoneNumber && (H.value = T(s.phoneNumber));
2150
+ !a.customerName && !F.value && n.fullName && (F.value = n.fullName), !a.customerPhone && !M.value && n.phoneNumber && (M.value = P(n.phoneNumber));
2124
2151
  } catch {
2125
2152
  }
2126
- }), ve(async () => {
2153
+ }), ye(async () => {
2127
2154
  try {
2128
- const s = await r.value.getAssessmentSlots({
2155
+ const n = await d.value.getAssessmentSlots({
2129
2156
  offerId: a.offerId
2130
2157
  });
2131
- if (m.value = s.availableSlots, b.value = s.timezone, s.availableSlots.length > 0)
2132
- g.value = z(
2133
- B(s.availableSlots[0], s.timezone)
2158
+ if (b.value = n.availableSlots, h.value = n.timezone, n.availableSlots.length > 0)
2159
+ _.value = me(
2160
+ W(n.availableSlots[0], n.timezone)
2134
2161
  );
2135
2162
  else {
2136
- const h = /* @__PURE__ */ new Date();
2137
- g.value = { year: h.getFullYear(), month: h.getMonth() };
2163
+ const g = /* @__PURE__ */ new Date();
2164
+ _.value = { year: g.getFullYear(), month: g.getMonth() };
2138
2165
  }
2139
- i.value = !1, u("ready");
2140
- } catch (s) {
2141
- const h = s instanceof Error ? s : new Error(String(s));
2142
- f.value = h;
2166
+ f.value = !1, r("ready");
2167
+ } catch (n) {
2168
+ const g = n instanceof Error ? n : new Error(String(n));
2169
+ m.value = g;
2143
2170
  const k = /* @__PURE__ */ new Date();
2144
- g.value = { year: k.getFullYear(), month: k.getMonth() }, i.value = !1, u("error", h);
2171
+ _.value = { year: k.getFullYear(), month: k.getMonth() }, f.value = !1, r("error", g);
2145
2172
  }
2146
2173
  });
2147
- const S = w(() => {
2148
- const s = /* @__PURE__ */ new Map();
2149
- for (const h of m.value) {
2150
- const k = B(h, b.value), F = s.get(k) ?? [];
2151
- F.push(h), s.set(k, F);
2174
+ const R = w(() => {
2175
+ const n = /* @__PURE__ */ new Map();
2176
+ for (const g of b.value) {
2177
+ const k = W(g, h.value), N = n.get(k) ?? [];
2178
+ N.push(g), n.set(k, N);
2152
2179
  }
2153
- return s;
2154
- }), U = w(() => g.value ? ge(g.value) : []), Q = w(
2155
- () => g.value ? De(g.value) : ""
2156
- ), re = w(
2157
- () => g.value ? ke(g.value, S.value) : !1
2158
- ), J = w(
2159
- () => g.value ? Ce(g.value, S.value) : !1
2160
- ), W = w(
2161
- () => L.value ? S.value.get(L.value) ?? [] : []
2162
- ), ie = w(() => {
2163
- const s = W.value[0];
2164
- return s ? fe(new Date(s), b.value) : null;
2165
- }), X = w(
2166
- () => M.value ? new Date(M.value) : null
2180
+ return n;
2181
+ }), Y = w(() => _.value ? ke(_.value) : []), ne = w(
2182
+ () => _.value ? $e(_.value) : ""
2183
+ ), X = w(
2184
+ () => _.value ? Ce(_.value, R.value) : !1
2185
+ ), z = w(
2186
+ () => _.value ? _e(_.value, R.value) : !1
2187
+ ), ue = w(
2188
+ () => A.value ? R.value.get(A.value) ?? [] : []
2189
+ ), J = w(() => {
2190
+ const n = ue.value[0];
2191
+ return n ? ge(new Date(n), h.value) : null;
2192
+ }), oe = w(
2193
+ () => D.value ? new Date(D.value) : null
2167
2194
  );
2168
- function ue(s) {
2169
- s && S.value.has(s.key) && (L.value = s.key, M.value = null);
2195
+ function ae(n) {
2196
+ n && R.value.has(n.key) && (A.value = n.key, D.value = null);
2170
2197
  }
2171
- function te(s) {
2172
- g.value && (g.value = pe(g.value, s));
2198
+ function $(n) {
2199
+ _.value && (_.value = De(_.value, n));
2173
2200
  }
2174
- const $ = w(() => {
2175
- const s = H.value.replace(/\D/g, "");
2176
- return !j.value && D.value.trim().length > 0 && s.length >= 10 && A.value !== null && (!A.value || Z.value.trim().length > 0);
2201
+ const y = w(() => {
2202
+ const n = M.value.replace(/\D/g, "");
2203
+ return !B.value && F.value.trim().length > 0 && n.length >= 10 && V.value !== null && (!V.value || Z.value.trim().length > 0);
2177
2204
  });
2178
- function y(s) {
2179
- const h = s.target;
2180
- H.value = T(h.value), h.value = H.value;
2205
+ function C(n) {
2206
+ const g = n.target;
2207
+ M.value = P(g.value), g.value = M.value;
2181
2208
  }
2182
- async function C() {
2183
- if (!(!$.value || !M.value)) {
2184
- j.value = !0, O.value = null;
2209
+ async function E() {
2210
+ if (!(!y.value || !D.value)) {
2211
+ B.value = !0, S.value = null;
2185
2212
  try {
2186
- const s = A.value ? `Customer: ${D.value.trim()}. Access instructions: ${Z.value.trim()}` : `Customer: ${D.value.trim()}. No gate code or entry restrictions.`, h = await r.value.scheduleAssessment({
2213
+ const n = V.value ? `Customer: ${F.value.trim()}. Access instructions: ${Z.value.trim()}` : `Customer: ${F.value.trim()}. No gate code or entry restrictions.`, g = await d.value.scheduleAssessment({
2187
2214
  offerId: a.offerId,
2188
- selectedInspectionTime: M.value,
2189
- reminderPhone: H.value.replace(/\D/g, ""),
2190
- notes: s
2215
+ selectedInspectionTime: D.value,
2216
+ reminderPhone: M.value.replace(/\D/g, ""),
2217
+ notes: n
2191
2218
  });
2192
- d.value = "success";
2219
+ i.value = "success";
2193
2220
  try {
2194
- u("scheduled", h.visitId);
2221
+ r("scheduled", g.visitId);
2195
2222
  } catch (k) {
2196
- const F = k instanceof Error ? k : new Error(String(k));
2197
- u("error", F);
2223
+ const N = k instanceof Error ? k : new Error(String(k));
2224
+ r("error", N);
2198
2225
  }
2199
- } catch (s) {
2200
- const h = s instanceof Error ? s : new Error(String(s));
2201
- O.value = h.message, u("error", h);
2226
+ } catch (n) {
2227
+ const g = n instanceof Error ? n : new Error(String(n));
2228
+ S.value = g.message, r("error", g);
2202
2229
  } finally {
2203
- j.value = !1;
2230
+ B.value = !1;
2204
2231
  }
2205
2232
  }
2206
2233
  }
2207
- function q(s) {
2208
- return s.trim().split(/\s+/)[0] ?? "";
2234
+ function T(n) {
2235
+ return n.trim().split(/\s+/)[0] ?? "";
2209
2236
  }
2210
- function T(s) {
2211
- const h = s.replace(/\D/g, "").slice(0, 10);
2212
- return h.length === 0 ? "" : h.length <= 3 ? `(${h}` : h.length <= 6 ? `(${h.slice(0, 3)}) ${h.slice(3)}` : `(${h.slice(0, 3)}) ${h.slice(3, 6)}-${h.slice(6)}`;
2237
+ function P(n) {
2238
+ const g = n.replace(/\D/g, "").slice(0, 10);
2239
+ return g.length === 0 ? "" : g.length <= 3 ? `(${g}` : g.length <= 6 ? `(${g.slice(0, 3)}) ${g.slice(3)}` : `(${g.slice(0, 3)}) ${g.slice(3, 6)}-${g.slice(6)}`;
2213
2240
  }
2214
- function B(s, h) {
2241
+ function W(n, g) {
2215
2242
  return new Intl.DateTimeFormat("en-CA", {
2216
- timeZone: h,
2243
+ timeZone: g,
2217
2244
  year: "numeric",
2218
2245
  month: "2-digit",
2219
2246
  day: "2-digit"
2220
- }).format(new Date(s));
2247
+ }).format(new Date(n));
2221
2248
  }
2222
- function z(s) {
2223
- const [h, k] = s.split("-").map((F) => parseInt(F, 10));
2224
- return { year: h, month: k - 1 };
2249
+ function me(n) {
2250
+ const [g, k] = n.split("-").map((N) => parseInt(N, 10));
2251
+ return { year: g, month: k - 1 };
2225
2252
  }
2226
- function pe(s, h) {
2227
- const k = s.year * 12 + s.month + h, F = Math.floor(k / 12), ne = k - F * 12;
2228
- return { year: F, month: ne };
2253
+ function De(n, g) {
2254
+ const k = n.year * 12 + n.month + g, N = Math.floor(k / 12), se = k - N * 12;
2255
+ return { year: N, month: se };
2229
2256
  }
2230
- function De({ year: s, month: h }) {
2231
- return new Date(Date.UTC(s, h, 1)).toLocaleString(void 0, {
2257
+ function $e({ year: n, month: g }) {
2258
+ return new Date(Date.UTC(n, g, 1)).toLocaleString(void 0, {
2232
2259
  timeZone: "UTC",
2233
2260
  month: "long",
2234
2261
  year: "numeric"
2235
2262
  });
2236
2263
  }
2237
- function fe(s, h) {
2264
+ function ge(n, g) {
2238
2265
  return new Intl.DateTimeFormat(void 0, {
2239
- timeZone: h,
2266
+ timeZone: g,
2240
2267
  weekday: "long",
2241
2268
  month: "long",
2242
2269
  day: "numeric"
2243
- }).format(s);
2270
+ }).format(n);
2244
2271
  }
2245
- function me(s, h) {
2272
+ function de(n, g) {
2246
2273
  return new Intl.DateTimeFormat(void 0, {
2247
- timeZone: h,
2274
+ timeZone: g,
2248
2275
  hour: "numeric",
2249
2276
  minute: "2-digit",
2250
2277
  hour12: !0
2251
- }).format(s);
2278
+ }).format(n);
2252
2279
  }
2253
- function ge({ year: s, month: h }) {
2254
- const k = new Date(Date.UTC(s, h, 1)).getUTCDay(), F = new Date(Date.UTC(s, h + 1, 0)).getUTCDate(), ne = Math.ceil((k + F) / 7) * 7, se = [], Re = String(s).padStart(4, "0"), Ne = String(h + 1).padStart(2, "0");
2255
- for (let we = 0; we < ne; we++) {
2280
+ function ke({ year: n, month: g }) {
2281
+ const k = new Date(Date.UTC(n, g, 1)).getUTCDay(), N = new Date(Date.UTC(n, g + 1, 0)).getUTCDate(), se = Math.ceil((k + N) / 7) * 7, le = [], Ge = String(n).padStart(4, "0"), Oe = String(g + 1).padStart(2, "0");
2282
+ for (let we = 0; we < se; we++) {
2256
2283
  const he = we - k + 1;
2257
- he < 1 || he > F ? se.push(null) : se.push({
2258
- key: `${Re}-${Ne}-${String(he).padStart(2, "0")}`,
2284
+ he < 1 || he > N ? le.push(null) : le.push({
2285
+ key: `${Ge}-${Oe}-${String(he).padStart(2, "0")}`,
2259
2286
  day: he
2260
2287
  });
2261
2288
  }
2262
- return se;
2289
+ return le;
2263
2290
  }
2264
- function ke(s, h) {
2265
- for (const k of h.keys()) {
2266
- const [F, ne] = k.split("-").map((se) => parseInt(se, 10));
2267
- if (F < s.year || F === s.year && ne - 1 < s.month)
2291
+ function Ce(n, g) {
2292
+ for (const k of g.keys()) {
2293
+ const [N, se] = k.split("-").map((le) => parseInt(le, 10));
2294
+ if (N < n.year || N === n.year && se - 1 < n.month)
2268
2295
  return !0;
2269
2296
  }
2270
2297
  return !1;
2271
2298
  }
2272
- function Ce(s, h) {
2273
- for (const k of h.keys()) {
2274
- const [F, ne] = k.split("-").map((se) => parseInt(se, 10));
2275
- if (F > s.year || F === s.year && ne - 1 > s.month)
2299
+ function _e(n, g) {
2300
+ for (const k of g.keys()) {
2301
+ const [N, se] = k.split("-").map((le) => parseInt(le, 10));
2302
+ if (N > n.year || N === n.year && se - 1 > n.month)
2276
2303
  return !0;
2277
2304
  }
2278
2305
  return !1;
2279
2306
  }
2280
- const _e = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"], xe = [
2307
+ const Fe = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"], Re = [
2281
2308
  {
2282
2309
  title: "No extra preparation needed",
2283
2310
  description: "No need to fix, clean, or stage your home."
@@ -2290,7 +2317,7 @@ const Hn = {
2290
2317
  title: "30 minutes or less",
2291
2318
  description: "Examine the home's exterior and take a quick look inside."
2292
2319
  }
2293
- ], Fe = [
2320
+ ], Ne = [
2294
2321
  {
2295
2322
  title: "What are you looking for during the assessment?",
2296
2323
  body: "We will verify the property's condition matches your contract. We'll check the home's exterior and interior, including major systems, structure, and overall condition. This helps us confirm all details are accurate before closing."
@@ -2304,58 +2331,78 @@ const Hn = {
2304
2331
  body: "Once we're done with the home assessment, it typically takes a few days to email your final offer. You'll be able to see your final offer price along with the service charge, any repair cost, and your estimated closing costs."
2305
2332
  }
2306
2333
  ];
2307
- return (s, h) => (c(), p("div", {
2308
- class: e(s.$style.container),
2309
- style: le(v.value)
2334
+ return (n, g) => (c(), p("div", {
2335
+ class: e(n.$style.container),
2336
+ style: ie(v.value)
2310
2337
  }, [
2311
- oe(je, {
2312
- "partner-logo-url": t.partnerLogoUrl,
2313
- "show-close-button": !!t.onClose,
2314
- onClose: l
2338
+ ee(xe, {
2339
+ "partner-logo-url": s.partnerLogoUrl,
2340
+ "show-close-button": !!s.onClose,
2341
+ onClose: u
2315
2342
  }, null, 8, ["partner-logo-url", "show-close-button"]),
2316
- i.value ? (c(), p("div", {
2343
+ f.value ? (c(), p("div", {
2317
2344
  key: 0,
2318
- class: e(s.$style.root),
2345
+ class: e(n.$style.root),
2319
2346
  "data-testid": "schedule-assessment-loading"
2320
2347
  }, [
2321
- n("div", {
2322
- class: e(s.$style.card)
2348
+ t("div", {
2349
+ class: e(n.$style.card)
2323
2350
  }, [
2324
- n("p", {
2325
- class: e(s.$style.subtitle)
2351
+ t("p", {
2352
+ class: e(n.$style.subtitle)
2326
2353
  }, "Loading available times…", 2)
2327
2354
  ], 2)
2328
- ], 2)) : f.value ? (c(), p("div", {
2355
+ ], 2)) : m.value ? (c(), p("div", {
2329
2356
  key: 1,
2330
- class: e(s.$style.root),
2357
+ class: e(n.$style.root),
2331
2358
  "data-testid": "schedule-assessment-error"
2332
2359
  }, [
2333
- n("div", {
2334
- class: e(s.$style.card)
2360
+ t("div", {
2361
+ class: e(n.$style.card)
2335
2362
  }, [
2336
- n("p", {
2337
- class: e(s.$style.subtitle)
2338
- }, " We couldn't load available times. Please try again in a few minutes. ", 2)
2363
+ t("h2", {
2364
+ class: e(n.$style.title)
2365
+ }, "We couldn't load available times", 2),
2366
+ t("p", {
2367
+ class: e(n.$style.subtitle)
2368
+ }, "Please try again in a few minutes.", 2),
2369
+ ee(Pe, { phone: l.value }, null, 8, ["phone"])
2339
2370
  ], 2)
2340
- ], 2)) : d.value === "success" ? (c(), p("div", {
2371
+ ], 2)) : b.value.length === 0 ? (c(), p("div", {
2341
2372
  key: 2,
2342
- class: e(s.$style.root),
2373
+ class: e(n.$style.root),
2374
+ "data-testid": "schedule-assessment-empty"
2375
+ }, [
2376
+ t("div", {
2377
+ class: e(n.$style.card)
2378
+ }, [
2379
+ t("h2", {
2380
+ class: e(n.$style.title)
2381
+ }, "No available times right now", 2),
2382
+ t("p", {
2383
+ class: e(n.$style.subtitle)
2384
+ }, " We don't have any assessment times to show for your home yet. ", 2),
2385
+ ee(Pe, { phone: l.value }, null, 8, ["phone"])
2386
+ ], 2)
2387
+ ], 2)) : i.value === "success" ? (c(), p("div", {
2388
+ key: 3,
2389
+ class: e(n.$style.root),
2343
2390
  "data-testid": "schedule-assessment-success"
2344
2391
  }, [
2345
- n("div", {
2346
- class: e(s.$style.card)
2392
+ t("div", {
2393
+ class: e(n.$style.card)
2347
2394
  }, [
2348
- n("div", {
2349
- class: e(s.$style.successCheckCircle),
2395
+ t("div", {
2396
+ class: e(n.$style.successCheckCircle),
2350
2397
  "aria-hidden": "true"
2351
- }, [...h[9] || (h[9] = [
2352
- n("svg", {
2398
+ }, [...g[9] || (g[9] = [
2399
+ t("svg", {
2353
2400
  width: "20",
2354
2401
  height: "20",
2355
2402
  viewBox: "0 0 20 20",
2356
2403
  fill: "none"
2357
2404
  }, [
2358
- n("path", {
2405
+ t("path", {
2359
2406
  d: "M5 10.5l3 3 7-7",
2360
2407
  stroke: "currentColor",
2361
2408
  "stroke-width": "2",
@@ -2364,21 +2411,21 @@ const Hn = {
2364
2411
  })
2365
2412
  ], -1)
2366
2413
  ])], 2),
2367
- n("h2", {
2368
- class: e(s.$style.title)
2369
- }, _(D.value ? `${q(D.value)}, your assessment is scheduled!` : "Your assessment is scheduled!"), 3),
2370
- n("p", {
2371
- class: e(s.$style.subtitle)
2414
+ t("h2", {
2415
+ class: e(n.$style.title)
2416
+ }, L(F.value ? `${T(F.value)}, your assessment is scheduled!` : "Your assessment is scheduled!"), 3),
2417
+ t("p", {
2418
+ class: e(n.$style.subtitle)
2372
2419
  }, " A calendar invite has been sent to your email address. ", 2),
2373
- n("div", {
2374
- class: e(s.$style.summaryCard)
2420
+ t("div", {
2421
+ class: e(n.$style.summaryCard)
2375
2422
  }, [
2376
- X.value ? (c(), p(N, { key: 0 }, [
2377
- n("div", {
2378
- class: e(s.$style.summaryRow)
2423
+ oe.value ? (c(), p(H, { key: 0 }, [
2424
+ t("div", {
2425
+ class: e(n.$style.summaryRow)
2379
2426
  }, [
2380
2427
  (c(), p("svg", {
2381
- class: e(s.$style.summaryIcon),
2428
+ class: e(n.$style.summaryIcon),
2382
2429
  width: "16",
2383
2430
  height: "16",
2384
2431
  viewBox: "0 0 16 16",
@@ -2388,23 +2435,23 @@ const Hn = {
2388
2435
  "stroke-linecap": "round",
2389
2436
  "stroke-linejoin": "round",
2390
2437
  "aria-hidden": "true"
2391
- }, [...h[10] || (h[10] = [
2392
- n("rect", {
2438
+ }, [...g[10] || (g[10] = [
2439
+ t("rect", {
2393
2440
  x: "2",
2394
2441
  y: "3.5",
2395
2442
  width: "12",
2396
2443
  height: "11",
2397
2444
  rx: "1.5"
2398
2445
  }, null, -1),
2399
- n("path", { d: "M2 6.5h12M5.5 2v3M10.5 2v3" }, null, -1)
2446
+ t("path", { d: "M2 6.5h12M5.5 2v3M10.5 2v3" }, null, -1)
2400
2447
  ])], 2)),
2401
- n("span", null, _(fe(X.value, b.value)), 1)
2448
+ t("span", null, L(ge(oe.value, h.value)), 1)
2402
2449
  ], 2),
2403
- n("div", {
2404
- class: e(s.$style.summaryRow)
2450
+ t("div", {
2451
+ class: e(n.$style.summaryRow)
2405
2452
  }, [
2406
2453
  (c(), p("svg", {
2407
- class: e(s.$style.summaryIcon),
2454
+ class: e(n.$style.summaryIcon),
2408
2455
  width: "16",
2409
2456
  height: "16",
2410
2457
  viewBox: "0 0 16 16",
@@ -2414,23 +2461,23 @@ const Hn = {
2414
2461
  "stroke-linecap": "round",
2415
2462
  "stroke-linejoin": "round",
2416
2463
  "aria-hidden": "true"
2417
- }, [...h[11] || (h[11] = [
2418
- n("circle", {
2464
+ }, [...g[11] || (g[11] = [
2465
+ t("circle", {
2419
2466
  cx: "8",
2420
2467
  cy: "8",
2421
2468
  r: "6"
2422
2469
  }, null, -1),
2423
- n("path", { d: "M8 4.5V8l2.5 1.5" }, null, -1)
2470
+ t("path", { d: "M8 4.5V8l2.5 1.5" }, null, -1)
2424
2471
  ])], 2)),
2425
- n("span", null, _(me(X.value, b.value)), 1)
2472
+ t("span", null, L(de(oe.value, h.value)), 1)
2426
2473
  ], 2)
2427
- ], 64)) : E("", !0),
2428
- t.address ? (c(), p("div", {
2474
+ ], 64)) : q("", !0),
2475
+ s.address ? (c(), p("div", {
2429
2476
  key: 1,
2430
- class: e(s.$style.summaryRow)
2477
+ class: e(n.$style.summaryRow)
2431
2478
  }, [
2432
2479
  (c(), p("svg", {
2433
- class: e(s.$style.summaryIcon),
2480
+ class: e(n.$style.summaryIcon),
2434
2481
  width: "16",
2435
2482
  height: "16",
2436
2483
  viewBox: "0 0 16 16",
@@ -2440,157 +2487,157 @@ const Hn = {
2440
2487
  "stroke-linecap": "round",
2441
2488
  "stroke-linejoin": "round",
2442
2489
  "aria-hidden": "true"
2443
- }, [...h[12] || (h[12] = [
2444
- n("path", { d: "M8 14s-4.5-4-4.5-7.5a4.5 4.5 0 1 1 9 0C12.5 10 8 14 8 14z" }, null, -1),
2445
- n("circle", {
2490
+ }, [...g[12] || (g[12] = [
2491
+ t("path", { d: "M8 14s-4.5-4-4.5-7.5a4.5 4.5 0 1 1 9 0C12.5 10 8 14 8 14z" }, null, -1),
2492
+ t("circle", {
2446
2493
  cx: "8",
2447
2494
  cy: "6.5",
2448
2495
  r: "1.5"
2449
2496
  }, null, -1)
2450
2497
  ])], 2)),
2451
- n("span", null, _(t.address), 1)
2452
- ], 2)) : E("", !0)
2498
+ t("span", null, L(s.address), 1)
2499
+ ], 2)) : q("", !0)
2453
2500
  ], 2),
2454
- n("button", {
2501
+ t("button", {
2455
2502
  type: "button",
2456
- class: e(s.$style.primaryButton),
2457
- onClick: h[0] || (h[0] = (k) => u("done"))
2503
+ class: e(n.$style.primaryButton),
2504
+ onClick: g[0] || (g[0] = (k) => r("done"))
2458
2505
  }, " Done ", 2)
2459
2506
  ], 2)
2460
- ], 2)) : d.value === "confirm" ? (c(), p("div", {
2461
- key: 3,
2462
- class: e(s.$style.root),
2507
+ ], 2)) : i.value === "confirm" ? (c(), p("div", {
2508
+ key: 4,
2509
+ class: e(n.$style.root),
2463
2510
  "data-testid": "schedule-assessment-confirm"
2464
2511
  }, [
2465
- n("div", {
2466
- class: e(s.$style.card)
2512
+ t("div", {
2513
+ class: e(n.$style.card)
2467
2514
  }, [
2468
- n("h2", {
2469
- class: e(s.$style.title)
2515
+ t("h2", {
2516
+ class: e(n.$style.title)
2470
2517
  }, "Confirm your details", 2),
2471
- n("label", {
2472
- class: e(s.$style.field)
2518
+ t("label", {
2519
+ class: e(n.$style.field)
2473
2520
  }, [
2474
- n("span", {
2475
- class: e(s.$style.fieldLabel)
2521
+ t("span", {
2522
+ class: e(n.$style.fieldLabel)
2476
2523
  }, "Customer name", 2),
2477
- qe(n("input", {
2478
- class: e(s.$style.input),
2524
+ Ee(t("input", {
2525
+ class: e(n.$style.input),
2479
2526
  type: "text",
2480
- "onUpdate:modelValue": h[1] || (h[1] = (k) => D.value = k),
2481
- disabled: j.value
2482
- }, null, 10, Ra), [
2483
- [Ee, D.value]
2527
+ "onUpdate:modelValue": g[1] || (g[1] = (k) => F.value = k),
2528
+ disabled: B.value
2529
+ }, null, 10, Wa), [
2530
+ [qe, F.value]
2484
2531
  ])
2485
2532
  ], 2),
2486
- n("label", {
2487
- class: e(s.$style.field)
2533
+ t("label", {
2534
+ class: e(n.$style.field)
2488
2535
  }, [
2489
- n("span", {
2490
- class: e(s.$style.fieldLabel)
2536
+ t("span", {
2537
+ class: e(n.$style.fieldLabel)
2491
2538
  }, "Phone number", 2),
2492
- n("input", {
2493
- class: e(s.$style.input),
2539
+ t("input", {
2540
+ class: e(n.$style.input),
2494
2541
  type: "tel",
2495
2542
  inputmode: "tel",
2496
2543
  autocomplete: "tel",
2497
2544
  placeholder: "(555) 555-5555",
2498
- value: H.value,
2499
- disabled: j.value,
2500
- onInput: y
2501
- }, null, 42, Na)
2545
+ value: M.value,
2546
+ disabled: B.value,
2547
+ onInput: C
2548
+ }, null, 42, za)
2502
2549
  ], 2),
2503
- n("fieldset", {
2504
- class: e(s.$style.fieldset)
2550
+ t("fieldset", {
2551
+ class: e(n.$style.fieldset)
2505
2552
  }, [
2506
- n("legend", {
2507
- class: e(s.$style.fieldLabel)
2553
+ t("legend", {
2554
+ class: e(n.$style.fieldLabel)
2508
2555
  }, " Are there gate codes or entry restrictions? ", 2),
2509
- n("div", {
2510
- class: e(s.$style.radioRow)
2556
+ t("div", {
2557
+ class: e(n.$style.radioRow)
2511
2558
  }, [
2512
- n("label", {
2513
- class: e(s.$style.radioOption)
2559
+ t("label", {
2560
+ class: e(n.$style.radioOption)
2514
2561
  }, [
2515
- n("input", {
2562
+ t("input", {
2516
2563
  type: "radio",
2517
2564
  name: "gate-code",
2518
- checked: A.value === !0,
2519
- disabled: j.value,
2520
- onChange: h[2] || (h[2] = (k) => A.value = !0)
2521
- }, null, 40, Ga),
2522
- h[13] || (h[13] = n("span", null, "Yes", -1))
2565
+ checked: V.value === !0,
2566
+ disabled: B.value,
2567
+ onChange: g[2] || (g[2] = (k) => V.value = !0)
2568
+ }, null, 40, Ka),
2569
+ g[13] || (g[13] = t("span", null, "Yes", -1))
2523
2570
  ], 2),
2524
- n("label", {
2525
- class: e(s.$style.radioOption)
2571
+ t("label", {
2572
+ class: e(n.$style.radioOption)
2526
2573
  }, [
2527
- n("input", {
2574
+ t("input", {
2528
2575
  type: "radio",
2529
2576
  name: "gate-code",
2530
- checked: A.value === !1,
2531
- disabled: j.value,
2532
- onChange: h[3] || (h[3] = (k) => A.value = !1)
2533
- }, null, 40, Ha),
2534
- h[14] || (h[14] = n("span", null, "No", -1))
2577
+ checked: V.value === !1,
2578
+ disabled: B.value,
2579
+ onChange: g[3] || (g[3] = (k) => V.value = !1)
2580
+ }, null, 40, Qa),
2581
+ g[14] || (g[14] = t("span", null, "No", -1))
2535
2582
  ], 2)
2536
2583
  ], 2)
2537
2584
  ], 2),
2538
- A.value ? (c(), p("label", {
2585
+ V.value ? (c(), p("label", {
2539
2586
  key: 0,
2540
- class: e(s.$style.field)
2587
+ class: e(n.$style.field)
2541
2588
  }, [
2542
- n("span", {
2543
- class: e(s.$style.fieldLabel)
2589
+ t("span", {
2590
+ class: e(n.$style.fieldLabel)
2544
2591
  }, " Please provide access instructions for your home. ", 2),
2545
- qe(n("input", {
2546
- class: e(s.$style.input),
2592
+ Ee(t("input", {
2593
+ class: e(n.$style.input),
2547
2594
  type: "text",
2548
2595
  placeholder: "Gate code, directions, etc.",
2549
- "onUpdate:modelValue": h[4] || (h[4] = (k) => Z.value = k),
2550
- disabled: j.value
2551
- }, null, 10, Oa), [
2552
- [Ee, Z.value]
2596
+ "onUpdate:modelValue": g[4] || (g[4] = (k) => Z.value = k),
2597
+ disabled: B.value
2598
+ }, null, 10, Ya), [
2599
+ [qe, Z.value]
2553
2600
  ])
2554
- ], 2)) : E("", !0),
2555
- O.value ? (c(), p("p", {
2601
+ ], 2)) : q("", !0),
2602
+ S.value ? (c(), p("p", {
2556
2603
  key: 1,
2557
- class: e(s.$style.errorText)
2558
- }, _(O.value), 3)) : E("", !0),
2559
- n("div", {
2560
- class: e(s.$style.actionsRow)
2604
+ class: e(n.$style.errorText)
2605
+ }, L(S.value), 3)) : q("", !0),
2606
+ t("div", {
2607
+ class: e(n.$style.actionsRow)
2561
2608
  }, [
2562
- n("button", {
2609
+ t("button", {
2563
2610
  type: "button",
2564
- class: e(s.$style.linkButton),
2565
- disabled: j.value,
2566
- onClick: h[5] || (h[5] = (k) => d.value = "select")
2567
- }, " ← Back ", 10, Va),
2568
- n("button", {
2611
+ class: e(n.$style.linkButton),
2612
+ disabled: B.value,
2613
+ onClick: g[5] || (g[5] = (k) => i.value = "select")
2614
+ }, " ← Back ", 10, Xa),
2615
+ t("button", {
2569
2616
  type: "button",
2570
- class: e(s.$style.primaryButton),
2571
- disabled: !$.value,
2572
- onClick: C
2573
- }, _(j.value ? "Scheduling…" : "Schedule"), 11, Ua)
2617
+ class: e(n.$style.primaryButton),
2618
+ disabled: !y.value,
2619
+ onClick: E
2620
+ }, L(B.value ? "Scheduling…" : "Schedule"), 11, Ja)
2574
2621
  ], 2),
2575
- n("div", {
2576
- class: e(s.$style.faqBelowActions)
2622
+ t("div", {
2623
+ class: e(n.$style.faqBelowActions)
2577
2624
  }, [
2578
- n("div", {
2579
- class: e(s.$style.faq)
2625
+ t("div", {
2626
+ class: e(n.$style.faq)
2580
2627
  }, [
2581
- n("h3", {
2582
- class: e(s.$style.faqHeader)
2628
+ t("h3", {
2629
+ class: e(n.$style.faqHeader)
2583
2630
  }, "Frequently asked questions", 2),
2584
- (c(), p(N, null, Y(Fe, (k) => n("details", {
2631
+ (c(), p(H, null, Q(Ne, (k) => t("details", {
2585
2632
  key: k.title,
2586
- class: e(s.$style.faqItem)
2633
+ class: e(n.$style.faqItem)
2587
2634
  }, [
2588
- n("summary", {
2589
- class: e(s.$style.faqQuestion)
2635
+ t("summary", {
2636
+ class: e(n.$style.faqQuestion)
2590
2637
  }, [
2591
- n("span", null, _(k.title), 1),
2638
+ t("span", null, L(k.title), 1),
2592
2639
  (c(), p("svg", {
2593
- class: e(s.$style.faqChevron),
2640
+ class: e(n.$style.faqChevron),
2594
2641
  width: "16",
2595
2642
  height: "16",
2596
2643
  viewBox: "0 0 16 16",
@@ -2600,190 +2647,190 @@ const Hn = {
2600
2647
  "stroke-linecap": "round",
2601
2648
  "stroke-linejoin": "round",
2602
2649
  "aria-hidden": "true"
2603
- }, [...h[15] || (h[15] = [
2604
- n("path", { d: "M4 6l4 4 4-4" }, null, -1)
2650
+ }, [...g[15] || (g[15] = [
2651
+ t("path", { d: "M4 6l4 4 4-4" }, null, -1)
2605
2652
  ])], 2))
2606
2653
  ], 2),
2607
- n("p", {
2608
- class: e(s.$style.faqAnswer)
2609
- }, _(k.body), 3)
2654
+ t("p", {
2655
+ class: e(n.$style.faqAnswer)
2656
+ }, L(k.body), 3)
2610
2657
  ], 2)), 64))
2611
2658
  ], 2)
2612
2659
  ], 2)
2613
2660
  ], 2)
2614
2661
  ], 2)) : (c(), p("div", {
2615
- key: 4,
2616
- class: e(s.$style.root),
2662
+ key: 5,
2663
+ class: e(n.$style.root),
2617
2664
  "data-testid": "schedule-assessment-flow"
2618
2665
  }, [
2619
- n("div", {
2620
- class: e(s.$style.card)
2666
+ t("div", {
2667
+ class: e(n.$style.card)
2621
2668
  }, [
2622
- n("div", {
2623
- class: e(s.$style.stepLayout)
2669
+ t("div", {
2670
+ class: e(n.$style.stepLayout)
2624
2671
  }, [
2625
- n("div", {
2626
- class: e(s.$style.leftColumn)
2672
+ t("div", {
2673
+ class: e(n.$style.leftColumn)
2627
2674
  }, [
2628
- n("div", {
2629
- class: e(s.$style.introHeader)
2675
+ t("div", {
2676
+ class: e(n.$style.introHeader)
2630
2677
  }, [
2631
- n("h2", {
2632
- class: e(s.$style.titleLarge)
2678
+ t("h2", {
2679
+ class: e(n.$style.titleLarge)
2633
2680
  }, "Schedule your assessment", 2),
2634
- n("p", {
2635
- class: e(s.$style.subtitleLeft)
2681
+ t("p", {
2682
+ class: e(n.$style.subtitleLeft)
2636
2683
  }, "Pick a time that works for you.", 2)
2637
2684
  ], 2),
2638
- n("div", {
2639
- class: e(s.$style.featuresList)
2685
+ t("div", {
2686
+ class: e(n.$style.featuresList)
2640
2687
  }, [
2641
- (c(), p(N, null, Y(xe, (k) => n("div", {
2688
+ (c(), p(H, null, Q(Re, (k) => t("div", {
2642
2689
  key: k.title,
2643
- class: e(s.$style.feature)
2690
+ class: e(n.$style.feature)
2644
2691
  }, [
2645
- n("p", {
2646
- class: e(s.$style.featureTitle)
2647
- }, _(k.title), 3),
2648
- n("p", {
2649
- class: e(s.$style.featureDescription)
2650
- }, _(k.description), 3)
2692
+ t("p", {
2693
+ class: e(n.$style.featureTitle)
2694
+ }, L(k.title), 3),
2695
+ t("p", {
2696
+ class: e(n.$style.featureDescription)
2697
+ }, L(k.description), 3)
2651
2698
  ], 2)), 64))
2652
2699
  ], 2)
2653
2700
  ], 2),
2654
- n("div", {
2655
- class: e(s.$style.schedule)
2701
+ t("div", {
2702
+ class: e(n.$style.schedule)
2656
2703
  }, [
2657
- n("div", {
2658
- class: e(s.$style.calendarHeader)
2704
+ t("div", {
2705
+ class: e(n.$style.calendarHeader)
2659
2706
  }, [
2660
- n("button", {
2707
+ t("button", {
2661
2708
  type: "button",
2662
- class: e(s.$style.calendarNavButton),
2663
- disabled: !re.value,
2709
+ class: e(n.$style.calendarNavButton),
2710
+ disabled: !X.value,
2664
2711
  "aria-label": "Previous month",
2665
- onClick: h[6] || (h[6] = (k) => te(-1))
2666
- }, " ‹ ", 10, Za),
2667
- n("span", {
2668
- class: e(s.$style.calendarMonthLabel)
2669
- }, _(Q.value), 3),
2670
- n("button", {
2712
+ onClick: g[6] || (g[6] = (k) => $(-1))
2713
+ }, " ‹ ", 10, el),
2714
+ t("span", {
2715
+ class: e(n.$style.calendarMonthLabel)
2716
+ }, L(ne.value), 3),
2717
+ t("button", {
2671
2718
  type: "button",
2672
- class: e(s.$style.calendarNavButton),
2673
- disabled: !J.value,
2719
+ class: e(n.$style.calendarNavButton),
2720
+ disabled: !z.value,
2674
2721
  "aria-label": "Next month",
2675
- onClick: h[7] || (h[7] = (k) => te(1))
2676
- }, " › ", 10, Wa)
2722
+ onClick: g[7] || (g[7] = (k) => $(1))
2723
+ }, " › ", 10, tl)
2677
2724
  ], 2),
2678
- n("div", {
2679
- class: e(s.$style.calendarGrid)
2725
+ t("div", {
2726
+ class: e(n.$style.calendarGrid)
2680
2727
  }, [
2681
- (c(), p(N, null, Y(_e, (k) => n("div", {
2728
+ (c(), p(H, null, Q(Fe, (k) => t("div", {
2682
2729
  key: k,
2683
- class: e(s.$style.calendarDayHeader)
2684
- }, _(k), 3)), 64)),
2685
- (c(!0), p(N, null, Y(U.value, (k, F) => (c(), p("button", {
2686
- key: k ? k.key : `empty-${Q.value}-${F}`,
2730
+ class: e(n.$style.calendarDayHeader)
2731
+ }, L(k), 3)), 64)),
2732
+ (c(!0), p(H, null, Q(Y.value, (k, N) => (c(), p("button", {
2733
+ key: k ? k.key : `empty-${ne.value}-${N}`,
2687
2734
  type: "button",
2688
2735
  class: e(
2689
- k && L.value === k.key ? s.$style.calendarDaySelected : k && S.value.has(k.key) ? s.$style.calendarDayAvailable : s.$style.calendarDayDisabled
2736
+ k && A.value === k.key ? n.$style.calendarDaySelected : k && R.value.has(k.key) ? n.$style.calendarDayAvailable : n.$style.calendarDayDisabled
2690
2737
  ),
2691
- disabled: !k || !S.value.has(k.key),
2692
- "aria-pressed": !!(k && L.value === k.key),
2693
- onClick: (ne) => ue(k)
2694
- }, _(k ? k.day : ""), 11, za))), 128))
2738
+ disabled: !k || !R.value.has(k.key),
2739
+ "aria-pressed": !!(k && A.value === k.key),
2740
+ onClick: (se) => ae(k)
2741
+ }, L(k ? k.day : ""), 11, sl))), 128))
2695
2742
  ], 2),
2696
- ie.value ? (c(), p(N, { key: 0 }, [
2697
- n("p", {
2698
- class: e(s.$style.timesHeader)
2699
- }, " Available times for " + _(ie.value), 3),
2700
- n("div", {
2701
- class: e(s.$style.timeRow)
2743
+ J.value ? (c(), p(H, { key: 0 }, [
2744
+ t("p", {
2745
+ class: e(n.$style.timesHeader)
2746
+ }, " Available times for " + L(J.value), 3),
2747
+ t("div", {
2748
+ class: e(n.$style.timeRow)
2702
2749
  }, [
2703
- (c(!0), p(N, null, Y(W.value, (k) => (c(), p("button", {
2750
+ (c(!0), p(H, null, Q(ue.value, (k) => (c(), p("button", {
2704
2751
  key: k,
2705
2752
  type: "button",
2706
2753
  class: e(
2707
- k === M.value ? s.$style.timeButtonSelected : s.$style.timeButton
2754
+ k === D.value ? n.$style.timeButtonSelected : n.$style.timeButton
2708
2755
  ),
2709
- onClick: (F) => M.value = k
2710
- }, _(me(new Date(k), b.value)), 11, Ka))), 128))
2756
+ onClick: (N) => D.value = k
2757
+ }, L(de(new Date(k), h.value)), 11, nl))), 128))
2711
2758
  ], 2)
2712
- ], 64)) : E("", !0),
2713
- n("button", {
2759
+ ], 64)) : q("", !0),
2760
+ t("button", {
2714
2761
  type: "button",
2715
- class: e(s.$style.primaryButton),
2716
- disabled: !M.value,
2717
- onClick: h[8] || (h[8] = (k) => d.value = "confirm")
2718
- }, " Continue ", 10, Qa)
2762
+ class: e(n.$style.primaryButton),
2763
+ disabled: !D.value,
2764
+ onClick: g[8] || (g[8] = (k) => i.value = "confirm")
2765
+ }, " Continue ", 10, ol)
2719
2766
  ], 2)
2720
2767
  ], 2)
2721
2768
  ], 2)
2722
2769
  ], 2))
2723
2770
  ], 6));
2724
2771
  }
2725
- }), Xa = "_container_jxkpo_2", Ja = "_root_jxkpo_11", el = "_card_jxkpo_26", tl = "_titleLarge_jxkpo_43", nl = "_featuresList_jxkpo_47", sl = "_stepLayout_jxkpo_58", ol = "_leftColumn_jxkpo_65", al = "_introHeader_jxkpo_71", ll = "_schedule_jxkpo_77", rl = "_subtitleLeft_jxkpo_122", il = "_feature_jxkpo_47", ul = "_featureTitle_jxkpo_141", cl = "_featureDescription_jxkpo_148", dl = "_title_jxkpo_43", vl = "_subtitle_jxkpo_122", yl = "_calendarHeader_jxkpo_173", pl = "_calendarMonthLabel_jxkpo_180", fl = "_calendarNavButton_jxkpo_186", ml = "_calendarGrid_jxkpo_206", gl = "_calendarDayHeader_jxkpo_212", hl = "_calendarDayAvailable_jxkpo_221", bl = "_calendarDayDisabled_jxkpo_222", $l = "_calendarDaySelected_jxkpo_223", kl = "_timesHeader_jxkpo_254", Cl = "_timeRow_jxkpo_261", _l = "_timeButton_jxkpo_268", wl = "_timeButtonSelected_jxkpo_269", Ll = "_field_jxkpo_292", Il = "_fieldLabel_jxkpo_298", Sl = "_input_jxkpo_304", ql = "_fieldset_jxkpo_325", El = "_radioRow_jxkpo_334", Dl = "_radioOption_jxkpo_339", Ml = "_faqBelowActions_jxkpo_359", Al = "_faq_jxkpo_359", Tl = "_faqHeader_jxkpo_370", Bl = "_faqItem_jxkpo_378", Pl = "_faqQuestion_jxkpo_387", jl = "_faqAnswer_jxkpo_403", xl = "_faqChevron_jxkpo_410", Fl = "_errorText_jxkpo_420", Rl = "_actionsRow_jxkpo_426", Nl = "_linkButton_jxkpo_434", Gl = "_primaryButton_jxkpo_451", Hl = "_successCheckCircle_jxkpo_484", Ol = "_summaryCard_jxkpo_496", Vl = "_summaryRow_jxkpo_506", Ul = "_summaryIcon_jxkpo_514", Zl = {
2726
- container: Xa,
2727
- root: Ja,
2728
- card: el,
2729
- titleLarge: tl,
2730
- featuresList: nl,
2731
- stepLayout: sl,
2732
- leftColumn: ol,
2733
- introHeader: al,
2734
- schedule: ll,
2735
- subtitleLeft: rl,
2736
- feature: il,
2737
- featureTitle: ul,
2738
- featureDescription: cl,
2739
- title: dl,
2740
- subtitle: vl,
2741
- calendarHeader: yl,
2742
- calendarMonthLabel: pl,
2743
- calendarNavButton: fl,
2744
- calendarGrid: ml,
2745
- calendarDayHeader: gl,
2746
- calendarDayAvailable: hl,
2747
- calendarDayDisabled: bl,
2748
- calendarDaySelected: $l,
2749
- timesHeader: kl,
2750
- timeRow: Cl,
2751
- timeButton: _l,
2752
- timeButtonSelected: wl,
2753
- field: Ll,
2754
- fieldLabel: Il,
2755
- input: Sl,
2756
- fieldset: ql,
2757
- radioRow: El,
2758
- radioOption: Dl,
2759
- faqBelowActions: Ml,
2760
- faq: Al,
2761
- faqHeader: Tl,
2762
- faqItem: Bl,
2763
- faqQuestion: Pl,
2764
- faqAnswer: jl,
2765
- faqChevron: xl,
2766
- errorText: Fl,
2767
- actionsRow: Rl,
2768
- linkButton: Nl,
2769
- primaryButton: Gl,
2770
- successCheckCircle: Hl,
2771
- summaryCard: Ol,
2772
- summaryRow: Vl,
2773
- summaryIcon: Ul
2774
- }, Wl = {
2775
- $style: Zl
2776
- }, sr = /* @__PURE__ */ G(Ya, [["__cssModules", Wl]]);
2772
+ }), rl = "_container_jxkpo_2", il = "_root_jxkpo_11", ul = "_card_jxkpo_26", cl = "_titleLarge_jxkpo_43", dl = "_featuresList_jxkpo_47", vl = "_stepLayout_jxkpo_58", pl = "_leftColumn_jxkpo_65", yl = "_introHeader_jxkpo_71", fl = "_schedule_jxkpo_77", ml = "_subtitleLeft_jxkpo_122", gl = "_feature_jxkpo_47", hl = "_featureTitle_jxkpo_141", bl = "_featureDescription_jxkpo_148", $l = "_title_jxkpo_43", kl = "_subtitle_jxkpo_122", Cl = "_calendarHeader_jxkpo_173", _l = "_calendarMonthLabel_jxkpo_180", wl = "_calendarNavButton_jxkpo_186", Ll = "_calendarGrid_jxkpo_206", Il = "_calendarDayHeader_jxkpo_212", Sl = "_calendarDayAvailable_jxkpo_221", El = "_calendarDayDisabled_jxkpo_222", ql = "_calendarDaySelected_jxkpo_223", Dl = "_timesHeader_jxkpo_254", Ml = "_timeRow_jxkpo_261", Al = "_timeButton_jxkpo_268", Tl = "_timeButtonSelected_jxkpo_269", Pl = "_field_jxkpo_292", Bl = "_fieldLabel_jxkpo_298", jl = "_input_jxkpo_304", xl = "_fieldset_jxkpo_325", Fl = "_radioRow_jxkpo_334", Rl = "_radioOption_jxkpo_339", Nl = "_faqBelowActions_jxkpo_359", Gl = "_faq_jxkpo_359", Ol = "_faqHeader_jxkpo_370", Hl = "_faqItem_jxkpo_378", Vl = "_faqQuestion_jxkpo_387", Ul = "_faqAnswer_jxkpo_403", Zl = "_faqChevron_jxkpo_410", Wl = "_errorText_jxkpo_420", zl = "_actionsRow_jxkpo_426", Kl = "_linkButton_jxkpo_434", Ql = "_primaryButton_jxkpo_451", Yl = "_successCheckCircle_jxkpo_484", Xl = "_summaryCard_jxkpo_496", Jl = "_summaryRow_jxkpo_506", er = "_summaryIcon_jxkpo_514", tr = {
2773
+ container: rl,
2774
+ root: il,
2775
+ card: ul,
2776
+ titleLarge: cl,
2777
+ featuresList: dl,
2778
+ stepLayout: vl,
2779
+ leftColumn: pl,
2780
+ introHeader: yl,
2781
+ schedule: fl,
2782
+ subtitleLeft: ml,
2783
+ feature: gl,
2784
+ featureTitle: hl,
2785
+ featureDescription: bl,
2786
+ title: $l,
2787
+ subtitle: kl,
2788
+ calendarHeader: Cl,
2789
+ calendarMonthLabel: _l,
2790
+ calendarNavButton: wl,
2791
+ calendarGrid: Ll,
2792
+ calendarDayHeader: Il,
2793
+ calendarDayAvailable: Sl,
2794
+ calendarDayDisabled: El,
2795
+ calendarDaySelected: ql,
2796
+ timesHeader: Dl,
2797
+ timeRow: Ml,
2798
+ timeButton: Al,
2799
+ timeButtonSelected: Tl,
2800
+ field: Pl,
2801
+ fieldLabel: Bl,
2802
+ input: jl,
2803
+ fieldset: xl,
2804
+ radioRow: Fl,
2805
+ radioOption: Rl,
2806
+ faqBelowActions: Nl,
2807
+ faq: Gl,
2808
+ faqHeader: Ol,
2809
+ faqItem: Hl,
2810
+ faqQuestion: Vl,
2811
+ faqAnswer: Ul,
2812
+ faqChevron: Zl,
2813
+ errorText: Wl,
2814
+ actionsRow: zl,
2815
+ linkButton: Kl,
2816
+ primaryButton: Ql,
2817
+ successCheckCircle: Yl,
2818
+ summaryCard: Xl,
2819
+ summaryRow: Jl,
2820
+ summaryIcon: er
2821
+ }, sr = {
2822
+ $style: tr
2823
+ }, vr = /* @__PURE__ */ G(ll, [["__cssModules", sr]]);
2777
2824
  export {
2778
- Jl as AddressEntry,
2779
- er as AddressMap,
2780
- tr as AddressUnitConfirmation,
2781
- lr as DTC_ONBOARDING_PAGE_IDS,
2782
- nr as DtcOnboardingFlow,
2783
- rr as OpendoorClient,
2784
- Xl as OpendoorProvider,
2785
- sr as ScheduleAssessmentFlow,
2786
- ir as THEMES,
2787
- ur as resolveAppearance,
2788
- Pe as useOpendoorClient
2825
+ ir as AddressEntry,
2826
+ ur as AddressMap,
2827
+ cr as AddressUnitConfirmation,
2828
+ fr as DTC_ONBOARDING_PAGE_IDS,
2829
+ dr as DtcOnboardingFlow,
2830
+ mr as OpendoorClient,
2831
+ rr as OpendoorProvider,
2832
+ vr as ScheduleAssessmentFlow,
2833
+ gr as THEMES,
2834
+ hr as resolveAppearance,
2835
+ je as useOpendoorClient
2789
2836
  };