@srimandir/kundli-generator 5.30.8 → 5.30.9

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.
@@ -7,11 +7,11 @@ function Kr() {
7
7
  nr = 1;
8
8
  var t = Ge, o = /* @__PURE__ */ Symbol.for("react.element"), c = /* @__PURE__ */ Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
9
9
  function x(R, P, L) {
10
- var d, j = {}, p = null, S = null;
11
- L !== void 0 && (p = "" + L), P.key !== void 0 && (p = "" + P.key), P.ref !== void 0 && (S = P.ref);
10
+ var d, j = {}, h = null, S = null;
11
+ L !== void 0 && (h = "" + L), P.key !== void 0 && (h = "" + P.key), P.ref !== void 0 && (S = P.ref);
12
12
  for (d in P) m.call(P, d) && !I.hasOwnProperty(d) && (j[d] = P[d]);
13
13
  if (R && R.defaultProps) for (d in P = R.defaultProps, P) j[d] === void 0 && (j[d] = P[d]);
14
- return { $$typeof: o, type: R, key: p, ref: S, props: j, _owner: w.current };
14
+ return { $$typeof: o, type: R, key: h, ref: S, props: j, _owner: w.current };
15
15
  }
16
16
  return Se.Fragment = c, Se.jsx = x, Se.jsxs = x, Se;
17
17
  }
@@ -19,14 +19,14 @@ 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"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), I = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), R = /* @__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"), j = /* @__PURE__ */ Symbol.for("react.memo"), p = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), g = 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"), w = /* @__PURE__ */ Symbol.for("react.strict_mode"), I = /* @__PURE__ */ Symbol.for("react.profiler"), x = /* @__PURE__ */ Symbol.for("react.provider"), R = /* @__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"), j = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), g = Symbol.iterator, E = "@@iterator";
23
23
  function C(e) {
24
24
  if (e === null || typeof e != "object")
25
25
  return null;
26
26
  var i = g && e[g] || e[E];
27
27
  return typeof i == "function" ? i : null;
28
28
  }
