@srimandir/kundli-generator 5.0.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,29 +1,29 @@
1
- import Ue, { useContext as Ge, createContext as sr, useState as G, useRef as U, useEffect as q, useMemo as $e, useCallback as je } from "react";
2
- import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as ve, PageHeader as $r } from "@srimandir/astrology-common";
3
- var Ee = { exports: {} }, Te = {};
4
- var tr;
1
+ import We, { useContext as Ke, createContext as dr, useState as W, useRef as K, useEffect as H, useMemo as Ge, useCallback as Te } from "react";
2
+ import { FormSectionHeader as Dr, FooterCTAButton as Or, FooterShell as Fr, CircularMarquee as Mr, footerShellStyles as we, PageHeader as $r } from "@srimandir/astrology-common";
3
+ var Le = { exports: {} }, Ee = {};
4
+ var nr;
5
5
  function Ur() {
6
- if (tr) return Te;
7
- tr = 1;
8
- var t = Ue, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, v = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, T = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function x(C, P, E) {
10
- var c, j = {}, p = null, R = null;
11
- E !== void 0 && (p = "" + E), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (R = P.ref);
12
- for (c in P) m.call(P, c) && !T.hasOwnProperty(c) && (j[c] = P[c]);
13
- if (C && C.defaultProps) for (c in P = C.defaultProps, P) j[c] === void 0 && (j[c] = P[c]);
14
- return { $$typeof: o, type: C, key: p, ref: R, props: j, _owner: v.current };
6
+ if (nr) return Ee;
7
+ nr = 1;
8
+ var t = We, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function w(j, A, I) {
10
+ var c, N = {}, p = null, S = null;
11
+ I !== void 0 && (p = "" + I), A.key !== void 0 && (p = "" + A.key), A.ref !== void 0 && (S = A.ref);
12
+ for (c in A) m.call(A, c) && !R.hasOwnProperty(c) && (N[c] = A[c]);
13
+ if (j && j.defaultProps) for (c in A = j.defaultProps, A) N[c] === void 0 && (N[c] = A[c]);
14
+ return { $$typeof: o, type: j, key: p, ref: S, props: N, _owner: x.current };
15
15
  }
16
- return Te.Fragment = d, Te.jsx = x, Te.jsxs = x, Te;
16
+ return Ee.Fragment = d, Ee.jsx = w, Ee.jsxs = w, Ee;
17
17
  }
18
- var Re = {};
19
- var ar;
18
+ var Ie = {};
19
+ var or;
20
20
  function Gr() {
21
- return ar || (ar = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = Ue, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), v = /* @__PURE__ */ Symbol.for("react.strict_mode"), T = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), C = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), E = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), R = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, S = "@@iterator";
23
- function A(e) {
21
+ return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
22
+ var t = We, o = /* @__PURE__ */ Symbol.for("react.element"), d = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), R = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), j = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.forward_ref"), I = /* @__PURE__ */ Symbol.for("react.suspense"), c = /* @__PURE__ */ Symbol.for("react.suspense_list"), N = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, E = "@@iterator";
23
+ function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var i = h && e[h] || e[S];
26
+ var i = h && e[h] || e[E];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
29
  var b = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -31,39 +31,39 @@ function Gr() {
31
31
  {
32
32
  for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
33
33
  l[u - 1] = arguments[u];
34
- $("error", e, l);
34
+ G("error", e, l);
35
35
  }
36
36
  }
37
- function $(e, i, l) {
37
+ function G(e, i, l) {
38
38
  {
39
- var u = b.ReactDebugCurrentFrame, w = u.getStackAddendum();
40
- w !== "" && (i += "%s", l = l.concat([w]));
41
- var N = l.map(function(k) {
39
+ var u = b.ReactDebugCurrentFrame, P = u.getStackAddendum();
40
+ P !== "" && (i += "%s", l = l.concat([P]));
41
+ var T = l.map(function(k) {
42
42
  return String(k);
43
43
  });
44
- N.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, N);
44
+ T.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, T);
45
45
  }
46
46
  }
47
- var y = !1, O = !1, Q = !1, X = !1, te = !1, W;
48
- W = /* @__PURE__ */ Symbol.for("react.module.reference");
47
+ var y = !1, O = !1, X = !1, Z = !1, ie = !1, Y;
48
+ Y = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function F(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === T || te || e === v || e === E || e === c || X || e === R || y || O || Q || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === j || e.$$typeof === x || e.$$typeof === C || e.$$typeof === P || // This needs to include all possible module reference object
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === R || ie || e === x || e === I || e === c || Z || e === S || y || O || X || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === N || e.$$typeof === w || e.$$typeof === j || e.$$typeof === A || // 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
- e.$$typeof === W || e.getModuleId !== void 0));
54
+ e.$$typeof === Y || e.getModuleId !== void 0));
55
55
  }
