@srimandir/kundli-generator 5.30.29 → 5.30.31

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,17 +1,17 @@
1
- import Ge, { useContext as We, createContext as ur, useState as H, useRef as q, useEffect as V, useMemo as Ue, useCallback as Ne } from "react";
1
+ import Ge, { useContext as We, createContext as ur, useState as K, useRef as Y, useEffect as q, useMemo as Ue, useCallback as Ne } from "react";
2
2
  import { FormSectionHeader as Mr, FooterCTAButton as $r, FooterShell as Ur, CircularMarquee as Gr, footerShellStyles as ke, PageHeader as Wr } from "@srimandir/astrology-common";
3
3
  var Ie = { exports: {} }, Se = {};
4
4
  var nr;
5
5
  function Kr() {
6
6
  if (nr) return Se;
7
7
  nr = 1;
8
- var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
9
- function w(N, P, I) {
10
- var d, T = {}, p = null, S = null;
11
- I !== void 0 && (p = "" + I), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (S = P.ref);
12
- for (d in P) m.call(P, d) && !R.hasOwnProperty(d) && (T[d] = P[d]);
8
+ var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
9
+ function w(N, P, L) {
10
+ var d, T = {}, p = null, E = null;
11
+ L !== void 0 && (p = "" + L), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (E = P.ref);
12
+ for (d in P) m.call(P, d) && !S.hasOwnProperty(d) && (T[d] = P[d]);
13
13
  if (N && N.defaultProps) for (d in P = N.defaultProps, P) T[d] === void 0 && (T[d] = P[d]);
14
- return { $$typeof: o, type: N, key: p, ref: S, props: T, _owner: k.current };
14
+ return { $$typeof: o, type: N, key: p, ref: E, props: T, _owner: k.current };
15
15
  }
16
16
  return Se.Fragment = c, Se.jsx = w, Se.jsxs = w, Se;
17
17
  }
@@ -19,11 +19,11 @@ var Ee = {};
19
19
  var or;
20
20
  function Hr() {
21
21
  return or || (or = 1, process.env.NODE_ENV !== "production" && (function() {
22
- var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), R = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), I = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, E = "@@iterator";
22
+ var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.portal"), m = /* @__PURE__ */ Symbol.for("react.fragment"), k = /* @__PURE__ */ Symbol.for("react.strict_mode"), S = /* @__PURE__ */ Symbol.for("react.profiler"), w = /* @__PURE__ */ Symbol.for("react.provider"), N = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), L = /* @__PURE__ */ Symbol.for("react.suspense"), d = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), E = /* @__PURE__ */ Symbol.for("react.offscreen"), h = Symbol.iterator, I = "@@iterator";
23
23
  function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
- var i = h && e[h] || e[E];
26
+ var i = h && e[h] || e[I];
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;
@@ -44,16 +44,16 @@ function Hr() {
44
44
  j.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, j);
45
45
  }
46
46
  }
47
- var v = !1, B = !1, Y = !1, Q = !1, X = !1, G;
47
+ var v = !1, F = !1, H = !1, J = !1, Q = !1, G;
48
48
  G = /* @__PURE__ */ Symbol.for("react.module.reference");
49
- function z(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === R || X || e === k || e === I || e === d || Q || e === S || v || B || Y || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === T || e.$$typeof === w || e.$$typeof === N || e.$$typeof === P || // This needs to include all possible module reference object
49
+ function V(e) {
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === S || Q || e === k || e === L || e === d || J || e === E || v || F || H || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === T || e.$$typeof === w || e.$$typeof === N || e.$$typeof === P || // 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
54
  e.$$typeof === G || e.getModuleId !== void 0));
55
55
  }
