@srimandir/kundli-generator 3.0.67 → 3.0.69

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 $e, createContext as ct, useState as K, useRef as V, useEffect as Z, useMemo as Me, useCallback as xe } from "react";
1
+ import Ue, { useContext as $e, createContext as ct, useState as K, useRef as J, useEffect as Z, useMemo as Me, useCallback as xe } from "react";
2
2
  import { FormSectionHeader as It, FooterCTAButton as Dt, FooterShell as Lt, CircularMarquee as Ot, footerShellStyles as ye, PageHeader as Bt } from "@srimandir/astrology-common";
3
3
  var Ie = { exports: {} }, je = {};
4
4
  var rt;
5
5
  function Ft() {
6
6
  if (rt) return je;
7
7
  rt = 1;
8
- var a = Ue, i = /* @__PURE__ */ Symbol.for("react.element"), g = /* @__PURE__ */ Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, b = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function A(B, p, U) {
10
- var u, j = {}, l = null, F = null;
11
- U !== void 0 && (l = "" + U), p.key !== void 0 && (l = "" + p.key), p.ref !== void 0 && (F = p.ref);
12
- for (u in p) h.call(p, u) && !v.hasOwnProperty(u) && (j[u] = p[u]);
13
- if (B && B.defaultProps) for (u in p = B.defaultProps, p) j[u] === void 0 && (j[u] = p[u]);
14
- return { $$typeof: i, type: B, key: l, ref: F, props: j, _owner: b.current };
8
+ var a = Ue, i = /* @__PURE__ */ Symbol.for("react.element"), p = /* @__PURE__ */ Symbol.for("react.fragment"), g = Object.prototype.hasOwnProperty, y = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function T(B, b, U) {
10
+ var u, R = {}, l = null, F = null;
11
+ U !== void 0 && (l = "" + U), b.key !== void 0 && (l = "" + b.key), b.ref !== void 0 && (F = b.ref);
12
+ for (u in b) g.call(b, u) && !v.hasOwnProperty(u) && (R[u] = b[u]);
13
+ if (B && B.defaultProps) for (u in b = B.defaultProps, b) R[u] === void 0 && (R[u] = b[u]);
14
+ return { $$typeof: i, type: B, key: l, ref: F, props: R, _owner: y.current };
15
15
  }
16
- return je.Fragment = g, je.jsx = A, je.jsxs = A, je;
16
+ return je.Fragment = p, je.jsx = T, je.jsxs = T, je;
17
17
  }
18
18
  var Re = {};
19
19
  var nt;
20
20
  function Mt() {
21
21
  return nt || (nt = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var a = Ue, i = /* @__PURE__ */ Symbol.for("react.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), h = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), v = /* @__PURE__ */ Symbol.for("react.profiler"), A = /* @__PURE__ */ Symbol.for("react.provider"), B = /* @__PURE__ */ Symbol.for("react.context"), p = /* @__PURE__ */ Symbol.for("react.forward_ref"), U = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), j = /* @__PURE__ */ Symbol.for("react.memo"), l = /* @__PURE__ */ Symbol.for("react.lazy"), F = /* @__PURE__ */ Symbol.for("react.offscreen"), w = Symbol.iterator, N = "@@iterator";
23
- function z(e) {
22
+ var a = Ue, i = /* @__PURE__ */ Symbol.for("react.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), g = /* @__PURE__ */ Symbol.for("react.fragment"), y = /* @__PURE__ */ Symbol.for("react.strict_mode"), v = /* @__PURE__ */ Symbol.for("react.profiler"), T = /* @__PURE__ */ Symbol.for("react.provider"), B = /* @__PURE__ */ Symbol.for("react.context"), b = /* @__PURE__ */ Symbol.for("react.forward_ref"), U = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), l = /* @__PURE__ */ Symbol.for("react.lazy"), F = /* @__PURE__ */ Symbol.for("react.offscreen"), _ = Symbol.iterator, N = "@@iterator";
23
+ function Q(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var o = w && e[w] || e[N];
26
+ var o = _ && e[_] || e[N];
27
27
  return typeof o == "function" ? o : null;
28
28
  }
29
29
  var E = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -31,23 +31,23 @@ function Mt() {
31
31
  {
32
32
  for (var o = arguments.length, c = new Array(o > 1 ? o - 1 : 0), d = 1; d < o; d++)
33
33
  c[d - 1] = arguments[d];
34
- J("error", e, c);
34
+ H("error", e, c);
35
35
  }
36
36
  }
37
- function J(e, o, c) {
37
+ function H(e, o, c) {
38
38
  {
39
- var d = E.ReactDebugCurrentFrame, _ = d.getStackAddendum();
40
- _ !== "" && (o += "%s", c = c.concat([_]));
41
- var T = c.map(function(f) {
42
- return String(f);
39
+ var d = E.ReactDebugCurrentFrame, k = d.getStackAddendum();
40
+ k !== "" && (o += "%s", c = c.concat([k]));
41
+ var j = c.map(function(h) {
42
+ return String(h);
43
43
  });
44
- T.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, T);
44
+ j.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, j);
45
45
  }
46
46
  }
47
- var Q = !1, y = !1, R = !1, D = !1, q = !1, L;
47
+ var Y = !1, m = !1, P = !1, D = !1, z = !1, L;
48
48
  L = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function H(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === h || e === v || q || e === b || e === U || e === u || D || e === F || Q || y || R || typeof e == "object" && e !== null && (e.$$typeof === l || e.$$typeof === j || e.$$typeof === A || e.$$typeof === B || e.$$typeof === p || // This needs to include all possible module reference object
49
+ function q(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === g || e === v || z || e === y || e === U || e === u || D || e === F || Y || m || P || typeof e == "object" && e !== null && (e.$$typeof === l || e.$$typeof === R || e.$$typeof === T || e.$$typeof === B || e.$$typeof === b || // 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.
@@ -57,8 +57,8 @@ function Mt() {
57
57
  var d = e.displayName;
58
58
  if (d)
59
59
  return d;
60
- var _ = o.displayName || o.name || "";
61
- return _ !== "" ? c + "(" + _ + ")" : c;
60
+ var k = o.displayName || o.name || "";
61
+ return k !== "" ? c + "(" + k + ")" : c;
62
62
  }
63
63
  function I(e) {
64
64
  return e.displayName || "Context";
@@ -71,13 +71,13 @@ function Mt() {
71
71
  if (typeof e == "string")
72
72
  return e;
73
73
  switch (e) {
74
- case h:
75
- return "Fragment";
76
74
  case g:
75
+ return "Fragment";
76
+ case p:
77
77
  return "Portal";
78
78
  case v:
79
79
  return "Profiler";
80
- case b:
80
+ case y:
81
81
  return "StrictMode";
82
82
  case U:
83
83
  return "Suspense";
@@ -89,18 +89,18 @@ function Mt() {
89
89
  case B:
90
90
  var o = e;
91
91
  return I(o) + ".Consumer";
92
- case A:
92
+ case T:
93
93
  var c = e;
94
94
  return I(c._context) + ".Provider";
95
- case p:
95
+ case b:
96
96
  return C(e, e.render, "ForwardRef");
97
- case j:
97
+ case R:
98
98
  var d = e.displayName || null;
99
99
  return d !== null ? d : S(e.type) || "Memo";
100
100
  case l: {
101
- var _ = e, T = _._payload, f = _._init;
101
+ var k = e, j = k._payload, h = k._init;
102
102
  try {
103
- return S(f(T));
103
+ return S(h(j));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,14 +108,14 @@ function Mt() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var G = Object.assign, $ = 0, Y, W, ee, se, le, de, me;
111
+ var G = Object.assign, $ = 0, V, W, ee, se, le, de, fe;
112
112
  function ie() {
113
113
  }
114
114
  ie.__reactDisabledLog = !0;
115
- function fe() {
115
+ function me() {
116
116
  {
117
117
  if ($ === 0) {
118
- Y = console.log, W = console.info, ee = console.warn, se = console.error, le = console.group, de = console.groupCollapsed, me = console.groupEnd;
118
+ V = console.log, W = console.info, ee = console.warn, se = console.error, le = console.group, de = console.groupCollapsed, fe = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
@@ -145,7 +145,7 @@ function Mt() {
145
145
  };
146
146
  Object.defineProperties(console, {
147
147
  log: G({}, e, {
148
- value: Y
148
+ value: V
149
149
  }),
150
150
  info: G({}, e, {
151
151
  value: W
@@ -163,7 +163,7 @@ function Mt() {
163
163
  value: de
164
164
  }),
165
165
  groupEnd: G({}, e, {
166
- value: me
166
+ value: fe
167
167
  })
168
168
  });
169
169
  }
@@ -171,13 +171,13 @@ function Mt() {
171
171
  }
172
172
  }
173
173
  var oe = E.ReactCurrentDispatcher, ue;
174
- function P(e, o, c) {
174
+ function A(e, o, c) {
175
175
  {
176
176
  if (ue === void 0)
177
177
  try {
178
178
  throw Error();
179
- } catch (_) {
180
- var d = _.stack.trim().match(/\n( *(at )?)/);
179
+ } catch (k) {
180
+ var d = k.stack.trim().match(/\n( *(at )?)/);
181
181
  ue = d && d[1] || "";
182
182
  }
183
183
  return `
@@ -199,33 +199,33 @@ function Mt() {
199
199
  }
200
200
  var d;
201
201
  ge = !0;
202
- var _ = Error.prepareStackTrace;
202
+ var k = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var T;
205
- T = oe.current, oe.current = null, fe();
204
+ var j;
205
+ j = oe.current, oe.current = null, me();
206
206
  try {
207
207
  if (o) {
208
- var f = function() {
208
+ var h = function() {
209
209
  throw Error();
210
210
  };
211
- if (Object.defineProperty(f.prototype, "props", {
211
+ if (Object.defineProperty(h.prototype, "props", {
212
212
  set: function() {
213
213
  throw Error();
214
214
  }
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
- Reflect.construct(f, []);
217
+ Reflect.construct(h, []);
218
218
  } catch (te) {
219
219
  d = te;
220
220
  }
221
- Reflect.construct(e, [], f);
221
+ Reflect.construct(e, [], h);
222
222
  } else {
223
223
  try {
224
- f.call();
224
+ h.call();
225
225
  } catch (te) {
226
226
  d = te;
227
227
  }
228
- e.call(f.prototype);
228
+ e.call(h.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
@@ -237,17 +237,17 @@ function Mt() {
237
237
  }
238
238
  } catch (te) {
239
239
  if (te && d && typeof te.stack == "string") {
240
- for (var m = te.stack.split(`
240
+ for (var f = te.stack.split(`
241
241
  `), X = d.stack.split(`
242
- `), O = m.length - 1, M = X.length - 1; O >= 1 && M >= 0 && m[O] !== X[M]; )
242
+ `), O = f.length - 1, M = X.length - 1; O >= 1 && M >= 0 && f[O] !== X[M]; )
243
243
  M--;
244
244
  for (; O >= 1 && M >= 0; O--, M--)
245
- if (m[O] !== X[M]) {
245
+ if (f[O] !== X[M]) {
246
246
  if (O !== 1 || M !== 1)
247
247
  do
248
- if (O--, M--, M < 0 || m[O] !== X[M]) {
248
+ if (O--, M--, M < 0 || f[O] !== X[M]) {
249
249
  var ae = `
250
- ` + m[O].replace(" at new ", " at ");
250
+ ` + f[O].replace(" at new ", " at ");
251
251
  return e.displayName && ae.includes("<anonymous>") && (ae = ae.replace("<anonymous>", e.displayName)), typeof e == "function" && _e.set(e, ae), ae;
252
252
  }
253
253
  while (O >= 1 && M >= 0);
@@ -255,9 +255,9 @@ function Mt() {
255
255
  }
256
256
  }
257
257
  } finally {
258
- ge = !1, oe.current = T, re(), Error.prepareStackTrace = _;
258
+ ge = !1, oe.current = j, re(), Error.prepareStackTrace = k;
259
259
  }
260
- var ve = e ? e.displayName || e.name : "", be = ve ? P(ve) : "";
260
+ var ve = e ? e.displayName || e.name : "", be = ve ? A(ve) : "";
261
261
  return typeof e == "function" && _e.set(e, be), be;
262
262
  }
263
263
  function Ee(e, o, c) {
@@ -273,23 +273,23 @@ function Mt() {
273
273
  if (typeof e == "function")
274
274
  return Pe(e, Ce(e));
275
275
  if (typeof e == "string")
276
- return P(e);
276
+ return A(e);
277
277
  switch (e) {
278
278
  case U:
279
- return P("Suspense");
279
+ return A("Suspense");
280
280
  case u:
281
- return P("SuspenseList");
281
+ return A("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
285
- case p:
285
+ case b:
286
286
  return Ee(e.render);
287
- case j:
287
+ case R:
288
288
  return he(e.type, o, c);
289
289
  case l: {
290
- var d = e, _ = d._payload, T = d._init;
290
+ var d = e, k = d._payload, j = d._init;
291
291
  try {
292
- return he(T(_), o, c);
292
+ return he(j(k), o, c);
293
293
  } catch {
294
294
  }
295
295
  }
@@ -297,29 +297,29 @@ function Mt() {
297
297
  return "";
298
298
  }
299
299
  var pe = Object.prototype.hasOwnProperty, n = {}, s = E.ReactDebugCurrentFrame;
300
- function k(e) {
300
+ function w(e) {
301
301
  if (e) {
302
302
  var o = e._owner, c = he(e.type, e._source, o ? o.type : null);
303
303
  s.setExtraStackFrame(c);
304
304
  } else
305
305
  s.setExtraStackFrame(null);
306
306
  }
307
- function ne(e, o, c, d, _) {
307
+ function ne(e, o, c, d, k) {
308
308
  {
309
- var T = Function.call.bind(pe);
310
- for (var f in e)
311
- if (T(e, f)) {
312
- var m = void 0;
309
+ var j = Function.call.bind(pe);
310
+ for (var h in e)
311
+ if (j(e, h)) {
312
+ var f = void 0;
313
313
  try {
314
- if (typeof e[f] != "function") {
315
- var X = Error((d || "React class") + ": " + c + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
314
+ if (typeof e[h] != "function") {
315
+ var X = Error((d || "React class") + ": " + c + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
316
  throw X.name = "Invariant Violation", X;
317
317
  }
318
- m = e[f](o, f, d, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
318
+ f = e[h](o, h, d, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (O) {
320
- m = O;
320
+ f = O;
321
321
  }
322
- m && !(m instanceof Error) && (k(_), x("%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).", d || "React class", c, f, typeof m), k(null)), m instanceof Error && !(m.message in n) && (n[m.message] = !0, k(_), x("Failed %s type: %s", c, m.message), k(null));
322
+ f && !(f instanceof Error) && (w(k), x("%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).", d || "React class", c, h, typeof f), w(null)), f instanceof Error && !(f.message in n) && (n[f.message] = !0, w(k), x("Failed %s type: %s", c, f.message), w(null));
323
323
  }
324
324
  }
325
325
  }
@@ -327,7 +327,7 @@ function Mt() {
327
327
  function Ae(e) {
328
328
  return Te(e);
329
329
  }
330
- function ft(e) {
330
+ function mt(e) {
331
331
  {
332
332
  var o = typeof Symbol == "function" && Symbol.toStringTag, c = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
333
333
  return c;
@@ -345,7 +345,7 @@ function Mt() {
345
345
  }
346
346
  function He(e) {
347
347
  if (ht(e))
348
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ft(e)), Ke(e);
348
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", mt(e)), Ke(e);
349
349
  }
350
350
  var Ye = E.ReactCurrentOwner, pt = {
351
351
  key: !0,
@@ -394,51 +394,51 @@ function Mt() {
394
394
  });
395
395
  }
396
396
  }
397
- var vt = function(e, o, c, d, _, T, f) {
398
- var m = {
397
+ var vt = function(e, o, c, d, k, j, h) {
398
+ var f = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: i,
401
401
  // Built-in properties that belong on the element
402
402
  type: e,
403
403
  key: o,
404
404
  ref: c,
405
- props: f,
405
+ props: h,
406
406
  // Record the component responsible for creating this element.
407
- _owner: T
407
+ _owner: j
408
408
  };
409
- return m._store = {}, Object.defineProperty(m._store, "validated", {
409
+ return f._store = {}, Object.defineProperty(f._store, "validated", {
410
410
  configurable: !1,
411
411
  enumerable: !1,
412
412
  writable: !0,
413
413
  value: !1
414
- }), Object.defineProperty(m, "_self", {
414
+ }), Object.defineProperty(f, "_self", {
415
415
  configurable: !1,
416
416
  enumerable: !1,
417
417
  writable: !1,
418
418
  value: d
419
- }), Object.defineProperty(m, "_source", {
419
+ }), Object.defineProperty(f, "_source", {
420
420
  configurable: !1,
421
421
  enumerable: !1,
422
422
  writable: !1,
423
- value: _
424
- }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
423
+ value: k
424
+ }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
425
425
  };
426
- function wt(e, o, c, d, _) {
426
+ function wt(e, o, c, d, k) {
427
427
  {
428
- var T, f = {}, m = null, X = null;
429
- c !== void 0 && (He(c), m = "" + c), bt(o) && (He(o.key), m = "" + o.key), gt(o) && (X = o.ref, yt(o, _));
430
- for (T in o)
431
- pe.call(o, T) && !pt.hasOwnProperty(T) && (f[T] = o[T]);
428
+ var j, h = {}, f = null, X = null;
429
+ c !== void 0 && (He(c), f = "" + c), bt(o) && (He(o.key), f = "" + o.key), gt(o) && (X = o.ref, yt(o, k));
430
+ for (j in o)
431
+ pe.call(o, j) && !pt.hasOwnProperty(j) && (h[j] = o[j]);
432
432
  if (e && e.defaultProps) {
433
433
  var O = e.defaultProps;
434
- for (T in O)
435
- f[T] === void 0 && (f[T] = O[T]);
434
+ for (j in O)
435
+ h[j] === void 0 && (h[j] = O[j]);
436
436
  }
437
- if (m || X) {
437
+ if (f || X) {
438
438
  var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- m && _t(f, M), X && kt(f, M);
439
+ f && _t(h, M), X && kt(h, M);
440
440
  }
441
- return vt(e, m, X, _, d, Ye.current, f);
441
+ return vt(e, f, X, k, d, Ye.current, h);
442
442
  }
443
443
  }
444
444
  var Le = E.ReactCurrentOwner, ze = E.ReactDebugCurrentFrame;
@@ -507,10 +507,10 @@ Check the top-level render call using <` + c + ">.");
507
507
  else if (Be(e))
508
508
  e._store && (e._store.validated = !0);
509
509
  else if (e) {
510
- var _ = z(e);
511
- if (typeof _ == "function" && _ !== e.entries)
512
- for (var T = _.call(e), f; !(f = T.next()).done; )
513
- Be(f.value) && Xe(f.value, o);
510
+ var k = Q(e);
511
+ if (typeof k == "function" && k !== e.entries)
512
+ for (var j = k.call(e), h; !(h = j.next()).done; )
513
+ Be(h.value) && Xe(h.value, o);
514
514
  }
515
515
  }
516
516
  }
@@ -522,9 +522,9 @@ Check the top-level render call using <` + c + ">.");
522
522
  var c;
523
523
  if (typeof o == "function")
524
524
  c = o.propTypes;
525
- else if (typeof o == "object" && (o.$$typeof === p || // Note: Memo only checks outer props here.
525
+ else if (typeof o == "object" && (o.$$typeof === b || // Note: Memo only checks outer props here.
526
526
  // Inner props are checked in the reconciler.
527
- o.$$typeof === j))
527
+ o.$$typeof === R))
528
528
  c = o.propTypes;
529
529
  else
530
530
  return;
@@ -533,8 +533,8 @@ Check the top-level render call using <` + c + ">.");
533
533
  ne(c, e.props, "prop", d, e);
534
534
  } else if (o.PropTypes !== void 0 && !Oe) {
535
535
  Oe = !0;
536
- var _ = S(o);
537
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
536
+ var k = S(o);
537
+ x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
538
538
  }
539
539
  typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
540
540
  }
@@ -552,21 +552,21 @@ Check the top-level render call using <` + c + ">.");
552
552
  }
553
553
  }
554
554
  var et = {};
555
- function tt(e, o, c, d, _, T) {
555
+ function tt(e, o, c, d, k, j) {
556
556
  {
557
- var f = H(e);
558
- if (!f) {
559
- var m = "";
560
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
557
+ var h = q(e);
558
+ if (!h) {
559
+ var f = "";
560
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " 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
561
  var X = xt();
562
- X ? m += X : m += Je();
562
+ X ? f += X : f += Je();
563
563
  var O;
564
- e === null ? O = "null" : Ae(e) ? O = "array" : e !== void 0 && e.$$typeof === i ? (O = "<" + (S(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, m);
564
+ e === null ? O = "null" : Ae(e) ? O = "array" : e !== void 0 && e.$$typeof === i ? (O = "<" + (S(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : O = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, f);
565
565
  }
566
- var M = wt(e, o, c, _, T);
566
+ var M = wt(e, o, c, k, j);
567
567
  if (M == null)
568
568
  return M;
569
- if (f) {
569
+ if (h) {
570
570
  var ae = o.children;
571
571
  if (ae !== void 0)
572
572
  if (d)
@@ -593,7 +593,7 @@ React keys must be passed directly to JSX without using spread:
593
593
  <%s key={someKey} {...props} />`, Fe, be, Et, be), et[be + Fe] = !0;
594
594
  }
595
595
  }
596
- return e === h ? At(M) : Tt(M), M;
596
+ return e === g ? At(M) : Tt(M), M;
597
597
  }
598
598
  }
599
599
  function jt(e, o, c) {
@@ -603,7 +603,7 @@ React keys must be passed directly to JSX without using spread:
603
603
  return tt(e, o, c, !1);
604
604
  }
605
605
  var St = Rt, Nt = jt;
606
- Re.Fragment = h, Re.jsx = St, Re.jsxs = Nt;
606
+ Re.Fragment = g, Re.jsx = St, Re.jsxs = Nt;
607
607
  })()), Re;
608
608
  }
609
609
  var at;
@@ -966,8 +966,8 @@ const st = ["en", "hi"], ot = {
966
966
  locale: a,
967
967
  children: i
968
968
  }) => {
969
- const h = { locale: a, t: (b) => lt[a]?.[b] ?? b };
970
- return /* @__PURE__ */ t.jsx(dt.Provider, { value: h, children: i });
969
+ const g = { locale: a, t: (y) => lt[a]?.[y] ?? y };
970
+ return /* @__PURE__ */ t.jsx(dt.Provider, { value: g, children: i });
971
971
  };
972
972
  function $t() {
973
973
  return $e(dt);
@@ -984,14 +984,14 @@ const Wt = "_container_1e1th_1", Gt = "_main_1e1th_7", Kt = "_kundliHeaderNoBord
984
984
  langMenu: Jt,
985
985
  langOption: Qt
986
986
  }, We = (a) => {
987
- const { priority: i, fetchPriority: g, width: h, height: b, ...v } = a;
987
+ const { priority: i, fetchPriority: p, width: g, height: y, ...v } = a;
988
988
  return Ue.createElement("img", {
989
989
  ...v,
990
- width: h ?? 1,
991
- height: b ?? 1,
990
+ width: g ?? 1,
991
+ height: y ?? 1,
992
992
  decoding: "async",
993
993
  loading: v.loading ?? (i ? "eager" : "lazy"),
994
- ...g && { fetchPriority: g }
994
+ ...p && { fetchPriority: p }
995
995
  });
996
996
  };
997
997
  function Xt(a) {
@@ -1048,40 +1048,40 @@ const Ge = ct(null), rr = {
1048
1048
  }, jn = ({
1049
1049
  locale: a,
1050
1050
  showLanguageSelector: i = !0,
1051
- userId: g,
1052
- isGlobal: h,
1053
- variant: b,
1051
+ userId: p,
1052
+ isGlobal: g,
1053
+ variant: y,
1054
1054
  googleMapsApiKey: v,
1055
- logoUrl: A,
1055
+ logoUrl: T,
1056
1056
  reportImageUrl: B,
1057
- reportImagePriority: p,
1057
+ reportImagePriority: b,
1058
1058
  backgroundImagePriority: U,
1059
1059
  universityLogoUrls: u,
1060
- sampleReportHref: j,
1060
+ sampleReportHref: R,
1061
1061
  onViewSampleReport: l,
1062
1062
  ctaHref: F,
1063
- onCtaClick: w,
1063
+ onCtaClick: _,
1064
1064
  onBack: N,
1065
- readMoreReviewsHref: z,
1065
+ readMoreReviewsHref: Q,
1066
1066
  onProceed: E,
1067
1067
  proceedHref: x,
1068
- originalPriceLabel: J,
1069
- discountedPriceLabel: Q,
1070
- discountPillLabel: y,
1071
- analytics: R,
1068
+ originalPriceLabel: H,
1069
+ discountedPriceLabel: Y,
1070
+ discountPillLabel: m,
1071
+ analytics: P,
1072
1072
  onLocaleChange: D,
1073
- imageComponent: q = We,
1073
+ imageComponent: z = We,
1074
1074
  children: L
1075
1075
  }) => {
1076
- const [H, C] = K("landing"), [I, S] = K(a ?? "en"), [G, $] = K(rr), Y = V(!0);
1076
+ const [q, C] = K("landing"), [I, S] = K(a ?? "en"), [G, $] = K(rr), V = J(!0);
1077
1077
  Z(() => {
1078
1078
  const de = er();
1079
1079
  de && S(de);
1080
1080
  }, []), Z(() => {
1081
1081
  tr(I);
1082
1082
  }, [I]), Z(() => {
1083
- if (Y.current) {
1084
- Y.current = !1;
1083
+ if (V.current) {
1084
+ V.current = !1;
1085
1085
  return;
1086
1086
  }
1087
1087
  D?.(I);
@@ -1090,56 +1090,56 @@ const Ge = ct(null), rr = {
1090
1090
  () => ({
1091
1091
  locale: a,
1092
1092
  showLanguageSelector: i,
1093
- userId: g,
1094
- isGlobal: h,
1095
- variant: b,
1093
+ userId: p,
1094
+ isGlobal: g,
1095
+ variant: y,
1096
1096
  googleMapsApiKey: v,
1097
- logoUrl: A,
1097
+ logoUrl: T,
1098
1098
  reportImageUrl: B,
1099
- reportImagePriority: p,
1099
+ reportImagePriority: b,
1100
1100
  backgroundImagePriority: U,
1101
1101
  universityLogoUrls: u,
1102
- sampleReportHref: j,
1102
+ sampleReportHref: R,
1103
1103
  onViewSampleReport: l,
1104
1104
  ctaHref: F,
1105
- onCtaClick: w,
1105
+ onCtaClick: _,
1106
1106
  onBack: N,
1107
- readMoreReviewsHref: z,
1107
+ readMoreReviewsHref: Q,
1108
1108
  onProceed: E,
1109
1109
  proceedHref: x,
1110
- originalPriceLabel: J,
1111
- discountedPriceLabel: Q,
1112
- discountPillLabel: y,
1113
- analytics: R,
1110
+ originalPriceLabel: H,
1111
+ discountedPriceLabel: Y,
1112
+ discountPillLabel: m,
1113
+ analytics: P,
1114
1114
  onLocaleChange: D,
1115
- imageComponent: q
1115
+ imageComponent: z
1116
1116
  }),
1117
1117
  [
1118
1118
  a,
1119
1119
  i,
1120
+ p,
1120
1121
  g,
1121
- h,
1122
- b,
1122
+ y,
1123
1123
  v,
1124
- A,
1124
+ T,
1125
1125
  B,
1126
- p,
1126
+ b,
1127
1127
  U,
1128
1128
  u,
1129
- j,
1129
+ R,
1130
1130
  l,
1131
1131
  F,
1132
- w,
1132
+ _,
1133
1133
  N,
1134
- z,
1134
+ Q,
1135
1135
  E,
1136
1136
  x,
1137
- J,
1138
- Q,
1139
- y,
1140
- R,
1137
+ H,
1138
+ Y,
1139
+ m,
1140
+ P,
1141
1141
  D,
1142
- q
1142
+ z
1143
1143
  ]
1144
1144
  ), ee = xe(() => {
1145
1145
  C("form");
@@ -1147,7 +1147,7 @@ const Ge = ct(null), rr = {
1147
1147
  C("landing"), W.onBack?.();
1148
1148
  }, [W.onBack]), le = Me(
1149
1149
  () => ({
1150
- view: H,
1150
+ view: q,
1151
1151
  locale: I,
1152
1152
  setLocale: S,
1153
1153
  config: W,
@@ -1157,7 +1157,7 @@ const Ge = ct(null), rr = {
1157
1157
  goToPage: se,
1158
1158
  onProceed: W.onProceed
1159
1159
  }),
1160
- [H, I, W, G, ee, se]
1160
+ [q, I, W, G, ee, se]
1161
1161
  );
1162
1162
  return /* @__PURE__ */ t.jsx(Ge.Provider, { value: le, children: L });
1163
1163
  };
@@ -1176,8 +1176,8 @@ const nr = "_header_19172_1", ar = "_centered_19172_8", it = {
1176
1176
  }, or = ({
1177
1177
  t: a,
1178
1178
  onBack: i,
1179
- className: g = "",
1180
- align: h = "left"
1179
+ className: p = "",
1180
+ align: g = "left"
1181
1181
  }) => /* @__PURE__ */ t.jsx(
1182
1182
  It,
1183
1183
  {
@@ -1185,17 +1185,17 @@ const nr = "_header_19172_1", ar = "_centered_19172_8", it = {
1185
1185
  subtitle: a("formSubtitle"),
1186
1186
  onBack: i,
1187
1187
  backAriaLabel: a("back"),
1188
- className: `${it.header} ${h === "center" ? it.centered : ""} ${g}`
1188
+ className: `${it.header} ${g === "center" ? it.centered : ""} ${p}`
1189
1189
  }
1190
- ), ir = "_wrap_kiw0x_1", cr = "_card_kiw0x_5", sr = "_cardInner_kiw0x_12", lr = "_field_kiw0x_44", dr = "_labelRow_kiw0x_48", ur = "_label_kiw0x_48", mr = "_req_kiw0x_57", fr = "_help_kiw0x_61", hr = "_choiceRow_kiw0x_68", pr = "_choiceBtn_kiw0x_74", gr = "_choiceBtnActive_kiw0x_99", br = "_infoBtn_kiw0x_105", yr = "_infoImg_kiw0x_122", _r = "_infoWrap_kiw0x_128", kr = "_tooltip_kiw0x_134", vr = "_tooltipArrow_kiw0x_150", wr = "_inputWrap_kiw0x_161", xr = "_isdWrap_kiw0x_165", Pr = "_phoneInputGroup_kiw0x_169", Tr = "_isdSelectWrap_kiw0x_178", Ar = "_isdSelectTrigger_kiw0x_197", jr = "_isdDropdown_kiw0x_214", Rr = "_isdSearchWrap_kiw0x_229", Sr = "_isdSearchInput_kiw0x_237", Nr = "_isdOption_kiw0x_255", Er = "_isdOptionActive_kiw0x_275", Cr = "_isdCountryName_kiw0x_281", Ir = "_isdCountryCode_kiw0x_288", Dr = "_isdNoResult_kiw0x_295", Lr = "_suggestions_kiw0x_302", Or = "_suggestionItem_kiw0x_315", Br = "_suggestionMain_kiw0x_333", Fr = "_suggestionSecondary_kiw0x_339", Mr = "_suggestionsHint_kiw0x_344", Ur = "_timePopover_kiw0x_359", $r = "_timePickerRow_kiw0x_375", Wr = "_timePickerSelect_kiw0x_381", Gr = "_timePickerColon_kiw0x_397", Kr = "_meridiemToggle_kiw0x_405", Hr = "_meridiemBtn_kiw0x_414", Yr = "_meridiemActive_kiw0x_429", qr = "_timePopoverActions_kiw0x_434", Vr = "_timePopoverBtn_kiw0x_440", zr = "_timePopoverOk_kiw0x_459", Jr = "_input_kiw0x_161", Qr = "_phoneInput_kiw0x_169", Xr = "_iconBtn_kiw0x_512", Zr = "_iconBtnInteractive_kiw0x_518", en = "_iconImg_kiw0x_537", tn = "_checkboxRow_kiw0x_543", rn = "_checkbox_kiw0x_543", nn = "_checkboxText_kiw0x_581", r = {
1190
+ ), ir = "_wrap_kiw0x_1", cr = "_card_kiw0x_5", sr = "_cardInner_kiw0x_12", lr = "_field_kiw0x_44", dr = "_labelRow_kiw0x_48", ur = "_label_kiw0x_48", fr = "_req_kiw0x_57", mr = "_help_kiw0x_61", hr = "_choiceRow_kiw0x_68", pr = "_choiceBtn_kiw0x_74", gr = "_choiceBtnActive_kiw0x_99", br = "_infoBtn_kiw0x_105", yr = "_infoImg_kiw0x_122", _r = "_infoWrap_kiw0x_128", kr = "_tooltip_kiw0x_134", vr = "_tooltipArrow_kiw0x_150", wr = "_inputWrap_kiw0x_161", xr = "_isdWrap_kiw0x_165", Pr = "_phoneInputGroup_kiw0x_169", Tr = "_isdSelectWrap_kiw0x_178", Ar = "_isdSelectTrigger_kiw0x_197", jr = "_isdDropdown_kiw0x_214", Rr = "_isdSearchWrap_kiw0x_229", Sr = "_isdSearchInput_kiw0x_237", Nr = "_isdOption_kiw0x_255", Er = "_isdOptionActive_kiw0x_275", Cr = "_isdCountryName_kiw0x_281", Ir = "_isdCountryCode_kiw0x_288", Dr = "_isdNoResult_kiw0x_295", Lr = "_suggestions_kiw0x_302", Or = "_suggestionItem_kiw0x_315", Br = "_suggestionMain_kiw0x_333", Fr = "_suggestionSecondary_kiw0x_339", Mr = "_suggestionsHint_kiw0x_344", Ur = "_timePopover_kiw0x_359", $r = "_timePickerRow_kiw0x_375", Wr = "_timePickerSelect_kiw0x_381", Gr = "_timePickerColon_kiw0x_397", Kr = "_meridiemToggle_kiw0x_405", Hr = "_meridiemBtn_kiw0x_414", Yr = "_meridiemActive_kiw0x_429", qr = "_timePopoverActions_kiw0x_434", Vr = "_timePopoverBtn_kiw0x_440", zr = "_timePopoverOk_kiw0x_459", Jr = "_input_kiw0x_161", Qr = "_phoneInput_kiw0x_169", Xr = "_iconBtn_kiw0x_512", Zr = "_iconBtnInteractive_kiw0x_518", en = "_iconImg_kiw0x_537", tn = "_checkboxRow_kiw0x_543", rn = "_checkbox_kiw0x_543", nn = "_checkboxText_kiw0x_581", r = {
1191
1191
  wrap: ir,
1192
1192
  card: cr,
1193
1193
  cardInner: sr,
1194
1194
  field: lr,
1195
1195
  labelRow: dr,
1196
1196
  label: ur,
1197
- req: mr,
1198
- help: fr,
1197
+ req: fr,
1198
+ help: mr,
1199
1199
  choiceRow: hr,
1200
1200
  choiceBtn: pr,
1201
1201
  choiceBtnActive: gr,
@@ -1242,77 +1242,77 @@ const nr = "_header_19172_1", ar = "_centered_19172_8", it = {
1242
1242
  checkboxText: nn
1243
1243
  };
1244
1244
  let De = null;
1245
- const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : De || (De = new Promise((g, h) => {
1246
- const b = document.querySelector(
1245
+ const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promise.resolve() : De || (De = new Promise((p, g) => {
1246
+ const y = document.querySelector(
1247
1247
  'script[data-google-maps-places="true"]'
1248
1248
  );
1249
- if (b) {
1250
- b.addEventListener("load", () => g()), b.addEventListener(
1249
+ if (y) {
1250
+ y.addEventListener("load", () => p()), y.addEventListener(
1251
1251
  "error",
1252
- () => h(new Error("Failed to load Google Maps API"))
1252
+ () => g(new Error("Failed to load Google Maps API"))
1253
1253
  );
1254
1254
  return;
1255
1255
  }
1256
- const v = document.createElement("script"), A = new URL("https://maps.googleapis.com/maps/api/js");
1257
- A.searchParams.set("key", a), A.searchParams.set("libraries", "places"), A.searchParams.set("loading", "async"), i && A.searchParams.set("language", i), v.src = A.toString(), v.async = !0, v.defer = !0, v.setAttribute("data-google-maps-places", "true"), v.onload = () => {
1258
- const B = Date.now(), p = () => {
1256
+ const v = document.createElement("script"), T = new URL("https://maps.googleapis.com/maps/api/js");
1257
+ T.searchParams.set("key", a), T.searchParams.set("libraries", "places"), T.searchParams.set("loading", "async"), i && T.searchParams.set("language", i), v.src = T.toString(), v.async = !0, v.defer = !0, v.setAttribute("data-google-maps-places", "true"), v.onload = () => {
1258
+ const B = Date.now(), b = () => {
1259
1259
  if (window.google?.maps?.places) {
1260
- g();
1260
+ p();
1261
1261
  return;
1262
1262
  }
1263
1263
  if (Date.now() - B > 2e3) {
1264
- h(
1264
+ g(
1265
1265
  new Error(
1266
1266
  "Google Maps loaded but Places library is unavailable. Check API key restrictions / enabled APIs."
1267
1267
  )
1268
1268
  );
1269
1269
  return;
1270
1270
  }
1271
- window.setTimeout(p, 50);
1271
+ window.setTimeout(b, 50);
1272
1272
  };
1273
- p();
1274
- }, v.onerror = () => h(new Error("Failed to load Google Maps API")), document.head.appendChild(v);
1273
+ b();
1274
+ }, v.onerror = () => g(new Error("Failed to load Google Maps API")), document.head.appendChild(v);
1275
1275
  }), De), on = (a) => {
1276
- const { apiKey: i, language: g = "en", restrictCountry: h, deferLoad: b = !1 } = a, [v, A] = K(!1), [B, p] = K([]), [U, u] = K(!1), [j, l] = K(null), [F, w] = K(!b), N = V(null), z = V(null), E = V(null), x = xe(() => {
1277
- b && w(!0);
1278
- }, [b]);
1276
+ const { apiKey: i, language: p = "en", restrictCountry: g, deferLoad: y = !1 } = a, [v, T] = K(!1), [B, b] = K([]), [U, u] = K(!1), [R, l] = K(null), [F, _] = K(!y), N = J(null), Q = J(null), E = J(null), x = xe(() => {
1277
+ y && _(!0);
1278
+ }, [y]);
1279
1279
  Z(() => {
1280
1280
  if (!i || !F) {
1281
- A(!1), l(null);
1281
+ T(!1), l(null);
1282
1282
  return;
1283
1283
  }
1284
- an(i, g).then(() => {
1284
+ an(i, p).then(() => {
1285
1285
  N.current = new google.maps.places.AutocompleteService();
1286
- const R = document.createElement("div");
1287
- z.current = new google.maps.places.PlacesService(R), E.current = new google.maps.places.AutocompleteSessionToken(), A(!0), l(null);
1288
- }).catch((R) => {
1289
- A(!1), l(R?.message || "Failed to load location service");
1286
+ const P = document.createElement("div");
1287
+ Q.current = new google.maps.places.PlacesService(P), E.current = new google.maps.places.AutocompleteSessionToken(), T(!0), l(null);
1288
+ }).catch((P) => {
1289
+ T(!1), l(P?.message || "Failed to load location service");
1290
1290
  });
1291
- }, [i, g, F]);
1292
- const J = xe(
1293
- async (R) => {
1294
- if (!R || R.length < 2 || !N.current) {
1295
- p([]);
1291
+ }, [i, p, F]);
1292
+ const H = xe(
1293
+ async (P) => {
1294
+ if (!P || P.length < 2 || !N.current) {
1295
+ b([]);
1296
1296
  return;
1297
1297
  }
1298
1298
  u(!0);
1299
1299
  try {
1300
1300
  const D = {
1301
- input: R,
1301
+ input: P,
1302
1302
  types: ["(cities)"],
1303
1303
  sessionToken: E.current ?? void 0
1304
1304
  };
1305
- h && (D.componentRestrictions = { country: h });
1306
- const q = await new Promise((L, H) => {
1305
+ g && (D.componentRestrictions = { country: g });
1306
+ const z = await new Promise((L, q) => {
1307
1307
  N.current.getPlacePredictions(
1308
1308
  D,
1309
1309
  (C, I) => {
1310
- I === google.maps.places.PlacesServiceStatus.OK && C ? L(C) : I === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? L([]) : H(new Error(`Places API error: ${I}`));
1310
+ I === google.maps.places.PlacesServiceStatus.OK && C ? L(C) : I === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? L([]) : q(new Error(`Places API error: ${I}`));
1311
1311
  }
1312
1312
  );
1313
1313
  });
1314
- p(
1315
- q.map((L) => ({
1314
+ b(
1315
+ z.map((L) => ({
1316
1316
  place_id: L.place_id,
1317
1317
  description: L.description,
1318
1318
  structured_formatting: {
@@ -1322,40 +1322,40 @@ const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promis
1322
1322
  }))
1323
1323
  );
1324
1324
  } catch {
1325
- p([]);
1325
+ b([]);
1326
1326
  } finally {
1327
1327
  u(!1);
1328
1328
  }
1329
1329
  },
1330
- [h]
1331
- ), Q = xe(
1332
- async (R) => {
1333
- if (!z.current) return null;
1330
+ [g]
1331
+ ), Y = xe(
1332
+ async (P) => {
1333
+ if (!Q.current) return null;
1334
1334
  try {
1335
1335
  const D = await new Promise(
1336
1336
  (S, G) => {
1337
- z.current.getDetails(
1337
+ Q.current.getDetails(
1338
1338
  {
1339
- placeId: R,
1339
+ placeId: P,
1340
1340
  fields: ["geometry", "address_components", "formatted_address"],
1341
1341
  sessionToken: E.current ?? void 0
1342
1342
  },
1343
- ($, Y) => {
1344
- Y === google.maps.places.PlacesServiceStatus.OK && $ ? S($) : G(new Error(`Place details error: ${Y}`));
1343
+ ($, V) => {
1344
+ V === google.maps.places.PlacesServiceStatus.OK && $ ? S($) : G(new Error(`Place details error: ${V}`));
1345
1345
  }
1346
1346
  );
1347
1347
  }
1348
1348
  );
1349
1349
  E.current = new google.maps.places.AutocompleteSessionToken();
1350
- const q = D.geometry?.location?.lat() || 0, L = D.geometry?.location?.lng() || 0;
1351
- let H = "", C = "", I = "";
1350
+ const z = D.geometry?.location?.lat() || 0, L = D.geometry?.location?.lng() || 0;
1351
+ let q = "", C = "", I = "";
1352
1352
  return D.address_components?.forEach((S) => {
1353
- S.types.includes("locality") && (H = S.long_name), S.types.includes("administrative_area_level_1") && (C = S.long_name), S.types.includes("country") && (I = S.long_name);
1353
+ S.types.includes("locality") && (q = S.long_name), S.types.includes("administrative_area_level_1") && (C = S.long_name), S.types.includes("country") && (I = S.long_name);
1354
1354
  }), {
1355
1355
  display_name: D.formatted_address || "",
1356
- lat: q,
1356
+ lat: z,
1357
1357
  lng: L,
1358
- city: H,
1358
+ city: q,
1359
1359
  state: C,
1360
1360
  country: I
1361
1361
  };
@@ -1364,15 +1364,15 @@ const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promis
1364
1364
  }
1365
1365
  },
1366
1366
  []
1367
- ), y = xe(() => p([]), []);
1367
+ ), m = xe(() => b([]), []);
1368
1368
  return {
1369
1369
  isLoaded: v,
1370
1370
  predictions: B,
1371
1371
  isSearching: U,
1372
- loadError: j,
1373
- searchPlaces: J,
1374
- getPlaceDetails: Q,
1375
- clearPredictions: y,
1372
+ loadError: R,
1373
+ searchPlaces: H,
1374
+ getPlaceDetails: Y,
1375
+ clearPredictions: m,
1376
1376
  triggerLoad: x
1377
1377
  // Call this to start loading Google Maps when deferred
1378
1378
  };
@@ -1381,7 +1381,7 @@ const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promis
1381
1381
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1382
1382
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1383
1383
  info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1384
- }, mt = [
1384
+ }, ft = [
1385
1385
  { code: "+1", country: "USA / Canada" },
1386
1386
  { code: "+7", country: "Russia / Kazakhstan" },
1387
1387
  { code: "+20", country: "Egypt" },
@@ -1452,50 +1452,50 @@ const an = (a, i) => typeof window > "u" || window.google?.maps?.places ? Promis
1452
1452
  { code: "+976", country: "Mongolia" },
1453
1453
  { code: "+977", country: "Nepal" }
1454
1454
  ];
1455
- mt.map((a) => a.code);
1455
+ ft.map((a) => a.code);
1456
1456
  const cn = {}, sn = ({
1457
1457
  t: a,
1458
1458
  values: i,
1459
- onChange: g,
1460
- phoneIsdCode: h,
1461
- onPhoneIsdCodeChange: b,
1459
+ onChange: p,
1460
+ phoneIsdCode: g,
1461
+ onPhoneIsdCodeChange: y,
1462
1462
  showV1ExtraFields: v = !1,
1463
- analytics: A,
1463
+ analytics: T,
1464
1464
  googleMapsApiKey: B,
1465
- className: p = ""
1465
+ className: b = ""
1466
1466
  }) => {
1467
- const U = Se(), u = U?.config?.analytics ?? A, j = U?.config.isGlobal ?? !0, l = U?.config?.variant, F = U?.config?.googleMapsApiKey, [w, N] = K(!1), [z, E] = K(""), x = V(null), J = V(null), Q = V({}), y = (n) => g({ ...i, ...n }), R = (n, s) => {
1468
- if (s.trim() && !Q.current[n]) {
1469
- Q.current[n] = !0;
1470
- const k = l ? { variant: l } : {};
1467
+ const U = Se(), u = U?.config?.analytics ?? T, R = U?.config.isGlobal ?? !0, l = U?.config?.variant, F = U?.config?.googleMapsApiKey, [_, N] = K(!1), [Q, E] = K(""), x = J(null), H = J(null), Y = J({}), m = (n) => p({ ...i, ...n }), P = (n, s) => {
1468
+ if (s.trim() && !Y.current[n]) {
1469
+ Y.current[n] = !0;
1470
+ const w = l ? { variant: l } : {};
1471
1471
  ({
1472
- fullName: () => u?.trackNameSectionFilled?.(k),
1473
- phone: () => u?.trackPhoneSectionFilled?.(k),
1474
- email: () => u?.trackEmailSectionFilled?.(k),
1475
- dateOfBirth: () => u?.trackDobFilled?.(k),
1476
- birthTime: () => u?.trackTimeFilled?.(k),
1477
- birthPlace: () => u?.trackPlaceOfBirthChosen?.(k)
1472
+ fullName: () => u?.trackNameSectionFilled?.(w),
1473
+ phone: () => u?.trackPhoneSectionFilled?.(w),
1474
+ email: () => u?.trackEmailSectionFilled?.(w),
1475
+ dateOfBirth: () => u?.trackDobFilled?.(w),
1476
+ birthTime: () => u?.trackTimeFilled?.(w),
1477
+ birthPlace: () => u?.trackPlaceOfBirthChosen?.(w)
1478
1478
  })[n]?.();
1479
1479
  }
1480
- }, D = (n) => n.replace(/\D/g, "").slice(0, 10), q = z.trim().toLowerCase(), L = mt.filter((n) => q ? n.country.toLowerCase().includes(q) || n.code.includes(q) : !0), H = V(null);
1481
- V(null);
1482
- const C = V(null), I = V(0), S = V(null), [G, $] = K(!1), [Y, W] = K({ hour12: 12, minute: "00", meridiem: "AM" }), ee = (n) => String(n).padStart(2, "0"), se = (n) => {
1480
+ }, D = (n) => n.replace(/\D/g, "").slice(0, 10), z = Q.trim().toLowerCase(), L = ft.filter((n) => z ? n.country.toLowerCase().includes(z) || n.code.includes(z) : !0), q = J(null);
1481
+ J(null);
1482
+ const C = J(null), I = J(0), S = J(null), [G, $] = K(!1), [V, W] = K({ hour12: 12, minute: "00", meridiem: "AM" }), ee = (n) => String(n).padStart(2, "0"), se = (n) => {
1483
1483
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1484
1484
  if (!s) return n;
1485
- const k = Number(s[1]), ne = s[2], Te = k >= 12 ? "PM" : "AM";
1486
- return `${k % 12 === 0 ? 12 : k % 12}:${ne} ${Te}`;
1485
+ const w = Number(s[1]), ne = s[2], Te = w >= 12 ? "PM" : "AM";
1486
+ return `${w % 12 === 0 ? 12 : w % 12}:${ne} ${Te}`;
1487
1487
  }, le = (n) => {
1488
1488
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1489
1489
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1490
- const k = Number(s[1]), ne = s[2], Te = k >= 12 ? "PM" : "AM";
1491
- return { hour12: k % 12 === 0 ? 12 : k % 12, minute: ne, meridiem: Te };
1490
+ const w = Number(s[1]), ne = s[2], Te = w >= 12 ? "PM" : "AM";
1491
+ return { hour12: w % 12 === 0 ? 12 : w % 12, minute: ne, meridiem: Te };
1492
1492
  }, de = (n) => {
1493
- const s = Math.min(12, Math.max(1, n.hour12)), k = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1493
+ const s = Math.min(12, Math.max(1, n.hour12)), w = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1494
1494
  let ne = s % 12;
1495
- return n.meridiem === "PM" && (ne += 12), `${ee(ne)}:${k}`;
1496
- }, me = V(null), [ie, fe] = K(!1), [re, oe] = K(
1495
+ return n.meridiem === "PM" && (ne += 12), `${ee(ne)}:${w}`;
1496
+ }, fe = J(null), [ie, me] = K(!1), [re, oe] = K(
1497
1497
  null
1498
- ), ue = B ?? F ?? cn?.VITE_GOOGLE_MAPS_API_KEY, P = (i.birthPlace ?? "").trim(), ge = j ? void 0 : "in", _e = "en", {
1498
+ ), ue = B ?? F ?? cn?.VITE_GOOGLE_MAPS_API_KEY, A = (i.birthPlace ?? "").trim(), ge = R ? void 0 : "in", _e = "en", {
1499
1499
  predictions: Ne,
1500
1500
  isSearching: Pe,
1501
1501
  loadError: Ee,
@@ -1508,7 +1508,7 @@ const cn = {}, sn = ({
1508
1508
  });
1509
1509
  Z(() => {
1510
1510
  const n = (s) => {
1511
- me.current && (me.current.contains(s.target) || fe(!1));
1511
+ fe.current && (fe.current.contains(s.target) || me(!1));
1512
1512
  };
1513
1513
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1514
1514
  }, []), Z(() => {
@@ -1517,22 +1517,22 @@ const cn = {}, sn = ({
1517
1517
  };
1518
1518
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1519
1519
  }, []), Z(() => {
1520
- if (!w) return;
1520
+ if (!_) return;
1521
1521
  const n = window.setTimeout(() => {
1522
- J.current?.focus();
1522
+ H.current?.focus();
1523
1523
  }, 0);
1524
1524
  return () => window.clearTimeout(n);
1525
- }, [w]), Z(() => {
1525
+ }, [_]), Z(() => {
1526
1526
  if (!ie) return;
1527
- if (P.length < 2) {
1527
+ if (A.length < 2) {
1528
1528
  he();
1529
1529
  return;
1530
1530
  }
1531
1531
  const n = window.setTimeout(async () => {
1532
- await Ce(P);
1532
+ await Ce(A);
1533
1533
  }, 250);
1534
1534
  return () => window.clearTimeout(n);
1535
- }, [he, ie, P, Ce]);
1535
+ }, [he, ie, A, Ce]);
1536
1536
  const pe = (n) => {
1537
1537
  const s = n.current;
1538
1538
  if (!(!s || s.disabled)) {
@@ -1553,10 +1553,10 @@ const cn = {}, sn = ({
1553
1553
  };
1554
1554
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1555
1555
  }, []), Z(() => {
1556
- const n = (k) => {
1557
- k.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1558
- }, s = (k) => {
1559
- k.key === "Escape" && oe(null);
1556
+ const n = (w) => {
1557
+ w.target?.closest?.("[data-info-tooltip]") == null && oe(null);
1558
+ }, s = (w) => {
1559
+ w.key === "Escape" && oe(null);
1560
1560
  };
1561
1561
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1562
1562
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1564,7 +1564,7 @@ const cn = {}, sn = ({
1564
1564
  }, []), /* @__PURE__ */ t.jsx(
1565
1565
  "section",
1566
1566
  {
1567
- className: `${r.wrap} ${p}`,
1567
+ className: `${r.wrap} ${b}`,
1568
1568
  "aria-label": a("formTitle"),
1569
1569
  children: /* @__PURE__ */ t.jsx("div", { className: r.card, children: /* @__PURE__ */ t.jsxs("div", { className: r.cardInner, children: [
1570
1570
  /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
@@ -1582,7 +1582,7 @@ const cn = {}, sn = ({
1582
1582
  onFocus: () => u?.trackNameSectionClicked?.(l ? { variant: l } : void 0),
1583
1583
  onChange: (n) => {
1584
1584
  const s = n.target.value;
1585
- y({ fullName: s }), R("fullName", s);
1585
+ m({ fullName: s }), P("fullName", s);
1586
1586
  },
1587
1587
  placeholder: a("formFullNamePlaceholder"),
1588
1588
  autoComplete: "name"
@@ -1592,7 +1592,7 @@ const cn = {}, sn = ({
1592
1592
  /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
1593
1593
  /* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-phone", children: [
1594
1594
  a("formPhone"),
1595
- !j && /* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
1595
+ !R && /* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
1596
1596
  ] }) }),
1597
1597
  /* @__PURE__ */ t.jsx("div", { className: r.inputWrap, children: /* @__PURE__ */ t.jsxs("div", { className: r.isdWrap, ref: x, children: [
1598
1598
  /* @__PURE__ */ t.jsxs("div", { className: r.phoneInputGroup, children: [
@@ -1602,11 +1602,11 @@ const cn = {}, sn = ({
1602
1602
  type: "button",
1603
1603
  className: r.isdSelectTrigger,
1604
1604
  "aria-haspopup": "listbox",
1605
- "aria-expanded": w,
1605
+ "aria-expanded": _,
1606
1606
  onClick: () => {
1607
1607
  N((n) => !n), E("");
1608
1608
  },
1609
- children: h
1609
+ children: g
1610
1610
  }
1611
1611
  ) }),
1612
1612
  /* @__PURE__ */ t.jsx(
@@ -1619,19 +1619,19 @@ const cn = {}, sn = ({
1619
1619
  onFocus: () => u?.trackPhoneSectionClicked?.(l ? { variant: l } : void 0),
1620
1620
  onChange: (n) => {
1621
1621
  const s = n.target.value;
1622
- y({ phone: D(s) }), R("phone", D(s));
1622
+ m({ phone: D(s) }), P("phone", D(s));
1623
1623
  },
1624
1624
  placeholder: a("formPhonePlaceholder"),
1625
1625
  autoComplete: "tel",
1626
1626
  inputMode: "numeric",
1627
1627
  pattern: "[0-9]{10}",
1628
1628
  maxLength: 10,
1629
- required: !j,
1630
- "aria-required": !j
1629
+ required: !R,
1630
+ "aria-required": !R
1631
1631
  }
1632
1632
  )
1633
1633
  ] }),
1634
- w && /* @__PURE__ */ t.jsxs(
1634
+ _ && /* @__PURE__ */ t.jsxs(
1635
1635
  "div",
1636
1636
  {
1637
1637
  className: r.isdDropdown,
@@ -1641,9 +1641,9 @@ const cn = {}, sn = ({
1641
1641
  /* @__PURE__ */ t.jsx("div", { className: r.isdSearchWrap, children: /* @__PURE__ */ t.jsx(
1642
1642
  "input",
1643
1643
  {
1644
- ref: J,
1644
+ ref: H,
1645
1645
  type: "text",
1646
- value: z,
1646
+ value: Q,
1647
1647
  onChange: (n) => E(n.target.value),
1648
1648
  placeholder: "Search country",
1649
1649
  className: r.isdSearchInput,
@@ -1655,10 +1655,10 @@ const cn = {}, sn = ({
1655
1655
  {
1656
1656
  type: "button",
1657
1657
  role: "option",
1658
- "aria-selected": n.code === h,
1659
- className: `${r.isdOption} ${n.code === h ? r.isdOptionActive : ""}`,
1658
+ "aria-selected": n.code === g,
1659
+ className: `${r.isdOption} ${n.code === g ? r.isdOptionActive : ""}`,
1660
1660
  onClick: () => {
1661
- b(n.code), N(!1), E("");
1661
+ y(n.code), N(!1), E("");
1662
1662
  },
1663
1663
  children: [
1664
1664
  /* @__PURE__ */ t.jsx("span", { className: r.isdCountryName, children: n.country }),
@@ -1690,7 +1690,7 @@ const cn = {}, sn = ({
1690
1690
  id: "kundli-gender-male",
1691
1691
  type: "button",
1692
1692
  className: `${r.choiceBtn} ${i.gender === "male" ? r.choiceBtnActive : ""}`,
1693
- onClick: () => y({ gender: "male" }),
1693
+ onClick: () => m({ gender: "male" }),
1694
1694
  role: "radio",
1695
1695
  "aria-checked": i.gender === "male",
1696
1696
  children: a("formGenderMale")
@@ -1702,7 +1702,7 @@ const cn = {}, sn = ({
1702
1702
  id: "kundli-gender-female",
1703
1703
  type: "button",
1704
1704
  className: `${r.choiceBtn} ${i.gender === "female" ? r.choiceBtnActive : ""}`,
1705
- onClick: () => y({ gender: "female" }),
1705
+ onClick: () => m({ gender: "female" }),
1706
1706
  role: "radio",
1707
1707
  "aria-checked": i.gender === "female",
1708
1708
  children: a("formGenderFemale")
@@ -1712,7 +1712,7 @@ const cn = {}, sn = ({
1712
1712
  }
1713
1713
  )
1714
1714
  ] }),
1715
- j && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
1715
+ R && /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs("div", { className: r.field, children: [
1716
1716
  /* @__PURE__ */ t.jsx("div", { className: r.labelRow, children: /* @__PURE__ */ t.jsxs("label", { className: r.label, htmlFor: "kundli-email", children: [
1717
1717
  a("formEmail"),
1718
1718
  /* @__PURE__ */ t.jsx("span", { className: r.req, children: "*" })
@@ -1725,7 +1725,7 @@ const cn = {}, sn = ({
1725
1725
  className: r.input,
1726
1726
  type: "email",
1727
1727
  value: i.email,
1728
- onChange: (n) => y({ email: n.target.value }),
1728
+ onChange: (n) => m({ email: n.target.value }),
1729
1729
  placeholder: a("formEmailPlaceholder"),
1730
1730
  autoComplete: "email",
1731
1731
  required: !0,
@@ -1774,20 +1774,20 @@ const cn = {}, sn = ({
1774
1774
  id: "kundli-dob",
1775
1775
  className: r.input,
1776
1776
  type: "date",
1777
- ref: H,
1777
+ ref: q,
1778
1778
  value: i.dateOfBirth,
1779
1779
  max: (() => {
1780
1780
  const n = /* @__PURE__ */ new Date();
1781
1781
  return `${n.getFullYear()}-${ee(n.getMonth() + 1)}-${ee(n.getDate())}`;
1782
1782
  })(),
1783
1783
  onChange: (n) => {
1784
- const s = n.target.value, k = /* @__PURE__ */ new Date(), ne = `${k.getFullYear()}-${ee(k.getMonth() + 1)}-${ee(k.getDate())}`;
1785
- s && s > ne || (y({ dateOfBirth: s }), R("dateOfBirth", s), C.current = null);
1784
+ const s = n.target.value, w = /* @__PURE__ */ new Date(), ne = `${w.getFullYear()}-${ee(w.getMonth() + 1)}-${ee(w.getDate())}`;
1785
+ s && s > ne || (m({ dateOfBirth: s }), P("dateOfBirth", s), C.current = null);
1786
1786
  },
1787
1787
  onFocus: () => u?.trackDobClicked?.(l ? { variant: l } : void 0),
1788
- onClick: () => pe(H),
1788
+ onClick: () => pe(q),
1789
1789
  onBlur: () => {
1790
- C.current === H.current && (C.current = null);
1790
+ C.current === q.current && (C.current = null);
1791
1791
  }
1792
1792
  }
1793
1793
  ),
@@ -1799,7 +1799,7 @@ const cn = {}, sn = ({
1799
1799
  "aria-label": "Open date picker",
1800
1800
  onMouseDown: (n) => n.preventDefault(),
1801
1801
  onClick: (n) => {
1802
- n.preventDefault(), n.stopPropagation(), pe(H);
1802
+ n.preventDefault(), n.stopPropagation(), pe(q);
1803
1803
  },
1804
1804
  children: /* @__PURE__ */ t.jsx(
1805
1805
  "img",
@@ -1860,7 +1860,7 @@ const cn = {}, sn = ({
1860
1860
  onFocus: () => u?.trackTimeClicked?.(l ? { variant: l } : void 0),
1861
1861
  onChange: (n) => {
1862
1862
  const s = n.target.value;
1863
- y({ birthTime: s }), R("birthTime", s);
1863
+ m({ birthTime: s }), P("birthTime", s);
1864
1864
  },
1865
1865
  disabled: i.birthTimeUnknown,
1866
1866
  placeholder: "HH:MM AM",
@@ -1903,7 +1903,7 @@ const cn = {}, sn = ({
1903
1903
  "select",
1904
1904
  {
1905
1905
  className: r.timePickerSelect,
1906
- value: Y.hour12,
1906
+ value: V.hour12,
1907
1907
  onChange: (n) => W((s) => ({
1908
1908
  ...s,
1909
1909
  hour12: Number(n.target.value)
@@ -1917,7 +1917,7 @@ const cn = {}, sn = ({
1917
1917
  "select",
1918
1918
  {
1919
1919
  className: r.timePickerSelect,
1920
- value: Y.minute,
1920
+ value: V.minute,
1921
1921
  onChange: (n) => W((s) => ({ ...s, minute: n.target.value })),
1922
1922
  "aria-label": "Minute",
1923
1923
  children: Array.from({ length: 60 }, (n, s) => ee(s)).map(
@@ -1930,7 +1930,7 @@ const cn = {}, sn = ({
1930
1930
  "button",
1931
1931
  {
1932
1932
  type: "button",
1933
- className: `${r.meridiemBtn} ${Y.meridiem === "AM" ? r.meridiemActive : ""}`,
1933
+ className: `${r.meridiemBtn} ${V.meridiem === "AM" ? r.meridiemActive : ""}`,
1934
1934
  onClick: () => W((n) => ({ ...n, meridiem: "AM" })),
1935
1935
  children: "AM"
1936
1936
  }
@@ -1939,7 +1939,7 @@ const cn = {}, sn = ({
1939
1939
  "button",
1940
1940
  {
1941
1941
  type: "button",
1942
- className: `${r.meridiemBtn} ${Y.meridiem === "PM" ? r.meridiemActive : ""}`,
1942
+ className: `${r.meridiemBtn} ${V.meridiem === "PM" ? r.meridiemActive : ""}`,
1943
1943
  onClick: () => W((n) => ({ ...n, meridiem: "PM" })),
1944
1944
  children: "PM"
1945
1945
  }
@@ -1962,8 +1962,8 @@ const cn = {}, sn = ({
1962
1962
  type: "button",
1963
1963
  className: `${r.timePopoverBtn} ${r.timePopoverOk}`,
1964
1964
  onClick: () => {
1965
- const n = de(Y);
1966
- y({ birthTime: n }), R("birthTime", n), $(!1);
1965
+ const n = de(V);
1966
+ m({ birthTime: n }), P("birthTime", n), $(!1);
1967
1967
  },
1968
1968
  "aria-label": "OK",
1969
1969
  children: /* @__PURE__ */ t.jsx(
@@ -2003,7 +2003,7 @@ const cn = {}, sn = ({
2003
2003
  type: "checkbox",
2004
2004
  checked: i.birthTimeUnknown,
2005
2005
  onChange: (n) => {
2006
- u?.trackTimeCheckboxClicked?.(l ? { variant: l } : void 0), y({
2006
+ u?.trackTimeCheckboxClicked?.(l ? { variant: l } : void 0), m({
2007
2007
  birthTimeUnknown: n.target.checked,
2008
2008
  birthTime: n.target.checked ? "" : i.birthTime
2009
2009
  });
@@ -2061,7 +2061,7 @@ const cn = {}, sn = ({
2061
2061
  ] })
2062
2062
  ] })
2063
2063
  ] }),
2064
- /* @__PURE__ */ t.jsxs("div", { className: r.inputWrap, ref: me, children: [
2064
+ /* @__PURE__ */ t.jsxs("div", { className: r.inputWrap, ref: fe, children: [
2065
2065
  /* @__PURE__ */ t.jsx(
2066
2066
  "input",
2067
2067
  {
@@ -2071,10 +2071,10 @@ const cn = {}, sn = ({
2071
2071
  value: i.birthPlace,
2072
2072
  onChange: (n) => {
2073
2073
  const s = n.target.value;
2074
- y({ birthPlace: s }), R("birthPlace", s), fe(!0);
2074
+ m({ birthPlace: s }), P("birthPlace", s), me(!0);
2075
2075
  },
2076
2076
  onFocus: () => {
2077
- u?.trackPlaceOfBirthClicked?.(l ? { variant: l } : void 0), fe(!0);
2077
+ u?.trackPlaceOfBirthClicked?.(l ? { variant: l } : void 0), me(!0);
2078
2078
  },
2079
2079
  placeholder: a("formBirthPlacePlaceholder"),
2080
2080
  autoComplete: "address-level2"
@@ -2095,7 +2095,7 @@ const cn = {}, sn = ({
2095
2095
  type: "button",
2096
2096
  className: r.suggestionItem,
2097
2097
  onClick: () => {
2098
- y({ birthPlace: n.description }), he(), fe(!1);
2098
+ m({ birthPlace: n.description }), he(), me(!1);
2099
2099
  },
2100
2100
  children: [
2101
2101
  /* @__PURE__ */ t.jsx("span", { className: r.suggestionMain, children: n.structured_formatting?.main_text ?? n.description }),
@@ -2126,7 +2126,7 @@ const cn = {}, sn = ({
2126
2126
  id: "kundli-report-lang-hi",
2127
2127
  type: "button",
2128
2128
  className: `${r.choiceBtn} ${i.language_code === "hi" ? r.choiceBtnActive : ""}`,
2129
- onClick: () => y({ language_code: "hi" }),
2129
+ onClick: () => m({ language_code: "hi" }),
2130
2130
  role: "radio",
2131
2131
  "aria-checked": i.language_code === "hi",
2132
2132
  children: a("formReportLanguageHindi")
@@ -2138,7 +2138,7 @@ const cn = {}, sn = ({
2138
2138
  id: "kundli-report-lang-en",
2139
2139
  type: "button",
2140
2140
  className: `${r.choiceBtn} ${i.language_code === "en" ? r.choiceBtnActive : ""}`,
2141
- onClick: () => y({ language_code: "en" }),
2141
+ onClick: () => m({ language_code: "en" }),
2142
2142
  role: "radio",
2143
2143
  "aria-checked": i.language_code === "en",
2144
2144
  children: a("formReportLanguageEnglish")
@@ -2150,7 +2150,7 @@ const cn = {}, sn = ({
2150
2150
  id: "kundli-report-lang-te",
2151
2151
  type: "button",
2152
2152
  className: `${r.choiceBtn} ${i.language_code === "te" ? r.choiceBtnActive : ""}`,
2153
- onClick: () => y({ language_code: "te" }),
2153
+ onClick: () => m({ language_code: "te" }),
2154
2154
  role: "radio",
2155
2155
  "aria-checked": i.language_code === "te",
2156
2156
  children: a("formReportLanguageTelugu")
@@ -2162,7 +2162,7 @@ const cn = {}, sn = ({
2162
2162
  id: "kundli-report-lang-ta",
2163
2163
  type: "button",
2164
2164
  className: `${r.choiceBtn} ${i.language_code === "ta" ? r.choiceBtnActive : ""}`,
2165
- onClick: () => y({ language_code: "ta" }),
2165
+ onClick: () => m({ language_code: "ta" }),
2166
2166
  role: "radio",
2167
2167
  "aria-checked": i.language_code === "ta",
2168
2168
  children: a("formReportLanguageTamil")
@@ -2174,7 +2174,7 @@ const cn = {}, sn = ({
2174
2174
  id: "kundli-report-lang-kn",
2175
2175
  type: "button",
2176
2176
  className: `${r.choiceBtn} ${i.language_code === "kn" ? r.choiceBtnActive : ""}`,
2177
- onClick: () => y({ language_code: "kn" }),
2177
+ onClick: () => m({ language_code: "kn" }),
2178
2178
  role: "radio",
2179
2179
  "aria-checked": i.language_code === "kn",
2180
2180
  children: a("formReportLanguageKannada")
@@ -2186,7 +2186,7 @@ const cn = {}, sn = ({
2186
2186
  id: "kundli-report-lang-gu",
2187
2187
  type: "button",
2188
2188
  className: `${r.choiceBtn} ${i.language_code === "gu" ? r.choiceBtnActive : ""}`,
2189
- onClick: () => y({ language_code: "gu" }),
2189
+ onClick: () => m({ language_code: "gu" }),
2190
2190
  role: "radio",
2191
2191
  "aria-checked": i.language_code === "gu",
2192
2192
  children: a("formReportLanguageGujarati")
@@ -2198,7 +2198,7 @@ const cn = {}, sn = ({
2198
2198
  id: "kundli-report-lang-mr",
2199
2199
  type: "button",
2200
2200
  className: `${r.choiceBtn} ${i.language_code === "mr" ? r.choiceBtnActive : ""}`,
2201
- onClick: () => y({ language_code: "mr" }),
2201
+ onClick: () => m({ language_code: "mr" }),
2202
2202
  role: "radio",
2203
2203
  "aria-checked": i.language_code === "mr",
2204
2204
  children: a("formReportLanguageMarathi")
@@ -2211,12 +2211,12 @@ const cn = {}, sn = ({
2211
2211
  ] }) })
2212
2212
  }
2213
2213
  );
2214
- }, ln = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", dn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", un = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", mn = ({ t: a }) => {
2215
- const g = Se()?.config.imageComponent ?? We;
2214
+ }, ln = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", dn = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", un = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", fn = ({ t: a }) => {
2215
+ const p = Se()?.config.imageComponent ?? We;
2216
2216
  return /* @__PURE__ */ t.jsxs("div", { className: ye.marqueeContent, children: [
2217
2217
  /* @__PURE__ */ t.jsxs("span", { className: ye.badge, children: [
2218
2218
  /* @__PURE__ */ t.jsx(
2219
- g,
2219
+ p,
2220
2220
  {
2221
2221
  src: ln,
2222
2222
  alt: "",
@@ -2230,7 +2230,7 @@ const cn = {}, sn = ({
2230
2230
  ] }),
2231
2231
  /* @__PURE__ */ t.jsxs("span", { className: ye.badge, children: [
2232
2232
  /* @__PURE__ */ t.jsx(
2233
- g,
2233
+ p,
2234
2234
  {
2235
2235
  src: dn,
2236
2236
  alt: "",
@@ -2244,7 +2244,7 @@ const cn = {}, sn = ({
2244
2244
  ] }),
2245
2245
  /* @__PURE__ */ t.jsxs("span", { className: ye.badge, children: [
2246
2246
  /* @__PURE__ */ t.jsx(
2247
- g,
2247
+ p,
2248
2248
  {
2249
2249
  src: un,
2250
2250
  alt: "",
@@ -2257,14 +2257,14 @@ const cn = {}, sn = ({
2257
2257
  a("ctaSecurePayment")
2258
2258
  ] })
2259
2259
  ] });
2260
- }, fn = (a) => /.+@.+\..+/.test(a), hn = (a) => /^\d{10}$/.test(a), pn = (a, i, g) => {
2260
+ }, mn = (a) => /.+@.+\..+/.test(a), hn = (a) => /^\d{10}$/.test(a), pn = (a, i, p) => {
2261
2261
  if (!a.fullName.trim()) return "fullName";
2262
2262
  if (i) {
2263
- if (!fn(a.email.trim())) return "email";
2263
+ if (!mn(a.email.trim())) return "email";
2264
2264
  } else if (!hn((a.phone ?? "").trim())) return "phone";
2265
2265
  if (!a.dateOfBirth) return "dateOfBirth";
2266
2266
  if (!a.birthPlace.trim()) return "birthPlace";
2267
- if (g) {
2267
+ if (p) {
2268
2268
  if (!a.gender) return "gender";
2269
2269
  if (!a.language_code) return "language_code";
2270
2270
  }
@@ -2272,30 +2272,39 @@ const cn = {}, sn = ({
2272
2272
  }, gn = ({
2273
2273
  t: a,
2274
2274
  values: i,
2275
- phoneIsdCode: g,
2276
- hideOriginalPrice: h = !1,
2277
- requireV1ExtraFields: b = !1,
2275
+ phoneIsdCode: p,
2276
+ hideOriginalPrice: g = !1,
2277
+ requireV1ExtraFields: y = !1,
2278
2278
  onValidationFailed: v,
2279
- onProceed: A,
2279
+ onProceed: T,
2280
2280
  href: B,
2281
- analytics: p,
2281
+ analytics: b,
2282
2282
  className: U = "",
2283
2283
  discountedPriceLabel: u
2284
2284
  }) => {
2285
- const j = Se(), l = j?.config.isGlobal ?? !0, F = j?.config?.variant, N = Me(
2286
- () => pn(i, l, b),
2287
- [i, l, b]
2288
- ) === null, z = l ? u ?? a("formDiscountedPrice") : "₹499", E = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2285
+ const R = Se(), l = R?.config.isGlobal ?? !0, F = R?.config?.variant, _ = Me(
2286
+ () => pn(i, l, y),
2287
+ [i, l, y]
2288
+ ), N = _ === null, Q = l ? u ?? a("formDiscountedPrice") : "₹499", E = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2289
2289
  a("formProceed"),
2290
- z
2291
- ] }), x = /* @__PURE__ */ t.jsx(
2290
+ Q
2291
+ ] }), x = (Y) => {
2292
+ if (!N) {
2293
+ _ && v?.(_);
2294
+ return;
2295
+ }
2296
+ T && Y.preventDefault(), b?.trackPrimaryCtaClickedL1?.({ avenue: "form", ...F && { variant: F } });
2297
+ const m = (i.phone ?? "").trim(), P = {
2298
+ ...i,
2299
+ phone: m && `${p}-${m}`
2300
+ };
2301
+ T?.(P);
2302
+ }, H = /* @__PURE__ */ t.jsx(
2292
2303
  Dt,
2293
2304
  {
2294
2305
  href: B,
2295
2306
  disabled: !N,
2296
- onClick: () => {
2297
- p?.trackPrimaryCtaClickedL1?.({ avenue: "form", ...F && { variant: F } }), A?.(i);
2298
- },
2307
+ onClick: x,
2299
2308
  "aria-label": a("formPriceAria"),
2300
2309
  children: E
2301
2310
  }
@@ -2304,26 +2313,26 @@ const cn = {}, sn = ({
2304
2313
  Lt,
2305
2314
  {
2306
2315
  className: U,
2307
- marquee: /* @__PURE__ */ t.jsx(Ot, { children: /* @__PURE__ */ t.jsx(mn, { t: a }) }),
2308
- children: x
2316
+ marquee: /* @__PURE__ */ t.jsx(Ot, { children: /* @__PURE__ */ t.jsx(fn, { t: a }) }),
2317
+ children: H
2309
2318
  }
2310
2319
  );
2311
2320
  }, bn = "https://srm-cdn.a4b.io/yoda/1770362904947.svg", yn = ({
2312
2321
  t: a,
2313
2322
  languageSelector: i,
2314
- logoUrl: g = bn,
2315
- className: h = ""
2323
+ logoUrl: p = bn,
2324
+ className: g = ""
2316
2325
  }) => {
2317
- const b = Se(), v = b?.config.isGlobal ?? !0, A = i != null && !v;
2326
+ const y = Se(), v = y?.config.isGlobal ?? !0, T = i != null && !v;
2318
2327
  return /* @__PURE__ */ t.jsx(
2319
2328
  Bt,
2320
2329
  {
2321
2330
  t: a,
2322
- logoUrl: g,
2323
- imageComponent: b?.config.imageComponent,
2331
+ logoUrl: p,
2332
+ imageComponent: y?.config.imageComponent,
2324
2333
  languageSelector: i,
2325
- showLanguageSelector: A,
2326
- className: h
2334
+ showLanguageSelector: T,
2335
+ className: g
2327
2336
  }
2328
2337
  );
2329
2338
  }, _n = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", kn = (a, i) => lt[a]?.[i] ?? i, vn = {
@@ -2339,59 +2348,59 @@ const cn = {}, sn = ({
2339
2348
  }, Sn = ({
2340
2349
  className: a = "",
2341
2350
  locale: i,
2342
- showLanguageSelector: g = !0,
2343
- onBack: h,
2344
- initialValues: b,
2351
+ showLanguageSelector: p = !0,
2352
+ onBack: g,
2353
+ initialValues: y,
2345
2354
  onProceed: v,
2346
- proceedHref: A,
2355
+ proceedHref: T,
2347
2356
  originalPriceLabel: B,
2348
- discountedPriceLabel: p,
2357
+ discountedPriceLabel: b,
2349
2358
  discountPillLabel: U,
2350
2359
  googleMapsApiKey: u = "",
2351
- analytics: j
2360
+ analytics: R
2352
2361
  }) => {
2353
- const l = Se(), F = $t(), w = l !== null, N = w ? l.locale : i, z = N ?? F?.locale ?? "en", [E, x] = K(z), J = w ? l.locale : E, Q = w ? l.setLocale : x, y = l?.config?.variant, [R, D] = K(!1), q = V(null), L = V(N), H = V(
2362
+ const l = Se(), F = $t(), _ = l !== null, N = _ ? l.locale : i, Q = N ?? F?.locale ?? "en", [E, x] = K(Q), H = _ ? l.locale : E, Y = _ ? l.setLocale : x, m = l?.config?.variant, [P, D] = K(!1), z = J(null), L = J(N), q = J(
2354
2363
  F?.locale
2355
2364
  );
2356
2365
  Z(() => {
2357
2366
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2358
2367
  }, []);
2359
- const C = (P) => kn(J, P);
2368
+ const C = (A) => kn(H, A);
2360
2369
  Z(() => {
2361
- N && L.current !== N && Q(N), L.current = N;
2362
- }, [N, Q]), Z(() => {
2370
+ N && L.current !== N && Y(N), L.current = N;
2371
+ }, [N, Y]), Z(() => {
2363
2372
  if (N) return;
2364
- const P = F?.locale;
2365
- P && H.current !== P && Q(P), H.current = P;
2366
- }, [F?.locale, N, Q]);
2373
+ const A = F?.locale;
2374
+ A && q.current !== A && Y(A), q.current = A;
2375
+ }, [F?.locale, N, Y]);
2367
2376
  const [I, S] = K({
2368
2377
  ...vn,
2369
- ...b,
2370
- phone: b?.phone ?? ""
2371
- }), G = w ? l?.config.isGlobal ?? !0 : !0, [$, Y] = K(
2378
+ ...y,
2379
+ phone: y?.phone ?? ""
2380
+ }), G = _ ? l?.config.isGlobal ?? !0 : !0, [$, V] = K(
2372
2381
  G ? "+1" : "+91"
2373
2382
  );
2374
2383
  Z(() => {
2375
- Y(G ? "+1" : "+91");
2384
+ V(G ? "+1" : "+91");
2376
2385
  }, [G]);
2377
- const W = w ? l.formValues : I, ee = w ? l.setFormValues : S, se = w ? l.goToPage : h, le = w ? l.onProceed : v, de = w ? l.config.proceedHref : A, me = w ? l.config.originalPriceLabel : B, ie = w ? l.config.discountedPriceLabel : p, fe = w ? l.config.showLanguageSelector ?? !0 : g, re = (w ? l?.config?.analytics : j) ?? j;
2386
+ const W = _ ? l.formValues : I, ee = _ ? l.setFormValues : S, se = _ ? l.goToPage : g, le = _ ? l.onProceed : v, de = _ ? l.config.proceedHref : T, fe = _ ? l.config.originalPriceLabel : B, ie = _ ? l.config.discountedPriceLabel : b, me = _ ? l.config.showLanguageSelector ?? !0 : p, re = (_ ? l?.config?.analytics : R) ?? R;
2378
2387
  Z(() => {
2379
- if (!R) return;
2380
- const P = (ge) => {
2381
- q.current && !q.current.contains(ge.target) && D(!1);
2388
+ if (!P) return;
2389
+ const A = (ge) => {
2390
+ z.current && !z.current.contains(ge.target) && D(!1);
2382
2391
  };
2383
- return document.addEventListener("mousedown", P), () => document.removeEventListener("mousedown", P);
2384
- }, [R]);
2385
- const oe = l?.config.imageComponent ?? We, ue = fe ? /* @__PURE__ */ t.jsxs("div", { className: ce.langDropdownWrap, ref: q, children: [
2392
+ return document.addEventListener("mousedown", A), () => document.removeEventListener("mousedown", A);
2393
+ }, [P]);
2394
+ const oe = l?.config.imageComponent ?? We, ue = me ? /* @__PURE__ */ t.jsxs("div", { className: ce.langDropdownWrap, ref: z, children: [
2386
2395
  /* @__PURE__ */ t.jsxs(
2387
2396
  "button",
2388
2397
  {
2389
2398
  type: "button",
2390
2399
  className: ce.langTrigger,
2391
2400
  onClick: () => {
2392
- re?.trackLanguageClickedFe?.({ language: J, ...y && { variant: y } }), D((P) => !P);
2401
+ re?.trackLanguageClickedFe?.({ language: H, ...m && { variant: m } }), D((A) => !A);
2393
2402
  },
2394
- "aria-expanded": R,
2403
+ "aria-expanded": P,
2395
2404
  "aria-haspopup": "listbox",
2396
2405
  id: "kundli-form-lang",
2397
2406
  "aria-label": C("language"),
@@ -2407,30 +2416,30 @@ const cn = {}, sn = ({
2407
2416
  loading: "eager"
2408
2417
  }
2409
2418
  ),
2410
- /* @__PURE__ */ t.jsx("span", { className: ce.langLabel, children: ot[J] })
2419
+ /* @__PURE__ */ t.jsx("span", { className: ce.langLabel, children: ot[H] })
2411
2420
  ]
2412
2421
  }
2413
2422
  ),
2414
- R && /* @__PURE__ */ t.jsx(
2423
+ P && /* @__PURE__ */ t.jsx(
2415
2424
  "ul",
2416
2425
  {
2417
2426
  className: ce.langMenu,
2418
2427
  role: "listbox",
2419
2428
  "aria-labelledby": "kundli-form-lang",
2420
- "aria-activedescendant": `kundli-form-lang-option-${J}`,
2421
- children: st.map((P) => /* @__PURE__ */ t.jsx(
2429
+ "aria-activedescendant": `kundli-form-lang-option-${H}`,
2430
+ children: st.map((A) => /* @__PURE__ */ t.jsx(
2422
2431
  "li",
2423
2432
  {
2424
- id: `kundli-form-lang-option-${P}`,
2433
+ id: `kundli-form-lang-option-${A}`,
2425
2434
  role: "option",
2426
- "aria-selected": P === J,
2435
+ "aria-selected": A === H,
2427
2436
  className: ce.langOption,
2428
2437
  onClick: () => {
2429
- re?.trackLanguageChangedFe?.({ newLanguage: P, ...y && { variant: y } }), Q(P), D(!1);
2438
+ re?.trackLanguageChangedFe?.({ newLanguage: A, ...m && { variant: m } }), Y(A), D(!1);
2430
2439
  },
2431
- children: ot[P]
2440
+ children: ot[A]
2432
2441
  },
2433
- P
2442
+ A
2434
2443
  ))
2435
2444
  }
2436
2445
  )
@@ -2440,7 +2449,7 @@ const cn = {}, sn = ({
2440
2449
  yn,
2441
2450
  {
2442
2451
  t: C,
2443
- logoUrl: w ? l.config.logoUrl : void 0,
2452
+ logoUrl: _ ? l.config.logoUrl : void 0,
2444
2453
  languageSelector: ue,
2445
2454
  className: ce.kundliHeaderNoBorder
2446
2455
  }
@@ -2456,7 +2465,7 @@ const cn = {}, sn = ({
2456
2465
  onChange: ee,
2457
2466
  googleMapsApiKey: u,
2458
2467
  phoneIsdCode: $,
2459
- onPhoneIsdCodeChange: Y
2468
+ onPhoneIsdCodeChange: V
2460
2469
  }
2461
2470
  )
2462
2471
  ] }),
@@ -2468,7 +2477,7 @@ const cn = {}, sn = ({
2468
2477
  phoneIsdCode: $,
2469
2478
  onProceed: le,
2470
2479
  href: de,
2471
- originalPriceLabel: me,
2480
+ originalPriceLabel: fe,
2472
2481
  discountedPriceLabel: ie,
2473
2482
  analytics: re
2474
2483
  }
@@ -2531,4 +2540,4 @@ export {
2531
2540
  lt as t,
2532
2541
  $t as u
2533
2542
  };
2534
- //# sourceMappingURL=analytics-DKlwq0Gp.js.map
2543
+ //# sourceMappingURL=analytics-C00XRFbr.js.map