@srimandir/kundli-generator 4.2.0 → 4.4.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,4 +1,4 @@
1
- import { k as e, h as A, D as G, d as ee, j as z, c as fe, u as ne, L as W, S as se, l as te, t as ae, P as be, F as je, U as ye, m as we, n as Ie } from "./analytics-C12NIfpF.js";
1
+ import { k as e, h as A, D as B, d as ee, j as z, c as fe, u as ne, L as W, S as se, l as te, t as ae, P as be, F as je, U as ye, m as we, n as Ie } from "./analytics-DslrvyqT.js";
2
2
  import { useRef as y, useState as F, useEffect as k, useCallback as K } from "react";
3
3
  import { UserReviewsSection as ve, FAQAccordion as ke, ContactUsSection as Ne, FooterShell as Pe, FooterCTAButton as Ce, CircularMarquee as Le, footerShellStyles as O } from "@srimandir/astrology-common";
4
4
  const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_nm3gb_12", $e = "_langTrigger_nm3gb_16", Ee = "_langIcon_nm3gb_28", Fe = "_langLabel_nm3gb_35", De = "_langMenu_nm3gb_40", Oe = "_langOption_nm3gb_46", D = {
@@ -10,13 +10,13 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
10
10
  langLabel: Fe,
11
11
  langMenu: De,
12
12
  langOption: Oe