56
- function ie(e, i, l) {
56
+ function ne(e, i, l) {
57
57
  var u = e.displayName;
58
58
  if (u)
59
59
  return u;
@@ -63,7 +63,7 @@ function Hr() {
63
63
  function oe(e) {
64
64
  return e.displayName || "Context";
65
65
  }
66
- function D(e) {
66
+ function B(e) {
67
67
  if (e == null)
68
68
  return null;
69
69
  if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -75,11 +75,11 @@ function Hr() {
75
75
  return "Fragment";
76
76
  case c:
77
77
  return "Portal";
78
- case R:
78
+ case S:
79
79
  return "Profiler";
80
80
  case k:
81
81
  return "StrictMode";
82
- case I:
82
+ case L:
83
83
  return "Suspense";
84
84
  case d:
85
85
  return "SuspenseList";
@@ -93,14 +93,14 @@ function Hr() {
93
93
  var l = e;
94
94
  return oe(l._context) + ".Provider";
95
95
  case P:
96
- return ie(e, e.render, "ForwardRef");
96
+ return ne(e, e.render, "ForwardRef");
97
97
  case T:
98
98
  var u = e.displayName || null;
99
- return u !== null ? u : D(e.type) || "Memo";
99
+ return u !== null ? u : B(e.type) || "Memo";
100
100
  case p: {
101
101
  var A = e, j = A._payload, y = A._init;
102
102
  try {
103
- return D(y(j));
103
+ return B(y(j));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -108,18 +108,18 @@ function Hr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var F = Object.assign, O = 0, W, he, me, fe, re, K, le;
112
- function te() {
111
+ var O = Object.assign, R = 0, X, pe, he, ue, W, ee, ie;
112
+ function ae() {
113
113
  }
114
- te.__reactDisabledLog = !0;
115
- function de() {
114
+ ae.__reactDisabledLog = !0;
115
+ function le() {
116
116
  {
117
- if (O === 0) {
118
- W = console.log, he = console.info, me = console.warn, fe = console.error, re = console.group, K = console.groupCollapsed, le = console.groupEnd;
117
+ if (R === 0) {
118
+ X = console.log, pe = console.info, he = console.warn, ue = console.error, W = console.group, ee = console.groupCollapsed, ie = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: te,
122
+ value: ae,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,68 +132,68 @@ function Hr() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- O++;
135
+ R++;
136
136
  }
137
137
  }
138
- function Z() {
138
+ function se() {
139
139
  {
140
- if (O--, O === 0) {
140
+ if (R--, R === 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: F({}, e, {
148
- value: W
147
+ log: O({}, e, {
148
+ value: X
149
149
  }),
150
- info: F({}, e, {
151
- value: he
150
+ info: O({}, e, {
151
+ value: pe
152
152
  }),
153
- warn: F({}, e, {
154
- value: me
153
+ warn: O({}, e, {
154
+ value: he
155
155
  }),
156
- error: F({}, e, {
157
- value: fe
156
+ error: O({}, e, {
157
+ value: ue
158
158
  }),
159
- group: F({}, e, {
160
- value: re
159
+ group: O({}, e, {
160
+ value: W
161
161
  }),
162
- groupCollapsed: F({}, e, {
163
- value: K
162
+ groupCollapsed: O({}, e, {
163
+ value: ee
164
164
  }),
165
- groupEnd: F({}, e, {
166
- value: le
165
+ groupEnd: O({}, e, {
166
+ value: ie
167
167
  })
168
168
  });
169
169
  }
170
- O < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
170
+ R < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var ge = b.ReactCurrentDispatcher, ue;
174
- function J(e, i, l) {
173
+ var ge = b.ReactCurrentDispatcher, me;
174
+ function z(e, i, l) {
175
175
  {
176
- if (ue === void 0)
176
+ if (me === void 0)
177
177
  try {
178
178
  throw Error();
179
179
  } catch (A) {
180
180
  var u = A.stack.trim().match(/\n( *(at )?)/);
181
- ue = u && u[1] || "";
181
+ me = u && u[1] || "";
182
182
  }
183
183
  return `
184
- ` + ue + e;
184
+ ` + me + e;
185
185
  }
186
186
  }
187
- var be = !1, se;
187
+ var be = !1, ce;
188
188
  {
189
189
  var we = typeof WeakMap == "function" ? WeakMap : Map;
190
- se = new we();
190
+ ce = new we();
191
191
  }
192
192
  function _e(e, i) {
193
193
  if (!e || be)
194
194
  return "";
195
195
  {
196
- var l = se.get(e);
196
+ var l = ce.get(e);
197
197
  if (l !== void 0)
198
198
  return l;
199
199
  }
@@ -202,7 +202,7 @@ function Hr() {
202
202
  var A = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var j;
205
- j = ge.current, ge.current = null, de();
205
+ j = ge.current, ge.current = null, le();
206
206
  try {
207
207
  if (i) {
208
208
  var y = function() {
@@ -215,50 +215,50 @@ function Hr() {
215
215
  }), typeof Reflect == "object" && Reflect.construct) {
216
216
  try {
217
217
  Reflect.construct(y, []);
218
- } catch (ne) {
219
- u = ne;
218
+ } catch (te) {
219
+ u = te;
220
220
  }
221
221
  Reflect.construct(e, [], y);
222
222
  } else {
223
223
  try {
224
224
  y.call();
225
- } catch (ne) {
226
- u = ne;
225
+ } catch (te) {
226
+ u = te;
227
227
  }
228
228
  e.call(y.prototype);
229
229
  }
230
230
  } else {
231
231
  try {
232
232
  throw Error();
233
- } catch (ne) {
234
- u = ne;
233
+ } catch (te) {
234
+ u = te;
235
235
  }
236
236
  e();
237
237
  }
238
- } catch (ne) {
239
- if (ne && u && typeof ne.stack == "string") {
240
- for (var _ = ne.stack.split(`
241
- `), ee = u.stack.split(`
242
- `), M = _.length - 1, U = ee.length - 1; M >= 1 && U >= 0 && _[M] !== ee[U]; )
238
+ } catch (te) {
239
+ if (te && u && typeof te.stack == "string") {
240
+ for (var _ = te.stack.split(`
241
+ `), Z = u.stack.split(`
242
+ `), M = _.length - 1, U = Z.length - 1; M >= 1 && U >= 0 && _[M] !== Z[U]; )
243
243
  U--;
244
244
  for (; M >= 1 && U >= 0; M--, U--)
245
- if (_[M] !== ee[U]) {
245
+ if (_[M] !== Z[U]) {
246
246
  if (M !== 1 || U !== 1)
247
247
  do
248
- if (M--, U--, U < 0 || _[M] !== ee[U]) {
249
- var ce = `
248
+ if (M--, U--, U < 0 || _[M] !== Z[U]) {
249
+ var de = `
250
250
  ` + _[M].replace(" at new ", " at ");
251
- return e.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", e.displayName)), typeof e == "function" && se.set(e, ce), ce;
251
+ return e.displayName && de.includes("<anonymous>") && (de = de.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, de), de;
252
252
  }
253
253
  while (M >= 1 && U >= 0);
254
254
  break;
255
255
  }
256
256
  }
257
257
  } finally {
258
- be = !1, ge.current = j, Z(), Error.prepareStackTrace = A;
258
+ be = !1, ge.current = j, se(), Error.prepareStackTrace = A;
259
259
  }
260
- var Ae = e ? e.displayName || e.name : "", ve = Ae ? J(Ae) : "";
261
- return typeof e == "function" && se.set(e, ve), ve;
260
+ var Ae = e ? e.displayName || e.name : "", ve = Ae ? z(Ae) : "";
261
+ return typeof e == "function" && ce.set(e, ve), ve;
262
262
  }
263
263
  function xe(e, i, l) {
264
264
  return _e(e, !1);
@@ -273,12 +273,12 @@ function Hr() {
273
273
  if (typeof e == "function")
274
274
  return _e(e, ye(e));
275
275
  if (typeof e == "string")
276
- return J(e);
276
+ return z(e);
277
277
  switch (e) {
278
- case I:
279
- return J("Suspense");
278
+ case L:
279
+ return z("Suspense");
280
280
  case d:
281
- return J("SuspenseList");
281
+ return z("SuspenseList");
282
282
  }
283
283
  if (typeof e == "object")
284
284
  switch (e.$$typeof) {
@@ -296,13 +296,13 @@ function Hr() {
296
296
  }
297
297
  return "";
298
298
  }
299
- var n = Object.prototype.hasOwnProperty, s = {}, L = b.ReactDebugCurrentFrame;
300
- function ae(e) {
299
+ var n = Object.prototype.hasOwnProperty, s = {}, D = b.ReactDebugCurrentFrame;
300
+ function re(e) {
301
301
  if (e) {
302
302
  var i = e._owner, l = x(e.type, e._source, i ? i.type : null);
303
- L.setExtraStackFrame(l);
303
+ D.setExtraStackFrame(l);
304
304
  } else
305
- L.setExtraStackFrame(null);
305
+ D.setExtraStackFrame(null);
306
306
  }
307
307
  function Re(e, i, l, u, A) {
308
308
  {
@@ -312,14 +312,14 @@ function Hr() {
312
312
  var _ = void 0;
313
313
  try {
314
314
  if (typeof e[y] != "function") {
315
- var ee = Error((u || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
- throw ee.name = "Invariant Violation", ee;
315
+ var Z = Error((u || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
316
+ throw Z.name = "Invariant Violation", Z;
317
317
  }
318
318
  _ = e[y](i, y, u, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
319
319
  } catch (M) {
320
320
  _ = M;
321
321
  }
322
- _ && !(_ instanceof Error) && (ae(A), g("%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, y, typeof _), ae(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, ae(A), g("Failed %s type: %s", l, _.message), ae(null));
322
+ _ && !(_ instanceof Error) && (re(A), g("%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, y, typeof _), re(null)), _ instanceof Error && !(_.message in s) && (s[_.message] = !0, re(A), g("Failed %s type: %s", l, _.message), re(null));
323
323
  }
324
324
  }
325
325
  }
@@ -425,8 +425,8 @@ function Hr() {
425
425
  };
426
426
  function Nr(e, i, l, u, A) {
427
427
  {
428
- var j, y = {}, _ = null, ee = null;
429
- l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (ee = i.ref, Pr(i, A));
428
+ var j, y = {}, _ = null, Z = null;
429
+ l !== void 0 && (qe(l), _ = "" + l), xr(i) && (qe(i.key), _ = "" + i.key), wr(i) && (Z = i.ref, Pr(i, A));
430
430
  for (j in i)
431
431
  n.call(i, j) && !kr.hasOwnProperty(j) && (y[j] = i[j]);
432
432
  if (e && e.defaultProps) {
@@ -434,11 +434,11 @@ function Hr() {
434
434
  for (j in M)
435
435
  y[j] === void 0 && (y[j] = M[j]);
436
436
  }
437
- if (_ || ee) {
437
+ if (_ || Z) {
438
438
  var U = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
439
- _ && Ar(y, U), ee && Cr(y, U);
439
+ _ && Ar(y, U), Z && Cr(y, U);
440
440
  }
441
- return jr(e, _, ee, A, u, Ve.current, y);
441
+ return jr(e, _, Z, A, u, Ve.current, y);
442
442
  }
443
443
  }
444
444
  var Fe = b.ReactCurrentOwner, Qe = b.ReactDebugCurrentFrame;
@@ -457,7 +457,7 @@ function Hr() {
457
457
  function Xe() {
458
458
  {
459
459
  if (Fe.current) {
460
- var e = D(Fe.current.type);
460
+ var e = B(Fe.current.type);
461
461
  if (e)
462
462
  return `
463
463
 
@@ -492,7 +492,7 @@ Check the top-level render call using <` + l + ">.");
492
492
  return;
493
493
  Ze[l] = !0;
494
494
  var u = "";
495
- e && e._owner && e._owner !== Fe.current && (u = " It was passed a child from " + D(e._owner.type) + "."), Pe(e), g('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 " + B(e._owner.type) + "."), Pe(e), g('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);
496
496
  }
497
497
  }
498
498
  function rr(e, i) {
@@ -529,11 +529,11 @@ Check the top-level render call using <` + l + ">.");
529
529
  else
530
530
  return;
531
531
  if (l) {
532
- var u = D(i);
532
+ var u = B(i);
533
533
  Re(l, e.props, "prop", u, e);
534
534
  } else if (i.PropTypes !== void 0 && !Oe) {
535
535
  Oe = !0;
536
- var A = D(i);
536
+ var A = B(i);
537
537
  g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
538
538
  }
539
539
  typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -554,37 +554,37 @@ Check the top-level render call using <` + l + ">.");
554
554
  var tr = {};
555
555
  function ar(e, i, l, u, A, j) {
556
556
  {
557
- var y = z(e);
557
+ var y = V(e);
558
558
  if (!y) {
559
559
  var _ = "";
560
560
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (_ += " 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 ee = Tr();
562
- ee ? _ += ee : _ += Xe();
561
+ var Z = Tr();
562
+ Z ? _ += Z : _ += Xe();
563
563
  var M;
564
- e === null ? M = "null" : De(e) ? M = "array" : e !== void 0 && e.$$typeof === o ? (M = "<" + (D(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : M = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, _);
564
+ e === null ? M = "null" : De(e) ? M = "array" : e !== void 0 && e.$$typeof === o ? (M = "<" + (B(e.type) || "Unknown") + " />", _ = " Did you accidentally export a JSX literal instead of a component?") : M = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", M, _);
565
565
  }
566
566
  var U = Nr(e, i, l, A, j);
567
567
  if (U == null)
568
568
  return U;
569
569
  if (y) {
570
- var ce = i.children;
571
- if (ce !== void 0)
570
+ var de = i.children;
571
+ if (de !== void 0)
572
572
  if (u)
573
- if (De(ce)) {
574
- for (var Ae = 0; Ae < ce.length; Ae++)
575
- rr(ce[Ae], e);
576
- Object.freeze && Object.freeze(ce);
573
+ if (De(de)) {
574
+ for (var Ae = 0; Ae < de.length; Ae++)
575
+ rr(de[Ae], e);
576
+ Object.freeze && Object.freeze(de);
577
577
  } else
578
578
  g("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
- rr(ce, e);
580
+ rr(de, e);
581
581
  }
582
582
  if (n.call(i, "key")) {
583
- var ve = D(e), ne = Object.keys(i).filter(function(Or) {
583
+ var ve = B(e), te = Object.keys(i).filter(function(Or) {
584
584
  return Or !== "key";
585
- }), $e = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
585
+ }), $e = te.length > 0 ? "{key: someKey, " + te.join(": ..., ") + ": ...}" : "{key: someKey}";
586
586
  if (!tr[ve + $e]) {
587
- var Fr = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
587
+ var Fr = te.length > 0 ? "{" + te.join(": ..., ") + ": ...}" : "{}";
588
588
  g(`A props object containing a "key" prop is being spread into JSX:
589
589
  let props = %s;
590
590
  <%s {...props} />
@@ -1056,7 +1056,7 @@ const mr = ["en", "hi"], lr = {
1056
1056
  function qr() {
1057
1057
  return We(pr);
1058
1058
  }
1059
- const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", pe = {
1059
+ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBorder_1e1th_12", Qr = "_headerSeparator_1e1th_16", Xr = "_langDropdownWrap_1e1th_21", Zr = "_langTrigger_1e1th_25", et = "_langIcon_1e1th_37", rt = "_langLabel_1e1th_44", tt = "_langMenu_1e1th_49", at = "_langOption_1e1th_55", fe = {
1060
1060
  container: Vr,
1061
1061
  main: zr,
1062
1062
  kundliHeaderNoBorder: Jr,
@@ -1068,13 +1068,13 @@ const Vr = "_container_1e1th_1", zr = "_main_1e1th_7", Jr = "_kundliHeaderNoBord
1068
1068
  langMenu: tt,
1069
1069
  langOption: at
1070
1070
  }, Le = (t) => {
1071
- const { priority: o, fetchPriority: c, width: m, height: k, ...R } = t;
1071
+ const { priority: o, fetchPriority: c, width: m, height: k, ...S } = t;
1072
1072
  return Ge.createElement("img", {
1073
- ...R,
1073
+ ...S,
1074
1074
  width: m ?? 1,
1075
1075
  height: k ?? 1,
1076
1076
  decoding: "async",
1077
- loading: R.loading ?? (o ? "eager" : "lazy"),
1077
+ loading: S.loading ?? (o ? "eager" : "lazy"),
1078
1078
  ...c && { fetchPriority: c }
1079
1079
  });
1080
1080
  };
@@ -1137,76 +1137,74 @@ const Ke = ur(null), st = {
1137
1137
  showSheet: c,
1138
1138
  userId: m,
1139
1139
  isGlobal: k,
1140
- variant: R,
1140
+ variant: S,
1141
1141
  atlasSearchLocalities: w,
1142
1142
  logoUrl: N,
1143
1143
  reportImageUrl: P,
1144
- reportImagePriority: I,
1144
+ reportImagePriority: L,
1145
1145
  backgroundImagePriority: d,
1146
1146
  universityLogoUrls: T,
1147
1147
  sampleReportHref: p,
1148
- onViewSampleReport: S,
1148
+ onViewSampleReport: E,
1149
1149
  ctaHref: h,
1150
- onCtaClick: E,
1150
+ onCtaClick: I,
1151
1151
  onBack: C,
1152
1152
  readMoreReviewsHref: b,
1153
1153
  onProceed: g,
1154
1154
  proceedHref: $,
1155
1155
  originalPriceLabel: v,
1156
- discountedPriceLabel: B,
1157
- discountPillLabel: Y,
1158
- analytics: Q,
1159
- onProceedGuidance: X,
1156
+ discountedPriceLabel: F,
1157
+ discountPillLabel: H,
1158
+ analytics: J,
1159
+ onProceedGuidance: Q,
1160
1160
  onLocaleChange: G,
1161
- imageComponent: z = Le,
1162
- utmBannerImageUrls: ie,
1163
- resolvedUtmBannerImageUrl: oe,
1164
- children: D
1161
+ imageComponent: V = Le,
1162
+ resolvedUtmBannerImageUrl: ne,
1163
+ children: oe
1165
1164
  }) => {
1166
- const [F, O] = H("landing"), [W, he] = H(t ?? "en"), [me, fe] = H(st), re = q(!0);
1167
- V(() => {
1168
- const Z = it();
1169
- Z && he(Z);
1170
- }, []), V(() => {
1171
- lt(W);
1172
- }, [W]), V(() => {
1173
- if (re.current) {
1174
- re.current = !1;
1165
+ const [B, O] = K("landing"), [R, X] = K(t ?? "en"), [pe, he] = K(st), ue = Y(!0);
1166
+ q(() => {
1167
+ const le = it();
1168
+ le && X(le);
1169
+ }, []), q(() => {
1170
+ lt(R);
1171
+ }, [R]), q(() => {
1172
+ if (ue.current) {
1173
+ ue.current = !1;
1175
1174
  return;
1176
1175
  }
1177
- G?.(W);
1178
- }, [W, G]);
1179
- const K = Ue(
1176
+ G?.(R);
1177
+ }, [R, G]);
1178
+ const W = Ue(
1180
1179
  () => ({
1181
1180
  locale: t,
1182
1181
  showLanguageSelector: o,
1183
1182
  showSheet: c,
1184
1183
  userId: m,
1185
1184
  isGlobal: k,
1186
- variant: R,
1185
+ variant: S,
1187
1186
  atlasSearchLocalities: w,
1188
1187
  logoUrl: N,
1189
1188
  reportImageUrl: P,
1190
- reportImagePriority: I,
1189
+ reportImagePriority: L,
1191
1190
  backgroundImagePriority: d,
1192
1191
  universityLogoUrls: T,
1193
1192
  sampleReportHref: p,
1194
- onViewSampleReport: S,
1193
+ onViewSampleReport: E,
1195
1194
  ctaHref: h,
1196
- onCtaClick: E,
1195
+ onCtaClick: I,
1197
1196
  onBack: C,
1198
1197
  readMoreReviewsHref: b,
1199
1198
  onProceed: g,
1200
1199
  proceedHref: $,
1201
1200
  originalPriceLabel: v,
1202
- discountedPriceLabel: B,
1203
- discountPillLabel: Y,
1204
- analytics: Q,
1205
- onProceedGuidance: X,
1201
+ discountedPriceLabel: F,
1202
+ discountPillLabel: H,
1203
+ analytics: J,
1204
+ onProceedGuidance: Q,
1206
1205
  onLocaleChange: G,
1207
- imageComponent: z,
1208
- utmBannerImageUrls: ie,
1209
- resolvedUtmBannerImageUrl: oe
1206
+ imageComponent: V,
1207
+ resolvedUtmBannerImageUrl: ne
1210
1208
  }),
1211
1209
  [
1212
1210
  t,
@@ -1214,51 +1212,50 @@ const Ke = ur(null), st = {
1214
1212
  c,
1215
1213
  m,
1216
1214
  k,
1217
- R,
1215
+ S,
1218
1216
  w,
1219
1217
  N,
1220
1218
  P,
1221
- I,
1219
+ L,
1222
1220
  d,
1223
1221
  T,
1224
1222
  p,
1225
- S,
1226
- h,
1227
1223
  E,
1224
+ h,
1225
+ I,
1228
1226
  C,
1229
1227
  b,
1230
1228
  g,
1231
1229
  $,
1232
1230
  v,
1233
- B,
1234
- Y,
1231
+ F,
1232
+ H,
1233
+ J,
1235
1234
  Q,
1236
- X,
1237
1235
  G,
1238
- z,
1239
- ie,
1240
- oe
1236
+ V,
1237
+ ne
1241
1238
  ]
1242
- ), le = Ne(() => {
1239
+ ), ee = Ne(() => {
1243
1240
  O("form");
1244
- }, [K.analytics]), te = Ne(() => {
1245
- O("landing"), K.onBack?.();
1246
- }, [K.onBack]), de = Ue(
1241
+ }, [W.analytics]), ie = Ne(() => {
1242
+ O("landing"), W.onBack?.();
1243
+ }, [W.onBack]), ae = Ue(
1247
1244
  () => ({
1248
- view: F,
1249
- locale: W,
1250
- setLocale: he,
1251
- config: K,
1252
- formValues: me,
1253
- setFormValues: fe,
1254
- goToForm: le,
1255
- goToPage: te,
1256
- onProceed: K.onProceed,
1257
- onProceedGuidance: K.onProceedGuidance
1245
+ view: B,
1246
+ locale: R,
1247
+ setLocale: X,
1248
+ config: W,
1249
+ formValues: pe,
1250
+ setFormValues: he,
1251
+ goToForm: ee,
1252
+ goToPage: ie,
1253
+ onProceed: W.onProceed,
1254
+ onProceedGuidance: W.onProceedGuidance
1258
1255
  }),
1259
- [F, W, K, me, le, te]
1256
+ [B, R, W, pe, ee, ie]
1260
1257
  );
1261
- return /* @__PURE__ */ r.jsx(Ke.Provider, { value: de, children: D });
1258
+ return /* @__PURE__ */ r.jsx(Ke.Provider, { value: ae, children: oe });
1262
1259
  };
1263
1260
  function Te() {
1264
1261
  return We(Ke);
@@ -1348,8 +1345,8 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1348
1345
  restrictCountry: t?.restrictCountry
1349
1346
  };
1350
1347
  }, ma = (t) => {
1351
- const { searchLocalities: o, restrictCountry: c } = t, [m, k] = H([]), [R, w] = H(!1), [N, P] = H(null), I = q(0);
1352
- V(() => {
1348
+ const { searchLocalities: o, restrictCountry: c } = t, [m, k] = K([]), [S, w] = K(!1), [N, P] = K(null), L = Y(0);
1349
+ q(() => {
1353
1350
  P(null);
1354
1351
  }, [o]);
1355
1352
  const d = Ne(
@@ -1358,12 +1355,12 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1358
1355
  k([]);
1359
1356
  return;
1360
1357
  }
1361
- const S = ++I.current;
1358
+ const E = ++L.current;
1362
1359
  w(!0), P(null);
1363
1360
  try {
1364
- const h = ua({ restrictCountry: c }), E = await o(p, h);
1365
- if (S !== I.current) return;
1366
- const C = (E || []).filter(
1361
+ const h = ua({ restrictCountry: c }), I = await o(p, h);
1362
+ if (E !== L.current) return;
1363
+ const C = (I || []).filter(
1367
1364
  (b) => !!b?.id && !!b?.description && cr(b?.lat) && cr(b?.lng)
1368
1365
  ).map((b) => ({
1369
1366
  id: b.id,
@@ -1374,17 +1371,17 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1374
1371
  }));
1375
1372
  k(C);
1376
1373
  } catch (h) {
1377
- if (S !== I.current) return;
1374
+ if (E !== L.current) return;
1378
1375
  k([]), P(h?.message || "Failed to fetch locations");
1379
1376
  } finally {
1380
- S === I.current && w(!1);
1377
+ E === L.current && w(!1);
1381
1378
  }
1382
1379
  },
1383
1380
  [c, o]
1384
1381
  ), T = Ne(() => k([]), []);
1385
1382
  return {
1386
1383
  predictions: m,
1387
- isSearching: R,
1384
+ isSearching: S,
1388
1385
  loadError: N,
1389
1386
  searchPlaces: d,
1390
1387
  clearPredictions: T
@@ -1472,15 +1469,15 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1472
1469
  onChange: c,
1473
1470
  phoneIsdCode: m,
1474
1471
  onPhoneIsdCodeChange: k,
1475
- showV1ExtraFields: R = !1,
1472
+ showV1ExtraFields: S = !1,
1476
1473
  analytics: w,
1477
1474
  atlasSearchLocalities: N,
1478
1475
  className: P = ""
1479
1476
  }) => {
1480
- const I = Te(), d = I?.config?.analytics ?? w, T = I?.config.isGlobal ?? !0, p = I?.config?.atlasSearchLocalities, [S, h] = H(!1), [E, C] = H(""), b = q(null), g = q(null), $ = q({}), v = (n) => c({ ...o, ...n }), B = (n, s) => {
1477
+ const L = Te(), d = L?.config?.analytics ?? w, T = L?.config.isGlobal ?? !0, p = L?.config?.atlasSearchLocalities, [E, h] = K(!1), [I, C] = K(""), b = Y(null), g = Y(null), $ = Y({}), v = (n) => c({ ...o, ...n }), F = (n, s) => {
1481
1478
  if (n === "phone") {
1482
- const L = pa(s, m, $.current);
1483
- L.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: L.fullPhone });
1479
+ const D = pa(s, m, $.current);
1480
+ D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
1484
1481
  return;
1485
1482
  }
1486
1483
  s.trim() && !$.current[n] && ($.current[n] = !0, {
@@ -1490,85 +1487,85 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1490
1487
  birthTime: () => d?.trackTimeFilled?.(),
1491
1488
  birthPlace: () => d?.trackPlaceOfBirthChosen?.()
1492
1489
  }[n]?.());
1493
- }, Y = E.trim().toLowerCase(), Q = gr.filter((n) => Y ? n.country.toLowerCase().includes(Y) || n.code.includes(Y) : !0), X = q(null);
1494
- q(null);
1495
- const G = q(null), z = q(0), ie = q(null), [oe, D] = H(!1), [F, O] = H({ hour12: 12, minute: "00", meridiem: "AM" }), W = (n) => String(n).padStart(2, "0"), he = (n) => {
1490
+ }, H = I.trim().toLowerCase(), J = gr.filter((n) => H ? n.country.toLowerCase().includes(H) || n.code.includes(H) : !0), Q = Y(null);
1491
+ Y(null);
1492
+ const G = Y(null), V = Y(0), ne = Y(null), [oe, B] = K(!1), [O, R] = K({ hour12: 12, minute: "00", meridiem: "AM" }), X = (n) => String(n).padStart(2, "0"), pe = (n) => {
1496
1493
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1497
1494
  if (!s) return n;
1498
- const L = Number(s[1]), ae = s[2], Re = L >= 12 ? "PM" : "AM";
1499
- return `${L % 12 === 0 ? 12 : L % 12}:${ae} ${Re}`;
1500
- }, me = (n) => {
1495
+ const D = Number(s[1]), re = s[2], Re = D >= 12 ? "PM" : "AM";
1496
+ return `${D % 12 === 0 ? 12 : D % 12}:${re} ${Re}`;
1497
+ }, he = (n) => {
1501
1498
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1502
1499
  if (!s) return { hour12: 12, minute: "00", meridiem: "AM" };
1503
- const L = Number(s[1]), ae = s[2], Re = L >= 12 ? "PM" : "AM";
1504
- return { hour12: L % 12 === 0 ? 12 : L % 12, minute: ae, meridiem: Re };
1505
- }, fe = (n) => {
1506
- const s = Math.min(12, Math.max(1, n.hour12)), L = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1507
- let ae = s % 12;
1508
- return n.meridiem === "PM" && (ae += 12), `${W(ae)}:${L}`;
1509
- }, re = q(null), [K, le] = H(!1), [te, de] = H(
1500
+ const D = Number(s[1]), re = s[2], Re = D >= 12 ? "PM" : "AM";
1501
+ return { hour12: D % 12 === 0 ? 12 : D % 12, minute: re, meridiem: Re };
1502
+ }, ue = (n) => {
1503
+ const s = Math.min(12, Math.max(1, n.hour12)), D = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1504
+ let re = s % 12;
1505
+ return n.meridiem === "PM" && (re += 12), `${X(re)}:${D}`;
1506
+ }, W = Y(null), [ee, ie] = K(!1), [ae, le] = K(
1510
1507
  null
1511
- ), Z = (o.birthPlace ?? "").trim(), ge = T ? void 0 : "in", ue = N ?? p, J = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = Z.length > 0 && !J && !K, {
1512
- predictions: se,
1508
+ ), se = (o.birthPlace ?? "").trim(), ge = T ? void 0 : "in", me = N ?? p, z = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = se.length > 0 && !z && !ee, {
1509
+ predictions: ce,
1513
1510
  isSearching: we,
1514
1511
  loadError: _e,
1515
1512
  searchPlaces: xe,
1516
1513
  clearPredictions: ye
1517
1514
  } = ma({
1518
- searchLocalities: ue,
1515
+ searchLocalities: me,
1519
1516
  restrictCountry: ge
1520
1517
  });
1521
- V(() => {
1518
+ q(() => {
1522
1519
  const n = (s) => {
1523
- re.current && (re.current.contains(s.target) || le(!1));
1520
+ W.current && (W.current.contains(s.target) || ie(!1));
1524
1521
  };
1525
1522
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1526
- }, []), V(() => {
1523
+ }, []), q(() => {
1527
1524
  const n = (s) => {
1528
1525
  b.current && (b.current.contains(s.target) || (h(!1), C("")));
1529
1526
  };
1530
1527
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1531
- }, []), V(() => {
1532
- if (!S) return;
1528
+ }, []), q(() => {
1529
+ if (!E) return;
1533
1530
  const n = window.setTimeout(() => {
1534
1531
  g.current?.focus();
1535
1532
  }, 0);
1536
1533
  return () => window.clearTimeout(n);
1537
- }, [S]), V(() => {
1538
- if (!K) return;
1539
- if (Z.length < 2) {
1534
+ }, [E]), q(() => {
1535
+ if (!ee) return;
1536
+ if (se.length < 2) {
1540
1537
  ye();
1541
1538
  return;
1542
1539
  }
1543
1540
  const n = window.setTimeout(async () => {
1544
- await xe(Z);
1541
+ await xe(se);
1545
1542
  }, 250);
1546
1543
  return () => window.clearTimeout(n);
1547
- }, [ye, K, Z, xe]);
1544
+ }, [ye, ee, se, xe]);
1548
1545
  const x = (n) => {
1549
1546
  const s = n.current;
1550
1547
  if (!(!s || s.disabled)) {
1551
- if (document.activeElement === s && G.current === s && Date.now() - z.current < 6e4) {
1548
+ if (document.activeElement === s && G.current === s && Date.now() - V.current < 6e4) {
1552
1549
  s.blur();
1553
1550
  return;
1554
1551
  }
1555
1552
  if (typeof s.showPicker == "function") {
1556
- s.showPicker(), G.current = s, z.current = Date.now();
1553
+ s.showPicker(), G.current = s, V.current = Date.now();
1557
1554
  return;
1558
1555
  }
1559
- s.focus(), G.current = s, z.current = Date.now();
1556
+ s.focus(), G.current = s, V.current = Date.now();
1560
1557
  }
1561
1558
  };
1562
- return V(() => {
1559
+ return q(() => {
1563
1560
  const n = (s) => {
1564
- ie.current && (ie.current.contains(s.target) || D(!1));
1561
+ ne.current && (ne.current.contains(s.target) || B(!1));
1565
1562
  };
1566
1563
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1567
- }, []), V(() => {
1568
- const n = (L) => {
1569
- L.target?.closest?.("[data-info-tooltip]") == null && de(null);
1570
- }, s = (L) => {
1571
- L.key === "Escape" && de(null);
1564
+ }, []), q(() => {
1565
+ const n = (D) => {
1566
+ D.target?.closest?.("[data-info-tooltip]") == null && le(null);
1567
+ }, s = (D) => {
1568
+ D.key === "Escape" && le(null);
1572
1569
  };
1573
1570
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1574
1571
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1594,7 +1591,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1594
1591
  onFocus: () => d?.trackNameSectionClicked?.(),
1595
1592
  onChange: (n) => {
1596
1593
  const s = n.target.value;
1597
- v({ fullName: s }), B("fullName", s);
1594
+ v({ fullName: s }), F("fullName", s);
1598
1595
  },
1599
1596
  placeholder: t("formFullNamePlaceholder"),
1600
1597
  autoComplete: "name"
@@ -1614,7 +1611,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1614
1611
  type: "button",
1615
1612
  className: a.isdSelectTrigger,
1616
1613
  "aria-haspopup": "listbox",
1617
- "aria-expanded": S,
1614
+ "aria-expanded": E,
1618
1615
  onClick: () => {
1619
1616
  h((n) => !n), C("");
1620
1617
  },
@@ -1631,7 +1628,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1631
1628
  onFocus: () => d?.trackPhoneSectionClicked?.(),
1632
1629
  onChange: (n) => {
1633
1630
  const s = n.target.value;
1634
- v({ phone: dr(s) }), B("phone", dr(s));
1631
+ v({ phone: dr(s) }), F("phone", dr(s));
1635
1632
  },
1636
1633
  placeholder: t("formPhonePlaceholder"),
1637
1634
  autoComplete: "tel",
@@ -1643,7 +1640,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1643
1640
  }
1644
1641
  )
1645
1642
  ] }),
1646
- S && /* @__PURE__ */ r.jsxs(
1643
+ E && /* @__PURE__ */ r.jsxs(
1647
1644
  "div",
1648
1645
  {
1649
1646
  className: a.isdDropdown,
@@ -1655,14 +1652,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1655
1652
  {
1656
1653
  ref: g,
1657
1654
  type: "text",
1658
- value: E,
1655
+ value: I,
1659
1656
  onChange: (n) => C(n.target.value),
1660
1657
  placeholder: "Search country",
1661
1658
  className: a.isdSearchInput,
1662
1659
  "aria-label": "Search country"
1663
1660
  }
1664
1661
  ) }),
1665
- Q.length > 0 ? Q.map((n) => /* @__PURE__ */ r.jsxs(
1662
+ J.length > 0 ? J.map((n) => /* @__PURE__ */ r.jsxs(
1666
1663
  "button",
1667
1664
  {
1668
1665
  type: "button",
@@ -1684,7 +1681,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1684
1681
  )
1685
1682
  ] }) })
1686
1683
  ] }),
1687
- R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1684
+ S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
1688
1685
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
1689
1686
  t("formGender"),
1690
1687
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -1748,7 +1745,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1748
1745
  onFocus: () => d?.trackEmailSectionClicked?.(),
1749
1746
  onChange: (n) => {
1750
1747
  const s = n.target.value;
1751
- v({ email: s }), B("email", s);
1748
+ v({ email: s }), F("email", s);
1752
1749
  },
1753
1750
  placeholder: t("formEmailPlaceholder"),
1754
1751
  autoComplete: "email",
@@ -1770,9 +1767,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1770
1767
  type: "button",
1771
1768
  className: a.infoBtn,
1772
1769
  "aria-label": t("info"),
1773
- "aria-expanded": te === "dob",
1770
+ "aria-expanded": ae === "dob",
1774
1771
  onClick: () => {
1775
- de((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1772
+ le((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1776
1773
  },
1777
1774
  children: /* @__PURE__ */ r.jsx(
1778
1775
  "img",
@@ -1785,7 +1782,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1785
1782
  )
1786
1783
  }
1787
1784
  ),
1788
- te === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1785
+ ae === "dob" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1789
1786
  t("formDobInfo"),
1790
1787
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1791
1788
  ] })
@@ -1798,20 +1795,20 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1798
1795
  id: "kundli-dob",
1799
1796
  className: a.input,
1800
1797
  type: "date",
1801
- ref: X,
1798
+ ref: Q,
1802
1799
  value: o.dateOfBirth,
1803
1800
  max: (() => {
1804
1801
  const n = /* @__PURE__ */ new Date();
1805
- return `${n.getFullYear()}-${W(n.getMonth() + 1)}-${W(n.getDate())}`;
1802
+ return `${n.getFullYear()}-${X(n.getMonth() + 1)}-${X(n.getDate())}`;
1806
1803
  })(),
1807
1804
  onChange: (n) => {
1808
- const s = n.target.value, L = /* @__PURE__ */ new Date(), ae = `${L.getFullYear()}-${W(L.getMonth() + 1)}-${W(L.getDate())}`;
1809
- s && s > ae || (v({ dateOfBirth: s }), B("dateOfBirth", s), G.current = null);
1805
+ const s = n.target.value, D = /* @__PURE__ */ new Date(), re = `${D.getFullYear()}-${X(D.getMonth() + 1)}-${X(D.getDate())}`;
1806
+ s && s > re || (v({ dateOfBirth: s }), F("dateOfBirth", s), G.current = null);
1810
1807
  },
1811
1808
  onFocus: () => d?.trackDobClicked?.(),
1812
- onClick: () => x(X),
1809
+ onClick: () => x(Q),
1813
1810
  onBlur: () => {
1814
- G.current === X.current && (G.current = null);
1811
+ G.current === Q.current && (G.current = null);
1815
1812
  }
1816
1813
  }
1817
1814
  ),
@@ -1823,7 +1820,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1823
1820
  "aria-label": "Open date picker",
1824
1821
  onMouseDown: (n) => n.preventDefault(),
1825
1822
  onClick: (n) => {
1826
- n.preventDefault(), n.stopPropagation(), x(X);
1823
+ n.preventDefault(), n.stopPropagation(), x(Q);
1827
1824
  },
1828
1825
  children: /* @__PURE__ */ r.jsx(
1829
1826
  "img",
@@ -1851,9 +1848,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1851
1848
  type: "button",
1852
1849
  className: a.infoBtn,
1853
1850
  "aria-label": t("info"),
1854
- "aria-expanded": te === "time",
1851
+ "aria-expanded": ae === "time",
1855
1852
  onClick: () => {
1856
- d?.trackInfoIconClicked?.({ fieldName: "time" }), de((n) => n === "time" ? null : "time");
1853
+ d?.trackInfoIconClicked?.({ fieldName: "time" }), le((n) => n === "time" ? null : "time");
1857
1854
  },
1858
1855
  children: /* @__PURE__ */ r.jsx(
1859
1856
  "img",
@@ -1866,30 +1863,30 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1866
1863
  )
1867
1864
  }
1868
1865
  ),
1869
- te === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1866
+ ae === "time" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
1870
1867
  t("formBirthTimeInfo"),
1871
1868
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
1872
1869
  ] })
1873
1870
  ] })
1874
1871
  ] }),
1875
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ie, children: [
1872
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: ne, children: [
1876
1873
  /* @__PURE__ */ r.jsx(
1877
1874
  "input",
1878
1875
  {
1879
1876
  id: "kundli-birth-time",
1880
1877
  className: a.input,
1881
1878
  type: "text",
1882
- value: o.birthTime ? he(o.birthTime) : "",
1879
+ value: o.birthTime ? pe(o.birthTime) : "",
1883
1880
  readOnly: !0,
1884
1881
  onFocus: () => d?.trackTimeClicked?.(),
1885
1882
  onChange: (n) => {
1886
1883
  const s = n.target.value;
1887
- v({ birthTime: s }), B("birthTime", s);
1884
+ v({ birthTime: s }), F("birthTime", s);
1888
1885
  },
1889
1886
  disabled: o.birthTimeUnknown,
1890
1887
  placeholder: "HH:MM AM",
1891
1888
  onClick: () => {
1892
- o.birthTimeUnknown || (O(me(o.birthTime || "12:00")), D((n) => !n));
1889
+ o.birthTimeUnknown || (R(he(o.birthTime || "12:00")), B((n) => !n));
1893
1890
  }
1894
1891
  }
1895
1892
  ),
@@ -1902,7 +1899,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1902
1899
  disabled: o.birthTimeUnknown,
1903
1900
  onMouseDown: (n) => n.preventDefault(),
1904
1901
  onClick: (n) => {
1905
- n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (O(me(o.birthTime || "12:00")), D((s) => !s));
1902
+ n.preventDefault(), n.stopPropagation(), !o.birthTimeUnknown && (R(he(o.birthTime || "12:00")), B((s) => !s));
1906
1903
  },
1907
1904
  children: /* @__PURE__ */ r.jsx(
1908
1905
  "img",
@@ -1927,8 +1924,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1927
1924
  "select",
1928
1925
  {
1929
1926
  className: a.timePickerSelect,
1930
- value: F.hour12,
1931
- onChange: (n) => O((s) => ({
1927
+ value: O.hour12,
1928
+ onChange: (n) => R((s) => ({
1932
1929
  ...s,
1933
1930
  hour12: Number(n.target.value)
1934
1931
  })),
@@ -1941,10 +1938,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1941
1938
  "select",
1942
1939
  {
1943
1940
  className: a.timePickerSelect,
1944
- value: F.minute,
1945
- onChange: (n) => O((s) => ({ ...s, minute: n.target.value })),
1941
+ value: O.minute,
1942
+ onChange: (n) => R((s) => ({ ...s, minute: n.target.value })),
1946
1943
  "aria-label": "Minute",
1947
- children: Array.from({ length: 60 }, (n, s) => W(s)).map(
1944
+ children: Array.from({ length: 60 }, (n, s) => X(s)).map(
1948
1945
  (n) => /* @__PURE__ */ r.jsx("option", { value: n, children: n }, n)
1949
1946
  )
1950
1947
  }
@@ -1954,8 +1951,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1954
1951
  "button",
1955
1952
  {
1956
1953
  type: "button",
1957
- className: `${a.meridiemBtn} ${F.meridiem === "AM" ? a.meridiemActive : ""}`,
1958
- onClick: () => O((n) => ({ ...n, meridiem: "AM" })),
1954
+ className: `${a.meridiemBtn} ${O.meridiem === "AM" ? a.meridiemActive : ""}`,
1955
+ onClick: () => R((n) => ({ ...n, meridiem: "AM" })),
1959
1956
  children: "AM"
1960
1957
  }
1961
1958
  ),
@@ -1963,8 +1960,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1963
1960
  "button",
1964
1961
  {
1965
1962
  type: "button",
1966
- className: `${a.meridiemBtn} ${F.meridiem === "PM" ? a.meridiemActive : ""}`,
1967
- onClick: () => O((n) => ({ ...n, meridiem: "PM" })),
1963
+ className: `${a.meridiemBtn} ${O.meridiem === "PM" ? a.meridiemActive : ""}`,
1964
+ onClick: () => R((n) => ({ ...n, meridiem: "PM" })),
1968
1965
  children: "PM"
1969
1966
  }
1970
1967
  )
@@ -1976,7 +1973,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1976
1973
  {
1977
1974
  type: "button",
1978
1975
  className: a.timePopoverBtn,
1979
- onClick: () => D(!1),
1976
+ onClick: () => B(!1),
1980
1977
  children: "Cancel"
1981
1978
  }
1982
1979
  ),
@@ -1986,8 +1983,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1986
1983
  type: "button",
1987
1984
  className: `${a.timePopoverBtn} ${a.timePopoverOk}`,
1988
1985
  onClick: () => {
1989
- const n = fe(F);
1990
- v({ birthTime: n }), B("birthTime", n), D(!1);
1986
+ const n = ue(O);
1987
+ v({ birthTime: n }), F("birthTime", n), B(!1);
1991
1988
  },
1992
1989
  "aria-label": "OK",
1993
1990
  children: /* @__PURE__ */ r.jsx(
@@ -2061,11 +2058,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2061
2058
  type: "button",
2062
2059
  className: a.infoBtn,
2063
2060
  "aria-label": t("info"),
2064
- "aria-expanded": te === "place",
2061
+ "aria-expanded": ae === "place",
2065
2062
  onClick: () => {
2066
2063
  d?.trackInfoIconClicked?.({
2067
2064
  fieldName: "birthPlace"
2068
- }), de((n) => n === "place" ? null : "place");
2065
+ }), le((n) => n === "place" ? null : "place");
2069
2066
  },
2070
2067
  children: /* @__PURE__ */ r.jsx(
2071
2068
  "img",
@@ -2078,13 +2075,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2078
2075
  )
2079
2076
  }
2080
2077
  ),
2081
- te === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2078
+ ae === "place" && /* @__PURE__ */ r.jsxs("div", { className: a.tooltip, role: "tooltip", children: [
2082
2079
  t("formBirthPlaceInfo"),
2083
2080
  /* @__PURE__ */ r.jsx("span", { className: a.tooltipArrow, "aria-hidden": !0 })
2084
2081
  ] })
2085
2082
  ] })
2086
2083
  ] }),
2087
- /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: re, children: [
2084
+ /* @__PURE__ */ r.jsxs("div", { className: a.inputWrap, ref: W, children: [
2088
2085
  /* @__PURE__ */ r.jsx(
2089
2086
  "input",
2090
2087
  {
@@ -2098,10 +2095,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2098
2095
  birthPlace: s,
2099
2096
  birthPlaceLat: void 0,
2100
2097
  birthPlaceLng: void 0
2101
- }), B("birthPlace", s), le(!0);
2098
+ }), F("birthPlace", s), ie(!0);
2102
2099
  },
2103
2100
  onFocus: () => {
2104
- d?.trackPlaceOfBirthClicked?.(), le(!0);
2101
+ d?.trackPlaceOfBirthClicked?.(), ie(!0);
2105
2102
  },
2106
2103
  placeholder: t("formBirthPlacePlaceholder"),
2107
2104
  autoComplete: "address-level2"
@@ -2116,7 +2113,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2116
2113
  "aria-hidden": !0
2117
2114
  }
2118
2115
  ) }),
2119
- K && se.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: se.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2116
+ ee && ce.length > 0 && /* @__PURE__ */ r.jsx("div", { className: a.suggestions, role: "listbox", children: ce.slice(0, 8).map((n) => /* @__PURE__ */ r.jsxs(
2120
2117
  "button",
2121
2118
  {
2122
2119
  type: "button",
@@ -2126,7 +2123,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2126
2123
  birthPlace: n.description,
2127
2124
  birthPlaceLat: n.lat,
2128
2125
  birthPlaceLng: n.lng
2129
- }), ye(), le(!1);
2126
+ }), ye(), ie(!1);
2130
2127
  },
2131
2128
  children: [
2132
2129
  /* @__PURE__ */ r.jsx("span", { className: a.suggestionMain, children: n.description }),
@@ -2135,12 +2132,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2135
2132
  },
2136
2133
  n.id
2137
2134
  )) }),
2138
- K && !!ue && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2139
- K && !!ue && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
2135
+ ee && !!me && we && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: "Loading…" }),
2136
+ ee && !!me && !we && !!_e && /* @__PURE__ */ r.jsx("div", { className: a.suggestionsHint, children: _e })
2140
2137
  ] }),
2141
2138
  be && /* @__PURE__ */ r.jsx("p", { className: a.fieldError, children: "Please select a place from the dropdown list." })
2142
2139
  ] }),
2143
- R && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2140
+ S && /* @__PURE__ */ r.jsxs("div", { className: a.field, children: [
2144
2141
  /* @__PURE__ */ r.jsx("div", { className: a.labelRow, children: /* @__PURE__ */ r.jsxs("label", { className: a.label, children: [
2145
2142
  t("formReportLanguage"),
2146
2143
  /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
@@ -2342,55 +2339,55 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2342
2339
  phoneIsdCode: c,
2343
2340
  requireV1ExtraFields: m = !1,
2344
2341
  onValidationFailed: k,
2345
- onProceed: R,
2342
+ onProceed: S,
2346
2343
  onProceedGuidance: w,
2347
2344
  href: N,
2348
2345
  analytics: P,
2349
- className: I = "",
2346
+ className: L = "",
2350
2347
  discountedPriceLabel: d,
2351
2348
  discountPillLabel: T,
2352
2349
  showPlanSheet: p,
2353
- confirmPlan: S,
2350
+ confirmPlan: E,
2354
2351
  planSheetOpen: h,
2355
- selectedPlan: E
2352
+ selectedPlan: I
2356
2353
  }) => {
2357
- const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, v] = H(!1), B = Ue(
2354
+ const C = Te(), b = C?.config.isGlobal ?? !0, g = C?.config?.variant, [$, v] = K(!1), F = Ue(
2358
2355
  () => ja(o, b, m),
2359
2356
  [o, b, m]
2360
- ), Y = B === null, Q = g === "v1" && C?.config?.showSheet;
2361
- V(() => {
2357
+ ), H = F === null, J = g === "v1" && C?.config?.showSheet;
2358
+ q(() => {
2362
2359
  if (!$) return;
2363
2360
  const oe = window.setTimeout(() => {
2364
2361
  v(!1);
2365
2362
  }, 2200);
2366
2363
  return () => window.clearTimeout(oe);
2367
2364
  }, [$]);
2368
- const X = b ? d ?? t("formDiscountedPrice") : Q ? "" : "₹499", G = C?.config.imageComponent ?? Le, z = (oe) => {
2369
- if (oe.preventDefault(), g === "v1" && !Y && P?.trackKundliDetailedClicked?.(), !Y) {
2370
- B && (k?.(
2371
- B === "birthPlaceCoordinates" ? "birthPlace" : B
2372
- ), B === "birthPlaceCoordinates" && v(!0));
2365
+ const Q = b ? d ?? t("formDiscountedPrice") : J ? "" : "₹499", G = C?.config.imageComponent ?? Le, V = (oe) => {
2366
+ if (oe.preventDefault(), g === "v1" && !H && P?.trackKundliDetailedClicked?.(), !H) {
2367
+ F && (k?.(
2368
+ F === "birthPlaceCoordinates" ? "birthPlace" : F
2369
+ ), F === "birthPlaceCoordinates" && v(!0));
2373
2370
  return;
2374
2371
  }
2375
- const D = !!w && g === "v1" && E?.id === br, F = (o.phone ?? "").trim(), O = {
2372
+ const B = !!w && g === "v1" && I?.id === br, O = (o.phone ?? "").trim(), R = {
2376
2373
  ...o,
2377
- phone: F && `${c}-${F}`
2374
+ phone: O && `${c}-${O}`
2378
2375
  };
2379
- if (Q) {
2380
- h ? S?.() : p?.(O);
2376
+ if (J) {
2377
+ h ? E?.() : p?.(R);
2381
2378
  return;
2382
2379
  }
2383
- P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), D ? w(O) : R?.(O);
2384
- }, ie = /* @__PURE__ */ r.jsx(
2380
+ P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), B ? w(R) : S?.(R);
2381
+ }, ne = /* @__PURE__ */ r.jsx(
2385
2382
  $r,
2386
2383
  {
2387
2384
  href: N,
2388
- disabled: g === "v1" ? !1 : !Y,
2389
- onClick: z,
2385
+ disabled: g === "v1" ? !1 : !H,
2386
+ onClick: V,
2390
2387
  "aria-label": t("formPriceAria"),
2391
- className: g === "v1" && Y ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
2392
- children: g === "v1" ? Y ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2393
- Q ? t("selectPackage") : h && E ? `${t("proceedWithPlan")}${E.price}` : `${t("formProceed")} ${X}`,
2388
+ className: g === "v1" && H ? je.ctaFilled : g === "v1" ? je.ctaButton : void 0,
2389
+ children: g === "v1" ? H ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2390
+ J ? t("selectPackage") : h && I ? `${t("proceedWithPlan")}${I.price}` : `${t("formProceed")} ${Q}`,
2394
2391
  /* @__PURE__ */ r.jsx(
2395
2392
  G,
2396
2393
  {
@@ -2405,18 +2402,18 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2405
2402
  ] }) : t("formCtaDefault") : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
2406
2403
  t("formProceed"),
2407
2404
  " ",
2408
- X
2405
+ Q
2409
2406
  ] })
2410
2407
  }
2411
2408
  );
2412
2409
  return /* @__PURE__ */ r.jsxs(
2413
2410
  Ur,
2414
2411
  {
2415
- className: `${je.footerContainer} ${I}`,
2412
+ className: `${je.footerContainer} ${L}`,
2416
2413
  marquee: /* @__PURE__ */ r.jsx(Gr, { children: /* @__PURE__ */ r.jsx(Pa, { t }) }),
2417
2414
  children: [
2418
2415
  $ && /* @__PURE__ */ r.jsx("div", { className: je.validationToast, role: "alert", "aria-live": "assertive", children: t("formFillAllFields") }),
2419
- ie
2416
+ ne
2420
2417
  ]
2421
2418
  }
2422
2419
  );
@@ -2426,7 +2423,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2426
2423
  logoUrl: c = Ta,
2427
2424
  className: m = ""
2428
2425
  }) => {
2429
- const k = Te(), R = k?.config.isGlobal ?? !0, w = o != null && !R;
2426
+ const k = Te(), S = k?.config.isGlobal ?? !0, w = o != null && !S;
2430
2427
  return /* @__PURE__ */ r.jsx(
2431
2428
  Wr,
2432
2429
  {
@@ -2539,7 +2536,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2539
2536
  /* @__PURE__ */ r.jsx(La, {}),
2540
2537
  /* @__PURE__ */ r.jsx("span", { children: t })
2541
2538
  ] }), jn = ({ plan: t, isSelected: o, onSelect: c, t: m }) => {
2542
- const k = () => c(t.id), R = (w) => {
2539
+ const k = () => c(t.id), S = (w) => {
2543
2540
  (w.key === " " || w.key === "Enter") && (w.preventDefault(), c(t.id));
2544
2541
  };
2545
2542
  return /* @__PURE__ */ r.jsxs(
@@ -2554,7 +2551,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2554
2551
  role: "radio",
2555
2552
  "aria-checked": o,
2556
2553
  tabIndex: 0,
2557
- onKeyDown: R,
2554
+ onKeyDown: S,
2558
2555
  "data-plan-id": t.id,
2559
2556
  children: [
2560
2557
  t.badge && /* @__PURE__ */ r.jsx(Cn, { label: m?.(t.badge) ?? t.badge }),
@@ -2649,12 +2646,12 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2649
2646
  selectedPlan: c,
2650
2647
  onSelectPlan: m,
2651
2648
  plans: k,
2652
- onProceed: R,
2649
+ onProceed: S,
2653
2650
  t: w,
2654
2651
  analytics: N
2655
2652
  }) => {
2656
- const I = Te()?.config.isGlobal ?? !0, d = k ?? Tn(I), T = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = q(null), S = q(null), h = q(!1);
2657
- V(() => {
2653
+ const L = Te()?.config.isGlobal ?? !0, d = k ?? Tn(L), T = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = Y(null), E = Y(null), h = Y(!1);
2654
+ q(() => {
2658
2655
  if (t) {
2659
2656
  if (!c) {
2660
2657
  const C = d.find((b) => b.badge) ?? d[0];
@@ -2664,10 +2661,10 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2664
2661
  } else
2665
2662
  h.current = !1;
2666
2663
  }, [t, d, c, m, N]);
2667
- const E = () => {
2664
+ const I = () => {
2668
2665
  N?.trackPlanPageClosed?.(), o();
2669
2666
  };
2670
- return V(() => {
2667
+ return q(() => {
2671
2668
  if (!t) return;
2672
2669
  const C = document.body.style.overflow;
2673
2670
  return document.body.style.overflow = "hidden", () => {
@@ -2690,13 +2687,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2690
2687
  xn,
2691
2688
  {
2692
2689
  title: w?.("planSheetTitle") ?? "Choose Your Kundli Plan",
2693
- onBack: E
2690
+ onBack: I
2694
2691
  }
2695
2692
  ),
2696
2693
  /* @__PURE__ */ r.jsx(
2697
2694
  "div",
2698
2695
  {
2699
- ref: S,
2696
+ ref: E,
2700
2697
  className: f.plansContainer,
2701
2698
  role: "radiogroup",
2702
2699
  "aria-label": "Kundli plans",
@@ -2727,7 +2724,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2727
2724
  c && (N?.trackPlanProceedClicked?.({
2728
2725
  planId: c.id,
2729
2726
  planName: c.title
2730
- }), R(c), o());
2727
+ }), S(c), o());
2731
2728
  },
2732
2729
  children: c ? w?.("planProceedToPayment") ?? c.price + "Proceed to Payment" : "Select a plan"
2733
2730
  }
@@ -2755,91 +2752,91 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2755
2752
  showLanguageSelector: c = !0,
2756
2753
  onBack: m,
2757
2754
  initialValues: k,
2758
- onProceed: R,
2755
+ onProceed: S,
2759
2756
  onProceedGuidance: w,
2760
2757
  proceedHref: N,
2761
2758
  originalPriceLabel: P,
2762
- discountedPriceLabel: I,
2759
+ discountedPriceLabel: L,
2763
2760
  atlasSearchLocalities: d,
2764
2761
  analytics: T
2765
2762
  }) => {
2766
- const p = Te(), S = qr(), h = p !== null, E = h ? p.locale : o, C = E ?? S?.locale ?? "en", [b, g] = H(C), $ = h ? p.locale : b, v = h ? p.setLocale : g, [B, Y] = H(!1), Q = q(null), X = q(E), G = q(
2767
- S?.locale
2763
+ const p = Te(), E = qr(), h = p !== null, I = h ? p.locale : o, C = I ?? E?.locale ?? "en", [b, g] = K(C), $ = h ? p.locale : b, v = h ? p.setLocale : g, [F, H] = K(!1), J = Y(null), Q = Y(I), G = Y(
2764
+ E?.locale
2768
2765
  );
2769
- V(() => {
2766
+ q(() => {
2770
2767
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2771
2768
  }, []);
2772
- const z = (x) => En($, x);
2773
- V(() => {
2774
- E && X.current !== E && v(E), X.current = E;
2775
- }, [E, v]), V(() => {
2776
- if (E) return;
2777
- const x = S?.locale;
2769
+ const V = (x) => En($, x);
2770
+ q(() => {
2771
+ I && Q.current !== I && v(I), Q.current = I;
2772
+ }, [I, v]), q(() => {
2773
+ if (I) return;
2774
+ const x = E?.locale;
2778
2775
  x && G.current !== x && v(x), G.current = x;
2779
- }, [S?.locale, E, v]);
2780
- const [ie, oe] = H({
2776
+ }, [E?.locale, I, v]);
2777
+ const [ne, oe] = K({
2781
2778
  ...In,
2782
2779
  ...k,
2783
2780
  phone: k?.phone ?? ""
2784
- }), D = h ? p?.config.isGlobal ?? !0 : !0, [F, O] = H(
2785
- D ? "+1" : "+91"
2781
+ }), B = h ? p?.config.isGlobal ?? !0 : !0, [O, R] = K(
2782
+ B ? "+1" : "+91"
2786
2783
  );
2787
- V(() => {
2788
- O(D ? "+1" : "+91");
2789
- }, [D]);
2790
- const W = h ? p.formValues : ie, he = h ? p.setFormValues : oe, me = h ? p.goToPage : m, fe = h ? p.onProceed : R, re = h ? p.onProceedGuidance : w, K = h ? p.config.proceedHref : N, le = h ? p.config.originalPriceLabel : P, te = h ? p.config.discountedPriceLabel : I, de = h ? p.config.showLanguageSelector ?? !0 : c, Z = (h ? p?.config?.analytics : T) ?? T;
2791
- V(() => {
2792
- if (!B) return;
2784
+ q(() => {
2785
+ R(B ? "+1" : "+91");
2786
+ }, [B]);
2787
+ const X = h ? p.formValues : ne, pe = h ? p.setFormValues : oe, he = h ? p.goToPage : m, ue = h ? p.onProceed : S, W = h ? p.onProceedGuidance : w, ee = h ? p.config.proceedHref : N, ie = h ? p.config.originalPriceLabel : P, ae = h ? p.config.discountedPriceLabel : L, le = h ? p.config.showLanguageSelector ?? !0 : c, se = (h ? p?.config?.analytics : T) ?? T;
2788
+ q(() => {
2789
+ if (!F) return;
2793
2790
  const x = (n) => {
2794
- Q.current && !Q.current.contains(n.target) && Y(!1);
2791
+ J.current && !J.current.contains(n.target) && H(!1);
2795
2792
  };
2796
2793
  return document.addEventListener("mousedown", x), () => document.removeEventListener("mousedown", x);
2797
- }, [B]);
2798
- const [ge, ue] = H(!1), [J, be] = H(null), se = q(null), we = Ne((x) => {
2799
- se.current = x, ue(!0);
2794
+ }, [F]);
2795
+ const [ge, me] = K(!1), [z, be] = K(null), ce = Y(null), we = Ne((x) => {
2796
+ ce.current = x, me(!0);
2800
2797
  }, []), _e = Ne(() => {
2801
- if (!se.current || !J) return;
2802
- Z?.trackPlanProceedClicked?.({
2803
- planId: J.id,
2804
- planName: J.title,
2805
- price: J.price,
2806
- currency: D ? "USD" : "INR"
2798
+ if (!ce.current || !z) return;
2799
+ se?.trackPlanProceedClicked?.({
2800
+ planId: z.id,
2801
+ planName: z.title,
2802
+ price: z.price,
2803
+ currency: B ? "USD" : "INR"
2807
2804
  });
2808
- const x = { ...se.current, _selectedPlan: J };
2809
- J.id === br && re ? re(x) : fe?.(x), ue(!1), se.current = null;
2810
- }, [J, fe, re]), xe = p?.config.imageComponent ?? Le, ye = de ? /* @__PURE__ */ r.jsxs("div", { className: pe.langDropdownWrap, ref: Q, children: [
2805
+ const x = { ...ce.current, _selectedPlan: z };
2806
+ z.id === br && W ? W(x) : ue?.(x), me(!1), ce.current = null;
2807
+ }, [z, ue, W]), xe = p?.config.imageComponent ?? Le, ye = le ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: J, children: [
2811
2808
  /* @__PURE__ */ r.jsxs(
2812
2809
  "button",
2813
2810
  {
2814
2811
  type: "button",
2815
- className: pe.langTrigger,
2812
+ className: fe.langTrigger,
2816
2813
  onClick: () => {
2817
- Z?.trackLanguageClickedFe?.({ language: $ }), Y((x) => !x);
2814
+ se?.trackLanguageClickedFe?.({ language: $ }), H((x) => !x);
2818
2815
  },
2819
- "aria-expanded": B,
2816
+ "aria-expanded": F,
2820
2817
  "aria-haspopup": "listbox",
2821
2818
  id: "kundli-form-lang",
2822
- "aria-label": z("language"),
2819
+ "aria-label": V("language"),
2823
2820
  children: [
2824
2821
  /* @__PURE__ */ r.jsx(
2825
2822
  xe,
2826
2823
  {
2827
2824
  src: Sn,
2828
2825
  alt: "",
2829
- className: pe.langIcon,
2826
+ className: fe.langIcon,
2830
2827
  width: 16,
2831
2828
  height: 16,
2832
2829
  loading: "eager"
2833
2830
  }
2834
2831
  ),
2835
- /* @__PURE__ */ r.jsx("span", { className: pe.langLabel, children: lr[$] })
2832
+ /* @__PURE__ */ r.jsx("span", { className: fe.langLabel, children: lr[$] })
2836
2833
  ]
2837
2834
  }
2838
2835
  ),
2839
- B && /* @__PURE__ */ r.jsx(
2836
+ F && /* @__PURE__ */ r.jsx(
2840
2837
  "ul",
2841
2838
  {
2842
- className: pe.langMenu,
2839
+ className: fe.langMenu,
2843
2840
  role: "listbox",
2844
2841
  "aria-labelledby": "kundli-form-lang",
2845
2842
  "aria-activedescendant": `kundli-form-lang-option-${$}`,
@@ -2849,9 +2846,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2849
2846
  id: `kundli-form-lang-option-${x}`,
2850
2847
  role: "option",
2851
2848
  "aria-selected": x === $,
2852
- className: pe.langOption,
2849
+ className: fe.langOption,
2853
2850
  onClick: () => {
2854
- Z?.trackLanguageChangedFe?.({ newLanguage: x }), v(x), Y(!1);
2851
+ se?.trackLanguageChangedFe?.({ newLanguage: x }), v(x), H(!1);
2855
2852
  },
2856
2853
  children: lr[x]
2857
2854
  },
@@ -2860,61 +2857,61 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2860
2857
  }
2861
2858
  )
2862
2859
  ] }) : null;
2863
- return /* @__PURE__ */ r.jsxs("div", { className: `${pe.container} ${t}`, children: [
2860
+ return /* @__PURE__ */ r.jsxs("div", { className: `${fe.container} ${t}`, children: [
2864
2861
  /* @__PURE__ */ r.jsx(
2865
2862
  Ra,
2866
2863
  {
2867
- t: z,
2864
+ t: V,
2868
2865
  logoUrl: h ? p.config.logoUrl : void 0,
2869
2866
  languageSelector: ye,
2870
- className: pe.kundliHeaderNoBorder
2867
+ className: fe.kundliHeaderNoBorder
2871
2868
  }
2872
2869
  ),
2873
- /* @__PURE__ */ r.jsx("div", { className: pe.headerSeparator, "aria-hidden": !0 }),
2874
- /* @__PURE__ */ r.jsxs("main", { className: pe.main, children: [
2875
- /* @__PURE__ */ r.jsx(ut, { t: z, onBack: me }),
2870
+ /* @__PURE__ */ r.jsx("div", { className: fe.headerSeparator, "aria-hidden": !0 }),
2871
+ /* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
2872
+ /* @__PURE__ */ r.jsx(ut, { t: V, onBack: he }),
2876
2873
  /* @__PURE__ */ r.jsx(
2877
2874
  ha,
2878
2875
  {
2879
- t: z,
2880
- values: W,
2881
- onChange: he,
2876
+ t: V,
2877
+ values: X,
2878
+ onChange: pe,
2882
2879
  atlasSearchLocalities: d,
2883
- phoneIsdCode: F,
2884
- onPhoneIsdCodeChange: O
2880
+ phoneIsdCode: O,
2881
+ onPhoneIsdCodeChange: R
2885
2882
  }
2886
2883
  )
2887
2884
  ] }),
2888
2885
  /* @__PURE__ */ r.jsx(
2889
2886
  Na,
2890
2887
  {
2891
- t: z,
2892
- values: W,
2893
- phoneIsdCode: F,
2894
- onProceed: fe,
2895
- onProceedGuidance: re,
2896
- href: K,
2897
- originalPriceLabel: le,
2898
- discountedPriceLabel: te,
2899
- analytics: Z,
2888
+ t: V,
2889
+ values: X,
2890
+ phoneIsdCode: O,
2891
+ onProceed: ue,
2892
+ onProceedGuidance: W,
2893
+ href: ee,
2894
+ originalPriceLabel: ie,
2895
+ discountedPriceLabel: ae,
2896
+ analytics: se,
2900
2897
  showPlanSheet: we,
2901
2898
  confirmPlan: _e,
2902
2899
  planSheetOpen: ge,
2903
- selectedPlan: J
2900
+ selectedPlan: z
2904
2901
  }
2905
2902
  ),
2906
2903
  p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2907
2904
  Rn,
2908
2905
  {
2909
2906
  isOpen: ge,
2910
- onClose: () => ue(!1),
2911
- selectedPlan: J,
2907
+ onClose: () => me(!1),
2908
+ selectedPlan: z,
2912
2909
  onSelectPlan: be,
2913
2910
  onProceed: () => {
2914
2911
  _e?.();
2915
2912
  },
2916
- t: z,
2917
- analytics: Z
2913
+ t: V,
2914
+ analytics: se
2918
2915
  }
2919
2916
  )
2920
2917
  ] });
@@ -2975,14 +2972,14 @@ export {
2975
2972
  ha as U,
2976
2973
  hr as a,
2977
2974
  Ke as b,
2978
- Un as c,
2979
- Mn as d,
2980
- it as e,
2981
- lt as f,
2975
+ Mn as c,
2976
+ it as d,
2977
+ lt as e,
2978
+ Te as f,
2982
2979
  nt as g,
2983
- Te as h,
2980
+ $n as h,
2984
2981
  On as i,
2985
- $n as j,
2982
+ Un as j,
2986
2983
  r as k,
2987
2984
  Ra as l,
2988
2985
  Na as m,
@@ -2992,4 +2989,4 @@ export {
2992
2989
  fr as t,
2993
2990
  qr as u
2994
2991
  };
2995
- //# sourceMappingURL=analytics-BMER7yJn.js.map
2992
+ //# sourceMappingURL=analytics-B0Qcb00q.js.map