kundli-generator 2.0.10 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  import jt, { createContext as Nt, useContext as Ve, useState as K, useRef as q, useEffect as G, useMemo as Fe, useCallback as Te } from "react";
2
2
  import * as Ye from "pdfjs-dist";
3
- var Oe = { exports: {} }, Se = {};
3
+ var Oe = { exports: {} }, Ce = {};
4
4
  var pt;
5
5
  function rn() {
6
- if (pt) return Se;
6
+ if (pt) return Ce;
7
7
  pt = 1;
8
8
  var n = jt, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, i = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
9
9
  function f(u, c, b) {
@@ -13,9 +13,9 @@ function rn() {
13
13
  if (u && u.defaultProps) for (p in c = u.defaultProps, c) _[p] === void 0 && (_[p] = c[p]);
14
14
  return { $$typeof: r, type: u, key: x, ref: T, props: _, _owner: i.current };
15
15
  }
16
- return Se.Fragment = l, Se.jsx = f, Se.jsxs = f, Se;
16
+ return Ce.Fragment = l, Ce.jsx = f, Ce.jsxs = f, Ce;
17
17
  }
18
- var Ce = {};
18
+ var Se = {};
19
19
  var ht;
20
20
  function on() {
21
21
  return ht || (ht = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -38,16 +38,16 @@ function on() {
38
38
  {
39
39
  var y = I.ReactDebugCurrentFrame, E = y.getStackAddendum();
40
40
  E !== "" && (o += "%s", m = m.concat([E]));
41
- var C = m.map(function(P) {
41
+ var S = m.map(function(P) {
42
42
  return String(P);
43
43
  });
44
- C.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, C);
44
+ S.unshift("Warning: " + o), Function.prototype.apply.call(console[t], console, S);
45
45
  }
46
46
  }
47
- var M = !1, S = !1, z = !1, $ = !1, Y = !1, O;
47
+ var M = !1, C = !1, z = !1, D = !1, Y = !1, O;
48
48
  O = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function H(t) {
50
- return !!(typeof t == "string" || typeof t == "function" || t === d || t === h || Y || t === i || t === b || t === p || $ || t === T || M || S || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === f || t.$$typeof === u || t.$$typeof === c || // This needs to include all possible module reference object
50
+ return !!(typeof t == "string" || typeof t == "function" || t === d || t === h || Y || t === i || t === b || t === p || D || t === T || M || C || z || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === _ || t.$$typeof === f || t.$$typeof === u || t.$$typeof === c || // 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.
@@ -98,9 +98,9 @@ function on() {
98
98
  var y = t.displayName || null;
99
99
  return y !== null ? y : U(t.type) || "Memo";
100
100
  case x: {
101
- var E = t, C = E._payload, P = E._init;
101
+ var E = t, S = E._payload, P = E._init;
102
102
  try {
103
- return U(P(C));
103
+ return U(P(S));
104
104
  } catch {
105
105
  return null;
106
106
  }
@@ -170,7 +170,7 @@ function on() {
170
170
  ee < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var D = I.ReactCurrentDispatcher, te;
173
+ var $ = I.ReactCurrentDispatcher, te;
174
174
  function me(t, o, m) {
175
175
  {
176
176
  if (te === void 0)
@@ -201,8 +201,8 @@ function on() {
201
201
  Ae = !0;
202
202
  var E = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
- var C;
205
- C = D.current, D.current = null, a();
204
+ var S;
205
+ S = $.current, $.current = null, a();
206
206
  try {
207
207
  if (o) {
208
208
  var P = function() {
@@ -255,7 +255,7 @@ function on() {
255
255
  }
256
256
  }
257
257
  } finally {
258
- Ae = !1, D.current = C, g(), Error.prepareStackTrace = E;
258
+ Ae = !1, $.current = S, g(), Error.prepareStackTrace = E;
259
259
  }
260
260
  var je = t ? t.displayName || t.name : "", ve = je ? me(je) : "";
261
261
  return typeof t == "function" && Le.set(t, ve), ve;
@@ -263,15 +263,15 @@ function on() {
263
263
  function Lt(t, o, m) {
264
264
  return Xe(t, !1);
265
265
  }
266
- function Dt(t) {
266
+ function $t(t) {
267
267
  var o = t.prototype;
268
268
  return !!(o && o.isReactComponent);
269
269
  }
270
- function De(t, o, m) {
270
+ function $e(t, o, m) {
271
271
  if (t == null)
272
272
  return "";
273
273
  if (typeof t == "function")
274
- return Xe(t, Dt(t));
274
+ return Xe(t, $t(t));
275
275
  if (typeof t == "string")
276
276
  return me(t);
277
277
  switch (t) {
@@ -285,11 +285,11 @@ function on() {
285
285
  case c:
286
286
  return Lt(t.render);
287
287
  case _:
288
- return De(t.type, o, m);
288
+ return $e(t.type, o, m);
289
289
  case x: {
290
- var y = t, E = y._payload, C = y._init;
290
+ var y = t, E = y._payload, S = y._init;
291
291
  try {
292
- return De(C(E), o, m);
292
+ return $e(S(E), o, m);
293
293
  } catch {
294
294
  }
295
295
  }
@@ -297,18 +297,18 @@ function on() {
297
297
  return "";
298
298
  }
299
299
  var Ee = Object.prototype.hasOwnProperty, Ze = {}, et = I.ReactDebugCurrentFrame;
300
- function $e(t) {
300
+ function De(t) {
301
301
  if (t) {
302
- var o = t._owner, m = De(t.type, t._source, o ? o.type : null);
302
+ var o = t._owner, m = $e(t.type, t._source, o ? o.type : null);
303
303
  et.setExtraStackFrame(m);
304
304
  } else
305
305
  et.setExtraStackFrame(null);
306
306
  }
307
- function $t(t, o, m, y, E) {
307
+ function Dt(t, o, m, y, E) {
308
308
  {
309
- var C = Function.call.bind(Ee);
309
+ var S = Function.call.bind(Ee);
310
310
  for (var P in t)
311
- if (C(t, P)) {
311
+ if (S(t, P)) {
312
312
  var N = void 0;
313
313
  try {
314
314
  if (typeof t[P] != "function") {
@@ -319,7 +319,7 @@ function on() {
319
319
  } catch (F) {
320
320
  N = F;
321
321
  }
322
- N && !(N instanceof Error) && ($e(E), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", y || "React class", m, P, typeof N), $e(null)), N instanceof Error && !(N.message in Ze) && (Ze[N.message] = !0, $e(E), k("Failed %s type: %s", m, N.message), $e(null));
322
+ N && !(N instanceof Error) && (De(E), k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", y || "React class", m, P, typeof N), De(null)), N instanceof Error && !(N.message in Ze) && (Ze[N.message] = !0, De(E), k("Failed %s type: %s", m, N.message), De(null));
323
323
  }
324
324
  }
325
325
  }
@@ -394,7 +394,7 @@ function on() {
394
394
  });
395
395
  }
396
396
  }
397
- var Ht = function(t, o, m, y, E, C, P) {
397
+ var Ht = function(t, o, m, y, E, S, P) {
398
398
  var N = {
399
399
  // This tag allows us to uniquely identify this as a React Element
400
400
  $$typeof: r,
@@ -404,7 +404,7 @@ function on() {
404
404
  ref: m,
405
405
  props: P,
406
406
  // Record the component responsible for creating this element.
407
- _owner: C
407
+ _owner: S
408
408
  };
409
409
  return N._store = {}, Object.defineProperty(N._store, "validated", {
410
410
  configurable: !1,
@@ -425,14 +425,14 @@ function on() {
425
425
  };
426
426
  function Yt(t, o, m, y, E) {
427
427
  {
428
- var C, P = {}, N = null, Q = null;
428
+ var S, P = {}, N = null, Q = null;
429
429
  m !== void 0 && (nt(m), N = "" + m), Wt(o) && (nt(o.key), N = "" + o.key), Ut(o) && (Q = o.ref, qt(o, E));
430
- for (C in o)
431
- Ee.call(o, C) && !Mt.hasOwnProperty(C) && (P[C] = o[C]);
430
+ for (S in o)
431
+ Ee.call(o, S) && !Mt.hasOwnProperty(S) && (P[S] = o[S]);
432
432
  if (t && t.defaultProps) {
433
433
  var F = t.defaultProps;
434
- for (C in F)
435
- P[C] === void 0 && (P[C] = F[C]);
434
+ for (S in F)
435
+ P[S] === void 0 && (P[S] = F[S]);
436
436
  }
437
437
  if (N || Q) {
438
438
  var W = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
@@ -444,7 +444,7 @@ function on() {
444
444
  var We = I.ReactCurrentOwner, it = I.ReactDebugCurrentFrame;
445
445
  function we(t) {
446
446
  if (t) {
447
- var o = t._owner, m = De(t.type, t._source, o ? o.type : null);
447
+ var o = t._owner, m = $e(t.type, t._source, o ? o.type : null);
448
448
  it.setExtraStackFrame(m);
449
449
  } else
450
450
  it.setExtraStackFrame(null);
@@ -509,7 +509,7 @@ Check the top-level render call using <` + m + ">.");
509
509
  else if (t) {
510
510
  var E = w(t);
511
511
  if (typeof E == "function" && E !== t.entries)
512
- for (var C = E.call(t), P; !(P = C.next()).done; )
512
+ for (var S = E.call(t), P; !(P = S.next()).done; )
513
513
  Ke(P.value) && lt(P.value, o);
514
514
  }
515
515
  }
@@ -530,7 +530,7 @@ Check the top-level render call using <` + m + ">.");
530
530
  return;
531
531
  if (m) {
532
532
  var y = U(o);
533
- $t(m, t.props, "prop", y, t);
533
+ Dt(m, t.props, "prop", y, t);
534
534
  } else if (o.PropTypes !== void 0 && !qe) {
535
535
  qe = !0;
536
536
  var E = U(o);
@@ -552,7 +552,7 @@ Check the top-level render call using <` + m + ">.");
552
552
  }
553
553
  }
554
554
  var ut = {};
555
- function mt(t, o, m, y, E, C) {
555
+ function mt(t, o, m, y, E, S) {
556
556
  {
557
557
  var P = H(t);
558
558
  if (!P) {
@@ -563,7 +563,7 @@ Check the top-level render call using <` + m + ">.");
563
563
  var F;
564
564
  t === null ? F = "null" : Ue(t) ? F = "array" : t !== void 0 && t.$$typeof === r ? (F = "<" + (U(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : F = typeof t, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", F, N);
565
565
  }
566
- var W = Yt(t, o, m, E, C);
566
+ var W = Yt(t, o, m, E, S);
567
567
  if (W == null)
568
568
  return W;
569
569
  if (P) {
@@ -603,8 +603,8 @@ React keys must be passed directly to JSX without using spread:
603
603
  return mt(t, o, m, !1);
604
604
  }
605
605
  var en = Zt, tn = Xt;
606
- Ce.Fragment = d, Ce.jsx = en, Ce.jsxs = tn;
607
- })()), Ce;
606
+ Se.Fragment = d, Se.jsx = en, Se.jsxs = tn;
607
+ })()), Se;
608
608
  }
609
609
  var ft;
610
610
  function sn() {
@@ -945,7 +945,7 @@ const cn = "_container_nm3gb_1", ln = "_main_nm3gb_6", dn = "_langDropdownWrap_n
945
945
  formDiscountedPrice: "$25",
946
946
  formPriceAria: "कीमत"
947
947
  }
948
- }, Pt = Nt(null), vi = ({
948
+ }, Pt = Nt(null), bi = ({
949
949
  locale: n,
950
950
  children: r
951
951
  }) => {
@@ -983,14 +983,14 @@ function Tn(n, r) {
983
983
  } catch {
984
984
  }
985
985
  }
986
- function ki(n) {
986
+ function vi(n) {
987
987
  if (!(typeof window > "u" || !window.localStorage))
988
988
  try {
989
989
  window.localStorage.removeItem(n);
990
990
  } catch {
991
991
  }
992
992
  }
993
- function yi() {
993
+ function ki() {
994
994
  if (typeof window > "u" || !window.localStorage)
995
995
  return !1;
996
996
  try {
@@ -1008,7 +1008,7 @@ function An() {
1008
1008
  function En(n) {
1009
1009
  Tn(At, n);
1010
1010
  }
1011
- const Je = Nt(null), Sn = {
1011
+ const Je = Nt(null), Cn = {
1012
1012
  fullName: "",
1013
1013
  phone: "",
1014
1014
  email: "",
@@ -1016,7 +1016,7 @@ const Je = Nt(null), Sn = {
1016
1016
  birthTime: "",
1017
1017
  birthTimeUnknown: !1,
1018
1018
  birthPlace: ""
1019
- }, Cn = ({
1019
+ }, Sn = ({
1020
1020
  locale: n,
1021
1021
  showLanguageSelector: r = !0,
1022
1022
  userId: l,
@@ -1039,19 +1039,19 @@ const Je = Nt(null), Sn = {
1039
1039
  onLocaleChange: A,
1040
1040
  children: M
1041
1041
  }) => {
1042
- const [S, z] = K("landing"), [$, Y] = K(n ?? "en"), [O, H] = K(Sn), X = q(!0);
1042
+ const [C, z] = K("landing"), [D, Y] = K(n ?? "en"), [O, H] = K(Cn), X = q(!0);
1043
1043
  G(() => {
1044
1044
  const ue = An();
1045
1045
  ue && Y(ue);
1046
1046
  }, []), G(() => {
1047
- En($);
1048
- }, [$]), G(() => {
1047
+ En(D);
1048
+ }, [D]), G(() => {
1049
1049
  if (X.current) {
1050
1050
  X.current = !1;
1051
1051
  return;
1052
1052
  }
1053
- A?.($);
1054
- }, [$, A]);
1053
+ A?.(D);
1054
+ }, [D, A]);
1055
1055
  const B = Fe(
1056
1056
  () => ({
1057
1057
  locale: n,
@@ -1103,8 +1103,8 @@ const Je = Nt(null), Sn = {
1103
1103
  z("landing"), B.onBack?.();
1104
1104
  }, [B.onBack]), ee = Fe(
1105
1105
  () => ({
1106
- view: S,
1107
- locale: $,
1106
+ view: C,
1107
+ locale: D,
1108
1108
  setLocale: Y,
1109
1109
  config: B,
1110
1110
  formValues: O,
@@ -1113,7 +1113,7 @@ const Je = Nt(null), Sn = {
1113
1113
  goToPage: V,
1114
1114
  onProceed: B.onProceed
1115
1115
  }),
1116
- [S, $, B, O, U, V]
1116
+ [C, D, B, O, U, V]
1117
1117
  );
1118
1118
  return /* @__PURE__ */ e.jsx(Je.Provider, { value: ee, children: M });
1119
1119
  };
@@ -1126,12 +1126,12 @@ function Et() {
1126
1126
  throw new Error("useKundliContextOrThrow must be used within KundliProvider");
1127
1127
  return n;
1128
1128
  }
1129
- const In = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", Dn = "_titleWrap_1414z_21", $n = "_title_1414z_21", On = "_subtitle_1414z_32", Bn = "_backIcon_1414z_38", ke = {
1129
+ const In = "_header_1414z_1", Rn = "_left_1414z_7", Ln = "_backBtn_1414z_11", $n = "_titleWrap_1414z_21", Dn = "_title_1414z_21", On = "_subtitle_1414z_32", Bn = "_backIcon_1414z_38", ke = {
1130
1130
  header: In,
1131
1131
  left: Rn,
1132
1132
  backBtn: Ln,
1133
- titleWrap: Dn,
1134
- title: $n,
1133
+ titleWrap: $n,
1134
+ title: Dn,
1135
1135
  subtitle: On,
1136
1136
  backIcon: Bn
1137
1137
  }, Fn = () => /* @__PURE__ */ e.jsx(
@@ -1270,21 +1270,21 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1270
1270
  sessionToken: j.current ?? void 0
1271
1271
  };
1272
1272
  d && (A.componentRestrictions = { country: d });
1273
- const M = await new Promise((S, z) => {
1273
+ const M = await new Promise((C, z) => {
1274
1274
  x.current.getPlacePredictions(
1275
1275
  A,
1276
- ($, Y) => {
1277
- Y === google.maps.places.PlacesServiceStatus.OK && $ ? S($) : Y === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? S([]) : z(new Error(`Places API error: ${Y}`));
1276
+ (D, Y) => {
1277
+ Y === google.maps.places.PlacesServiceStatus.OK && D ? C(D) : Y === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? C([]) : z(new Error(`Places API error: ${Y}`));
1278
1278
  }
1279
1279
  );
1280
1280
  });
1281
1281
  u(
1282
- M.map((S) => ({
1283
- place_id: S.place_id,
1284
- description: S.description,
1282
+ M.map((C) => ({
1283
+ place_id: C.place_id,
1284
+ description: C.description,
1285
1285
  structured_formatting: {
1286
- main_text: S.structured_formatting?.main_text || S.description,
1287
- secondary_text: S.structured_formatting?.secondary_text || ""
1286
+ main_text: C.structured_formatting?.main_text || C.description,
1287
+ secondary_text: C.structured_formatting?.secondary_text || ""
1288
1288
  }
1289
1289
  }))
1290
1290
  );
@@ -1314,16 +1314,16 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1314
1314
  }
1315
1315
  );
1316
1316
  j.current = new google.maps.places.AutocompleteSessionToken();
1317
- const M = A.geometry?.location?.lat() || 0, S = A.geometry?.location?.lng() || 0;
1318
- let z = "", $ = "", Y = "";
1317
+ const M = A.geometry?.location?.lat() || 0, C = A.geometry?.location?.lng() || 0;
1318
+ let z = "", D = "", Y = "";
1319
1319
  return A.address_components?.forEach((O) => {
1320
- O.types.includes("locality") && (z = O.long_name), O.types.includes("administrative_area_level_1") && ($ = O.long_name), O.types.includes("country") && (Y = O.long_name);
1320
+ O.types.includes("locality") && (z = O.long_name), O.types.includes("administrative_area_level_1") && (D = O.long_name), O.types.includes("country") && (Y = O.long_name);
1321
1321
  }), {
1322
1322
  display_name: A.formatted_address || "",
1323
1323
  lat: M,
1324
- lng: S,
1324
+ lng: C,
1325
1325
  city: z,
1326
- state: $,
1326
+ state: D,
1327
1327
  country: Y
1328
1328
  };
1329
1329
  } catch {
@@ -1365,20 +1365,20 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1365
1365
  }[a]?.());
1366
1366
  }, x = (a) => a.replace(/\D/g, "").slice(0, 10), T = q(null);
1367
1367
  q(null);
1368
- const j = q(null), v = q(0), w = q(null), [I, k] = K(!1), [A, M] = K({ hour12: 12, minute: "00", meridiem: "AM" }), S = (a) => String(a).padStart(2, "0"), z = (a) => {
1368
+ const j = q(null), v = q(0), w = q(null), [I, k] = K(!1), [A, M] = K({ hour12: 12, minute: "00", meridiem: "AM" }), C = (a) => String(a).padStart(2, "0"), z = (a) => {
1369
1369
  const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1370
1370
  if (!g) return a;
1371
- const D = Number(g[1]), te = g[2], me = D >= 12 ? "PM" : "AM";
1372
- return `${D % 12 === 0 ? 12 : D % 12}:${te} ${me}`;
1373
- }, $ = (a) => {
1371
+ const $ = Number(g[1]), te = g[2], me = $ >= 12 ? "PM" : "AM";
1372
+ return `${$ % 12 === 0 ? 12 : $ % 12}:${te} ${me}`;
1373
+ }, D = (a) => {
1374
1374
  const g = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1375
1375
  if (!g) return { hour12: 12, minute: "00", meridiem: "AM" };
1376
- const D = Number(g[1]), te = g[2], me = D >= 12 ? "PM" : "AM";
1377
- return { hour12: D % 12 === 0 ? 12 : D % 12, minute: te, meridiem: me };
1376
+ const $ = Number(g[1]), te = g[2], me = $ >= 12 ? "PM" : "AM";
1377
+ return { hour12: $ % 12 === 0 ? 12 : $ % 12, minute: te, meridiem: me };
1378
1378
  }, Y = (a) => {
1379
- const g = Math.min(12, Math.max(1, a.hour12)), D = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1379
+ const g = Math.min(12, Math.max(1, a.hour12)), $ = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1380
1380
  let te = g % 12;
1381
- return a.meridiem === "PM" && (te += 12), `${S(te)}:${D}`;
1381
+ return a.meridiem === "PM" && (te += 12), `${C(te)}:${$}`;
1382
1382
  }, O = q(null), [H, X] = K(!1), [B, U] = K(
1383
1383
  null
1384
1384
  ), V = i ?? Na?.VITE_GOOGLE_MAPS_API_KEY, ee = (r.birthPlace ?? "").trim(), ue = c ? void 0 : "in", xe = "en", {
@@ -1428,10 +1428,10 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1428
1428
  };
1429
1429
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1430
1430
  }, []), G(() => {
1431
- const a = (D) => {
1432
- D.target?.closest?.("[data-info-tooltip]") == null && U(null);
1433
- }, g = (D) => {
1434
- D.key === "Escape" && U(null);
1431
+ const a = ($) => {
1432
+ $.target?.closest?.("[data-info-tooltip]") == null && U(null);
1433
+ }, g = ($) => {
1434
+ $.key === "Escape" && U(null);
1435
1435
  };
1436
1436
  return document.addEventListener("mousedown", a), document.addEventListener("keydown", g), () => {
1437
1437
  document.removeEventListener("mousedown", a), document.removeEventListener("keydown", g);
@@ -1557,10 +1557,10 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1557
1557
  value: r.dateOfBirth,
1558
1558
  max: (() => {
1559
1559
  const a = /* @__PURE__ */ new Date();
1560
- return `${a.getFullYear()}-${S(a.getMonth() + 1)}-${S(a.getDate())}`;
1560
+ return `${a.getFullYear()}-${C(a.getMonth() + 1)}-${C(a.getDate())}`;
1561
1561
  })(),
1562
1562
  onChange: (a) => {
1563
- const g = a.target.value, D = /* @__PURE__ */ new Date(), te = `${D.getFullYear()}-${S(D.getMonth() + 1)}-${S(D.getDate())}`;
1563
+ const g = a.target.value, $ = /* @__PURE__ */ new Date(), te = `${$.getFullYear()}-${C($.getMonth() + 1)}-${C($.getDate())}`;
1564
1564
  g && g > te || (p({ dateOfBirth: g }), _("dateOfBirth", g), j.current = null);
1565
1565
  },
1566
1566
  onFocus: () => u?.trackDobClicked?.(),
@@ -1644,7 +1644,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1644
1644
  disabled: r.birthTimeUnknown,
1645
1645
  placeholder: "HH:MM AM",
1646
1646
  onClick: () => {
1647
- r.birthTimeUnknown || (M($(r.birthTime || "12:00")), k((a) => !a));
1647
+ r.birthTimeUnknown || (M(D(r.birthTime || "12:00")), k((a) => !a));
1648
1648
  }
1649
1649
  }
1650
1650
  ),
@@ -1657,7 +1657,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1657
1657
  disabled: r.birthTimeUnknown,
1658
1658
  onMouseDown: (a) => a.preventDefault(),
1659
1659
  onClick: (a) => {
1660
- a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M($(r.birthTime || "12:00")), k((g) => !g));
1660
+ a.preventDefault(), a.stopPropagation(), !r.birthTimeUnknown && (M(D(r.birthTime || "12:00")), k((g) => !g));
1661
1661
  },
1662
1662
  children: /* @__PURE__ */ e.jsx(
1663
1663
  "img",
@@ -1699,7 +1699,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1699
1699
  value: A.minute,
1700
1700
  onChange: (a) => M((g) => ({ ...g, minute: a.target.value })),
1701
1701
  "aria-label": "Minute",
1702
- children: Array.from({ length: 60 }, (a, g) => S(g)).map(
1702
+ children: Array.from({ length: 60 }, (a, g) => C(g)).map(
1703
1703
  (a) => /* @__PURE__ */ e.jsx("option", { value: a, children: a }, a)
1704
1704
  )
1705
1705
  }
@@ -1887,27 +1887,27 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1887
1887
  ] }) })
1888
1888
  }
1889
1889
  );
1890
- }, Ta = "_footer_15g1k_1", Aa = "_inner_15g1k_7", Ea = "_badges_15g1k_11", Sa = "_marqueeTrack_15g1k_18", Ca = "_marqueeContent_15g1k_24", Ia = "_badge_15g1k_11", Ra = "_badgeIcon_15g1k_47", La = "_ctaWrap_15g1k_51", Da = "_ctaStruck_15g1k_55", $a = "_ctaButton_15g1k_61", Oa = "_offerRow_15g1k_81", Ba = "_pill_15g1k_88", L = {
1890
+ }, Ta = "_footer_15g1k_1", Aa = "_inner_15g1k_7", Ea = "_badges_15g1k_11", Ca = "_marqueeTrack_15g1k_18", Sa = "_marqueeContent_15g1k_24", Ia = "_badge_15g1k_11", Ra = "_badgeIcon_15g1k_47", La = "_ctaWrap_15g1k_51", $a = "_ctaStruck_15g1k_55", Da = "_ctaButton_15g1k_61", Oa = "_offerRow_15g1k_81", Ba = "_pill_15g1k_88", L = {
1891
1891
  footer: Ta,
1892
1892
  inner: Aa,
1893
1893
  badges: Ea,
1894
- marqueeTrack: Sa,
1895
- marqueeContent: Ca,
1894
+ marqueeTrack: Ca,
1895
+ marqueeContent: Sa,
1896
1896
  badge: Ia,
1897
1897
  badgeIcon: Ra,
1898
1898
  ctaWrap: La,
1899
- ctaStruck: Da,
1900
- ctaButton: $a,
1899
+ ctaStruck: $a,
1900
+ ctaButton: Da,
1901
1901
  offerRow: Oa,
1902
1902
  pill: Ba
1903
- }, St = ({
1903
+ }, Ct = ({
1904
1904
  marquee: n,
1905
1905
  children: r,
1906
1906
  className: l = ""
1907
1907
  }) => /* @__PURE__ */ e.jsx("footer", { className: `${L.footer} ${l}`, role: "contentinfo", children: /* @__PURE__ */ e.jsxs("div", { className: L.inner, children: [
1908
1908
  n != null && /* @__PURE__ */ e.jsx("div", { className: L.badges, "aria-hidden": !0, children: n }),
1909
1909
  /* @__PURE__ */ e.jsx("div", { className: L.ctaWrap, children: r })
1910
- ] }) }), Ct = ({
1910
+ ] }) }), St = ({
1911
1911
  children: n,
1912
1912
  href: r,
1913
1913
  disabled: l = !1,
@@ -1967,7 +1967,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1967
1967
  /* @__PURE__ */ e.jsx("span", { className: L.pill, children: j })
1968
1968
  ] }),
1969
1969
  /* @__PURE__ */ e.jsx(
1970
- Ct,
1970
+ St,
1971
1971
  {
1972
1972
  href: d,
1973
1973
  disabled: !_,
@@ -1979,7 +1979,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1979
1979
  }
1980
1980
  )
1981
1981
  ] });
1982
- return /* @__PURE__ */ e.jsx(St, { className: h, children: w });
1982
+ return /* @__PURE__ */ e.jsx(Ct, { className: h, children: w });
1983
1983
  }, Wa = "_header_dbx4y_1", qa = "_brand_dbx4y_7", Ka = "_logo_dbx4y_11", Ga = "_logoImg_dbx4y_15", Ha = "_logoPlaceholder_dbx4y_21", Ya = "_brandText_dbx4y_29", Va = "_brandName_dbx4y_33", za = "_rating_dbx4y_38", Qa = "_stars_dbx4y_44", Ja = "_langSlot_dbx4y_49", se = {
1984
1984
  header: Wa,
1985
1985
  brand: qa,
@@ -2106,16 +2106,16 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
2106
2106
  }) => /* @__PURE__ */ e.jsxs("section", { className: `${He.section} ${l}`, "aria-labelledby": "certified-heading", children: [
2107
2107
  /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: He.heading, children: n("certifiedBy") }),
2108
2108
  /* @__PURE__ */ e.jsx("img", { src: r, alt: "University Certification", className: He.logoImg })
2109
- ] }), Tr = "_section_fw00n_1", Ar = "_heading_fw00n_6", Er = "_subtitle_fw00n_12", Sr = "_stepList_fw00n_17", Cr = "_stepItem_fw00n_21", Ir = "_stepNumber_fw00n_25", Rr = "_stepText_fw00n_31", Lr = "_step3Days_fw00n_36", ae = {
2109
+ ] }), Tr = "_section_fw00n_1", Ar = "_heading_fw00n_6", Er = "_subtitle_fw00n_12", Cr = "_stepList_fw00n_17", Sr = "_stepItem_fw00n_21", Ir = "_stepNumber_fw00n_25", Rr = "_stepText_fw00n_31", Lr = "_step3Days_fw00n_36", ae = {
2110
2110
  section: Tr,
2111
2111
  heading: Ar,
2112
2112
  subtitle: Er,
2113
- stepList: Sr,
2114
- stepItem: Cr,
2113
+ stepList: Cr,
2114
+ stepItem: Sr,
2115
2115
  stepNumber: Ir,
2116
2116
  stepText: Rr,
2117
2117
  step3Days: Lr
2118
- }, Dr = ["step1", "step2"], $r = ({
2118
+ }, $r = ["step1", "step2"], Dr = ({
2119
2119
  t: n,
2120
2120
  locale: r = "en",
2121
2121
  isGlobal: l = !0,
@@ -2131,7 +2131,7 @@ const wa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
2131
2131
  /* @__PURE__ */ e.jsx("p", { className: ae.heading, children: n("yourThreeSteps") }),
2132
2132
  /* @__PURE__ */ e.jsx("h2", { id: "steps-heading", className: ae.subtitle, children: n("threeStepsSubtitle") }),
2133
2133
  /* @__PURE__ */ e.jsxs("ol", { className: ae.stepList, children: [
2134
- Dr.map((h, f) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
2134
+ $r.map((h, f) => /* @__PURE__ */ e.jsxs("li", { className: ae.stepItem, children: [
2135
2135
  /* @__PURE__ */ e.jsx("span", { className: ae.stepNumber, "aria-hidden": !0, children: f + 1 }),
2136
2136
  /* @__PURE__ */ e.jsx("span", { className: ae.stepText, children: n(h) })
2137
2137
  ] }, h)),
@@ -2330,7 +2330,7 @@ const zr = ({
2330
2330
  /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: Re.heading, children: n("whyUsTitle") }),
2331
2331
  /* @__PURE__ */ e.jsx("p", { className: Re.subtitle, children: n("whyUsSubtitle") }),
2332
2332
  /* @__PURE__ */ e.jsx("ul", { className: Re.list, children: _o.map((l) => /* @__PURE__ */ e.jsx("li", { className: Re.item, children: n(l) }, l)) })
2333
- ] }), vo = "_section_3cm7k_1", ko = "_heading_3cm7k_5", yo = "_trustLine_3cm7k_10", xo = "_star_3cm7k_15", wo = "_ratingNum_3cm7k_20", jo = "_trustText_3cm7k_24", No = "_cardList_3cm7k_28", Po = "_card_3cm7k_28", To = "_quote_3cm7k_37", Ao = "_author_3cm7k_42", Eo = "_avatar_3cm7k_46", So = "_avatarPlaceholder_3cm7k_50", Co = "_authorInfo_3cm7k_55", Io = "_authorName_3cm7k_59", Ro = "_stars_3cm7k_64", Lo = "_readMoreWrap_3cm7k_69", Do = "_toggleBtn_3cm7k_73", $o = "_readMore_3cm7k_69", Oo = "_arrow_3cm7k_93", Bo = "_dot_3cm7k_97", R = {
2333
+ ] }), vo = "_section_3cm7k_1", ko = "_heading_3cm7k_5", yo = "_trustLine_3cm7k_10", xo = "_star_3cm7k_15", wo = "_ratingNum_3cm7k_20", jo = "_trustText_3cm7k_24", No = "_cardList_3cm7k_28", Po = "_card_3cm7k_28", To = "_quote_3cm7k_37", Ao = "_author_3cm7k_42", Eo = "_avatar_3cm7k_46", Co = "_avatarPlaceholder_3cm7k_50", So = "_authorInfo_3cm7k_55", Io = "_authorName_3cm7k_59", Ro = "_stars_3cm7k_64", Lo = "_readMoreWrap_3cm7k_69", $o = "_toggleBtn_3cm7k_73", Do = "_readMore_3cm7k_69", Oo = "_arrow_3cm7k_93", Bo = "_dot_3cm7k_97", R = {
2334
2334
  section: vo,
2335
2335
  heading: ko,
2336
2336
  trustLine: yo,
@@ -2342,13 +2342,13 @@ const zr = ({
2342
2342
  quote: To,
2343
2343
  author: Ao,
2344
2344
  avatar: Eo,
2345
- avatarPlaceholder: So,
2346
- authorInfo: Co,
2345
+ avatarPlaceholder: Co,
2346
+ authorInfo: So,
2347
2347
  authorName: Io,
2348
2348
  stars: Ro,
2349
2349
  readMoreWrap: Lo,
2350
- toggleBtn: Do,
2351
- readMore: $o,
2350
+ toggleBtn: $o,
2351
+ readMore: Do,
2352
2352
  arrow: Oo,
2353
2353
  dot: Bo
2354
2354
  }, _t = 3, Fo = (n) => {
@@ -2624,14 +2624,14 @@ const zr = ({
2624
2624
  u
2625
2625
  ] });
2626
2626
  return /* @__PURE__ */ e.jsx(
2627
- St,
2627
+ Ct,
2628
2628
  {
2629
2629
  className: d,
2630
2630
  marquee: /* @__PURE__ */ e.jsx(ii, { t: n }),
2631
- children: /* @__PURE__ */ e.jsx(Ct, { href: l, onClick: r, children: c })
2631
+ children: /* @__PURE__ */ e.jsx(St, { href: l, onClick: r, children: c })
2632
2632
  }
2633
2633
  );
2634
- }, ci = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", li = "AIzaSyCEsEBy-JYuu9SSITQrpYU3tpaq5HQOhi4", di = (n, r) => Qe[n]?.[r] ?? r, ui = {
2634
+ }, ci = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", li = (n, r) => Qe[n]?.[r] ?? r, di = {
2635
2635
  fullName: "",
2636
2636
  phone: "",
2637
2637
  email: "",
@@ -2639,7 +2639,7 @@ const zr = ({
2639
2639
  birthTime: "",
2640
2640
  birthTimeUnknown: !1,
2641
2641
  birthPlace: ""
2642
- }, mi = ({
2642
+ }, ui = ({
2643
2643
  className: n = "",
2644
2644
  locale: r,
2645
2645
  showLanguageSelector: l = !0,
@@ -2650,16 +2650,16 @@ const zr = ({
2650
2650
  originalPriceLabel: u,
2651
2651
  discountedPriceLabel: c,
2652
2652
  discountPillLabel: b,
2653
- googleMapsApiKey: p = li,
2653
+ googleMapsApiKey: p = "",
2654
2654
  analytics: _
2655
2655
  }) => {
2656
- const x = ye(), T = Tt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] = K(w), A = j ? x.locale : I, M = j ? x.setLocale : k, [S, z] = K(!1), $ = q(null), Y = q(v), O = q(
2656
+ const x = ye(), T = Tt(), j = x !== null, v = j ? x.locale : r, w = v ?? T?.locale ?? "en", [I, k] = K(w), A = j ? x.locale : I, M = j ? x.setLocale : k, [C, z] = K(!1), D = q(null), Y = q(v), O = q(
2657
2657
  T?.locale
2658
2658
  );
2659
2659
  G(() => {
2660
2660
  window.scrollTo({ top: 0, left: 0, behavior: "auto" });
2661
2661
  }, []);
2662
- const H = (a) => di(A, a);
2662
+ const H = (a) => li(A, a);
2663
2663
  G(() => {
2664
2664
  v && Y.current !== v && M(v), Y.current = v;
2665
2665
  }, [v, M]), G(() => {
@@ -2668,18 +2668,18 @@ const zr = ({
2668
2668
  a && O.current !== a && M(a), O.current = a;
2669
2669
  }, [T?.locale, v, M]);
2670
2670
  const [X, B] = K({
2671
- ...ui,
2671
+ ...di,
2672
2672
  ...i,
2673
2673
  phone: i?.phone ?? ""
2674
2674
  }), U = j ? x.formValues : X, V = j ? x.setFormValues : B, ee = j ? x.goToPage : d, ue = j ? x.onProceed : h, xe = j ? x.config.proceedHref : f, he = j ? x.config.originalPriceLabel : u, fe = j ? x.config.discountedPriceLabel : c, ge = j ? x.config.discountPillLabel : b, _e = j ? x.config.showLanguageSelector ?? !0 : l, oe = (j ? x?.config?.analytics : _) ?? _;
2675
2675
  G(() => {
2676
- if (!S) return;
2676
+ if (!C) return;
2677
2677
  const a = (g) => {
2678
- $.current && !$.current.contains(g.target) && z(!1);
2678
+ D.current && !D.current.contains(g.target) && z(!1);
2679
2679
  };
2680
2680
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
2681
- }, [S]);
2682
- const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: ie.langDropdownWrap, ref: $, children: [
2681
+ }, [C]);
2682
+ const be = _e ? /* @__PURE__ */ e.jsxs("div", { className: ie.langDropdownWrap, ref: D, children: [
2683
2683
  /* @__PURE__ */ e.jsxs(
2684
2684
  "button",
2685
2685
  {
@@ -2688,7 +2688,7 @@ const zr = ({
2688
2688
  onClick: () => {
2689
2689
  oe?.trackLanguageClickedFe?.({ language: A }), z((a) => !a);
2690
2690
  },
2691
- "aria-expanded": S,
2691
+ "aria-expanded": C,
2692
2692
  "aria-haspopup": "listbox",
2693
2693
  id: "kundli-form-lang",
2694
2694
  "aria-label": H("language"),
@@ -2708,7 +2708,7 @@ const zr = ({
2708
2708
  ]
2709
2709
  }
2710
2710
  ),
2711
- S && /* @__PURE__ */ e.jsx(
2711
+ C && /* @__PURE__ */ e.jsx(
2712
2712
  "ul",
2713
2713
  {
2714
2714
  className: ie.langMenu,
@@ -2769,7 +2769,7 @@ const zr = ({
2769
2769
  }
2770
2770
  )
2771
2771
  ] });
2772
- }, pi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", hi = (n, r) => Qe[n]?.[r] ?? r, fi = 112;
2772
+ }, mi = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", pi = (n, r) => Qe[n]?.[r] ?? r, hi = 112;
2773
2773
  function de({
2774
2774
  section: n,
2775
2775
  children: r,
@@ -2786,17 +2786,17 @@ function de({
2786
2786
  {
2787
2787
  threshold: 0.1,
2788
2788
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
2789
- rootMargin: `0px 0px -${fi}px 0px`
2789
+ rootMargin: `0px 0px -${hi}px 0px`
2790
2790
  }
2791
2791
  );
2792
2792
  return f.observe(h), () => f.disconnect();
2793
2793
  }, [n, l]), /* @__PURE__ */ e.jsx("div", { ref: d, children: r });
2794
2794
  }
2795
- function gi({ className: n }) {
2795
+ function fi({ className: n }) {
2796
2796
  const { view: r } = Et();
2797
- return r === "form" ? /* @__PURE__ */ e.jsx(mi, {}) : /* @__PURE__ */ e.jsx(_i, { className: n });
2797
+ return r === "form" ? /* @__PURE__ */ e.jsx(ui, {}) : /* @__PURE__ */ e.jsx(gi, { className: n });
2798
2798
  }
2799
- function _i({ className: n }) {
2799
+ function gi({ className: n }) {
2800
2800
  const r = Tt(), {
2801
2801
  locale: l,
2802
2802
  setLocale: d,
@@ -2818,7 +2818,7 @@ function _i({ className: n }) {
2818
2818
  };
2819
2819
  return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
2820
2820
  }, [f]);
2821
- const _ = (w) => hi(l, w), T = i.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: pe.langDropdownWrap, ref: c, children: [
2821
+ const _ = (w) => pi(l, w), T = i.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: pe.langDropdownWrap, ref: c, children: [
2822
2822
  /* @__PURE__ */ e.jsxs(
2823
2823
  "button",
2824
2824
  {
@@ -2835,7 +2835,7 @@ function _i({ className: n }) {
2835
2835
  /* @__PURE__ */ e.jsx(
2836
2836
  "img",
2837
2837
  {
2838
- src: pi,
2838
+ src: mi,
2839
2839
  alt: "",
2840
2840
  className: pe.langIcon,
2841
2841
  width: 16,
@@ -2934,7 +2934,7 @@ function _i({ className: n }) {
2934
2934
  {
2935
2935
  section: "three_steps_process",
2936
2936
  onImpression: v,
2937
- children: /* @__PURE__ */ e.jsx($r, { t: _, locale: l, isGlobal: i.isGlobal })
2937
+ children: /* @__PURE__ */ e.jsx(Dr, { t: _, locale: l, isGlobal: i.isGlobal })
2938
2938
  }
2939
2939
  ),
2940
2940
  /* @__PURE__ */ e.jsx(
@@ -3004,7 +3004,7 @@ function _i({ className: n }) {
3004
3004
  )
3005
3005
  ] });
3006
3006
  }
3007
- const xi = ({
3007
+ const yi = ({
3008
3008
  className: n = "",
3009
3009
  locale: r,
3010
3010
  showLanguageSelector: l = !0,
@@ -3026,7 +3026,7 @@ const xi = ({
3026
3026
  analytics: k,
3027
3027
  onLocaleChange: A
3028
3028
  }) => /* @__PURE__ */ e.jsx(
3029
- Cn,
3029
+ Sn,
3030
3030
  {
3031
3031
  locale: r,
3032
3032
  showLanguageSelector: l,
@@ -3047,9 +3047,9 @@ const xi = ({
3047
3047
  discountPillLabel: I,
3048
3048
  analytics: k,
3049
3049
  onLocaleChange: A,
3050
- children: /* @__PURE__ */ e.jsx(gi, { className: n })
3050
+ children: /* @__PURE__ */ e.jsx(fi, { className: n })
3051
3051
  }
3052
- ), wi = {
3052
+ ), xi = {
3053
3053
  banner_clicked_fe: "banner_clicked_fe",
3054
3054
  primary_cta_clicked_fe: "primary_cta_clicked_fe",
3055
3055
  language_changed_fe: "language_changed_fe",
@@ -3081,18 +3081,18 @@ const xi = ({
3081
3081
  kundli_form_view: "kundli_form_view"
3082
3082
  };
3083
3083
  export {
3084
- vi as I18nProvider,
3085
- wi as KUNDLI_ANALYTICS_EVENT_NAMES,
3084
+ bi as I18nProvider,
3085
+ xi as KUNDLI_ANALYTICS_EVENT_NAMES,
3086
3086
  At as KUNDLI_LANGUAGE_STORAGE_KEY,
3087
3087
  Je as KundliContext,
3088
- mi as KundliForm,
3089
- xi as KundliPage,
3090
- Cn as KundliProvider,
3088
+ ui as KundliForm,
3089
+ yi as KundliPage,
3090
+ Sn as KundliProvider,
3091
3091
  ze as SUPPORTED_LOCALES,
3092
3092
  Pn as getItem,
3093
3093
  An as getStoredKundliLocale,
3094
- yi as isLocalStorageAvailable,
3095
- ki as removeItem,
3094
+ ki as isLocalStorageAvailable,
3095
+ vi as removeItem,
3096
3096
  Tn as setItem,
3097
3097
  En as setStoredKundliLocale,
3098
3098
  Tt as useI18n,