56
- function ce(e, i, l) {
56
+ function ue(e, i, l) {
57
57
  var u = e.displayName;
58
58
  if (u)
59
59
  return u;
60
- var w = i.displayName || i.name || "";
61
- return w !== "" ? l + "(" + w + ")" : l;
60
+ var P = i.displayName || i.name || "";
61
+ return P !== "" ? l + "(" + P + ")" : l;
62
62
  }
63
- function V(e) {
63
+ function z(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function B(e) {
66
+ function L(e) {
67
67
  if (e == null)
68
68
  return null;
69
69
  if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -75,32 +75,32 @@ function Gr() {
75
75
  return "Fragment";
76
76
  case d:
77
77
  return "Portal";
78
- case T:
78
+ case R:
79
79
  return "Profiler";
80
- case v:
80
+ case x:
81
81
  return "StrictMode";
82
- case E:
82
+ case I:
83
83
  return "Suspense";
84
84
  case c:
85
85
  return "SuspenseList";
86
86
  }
87
87
  if (typeof e == "object")
88
88
  switch (e.$$typeof) {
89
- case C:
89
+ case j:
90
90
  var i = e;
91
- return V(i) + ".Consumer";
92
- case x:
91
+ return z(i) + ".Consumer";
92
+ case w:
93
93
  var l = e;
94
- return V(l._context) + ".Provider";
95
- case P:
96
- return ce(e, e.render, "ForwardRef");
97
- case j:
94
+ return z(l._context) + ".Provider";
95
+ case A:
96
+ return ue(e, e.render, "ForwardRef");
97
+ case N:
98
98
  var u = e.displayName || null;
99
- return u !== null ? u : B(e.type) || "Memo";
99
+ return u !== null ? u : L(e.type) || "Memo";
100
100
  case p: {
101
- var w = e, N = w._payload, k = w._init;
101
+ var P = e, T = P._payload, k = P._init;
102
102
  try {
103
- return B(k(N));
103
+ return L(k(T));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Gr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var I = Object.assign, K = 0, z, ee, pe, H, ae, de, ne;
112
- function oe() {
111
+ var B = Object.assign, q = 0, J, te, ge, V, le, me, se;
112
+ function ae() {
113
113
  }
114
- oe.__reactDisabledLog = !0;
115
- function ue() {
114
+ ae.__reactDisabledLog = !0;
115
+ function _e() {
116
116
  {
117
- if (K === 0) {
118
- z = console.log, ee = console.info, pe = console.warn, H = console.error, ae = console.group, de = console.groupCollapsed, ne = console.groupEnd;
117
+ if (q === 0) {
118
+ J = console.log, te = console.info, ge = console.warn, V = console.error, le = console.group, me = console.groupCollapsed, se = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: oe,
122
+ value: ae,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,77 +132,77 @@ function Gr() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- K++;
135
+ q++;
136
136
  }
137
137
  }
138
- function re() {
138
+ function ee() {
139
139
  {
140
- if (K--, K === 0) {
140
+ if (q--, q === 0) {
141
141
  var e = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
147
- log: I({}, e, {
148
- value: z
147
+ log: B({}, e, {
148
+ value: J
149
149
  }),
150
- info: I({}, e, {
151
- value: ee
150
+ info: B({}, e, {
151
+ value: te
152
152
  }),
153
- warn: I({}, e, {
154
- value: pe
153
+ warn: B({}, e, {
154
+ value: ge
155
155
  }),
156
- error: I({}, e, {
157
- value: H
156
+ error: B({}, e, {
157
+ value: V
158
158
  }),
159
- group: I({}, e, {
160
- value: ae
159
+ group: B({}, e, {
160
+ value: le
161
161
  }),
162
- groupCollapsed: I({}, e, {
163
- value: de
162
+ groupCollapsed: B({}, e, {
163
+ value: me
164
164
  }),
165
- groupEnd: I({}, e, {
166
- value: ne
165
+ groupEnd: B({}, e, {
166
+ value: se
167
167
  })
168
168
  });
169
169
  }
170
- K < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ q < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var me = b.ReactCurrentDispatcher, he;
174
- function Y(e, i, l) {
173
+ var ne = b.ReactCurrentDispatcher, oe;
174
+ function M(e, i, l) {
175
175
  {
176
- if (he === void 0)
176
+ if (oe === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch (w) {
180
- var u = w.stack.trim().match(/\n( *(at )?)/);
181
- he = u && u[1] || "";
179
+ } catch (P) {
180
+ var u = P.stack.trim().match(/\n( *(at )?)/);
181
+ oe = u && u[1] || "";
182
182
  }
183
183
  return `
184
- ` + he + e;
184
+ ` + oe + e;
185
185
  }
186
186
  }
187
- var ge = !1, ie;
187
+ var be = !1, fe;
188
188
  {
189
- var xe = typeof WeakMap == "function" ? WeakMap : Map;
190
- ie = new xe();
189
+ var ke = typeof WeakMap == "function" ? WeakMap : Map;
190
+ fe = new ke();
191
191
  }
192
- function _e(e, i) {
193
- if (!e || ge)
192
+ function ye(e, i) {
193
+ if (!e || be)
194
194
  return "";
195
195
  {
196
- var l = ie.get(e);
196
+ var l = fe.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
200
200
  var u;
201
- ge = !0;
202
- var w = Error.prepareStackTrace;
201
+ be = !0;
202
+ var P = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var N;
205
- N = me.current, me.current = null, ue();
204
+ var T;
205
+ T = ne.current, ne.current = null, _e();
206
206
  try {
207
207
  if (i) {
208
208
  var k = function() {
@@ -215,119 +215,119 @@ function Gr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(k, []);
218
- } catch (Z) {
219
- u = Z;
218
+ } catch (re) {
219
+ u = re;
220
220
  }
221
221
  Reflect.construct(e, [], k);
222
222
  } else {
223
223
  try {
224
224
  k.call();
225
- } catch (Z) {
226
- u = Z;
225
+ } catch (re) {
226
+ u = re;
227
227
  }
228
228
  e.call(k.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (Z) {
234
- u = Z;
233
+ } catch (re) {
234
+ u = re;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (Z) {
239
- if (Z && u && typeof Z.stack == "string") {
240
- for (var g = Z.stack.split(`
241
- `), J = u.stack.split(`
242
- `), D = g.length - 1, M = J.length - 1; D >= 1 && M >= 0 && g[D] !== J[M]; )
243
- M--;
244
- for (; D >= 1 && M >= 0; D--, M--)
245
- if (g[D] !== J[M]) {
246
- if (D !== 1 || M !== 1)
238
+ } catch (re) {
239
+ if (re && u && typeof re.stack == "string") {
240
+ for (var g = re.stack.split(`
241
+ `), Q = u.stack.split(`
242
+ `), D = g.length - 1, U = Q.length - 1; D >= 1 && U >= 0 && g[D] !== Q[U]; )
243
+ U--;
244
+ for (; D >= 1 && U >= 0; D--, U--)
245
+ if (g[D] !== Q[U]) {
246
+ if (D !== 1 || U !== 1)
247
247
  do
248
- if (D--, M--, M < 0 || g[D] !== J[M]) {
249
- var se = `
248
+ if (D--, U--, U < 0 || g[D] !== Q[U]) {
249
+ var de = `
250
250
  ` + g[D].replace(" at new ", " at ");
251
- return e.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", e.displayName)), typeof e == "function" && ie.set(e, se), se;
251
+ return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, de), de;
252
252
  }
253
- while (D >= 1 && M >= 0);
253
+ while (D >= 1 && U >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- ge = !1, me.current = N, re(), Error.prepareStackTrace = w;
258
+ be = !1, ne.current = T, ee(), Error.prepareStackTrace = P;
259
259
  }
260
- var Ae = e ? e.displayName || e.name : "", ke = Ae ? Y(Ae) : "";
261
- return typeof e == "function" && ie.set(e, ke), ke;
260
+ var je = e ? e.displayName || e.name : "", xe = je ? M(je) : "";
261
+ return typeof e == "function" && fe.set(e, xe), xe;
262
262
  }
263
- function ye(e, i, l) {
264
- return _e(e, !1);
263
+ function Pe(e, i, l) {
264
+ return ye(e, !1);
265
265
  }
266
- function we(e) {
266
+ function Ae(e) {
267
267
  var i = e.prototype;
268
268
  return !!(i && i.isReactComponent);
269
269
  }
270
- function a(e, i, l) {
270
+ function v(e, i, l) {
271
271
  if (e == null)
272
272
  return "";
273
273
  if (typeof e == "function")
274
- return _e(e, we(e));
274
+ return ye(e, Ae(e));
275
275
  if (typeof e == "string")
276
- return Y(e);
276
+ return M(e);
277
277
  switch (e) {
278
- case E:
279
- return Y("Suspense");
278
+ case I:
279
+ return M("Suspense");
280
280
  case c:
281
- return Y("SuspenseList");
281
+ return M("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
- case P:
286
- return ye(e.render);
287
- case j:
288
- return a(e.type, i, l);
285
+ case A:
286
+ return Pe(e.render);
287
+ case N:
288
+ return v(e.type, i, l);
289
289
  case p: {
290
- var u = e, w = u._payload, N = u._init;
290
+ var u = e, P = u._payload, T = u._init;
291
291
  try {
292
- return a(N(w), i, l);
292
+ return v(T(P), i, l);
293
293
  } catch {
294
294
  }
295
295
  }
296
296
  }
297
297
  return "";
298
298
  }
299
- var s = Object.prototype.hasOwnProperty, L = {}, le = b.ReactDebugCurrentFrame;
300
- function be(e) {
299
+ var ce = Object.prototype.hasOwnProperty, Se = {}, n = b.ReactDebugCurrentFrame;
300
+ function s(e) {
301
301
  if (e) {
302
- var i = e._owner, l = a(e.type, e._source, i ? i.type : null);
303
- le.setExtraStackFrame(l);
302
+ var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
303
+ n.setExtraStackFrame(l);
304
304
  } else
305
- le.setExtraStackFrame(null);
305
+ n.setExtraStackFrame(null);
306
306
  }
307
- function Be(e, i, l, u, w) {
307
+ function $(e, i, l, u, P) {
308
308
  {
309
- var N = Function.call.bind(s);
309
+ var T = Function.call.bind(ce);
310
310
  for (var k in e)
311
- if (N(e, k)) {
311
+ if (T(e, k)) {
312
312
  var g = void 0;
313
313
  try {
314
314
  if (typeof e[k] != "function") {
315
- var J = Error((u || "React class") + ": " + l + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw J.name = "Invariant Violation", J;
315
+ var Q = Error((u || "React class") + ": " + l + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw Q.name = "Invariant Violation", Q;
317
317
  }
318
318
  g = e[k](i, k, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (D) {
320
320
  g = D;
321
321
  }
322
- g && !(g instanceof Error) && (be(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).", u || "React class", l, k, typeof g), be(null)), g instanceof Error && !(g.message in L) && (L[g.message] = !0, be(w), _("Failed %s type: %s", l, g.message), be(null));
322
+ g && !(g instanceof Error) && (s(P), _("%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).", u || "React class", l, k, typeof g), s(null)), g instanceof Error && !(g.message in Se) && (Se[g.message] = !0, s(P), _("Failed %s type: %s", l, g.message), s(null));
323
323
  }
324
324
  }
325
325
  }
326
- var hr = Array.isArray;
327
- function Le(e) {
328
- return hr(e);
326
+ var pe = Array.isArray;
327
+ function ve(e) {
328
+ return pe(e);
329
329
  }
330
- function gr(e) {
330
+ function Oe(e) {
331
331
  {
332
332
  var i = typeof Symbol == "function" && Symbol.toStringTag, l = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
333
  return l;
@@ -335,26 +335,26 @@ function Gr() {
335
335
  }
336
336
  function _r(e) {
337
337
  try {
338
- return Ke(e), !1;
338
+ return Ye(e), !1;
339
339
  } catch {
340
340
  return !0;
341
341
  }
342
342
  }
343
- function Ke(e) {
343
+ function Ye(e) {
344
344
  return "" + e;
345
345
  }
346
- function He(e) {
346
+ function qe(e) {
347
347
  if (_r(e))
348
- return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Ke(e);
348
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Oe(e)), Ye(e);
349
349
  }
350
- var Ye = b.ReactCurrentOwner, br = {
350
+ var Ve = b.ReactCurrentOwner, br = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
354
354
  __source: !0
355
- }, qe, Ve;
355
+ }, ze, Je;
356
356
  function yr(e) {
357
- if (s.call(e, "ref")) {
357
+ if (ce.call(e, "ref")) {
358
358
  var i = Object.getOwnPropertyDescriptor(e, "ref").get;
359
359
  if (i && i.isReactWarning)
360
360
  return !1;
@@ -362,7 +362,7 @@ function Gr() {
362
362
  return e.ref !== void 0;
363
363
  }
364
364
  function kr(e) {
365
- if (s.call(e, "key")) {
365
+ if (ce.call(e, "key")) {
366
366
  var i = Object.getOwnPropertyDescriptor(e, "key").get;
367
367
  if (i && i.isReactWarning)
368
368
  return !1;
@@ -370,12 +370,12 @@ function Gr() {
370
370
  return e.key !== void 0;
371
371
  }
372
372
  function vr(e, i) {
373
- typeof e.ref == "string" && Ye.current;
373
+ typeof e.ref == "string" && Ve.current;
374
374
  }
375
375
  function xr(e, i) {
376
376
  {
377
377
  var l = function() {
378
- qe || (qe = !0, _("%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
+ ze || (ze = !0, _("%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
  l.isReactWarning = !0, Object.defineProperty(e, "key", {
381
381
  get: l,
@@ -386,7 +386,7 @@ function Gr() {
386
386
  function wr(e, i) {
387
387
  {
388
388
  var l = function() {
389
- Ve || (Ve = !0, _("%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
+ Je || (Je = !0, _("%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
  l.isReactWarning = !0, Object.defineProperty(e, "ref", {
392
392
  get: l,
@@ -394,7 +394,7 @@ function Gr() {
394
394
  });
395
395
  }
396
396
  }
397
- var Pr = function(e, i, l, u, w, N, k) {
397
+ var Pr = function(e, i, l, u, P, T, k) {
398
398
  var g = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: o,
@@ -404,7 +404,7 @@ function Gr() {
404
404
  ref: l,
405
405
  props: k,
406
406
  // Record the component responsible for creating this element.
407
- _owner: N
407
+ _owner: T
408
408
  };
409
409
  return g._store = {}, Object.defineProperty(g._store, "validated", {
410
410
  configurable: !1,
@@ -420,44 +420,44 @@ function Gr() {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: w
423
+ value: P
424
424
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
425
425
  };
426
- function Ar(e, i, l, u, w) {
426
+ function Ar(e, i, l, u, P) {
427
427
  {
428
- var N, k = {}, g = null, J = null;
429
- l !== void 0 && (He(l), g = "" + l), kr(i) && (He(i.key), g = "" + i.key), yr(i) && (J = i.ref, vr(i, w));
430
- for (N in i)
431
- s.call(i, N) && !br.hasOwnProperty(N) && (k[N] = i[N]);
428
+ var T, k = {}, g = null, Q = null;
429
+ l !== void 0 && (qe(l), g = "" + l), kr(i) && (qe(i.key), g = "" + i.key), yr(i) && (Q = i.ref, vr(i, P));
430
+ for (T in i)
431
+ ce.call(i, T) && !br.hasOwnProperty(T) && (k[T] = i[T]);
432
432
  if (e && e.defaultProps) {
433
433
  var D = e.defaultProps;
434
- for (N in D)
435
- k[N] === void 0 && (k[N] = D[N]);
434
+ for (T in D)
435
+ k[T] === void 0 && (k[T] = D[T]);
436
436
  }
437
- if (g || J) {
438
- var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- g && xr(k, M), J && wr(k, M);
437
+ if (g || Q) {
438
+ var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
+ g && xr(k, U), Q && wr(k, U);
440
440
  }
441
- return Pr(e, g, J, w, u, Ye.current, k);
441
+ return Pr(e, g, Q, P, u, Ve.current, k);
442
442
  }
443
443
  }
444
- var De = b.ReactCurrentOwner, ze = b.ReactDebugCurrentFrame;
445
- function Pe(e) {
444
+ var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
445
+ function Ce(e) {
446
446
  if (e) {
447
- var i = e._owner, l = a(e.type, e._source, i ? i.type : null);
448
- ze.setExtraStackFrame(l);
447
+ var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
448
+ Qe.setExtraStackFrame(l);
449
449
  } else
450
- ze.setExtraStackFrame(null);
450
+ Qe.setExtraStackFrame(null);
451
451
  }
452
- var Oe;
453
- Oe = !1;
454
- function Fe(e) {
452
+ var Me;
453
+ Me = !1;
454
+ function $e(e) {
455
455
  return typeof e == "object" && e !== null && e.$$typeof === o;
456
456
  }
457
- function Je() {
457
+ function Xe() {
458
458
  {
459
- if (De.current) {
460
- var e = B(De.current.type);
459
+ if (Fe.current) {
460
+ var e = L(Fe.current.type);
461
461
  if (e)
462
462
  return `
463
463
 
@@ -469,10 +469,10 @@ Check the render method of \`` + e + "`.";
469
469
  function Cr(e) {
470
470
  return "";
471
471
  }
472
- var Qe = {};
472
+ var Ze = {};
473
473
  function jr(e) {
474
474
  {
475
- var i = Je();
475
+ var i = Xe();
476
476
  if (!i) {
477
477
  var l = typeof e == "string" ? e : e.displayName || e.name;
478
478
  l && (i = `
@@ -482,35 +482,35 @@ Check the top-level render call using <` + l + ">.");
482
482
  return i;
483
483
  }
484
484
  }
485
- function Xe(e, i) {
485
+ function er(e, i) {
486
486
  {
487
487
  if (!e._store || e._store.validated || e.key != null)
488
488
  return;
489
489
  e._store.validated = !0;
490
490
  var l = jr(i);
491
- if (Qe[l])
491
+ if (Ze[l])
492
492
  return;
493
- Qe[l] = !0;
493
+ Ze[l] = !0;
494
494
  var u = "";
495
- e && e._owner && e._owner !== De.current && (u = " It was passed a child from " + B(e._owner.type) + "."), Pe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Pe(null);
495
+ e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + L(e._owner.type) + "."), Ce(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, u), Ce(null);
496
496
  }
497
497
  }
498
- function Ze(e, i) {
498
+ function rr(e, i) {
499
499
  {
500
500
  if (typeof e != "object")
501
501
  return;
502
- if (Le(e))
502
+ if (ve(e))
503
503
  for (var l = 0; l < e.length; l++) {
504
504
  var u = e[l];
505
- Fe(u) && Xe(u, i);
505
+ $e(u) && er(u, i);
506
506
  }
507
- else if (Fe(e))
507
+ else if ($e(e))
508
508
  e._store && (e._store.validated = !0);
509
509
  else if (e) {
510
- var w = A(e);
511
- if (typeof w == "function" && w !== e.entries)
512
- for (var N = w.call(e), k; !(k = N.next()).done; )
513
- Fe(k.value) && Xe(k.value, i);
510
+ var P = C(e);
511
+ if (typeof P == "function" && P !== e.entries)
512
+ for (var T = P.call(e), k; !(k = T.next()).done; )
513
+ $e(k.value) && er(k.value, i);
514
514
  }
515
515
  }
516
516
  }
@@ -522,19 +522,19 @@ Check the top-level render call using <` + l + ">.");
522
522
  var l;
523
523
  if (typeof i == "function")
524
524
  l = i.propTypes;
525
- else if (typeof i == "object" && (i.$$typeof === P || // Note: Memo only checks outer props here.
525
+ else if (typeof i == "object" && (i.$$typeof === A || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- i.$$typeof === j))
527
+ i.$$typeof === N))
528
528
  l = i.propTypes;
529
529
  else
530
530
  return;
531
531
  if (l) {
532
- var u = B(i);
533
- Be(l, e.props, "prop", u, e);
534
- } else if (i.PropTypes !== void 0 && !Oe) {
535
- Oe = !0;
536
- var w = B(i);
537
- _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
532
+ var u = L(i);
533
+ $(l, e.props, "prop", u, e);
534
+ } else if (i.PropTypes !== void 0 && !Me) {
535
+ Me = !0;
536
+ var P = L(i);
537
+ _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
538
538
  }
539
539
  typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
@@ -544,77 +544,77 @@ Check the top-level render call using <` + l + ">.");
544
544
  for (var i = Object.keys(e.props), l = 0; l < i.length; l++) {
545
545
  var u = i[l];
546
546
  if (u !== "children" && u !== "key") {
547
- Pe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Pe(null);
547
+ Ce(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), Ce(null);
548
548
  break;
549
549
  }
550
550
  }
551
- e.ref !== null && (Pe(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), Pe(null));
551
+ e.ref !== null && (Ce(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), Ce(null));
552
552
  }
553
553
  }
554
- var er = {};
555
- function rr(e, i, l, u, w, N) {
554
+ var tr = {};
555
+ function ar(e, i, l, u, P, T) {
556
556
  {
557
557
  var k = F(e);
558
558
  if (!k) {
559
559
  var g = "";
560
560
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " 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 J = Cr();
562
- J ? g += J : g += Je();
561
+ var Q = Cr();
562
+ Q ? g += Q : g += Xe();
563
563
  var D;
564
- e === null ? D = "null" : Le(e) ? D = "array" : e !== void 0 && e.$$typeof === o ? (D = "<" + (B(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : D = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, g);
564
+ e === null ? D = "null" : ve(e) ? D = "array" : e !== void 0 && e.$$typeof === o ? (D = "<" + (L(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : D = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, g);
565
565
  }
566
- var M = Ar(e, i, l, w, N);
567
- if (M == null)
568
- return M;
566
+ var U = Ar(e, i, l, P, T);
567
+ if (U == null)
568
+ return U;
569
569
  if (k) {
570
- var se = i.children;
571
- if (se !== void 0)
570
+ var de = i.children;
571
+ if (de !== void 0)
572
572
  if (u)
573
- if (Le(se)) {
574
- for (var Ae = 0; Ae < se.length; Ae++)
575
- Ze(se[Ae], e);
576
- Object.freeze && Object.freeze(se);
573
+ if (ve(de)) {
574
+ for (var je = 0; je < de.length; je++)
575
+ rr(de[je], e);
576
+ Object.freeze && Object.freeze(de);
577
577
  } else
578
578
  _("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
- Ze(se, e);
580
+ rr(de, e);
581
581
  }
582
- if (s.call(i, "key")) {
583
- var ke = B(e), Z = Object.keys(i).filter(function(Lr) {
582
+ if (ce.call(i, "key")) {
583
+ var xe = L(e), re = Object.keys(i).filter(function(Lr) {
584
584
  return Lr !== "key";
585
- }), Me = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
586
- if (!er[ke + Me]) {
587
- var Br = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
585
+ }), Ue = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
586
+ if (!tr[xe + Ue]) {
587
+ var Br = re.length > 0 ? "{" + re.join(": ..., ") + ": ...}" : "{}";
588
588
  _(`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} />`, Me, ke, Br, ke), er[ke + Me] = !0;
593
+ <%s key={someKey} {...props} />`, Ue, xe, Br, xe), tr[xe + Ue] = !0;
594
594
  }
595
595
  }
596
- return e === m ? Tr(M) : Nr(M), M;
596
+ return e === m ? Tr(U) : Nr(U), U;
597
597
  }
598
598
  }
599
599
  function Rr(e, i, l) {
600
- return rr(e, i, l, !0);
600
+ return ar(e, i, l, !0);
601
601
  }
602
602
  function Sr(e, i, l) {
603
- return rr(e, i, l, !1);
603
+ return ar(e, i, l, !1);
604
604
  }
605
605
  var Er = Sr, Ir = Rr;
606
- Re.Fragment = m, Re.jsx = Er, Re.jsxs = Ir;
607
- })()), Re;
606
+ Ie.Fragment = m, Ie.jsx = Er, Ie.jsxs = Ir;
607
+ })()), Ie;
608
608
  }
609
- var nr;
609
+ var ir;
610
610
  function Wr() {
611
- return nr || (nr = 1, process.env.NODE_ENV === "production" ? Ee.exports = Ur() : Ee.exports = Gr()), Ee.exports;
611
+ return ir || (ir = 1, process.env.NODE_ENV === "production" ? Le.exports = Ur() : Le.exports = Gr()), Le.exports;
612
612
  }
613
613
  var r = Wr();
614
- const cr = ["en", "hi"], or = {
614
+ const ur = ["en", "hi"], lr = {
615
615
  en: "English",
616
616
  hi: "हिन्दी"
617
- }, dr = {
617
+ }, mr = {
618
618
  en: {
619
619
  kundli: "Kundli",
620
620
  birthChart: "Birth Chart",
@@ -1046,17 +1046,17 @@ const cr = ["en", "hi"], or = {
1046
1046
  astrologyGuidance: "ज्योतिष से सलाह",
1047
1047
  selectPackage: "पैकेज चुनें"
1048
1048
  }
1049
- }, ur = sr(null), Rn = ({
1049
+ }, fr = dr(null), Rn = ({
1050
1050
  locale: t,
1051
1051
  children: o
1052
1052
  }) => {
1053
- const m = { locale: t, t: (v) => dr[t]?.[v] ?? v };
1054
- return /* @__PURE__ */ r.jsx(ur.Provider, { value: m, children: o });
1053
+ const m = { locale: t, t: (x) => mr[t]?.[x] ?? x };
1054
+ return /* @__PURE__ */ r.jsx(fr.Provider, { value: m, children: o });
1055
1055
  };
1056
1056
  function Kr() {
1057
- return Ge(ur);
1057
+ return Ke(fr);
1058
1058
  }
1059
- const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", zr = "_langDropdownWrap_1e1th_21", Jr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", fe = {
1059
+ const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBorder_1e1th_12", Vr = "_headerSeparator_1e1th_16", zr = "_langDropdownWrap_1e1th_21", Jr = "_langTrigger_1e1th_25", Qr = "_langIcon_1e1th_37", Xr = "_langLabel_1e1th_44", Zr = "_langMenu_1e1th_49", et = "_langOption_1e1th_55", he = {
1060
1060
  container: Hr,
1061
1061
  main: Yr,
1062
1062
  kundliHeaderNoBorder: qr,
@@ -1067,14 +1067,14 @@ const Hr = "_container_1e1th_1", Yr = "_main_1e1th_7", qr = "_kundliHeaderNoBord
1067
1067
  langLabel: Xr,
1068
1068
  langMenu: Zr,
1069
1069
  langOption: et
1070
- }, Ie = (t) => {
1071
- const { priority: o, fetchPriority: d, width: m, height: v, ...T } = t;
1072
- return Ue.createElement("img", {
1073
- ...T,
1070
+ }, De = (t) => {
1071
+ const { priority: o, fetchPriority: d, width: m, height: x, ...R } = t;
1072
+ return We.createElement("img", {
1073
+ ...R,
1074
1074
  width: m ?? 1,
1075
- height: v ?? 1,
1075
+ height: x ?? 1,
1076
1076
  decoding: "async",
1077
- loading: T.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: R.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...d && { fetchPriority: d }
1079
1079
  });
1080
1080
  };
@@ -1111,15 +1111,15 @@ function En() {
1111
1111
  return !1;
1112
1112
  }
1113
1113
  }
1114
- const mr = "kundli_language";
1114
+ const pr = "kundli_language";
1115
1115
  function at() {
1116
- const t = rt(mr);
1117
- return t && cr.includes(t) ? t : null;
1116
+ const t = rt(pr);
1117
+ return t && ur.includes(t) ? t : null;
1118
1118
  }
1119
1119
  function nt(t) {
1120
- tt(mr, t);
1120
+ tt(pr, t);
1121
1121
  }
1122
- const We = sr(null), ot = {
1122
+ const He = dr(null), ot = {
1123
1123
  fullName: "",
1124
1124
  phone: "",
1125
1125
  gender: "",
@@ -1136,72 +1136,72 @@ const We = sr(null), ot = {
1136
1136
  showLanguageSelector: o = !0,
1137
1137
  showSheet: d,
1138
1138
  userId: m,
1139
- isGlobal: v,
1140
- variant: T,
1141
- atlasSearchLocalities: x,
1142
- logoUrl: C,
1143
- reportImageUrl: P,
1144
- reportImagePriority: E,
1139
+ isGlobal: x,
1140
+ variant: R,
1141
+ atlasSearchLocalities: w,
1142
+ logoUrl: j,
1143
+ reportImageUrl: A,
1144
+ reportImagePriority: I,
1145
1145
  backgroundImagePriority: c,
1146
- universityLogoUrls: j,
1146
+ universityLogoUrls: N,
1147
1147
  sampleReportHref: p,
1148
- onViewSampleReport: R,
1148
+ onViewSampleReport: S,
1149
1149
  ctaHref: h,
1150
- onCtaClick: S,
1151
- onBack: A,
1150
+ onCtaClick: E,
1151
+ onBack: C,
1152
1152
  readMoreReviewsHref: b,
1153
1153
  onProceed: _,
1154
- proceedHref: $,
1154
+ proceedHref: G,
1155
1155
  originalPriceLabel: y,
1156
1156
  discountedPriceLabel: O,
1157
- discountPillLabel: Q,
1158
- analytics: X,
1159
- onProceedGuidance: te,
1160
- onLocaleChange: W,
1161
- imageComponent: F = Ie,
1162
- children: ce
1157
+ discountPillLabel: X,
1158
+ analytics: Z,
1159
+ onProceedGuidance: ie,
1160
+ onLocaleChange: Y,
1161
+ imageComponent: F = De,
1162
+ children: ue
1163
1163
  }) => {
1164
- const [V, B] = G("landing"), [I, K] = G(t ?? "en"), [z, ee] = G(ot), pe = U(!0);
1165
- q(() => {
1166
- const oe = at();
1167
- oe && K(oe);
1168
- }, []), q(() => {
1169
- nt(I);
1170
- }, [I]), q(() => {
1171
- if (pe.current) {
1172
- pe.current = !1;
1164
+ const [z, L] = W("landing"), [B, q] = W(t ?? "en"), [J, te] = W(ot), ge = K(!0);
1165
+ H(() => {
1166
+ const ae = at();
1167
+ ae && q(ae);
1168
+ }, []), H(() => {
1169
+ nt(B);
1170
+ }, [B]), H(() => {
1171
+ if (ge.current) {
1172
+ ge.current = !1;
1173
1173
  return;
1174
1174
  }
1175
- W?.(I);
1176
- }, [I, W]);
1177
- const H = $e(
1175
+ Y?.(B);
1176
+ }, [B, Y]);
1177
+ const V = Ge(
1178
1178
  () => ({
1179
1179
  locale: t,
1180
1180
  showLanguageSelector: o,
1181
1181
  showSheet: d,
1182
1182
  userId: m,
1183
- isGlobal: v,
1184
- variant: T,
1185
- atlasSearchLocalities: x,
1186
- logoUrl: C,
1187
- reportImageUrl: P,
1188
- reportImagePriority: E,
1183
+ isGlobal: x,
1184
+ variant: R,
1185
+ atlasSearchLocalities: w,
1186
+ logoUrl: j,
1187
+ reportImageUrl: A,
1188
+ reportImagePriority: I,
1189
1189
  backgroundImagePriority: c,
1190
- universityLogoUrls: j,
1190
+ universityLogoUrls: N,
1191
1191
  sampleReportHref: p,
1192
- onViewSampleReport: R,
1192
+ onViewSampleReport: S,
1193
1193
  ctaHref: h,
1194
- onCtaClick: S,
1195
- onBack: A,
1194
+ onCtaClick: E,
1195
+ onBack: C,
1196
1196
  readMoreReviewsHref: b,
1197
1197
  onProceed: _,
1198
- proceedHref: $,
1198
+ proceedHref: G,
1199
1199
  originalPriceLabel: y,
1200
1200
  discountedPriceLabel: O,
1201
- discountPillLabel: Q,
1202
- analytics: X,
1203
- onProceedGuidance: te,
1204
- onLocaleChange: W,
1201
+ discountPillLabel: X,
1202
+ analytics: Z,
1203
+ onProceedGuidance: ie,
1204
+ onLocaleChange: Y,
1205
1205
  imageComponent: F
1206
1206
  }),
1207
1207
  [
@@ -1209,61 +1209,61 @@ const We = sr(null), ot = {
1209
1209
  o,
1210
1210
  d,
1211
1211
  m,
1212
- v,
1213
- T,
1214
1212
  x,
1215
- C,
1216
- P,
1217
- E,
1218
- c,
1213
+ R,
1214
+ w,
1219
1215
  j,
1216
+ A,
1217
+ I,
1218
+ c,
1219
+ N,
1220
1220
  p,
1221
- R,
1222
- h,
1223
1221
  S,
1224
- A,
1222
+ h,
1223
+ E,
1224
+ C,
1225
1225
  b,
1226
1226
  _,
1227
- $,
1227
+ G,
1228
1228
  y,
1229
1229
  O,
1230
- Q,
1231
1230
  X,
1232
- te,
1233
- W,
1231
+ Z,
1232
+ ie,
1233
+ Y,
1234
1234
  F
1235
1235
  ]
1236
- ), ae = je(() => {
1237
- B("form");
1238
- }, [H.analytics]), de = je(() => {
1239
- B("landing"), H.onBack?.();
1240
- }, [H.onBack]), ne = $e(
1236
+ ), le = Te(() => {
1237
+ L("form");
1238
+ }, [V.analytics]), me = Te(() => {
1239
+ L("landing"), V.onBack?.();
1240
+ }, [V.onBack]), se = Ge(
1241
1241
  () => ({
1242
- view: V,
1243
- locale: I,
1244
- setLocale: K,
1245
- config: H,
1246
- formValues: z,
1247
- setFormValues: ee,
1248
- goToForm: ae,
1249
- goToPage: de,
1250
- onProceed: H.onProceed,
1251
- onProceedGuidance: H.onProceedGuidance
1242
+ view: z,
1243
+ locale: B,
1244
+ setLocale: q,
1245
+ config: V,
1246
+ formValues: J,
1247
+ setFormValues: te,
1248
+ goToForm: le,
1249
+ goToPage: me,
1250
+ onProceed: V.onProceed,
1251
+ onProceedGuidance: V.onProceedGuidance
1252
1252
  }),
1253
- [V, I, H, z, ae, de]
1253
+ [z, B, V, J, le, me]
1254
1254
  );
1255
- return /* @__PURE__ */ r.jsx(We.Provider, { value: ne, children: ce });
1255
+ return /* @__PURE__ */ r.jsx(He.Provider, { value: se, children: ue });
1256
1256
  };
1257
- function Ne() {
1258
- return Ge(We);
1257
+ function Re() {
1258
+ return Ke(He);
1259
1259
  }
1260
1260
  function Bn() {
1261
- const t = Ge(We);
1261
+ const t = Ke(He);
1262
1262
  if (!t)
1263
1263
  throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1264
1264
  return t;
1265
1265
  }
1266
- const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
1266
+ const it = "_header_19172_1", lt = "_centered_19172_8", sr = {
1267
1267
  header: it,
1268
1268
  centered: lt
1269
1269
  }, st = ({
@@ -1278,9 +1278,9 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
1278
1278
  subtitle: t("formSubtitle"),
1279
1279
  onBack: o,
1280
1280
  backAriaLabel: t("back"),
1281
- className: `${ir.header} ${m === "center" ? ir.centered : ""} ${d}`
1281
+ className: `${sr.header} ${m === "center" ? sr.centered : ""} ${d}`
1282
1282
  }
1283
- ), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Wt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", zt = "_meridiemActive_kiw0x_429", Jt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", n = {
1283
+ ), ct = "_wrap_kiw0x_1", dt = "_card_kiw0x_5", ut = "_cardInner_kiw0x_12", mt = "_field_kiw0x_44", ft = "_labelRow_kiw0x_48", pt = "_label_kiw0x_48", ht = "_req_kiw0x_57", gt = "_help_kiw0x_61", _t = "_choiceRow_kiw0x_68", bt = "_choiceBtn_kiw0x_74", yt = "_choiceBtnActive_kiw0x_99", kt = "_infoBtn_kiw0x_105", vt = "_infoImg_kiw0x_122", xt = "_infoWrap_kiw0x_128", wt = "_tooltip_kiw0x_134", Pt = "_tooltipArrow_kiw0x_150", At = "_inputWrap_kiw0x_161", Ct = "_isdWrap_kiw0x_165", jt = "_phoneInputGroup_kiw0x_169", Nt = "_isdSelectWrap_kiw0x_178", Tt = "_isdSelectTrigger_kiw0x_197", Rt = "_isdDropdown_kiw0x_214", St = "_isdSearchWrap_kiw0x_229", Et = "_isdSearchInput_kiw0x_237", It = "_isdOption_kiw0x_255", Bt = "_isdOptionActive_kiw0x_275", Lt = "_isdCountryName_kiw0x_281", Dt = "_isdCountryCode_kiw0x_288", Ot = "_isdNoResult_kiw0x_295", Ft = "_suggestions_kiw0x_302", Mt = "_suggestionItem_kiw0x_315", $t = "_suggestionMain_kiw0x_333", Ut = "_suggestionSecondary_kiw0x_339", Gt = "_suggestionsHint_kiw0x_344", Wt = "_timePopover_kiw0x_359", Kt = "_timePickerRow_kiw0x_375", Ht = "_timePickerSelect_kiw0x_381", Yt = "_timePickerColon_kiw0x_397", qt = "_meridiemToggle_kiw0x_405", Vt = "_meridiemBtn_kiw0x_414", zt = "_meridiemActive_kiw0x_429", Jt = "_timePopoverActions_kiw0x_434", Qt = "_timePopoverBtn_kiw0x_440", Xt = "_timePopoverOk_kiw0x_459", Zt = "_input_kiw0x_161", ea = "_phoneInput_kiw0x_169", ra = "_iconBtn_kiw0x_512", ta = "_iconBtnInteractive_kiw0x_518", aa = "_iconImg_kiw0x_537", na = "_checkboxRow_kiw0x_543", oa = "_checkbox_kiw0x_543", ia = "_checkboxText_kiw0x_581", a = {
1284
1284
  wrap: ct,
1285
1285
  card: dt,
1286
1286
  cardInner: ut,
@@ -1333,7 +1333,7 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
1333
1333
  checkboxRow: na,
1334
1334
  checkbox: oa,
1335
1335
  checkboxText: ia
1336
- }, lr = (t) => typeof t == "number" && Number.isFinite(t), la = (t) => {
1336
+ }, cr = (t) => typeof t == "number" && Number.isFinite(t), la = (t) => {
1337
1337
  const o = typeof t?.limit == "number" && t.limit > 0 ? Math.min(t.limit, 20) : 8, d = typeof t?.offset == "number" && t.offset >= 0 ? t.offset : 0;
1338
1338
  return {
1339
1339
  limit: o,
@@ -1341,23 +1341,23 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
1341
1341
  restrictCountry: t?.restrictCountry
1342
1342
  };
1343
1343
  }, sa = (t) => {
1344
- const { searchLocalities: o, restrictCountry: d } = t, [m, v] = G([]), [T, x] = G(!1), [C, P] = G(null), E = U(0);
1345
- q(() => {
1346
- P(null);
1344
+ const { searchLocalities: o, restrictCountry: d } = t, [m, x] = W([]), [R, w] = W(!1), [j, A] = W(null), I = K(0);
1345
+ H(() => {
1346
+ A(null);
1347
1347
  }, [o]);
1348
- const c = je(
1348
+ const c = Te(
1349
1349
  async (p) => {
1350
1350
  if (!p || p.length < 2 || !o) {
1351
- v([]);
1351
+ x([]);
1352
1352
  return;
1353
1353
  }
1354
- const R = ++E.current;
1355
- x(!0), P(null);
1354
+ const S = ++I.current;
1355
+ w(!0), A(null);
1356
1356
  try {
1357
- const h = la({ restrictCountry: d }), S = await o(p, h);
1358
- if (R !== E.current) return;
1359
- const A = (S || []).filter(
1360
- (b) => !!b?.id && !!b?.description && lr(b?.lat) && lr(b?.lng)
1357
+ const h = la({ restrictCountry: d }), E = await o(p, h);
1358
+ if (S !== I.current) return;
1359
+ const C = (E || []).filter(
1360
+ (b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
1361
1361
  ).map((b) => ({
1362
1362
  id: b.id,
1363
1363
  description: b.description,
@@ -1365,29 +1365,29 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
1365
1365
  lat: b.lat,
1366
1366
  lng: b.lng
1367
1367
  }));
1368
- v(A);
1368
+ x(C);
1369
1369
  } catch (h) {
1370
- if (R !== E.current) return;
1371
- v([]), P(h?.message || "Failed to fetch locations");
1370
+ if (S !== I.current) return;
1371
+ x([]), A(h?.message || "Failed to fetch locations");
1372
1372
  } finally {
1373
- R === E.current && x(!1);
1373
+ S === I.current && w(!1);
1374
1374
  }
1375
1375
  },
1376
1376
  [d, o]
1377
- ), j = je(() => v([]), []);
1377
+ ), N = Te(() => x([]), []);
1378
1378
  return {
1379
1379
  predictions: m,
1380
- isSearching: T,
1381
- loadError: C,
1380
+ isSearching: R,
1381
+ loadError: j,
1382
1382
  searchPlaces: c,
1383
- clearPredictions: j
1383
+ clearPredictions: N
1384
1384
  };
1385
- }, Ce = {
1385
+ }, Ne = {
1386
1386
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1387
1387
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1388
1388
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1389
1389
  info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1390
- }, fr = [
1390
+ }, hr = [
1391
1391
  { code: "+1", country: "USA / Canada" },
1392
1392
  { code: "+7", country: "Russia / Kazakhstan" },
1393
1393
  { code: "+20", country: "Egypt" },
@@ -1458,131 +1458,135 @@ const it = "_header_19172_1", lt = "_centered_19172_8", ir = {
1458
1458
  { code: "+976", country: "Mongolia" },
1459
1459
  { code: "+977", country: "Nepal" }
1460
1460
  ];
1461
- fr.map((t) => t.code);
1461
+ hr.map((t) => t.code);
1462
1462
  const ca = ({
1463
1463
  t,
1464
1464
  values: o,
1465
1465
  onChange: d,
1466
1466
  phoneIsdCode: m,
1467
- onPhoneIsdCodeChange: v,
1468
- showV1ExtraFields: T = !1,
1469
- analytics: x,
1470
- atlasSearchLocalities: C,
1471
- className: P = ""
1467
+ onPhoneIsdCodeChange: x,
1468
+ showV1ExtraFields: R = !1,
1469
+ analytics: w,
1470
+ atlasSearchLocalities: j,
1471
+ className: A = ""
1472
1472
  }) => {
1473
- const E = Ne(), c = E?.config?.analytics ?? x, j = E?.config.isGlobal ?? !0, p = E?.config?.atlasSearchLocalities, [R, h] = G(!1), [S, A] = G(""), b = U(null), _ = U(null), $ = U({}), y = (a) => d({ ...o, ...a }), O = (a, s) => {
1474
- s.trim() && !$.current[a] && ($.current[a] = !0, {
1473
+ const I = Re(), c = I?.config?.analytics ?? w, N = I?.config.isGlobal ?? !0, p = I?.config?.atlasSearchLocalities, [S, h] = W(!1), [E, C] = W(""), b = K(null), _ = K(null), G = K({}), y = (n) => d({ ...o, ...n }), O = (n, s) => {
1474
+ s.trim() && !G.current[n] && (G.current[n] = !0, {
1475
1475
  fullName: () => c?.trackNameSectionFilled?.(),
1476
1476
  phone: () => c?.trackPhoneSectionFilled?.(),
1477
1477
  email: () => c?.trackEmailSectionFilled?.(),
1478
1478
  dateOfBirth: () => c?.trackDobFilled?.(),
1479
1479
  birthTime: () => c?.trackTimeFilled?.(),
1480
1480
  birthPlace: () => c?.trackPlaceOfBirthChosen?.()
1481
- }[a]?.());
1482
- }, Q = (a) => a.replace(/\D/g, "").slice(0, 10), X = S.trim().toLowerCase(), te = fr.filter((a) => X ? a.country.toLowerCase().includes(X) || a.code.includes(X) : !0), W = U(null);
1483
- U(null);
1484
- const F = U(null), ce = U(0), V = U(null), [B, I] = G(!1), [K, z] = G({ hour12: 12, minute: "00", meridiem: "AM" }), ee = (a) => String(a).padStart(2, "0"), pe = (a) => {
1485
- const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1486
- if (!s) return a;
1487
- const L = Number(s[1]), le = s[2], be = L >= 12 ? "PM" : "AM";
1488
- return `${L % 12 === 0 ? 12 : L % 12}:${le} ${be}`;
1489
- }, H = (a) => {
1490
- const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1481
+ }[n]?.());
1482
+ }, X = (n) => n.replace(/\D/g, "").slice(0, 10), Z = E.trim().toLowerCase(), ie = hr.filter((n) => Z ? n.country.toLowerCase().includes(Z) || n.code.includes(Z) : !0), Y = K(null);
1483
+ K(null);
1484
+ const F = K(null), ue = K(0), z = K(null), [L, B] = W(!1), [q, J] = W({ hour12: 12, minute: "00", meridiem: "AM" }), te = (n) => String(n).padStart(2, "0"), ge = (n) => {
1485
+ const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1486
+ if (!s) return n;
1487
+ const $ = Number(s[1]), pe = s[2], ve = $ >= 12 ? "PM" : "AM";
1488
+ return `${$ % 12 === 0 ? 12 : $ % 12}:${pe} ${ve}`;
1489
+ }, V = (n) => {
1490
+ const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1491
1491
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1492
- const L = Number(s[1]), le = s[2], be = L >= 12 ? "PM" : "AM";
1493
- return { hour12: L % 12 === 0 ? 12 : L % 12, minute: le, meridiem: be };
1494
- }, ae = (a) => {
1495
- const s = Math.min(12, Math.max(1, a.hour12)), L = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1496
- let le = s % 12;
1497
- return a.meridiem === "PM" && (le += 12), `${ee(le)}:${L}`;
1498
- }, de = U(null), [ne, oe] = G(!1), [ue, re] = G(
1492
+ const $ = Number(s[1]), pe = s[2], ve = $ >= 12 ? "PM" : "AM";
1493
+ return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: pe, meridiem: ve };
1494
+ }, le = (n) => {
1495
+ const s = Math.min(12, Math.max(1, n.hour12)), $ = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1496
+ let pe = s % 12;
1497
+ return n.meridiem === "PM" && (pe += 12), `${te(pe)}:${$}`;
1498
+ }, me = K(null), [se, ae] = W(!1), [_e, ee] = W(o.birthPlace), [ne, oe] = W(
1499
1499
  null
1500
- ), me = (o.birthPlace ?? "").trim(), he = j ? void 0 : "in", Y = C ?? p, {
1501
- predictions: ge,
1502
- isSearching: ie,
1503
- loadError: xe,
1504
- searchPlaces: _e,
1505
- clearPredictions: ye
1500
+ ), M = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = _e.trim(), fe = N ? void 0 : "in", ke = j ?? p;
1501
+ H(() => {
1502
+ M && o.birthPlace !== _e && ee(o.birthPlace), !o.birthPlace && _e && !M && ee("");
1503
+ }, [_e, M, o.birthPlace]);
1504
+ const {
1505
+ predictions: ye,
1506
+ isSearching: Pe,
1507
+ loadError: Ae,
1508
+ searchPlaces: v,
1509
+ clearPredictions: ce
1506
1510
  } = sa({
1507
- searchLocalities: Y,
1508
- restrictCountry: he
1511
+ searchLocalities: ke,
1512
+ restrictCountry: fe
1509
1513
  });
1510
- q(() => {
1511
- const a = (s) => {
1512
- de.current && (de.current.contains(s.target) || oe(!1));
1514
+ H(() => {
1515
+ const n = (s) => {
1516
+ me.current && (me.current.contains(s.target) || (ae(!1), M || ee("")));
1513
1517
  };
1514
- return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1515
- }, []), q(() => {
1516
- const a = (s) => {
1517
- b.current && (b.current.contains(s.target) || (h(!1), A("")));
1518
+ return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1519
+ }, [M]), H(() => {
1520
+ const n = (s) => {
1521
+ b.current && (b.current.contains(s.target) || (h(!1), C("")));
1518
1522
  };
1519
- return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1520
- }, []), q(() => {
1521
- if (!R) return;
1522
- const a = window.setTimeout(() => {
1523
+ return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1524
+ }, []), H(() => {
1525
+ if (!S) return;
1526
+ const n = window.setTimeout(() => {
1523
1527
  _.current?.focus();
1524
1528
  }, 0);
1525
- return () => window.clearTimeout(a);
1526
- }, [R]), q(() => {
1527
- if (!ne) return;
1528
- if (me.length < 2) {
1529
- ye();
1529
+ return () => window.clearTimeout(n);
1530
+ }, [S]), H(() => {
1531
+ if (!se) return;
1532
+ if (be.length < 2) {
1533
+ ce();
1530
1534
  return;
1531
1535
  }
1532
- const a = window.setTimeout(async () => {
1533
- await _e(me);
1536
+ const n = window.setTimeout(async () => {
1537
+ await v(be);
1534
1538
  }, 250);
1535
- return () => window.clearTimeout(a);
1536
- }, [ye, ne, me, _e]);
1537
- const we = (a) => {
1538
- const s = a.current;
1539
+ return () => window.clearTimeout(n);
1540
+ }, [ce, se, be, v]);
1541
+ const Se = (n) => {
1542
+ const s = n.current;
1539
1543
  if (!(!s || s.disabled)) {
1540
- if (document.activeElement === s && F.current === s && Date.now() - ce.current < 6e4) {
1544
+ if (document.activeElement === s && F.current === s && Date.now() - ue.current < 6e4) {
1541
1545
  s.blur();
1542
1546
  return;
1543
1547
  }
1544
1548
  if (typeof s.showPicker == "function") {
1545
- s.showPicker(), F.current = s, ce.current = Date.now();
1549
+ s.showPicker(), F.current = s, ue.current = Date.now();
1546
1550
  return;
1547
1551
  }
1548
- s.focus(), F.current = s, ce.current = Date.now();
1552
+ s.focus(), F.current = s, ue.current = Date.now();
1549
1553
  }
1550
1554
  };
1551
- return q(() => {
1552
- const a = (s) => {
1553
- V.current && (V.current.contains(s.target) || I(!1));
1555
+ return H(() => {
1556
+ const n = (s) => {
1557
+ z.current && (z.current.contains(s.target) || B(!1));
1554
1558
  };
1555
- return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1556
- }, []), q(() => {
1557
- const a = (L) => {
1558
- L.target?.closest?.("[data-info-tooltip]") == null && re(null);
1559
- }, s = (L) => {
1560
- L.key === "Escape" && re(null);
1559
+ return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1560
+ }, []), H(() => {
1561
+ const n = ($) => {
1562
+ $.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1563
+ }, s = ($) => {
1564
+ $.key === "Escape" && oe(null);
1561
1565
  };
1562
- return document.addEventListener("mousedown", a), document.addEventListener("keydown", s), () => {
1563
- document.removeEventListener("mousedown", a), document.removeEventListener("keydown", s);
1566
+ return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1567
+ document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
1564
1568
  };
1565
1569
  }, []), /* @__PURE__ */ r.jsx(
1566
1570
  "section",
1567
1571
  {
1568
- className: `${n.wrap} ${P}`,
1572
+ className: `${a.wrap} ${A}`,
1569
1573
  "aria-label": t("formTitle"),
1570
- children: /* @__PURE__ */ r.jsx("div", { className: n.card, children: /* @__PURE__ */ r.jsxs("div", { className: n.cardInner, children: [
1571
- /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1572
- /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, htmlFor: "kundli-full-name", children: [
1574
+ children: /* @__PURE__ */ r.jsx("div", { className: a.card, children: /* @__PURE__ */ r.jsxs("div", { className: a.cardInner, children: [
1575
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1576
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-full-name", children: [
1573
1577
  t("formFullName"),
1574
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
1578
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1575
1579
  ] }) }),
1576
- /* @__PURE__ */ r.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ r.jsx(
1580
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsx(
1577
1581
  "input",
1578
1582
  {
1579
1583
  id: "kundli-full-name",
1580
- className: n.input,
1584
+ className: a.input,
1581
1585
  type: "text",
1582
1586
  value: o.fullName,
1583
1587
  onFocus: () => c?.trackNameSectionClicked?.(),
1584
- onChange: (a) => {
1585
- const s = a.target.value;
1588
+ onChange: (n) => {
1589
+ const s = n.target.value;
1586
1590
  y({ fullName: s }), O("fullName", s);
1587
1591
  },
1588
1592
  placeholder: t("formFullNamePlaceholder"),
@@ -1590,22 +1594,22 @@ const ca = ({
1590
1594
  }
1591
1595
  ) })
1592
1596
  ] }),
1593
- /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1594
- /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, htmlFor: "kundli-phone", children: [
1597
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1598
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-phone", children: [
1595
1599
  t("formPhone"),
1596
- !j && /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
1600
+ !N && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1597
1601
  ] }) }),
1598
- /* @__PURE__ */ r.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: n.isdWrap, ref: b, children: [
1599
- /* @__PURE__ */ r.jsxs("div", { className: n.phoneInputGroup, children: [
1600
- /* @__PURE__ */ r.jsx("div", { className: n.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1602
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: b, children: [
1603
+ /* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
1604
+ /* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1601
1605
  "button",
1602
1606
  {
1603
1607
  type: "button",
1604
- className: n.isdSelectTrigger,
1608
+ className: a.isdSelectTrigger,
1605
1609
  "aria-haspopup": "listbox",
1606
- "aria-expanded": R,
1610
+ "aria-expanded": S,
1607
1611
  onClick: () => {
1608
- h((a) => !a), A("");
1612
+ h((n) => !n), C("");
1609
1613
  },
1610
1614
  children: m
1611
1615
  }
@@ -1614,74 +1618,74 @@ const ca = ({
1614
1618
  "input",
1615
1619
  {
1616
1620
  id: "kundli-phone",
1617
- className: `${n.input} ${n.phoneInput}`,
1621
+ className: `${a.input} ${a.phoneInput}`,
1618
1622
  type: "tel",
1619
1623
  value: o.phone ?? "",
1620
1624
  onFocus: () => c?.trackPhoneSectionClicked?.(),
1621
- onChange: (a) => {
1622
- const s = a.target.value;
1623
- y({ phone: Q(s) }), O("phone", Q(s));
1625
+ onChange: (n) => {
1626
+ const s = n.target.value;
1627
+ y({ phone: X(s) }), O("phone", X(s));
1624
1628
  },
1625
1629
  placeholder: t("formPhonePlaceholder"),
1626
1630
  autoComplete: "tel",
1627
1631
  inputMode: "numeric",
1628
1632
  pattern: "[0-9]{10}",
1629
1633
  maxLength: 10,
1630
- required: !j,
1631
- "aria-required": !j
1634
+ required: !N,
1635
+ "aria-required": !N
1632
1636
  }
1633
1637
  )
1634
1638
  ] }),
1635
- R && /* @__PURE__ */ r.jsxs(
1639
+ S && /* @__PURE__ */ r.jsxs(
1636
1640
  "div",
1637
1641
  {
1638
- className: n.isdDropdown,
1642
+ className: a.isdDropdown,
1639
1643
  role: "listbox",
1640
1644
  "aria-label": "ISD code options",
1641
1645
  children: [
1642
- /* @__PURE__ */ r.jsx("div", { className: n.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
1646
+ /* @__PURE__ */ r.jsx("div", { className: a.isdSearchWrap, children: /* @__PURE__ */ r.jsx(
1643
1647
  "input",
1644
1648
  {
1645
1649
  ref: _,
1646
1650
  type: "text",
1647
- value: S,
1648
- onChange: (a) => A(a.target.value),
1651
+ value: E,
1652
+ onChange: (n) => C(n.target.value),
1649
1653
  placeholder: "Search country",
1650
- className: n.isdSearchInput,
1654
+ className: a.isdSearchInput,
1651
1655
  "aria-label": "Search country"
1652
1656
  }
1653
1657
  ) }),
1654
- te.length > 0 ? te.map((a) => /* @__PURE__ */ r.jsxs(
1658
+ ie.length > 0 ? ie.map((n) => /* @__PURE__ */ r.jsxs(
1655
1659
  "button",
1656
1660
  {
1657
1661
  type: "button",
1658
1662
  role: "option",
1659
- "aria-selected": a.code === m,
1660
- className: `${n.isdOption} ${a.code === m ? n.isdOptionActive : ""}`,
1663
+ "aria-selected": n.code === m,
1664
+ className: `${a.isdOption} ${n.code === m ? a.isdOptionActive : ""}`,
1661
1665
  onClick: () => {
1662
- v(a.code), h(!1), A("");
1666
+ x(n.code), h(!1), C("");
1663
1667
  },
1664
1668
  children: [
1665
- /* @__PURE__ */ r.jsx("span", { className: n.isdCountryName, children: a.country }),
1666
- /* @__PURE__ */ r.jsx("span", { className: n.isdCountryCode, children: a.code })
1669
+ /* @__PURE__ */ r.jsx("span", { className: a.isdCountryName, children: n.country }),
1670
+ /* @__PURE__ */ r.jsx("span", { className: a.isdCountryCode, children: n.code })
1667
1671
  ]
1668
1672
  },
1669
- `${a.code}-${a.country}`
1670
- )) : /* @__PURE__ */ r.jsx("div", { className: n.isdNoResult, children: "No country found" })
1673
+ `${n.code}-${n.country}`
1674
+ )) : /* @__PURE__ */ r.jsx("div", { className: a.isdNoResult, children: "No country found" })
1671
1675
  ]
1672
1676
  }
1673
1677
  )
1674
1678
  ] }) })
1675
1679
  ] }),
1676
- T && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1677
- /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, children: [
1680
+ R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1681
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1678
1682
  t("formGender"),
1679
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
1683
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1680
1684
  ] }) }),
1681
1685
  /* @__PURE__ */ r.jsxs(
1682
1686
  "div",
1683
1687
  {
1684
- className: n.choiceRow,
1688
+ className: a.choiceRow,
1685
1689
  role: "radiogroup",
1686
1690
  "aria-label": t("formGender"),
1687
1691
  children: [
@@ -1690,7 +1694,7 @@ const ca = ({
1690
1694
  {
1691
1695
  id: "kundli-gender-male",
1692
1696
  type: "button",
1693
- className: `${n.choiceBtn} ${o.gender === "male" ? n.choiceBtnActive : ""}`,
1697
+ className: `${a.choiceBtn} ${o.gender === "male" ? a.choiceBtnActive : ""}`,
1694
1698
  onClick: () => {
1695
1699
  y({ gender: "male" }), c?.trackGenderSelected?.({
1696
1700
  gender: "male"
@@ -1706,7 +1710,7 @@ const ca = ({
1706
1710
  {
1707
1711
  id: "kundli-gender-female",
1708
1712
  type: "button",
1709
- className: `${n.choiceBtn} ${o.gender === "female" ? n.choiceBtnActive : ""}`,
1713
+ className: `${a.choiceBtn} ${o.gender === "female" ? a.choiceBtnActive : ""}`,
1710
1714
  onClick: () => {
1711
1715
  y({ gender: "female" }), c?.trackGenderSelected?.({
1712
1716
  gender: "female"
@@ -1721,20 +1725,20 @@ const ca = ({
1721
1725
  }
1722
1726
  )
1723
1727
  ] }),
1724
- j && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1725
- /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, htmlFor: "kundli-email", children: [
1728
+ N && /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1729
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-email", children: [
1726
1730
  t("formEmail"),
1727
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
1731
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1728
1732
  ] }) }),
1729
- /* @__PURE__ */ r.jsx("div", { className: n.help, children: t("formEmailHelp") }),
1730
- /* @__PURE__ */ r.jsx("div", { className: n.inputWrap, children: /* @__PURE__ */ r.jsx(
1733
+ /* @__PURE__ */ r.jsx("div", { className: a.help, children: t("formEmailHelp") }),
1734
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsx(
1731
1735
  "input",
1732
1736
  {
1733
1737
  id: "kundli-email",
1734
- className: n.input,
1738
+ className: a.input,
1735
1739
  type: "email",
1736
1740
  value: o.email,
1737
- onChange: (a) => y({ email: a.target.value }),
1741
+ onChange: (n) => y({ email: n.target.value }),
1738
1742
  placeholder: t("formEmailPlaceholder"),
1739
1743
  autoComplete: "email",
1740
1744
  required: !0,
@@ -1742,61 +1746,61 @@ const ca = ({
1742
1746
  }
1743
1747
  ) })
1744
1748
  ] }) }),
1745
- /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1746
- /* @__PURE__ */ r.jsxs("div", { className: n.labelRow, children: [
1747
- /* @__PURE__ */ r.jsxs("label", { className: n.label, htmlFor: "kundli-dob", children: [
1749
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1750
+ /* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
1751
+ /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-dob", children: [
1748
1752
  t("formDob"),
1749
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
1753
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1750
1754
  ] }),
1751
- /* @__PURE__ */ r.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
1755
+ /* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
1752
1756
  /* @__PURE__ */ r.jsx(
1753
1757
  "button",
1754
1758
  {
1755
1759
  type: "button",
1756
- className: n.infoBtn,
1760
+ className: a.infoBtn,
1757
1761
  "aria-label": t("info"),
1758
- "aria-expanded": ue === "dob",
1762
+ "aria-expanded": ne === "dob",
1759
1763
  onClick: () => {
1760
- re((a) => a === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
1764
+ oe((n) => n === "dob" ? null : "dob"), c?.trackInfoIconClicked?.({ fieldName: "dob" });
1761
1765
  },
1762
1766
  children: /* @__PURE__ */ r.jsx(
1763
1767
  "img",
1764
1768
  {
1765
- className: n.infoImg,
1766
- src: Ce.info,
1769
+ className: a.infoImg,
1770
+ src: Ne.info,
1767
1771
  alt: "",
1768
1772
  "aria-hidden": !0
1769
1773
  }
1770
1774
  )
1771
1775
  }
1772
1776
  ),
1773
- ue === "dob" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1777
+ ne === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1774
1778
  t("formDobInfo"),
1775
- /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1779
+ /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1776
1780
  ] })
1777
1781
  ] })
1778
1782
  ] }),
1779
- /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, children: [
1783
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, children: [
1780
1784
  /* @__PURE__ */ r.jsx(
1781
1785
  "input",
1782
1786
  {
1783
1787
  id: "kundli-dob",
1784
- className: n.input,
1788
+ className: a.input,
1785
1789
  type: "date",
1786
- ref: W,
1790
+ ref: Y,
1787
1791
  value: o.dateOfBirth,
1788
1792
  max: (() => {
1789
- const a = /* @__PURE__ */ new Date();
1790
- return `${a.getFullYear()}-${ee(a.getMonth() + 1)}-${ee(a.getDate())}`;
1793
+ const n = /* @__PURE__ */ new Date();
1794
+ return `${n.getFullYear()}-${te(n.getMonth() + 1)}-${te(n.getDate())}`;
1791
1795
  })(),
1792
- onChange: (a) => {
1793
- const s = a.target.value, L = /* @__PURE__ */ new Date(), le = `${L.getFullYear()}-${ee(L.getMonth() + 1)}-${ee(L.getDate())}`;
1794
- s && s > le || (y({ dateOfBirth: s }), O("dateOfBirth", s), F.current = null);
1796
+ onChange: (n) => {
1797
+ const s = n.target.value, $ = /* @__PURE__ */ new Date(), pe = `${$.getFullYear()}-${te($.getMonth() + 1)}-${te($.getDate())}`;
1798
+ s && s > pe || (y({ dateOfBirth: s }), O("dateOfBirth", s), F.current = null);
1795
1799
  },
1796
1800
  onFocus: () => c?.trackDobClicked?.(),
1797
- onClick: () => we(W),
1801
+ onClick: () => Se(Y),
1798
1802
  onBlur: () => {
1799
- F.current === W.current && (F.current = null);
1803
+ F.current === Y.current && (F.current = null);
1800
1804
  }
1801
1805
  }
1802
1806
  ),
@@ -1804,17 +1808,17 @@ const ca = ({
1804
1808
  "button",
1805
1809
  {
1806
1810
  type: "button",
1807
- className: `${n.iconBtn} ${n.iconBtnInteractive}`,
1811
+ className: `${a.iconBtn} ${a.iconBtnInteractive}`,
1808
1812
  "aria-label": "Open date picker",
1809
- onMouseDown: (a) => a.preventDefault(),
1810
- onClick: (a) => {
1811
- a.preventDefault(), a.stopPropagation(), we(W);
1813
+ onMouseDown: (n) => n.preventDefault(),
1814
+ onClick: (n) => {
1815
+ n.preventDefault(), n.stopPropagation(), Se(Y);
1812
1816
  },
1813
1817
  children: /* @__PURE__ */ r.jsx(
1814
1818
  "img",
1815
1819
  {
1816
- className: n.iconImg,
1817
- src: Ce.date,
1820
+ className: a.iconImg,
1821
+ src: Ne.date,
1818
1822
  alt: "",
1819
1823
  "aria-hidden": !0
1820
1824
  }
@@ -1823,58 +1827,58 @@ const ca = ({
1823
1827
  )
1824
1828
  ] })
1825
1829
  ] }),
1826
- /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
1827
- /* @__PURE__ */ r.jsxs("div", { className: n.labelRow, children: [
1828
- /* @__PURE__ */ r.jsxs("label", { className: n.label, htmlFor: "kundli-birth-time", children: [
1830
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1831
+ /* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
1832
+ /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-birth-time", children: [
1829
1833
  t("formBirthTime"),
1830
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
1834
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1831
1835
  ] }),
1832
- /* @__PURE__ */ r.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
1836
+ /* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
1833
1837
  /* @__PURE__ */ r.jsx(
1834
1838
  "button",
1835
1839
  {
1836
1840
  type: "button",
1837
- className: n.infoBtn,
1841
+ className: a.infoBtn,
1838
1842
  "aria-label": t("info"),
1839
- "aria-expanded": ue === "time",
1843
+ "aria-expanded": ne === "time",
1840
1844
  onClick: () => {
1841
- c?.trackInfoIconClicked?.({ fieldName: "time" }), re((a) => a === "time" ? null : "time");
1845
+ c?.trackInfoIconClicked?.({ fieldName: "time" }), oe((n) => n === "time" ? null : "time");
1842
1846
  },
1843
1847
  children: /* @__PURE__ */ r.jsx(
1844
1848
  "img",
1845
1849
  {
1846
- className: n.infoImg,
1847
- src: Ce.info,
1850
+ className: a.infoImg,
1851
+ src: Ne.info,
1848
1852
  alt: "",
1849
1853
  "aria-hidden": !0
1850
1854
  }
1851
1855
  )
1852
1856
  }
1853
1857
  ),
1854
- ue === "time" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
1858
+ ne === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1855
1859
  t("formBirthTimeInfo"),
1856
- /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
1860
+ /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1857
1861
  ] })
1858
1862
  ] })
1859
1863
  ] }),
1860
- /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: V, children: [
1864
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: z, children: [
1861
1865
  /* @__PURE__ */ r.jsx(
1862
1866
  "input",
1863
1867
  {
1864
1868
  id: "kundli-birth-time",
1865
- className: n.input,
1869
+ className: a.input,
1866
1870
  type: "text",
1867
- value: o.birthTime ? pe(o.birthTime) : "",
1871
+ value: o.birthTime ? ge(o.birthTime) : "",
1868
1872
  readOnly: !0,
1869
1873
  onFocus: () => c?.trackTimeClicked?.(),
1870
- onChange: (a) => {
1871
- const s = a.target.value;
1874
+ onChange: (n) => {
1875
+ const s = n.target.value;
1872
1876
  y({ birthTime: s }), O("birthTime", s);
1873
1877
  },
1874
1878
  disabled: o.birthTimeUnknown,
1875
1879
  placeholder: "HH:MM AM",
1876
1880
  onClick: () => {
1877
- o.birthTimeUnknown || (z(H(o.birthTime || "12:00")), I((a) => !a));
1881
+ o.birthTimeUnknown || (J(V(o.birthTime || "12:00")), B((n) => !n));
1878
1882
  }
1879
1883
  }
1880
1884
  ),
@@ -1882,65 +1886,65 @@ const ca = ({
1882
1886
  "button",
1883
1887
  {
1884
1888
  type: "button",
1885
- className: `${n.iconBtn} ${n.iconBtnInteractive}`,
1889
+ className: `${a.iconBtn} ${a.iconBtnInteractive}`,
1886
1890
  "aria-label": "Open time picker",
1887
1891
  disabled: o.birthTimeUnknown,
1888
- onMouseDown: (a) => a.preventDefault(),
1889
- onClick: (a) => {
1890
- a.preventDefault(), a.stopPropagation(), !o.birthTimeUnknown && (z(H(o.birthTime || "12:00")), I((s) => !s));
1892
+ onMouseDown: (n) => n.preventDefault(),
1893
+ onClick: (n) => {
1894
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (J(V(o.birthTime || "12:00")), B((s) => !s));
1891
1895
  },
1892
1896
  children: /* @__PURE__ */ r.jsx(
1893
1897
  "img",
1894
1898
  {
1895
- className: n.iconImg,
1896
- src: Ce.time,
1899
+ className: a.iconImg,
1900
+ src: Ne.time,
1897
1901
  alt: "",
1898
1902
  "aria-hidden": !0
1899
1903
  }
1900
1904
  )
1901
1905
  }
1902
1906
  ),
1903
- B && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1907
+ L && !o.birthTimeUnknown && /* @__PURE__ */ r.jsxs(
1904
1908
  "div",
1905
1909
  {
1906
- className: n.timePopover,
1910
+ className: a.timePopover,
1907
1911
  role: "dialog",
1908
1912
  "aria-label": "Select time",
1909
1913
  children: [
1910
- /* @__PURE__ */ r.jsxs("div", { className: n.timePickerRow, children: [
1914
+ /* @__PURE__ */ r.jsxs("div", { className: a.timePickerRow, children: [
1911
1915
  /* @__PURE__ */ r.jsx(
1912
1916
  "select",
1913
1917
  {
1914
- className: n.timePickerSelect,
1915
- value: K.hour12,
1916
- onChange: (a) => z((s) => ({
1918
+ className: a.timePickerSelect,
1919
+ value: q.hour12,
1920
+ onChange: (n) => J((s) => ({
1917
1921
  ...s,
1918
- hour12: Number(a.target.value)
1922
+ hour12: Number(n.target.value)
1919
1923
  })),
1920
1924
  "aria-label": "Hour",
1921
- children: Array.from({ length: 12 }, (a, s) => s + 1).map((a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a))
1925
+ children: Array.from({ length: 12 }, (n, s) => s + 1).map((n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n))
1922
1926
  }
1923
1927
  ),
1924
- /* @__PURE__ */ r.jsx("span", { className: n.timePickerColon, children: ":" }),
1928
+ /* @__PURE__ */ r.jsx("span", { className: a.timePickerColon, children: ":" }),
1925
1929
  /* @__PURE__ */ r.jsx(
1926
1930
  "select",
1927
1931
  {
1928
- className: n.timePickerSelect,
1929
- value: K.minute,
1930
- onChange: (a) => z((s) => ({ ...s, minute: a.target.value })),
1932
+ className: a.timePickerSelect,
1933
+ value: q.minute,
1934
+ onChange: (n) => J((s) => ({ ...s, minute: n.target.value })),
1931
1935
  "aria-label": "Minute",
1932
- children: Array.from({ length: 60 }, (a, s) => ee(s)).map(
1933
- (a) => /* @__PURE__ */ r.jsx("option", { value: a, children: a }, a)
1936
+ children: Array.from({ length: 60 }, (n, s) => te(s)).map(
1937
+ (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1934
1938
  )
1935
1939
  }
1936
1940
  ),
1937
- /* @__PURE__ */ r.jsxs("div", { className: n.meridiemToggle, "aria-label": "AM/PM", children: [
1941
+ /* @__PURE__ */ r.jsxs("div", { className: a.meridiemToggle, "aria-label": "AM/PM", children: [
1938
1942
  /* @__PURE__ */ r.jsx(
1939
1943
  "button",
1940
1944
  {
1941
1945
  type: "button",
1942
- className: `${n.meridiemBtn} ${K.meridiem === "AM" ? n.meridiemActive : ""}`,
1943
- onClick: () => z((a) => ({ ...a, meridiem: "AM" })),
1946
+ className: `${a.meridiemBtn} ${q.meridiem === "AM" ? a.meridiemActive : ""}`,
1947
+ onClick: () => J((n) => ({ ...n, meridiem: "AM" })),
1944
1948
  children: "AM"
1945
1949
  }
1946
1950
  ),
@@ -1948,20 +1952,20 @@ const ca = ({
1948
1952
  "button",
1949
1953
  {
1950
1954
  type: "button",
1951
- className: `${n.meridiemBtn} ${K.meridiem === "PM" ? n.meridiemActive : ""}`,
1952
- onClick: () => z((a) => ({ ...a, meridiem: "PM" })),
1955
+ className: `${a.meridiemBtn} ${q.meridiem === "PM" ? a.meridiemActive : ""}`,
1956
+ onClick: () => J((n) => ({ ...n, meridiem: "PM" })),
1953
1957
  children: "PM"
1954
1958
  }
1955
1959
  )
1956
1960
  ] })
1957
1961
  ] }),
1958
- /* @__PURE__ */ r.jsxs("div", { className: n.timePopoverActions, children: [
1962
+ /* @__PURE__ */ r.jsxs("div", { className: a.timePopoverActions, children: [
1959
1963
  /* @__PURE__ */ r.jsx(
1960
1964
  "button",
1961
1965
  {
1962
1966
  type: "button",
1963
- className: n.timePopoverBtn,
1964
- onClick: () => I(!1),
1967
+ className: a.timePopoverBtn,
1968
+ onClick: () => B(!1),
1965
1969
  children: "Cancel"
1966
1970
  }
1967
1971
  ),
@@ -1969,10 +1973,10 @@ const ca = ({
1969
1973
  "button",
1970
1974
  {
1971
1975
  type: "button",
1972
- className: `${n.timePopoverBtn} ${n.timePopoverOk}`,
1976
+ className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1973
1977
  onClick: () => {
1974
- const a = ae(K);
1975
- y({ birthTime: a }), O("birthTime", a), I(!1);
1978
+ const n = le(q);
1979
+ y({ birthTime: n }), O("birthTime", n), B(!1);
1976
1980
  },
1977
1981
  "aria-label": "OK",
1978
1982
  children: /* @__PURE__ */ r.jsx(
@@ -2003,18 +2007,18 @@ const ca = ({
2003
2007
  }
2004
2008
  )
2005
2009
  ] }),
2006
- /* @__PURE__ */ r.jsxs("div", { className: n.checkboxRow, children: [
2010
+ /* @__PURE__ */ r.jsxs("div", { className: a.checkboxRow, children: [
2007
2011
  /* @__PURE__ */ r.jsx(
2008
2012
  "input",
2009
2013
  {
2010
2014
  id: "kundli-time-unknown",
2011
- className: n.checkbox,
2015
+ className: a.checkbox,
2012
2016
  type: "checkbox",
2013
2017
  checked: o.birthTimeUnknown,
2014
- onChange: (a) => {
2018
+ onChange: (n) => {
2015
2019
  c?.trackTimeCheckboxClicked?.(), y({
2016
- birthTimeUnknown: a.target.checked,
2017
- birthTime: a.target.checked ? "" : o.birthTime
2020
+ birthTimeUnknown: n.target.checked,
2021
+ birthTime: n.target.checked ? "" : o.birthTime
2018
2022
  });
2019
2023
  }
2020
2024
  }
@@ -2022,7 +2026,7 @@ const ca = ({
2022
2026
  /* @__PURE__ */ r.jsxs(
2023
2027
  "label",
2024
2028
  {
2025
- className: n.checkboxText,
2029
+ className: a.checkboxText,
2026
2030
  htmlFor: "kundli-time-unknown",
2027
2031
  children: [
2028
2032
  t("formBirthTimeUnknownLine1"),
@@ -2033,106 +2037,110 @@ const ca = ({
2033
2037
  )
2034
2038
  ] })
2035
2039
  ] }),
2036
- /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
2037
- /* @__PURE__ */ r.jsxs("div", { className: n.labelRow, children: [
2038
- /* @__PURE__ */ r.jsxs("label", { className: n.label, htmlFor: "kundli-birth-place", children: [
2040
+ /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2041
+ /* @__PURE__ */ r.jsxs("div", { className: a.labelRow, children: [
2042
+ /* @__PURE__ */ r.jsxs("label", { className: a.label, htmlFor: "kundli-birth-place", children: [
2039
2043
  t("formBirthPlace"),
2040
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
2044
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
2041
2045
  ] }),
2042
- /* @__PURE__ */ r.jsxs("div", { className: n.infoWrap, "data-info-tooltip": !0, children: [
2046
+ /* @__PURE__ */ r.jsxs("div", { className: a.infoWrap, "data-info-tooltip": !0, children: [
2043
2047
  /* @__PURE__ */ r.jsx(
2044
2048
  "button",
2045
2049
  {
2046
2050
  type: "button",
2047
- className: n.infoBtn,
2051
+ className: a.infoBtn,
2048
2052
  "aria-label": t("info"),
2049
- "aria-expanded": ue === "place",
2053
+ "aria-expanded": ne === "place",
2050
2054
  onClick: () => {
2051
2055
  c?.trackInfoIconClicked?.({
2052
2056
  fieldName: "birthPlace"
2053
- }), re((a) => a === "place" ? null : "place");
2057
+ }), oe((n) => n === "place" ? null : "place");
2054
2058
  },
2055
2059
  children: /* @__PURE__ */ r.jsx(
2056
2060
  "img",
2057
2061
  {
2058
- className: n.infoImg,
2059
- src: Ce.info,
2062
+ className: a.infoImg,
2063
+ src: Ne.info,
2060
2064
  alt: "",
2061
2065
  "aria-hidden": !0
2062
2066
  }
2063
2067
  )
2064
2068
  }
2065
2069
  ),
2066
- ue === "place" && /* @__PURE__ */ r.jsxs("div", { className: n.tooltip, role: "tooltip", children: [
2070
+ ne === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2067
2071
  t("formBirthPlaceInfo"),
2068
- /* @__PURE__ */ r.jsx("span", { className: n.tooltipArrow, "aria-hidden": !0 })
2072
+ /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
2069
2073
  ] })
2070
2074
  ] })
2071
2075
  ] }),
2072
- /* @__PURE__ */ r.jsxs("div", { className: n.inputWrap, ref: de, children: [
2076
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: me, children: [
2073
2077
  /* @__PURE__ */ r.jsx(
2074
2078
  "input",
2075
2079
  {
2076
2080
  id: "kundli-birth-place",
2077
- className: n.input,
2081
+ className: a.input,
2078
2082
  type: "text",
2079
- value: o.birthPlace,
2080
- onChange: (a) => {
2081
- const s = a.target.value;
2082
- y({
2083
- birthPlace: s,
2083
+ value: _e,
2084
+ onChange: (n) => {
2085
+ const s = n.target.value;
2086
+ ee(s), y({
2087
+ birthPlace: "",
2084
2088
  birthPlaceLat: void 0,
2085
2089
  birthPlaceLng: void 0
2086
- }), O("birthPlace", s), oe(!0);
2090
+ }), ae(!0);
2087
2091
  },
2088
2092
  onFocus: () => {
2089
- c?.trackPlaceOfBirthClicked?.(), oe(!0);
2093
+ c?.trackPlaceOfBirthClicked?.(), ae(!0);
2094
+ },
2095
+ onBlur: () => {
2096
+ M || (ee(""), ce(), ae(!1));
2090
2097
  },
2091
2098
  placeholder: t("formBirthPlacePlaceholder"),
2092
2099
  autoComplete: "address-level2"
2093
2100
  }
2094
2101
  ),
2095
- /* @__PURE__ */ r.jsx("span", { className: n.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2102
+ /* @__PURE__ */ r.jsx("span", { className: a.iconBtn, "aria-hidden": !0, children: /* @__PURE__ */ r.jsx(
2096
2103
  "img",
2097
2104
  {
2098
- className: n.iconImg,
2099
- src: Ce.location,
2105
+ className: a.iconImg,
2106
+ src: Ne.location,
2100
2107
  alt: "",
2101
2108
  "aria-hidden": !0
2102
2109
  }
2103
2110
  ) }),
2104
- ne && ge.length > 0 && /* @__PURE__ */ r.jsx("div", { className: n.suggestions, role: "listbox", children: ge.slice(0, 8).map((a) => /* @__PURE__ */ r.jsxs(
2111
+ se && ye.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ye.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2105
2112
  "button",
2106
2113
  {
2107
2114
  type: "button",
2108
- className: n.suggestionItem,
2115
+ className: a.suggestionItem,
2116
+ onMouseDown: (s) => s.preventDefault(),
2109
2117
  onClick: () => {
2110
2118
  y({
2111
- birthPlace: a.description,
2112
- birthPlaceLat: a.lat,
2113
- birthPlaceLng: a.lng
2114
- }), ye(), oe(!1);
2119
+ birthPlace: n.description,
2120
+ birthPlaceLat: n.lat,
2121
+ birthPlaceLng: n.lng
2122
+ }), ee(n.description), O("birthPlace", n.description), ce(), ae(!1);
2115
2123
  },
2116
2124
  children: [
2117
- /* @__PURE__ */ r.jsx("span", { className: n.suggestionMain, children: a.description }),
2118
- !!a.secondary_text && /* @__PURE__ */ r.jsx("span", { className: n.suggestionSecondary, children: a.secondary_text })
2125
+ /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
2126
+ !!n.secondary_text && /* @__PURE__ */ r.jsx("span", { className: a.suggestionSecondary, children: n.secondary_text })
2119
2127
  ]
2120
2128
  },
2121
- a.id
2129
+ n.id
2122
2130
  )) }),
2123
- ne && !!Y && ie && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: "Loading…" }),
2124
- ne && !!Y && !ie && !!xe && /* @__PURE__ */ r.jsx("div", { className: n.suggestionsHint, children: xe })
2131
+ se && !!ke && Pe && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2132
+ se && !!ke && !Pe && !!Ae && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: Ae })
2125
2133
  ] })
2126
2134
  ] }),
2127
- T && /* @__PURE__ */ r.jsxs("div", { className: n.field, children: [
2128
- /* @__PURE__ */ r.jsx("div", { className: n.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: n.label, children: [
2135
+ R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2136
+ /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2129
2137
  t("formReportLanguage"),
2130
- /* @__PURE__ */ r.jsx("span", { className: n.req, children: "*" })
2138
+ /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
2131
2139
  ] }) }),
2132
2140
  /* @__PURE__ */ r.jsxs(
2133
2141
  "div",
2134
2142
  {
2135
- className: n.choiceRow,
2143
+ className: a.choiceRow,
2136
2144
  role: "radiogroup",
2137
2145
  "aria-label": t("formReportLanguage"),
2138
2146
  children: [
@@ -2141,7 +2149,7 @@ const ca = ({
2141
2149
  {
2142
2150
  id: "kundli-report-lang-hi",
2143
2151
  type: "button",
2144
- className: `${n.choiceBtn} ${o.language_code === "hi" ? n.choiceBtnActive : ""}`,
2152
+ className: `${a.choiceBtn} ${o.language_code === "hi" ? a.choiceBtnActive : ""}`,
2145
2153
  onClick: () => {
2146
2154
  y({ language_code: "hi" }), c?.trackLanguageOfReportSelected?.({
2147
2155
  language: "hi"
@@ -2157,7 +2165,7 @@ const ca = ({
2157
2165
  {
2158
2166
  id: "kundli-report-lang-en",
2159
2167
  type: "button",
2160
- className: `${n.choiceBtn} ${o.language_code === "en" ? n.choiceBtnActive : ""}`,
2168
+ className: `${a.choiceBtn} ${o.language_code === "en" ? a.choiceBtnActive : ""}`,
2161
2169
  onClick: () => {
2162
2170
  y({ language_code: "en" }), c?.trackLanguageOfReportSelected?.({
2163
2171
  language: "en"
@@ -2173,7 +2181,7 @@ const ca = ({
2173
2181
  {
2174
2182
  id: "kundli-report-lang-te",
2175
2183
  type: "button",
2176
- className: `${n.choiceBtn} ${o.language_code === "te" ? n.choiceBtnActive : ""}`,
2184
+ className: `${a.choiceBtn} ${o.language_code === "te" ? a.choiceBtnActive : ""}`,
2177
2185
  onClick: () => {
2178
2186
  y({ language_code: "te" }), c?.trackLanguageOfReportSelected?.({
2179
2187
  language: "te"
@@ -2189,7 +2197,7 @@ const ca = ({
2189
2197
  {
2190
2198
  id: "kundli-report-lang-ta",
2191
2199
  type: "button",
2192
- className: `${n.choiceBtn} ${o.language_code === "ta" ? n.choiceBtnActive : ""}`,
2200
+ className: `${a.choiceBtn} ${o.language_code === "ta" ? a.choiceBtnActive : ""}`,
2193
2201
  onClick: () => {
2194
2202
  y({ language_code: "ta" }), c?.trackLanguageOfReportSelected?.({
2195
2203
  language: "ta"
@@ -2205,7 +2213,7 @@ const ca = ({
2205
2213
  {
2206
2214
  id: "kundli-report-lang-kn",
2207
2215
  type: "button",
2208
- className: `${n.choiceBtn} ${o.language_code === "kn" ? n.choiceBtnActive : ""}`,
2216
+ className: `${a.choiceBtn} ${o.language_code === "kn" ? a.choiceBtnActive : ""}`,
2209
2217
  onClick: () => {
2210
2218
  y({ language_code: "kn" }), c?.trackLanguageOfReportSelected?.({
2211
2219
  language: "kn"
@@ -2221,7 +2229,7 @@ const ca = ({
2221
2229
  {
2222
2230
  id: "kundli-report-lang-gu",
2223
2231
  type: "button",
2224
- className: `${n.choiceBtn} ${o.language_code === "gu" ? n.choiceBtnActive : ""}`,
2232
+ className: `${a.choiceBtn} ${o.language_code === "gu" ? a.choiceBtnActive : ""}`,
2225
2233
  onClick: () => {
2226
2234
  y({ language_code: "gu" }), c?.trackLanguageOfReportSelected?.({
2227
2235
  language: "gu"
@@ -2237,7 +2245,7 @@ const ca = ({
2237
2245
  {
2238
2246
  id: "kundli-report-lang-mr",
2239
2247
  type: "button",
2240
- className: `${n.choiceBtn} ${o.language_code === "mr" ? n.choiceBtnActive : ""}`,
2248
+ className: `${a.choiceBtn} ${o.language_code === "mr" ? a.choiceBtnActive : ""}`,
2241
2249
  onClick: () => {
2242
2250
  y({ language_code: "mr" }), c?.trackLanguageOfReportSelected?.({
2243
2251
  language: "mr"
@@ -2255,21 +2263,21 @@ const ca = ({
2255
2263
  ] }) })
2256
2264
  }
2257
2265
  );
2258
- }, da = "_ctaButton_rhimw_2", ua = "_ctaFilled_rhimw_21", ma = "_ctaFilledContent_rhimw_52", fa = "_chevronRight_rhimw_61", Se = {
2266
+ }, da = "_ctaButton_rhimw_2", ua = "_ctaFilled_rhimw_21", ma = "_ctaFilledContent_rhimw_52", fa = "_chevronRight_rhimw_61", Be = {
2259
2267
  ctaButton: da,
2260
2268
  ctaFilled: ua,
2261
2269
  ctaFilledContent: ma,
2262
2270
  chevronRight: fa
2263
- }, pr = "kundli-report-astrologer", pa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ha = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ga = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", _a = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ba = ({ t }) => {
2264
- const d = Ne()?.config.imageComponent ?? Ie;
2265
- return /* @__PURE__ */ r.jsxs("div", { className: ve.marqueeContent, children: [
2266
- /* @__PURE__ */ r.jsxs("span", { className: ve.badge, children: [
2271
+ }, gr = "kundli-report-astrologer", pa = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ha = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", ga = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", _a = "https://srm-cdn.a4b.io/yoda/1771588545907.svg", ba = ({ t }) => {
2272
+ const d = Re()?.config.imageComponent ?? De;
2273
+ return /* @__PURE__ */ r.jsxs("div", { className: we.marqueeContent, children: [
2274
+ /* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
2267
2275
  /* @__PURE__ */ r.jsx(
2268
2276
  d,
2269
2277
  {
2270
2278
  src: pa,
2271
2279
  alt: "",
2272
- className: ve.badgeIcon,
2280
+ className: we.badgeIcon,
2273
2281
  width: 16,
2274
2282
  height: 16,
2275
2283
  loading: "lazy"
@@ -2277,13 +2285,13 @@ const ca = ({
2277
2285
  ),
2278
2286
  t("ctaKundliCreated")
2279
2287
  ] }),
2280
- /* @__PURE__ */ r.jsxs("span", { className: ve.badge, children: [
2288
+ /* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
2281
2289
  /* @__PURE__ */ r.jsx(
2282
2290
  d,
2283
2291
  {
2284
2292
  src: ha,
2285
2293
  alt: "",
2286
- className: ve.badgeIcon,
2294
+ className: we.badgeIcon,
2287
2295
  width: 16,
2288
2296
  height: 16,
2289
2297
  loading: "lazy"
@@ -2291,13 +2299,13 @@ const ca = ({
2291
2299
  ),
2292
2300
  t("ctaCertified")
2293
2301
  ] }),
2294
- /* @__PURE__ */ r.jsxs("span", { className: ve.badge, children: [
2302
+ /* @__PURE__ */ r.jsxs("span", { className: we.badge, children: [
2295
2303
  /* @__PURE__ */ r.jsx(
2296
2304
  d,
2297
2305
  {
2298
2306
  src: ga,
2299
2307
  alt: "",
2300
- className: ve.badgeIcon,
2308
+ className: we.badgeIcon,
2301
2309
  width: 16,
2302
2310
  height: 16,
2303
2311
  loading: "lazy"
@@ -2323,52 +2331,52 @@ const ca = ({
2323
2331
  values: o,
2324
2332
  phoneIsdCode: d,
2325
2333
  hideOriginalPrice: m = !1,
2326
- requireV1ExtraFields: v = !1,
2327
- onValidationFailed: T,
2328
- onProceed: x,
2329
- onProceedGuidance: C,
2330
- href: P,
2331
- analytics: E,
2334
+ requireV1ExtraFields: x = !1,
2335
+ onValidationFailed: R,
2336
+ onProceed: w,
2337
+ onProceedGuidance: j,
2338
+ href: A,
2339
+ analytics: I,
2332
2340
  className: c = "",
2333
- discountedPriceLabel: j,
2341
+ discountedPriceLabel: N,
2334
2342
  showPlanSheet: p,
2335
- confirmPlan: R,
2343
+ confirmPlan: S,
2336
2344
  planSheetOpen: h,
2337
- selectedPlan: S
2345
+ selectedPlan: E
2338
2346
  }) => {
2339
- const A = Ne(), b = A?.config.isGlobal ?? !0, _ = A?.config?.variant, $ = $e(
2340
- () => va(o, b, v),
2341
- [o, b, v]
2342
- ), y = $ === null, O = _ === "v1" && A?.config?.showSheet, Q = b ? j ?? t("formDiscountedPrice") : O ? "" : "₹499", X = A?.config.imageComponent ?? Ie, te = (F) => {
2347
+ const C = Re(), b = C?.config.isGlobal ?? !0, _ = C?.config?.variant, G = Ge(
2348
+ () => va(o, b, x),
2349
+ [o, b, x]
2350
+ ), y = G === null, O = _ === "v1" && C?.config?.showSheet, X = b ? N ?? t("formDiscountedPrice") : O ? "" : "₹499", Z = C?.config.imageComponent ?? De, ie = (F) => {
2343
2351
  if (F.preventDefault(), !y) {
2344
- $ && T?.($);
2352
+ G && R?.(G);
2345
2353
  return;
2346
2354
  }
2347
- const ce = !!C && _ === "v1" && S?.id === pr, V = (o.phone ?? "").trim(), B = {
2355
+ const ue = !!j && _ === "v1" && E?.id === gr, z = (o.phone ?? "").trim(), L = {
2348
2356
  ...o,
2349
- phone: V && `${d}-${V}`
2357
+ phone: z && `${d}-${z}`
2350
2358
  };
2351
2359
  if (O) {
2352
- h ? R?.() : p?.(B);
2360
+ h ? S?.() : p?.(L);
2353
2361
  return;
2354
2362
  }
2355
- E?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ce ? C(B) : x?.(B);
2356
- }, W = /* @__PURE__ */ r.jsx(
2363
+ I?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ue ? j(L) : w?.(L);
2364
+ }, Y = /* @__PURE__ */ r.jsx(
2357
2365
  Or,
2358
2366
  {
2359
- href: P,
2367
+ href: A,
2360
2368
  disabled: _ === "v1" ? !1 : !y,
2361
- onClick: te,
2369
+ onClick: ie,
2362
2370
  "aria-label": t("formPriceAria"),
2363
- className: _ === "v1" && y ? Se.ctaFilled : _ === "v1" ? Se.ctaButton : void 0,
2364
- children: _ === "v1" ? y ? /* @__PURE__ */ r.jsxs("span", { className: Se.ctaFilledContent, children: [
2365
- O ? t("selectPackage") : h && S ? `${t("proceedWithPlan")}${S.price}` : `${t("formProceed")} ${Q}`,
2371
+ className: _ === "v1" && y ? Be.ctaFilled : _ === "v1" ? Be.ctaButton : void 0,
2372
+ children: _ === "v1" ? y ? /* @__PURE__ */ r.jsxs("span", { className: Be.ctaFilledContent, children: [
2373
+ O ? t("selectPackage") : h && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${X}`,
2366
2374
  /* @__PURE__ */ r.jsx(
2367
- X,
2375
+ Z,
2368
2376
  {
2369
2377
  src: _a,
2370
2378
  alt: "",
2371
- className: Se.chevronRight,
2379
+ className: Be.chevronRight,
2372
2380
  width: 20,
2373
2381
  height: 20,
2374
2382
  loading: "lazy"
@@ -2377,16 +2385,16 @@ const ca = ({
2377
2385
  ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2378
2386
  t("formProceed"),
2379
2387
  " ",
2380
- Q
2388
+ X
2381
2389
  ] })
2382
2390
  }
2383
2391
  );
2384
2392
  return /* @__PURE__ */ r.jsx(
2385
2393
  Fr,
2386
2394
  {
2387
- className: `${Se.footerContainer} ${c}`,
2395
+ className: `${Be.footerContainer} ${c}`,
2388
2396
  marquee: /* @__PURE__ */ r.jsx(Mr, { children: /* @__PURE__ */ r.jsx(ba, { t }) }),
2389
- children: W
2397
+ children: Y
2390
2398
  }
2391
2399
  );
2392
2400
  }, wa = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", Pa = ({
@@ -2395,15 +2403,15 @@ const ca = ({
2395
2403
  logoUrl: d = wa,
2396
2404
  className: m = ""
2397
2405
  }) => {
2398
- const v = Ne(), T = v?.config.isGlobal ?? !0, x = o != null && !T;
2406
+ const x = Re(), R = x?.config.isGlobal ?? !0, w = o != null && !R;
2399
2407
  return /* @__PURE__ */ r.jsx(
2400
2408
  $r,
2401
2409
  {
2402
2410
  t,
2403
2411
  logoUrl: d,
2404
- imageComponent: v?.config.imageComponent,
2412
+ imageComponent: x?.config.imageComponent,
2405
2413
  languageSelector: o,
2406
- showLanguageSelector: x,
2414
+ showLanguageSelector: w,
2407
2415
  className: m
2408
2416
  }
2409
2417
  );
@@ -2508,8 +2516,8 @@ const ca = ({
2508
2516
  /* @__PURE__ */ r.jsx(Na, {}),
2509
2517
  /* @__PURE__ */ r.jsx("span", { children: t })
2510
2518
  ] }), vn = ({ plan: t, isSelected: o, onSelect: d, t: m }) => {
2511
- const v = () => d(t.id), T = (x) => {
2512
- (x.key === " " || x.key === "Enter") && (x.preventDefault(), d(t.id));
2519
+ const x = () => d(t.id), R = (w) => {
2520
+ (w.key === " " || w.key === "Enter") && (w.preventDefault(), d(t.id));
2513
2521
  };
2514
2522
  return /* @__PURE__ */ r.jsxs(
2515
2523
  "div",
@@ -2519,11 +2527,11 @@ const ca = ({
2519
2527
  o ? f.planCardSelected : "",
2520
2528
  o && f.planCardPopular
2521
2529
  ].filter(Boolean).join(" "),
2522
- onClick: v,
2530
+ onClick: x,
2523
2531
  role: "radio",
2524
2532
  "aria-checked": o,
2525
2533
  tabIndex: 0,
2526
- onKeyDown: T,
2534
+ onKeyDown: R,
2527
2535
  "data-plan-id": t.id,
2528
2536
  children: [
2529
2537
  t.badge && /* @__PURE__ */ r.jsx(kn, { label: m?.(t.badge) ?? t.badge }),
@@ -2548,7 +2556,7 @@ const ca = ({
2548
2556
  t.astrologers && /* @__PURE__ */ r.jsx("div", { className: f.planDivider }),
2549
2557
  t.astrologers && t.astrologers.length > 0 && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2550
2558
  /* @__PURE__ */ r.jsx("p", { className: f.astrologerHeading, children: m?.("planAstrologerHeading") ?? "We will assign you a top astrologer from below" }),
2551
- /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((x, C) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(yn, { astrologer: x, t: m }) }, C)) })
2559
+ /* @__PURE__ */ r.jsx("div", { className: f.astrologerList, role: "list", children: t.astrologers.map((w, j) => /* @__PURE__ */ r.jsx("div", { role: "listitem", children: /* @__PURE__ */ r.jsx(yn, { astrologer: w, t: m }) }, j)) })
2552
2560
  ] })
2553
2561
  ] })
2554
2562
  ]
@@ -2617,30 +2625,30 @@ const ca = ({
2617
2625
  onClose: o,
2618
2626
  selectedPlan: d,
2619
2627
  onSelectPlan: m,
2620
- plans: v,
2621
- onProceed: T,
2622
- t: x,
2623
- analytics: C
2628
+ plans: x,
2629
+ onProceed: R,
2630
+ t: w,
2631
+ analytics: j
2624
2632
  }) => {
2625
- const E = Ne()?.config.isGlobal ?? !0, c = v ?? wn(E), j = d?.id || c.find((A) => A.badge)?.id || c[0]?.id || "", p = U(null), R = U(null), h = U(!1);
2626
- q(() => {
2633
+ const I = Re()?.config.isGlobal ?? !0, c = x ?? wn(I), N = d?.id || c.find((C) => C.badge)?.id || c[0]?.id || "", p = K(null), S = K(null), h = K(!1);
2634
+ H(() => {
2627
2635
  if (t) {
2628
2636
  if (!d) {
2629
- const A = c.find((b) => b.badge) ?? c[0];
2630
- A && m(A);
2637
+ const C = c.find((b) => b.badge) ?? c[0];
2638
+ C && m(C);
2631
2639
  }
2632
- h.current || (C?.trackPlanPageViewed?.(), h.current = !0);
2640
+ h.current || (j?.trackPlanPageViewed?.(), h.current = !0);
2633
2641
  } else
2634
2642
  h.current = !1;
2635
- }, [t, c, d, m, C]);
2636
- const S = () => {
2637
- C?.trackPlanPageClosed?.(), o();
2643
+ }, [t, c, d, m, j]);
2644
+ const E = () => {
2645
+ j?.trackPlanPageClosed?.(), o();
2638
2646
  };
2639
- return q(() => {
2647
+ return H(() => {
2640
2648
  if (!t) return;
2641
- const A = document.body.style.overflow;
2649
+ const C = document.body.style.overflow;
2642
2650
  return document.body.style.overflow = "hidden", () => {
2643
- document.body.style.overflow = A;
2651
+ document.body.style.overflow = C;
2644
2652
  };
2645
2653
  }, [t]), t ? /* @__PURE__ */ r.jsx(
2646
2654
  "div",
@@ -2648,7 +2656,7 @@ const ca = ({
2648
2656
  className: f.overlay,
2649
2657
  role: "dialog",
2650
2658
  "aria-modal": "true",
2651
- "aria-label": x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2659
+ "aria-label": w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2652
2660
  children: /* @__PURE__ */ r.jsxs(
2653
2661
  "div",
2654
2662
  {
@@ -2658,32 +2666,32 @@ const ca = ({
2658
2666
  /* @__PURE__ */ r.jsx(
2659
2667
  _n,
2660
2668
  {
2661
- title: x?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2662
- onBack: S
2669
+ title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2670
+ onBack: E
2663
2671
  }
2664
2672
  ),
2665
2673
  /* @__PURE__ */ r.jsx(
2666
2674
  "div",
2667
2675
  {
2668
- ref: R,
2676
+ ref: S,
2669
2677
  className: f.plansContainer,
2670
2678
  role: "radiogroup",
2671
2679
  "aria-label": "Kundli plans",
2672
- children: c.map((A) => /* @__PURE__ */ r.jsx(
2680
+ children: c.map((C) => /* @__PURE__ */ r.jsx(
2673
2681
  vn,
2674
2682
  {
2675
- plan: A,
2676
- isSelected: A.id === j,
2677
- t: x,
2683
+ plan: C,
2684
+ isSelected: C.id === N,
2685
+ t: w,
2678
2686
  onSelect: (b) => {
2679
- const _ = c.find(($) => $.id === b);
2680
- _ && (C?.trackPlanSelected?.({
2687
+ const _ = c.find((G) => G.id === b);
2688
+ _ && (j?.trackPlanSelected?.({
2681
2689
  planId: _.id,
2682
2690
  planName: _.title
2683
2691
  }), m(_));
2684
2692
  }
2685
2693
  },
2686
- A.id
2694
+ C.id
2687
2695
  ))
2688
2696
  }
2689
2697
  ),
@@ -2693,12 +2701,12 @@ const ca = ({
2693
2701
  className: f.proceedBtn,
2694
2702
  disabled: !d,
2695
2703
  onClick: () => {
2696
- d && (C?.trackPlanProceedClicked?.({
2704
+ d && (j?.trackPlanProceedClicked?.({
2697
2705
  planId: d.id,
2698
2706
  planName: d.title
2699
- }), T(d), o());
2707
+ }), R(d), o());
2700
2708
  },
2701
- children: d ? x?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
2709
+ children: d ? w?.("planProceedToPayment") ?? d.price + "Proceed to Payment" : "Select a plan"
2702
2710
  }
2703
2711
  ) })
2704
2712
  ]
@@ -2706,7 +2714,7 @@ const ca = ({
2706
2714
  )
2707
2715
  }
2708
2716
  ) : null;
2709
- }, An = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cn = (t, o) => dr[t]?.[o] ?? o, jn = {
2717
+ }, An = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", Cn = (t, o) => mr[t]?.[o] ?? o, jn = {
2710
2718
  fullName: "",
2711
2719
  phone: "",
2712
2720
  gender: "",
@@ -2723,64 +2731,64 @@ const ca = ({
2723
2731
  locale: o,
2724
2732
  showLanguageSelector: d = !0,
2725
2733
  onBack: m,
2726
- initialValues: v,
2727
- onProceed: T,
2728
- onProceedGuidance: x,
2729
- proceedHref: C,
2730
- originalPriceLabel: P,
2731
- discountedPriceLabel: E,
2734
+ initialValues: x,
2735
+ onProceed: R,
2736
+ onProceedGuidance: w,
2737
+ proceedHref: j,
2738
+ originalPriceLabel: A,
2739
+ discountedPriceLabel: I,
2732
2740
  atlasSearchLocalities: c,
2733
- analytics: j
2741
+ analytics: N
2734
2742
  }) => {
2735
- const p = Ne(), R = Kr(), h = p !== null, S = h ? p.locale : o, A = S ?? R?.locale ?? "en", [b, _] = G(A), $ = h ? p.locale : b, y = h ? p.setLocale : _, [O, Q] = G(!1), X = U(null), te = U(S), W = U(
2736
- R?.locale
2743
+ const p = Re(), S = Kr(), h = p !== null, E = h ? p.locale : o, C = E ?? S?.locale ?? "en", [b, _] = W(C), G = h ? p.locale : b, y = h ? p.setLocale : _, [O, X] = W(!1), Z = K(null), ie = K(E), Y = K(
2744
+ S?.locale
2737
2745
  );
2738
- q(() => {
2746
+ H(() => {
2739
2747
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2740
2748
  }, []);
2741
- const F = (a) => Cn($, a);
2742
- q(() => {
2743
- S && te.current !== S && y(S), te.current = S;
2744
- }, [S, y]), q(() => {
2745
- if (S) return;
2746
- const a = R?.locale;
2747
- a && W.current !== a && y(a), W.current = a;
2748
- }, [R?.locale, S, y]);
2749
- const [ce, V] = G({
2749
+ const F = (v) => Cn(G, v);
2750
+ H(() => {
2751
+ E && ie.current !== E && y(E), ie.current = E;
2752
+ }, [E, y]), H(() => {
2753
+ if (E) return;
2754
+ const v = S?.locale;
2755
+ v && Y.current !== v && y(v), Y.current = v;
2756
+ }, [S?.locale, E, y]);
2757
+ const [ue, z] = W({
2750
2758
  ...jn,
2751
- ...v,
2752
- phone: v?.phone ?? ""
2753
- }), B = h ? p?.config.isGlobal ?? !0 : !0, [I, K] = G(
2754
- B ? "+1" : "+91"
2759
+ ...x,
2760
+ phone: x?.phone ?? ""
2761
+ }), L = h ? p?.config.isGlobal ?? !0 : !0, [B, q] = W(
2762
+ L ? "+1" : "+91"
2755
2763
  );
2756
- q(() => {
2757
- K(B ? "+1" : "+91");
2758
- }, [B]);
2759
- const z = h ? p.formValues : ce, ee = h ? p.setFormValues : V, pe = h ? p.goToPage : m, H = h ? p.onProceed : T, ae = h ? p.onProceedGuidance : x, de = h ? p.config.proceedHref : C, ne = h ? p.config.originalPriceLabel : P, oe = h ? p.config.discountedPriceLabel : E, ue = h ? p.config.showLanguageSelector ?? !0 : d, re = (h ? p?.config?.analytics : j) ?? j;
2760
- q(() => {
2764
+ H(() => {
2765
+ q(L ? "+1" : "+91");
2766
+ }, [L]);
2767
+ const J = h ? p.formValues : ue, te = h ? p.setFormValues : z, ge = h ? p.goToPage : m, V = h ? p.onProceed : R, le = h ? p.onProceedGuidance : w, me = h ? p.config.proceedHref : j, se = h ? p.config.originalPriceLabel : A, ae = h ? p.config.discountedPriceLabel : I, _e = h ? p.config.showLanguageSelector ?? !0 : d, ee = (h ? p?.config?.analytics : N) ?? N;
2768
+ H(() => {
2761
2769
  if (!O) return;
2762
- const a = (s) => {
2763
- X.current && !X.current.contains(s.target) && Q(!1);
2770
+ const v = (ce) => {
2771
+ Z.current && !Z.current.contains(ce.target) && X(!1);
2764
2772
  };
2765
- return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
2773
+ return document.addEventListener("mousedown", v), () => document.removeEventListener("mousedown", v);
2766
2774
  }, [O]);
2767
- const [me, he] = G(!1), [Y, ge] = G(null), ie = U(null), xe = je((a) => {
2768
- ie.current = a, he(!0);
2769
- }, []), _e = je(() => {
2770
- if (re?.trackPlanProceedClicked?.({
2771
- planId: Y.id,
2772
- planName: Y.title
2773
- }), !ie.current || !Y) return;
2774
- const a = { ...ie.current, _selectedPlan: Y };
2775
- Y.id === pr && ae ? ae(a) : H?.(a), he(!1), ie.current = null;
2776
- }, [Y, H, ae]), ye = p?.config.imageComponent ?? Ie, we = ue ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: X, children: [
2775
+ const [ne, oe] = W(!1), [M, be] = W(null), fe = K(null), ke = Te((v) => {
2776
+ fe.current = v, oe(!0);
2777
+ }, []), ye = Te(() => {
2778
+ if (ee?.trackPlanProceedClicked?.({
2779
+ planId: M.id,
2780
+ planName: M.title
2781
+ }), !fe.current || !M) return;
2782
+ const v = { ...fe.current, _selectedPlan: M };
2783
+ M.id === gr && le ? le(v) : V?.(v), oe(!1), fe.current = null;
2784
+ }, [M, V, le]), Pe = p?.config.imageComponent ?? De, Ae = _e ? /* @__PURE__ */ r.jsxs("div", { className: he.langDropdownWrap, ref: Z, children: [
2777
2785
  /* @__PURE__ */ r.jsxs(
2778
2786
  "button",
2779
2787
  {
2780
2788
  type: "button",
2781
- className: fe.langTrigger,
2789
+ className: he.langTrigger,
2782
2790
  onClick: () => {
2783
- re?.trackLanguageClickedFe?.({ language: $ }), Q((a) => !a);
2791
+ ee?.trackLanguageClickedFe?.({ language: G }), X((v) => !v);
2784
2792
  },
2785
2793
  "aria-expanded": O,
2786
2794
  "aria-haspopup": "listbox",
@@ -2788,66 +2796,66 @@ const ca = ({
2788
2796
  "aria-label": F("language"),
2789
2797
  children: [
2790
2798
  /* @__PURE__ */ r.jsx(
2791
- ye,
2799
+ Pe,
2792
2800
  {
2793
2801
  src: An,
2794
2802
  alt: "",
2795
- className: fe.langIcon,
2803
+ className: he.langIcon,
2796
2804
  width: 16,
2797
2805
  height: 16,
2798
2806
  loading: "eager"
2799
2807
  }
2800
2808
  ),
2801
- /* @__PURE__ */ r.jsx("span", { className: fe.langLabel, children: or[$] })
2809
+ /* @__PURE__ */ r.jsx("span", { className: he.langLabel, children: lr[G] })
2802
2810
  ]
2803
2811
  }
2804
2812
  ),
2805
2813
  O && /* @__PURE__ */ r.jsx(
2806
2814
  "ul",
2807
2815
  {
2808
- className: fe.langMenu,
2816
+ className: he.langMenu,
2809
2817
  role: "listbox",
2810
2818
  "aria-labelledby": "kundli-form-lang",
2811
- "aria-activedescendant": `kundli-form-lang-option-${$}`,
2812
- children: cr.map((a) => /* @__PURE__ */ r.jsx(
2819
+ "aria-activedescendant": `kundli-form-lang-option-${G}`,
2820
+ children: ur.map((v) => /* @__PURE__ */ r.jsx(
2813
2821
  "li",
2814
2822
  {
2815
- id: `kundli-form-lang-option-${a}`,
2823
+ id: `kundli-form-lang-option-${v}`,
2816
2824
  role: "option",
2817
- "aria-selected": a === $,
2818
- className: fe.langOption,
2825
+ "aria-selected": v === G,
2826
+ className: he.langOption,
2819
2827
  onClick: () => {
2820
- re?.trackLanguageChangedFe?.({ newLanguage: a }), y(a), Q(!1);
2828
+ ee?.trackLanguageChangedFe?.({ newLanguage: v }), y(v), X(!1);
2821
2829
  },
2822
- children: or[a]
2830
+ children: lr[v]
2823
2831
  },
2824
- a
2832
+ v
2825
2833
  ))
2826
2834
  }
2827
2835
  )
2828
2836
  ] }) : null;
2829
- return /* @__PURE__ */ r.jsxs("div", { className: `${fe.container} ${t}`, children: [
2837
+ return /* @__PURE__ */ r.jsxs("div", { className: `${he.container} ${t}`, children: [
2830
2838
  /* @__PURE__ */ r.jsx(
2831
2839
  Pa,
2832
2840
  {
2833
2841
  t: F,
2834
2842
  logoUrl: h ? p.config.logoUrl : void 0,
2835
- languageSelector: we,
2836
- className: fe.kundliHeaderNoBorder
2843
+ languageSelector: Ae,
2844
+ className: he.kundliHeaderNoBorder
2837
2845
  }
2838
2846
  ),
2839
- /* @__PURE__ */ r.jsx("div", { className: fe.headerSeparator, "aria-hidden": !0 }),
2840
- /* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
2841
- /* @__PURE__ */ r.jsx(st, { t: F, onBack: pe }),
2847
+ /* @__PURE__ */ r.jsx("div", { className: he.headerSeparator, "aria-hidden": !0 }),
2848
+ /* @__PURE__ */ r.jsxs("main", { className: he.main, children: [
2849
+ /* @__PURE__ */ r.jsx(st, { t: F, onBack: ge }),
2842
2850
  /* @__PURE__ */ r.jsx(
2843
2851
  ca,
2844
2852
  {
2845
2853
  t: F,
2846
- values: z,
2847
- onChange: ee,
2854
+ values: J,
2855
+ onChange: te,
2848
2856
  atlasSearchLocalities: c,
2849
- phoneIsdCode: I,
2850
- onPhoneIsdCodeChange: K
2857
+ phoneIsdCode: B,
2858
+ onPhoneIsdCodeChange: q
2851
2859
  }
2852
2860
  )
2853
2861
  ] }),
@@ -2855,32 +2863,32 @@ const ca = ({
2855
2863
  xa,
2856
2864
  {
2857
2865
  t: F,
2858
- values: z,
2859
- phoneIsdCode: I,
2860
- onProceed: H,
2861
- onProceedGuidance: ae,
2862
- href: de,
2863
- originalPriceLabel: ne,
2864
- discountedPriceLabel: oe,
2865
- analytics: re,
2866
- showPlanSheet: xe,
2867
- confirmPlan: _e,
2868
- planSheetOpen: me,
2869
- selectedPlan: Y
2866
+ values: J,
2867
+ phoneIsdCode: B,
2868
+ onProceed: V,
2869
+ onProceedGuidance: le,
2870
+ href: me,
2871
+ originalPriceLabel: se,
2872
+ discountedPriceLabel: ae,
2873
+ analytics: ee,
2874
+ showPlanSheet: ke,
2875
+ confirmPlan: ye,
2876
+ planSheetOpen: ne,
2877
+ selectedPlan: M
2870
2878
  }
2871
2879
  ),
2872
2880
  p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2873
2881
  Pn,
2874
2882
  {
2875
- isOpen: me,
2876
- onClose: () => he(!1),
2877
- selectedPlan: Y,
2878
- onSelectPlan: ge,
2879
- onProceed: (a) => {
2880
- _e?.(a);
2883
+ isOpen: ne,
2884
+ onClose: () => oe(!1),
2885
+ selectedPlan: M,
2886
+ onSelectPlan: be,
2887
+ onProceed: (v) => {
2888
+ ye?.(v);
2881
2889
  },
2882
2890
  t: F,
2883
- analytics: re
2891
+ analytics: ee
2884
2892
  }
2885
2893
  )
2886
2894
  ] });
@@ -2924,22 +2932,22 @@ const ca = ({
2924
2932
  kundli_form_view: "kundli_form_view"
2925
2933
  };
2926
2934
  export {
2927
- Ie as D,
2935
+ De as D,
2928
2936
  st as F,
2929
2937
  Rn as I,
2930
2938
  Dn as K,
2931
- or as L,
2932
- pr as P,
2933
- cr as S,
2939
+ lr as L,
2940
+ gr as P,
2941
+ ur as S,
2934
2942
  ca as U,
2935
- mr as a,
2936
- We as b,
2943
+ pr as a,
2944
+ He as b,
2937
2945
  Ln as c,
2938
2946
  In as d,
2939
2947
  at as e,
2940
2948
  nt as f,
2941
2949
  rt as g,
2942
- Ne as h,
2950
+ Re as h,
2943
2951
  En as i,
2944
2952
  Bn as j,
2945
2953
  r as k,
@@ -2948,7 +2956,7 @@ export {
2948
2956
  Pn as n,
2949
2957
  Sn as r,
2950
2958
  tt as s,
2951
- dr as t,
2959
+ mr as t,
2952
2960
  Kr as u
2953
2961
  };
2954
- //# sourceMappingURL=analytics-DnpGKPUT.js.map
2962
+ //# sourceMappingURL=analytics-mqYZuSm2.js.map