@srimandir/kundli-generator 7.5.18 → 7.5.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,106 +1,106 @@
1
- import tt, { useContext as at, createContext as kt, useState as M, useRef as Y, useEffect as J, useMemo as Re, useCallback as be, Fragment as Kt } from "react";
2
- import { FormSectionHeader as Ht, FooterCTAButton as Yt, FooterShell as qt, CircularMarquee as Vt, footerShellStyles as Ae, PageHeader as zt } from "@srimandir/astrology-common";
3
- var qe = { exports: {} }, We = {};
4
- var mt;
5
- function Jt() {
6
- if (mt) return We;
7
- mt = 1;
8
- var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, u = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function h(P, w, W) {
10
- var F, A = {}, p = null, O = null;
11
- W !== void 0 && (p = "" + W), w.key !== void 0 && (p = "" + w.key), w.ref !== void 0 && (O = w.ref);
12
- for (F in w) m.call(w, F) && !_.hasOwnProperty(F) && (A[F] = w[F]);
13
- if (P && P.defaultProps) for (F in w = P.defaultProps, w) A[F] === void 0 && (A[F] = w[F]);
14
- return { $$typeof: o, type: P, key: p, ref: O, props: A, _owner: u.current };
1
+ import at, { useContext as rt, createContext as xt, useState as D, useRef as q, useEffect as J, useMemo as Ne, useCallback as ye, Fragment as Yt } from "react";
2
+ import { FormSectionHeader as qt, FooterCTAButton as Vt, FooterShell as zt, CircularMarquee as Jt, footerShellStyles as Re, PageHeader as Qt } from "@srimandir/astrology-common";
3
+ var qe = { exports: {} }, Ke = {};
4
+ var ft;
5
+ function Xt() {
6
+ if (ft) return Ke;
7
+ ft = 1;
8
+ var a = at, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, p = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function f(T, x, $) {
10
+ var O, N = {}, u = null, G = null;
11
+ $ !== void 0 && (u = "" + $), x.key !== void 0 && (u = "" + x.key), x.ref !== void 0 && (G = x.ref);
12
+ for (O in x) m.call(x, O) && !_.hasOwnProperty(O) && (N[O] = x[O]);
13
+ if (T && T.defaultProps) for (O in x = T.defaultProps, x) N[O] === void 0 && (N[O] = x[O]);
14
+ return { $$typeof: o, type: T, key: u, ref: G, props: N, _owner: p.current };
15
15
  }
16
- return We.Fragment = l, We.jsx = h, We.jsxs = h, We;
16
+ return Ke.Fragment = s, Ke.jsx = f, Ke.jsxs = f, Ke;
17
17
  }
18
- var Ke = {};
19
- var ft;
20
- function Qt() {
21
- return ft || (ft = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var a = tt, o = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), u = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), P = /* @__PURE__ */ Symbol.for("react.context"), w = /* @__PURE__ */ Symbol.for("react.forward_ref"), W = /* @__PURE__ */ Symbol.for("react.suspense"), F = /* @__PURE__ */ Symbol.for("react.suspense_list"), A = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), O = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, G = "@@iterator";
23
- function k(t) {
18
+ var We = {};
19
+ var ht;
20
+ function Zt() {
21
+ return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
22
+ var a = at, o = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), p = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), f = /* @__PURE__ */ Symbol.for("react.provider"), T = /* @__PURE__ */ Symbol.for("react.context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), $ = /* @__PURE__ */ Symbol.for("react.suspense"), O = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), u = /* @__PURE__ */ Symbol.for("react.lazy"), G = /* @__PURE__ */ Symbol.for("react.offscreen"), v = Symbol.iterator, H = "@@iterator";
23
+ function y(t) {
24
24
  if (t === null || typeof t != "object")
25
25
  return null;
26
- var i = v && t[v] || t[G];
26
+ var i = v && t[v] || t[H];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
- var g = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
- function C(t) {
29
+ var h = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ function w(t) {
31
31
  {
32
- for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
33
- d[y - 1] = arguments[y];
34
- Q("error", t, d);
32
+ for (var i = arguments.length, d = new Array(i > 1 ? i - 1 : 0), b = 1; b < i; b++)
33
+ d[b - 1] = arguments[b];
34
+ Z("error", t, d);
35
35
  }
36
36
  }
37
- function Q(t, i, d) {
37
+ function Z(t, i, d) {
38
38
  {
39
- var y = g.ReactDebugCurrentFrame, $ = y.getStackAddendum();
40
- $ !== "" && (i += "%s", d = d.concat([$]));
41
- var q = d.map(function(L) {
42
- return String(L);
39
+ var b = h.ReactDebugCurrentFrame, W = b.getStackAddendum();
40
+ W !== "" && (i += "%s", d = d.concat([W]));
41
+ var z = d.map(function(B) {
42
+ return String(B);
43
43
  });
44
- q.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, q);
44
+ z.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, z);
45
45
  }
46
46
  }
47
- var N = !1, E = !1, T = !1, U = !1, b = !1, B;
48
- B = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function X(t) {
50
- return !!(typeof t == "string" || typeof t == "function" || t === m || t === _ || b || t === u || t === W || t === F || U || t === O || N || E || T || typeof t == "object" && t !== null && (t.$$typeof === p || t.$$typeof === A || t.$$typeof === h || t.$$typeof === P || t.$$typeof === w || // This needs to include all possible module reference object
47
+ var S = !1, U = !1, j = !1, K = !1, A = !1, L;
48
+ L = /* @__PURE__ */ Symbol.for("react.module.reference");
49
+ function re(t) {
50
+ return !!(typeof t == "string" || typeof t == "function" || t === m || t === _ || A || t === p || t === $ || t === O || K || t === G || S || U || j || typeof t == "object" && t !== null && (t.$$typeof === u || t.$$typeof === N || t.$$typeof === f || t.$$typeof === T || t.$$typeof === x || // This needs to include all possible module reference object
51
51
  // types supported by any Flight configuration anywhere since
52
52
  // we don't know which Flight build this will end up being used
53
53
  // with.
54
- t.$$typeof === B || t.getModuleId !== void 0));
54
+ t.$$typeof === L || t.getModuleId !== void 0));
55
55
  }
56
- function V(t, i, d) {
57
- var y = t.displayName;
58
- if (y)
59
- return y;
60
- var $ = i.displayName || i.name || "";
61
- return $ !== "" ? d + "(" + $ + ")" : d;
56
+ function Y(t, i, d) {
57
+ var b = t.displayName;
58
+ if (b)
59
+ return b;
60
+ var W = i.displayName || i.name || "";
61
+ return W !== "" ? d + "(" + W + ")" : d;
62
62
  }
63
- function D(t) {
63
+ function F(t) {
64
64
  return t.displayName || "Context";
65
65
  }
66
- function I(t) {
66
+ function E(t) {
67
67
  if (t == null)
68
68
  return null;
69
- if (typeof t.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
69
+ if (typeof t.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
70
70
  return t.displayName || t.name || null;
71
71
  if (typeof t == "string")
72
72
  return t;
73
73
  switch (t) {
74
74
  case m:
75
75
  return "Fragment";
76
- case l:
76
+ case s:
77
77
  return "Portal";
78
78
  case _:
79
79
  return "Profiler";
80
- case u:
80
+ case p:
81
81
  return "StrictMode";
82
- case W:
82
+ case $:
83
83
  return "Suspense";
84
- case F:
84
+ case O:
85
85
  return "SuspenseList";
86
86
  }
87
87
  if (typeof t == "object")
88
88
  switch (t.$$typeof) {
89
- case P:
89
+ case T:
90
90
  var i = t;
91
- return D(i) + ".Consumer";
92
- case h:
91
+ return F(i) + ".Consumer";
92
+ case f:
93
93
  var d = t;
94
- return D(d._context) + ".Provider";
95
- case w:
96
- return V(t, t.render, "ForwardRef");
97
- case A:
98
- var y = t.displayName || null;
99
- return y !== null ? y : I(t.type) || "Memo";
100
- case p: {
101
- var $ = t, q = $._payload, L = $._init;
94
+ return F(d._context) + ".Provider";
95
+ case x:
96
+ return Y(t, t.render, "ForwardRef");
97
+ case N:
98
+ var b = t.displayName || null;
99
+ return b !== null ? b : E(t.type) || "Memo";
100
+ case u: {
101
+ var W = t, z = W._payload, B = W._init;
102
102
  try {
103
- return I(L(q));
103
+ return E(B(z));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Qt() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var ee = Object.assign, Z = 0, z, ye, ne, s, S, K, ue;
112
- function ve() {
111
+ var I = Object.assign, Q = 0, M, ce, ee, ie, le, te, ke;
112
+ function he() {
113
113
  }
114
- ve.__reactDisabledLog = !0;
115
- function je() {
114
+ he.__reactDisabledLog = !0;
115
+ function Ce() {
116
116
  {
117
- if (Z === 0) {
118
- z = console.log, ye = console.info, ne = console.warn, s = console.error, S = console.group, K = console.groupCollapsed, ue = console.groupEnd;
117
+ if (Q === 0) {
118
+ M = console.log, ce = console.info, ee = console.warn, ie = console.error, le = console.group, te = console.groupCollapsed, ke = console.groupEnd;
119
119
  var t = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: ve,
122
+ value: he,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,200 +132,200 @@ function Qt() {
132
132
  groupEnd: t
133
133
  });
134
134
  }
135
- Z++;
135
+ Q++;
136
136
  }
137
137
  }
138
- function he() {
138
+ function me() {
139
139
  {
140
- if (Z--, Z === 0) {
140
+ if (Q--, Q === 0) {
141
141
  var t = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: ee({}, t, {
148
- value: z
147
+ log: I({}, t, {
148
+ value: M
149
149
  }),
150
- info: ee({}, t, {
151
- value: ye
150
+ info: I({}, t, {
151
+ value: ce
152
152
  }),
153
- warn: ee({}, t, {
154
- value: ne
153
+ warn: I({}, t, {
154
+ value: ee
155
155
  }),
156
- error: ee({}, t, {
157
- value: s
156
+ error: I({}, t, {
157
+ value: ie
158
158
  }),
159
- group: ee({}, t, {
160
- value: S
159
+ group: I({}, t, {
160
+ value: le
161
161
  }),
162
- groupCollapsed: ee({}, t, {
163
- value: K
162
+ groupCollapsed: I({}, t, {
163
+ value: te
164
164
  }),
165
- groupEnd: ee({}, t, {
166
- value: ue
165
+ groupEnd: I({}, t, {
166
+ value: ke
167
167
  })
168
168
  });
169
169
  }
170
- Z < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ Q < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var te = g.ReactCurrentDispatcher, pe;
174
- function me(t, i, d) {
173
+ var X = h.ReactCurrentDispatcher, l;
174
+ function P(t, i, d) {
175
175
  {
176
- if (pe === void 0)
176
+ if (l === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch ($) {
180
- var y = $.stack.trim().match(/\n( *(at )?)/);
181
- pe = y && y[1] || "";
179
+ } catch (W) {
180
+ var b = W.stack.trim().match(/\n( *(at )?)/);
181
+ l = b && b[1] || "";
182
182
  }
183
183
  return `
184
- ` + pe + t;
184
+ ` + l + t;
185
185
  }
186
186
  }
187
- var ce = !1, oe;
187
+ var oe = !1, se;
188
188
  {
189
- var ke = typeof WeakMap == "function" ? WeakMap : Map;
190
- oe = new ke();
189
+ var ve = typeof WeakMap == "function" ? WeakMap : Map;
190
+ se = new ve();
191
191
  }
192
- function Se(t, i) {
193
- if (!t || ce)
192
+ function je(t, i) {
193
+ if (!t || oe)
194
194
  return "";
195
195
  {
196
- var d = oe.get(t);
196
+ var d = se.get(t);
197
197
  if (d !== void 0)
198
198
  return d;
199
199
  }
200
- var y;
201
- ce = !0;
202
- var $ = Error.prepareStackTrace;
200
+ var b;
201
+ oe = !0;
202
+ var W = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var q;
205
- q = te.current, te.current = null, je();
204
+ var z;
205
+ z = X.current, X.current = null, Ce();
206
206
  try {
207
207
  if (i) {
208
- var L = function() {
208
+ var B = function() {
209
209
  throw Error();
210
210
  };
211
- if (Object.defineProperty(L.prototype, "props", {
211
+ if (Object.defineProperty(B.prototype, "props", {
212
212
  set: function() {
213
213
  throw Error();
214
214
  }
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
- Reflect.construct(L, []);
218
- } catch (de) {
219
- y = de;
217
+ Reflect.construct(B, []);
218
+ } catch (fe) {
219
+ b = fe;
220
220
  }
221
- Reflect.construct(t, [], L);
221
+ Reflect.construct(t, [], B);
222
222
  } else {
223
223
  try {
224
- L.call();
225
- } catch (de) {
226
- y = de;
224
+ B.call();
225
+ } catch (fe) {
226
+ b = fe;
227
227
  }
228
- t.call(L.prototype);
228
+ t.call(B.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (de) {
234
- y = de;
233
+ } catch (fe) {
234
+ b = fe;
235
235
  }
236
236
  t();
237
237
  }
238
- } catch (de) {
239
- if (de && y && typeof de.stack == "string") {
240
- for (var R = de.stack.split(`
241
- `), le = y.stack.split(`
242
- `), ae = R.length - 1, re = le.length - 1; ae >= 1 && re >= 0 && R[ae] !== le[re]; )
243
- re--;
244
- for (; ae >= 1 && re >= 0; ae--, re--)
245
- if (R[ae] !== le[re]) {
246
- if (ae !== 1 || re !== 1)
238
+ } catch (fe) {
239
+ if (fe && b && typeof fe.stack == "string") {
240
+ for (var R = fe.stack.split(`
241
+ `), pe = b.stack.split(`
242
+ `), ae = R.length - 1, ne = pe.length - 1; ae >= 1 && ne >= 0 && R[ae] !== pe[ne]; )
243
+ ne--;
244
+ for (; ae >= 1 && ne >= 0; ae--, ne--)
245
+ if (R[ae] !== pe[ne]) {
246
+ if (ae !== 1 || ne !== 1)
247
247
  do
248
- if (ae--, re--, re < 0 || R[ae] !== le[re]) {
249
- var _e = `
248
+ if (ae--, ne--, ne < 0 || R[ae] !== pe[ne]) {
249
+ var be = `
250
250
  ` + R[ae].replace(" at new ", " at ");
251
- return t.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, _e), _e;
251
+ return t.displayName && be.includes("<anonymous>") && (be = be.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, be), be;
252
252
  }
253
- while (ae >= 1 && re >= 0);
253
+ while (ae >= 1 && ne >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- ce = !1, te.current = q, he(), Error.prepareStackTrace = $;
258
+ oe = !1, X.current = z, me(), Error.prepareStackTrace = W;
259
259
  }
260
- var Fe = t ? t.displayName || t.name : "", Ne = Fe ? me(Fe) : "";
261
- return typeof t == "function" && oe.set(t, Ne), Ne;
260
+ var Oe = t ? t.displayName || t.name : "", Ae = Oe ? P(Oe) : "";
261
+ return typeof t == "function" && se.set(t, Ae), Ae;
262
262
  }
263
- function ie(t, i, d) {
264
- return Se(t, !1);
263
+ function de(t, i, d) {
264
+ return je(t, !1);
265
265
  }
266
- function se(t) {
266
+ function ue(t) {
267
267
  var i = t.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function Te(t, i, d) {
270
+ function Se(t, i, d) {
271
271
  if (t == null)
272
272
  return "";
273
273
  if (typeof t == "function")
274
- return Se(t, se(t));
274
+ return je(t, ue(t));
275
275
  if (typeof t == "string")
276
- return me(t);
276
+ return P(t);
277
277
  switch (t) {
278
- case W:
279
- return me("Suspense");
280
- case F:
281
- return me("SuspenseList");
278
+ case $:
279
+ return P("Suspense");
280
+ case O:
281
+ return P("SuspenseList");
282
282
  }
283
283
  if (typeof t == "object")
284
284
  switch (t.$$typeof) {
285
- case w:
286
- return ie(t.render);
287
- case A:
288
- return Te(t.type, i, d);
289
- case p: {
290
- var y = t, $ = y._payload, q = y._init;
285
+ case x:
286
+ return de(t.render);
287
+ case N:
288
+ return Se(t.type, i, d);
289
+ case u: {
290
+ var b = t, W = b._payload, z = b._init;
291
291
  try {
292
- return Te(q($), i, d);
292
+ return Se(z(W), i, d);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var xe = Object.prototype.hasOwnProperty, fe = {}, we = g.ReactDebugCurrentFrame;
299
+ var xe = Object.prototype.hasOwnProperty, ge = {}, we = h.ReactDebugCurrentFrame;
300
300
  function Pe(t) {
301
301
  if (t) {
302
- var i = t._owner, d = Te(t.type, t._source, i ? i.type : null);
302
+ var i = t._owner, d = Se(t.type, t._source, i ? i.type : null);
303
303
  we.setExtraStackFrame(d);
304
304
  } else
305
305
  we.setExtraStackFrame(null);
306
306
  }
307
- function Ie(t, i, d, y, $) {
307
+ function Ee(t, i, d, b, W) {
308
308
  {
309
- var q = Function.call.bind(xe);
310
- for (var L in t)
311
- if (q(t, L)) {
309
+ var z = Function.call.bind(xe);
310
+ for (var B in t)
311
+ if (z(t, B)) {
312
312
  var R = void 0;
313
313
  try {
314
- if (typeof t[L] != "function") {
315
- var le = Error((y || "React class") + ": " + d + " type `" + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[L] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw le.name = "Invariant Violation", le;
314
+ if (typeof t[B] != "function") {
315
+ var pe = Error((b || "React class") + ": " + d + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw pe.name = "Invariant Violation", pe;
317
317
  }
318
- R = t[L](i, L, y, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
+ R = t[B](i, B, b, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (ae) {
320
320
  R = ae;
321
321
  }
322
- R && !(R instanceof Error) && (Pe($), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", y || "React class", d, L, typeof R), Pe(null)), R instanceof Error && !(R.message in fe) && (fe[R.message] = !0, Pe($), C("Failed %s type: %s", d, R.message), Pe(null));
322
+ R && !(R instanceof Error) && (Pe(W), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", d, B, typeof R), Pe(null)), R instanceof Error && !(R.message in ge) && (ge[R.message] = !0, Pe(W), w("Failed %s type: %s", d, R.message), Pe(null));
323
323
  }
324
324
  }
325
325
  }
326
- var Le = Array.isArray;
327
- function j(t) {
328
- return Le(t);
326
+ var Ie = Array.isArray;
327
+ function C(t) {
328
+ return Ie(t);
329
329
  }
330
330
  function Be(t) {
331
331
  {
@@ -345,14 +345,14 @@ function Qt() {
345
345
  }
346
346
  function Ge(t) {
347
347
  if (Me(t))
348
- return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(t)), $e(t);
348
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(t)), $e(t);
349
349
  }
350
- var r = g.ReactCurrentOwner, c = {
350
+ var r = h.ReactCurrentOwner, c = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, H, ge;
355
+ }, V, _e;
356
356
  function Ue(t) {
357
357
  if (xe.call(t, "ref")) {
358
358
  var i = Object.getOwnPropertyDescriptor(t, "ref").get;
@@ -369,13 +369,13 @@ function Qt() {
369
369
  }
370
370
  return t.key !== void 0;
371
371
  }
372
- function Nt(t, i) {
372
+ function Rt(t, i) {
373
373
  typeof t.ref == "string" && r.current;
374
374
  }
375
- function At(t, i) {
375
+ function Lt(t, i) {
376
376
  {
377
377
  var d = function() {
378
- H || (H = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
378
+ V || (V = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
379
379
  };
380
380
  d.isReactWarning = !0, Object.defineProperty(t, "key", {
381
381
  get: d,
@@ -383,10 +383,10 @@ function Qt() {
383
383
  });
384
384
  }
385
385
  }
386
- function Rt(t, i) {
386
+ function Et(t, i) {
387
387
  {
388
388
  var d = function() {
389
- ge || (ge = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
389
+ _e || (_e = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
390
390
  };
391
391
  d.isReactWarning = !0, Object.defineProperty(t, "ref", {
392
392
  get: d,
@@ -394,7 +394,7 @@ function Qt() {
394
394
  });
395
395
  }
396
396
  }
397
- var Et = function(t, i, d, y, $, q, L) {
397
+ var It = function(t, i, d, b, W, z, B) {
398
398
  var R = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: o,
@@ -402,9 +402,9 @@ function Qt() {
402
402
  type: t,
403
403
  key: i,
404
404
  ref: d,
405
- props: L,
405
+ props: B,
406
406
  // Record the component responsible for creating this element.
407
- _owner: q
407
+ _owner: z
408
408
  };
409
409
  return R._store = {}, Object.defineProperty(R._store, "validated", {
410
410
  configurable: !1,
@@ -415,39 +415,39 @@ function Qt() {
415
415
  configurable: !1,
416
416
  enumerable: !1,
417
417
  writable: !1,
418
- value: y
418
+ value: b
419
419
  }), Object.defineProperty(R, "_source", {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: $
423
+ value: W
424
424
  }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
425
425
  };
426
- function It(t, i, d, y, $) {
426
+ function Bt(t, i, d, b, W) {
427
427
  {
428
- var q, L = {}, R = null, le = null;
429
- d !== void 0 && (Ge(d), R = "" + d), ze(i) && (Ge(i.key), R = "" + i.key), Ue(i) && (le = i.ref, Nt(i, $));
430
- for (q in i)
431
- xe.call(i, q) && !c.hasOwnProperty(q) && (L[q] = i[q]);
428
+ var z, B = {}, R = null, pe = null;
429
+ d !== void 0 && (Ge(d), R = "" + d), ze(i) && (Ge(i.key), R = "" + i.key), Ue(i) && (pe = i.ref, Rt(i, W));
430
+ for (z in i)
431
+ xe.call(i, z) && !c.hasOwnProperty(z) && (B[z] = i[z]);
432
432
  if (t && t.defaultProps) {
433
433
  var ae = t.defaultProps;
434
- for (q in ae)
435
- L[q] === void 0 && (L[q] = ae[q]);
434
+ for (z in ae)
435
+ B[z] === void 0 && (B[z] = ae[z]);
436
436
  }
437
- if (R || le) {
438
- var re = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
439
- R && At(L, re), le && Rt(L, re);
437
+ if (R || pe) {
438
+ var ne = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
439
+ R && Lt(B, ne), pe && Et(B, ne);
440
440
  }
441
- return Et(t, R, le, $, y, r.current, L);
441
+ return It(t, R, pe, W, b, r.current, B);
442
442
  }
443
443
  }
444
- var Je = g.ReactCurrentOwner, it = g.ReactDebugCurrentFrame;
444
+ var Je = h.ReactCurrentOwner, lt = h.ReactDebugCurrentFrame;
445
445
  function De(t) {
446
446
  if (t) {
447
- var i = t._owner, d = Te(t.type, t._source, i ? i.type : null);
448
- it.setExtraStackFrame(d);
447
+ var i = t._owner, d = Se(t.type, t._source, i ? i.type : null);
448
+ lt.setExtraStackFrame(d);
449
449
  } else
450
- it.setExtraStackFrame(null);
450
+ lt.setExtraStackFrame(null);
451
451
  }
452
452
  var Qe;
453
453
  Qe = !1;
@@ -457,7 +457,7 @@ function Qt() {
457
457
  function st() {
458
458
  {
459
459
  if (Je.current) {
460
- var t = I(Je.current.type);
460
+ var t = E(Je.current.type);
461
461
  if (t)
462
462
  return `
463
463
 
@@ -466,11 +466,11 @@ Check the render method of \`` + t + "`.";
466
466
  return "";
467
467
  }
468
468
  }
469
- function Lt(t) {
469
+ function Dt(t) {
470
470
  return "";
471
471
  }
472
- var lt = {};
473
- function Bt(t) {
472
+ var ct = {};
473
+ function Ot(t) {
474
474
  {
475
475
  var i = st();
476
476
  if (!i) {
@@ -482,39 +482,39 @@ Check the top-level render call using <` + d + ">.");
482
482
  return i;
483
483
  }
484
484
  }
485
- function ct(t, i) {
485
+ function dt(t, i) {
486
486
  {
487
487
  if (!t._store || t._store.validated || t.key != null)
488
488
  return;
489
489
  t._store.validated = !0;
490
- var d = Bt(i);
491
- if (lt[d])
490
+ var d = Ot(i);
491
+ if (ct[d])
492
492
  return;
493
- lt[d] = !0;
494
- var y = "";
495
- t && t._owner && t._owner !== Je.current && (y = " It was passed a child from " + I(t._owner.type) + "."), De(t), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, y), De(null);
493
+ ct[d] = !0;
494
+ var b = "";
495
+ t && t._owner && t._owner !== Je.current && (b = " It was passed a child from " + E(t._owner.type) + "."), De(t), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, b), De(null);
496
496
  }
497
497
  }
498
- function dt(t, i) {
498
+ function ut(t, i) {
499
499
  {
500
500
  if (typeof t != "object")
501
501
  return;
502
- if (j(t))
502
+ if (C(t))
503
503
  for (var d = 0; d < t.length; d++) {
504
- var y = t[d];
505
- Xe(y) && ct(y, i);
504
+ var b = t[d];
505
+ Xe(b) && dt(b, i);
506
506
  }
507
507
  else if (Xe(t))
508
508
  t._store && (t._store.validated = !0);
509
509
  else if (t) {
510
- var $ = k(t);
511
- if (typeof $ == "function" && $ !== t.entries)
512
- for (var q = $.call(t), L; !(L = q.next()).done; )
513
- Xe(L.value) && ct(L.value, i);
510
+ var W = y(t);
511
+ if (typeof W == "function" && W !== t.entries)
512
+ for (var z = W.call(t), B; !(B = z.next()).done; )
513
+ Xe(B.value) && dt(B.value, i);
514
514
  }
515
515
  }
516
516
  }
517
- function Dt(t) {
517
+ function Ft(t) {
518
518
  {
519
519
  var i = t.type;
520
520
  if (i == null || typeof i == "string")
@@ -522,110 +522,110 @@ Check the top-level render call using <` + d + ">.");
522
522
  var d;
523
523
  if (typeof i == "function")
524
524
  d = i.propTypes;
525
- else if (typeof i == "object" && (i.$$typeof === w || // Note: Memo only checks outer props here.
525
+ else if (typeof i == "object" && (i.$$typeof === x || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- i.$$typeof === A))
527
+ i.$$typeof === N))
528
528
  d = i.propTypes;
529
529
  else
530
530
  return;
531
531
  if (d) {
532
- var y = I(i);
533
- Ie(d, t.props, "prop", y, t);
532
+ var b = E(i);
533
+ Ee(d, t.props, "prop", b, t);
534
534
  } else if (i.PropTypes !== void 0 && !Qe) {
535
535
  Qe = !0;
536
- var $ = I(i);
537
- C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
536
+ var W = E(i);
537
+ w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
538
538
  }
539
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
539
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
541
541
  }
542
- function Ft(t) {
542
+ function Mt(t) {
543
543
  {
544
544
  for (var i = Object.keys(t.props), d = 0; d < i.length; d++) {
545
- var y = i[d];
546
- if (y !== "children" && y !== "key") {
547
- De(t), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", y), De(null);
545
+ var b = i[d];
546
+ if (b !== "children" && b !== "key") {
547
+ De(t), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), De(null);
548
548
  break;
549
549
  }
550
550
  }
551
- t.ref !== null && (De(t), C("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
551
+ t.ref !== null && (De(t), w("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
552
552
  }
553
553
  }
554
- var ut = {};
555
- function pt(t, i, d, y, $, q) {
554
+ var pt = {};
555
+ function mt(t, i, d, b, W, z) {
556
556
  {
557
- var L = X(t);
558
- if (!L) {
557
+ var B = re(t);
558
+ if (!B) {
559
559
  var R = "";
560
560
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
561
- var le = Lt();
562
- le ? R += le : R += st();
561
+ var pe = Dt();
562
+ pe ? R += pe : R += st();
563
563
  var ae;
564
- t === null ? ae = "null" : j(t) ? ae = "array" : t !== void 0 && t.$$typeof === o ? (ae = "<" + (I(t.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : ae = typeof t, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ae, R);
564
+ t === null ? ae = "null" : C(t) ? ae = "array" : t !== void 0 && t.$$typeof === o ? (ae = "<" + (E(t.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : ae = typeof t, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ae, R);
565
565
  }
566
- var re = It(t, i, d, $, q);
567
- if (re == null)
568
- return re;
569
- if (L) {
570
- var _e = i.children;
571
- if (_e !== void 0)
572
- if (y)
573
- if (j(_e)) {
574
- for (var Fe = 0; Fe < _e.length; Fe++)
575
- dt(_e[Fe], t);
576
- Object.freeze && Object.freeze(_e);
566
+ var ne = Bt(t, i, d, W, z);
567
+ if (ne == null)
568
+ return ne;
569
+ if (B) {
570
+ var be = i.children;
571
+ if (be !== void 0)
572
+ if (b)
573
+ if (C(be)) {
574
+ for (var Oe = 0; Oe < be.length; Oe++)
575
+ ut(be[Oe], t);
576
+ Object.freeze && Object.freeze(be);
577
577
  } else
578
- C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
578
+ w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
579
579
  else
580
- dt(_e, t);
580
+ ut(be, t);
581
581
  }
582
582
  if (xe.call(i, "key")) {
583
- var Ne = I(t), de = Object.keys(i).filter(function(Wt) {
584
- return Wt !== "key";
585
- }), Ze = de.length > 0 ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!ut[Ne + Ze]) {
587
- var Ut = de.length > 0 ? "{" + de.join(": ..., ") + ": ...}" : "{}";
588
- C(`A props object containing a "key" prop is being spread into JSX:
583
+ var Ae = E(t), fe = Object.keys(i).filter(function(Ht) {
584
+ return Ht !== "key";
585
+ }), Ze = fe.length > 0 ? "{key: someKey, " + fe.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!pt[Ae + Ze]) {
587
+ var Wt = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
588
+ w(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
591
591
  React keys must be passed directly to JSX without using spread:
592
592
  let props = %s;
593
- <%s key={someKey} {...props} />`, Ze, Ne, Ut, Ne), ut[Ne + Ze] = !0;
593
+ <%s key={someKey} {...props} />`, Ze, Ae, Wt, Ae), pt[Ae + Ze] = !0;
594
594
  }
595
595
  }
596
- return t === m ? Ft(re) : Dt(re), re;
596
+ return t === m ? Mt(ne) : Ft(ne), ne;
597
597
  }
598
598
  }
599
- function Ot(t, i, d) {
600
- return pt(t, i, d, !0);
599
+ function $t(t, i, d) {
600
+ return mt(t, i, d, !0);
601
601
  }
602
- function Mt(t, i, d) {
603
- return pt(t, i, d, !1);
602
+ function Gt(t, i, d) {
603
+ return mt(t, i, d, !1);
604
604
  }
605
- var $t = Mt, Gt = Ot;
606
- Ke.Fragment = m, Ke.jsx = $t, Ke.jsxs = Gt;
607
- })()), Ke;
605
+ var Ut = Gt, Kt = $t;
606
+ We.Fragment = m, We.jsx = Ut, We.jsxs = Kt;
607
+ })()), We;
608
608
  }
609
- var ht;
610
- function Xt() {
611
- return ht || (ht = 1, process.env.NODE_ENV === "production" ? qe.exports = Jt() : qe.exports = Qt()), qe.exports;
609
+ var gt;
610
+ function ea() {
611
+ return gt || (gt = 1, process.env.NODE_ENV === "production" ? qe.exports = Xt() : qe.exports = Zt()), qe.exports;
612
612
  }
613
- var e = Xt();
614
- const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBorder_1e1th_12", aa = "_headerSeparator_1e1th_16", ra = "_langDropdownWrap_1e1th_21", na = "_langTrigger_1e1th_25", oa = "_langIcon_1e1th_37", ia = "_langLabel_1e1th_44", sa = "_langMenu_1e1th_49", la = "_langOption_1e1th_55", Ce = {
615
- container: Zt,
616
- main: ea,
617
- kundliHeaderNoBorder: ta,
618
- headerSeparator: aa,
619
- langDropdownWrap: ra,
620
- langTrigger: na,
621
- langIcon: oa,
622
- langLabel: ia,
623
- langMenu: sa,
624
- langOption: la
625
- }, xt = ["en", "hi"], gt = {
613
+ var e = ea();
614
+ const ta = "_container_1e1th_1", aa = "_main_1e1th_7", ra = "_kundliHeaderNoBorder_1e1th_12", na = "_headerSeparator_1e1th_16", oa = "_langDropdownWrap_1e1th_21", ia = "_langTrigger_1e1th_25", la = "_langIcon_1e1th_37", sa = "_langLabel_1e1th_44", ca = "_langMenu_1e1th_49", da = "_langOption_1e1th_55", Te = {
615
+ container: ta,
616
+ main: aa,
617
+ kundliHeaderNoBorder: ra,
618
+ headerSeparator: na,
619
+ langDropdownWrap: oa,
620
+ langTrigger: ia,
621
+ langIcon: la,
622
+ langLabel: sa,
623
+ langMenu: ca,
624
+ langOption: da
625
+ }, wt = ["en", "hi"], _t = {
626
626
  en: "English",
627
627
  hi: "हिन्दी"
628
- }, wt = {
628
+ }, Pt = {
629
629
  en: {
630
630
  kundli: "Kundli",
631
631
  birthChart: "Birth Chart",
@@ -813,6 +813,7 @@ const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBord
813
813
  planSelectConsultationSlot: "Select consultation slot →",
814
814
  planConsultationSlotTitle: "Select consultation slot",
815
815
  planConsultationTrustLabel: "3,750+ people have booked consultation",
816
+ planConsultationLanguageLabel: "Your consultation language",
816
817
  planReportReadyPrefix: "Your Report will be ready in",
817
818
  planReportReadyDuration: "24-48 hours",
818
819
  planReportReadySuffix: "from today",
@@ -1045,6 +1046,7 @@ const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBord
1045
1046
  planSelectConsultationSlot: "परामर्श स्लॉट चुनें →",
1046
1047
  planConsultationSlotTitle: "परामर्श स्लॉट चुनें",
1047
1048
  planConsultationTrustLabel: "3,750+ लोगों ने परामर्श बुक किया है",
1049
+ planConsultationLanguageLabel: "आपकी परामर्श भाषा",
1048
1050
  planReportReadyPrefix: "आपकी रिपोर्ट",
1049
1051
  planReportReadyDuration: "24-48 घंटों",
1050
1052
  planReportReadySuffix: "में आज से तैयार हो जाएगी",
@@ -1091,28 +1093,28 @@ const Zt = "_container_1e1th_1", ea = "_main_1e1th_7", ta = "_kundliHeaderNoBord
1091
1093
  astrologyGuidance: "ज्योतिष से सलाह",
1092
1094
  selectPackage: "पैकेज चुनें"
1093
1095
  }
1094
- }, Pt = kt(null), ti = ({
1096
+ }, Tt = xt(null), Xo = ({
1095
1097
  locale: a,
1096
1098
  children: o
1097
1099
  }) => {
1098
- const m = { locale: a, t: (u) => wt[a]?.[u] ?? u };
1099
- return /* @__PURE__ */ e.jsx(Pt.Provider, { value: m, children: o });
1100
+ const m = { locale: a, t: (p) => Pt[a]?.[p] ?? p };
1101
+ return /* @__PURE__ */ e.jsx(Tt.Provider, { value: m, children: o });
1100
1102
  };
1101
- function ca() {
1102
- return at(Pt);
1103
+ function ua() {
1104
+ return rt(Tt);
1103
1105
  }
1104
1106
  const Ye = (a) => {
1105
- const { priority: o, fetchPriority: l, width: m, height: u, ..._ } = a;
1106
- return tt.createElement("img", {
1107
+ const { priority: o, fetchPriority: s, width: m, height: p, ..._ } = a;
1108
+ return at.createElement("img", {
1107
1109
  ..._,
1108
1110
  width: m ?? 1,
1109
- height: u ?? 1,
1111
+ height: p ?? 1,
1110
1112
  decoding: "async",
1111
1113
  loading: _.loading ?? (o ? "eager" : "lazy"),
1112
- ...l && { fetchPriority: l }
1114
+ ...s && { fetchPriority: s }
1113
1115
  });
1114
1116
  };
1115
- function da(a) {
1117
+ function pa(a) {
1116
1118
  if (typeof window > "u" || !window.localStorage)
1117
1119
  return null;
1118
1120
  try {
@@ -1121,21 +1123,21 @@ function da(a) {
1121
1123
  return null;
1122
1124
  }
1123
1125
  }
1124
- function ua(a, o) {
1126
+ function ma(a, o) {
1125
1127
  if (!(typeof window > "u" || !window.localStorage))
1126
1128
  try {
1127
1129
  window.localStorage.setItem(a, o);
1128
1130
  } catch {
1129
1131
  }
1130
1132
  }
1131
- function ai(a) {
1133
+ function Zo(a) {
1132
1134
  if (!(typeof window > "u" || !window.localStorage))
1133
1135
  try {
1134
1136
  window.localStorage.removeItem(a);
1135
1137
  } catch {
1136
1138
  }
1137
1139
  }
1138
- function ri() {
1140
+ function ei() {
1139
1141
  if (typeof window > "u" || !window.localStorage)
1140
1142
  return !1;
1141
1143
  try {
@@ -1146,14 +1148,14 @@ function ri() {
1146
1148
  }
1147
1149
  }
1148
1150
  const Ct = "kundli_language";
1149
- function pa() {
1150
- const a = da(Ct);
1151
- return a && xt.includes(a) ? a : null;
1151
+ function fa() {
1152
+ const a = pa(Ct);
1153
+ return a && wt.includes(a) ? a : null;
1152
1154
  }
1153
- function ma(a) {
1154
- ua(Ct, a);
1155
+ function ha(a) {
1156
+ ma(Ct, a);
1155
1157
  }
1156
- const rt = kt(null), fa = {
1158
+ const nt = xt(null), ga = {
1157
1159
  fullName: "",
1158
1160
  phone: "",
1159
1161
  phoneCountryCode: "",
@@ -1164,255 +1166,255 @@ const rt = kt(null), fa = {
1164
1166
  birthTime: "",
1165
1167
  birthTimeUnknown: !1,
1166
1168
  birthPlace: ""
1167
- }, ni = ({
1169
+ }, ti = ({
1168
1170
  locale: a,
1169
1171
  showLanguageSelector: o = !0,
1170
- showSheet: l,
1172
+ showSheet: s,
1171
1173
  userId: m,
1172
- isGlobal: u,
1174
+ isGlobal: p,
1173
1175
  variant: _,
1174
- initialFormValues: h,
1175
- autoOpenPlanSheet: P,
1176
- googleMapsApiKey: w,
1177
- atlasSearchLocalities: W,
1178
- googleMapsAutocompleteEnabled: F,
1179
- enableConsultationScheduling: A,
1180
- fetchConsultationSlots: p,
1181
- logoUrl: O,
1176
+ initialFormValues: f,
1177
+ autoOpenPlanSheet: T,
1178
+ googleMapsApiKey: x,
1179
+ atlasSearchLocalities: $,
1180
+ googleMapsAutocompleteEnabled: O,
1181
+ enableConsultationScheduling: N,
1182
+ fetchConsultationSlots: u,
1183
+ logoUrl: G,
1182
1184
  reportImageUrl: v,
1183
- reportImagePriority: G,
1184
- backgroundImagePriority: k,
1185
- universityLogoUrls: g,
1186
- sampleReportHref: C,
1187
- onViewSampleReport: Q,
1188
- ctaHref: N,
1189
- onCtaClick: E,
1190
- onBack: T,
1191
- readMoreReviewsHref: U,
1192
- onProceed: b,
1193
- proceedHref: B,
1194
- originalPriceLabel: X,
1195
- discountedPriceLabel: V,
1196
- discountPillLabel: D,
1197
- analytics: I,
1198
- onProceedGuidance: ee,
1199
- onLocaleChange: Z,
1200
- imageComponent: z = Ye,
1201
- resolvedUtmBannerImageUrl: ye,
1202
- children: ne
1185
+ reportImagePriority: H,
1186
+ backgroundImagePriority: y,
1187
+ universityLogoUrls: h,
1188
+ sampleReportHref: w,
1189
+ onViewSampleReport: Z,
1190
+ ctaHref: S,
1191
+ onCtaClick: U,
1192
+ onBack: j,
1193
+ readMoreReviewsHref: K,
1194
+ onProceed: A,
1195
+ proceedHref: L,
1196
+ originalPriceLabel: re,
1197
+ discountedPriceLabel: Y,
1198
+ discountPillLabel: F,
1199
+ analytics: E,
1200
+ onProceedGuidance: I,
1201
+ onLocaleChange: Q,
1202
+ imageComponent: M = Ye,
1203
+ resolvedUtmBannerImageUrl: ce,
1204
+ children: ee
1203
1205
  }) => {
1204
- const [s, S] = M("landing"), [K, ue] = M(a ?? "en"), [ve, je] = M({
1205
- ...fa,
1206
- ...h
1207
- }), he = Y(!0);
1206
+ const [ie, le] = D("landing"), [te, ke] = D(a ?? "en"), [he, Ce] = D({
1207
+ ...ga,
1208
+ ...f
1209
+ }), me = q(!0);
1208
1210
  J(() => {
1209
- const oe = pa();
1210
- oe && ue(oe);
1211
+ const se = fa();
1212
+ se && ke(se);
1211
1213
  }, []), J(() => {
1212
- ma(K);
1213
- }, [K]), J(() => {
1214
- if (he.current) {
1215
- he.current = !1;
1214
+ ha(te);
1215
+ }, [te]), J(() => {
1216
+ if (me.current) {
1217
+ me.current = !1;
1216
1218
  return;
1217
1219
  }
1218
- Z?.(K);
1219
- }, [K, Z]);
1220
- const te = Re(
1220
+ Q?.(te);
1221
+ }, [te, Q]);
1222
+ const X = Ne(
1221
1223
  () => ({
1222
1224
  locale: a,
1223
1225
  showLanguageSelector: o,
1224
- showSheet: l,
1226
+ showSheet: s,
1225
1227
  userId: m,
1226
- isGlobal: u,
1228
+ isGlobal: p,
1227
1229
  variant: _,
1228
- initialFormValues: h,
1229
- autoOpenPlanSheet: P,
1230
- googleMapsApiKey: w,
1231
- atlasSearchLocalities: W,
1232
- googleMapsAutocompleteEnabled: F,
1233
- enableConsultationScheduling: A,
1234
- fetchConsultationSlots: p,
1235
- logoUrl: O,
1230
+ initialFormValues: f,
1231
+ autoOpenPlanSheet: T,
1232
+ googleMapsApiKey: x,
1233
+ atlasSearchLocalities: $,
1234
+ googleMapsAutocompleteEnabled: O,
1235
+ enableConsultationScheduling: N,
1236
+ fetchConsultationSlots: u,
1237
+ logoUrl: G,
1236
1238
  reportImageUrl: v,
1237
- reportImagePriority: G,
1238
- backgroundImagePriority: k,
1239
- universityLogoUrls: g,
1240
- sampleReportHref: C,
1241
- onViewSampleReport: Q,
1242
- ctaHref: N,
1243
- onCtaClick: E,
1244
- onBack: T,
1245
- readMoreReviewsHref: U,
1246
- onProceed: b,
1247
- proceedHref: B,
1248
- originalPriceLabel: X,
1249
- discountedPriceLabel: V,
1250
- discountPillLabel: D,
1251
- analytics: I,
1252
- onProceedGuidance: ee,
1253
- onLocaleChange: Z,
1254
- imageComponent: z,
1255
- resolvedUtmBannerImageUrl: ye
1239
+ reportImagePriority: H,
1240
+ backgroundImagePriority: y,
1241
+ universityLogoUrls: h,
1242
+ sampleReportHref: w,
1243
+ onViewSampleReport: Z,
1244
+ ctaHref: S,
1245
+ onCtaClick: U,
1246
+ onBack: j,
1247
+ readMoreReviewsHref: K,
1248
+ onProceed: A,
1249
+ proceedHref: L,
1250
+ originalPriceLabel: re,
1251
+ discountedPriceLabel: Y,
1252
+ discountPillLabel: F,
1253
+ analytics: E,
1254
+ onProceedGuidance: I,
1255
+ onLocaleChange: Q,
1256
+ imageComponent: M,
1257
+ resolvedUtmBannerImageUrl: ce
1256
1258
  }),
1257
1259
  [
1258
1260
  a,
1259
1261
  o,
1260
- l,
1262
+ s,
1261
1263
  m,
1262
- u,
1264
+ p,
1263
1265
  _,
1266
+ f,
1267
+ T,
1268
+ x,
1269
+ $,
1270
+ O,
1271
+ N,
1272
+ u,
1273
+ G,
1274
+ v,
1275
+ H,
1276
+ y,
1264
1277
  h,
1265
- P,
1266
1278
  w,
1267
- W,
1268
- F,
1279
+ Z,
1280
+ S,
1281
+ U,
1282
+ j,
1283
+ K,
1269
1284
  A,
1270
- p,
1271
- O,
1272
- v,
1273
- G,
1274
- k,
1275
- g,
1276
- C,
1277
- Q,
1278
- N,
1285
+ L,
1286
+ re,
1287
+ Y,
1288
+ F,
1279
1289
  E,
1280
- T,
1281
- U,
1282
- b,
1283
- B,
1284
- X,
1285
- V,
1286
- D,
1287
1290
  I,
1288
- ee,
1289
- Z,
1290
- z,
1291
- ye
1291
+ Q,
1292
+ M,
1293
+ ce
1292
1294
  ]
1293
- ), pe = be(() => {
1294
- S("form");
1295
- }, [te.analytics]), me = be(() => {
1296
- S("landing"), te.onBack?.();
1297
- }, [te.onBack]), ce = Re(
1295
+ ), l = ye(() => {
1296
+ le("form");
1297
+ }, [X.analytics]), P = ye(() => {
1298
+ le("landing"), X.onBack?.();
1299
+ }, [X.onBack]), oe = Ne(
1298
1300
  () => ({
1299
- view: s,
1300
- locale: K,
1301
- setLocale: ue,
1302
- config: te,
1303
- formValues: ve,
1304
- setFormValues: je,
1305
- goToForm: pe,
1306
- goToPage: me,
1307
- onProceed: te.onProceed,
1308
- onProceedGuidance: te.onProceedGuidance
1301
+ view: ie,
1302
+ locale: te,
1303
+ setLocale: ke,
1304
+ config: X,
1305
+ formValues: he,
1306
+ setFormValues: Ce,
1307
+ goToForm: l,
1308
+ goToPage: P,
1309
+ onProceed: X.onProceed,
1310
+ onProceedGuidance: X.onProceedGuidance
1309
1311
  }),
1310
- [s, K, te, ve, pe, me]
1312
+ [ie, te, X, he, l, P]
1311
1313
  );
1312
- return /* @__PURE__ */ e.jsx(rt.Provider, { value: ce, children: ne });
1314
+ return /* @__PURE__ */ e.jsx(nt.Provider, { value: oe, children: ee });
1313
1315
  };
1314
- function Ee() {
1315
- return at(rt);
1316
+ function Le() {
1317
+ return rt(nt);
1316
1318
  }
1317
- function oi() {
1318
- const a = at(rt);
1319
+ function ai() {
1320
+ const a = rt(nt);
1319
1321
  if (!a)
1320
1322
  throw new Error(
1321
1323
  "useKundliContextOrThrow must be used within KundliProvider"
1322
1324
  );
1323
1325
  return a;
1324
1326
  }
1325
- const ha = "_header_19172_1", ga = "_centered_19172_8", _t = {
1326
- header: ha,
1327
- centered: ga
1328
- }, _a = ({
1327
+ const _a = "_header_19172_1", ba = "_centered_19172_8", bt = {
1328
+ header: _a,
1329
+ centered: ba
1330
+ }, ya = ({
1329
1331
  t: a,
1330
1332
  onBack: o,
1331
- className: l = "",
1333
+ className: s = "",
1332
1334
  align: m = "left"
1333
1335
  }) => /* @__PURE__ */ e.jsx(
1334
- Ht,
1336
+ qt,
1335
1337
  {
1336
1338
  title: a("formTitle"),
1337
1339
  subtitle: a("formSubtitle"),
1338
1340
  onBack: o,
1339
1341
  backAriaLabel: a("back"),
1340
- className: `${_t.header} ${m === "center" ? _t.centered : ""} ${l}`
1342
+ className: `${bt.header} ${m === "center" ? bt.centered : ""} ${s}`
1341
1343
  }
1342
- ), ba = "_wrap_119w3_1", ya = "_card_119w3_5", va = "_cardInner_119w3_12", ka = "_field_119w3_44", xa = "_labelRow_119w3_48", wa = "_label_119w3_48", Pa = "_req_119w3_57", Ca = "_help_119w3_61", Ta = "_choiceRow_119w3_68", Sa = "_choiceBtn_119w3_74", ja = "_choiceBtnActive_119w3_99", Na = "_infoBtn_119w3_105", Aa = "_infoImg_119w3_122", Ra = "_infoWrap_119w3_128", Ea = "_tooltip_119w3_134", Ia = "_tooltipArrow_119w3_150", La = "_inputWrap_119w3_161", Ba = "_isdWrap_119w3_165", Da = "_phoneInputGroup_119w3_169", Fa = "_isdSelectWrap_119w3_178", Oa = "_isdSelectTrigger_119w3_197", Ma = "_isdDropdown_119w3_214", $a = "_isdSearchWrap_119w3_229", Ga = "_isdSearchInput_119w3_237", Ua = "_isdOption_119w3_255", Wa = "_isdOptionActive_119w3_275", Ka = "_isdCountryName_119w3_281", Ha = "_isdCountryCode_119w3_288", Ya = "_isdNoResult_119w3_295", qa = "_suggestions_119w3_302", Va = "_suggestionItem_119w3_315", za = "_suggestionMain_119w3_333", Ja = "_suggestionSecondary_119w3_339", Qa = "_suggestionsHint_119w3_344", Xa = "_timePopover_119w3_366", Za = "_timePickerRow_119w3_382", er = "_timePickerSelect_119w3_388", tr = "_timePickerColon_119w3_404", ar = "_meridiemToggle_119w3_412", rr = "_meridiemBtn_119w3_421", nr = "_meridiemActive_119w3_436", or = "_timePopoverActions_119w3_441", ir = "_timePopoverBtn_119w3_447", sr = "_timePopoverOk_119w3_466", lr = "_input_119w3_161", cr = "_phoneInput_119w3_169", dr = "_iconBtn_119w3_519", ur = "_iconBtnInteractive_119w3_525", pr = "_iconImg_119w3_544", mr = "_checkboxRow_119w3_550", fr = "_checkbox_119w3_550", hr = "_checkboxText_119w3_588", n = {
1343
- wrap: ba,
1344
- card: ya,
1345
- cardInner: va,
1346
- field: ka,
1347
- labelRow: xa,
1348
- label: wa,
1349
- req: Pa,
1350
- help: Ca,
1351
- choiceRow: Ta,
1352
- choiceBtn: Sa,
1353
- choiceBtnActive: ja,
1354
- infoBtn: Na,
1355
- infoImg: Aa,
1356
- infoWrap: Ra,
1357
- tooltip: Ea,
1358
- tooltipArrow: Ia,
1359
- inputWrap: La,
1360
- isdWrap: Ba,
1361
- phoneInputGroup: Da,
1362
- isdSelectWrap: Fa,
1363
- isdSelectTrigger: Oa,
1364
- isdDropdown: Ma,
1365
- isdSearchWrap: $a,
1366
- isdSearchInput: Ga,
1367
- isdOption: Ua,
1368
- isdOptionActive: Wa,
1369
- isdCountryName: Ka,
1370
- isdCountryCode: Ha,
1371
- isdNoResult: Ya,
1372
- suggestions: qa,
1373
- suggestionItem: Va,
1374
- suggestionMain: za,
1375
- suggestionSecondary: Ja,
1376
- suggestionsHint: Qa,
1377
- timePopover: Xa,
1378
- timePickerRow: Za,
1379
- timePickerSelect: er,
1380
- timePickerColon: tr,
1381
- meridiemToggle: ar,
1382
- meridiemBtn: rr,
1383
- meridiemActive: nr,
1384
- timePopoverActions: or,
1385
- timePopoverBtn: ir,
1386
- timePopoverOk: sr,
1387
- input: lr,
1388
- phoneInput: cr,
1389
- iconBtn: dr,
1390
- iconBtnInteractive: ur,
1391
- iconImg: pr,
1392
- checkboxRow: mr,
1393
- checkbox: fr,
1394
- checkboxText: hr
1344
+ ), ka = "_wrap_119w3_1", va = "_card_119w3_5", xa = "_cardInner_119w3_12", wa = "_field_119w3_44", Pa = "_labelRow_119w3_48", Ta = "_label_119w3_48", Ca = "_req_119w3_57", Sa = "_help_119w3_61", ja = "_choiceRow_119w3_68", Na = "_choiceBtn_119w3_74", Aa = "_choiceBtnActive_119w3_99", Ra = "_infoBtn_119w3_105", La = "_infoImg_119w3_122", Ea = "_infoWrap_119w3_128", Ia = "_tooltip_119w3_134", Ba = "_tooltipArrow_119w3_150", Da = "_inputWrap_119w3_161", Oa = "_isdWrap_119w3_165", Fa = "_phoneInputGroup_119w3_169", Ma = "_isdSelectWrap_119w3_178", $a = "_isdSelectTrigger_119w3_197", Ga = "_isdDropdown_119w3_214", Ua = "_isdSearchWrap_119w3_229", Ka = "_isdSearchInput_119w3_237", Wa = "_isdOption_119w3_255", Ha = "_isdOptionActive_119w3_275", Ya = "_isdCountryName_119w3_281", qa = "_isdCountryCode_119w3_288", Va = "_isdNoResult_119w3_295", za = "_suggestions_119w3_302", Ja = "_suggestionItem_119w3_315", Qa = "_suggestionMain_119w3_333", Xa = "_suggestionSecondary_119w3_339", Za = "_suggestionsHint_119w3_344", er = "_timePopover_119w3_366", tr = "_timePickerRow_119w3_382", ar = "_timePickerSelect_119w3_388", rr = "_timePickerColon_119w3_404", nr = "_meridiemToggle_119w3_412", or = "_meridiemBtn_119w3_421", ir = "_meridiemActive_119w3_436", lr = "_timePopoverActions_119w3_441", sr = "_timePopoverBtn_119w3_447", cr = "_timePopoverOk_119w3_466", dr = "_input_119w3_161", ur = "_phoneInput_119w3_169", pr = "_iconBtn_119w3_519", mr = "_iconBtnInteractive_119w3_525", fr = "_iconImg_119w3_544", hr = "_checkboxRow_119w3_550", gr = "_checkbox_119w3_550", _r = "_checkboxText_119w3_588", n = {
1345
+ wrap: ka,
1346
+ card: va,
1347
+ cardInner: xa,
1348
+ field: wa,
1349
+ labelRow: Pa,
1350
+ label: Ta,
1351
+ req: Ca,
1352
+ help: Sa,
1353
+ choiceRow: ja,
1354
+ choiceBtn: Na,
1355
+ choiceBtnActive: Aa,
1356
+ infoBtn: Ra,
1357
+ infoImg: La,
1358
+ infoWrap: Ea,
1359
+ tooltip: Ia,
1360
+ tooltipArrow: Ba,
1361
+ inputWrap: Da,
1362
+ isdWrap: Oa,
1363
+ phoneInputGroup: Fa,
1364
+ isdSelectWrap: Ma,
1365
+ isdSelectTrigger: $a,
1366
+ isdDropdown: Ga,
1367
+ isdSearchWrap: Ua,
1368
+ isdSearchInput: Ka,
1369
+ isdOption: Wa,
1370
+ isdOptionActive: Ha,
1371
+ isdCountryName: Ya,
1372
+ isdCountryCode: qa,
1373
+ isdNoResult: Va,
1374
+ suggestions: za,
1375
+ suggestionItem: Ja,
1376
+ suggestionMain: Qa,
1377
+ suggestionSecondary: Xa,
1378
+ suggestionsHint: Za,
1379
+ timePopover: er,
1380
+ timePickerRow: tr,
1381
+ timePickerSelect: ar,
1382
+ timePickerColon: rr,
1383
+ meridiemToggle: nr,
1384
+ meridiemBtn: or,
1385
+ meridiemActive: ir,
1386
+ timePopoverActions: lr,
1387
+ timePopoverBtn: sr,
1388
+ timePopoverOk: cr,
1389
+ input: dr,
1390
+ phoneInput: ur,
1391
+ iconBtn: pr,
1392
+ iconBtnInteractive: mr,
1393
+ iconImg: fr,
1394
+ checkboxRow: hr,
1395
+ checkbox: gr,
1396
+ checkboxText: _r
1395
1397
  };
1396
1398
  let Ve = null;
1397
- const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Ve || (Ve = new Promise((l, m) => {
1398
- const u = document.querySelector(
1399
+ const br = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : Ve || (Ve = new Promise((s, m) => {
1400
+ const p = document.querySelector(
1399
1401
  'script[data-google-maps-places="true"]'
1400
1402
  );
1401
- if (u) {
1402
- u.addEventListener("load", () => l()), u.addEventListener(
1403
+ if (p) {
1404
+ p.addEventListener("load", () => s()), p.addEventListener(
1403
1405
  "error",
1404
1406
  () => m(new Error("Failed to load Google Maps API"))
1405
1407
  );
1406
1408
  return;
1407
1409
  }
1408
- const _ = document.createElement("script"), h = new URL("https://maps.googleapis.com/maps/api/js");
1409
- h.searchParams.set("key", a), h.searchParams.set("libraries", "places"), h.searchParams.set("loading", "async"), o && h.searchParams.set("language", o), _.src = h.toString(), _.async = !0, _.defer = !0, _.setAttribute("data-google-maps-places", "true"), _.onload = () => {
1410
- const P = Date.now(), w = () => {
1410
+ const _ = document.createElement("script"), f = new URL("https://maps.googleapis.com/maps/api/js");
1411
+ f.searchParams.set("key", a), f.searchParams.set("libraries", "places"), f.searchParams.set("loading", "async"), o && f.searchParams.set("language", o), _.src = f.toString(), _.async = !0, _.defer = !0, _.setAttribute("data-google-maps-places", "true"), _.onload = () => {
1412
+ const T = Date.now(), x = () => {
1411
1413
  if (window.google?.maps?.places) {
1412
- l();
1414
+ s();
1413
1415
  return;
1414
1416
  }
1415
- if (Date.now() - P > 2e3) {
1417
+ if (Date.now() - T > 2e3) {
1416
1418
  m(
1417
1419
  new Error(
1418
1420
  "Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
@@ -1420,169 +1422,169 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1420
1422
  );
1421
1423
  return;
1422
1424
  }
1423
- window.setTimeout(w, 50);
1425
+ window.setTimeout(x, 50);
1424
1426
  };
1425
- w();
1427
+ x();
1426
1428
  }, _.onerror = () => m(new Error("Failed to load Google Maps API")), document.head.appendChild(_);
1427
- }), Ve), _r = (a) => {
1428
- const { apiKey: o, language: l = "en", restrictCountry: m, deferLoad: u = !1 } = a, [_, h] = M(!1), [P, w] = M([]), [W, F] = M(!1), [A, p] = M(null), [O, v] = M(!u), G = Y(null), k = Y(null), g = Y(null), C = be(() => {
1429
- u && v(!0);
1430
- }, [u]);
1429
+ }), Ve), yr = (a) => {
1430
+ const { apiKey: o, language: s = "en", restrictCountry: m, deferLoad: p = !1 } = a, [_, f] = D(!1), [T, x] = D([]), [$, O] = D(!1), [N, u] = D(null), [G, v] = D(!p), H = q(null), y = q(null), h = q(null), w = ye(() => {
1431
+ p && v(!0);
1432
+ }, [p]);
1431
1433
  J(() => {
1432
- if (!o || !O) {
1433
- h(!1), p(null);
1434
+ if (!o || !G) {
1435
+ f(!1), u(null);
1434
1436
  return;
1435
1437
  }
1436
- gr(o, l).then(() => {
1437
- G.current = new google.maps.places.AutocompleteService();
1438
- const T = document.createElement("div");
1439
- k.current = new google.maps.places.PlacesService(T), g.current = new google.maps.places.AutocompleteSessionToken(), h(!0), p(null);
1440
- }).catch((T) => {
1441
- h(!1), p(T?.message || "Failed to load location service");
1438
+ br(o, s).then(() => {
1439
+ H.current = new google.maps.places.AutocompleteService();
1440
+ const j = document.createElement("div");
1441
+ y.current = new google.maps.places.PlacesService(j), h.current = new google.maps.places.AutocompleteSessionToken(), f(!0), u(null);
1442
+ }).catch((j) => {
1443
+ f(!1), u(j?.message || "Failed to load location service");
1442
1444
  });
1443
- }, [o, l, O]);
1444
- const Q = be(
1445
- async (T) => {
1446
- if (!T || T.length < 2 || !G.current) {
1447
- w([]);
1445
+ }, [o, s, G]);
1446
+ const Z = ye(
1447
+ async (j) => {
1448
+ if (!j || j.length < 2 || !H.current) {
1449
+ x([]);
1448
1450
  return;
1449
1451
  }
1450
- F(!0);
1452
+ O(!0);
1451
1453
  try {
1452
- const U = {
1453
- input: T,
1454
+ const K = {
1455
+ input: j,
1454
1456
  types: ["(cities)"],
1455
- sessionToken: g.current ?? void 0
1457
+ sessionToken: h.current ?? void 0
1456
1458
  };
1457
- m && (U.componentRestrictions = { country: m });
1458
- const b = await new Promise((B, X) => {
1459
- G.current.getPlacePredictions(
1460
- U,
1461
- (V, D) => {
1462
- D === google.maps.places.PlacesServiceStatus.OK && V ? B(V) : D === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? B([]) : X(new Error(`Places API error: ${D}`));
1459
+ m && (K.componentRestrictions = { country: m });
1460
+ const A = await new Promise((L, re) => {
1461
+ H.current.getPlacePredictions(
1462
+ K,
1463
+ (Y, F) => {
1464
+ F === google.maps.places.PlacesServiceStatus.OK && Y ? L(Y) : F === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? L([]) : re(new Error(`Places API error: ${F}`));
1463
1465
  }
1464
1466
  );
1465
1467
  });
1466
- w(
1467
- b.map((B) => ({
1468
- place_id: B.place_id,
1469
- description: B.description,
1468
+ x(
1469
+ A.map((L) => ({
1470
+ place_id: L.place_id,
1471
+ description: L.description,
1470
1472
  structured_formatting: {
1471
- main_text: B.structured_formatting?.main_text || B.description,
1472
- secondary_text: B.structured_formatting?.secondary_text || ""
1473
+ main_text: L.structured_formatting?.main_text || L.description,
1474
+ secondary_text: L.structured_formatting?.secondary_text || ""
1473
1475
  }
1474
1476
  }))
1475
1477
  );
1476
1478
  } catch {
1477
- w([]);
1479
+ x([]);
1478
1480
  } finally {
1479
- F(!1);
1481
+ O(!1);
1480
1482
  }
1481
1483
  },
1482
1484
  [m]
1483
- ), N = be(
1484
- async (T) => {
1485
- if (!k.current) return null;
1485
+ ), S = ye(
1486
+ async (j) => {
1487
+ if (!y.current) return null;
1486
1488
  try {
1487
- const U = await new Promise(
1488
- (I, ee) => {
1489
- k.current.getDetails(
1489
+ const K = await new Promise(
1490
+ (E, I) => {
1491
+ y.current.getDetails(
1490
1492
  {
1491
- placeId: T,
1493
+ placeId: j,
1492
1494
  fields: ["geometry", "address_components", "formatted_address"],
1493
- sessionToken: g.current ?? void 0
1495
+ sessionToken: h.current ?? void 0
1494
1496
  },
1495
- (Z, z) => {
1496
- z === google.maps.places.PlacesServiceStatus.OK && Z ? I(Z) : ee(new Error(`Place details error: ${z}`));
1497
+ (Q, M) => {
1498
+ M === google.maps.places.PlacesServiceStatus.OK && Q ? E(Q) : I(new Error(`Place details error: ${M}`));
1497
1499
  }
1498
1500
  );
1499
1501
  }
1500
1502
  );
1501
- g.current = new google.maps.places.AutocompleteSessionToken();
1502
- const b = U.geometry?.location?.lat() || 0, B = U.geometry?.location?.lng() || 0;
1503
- let X = "", V = "", D = "";
1504
- return U.address_components?.forEach((I) => {
1505
- I.types.includes("locality") && (X = I.long_name), I.types.includes("administrative_area_level_1") && (V = I.long_name), I.types.includes("country") && (D = I.long_name);
1503
+ h.current = new google.maps.places.AutocompleteSessionToken();
1504
+ const A = K.geometry?.location?.lat() || 0, L = K.geometry?.location?.lng() || 0;
1505
+ let re = "", Y = "", F = "";
1506
+ return K.address_components?.forEach((E) => {
1507
+ E.types.includes("locality") && (re = E.long_name), E.types.includes("administrative_area_level_1") && (Y = E.long_name), E.types.includes("country") && (F = E.long_name);
1506
1508
  }), {
1507
- display_name: U.formatted_address || "",
1508
- lat: b,
1509
- lng: B,
1510
- city: X,
1511
- state: V,
1512
- country: D
1509
+ display_name: K.formatted_address || "",
1510
+ lat: A,
1511
+ lng: L,
1512
+ city: re,
1513
+ state: Y,
1514
+ country: F
1513
1515
  };
1514
1516
  } catch {
1515
1517
  return null;
1516
1518
  }
1517
1519
  },
1518
1520
  []
1519
- ), E = be(() => w([]), []);
1521
+ ), U = ye(() => x([]), []);
1520
1522
  return {
1521
1523
  isLoaded: _,
1522
- predictions: P,
1523
- isSearching: W,
1524
- loadError: A,
1525
- searchPlaces: Q,
1526
- getPlaceDetails: N,
1527
- clearPredictions: E,
1528
- triggerLoad: C
1524
+ predictions: T,
1525
+ isSearching: $,
1526
+ loadError: N,
1527
+ searchPlaces: Z,
1528
+ getPlaceDetails: S,
1529
+ clearPredictions: U,
1530
+ triggerLoad: w
1529
1531
  // Call this to start loading Google Maps when deferred
1530
1532
  };
1531
- }, bt = (a) => typeof a == "number" && Number.isFinite(a), br = (a) => {
1532
- const o = typeof a?.limit == "number" && a.limit > 0 ? Math.min(a.limit, 20) : 8, l = typeof a?.offset == "number" && a.offset >= 0 ? a.offset : 0;
1533
+ }, yt = (a) => typeof a == "number" && Number.isFinite(a), kr = (a) => {
1534
+ const o = typeof a?.limit == "number" && a.limit > 0 ? Math.min(a.limit, 20) : 8, s = typeof a?.offset == "number" && a.offset >= 0 ? a.offset : 0;
1533
1535
  return {
1534
1536
  limit: o,
1535
- offset: l,
1537
+ offset: s,
1536
1538
  restrictCountry: a?.restrictCountry
1537
1539
  };
1538
- }, yr = (a) => {
1539
- const { searchLocalities: o, restrictCountry: l } = a, [m, u] = M([]), [_, h] = M(!1), [P, w] = M(null), W = Y(0);
1540
+ }, vr = (a) => {
1541
+ const { searchLocalities: o, restrictCountry: s } = a, [m, p] = D([]), [_, f] = D(!1), [T, x] = D(null), $ = q(0);
1540
1542
  J(() => {
1541
- w(null);
1543
+ x(null);
1542
1544
  }, [o]);
1543
- const F = be(
1544
- async (p) => {
1545
- if (!p || p.length < 2 || !o) {
1546
- u([]);
1545
+ const O = ye(
1546
+ async (u) => {
1547
+ if (!u || u.length < 2 || !o) {
1548
+ p([]);
1547
1549
  return;
1548
1550
  }
1549
- const O = ++W.current;
1550
- h(!0), w(null);
1551
+ const G = ++$.current;
1552
+ f(!0), x(null);
1551
1553
  try {
1552
- const v = br({ restrictCountry: l }), G = await o(p, v);
1553
- if (O !== W.current) return;
1554
- const k = (G || []).filter(
1555
- (g) => !!g?.id && !!g?.description && bt(g?.lat) && bt(g?.lng)
1556
- ).map((g) => ({
1557
- id: g.id,
1558
- description: g.description,
1559
- secondary_text: g.secondaryText,
1560
- lat: g.lat,
1561
- lng: g.lng
1554
+ const v = kr({ restrictCountry: s }), H = await o(u, v);
1555
+ if (G !== $.current) return;
1556
+ const y = (H || []).filter(
1557
+ (h) => !!h?.id && !!h?.description && yt(h?.lat) && yt(h?.lng)
1558
+ ).map((h) => ({
1559
+ id: h.id,
1560
+ description: h.description,
1561
+ secondary_text: h.secondaryText,
1562
+ lat: h.lat,
1563
+ lng: h.lng
1562
1564
  }));
1563
- u(k);
1565
+ p(y);
1564
1566
  } catch (v) {
1565
- if (O !== W.current) return;
1566
- u([]), w(v?.message || "Failed to fetch locations");
1567
+ if (G !== $.current) return;
1568
+ p([]), x(v?.message || "Failed to fetch locations");
1567
1569
  } finally {
1568
- O === W.current && h(!1);
1570
+ G === $.current && f(!1);
1569
1571
  }
1570
1572
  },
1571
- [l, o]
1572
- ), A = be(() => u([]), []);
1573
+ [s, o]
1574
+ ), N = ye(() => p([]), []);
1573
1575
  return {
1574
1576
  predictions: m,
1575
1577
  isSearching: _,
1576
- loadError: P,
1577
- searchPlaces: F,
1578
- clearPredictions: A
1578
+ loadError: T,
1579
+ searchPlaces: O,
1580
+ clearPredictions: N
1579
1581
  };
1580
- }, Oe = {
1582
+ }, Fe = {
1581
1583
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1582
1584
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1583
1585
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1584
1586
  info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1585
- }, Tt = [
1587
+ }, St = [
1586
1588
  { code: "+1", country: "USA / Canada" },
1587
1589
  { code: "+7", country: "Russia / Kazakhstan" },
1588
1590
  { code: "+20", country: "Egypt" },
@@ -1652,60 +1654,60 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1652
1654
  { code: "+975", country: "Bhutan" },
1653
1655
  { code: "+976", country: "Mongolia" },
1654
1656
  { code: "+977", country: "Nepal" }
1655
- ], et = Tt.map((a) => a.code), St = 10, nt = (a) => a.replace(/\D/g, ""), yt = (a) => nt(a).slice(0, St), vr = (a) => nt(a).length === St, kr = (a, o, l) => vr(a) ? l.phone ? { shouldTrack: !1 } : (l.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${nt(a)}` }) : (l.phone = !1, { shouldTrack: !1 }), xr = {}, wr = ({
1657
+ ], tt = St.map((a) => a.code), jt = 10, ot = (a) => a.replace(/\D/g, ""), kt = (a) => ot(a).slice(0, jt), xr = (a) => ot(a).length === jt, wr = (a, o, s) => xr(a) ? s.phone ? { shouldTrack: !1 } : (s.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${ot(a)}` }) : (s.phone = !1, { shouldTrack: !1 }), Pr = {}, Tr = ({
1656
1658
  t: a,
1657
1659
  values: o,
1658
- onChange: l,
1660
+ onChange: s,
1659
1661
  phoneIsdCode: m,
1660
- onPhoneIsdCodeChange: u,
1662
+ onPhoneIsdCodeChange: p,
1661
1663
  showV1ExtraFields: _ = !1,
1662
- analytics: h,
1663
- googleMapsApiKey: P,
1664
- atlasSearchLocalities: w,
1665
- googleMapsAutocompleteEnabled: W,
1666
- className: F = ""
1664
+ analytics: f,
1665
+ googleMapsApiKey: T,
1666
+ atlasSearchLocalities: x,
1667
+ googleMapsAutocompleteEnabled: $,
1668
+ className: O = ""
1667
1669
  }) => {
1668
- const A = Ee(), p = A?.config?.analytics ?? h, O = A?.config.isGlobal ?? !0, v = A?.config?.googleMapsApiKey, G = A?.config?.atlasSearchLocalities, k = A?.config?.googleMapsAutocompleteEnabled, [g, C] = M(!1), [Q, N] = M(""), E = Y(null), T = Y(null), U = Y({}), b = (r) => l({ ...o, ...r }), B = (r, c) => {
1670
+ const N = Le(), u = N?.config?.analytics ?? f, G = N?.config.isGlobal ?? !0, v = N?.config?.googleMapsApiKey, H = N?.config?.atlasSearchLocalities, y = N?.config?.googleMapsAutocompleteEnabled, [h, w] = D(!1), [Z, S] = D(""), U = q(null), j = q(null), K = q({}), A = (r) => s({ ...o, ...r }), L = (r, c) => {
1669
1671
  if (r === "phone") {
1670
- const H = kr(c, m, U.current);
1671
- H.shouldTrack && p?.trackPhoneSectionFilled?.({ phone: H.fullPhone });
1672
+ const V = wr(c, m, K.current);
1673
+ V.shouldTrack && u?.trackPhoneSectionFilled?.({ phone: V.fullPhone });
1672
1674
  return;
1673
1675
  }
1674
- c.trim() && !U.current[r] && (U.current[r] = !0, {
1675
- fullName: () => p?.trackNameSectionFilled?.(),
1676
- dateOfBirth: () => p?.trackDobFilled?.(),
1677
- birthTime: () => p?.trackTimeFilled?.(),
1678
- birthPlace: () => p?.trackPlaceOfBirthChosen?.()
1676
+ c.trim() && !K.current[r] && (K.current[r] = !0, {
1677
+ fullName: () => u?.trackNameSectionFilled?.(),
1678
+ dateOfBirth: () => u?.trackDobFilled?.(),
1679
+ birthTime: () => u?.trackTimeFilled?.(),
1680
+ birthPlace: () => u?.trackPlaceOfBirthChosen?.()
1679
1681
  }[r]?.());
1680
- }, X = (r) => {
1682
+ }, re = (r) => {
1681
1683
  const c = r.target.value;
1682
- c.trim() && p?.trackEmailSectionFilled?.({ email: c });
1683
- }, V = Q.trim().toLowerCase(), D = Tt.filter((r) => V ? r.country.toLowerCase().includes(V) || r.code.includes(V) : !0), I = Y(null);
1684
- Y(null);
1685
- const ee = Y(null), Z = Y(0), z = Y(null), [ye, ne] = M(!1), [s, S] = M({ hour12: 12, minute: "00", meridiem: "AM" }), K = (r) => String(r).padStart(2, "0"), ue = (r) => {
1684
+ c.trim() && u?.trackEmailSectionFilled?.({ email: c });
1685
+ }, Y = Z.trim().toLowerCase(), F = St.filter((r) => Y ? r.country.toLowerCase().includes(Y) || r.code.includes(Y) : !0), E = q(null);
1686
+ q(null);
1687
+ const I = q(null), Q = q(0), M = q(null), [ce, ee] = D(!1), [ie, le] = D({ hour12: 12, minute: "00", meridiem: "AM" }), te = (r) => String(r).padStart(2, "0"), ke = (r) => {
1686
1688
  const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
1687
1689
  if (!c) return r;
1688
- const H = Number(c[1]), ge = c[2], Ue = H >= 12 ? "PM" : "AM";
1689
- return `${H % 12 === 0 ? 12 : H % 12}:${ge} ${Ue}`;
1690
- }, ve = (r) => {
1690
+ const V = Number(c[1]), _e = c[2], Ue = V >= 12 ? "PM" : "AM";
1691
+ return `${V % 12 === 0 ? 12 : V % 12}:${_e} ${Ue}`;
1692
+ }, he = (r) => {
1691
1693
  const c = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(r);
1692
1694
  if (!c) return { hour12: 12, minute: "00", meridiem: "AM" };
1693
- const H = Number(c[1]), ge = c[2], Ue = H >= 12 ? "PM" : "AM";
1694
- return { hour12: H % 12 === 0 ? 12 : H % 12, minute: ge, meridiem: Ue };
1695
- }, je = (r) => {
1696
- const c = Math.min(12, Math.max(1, r.hour12)), H = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
1697
- let ge = c % 12;
1698
- return r.meridiem === "PM" && (ge += 12), `${K(ge)}:${H}`;
1699
- }, he = Y(null), [te, pe] = M(!1), me = Y(o.birthPlace ?? ""), [ce, oe] = M(
1695
+ const V = Number(c[1]), _e = c[2], Ue = V >= 12 ? "PM" : "AM";
1696
+ return { hour12: V % 12 === 0 ? 12 : V % 12, minute: _e, meridiem: Ue };
1697
+ }, Ce = (r) => {
1698
+ const c = Math.min(12, Math.max(1, r.hour12)), V = /^([0-5]\d)$/.test(r.minute) ? r.minute : "00";
1699
+ let _e = c % 12;
1700
+ return r.meridiem === "PM" && (_e += 12), `${te(_e)}:${V}`;
1701
+ }, me = q(null), [X, l] = D(!1), P = q(o.birthPlace ?? ""), [oe, se] = D(
1700
1702
  null
1701
- ), ke = P ?? v ?? xr?.VITE_GOOGLE_MAPS_API_KEY, Se = w ?? G, ie = W ?? k ?? !0, se = (o.birthPlace ?? "").trim(), Te = O ? void 0 : "in", fe = _r({
1702
- apiKey: ie ? ke : void 0,
1703
+ ), ve = T ?? v ?? Pr?.VITE_GOOGLE_MAPS_API_KEY, je = x ?? H, de = $ ?? y ?? !0, ue = (o.birthPlace ?? "").trim(), Se = G ? void 0 : "in", ge = yr({
1704
+ apiKey: de ? ve : void 0,
1703
1705
  language: "en",
1704
- restrictCountry: Te
1705
- }), we = yr({
1706
- searchLocalities: ie ? void 0 : Se,
1707
- restrictCountry: Te
1708
- }), Pe = ie ? fe.predictions.map((r) => ({
1706
+ restrictCountry: Se
1707
+ }), we = vr({
1708
+ searchLocalities: de ? void 0 : je,
1709
+ restrictCountry: Se
1710
+ }), Pe = de ? ge.predictions.map((r) => ({
1709
1711
  id: r.place_id,
1710
1712
  description: r.description,
1711
1713
  secondaryText: r.structured_formatting?.secondary_text,
@@ -1717,65 +1719,65 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1717
1719
  secondaryText: r.secondary_text,
1718
1720
  lat: r.lat,
1719
1721
  lng: r.lng
1720
- })), Ie = ie ? fe.isSearching : we.isSearching, Le = ie ? fe.loadError : we.loadError, j = ie ? !!ke : !!Se, Be = ie ? fe.searchPlaces : we.searchPlaces, Me = ie ? fe.clearPredictions : we.clearPredictions, $e = Y(() => {
1722
+ })), Ee = de ? ge.isSearching : we.isSearching, Ie = de ? ge.loadError : we.loadError, C = de ? !!ve : !!je, Be = de ? ge.searchPlaces : we.searchPlaces, Me = de ? ge.clearPredictions : we.clearPredictions, $e = q(() => {
1721
1723
  });
1722
1724
  $e.current = () => {
1723
- (o.birthPlace ?? "") !== me.current && b({
1725
+ (o.birthPlace ?? "") !== P.current && A({
1724
1726
  birthPlace: "",
1725
1727
  birthPlaceLat: void 0,
1726
1728
  birthPlaceLng: void 0
1727
- }), pe(!1);
1729
+ }), l(!1);
1728
1730
  }, J(() => {
1729
1731
  const r = (c) => {
1730
- he.current && (he.current.contains(c.target) || $e.current());
1732
+ me.current && (me.current.contains(c.target) || $e.current());
1731
1733
  };
1732
1734
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
1733
1735
  }, []), J(() => {
1734
1736
  const r = (c) => {
1735
- E.current && (E.current.contains(c.target) || (C(!1), N("")));
1737
+ U.current && (U.current.contains(c.target) || (w(!1), S("")));
1736
1738
  };
1737
1739
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
1738
1740
  }, []), J(() => {
1739
- if (!g) return;
1741
+ if (!h) return;
1740
1742
  const r = window.setTimeout(() => {
1741
- T.current?.focus();
1743
+ j.current?.focus();
1742
1744
  }, 0);
1743
1745
  return () => window.clearTimeout(r);
1744
- }, [g]), J(() => {
1745
- if (!te) return;
1746
- if (se.length < 2) {
1746
+ }, [h]), J(() => {
1747
+ if (!X) return;
1748
+ if (ue.length < 2) {
1747
1749
  Me();
1748
1750
  return;
1749
1751
  }
1750
1752
  const r = window.setTimeout(async () => {
1751
- await Be(se);
1753
+ await Be(ue);
1752
1754
  }, 250);
1753
1755
  return () => window.clearTimeout(r);
1754
- }, [Me, te, se, Be]);
1756
+ }, [Me, X, ue, Be]);
1755
1757
  const Ge = (r) => {
1756
1758
  const c = r.current;
1757
1759
  if (!(!c || c.disabled)) {
1758
- if (document.activeElement === c && ee.current === c && Date.now() - Z.current < 6e4) {
1760
+ if (document.activeElement === c && I.current === c && Date.now() - Q.current < 6e4) {
1759
1761
  c.blur();
1760
1762
  return;
1761
1763
  }
1762
1764
  if (typeof c.showPicker == "function") {
1763
- c.showPicker(), ee.current = c, Z.current = Date.now();
1765
+ c.showPicker(), I.current = c, Q.current = Date.now();
1764
1766
  return;
1765
1767
  }
1766
- c.focus(), ee.current = c, Z.current = Date.now();
1768
+ c.focus(), I.current = c, Q.current = Date.now();
1767
1769
  }
1768
1770
  };
1769
1771
  return J(() => {
1770
1772
  const r = (c) => {
1771
- z.current && (z.current.contains(c.target) || ne(!1));
1773
+ M.current && (M.current.contains(c.target) || ee(!1));
1772
1774
  };
1773
1775
  return document.addEventListener("mousedown", r), () => document.removeEventListener("mousedown", r);
1774
1776
  }, []), J(() => {
1775
- const r = (H) => {
1776
- H.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1777
- }, c = (H) => {
1778
- H.key === "Escape" && oe(null);
1777
+ const r = (V) => {
1778
+ V.target?.closest?.("[data-info-tooltip]") == null && se(null);
1779
+ }, c = (V) => {
1780
+ V.key === "Escape" && se(null);
1779
1781
  };
1780
1782
  return document.addEventListener("mousedown", r), document.addEventListener("keydown", c), () => {
1781
1783
  document.removeEventListener("mousedown", r), document.removeEventListener("keydown", c);
@@ -1783,7 +1785,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1783
1785
  }, []), /* @__PURE__ */ e.jsx(
1784
1786
  "section",
1785
1787
  {
1786
- className: `${n.wrap} ${F}`,
1788
+ className: `${n.wrap} ${O}`,
1787
1789
  "aria-label": a("formTitle"),
1788
1790
  children: /* @__PURE__ */ e.jsx("div", { className: n.card, children: /* @__PURE__ */ e.jsxs("div", { className: n.cardInner, children: [
1789
1791
  /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
@@ -1798,10 +1800,10 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1798
1800
  className: n.input,
1799
1801
  type: "text",
1800
1802
  value: o.fullName,
1801
- onFocus: () => p?.trackNameSectionClicked?.(),
1803
+ onFocus: () => u?.trackNameSectionClicked?.(),
1802
1804
  onChange: (r) => {
1803
1805
  const c = r.target.value;
1804
- b({ fullName: c }), B("fullName", c);
1806
+ A({ fullName: c }), L("fullName", c);
1805
1807
  },
1806
1808
  placeholder: a("formFullNamePlaceholder"),
1807
1809
  autoComplete: "name"
@@ -1811,9 +1813,9 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1811
1813
  /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
1812
1814
  /* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-phone", children: [
1813
1815
  a("formPhone"),
1814
- !O && /* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
1816
+ !G && /* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
1815
1817
  ] }) }),
1816
- /* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: n.isdWrap, ref: E, children: [
1818
+ /* @__PURE__ */ e.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ e.jsxs("div", { className: n.isdWrap, ref: U, children: [
1817
1819
  /* @__PURE__ */ e.jsxs("div", { className: n.phoneInputGroup, children: [
1818
1820
  /* @__PURE__ */ e.jsx("div", { className: n.isdSelectWrap, children: /* @__PURE__ */ e.jsx(
1819
1821
  "button",
@@ -1821,9 +1823,9 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1821
1823
  type: "button",
1822
1824
  className: n.isdSelectTrigger,
1823
1825
  "aria-haspopup": "listbox",
1824
- "aria-expanded": g,
1826
+ "aria-expanded": h,
1825
1827
  onClick: () => {
1826
- C((r) => !r), N("");
1828
+ w((r) => !r), S("");
1827
1829
  },
1828
1830
  children: m
1829
1831
  }
@@ -1835,22 +1837,22 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1835
1837
  className: `${n.input} ${n.phoneInput}`,
1836
1838
  type: "tel",
1837
1839
  value: o.phone ?? "",
1838
- onFocus: () => p?.trackPhoneSectionClicked?.(),
1840
+ onFocus: () => u?.trackPhoneSectionClicked?.(),
1839
1841
  onChange: (r) => {
1840
1842
  const c = r.target.value;
1841
- b({ phone: yt(c) }), B("phone", yt(c));
1843
+ A({ phone: kt(c) }), L("phone", kt(c));
1842
1844
  },
1843
1845
  placeholder: a("formPhonePlaceholder"),
1844
1846
  autoComplete: "tel",
1845
1847
  inputMode: "numeric",
1846
1848
  pattern: "[0-9]{10}",
1847
1849
  maxLength: 10,
1848
- required: !O,
1849
- "aria-required": !O
1850
+ required: !G,
1851
+ "aria-required": !G
1850
1852
  }
1851
1853
  )
1852
1854
  ] }),
1853
- g && /* @__PURE__ */ e.jsxs(
1855
+ h && /* @__PURE__ */ e.jsxs(
1854
1856
  "div",
1855
1857
  {
1856
1858
  className: n.isdDropdown,
@@ -1860,16 +1862,16 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1860
1862
  /* @__PURE__ */ e.jsx("div", { className: n.isdSearchWrap, children: /* @__PURE__ */ e.jsx(
1861
1863
  "input",
1862
1864
  {
1863
- ref: T,
1865
+ ref: j,
1864
1866
  type: "text",
1865
- value: Q,
1866
- onChange: (r) => N(r.target.value),
1867
+ value: Z,
1868
+ onChange: (r) => S(r.target.value),
1867
1869
  placeholder: "Search country",
1868
1870
  className: n.isdSearchInput,
1869
1871
  "aria-label": "Search country"
1870
1872
  }
1871
1873
  ) }),
1872
- D.length > 0 ? D.map((r) => /* @__PURE__ */ e.jsxs(
1874
+ F.length > 0 ? F.map((r) => /* @__PURE__ */ e.jsxs(
1873
1875
  "button",
1874
1876
  {
1875
1877
  type: "button",
@@ -1877,7 +1879,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1877
1879
  "aria-selected": r.code === m,
1878
1880
  className: `${n.isdOption} ${r.code === m ? n.isdOptionActive : ""}`,
1879
1881
  onClick: () => {
1880
- u(r.code), C(!1), N("");
1882
+ p(r.code), w(!1), S("");
1881
1883
  },
1882
1884
  children: [
1883
1885
  /* @__PURE__ */ e.jsx("span", { className: n.isdCountryName, children: r.country }),
@@ -1910,7 +1912,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1910
1912
  type: "button",
1911
1913
  className: `${n.choiceBtn} ${o.gender === "male" ? n.choiceBtnActive : ""}`,
1912
1914
  onClick: () => {
1913
- b({ gender: "male" }), p?.trackGenderSelected?.({
1915
+ A({ gender: "male" }), u?.trackGenderSelected?.({
1914
1916
  gender: "male"
1915
1917
  });
1916
1918
  },
@@ -1926,7 +1928,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1926
1928
  type: "button",
1927
1929
  className: `${n.choiceBtn} ${o.gender === "female" ? n.choiceBtnActive : ""}`,
1928
1930
  onClick: () => {
1929
- b({ gender: "female" }), p?.trackGenderSelected?.({
1931
+ A({ gender: "female" }), u?.trackGenderSelected?.({
1930
1932
  gender: "female"
1931
1933
  });
1932
1934
  },
@@ -1939,7 +1941,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1939
1941
  }
1940
1942
  )
1941
1943
  ] }),
1942
- O && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
1944
+ G && /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
1943
1945
  /* @__PURE__ */ e.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ e.jsxs("label", { className: n.label, htmlFor: "kundli-email", children: [
1944
1946
  a("formEmail"),
1945
1947
  /* @__PURE__ */ e.jsx("span", { className: n.req, children: "*" })
@@ -1952,11 +1954,11 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1952
1954
  className: n.input,
1953
1955
  type: "email",
1954
1956
  value: o.email,
1955
- onFocus: () => p?.trackEmailSectionClicked?.(),
1957
+ onFocus: () => u?.trackEmailSectionClicked?.(),
1956
1958
  onChange: (r) => {
1957
- b({ email: r.target.value });
1959
+ A({ email: r.target.value });
1958
1960
  },
1959
- onBlur: X,
1961
+ onBlur: re,
1960
1962
  placeholder: a("formEmailPlaceholder"),
1961
1963
  autoComplete: "email",
1962
1964
  required: !0,
@@ -1977,22 +1979,22 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
1977
1979
  type: "button",
1978
1980
  className: n.infoBtn,
1979
1981
  "aria-label": a("info"),
1980
- "aria-expanded": ce === "dob",
1982
+ "aria-expanded": oe === "dob",
1981
1983
  onClick: () => {
1982
- oe((r) => r === "dob" ? null : "dob"), p?.trackInfoIconClicked?.({ fieldName: "dob" });
1984
+ se((r) => r === "dob" ? null : "dob"), u?.trackInfoIconClicked?.({ fieldName: "dob" });
1983
1985
  },
1984
1986
  children: /* @__PURE__ */ e.jsx(
1985
1987
  "img",
1986
1988
  {
1987
1989
  className: n.infoImg,
1988
- src: Oe.info,
1990
+ src: Fe.info,
1989
1991
  alt: "",
1990
1992
  "aria-hidden": !0
1991
1993
  }
1992
1994
  )
1993
1995
  }
1994
1996
  ),
1995
- ce === "dob" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1997
+ oe === "dob" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1996
1998
  a("formDobInfo"),
1997
1999
  /* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1998
2000
  ] })
@@ -2005,20 +2007,20 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2005
2007
  id: "kundli-dob",
2006
2008
  className: n.input,
2007
2009
  type: "date",
2008
- ref: I,
2010
+ ref: E,
2009
2011
  value: o.dateOfBirth,
2010
2012
  max: (() => {
2011
2013
  const r = /* @__PURE__ */ new Date();
2012
- return `${r.getFullYear()}-${K(r.getMonth() + 1)}-${K(r.getDate())}`;
2014
+ return `${r.getFullYear()}-${te(r.getMonth() + 1)}-${te(r.getDate())}`;
2013
2015
  })(),
2014
2016
  onChange: (r) => {
2015
- const c = r.target.value, H = /* @__PURE__ */ new Date(), ge = `${H.getFullYear()}-${K(H.getMonth() + 1)}-${K(H.getDate())}`;
2016
- c && c > ge || (b({ dateOfBirth: c }), B("dateOfBirth", c), ee.current = null);
2017
+ const c = r.target.value, V = /* @__PURE__ */ new Date(), _e = `${V.getFullYear()}-${te(V.getMonth() + 1)}-${te(V.getDate())}`;
2018
+ c && c > _e || (A({ dateOfBirth: c }), L("dateOfBirth", c), I.current = null);
2017
2019
  },
2018
- onFocus: () => p?.trackDobClicked?.(),
2019
- onClick: () => Ge(I),
2020
+ onFocus: () => u?.trackDobClicked?.(),
2021
+ onClick: () => Ge(E),
2020
2022
  onBlur: () => {
2021
- ee.current === I.current && (ee.current = null);
2023
+ I.current === E.current && (I.current = null);
2022
2024
  }
2023
2025
  }
2024
2026
  ),
@@ -2030,13 +2032,13 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2030
2032
  "aria-label": "Open date picker",
2031
2033
  onMouseDown: (r) => r.preventDefault(),
2032
2034
  onClick: (r) => {
2033
- r.preventDefault(), r.stopPropagation(), Ge(I);
2035
+ r.preventDefault(), r.stopPropagation(), Ge(E);
2034
2036
  },
2035
2037
  children: /* @__PURE__ */ e.jsx(
2036
2038
  "img",
2037
2039
  {
2038
2040
  className: n.iconImg,
2039
- src: Oe.date,
2041
+ src: Fe.date,
2040
2042
  alt: "",
2041
2043
  "aria-hidden": !0
2042
2044
  }
@@ -2058,45 +2060,45 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2058
2060
  type: "button",
2059
2061
  className: n.infoBtn,
2060
2062
  "aria-label": a("info"),
2061
- "aria-expanded": ce === "time",
2063
+ "aria-expanded": oe === "time",
2062
2064
  onClick: () => {
2063
- p?.trackInfoIconClicked?.({ fieldName: "time" }), oe((r) => r === "time" ? null : "time");
2065
+ u?.trackInfoIconClicked?.({ fieldName: "time" }), se((r) => r === "time" ? null : "time");
2064
2066
  },
2065
2067
  children: /* @__PURE__ */ e.jsx(
2066
2068
  "img",
2067
2069
  {
2068
2070
  className: n.infoImg,
2069
- src: Oe.info,
2071
+ src: Fe.info,
2070
2072
  alt: "",
2071
2073
  "aria-hidden": !0
2072
2074
  }
2073
2075
  )
2074
2076
  }
2075
2077
  ),
2076
- ce === "time" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2078
+ oe === "time" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2077
2079
  a("formBirthTimeInfo"),
2078
2080
  /* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2079
2081
  ] })
2080
2082
  ] })
2081
2083
  ] }),
2082
- /* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: z, children: [
2084
+ /* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: M, children: [
2083
2085
  /* @__PURE__ */ e.jsx(
2084
2086
  "input",
2085
2087
  {
2086
2088
  id: "kundli-birth-time",
2087
2089
  className: n.input,
2088
2090
  type: "text",
2089
- value: o.birthTime ? ue(o.birthTime) : "",
2091
+ value: o.birthTime ? ke(o.birthTime) : "",
2090
2092
  readOnly: !0,
2091
- onFocus: () => p?.trackTimeClicked?.(),
2093
+ onFocus: () => u?.trackTimeClicked?.(),
2092
2094
  onChange: (r) => {
2093
2095
  const c = r.target.value;
2094
- b({ birthTime: c }), B("birthTime", c);
2096
+ A({ birthTime: c }), L("birthTime", c);
2095
2097
  },
2096
2098
  disabled: o.birthTimeUnknown,
2097
2099
  placeholder: "HH:MM AM",
2098
2100
  onClick: () => {
2099
- o.birthTimeUnknown || (S(ve(o.birthTime || "12:00")), ne((r) => !r));
2101
+ o.birthTimeUnknown || (le(he(o.birthTime || "12:00")), ee((r) => !r));
2100
2102
  }
2101
2103
  }
2102
2104
  ),
@@ -2109,20 +2111,20 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2109
2111
  disabled: o.birthTimeUnknown,
2110
2112
  onMouseDown: (r) => r.preventDefault(),
2111
2113
  onClick: (r) => {
2112
- r.preventDefault(), r.stopPropagation(), !o.birthTimeUnknown && (S(ve(o.birthTime || "12:00")), ne((c) => !c));
2114
+ r.preventDefault(), r.stopPropagation(), !o.birthTimeUnknown && (le(he(o.birthTime || "12:00")), ee((c) => !c));
2113
2115
  },
2114
2116
  children: /* @__PURE__ */ e.jsx(
2115
2117
  "img",
2116
2118
  {
2117
2119
  className: n.iconImg,
2118
- src: Oe.time,
2120
+ src: Fe.time,
2119
2121
  alt: "",
2120
2122
  "aria-hidden": !0
2121
2123
  }
2122
2124
  )
2123
2125
  }
2124
2126
  ),
2125
- ye && !o.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
2127
+ ce && !o.birthTimeUnknown && /* @__PURE__ */ e.jsxs(
2126
2128
  "div",
2127
2129
  {
2128
2130
  className: n.timePopover,
@@ -2134,8 +2136,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2134
2136
  "select",
2135
2137
  {
2136
2138
  className: n.timePickerSelect,
2137
- value: s.hour12,
2138
- onChange: (r) => S((c) => ({
2139
+ value: ie.hour12,
2140
+ onChange: (r) => le((c) => ({
2139
2141
  ...c,
2140
2142
  hour12: Number(r.target.value)
2141
2143
  })),
@@ -2148,10 +2150,10 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2148
2150
  "select",
2149
2151
  {
2150
2152
  className: n.timePickerSelect,
2151
- value: s.minute,
2152
- onChange: (r) => S((c) => ({ ...c, minute: r.target.value })),
2153
+ value: ie.minute,
2154
+ onChange: (r) => le((c) => ({ ...c, minute: r.target.value })),
2153
2155
  "aria-label": "Minute",
2154
- children: Array.from({ length: 60 }, (r, c) => K(c)).map(
2156
+ children: Array.from({ length: 60 }, (r, c) => te(c)).map(
2155
2157
  (r) => /* @__PURE__ */ e.jsx("option", { value: r, children: r }, r)
2156
2158
  )
2157
2159
  }
@@ -2161,8 +2163,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2161
2163
  "button",
2162
2164
  {
2163
2165
  type: "button",
2164
- className: `${n.meridiemBtn} ${s.meridiem === "AM" ? n.meridiemActive : ""}`,
2165
- onClick: () => S((r) => ({ ...r, meridiem: "AM" })),
2166
+ className: `${n.meridiemBtn} ${ie.meridiem === "AM" ? n.meridiemActive : ""}`,
2167
+ onClick: () => le((r) => ({ ...r, meridiem: "AM" })),
2166
2168
  children: "AM"
2167
2169
  }
2168
2170
  ),
@@ -2170,8 +2172,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2170
2172
  "button",
2171
2173
  {
2172
2174
  type: "button",
2173
- className: `${n.meridiemBtn} ${s.meridiem === "PM" ? n.meridiemActive : ""}`,
2174
- onClick: () => S((r) => ({ ...r, meridiem: "PM" })),
2175
+ className: `${n.meridiemBtn} ${ie.meridiem === "PM" ? n.meridiemActive : ""}`,
2176
+ onClick: () => le((r) => ({ ...r, meridiem: "PM" })),
2175
2177
  children: "PM"
2176
2178
  }
2177
2179
  )
@@ -2183,7 +2185,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2183
2185
  {
2184
2186
  type: "button",
2185
2187
  className: n.timePopoverBtn,
2186
- onClick: () => ne(!1),
2188
+ onClick: () => ee(!1),
2187
2189
  children: "Cancel"
2188
2190
  }
2189
2191
  ),
@@ -2193,8 +2195,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2193
2195
  type: "button",
2194
2196
  className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
2195
2197
  onClick: () => {
2196
- const r = je(s);
2197
- b({ birthTime: r }), B("birthTime", r), ne(!1);
2198
+ const r = Ce(ie);
2199
+ A({ birthTime: r }), L("birthTime", r), ee(!1);
2198
2200
  },
2199
2201
  "aria-label": "OK",
2200
2202
  children: /* @__PURE__ */ e.jsx(
@@ -2234,7 +2236,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2234
2236
  type: "checkbox",
2235
2237
  checked: o.birthTimeUnknown,
2236
2238
  onChange: (r) => {
2237
- p?.trackTimeCheckboxClicked?.(), b({
2239
+ u?.trackTimeCheckboxClicked?.(), A({
2238
2240
  birthTimeUnknown: r.target.checked,
2239
2241
  birthTime: r.target.checked ? "" : o.birthTime
2240
2242
  });
@@ -2268,30 +2270,30 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2268
2270
  type: "button",
2269
2271
  className: n.infoBtn,
2270
2272
  "aria-label": a("info"),
2271
- "aria-expanded": ce === "place",
2273
+ "aria-expanded": oe === "place",
2272
2274
  onClick: () => {
2273
- p?.trackInfoIconClicked?.({
2275
+ u?.trackInfoIconClicked?.({
2274
2276
  fieldName: "birthPlace"
2275
- }), oe((r) => r === "place" ? null : "place");
2277
+ }), se((r) => r === "place" ? null : "place");
2276
2278
  },
2277
2279
  children: /* @__PURE__ */ e.jsx(
2278
2280
  "img",
2279
2281
  {
2280
2282
  className: n.infoImg,
2281
- src: Oe.info,
2283
+ src: Fe.info,
2282
2284
  alt: "",
2283
2285
  "aria-hidden": !0
2284
2286
  }
2285
2287
  )
2286
2288
  }
2287
2289
  ),
2288
- ce === "place" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2290
+ oe === "place" && /* @__PURE__ */ e.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2289
2291
  a("formBirthPlaceInfo"),
2290
2292
  /* @__PURE__ */ e.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2291
2293
  ] })
2292
2294
  ] })
2293
2295
  ] }),
2294
- /* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: he, children: [
2296
+ /* @__PURE__ */ e.jsxs("div", { className: n.inputWrap, ref: me, children: [
2295
2297
  /* @__PURE__ */ e.jsx(
2296
2298
  "input",
2297
2299
  {
@@ -2301,14 +2303,14 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2301
2303
  value: o.birthPlace,
2302
2304
  onChange: (r) => {
2303
2305
  const c = r.target.value;
2304
- b({
2306
+ A({
2305
2307
  birthPlace: c,
2306
2308
  birthPlaceLat: void 0,
2307
2309
  birthPlaceLng: void 0
2308
- }), B("birthPlace", c), pe(!0);
2310
+ }), L("birthPlace", c), l(!0);
2309
2311
  },
2310
2312
  onFocus: () => {
2311
- p?.trackPlaceOfBirthClicked?.(), pe(!0);
2313
+ u?.trackPlaceOfBirthClicked?.(), l(!0);
2312
2314
  },
2313
2315
  placeholder: a("formBirthPlacePlaceholder"),
2314
2316
  autoComplete: "address-level2"
@@ -2318,31 +2320,31 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2318
2320
  "img",
2319
2321
  {
2320
2322
  className: n.iconImg,
2321
- src: Oe.location,
2323
+ src: Fe.location,
2322
2324
  alt: "",
2323
2325
  "aria-hidden": !0
2324
2326
  }
2325
2327
  ) }),
2326
- te && Pe.length > 0 && /* @__PURE__ */ e.jsx("div", { className: n.suggestions, role: "listbox", children: Pe.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
2328
+ X && Pe.length > 0 && /* @__PURE__ */ e.jsx("div", { className: n.suggestions, role: "listbox", children: Pe.slice(0, 8).map((r) => /* @__PURE__ */ e.jsxs(
2327
2329
  "button",
2328
2330
  {
2329
2331
  type: "button",
2330
2332
  className: n.suggestionItem,
2331
2333
  onClick: async () => {
2332
2334
  const c = r.description;
2333
- if (me.current = c, b({
2335
+ if (P.current = c, A({
2334
2336
  birthPlace: c,
2335
2337
  birthPlaceLat: r.lat,
2336
2338
  birthPlaceLng: r.lng
2337
- }), Me(), pe(!1), ie) {
2338
- const H = await fe.getPlaceDetails(
2339
+ }), Me(), l(!1), de) {
2340
+ const V = await ge.getPlaceDetails(
2339
2341
  r.id
2340
2342
  );
2341
- H && (me.current = c, l({
2343
+ V && (P.current = c, s({
2342
2344
  ...o,
2343
2345
  birthPlace: c,
2344
- birthPlaceLat: H.lat,
2345
- birthPlaceLng: H.lng
2346
+ birthPlaceLat: V.lat,
2347
+ birthPlaceLng: V.lng
2346
2348
  }));
2347
2349
  }
2348
2350
  },
@@ -2353,8 +2355,8 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2353
2355
  },
2354
2356
  r.id
2355
2357
  )) }),
2356
- te && j && Ie && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2357
- te && j && !Ie && !!Le && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: Le })
2358
+ X && C && Ee && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2359
+ X && C && !Ee && !!Ie && /* @__PURE__ */ e.jsx("div", { className: n.suggestionsHint, children: Ie })
2358
2360
  ] })
2359
2361
  ] }),
2360
2362
  _ && /* @__PURE__ */ e.jsxs("div", { className: n.field, children: [
@@ -2376,7 +2378,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2376
2378
  type: "button",
2377
2379
  className: `${n.choiceBtn} ${o.language_code === "hi" ? n.choiceBtnActive : ""}`,
2378
2380
  onClick: () => {
2379
- b({ language_code: "hi" }), p?.trackLanguageOfReportSelected?.({
2381
+ A({ language_code: "hi" }), u?.trackLanguageOfReportSelected?.({
2380
2382
  language: "hi"
2381
2383
  });
2382
2384
  },
@@ -2392,7 +2394,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2392
2394
  type: "button",
2393
2395
  className: `${n.choiceBtn} ${o.language_code === "en" ? n.choiceBtnActive : ""}`,
2394
2396
  onClick: () => {
2395
- b({ language_code: "en" }), p?.trackLanguageOfReportSelected?.({
2397
+ A({ language_code: "en" }), u?.trackLanguageOfReportSelected?.({
2396
2398
  language: "en"
2397
2399
  });
2398
2400
  },
@@ -2408,7 +2410,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2408
2410
  type: "button",
2409
2411
  className: `${n.choiceBtn} ${o.language_code === "te" ? n.choiceBtnActive : ""}`,
2410
2412
  onClick: () => {
2411
- b({ language_code: "te" }), p?.trackLanguageOfReportSelected?.({
2413
+ A({ language_code: "te" }), u?.trackLanguageOfReportSelected?.({
2412
2414
  language: "te"
2413
2415
  });
2414
2416
  },
@@ -2424,7 +2426,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2424
2426
  type: "button",
2425
2427
  className: `${n.choiceBtn} ${o.language_code === "ta" ? n.choiceBtnActive : ""}`,
2426
2428
  onClick: () => {
2427
- b({ language_code: "ta" }), p?.trackLanguageOfReportSelected?.({
2429
+ A({ language_code: "ta" }), u?.trackLanguageOfReportSelected?.({
2428
2430
  language: "ta"
2429
2431
  });
2430
2432
  },
@@ -2440,7 +2442,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2440
2442
  type: "button",
2441
2443
  className: `${n.choiceBtn} ${o.language_code === "kn" ? n.choiceBtnActive : ""}`,
2442
2444
  onClick: () => {
2443
- b({ language_code: "kn" }), p?.trackLanguageOfReportSelected?.({
2445
+ A({ language_code: "kn" }), u?.trackLanguageOfReportSelected?.({
2444
2446
  language: "kn"
2445
2447
  });
2446
2448
  },
@@ -2456,7 +2458,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2456
2458
  type: "button",
2457
2459
  className: `${n.choiceBtn} ${o.language_code === "gu" ? n.choiceBtnActive : ""}`,
2458
2460
  onClick: () => {
2459
- b({ language_code: "gu" }), p?.trackLanguageOfReportSelected?.({
2461
+ A({ language_code: "gu" }), u?.trackLanguageOfReportSelected?.({
2460
2462
  language: "gu"
2461
2463
  });
2462
2464
  },
@@ -2472,7 +2474,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2472
2474
  type: "button",
2473
2475
  className: `${n.choiceBtn} ${o.language_code === "mr" ? n.choiceBtnActive : ""}`,
2474
2476
  onClick: () => {
2475
- b({ language_code: "mr" }), p?.trackLanguageOfReportSelected?.({
2477
+ A({ language_code: "mr" }), u?.trackLanguageOfReportSelected?.({
2476
2478
  language: "mr"
2477
2479
  });
2478
2480
  },
@@ -2488,21 +2490,21 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2488
2490
  ] }) })
2489
2491
  }
2490
2492
  );
2491
- }, Pr = "_ctaButton_rhimw_2", Cr = "_ctaFilled_rhimw_21", Tr = "_ctaFilledContent_rhimw_52", Sr = "_chevronRight_rhimw_61", He = {
2492
- ctaButton: Pr,
2493
- ctaFilled: Cr,
2494
- ctaFilledContent: Tr,
2495
- chevronRight: Sr
2496
- }, jt = "kundli-report-astrologer", jr = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Nr = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Ar = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Rr = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Er = ({ t: a }) => {
2497
- const l = Ee()?.config.imageComponent ?? Ye;
2498
- return /* @__PURE__ */ e.jsxs("div", { className: Ae.marqueeContent, children: [
2499
- /* @__PURE__ */ e.jsxs("span", { className: Ae.badge, children: [
2493
+ }, Cr = "_ctaButton_rhimw_2", Sr = "_ctaFilled_rhimw_21", jr = "_ctaFilledContent_rhimw_52", Nr = "_chevronRight_rhimw_61", He = {
2494
+ ctaButton: Cr,
2495
+ ctaFilled: Sr,
2496
+ ctaFilledContent: jr,
2497
+ chevronRight: Nr
2498
+ }, Nt = "kundli-report-astrologer", Ar = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", Rr = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", Lr = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", Er = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", Ir = ({ t: a }) => {
2499
+ const s = Le()?.config.imageComponent ?? Ye;
2500
+ return /* @__PURE__ */ e.jsxs("div", { className: Re.marqueeContent, children: [
2501
+ /* @__PURE__ */ e.jsxs("span", { className: Re.badge, children: [
2500
2502
  /* @__PURE__ */ e.jsx(
2501
- l,
2503
+ s,
2502
2504
  {
2503
- src: jr,
2505
+ src: Ar,
2504
2506
  alt: "",
2505
- className: Ae.badgeIcon,
2507
+ className: Re.badgeIcon,
2506
2508
  width: 16,
2507
2509
  height: 16,
2508
2510
  loading: "lazy"
@@ -2510,13 +2512,13 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2510
2512
  ),
2511
2513
  a("ctaKundliCreated")
2512
2514
  ] }),
2513
- /* @__PURE__ */ e.jsxs("span", { className: Ae.badge, children: [
2515
+ /* @__PURE__ */ e.jsxs("span", { className: Re.badge, children: [
2514
2516
  /* @__PURE__ */ e.jsx(
2515
- l,
2517
+ s,
2516
2518
  {
2517
- src: Nr,
2519
+ src: Rr,
2518
2520
  alt: "",
2519
- className: Ae.badgeIcon,
2521
+ className: Re.badgeIcon,
2520
2522
  width: 16,
2521
2523
  height: 16,
2522
2524
  loading: "lazy"
@@ -2524,13 +2526,13 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2524
2526
  ),
2525
2527
  a("ctaCertified")
2526
2528
  ] }),
2527
- /* @__PURE__ */ e.jsxs("span", { className: Ae.badge, children: [
2529
+ /* @__PURE__ */ e.jsxs("span", { className: Re.badge, children: [
2528
2530
  /* @__PURE__ */ e.jsx(
2529
- l,
2531
+ s,
2530
2532
  {
2531
- src: Ar,
2533
+ src: Lr,
2532
2534
  alt: "",
2533
- className: Ae.badgeIcon,
2535
+ className: Re.badgeIcon,
2534
2536
  width: 16,
2535
2537
  height: 16,
2536
2538
  loading: "lazy"
@@ -2539,67 +2541,67 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2539
2541
  a("ctaSecurePayment")
2540
2542
  ] })
2541
2543
  ] });
2542
- }, Ir = (a) => /.+@.+\..+/.test(a), Lr = (a) => /^\d{10}$/.test(a), Br = (a, o, l) => {
2544
+ }, Br = (a) => /.+@.+\..+/.test(a), Dr = (a) => /^\d{10}$/.test(a), Or = (a, o, s) => {
2543
2545
  if (!a.fullName.trim()) return "fullName";
2544
2546
  if (o) {
2545
- if (!Ir(a.email.trim())) return "email";
2546
- } else if (!Lr((a.phone ?? "").trim())) return "phone";
2547
+ if (!Br(a.email.trim())) return "email";
2548
+ } else if (!Dr((a.phone ?? "").trim())) return "phone";
2547
2549
  if (!a.dateOfBirth) return "dateOfBirth";
2548
2550
  if (!a.birthPlace.trim()) return "birthPlace";
2549
- if (l) {
2551
+ if (s) {
2550
2552
  if (!a.gender) return "gender";
2551
2553
  if (!a.language_code) return "language_code";
2552
2554
  }
2553
2555
  return !a.birthTimeUnknown && !a.birthTime ? "birthTime" : null;
2554
- }, Dr = ({
2556
+ }, Fr = ({
2555
2557
  t: a,
2556
2558
  values: o,
2557
- phoneIsdCode: l,
2559
+ phoneIsdCode: s,
2558
2560
  requireV1ExtraFields: m = !1,
2559
- onValidationFailed: u,
2561
+ onValidationFailed: p,
2560
2562
  onProceed: _,
2561
- onProceedGuidance: h,
2562
- href: P,
2563
- analytics: w,
2564
- className: W = "",
2565
- discountedPriceLabel: F,
2566
- discountPillLabel: A,
2567
- showPlanSheet: p,
2568
- confirmPlan: O,
2563
+ onProceedGuidance: f,
2564
+ href: T,
2565
+ analytics: x,
2566
+ className: $ = "",
2567
+ discountedPriceLabel: O,
2568
+ discountPillLabel: N,
2569
+ showPlanSheet: u,
2570
+ confirmPlan: G,
2569
2571
  planSheetOpen: v,
2570
- selectedPlan: G
2572
+ selectedPlan: H
2571
2573
  }) => {
2572
- const k = Ee(), g = k?.config.isGlobal ?? !0, C = k?.config?.variant, Q = Re(
2573
- () => Br(o, g, m),
2574
- [o, g, m]
2575
- ), N = Q === null, E = C === "v1" && k?.config?.showSheet, T = g ? F ?? a("formDiscountedPrice") : E ? "" : "₹499", U = k?.config.imageComponent ?? Ye, b = (X) => {
2576
- if (X.preventDefault(), C === "v1" && !N && w?.trackKundliDetailedClicked?.(), !N) {
2577
- Q && u?.(Q);
2574
+ const y = Le(), h = y?.config.isGlobal ?? !0, w = y?.config?.variant, Z = Ne(
2575
+ () => Or(o, h, m),
2576
+ [o, h, m]
2577
+ ), S = Z === null, U = w === "v1" && y?.config?.showSheet, j = h ? O ?? a("formDiscountedPrice") : U ? "" : "₹499", K = y?.config.imageComponent ?? Ye, A = (re) => {
2578
+ if (re.preventDefault(), w === "v1" && !S && x?.trackKundliDetailedClicked?.(), !S) {
2579
+ Z && p?.(Z);
2578
2580
  return;
2579
2581
  }
2580
- const V = !!h && C === "v1" && G?.id === jt, D = (o.phone ?? "").trim(), I = {
2582
+ const Y = !!f && w === "v1" && H?.id === Nt, F = (o.phone ?? "").trim(), E = {
2581
2583
  ...o,
2582
- phone: D && `${l}-${D}`
2584
+ phone: F && `${s}-${F}`
2583
2585
  };
2584
- if (E) {
2585
- v ? O?.() : p?.(I);
2586
+ if (U) {
2587
+ v ? G?.() : u?.(E);
2586
2588
  return;
2587
2589
  }
2588
- w?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), V ? h(I) : _?.(I);
2589
- }, B = /* @__PURE__ */ e.jsx(
2590
- Yt,
2590
+ x?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), Y ? f(E) : _?.(E);
2591
+ }, L = /* @__PURE__ */ e.jsx(
2592
+ Vt,
2591
2593
  {
2592
- href: P,
2593
- disabled: C === "v1" ? !1 : !N,
2594
- onClick: b,
2594
+ href: T,
2595
+ disabled: w === "v1" ? !1 : !S,
2596
+ onClick: A,
2595
2597
  "aria-label": a("formPriceAria"),
2596
- className: C === "v1" && N ? He.ctaFilled : C === "v1" ? He.ctaButton : void 0,
2597
- children: C === "v1" ? N ? /* @__PURE__ */ e.jsxs("span", { className: He.ctaFilledContent, children: [
2598
- E ? a("selectPackage") : v && G ? `${a("proceedWithPlan")}${G.price}` : `${a("formProceed")} ${T}`,
2598
+ className: w === "v1" && S ? He.ctaFilled : w === "v1" ? He.ctaButton : void 0,
2599
+ children: w === "v1" ? S ? /* @__PURE__ */ e.jsxs("span", { className: He.ctaFilledContent, children: [
2600
+ U ? a("selectPackage") : v && H ? `${a("proceedWithPlan")}${H.price}` : `${a("formProceed")} ${j}`,
2599
2601
  /* @__PURE__ */ e.jsx(
2600
- U,
2602
+ K,
2601
2603
  {
2602
- src: Rr,
2604
+ src: Er,
2603
2605
  alt: "",
2604
2606
  className: He.chevronRight,
2605
2607
  width: 20,
@@ -2610,37 +2612,37 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2610
2612
  ] }) : a("formCtaDefault") : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2611
2613
  a("formProceed"),
2612
2614
  " ",
2613
- T
2615
+ j
2614
2616
  ] })
2615
2617
  }
2616
2618
  );
2617
2619
  return /* @__PURE__ */ e.jsx(
2618
- qt,
2620
+ zt,
2619
2621
  {
2620
- className: `${He.footerContainer} ${W}`,
2621
- marquee: /* @__PURE__ */ e.jsx(Vt, { children: /* @__PURE__ */ e.jsx(Er, { t: a }) }),
2622
- children: B
2622
+ className: `${He.footerContainer} ${$}`,
2623
+ marquee: /* @__PURE__ */ e.jsx(Jt, { children: /* @__PURE__ */ e.jsx(Ir, { t: a }) }),
2624
+ children: L
2623
2625
  }
2624
2626
  );
2625
- }, Fr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Or = ({
2627
+ }, Mr = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", $r = ({
2626
2628
  t: a,
2627
2629
  languageSelector: o,
2628
- logoUrl: l = Fr,
2630
+ logoUrl: s = Mr,
2629
2631
  className: m = ""
2630
2632
  }) => {
2631
- const u = Ee(), _ = u?.config.isGlobal ?? !0, h = o != null && !_;
2633
+ const p = Le(), _ = p?.config.isGlobal ?? !0, f = o != null && !_;
2632
2634
  return /* @__PURE__ */ e.jsx(
2633
- zt,
2635
+ Qt,
2634
2636
  {
2635
2637
  t: a,
2636
- logoUrl: l,
2637
- imageComponent: u?.config.imageComponent,
2638
+ logoUrl: s,
2639
+ imageComponent: p?.config.imageComponent,
2638
2640
  languageSelector: o,
2639
- showLanguageSelector: h,
2641
+ showLanguageSelector: f,
2640
2642
  className: m
2641
2643
  }
2642
2644
  );
2643
- }, Mr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
2645
+ }, At = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
2644
2646
  "path",
2645
2647
  {
2646
2648
  d: "M3.5 8.5l2.5 2.5 6-6",
@@ -2649,7 +2651,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2649
2651
  strokeLinecap: "round",
2650
2652
  strokeLinejoin: "round"
2651
2653
  }
2652
- ) }), $r = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
2654
+ ) }), Gr = () => /* @__PURE__ */ e.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
2653
2655
  "path",
2654
2656
  {
2655
2657
  d: "M4.5 4.5l7 7M11.5 4.5l-7 7",
@@ -2657,10 +2659,10 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2657
2659
  strokeWidth: "1.8",
2658
2660
  strokeLinecap: "round"
2659
2661
  }
2660
- ) }), ot = () => /* @__PURE__ */ e.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Gr = () => /* @__PURE__ */ e.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
2662
+ ) }), it = () => /* @__PURE__ */ e.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ur = () => /* @__PURE__ */ e.jsx("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ e.jsx("path", { d: "M6 9l6 6 6-6" }) }), Kr = () => /* @__PURE__ */ e.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
2661
2663
  /* @__PURE__ */ e.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2662
2664
  /* @__PURE__ */ e.jsx("polyline", { points: "17 6 23 6 23 12" })
2663
- ] }), Ur = () => /* @__PURE__ */ e.jsx(
2665
+ ] }), Wr = () => /* @__PURE__ */ e.jsx(
2664
2666
  "img",
2665
2667
  {
2666
2668
  src: "https://srm-cdn.a4b.io/yoda/1785316603029.svg",
@@ -2669,7 +2671,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2669
2671
  alt: "",
2670
2672
  "aria-hidden": !0
2671
2673
  }
2672
- ), Wr = () => /* @__PURE__ */ e.jsx(
2674
+ ), Hr = () => /* @__PURE__ */ e.jsx(
2673
2675
  "img",
2674
2676
  {
2675
2677
  src: "https://srm-cdn.a4b.io/yoda/1785316621747.svg",
@@ -2678,7 +2680,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2678
2680
  alt: "",
2679
2681
  "aria-hidden": !0
2680
2682
  }
2681
- ), Kr = () => /* @__PURE__ */ e.jsx(
2683
+ ), Yr = () => /* @__PURE__ */ e.jsx(
2682
2684
  "img",
2683
2685
  {
2684
2686
  src: "https://srm-cdn.a4b.io/yoda/1785316635953.svg",
@@ -2687,131 +2689,131 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2687
2689
  alt: "",
2688
2690
  "aria-hidden": !0
2689
2691
  }
2690
- ), Hr = "_overlay_1u7x5_2", Yr = "_sheet_1u7x5_12", qr = "_sheetFullScreen_1u7x5_36", Vr = "_headerFull_1u7x5_50", zr = "_titleFull_1u7x5_63", Jr = "_header_1u7x5_50", Qr = "_backBtn_1u7x5_84", Xr = "_title_1u7x5_63", Zr = "_plansContainer_1u7x5_114", en = "_planCard_1u7x5_123", tn = "_withBadgeSpacing_1u7x5_137", an = "_planCardSelected_1u7x5_141", rn = "_planCardPopular_1u7x5_146", nn = "_popularBadge_1u7x5_155", on = "_planCardInner_1u7x5_173", sn = "_planTitleRow_1u7x5_184", ln = "_planTitle_1u7x5_184", cn = "_radioCircle_1u7x5_199", dn = "_radioChecked_1u7x5_212", un = "_radioInner_1u7x5_217", pn = "_priceRow_1u7x5_225", mn = "_price_1u7x5_225", fn = "_originalPrice_1u7x5_238", hn = "_savingsBadge_1u7x5_245", gn = "_featureList_1u7x5_255", _n = "_featureItem_1u7x5_264", bn = "_featureIcon_1u7x5_270", yn = "_featureText_1u7x5_276", vn = "_astrologerHeading_1u7x5_287", kn = "_astrologerList_1u7x5_294", xn = "_astrologerCard_1u7x5_310", wn = "_astrologerAvatar_1u7x5_326", Pn = "_astrologerAvatarPlaceholder_1u7x5_343", Cn = "_astrologerTop_1u7x5_349", Tn = "_astrologerBasicInfo_1u7x5_355", Sn = "_astrologerName_1u7x5_362", jn = "_astrologerExp_1u7x5_371", Nn = "_astrologerDivider_1u7x5_377", An = "_planDivider_1u7x5_383", Rn = "_astrologerCertList_1u7x5_390", En = "_astrologerCertItem_1u7x5_396", In = "_bullet_1u7x5_404", Ln = "_footer_1u7x5_409", Bn = "_proceedBtn_1u7x5_419", x = {
2691
- overlay: Hr,
2692
- sheet: Yr,
2693
- sheetFullScreen: qr,
2694
- headerFull: Vr,
2695
- titleFull: zr,
2696
- header: Jr,
2697
- backBtn: Qr,
2698
- title: Xr,
2699
- plansContainer: Zr,
2700
- planCard: en,
2701
- withBadgeSpacing: tn,
2702
- planCardSelected: an,
2703
- planCardPopular: rn,
2704
- popularBadge: nn,
2705
- planCardInner: on,
2706
- planTitleRow: sn,
2707
- planTitle: ln,
2708
- radioCircle: cn,
2709
- radioChecked: dn,
2710
- radioInner: un,
2711
- priceRow: pn,
2712
- price: mn,
2713
- originalPrice: fn,
2714
- savingsBadge: hn,
2715
- featureList: gn,
2716
- featureItem: _n,
2717
- featureIcon: bn,
2718
- featureText: yn,
2719
- astrologerHeading: vn,
2720
- astrologerList: kn,
2721
- astrologerCard: xn,
2722
- astrologerAvatar: wn,
2723
- astrologerAvatarPlaceholder: Pn,
2724
- astrologerTop: Cn,
2725
- astrologerBasicInfo: Tn,
2726
- astrologerName: Sn,
2727
- astrologerExp: jn,
2728
- astrologerDivider: Nn,
2729
- planDivider: An,
2730
- astrologerCertList: Rn,
2731
- astrologerCertItem: En,
2732
- bullet: In,
2733
- footer: Ln,
2734
- proceedBtn: Bn
2735
- }, Dn = ({ title: a, onBack: o }) => /* @__PURE__ */ e.jsxs("div", { className: x.header, children: [
2692
+ ), qr = "_overlay_1u7x5_2", Vr = "_sheet_1u7x5_12", zr = "_sheetFullScreen_1u7x5_36", Jr = "_headerFull_1u7x5_50", Qr = "_titleFull_1u7x5_63", Xr = "_header_1u7x5_50", Zr = "_backBtn_1u7x5_84", en = "_title_1u7x5_63", tn = "_plansContainer_1u7x5_114", an = "_planCard_1u7x5_123", rn = "_withBadgeSpacing_1u7x5_137", nn = "_planCardSelected_1u7x5_141", on = "_planCardPopular_1u7x5_146", ln = "_popularBadge_1u7x5_155", sn = "_planCardInner_1u7x5_173", cn = "_planTitleRow_1u7x5_184", dn = "_planTitle_1u7x5_184", un = "_radioCircle_1u7x5_199", pn = "_radioChecked_1u7x5_212", mn = "_radioInner_1u7x5_217", fn = "_priceRow_1u7x5_225", hn = "_price_1u7x5_225", gn = "_originalPrice_1u7x5_238", _n = "_savingsBadge_1u7x5_245", bn = "_featureList_1u7x5_255", yn = "_featureItem_1u7x5_264", kn = "_featureIcon_1u7x5_270", vn = "_featureText_1u7x5_276", xn = "_astrologerHeading_1u7x5_287", wn = "_astrologerList_1u7x5_294", Pn = "_astrologerCard_1u7x5_310", Tn = "_astrologerAvatar_1u7x5_326", Cn = "_astrologerAvatarPlaceholder_1u7x5_343", Sn = "_astrologerTop_1u7x5_349", jn = "_astrologerBasicInfo_1u7x5_355", Nn = "_astrologerName_1u7x5_362", An = "_astrologerExp_1u7x5_371", Rn = "_astrologerDivider_1u7x5_377", Ln = "_planDivider_1u7x5_383", En = "_astrologerCertList_1u7x5_390", In = "_astrologerCertItem_1u7x5_396", Bn = "_bullet_1u7x5_404", Dn = "_footer_1u7x5_409", On = "_proceedBtn_1u7x5_419", k = {
2693
+ overlay: qr,
2694
+ sheet: Vr,
2695
+ sheetFullScreen: zr,
2696
+ headerFull: Jr,
2697
+ titleFull: Qr,
2698
+ header: Xr,
2699
+ backBtn: Zr,
2700
+ title: en,
2701
+ plansContainer: tn,
2702
+ planCard: an,
2703
+ withBadgeSpacing: rn,
2704
+ planCardSelected: nn,
2705
+ planCardPopular: on,
2706
+ popularBadge: ln,
2707
+ planCardInner: sn,
2708
+ planTitleRow: cn,
2709
+ planTitle: dn,
2710
+ radioCircle: un,
2711
+ radioChecked: pn,
2712
+ radioInner: mn,
2713
+ priceRow: fn,
2714
+ price: hn,
2715
+ originalPrice: gn,
2716
+ savingsBadge: _n,
2717
+ featureList: bn,
2718
+ featureItem: yn,
2719
+ featureIcon: kn,
2720
+ featureText: vn,
2721
+ astrologerHeading: xn,
2722
+ astrologerList: wn,
2723
+ astrologerCard: Pn,
2724
+ astrologerAvatar: Tn,
2725
+ astrologerAvatarPlaceholder: Cn,
2726
+ astrologerTop: Sn,
2727
+ astrologerBasicInfo: jn,
2728
+ astrologerName: Nn,
2729
+ astrologerExp: An,
2730
+ astrologerDivider: Rn,
2731
+ planDivider: Ln,
2732
+ astrologerCertList: En,
2733
+ astrologerCertItem: In,
2734
+ bullet: Bn,
2735
+ footer: Dn,
2736
+ proceedBtn: On
2737
+ }, Fn = ({ title: a, onBack: o }) => /* @__PURE__ */ e.jsxs("div", { className: k.header, children: [
2736
2738
  /* @__PURE__ */ e.jsx(
2737
2739
  "button",
2738
2740
  {
2739
- className: x.backBtn,
2741
+ className: k.backBtn,
2740
2742
  onClick: o,
2741
2743
  "aria-label": "Go back",
2742
2744
  type: "button",
2743
- children: /* @__PURE__ */ e.jsx(ot, {})
2745
+ children: /* @__PURE__ */ e.jsx(it, {})
2744
2746
  }
2745
2747
  ),
2746
- /* @__PURE__ */ e.jsx("h2", { className: x.title, children: a })
2747
- ] }), Fn = ({ features: a, t: o }) => /* @__PURE__ */ e.jsx("ul", { className: x.featureList, "aria-label": "Plan features", children: a.map((l, m) => /* @__PURE__ */ e.jsxs("li", { className: x.featureItem, children: [
2748
- /* @__PURE__ */ e.jsx("span", { className: x.featureIcon, children: l.included ? /* @__PURE__ */ e.jsx(Mr, {}) : /* @__PURE__ */ e.jsx($r, {}) }),
2748
+ /* @__PURE__ */ e.jsx("h2", { className: k.title, children: a })
2749
+ ] }), Mn = ({ features: a, t: o }) => /* @__PURE__ */ e.jsx("ul", { className: k.featureList, "aria-label": "Plan features", children: a.map((s, m) => /* @__PURE__ */ e.jsxs("li", { className: k.featureItem, children: [
2750
+ /* @__PURE__ */ e.jsx("span", { className: k.featureIcon, children: s.included ? /* @__PURE__ */ e.jsx(At, {}) : /* @__PURE__ */ e.jsx(Gr, {}) }),
2749
2751
  /* @__PURE__ */ e.jsx(
2750
2752
  "span",
2751
2753
  {
2752
- className: `${x.featureText} `,
2753
- children: o?.(l.text) ?? l.text
2754
+ className: `${k.featureText} `,
2755
+ children: o?.(s.text) ?? s.text
2754
2756
  }
2755
2757
  )
2756
- ] }, m)) }), On = ({ astrologer: a, t: o }) => /* @__PURE__ */ e.jsxs("div", { className: x.astrologerCard, children: [
2757
- /* @__PURE__ */ e.jsxs("div", { className: x.astrologerTop, children: [
2758
- /* @__PURE__ */ e.jsx("div", { className: x.astrologerAvatar, "aria-hidden": !0, children: a.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: a.imageUrl, alt: o?.(a.name) ?? a.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: x.astrologerAvatarPlaceholder, children: a.name.charAt(0) }) }),
2759
- /* @__PURE__ */ e.jsxs("div", { className: x.astrologerBasicInfo, children: [
2760
- /* @__PURE__ */ e.jsx("p", { className: x.astrologerName, children: o?.(a.name) ?? a.name }),
2761
- /* @__PURE__ */ e.jsx("p", { className: x.astrologerExp, children: o?.(a.experience) ?? a.experience })
2758
+ ] }, m)) }), $n = ({ astrologer: a, t: o }) => /* @__PURE__ */ e.jsxs("div", { className: k.astrologerCard, children: [
2759
+ /* @__PURE__ */ e.jsxs("div", { className: k.astrologerTop, children: [
2760
+ /* @__PURE__ */ e.jsx("div", { className: k.astrologerAvatar, "aria-hidden": !0, children: a.imageUrl ? /* @__PURE__ */ e.jsx("img", { src: a.imageUrl, alt: o?.(a.name) ?? a.name, width: 40, height: 40 }) : /* @__PURE__ */ e.jsx("span", { className: k.astrologerAvatarPlaceholder, children: a.name.charAt(0) }) }),
2761
+ /* @__PURE__ */ e.jsxs("div", { className: k.astrologerBasicInfo, children: [
2762
+ /* @__PURE__ */ e.jsx("p", { className: k.astrologerName, children: o?.(a.name) ?? a.name }),
2763
+ /* @__PURE__ */ e.jsx("p", { className: k.astrologerExp, children: o?.(a.experience) ?? a.experience })
2762
2764
  ] })
2763
2765
  ] }),
2764
- /* @__PURE__ */ e.jsx("div", { className: x.astrologerDivider }),
2765
- /* @__PURE__ */ e.jsx("div", { className: x.astrologerCertList, children: a.certifications.map((l, m) => /* @__PURE__ */ e.jsxs("p", { className: x.astrologerCertItem, children: [
2766
- /* @__PURE__ */ e.jsx("span", { className: x.bullet, children: "•" }),
2766
+ /* @__PURE__ */ e.jsx("div", { className: k.astrologerDivider }),
2767
+ /* @__PURE__ */ e.jsx("div", { className: k.astrologerCertList, children: a.certifications.map((s, m) => /* @__PURE__ */ e.jsxs("p", { className: k.astrologerCertItem, children: [
2768
+ /* @__PURE__ */ e.jsx("span", { className: k.bullet, children: "•" }),
2767
2769
  " ",
2768
- o?.(l) ?? l
2770
+ o?.(s) ?? s
2769
2771
  ] }, m)) })
2770
- ] }), Mn = ({ label: a }) => /* @__PURE__ */ e.jsxs("div", { className: x.popularBadge, "aria-label": a, children: [
2771
- /* @__PURE__ */ e.jsx(Gr, {}),
2772
+ ] }), Gn = ({ label: a }) => /* @__PURE__ */ e.jsxs("div", { className: k.popularBadge, "aria-label": a, children: [
2773
+ /* @__PURE__ */ e.jsx(Kr, {}),
2772
2774
  /* @__PURE__ */ e.jsx("span", { children: a })
2773
- ] }), $n = ({ plan: a, isSelected: o, onSelect: l, t: m }) => {
2774
- const u = () => l(a.id), _ = (h) => {
2775
- (h.key === " " || h.key === "Enter") && (h.preventDefault(), l(a.id));
2775
+ ] }), Un = ({ plan: a, isSelected: o, onSelect: s, t: m }) => {
2776
+ const p = () => s(a.id), _ = (f) => {
2777
+ (f.key === " " || f.key === "Enter") && (f.preventDefault(), s(a.id));
2776
2778
  };
2777
2779
  return /* @__PURE__ */ e.jsxs(
2778
2780
  "div",
2779
2781
  {
2780
2782
  className: [
2781
- x.planCard,
2782
- o ? x.planCardSelected : "",
2783
- o && x.planCardPopular
2783
+ k.planCard,
2784
+ o ? k.planCardSelected : "",
2785
+ o && k.planCardPopular
2784
2786
  ].filter(Boolean).join(" "),
2785
- onClick: u,
2787
+ onClick: p,
2786
2788
  role: "radio",
2787
2789
  "aria-checked": o,
2788
2790
  tabIndex: 0,
2789
2791
  onKeyDown: _,
2790
2792
  "data-plan-id": a.id,
2791
2793
  children: [
2792
- a.badge && /* @__PURE__ */ e.jsx(Mn, { label: m?.(a.badge) ?? a.badge }),
2793
- /* @__PURE__ */ e.jsxs("div", { className: x.planCardInner, children: [
2794
- /* @__PURE__ */ e.jsxs("div", { className: `${x.planTitleRow} ${a.badge ? x.withBadgeSpacing : ""}`, children: [
2795
- /* @__PURE__ */ e.jsx("span", { className: x.planTitle, children: m?.(a.title) ?? a.title }),
2794
+ a.badge && /* @__PURE__ */ e.jsx(Gn, { label: m?.(a.badge) ?? a.badge }),
2795
+ /* @__PURE__ */ e.jsxs("div", { className: k.planCardInner, children: [
2796
+ /* @__PURE__ */ e.jsxs("div", { className: `${k.planTitleRow} ${a.badge ? k.withBadgeSpacing : ""}`, children: [
2797
+ /* @__PURE__ */ e.jsx("span", { className: k.planTitle, children: m?.(a.title) ?? a.title }),
2796
2798
  /* @__PURE__ */ e.jsx(
2797
2799
  "span",
2798
2800
  {
2799
- className: `${x.radioCircle} ${o ? x.radioChecked : ""}`,
2801
+ className: `${k.radioCircle} ${o ? k.radioChecked : ""}`,
2800
2802
  "aria-hidden": !0,
2801
- children: o && /* @__PURE__ */ e.jsx("span", { className: x.radioInner })
2803
+ children: o && /* @__PURE__ */ e.jsx("span", { className: k.radioInner })
2802
2804
  }
2803
2805
  )
2804
2806
  ] }),
2805
- /* @__PURE__ */ e.jsxs("div", { className: x.priceRow, children: [
2806
- /* @__PURE__ */ e.jsx("span", { className: x.price, children: a.price }),
2807
- a.originalPrice && /* @__PURE__ */ e.jsx("span", { className: x.originalPrice, children: a.originalPrice }),
2808
- a.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: x.savingsBadge, children: m?.(a.savingsLabel, { percent: 25 }) ?? a.savingsLabel })
2807
+ /* @__PURE__ */ e.jsxs("div", { className: k.priceRow, children: [
2808
+ /* @__PURE__ */ e.jsx("span", { className: k.price, children: a.price }),
2809
+ a.originalPrice && /* @__PURE__ */ e.jsx("span", { className: k.originalPrice, children: a.originalPrice }),
2810
+ a.savingsLabel && /* @__PURE__ */ e.jsx("span", { className: k.savingsBadge, children: m?.(a.savingsLabel, { percent: 25 }) ?? a.savingsLabel })
2809
2811
  ] }),
2810
- /* @__PURE__ */ e.jsx(Fn, { features: a.features, t: m }),
2811
- a.astrologers && /* @__PURE__ */ e.jsx("div", { className: x.planDivider }),
2812
+ /* @__PURE__ */ e.jsx(Mn, { features: a.features, t: m }),
2813
+ a.astrologers && /* @__PURE__ */ e.jsx("div", { className: k.planDivider }),
2812
2814
  a.astrologers && a.astrologers.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2813
- /* @__PURE__ */ e.jsx("p", { className: x.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2814
- /* @__PURE__ */ e.jsx("div", { className: x.astrologerList, role: "list", children: a.astrologers.map((h, P) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx(On, { astrologer: h, t: m }) }, P)) })
2815
+ /* @__PURE__ */ e.jsx("p", { className: k.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2816
+ /* @__PURE__ */ e.jsx("div", { className: k.astrologerList, role: "list", children: a.astrologers.map((f, T) => /* @__PURE__ */ e.jsx("div", { role: "listitem", children: /* @__PURE__ */ e.jsx($n, { astrologer: f, t: m }) }, T)) })
2815
2817
  ] })
2816
2818
  ] })
2817
2819
  ]
@@ -2824,369 +2826,398 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
2824
2826
  minute: "2-digit",
2825
2827
  hour12: !0
2826
2828
  });
2827
- }, Gn = (a, o = /* @__PURE__ */ new Date()) => {
2828
- const l = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], m = /* @__PURE__ */ new Date(`${a}T00:00:00`);
2829
+ }, Kn = (a, o = /* @__PURE__ */ new Date()) => {
2830
+ const s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], m = /* @__PURE__ */ new Date(`${a}T00:00:00`);
2829
2831
  if (Number.isNaN(m.getTime()))
2830
2832
  return { id: a, dayLabel: a, dayNum: "" };
2831
- const u = (P) => new Date(P.getFullYear(), P.getMonth(), P.getDate()).getTime(), _ = Math.round(
2832
- (u(m) - u(o)) / (1e3 * 60 * 60 * 24)
2833
- ), h = _ === 0 ? "Today" : _ === 1 ? "Tomorrow" : l[m.getDay()];
2834
- return { id: a, dayLabel: h, dayNum: String(m.getDate()) };
2835
- }, Un = [
2833
+ const p = (T) => new Date(T.getFullYear(), T.getMonth(), T.getDate()).getTime(), _ = Math.round(
2834
+ (p(m) - p(o)) / (1e3 * 60 * 60 * 24)
2835
+ ), f = _ === 0 ? "Today" : _ === 1 ? "Tomorrow" : s[m.getDay()];
2836
+ return { id: a, dayLabel: f, dayNum: String(m.getDate()) };
2837
+ }, Wn = [
2836
2838
  "morning",
2837
2839
  "afternoon",
2838
2840
  "evening"
2839
- ], Wn = [
2841
+ ], Hn = [
2840
2842
  { id: "career_work", labelKey: "planTopicCareerWork", label: "Career & work" },
2841
2843
  { id: "health_wellbeing", labelKey: "planTopicHealthWellbeing", label: "Health & wellbeing" },
2842
2844
  { id: "love_marriage", labelKey: "planTopicLoveMarriage", label: "Love & marriage" },
2843
2845
  { id: "money_finance", labelKey: "planTopicMoneyFinance", label: "Money & finance" }
2844
- ], Kn = "_overlay_55div_2", Hn = "_sheet_55div_12", Yn = "_content_55div_34", qn = "_header_55div_41", Vn = "_backBtn_55div_54", zn = "_title_55div_72", Jn = "_subtitle_55div_80", Qn = "_reportReadyBanner_55div_88", Xn = "_reportReadyDuration_55div_97", Zn = "_trustRow_55div_103", eo = "_trustAvatars_55div_114", to = "_trustText_55div_127", ao = "_trustDivider_55div_133", ro = "_astrologerRow_55div_140", no = "_astrologerCard_55div_153", oo = "_astrologerTop_55div_166", io = "_astrologerAvatar_55div_172", so = "_astrologerBasicInfo_55div_189", lo = "_astrologerName_55div_194", co = "_astrologerMeta_55div_205", uo = "_astrologerCertList_55div_219", po = "_astrologerCertItem_55div_225", mo = "_bullet_55div_233", fo = "_sectionHeading_55div_238", ho = "_dateTabs_55div_246", go = "_dateTab_55div_246", _o = "_dateTabDivider_55div_273", bo = "_dateTabSelected_55div_283", yo = "_dateTabLabel_55div_289", vo = "_dateTabNum_55div_295", ko = "_periodTabs_55div_308", xo = "_periodTab_55div_308", wo = "_periodTabSelected_55div_334", Po = "_timeGrid_55div_341", Co = "_timeSlot_55div_348", To = "_timeSlotSelected_55div_364", So = "_topicGrid_55div_372", jo = "_topicChip_55div_378", No = "_topicChipSelected_55div_394", Ao = "_stateMessage_55div_401", Ro = "_loadingWrap_55div_409", Eo = "_skeletonShimmer_55div_414", Io = "_skeletonDateTabs_55div_428", Lo = "_skeletonDateTab_55div_428", Bo = "_skeletonPeriodTabs_55div_442", Do = "_skeletonPeriodTab_55div_442", Fo = "_skeletonTimeGrid_55div_457", Oo = "_skeletonTimeSlot_55div_463", Mo = "_retryBtn_55div_468", $o = "_footer_55div_482", Go = "_proceedBtn_55div_489", Uo = "_proceedBtnDisabled_55div_507", f = {
2845
- overlay: Kn,
2846
- sheet: Hn,
2847
- content: Yn,
2848
- header: qn,
2849
- backBtn: Vn,
2850
- title: zn,
2851
- subtitle: Jn,
2852
- reportReadyBanner: Qn,
2853
- reportReadyDuration: Xn,
2854
- trustRow: Zn,
2855
- trustAvatars: eo,
2856
- trustText: to,
2857
- trustDivider: ao,
2858
- astrologerRow: ro,
2859
- astrologerCard: no,
2860
- astrologerTop: oo,
2861
- astrologerAvatar: io,
2862
- astrologerBasicInfo: so,
2863
- astrologerName: lo,
2864
- astrologerMeta: co,
2865
- astrologerCertList: uo,
2866
- astrologerCertItem: po,
2867
- bullet: mo,
2868
- sectionHeading: fo,
2869
- dateTabs: ho,
2870
- dateTab: go,
2871
- dateTabDivider: _o,
2872
- dateTabSelected: bo,
2873
- dateTabLabel: yo,
2874
- dateTabNum: vo,
2875
- periodTabs: ko,
2876
- periodTab: xo,
2877
- periodTabSelected: wo,
2878
- timeGrid: Po,
2879
- timeSlot: Co,
2880
- timeSlotSelected: To,
2881
- topicGrid: So,
2882
- topicChip: jo,
2883
- topicChipSelected: No,
2884
- stateMessage: Ao,
2885
- loadingWrap: Ro,
2886
- skeletonShimmer: Eo,
2887
- skeletonDateTabs: Io,
2888
- skeletonDateTab: Lo,
2889
- skeletonPeriodTabs: Bo,
2890
- skeletonPeriodTab: Do,
2891
- skeletonTimeGrid: Fo,
2892
- skeletonTimeSlot: Oo,
2893
- retryBtn: Mo,
2894
- footer: $o,
2895
- proceedBtn: Go,
2896
- proceedBtnDisabled: Uo
2897
- }, Wo = {
2898
- morning: Ur,
2899
- afternoon: Wr,
2900
- evening: Kr
2901
- }, Ko = {
2846
+ ], et = [
2847
+ { code: "en", labelKey: "formReportLanguageEnglish", label: "English" },
2848
+ { code: "hi", labelKey: "formReportLanguageHindi", label: "Hindi" },
2849
+ { code: "te", labelKey: "formReportLanguageTelugu", label: "Telugu" },
2850
+ { code: "kn", labelKey: "formReportLanguageKannada", label: "Kannada" },
2851
+ { code: "gu", labelKey: "formReportLanguageGujarati", label: "Gujarati" },
2852
+ { code: "mr", labelKey: "formReportLanguageMarathi", label: "Marathi" },
2853
+ { code: "ta", labelKey: "formReportLanguageTamil", label: "Tamil" }
2854
+ ], Yn = "_overlay_h4rfr_2", qn = "_sheet_h4rfr_12", Vn = "_content_h4rfr_34", zn = "_header_h4rfr_41", Jn = "_backBtn_h4rfr_54", Qn = "_title_h4rfr_72", Xn = "_languageRow_h4rfr_88", Zn = "_languageLabel_h4rfr_96", eo = "_languageDropdown_h4rfr_102", to = "_languageDropdownBtn_h4rfr_106", ao = "_languageMenu_h4rfr_121", ro = "_languageMenuItem_h4rfr_138", no = "_languageMenuItemSelected_h4rfr_152", oo = "_reportReadyBanner_h4rfr_159", io = "_reportReadyDuration_h4rfr_168", lo = "_trustRow_h4rfr_174", so = "_trustAvatars_h4rfr_185", co = "_trustText_h4rfr_198", uo = "_sectionHeading_h4rfr_309", po = "_dateTabs_h4rfr_317", mo = "_dateTab_h4rfr_317", fo = "_dateTabDivider_h4rfr_344", ho = "_dateTabSelected_h4rfr_354", go = "_dateTabLabel_h4rfr_360", _o = "_dateTabNum_h4rfr_366", bo = "_periodTabs_h4rfr_379", yo = "_periodTab_h4rfr_379", ko = "_periodTabSelected_h4rfr_405", vo = "_timeGrid_h4rfr_412", xo = "_timeSlot_h4rfr_419", wo = "_timeSlotSelected_h4rfr_435", Po = "_topicGrid_h4rfr_443", To = "_topicChip_h4rfr_449", Co = "_topicChipSelected_h4rfr_465", So = "_stateMessage_h4rfr_472", jo = "_loadingWrap_h4rfr_480", No = "_skeletonShimmer_h4rfr_485", Ao = "_skeletonDateTabs_h4rfr_499", Ro = "_skeletonDateTab_h4rfr_499", Lo = "_skeletonPeriodTabs_h4rfr_513", Eo = "_skeletonPeriodTab_h4rfr_513", Io = "_skeletonTimeGrid_h4rfr_528", Bo = "_skeletonTimeSlot_h4rfr_534", Do = "_retryBtn_h4rfr_539", Oo = "_footer_h4rfr_553", Fo = "_proceedBtn_h4rfr_560", Mo = "_proceedBtnDisabled_h4rfr_578", g = {
2855
+ overlay: Yn,
2856
+ sheet: qn,
2857
+ content: Vn,
2858
+ header: zn,
2859
+ backBtn: Jn,
2860
+ title: Qn,
2861
+ languageRow: Xn,
2862
+ languageLabel: Zn,
2863
+ languageDropdown: eo,
2864
+ languageDropdownBtn: to,
2865
+ languageMenu: ao,
2866
+ languageMenuItem: ro,
2867
+ languageMenuItemSelected: no,
2868
+ reportReadyBanner: oo,
2869
+ reportReadyDuration: io,
2870
+ trustRow: lo,
2871
+ trustAvatars: so,
2872
+ trustText: co,
2873
+ sectionHeading: uo,
2874
+ dateTabs: po,
2875
+ dateTab: mo,
2876
+ dateTabDivider: fo,
2877
+ dateTabSelected: ho,
2878
+ dateTabLabel: go,
2879
+ dateTabNum: _o,
2880
+ periodTabs: bo,
2881
+ periodTab: yo,
2882
+ periodTabSelected: ko,
2883
+ timeGrid: vo,
2884
+ timeSlot: xo,
2885
+ timeSlotSelected: wo,
2886
+ topicGrid: Po,
2887
+ topicChip: To,
2888
+ topicChipSelected: Co,
2889
+ stateMessage: So,
2890
+ loadingWrap: jo,
2891
+ skeletonShimmer: No,
2892
+ skeletonDateTabs: Ao,
2893
+ skeletonDateTab: Ro,
2894
+ skeletonPeriodTabs: Lo,
2895
+ skeletonPeriodTab: Eo,
2896
+ skeletonTimeGrid: Io,
2897
+ skeletonTimeSlot: Bo,
2898
+ retryBtn: Do,
2899
+ footer: Oo,
2900
+ proceedBtn: Fo,
2901
+ proceedBtnDisabled: Mo
2902
+ }, $o = {
2903
+ morning: Wr,
2904
+ afternoon: Hr,
2905
+ evening: Yr
2906
+ }, Go = {
2902
2907
  morning: "planPeriodMorning",
2903
2908
  afternoon: "planPeriodAfternoon",
2904
2909
  evening: "planPeriodEvening"
2905
- }, Ho = ({
2910
+ }, Uo = ({
2906
2911
  isOpen: a,
2907
2912
  onClose: o,
2908
- onProceed: l,
2913
+ onProceed: s,
2909
2914
  astrologers: m,
2910
- t: u,
2915
+ t: p,
2911
2916
  analytics: _
2912
2917
  }) => {
2913
- const h = Ee(), P = h?.config.imageComponent ?? Ye, w = h?.config.fetchConsultationSlots, [W, F] = M([]), [A, p] = M(!1), [O, v] = M(!1), [G, k] = M(""), [g, C] = M(""), [Q, N] = M("morning"), [E, T] = M(null), U = Y(!1), b = Re(
2914
- () => W.filter((s) => s.has_availability && s.slots.length > 0),
2915
- [W]
2916
- ), B = be(() => {
2917
- w && (p(!0), v(!1), w().then((s) => {
2918
- F(s?.days ?? []);
2918
+ const f = Le(), T = f?.config.imageComponent ?? Ye, x = f?.config.fetchConsultationSlots, [$, O] = D(!1), [N, u] = D(!1), [G, v] = D({}), [H, y] = D("en"), [h, w] = D(!1), Z = q(null), S = Ne(
2919
+ () => G[H]?.days ?? [],
2920
+ [G, H]
2921
+ ), [U, j] = D(""), [K, A] = D(""), [L, re] = D("morning"), [Y, F] = D(null), E = q(!1), I = Ne(
2922
+ () => S.filter((l) => l.has_availability && l.slots.length > 0),
2923
+ [S]
2924
+ ), Q = ye(() => {
2925
+ x && (O(!0), u(!1), x().then((l) => {
2926
+ v(l ?? {});
2919
2927
  }).catch(() => {
2920
- v(!0);
2921
- }).finally(() => p(!1)));
2922
- }, [w]);
2928
+ u(!0);
2929
+ }).finally(() => O(!1)));
2930
+ }, [x]);
2923
2931
  J(() => {
2924
2932
  if (!a) {
2925
- U.current = !1;
2933
+ E.current = !1;
2926
2934
  return;
2927
2935
  }
2928
- k(""), B();
2936
+ j(""), y("en"), w(!1), Q();
2929
2937
  }, [a]), J(() => {
2930
- if (!b.length) {
2931
- C(""), T(null);
2938
+ if (!h) return;
2939
+ const l = (P) => {
2940
+ Z.current && !Z.current.contains(P.target) && w(!1);
2941
+ };
2942
+ return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
2943
+ }, [h]), J(() => {
2944
+ if (!I.length) {
2945
+ A(""), F(null);
2932
2946
  return;
2933
2947
  }
2934
- const s = b[0];
2935
- C(
2936
- (S) => b.some((K) => K.date === S) ? S : s.date
2948
+ const l = I[0];
2949
+ A(
2950
+ (P) => I.some((oe) => oe.date === P) ? P : l.date
2937
2951
  );
2938
- }, [b]);
2939
- const X = Re(
2940
- () => b.find((s) => s.date === g) ?? null,
2941
- [b, g]
2942
- ), V = Re(() => {
2943
- if (!X) return [];
2944
- const s = new Set(X.slots.map((S) => S.period));
2945
- return Un.filter((S) => s.has(S));
2946
- }, [X]);
2952
+ }, [I]);
2953
+ const M = Ne(
2954
+ () => I.find((l) => l.date === K) ?? null,
2955
+ [I, K]
2956
+ ), ce = Ne(() => {
2957
+ if (!M) return [];
2958
+ const l = new Set(M.slots.map((P) => P.period));
2959
+ return Wn.filter((P) => l.has(P));
2960
+ }, [M]);
2947
2961
  J(() => {
2948
- if (!V.length) {
2949
- N("morning"), T(null);
2962
+ if (!ce.length) {
2963
+ re("morning"), F(null);
2950
2964
  return;
2951
2965
  }
2952
- N(
2953
- (s) => V.includes(s) ? s : V[0]
2966
+ re(
2967
+ (l) => ce.includes(l) ? l : ce[0]
2954
2968
  );
2955
- }, [V]);
2956
- const D = Re(() => X ? X.slots.filter((s) => s.period === Q) : [], [X, Q]);
2969
+ }, [ce]);
2970
+ const ee = Ne(() => M ? M.slots.filter((l) => l.period === L) : [], [M, L]);
2957
2971
  if (J(() => {
2958
- if (!D.length) {
2959
- T(null);
2972
+ if (!ee.length) {
2973
+ F(null);
2960
2974
  return;
2961
2975
  }
2962
- T(
2963
- (s) => s && D.some((S) => S.start === s.start) ? s : D[0]
2976
+ F(
2977
+ (l) => l && ee.some((P) => P.start === l.start) ? l : ee[0]
2964
2978
  );
2965
- }, [D]), J(() => {
2966
- a && b.length && !U.current && (_?.trackSlotScreenViewed?.({
2967
- astrologers_shown: m.map((s) => s.name),
2968
- dates_available_count: b.length
2969
- }), U.current = !0);
2970
- }, [a, b, m, _]), !a) return null;
2971
- const I = !!E && !!G, ee = (s) => {
2972
- C(s), _?.trackSlotDateSelected?.({
2973
- date: s,
2974
- day_part_default: Q
2979
+ }, [ee]), J(() => {
2980
+ a && I.length && !E.current && (_?.trackSlotScreenViewed?.({
2981
+ astrologers_shown: m.map((l) => l.name),
2982
+ dates_available_count: I.length
2983
+ }), E.current = !0);
2984
+ }, [a, I, m, _]), !a) return null;
2985
+ const ie = !!Y && !!U, le = (l) => {
2986
+ A(l), _?.trackSlotDateSelected?.({
2987
+ date: l,
2988
+ day_part_default: L
2975
2989
  });
2976
- }, Z = (s) => {
2977
- N(s), _?.trackDayPartSelected?.({
2978
- day_part: s,
2979
- slots_available_count: X?.slots.filter((S) => S.period === s).length ?? 0
2990
+ }, te = (l) => {
2991
+ re(l), _?.trackDayPartSelected?.({
2992
+ day_part: l,
2993
+ slots_available_count: M?.slots.filter((P) => P.period === l).length ?? 0
2980
2994
  });
2981
- }, z = (s) => {
2982
- T(s), _?.trackSlotSelected?.({
2983
- date: g,
2984
- time: vt(s.start),
2985
- day_part: s.period,
2986
- topic: G || null
2995
+ }, ke = (l) => {
2996
+ F(l), _?.trackSlotSelected?.({
2997
+ date: K,
2998
+ time: vt(l.start),
2999
+ day_part: l.period,
3000
+ topic: U || null
2987
3001
  });
2988
- }, ye = () => {
2989
- E && (_?.trackSlotReservationRequested?.({
2990
- slot_datetime: `${E.start} - ${E.end}`
2991
- }), l({
2992
- start: E.start,
2993
- end: E.end,
2994
- period: E.period,
2995
- topic: G
3002
+ }, he = () => {
3003
+ Y && (_?.trackSlotReservationRequested?.({
3004
+ slot_datetime: `${Y.start} - ${Y.end}`
3005
+ }), s({
3006
+ start: Y.start,
3007
+ end: Y.end,
3008
+ period: Y.period,
3009
+ topic: U,
3010
+ language: H
2996
3011
  }));
2997
- }, ne = (s) => {
2998
- k(s), _?.trackGuidanceTopicSelected?.({ topic: s });
2999
- };
3012
+ }, Ce = (l) => {
3013
+ j(l), _?.trackGuidanceTopicSelected?.({ topic: l });
3014
+ }, me = (l) => {
3015
+ y(l), w(!1);
3016
+ }, X = et.find((l) => l.code === H) ?? et[0];
3000
3017
  return /* @__PURE__ */ e.jsx(
3001
3018
  "div",
3002
3019
  {
3003
- className: f.overlay,
3020
+ className: g.overlay,
3004
3021
  role: "dialog",
3005
3022
  "aria-modal": "true",
3006
- "aria-label": u?.("planConsultationSlotTitle") ?? "Select consultation slot",
3007
- children: /* @__PURE__ */ e.jsxs("div", { className: f.sheet, children: [
3008
- /* @__PURE__ */ e.jsxs("div", { className: f.header, children: [
3023
+ "aria-label": p?.("planConsultationSlotTitle") ?? "Select consultation slot",
3024
+ children: /* @__PURE__ */ e.jsxs("div", { className: g.sheet, children: [
3025
+ /* @__PURE__ */ e.jsxs("div", { className: g.header, children: [
3009
3026
  /* @__PURE__ */ e.jsx(
3010
3027
  "button",
3011
3028
  {
3012
- className: f.backBtn,
3029
+ className: g.backBtn,
3013
3030
  onClick: o,
3014
3031
  "aria-label": "Go back",
3015
3032
  type: "button",
3016
- children: /* @__PURE__ */ e.jsx(ot, {})
3033
+ children: /* @__PURE__ */ e.jsx(it, {})
3017
3034
  }
3018
3035
  ),
3019
- /* @__PURE__ */ e.jsx("h2", { className: f.title, children: u?.("planConsultationSlotTitle") ?? "Select consultation slot" })
3036
+ /* @__PURE__ */ e.jsx("h2", { className: g.title, children: p?.("planConsultationSlotTitle") ?? "Select consultation slot" })
3020
3037
  ] }),
3021
- /* @__PURE__ */ e.jsxs("div", { className: f.content, children: [
3022
- /* @__PURE__ */ e.jsx("p", { className: f.subtitle, children: u?.("planAstrologerHeading") ?? "We will assign you a top astrologer" }),
3023
- /* @__PURE__ */ e.jsx("div", { className: f.astrologerRow, role: "list", children: m.map((s, S) => /* @__PURE__ */ e.jsxs("div", { className: f.astrologerCard, role: "listitem", children: [
3024
- /* @__PURE__ */ e.jsxs("div", { className: f.astrologerTop, children: [
3025
- /* @__PURE__ */ e.jsx("div", { className: f.astrologerAvatar, "aria-hidden": !0, children: s.imageUrl && /* @__PURE__ */ e.jsx(
3026
- P,
3038
+ /* @__PURE__ */ e.jsxs("div", { className: g.content, children: [
3039
+ /* @__PURE__ */ e.jsxs("div", { className: g.languageRow, children: [
3040
+ /* @__PURE__ */ e.jsx("span", { className: g.languageLabel, children: p?.("planConsultationLanguageLabel") ?? "Your consultation language" }),
3041
+ /* @__PURE__ */ e.jsxs("div", { className: g.languageDropdown, ref: Z, children: [
3042
+ /* @__PURE__ */ e.jsxs(
3043
+ "button",
3027
3044
  {
3028
- src: s.imageUrl,
3029
- alt: u?.(s.name) ?? s.name,
3030
- width: 40,
3031
- height: 40
3045
+ type: "button",
3046
+ className: g.languageDropdownBtn,
3047
+ onClick: () => w((l) => !l),
3048
+ "aria-haspopup": "listbox",
3049
+ "aria-expanded": h,
3050
+ children: [
3051
+ p?.(X.labelKey) ?? X.label,
3052
+ /* @__PURE__ */ e.jsx(Ur, {})
3053
+ ]
3032
3054
  }
3033
- ) }),
3034
- /* @__PURE__ */ e.jsxs("div", { className: f.astrologerBasicInfo, children: [
3035
- /* @__PURE__ */ e.jsx("p", { className: f.astrologerName, children: u?.(s.name) ?? s.name }),
3036
- /* @__PURE__ */ e.jsx("p", { className: f.astrologerMeta, children: u?.(s.experience) ?? s.experience }),
3037
- s.languages && s.languages.length > 0 && /* @__PURE__ */ e.jsx("p", { className: f.astrologerMeta, children: s.languages.join(", ") })
3038
- ] })
3039
- ] }),
3040
- /* @__PURE__ */ e.jsx("div", { className: f.astrologerCertList, children: s.certifications.map((K, ue) => /* @__PURE__ */ e.jsxs("p", { className: f.astrologerCertItem, children: [
3041
- /* @__PURE__ */ e.jsx("span", { className: f.bullet, children: "•" }),
3042
- " ",
3043
- u?.(K) ?? K
3044
- ] }, ue)) })
3045
- ] }, S)) }),
3046
- /* @__PURE__ */ e.jsxs("div", { className: f.trustRow, children: [
3047
- /* @__PURE__ */ e.jsx("div", { className: f.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
3048
- P,
3049
- {
3050
- src: "https://srm-cdn.a4b.io/yoda/1785317712031.svg",
3051
- alt: "",
3052
- width: 64,
3053
- height: 28,
3054
- priority: !0,
3055
- fetchPriority: "high",
3056
- loading: "eager"
3057
- }
3058
- ) }),
3059
- /* @__PURE__ */ e.jsx("span", { className: f.trustText, children: u?.("planConsultationTrustLabel") ?? "3,750+ people have booked consultation" })
3055
+ ),
3056
+ h && /* @__PURE__ */ e.jsx("ul", { className: g.languageMenu, role: "listbox", children: et.map((l) => {
3057
+ const P = l.code === H;
3058
+ return /* @__PURE__ */ e.jsxs(
3059
+ "li",
3060
+ {
3061
+ role: "option",
3062
+ "aria-selected": P,
3063
+ className: [
3064
+ g.languageMenuItem,
3065
+ P ? g.languageMenuItemSelected : ""
3066
+ ].filter(Boolean).join(" "),
3067
+ onClick: () => me(l.code),
3068
+ children: [
3069
+ p?.(l.labelKey) ?? l.label,
3070
+ P && /* @__PURE__ */ e.jsx(At, {})
3071
+ ]
3072
+ },
3073
+ l.code
3074
+ );
3075
+ }) })
3076
+ ] })
3060
3077
  ] }),
3061
- /* @__PURE__ */ e.jsx("hr", { className: f.trustDivider }),
3062
- /* @__PURE__ */ e.jsx("p", { className: f.sectionHeading, children: u?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
3063
- /* @__PURE__ */ e.jsxs("p", { className: f.reportReadyBanner, children: [
3064
- u?.("planReportReadyPrefix") ?? "Your Report will be ready in",
3078
+ /* @__PURE__ */ e.jsx("p", { className: g.sectionHeading, children: p?.("planSelectSlotHeading") ?? "Book your preferred consultation slot" }),
3079
+ /* @__PURE__ */ e.jsxs("p", { className: g.reportReadyBanner, children: [
3080
+ p?.("planReportReadyPrefix") ?? "Your Report will be ready in",
3065
3081
  " ",
3066
- /* @__PURE__ */ e.jsx("span", { className: f.reportReadyDuration, children: u?.("planReportReadyDuration") ?? "24-48 hours" }),
3082
+ /* @__PURE__ */ e.jsx("span", { className: g.reportReadyDuration, children: p?.("planReportReadyDuration") ?? "24-48 hours" }),
3067
3083
  " ",
3068
- u?.("planReportReadySuffix") ?? "from today"
3084
+ p?.("planReportReadySuffix") ?? "from today"
3069
3085
  ] }),
3070
- A && /* @__PURE__ */ e.jsxs("div", { className: f.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
3071
- /* @__PURE__ */ e.jsx("div", { className: f.skeletonDateTabs, children: Array.from({ length: 5 }).map((s, S) => /* @__PURE__ */ e.jsx(
3086
+ $ && /* @__PURE__ */ e.jsxs("div", { className: g.loadingWrap, "aria-busy": "true", "aria-live": "polite", children: [
3087
+ /* @__PURE__ */ e.jsx("div", { className: g.skeletonDateTabs, children: Array.from({ length: 5 }).map((l, P) => /* @__PURE__ */ e.jsx(
3072
3088
  "div",
3073
3089
  {
3074
- className: [f.skeletonDateTab, f.skeletonShimmer].join(" ")
3090
+ className: [g.skeletonDateTab, g.skeletonShimmer].join(" ")
3075
3091
  },
3076
- S
3092
+ P
3077
3093
  )) }),
3078
- /* @__PURE__ */ e.jsx("div", { className: f.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((s, S) => /* @__PURE__ */ e.jsx(
3094
+ /* @__PURE__ */ e.jsx("div", { className: g.skeletonPeriodTabs, children: Array.from({ length: 3 }).map((l, P) => /* @__PURE__ */ e.jsx(
3079
3095
  "div",
3080
3096
  {
3081
- className: [f.skeletonPeriodTab, f.skeletonShimmer].join(" ")
3097
+ className: [g.skeletonPeriodTab, g.skeletonShimmer].join(" ")
3082
3098
  },
3083
- S
3099
+ P
3084
3100
  )) }),
3085
- /* @__PURE__ */ e.jsx("div", { className: f.skeletonTimeGrid, children: Array.from({ length: 6 }).map((s, S) => /* @__PURE__ */ e.jsx(
3101
+ /* @__PURE__ */ e.jsx("div", { className: g.skeletonTimeGrid, children: Array.from({ length: 6 }).map((l, P) => /* @__PURE__ */ e.jsx(
3086
3102
  "div",
3087
3103
  {
3088
- className: [f.skeletonTimeSlot, f.skeletonShimmer].join(" ")
3104
+ className: [g.skeletonTimeSlot, g.skeletonShimmer].join(" ")
3089
3105
  },
3090
- S
3106
+ P
3091
3107
  )) })
3092
3108
  ] }),
3093
- !A && O && /* @__PURE__ */ e.jsxs("div", { className: f.stateMessage, children: [
3094
- u?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
3095
- /* @__PURE__ */ e.jsx("button", { type: "button", className: f.retryBtn, onClick: B, children: u?.("planRetry") ?? "Retry" })
3109
+ !$ && N && /* @__PURE__ */ e.jsxs("div", { className: g.stateMessage, children: [
3110
+ p?.("planSlotsLoadError") ?? "Couldn't load slots. Please try again.",
3111
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: g.retryBtn, onClick: Q, children: p?.("planRetry") ?? "Retry" })
3096
3112
  ] }),
3097
- !A && !O && b.length === 0 && /* @__PURE__ */ e.jsx("p", { className: f.stateMessage, children: u?.("planNoSlotsAvailable") ?? "No slots available right now." }),
3098
- !A && !O && b.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3099
- /* @__PURE__ */ e.jsx("div", { className: f.dateTabs, role: "radiogroup", "aria-label": "Consultation date", children: b.map((s) => {
3100
- const S = s.date === g, { dayLabel: K, dayNum: ue } = Gn(s.date);
3101
- return /* @__PURE__ */ e.jsxs(Kt, { children: [
3113
+ !$ && !N && I.length === 0 && /* @__PURE__ */ e.jsx("p", { className: g.stateMessage, children: p?.("planNoSlotsAvailable") ?? "No slots available right now." }),
3114
+ !$ && !N && I.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3115
+ /* @__PURE__ */ e.jsx("div", { className: g.dateTabs, role: "radiogroup", "aria-label": "Consultation date", children: I.map((l) => {
3116
+ const P = l.date === K, { dayLabel: oe, dayNum: se } = Kn(l.date);
3117
+ return /* @__PURE__ */ e.jsxs(Yt, { children: [
3102
3118
  /* @__PURE__ */ e.jsxs(
3103
3119
  "button",
3104
3120
  {
3105
3121
  type: "button",
3106
3122
  className: [
3107
- f.dateTab,
3108
- S ? f.dateTabSelected : ""
3123
+ g.dateTab,
3124
+ P ? g.dateTabSelected : ""
3109
3125
  ].filter(Boolean).join(" "),
3110
3126
  role: "radio",
3111
- "aria-checked": S,
3112
- onClick: () => ee(s.date),
3127
+ "aria-checked": P,
3128
+ onClick: () => le(l.date),
3113
3129
  children: [
3114
- /* @__PURE__ */ e.jsx("span", { className: f.dateTabLabel, children: u?.(K) ?? K }),
3115
- /* @__PURE__ */ e.jsx("span", { className: f.dateTabNum, children: ue })
3130
+ /* @__PURE__ */ e.jsx("span", { className: g.dateTabLabel, children: p?.(oe) ?? oe }),
3131
+ /* @__PURE__ */ e.jsx("span", { className: g.dateTabNum, children: se })
3116
3132
  ]
3117
3133
  }
3118
3134
  ),
3119
- /* @__PURE__ */ e.jsx("span", { className: f.dateTabDivider, "aria-hidden": !0 })
3120
- ] }, s.date);
3135
+ /* @__PURE__ */ e.jsx("span", { className: g.dateTabDivider, "aria-hidden": !0 })
3136
+ ] }, l.date);
3121
3137
  }) }),
3122
- /* @__PURE__ */ e.jsx("div", { className: f.periodTabs, role: "tablist", "aria-label": "Time of day", children: V.map((s) => {
3123
- const S = Wo[s];
3138
+ /* @__PURE__ */ e.jsx("div", { className: g.periodTabs, role: "tablist", "aria-label": "Time of day", children: ce.map((l) => {
3139
+ const P = $o[l];
3124
3140
  return /* @__PURE__ */ e.jsxs(
3125
3141
  "button",
3126
3142
  {
3127
3143
  type: "button",
3128
3144
  className: [
3129
- f.periodTab,
3130
- s === Q ? f.periodTabSelected : ""
3145
+ g.periodTab,
3146
+ l === L ? g.periodTabSelected : ""
3131
3147
  ].filter(Boolean).join(" "),
3132
3148
  role: "tab",
3133
- "aria-selected": s === Q,
3134
- onClick: () => Z(s),
3149
+ "aria-selected": l === L,
3150
+ onClick: () => te(l),
3135
3151
  children: [
3136
- /* @__PURE__ */ e.jsx(S, {}),
3137
- u?.(Ko[s]) ?? s.charAt(0).toUpperCase() + s.slice(1)
3152
+ /* @__PURE__ */ e.jsx(P, {}),
3153
+ p?.(Go[l]) ?? l.charAt(0).toUpperCase() + l.slice(1)
3138
3154
  ]
3139
3155
  },
3140
- s
3156
+ l
3141
3157
  );
3142
3158
  }) }),
3143
- /* @__PURE__ */ e.jsx("div", { className: f.timeGrid, role: "radiogroup", "aria-label": "Consultation time", children: D.map((s, S) => /* @__PURE__ */ e.jsx(
3159
+ /* @__PURE__ */ e.jsx("div", { className: g.timeGrid, role: "radiogroup", "aria-label": "Consultation time", children: ee.map((l, P) => /* @__PURE__ */ e.jsx(
3144
3160
  "button",
3145
3161
  {
3146
3162
  type: "button",
3147
3163
  className: [
3148
- f.timeSlot,
3149
- E?.start === s.start ? f.timeSlotSelected : ""
3164
+ g.timeSlot,
3165
+ Y?.start === l.start ? g.timeSlotSelected : ""
3150
3166
  ].filter(Boolean).join(" "),
3151
3167
  role: "radio",
3152
- "aria-checked": E?.start === s.start,
3153
- onClick: () => z(s),
3154
- children: vt(s.start)
3168
+ "aria-checked": Y?.start === l.start,
3169
+ onClick: () => ke(l),
3170
+ children: vt(l.start)
3155
3171
  },
3156
- `${s.start}-${S}`
3172
+ `${l.start}-${P}`
3157
3173
  )) })
3158
3174
  ] }),
3159
- /* @__PURE__ */ e.jsx("p", { className: f.sectionHeading, children: u?.("planGuidanceHeading") ?? "What would you like guidance on?" }),
3160
- /* @__PURE__ */ e.jsx("div", { className: f.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children: Wn.map((s) => /* @__PURE__ */ e.jsx(
3175
+ /* @__PURE__ */ e.jsx("p", { className: g.sectionHeading, children: p?.("planGuidanceHeading") ?? "What would you like guidance on?" }),
3176
+ /* @__PURE__ */ e.jsx("div", { className: g.topicGrid, role: "radiogroup", "aria-label": "Guidance topic", children: Hn.map((l) => /* @__PURE__ */ e.jsx(
3161
3177
  "button",
3162
3178
  {
3163
3179
  type: "button",
3164
3180
  className: [
3165
- f.topicChip,
3166
- G === s.id ? f.topicChipSelected : ""
3181
+ g.topicChip,
3182
+ U === l.id ? g.topicChipSelected : ""
3167
3183
  ].filter(Boolean).join(" "),
3168
3184
  role: "radio",
3169
- "aria-checked": G === s.id,
3170
- onClick: () => ne(s.id),
3171
- children: u?.(s.labelKey) ?? s.label
3185
+ "aria-checked": U === l.id,
3186
+ onClick: () => Ce(l.id),
3187
+ children: p?.(l.labelKey) ?? l.label
3172
3188
  },
3173
- s.id
3174
- )) })
3189
+ l.id
3190
+ )) }),
3191
+ /* @__PURE__ */ e.jsxs("div", { className: g.trustRow, children: [
3192
+ /* @__PURE__ */ e.jsx("div", { className: g.trustAvatars, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
3193
+ T,
3194
+ {
3195
+ src: "https://srm-cdn.a4b.io/yoda/1785317712031.svg",
3196
+ alt: "",
3197
+ width: 64,
3198
+ height: 28,
3199
+ priority: !0,
3200
+ fetchPriority: "high",
3201
+ loading: "eager"
3202
+ }
3203
+ ) }),
3204
+ /* @__PURE__ */ e.jsx("span", { className: g.trustText, children: p?.("planConsultationTrustLabel") ?? "3,750+ people have booked consultation" })
3205
+ ] })
3175
3206
  ] }),
3176
- /* @__PURE__ */ e.jsx("div", { className: f.footer, children: /* @__PURE__ */ e.jsx(
3207
+ /* @__PURE__ */ e.jsx("div", { className: g.footer, children: /* @__PURE__ */ e.jsx(
3177
3208
  "button",
3178
3209
  {
3179
3210
  type: "button",
3180
- className: [f.proceedBtn, I ? "" : f.proceedBtnDisabled].filter(Boolean).join(" "),
3181
- disabled: !I,
3182
- onClick: ye,
3183
- children: u?.("planProceedToPayment") ?? "Proceed to payment"
3211
+ className: [g.proceedBtn, ie ? "" : g.proceedBtnDisabled].filter(Boolean).join(" "),
3212
+ disabled: !ie,
3213
+ onClick: he,
3214
+ children: p?.("planProceedToPayment") ?? "Proceed to payment"
3184
3215
  }
3185
3216
  ) })
3186
3217
  ] })
3187
3218
  }
3188
3219
  );
3189
- }, Yo = [
3220
+ }, Ko = [
3190
3221
  {
3191
3222
  id: "jyoti",
3192
3223
  name: "planAstrologerNameJyoti",
@@ -3214,7 +3245,7 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3214
3245
  experience: "planAstrologerExpNeeraj",
3215
3246
  certifications: ["planAstrologerCertBhuCertified", "planAstrologerCertMantraRudraksha"]
3216
3247
  }
3217
- ], qo = (a) => [
3248
+ ], Wo = (a) => [
3218
3249
  {
3219
3250
  id: "kundli-report",
3220
3251
  title: "planNameBasic",
@@ -3240,159 +3271,159 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3240
3271
  { text: "planFeatureRealTimeAnswers", included: !0 },
3241
3272
  { text: "planFeatureTailoredRemedies", included: !0 }
3242
3273
  ],
3243
- astrologers: Yo.filter(
3274
+ astrologers: Ko.filter(
3244
3275
  (o) => ["jyoti", "samiksha", "neeraj", "ashwini"].includes(o.id)
3245
3276
  )
3246
3277
  }
3247
- ], Vo = ({
3278
+ ], Ho = ({
3248
3279
  isOpen: a,
3249
3280
  onClose: o,
3250
- selectedPlan: l,
3281
+ selectedPlan: s,
3251
3282
  onSelectPlan: m,
3252
- plans: u,
3283
+ plans: p,
3253
3284
  onProceed: _,
3254
- t: h,
3255
- analytics: P,
3256
- enableConsultationScheduling: w
3285
+ t: f,
3286
+ analytics: T,
3287
+ enableConsultationScheduling: x
3257
3288
  }) => {
3258
- const W = Ee(), F = W?.config.isGlobal ?? !0, A = w ?? W?.config.enableConsultationScheduling ?? !1, p = u ?? qo(F), O = l?.id || p.find((N) => N.badge)?.id || p[0]?.id || "", v = Y(null), G = Y(null), k = Y(!1), [g, C] = M(!1);
3289
+ const $ = Le(), O = $?.config.isGlobal ?? !0, N = x ?? $?.config.enableConsultationScheduling ?? !1, u = p ?? Wo(O), G = s?.id || u.find((S) => S.badge)?.id || u[0]?.id || "", v = q(null), H = q(null), y = q(!1), [h, w] = D(!1);
3259
3290
  J(() => {
3260
3291
  if (a) {
3261
- if (!l) {
3262
- const N = p.find((E) => E.badge) ?? p[0];
3263
- N && m(N);
3292
+ if (!s) {
3293
+ const S = u.find((U) => U.badge) ?? u[0];
3294
+ S && m(S);
3264
3295
  }
3265
- k.current || (P?.trackPlanPageViewed?.(), A && P?.trackPlanScreenViewed?.({
3266
- plans_shown: p.map((N) => N.id),
3267
- default_selected_plan: l?.id || p.find((N) => N.badge)?.id || p[0]?.id || ""
3268
- }), k.current = !0);
3296
+ y.current || (T?.trackPlanPageViewed?.(), N && T?.trackPlanScreenViewed?.({
3297
+ plans_shown: u.map((S) => S.id),
3298
+ default_selected_plan: s?.id || u.find((S) => S.badge)?.id || u[0]?.id || ""
3299
+ }), y.current = !0);
3269
3300
  } else
3270
- k.current = !1;
3271
- }, [a, p, l, m, P]);
3272
- const Q = () => {
3273
- P?.trackPlanPageClosed?.(), o();
3301
+ y.current = !1;
3302
+ }, [a, u, s, m, T]);
3303
+ const Z = () => {
3304
+ T?.trackPlanPageClosed?.(), o();
3274
3305
  };
3275
3306
  return J(() => {
3276
3307
  if (!a) return;
3277
- const N = document.body.style.overflow;
3308
+ const S = document.body.style.overflow;
3278
3309
  return document.body.style.overflow = "hidden", () => {
3279
- document.body.style.overflow = N;
3310
+ document.body.style.overflow = S;
3280
3311
  };
3281
3312
  }, [a]), a ? /* @__PURE__ */ e.jsxs(
3282
3313
  "div",
3283
3314
  {
3284
- className: x.overlay,
3315
+ className: k.overlay,
3285
3316
  role: "dialog",
3286
3317
  "aria-modal": "true",
3287
- "aria-label": h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
3318
+ "aria-label": f?.("planSheetTitle") ?? "Choose Your Kundli Plan",
3288
3319
  children: [
3289
3320
  /* @__PURE__ */ e.jsxs(
3290
3321
  "div",
3291
3322
  {
3292
3323
  ref: v,
3293
- className: A ? x.sheetFullScreen : x.sheet,
3324
+ className: N ? k.sheetFullScreen : k.sheet,
3294
3325
  children: [
3295
- A ? /* @__PURE__ */ e.jsxs("div", { className: x.headerFull, children: [
3326
+ N ? /* @__PURE__ */ e.jsxs("div", { className: k.headerFull, children: [
3296
3327
  /* @__PURE__ */ e.jsx(
3297
3328
  "button",
3298
3329
  {
3299
- className: x.backBtn,
3300
- onClick: Q,
3330
+ className: k.backBtn,
3331
+ onClick: Z,
3301
3332
  "aria-label": "Go back",
3302
3333
  type: "button",
3303
- children: /* @__PURE__ */ e.jsx(ot, {})
3334
+ children: /* @__PURE__ */ e.jsx(it, {})
3304
3335
  }
3305
3336
  ),
3306
- /* @__PURE__ */ e.jsx("h2", { className: x.titleFull, children: h?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
3337
+ /* @__PURE__ */ e.jsx("h2", { className: k.titleFull, children: f?.("planSheetTitle") ?? "Choose Your Kundli Plan" })
3307
3338
  ] }) : /* @__PURE__ */ e.jsx(
3308
- Dn,
3339
+ Fn,
3309
3340
  {
3310
- title: h?.("planSheetTitle") ?? "Choose Your Kundli Plan",
3311
- onBack: Q
3341
+ title: f?.("planSheetTitle") ?? "Choose Your Kundli Plan",
3342
+ onBack: Z
3312
3343
  }
3313
3344
  ),
3314
3345
  /* @__PURE__ */ e.jsx(
3315
3346
  "div",
3316
3347
  {
3317
- ref: G,
3318
- className: x.plansContainer,
3348
+ ref: H,
3349
+ className: k.plansContainer,
3319
3350
  role: "radiogroup",
3320
3351
  "aria-label": "Kundli plans",
3321
- children: p.map((N) => /* @__PURE__ */ e.jsx(
3322
- $n,
3352
+ children: u.map((S) => /* @__PURE__ */ e.jsx(
3353
+ Un,
3323
3354
  {
3324
- plan: N,
3325
- isSelected: N.id === O,
3326
- t: h,
3327
- onSelect: (E) => {
3328
- const T = p.find((U) => U.id === E);
3329
- T && (P?.trackPlanSelected?.({
3330
- planId: T.id,
3331
- planName: T.title,
3332
- ...A ? {
3333
- price: T.price,
3334
- includes_consultation: !!(T.astrologers && T.astrologers.length > 0),
3335
- cta_label: T.astrologers && T.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? "Proceed to Payment"
3355
+ plan: S,
3356
+ isSelected: S.id === G,
3357
+ t: f,
3358
+ onSelect: (U) => {
3359
+ const j = u.find((K) => K.id === U);
3360
+ j && (T?.trackPlanSelected?.({
3361
+ planId: j.id,
3362
+ planName: j.title,
3363
+ ...N ? {
3364
+ price: j.price,
3365
+ includes_consultation: !!(j.astrologers && j.astrologers.length > 0),
3366
+ cta_label: j.astrologers && j.astrologers.length > 0 ? f?.("planSelectConsultationSlot") ?? "Select consultation slot →" : f?.("planProceedToPayment") ?? "Proceed to Payment"
3336
3367
  } : {}
3337
- }), m(T));
3368
+ }), m(j));
3338
3369
  }
3339
3370
  },
3340
- N.id
3371
+ S.id
3341
3372
  ))
3342
3373
  }
3343
3374
  ),
3344
- /* @__PURE__ */ e.jsx("div", { className: x.footer, children: /* @__PURE__ */ e.jsx(
3375
+ /* @__PURE__ */ e.jsx("div", { className: k.footer, children: /* @__PURE__ */ e.jsx(
3345
3376
  "button",
3346
3377
  {
3347
- className: x.proceedBtn,
3348
- disabled: !l,
3378
+ className: k.proceedBtn,
3379
+ disabled: !s,
3349
3380
  onClick: () => {
3350
- if (l) {
3351
- if (A && l.astrologers && l.astrologers.length > 0) {
3352
- P?.trackSelectConsultationSlotClicked?.({
3353
- planId: l.id,
3354
- planName: l.title
3355
- }), P?.trackPlanProceedClicked?.({
3356
- planId: l.id,
3357
- planName: l.title,
3381
+ if (s) {
3382
+ if (N && s.astrologers && s.astrologers.length > 0) {
3383
+ T?.trackSelectConsultationSlotClicked?.({
3384
+ planId: s.id,
3385
+ planName: s.title
3386
+ }), T?.trackPlanProceedClicked?.({
3387
+ planId: s.id,
3388
+ planName: s.title,
3358
3389
  cta_type: "confirm_consultation_slot",
3359
3390
  next_step: "slot_selection"
3360
- }), C(!0);
3391
+ }), w(!0);
3361
3392
  return;
3362
3393
  }
3363
- P?.trackPlanProceedClicked?.({
3364
- planId: l.id,
3365
- planName: l.title,
3366
- ...A ? { cta_type: "proceed", next_step: "payment" } : {}
3367
- }), _(l), o();
3394
+ T?.trackPlanProceedClicked?.({
3395
+ planId: s.id,
3396
+ planName: s.title,
3397
+ ...N ? { cta_type: "proceed", next_step: "payment" } : {}
3398
+ }), _(s), o();
3368
3399
  }
3369
3400
  },
3370
- children: l ? A && l.astrologers && l.astrologers.length > 0 ? h?.("planSelectConsultationSlot") ?? "Select consultation slot →" : h?.("planProceedToPayment") ?? l.price + "Proceed to Payment" : "Select a plan"
3401
+ children: s ? N && s.astrologers && s.astrologers.length > 0 ? f?.("planSelectConsultationSlot") ?? "Select consultation slot →" : f?.("planProceedToPayment") ?? s.price + "Proceed to Payment" : "Select a plan"
3371
3402
  }
3372
3403
  ) })
3373
3404
  ]
3374
3405
  }
3375
3406
  ),
3376
- A && l?.astrologers && l.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
3377
- Ho,
3407
+ N && s?.astrologers && s.astrologers.length > 0 && /* @__PURE__ */ e.jsx(
3408
+ Uo,
3378
3409
  {
3379
- isOpen: g,
3380
- onClose: () => C(!1),
3381
- astrologers: l.astrologers,
3382
- t: h,
3383
- analytics: P,
3384
- onProceed: (N) => {
3385
- P?.trackPlanProceedClicked?.({
3386
- planId: l.id,
3387
- planName: l.title
3388
- }), _(l, N), C(!1), o();
3410
+ isOpen: h,
3411
+ onClose: () => w(!1),
3412
+ astrologers: s.astrologers,
3413
+ t: f,
3414
+ analytics: T,
3415
+ onProceed: (S) => {
3416
+ T?.trackPlanProceedClicked?.({
3417
+ planId: s.id,
3418
+ planName: s.title
3419
+ }), _(s, S), w(!1), o();
3389
3420
  }
3390
3421
  }
3391
3422
  )
3392
3423
  ]
3393
3424
  }
3394
3425
  ) : null;
3395
- }, zo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Jo = (a, o) => wt[a]?.[o] ?? o, Qo = (a, o) => a && et.includes(a) ? a : o ? "+1" : "+91", Xo = {
3426
+ }, Yo = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", qo = (a, o) => Pt[a]?.[o] ?? o, Vo = (a, o) => a && tt.includes(a) ? a : o ? "+1" : "+91", zo = {
3396
3427
  fullName: "",
3397
3428
  phone: "",
3398
3429
  phoneCountryCode: "",
@@ -3403,207 +3434,207 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3403
3434
  birthTime: "",
3404
3435
  birthTimeUnknown: !1,
3405
3436
  birthPlace: ""
3406
- }, ii = ({
3437
+ }, ri = ({
3407
3438
  className: a = "",
3408
3439
  locale: o,
3409
- showLanguageSelector: l = !0,
3440
+ showLanguageSelector: s = !0,
3410
3441
  onBack: m,
3411
- initialValues: u,
3442
+ initialValues: p,
3412
3443
  onProceed: _,
3413
- onProceedGuidance: h,
3414
- proceedHref: P,
3415
- originalPriceLabel: w,
3416
- discountedPriceLabel: W,
3417
- googleMapsApiKey: F = "",
3418
- atlasSearchLocalities: A,
3419
- googleMapsAutocompleteEnabled: p,
3420
- analytics: O
3444
+ onProceedGuidance: f,
3445
+ proceedHref: T,
3446
+ originalPriceLabel: x,
3447
+ discountedPriceLabel: $,
3448
+ googleMapsApiKey: O = "",
3449
+ atlasSearchLocalities: N,
3450
+ googleMapsAutocompleteEnabled: u,
3451
+ analytics: G
3421
3452
  }) => {
3422
- const v = Ee(), G = ca(), k = v !== null, g = k ? v.locale : o, C = g ?? G?.locale ?? "en", [Q, N] = M(C), E = k ? v.locale : Q, T = k ? v.setLocale : N, [U, b] = M(!1), B = Y(null), X = Y(
3423
- g
3424
- ), V = Y(
3425
- G?.locale
3453
+ const v = Le(), H = ua(), y = v !== null, h = y ? v.locale : o, w = h ?? H?.locale ?? "en", [Z, S] = D(w), U = y ? v.locale : Z, j = y ? v.setLocale : S, [K, A] = D(!1), L = q(null), re = q(
3454
+ h
3455
+ ), Y = q(
3456
+ H?.locale
3426
3457
  );
3427
3458
  J(() => {
3428
3459
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
3429
3460
  }, []);
3430
- const D = (j) => Jo(E, j);
3461
+ const F = (C) => qo(U, C);
3431
3462
  J(() => {
3432
- g && X.current !== g && T(g), X.current = g;
3433
- }, [g, T]), J(() => {
3434
- if (g) return;
3435
- const j = G?.locale;
3436
- j && V.current !== j && T(j), V.current = j;
3437
- }, [G?.locale, g, T]);
3438
- const [I, ee] = M({
3439
- ...Xo,
3440
- ...u,
3441
- phone: u?.phone ?? ""
3442
- }), Z = k ? v?.config.isGlobal ?? !0 : !0, z = k ? v.formValues : I, ye = k ? v.setFormValues : ee, [ne, s] = M(
3443
- () => Qo(z.phoneCountryCode, Z)
3444
- ), S = Y(
3445
- !!(z.phoneCountryCode && et.includes(z.phoneCountryCode))
3446
- ), K = Y(!1), ue = be((j) => {
3447
- K.current = !0, s(j);
3448
- }, []), ve = Y(!0);
3463
+ h && re.current !== h && j(h), re.current = h;
3464
+ }, [h, j]), J(() => {
3465
+ if (h) return;
3466
+ const C = H?.locale;
3467
+ C && Y.current !== C && j(C), Y.current = C;
3468
+ }, [H?.locale, h, j]);
3469
+ const [E, I] = D({
3470
+ ...zo,
3471
+ ...p,
3472
+ phone: p?.phone ?? ""
3473
+ }), Q = y ? v?.config.isGlobal ?? !0 : !0, M = y ? v.formValues : E, ce = y ? v.setFormValues : I, [ee, ie] = D(
3474
+ () => Vo(M.phoneCountryCode, Q)
3475
+ ), le = q(
3476
+ !!(M.phoneCountryCode && tt.includes(M.phoneCountryCode))
3477
+ ), te = q(!1), ke = ye((C) => {
3478
+ te.current = !0, ie(C);
3479
+ }, []), he = q(!0);
3449
3480
  J(() => {
3450
- if (ve.current) {
3451
- ve.current = !1;
3481
+ if (he.current) {
3482
+ he.current = !1;
3452
3483
  return;
3453
3484
  }
3454
- S.current || K.current || s(Z ? "+1" : "+91");
3455
- }, [Z]), J(() => {
3456
- if (!k || K.current) return;
3457
- const j = z.phoneCountryCode;
3458
- j && et.includes(j) && j !== ne && (S.current = !0, s(j));
3459
- }, [k, z.phoneCountryCode]);
3460
- const je = k ? v.goToPage : m, he = k ? v.onProceed : _, te = k ? v.onProceedGuidance : h, pe = k ? v.config.proceedHref : P, me = k ? v.config.originalPriceLabel : w, ce = k ? v.config.discountedPriceLabel : W, oe = k ? v.config.showLanguageSelector ?? !0 : l, ke = (k ? v?.config?.analytics : O) ?? O;
3485
+ le.current || te.current || ie(Q ? "+1" : "+91");
3486
+ }, [Q]), J(() => {
3487
+ if (!y || te.current) return;
3488
+ const C = M.phoneCountryCode;
3489
+ C && tt.includes(C) && C !== ee && (le.current = !0, ie(C));
3490
+ }, [y, M.phoneCountryCode]);
3491
+ const Ce = y ? v.goToPage : m, me = y ? v.onProceed : _, X = y ? v.onProceedGuidance : f, l = y ? v.config.proceedHref : T, P = y ? v.config.originalPriceLabel : x, oe = y ? v.config.discountedPriceLabel : $, se = y ? v.config.showLanguageSelector ?? !0 : s, ve = (y ? v?.config?.analytics : G) ?? G;
3461
3492
  J(() => {
3462
- if (!U) return;
3463
- const j = (Be) => {
3464
- B.current && !B.current.contains(Be.target) && b(!1);
3493
+ if (!K) return;
3494
+ const C = (Be) => {
3495
+ L.current && !L.current.contains(Be.target) && A(!1);
3465
3496
  };
3466
- return document.addEventListener("mousedown", j), () => document.removeEventListener("mousedown", j);
3467
- }, [U]);
3468
- const [Se, ie] = M(!1), [se, Te] = M(null), xe = Y(null), fe = be((j) => {
3469
- xe.current = j, ie(!0);
3470
- }, []), we = Y(!1);
3497
+ return document.addEventListener("mousedown", C), () => document.removeEventListener("mousedown", C);
3498
+ }, [K]);
3499
+ const [je, de] = D(!1), [ue, Se] = D(null), xe = q(null), ge = ye((C) => {
3500
+ xe.current = C, de(!0);
3501
+ }, []), we = q(!1);
3471
3502
  J(() => {
3472
- if (we.current || !k || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
3503
+ if (we.current || !y || !v?.config.autoOpenPlanSheet || v?.config.variant !== "v1")
3473
3504
  return;
3474
3505
  we.current = !0;
3475
- const j = (z.phone ?? "").trim();
3476
- fe({
3477
- ...z,
3478
- phone: j && `${ne}-${j}`
3506
+ const C = (M.phone ?? "").trim();
3507
+ ge({
3508
+ ...M,
3509
+ phone: C && `${ee}-${C}`
3479
3510
  });
3480
- }, [k, v?.config.autoOpenPlanSheet, v?.config.variant, z, ne, fe]);
3481
- const Pe = be(() => {
3482
- if (!xe.current || !se) return;
3483
- ke?.trackPlanProceedClicked?.({
3484
- planId: se.id,
3485
- planName: se.title,
3486
- price: se.price,
3487
- currency: Z ? "USD" : "INR"
3511
+ }, [y, v?.config.autoOpenPlanSheet, v?.config.variant, M, ee, ge]);
3512
+ const Pe = ye(() => {
3513
+ if (!xe.current || !ue) return;
3514
+ ve?.trackPlanProceedClicked?.({
3515
+ planId: ue.id,
3516
+ planName: ue.title,
3517
+ price: ue.price,
3518
+ currency: Q ? "USD" : "INR"
3488
3519
  });
3489
- const j = { ...xe.current, _selectedPlan: se };
3490
- se.id === jt && te ? te(j) : he?.(j), ie(!1), xe.current = null;
3491
- }, [se, he, te]), Ie = v?.config.imageComponent ?? Ye, Le = oe ? /* @__PURE__ */ e.jsxs("div", { className: Ce.langDropdownWrap, ref: B, children: [
3520
+ const C = { ...xe.current, _selectedPlan: ue };
3521
+ ue.id === Nt && X ? X(C) : me?.(C), de(!1), xe.current = null;
3522
+ }, [ue, me, X]), Ee = v?.config.imageComponent ?? Ye, Ie = se ? /* @__PURE__ */ e.jsxs("div", { className: Te.langDropdownWrap, ref: L, children: [
3492
3523
  /* @__PURE__ */ e.jsxs(
3493
3524
  "button",
3494
3525
  {
3495
3526
  type: "button",
3496
- className: Ce.langTrigger,
3527
+ className: Te.langTrigger,
3497
3528
  onClick: () => {
3498
- ke?.trackLanguageClickedFe?.({ language: E }), b((j) => !j);
3529
+ ve?.trackLanguageClickedFe?.({ language: U }), A((C) => !C);
3499
3530
  },
3500
- "aria-expanded": U,
3531
+ "aria-expanded": K,
3501
3532
  "aria-haspopup": "listbox",
3502
3533
  id: "kundli-form-lang",
3503
- "aria-label": D("language"),
3534
+ "aria-label": F("language"),
3504
3535
  children: [
3505
3536
  /* @__PURE__ */ e.jsx(
3506
- Ie,
3537
+ Ee,
3507
3538
  {
3508
- src: zo,
3539
+ src: Yo,
3509
3540
  alt: "",
3510
- className: Ce.langIcon,
3541
+ className: Te.langIcon,
3511
3542
  width: 16,
3512
3543
  height: 16,
3513
3544
  loading: "eager"
3514
3545
  }
3515
3546
  ),
3516
- /* @__PURE__ */ e.jsx("span", { className: Ce.langLabel, children: gt[E] })
3547
+ /* @__PURE__ */ e.jsx("span", { className: Te.langLabel, children: _t[U] })
3517
3548
  ]
3518
3549
  }
3519
3550
  ),
3520
- U && /* @__PURE__ */ e.jsx(
3551
+ K && /* @__PURE__ */ e.jsx(
3521
3552
  "ul",
3522
3553
  {
3523
- className: Ce.langMenu,
3554
+ className: Te.langMenu,
3524
3555
  role: "listbox",
3525
3556
  "aria-labelledby": "kundli-form-lang",
3526
- "aria-activedescendant": `kundli-form-lang-option-${E}`,
3527
- children: xt.map((j) => /* @__PURE__ */ e.jsx(
3557
+ "aria-activedescendant": `kundli-form-lang-option-${U}`,
3558
+ children: wt.map((C) => /* @__PURE__ */ e.jsx(
3528
3559
  "li",
3529
3560
  {
3530
- id: `kundli-form-lang-option-${j}`,
3561
+ id: `kundli-form-lang-option-${C}`,
3531
3562
  role: "option",
3532
- "aria-selected": j === E,
3533
- className: Ce.langOption,
3563
+ "aria-selected": C === U,
3564
+ className: Te.langOption,
3534
3565
  onClick: () => {
3535
- ke?.trackLanguageChangedFe?.({ newLanguage: j }), T(j), b(!1);
3566
+ ve?.trackLanguageChangedFe?.({ newLanguage: C }), j(C), A(!1);
3536
3567
  },
3537
- children: gt[j]
3568
+ children: _t[C]
3538
3569
  },
3539
- j
3570
+ C
3540
3571
  ))
3541
3572
  }
3542
3573
  )
3543
3574
  ] }) : null;
3544
- return /* @__PURE__ */ e.jsxs("div", { className: `${Ce.container} ${a}`, children: [
3575
+ return /* @__PURE__ */ e.jsxs("div", { className: `${Te.container} ${a}`, children: [
3545
3576
  /* @__PURE__ */ e.jsx(
3546
- Or,
3577
+ $r,
3547
3578
  {
3548
- t: D,
3549
- logoUrl: k ? v.config.logoUrl : void 0,
3550
- languageSelector: Le,
3551
- className: Ce.kundliHeaderNoBorder
3579
+ t: F,
3580
+ logoUrl: y ? v.config.logoUrl : void 0,
3581
+ languageSelector: Ie,
3582
+ className: Te.kundliHeaderNoBorder
3552
3583
  }
3553
3584
  ),
3554
- /* @__PURE__ */ e.jsx("div", { className: Ce.headerSeparator, "aria-hidden": !0 }),
3555
- /* @__PURE__ */ e.jsxs("main", { className: Ce.main, children: [
3556
- /* @__PURE__ */ e.jsx(_a, { t: D, onBack: je }),
3585
+ /* @__PURE__ */ e.jsx("div", { className: Te.headerSeparator, "aria-hidden": !0 }),
3586
+ /* @__PURE__ */ e.jsxs("main", { className: Te.main, children: [
3587
+ /* @__PURE__ */ e.jsx(ya, { t: F, onBack: Ce }),
3557
3588
  /* @__PURE__ */ e.jsx(
3558
- wr,
3589
+ Tr,
3559
3590
  {
3560
- t: D,
3561
- values: z,
3562
- onChange: ye,
3563
- googleMapsApiKey: F,
3564
- atlasSearchLocalities: A,
3565
- googleMapsAutocompleteEnabled: p,
3566
- phoneIsdCode: ne,
3567
- onPhoneIsdCodeChange: ue,
3568
- showV1ExtraFields: k ? v?.config.variant === "v1" : !1,
3569
- analytics: ke
3591
+ t: F,
3592
+ values: M,
3593
+ onChange: ce,
3594
+ googleMapsApiKey: O,
3595
+ atlasSearchLocalities: N,
3596
+ googleMapsAutocompleteEnabled: u,
3597
+ phoneIsdCode: ee,
3598
+ onPhoneIsdCodeChange: ke,
3599
+ showV1ExtraFields: y ? v?.config.variant === "v1" : !1,
3600
+ analytics: ve
3570
3601
  }
3571
3602
  )
3572
3603
  ] }),
3573
3604
  /* @__PURE__ */ e.jsx(
3574
- Dr,
3605
+ Fr,
3575
3606
  {
3576
- t: D,
3577
- values: z,
3578
- phoneIsdCode: ne,
3579
- onProceed: he,
3580
- onProceedGuidance: te,
3581
- href: pe,
3582
- originalPriceLabel: me,
3583
- discountedPriceLabel: ce,
3584
- analytics: ke,
3585
- showPlanSheet: fe,
3607
+ t: F,
3608
+ values: M,
3609
+ phoneIsdCode: ee,
3610
+ onProceed: me,
3611
+ onProceedGuidance: X,
3612
+ href: l,
3613
+ originalPriceLabel: P,
3614
+ discountedPriceLabel: oe,
3615
+ analytics: ve,
3616
+ showPlanSheet: ge,
3586
3617
  confirmPlan: Pe,
3587
- planSheetOpen: Se,
3588
- selectedPlan: se
3618
+ planSheetOpen: je,
3619
+ selectedPlan: ue
3589
3620
  }
3590
3621
  ),
3591
3622
  v?.config.variant === "v1" && /* @__PURE__ */ e.jsx(
3592
- Vo,
3623
+ Ho,
3593
3624
  {
3594
- isOpen: Se,
3595
- onClose: () => ie(!1),
3596
- selectedPlan: se,
3597
- onSelectPlan: Te,
3625
+ isOpen: je,
3626
+ onClose: () => de(!1),
3627
+ selectedPlan: ue,
3628
+ onSelectPlan: Se,
3598
3629
  onProceed: () => {
3599
3630
  Pe?.();
3600
3631
  },
3601
- t: D,
3602
- analytics: ke
3632
+ t: F,
3633
+ analytics: ve
3603
3634
  }
3604
3635
  )
3605
3636
  ] });
3606
- }, si = {
3637
+ }, ni = {
3607
3638
  banner_clicked_fe: "banner_clicked_fe",
3608
3639
  primary_cta_clicked_fe: "primary_cta_clicked_fe",
3609
3640
  language_changed_fe: "language_changed_fe",
@@ -3676,34 +3707,34 @@ const gr = (a, o) => typeof window > "u" || window.google?.maps?.places ? Promis
3676
3707
  kundli_view_sample_image_closed: "kundli_view_sample_image_closed"
3677
3708
  };
3678
3709
  export {
3679
- Ho as C,
3710
+ Uo as C,
3680
3711
  Ye as D,
3681
- _a as F,
3682
- ti as I,
3683
- si as K,
3684
- gt as L,
3685
- jt as P,
3686
- xt as S,
3687
- wr as U,
3712
+ ya as F,
3713
+ Xo as I,
3714
+ ni as K,
3715
+ _t as L,
3716
+ Nt as P,
3717
+ wt as S,
3718
+ Tr as U,
3688
3719
  Ct as a,
3689
- rt as b,
3690
- ii as c,
3691
- ni as d,
3692
- pa as e,
3693
- ma as f,
3694
- da as g,
3695
- Ee as h,
3696
- ri as i,
3697
- oi as j,
3698
- qo as k,
3720
+ nt as b,
3721
+ ri as c,
3722
+ ti as d,
3723
+ fa as e,
3724
+ ha as f,
3725
+ pa as g,
3726
+ Le as h,
3727
+ ei as i,
3728
+ ai as j,
3729
+ Wo as k,
3699
3730
  e as l,
3700
- Or as m,
3701
- ot as n,
3702
- Dr as o,
3703
- Vo as p,
3704
- ai as r,
3705
- ua as s,
3706
- wt as t,
3707
- ca as u
3731
+ $r as m,
3732
+ it as n,
3733
+ Fr as o,
3734
+ Ho as p,
3735
+ Zo as r,
3736
+ ma as s,
3737
+ Pt as t,
3738
+ ua as u
3708
3739
  };
3709
- //# sourceMappingURL=analytics-Cc0qKUCw.js.map
3740
+ //# sourceMappingURL=analytics-DiUVCCf_.js.map