29
- var h = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
29
+ var p = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
30
  function k(e) {
31
31
  {
32
32
  for (var i = arguments.length, l = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
@@ -36,7 +36,7 @@ function Hr() {
36
36
  }
37
37
  function $(e, i, l) {
38
38
  {
39
- var u = h.ReactDebugCurrentFrame, A = u.getStackAddendum();
39
+ var u = p.ReactDebugCurrentFrame, A = u.getStackAddendum();
40
40
  A !== "" && (i += "%s", l = l.concat([A]));
41
41
  var T = l.map(function(y) {
42
42
  return String(y);
@@ -47,7 +47,7 @@ function Hr() {
47
47
  var b = !1, F = !1, q = !1, X = !1, Z = !1, U;
48
48
  U = /* @__PURE__ */ Symbol.for("react.module.reference");
49
49
  function Y(e) {
50
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Z || e === w || e === L || e === d || X || e === S || b || F || q || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === j || e.$$typeof === x || e.$$typeof === R || e.$$typeof === P || // This needs to include all possible module reference object
50
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === I || Z || e === w || e === L || e === d || X || e === S || b || F || q || typeof e == "object" && e !== null && (e.$$typeof === h || e.$$typeof === j || e.$$typeof === x || e.$$typeof === R || 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.
@@ -97,7 +97,7 @@ function Hr() {
97
97
  case j:
98
98
  var u = e.displayName || null;
99
99
  return u !== null ? u : B(e.type) || "Memo";
100
- case p: {
100
+ case h: {
101
101
  var A = e, T = A._payload, y = A._init;
102
102
  try {
103
103
  return B(y(T));
@@ -108,14 +108,14 @@ function Hr() {
108
108
  }
109
109
  return null;
110
110
  }
111
- var N = Object.assign, W = 0, z, he, me, V, ee, re, de;
111
+ var N = Object.assign, W = 0, z, pe, me, V, ee, re, de;
112
112
  function te() {
113
113
  }
114
114
  te.__reactDisabledLog = !0;
115
- function pe() {
115
+ function he() {
116
116
  {
117
117
  if (W === 0) {
118
- z = console.log, he = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
118
+ z = console.log, pe = console.info, me = console.warn, V = console.error, ee = console.group, re = console.groupCollapsed, de = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
@@ -148,7 +148,7 @@ function Hr() {
148
148
  value: z
149
149
  }),
150
150
  info: N({}, e, {
151
- value: he
151
+ value: pe
152
152
  }),
153
153
  warn: N({}, e, {
154
154
  value: me
@@ -170,7 +170,7 @@ function Hr() {
170
170
  W < 0 && k("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
171
171
  }
172
172
  }
173
- var ge = h.ReactCurrentDispatcher, ue;
173
+ var ge = p.ReactCurrentDispatcher, ue;
174
174
  function J(e, i, l) {
175
175
  {
176
176
  if (ue === void 0)
@@ -202,7 +202,7 @@ function Hr() {
202
202
  var A = Error.prepareStackTrace;
203
203
  Error.prepareStackTrace = void 0;
204
204
  var T;
205
- T = ge.current, ge.current = null, pe();
205
+ T = ge.current, ge.current = null, he();
206
206
  try {
207
207
  if (i) {
208
208
  var y = function() {
@@ -286,7 +286,7 @@ function Hr() {
286
286
  return xe(e.render);
287
287
  case j:
288
288
  return v(e.type, i, l);
289
- case p: {
289
+ case h: {
290
290
  var u = e, A = u._payload, T = u._init;
291
291
  try {
292
292
  return v(T(A), i, l);
@@ -296,7 +296,7 @@ function Hr() {
296
296
  }
297
297
  return "";
298
298
  }
299
- var n = Object.prototype.hasOwnProperty, s = {}, D = h.ReactDebugCurrentFrame;
299
+ var n = Object.prototype.hasOwnProperty, s = {}, D = p.ReactDebugCurrentFrame;
300
300
  function ae(e) {
301
301
  if (e) {
302
302
  var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
@@ -347,7 +347,7 @@ function Hr() {
347
347
  if (vr(e))
348
348
  return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", yr(e)), Ye(e);
349
349
  }
350
- var Ve = h.ReactCurrentOwner, kr = {
350
+ var Ve = p.ReactCurrentOwner, kr = {
351
351
  key: !0,
352
352
  ref: !0,
353
353
  __self: !0,
@@ -441,7 +441,7 @@ function Hr() {
441
441
  return jr(e, _, Q, A, u, Ve.current, y);
442
442
  }
443
443
  }
444
- var Fe = h.ReactCurrentOwner, Qe = h.ReactDebugCurrentFrame;
444
+ var Fe = p.ReactCurrentOwner, Qe = p.ReactDebugCurrentFrame;
445
445
  function Pe(e) {
446
446
  if (e) {
447
447
  var i = e._owner, l = v(e.type, e._source, i ? i.type : null);
@@ -1046,15 +1046,15 @@ const mr = ["en", "hi"], lr = {
1046
1046
  astrologyGuidance: "ज्योतिष से सलाह",
1047
1047
  selectPackage: "पैकेज चुनें"
1048
1048
  }
1049
- }, pr = ur(null), Dn = ({
1049
+ }, hr = ur(null), Dn = ({
1050
1050
  locale: t,
1051
1051
  children: o
1052
1052
  }) => {
1053
1053
  const m = { locale: t, t: (w) => fr[t]?.[w] ?? w };
1054
- return /* @__PURE__ */ r.jsx(pr.Provider, { value: m, children: o });
1054
+ return /* @__PURE__ */ r.jsx(hr.Provider, { value: m, children: o });
1055
1055
  };
1056
1056
  function qr() {
1057
- return We(pr);
1057
+ return We(hr);
1058
1058
  }
1059
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,
@@ -1111,13 +1111,13 @@ function On() {
1111
1111
  return !1;
1112
1112
  }
1113
1113
  }
1114
- const hr = "kundli_language";
1114
+ const pr = "kundli_language";
1115
1115
  function it() {
1116
- const t = nt(hr);
1116
+ const t = nt(pr);
1117
1117
  return t && mr.includes(t) ? t : null;
1118
1118
  }
1119
1119
  function lt(t) {
1120
- ot(hr, t);
1120
+ ot(pr, t);
1121
1121
  }
1122
1122
  const Ke = ur(null), st = {
1123
1123
  fullName: "",
@@ -1144,12 +1144,12 @@ const Ke = ur(null), st = {
1144
1144
  reportImagePriority: L,
1145
1145
  backgroundImagePriority: d,
1146
1146
  universityLogoUrls: j,
1147
- sampleReportHref: p,
1147
+ sampleReportHref: h,
1148
1148
  onViewSampleReport: S,
1149
1149
  ctaHref: g,
1150
1150
  onCtaClick: E,
1151
1151
  onBack: C,
1152
- readMoreReviewsHref: h,
1152
+ readMoreReviewsHref: p,
1153
1153
  onProceed: k,
1154
1154
  proceedHref: $,
1155
1155
  originalPriceLabel: b,
@@ -1161,7 +1161,7 @@ const Ke = ur(null), st = {
1161
1161
  imageComponent: Y = Be,
1162
1162
  children: oe
1163
1163
  }) => {
1164
- const [ce, B] = G("landing"), [N, W] = G(t ?? "en"), [z, he] = G(st), me = K(!0);
1164
+ const [ce, B] = G("landing"), [N, W] = G(t ?? "en"), [z, pe] = G(st), me = K(!0);
1165
1165
  H(() => {
1166
1166
  const te = it();
1167
1167
  te && W(te);
@@ -1188,12 +1188,12 @@ const Ke = ur(null), st = {
1188
1188
  reportImagePriority: L,
1189
1189
  backgroundImagePriority: d,
1190
1190
  universityLogoUrls: j,
1191
- sampleReportHref: p,
1191
+ sampleReportHref: h,
1192
1192
  onViewSampleReport: S,
1193
1193
  ctaHref: g,
1194
1194
  onCtaClick: E,
1195
1195
  onBack: C,
1196
- readMoreReviewsHref: h,
1196
+ readMoreReviewsHref: p,
1197
1197
  onProceed: k,
1198
1198
  proceedHref: $,
1199
1199
  originalPriceLabel: b,
@@ -1217,12 +1217,12 @@ const Ke = ur(null), st = {
1217
1217
  L,
1218
1218
  d,
1219
1219
  j,
1220
- p,
1220
+ h,
1221
1221
  S,
1222
1222
  g,
1223
1223
  E,
1224
1224
  C,
1225
- h,
1225
+ p,
1226
1226
  k,
1227
1227
  $,
1228
1228
  b,
@@ -1244,7 +1244,7 @@ const Ke = ur(null), st = {
1244
1244
  setLocale: W,
1245
1245
  config: V,
1246
1246
  formValues: z,
1247
- setFormValues: he,
1247
+ setFormValues: pe,
1248
1248
  goToForm: ee,
1249
1249
  goToPage: re,
1250
1250
  onProceed: V.onProceed,
@@ -1280,11 +1280,11 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1280
1280
  backAriaLabel: t("back"),
1281
1281
  className: `${sr.header} ${m === "center" ? sr.centered : ""} ${c}`
1282
1282
  }
1283
- ), mt = "_wrap_119w3_1", ft = "_card_119w3_5", pt = "_cardInner_119w3_12", ht = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
1283
+ ), mt = "_wrap_119w3_1", ft = "_card_119w3_5", ht = "_cardInner_119w3_12", pt = "_field_119w3_44", gt = "_labelRow_119w3_48", _t = "_label_119w3_48", bt = "_req_119w3_57", yt = "_help_119w3_61", vt = "_choiceRow_119w3_68", kt = "_choiceBtn_119w3_74", wt = "_choiceBtnActive_119w3_99", xt = "_infoBtn_119w3_105", Pt = "_infoImg_119w3_122", At = "_infoWrap_119w3_128", Ct = "_tooltip_119w3_134", jt = "_tooltipArrow_119w3_150", Nt = "_inputWrap_119w3_161", Tt = "_isdWrap_119w3_165", Rt = "_phoneInputGroup_119w3_169", St = "_isdSelectWrap_119w3_178", Et = "_isdSelectTrigger_119w3_197", It = "_isdDropdown_119w3_214", Bt = "_isdSearchWrap_119w3_229", Lt = "_isdSearchInput_119w3_237", Dt = "_isdOption_119w3_255", Ft = "_isdOptionActive_119w3_275", Ot = "_isdCountryName_119w3_281", Mt = "_isdCountryCode_119w3_288", $t = "_isdNoResult_119w3_295", Ut = "_suggestions_119w3_302", Gt = "_suggestionItem_119w3_315", Wt = "_suggestionMain_119w3_333", Kt = "_suggestionSecondary_119w3_339", Ht = "_suggestionsHint_119w3_344", Yt = "_fieldError_119w3_359", qt = "_timePopover_119w3_366", Vt = "_timePickerRow_119w3_382", zt = "_timePickerSelect_119w3_388", Jt = "_timePickerColon_119w3_404", Qt = "_meridiemToggle_119w3_412", Xt = "_meridiemBtn_119w3_421", Zt = "_meridiemActive_119w3_436", ea = "_timePopoverActions_119w3_441", ra = "_timePopoverBtn_119w3_447", ta = "_timePopoverOk_119w3_466", aa = "_input_119w3_161", na = "_phoneInput_119w3_169", oa = "_iconBtn_119w3_519", ia = "_iconBtnInteractive_119w3_525", la = "_iconImg_119w3_544", sa = "_checkboxRow_119w3_550", ca = "_checkbox_119w3_550", da = "_checkboxText_119w3_588", a = {
1284
1284
  wrap: mt,
1285
1285
  card: ft,
1286
- cardInner: pt,
1287
- field: ht,
1286
+ cardInner: ht,
1287
+ field: pt,
1288
1288
  labelRow: gt,
1289
1289
  label: _t,
1290
1290
  req: bt,
@@ -1347,24 +1347,24 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1347
1347
  P(null);
1348
1348
  }, [o]);
1349
1349
  const d = Ne(
1350
- async (p) => {
1351
- if (!p || p.length < 2 || !o) {
1350
+ async (h) => {
1351
+ if (!h || h.length < 2 || !o) {
1352
1352
  w([]);
1353
1353
  return;
1354
1354
  }
1355
1355
  const S = ++L.current;
1356
1356
  x(!0), P(null);
1357
1357
  try {
1358
- const g = ua({ restrictCountry: c }), E = await o(p, g);
1358
+ const g = ua({ restrictCountry: c }), E = await o(h, g);
1359
1359
  if (S !== L.current) return;
1360
1360
  const C = (E || []).filter(
1361
- (h) => !!h?.id && !!h?.description && cr(h?.lat) && cr(h?.lng)
1362
- ).map((h) => ({
1363
- id: h.id,
1364
- description: h.description,
1365
- secondary_text: h.secondaryText,
1366
- lat: h.lat,
1367
- lng: h.lng
1361
+ (p) => !!p?.id && !!p?.description && cr(p?.lat) && cr(p?.lng)
1362
+ ).map((p) => ({
1363
+ id: p.id,
1364
+ description: p.description,
1365
+ secondary_text: p.secondaryText,
1366
+ lat: p.lat,
1367
+ lng: p.lng
1368
1368
  }));
1369
1369
  w(C);
1370
1370
  } catch (g) {
@@ -1460,7 +1460,7 @@ const ct = "_header_19172_1", dt = "_centered_19172_8", sr = {
1460
1460
  { code: "+977", country: "Nepal" }
1461
1461
  ];
1462
1462
  gr.map((t) => t.code);
1463
- const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, pa = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), ha = ({
1463
+ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r), fa = (t) => He(t).length === _r, ha = (t, o, c) => fa(t) ? c.phone ? { shouldTrack: !1 } : (c.phone = !0, { shouldTrack: !0, fullPhone: `${o}-${He(t)}` }) : (c.phone = !1, { shouldTrack: !1 }), pa = ({
1464
1464
  t,
1465
1465
  values: o,
1466
1466
  onChange: c,
@@ -1471,9 +1471,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1471
1471
  atlasSearchLocalities: R,
1472
1472
  className: P = ""
1473
1473
  }) => {
1474
- const L = Te(), d = L?.config?.analytics ?? x, j = L?.config.isGlobal ?? !0, p = L?.config?.atlasSearchLocalities, [S, g] = G(!1), [E, C] = G(""), h = K(null), k = K(null), $ = K({}), b = (n) => c({ ...o, ...n }), F = (n, s) => {
1474
+ const L = Te(), d = L?.config?.analytics ?? x, j = L?.config.isGlobal ?? !0, h = L?.config?.atlasSearchLocalities, [S, g] = G(!1), [E, C] = G(""), p = K(null), k = K(null), $ = K({}), b = (n) => c({ ...o, ...n }), F = (n, s) => {
1475
1475
  if (n === "phone") {
1476
- const D = pa(s, m, $.current);
1476
+ const D = ha(s, m, $.current);
1477
1477
  D.shouldTrack && d?.trackPhoneSectionFilled?.({ phone: D.fullPhone });
1478
1478
  return;
1479
1479
  }
@@ -1486,7 +1486,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1486
1486
  }[n]?.());
1487
1487
  }, q = E.trim().toLowerCase(), X = gr.filter((n) => q ? n.country.toLowerCase().includes(q) || n.code.includes(q) : !0), Z = K(null);
1488
1488
  K(null);
1489
- const U = K(null), Y = K(0), oe = K(null), [ce, B] = G(!1), [N, W] = G({ hour12: 12, minute: "00", meridiem: "AM" }), z = (n) => String(n).padStart(2, "0"), he = (n) => {
1489
+ const U = K(null), Y = K(0), oe = K(null), [ce, B] = G(!1), [N, W] = G({ hour12: 12, minute: "00", meridiem: "AM" }), z = (n) => String(n).padStart(2, "0"), pe = (n) => {
1490
1490
  const s = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(n);
1491
1491
  if (!s) return n;
1492
1492
  const D = Number(s[1]), ae = s[2], Re = D >= 12 ? "PM" : "AM";
@@ -1500,9 +1500,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1500
1500
  const s = Math.min(12, Math.max(1, n.hour12)), D = /^([0-5]\d)$/.test(n.minute) ? n.minute : "00";
1501
1501
  let ae = s % 12;
1502
1502
  return n.meridiem === "PM" && (ae += 12), `${z(ae)}:${D}`;
1503
- }, ee = K(null), [re, de] = G(!1), [te, pe] = G(
1503
+ }, ee = K(null), [re, de] = G(!1), [te, he] = G(
1504
1504
  null
1505
- ), ie = (o.birthPlace ?? "").trim(), ge = j ? void 0 : "in", ue = R ?? p, J = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !J && !re, {
1505
+ ), ie = (o.birthPlace ?? "").trim(), ge = j ? void 0 : "in", ue = R ?? h, J = Number.isFinite(o.birthPlaceLat) && Number.isFinite(o.birthPlaceLng), be = ie.length > 0 && !J && !re, {
1506
1506
  predictions: le,
1507
1507
  isSearching: we,
1508
1508
  loadError: _e,
@@ -1519,7 +1519,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1519
1519
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1520
1520
  }, []), H(() => {
1521
1521
  const n = (s) => {
1522
- h.current && (h.current.contains(s.target) || (g(!1), C("")));
1522
+ p.current && (p.current.contains(s.target) || (g(!1), C("")));
1523
1523
  };
1524
1524
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1525
1525
  }, []), H(() => {
@@ -1560,9 +1560,9 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1560
1560
  return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
1561
1561
  }, []), H(() => {
1562
1562
  const n = (D) => {
1563
- D.target?.closest?.("[data-info-tooltip]") == null && pe(null);
1563
+ D.target?.closest?.("[data-info-tooltip]") == null && he(null);
1564
1564
  }, s = (D) => {
1565
- D.key === "Escape" && pe(null);
1565
+ D.key === "Escape" && he(null);
1566
1566
  };
1567
1567
  return document.addEventListener("mousedown", n), document.addEventListener("keydown", s), () => {
1568
1568
  document.removeEventListener("mousedown", n), document.removeEventListener("keydown", s);
@@ -1600,7 +1600,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1600
1600
  t("formPhone"),
1601
1601
  !j && /* @__PURE__ */ r.jsx("span", { className: a.req, children: "*" })
1602
1602
  ] }) }),
1603
- /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: h, children: [
1603
+ /* @__PURE__ */ r.jsx("div", { className: a.inputWrap, children: /* @__PURE__ */ r.jsxs("div", { className: a.isdWrap, ref: p, children: [
1604
1604
  /* @__PURE__ */ r.jsxs("div", { className: a.phoneInputGroup, children: [
1605
1605
  /* @__PURE__ */ r.jsx("div", { className: a.isdSelectWrap, children: /* @__PURE__ */ r.jsx(
1606
1606
  "button",
@@ -1762,7 +1762,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1762
1762
  "aria-label": t("info"),
1763
1763
  "aria-expanded": te === "dob",
1764
1764
  onClick: () => {
1765
- pe((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1765
+ he((n) => n === "dob" ? null : "dob"), d?.trackInfoIconClicked?.({ fieldName: "dob" });
1766
1766
  },
1767
1767
  children: /* @__PURE__ */ r.jsx(
1768
1768
  "img",
@@ -1843,7 +1843,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1843
1843
  "aria-label": t("info"),
1844
1844
  "aria-expanded": te === "time",
1845
1845
  onClick: () => {
1846
- d?.trackInfoIconClicked?.({ fieldName: "time" }), pe((n) => n === "time" ? null : "time");
1846
+ d?.trackInfoIconClicked?.({ fieldName: "time" }), he((n) => n === "time" ? null : "time");
1847
1847
  },
1848
1848
  children: /* @__PURE__ */ r.jsx(
1849
1849
  "img",
@@ -1869,7 +1869,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
1869
1869
  id: "kundli-birth-time",
1870
1870
  className: a.input,
1871
1871
  type: "text",
1872
- value: o.birthTime ? he(o.birthTime) : "",
1872
+ value: o.birthTime ? pe(o.birthTime) : "",
1873
1873
  readOnly: !0,
1874
1874
  onFocus: () => d?.trackTimeClicked?.(),
1875
1875
  onChange: (n) => {
@@ -2055,7 +2055,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2055
2055
  onClick: () => {
2056
2056
  d?.trackInfoIconClicked?.({
2057
2057
  fieldName: "birthPlace"
2058
- }), pe((n) => n === "place" ? null : "place");
2058
+ }), he((n) => n === "place" ? null : "place");
2059
2059
  },
2060
2060
  children: /* @__PURE__ */ r.jsx(
2061
2061
  "img",
@@ -2339,14 +2339,14 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2339
2339
  className: L = "",
2340
2340
  discountedPriceLabel: d,
2341
2341
  showPlanSheet: j,
2342
- confirmPlan: p,
2342
+ confirmPlan: h,
2343
2343
  planSheetOpen: S,
2344
2344
  selectedPlan: g
2345
2345
  }) => {
2346
- const E = Te(), C = E?.config.isGlobal ?? !0, h = E?.config?.variant, [k, $] = G(!1), b = Ue(
2346
+ const E = Te(), C = E?.config.isGlobal ?? !0, p = E?.config?.variant, [k, $] = G(!1), b = Ue(
2347
2347
  () => ja(o, C, m),
2348
2348
  [o, C, m]
2349
- ), F = b === null, q = h === "v1" && E?.config?.showSheet;
2349
+ ), F = b === null, q = p === "v1" && E?.config?.showSheet;
2350
2350
  H(() => {
2351
2351
  if (!k) return;
2352
2352
  const oe = window.setTimeout(() => {
@@ -2355,18 +2355,18 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2355
2355
  return () => window.clearTimeout(oe);
2356
2356
  }, [k]);
2357
2357
  const X = C ? d ?? t("formDiscountedPrice") : q ? "" : "₹499", Z = E?.config.imageComponent ?? Be, U = (oe) => {
2358
- if (oe.preventDefault(), h === "v1" && !F && P?.trackKundliDetailedClicked?.(), !F) {
2358
+ if (oe.preventDefault(), p === "v1" && !F && P?.trackKundliDetailedClicked?.(), !F) {
2359
2359
  b && (w?.(
2360
2360
  b === "birthPlaceCoordinates" ? "birthPlace" : b
2361
2361
  ), b === "birthPlaceCoordinates" && $(!0));
2362
2362
  return;
2363
2363
  }
2364
- const ce = !!x && h === "v1" && g?.id === br, B = (o.phone ?? "").trim(), N = {
2364
+ const ce = !!x && p === "v1" && g?.id === br, B = (o.phone ?? "").trim(), N = {
2365
2365
  ...o,
2366
2366
  phone: B && `${c}-${B}`
2367
2367
  };
2368
2368
  if (q) {
2369
- S ? p?.() : j?.(N);
2369
+ S ? h?.() : j?.(N);
2370
2370
  return;
2371
2371
  }
2372
2372
  P?.trackPrimaryCtaClickedL1?.({ avenue: "form" }), ce ? x(N) : I?.(N);
@@ -2374,11 +2374,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2374
2374
  $r,
2375
2375
  {
2376
2376
  href: R,
2377
- disabled: h === "v1" ? !1 : !F,
2377
+ disabled: p === "v1" ? !1 : !F,
2378
2378
  onClick: U,
2379
2379
  "aria-label": t("formPriceAria"),
2380
- className: h === "v1" && F ? je.ctaFilled : h === "v1" ? je.ctaButton : void 0,
2381
- children: h === "v1" ? F ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2380
+ className: p === "v1" && F ? je.ctaFilled : p === "v1" ? je.ctaButton : void 0,
2381
+ children: p === "v1" ? F ? /* @__PURE__ */ r.jsxs("span", { className: je.ctaFilledContent, children: [
2382
2382
  q ? t("selectPackage") : S && g ? `${t("proceedWithPlan")}${g.price}` : `${t("formProceed")} ${X}`,
2383
2383
  /* @__PURE__ */ r.jsx(
2384
2384
  Z,
@@ -2447,7 +2447,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2447
2447
  ) }), Ia = () => /* @__PURE__ */ r.jsx("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: /* @__PURE__ */ r.jsx("path", { d: "M15 18l-6-6 6-6" }) }), Ba = () => /* @__PURE__ */ r.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": !0, children: [
2448
2448
  /* @__PURE__ */ r.jsx("polyline", { points: "23 6 13.5 15.5 8.5 10.5 1 18" }),
2449
2449
  /* @__PURE__ */ r.jsx("polyline", { points: "17 6 23 6 23 12" })
2450
- ] }), La = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", mn = "_astrologerTop_18irl_313", fn = "_astrologerBasicInfo_18irl_319", pn = "_astrologerName_18irl_326", hn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", f = {
2450
+ ] }), La = "_overlay_18irl_2", Da = "_sheet_18irl_12", Fa = "_header_18irl_36", Oa = "_backBtn_18irl_48", Ma = "_title_18irl_66", $a = "_plansContainer_18irl_78", Ua = "_planCard_18irl_87", Ga = "_withBadgeSpacing_18irl_101", Wa = "_planCardSelected_18irl_105", Ka = "_planCardPopular_18irl_110", Ha = "_popularBadge_18irl_119", Ya = "_planCardInner_18irl_137", qa = "_planTitleRow_18irl_148", Va = "_planTitle_18irl_148", za = "_radioCircle_18irl_163", Ja = "_radioChecked_18irl_176", Qa = "_radioInner_18irl_181", Xa = "_priceRow_18irl_189", Za = "_price_18irl_189", en = "_originalPrice_18irl_202", rn = "_savingsBadge_18irl_209", tn = "_featureList_18irl_219", an = "_featureItem_18irl_228", nn = "_featureIcon_18irl_234", on = "_featureText_18irl_240", ln = "_astrologerHeading_18irl_251", sn = "_astrologerList_18irl_258", cn = "_astrologerCard_18irl_274", dn = "_astrologerAvatar_18irl_290", un = "_astrologerAvatarPlaceholder_18irl_307", mn = "_astrologerTop_18irl_313", fn = "_astrologerBasicInfo_18irl_319", hn = "_astrologerName_18irl_326", pn = "_astrologerExp_18irl_335", gn = "_astrologerDivider_18irl_341", _n = "_planDivider_18irl_347", bn = "_astrologerCertList_18irl_354", yn = "_astrologerCertItem_18irl_360", vn = "_bullet_18irl_368", kn = "_footer_18irl_373", wn = "_proceedBtn_18irl_383", f = {
2451
2451
  overlay: La,
2452
2452
  sheet: Da,
2453
2453
  header: Fa,
@@ -2480,8 +2480,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2480
2480
  astrologerAvatarPlaceholder: un,
2481
2481
  astrologerTop: mn,
2482
2482
  astrologerBasicInfo: fn,
2483
- astrologerName: pn,
2484
- astrologerExp: hn,
2483
+ astrologerName: hn,
2484
+ astrologerExp: pn,
2485
2485
  astrologerDivider: gn,
2486
2486
  planDivider: _n,
2487
2487
  astrologerCertList: bn,
@@ -2642,11 +2642,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2642
2642
  t: x,
2643
2643
  analytics: R
2644
2644
  }) => {
2645
- const L = Te()?.config.isGlobal ?? !0, d = w ?? Tn(L), j = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", p = K(null), S = K(null), g = K(!1);
2645
+ const L = Te()?.config.isGlobal ?? !0, d = w ?? Tn(L), j = c?.id || d.find((C) => C.badge)?.id || d[0]?.id || "", h = K(null), S = K(null), g = K(!1);
2646
2646
  H(() => {
2647
2647
  if (t) {
2648
2648
  if (!c) {
2649
- const C = d.find((h) => h.badge) ?? d[0];
2649
+ const C = d.find((p) => p.badge) ?? d[0];
2650
2650
  C && m(C);
2651
2651
  }
2652
2652
  g.current || (R?.trackPlanPageViewed?.(), g.current = !0);
@@ -2672,7 +2672,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2672
2672
  children: /* @__PURE__ */ r.jsxs(
2673
2673
  "div",
2674
2674
  {
2675
- ref: p,
2675
+ ref: h,
2676
2676
  className: f.sheet,
2677
2677
  children: [
2678
2678
  /* @__PURE__ */ r.jsx(
@@ -2695,8 +2695,8 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2695
2695
  plan: C,
2696
2696
  isSelected: C.id === j,
2697
2697
  t: x,
2698
- onSelect: (h) => {
2699
- const k = d.find(($) => $.id === h);
2698
+ onSelect: (p) => {
2699
+ const k = d.find(($) => $.id === p);
2700
2700
  k && (R?.trackPlanSelected?.({
2701
2701
  planId: k.id,
2702
2702
  planName: k.title
@@ -2752,7 +2752,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2752
2752
  atlasSearchLocalities: d,
2753
2753
  analytics: j
2754
2754
  }) => {
2755
- const p = Te(), S = qr(), g = p !== null, E = g ? p.locale : o, C = E ?? S?.locale ?? "en", [h, k] = G(C), $ = g ? p.locale : h, b = g ? p.setLocale : k, [F, q] = G(!1), X = K(null), Z = K(E), U = K(
2755
+ const h = Te(), S = qr(), g = h !== null, E = g ? h.locale : o, C = E ?? S?.locale ?? "en", [p, k] = G(C), $ = g ? h.locale : p, b = g ? h.setLocale : k, [F, q] = G(!1), X = K(null), Z = K(E), U = K(
2756
2756
  S?.locale
2757
2757
  );
2758
2758
  H(() => {
@@ -2770,13 +2770,13 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2770
2770
  ...In,
2771
2771
  ...w,
2772
2772
  phone: w?.phone ?? ""
2773
- }), B = g ? p?.config.isGlobal ?? !0 : !0, [N, W] = G(
2773
+ }), B = g ? h?.config.isGlobal ?? !0 : !0, [N, W] = G(
2774
2774
  B ? "+1" : "+91"
2775
2775
  );
2776
2776
  H(() => {
2777
2777
  W(B ? "+1" : "+91");
2778
2778
  }, [B]);
2779
- const z = g ? p.formValues : oe, he = g ? p.setFormValues : ce, me = g ? p.goToPage : m, V = g ? p.onProceed : I, ee = g ? p.onProceedGuidance : x, re = g ? p.config.proceedHref : R, de = g ? p.config.originalPriceLabel : P, te = g ? p.config.discountedPriceLabel : L, pe = g ? p.config.showLanguageSelector ?? !0 : c, ie = (g ? p?.config?.analytics : j) ?? j;
2779
+ const z = g ? h.formValues : oe, pe = g ? h.setFormValues : ce, me = g ? h.goToPage : m, V = g ? h.onProceed : I, ee = g ? h.onProceedGuidance : x, re = g ? h.config.proceedHref : R, de = g ? h.config.originalPriceLabel : P, te = g ? h.config.discountedPriceLabel : L, he = g ? h.config.showLanguageSelector ?? !0 : c, ie = (g ? h?.config?.analytics : j) ?? j;
2780
2780
  H(() => {
2781
2781
  if (!F) return;
2782
2782
  const v = (n) => {
@@ -2793,7 +2793,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2793
2793
  }), !le.current || !J) return;
2794
2794
  const v = { ...le.current, _selectedPlan: J };
2795
2795
  J.id === br && ee ? ee(v) : V?.(v), ue(!1), le.current = null;
2796
- }, [J, V, ee]), xe = p?.config.imageComponent ?? Be, ye = pe ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: X, children: [
2796
+ }, [J, V, ee]), xe = h?.config.imageComponent ?? Be, ye = he ? /* @__PURE__ */ r.jsxs("div", { className: fe.langDropdownWrap, ref: X, children: [
2797
2797
  /* @__PURE__ */ r.jsxs(
2798
2798
  "button",
2799
2799
  {
@@ -2851,7 +2851,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2851
2851
  Ra,
2852
2852
  {
2853
2853
  t: Y,
2854
- logoUrl: g ? p.config.logoUrl : void 0,
2854
+ logoUrl: g ? h.config.logoUrl : void 0,
2855
2855
  languageSelector: ye,
2856
2856
  className: fe.kundliHeaderNoBorder
2857
2857
  }
@@ -2860,11 +2860,11 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2860
2860
  /* @__PURE__ */ r.jsxs("main", { className: fe.main, children: [
2861
2861
  /* @__PURE__ */ r.jsx(ut, { t: Y, onBack: me }),
2862
2862
  /* @__PURE__ */ r.jsx(
2863
- ha,
2863
+ pa,
2864
2864
  {
2865
2865
  t: Y,
2866
2866
  values: z,
2867
- onChange: he,
2867
+ onChange: pe,
2868
2868
  atlasSearchLocalities: d,
2869
2869
  phoneIsdCode: N,
2870
2870
  onPhoneIsdCodeChange: W
@@ -2889,7 +2889,7 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2889
2889
  selectedPlan: J
2890
2890
  }
2891
2891
  ),
2892
- p?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2892
+ h?.config.variant === "v1" && /* @__PURE__ */ r.jsx(
2893
2893
  Rn,
2894
2894
  {
2895
2895
  isOpen: ge,
@@ -2938,16 +2938,6 @@ const _r = 10, He = (t) => t.replace(/\D/g, ""), dr = (t) => He(t).slice(0, _r),
2938
2938
  kundli_plan_proceed_clicked: "kundli_plan_proceed_clicked",
2939
2939
  /** Plan sheet closed without proceeding */
2940
2940
  kundli_plan_page_closed: "kundli_plan_page_closed",
2941
- /** 3-SKU experiment: comparison table enters viewport */
2942
- comparison_table_impression: "comparison_table_impression",
2943
- /** 3-SKU experiment: plan card changed */
2944
- plan_changed: "plan_changed",
2945
- /** 3-SKU experiment: first focus/tap on question textbox */
2946
- question_textbox_clicked: "question_textbox_clicked",
2947
- /** 3-SKU experiment: suggested question chip selection */
2948
- pre_suggested_question_selected: "pre_suggested_question_selected",
2949
- /** 3-SKU experiment: proceed from selected plan */
2950
- plan_proceed_clicked: "plan_proceed_clicked",
2951
2941
  /** Legacy / alias: when landing page is viewed */
2952
2942
  kundli_page_view: "kundli_page_view",
2953
2943
  /** Legacy / alias: when L1 form page is viewed (same as l1_page_opened) */
@@ -2962,8 +2952,8 @@ export {
2962
2952
  lr as L,
2963
2953
  br as P,
2964
2954
  mr as S,
2965
- ha as U,
2966
- hr as a,
2955
+ pa as U,
2956
+ pr as a,
2967
2957
  Ke as b,
2968
2958
  Un as c,
2969
2959
  Mn as d,
@@ -2982,4 +2972,4 @@ export {
2982
2972
  fr as t,
2983
2973
  qr as u
2984
2974
  };
2985
- //# sourceMappingURL=analytics-diKNl1eC.js.map
2975
+ //# sourceMappingURL=analytics-BG38rt5Y.js.map