@srimandir/kundli-generator 3.0.48 → 3.0.49

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,5 +1,5 @@
1
- import Ge, { createContext as _t, useContext as He, useState as G, useRef as U, useEffect as H, useMemo as We, useCallback as Pe } from "react";
2
- import { FormSectionHeader as Qt, footerShellStyles as ae, FooterCTAButton as bt, FooterShell as vt, PageHeader as Jt, UserReviewsSection as Xt, FAQAccordion as Zt, ContactUsSection as en, CircularMarquee as tn } from "@srimandir/astrology-common";
1
+ import Ge, { createContext as bt, useContext as He, useState as G, useRef as U, useEffect as H, useMemo as We, useCallback as Pe } from "react";
2
+ import { FormSectionHeader as Qt, footerShellStyles as ae, FooterCTAButton as _t, FooterShell as vt, PageHeader as Jt, UserReviewsSection as Xt, FAQAccordion as Zt, ContactUsSection as en, CircularMarquee as tn } from "@srimandir/astrology-common";
3
3
  import * as Se from "pdfjs-dist";
4
4
  var De = { exports: {} }, Ne = {};
5
5
  var dt;
@@ -8,11 +8,11 @@ function nn() {
8
8
  dt = 1;
9
9
  var n = Ge, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, o = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
10
10
  function h(f, g, x) {
11
- var k, p = {}, _ = null, S = null;
12
- x !== void 0 && (_ = "" + x), g.key !== void 0 && (_ = "" + g.key), g.ref !== void 0 && (S = g.ref);
11
+ var k, p = {}, b = null, S = null;
12
+ x !== void 0 && (b = "" + x), g.key !== void 0 && (b = "" + g.key), g.ref !== void 0 && (S = g.ref);
13
13
  for (k in g) d.call(g, k) && !m.hasOwnProperty(k) && (p[k] = g[k]);
14
14
  if (f && f.defaultProps) for (k in g = f.defaultProps, g) p[k] === void 0 && (p[k] = g[k]);
15
- return { $$typeof: r, type: f, key: _, ref: S, props: p, _owner: o.current };
15
+ return { $$typeof: r, type: f, key: b, ref: S, props: p, _owner: o.current };
16
16
  }
17
17
  return Ne.Fragment = l, Ne.jsx = h, Ne.jsxs = h, Ne;
18
18
  }
@@ -20,14 +20,14 @@ var Ae = {};
20
20
  var ut;