13
- }, Ue = "_hero_1vvjv_1", Ke = "_title_1vvjv_5", Ae = "_subtitle_1vvjv_10", Me = "_topicTags_1vvjv_23", Be = "_tag_1vvjv_27", M = {
13
+ }, Ue = "_hero_1vvjv_1", Ke = "_title_1vvjv_5", Ae = "_subtitle_1vvjv_10", Me = "_topicTags_1vvjv_23", Ge = "_tag_1vvjv_27", M = {
14
14
  hero: Ue,
15
15
  title: Ke,
16
16
  subtitle: Ae,
17
17
  topicTags: Me,
18
- tag: Be
19
- }, Ge = [
18
+ tag: Ge
19
+ }, Be = [
20
20
  "topicMarriage",
21
21
  "topicRelationship",
22
22
  "topicBusiness",
@@ -27,8 +27,8 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
27
27
  ], oe = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${M.hero} ${o}`, "aria-labelledby": "hero-title", children: [
28
28
  /* @__PURE__ */ e.jsx("h1", { id: "hero-title", className: M.title, children: n("heroTitle") }),
29
29
  /* @__PURE__ */ e.jsx("p", { className: M.subtitle, children: n("heroSubtitle") }),
30
- /* @__PURE__ */ e.jsx("div", { className: M.topicTags, role: "list", children: Ge.map((a) => /* @__PURE__ */ e.jsx("span", { className: M.tag, role: "listitem", children: n(a) }, a)) })
31
- ] }), We = "_section_1sbjm_1", He = "_backgroundLayer_1sbjm_9", qe = "_backgroundImg_1sbjm_16", Ve = "_inner_1sbjm_23", ze = "_content_1sbjm_29", Ye = "_headline_1sbjm_33", Qe = "_headlineLine_1sbjm_38", Je = "_headlinePill_1sbjm_43", Xe = "_headlinePlain_1sbjm_58", Ze = "_featureList_1sbjm_69", en = "_featureItem_1sbjm_76", nn = "_featureIcon_1sbjm_81", sn = "_reportImage_1sbjm_88", tn = "_reportImg_1sbjm_98", x = {
30
+ /* @__PURE__ */ e.jsx("div", { className: M.topicTags, role: "list", children: Be.map((a) => /* @__PURE__ */ e.jsx("span", { className: M.tag, role: "listitem", children: n(a) }, a)) })
31
+ ] }), We = "_section_1285h_1", He = "_backgroundLayer_1285h_9", qe = "_backgroundImg_1285h_16", Ve = "_inner_1285h_23", ze = "_content_1285h_29", Ye = "_headline_1285h_33", Qe = "_headlineLine_1285h_38", Je = "_headlinePill_1285h_43", Xe = "_headlinePlain_1285h_58", Ze = "_featureList_1285h_69", en = "_featureItem_1285h_76", nn = "_featureIcon_1285h_81", sn = "_reportImage_1285h_88", tn = "_reportImg_1285h_98", g = {
32
32
  section: We,
33
33
  backgroundLayer: He,
34
34
  backgroundImg: qe,
@@ -56,25 +56,25 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
56
56
  analytics: t,
57
57
  className: s = ""
58
58
  }) => {
59
- const m = A()?.config.imageComponent ?? G, p = () => {
59
+ const m = A()?.config.imageComponent ?? B, u = () => {
60
60
  t?.trackBannerClicked?.();
61
61
  };
62
62
  return /* @__PURE__ */ e.jsxs(
63
63
  "section",
64
64
  {
65
- className: `${x.section} ${s}`,
65
+ className: `${g.section} ${s}`,
66
66
  "aria-labelledby": "premium-headline",
67
67
  role: "button",
68
68
  tabIndex: 0,
69
- onClick: p,
69
+ onClick: u,
70
70
  "data-hero": !0,
71
71
  children: [
72
- /* @__PURE__ */ e.jsx("div", { className: x.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
72
+ /* @__PURE__ */ e.jsx("div", { className: g.backgroundLayer, "aria-hidden": !0, "data-background-layer": !0, children: /* @__PURE__ */ e.jsx(
73
73
  m,
74
74
  {
75
75
  src: on,
76
76
  alt: "",
77
- className: x.backgroundImg,
77
+ className: g.backgroundImg,
78
78
  width: 412,
79
79
  height: 215,
80
80
  sizes: "(max-width: 768px) 412px, 412px",
@@ -83,39 +83,43 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
83
83
  fetchPriority: "high"
84
84
  }
85
85
  ) }),
86
- /* @__PURE__ */ e.jsxs("div", { className: x.inner, children: [
87
- /* @__PURE__ */ e.jsxs("div", { className: x.content, children: [
88
- /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: x.headline, children: [
89
- /* @__PURE__ */ e.jsxs("span", { className: x.headlineLine, children: [
90
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePill, children: n("premiumHeadlinePill1") }),
91
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePlain, children: n("premiumHeadlinePlain1") })
86
+ /* @__PURE__ */ e.jsxs("div", { className: g.inner, children: [
87
+ /* @__PURE__ */ e.jsxs("div", { className: g.content, children: [
88
+ /* @__PURE__ */ e.jsxs("h2", { id: "premium-headline", className: g.headline, children: [
89
+ /* @__PURE__ */ e.jsxs("span", { className: g.headlineLine, children: [
90
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("premiumHeadlinePill1") }),
91
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePlain, children: n("premiumHeadlinePlain1") })
92
92
  ] }),
93
- /* @__PURE__ */ e.jsxs("span", { className: x.headlineLine, children: [
94
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePlain, children: n("premiumHeadlinePlain2") }),
95
- /* @__PURE__ */ e.jsx("span", { className: x.headlinePill, children: n("premiumHeadlinePill2") })
93
+ /* @__PURE__ */ e.jsxs("span", { className: g.headlineLine, children: [
94
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePlain, children: n("premiumHeadlinePlain2") }),
95
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("premiumHeadlinePill2") })
96
+ ] }),
97
+ /* @__PURE__ */ e.jsxs("span", { className: g.headlineLine, children: [
98
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePlain, children: n("and") }),
99
+ /* @__PURE__ */ e.jsx("span", { className: g.headlinePill, children: n("astrologyGuidance") })
96
100
  ] })
97
101
  ] }),
98
- /* @__PURE__ */ e.jsx("ul", { className: x.featureList, children: ln.map((u) => /* @__PURE__ */ e.jsxs("li", { className: x.featureItem, children: [
102
+ /* @__PURE__ */ e.jsx("ul", { className: g.featureList, children: ln.map((h) => /* @__PURE__ */ e.jsxs("li", { className: g.featureItem, children: [
99
103
  /* @__PURE__ */ e.jsx(
100
104
  m,
101
105
  {
102
106
  src: an,
103
107
  alt: "",
104
- className: x.featureIcon,
108
+ className: g.featureIcon,
105
109
  width: 16,
106
110
  height: 16,
107
111
  loading: "lazy"
108
112
  }
109
113
  ),
110
- n(u)
111
- ] }, u)) })
114
+ n(h)
115
+ ] }, h)) })
112
116
  ] }),
113
- /* @__PURE__ */ e.jsx("div", { className: x.reportImage, children: /* @__PURE__ */ e.jsx(
117
+ /* @__PURE__ */ e.jsx("div", { className: g.reportImage, children: /* @__PURE__ */ e.jsx(
114
118
  m,
115
119
  {
116
120
  src: o,
117
121
  alt: "",
118
- className: x.reportImg,
122
+ className: g.reportImg,
119
123
  width: 120,
120
124
  height: 160,
121
125
  priority: a,
@@ -132,12 +136,12 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
132
136
  section: cn,
133
137
  heading: dn,
134
138
  logoImg: mn
135
- }, un = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", le = ({
139
+ }, hn = "https://srm-cdn.a4b.io/yoda/1772696467302.webp", le = ({
136
140
  t: n,
137
- logoUrl: o = un,
141
+ logoUrl: o = hn,
138
142
  className: a = ""
139
143
  }) => {
140
- const t = A()?.config.imageComponent ?? G;
144
+ const t = A()?.config.imageComponent ?? B;
141
145
  return /* @__PURE__ */ e.jsxs("section", { className: `${V.section} ${a}`, "aria-labelledby": "certified-heading", children: [
142
146
  /* @__PURE__ */ e.jsx("h2", { id: "certified-heading", className: V.heading, children: n("certifiedBy") }),
143
147
  /* @__PURE__ */ e.jsx(
@@ -152,10 +156,10 @@ const Te = "_container_nm3gb_1", Se = "_main_nm3gb_6", Re = "_langDropdownWrap_n
152
156
  }
153
157
  )
154
158
  ] });
155
- }, pn = "_section_1d9aa_1", gn = "_heading_1d9aa_6", hn = "_subtitle_1d9aa_11", _n = "_stepList_1d9aa_16", xn = "_stepItem_1d9aa_20", fn = "_stepNumber_1d9aa_24", bn = "_stepText_1d9aa_30", jn = "_step3Days_1d9aa_35", v = {
156
- section: pn,
157
- heading: gn,
158
- subtitle: hn,
159
+ }, un = "_section_1d9aa_1", pn = "_heading_1d9aa_6", gn = "_subtitle_1d9aa_11", _n = "_stepList_1d9aa_16", xn = "_stepItem_1d9aa_20", fn = "_stepNumber_1d9aa_24", bn = "_stepText_1d9aa_30", jn = "_step3Days_1d9aa_35", v = {
160
+ section: un,
161
+ heading: pn,
162
+ subtitle: gn,
159
163
  stepList: _n,
160
164
  stepItem: xn,
161
165
  stepNumber: fn,
@@ -220,42 +224,42 @@ const Fn = ({
220
224
  title: a,
221
225
  pdfUrl: i
222
226
  }) => {
223
- const t = y(null), [s, r] = F(!0), [m, p] = F(null), [u, h] = F(null);
227
+ const t = y(null), [s, r] = F(!0), [m, u] = F(null), [h, _] = F(null);
224
228
  return k(() => {
225
229
  if (!n) return;
226
- const c = (_) => {
227
- _.key === "Escape" && o();
230
+ const c = (x) => {
231
+ x.key === "Escape" && o();
228
232
  };
229
233
  return document.addEventListener("keydown", c), document.body.style.overflow = "hidden", () => {
230
234
  document.removeEventListener("keydown", c), document.body.style.overflow = "";
231
235
  };
232
236
  }, [n, o]), k(() => {
233
237
  n && import("pdfjs-dist").then((c) => {
234
- h(c);
238
+ _(c);
235
239
  }).catch((c) => {
236
- p("Failed to load PDF viewer"), r(!1);
240
+ u("Failed to load PDF viewer"), r(!1);
237
241
  });
238
242
  }, [n]), k(() => {
239
- if (!n || !i || !t.current || !u) return;
240
- r(!0), p(null), t.current.innerHTML = "", (async () => {
243
+ if (!n || !i || !t.current || !h) return;
244
+ r(!0), u(null), t.current.innerHTML = "", (async () => {
241
245
  try {
242
- En(u);
243
- const C = await u.getDocument({ url: i }).promise, w = t.current;
246
+ En(h);
247
+ const C = await h.getDocument({ url: i }).promise, w = t.current;
244
248
  if (!w) return;
245
- const I = w.clientWidth || 600, g = Math.min(I / 612, 2);
249
+ const I = w.clientWidth || 600, p = Math.min(I / 612, 2);
246
250
  for (let l = 1; l <= C.numPages; l++) {
247
- const j = await C.getPage(l), $ = j.getViewport({ scale: g }), b = document.createElement("canvas");
251
+ const j = await C.getPage(l), $ = j.getViewport({ scale: p }), b = document.createElement("canvas");
248
252
  b.height = $.height, b.width = $.width, b.style.display = "block", b.style.margin = "0 auto 1rem", b.style.maxWidth = "100%";
249
253
  const E = b.getContext("2d");
250
254
  E && await j.render({ canvasContext: E, viewport: $ }).promise, w.appendChild(b);
251
255
  }
252
- } catch (_) {
253
- p(_ instanceof Error ? _.message : "Failed to load PDF");
256
+ } catch (x) {
257
+ u(x instanceof Error ? x.message : "Failed to load PDF");
254
258
  } finally {
255
259
  r(!1);
256
260
  }
257
261
  })();
258
- }, [n, i, u]), n ? /* @__PURE__ */ e.jsx(
262
+ }, [n, i, h]), n ? /* @__PURE__ */ e.jsx(
259
263
  "div",
260
264
  {
261
265
  className: L.backdrop,
@@ -313,31 +317,31 @@ const Fn = ({
313
317
  analytics: i,
314
318
  className: t = ""
315
319
  }) => {
316
- const [s, r] = F(!1), m = n("viewSampleReport"), p = n("sampleReportModalTitle"), u = () => {
320
+ const [s, r] = F(!1), m = n("viewSampleReport"), u = n("sampleReportModalTitle"), h = () => {
317
321
  i?.trackViewSampleReportClicked?.(), a?.(), r(!0);
318
- }, h = () => {
322
+ }, _ = () => {
319
323
  i?.trackViewSampleReportClosed?.(), r(!1);
320
324
  };
321
325
  return /* @__PURE__ */ e.jsxs("section", { className: `${Q.section} ${t}`, children: [
322
- /* @__PURE__ */ e.jsx("button", { type: "button", className: Q.button, onClick: u, children: m }),
326
+ /* @__PURE__ */ e.jsx("button", { type: "button", className: Q.button, onClick: h, children: m }),
323
327
  /* @__PURE__ */ e.jsx(
324
328
  Fn,
325
329
  {
326
330
  isOpen: s,
327
- onClose: h,
328
- title: p,
331
+ onClose: _,
332
+ title: u,
329
333
  pdfUrl: o
330
334
  }
331
335
  )
332
336
  ] });
333
- }, On = "_section_1ds1w_1", Un = "_heading_1ds1w_5", Kn = "_list_1ds1w_10", An = "_item_1ds1w_17", Mn = "_imageWrap_1ds1w_21", Bn = "_image_1ds1w_21", Gn = "_imagePlaceholder_1ds1w_30", Wn = "_text_1ds1w_36", Hn = "_itemTitle_1ds1w_40", qn = "_itemDesc_1ds1w_51", T = {
337
+ }, On = "_section_1ds1w_1", Un = "_heading_1ds1w_5", Kn = "_list_1ds1w_10", An = "_item_1ds1w_17", Mn = "_imageWrap_1ds1w_21", Gn = "_image_1ds1w_21", Bn = "_imagePlaceholder_1ds1w_30", Wn = "_text_1ds1w_36", Hn = "_itemTitle_1ds1w_40", qn = "_itemDesc_1ds1w_51", T = {
334
338
  section: On,
335
339
  heading: Un,
336
340
  list: Kn,
337
341
  item: An,
338
342
  imageWrap: Mn,
339
- image: Bn,
340
- imagePlaceholder: Gn,
343
+ image: Gn,
344
+ imagePlaceholder: Bn,
341
345
  text: Wn,
342
346
  itemTitle: Hn,
343
347
  itemDesc: qn
@@ -360,7 +364,7 @@ const Fn = ({
360
364
  imageUrls: o = zn,
361
365
  className: a = ""
362
366
  }) => {
363
- const t = A()?.config.imageComponent ?? G;
367
+ const t = A()?.config.imageComponent ?? B;
364
368
  return /* @__PURE__ */ e.jsxs(
365
369
  "section",
366
370
  {
@@ -389,19 +393,19 @@ const Fn = ({
389
393
  ]
390
394
  }
391
395
  );
392
- }, Yn = "_section_75s76_1", Qn = "_heading_75s76_6", Jn = "_subtitle_75s76_11", Xn = "_list_75s76_16", Zn = "_item_75s76_20", B = {
396
+ }, Yn = "_section_75s76_1", Qn = "_heading_75s76_6", Jn = "_subtitle_75s76_11", Xn = "_list_75s76_16", Zn = "_item_75s76_20", G = {
393
397
  section: Yn,
394
398
  heading: Qn,
395
399
  subtitle: Jn,
396
400
  list: Xn,
397
401
  item: Zn
398
- }, es = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], me = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${B.section} ${o}`, "aria-labelledby": "why-heading", children: [
399
- /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: B.heading, children: n("whyUsTitle") }),
400
- /* @__PURE__ */ e.jsx("p", { className: B.subtitle, children: n("whyUsSubtitle") }),
401
- /* @__PURE__ */ e.jsx("ul", { className: B.list, children: es.map((a) => /* @__PURE__ */ e.jsx("li", { className: B.item, children: n(a) }, a)) })
402
+ }, es = ["whyUs1", "whyUs2", "whyUs3", "whyUs4"], me = ({ t: n, className: o = "" }) => /* @__PURE__ */ e.jsxs("section", { className: `${G.section} ${o}`, "aria-labelledby": "why-heading", children: [
403
+ /* @__PURE__ */ e.jsx("h2", { id: "why-heading", className: G.heading, children: n("whyUsTitle") }),
404
+ /* @__PURE__ */ e.jsx("p", { className: G.subtitle, children: n("whyUsSubtitle") }),
405
+ /* @__PURE__ */ e.jsx("ul", { className: G.list, children: es.map((a) => /* @__PURE__ */ e.jsx("li", { className: G.item, children: n(a) }, a)) })
402
406
  ] }), ns = "_headingBold_g8xg7_1", ss = {
403
407
  headingBold: ns
404
- }, ue = ({
408
+ }, he = ({
405
409
  t: n,
406
410
  testimonials: o,
407
411
  readMoreHref: a,
@@ -423,7 +427,7 @@ const Fn = ({
423
427
  }, os = [
424
428
  { qKey: "faqQ1", aKey: "faqA1" },
425
429
  { qKey: "faqQ3", aKey: "faqA3" }
426
- ], pe = ({
430
+ ], ue = ({
427
431
  t: n,
428
432
  className: o = "",
429
433
  headingClassName: a = as.headingBold
@@ -440,7 +444,7 @@ const Fn = ({
440
444
  headingClassName: a
441
445
  }
442
446
  );
443
- }, J = "8296947757", X = "08071174417", Z = "pujaseva@appsforbharat.com", ge = ({
447
+ }, J = "8296947757", X = "08071174417", Z = "pujaseva@appsforbharat.com", pe = ({
444
448
  t: n,
445
449
  whatsAppGlobal: o,
446
450
  whatsAppDomestic: a,
@@ -448,19 +452,19 @@ const Fn = ({
448
452
  brandName: t,
449
453
  className: s = ""
450
454
  }) => {
451
- const m = A()?.config.isGlobal ?? !0, p = o ?? J, u = a ?? X, h = i ?? Z, c = m ? n("contactWhatsAppGlobal").replace(J, p) : n("contactWhatsAppDomestic").replace(X, u), _ = n("contactEmail").replace(Z, h);
455
+ const m = A()?.config.isGlobal ?? !0, u = o ?? J, h = a ?? X, _ = i ?? Z, c = m ? n("contactWhatsAppGlobal").replace(J, u) : n("contactWhatsAppDomestic").replace(X, h), x = n("contactEmail").replace(Z, _);
452
456
  return /* @__PURE__ */ e.jsx(
453
457
  Ne,
454
458
  {
455
459
  title: n("contactTitle"),
456
460
  brandName: t ?? n("contactBrandName"),
457
461
  whatsAppLine: c,
458
- emailLine: _,
462
+ emailLine: x,
459
463
  className: s
460
464
  }
461
465
  );
462
466
  }, is = "https://srm-cdn.a4b.io/yoda/1770375694934.svg", ls = "https://srm-cdn.a4b.io/yoda/1770375720933.svg", rs = "https://srm-cdn.a4b.io/yoda/1770707793537.svg", cs = ({ t: n }) => {
463
- const a = A()?.config.imageComponent ?? G;
467
+ const a = A()?.config.imageComponent ?? B;
464
468
  return /* @__PURE__ */ e.jsxs("div", { className: O.marqueeContent, children: [
465
469
  /* @__PURE__ */ e.jsxs("span", { className: O.badge, children: [
466
470
  /* @__PURE__ */ e.jsx(a, { src: is, alt: "", className: O.badgeIcon, width: 16, height: 16, loading: "lazy" }),
@@ -490,7 +494,7 @@ const Fn = ({
490
494
  children: /* @__PURE__ */ e.jsx(Ce, { href: a, onClick: o, children: t })
491
495
  }
492
496
  );
493
- }, ms = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", us = (n, o) => ae[n]?.[o] ?? o, ps = 112;
497
+ }, ms = "https://srm-cdn.a4b.io/yoda/1770362713543.svg", hs = (n, o) => ae[n]?.[o] ?? o, us = 112;
494
498
  function S({
495
499
  section: n,
496
500
  children: o,
@@ -507,39 +511,39 @@ function S({
507
511
  {
508
512
  threshold: 0.1,
509
513
  // Shrink bottom of viewport by CTA footer height so we only count content actually visible above the sticky footer
510
- rootMargin: `0px 0px -${ps}px 0px`
514
+ rootMargin: `0px 0px -${us}px 0px`
511
515
  }
512
516
  );
513
517
  return r.observe(s), () => r.disconnect();
514
518
  }, [n, a]), /* @__PURE__ */ e.jsx("div", { ref: i, children: o });
515
519
  }
516
- function gs({ className: n }) {
520
+ function ps({ className: n }) {
517
521
  const { view: o } = z();
518
- return o === "form" ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx(hs, { className: n });
522
+ return o === "form" ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx(gs, { className: n });
519
523
  }
520
- function hs({ className: n }) {
524
+ function gs({ className: n }) {
521
525
  const o = ne(), {
522
526
  locale: a,
523
527
  setLocale: i,
524
528
  config: t,
525
529
  goToForm: s
526
- } = z(), [r, m] = F(!1), p = y(null), u = y(t.locale), h = y(
530
+ } = z(), [r, m] = F(!1), u = y(null), h = y(t.locale), _ = y(
527
531
  o?.locale
528
532
  );
529
533
  k(() => {
530
- t.locale && u.current !== t.locale && i(t.locale), u.current = t.locale;
534
+ t.locale && h.current !== t.locale && i(t.locale), h.current = t.locale;
531
535
  }, [t.locale, i]), k(() => {
532
536
  if (t.locale) return;
533
537
  const l = o?.locale;
534
- l && h.current !== l && i(l), h.current = l;
538
+ l && _.current !== l && i(l), _.current = l;
535
539
  }, [o?.locale, t.locale, i]), k(() => {
536
540
  if (!r) return;
537
541
  const l = (j) => {
538
- p.current && !p.current.contains(j.target) && m(!1);
542
+ u.current && !u.current.contains(j.target) && m(!1);
539
543
  };
540
544
  return document.addEventListener("mousedown", l), () => document.removeEventListener("mousedown", l);
541
545
  }, [r]);
542
- const c = (l) => us(a, l), _ = t.showLanguageSelector ?? !0, C = t.imageComponent ?? G, w = _ ? /* @__PURE__ */ e.jsxs("div", { className: D.langDropdownWrap, ref: p, children: [
546
+ const c = (l) => hs(a, l), x = t.showLanguageSelector ?? !0, C = t.imageComponent ?? B, w = x ? /* @__PURE__ */ e.jsxs("div", { className: D.langDropdownWrap, ref: u, children: [
543
547
  /* @__PURE__ */ e.jsxs(
544
548
  "button",
545
549
  {
@@ -594,7 +598,7 @@ function hs({ className: n }) {
594
598
  ] }) : null, I = (l) => {
595
599
  const j = l.currentTarget.innerText?.trim() ?? c("ctaButtonAfter");
596
600
  t.analytics?.trackPrimaryCtaClickedFe?.({ ctaText: j }), s(), t.onCtaClick?.();
597
- }, g = K(
601
+ }, p = K(
598
602
  (l) => {
599
603
  t.analytics?.trackDetailedKundliReportImpressionFe?.({
600
604
  section: l,
@@ -617,7 +621,7 @@ function hs({ className: n }) {
617
621
  S,
618
622
  {
619
623
  section: "hero",
620
- onImpression: g,
624
+ onImpression: p,
621
625
  children: /* @__PURE__ */ e.jsx(oe, { t: c })
622
626
  }
623
627
  ),
@@ -625,7 +629,7 @@ function hs({ className: n }) {
625
629
  S,
626
630
  {
627
631
  section: "premium_report_overview",
628
- onImpression: g,
632
+ onImpression: p,
629
633
  children: /* @__PURE__ */ e.jsx(
630
634
  ie,
631
635
  {
@@ -642,7 +646,7 @@ function hs({ className: n }) {
642
646
  S,
643
647
  {
644
648
  section: "university_certification",
645
- onImpression: g,
649
+ onImpression: p,
646
650
  children: /* @__PURE__ */ e.jsx(
647
651
  le,
648
652
  {
@@ -656,7 +660,7 @@ function hs({ className: n }) {
656
660
  S,
657
661
  {
658
662
  section: "three_steps_process",
659
- onImpression: g,
663
+ onImpression: p,
660
664
  children: /* @__PURE__ */ e.jsx(re, { t: c, locale: a, isGlobal: t.isGlobal })
661
665
  }
662
666
  ),
@@ -664,7 +668,7 @@ function hs({ className: n }) {
664
668
  S,
665
669
  {
666
670
  section: "view_sample_report",
667
- onImpression: g,
671
+ onImpression: p,
668
672
  children: /* @__PURE__ */ e.jsx(
669
673
  ce,
670
674
  {
@@ -680,7 +684,7 @@ function hs({ className: n }) {
680
684
  S,
681
685
  {
682
686
  section: "what_youll_find",
683
- onImpression: g,
687
+ onImpression: p,
684
688
  children: /* @__PURE__ */ e.jsx(de, { t: c })
685
689
  }
686
690
  ),
@@ -688,7 +692,7 @@ function hs({ className: n }) {
688
692
  S,
689
693
  {
690
694
  section: "why_us",
691
- onImpression: g,
695
+ onImpression: p,
692
696
  children: /* @__PURE__ */ e.jsx(me, { t: c })
693
697
  }
694
698
  ),
@@ -696,9 +700,9 @@ function hs({ className: n }) {
696
700
  S,
697
701
  {
698
702
  section: "feedback",
699
- onImpression: g,
703
+ onImpression: p,
700
704
  children: /* @__PURE__ */ e.jsx(
701
- ue,
705
+ he,
702
706
  {
703
707
  t: c,
704
708
  readMoreHref: t.readMoreReviewsHref,
@@ -711,16 +715,16 @@ function hs({ className: n }) {
711
715
  S,
712
716
  {
713
717
  section: "faq",
714
- onImpression: g,
715
- children: /* @__PURE__ */ e.jsx(pe, { t: c })
718
+ onImpression: p,
719
+ children: /* @__PURE__ */ e.jsx(ue, { t: c })
716
720
  }
717
721
  ),
718
722
  /* @__PURE__ */ e.jsx(
719
723
  S,
720
724
  {
721
725
  section: "contact_us",
722
- onImpression: g,
723
- children: /* @__PURE__ */ e.jsx(ge, { t: c })
726
+ onImpression: p,
727
+ children: /* @__PURE__ */ e.jsx(pe, { t: c })
724
728
  }
725
729
  )
726
730
  ] }),
@@ -743,15 +747,15 @@ const _s = ({
743
747
  isGlobal: s,
744
748
  googleMapsApiKey: r,
745
749
  logoUrl: m,
746
- reportImageUrl: p,
747
- universityLogoUrls: u,
748
- sampleReportHref: h,
750
+ reportImageUrl: u,
751
+ universityLogoUrls: h,
752
+ sampleReportHref: _,
749
753
  onViewSampleReport: c,
750
- ctaHref: _,
754
+ ctaHref: x,
751
755
  onCtaClick: C,
752
756
  readMoreReviewsHref: w,
753
757
  onProceed: I,
754
- onProceedGuidance: g,
758
+ onProceedGuidance: p,
755
759
  proceedHref: l,
756
760
  originalPriceLabel: j,
757
761
  discountedPriceLabel: $,
@@ -768,22 +772,22 @@ const _s = ({
768
772
  isGlobal: s,
769
773
  googleMapsApiKey: r,
770
774
  logoUrl: m,
771
- reportImageUrl: p,
772
- universityLogoUrls: u,
773
- sampleReportHref: h,
775
+ reportImageUrl: u,
776
+ universityLogoUrls: h,
777
+ sampleReportHref: _,
774
778
  onViewSampleReport: c,
775
- ctaHref: _,
779
+ ctaHref: x,
776
780
  onCtaClick: C,
777
781
  readMoreReviewsHref: w,
778
782
  onProceed: I,
779
- onProceedGuidance: g,
783
+ onProceedGuidance: p,
780
784
  proceedHref: l,
781
785
  originalPriceLabel: j,
782
786
  discountedPriceLabel: $,
783
787
  discountPillLabel: b,
784
788
  analytics: E,
785
789
  onLocaleChange: U,
786
- children: /* @__PURE__ */ e.jsx(gs, { className: n })
790
+ children: /* @__PURE__ */ e.jsx(ps, { className: n })
787
791
  }
788
792
  ), xs = "_container_1b9qe_1", fs = "_main_1b9qe_6", bs = "_langDropdownWrap_1b9qe_12", js = "_langTrigger_1b9qe_16", ys = "_langIcon_1b9qe_28", ws = "_langLabel_1b9qe_35", Is = "_langMenu_1b9qe_40", vs = "_langOption_1b9qe_46", ks = "_inlineFormWrap_1b9qe_57", Ns = "_inlineProceedFooter_1b9qe_74", R = {
789
793
  container: xs,
@@ -832,16 +836,16 @@ function Ss({
832
836
  config: s,
833
837
  formValues: r,
834
838
  setFormValues: m
835
- } = z(), [p, u] = F(!1), [h, c] = F(null), _ = y(null), C = K((d) => {
836
- _.current = d, u(!0);
839
+ } = z(), [u, h] = F(!1), [_, c] = F(null), x = y(null), C = K((d) => {
840
+ x.current = d, h(!0);
837
841
  }, []), w = K(() => {
838
- if (!_.current || !h) return;
842
+ if (!x.current || !_) return;
839
843
  const d = {
840
- ..._.current,
841
- _selectedPlan: h
844
+ ...x.current,
845
+ _selectedPlan: _
842
846
  };
843
- h.id === be && s.onProceedGuidance ? s.onProceedGuidance(d) : s.onProceed?.(d), u(!1), _.current = null;
844
- }, [h, s.onProceed, s.onProceedGuidance]), [I, g] = F(!1), [l, j] = F(
847
+ _.id === be && s.onProceedGuidance ? s.onProceedGuidance(d) : s.onProceed?.(d), h(!1), x.current = null;
848
+ }, [_, s.onProceed, s.onProceedGuidance]), [I, p] = F(!1), [l, j] = F(
845
849
  s.isGlobal ?? !0 ? "+1" : "+91"
846
850
  ), $ = y(null), b = y(null), E = y(s.locale), U = y(
847
851
  a?.locale
@@ -857,18 +861,18 @@ function Ss({
857
861
  }, [s.isGlobal]), k(() => {
858
862
  if (!I) return;
859
863
  const d = (Y) => {
860
- b.current && !b.current.contains(Y.target) && g(!1);
864
+ b.current && !b.current.contains(Y.target) && p(!1);
861
865
  };
862
866
  return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
863
867
  }, [I]);
864
- const f = (d) => Cs(i, d), he = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: R.langDropdownWrap, ref: b, children: [
868
+ const f = (d) => Cs(i, d), ge = s.showLanguageSelector ?? !0 ? /* @__PURE__ */ e.jsxs("div", { className: R.langDropdownWrap, ref: b, children: [
865
869
  /* @__PURE__ */ e.jsxs(
866
870
  "button",
867
871
  {
868
872
  type: "button",
869
873
  className: R.langTrigger,
870
874
  onClick: () => {
871
- s.analytics?.trackLanguageClickedFe?.({ language: i }), g((d) => !d);
875
+ s.analytics?.trackLanguageClickedFe?.({ language: i }), p((d) => !d);
872
876
  },
873
877
  "aria-expanded": I,
874
878
  "aria-haspopup": "listbox",
@@ -905,7 +909,7 @@ function Ss({
905
909
  "aria-selected": d === i,
906
910
  className: R.langOption,
907
911
  onClick: () => {
908
- s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), t(d), g(!1);
912
+ s.analytics?.trackLanguageChangedFe?.({ newLanguage: d }), t(d), p(!1);
909
913
  },
910
914
  children: W[d]
911
915
  },
@@ -948,7 +952,7 @@ function Ss({
948
952
  {
949
953
  t: f,
950
954
  logoUrl: s.logoUrl,
951
- languageSelector: he
955
+ languageSelector: ge
952
956
  }
953
957
  ),
954
958
  /* @__PURE__ */ e.jsxs("main", { className: R.main, children: [
@@ -1051,8 +1055,8 @@ function Ss({
1051
1055
  onProceedGuidance: s.onProceedGuidance,
1052
1056
  showPlanSheet: C,
1053
1057
  confirmPlan: w,
1054
- planSheetOpen: p,
1055
- selectedPlan: h
1058
+ planSheetOpen: u,
1059
+ selectedPlan: _
1056
1060
  }
1057
1061
  )
1058
1062
  ] })
@@ -1080,7 +1084,7 @@ function Ss({
1080
1084
  section: "feedback",
1081
1085
  onImpression: N,
1082
1086
  children: /* @__PURE__ */ e.jsx(
1083
- ue,
1087
+ he,
1084
1088
  {
1085
1089
  t: f,
1086
1090
  readMoreHref: s.readMoreReviewsHref,
@@ -1094,7 +1098,7 @@ function Ss({
1094
1098
  {
1095
1099
  section: "faq",
1096
1100
  onImpression: N,
1097
- children: /* @__PURE__ */ e.jsx(pe, { t: f })
1101
+ children: /* @__PURE__ */ e.jsx(ue, { t: f })
1098
1102
  }
1099
1103
  ),
1100
1104
  /* @__PURE__ */ e.jsx(
@@ -1102,16 +1106,16 @@ function Ss({
1102
1106
  {
1103
1107
  section: "contact_us",
1104
1108
  onImpression: N,
1105
- children: /* @__PURE__ */ e.jsx(ge, { t: f })
1109
+ children: /* @__PURE__ */ e.jsx(pe, { t: f })
1106
1110
  }
1107
1111
  )
1108
1112
  ] }),
1109
1113
  /* @__PURE__ */ e.jsx(
1110
1114
  Ie,
1111
1115
  {
1112
- isOpen: p,
1113
- onClose: () => u(!1),
1114
- selectedPlan: h,
1116
+ isOpen: u,
1117
+ onClose: () => h(!1),
1118
+ selectedPlan: _,
1115
1119
  onSelectPlan: c,
1116
1120
  onProceed: (d) => {
1117
1121
  w?.(d);
@@ -1131,15 +1135,15 @@ const Rs = ({
1131
1135
  isGlobal: s,
1132
1136
  googleMapsApiKey: r,
1133
1137
  logoUrl: m,
1134
- reportImageUrl: p,
1135
- universityLogoUrls: u,
1136
- sampleReportHref: h,
1138
+ reportImageUrl: u,
1139
+ universityLogoUrls: h,
1140
+ sampleReportHref: _,
1137
1141
  onViewSampleReport: c,
1138
- ctaHref: _,
1142
+ ctaHref: x,
1139
1143
  onCtaClick: C,
1140
1144
  readMoreReviewsHref: w,
1141
1145
  onProceed: I,
1142
- proceedHref: g,
1146
+ proceedHref: p,
1143
1147
  originalPriceLabel: l,
1144
1148
  discountedPriceLabel: j,
1145
1149
  discountPillLabel: $,
@@ -1157,16 +1161,16 @@ const Rs = ({
1157
1161
  variant: "v1",
1158
1162
  googleMapsApiKey: r,
1159
1163
  logoUrl: m,
1160
- reportImageUrl: p,
1161
- universityLogoUrls: u,
1162
- sampleReportHref: h,
1164
+ reportImageUrl: u,
1165
+ universityLogoUrls: h,
1166
+ sampleReportHref: _,
1163
1167
  onViewSampleReport: c,
1164
- ctaHref: _,
1168
+ ctaHref: x,
1165
1169
  onCtaClick: C,
1166
1170
  readMoreReviewsHref: w,
1167
1171
  onProceed: I,
1168
1172
  onProceedGuidance: E,
1169
- proceedHref: g,
1173
+ proceedHref: p,
1170
1174
  originalPriceLabel: l,
1171
1175
  discountedPriceLabel: j,
1172
1176
  discountPillLabel: $,
@@ -1185,4 +1189,4 @@ export {
1185
1189
  _s as b,
1186
1190
  Rs as c
1187
1191
  };
1188
- //# sourceMappingURL=criticalCss-DK8ZiV2R.js.map
1192
+ //# sourceMappingURL=criticalCss-BK8wIsFM.js.map