21
21
  function an() {
22
22
  return ut || (ut = 1, process.env.NODE_ENV !== "production" && (function() {
23
- var n = Ge, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), g = /* @__PURE__ */ Symbol.for("react.forward_ref"), x = /* @__PURE__ */ Symbol.for("react.suspense"), k = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), _ = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), w = Symbol.iterator, T = "@@iterator";
23
+ var n = Ge, r = /* @__PURE__ */ Symbol.for("react.element"), l = /* @__PURE__ */ Symbol.for("react.portal"), d = /* @__PURE__ */ Symbol.for("react.fragment"), o = /* @__PURE__ */ Symbol.for("react.strict_mode"), m = /* @__PURE__ */ Symbol.for("react.profiler"), h = /* @__PURE__ */ Symbol.for("react.provider"), f = /* @__PURE__ */ Symbol.for("react.context"), g = /* @__PURE__ */ Symbol.for("react.forward_ref"), x = /* @__PURE__ */ Symbol.for("react.suspense"), k = /* @__PURE__ */ Symbol.for("react.suspense_list"), p = /* @__PURE__ */ Symbol.for("react.memo"), b = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.offscreen"), w = Symbol.iterator, T = "@@iterator";
24
24
  function N(t) {
25
25
  if (t === null || typeof t != "object")
26
26
  return null;
27
27
  var i = w && t[w] || t[T];
28
28
  return typeof i == "function" ? i : null;
29
29
  }
30
- var b = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
30
+ var _ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
31
31
  function v(t) {
32
32
  {
33
33
  for (var i = arguments.length, c = new Array(i > 1 ? i - 1 : 0), y = 1; y < i; y++)
@@ -37,7 +37,7 @@ function an() {
37
37
  }
38
38
  function E(t, i, c) {
39
39
  {
40
- var y = b.ReactDebugCurrentFrame, A = y.getStackAddendum();
40
+ var y = _.ReactDebugCurrentFrame, A = y.getStackAddendum();
41
41
  A !== "" && (i += "%s", c = c.concat([A]));
42
42
  var I = c.map(function(P) {
43
43
  return String(P);
@@ -48,7 +48,7 @@ function an() {
48
48
  var L = !1, C = !1, O = !1, V = !1, q = !1, M;
49
49
  M = /* @__PURE__ */ Symbol.for("react.module.reference");
50
50
  function F(t) {
51
- return !!(typeof t == "string" || typeof t == "function" || t === d || t === m || q || t === o || t === x || t === k || V || t === S || L || C || O || typeof t == "object" && t !== null && (t.$$typeof === _ || t.$$typeof === p || t.$$typeof === h || t.$$typeof === f || t.$$typeof === g || // This needs to include all possible module reference object
51
+ return !!(typeof t == "string" || typeof t == "function" || t === d || t === m || q || t === o || t === x || t === k || V || t === S || L || C || O || typeof t == "object" && t !== null && (t.$$typeof === b || t.$$typeof === p || t.$$typeof === h || t.$$typeof === f || t.$$typeof === g || // This needs to include all possible module reference object
52
52
  // types supported by any Flight configuration anywhere since
53
53
  // we don't know which Flight build this will end up being used
54
54
  // with.
@@ -98,7 +98,7 @@ function an() {
98
98
  case p:
99
99
  var y = t.displayName || null;
100
100
  return y !== null ? y : B(t.type) || "Memo";
101
- case _: {
101
+ case b: {
102
102
  var A = t, I = A._payload, P = A._init;
103
103
  try {
104
104
  return B(P(I));
@@ -109,14 +109,14 @@ function an() {
109
109
  }
110
110
  return null;
111
111
  }
112
- var K = Object.assign, W = 0, ne, de, me, ie, ge, _e, ue;
112
+ var K = Object.assign, W = 0, ne, de, me, ie, ge, be, ue;
113
113
  function fe() {
114
114
  }
115
115
  fe.__reactDisabledLog = !0;
116
116
  function ye() {
117
117
  {
118
118
  if (W === 0) {
119
- ne = console.log, de = console.info, me = console.warn, ie = console.error, ge = console.group, _e = console.groupCollapsed, ue = console.groupEnd;
119
+ ne = console.log, de = console.info, me = console.warn, ie = console.error, ge = console.group, be = console.groupCollapsed, ue = console.groupEnd;
120
120
  var t = {
121
121
  configurable: !0,
122
122
  enumerable: !0,
@@ -161,7 +161,7 @@ function an() {
161
161
  value: ge
162
162
  }),
163
163
  groupCollapsed: K({}, t, {
164
- value: _e
164
+ value: be
165
165
  }),
166
166
  groupEnd: K({}, t, {
167
167
  value: ue
@@ -171,7 +171,7 @@ function an() {
171
171
  W < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
172
172
  }
173
173
  }
174
- var u = b.ReactCurrentDispatcher, R;
174
+ var u = _.ReactCurrentDispatcher, R;
175
175
  function X(t, i, c) {
176
176
  {
177
177
  if (R === void 0)
@@ -185,13 +185,13 @@ function an() {
185
185
  ` + R + t;
186
186
  }
187
187
  }
188
- var be = !1, ke;
188
+ var _e = !1, ke;
189
189
  {
190
190
  var Pt = typeof WeakMap == "function" ? WeakMap : Map;
191
191
  ke = new Pt();
192
192
  }
193
193
  function ze(t, i) {
194
- if (!t || be)
194
+ if (!t || _e)
195
195
  return "";
196
196
  {
197
197
  var c = ke.get(t);
@@ -199,7 +199,7 @@ function an() {
199
199
  return c;
200
200
  }
201
201
  var y;
202
- be = !0;
202
+ _e = !0;
203
203
  var A = Error.prepareStackTrace;
204
204
  Error.prepareStackTrace = void 0;
205
205
  var I;
@@ -256,7 +256,7 @@ function an() {
256
256
  }
257
257
  }
258
258
  } finally {
259
- be = !1, u.current = I, a(), Error.prepareStackTrace = A;
259
+ _e = !1, u.current = I, a(), Error.prepareStackTrace = A;
260
260
  }
261
261
  var we = t ? t.displayName || t.name : "", ve = we ? X(we) : "";
262
262
  return typeof t == "function" && ke.set(t, ve), ve;
@@ -287,7 +287,7 @@ function an() {
287
287
  return Tt(t.render);
288
288
  case p:
289
289
  return Ie(t.type, i, c);
290
- case _: {
290
+ case b: {
291
291
  var y = t, A = y._payload, I = y._init;
292
292
  try {
293
293
  return Ie(I(A), i, c);
@@ -297,7 +297,7 @@ function an() {
297
297
  }
298
298
  return "";
299
299
  }
300
- var Te = Object.prototype.hasOwnProperty, Qe = {}, Je = b.ReactDebugCurrentFrame;
300
+ var Te = Object.prototype.hasOwnProperty, Qe = {}, Je = _.ReactDebugCurrentFrame;
301
301
  function Re(t) {
302
302
  if (t) {
303
303
  var i = t._owner, c = Ie(t.type, t._source, i ? i.type : null);
@@ -348,7 +348,7 @@ function an() {
348
348
  if (St(t))
349
349
  return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ct(t)), Xe(t);
350
350
  }
351
- var et = b.ReactCurrentOwner, It = {
351
+ var et = _.ReactCurrentOwner, It = {
352
352
  key: !0,
353
353
  ref: !0,
354
354
  __self: !0,
@@ -442,7 +442,7 @@ function an() {
442
442
  return Bt(t, j, J, A, y, et.current, P);
443
443
  }
444
444
  }
445
- var Be = b.ReactCurrentOwner, at = b.ReactDebugCurrentFrame;
445
+ var Be = _.ReactCurrentOwner, at = _.ReactDebugCurrentFrame;
446
446
  function xe(t) {
447
447
  if (t) {
448
448
  var i = t._owner, c = Ie(t.type, t._source, i ? i.type : null);
@@ -946,7 +946,7 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
946
946
  formDiscountedPrice: "$25",
947
947
  formPriceAria: "कीमत"
948
948
  }
949
- }, yt = _t(null), gi = ({
949
+ }, yt = bt(null), gi = ({
950
950
  locale: n,
951
951
  children: r
952
952
  }) => {
@@ -956,12 +956,12 @@ const on = "_container_nm3gb_1", sn = "_main_nm3gb_6", ln = "_langDropdownWrap_n
956
956
  function kt() {
957
957
  return He(yt);
958
958
  }
959
- const hn = "_container_1e1th_1", pn = "_main_1e1th_7", gn = "_kundliHeaderNoBorder_1e1th_12", _n = "_headerSeparator_1e1th_16", bn = "_langDropdownWrap_1e1th_21", vn = "_langTrigger_1e1th_25", yn = "_langIcon_1e1th_37", kn = "_langLabel_1e1th_44", xn = "_langMenu_1e1th_49", wn = "_langOption_1e1th_55", oe = {
959
+ const hn = "_container_1e1th_1", pn = "_main_1e1th_7", gn = "_kundliHeaderNoBorder_1e1th_12", bn = "_headerSeparator_1e1th_16", _n = "_langDropdownWrap_1e1th_21", vn = "_langTrigger_1e1th_25", yn = "_langIcon_1e1th_37", kn = "_langLabel_1e1th_44", xn = "_langMenu_1e1th_49", wn = "_langOption_1e1th_55", oe = {
960
960
  container: hn,
961
961
  main: pn,
962
962
  kundliHeaderNoBorder: gn,
963
- headerSeparator: _n,
964
- langDropdownWrap: bn,
963
+ headerSeparator: bn,
964
+ langDropdownWrap: _n,
965
965
  langTrigger: vn,
966
966
  langIcon: yn,
967
967
  langLabel: kn,
@@ -994,14 +994,14 @@ function Pn(n, r) {
994
994
  } catch {
995
995
  }
996
996
  }
997
- function _i(n) {
997
+ function bi(n) {
998
998
  if (!(typeof window > "u" || !window.localStorage))
999
999
  try {
1000
1000
  window.localStorage.removeItem(n);
1001
1001
  } catch {
1002
1002
  }
1003
1003
  }
1004
- function bi() {
1004
+ function _i() {
1005
1005
  if (typeof window > "u" || !window.localStorage)
1006
1006
  return !1;
1007
1007
  try {
@@ -1019,7 +1019,7 @@ function Tn() {
1019
1019
  function Nn(n) {
1020
1020
  Pn(xt, n);
1021
1021
  }
1022
- const Ve = _t(null), An = {
1022
+ const Ve = bt(null), An = {
1023
1023
  fullName: "",
1024
1024
  phone: "",
1025
1025
  email: "",
@@ -1040,12 +1040,12 @@ const Ve = _t(null), An = {
1040
1040
  sampleReportHref: x,
1041
1041
  onViewSampleReport: k,
1042
1042
  ctaHref: p,
1043
- onCtaClick: _,
1043
+ onCtaClick: b,
1044
1044
  onBack: S,
1045
1045
  readMoreReviewsHref: w,
1046
1046
  onProceed: T,
1047
1047
  proceedHref: N,
1048
- originalPriceLabel: b,
1048
+ originalPriceLabel: _,
1049
1049
  discountedPriceLabel: v,
1050
1050
  discountPillLabel: E,
1051
1051
  analytics: L,
@@ -1080,12 +1080,12 @@ const Ve = _t(null), An = {
1080
1080
  sampleReportHref: x,
1081
1081
  onViewSampleReport: k,
1082
1082
  ctaHref: p,
1083
- onCtaClick: _,
1083
+ onCtaClick: b,
1084
1084
  onBack: S,
1085
1085
  readMoreReviewsHref: w,
1086
1086
  onProceed: T,
1087
1087
  proceedHref: N,
1088
- originalPriceLabel: b,
1088
+ originalPriceLabel: _,
1089
1089
  discountedPriceLabel: v,
1090
1090
  discountPillLabel: E,
1091
1091
  analytics: L,
@@ -1105,12 +1105,12 @@ const Ve = _t(null), An = {
1105
1105
  x,
1106
1106
  k,
1107
1107
  p,
1108
- _,
1108
+ b,
1109
1109
  S,
1110
1110
  w,
1111
1111
  T,
1112
1112
  N,
1113
- b,
1113
+ _,
1114
1114
  v,
1115
1115
  E,
1116
1116
  L,
@@ -1231,14 +1231,14 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1231
1231
  g();
1232
1232
  }, m.onerror = () => d(new Error("Failed to load Google Maps API")), document.head.appendChild(m);
1233
1233
  }), Le), ga = (n) => {
1234
- const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, m] = G(!1), [h, f] = G([]), [g, x] = G(!1), [k, p] = G(null), _ = U(null), S = U(null), w = U(null);
1234
+ const { apiKey: r, language: l = "en", restrictCountry: d } = n, [o, m] = G(!1), [h, f] = G([]), [g, x] = G(!1), [k, p] = G(null), b = U(null), S = U(null), w = U(null);
1235
1235
  H(() => {
1236
1236
  if (!r) {
1237
1237
  m(!1), p(null);
1238
1238
  return;
1239
1239
  }
1240
1240
  pa(r, l).then(() => {
1241
- _.current = new google.maps.places.AutocompleteService();
1241
+ b.current = new google.maps.places.AutocompleteService();
1242
1242
  const v = document.createElement("div");
1243
1243
  S.current = new google.maps.places.PlacesService(v), w.current = new google.maps.places.AutocompleteSessionToken(), m(!0), p(null);
1244
1244
  }).catch((v) => {
@@ -1247,7 +1247,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1247
1247
  }, [r, l]);
1248
1248
  const T = Pe(
1249
1249
  async (v) => {
1250
- if (!v || v.length < 2 || !_.current) {
1250
+ if (!v || v.length < 2 || !b.current) {
1251
1251
  f([]);
1252
1252
  return;
1253
1253
  }
@@ -1260,7 +1260,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1260
1260
  };
1261
1261
  d && (E.componentRestrictions = { country: d });
1262
1262
  const L = await new Promise((C, O) => {
1263
- _.current.getPlacePredictions(
1263
+ b.current.getPlacePredictions(
1264
1264
  E,
1265
1265
  (V, q) => {
1266
1266
  q === google.maps.places.PlacesServiceStatus.OK && V ? C(V) : q === google.maps.places.PlacesServiceStatus.ZERO_RESULTS ? C([]) : O(new Error(`Places API error: ${q}`));
@@ -1320,7 +1320,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1320
1320
  }
1321
1321
  },
1322
1322
  []
1323
- ), b = Pe(() => f([]), []);
1323
+ ), _ = Pe(() => f([]), []);
1324
1324
  return {
1325
1325
  isLoaded: o,
1326
1326
  predictions: h,
@@ -1328,14 +1328,14 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1328
1328
  loadError: k,
1329
1329
  searchPlaces: T,
1330
1330
  getPlaceDetails: N,
1331
- clearPredictions: b
1331
+ clearPredictions: _
1332
1332
  };
1333
- }, _a = {}, je = {
1333
+ }, ba = {}, je = {
1334
1334
  time: "https://srm-cdn.a4b.io/yoda/1770372014782.svg",
1335
1335
  location: "https://srm-cdn.a4b.io/yoda/1770372031092.svg",
1336
1336
  date: "https://srm-cdn.a4b.io/yoda/1770372045894.svg",
1337
1337
  info: "https://srm-cdn.a4b.io/yoda/1770372066357.svg"
1338
- }, ba = ({
1338
+ }, _a = ({
1339
1339
  t: n,
1340
1340
  values: r,
1341
1341
  onChange: l,
@@ -1343,7 +1343,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1343
1343
  googleMapsApiKey: o,
1344
1344
  className: m = ""
1345
1345
  }) => {
1346
- const h = re(), f = h?.config?.analytics ?? d, g = h?.config.isGlobal ?? !0, x = h?.config.imageComponent ?? pe, k = U({}), p = (a) => l({ ...r, ...a }), _ = (a, u) => {
1346
+ const h = re(), f = h?.config?.analytics ?? d, g = h?.config.isGlobal ?? !0, x = h?.config.imageComponent ?? pe, k = U({}), p = (a) => l({ ...r, ...a }), b = (a, u) => {
1347
1347
  u.trim() && !k.current[a] && (k.current[a] = !0, {
1348
1348
  fullName: () => f?.trackNameSectionFilled?.(),
1349
1349
  phone: () => f?.trackPhoneSectionFilled?.(),
@@ -1354,26 +1354,26 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1354
1354
  }[a]?.());
1355
1355
  }, S = (a) => a.replace(/\D/g, "").slice(0, 10), w = U(null);
1356
1356
  U(null);
1357
- const T = U(null), N = U(0), b = U(null), [v, E] = G(!1), [L, C] = G({ hour12: 12, minute: "00", meridiem: "AM" }), O = (a) => String(a).padStart(2, "0"), V = (a) => {
1357
+ const T = U(null), N = U(0), _ = U(null), [v, E] = G(!1), [L, C] = G({ hour12: 12, minute: "00", meridiem: "AM" }), O = (a) => String(a).padStart(2, "0"), V = (a) => {
1358
1358
  const u = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1359
1359
  if (!u) return a;
1360
- const R = Number(u[1]), X = u[2], be = R >= 12 ? "PM" : "AM";
1361
- return `${R % 12 === 0 ? 12 : R % 12}:${X} ${be}`;
1360
+ const R = Number(u[1]), X = u[2], _e = R >= 12 ? "PM" : "AM";
1361
+ return `${R % 12 === 0 ? 12 : R % 12}:${X} ${_e}`;
1362
1362
  }, q = (a) => {
1363
1363
  const u = /^([01]\d|2[0-3]):([0-5]\d)$/.exec(a);
1364
1364
  if (!u) return { hour12: 12, minute: "00", meridiem: "AM" };
1365
- const R = Number(u[1]), X = u[2], be = R >= 12 ? "PM" : "AM";
1366
- return { hour12: R % 12 === 0 ? 12 : R % 12, minute: X, meridiem: be };
1365
+ const R = Number(u[1]), X = u[2], _e = R >= 12 ? "PM" : "AM";
1366
+ return { hour12: R % 12 === 0 ? 12 : R % 12, minute: X, meridiem: _e };
1367
1367
  }, M = (a) => {
1368
1368
  const u = Math.min(12, Math.max(1, a.hour12)), R = /^([0-5]\d)$/.test(a.minute) ? a.minute : "00";
1369
1369
  let X = u % 12;
1370
1370
  return a.meridiem === "PM" && (X += 12), `${O(X)}:${R}`;
1371
1371
  }, F = U(null), [z, Q] = G(!1), [B, K] = G(
1372
1372
  null
1373
- ), W = o ?? _a?.VITE_GOOGLE_MAPS_API_KEY, ne = (r.birthPlace ?? "").trim(), de = g ? void 0 : "in", me = "en", {
1373
+ ), W = o ?? ba?.VITE_GOOGLE_MAPS_API_KEY, ne = (r.birthPlace ?? "").trim(), de = g ? void 0 : "in", me = "en", {
1374
1374
  predictions: ie,
1375
1375
  isSearching: ge,
1376
- loadError: _e,
1376
+ loadError: be,
1377
1377
  searchPlaces: ue,
1378
1378
  clearPredictions: fe
1379
1379
  } = ga({
@@ -1413,7 +1413,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1413
1413
  };
1414
1414
  return H(() => {
1415
1415
  const a = (u) => {
1416
- b.current && (b.current.contains(u.target) || E(!1));
1416
+ _.current && (_.current.contains(u.target) || E(!1));
1417
1417
  };
1418
1418
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
1419
1419
  }, []), H(() => {
@@ -1446,7 +1446,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1446
1446
  onFocus: () => f?.trackNameSectionClicked?.(),
1447
1447
  onChange: (a) => {
1448
1448
  const u = a.target.value;
1449
- p({ fullName: u }), _("fullName", u);
1449
+ p({ fullName: u }), b("fullName", u);
1450
1450
  },
1451
1451
  placeholder: n("formFullNamePlaceholder"),
1452
1452
  autoComplete: "name"
@@ -1468,7 +1468,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1468
1468
  onFocus: () => f?.trackPhoneSectionClicked?.(),
1469
1469
  onChange: (a) => {
1470
1470
  const u = a.target.value;
1471
- p({ phone: S(u) }), _("phone", S(u));
1471
+ p({ phone: S(u) }), b("phone", S(u));
1472
1472
  },
1473
1473
  placeholder: n("formPhonePlaceholder"),
1474
1474
  autoComplete: "tel",
@@ -1552,7 +1552,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1552
1552
  })(),
1553
1553
  onChange: (a) => {
1554
1554
  const u = a.target.value, R = /* @__PURE__ */ new Date(), X = `${R.getFullYear()}-${O(R.getMonth() + 1)}-${O(R.getDate())}`;
1555
- u && u > X || (p({ dateOfBirth: u }), _("dateOfBirth", u), T.current = null);
1555
+ u && u > X || (p({ dateOfBirth: u }), b("dateOfBirth", u), T.current = null);
1556
1556
  },
1557
1557
  onFocus: () => f?.trackDobClicked?.(),
1558
1558
  onClick: () => ye(w),
@@ -1622,7 +1622,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1622
1622
  ] })
1623
1623
  ] })
1624
1624
  ] }),
1625
- /* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: b, children: [
1625
+ /* @__PURE__ */ e.jsxs("div", { className: s.inputWrap, ref: _, children: [
1626
1626
  /* @__PURE__ */ e.jsx(
1627
1627
  "input",
1628
1628
  {
@@ -1634,7 +1634,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1634
1634
  onFocus: () => f?.trackTimeClicked?.(),
1635
1635
  onChange: (a) => {
1636
1636
  const u = a.target.value;
1637
- p({ birthTime: u }), _("birthTime", u);
1637
+ p({ birthTime: u }), b("birthTime", u);
1638
1638
  },
1639
1639
  disabled: r.birthTimeUnknown,
1640
1640
  placeholder: "HH:MM AM",
@@ -1739,7 +1739,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1739
1739
  className: `${s.timePopoverBtn} ${s.timePopoverOk}`,
1740
1740
  onClick: () => {
1741
1741
  const a = M(L);
1742
- p({ birthTime: a }), _("birthTime", a), E(!1);
1742
+ p({ birthTime: a }), b("birthTime", a), E(!1);
1743
1743
  },
1744
1744
  "aria-label": "OK",
1745
1745
  children: /* @__PURE__ */ e.jsx(
@@ -1846,7 +1846,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1846
1846
  value: r.birthPlace,
1847
1847
  onChange: (a) => {
1848
1848
  const u = a.target.value;
1849
- p({ birthPlace: u }), _("birthPlace", u), Q(!0);
1849
+ p({ birthPlace: u }), b("birthPlace", u), Q(!0);
1850
1850
  },
1851
1851
  onFocus: () => {
1852
1852
  f?.trackPlaceOfBirthClicked?.(), Q(!0);
@@ -1882,7 +1882,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1882
1882
  a.place_id
1883
1883
  )) }),
1884
1884
  z && W && ge && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: "Loading…" }),
1885
- z && W && !ge && !!_e && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: _e })
1885
+ z && W && !ge && !!be && /* @__PURE__ */ e.jsx("div", { className: s.suggestionsHint, children: be })
1886
1886
  ] })
1887
1887
  ] })
1888
1888
  ] }) })
@@ -1905,9 +1905,9 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1905
1905
  if (!va(r.email.trim())) return !1;
1906
1906
  } else if (!ya((r.phone ?? "").trim())) return !1;
1907
1907
  return !(!r.dateOfBirth || !r.birthPlace.trim() || !r.birthTimeUnknown && !r.birthTime);
1908
- }, [k, r]), _ = k ? h ?? n("formOriginalPrice") : "₹1999", S = k ? f ?? n("formDiscountedPrice") : "₹499", w = g ?? n("formDiscountPill"), T = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1908
+ }, [k, r]), b = k ? h ?? n("formOriginalPrice") : "₹1999", S = k ? f ?? n("formDiscountedPrice") : "₹499", w = g ?? n("formDiscountPill"), T = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1909
1909
  n("formProceed"),
1910
- /* @__PURE__ */ e.jsx("span", { className: ae.ctaStruck, children: _ }),
1910
+ /* @__PURE__ */ e.jsx("span", { className: ae.ctaStruck, children: b }),
1911
1911
  " ",
1912
1912
  S
1913
1913
  ] }), N = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -1916,7 +1916,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1916
1916
  /* @__PURE__ */ e.jsx("span", { className: ae.pill, children: w })
1917
1917
  ] }),
1918
1918
  /* @__PURE__ */ e.jsx(
1919
- bt,
1919
+ _t,
1920
1920
  {
1921
1921
  href: d,
1922
1922
  disabled: !p,
@@ -1965,7 +1965,7 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
1965
1965
  /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: Ee.title, children: n("heroTitle") }),
1966
1966
  /* @__PURE__ */ e.jsx("p", { className: Ee.subtitle, children: n("heroSubtitle") }),
1967
1967
  /* @__PURE__ */ e.jsx("div", { className: Ee.topicTags, role: "list", children: Aa.map((l) => /* @__PURE__ */ e.jsx("span", { className: Ee.tag, role: "listitem", children: n(l) }, l)) })
1968
- ] }), Ca = "_section_15grs_1", Sa = "_backgroundLayer_15grs_9", Ia = "_backgroundImg_15grs_16", Ra = "_inner_15grs_23", Da = "_content_15grs_29", La = "_headline_15grs_33", Oa = "_headlineLine_15grs_38", Fa = "_headlinePill_15grs_43", Ba = "_headlinePlain_15grs_58", $a = "_featureList_15grs_69", Ua = "_featureItem_15grs_76", Ma = "_featureIcon_15grs_81", Ka = "_reportImage_15grs_88", Wa = "_reportImg_15grs_98", Y = {
1968
+ ] }), Ca = "_section_1sbjm_1", Sa = "_backgroundLayer_1sbjm_9", Ia = "_backgroundImg_1sbjm_16", Ra = "_inner_1sbjm_23", Da = "_content_1sbjm_29", La = "_headline_1sbjm_33", Oa = "_headlineLine_1sbjm_38", Fa = "_headlinePill_1sbjm_43", Ba = "_headlinePlain_1sbjm_58", $a = "_featureList_1sbjm_69", Ua = "_featureItem_1sbjm_76", Ma = "_featureIcon_1sbjm_81", Ka = "_reportImage_1sbjm_88", Wa = "_reportImg_1sbjm_98", Y = {
1969
1969
  section: Ca,
1970
1970
  backgroundLayer: Sa,
1971
1971
  backgroundImg: Ia,
@@ -2004,8 +2004,9 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
2004
2004
  role: "button",
2005
2005
  tabIndex: 0,
2006
2006
  onClick: g,
2007
+ "data-hero": !0,
2007
2008
  children: [
2008
- /* @__PURE__ */ e.jsx("div", { className: Y.backgroundLayer, "aria-hidden": !0, children: /* @__PURE__ */ e.jsx(
2009
+ /* @__PURE__ */ e.jsx("div", { className: Y.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
2009
2010
  f,
2010
2011
  {
2011
2012
  src: Ha,
@@ -2135,14 +2136,14 @@ const pa = (n, r) => typeof window > "u" || window.google?.maps?.places ? Promis
2135
2136
  }, dr = "_section_1jea1_1", ur = "_button_1jea1_7", ft = {
2136
2137
  section: dr,
2137
2138
  button: ur
2138
- }, mr = "_backdrop_pekod_1", fr = "_modal_pekod_21", hr = "_header_pekod_40", pr = "_title_pekod_49", gr = "_closeBtn_pekod_56", _r = "_content_pekod_76", br = "_pdfFrame_pekod_84", vr = "_pdfPages_pekod_92", yr = "_pdfError_pekod_97", kr = "_openInNewTab_pekod_123", se = {
2139
+ }, mr = "_backdrop_pekod_1", fr = "_modal_pekod_21", hr = "_header_pekod_40", pr = "_title_pekod_49", gr = "_closeBtn_pekod_56", br = "_content_pekod_76", _r = "_pdfFrame_pekod_84", vr = "_pdfPages_pekod_92", yr = "_pdfError_pekod_97", kr = "_openInNewTab_pekod_123", se = {
2139
2140
  backdrop: mr,
2140
2141
  modal: fr,
2141
2142
  header: hr,
2142
2143
  title: pr,
2143
2144
  closeBtn: gr,
2144
- content: _r,
2145
- pdfFrame: br,
2145
+ content: br,
2146
+ pdfFrame: _r,
2146
2147
  pdfPages: vr,
2147
2148
  pdfError: yr,
2148
2149
  openInNewTab: kr
@@ -2170,14 +2171,14 @@ const wr = ({
2170
2171
  h(!0), g(null), o.current.innerHTML = "", (async () => {
2171
2172
  try {
2172
2173
  xr();
2173
- const p = await Se.getDocument({ url: d }).promise, _ = o.current;
2174
- if (!_) return;
2175
- const S = _.clientWidth || 600, w = Math.min(S / 612, 2);
2174
+ const p = await Se.getDocument({ url: d }).promise, b = o.current;
2175
+ if (!b) return;
2176
+ const S = b.clientWidth || 600, w = Math.min(S / 612, 2);
2176
2177
  for (let T = 1; T <= p.numPages; T++) {
2177
- const N = await p.getPage(T), b = N.getViewport({ scale: w }), v = document.createElement("canvas");
2178
- v.height = b.height, v.width = b.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
2178
+ const N = await p.getPage(T), _ = N.getViewport({ scale: w }), v = document.createElement("canvas");
2179
+ v.height = _.height, v.width = _.width, v.style.display = "block", v.style.margin = "0 auto 1rem", v.style.maxWidth = "100%";
2179
2180
  const E = v.getContext("2d");
2180
- E && await N.render({ canvasContext: E, viewport: b }).promise, _.appendChild(v);
2181
+ E && await N.render({ canvasContext: E, viewport: _ }).promise, b.appendChild(v);
2181
2182
  }
2182
2183
  } catch (k) {
2183
2184
  g(k instanceof Error ? k.message : "Failed to load PDF");
@@ -2378,14 +2379,14 @@ const wr = ({
2378
2379
  brandName: o,
2379
2380
  className: m = ""
2380
2381
  }) => {
2381
- const f = re()?.config.isGlobal ?? !0, g = r ?? ht, x = l ?? pt, k = d ?? gt, p = f ? n("contactWhatsAppGlobal").replace(ht, g) : n("contactWhatsAppDomestic").replace(pt, x), _ = n("contactEmail").replace(gt, k);
2382
+ const f = re()?.config.isGlobal ?? !0, g = r ?? ht, x = l ?? pt, k = d ?? gt, p = f ? n("contactWhatsAppGlobal").replace(ht, g) : n("contactWhatsAppDomestic").replace(pt, x), b = n("contactEmail").replace(gt, k);
2382
2383
  return /* @__PURE__ */ e.jsx(
2383
2384
  en,
2384
2385
  {
2385
2386
  title: n("contactTitle"),
2386
2387
  brandName: o ?? n("contactBrandName"),
2387
2388
  whatsAppLine: p,
2388
- emailLine: _,
2389
+ emailLine: b,
2389
2390
  className: m
2390
2391
  }
2391
2392
  );
@@ -2422,7 +2423,7 @@ const wr = ({
2422
2423
  {
2423
2424
  className: d,
2424
2425
  marquee: /* @__PURE__ */ e.jsx(tn, { children: /* @__PURE__ */ e.jsx(ai, { t: n }) }),
2425
- children: /* @__PURE__ */ e.jsx(bt, { href: l, onClick: r, children: g })
2426
+ children: /* @__PURE__ */ e.jsx(_t, { href: l, onClick: r, children: g })
2426
2427
  }
2427
2428
  );
2428
2429
  }, ii = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", oi = (n, r) => Ye[n]?.[r] ?? r, si = {
@@ -2447,7 +2448,7 @@ const wr = ({
2447
2448
  googleMapsApiKey: k = "",
2448
2449
  analytics: p
2449
2450
  }) => {
2450
- const _ = re(), S = kt(), w = _ !== null, T = w ? _.locale : r, N = T ?? S?.locale ?? "en", [b, v] = G(N), E = w ? _.locale : b, L = w ? _.setLocale : v, [C, O] = G(!1), V = U(null), q = U(T), M = U(
2451
+ const b = re(), S = kt(), w = b !== null, T = w ? b.locale : r, N = T ?? S?.locale ?? "en", [_, v] = G(N), E = w ? b.locale : _, L = w ? b.setLocale : v, [C, O] = G(!1), V = U(null), q = U(T), M = U(
2451
2452
  S?.locale
2452
2453
  );
2453
2454
  H(() => {
@@ -2465,7 +2466,7 @@ const wr = ({
2465
2466
  ...si,
2466
2467
  ...o,
2467
2468
  phone: o?.phone ?? ""
2468
- }), B = w ? _.formValues : z, K = w ? _.setFormValues : Q, W = w ? _.goToPage : d, ne = w ? _.onProceed : m, de = w ? _.config.proceedHref : h, me = w ? _.config.originalPriceLabel : f, ie = w ? _.config.discountedPriceLabel : g, ge = w ? _.config.discountPillLabel : x, _e = w ? _.config.showLanguageSelector ?? !0 : l, ue = (w ? _?.config?.analytics : p) ?? p;
2469
+ }), B = w ? b.formValues : z, K = w ? b.setFormValues : Q, W = w ? b.goToPage : d, ne = w ? b.onProceed : m, de = w ? b.config.proceedHref : h, me = w ? b.config.originalPriceLabel : f, ie = w ? b.config.discountedPriceLabel : g, ge = w ? b.config.discountPillLabel : x, be = w ? b.config.showLanguageSelector ?? !0 : l, ue = (w ? b?.config?.analytics : p) ?? p;
2469
2470
  H(() => {
2470
2471
  if (!C) return;
2471
2472
  const a = (u) => {
@@ -2473,7 +2474,7 @@ const wr = ({
2473
2474
  };
2474
2475
  return document.addEventListener("mousedown", a), () => document.removeEventListener("mousedown", a);
2475
2476
  }, [C]);
2476
- const fe = _?.config.imageComponent ?? pe, ye = _e ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref: V, children: [
2477
+ const fe = b?.config.imageComponent ?? pe, ye = be ? /* @__PURE__ */ e.jsxs("div", { className: oe.langDropdownWrap, ref: V, children: [
2477
2478
  /* @__PURE__ */ e.jsxs(
2478
2479
  "button",
2479
2480
  {
@@ -2531,7 +2532,7 @@ const wr = ({
2531
2532
  jt,
2532
2533
  {
2533
2534
  t: F,
2534
- logoUrl: w ? _.config.logoUrl : void 0,
2535
+ logoUrl: w ? b.config.logoUrl : void 0,
2535
2536
  languageSelector: ye,
2536
2537
  className: oe.kundliHeaderNoBorder
2537
2538
  }
@@ -2540,7 +2541,7 @@ const wr = ({
2540
2541
  /* @__PURE__ */ e.jsxs("main", { className: oe.main, children: [
2541
2542
  /* @__PURE__ */ e.jsx(In, { t: F, onBack: W }),
2542
2543
  /* @__PURE__ */ e.jsx(
2543
- ba,
2544
+ _a,
2544
2545
  {
2545
2546
  t: F,
2546
2547
  values: B,
@@ -2603,23 +2604,23 @@ function fi({ className: n }) {
2603
2604
  o.locale && x.current !== o.locale && d(o.locale), x.current = o.locale;
2604
2605
  }, [o.locale, d]), H(() => {
2605
2606
  if (o.locale) return;
2606
- const b = r?.locale;
2607
- b && k.current !== b && d(b), k.current = b;
2607
+ const _ = r?.locale;
2608
+ _ && k.current !== _ && d(_), k.current = _;
2608
2609
  }, [r?.locale, o.locale, d]), H(() => {
2609
2610
  if (!h) return;
2610
- const b = (v) => {
2611
+ const _ = (v) => {
2611
2612
  g.current && !g.current.contains(v.target) && f(!1);
2612
2613
  };
2613
- return document.addEventListener("mousedown", b), () => document.removeEventListener("mousedown", b);
2614
+ return document.addEventListener("mousedown", _), () => document.removeEventListener("mousedown", _);
2614
2615
  }, [h]);
2615
- const p = (b) => di(l, b), _ = o.showLanguageSelector ?? !0, S = o.imageComponent ?? pe, w = _ ? /* @__PURE__ */ e.jsxs("div", { className: he.langDropdownWrap, ref: g, children: [
2616
+ const p = (_) => di(l, _), b = o.showLanguageSelector ?? !0, S = o.imageComponent ?? pe, w = b ? /* @__PURE__ */ e.jsxs("div", { className: he.langDropdownWrap, ref: g, children: [
2616
2617
  /* @__PURE__ */ e.jsxs(
2617
2618
  "button",
2618
2619
  {
2619
2620
  type: "button",
2620
2621
  className: he.langTrigger,
2621
2622
  onClick: () => {
2622
- o.analytics?.trackLanguageClickedFe?.({ language: l }), f((b) => !b);
2623
+ o.analytics?.trackLanguageClickedFe?.({ language: l }), f((_) => !_);
2623
2624
  },
2624
2625
  "aria-expanded": h,
2625
2626
  "aria-haspopup": "listbox",
@@ -2648,29 +2649,29 @@ function fi({ className: n }) {
2648
2649
  role: "listbox",
2649
2650
  "aria-labelledby": "kundli-lang",
2650
2651
  "aria-activedescendant": `kundli-lang-option-${l}`,
2651
- children: qe.map((b) => /* @__PURE__ */ e.jsx(
2652
+ children: qe.map((_) => /* @__PURE__ */ e.jsx(
2652
2653
  "li",
2653
2654
  {
2654
- id: `kundli-lang-option-${b}`,
2655
+ id: `kundli-lang-option-${_}`,
2655
2656
  role: "option",
2656
- "aria-selected": b === l,
2657
+ "aria-selected": _ === l,
2657
2658
  className: he.langOption,
2658
2659
  onClick: () => {
2659
- o.analytics?.trackLanguageChangedFe?.({ newLanguage: b }), d(b), f(!1);
2660
+ o.analytics?.trackLanguageChangedFe?.({ newLanguage: _ }), d(_), f(!1);
2660
2661
  },
2661
- children: Oe[b]
2662
+ children: Oe[_]
2662
2663
  },
2663
- b
2664
+ _
2664
2665
  ))
2665
2666
  }
2666
2667
  )
2667
- ] }) : null, T = (b) => {
2668
- const v = b.currentTarget.innerText?.trim() ?? p("ctaButtonAfter");
2668
+ ] }) : null, T = (_) => {
2669
+ const v = _.currentTarget.innerText?.trim() ?? p("ctaButtonAfter");
2669
2670
  o.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: v }), m(), o.onCtaClick?.();
2670
2671
  }, N = Pe(
2671
- (b) => {
2672
+ (_) => {
2672
2673
  o.analytics?.trackDetailedKundliReportImpressionFe?.({
2673
- section: b,
2674
+ section: _,
2674
2675
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
2675
2676
  });
2676
2677
  },
@@ -2720,7 +2721,7 @@ function fi({ className: n }) {
2720
2721
  Za,
2721
2722
  {
2722
2723
  t: p,
2723
- logoUrl: o.universityLogoUrls?.find((b) => !!b)
2724
+ logoUrl: o.universityLogoUrls?.find((_) => !!_)
2724
2725
  }
2725
2726
  )
2726
2727
  }
@@ -2820,12 +2821,12 @@ const vi = ({
2820
2821
  onViewSampleReport: x,
2821
2822
  ctaHref: k,
2822
2823
  onCtaClick: p,
2823
- readMoreReviewsHref: _,
2824
+ readMoreReviewsHref: b,
2824
2825
  onProceed: S,
2825
2826
  proceedHref: w,
2826
2827
  originalPriceLabel: T,
2827
2828
  discountedPriceLabel: N,
2828
- discountPillLabel: b,
2829
+ discountPillLabel: _,
2829
2830
  analytics: v,
2830
2831
  onLocaleChange: E
2831
2832
  }) => /* @__PURE__ */ e.jsx(
@@ -2842,12 +2843,12 @@ const vi = ({
2842
2843
  onViewSampleReport: x,
2843
2844
  ctaHref: k,
2844
2845
  onCtaClick: p,
2845
- readMoreReviewsHref: _,
2846
+ readMoreReviewsHref: b,
2846
2847
  onProceed: S,
2847
2848
  proceedHref: w,
2848
2849
  originalPriceLabel: T,
2849
2850
  discountedPriceLabel: N,
2850
- discountPillLabel: b,
2851
+ discountPillLabel: _,
2851
2852
  analytics: v,
2852
2853
  onLocaleChange: E,
2853
2854
  children: /* @__PURE__ */ e.jsx(mi, { className: n })
@@ -2895,8 +2896,8 @@ export {
2895
2896
  qe as SUPPORTED_LOCALES,
2896
2897
  jn as getItem,
2897
2898
  Tn as getStoredKundliLocale,
2898
- bi as isLocalStorageAvailable,
2899
- _i as removeItem,
2899
+ _i as isLocalStorageAvailable,
2900
+ bi as removeItem,
2900
2901
  Pn as setItem,
2901
2902
  Nn as setStoredKundliLocale,
2902
2903
  kt as useI18n,